summaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-2.6.28/mini6410/mini6410.patch
blob: a9c908b5b694754f12d9bb6a72350c51f2172676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
31267
31268
31269
31270
31271
31272
31273
31274
31275
31276
31277
31278
31279
31280
31281
31282
31283
31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
31295
31296
31297
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
31336
31337
31338
31339
31340
31341
31342
31343
31344
31345
31346
31347
31348
31349
31350
31351
31352
31353
31354
31355
31356
31357
31358
31359
31360
31361
31362
31363
31364
31365
31366
31367
31368
31369
31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
31425
31426
31427
31428
31429
31430
31431
31432
31433
31434
31435
31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
31474
31475
31476
31477
31478
31479
31480
31481
31482
31483
31484
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
31523
31524
31525
31526
31527
31528
31529
31530
31531
31532
31533
31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
31571
31572
31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
31601
31602
31603
31604
31605
31606
31607
31608
31609
31610
31611
31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
31648
31649
31650
31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
31679
31680
31681
31682
31683
31684
31685
31686
31687
31688
31689
31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
31757
31758
31759
31760
31761
31762
31763
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
31805
31806
31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
31835
31836
31837
31838
31839
31840
31841
31842
31843
31844
31845
31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
31877
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
31919
31920
31921
31922
31923
31924
31925
31926
31927
31928
31929
31930
31931
31932
31933
31934
31935
31936
31937
31938
31939
31940
31941
31942
31943
31944
31945
31946
31947
31948
31949
31950
31951
31952
31953
31954
31955
31956
31957
31958
31959
31960
31961
31962
31963
31964
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
32001
32002
32003
32004
32005
32006
32007
32008
32009
32010
32011
32012
32013
32014
32015
32016
32017
32018
32019
32020
32021
32022
32023
32024
32025
32026
32027
32028
32029
32030
32031
32032
32033
32034
32035
32036
32037
32038
32039
32040
32041
32042
32043
32044
32045
32046
32047
32048
32049
32050
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064
32065
32066
32067
32068
32069
32070
32071
32072
32073
32074
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
32109
32110
32111
32112
32113
32114
32115
32116
32117
32118
32119
32120
32121
32122
32123
32124
32125
32126
32127
32128
32129
32130
32131
32132
32133
32134
32135
32136
32137
32138
32139
32140
32141
32142
32143
32144
32145
32146
32147
32148
32149
32150
32151
32152
32153
32154
32155
32156
32157
32158
32159
32160
32161
32162
32163
32164
32165
32166
32167
32168
32169
32170
32171
32172
32173
32174
32175
32176
32177
32178
32179
32180
32181
32182
32183
32184
32185
32186
32187
32188
32189
32190
32191
32192
32193
32194
32195
32196
32197
32198
32199
32200
32201
32202
32203
32204
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
32231
32232
32233
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245
32246
32247
32248
32249
32250
32251
32252
32253
32254
32255
32256
32257
32258
32259
32260
32261
32262
32263
32264
32265
32266
32267
32268
32269
32270
32271
32272
32273
32274
32275
32276
32277
32278
32279
32280
32281
32282
32283
32284
32285
32286
32287
32288
32289
32290
32291
32292
32293
32294
32295
32296
32297
32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
32309
32310
32311
32312
32313
32314
32315
32316
32317
32318
32319
32320
32321
32322
32323
32324
32325
32326
32327
32328
32329
32330
32331
32332
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
32473
32474
32475
32476
32477
32478
32479
32480
32481
32482
32483
32484
32485
32486
32487
32488
32489
32490
32491
32492
32493
32494
32495
32496
32497
32498
32499
32500
32501
32502
32503
32504
32505
32506
32507
32508
32509
32510
32511
32512
32513
32514
32515
32516
32517
32518
32519
32520
32521
32522
32523
32524
32525
32526
32527
32528
32529
32530
32531
32532
32533
32534
32535
32536
32537
32538
32539
32540
32541
32542
32543
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557
32558
32559
32560
32561
32562
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572
32573
32574
32575
32576
32577
32578
32579
32580
32581
32582
32583
32584
32585
32586
32587
32588
32589
32590
32591
32592
32593
32594
32595
32596
32597
32598
32599
32600
32601
32602
32603
32604
32605
32606
32607
32608
32609
32610
32611
32612
32613
32614
32615
32616
32617
32618
32619
32620
32621
32622
32623
32624
32625
32626
32627
32628
32629
32630
32631
32632
32633
32634
32635
32636
32637
32638
32639
32640
32641
32642
32643
32644
32645
32646
32647
32648
32649
32650
32651
32652
32653
32654
32655
32656
32657
32658
32659
32660
32661
32662
32663
32664
32665
32666
32667
32668
32669
32670
32671
32672
32673
32674
32675
32676
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693
32694
32695
32696
32697
32698
32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
32711
32712
32713
32714
32715
32716
32717
32718
32719
32720
32721
32722
32723
32724
32725
32726
32727
32728
32729
32730
32731
32732
32733
32734
32735
32736
32737
32738
32739
32740
32741
32742
32743
32744
32745
32746
32747
32748
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758
32759
32760
32761
32762
32763
32764
32765
32766
32767
32768
32769
32770
32771
32772
32773
32774
32775
32776
32777
32778
32779
32780
32781
32782
32783
32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
32796
32797
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810
32811
32812
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
32841
32842
32843
32844
32845
32846
32847
32848
32849
32850
32851
32852
32853
32854
32855
32856
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880
32881
32882
32883
32884
32885
32886
32887
32888
32889
32890
32891
32892
32893
32894
32895
32896
32897
32898
32899
32900
32901
32902
32903
32904
32905
32906
32907
32908
32909
32910
32911
32912
32913
32914
32915
32916
32917
32918
32919
32920
32921
32922
32923
32924
32925
32926
32927
32928
32929
32930
32931
32932
32933
32934
32935
32936
32937
32938
32939
32940
32941
32942
32943
32944
32945
32946
32947
32948
32949
32950
32951
32952
32953
32954
32955
32956
32957
32958
32959
32960
32961
32962
32963
32964
32965
32966
32967
32968
32969
32970
32971
32972
32973
32974
32975
32976
32977
32978
32979
32980
32981
32982
32983
32984
32985
32986
32987
32988
32989
32990
32991
32992
32993
32994
32995
32996
32997
32998
32999
33000
33001
33002
33003
33004
33005
33006
33007
33008
33009
33010
33011
33012
33013
33014
33015
33016
33017
33018
33019
33020
33021
33022
33023
33024
33025
33026
33027
33028
33029
33030
33031
33032
33033
33034
33035
33036
33037
33038
33039
33040
33041
33042
33043
33044
33045
33046
33047
33048
33049
33050
33051
33052
33053
33054
33055
33056
33057
33058
33059
33060
33061
33062
33063
33064
33065
33066
33067
33068
33069
33070
33071
33072
33073
33074
33075
33076
33077
33078
33079
33080
33081
33082
33083
33084
33085
33086
33087
33088
33089
33090
33091
33092
33093
33094
33095
33096
33097
33098
33099
33100
33101
33102
33103
33104
33105
33106
33107
33108
33109
33110
33111
33112
33113
33114
33115
33116
33117
33118
33119
33120
33121
33122
33123
33124
33125
33126
33127
33128
33129
33130
33131
33132
33133
33134
33135
33136
33137
33138
33139
33140
33141
33142
33143
33144
33145
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
33163
33164
33165
33166
33167
33168
33169
33170
33171
33172
33173
33174
33175
33176
33177
33178
33179
33180
33181
33182
33183
33184
33185
33186
33187
33188
33189
33190
33191
33192
33193
33194
33195
33196
33197
33198
33199
33200
33201
33202
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
33241
33242
33243
33244
33245
33246
33247
33248
33249
33250
33251
33252
33253
33254
33255
33256
33257
33258
33259
33260
33261
33262
33263
33264
33265
33266
33267
33268
33269
33270
33271
33272
33273
33274
33275
33276
33277
33278
33279
33280
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301
33302
33303
33304
33305
33306
33307
33308
33309
33310
33311
33312
33313
33314
33315
33316
33317
33318
33319
33320
33321
33322
33323
33324
33325
33326
33327
33328
33329
33330
33331
33332
33333
33334
33335
33336
33337
33338
33339
33340
33341
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352
33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
33363
33364
33365
33366
33367
33368
33369
33370
33371
33372
33373
33374
33375
33376
33377
33378
33379
33380
33381
33382
33383
33384
33385
33386
33387
33388
33389
33390
33391
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
33419
33420
33421
33422
33423
33424
33425
33426
33427
33428
33429
33430
33431
33432
33433
33434
33435
33436
33437
33438
33439
33440
33441
33442
33443
33444
33445
33446
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456
33457
33458
33459
33460
33461
33462
33463
33464
33465
33466
33467
33468
33469
33470
33471
33472
33473
33474
33475
33476
33477
33478
33479
33480
33481
33482
33483
33484
33485
33486
33487
33488
33489
33490
33491
33492
33493
33494
33495
33496
33497
33498
33499
33500
33501
33502
33503
33504
33505
33506
33507
33508
33509
33510
33511
33512
33513
33514
33515
33516
33517
33518
33519
33520
33521
33522
33523
33524
33525
33526
33527
33528
33529
33530
33531
33532
33533
33534
33535
33536
33537
33538
33539
33540
33541
33542
33543
33544
33545
33546
33547
33548
33549
33550
33551
33552
33553
33554
33555
33556
33557
33558
33559
33560
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575
33576
33577
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
33595
33596
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
33622
33623
33624
33625
33626
33627
33628
33629
33630
33631
33632
33633
33634
33635
33636
33637
33638
33639
33640
33641
33642
33643
33644
33645
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655
33656
33657
33658
33659
33660
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706
33707
33708
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718
33719
33720
33721
33722
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741
33742
33743
33744
33745
33746
33747
33748
33749
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775
33776
33777
33778
33779
33780
33781
33782
33783
33784
33785
33786
33787
33788
33789
33790
33791
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802
33803
33804
33805
33806
33807
33808
33809
33810
33811
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
33844
33845
33846
33847
33848
33849
33850
33851
33852
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912
33913
33914
33915
33916
33917
33918
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962
33963
33964
33965
33966
33967
33968
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988
33989
33990
33991
33992
33993
33994
33995
33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
34012
34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039
34040
34041
34042
34043
34044
34045
34046
34047
34048
34049
34050
34051
34052
34053
34054
34055
34056
34057
34058
34059
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079
34080
34081
34082
34083
34084
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098
34099
34100
34101
34102
34103
34104
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158
34159
34160
34161
34162
34163
34164
34165
34166
34167
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185
34186
34187
34188
34189
34190
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205
34206
34207
34208
34209
34210
34211
34212
34213
34214
34215
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225
34226
34227
34228
34229
34230
34231
34232
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
34245
34246
34247
34248
34249
34250
34251
34252
34253
34254
34255
34256
34257
34258
34259
34260
34261
34262
34263
34264
34265
34266
34267
34268
34269
34270
34271
34272
34273
34274
34275
34276
34277
34278
34279
34280
34281
34282
34283
34284
34285
34286
34287
34288
34289
34290
34291
34292
34293
34294
34295
34296
34297
34298
34299
34300
34301
34302
34303
34304
34305
34306
34307
34308
34309
34310
34311
34312
34313
34314
34315
34316
34317
34318
34319
34320
34321
34322
34323
34324
34325
34326
34327
34328
34329
34330
34331
34332
34333
34334
34335
34336
34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
34352
34353
34354
34355
34356
34357
34358
34359
34360
34361
34362
34363
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373
34374
34375
34376
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398
34399
34400
34401
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414
34415
34416
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827
34828
34829
34830
34831
34832
34833
34834
34835
34836
34837
34838
34839
34840
34841
34842
34843
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
34860
34861
34862
34863
34864
34865
34866
34867
34868
34869
34870
34871
34872
34873
34874
34875
34876
34877
34878
34879
34880
34881
34882
34883
34884
34885
34886
34887
34888
34889
34890
34891
34892
34893
34894
34895
34896
34897
34898
34899
34900
34901
34902
34903
34904
34905
34906
34907
34908
34909
34910
34911
34912
34913
34914
34915
34916
34917
34918
34919
34920
34921
34922
34923
34924
34925
34926
34927
34928
34929
34930
34931
34932
34933
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
34951
34952
34953
34954
34955
34956
34957
34958
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968
34969
34970
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
34981
34982
34983
34984
34985
34986
34987
34988
34989
34990
34991
34992
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415
35416
35417
35418
35419
35420
35421
35422
35423
35424
35425
35426
35427
35428
35429
35430
35431
35432
35433
35434
35435
35436
35437
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555
35556
35557
35558
35559
35560
35561
35562
35563
35564
35565
35566
35567
35568
35569
35570
35571
35572
35573
35574
35575
35576
35577
35578
35579
35580
35581
35582
35583
35584
35585
35586
35587
35588
35589
35590
35591
35592
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607
35608
35609
35610
35611
35612
35613
35614
35615
35616
35617
35618
35619
35620
35621
35622
35623
35624
35625
35626
35627
35628
35629
35630
35631
35632
35633
35634
35635
35636
35637
35638
35639
35640
35641
35642
35643
35644
35645
35646
35647
35648
35649
35650
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785
35786
35787
35788
35789
35790
35791
35792
35793
35794
35795
35796
35797
35798
35799
35800
35801
35802
35803
35804
35805
35806
35807
35808
35809
35810
35811
35812
35813
35814
35815
35816
35817
35818
35819
35820
35821
35822
35823
35824
35825
35826
35827
35828
35829
35830
35831
35832
35833
35834
35835
35836
35837
35838
35839
35840
35841
35842
35843
35844
35845
35846
35847
35848
35849
35850
35851
35852
35853
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
36119
36120
36121
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131
36132
36133
36134
36135
36136
36137
36138
36139
36140
36141
36142
36143
36144
36145
36146
36147
36148
36149
36150
36151
36152
36153
36154
36155
36156
36157
36158
36159
36160
36161
36162
36163
36164
36165
36166
36167
36168
36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196
36197
36198
36199
36200
36201
36202
36203
36204
36205
36206
36207
36208
36209
36210
36211
36212
36213
36214
36215
36216
36217
36218
36219
36220
36221
36222
36223
36224
36225
36226
36227
36228
36229
36230
36231
36232
36233
36234
36235
36236
36237
36238
36239
36240
36241
36242
36243
36244
36245
36246
36247
36248
36249
36250
36251
36252
36253
36254
36255
36256
36257
36258
36259
36260
36261
36262
36263
36264
36265
36266
36267
36268
36269
36270
36271
36272
36273
36274
36275
36276
36277
36278
36279
36280
36281
36282
36283
36284
36285
36286
36287
36288
36289
36290
36291
36292
36293
36294
36295
36296
36297
36298
36299
36300
36301
36302
36303
36304
36305
36306
36307
36308
36309
36310
36311
36312
36313
36314
36315
36316
36317
36318
36319
36320
36321
36322
36323
36324
36325
36326
36327
36328
36329
36330
36331
36332
36333
36334
36335
36336
36337
36338
36339
36340
36341
36342
36343
36344
36345
36346
36347
36348
36349
36350
36351
36352
36353
36354
36355
36356
36357
36358
36359
36360
36361
36362
36363
36364
36365
36366
36367
36368
36369
36370
36371
36372
36373
36374
36375
36376
36377
36378
36379
36380
36381
36382
36383
36384
36385
36386
36387
36388
36389
36390
36391
36392
36393
36394
36395
36396
36397
36398
36399
36400
36401
36402
36403
36404
36405
36406
36407
36408
36409
36410
36411
36412
36413
36414
36415
36416
36417
36418
36419
36420
36421
36422
36423
36424
36425
36426
36427
36428
36429
36430
36431
36432
36433
36434
36435
36436
36437
36438
36439
36440
36441
36442
36443
36444
36445
36446
36447
36448
36449
36450
36451
36452
36453
36454
36455
36456
36457
36458
36459
36460
36461
36462
36463
36464
36465
36466
36467
36468
36469
36470
36471
36472
36473
36474
36475
36476
36477
36478
36479
36480
36481
36482
36483
36484
36485
36486
36487
36488
36489
36490
36491
36492
36493
36494
36495
36496
36497
36498
36499
36500
36501
36502
36503
36504
36505
36506
36507
36508
36509
36510
36511
36512
36513
36514
36515
36516
36517
36518
36519
36520
36521
36522
36523
36524
36525
36526
36527
36528
36529
36530
36531
36532
36533
36534
36535
36536
36537
36538
36539
36540
36541
36542
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554
36555
36556
36557
36558
36559
36560
36561
36562
36563
36564
36565
36566
36567
36568
36569
36570
36571
36572
36573
36574
36575
36576
36577
36578
36579
36580
36581
36582
36583
36584
36585
36586
36587
36588
36589
36590
36591
36592
36593
36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
36625
36626
36627
36628
36629
36630
36631
36632
36633
36634
36635
36636
36637
36638
36639
36640
36641
36642
36643
36644
36645
36646
36647
36648
36649
36650
36651
36652
36653
36654
36655
36656
36657
36658
36659
36660
36661
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678
36679
36680
36681
36682
36683
36684
36685
36686
36687
36688
36689
36690
36691
36692
36693
36694
36695
36696
36697
36698
36699
36700
36701
36702
36703
36704
36705
36706
36707
36708
36709
36710
36711
36712
36713
36714
36715
36716
36717
36718
36719
36720
36721
36722
36723
36724
36725
36726
36727
36728
36729
36730
36731
36732
36733
36734
36735
36736
36737
36738
36739
36740
36741
36742
36743
36744
36745
36746
36747
36748
36749
36750
36751
36752
36753
36754
36755
36756
36757
36758
36759
36760
36761
36762
36763
36764
36765
36766
36767
36768
36769
36770
36771
36772
36773
36774
36775
36776
36777
36778
36779
36780
36781
36782
36783
36784
36785
36786
36787
36788
36789
36790
36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
36807
36808
36809
36810
36811
36812
36813
36814
36815
36816
36817
36818
36819
36820
36821
36822
36823
36824
36825
36826
36827
36828
36829
36830
36831
36832
36833
36834
36835
36836
36837
36838
36839
36840
36841
36842
36843
36844
36845
36846
36847
36848
36849
36850
36851
36852
36853
36854
36855
36856
36857
36858
36859
36860
36861
36862
36863
36864
36865
36866
36867
36868
36869
36870
36871
36872
36873
36874
36875
36876
36877
36878
36879
36880
36881
36882
36883
36884
36885
36886
36887
36888
36889
36890
36891
36892
36893
36894
36895
36896
36897
36898
36899
36900
36901
36902
36903
36904
36905
36906
36907
36908
36909
36910
36911
36912
36913
36914
36915
36916
36917
36918
36919
36920
36921
36922
36923
36924
36925
36926
36927
36928
36929
36930
36931
36932
36933
36934
36935
36936
36937
36938
36939
36940
36941
36942
36943
36944
36945
36946
36947
36948
36949
36950
36951
36952
36953
36954
36955
36956
36957
36958
36959
36960
36961
36962
36963
36964
36965
36966
36967
36968
36969
36970
36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
36989
36990
36991
36992
36993
36994
36995
36996
36997
36998
36999
37000
37001
37002
37003
37004
37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
37023
37024
37025
37026
37027
37028
37029
37030
37031
37032
37033
37034
37035
37036
37037
37038
37039
37040
37041
37042
37043
37044
37045
37046
37047
37048
37049
37050
37051
37052
37053
37054
37055
37056
37057
37058
37059
37060
37061
37062
37063
37064
37065
37066
37067
37068
37069
37070
37071
37072
37073
37074
37075
37076
37077
37078
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117
37118
37119
37120
37121
37122
37123
37124
37125
37126
37127
37128
37129
37130
37131
37132
37133
37134
37135
37136
37137
37138
37139
37140
37141
37142
37143
37144
37145
37146
37147
37148
37149
37150
37151
37152
37153
37154
37155
37156
37157
37158
37159
37160
37161
37162
37163
37164
37165
37166
37167
37168
37169
37170
37171
37172
37173
37174
37175
37176
37177
37178
37179
37180
37181
37182
37183
37184
37185
37186
37187
37188
37189
37190
37191
37192
37193
37194
37195
37196
37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
37211
37212
37213
37214
37215
37216
37217
37218
37219
37220
37221
37222
37223
37224
37225
37226
37227
37228
37229
37230
37231
37232
37233
37234
37235
37236
37237
37238
37239
37240
37241
37242
37243
37244
37245
37246
37247
37248
37249
37250
37251
37252
37253
37254
37255
37256
37257
37258
37259
37260
37261
37262
37263
37264
37265
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275
37276
37277
37278
37279
37280
37281
37282
37283
37284
37285
37286
37287
37288
37289
37290
37291
37292
37293
37294
37295
37296
37297
37298
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327
37328
37329
37330
37331
37332
37333
37334
37335
37336
37337
37338
37339
37340
37341
37342
37343
37344
37345
37346
37347
37348
37349
37350
37351
37352
37353
37354
37355
37356
37357
37358
37359
37360
37361
37362
37363
37364
37365
37366
37367
37368
37369
37370
37371
37372
37373
37374
37375
37376
37377
37378
37379
37380
37381
37382
37383
37384
37385
37386
37387
37388
37389
37390
37391
37392
37393
37394
37395
37396
37397
37398
37399
37400
37401
37402
37403
37404
37405
37406
37407
37408
37409
37410
37411
37412
37413
37414
37415
37416
37417
37418
37419
37420
37421
37422
37423
37424
37425
37426
37427
37428
37429
37430
37431
37432
37433
37434
37435
37436
37437
37438
37439
37440
37441
37442
37443
37444
37445
37446
37447
37448
37449
37450
37451
37452
37453
37454
37455
37456
37457
37458
37459
37460
37461
37462
37463
37464
37465
37466
37467
37468
37469
37470
37471
37472
37473
37474
37475
37476
37477
37478
37479
37480
37481
37482
37483
37484
37485
37486
37487
37488
37489
37490
37491
37492
37493
37494
37495
37496
37497
37498
37499
37500
37501
37502
37503
37504
37505
37506
37507
37508
37509
37510
37511
37512
37513
37514
37515
37516
37517
37518
37519
37520
37521
37522
37523
37524
37525
37526
37527
37528
37529
37530
37531
37532
37533
37534
37535
37536
37537
37538
37539
37540
37541
37542
37543
37544
37545
37546
37547
37548
37549
37550
37551
37552
37553
37554
37555
37556
37557
37558
37559
37560
37561
37562
37563
37564
37565
37566
37567
37568
37569
37570
37571
37572
37573
37574
37575
37576
37577
37578
37579
37580
37581
37582
37583
37584
37585
37586
37587
37588
37589
37590
37591
37592
37593
37594
37595
37596
37597
37598
37599
37600
37601
37602
37603
37604
37605
37606
37607
37608
37609
37610
37611
37612
37613
37614
37615
37616
37617
37618
37619
37620
37621
37622
37623
37624
37625
37626
37627
37628
37629
37630
37631
37632
37633
37634
37635
37636
37637
37638
37639
37640
37641
37642
37643
37644
37645
37646
37647
37648
37649
37650
37651
37652
37653
37654
37655
37656
37657
37658
37659
37660
37661
37662
37663
37664
37665
37666
37667
37668
37669
37670
37671
37672
37673
37674
37675
37676
37677
37678
37679
37680
37681
37682
37683
37684
37685
37686
37687
37688
37689
37690
37691
37692
37693
37694
37695
37696
37697
37698
37699
37700
37701
37702
37703
37704
37705
37706
37707
37708
37709
37710
37711
37712
37713
37714
37715
37716
37717
37718
37719
37720
37721
37722
37723
37724
37725
37726
37727
37728
37729
37730
37731
37732
37733
37734
37735
37736
37737
37738
37739
37740
37741
37742
37743
37744
37745
37746
37747
37748
37749
37750
37751
37752
37753
37754
37755
37756
37757
37758
37759
37760
37761
37762
37763
37764
37765
37766
37767
37768
37769
37770
37771
37772
37773
37774
37775
37776
37777
37778
37779
37780
37781
37782
37783
37784
37785
37786
37787
37788
37789
37790
37791
37792
37793
37794
37795
37796
37797
37798
37799
37800
37801
37802
37803
37804
37805
37806
37807
37808
37809
37810
37811
37812
37813
37814
37815
37816
37817
37818
37819
37820
37821
37822
37823
37824
37825
37826
37827
37828
37829
37830
37831
37832
37833
37834
37835
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845
37846
37847
37848
37849
37850
37851
37852
37853
37854
37855
37856
37857
37858
37859
37860
37861
37862
37863
37864
37865
37866
37867
37868
37869
37870
37871
37872
37873
37874
37875
37876
37877
37878
37879
37880
37881
37882
37883
37884
37885
37886
37887
37888
37889
37890
37891
37892
37893
37894
37895
37896
37897
37898
37899
37900
37901
37902
37903
37904
37905
37906
37907
37908
37909
37910
37911
37912
37913
37914
37915
37916
37917
37918
37919
37920
37921
37922
37923
37924
37925
37926
37927
37928
37929
37930
37931
37932
37933
37934
37935
37936
37937
37938
37939
37940
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957
37958
37959
37960
37961
37962
37963
37964
37965
37966
37967
37968
37969
37970
37971
37972
37973
37974
37975
37976
37977
37978
37979
37980
37981
37982
37983
37984
37985
37986
37987
37988
37989
37990
37991
37992
37993
37994
37995
37996
37997
37998
37999
38000
38001
38002
38003
38004
38005
38006
38007
38008
38009
38010
38011
38012
38013
38014
38015
38016
38017
38018
38019
38020
38021
38022
38023
38024
38025
38026
38027
38028
38029
38030
38031
38032
38033
38034
38035
38036
38037
38038
38039
38040
38041
38042
38043
38044
38045
38046
38047
38048
38049
38050
38051
38052
38053
38054
38055
38056
38057
38058
38059
38060
38061
38062
38063
38064
38065
38066
38067
38068
38069
38070
38071
38072
38073
38074
38075
38076
38077
38078
38079
38080
38081
38082
38083
38084
38085
38086
38087
38088
38089
38090
38091
38092
38093
38094
38095
38096
38097
38098
38099
38100
38101
38102
38103
38104
38105
38106
38107
38108
38109
38110
38111
38112
38113
38114
38115
38116
38117
38118
38119
38120
38121
38122
38123
38124
38125
38126
38127
38128
38129
38130
38131
38132
38133
38134
38135
38136
38137
38138
38139
38140
38141
38142
38143
38144
38145
38146
38147
38148
38149
38150
38151
38152
38153
38154
38155
38156
38157
38158
38159
38160
38161
38162
38163
38164
38165
38166
38167
38168
38169
38170
38171
38172
38173
38174
38175
38176
38177
38178
38179
38180
38181
38182
38183
38184
38185
38186
38187
38188
38189
38190
38191
38192
38193
38194
38195
38196
38197
38198
38199
38200
38201
38202
38203
38204
38205
38206
38207
38208
38209
38210
38211
38212
38213
38214
38215
38216
38217
38218
38219
38220
38221
38222
38223
38224
38225
38226
38227
38228
38229
38230
38231
38232
38233
38234
38235
38236
38237
38238
38239
38240
38241
38242
38243
38244
38245
38246
38247
38248
38249
38250
38251
38252
38253
38254
38255
38256
38257
38258
38259
38260
38261
38262
38263
38264
38265
38266
38267
38268
38269
38270
38271
38272
38273
38274
38275
38276
38277
38278
38279
38280
38281
38282
38283
38284
38285
38286
38287
38288
38289
38290
38291
38292
38293
38294
38295
38296
38297
38298
38299
38300
38301
38302
38303
38304
38305
38306
38307
38308
38309
38310
38311
38312
38313
38314
38315
38316
38317
38318
38319
38320
38321
38322
38323
38324
38325
38326
38327
38328
38329
38330
38331
38332
38333
38334
38335
38336
38337
38338
38339
38340
38341
38342
38343
38344
38345
38346
38347
38348
38349
38350
38351
38352
38353
38354
38355
38356
38357
38358
38359
38360
38361
38362
38363
38364
38365
38366
38367
38368
38369
38370
38371
38372
38373
38374
38375
38376
38377
38378
38379
38380
38381
38382
38383
38384
38385
38386
38387
38388
38389
38390
38391
38392
38393
38394
38395
38396
38397
38398
38399
38400
38401
38402
38403
38404
38405
38406
38407
38408
38409
38410
38411
38412
38413
38414
38415
38416
38417
38418
38419
38420
38421
38422
38423
38424
38425
38426
38427
38428
38429
38430
38431
38432
38433
38434
38435
38436
38437
38438
38439
38440
38441
38442
38443
38444
38445
38446
38447
38448
38449
38450
38451
38452
38453
38454
38455
38456
38457
38458
38459
38460
38461
38462
38463
38464
38465
38466
38467
38468
38469
38470
38471
38472
38473
38474
38475
38476
38477
38478
38479
38480
38481
38482
38483
38484
38485
38486
38487
38488
38489
38490
38491
38492
38493
38494
38495
38496
38497
38498
38499
38500
38501
38502
38503
38504
38505
38506
38507
38508
38509
38510
38511
38512
38513
38514
38515
38516
38517
38518
38519
38520
38521
38522
38523
38524
38525
38526
38527
38528
38529
38530
38531
38532
38533
38534
38535
38536
38537
38538
38539
38540
38541
38542
38543
38544
38545
38546
38547
38548
38549
38550
38551
38552
38553
38554
38555
38556
38557
38558
38559
38560
38561
38562
38563
38564
38565
38566
38567
38568
38569
38570
38571
38572
38573
38574
38575
38576
38577
38578
38579
38580
38581
38582
38583
38584
38585
38586
38587
38588
38589
38590
38591
38592
38593
38594
38595
38596
38597
38598
38599
38600
38601
38602
38603
38604
38605
38606
38607
38608
38609
38610
38611
38612
38613
38614
38615
38616
38617
38618
38619
38620
38621
38622
38623
38624
38625
38626
38627
38628
38629
38630
38631
38632
38633
38634
38635
38636
38637
38638
38639
38640
38641
38642
38643
38644
38645
38646
38647
38648
38649
38650
38651
38652
38653
38654
38655
38656
38657
38658
38659
38660
38661
38662
38663
38664
38665
38666
38667
38668
38669
38670
38671
38672
38673
38674
38675
38676
38677
38678
38679
38680
38681
38682
38683
38684
38685
38686
38687
38688
38689
38690
38691
38692
38693
38694
38695
38696
38697
38698
38699
38700
38701
38702
38703
38704
38705
38706
38707
38708
38709
38710
38711
38712
38713
38714
38715
38716
38717
38718
38719
38720
38721
38722
38723
38724
38725
38726
38727
38728
38729
38730
38731
38732
38733
38734
38735
38736
38737
38738
38739
38740
38741
38742
38743
38744
38745
38746
38747
38748
38749
38750
38751
38752
38753
38754
38755
38756
38757
38758
38759
38760
38761
38762
38763
38764
38765
38766
38767
38768
38769
38770
38771
38772
38773
38774
38775
38776
38777
38778
38779
38780
38781
38782
38783
38784
38785
38786
38787
38788
38789
38790
38791
38792
38793
38794
38795
38796
38797
38798
38799
38800
38801
38802
38803
38804
38805
38806
38807
38808
38809
38810
38811
38812
38813
38814
38815
38816
38817
38818
38819
38820
38821
38822
38823
38824
38825
38826
38827
38828
38829
38830
38831
38832
38833
38834
38835
38836
38837
38838
38839
38840
38841
38842
38843
38844
38845
38846
38847
38848
38849
38850
38851
38852
38853
38854
38855
38856
38857
38858
38859
38860
38861
38862
38863
38864
38865
38866
38867
38868
38869
38870
38871
38872
38873
38874
38875
38876
38877
38878
38879
38880
38881
38882
38883
38884
38885
38886
38887
38888
38889
38890
38891
38892
38893
38894
38895
38896
38897
38898
38899
38900
38901
38902
38903
38904
38905
38906
38907
38908
38909
38910
38911
38912
38913
38914
38915
38916
38917
38918
38919
38920
38921
38922
38923
38924
38925
38926
38927
38928
38929
38930
38931
38932
38933
38934
38935
38936
38937
38938
38939
38940
38941
38942
38943
38944
38945
38946
38947
38948
38949
38950
38951
38952
38953
38954
38955
38956
38957
38958
38959
38960
38961
38962
38963
38964
38965
38966
38967
38968
38969
38970
38971
38972
38973
38974
38975
38976
38977
38978
38979
38980
38981
38982
38983
38984
38985
38986
38987
38988
38989
38990
38991
38992
38993
38994
38995
38996
38997
38998
38999
39000
39001
39002
39003
39004
39005
39006
39007
39008
39009
39010
39011
39012
39013
39014
39015
39016
39017
39018
39019
39020
39021
39022
39023
39024
39025
39026
39027
39028
39029
39030
39031
39032
39033
39034
39035
39036
39037
39038
39039
39040
39041
39042
39043
39044
39045
39046
39047
39048
39049
39050
39051
39052
39053
39054
39055
39056
39057
39058
39059
39060
39061
39062
39063
39064
39065
39066
39067
39068
39069
39070
39071
39072
39073
39074
39075
39076
39077
39078
39079
39080
39081
39082
39083
39084
39085
39086
39087
39088
39089
39090
39091
39092
39093
39094
39095
39096
39097
39098
39099
39100
39101
39102
39103
39104
39105
39106
39107
39108
39109
39110
39111
39112
39113
39114
39115
39116
39117
39118
39119
39120
39121
39122
39123
39124
39125
39126
39127
39128
39129
39130
39131
39132
39133
39134
39135
39136
39137
39138
39139
39140
39141
39142
39143
39144
39145
39146
39147
39148
39149
39150
39151
39152
39153
39154
39155
39156
39157
39158
39159
39160
39161
39162
39163
39164
39165
39166
39167
39168
39169
39170
39171
39172
39173
39174
39175
39176
39177
39178
39179
39180
39181
39182
39183
39184
39185
39186
39187
39188
39189
39190
39191
39192
39193
39194
39195
39196
39197
39198
39199
39200
39201
39202
39203
39204
39205
39206
39207
39208
39209
39210
39211
39212
39213
39214
39215
39216
39217
39218
39219
39220
39221
39222
39223
39224
39225
39226
39227
39228
39229
39230
39231
39232
39233
39234
39235
39236
39237
39238
39239
39240
39241
39242
39243
39244
39245
39246
39247
39248
39249
39250
39251
39252
39253
39254
39255
39256
39257
39258
39259
39260
39261
39262
39263
39264
39265
39266
39267
39268
39269
39270
39271
39272
39273
39274
39275
39276
39277
39278
39279
39280
39281
39282
39283
39284
39285
39286
39287
39288
39289
39290
39291
39292
39293
39294
39295
39296
39297
39298
39299
39300
39301
39302
39303
39304
39305
39306
39307
39308
39309
39310
39311
39312
39313
39314
39315
39316
39317
39318
39319
39320
39321
39322
39323
39324
39325
39326
39327
39328
39329
39330
39331
39332
39333
39334
39335
39336
39337
39338
39339
39340
39341
39342
39343
39344
39345
39346
39347
39348
39349
39350
39351
39352
39353
39354
39355
39356
39357
39358
39359
39360
39361
39362
39363
39364
39365
39366
39367
39368
39369
39370
39371
39372
39373
39374
39375
39376
39377
39378
39379
39380
39381
39382
39383
39384
39385
39386
39387
39388
39389
39390
39391
39392
39393
39394
39395
39396
39397
39398
39399
39400
39401
39402
39403
39404
39405
39406
39407
39408
39409
39410
39411
39412
39413
39414
39415
39416
39417
39418
39419
39420
39421
39422
39423
39424
39425
39426
39427
39428
39429
39430
39431
39432
39433
39434
39435
39436
39437
39438
39439
39440
39441
39442
39443
39444
39445
39446
39447
39448
39449
39450
39451
39452
39453
39454
39455
39456
39457
39458
39459
39460
39461
39462
39463
39464
39465
39466
39467
39468
39469
39470
39471
39472
39473
39474
39475
39476
39477
39478
39479
39480
39481
39482
39483
39484
39485
39486
39487
39488
39489
39490
39491
39492
39493
39494
39495
39496
39497
39498
39499
39500
39501
39502
39503
39504
39505
39506
39507
39508
39509
39510
39511
39512
39513
39514
39515
39516
39517
39518
39519
39520
39521
39522
39523
39524
39525
39526
39527
39528
39529
39530
39531
39532
39533
39534
39535
39536
39537
39538
39539
39540
39541
39542
39543
39544
39545
39546
39547
39548
39549
39550
39551
39552
39553
39554
39555
39556
39557
39558
39559
39560
39561
39562
39563
39564
39565
39566
39567
39568
39569
39570
39571
39572
39573
39574
39575
39576
39577
39578
39579
39580
39581
39582
39583
39584
39585
39586
39587
39588
39589
39590
39591
39592
39593
39594
39595
39596
39597
39598
39599
39600
39601
39602
39603
39604
39605
39606
39607
39608
39609
39610
39611
39612
39613
39614
39615
39616
39617
39618
39619
39620
39621
39622
39623
39624
39625
39626
39627
39628
39629
39630
39631
39632
39633
39634
39635
39636
39637
39638
39639
39640
39641
39642
39643
39644
39645
39646
39647
39648
39649
39650
39651
39652
39653
39654
39655
39656
39657
39658
39659
39660
39661
39662
39663
39664
39665
39666
39667
39668
39669
39670
39671
39672
39673
39674
39675
39676
39677
39678
39679
39680
39681
39682
39683
39684
39685
39686
39687
39688
39689
39690
39691
39692
39693
39694
39695
39696
39697
39698
39699
39700
39701
39702
39703
39704
39705
39706
39707
39708
39709
39710
39711
39712
39713
39714
39715
39716
39717
39718
39719
39720
39721
39722
39723
39724
39725
39726
39727
39728
39729
39730
39731
39732
39733
39734
39735
39736
39737
39738
39739
39740
39741
39742
39743
39744
39745
39746
39747
39748
39749
39750
39751
39752
39753
39754
39755
39756
39757
39758
39759
39760
39761
39762
39763
39764
39765
39766
39767
39768
39769
39770
39771
39772
39773
39774
39775
39776
39777
39778
39779
39780
39781
39782
39783
39784
39785
39786
39787
39788
39789
39790
39791
39792
39793
39794
39795
39796
39797
39798
39799
39800
39801
39802
39803
39804
39805
39806
39807
39808
39809
39810
39811
39812
39813
39814
39815
39816
39817
39818
39819
39820
39821
39822
39823
39824
39825
39826
39827
39828
39829
39830
39831
39832
39833
39834
39835
39836
39837
39838
39839
39840
39841
39842
39843
39844
39845
39846
39847
39848
39849
39850
39851
39852
39853
39854
39855
39856
39857
39858
39859
39860
39861
39862
39863
39864
39865
39866
39867
39868
39869
39870
39871
39872
39873
39874
39875
39876
39877
39878
39879
39880
39881
39882
39883
39884
39885
39886
39887
39888
39889
39890
39891
39892
39893
39894
39895
39896
39897
39898
39899
39900
39901
39902
39903
39904
39905
39906
39907
39908
39909
39910
39911
39912
39913
39914
39915
39916
39917
39918
39919
39920
39921
39922
39923
39924
39925
39926
39927
39928
39929
39930
39931
39932
39933
39934
39935
39936
39937
39938
39939
39940
39941
39942
39943
39944
39945
39946
39947
39948
39949
39950
39951
39952
39953
39954
39955
39956
39957
39958
39959
39960
39961
39962
39963
39964
39965
39966
39967
39968
39969
39970
39971
39972
39973
39974
39975
39976
39977
39978
39979
39980
39981
39982
39983
39984
39985
39986
39987
39988
39989
39990
39991
39992
39993
39994
39995
39996
39997
39998
39999
40000
40001
40002
40003
40004
40005
40006
40007
40008
40009
40010
40011
40012
40013
40014
40015
40016
40017
40018
40019
40020
40021
40022
40023
40024
40025
40026
40027
40028
40029
40030
40031
40032
40033
40034
40035
40036
40037
40038
40039
40040
40041
40042
40043
40044
40045
40046
40047
40048
40049
40050
40051
40052
40053
40054
40055
40056
40057
40058
40059
40060
40061
40062
40063
40064
40065
40066
40067
40068
40069
40070
40071
40072
40073
40074
40075
40076
40077
40078
40079
40080
40081
40082
40083
40084
40085
40086
40087
40088
40089
40090
40091
40092
40093
40094
40095
40096
40097
40098
40099
40100
40101
40102
40103
40104
40105
40106
40107
40108
40109
40110
40111
40112
40113
40114
40115
40116
40117
40118
40119
40120
40121
40122
40123
40124
40125
40126
40127
40128
40129
40130
40131
40132
40133
40134
40135
40136
40137
40138
40139
40140
40141
40142
40143
40144
40145
40146
40147
40148
40149
40150
40151
40152
40153
40154
40155
40156
40157
40158
40159
40160
40161
40162
40163
40164
40165
40166
40167
40168
40169
40170
40171
40172
40173
40174
40175
40176
40177
40178
40179
40180
40181
40182
40183
40184
40185
40186
40187
40188
40189
40190
40191
40192
40193
40194
40195
40196
40197
40198
40199
40200
40201
40202
40203
40204
40205
40206
40207
40208
40209
40210
40211
40212
40213
40214
40215
40216
40217
40218
40219
40220
40221
40222
40223
40224
40225
40226
40227
40228
40229
40230
40231
40232
40233
40234
40235
40236
40237
40238
40239
40240
40241
40242
40243
40244
40245
40246
40247
40248
40249
40250
40251
40252
40253
40254
40255
40256
40257
40258
40259
40260
40261
40262
40263
40264
40265
40266
40267
40268
40269
40270
40271
40272
40273
40274
40275
40276
40277
40278
40279
40280
40281
40282
40283
40284
40285
40286
40287
40288
40289
40290
40291
40292
40293
40294
40295
40296
40297
40298
40299
40300
40301
40302
40303
40304
40305
40306
40307
40308
40309
40310
40311
40312
40313
40314
40315
40316
40317
40318
40319
40320
40321
40322
40323
40324
40325
40326
40327
40328
40329
40330
40331
40332
40333
40334
40335
40336
40337
40338
40339
40340
40341
40342
40343
40344
40345
40346
40347
40348
40349
40350
40351
40352
40353
40354
40355
40356
40357
40358
40359
40360
40361
40362
40363
40364
40365
40366
40367
40368
40369
40370
40371
40372
40373
40374
40375
40376
40377
40378
40379
40380
40381
40382
40383
40384
40385
40386
40387
40388
40389
40390
40391
40392
40393
40394
40395
40396
40397
40398
40399
40400
40401
40402
40403
40404
40405
40406
40407
40408
40409
40410
40411
40412
40413
40414
40415
40416
40417
40418
40419
40420
40421
40422
40423
40424
40425
40426
40427
40428
40429
40430
40431
40432
40433
40434
40435
40436
40437
40438
40439
40440
40441
40442
40443
40444
40445
40446
40447
40448
40449
40450
40451
40452
40453
40454
40455
40456
40457
40458
40459
40460
40461
40462
40463
40464
40465
40466
40467
40468
40469
40470
40471
40472
40473
40474
40475
40476
40477
40478
40479
40480
40481
40482
40483
40484
40485
40486
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496
40497
40498
40499
40500
40501
40502
40503
40504
40505
40506
40507
40508
40509
40510
40511
40512
40513
40514
40515
40516
40517
40518
40519
40520
40521
40522
40523
40524
40525
40526
40527
40528
40529
40530
40531
40532
40533
40534
40535
40536
40537
40538
40539
40540
40541
40542
40543
40544
40545
40546
40547
40548
40549
40550
40551
40552
40553
40554
40555
40556
40557
40558
40559
40560
40561
40562
40563
40564
40565
40566
40567
40568
40569
40570
40571
40572
40573
40574
40575
40576
40577
40578
40579
40580
40581
40582
40583
40584
40585
40586
40587
40588
40589
40590
40591
40592
40593
40594
40595
40596
40597
40598
40599
40600
40601
40602
40603
40604
40605
40606
40607
40608
40609
40610
40611
40612
40613
40614
40615
40616
40617
40618
40619
40620
40621
40622
40623
40624
40625
40626
40627
40628
40629
40630
40631
40632
40633
40634
40635
40636
40637
40638
40639
40640
40641
40642
40643
40644
40645
40646
40647
40648
40649
40650
40651
40652
40653
40654
40655
40656
40657
40658
40659
40660
40661
40662
40663
40664
40665
40666
40667
40668
40669
40670
40671
40672
40673
40674
40675
40676
40677
40678
40679
40680
40681
40682
40683
40684
40685
40686
40687
40688
40689
40690
40691
40692
40693
40694
40695
40696
40697
40698
40699
40700
40701
40702
40703
40704
40705
40706
40707
40708
40709
40710
40711
40712
40713
40714
40715
40716
40717
40718
40719
40720
40721
40722
40723
40724
40725
40726
40727
40728
40729
40730
40731
40732
40733
40734
40735
40736
40737
40738
40739
40740
40741
40742
40743
40744
40745
40746
40747
40748
40749
40750
40751
40752
40753
40754
40755
40756
40757
40758
40759
40760
40761
40762
40763
40764
40765
40766
40767
40768
40769
40770
40771
40772
40773
40774
40775
40776
40777
40778
40779
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790
40791
40792
40793
40794
40795
40796
40797
40798
40799
40800
40801
40802
40803
40804
40805
40806
40807
40808
40809
40810
40811
40812
40813
40814
40815
40816
40817
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830
40831
40832
40833
40834
40835
40836
40837
40838
40839
40840
40841
40842
40843
40844
40845
40846
40847
40848
40849
40850
40851
40852
40853
40854
40855
40856
40857
40858
40859
40860
40861
40862
40863
40864
40865
40866
40867
40868
40869
40870
40871
40872
40873
40874
40875
40876
40877
40878
40879
40880
40881
40882
40883
40884
40885
40886
40887
40888
40889
40890
40891
40892
40893
40894
40895
40896
40897
40898
40899
40900
40901
40902
40903
40904
40905
40906
40907
40908
40909
40910
40911
40912
40913
40914
40915
40916
40917
40918
40919
40920
40921
40922
40923
40924
40925
40926
40927
40928
40929
40930
40931
40932
40933
40934
40935
40936
40937
40938
40939
40940
40941
40942
40943
40944
40945
40946
40947
40948
40949
40950
40951
40952
40953
40954
40955
40956
40957
40958
40959
40960
40961
40962
40963
40964
40965
40966
40967
40968
40969
40970
40971
40972
40973
40974
40975
40976
40977
40978
40979
40980
40981
40982
40983
40984
40985
40986
40987
40988
40989
40990
40991
40992
40993
40994
40995
40996
40997
40998
40999
41000
41001
41002
41003
41004
41005
41006
41007
41008
41009
41010
41011
41012
41013
41014
41015
41016
41017
41018
41019
41020
41021
41022
41023
41024
41025
41026
41027
41028
41029
41030
41031
41032
41033
41034
41035
41036
41037
41038
41039
41040
41041
41042
41043
41044
41045
41046
41047
41048
41049
41050
41051
41052
41053
41054
41055
41056
41057
41058
41059
41060
41061
41062
41063
41064
41065
41066
41067
41068
41069
41070
41071
41072
41073
41074
41075
41076
41077
41078
41079
41080
41081
41082
41083
41084
41085
41086
41087
41088
41089
41090
41091
41092
41093
41094
41095
41096
41097
41098
41099
41100
41101
41102
41103
41104
41105
41106
41107
41108
41109
41110
41111
41112
41113
41114
41115
41116
41117
41118
41119
41120
41121
41122
41123
41124
41125
41126
41127
41128
41129
41130
41131
41132
41133
41134
41135
41136
41137
41138
41139
41140
41141
41142
41143
41144
41145
41146
41147
41148
41149
41150
41151
41152
41153
41154
41155
41156
41157
41158
41159
41160
41161
41162
41163
41164
41165
41166
41167
41168
41169
41170
41171
41172
41173
41174
41175
41176
41177
41178
41179
41180
41181
41182
41183
41184
41185
41186
41187
41188
41189
41190
41191
41192
41193
41194
41195
41196
41197
41198
41199
41200
41201
41202
41203
41204
41205
41206
41207
41208
41209
41210
41211
41212
41213
41214
41215
41216
41217
41218
41219
41220
41221
41222
41223
41224
41225
41226
41227
41228
41229
41230
41231
41232
41233
41234
41235
41236
41237
41238
41239
41240
41241
41242
41243
41244
41245
41246
41247
41248
41249
41250
41251
41252
41253
41254
41255
41256
41257
41258
41259
41260
41261
41262
41263
41264
41265
41266
41267
41268
41269
41270
41271
41272
41273
41274
41275
41276
41277
41278
41279
41280
41281
41282
41283
41284
41285
41286
41287
41288
41289
41290
41291
41292
41293
41294
41295
41296
41297
41298
41299
41300
41301
41302
41303
41304
41305
41306
41307
41308
41309
41310
41311
41312
41313
41314
41315
41316
41317
41318
41319
41320
41321
41322
41323
41324
41325
41326
41327
41328
41329
41330
41331
41332
41333
41334
41335
41336
41337
41338
41339
41340
41341
41342
41343
41344
41345
41346
41347
41348
41349
41350
41351
41352
41353
41354
41355
41356
41357
41358
41359
41360
41361
41362
41363
41364
41365
41366
41367
41368
41369
41370
41371
41372
41373
41374
41375
41376
41377
41378
41379
41380
41381
41382
41383
41384
41385
41386
41387
41388
41389
41390
41391
41392
41393
41394
41395
41396
41397
41398
41399
41400
41401
41402
41403
41404
41405
41406
41407
41408
41409
41410
41411
41412
41413
41414
41415
41416
41417
41418
41419
41420
41421
41422
41423
41424
41425
41426
41427
41428
41429
41430
41431
41432
41433
41434
41435
41436
41437
41438
41439
41440
41441
41442
41443
41444
41445
41446
41447
41448
41449
41450
41451
41452
41453
41454
41455
41456
41457
41458
41459
41460
41461
41462
41463
41464
41465
41466
41467
41468
41469
41470
41471
41472
41473
41474
41475
41476
41477
41478
41479
41480
41481
41482
41483
41484
41485
41486
41487
41488
41489
41490
41491
41492
41493
41494
41495
41496
41497
41498
41499
41500
41501
41502
41503
41504
41505
41506
41507
41508
41509
41510
41511
41512
41513
41514
41515
41516
41517
41518
41519
41520
41521
41522
41523
41524
41525
41526
41527
41528
41529
41530
41531
41532
41533
41534
41535
41536
41537
41538
41539
41540
41541
41542
41543
41544
41545
41546
41547
41548
41549
41550
41551
41552
41553
41554
41555
41556
41557
41558
41559
41560
41561
41562
41563
41564
41565
41566
41567
41568
41569
41570
41571
41572
41573
41574
41575
41576
41577
41578
41579
41580
41581
41582
41583
41584
41585
41586
41587
41588
41589
41590
41591
41592
41593
41594
41595
41596
41597
41598
41599
41600
41601
41602
41603
41604
41605
41606
41607
41608
41609
41610
41611
41612
41613
41614
41615
41616
41617
41618
41619
41620
41621
41622
41623
41624
41625
41626
41627
41628
41629
41630
41631
41632
41633
41634
41635
41636
41637
41638
41639
41640
41641
41642
41643
41644
41645
41646
41647
41648
41649
41650
41651
41652
41653
41654
41655
41656
41657
41658
41659
41660
41661
41662
41663
41664
41665
41666
41667
41668
41669
41670
41671
41672
41673
41674
41675
41676
41677
41678
41679
41680
41681
41682
41683
41684
41685
41686
41687
41688
41689
41690
41691
41692
41693
41694
41695
41696
41697
41698
41699
41700
41701
41702
41703
41704
41705
41706
41707
41708
41709
41710
41711
41712
41713
41714
41715
41716
41717
41718
41719
41720
41721
41722
41723
41724
41725
41726
41727
41728
41729
41730
41731
41732
41733
41734
41735
41736
41737
41738
41739
41740
41741
41742
41743
41744
41745
41746
41747
41748
41749
41750
41751
41752
41753
41754
41755
41756
41757
41758
41759
41760
41761
41762
41763
41764
41765
41766
41767
41768
41769
41770
41771
41772
41773
41774
41775
41776
41777
41778
41779
41780
41781
41782
41783
41784
41785
41786
41787
41788
41789
41790
41791
41792
41793
41794
41795
41796
41797
41798
41799
41800
41801
41802
41803
41804
41805
41806
41807
41808
41809
41810
41811
41812
41813
41814
41815
41816
41817
41818
41819
41820
41821
41822
41823
41824
41825
41826
41827
41828
41829
41830
41831
41832
41833
41834
41835
41836
41837
41838
41839
41840
41841
41842
41843
41844
41845
41846
41847
41848
41849
41850
41851
41852
41853
41854
41855
41856
41857
41858
41859
41860
41861
41862
41863
41864
41865
41866
41867
41868
41869
41870
41871
41872
41873
41874
41875
41876
41877
41878
41879
41880
41881
41882
41883
41884
41885
41886
41887
41888
41889
41890
41891
41892
41893
41894
41895
41896
41897
41898
41899
41900
41901
41902
41903
41904
41905
41906
41907
41908
41909
41910
41911
41912
41913
41914
41915
41916
41917
41918
41919
41920
41921
41922
41923
41924
41925
41926
41927
41928
41929
41930
41931
41932
41933
41934
41935
41936
41937
41938
41939
41940
41941
41942
41943
41944
41945
41946
41947
41948
41949
41950
41951
41952
41953
41954
41955
41956
41957
41958
41959
41960
41961
41962
41963
41964
41965
41966
41967
41968
41969
41970
41971
41972
41973
41974
41975
41976
41977
41978
41979
41980
41981
41982
41983
41984
41985
41986
41987
41988
41989
41990
41991
41992
41993
41994
41995
41996
41997
41998
41999
42000
42001
42002
42003
42004
42005
42006
42007
42008
42009
42010
42011
42012
42013
42014
42015
42016
42017
42018
42019
42020
42021
42022
42023
42024
42025
42026
42027
42028
42029
42030
42031
42032
42033
42034
42035
42036
42037
42038
42039
42040
42041
42042
42043
42044
42045
42046
42047
42048
42049
42050
42051
42052
42053
42054
42055
42056
42057
42058
42059
42060
42061
42062
42063
42064
42065
42066
42067
42068
42069
42070
42071
42072
42073
42074
42075
42076
42077
42078
42079
42080
42081
42082
42083
42084
42085
42086
42087
42088
42089
42090
42091
42092
42093
42094
42095
42096
42097
42098
42099
42100
42101
42102
42103
42104
42105
42106
42107
42108
42109
42110
42111
42112
42113
42114
42115
42116
42117
42118
42119
42120
42121
42122
42123
42124
42125
42126
42127
42128
42129
42130
42131
42132
42133
42134
42135
42136
42137
42138
42139
42140
42141
42142
42143
42144
42145
42146
42147
42148
42149
42150
42151
42152
42153
42154
42155
42156
42157
42158
42159
42160
42161
42162
42163
42164
42165
42166
42167
42168
42169
42170
42171
42172
42173
42174
42175
42176
42177
42178
42179
42180
42181
42182
42183
42184
42185
42186
42187
42188
42189
42190
42191
42192
42193
42194
42195
42196
42197
42198
42199
42200
42201
42202
42203
42204
42205
42206
42207
42208
42209
42210
42211
42212
42213
42214
42215
42216
42217
42218
42219
42220
42221
42222
42223
42224
42225
42226
42227
42228
42229
42230
42231
42232
42233
42234
42235
42236
42237
42238
42239
42240
42241
42242
42243
42244
42245
42246
42247
42248
42249
42250
42251
42252
42253
42254
42255
42256
42257
42258
42259
42260
42261
42262
42263
42264
42265
42266
42267
42268
42269
42270
42271
42272
42273
42274
42275
42276
42277
42278
42279
42280
42281
42282
42283
42284
42285
42286
42287
42288
42289
42290
42291
42292
42293
42294
42295
42296
42297
42298
42299
42300
42301
42302
42303
42304
42305
42306
42307
42308
42309
42310
42311
42312
42313
42314
42315
42316
42317
42318
42319
42320
42321
42322
42323
42324
42325
42326
42327
42328
42329
42330
42331
42332
42333
42334
42335
42336
42337
42338
42339
42340
42341
42342
42343
42344
42345
42346
42347
42348
42349
42350
42351
42352
42353
42354
42355
42356
42357
42358
42359
42360
42361
42362
42363
42364
42365
42366
42367
42368
42369
42370
42371
42372
42373
42374
42375
42376
42377
42378
42379
42380
42381
42382
42383
42384
42385
42386
42387
42388
42389
42390
42391
42392
42393
42394
42395
42396
42397
42398
42399
42400
42401
42402
42403
42404
42405
42406
42407
42408
42409
42410
42411
42412
42413
42414
42415
42416
42417
42418
42419
42420
42421
42422
42423
42424
42425
42426
42427
42428
42429
42430
42431
42432
42433
42434
42435
42436
42437
42438
42439
42440
42441
42442
42443
42444
42445
42446
42447
42448
42449
42450
42451
42452
42453
42454
42455
42456
42457
42458
42459
42460
42461
42462
42463
42464
42465
42466
42467
42468
42469
42470
42471
42472
42473
42474
42475
42476
42477
42478
42479
42480
42481
42482
42483
42484
42485
42486
42487
42488
42489
42490
42491
42492
42493
42494
42495
42496
42497
42498
42499
42500
42501
42502
42503
42504
42505
42506
42507
42508
42509
42510
42511
42512
42513
42514
42515
42516
42517
42518
42519
42520
42521
42522
42523
42524
42525
42526
42527
42528
42529
42530
42531
42532
42533
42534
42535
42536
42537
42538
42539
42540
42541
42542
42543
42544
42545
42546
42547
42548
42549
42550
42551
42552
42553
42554
42555
42556
42557
42558
42559
42560
42561
42562
42563
42564
42565
42566
42567
42568
42569
42570
42571
42572
42573
42574
42575
42576
42577
42578
42579
42580
42581
42582
42583
42584
42585
42586
42587
42588
42589
42590
42591
42592
42593
42594
42595
42596
42597
42598
42599
42600
42601
42602
42603
42604
42605
42606
42607
42608
42609
42610
42611
42612
42613
42614
42615
42616
42617
42618
42619
42620
42621
42622
42623
42624
42625
42626
42627
42628
42629
42630
42631
42632
42633
42634
42635
42636
42637
42638
42639
42640
42641
42642
42643
42644
42645
42646
42647
42648
42649
42650
42651
42652
42653
42654
42655
42656
42657
42658
42659
42660
42661
42662
42663
42664
42665
42666
42667
42668
42669
42670
42671
42672
42673
42674
42675
42676
42677
42678
42679
42680
42681
42682
42683
42684
42685
42686
42687
42688
42689
42690
42691
42692
42693
42694
42695
42696
42697
42698
42699
42700
42701
42702
42703
42704
42705
42706
42707
42708
42709
42710
42711
42712
42713
42714
42715
42716
42717
42718
42719
42720
42721
42722
42723
42724
42725
42726
42727
42728
42729
42730
42731
42732
42733
42734
42735
42736
42737
42738
42739
42740
42741
42742
42743
42744
42745
42746
42747
42748
42749
42750
42751
42752
42753
42754
42755
42756
42757
42758
42759
42760
42761
42762
42763
42764
42765
42766
42767
42768
42769
42770
42771
42772
42773
42774
42775
42776
42777
42778
42779
42780
42781
42782
42783
42784
42785
42786
42787
42788
42789
42790
42791
42792
42793
42794
42795
42796
42797
42798
42799
42800
42801
42802
42803
42804
42805
42806
42807
42808
42809
42810
42811
42812
42813
42814
42815
42816
42817
42818
42819
42820
42821
42822
42823
42824
42825
42826
42827
42828
42829
42830
42831
42832
42833
42834
42835
42836
42837
42838
42839
42840
42841
42842
42843
42844
42845
42846
42847
42848
42849
42850
42851
42852
42853
42854
42855
42856
42857
42858
42859
42860
42861
42862
42863
42864
42865
42866
42867
42868
42869
42870
42871
42872
42873
42874
42875
42876
42877
42878
42879
42880
42881
42882
42883
42884
42885
42886
42887
42888
42889
42890
42891
42892
42893
42894
42895
42896
42897
42898
42899
42900
42901
42902
42903
42904
42905
42906
42907
42908
42909
42910
42911
42912
42913
42914
42915
42916
42917
42918
42919
42920
42921
42922
42923
42924
42925
42926
42927
42928
42929
42930
42931
42932
42933
42934
42935
42936
42937
42938
42939
42940
42941
42942
42943
42944
42945
42946
42947
42948
42949
42950
42951
42952
42953
42954
42955
42956
42957
42958
42959
42960
42961
42962
42963
42964
42965
42966
42967
42968
42969
42970
42971
42972
42973
42974
42975
42976
42977
42978
42979
42980
42981
42982
42983
42984
42985
42986
42987
42988
42989
42990
42991
42992
42993
42994
42995
42996
42997
42998
42999
43000
43001
43002
43003
43004
43005
43006
43007
43008
43009
43010
43011
43012
43013
43014
43015
43016
43017
43018
43019
43020
43021
43022
43023
43024
43025
43026
43027
43028
43029
43030
43031
43032
43033
43034
43035
43036
43037
43038
43039
43040
43041
43042
43043
43044
43045
43046
43047
43048
43049
43050
43051
43052
43053
43054
43055
43056
43057
43058
43059
43060
43061
43062
43063
43064
43065
43066
43067
43068
43069
43070
43071
43072
43073
43074
43075
43076
43077
43078
43079
43080
43081
43082
43083
43084
43085
43086
43087
43088
43089
43090
43091
43092
43093
43094
43095
43096
43097
43098
43099
43100
43101
43102
43103
43104
43105
43106
43107
43108
43109
43110
43111
43112
43113
43114
43115
43116
43117
43118
43119
43120
43121
43122
43123
43124
43125
43126
43127
43128
43129
43130
43131
43132
43133
43134
43135
43136
43137
43138
43139
43140
43141
43142
43143
43144
43145
43146
43147
43148
43149
43150
43151
43152
43153
43154
43155
43156
43157
43158
43159
43160
43161
43162
43163
43164
43165
43166
43167
43168
43169
43170
43171
43172
43173
43174
43175
43176
43177
43178
43179
43180
43181
43182
43183
43184
43185
43186
43187
43188
43189
43190
43191
43192
43193
43194
43195
43196
43197
43198
43199
43200
43201
43202
43203
43204
43205
43206
43207
43208
43209
43210
43211
43212
43213
43214
43215
43216
43217
43218
43219
43220
43221
43222
43223
43224
43225
43226
43227
43228
43229
43230
43231
43232
43233
43234
43235
43236
43237
43238
43239
43240
43241
43242
43243
43244
43245
43246
43247
43248
43249
43250
43251
43252
43253
43254
43255
43256
43257
43258
43259
43260
43261
43262
43263
43264
43265
43266
43267
43268
43269
43270
43271
43272
43273
43274
43275
43276
43277
43278
43279
43280
43281
43282
43283
43284
43285
43286
43287
43288
43289
43290
43291
43292
43293
43294
43295
43296
43297
43298
43299
43300
43301
43302
43303
43304
43305
43306
43307
43308
43309
43310
43311
43312
43313
43314
43315
43316
43317
43318
43319
43320
43321
43322
43323
43324
43325
43326
43327
43328
43329
43330
43331
43332
43333
43334
43335
43336
43337
43338
43339
43340
43341
43342
43343
43344
43345
43346
43347
43348
43349
43350
43351
43352
43353
43354
43355
43356
43357
43358
43359
43360
43361
43362
43363
43364
43365
43366
43367
43368
43369
43370
43371
43372
43373
43374
43375
43376
43377
43378
43379
43380
43381
43382
43383
43384
43385
43386
43387
43388
43389
43390
43391
43392
43393
43394
43395
43396
43397
43398
43399
43400
43401
43402
43403
43404
43405
43406
43407
43408
43409
43410
43411
43412
43413
43414
43415
43416
43417
43418
43419
43420
43421
43422
43423
43424
43425
43426
43427
43428
43429
43430
43431
43432
43433
43434
43435
43436
43437
43438
43439
43440
43441
43442
43443
43444
43445
43446
43447
43448
43449
43450
43451
43452
43453
43454
43455
43456
43457
43458
43459
43460
43461
43462
43463
43464
43465
43466
43467
43468
43469
43470
43471
43472
43473
43474
43475
43476
43477
43478
43479
43480
43481
43482
43483
43484
43485
43486
43487
43488
43489
43490
43491
43492
43493
43494
43495
43496
43497
43498
43499
43500
43501
43502
43503
43504
43505
43506
43507
43508
43509
43510
43511
43512
43513
43514
43515
43516
43517
43518
43519
43520
43521
43522
43523
43524
43525
43526
43527
43528
43529
43530
43531
43532
43533
43534
43535
43536
43537
43538
43539
43540
43541
43542
43543
43544
43545
43546
43547
43548
43549
43550
43551
43552
43553
43554
43555
43556
43557
43558
43559
43560
43561
43562
43563
43564
43565
43566
43567
43568
43569
43570
43571
43572
43573
43574
43575
43576
43577
43578
43579
43580
43581
43582
43583
43584
43585
43586
43587
43588
43589
43590
43591
43592
43593
43594
43595
43596
43597
43598
43599
43600
43601
43602
43603
43604
43605
43606
43607
43608
43609
43610
43611
43612
43613
43614
43615
43616
43617
43618
43619
43620
43621
43622
43623
43624
43625
43626
43627
43628
43629
43630
43631
43632
43633
43634
43635
43636
43637
43638
43639
43640
43641
43642
43643
43644
43645
43646
43647
43648
43649
43650
43651
43652
43653
43654
43655
43656
43657
43658
43659
43660
43661
43662
43663
43664
43665
43666
43667
43668
43669
43670
43671
43672
43673
43674
43675
43676
43677
43678
43679
43680
43681
43682
43683
43684
43685
43686
43687
43688
43689
43690
43691
43692
43693
43694
43695
43696
43697
43698
43699
43700
43701
43702
43703
43704
43705
43706
43707
43708
43709
43710
43711
43712
43713
43714
43715
43716
43717
43718
43719
43720
43721
43722
43723
43724
43725
43726
43727
43728
43729
43730
43731
43732
43733
43734
43735
43736
43737
43738
43739
43740
43741
43742
43743
43744
43745
43746
43747
43748
43749
43750
43751
43752
43753
43754
43755
43756
43757
43758
43759
43760
43761
43762
43763
43764
43765
43766
43767
43768
43769
43770
43771
43772
43773
43774
43775
43776
43777
43778
43779
43780
43781
43782
43783
43784
43785
43786
43787
43788
43789
43790
43791
43792
43793
43794
43795
43796
43797
43798
43799
43800
43801
43802
43803
43804
43805
43806
43807
43808
43809
43810
43811
43812
43813
43814
43815
43816
43817
43818
43819
43820
43821
43822
43823
43824
43825
43826
43827
43828
43829
43830
43831
43832
43833
43834
43835
43836
43837
43838
43839
43840
43841
43842
43843
43844
43845
43846
43847
43848
43849
43850
43851
43852
43853
43854
43855
43856
43857
43858
43859
43860
43861
43862
43863
43864
43865
43866
43867
43868
43869
43870
43871
43872
43873
43874
43875
43876
43877
43878
43879
43880
43881
43882
43883
43884
43885
43886
43887
43888
43889
43890
43891
43892
43893
43894
43895
43896
43897
43898
43899
43900
43901
43902
43903
43904
43905
43906
43907
43908
43909
43910
43911
43912
43913
43914
43915
43916
43917
43918
43919
43920
43921
43922
43923
43924
43925
43926
43927
43928
43929
43930
43931
43932
43933
43934
43935
43936
43937
43938
43939
43940
43941
43942
43943
43944
43945
43946
43947
43948
43949
43950
43951
43952
43953
43954
43955
43956
43957
43958
43959
43960
43961
43962
43963
43964
43965
43966
43967
43968
43969
43970
43971
43972
43973
43974
43975
43976
43977
43978
43979
43980
43981
43982
43983
43984
43985
43986
43987
43988
43989
43990
43991
43992
43993
43994
43995
43996
43997
43998
43999
44000
44001
44002
44003
44004
44005
44006
44007
44008
44009
44010
44011
44012
44013
44014
44015
44016
44017
44018
44019
44020
44021
44022
44023
44024
44025
44026
44027
44028
44029
44030
44031
44032
44033
44034
44035
44036
44037
44038
44039
44040
44041
44042
44043
44044
44045
44046
44047
44048
44049
44050
44051
44052
44053
44054
44055
44056
44057
44058
44059
44060
44061
44062
44063
44064
44065
44066
44067
44068
44069
44070
44071
44072
44073
44074
44075
44076
44077
44078
44079
44080
44081
44082
44083
44084
44085
44086
44087
44088
44089
44090
44091
44092
44093
44094
44095
44096
44097
44098
44099
44100
44101
44102
44103
44104
44105
44106
44107
44108
44109
44110
44111
44112
44113
44114
44115
44116
44117
44118
44119
44120
44121
44122
44123
44124
44125
44126
44127
44128
44129
44130
44131
44132
44133
44134
44135
44136
44137
44138
44139
44140
44141
44142
44143
44144
44145
44146
44147
44148
44149
44150
44151
44152
44153
44154
44155
44156
44157
44158
44159
44160
44161
44162
44163
44164
44165
44166
44167
44168
44169
44170
44171
44172
44173
44174
44175
44176
44177
44178
44179
44180
44181
44182
44183
44184
44185
44186
44187
44188
44189
44190
44191
44192
44193
44194
44195
44196
44197
44198
44199
44200
44201
44202
44203
44204
44205
44206
44207
44208
44209
44210
44211
44212
44213
44214
44215
44216
44217
44218
44219
44220
44221
44222
44223
44224
44225
44226
44227
44228
44229
44230
44231
44232
44233
44234
44235
44236
44237
44238
44239
44240
44241
44242
44243
44244
44245
44246
44247
44248
44249
44250
44251
44252
44253
44254
44255
44256
44257
44258
44259
44260
44261
44262
44263
44264
44265
44266
44267
44268
44269
44270
44271
44272
44273
44274
44275
44276
44277
44278
44279
44280
44281
44282
44283
44284
44285
44286
44287
44288
44289
44290
44291
44292
44293
44294
44295
44296
44297
44298
44299
44300
44301
44302
44303
44304
44305
44306
44307
44308
44309
44310
44311
44312
44313
44314
44315
44316
44317
44318
44319
44320
44321
44322
44323
44324
44325
44326
44327
44328
44329
44330
44331
44332
44333
44334
44335
44336
44337
44338
44339
44340
44341
44342
44343
44344
44345
44346
44347
44348
44349
44350
44351
44352
44353
44354
44355
44356
44357
44358
44359
44360
44361
44362
44363
44364
44365
44366
44367
44368
44369
44370
44371
44372
44373
44374
44375
44376
44377
44378
44379
44380
44381
44382
44383
44384
44385
44386
44387
44388
44389
44390
44391
44392
44393
44394
44395
44396
44397
44398
44399
44400
44401
44402
44403
44404
44405
44406
44407
44408
44409
44410
44411
44412
44413
44414
44415
44416
44417
44418
44419
44420
44421
44422
44423
44424
44425
44426
44427
44428
44429
44430
44431
44432
44433
44434
44435
44436
44437
44438
44439
44440
44441
44442
44443
44444
44445
44446
44447
44448
44449
44450
44451
44452
44453
44454
44455
44456
44457
44458
44459
44460
44461
44462
44463
44464
44465
44466
44467
44468
44469
44470
44471
44472
44473
44474
44475
44476
44477
44478
44479
44480
44481
44482
44483
44484
44485
44486
44487
44488
44489
44490
44491
44492
44493
44494
44495
44496
44497
44498
44499
44500
44501
44502
44503
44504
44505
44506
44507
44508
44509
44510
44511
44512
44513
44514
44515
44516
44517
44518
44519
44520
44521
44522
44523
44524
44525
44526
44527
44528
44529
44530
44531
44532
44533
44534
44535
44536
44537
44538
44539
44540
44541
44542
44543
44544
44545
44546
44547
44548
44549
44550
44551
44552
44553
44554
44555
44556
44557
44558
44559
44560
44561
44562
44563
44564
44565
44566
44567
44568
44569
44570
44571
44572
44573
44574
44575
44576
44577
44578
44579
44580
44581
44582
44583
44584
44585
44586
44587
44588
44589
44590
44591
44592
44593
44594
44595
44596
44597
44598
44599
44600
44601
44602
44603
44604
44605
44606
44607
44608
44609
44610
44611
44612
44613
44614
44615
44616
44617
44618
44619
44620
44621
44622
44623
44624
44625
44626
44627
44628
44629
44630
44631
44632
44633
44634
44635
44636
44637
44638
44639
44640
44641
44642
44643
44644
44645
44646
44647
44648
44649
44650
44651
44652
44653
44654
44655
44656
44657
44658
44659
44660
44661
44662
44663
44664
44665
44666
44667
44668
44669
44670
44671
44672
44673
44674
44675
44676
44677
44678
44679
44680
44681
44682
44683
44684
44685
44686
44687
44688
44689
44690
44691
44692
44693
44694
44695
44696
44697
44698
44699
44700
44701
44702
44703
44704
44705
44706
44707
44708
44709
44710
44711
44712
44713
44714
44715
44716
44717
44718
44719
44720
44721
44722
44723
44724
44725
44726
44727
44728
44729
44730
44731
44732
44733
44734
44735
44736
44737
44738
44739
44740
44741
44742
44743
44744
44745
44746
44747
44748
44749
44750
44751
44752
44753
44754
44755
44756
44757
44758
44759
44760
44761
44762
44763
44764
44765
44766
44767
44768
44769
44770
44771
44772
44773
44774
44775
44776
44777
44778
44779
44780
44781
44782
44783
44784
44785
44786
44787
44788
44789
44790
44791
44792
44793
44794
44795
44796
44797
44798
44799
44800
44801
44802
44803
44804
44805
44806
44807
44808
44809
44810
44811
44812
44813
44814
44815
44816
44817
44818
44819
44820
44821
44822
44823
44824
44825
44826
44827
44828
44829
44830
44831
44832
44833
44834
44835
44836
44837
44838
44839
44840
44841
44842
44843
44844
44845
44846
44847
44848
44849
44850
44851
44852
44853
44854
44855
44856
44857
44858
44859
44860
44861
44862
44863
44864
44865
44866
44867
44868
44869
44870
44871
44872
44873
44874
44875
44876
44877
44878
44879
44880
44881
44882
44883
44884
44885
44886
44887
44888
44889
44890
44891
44892
44893
44894
44895
44896
44897
44898
44899
44900
44901
44902
44903
44904
44905
44906
44907
44908
44909
44910
44911
44912
44913
44914
44915
44916
44917
44918
44919
44920
44921
44922
44923
44924
44925
44926
44927
44928
44929
44930
44931
44932
44933
44934
44935
44936
44937
44938
44939
44940
44941
44942
44943
44944
44945
44946
44947
44948
44949
44950
44951
44952
44953
44954
44955
44956
44957
44958
44959
44960
44961
44962
44963
44964
44965
44966
44967
44968
44969
44970
44971
44972
44973
44974
44975
44976
44977
44978
44979
44980
44981
44982
44983
44984
44985
44986
44987
44988
44989
44990
44991
44992
44993
44994
44995
44996
44997
44998
44999
45000
45001
45002
45003
45004
45005
45006
45007
45008
45009
45010
45011
45012
45013
45014
45015
45016
45017
45018
45019
45020
45021
45022
45023
45024
45025
45026
45027
45028
45029
45030
45031
45032
45033
45034
45035
45036
45037
45038
45039
45040
45041
45042
45043
45044
45045
45046
45047
45048
45049
45050
45051
45052
45053
45054
45055
45056
45057
45058
45059
45060
45061
45062
45063
45064
45065
45066
45067
45068
45069
45070
45071
45072
45073
45074
45075
45076
45077
45078
45079
45080
45081
45082
45083
45084
45085
45086
45087
45088
45089
45090
45091
45092
45093
45094
45095
45096
45097
45098
45099
45100
45101
45102
45103
45104
45105
45106
45107
45108
45109
45110
45111
45112
45113
45114
45115
45116
45117
45118
45119
45120
45121
45122
45123
45124
45125
45126
45127
45128
45129
45130
45131
45132
45133
45134
45135
45136
45137
45138
45139
45140
45141
45142
45143
45144
45145
45146
45147
45148
45149
45150
45151
45152
45153
45154
45155
45156
45157
45158
45159
45160
45161
45162
45163
45164
45165
45166
45167
45168
45169
45170
45171
45172
45173
45174
45175
45176
45177
45178
45179
45180
45181
45182
45183
45184
45185
45186
45187
45188
45189
45190
45191
45192
45193
45194
45195
45196
45197
45198
45199
45200
45201
45202
45203
45204
45205
45206
45207
45208
45209
45210
45211
45212
45213
45214
45215
45216
45217
45218
45219
45220
45221
45222
45223
45224
45225
45226
45227
45228
45229
45230
45231
45232
45233
45234
45235
45236
45237
45238
45239
45240
45241
45242
45243
45244
45245
45246
45247
45248
45249
45250
45251
45252
45253
45254
45255
45256
45257
45258
45259
45260
45261
45262
45263
45264
45265
45266
45267
45268
45269
45270
45271
45272
45273
45274
45275
45276
45277
45278
45279
45280
45281
45282
45283
45284
45285
45286
45287
45288
45289
45290
45291
45292
45293
45294
45295
45296
45297
45298
45299
45300
45301
45302
45303
45304
45305
45306
45307
45308
45309
45310
45311
45312
45313
45314
45315
45316
45317
45318
45319
45320
45321
45322
45323
45324
45325
45326
45327
45328
45329
45330
45331
45332
45333
45334
45335
45336
45337
45338
45339
45340
45341
45342
45343
45344
45345
45346
45347
45348
45349
45350
45351
45352
45353
45354
45355
45356
45357
45358
45359
45360
45361
45362
45363
45364
45365
45366
45367
45368
45369
45370
45371
45372
45373
45374
45375
45376
45377
45378
45379
45380
45381
45382
45383
45384
45385
45386
45387
45388
45389
45390
45391
45392
45393
45394
45395
45396
45397
45398
45399
45400
45401
45402
45403
45404
45405
45406
45407
45408
45409
45410
45411
45412
45413
45414
45415
45416
45417
45418
45419
45420
45421
45422
45423
45424
45425
45426
45427
45428
45429
45430
45431
45432
45433
45434
45435
45436
45437
45438
45439
45440
45441
45442
45443
45444
45445
45446
45447
45448
45449
45450
45451
45452
45453
45454
45455
45456
45457
45458
45459
45460
45461
45462
45463
45464
45465
45466
45467
45468
45469
45470
45471
45472
45473
45474
45475
45476
45477
45478
45479
45480
45481
45482
45483
45484
45485
45486
45487
45488
45489
45490
45491
45492
45493
45494
45495
45496
45497
45498
45499
45500
45501
45502
45503
45504
45505
45506
45507
45508
45509
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546
45547
45548
45549
45550
45551
45552
45553
45554
45555
45556
45557
45558
45559
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573
45574
45575
45576
45577
45578
45579
45580
45581
45582
45583
45584
45585
45586
45587
45588
45589
45590
45591
45592
45593
45594
45595
45596
45597
45598
45599
45600
45601
45602
45603
45604
45605
45606
45607
45608
45609
45610
45611
45612
45613
45614
45615
45616
45617
45618
45619
45620
45621
45622
45623
45624
45625
45626
45627
45628
45629
45630
45631
45632
45633
45634
45635
45636
45637
45638
45639
45640
45641
45642
45643
45644
45645
45646
45647
45648
45649
45650
45651
45652
45653
45654
45655
45656
45657
45658
45659
45660
45661
45662
45663
45664
45665
45666
45667
45668
45669
45670
45671
45672
45673
45674
45675
45676
45677
45678
45679
45680
45681
45682
45683
45684
45685
45686
45687
45688
45689
45690
45691
45692
45693
45694
45695
45696
45697
45698
45699
45700
45701
45702
45703
45704
45705
45706
45707
45708
45709
45710
45711
45712
45713
45714
45715
45716
45717
45718
45719
45720
45721
45722
45723
45724
45725
45726
45727
45728
45729
45730
45731
45732
45733
45734
45735
45736
45737
45738
45739
45740
45741
45742
45743
45744
45745
45746
45747
45748
45749
45750
45751
45752
45753
45754
45755
45756
45757
45758
45759
45760
45761
45762
45763
45764
45765
45766
45767
45768
45769
45770
45771
45772
45773
45774
45775
45776
45777
45778
45779
45780
45781
45782
45783
45784
45785
45786
45787
45788
45789
45790
45791
45792
45793
45794
45795
45796
45797
45798
45799
45800
45801
45802
45803
45804
45805
45806
45807
45808
45809
45810
45811
45812
45813
45814
45815
45816
45817
45818
45819
45820
45821
45822
45823
45824
45825
45826
45827
45828
45829
45830
45831
45832
45833
45834
45835
45836
45837
45838
45839
45840
45841
45842
45843
45844
45845
45846
45847
45848
45849
45850
45851
45852
45853
45854
45855
45856
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
45869
45870
45871
45872
45873
45874
45875
45876
45877
45878
45879
45880
45881
45882
45883
45884
45885
45886
45887
45888
45889
45890
45891
45892
45893
45894
45895
45896
45897
45898
45899
45900
45901
45902
45903
45904
45905
45906
45907
45908
45909
45910
45911
45912
45913
45914
45915
45916
45917
45918
45919
45920
45921
45922
45923
45924
45925
45926
45927
45928
45929
45930
45931
45932
45933
45934
45935
45936
45937
45938
45939
45940
45941
45942
45943
45944
45945
45946
45947
45948
45949
45950
45951
45952
45953
45954
45955
45956
45957
45958
45959
45960
45961
45962
45963
45964
45965
45966
45967
45968
45969
45970
45971
45972
45973
45974
45975
45976
45977
45978
45979
45980
45981
45982
45983
45984
45985
45986
45987
45988
45989
45990
45991
45992
45993
45994
45995
45996
45997
45998
45999
46000
46001
46002
46003
46004
46005
46006
46007
46008
46009
46010
46011
46012
46013
46014
46015
46016
46017
46018
46019
46020
46021
46022
46023
46024
46025
46026
46027
46028
46029
46030
46031
46032
46033
46034
46035
46036
46037
46038
46039
46040
46041
46042
46043
46044
46045
46046
46047
46048
46049
46050
46051
46052
46053
46054
46055
46056
46057
46058
46059
46060
46061
46062
46063
46064
46065
46066
46067
46068
46069
46070
46071
46072
46073
46074
46075
46076
46077
46078
46079
46080
46081
46082
46083
46084
46085
46086
46087
46088
46089
46090
46091
46092
46093
46094
46095
46096
46097
46098
46099
46100
46101
46102
46103
46104
46105
46106
46107
46108
46109
46110
46111
46112
46113
46114
46115
46116
46117
46118
46119
46120
46121
46122
46123
46124
46125
46126
46127
46128
46129
46130
46131
46132
46133
46134
46135
46136
46137
46138
46139
46140
46141
46142
46143
46144
46145
46146
46147
46148
46149
46150
46151
46152
46153
46154
46155
46156
46157
46158
46159
46160
46161
46162
46163
46164
46165
46166
46167
46168
46169
46170
46171
46172
46173
46174
46175
46176
46177
46178
46179
46180
46181
46182
46183
46184
46185
46186
46187
46188
46189
46190
46191
46192
46193
46194
46195
46196
46197
46198
46199
46200
46201
46202
46203
46204
46205
46206
46207
46208
46209
46210
46211
46212
46213
46214
46215
46216
46217
46218
46219
46220
46221
46222
46223
46224
46225
46226
46227
46228
46229
46230
46231
46232
46233
46234
46235
46236
46237
46238
46239
46240
46241
46242
46243
46244
46245
46246
46247
46248
46249
46250
46251
46252
46253
46254
46255
46256
46257
46258
46259
46260
46261
46262
46263
46264
46265
46266
46267
46268
46269
46270
46271
46272
46273
46274
46275
46276
46277
46278
46279
46280
46281
46282
46283
46284
46285
46286
46287
46288
46289
46290
46291
46292
46293
46294
46295
46296
46297
46298
46299
46300
46301
46302
46303
46304
46305
46306
46307
46308
46309
46310
46311
46312
46313
46314
46315
46316
46317
46318
46319
46320
46321
46322
46323
46324
46325
46326
46327
46328
46329
46330
46331
46332
46333
46334
46335
46336
46337
46338
46339
46340
46341
46342
46343
46344
46345
46346
46347
46348
46349
46350
46351
46352
46353
46354
46355
46356
46357
46358
46359
46360
46361
46362
46363
46364
46365
46366
46367
46368
46369
46370
46371
46372
46373
46374
46375
46376
46377
46378
46379
46380
46381
46382
46383
46384
46385
46386
46387
46388
46389
46390
46391
46392
46393
46394
46395
46396
46397
46398
46399
46400
46401
46402
46403
46404
46405
46406
46407
46408
46409
46410
46411
46412
46413
46414
46415
46416
46417
46418
46419
46420
46421
46422
46423
46424
46425
46426
46427
46428
46429
46430
46431
46432
46433
46434
46435
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448
46449
46450
46451
46452
46453
46454
46455
46456
46457
46458
46459
46460
46461
46462
46463
46464
46465
46466
46467
46468
46469
46470
46471
46472
46473
46474
46475
46476
46477
46478
46479
46480
46481
46482
46483
46484
46485
46486
46487
46488
46489
46490
46491
46492
46493
46494
46495
46496
46497
46498
46499
46500
46501
46502
46503
46504
46505
46506
46507
46508
46509
46510
46511
46512
46513
46514
46515
46516
46517
46518
46519
46520
46521
46522
46523
46524
46525
46526
46527
46528
46529
46530
46531
46532
46533
46534
46535
46536
46537
46538
46539
46540
46541
46542
46543
46544
46545
46546
46547
46548
46549
46550
46551
46552
46553
46554
46555
46556
46557
46558
46559
46560
46561
46562
46563
46564
46565
46566
46567
46568
46569
46570
46571
46572
46573
46574
46575
46576
46577
46578
46579
46580
46581
46582
46583
46584
46585
46586
46587
46588
46589
46590
46591
46592
46593
46594
46595
46596
46597
46598
46599
46600
46601
46602
46603
46604
46605
46606
46607
46608
46609
46610
46611
46612
46613
46614
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624
46625
46626
46627
46628
46629
46630
46631
46632
46633
46634
46635
46636
46637
46638
46639
46640
46641
46642
46643
46644
46645
46646
46647
46648
46649
46650
46651
46652
46653
46654
46655
46656
46657
46658
46659
46660
46661
46662
46663
46664
46665
46666
46667
46668
46669
46670
46671
46672
46673
46674
46675
46676
46677
46678
46679
46680
46681
46682
46683
46684
46685
46686
46687
46688
46689
46690
46691
46692
46693
46694
46695
46696
46697
46698
46699
46700
46701
46702
46703
46704
46705
46706
46707
46708
46709
46710
46711
46712
46713
46714
46715
46716
46717
46718
46719
46720
46721
46722
46723
46724
46725
46726
46727
46728
46729
46730
46731
46732
46733
46734
46735
46736
46737
46738
46739
46740
46741
46742
46743
46744
46745
46746
46747
46748
46749
46750
46751
46752
46753
46754
46755
46756
46757
46758
46759
46760
46761
46762
46763
46764
46765
46766
46767
46768
46769
46770
46771
46772
46773
46774
46775
46776
46777
46778
46779
46780
46781
46782
46783
46784
46785
46786
46787
46788
46789
46790
46791
46792
46793
46794
46795
46796
46797
46798
46799
46800
46801
46802
46803
46804
46805
46806
46807
46808
46809
46810
46811
46812
46813
46814
46815
46816
46817
46818
46819
46820
46821
46822
46823
46824
46825
46826
46827
46828
46829
46830
46831
46832
46833
46834
46835
46836
46837
46838
46839
46840
46841
46842
46843
46844
46845
46846
46847
46848
46849
46850
46851
46852
46853
46854
46855
46856
46857
46858
46859
46860
46861
46862
46863
46864
46865
46866
46867
46868
46869
46870
46871
46872
46873
46874
46875
46876
46877
46878
46879
46880
46881
46882
46883
46884
46885
46886
46887
46888
46889
46890
46891
46892
46893
46894
46895
46896
46897
46898
46899
46900
46901
46902
46903
46904
46905
46906
46907
46908
46909
46910
46911
46912
46913
46914
46915
46916
46917
46918
46919
46920
46921
46922
46923
46924
46925
46926
46927
46928
46929
46930
46931
46932
46933
46934
46935
46936
46937
46938
46939
46940
46941
46942
46943
46944
46945
46946
46947
46948
46949
46950
46951
46952
46953
46954
46955
46956
46957
46958
46959
46960
46961
46962
46963
46964
46965
46966
46967
46968
46969
46970
46971
46972
46973
46974
46975
46976
46977
46978
46979
46980
46981
46982
46983
46984
46985
46986
46987
46988
46989
46990
46991
46992
46993
46994
46995
46996
46997
46998
46999
47000
47001
47002
47003
47004
47005
47006
47007
47008
47009
47010
47011
47012
47013
47014
47015
47016
47017
47018
47019
47020
47021
47022
47023
47024
47025
47026
47027
47028
47029
47030
47031
47032
47033
47034
47035
47036
47037
47038
47039
47040
47041
47042
47043
47044
47045
47046
47047
47048
47049
47050
47051
47052
47053
47054
47055
47056
47057
47058
47059
47060
47061
47062
47063
47064
47065
47066
47067
47068
47069
47070
47071
47072
47073
47074
47075
47076
47077
47078
47079
47080
47081
47082
47083
47084
47085
47086
47087
47088
47089
47090
47091
47092
47093
47094
47095
47096
47097
47098
47099
47100
47101
47102
47103
47104
47105
47106
47107
47108
47109
47110
47111
47112
47113
47114
47115
47116
47117
47118
47119
47120
47121
47122
47123
47124
47125
47126
47127
47128
47129
47130
47131
47132
47133
47134
47135
47136
47137
47138
47139
47140
47141
47142
47143
47144
47145
47146
47147
47148
47149
47150
47151
47152
47153
47154
47155
47156
47157
47158
47159
47160
47161
47162
47163
47164
47165
47166
47167
47168
47169
47170
47171
47172
47173
47174
47175
47176
47177
47178
47179
47180
47181
47182
47183
47184
47185
47186
47187
47188
47189
47190
47191
47192
47193
47194
47195
47196
47197
47198
47199
47200
47201
47202
47203
47204
47205
47206
47207
47208
47209
47210
47211
47212
47213
47214
47215
47216
47217
47218
47219
47220
47221
47222
47223
47224
47225
47226
47227
47228
47229
47230
47231
47232
47233
47234
47235
47236
47237
47238
47239
47240
47241
47242
47243
47244
47245
47246
47247
47248
47249
47250
47251
47252
47253
47254
47255
47256
47257
47258
47259
47260
47261
47262
47263
47264
47265
47266
47267
47268
47269
47270
47271
47272
47273
47274
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298
47299
47300
47301
47302
47303
47304
47305
47306
47307
47308
47309
47310
47311
47312
47313
47314
47315
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326
47327
47328
47329
47330
47331
47332
47333
47334
47335
47336
47337
47338
47339
47340
47341
47342
47343
47344
47345
47346
47347
47348
47349
47350
47351
47352
47353
47354
47355
47356
47357
47358
47359
47360
47361
47362
47363
47364
47365
47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376
47377
47378
47379
47380
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420
47421
47422
47423
47424
47425
47426
47427
47428
47429
47430
47431
47432
47433
47434
47435
47436
47437
47438
47439
47440
47441
47442
47443
47444
47445
47446
47447
47448
47449
47450
47451
47452
47453
47454
47455
47456
47457
47458
47459
47460
47461
47462
47463
47464
47465
47466
47467
47468
47469
47470
47471
47472
47473
47474
47475
47476
47477
47478
47479
47480
47481
47482
47483
47484
47485
47486
47487
47488
47489
47490
47491
47492
47493
47494
47495
47496
47497
47498
47499
47500
47501
47502
47503
47504
47505
47506
47507
47508
47509
47510
47511
47512
47513
47514
47515
47516
47517
47518
47519
47520
47521
47522
47523
47524
47525
47526
47527
47528
47529
47530
47531
47532
47533
47534
47535
47536
47537
47538
47539
47540
47541
47542
47543
47544
47545
47546
47547
47548
47549
47550
47551
47552
47553
47554
47555
47556
47557
47558
47559
47560
47561
47562
47563
47564
47565
47566
47567
47568
47569
47570
47571
47572
47573
47574
47575
47576
47577
47578
47579
47580
47581
47582
47583
47584
47585
47586
47587
47588
47589
47590
47591
47592
47593
47594
47595
47596
47597
47598
47599
47600
47601
47602
47603
47604
47605
47606
47607
47608
47609
47610
47611
47612
47613
47614
47615
47616
47617
47618
47619
47620
47621
47622
47623
47624
47625
47626
47627
47628
47629
47630
47631
47632
47633
47634
47635
47636
47637
47638
47639
47640
47641
47642
47643
47644
47645
47646
47647
47648
47649
47650
47651
47652
47653
47654
47655
47656
47657
47658
47659
47660
47661
47662
47663
47664
47665
47666
47667
47668
47669
47670
47671
47672
47673
47674
47675
47676
47677
47678
47679
47680
47681
47682
47683
47684
47685
47686
47687
47688
47689
47690
47691
47692
47693
47694
47695
47696
47697
47698
47699
47700
47701
47702
47703
47704
47705
47706
47707
47708
47709
47710
47711
47712
47713
47714
47715
47716
47717
47718
47719
47720
47721
47722
47723
47724
47725
47726
47727
47728
47729
47730
47731
47732
47733
47734
47735
47736
47737
47738
47739
47740
47741
47742
47743
47744
47745
47746
47747
47748
47749
47750
47751
47752
47753
47754
47755
47756
47757
47758
47759
47760
47761
47762
47763
47764
47765
47766
47767
47768
47769
47770
47771
47772
47773
47774
47775
47776
47777
47778
47779
47780
47781
47782
47783
47784
47785
47786
47787
47788
47789
47790
47791
47792
47793
47794
47795
47796
47797
47798
47799
47800
47801
47802
47803
47804
47805
47806
47807
47808
47809
47810
47811
47812
47813
47814
47815
47816
47817
47818
47819
47820
47821
47822
47823
47824
47825
47826
47827
47828
47829
47830
47831
47832
47833
47834
47835
47836
47837
47838
47839
47840
47841
47842
47843
47844
47845
47846
47847
47848
47849
47850
47851
47852
47853
47854
47855
47856
47857
47858
47859
47860
47861
47862
47863
47864
47865
47866
47867
47868
47869
47870
47871
47872
47873
47874
47875
47876
47877
47878
47879
47880
47881
47882
47883
47884
47885
47886
47887
47888
47889
47890
47891
47892
47893
47894
47895
47896
47897
47898
47899
47900
47901
47902
47903
47904
47905
47906
47907
47908
47909
47910
47911
47912
47913
47914
47915
47916
47917
47918
47919
47920
47921
47922
47923
47924
47925
47926
47927
47928
47929
47930
47931
47932
47933
47934
47935
47936
47937
47938
47939
47940
47941
47942
47943
47944
47945
47946
47947
47948
47949
47950
47951
47952
47953
47954
47955
47956
47957
47958
47959
47960
47961
47962
47963
47964
47965
47966
47967
47968
47969
47970
47971
47972
47973
47974
47975
47976
47977
47978
47979
47980
47981
47982
47983
47984
47985
47986
47987
47988
47989
47990
47991
47992
47993
47994
47995
47996
47997
47998
47999
48000
48001
48002
48003
48004
48005
48006
48007
48008
48009
48010
48011
48012
48013
48014
48015
48016
48017
48018
48019
48020
48021
48022
48023
48024
48025
48026
48027
48028
48029
48030
48031
48032
48033
48034
48035
48036
48037
48038
48039
48040
48041
48042
48043
48044
48045
48046
48047
48048
48049
48050
48051
48052
48053
48054
48055
48056
48057
48058
48059
48060
48061
48062
48063
48064
48065
48066
48067
48068
48069
48070
48071
48072
48073
48074
48075
48076
48077
48078
48079
48080
48081
48082
48083
48084
48085
48086
48087
48088
48089
48090
48091
48092
48093
48094
48095
48096
48097
48098
48099
48100
48101
48102
48103
48104
48105
48106
48107
48108
48109
48110
48111
48112
48113
48114
48115
48116
48117
48118
48119
48120
48121
48122
48123
48124
48125
48126
48127
48128
48129
48130
48131
48132
48133
48134
48135
48136
48137
48138
48139
48140
48141
48142
48143
48144
48145
48146
48147
48148
48149
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181
48182
48183
48184
48185
48186
48187
48188
48189
48190
48191
48192
48193
48194
48195
48196
48197
48198
48199
48200
48201
48202
48203
48204
48205
48206
48207
48208
48209
48210
48211
48212
48213
48214
48215
48216
48217
48218
48219
48220
48221
48222
48223
48224
48225
48226
48227
48228
48229
48230
48231
48232
48233
48234
48235
48236
48237
48238
48239
48240
48241
48242
48243
48244
48245
48246
48247
48248
48249
48250
48251
48252
48253
48254
48255
48256
48257
48258
48259
48260
48261
48262
48263
48264
48265
48266
48267
48268
48269
48270
48271
48272
48273
48274
48275
48276
48277
48278
48279
48280
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292
48293
48294
48295
48296
48297
48298
48299
48300
48301
48302
48303
48304
48305
48306
48307
48308
48309
48310
48311
48312
48313
48314
48315
48316
48317
48318
48319
48320
48321
48322
48323
48324
48325
48326
48327
48328
48329
48330
48331
48332
48333
48334
48335
48336
48337
48338
48339
48340
48341
48342
48343
48344
48345
48346
48347
48348
48349
48350
48351
48352
48353
48354
48355
48356
48357
48358
48359
48360
48361
48362
48363
48364
48365
48366
48367
48368
48369
48370
48371
48372
48373
48374
48375
48376
48377
48378
48379
48380
48381
48382
48383
48384
48385
48386
48387
48388
48389
48390
48391
48392
48393
48394
48395
48396
48397
48398
48399
48400
48401
48402
48403
48404
48405
48406
48407
48408
48409
48410
48411
48412
48413
48414
48415
48416
48417
48418
48419
48420
48421
48422
48423
48424
48425
48426
48427
48428
48429
48430
48431
48432
48433
48434
48435
48436
48437
48438
48439
48440
48441
48442
48443
48444
48445
48446
48447
48448
48449
48450
48451
48452
48453
48454
48455
48456
48457
48458
48459
48460
48461
48462
48463
48464
48465
48466
48467
48468
48469
48470
48471
48472
48473
48474
48475
48476
48477
48478
48479
48480
48481
48482
48483
48484
48485
48486
48487
48488
48489
48490
48491
48492
48493
48494
48495
48496
48497
48498
48499
48500
48501
48502
48503
48504
48505
48506
48507
48508
48509
48510
48511
48512
48513
48514
48515
48516
48517
48518
48519
48520
48521
48522
48523
48524
48525
48526
48527
48528
48529
48530
48531
48532
48533
48534
48535
48536
48537
48538
48539
48540
48541
48542
48543
48544
48545
48546
48547
48548
48549
48550
48551
48552
48553
48554
48555
48556
48557
48558
48559
48560
48561
48562
48563
48564
48565
48566
48567
48568
48569
48570
48571
48572
48573
48574
48575
48576
48577
48578
48579
48580
48581
48582
48583
48584
48585
48586
48587
48588
48589
48590
48591
48592
48593
48594
48595
48596
48597
48598
48599
48600
48601
48602
48603
48604
48605
48606
48607
48608
48609
48610
48611
48612
48613
48614
48615
48616
48617
48618
48619
48620
48621
48622
48623
48624
48625
48626
48627
48628
48629
48630
48631
48632
48633
48634
48635
48636
48637
48638
48639
48640
48641
48642
48643
48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
48657
48658
48659
48660
48661
48662
48663
48664
48665
48666
48667
48668
48669
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693
48694
48695
48696
48697
48698
48699
48700
48701
48702
48703
48704
48705
48706
48707
48708
48709
48710
48711
48712
48713
48714
48715
48716
48717
48718
48719
48720
48721
48722
48723
48724
48725
48726
48727
48728
48729
48730
48731
48732
48733
48734
48735
48736
48737
48738
48739
48740
48741
48742
48743
48744
48745
48746
48747
48748
48749
48750
48751
48752
48753
48754
48755
48756
48757
48758
48759
48760
48761
48762
48763
48764
48765
48766
48767
48768
48769
48770
48771
48772
48773
48774
48775
48776
48777
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805
48806
48807
48808
48809
48810
48811
48812
48813
48814
48815
48816
48817
48818
48819
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837
48838
48839
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850
48851
48852
48853
48854
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866
48867
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881
48882
48883
48884
48885
48886
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897
48898
48899
48900
48901
48902
48903
48904
48905
48906
48907
48908
48909
48910
48911
48912
48913
48914
48915
48916
48917
48918
48919
48920
48921
48922
48923
48924
48925
48926
48927
48928
48929
48930
48931
48932
48933
48934
48935
48936
48937
48938
48939
48940
48941
48942
48943
48944
48945
48946
48947
48948
48949
48950
48951
48952
48953
48954
48955
48956
48957
48958
48959
48960
48961
48962
48963
48964
48965
48966
48967
48968
48969
48970
48971
48972
48973
48974
48975
48976
48977
48978
48979
48980
48981
48982
48983
48984
48985
48986
48987
48988
48989
48990
48991
48992
48993
48994
48995
48996
48997
48998
48999
49000
49001
49002
49003
49004
49005
49006
49007
49008
49009
49010
49011
49012
49013
49014
49015
49016
49017
49018
49019
49020
49021
49022
49023
49024
49025
49026
49027
49028
49029
49030
49031
49032
49033
49034
49035
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045
49046
49047
49048
49049
49050
49051
49052
49053
49054
49055
49056
49057
49058
49059
49060
49061
49062
49063
49064
49065
49066
49067
49068
49069
49070
49071
49072
49073
49074
49075
49076
49077
49078
49079
49080
49081
49082
49083
49084
49085
49086
49087
49088
49089
49090
49091
49092
49093
49094
49095
49096
49097
49098
49099
49100
49101
49102
49103
49104
49105
49106
49107
49108
49109
49110
49111
49112
49113
49114
49115
49116
49117
49118
49119
49120
49121
49122
49123
49124
49125
49126
49127
49128
49129
49130
49131
49132
49133
49134
49135
49136
49137
49138
49139
49140
49141
49142
49143
49144
49145
49146
49147
49148
49149
49150
49151
49152
49153
49154
49155
49156
49157
49158
49159
49160
49161
49162
49163
49164
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175
49176
49177
49178
49179
49180
49181
49182
49183
49184
49185
49186
49187
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199
49200
49201
49202
49203
49204
49205
49206
49207
49208
49209
49210
49211
49212
49213
49214
49215
49216
49217
49218
49219
49220
49221
49222
49223
49224
49225
49226
49227
49228
49229
49230
49231
49232
49233
49234
49235
49236
49237
49238
49239
49240
49241
49242
49243
49244
49245
49246
49247
49248
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260
49261
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271
49272
49273
49274
49275
49276
49277
49278
49279
49280
49281
49282
49283
49284
49285
49286
49287
49288
49289
49290
49291
49292
49293
49294
49295
49296
49297
49298
49299
49300
49301
49302
49303
49304
49305
49306
49307
49308
49309
49310
49311
49312
49313
49314
49315
49316
49317
49318
49319
49320
49321
49322
49323
49324
49325
49326
49327
49328
49329
49330
49331
49332
49333
49334
49335
49336
49337
49338
49339
49340
49341
49342
49343
49344
49345
49346
49347
49348
49349
49350
49351
49352
49353
49354
49355
49356
49357
49358
49359
49360
49361
49362
49363
49364
49365
49366
49367
49368
49369
49370
49371
49372
49373
49374
49375
49376
49377
49378
49379
49380
49381
49382
49383
49384
49385
49386
49387
49388
49389
49390
49391
49392
49393
49394
49395
49396
49397
49398
49399
49400
49401
49402
49403
49404
49405
49406
49407
49408
49409
49410
49411
49412
49413
49414
49415
49416
49417
49418
49419
49420
49421
49422
49423
49424
49425
49426
49427
49428
49429
49430
49431
49432
49433
49434
49435
49436
49437
49438
49439
49440
49441
49442
49443
49444
49445
49446
49447
49448
49449
49450
49451
49452
49453
49454
49455
49456
49457
49458
49459
49460
49461
49462
49463
49464
49465
49466
49467
49468
49469
49470
49471
49472
49473
49474
49475
49476
49477
49478
49479
49480
49481
49482
49483
49484
49485
49486
49487
49488
49489
49490
49491
49492
49493
49494
49495
49496
49497
49498
49499
49500
49501
49502
49503
49504
49505
49506
49507
49508
49509
49510
49511
49512
49513
49514
49515
49516
49517
49518
49519
49520
49521
49522
49523
49524
49525
49526
49527
49528
49529
49530
49531
49532
49533
49534
49535
49536
49537
49538
49539
49540
49541
49542
49543
49544
49545
49546
49547
49548
49549
49550
49551
49552
49553
49554
49555
49556
49557
49558
49559
49560
49561
49562
49563
49564
49565
49566
49567
49568
49569
49570
49571
49572
49573
49574
49575
49576
49577
49578
49579
49580
49581
49582
49583
49584
49585
49586
49587
49588
49589
49590
49591
49592
49593
49594
49595
49596
49597
49598
49599
49600
49601
49602
49603
49604
49605
49606
49607
49608
49609
49610
49611
49612
49613
49614
49615
49616
49617
49618
49619
49620
49621
49622
49623
49624
49625
49626
49627
49628
49629
49630
49631
49632
49633
49634
49635
49636
49637
49638
49639
49640
49641
49642
49643
49644
49645
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655
49656
49657
49658
49659
49660
49661
49662
49663
49664
49665
49666
49667
49668
49669
49670
49671
49672
49673
49674
49675
49676
49677
49678
49679
49680
49681
49682
49683
49684
49685
49686
49687
49688
49689
49690
49691
49692
49693
49694
49695
49696
49697
49698
49699
49700
49701
49702
49703
49704
49705
49706
49707
49708
49709
49710
49711
49712
49713
49714
49715
49716
49717
49718
49719
49720
49721
49722
49723
49724
49725
49726
49727
49728
49729
49730
49731
49732
49733
49734
49735
49736
49737
49738
49739
49740
49741
49742
49743
49744
49745
49746
49747
49748
49749
49750
49751
49752
49753
49754
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776
49777
49778
49779
49780
49781
49782
49783
49784
49785
49786
49787
49788
49789
49790
49791
49792
49793
49794
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804
49805
49806
49807
49808
49809
49810
49811
49812
49813
49814
49815
49816
49817
49818
49819
49820
49821
49822
49823
49824
49825
49826
49827
49828
49829
49830
49831
49832
49833
49834
49835
49836
49837
49838
49839
49840
49841
49842
49843
49844
49845
49846
49847
49848
49849
49850
49851
49852
49853
49854
49855
49856
49857
49858
49859
49860
49861
49862
49863
49864
49865
49866
49867
49868
49869
49870
49871
49872
49873
49874
49875
49876
49877
49878
49879
49880
49881
49882
49883
49884
49885
49886
49887
49888
49889
49890
49891
49892
49893
49894
49895
49896
49897
49898
49899
49900
49901
49902
49903
49904
49905
49906
49907
49908
49909
49910
49911
49912
49913
49914
49915
49916
49917
49918
49919
49920
49921
49922
49923
49924
49925
49926
49927
49928
49929
49930
49931
49932
49933
49934
49935
49936
49937
49938
49939
49940
49941
49942
49943
49944
49945
49946
49947
49948
49949
49950
49951
49952
49953
49954
49955
49956
49957
49958
49959
49960
49961
49962
49963
49964
49965
49966
49967
49968
49969
49970
49971
49972
49973
49974
49975
49976
49977
49978
49979
49980
49981
49982
49983
49984
49985
49986
49987
49988
49989
49990
49991
49992
49993
49994
49995
49996
49997
49998
49999
50000
50001
50002
50003
50004
50005
50006
50007
50008
50009
50010
50011
50012
50013
50014
50015
50016
50017
50018
50019
50020
50021
50022
50023
50024
50025
50026
50027
50028
50029
50030
50031
50032
50033
50034
50035
50036
50037
50038
50039
50040
50041
50042
50043
50044
50045
50046
50047
50048
50049
50050
50051
50052
50053
50054
50055
50056
50057
50058
50059
50060
50061
50062
50063
50064
50065
50066
50067
50068
50069
50070
50071
50072
50073
50074
50075
50076
50077
50078
50079
50080
50081
50082
50083
50084
50085
50086
50087
50088
50089
50090
50091
50092
50093
50094
50095
50096
50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
50111
50112
50113
50114
50115
50116
50117
50118
50119
50120
50121
50122
50123
50124
50125
50126
50127
50128
50129
50130
50131
50132
50133
50134
50135
50136
50137
50138
50139
50140
50141
50142
50143
50144
50145
50146
50147
50148
50149
50150
50151
50152
50153
50154
50155
50156
50157
50158
50159
50160
50161
50162
50163
50164
50165
50166
50167
50168
50169
50170
50171
50172
50173
50174
50175
50176
50177
50178
50179
50180
50181
50182
50183
50184
50185
50186
50187
50188
50189
50190
50191
50192
50193
50194
50195
50196
50197
50198
50199
50200
50201
50202
50203
50204
50205
50206
50207
50208
50209
50210
50211
50212
50213
50214
50215
50216
50217
50218
50219
50220
50221
50222
50223
50224
50225
50226
50227
50228
50229
50230
50231
50232
50233
50234
50235
50236
50237
50238
50239
50240
50241
50242
50243
50244
50245
50246
50247
50248
50249
50250
50251
50252
50253
50254
50255
50256
50257
50258
50259
50260
50261
50262
50263
50264
50265
50266
50267
50268
50269
50270
50271
50272
50273
50274
50275
50276
50277
50278
50279
50280
50281
50282
50283
50284
50285
50286
50287
50288
50289
50290
50291
50292
50293
50294
50295
50296
50297
50298
50299
50300
50301
50302
50303
50304
50305
50306
50307
50308
50309
50310
50311
50312
50313
50314
50315
50316
50317
50318
50319
50320
50321
50322
50323
50324
50325
50326
50327
50328
50329
50330
50331
50332
50333
50334
50335
50336
50337
50338
50339
50340
50341
50342
50343
50344
50345
50346
50347
50348
50349
50350
50351
50352
50353
50354
50355
50356
50357
50358
50359
50360
50361
50362
50363
50364
50365
50366
50367
50368
50369
50370
50371
50372
50373
50374
50375
50376
50377
50378
50379
50380
50381
50382
50383
50384
50385
50386
50387
50388
50389
50390
50391
50392
50393
50394
50395
50396
50397
50398
50399
50400
50401
50402
50403
50404
50405
50406
50407
50408
50409
50410
50411
50412
50413
50414
50415
50416
50417
50418
50419
50420
50421
50422
50423
50424
50425
50426
50427
50428
50429
50430
50431
50432
50433
50434
50435
50436
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454
50455
50456
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467
50468
50469
50470
50471
50472
50473
50474
50475
50476
50477
50478
50479
50480
50481
50482
50483
50484
50485
50486
50487
50488
50489
50490
50491
50492
50493
50494
50495
50496
50497
50498
50499
50500
50501
50502
50503
50504
50505
50506
50507
50508
50509
50510
50511
50512
50513
50514
50515
50516
50517
50518
50519
50520
50521
50522
50523
50524
50525
50526
50527
50528
50529
50530
50531
50532
50533
50534
50535
50536
50537
50538
50539
50540
50541
50542
50543
50544
50545
50546
50547
50548
50549
50550
50551
50552
50553
50554
50555
50556
50557
50558
50559
50560
50561
50562
50563
50564
50565
50566
50567
50568
50569
50570
50571
50572
50573
50574
50575
50576
50577
50578
50579
50580
50581
50582
50583
50584
50585
50586
50587
50588
50589
50590
50591
50592
50593
50594
50595
50596
50597
50598
50599
50600
50601
50602
50603
50604
50605
50606
50607
50608
50609
50610
50611
50612
50613
50614
50615
50616
50617
50618
50619
50620
50621
50622
50623
50624
50625
50626
50627
50628
50629
50630
50631
50632
50633
50634
50635
50636
50637
50638
50639
50640
50641
50642
50643
50644
50645
50646
50647
50648
50649
50650
50651
50652
50653
50654
50655
50656
50657
50658
50659
50660
50661
50662
50663
50664
50665
50666
50667
50668
50669
50670
50671
50672
50673
50674
50675
50676
50677
50678
50679
50680
50681
50682
50683
50684
50685
50686
50687
50688
50689
50690
50691
50692
50693
50694
50695
50696
50697
50698
50699
50700
50701
50702
50703
50704
50705
50706
50707
50708
50709
50710
50711
50712
50713
50714
50715
50716
50717
50718
50719
50720
50721
50722
50723
50724
50725
50726
50727
50728
50729
50730
50731
50732
50733
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769
50770
50771
50772
50773
50774
50775
50776
50777
50778
50779
50780
50781
50782
50783
50784
50785
50786
50787
50788
50789
50790
50791
50792
50793
50794
50795
50796
50797
50798
50799
50800
50801
50802
50803
50804
50805
50806
50807
50808
50809
50810
50811
50812
50813
50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
50824
50825
50826
50827
50828
50829
50830
50831
50832
50833
50834
50835
50836
50837
50838
50839
50840
50841
50842
50843
50844
50845
50846
50847
50848
50849
50850
50851
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895
50896
50897
50898
50899
50900
50901
50902
50903
50904
50905
50906
50907
50908
50909
50910
50911
50912
50913
50914
50915
50916
50917
50918
50919
50920
50921
50922
50923
50924
50925
50926
50927
50928
50929
50930
50931
50932
50933
50934
50935
50936
50937
50938
50939
50940
50941
50942
50943
50944
50945
50946
50947
50948
50949
50950
50951
50952
50953
50954
50955
50956
50957
50958
50959
50960
50961
50962
50963
50964
50965
50966
50967
50968
50969
50970
50971
50972
50973
50974
50975
50976
50977
50978
50979
50980
50981
50982
50983
50984
50985
50986
50987
50988
50989
50990
50991
50992
50993
50994
50995
50996
50997
50998
50999
51000
51001
51002
51003
51004
51005
51006
51007
51008
51009
51010
51011
51012
51013
51014
51015
51016
51017
51018
51019
51020
51021
51022
51023
51024
51025
51026
51027
51028
51029
51030
51031
51032
51033
51034
51035
51036
51037
51038
51039
51040
51041
51042
51043
51044
51045
51046
51047
51048
51049
51050
51051
51052
51053
51054
51055
51056
51057
51058
51059
51060
51061
51062
51063
51064
51065
51066
51067
51068
51069
51070
51071
51072
51073
51074
51075
51076
51077
51078
51079
51080
51081
51082
51083
51084
51085
51086
51087
51088
51089
51090
51091
51092
51093
51094
51095
51096
51097
51098
51099
51100
51101
51102
51103
51104
51105
51106
51107
51108
51109
51110
51111
51112
51113
51114
51115
51116
51117
51118
51119
51120
51121
51122
51123
51124
51125
51126
51127
51128
51129
51130
51131
51132
51133
51134
51135
51136
51137
51138
51139
51140
51141
51142
51143
51144
51145
51146
51147
51148
51149
51150
51151
51152
51153
51154
51155
51156
51157
51158
51159
51160
51161
51162
51163
51164
51165
51166
51167
51168
51169
51170
51171
51172
51173
51174
51175
51176
51177
51178
51179
51180
51181
51182
51183
51184
51185
51186
51187
51188
51189
51190
51191
51192
51193
51194
51195
51196
51197
51198
51199
51200
51201
51202
51203
51204
51205
51206
51207
51208
51209
51210
51211
51212
51213
51214
51215
51216
51217
51218
51219
51220
51221
51222
51223
51224
51225
51226
51227
51228
51229
51230
51231
51232
51233
51234
51235
51236
51237
51238
51239
51240
51241
51242
51243
51244
51245
51246
51247
51248
51249
51250
51251
51252
51253
51254
51255
51256
51257
51258
51259
51260
51261
51262
51263
51264
51265
51266
51267
51268
51269
51270
51271
51272
51273
51274
51275
51276
51277
51278
51279
51280
51281
51282
51283
51284
51285
51286
51287
51288
51289
51290
51291
51292
51293
51294
51295
51296
51297
51298
51299
51300
51301
51302
51303
51304
51305
51306
51307
51308
51309
51310
51311
51312
51313
51314
51315
51316
51317
51318
51319
51320
51321
51322
51323
51324
51325
51326
51327
51328
51329
51330
51331
51332
51333
51334
51335
51336
51337
51338
51339
51340
51341
51342
51343
51344
51345
51346
51347
51348
51349
51350
51351
51352
51353
51354
51355
51356
51357
51358
51359
51360
51361
51362
51363
51364
51365
51366
51367
51368
51369
51370
51371
51372
51373
51374
51375
51376
51377
51378
51379
51380
51381
51382
51383
51384
51385
51386
51387
51388
51389
51390
51391
51392
51393
51394
51395
51396
51397
51398
51399
51400
51401
51402
51403
51404
51405
51406
51407
51408
51409
51410
51411
51412
51413
51414
51415
51416
51417
51418
51419
51420
51421
51422
51423
51424
51425
51426
51427
51428
51429
51430
51431
51432
51433
51434
51435
51436
51437
51438
51439
51440
51441
51442
51443
51444
51445
51446
51447
51448
51449
51450
51451
51452
51453
51454
51455
51456
51457
51458
51459
51460
51461
51462
51463
51464
51465
51466
51467
51468
51469
51470
51471
51472
51473
51474
51475
51476
51477
51478
51479
51480
51481
51482
51483
51484
51485
51486
51487
51488
51489
51490
51491
51492
51493
51494
51495
51496
51497
51498
51499
51500
51501
51502
51503
51504
51505
51506
51507
51508
51509
51510
51511
51512
51513
51514
51515
51516
51517
51518
51519
51520
51521
51522
51523
51524
51525
51526
51527
51528
51529
51530
51531
51532
51533
51534
51535
51536
51537
51538
51539
51540
51541
51542
51543
51544
51545
51546
51547
51548
51549
51550
51551
51552
51553
51554
51555
51556
51557
51558
51559
51560
51561
51562
51563
51564
51565
51566
51567
51568
51569
51570
51571
51572
51573
51574
51575
51576
51577
51578
51579
51580
51581
51582
51583
51584
51585
51586
51587
51588
51589
51590
51591
51592
51593
51594
51595
51596
51597
51598
51599
51600
51601
51602
51603
51604
51605
51606
51607
51608
51609
51610
51611
51612
51613
51614
51615
51616
51617
51618
51619
51620
51621
51622
51623
51624
51625
51626
51627
51628
51629
51630
51631
51632
51633
51634
51635
51636
51637
51638
51639
51640
51641
51642
51643
51644
51645
51646
51647
51648
51649
51650
51651
51652
51653
51654
51655
51656
51657
51658
51659
51660
51661
51662
51663
51664
51665
51666
51667
51668
51669
51670
51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
51683
51684
51685
51686
51687
51688
51689
51690
51691
51692
51693
51694
51695
51696
51697
51698
51699
51700
51701
51702
51703
51704
51705
51706
51707
51708
51709
51710
51711
51712
51713
51714
51715
51716
51717
51718
51719
51720
51721
51722
51723
51724
51725
51726
51727
51728
51729
51730
51731
51732
51733
51734
51735
51736
51737
51738
51739
51740
51741
51742
51743
51744
51745
51746
51747
51748
51749
51750
51751
51752
51753
51754
51755
51756
51757
51758
51759
51760
51761
51762
51763
51764
51765
51766
51767
51768
51769
51770
51771
51772
51773
51774
51775
51776
51777
51778
51779
51780
51781
51782
51783
51784
51785
51786
51787
51788
51789
51790
51791
51792
51793
51794
51795
51796
51797
51798
51799
51800
51801
51802
51803
51804
51805
51806
51807
51808
51809
51810
51811
51812
51813
51814
51815
51816
51817
51818
51819
51820
51821
51822
51823
51824
51825
51826
51827
51828
51829
51830
51831
51832
51833
51834
51835
51836
51837
51838
51839
51840
51841
51842
51843
51844
51845
51846
51847
51848
51849
51850
51851
51852
51853
51854
51855
51856
51857
51858
51859
51860
51861
51862
51863
51864
51865
51866
51867
51868
51869
51870
51871
51872
51873
51874
51875
51876
51877
51878
51879
51880
51881
51882
51883
51884
51885
51886
51887
51888
51889
51890
51891
51892
51893
51894
51895
51896
51897
51898
51899
51900
51901
51902
51903
51904
51905
51906
51907
51908
51909
51910
51911
51912
51913
51914
51915
51916
51917
51918
51919
51920
51921
51922
51923
51924
51925
51926
51927
51928
51929
51930
51931
51932
51933
51934
51935
51936
51937
51938
51939
51940
51941
51942
51943
51944
51945
51946
51947
51948
51949
51950
51951
51952
51953
51954
51955
51956
51957
51958
51959
51960
51961
51962
51963
51964
51965
51966
51967
51968
51969
51970
51971
51972
51973
51974
51975
51976
51977
51978
51979
51980
51981
51982
51983
51984
51985
51986
51987
51988
51989
51990
51991
51992
51993
51994
51995
51996
51997
51998
51999
52000
52001
52002
52003
52004
52005
52006
52007
52008
52009
52010
52011
52012
52013
52014
52015
52016
52017
52018
52019
52020
52021
52022
52023
52024
52025
52026
52027
52028
52029
52030
52031
52032
52033
52034
52035
52036
52037
52038
52039
52040
52041
52042
52043
52044
52045
52046
52047
52048
52049
52050
52051
52052
52053
52054
52055
52056
52057
52058
52059
52060
52061
52062
52063
52064
52065
52066
52067
52068
52069
52070
52071
52072
52073
52074
52075
52076
52077
52078
52079
52080
52081
52082
52083
52084
52085
52086
52087
52088
52089
52090
52091
52092
52093
52094
52095
52096
52097
52098
52099
52100
52101
52102
52103
52104
52105
52106
52107
52108
52109
52110
52111
52112
52113
52114
52115
52116
52117
52118
52119
52120
52121
52122
52123
52124
52125
52126
52127
52128
52129
52130
52131
52132
52133
52134
52135
52136
52137
52138
52139
52140
52141
52142
52143
52144
52145
52146
52147
52148
52149
52150
52151
52152
52153
52154
52155
52156
52157
52158
52159
52160
52161
52162
52163
52164
52165
52166
52167
52168
52169
52170
52171
52172
52173
52174
52175
52176
52177
52178
52179
52180
52181
52182
52183
52184
52185
52186
52187
52188
52189
52190
52191
52192
52193
52194
52195
52196
52197
52198
52199
52200
52201
52202
52203
52204
52205
52206
52207
52208
52209
52210
52211
52212
52213
52214
52215
52216
52217
52218
52219
52220
52221
52222
52223
52224
52225
52226
52227
52228
52229
52230
52231
52232
52233
52234
52235
52236
52237
52238
52239
52240
52241
52242
52243
52244
52245
52246
52247
52248
52249
52250
52251
52252
52253
52254
52255
52256
52257
52258
52259
52260
52261
52262
52263
52264
52265
52266
52267
52268
52269
52270
52271
52272
52273
52274
52275
52276
52277
52278
52279
52280
52281
52282
52283
52284
52285
52286
52287
52288
52289
52290
52291
52292
52293
52294
52295
52296
52297
52298
52299
52300
52301
52302
52303
52304
52305
52306
52307
52308
52309
52310
52311
52312
52313
52314
52315
52316
52317
52318
52319
52320
52321
52322
52323
52324
52325
52326
52327
52328
52329
52330
52331
52332
52333
52334
52335
52336
52337
52338
52339
52340
52341
52342
52343
52344
52345
52346
52347
52348
52349
52350
52351
52352
52353
52354
52355
52356
52357
52358
52359
52360
52361
52362
52363
52364
52365
52366
52367
52368
52369
52370
52371
52372
52373
52374
52375
52376
52377
52378
52379
52380
52381
52382
52383
52384
52385
52386
52387
52388
52389
52390
52391
52392
52393
52394
52395
52396
52397
52398
52399
52400
52401
52402
52403
52404
52405
52406
52407
52408
52409
52410
52411
52412
52413
52414
52415
52416
52417
52418
52419
52420
52421
52422
52423
52424
52425
52426
52427
52428
52429
52430
52431
52432
52433
52434
52435
52436
52437
52438
52439
52440
52441
52442
52443
52444
52445
52446
52447
52448
52449
52450
52451
52452
52453
52454
52455
52456
52457
52458
52459
52460
52461
52462
52463
52464
52465
52466
52467
52468
52469
52470
52471
52472
52473
52474
52475
52476
52477
52478
52479
52480
52481
52482
52483
52484
52485
52486
52487
52488
52489
52490
52491
52492
52493
52494
52495
52496
52497
52498
52499
52500
52501
52502
52503
52504
52505
52506
52507
52508
52509
52510
52511
52512
52513
52514
52515
52516
52517
52518
52519
52520
52521
52522
52523
52524
52525
52526
52527
52528
52529
52530
52531
52532
52533
52534
52535
52536
52537
52538
52539
52540
52541
52542
52543
52544
52545
52546
52547
52548
52549
52550
52551
52552
52553
52554
52555
52556
52557
52558
52559
52560
52561
52562
52563
52564
52565
52566
52567
52568
52569
52570
52571
52572
52573
52574
52575
52576
52577
52578
52579
52580
52581
52582
52583
52584
52585
52586
52587
52588
52589
52590
52591
52592
52593
52594
52595
52596
52597
52598
52599
52600
52601
52602
52603
52604
52605
52606
52607
52608
52609
52610
52611
52612
52613
52614
52615
52616
52617
52618
52619
52620
52621
52622
52623
52624
52625
52626
52627
52628
52629
52630
52631
52632
52633
52634
52635
52636
52637
52638
52639
52640
52641
52642
52643
52644
52645
52646
52647
52648
52649
52650
52651
52652
52653
52654
52655
52656
52657
52658
52659
52660
52661
52662
52663
52664
52665
52666
52667
52668
52669
52670
52671
52672
52673
52674
52675
52676
52677
52678
52679
52680
52681
52682
52683
52684
52685
52686
52687
52688
52689
52690
52691
52692
52693
52694
52695
52696
52697
52698
52699
52700
52701
52702
52703
52704
52705
52706
52707
52708
52709
52710
52711
52712
52713
52714
52715
52716
52717
52718
52719
52720
52721
52722
52723
52724
52725
52726
52727
52728
52729
52730
52731
52732
52733
52734
52735
52736
52737
52738
52739
52740
52741
52742
52743
52744
52745
52746
52747
52748
52749
52750
52751
52752
52753
52754
52755
52756
52757
52758
52759
52760
52761
52762
52763
52764
52765
52766
52767
52768
52769
52770
52771
52772
52773
52774
52775
52776
52777
52778
52779
52780
52781
52782
52783
52784
52785
52786
52787
52788
52789
52790
52791
52792
52793
52794
52795
52796
52797
52798
52799
52800
52801
52802
52803
52804
52805
52806
52807
52808
52809
52810
52811
52812
52813
52814
52815
52816
52817
52818
52819
52820
52821
52822
52823
52824
52825
52826
52827
52828
52829
52830
52831
52832
52833
52834
52835
52836
52837
52838
52839
52840
52841
52842
52843
52844
52845
52846
52847
52848
52849
52850
52851
52852
52853
52854
52855
52856
52857
52858
52859
52860
52861
52862
52863
52864
52865
52866
52867
52868
52869
52870
52871
52872
52873
52874
52875
52876
52877
52878
52879
52880
52881
52882
52883
52884
52885
52886
52887
52888
52889
52890
52891
52892
52893
52894
52895
52896
52897
52898
52899
52900
52901
52902
52903
52904
52905
52906
52907
52908
52909
52910
52911
52912
52913
52914
52915
52916
52917
52918
52919
52920
52921
52922
52923
52924
52925
52926
52927
52928
52929
52930
52931
52932
52933
52934
52935
52936
52937
52938
52939
52940
52941
52942
52943
52944
52945
52946
52947
52948
52949
52950
52951
52952
52953
52954
52955
52956
52957
52958
52959
52960
52961
52962
52963
52964
52965
52966
52967
52968
52969
52970
52971
52972
52973
52974
52975
52976
52977
52978
52979
52980
52981
52982
52983
52984
52985
52986
52987
52988
52989
52990
52991
52992
52993
52994
52995
52996
52997
52998
52999
53000
53001
53002
53003
53004
53005
53006
53007
53008
53009
53010
53011
53012
53013
53014
53015
53016
53017
53018
53019
53020
53021
53022
53023
53024
53025
53026
53027
53028
53029
53030
53031
53032
53033
53034
53035
53036
53037
53038
53039
53040
53041
53042
53043
53044
53045
53046
53047
53048
53049
53050
53051
53052
53053
53054
53055
53056
53057
53058
53059
53060
53061
53062
53063
53064
53065
53066
53067
53068
53069
53070
53071
53072
53073
53074
53075
53076
53077
53078
53079
53080
53081
53082
53083
53084
53085
53086
53087
53088
53089
53090
53091
53092
53093
53094
53095
53096
53097
53098
53099
53100
53101
53102
53103
53104
53105
53106
53107
53108
53109
53110
53111
53112
53113
53114
53115
53116
53117
53118
53119
53120
53121
53122
53123
53124
53125
53126
53127
53128
53129
53130
53131
53132
53133
53134
53135
53136
53137
53138
53139
53140
53141
53142
53143
53144
53145
53146
53147
53148
53149
53150
53151
53152
53153
53154
53155
53156
53157
53158
53159
53160
53161
53162
53163
53164
53165
53166
53167
53168
53169
53170
53171
53172
53173
53174
53175
53176
53177
53178
53179
53180
53181
53182
53183
53184
53185
53186
53187
53188
53189
53190
53191
53192
53193
53194
53195
53196
53197
53198
53199
53200
53201
53202
53203
53204
53205
53206
53207
53208
53209
53210
53211
53212
53213
53214
53215
53216
53217
53218
53219
53220
53221
53222
53223
53224
53225
53226
53227
53228
53229
53230
53231
53232
53233
53234
53235
53236
53237
53238
53239
53240
53241
53242
53243
53244
53245
53246
53247
53248
53249
53250
53251
53252
53253
53254
53255
53256
53257
53258
53259
53260
53261
53262
53263
53264
53265
53266
53267
53268
53269
53270
53271
53272
53273
53274
53275
53276
53277
53278
53279
53280
53281
53282
53283
53284
53285
53286
53287
53288
53289
53290
53291
53292
53293
53294
53295
53296
53297
53298
53299
53300
53301
53302
53303
53304
53305
53306
53307
53308
53309
53310
53311
53312
53313
53314
53315
53316
53317
53318
53319
53320
53321
53322
53323
53324
53325
53326
53327
53328
53329
53330
53331
53332
53333
53334
53335
53336
53337
53338
53339
53340
53341
53342
53343
53344
53345
53346
53347
53348
53349
53350
53351
53352
53353
53354
53355
53356
53357
53358
53359
53360
53361
53362
53363
53364
53365
53366
53367
53368
53369
53370
53371
53372
53373
53374
53375
53376
53377
53378
53379
53380
53381
53382
53383
53384
53385
53386
53387
53388
53389
53390
53391
53392
53393
53394
53395
53396
53397
53398
53399
53400
53401
53402
53403
53404
53405
53406
53407
53408
53409
53410
53411
53412
53413
53414
53415
53416
53417
53418
53419
53420
53421
53422
53423
53424
53425
53426
53427
53428
53429
53430
53431
53432
53433
53434
53435
53436
53437
53438
53439
53440
53441
53442
53443
53444
53445
53446
53447
53448
53449
53450
53451
53452
53453
53454
53455
53456
53457
53458
53459
53460
53461
53462
53463
53464
53465
53466
53467
53468
53469
53470
53471
53472
53473
53474
53475
53476
53477
53478
53479
53480
53481
53482
53483
53484
53485
53486
53487
53488
53489
53490
53491
53492
53493
53494
53495
53496
53497
53498
53499
53500
53501
53502
53503
53504
53505
53506
53507
53508
53509
53510
53511
53512
53513
53514
53515
53516
53517
53518
53519
53520
53521
53522
53523
53524
53525
53526
53527
53528
53529
53530
53531
53532
53533
53534
53535
53536
53537
53538
53539
53540
53541
53542
53543
53544
53545
53546
53547
53548
53549
53550
53551
53552
53553
53554
53555
53556
53557
53558
53559
53560
53561
53562
53563
53564
53565
53566
53567
53568
53569
53570
53571
53572
53573
53574
53575
53576
53577
53578
53579
53580
53581
53582
53583
53584
53585
53586
53587
53588
53589
53590
53591
53592
53593
53594
53595
53596
53597
53598
53599
53600
53601
53602
53603
53604
53605
53606
53607
53608
53609
53610
53611
53612
53613
53614
53615
53616
53617
53618
53619
53620
53621
53622
53623
53624
53625
53626
53627
53628
53629
53630
53631
53632
53633
53634
53635
53636
53637
53638
53639
53640
53641
53642
53643
53644
53645
53646
53647
53648
53649
53650
53651
53652
53653
53654
53655
53656
53657
53658
53659
53660
53661
53662
53663
53664
53665
53666
53667
53668
53669
53670
53671
53672
53673
53674
53675
53676
53677
53678
53679
53680
53681
53682
53683
53684
53685
53686
53687
53688
53689
53690
53691
53692
53693
53694
53695
53696
53697
53698
53699
53700
53701
53702
53703
53704
53705
53706
53707
53708
53709
53710
53711
53712
53713
53714
53715
53716
53717
53718
53719
53720
53721
53722
53723
53724
53725
53726
53727
53728
53729
53730
53731
53732
53733
53734
53735
53736
53737
53738
53739
53740
53741
53742
53743
53744
53745
53746
53747
53748
53749
53750
53751
53752
53753
53754
53755
53756
53757
53758
53759
53760
53761
53762
53763
53764
53765
53766
53767
53768
53769
53770
53771
53772
53773
53774
53775
53776
53777
53778
53779
53780
53781
53782
53783
53784
53785
53786
53787
53788
53789
53790
53791
53792
53793
53794
53795
53796
53797
53798
53799
53800
53801
53802
53803
53804
53805
53806
53807
53808
53809
53810
53811
53812
53813
53814
53815
53816
53817
53818
53819
53820
53821
53822
53823
53824
53825
53826
53827
53828
53829
53830
53831
53832
53833
53834
53835
53836
53837
53838
53839
53840
53841
53842
53843
53844
53845
53846
53847
53848
53849
53850
53851
53852
53853
53854
53855
53856
53857
53858
53859
53860
53861
53862
53863
53864
53865
53866
53867
53868
53869
53870
53871
53872
53873
53874
53875
53876
53877
53878
53879
53880
53881
53882
53883
53884
53885
53886
53887
53888
53889
53890
53891
53892
53893
53894
53895
53896
53897
53898
53899
53900
53901
53902
53903
53904
53905
53906
53907
53908
53909
53910
53911
53912
53913
53914
53915
53916
53917
53918
53919
53920
53921
53922
53923
53924
53925
53926
53927
53928
53929
53930
53931
53932
53933
53934
53935
53936
53937
53938
53939
53940
53941
53942
53943
53944
53945
53946
53947
53948
53949
53950
53951
53952
53953
53954
53955
53956
53957
53958
53959
53960
53961
53962
53963
53964
53965
53966
53967
53968
53969
53970
53971
53972
53973
53974
53975
53976
53977
53978
53979
53980
53981
53982
53983
53984
53985
53986
53987
53988
53989
53990
53991
53992
53993
53994
53995
53996
53997
53998
53999
54000
54001
54002
54003
54004
54005
54006
54007
54008
54009
54010
54011
54012
54013
54014
54015
54016
54017
54018
54019
54020
54021
54022
54023
54024
54025
54026
54027
54028
54029
54030
54031
54032
54033
54034
54035
54036
54037
54038
54039
54040
54041
54042
54043
54044
54045
54046
54047
54048
54049
54050
54051
54052
54053
54054
54055
54056
54057
54058
54059
54060
54061
54062
54063
54064
54065
54066
54067
54068
54069
54070
54071
54072
54073
54074
54075
54076
54077
54078
54079
54080
54081
54082
54083
54084
54085
54086
54087
54088
54089
54090
54091
54092
54093
54094
54095
54096
54097
54098
54099
54100
54101
54102
54103
54104
54105
54106
54107
54108
54109
54110
54111
54112
54113
54114
54115
54116
54117
54118
54119
54120
54121
54122
54123
54124
54125
54126
54127
54128
54129
54130
54131
54132
54133
54134
54135
54136
54137
54138
54139
54140
54141
54142
54143
54144
54145
54146
54147
54148
54149
54150
54151
54152
54153
54154
54155
54156
54157
54158
54159
54160
54161
54162
54163
54164
54165
54166
54167
54168
54169
54170
54171
54172
54173
54174
54175
54176
54177
54178
54179
54180
54181
54182
54183
54184
54185
54186
54187
54188
54189
54190
54191
54192
54193
54194
54195
54196
54197
54198
54199
54200
54201
54202
54203
54204
54205
54206
54207
54208
54209
54210
54211
54212
54213
54214
54215
54216
54217
54218
54219
54220
54221
54222
54223
54224
54225
54226
54227
54228
54229
54230
54231
54232
54233
54234
54235
54236
54237
54238
54239
54240
54241
54242
54243
54244
54245
54246
54247
54248
54249
54250
54251
54252
54253
54254
54255
54256
54257
54258
54259
54260
54261
54262
54263
54264
54265
54266
54267
54268
54269
54270
54271
54272
54273
54274
54275
54276
54277
54278
54279
54280
54281
54282
54283
54284
54285
54286
54287
54288
54289
54290
54291
54292
54293
54294
54295
54296
54297
54298
54299
54300
54301
54302
54303
54304
54305
54306
54307
54308
54309
54310
54311
54312
54313
54314
54315
54316
54317
54318
54319
54320
54321
54322
54323
54324
54325
54326
54327
54328
54329
54330
54331
54332
54333
54334
54335
54336
54337
54338
54339
54340
54341
54342
54343
54344
54345
54346
54347
54348
54349
54350
54351
54352
54353
54354
54355
54356
54357
54358
54359
54360
54361
54362
54363
54364
54365
54366
54367
54368
54369
54370
54371
54372
54373
54374
54375
54376
54377
54378
54379
54380
54381
54382
54383
54384
54385
54386
54387
54388
54389
54390
54391
54392
54393
54394
54395
54396
54397
54398
54399
54400
54401
54402
54403
54404
54405
54406
54407
54408
54409
54410
54411
54412
54413
54414
54415
54416
54417
54418
54419
54420
54421
54422
54423
54424
54425
54426
54427
54428
54429
54430
54431
54432
54433
54434
54435
54436
54437
54438
54439
54440
54441
54442
54443
54444
54445
54446
54447
54448
54449
54450
54451
54452
54453
54454
54455
54456
54457
54458
54459
54460
54461
54462
54463
54464
54465
54466
54467
54468
54469
54470
54471
54472
54473
54474
54475
54476
54477
54478
54479
54480
54481
54482
54483
54484
54485
54486
54487
54488
54489
54490
54491
54492
54493
54494
54495
54496
54497
54498
54499
54500
54501
54502
54503
54504
54505
54506
54507
54508
54509
54510
54511
54512
54513
54514
54515
54516
54517
54518
54519
54520
54521
54522
54523
54524
54525
54526
54527
54528
54529
54530
54531
54532
54533
54534
54535
54536
54537
54538
54539
54540
54541
54542
54543
54544
54545
54546
54547
54548
54549
54550
54551
54552
54553
54554
54555
54556
54557
54558
54559
54560
54561
54562
54563
54564
54565
54566
54567
54568
54569
54570
54571
54572
54573
54574
54575
54576
54577
54578
54579
54580
54581
54582
54583
54584
54585
54586
54587
54588
54589
54590
54591
54592
54593
54594
54595
54596
54597
54598
54599
54600
54601
54602
54603
54604
54605
54606
54607
54608
54609
54610
54611
54612
54613
54614
54615
54616
54617
54618
54619
54620
54621
54622
54623
54624
54625
54626
54627
54628
54629
54630
54631
54632
54633
54634
54635
54636
54637
54638
54639
54640
54641
54642
54643
54644
54645
54646
54647
54648
54649
54650
54651
54652
54653
54654
54655
54656
54657
54658
54659
54660
54661
54662
54663
54664
54665
54666
54667
54668
54669
54670
54671
54672
54673
54674
54675
54676
54677
54678
54679
54680
54681
54682
54683
54684
54685
54686
54687
54688
54689
54690
54691
54692
54693
54694
54695
54696
54697
54698
54699
54700
54701
54702
54703
54704
54705
54706
54707
54708
54709
54710
54711
54712
54713
54714
54715
54716
54717
54718
54719
54720
54721
54722
54723
54724
54725
54726
54727
54728
54729
54730
54731
54732
54733
54734
54735
54736
54737
54738
54739
54740
54741
54742
54743
54744
54745
54746
54747
54748
54749
54750
54751
54752
54753
54754
54755
54756
54757
54758
54759
54760
54761
54762
54763
54764
54765
54766
54767
54768
54769
54770
54771
54772
54773
54774
54775
54776
54777
54778
54779
54780
54781
54782
54783
54784
54785
54786
54787
54788
54789
54790
54791
54792
54793
54794
54795
54796
54797
54798
54799
54800
54801
54802
54803
54804
54805
54806
54807
54808
54809
54810
54811
54812
54813
54814
54815
54816
54817
54818
54819
54820
54821
54822
54823
54824
54825
54826
54827
54828
54829
54830
54831
54832
54833
54834
54835
54836
54837
54838
54839
54840
54841
54842
54843
54844
54845
54846
54847
54848
54849
54850
54851
54852
54853
54854
54855
54856
54857
54858
54859
54860
54861
54862
54863
54864
54865
54866
54867
54868
54869
54870
54871
54872
54873
54874
54875
54876
54877
54878
54879
54880
54881
54882
54883
54884
54885
54886
54887
54888
54889
54890
54891
54892
54893
54894
54895
54896
54897
54898
54899
54900
54901
54902
54903
54904
54905
54906
54907
54908
54909
54910
54911
54912
54913
54914
54915
54916
54917
54918
54919
54920
54921
54922
54923
54924
54925
54926
54927
54928
54929
54930
54931
54932
54933
54934
54935
54936
54937
54938
54939
54940
54941
54942
54943
54944
54945
54946
54947
54948
54949
54950
54951
54952
54953
54954
54955
54956
54957
54958
54959
54960
54961
54962
54963
54964
54965
54966
54967
54968
54969
54970
54971
54972
54973
54974
54975
54976
54977
54978
54979
54980
54981
54982
54983
54984
54985
54986
54987
54988
54989
54990
54991
54992
54993
54994
54995
54996
54997
54998
54999
55000
55001
55002
55003
55004
55005
55006
55007
55008
55009
55010
55011
55012
55013
55014
55015
55016
55017
55018
55019
55020
55021
55022
55023
55024
55025
55026
55027
55028
55029
55030
55031
55032
55033
55034
55035
55036
55037
55038
55039
55040
55041
55042
55043
55044
55045
55046
55047
55048
55049
55050
55051
55052
55053
55054
55055
55056
55057
55058
55059
55060
55061
55062
55063
55064
55065
55066
55067
55068
55069
55070
55071
55072
55073
55074
55075
55076
55077
55078
55079
55080
55081
55082
55083
55084
55085
55086
55087
55088
55089
55090
55091
55092
55093
55094
55095
55096
55097
55098
55099
55100
55101
55102
55103
55104
55105
55106
55107
55108
55109
55110
55111
55112
55113
55114
55115
55116
55117
55118
55119
55120
55121
55122
55123
55124
55125
55126
55127
55128
55129
55130
55131
55132
55133
55134
55135
55136
55137
55138
55139
55140
55141
55142
55143
55144
55145
55146
55147
55148
55149
55150
55151
55152
55153
55154
55155
55156
55157
55158
55159
55160
55161
55162
55163
55164
55165
55166
55167
55168
55169
55170
55171
55172
55173
55174
55175
55176
55177
55178
55179
55180
55181
55182
55183
55184
55185
55186
55187
55188
55189
55190
55191
55192
55193
55194
55195
55196
55197
55198
55199
55200
55201
55202
55203
55204
55205
55206
55207
55208
55209
55210
55211
55212
55213
55214
55215
55216
55217
55218
55219
55220
55221
55222
55223
55224
55225
55226
55227
55228
55229
55230
55231
55232
55233
55234
55235
55236
55237
55238
55239
55240
55241
55242
55243
55244
55245
55246
55247
55248
55249
55250
55251
55252
55253
55254
55255
55256
55257
55258
55259
55260
55261
55262
55263
55264
55265
55266
55267
55268
55269
55270
55271
55272
55273
55274
55275
55276
55277
55278
55279
55280
55281
55282
55283
55284
55285
55286
55287
55288
55289
55290
55291
55292
55293
55294
55295
55296
55297
55298
55299
55300
55301
55302
55303
55304
55305
55306
55307
55308
55309
55310
55311
55312
55313
55314
55315
55316
55317
55318
55319
55320
55321
55322
55323
55324
55325
55326
55327
55328
55329
55330
55331
55332
55333
55334
55335
55336
55337
55338
55339
55340
55341
55342
55343
55344
55345
55346
55347
55348
55349
55350
55351
55352
55353
55354
55355
55356
55357
55358
55359
55360
55361
55362
55363
55364
55365
55366
55367
55368
55369
55370
55371
55372
55373
55374
55375
55376
55377
55378
55379
55380
55381
55382
55383
55384
55385
55386
55387
55388
55389
55390
55391
55392
55393
55394
55395
55396
55397
55398
55399
55400
55401
55402
55403
55404
55405
55406
55407
55408
55409
55410
55411
55412
55413
55414
55415
55416
55417
55418
55419
55420
55421
55422
55423
55424
55425
55426
55427
55428
55429
55430
55431
55432
55433
55434
55435
55436
55437
55438
55439
55440
55441
55442
55443
55444
55445
55446
55447
55448
55449
55450
55451
55452
55453
55454
55455
55456
55457
55458
55459
55460
55461
55462
55463
55464
55465
55466
55467
55468
55469
55470
55471
55472
55473
55474
55475
55476
55477
55478
55479
55480
55481
55482
55483
55484
55485
55486
55487
55488
55489
55490
55491
55492
55493
55494
55495
55496
55497
55498
55499
55500
55501
55502
55503
55504
55505
55506
55507
55508
55509
55510
55511
55512
55513
55514
55515
55516
55517
55518
55519
55520
55521
55522
55523
55524
55525
55526
55527
55528
55529
55530
55531
55532
55533
55534
55535
55536
55537
55538
55539
55540
55541
55542
55543
55544
55545
55546
55547
55548
55549
55550
55551
55552
55553
55554
55555
55556
55557
55558
55559
55560
55561
55562
55563
55564
55565
55566
55567
55568
55569
55570
55571
55572
55573
55574
55575
55576
55577
55578
55579
55580
55581
55582
55583
55584
55585
55586
55587
55588
55589
55590
55591
55592
55593
55594
55595
55596
55597
55598
55599
55600
55601
55602
55603
55604
55605
55606
55607
55608
55609
55610
55611
55612
55613
55614
55615
55616
55617
55618
55619
55620
55621
55622
55623
55624
55625
55626
55627
55628
55629
55630
55631
55632
55633
55634
55635
55636
55637
55638
55639
55640
55641
55642
55643
55644
55645
55646
55647
55648
55649
55650
55651
55652
55653
55654
55655
55656
55657
55658
55659
55660
55661
55662
55663
55664
55665
55666
55667
55668
55669
55670
55671
55672
55673
55674
55675
55676
55677
55678
55679
55680
55681
55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729
55730
55731
55732
55733
55734
55735
55736
55737
55738
55739
55740
55741
55742
55743
55744
55745
55746
55747
55748
55749
55750
55751
55752
55753
55754
55755
55756
55757
55758
55759
55760
55761
55762
55763
55764
55765
55766
55767
55768
55769
55770
55771
55772
55773
55774
55775
55776
55777
55778
55779
55780
55781
55782
55783
55784
55785
55786
55787
55788
55789
55790
55791
55792
55793
55794
55795
55796
55797
55798
55799
55800
55801
55802
55803
55804
55805
55806
55807
55808
55809
55810
55811
55812
55813
55814
55815
55816
55817
55818
55819
55820
55821
55822
55823
55824
55825
55826
55827
55828
55829
55830
55831
55832
55833
55834
55835
55836
55837
55838
55839
55840
55841
55842
55843
55844
55845
55846
55847
55848
55849
55850
55851
55852
55853
55854
55855
55856
55857
55858
55859
55860
55861
55862
55863
55864
55865
55866
55867
55868
55869
55870
55871
55872
55873
55874
55875
55876
55877
55878
55879
55880
55881
55882
55883
55884
55885
55886
55887
55888
55889
55890
55891
55892
55893
55894
55895
55896
55897
55898
55899
55900
55901
55902
55903
55904
55905
55906
55907
55908
55909
55910
55911
55912
55913
55914
55915
55916
55917
55918
55919
55920
55921
55922
55923
55924
55925
55926
55927
55928
55929
55930
55931
55932
55933
55934
55935
55936
55937
55938
55939
55940
55941
55942
55943
55944
55945
55946
55947
55948
55949
55950
55951
55952
55953
55954
55955
55956
55957
55958
55959
55960
55961
55962
55963
55964
55965
55966
55967
55968
55969
55970
55971
55972
55973
55974
55975
55976
55977
55978
55979
55980
55981
55982
55983
55984
55985
55986
55987
55988
55989
55990
55991
55992
55993
55994
55995
55996
55997
55998
55999
56000
56001
56002
56003
56004
56005
56006
56007
56008
56009
56010
56011
56012
56013
56014
56015
56016
56017
56018
56019
56020
56021
56022
56023
56024
56025
56026
56027
56028
56029
56030
56031
56032
56033
56034
56035
56036
56037
56038
56039
56040
56041
56042
56043
56044
56045
56046
56047
56048
56049
56050
56051
56052
56053
56054
56055
56056
56057
56058
56059
56060
56061
56062
56063
56064
56065
56066
56067
56068
56069
56070
56071
56072
56073
56074
56075
56076
56077
56078
56079
56080
56081
56082
56083
56084
56085
56086
56087
56088
56089
56090
56091
56092
56093
56094
56095
56096
56097
56098
56099
56100
56101
56102
56103
56104
56105
56106
56107
56108
56109
56110
56111
56112
56113
56114
56115
56116
56117
56118
56119
56120
56121
56122
56123
56124
56125
56126
56127
56128
56129
56130
56131
56132
56133
56134
56135
56136
56137
56138
56139
56140
56141
56142
56143
56144
56145
56146
56147
56148
56149
56150
56151
56152
56153
56154
56155
56156
56157
56158
56159
56160
56161
56162
56163
56164
56165
56166
56167
56168
56169
56170
56171
56172
56173
56174
56175
56176
56177
56178
56179
56180
56181
56182
56183
56184
56185
56186
56187
56188
56189
56190
56191
56192
56193
56194
56195
56196
56197
56198
56199
56200
56201
56202
56203
56204
56205
56206
56207
56208
56209
56210
56211
56212
56213
56214
56215
56216
56217
56218
56219
56220
56221
56222
56223
56224
56225
56226
56227
56228
56229
56230
56231
56232
56233
56234
56235
56236
56237
56238
56239
56240
56241
56242
56243
56244
56245
56246
56247
56248
56249
56250
56251
56252
56253
56254
56255
56256
56257
56258
56259
56260
56261
56262
56263
56264
56265
56266
56267
56268
56269
56270
56271
56272
56273
56274
56275
56276
56277
56278
56279
56280
56281
56282
56283
56284
56285
56286
56287
56288
56289
56290
56291
56292
56293
56294
56295
56296
56297
56298
56299
56300
56301
56302
56303
56304
56305
56306
56307
56308
56309
56310
56311
56312
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322
56323
56324
56325
56326
56327
56328
56329
56330
56331
56332
56333
56334
56335
56336
56337
56338
56339
56340
56341
56342
56343
56344
56345
56346
56347
56348
56349
56350
56351
56352
56353
56354
56355
56356
56357
56358
56359
56360
56361
56362
56363
56364
56365
56366
56367
56368
56369
56370
56371
56372
56373
56374
56375
56376
56377
56378
56379
56380
56381
56382
56383
56384
56385
56386
56387
56388
56389
56390
56391
56392
56393
56394
56395
56396
56397
56398
56399
56400
56401
56402
56403
56404
56405
56406
56407
56408
56409
56410
56411
56412
56413
56414
56415
56416
56417
56418
56419
56420
56421
56422
56423
56424
56425
56426
56427
56428
56429
56430
56431
56432
56433
56434
56435
56436
56437
56438
56439
56440
56441
56442
56443
56444
56445
56446
56447
56448
56449
56450
56451
56452
56453
56454
56455
56456
56457
56458
56459
56460
56461
56462
56463
56464
56465
56466
56467
56468
56469
56470
56471
56472
56473
56474
56475
56476
56477
56478
56479
56480
56481
56482
56483
56484
56485
56486
56487
56488
56489
56490
56491
56492
56493
56494
56495
56496
56497
56498
56499
56500
56501
56502
56503
56504
56505
56506
56507
56508
56509
56510
56511
56512
56513
56514
56515
56516
56517
56518
56519
56520
56521
56522
56523
56524
56525
56526
56527
56528
56529
56530
56531
56532
56533
56534
56535
56536
56537
56538
56539
56540
56541
56542
56543
56544
56545
56546
56547
56548
56549
56550
56551
56552
56553
56554
56555
56556
56557
56558
56559
56560
56561
56562
56563
56564
56565
56566
56567
56568
56569
56570
56571
56572
56573
56574
56575
56576
56577
56578
56579
56580
56581
56582
56583
56584
56585
56586
56587
56588
56589
56590
56591
56592
56593
56594
56595
56596
56597
56598
56599
56600
56601
56602
56603
56604
56605
56606
56607
56608
56609
56610
56611
56612
56613
56614
56615
56616
56617
56618
56619
56620
56621
56622
56623
56624
56625
56626
56627
56628
56629
56630
56631
56632
56633
56634
56635
56636
56637
56638
56639
56640
56641
56642
56643
56644
56645
56646
56647
56648
56649
56650
56651
56652
56653
56654
56655
56656
56657
56658
56659
56660
56661
56662
56663
56664
56665
56666
56667
56668
56669
56670
56671
56672
56673
56674
56675
56676
56677
56678
56679
56680
56681
56682
56683
56684
56685
56686
56687
56688
56689
56690
56691
56692
56693
56694
56695
56696
56697
56698
56699
56700
56701
56702
56703
56704
56705
56706
56707
56708
56709
56710
56711
56712
56713
56714
56715
56716
56717
56718
56719
56720
56721
56722
56723
56724
56725
56726
56727
56728
56729
56730
56731
56732
56733
56734
56735
56736
56737
56738
56739
56740
56741
56742
56743
56744
56745
56746
56747
56748
56749
56750
56751
56752
56753
56754
56755
56756
56757
56758
56759
56760
56761
56762
56763
56764
56765
56766
56767
56768
56769
56770
56771
56772
56773
56774
56775
56776
56777
56778
56779
56780
56781
56782
56783
56784
56785
56786
56787
56788
56789
56790
56791
56792
56793
56794
56795
56796
56797
56798
56799
56800
56801
56802
56803
56804
56805
56806
56807
56808
56809
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822
56823
56824
56825
56826
56827
56828
56829
56830
56831
56832
56833
56834
56835
56836
56837
56838
56839
56840
56841
56842
56843
56844
56845
56846
56847
56848
56849
56850
56851
56852
56853
56854
56855
56856
56857
56858
56859
56860
56861
56862
56863
56864
56865
56866
56867
56868
56869
56870
56871
56872
56873
56874
56875
56876
56877
56878
56879
56880
56881
56882
56883
56884
56885
56886
56887
56888
56889
56890
56891
56892
56893
56894
56895
56896
56897
56898
56899
56900
56901
56902
56903
56904
56905
56906
56907
56908
56909
56910
56911
56912
56913
56914
56915
56916
56917
56918
56919
56920
56921
56922
56923
56924
56925
56926
56927
56928
56929
56930
56931
56932
56933
56934
56935
56936
56937
56938
56939
56940
56941
56942
56943
56944
56945
56946
56947
56948
56949
56950
56951
56952
56953
56954
56955
56956
56957
56958
56959
56960
56961
56962
56963
56964
56965
56966
56967
56968
56969
56970
56971
56972
56973
56974
56975
56976
56977
56978
56979
56980
56981
56982
56983
56984
56985
56986
56987
56988
56989
56990
56991
56992
56993
56994
56995
56996
56997
56998
56999
57000
57001
57002
57003
57004
57005
57006
57007
57008
57009
57010
57011
57012
57013
57014
57015
57016
57017
57018
57019
57020
57021
57022
57023
57024
57025
57026
57027
57028
57029
57030
57031
57032
57033
57034
57035
57036
57037
57038
57039
57040
57041
57042
57043
57044
57045
57046
57047
57048
57049
57050
57051
57052
57053
57054
57055
57056
57057
57058
57059
57060
57061
57062
57063
57064
57065
57066
57067
57068
57069
57070
57071
57072
57073
57074
57075
57076
57077
57078
57079
57080
57081
57082
57083
57084
57085
57086
57087
57088
57089
57090
57091
57092
57093
57094
57095
57096
57097
57098
57099
57100
57101
57102
57103
57104
57105
57106
57107
57108
57109
57110
57111
57112
57113
57114
57115
57116
57117
57118
57119
57120
57121
57122
57123
57124
57125
57126
57127
57128
57129
57130
57131
57132
57133
57134
57135
57136
57137
57138
57139
57140
57141
57142
57143
57144
57145
57146
57147
57148
57149
57150
57151
57152
57153
57154
57155
57156
57157
57158
57159
57160
57161
57162
57163
57164
57165
57166
57167
57168
57169
57170
57171
57172
57173
57174
57175
57176
57177
57178
57179
57180
57181
57182
57183
57184
57185
57186
57187
57188
57189
57190
57191
57192
57193
57194
57195
57196
57197
57198
57199
57200
57201
57202
57203
57204
57205
57206
57207
57208
57209
57210
57211
57212
57213
57214
57215
57216
57217
57218
57219
57220
57221
57222
57223
57224
57225
57226
57227
57228
57229
57230
57231
57232
57233
57234
57235
57236
57237
57238
57239
57240
57241
57242
57243
57244
57245
57246
57247
57248
57249
57250
57251
57252
57253
57254
57255
57256
57257
57258
57259
57260
57261
57262
57263
57264
57265
57266
57267
57268
57269
57270
57271
57272
57273
57274
57275
57276
57277
57278
57279
57280
57281
57282
57283
57284
57285
57286
57287
57288
57289
57290
57291
57292
57293
57294
57295
57296
57297
57298
57299
57300
57301
57302
57303
57304
57305
57306
57307
57308
57309
57310
57311
57312
57313
57314
57315
57316
57317
57318
57319
57320
57321
57322
57323
57324
57325
57326
57327
57328
57329
57330
57331
57332
57333
57334
57335
57336
57337
57338
57339
57340
57341
57342
57343
57344
57345
57346
57347
57348
57349
57350
57351
57352
57353
57354
57355
57356
57357
57358
57359
57360
57361
57362
57363
57364
57365
57366
57367
57368
57369
57370
57371
57372
57373
57374
57375
57376
57377
57378
57379
57380
57381
57382
57383
57384
57385
57386
57387
57388
57389
57390
57391
57392
57393
57394
57395
57396
57397
57398
57399
57400
57401
57402
57403
57404
57405
57406
57407
57408
57409
57410
57411
57412
57413
57414
57415
57416
57417
57418
57419
57420
57421
57422
57423
57424
57425
57426
57427
57428
57429
57430
57431
57432
57433
57434
57435
57436
57437
57438
57439
57440
57441
57442
57443
57444
57445
57446
57447
57448
57449
57450
57451
57452
57453
57454
57455
57456
57457
57458
57459
57460
57461
57462
57463
57464
57465
57466
57467
57468
57469
57470
57471
57472
57473
57474
57475
57476
57477
57478
57479
57480
57481
57482
57483
57484
57485
57486
57487
57488
57489
57490
57491
57492
57493
57494
57495
57496
57497
57498
57499
57500
57501
57502
57503
57504
57505
57506
57507
57508
57509
57510
57511
57512
57513
57514
57515
57516
57517
57518
57519
57520
57521
57522
57523
57524
57525
57526
57527
57528
57529
57530
57531
57532
57533
57534
57535
57536
57537
57538
57539
57540
57541
57542
57543
57544
57545
57546
57547
57548
57549
57550
57551
57552
57553
57554
57555
57556
57557
57558
57559
57560
57561
57562
57563
57564
57565
57566
57567
57568
57569
57570
57571
57572
57573
57574
57575
57576
57577
57578
57579
57580
57581
57582
57583
57584
57585
57586
57587
57588
57589
57590
57591
57592
57593
57594
57595
57596
57597
57598
57599
57600
57601
57602
57603
57604
57605
57606
57607
57608
57609
57610
57611
57612
57613
57614
57615
57616
57617
57618
57619
57620
57621
57622
57623
57624
57625
57626
57627
57628
57629
57630
57631
57632
57633
57634
57635
57636
57637
57638
57639
57640
57641
57642
57643
57644
57645
57646
57647
57648
57649
57650
57651
57652
57653
57654
57655
57656
57657
57658
57659
57660
57661
57662
57663
57664
57665
57666
57667
57668
57669
57670
57671
57672
57673
57674
57675
57676
57677
57678
57679
57680
57681
57682
57683
57684
57685
57686
57687
57688
57689
57690
57691
57692
57693
57694
57695
57696
57697
57698
57699
57700
57701
57702
57703
57704
57705
57706
57707
57708
57709
57710
57711
57712
57713
57714
57715
57716
57717
57718
57719
57720
57721
57722
57723
57724
57725
57726
57727
57728
57729
57730
57731
57732
57733
57734
57735
57736
57737
57738
57739
57740
57741
57742
57743
57744
57745
57746
57747
57748
57749
57750
57751
57752
57753
57754
57755
57756
57757
57758
57759
57760
57761
57762
57763
57764
57765
57766
57767
57768
57769
57770
57771
57772
57773
57774
57775
57776
57777
57778
57779
57780
57781
57782
57783
57784
57785
57786
57787
57788
57789
57790
57791
57792
57793
57794
57795
57796
57797
57798
57799
57800
57801
57802
57803
57804
57805
57806
57807
57808
57809
57810
57811
57812
57813
57814
57815
57816
57817
57818
57819
57820
57821
57822
57823
57824
57825
57826
57827
57828
57829
57830
57831
57832
57833
57834
57835
57836
57837
57838
57839
57840
57841
57842
57843
57844
57845
57846
57847
57848
57849
57850
57851
57852
57853
57854
57855
57856
57857
57858
57859
57860
57861
57862
57863
57864
57865
57866
57867
57868
57869
57870
57871
57872
57873
57874
57875
57876
57877
57878
57879
57880
57881
57882
57883
57884
57885
57886
57887
57888
57889
57890
57891
57892
57893
57894
57895
57896
57897
57898
57899
57900
57901
57902
57903
57904
57905
57906
57907
57908
57909
57910
57911
57912
57913
57914
57915
57916
57917
57918
57919
57920
57921
57922
57923
57924
57925
57926
57927
57928
57929
57930
57931
57932
57933
57934
57935
57936
57937
57938
57939
57940
57941
57942
57943
57944
57945
57946
57947
57948
57949
57950
57951
57952
57953
57954
57955
57956
57957
57958
57959
57960
57961
57962
57963
57964
57965
57966
57967
57968
57969
57970
57971
57972
57973
57974
57975
57976
57977
57978
57979
57980
57981
57982
57983
57984
57985
57986
57987
57988
57989
57990
57991
57992
57993
57994
57995
57996
57997
57998
57999
58000
58001
58002
58003
58004
58005
58006
58007
58008
58009
58010
58011
58012
58013
58014
58015
58016
58017
58018
58019
58020
58021
58022
58023
58024
58025
58026
58027
58028
58029
58030
58031
58032
58033
58034
58035
58036
58037
58038
58039
58040
58041
58042
58043
58044
58045
58046
58047
58048
58049
58050
58051
58052
58053
58054
58055
58056
58057
58058
58059
58060
58061
58062
58063
58064
58065
58066
58067
58068
58069
58070
58071
58072
58073
58074
58075
58076
58077
58078
58079
58080
58081
58082
58083
58084
58085
58086
58087
58088
58089
58090
58091
58092
58093
58094
58095
58096
58097
58098
58099
58100
58101
58102
58103
58104
58105
58106
58107
58108
58109
58110
58111
58112
58113
58114
58115
58116
58117
58118
58119
58120
58121
58122
58123
58124
58125
58126
58127
58128
58129
58130
58131
58132
58133
58134
58135
58136
58137
58138
58139
58140
58141
58142
58143
58144
58145
58146
58147
58148
58149
58150
58151
58152
58153
58154
58155
58156
58157
58158
58159
58160
58161
58162
58163
58164
58165
58166
58167
58168
58169
58170
58171
58172
58173
58174
58175
58176
58177
58178
58179
58180
58181
58182
58183
58184
58185
58186
58187
58188
58189
58190
58191
58192
58193
58194
58195
58196
58197
58198
58199
58200
58201
58202
58203
58204
58205
58206
58207
58208
58209
58210
58211
58212
58213
58214
58215
58216
58217
58218
58219
58220
58221
58222
58223
58224
58225
58226
58227
58228
58229
58230
58231
58232
58233
58234
58235
58236
58237
58238
58239
58240
58241
58242
58243
58244
58245
58246
58247
58248
58249
58250
58251
58252
58253
58254
58255
58256
58257
58258
58259
58260
58261
58262
58263
58264
58265
58266
58267
58268
58269
58270
58271
58272
58273
58274
58275
58276
58277
58278
58279
58280
58281
58282
58283
58284
58285
58286
58287
58288
58289
58290
58291
58292
58293
58294
58295
58296
58297
58298
58299
58300
58301
58302
58303
58304
58305
58306
58307
58308
58309
58310
58311
58312
58313
58314
58315
58316
58317
58318
58319
58320
58321
58322
58323
58324
58325
58326
58327
58328
58329
58330
58331
58332
58333
58334
58335
58336
58337
58338
58339
58340
58341
58342
58343
58344
58345
58346
58347
58348
58349
58350
58351
58352
58353
58354
58355
58356
58357
58358
58359
58360
58361
58362
58363
58364
58365
58366
58367
58368
58369
58370
58371
58372
58373
58374
58375
58376
58377
58378
58379
58380
58381
58382
58383
58384
58385
58386
58387
58388
58389
58390
58391
58392
58393
58394
58395
58396
58397
58398
58399
58400
58401
58402
58403
58404
58405
58406
58407
58408
58409
58410
58411
58412
58413
58414
58415
58416
58417
58418
58419
58420
58421
58422
58423
58424
58425
58426
58427
58428
58429
58430
58431
58432
58433
58434
58435
58436
58437
58438
58439
58440
58441
58442
58443
58444
58445
58446
58447
58448
58449
58450
58451
58452
58453
58454
58455
58456
58457
58458
58459
58460
58461
58462
58463
58464
58465
58466
58467
58468
58469
58470
58471
58472
58473
58474
58475
58476
58477
58478
58479
58480
58481
58482
58483
58484
58485
58486
58487
58488
58489
58490
58491
58492
58493
58494
58495
58496
58497
58498
58499
58500
58501
58502
58503
58504
58505
58506
58507
58508
58509
58510
58511
58512
58513
58514
58515
58516
58517
58518
58519
58520
58521
58522
58523
58524
58525
58526
58527
58528
58529
58530
58531
58532
58533
58534
58535
58536
58537
58538
58539
58540
58541
58542
58543
58544
58545
58546
58547
58548
58549
58550
58551
58552
58553
58554
58555
58556
58557
58558
58559
58560
58561
58562
58563
58564
58565
58566
58567
58568
58569
58570
58571
58572
58573
58574
58575
58576
58577
58578
58579
58580
58581
58582
58583
58584
58585
58586
58587
58588
58589
58590
58591
58592
58593
58594
58595
58596
58597
58598
58599
58600
58601
58602
58603
58604
58605
58606
58607
58608
58609
58610
58611
58612
58613
58614
58615
58616
58617
58618
58619
58620
58621
58622
58623
58624
58625
58626
58627
58628
58629
58630
58631
58632
58633
58634
58635
58636
58637
58638
58639
58640
58641
58642
58643
58644
58645
58646
58647
58648
58649
58650
58651
58652
58653
58654
58655
58656
58657
58658
58659
58660
58661
58662
58663
58664
58665
58666
58667
58668
58669
58670
58671
58672
58673
58674
58675
58676
58677
58678
58679
58680
58681
58682
58683
58684
58685
58686
58687
58688
58689
58690
58691
58692
58693
58694
58695
58696
58697
58698
58699
58700
58701
58702
58703
58704
58705
58706
58707
58708
58709
58710
58711
58712
58713
58714
58715
58716
58717
58718
58719
58720
58721
58722
58723
58724
58725
58726
58727
58728
58729
58730
58731
58732
58733
58734
58735
58736
58737
58738
58739
58740
58741
58742
58743
58744
58745
58746
58747
58748
58749
58750
58751
58752
58753
58754
58755
58756
58757
58758
58759
58760
58761
58762
58763
58764
58765
58766
58767
58768
58769
58770
58771
58772
58773
58774
58775
58776
58777
58778
58779
58780
58781
58782
58783
58784
58785
58786
58787
58788
58789
58790
58791
58792
58793
58794
58795
58796
58797
58798
58799
58800
58801
58802
58803
58804
58805
58806
58807
58808
58809
58810
58811
58812
58813
58814
58815
58816
58817
58818
58819
58820
58821
58822
58823
58824
58825
58826
58827
58828
58829
58830
58831
58832
58833
58834
58835
58836
58837
58838
58839
58840
58841
58842
58843
58844
58845
58846
58847
58848
58849
58850
58851
58852
58853
58854
58855
58856
58857
58858
58859
58860
58861
58862
58863
58864
58865
58866
58867
58868
58869
58870
58871
58872
58873
58874
58875
58876
58877
58878
58879
58880
58881
58882
58883
58884
58885
58886
58887
58888
58889
58890
58891
58892
58893
58894
58895
58896
58897
58898
58899
58900
58901
58902
58903
58904
58905
58906
58907
58908
58909
58910
58911
58912
58913
58914
58915
58916
58917
58918
58919
58920
58921
58922
58923
58924
58925
58926
58927
58928
58929
58930
58931
58932
58933
58934
58935
58936
58937
58938
58939
58940
58941
58942
58943
58944
58945
58946
58947
58948
58949
58950
58951
58952
58953
58954
58955
58956
58957
58958
58959
58960
58961
58962
58963
58964
58965
58966
58967
58968
58969
58970
58971
58972
58973
58974
58975
58976
58977
58978
58979
58980
58981
58982
58983
58984
58985
58986
58987
58988
58989
58990
58991
58992
58993
58994
58995
58996
58997
58998
58999
59000
59001
59002
59003
59004
59005
59006
59007
59008
59009
59010
59011
59012
59013
59014
59015
59016
59017
59018
59019
59020
59021
59022
59023
59024
59025
59026
59027
59028
59029
59030
59031
59032
59033
59034
59035
59036
59037
59038
59039
59040
59041
59042
59043
59044
59045
59046
59047
59048
59049
59050
59051
59052
59053
59054
59055
59056
59057
59058
59059
59060
59061
59062
59063
59064
59065
59066
59067
59068
59069
59070
59071
59072
59073
59074
59075
59076
59077
59078
59079
59080
59081
59082
59083
59084
59085
59086
59087
59088
59089
59090
59091
59092
59093
59094
59095
59096
59097
59098
59099
59100
59101
59102
59103
59104
59105
59106
59107
59108
59109
59110
59111
59112
59113
59114
59115
59116
59117
59118
59119
59120
59121
59122
59123
59124
59125
59126
59127
59128
59129
59130
59131
59132
59133
59134
59135
59136
59137
59138
59139
59140
59141
59142
59143
59144
59145
59146
59147
59148
59149
59150
59151
59152
59153
59154
59155
59156
59157
59158
59159
59160
59161
59162
59163
59164
59165
59166
59167
59168
59169
59170
59171
59172
59173
59174
59175
59176
59177
59178
59179
59180
59181
59182
59183
59184
59185
59186
59187
59188
59189
59190
59191
59192
59193
59194
59195
59196
59197
59198
59199
59200
59201
59202
59203
59204
59205
59206
59207
59208
59209
59210
59211
59212
59213
59214
59215
59216
59217
59218
59219
59220
59221
59222
59223
59224
59225
59226
59227
59228
59229
59230
59231
59232
59233
59234
59235
59236
59237
59238
59239
59240
59241
59242
59243
59244
59245
59246
59247
59248
59249
59250
59251
59252
59253
59254
59255
59256
59257
59258
59259
59260
59261
59262
59263
59264
59265
59266
59267
59268
59269
59270
59271
59272
59273
59274
59275
59276
59277
59278
59279
59280
59281
59282
59283
59284
59285
59286
59287
59288
59289
59290
59291
59292
59293
59294
59295
59296
59297
59298
59299
59300
59301
59302
59303
59304
59305
59306
59307
59308
59309
59310
59311
59312
59313
59314
59315
59316
59317
59318
59319
59320
59321
59322
59323
59324
59325
59326
59327
59328
59329
59330
59331
59332
59333
59334
59335
59336
59337
59338
59339
59340
59341
59342
59343
59344
59345
59346
59347
59348
59349
59350
59351
59352
59353
59354
59355
59356
59357
59358
59359
59360
59361
59362
59363
59364
59365
59366
59367
59368
59369
59370
59371
59372
59373
59374
59375
59376
59377
59378
59379
59380
59381
59382
59383
59384
59385
59386
59387
59388
59389
59390
59391
59392
59393
59394
59395
59396
59397
59398
59399
59400
59401
59402
59403
59404
59405
59406
59407
59408
59409
59410
59411
59412
59413
59414
59415
59416
59417
59418
59419
59420
59421
59422
59423
59424
59425
59426
59427
59428
59429
59430
59431
59432
59433
59434
59435
59436
59437
59438
59439
59440
59441
59442
59443
59444
59445
59446
59447
59448
59449
59450
59451
59452
59453
59454
59455
59456
59457
59458
59459
59460
59461
59462
59463
59464
59465
59466
59467
59468
59469
59470
59471
59472
59473
59474
59475
59476
59477
59478
59479
59480
59481
59482
59483
59484
59485
59486
59487
59488
59489
59490
59491
59492
59493
59494
59495
59496
59497
59498
59499
59500
59501
59502
59503
59504
59505
59506
59507
59508
59509
59510
59511
59512
59513
59514
59515
59516
59517
59518
59519
59520
59521
59522
59523
59524
59525
59526
59527
59528
59529
59530
59531
59532
59533
59534
59535
59536
59537
59538
59539
59540
59541
59542
59543
59544
59545
59546
59547
59548
59549
59550
59551
59552
59553
59554
59555
59556
59557
59558
59559
59560
59561
59562
59563
59564
59565
59566
59567
59568
59569
59570
59571
59572
59573
59574
59575
59576
59577
59578
59579
59580
59581
59582
59583
59584
59585
59586
59587
59588
59589
59590
59591
59592
59593
59594
59595
59596
59597
59598
59599
59600
59601
59602
59603
59604
59605
59606
59607
59608
59609
59610
59611
59612
59613
59614
59615
59616
59617
59618
59619
59620
59621
59622
59623
59624
59625
59626
59627
59628
59629
59630
59631
59632
59633
59634
59635
59636
59637
59638
59639
59640
59641
59642
59643
59644
59645
59646
59647
59648
59649
59650
59651
59652
59653
59654
59655
59656
59657
59658
59659
59660
59661
59662
59663
59664
59665
59666
59667
59668
59669
59670
59671
59672
59673
59674
59675
59676
59677
59678
59679
59680
59681
59682
59683
59684
59685
59686
59687
59688
59689
59690
59691
59692
59693
59694
59695
59696
59697
59698
59699
59700
59701
59702
59703
59704
59705
59706
59707
59708
59709
59710
59711
59712
59713
59714
59715
59716
59717
59718
59719
59720
59721
59722
59723
59724
59725
59726
59727
59728
59729
59730
59731
59732
59733
59734
59735
59736
59737
59738
59739
59740
59741
59742
59743
59744
59745
59746
59747
59748
59749
59750
59751
59752
59753
59754
59755
59756
59757
59758
59759
59760
59761
59762
59763
59764
59765
59766
59767
59768
59769
59770
59771
59772
59773
59774
59775
59776
59777
59778
59779
59780
59781
59782
59783
59784
59785
59786
59787
59788
59789
59790
59791
59792
59793
59794
59795
59796
59797
59798
59799
59800
59801
59802
59803
59804
59805
59806
59807
59808
59809
59810
59811
59812
59813
59814
59815
59816
59817
59818
59819
59820
59821
59822
59823
59824
59825
59826
59827
59828
59829
59830
59831
59832
59833
59834
59835
59836
59837
59838
59839
59840
59841
59842
59843
59844
59845
59846
59847
59848
59849
59850
59851
59852
59853
59854
59855
59856
59857
59858
59859
59860
59861
59862
59863
59864
59865
59866
59867
59868
59869
59870
59871
59872
59873
59874
59875
59876
59877
59878
59879
59880
59881
59882
59883
59884
59885
59886
59887
59888
59889
59890
59891
59892
59893
59894
59895
59896
59897
59898
59899
59900
59901
59902
59903
59904
59905
59906
59907
59908
59909
59910
59911
59912
59913
59914
59915
59916
59917
59918
59919
59920
59921
59922
59923
59924
59925
59926
59927
59928
59929
59930
59931
59932
59933
59934
59935
59936
59937
59938
59939
59940
59941
59942
59943
59944
59945
59946
59947
59948
59949
59950
59951
59952
59953
59954
59955
59956
59957
59958
59959
59960
59961
59962
59963
59964
59965
59966
59967
59968
59969
59970
59971
59972
59973
59974
59975
59976
59977
59978
59979
59980
59981
59982
59983
59984
59985
59986
59987
59988
59989
59990
59991
59992
59993
59994
59995
59996
59997
59998
59999
60000
60001
60002
60003
60004
60005
60006
60007
60008
60009
60010
60011
60012
60013
60014
60015
60016
60017
60018
60019
60020
60021
60022
60023
60024
60025
60026
60027
60028
60029
60030
60031
60032
60033
60034
60035
60036
60037
60038
60039
60040
60041
60042
60043
60044
60045
60046
60047
60048
60049
60050
60051
60052
60053
60054
60055
60056
60057
60058
60059
60060
60061
60062
60063
60064
60065
60066
60067
60068
60069
60070
60071
60072
60073
60074
60075
60076
60077
60078
60079
60080
60081
60082
60083
60084
60085
60086
60087
60088
60089
60090
60091
60092
60093
60094
60095
60096
60097
60098
60099
60100
60101
60102
60103
60104
60105
60106
60107
60108
60109
60110
60111
60112
60113
60114
60115
60116
60117
60118
60119
60120
60121
60122
60123
60124
60125
60126
60127
60128
60129
60130
60131
60132
60133
60134
60135
60136
60137
60138
60139
60140
60141
60142
60143
60144
60145
60146
60147
60148
60149
60150
60151
60152
60153
60154
60155
60156
60157
60158
60159
60160
60161
60162
60163
60164
60165
60166
60167
60168
60169
60170
60171
60172
60173
60174
60175
60176
60177
60178
60179
60180
60181
60182
60183
60184
60185
60186
60187
60188
60189
60190
60191
60192
60193
60194
60195
60196
60197
60198
60199
60200
60201
60202
60203
60204
60205
60206
60207
60208
60209
60210
60211
60212
60213
60214
60215
60216
60217
60218
60219
60220
60221
60222
60223
60224
60225
60226
60227
60228
60229
60230
60231
60232
60233
60234
60235
60236
60237
60238
60239
60240
60241
60242
60243
60244
60245
60246
60247
60248
60249
60250
60251
60252
60253
60254
60255
60256
60257
60258
60259
60260
60261
60262
60263
60264
60265
60266
60267
60268
60269
60270
60271
60272
60273
60274
60275
60276
60277
60278
60279
60280
60281
60282
60283
60284
60285
60286
60287
60288
60289
60290
60291
60292
60293
60294
60295
60296
60297
60298
60299
60300
60301
60302
60303
60304
60305
60306
60307
60308
60309
60310
60311
60312
60313
60314
60315
60316
60317
60318
60319
60320
60321
60322
60323
60324
60325
60326
60327
60328
60329
60330
60331
60332
60333
60334
60335
60336
60337
60338
60339
60340
60341
60342
60343
60344
60345
60346
60347
60348
60349
60350
60351
60352
60353
60354
60355
60356
60357
60358
60359
60360
60361
60362
60363
60364
60365
60366
60367
60368
60369
60370
60371
60372
60373
60374
60375
60376
60377
60378
60379
60380
60381
60382
60383
60384
60385
60386
60387
60388
60389
60390
60391
60392
60393
60394
60395
60396
60397
60398
60399
60400
60401
60402
60403
60404
60405
60406
60407
60408
60409
60410
60411
60412
60413
60414
60415
60416
60417
60418
60419
60420
60421
60422
60423
60424
60425
60426
60427
60428
60429
60430
60431
60432
60433
60434
60435
60436
60437
60438
60439
60440
60441
60442
60443
60444
60445
60446
60447
60448
60449
60450
60451
60452
60453
60454
60455
60456
60457
60458
60459
60460
60461
60462
60463
60464
60465
60466
60467
60468
60469
60470
60471
60472
60473
60474
60475
60476
60477
60478
60479
60480
60481
60482
60483
60484
60485
60486
60487
60488
60489
60490
60491
60492
60493
60494
60495
60496
60497
60498
60499
60500
60501
60502
60503
60504
60505
60506
60507
60508
60509
60510
60511
60512
60513
60514
60515
60516
60517
60518
60519
60520
60521
60522
60523
60524
60525
60526
60527
60528
60529
60530
60531
60532
60533
60534
60535
60536
60537
60538
60539
60540
60541
60542
60543
60544
60545
60546
60547
60548
60549
60550
60551
60552
60553
60554
60555
60556
60557
60558
60559
60560
60561
60562
60563
60564
60565
60566
60567
60568
60569
60570
60571
60572
60573
60574
60575
60576
60577
60578
60579
60580
60581
60582
60583
60584
60585
60586
60587
60588
60589
60590
60591
60592
60593
60594
60595
60596
60597
60598
60599
60600
60601
60602
60603
60604
60605
60606
60607
60608
60609
60610
60611
60612
60613
60614
60615
60616
60617
60618
60619
60620
60621
60622
60623
60624
60625
60626
60627
60628
60629
60630
60631
60632
60633
60634
60635
60636
60637
60638
60639
60640
60641
60642
60643
60644
60645
60646
60647
60648
60649
60650
60651
60652
60653
60654
60655
60656
60657
60658
60659
60660
60661
60662
60663
60664
60665
60666
60667
60668
60669
60670
60671
60672
60673
60674
60675
60676
60677
60678
60679
60680
60681
60682
60683
60684
60685
60686
60687
60688
60689
60690
60691
60692
60693
60694
60695
60696
60697
60698
60699
60700
60701
60702
60703
60704
60705
60706
60707
60708
60709
60710
60711
60712
60713
60714
60715
60716
60717
60718
60719
60720
60721
60722
60723
60724
60725
60726
60727
60728
60729
60730
60731
60732
60733
60734
60735
60736
60737
60738
60739
60740
60741
60742
60743
60744
60745
60746
60747
60748
60749
60750
60751
60752
60753
60754
60755
60756
60757
60758
60759
60760
60761
60762
60763
60764
60765
60766
60767
60768
60769
60770
60771
60772
60773
60774
60775
60776
60777
60778
60779
60780
60781
60782
60783
60784
60785
60786
60787
60788
60789
60790
60791
60792
60793
60794
60795
60796
60797
60798
60799
60800
60801
60802
60803
60804
60805
60806
60807
60808
60809
60810
60811
60812
60813
60814
60815
60816
60817
60818
60819
60820
60821
60822
60823
60824
60825
60826
60827
60828
60829
60830
60831
60832
60833
60834
60835
60836
60837
60838
60839
60840
60841
60842
60843
60844
60845
60846
60847
60848
60849
60850
60851
60852
60853
60854
60855
60856
60857
60858
60859
60860
60861
60862
60863
60864
60865
60866
60867
60868
60869
60870
60871
60872
60873
60874
60875
60876
60877
60878
60879
60880
60881
60882
60883
60884
60885
60886
60887
60888
60889
60890
60891
60892
60893
60894
60895
60896
60897
60898
60899
60900
60901
60902
60903
60904
60905
60906
60907
60908
60909
60910
60911
60912
60913
60914
60915
60916
60917
60918
60919
60920
60921
60922
60923
60924
60925
60926
60927
60928
60929
60930
60931
60932
60933
60934
60935
60936
60937
60938
60939
60940
60941
60942
60943
60944
60945
60946
60947
60948
60949
60950
60951
60952
60953
60954
60955
60956
60957
60958
60959
60960
60961
60962
60963
60964
60965
60966
60967
60968
60969
60970
60971
60972
60973
60974
60975
60976
60977
60978
60979
60980
60981
60982
60983
60984
60985
60986
60987
60988
60989
60990
60991
60992
60993
60994
60995
60996
60997
60998
60999
61000
61001
61002
61003
61004
61005
61006
61007
61008
61009
61010
61011
61012
61013
61014
61015
61016
61017
61018
61019
61020
61021
61022
61023
61024
61025
61026
61027
61028
61029
61030
61031
61032
61033
61034
61035
61036
61037
61038
61039
61040
61041
61042
61043
61044
61045
61046
61047
61048
61049
61050
61051
61052
61053
61054
61055
61056
61057
61058
61059
61060
61061
61062
61063
61064
61065
61066
61067
61068
61069
61070
61071
61072
61073
61074
61075
61076
61077
61078
61079
61080
61081
61082
61083
61084
61085
61086
61087
61088
61089
61090
61091
61092
61093
61094
61095
61096
61097
61098
61099
61100
61101
61102
61103
61104
61105
61106
61107
61108
61109
61110
61111
61112
61113
61114
61115
61116
61117
61118
61119
61120
61121
61122
61123
61124
61125
61126
61127
61128
61129
61130
61131
61132
61133
61134
61135
61136
61137
61138
61139
61140
61141
61142
61143
61144
61145
61146
61147
61148
61149
61150
61151
61152
61153
61154
61155
61156
61157
61158
61159
61160
61161
61162
61163
61164
61165
61166
61167
61168
61169
61170
61171
61172
61173
61174
61175
61176
61177
61178
61179
61180
61181
61182
61183
61184
61185
61186
61187
61188
61189
61190
61191
61192
61193
61194
61195
61196
61197
61198
61199
61200
61201
61202
61203
61204
61205
61206
61207
61208
61209
61210
61211
61212
61213
61214
61215
61216
61217
61218
61219
61220
61221
61222
61223
61224
61225
61226
61227
61228
61229
61230
61231
61232
61233
61234
61235
61236
61237
61238
61239
61240
61241
61242
61243
61244
61245
61246
61247
61248
61249
61250
61251
61252
61253
61254
61255
61256
61257
61258
61259
61260
61261
61262
61263
61264
61265
61266
61267
61268
61269
61270
61271
61272
61273
61274
61275
61276
61277
61278
61279
61280
61281
61282
61283
61284
61285
61286
61287
61288
61289
61290
61291
61292
61293
61294
61295
61296
61297
61298
61299
61300
61301
61302
61303
61304
61305
61306
61307
61308
61309
61310
61311
61312
61313
61314
61315
61316
61317
61318
61319
61320
61321
61322
61323
61324
61325
61326
61327
61328
61329
61330
61331
61332
61333
61334
61335
61336
61337
61338
61339
61340
61341
61342
61343
61344
61345
61346
61347
61348
61349
61350
61351
61352
61353
61354
61355
61356
61357
61358
61359
61360
61361
61362
61363
61364
61365
61366
61367
61368
61369
61370
61371
61372
61373
61374
61375
61376
61377
61378
61379
61380
61381
61382
61383
61384
61385
61386
61387
61388
61389
61390
61391
61392
61393
61394
61395
61396
61397
61398
61399
61400
61401
61402
61403
61404
61405
61406
61407
61408
61409
61410
61411
61412
61413
61414
61415
61416
61417
61418
61419
61420
61421
61422
61423
61424
61425
61426
61427
61428
61429
61430
61431
61432
61433
61434
61435
61436
61437
61438
61439
61440
61441
61442
61443
61444
61445
61446
61447
61448
61449
61450
61451
61452
61453
61454
61455
61456
61457
61458
61459
61460
61461
61462
61463
61464
61465
61466
61467
61468
61469
61470
61471
61472
61473
61474
61475
61476
61477
61478
61479
61480
61481
61482
61483
61484
61485
61486
61487
61488
61489
61490
61491
61492
61493
61494
61495
61496
61497
61498
61499
61500
61501
61502
61503
61504
61505
61506
61507
61508
61509
61510
61511
61512
61513
61514
61515
61516
61517
61518
61519
61520
61521
61522
61523
61524
61525
61526
61527
61528
61529
61530
61531
61532
61533
61534
61535
61536
61537
61538
61539
61540
61541
61542
61543
61544
61545
61546
61547
61548
61549
61550
61551
61552
61553
61554
61555
61556
61557
61558
61559
61560
61561
61562
61563
61564
61565
61566
61567
61568
61569
61570
61571
61572
61573
61574
61575
61576
61577
61578
61579
61580
61581
61582
61583
61584
61585
61586
61587
61588
61589
61590
61591
61592
61593
61594
61595
61596
61597
61598
61599
61600
61601
61602
61603
61604
61605
61606
61607
61608
61609
61610
61611
61612
61613
61614
61615
61616
61617
61618
61619
61620
61621
61622
61623
61624
61625
61626
61627
61628
61629
61630
61631
61632
61633
61634
61635
61636
61637
61638
61639
61640
61641
61642
61643
61644
61645
61646
61647
61648
61649
61650
61651
61652
61653
61654
61655
61656
61657
61658
61659
61660
61661
61662
61663
61664
61665
61666
61667
61668
61669
61670
61671
61672
61673
61674
61675
61676
61677
61678
61679
61680
61681
61682
61683
61684
61685
61686
61687
61688
61689
61690
61691
61692
61693
61694
61695
61696
61697
61698
61699
61700
61701
61702
61703
61704
61705
61706
61707
61708
61709
61710
61711
61712
61713
61714
61715
61716
61717
61718
61719
61720
61721
61722
61723
61724
61725
61726
61727
61728
61729
61730
61731
61732
61733
61734
61735
61736
61737
61738
61739
61740
61741
61742
61743
61744
61745
61746
61747
61748
61749
61750
61751
61752
61753
61754
61755
61756
61757
61758
61759
61760
61761
61762
61763
61764
61765
61766
61767
61768
61769
61770
61771
61772
61773
61774
61775
61776
61777
61778
61779
61780
61781
61782
61783
61784
61785
61786
61787
61788
61789
61790
61791
61792
61793
61794
61795
61796
61797
61798
61799
61800
61801
61802
61803
61804
61805
61806
61807
61808
61809
61810
61811
61812
61813
61814
61815
61816
61817
61818
61819
61820
61821
61822
61823
61824
61825
61826
61827
61828
61829
61830
61831
61832
61833
61834
61835
61836
61837
61838
61839
61840
61841
61842
61843
61844
61845
61846
61847
61848
61849
61850
61851
61852
61853
61854
61855
61856
61857
61858
61859
61860
61861
61862
61863
61864
61865
61866
61867
61868
61869
61870
61871
61872
61873
61874
61875
61876
61877
61878
61879
61880
61881
61882
61883
61884
61885
61886
61887
61888
61889
61890
61891
61892
61893
61894
61895
61896
61897
61898
61899
61900
61901
61902
61903
61904
61905
61906
61907
61908
61909
61910
61911
61912
61913
61914
61915
61916
61917
61918
61919
61920
61921
61922
61923
61924
61925
61926
61927
61928
61929
61930
61931
61932
61933
61934
61935
61936
61937
61938
61939
61940
61941
61942
61943
61944
61945
61946
61947
61948
61949
61950
61951
61952
61953
61954
61955
61956
61957
61958
61959
61960
61961
61962
61963
61964
61965
61966
61967
61968
61969
61970
61971
61972
61973
61974
61975
61976
61977
61978
61979
61980
61981
61982
61983
61984
61985
61986
61987
61988
61989
61990
61991
61992
61993
61994
61995
61996
61997
61998
61999
62000
62001
62002
62003
62004
62005
62006
62007
62008
62009
62010
62011
62012
62013
62014
62015
62016
62017
62018
62019
62020
62021
62022
62023
62024
62025
62026
62027
62028
62029
62030
62031
62032
62033
62034
62035
62036
62037
62038
62039
62040
62041
62042
62043
62044
62045
62046
62047
62048
62049
62050
62051
62052
62053
62054
62055
62056
62057
62058
62059
62060
62061
62062
62063
62064
62065
62066
62067
62068
62069
62070
62071
62072
62073
62074
62075
62076
62077
62078
62079
62080
62081
62082
62083
62084
62085
62086
62087
62088
62089
62090
62091
62092
62093
62094
62095
62096
62097
62098
62099
62100
62101
62102
62103
62104
62105
62106
62107
62108
62109
62110
62111
62112
62113
62114
62115
62116
62117
62118
62119
62120
62121
62122
62123
62124
62125
62126
62127
62128
62129
62130
62131
62132
62133
62134
62135
62136
62137
62138
62139
62140
62141
62142
62143
62144
62145
62146
62147
62148
62149
62150
62151
62152
62153
62154
62155
62156
62157
62158
62159
62160
62161
62162
62163
62164
62165
62166
62167
62168
62169
62170
62171
62172
62173
62174
62175
62176
62177
62178
62179
62180
62181
62182
62183
62184
62185
62186
62187
62188
62189
62190
62191
62192
62193
62194
62195
62196
62197
62198
62199
62200
62201
62202
62203
62204
62205
62206
62207
62208
62209
62210
62211
62212
62213
62214
62215
62216
62217
62218
62219
62220
62221
62222
62223
62224
62225
62226
62227
62228
62229
62230
62231
62232
62233
62234
62235
62236
62237
62238
62239
62240
62241
62242
62243
62244
62245
62246
62247
62248
62249
62250
62251
62252
62253
62254
62255
62256
62257
62258
62259
62260
62261
62262
62263
62264
62265
62266
62267
62268
62269
62270
62271
62272
62273
62274
62275
62276
62277
62278
62279
62280
62281
62282
62283
62284
62285
62286
62287
62288
62289
62290
62291
62292
62293
62294
62295
62296
62297
62298
62299
62300
62301
62302
62303
62304
62305
62306
62307
62308
62309
62310
62311
62312
62313
62314
62315
62316
62317
62318
62319
62320
62321
62322
62323
62324
62325
62326
62327
62328
62329
62330
62331
62332
62333
62334
62335
62336
62337
62338
62339
62340
62341
62342
62343
62344
62345
62346
62347
62348
62349
62350
62351
62352
62353
62354
62355
62356
62357
62358
62359
62360
62361
62362
62363
62364
62365
62366
62367
62368
62369
62370
62371
62372
62373
62374
62375
62376
62377
62378
62379
62380
62381
62382
62383
62384
62385
62386
62387
62388
62389
62390
62391
62392
62393
62394
62395
62396
62397
62398
62399
62400
62401
62402
62403
62404
62405
62406
62407
62408
62409
62410
62411
62412
62413
62414
62415
62416
62417
62418
62419
62420
62421
62422
62423
62424
62425
62426
62427
62428
62429
62430
62431
62432
62433
62434
62435
62436
62437
62438
62439
62440
62441
62442
62443
62444
62445
62446
62447
62448
62449
62450
62451
62452
62453
62454
62455
62456
62457
62458
62459
62460
62461
62462
62463
62464
62465
62466
62467
62468
62469
62470
62471
62472
62473
62474
62475
62476
62477
62478
62479
62480
62481
62482
62483
62484
62485
62486
62487
62488
62489
62490
62491
62492
62493
62494
62495
62496
62497
62498
62499
62500
62501
62502
62503
62504
62505
62506
62507
62508
62509
62510
62511
62512
62513
62514
62515
62516
62517
62518
62519
62520
62521
62522
62523
62524
62525
62526
62527
62528
62529
62530
62531
62532
62533
62534
62535
62536
62537
62538
62539
62540
62541
62542
62543
62544
62545
62546
62547
62548
62549
62550
62551
62552
62553
62554
62555
62556
62557
62558
62559
62560
62561
62562
62563
62564
62565
62566
62567
62568
62569
62570
62571
62572
62573
62574
62575
62576
62577
62578
62579
62580
62581
62582
62583
62584
62585
62586
62587
62588
62589
62590
62591
62592
62593
62594
62595
62596
62597
62598
62599
62600
62601
62602
62603
62604
62605
62606
62607
62608
62609
62610
62611
62612
62613
62614
62615
62616
62617
62618
62619
62620
62621
62622
62623
62624
62625
62626
62627
62628
62629
62630
62631
62632
62633
62634
62635
62636
62637
62638
62639
62640
62641
62642
62643
62644
62645
62646
62647
62648
62649
62650
62651
62652
62653
62654
62655
62656
62657
62658
62659
62660
62661
62662
62663
62664
62665
62666
62667
62668
62669
62670
62671
62672
62673
62674
62675
62676
62677
62678
62679
62680
62681
62682
62683
62684
62685
62686
62687
62688
62689
62690
62691
62692
62693
62694
62695
62696
62697
62698
62699
62700
62701
62702
62703
62704
62705
62706
62707
62708
62709
62710
62711
62712
62713
62714
62715
62716
62717
62718
62719
62720
62721
62722
62723
62724
62725
62726
62727
62728
62729
62730
62731
62732
62733
62734
62735
62736
62737
62738
62739
62740
62741
62742
62743
62744
62745
62746
62747
62748
62749
62750
62751
62752
62753
62754
62755
62756
62757
62758
62759
62760
62761
62762
62763
62764
62765
62766
62767
62768
62769
62770
62771
62772
62773
62774
62775
62776
62777
62778
62779
62780
62781
62782
62783
62784
62785
62786
62787
62788
62789
62790
62791
62792
62793
62794
62795
62796
62797
62798
62799
62800
62801
62802
62803
62804
62805
62806
62807
62808
62809
62810
62811
62812
62813
62814
62815
62816
62817
62818
62819
62820
62821
62822
62823
62824
62825
62826
62827
62828
62829
62830
62831
62832
62833
62834
62835
62836
62837
62838
62839
62840
62841
62842
62843
62844
62845
62846
62847
62848
62849
62850
62851
62852
62853
62854
62855
62856
62857
62858
62859
62860
62861
62862
62863
62864
62865
62866
62867
62868
62869
62870
62871
62872
62873
62874
62875
62876
62877
62878
62879
62880
62881
62882
62883
62884
62885
62886
62887
62888
62889
62890
62891
62892
62893
62894
62895
62896
62897
62898
62899
62900
62901
62902
62903
62904
62905
62906
62907
62908
62909
62910
62911
62912
62913
62914
62915
62916
62917
62918
62919
62920
62921
62922
62923
62924
62925
62926
62927
62928
62929
62930
62931
62932
62933
62934
62935
62936
62937
62938
62939
62940
62941
62942
62943
62944
62945
62946
62947
62948
62949
62950
62951
62952
62953
62954
62955
62956
62957
62958
62959
62960
62961
62962
62963
62964
62965
62966
62967
62968
62969
62970
62971
62972
62973
62974
62975
62976
62977
62978
62979
62980
62981
62982
62983
62984
62985
62986
62987
62988
62989
62990
62991
62992
62993
62994
62995
62996
62997
62998
62999
63000
63001
63002
63003
63004
63005
63006
63007
63008
63009
63010
63011
63012
63013
63014
63015
63016
63017
63018
63019
63020
63021
63022
63023
63024
63025
63026
63027
63028
63029
63030
63031
63032
63033
63034
63035
63036
63037
63038
63039
63040
63041
63042
63043
63044
63045
63046
63047
63048
63049
63050
63051
63052
63053
63054
63055
63056
63057
63058
63059
63060
63061
63062
63063
63064
63065
63066
63067
63068
63069
63070
63071
63072
63073
63074
63075
63076
63077
63078
63079
63080
63081
63082
63083
63084
63085
63086
63087
63088
63089
63090
63091
63092
63093
63094
63095
63096
63097
63098
63099
63100
63101
63102
63103
63104
63105
63106
63107
63108
63109
63110
63111
63112
63113
63114
63115
63116
63117
63118
63119
63120
63121
63122
63123
63124
63125
63126
63127
63128
63129
63130
63131
63132
63133
63134
63135
63136
63137
63138
63139
63140
63141
63142
63143
63144
63145
63146
63147
63148
63149
63150
63151
63152
63153
63154
63155
63156
63157
63158
63159
63160
63161
63162
63163
63164
63165
63166
63167
63168
63169
63170
63171
63172
63173
63174
63175
63176
63177
63178
63179
63180
63181
63182
63183
63184
63185
63186
63187
63188
63189
63190
63191
63192
63193
63194
63195
63196
63197
63198
63199
63200
63201
63202
63203
63204
63205
63206
63207
63208
63209
63210
63211
63212
63213
63214
63215
63216
63217
63218
63219
63220
63221
63222
63223
63224
63225
63226
63227
63228
63229
63230
63231
63232
63233
63234
63235
63236
63237
63238
63239
63240
63241
63242
63243
63244
63245
63246
63247
63248
63249
63250
63251
63252
63253
63254
63255
63256
63257
63258
63259
63260
63261
63262
63263
63264
63265
63266
63267
63268
63269
63270
63271
63272
63273
63274
63275
63276
63277
63278
63279
63280
63281
63282
63283
63284
63285
63286
63287
63288
63289
63290
63291
63292
63293
63294
63295
63296
63297
63298
63299
63300
63301
63302
63303
63304
63305
63306
63307
63308
63309
63310
63311
63312
63313
63314
63315
63316
63317
63318
63319
63320
63321
63322
63323
63324
63325
63326
63327
63328
63329
63330
63331
63332
63333
63334
63335
63336
63337
63338
63339
63340
63341
63342
63343
63344
63345
63346
63347
63348
63349
63350
63351
63352
63353
63354
63355
63356
63357
63358
63359
63360
63361
63362
63363
63364
63365
63366
63367
63368
63369
63370
63371
63372
63373
63374
63375
63376
63377
63378
63379
63380
63381
63382
63383
63384
63385
63386
63387
63388
63389
63390
63391
63392
63393
63394
63395
63396
63397
63398
63399
63400
63401
63402
63403
63404
63405
63406
63407
63408
63409
63410
63411
63412
63413
63414
63415
63416
63417
63418
63419
63420
63421
63422
63423
63424
63425
63426
63427
63428
63429
63430
63431
63432
63433
63434
63435
63436
63437
63438
63439
63440
63441
63442
63443
63444
63445
63446
63447
63448
63449
63450
63451
63452
63453
63454
63455
63456
63457
63458
63459
63460
63461
63462
63463
63464
63465
63466
63467
63468
63469
63470
63471
63472
63473
63474
63475
63476
63477
63478
63479
63480
63481
63482
63483
63484
63485
63486
63487
63488
63489
63490
63491
63492
63493
63494
63495
63496
63497
63498
63499
63500
63501
63502
63503
63504
63505
63506
63507
63508
63509
63510
63511
63512
63513
63514
63515
63516
63517
63518
63519
63520
63521
63522
63523
63524
63525
63526
63527
63528
63529
63530
63531
63532
63533
63534
63535
63536
63537
63538
63539
63540
63541
63542
63543
63544
63545
63546
63547
63548
63549
63550
63551
63552
63553
63554
63555
63556
63557
63558
63559
63560
63561
63562
63563
63564
63565
63566
63567
63568
63569
63570
63571
63572
63573
63574
63575
63576
63577
63578
63579
63580
63581
63582
63583
63584
63585
63586
63587
63588
63589
63590
63591
63592
63593
63594
63595
63596
63597
63598
63599
63600
63601
63602
63603
63604
63605
63606
63607
63608
63609
63610
63611
63612
63613
63614
63615
63616
63617
63618
63619
63620
63621
63622
63623
63624
63625
63626
63627
63628
63629
63630
63631
63632
63633
63634
63635
63636
63637
63638
63639
63640
63641
63642
63643
63644
63645
63646
63647
63648
63649
63650
63651
63652
63653
63654
63655
63656
63657
63658
63659
63660
63661
63662
63663
63664
63665
63666
63667
63668
63669
63670
63671
63672
63673
63674
63675
63676
63677
63678
63679
63680
63681
63682
63683
63684
63685
63686
63687
63688
63689
63690
63691
63692
63693
63694
63695
63696
63697
63698
63699
63700
63701
63702
63703
63704
63705
63706
63707
63708
63709
63710
63711
63712
63713
63714
63715
63716
63717
63718
63719
63720
63721
63722
63723
63724
63725
63726
63727
63728
63729
63730
63731
63732
63733
63734
63735
63736
63737
63738
63739
63740
63741
63742
63743
63744
63745
63746
63747
63748
63749
63750
63751
63752
63753
63754
63755
63756
63757
63758
63759
63760
63761
63762
63763
63764
63765
63766
63767
63768
63769
63770
63771
63772
63773
63774
63775
63776
63777
63778
63779
63780
63781
63782
63783
63784
63785
63786
63787
63788
63789
63790
63791
63792
63793
63794
63795
63796
63797
63798
63799
63800
63801
63802
63803
63804
63805
63806
63807
63808
63809
63810
63811
63812
63813
63814
63815
63816
63817
63818
63819
63820
63821
63822
63823
63824
63825
63826
63827
63828
63829
63830
63831
63832
63833
63834
63835
63836
63837
63838
63839
63840
63841
63842
63843
63844
63845
63846
63847
63848
63849
63850
63851
63852
63853
63854
63855
63856
63857
63858
63859
63860
63861
63862
63863
63864
63865
63866
63867
63868
63869
63870
63871
63872
63873
63874
63875
63876
63877
63878
63879
63880
63881
63882
63883
63884
63885
63886
63887
63888
63889
63890
63891
63892
63893
63894
63895
63896
63897
63898
63899
63900
63901
63902
63903
63904
63905
63906
63907
63908
63909
63910
63911
63912
63913
63914
63915
63916
63917
63918
63919
63920
63921
63922
63923
63924
63925
63926
63927
63928
63929
63930
63931
63932
63933
63934
63935
63936
63937
63938
63939
63940
63941
63942
63943
63944
63945
63946
63947
63948
63949
63950
63951
63952
63953
63954
63955
63956
63957
63958
63959
63960
63961
63962
63963
63964
63965
63966
63967
63968
63969
63970
63971
63972
63973
63974
63975
63976
63977
63978
63979
63980
63981
63982
63983
63984
63985
63986
63987
63988
63989
63990
63991
63992
63993
63994
63995
63996
63997
63998
63999
64000
64001
64002
64003
64004
64005
64006
64007
64008
64009
64010
64011
64012
64013
64014
64015
64016
64017
64018
64019
64020
64021
64022
64023
64024
64025
64026
64027
64028
64029
64030
64031
64032
64033
64034
64035
64036
64037
64038
64039
64040
64041
64042
64043
64044
64045
64046
64047
64048
64049
64050
64051
64052
64053
64054
64055
64056
64057
64058
64059
64060
64061
64062
64063
64064
64065
64066
64067
64068
64069
64070
64071
64072
64073
64074
64075
64076
64077
64078
64079
64080
64081
64082
64083
64084
64085
64086
64087
64088
64089
64090
64091
64092
64093
64094
64095
64096
64097
64098
64099
64100
64101
64102
64103
64104
64105
64106
64107
64108
64109
64110
64111
64112
64113
64114
64115
64116
64117
64118
64119
64120
64121
64122
64123
64124
64125
64126
64127
64128
64129
64130
64131
64132
64133
64134
64135
64136
64137
64138
64139
64140
64141
64142
64143
64144
64145
64146
64147
64148
64149
64150
64151
64152
64153
64154
64155
64156
64157
64158
64159
64160
64161
64162
64163
64164
64165
64166
64167
64168
64169
64170
64171
64172
64173
64174
64175
64176
64177
64178
64179
64180
64181
64182
64183
64184
64185
64186
64187
64188
64189
64190
64191
64192
64193
64194
64195
64196
64197
64198
64199
64200
64201
64202
64203
64204
64205
64206
64207
64208
64209
64210
64211
64212
64213
64214
64215
64216
64217
64218
64219
64220
64221
64222
64223
64224
64225
64226
64227
64228
64229
64230
64231
64232
64233
64234
64235
64236
64237
64238
64239
64240
64241
64242
64243
64244
64245
64246
64247
64248
64249
64250
64251
64252
64253
64254
64255
64256
64257
64258
64259
64260
64261
64262
64263
64264
64265
64266
64267
64268
64269
64270
64271
64272
64273
64274
64275
64276
64277
64278
64279
64280
64281
64282
64283
64284
64285
64286
64287
64288
64289
64290
64291
64292
64293
64294
64295
64296
64297
64298
64299
64300
64301
64302
64303
64304
64305
64306
64307
64308
64309
64310
64311
64312
64313
64314
64315
64316
64317
64318
64319
64320
64321
64322
64323
64324
64325
64326
64327
64328
64329
64330
64331
64332
64333
64334
64335
64336
64337
64338
64339
64340
64341
64342
64343
64344
64345
64346
64347
64348
64349
64350
64351
64352
64353
64354
64355
64356
64357
64358
64359
64360
64361
64362
64363
64364
64365
64366
64367
64368
64369
64370
64371
64372
64373
64374
64375
64376
64377
64378
64379
64380
64381
64382
64383
64384
64385
64386
64387
64388
64389
64390
64391
64392
64393
64394
64395
64396
64397
64398
64399
64400
64401
64402
64403
64404
64405
64406
64407
64408
64409
64410
64411
64412
64413
64414
64415
64416
64417
64418
64419
64420
64421
64422
64423
64424
64425
64426
64427
64428
64429
64430
64431
64432
64433
64434
64435
64436
64437
64438
64439
64440
64441
64442
64443
64444
64445
64446
64447
64448
64449
64450
64451
64452
64453
64454
64455
64456
64457
64458
64459
64460
64461
64462
64463
64464
64465
64466
64467
64468
64469
64470
64471
64472
64473
64474
64475
64476
64477
64478
64479
64480
64481
64482
64483
64484
64485
64486
64487
64488
64489
64490
64491
64492
64493
64494
64495
64496
64497
64498
64499
64500
64501
64502
64503
64504
64505
64506
64507
64508
64509
64510
64511
64512
64513
64514
64515
64516
64517
64518
64519
64520
64521
64522
64523
64524
64525
64526
64527
64528
64529
64530
64531
64532
64533
64534
64535
64536
64537
64538
64539
64540
64541
64542
64543
64544
64545
64546
64547
64548
64549
64550
64551
64552
64553
64554
64555
64556
64557
64558
64559
64560
64561
64562
64563
64564
64565
64566
64567
64568
64569
64570
64571
64572
64573
64574
64575
64576
64577
64578
64579
64580
64581
64582
64583
64584
64585
64586
64587
64588
64589
64590
64591
64592
64593
64594
64595
64596
64597
64598
64599
64600
64601
64602
64603
64604
64605
64606
64607
64608
64609
64610
64611
64612
64613
64614
64615
64616
64617
64618
64619
64620
64621
64622
64623
64624
64625
64626
64627
64628
64629
64630
64631
64632
64633
64634
64635
64636
64637
64638
64639
64640
64641
64642
64643
64644
64645
64646
64647
64648
64649
64650
64651
64652
64653
64654
64655
64656
64657
64658
64659
64660
64661
64662
64663
64664
64665
64666
64667
64668
64669
64670
64671
64672
64673
64674
64675
64676
64677
64678
64679
64680
64681
64682
64683
64684
64685
64686
64687
64688
64689
64690
64691
64692
64693
64694
64695
64696
64697
64698
64699
64700
64701
64702
64703
64704
64705
64706
64707
64708
64709
64710
64711
64712
64713
64714
64715
64716
64717
64718
64719
64720
64721
64722
64723
64724
64725
64726
64727
64728
64729
64730
64731
64732
64733
64734
64735
64736
64737
64738
64739
64740
64741
64742
64743
64744
64745
64746
64747
64748
64749
64750
64751
64752
64753
64754
64755
64756
64757
64758
64759
64760
64761
64762
64763
64764
64765
64766
64767
64768
64769
64770
64771
64772
64773
64774
64775
64776
64777
64778
64779
64780
64781
64782
64783
64784
64785
64786
64787
64788
64789
64790
64791
64792
64793
64794
64795
64796
64797
64798
64799
64800
64801
64802
64803
64804
64805
64806
64807
64808
64809
64810
64811
64812
64813
64814
64815
64816
64817
64818
64819
64820
64821
64822
64823
64824
64825
64826
64827
64828
64829
64830
64831
64832
64833
64834
64835
64836
64837
64838
64839
64840
64841
64842
64843
64844
64845
64846
64847
64848
64849
64850
64851
64852
64853
64854
64855
64856
64857
64858
64859
64860
64861
64862
64863
64864
64865
64866
64867
64868
64869
64870
64871
64872
64873
64874
64875
64876
64877
64878
64879
64880
64881
64882
64883
64884
64885
64886
64887
64888
64889
64890
64891
64892
64893
64894
64895
64896
64897
64898
64899
64900
64901
64902
64903
64904
64905
64906
64907
64908
64909
64910
64911
64912
64913
64914
64915
64916
64917
64918
64919
64920
64921
64922
64923
64924
64925
64926
64927
64928
64929
64930
64931
64932
64933
64934
64935
64936
64937
64938
64939
64940
64941
64942
64943
64944
64945
64946
64947
64948
64949
64950
64951
64952
64953
64954
64955
64956
64957
64958
64959
64960
64961
64962
64963
64964
64965
64966
64967
64968
64969
64970
64971
64972
64973
64974
64975
64976
64977
64978
64979
64980
64981
64982
64983
64984
64985
64986
64987
64988
64989
64990
64991
64992
64993
64994
64995
64996
64997
64998
64999
65000
65001
65002
65003
65004
65005
65006
65007
65008
65009
65010
65011
65012
65013
65014
65015
65016
65017
65018
65019
65020
65021
65022
65023
65024
65025
65026
65027
65028
65029
65030
65031
65032
65033
65034
65035
65036
65037
65038
65039
65040
65041
65042
65043
65044
65045
65046
65047
65048
65049
65050
65051
65052
65053
65054
65055
65056
65057
65058
65059
65060
65061
65062
65063
65064
65065
65066
65067
65068
65069
65070
65071
65072
65073
65074
65075
65076
65077
65078
65079
65080
65081
65082
65083
65084
65085
65086
65087
65088
65089
65090
65091
65092
65093
65094
65095
65096
65097
65098
65099
65100
65101
65102
65103
65104
65105
65106
65107
65108
65109
65110
65111
65112
65113
65114
65115
65116
65117
65118
65119
65120
65121
65122
65123
65124
65125
65126
65127
65128
65129
65130
65131
65132
65133
65134
65135
65136
65137
65138
65139
65140
65141
65142
65143
65144
65145
65146
65147
65148
65149
65150
65151
65152
65153
65154
65155
65156
65157
65158
65159
65160
65161
65162
65163
65164
65165
65166
65167
65168
65169
65170
65171
65172
65173
65174
65175
65176
65177
65178
65179
65180
65181
65182
65183
65184
65185
65186
65187
65188
65189
65190
65191
65192
65193
65194
65195
65196
65197
65198
65199
65200
65201
65202
65203
65204
65205
65206
65207
65208
65209
65210
65211
65212
65213
65214
65215
65216
65217
65218
65219
65220
65221
65222
65223
65224
65225
65226
65227
65228
65229
65230
65231
65232
65233
65234
65235
65236
65237
65238
65239
65240
65241
65242
65243
65244
65245
65246
65247
65248
65249
65250
65251
65252
65253
65254
65255
65256
65257
65258
65259
65260
65261
65262
65263
65264
65265
65266
65267
65268
65269
65270
65271
65272
65273
65274
65275
65276
65277
65278
65279
65280
65281
65282
65283
65284
65285
65286
65287
65288
65289
65290
65291
65292
65293
65294
65295
65296
65297
65298
65299
65300
65301
65302
65303
65304
65305
65306
65307
65308
65309
65310
65311
65312
65313
65314
65315
65316
65317
65318
65319
65320
65321
65322
65323
65324
65325
65326
65327
65328
65329
65330
65331
65332
65333
65334
65335
65336
65337
65338
65339
65340
65341
65342
65343
65344
65345
65346
65347
65348
65349
65350
65351
65352
65353
65354
65355
65356
65357
65358
65359
65360
65361
65362
65363
65364
65365
65366
65367
65368
65369
65370
65371
65372
65373
65374
65375
65376
65377
65378
65379
65380
65381
65382
65383
65384
65385
65386
65387
65388
65389
65390
65391
65392
65393
65394
65395
65396
65397
65398
65399
65400
65401
65402
65403
65404
65405
65406
65407
65408
65409
65410
65411
65412
65413
65414
65415
65416
65417
65418
65419
65420
65421
65422
65423
65424
65425
65426
65427
65428
65429
65430
65431
65432
65433
65434
65435
65436
65437
65438
65439
65440
65441
65442
65443
65444
65445
65446
65447
65448
65449
65450
65451
65452
65453
65454
65455
65456
65457
65458
65459
65460
65461
65462
65463
65464
65465
65466
65467
65468
65469
65470
65471
65472
65473
65474
65475
65476
65477
65478
65479
65480
65481
65482
65483
65484
65485
65486
65487
65488
65489
65490
65491
65492
65493
65494
65495
65496
65497
65498
65499
65500
65501
65502
65503
65504
65505
65506
65507
65508
65509
65510
65511
65512
65513
65514
65515
65516
65517
65518
65519
65520
65521
65522
65523
65524
65525
65526
65527
65528
65529
65530
65531
65532
65533
65534
65535
65536
65537
65538
65539
65540
65541
65542
65543
65544
65545
65546
65547
65548
65549
65550
65551
65552
65553
65554
65555
65556
65557
65558
65559
65560
65561
65562
65563
65564
65565
65566
65567
65568
65569
65570
65571
65572
65573
65574
65575
65576
65577
65578
65579
65580
65581
65582
65583
65584
65585
65586
65587
65588
65589
65590
65591
65592
65593
65594
65595
65596
65597
65598
65599
65600
65601
65602
65603
65604
65605
65606
65607
65608
65609
65610
65611
65612
65613
65614
65615
65616
65617
65618
65619
65620
65621
65622
65623
65624
65625
65626
65627
65628
65629
65630
65631
65632
65633
65634
65635
65636
65637
65638
65639
65640
65641
65642
65643
65644
65645
65646
65647
65648
65649
65650
65651
65652
65653
65654
65655
65656
65657
65658
65659
65660
65661
65662
65663
65664
65665
65666
65667
65668
65669
65670
65671
65672
65673
65674
65675
65676
65677
65678
65679
65680
65681
65682
65683
65684
65685
65686
65687
65688
65689
65690
65691
65692
65693
65694
65695
65696
65697
65698
65699
65700
65701
65702
65703
65704
65705
65706
65707
65708
65709
65710
65711
65712
65713
65714
65715
65716
65717
65718
65719
65720
65721
65722
65723
65724
65725
65726
65727
65728
65729
65730
65731
65732
65733
65734
65735
65736
65737
65738
65739
65740
65741
65742
65743
65744
65745
65746
65747
65748
65749
65750
65751
65752
65753
65754
65755
65756
65757
65758
65759
65760
65761
65762
65763
65764
65765
65766
65767
65768
65769
65770
65771
65772
65773
65774
65775
65776
65777
65778
65779
65780
65781
65782
65783
65784
65785
65786
65787
65788
65789
65790
65791
65792
65793
65794
65795
65796
65797
65798
65799
65800
65801
65802
65803
65804
65805
65806
65807
65808
65809
65810
65811
65812
65813
65814
65815
65816
65817
65818
65819
65820
65821
65822
65823
65824
65825
65826
65827
65828
65829
65830
65831
65832
65833
65834
65835
65836
65837
65838
65839
65840
65841
65842
65843
65844
65845
65846
65847
65848
65849
65850
65851
65852
65853
65854
65855
65856
65857
65858
65859
65860
65861
65862
65863
65864
65865
65866
65867
65868
65869
65870
65871
65872
65873
65874
65875
65876
65877
65878
65879
65880
65881
65882
65883
65884
65885
65886
65887
65888
65889
65890
65891
65892
65893
65894
65895
65896
65897
65898
65899
65900
65901
65902
65903
65904
65905
65906
65907
65908
65909
65910
65911
65912
65913
65914
65915
65916
65917
65918
65919
65920
65921
65922
65923
65924
65925
65926
65927
65928
65929
65930
65931
65932
65933
65934
65935
65936
65937
65938
65939
65940
65941
65942
65943
65944
65945
65946
65947
65948
65949
65950
65951
65952
65953
65954
65955
65956
65957
65958
65959
65960
65961
65962
65963
65964
65965
65966
65967
65968
65969
65970
65971
65972
65973
65974
65975
65976
65977
65978
65979
65980
65981
65982
65983
65984
65985
65986
65987
65988
65989
65990
65991
65992
65993
65994
65995
65996
65997
65998
65999
66000
66001
66002
66003
66004
66005
66006
66007
66008
66009
66010
66011
66012
66013
66014
66015
66016
66017
66018
66019
66020
66021
66022
66023
66024
66025
66026
66027
66028
66029
66030
66031
66032
66033
66034
66035
66036
66037
66038
66039
66040
66041
66042
66043
66044
66045
66046
66047
66048
66049
66050
66051
66052
66053
66054
66055
66056
66057
66058
66059
66060
66061
66062
66063
66064
66065
66066
66067
66068
66069
66070
66071
66072
66073
66074
66075
66076
66077
66078
66079
66080
66081
66082
66083
66084
66085
66086
66087
66088
66089
66090
66091
66092
66093
66094
66095
66096
66097
66098
66099
66100
66101
66102
66103
66104
66105
66106
66107
66108
66109
66110
66111
66112
66113
66114
66115
66116
66117
66118
66119
66120
66121
66122
66123
66124
66125
66126
66127
66128
66129
66130
66131
66132
66133
66134
66135
66136
66137
66138
66139
66140
66141
66142
66143
66144
66145
66146
66147
66148
66149
66150
66151
66152
66153
66154
66155
66156
66157
66158
66159
66160
66161
66162
66163
66164
66165
66166
66167
66168
66169
66170
66171
66172
66173
66174
66175
66176
66177
66178
66179
66180
66181
66182
66183
66184
66185
66186
66187
66188
66189
66190
66191
66192
66193
66194
66195
66196
66197
66198
66199
66200
66201
66202
66203
66204
66205
66206
66207
66208
66209
66210
66211
66212
66213
66214
66215
66216
66217
66218
66219
66220
66221
66222
66223
66224
66225
66226
66227
66228
66229
66230
66231
66232
66233
66234
66235
66236
66237
66238
66239
66240
66241
66242
66243
66244
66245
66246
66247
66248
66249
66250
66251
66252
66253
66254
66255
66256
66257
66258
66259
66260
66261
66262
66263
66264
66265
66266
66267
66268
66269
66270
66271
66272
66273
66274
66275
66276
66277
66278
66279
66280
66281
66282
66283
66284
66285
66286
66287
66288
66289
66290
66291
66292
66293
66294
66295
66296
66297
66298
66299
66300
66301
66302
66303
66304
66305
66306
66307
66308
66309
66310
66311
66312
66313
66314
66315
66316
66317
66318
66319
66320
66321
66322
66323
66324
66325
66326
66327
66328
66329
66330
66331
66332
66333
66334
66335
66336
66337
66338
66339
66340
66341
66342
66343
66344
66345
66346
66347
66348
66349
66350
66351
66352
66353
66354
66355
66356
66357
66358
66359
66360
66361
66362
66363
66364
66365
66366
66367
66368
66369
66370
66371
66372
66373
66374
66375
66376
66377
66378
66379
66380
66381
66382
66383
66384
66385
66386
66387
66388
66389
66390
66391
66392
66393
66394
66395
66396
66397
66398
66399
66400
66401
66402
66403
66404
66405
66406
66407
66408
66409
66410
66411
66412
66413
66414
66415
66416
66417
66418
66419
66420
66421
66422
66423
66424
66425
66426
66427
66428
66429
66430
66431
66432
66433
66434
66435
66436
66437
66438
66439
66440
66441
66442
66443
66444
66445
66446
66447
66448
66449
66450
66451
66452
66453
66454
66455
66456
66457
66458
66459
66460
66461
66462
66463
66464
66465
66466
66467
66468
66469
66470
66471
66472
66473
66474
66475
66476
66477
66478
66479
66480
66481
66482
66483
66484
66485
66486
66487
66488
66489
66490
66491
66492
66493
66494
66495
66496
66497
66498
66499
66500
66501
66502
66503
66504
66505
66506
66507
66508
66509
66510
66511
66512
66513
66514
66515
66516
66517
66518
66519
66520
66521
66522
66523
66524
66525
66526
66527
66528
66529
66530
66531
66532
66533
66534
66535
66536
66537
66538
66539
66540
66541
66542
66543
66544
66545
66546
66547
66548
66549
66550
66551
66552
66553
66554
66555
66556
66557
66558
66559
66560
66561
66562
66563
66564
66565
66566
66567
66568
66569
66570
66571
66572
66573
66574
66575
66576
66577
66578
66579
66580
66581
66582
66583
66584
66585
66586
66587
66588
66589
66590
66591
66592
66593
66594
66595
66596
66597
66598
66599
66600
66601
66602
66603
66604
66605
66606
66607
66608
66609
66610
66611
66612
66613
66614
66615
66616
66617
66618
66619
66620
66621
66622
66623
66624
66625
66626
66627
66628
66629
66630
66631
66632
66633
66634
66635
66636
66637
66638
66639
66640
66641
66642
66643
66644
66645
66646
66647
66648
66649
66650
66651
66652
66653
66654
66655
66656
66657
66658
66659
66660
66661
66662
66663
66664
66665
66666
66667
66668
66669
66670
66671
66672
66673
66674
66675
66676
66677
66678
66679
66680
66681
66682
66683
66684
66685
66686
66687
66688
66689
66690
66691
66692
66693
66694
66695
66696
66697
66698
66699
66700
66701
66702
66703
66704
66705
66706
66707
66708
66709
66710
66711
66712
66713
66714
66715
66716
66717
66718
66719
66720
66721
66722
66723
66724
66725
66726
66727
66728
66729
66730
66731
66732
66733
66734
66735
66736
66737
66738
66739
66740
66741
66742
66743
66744
66745
66746
66747
66748
66749
66750
66751
66752
66753
66754
66755
66756
66757
66758
66759
66760
66761
66762
66763
66764
66765
66766
66767
66768
66769
66770
66771
66772
66773
66774
66775
66776
66777
66778
66779
66780
66781
66782
66783
66784
66785
66786
66787
66788
66789
66790
66791
66792
66793
66794
66795
66796
66797
66798
66799
66800
66801
66802
66803
66804
66805
66806
66807
66808
66809
66810
66811
66812
66813
66814
66815
66816
66817
66818
66819
66820
66821
66822
66823
66824
66825
66826
66827
66828
66829
66830
66831
66832
66833
66834
66835
66836
66837
66838
66839
66840
66841
66842
66843
66844
66845
66846
66847
66848
66849
66850
66851
66852
66853
66854
66855
66856
66857
66858
66859
66860
66861
66862
66863
66864
66865
66866
66867
66868
66869
66870
66871
66872
66873
66874
66875
66876
66877
66878
66879
66880
66881
66882
66883
66884
66885
66886
66887
66888
66889
66890
66891
66892
66893
66894
66895
66896
66897
66898
66899
66900
66901
66902
66903
66904
66905
66906
66907
66908
66909
66910
66911
66912
66913
66914
66915
66916
66917
66918
66919
66920
66921
66922
66923
66924
66925
66926
66927
66928
66929
66930
66931
66932
66933
66934
66935
66936
66937
66938
66939
66940
66941
66942
66943
66944
66945
66946
66947
66948
66949
66950
66951
66952
66953
66954
66955
66956
66957
66958
66959
66960
66961
66962
66963
66964
66965
66966
66967
66968
66969
66970
66971
66972
66973
66974
66975
66976
66977
66978
66979
66980
66981
66982
66983
66984
66985
66986
66987
66988
66989
66990
66991
66992
66993
66994
66995
66996
66997
66998
66999
67000
67001
67002
67003
67004
67005
67006
67007
67008
67009
67010
67011
67012
67013
67014
67015
67016
67017
67018
67019
67020
67021
67022
67023
67024
67025
67026
67027
67028
67029
67030
67031
67032
67033
67034
67035
67036
67037
67038
67039
67040
67041
67042
67043
67044
67045
67046
67047
67048
67049
67050
67051
67052
67053
67054
67055
67056
67057
67058
67059
67060
67061
67062
67063
67064
67065
67066
67067
67068
67069
67070
67071
67072
67073
67074
67075
67076
67077
67078
67079
67080
67081
67082
67083
67084
67085
67086
67087
67088
67089
67090
67091
67092
67093
67094
67095
67096
67097
67098
67099
67100
67101
67102
67103
67104
67105
67106
67107
67108
67109
67110
67111
67112
67113
67114
67115
67116
67117
67118
67119
67120
67121
67122
67123
67124
67125
67126
67127
67128
67129
67130
67131
67132
67133
67134
67135
67136
67137
67138
67139
67140
67141
67142
67143
67144
67145
67146
67147
67148
67149
67150
67151
67152
67153
67154
67155
67156
67157
67158
67159
67160
67161
67162
67163
67164
67165
67166
67167
67168
67169
67170
67171
67172
67173
67174
67175
67176
67177
67178
67179
67180
67181
67182
67183
67184
67185
67186
67187
67188
67189
67190
67191
67192
67193
67194
67195
67196
67197
67198
67199
67200
67201
67202
67203
67204
67205
67206
67207
67208
67209
67210
67211
67212
67213
67214
67215
67216
67217
67218
67219
67220
67221
67222
67223
67224
67225
67226
67227
67228
67229
67230
67231
67232
67233
67234
67235
67236
67237
67238
67239
67240
67241
67242
67243
67244
67245
67246
67247
67248
67249
67250
67251
67252
67253
67254
67255
67256
67257
67258
67259
67260
67261
67262
67263
67264
67265
67266
67267
67268
67269
67270
67271
67272
67273
67274
67275
67276
67277
67278
67279
67280
67281
67282
67283
67284
67285
67286
67287
67288
67289
67290
67291
67292
67293
67294
67295
67296
67297
67298
67299
67300
67301
67302
67303
67304
67305
67306
67307
67308
67309
67310
67311
67312
67313
67314
67315
67316
67317
67318
67319
67320
67321
67322
67323
67324
67325
67326
67327
67328
67329
67330
67331
67332
67333
67334
67335
67336
67337
67338
67339
67340
67341
67342
67343
67344
67345
67346
67347
67348
67349
67350
67351
67352
67353
67354
67355
67356
67357
67358
67359
67360
67361
67362
67363
67364
67365
67366
67367
67368
67369
67370
67371
67372
67373
67374
67375
67376
67377
67378
67379
67380
67381
67382
67383
67384
67385
67386
67387
67388
67389
67390
67391
67392
67393
67394
67395
67396
67397
67398
67399
67400
67401
67402
67403
67404
67405
67406
67407
67408
67409
67410
67411
67412
67413
67414
67415
67416
67417
67418
67419
67420
67421
67422
67423
67424
67425
67426
67427
67428
67429
67430
67431
67432
67433
67434
67435
67436
67437
67438
67439
67440
67441
67442
67443
67444
67445
67446
67447
67448
67449
67450
67451
67452
67453
67454
67455
67456
67457
67458
67459
67460
67461
67462
67463
67464
67465
67466
67467
67468
67469
67470
67471
67472
67473
67474
67475
67476
67477
67478
67479
67480
67481
67482
67483
67484
67485
67486
67487
67488
67489
67490
67491
67492
67493
67494
67495
67496
67497
67498
67499
67500
67501
67502
67503
67504
67505
67506
67507
67508
67509
67510
67511
67512
67513
67514
67515
67516
67517
67518
67519
67520
67521
67522
67523
67524
67525
67526
67527
67528
67529
67530
67531
67532
67533
67534
67535
67536
67537
67538
67539
67540
67541
67542
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552
67553
67554
67555
67556
67557
67558
67559
67560
67561
67562
67563
67564
67565
67566
67567
67568
67569
67570
67571
67572
67573
67574
67575
67576
67577
67578
67579
67580
67581
67582
67583
67584
67585
67586
67587
67588
67589
67590
67591
67592
67593
67594
67595
67596
67597
67598
67599
67600
67601
67602
67603
67604
67605
67606
67607
67608
67609
67610
67611
67612
67613
67614
67615
67616
67617
67618
67619
67620
67621
67622
67623
67624
67625
67626
67627
67628
67629
67630
67631
67632
67633
67634
67635
67636
67637
67638
67639
67640
67641
67642
67643
67644
67645
67646
67647
67648
67649
67650
67651
67652
67653
67654
67655
67656
67657
67658
67659
67660
67661
67662
67663
67664
67665
67666
67667
67668
67669
67670
67671
67672
67673
67674
67675
67676
67677
67678
67679
67680
67681
67682
67683
67684
67685
67686
67687
67688
67689
67690
67691
67692
67693
67694
67695
67696
67697
67698
67699
67700
67701
67702
67703
67704
67705
67706
67707
67708
67709
67710
67711
67712
67713
67714
67715
67716
67717
67718
67719
67720
67721
67722
67723
67724
67725
67726
67727
67728
67729
67730
67731
67732
67733
67734
67735
67736
67737
67738
67739
67740
67741
67742
67743
67744
67745
67746
67747
67748
67749
67750
67751
67752
67753
67754
67755
67756
67757
67758
67759
67760
67761
67762
67763
67764
67765
67766
67767
67768
67769
67770
67771
67772
67773
67774
67775
67776
67777
67778
67779
67780
67781
67782
67783
67784
67785
67786
67787
67788
67789
67790
67791
67792
67793
67794
67795
67796
67797
67798
67799
67800
67801
67802
67803
67804
67805
67806
67807
67808
67809
67810
67811
67812
67813
67814
67815
67816
67817
67818
67819
67820
67821
67822
67823
67824
67825
67826
67827
67828
67829
67830
67831
67832
67833
67834
67835
67836
67837
67838
67839
67840
67841
67842
67843
67844
67845
67846
67847
67848
67849
67850
67851
67852
67853
67854
67855
67856
67857
67858
67859
67860
67861
67862
67863
67864
67865
67866
67867
67868
67869
67870
67871
67872
67873
67874
67875
67876
67877
67878
67879
67880
67881
67882
67883
67884
67885
67886
67887
67888
67889
67890
67891
67892
67893
67894
67895
67896
67897
67898
67899
67900
67901
67902
67903
67904
67905
67906
67907
67908
67909
67910
67911
67912
67913
67914
67915
67916
67917
67918
67919
67920
67921
67922
67923
67924
67925
67926
67927
67928
67929
67930
67931
67932
67933
67934
67935
67936
67937
67938
67939
67940
67941
67942
67943
67944
67945
67946
67947
67948
67949
67950
67951
67952
67953
67954
67955
67956
67957
67958
67959
67960
67961
67962
67963
67964
67965
67966
67967
67968
67969
67970
67971
67972
67973
67974
67975
67976
67977
67978
67979
67980
67981
67982
67983
67984
67985
67986
67987
67988
67989
67990
67991
67992
67993
67994
67995
67996
67997
67998
67999
68000
68001
68002
68003
68004
68005
68006
68007
68008
68009
68010
68011
68012
68013
68014
68015
68016
68017
68018
68019
68020
68021
68022
68023
68024
68025
68026
68027
68028
68029
68030
68031
68032
68033
68034
68035
68036
68037
68038
68039
68040
68041
68042
68043
68044
68045
68046
68047
68048
68049
68050
68051
68052
68053
68054
68055
68056
68057
68058
68059
68060
68061
68062
68063
68064
68065
68066
68067
68068
68069
68070
68071
68072
68073
68074
68075
68076
68077
68078
68079
68080
68081
68082
68083
68084
68085
68086
68087
68088
68089
68090
68091
68092
68093
68094
68095
68096
68097
68098
68099
68100
68101
68102
68103
68104
68105
68106
68107
68108
68109
68110
68111
68112
68113
68114
68115
68116
68117
68118
68119
68120
68121
68122
68123
68124
68125
68126
68127
68128
68129
68130
68131
68132
68133
68134
68135
68136
68137
68138
68139
68140
68141
68142
68143
68144
68145
68146
68147
68148
68149
68150
68151
68152
68153
68154
68155
68156
68157
68158
68159
68160
68161
68162
68163
68164
68165
68166
68167
68168
68169
68170
68171
68172
68173
68174
68175
68176
68177
68178
68179
68180
68181
68182
68183
68184
68185
68186
68187
68188
68189
68190
68191
68192
68193
68194
68195
68196
68197
68198
68199
68200
68201
68202
68203
68204
68205
68206
68207
68208
68209
68210
68211
68212
68213
68214
68215
68216
68217
68218
68219
68220
68221
68222
68223
68224
68225
68226
68227
68228
68229
68230
68231
68232
68233
68234
68235
68236
68237
68238
68239
68240
68241
68242
68243
68244
68245
68246
68247
68248
68249
68250
68251
68252
68253
68254
68255
68256
68257
68258
68259
68260
68261
68262
68263
68264
68265
68266
68267
68268
68269
68270
68271
68272
68273
68274
68275
68276
68277
68278
68279
68280
68281
68282
68283
68284
68285
68286
68287
68288
68289
68290
68291
68292
68293
68294
68295
68296
68297
68298
68299
68300
68301
68302
68303
68304
68305
68306
68307
68308
68309
68310
68311
68312
68313
68314
68315
68316
68317
68318
68319
68320
68321
68322
68323
68324
68325
68326
68327
68328
68329
68330
68331
68332
68333
68334
68335
68336
68337
68338
68339
68340
68341
68342
68343
68344
68345
68346
68347
68348
68349
68350
68351
68352
68353
68354
68355
68356
68357
68358
68359
68360
68361
68362
68363
68364
68365
68366
68367
68368
68369
68370
68371
68372
68373
68374
68375
68376
68377
68378
68379
68380
68381
68382
68383
68384
68385
68386
68387
68388
68389
68390
68391
68392
68393
68394
68395
68396
68397
68398
68399
68400
68401
68402
68403
68404
68405
68406
68407
68408
68409
68410
68411
68412
68413
68414
68415
68416
68417
68418
68419
68420
68421
68422
68423
68424
68425
68426
68427
68428
68429
68430
68431
68432
68433
68434
68435
68436
68437
68438
68439
68440
68441
68442
68443
68444
68445
68446
68447
68448
68449
68450
68451
68452
68453
68454
68455
68456
68457
68458
68459
68460
68461
68462
68463
68464
68465
68466
68467
68468
68469
68470
68471
68472
68473
68474
68475
68476
68477
68478
68479
68480
68481
68482
68483
68484
68485
68486
68487
68488
68489
68490
68491
68492
68493
68494
68495
68496
68497
68498
68499
68500
68501
68502
68503
68504
68505
68506
68507
68508
68509
68510
68511
68512
68513
68514
68515
68516
68517
68518
68519
68520
68521
68522
68523
68524
68525
68526
68527
68528
68529
68530
68531
68532
68533
68534
68535
68536
68537
68538
68539
68540
68541
68542
68543
68544
68545
68546
68547
68548
68549
68550
68551
68552
68553
68554
68555
68556
68557
68558
68559
68560
68561
68562
68563
68564
68565
68566
68567
68568
68569
68570
68571
68572
68573
68574
68575
68576
68577
68578
68579
68580
68581
68582
68583
68584
68585
68586
68587
68588
68589
68590
68591
68592
68593
68594
68595
68596
68597
68598
68599
68600
68601
68602
68603
68604
68605
68606
68607
68608
68609
68610
68611
68612
68613
68614
68615
68616
68617
68618
68619
68620
68621
68622
68623
68624
68625
68626
68627
68628
68629
68630
68631
68632
68633
68634
68635
68636
68637
68638
68639
68640
68641
68642
68643
68644
68645
68646
68647
68648
68649
68650
68651
68652
68653
68654
68655
68656
68657
68658
68659
68660
68661
68662
68663
68664
68665
68666
68667
68668
68669
68670
68671
68672
68673
68674
68675
68676
68677
68678
68679
68680
68681
68682
68683
68684
68685
68686
68687
68688
68689
68690
68691
68692
68693
68694
68695
68696
68697
68698
68699
68700
68701
68702
68703
68704
68705
68706
68707
68708
68709
68710
68711
68712
68713
68714
68715
68716
68717
68718
68719
68720
68721
68722
68723
68724
68725
68726
68727
68728
68729
68730
68731
68732
68733
68734
68735
68736
68737
68738
68739
68740
68741
68742
68743
68744
68745
68746
68747
68748
68749
68750
68751
68752
68753
68754
68755
68756
68757
68758
68759
68760
68761
68762
68763
68764
68765
68766
68767
68768
68769
68770
68771
68772
68773
68774
68775
68776
68777
68778
68779
68780
68781
68782
68783
68784
68785
68786
68787
68788
68789
68790
68791
68792
68793
68794
68795
68796
68797
68798
68799
68800
68801
68802
68803
68804
68805
68806
68807
68808
68809
68810
68811
68812
68813
68814
68815
68816
68817
68818
68819
68820
68821
68822
68823
68824
68825
68826
68827
68828
68829
68830
68831
68832
68833
68834
68835
68836
68837
68838
68839
68840
68841
68842
68843
68844
68845
68846
68847
68848
68849
68850
68851
68852
68853
68854
68855
68856
68857
68858
68859
68860
68861
68862
68863
68864
68865
68866
68867
68868
68869
68870
68871
68872
68873
68874
68875
68876
68877
68878
68879
68880
68881
68882
68883
68884
68885
68886
68887
68888
68889
68890
68891
68892
68893
68894
68895
68896
68897
68898
68899
68900
68901
68902
68903
68904
68905
68906
68907
68908
68909
68910
68911
68912
68913
68914
68915
68916
68917
68918
68919
68920
68921
68922
68923
68924
68925
68926
68927
68928
68929
68930
68931
68932
68933
68934
68935
68936
68937
68938
68939
68940
68941
68942
68943
68944
68945
68946
68947
68948
68949
68950
68951
68952
68953
68954
68955
68956
68957
68958
68959
68960
68961
68962
68963
68964
68965
68966
68967
68968
68969
68970
68971
68972
68973
68974
68975
68976
68977
68978
68979
68980
68981
68982
68983
68984
68985
68986
68987
68988
68989
68990
68991
68992
68993
68994
68995
68996
68997
68998
68999
69000
69001
69002
69003
69004
69005
69006
69007
69008
69009
69010
69011
69012
69013
69014
69015
69016
69017
69018
69019
69020
69021
69022
69023
69024
69025
69026
69027
69028
69029
69030
69031
69032
69033
69034
69035
69036
69037
69038
69039
69040
69041
69042
69043
69044
69045
69046
69047
69048
69049
69050
69051
69052
69053
69054
69055
69056
69057
69058
69059
69060
69061
69062
69063
69064
69065
69066
69067
69068
69069
69070
69071
69072
69073
69074
69075
69076
69077
69078
69079
69080
69081
69082
69083
69084
69085
69086
69087
69088
69089
69090
69091
69092
69093
69094
69095
69096
69097
69098
69099
69100
69101
69102
69103
69104
69105
69106
69107
69108
69109
69110
69111
69112
69113
69114
69115
69116
69117
69118
69119
69120
69121
69122
69123
69124
69125
69126
69127
69128
69129
69130
69131
69132
69133
69134
69135
69136
69137
69138
69139
69140
69141
69142
69143
69144
69145
69146
69147
69148
69149
69150
69151
69152
69153
69154
69155
69156
69157
69158
69159
69160
69161
69162
69163
69164
69165
69166
69167
69168
69169
69170
69171
69172
69173
69174
69175
69176
69177
69178
69179
69180
69181
69182
69183
69184
69185
69186
69187
69188
69189
69190
69191
69192
69193
69194
69195
69196
69197
69198
69199
69200
69201
69202
69203
69204
69205
69206
69207
69208
69209
69210
69211
69212
69213
69214
69215
69216
69217
69218
69219
69220
69221
69222
69223
69224
69225
69226
69227
69228
69229
69230
69231
69232
69233
69234
69235
69236
69237
69238
69239
69240
69241
69242
69243
69244
69245
69246
69247
69248
69249
69250
69251
69252
69253
69254
69255
69256
69257
69258
69259
69260
69261
69262
69263
69264
69265
69266
69267
69268
69269
69270
69271
69272
69273
69274
69275
69276
69277
69278
69279
69280
69281
69282
69283
69284
69285
69286
69287
69288
69289
69290
69291
69292
69293
69294
69295
69296
69297
69298
69299
69300
69301
69302
69303
69304
69305
69306
69307
69308
69309
69310
69311
69312
69313
69314
69315
69316
69317
69318
69319
69320
69321
69322
69323
69324
69325
69326
69327
69328
69329
69330
69331
69332
69333
69334
69335
69336
69337
69338
69339
69340
69341
69342
69343
69344
69345
69346
69347
69348
69349
69350
69351
69352
69353
69354
69355
69356
69357
69358
69359
69360
69361
69362
69363
69364
69365
69366
69367
69368
69369
69370
69371
69372
69373
69374
69375
69376
69377
69378
69379
69380
69381
69382
69383
69384
69385
69386
69387
69388
69389
69390
69391
69392
69393
69394
69395
69396
69397
69398
69399
69400
69401
69402
69403
69404
69405
69406
69407
69408
69409
69410
69411
69412
69413
69414
69415
69416
69417
69418
69419
69420
69421
69422
69423
69424
69425
69426
69427
69428
69429
69430
69431
69432
69433
69434
69435
69436
69437
69438
69439
69440
69441
69442
69443
69444
69445
69446
69447
69448
69449
69450
69451
69452
69453
69454
69455
69456
69457
69458
69459
69460
69461
69462
69463
69464
69465
69466
69467
69468
69469
69470
69471
69472
69473
69474
69475
69476
69477
69478
69479
69480
69481
69482
69483
69484
69485
69486
69487
69488
69489
69490
69491
69492
69493
69494
69495
69496
69497
69498
69499
69500
69501
69502
69503
69504
69505
69506
69507
69508
69509
69510
69511
69512
69513
69514
69515
69516
69517
69518
69519
69520
69521
69522
69523
69524
69525
69526
69527
69528
69529
69530
69531
69532
69533
69534
69535
69536
69537
69538
69539
69540
69541
69542
69543
69544
69545
69546
69547
69548
69549
69550
69551
69552
69553
69554
69555
69556
69557
69558
69559
69560
69561
69562
69563
69564
69565
69566
69567
69568
69569
69570
69571
69572
69573
69574
69575
69576
69577
69578
69579
69580
69581
69582
69583
69584
69585
69586
69587
69588
69589
69590
69591
69592
69593
69594
69595
69596
69597
69598
69599
69600
69601
69602
69603
69604
69605
69606
69607
69608
69609
69610
69611
69612
69613
69614
69615
69616
69617
69618
69619
69620
69621
69622
69623
69624
69625
69626
69627
69628
69629
69630
69631
69632
69633
69634
69635
69636
69637
69638
69639
69640
69641
69642
69643
69644
69645
69646
69647
69648
69649
69650
69651
69652
69653
69654
69655
69656
69657
69658
69659
69660
69661
69662
69663
69664
69665
69666
69667
69668
69669
69670
69671
69672
69673
69674
69675
69676
69677
69678
69679
69680
69681
69682
69683
69684
69685
69686
69687
69688
69689
69690
69691
69692
69693
69694
69695
69696
69697
69698
69699
69700
69701
69702
69703
69704
69705
69706
69707
69708
69709
69710
69711
69712
69713
69714
69715
69716
69717
69718
69719
69720
69721
69722
69723
69724
69725
69726
69727
69728
69729
69730
69731
69732
69733
69734
69735
69736
69737
69738
69739
69740
69741
69742
69743
69744
69745
69746
69747
69748
69749
69750
69751
69752
69753
69754
69755
69756
69757
69758
69759
69760
69761
69762
69763
69764
69765
69766
69767
69768
69769
69770
69771
69772
69773
69774
69775
69776
69777
69778
69779
69780
69781
69782
69783
69784
69785
69786
69787
69788
69789
69790
69791
69792
69793
69794
69795
69796
69797
69798
69799
69800
69801
69802
69803
69804
69805
69806
69807
69808
69809
69810
69811
69812
69813
69814
69815
69816
69817
69818
69819
69820
69821
69822
69823
69824
69825
69826
69827
69828
69829
69830
69831
69832
69833
69834
69835
69836
69837
69838
69839
69840
69841
69842
69843
69844
69845
69846
69847
69848
69849
69850
69851
69852
69853
69854
69855
69856
69857
69858
69859
69860
69861
69862
69863
69864
69865
69866
69867
69868
69869
69870
69871
69872
69873
69874
69875
69876
69877
69878
69879
69880
69881
69882
69883
69884
69885
69886
69887
69888
69889
69890
69891
69892
69893
69894
69895
69896
69897
69898
69899
69900
69901
69902
69903
69904
69905
69906
69907
69908
69909
69910
69911
69912
69913
69914
69915
69916
69917
69918
69919
69920
69921
69922
69923
69924
69925
69926
69927
69928
69929
69930
69931
69932
69933
69934
69935
69936
69937
69938
69939
69940
69941
69942
69943
69944
69945
69946
69947
69948
69949
69950
69951
69952
69953
69954
69955
69956
69957
69958
69959
69960
69961
69962
69963
69964
69965
69966
69967
69968
69969
69970
69971
69972
69973
69974
69975
69976
69977
69978
69979
69980
69981
69982
69983
69984
69985
69986
69987
69988
69989
69990
69991
69992
69993
69994
69995
69996
69997
69998
69999
70000
70001
70002
70003
70004
70005
70006
70007
70008
70009
70010
70011
70012
70013
70014
70015
70016
70017
70018
70019
70020
70021
70022
70023
70024
70025
70026
70027
70028
70029
70030
70031
70032
70033
70034
70035
70036
70037
70038
70039
70040
70041
70042
70043
70044
70045
70046
70047
70048
70049
70050
70051
70052
70053
70054
70055
70056
70057
70058
70059
70060
70061
70062
70063
70064
70065
70066
70067
70068
70069
70070
70071
70072
70073
70074
70075
70076
70077
70078
70079
70080
70081
70082
70083
70084
70085
70086
70087
70088
70089
70090
70091
70092
70093
70094
70095
70096
70097
70098
70099
70100
70101
70102
70103
70104
70105
70106
70107
70108
70109
70110
70111
70112
70113
70114
70115
70116
70117
70118
70119
70120
70121
70122
70123
70124
70125
70126
70127
70128
70129
70130
70131
70132
70133
70134
70135
70136
70137
70138
70139
70140
70141
70142
70143
70144
70145
70146
70147
70148
70149
70150
70151
70152
70153
70154
70155
70156
70157
70158
70159
70160
70161
70162
70163
70164
70165
70166
70167
70168
70169
70170
70171
70172
70173
70174
70175
70176
70177
70178
70179
70180
70181
70182
70183
70184
70185
70186
70187
70188
70189
70190
70191
70192
70193
70194
70195
70196
70197
70198
70199
70200
70201
70202
70203
70204
70205
70206
70207
70208
70209
70210
70211
70212
70213
70214
70215
70216
70217
70218
70219
70220
70221
70222
70223
70224
70225
70226
70227
70228
70229
70230
70231
70232
70233
70234
70235
70236
70237
70238
70239
70240
70241
70242
70243
70244
70245
70246
70247
70248
70249
70250
70251
70252
70253
70254
70255
70256
70257
70258
70259
70260
70261
70262
70263
70264
70265
70266
70267
70268
70269
70270
70271
70272
70273
70274
70275
70276
70277
70278
70279
70280
70281
70282
70283
70284
70285
70286
70287
70288
70289
70290
70291
70292
70293
70294
70295
70296
70297
70298
70299
70300
70301
70302
70303
70304
70305
70306
70307
70308
70309
70310
70311
70312
70313
70314
70315
70316
70317
70318
70319
70320
70321
70322
70323
70324
70325
70326
70327
70328
70329
70330
70331
70332
70333
70334
70335
70336
70337
70338
70339
70340
70341
70342
70343
70344
70345
70346
70347
70348
70349
70350
70351
70352
70353
70354
70355
70356
70357
70358
70359
70360
70361
70362
70363
70364
70365
70366
70367
70368
70369
70370
70371
70372
70373
70374
70375
70376
70377
70378
70379
70380
70381
70382
70383
70384
70385
70386
70387
70388
70389
70390
70391
70392
70393
70394
70395
70396
70397
70398
70399
70400
70401
70402
70403
70404
70405
70406
70407
70408
70409
70410
70411
70412
70413
70414
70415
70416
70417
70418
70419
70420
70421
70422
70423
70424
70425
70426
70427
70428
70429
70430
70431
70432
70433
70434
70435
70436
70437
70438
70439
70440
70441
70442
70443
70444
70445
70446
70447
70448
70449
70450
70451
70452
70453
70454
70455
70456
70457
70458
70459
70460
70461
70462
70463
70464
70465
70466
70467
70468
70469
70470
70471
70472
70473
70474
70475
70476
70477
70478
70479
70480
70481
70482
70483
70484
70485
70486
70487
70488
70489
70490
70491
70492
70493
70494
70495
70496
70497
70498
70499
70500
70501
70502
70503
70504
70505
70506
70507
70508
70509
70510
70511
70512
70513
70514
70515
70516
70517
70518
70519
70520
70521
70522
70523
70524
70525
70526
70527
70528
70529
70530
70531
70532
70533
70534
70535
70536
70537
70538
70539
70540
70541
70542
70543
70544
70545
70546
70547
70548
70549
70550
70551
70552
70553
70554
70555
70556
70557
70558
70559
70560
70561
70562
70563
70564
70565
70566
70567
70568
70569
70570
70571
70572
70573
70574
70575
70576
70577
70578
70579
70580
70581
70582
70583
70584
70585
70586
70587
70588
70589
70590
70591
70592
70593
70594
70595
70596
70597
70598
70599
70600
70601
70602
70603
70604
70605
70606
70607
70608
70609
70610
70611
70612
70613
70614
70615
70616
70617
70618
70619
70620
70621
70622
70623
70624
70625
70626
70627
70628
70629
70630
70631
70632
70633
70634
70635
70636
70637
70638
70639
70640
70641
70642
70643
70644
70645
70646
70647
70648
70649
70650
70651
70652
70653
70654
70655
70656
70657
70658
70659
70660
70661
70662
70663
70664
70665
70666
70667
70668
70669
70670
70671
70672
70673
70674
70675
70676
70677
70678
70679
70680
70681
70682
70683
70684
70685
70686
70687
70688
70689
70690
70691
70692
70693
70694
70695
70696
70697
70698
70699
70700
70701
70702
70703
70704
70705
70706
70707
70708
70709
70710
70711
70712
70713
70714
70715
70716
70717
70718
70719
70720
70721
70722
70723
70724
70725
70726
70727
70728
70729
70730
70731
70732
70733
70734
70735
70736
70737
70738
70739
70740
70741
70742
70743
70744
70745
70746
70747
70748
70749
70750
70751
70752
70753
70754
70755
70756
70757
70758
70759
70760
70761
70762
70763
70764
70765
70766
70767
70768
70769
70770
70771
70772
70773
70774
70775
70776
70777
70778
70779
70780
70781
70782
70783
70784
70785
70786
70787
70788
70789
70790
70791
70792
70793
70794
70795
70796
70797
70798
70799
70800
70801
70802
70803
70804
70805
70806
70807
70808
70809
70810
70811
70812
70813
70814
70815
70816
70817
70818
70819
70820
70821
70822
70823
70824
70825
70826
70827
70828
70829
70830
70831
70832
70833
70834
70835
70836
70837
70838
70839
70840
70841
70842
70843
70844
70845
70846
70847
70848
70849
70850
70851
70852
70853
70854
70855
70856
70857
70858
70859
70860
70861
70862
70863
70864
70865
70866
70867
70868
70869
70870
70871
70872
70873
70874
70875
70876
70877
70878
70879
70880
70881
70882
70883
70884
70885
70886
70887
70888
70889
70890
70891
70892
70893
70894
70895
70896
70897
70898
70899
70900
70901
70902
70903
70904
70905
70906
70907
70908
70909
70910
70911
70912
70913
70914
70915
70916
70917
70918
70919
70920
70921
70922
70923
70924
70925
70926
70927
70928
70929
70930
70931
70932
70933
70934
70935
70936
70937
70938
70939
70940
70941
70942
70943
70944
70945
70946
70947
70948
70949
70950
70951
70952
70953
70954
70955
70956
70957
70958
70959
70960
70961
70962
70963
70964
70965
70966
70967
70968
70969
70970
70971
70972
70973
70974
70975
70976
70977
70978
70979
70980
70981
70982
70983
70984
70985
70986
70987
70988
70989
70990
70991
70992
70993
70994
70995
70996
70997
70998
70999
71000
71001
71002
71003
71004
71005
71006
71007
71008
71009
71010
71011
71012
71013
71014
71015
71016
71017
71018
71019
71020
71021
71022
71023
71024
71025
71026
71027
71028
71029
71030
71031
71032
71033
71034
71035
71036
71037
71038
71039
71040
71041
71042
71043
71044
71045
71046
71047
71048
71049
71050
71051
71052
71053
71054
71055
71056
71057
71058
71059
71060
71061
71062
71063
71064
71065
71066
71067
71068
71069
71070
71071
71072
71073
71074
71075
71076
71077
71078
71079
71080
71081
71082
71083
71084
71085
71086
71087
71088
71089
71090
71091
71092
71093
71094
71095
71096
71097
71098
71099
71100
71101
71102
71103
71104
71105
71106
71107
71108
71109
71110
71111
71112
71113
71114
71115
71116
71117
71118
71119
71120
71121
71122
71123
71124
71125
71126
71127
71128
71129
71130
71131
71132
71133
71134
71135
71136
71137
71138
71139
71140
71141
71142
71143
71144
71145
71146
71147
71148
71149
71150
71151
71152
71153
71154
71155
71156
71157
71158
71159
71160
71161
71162
71163
71164
71165
71166
71167
71168
71169
71170
71171
71172
71173
71174
71175
71176
71177
71178
71179
71180
71181
71182
71183
71184
71185
71186
71187
71188
71189
71190
71191
71192
71193
71194
71195
71196
71197
71198
71199
71200
71201
71202
71203
71204
71205
71206
71207
71208
71209
71210
71211
71212
71213
71214
71215
71216
71217
71218
71219
71220
71221
71222
71223
71224
71225
71226
71227
71228
71229
71230
71231
71232
71233
71234
71235
71236
71237
71238
71239
71240
71241
71242
71243
71244
71245
71246
71247
71248
71249
71250
71251
71252
71253
71254
71255
71256
71257
71258
71259
71260
71261
71262
71263
71264
71265
71266
71267
71268
71269
71270
71271
71272
71273
71274
71275
71276
71277
71278
71279
71280
71281
71282
71283
71284
71285
71286
71287
71288
71289
71290
71291
71292
71293
71294
71295
71296
71297
71298
71299
71300
71301
71302
71303
71304
71305
71306
71307
71308
71309
71310
71311
71312
71313
71314
71315
71316
71317
71318
71319
71320
71321
71322
71323
71324
71325
71326
71327
71328
71329
71330
71331
71332
71333
71334
71335
71336
71337
71338
71339
71340
71341
71342
71343
71344
71345
71346
71347
71348
71349
71350
71351
71352
71353
71354
71355
71356
71357
71358
71359
71360
71361
71362
71363
71364
71365
71366
71367
71368
71369
71370
71371
71372
71373
71374
71375
71376
71377
71378
71379
71380
71381
71382
71383
71384
71385
71386
71387
71388
71389
71390
71391
71392
71393
71394
71395
71396
71397
71398
71399
71400
71401
71402
71403
71404
71405
71406
71407
71408
71409
71410
71411
71412
71413
71414
71415
71416
71417
71418
71419
71420
71421
71422
71423
71424
71425
71426
71427
71428
71429
71430
71431
71432
71433
71434
71435
71436
71437
71438
71439
71440
71441
71442
71443
71444
71445
71446
71447
71448
71449
71450
71451
71452
71453
71454
71455
71456
71457
71458
71459
71460
71461
71462
71463
71464
71465
71466
71467
71468
71469
71470
71471
71472
71473
71474
71475
71476
71477
71478
71479
71480
71481
71482
71483
71484
71485
71486
71487
71488
71489
71490
71491
71492
71493
71494
71495
71496
71497
71498
71499
71500
71501
71502
71503
71504
71505
71506
71507
71508
71509
71510
71511
71512
71513
71514
71515
71516
71517
71518
71519
71520
71521
71522
71523
71524
71525
71526
71527
71528
71529
71530
71531
71532
71533
71534
71535
71536
71537
71538
71539
71540
71541
71542
71543
71544
71545
71546
71547
71548
71549
71550
71551
71552
71553
71554
71555
71556
71557
71558
71559
71560
71561
71562
71563
71564
71565
71566
71567
71568
71569
71570
71571
71572
71573
71574
71575
71576
71577
71578
71579
71580
71581
71582
71583
71584
71585
71586
71587
71588
71589
71590
71591
71592
71593
71594
71595
71596
71597
71598
71599
71600
71601
71602
71603
71604
71605
71606
71607
71608
71609
71610
71611
71612
71613
71614
71615
71616
71617
71618
71619
71620
71621
71622
71623
71624
71625
71626
71627
71628
71629
71630
71631
71632
71633
71634
71635
71636
71637
71638
71639
71640
71641
71642
71643
71644
71645
71646
71647
71648
71649
71650
71651
71652
71653
71654
71655
71656
71657
71658
71659
71660
71661
71662
71663
71664
71665
71666
71667
71668
71669
71670
71671
71672
71673
71674
71675
71676
71677
71678
71679
71680
71681
71682
71683
71684
71685
71686
71687
71688
71689
71690
71691
71692
71693
71694
71695
71696
71697
71698
71699
71700
71701
71702
71703
71704
71705
71706
71707
71708
71709
71710
71711
71712
71713
71714
71715
71716
71717
71718
71719
71720
71721
71722
71723
71724
71725
71726
71727
71728
71729
71730
71731
71732
71733
71734
71735
71736
71737
71738
71739
71740
71741
71742
71743
71744
71745
71746
71747
71748
71749
71750
71751
71752
71753
71754
71755
71756
71757
71758
71759
71760
71761
71762
71763
71764
71765
71766
71767
71768
71769
71770
71771
71772
71773
71774
71775
71776
71777
71778
71779
71780
71781
71782
71783
71784
71785
71786
71787
71788
71789
71790
71791
71792
71793
71794
71795
71796
71797
71798
71799
71800
71801
71802
71803
71804
71805
71806
71807
71808
71809
71810
71811
71812
71813
71814
71815
71816
71817
71818
71819
71820
71821
71822
71823
71824
71825
71826
71827
71828
71829
71830
71831
71832
71833
71834
71835
71836
71837
71838
71839
71840
71841
71842
71843
71844
71845
71846
71847
71848
71849
71850
71851
71852
71853
71854
71855
71856
71857
71858
71859
71860
71861
71862
71863
71864
71865
71866
71867
71868
71869
71870
71871
71872
71873
71874
71875
71876
71877
71878
71879
71880
71881
71882
71883
71884
71885
71886
71887
71888
71889
71890
71891
71892
71893
71894
71895
71896
71897
71898
71899
71900
71901
71902
71903
71904
71905
71906
71907
71908
71909
71910
71911
71912
71913
71914
71915
71916
71917
71918
71919
71920
71921
71922
71923
71924
71925
71926
71927
71928
71929
71930
71931
71932
71933
71934
71935
71936
71937
71938
71939
71940
71941
71942
71943
71944
71945
71946
71947
71948
71949
71950
71951
71952
71953
71954
71955
71956
71957
71958
71959
71960
71961
71962
71963
71964
71965
71966
71967
71968
71969
71970
71971
71972
71973
71974
71975
71976
71977
71978
71979
71980
71981
71982
71983
71984
71985
71986
71987
71988
71989
71990
71991
71992
71993
71994
71995
71996
71997
71998
71999
72000
72001
72002
72003
72004
72005
72006
72007
72008
72009
72010
72011
72012
72013
72014
72015
72016
72017
72018
72019
72020
72021
72022
72023
72024
72025
72026
72027
72028
72029
72030
72031
72032
72033
72034
72035
72036
72037
72038
72039
72040
72041
72042
72043
72044
72045
72046
72047
72048
72049
72050
72051
72052
72053
72054
72055
72056
72057
72058
72059
72060
72061
72062
72063
72064
72065
72066
72067
72068
72069
72070
72071
72072
72073
72074
72075
72076
72077
72078
72079
72080
72081
72082
72083
72084
72085
72086
72087
72088
72089
72090
72091
72092
72093
72094
72095
72096
72097
72098
72099
72100
72101
72102
72103
72104
72105
72106
72107
72108
72109
72110
72111
72112
72113
72114
72115
72116
72117
72118
72119
72120
72121
72122
72123
72124
72125
72126
72127
72128
72129
72130
72131
72132
72133
72134
72135
72136
72137
72138
72139
72140
72141
72142
72143
72144
72145
72146
72147
72148
72149
72150
72151
72152
72153
72154
72155
72156
72157
72158
72159
72160
72161
72162
72163
72164
72165
72166
72167
72168
72169
72170
72171
72172
72173
72174
72175
72176
72177
72178
72179
72180
72181
72182
72183
72184
72185
72186
72187
72188
72189
72190
72191
72192
72193
72194
72195
72196
72197
72198
72199
72200
72201
72202
72203
72204
72205
72206
72207
72208
72209
72210
72211
72212
72213
72214
72215
72216
72217
72218
72219
72220
72221
72222
72223
72224
72225
72226
72227
72228
72229
72230
72231
72232
72233
72234
72235
72236
72237
72238
72239
72240
72241
72242
72243
72244
72245
72246
72247
72248
72249
72250
72251
72252
72253
72254
72255
72256
72257
72258
72259
72260
72261
72262
72263
72264
72265
72266
72267
72268
72269
72270
72271
72272
72273
72274
72275
72276
72277
72278
72279
72280
72281
72282
72283
72284
72285
72286
72287
72288
72289
72290
72291
72292
72293
72294
72295
72296
72297
72298
72299
72300
72301
72302
72303
72304
72305
72306
72307
72308
72309
72310
72311
72312
72313
72314
72315
72316
72317
72318
72319
72320
72321
72322
72323
72324
72325
72326
72327
72328
72329
72330
72331
72332
72333
72334
72335
72336
72337
72338
72339
72340
72341
72342
72343
72344
72345
72346
72347
72348
72349
72350
72351
72352
72353
72354
72355
72356
72357
72358
72359
72360
72361
72362
72363
72364
72365
72366
72367
72368
72369
72370
72371
72372
72373
72374
72375
72376
72377
72378
72379
72380
72381
72382
72383
72384
72385
72386
72387
72388
72389
72390
72391
72392
72393
72394
72395
72396
72397
72398
72399
72400
72401
72402
72403
72404
72405
72406
72407
72408
72409
72410
72411
72412
72413
72414
72415
72416
72417
72418
72419
72420
72421
72422
72423
72424
72425
72426
72427
72428
72429
72430
72431
72432
72433
72434
72435
72436
72437
72438
72439
72440
72441
72442
72443
72444
72445
72446
72447
72448
72449
72450
72451
72452
72453
72454
72455
72456
72457
72458
72459
72460
72461
72462
72463
72464
72465
72466
72467
72468
72469
72470
72471
72472
72473
72474
72475
72476
72477
72478
72479
72480
72481
72482
72483
72484
72485
72486
72487
72488
72489
72490
72491
72492
72493
72494
72495
72496
72497
72498
72499
72500
72501
72502
72503
72504
72505
72506
72507
72508
72509
72510
72511
72512
72513
72514
72515
72516
72517
72518
72519
72520
72521
72522
72523
72524
72525
72526
72527
72528
72529
72530
72531
72532
72533
72534
72535
72536
72537
72538
72539
72540
72541
72542
72543
72544
72545
72546
72547
72548
72549
72550
72551
72552
72553
72554
72555
72556
72557
72558
72559
72560
72561
72562
72563
72564
72565
72566
72567
72568
72569
72570
72571
72572
72573
72574
72575
72576
72577
72578
72579
72580
72581
72582
72583
72584
72585
72586
72587
72588
72589
72590
72591
72592
72593
72594
72595
72596
72597
72598
72599
72600
72601
72602
72603
72604
72605
72606
72607
72608
72609
72610
72611
72612
72613
72614
72615
72616
72617
72618
72619
72620
72621
72622
72623
72624
72625
72626
72627
72628
72629
72630
72631
72632
72633
72634
72635
72636
72637
72638
72639
72640
72641
72642
72643
72644
72645
72646
72647
72648
72649
72650
72651
72652
72653
72654
72655
72656
72657
72658
72659
72660
72661
72662
72663
72664
72665
72666
72667
72668
72669
72670
72671
72672
72673
72674
72675
72676
72677
72678
72679
72680
72681
72682
72683
72684
72685
72686
72687
72688
72689
72690
72691
72692
72693
72694
72695
72696
72697
72698
72699
72700
72701
72702
72703
72704
72705
72706
72707
72708
72709
72710
72711
72712
72713
72714
72715
72716
72717
72718
72719
72720
72721
72722
72723
72724
72725
72726
72727
72728
72729
72730
72731
72732
72733
72734
72735
72736
72737
72738
72739
72740
72741
72742
72743
72744
72745
72746
72747
72748
72749
72750
72751
72752
72753
72754
72755
72756
72757
72758
72759
72760
72761
72762
72763
72764
72765
72766
72767
72768
72769
72770
72771
72772
72773
72774
72775
72776
72777
72778
72779
72780
72781
72782
72783
72784
72785
72786
72787
72788
72789
72790
72791
72792
72793
72794
72795
72796
72797
72798
72799
72800
72801
72802
72803
72804
72805
72806
72807
72808
72809
72810
72811
72812
72813
72814
72815
72816
72817
72818
72819
72820
72821
72822
72823
72824
72825
72826
72827
72828
72829
72830
72831
72832
72833
72834
72835
72836
72837
72838
72839
72840
72841
72842
72843
72844
72845
72846
72847
72848
72849
72850
72851
72852
72853
72854
72855
72856
72857
72858
72859
72860
72861
72862
72863
72864
72865
72866
72867
72868
72869
72870
72871
72872
72873
72874
72875
72876
72877
72878
72879
72880
72881
72882
72883
72884
72885
72886
72887
72888
72889
72890
72891
72892
72893
72894
72895
72896
72897
72898
72899
72900
72901
72902
72903
72904
72905
72906
72907
72908
72909
72910
72911
72912
72913
72914
72915
72916
72917
72918
72919
72920
72921
72922
72923
72924
72925
72926
72927
72928
72929
72930
72931
72932
72933
72934
72935
72936
72937
72938
72939
72940
72941
72942
72943
72944
72945
72946
72947
72948
72949
72950
72951
72952
72953
72954
72955
72956
72957
72958
72959
72960
72961
72962
72963
72964
72965
72966
72967
72968
72969
72970
72971
72972
72973
72974
72975
72976
72977
72978
72979
72980
72981
72982
72983
72984
72985
72986
72987
72988
72989
72990
72991
72992
72993
72994
72995
72996
72997
72998
72999
73000
73001
73002
73003
73004
73005
73006
73007
73008
73009
73010
73011
73012
73013
73014
73015
73016
73017
73018
73019
73020
73021
73022
73023
73024
73025
73026
73027
73028
73029
73030
73031
73032
73033
73034
73035
73036
73037
73038
73039
73040
73041
73042
73043
73044
73045
73046
73047
73048
73049
73050
73051
73052
73053
73054
73055
73056
73057
73058
73059
73060
73061
73062
73063
73064
73065
73066
73067
73068
73069
73070
73071
73072
73073
73074
73075
73076
73077
73078
73079
73080
73081
73082
73083
73084
73085
73086
73087
73088
73089
73090
73091
73092
73093
73094
73095
73096
73097
73098
73099
73100
73101
73102
73103
73104
73105
73106
73107
73108
73109
73110
73111
73112
73113
73114
73115
73116
73117
73118
73119
73120
73121
73122
73123
73124
73125
73126
73127
73128
73129
73130
73131
73132
73133
73134
73135
73136
73137
73138
73139
73140
73141
73142
73143
73144
73145
73146
73147
73148
73149
73150
73151
73152
73153
73154
73155
73156
73157
73158
73159
73160
73161
73162
73163
73164
73165
73166
73167
73168
73169
73170
73171
73172
73173
73174
73175
73176
73177
73178
73179
73180
73181
73182
73183
73184
73185
73186
73187
73188
73189
73190
73191
73192
73193
73194
73195
73196
73197
73198
73199
73200
73201
73202
73203
73204
73205
73206
73207
73208
73209
73210
73211
73212
73213
73214
73215
73216
73217
73218
73219
73220
73221
73222
73223
73224
73225
73226
73227
73228
73229
73230
73231
73232
73233
73234
73235
73236
73237
73238
73239
73240
73241
73242
73243
73244
73245
73246
73247
73248
73249
73250
73251
73252
73253
73254
73255
73256
73257
73258
73259
73260
73261
73262
73263
73264
73265
73266
73267
73268
73269
73270
73271
73272
73273
73274
73275
73276
73277
73278
73279
73280
73281
73282
73283
73284
73285
73286
73287
73288
73289
73290
73291
73292
73293
73294
73295
73296
73297
73298
73299
73300
73301
73302
73303
73304
73305
73306
73307
73308
73309
73310
73311
73312
73313
73314
73315
73316
73317
73318
73319
73320
73321
73322
73323
73324
73325
73326
73327
73328
73329
73330
73331
73332
73333
73334
73335
73336
73337
73338
73339
73340
73341
73342
73343
73344
73345
73346
73347
73348
73349
73350
73351
73352
73353
73354
73355
73356
73357
73358
73359
73360
73361
73362
73363
73364
73365
73366
73367
73368
73369
73370
73371
73372
73373
73374
73375
73376
73377
73378
73379
73380
73381
73382
73383
73384
73385
73386
73387
73388
73389
73390
73391
73392
73393
73394
73395
73396
73397
73398
73399
73400
73401
73402
73403
73404
73405
73406
73407
73408
73409
73410
73411
73412
73413
73414
73415
73416
73417
73418
73419
73420
73421
73422
73423
73424
73425
73426
73427
73428
73429
73430
73431
73432
73433
73434
73435
73436
73437
73438
73439
73440
73441
73442
73443
73444
73445
73446
73447
73448
73449
73450
73451
73452
73453
73454
73455
73456
73457
73458
73459
73460
73461
73462
73463
73464
73465
73466
73467
73468
73469
73470
73471
73472
73473
73474
73475
73476
73477
73478
73479
73480
73481
73482
73483
73484
73485
73486
73487
73488
73489
73490
73491
73492
73493
73494
73495
73496
73497
73498
73499
73500
73501
73502
73503
73504
73505
73506
73507
73508
73509
73510
73511
73512
73513
73514
73515
73516
73517
73518
73519
73520
73521
73522
73523
73524
73525
73526
73527
73528
73529
73530
73531
73532
73533
73534
73535
73536
73537
73538
73539
73540
73541
73542
73543
73544
73545
73546
73547
73548
73549
73550
73551
73552
73553
73554
73555
73556
73557
73558
73559
73560
73561
73562
73563
73564
73565
73566
73567
73568
73569
73570
73571
73572
73573
73574
73575
73576
73577
73578
73579
73580
73581
73582
73583
73584
73585
73586
73587
73588
73589
73590
73591
73592
73593
73594
73595
73596
73597
73598
73599
73600
73601
73602
73603
73604
73605
73606
73607
73608
73609
73610
73611
73612
73613
73614
73615
73616
73617
73618
73619
73620
73621
73622
73623
73624
73625
73626
73627
73628
73629
73630
73631
73632
73633
73634
73635
73636
73637
73638
73639
73640
73641
73642
73643
73644
73645
73646
73647
73648
73649
73650
73651
73652
73653
73654
73655
73656
73657
73658
73659
73660
73661
73662
73663
73664
73665
73666
73667
73668
73669
73670
73671
73672
73673
73674
73675
73676
73677
73678
73679
73680
73681
73682
73683
73684
73685
73686
73687
73688
73689
73690
73691
73692
73693
73694
73695
73696
73697
73698
73699
73700
73701
73702
73703
73704
73705
73706
73707
73708
73709
73710
73711
73712
73713
73714
73715
73716
73717
73718
73719
73720
73721
73722
73723
73724
73725
73726
73727
73728
73729
73730
73731
73732
73733
73734
73735
73736
73737
73738
73739
73740
73741
73742
73743
73744
73745
73746
73747
73748
73749
73750
73751
73752
73753
73754
73755
73756
73757
73758
73759
73760
73761
73762
73763
73764
73765
73766
73767
73768
73769
73770
73771
73772
73773
73774
73775
73776
73777
73778
73779
73780
73781
73782
73783
73784
73785
73786
73787
73788
73789
73790
73791
73792
73793
73794
73795
73796
73797
73798
73799
73800
73801
73802
73803
73804
73805
73806
73807
73808
73809
73810
73811
73812
73813
73814
73815
73816
73817
73818
73819
73820
73821
73822
73823
73824
73825
73826
73827
73828
73829
73830
73831
73832
73833
73834
73835
73836
73837
73838
73839
73840
73841
73842
73843
73844
73845
73846
73847
73848
73849
73850
73851
73852
73853
73854
73855
73856
73857
73858
73859
73860
73861
73862
73863
73864
73865
73866
73867
73868
73869
73870
73871
73872
73873
73874
73875
73876
73877
73878
73879
73880
73881
73882
73883
73884
73885
73886
73887
73888
73889
73890
73891
73892
73893
73894
73895
73896
73897
73898
73899
73900
73901
73902
73903
73904
73905
73906
73907
73908
73909
73910
73911
73912
73913
73914
73915
73916
73917
73918
73919
73920
73921
73922
73923
73924
73925
73926
73927
73928
73929
73930
73931
73932
73933
73934
73935
73936
73937
73938
73939
73940
73941
73942
73943
73944
73945
73946
73947
73948
73949
73950
73951
73952
73953
73954
73955
73956
73957
73958
73959
73960
73961
73962
73963
73964
73965
73966
73967
73968
73969
73970
73971
73972
73973
73974
73975
73976
73977
73978
73979
73980
73981
73982
73983
73984
73985
73986
73987
73988
73989
73990
73991
73992
73993
73994
73995
73996
73997
73998
73999
74000
74001
74002
74003
74004
74005
74006
74007
74008
74009
74010
74011
74012
74013
74014
74015
74016
74017
74018
74019
74020
74021
74022
74023
74024
74025
74026
74027
74028
74029
74030
74031
74032
74033
74034
74035
74036
74037
74038
74039
74040
74041
74042
74043
74044
74045
74046
74047
74048
74049
74050
74051
74052
74053
74054
74055
74056
74057
74058
74059
74060
74061
74062
74063
74064
74065
74066
74067
74068
74069
74070
74071
74072
74073
74074
74075
74076
74077
74078
74079
74080
74081
74082
74083
74084
74085
74086
74087
74088
74089
74090
74091
74092
74093
74094
74095
74096
74097
74098
74099
74100
74101
74102
74103
74104
74105
74106
74107
74108
74109
74110
74111
74112
74113
74114
74115
74116
74117
74118
74119
74120
74121
74122
74123
74124
74125
74126
74127
74128
74129
74130
74131
74132
74133
74134
74135
74136
74137
74138
74139
74140
74141
74142
74143
74144
74145
74146
74147
74148
74149
74150
74151
74152
74153
74154
74155
74156
74157
74158
74159
74160
74161
74162
74163
74164
74165
74166
74167
74168
74169
74170
74171
74172
74173
74174
74175
74176
74177
74178
74179
74180
74181
74182
74183
74184
74185
74186
74187
74188
74189
74190
74191
74192
74193
74194
74195
74196
74197
74198
74199
74200
74201
74202
74203
74204
74205
74206
74207
74208
74209
74210
74211
74212
74213
74214
74215
74216
74217
74218
74219
74220
74221
74222
74223
74224
74225
74226
74227
74228
74229
74230
74231
74232
74233
74234
74235
74236
74237
74238
74239
74240
74241
74242
74243
74244
74245
74246
74247
74248
74249
74250
74251
74252
74253
74254
74255
74256
74257
74258
74259
74260
74261
74262
74263
74264
74265
74266
74267
74268
74269
74270
74271
74272
74273
74274
74275
74276
74277
74278
74279
74280
74281
74282
74283
74284
74285
74286
74287
74288
74289
74290
74291
74292
74293
74294
74295
74296
74297
74298
74299
74300
74301
74302
74303
74304
74305
74306
74307
74308
74309
74310
74311
74312
74313
74314
74315
74316
74317
74318
74319
74320
74321
74322
74323
74324
74325
74326
74327
74328
74329
74330
74331
74332
74333
74334
74335
74336
74337
74338
74339
74340
74341
74342
74343
74344
74345
74346
74347
74348
74349
74350
74351
74352
74353
74354
74355
74356
74357
74358
74359
74360
74361
74362
74363
74364
74365
74366
74367
74368
74369
74370
74371
74372
74373
74374
74375
74376
74377
74378
74379
74380
74381
74382
74383
74384
74385
74386
74387
74388
74389
74390
74391
74392
74393
74394
74395
74396
74397
74398
74399
74400
74401
74402
74403
74404
74405
74406
74407
74408
74409
74410
74411
74412
74413
74414
74415
74416
74417
74418
74419
74420
74421
74422
74423
74424
74425
74426
74427
74428
74429
74430
74431
74432
74433
74434
74435
74436
74437
74438
74439
74440
74441
74442
74443
74444
74445
74446
74447
74448
74449
74450
74451
74452
74453
74454
74455
74456
74457
74458
74459
74460
74461
74462
74463
74464
74465
74466
74467
74468
74469
74470
74471
74472
74473
74474
74475
74476
74477
74478
74479
74480
74481
74482
74483
74484
74485
74486
74487
74488
74489
74490
74491
74492
74493
74494
74495
74496
74497
74498
74499
74500
74501
74502
74503
74504
74505
74506
74507
74508
74509
74510
74511
74512
74513
74514
74515
74516
74517
74518
74519
74520
74521
74522
74523
74524
74525
74526
74527
74528
74529
74530
74531
74532
74533
74534
74535
74536
74537
74538
74539
74540
74541
74542
74543
74544
74545
74546
74547
74548
74549
74550
74551
74552
74553
74554
74555
74556
74557
74558
74559
74560
74561
74562
74563
74564
74565
74566
74567
74568
74569
74570
74571
74572
74573
74574
74575
74576
74577
74578
74579
74580
74581
74582
74583
74584
74585
74586
74587
74588
74589
74590
74591
74592
74593
74594
74595
74596
74597
74598
74599
74600
74601
74602
74603
74604
74605
74606
74607
74608
74609
74610
74611
74612
74613
74614
74615
74616
74617
74618
74619
74620
74621
74622
74623
74624
74625
74626
74627
74628
74629
74630
74631
74632
74633
74634
74635
74636
74637
74638
74639
74640
74641
74642
74643
74644
74645
74646
74647
74648
74649
74650
74651
74652
74653
74654
74655
74656
74657
74658
74659
74660
74661
74662
74663
74664
74665
74666
74667
74668
74669
74670
74671
74672
74673
74674
74675
74676
74677
74678
74679
74680
74681
74682
74683
74684
74685
74686
74687
74688
74689
74690
74691
74692
74693
74694
74695
74696
74697
74698
74699
74700
74701
74702
74703
74704
74705
74706
74707
74708
74709
74710
74711
74712
74713
74714
74715
74716
74717
74718
74719
74720
74721
74722
74723
74724
74725
74726
74727
74728
74729
74730
74731
74732
74733
74734
74735
74736
74737
74738
74739
74740
74741
74742
74743
74744
74745
74746
74747
74748
74749
74750
74751
74752
74753
74754
74755
74756
74757
74758
74759
74760
74761
74762
74763
74764
74765
74766
74767
74768
74769
74770
74771
74772
74773
74774
74775
74776
74777
74778
74779
74780
74781
74782
74783
74784
74785
74786
74787
74788
74789
74790
74791
74792
74793
74794
74795
74796
74797
74798
74799
74800
74801
74802
74803
74804
74805
74806
74807
74808
74809
74810
74811
74812
74813
74814
74815
74816
74817
74818
74819
74820
74821
74822
74823
74824
74825
74826
74827
74828
74829
74830
74831
74832
74833
74834
74835
74836
74837
74838
74839
74840
74841
74842
74843
74844
74845
74846
74847
74848
74849
74850
74851
74852
74853
74854
74855
74856
74857
74858
74859
74860
74861
74862
74863
74864
74865
74866
74867
74868
74869
74870
74871
74872
74873
74874
74875
74876
74877
74878
74879
74880
74881
74882
74883
74884
74885
74886
74887
74888
74889
74890
74891
74892
74893
74894
74895
74896
74897
74898
74899
74900
74901
74902
74903
74904
74905
74906
74907
74908
74909
74910
74911
74912
74913
74914
74915
74916
74917
74918
74919
74920
74921
74922
74923
74924
74925
74926
74927
74928
74929
74930
74931
74932
74933
74934
74935
74936
74937
74938
74939
74940
74941
74942
74943
74944
74945
74946
74947
74948
74949
74950
74951
74952
74953
74954
74955
74956
74957
74958
74959
74960
74961
74962
74963
74964
74965
74966
74967
74968
74969
74970
74971
74972
74973
74974
74975
74976
74977
74978
74979
74980
74981
74982
74983
74984
74985
74986
74987
74988
74989
74990
74991
74992
74993
74994
74995
74996
74997
74998
74999
75000
75001
75002
75003
75004
75005
75006
75007
75008
75009
75010
75011
75012
75013
75014
75015
75016
75017
75018
75019
75020
75021
75022
75023
75024
75025
75026
75027
75028
75029
75030
75031
75032
75033
75034
75035
75036
75037
75038
75039
75040
75041
75042
75043
75044
75045
75046
75047
75048
75049
75050
75051
75052
75053
75054
75055
75056
75057
75058
75059
75060
75061
75062
75063
75064
75065
75066
75067
75068
75069
75070
75071
75072
75073
75074
75075
75076
75077
75078
75079
75080
75081
75082
75083
75084
75085
75086
75087
75088
75089
75090
75091
75092
75093
75094
75095
75096
75097
75098
75099
75100
75101
75102
75103
75104
75105
75106
75107
75108
75109
75110
75111
75112
75113
75114
75115
75116
75117
75118
75119
75120
75121
75122
75123
75124
75125
75126
75127
75128
75129
75130
75131
75132
75133
75134
75135
75136
75137
75138
75139
75140
75141
75142
75143
75144
75145
75146
75147
75148
75149
75150
75151
75152
75153
75154
75155
75156
75157
75158
75159
75160
75161
75162
75163
75164
75165
75166
75167
75168
75169
75170
75171
75172
75173
75174
75175
75176
75177
75178
75179
75180
75181
75182
75183
75184
75185
75186
75187
75188
75189
75190
75191
75192
75193
75194
75195
75196
75197
75198
75199
75200
75201
75202
75203
75204
75205
75206
75207
75208
75209
75210
75211
75212
75213
75214
75215
75216
75217
75218
75219
75220
75221
75222
75223
75224
75225
75226
75227
75228
75229
75230
75231
75232
75233
75234
75235
75236
75237
75238
75239
75240
75241
75242
75243
75244
75245
75246
75247
75248
75249
75250
75251
75252
75253
75254
75255
75256
75257
75258
75259
75260
75261
75262
75263
75264
75265
75266
75267
75268
75269
75270
75271
75272
75273
75274
75275
75276
75277
75278
75279
75280
75281
75282
75283
75284
75285
75286
75287
75288
75289
75290
75291
75292
75293
75294
75295
75296
75297
75298
75299
75300
75301
75302
75303
75304
75305
75306
75307
75308
75309
75310
75311
75312
75313
75314
75315
75316
75317
75318
75319
75320
75321
75322
75323
75324
75325
75326
75327
75328
75329
75330
75331
75332
75333
75334
75335
75336
75337
75338
75339
75340
75341
75342
75343
75344
75345
75346
75347
75348
75349
75350
75351
75352
75353
75354
75355
75356
75357
75358
75359
75360
75361
75362
75363
75364
75365
75366
75367
75368
75369
75370
75371
75372
75373
75374
75375
75376
75377
75378
75379
75380
75381
75382
75383
75384
75385
75386
75387
75388
75389
75390
75391
75392
75393
75394
75395
75396
75397
75398
75399
75400
75401
75402
75403
75404
75405
75406
75407
75408
75409
75410
75411
75412
75413
75414
75415
75416
75417
75418
75419
75420
75421
75422
75423
75424
75425
75426
75427
75428
75429
75430
75431
75432
75433
75434
75435
75436
75437
75438
75439
75440
75441
75442
75443
75444
75445
75446
75447
75448
75449
75450
75451
75452
75453
75454
75455
75456
75457
75458
75459
75460
75461
75462
75463
75464
75465
75466
75467
75468
75469
75470
75471
75472
75473
75474
75475
75476
75477
75478
75479
75480
75481
75482
75483
75484
75485
75486
75487
75488
75489
75490
75491
75492
75493
75494
75495
75496
75497
75498
75499
75500
75501
75502
75503
75504
75505
75506
75507
75508
75509
75510
75511
75512
75513
75514
75515
75516
75517
75518
75519
75520
75521
75522
75523
75524
75525
75526
75527
75528
75529
75530
75531
75532
75533
75534
75535
75536
75537
75538
75539
75540
75541
75542
75543
75544
75545
75546
75547
75548
75549
75550
75551
75552
75553
75554
75555
75556
75557
75558
75559
75560
75561
75562
75563
75564
75565
75566
75567
75568
75569
75570
75571
75572
75573
75574
75575
75576
75577
75578
75579
75580
75581
75582
75583
75584
75585
75586
75587
75588
75589
75590
75591
75592
75593
75594
75595
75596
75597
75598
75599
75600
75601
75602
75603
75604
75605
75606
75607
75608
75609
75610
75611
75612
75613
75614
75615
75616
75617
75618
75619
75620
75621
75622
75623
75624
75625
75626
75627
75628
75629
75630
75631
75632
75633
75634
75635
75636
75637
75638
75639
75640
75641
75642
75643
75644
75645
75646
75647
75648
75649
75650
75651
75652
75653
75654
75655
75656
75657
75658
75659
75660
75661
75662
75663
75664
75665
75666
75667
75668
75669
75670
75671
75672
75673
75674
75675
75676
75677
75678
75679
75680
75681
75682
75683
75684
75685
75686
75687
75688
75689
75690
75691
75692
75693
75694
75695
75696
75697
75698
75699
75700
75701
75702
75703
75704
75705
75706
75707
75708
75709
75710
75711
75712
75713
75714
75715
75716
75717
75718
75719
75720
75721
75722
75723
75724
75725
75726
75727
75728
75729
75730
75731
75732
75733
75734
75735
75736
75737
75738
75739
75740
75741
75742
75743
75744
75745
75746
75747
75748
75749
75750
75751
75752
75753
75754
75755
75756
75757
75758
75759
75760
75761
75762
75763
75764
75765
75766
75767
75768
75769
75770
75771
75772
75773
75774
75775
75776
75777
75778
75779
75780
75781
75782
75783
75784
75785
75786
75787
75788
75789
75790
75791
75792
75793
75794
75795
75796
75797
75798
75799
75800
75801
75802
75803
75804
75805
75806
75807
75808
75809
75810
75811
75812
75813
75814
75815
75816
75817
75818
75819
75820
75821
75822
75823
75824
75825
75826
75827
75828
75829
75830
75831
75832
75833
75834
75835
75836
75837
75838
75839
75840
75841
75842
75843
75844
75845
75846
75847
75848
75849
75850
75851
75852
75853
75854
75855
75856
75857
75858
75859
75860
75861
75862
75863
75864
75865
75866
75867
75868
75869
75870
75871
75872
75873
75874
75875
75876
75877
75878
75879
75880
75881
75882
75883
75884
75885
75886
75887
75888
75889
75890
75891
75892
75893
75894
75895
75896
75897
75898
75899
75900
75901
75902
75903
75904
75905
75906
75907
75908
75909
75910
75911
75912
75913
75914
75915
75916
75917
75918
75919
75920
75921
75922
75923
75924
75925
75926
75927
75928
75929
75930
75931
75932
75933
75934
75935
75936
75937
75938
75939
75940
75941
75942
75943
75944
75945
75946
75947
75948
75949
75950
75951
75952
75953
75954
75955
75956
75957
75958
75959
75960
75961
75962
75963
75964
75965
75966
75967
75968
75969
75970
75971
75972
75973
75974
75975
75976
75977
75978
75979
75980
75981
75982
75983
75984
75985
75986
75987
75988
75989
75990
75991
75992
75993
75994
75995
75996
75997
75998
75999
76000
76001
76002
76003
76004
76005
76006
76007
76008
76009
76010
76011
76012
76013
76014
76015
76016
76017
76018
76019
76020
76021
76022
76023
76024
76025
76026
76027
76028
76029
76030
76031
76032
76033
76034
76035
76036
76037
76038
76039
76040
76041
76042
76043
76044
76045
76046
76047
76048
76049
76050
76051
76052
76053
76054
76055
76056
76057
76058
76059
76060
76061
76062
76063
76064
76065
76066
76067
76068
76069
76070
76071
76072
76073
76074
76075
76076
76077
76078
76079
76080
76081
76082
76083
76084
76085
76086
76087
76088
76089
76090
76091
76092
76093
76094
76095
76096
76097
76098
76099
76100
76101
76102
76103
76104
76105
76106
76107
76108
76109
76110
76111
76112
76113
76114
76115
76116
76117
76118
76119
76120
76121
76122
76123
76124
76125
76126
76127
76128
76129
76130
76131
76132
76133
76134
76135
76136
76137
76138
76139
76140
76141
76142
76143
76144
76145
76146
76147
76148
76149
76150
76151
76152
76153
76154
76155
76156
76157
76158
76159
76160
76161
76162
76163
76164
76165
76166
76167
76168
76169
76170
76171
76172
76173
76174
76175
76176
76177
76178
76179
76180
76181
76182
76183
76184
76185
76186
76187
76188
76189
76190
76191
76192
76193
76194
76195
76196
76197
76198
76199
76200
76201
76202
76203
76204
76205
76206
76207
76208
76209
76210
76211
76212
76213
76214
76215
76216
76217
76218
76219
76220
76221
76222
76223
76224
76225
76226
76227
76228
76229
76230
76231
76232
76233
76234
76235
76236
76237
76238
76239
76240
76241
76242
76243
76244
76245
76246
76247
76248
76249
76250
76251
76252
76253
76254
76255
76256
76257
76258
76259
76260
76261
76262
76263
76264
76265
76266
76267
76268
76269
76270
76271
76272
76273
76274
76275
76276
76277
76278
76279
76280
76281
76282
76283
76284
76285
76286
76287
76288
76289
76290
76291
76292
76293
76294
76295
76296
76297
76298
76299
76300
76301
76302
76303
76304
76305
76306
76307
76308
76309
76310
76311
76312
76313
76314
76315
76316
76317
76318
76319
76320
76321
76322
76323
76324
76325
76326
76327
76328
76329
76330
76331
76332
76333
76334
76335
76336
76337
76338
76339
76340
76341
76342
76343
76344
76345
76346
76347
76348
76349
76350
76351
76352
76353
76354
76355
76356
76357
76358
76359
76360
76361
76362
76363
76364
76365
76366
76367
76368
76369
76370
76371
76372
76373
76374
76375
76376
76377
76378
76379
76380
76381
76382
76383
76384
76385
76386
76387
76388
76389
76390
76391
76392
76393
76394
76395
76396
76397
76398
76399
76400
76401
76402
76403
76404
76405
76406
76407
76408
76409
76410
76411
76412
76413
76414
76415
76416
76417
76418
76419
76420
76421
76422
76423
76424
76425
76426
76427
76428
76429
76430
76431
76432
76433
76434
76435
76436
76437
76438
76439
76440
76441
76442
76443
76444
76445
76446
76447
76448
76449
76450
76451
76452
76453
76454
76455
76456
76457
76458
76459
76460
76461
76462
76463
76464
76465
76466
76467
76468
76469
76470
76471
76472
76473
76474
76475
76476
76477
76478
76479
76480
76481
76482
76483
76484
76485
76486
76487
76488
76489
76490
76491
76492
76493
76494
76495
76496
76497
76498
76499
76500
76501
76502
76503
76504
76505
76506
76507
76508
76509
76510
76511
76512
76513
76514
76515
76516
76517
76518
76519
76520
76521
76522
76523
76524
76525
76526
76527
76528
76529
76530
76531
76532
76533
76534
76535
76536
76537
76538
76539
76540
76541
76542
76543
76544
76545
76546
76547
76548
76549
76550
76551
76552
76553
76554
76555
76556
76557
76558
76559
76560
76561
76562
76563
76564
76565
76566
76567
76568
76569
76570
76571
76572
76573
76574
76575
76576
76577
76578
76579
76580
76581
76582
76583
76584
76585
76586
76587
76588
76589
76590
76591
76592
76593
76594
76595
76596
76597
76598
76599
76600
76601
76602
76603
76604
76605
76606
76607
76608
76609
76610
76611
76612
76613
76614
76615
76616
76617
76618
76619
76620
76621
76622
76623
76624
76625
76626
76627
76628
76629
76630
76631
76632
76633
76634
76635
76636
76637
76638
76639
76640
76641
76642
76643
76644
76645
76646
76647
76648
76649
76650
76651
76652
76653
76654
76655
76656
76657
76658
76659
76660
76661
76662
76663
76664
76665
76666
76667
76668
76669
76670
76671
76672
76673
76674
76675
76676
76677
76678
76679
76680
76681
76682
76683
76684
76685
76686
76687
76688
76689
76690
76691
76692
76693
76694
76695
76696
76697
76698
76699
76700
76701
76702
76703
76704
76705
76706
76707
76708
76709
76710
76711
76712
76713
76714
76715
76716
76717
76718
76719
76720
76721
76722
76723
76724
76725
76726
76727
76728
76729
76730
76731
76732
76733
76734
76735
76736
76737
76738
76739
76740
76741
76742
76743
76744
76745
76746
76747
76748
76749
76750
76751
76752
76753
76754
76755
76756
76757
76758
76759
76760
76761
76762
76763
76764
76765
76766
76767
76768
76769
76770
76771
76772
76773
76774
76775
76776
76777
76778
76779
76780
76781
76782
76783
76784
76785
76786
76787
76788
76789
76790
76791
76792
76793
76794
76795
76796
76797
76798
76799
76800
76801
76802
76803
76804
76805
76806
76807
76808
76809
76810
76811
76812
76813
76814
76815
76816
76817
76818
76819
76820
76821
76822
76823
76824
76825
76826
76827
76828
76829
76830
76831
76832
76833
76834
76835
76836
76837
76838
76839
76840
76841
76842
76843
76844
76845
76846
76847
76848
76849
76850
76851
76852
76853
76854
76855
76856
76857
76858
76859
76860
76861
76862
76863
76864
76865
76866
76867
76868
76869
76870
76871
76872
76873
76874
76875
76876
76877
76878
76879
76880
76881
76882
76883
76884
76885
76886
76887
76888
76889
76890
76891
76892
76893
76894
76895
76896
76897
76898
76899
76900
76901
76902
76903
76904
76905
76906
76907
76908
76909
76910
76911
76912
76913
76914
76915
76916
76917
76918
76919
76920
76921
76922
76923
76924
76925
76926
76927
76928
76929
76930
76931
76932
76933
76934
76935
76936
76937
76938
76939
76940
76941
76942
76943
76944
76945
76946
76947
76948
76949
76950
76951
76952
76953
76954
76955
76956
76957
76958
76959
76960
76961
76962
76963
76964
76965
76966
76967
76968
76969
76970
76971
76972
76973
76974
76975
76976
76977
76978
76979
76980
76981
76982
76983
76984
76985
76986
76987
76988
76989
76990
76991
76992
76993
76994
76995
76996
76997
76998
76999
77000
77001
77002
77003
77004
77005
77006
77007
77008
77009
77010
77011
77012
77013
77014
77015
77016
77017
77018
77019
77020
77021
77022
77023
77024
77025
77026
77027
77028
77029
77030
77031
77032
77033
77034
77035
77036
77037
77038
77039
77040
77041
77042
77043
77044
77045
77046
77047
77048
77049
77050
77051
77052
77053
77054
77055
77056
77057
77058
77059
77060
77061
77062
77063
77064
77065
77066
77067
77068
77069
77070
77071
77072
77073
77074
77075
77076
77077
77078
77079
77080
77081
77082
77083
77084
77085
77086
77087
77088
77089
77090
77091
77092
77093
77094
77095
77096
77097
77098
77099
77100
77101
77102
77103
77104
77105
77106
77107
77108
77109
77110
77111
77112
77113
77114
77115
77116
77117
77118
77119
77120
77121
77122
77123
77124
77125
77126
77127
77128
77129
77130
77131
77132
77133
77134
77135
77136
77137
77138
77139
77140
77141
77142
77143
77144
77145
77146
77147
77148
77149
77150
77151
77152
77153
77154
77155
77156
77157
77158
77159
77160
77161
77162
77163
77164
77165
77166
77167
77168
77169
77170
77171
77172
77173
77174
77175
77176
77177
77178
77179
77180
77181
77182
77183
77184
77185
77186
77187
77188
77189
77190
77191
77192
77193
77194
77195
77196
77197
77198
77199
77200
77201
77202
77203
77204
77205
77206
77207
77208
77209
77210
77211
77212
77213
77214
77215
77216
77217
77218
77219
77220
77221
77222
77223
77224
77225
77226
77227
77228
77229
77230
77231
77232
77233
77234
77235
77236
77237
77238
77239
77240
77241
77242
77243
77244
77245
77246
77247
77248
77249
77250
77251
77252
77253
77254
77255
77256
77257
77258
77259
77260
77261
77262
77263
77264
77265
77266
77267
77268
77269
77270
77271
77272
77273
77274
77275
77276
77277
77278
77279
77280
77281
77282
77283
77284
77285
77286
77287
77288
77289
77290
77291
77292
77293
77294
77295
77296
77297
77298
77299
77300
77301
77302
77303
77304
77305
77306
77307
77308
77309
77310
77311
77312
77313
77314
77315
77316
77317
77318
77319
77320
77321
77322
77323
77324
77325
77326
77327
77328
77329
77330
77331
77332
77333
77334
77335
77336
77337
77338
77339
77340
77341
77342
77343
77344
77345
77346
77347
77348
77349
77350
77351
77352
77353
77354
77355
77356
77357
77358
77359
77360
77361
77362
77363
77364
77365
77366
77367
77368
77369
77370
77371
77372
77373
77374
77375
77376
77377
77378
77379
77380
77381
77382
77383
77384
77385
77386
77387
77388
77389
77390
77391
77392
77393
77394
77395
77396
77397
77398
77399
77400
77401
77402
77403
77404
77405
77406
77407
77408
77409
77410
77411
77412
77413
77414
77415
77416
77417
77418
77419
77420
77421
77422
77423
77424
77425
77426
77427
77428
77429
77430
77431
77432
77433
77434
77435
77436
77437
77438
77439
77440
77441
77442
77443
77444
77445
77446
77447
77448
77449
77450
77451
77452
77453
77454
77455
77456
77457
77458
77459
77460
77461
77462
77463
77464
77465
77466
77467
77468
77469
77470
77471
77472
77473
77474
77475
77476
77477
77478
77479
77480
77481
77482
77483
77484
77485
77486
77487
77488
77489
77490
77491
77492
77493
77494
77495
77496
77497
77498
77499
77500
77501
77502
77503
77504
77505
77506
77507
77508
77509
77510
77511
77512
77513
77514
77515
77516
77517
77518
77519
77520
77521
77522
77523
77524
77525
77526
77527
77528
77529
77530
77531
77532
77533
77534
77535
77536
77537
77538
77539
77540
77541
77542
77543
77544
77545
77546
77547
77548
77549
77550
77551
77552
77553
77554
77555
77556
77557
77558
77559
77560
77561
77562
77563
77564
77565
77566
77567
77568
77569
77570
77571
77572
77573
77574
77575
77576
77577
77578
77579
77580
77581
77582
77583
77584
77585
77586
77587
77588
77589
77590
77591
77592
77593
77594
77595
77596
77597
77598
77599
77600
77601
77602
77603
77604
77605
77606
77607
77608
77609
77610
77611
77612
77613
77614
77615
77616
77617
77618
77619
77620
77621
77622
77623
77624
77625
77626
77627
77628
77629
77630
77631
77632
77633
77634
77635
77636
77637
77638
77639
77640
77641
77642
77643
77644
77645
77646
77647
77648
77649
77650
77651
77652
77653
77654
77655
77656
77657
77658
77659
77660
77661
77662
77663
77664
77665
77666
77667
77668
77669
77670
77671
77672
77673
77674
77675
77676
77677
77678
77679
77680
77681
77682
77683
77684
77685
77686
77687
77688
77689
77690
77691
77692
77693
77694
77695
77696
77697
77698
77699
77700
77701
77702
77703
77704
77705
77706
77707
77708
77709
77710
77711
77712
77713
77714
77715
77716
77717
77718
77719
77720
77721
77722
77723
77724
77725
77726
77727
77728
77729
77730
77731
77732
77733
77734
77735
77736
77737
77738
77739
77740
77741
77742
77743
77744
77745
77746
77747
77748
77749
77750
77751
77752
77753
77754
77755
77756
77757
77758
77759
77760
77761
77762
77763
77764
77765
77766
77767
77768
77769
77770
77771
77772
77773
77774
77775
77776
77777
77778
77779
77780
77781
77782
77783
77784
77785
77786
77787
77788
77789
77790
77791
77792
77793
77794
77795
77796
77797
77798
77799
77800
77801
77802
77803
77804
77805
77806
77807
77808
77809
77810
77811
77812
77813
77814
77815
77816
77817
77818
77819
77820
77821
77822
77823
77824
77825
77826
77827
77828
77829
77830
77831
77832
77833
77834
77835
77836
77837
77838
77839
77840
77841
77842
77843
77844
77845
77846
77847
77848
77849
77850
77851
77852
77853
77854
77855
77856
77857
77858
77859
77860
77861
77862
77863
77864
77865
77866
77867
77868
77869
77870
77871
77872
77873
77874
77875
77876
77877
77878
77879
77880
77881
77882
77883
77884
77885
77886
77887
77888
77889
77890
77891
77892
77893
77894
77895
77896
77897
77898
77899
77900
77901
77902
77903
77904
77905
77906
77907
77908
77909
77910
77911
77912
77913
77914
77915
77916
77917
77918
77919
77920
77921
77922
77923
77924
77925
77926
77927
77928
77929
77930
77931
77932
77933
77934
77935
77936
77937
77938
77939
77940
77941
77942
77943
77944
77945
77946
77947
77948
77949
77950
77951
77952
77953
77954
77955
77956
77957
77958
77959
77960
77961
77962
77963
77964
77965
77966
77967
77968
77969
77970
77971
77972
77973
77974
77975
77976
77977
77978
77979
77980
77981
77982
77983
77984
77985
77986
77987
77988
77989
77990
77991
77992
77993
77994
77995
77996
77997
77998
77999
78000
78001
78002
78003
78004
78005
78006
78007
78008
78009
78010
78011
78012
78013
78014
78015
78016
78017
78018
78019
78020
78021
78022
78023
78024
78025
78026
78027
78028
78029
78030
78031
78032
78033
78034
78035
78036
78037
78038
78039
78040
78041
78042
78043
78044
78045
78046
78047
78048
78049
78050
78051
78052
78053
78054
78055
78056
78057
78058
78059
78060
78061
78062
78063
78064
78065
78066
78067
78068
78069
78070
78071
78072
78073
78074
78075
78076
78077
78078
78079
78080
78081
78082
78083
78084
78085
78086
78087
78088
78089
78090
78091
78092
78093
78094
78095
78096
78097
78098
78099
78100
78101
78102
78103
78104
78105
78106
78107
78108
78109
78110
78111
78112
78113
78114
78115
78116
78117
78118
78119
78120
78121
78122
78123
78124
78125
78126
78127
78128
78129
78130
78131
78132
78133
78134
78135
78136
78137
78138
78139
78140
78141
78142
78143
78144
78145
78146
78147
78148
78149
78150
78151
78152
78153
78154
78155
78156
78157
78158
78159
78160
78161
78162
78163
78164
78165
78166
78167
78168
78169
78170
78171
78172
78173
78174
78175
78176
78177
78178
78179
78180
78181
78182
78183
78184
78185
78186
78187
78188
78189
78190
78191
78192
78193
78194
78195
78196
78197
78198
78199
78200
78201
78202
78203
78204
78205
78206
78207
78208
78209
78210
78211
78212
78213
78214
78215
78216
78217
78218
78219
78220
78221
78222
78223
78224
78225
78226
78227
78228
78229
78230
78231
78232
78233
78234
78235
78236
78237
78238
78239
78240
78241
78242
78243
78244
78245
78246
78247
78248
78249
78250
78251
78252
78253
78254
78255
78256
78257
78258
78259
78260
78261
78262
78263
78264
78265
78266
78267
78268
78269
78270
78271
78272
78273
78274
78275
78276
78277
78278
78279
78280
78281
78282
78283
78284
78285
78286
78287
78288
78289
78290
78291
78292
78293
78294
78295
78296
78297
78298
78299
78300
78301
78302
78303
78304
78305
78306
78307
78308
78309
78310
78311
78312
78313
78314
78315
78316
78317
78318
78319
78320
78321
78322
78323
78324
78325
78326
78327
78328
78329
78330
78331
78332
78333
78334
78335
78336
78337
78338
78339
78340
78341
78342
78343
78344
78345
78346
78347
78348
78349
78350
78351
78352
78353
78354
78355
78356
78357
78358
78359
78360
78361
78362
78363
78364
78365
78366
78367
78368
78369
78370
78371
78372
78373
78374
78375
78376
78377
78378
78379
78380
78381
78382
78383
78384
78385
78386
78387
78388
78389
78390
78391
78392
78393
78394
78395
78396
78397
78398
78399
78400
78401
78402
78403
78404
78405
78406
78407
78408
78409
78410
78411
78412
78413
78414
78415
78416
78417
78418
78419
78420
78421
78422
78423
78424
78425
78426
78427
78428
78429
78430
78431
78432
78433
78434
78435
78436
78437
78438
78439
78440
78441
78442
78443
78444
78445
78446
78447
78448
78449
78450
78451
78452
78453
78454
78455
78456
78457
78458
78459
78460
78461
78462
78463
78464
78465
78466
78467
78468
78469
78470
78471
78472
78473
78474
78475
78476
78477
78478
78479
78480
78481
78482
78483
78484
78485
78486
78487
78488
78489
78490
78491
78492
78493
78494
78495
78496
78497
78498
78499
78500
78501
78502
78503
78504
78505
78506
78507
78508
78509
78510
78511
78512
78513
78514
78515
78516
78517
78518
78519
78520
78521
78522
78523
78524
78525
78526
78527
78528
78529
78530
78531
78532
78533
78534
78535
78536
78537
78538
78539
78540
78541
78542
78543
78544
78545
78546
78547
78548
78549
78550
78551
78552
78553
78554
78555
78556
78557
78558
78559
78560
78561
78562
78563
78564
78565
78566
78567
78568
78569
78570
78571
78572
78573
78574
78575
78576
78577
78578
78579
78580
78581
78582
78583
78584
78585
78586
78587
78588
78589
78590
78591
78592
78593
78594
78595
78596
78597
78598
78599
78600
78601
78602
78603
78604
78605
78606
78607
78608
78609
78610
78611
78612
78613
78614
78615
78616
78617
78618
78619
78620
78621
78622
78623
78624
78625
78626
78627
78628
78629
78630
78631
78632
78633
78634
78635
78636
78637
78638
78639
78640
78641
78642
78643
78644
78645
78646
78647
78648
78649
78650
78651
78652
78653
78654
78655
78656
78657
78658
78659
78660
78661
78662
78663
78664
78665
78666
78667
78668
78669
78670
78671
78672
78673
78674
78675
78676
78677
78678
78679
78680
78681
78682
78683
78684
78685
78686
78687
78688
78689
78690
78691
78692
78693
78694
78695
78696
78697
78698
78699
78700
78701
78702
78703
78704
78705
78706
78707
78708
78709
78710
78711
78712
78713
78714
78715
78716
78717
78718
78719
78720
78721
78722
78723
78724
78725
78726
78727
78728
78729
78730
78731
78732
78733
78734
78735
78736
78737
78738
78739
78740
78741
78742
78743
78744
78745
78746
78747
78748
78749
78750
78751
78752
78753
78754
78755
78756
78757
78758
78759
78760
78761
78762
78763
78764
78765
78766
78767
78768
78769
78770
78771
78772
78773
78774
78775
78776
78777
78778
78779
78780
78781
78782
78783
78784
78785
78786
78787
78788
78789
78790
78791
78792
78793
78794
78795
78796
78797
78798
78799
78800
78801
78802
78803
78804
78805
78806
78807
78808
78809
78810
78811
78812
78813
78814
78815
78816
78817
78818
78819
78820
78821
78822
78823
78824
78825
78826
78827
78828
78829
78830
78831
78832
78833
78834
78835
78836
78837
78838
78839
78840
78841
78842
78843
78844
78845
78846
78847
78848
78849
78850
78851
78852
78853
78854
78855
78856
78857
78858
78859
78860
78861
78862
78863
78864
78865
78866
78867
78868
78869
78870
78871
78872
78873
78874
78875
78876
78877
78878
78879
78880
78881
78882
78883
78884
78885
78886
78887
78888
78889
78890
78891
78892
78893
78894
78895
78896
78897
78898
78899
78900
78901
78902
78903
78904
78905
78906
78907
78908
78909
78910
78911
78912
78913
78914
78915
78916
78917
78918
78919
78920
78921
78922
78923
78924
78925
78926
78927
78928
78929
78930
78931
78932
78933
78934
78935
78936
78937
78938
78939
78940
78941
78942
78943
78944
78945
78946
78947
78948
78949
78950
78951
78952
78953
78954
78955
78956
78957
78958
78959
78960
78961
78962
78963
78964
78965
78966
78967
78968
78969
78970
78971
78972
78973
78974
78975
78976
78977
78978
78979
78980
78981
78982
78983
78984
78985
78986
78987
78988
78989
78990
78991
78992
78993
78994
78995
78996
78997
78998
78999
79000
79001
79002
79003
79004
79005
79006
79007
79008
79009
79010
79011
79012
79013
79014
79015
79016
79017
79018
79019
79020
79021
79022
79023
79024
79025
79026
79027
79028
79029
79030
79031
79032
79033
79034
79035
79036
79037
79038
79039
79040
79041
79042
79043
79044
79045
79046
79047
79048
79049
79050
79051
79052
79053
79054
79055
79056
79057
79058
79059
79060
79061
79062
79063
79064
79065
79066
79067
79068
79069
79070
79071
79072
79073
79074
79075
79076
79077
79078
79079
79080
79081
79082
79083
79084
79085
79086
79087
79088
79089
79090
79091
79092
79093
79094
79095
79096
79097
79098
79099
79100
79101
79102
79103
79104
79105
79106
79107
79108
79109
79110
79111
79112
79113
79114
79115
79116
79117
79118
79119
79120
79121
79122
79123
79124
79125
79126
79127
79128
79129
79130
79131
79132
79133
79134
79135
79136
79137
79138
79139
79140
79141
79142
79143
79144
79145
79146
79147
79148
79149
79150
79151
79152
79153
79154
79155
79156
79157
79158
79159
79160
79161
79162
79163
79164
79165
79166
79167
79168
79169
79170
79171
79172
79173
79174
79175
79176
79177
79178
79179
79180
79181
79182
79183
79184
79185
79186
79187
79188
79189
79190
79191
79192
79193
79194
79195
79196
79197
79198
79199
79200
79201
79202
79203
79204
79205
79206
79207
79208
79209
79210
79211
79212
79213
79214
79215
79216
79217
79218
79219
79220
79221
79222
79223
79224
79225
79226
79227
79228
79229
79230
79231
79232
79233
79234
79235
79236
79237
79238
79239
79240
79241
79242
79243
79244
79245
79246
79247
79248
79249
79250
79251
79252
79253
79254
79255
79256
79257
79258
79259
79260
79261
79262
79263
79264
79265
79266
79267
79268
79269
79270
79271
79272
79273
79274
79275
79276
79277
79278
79279
79280
79281
79282
79283
79284
79285
79286
79287
79288
79289
79290
79291
79292
79293
79294
79295
79296
79297
79298
79299
79300
79301
79302
79303
79304
79305
79306
79307
79308
79309
79310
79311
79312
79313
79314
79315
79316
79317
79318
79319
79320
79321
79322
79323
79324
79325
79326
79327
79328
79329
79330
79331
79332
79333
79334
79335
79336
79337
79338
79339
79340
79341
79342
79343
79344
79345
79346
79347
79348
79349
79350
79351
79352
79353
79354
79355
79356
79357
79358
79359
79360
79361
79362
79363
79364
79365
79366
79367
79368
79369
79370
79371
79372
79373
79374
79375
79376
79377
79378
79379
79380
79381
79382
79383
79384
79385
79386
79387
79388
79389
79390
79391
79392
79393
79394
79395
79396
79397
79398
79399
79400
79401
79402
79403
79404
79405
79406
79407
79408
79409
79410
79411
79412
79413
79414
79415
79416
79417
79418
79419
79420
79421
79422
79423
79424
79425
79426
79427
79428
79429
79430
79431
79432
79433
79434
79435
79436
79437
79438
79439
79440
79441
79442
79443
79444
79445
79446
79447
79448
79449
79450
79451
79452
79453
79454
79455
79456
79457
79458
79459
79460
79461
79462
79463
79464
79465
79466
79467
79468
79469
79470
79471
79472
79473
79474
79475
79476
79477
79478
79479
79480
79481
79482
79483
79484
79485
79486
79487
79488
79489
79490
79491
79492
79493
79494
79495
79496
79497
79498
79499
79500
79501
79502
79503
79504
79505
79506
79507
79508
79509
79510
79511
79512
79513
79514
79515
79516
79517
79518
79519
79520
79521
79522
79523
79524
79525
79526
79527
79528
79529
79530
79531
79532
79533
79534
79535
79536
79537
79538
79539
79540
79541
79542
79543
79544
79545
79546
79547
79548
79549
79550
79551
79552
79553
79554
79555
79556
79557
79558
79559
79560
79561
79562
79563
79564
79565
79566
79567
79568
79569
79570
79571
79572
79573
79574
79575
79576
79577
79578
79579
79580
79581
79582
79583
79584
79585
79586
79587
79588
79589
79590
79591
79592
79593
79594
79595
79596
79597
79598
79599
79600
79601
79602
79603
79604
79605
79606
79607
79608
79609
79610
79611
79612
79613
79614
79615
79616
79617
79618
79619
79620
79621
79622
79623
79624
79625
79626
79627
79628
79629
79630
79631
79632
79633
79634
79635
79636
79637
79638
79639
79640
79641
79642
79643
79644
79645
79646
79647
79648
79649
79650
79651
79652
79653
79654
79655
79656
79657
79658
79659
79660
79661
79662
79663
79664
79665
79666
79667
79668
79669
79670
79671
79672
79673
79674
79675
79676
79677
79678
79679
79680
79681
79682
79683
79684
79685
79686
79687
79688
79689
79690
79691
79692
79693
79694
79695
79696
79697
79698
79699
79700
79701
79702
79703
79704
79705
79706
79707
79708
79709
79710
79711
79712
79713
79714
79715
79716
79717
79718
79719
79720
79721
79722
79723
79724
79725
79726
79727
79728
79729
79730
79731
79732
79733
79734
79735
79736
79737
79738
79739
79740
79741
79742
79743
79744
79745
79746
79747
79748
79749
79750
79751
79752
79753
79754
79755
79756
79757
79758
79759
79760
79761
79762
79763
79764
79765
79766
79767
79768
79769
79770
79771
79772
79773
79774
79775
79776
79777
79778
79779
79780
79781
79782
79783
79784
79785
79786
79787
79788
79789
79790
79791
79792
79793
79794
79795
79796
79797
79798
79799
79800
79801
79802
79803
79804
79805
79806
79807
79808
79809
79810
79811
79812
79813
79814
79815
79816
79817
79818
79819
79820
79821
79822
79823
79824
79825
79826
79827
79828
79829
79830
79831
79832
79833
79834
79835
79836
79837
79838
79839
79840
79841
79842
79843
79844
79845
79846
79847
79848
79849
79850
79851
79852
79853
79854
79855
79856
79857
79858
79859
79860
79861
79862
79863
79864
79865
79866
79867
79868
79869
79870
79871
79872
79873
79874
79875
79876
79877
79878
79879
79880
79881
79882
79883
79884
79885
79886
79887
79888
79889
79890
79891
79892
79893
79894
79895
79896
79897
79898
79899
79900
79901
79902
79903
79904
79905
79906
79907
79908
79909
79910
79911
79912
79913
79914
79915
79916
79917
79918
79919
79920
79921
79922
79923
79924
79925
79926
79927
79928
79929
79930
79931
79932
79933
79934
79935
79936
79937
79938
79939
79940
79941
79942
79943
79944
79945
79946
79947
79948
79949
79950
79951
79952
79953
79954
79955
79956
79957
79958
79959
79960
79961
79962
79963
79964
79965
79966
79967
79968
79969
79970
79971
79972
79973
79974
79975
79976
79977
79978
79979
79980
79981
79982
79983
79984
79985
79986
79987
79988
79989
79990
79991
79992
79993
79994
79995
79996
79997
79998
79999
80000
80001
80002
80003
80004
80005
80006
80007
80008
80009
80010
80011
80012
80013
80014
80015
80016
80017
80018
80019
80020
80021
80022
80023
80024
80025
80026
80027
80028
80029
80030
80031
80032
80033
80034
80035
80036
80037
80038
80039
80040
80041
80042
80043
80044
80045
80046
80047
80048
80049
80050
80051
80052
80053
80054
80055
80056
80057
80058
80059
80060
80061
80062
80063
80064
80065
80066
80067
80068
80069
80070
80071
80072
80073
80074
80075
80076
80077
80078
80079
80080
80081
80082
80083
80084
80085
80086
80087
80088
80089
80090
80091
80092
80093
80094
80095
80096
80097
80098
80099
80100
80101
80102
80103
80104
80105
80106
80107
80108
80109
80110
80111
80112
80113
80114
80115
80116
80117
80118
80119
80120
80121
80122
80123
80124
80125
80126
80127
80128
80129
80130
80131
80132
80133
80134
80135
80136
80137
80138
80139
80140
80141
80142
80143
80144
80145
80146
80147
80148
80149
80150
80151
80152
80153
80154
80155
80156
80157
80158
80159
80160
80161
80162
80163
80164
80165
80166
80167
80168
80169
80170
80171
80172
80173
80174
80175
80176
80177
80178
80179
80180
80181
80182
80183
80184
80185
80186
80187
80188
80189
80190
80191
80192
80193
80194
80195
80196
80197
80198
80199
80200
80201
80202
80203
80204
80205
80206
80207
80208
80209
80210
80211
80212
80213
80214
80215
80216
80217
80218
80219
80220
80221
80222
80223
80224
80225
80226
80227
80228
80229
80230
80231
80232
80233
80234
80235
80236
80237
80238
80239
80240
80241
80242
80243
80244
80245
80246
80247
80248
80249
80250
80251
80252
80253
80254
80255
80256
80257
80258
80259
80260
80261
80262
80263
80264
80265
80266
80267
80268
80269
80270
80271
80272
80273
80274
80275
80276
80277
80278
80279
80280
80281
80282
80283
80284
80285
80286
80287
80288
80289
80290
80291
80292
80293
80294
80295
80296
80297
80298
80299
80300
80301
80302
80303
80304
80305
80306
80307
80308
80309
80310
80311
80312
80313
80314
80315
80316
80317
80318
80319
80320
80321
80322
80323
80324
80325
80326
80327
80328
80329
80330
80331
80332
80333
80334
80335
80336
80337
80338
80339
80340
80341
80342
80343
80344
80345
80346
80347
80348
80349
80350
80351
80352
80353
80354
80355
80356
80357
80358
80359
80360
80361
80362
80363
80364
80365
80366
80367
80368
80369
80370
80371
80372
80373
80374
80375
80376
80377
80378
80379
80380
80381
80382
80383
80384
80385
80386
80387
80388
80389
80390
80391
80392
80393
80394
80395
80396
80397
80398
80399
80400
80401
80402
80403
80404
80405
80406
80407
80408
80409
80410
80411
80412
80413
80414
80415
80416
80417
80418
80419
80420
80421
80422
80423
80424
80425
80426
80427
80428
80429
80430
80431
80432
80433
80434
80435
80436
80437
80438
80439
80440
80441
80442
80443
80444
80445
80446
80447
80448
80449
80450
80451
80452
80453
80454
80455
80456
80457
80458
80459
80460
80461
80462
80463
80464
80465
80466
80467
80468
80469
80470
80471
80472
80473
80474
80475
80476
80477
80478
80479
80480
80481
80482
80483
80484
80485
80486
80487
80488
80489
80490
80491
80492
80493
80494
80495
80496
80497
80498
80499
80500
80501
80502
80503
80504
80505
80506
80507
80508
80509
80510
80511
80512
80513
80514
80515
80516
80517
80518
80519
80520
80521
80522
80523
80524
80525
80526
80527
80528
80529
80530
80531
80532
80533
80534
80535
80536
80537
80538
80539
80540
80541
80542
80543
80544
80545
80546
80547
80548
80549
80550
80551
80552
80553
80554
80555
80556
80557
80558
80559
80560
80561
80562
80563
80564
80565
80566
80567
80568
80569
80570
80571
80572
80573
80574
80575
80576
80577
80578
80579
80580
80581
80582
80583
80584
80585
80586
80587
80588
80589
80590
80591
80592
80593
80594
80595
80596
80597
80598
80599
80600
80601
80602
80603
80604
80605
80606
80607
80608
80609
80610
80611
80612
80613
80614
80615
80616
80617
80618
80619
80620
80621
80622
80623
80624
80625
80626
80627
80628
80629
80630
80631
80632
80633
80634
80635
80636
80637
80638
80639
80640
80641
80642
80643
80644
80645
80646
80647
80648
80649
80650
80651
80652
80653
80654
80655
80656
80657
80658
80659
80660
80661
80662
80663
80664
80665
80666
80667
80668
80669
80670
80671
80672
80673
80674
80675
80676
80677
80678
80679
80680
80681
80682
80683
80684
80685
80686
80687
80688
80689
80690
80691
80692
80693
80694
80695
80696
80697
80698
80699
80700
80701
80702
80703
80704
80705
80706
80707
80708
80709
80710
80711
80712
80713
80714
80715
80716
80717
80718
80719
80720
80721
80722
80723
80724
80725
80726
80727
80728
80729
80730
80731
80732
80733
80734
80735
80736
80737
80738
80739
80740
80741
80742
80743
80744
80745
80746
80747
80748
80749
80750
80751
80752
80753
80754
80755
80756
80757
80758
80759
80760
80761
80762
80763
80764
80765
80766
80767
80768
80769
80770
80771
80772
80773
80774
80775
80776
80777
80778
80779
80780
80781
80782
80783
80784
80785
80786
80787
80788
80789
80790
80791
80792
80793
80794
80795
80796
80797
80798
80799
80800
80801
80802
80803
80804
80805
80806
80807
80808
80809
80810
80811
80812
80813
80814
80815
80816
80817
80818
80819
80820
80821
80822
80823
80824
80825
80826
80827
80828
80829
80830
80831
80832
80833
80834
80835
80836
80837
80838
80839
80840
80841
80842
80843
80844
80845
80846
80847
80848
80849
80850
80851
80852
80853
80854
80855
80856
80857
80858
80859
80860
80861
80862
80863
80864
80865
80866
80867
80868
80869
80870
80871
80872
80873
80874
80875
80876
80877
80878
80879
80880
80881
80882
80883
80884
80885
80886
80887
80888
80889
80890
80891
80892
80893
80894
80895
80896
80897
80898
80899
80900
80901
80902
80903
80904
80905
80906
80907
80908
80909
80910
80911
80912
80913
80914
80915
80916
80917
80918
80919
80920
80921
80922
80923
80924
80925
80926
80927
80928
80929
80930
80931
80932
80933
80934
80935
80936
80937
80938
80939
80940
80941
80942
80943
80944
80945
80946
80947
80948
80949
80950
80951
80952
80953
80954
80955
80956
80957
80958
80959
80960
80961
80962
80963
80964
80965
80966
80967
80968
80969
80970
80971
80972
80973
80974
80975
80976
80977
80978
80979
80980
80981
80982
80983
80984
80985
80986
80987
80988
80989
80990
80991
80992
80993
80994
80995
80996
80997
80998
80999
81000
81001
81002
81003
81004
81005
81006
81007
81008
81009
81010
81011
81012
81013
81014
81015
81016
81017
81018
81019
81020
81021
81022
81023
81024
81025
81026
81027
81028
81029
81030
81031
81032
81033
81034
81035
81036
81037
81038
81039
81040
81041
81042
81043
81044
81045
81046
81047
81048
81049
81050
81051
81052
81053
81054
81055
81056
81057
81058
81059
81060
81061
81062
81063
81064
81065
81066
81067
81068
81069
81070
81071
81072
81073
81074
81075
81076
81077
81078
81079
81080
81081
81082
81083
81084
81085
81086
81087
81088
81089
81090
81091
81092
81093
81094
81095
81096
81097
81098
81099
81100
81101
81102
81103
81104
81105
81106
81107
81108
81109
81110
81111
81112
81113
81114
81115
81116
81117
81118
81119
81120
81121
81122
81123
81124
81125
81126
81127
81128
81129
81130
81131
81132
81133
81134
81135
81136
81137
81138
81139
81140
81141
81142
81143
81144
81145
81146
81147
81148
81149
81150
81151
81152
81153
81154
81155
81156
81157
81158
81159
81160
81161
81162
81163
81164
81165
81166
81167
81168
81169
81170
81171
81172
81173
81174
81175
81176
81177
81178
81179
81180
81181
81182
81183
81184
81185
81186
81187
81188
81189
81190
81191
81192
81193
81194
81195
81196
81197
81198
81199
81200
81201
81202
81203
81204
81205
81206
81207
81208
81209
81210
81211
81212
81213
81214
81215
81216
81217
81218
81219
81220
81221
81222
81223
81224
81225
81226
81227
81228
81229
81230
81231
81232
81233
81234
81235
81236
81237
81238
81239
81240
81241
81242
81243
81244
81245
81246
81247
81248
81249
81250
81251
81252
81253
81254
81255
81256
81257
81258
81259
81260
81261
81262
81263
81264
81265
81266
81267
81268
81269
81270
81271
81272
81273
81274
81275
81276
81277
81278
81279
81280
81281
81282
81283
81284
81285
81286
81287
81288
81289
81290
81291
81292
81293
81294
81295
81296
81297
81298
81299
81300
81301
81302
81303
81304
81305
81306
81307
81308
81309
81310
81311
81312
81313
81314
81315
81316
81317
81318
81319
81320
81321
81322
81323
81324
81325
81326
81327
81328
81329
81330
81331
81332
81333
81334
81335
81336
81337
81338
81339
81340
81341
81342
81343
81344
81345
81346
81347
81348
81349
81350
81351
81352
81353
81354
81355
81356
81357
81358
81359
81360
81361
81362
81363
81364
81365
81366
81367
81368
81369
81370
81371
81372
81373
81374
81375
81376
81377
81378
81379
81380
81381
81382
81383
81384
81385
81386
81387
81388
81389
81390
81391
81392
81393
81394
81395
81396
81397
81398
81399
81400
81401
81402
81403
81404
81405
81406
81407
81408
81409
81410
81411
81412
81413
81414
81415
81416
81417
81418
81419
81420
81421
81422
81423
81424
81425
81426
81427
81428
81429
81430
81431
81432
81433
81434
81435
81436
81437
81438
81439
81440
81441
81442
81443
81444
81445
81446
81447
81448
81449
81450
81451
81452
81453
81454
81455
81456
81457
81458
81459
81460
81461
81462
81463
81464
81465
81466
81467
81468
81469
81470
81471
81472
81473
81474
81475
81476
81477
81478
81479
81480
81481
81482
81483
81484
81485
81486
81487
81488
81489
81490
81491
81492
81493
81494
81495
81496
81497
81498
81499
81500
81501
81502
81503
81504
81505
81506
81507
81508
81509
81510
81511
81512
81513
81514
81515
81516
81517
81518
81519
81520
81521
81522
81523
81524
81525
81526
81527
81528
81529
81530
81531
81532
81533
81534
81535
81536
81537
81538
81539
81540
81541
81542
81543
81544
81545
81546
81547
81548
81549
81550
81551
81552
81553
81554
81555
81556
81557
81558
81559
81560
81561
81562
81563
81564
81565
81566
81567
81568
81569
81570
81571
81572
81573
81574
81575
81576
81577
81578
81579
81580
81581
81582
81583
81584
81585
81586
81587
81588
81589
81590
81591
81592
81593
81594
81595
81596
81597
81598
81599
81600
81601
81602
81603
81604
81605
81606
81607
81608
81609
81610
81611
81612
81613
81614
81615
81616
81617
81618
81619
81620
81621
81622
81623
81624
81625
81626
81627
81628
81629
81630
81631
81632
81633
81634
81635
81636
81637
81638
81639
81640
81641
81642
81643
81644
81645
81646
81647
81648
81649
81650
81651
81652
81653
81654
81655
81656
81657
81658
81659
81660
81661
81662
81663
81664
81665
81666
81667
81668
81669
81670
81671
81672
81673
81674
81675
81676
81677
81678
81679
81680
81681
81682
81683
81684
81685
81686
81687
81688
81689
81690
81691
81692
81693
81694
81695
81696
81697
81698
81699
81700
81701
81702
81703
81704
81705
81706
81707
81708
81709
81710
81711
81712
81713
81714
81715
81716
81717
81718
81719
81720
81721
81722
81723
81724
81725
81726
81727
81728
81729
81730
81731
81732
81733
81734
81735
81736
81737
81738
81739
81740
81741
81742
81743
81744
81745
81746
81747
81748
81749
81750
81751
81752
81753
81754
81755
81756
81757
81758
81759
81760
81761
81762
81763
81764
81765
81766
81767
81768
81769
81770
81771
81772
81773
81774
81775
81776
81777
81778
81779
81780
81781
81782
81783
81784
81785
81786
81787
81788
81789
81790
81791
81792
81793
81794
81795
81796
81797
81798
81799
81800
81801
81802
81803
81804
81805
81806
81807
81808
81809
81810
81811
81812
81813
81814
81815
81816
81817
81818
81819
81820
81821
81822
81823
81824
81825
81826
81827
81828
81829
81830
81831
81832
81833
81834
81835
81836
81837
81838
81839
81840
81841
81842
81843
81844
81845
81846
81847
81848
81849
81850
81851
81852
81853
81854
81855
81856
81857
81858
81859
81860
81861
81862
81863
81864
81865
81866
81867
81868
81869
81870
81871
81872
81873
81874
81875
81876
81877
81878
81879
81880
81881
81882
81883
81884
81885
81886
81887
81888
81889
81890
81891
81892
81893
81894
81895
81896
81897
81898
81899
81900
81901
81902
81903
81904
81905
81906
81907
81908
81909
81910
81911
81912
81913
81914
81915
81916
81917
81918
81919
81920
81921
81922
81923
81924
81925
81926
81927
81928
81929
81930
81931
81932
81933
81934
81935
81936
81937
81938
81939
81940
81941
81942
81943
81944
81945
81946
81947
81948
81949
81950
81951
81952
81953
81954
81955
81956
81957
81958
81959
81960
81961
81962
81963
81964
81965
81966
81967
81968
81969
81970
81971
81972
81973
81974
81975
81976
81977
81978
81979
81980
81981
81982
81983
81984
81985
81986
81987
81988
81989
81990
81991
81992
81993
81994
81995
81996
81997
81998
81999
82000
82001
82002
82003
82004
82005
82006
82007
82008
82009
82010
82011
82012
82013
82014
82015
82016
82017
82018
82019
82020
82021
82022
82023
82024
82025
82026
82027
82028
82029
82030
82031
82032
82033
82034
82035
82036
82037
82038
82039
82040
82041
82042
82043
82044
82045
82046
82047
82048
82049
82050
82051
82052
82053
82054
82055
82056
82057
82058
82059
82060
82061
82062
82063
82064
82065
82066
82067
82068
82069
82070
82071
82072
82073
82074
82075
82076
82077
82078
82079
82080
82081
82082
82083
82084
82085
82086
82087
82088
82089
82090
82091
82092
82093
82094
82095
82096
82097
82098
82099
82100
82101
82102
82103
82104
82105
82106
82107
82108
82109
82110
82111
82112
82113
82114
82115
82116
82117
82118
82119
82120
82121
82122
82123
82124
82125
82126
82127
82128
82129
82130
82131
82132
82133
82134
82135
82136
82137
82138
82139
82140
82141
82142
82143
82144
82145
82146
82147
82148
82149
82150
82151
82152
82153
82154
82155
82156
82157
82158
82159
82160
82161
82162
82163
82164
82165
82166
82167
82168
82169
82170
82171
82172
82173
82174
82175
82176
82177
82178
82179
82180
82181
82182
82183
82184
82185
82186
82187
82188
82189
82190
82191
82192
82193
82194
82195
82196
82197
82198
82199
82200
82201
82202
82203
82204
82205
82206
82207
82208
82209
82210
82211
82212
82213
82214
82215
82216
82217
82218
82219
82220
82221
82222
82223
82224
82225
82226
82227
82228
82229
82230
82231
82232
82233
82234
82235
82236
82237
82238
82239
82240
82241
82242
82243
82244
82245
82246
82247
82248
82249
82250
82251
82252
82253
82254
82255
82256
82257
82258
82259
82260
82261
82262
82263
82264
82265
82266
82267
82268
82269
82270
82271
82272
82273
82274
82275
82276
82277
82278
82279
82280
82281
82282
82283
82284
82285
82286
82287
82288
82289
82290
82291
82292
82293
82294
82295
82296
82297
82298
82299
82300
82301
82302
82303
82304
82305
82306
82307
82308
82309
82310
82311
82312
82313
82314
82315
82316
82317
82318
82319
82320
82321
82322
82323
82324
82325
82326
82327
82328
82329
82330
82331
82332
82333
82334
82335
82336
82337
82338
82339
82340
82341
82342
82343
82344
82345
82346
82347
82348
82349
82350
82351
82352
82353
82354
82355
82356
82357
82358
82359
82360
82361
82362
82363
82364
82365
82366
82367
82368
82369
82370
82371
82372
82373
82374
82375
82376
82377
82378
82379
82380
82381
82382
82383
82384
82385
82386
82387
82388
82389
82390
82391
82392
82393
82394
82395
82396
82397
82398
82399
82400
82401
82402
82403
82404
82405
82406
82407
82408
82409
82410
82411
82412
82413
82414
82415
82416
82417
82418
82419
82420
82421
82422
82423
82424
82425
82426
82427
82428
82429
82430
82431
82432
82433
82434
82435
82436
82437
82438
82439
82440
82441
82442
82443
82444
82445
82446
82447
82448
82449
82450
82451
82452
82453
82454
82455
82456
82457
82458
82459
82460
82461
82462
82463
82464
82465
82466
82467
82468
82469
82470
82471
82472
82473
82474
82475
82476
82477
82478
82479
82480
82481
82482
82483
82484
82485
82486
82487
82488
82489
82490
82491
82492
82493
82494
82495
82496
82497
82498
82499
82500
82501
82502
82503
82504
82505
82506
82507
82508
82509
82510
82511
82512
82513
82514
82515
82516
82517
82518
82519
82520
82521
82522
82523
82524
82525
82526
82527
82528
82529
82530
82531
82532
82533
82534
82535
82536
82537
82538
82539
82540
82541
82542
82543
82544
82545
82546
82547
82548
82549
82550
82551
82552
82553
82554
82555
82556
82557
82558
82559
82560
82561
82562
82563
82564
82565
82566
82567
82568
82569
82570
82571
82572
82573
82574
82575
82576
82577
82578
82579
82580
82581
82582
82583
82584
82585
82586
82587
82588
82589
82590
82591
82592
82593
82594
82595
82596
82597
82598
82599
82600
82601
82602
82603
82604
82605
82606
82607
82608
82609
82610
82611
82612
82613
82614
82615
82616
82617
82618
82619
82620
82621
82622
82623
82624
82625
82626
82627
82628
82629
82630
82631
82632
82633
82634
82635
82636
82637
82638
82639
82640
82641
82642
82643
82644
82645
82646
82647
82648
82649
82650
82651
82652
82653
82654
82655
82656
82657
82658
82659
82660
82661
82662
82663
82664
82665
82666
82667
82668
82669
82670
82671
82672
82673
82674
82675
82676
82677
82678
82679
82680
82681
82682
82683
82684
82685
82686
82687
82688
82689
82690
82691
82692
82693
82694
82695
82696
82697
82698
82699
82700
82701
82702
82703
82704
82705
82706
82707
82708
82709
82710
82711
82712
82713
82714
82715
82716
82717
82718
82719
82720
82721
82722
82723
82724
82725
82726
82727
82728
82729
82730
82731
82732
82733
82734
82735
82736
82737
82738
82739
82740
82741
82742
82743
82744
82745
82746
82747
82748
82749
82750
82751
82752
82753
82754
82755
82756
82757
82758
82759
82760
82761
82762
82763
82764
82765
82766
82767
82768
82769
82770
82771
82772
82773
82774
82775
82776
82777
82778
82779
82780
82781
82782
82783
82784
82785
82786
82787
82788
82789
82790
82791
82792
82793
82794
82795
82796
82797
82798
82799
82800
82801
82802
82803
82804
82805
82806
82807
82808
82809
82810
82811
82812
82813
82814
82815
82816
82817
82818
82819
82820
82821
82822
82823
82824
82825
82826
82827
82828
82829
82830
82831
82832
82833
82834
82835
82836
82837
82838
82839
82840
82841
82842
82843
82844
82845
82846
82847
82848
82849
82850
82851
82852
82853
82854
82855
82856
82857
82858
82859
82860
82861
82862
82863
82864
82865
82866
82867
82868
82869
82870
82871
82872
82873
82874
82875
82876
82877
82878
82879
82880
82881
82882
82883
82884
82885
82886
82887
82888
82889
82890
82891
82892
82893
82894
82895
82896
82897
82898
82899
82900
82901
82902
82903
82904
82905
82906
82907
82908
82909
82910
82911
82912
82913
82914
82915
82916
82917
82918
82919
82920
82921
82922
82923
82924
82925
82926
82927
82928
82929
82930
82931
82932
82933
82934
82935
82936
82937
82938
82939
82940
82941
82942
82943
82944
82945
82946
82947
82948
82949
82950
82951
82952
82953
82954
82955
82956
82957
82958
82959
82960
82961
82962
82963
82964
82965
82966
82967
82968
82969
82970
82971
82972
82973
82974
82975
82976
82977
82978
82979
82980
82981
82982
82983
82984
82985
82986
82987
82988
82989
82990
82991
82992
82993
82994
82995
82996
82997
82998
82999
83000
83001
83002
83003
83004
83005
83006
83007
83008
83009
83010
83011
83012
83013
83014
83015
83016
83017
83018
83019
83020
83021
83022
83023
83024
83025
83026
83027
83028
83029
83030
83031
83032
83033
83034
83035
83036
83037
83038
83039
83040
83041
83042
83043
83044
83045
83046
83047
83048
83049
83050
83051
83052
83053
83054
83055
83056
83057
83058
83059
83060
83061
83062
83063
83064
83065
83066
83067
83068
83069
83070
83071
83072
83073
83074
83075
83076
83077
83078
83079
83080
83081
83082
83083
83084
83085
83086
83087
83088
83089
83090
83091
83092
83093
83094
83095
83096
83097
83098
83099
83100
83101
83102
83103
83104
83105
83106
83107
83108
83109
83110
83111
83112
83113
83114
83115
83116
83117
83118
83119
83120
83121
83122
83123
83124
83125
83126
83127
83128
83129
83130
83131
83132
83133
83134
83135
83136
83137
83138
83139
83140
83141
83142
83143
83144
83145
83146
83147
83148
83149
83150
83151
83152
83153
83154
83155
83156
83157
83158
83159
83160
83161
83162
83163
83164
83165
83166
83167
83168
83169
83170
83171
83172
83173
83174
83175
83176
83177
83178
83179
83180
83181
83182
83183
83184
83185
83186
83187
83188
83189
83190
83191
83192
83193
83194
83195
83196
83197
83198
83199
83200
83201
83202
83203
83204
83205
83206
83207
83208
83209
83210
83211
83212
83213
83214
83215
83216
83217
83218
83219
83220
83221
83222
83223
83224
83225
83226
83227
83228
83229
83230
83231
83232
83233
83234
83235
83236
83237
83238
83239
83240
83241
83242
83243
83244
83245
83246
83247
83248
83249
83250
83251
83252
83253
83254
83255
83256
83257
83258
83259
83260
83261
83262
83263
83264
83265
83266
83267
83268
83269
83270
83271
83272
83273
83274
83275
83276
83277
83278
83279
83280
83281
83282
83283
83284
83285
83286
83287
83288
83289
83290
83291
83292
83293
83294
83295
83296
83297
83298
83299
83300
83301
83302
83303
83304
83305
83306
83307
83308
83309
83310
83311
83312
83313
83314
83315
83316
83317
83318
83319
83320
83321
83322
83323
83324
83325
83326
83327
83328
83329
83330
83331
83332
83333
83334
83335
83336
83337
83338
83339
83340
83341
83342
83343
83344
83345
83346
83347
83348
83349
83350
83351
83352
83353
83354
83355
83356
83357
83358
83359
83360
83361
83362
83363
83364
83365
83366
83367
83368
83369
83370
83371
83372
83373
83374
83375
83376
83377
83378
83379
83380
83381
83382
83383
83384
83385
83386
83387
83388
83389
83390
83391
83392
83393
83394
83395
83396
83397
83398
83399
83400
83401
83402
83403
83404
83405
83406
83407
83408
83409
83410
83411
83412
83413
83414
83415
83416
83417
83418
83419
83420
83421
83422
83423
83424
83425
83426
83427
83428
83429
83430
83431
83432
83433
83434
83435
83436
83437
83438
83439
83440
83441
83442
83443
83444
83445
83446
83447
83448
83449
83450
83451
83452
83453
83454
83455
83456
83457
83458
83459
83460
83461
83462
83463
83464
83465
83466
83467
83468
83469
83470
83471
83472
83473
83474
83475
83476
83477
83478
83479
83480
83481
83482
83483
83484
83485
83486
83487
83488
83489
83490
83491
83492
83493
83494
83495
83496
83497
83498
83499
83500
83501
83502
83503
83504
83505
83506
83507
83508
83509
83510
83511
83512
83513
83514
83515
83516
83517
83518
83519
83520
83521
83522
83523
83524
83525
83526
83527
83528
83529
83530
83531
83532
83533
83534
83535
83536
83537
83538
83539
83540
83541
83542
83543
83544
83545
83546
83547
83548
83549
83550
83551
83552
83553
83554
83555
83556
83557
83558
83559
83560
83561
83562
83563
83564
83565
83566
83567
83568
83569
83570
83571
83572
83573
83574
83575
83576
83577
83578
83579
83580
83581
83582
83583
83584
83585
83586
83587
83588
83589
83590
83591
83592
83593
83594
83595
83596
83597
83598
83599
83600
83601
83602
83603
83604
83605
83606
83607
83608
83609
83610
83611
83612
83613
83614
83615
83616
83617
83618
83619
83620
83621
83622
83623
83624
83625
83626
83627
83628
83629
83630
83631
83632
83633
83634
83635
83636
83637
83638
83639
83640
83641
83642
83643
83644
83645
83646
83647
83648
83649
83650
83651
83652
83653
83654
83655
83656
83657
83658
83659
83660
83661
83662
83663
83664
83665
83666
83667
83668
83669
83670
83671
83672
83673
83674
83675
83676
83677
83678
83679
83680
83681
83682
83683
83684
83685
83686
83687
83688
83689
83690
83691
83692
83693
83694
83695
83696
83697
83698
83699
83700
83701
83702
83703
83704
83705
83706
83707
83708
83709
83710
83711
83712
83713
83714
83715
83716
83717
83718
83719
83720
83721
83722
83723
83724
83725
83726
83727
83728
83729
83730
83731
83732
83733
83734
83735
83736
83737
83738
83739
83740
83741
83742
83743
83744
83745
83746
83747
83748
83749
83750
83751
83752
83753
83754
83755
83756
83757
83758
83759
83760
83761
83762
83763
83764
83765
83766
83767
83768
83769
83770
83771
83772
83773
83774
83775
83776
83777
83778
83779
83780
83781
83782
83783
83784
83785
83786
83787
83788
83789
83790
83791
83792
83793
83794
83795
83796
83797
83798
83799
83800
83801
83802
83803
83804
83805
83806
83807
83808
83809
83810
83811
83812
83813
83814
83815
83816
83817
83818
83819
83820
83821
83822
83823
83824
83825
83826
83827
83828
83829
83830
83831
83832
83833
83834
83835
83836
83837
83838
83839
83840
83841
83842
83843
83844
83845
83846
83847
83848
83849
83850
83851
83852
83853
83854
83855
83856
83857
83858
83859
83860
83861
83862
83863
83864
83865
83866
83867
83868
83869
83870
83871
83872
83873
83874
83875
83876
83877
83878
83879
83880
83881
83882
83883
83884
83885
83886
83887
83888
83889
83890
83891
83892
83893
83894
83895
83896
83897
83898
83899
83900
83901
83902
83903
83904
83905
83906
83907
83908
83909
83910
83911
83912
83913
83914
83915
83916
83917
83918
83919
83920
83921
83922
83923
83924
83925
83926
83927
83928
83929
83930
83931
83932
83933
83934
83935
83936
83937
83938
83939
83940
83941
83942
83943
83944
83945
83946
83947
83948
83949
83950
83951
83952
83953
83954
83955
83956
83957
83958
83959
83960
83961
83962
83963
83964
83965
83966
83967
83968
83969
83970
83971
83972
83973
83974
83975
83976
83977
83978
83979
83980
83981
83982
83983
83984
83985
83986
83987
83988
83989
83990
83991
83992
83993
83994
83995
83996
83997
83998
83999
84000
84001
84002
84003
84004
84005
84006
84007
84008
84009
84010
84011
84012
84013
84014
84015
84016
84017
84018
84019
84020
84021
84022
84023
84024
84025
84026
84027
84028
84029
84030
84031
84032
84033
84034
84035
84036
84037
84038
84039
84040
84041
84042
84043
84044
84045
84046
84047
84048
84049
84050
84051
84052
84053
84054
84055
84056
84057
84058
84059
84060
84061
84062
84063
84064
84065
84066
84067
84068
84069
84070
84071
84072
84073
84074
84075
84076
84077
84078
84079
84080
84081
84082
84083
84084
84085
84086
84087
84088
84089
84090
84091
84092
84093
84094
84095
84096
84097
84098
84099
84100
84101
84102
84103
84104
84105
84106
84107
84108
84109
84110
84111
84112
84113
84114
84115
84116
84117
84118
84119
84120
84121
84122
84123
84124
84125
84126
84127
84128
84129
84130
84131
84132
84133
84134
84135
84136
84137
84138
84139
84140
84141
84142
84143
84144
84145
84146
84147
84148
84149
84150
84151
84152
84153
84154
84155
84156
84157
84158
84159
84160
84161
84162
84163
84164
84165
84166
84167
84168
84169
84170
84171
84172
84173
84174
84175
84176
84177
84178
84179
84180
84181
84182
84183
84184
84185
84186
84187
84188
84189
84190
84191
84192
84193
84194
84195
84196
84197
84198
84199
84200
84201
84202
84203
84204
84205
84206
84207
84208
84209
84210
84211
84212
84213
84214
84215
84216
84217
84218
84219
84220
84221
84222
84223
84224
84225
84226
84227
84228
84229
84230
84231
84232
84233
84234
84235
84236
84237
84238
84239
84240
84241
84242
84243
84244
84245
84246
84247
84248
84249
84250
84251
84252
84253
84254
84255
84256
84257
84258
84259
84260
84261
84262
84263
84264
84265
84266
84267
84268
84269
84270
84271
84272
84273
84274
84275
84276
84277
84278
84279
84280
84281
84282
84283
84284
84285
84286
84287
84288
84289
84290
84291
84292
84293
84294
84295
84296
84297
84298
84299
84300
84301
84302
84303
84304
84305
84306
84307
84308
84309
84310
84311
84312
84313
84314
84315
84316
84317
84318
84319
84320
84321
84322
84323
84324
84325
84326
84327
84328
84329
84330
84331
84332
84333
84334
84335
84336
84337
84338
84339
84340
84341
84342
84343
84344
84345
84346
84347
84348
84349
84350
84351
84352
84353
84354
84355
84356
84357
84358
84359
84360
84361
84362
84363
84364
84365
84366
84367
84368
84369
84370
84371
84372
84373
84374
84375
84376
84377
84378
84379
84380
84381
84382
84383
84384
84385
84386
84387
84388
84389
84390
84391
84392
84393
84394
84395
84396
84397
84398
84399
84400
84401
84402
84403
84404
84405
84406
84407
84408
84409
84410
84411
84412
84413
84414
84415
84416
84417
84418
84419
84420
84421
84422
84423
84424
84425
84426
84427
84428
84429
84430
84431
84432
84433
84434
84435
84436
84437
84438
84439
84440
84441
84442
84443
84444
84445
84446
84447
84448
84449
84450
84451
84452
84453
84454
84455
84456
84457
84458
84459
84460
84461
84462
84463
84464
84465
84466
84467
84468
84469
84470
84471
84472
84473
84474
84475
84476
84477
84478
84479
84480
84481
84482
84483
84484
84485
84486
84487
84488
84489
84490
84491
84492
84493
84494
84495
84496
84497
84498
84499
84500
84501
84502
84503
84504
84505
84506
84507
84508
84509
84510
84511
84512
84513
84514
84515
84516
84517
84518
84519
84520
84521
84522
84523
84524
84525
84526
84527
84528
84529
84530
84531
84532
84533
84534
84535
84536
84537
84538
84539
84540
84541
84542
84543
84544
84545
84546
84547
84548
84549
84550
84551
84552
84553
84554
84555
84556
84557
84558
84559
84560
84561
84562
84563
84564
84565
84566
84567
84568
84569
84570
84571
84572
84573
84574
84575
84576
84577
84578
84579
84580
84581
84582
84583
84584
84585
84586
84587
84588
84589
84590
84591
84592
84593
84594
84595
84596
84597
84598
84599
84600
84601
84602
84603
84604
84605
84606
84607
84608
84609
84610
84611
84612
84613
84614
84615
84616
84617
84618
84619
84620
84621
84622
84623
84624
84625
84626
84627
84628
84629
84630
84631
84632
84633
84634
84635
84636
84637
84638
84639
84640
84641
84642
84643
84644
84645
84646
84647
84648
84649
84650
84651
84652
84653
84654
84655
84656
84657
84658
84659
84660
84661
84662
84663
84664
84665
84666
84667
84668
84669
84670
84671
84672
84673
84674
84675
84676
84677
84678
84679
84680
84681
84682
84683
84684
84685
84686
84687
84688
84689
84690
84691
84692
84693
84694
84695
84696
84697
84698
84699
84700
84701
84702
84703
84704
84705
84706
84707
84708
84709
84710
84711
84712
84713
84714
84715
84716
84717
84718
84719
84720
84721
84722
84723
84724
84725
84726
84727
84728
84729
84730
84731
84732
84733
84734
84735
84736
84737
84738
84739
84740
84741
84742
84743
84744
84745
84746
84747
84748
84749
84750
84751
84752
84753
84754
84755
84756
84757
84758
84759
84760
84761
84762
84763
84764
84765
84766
84767
84768
84769
84770
84771
84772
84773
84774
84775
84776
84777
84778
84779
84780
84781
84782
84783
84784
84785
84786
84787
84788
84789
84790
84791
84792
84793
84794
84795
84796
84797
84798
84799
84800
84801
84802
84803
84804
84805
84806
84807
84808
84809
84810
84811
84812
84813
84814
84815
84816
84817
84818
84819
84820
84821
84822
84823
84824
84825
84826
84827
84828
84829
84830
84831
84832
84833
84834
84835
84836
84837
84838
84839
84840
84841
84842
84843
84844
84845
84846
84847
84848
84849
84850
84851
84852
84853
84854
84855
84856
84857
84858
84859
84860
84861
84862
84863
84864
84865
84866
84867
84868
84869
84870
84871
84872
84873
84874
84875
84876
84877
84878
84879
84880
84881
84882
84883
84884
84885
84886
84887
84888
84889
84890
84891
84892
84893
84894
84895
84896
84897
84898
84899
84900
84901
84902
84903
84904
84905
84906
84907
84908
84909
84910
84911
84912
84913
84914
84915
84916
84917
84918
84919
84920
84921
84922
84923
84924
84925
84926
84927
84928
84929
84930
84931
84932
84933
84934
84935
84936
84937
84938
84939
84940
84941
84942
84943
84944
84945
84946
84947
84948
84949
84950
84951
84952
84953
84954
84955
84956
84957
84958
84959
84960
84961
84962
84963
84964
84965
84966
84967
84968
84969
84970
84971
84972
84973
84974
84975
84976
84977
84978
84979
84980
84981
84982
84983
84984
84985
84986
84987
84988
84989
84990
84991
84992
84993
84994
84995
84996
84997
84998
84999
85000
85001
85002
85003
85004
85005
85006
85007
85008
85009
85010
85011
85012
85013
85014
85015
85016
85017
85018
85019
85020
85021
85022
85023
85024
85025
85026
85027
85028
85029
85030
85031
85032
85033
85034
85035
85036
85037
85038
85039
85040
85041
85042
85043
85044
85045
85046
85047
85048
85049
85050
85051
85052
85053
85054
85055
85056
85057
85058
85059
85060
85061
85062
85063
85064
85065
85066
85067
85068
85069
85070
85071
85072
85073
85074
85075
85076
85077
85078
85079
85080
85081
85082
85083
85084
85085
85086
85087
85088
85089
85090
85091
85092
85093
85094
85095
85096
85097
85098
85099
85100
85101
85102
85103
85104
85105
85106
85107
85108
85109
85110
85111
85112
85113
85114
85115
85116
85117
85118
85119
85120
85121
85122
85123
85124
85125
85126
85127
85128
85129
85130
85131
85132
85133
85134
85135
85136
85137
85138
85139
85140
85141
85142
85143
85144
85145
85146
85147
85148
85149
85150
85151
85152
85153
85154
85155
85156
85157
85158
85159
85160
85161
85162
85163
85164
85165
85166
85167
85168
85169
85170
85171
85172
85173
85174
85175
85176
85177
85178
85179
85180
85181
85182
85183
85184
85185
85186
85187
85188
85189
85190
85191
85192
85193
85194
85195
85196
85197
85198
85199
85200
85201
85202
85203
85204
85205
85206
85207
85208
85209
85210
85211
85212
85213
85214
85215
85216
85217
85218
85219
85220
85221
85222
85223
85224
85225
85226
85227
85228
85229
85230
85231
85232
85233
85234
85235
85236
85237
85238
85239
85240
85241
85242
85243
85244
85245
85246
85247
85248
85249
85250
85251
85252
85253
85254
85255
85256
85257
85258
85259
85260
85261
85262
85263
85264
85265
85266
85267
85268
85269
85270
85271
85272
85273
85274
85275
85276
85277
85278
85279
85280
85281
85282
85283
85284
85285
85286
85287
85288
85289
85290
85291
85292
85293
85294
85295
85296
85297
85298
85299
85300
85301
85302
85303
85304
85305
85306
85307
85308
85309
85310
85311
85312
85313
85314
85315
85316
85317
85318
85319
85320
85321
85322
85323
85324
85325
85326
85327
85328
85329
85330
85331
85332
85333
85334
85335
85336
85337
85338
85339
85340
85341
85342
85343
85344
85345
85346
85347
85348
85349
85350
85351
85352
85353
85354
85355
85356
85357
85358
85359
85360
85361
85362
85363
85364
85365
85366
85367
85368
85369
85370
85371
85372
85373
85374
85375
85376
85377
85378
85379
85380
85381
85382
85383
85384
85385
85386
85387
85388
85389
85390
85391
85392
85393
85394
85395
85396
85397
85398
85399
85400
85401
85402
85403
85404
85405
85406
85407
85408
85409
85410
85411
85412
85413
85414
85415
85416
85417
85418
85419
85420
85421
85422
85423
85424
85425
85426
85427
85428
85429
85430
85431
85432
85433
85434
85435
85436
85437
85438
85439
85440
85441
85442
85443
85444
85445
85446
85447
85448
85449
85450
85451
85452
85453
85454
85455
85456
85457
85458
85459
85460
85461
85462
85463
85464
85465
85466
85467
85468
85469
85470
85471
85472
85473
85474
85475
85476
85477
85478
85479
85480
85481
85482
85483
85484
85485
85486
85487
85488
85489
85490
85491
85492
85493
85494
85495
85496
85497
85498
85499
85500
85501
85502
85503
85504
85505
85506
85507
85508
85509
85510
85511
85512
85513
85514
85515
85516
85517
85518
85519
85520
85521
85522
85523
85524
85525
85526
85527
85528
85529
85530
85531
85532
85533
85534
85535
85536
85537
85538
85539
85540
85541
85542
85543
85544
85545
85546
85547
85548
85549
85550
85551
85552
85553
85554
85555
85556
85557
85558
85559
85560
85561
85562
85563
85564
85565
85566
85567
85568
85569
85570
85571
85572
85573
85574
85575
85576
85577
85578
85579
85580
85581
85582
85583
85584
85585
85586
85587
85588
85589
85590
85591
85592
85593
85594
85595
85596
85597
85598
85599
85600
85601
85602
85603
85604
85605
85606
85607
85608
85609
85610
85611
85612
85613
85614
85615
85616
85617
85618
85619
85620
85621
85622
85623
85624
85625
85626
85627
85628
85629
85630
85631
85632
85633
85634
85635
85636
85637
85638
85639
85640
85641
85642
85643
85644
85645
85646
85647
85648
85649
85650
85651
85652
85653
85654
85655
85656
85657
85658
85659
85660
85661
85662
85663
85664
85665
85666
85667
85668
85669
85670
85671
85672
85673
85674
85675
85676
85677
85678
85679
85680
85681
85682
85683
85684
85685
85686
85687
85688
85689
85690
85691
85692
85693
85694
85695
85696
85697
85698
85699
85700
85701
85702
85703
85704
85705
85706
85707
85708
85709
85710
85711
85712
85713
85714
85715
85716
85717
85718
85719
85720
85721
85722
85723
85724
85725
85726
85727
85728
85729
85730
85731
85732
85733
85734
85735
85736
85737
85738
85739
85740
85741
85742
85743
85744
85745
85746
85747
85748
85749
85750
85751
85752
85753
85754
85755
85756
85757
85758
85759
85760
85761
85762
85763
85764
85765
85766
85767
85768
85769
85770
85771
85772
85773
85774
85775
85776
85777
85778
85779
85780
85781
85782
85783
85784
85785
85786
85787
85788
85789
85790
85791
85792
85793
85794
85795
85796
85797
85798
85799
85800
85801
85802
85803
85804
85805
85806
85807
85808
85809
85810
85811
85812
85813
85814
85815
85816
85817
85818
85819
85820
85821
85822
85823
85824
85825
85826
85827
85828
85829
85830
85831
85832
85833
85834
85835
85836
85837
85838
85839
85840
85841
85842
85843
85844
85845
85846
85847
85848
85849
85850
85851
85852
85853
85854
85855
85856
85857
85858
85859
85860
85861
85862
85863
85864
85865
85866
85867
85868
85869
85870
85871
85872
85873
85874
85875
85876
85877
85878
85879
85880
85881
85882
85883
85884
85885
85886
85887
85888
85889
85890
85891
85892
85893
85894
85895
85896
85897
85898
85899
85900
85901
85902
85903
85904
85905
85906
85907
85908
85909
85910
85911
85912
85913
85914
85915
85916
85917
85918
85919
85920
85921
85922
85923
85924
85925
85926
85927
85928
85929
85930
85931
85932
85933
85934
85935
85936
85937
85938
85939
85940
85941
85942
85943
85944
85945
85946
85947
85948
85949
85950
85951
85952
85953
85954
85955
85956
85957
85958
85959
85960
85961
85962
85963
85964
85965
85966
85967
85968
85969
85970
85971
85972
85973
85974
85975
85976
85977
85978
85979
85980
85981
85982
85983
85984
85985
85986
85987
85988
85989
85990
85991
85992
85993
85994
85995
85996
85997
85998
85999
86000
86001
86002
86003
86004
86005
86006
86007
86008
86009
86010
86011
86012
86013
86014
86015
86016
86017
86018
86019
86020
86021
86022
86023
86024
86025
86026
86027
86028
86029
86030
86031
86032
86033
86034
86035
86036
86037
86038
86039
86040
86041
86042
86043
86044
86045
86046
86047
86048
86049
86050
86051
86052
86053
86054
86055
86056
86057
86058
86059
86060
86061
86062
86063
86064
86065
86066
86067
86068
86069
86070
86071
86072
86073
86074
86075
86076
86077
86078
86079
86080
86081
86082
86083
86084
86085
86086
86087
86088
86089
86090
86091
86092
86093
86094
86095
86096
86097
86098
86099
86100
86101
86102
86103
86104
86105
86106
86107
86108
86109
86110
86111
86112
86113
86114
86115
86116
86117
86118
86119
86120
86121
86122
86123
86124
86125
86126
86127
86128
86129
86130
86131
86132
86133
86134
86135
86136
86137
86138
86139
86140
86141
86142
86143
86144
86145
86146
86147
86148
86149
86150
86151
86152
86153
86154
86155
86156
86157
86158
86159
86160
86161
86162
86163
86164
86165
86166
86167
86168
86169
86170
86171
86172
86173
86174
86175
86176
86177
86178
86179
86180
86181
86182
86183
86184
86185
86186
86187
86188
86189
86190
86191
86192
86193
86194
86195
86196
86197
86198
86199
86200
86201
86202
86203
86204
86205
86206
86207
86208
86209
86210
86211
86212
86213
86214
86215
86216
86217
86218
86219
86220
86221
86222
86223
86224
86225
86226
86227
86228
86229
86230
86231
86232
86233
86234
86235
86236
86237
86238
86239
86240
86241
86242
86243
86244
86245
86246
86247
86248
86249
86250
86251
86252
86253
86254
86255
86256
86257
86258
86259
86260
86261
86262
86263
86264
86265
86266
86267
86268
86269
86270
86271
86272
86273
86274
86275
86276
86277
86278
86279
86280
86281
86282
86283
86284
86285
86286
86287
86288
86289
86290
86291
86292
86293
86294
86295
86296
86297
86298
86299
86300
86301
86302
86303
86304
86305
86306
86307
86308
86309
86310
86311
86312
86313
86314
86315
86316
86317
86318
86319
86320
86321
86322
86323
86324
86325
86326
86327
86328
86329
86330
86331
86332
86333
86334
86335
86336
86337
86338
86339
86340
86341
86342
86343
86344
86345
86346
86347
86348
86349
86350
86351
86352
86353
86354
86355
86356
86357
86358
86359
86360
86361
86362
86363
86364
86365
86366
86367
86368
86369
86370
86371
86372
86373
86374
86375
86376
86377
86378
86379
86380
86381
86382
86383
86384
86385
86386
86387
86388
86389
86390
86391
86392
86393
86394
86395
86396
86397
86398
86399
86400
86401
86402
86403
86404
86405
86406
86407
86408
86409
86410
86411
86412
86413
86414
86415
86416
86417
86418
86419
86420
86421
86422
86423
86424
86425
86426
86427
86428
86429
86430
86431
86432
86433
86434
86435
86436
86437
86438
86439
86440
86441
86442
86443
86444
86445
86446
86447
86448
86449
86450
86451
86452
86453
86454
86455
86456
86457
86458
86459
86460
86461
86462
86463
86464
86465
86466
86467
86468
86469
86470
86471
86472
86473
86474
86475
86476
86477
86478
86479
86480
86481
86482
86483
86484
86485
86486
86487
86488
86489
86490
86491
86492
86493
86494
86495
86496
86497
86498
86499
86500
86501
86502
86503
86504
86505
86506
86507
86508
86509
86510
86511
86512
86513
86514
86515
86516
86517
86518
86519
86520
86521
86522
86523
86524
86525
86526
86527
86528
86529
86530
86531
86532
86533
86534
86535
86536
86537
86538
86539
86540
86541
86542
86543
86544
86545
86546
86547
86548
86549
86550
86551
86552
86553
86554
86555
86556
86557
86558
86559
86560
86561
86562
86563
86564
86565
86566
86567
86568
86569
86570
86571
86572
86573
86574
86575
86576
86577
86578
86579
86580
86581
86582
86583
86584
86585
86586
86587
86588
86589
86590
86591
86592
86593
86594
86595
86596
86597
86598
86599
86600
86601
86602
86603
86604
86605
86606
86607
86608
86609
86610
86611
86612
86613
86614
86615
86616
86617
86618
86619
86620
86621
86622
86623
86624
86625
86626
86627
86628
86629
86630
86631
86632
86633
86634
86635
86636
86637
86638
86639
86640
86641
86642
86643
86644
86645
86646
86647
86648
86649
86650
86651
86652
86653
86654
86655
86656
86657
86658
86659
86660
86661
86662
86663
86664
86665
86666
86667
86668
86669
86670
86671
86672
86673
86674
86675
86676
86677
86678
86679
86680
86681
86682
86683
86684
86685
86686
86687
86688
86689
86690
86691
86692
86693
86694
86695
86696
86697
86698
86699
86700
86701
86702
86703
86704
86705
86706
86707
86708
86709
86710
86711
86712
86713
86714
86715
86716
86717
86718
86719
86720
86721
86722
86723
86724
86725
86726
86727
86728
86729
86730
86731
86732
86733
86734
86735
86736
86737
86738
86739
86740
86741
86742
86743
86744
86745
86746
86747
86748
86749
86750
86751
86752
86753
86754
86755
86756
86757
86758
86759
86760
86761
86762
86763
86764
86765
86766
86767
86768
86769
86770
86771
86772
86773
86774
86775
86776
86777
86778
86779
86780
86781
86782
86783
86784
86785
86786
86787
86788
86789
86790
86791
86792
86793
86794
86795
86796
86797
86798
86799
86800
86801
86802
86803
86804
86805
86806
86807
86808
86809
86810
86811
86812
86813
86814
86815
86816
86817
86818
86819
86820
86821
86822
86823
86824
86825
86826
86827
86828
86829
86830
86831
86832
86833
86834
86835
86836
86837
86838
86839
86840
86841
86842
86843
86844
86845
86846
86847
86848
86849
86850
86851
86852
86853
86854
86855
86856
86857
86858
86859
86860
86861
86862
86863
86864
86865
86866
86867
86868
86869
86870
86871
86872
86873
86874
86875
86876
86877
86878
86879
86880
86881
86882
86883
86884
86885
86886
86887
86888
86889
86890
86891
86892
86893
86894
86895
86896
86897
86898
86899
86900
86901
86902
86903
86904
86905
86906
86907
86908
86909
86910
86911
86912
86913
86914
86915
86916
86917
86918
86919
86920
86921
86922
86923
86924
86925
86926
86927
86928
86929
86930
86931
86932
86933
86934
86935
86936
86937
86938
86939
86940
86941
86942
86943
86944
86945
86946
86947
86948
86949
86950
86951
86952
86953
86954
86955
86956
86957
86958
86959
86960
86961
86962
86963
86964
86965
86966
86967
86968
86969
86970
86971
86972
86973
86974
86975
86976
86977
86978
86979
86980
86981
86982
86983
86984
86985
86986
86987
86988
86989
86990
86991
86992
86993
86994
86995
86996
86997
86998
86999
87000
87001
87002
87003
87004
87005
87006
87007
87008
87009
87010
87011
87012
87013
87014
87015
87016
87017
87018
87019
87020
87021
87022
87023
87024
87025
87026
87027
87028
87029
87030
87031
87032
87033
87034
87035
87036
87037
87038
87039
87040
87041
87042
87043
87044
87045
87046
87047
87048
87049
87050
87051
87052
87053
87054
87055
87056
87057
87058
87059
87060
87061
87062
87063
87064
87065
87066
87067
87068
87069
87070
87071
87072
87073
87074
87075
87076
87077
87078
87079
87080
87081
87082
87083
87084
87085
87086
87087
87088
87089
87090
87091
87092
87093
87094
87095
87096
87097
87098
87099
87100
87101
87102
87103
87104
87105
87106
87107
87108
87109
87110
87111
87112
87113
87114
87115
87116
87117
87118
87119
87120
87121
87122
87123
87124
87125
87126
87127
87128
87129
87130
87131
87132
87133
87134
87135
87136
87137
87138
87139
87140
87141
87142
87143
87144
87145
87146
87147
87148
87149
87150
87151
87152
87153
87154
87155
87156
87157
87158
87159
87160
87161
87162
87163
87164
87165
87166
87167
87168
87169
87170
87171
87172
87173
87174
87175
87176
87177
87178
87179
87180
87181
87182
87183
87184
87185
87186
87187
87188
87189
87190
87191
87192
87193
87194
87195
87196
87197
87198
87199
87200
87201
87202
87203
87204
87205
87206
87207
87208
87209
87210
87211
87212
87213
87214
87215
87216
87217
87218
87219
87220
87221
87222
87223
87224
87225
87226
87227
87228
87229
87230
87231
87232
87233
87234
87235
87236
87237
87238
87239
87240
87241
87242
87243
87244
87245
87246
87247
87248
87249
87250
87251
87252
87253
87254
87255
87256
87257
87258
87259
87260
87261
87262
87263
87264
87265
87266
87267
87268
87269
87270
87271
87272
87273
87274
87275
87276
87277
87278
87279
87280
87281
87282
87283
87284
87285
87286
87287
87288
87289
87290
87291
87292
87293
87294
87295
87296
87297
87298
87299
87300
87301
87302
87303
87304
87305
87306
87307
87308
87309
87310
87311
87312
87313
87314
87315
87316
87317
87318
87319
87320
87321
87322
87323
87324
87325
87326
87327
87328
87329
87330
87331
87332
87333
87334
87335
87336
87337
87338
87339
87340
87341
87342
87343
87344
87345
87346
87347
87348
87349
87350
87351
87352
87353
87354
87355
87356
87357
87358
87359
87360
87361
87362
87363
87364
87365
87366
87367
87368
87369
87370
87371
87372
87373
87374
87375
87376
87377
87378
87379
87380
87381
87382
87383
87384
87385
87386
87387
87388
87389
87390
87391
87392
87393
87394
87395
87396
87397
87398
87399
87400
87401
87402
87403
87404
87405
87406
87407
87408
87409
87410
87411
87412
87413
87414
87415
87416
87417
87418
87419
87420
87421
87422
87423
87424
87425
87426
87427
87428
87429
87430
87431
87432
87433
87434
87435
87436
87437
87438
87439
87440
87441
87442
87443
87444
87445
87446
87447
87448
87449
87450
87451
87452
87453
87454
87455
87456
87457
87458
87459
87460
87461
87462
87463
87464
87465
87466
87467
87468
87469
87470
87471
87472
87473
87474
87475
87476
87477
87478
87479
87480
87481
87482
87483
87484
87485
87486
87487
87488
87489
87490
87491
87492
87493
87494
87495
87496
87497
87498
87499
87500
87501
87502
87503
87504
87505
87506
87507
87508
87509
87510
87511
87512
87513
87514
87515
87516
87517
87518
87519
87520
87521
87522
87523
87524
87525
87526
87527
87528
87529
87530
87531
87532
87533
87534
87535
87536
87537
87538
87539
87540
87541
87542
87543
87544
87545
87546
87547
87548
87549
87550
87551
87552
87553
87554
87555
87556
87557
87558
87559
87560
87561
87562
87563
87564
87565
87566
87567
87568
87569
87570
87571
87572
87573
87574
87575
87576
87577
87578
87579
87580
87581
87582
87583
87584
87585
87586
87587
87588
87589
87590
87591
87592
87593
87594
87595
87596
87597
87598
87599
87600
87601
87602
87603
87604
87605
87606
87607
87608
87609
87610
87611
87612
87613
87614
87615
87616
87617
87618
87619
87620
87621
87622
87623
87624
87625
87626
87627
87628
87629
87630
87631
87632
87633
87634
87635
87636
87637
87638
87639
87640
87641
87642
87643
87644
87645
87646
87647
87648
87649
87650
87651
87652
87653
87654
87655
87656
87657
87658
87659
87660
87661
87662
87663
87664
87665
87666
87667
87668
87669
87670
87671
87672
87673
87674
87675
87676
87677
87678
87679
87680
87681
87682
87683
87684
87685
87686
87687
87688
87689
87690
87691
87692
87693
87694
87695
87696
87697
87698
87699
87700
87701
87702
87703
87704
87705
87706
87707
87708
87709
87710
87711
87712
87713
87714
87715
87716
87717
87718
87719
87720
87721
87722
87723
87724
87725
87726
87727
87728
87729
87730
87731
87732
87733
87734
87735
87736
87737
87738
87739
87740
87741
87742
87743
87744
87745
87746
87747
87748
87749
87750
87751
87752
87753
87754
87755
87756
87757
87758
87759
87760
87761
87762
87763
87764
87765
87766
87767
87768
87769
87770
87771
87772
87773
87774
87775
87776
87777
87778
87779
87780
87781
87782
87783
87784
87785
87786
87787
87788
87789
87790
87791
87792
87793
87794
87795
87796
87797
87798
87799
87800
87801
87802
87803
87804
87805
87806
87807
87808
87809
87810
87811
87812
87813
87814
87815
87816
87817
87818
87819
87820
87821
87822
87823
87824
87825
87826
87827
87828
87829
87830
87831
87832
87833
87834
87835
87836
87837
87838
87839
87840
87841
87842
87843
87844
87845
87846
87847
87848
87849
87850
87851
87852
87853
87854
87855
87856
87857
87858
87859
87860
87861
87862
87863
87864
87865
87866
87867
87868
87869
87870
87871
87872
87873
87874
87875
87876
87877
87878
87879
87880
87881
87882
87883
87884
87885
87886
87887
87888
87889
87890
87891
87892
87893
87894
87895
87896
87897
87898
87899
87900
87901
87902
87903
87904
87905
87906
87907
87908
87909
87910
87911
87912
87913
87914
87915
87916
87917
87918
87919
87920
87921
87922
87923
87924
87925
87926
87927
87928
87929
87930
87931
87932
87933
87934
87935
87936
87937
87938
87939
87940
87941
87942
87943
87944
87945
87946
87947
87948
87949
87950
87951
87952
87953
87954
87955
87956
87957
87958
87959
87960
87961
87962
87963
87964
87965
87966
87967
87968
87969
87970
87971
87972
87973
87974
87975
87976
87977
87978
87979
87980
87981
87982
87983
87984
87985
87986
87987
87988
87989
87990
87991
87992
87993
87994
87995
87996
87997
87998
87999
88000
88001
88002
88003
88004
88005
88006
88007
88008
88009
88010
88011
88012
88013
88014
88015
88016
88017
88018
88019
88020
88021
88022
88023
88024
88025
88026
88027
88028
88029
88030
88031
88032
88033
88034
88035
88036
88037
88038
88039
88040
88041
88042
88043
88044
88045
88046
88047
88048
88049
88050
88051
88052
88053
88054
88055
88056
88057
88058
88059
88060
88061
88062
88063
88064
88065
88066
88067
88068
88069
88070
88071
88072
88073
88074
88075
88076
88077
88078
88079
88080
88081
88082
88083
88084
88085
88086
88087
88088
88089
88090
88091
88092
88093
88094
88095
88096
88097
88098
88099
88100
88101
88102
88103
88104
88105
88106
88107
88108
88109
88110
88111
88112
88113
88114
88115
88116
88117
88118
88119
88120
88121
88122
88123
88124
88125
88126
88127
88128
88129
88130
88131
88132
88133
88134
88135
88136
88137
88138
88139
88140
88141
88142
88143
88144
88145
88146
88147
88148
88149
88150
88151
88152
88153
88154
88155
88156
88157
88158
88159
88160
88161
88162
88163
88164
88165
88166
88167
88168
88169
88170
88171
88172
88173
88174
88175
88176
88177
88178
88179
88180
88181
88182
88183
88184
88185
88186
88187
88188
88189
88190
88191
88192
88193
88194
88195
88196
88197
88198
88199
88200
88201
88202
88203
88204
88205
88206
88207
88208
88209
88210
88211
88212
88213
88214
88215
88216
88217
88218
88219
88220
88221
88222
88223
88224
88225
88226
88227
88228
88229
88230
88231
88232
88233
88234
88235
88236
88237
88238
88239
88240
88241
88242
88243
88244
88245
88246
88247
88248
88249
88250
88251
88252
88253
88254
88255
88256
88257
88258
88259
88260
88261
88262
88263
88264
88265
88266
88267
88268
88269
88270
88271
88272
88273
88274
88275
88276
88277
88278
88279
88280
88281
88282
88283
88284
88285
88286
88287
88288
88289
88290
88291
88292
88293
88294
88295
88296
88297
88298
88299
88300
88301
88302
88303
88304
88305
88306
88307
88308
88309
88310
88311
88312
88313
88314
88315
88316
88317
88318
88319
88320
88321
88322
88323
88324
88325
88326
88327
88328
88329
88330
88331
88332
88333
88334
88335
88336
88337
88338
88339
88340
88341
88342
88343
88344
88345
88346
88347
88348
88349
88350
88351
88352
88353
88354
88355
88356
88357
88358
88359
88360
88361
88362
88363
88364
88365
88366
88367
88368
88369
88370
88371
88372
88373
88374
88375
88376
88377
88378
88379
88380
88381
88382
88383
88384
88385
88386
88387
88388
88389
88390
88391
88392
88393
88394
88395
88396
88397
88398
88399
88400
88401
88402
88403
88404
88405
88406
88407
88408
88409
88410
88411
88412
88413
88414
88415
88416
88417
88418
88419
88420
88421
88422
88423
88424
88425
88426
88427
88428
88429
88430
88431
88432
88433
88434
88435
88436
88437
88438
88439
88440
88441
88442
88443
88444
88445
88446
88447
88448
88449
88450
88451
88452
88453
88454
88455
88456
88457
88458
88459
88460
88461
88462
88463
88464
88465
88466
88467
88468
88469
88470
88471
88472
88473
88474
88475
88476
88477
88478
88479
88480
88481
88482
88483
88484
88485
88486
88487
88488
88489
88490
88491
88492
88493
88494
88495
88496
88497
88498
88499
88500
88501
88502
88503
88504
88505
88506
88507
88508
88509
88510
88511
88512
88513
88514
88515
88516
88517
88518
88519
88520
88521
88522
88523
88524
88525
88526
88527
88528
88529
88530
88531
88532
88533
88534
88535
88536
88537
88538
88539
88540
88541
88542
88543
88544
88545
88546
88547
88548
88549
88550
88551
88552
88553
88554
88555
88556
88557
88558
88559
88560
88561
88562
88563
88564
88565
88566
88567
88568
88569
88570
88571
88572
88573
88574
88575
88576
88577
88578
88579
88580
88581
88582
88583
88584
88585
88586
88587
88588
88589
88590
88591
88592
88593
88594
88595
88596
88597
88598
88599
88600
88601
88602
88603
88604
88605
88606
88607
88608
88609
88610
88611
88612
88613
88614
88615
88616
88617
88618
88619
88620
88621
88622
88623
88624
88625
88626
88627
88628
88629
88630
88631
88632
88633
88634
88635
88636
88637
88638
88639
88640
88641
88642
88643
88644
88645
88646
88647
88648
88649
88650
88651
88652
88653
88654
88655
88656
88657
88658
88659
88660
88661
88662
88663
88664
88665
88666
88667
88668
88669
88670
88671
88672
88673
88674
88675
88676
88677
88678
88679
88680
88681
88682
88683
88684
88685
88686
88687
88688
88689
88690
88691
88692
88693
88694
88695
88696
88697
88698
88699
88700
88701
88702
88703
88704
88705
88706
88707
88708
88709
88710
88711
88712
88713
88714
88715
88716
88717
88718
88719
88720
88721
88722
88723
88724
88725
88726
88727
88728
88729
88730
88731
88732
88733
88734
88735
88736
88737
88738
88739
88740
88741
88742
88743
88744
88745
88746
88747
88748
88749
88750
88751
88752
88753
88754
88755
88756
88757
88758
88759
88760
88761
88762
88763
88764
88765
88766
88767
88768
88769
88770
88771
88772
88773
88774
88775
88776
88777
88778
88779
88780
88781
88782
88783
88784
88785
88786
88787
88788
88789
88790
88791
88792
88793
88794
88795
88796
88797
88798
88799
88800
88801
88802
88803
88804
88805
88806
88807
88808
88809
88810
88811
88812
88813
88814
88815
88816
88817
88818
88819
88820
88821
88822
88823
88824
88825
88826
88827
88828
88829
88830
88831
88832
88833
88834
88835
88836
88837
88838
88839
88840
88841
88842
88843
88844
88845
88846
88847
88848
88849
88850
88851
88852
88853
88854
88855
88856
88857
88858
88859
88860
88861
88862
88863
88864
88865
88866
88867
88868
88869
88870
88871
88872
88873
88874
88875
88876
88877
88878
88879
88880
88881
88882
88883
88884
88885
88886
88887
88888
88889
88890
88891
88892
88893
88894
88895
88896
88897
88898
88899
88900
88901
88902
88903
88904
88905
88906
88907
88908
88909
88910
88911
88912
88913
88914
88915
88916
88917
88918
88919
88920
88921
88922
88923
88924
88925
88926
88927
88928
88929
88930
88931
88932
88933
88934
88935
88936
88937
88938
88939
88940
88941
88942
88943
88944
88945
88946
88947
88948
88949
88950
88951
88952
88953
88954
88955
88956
88957
88958
88959
88960
88961
88962
88963
88964
88965
88966
88967
88968
88969
88970
88971
88972
88973
88974
88975
88976
88977
88978
88979
88980
88981
88982
88983
88984
88985
88986
88987
88988
88989
88990
88991
88992
88993
88994
88995
88996
88997
88998
88999
89000
89001
89002
89003
89004
89005
89006
89007
89008
89009
89010
89011
89012
89013
89014
89015
89016
89017
89018
89019
89020
89021
89022
89023
89024
89025
89026
89027
89028
89029
89030
89031
89032
89033
89034
89035
89036
89037
89038
89039
89040
89041
89042
89043
89044
89045
89046
89047
89048
89049
89050
89051
89052
89053
89054
89055
89056
89057
89058
89059
89060
89061
89062
89063
89064
89065
89066
89067
89068
89069
89070
89071
89072
89073
89074
89075
89076
89077
89078
89079
89080
89081
89082
89083
89084
89085
89086
89087
89088
89089
89090
89091
89092
89093
89094
89095
89096
89097
89098
89099
89100
89101
89102
89103
89104
89105
89106
89107
89108
89109
89110
89111
89112
89113
89114
89115
89116
89117
89118
89119
89120
89121
89122
89123
89124
89125
89126
89127
89128
89129
89130
89131
89132
89133
89134
89135
89136
89137
89138
89139
89140
89141
89142
89143
89144
89145
89146
89147
89148
89149
89150
89151
89152
89153
89154
89155
89156
89157
89158
89159
89160
89161
89162
89163
89164
89165
89166
89167
89168
89169
89170
89171
89172
89173
89174
89175
89176
89177
89178
89179
89180
89181
89182
89183
89184
89185
89186
89187
89188
89189
89190
89191
89192
89193
89194
89195
89196
89197
89198
89199
89200
89201
89202
89203
89204
89205
89206
89207
89208
89209
89210
89211
89212
89213
89214
89215
89216
89217
89218
89219
89220
89221
89222
89223
89224
89225
89226
89227
89228
89229
89230
89231
89232
89233
89234
89235
89236
89237
89238
89239
89240
89241
89242
89243
89244
89245
89246
89247
89248
89249
89250
89251
89252
89253
89254
89255
89256
89257
89258
89259
89260
89261
89262
89263
89264
89265
89266
89267
89268
89269
89270
89271
89272
89273
89274
89275
89276
89277
89278
89279
89280
89281
89282
89283
89284
89285
89286
89287
89288
89289
89290
89291
89292
89293
89294
89295
89296
89297
89298
89299
89300
89301
89302
89303
89304
89305
89306
89307
89308
89309
89310
89311
89312
89313
89314
89315
89316
89317
89318
89319
89320
89321
89322
89323
89324
89325
89326
89327
89328
89329
89330
89331
89332
89333
89334
89335
89336
89337
89338
89339
89340
89341
89342
89343
89344
89345
89346
89347
89348
89349
89350
89351
89352
89353
89354
89355
89356
89357
89358
89359
89360
89361
89362
89363
89364
89365
89366
89367
89368
89369
89370
89371
89372
89373
89374
89375
89376
89377
89378
89379
89380
89381
89382
89383
89384
89385
89386
89387
89388
89389
89390
89391
89392
89393
89394
89395
89396
89397
89398
89399
89400
89401
89402
89403
89404
89405
89406
89407
89408
89409
89410
89411
89412
89413
89414
89415
89416
89417
89418
89419
89420
89421
89422
89423
89424
89425
89426
89427
89428
89429
89430
89431
89432
89433
89434
89435
89436
89437
89438
89439
89440
89441
89442
89443
89444
89445
89446
89447
89448
89449
89450
89451
89452
89453
89454
89455
89456
89457
89458
89459
89460
89461
89462
89463
89464
89465
89466
89467
89468
89469
89470
89471
89472
89473
89474
89475
89476
89477
89478
89479
89480
89481
89482
89483
89484
89485
89486
89487
89488
89489
89490
89491
89492
89493
89494
89495
89496
89497
89498
89499
89500
89501
89502
89503
89504
89505
89506
89507
89508
89509
89510
89511
89512
89513
89514
89515
89516
89517
89518
89519
89520
89521
89522
89523
89524
89525
89526
89527
89528
89529
89530
89531
89532
89533
89534
89535
89536
89537
89538
89539
89540
89541
89542
89543
89544
89545
89546
89547
89548
89549
89550
89551
89552
89553
89554
89555
89556
89557
89558
89559
89560
89561
89562
89563
89564
89565
89566
89567
89568
89569
89570
89571
89572
89573
89574
89575
89576
89577
89578
89579
89580
89581
89582
89583
89584
89585
89586
89587
89588
89589
89590
89591
89592
89593
89594
89595
89596
89597
89598
89599
89600
89601
89602
89603
89604
89605
89606
89607
89608
89609
89610
89611
89612
89613
89614
89615
89616
89617
89618
89619
89620
89621
89622
89623
89624
89625
89626
89627
89628
89629
89630
89631
89632
89633
89634
89635
89636
89637
89638
89639
89640
89641
89642
89643
89644
89645
89646
89647
89648
89649
89650
89651
89652
89653
89654
89655
89656
89657
89658
89659
89660
89661
89662
89663
89664
89665
89666
89667
89668
89669
89670
89671
89672
89673
89674
89675
89676
89677
89678
89679
89680
89681
89682
89683
89684
89685
89686
89687
89688
89689
89690
89691
89692
89693
89694
89695
89696
89697
89698
89699
89700
89701
89702
89703
89704
89705
89706
89707
89708
89709
89710
89711
89712
89713
89714
89715
89716
89717
89718
89719
89720
89721
89722
89723
89724
89725
89726
89727
89728
89729
89730
89731
89732
89733
89734
89735
89736
89737
89738
89739
89740
89741
89742
89743
89744
89745
89746
89747
89748
89749
89750
89751
89752
89753
89754
89755
89756
89757
89758
89759
89760
89761
89762
89763
89764
89765
89766
89767
89768
89769
89770
89771
89772
89773
89774
89775
89776
89777
89778
89779
89780
89781
89782
89783
89784
89785
89786
89787
89788
89789
89790
89791
89792
89793
89794
89795
89796
89797
89798
89799
89800
89801
89802
89803
89804
89805
89806
89807
89808
89809
89810
89811
89812
89813
89814
89815
89816
89817
89818
89819
89820
89821
89822
89823
89824
89825
89826
89827
89828
89829
89830
89831
89832
89833
89834
89835
89836
89837
89838
89839
89840
89841
89842
89843
89844
89845
89846
89847
89848
89849
89850
89851
89852
89853
89854
89855
89856
89857
89858
89859
89860
89861
89862
89863
89864
89865
89866
89867
89868
89869
89870
89871
89872
89873
89874
89875
89876
89877
89878
89879
89880
89881
89882
89883
89884
89885
89886
89887
89888
89889
89890
89891
89892
89893
89894
89895
89896
89897
89898
89899
89900
89901
89902
89903
89904
89905
89906
89907
89908
89909
89910
89911
89912
89913
89914
89915
89916
89917
89918
89919
89920
89921
89922
89923
89924
89925
89926
89927
89928
89929
89930
89931
89932
89933
89934
89935
89936
89937
89938
89939
89940
89941
89942
89943
89944
89945
89946
89947
89948
89949
89950
89951
89952
89953
89954
89955
89956
89957
89958
89959
89960
89961
89962
89963
89964
89965
89966
89967
89968
89969
89970
89971
89972
89973
89974
89975
89976
89977
89978
89979
89980
89981
89982
89983
89984
89985
89986
89987
89988
89989
89990
89991
89992
89993
89994
89995
89996
89997
89998
89999
90000
90001
90002
90003
90004
90005
90006
90007
90008
90009
90010
90011
90012
90013
90014
90015
90016
90017
90018
90019
90020
90021
90022
90023
90024
90025
90026
90027
90028
90029
90030
90031
90032
90033
90034
90035
90036
90037
90038
90039
90040
90041
90042
90043
90044
90045
90046
90047
90048
90049
90050
90051
90052
90053
90054
90055
90056
90057
90058
90059
90060
90061
90062
90063
90064
90065
90066
90067
90068
90069
90070
90071
90072
90073
90074
90075
90076
90077
90078
90079
90080
90081
90082
90083
90084
90085
90086
90087
90088
90089
90090
90091
90092
90093
90094
90095
90096
90097
90098
90099
90100
90101
90102
90103
90104
90105
90106
90107
90108
90109
90110
90111
90112
90113
90114
90115
90116
90117
90118
90119
90120
90121
90122
90123
90124
90125
90126
90127
90128
90129
90130
90131
90132
90133
90134
90135
90136
90137
90138
90139
90140
90141
90142
90143
90144
90145
90146
90147
90148
90149
90150
90151
90152
90153
90154
90155
90156
90157
90158
90159
90160
90161
90162
90163
90164
90165
90166
90167
90168
90169
90170
90171
90172
90173
90174
90175
90176
90177
90178
90179
90180
90181
90182
90183
90184
90185
90186
90187
90188
90189
90190
90191
90192
90193
90194
90195
90196
90197
90198
90199
90200
90201
90202
90203
90204
90205
90206
90207
90208
90209
90210
90211
90212
90213
90214
90215
90216
90217
90218
90219
90220
90221
90222
90223
90224
90225
90226
90227
90228
90229
90230
90231
90232
90233
90234
90235
90236
90237
90238
90239
90240
90241
90242
90243
90244
90245
90246
90247
90248
90249
90250
90251
90252
90253
90254
90255
90256
90257
90258
90259
90260
90261
90262
90263
90264
90265
90266
90267
90268
90269
90270
90271
90272
90273
90274
90275
90276
90277
90278
90279
90280
90281
90282
90283
90284
90285
90286
90287
90288
90289
90290
90291
90292
90293
90294
90295
90296
90297
90298
90299
90300
90301
90302
90303
90304
90305
90306
90307
90308
90309
90310
90311
90312
90313
90314
90315
90316
90317
90318
90319
90320
90321
90322
90323
90324
90325
90326
90327
90328
90329
90330
90331
90332
90333
90334
90335
90336
90337
90338
90339
90340
90341
90342
90343
90344
90345
90346
90347
90348
90349
90350
90351
90352
90353
90354
90355
90356
90357
90358
90359
90360
90361
90362
90363
90364
90365
90366
90367
90368
90369
90370
90371
90372
90373
90374
90375
90376
90377
90378
90379
90380
90381
90382
90383
90384
90385
90386
90387
90388
90389
90390
90391
90392
90393
90394
90395
90396
90397
90398
90399
90400
90401
90402
90403
90404
90405
90406
90407
90408
90409
90410
90411
90412
90413
90414
90415
90416
90417
90418
90419
90420
90421
90422
90423
90424
90425
90426
90427
90428
90429
90430
90431
90432
90433
90434
90435
90436
90437
90438
90439
90440
90441
90442
90443
90444
90445
90446
90447
90448
90449
90450
90451
90452
90453
90454
90455
90456
90457
90458
90459
90460
90461
90462
90463
90464
90465
90466
90467
90468
90469
90470
90471
90472
90473
90474
90475
90476
90477
90478
90479
90480
90481
90482
90483
90484
90485
90486
90487
90488
90489
90490
90491
90492
90493
90494
90495
90496
90497
90498
90499
90500
90501
90502
90503
90504
90505
90506
90507
90508
90509
90510
90511
90512
90513
90514
90515
90516
90517
90518
90519
90520
90521
90522
90523
90524
90525
90526
90527
90528
90529
90530
90531
90532
90533
90534
90535
90536
90537
90538
90539
90540
90541
90542
90543
90544
90545
90546
90547
90548
90549
90550
90551
90552
90553
90554
90555
90556
90557
90558
90559
90560
90561
90562
90563
90564
90565
90566
90567
90568
90569
90570
90571
90572
90573
90574
90575
90576
90577
90578
90579
90580
90581
90582
90583
90584
90585
90586
90587
90588
90589
90590
90591
90592
90593
90594
90595
90596
90597
90598
90599
90600
90601
90602
90603
90604
90605
90606
90607
90608
90609
90610
90611
90612
90613
90614
90615
90616
90617
90618
90619
90620
90621
90622
90623
90624
90625
90626
90627
90628
90629
90630
90631
90632
90633
90634
90635
90636
90637
90638
90639
90640
90641
90642
90643
90644
90645
90646
90647
90648
90649
90650
90651
90652
90653
90654
90655
90656
90657
90658
90659
90660
90661
90662
90663
90664
90665
90666
90667
90668
90669
90670
90671
90672
90673
90674
90675
90676
90677
90678
90679
90680
90681
90682
90683
90684
90685
90686
90687
90688
90689
90690
90691
90692
90693
90694
90695
90696
90697
90698
90699
90700
90701
90702
90703
90704
90705
90706
90707
90708
90709
90710
90711
90712
90713
90714
90715
90716
90717
90718
90719
90720
90721
90722
90723
90724
90725
90726
90727
90728
90729
90730
90731
90732
90733
90734
90735
90736
90737
90738
90739
90740
90741
90742
90743
90744
90745
90746
90747
90748
90749
90750
90751
90752
90753
90754
90755
90756
90757
90758
90759
90760
90761
90762
90763
90764
90765
90766
90767
90768
90769
90770
90771
90772
90773
90774
90775
90776
90777
90778
90779
90780
90781
90782
90783
90784
90785
90786
90787
90788
90789
90790
90791
90792
90793
90794
90795
90796
90797
90798
90799
90800
90801
90802
90803
90804
90805
90806
90807
90808
90809
90810
90811
90812
90813
90814
90815
90816
90817
90818
90819
90820
90821
90822
90823
90824
90825
90826
90827
90828
90829
90830
90831
90832
90833
90834
90835
90836
90837
90838
90839
90840
90841
90842
90843
90844
90845
90846
90847
90848
90849
90850
90851
90852
90853
90854
90855
90856
90857
90858
90859
90860
90861
90862
90863
90864
90865
90866
90867
90868
90869
90870
90871
90872
90873
90874
90875
90876
90877
90878
90879
90880
90881
90882
90883
90884
90885
90886
90887
90888
90889
90890
90891
90892
90893
90894
90895
90896
90897
90898
90899
90900
90901
90902
90903
90904
90905
90906
90907
90908
90909
90910
90911
90912
90913
90914
90915
90916
90917
90918
90919
90920
90921
90922
90923
90924
90925
90926
90927
90928
90929
90930
90931
90932
90933
90934
90935
90936
90937
90938
90939
90940
90941
90942
90943
90944
90945
90946
90947
90948
90949
90950
90951
90952
90953
90954
90955
90956
90957
90958
90959
90960
90961
90962
90963
90964
90965
90966
90967
90968
90969
90970
90971
90972
90973
90974
90975
90976
90977
90978
90979
90980
90981
90982
90983
90984
90985
90986
90987
90988
90989
90990
90991
90992
90993
90994
90995
90996
90997
90998
90999
91000
91001
91002
91003
91004
91005
91006
91007
91008
91009
91010
91011
91012
91013
91014
91015
91016
91017
91018
91019
91020
91021
91022
91023
91024
91025
91026
91027
91028
91029
91030
91031
91032
91033
91034
91035
91036
91037
91038
91039
91040
91041
91042
91043
91044
91045
91046
91047
91048
91049
91050
91051
91052
91053
91054
91055
91056
91057
91058
91059
91060
91061
91062
91063
91064
91065
91066
91067
91068
91069
91070
91071
91072
91073
91074
91075
91076
91077
91078
91079
91080
91081
91082
91083
91084
91085
91086
91087
91088
91089
91090
91091
91092
91093
91094
91095
91096
91097
91098
91099
91100
91101
91102
91103
91104
91105
91106
91107
91108
91109
91110
91111
91112
91113
91114
91115
91116
91117
91118
91119
91120
91121
91122
91123
91124
91125
91126
91127
91128
91129
91130
91131
91132
91133
91134
91135
91136
91137
91138
91139
91140
91141
91142
91143
91144
91145
91146
91147
91148
91149
91150
91151
91152
91153
91154
91155
91156
91157
91158
91159
91160
91161
91162
91163
91164
91165
91166
91167
91168
91169
91170
91171
91172
91173
91174
91175
91176
91177
91178
91179
91180
91181
91182
91183
91184
91185
91186
91187
91188
91189
91190
91191
91192
91193
91194
91195
91196
91197
91198
91199
91200
91201
91202
91203
91204
91205
91206
91207
91208
91209
91210
91211
91212
91213
91214
91215
91216
91217
91218
91219
91220
91221
91222
91223
91224
91225
91226
91227
91228
91229
91230
91231
91232
91233
91234
91235
91236
91237
91238
91239
91240
91241
91242
91243
91244
91245
91246
91247
91248
91249
91250
91251
91252
91253
91254
91255
91256
91257
91258
91259
91260
91261
91262
91263
91264
91265
91266
91267
91268
91269
91270
91271
91272
91273
91274
91275
91276
91277
91278
91279
91280
91281
91282
91283
91284
91285
91286
91287
91288
91289
91290
91291
91292
91293
91294
91295
91296
91297
91298
91299
91300
91301
91302
91303
91304
91305
91306
91307
91308
91309
91310
91311
91312
91313
91314
91315
91316
91317
91318
91319
91320
91321
91322
91323
91324
91325
91326
91327
91328
91329
91330
91331
91332
91333
91334
91335
91336
91337
91338
91339
91340
91341
91342
91343
91344
91345
91346
91347
91348
91349
91350
91351
91352
91353
91354
91355
91356
91357
91358
91359
91360
91361
91362
91363
91364
91365
91366
91367
91368
91369
91370
91371
91372
91373
91374
91375
91376
91377
91378
91379
91380
91381
91382
91383
91384
91385
91386
91387
91388
91389
91390
91391
91392
91393
91394
91395
91396
91397
91398
91399
91400
91401
91402
91403
91404
91405
91406
91407
91408
91409
91410
91411
91412
91413
91414
91415
91416
91417
91418
91419
91420
91421
91422
91423
91424
91425
91426
91427
91428
91429
91430
91431
91432
91433
91434
91435
91436
91437
91438
91439
91440
91441
91442
91443
91444
91445
91446
91447
91448
91449
91450
91451
91452
91453
91454
91455
91456
91457
91458
91459
91460
91461
91462
91463
91464
91465
91466
91467
91468
91469
91470
91471
91472
91473
91474
91475
91476
91477
91478
91479
91480
91481
91482
91483
91484
91485
91486
91487
91488
91489
91490
91491
91492
91493
91494
91495
91496
91497
91498
91499
91500
91501
91502
91503
91504
91505
91506
91507
91508
91509
91510
91511
91512
91513
91514
91515
91516
91517
91518
91519
91520
91521
91522
91523
91524
91525
91526
91527
91528
91529
91530
91531
91532
91533
91534
91535
91536
91537
91538
91539
91540
91541
91542
91543
91544
91545
91546
91547
91548
91549
91550
91551
91552
91553
91554
91555
91556
91557
91558
91559
91560
91561
91562
91563
91564
91565
91566
91567
91568
91569
91570
91571
91572
91573
91574
91575
91576
91577
91578
91579
91580
91581
91582
91583
91584
91585
91586
91587
91588
91589
91590
91591
91592
91593
91594
91595
91596
91597
91598
91599
91600
91601
91602
91603
91604
91605
91606
91607
91608
91609
91610
91611
91612
91613
91614
91615
91616
91617
91618
91619
91620
91621
91622
91623
91624
91625
91626
91627
91628
91629
91630
91631
91632
91633
91634
91635
91636
91637
91638
91639
91640
91641
91642
91643
91644
91645
91646
91647
91648
91649
91650
91651
91652
91653
91654
91655
91656
91657
91658
91659
91660
91661
91662
91663
91664
91665
91666
91667
91668
91669
91670
91671
91672
91673
91674
91675
91676
91677
91678
91679
91680
91681
91682
91683
91684
91685
91686
91687
91688
91689
91690
91691
91692
91693
91694
91695
91696
91697
91698
91699
91700
91701
91702
91703
91704
91705
91706
91707
91708
91709
91710
91711
91712
91713
91714
91715
91716
91717
91718
91719
91720
91721
91722
91723
91724
91725
91726
91727
91728
91729
91730
91731
91732
91733
91734
91735
91736
91737
91738
91739
91740
91741
91742
91743
91744
91745
91746
91747
91748
91749
91750
91751
91752
91753
91754
91755
91756
91757
91758
91759
91760
91761
91762
91763
91764
91765
91766
91767
91768
91769
91770
91771
91772
91773
91774
91775
91776
91777
91778
91779
91780
91781
91782
91783
91784
91785
91786
91787
91788
91789
91790
91791
91792
91793
91794
91795
91796
91797
91798
91799
91800
91801
91802
91803
91804
91805
91806
91807
91808
91809
91810
91811
91812
91813
91814
91815
91816
91817
91818
91819
91820
91821
91822
91823
91824
91825
91826
91827
91828
91829
91830
91831
91832
91833
91834
91835
91836
91837
91838
91839
91840
91841
91842
91843
91844
91845
91846
91847
91848
91849
91850
91851
91852
91853
91854
91855
91856
91857
91858
91859
91860
91861
91862
91863
91864
91865
91866
91867
91868
91869
91870
91871
91872
91873
91874
91875
91876
91877
91878
91879
91880
91881
91882
91883
91884
91885
91886
91887
91888
91889
91890
91891
91892
91893
91894
91895
91896
91897
91898
91899
91900
91901
91902
91903
91904
91905
91906
91907
91908
91909
91910
91911
91912
91913
91914
91915
91916
91917
91918
91919
91920
91921
91922
91923
91924
91925
91926
91927
91928
91929
91930
91931
91932
91933
91934
91935
91936
91937
91938
91939
91940
91941
91942
91943
91944
91945
91946
91947
91948
91949
91950
91951
91952
91953
91954
91955
91956
91957
91958
91959
91960
91961
91962
91963
91964
91965
91966
91967
91968
91969
91970
91971
91972
91973
91974
91975
91976
91977
91978
91979
91980
91981
91982
91983
91984
91985
91986
91987
91988
91989
91990
91991
91992
91993
91994
91995
91996
91997
91998
91999
92000
92001
92002
92003
92004
92005
92006
92007
92008
92009
92010
92011
92012
92013
92014
92015
92016
92017
92018
92019
92020
92021
92022
92023
92024
92025
92026
92027
92028
92029
92030
92031
92032
92033
92034
92035
92036
92037
92038
92039
92040
92041
92042
92043
92044
92045
92046
92047
92048
92049
92050
92051
92052
92053
92054
92055
92056
92057
92058
92059
92060
92061
92062
92063
92064
92065
92066
92067
92068
92069
92070
92071
92072
92073
92074
92075
92076
92077
92078
92079
92080
92081
92082
92083
92084
92085
92086
92087
92088
92089
92090
92091
92092
92093
92094
92095
92096
92097
92098
92099
92100
92101
92102
92103
92104
92105
92106
92107
92108
92109
92110
92111
92112
92113
92114
92115
92116
92117
92118
92119
92120
92121
92122
92123
92124
92125
92126
92127
92128
92129
92130
92131
92132
92133
92134
92135
92136
92137
92138
92139
92140
92141
92142
92143
92144
92145
92146
92147
92148
92149
92150
92151
92152
92153
92154
92155
92156
92157
92158
92159
92160
92161
92162
92163
92164
92165
92166
92167
92168
92169
92170
92171
92172
92173
92174
92175
92176
92177
92178
92179
92180
92181
92182
92183
92184
92185
92186
92187
92188
92189
92190
92191
92192
92193
92194
92195
92196
92197
92198
92199
92200
92201
92202
92203
92204
92205
92206
92207
92208
92209
92210
92211
92212
92213
92214
92215
92216
92217
92218
92219
92220
92221
92222
92223
92224
92225
92226
92227
92228
92229
92230
92231
92232
92233
92234
92235
92236
92237
92238
92239
92240
92241
92242
92243
92244
92245
92246
92247
92248
92249
92250
92251
92252
92253
92254
92255
92256
92257
92258
92259
92260
92261
92262
92263
92264
92265
92266
92267
92268
92269
92270
92271
92272
92273
92274
92275
92276
92277
92278
92279
92280
92281
92282
92283
92284
92285
92286
92287
92288
92289
92290
92291
92292
92293
92294
92295
92296
92297
92298
92299
92300
92301
92302
92303
92304
92305
92306
92307
92308
92309
92310
92311
92312
92313
92314
92315
92316
92317
92318
92319
92320
92321
92322
92323
92324
92325
92326
92327
92328
92329
92330
92331
92332
92333
92334
92335
92336
92337
92338
92339
92340
92341
92342
92343
92344
92345
92346
92347
92348
92349
92350
92351
92352
92353
92354
92355
92356
92357
92358
92359
92360
92361
92362
92363
92364
92365
92366
92367
92368
92369
92370
92371
92372
92373
92374
92375
92376
92377
92378
92379
92380
92381
92382
92383
92384
92385
92386
92387
92388
92389
92390
92391
92392
92393
92394
92395
92396
92397
92398
92399
92400
92401
92402
92403
92404
92405
92406
92407
92408
92409
92410
92411
92412
92413
92414
92415
92416
92417
92418
92419
92420
92421
92422
92423
92424
92425
92426
92427
92428
92429
92430
92431
92432
92433
92434
92435
92436
92437
92438
92439
92440
92441
92442
92443
92444
92445
92446
92447
92448
92449
92450
92451
92452
92453
92454
92455
92456
92457
92458
92459
92460
92461
92462
92463
92464
92465
92466
92467
92468
92469
92470
92471
92472
92473
92474
92475
92476
92477
92478
92479
92480
92481
92482
92483
92484
92485
92486
92487
92488
92489
92490
92491
92492
92493
92494
92495
92496
92497
92498
92499
92500
92501
92502
92503
92504
92505
92506
92507
92508
92509
92510
92511
92512
92513
92514
92515
92516
92517
92518
92519
92520
92521
92522
92523
92524
92525
92526
92527
92528
92529
92530
92531
92532
92533
92534
92535
92536
92537
92538
92539
92540
92541
92542
92543
92544
92545
92546
92547
92548
92549
92550
92551
92552
92553
92554
92555
92556
92557
92558
92559
92560
92561
92562
92563
92564
92565
92566
92567
92568
92569
92570
92571
92572
92573
92574
92575
92576
92577
92578
92579
92580
92581
92582
92583
92584
92585
92586
92587
92588
92589
92590
92591
92592
92593
92594
92595
92596
92597
92598
92599
92600
92601
92602
92603
92604
92605
92606
92607
92608
92609
92610
92611
92612
92613
92614
92615
92616
92617
92618
92619
92620
92621
92622
92623
92624
92625
92626
92627
92628
92629
92630
92631
92632
92633
92634
92635
92636
92637
92638
92639
92640
92641
92642
92643
92644
92645
92646
92647
92648
92649
92650
92651
92652
92653
92654
92655
92656
92657
92658
92659
92660
92661
92662
92663
92664
92665
92666
92667
92668
92669
92670
92671
92672
92673
92674
92675
92676
92677
92678
92679
92680
92681
92682
92683
92684
92685
92686
92687
92688
92689
92690
92691
92692
92693
92694
92695
92696
92697
92698
92699
92700
92701
92702
92703
92704
92705
92706
92707
92708
92709
92710
92711
92712
92713
92714
92715
92716
92717
92718
92719
92720
92721
92722
92723
92724
92725
92726
92727
92728
92729
92730
92731
92732
92733
92734
92735
92736
92737
92738
92739
92740
92741
92742
92743
92744
92745
92746
92747
92748
92749
92750
92751
92752
92753
92754
92755
92756
92757
92758
92759
92760
92761
92762
92763
92764
92765
92766
92767
92768
92769
92770
92771
92772
92773
92774
92775
92776
92777
92778
92779
92780
92781
92782
92783
92784
92785
92786
92787
92788
92789
92790
92791
92792
92793
92794
92795
92796
92797
92798
92799
92800
92801
92802
92803
92804
92805
92806
92807
92808
92809
92810
92811
92812
92813
92814
92815
92816
92817
92818
92819
92820
92821
92822
92823
92824
92825
92826
92827
92828
92829
92830
92831
92832
92833
92834
92835
92836
92837
92838
92839
92840
92841
92842
92843
92844
92845
92846
92847
92848
92849
92850
92851
92852
92853
92854
92855
92856
92857
92858
92859
92860
92861
92862
92863
92864
92865
92866
92867
92868
92869
92870
92871
92872
92873
92874
92875
92876
92877
92878
92879
92880
92881
92882
92883
92884
92885
92886
92887
92888
92889
92890
92891
92892
92893
92894
92895
92896
92897
92898
92899
92900
92901
92902
92903
92904
92905
92906
92907
92908
92909
92910
92911
92912
92913
92914
92915
92916
92917
92918
92919
92920
92921
92922
92923
92924
92925
92926
92927
92928
92929
92930
92931
92932
92933
92934
92935
92936
92937
92938
92939
92940
92941
92942
92943
92944
92945
92946
92947
92948
92949
92950
92951
92952
92953
92954
92955
92956
92957
92958
92959
92960
92961
92962
92963
92964
92965
92966
92967
92968
92969
92970
92971
92972
92973
92974
92975
92976
92977
92978
92979
92980
92981
92982
92983
92984
92985
92986
92987
92988
92989
92990
92991
92992
92993
92994
92995
92996
92997
92998
92999
93000
93001
93002
93003
93004
93005
93006
93007
93008
93009
93010
93011
93012
93013
93014
93015
93016
93017
93018
93019
93020
93021
93022
93023
93024
93025
93026
93027
93028
93029
93030
93031
93032
93033
93034
93035
93036
93037
93038
93039
93040
93041
93042
93043
93044
93045
93046
93047
93048
93049
93050
93051
93052
93053
93054
93055
93056
93057
93058
93059
93060
93061
93062
93063
93064
93065
93066
93067
93068
93069
93070
93071
93072
93073
93074
93075
93076
93077
93078
93079
93080
93081
93082
93083
93084
93085
93086
93087
93088
93089
93090
93091
93092
93093
93094
93095
93096
93097
93098
93099
93100
93101
93102
93103
93104
93105
93106
93107
93108
93109
93110
93111
93112
93113
93114
93115
93116
93117
93118
93119
93120
93121
93122
93123
93124
93125
93126
93127
93128
93129
93130
93131
93132
93133
93134
93135
93136
93137
93138
93139
93140
93141
93142
93143
93144
93145
93146
93147
93148
93149
93150
93151
93152
93153
93154
93155
93156
93157
93158
93159
93160
93161
93162
93163
93164
93165
93166
93167
93168
93169
93170
93171
93172
93173
93174
93175
93176
93177
93178
93179
93180
93181
93182
93183
93184
93185
93186
93187
93188
93189
93190
93191
93192
93193
93194
93195
93196
93197
93198
93199
93200
93201
93202
93203
93204
93205
93206
93207
93208
93209
93210
93211
93212
93213
93214
93215
93216
93217
93218
93219
93220
93221
93222
93223
93224
93225
93226
93227
93228
93229
93230
93231
93232
93233
93234
93235
93236
93237
93238
93239
93240
93241
93242
93243
93244
93245
93246
93247
93248
93249
93250
93251
93252
93253
93254
93255
93256
93257
93258
93259
93260
93261
93262
93263
93264
93265
93266
93267
93268
93269
93270
93271
93272
93273
93274
93275
93276
93277
93278
93279
93280
93281
93282
93283
93284
93285
93286
93287
93288
93289
93290
93291
93292
93293
93294
93295
93296
93297
93298
93299
93300
93301
93302
93303
93304
93305
93306
93307
93308
93309
93310
93311
93312
93313
93314
93315
93316
93317
93318
93319
93320
93321
93322
93323
93324
93325
93326
93327
93328
93329
93330
93331
93332
93333
93334
93335
93336
93337
93338
93339
93340
93341
93342
93343
93344
93345
93346
93347
93348
93349
93350
93351
93352
93353
93354
93355
93356
93357
93358
93359
93360
93361
93362
93363
93364
93365
93366
93367
93368
93369
93370
93371
93372
93373
93374
93375
93376
93377
93378
93379
93380
93381
93382
93383
93384
93385
93386
93387
93388
93389
93390
93391
93392
93393
93394
93395
93396
93397
93398
93399
93400
93401
93402
93403
93404
93405
93406
93407
93408
93409
93410
93411
93412
93413
93414
93415
93416
93417
93418
93419
93420
93421
93422
93423
93424
93425
93426
93427
93428
93429
93430
93431
93432
93433
93434
93435
93436
93437
93438
93439
93440
93441
93442
93443
93444
93445
93446
93447
93448
93449
93450
93451
93452
93453
93454
93455
93456
93457
93458
93459
93460
93461
93462
93463
93464
93465
93466
93467
93468
93469
93470
93471
93472
93473
93474
93475
93476
93477
93478
93479
93480
93481
93482
93483
93484
93485
93486
93487
93488
93489
93490
93491
93492
93493
93494
93495
93496
93497
93498
93499
93500
93501
93502
93503
93504
93505
93506
93507
93508
93509
93510
93511
93512
93513
93514
93515
93516
93517
93518
93519
93520
93521
93522
93523
93524
93525
93526
93527
93528
93529
93530
93531
93532
93533
93534
93535
93536
93537
93538
93539
93540
93541
93542
93543
93544
93545
93546
93547
93548
93549
93550
93551
93552
93553
93554
93555
93556
93557
93558
93559
93560
93561
93562
93563
93564
93565
93566
93567
93568
93569
93570
93571
93572
93573
93574
93575
93576
93577
93578
93579
93580
93581
93582
93583
93584
93585
93586
93587
93588
93589
93590
93591
93592
93593
93594
93595
93596
93597
93598
93599
93600
93601
93602
93603
93604
93605
93606
93607
93608
93609
93610
93611
93612
93613
93614
93615
93616
93617
93618
93619
93620
93621
93622
93623
93624
93625
93626
93627
93628
93629
93630
93631
93632
93633
93634
93635
93636
93637
93638
93639
93640
93641
93642
93643
93644
93645
93646
93647
93648
93649
93650
93651
93652
93653
93654
93655
93656
93657
93658
93659
93660
93661
93662
93663
93664
93665
93666
93667
93668
93669
93670
93671
93672
93673
93674
93675
93676
93677
93678
93679
93680
93681
93682
93683
93684
93685
93686
93687
93688
93689
93690
93691
93692
93693
93694
93695
93696
93697
93698
93699
93700
93701
93702
93703
93704
93705
93706
93707
93708
93709
93710
93711
93712
93713
93714
93715
93716
93717
93718
93719
93720
93721
93722
93723
93724
93725
93726
93727
93728
93729
93730
93731
93732
93733
93734
93735
93736
93737
93738
93739
93740
93741
93742
93743
93744
93745
93746
93747
93748
93749
93750
93751
93752
93753
93754
93755
93756
93757
93758
93759
93760
93761
93762
93763
93764
93765
93766
93767
93768
93769
93770
93771
93772
93773
93774
93775
93776
93777
93778
93779
93780
93781
93782
93783
93784
93785
93786
93787
93788
93789
93790
93791
93792
93793
93794
93795
93796
93797
93798
93799
93800
93801
93802
93803
93804
93805
93806
93807
93808
93809
93810
93811
93812
93813
93814
93815
93816
93817
93818
93819
93820
93821
93822
93823
93824
93825
93826
93827
93828
93829
93830
93831
93832
93833
93834
93835
93836
93837
93838
93839
93840
93841
93842
93843
93844
93845
93846
93847
93848
93849
93850
93851
93852
93853
93854
93855
93856
93857
93858
93859
93860
93861
93862
93863
93864
93865
93866
93867
93868
93869
93870
93871
93872
93873
93874
93875
93876
93877
93878
93879
93880
93881
93882
93883
93884
93885
93886
93887
93888
93889
93890
93891
93892
93893
93894
93895
93896
93897
93898
93899
93900
93901
93902
93903
93904
93905
93906
93907
93908
93909
93910
93911
93912
93913
93914
93915
93916
93917
93918
93919
93920
93921
93922
93923
93924
93925
93926
93927
93928
93929
93930
93931
93932
93933
93934
93935
93936
93937
93938
93939
93940
93941
93942
93943
93944
93945
93946
93947
93948
93949
93950
93951
93952
93953
93954
93955
93956
93957
93958
93959
93960
93961
93962
93963
93964
93965
93966
93967
93968
93969
93970
93971
93972
93973
93974
93975
93976
93977
93978
93979
93980
93981
93982
93983
93984
93985
93986
93987
93988
93989
93990
93991
93992
93993
93994
93995
93996
93997
93998
93999
94000
94001
94002
94003
94004
94005
94006
94007
94008
94009
94010
94011
94012
94013
94014
94015
94016
94017
94018
94019
94020
94021
94022
94023
94024
94025
94026
94027
94028
94029
94030
94031
94032
94033
94034
94035
94036
94037
94038
94039
94040
94041
94042
94043
94044
94045
94046
94047
94048
94049
94050
94051
94052
94053
94054
94055
94056
94057
94058
94059
94060
94061
94062
94063
94064
94065
94066
94067
94068
94069
94070
94071
94072
94073
94074
94075
94076
94077
94078
94079
94080
94081
94082
94083
94084
94085
94086
94087
94088
94089
94090
94091
94092
94093
94094
94095
94096
94097
94098
94099
94100
94101
94102
94103
94104
94105
94106
94107
94108
94109
94110
94111
94112
94113
94114
94115
94116
94117
94118
94119
94120
94121
94122
94123
94124
94125
94126
94127
94128
94129
94130
94131
94132
94133
94134
94135
94136
94137
94138
94139
94140
94141
94142
94143
94144
94145
94146
94147
94148
94149
94150
94151
94152
94153
94154
94155
94156
94157
94158
94159
94160
94161
94162
94163
94164
94165
94166
94167
94168
94169
94170
94171
94172
94173
94174
94175
94176
94177
94178
94179
94180
94181
94182
94183
94184
94185
94186
94187
94188
94189
94190
94191
94192
94193
94194
94195
94196
94197
94198
94199
94200
94201
94202
94203
94204
94205
94206
94207
94208
94209
94210
94211
94212
94213
94214
94215
94216
94217
94218
94219
94220
94221
94222
94223
94224
94225
94226
94227
94228
94229
94230
94231
94232
94233
94234
94235
94236
94237
94238
94239
94240
94241
94242
94243
94244
94245
94246
94247
94248
94249
94250
94251
94252
94253
94254
94255
94256
94257
94258
94259
94260
94261
94262
94263
94264
94265
94266
94267
94268
94269
94270
94271
94272
94273
94274
94275
94276
94277
94278
94279
94280
94281
94282
94283
94284
94285
94286
94287
94288
94289
94290
94291
94292
94293
94294
94295
94296
94297
94298
94299
94300
94301
94302
94303
94304
94305
94306
94307
94308
94309
94310
94311
94312
94313
94314
94315
94316
94317
94318
94319
94320
94321
94322
94323
94324
94325
94326
94327
94328
94329
94330
94331
94332
94333
94334
94335
94336
94337
94338
94339
94340
94341
94342
94343
94344
94345
94346
94347
94348
94349
94350
94351
94352
94353
94354
94355
94356
94357
94358
94359
94360
94361
94362
94363
94364
94365
94366
94367
94368
94369
94370
94371
94372
94373
94374
94375
94376
94377
94378
94379
94380
94381
94382
94383
94384
94385
94386
94387
94388
94389
94390
94391
94392
94393
94394
94395
94396
94397
94398
94399
94400
94401
94402
94403
94404
94405
94406
94407
94408
94409
94410
94411
94412
94413
94414
94415
94416
94417
94418
94419
94420
94421
94422
94423
94424
94425
94426
94427
94428
94429
94430
94431
94432
94433
94434
94435
94436
94437
94438
94439
94440
94441
94442
94443
94444
94445
94446
94447
94448
94449
94450
94451
94452
94453
94454
94455
94456
94457
94458
94459
94460
94461
94462
94463
94464
94465
94466
94467
94468
94469
94470
94471
94472
94473
94474
94475
94476
94477
94478
94479
94480
94481
94482
94483
94484
94485
94486
94487
94488
94489
94490
94491
94492
94493
94494
94495
94496
94497
94498
94499
94500
94501
94502
94503
94504
94505
94506
94507
94508
94509
94510
94511
94512
94513
94514
94515
94516
94517
94518
94519
94520
94521
94522
94523
94524
94525
94526
94527
94528
94529
94530
94531
94532
94533
94534
94535
94536
94537
94538
94539
94540
94541
94542
94543
94544
94545
94546
94547
94548
94549
94550
94551
94552
94553
94554
94555
94556
94557
94558
94559
94560
94561
94562
94563
94564
94565
94566
94567
94568
94569
94570
94571
94572
94573
94574
94575
94576
94577
94578
94579
94580
94581
94582
94583
94584
94585
94586
94587
94588
94589
94590
94591
94592
94593
94594
94595
94596
94597
94598
94599
94600
94601
94602
94603
94604
94605
94606
94607
94608
94609
94610
94611
94612
94613
94614
94615
94616
94617
94618
94619
94620
94621
94622
94623
94624
94625
94626
94627
94628
94629
94630
94631
94632
94633
94634
94635
94636
94637
94638
94639
94640
94641
94642
94643
94644
94645
94646
94647
94648
94649
94650
94651
94652
94653
94654
94655
94656
94657
94658
94659
94660
94661
94662
94663
94664
94665
94666
94667
94668
94669
94670
94671
94672
94673
94674
94675
94676
94677
94678
94679
94680
94681
94682
94683
94684
94685
94686
94687
94688
94689
94690
94691
94692
94693
94694
94695
94696
94697
94698
94699
94700
94701
94702
94703
94704
94705
94706
94707
94708
94709
94710
94711
94712
94713
94714
94715
94716
94717
94718
94719
94720
94721
94722
94723
94724
94725
94726
94727
94728
94729
94730
94731
94732
94733
94734
94735
94736
94737
94738
94739
94740
94741
94742
94743
94744
94745
94746
94747
94748
94749
94750
94751
94752
94753
94754
94755
94756
94757
94758
94759
94760
94761
94762
94763
94764
94765
94766
94767
94768
94769
94770
94771
94772
94773
94774
94775
94776
94777
94778
94779
94780
94781
94782
94783
94784
94785
94786
94787
94788
94789
94790
94791
94792
94793
94794
94795
94796
94797
94798
94799
94800
94801
94802
94803
94804
94805
94806
94807
94808
94809
94810
94811
94812
94813
94814
94815
94816
94817
94818
94819
94820
94821
94822
94823
94824
94825
94826
94827
94828
94829
94830
94831
94832
94833
94834
94835
94836
94837
94838
94839
94840
94841
94842
94843
94844
94845
94846
94847
94848
94849
94850
94851
94852
94853
94854
94855
94856
94857
94858
94859
94860
94861
94862
94863
94864
94865
94866
94867
94868
94869
94870
94871
94872
94873
94874
94875
94876
94877
94878
94879
94880
94881
94882
94883
94884
94885
94886
94887
94888
94889
94890
94891
94892
94893
94894
94895
94896
94897
94898
94899
94900
94901
94902
94903
94904
94905
94906
94907
94908
94909
94910
94911
94912
94913
94914
94915
94916
94917
94918
94919
94920
94921
94922
94923
94924
94925
94926
94927
94928
94929
94930
94931
94932
94933
94934
94935
94936
94937
94938
94939
94940
94941
94942
94943
94944
94945
94946
94947
94948
94949
94950
94951
94952
94953
94954
94955
94956
94957
94958
94959
94960
94961
94962
94963
94964
94965
94966
94967
94968
94969
94970
94971
94972
94973
94974
94975
94976
94977
94978
94979
94980
94981
94982
94983
94984
94985
94986
94987
94988
94989
94990
94991
94992
94993
94994
94995
94996
94997
94998
94999
95000
95001
95002
95003
95004
95005
95006
95007
95008
95009
95010
95011
95012
95013
95014
95015
95016
95017
95018
95019
95020
95021
95022
95023
95024
95025
95026
95027
95028
95029
95030
95031
95032
95033
95034
95035
95036
95037
95038
95039
95040
95041
95042
95043
95044
95045
95046
95047
95048
95049
95050
95051
95052
95053
95054
95055
95056
95057
95058
95059
95060
95061
95062
95063
95064
95065
95066
95067
95068
95069
95070
95071
95072
95073
95074
95075
95076
95077
95078
95079
95080
95081
95082
95083
95084
95085
95086
95087
95088
95089
95090
95091
95092
95093
95094
95095
95096
95097
95098
95099
95100
95101
95102
95103
95104
95105
95106
95107
95108
95109
95110
95111
95112
95113
95114
95115
95116
95117
95118
95119
95120
95121
95122
95123
95124
95125
95126
95127
95128
95129
95130
95131
95132
95133
95134
95135
95136
95137
95138
95139
95140
95141
95142
95143
95144
95145
95146
95147
95148
95149
95150
95151
95152
95153
95154
95155
95156
95157
95158
95159
95160
95161
95162
95163
95164
95165
95166
95167
95168
95169
95170
95171
95172
95173
95174
95175
95176
95177
95178
95179
95180
95181
95182
95183
95184
95185
95186
95187
95188
95189
95190
95191
95192
95193
95194
95195
95196
95197
95198
95199
95200
95201
95202
95203
95204
95205
95206
95207
95208
95209
95210
95211
95212
95213
95214
95215
95216
95217
95218
95219
95220
95221
95222
95223
95224
95225
95226
95227
95228
95229
95230
95231
95232
95233
95234
95235
95236
95237
95238
95239
95240
95241
95242
95243
95244
95245
95246
95247
95248
95249
95250
95251
95252
95253
95254
95255
95256
95257
95258
95259
95260
95261
95262
95263
95264
95265
95266
95267
95268
95269
95270
95271
95272
95273
95274
95275
95276
95277
95278
95279
95280
95281
95282
95283
95284
95285
95286
95287
95288
95289
95290
95291
95292
95293
95294
95295
95296
95297
95298
95299
95300
95301
95302
95303
95304
95305
95306
95307
95308
95309
95310
95311
95312
95313
95314
95315
95316
95317
95318
95319
95320
95321
95322
95323
95324
95325
95326
95327
95328
95329
95330
95331
95332
95333
95334
95335
95336
95337
95338
95339
95340
95341
95342
95343
95344
95345
95346
95347
95348
95349
95350
95351
95352
95353
95354
95355
95356
95357
95358
95359
95360
95361
95362
95363
95364
95365
95366
95367
95368
95369
95370
95371
95372
95373
95374
95375
95376
95377
95378
95379
95380
95381
95382
95383
95384
95385
95386
95387
95388
95389
95390
95391
95392
95393
95394
95395
95396
95397
95398
95399
95400
95401
95402
95403
95404
95405
95406
95407
95408
95409
95410
95411
95412
95413
95414
95415
95416
95417
95418
95419
95420
95421
95422
95423
95424
95425
95426
95427
95428
95429
95430
95431
95432
95433
95434
95435
95436
95437
95438
95439
95440
95441
95442
95443
95444
95445
95446
95447
95448
95449
95450
95451
95452
95453
95454
95455
95456
95457
95458
95459
95460
95461
95462
95463
95464
95465
95466
95467
95468
95469
95470
95471
95472
95473
95474
95475
95476
95477
95478
95479
95480
95481
95482
95483
95484
95485
95486
95487
95488
95489
95490
95491
95492
95493
95494
95495
95496
95497
95498
95499
95500
95501
95502
95503
95504
95505
95506
95507
95508
95509
95510
95511
95512
95513
95514
95515
95516
95517
95518
95519
95520
95521
95522
95523
95524
95525
95526
95527
95528
95529
95530
95531
95532
95533
95534
95535
95536
95537
95538
95539
95540
95541
95542
95543
95544
95545
95546
95547
95548
95549
95550
95551
95552
95553
95554
95555
95556
95557
95558
95559
95560
95561
95562
95563
95564
95565
95566
95567
95568
95569
95570
95571
95572
95573
95574
95575
95576
95577
95578
95579
95580
95581
95582
95583
95584
95585
95586
95587
95588
95589
95590
95591
95592
95593
95594
95595
95596
95597
95598
95599
95600
95601
95602
95603
95604
95605
95606
95607
95608
95609
95610
95611
95612
95613
95614
95615
95616
95617
95618
95619
95620
95621
95622
95623
95624
95625
95626
95627
95628
95629
95630
95631
95632
95633
95634
95635
95636
95637
95638
95639
95640
95641
95642
95643
95644
95645
95646
95647
95648
95649
95650
95651
95652
95653
95654
95655
95656
95657
95658
95659
95660
95661
95662
95663
95664
95665
95666
95667
95668
95669
95670
95671
95672
95673
95674
95675
95676
95677
95678
95679
95680
95681
95682
95683
95684
95685
95686
95687
95688
95689
95690
95691
95692
95693
95694
95695
95696
95697
95698
95699
95700
95701
95702
95703
95704
95705
95706
95707
95708
95709
95710
95711
95712
95713
95714
95715
95716
95717
95718
95719
95720
95721
95722
95723
95724
95725
95726
95727
95728
95729
95730
95731
95732
95733
95734
95735
95736
95737
95738
95739
95740
95741
95742
95743
95744
95745
95746
95747
95748
95749
95750
95751
95752
95753
95754
95755
95756
95757
95758
95759
95760
95761
95762
95763
95764
95765
95766
95767
95768
95769
95770
95771
95772
95773
95774
95775
95776
95777
95778
95779
95780
95781
95782
95783
95784
95785
95786
95787
95788
95789
95790
95791
95792
95793
95794
95795
95796
95797
95798
95799
95800
95801
95802
95803
95804
95805
95806
95807
95808
95809
95810
95811
95812
95813
95814
95815
95816
95817
95818
95819
95820
95821
95822
95823
95824
95825
95826
95827
95828
95829
95830
95831
95832
95833
95834
95835
95836
95837
95838
95839
95840
95841
95842
95843
95844
95845
95846
95847
95848
95849
95850
95851
95852
95853
95854
95855
95856
95857
95858
95859
95860
95861
95862
95863
95864
95865
95866
95867
95868
95869
95870
95871
95872
95873
95874
95875
95876
95877
95878
95879
95880
95881
95882
95883
95884
95885
95886
95887
95888
95889
95890
95891
95892
95893
95894
95895
95896
95897
95898
95899
95900
95901
95902
95903
95904
95905
95906
95907
95908
95909
95910
95911
95912
95913
95914
95915
95916
95917
95918
95919
95920
95921
95922
95923
95924
95925
95926
95927
95928
95929
95930
95931
95932
95933
95934
95935
95936
95937
95938
95939
95940
95941
95942
95943
95944
95945
95946
95947
95948
95949
95950
95951
95952
95953
95954
95955
95956
95957
95958
95959
95960
95961
95962
95963
95964
95965
95966
95967
95968
95969
95970
95971
95972
95973
95974
95975
95976
95977
95978
95979
95980
95981
95982
95983
95984
95985
95986
95987
95988
95989
95990
95991
95992
95993
95994
95995
95996
95997
95998
95999
96000
96001
96002
96003
96004
96005
96006
96007
96008
96009
96010
96011
96012
96013
96014
96015
96016
96017
96018
96019
96020
96021
96022
96023
96024
96025
96026
96027
96028
96029
96030
96031
96032
96033
96034
96035
96036
96037
96038
96039
96040
96041
96042
96043
96044
96045
96046
96047
96048
96049
96050
96051
96052
96053
96054
96055
96056
96057
96058
96059
96060
96061
96062
96063
96064
96065
96066
96067
96068
96069
96070
96071
96072
96073
96074
96075
96076
96077
96078
96079
96080
96081
96082
96083
96084
96085
96086
96087
96088
96089
96090
96091
96092
96093
96094
96095
96096
96097
96098
96099
96100
96101
96102
96103
96104
96105
96106
96107
96108
96109
96110
96111
96112
96113
96114
96115
96116
96117
96118
96119
96120
96121
96122
96123
96124
96125
96126
96127
96128
96129
96130
96131
96132
96133
96134
96135
96136
96137
96138
96139
96140
96141
96142
96143
96144
96145
96146
96147
96148
96149
96150
96151
96152
96153
96154
96155
96156
96157
96158
96159
96160
96161
96162
96163
96164
96165
96166
96167
96168
96169
96170
96171
96172
96173
96174
96175
96176
96177
96178
96179
96180
96181
96182
96183
96184
96185
96186
96187
96188
96189
96190
96191
96192
96193
96194
96195
96196
96197
96198
96199
96200
96201
96202
96203
96204
96205
96206
96207
96208
96209
96210
96211
96212
96213
96214
96215
96216
96217
96218
96219
96220
96221
96222
96223
96224
96225
96226
96227
96228
96229
96230
96231
96232
96233
96234
96235
96236
96237
96238
96239
96240
96241
96242
96243
96244
96245
96246
96247
96248
96249
96250
96251
96252
96253
96254
96255
96256
96257
96258
96259
96260
96261
96262
96263
96264
96265
96266
96267
96268
96269
96270
96271
96272
96273
96274
96275
96276
96277
96278
96279
96280
96281
96282
96283
96284
96285
96286
96287
96288
96289
96290
96291
96292
96293
96294
96295
96296
96297
96298
96299
96300
96301
96302
96303
96304
96305
96306
96307
96308
96309
96310
96311
96312
96313
96314
96315
96316
96317
96318
96319
96320
96321
96322
96323
96324
96325
96326
96327
96328
96329
96330
96331
96332
96333
96334
96335
96336
96337
96338
96339
96340
96341
96342
96343
96344
96345
96346
96347
96348
96349
96350
96351
96352
96353
96354
96355
96356
96357
96358
96359
96360
96361
96362
96363
96364
96365
96366
96367
96368
96369
96370
96371
96372
96373
96374
96375
96376
96377
96378
96379
96380
96381
96382
96383
96384
96385
96386
96387
96388
96389
96390
96391
96392
96393
96394
96395
96396
96397
96398
96399
96400
96401
96402
96403
96404
96405
96406
96407
96408
96409
96410
96411
96412
96413
96414
96415
96416
96417
96418
96419
96420
96421
96422
96423
96424
96425
96426
96427
96428
96429
96430
96431
96432
96433
96434
96435
96436
96437
96438
96439
96440
96441
96442
96443
96444
96445
96446
96447
96448
96449
96450
96451
96452
96453
96454
96455
96456
96457
96458
96459
96460
96461
96462
96463
96464
96465
96466
96467
96468
96469
96470
96471
96472
96473
96474
96475
96476
96477
96478
96479
96480
96481
96482
96483
96484
96485
96486
96487
96488
96489
96490
96491
96492
96493
96494
96495
96496
96497
96498
96499
96500
96501
96502
96503
96504
96505
96506
96507
96508
96509
96510
96511
96512
96513
96514
96515
96516
96517
96518
96519
96520
96521
96522
96523
96524
96525
96526
96527
96528
96529
96530
96531
96532
96533
96534
96535
96536
96537
96538
96539
96540
96541
96542
96543
96544
96545
96546
96547
96548
96549
96550
96551
96552
96553
96554
96555
96556
96557
96558
96559
96560
96561
96562
96563
96564
96565
96566
96567
96568
96569
96570
96571
96572
96573
96574
96575
96576
96577
96578
96579
96580
96581
96582
96583
96584
96585
96586
96587
96588
96589
96590
96591
96592
96593
96594
96595
96596
96597
96598
96599
96600
96601
96602
96603
96604
96605
96606
96607
96608
96609
96610
96611
96612
96613
96614
96615
96616
96617
96618
96619
96620
96621
96622
96623
96624
96625
96626
96627
96628
96629
96630
96631
96632
96633
96634
96635
96636
96637
96638
96639
96640
96641
96642
96643
96644
96645
96646
96647
96648
96649
96650
96651
96652
96653
96654
96655
96656
96657
96658
96659
96660
96661
96662
96663
96664
96665
96666
96667
96668
96669
96670
96671
96672
96673
96674
96675
96676
96677
96678
96679
96680
96681
96682
96683
96684
96685
96686
96687
96688
96689
96690
96691
96692
96693
96694
96695
96696
96697
96698
96699
96700
96701
96702
96703
96704
96705
96706
96707
96708
96709
96710
96711
96712
96713
96714
96715
96716
96717
96718
96719
96720
96721
96722
96723
96724
96725
96726
96727
96728
96729
96730
96731
96732
96733
96734
96735
96736
96737
96738
96739
96740
96741
96742
96743
96744
96745
96746
96747
96748
96749
96750
96751
96752
96753
96754
96755
96756
96757
96758
96759
96760
96761
96762
96763
96764
96765
96766
96767
96768
96769
96770
96771
96772
96773
96774
96775
96776
96777
96778
96779
96780
96781
96782
96783
96784
96785
96786
96787
96788
96789
96790
96791
96792
96793
96794
96795
96796
96797
96798
96799
96800
96801
96802
96803
96804
96805
96806
96807
96808
96809
96810
96811
96812
96813
96814
96815
96816
96817
96818
96819
96820
96821
96822
96823
96824
96825
96826
96827
96828
96829
96830
96831
96832
96833
96834
96835
96836
96837
96838
96839
96840
96841
96842
96843
96844
96845
96846
96847
96848
96849
96850
96851
96852
96853
96854
96855
96856
96857
96858
96859
96860
96861
96862
96863
96864
96865
96866
96867
96868
96869
96870
96871
96872
96873
96874
96875
96876
96877
96878
96879
96880
96881
96882
96883
96884
96885
96886
96887
96888
96889
96890
96891
96892
96893
96894
96895
96896
96897
96898
96899
96900
96901
96902
96903
96904
96905
96906
96907
96908
96909
96910
96911
96912
96913
96914
96915
96916
96917
96918
96919
96920
96921
96922
96923
96924
96925
96926
96927
96928
96929
96930
96931
96932
96933
96934
96935
96936
96937
96938
96939
96940
96941
96942
96943
96944
96945
96946
96947
96948
96949
96950
96951
96952
96953
96954
96955
96956
96957
96958
96959
96960
96961
96962
96963
96964
96965
96966
96967
96968
96969
96970
96971
96972
96973
96974
96975
96976
96977
96978
96979
96980
96981
96982
96983
96984
96985
96986
96987
96988
96989
96990
96991
96992
96993
96994
96995
96996
96997
96998
96999
97000
97001
97002
97003
97004
97005
97006
97007
97008
97009
97010
97011
97012
97013
97014
97015
97016
97017
97018
97019
97020
97021
97022
97023
97024
97025
97026
97027
97028
97029
97030
97031
97032
97033
97034
97035
97036
97037
97038
97039
97040
97041
97042
97043
97044
97045
97046
97047
97048
97049
97050
97051
97052
97053
97054
97055
97056
97057
97058
97059
97060
97061
97062
97063
97064
97065
97066
97067
97068
97069
97070
97071
97072
97073
97074
97075
97076
97077
97078
97079
97080
97081
97082
97083
97084
97085
97086
97087
97088
97089
97090
97091
97092
97093
97094
97095
97096
97097
97098
97099
97100
97101
97102
97103
97104
97105
97106
97107
97108
97109
97110
97111
97112
97113
97114
97115
97116
97117
97118
97119
97120
97121
97122
97123
97124
97125
97126
97127
97128
97129
97130
97131
97132
97133
97134
97135
97136
97137
97138
97139
97140
97141
97142
97143
97144
97145
97146
97147
97148
97149
97150
97151
97152
97153
97154
97155
97156
97157
97158
97159
97160
97161
97162
97163
97164
97165
97166
97167
97168
97169
97170
97171
97172
97173
97174
97175
97176
97177
97178
97179
97180
97181
97182
97183
97184
97185
97186
97187
97188
97189
97190
97191
97192
97193
97194
97195
97196
97197
97198
97199
97200
97201
97202
97203
97204
97205
97206
97207
97208
97209
97210
97211
97212
97213
97214
97215
97216
97217
97218
97219
97220
97221
97222
97223
97224
97225
97226
97227
97228
97229
97230
97231
97232
97233
97234
97235
97236
97237
97238
97239
97240
97241
97242
97243
97244
97245
97246
97247
97248
97249
97250
97251
97252
97253
97254
97255
97256
97257
97258
97259
97260
97261
97262
97263
97264
97265
97266
97267
97268
97269
97270
97271
97272
97273
97274
97275
97276
97277
97278
97279
97280
97281
97282
97283
97284
97285
97286
97287
97288
97289
97290
97291
97292
97293
97294
97295
97296
97297
97298
97299
97300
97301
97302
97303
97304
97305
97306
97307
97308
97309
97310
97311
97312
97313
97314
97315
97316
97317
97318
97319
97320
97321
97322
97323
97324
97325
97326
97327
97328
97329
97330
97331
97332
97333
97334
97335
97336
97337
97338
97339
97340
97341
97342
97343
97344
97345
97346
97347
97348
97349
97350
97351
97352
97353
97354
97355
97356
97357
97358
97359
97360
97361
97362
97363
97364
97365
97366
97367
97368
97369
97370
97371
97372
97373
97374
97375
97376
97377
97378
97379
97380
97381
97382
97383
97384
97385
97386
97387
97388
97389
97390
97391
97392
97393
97394
97395
97396
97397
97398
97399
97400
97401
97402
97403
97404
97405
97406
97407
97408
97409
97410
97411
97412
97413
97414
97415
97416
97417
97418
97419
97420
97421
97422
97423
97424
97425
97426
97427
97428
97429
97430
97431
97432
97433
97434
97435
97436
97437
97438
97439
97440
97441
97442
97443
97444
97445
97446
97447
97448
97449
97450
97451
97452
97453
97454
97455
97456
97457
97458
97459
97460
97461
97462
97463
97464
97465
97466
97467
97468
97469
97470
97471
97472
97473
97474
97475
97476
97477
97478
97479
97480
97481
97482
97483
97484
97485
97486
97487
97488
97489
97490
97491
97492
97493
97494
97495
97496
97497
97498
97499
97500
97501
97502
97503
97504
97505
97506
97507
97508
97509
97510
97511
97512
97513
97514
97515
97516
97517
97518
97519
97520
97521
97522
97523
97524
97525
97526
97527
97528
97529
97530
97531
97532
97533
97534
97535
97536
97537
97538
97539
97540
97541
97542
97543
97544
97545
97546
97547
97548
97549
97550
97551
97552
97553
97554
97555
97556
97557
97558
97559
97560
97561
97562
97563
97564
97565
97566
97567
97568
97569
97570
97571
97572
97573
97574
97575
97576
97577
97578
97579
97580
97581
97582
97583
97584
97585
97586
97587
97588
97589
97590
97591
97592
97593
97594
97595
97596
97597
97598
97599
97600
97601
97602
97603
97604
97605
97606
97607
97608
97609
97610
97611
97612
97613
97614
97615
97616
97617
97618
97619
97620
97621
97622
97623
97624
97625
97626
97627
97628
97629
97630
97631
97632
97633
97634
97635
97636
97637
97638
97639
97640
97641
97642
97643
97644
97645
97646
97647
97648
97649
97650
97651
97652
97653
97654
97655
97656
97657
97658
97659
97660
97661
97662
97663
97664
97665
97666
97667
97668
97669
97670
97671
97672
97673
97674
97675
97676
97677
97678
97679
97680
97681
97682
97683
97684
97685
97686
97687
97688
97689
97690
97691
97692
97693
97694
97695
97696
97697
97698
97699
97700
97701
97702
97703
97704
97705
97706
97707
97708
97709
97710
97711
97712
97713
97714
97715
97716
97717
97718
97719
97720
97721
97722
97723
97724
97725
97726
97727
97728
97729
97730
97731
97732
97733
97734
97735
97736
97737
97738
97739
97740
97741
97742
97743
97744
97745
97746
97747
97748
97749
97750
97751
97752
97753
97754
97755
97756
97757
97758
97759
97760
97761
97762
97763
97764
97765
97766
97767
97768
97769
97770
97771
97772
97773
97774
97775
97776
97777
97778
97779
97780
97781
97782
97783
97784
97785
97786
97787
97788
97789
97790
97791
97792
97793
97794
97795
97796
97797
97798
97799
97800
97801
97802
97803
97804
97805
97806
97807
97808
97809
97810
97811
97812
97813
97814
97815
97816
97817
97818
97819
97820
97821
97822
97823
97824
97825
97826
97827
97828
97829
97830
97831
97832
97833
97834
97835
97836
97837
97838
97839
97840
97841
97842
97843
97844
97845
97846
97847
97848
97849
97850
97851
97852
97853
97854
97855
97856
97857
97858
97859
97860
97861
97862
97863
97864
97865
97866
97867
97868
97869
97870
97871
97872
97873
97874
97875
97876
97877
97878
97879
97880
97881
97882
97883
97884
97885
97886
97887
97888
97889
97890
97891
97892
97893
97894
97895
97896
97897
97898
97899
97900
97901
97902
97903
97904
97905
97906
97907
97908
97909
97910
97911
97912
97913
97914
97915
97916
97917
97918
97919
97920
97921
97922
97923
97924
97925
97926
97927
97928
97929
97930
97931
97932
97933
97934
97935
97936
97937
97938
97939
97940
97941
97942
97943
97944
97945
97946
97947
97948
97949
97950
97951
97952
97953
97954
97955
97956
97957
97958
97959
97960
97961
97962
97963
97964
97965
97966
97967
97968
97969
97970
97971
97972
97973
97974
97975
97976
97977
97978
97979
97980
97981
97982
97983
97984
97985
97986
97987
97988
97989
97990
97991
97992
97993
97994
97995
97996
97997
97998
97999
98000
98001
98002
98003
98004
98005
98006
98007
98008
98009
98010
98011
98012
98013
98014
98015
98016
98017
98018
98019
98020
98021
98022
98023
98024
98025
98026
98027
98028
98029
98030
98031
98032
98033
98034
98035
98036
98037
98038
98039
98040
98041
98042
98043
98044
98045
98046
98047
98048
98049
98050
98051
98052
98053
98054
98055
98056
98057
98058
98059
98060
98061
98062
98063
98064
98065
98066
98067
98068
98069
98070
98071
98072
98073
98074
98075
98076
98077
98078
98079
98080
98081
98082
98083
98084
98085
98086
98087
98088
98089
98090
98091
98092
98093
98094
98095
98096
98097
98098
98099
98100
98101
98102
98103
98104
98105
98106
98107
98108
98109
98110
98111
98112
98113
98114
98115
98116
98117
98118
98119
98120
98121
98122
98123
98124
98125
98126
98127
98128
98129
98130
98131
98132
98133
98134
98135
98136
98137
98138
98139
98140
98141
98142
98143
98144
98145
98146
98147
98148
98149
98150
98151
98152
98153
98154
98155
98156
98157
98158
98159
98160
98161
98162
98163
98164
98165
98166
98167
98168
98169
98170
98171
98172
98173
98174
98175
98176
98177
98178
98179
98180
98181
98182
98183
98184
98185
98186
98187
98188
98189
98190
98191
98192
98193
98194
98195
98196
98197
98198
98199
98200
98201
98202
98203
98204
98205
98206
98207
98208
98209
98210
98211
98212
98213
98214
98215
98216
98217
98218
98219
98220
98221
98222
98223
98224
98225
98226
98227
98228
98229
98230
98231
98232
98233
98234
98235
98236
98237
98238
98239
98240
98241
98242
98243
98244
98245
98246
98247
98248
98249
98250
98251
98252
98253
98254
98255
98256
98257
98258
98259
98260
98261
98262
98263
98264
98265
98266
98267
98268
98269
98270
98271
98272
98273
98274
98275
98276
98277
98278
98279
98280
98281
98282
98283
98284
98285
98286
98287
98288
98289
98290
98291
98292
98293
98294
98295
98296
98297
98298
98299
98300
98301
98302
98303
98304
98305
98306
98307
98308
98309
98310
98311
98312
98313
98314
98315
98316
98317
98318
98319
98320
98321
98322
98323
98324
98325
98326
98327
98328
98329
98330
98331
98332
98333
98334
98335
98336
98337
98338
98339
98340
98341
98342
98343
98344
98345
98346
98347
98348
98349
98350
98351
98352
98353
98354
98355
98356
98357
98358
98359
98360
98361
98362
98363
98364
98365
98366
98367
98368
98369
98370
98371
98372
98373
98374
98375
98376
98377
98378
98379
98380
98381
98382
98383
98384
98385
98386
98387
98388
98389
98390
98391
98392
98393
98394
98395
98396
98397
98398
98399
98400
98401
98402
98403
98404
98405
98406
98407
98408
98409
98410
98411
98412
98413
98414
98415
98416
98417
98418
98419
98420
98421
98422
98423
98424
98425
98426
98427
98428
98429
98430
98431
98432
98433
98434
98435
98436
98437
98438
98439
98440
98441
98442
98443
98444
98445
98446
98447
98448
98449
98450
98451
98452
98453
98454
98455
98456
98457
98458
98459
98460
98461
98462
98463
98464
98465
98466
98467
98468
98469
98470
98471
98472
98473
98474
98475
98476
98477
98478
98479
98480
98481
98482
98483
98484
98485
98486
98487
98488
98489
98490
98491
98492
98493
98494
98495
98496
98497
98498
98499
98500
98501
98502
98503
98504
98505
98506
98507
98508
98509
98510
98511
98512
98513
98514
98515
98516
98517
98518
98519
98520
98521
98522
98523
98524
98525
98526
98527
98528
98529
98530
98531
98532
98533
98534
98535
98536
98537
98538
98539
98540
98541
98542
98543
98544
98545
98546
98547
98548
98549
98550
98551
98552
98553
98554
98555
98556
98557
98558
98559
98560
98561
98562
98563
98564
98565
98566
98567
98568
98569
98570
98571
98572
98573
98574
98575
98576
98577
98578
98579
98580
98581
98582
98583
98584
98585
98586
98587
98588
98589
98590
98591
98592
98593
98594
98595
98596
98597
98598
98599
98600
98601
98602
98603
98604
98605
98606
98607
98608
98609
98610
98611
98612
98613
98614
98615
98616
98617
98618
98619
98620
98621
98622
98623
98624
98625
98626
98627
98628
98629
98630
98631
98632
98633
98634
98635
98636
98637
98638
98639
98640
98641
98642
98643
98644
98645
98646
98647
98648
98649
98650
98651
98652
98653
98654
98655
98656
98657
98658
98659
98660
98661
98662
98663
98664
98665
98666
98667
98668
98669
98670
98671
98672
98673
98674
98675
98676
98677
98678
98679
98680
98681
98682
98683
98684
98685
98686
98687
98688
98689
98690
98691
98692
98693
98694
98695
98696
98697
98698
98699
98700
98701
98702
98703
98704
98705
98706
98707
98708
98709
98710
98711
98712
98713
98714
98715
98716
98717
98718
98719
98720
98721
98722
98723
98724
98725
98726
98727
98728
98729
98730
98731
98732
98733
98734
98735
98736
98737
98738
98739
98740
98741
98742
98743
98744
98745
98746
98747
98748
98749
98750
98751
98752
98753
98754
98755
98756
98757
98758
98759
98760
98761
98762
98763
98764
98765
98766
98767
98768
98769
98770
98771
98772
98773
98774
98775
98776
98777
98778
98779
98780
98781
98782
98783
98784
98785
98786
98787
98788
98789
98790
98791
98792
98793
98794
98795
98796
98797
98798
98799
98800
98801
98802
98803
98804
98805
98806
98807
98808
98809
98810
98811
98812
98813
98814
98815
98816
98817
98818
98819
98820
98821
98822
98823
98824
98825
98826
98827
98828
98829
98830
98831
98832
98833
98834
98835
98836
98837
98838
98839
98840
98841
98842
98843
98844
98845
98846
98847
98848
98849
98850
98851
98852
98853
98854
98855
98856
98857
98858
98859
98860
98861
98862
98863
98864
98865
98866
98867
98868
98869
98870
98871
98872
98873
98874
98875
98876
98877
98878
98879
98880
98881
98882
98883
98884
98885
98886
98887
98888
98889
98890
98891
98892
98893
98894
98895
98896
98897
98898
98899
98900
98901
98902
98903
98904
98905
98906
98907
98908
98909
98910
98911
98912
98913
98914
98915
98916
98917
98918
98919
98920
98921
98922
98923
98924
98925
98926
98927
98928
98929
98930
98931
98932
98933
98934
98935
98936
98937
98938
98939
98940
98941
98942
98943
98944
98945
98946
98947
98948
98949
98950
98951
98952
98953
98954
98955
98956
98957
98958
98959
98960
98961
98962
98963
98964
98965
98966
98967
98968
98969
98970
98971
98972
98973
98974
98975
98976
98977
98978
98979
98980
98981
98982
98983
98984
98985
98986
98987
98988
98989
98990
98991
98992
98993
98994
98995
98996
98997
98998
98999
99000
99001
99002
99003
99004
99005
99006
99007
99008
99009
99010
99011
99012
99013
99014
99015
99016
99017
99018
99019
99020
99021
99022
99023
99024
99025
99026
99027
99028
99029
99030
99031
99032
99033
99034
99035
99036
99037
99038
99039
99040
99041
99042
99043
99044
99045
99046
99047
99048
99049
99050
99051
99052
99053
99054
99055
99056
99057
99058
99059
99060
99061
99062
99063
99064
99065
99066
99067
99068
99069
99070
99071
99072
99073
99074
99075
99076
99077
99078
99079
99080
99081
99082
99083
99084
99085
99086
99087
99088
99089
99090
99091
99092
99093
99094
99095
99096
99097
99098
99099
99100
99101
99102
99103
99104
99105
99106
99107
99108
99109
99110
99111
99112
99113
99114
99115
99116
99117
99118
99119
99120
99121
99122
99123
99124
99125
99126
99127
99128
99129
99130
99131
99132
99133
99134
99135
99136
99137
99138
99139
99140
99141
99142
99143
99144
99145
99146
99147
99148
99149
99150
99151
99152
99153
99154
99155
99156
99157
99158
99159
99160
99161
99162
99163
99164
99165
99166
99167
99168
99169
99170
99171
99172
99173
99174
99175
99176
99177
99178
99179
99180
99181
99182
99183
99184
99185
99186
99187
99188
99189
99190
99191
99192
99193
99194
99195
99196
99197
99198
99199
99200
99201
99202
99203
99204
99205
99206
99207
99208
99209
99210
99211
99212
99213
99214
99215
99216
99217
99218
99219
99220
99221
99222
99223
99224
99225
99226
99227
99228
99229
99230
99231
99232
99233
99234
99235
99236
99237
99238
99239
99240
99241
99242
99243
99244
99245
99246
99247
99248
99249
99250
99251
99252
99253
99254
99255
99256
99257
99258
99259
99260
99261
99262
99263
99264
99265
99266
99267
99268
99269
99270
99271
99272
99273
99274
99275
99276
99277
99278
99279
99280
99281
99282
99283
99284
99285
99286
99287
99288
99289
99290
99291
99292
99293
99294
99295
99296
99297
99298
99299
99300
99301
99302
99303
99304
99305
99306
99307
99308
99309
99310
99311
99312
99313
99314
99315
99316
99317
99318
99319
99320
99321
99322
99323
99324
99325
99326
99327
99328
99329
99330
99331
99332
99333
99334
99335
99336
99337
99338
99339
99340
99341
99342
99343
99344
99345
99346
99347
99348
99349
99350
99351
99352
99353
99354
99355
99356
99357
99358
99359
99360
99361
99362
99363
99364
99365
99366
99367
99368
99369
99370
99371
99372
99373
99374
99375
99376
99377
99378
99379
99380
99381
99382
99383
99384
99385
99386
99387
99388
99389
99390
99391
99392
99393
99394
99395
99396
99397
99398
99399
99400
99401
99402
99403
99404
99405
99406
99407
99408
99409
99410
99411
99412
99413
99414
99415
99416
99417
99418
99419
99420
99421
99422
99423
99424
99425
99426
99427
99428
99429
99430
99431
99432
99433
99434
99435
99436
99437
99438
99439
99440
99441
99442
99443
99444
99445
99446
99447
99448
99449
99450
99451
99452
99453
99454
99455
99456
99457
99458
99459
99460
99461
99462
99463
99464
99465
99466
99467
99468
99469
99470
99471
99472
99473
99474
99475
99476
99477
99478
99479
99480
99481
99482
99483
99484
99485
99486
99487
99488
99489
99490
99491
99492
99493
99494
99495
99496
99497
99498
99499
99500
99501
99502
99503
99504
99505
99506
99507
99508
99509
99510
99511
99512
99513
99514
99515
99516
99517
99518
99519
99520
99521
99522
99523
99524
99525
99526
99527
99528
99529
99530
99531
99532
99533
99534
99535
99536
99537
99538
99539
99540
99541
99542
99543
99544
99545
99546
99547
99548
99549
99550
99551
99552
99553
99554
99555
99556
99557
99558
99559
99560
99561
99562
99563
99564
99565
99566
99567
99568
99569
99570
99571
99572
99573
99574
99575
99576
99577
99578
99579
99580
99581
99582
99583
99584
99585
99586
99587
99588
99589
99590
99591
99592
99593
99594
99595
99596
99597
99598
99599
99600
99601
99602
99603
99604
99605
99606
99607
99608
99609
99610
99611
99612
99613
99614
99615
99616
99617
99618
99619
99620
99621
99622
99623
99624
99625
99626
99627
99628
99629
99630
99631
99632
99633
99634
99635
99636
99637
99638
99639
99640
99641
99642
99643
99644
99645
99646
99647
99648
99649
99650
99651
99652
99653
99654
99655
99656
99657
99658
99659
99660
99661
99662
99663
99664
99665
99666
99667
99668
99669
99670
99671
99672
99673
99674
99675
99676
99677
99678
99679
99680
99681
99682
99683
99684
99685
99686
99687
99688
99689
99690
99691
99692
99693
99694
99695
99696
99697
99698
99699
99700
99701
99702
99703
99704
99705
99706
99707
99708
99709
99710
99711
99712
99713
99714
99715
99716
99717
99718
99719
99720
99721
99722
99723
99724
99725
99726
99727
99728
99729
99730
99731
99732
99733
99734
99735
99736
99737
99738
99739
99740
99741
99742
99743
99744
99745
99746
99747
99748
99749
99750
99751
99752
99753
99754
99755
99756
99757
99758
99759
99760
99761
99762
99763
99764
99765
99766
99767
99768
99769
99770
99771
99772
99773
99774
99775
99776
99777
99778
99779
99780
99781
99782
99783
99784
99785
99786
99787
99788
99789
99790
99791
99792
99793
99794
99795
99796
99797
99798
99799
99800
99801
99802
99803
99804
99805
99806
99807
99808
99809
99810
99811
99812
99813
99814
99815
99816
99817
99818
99819
99820
99821
99822
99823
99824
99825
99826
99827
99828
99829
99830
99831
99832
99833
99834
99835
99836
99837
99838
99839
99840
99841
99842
99843
99844
99845
99846
99847
99848
99849
99850
99851
99852
99853
99854
99855
99856
99857
99858
99859
99860
99861
99862
99863
99864
99865
99866
99867
99868
99869
99870
99871
99872
99873
99874
99875
99876
99877
99878
99879
99880
99881
99882
99883
99884
99885
99886
99887
99888
99889
99890
99891
99892
99893
99894
99895
99896
99897
99898
99899
99900
99901
99902
99903
99904
99905
99906
99907
99908
99909
99910
99911
99912
99913
99914
99915
99916
99917
99918
99919
99920
99921
99922
99923
99924
99925
99926
99927
99928
99929
99930
99931
99932
99933
99934
99935
99936
99937
99938
99939
99940
99941
99942
99943
99944
99945
99946
99947
99948
99949
99950
99951
99952
99953
99954
99955
99956
99957
99958
99959
99960
99961
99962
99963
99964
99965
99966
99967
99968
99969
99970
99971
99972
99973
99974
99975
99976
99977
99978
99979
99980
99981
99982
99983
99984
99985
99986
99987
99988
99989
99990
99991
99992
99993
99994
99995
99996
99997
99998
99999
100000
100001
100002
100003
100004
100005
100006
100007
100008
100009
100010
100011
100012
100013
100014
100015
100016
100017
100018
100019
100020
100021
100022
100023
100024
100025
100026
100027
100028
100029
100030
100031
100032
100033
100034
100035
100036
100037
100038
100039
100040
100041
100042
100043
100044
100045
100046
100047
100048
100049
100050
100051
100052
100053
100054
100055
100056
100057
100058
100059
100060
100061
100062
100063
100064
100065
100066
100067
100068
100069
100070
100071
100072
100073
100074
100075
100076
100077
100078
100079
100080
100081
100082
100083
100084
100085
100086
100087
100088
100089
100090
100091
100092
100093
100094
100095
100096
100097
100098
100099
100100
100101
100102
100103
100104
100105
100106
100107
100108
100109
100110
100111
100112
100113
100114
100115
100116
100117
100118
100119
100120
100121
100122
100123
100124
100125
100126
100127
100128
100129
100130
100131
100132
100133
100134
100135
100136
100137
100138
100139
100140
100141
100142
100143
100144
100145
100146
100147
100148
100149
100150
100151
100152
100153
100154
100155
100156
100157
100158
100159
100160
100161
100162
100163
100164
100165
100166
100167
100168
100169
100170
100171
100172
100173
100174
100175
100176
100177
100178
100179
100180
100181
100182
100183
100184
100185
100186
100187
100188
100189
100190
100191
100192
100193
100194
100195
100196
100197
100198
100199
100200
100201
100202
100203
100204
100205
100206
100207
100208
100209
100210
100211
100212
100213
100214
100215
100216
100217
100218
100219
100220
100221
100222
100223
100224
100225
100226
100227
100228
100229
100230
100231
100232
100233
100234
100235
100236
100237
100238
100239
100240
100241
100242
100243
100244
100245
100246
100247
100248
100249
100250
100251
100252
100253
100254
100255
100256
100257
100258
100259
100260
100261
100262
100263
100264
100265
100266
100267
100268
100269
100270
100271
100272
100273
100274
100275
100276
100277
100278
100279
100280
100281
100282
100283
100284
100285
100286
100287
100288
100289
100290
100291
100292
100293
100294
100295
100296
100297
100298
100299
100300
100301
100302
100303
100304
100305
100306
100307
100308
100309
100310
100311
100312
100313
100314
100315
100316
100317
100318
100319
100320
100321
100322
100323
100324
100325
100326
100327
100328
100329
100330
100331
100332
100333
100334
100335
100336
100337
100338
100339
100340
100341
100342
100343
100344
100345
100346
100347
100348
100349
100350
100351
100352
100353
100354
100355
100356
100357
100358
100359
100360
100361
100362
100363
100364
100365
100366
100367
100368
100369
100370
100371
100372
100373
100374
100375
100376
100377
100378
100379
100380
100381
100382
100383
100384
100385
100386
100387
100388
100389
100390
100391
100392
100393
100394
100395
100396
100397
100398
100399
100400
100401
100402
100403
100404
100405
100406
100407
100408
100409
100410
100411
100412
100413
100414
100415
100416
100417
100418
100419
100420
100421
100422
100423
100424
100425
100426
100427
100428
100429
100430
100431
100432
100433
100434
100435
100436
100437
100438
100439
100440
100441
100442
100443
100444
100445
100446
100447
100448
100449
100450
100451
100452
100453
100454
100455
100456
100457
100458
100459
100460
100461
100462
100463
100464
100465
100466
100467
100468
100469
100470
100471
100472
100473
100474
100475
100476
100477
100478
100479
100480
100481
100482
100483
100484
100485
100486
100487
100488
100489
100490
100491
100492
100493
100494
100495
100496
100497
100498
100499
100500
100501
100502
100503
100504
100505
100506
100507
100508
100509
100510
100511
100512
100513
100514
100515
100516
100517
100518
100519
100520
100521
100522
100523
100524
100525
100526
100527
100528
100529
100530
100531
100532
100533
100534
100535
100536
100537
100538
100539
100540
100541
100542
100543
100544
100545
100546
100547
100548
100549
100550
100551
100552
100553
100554
100555
100556
100557
100558
100559
100560
100561
100562
100563
100564
100565
100566
100567
100568
100569
100570
100571
100572
100573
100574
100575
100576
100577
100578
100579
100580
100581
100582
100583
100584
100585
100586
100587
100588
100589
100590
100591
100592
100593
100594
100595
100596
100597
100598
100599
100600
100601
100602
100603
100604
100605
100606
100607
100608
100609
100610
100611
100612
100613
100614
100615
100616
100617
100618
100619
100620
100621
100622
100623
100624
100625
100626
100627
100628
100629
100630
100631
100632
100633
100634
100635
100636
100637
100638
100639
100640
100641
100642
100643
100644
100645
100646
100647
100648
100649
100650
100651
100652
100653
100654
100655
100656
100657
100658
100659
100660
100661
100662
100663
100664
100665
100666
100667
100668
100669
100670
100671
100672
100673
100674
100675
100676
100677
100678
100679
100680
100681
100682
100683
100684
100685
100686
100687
100688
100689
100690
100691
100692
100693
100694
100695
100696
100697
100698
100699
100700
100701
100702
100703
100704
100705
100706
100707
100708
100709
100710
100711
100712
100713
100714
100715
100716
100717
100718
100719
100720
100721
100722
100723
100724
100725
100726
100727
100728
100729
100730
100731
100732
100733
100734
100735
100736
100737
100738
100739
100740
100741
100742
100743
100744
100745
100746
100747
100748
100749
100750
100751
100752
100753
100754
100755
100756
100757
100758
100759
100760
100761
100762
100763
100764
100765
100766
100767
100768
100769
100770
100771
100772
100773
100774
100775
100776
100777
100778
100779
100780
100781
100782
100783
100784
100785
100786
100787
100788
100789
100790
100791
100792
100793
100794
100795
100796
100797
100798
100799
100800
100801
100802
100803
100804
100805
100806
100807
100808
100809
100810
100811
100812
100813
100814
100815
100816
100817
100818
100819
100820
100821
100822
100823
100824
100825
100826
100827
100828
100829
100830
100831
100832
100833
100834
100835
100836
100837
100838
100839
100840
100841
100842
100843
100844
100845
100846
100847
100848
100849
100850
100851
100852
100853
100854
100855
100856
100857
100858
100859
100860
100861
100862
100863
100864
100865
100866
100867
100868
100869
100870
100871
100872
100873
100874
100875
100876
100877
100878
100879
100880
100881
100882
100883
100884
100885
100886
100887
100888
100889
100890
100891
100892
100893
100894
100895
100896
100897
100898
100899
100900
100901
100902
100903
100904
100905
100906
100907
100908
100909
100910
100911
100912
100913
100914
100915
100916
100917
100918
100919
100920
100921
100922
100923
100924
100925
100926
100927
100928
100929
100930
100931
100932
100933
100934
100935
100936
100937
100938
100939
100940
100941
100942
100943
100944
100945
100946
100947
100948
100949
100950
100951
100952
100953
100954
100955
100956
100957
100958
100959
100960
100961
100962
100963
100964
100965
100966
100967
100968
100969
100970
100971
100972
100973
100974
100975
100976
100977
100978
100979
100980
100981
100982
100983
100984
100985
100986
100987
100988
100989
100990
100991
100992
100993
100994
100995
100996
100997
100998
100999
101000
101001
101002
101003
101004
101005
101006
101007
101008
101009
101010
101011
101012
101013
101014
101015
101016
101017
101018
101019
101020
101021
101022
101023
101024
101025
101026
101027
101028
101029
101030
101031
101032
101033
101034
101035
101036
101037
101038
101039
101040
101041
101042
101043
101044
101045
101046
101047
101048
101049
101050
101051
101052
101053
101054
101055
101056
101057
101058
101059
101060
101061
101062
101063
101064
101065
101066
101067
101068
101069
101070
101071
101072
101073
101074
101075
101076
101077
101078
101079
101080
101081
101082
101083
101084
101085
101086
101087
101088
101089
101090
101091
101092
101093
101094
101095
101096
101097
101098
101099
101100
101101
101102
101103
101104
101105
101106
101107
101108
101109
101110
101111
101112
101113
101114
101115
101116
101117
101118
101119
101120
101121
101122
101123
101124
101125
101126
101127
101128
101129
101130
101131
101132
101133
101134
101135
101136
101137
101138
101139
101140
101141
101142
101143
101144
101145
101146
101147
101148
101149
101150
101151
101152
101153
101154
101155
101156
101157
101158
101159
101160
101161
101162
101163
101164
101165
101166
101167
101168
101169
101170
101171
101172
101173
101174
101175
101176
101177
101178
101179
101180
101181
101182
101183
101184
101185
101186
101187
101188
101189
101190
101191
101192
101193
101194
101195
101196
101197
101198
101199
101200
101201
101202
101203
101204
101205
101206
101207
101208
101209
101210
101211
101212
101213
101214
101215
101216
101217
101218
101219
101220
101221
101222
101223
101224
101225
101226
101227
101228
101229
101230
101231
101232
101233
101234
101235
101236
101237
101238
101239
101240
101241
101242
101243
101244
101245
101246
101247
101248
101249
101250
101251
101252
101253
101254
101255
101256
101257
101258
101259
101260
101261
101262
101263
101264
101265
101266
101267
101268
101269
101270
101271
101272
101273
101274
101275
101276
101277
101278
101279
101280
101281
101282
101283
101284
101285
101286
101287
101288
101289
101290
101291
101292
101293
101294
101295
101296
101297
101298
101299
101300
101301
101302
101303
101304
101305
101306
101307
101308
101309
101310
101311
101312
101313
101314
101315
101316
101317
101318
101319
101320
101321
101322
101323
101324
101325
101326
101327
101328
101329
101330
101331
101332
101333
101334
101335
101336
101337
101338
101339
101340
101341
101342
101343
101344
101345
101346
101347
101348
101349
101350
101351
101352
101353
101354
101355
101356
101357
101358
101359
101360
101361
101362
101363
101364
101365
101366
101367
101368
101369
101370
101371
101372
101373
101374
101375
101376
101377
101378
101379
101380
101381
101382
101383
101384
101385
101386
101387
101388
101389
101390
101391
101392
101393
101394
101395
101396
101397
101398
101399
101400
101401
101402
101403
101404
101405
101406
101407
101408
101409
101410
101411
101412
101413
101414
101415
101416
101417
101418
101419
101420
101421
101422
101423
101424
101425
101426
101427
101428
101429
101430
101431
101432
101433
101434
101435
101436
101437
101438
101439
101440
101441
101442
101443
101444
101445
101446
101447
101448
101449
101450
101451
101452
101453
101454
101455
101456
101457
101458
101459
101460
101461
101462
101463
101464
101465
101466
101467
101468
101469
101470
101471
101472
101473
101474
101475
101476
101477
101478
101479
101480
101481
101482
101483
101484
101485
101486
101487
101488
101489
101490
101491
101492
101493
101494
101495
101496
101497
101498
101499
101500
101501
101502
101503
101504
101505
101506
101507
101508
101509
101510
101511
101512
101513
101514
101515
101516
101517
101518
101519
101520
101521
101522
101523
101524
101525
101526
101527
101528
101529
101530
101531
101532
101533
101534
101535
101536
101537
101538
101539
101540
101541
101542
101543
101544
101545
101546
101547
101548
101549
101550
101551
101552
101553
101554
101555
101556
101557
101558
101559
101560
101561
101562
101563
101564
101565
101566
101567
101568
101569
101570
101571
101572
101573
101574
101575
101576
101577
101578
101579
101580
101581
101582
101583
101584
101585
101586
101587
101588
101589
101590
101591
101592
101593
101594
101595
101596
101597
101598
101599
101600
101601
101602
101603
101604
101605
101606
101607
101608
101609
101610
101611
101612
101613
101614
101615
101616
101617
101618
101619
101620
101621
101622
101623
101624
101625
101626
101627
101628
101629
101630
101631
101632
101633
101634
101635
101636
101637
101638
101639
101640
101641
101642
101643
101644
101645
101646
101647
101648
101649
101650
101651
101652
101653
101654
101655
101656
101657
101658
101659
101660
101661
101662
101663
101664
101665
101666
101667
101668
101669
101670
101671
101672
101673
101674
101675
101676
101677
101678
101679
101680
101681
101682
101683
101684
101685
101686
101687
101688
101689
101690
101691
101692
101693
101694
101695
101696
101697
101698
101699
101700
101701
101702
101703
101704
101705
101706
101707
101708
101709
101710
101711
101712
101713
101714
101715
101716
101717
101718
101719
101720
101721
101722
101723
101724
101725
101726
101727
101728
101729
101730
101731
101732
101733
101734
101735
101736
101737
101738
101739
101740
101741
101742
101743
101744
101745
101746
101747
101748
101749
101750
101751
101752
101753
101754
101755
101756
101757
101758
101759
101760
101761
101762
101763
101764
101765
101766
101767
101768
101769
101770
101771
101772
101773
101774
101775
101776
101777
101778
101779
101780
101781
101782
101783
101784
101785
101786
101787
101788
101789
101790
101791
101792
101793
101794
101795
101796
101797
101798
101799
101800
101801
101802
101803
101804
101805
101806
101807
101808
101809
101810
101811
101812
101813
101814
101815
101816
101817
101818
101819
101820
101821
101822
101823
101824
101825
101826
101827
101828
101829
101830
101831
101832
101833
101834
101835
101836
101837
101838
101839
101840
101841
101842
101843
101844
101845
101846
101847
101848
101849
101850
101851
101852
101853
101854
101855
101856
101857
101858
101859
101860
101861
101862
101863
101864
101865
101866
101867
101868
101869
101870
101871
101872
101873
101874
101875
101876
101877
101878
101879
101880
101881
101882
101883
101884
101885
101886
101887
101888
101889
101890
101891
101892
101893
101894
101895
101896
101897
101898
101899
101900
101901
101902
101903
101904
101905
101906
101907
101908
101909
101910
101911
101912
101913
101914
101915
101916
101917
101918
101919
101920
101921
101922
101923
101924
101925
101926
101927
101928
101929
101930
101931
101932
101933
101934
101935
101936
101937
101938
101939
101940
101941
101942
101943
101944
101945
101946
101947
101948
101949
101950
101951
101952
101953
101954
101955
101956
101957
101958
101959
101960
101961
101962
101963
101964
101965
101966
101967
101968
101969
101970
101971
101972
101973
101974
101975
101976
101977
101978
101979
101980
101981
101982
101983
101984
101985
101986
101987
101988
101989
101990
101991
101992
101993
101994
101995
101996
101997
101998
101999
102000
102001
102002
102003
102004
102005
102006
102007
102008
102009
102010
102011
102012
102013
102014
102015
102016
102017
102018
102019
102020
102021
102022
102023
102024
102025
102026
102027
102028
102029
102030
102031
102032
102033
102034
102035
102036
102037
102038
102039
102040
102041
102042
102043
102044
102045
102046
102047
102048
102049
102050
102051
102052
102053
102054
102055
102056
102057
102058
102059
102060
102061
102062
102063
102064
102065
102066
102067
102068
102069
102070
102071
102072
102073
102074
102075
102076
102077
102078
102079
102080
102081
102082
102083
102084
102085
102086
102087
102088
102089
102090
102091
102092
102093
102094
102095
102096
102097
102098
102099
102100
102101
102102
102103
102104
102105
102106
102107
102108
102109
102110
102111
102112
102113
102114
102115
102116
102117
102118
102119
102120
102121
102122
102123
102124
102125
102126
102127
102128
102129
102130
102131
102132
102133
102134
102135
102136
102137
102138
102139
102140
102141
102142
102143
102144
102145
102146
102147
102148
102149
102150
102151
102152
102153
102154
102155
102156
102157
102158
102159
102160
102161
102162
102163
102164
102165
102166
102167
102168
102169
102170
102171
102172
102173
102174
102175
102176
102177
102178
102179
102180
102181
102182
102183
102184
102185
102186
102187
102188
102189
102190
102191
102192
102193
102194
102195
102196
102197
102198
102199
102200
102201
102202
102203
102204
102205
102206
102207
102208
102209
102210
102211
102212
102213
102214
102215
102216
102217
102218
102219
102220
102221
102222
102223
102224
102225
102226
102227
102228
102229
102230
102231
102232
102233
102234
102235
102236
102237
102238
102239
102240
102241
102242
102243
102244
102245
102246
102247
102248
102249
102250
102251
102252
102253
102254
102255
102256
102257
102258
102259
102260
102261
102262
102263
102264
102265
102266
102267
102268
102269
102270
102271
102272
102273
102274
102275
102276
102277
102278
102279
102280
102281
102282
102283
102284
102285
102286
102287
102288
102289
102290
102291
102292
102293
102294
102295
102296
102297
102298
102299
102300
102301
102302
102303
102304
102305
102306
102307
102308
102309
102310
102311
102312
102313
102314
102315
102316
102317
102318
102319
102320
102321
102322
102323
102324
102325
102326
102327
102328
102329
102330
102331
102332
102333
102334
102335
102336
102337
102338
102339
102340
102341
102342
102343
102344
102345
102346
102347
102348
102349
102350
102351
102352
102353
102354
102355
102356
102357
102358
102359
102360
102361
102362
102363
102364
102365
102366
102367
102368
102369
102370
102371
102372
102373
102374
102375
102376
102377
102378
102379
102380
102381
102382
102383
102384
102385
102386
102387
102388
102389
102390
102391
102392
102393
102394
102395
102396
102397
102398
102399
102400
102401
102402
102403
102404
102405
102406
102407
102408
102409
102410
102411
102412
102413
102414
102415
102416
102417
102418
102419
102420
102421
102422
102423
102424
102425
102426
102427
102428
102429
102430
102431
102432
102433
102434
102435
102436
102437
102438
102439
102440
102441
102442
102443
102444
102445
102446
102447
102448
102449
102450
102451
102452
102453
102454
102455
102456
102457
102458
102459
102460
102461
102462
102463
102464
102465
102466
102467
102468
102469
102470
102471
102472
102473
102474
102475
102476
102477
102478
102479
102480
102481
102482
102483
102484
102485
102486
102487
102488
102489
102490
102491
102492
102493
102494
102495
102496
102497
102498
102499
102500
102501
102502
102503
102504
102505
102506
102507
102508
102509
102510
102511
102512
102513
102514
102515
102516
102517
102518
102519
102520
102521
102522
102523
102524
102525
102526
102527
102528
102529
102530
102531
102532
102533
102534
102535
102536
102537
102538
102539
102540
102541
102542
102543
102544
102545
102546
102547
102548
102549
102550
102551
102552
102553
102554
102555
102556
102557
102558
102559
102560
102561
102562
102563
102564
102565
102566
102567
102568
102569
102570
102571
102572
102573
102574
102575
102576
102577
102578
102579
102580
102581
102582
102583
102584
102585
102586
102587
102588
102589
102590
102591
102592
102593
102594
102595
102596
102597
102598
102599
102600
102601
102602
102603
102604
102605
102606
102607
102608
102609
102610
102611
102612
102613
102614
102615
102616
102617
102618
102619
102620
102621
102622
102623
102624
102625
102626
102627
102628
102629
102630
102631
102632
102633
102634
102635
102636
102637
102638
102639
102640
102641
102642
102643
102644
102645
102646
102647
102648
102649
102650
102651
102652
102653
102654
102655
102656
102657
102658
102659
102660
102661
102662
102663
102664
102665
102666
102667
102668
102669
102670
102671
102672
102673
102674
102675
102676
102677
102678
102679
102680
102681
102682
102683
102684
102685
102686
102687
102688
102689
102690
102691
102692
102693
102694
102695
102696
102697
102698
102699
102700
102701
102702
102703
102704
102705
102706
102707
102708
102709
102710
102711
102712
102713
102714
102715
102716
102717
102718
102719
102720
102721
102722
102723
102724
102725
102726
102727
102728
102729
102730
102731
102732
102733
102734
102735
102736
102737
102738
102739
102740
102741
102742
102743
102744
102745
102746
102747
102748
102749
102750
102751
102752
102753
102754
102755
102756
102757
102758
102759
102760
102761
102762
102763
102764
102765
102766
102767
102768
102769
102770
102771
102772
102773
102774
102775
102776
102777
102778
102779
102780
102781
102782
102783
102784
102785
102786
102787
102788
102789
102790
102791
102792
102793
102794
102795
102796
102797
102798
102799
102800
102801
102802
102803
102804
102805
102806
102807
102808
102809
102810
102811
102812
102813
102814
102815
102816
102817
102818
102819
102820
102821
102822
102823
102824
102825
102826
102827
102828
102829
102830
102831
102832
102833
102834
102835
102836
102837
102838
102839
102840
102841
102842
102843
102844
102845
102846
102847
102848
102849
102850
102851
102852
102853
102854
102855
102856
102857
102858
102859
102860
102861
102862
102863
102864
102865
102866
102867
102868
102869
102870
102871
102872
102873
102874
102875
102876
102877
102878
102879
102880
102881
102882
102883
102884
102885
102886
102887
102888
102889
102890
102891
102892
102893
102894
102895
102896
102897
102898
102899
102900
102901
102902
102903
102904
102905
102906
102907
102908
102909
102910
102911
102912
102913
102914
102915
102916
102917
102918
102919
102920
102921
102922
102923
102924
102925
102926
102927
102928
102929
102930
102931
102932
102933
102934
102935
102936
102937
102938
102939
102940
102941
102942
102943
102944
102945
102946
102947
102948
102949
102950
102951
102952
102953
102954
102955
102956
102957
102958
102959
102960
102961
102962
102963
102964
102965
102966
102967
102968
102969
102970
102971
102972
102973
102974
102975
102976
102977
102978
102979
102980
102981
102982
102983
102984
102985
102986
102987
102988
102989
102990
102991
102992
102993
102994
102995
102996
102997
102998
102999
103000
103001
103002
103003
103004
103005
103006
103007
103008
103009
103010
103011
103012
103013
103014
103015
103016
103017
103018
103019
103020
103021
103022
103023
103024
103025
103026
103027
103028
103029
103030
103031
103032
103033
103034
103035
103036
103037
103038
103039
103040
103041
103042
103043
103044
103045
103046
103047
103048
103049
103050
103051
103052
103053
103054
103055
103056
103057
103058
103059
103060
103061
103062
103063
103064
103065
103066
103067
103068
103069
103070
103071
103072
103073
103074
103075
103076
103077
103078
103079
103080
103081
103082
103083
103084
103085
103086
103087
103088
103089
103090
103091
103092
103093
103094
103095
103096
103097
103098
103099
103100
103101
103102
103103
103104
103105
103106
103107
103108
103109
103110
103111
103112
103113
103114
103115
103116
103117
103118
103119
103120
103121
103122
103123
103124
103125
103126
103127
103128
103129
103130
103131
103132
103133
103134
103135
103136
103137
103138
103139
103140
103141
103142
103143
103144
103145
103146
103147
103148
103149
103150
103151
103152
103153
103154
103155
103156
103157
103158
103159
103160
103161
103162
103163
103164
103165
103166
103167
103168
103169
103170
103171
103172
103173
103174
103175
103176
103177
103178
103179
103180
103181
103182
103183
103184
103185
103186
103187
103188
103189
103190
103191
103192
103193
103194
103195
103196
103197
103198
103199
103200
103201
103202
103203
103204
103205
103206
103207
103208
103209
103210
103211
103212
103213
103214
103215
103216
103217
103218
103219
103220
103221
103222
103223
103224
103225
103226
103227
103228
103229
103230
103231
103232
103233
103234
103235
103236
103237
103238
103239
103240
103241
103242
103243
103244
103245
103246
103247
103248
103249
103250
103251
103252
103253
103254
103255
103256
103257
103258
103259
103260
103261
103262
103263
103264
103265
103266
103267
103268
103269
103270
103271
103272
103273
103274
103275
103276
103277
103278
103279
103280
103281
103282
103283
103284
103285
103286
103287
103288
103289
103290
103291
103292
103293
103294
103295
103296
103297
103298
103299
103300
103301
103302
103303
103304
103305
103306
103307
103308
103309
103310
103311
103312
103313
103314
103315
103316
103317
103318
103319
103320
103321
103322
103323
103324
103325
103326
103327
103328
103329
103330
103331
103332
103333
103334
103335
103336
103337
103338
103339
103340
103341
103342
103343
103344
103345
103346
103347
103348
103349
103350
103351
103352
103353
103354
103355
103356
103357
103358
103359
103360
103361
103362
103363
103364
103365
103366
103367
103368
103369
103370
103371
103372
103373
103374
103375
103376
103377
103378
103379
103380
103381
103382
103383
103384
103385
103386
103387
103388
103389
103390
103391
103392
103393
103394
103395
103396
103397
103398
103399
103400
103401
103402
103403
103404
103405
103406
103407
103408
103409
103410
103411
103412
103413
103414
103415
103416
103417
103418
103419
103420
103421
103422
103423
103424
103425
103426
103427
103428
103429
103430
103431
103432
103433
103434
103435
103436
103437
103438
103439
103440
103441
103442
103443
103444
103445
103446
103447
103448
103449
103450
103451
103452
103453
103454
103455
103456
103457
103458
103459
103460
103461
103462
103463
103464
103465
103466
103467
103468
103469
103470
103471
103472
103473
103474
103475
103476
103477
103478
103479
103480
103481
103482
103483
103484
103485
103486
103487
103488
103489
103490
103491
103492
103493
103494
103495
103496
103497
103498
103499
103500
103501
103502
103503
103504
103505
103506
103507
103508
103509
103510
103511
103512
103513
103514
103515
103516
103517
103518
103519
103520
103521
103522
103523
103524
103525
103526
103527
103528
103529
103530
103531
103532
103533
103534
103535
103536
103537
103538
103539
103540
103541
103542
103543
103544
103545
103546
103547
103548
103549
103550
103551
103552
103553
103554
103555
103556
103557
103558
103559
103560
103561
103562
103563
103564
103565
103566
103567
103568
103569
103570
103571
103572
103573
103574
103575
103576
103577
103578
103579
103580
103581
103582
103583
103584
103585
103586
103587
103588
103589
103590
103591
103592
103593
103594
103595
103596
103597
103598
103599
103600
103601
103602
103603
103604
103605
103606
103607
103608
103609
103610
103611
103612
103613
103614
103615
103616
103617
103618
103619
103620
103621
103622
103623
103624
103625
103626
103627
103628
103629
103630
103631
103632
103633
103634
103635
103636
103637
103638
103639
103640
103641
103642
103643
103644
103645
103646
103647
103648
103649
103650
103651
103652
103653
103654
103655
103656
103657
103658
103659
103660
103661
103662
103663
103664
103665
103666
103667
103668
103669
103670
103671
103672
103673
103674
103675
103676
103677
103678
103679
103680
103681
103682
103683
103684
103685
103686
103687
103688
103689
103690
103691
103692
103693
103694
103695
103696
103697
103698
103699
103700
103701
103702
103703
103704
103705
103706
103707
103708
103709
103710
103711
103712
103713
103714
103715
103716
103717
103718
103719
103720
103721
103722
103723
103724
103725
103726
103727
103728
103729
103730
103731
103732
103733
103734
103735
103736
103737
103738
103739
103740
103741
103742
103743
103744
103745
103746
103747
103748
103749
103750
103751
103752
103753
103754
103755
103756
103757
103758
103759
103760
103761
103762
103763
103764
103765
103766
103767
103768
103769
103770
103771
103772
103773
103774
103775
103776
103777
103778
103779
103780
103781
103782
103783
103784
103785
103786
103787
103788
103789
103790
103791
103792
103793
103794
103795
103796
103797
103798
103799
103800
103801
103802
103803
103804
103805
103806
103807
103808
103809
103810
103811
103812
103813
103814
103815
103816
103817
103818
103819
103820
103821
103822
103823
103824
103825
103826
103827
103828
103829
103830
103831
103832
103833
103834
103835
103836
103837
103838
103839
103840
103841
103842
103843
103844
103845
103846
103847
103848
103849
103850
103851
103852
103853
103854
103855
103856
103857
103858
103859
103860
103861
103862
103863
103864
103865
103866
103867
103868
103869
103870
103871
103872
103873
103874
103875
103876
103877
103878
103879
103880
103881
103882
103883
103884
103885
103886
103887
103888
103889
103890
103891
103892
103893
103894
103895
103896
103897
103898
103899
103900
103901
103902
103903
103904
103905
103906
103907
103908
103909
103910
103911
103912
103913
103914
103915
103916
103917
103918
103919
103920
103921
103922
103923
103924
103925
103926
103927
103928
103929
103930
103931
103932
103933
103934
103935
103936
103937
103938
103939
103940
103941
103942
103943
103944
103945
103946
103947
103948
103949
103950
103951
103952
103953
103954
103955
103956
103957
103958
103959
103960
103961
103962
103963
103964
103965
103966
103967
103968
103969
103970
103971
103972
103973
103974
103975
103976
103977
103978
103979
103980
103981
103982
103983
103984
103985
103986
103987
103988
103989
103990
103991
103992
103993
103994
103995
103996
103997
103998
103999
104000
104001
104002
104003
104004
104005
104006
104007
104008
104009
104010
104011
104012
104013
104014
104015
104016
104017
104018
104019
104020
104021
104022
104023
104024
104025
104026
104027
104028
104029
104030
104031
104032
104033
104034
104035
104036
104037
104038
104039
104040
104041
104042
104043
104044
104045
104046
104047
104048
104049
104050
104051
104052
104053
104054
104055
104056
104057
104058
104059
104060
104061
104062
104063
104064
104065
104066
104067
104068
104069
104070
104071
104072
104073
104074
104075
104076
104077
104078
104079
104080
104081
104082
104083
104084
104085
104086
104087
104088
104089
104090
104091
104092
104093
104094
104095
104096
104097
104098
104099
104100
104101
104102
104103
104104
104105
104106
104107
104108
104109
104110
104111
104112
104113
104114
104115
104116
104117
104118
104119
104120
104121
104122
104123
104124
104125
104126
104127
104128
104129
104130
104131
104132
104133
104134
104135
104136
104137
104138
104139
104140
104141
104142
104143
104144
104145
104146
104147
104148
104149
104150
104151
104152
104153
104154
104155
104156
104157
104158
104159
104160
104161
104162
104163
104164
104165
104166
104167
104168
104169
104170
104171
104172
104173
104174
104175
104176
104177
104178
104179
104180
104181
104182
104183
104184
104185
104186
104187
104188
104189
104190
104191
104192
104193
104194
104195
104196
104197
104198
104199
104200
104201
104202
104203
104204
104205
104206
104207
104208
104209
104210
104211
104212
104213
104214
104215
104216
104217
104218
104219
104220
104221
104222
104223
104224
104225
104226
104227
104228
104229
104230
104231
104232
104233
104234
104235
104236
104237
104238
104239
104240
104241
104242
104243
104244
104245
104246
104247
104248
104249
104250
104251
104252
104253
104254
104255
104256
104257
104258
104259
104260
104261
104262
104263
104264
104265
104266
104267
104268
104269
104270
104271
104272
104273
104274
104275
104276
104277
104278
104279
104280
104281
104282
104283
104284
104285
104286
104287
104288
104289
104290
104291
104292
104293
104294
104295
104296
104297
104298
104299
104300
104301
104302
104303
104304
104305
104306
104307
104308
104309
104310
104311
104312
104313
104314
104315
104316
104317
104318
104319
104320
104321
104322
104323
104324
104325
104326
104327
104328
104329
104330
104331
104332
104333
104334
104335
104336
104337
104338
104339
104340
104341
104342
104343
104344
104345
104346
104347
104348
104349
104350
104351
104352
104353
104354
104355
104356
104357
104358
104359
104360
104361
104362
104363
104364
104365
104366
104367
104368
104369
104370
104371
104372
104373
104374
104375
104376
104377
104378
104379
104380
104381
104382
104383
104384
104385
104386
104387
104388
104389
104390
104391
104392
104393
104394
104395
104396
104397
104398
104399
104400
104401
104402
104403
104404
104405
104406
104407
104408
104409
104410
104411
104412
104413
104414
104415
104416
104417
104418
104419
104420
104421
104422
104423
104424
104425
104426
104427
104428
104429
104430
104431
104432
104433
104434
104435
104436
104437
104438
104439
104440
104441
104442
104443
104444
104445
104446
104447
104448
104449
104450
104451
104452
104453
104454
104455
104456
104457
104458
104459
104460
104461
104462
104463
104464
104465
104466
104467
104468
104469
104470
104471
104472
104473
104474
104475
104476
104477
104478
104479
104480
104481
104482
104483
104484
104485
104486
104487
104488
104489
104490
104491
104492
104493
104494
104495
104496
104497
104498
104499
104500
104501
104502
104503
104504
104505
104506
104507
104508
104509
104510
104511
104512
104513
104514
104515
104516
104517
104518
104519
104520
104521
104522
104523
104524
104525
104526
104527
104528
104529
104530
104531
104532
104533
104534
104535
104536
104537
104538
104539
104540
104541
104542
104543
104544
104545
104546
104547
104548
104549
104550
104551
104552
104553
104554
104555
104556
104557
104558
104559
104560
104561
104562
104563
104564
104565
104566
104567
104568
104569
104570
104571
104572
104573
104574
104575
104576
104577
104578
104579
104580
104581
104582
104583
104584
104585
104586
104587
104588
104589
104590
104591
104592
104593
104594
104595
104596
104597
104598
104599
104600
104601
104602
104603
104604
104605
104606
104607
104608
104609
104610
104611
104612
104613
104614
104615
104616
104617
104618
104619
104620
104621
104622
104623
104624
104625
104626
104627
104628
104629
104630
104631
104632
104633
104634
104635
104636
104637
104638
104639
104640
104641
104642
104643
104644
104645
104646
104647
104648
104649
104650
104651
104652
104653
104654
104655
104656
104657
104658
104659
104660
104661
104662
104663
104664
104665
104666
104667
104668
104669
104670
104671
104672
104673
104674
104675
104676
104677
104678
104679
104680
104681
104682
104683
104684
104685
104686
104687
104688
104689
104690
104691
104692
104693
104694
104695
104696
104697
104698
104699
104700
104701
104702
104703
104704
104705
104706
104707
104708
104709
104710
104711
104712
104713
104714
104715
104716
104717
104718
104719
104720
104721
104722
104723
104724
104725
104726
104727
104728
104729
104730
104731
104732
104733
104734
104735
104736
104737
104738
104739
104740
104741
104742
104743
104744
104745
104746
104747
104748
104749
104750
104751
104752
104753
104754
104755
104756
104757
104758
104759
104760
104761
104762
104763
104764
104765
104766
104767
104768
104769
104770
104771
104772
104773
104774
104775
104776
104777
104778
104779
104780
104781
104782
104783
104784
104785
104786
104787
104788
104789
104790
104791
104792
104793
104794
104795
104796
104797
104798
104799
104800
104801
104802
104803
104804
104805
104806
104807
104808
104809
104810
104811
104812
104813
104814
104815
104816
104817
104818
104819
104820
104821
104822
104823
104824
104825
104826
104827
104828
104829
104830
104831
104832
104833
104834
104835
104836
104837
104838
104839
104840
104841
104842
104843
104844
104845
104846
104847
104848
104849
104850
104851
104852
104853
104854
104855
104856
104857
104858
104859
104860
104861
104862
104863
104864
104865
104866
104867
104868
104869
104870
104871
104872
104873
104874
104875
104876
104877
104878
104879
104880
104881
104882
104883
104884
104885
104886
104887
104888
104889
104890
104891
104892
104893
104894
104895
104896
104897
104898
104899
104900
104901
104902
104903
104904
104905
104906
104907
104908
104909
104910
104911
104912
104913
104914
104915
104916
104917
104918
104919
104920
104921
104922
104923
104924
104925
104926
104927
104928
104929
104930
104931
104932
104933
104934
104935
104936
104937
104938
104939
104940
104941
104942
104943
104944
104945
104946
104947
104948
104949
104950
104951
104952
104953
104954
104955
104956
104957
104958
104959
104960
104961
104962
104963
104964
104965
104966
104967
104968
104969
104970
104971
104972
104973
104974
104975
104976
104977
104978
104979
104980
104981
104982
104983
104984
104985
104986
104987
104988
104989
104990
104991
104992
104993
104994
104995
104996
104997
104998
104999
105000
105001
105002
105003
105004
105005
105006
105007
105008
105009
105010
105011
105012
105013
105014
105015
105016
105017
105018
105019
105020
105021
105022
105023
105024
105025
105026
105027
105028
105029
105030
105031
105032
105033
105034
105035
105036
105037
105038
105039
105040
105041
105042
105043
105044
105045
105046
105047
105048
105049
105050
105051
105052
105053
105054
105055
105056
105057
105058
105059
105060
105061
105062
105063
105064
105065
105066
105067
105068
105069
105070
105071
105072
105073
105074
105075
105076
105077
105078
105079
105080
105081
105082
105083
105084
105085
105086
105087
105088
105089
105090
105091
105092
105093
105094
105095
105096
105097
105098
105099
105100
105101
105102
105103
105104
105105
105106
105107
105108
105109
105110
105111
105112
105113
105114
105115
105116
105117
105118
105119
105120
105121
105122
105123
105124
105125
105126
105127
105128
105129
105130
105131
105132
105133
105134
105135
105136
105137
105138
105139
105140
105141
105142
105143
105144
105145
105146
105147
105148
105149
105150
105151
105152
105153
105154
105155
105156
105157
105158
105159
105160
105161
105162
105163
105164
105165
105166
105167
105168
105169
105170
105171
105172
105173
105174
105175
105176
105177
105178
105179
105180
105181
105182
105183
105184
105185
105186
105187
105188
105189
105190
105191
105192
105193
105194
105195
105196
105197
105198
105199
105200
105201
105202
105203
105204
105205
105206
105207
105208
105209
105210
105211
105212
105213
105214
105215
105216
105217
105218
105219
105220
105221
105222
105223
105224
105225
105226
105227
105228
105229
105230
105231
105232
105233
105234
105235
105236
105237
105238
105239
105240
105241
105242
105243
105244
105245
105246
105247
105248
105249
105250
105251
105252
105253
105254
105255
105256
105257
105258
105259
105260
105261
105262
105263
105264
105265
105266
105267
105268
105269
105270
105271
105272
105273
105274
105275
105276
105277
105278
105279
105280
105281
105282
105283
105284
105285
105286
105287
105288
105289
105290
105291
105292
105293
105294
105295
105296
105297
105298
105299
105300
105301
105302
105303
105304
105305
105306
105307
105308
105309
105310
105311
105312
105313
105314
105315
105316
105317
105318
105319
105320
105321
105322
105323
105324
105325
105326
105327
105328
105329
105330
105331
105332
105333
105334
105335
105336
105337
105338
105339
105340
105341
105342
105343
105344
105345
105346
105347
105348
105349
105350
105351
105352
105353
105354
105355
105356
105357
105358
105359
105360
105361
105362
105363
105364
105365
105366
105367
105368
105369
105370
105371
105372
105373
105374
105375
105376
105377
105378
105379
105380
105381
105382
105383
105384
105385
105386
105387
105388
105389
105390
105391
105392
105393
105394
105395
105396
105397
105398
105399
105400
105401
105402
105403
105404
105405
105406
105407
105408
105409
105410
105411
105412
105413
105414
105415
105416
105417
105418
105419
105420
105421
105422
105423
105424
105425
105426
105427
105428
105429
105430
105431
105432
105433
105434
105435
105436
105437
105438
105439
105440
105441
105442
105443
105444
105445
105446
105447
105448
105449
105450
105451
105452
105453
105454
105455
105456
105457
105458
105459
105460
105461
105462
105463
105464
105465
105466
105467
105468
105469
105470
105471
105472
105473
105474
105475
105476
105477
105478
105479
105480
105481
105482
105483
105484
105485
105486
105487
105488
105489
105490
105491
105492
105493
105494
105495
105496
105497
105498
105499
105500
105501
105502
105503
105504
105505
105506
105507
105508
105509
105510
105511
105512
105513
105514
105515
105516
105517
105518
105519
105520
105521
105522
105523
105524
105525
105526
105527
105528
105529
105530
105531
105532
105533
105534
105535
105536
105537
105538
105539
105540
105541
105542
105543
105544
105545
105546
105547
105548
105549
105550
105551
105552
105553
105554
105555
105556
105557
105558
105559
105560
105561
105562
105563
105564
105565
105566
105567
105568
105569
105570
105571
105572
105573
105574
105575
105576
105577
105578
105579
105580
105581
105582
105583
105584
105585
105586
105587
105588
105589
105590
105591
105592
105593
105594
105595
105596
105597
105598
105599
105600
105601
105602
105603
105604
105605
105606
105607
105608
105609
105610
105611
105612
105613
105614
105615
105616
105617
105618
105619
105620
105621
105622
105623
105624
105625
105626
105627
105628
105629
105630
105631
105632
105633
105634
105635
105636
105637
105638
105639
105640
105641
105642
105643
105644
105645
105646
105647
105648
105649
105650
105651
105652
105653
105654
105655
105656
105657
105658
105659
105660
105661
105662
105663
105664
105665
105666
105667
105668
105669
105670
105671
105672
105673
105674
105675
105676
105677
105678
105679
105680
105681
105682
105683
105684
105685
105686
105687
105688
105689
105690
105691
105692
105693
105694
105695
105696
105697
105698
105699
105700
105701
105702
105703
105704
105705
105706
105707
105708
105709
105710
105711
105712
105713
105714
105715
105716
105717
105718
105719
105720
105721
105722
105723
105724
105725
105726
105727
105728
105729
105730
105731
105732
105733
105734
105735
105736
105737
105738
105739
105740
105741
105742
105743
105744
105745
105746
105747
105748
105749
105750
105751
105752
105753
105754
105755
105756
105757
105758
105759
105760
105761
105762
105763
105764
105765
105766
105767
105768
105769
105770
105771
105772
105773
105774
105775
105776
105777
105778
105779
105780
105781
105782
105783
105784
105785
105786
105787
105788
105789
105790
105791
105792
105793
105794
105795
105796
105797
105798
105799
105800
105801
105802
105803
105804
105805
105806
105807
105808
105809
105810
105811
105812
105813
105814
105815
105816
105817
105818
105819
105820
105821
105822
105823
105824
105825
105826
105827
105828
105829
105830
105831
105832
105833
105834
105835
105836
105837
105838
105839
105840
105841
105842
105843
105844
105845
105846
105847
105848
105849
105850
105851
105852
105853
105854
105855
105856
105857
105858
105859
105860
105861
105862
105863
105864
105865
105866
105867
105868
105869
105870
105871
105872
105873
105874
105875
105876
105877
105878
105879
105880
105881
105882
105883
105884
105885
105886
105887
105888
105889
105890
105891
105892
105893
105894
105895
105896
105897
105898
105899
105900
105901
105902
105903
105904
105905
105906
105907
105908
105909
105910
105911
105912
105913
105914
105915
105916
105917
105918
105919
105920
105921
105922
105923
105924
105925
105926
105927
105928
105929
105930
105931
105932
105933
105934
105935
105936
105937
105938
105939
105940
105941
105942
105943
105944
105945
105946
105947
105948
105949
105950
105951
105952
105953
105954
105955
105956
105957
105958
105959
105960
105961
105962
105963
105964
105965
105966
105967
105968
105969
105970
105971
105972
105973
105974
105975
105976
105977
105978
105979
105980
105981
105982
105983
105984
105985
105986
105987
105988
105989
105990
105991
105992
105993
105994
105995
105996
105997
105998
105999
106000
106001
106002
106003
106004
106005
106006
106007
106008
106009
106010
106011
106012
106013
106014
106015
106016
106017
106018
106019
106020
106021
106022
106023
106024
106025
106026
106027
106028
106029
106030
106031
106032
106033
106034
106035
106036
106037
106038
106039
106040
106041
106042
106043
106044
106045
106046
106047
106048
106049
106050
106051
106052
106053
106054
106055
106056
106057
106058
106059
106060
106061
106062
106063
106064
106065
106066
106067
106068
106069
106070
106071
106072
106073
106074
106075
106076
106077
106078
106079
106080
106081
106082
106083
106084
106085
106086
106087
106088
106089
106090
106091
106092
106093
106094
106095
106096
106097
106098
106099
106100
106101
106102
106103
106104
106105
106106
106107
106108
106109
106110
106111
106112
106113
106114
106115
106116
106117
106118
106119
106120
106121
106122
106123
106124
106125
106126
106127
106128
106129
106130
106131
106132
106133
106134
106135
106136
106137
106138
106139
106140
106141
106142
106143
106144
106145
106146
106147
106148
106149
106150
106151
106152
106153
106154
106155
106156
106157
106158
106159
106160
106161
106162
106163
106164
106165
106166
106167
106168
106169
106170
106171
106172
106173
106174
106175
106176
106177
106178
106179
106180
106181
106182
106183
106184
106185
106186
106187
106188
106189
106190
106191
106192
106193
106194
106195
106196
106197
106198
106199
106200
106201
106202
106203
106204
106205
106206
106207
106208
106209
106210
106211
106212
106213
106214
106215
106216
106217
106218
106219
106220
106221
106222
106223
106224
106225
106226
106227
106228
106229
106230
106231
106232
106233
106234
106235
106236
106237
106238
106239
106240
106241
106242
106243
106244
106245
106246
106247
106248
106249
106250
106251
106252
106253
106254
106255
106256
106257
106258
106259
106260
106261
106262
106263
106264
106265
106266
106267
106268
106269
106270
106271
106272
106273
106274
106275
106276
106277
106278
106279
106280
106281
106282
106283
106284
106285
106286
106287
106288
106289
106290
106291
106292
106293
106294
106295
106296
106297
106298
106299
106300
106301
106302
106303
106304
106305
106306
106307
106308
106309
106310
106311
106312
106313
106314
106315
106316
106317
106318
106319
106320
106321
106322
106323
106324
106325
106326
106327
106328
106329
106330
106331
106332
106333
106334
106335
106336
106337
106338
106339
106340
106341
106342
106343
106344
106345
106346
106347
106348
106349
106350
106351
106352
106353
106354
106355
106356
106357
106358
106359
106360
106361
106362
106363
106364
106365
106366
106367
106368
106369
106370
106371
106372
106373
106374
106375
106376
106377
106378
106379
106380
106381
106382
106383
106384
106385
106386
106387
106388
106389
106390
106391
106392
106393
106394
106395
106396
106397
106398
106399
106400
106401
106402
106403
106404
106405
106406
106407
106408
106409
106410
106411
106412
106413
106414
106415
106416
106417
106418
106419
106420
106421
106422
106423
106424
106425
106426
106427
106428
106429
106430
106431
106432
106433
106434
106435
106436
106437
106438
106439
106440
106441
106442
106443
106444
106445
106446
106447
106448
106449
106450
106451
106452
106453
106454
106455
106456
106457
106458
106459
106460
106461
106462
106463
106464
106465
106466
106467
106468
106469
106470
106471
106472
106473
106474
106475
106476
106477
106478
106479
106480
106481
106482
106483
106484
106485
106486
106487
106488
106489
106490
106491
106492
106493
106494
106495
106496
106497
106498
106499
106500
106501
106502
106503
106504
106505
106506
106507
106508
106509
106510
106511
106512
106513
106514
106515
106516
106517
106518
106519
106520
106521
106522
106523
106524
106525
106526
106527
106528
106529
106530
106531
106532
106533
106534
106535
106536
106537
106538
106539
106540
106541
106542
106543
106544
106545
106546
106547
106548
106549
106550
106551
106552
106553
106554
106555
106556
106557
106558
106559
106560
106561
106562
106563
106564
106565
106566
106567
106568
106569
106570
106571
106572
106573
106574
106575
106576
106577
106578
106579
106580
106581
106582
106583
106584
106585
106586
106587
106588
106589
106590
106591
106592
106593
106594
106595
106596
106597
106598
106599
106600
106601
106602
106603
106604
106605
106606
106607
106608
106609
106610
106611
106612
106613
106614
106615
106616
106617
106618
106619
106620
106621
106622
106623
106624
106625
106626
106627
106628
106629
106630
106631
106632
106633
106634
106635
106636
106637
106638
106639
106640
106641
106642
106643
106644
106645
106646
106647
106648
106649
106650
106651
106652
106653
106654
106655
106656
106657
106658
106659
106660
106661
106662
106663
106664
106665
106666
106667
106668
106669
106670
106671
106672
106673
106674
106675
106676
106677
106678
106679
106680
106681
106682
106683
106684
106685
106686
106687
106688
106689
106690
106691
106692
106693
106694
106695
106696
106697
106698
106699
106700
106701
106702
106703
106704
106705
106706
106707
106708
106709
106710
106711
106712
106713
106714
106715
106716
106717
106718
106719
106720
106721
106722
106723
106724
106725
106726
106727
106728
106729
106730
106731
106732
106733
106734
106735
106736
106737
106738
106739
106740
106741
106742
106743
106744
106745
106746
106747
106748
106749
106750
106751
106752
106753
106754
106755
106756
106757
106758
106759
106760
106761
106762
106763
106764
106765
106766
106767
106768
106769
106770
106771
106772
106773
106774
106775
106776
106777
106778
106779
106780
106781
106782
106783
106784
106785
106786
106787
106788
106789
106790
106791
106792
106793
106794
106795
106796
106797
106798
106799
106800
106801
106802
106803
106804
106805
106806
106807
106808
106809
106810
106811
106812
106813
106814
106815
106816
106817
106818
106819
106820
106821
106822
106823
106824
106825
106826
106827
106828
106829
106830
106831
106832
106833
106834
106835
106836
106837
106838
106839
106840
106841
106842
106843
106844
106845
106846
106847
106848
106849
106850
106851
106852
106853
106854
106855
106856
106857
106858
106859
106860
106861
106862
106863
106864
106865
106866
106867
106868
106869
106870
106871
106872
106873
106874
106875
106876
106877
106878
106879
106880
106881
106882
106883
106884
106885
106886
106887
106888
106889
106890
106891
106892
106893
106894
106895
106896
106897
106898
106899
106900
106901
106902
106903
106904
106905
106906
106907
106908
106909
106910
106911
106912
106913
106914
106915
106916
106917
106918
106919
106920
106921
106922
106923
106924
106925
106926
106927
106928
106929
106930
106931
106932
106933
106934
106935
106936
106937
106938
106939
106940
106941
106942
106943
106944
106945
106946
106947
106948
106949
106950
106951
106952
106953
106954
106955
106956
106957
106958
106959
106960
106961
106962
106963
106964
106965
106966
106967
106968
106969
106970
106971
106972
106973
106974
106975
106976
106977
106978
106979
106980
106981
106982
106983
106984
106985
106986
106987
106988
106989
106990
106991
106992
106993
106994
106995
106996
106997
106998
106999
107000
107001
107002
107003
107004
107005
107006
107007
107008
107009
107010
107011
107012
107013
107014
107015
107016
107017
107018
107019
107020
107021
107022
107023
107024
107025
107026
107027
107028
107029
107030
107031
107032
107033
107034
107035
107036
107037
107038
107039
107040
107041
107042
107043
107044
107045
107046
107047
107048
107049
107050
107051
107052
107053
107054
107055
107056
107057
107058
107059
107060
107061
107062
107063
107064
107065
107066
107067
107068
107069
107070
107071
107072
107073
107074
107075
107076
107077
107078
107079
107080
107081
107082
107083
107084
107085
107086
107087
107088
107089
107090
107091
107092
107093
107094
107095
107096
107097
107098
107099
107100
107101
107102
107103
107104
107105
107106
107107
107108
107109
107110
107111
107112
107113
107114
107115
107116
107117
107118
107119
107120
107121
107122
107123
107124
107125
107126
107127
107128
107129
107130
107131
107132
107133
107134
107135
107136
107137
107138
107139
107140
107141
107142
107143
107144
107145
107146
107147
107148
107149
107150
107151
107152
107153
107154
107155
107156
107157
107158
107159
107160
107161
107162
107163
107164
107165
107166
107167
107168
107169
107170
107171
107172
107173
107174
107175
107176
107177
107178
107179
107180
107181
107182
107183
107184
107185
107186
107187
107188
107189
107190
107191
107192
107193
107194
107195
107196
107197
107198
107199
107200
107201
107202
107203
107204
107205
107206
107207
107208
107209
107210
107211
107212
107213
107214
107215
107216
107217
107218
107219
107220
107221
107222
107223
107224
107225
107226
107227
107228
107229
107230
107231
107232
107233
107234
107235
107236
107237
107238
107239
107240
107241
107242
107243
107244
107245
107246
107247
107248
107249
107250
107251
107252
107253
107254
107255
107256
107257
107258
107259
107260
107261
107262
107263
107264
107265
107266
107267
107268
107269
107270
107271
107272
107273
107274
107275
107276
107277
107278
107279
107280
107281
107282
107283
107284
107285
107286
107287
107288
107289
107290
107291
107292
107293
107294
107295
107296
107297
107298
107299
107300
107301
107302
107303
107304
107305
107306
107307
107308
107309
107310
107311
107312
107313
107314
107315
107316
107317
107318
107319
107320
107321
107322
107323
107324
107325
107326
107327
107328
107329
107330
107331
107332
107333
107334
107335
107336
107337
107338
107339
107340
107341
107342
107343
107344
107345
107346
107347
107348
107349
107350
107351
107352
107353
107354
107355
107356
107357
107358
107359
107360
107361
107362
107363
107364
107365
107366
107367
107368
107369
107370
107371
107372
107373
107374
107375
107376
107377
107378
107379
107380
107381
107382
107383
107384
107385
107386
107387
107388
107389
107390
107391
107392
107393
107394
107395
107396
107397
107398
107399
107400
107401
107402
107403
107404
107405
107406
107407
107408
107409
107410
107411
107412
107413
107414
107415
107416
107417
107418
107419
107420
107421
107422
107423
107424
107425
107426
107427
107428
107429
107430
107431
107432
107433
107434
107435
107436
107437
107438
107439
107440
107441
107442
107443
107444
107445
107446
107447
107448
107449
107450
107451
107452
107453
107454
107455
107456
107457
107458
107459
107460
107461
107462
107463
107464
107465
107466
107467
107468
107469
107470
107471
107472
107473
107474
107475
107476
107477
107478
107479
107480
107481
107482
107483
107484
107485
107486
107487
107488
107489
107490
107491
107492
107493
107494
107495
107496
107497
107498
107499
107500
107501
107502
107503
107504
107505
107506
107507
107508
107509
107510
107511
107512
107513
107514
107515
107516
107517
107518
107519
107520
107521
107522
107523
107524
107525
107526
107527
107528
107529
107530
107531
107532
107533
107534
107535
107536
107537
107538
107539
107540
107541
107542
107543
107544
107545
107546
107547
107548
107549
107550
107551
107552
107553
107554
107555
107556
107557
107558
107559
107560
107561
107562
107563
107564
107565
107566
107567
107568
107569
107570
107571
107572
107573
107574
107575
107576
107577
107578
107579
107580
107581
107582
107583
107584
107585
107586
107587
107588
107589
107590
107591
107592
107593
107594
107595
107596
107597
107598
107599
107600
107601
107602
107603
107604
107605
107606
107607
107608
107609
107610
107611
107612
107613
107614
107615
107616
107617
107618
107619
107620
107621
107622
107623
107624
107625
107626
107627
107628
107629
107630
107631
107632
107633
107634
107635
107636
107637
107638
107639
107640
107641
107642
107643
107644
107645
107646
107647
107648
107649
107650
107651
107652
107653
107654
107655
107656
107657
107658
107659
107660
107661
107662
107663
107664
107665
107666
107667
107668
107669
107670
107671
107672
107673
107674
107675
107676
107677
107678
107679
107680
107681
107682
107683
107684
107685
107686
107687
107688
107689
107690
107691
107692
107693
107694
107695
107696
107697
107698
107699
107700
107701
107702
107703
107704
107705
107706
107707
107708
107709
107710
107711
107712
107713
107714
107715
107716
107717
107718
107719
107720
107721
107722
107723
107724
107725
107726
107727
107728
107729
107730
107731
107732
107733
107734
107735
107736
107737
107738
107739
107740
107741
107742
107743
107744
107745
107746
107747
107748
107749
107750
107751
107752
107753
107754
107755
107756
107757
107758
107759
107760
107761
107762
107763
107764
107765
107766
107767
107768
107769
107770
107771
107772
107773
107774
107775
107776
107777
107778
107779
107780
107781
107782
107783
107784
107785
107786
107787
107788
107789
107790
107791
107792
107793
107794
107795
107796
107797
107798
107799
107800
107801
107802
107803
107804
107805
107806
107807
107808
107809
107810
107811
107812
107813
107814
107815
107816
107817
107818
107819
107820
107821
107822
107823
107824
107825
107826
107827
107828
107829
107830
107831
107832
107833
107834
107835
107836
107837
107838
107839
107840
107841
107842
107843
107844
107845
107846
107847
107848
107849
107850
107851
107852
107853
107854
107855
107856
107857
107858
107859
107860
107861
107862
107863
107864
107865
107866
107867
107868
107869
107870
107871
107872
107873
107874
107875
107876
107877
107878
107879
107880
107881
107882
107883
107884
107885
107886
107887
107888
107889
107890
107891
107892
107893
107894
107895
107896
107897
107898
107899
107900
107901
107902
107903
107904
107905
107906
107907
107908
107909
107910
107911
107912
107913
107914
107915
107916
107917
107918
107919
107920
107921
107922
107923
107924
107925
107926
107927
107928
107929
107930
107931
107932
107933
107934
107935
107936
107937
107938
107939
107940
107941
107942
107943
107944
107945
107946
107947
107948
107949
107950
107951
107952
107953
107954
107955
107956
107957
107958
107959
107960
107961
107962
107963
107964
107965
107966
107967
107968
107969
107970
107971
107972
107973
107974
107975
107976
107977
107978
107979
107980
107981
107982
107983
107984
107985
107986
107987
107988
107989
107990
107991
107992
107993
107994
107995
107996
107997
107998
107999
108000
108001
108002
108003
108004
108005
108006
108007
108008
108009
108010
108011
108012
108013
108014
108015
108016
108017
108018
108019
108020
108021
108022
108023
108024
108025
108026
108027
108028
108029
108030
108031
108032
108033
108034
108035
108036
108037
108038
108039
108040
108041
108042
108043
108044
108045
108046
108047
108048
108049
108050
108051
108052
108053
108054
108055
108056
108057
108058
108059
108060
108061
108062
108063
108064
108065
108066
108067
108068
108069
108070
108071
108072
108073
108074
108075
108076
108077
108078
108079
108080
108081
108082
108083
108084
108085
108086
108087
108088
108089
108090
108091
108092
108093
108094
108095
108096
108097
108098
108099
108100
108101
108102
108103
108104
108105
108106
108107
108108
108109
108110
108111
108112
108113
108114
108115
108116
108117
108118
108119
108120
108121
108122
108123
108124
108125
108126
108127
108128
108129
108130
108131
108132
108133
108134
108135
108136
108137
108138
108139
108140
108141
108142
108143
108144
108145
108146
108147
108148
108149
108150
108151
108152
108153
108154
108155
108156
108157
108158
108159
108160
108161
108162
108163
108164
108165
108166
108167
108168
108169
108170
108171
108172
108173
108174
108175
108176
108177
108178
108179
108180
108181
108182
108183
108184
108185
108186
108187
108188
108189
108190
108191
108192
108193
108194
108195
108196
108197
108198
108199
108200
108201
108202
108203
108204
108205
108206
108207
108208
108209
108210
108211
108212
108213
108214
108215
108216
108217
108218
108219
108220
108221
108222
108223
108224
108225
108226
108227
108228
108229
108230
108231
108232
108233
108234
108235
108236
108237
108238
108239
108240
108241
108242
108243
108244
108245
108246
108247
108248
108249
108250
108251
108252
108253
108254
108255
108256
108257
108258
108259
108260
108261
108262
108263
108264
108265
108266
108267
108268
108269
108270
108271
108272
108273
108274
108275
108276
108277
108278
108279
108280
108281
108282
108283
108284
108285
108286
108287
108288
108289
108290
108291
108292
108293
108294
108295
108296
108297
108298
108299
108300
108301
108302
108303
108304
108305
108306
108307
108308
108309
108310
108311
108312
108313
108314
108315
108316
108317
108318
108319
108320
108321
108322
108323
108324
108325
108326
108327
108328
108329
108330
108331
108332
108333
108334
108335
108336
108337
108338
108339
108340
108341
108342
108343
108344
108345
108346
108347
108348
108349
108350
108351
108352
108353
108354
108355
108356
108357
108358
108359
108360
108361
108362
108363
108364
108365
108366
108367
108368
108369
108370
108371
108372
108373
108374
108375
108376
108377
108378
108379
108380
108381
108382
108383
108384
108385
108386
108387
108388
108389
108390
108391
108392
108393
108394
108395
108396
108397
108398
108399
108400
108401
108402
108403
108404
108405
108406
108407
108408
108409
108410
108411
108412
108413
108414
108415
108416
108417
108418
108419
108420
108421
108422
108423
108424
108425
108426
108427
108428
108429
108430
108431
108432
108433
108434
108435
108436
108437
108438
108439
108440
108441
108442
108443
108444
108445
108446
108447
108448
108449
108450
108451
108452
108453
108454
108455
108456
108457
108458
108459
108460
108461
108462
108463
108464
108465
108466
108467
108468
108469
108470
108471
108472
108473
108474
108475
108476
108477
108478
108479
108480
108481
108482
108483
108484
108485
108486
108487
108488
108489
108490
108491
108492
108493
108494
108495
108496
108497
108498
108499
108500
108501
108502
108503
108504
108505
108506
108507
108508
108509
108510
108511
108512
108513
108514
108515
108516
108517
108518
108519
108520
108521
108522
108523
108524
108525
108526
108527
108528
108529
108530
108531
108532
108533
108534
108535
108536
108537
108538
108539
108540
108541
108542
108543
108544
108545
108546
108547
108548
108549
108550
108551
108552
108553
108554
108555
108556
108557
108558
108559
108560
108561
108562
108563
108564
108565
108566
108567
108568
108569
108570
108571
108572
108573
108574
108575
108576
108577
108578
108579
108580
108581
108582
108583
108584
108585
108586
108587
108588
108589
108590
108591
108592
108593
108594
108595
108596
108597
108598
108599
108600
108601
108602
108603
108604
108605
108606
108607
108608
108609
108610
108611
108612
108613
108614
108615
108616
108617
108618
108619
108620
108621
108622
108623
108624
108625
108626
108627
108628
108629
108630
108631
108632
108633
108634
108635
108636
108637
108638
108639
108640
108641
108642
108643
108644
108645
108646
108647
108648
108649
108650
108651
108652
108653
108654
108655
108656
108657
108658
108659
108660
108661
108662
108663
108664
108665
108666
108667
108668
108669
108670
108671
108672
108673
108674
108675
108676
108677
108678
108679
108680
108681
108682
108683
108684
108685
108686
108687
108688
108689
108690
108691
108692
108693
108694
108695
108696
108697
108698
108699
108700
108701
108702
108703
108704
108705
108706
108707
108708
108709
108710
108711
108712
108713
108714
108715
108716
108717
108718
108719
108720
108721
108722
108723
108724
108725
108726
108727
108728
108729
108730
108731
108732
108733
108734
108735
108736
108737
108738
108739
108740
108741
108742
108743
108744
108745
108746
108747
108748
108749
108750
108751
108752
108753
108754
108755
108756
108757
108758
108759
108760
108761
108762
108763
108764
108765
108766
108767
108768
108769
108770
108771
108772
108773
108774
108775
108776
108777
108778
108779
108780
108781
108782
108783
108784
108785
108786
108787
108788
108789
108790
108791
108792
108793
108794
108795
108796
108797
108798
108799
108800
108801
108802
108803
108804
108805
108806
108807
108808
108809
108810
108811
108812
108813
108814
108815
108816
108817
108818
108819
108820
108821
108822
108823
108824
108825
108826
108827
108828
108829
108830
108831
108832
108833
108834
108835
108836
108837
108838
108839
108840
108841
108842
108843
108844
108845
108846
108847
108848
108849
108850
108851
108852
108853
108854
108855
108856
108857
108858
108859
108860
108861
108862
108863
108864
108865
108866
108867
108868
108869
108870
108871
108872
108873
108874
108875
108876
108877
108878
108879
108880
108881
108882
108883
108884
108885
108886
108887
108888
108889
108890
108891
108892
108893
108894
108895
108896
108897
108898
108899
108900
108901
108902
108903
108904
108905
108906
108907
108908
108909
108910
108911
108912
108913
108914
108915
108916
108917
108918
108919
108920
108921
108922
108923
108924
108925
108926
108927
108928
108929
108930
108931
108932
108933
108934
108935
108936
108937
108938
108939
108940
108941
108942
108943
108944
108945
108946
108947
108948
108949
108950
108951
108952
108953
108954
108955
108956
108957
108958
108959
108960
108961
108962
108963
108964
108965
108966
108967
108968
108969
108970
108971
108972
108973
108974
108975
108976
108977
108978
108979
108980
108981
108982
108983
108984
108985
108986
108987
108988
108989
108990
108991
108992
108993
108994
108995
108996
108997
108998
108999
109000
109001
109002
109003
109004
109005
109006
109007
109008
109009
109010
109011
109012
109013
109014
109015
109016
109017
109018
109019
109020
109021
109022
109023
109024
109025
109026
109027
109028
109029
109030
109031
109032
109033
109034
109035
109036
109037
109038
109039
109040
109041
109042
109043
109044
109045
109046
109047
109048
109049
109050
109051
109052
109053
109054
109055
109056
109057
109058
109059
109060
109061
109062
109063
109064
109065
109066
109067
109068
109069
109070
109071
109072
109073
109074
109075
109076
109077
109078
109079
109080
109081
109082
109083
109084
109085
109086
109087
109088
109089
109090
109091
109092
109093
109094
109095
109096
109097
109098
109099
109100
109101
109102
109103
109104
109105
109106
109107
109108
109109
109110
109111
109112
109113
109114
109115
109116
109117
109118
109119
109120
109121
109122
109123
109124
109125
109126
109127
109128
109129
109130
109131
109132
109133
109134
109135
109136
109137
109138
109139
109140
109141
109142
109143
109144
109145
109146
109147
109148
109149
109150
109151
109152
109153
109154
109155
109156
109157
109158
109159
109160
109161
109162
109163
109164
109165
109166
109167
109168
109169
109170
109171
109172
109173
109174
109175
109176
109177
109178
109179
109180
109181
109182
109183
109184
109185
109186
109187
109188
109189
109190
109191
109192
109193
109194
109195
109196
109197
109198
109199
109200
109201
109202
109203
109204
109205
109206
109207
109208
109209
109210
109211
109212
109213
109214
109215
109216
109217
109218
109219
109220
109221
109222
109223
109224
109225
109226
109227
109228
109229
109230
109231
109232
109233
109234
109235
109236
109237
109238
109239
109240
109241
109242
109243
109244
109245
109246
109247
109248
109249
109250
109251
109252
109253
109254
109255
109256
109257
109258
109259
109260
109261
109262
109263
109264
109265
109266
109267
109268
109269
109270
109271
109272
109273
109274
109275
109276
109277
109278
109279
109280
109281
109282
109283
109284
109285
109286
109287
109288
109289
109290
109291
109292
109293
109294
109295
109296
109297
109298
109299
109300
109301
109302
109303
109304
109305
109306
109307
109308
109309
109310
109311
109312
109313
109314
109315
109316
109317
109318
109319
109320
109321
109322
109323
109324
109325
109326
109327
109328
109329
109330
109331
109332
109333
109334
109335
109336
109337
109338
109339
109340
109341
109342
109343
109344
109345
109346
109347
109348
109349
109350
109351
109352
109353
109354
109355
109356
109357
109358
109359
109360
109361
109362
109363
109364
109365
109366
109367
109368
109369
109370
109371
109372
109373
109374
109375
109376
109377
109378
109379
109380
109381
109382
109383
109384
109385
109386
109387
109388
109389
109390
109391
109392
109393
109394
109395
109396
109397
109398
109399
109400
109401
109402
109403
109404
109405
109406
109407
109408
109409
109410
109411
109412
109413
109414
109415
109416
109417
109418
109419
109420
109421
109422
109423
109424
109425
109426
109427
109428
109429
109430
109431
109432
109433
109434
109435
109436
109437
109438
109439
109440
109441
109442
109443
109444
109445
109446
109447
109448
109449
109450
109451
109452
109453
109454
109455
109456
109457
109458
109459
109460
109461
109462
109463
109464
109465
109466
109467
109468
109469
109470
109471
109472
109473
109474
109475
109476
109477
109478
109479
109480
109481
109482
109483
109484
109485
109486
109487
109488
109489
109490
109491
109492
109493
109494
109495
109496
109497
109498
109499
109500
109501
109502
109503
109504
109505
109506
109507
109508
109509
109510
109511
109512
109513
109514
109515
109516
109517
109518
109519
109520
109521
109522
109523
109524
109525
109526
109527
109528
109529
109530
109531
109532
109533
109534
109535
109536
109537
109538
109539
109540
109541
109542
109543
109544
109545
109546
109547
109548
109549
109550
109551
109552
109553
109554
109555
109556
109557
109558
109559
109560
109561
109562
109563
109564
109565
109566
109567
109568
109569
109570
109571
109572
109573
109574
109575
109576
109577
109578
109579
109580
109581
109582
109583
109584
109585
109586
109587
109588
109589
109590
109591
109592
109593
109594
109595
109596
109597
109598
109599
109600
109601
109602
109603
109604
109605
109606
109607
109608
109609
109610
109611
109612
109613
109614
109615
109616
109617
109618
109619
109620
109621
109622
109623
109624
109625
109626
109627
109628
109629
109630
109631
109632
109633
109634
109635
109636
109637
109638
109639
109640
109641
109642
109643
109644
109645
109646
109647
109648
109649
109650
109651
109652
109653
109654
109655
109656
109657
109658
109659
109660
109661
109662
109663
109664
109665
109666
109667
109668
109669
109670
109671
109672
109673
109674
109675
109676
109677
109678
109679
109680
109681
109682
109683
109684
109685
109686
109687
109688
109689
109690
109691
109692
109693
109694
109695
109696
109697
109698
109699
109700
109701
109702
109703
109704
109705
109706
109707
109708
109709
109710
109711
109712
109713
109714
109715
109716
109717
109718
109719
109720
109721
109722
109723
109724
109725
109726
109727
109728
109729
109730
109731
109732
109733
109734
109735
109736
109737
109738
109739
109740
109741
109742
109743
109744
109745
109746
109747
109748
109749
109750
109751
109752
109753
109754
109755
109756
109757
109758
109759
109760
109761
109762
109763
109764
109765
109766
109767
109768
109769
109770
109771
109772
109773
109774
109775
109776
109777
109778
109779
109780
109781
109782
109783
109784
109785
109786
109787
109788
109789
109790
109791
109792
109793
109794
109795
109796
109797
109798
109799
109800
109801
109802
109803
109804
109805
109806
109807
109808
109809
109810
109811
109812
109813
109814
109815
109816
109817
109818
109819
109820
109821
109822
109823
109824
109825
109826
109827
109828
109829
109830
109831
109832
109833
109834
109835
109836
109837
109838
109839
109840
109841
109842
109843
109844
109845
109846
109847
109848
109849
109850
109851
109852
109853
109854
109855
109856
109857
109858
109859
109860
109861
109862
109863
109864
109865
109866
109867
109868
109869
109870
109871
109872
109873
109874
109875
109876
109877
109878
109879
109880
109881
109882
109883
109884
109885
109886
109887
109888
109889
109890
109891
109892
109893
109894
109895
109896
109897
109898
109899
109900
109901
109902
109903
109904
109905
109906
109907
109908
109909
109910
109911
109912
109913
109914
109915
109916
109917
109918
109919
109920
109921
109922
109923
109924
109925
109926
109927
109928
109929
109930
109931
109932
109933
109934
109935
109936
109937
109938
109939
109940
109941
109942
109943
109944
109945
109946
109947
109948
109949
109950
109951
109952
109953
109954
109955
109956
109957
109958
109959
109960
109961
109962
109963
109964
109965
109966
109967
109968
109969
109970
109971
109972
109973
109974
109975
109976
109977
109978
109979
109980
109981
109982
109983
109984
109985
109986
109987
109988
109989
109990
109991
109992
109993
109994
109995
109996
109997
109998
109999
110000
110001
110002
110003
110004
110005
110006
110007
110008
110009
110010
110011
110012
110013
110014
110015
110016
110017
110018
110019
110020
110021
110022
110023
110024
110025
110026
110027
110028
110029
110030
110031
110032
110033
110034
110035
110036
110037
110038
110039
110040
110041
110042
110043
110044
110045
110046
110047
110048
110049
110050
110051
110052
110053
110054
110055
110056
110057
110058
110059
110060
110061
110062
110063
110064
110065
110066
110067
110068
110069
110070
110071
110072
110073
110074
110075
110076
110077
110078
110079
110080
110081
110082
110083
110084
110085
110086
110087
110088
110089
110090
110091
110092
110093
110094
110095
110096
110097
110098
110099
110100
110101
110102
110103
110104
110105
110106
110107
110108
110109
110110
110111
110112
110113
110114
110115
110116
110117
110118
110119
110120
110121
110122
110123
110124
110125
110126
110127
110128
110129
110130
110131
110132
110133
110134
110135
110136
110137
110138
110139
110140
110141
110142
110143
110144
110145
110146
110147
110148
110149
110150
110151
110152
110153
110154
110155
110156
110157
110158
110159
110160
110161
110162
110163
110164
110165
110166
110167
110168
110169
110170
110171
110172
110173
110174
110175
110176
110177
110178
110179
110180
110181
110182
110183
110184
110185
110186
110187
110188
110189
110190
110191
110192
110193
110194
110195
110196
110197
110198
110199
110200
110201
110202
110203
110204
110205
110206
110207
110208
110209
110210
110211
110212
110213
110214
110215
110216
110217
110218
110219
110220
110221
110222
110223
110224
110225
110226
110227
110228
110229
110230
110231
110232
110233
110234
110235
110236
110237
110238
110239
110240
110241
110242
110243
110244
110245
110246
110247
110248
110249
110250
110251
110252
110253
110254
110255
110256
110257
110258
110259
110260
110261
110262
110263
110264
110265
110266
110267
110268
110269
110270
110271
110272
110273
110274
110275
110276
110277
110278
110279
110280
110281
110282
110283
110284
110285
110286
110287
110288
110289
110290
110291
110292
110293
110294
110295
110296
110297
110298
110299
110300
110301
110302
110303
110304
110305
110306
110307
110308
110309
110310
110311
110312
110313
110314
110315
110316
110317
110318
110319
110320
110321
110322
110323
110324
110325
110326
110327
110328
110329
110330
110331
110332
110333
110334
110335
110336
110337
110338
110339
110340
110341
110342
110343
110344
110345
110346
110347
110348
110349
110350
110351
110352
110353
110354
110355
110356
110357
110358
110359
110360
110361
110362
110363
110364
110365
110366
110367
110368
110369
110370
110371
110372
110373
110374
110375
110376
110377
110378
110379
110380
110381
110382
110383
110384
110385
110386
110387
110388
110389
110390
110391
110392
110393
110394
110395
110396
110397
110398
110399
110400
110401
110402
110403
110404
110405
110406
110407
110408
110409
110410
110411
110412
110413
110414
110415
110416
110417
110418
110419
110420
110421
110422
110423
110424
110425
110426
110427
110428
110429
110430
110431
110432
110433
110434
110435
110436
110437
110438
110439
110440
110441
110442
110443
110444
110445
110446
110447
110448
110449
110450
110451
110452
110453
110454
110455
110456
110457
110458
110459
110460
110461
110462
110463
110464
110465
110466
110467
110468
110469
110470
110471
110472
110473
110474
110475
110476
110477
110478
110479
110480
110481
110482
110483
110484
110485
110486
110487
110488
110489
110490
110491
110492
110493
110494
110495
110496
110497
110498
110499
110500
110501
110502
110503
110504
110505
110506
110507
110508
110509
110510
110511
110512
110513
110514
110515
110516
110517
110518
110519
110520
110521
110522
110523
110524
110525
110526
110527
110528
110529
110530
110531
110532
110533
110534
110535
110536
110537
110538
110539
110540
110541
110542
110543
110544
110545
110546
110547
110548
110549
110550
110551
110552
110553
110554
110555
110556
110557
110558
110559
110560
110561
110562
110563
110564
110565
110566
110567
110568
110569
110570
110571
110572
110573
110574
110575
110576
110577
110578
110579
110580
110581
110582
110583
110584
110585
110586
110587
110588
110589
110590
110591
110592
110593
110594
110595
110596
110597
110598
110599
110600
110601
110602
110603
110604
110605
110606
110607
110608
110609
110610
110611
110612
110613
110614
110615
110616
110617
110618
110619
110620
110621
110622
110623
110624
110625
110626
110627
110628
110629
110630
110631
110632
110633
110634
110635
110636
110637
110638
110639
110640
110641
110642
110643
110644
110645
110646
110647
110648
110649
110650
110651
110652
110653
110654
110655
110656
110657
110658
110659
110660
110661
110662
110663
110664
110665
110666
110667
110668
110669
110670
110671
110672
110673
110674
110675
110676
110677
110678
110679
110680
110681
110682
110683
110684
110685
110686
110687
110688
110689
110690
110691
110692
110693
110694
110695
110696
110697
110698
110699
110700
110701
110702
110703
110704
110705
110706
110707
110708
110709
110710
110711
110712
110713
110714
110715
110716
110717
110718
110719
110720
110721
110722
110723
110724
110725
110726
110727
110728
110729
110730
110731
110732
110733
110734
110735
110736
110737
110738
110739
110740
110741
110742
110743
110744
110745
110746
110747
110748
110749
110750
110751
110752
110753
110754
110755
110756
110757
110758
110759
110760
110761
110762
110763
110764
110765
110766
110767
110768
110769
110770
110771
110772
110773
110774
110775
110776
110777
110778
110779
110780
110781
110782
110783
110784
110785
110786
110787
110788
110789
110790
110791
110792
110793
110794
110795
110796
110797
110798
110799
110800
110801
110802
110803
110804
110805
110806
110807
110808
110809
110810
110811
110812
110813
110814
110815
110816
110817
110818
110819
110820
110821
110822
110823
110824
110825
110826
110827
110828
110829
110830
110831
110832
110833
110834
110835
110836
110837
110838
110839
110840
110841
110842
110843
110844
110845
110846
110847
110848
110849
110850
110851
110852
110853
110854
110855
110856
110857
110858
110859
110860
110861
110862
110863
110864
110865
110866
110867
110868
110869
110870
110871
110872
110873
110874
110875
110876
110877
110878
110879
110880
110881
110882
110883
110884
110885
110886
110887
110888
110889
110890
110891
110892
110893
110894
110895
110896
110897
110898
110899
110900
110901
110902
110903
110904
110905
110906
110907
110908
110909
110910
110911
110912
110913
110914
110915
110916
110917
110918
110919
110920
110921
110922
110923
110924
110925
110926
110927
110928
110929
110930
110931
110932
110933
110934
110935
110936
110937
110938
110939
110940
110941
110942
110943
110944
110945
110946
110947
110948
110949
110950
110951
110952
110953
110954
110955
110956
110957
110958
110959
110960
110961
110962
110963
110964
110965
110966
110967
110968
110969
110970
110971
110972
110973
110974
110975
110976
110977
110978
110979
110980
110981
110982
110983
110984
110985
110986
110987
110988
110989
110990
110991
110992
110993
110994
110995
110996
110997
110998
110999
111000
111001
111002
111003
111004
111005
111006
111007
111008
111009
111010
111011
111012
111013
111014
111015
111016
111017
111018
111019
111020
111021
111022
111023
111024
111025
111026
111027
111028
111029
111030
111031
111032
111033
111034
111035
111036
111037
111038
111039
111040
111041
111042
111043
111044
111045
111046
111047
111048
111049
111050
111051
111052
111053
111054
111055
111056
111057
111058
111059
111060
111061
111062
111063
111064
111065
111066
111067
111068
111069
111070
111071
111072
111073
111074
111075
111076
111077
111078
111079
111080
111081
111082
111083
111084
111085
111086
111087
111088
111089
111090
111091
111092
111093
111094
111095
111096
111097
111098
111099
111100
111101
111102
111103
111104
111105
111106
111107
111108
111109
111110
111111
111112
111113
111114
111115
111116
111117
111118
111119
111120
111121
111122
111123
111124
111125
111126
111127
111128
111129
111130
111131
111132
111133
111134
111135
111136
111137
111138
111139
111140
111141
111142
111143
111144
111145
111146
111147
111148
111149
111150
111151
111152
111153
111154
111155
111156
111157
111158
111159
111160
111161
111162
111163
111164
111165
111166
111167
111168
111169
111170
111171
111172
111173
111174
111175
111176
111177
111178
111179
111180
111181
111182
111183
111184
111185
111186
111187
111188
111189
111190
111191
111192
111193
111194
111195
111196
111197
111198
111199
111200
111201
111202
111203
111204
111205
111206
111207
111208
111209
111210
111211
111212
111213
111214
111215
111216
111217
111218
111219
111220
111221
111222
111223
111224
111225
111226
111227
111228
111229
111230
111231
111232
111233
111234
111235
111236
111237
111238
111239
111240
111241
111242
111243
111244
111245
111246
111247
111248
111249
111250
111251
111252
111253
111254
111255
111256
111257
111258
111259
111260
111261
111262
111263
111264
111265
111266
111267
111268
111269
111270
111271
111272
111273
111274
111275
111276
111277
111278
111279
111280
111281
111282
111283
111284
111285
111286
111287
111288
111289
111290
111291
111292
111293
111294
111295
111296
111297
111298
111299
111300
111301
111302
111303
111304
111305
111306
111307
111308
111309
111310
111311
111312
111313
111314
111315
111316
111317
111318
111319
111320
111321
111322
111323
111324
111325
111326
111327
111328
111329
111330
111331
111332
111333
111334
111335
111336
111337
111338
111339
111340
111341
111342
111343
111344
111345
111346
111347
111348
111349
111350
111351
111352
111353
111354
111355
111356
111357
111358
111359
111360
111361
111362
111363
111364
111365
111366
111367
111368
111369
111370
111371
111372
111373
111374
111375
111376
111377
111378
111379
111380
111381
111382
111383
111384
111385
111386
111387
111388
111389
111390
111391
111392
111393
111394
111395
111396
111397
111398
111399
111400
111401
111402
111403
111404
111405
111406
111407
111408
111409
111410
111411
111412
111413
111414
111415
111416
111417
111418
111419
111420
111421
111422
111423
111424
111425
111426
111427
111428
111429
111430
111431
111432
111433
111434
111435
111436
111437
111438
111439
111440
111441
111442
111443
111444
111445
111446
111447
111448
111449
111450
111451
111452
111453
111454
111455
111456
111457
111458
111459
111460
111461
111462
111463
111464
111465
111466
111467
111468
111469
111470
111471
111472
111473
111474
111475
111476
111477
111478
111479
111480
111481
111482
111483
111484
111485
111486
111487
111488
111489
111490
111491
111492
111493
111494
111495
111496
111497
111498
111499
111500
111501
111502
111503
111504
111505
111506
111507
111508
111509
111510
111511
111512
111513
111514
111515
111516
111517
111518
111519
111520
111521
111522
111523
111524
111525
111526
111527
111528
111529
111530
111531
111532
111533
111534
111535
111536
111537
111538
111539
111540
111541
111542
111543
111544
111545
111546
111547
111548
111549
111550
111551
111552
111553
111554
111555
111556
111557
111558
111559
111560
111561
111562
111563
111564
111565
111566
111567
111568
111569
111570
111571
111572
111573
111574
111575
111576
111577
111578
111579
111580
111581
111582
111583
111584
111585
111586
111587
111588
111589
111590
111591
111592
111593
111594
111595
111596
111597
111598
111599
111600
111601
111602
111603
111604
111605
111606
111607
111608
111609
111610
111611
111612
111613
111614
111615
111616
111617
111618
111619
111620
111621
111622
111623
111624
111625
111626
111627
111628
111629
111630
111631
111632
111633
111634
111635
111636
111637
111638
111639
111640
111641
111642
111643
111644
111645
111646
111647
111648
111649
111650
111651
111652
111653
111654
111655
111656
111657
111658
111659
111660
111661
111662
111663
111664
111665
111666
111667
111668
111669
111670
111671
111672
111673
111674
111675
111676
111677
111678
111679
111680
111681
111682
111683
111684
111685
111686
111687
111688
111689
111690
111691
111692
111693
111694
111695
111696
111697
111698
111699
111700
111701
111702
111703
111704
111705
111706
111707
111708
111709
111710
111711
111712
111713
111714
111715
111716
111717
111718
111719
111720
111721
111722
111723
111724
111725
111726
111727
111728
111729
111730
111731
111732
111733
111734
111735
111736
111737
111738
111739
111740
111741
111742
111743
111744
111745
111746
111747
111748
111749
111750
111751
111752
111753
111754
111755
111756
111757
111758
111759
111760
111761
111762
111763
111764
111765
111766
111767
111768
111769
111770
111771
111772
111773
111774
111775
111776
111777
111778
111779
111780
111781
111782
111783
111784
111785
111786
111787
111788
111789
111790
111791
111792
111793
111794
111795
111796
111797
111798
111799
111800
111801
111802
111803
111804
111805
111806
111807
111808
111809
111810
111811
111812
111813
111814
111815
111816
111817
111818
111819
111820
111821
111822
111823
111824
111825
111826
111827
111828
111829
111830
111831
111832
111833
111834
111835
111836
111837
111838
111839
111840
111841
111842
111843
111844
111845
111846
111847
111848
111849
111850
111851
111852
111853
111854
111855
111856
111857
111858
111859
111860
111861
111862
111863
111864
111865
111866
111867
111868
111869
111870
111871
111872
111873
111874
111875
111876
111877
111878
111879
111880
111881
111882
111883
111884
111885
111886
111887
111888
111889
111890
111891
111892
111893
111894
111895
111896
111897
111898
111899
111900
111901
111902
111903
111904
111905
111906
111907
111908
111909
111910
111911
111912
111913
111914
111915
111916
111917
111918
111919
111920
111921
111922
111923
111924
111925
111926
111927
111928
111929
111930
111931
111932
111933
111934
111935
111936
111937
111938
111939
111940
111941
111942
111943
111944
111945
111946
111947
111948
111949
111950
111951
111952
111953
111954
111955
111956
111957
111958
111959
111960
111961
111962
111963
111964
111965
111966
111967
111968
111969
111970
111971
111972
111973
111974
111975
111976
111977
111978
111979
111980
111981
111982
111983
111984
111985
111986
111987
111988
111989
111990
111991
111992
111993
111994
111995
111996
111997
111998
111999
112000
112001
112002
112003
112004
112005
112006
112007
112008
112009
112010
112011
112012
112013
112014
112015
112016
112017
112018
112019
112020
112021
112022
112023
112024
112025
112026
112027
112028
112029
112030
112031
112032
112033
112034
112035
112036
112037
112038
112039
112040
112041
112042
112043
112044
112045
112046
112047
112048
112049
112050
112051
112052
112053
112054
112055
112056
112057
112058
112059
112060
112061
112062
112063
112064
112065
112066
112067
112068
112069
112070
112071
112072
112073
112074
112075
112076
112077
112078
112079
112080
112081
112082
112083
112084
112085
112086
112087
112088
112089
112090
112091
112092
112093
112094
112095
112096
112097
112098
112099
112100
112101
112102
112103
112104
112105
112106
112107
112108
112109
112110
112111
112112
112113
112114
112115
112116
112117
112118
112119
112120
112121
112122
112123
112124
112125
112126
112127
112128
112129
112130
112131
112132
112133
112134
112135
112136
112137
112138
112139
112140
112141
112142
112143
112144
112145
112146
112147
112148
112149
112150
112151
112152
112153
112154
112155
112156
112157
112158
112159
112160
112161
112162
112163
112164
112165
112166
112167
112168
112169
112170
112171
112172
112173
112174
112175
112176
112177
112178
112179
112180
112181
112182
112183
112184
112185
112186
112187
112188
112189
112190
112191
112192
112193
112194
112195
112196
112197
112198
112199
112200
112201
112202
112203
112204
112205
112206
112207
112208
112209
112210
112211
112212
112213
112214
112215
112216
112217
112218
112219
112220
112221
112222
112223
112224
112225
112226
112227
112228
112229
112230
112231
112232
112233
112234
112235
112236
112237
112238
112239
112240
112241
112242
112243
112244
112245
112246
112247
112248
112249
112250
112251
112252
112253
112254
112255
112256
112257
112258
112259
112260
112261
112262
112263
112264
112265
112266
112267
112268
112269
112270
112271
112272
112273
112274
112275
112276
112277
112278
112279
112280
112281
112282
112283
112284
112285
112286
112287
112288
112289
112290
112291
112292
112293
112294
112295
112296
112297
112298
112299
112300
112301
112302
112303
112304
112305
112306
112307
112308
112309
112310
112311
112312
112313
112314
112315
112316
112317
112318
112319
112320
112321
112322
112323
112324
112325
112326
112327
112328
112329
112330
112331
112332
112333
112334
112335
112336
112337
112338
112339
112340
112341
112342
112343
112344
112345
112346
112347
112348
112349
112350
112351
112352
112353
112354
112355
112356
112357
112358
112359
112360
112361
112362
112363
112364
112365
112366
112367
112368
112369
112370
112371
112372
112373
112374
112375
112376
112377
112378
112379
112380
112381
112382
112383
112384
112385
112386
112387
112388
112389
112390
112391
112392
112393
112394
112395
112396
112397
112398
112399
112400
112401
112402
112403
112404
112405
112406
112407
112408
112409
112410
112411
112412
112413
112414
112415
112416
112417
112418
112419
112420
112421
112422
112423
112424
112425
112426
112427
112428
112429
112430
112431
112432
112433
112434
112435
112436
112437
112438
112439
112440
112441
112442
112443
112444
112445
112446
112447
112448
112449
112450
112451
112452
112453
112454
112455
112456
112457
112458
112459
112460
112461
112462
112463
112464
112465
112466
112467
112468
112469
112470
112471
112472
112473
112474
112475
112476
112477
112478
112479
112480
112481
112482
112483
112484
112485
112486
112487
112488
112489
112490
112491
112492
112493
112494
112495
112496
112497
112498
112499
112500
112501
112502
112503
112504
112505
112506
112507
112508
112509
112510
112511
112512
112513
112514
112515
112516
112517
112518
112519
112520
112521
112522
112523
112524
112525
112526
112527
112528
112529
112530
112531
112532
112533
112534
112535
112536
112537
112538
112539
112540
112541
112542
112543
112544
112545
112546
112547
112548
112549
112550
112551
112552
112553
112554
112555
112556
112557
112558
112559
112560
112561
112562
112563
112564
112565
112566
112567
112568
112569
112570
112571
112572
112573
112574
112575
112576
112577
112578
112579
112580
112581
112582
112583
112584
112585
112586
112587
112588
112589
112590
112591
112592
112593
112594
112595
112596
112597
112598
112599
112600
112601
112602
112603
112604
112605
112606
112607
112608
112609
112610
112611
112612
112613
112614
112615
112616
112617
112618
112619
112620
112621
112622
112623
112624
112625
112626
112627
112628
112629
112630
112631
112632
112633
112634
112635
112636
112637
112638
112639
112640
112641
112642
112643
112644
112645
112646
112647
112648
112649
112650
112651
112652
112653
112654
112655
112656
112657
112658
112659
112660
112661
112662
112663
112664
112665
112666
112667
112668
112669
112670
112671
112672
112673
112674
112675
112676
112677
112678
112679
112680
112681
112682
112683
112684
112685
112686
112687
112688
112689
112690
112691
112692
112693
112694
112695
112696
112697
112698
112699
112700
112701
112702
112703
112704
112705
112706
112707
112708
112709
112710
112711
112712
112713
112714
112715
112716
112717
112718
112719
112720
112721
112722
112723
112724
112725
112726
112727
112728
112729
112730
112731
112732
112733
112734
112735
112736
112737
112738
112739
112740
112741
112742
112743
112744
112745
112746
112747
112748
112749
112750
112751
112752
112753
112754
112755
112756
112757
112758
112759
112760
112761
112762
112763
112764
112765
112766
112767
112768
112769
112770
112771
112772
112773
112774
112775
112776
112777
112778
112779
112780
112781
112782
112783
112784
112785
112786
112787
112788
112789
112790
112791
112792
112793
112794
112795
112796
112797
112798
112799
112800
112801
112802
112803
112804
112805
112806
112807
112808
112809
112810
112811
112812
112813
112814
112815
112816
112817
112818
112819
112820
112821
112822
112823
112824
112825
112826
112827
112828
112829
112830
112831
112832
112833
112834
112835
112836
112837
112838
112839
112840
112841
112842
112843
112844
112845
112846
112847
112848
112849
112850
112851
112852
112853
112854
112855
112856
112857
112858
112859
112860
112861
112862
112863
112864
112865
112866
112867
112868
112869
112870
112871
112872
112873
112874
112875
112876
112877
112878
112879
112880
112881
112882
112883
112884
112885
112886
112887
112888
112889
112890
112891
112892
112893
112894
112895
112896
112897
112898
112899
112900
112901
112902
112903
112904
112905
112906
112907
112908
112909
112910
112911
112912
112913
112914
112915
112916
112917
112918
112919
112920
112921
112922
112923
112924
112925
112926
112927
112928
112929
112930
112931
112932
112933
112934
112935
112936
112937
112938
112939
112940
112941
112942
112943
112944
112945
112946
112947
112948
112949
112950
112951
112952
112953
112954
112955
112956
112957
112958
112959
112960
112961
112962
112963
112964
112965
112966
112967
112968
112969
112970
112971
112972
112973
112974
112975
112976
112977
112978
112979
112980
112981
112982
112983
112984
112985
112986
112987
112988
112989
112990
112991
112992
112993
112994
112995
112996
112997
112998
112999
113000
113001
113002
113003
113004
113005
113006
113007
113008
113009
113010
113011
113012
113013
113014
113015
113016
113017
113018
113019
113020
113021
113022
113023
113024
113025
113026
113027
113028
113029
113030
113031
113032
113033
113034
113035
113036
113037
113038
113039
113040
113041
113042
113043
113044
113045
113046
113047
113048
113049
113050
113051
113052
113053
113054
113055
113056
113057
113058
113059
113060
113061
113062
113063
113064
113065
113066
113067
113068
113069
113070
113071
113072
113073
113074
113075
113076
113077
113078
113079
113080
113081
113082
113083
113084
113085
113086
113087
113088
113089
113090
113091
113092
113093
113094
113095
113096
113097
113098
113099
113100
113101
113102
113103
113104
113105
113106
113107
113108
113109
113110
113111
113112
113113
113114
113115
113116
113117
113118
113119
113120
113121
113122
113123
113124
113125
113126
113127
113128
113129
113130
113131
113132
113133
113134
113135
113136
113137
113138
113139
113140
113141
113142
113143
113144
113145
113146
113147
113148
113149
113150
113151
113152
113153
113154
113155
113156
113157
113158
113159
113160
113161
113162
113163
113164
113165
113166
113167
113168
113169
113170
113171
113172
113173
113174
113175
113176
113177
113178
113179
113180
113181
113182
113183
113184
113185
113186
113187
113188
113189
113190
113191
113192
113193
113194
113195
113196
113197
113198
113199
113200
113201
113202
113203
113204
113205
113206
113207
113208
113209
113210
113211
113212
113213
113214
113215
113216
113217
113218
113219
113220
113221
113222
113223
113224
113225
113226
113227
113228
113229
113230
113231
113232
113233
113234
113235
113236
113237
113238
113239
113240
113241
113242
113243
113244
113245
113246
113247
113248
113249
113250
113251
113252
113253
113254
113255
113256
113257
113258
113259
113260
113261
113262
113263
113264
113265
113266
113267
113268
113269
113270
113271
113272
113273
113274
113275
113276
113277
113278
113279
113280
113281
113282
113283
113284
113285
113286
113287
113288
113289
113290
113291
113292
113293
113294
113295
113296
113297
113298
113299
113300
113301
113302
113303
113304
113305
113306
113307
113308
113309
113310
113311
113312
113313
113314
113315
113316
113317
113318
113319
113320
113321
113322
113323
113324
113325
113326
113327
113328
113329
113330
113331
113332
113333
113334
113335
113336
113337
113338
113339
113340
113341
113342
113343
113344
113345
113346
113347
113348
113349
113350
113351
113352
113353
113354
113355
113356
113357
113358
113359
113360
113361
113362
113363
113364
113365
113366
113367
113368
113369
113370
113371
113372
113373
113374
113375
113376
113377
113378
113379
113380
113381
113382
113383
113384
113385
113386
113387
113388
113389
113390
113391
113392
113393
113394
113395
113396
113397
113398
113399
113400
113401
113402
113403
113404
113405
113406
113407
113408
113409
113410
113411
113412
113413
113414
113415
113416
113417
113418
113419
113420
113421
113422
113423
113424
113425
113426
113427
113428
113429
113430
113431
113432
113433
113434
113435
113436
113437
113438
113439
113440
113441
113442
113443
113444
113445
113446
113447
113448
113449
113450
113451
113452
113453
113454
113455
113456
113457
113458
113459
113460
113461
113462
113463
113464
113465
113466
113467
113468
113469
113470
113471
113472
113473
113474
113475
113476
113477
113478
113479
113480
113481
113482
113483
113484
113485
113486
113487
113488
113489
113490
113491
113492
113493
113494
113495
113496
113497
113498
113499
113500
113501
113502
113503
113504
113505
113506
113507
113508
113509
113510
113511
113512
113513
113514
113515
113516
113517
113518
113519
113520
113521
113522
113523
113524
113525
113526
113527
113528
113529
113530
113531
113532
113533
113534
113535
113536
113537
113538
113539
113540
113541
113542
113543
113544
113545
113546
113547
113548
113549
113550
113551
113552
113553
113554
113555
113556
113557
113558
113559
113560
113561
113562
113563
113564
113565
113566
113567
113568
113569
113570
113571
113572
113573
113574
113575
113576
113577
113578
113579
113580
113581
113582
113583
113584
113585
113586
113587
113588
113589
113590
113591
113592
113593
113594
113595
113596
113597
113598
113599
113600
113601
113602
113603
113604
113605
113606
113607
113608
113609
113610
113611
113612
113613
113614
113615
113616
113617
113618
113619
113620
113621
113622
113623
113624
113625
113626
113627
113628
113629
113630
113631
113632
113633
113634
113635
113636
113637
113638
113639
113640
113641
113642
113643
113644
113645
113646
113647
113648
113649
113650
113651
113652
113653
113654
113655
113656
113657
113658
113659
113660
113661
113662
113663
113664
113665
113666
113667
113668
113669
113670
113671
113672
113673
113674
113675
113676
113677
113678
113679
113680
113681
113682
113683
113684
113685
113686
113687
113688
113689
113690
113691
113692
113693
113694
113695
113696
113697
113698
113699
113700
113701
113702
113703
113704
113705
113706
113707
113708
113709
113710
113711
113712
113713
113714
113715
113716
113717
113718
113719
113720
113721
113722
113723
113724
113725
113726
113727
113728
113729
113730
113731
113732
113733
113734
113735
113736
113737
113738
113739
113740
113741
113742
113743
113744
113745
113746
113747
113748
113749
113750
113751
113752
113753
113754
113755
113756
113757
113758
113759
113760
113761
113762
113763
113764
113765
113766
113767
113768
113769
113770
113771
113772
113773
113774
113775
113776
113777
113778
113779
113780
113781
113782
113783
113784
113785
113786
113787
113788
113789
113790
113791
113792
113793
113794
113795
113796
113797
113798
113799
113800
113801
113802
113803
113804
113805
113806
113807
113808
113809
113810
113811
113812
113813
113814
113815
113816
113817
113818
113819
113820
113821
113822
113823
113824
113825
113826
113827
113828
113829
113830
113831
113832
113833
113834
113835
113836
113837
113838
113839
113840
113841
113842
113843
113844
113845
113846
113847
113848
113849
113850
113851
113852
113853
113854
113855
113856
113857
113858
113859
113860
113861
113862
113863
113864
113865
113866
113867
113868
113869
113870
113871
113872
113873
113874
113875
113876
113877
113878
113879
113880
113881
113882
113883
113884
113885
113886
113887
113888
113889
113890
113891
113892
113893
113894
113895
113896
113897
113898
113899
113900
113901
113902
113903
113904
113905
113906
113907
113908
113909
113910
113911
113912
113913
113914
113915
113916
113917
113918
113919
113920
113921
113922
113923
113924
113925
113926
113927
113928
113929
113930
113931
113932
113933
113934
113935
113936
113937
113938
113939
113940
113941
113942
113943
113944
113945
113946
113947
113948
113949
113950
113951
113952
113953
113954
113955
113956
113957
113958
113959
113960
113961
113962
113963
113964
113965
113966
113967
113968
113969
113970
113971
113972
113973
113974
113975
113976
113977
113978
113979
113980
113981
113982
113983
113984
113985
113986
113987
113988
113989
113990
113991
113992
113993
113994
113995
113996
113997
113998
113999
114000
114001
114002
114003
114004
114005
114006
114007
114008
114009
114010
114011
114012
114013
114014
114015
114016
114017
114018
114019
114020
114021
114022
114023
114024
114025
114026
114027
114028
114029
114030
114031
114032
114033
114034
114035
114036
114037
114038
114039
114040
114041
114042
114043
114044
114045
114046
114047
114048
114049
114050
114051
114052
114053
114054
114055
114056
114057
114058
114059
114060
114061
114062
114063
114064
114065
114066
114067
114068
114069
114070
114071
114072
114073
114074
114075
114076
114077
114078
114079
114080
114081
114082
114083
114084
114085
114086
114087
114088
114089
114090
114091
114092
114093
114094
114095
114096
114097
114098
114099
114100
114101
114102
114103
114104
114105
114106
114107
114108
114109
114110
114111
114112
114113
114114
114115
114116
114117
114118
114119
114120
114121
114122
114123
114124
114125
114126
114127
114128
114129
114130
114131
114132
114133
114134
114135
114136
114137
114138
114139
114140
114141
114142
114143
114144
114145
114146
114147
114148
114149
114150
114151
114152
114153
114154
114155
114156
114157
114158
114159
114160
114161
114162
114163
114164
114165
114166
114167
114168
114169
114170
114171
114172
114173
114174
114175
114176
114177
114178
114179
114180
114181
114182
114183
114184
114185
114186
114187
114188
114189
114190
114191
114192
114193
114194
114195
114196
114197
114198
114199
114200
114201
114202
114203
114204
114205
114206
114207
114208
114209
114210
114211
114212
114213
114214
114215
114216
114217
114218
114219
114220
114221
114222
114223
114224
114225
114226
114227
114228
114229
114230
114231
114232
114233
114234
114235
114236
114237
114238
114239
114240
114241
114242
114243
114244
114245
114246
114247
114248
114249
114250
114251
114252
114253
114254
114255
114256
114257
114258
114259
114260
114261
114262
114263
114264
114265
114266
114267
114268
114269
114270
114271
114272
114273
114274
114275
114276
114277
114278
114279
114280
114281
114282
114283
114284
114285
114286
114287
114288
114289
114290
114291
114292
114293
114294
114295
114296
114297
114298
114299
114300
114301
114302
114303
114304
114305
114306
114307
114308
114309
114310
114311
114312
114313
114314
114315
114316
114317
114318
114319
114320
114321
114322
114323
114324
114325
114326
114327
114328
114329
114330
114331
114332
114333
114334
114335
114336
114337
114338
114339
114340
114341
114342
114343
114344
114345
114346
114347
114348
114349
114350
114351
114352
114353
114354
114355
114356
114357
114358
114359
114360
114361
114362
114363
114364
114365
114366
114367
114368
114369
114370
114371
114372
114373
114374
114375
114376
114377
114378
114379
114380
114381
114382
114383
114384
114385
114386
114387
114388
114389
114390
114391
114392
114393
114394
114395
114396
114397
114398
114399
114400
114401
114402
114403
114404
114405
114406
114407
114408
114409
114410
114411
114412
114413
114414
114415
114416
114417
114418
114419
114420
114421
114422
114423
114424
114425
114426
114427
114428
114429
114430
114431
114432
114433
114434
114435
114436
114437
114438
114439
114440
114441
114442
114443
114444
114445
114446
114447
114448
114449
114450
114451
114452
114453
114454
114455
114456
114457
114458
114459
114460
114461
114462
114463
114464
114465
114466
114467
114468
114469
114470
114471
114472
114473
114474
114475
114476
114477
114478
114479
114480
114481
114482
114483
114484
114485
114486
114487
114488
114489
114490
114491
114492
114493
114494
114495
114496
114497
114498
114499
114500
114501
114502
114503
114504
114505
114506
114507
114508
114509
114510
114511
114512
114513
114514
114515
114516
114517
114518
114519
114520
114521
114522
114523
114524
114525
114526
114527
114528
114529
114530
114531
114532
114533
114534
114535
114536
114537
114538
114539
114540
114541
114542
114543
114544
114545
114546
114547
114548
114549
114550
114551
114552
114553
114554
114555
114556
114557
114558
114559
114560
114561
114562
114563
114564
114565
114566
114567
114568
114569
114570
114571
114572
114573
114574
114575
114576
114577
114578
114579
114580
114581
114582
114583
114584
114585
114586
114587
114588
114589
114590
114591
114592
114593
114594
114595
114596
114597
114598
114599
114600
114601
114602
114603
114604
114605
114606
114607
114608
114609
114610
114611
114612
114613
114614
114615
114616
114617
114618
114619
114620
114621
114622
114623
114624
114625
114626
114627
114628
114629
114630
114631
114632
114633
114634
114635
114636
114637
114638
114639
114640
114641
114642
114643
114644
114645
114646
114647
114648
114649
114650
114651
114652
114653
114654
114655
114656
114657
114658
114659
114660
114661
114662
114663
114664
114665
114666
114667
114668
114669
114670
114671
114672
114673
114674
114675
114676
114677
114678
114679
114680
114681
114682
114683
114684
114685
114686
114687
114688
114689
114690
114691
114692
114693
114694
114695
114696
114697
114698
114699
114700
114701
114702
114703
114704
114705
114706
114707
114708
114709
114710
114711
114712
114713
114714
114715
114716
114717
114718
114719
114720
114721
114722
114723
114724
114725
114726
114727
114728
114729
114730
114731
114732
114733
114734
114735
114736
114737
114738
114739
114740
114741
114742
114743
114744
114745
114746
114747
114748
114749
114750
114751
114752
114753
114754
114755
114756
114757
114758
114759
114760
114761
114762
114763
114764
114765
114766
114767
114768
114769
114770
114771
114772
114773
114774
114775
114776
114777
114778
114779
114780
114781
114782
114783
114784
114785
114786
114787
114788
114789
114790
114791
114792
114793
114794
114795
114796
114797
114798
114799
114800
114801
114802
114803
114804
114805
114806
114807
114808
114809
114810
114811
114812
114813
114814
114815
114816
114817
114818
114819
114820
114821
114822
114823
114824
114825
114826
114827
114828
114829
114830
114831
114832
114833
114834
114835
114836
114837
114838
114839
114840
114841
114842
114843
114844
114845
114846
114847
114848
114849
114850
114851
114852
114853
114854
114855
114856
114857
114858
114859
114860
114861
114862
114863
114864
114865
114866
114867
114868
114869
114870
114871
114872
114873
114874
114875
114876
114877
114878
114879
114880
114881
114882
114883
114884
114885
114886
114887
114888
114889
114890
114891
114892
114893
114894
114895
114896
114897
114898
114899
114900
114901
114902
114903
114904
114905
114906
114907
114908
114909
114910
114911
114912
114913
114914
114915
114916
114917
114918
114919
114920
114921
114922
114923
114924
114925
114926
114927
114928
114929
114930
114931
114932
114933
114934
114935
114936
114937
114938
114939
114940
114941
114942
114943
114944
114945
114946
114947
114948
114949
114950
114951
114952
114953
114954
114955
114956
114957
114958
114959
114960
114961
114962
114963
114964
114965
114966
114967
114968
114969
114970
114971
114972
114973
114974
114975
114976
114977
114978
114979
114980
114981
114982
114983
114984
114985
114986
114987
114988
114989
114990
114991
114992
114993
114994
114995
114996
114997
114998
114999
115000
115001
115002
115003
115004
115005
115006
115007
115008
115009
115010
115011
115012
115013
115014
115015
115016
115017
115018
115019
115020
115021
115022
115023
115024
115025
115026
115027
115028
115029
115030
115031
115032
115033
115034
115035
115036
115037
115038
115039
115040
115041
115042
115043
115044
115045
115046
115047
115048
115049
115050
115051
115052
115053
115054
115055
115056
115057
115058
115059
115060
115061
115062
115063
115064
115065
115066
115067
115068
115069
115070
115071
115072
115073
115074
115075
115076
115077
115078
115079
115080
115081
115082
115083
115084
115085
115086
115087
115088
115089
115090
115091
115092
115093
115094
115095
115096
115097
115098
115099
115100
115101
115102
115103
115104
115105
115106
115107
115108
115109
115110
115111
115112
115113
115114
115115
115116
115117
115118
115119
115120
115121
115122
115123
115124
115125
115126
115127
115128
115129
115130
115131
115132
115133
115134
115135
115136
115137
115138
115139
115140
115141
115142
115143
115144
115145
115146
115147
115148
115149
115150
115151
115152
115153
115154
115155
115156
115157
115158
115159
115160
115161
115162
115163
115164
115165
115166
115167
115168
115169
115170
115171
115172
115173
115174
115175
115176
115177
115178
115179
115180
115181
115182
115183
115184
115185
115186
115187
115188
115189
115190
115191
115192
115193
115194
115195
115196
115197
115198
115199
115200
115201
115202
115203
115204
115205
115206
115207
115208
115209
115210
115211
115212
115213
115214
115215
115216
115217
115218
115219
115220
115221
115222
115223
115224
115225
115226
115227
115228
115229
115230
115231
115232
115233
115234
115235
115236
115237
115238
115239
115240
115241
115242
115243
115244
115245
115246
115247
115248
115249
115250
115251
115252
115253
115254
115255
115256
115257
115258
115259
115260
115261
115262
115263
115264
115265
115266
115267
115268
115269
115270
115271
115272
115273
115274
115275
115276
115277
115278
115279
115280
115281
115282
115283
115284
115285
115286
115287
115288
115289
115290
115291
115292
115293
115294
115295
115296
115297
115298
115299
115300
115301
115302
115303
115304
115305
115306
115307
115308
115309
115310
115311
115312
115313
115314
115315
115316
115317
115318
115319
115320
115321
115322
115323
115324
115325
115326
115327
115328
115329
115330
115331
115332
115333
115334
115335
115336
115337
115338
115339
115340
115341
115342
115343
115344
115345
115346
115347
115348
115349
115350
115351
115352
115353
115354
115355
115356
115357
115358
115359
115360
115361
115362
115363
115364
115365
115366
115367
115368
115369
115370
115371
115372
115373
115374
115375
115376
115377
115378
115379
115380
115381
115382
115383
115384
115385
115386
115387
115388
115389
115390
115391
115392
115393
115394
115395
115396
115397
115398
115399
115400
115401
115402
115403
115404
115405
115406
115407
115408
115409
115410
115411
115412
115413
115414
115415
115416
115417
115418
115419
115420
115421
115422
115423
115424
115425
115426
115427
115428
115429
115430
115431
115432
115433
115434
115435
115436
115437
115438
115439
115440
115441
115442
115443
115444
115445
115446
115447
115448
115449
115450
115451
115452
115453
115454
115455
115456
115457
115458
115459
115460
115461
115462
115463
115464
115465
115466
115467
115468
115469
115470
115471
115472
115473
115474
115475
115476
115477
115478
115479
115480
115481
115482
115483
115484
115485
115486
115487
115488
115489
115490
115491
115492
115493
115494
115495
115496
115497
115498
115499
115500
115501
115502
115503
115504
115505
115506
115507
115508
115509
115510
115511
115512
115513
115514
115515
115516
115517
115518
115519
115520
115521
115522
115523
115524
115525
115526
115527
115528
115529
115530
115531
115532
115533
115534
115535
115536
115537
115538
115539
115540
115541
115542
115543
115544
115545
115546
115547
115548
115549
115550
115551
115552
115553
115554
115555
115556
115557
115558
115559
115560
115561
115562
115563
115564
115565
115566
115567
115568
115569
115570
115571
115572
115573
115574
115575
115576
115577
115578
115579
115580
115581
115582
115583
115584
115585
115586
115587
115588
115589
115590
115591
115592
115593
115594
115595
115596
115597
115598
115599
115600
115601
115602
115603
115604
115605
115606
115607
115608
115609
115610
115611
115612
115613
115614
115615
115616
115617
115618
115619
115620
115621
115622
115623
115624
115625
115626
115627
115628
115629
115630
115631
115632
115633
115634
115635
115636
115637
115638
115639
115640
115641
115642
115643
115644
115645
115646
115647
115648
115649
115650
115651
115652
115653
115654
115655
115656
115657
115658
115659
115660
115661
115662
115663
115664
115665
115666
115667
115668
115669
115670
115671
115672
115673
115674
115675
115676
115677
115678
115679
115680
115681
115682
115683
115684
115685
115686
115687
115688
115689
115690
115691
115692
115693
115694
115695
115696
115697
115698
115699
115700
115701
115702
115703
115704
115705
115706
115707
115708
115709
115710
115711
115712
115713
115714
115715
115716
115717
115718
115719
115720
115721
115722
115723
115724
115725
115726
115727
115728
115729
115730
115731
115732
115733
115734
115735
115736
115737
115738
115739
115740
115741
115742
115743
115744
115745
115746
115747
115748
115749
115750
115751
115752
115753
115754
115755
115756
115757
115758
115759
115760
115761
115762
115763
115764
115765
115766
115767
115768
115769
115770
115771
115772
115773
115774
115775
115776
115777
115778
115779
115780
115781
115782
115783
115784
115785
115786
115787
115788
115789
115790
115791
115792
115793
115794
115795
115796
115797
115798
115799
115800
115801
115802
115803
115804
115805
115806
115807
115808
115809
115810
115811
115812
115813
115814
115815
115816
115817
115818
115819
115820
115821
115822
115823
115824
115825
115826
115827
115828
115829
115830
115831
115832
115833
115834
115835
115836
115837
115838
115839
115840
115841
115842
115843
115844
115845
115846
115847
115848
115849
115850
115851
115852
115853
115854
115855
115856
115857
115858
115859
115860
115861
115862
115863
115864
115865
115866
115867
115868
115869
115870
115871
115872
115873
115874
115875
115876
115877
115878
115879
115880
115881
115882
115883
115884
115885
115886
115887
115888
115889
115890
115891
115892
115893
115894
115895
115896
115897
115898
115899
115900
115901
115902
115903
115904
115905
115906
115907
115908
115909
115910
115911
115912
115913
115914
115915
115916
115917
115918
115919
115920
115921
115922
115923
115924
115925
115926
115927
115928
115929
115930
115931
115932
115933
115934
115935
115936
115937
115938
115939
115940
115941
115942
115943
115944
115945
115946
115947
115948
115949
115950
115951
115952
115953
115954
115955
115956
115957
115958
115959
115960
115961
115962
115963
115964
115965
115966
115967
115968
115969
115970
115971
115972
115973
115974
115975
115976
115977
115978
115979
115980
115981
115982
115983
115984
115985
115986
115987
115988
115989
115990
115991
115992
115993
115994
115995
115996
115997
115998
115999
116000
116001
116002
116003
116004
116005
116006
116007
116008
116009
116010
116011
116012
116013
116014
116015
116016
116017
116018
116019
116020
116021
116022
116023
116024
116025
116026
116027
116028
116029
116030
116031
116032
116033
116034
116035
116036
116037
116038
116039
116040
116041
116042
116043
116044
116045
116046
116047
116048
116049
116050
116051
116052
116053
116054
116055
116056
116057
116058
116059
116060
116061
116062
116063
116064
116065
116066
116067
116068
116069
116070
116071
116072
116073
116074
116075
116076
116077
116078
116079
116080
116081
116082
116083
116084
116085
116086
116087
116088
116089
116090
116091
116092
116093
116094
116095
116096
116097
116098
116099
116100
116101
116102
116103
116104
116105
116106
116107
116108
116109
116110
116111
116112
116113
116114
116115
116116
116117
116118
116119
116120
116121
116122
116123
116124
116125
116126
116127
116128
116129
116130
116131
116132
116133
116134
116135
116136
116137
116138
116139
116140
116141
116142
116143
116144
116145
116146
116147
116148
116149
116150
116151
116152
116153
116154
116155
116156
116157
116158
116159
116160
116161
116162
116163
116164
116165
116166
116167
116168
116169
116170
116171
116172
116173
116174
116175
116176
116177
116178
116179
116180
116181
116182
116183
116184
116185
116186
116187
116188
116189
116190
116191
116192
116193
116194
116195
116196
116197
116198
116199
116200
116201
116202
116203
116204
116205
116206
116207
116208
116209
116210
116211
116212
116213
116214
116215
116216
116217
116218
116219
116220
116221
116222
116223
116224
116225
116226
116227
116228
116229
116230
116231
116232
116233
116234
116235
116236
116237
116238
116239
116240
116241
116242
116243
116244
116245
116246
116247
116248
116249
116250
116251
116252
116253
116254
116255
116256
116257
116258
116259
116260
116261
116262
116263
116264
116265
116266
116267
116268
116269
116270
116271
116272
116273
116274
116275
116276
116277
116278
116279
116280
116281
116282
116283
116284
116285
116286
116287
116288
116289
116290
116291
116292
116293
116294
116295
116296
116297
116298
116299
116300
116301
116302
116303
116304
116305
116306
116307
116308
116309
116310
116311
116312
116313
116314
116315
116316
116317
116318
116319
116320
116321
116322
116323
116324
116325
116326
116327
116328
116329
116330
116331
116332
116333
116334
116335
116336
116337
116338
116339
116340
116341
116342
116343
116344
116345
116346
116347
116348
116349
116350
116351
116352
116353
116354
116355
116356
116357
116358
116359
116360
116361
116362
116363
116364
116365
116366
116367
116368
116369
116370
116371
116372
116373
116374
116375
116376
116377
116378
116379
116380
116381
116382
116383
116384
116385
116386
116387
116388
116389
116390
116391
116392
116393
116394
116395
116396
116397
116398
116399
116400
116401
116402
116403
116404
116405
116406
116407
116408
116409
116410
116411
116412
116413
116414
116415
116416
116417
116418
116419
116420
116421
116422
116423
116424
116425
116426
116427
116428
116429
116430
116431
116432
116433
116434
116435
116436
116437
116438
116439
116440
116441
116442
116443
116444
116445
116446
116447
116448
116449
116450
116451
116452
116453
116454
116455
116456
116457
116458
116459
116460
116461
116462
116463
116464
116465
116466
116467
116468
116469
116470
116471
116472
116473
116474
116475
116476
116477
116478
116479
116480
116481
116482
116483
116484
116485
116486
116487
116488
116489
116490
116491
116492
116493
116494
116495
116496
116497
116498
116499
116500
116501
116502
116503
116504
116505
116506
116507
116508
116509
116510
116511
116512
116513
116514
116515
116516
116517
116518
116519
116520
116521
116522
116523
116524
116525
116526
116527
116528
116529
116530
116531
116532
116533
116534
116535
116536
116537
116538
116539
116540
116541
116542
116543
116544
116545
116546
116547
116548
116549
116550
116551
116552
116553
116554
116555
116556
116557
116558
116559
116560
116561
116562
116563
116564
116565
116566
116567
116568
116569
116570
116571
116572
116573
116574
116575
116576
116577
116578
116579
116580
116581
116582
116583
116584
116585
116586
116587
116588
116589
116590
116591
116592
116593
116594
116595
116596
116597
116598
116599
116600
116601
116602
116603
116604
116605
116606
116607
116608
116609
116610
116611
116612
116613
116614
116615
116616
116617
116618
116619
116620
116621
116622
116623
116624
116625
116626
116627
116628
116629
116630
116631
116632
116633
116634
116635
116636
116637
116638
116639
116640
116641
116642
116643
116644
116645
116646
116647
116648
116649
116650
116651
116652
116653
116654
116655
116656
116657
116658
116659
116660
116661
116662
116663
116664
116665
116666
116667
116668
116669
116670
116671
116672
116673
116674
116675
116676
116677
116678
116679
116680
116681
116682
116683
116684
116685
116686
116687
116688
116689
116690
116691
116692
116693
116694
116695
116696
116697
116698
116699
116700
116701
116702
116703
116704
116705
116706
116707
116708
116709
116710
116711
116712
116713
116714
116715
116716
116717
116718
116719
116720
116721
116722
116723
116724
116725
116726
116727
116728
116729
116730
116731
116732
116733
116734
116735
116736
116737
116738
116739
116740
116741
116742
116743
116744
116745
116746
116747
116748
116749
116750
116751
116752
116753
116754
116755
116756
116757
116758
116759
116760
116761
116762
116763
116764
116765
116766
116767
116768
116769
116770
116771
116772
116773
116774
116775
116776
116777
116778
116779
116780
116781
116782
116783
116784
116785
116786
116787
116788
116789
116790
116791
116792
116793
116794
116795
116796
116797
116798
116799
116800
116801
116802
116803
116804
116805
116806
116807
116808
116809
116810
116811
116812
116813
116814
116815
116816
116817
116818
116819
116820
116821
116822
116823
116824
116825
116826
116827
116828
116829
116830
116831
116832
116833
116834
116835
116836
116837
116838
116839
116840
116841
116842
116843
116844
116845
116846
116847
116848
116849
116850
116851
116852
116853
116854
116855
116856
116857
116858
116859
116860
116861
116862
116863
116864
116865
116866
116867
116868
116869
116870
116871
116872
116873
116874
116875
116876
116877
116878
116879
116880
116881
116882
116883
116884
116885
116886
116887
116888
116889
116890
116891
116892
116893
116894
116895
116896
116897
116898
116899
116900
116901
116902
116903
116904
116905
116906
116907
116908
116909
116910
116911
116912
116913
116914
116915
116916
116917
116918
116919
116920
116921
116922
116923
116924
116925
116926
116927
116928
116929
116930
116931
116932
116933
116934
116935
116936
116937
116938
116939
116940
116941
116942
116943
116944
116945
116946
116947
116948
116949
116950
116951
116952
116953
116954
116955
116956
116957
116958
116959
116960
116961
116962
116963
116964
116965
116966
116967
116968
116969
116970
116971
116972
116973
116974
116975
116976
116977
116978
116979
116980
116981
116982
116983
116984
116985
116986
116987
116988
116989
116990
116991
116992
116993
116994
116995
116996
116997
116998
116999
117000
117001
117002
117003
117004
117005
117006
117007
117008
117009
117010
117011
117012
117013
117014
117015
117016
117017
117018
117019
117020
117021
117022
117023
117024
117025
117026
117027
117028
117029
117030
117031
117032
117033
117034
117035
117036
117037
117038
117039
117040
117041
117042
117043
117044
117045
117046
117047
117048
117049
117050
117051
117052
117053
117054
117055
117056
117057
117058
117059
117060
117061
117062
117063
117064
117065
117066
117067
117068
117069
117070
117071
117072
117073
117074
117075
117076
117077
117078
117079
117080
117081
117082
117083
117084
117085
117086
117087
117088
117089
117090
117091
117092
117093
117094
117095
117096
117097
117098
117099
117100
117101
117102
117103
117104
117105
117106
117107
117108
117109
117110
117111
117112
117113
117114
117115
117116
117117
117118
117119
117120
117121
117122
117123
117124
117125
117126
117127
117128
117129
117130
117131
117132
117133
117134
117135
117136
117137
117138
117139
117140
117141
117142
117143
117144
117145
117146
117147
117148
117149
117150
117151
117152
117153
117154
117155
117156
117157
117158
117159
117160
117161
117162
117163
117164
117165
117166
117167
117168
117169
117170
117171
117172
117173
117174
117175
117176
117177
117178
117179
117180
117181
117182
117183
117184
117185
117186
117187
117188
117189
117190
117191
117192
117193
117194
117195
117196
117197
117198
117199
117200
117201
117202
117203
117204
117205
117206
117207
117208
117209
117210
117211
117212
117213
117214
117215
117216
117217
117218
117219
117220
117221
117222
117223
117224
117225
117226
117227
117228
117229
117230
117231
117232
117233
117234
117235
117236
117237
117238
117239
117240
117241
117242
117243
117244
117245
117246
117247
117248
117249
117250
117251
117252
117253
117254
117255
117256
117257
117258
117259
117260
117261
117262
117263
117264
117265
117266
117267
117268
117269
117270
117271
117272
117273
117274
117275
117276
117277
117278
117279
117280
117281
117282
117283
117284
117285
117286
117287
117288
117289
117290
117291
117292
117293
117294
117295
117296
117297
117298
117299
117300
117301
117302
117303
117304
117305
117306
117307
117308
117309
117310
117311
117312
117313
117314
117315
117316
117317
117318
117319
117320
117321
117322
117323
117324
117325
117326
117327
117328
117329
117330
117331
117332
117333
117334
117335
117336
117337
117338
117339
117340
117341
117342
117343
117344
117345
117346
117347
117348
117349
117350
117351
117352
117353
117354
117355
117356
117357
117358
117359
117360
117361
117362
117363
117364
117365
117366
117367
117368
117369
117370
117371
117372
117373
117374
117375
117376
117377
117378
117379
117380
117381
117382
117383
117384
117385
117386
117387
117388
117389
117390
117391
117392
117393
117394
117395
117396
117397
117398
117399
117400
117401
117402
117403
117404
117405
117406
117407
117408
117409
117410
117411
117412
117413
117414
117415
117416
117417
117418
117419
117420
117421
117422
117423
117424
117425
117426
117427
117428
117429
117430
117431
117432
117433
117434
117435
117436
117437
117438
117439
117440
117441
117442
117443
117444
117445
117446
117447
117448
117449
117450
117451
117452
117453
117454
117455
117456
117457
117458
117459
117460
117461
117462
117463
117464
117465
117466
117467
117468
117469
117470
117471
117472
117473
117474
117475
117476
117477
117478
117479
117480
117481
117482
117483
117484
117485
117486
117487
117488
117489
117490
117491
117492
117493
117494
117495
117496
117497
117498
117499
117500
117501
117502
117503
117504
117505
117506
117507
117508
117509
117510
117511
117512
117513
117514
117515
117516
117517
117518
117519
117520
117521
117522
117523
117524
117525
117526
117527
117528
117529
117530
117531
117532
117533
117534
117535
117536
117537
117538
117539
117540
117541
117542
117543
117544
117545
117546
117547
117548
117549
117550
117551
117552
117553
117554
117555
117556
117557
117558
117559
117560
117561
117562
117563
117564
117565
117566
117567
117568
117569
117570
117571
117572
117573
117574
117575
117576
117577
117578
117579
117580
117581
117582
117583
117584
117585
117586
117587
117588
117589
117590
117591
117592
117593
117594
117595
117596
117597
117598
117599
117600
117601
117602
117603
117604
117605
117606
117607
117608
117609
117610
117611
117612
117613
117614
117615
117616
117617
117618
117619
117620
117621
117622
117623
117624
117625
117626
117627
117628
117629
117630
117631
117632
117633
117634
117635
117636
117637
117638
117639
117640
117641
117642
117643
117644
117645
117646
117647
117648
117649
117650
117651
117652
117653
117654
117655
117656
117657
117658
117659
117660
117661
117662
117663
117664
117665
117666
117667
117668
117669
117670
117671
117672
117673
117674
117675
117676
117677
117678
117679
117680
117681
117682
117683
117684
117685
117686
117687
117688
117689
117690
117691
117692
117693
117694
117695
117696
117697
117698
117699
117700
117701
117702
117703
117704
117705
117706
117707
117708
117709
117710
117711
117712
117713
117714
117715
117716
117717
117718
117719
117720
117721
117722
117723
117724
117725
117726
117727
117728
117729
117730
117731
117732
117733
117734
117735
117736
117737
117738
117739
117740
117741
117742
117743
117744
117745
117746
117747
117748
117749
117750
117751
117752
117753
117754
117755
117756
117757
117758
117759
117760
117761
117762
117763
117764
117765
117766
117767
117768
117769
117770
117771
117772
117773
117774
117775
117776
117777
117778
117779
117780
117781
117782
117783
117784
117785
117786
117787
117788
117789
117790
117791
117792
117793
117794
117795
117796
117797
117798
117799
117800
117801
117802
117803
117804
117805
117806
117807
117808
117809
117810
117811
117812
117813
117814
117815
117816
117817
117818
117819
117820
117821
117822
117823
117824
117825
117826
117827
117828
117829
117830
117831
117832
117833
117834
117835
117836
117837
117838
117839
117840
117841
117842
117843
117844
117845
117846
117847
117848
117849
117850
117851
117852
117853
117854
117855
117856
117857
117858
117859
117860
117861
117862
117863
117864
117865
117866
117867
117868
117869
117870
117871
117872
117873
117874
117875
117876
117877
117878
117879
117880
117881
117882
117883
117884
117885
117886
117887
117888
117889
117890
117891
117892
117893
117894
117895
117896
117897
117898
117899
117900
117901
117902
117903
117904
117905
117906
117907
117908
117909
117910
117911
117912
117913
117914
117915
117916
117917
117918
117919
117920
117921
117922
117923
117924
117925
117926
117927
117928
117929
117930
117931
117932
117933
117934
117935
117936
117937
117938
117939
117940
117941
117942
117943
117944
117945
117946
117947
117948
117949
117950
117951
117952
117953
117954
117955
117956
117957
117958
117959
117960
117961
117962
117963
117964
117965
117966
117967
117968
117969
117970
117971
117972
117973
117974
117975
117976
117977
117978
117979
117980
117981
117982
117983
117984
117985
117986
117987
117988
117989
117990
117991
117992
117993
117994
117995
117996
117997
117998
117999
118000
118001
118002
118003
118004
118005
118006
118007
118008
118009
118010
118011
118012
118013
118014
118015
118016
118017
118018
118019
118020
118021
118022
118023
118024
118025
118026
118027
118028
118029
118030
118031
118032
118033
118034
118035
118036
118037
118038
118039
118040
118041
118042
118043
118044
118045
118046
118047
118048
118049
118050
118051
118052
118053
118054
118055
118056
118057
118058
118059
118060
118061
118062
118063
118064
118065
118066
118067
118068
118069
118070
118071
118072
118073
118074
118075
118076
118077
118078
118079
118080
118081
118082
118083
118084
118085
118086
118087
118088
118089
118090
118091
118092
118093
118094
118095
118096
118097
118098
118099
118100
118101
118102
118103
118104
118105
118106
118107
118108
118109
118110
118111
118112
118113
118114
118115
118116
118117
118118
118119
118120
118121
118122
118123
118124
118125
118126
118127
118128
118129
118130
118131
118132
118133
118134
118135
118136
118137
118138
118139
118140
118141
118142
118143
118144
118145
118146
118147
118148
118149
118150
118151
118152
118153
118154
118155
118156
118157
118158
118159
118160
118161
118162
118163
118164
118165
118166
118167
118168
118169
118170
118171
118172
118173
118174
118175
118176
118177
118178
118179
118180
118181
118182
118183
118184
118185
118186
118187
118188
118189
118190
118191
118192
118193
118194
118195
118196
118197
118198
118199
118200
118201
118202
118203
118204
118205
118206
118207
118208
118209
118210
118211
118212
118213
118214
118215
118216
118217
118218
118219
118220
118221
118222
118223
118224
118225
118226
118227
118228
118229
118230
118231
118232
118233
118234
118235
118236
118237
118238
118239
118240
118241
118242
118243
118244
118245
118246
118247
118248
118249
118250
118251
118252
118253
118254
118255
118256
118257
118258
118259
118260
118261
118262
118263
118264
118265
118266
118267
118268
118269
118270
118271
118272
118273
118274
118275
118276
118277
118278
118279
118280
118281
118282
118283
118284
118285
118286
118287
118288
118289
118290
118291
118292
118293
118294
118295
118296
118297
118298
118299
118300
118301
118302
118303
118304
118305
118306
118307
118308
118309
118310
118311
118312
118313
118314
118315
118316
118317
118318
118319
118320
118321
118322
118323
118324
118325
118326
118327
118328
118329
118330
118331
118332
118333
118334
118335
118336
118337
118338
118339
118340
118341
118342
118343
118344
118345
118346
118347
118348
118349
118350
118351
118352
118353
118354
118355
118356
118357
118358
118359
118360
118361
118362
118363
118364
118365
118366
118367
118368
118369
118370
118371
118372
118373
118374
118375
118376
118377
118378
118379
118380
118381
118382
118383
118384
118385
118386
118387
118388
118389
118390
118391
118392
118393
118394
118395
118396
118397
118398
118399
118400
118401
118402
118403
118404
118405
118406
118407
118408
118409
118410
118411
118412
118413
118414
118415
118416
118417
118418
118419
118420
118421
118422
118423
118424
118425
118426
118427
118428
118429
118430
118431
118432
118433
118434
118435
118436
118437
118438
118439
118440
118441
118442
118443
118444
118445
118446
118447
118448
118449
118450
118451
118452
118453
118454
118455
118456
118457
118458
118459
118460
118461
118462
118463
118464
118465
118466
118467
118468
118469
118470
118471
118472
118473
118474
118475
118476
118477
118478
118479
118480
118481
118482
118483
118484
118485
118486
118487
118488
118489
118490
118491
118492
118493
118494
118495
118496
118497
118498
118499
118500
118501
118502
118503
118504
118505
118506
118507
118508
118509
118510
118511
118512
118513
118514
118515
118516
118517
118518
118519
118520
118521
118522
118523
118524
118525
118526
118527
118528
118529
118530
118531
118532
118533
118534
118535
118536
118537
118538
118539
118540
118541
118542
118543
118544
118545
118546
118547
118548
118549
118550
118551
118552
118553
118554
118555
118556
118557
118558
118559
118560
118561
118562
118563
118564
118565
118566
118567
118568
118569
118570
118571
118572
118573
118574
118575
118576
118577
118578
118579
118580
118581
118582
118583
118584
118585
118586
118587
118588
118589
118590
118591
118592
118593
118594
118595
118596
118597
118598
118599
118600
118601
118602
118603
118604
118605
118606
118607
118608
118609
118610
118611
118612
118613
118614
118615
118616
118617
118618
118619
118620
118621
118622
118623
118624
118625
118626
118627
118628
118629
118630
118631
118632
118633
118634
118635
118636
118637
118638
118639
118640
118641
118642
118643
118644
118645
118646
118647
118648
118649
118650
118651
118652
118653
118654
118655
118656
118657
118658
118659
118660
118661
118662
118663
118664
118665
118666
118667
118668
118669
118670
118671
118672
118673
118674
118675
118676
118677
118678
118679
118680
118681
118682
118683
118684
118685
118686
118687
118688
118689
118690
118691
118692
118693
118694
118695
118696
118697
118698
118699
118700
118701
118702
118703
118704
118705
118706
118707
118708
118709
118710
118711
118712
118713
118714
118715
118716
118717
118718
118719
118720
118721
118722
118723
118724
118725
118726
118727
118728
118729
118730
118731
118732
118733
118734
118735
118736
118737
118738
118739
118740
118741
118742
118743
118744
118745
118746
118747
118748
118749
118750
118751
118752
118753
118754
118755
118756
118757
118758
118759
118760
118761
118762
118763
118764
118765
118766
118767
118768
118769
118770
118771
118772
118773
118774
118775
118776
118777
118778
118779
118780
118781
118782
118783
118784
118785
118786
118787
118788
118789
118790
118791
118792
118793
118794
118795
118796
118797
118798
118799
118800
118801
118802
118803
118804
118805
118806
118807
118808
118809
118810
118811
118812
118813
118814
118815
118816
118817
118818
118819
118820
118821
118822
118823
118824
118825
118826
118827
118828
118829
118830
118831
118832
118833
118834
118835
118836
118837
118838
118839
118840
118841
118842
118843
118844
118845
118846
118847
118848
118849
118850
118851
118852
118853
118854
118855
118856
118857
118858
118859
118860
118861
118862
118863
118864
118865
118866
118867
118868
118869
118870
118871
118872
118873
118874
118875
118876
118877
118878
118879
118880
118881
118882
118883
118884
118885
118886
118887
118888
118889
118890
118891
118892
118893
118894
118895
118896
118897
118898
118899
118900
118901
118902
118903
118904
118905
118906
118907
118908
118909
118910
118911
118912
118913
118914
118915
118916
118917
118918
118919
118920
118921
118922
118923
118924
118925
118926
118927
118928
118929
118930
118931
118932
118933
118934
118935
118936
118937
118938
118939
118940
118941
118942
118943
118944
118945
118946
118947
118948
118949
118950
118951
118952
118953
118954
118955
118956
118957
118958
118959
118960
118961
118962
118963
118964
118965
118966
118967
118968
118969
118970
118971
118972
118973
118974
118975
118976
118977
118978
118979
118980
118981
118982
118983
118984
118985
118986
118987
118988
118989
118990
118991
118992
118993
118994
118995
118996
118997
118998
118999
119000
119001
119002
119003
119004
119005
119006
119007
119008
119009
119010
119011
119012
119013
119014
119015
119016
119017
119018
119019
119020
119021
119022
119023
119024
119025
119026
119027
119028
119029
119030
119031
119032
119033
119034
119035
119036
119037
119038
119039
119040
119041
119042
119043
119044
119045
119046
119047
119048
119049
119050
119051
119052
119053
119054
119055
119056
119057
119058
119059
119060
119061
119062
119063
119064
119065
119066
119067
119068
119069
119070
119071
119072
119073
119074
119075
119076
119077
119078
119079
119080
119081
119082
119083
119084
119085
119086
119087
119088
119089
119090
119091
119092
119093
119094
119095
119096
119097
119098
119099
119100
119101
119102
119103
119104
119105
119106
119107
119108
119109
119110
119111
119112
119113
119114
119115
119116
119117
119118
119119
119120
119121
119122
119123
119124
119125
119126
119127
119128
119129
119130
119131
119132
119133
119134
119135
119136
119137
119138
119139
119140
119141
119142
119143
119144
119145
119146
119147
119148
119149
119150
119151
119152
119153
119154
119155
119156
119157
119158
119159
119160
119161
119162
119163
119164
119165
119166
119167
119168
119169
119170
119171
119172
119173
119174
119175
119176
119177
119178
119179
119180
119181
119182
119183
119184
119185
119186
119187
119188
119189
119190
119191
119192
119193
119194
119195
119196
119197
119198
119199
119200
119201
119202
119203
119204
119205
119206
119207
119208
119209
119210
119211
119212
119213
119214
119215
119216
119217
119218
119219
119220
119221
119222
119223
119224
119225
119226
119227
119228
119229
119230
119231
119232
119233
119234
119235
119236
119237
119238
119239
119240
119241
119242
119243
119244
119245
119246
119247
119248
119249
119250
119251
119252
119253
119254
119255
119256
119257
119258
119259
119260
119261
119262
119263
119264
119265
119266
119267
119268
119269
119270
119271
119272
119273
119274
119275
119276
119277
119278
119279
119280
119281
119282
119283
119284
119285
119286
119287
119288
119289
119290
119291
119292
119293
119294
119295
119296
119297
119298
119299
119300
119301
119302
119303
119304
119305
119306
119307
119308
119309
119310
119311
119312
119313
119314
119315
119316
119317
119318
119319
119320
119321
119322
119323
119324
119325
119326
119327
119328
119329
119330
119331
119332
119333
119334
119335
119336
119337
119338
119339
119340
119341
119342
119343
119344
119345
119346
119347
119348
119349
119350
119351
119352
119353
119354
119355
119356
119357
119358
119359
119360
119361
119362
119363
119364
119365
119366
119367
119368
119369
119370
119371
119372
119373
119374
119375
119376
119377
119378
119379
119380
119381
119382
119383
119384
119385
119386
119387
119388
119389
119390
119391
119392
119393
119394
119395
119396
119397
119398
119399
119400
119401
119402
119403
119404
119405
119406
119407
119408
119409
119410
119411
119412
119413
119414
119415
119416
119417
119418
119419
119420
119421
119422
119423
119424
119425
119426
119427
119428
119429
119430
119431
119432
119433
119434
119435
119436
119437
119438
119439
119440
119441
119442
119443
119444
119445
119446
119447
119448
119449
119450
119451
119452
119453
119454
119455
119456
119457
119458
119459
119460
119461
119462
119463
119464
119465
119466
119467
119468
119469
119470
119471
119472
119473
119474
119475
119476
119477
119478
119479
119480
119481
119482
119483
119484
119485
119486
119487
119488
119489
119490
119491
119492
119493
119494
119495
119496
119497
119498
119499
119500
119501
119502
119503
119504
119505
119506
119507
119508
119509
119510
119511
119512
119513
119514
119515
119516
119517
119518
119519
119520
119521
119522
119523
119524
119525
119526
119527
119528
119529
119530
119531
119532
119533
119534
119535
119536
119537
119538
119539
119540
119541
119542
119543
119544
119545
119546
119547
119548
119549
119550
119551
119552
119553
119554
119555
119556
119557
119558
119559
119560
119561
119562
119563
119564
119565
119566
119567
119568
119569
119570
119571
119572
119573
119574
119575
119576
119577
119578
119579
119580
119581
119582
119583
119584
119585
119586
119587
119588
119589
119590
119591
119592
119593
119594
119595
119596
119597
119598
119599
119600
119601
119602
119603
119604
119605
119606
119607
119608
119609
119610
119611
119612
119613
119614
119615
119616
119617
119618
119619
119620
119621
119622
119623
119624
119625
119626
119627
119628
119629
119630
119631
119632
119633
119634
119635
119636
119637
119638
119639
119640
119641
119642
119643
119644
119645
119646
119647
119648
119649
119650
119651
119652
119653
119654
119655
119656
119657
119658
119659
119660
119661
119662
119663
119664
119665
119666
119667
119668
119669
119670
119671
119672
119673
119674
119675
119676
119677
119678
119679
119680
119681
119682
119683
119684
119685
119686
119687
119688
119689
119690
119691
119692
119693
119694
119695
119696
119697
119698
119699
119700
119701
119702
119703
119704
119705
119706
119707
119708
119709
119710
119711
119712
119713
119714
119715
119716
119717
119718
119719
119720
119721
119722
119723
119724
119725
119726
119727
119728
119729
119730
119731
119732
119733
119734
119735
119736
119737
119738
119739
119740
119741
119742
119743
119744
119745
119746
119747
119748
119749
119750
119751
119752
119753
119754
119755
119756
119757
119758
119759
119760
119761
119762
119763
119764
119765
119766
119767
119768
119769
119770
119771
119772
119773
119774
119775
119776
119777
119778
119779
119780
119781
119782
119783
119784
119785
119786
119787
119788
119789
119790
119791
119792
119793
119794
119795
119796
119797
119798
119799
119800
119801
119802
119803
119804
119805
119806
119807
119808
119809
119810
119811
119812
119813
119814
119815
119816
119817
119818
119819
119820
119821
119822
119823
119824
119825
119826
119827
119828
119829
119830
119831
119832
119833
119834
119835
119836
119837
119838
119839
119840
119841
119842
119843
119844
119845
119846
119847
119848
119849
119850
119851
119852
119853
119854
119855
119856
119857
119858
119859
119860
119861
119862
119863
119864
119865
119866
119867
119868
119869
119870
119871
119872
119873
119874
119875
119876
119877
119878
119879
119880
119881
119882
119883
119884
119885
119886
119887
119888
119889
119890
119891
119892
119893
119894
119895
119896
119897
119898
119899
119900
119901
119902
119903
119904
119905
119906
119907
119908
119909
119910
119911
119912
119913
119914
119915
119916
119917
119918
119919
119920
119921
119922
119923
119924
119925
119926
119927
119928
119929
119930
119931
119932
119933
119934
119935
119936
119937
119938
119939
119940
119941
119942
119943
119944
119945
119946
119947
119948
119949
119950
119951
119952
119953
119954
119955
119956
119957
119958
119959
119960
119961
119962
119963
119964
119965
119966
119967
119968
119969
119970
119971
119972
119973
119974
119975
119976
119977
119978
119979
119980
119981
119982
119983
119984
119985
119986
119987
119988
119989
119990
119991
119992
119993
119994
119995
119996
119997
119998
119999
120000
120001
120002
120003
120004
120005
120006
120007
120008
120009
120010
120011
120012
120013
120014
120015
120016
120017
120018
120019
120020
120021
120022
120023
120024
120025
120026
120027
120028
120029
120030
120031
120032
120033
120034
120035
120036
120037
120038
120039
120040
120041
120042
120043
120044
120045
120046
120047
120048
120049
120050
120051
120052
120053
120054
120055
120056
120057
120058
120059
120060
120061
120062
120063
120064
120065
120066
120067
120068
120069
120070
120071
120072
120073
120074
120075
120076
120077
120078
120079
120080
120081
120082
120083
120084
120085
120086
120087
120088
120089
120090
120091
120092
120093
120094
120095
120096
120097
120098
120099
120100
120101
120102
120103
120104
120105
120106
120107
120108
120109
120110
120111
120112
120113
120114
120115
120116
120117
120118
120119
120120
120121
120122
120123
120124
120125
120126
120127
120128
120129
120130
120131
120132
120133
120134
120135
120136
120137
120138
120139
120140
120141
120142
120143
120144
120145
120146
120147
120148
120149
120150
120151
120152
120153
120154
120155
120156
120157
120158
120159
120160
120161
120162
120163
120164
120165
120166
120167
120168
120169
120170
120171
120172
120173
120174
120175
120176
120177
120178
120179
120180
120181
120182
120183
120184
120185
120186
120187
120188
120189
120190
120191
120192
120193
120194
120195
120196
120197
120198
120199
120200
120201
120202
120203
120204
120205
120206
120207
120208
120209
120210
120211
120212
120213
120214
120215
120216
120217
120218
120219
120220
120221
120222
120223
120224
120225
120226
120227
120228
120229
120230
120231
120232
120233
120234
120235
120236
120237
120238
120239
120240
120241
120242
120243
120244
120245
120246
120247
120248
120249
120250
120251
120252
120253
120254
120255
120256
120257
120258
120259
120260
120261
120262
120263
120264
120265
120266
120267
120268
120269
120270
120271
120272
120273
120274
120275
120276
120277
120278
120279
120280
120281
120282
120283
120284
120285
120286
120287
120288
120289
120290
120291
120292
120293
120294
120295
120296
120297
120298
120299
120300
120301
120302
120303
120304
120305
120306
120307
120308
120309
120310
120311
120312
120313
120314
120315
120316
120317
120318
120319
120320
120321
120322
120323
120324
120325
120326
120327
120328
120329
120330
120331
120332
120333
120334
120335
120336
120337
120338
120339
120340
120341
120342
120343
120344
120345
120346
120347
120348
120349
120350
120351
120352
120353
120354
120355
120356
120357
120358
120359
120360
120361
120362
120363
120364
120365
120366
120367
120368
120369
120370
120371
120372
120373
120374
120375
120376
120377
120378
120379
120380
120381
120382
120383
120384
120385
120386
120387
120388
120389
120390
120391
120392
120393
120394
120395
120396
120397
120398
120399
120400
120401
120402
120403
120404
120405
120406
120407
120408
120409
120410
120411
120412
120413
120414
120415
120416
120417
120418
120419
120420
120421
120422
120423
120424
120425
120426
120427
120428
120429
120430
120431
120432
120433
120434
120435
120436
120437
120438
120439
120440
120441
120442
120443
120444
120445
120446
120447
120448
120449
120450
120451
120452
120453
120454
120455
120456
120457
120458
120459
120460
120461
120462
120463
120464
120465
120466
120467
120468
120469
120470
120471
120472
120473
120474
120475
120476
120477
120478
120479
120480
120481
120482
120483
120484
120485
120486
120487
120488
120489
120490
120491
120492
120493
120494
120495
120496
120497
120498
120499
120500
120501
120502
120503
120504
120505
120506
120507
120508
120509
120510
120511
120512
120513
120514
120515
120516
120517
120518
120519
120520
120521
120522
120523
120524
120525
120526
120527
120528
120529
120530
120531
120532
120533
120534
120535
120536
120537
120538
120539
120540
120541
120542
120543
120544
120545
120546
120547
120548
120549
120550
120551
120552
120553
120554
120555
120556
120557
120558
120559
120560
120561
120562
120563
120564
120565
120566
120567
120568
120569
120570
120571
120572
120573
120574
120575
120576
120577
120578
120579
120580
120581
120582
120583
120584
120585
120586
120587
120588
120589
120590
120591
120592
120593
120594
120595
120596
120597
120598
120599
120600
120601
120602
120603
120604
120605
120606
120607
120608
120609
120610
120611
120612
120613
120614
120615
120616
120617
120618
120619
120620
120621
120622
120623
120624
120625
120626
120627
120628
120629
120630
120631
120632
120633
120634
120635
120636
120637
120638
120639
120640
120641
120642
120643
120644
120645
120646
120647
120648
120649
120650
120651
120652
120653
120654
120655
120656
120657
120658
120659
120660
120661
120662
120663
120664
120665
120666
120667
120668
120669
120670
120671
120672
120673
120674
120675
120676
120677
120678
120679
120680
120681
120682
120683
120684
120685
120686
120687
120688
120689
120690
120691
120692
120693
120694
120695
120696
120697
120698
120699
120700
120701
120702
120703
120704
120705
120706
120707
120708
120709
120710
120711
120712
120713
120714
120715
120716
120717
120718
120719
120720
120721
120722
120723
120724
120725
120726
120727
120728
120729
120730
120731
120732
120733
120734
120735
120736
120737
120738
120739
120740
120741
120742
120743
120744
120745
120746
120747
120748
120749
120750
120751
120752
120753
120754
120755
120756
120757
120758
120759
120760
120761
120762
120763
120764
120765
120766
120767
120768
120769
120770
120771
120772
120773
120774
120775
120776
120777
120778
120779
120780
120781
120782
120783
120784
120785
120786
120787
120788
120789
120790
120791
120792
120793
120794
120795
120796
120797
120798
120799
120800
120801
120802
120803
120804
120805
120806
120807
120808
120809
120810
120811
120812
120813
120814
120815
120816
120817
120818
120819
120820
120821
120822
120823
120824
120825
120826
120827
120828
120829
120830
120831
120832
120833
120834
120835
120836
120837
120838
120839
120840
120841
120842
120843
120844
120845
120846
120847
120848
120849
120850
120851
120852
120853
120854
120855
120856
120857
120858
120859
120860
120861
120862
120863
120864
120865
120866
120867
120868
120869
120870
120871
120872
120873
120874
120875
120876
120877
120878
120879
120880
120881
120882
120883
120884
120885
120886
120887
120888
120889
120890
120891
120892
120893
120894
120895
120896
120897
120898
120899
120900
120901
120902
120903
120904
120905
120906
120907
120908
120909
120910
120911
120912
120913
120914
120915
120916
120917
120918
120919
120920
120921
120922
120923
120924
120925
120926
120927
120928
120929
120930
120931
120932
120933
120934
120935
120936
120937
120938
120939
120940
120941
120942
120943
120944
120945
120946
120947
120948
120949
120950
120951
120952
120953
120954
120955
120956
120957
120958
120959
120960
120961
120962
120963
120964
120965
120966
120967
120968
120969
120970
120971
120972
120973
120974
120975
120976
120977
120978
120979
120980
120981
120982
120983
120984
120985
120986
120987
120988
120989
120990
120991
120992
120993
120994
120995
120996
120997
120998
120999
121000
121001
121002
121003
121004
121005
121006
121007
121008
121009
121010
121011
121012
121013
121014
121015
121016
121017
121018
121019
121020
121021
121022
121023
121024
121025
121026
121027
121028
121029
121030
121031
121032
121033
121034
121035
121036
121037
121038
121039
121040
121041
121042
121043
121044
121045
121046
121047
121048
121049
121050
121051
121052
121053
121054
121055
121056
121057
121058
121059
121060
121061
121062
121063
121064
121065
121066
121067
121068
121069
121070
121071
121072
121073
121074
121075
121076
121077
121078
121079
121080
121081
121082
121083
121084
121085
121086
121087
121088
121089
121090
121091
121092
121093
121094
121095
121096
121097
121098
121099
121100
121101
121102
121103
121104
121105
121106
121107
121108
121109
121110
121111
121112
121113
121114
121115
121116
121117
121118
121119
121120
121121
121122
121123
121124
121125
121126
121127
121128
121129
121130
121131
121132
121133
121134
121135
121136
121137
121138
121139
121140
121141
121142
121143
121144
121145
121146
121147
121148
121149
121150
121151
121152
121153
121154
121155
121156
121157
121158
121159
121160
121161
121162
121163
121164
121165
121166
121167
121168
121169
121170
121171
121172
121173
121174
121175
121176
121177
121178
121179
121180
121181
121182
121183
121184
121185
121186
121187
121188
121189
121190
121191
121192
121193
121194
121195
121196
121197
121198
121199
121200
121201
121202
121203
121204
121205
121206
121207
121208
121209
121210
121211
121212
121213
121214
121215
121216
121217
121218
121219
121220
121221
121222
121223
121224
121225
121226
121227
121228
121229
121230
121231
121232
121233
121234
121235
121236
121237
121238
121239
121240
121241
121242
121243
121244
121245
121246
121247
121248
121249
121250
121251
121252
121253
121254
121255
121256
121257
121258
121259
121260
121261
121262
121263
121264
121265
121266
121267
121268
121269
121270
121271
121272
121273
121274
121275
121276
121277
121278
121279
121280
121281
121282
121283
121284
121285
121286
121287
121288
121289
121290
121291
121292
121293
121294
121295
121296
121297
121298
121299
121300
121301
121302
121303
121304
121305
121306
121307
121308
121309
121310
121311
121312
121313
121314
121315
121316
121317
121318
121319
121320
121321
121322
121323
121324
121325
121326
121327
121328
121329
121330
121331
121332
121333
121334
121335
121336
121337
121338
121339
121340
121341
121342
121343
121344
121345
121346
121347
121348
121349
121350
121351
121352
121353
121354
121355
121356
121357
121358
121359
121360
121361
121362
121363
121364
121365
121366
121367
121368
121369
121370
121371
121372
121373
121374
121375
121376
121377
121378
121379
121380
121381
121382
121383
121384
121385
121386
121387
121388
121389
121390
121391
121392
121393
121394
121395
121396
121397
121398
121399
121400
121401
121402
121403
121404
121405
121406
121407
121408
121409
121410
121411
121412
121413
121414
121415
121416
121417
121418
121419
121420
121421
121422
121423
121424
121425
121426
121427
121428
121429
121430
121431
121432
121433
121434
121435
121436
121437
121438
121439
121440
121441
121442
121443
121444
121445
121446
121447
121448
121449
121450
121451
121452
121453
121454
121455
121456
121457
121458
121459
121460
121461
121462
121463
121464
121465
121466
121467
121468
121469
121470
121471
121472
121473
121474
121475
121476
121477
121478
121479
121480
121481
121482
121483
121484
121485
121486
121487
121488
121489
121490
121491
121492
121493
121494
121495
121496
121497
121498
121499
121500
121501
121502
121503
121504
121505
121506
121507
121508
121509
121510
121511
121512
121513
121514
121515
121516
121517
121518
121519
121520
121521
121522
121523
121524
121525
121526
121527
121528
121529
121530
121531
121532
121533
121534
121535
121536
121537
121538
121539
121540
121541
121542
121543
121544
121545
121546
121547
121548
121549
121550
121551
121552
121553
121554
121555
121556
121557
121558
121559
121560
121561
121562
121563
121564
121565
121566
121567
121568
121569
121570
121571
121572
121573
121574
121575
121576
121577
121578
121579
121580
121581
121582
121583
121584
121585
121586
121587
121588
121589
121590
121591
121592
121593
121594
121595
121596
121597
121598
121599
121600
121601
121602
121603
121604
121605
121606
121607
121608
121609
121610
121611
121612
121613
121614
121615
121616
121617
121618
121619
121620
121621
121622
121623
121624
121625
121626
121627
121628
121629
121630
121631
121632
121633
121634
121635
121636
121637
121638
121639
121640
121641
121642
121643
121644
121645
121646
121647
121648
121649
121650
121651
121652
121653
121654
121655
121656
121657
121658
121659
121660
121661
121662
121663
121664
121665
121666
121667
121668
121669
121670
121671
121672
121673
121674
121675
121676
121677
121678
121679
121680
121681
121682
121683
121684
121685
121686
121687
121688
121689
121690
121691
121692
121693
121694
121695
121696
121697
121698
121699
121700
121701
121702
121703
121704
121705
121706
121707
121708
121709
121710
121711
121712
121713
121714
121715
121716
121717
121718
121719
121720
121721
121722
121723
121724
121725
121726
121727
121728
121729
121730
121731
121732
121733
121734
121735
121736
121737
121738
121739
121740
121741
121742
121743
121744
121745
121746
121747
121748
121749
121750
121751
121752
121753
121754
121755
121756
121757
121758
121759
121760
121761
121762
121763
121764
121765
121766
121767
121768
121769
121770
121771
121772
121773
121774
121775
121776
121777
121778
121779
121780
121781
121782
121783
121784
121785
121786
121787
121788
121789
121790
121791
121792
121793
121794
121795
121796
121797
121798
121799
121800
121801
121802
121803
121804
121805
121806
121807
121808
121809
121810
121811
121812
121813
121814
121815
121816
121817
121818
121819
121820
121821
121822
121823
121824
121825
121826
121827
121828
121829
121830
121831
121832
121833
121834
121835
121836
121837
121838
121839
121840
121841
121842
121843
121844
121845
121846
121847
121848
121849
121850
121851
121852
121853
121854
121855
121856
121857
121858
121859
121860
121861
121862
121863
121864
121865
121866
121867
121868
121869
121870
121871
121872
121873
121874
121875
121876
121877
121878
121879
121880
121881
121882
121883
121884
121885
121886
121887
121888
121889
121890
121891
121892
121893
121894
121895
121896
121897
121898
121899
121900
121901
121902
121903
121904
121905
121906
121907
121908
121909
121910
121911
121912
121913
121914
121915
121916
121917
121918
121919
121920
121921
121922
121923
121924
121925
121926
121927
121928
121929
121930
121931
121932
121933
121934
121935
121936
121937
121938
121939
121940
121941
121942
121943
121944
121945
121946
121947
121948
121949
121950
121951
121952
121953
121954
121955
121956
121957
121958
121959
121960
121961
121962
121963
121964
121965
121966
121967
121968
121969
121970
121971
121972
121973
121974
121975
121976
121977
121978
121979
121980
121981
121982
121983
121984
121985
121986
121987
121988
121989
121990
121991
121992
121993
121994
121995
121996
121997
121998
121999
122000
122001
122002
122003
122004
122005
122006
122007
122008
122009
122010
122011
122012
122013
122014
122015
122016
122017
122018
122019
122020
122021
122022
122023
122024
122025
122026
122027
122028
122029
122030
122031
122032
122033
122034
122035
122036
122037
122038
122039
122040
122041
122042
122043
122044
122045
122046
122047
122048
122049
122050
122051
122052
122053
122054
122055
122056
122057
122058
122059
122060
122061
122062
122063
122064
122065
122066
122067
122068
122069
122070
122071
122072
122073
122074
122075
122076
122077
122078
122079
122080
122081
122082
122083
122084
122085
122086
122087
122088
122089
122090
122091
122092
122093
122094
122095
122096
122097
122098
122099
122100
122101
122102
122103
122104
122105
122106
122107
122108
122109
122110
122111
122112
122113
122114
122115
122116
122117
122118
122119
122120
122121
122122
122123
122124
122125
122126
122127
122128
122129
122130
122131
122132
122133
122134
122135
122136
122137
122138
122139
122140
122141
122142
122143
122144
122145
122146
122147
122148
122149
122150
122151
122152
122153
122154
122155
122156
122157
122158
122159
122160
122161
122162
122163
122164
122165
122166
122167
122168
122169
122170
122171
122172
122173
122174
122175
122176
122177
122178
122179
122180
122181
122182
122183
122184
122185
122186
122187
122188
122189
122190
122191
122192
122193
122194
122195
122196
122197
122198
122199
122200
122201
122202
122203
122204
122205
122206
122207
122208
122209
122210
122211
122212
122213
122214
122215
122216
122217
122218
122219
122220
122221
122222
122223
122224
122225
122226
122227
122228
122229
122230
122231
122232
122233
122234
122235
122236
122237
122238
122239
122240
122241
122242
122243
122244
122245
122246
122247
122248
122249
122250
122251
122252
122253
122254
122255
122256
122257
122258
122259
122260
122261
122262
122263
122264
122265
122266
122267
122268
122269
122270
122271
122272
122273
122274
122275
122276
122277
122278
122279
122280
122281
122282
122283
122284
122285
122286
122287
122288
122289
122290
122291
122292
122293
122294
122295
122296
122297
122298
122299
122300
122301
122302
122303
122304
122305
122306
122307
122308
122309
122310
122311
122312
122313
122314
122315
122316
122317
122318
122319
122320
122321
122322
122323
122324
122325
122326
122327
122328
122329
122330
122331
122332
122333
122334
122335
122336
122337
122338
122339
122340
122341
122342
122343
122344
122345
122346
122347
122348
122349
122350
122351
122352
122353
122354
122355
122356
122357
122358
122359
122360
122361
122362
122363
122364
122365
122366
122367
122368
122369
122370
122371
122372
122373
122374
122375
122376
122377
122378
122379
122380
122381
122382
122383
122384
122385
122386
122387
122388
122389
122390
122391
122392
122393
122394
122395
122396
122397
122398
122399
122400
122401
122402
122403
122404
122405
122406
122407
122408
122409
122410
122411
122412
122413
122414
122415
122416
122417
122418
122419
122420
122421
122422
122423
122424
122425
122426
122427
122428
122429
122430
122431
122432
122433
122434
122435
122436
122437
122438
122439
122440
122441
122442
122443
122444
122445
122446
122447
122448
122449
122450
122451
122452
122453
122454
122455
122456
122457
122458
122459
122460
122461
122462
122463
122464
122465
122466
122467
122468
122469
122470
122471
122472
122473
122474
122475
122476
122477
122478
122479
122480
122481
122482
122483
122484
122485
122486
122487
122488
122489
122490
122491
122492
122493
122494
122495
122496
122497
122498
122499
122500
122501
122502
122503
122504
122505
122506
122507
122508
122509
122510
122511
122512
122513
122514
122515
122516
122517
122518
122519
122520
122521
122522
122523
122524
122525
122526
122527
122528
122529
122530
122531
122532
122533
122534
122535
122536
122537
122538
122539
122540
122541
122542
122543
122544
122545
122546
122547
122548
122549
122550
122551
122552
122553
122554
122555
122556
122557
122558
122559
122560
122561
122562
122563
122564
122565
122566
122567
122568
122569
122570
122571
122572
122573
122574
122575
122576
122577
122578
122579
122580
122581
122582
122583
122584
122585
122586
122587
122588
122589
122590
122591
122592
122593
122594
122595
122596
122597
122598
122599
122600
122601
122602
122603
122604
122605
122606
122607
122608
122609
122610
122611
122612
122613
122614
122615
122616
122617
122618
122619
122620
122621
122622
122623
122624
122625
122626
122627
122628
122629
122630
122631
122632
122633
122634
122635
122636
122637
122638
122639
122640
122641
122642
122643
122644
122645
122646
122647
122648
122649
122650
122651
122652
122653
122654
122655
122656
122657
122658
122659
122660
122661
122662
122663
122664
122665
122666
122667
122668
122669
122670
122671
122672
122673
122674
122675
122676
122677
122678
122679
122680
122681
122682
122683
122684
122685
122686
122687
122688
122689
122690
122691
122692
122693
122694
122695
122696
122697
122698
122699
122700
122701
122702
122703
122704
122705
122706
122707
122708
122709
122710
122711
122712
122713
122714
122715
122716
122717
122718
122719
122720
122721
122722
122723
122724
122725
122726
122727
122728
122729
122730
122731
122732
122733
122734
122735
122736
122737
122738
122739
122740
122741
122742
122743
122744
122745
122746
122747
122748
122749
122750
122751
122752
122753
122754
122755
122756
122757
122758
122759
122760
122761
122762
122763
122764
122765
122766
122767
122768
122769
122770
122771
122772
122773
122774
122775
122776
122777
122778
122779
122780
122781
122782
122783
122784
122785
122786
122787
122788
122789
122790
122791
122792
122793
122794
122795
122796
122797
122798
122799
122800
122801
122802
122803
122804
122805
122806
122807
122808
122809
122810
122811
122812
122813
122814
122815
122816
122817
122818
122819
122820
122821
122822
122823
122824
122825
122826
122827
122828
122829
122830
122831
122832
122833
122834
122835
122836
122837
122838
122839
122840
122841
122842
122843
122844
122845
122846
122847
122848
122849
122850
122851
122852
122853
122854
122855
122856
122857
122858
122859
122860
122861
122862
122863
122864
122865
122866
122867
122868
122869
122870
122871
122872
122873
122874
122875
122876
122877
122878
122879
122880
122881
122882
122883
122884
122885
122886
122887
122888
122889
122890
122891
122892
122893
122894
122895
122896
122897
122898
122899
122900
122901
122902
122903
122904
122905
122906
122907
122908
122909
122910
122911
122912
122913
122914
122915
122916
122917
122918
122919
122920
122921
122922
122923
122924
122925
122926
122927
122928
122929
122930
122931
122932
122933
122934
122935
122936
122937
122938
122939
122940
122941
122942
122943
122944
122945
122946
122947
122948
122949
122950
122951
122952
122953
122954
122955
122956
122957
122958
122959
122960
122961
122962
122963
122964
122965
122966
122967
122968
122969
122970
122971
122972
122973
122974
122975
122976
122977
122978
122979
122980
122981
122982
122983
122984
122985
122986
122987
122988
122989
122990
122991
122992
122993
122994
122995
122996
122997
122998
122999
123000
123001
123002
123003
123004
123005
123006
123007
123008
123009
123010
123011
123012
123013
123014
123015
123016
123017
123018
123019
123020
123021
123022
123023
123024
123025
123026
123027
123028
123029
123030
123031
123032
123033
123034
123035
123036
123037
123038
123039
123040
123041
123042
123043
123044
123045
123046
123047
123048
123049
123050
123051
123052
123053
123054
123055
123056
123057
123058
123059
123060
123061
123062
123063
123064
123065
123066
123067
123068
123069
123070
123071
123072
123073
123074
123075
123076
123077
123078
123079
123080
123081
123082
123083
123084
123085
123086
123087
123088
123089
123090
123091
123092
123093
123094
123095
123096
123097
123098
123099
123100
123101
123102
123103
123104
123105
123106
123107
123108
123109
123110
123111
123112
123113
123114
123115
123116
123117
123118
123119
123120
123121
123122
123123
123124
123125
123126
123127
123128
123129
123130
123131
123132
123133
123134
123135
123136
123137
123138
123139
123140
123141
123142
123143
123144
123145
123146
123147
123148
123149
123150
123151
123152
123153
123154
123155
123156
123157
123158
123159
123160
123161
123162
123163
123164
123165
123166
123167
123168
123169
123170
123171
123172
123173
123174
123175
123176
123177
123178
123179
123180
123181
123182
123183
123184
123185
123186
123187
123188
123189
123190
123191
123192
123193
123194
123195
123196
123197
123198
123199
123200
123201
123202
123203
123204
123205
123206
123207
123208
123209
123210
123211
123212
123213
123214
123215
123216
123217
123218
123219
123220
123221
123222
123223
123224
123225
123226
123227
123228
123229
123230
123231
123232
123233
123234
123235
123236
123237
123238
123239
123240
123241
123242
123243
123244
123245
123246
123247
123248
123249
123250
123251
123252
123253
123254
123255
123256
123257
123258
123259
123260
123261
123262
123263
123264
123265
123266
123267
123268
123269
123270
123271
123272
123273
123274
123275
123276
123277
123278
123279
123280
123281
123282
123283
123284
123285
123286
123287
123288
123289
123290
123291
123292
123293
123294
123295
123296
123297
123298
123299
123300
123301
123302
123303
123304
123305
123306
123307
123308
123309
123310
123311
123312
123313
123314
123315
123316
123317
123318
123319
123320
123321
123322
123323
123324
123325
123326
123327
123328
123329
123330
123331
123332
123333
123334
123335
123336
123337
123338
123339
123340
123341
123342
123343
123344
123345
123346
123347
123348
123349
123350
123351
123352
123353
123354
123355
123356
123357
123358
123359
123360
123361
123362
123363
123364
123365
123366
123367
123368
123369
123370
123371
123372
123373
123374
123375
123376
123377
123378
123379
123380
123381
123382
123383
123384
123385
123386
123387
123388
123389
123390
123391
123392
123393
123394
123395
123396
123397
123398
123399
123400
123401
123402
123403
123404
123405
123406
123407
123408
123409
123410
123411
123412
123413
123414
123415
123416
123417
123418
123419
123420
123421
123422
123423
123424
123425
123426
123427
123428
123429
123430
123431
123432
123433
123434
123435
123436
123437
123438
123439
123440
123441
123442
123443
123444
123445
123446
123447
123448
123449
123450
123451
123452
123453
123454
123455
123456
123457
123458
123459
123460
123461
123462
123463
123464
123465
123466
123467
123468
123469
123470
123471
123472
123473
123474
123475
123476
123477
123478
123479
123480
123481
123482
123483
123484
123485
123486
123487
123488
123489
123490
123491
123492
123493
123494
123495
123496
123497
123498
123499
123500
123501
123502
123503
123504
123505
123506
123507
123508
123509
123510
123511
123512
123513
123514
123515
123516
123517
123518
123519
123520
123521
123522
123523
123524
123525
123526
123527
123528
123529
123530
123531
123532
123533
123534
123535
123536
123537
123538
123539
123540
123541
123542
123543
123544
123545
123546
123547
123548
123549
123550
123551
123552
123553
123554
123555
123556
123557
123558
123559
123560
123561
123562
123563
123564
123565
123566
123567
123568
123569
123570
123571
123572
123573
123574
123575
123576
123577
123578
123579
123580
123581
123582
123583
123584
123585
123586
123587
123588
123589
123590
123591
123592
123593
123594
123595
123596
123597
123598
123599
123600
123601
123602
123603
123604
123605
123606
123607
123608
123609
123610
123611
123612
123613
123614
123615
123616
123617
123618
123619
123620
123621
123622
123623
123624
123625
123626
123627
123628
123629
123630
123631
123632
123633
123634
123635
123636
123637
123638
123639
123640
123641
123642
123643
123644
123645
123646
123647
123648
123649
123650
123651
123652
123653
123654
123655
123656
123657
123658
123659
123660
123661
123662
123663
123664
123665
123666
123667
123668
123669
123670
123671
123672
123673
123674
123675
123676
123677
123678
123679
123680
123681
123682
123683
123684
123685
123686
123687
123688
123689
123690
123691
123692
123693
123694
123695
123696
123697
123698
123699
123700
123701
123702
123703
123704
123705
123706
123707
123708
123709
123710
123711
123712
123713
123714
123715
123716
123717
123718
123719
123720
123721
123722
123723
123724
123725
123726
123727
123728
123729
123730
123731
123732
123733
123734
123735
123736
123737
123738
123739
123740
123741
123742
123743
123744
123745
123746
123747
123748
123749
123750
123751
123752
123753
123754
123755
123756
123757
123758
123759
123760
123761
123762
123763
123764
123765
123766
123767
123768
123769
123770
123771
123772
123773
123774
123775
123776
123777
123778
123779
123780
123781
123782
123783
123784
123785
123786
123787
123788
123789
123790
123791
123792
123793
123794
123795
123796
123797
123798
123799
123800
123801
123802
123803
123804
123805
123806
123807
123808
123809
123810
123811
123812
123813
123814
123815
123816
123817
123818
123819
123820
123821
123822
123823
123824
123825
123826
123827
123828
123829
123830
123831
123832
123833
123834
123835
123836
123837
123838
123839
123840
123841
123842
123843
123844
123845
123846
123847
123848
123849
123850
123851
123852
123853
123854
123855
123856
123857
123858
123859
123860
123861
123862
123863
123864
123865
123866
123867
123868
123869
123870
123871
123872
123873
123874
123875
123876
123877
123878
123879
123880
123881
123882
123883
123884
123885
123886
123887
123888
123889
123890
123891
123892
123893
123894
123895
123896
123897
123898
123899
123900
123901
123902
123903
123904
123905
123906
123907
123908
123909
123910
123911
123912
123913
123914
123915
123916
123917
123918
123919
123920
123921
123922
123923
123924
123925
123926
123927
123928
123929
123930
123931
123932
123933
123934
123935
123936
123937
123938
123939
123940
123941
123942
123943
123944
123945
123946
123947
123948
123949
123950
123951
123952
123953
123954
123955
123956
123957
123958
123959
123960
123961
123962
123963
123964
123965
123966
123967
123968
123969
123970
123971
123972
123973
123974
123975
123976
123977
123978
123979
123980
123981
123982
123983
123984
123985
123986
123987
123988
123989
123990
123991
123992
123993
123994
123995
123996
123997
123998
123999
124000
124001
124002
124003
124004
124005
124006
124007
124008
124009
124010
124011
124012
124013
124014
124015
124016
124017
124018
124019
124020
124021
124022
124023
124024
124025
124026
124027
124028
124029
124030
124031
124032
124033
124034
124035
124036
124037
124038
124039
124040
124041
124042
124043
124044
124045
124046
124047
124048
124049
124050
124051
124052
124053
124054
124055
124056
124057
124058
124059
124060
124061
124062
124063
124064
124065
124066
124067
124068
124069
124070
124071
124072
124073
124074
124075
124076
124077
124078
124079
124080
124081
124082
124083
124084
124085
124086
124087
124088
124089
124090
124091
124092
124093
124094
124095
124096
124097
124098
124099
124100
124101
124102
124103
124104
124105
124106
124107
124108
124109
124110
124111
124112
124113
124114
124115
124116
124117
124118
124119
124120
124121
124122
124123
124124
124125
124126
124127
124128
124129
124130
124131
124132
124133
124134
124135
124136
124137
124138
124139
124140
124141
124142
124143
124144
124145
124146
124147
124148
124149
124150
124151
124152
124153
124154
124155
124156
124157
124158
124159
124160
124161
124162
124163
124164
124165
124166
124167
124168
124169
124170
124171
124172
124173
124174
124175
124176
124177
124178
124179
124180
124181
124182
124183
124184
124185
124186
124187
124188
124189
124190
124191
124192
124193
124194
124195
124196
124197
124198
124199
124200
124201
124202
124203
124204
124205
124206
124207
124208
124209
124210
124211
124212
124213
124214
124215
124216
124217
124218
124219
124220
124221
124222
124223
124224
124225
124226
124227
124228
124229
124230
124231
124232
124233
124234
124235
124236
124237
124238
124239
124240
124241
124242
124243
124244
124245
124246
124247
124248
124249
124250
124251
124252
124253
124254
124255
124256
124257
124258
124259
124260
124261
124262
124263
124264
124265
124266
124267
124268
124269
124270
124271
124272
124273
124274
124275
124276
124277
124278
124279
124280
124281
124282
124283
124284
124285
124286
124287
124288
124289
124290
124291
124292
124293
124294
124295
124296
124297
124298
124299
124300
124301
124302
124303
124304
124305
124306
124307
124308
124309
124310
124311
124312
124313
124314
124315
124316
124317
124318
124319
124320
124321
124322
124323
124324
124325
124326
124327
124328
124329
124330
124331
124332
124333
124334
124335
124336
124337
124338
124339
124340
124341
124342
124343
124344
124345
124346
124347
124348
124349
124350
124351
124352
124353
124354
124355
124356
124357
124358
124359
124360
124361
124362
124363
124364
124365
124366
124367
124368
124369
124370
124371
124372
124373
124374
124375
124376
124377
124378
124379
124380
124381
124382
124383
124384
124385
124386
124387
124388
124389
124390
124391
124392
124393
124394
124395
124396
124397
124398
124399
124400
124401
124402
124403
124404
124405
124406
124407
124408
124409
124410
124411
124412
124413
124414
124415
124416
124417
124418
124419
124420
124421
124422
124423
124424
124425
124426
124427
124428
124429
124430
124431
124432
124433
124434
124435
124436
124437
124438
124439
124440
124441
124442
124443
124444
124445
124446
124447
124448
124449
124450
124451
124452
124453
124454
124455
124456
124457
124458
124459
124460
124461
124462
124463
124464
124465
124466
124467
124468
124469
124470
124471
124472
124473
124474
124475
124476
124477
124478
124479
124480
124481
124482
124483
124484
124485
124486
124487
124488
124489
124490
124491
124492
124493
124494
124495
124496
124497
124498
124499
124500
124501
124502
124503
124504
124505
124506
124507
124508
124509
124510
124511
124512
124513
124514
124515
124516
124517
124518
124519
124520
124521
124522
124523
124524
124525
124526
124527
124528
124529
124530
124531
124532
124533
124534
124535
124536
124537
124538
124539
124540
124541
124542
124543
124544
124545
124546
124547
124548
124549
124550
124551
124552
124553
124554
124555
124556
124557
124558
124559
124560
124561
124562
124563
124564
124565
124566
124567
124568
124569
124570
124571
124572
124573
124574
124575
124576
124577
124578
124579
124580
124581
124582
124583
124584
124585
124586
124587
124588
124589
124590
124591
124592
124593
124594
124595
124596
124597
124598
124599
124600
124601
124602
124603
124604
124605
124606
124607
124608
124609
124610
124611
124612
124613
124614
124615
124616
124617
124618
124619
124620
124621
124622
124623
124624
124625
124626
124627
124628
124629
124630
124631
124632
124633
124634
124635
124636
124637
124638
124639
124640
124641
124642
124643
124644
124645
124646
124647
124648
124649
124650
124651
124652
124653
124654
124655
124656
124657
124658
124659
124660
124661
124662
124663
124664
124665
124666
124667
124668
124669
124670
124671
124672
124673
124674
124675
124676
124677
124678
124679
124680
124681
124682
124683
124684
124685
124686
124687
124688
124689
124690
124691
124692
124693
124694
124695
124696
124697
124698
124699
124700
124701
124702
124703
124704
124705
124706
124707
124708
124709
124710
124711
124712
124713
124714
124715
124716
124717
124718
124719
124720
124721
124722
124723
124724
124725
124726
124727
124728
124729
124730
124731
124732
124733
124734
124735
124736
124737
124738
124739
124740
124741
124742
124743
124744
124745
124746
124747
124748
124749
124750
124751
124752
124753
124754
124755
124756
124757
124758
124759
124760
124761
124762
124763
124764
124765
124766
124767
124768
124769
124770
124771
124772
124773
124774
124775
124776
124777
124778
124779
124780
124781
124782
124783
124784
124785
124786
124787
124788
124789
124790
124791
124792
124793
124794
124795
124796
124797
124798
124799
124800
124801
124802
124803
124804
124805
124806
124807
124808
124809
124810
124811
124812
124813
124814
124815
124816
124817
124818
124819
124820
124821
124822
124823
124824
124825
124826
124827
124828
124829
124830
124831
124832
124833
124834
124835
124836
124837
124838
124839
124840
124841
124842
124843
124844
124845
124846
124847
124848
124849
124850
124851
124852
124853
124854
124855
124856
124857
124858
124859
124860
124861
124862
124863
124864
124865
124866
124867
124868
124869
124870
124871
124872
124873
124874
124875
124876
124877
124878
124879
124880
124881
124882
124883
124884
124885
124886
124887
124888
124889
124890
124891
124892
124893
124894
124895
124896
124897
124898
124899
124900
124901
124902
124903
124904
124905
124906
124907
124908
124909
124910
124911
124912
124913
124914
124915
124916
124917
124918
124919
124920
124921
124922
124923
124924
124925
124926
124927
124928
124929
124930
124931
124932
124933
124934
124935
124936
124937
124938
124939
124940
124941
124942
124943
124944
124945
124946
124947
124948
124949
124950
124951
124952
124953
124954
124955
124956
124957
124958
124959
124960
124961
124962
124963
124964
124965
124966
124967
124968
124969
124970
124971
124972
124973
124974
124975
124976
124977
124978
124979
124980
124981
124982
124983
124984
124985
124986
124987
124988
124989
124990
124991
124992
124993
124994
124995
124996
124997
124998
124999
125000
125001
125002
125003
125004
125005
125006
125007
125008
125009
125010
125011
125012
125013
125014
125015
125016
125017
125018
125019
125020
125021
125022
125023
125024
125025
125026
125027
125028
125029
125030
125031
125032
125033
125034
125035
125036
125037
125038
125039
125040
125041
125042
125043
125044
125045
125046
125047
125048
125049
125050
125051
125052
125053
125054
125055
125056
125057
125058
125059
125060
125061
125062
125063
125064
125065
125066
125067
125068
125069
125070
125071
125072
125073
125074
125075
125076
125077
125078
125079
125080
125081
125082
125083
125084
125085
125086
125087
125088
125089
125090
125091
125092
125093
125094
125095
125096
125097
125098
125099
125100
125101
125102
125103
125104
125105
125106
125107
125108
125109
125110
125111
125112
125113
125114
125115
125116
125117
125118
125119
125120
125121
125122
125123
125124
125125
125126
125127
125128
125129
125130
125131
125132
125133
125134
125135
125136
125137
125138
125139
125140
125141
125142
125143
125144
125145
125146
125147
125148
125149
125150
125151
125152
125153
125154
125155
125156
125157
125158
125159
125160
125161
125162
125163
125164
125165
125166
125167
125168
125169
125170
125171
125172
125173
125174
125175
125176
125177
125178
125179
125180
125181
125182
125183
125184
125185
125186
125187
125188
125189
125190
125191
125192
125193
125194
125195
125196
125197
125198
125199
125200
125201
125202
125203
125204
125205
125206
125207
125208
125209
125210
125211
125212
125213
125214
125215
125216
125217
125218
125219
125220
125221
125222
125223
125224
125225
125226
125227
125228
125229
125230
125231
125232
125233
125234
125235
125236
125237
125238
125239
125240
125241
125242
125243
125244
125245
125246
125247
125248
125249
125250
125251
125252
125253
125254
125255
125256
125257
125258
125259
125260
125261
125262
125263
125264
125265
125266
125267
125268
125269
125270
125271
125272
125273
125274
125275
125276
125277
125278
125279
125280
125281
125282
125283
125284
125285
125286
125287
125288
125289
125290
125291
125292
125293
125294
125295
125296
125297
125298
125299
125300
125301
125302
125303
125304
125305
125306
125307
125308
125309
125310
125311
125312
125313
125314
125315
125316
125317
125318
125319
125320
125321
125322
125323
125324
125325
125326
125327
125328
125329
125330
125331
125332
125333
125334
125335
125336
125337
125338
125339
125340
125341
125342
125343
125344
125345
125346
125347
125348
125349
125350
125351
125352
125353
125354
125355
125356
125357
125358
125359
125360
125361
125362
125363
125364
125365
125366
125367
125368
125369
125370
125371
125372
125373
125374
125375
125376
125377
125378
125379
125380
125381
125382
125383
125384
125385
125386
125387
125388
125389
125390
125391
125392
125393
125394
125395
125396
125397
125398
125399
125400
125401
125402
125403
125404
125405
125406
125407
125408
125409
125410
125411
125412
125413
125414
125415
125416
125417
125418
125419
125420
125421
125422
125423
125424
125425
125426
125427
125428
125429
125430
125431
125432
125433
125434
125435
125436
125437
125438
125439
125440
125441
125442
125443
125444
125445
125446
125447
125448
125449
125450
125451
125452
125453
125454
125455
125456
125457
125458
125459
125460
125461
125462
125463
125464
125465
125466
125467
125468
125469
125470
125471
125472
125473
125474
125475
125476
125477
125478
125479
125480
125481
125482
125483
125484
125485
125486
125487
125488
125489
125490
125491
125492
125493
125494
125495
125496
125497
125498
125499
125500
125501
125502
125503
125504
125505
125506
125507
125508
125509
125510
125511
125512
125513
125514
125515
125516
125517
125518
125519
125520
125521
125522
125523
125524
125525
125526
125527
125528
125529
125530
125531
125532
125533
125534
125535
125536
125537
125538
125539
125540
125541
125542
125543
125544
125545
125546
125547
125548
125549
125550
125551
125552
125553
125554
125555
125556
125557
125558
125559
125560
125561
125562
125563
125564
125565
125566
125567
125568
125569
125570
125571
125572
125573
125574
125575
125576
125577
125578
125579
125580
125581
125582
125583
125584
125585
125586
125587
125588
125589
125590
125591
125592
125593
125594
125595
125596
125597
125598
125599
125600
125601
125602
125603
125604
125605
125606
125607
125608
125609
125610
125611
125612
125613
125614
125615
125616
125617
125618
125619
125620
125621
125622
125623
125624
125625
125626
125627
125628
125629
125630
125631
125632
125633
125634
125635
125636
125637
125638
125639
125640
125641
125642
125643
125644
125645
125646
125647
125648
125649
125650
125651
125652
125653
125654
125655
125656
125657
125658
125659
125660
125661
125662
125663
125664
125665
125666
125667
125668
125669
125670
125671
125672
125673
125674
125675
125676
125677
125678
125679
125680
125681
125682
125683
125684
125685
125686
125687
125688
125689
125690
125691
125692
125693
125694
125695
125696
125697
125698
125699
125700
125701
125702
125703
125704
125705
125706
125707
125708
125709
125710
125711
125712
125713
125714
125715
125716
125717
125718
125719
125720
125721
125722
125723
125724
125725
125726
125727
125728
125729
125730
125731
125732
125733
125734
125735
125736
125737
125738
125739
125740
125741
125742
125743
125744
125745
125746
125747
125748
125749
125750
125751
125752
125753
125754
125755
125756
125757
125758
125759
125760
125761
125762
125763
125764
125765
125766
125767
125768
125769
125770
125771
125772
125773
125774
125775
125776
125777
125778
125779
125780
125781
125782
125783
125784
125785
125786
125787
125788
125789
125790
125791
125792
125793
125794
125795
125796
125797
125798
125799
125800
125801
125802
125803
125804
125805
125806
125807
125808
125809
125810
125811
125812
125813
125814
125815
125816
125817
125818
125819
125820
125821
125822
125823
125824
125825
125826
125827
125828
125829
125830
125831
125832
125833
125834
125835
125836
125837
125838
125839
125840
125841
125842
125843
125844
125845
125846
125847
125848
125849
125850
125851
125852
125853
125854
125855
125856
125857
125858
125859
125860
125861
125862
125863
125864
125865
125866
125867
125868
125869
125870
125871
125872
125873
125874
125875
125876
125877
125878
125879
125880
125881
125882
125883
125884
125885
125886
125887
125888
125889
125890
125891
125892
125893
125894
125895
125896
125897
125898
125899
125900
125901
125902
125903
125904
125905
125906
125907
125908
125909
125910
125911
125912
125913
125914
125915
125916
125917
125918
125919
125920
125921
125922
125923
125924
125925
125926
125927
125928
125929
125930
125931
125932
125933
125934
125935
125936
125937
125938
125939
125940
125941
125942
125943
125944
125945
125946
125947
125948
125949
125950
125951
125952
125953
125954
125955
125956
125957
125958
125959
125960
125961
125962
125963
125964
125965
125966
125967
125968
125969
125970
125971
125972
125973
125974
125975
125976
125977
125978
125979
125980
125981
125982
125983
125984
125985
125986
125987
125988
125989
125990
125991
125992
125993
125994
125995
125996
125997
125998
125999
126000
126001
126002
126003
126004
126005
126006
126007
126008
126009
126010
126011
126012
126013
126014
126015
126016
126017
126018
126019
126020
126021
126022
126023
126024
126025
126026
126027
126028
126029
126030
126031
126032
126033
126034
126035
126036
126037
126038
126039
126040
126041
126042
126043
126044
126045
126046
126047
126048
126049
126050
126051
126052
126053
126054
126055
126056
126057
126058
126059
126060
126061
126062
126063
126064
126065
126066
126067
126068
126069
126070
126071
126072
126073
126074
126075
126076
126077
126078
126079
126080
126081
126082
126083
126084
126085
126086
126087
126088
126089
126090
126091
126092
126093
126094
126095
126096
126097
126098
126099
126100
126101
126102
126103
126104
126105
126106
126107
126108
126109
126110
126111
126112
126113
126114
126115
126116
126117
126118
126119
126120
126121
126122
126123
126124
126125
126126
126127
126128
126129
126130
126131
126132
126133
126134
126135
126136
126137
126138
126139
126140
126141
126142
126143
126144
126145
126146
126147
126148
126149
126150
126151
126152
126153
126154
126155
126156
126157
126158
126159
126160
126161
126162
126163
126164
126165
126166
126167
126168
126169
126170
126171
126172
126173
126174
126175
126176
126177
126178
126179
126180
126181
126182
126183
126184
126185
126186
126187
126188
126189
126190
126191
126192
126193
126194
126195
126196
126197
126198
126199
126200
126201
126202
126203
126204
126205
126206
126207
126208
126209
126210
126211
126212
126213
126214
126215
126216
126217
126218
126219
126220
126221
126222
126223
126224
126225
126226
126227
126228
126229
126230
126231
126232
126233
126234
126235
126236
126237
126238
126239
126240
126241
126242
126243
126244
126245
126246
126247
126248
126249
126250
126251
126252
126253
126254
126255
126256
126257
126258
126259
126260
126261
126262
126263
126264
126265
126266
126267
126268
126269
126270
126271
126272
126273
126274
126275
126276
126277
126278
126279
126280
126281
126282
126283
126284
126285
126286
126287
126288
126289
126290
126291
126292
126293
126294
126295
126296
126297
126298
126299
126300
126301
126302
126303
126304
126305
126306
126307
126308
126309
126310
126311
126312
126313
126314
126315
126316
126317
126318
126319
126320
126321
126322
126323
126324
126325
126326
126327
126328
126329
126330
126331
126332
126333
126334
126335
126336
126337
126338
126339
126340
126341
126342
126343
126344
126345
126346
126347
126348
126349
126350
126351
126352
126353
126354
126355
126356
126357
126358
126359
126360
126361
126362
126363
126364
126365
126366
126367
126368
126369
126370
126371
126372
126373
126374
126375
126376
126377
126378
126379
126380
126381
126382
126383
126384
126385
126386
126387
126388
126389
126390
126391
126392
126393
126394
126395
126396
126397
126398
126399
126400
126401
126402
126403
126404
126405
126406
126407
126408
126409
126410
126411
126412
126413
126414
126415
126416
126417
126418
126419
126420
126421
126422
126423
126424
126425
126426
126427
126428
126429
126430
126431
126432
126433
126434
126435
126436
126437
126438
126439
126440
126441
126442
126443
126444
126445
126446
126447
126448
126449
126450
126451
126452
126453
126454
126455
126456
126457
126458
126459
126460
126461
126462
126463
126464
126465
126466
126467
126468
126469
126470
126471
126472
126473
126474
126475
126476
126477
126478
126479
126480
126481
126482
126483
126484
126485
126486
126487
126488
126489
126490
126491
126492
126493
126494
126495
126496
126497
126498
126499
126500
126501
126502
126503
126504
126505
126506
126507
126508
126509
126510
126511
126512
126513
126514
126515
126516
126517
126518
126519
126520
126521
126522
126523
126524
126525
126526
126527
126528
126529
126530
126531
126532
126533
126534
126535
126536
126537
126538
126539
126540
126541
126542
126543
126544
126545
126546
126547
126548
126549
126550
126551
126552
126553
126554
126555
126556
126557
126558
126559
126560
126561
126562
126563
126564
126565
126566
126567
126568
126569
126570
126571
126572
126573
126574
126575
126576
126577
126578
126579
126580
126581
126582
126583
126584
126585
126586
126587
126588
126589
126590
126591
126592
126593
126594
126595
126596
126597
126598
126599
126600
126601
126602
126603
126604
126605
126606
126607
126608
126609
126610
126611
126612
126613
126614
126615
126616
126617
126618
126619
126620
126621
126622
126623
126624
126625
126626
126627
126628
126629
126630
126631
126632
126633
126634
126635
126636
126637
126638
126639
126640
126641
126642
126643
126644
126645
126646
126647
126648
126649
126650
126651
126652
126653
126654
126655
126656
126657
126658
126659
126660
126661
126662
126663
126664
126665
126666
126667
126668
126669
126670
126671
126672
126673
126674
126675
126676
126677
126678
126679
126680
126681
126682
126683
126684
126685
126686
126687
126688
126689
126690
126691
126692
126693
126694
126695
126696
126697
126698
126699
126700
126701
126702
126703
126704
126705
126706
126707
126708
126709
126710
126711
126712
126713
126714
126715
126716
126717
126718
126719
126720
126721
126722
126723
126724
126725
126726
126727
126728
126729
126730
126731
126732
126733
126734
126735
126736
126737
126738
126739
126740
126741
126742
126743
126744
126745
126746
126747
126748
126749
126750
126751
126752
126753
126754
126755
126756
126757
126758
126759
126760
126761
126762
126763
126764
126765
126766
126767
126768
126769
126770
126771
126772
126773
126774
126775
126776
126777
126778
126779
126780
126781
126782
126783
126784
126785
126786
126787
126788
126789
126790
126791
126792
126793
126794
126795
126796
126797
126798
126799
126800
126801
126802
126803
126804
126805
126806
126807
126808
126809
126810
126811
126812
126813
126814
126815
126816
126817
126818
126819
126820
126821
126822
126823
126824
126825
126826
126827
126828
126829
126830
126831
126832
126833
126834
126835
126836
126837
126838
126839
126840
126841
126842
126843
126844
126845
126846
126847
126848
126849
126850
126851
126852
126853
126854
126855
126856
126857
126858
126859
126860
126861
126862
126863
126864
126865
126866
126867
126868
126869
126870
126871
126872
126873
126874
126875
126876
126877
126878
126879
126880
126881
126882
126883
126884
126885
126886
126887
126888
126889
126890
126891
126892
126893
126894
126895
126896
126897
126898
126899
126900
126901
126902
126903
126904
126905
126906
126907
126908
126909
126910
126911
126912
126913
126914
126915
126916
126917
126918
126919
126920
126921
126922
126923
126924
126925
126926
126927
126928
126929
126930
126931
126932
126933
126934
126935
126936
126937
126938
126939
126940
126941
126942
126943
126944
126945
126946
126947
126948
126949
126950
126951
126952
126953
126954
126955
126956
126957
126958
126959
126960
126961
126962
126963
126964
126965
126966
126967
126968
126969
126970
126971
126972
126973
126974
126975
126976
126977
126978
126979
126980
126981
126982
126983
126984
126985
126986
126987
126988
126989
126990
126991
126992
126993
126994
126995
126996
126997
126998
126999
127000
127001
127002
127003
127004
127005
127006
127007
127008
127009
127010
127011
127012
127013
127014
127015
127016
127017
127018
127019
127020
127021
127022
127023
127024
127025
127026
127027
127028
127029
127030
127031
127032
127033
127034
127035
127036
127037
127038
127039
127040
127041
127042
127043
127044
127045
127046
127047
127048
127049
127050
127051
127052
127053
127054
127055
127056
127057
127058
127059
127060
127061
127062
127063
127064
127065
127066
127067
127068
127069
127070
127071
127072
127073
127074
127075
127076
127077
127078
127079
127080
127081
127082
127083
127084
127085
127086
127087
127088
127089
127090
127091
127092
127093
127094
127095
127096
127097
127098
127099
127100
127101
127102
127103
127104
127105
127106
127107
127108
127109
127110
127111
127112
127113
127114
127115
127116
127117
127118
127119
127120
127121
127122
127123
127124
127125
127126
127127
127128
127129
127130
127131
127132
127133
127134
127135
127136
127137
127138
127139
127140
127141
127142
127143
127144
127145
127146
127147
127148
127149
127150
127151
127152
127153
127154
127155
127156
127157
127158
127159
127160
127161
127162
127163
127164
127165
127166
127167
127168
127169
127170
127171
127172
127173
127174
127175
127176
127177
127178
127179
127180
127181
127182
127183
127184
127185
127186
127187
127188
127189
127190
127191
127192
127193
127194
127195
127196
127197
127198
127199
127200
127201
127202
127203
127204
127205
127206
127207
127208
127209
127210
127211
127212
127213
127214
127215
127216
127217
127218
127219
127220
127221
127222
127223
127224
127225
127226
127227
127228
127229
127230
127231
127232
127233
127234
127235
127236
127237
127238
127239
127240
127241
127242
127243
127244
127245
127246
127247
127248
127249
127250
127251
127252
127253
127254
127255
127256
127257
127258
127259
127260
127261
127262
127263
127264
127265
127266
127267
127268
127269
127270
127271
127272
127273
127274
127275
127276
127277
127278
127279
127280
127281
127282
127283
127284
127285
127286
127287
127288
127289
127290
127291
127292
127293
127294
127295
127296
127297
127298
127299
127300
127301
127302
127303
127304
127305
127306
127307
127308
127309
127310
127311
127312
127313
127314
127315
127316
127317
127318
127319
127320
127321
127322
127323
127324
127325
127326
127327
127328
127329
127330
127331
127332
127333
127334
127335
127336
127337
127338
127339
127340
127341
127342
127343
127344
127345
127346
127347
127348
127349
127350
127351
127352
127353
127354
127355
127356
127357
127358
127359
127360
127361
127362
127363
127364
127365
127366
127367
127368
127369
127370
127371
127372
127373
127374
127375
127376
127377
127378
127379
127380
127381
127382
127383
127384
127385
127386
127387
127388
127389
127390
127391
127392
127393
127394
127395
127396
127397
127398
127399
127400
127401
127402
127403
127404
127405
127406
127407
127408
127409
127410
127411
127412
127413
127414
127415
127416
127417
127418
127419
127420
127421
127422
127423
127424
127425
127426
127427
127428
127429
127430
127431
127432
127433
127434
127435
127436
127437
127438
127439
127440
127441
127442
127443
127444
127445
127446
127447
127448
127449
127450
127451
127452
127453
127454
127455
127456
127457
127458
127459
127460
127461
127462
127463
127464
127465
127466
127467
127468
127469
127470
127471
127472
127473
127474
127475
127476
127477
127478
127479
127480
127481
127482
127483
127484
127485
127486
127487
127488
127489
127490
127491
127492
127493
127494
127495
127496
127497
127498
127499
127500
127501
127502
127503
127504
127505
127506
127507
127508
127509
127510
127511
127512
127513
127514
127515
127516
127517
127518
127519
127520
127521
127522
127523
127524
127525
127526
127527
127528
127529
127530
127531
127532
127533
127534
127535
127536
127537
127538
127539
127540
127541
127542
127543
127544
127545
127546
127547
127548
127549
127550
127551
127552
127553
127554
127555
127556
127557
127558
127559
127560
127561
127562
127563
127564
127565
127566
127567
127568
127569
127570
127571
127572
127573
127574
127575
127576
127577
127578
127579
127580
127581
127582
127583
127584
127585
127586
127587
127588
127589
127590
127591
127592
127593
127594
127595
127596
127597
127598
127599
127600
127601
127602
127603
127604
127605
127606
127607
127608
127609
127610
127611
127612
127613
127614
127615
127616
127617
127618
127619
127620
127621
127622
127623
127624
127625
127626
127627
127628
127629
127630
127631
127632
127633
127634
127635
127636
127637
127638
127639
127640
127641
127642
127643
127644
127645
127646
127647
127648
127649
127650
127651
127652
127653
127654
127655
127656
127657
127658
127659
127660
127661
127662
127663
127664
127665
127666
127667
127668
127669
127670
127671
127672
127673
127674
127675
127676
127677
127678
127679
127680
127681
127682
127683
127684
127685
127686
127687
127688
127689
127690
127691
127692
127693
127694
127695
127696
127697
127698
127699
127700
127701
127702
127703
127704
127705
127706
127707
127708
127709
127710
127711
127712
127713
127714
127715
127716
127717
127718
127719
127720
127721
127722
127723
127724
127725
127726
127727
127728
127729
127730
127731
127732
127733
127734
127735
127736
127737
127738
127739
127740
127741
127742
127743
127744
127745
127746
127747
127748
127749
127750
127751
127752
127753
127754
127755
127756
127757
127758
127759
127760
127761
127762
127763
127764
127765
127766
127767
127768
127769
127770
127771
127772
127773
127774
127775
127776
127777
127778
127779
127780
127781
127782
127783
127784
127785
127786
127787
127788
127789
127790
127791
127792
127793
127794
127795
127796
127797
127798
127799
127800
127801
127802
127803
127804
127805
127806
127807
127808
127809
127810
127811
127812
127813
127814
127815
127816
127817
127818
127819
127820
127821
127822
127823
127824
127825
127826
127827
127828
127829
127830
127831
127832
127833
127834
127835
127836
127837
127838
127839
127840
127841
127842
127843
127844
127845
127846
127847
127848
127849
127850
127851
127852
127853
127854
127855
127856
127857
127858
127859
127860
127861
127862
127863
127864
127865
127866
127867
127868
127869
127870
127871
127872
127873
127874
127875
127876
127877
127878
127879
127880
127881
127882
127883
127884
127885
127886
127887
127888
127889
127890
127891
127892
127893
127894
127895
127896
127897
127898
127899
127900
127901
127902
127903
127904
127905
127906
127907
127908
127909
127910
127911
127912
127913
127914
127915
127916
127917
127918
127919
127920
127921
127922
127923
127924
127925
127926
127927
127928
127929
127930
127931
127932
127933
127934
127935
127936
127937
127938
127939
127940
127941
127942
127943
127944
127945
127946
127947
127948
127949
127950
127951
127952
127953
127954
127955
127956
127957
127958
127959
127960
127961
127962
127963
127964
127965
127966
127967
127968
127969
127970
127971
127972
127973
127974
127975
127976
127977
127978
127979
127980
127981
127982
127983
127984
127985
127986
127987
127988
127989
127990
127991
127992
127993
127994
127995
127996
127997
127998
127999
128000
128001
128002
128003
128004
128005
128006
128007
128008
128009
128010
128011
128012
128013
128014
128015
128016
128017
128018
128019
128020
128021
128022
128023
128024
128025
128026
128027
128028
128029
128030
128031
128032
128033
128034
128035
128036
128037
128038
128039
128040
128041
128042
128043
128044
128045
128046
128047
128048
128049
128050
128051
128052
128053
128054
128055
128056
128057
128058
128059
128060
128061
128062
128063
128064
128065
128066
128067
128068
128069
128070
128071
128072
128073
128074
128075
128076
128077
128078
128079
128080
128081
128082
128083
128084
128085
128086
128087
128088
128089
128090
128091
128092
128093
128094
128095
128096
128097
128098
128099
128100
128101
128102
128103
128104
128105
128106
128107
128108
128109
128110
128111
128112
128113
128114
128115
128116
128117
128118
128119
128120
128121
128122
128123
128124
128125
128126
128127
128128
128129
128130
128131
128132
128133
128134
128135
128136
128137
128138
128139
128140
128141
128142
128143
128144
128145
128146
128147
128148
128149
128150
128151
128152
128153
128154
128155
128156
128157
128158
128159
128160
128161
128162
128163
128164
128165
128166
128167
128168
128169
128170
128171
128172
128173
128174
128175
128176
128177
128178
128179
128180
128181
128182
128183
128184
128185
128186
128187
128188
128189
128190
128191
128192
128193
128194
128195
128196
128197
128198
128199
128200
128201
128202
128203
128204
128205
128206
128207
128208
128209
128210
128211
128212
128213
128214
128215
128216
128217
128218
128219
128220
128221
128222
128223
128224
128225
128226
128227
128228
128229
128230
128231
128232
128233
128234
128235
128236
128237
128238
128239
128240
128241
128242
128243
128244
128245
128246
128247
128248
128249
128250
128251
128252
128253
128254
128255
128256
128257
128258
128259
128260
128261
128262
128263
128264
128265
128266
128267
128268
128269
128270
128271
128272
128273
128274
128275
128276
128277
128278
128279
128280
128281
128282
128283
128284
128285
128286
128287
128288
128289
128290
128291
128292
128293
128294
128295
128296
128297
128298
128299
128300
128301
128302
128303
128304
128305
128306
128307
128308
128309
128310
128311
128312
128313
128314
128315
128316
128317
128318
128319
128320
128321
128322
128323
128324
128325
128326
128327
128328
128329
128330
128331
128332
128333
128334
128335
128336
128337
128338
128339
128340
128341
128342
128343
128344
128345
128346
128347
128348
128349
128350
128351
128352
128353
128354
128355
128356
128357
128358
128359
128360
128361
128362
128363
128364
128365
128366
128367
128368
128369
128370
128371
128372
128373
128374
128375
128376
128377
128378
128379
128380
128381
128382
128383
128384
128385
128386
128387
128388
128389
128390
128391
128392
128393
128394
128395
128396
128397
128398
128399
128400
128401
128402
128403
128404
128405
128406
128407
128408
128409
128410
128411
128412
128413
128414
128415
128416
128417
128418
128419
128420
128421
128422
128423
128424
128425
128426
128427
128428
128429
128430
128431
128432
128433
128434
128435
128436
128437
128438
128439
128440
128441
128442
128443
128444
128445
128446
128447
128448
128449
128450
128451
128452
128453
128454
128455
128456
128457
128458
128459
128460
128461
128462
128463
128464
128465
128466
128467
128468
128469
128470
128471
128472
128473
128474
128475
128476
128477
128478
128479
128480
128481
128482
128483
128484
128485
128486
128487
128488
128489
128490
128491
128492
128493
128494
128495
128496
128497
128498
128499
128500
128501
128502
128503
128504
128505
128506
128507
128508
128509
128510
128511
128512
128513
128514
128515
128516
128517
128518
128519
128520
128521
128522
128523
128524
128525
128526
128527
128528
128529
128530
128531
128532
128533
128534
128535
128536
128537
128538
128539
128540
128541
128542
128543
128544
128545
128546
128547
128548
128549
128550
128551
128552
128553
128554
128555
128556
128557
128558
128559
128560
128561
128562
128563
128564
128565
128566
128567
128568
128569
128570
128571
128572
128573
128574
128575
128576
128577
128578
128579
128580
128581
128582
128583
128584
128585
128586
128587
128588
128589
128590
128591
128592
128593
128594
128595
128596
128597
128598
128599
128600
128601
128602
128603
128604
128605
128606
128607
128608
128609
128610
128611
128612
128613
128614
128615
128616
128617
128618
128619
128620
128621
128622
128623
128624
128625
128626
128627
128628
128629
128630
128631
128632
128633
128634
128635
128636
128637
128638
128639
128640
128641
128642
128643
128644
128645
128646
128647
128648
128649
128650
128651
128652
128653
128654
128655
128656
128657
128658
128659
128660
128661
128662
128663
128664
128665
128666
128667
128668
128669
128670
128671
128672
128673
128674
128675
128676
128677
128678
128679
128680
128681
128682
128683
128684
128685
128686
128687
128688
128689
128690
128691
128692
128693
128694
128695
128696
128697
128698
128699
128700
128701
128702
128703
128704
128705
128706
128707
128708
128709
128710
128711
128712
128713
128714
128715
128716
128717
128718
128719
128720
128721
128722
128723
128724
128725
128726
128727
128728
128729
128730
128731
128732
128733
128734
128735
128736
128737
128738
128739
128740
128741
128742
128743
128744
128745
128746
128747
128748
128749
128750
128751
128752
128753
128754
128755
128756
128757
128758
128759
128760
128761
128762
128763
128764
128765
128766
128767
128768
128769
128770
128771
128772
128773
128774
128775
128776
128777
128778
128779
128780
128781
128782
128783
128784
128785
128786
128787
128788
128789
128790
128791
128792
128793
128794
128795
128796
128797
128798
128799
128800
128801
128802
128803
128804
128805
128806
128807
128808
128809
128810
128811
128812
128813
128814
128815
128816
128817
128818
128819
128820
128821
128822
128823
128824
128825
128826
128827
128828
128829
128830
128831
128832
128833
128834
128835
128836
128837
128838
128839
128840
128841
128842
128843
128844
128845
128846
128847
128848
128849
128850
128851
128852
128853
128854
128855
128856
128857
128858
128859
128860
128861
128862
128863
128864
128865
128866
128867
128868
128869
128870
128871
128872
128873
128874
128875
128876
128877
128878
128879
128880
128881
128882
128883
128884
128885
128886
128887
128888
128889
128890
128891
128892
128893
128894
128895
128896
128897
128898
128899
128900
128901
128902
128903
128904
128905
128906
128907
128908
128909
128910
128911
128912
128913
128914
128915
128916
128917
128918
128919
128920
128921
128922
128923
128924
128925
128926
128927
128928
128929
128930
128931
128932
128933
128934
128935
128936
128937
128938
128939
128940
128941
128942
128943
128944
128945
128946
128947
128948
128949
128950
128951
128952
128953
128954
128955
128956
128957
128958
128959
128960
128961
128962
128963
128964
128965
128966
128967
128968
128969
128970
128971
128972
128973
128974
128975
128976
128977
128978
128979
128980
128981
128982
128983
128984
128985
128986
128987
128988
128989
128990
128991
128992
128993
128994
128995
128996
128997
128998
128999
129000
129001
129002
129003
129004
129005
129006
129007
129008
129009
129010
129011
129012
129013
129014
129015
129016
129017
129018
129019
129020
129021
129022
129023
129024
129025
129026
129027
129028
129029
129030
129031
129032
129033
129034
129035
129036
129037
129038
129039
129040
129041
129042
129043
129044
129045
129046
129047
129048
129049
129050
129051
129052
129053
129054
129055
129056
129057
129058
129059
129060
129061
129062
129063
129064
129065
129066
129067
129068
129069
129070
129071
129072
129073
129074
129075
129076
129077
129078
129079
129080
129081
129082
129083
129084
129085
129086
129087
129088
129089
129090
129091
129092
129093
129094
129095
129096
129097
129098
129099
129100
129101
129102
129103
129104
129105
129106
129107
129108
129109
129110
129111
129112
129113
129114
129115
129116
129117
129118
129119
129120
129121
129122
129123
129124
129125
129126
129127
129128
129129
129130
129131
129132
129133
129134
129135
129136
129137
129138
129139
129140
129141
129142
129143
129144
129145
129146
129147
129148
129149
129150
129151
129152
129153
129154
129155
129156
129157
129158
129159
129160
129161
129162
129163
129164
129165
129166
129167
129168
129169
129170
129171
129172
129173
129174
129175
129176
129177
129178
129179
129180
129181
129182
129183
129184
129185
129186
129187
129188
129189
129190
129191
129192
129193
129194
129195
129196
129197
129198
129199
129200
129201
129202
129203
129204
129205
129206
129207
129208
129209
129210
129211
129212
129213
129214
129215
129216
129217
129218
129219
129220
129221
129222
129223
129224
129225
129226
129227
129228
129229
129230
129231
129232
129233
129234
129235
129236
129237
129238
129239
129240
129241
129242
129243
129244
129245
129246
129247
129248
129249
129250
129251
129252
129253
129254
129255
129256
129257
129258
129259
129260
129261
129262
129263
129264
129265
129266
129267
129268
129269
129270
129271
129272
129273
129274
129275
129276
129277
129278
129279
129280
129281
129282
129283
129284
129285
129286
129287
129288
129289
129290
129291
129292
129293
129294
129295
129296
129297
129298
129299
129300
129301
129302
129303
129304
129305
129306
129307
129308
129309
129310
129311
129312
129313
129314
129315
129316
129317
129318
129319
129320
129321
129322
129323
129324
129325
129326
129327
129328
129329
129330
129331
129332
129333
129334
129335
129336
129337
129338
129339
129340
129341
129342
129343
129344
129345
129346
129347
129348
129349
129350
129351
129352
129353
129354
129355
129356
129357
129358
129359
129360
129361
129362
129363
129364
129365
129366
129367
129368
129369
129370
129371
129372
129373
129374
129375
129376
129377
129378
129379
129380
129381
129382
129383
129384
129385
129386
129387
129388
129389
129390
129391
129392
129393
129394
129395
129396
129397
129398
129399
129400
129401
129402
129403
129404
129405
129406
129407
129408
129409
129410
129411
129412
129413
129414
129415
129416
129417
129418
129419
129420
129421
129422
129423
129424
129425
129426
129427
129428
129429
129430
129431
129432
129433
129434
129435
129436
129437
129438
129439
129440
129441
129442
129443
129444
129445
129446
129447
129448
129449
129450
129451
129452
129453
129454
129455
129456
129457
129458
129459
129460
129461
129462
129463
129464
129465
129466
129467
129468
129469
129470
129471
129472
129473
129474
129475
129476
129477
129478
129479
129480
129481
129482
129483
129484
129485
129486
129487
129488
129489
129490
129491
129492
129493
129494
129495
129496
129497
129498
129499
129500
129501
129502
129503
129504
129505
129506
129507
129508
129509
129510
129511
129512
129513
129514
129515
129516
129517
129518
129519
129520
129521
129522
129523
129524
129525
129526
129527
129528
129529
129530
129531
129532
129533
129534
129535
129536
129537
129538
129539
129540
129541
129542
129543
129544
129545
129546
129547
129548
129549
129550
129551
129552
129553
129554
129555
129556
129557
129558
129559
129560
129561
129562
129563
129564
129565
129566
129567
129568
129569
129570
129571
129572
129573
129574
129575
129576
129577
129578
129579
129580
129581
129582
129583
129584
129585
129586
129587
129588
129589
129590
129591
129592
129593
129594
129595
129596
129597
129598
129599
129600
129601
129602
129603
129604
129605
129606
129607
129608
129609
129610
129611
129612
129613
129614
129615
129616
129617
129618
129619
129620
129621
129622
129623
129624
129625
129626
129627
129628
129629
129630
129631
129632
129633
129634
129635
129636
129637
129638
129639
129640
129641
129642
129643
129644
129645
129646
129647
129648
129649
129650
129651
129652
129653
129654
129655
129656
129657
129658
129659
129660
129661
129662
129663
129664
129665
129666
129667
129668
129669
129670
129671
129672
129673
129674
129675
129676
129677
129678
129679
129680
129681
129682
129683
129684
129685
129686
129687
129688
129689
129690
129691
129692
129693
129694
129695
129696
129697
129698
129699
129700
129701
129702
129703
129704
129705
129706
129707
129708
129709
129710
129711
129712
129713
129714
129715
129716
129717
129718
129719
129720
129721
129722
129723
129724
129725
129726
129727
129728
129729
129730
129731
129732
129733
129734
129735
129736
129737
129738
129739
129740
129741
129742
129743
129744
129745
129746
129747
129748
129749
129750
129751
129752
129753
129754
129755
129756
129757
129758
129759
129760
129761
129762
129763
129764
129765
129766
129767
129768
129769
129770
129771
129772
129773
129774
129775
129776
129777
129778
129779
129780
129781
129782
129783
129784
129785
129786
129787
129788
129789
129790
129791
129792
129793
129794
129795
129796
129797
129798
129799
129800
129801
129802
129803
129804
129805
129806
129807
129808
129809
129810
129811
129812
129813
129814
129815
129816
129817
129818
129819
129820
129821
129822
129823
129824
129825
129826
129827
129828
129829
129830
129831
129832
129833
129834
129835
129836
129837
129838
129839
129840
129841
129842
129843
129844
129845
129846
129847
129848
129849
129850
129851
129852
129853
129854
129855
129856
129857
129858
129859
129860
129861
129862
129863
129864
129865
129866
129867
129868
129869
129870
129871
129872
129873
129874
129875
129876
129877
129878
129879
129880
129881
129882
129883
129884
129885
129886
129887
129888
129889
129890
129891
129892
129893
129894
129895
129896
129897
129898
129899
129900
129901
129902
129903
129904
129905
129906
129907
129908
129909
129910
129911
129912
129913
129914
129915
129916
129917
129918
129919
129920
129921
129922
129923
129924
129925
129926
129927
129928
129929
129930
129931
129932
129933
129934
129935
129936
129937
129938
129939
129940
129941
129942
129943
129944
129945
129946
129947
129948
129949
129950
129951
129952
129953
129954
129955
129956
129957
129958
129959
129960
129961
129962
129963
129964
129965
129966
129967
129968
129969
129970
129971
129972
129973
129974
129975
129976
129977
129978
129979
129980
129981
129982
129983
129984
129985
129986
129987
129988
129989
129990
129991
129992
129993
129994
129995
129996
129997
129998
129999
130000
130001
130002
130003
130004
130005
130006
130007
130008
130009
130010
130011
130012
130013
130014
130015
130016
130017
130018
130019
130020
130021
130022
130023
130024
130025
130026
130027
130028
130029
130030
130031
130032
130033
130034
130035
130036
130037
130038
130039
130040
130041
130042
130043
130044
130045
130046
130047
130048
130049
130050
130051
130052
130053
130054
130055
130056
130057
130058
130059
130060
130061
130062
130063
130064
130065
130066
130067
130068
130069
130070
130071
130072
130073
130074
130075
130076
130077
130078
130079
130080
130081
130082
130083
130084
130085
130086
130087
130088
130089
130090
130091
130092
130093
130094
130095
130096
130097
130098
130099
130100
130101
130102
130103
130104
130105
130106
130107
130108
130109
130110
130111
130112
130113
130114
130115
130116
130117
130118
130119
130120
130121
130122
130123
130124
130125
130126
130127
130128
130129
130130
130131
130132
130133
130134
130135
130136
130137
130138
130139
130140
130141
130142
130143
130144
130145
130146
130147
130148
130149
130150
130151
130152
130153
130154
130155
130156
130157
130158
130159
130160
130161
130162
130163
130164
130165
130166
130167
130168
130169
130170
130171
130172
130173
130174
130175
130176
130177
130178
130179
130180
130181
130182
130183
130184
130185
130186
130187
130188
130189
130190
130191
130192
130193
130194
130195
130196
130197
130198
130199
130200
130201
130202
130203
130204
130205
130206
130207
130208
130209
130210
130211
130212
130213
130214
130215
130216
130217
130218
130219
130220
130221
130222
130223
130224
130225
130226
130227
130228
130229
130230
130231
130232
130233
130234
130235
130236
130237
130238
130239
130240
130241
130242
130243
130244
130245
130246
130247
130248
130249
130250
130251
130252
130253
130254
130255
130256
130257
130258
130259
130260
130261
130262
130263
130264
130265
130266
130267
130268
130269
130270
130271
130272
130273
130274
130275
130276
130277
130278
130279
130280
130281
130282
130283
130284
130285
130286
130287
130288
130289
130290
130291
130292
130293
130294
130295
130296
130297
130298
130299
130300
130301
130302
130303
130304
130305
130306
130307
130308
130309
130310
130311
130312
130313
130314
130315
130316
130317
130318
130319
130320
130321
130322
130323
130324
130325
130326
130327
130328
130329
130330
130331
130332
130333
130334
130335
130336
130337
130338
130339
130340
130341
130342
130343
130344
130345
130346
130347
130348
130349
130350
130351
130352
130353
130354
130355
130356
130357
130358
130359
130360
130361
130362
130363
130364
130365
130366
130367
130368
130369
130370
130371
130372
130373
130374
130375
130376
130377
130378
130379
130380
130381
130382
130383
130384
130385
130386
130387
130388
130389
130390
130391
130392
130393
130394
130395
130396
130397
130398
130399
130400
130401
130402
130403
130404
130405
130406
130407
130408
130409
130410
130411
130412
130413
130414
130415
130416
130417
130418
130419
130420
130421
130422
130423
130424
130425
130426
130427
130428
130429
130430
130431
130432
130433
130434
130435
130436
130437
130438
130439
130440
130441
130442
130443
130444
130445
130446
130447
130448
130449
130450
130451
130452
130453
130454
130455
130456
130457
130458
130459
130460
130461
130462
130463
130464
130465
130466
130467
130468
130469
130470
130471
130472
130473
130474
130475
130476
130477
130478
130479
130480
130481
130482
130483
130484
130485
130486
130487
130488
130489
130490
130491
130492
130493
130494
130495
130496
130497
130498
130499
130500
130501
130502
130503
130504
130505
130506
130507
130508
130509
130510
130511
130512
130513
130514
130515
130516
130517
130518
130519
130520
130521
130522
130523
130524
130525
130526
130527
130528
130529
130530
130531
130532
130533
130534
130535
130536
130537
130538
130539
130540
130541
130542
130543
130544
130545
130546
130547
130548
130549
130550
130551
130552
130553
130554
130555
130556
130557
130558
130559
130560
130561
130562
130563
130564
130565
130566
130567
130568
130569
130570
130571
130572
130573
130574
130575
130576
130577
130578
130579
130580
130581
130582
130583
130584
130585
130586
130587
130588
130589
130590
130591
130592
130593
130594
130595
130596
130597
130598
130599
130600
130601
130602
130603
130604
130605
130606
130607
130608
130609
130610
130611
130612
130613
130614
130615
130616
130617
130618
130619
130620
130621
130622
130623
130624
130625
130626
130627
130628
130629
130630
130631
130632
130633
130634
130635
130636
130637
130638
130639
130640
130641
130642
130643
130644
130645
130646
130647
130648
130649
130650
130651
130652
130653
130654
130655
130656
130657
130658
130659
130660
130661
130662
130663
130664
130665
130666
130667
130668
130669
130670
130671
130672
130673
130674
130675
130676
130677
130678
130679
130680
130681
130682
130683
130684
130685
130686
130687
130688
130689
130690
130691
130692
130693
130694
130695
130696
130697
130698
130699
130700
130701
130702
130703
130704
130705
130706
130707
130708
130709
130710
130711
130712
130713
130714
130715
130716
130717
130718
130719
130720
130721
130722
130723
130724
130725
130726
130727
130728
130729
130730
130731
130732
130733
130734
130735
130736
130737
130738
130739
130740
130741
130742
130743
130744
130745
130746
130747
130748
130749
130750
130751
130752
130753
130754
130755
130756
130757
130758
130759
130760
130761
130762
130763
130764
130765
130766
130767
130768
130769
130770
130771
130772
130773
130774
130775
130776
130777
130778
130779
130780
130781
130782
130783
130784
130785
130786
130787
130788
130789
130790
130791
130792
130793
130794
130795
130796
130797
130798
130799
130800
130801
130802
130803
130804
130805
130806
130807
130808
130809
130810
130811
130812
130813
130814
130815
130816
130817
130818
130819
130820
130821
130822
130823
130824
130825
130826
130827
130828
130829
130830
130831
130832
130833
130834
130835
130836
130837
130838
130839
130840
130841
130842
130843
130844
130845
130846
130847
130848
130849
130850
130851
130852
130853
130854
130855
130856
130857
130858
130859
130860
130861
130862
130863
130864
130865
130866
130867
130868
130869
130870
130871
130872
130873
130874
130875
130876
130877
130878
130879
130880
130881
130882
130883
130884
130885
130886
130887
130888
130889
130890
130891
130892
130893
130894
130895
130896
130897
130898
130899
130900
130901
130902
130903
130904
130905
130906
130907
130908
130909
130910
130911
130912
130913
130914
130915
130916
130917
130918
130919
130920
130921
130922
130923
130924
130925
130926
130927
130928
130929
130930
130931
130932
130933
130934
130935
130936
130937
130938
130939
130940
130941
130942
130943
130944
130945
130946
130947
130948
130949
130950
130951
130952
130953
130954
130955
130956
130957
130958
130959
130960
130961
130962
130963
130964
130965
130966
130967
130968
130969
130970
130971
130972
130973
130974
130975
130976
130977
130978
130979
130980
130981
130982
130983
130984
130985
130986
130987
130988
130989
130990
130991
130992
130993
130994
130995
130996
130997
130998
130999
131000
131001
131002
131003
131004
131005
131006
131007
131008
131009
131010
131011
131012
131013
131014
131015
131016
131017
131018
131019
131020
131021
131022
131023
131024
131025
131026
131027
131028
131029
131030
131031
131032
131033
131034
131035
131036
131037
131038
131039
131040
131041
131042
131043
131044
131045
131046
131047
131048
131049
131050
131051
131052
131053
131054
131055
131056
131057
131058
131059
131060
131061
131062
131063
131064
131065
131066
131067
131068
131069
131070
131071
131072
131073
131074
131075
131076
131077
131078
131079
131080
131081
131082
131083
131084
131085
131086
131087
131088
131089
131090
131091
131092
131093
131094
131095
131096
131097
131098
131099
131100
131101
131102
131103
131104
131105
131106
131107
131108
131109
131110
131111
131112
131113
131114
131115
131116
131117
131118
131119
131120
131121
131122
131123
131124
131125
131126
131127
131128
131129
131130
131131
131132
131133
131134
131135
131136
131137
131138
131139
131140
131141
131142
131143
131144
131145
131146
131147
131148
131149
131150
131151
131152
131153
131154
131155
131156
131157
131158
131159
131160
131161
131162
131163
131164
131165
131166
131167
131168
131169
131170
131171
131172
131173
131174
131175
131176
131177
131178
131179
131180
131181
131182
131183
131184
131185
131186
131187
131188
131189
131190
131191
131192
131193
131194
131195
131196
131197
131198
131199
131200
131201
131202
131203
131204
131205
131206
131207
131208
131209
131210
131211
131212
131213
131214
131215
131216
131217
131218
131219
131220
131221
131222
131223
131224
131225
131226
131227
131228
131229
131230
131231
131232
131233
131234
131235
131236
131237
131238
131239
131240
131241
131242
131243
131244
131245
131246
131247
131248
131249
131250
131251
131252
131253
131254
131255
131256
131257
131258
131259
131260
131261
131262
131263
131264
131265
131266
131267
131268
131269
131270
131271
131272
131273
131274
131275
131276
131277
131278
131279
131280
131281
131282
131283
131284
131285
131286
131287
131288
131289
131290
131291
131292
131293
131294
131295
131296
131297
131298
131299
131300
131301
131302
131303
131304
131305
131306
131307
131308
131309
131310
131311
131312
131313
131314
131315
131316
131317
131318
131319
131320
131321
131322
131323
131324
131325
131326
131327
131328
131329
131330
131331
131332
131333
131334
131335
131336
131337
131338
131339
131340
131341
131342
131343
131344
131345
131346
131347
131348
131349
131350
131351
131352
131353
131354
131355
131356
131357
131358
131359
131360
131361
131362
131363
131364
131365
131366
131367
131368
131369
131370
131371
131372
131373
131374
131375
131376
131377
131378
131379
131380
131381
131382
131383
131384
131385
131386
131387
131388
131389
131390
131391
131392
131393
131394
131395
131396
131397
131398
131399
131400
131401
131402
131403
131404
131405
131406
131407
131408
131409
131410
131411
131412
131413
131414
131415
131416
131417
131418
131419
131420
131421
131422
131423
131424
131425
131426
131427
131428
131429
131430
131431
131432
131433
131434
131435
131436
131437
131438
131439
131440
131441
131442
131443
131444
131445
131446
131447
131448
131449
131450
131451
131452
131453
131454
131455
131456
131457
131458
131459
131460
131461
131462
131463
131464
131465
131466
131467
131468
131469
131470
131471
131472
131473
131474
131475
131476
131477
131478
131479
131480
131481
131482
131483
131484
131485
131486
131487
131488
131489
131490
131491
131492
131493
131494
131495
131496
131497
131498
131499
131500
131501
131502
131503
131504
131505
131506
131507
131508
131509
131510
131511
131512
131513
131514
131515
131516
131517
131518
131519
131520
131521
131522
131523
131524
131525
131526
131527
131528
131529
131530
131531
131532
131533
131534
131535
131536
131537
131538
131539
131540
131541
131542
131543
131544
131545
131546
131547
131548
131549
131550
131551
131552
131553
131554
131555
131556
131557
131558
131559
131560
131561
131562
131563
131564
131565
131566
131567
131568
131569
131570
131571
131572
131573
131574
131575
131576
131577
131578
131579
131580
131581
131582
131583
131584
131585
131586
131587
131588
131589
131590
131591
131592
131593
131594
131595
131596
131597
131598
131599
131600
131601
131602
131603
131604
131605
131606
131607
131608
131609
131610
131611
131612
131613
131614
131615
131616
131617
131618
131619
131620
131621
131622
131623
131624
131625
131626
131627
131628
131629
131630
131631
131632
131633
131634
131635
131636
131637
131638
131639
131640
131641
131642
131643
131644
131645
131646
131647
131648
131649
131650
131651
131652
131653
131654
131655
131656
131657
131658
131659
131660
131661
131662
131663
131664
131665
131666
131667
131668
131669
131670
131671
131672
131673
131674
131675
131676
131677
131678
131679
131680
131681
131682
131683
131684
131685
131686
131687
131688
131689
131690
131691
131692
131693
131694
131695
131696
131697
131698
131699
131700
131701
131702
131703
131704
131705
131706
131707
131708
131709
131710
131711
131712
131713
131714
131715
131716
131717
131718
131719
131720
131721
131722
131723
131724
131725
131726
131727
131728
131729
131730
131731
131732
131733
131734
131735
131736
131737
131738
131739
131740
131741
131742
131743
131744
131745
131746
131747
131748
131749
131750
131751
131752
131753
131754
131755
131756
131757
131758
131759
131760
131761
131762
131763
131764
131765
131766
131767
131768
131769
131770
131771
131772
131773
131774
131775
131776
131777
131778
131779
131780
131781
131782
131783
131784
131785
131786
131787
131788
131789
131790
131791
131792
131793
131794
131795
131796
131797
131798
131799
131800
131801
131802
131803
131804
131805
131806
131807
131808
131809
131810
131811
131812
131813
131814
131815
131816
131817
131818
131819
131820
131821
131822
131823
131824
131825
131826
131827
131828
131829
131830
131831
131832
131833
131834
131835
131836
131837
131838
131839
131840
131841
131842
131843
131844
131845
131846
131847
131848
131849
131850
131851
131852
131853
131854
131855
131856
131857
131858
131859
131860
131861
131862
131863
131864
131865
131866
131867
131868
131869
131870
131871
131872
131873
131874
131875
131876
131877
131878
131879
131880
131881
131882
131883
131884
131885
131886
131887
131888
131889
131890
131891
131892
131893
131894
131895
131896
131897
131898
131899
131900
131901
131902
131903
131904
131905
131906
131907
131908
131909
131910
131911
131912
131913
131914
131915
131916
131917
131918
131919
131920
131921
131922
131923
131924
131925
131926
131927
131928
131929
131930
131931
131932
131933
131934
131935
131936
131937
131938
131939
131940
131941
131942
131943
131944
131945
131946
131947
131948
131949
131950
131951
131952
131953
131954
131955
131956
131957
131958
131959
131960
131961
131962
131963
131964
131965
131966
131967
131968
131969
131970
131971
131972
131973
131974
131975
131976
131977
131978
131979
131980
131981
131982
131983
131984
131985
131986
131987
131988
131989
131990
131991
131992
131993
131994
131995
131996
131997
131998
131999
132000
132001
132002
132003
132004
132005
132006
132007
132008
132009
132010
132011
132012
132013
132014
132015
132016
132017
132018
132019
132020
132021
132022
132023
132024
132025
132026
132027
132028
132029
132030
132031
132032
132033
132034
132035
132036
132037
132038
132039
132040
132041
132042
132043
132044
132045
132046
132047
132048
132049
132050
132051
132052
132053
132054
132055
132056
132057
132058
132059
132060
132061
132062
132063
132064
132065
132066
132067
132068
132069
132070
132071
132072
132073
132074
132075
132076
132077
132078
132079
132080
132081
132082
132083
132084
132085
132086
132087
132088
132089
132090
132091
132092
132093
132094
132095
132096
132097
132098
132099
132100
132101
132102
132103
132104
132105
132106
132107
132108
132109
132110
132111
132112
132113
132114
132115
132116
132117
132118
132119
132120
132121
132122
132123
132124
132125
132126
132127
132128
132129
132130
132131
132132
132133
132134
132135
132136
132137
132138
132139
132140
132141
132142
132143
132144
132145
132146
132147
132148
132149
132150
132151
132152
132153
132154
132155
132156
132157
132158
132159
132160
132161
132162
132163
132164
132165
132166
132167
132168
132169
132170
132171
132172
132173
132174
132175
132176
132177
132178
132179
132180
132181
132182
132183
132184
132185
132186
132187
132188
132189
132190
132191
132192
132193
132194
132195
132196
132197
132198
132199
132200
132201
132202
132203
132204
132205
132206
132207
132208
132209
132210
132211
132212
132213
132214
132215
132216
132217
132218
132219
132220
132221
132222
132223
132224
132225
132226
132227
132228
132229
132230
132231
132232
132233
132234
132235
132236
132237
132238
132239
132240
132241
132242
132243
132244
132245
132246
132247
132248
132249
132250
132251
132252
132253
132254
132255
132256
132257
132258
132259
132260
132261
132262
132263
132264
132265
132266
132267
132268
132269
132270
132271
132272
132273
132274
132275
132276
132277
132278
132279
132280
132281
132282
132283
132284
132285
132286
132287
132288
132289
132290
132291
132292
132293
132294
132295
132296
132297
132298
132299
132300
132301
132302
132303
132304
132305
132306
132307
132308
132309
132310
132311
132312
132313
132314
132315
132316
132317
132318
132319
132320
132321
132322
132323
132324
132325
132326
132327
132328
132329
132330
132331
132332
132333
132334
132335
132336
132337
132338
132339
132340
132341
132342
132343
132344
132345
132346
132347
132348
132349
132350
132351
132352
132353
132354
132355
132356
132357
132358
132359
132360
132361
132362
132363
132364
132365
132366
132367
132368
132369
132370
132371
132372
132373
132374
132375
132376
132377
132378
132379
132380
132381
132382
132383
132384
132385
132386
132387
132388
132389
132390
132391
132392
132393
132394
132395
132396
132397
132398
132399
132400
132401
132402
132403
132404
132405
132406
132407
132408
132409
132410
132411
132412
132413
132414
132415
132416
132417
132418
132419
132420
132421
132422
132423
132424
132425
132426
132427
132428
132429
132430
132431
132432
132433
132434
132435
132436
132437
132438
132439
132440
132441
132442
132443
132444
132445
132446
132447
132448
132449
132450
132451
132452
132453
132454
132455
132456
132457
132458
132459
132460
132461
132462
132463
132464
132465
132466
132467
132468
132469
132470
132471
132472
132473
132474
132475
132476
132477
132478
132479
132480
132481
132482
132483
132484
132485
132486
132487
132488
132489
132490
132491
132492
132493
132494
132495
132496
132497
132498
132499
132500
132501
132502
132503
132504
132505
132506
132507
132508
132509
132510
132511
132512
132513
132514
132515
132516
132517
132518
132519
132520
132521
132522
132523
132524
132525
132526
132527
132528
132529
132530
132531
132532
132533
132534
132535
132536
132537
132538
132539
132540
132541
132542
132543
132544
132545
132546
132547
132548
132549
132550
132551
132552
132553
132554
132555
132556
132557
132558
132559
132560
132561
132562
132563
132564
132565
132566
132567
132568
132569
132570
132571
132572
132573
132574
132575
132576
132577
132578
132579
132580
132581
132582
132583
132584
132585
132586
132587
132588
132589
132590
132591
132592
132593
132594
132595
132596
132597
132598
132599
132600
132601
132602
132603
132604
132605
132606
132607
132608
132609
132610
132611
132612
132613
132614
132615
132616
132617
132618
132619
132620
132621
132622
132623
132624
132625
132626
132627
132628
132629
132630
132631
132632
132633
132634
132635
132636
132637
132638
132639
132640
132641
132642
132643
132644
132645
132646
132647
132648
132649
132650
132651
132652
132653
132654
132655
132656
132657
132658
132659
132660
132661
132662
132663
132664
132665
132666
132667
132668
132669
132670
132671
132672
132673
132674
132675
132676
132677
132678
132679
132680
132681
132682
132683
132684
132685
132686
132687
132688
132689
132690
132691
132692
132693
132694
132695
132696
132697
132698
132699
132700
132701
132702
132703
132704
132705
132706
132707
132708
132709
132710
132711
132712
132713
132714
132715
132716
132717
132718
132719
132720
132721
132722
132723
132724
132725
132726
132727
132728
132729
132730
132731
132732
132733
132734
132735
132736
132737
132738
132739
132740
132741
132742
132743
132744
132745
132746
132747
132748
132749
132750
132751
132752
132753
132754
132755
132756
132757
132758
132759
132760
132761
132762
132763
132764
132765
132766
132767
132768
132769
132770
132771
132772
132773
132774
132775
132776
132777
132778
132779
132780
132781
132782
132783
132784
132785
132786
132787
132788
132789
132790
132791
132792
132793
132794
132795
132796
132797
132798
132799
132800
132801
132802
132803
132804
132805
132806
132807
132808
132809
132810
132811
132812
132813
132814
132815
132816
132817
132818
132819
132820
132821
132822
132823
132824
132825
132826
132827
132828
132829
132830
132831
132832
132833
132834
132835
132836
132837
132838
132839
132840
132841
132842
132843
132844
132845
132846
132847
132848
132849
132850
132851
132852
132853
132854
132855
132856
132857
132858
132859
132860
132861
132862
132863
132864
132865
132866
132867
132868
132869
132870
132871
132872
132873
132874
132875
132876
132877
132878
132879
132880
132881
132882
132883
132884
132885
132886
132887
132888
132889
132890
132891
132892
132893
132894
132895
132896
132897
132898
132899
132900
132901
132902
132903
132904
132905
132906
132907
132908
132909
132910
132911
132912
132913
132914
132915
132916
132917
132918
132919
132920
132921
132922
132923
132924
132925
132926
132927
132928
132929
132930
132931
132932
132933
132934
132935
132936
132937
132938
132939
132940
132941
132942
132943
132944
132945
132946
132947
132948
132949
132950
132951
132952
132953
132954
132955
132956
132957
132958
132959
132960
132961
132962
132963
132964
132965
132966
132967
132968
132969
132970
132971
132972
132973
132974
132975
132976
132977
132978
132979
132980
132981
132982
132983
132984
132985
132986
132987
132988
132989
132990
132991
132992
132993
132994
132995
132996
132997
132998
132999
133000
133001
133002
133003
133004
133005
133006
133007
133008
133009
133010
133011
133012
133013
133014
133015
133016
133017
133018
133019
133020
133021
133022
133023
133024
133025
133026
133027
133028
133029
133030
133031
133032
133033
133034
133035
133036
133037
133038
133039
133040
133041
133042
133043
133044
133045
133046
133047
133048
133049
133050
133051
133052
133053
133054
133055
133056
133057
133058
133059
133060
133061
133062
133063
133064
133065
133066
133067
133068
133069
133070
133071
133072
133073
133074
133075
133076
133077
133078
133079
133080
133081
133082
133083
133084
133085
133086
133087
133088
133089
133090
133091
133092
133093
133094
133095
133096
133097
133098
133099
133100
133101
133102
133103
133104
133105
133106
133107
133108
133109
133110
133111
133112
133113
133114
133115
133116
133117
133118
133119
133120
133121
133122
133123
133124
133125
133126
133127
133128
133129
133130
133131
133132
133133
133134
133135
133136
133137
133138
133139
133140
133141
133142
133143
133144
133145
133146
133147
133148
133149
133150
133151
133152
133153
133154
133155
133156
133157
133158
133159
133160
133161
133162
133163
133164
133165
133166
133167
133168
133169
133170
133171
133172
133173
133174
133175
133176
133177
133178
133179
133180
133181
133182
133183
133184
133185
133186
133187
133188
133189
133190
133191
133192
133193
133194
133195
133196
133197
133198
133199
133200
133201
133202
133203
133204
133205
133206
133207
133208
133209
133210
133211
133212
133213
133214
133215
133216
133217
133218
133219
133220
133221
133222
133223
133224
133225
133226
133227
133228
133229
133230
133231
133232
133233
133234
133235
133236
133237
133238
133239
133240
133241
133242
133243
133244
133245
133246
133247
133248
133249
133250
133251
133252
133253
133254
133255
133256
133257
133258
133259
133260
133261
133262
133263
133264
133265
133266
133267
133268
133269
133270
133271
133272
133273
133274
133275
133276
133277
133278
133279
133280
133281
133282
133283
133284
133285
133286
133287
133288
133289
133290
133291
133292
133293
133294
133295
133296
133297
133298
133299
133300
133301
133302
133303
133304
133305
133306
133307
133308
133309
133310
133311
133312
133313
133314
133315
133316
133317
133318
133319
133320
133321
133322
133323
133324
133325
133326
133327
133328
133329
133330
133331
133332
133333
133334
133335
133336
133337
133338
133339
133340
133341
133342
133343
133344
133345
133346
133347
133348
133349
133350
133351
133352
133353
133354
133355
133356
133357
133358
133359
133360
133361
133362
133363
133364
133365
133366
133367
133368
133369
133370
133371
133372
133373
133374
133375
133376
133377
133378
133379
133380
133381
133382
133383
133384
133385
133386
133387
133388
133389
133390
133391
133392
133393
133394
133395
133396
133397
133398
133399
133400
133401
133402
133403
133404
133405
133406
133407
133408
133409
133410
133411
133412
133413
133414
133415
133416
133417
133418
133419
133420
133421
133422
133423
133424
133425
133426
133427
133428
133429
133430
133431
133432
133433
133434
133435
133436
133437
133438
133439
133440
133441
133442
133443
133444
133445
133446
133447
133448
133449
133450
133451
133452
133453
133454
133455
133456
133457
133458
133459
133460
133461
133462
133463
133464
133465
133466
133467
133468
133469
133470
133471
133472
133473
133474
133475
133476
133477
133478
133479
133480
133481
133482
133483
133484
133485
133486
133487
133488
133489
133490
133491
133492
133493
133494
133495
133496
133497
133498
133499
133500
133501
133502
133503
133504
133505
133506
133507
133508
133509
133510
133511
133512
133513
133514
133515
133516
133517
133518
133519
133520
133521
133522
133523
133524
133525
133526
133527
133528
133529
133530
133531
133532
133533
133534
133535
133536
133537
133538
133539
133540
133541
133542
133543
133544
133545
133546
133547
133548
133549
133550
133551
133552
133553
133554
133555
133556
133557
133558
133559
133560
133561
133562
133563
133564
133565
133566
133567
133568
133569
133570
133571
133572
133573
133574
133575
133576
133577
133578
133579
133580
133581
133582
133583
133584
133585
133586
133587
133588
133589
133590
133591
133592
133593
133594
133595
133596
133597
133598
133599
133600
133601
133602
133603
133604
133605
133606
133607
133608
133609
133610
133611
133612
133613
133614
133615
133616
133617
133618
133619
133620
133621
133622
133623
133624
133625
133626
133627
133628
133629
133630
133631
133632
133633
133634
133635
133636
133637
133638
133639
133640
133641
133642
133643
133644
133645
133646
133647
133648
133649
133650
133651
133652
133653
133654
133655
133656
133657
133658
133659
133660
133661
133662
133663
133664
133665
133666
133667
133668
133669
133670
133671
133672
133673
133674
133675
133676
133677
133678
133679
133680
133681
133682
133683
133684
133685
133686
133687
133688
133689
133690
133691
133692
133693
133694
133695
133696
133697
133698
133699
133700
133701
133702
133703
133704
133705
133706
133707
133708
133709
133710
133711
133712
133713
133714
133715
133716
133717
133718
133719
133720
133721
133722
133723
133724
133725
133726
133727
133728
133729
133730
133731
133732
133733
133734
133735
133736
133737
133738
133739
133740
133741
133742
133743
133744
133745
133746
133747
133748
133749
133750
133751
133752
133753
133754
133755
133756
133757
133758
133759
133760
133761
133762
133763
133764
133765
133766
133767
133768
133769
133770
133771
133772
133773
133774
133775
133776
133777
133778
133779
133780
133781
133782
133783
133784
133785
133786
133787
133788
133789
133790
133791
133792
133793
133794
133795
133796
133797
133798
133799
133800
133801
133802
133803
133804
133805
133806
133807
133808
133809
133810
133811
133812
133813
133814
133815
133816
133817
133818
133819
133820
133821
133822
133823
133824
133825
133826
133827
133828
133829
133830
133831
133832
133833
133834
133835
133836
133837
133838
133839
133840
133841
133842
133843
133844
133845
133846
133847
133848
133849
133850
133851
133852
133853
133854
133855
133856
133857
133858
133859
133860
133861
133862
133863
133864
133865
133866
133867
133868
133869
133870
133871
133872
133873
133874
133875
133876
133877
133878
133879
133880
133881
133882
133883
133884
133885
133886
133887
133888
133889
133890
133891
133892
133893
133894
133895
133896
133897
133898
133899
133900
133901
133902
133903
133904
133905
133906
133907
133908
133909
133910
133911
133912
133913
133914
133915
133916
133917
133918
133919
133920
133921
133922
133923
133924
133925
133926
133927
133928
133929
133930
133931
133932
133933
133934
133935
133936
133937
133938
133939
133940
133941
133942
133943
133944
133945
133946
133947
133948
133949
133950
133951
133952
133953
133954
133955
133956
133957
133958
133959
133960
133961
133962
133963
133964
133965
133966
133967
133968
133969
133970
133971
133972
133973
133974
133975
133976
133977
133978
133979
133980
133981
133982
133983
133984
133985
133986
133987
133988
133989
133990
133991
133992
133993
133994
133995
133996
133997
133998
133999
134000
134001
134002
134003
134004
134005
134006
134007
134008
134009
134010
134011
134012
134013
134014
134015
134016
134017
134018
134019
134020
134021
134022
134023
134024
134025
134026
134027
134028
134029
134030
134031
134032
134033
134034
134035
134036
134037
134038
134039
134040
134041
134042
134043
134044
134045
134046
134047
134048
134049
134050
134051
134052
134053
134054
134055
134056
134057
134058
134059
134060
134061
134062
134063
134064
134065
134066
134067
134068
134069
134070
134071
134072
134073
134074
134075
134076
134077
134078
134079
134080
134081
134082
134083
134084
134085
134086
134087
134088
134089
134090
134091
134092
134093
134094
134095
134096
134097
134098
134099
134100
134101
134102
134103
134104
134105
134106
134107
134108
134109
134110
134111
134112
134113
134114
134115
134116
134117
134118
134119
134120
134121
134122
134123
134124
134125
134126
134127
134128
134129
134130
134131
134132
134133
134134
134135
134136
134137
134138
134139
134140
134141
134142
134143
134144
134145
134146
134147
134148
134149
134150
134151
134152
134153
134154
134155
134156
134157
134158
134159
134160
134161
134162
134163
134164
134165
134166
134167
134168
134169
134170
134171
134172
134173
134174
134175
134176
134177
134178
134179
134180
134181
134182
134183
134184
134185
134186
134187
134188
134189
134190
134191
134192
134193
134194
134195
134196
134197
134198
134199
134200
134201
134202
134203
134204
134205
134206
134207
134208
134209
134210
134211
134212
134213
134214
134215
134216
134217
134218
134219
134220
134221
134222
134223
134224
134225
134226
134227
134228
134229
134230
134231
134232
134233
134234
134235
134236
134237
134238
134239
134240
134241
134242
134243
134244
134245
134246
134247
134248
134249
134250
134251
134252
134253
134254
134255
134256
134257
134258
134259
134260
134261
134262
134263
134264
134265
134266
134267
134268
134269
134270
134271
134272
134273
134274
134275
134276
134277
134278
134279
134280
134281
134282
134283
134284
134285
134286
134287
134288
134289
134290
134291
134292
134293
134294
134295
134296
134297
134298
134299
134300
134301
134302
134303
134304
134305
134306
134307
134308
134309
134310
134311
134312
134313
134314
134315
134316
134317
134318
134319
134320
134321
134322
134323
134324
134325
134326
134327
134328
134329
134330
134331
134332
134333
134334
134335
134336
134337
134338
134339
134340
134341
134342
134343
134344
134345
134346
134347
134348
134349
134350
134351
134352
134353
134354
134355
134356
134357
134358
134359
134360
134361
134362
134363
134364
134365
134366
134367
134368
134369
134370
134371
134372
134373
134374
134375
134376
134377
134378
134379
134380
134381
134382
134383
134384
134385
134386
134387
134388
134389
134390
134391
134392
134393
134394
134395
134396
134397
134398
134399
134400
134401
134402
134403
134404
134405
134406
134407
134408
134409
134410
134411
134412
134413
134414
134415
134416
134417
134418
134419
134420
134421
134422
134423
134424
134425
134426
134427
134428
134429
134430
134431
134432
134433
134434
134435
134436
134437
134438
134439
134440
134441
134442
134443
134444
134445
134446
134447
134448
134449
134450
134451
134452
134453
134454
134455
134456
134457
134458
134459
134460
134461
134462
134463
134464
134465
134466
134467
134468
134469
134470
134471
134472
134473
134474
134475
134476
134477
134478
134479
134480
134481
134482
134483
134484
134485
134486
134487
134488
134489
134490
134491
134492
134493
134494
134495
134496
134497
134498
134499
134500
134501
134502
134503
134504
134505
134506
134507
134508
134509
134510
134511
134512
134513
134514
134515
134516
134517
134518
134519
134520
134521
134522
134523
134524
134525
134526
134527
134528
134529
134530
134531
134532
134533
134534
134535
134536
134537
134538
134539
134540
134541
134542
134543
134544
134545
134546
134547
134548
134549
134550
134551
134552
134553
134554
134555
134556
134557
134558
134559
134560
134561
134562
134563
134564
134565
134566
134567
134568
134569
134570
134571
134572
134573
134574
134575
134576
134577
134578
134579
134580
134581
134582
134583
134584
134585
134586
134587
134588
134589
134590
134591
134592
134593
134594
134595
134596
134597
134598
134599
134600
134601
134602
134603
134604
134605
134606
134607
134608
134609
134610
134611
134612
134613
134614
134615
134616
134617
134618
134619
134620
134621
134622
134623
134624
134625
134626
134627
134628
134629
134630
134631
134632
134633
134634
134635
134636
134637
134638
134639
134640
134641
134642
134643
134644
134645
134646
134647
134648
134649
134650
134651
134652
134653
134654
134655
134656
134657
134658
134659
134660
134661
134662
134663
134664
134665
134666
134667
134668
134669
134670
134671
134672
134673
134674
134675
134676
134677
134678
134679
134680
134681
134682
134683
134684
134685
134686
134687
134688
134689
134690
134691
134692
134693
134694
134695
134696
134697
134698
134699
134700
134701
134702
134703
134704
134705
134706
134707
134708
134709
134710
134711
134712
134713
134714
134715
134716
134717
134718
134719
134720
134721
134722
134723
134724
134725
134726
134727
134728
134729
134730
134731
134732
134733
134734
134735
134736
134737
134738
134739
134740
134741
134742
134743
134744
134745
134746
134747
134748
134749
134750
134751
134752
134753
134754
134755
134756
134757
134758
134759
134760
134761
134762
134763
134764
134765
134766
134767
134768
134769
134770
134771
134772
134773
134774
134775
134776
134777
134778
134779
134780
134781
134782
134783
134784
134785
134786
134787
134788
134789
134790
134791
134792
134793
134794
134795
134796
134797
134798
134799
134800
134801
134802
134803
134804
134805
134806
134807
134808
134809
134810
134811
134812
134813
134814
134815
134816
134817
134818
134819
134820
134821
134822
134823
134824
134825
134826
134827
134828
134829
134830
134831
134832
134833
134834
134835
134836
134837
134838
134839
134840
134841
134842
134843
134844
134845
134846
134847
134848
134849
134850
134851
134852
134853
134854
134855
134856
134857
134858
134859
134860
134861
134862
134863
134864
134865
134866
134867
134868
134869
134870
134871
134872
134873
134874
134875
134876
134877
134878
134879
134880
134881
134882
134883
134884
134885
134886
134887
134888
134889
134890
134891
134892
134893
134894
134895
134896
134897
134898
134899
134900
134901
134902
134903
134904
134905
134906
134907
134908
134909
134910
134911
134912
134913
134914
134915
134916
134917
134918
134919
134920
134921
134922
134923
134924
134925
134926
134927
134928
134929
134930
134931
134932
134933
134934
134935
134936
134937
134938
134939
134940
134941
134942
134943
134944
134945
134946
134947
134948
134949
134950
134951
134952
134953
134954
134955
134956
134957
134958
134959
134960
134961
134962
134963
134964
134965
134966
134967
134968
134969
134970
134971
134972
134973
134974
134975
134976
134977
134978
134979
134980
134981
134982
134983
134984
134985
134986
134987
134988
134989
134990
134991
134992
134993
134994
134995
134996
134997
134998
134999
135000
135001
135002
135003
135004
135005
135006
135007
135008
135009
135010
135011
135012
135013
135014
135015
135016
135017
135018
135019
135020
135021
135022
135023
135024
135025
135026
135027
135028
135029
135030
135031
135032
135033
135034
135035
135036
135037
135038
135039
135040
135041
135042
135043
135044
135045
135046
135047
135048
135049
135050
135051
135052
135053
135054
135055
135056
135057
135058
135059
135060
135061
135062
135063
135064
135065
135066
135067
135068
135069
135070
135071
135072
135073
135074
135075
135076
135077
135078
135079
135080
135081
135082
135083
135084
135085
135086
135087
135088
135089
135090
135091
135092
135093
135094
135095
135096
135097
135098
135099
135100
135101
135102
135103
135104
135105
135106
135107
135108
135109
135110
135111
135112
135113
135114
135115
135116
135117
135118
135119
135120
135121
135122
135123
135124
135125
135126
135127
135128
135129
135130
135131
135132
135133
135134
135135
135136
135137
135138
135139
135140
135141
135142
135143
135144
135145
135146
135147
135148
135149
135150
135151
135152
135153
135154
135155
135156
135157
135158
135159
135160
135161
135162
135163
135164
135165
135166
135167
135168
135169
135170
135171
135172
135173
135174
135175
135176
135177
135178
135179
135180
135181
135182
135183
135184
135185
135186
135187
135188
135189
135190
135191
135192
135193
135194
135195
135196
135197
135198
135199
135200
135201
135202
135203
135204
135205
135206
135207
135208
135209
135210
135211
135212
135213
135214
135215
135216
135217
135218
135219
135220
135221
135222
135223
135224
135225
135226
135227
135228
135229
135230
135231
135232
135233
135234
135235
135236
135237
135238
135239
135240
135241
135242
135243
135244
135245
135246
135247
135248
135249
135250
135251
135252
135253
135254
135255
135256
135257
135258
135259
135260
135261
135262
135263
135264
135265
135266
135267
135268
135269
135270
135271
135272
135273
135274
135275
135276
135277
135278
135279
135280
135281
135282
135283
135284
135285
135286
135287
135288
135289
135290
135291
135292
135293
135294
135295
135296
135297
135298
135299
135300
135301
135302
135303
135304
135305
135306
135307
135308
135309
135310
135311
135312
135313
135314
135315
135316
135317
135318
135319
135320
135321
135322
135323
135324
135325
135326
135327
135328
135329
135330
135331
135332
135333
135334
135335
135336
135337
135338
135339
135340
135341
135342
135343
135344
135345
135346
135347
135348
135349
135350
135351
135352
135353
135354
135355
135356
135357
135358
135359
135360
135361
135362
135363
135364
135365
135366
135367
135368
135369
135370
135371
135372
135373
135374
135375
135376
135377
135378
135379
135380
135381
135382
135383
135384
135385
135386
135387
135388
135389
135390
135391
135392
135393
135394
135395
135396
135397
135398
135399
135400
135401
135402
135403
135404
135405
135406
135407
135408
135409
135410
135411
135412
135413
135414
135415
135416
135417
135418
135419
135420
135421
135422
135423
135424
135425
135426
135427
135428
135429
135430
135431
135432
135433
135434
135435
135436
135437
135438
135439
135440
135441
135442
135443
135444
135445
135446
135447
135448
135449
135450
135451
135452
135453
135454
135455
135456
135457
135458
135459
135460
135461
135462
135463
135464
135465
135466
135467
135468
135469
135470
135471
135472
135473
135474
135475
135476
135477
135478
135479
135480
135481
135482
135483
135484
135485
135486
135487
135488
135489
135490
135491
135492
135493
135494
135495
135496
135497
135498
135499
135500
135501
135502
135503
135504
135505
135506
135507
135508
135509
135510
135511
135512
135513
135514
135515
135516
135517
135518
135519
135520
135521
135522
135523
135524
135525
135526
135527
135528
135529
135530
135531
135532
135533
135534
135535
135536
135537
135538
135539
135540
135541
135542
135543
135544
135545
135546
135547
135548
135549
135550
135551
135552
135553
135554
135555
135556
135557
135558
135559
135560
135561
135562
135563
135564
135565
135566
135567
135568
135569
135570
135571
135572
135573
135574
135575
135576
135577
135578
135579
135580
135581
135582
135583
135584
135585
135586
135587
135588
135589
135590
135591
135592
135593
135594
135595
135596
135597
135598
135599
135600
135601
135602
135603
135604
135605
135606
135607
135608
135609
135610
135611
135612
135613
135614
135615
135616
135617
135618
135619
135620
135621
135622
135623
135624
135625
135626
135627
135628
135629
135630
135631
135632
135633
135634
135635
135636
135637
135638
135639
135640
135641
135642
135643
135644
135645
135646
135647
135648
135649
135650
135651
135652
135653
135654
135655
135656
135657
135658
135659
135660
135661
135662
135663
135664
135665
135666
135667
135668
135669
135670
135671
135672
135673
135674
135675
135676
135677
135678
135679
135680
135681
135682
135683
135684
135685
135686
135687
135688
135689
135690
135691
135692
135693
135694
135695
135696
135697
135698
135699
135700
135701
135702
135703
135704
135705
135706
135707
135708
135709
135710
135711
135712
135713
135714
135715
135716
135717
135718
135719
135720
135721
135722
135723
135724
135725
135726
135727
135728
135729
135730
135731
135732
135733
135734
135735
135736
135737
135738
135739
135740
135741
135742
135743
135744
135745
135746
135747
135748
135749
135750
135751
135752
135753
135754
135755
135756
135757
135758
135759
135760
135761
135762
135763
135764
135765
135766
135767
135768
135769
135770
135771
135772
135773
135774
135775
135776
135777
135778
135779
135780
135781
135782
135783
135784
135785
135786
135787
135788
135789
135790
135791
135792
135793
135794
135795
135796
135797
135798
135799
135800
135801
135802
135803
135804
135805
135806
135807
135808
135809
135810
135811
135812
135813
135814
135815
135816
135817
135818
135819
135820
135821
135822
135823
135824
135825
135826
135827
135828
135829
135830
135831
135832
135833
135834
135835
135836
135837
135838
135839
135840
135841
135842
135843
135844
135845
135846
135847
135848
135849
135850
135851
135852
135853
135854
135855
135856
135857
135858
135859
135860
135861
135862
135863
135864
135865
135866
135867
135868
135869
135870
135871
135872
135873
135874
135875
135876
135877
135878
135879
135880
135881
135882
135883
135884
135885
135886
135887
135888
135889
135890
135891
135892
135893
135894
135895
135896
135897
135898
135899
135900
135901
135902
135903
135904
135905
135906
135907
135908
135909
135910
135911
135912
135913
135914
135915
135916
135917
135918
135919
135920
135921
135922
135923
135924
135925
135926
135927
135928
135929
135930
135931
135932
135933
135934
135935
135936
135937
135938
135939
135940
135941
135942
135943
135944
135945
135946
135947
135948
135949
135950
135951
135952
135953
135954
135955
135956
135957
135958
135959
135960
135961
135962
135963
135964
135965
135966
135967
135968
135969
135970
135971
135972
135973
135974
135975
135976
135977
135978
135979
135980
135981
135982
135983
135984
135985
135986
135987
135988
135989
135990
135991
135992
135993
135994
135995
135996
135997
135998
135999
136000
136001
136002
136003
136004
136005
136006
136007
136008
136009
136010
136011
136012
136013
136014
136015
136016
136017
136018
136019
136020
136021
136022
136023
136024
136025
136026
136027
136028
136029
136030
136031
136032
136033
136034
136035
136036
136037
136038
136039
136040
136041
136042
136043
136044
136045
136046
136047
136048
136049
136050
136051
136052
136053
136054
136055
136056
136057
136058
136059
136060
136061
136062
136063
136064
136065
136066
136067
136068
136069
136070
136071
136072
136073
136074
136075
136076
136077
136078
136079
136080
136081
136082
136083
136084
136085
136086
136087
136088
136089
136090
136091
136092
136093
136094
136095
136096
136097
136098
136099
136100
136101
136102
136103
136104
136105
136106
136107
136108
136109
136110
136111
136112
136113
136114
136115
136116
136117
136118
136119
136120
136121
136122
136123
136124
136125
136126
136127
136128
136129
136130
136131
136132
136133
136134
136135
136136
136137
136138
136139
136140
136141
136142
136143
136144
136145
136146
136147
136148
136149
136150
136151
136152
136153
136154
136155
136156
136157
136158
136159
136160
136161
136162
136163
136164
136165
136166
136167
136168
136169
136170
136171
136172
136173
136174
136175
136176
136177
136178
136179
136180
136181
136182
136183
136184
136185
136186
136187
136188
136189
136190
136191
136192
136193
136194
136195
136196
136197
136198
136199
136200
136201
136202
136203
136204
136205
136206
136207
136208
136209
136210
136211
136212
136213
136214
136215
136216
136217
136218
136219
136220
136221
136222
136223
136224
136225
136226
136227
136228
136229
136230
136231
136232
136233
136234
136235
136236
136237
136238
136239
136240
136241
136242
136243
136244
136245
136246
136247
136248
136249
136250
136251
136252
136253
136254
136255
136256
136257
136258
136259
136260
136261
136262
136263
136264
136265
136266
136267
136268
136269
136270
136271
136272
136273
136274
136275
136276
136277
136278
136279
136280
136281
136282
136283
136284
136285
136286
136287
136288
136289
136290
136291
136292
136293
136294
136295
136296
136297
136298
136299
136300
136301
136302
136303
136304
136305
136306
136307
136308
136309
136310
136311
136312
136313
136314
136315
136316
136317
136318
136319
136320
136321
136322
136323
136324
136325
136326
136327
136328
136329
136330
136331
136332
136333
136334
136335
136336
136337
136338
136339
136340
136341
136342
136343
136344
136345
136346
136347
136348
136349
136350
136351
136352
136353
136354
136355
136356
136357
136358
136359
136360
136361
136362
136363
136364
136365
136366
136367
136368
136369
136370
136371
136372
136373
136374
136375
136376
136377
136378
136379
136380
136381
136382
136383
136384
136385
136386
136387
136388
136389
136390
136391
136392
136393
136394
136395
136396
136397
136398
136399
136400
136401
136402
136403
136404
136405
136406
136407
136408
136409
136410
136411
136412
136413
136414
136415
136416
136417
136418
136419
136420
136421
136422
136423
136424
136425
136426
136427
136428
136429
136430
136431
136432
136433
136434
136435
136436
136437
136438
136439
136440
136441
136442
136443
136444
136445
136446
136447
136448
136449
136450
136451
136452
136453
136454
136455
136456
136457
136458
136459
136460
136461
136462
136463
136464
136465
136466
136467
136468
136469
136470
136471
136472
136473
136474
136475
136476
136477
136478
136479
136480
136481
136482
136483
136484
136485
136486
136487
136488
136489
136490
136491
136492
136493
136494
136495
136496
136497
136498
136499
136500
136501
136502
136503
136504
136505
136506
136507
136508
136509
136510
136511
136512
136513
136514
136515
136516
136517
136518
136519
136520
136521
136522
136523
136524
136525
136526
136527
136528
136529
136530
136531
136532
136533
136534
136535
136536
136537
136538
136539
136540
136541
136542
136543
136544
136545
136546
136547
136548
136549
136550
136551
136552
136553
136554
136555
136556
136557
136558
136559
136560
136561
136562
136563
136564
136565
136566
136567
136568
136569
136570
136571
136572
136573
136574
136575
136576
136577
136578
136579
136580
136581
136582
136583
136584
136585
136586
136587
136588
136589
136590
136591
136592
136593
136594
136595
136596
136597
136598
136599
136600
136601
136602
136603
136604
136605
136606
136607
136608
136609
136610
136611
136612
136613
136614
136615
136616
136617
136618
136619
136620
136621
136622
136623
136624
136625
136626
136627
136628
136629
136630
136631
136632
136633
136634
136635
136636
136637
136638
136639
136640
136641
136642
136643
136644
136645
136646
136647
136648
136649
136650
136651
136652
136653
136654
136655
136656
136657
136658
136659
136660
136661
136662
136663
136664
136665
136666
136667
136668
136669
136670
136671
136672
136673
136674
136675
136676
136677
136678
136679
136680
136681
136682
136683
136684
136685
136686
136687
136688
136689
136690
136691
136692
136693
136694
136695
136696
136697
136698
136699
136700
136701
136702
136703
136704
136705
136706
136707
136708
136709
136710
136711
136712
136713
136714
136715
136716
136717
136718
136719
136720
136721
136722
136723
136724
136725
136726
136727
136728
136729
136730
136731
136732
136733
136734
136735
136736
136737
136738
136739
136740
136741
136742
136743
136744
136745
136746
136747
136748
136749
136750
136751
136752
136753
136754
136755
136756
136757
136758
136759
136760
136761
136762
136763
136764
136765
136766
136767
136768
136769
136770
136771
136772
136773
136774
136775
136776
136777
136778
136779
136780
136781
136782
136783
136784
136785
136786
136787
136788
136789
136790
136791
136792
136793
136794
136795
136796
136797
136798
136799
136800
136801
136802
136803
136804
136805
136806
136807
136808
136809
136810
136811
136812
136813
136814
136815
136816
136817
136818
136819
136820
136821
136822
136823
136824
136825
136826
136827
136828
136829
136830
136831
136832
136833
136834
136835
136836
136837
136838
136839
136840
136841
136842
136843
136844
136845
136846
136847
136848
136849
136850
136851
136852
136853
136854
136855
136856
136857
136858
136859
136860
136861
136862
136863
136864
136865
136866
136867
136868
136869
136870
136871
136872
136873
136874
136875
136876
136877
136878
136879
136880
136881
136882
136883
136884
136885
136886
136887
136888
136889
136890
136891
136892
136893
136894
136895
136896
136897
136898
136899
136900
136901
136902
136903
136904
136905
136906
136907
136908
136909
136910
136911
136912
136913
136914
136915
136916
136917
136918
136919
136920
136921
136922
136923
136924
136925
136926
136927
136928
136929
136930
136931
136932
136933
136934
136935
136936
136937
136938
136939
136940
136941
136942
136943
136944
136945
136946
136947
136948
136949
136950
136951
136952
136953
136954
136955
136956
136957
136958
136959
136960
136961
136962
136963
136964
136965
136966
136967
136968
136969
136970
136971
136972
136973
136974
136975
136976
136977
136978
136979
136980
136981
136982
136983
136984
136985
136986
136987
136988
136989
136990
136991
136992
136993
136994
136995
136996
136997
136998
136999
137000
137001
137002
137003
137004
137005
137006
137007
137008
137009
137010
137011
137012
137013
137014
137015
137016
137017
137018
137019
137020
137021
137022
137023
137024
137025
137026
137027
137028
137029
137030
137031
137032
137033
137034
137035
137036
137037
137038
137039
137040
137041
137042
137043
137044
137045
137046
137047
137048
137049
137050
137051
137052
137053
137054
137055
137056
137057
137058
137059
137060
137061
137062
137063
137064
137065
137066
137067
137068
137069
137070
137071
137072
137073
137074
137075
137076
137077
137078
137079
137080
137081
137082
137083
137084
137085
137086
137087
137088
137089
137090
137091
137092
137093
137094
137095
137096
137097
137098
137099
137100
137101
137102
137103
137104
137105
137106
137107
137108
137109
137110
137111
137112
137113
137114
137115
137116
137117
137118
137119
137120
137121
137122
137123
137124
137125
137126
137127
137128
137129
137130
137131
137132
137133
137134
137135
137136
137137
137138
137139
137140
137141
137142
137143
137144
137145
137146
137147
137148
137149
137150
137151
137152
137153
137154
137155
137156
137157
137158
137159
137160
137161
137162
137163
137164
137165
137166
137167
137168
137169
137170
137171
137172
137173
137174
137175
137176
137177
137178
137179
137180
137181
137182
137183
137184
137185
137186
137187
137188
137189
137190
137191
137192
137193
137194
137195
137196
137197
137198
137199
137200
137201
137202
137203
137204
137205
137206
137207
137208
137209
137210
137211
137212
137213
137214
137215
137216
137217
137218
137219
137220
137221
137222
137223
137224
137225
137226
137227
137228
137229
137230
137231
137232
137233
137234
137235
137236
137237
137238
137239
137240
137241
137242
137243
137244
137245
137246
137247
137248
137249
137250
137251
137252
137253
137254
137255
137256
137257
137258
137259
137260
137261
137262
137263
137264
137265
137266
137267
137268
137269
137270
137271
137272
137273
137274
137275
137276
137277
137278
137279
137280
137281
137282
137283
137284
137285
137286
137287
137288
137289
137290
137291
137292
137293
137294
137295
137296
137297
137298
137299
137300
137301
137302
137303
137304
137305
137306
137307
137308
137309
137310
137311
137312
137313
137314
137315
137316
137317
137318
137319
137320
137321
137322
137323
137324
137325
137326
137327
137328
137329
137330
137331
137332
137333
137334
137335
137336
137337
137338
137339
137340
137341
137342
137343
137344
137345
137346
137347
137348
137349
137350
137351
137352
137353
137354
137355
137356
137357
137358
137359
137360
137361
137362
137363
137364
137365
137366
137367
137368
137369
137370
137371
137372
137373
137374
137375
137376
137377
137378
137379
137380
137381
137382
137383
137384
137385
137386
137387
137388
137389
137390
137391
137392
137393
137394
137395
137396
137397
137398
137399
137400
137401
137402
137403
137404
137405
137406
137407
137408
137409
137410
137411
137412
137413
137414
137415
137416
137417
137418
137419
137420
137421
137422
137423
137424
137425
137426
137427
137428
137429
137430
137431
137432
137433
137434
137435
137436
137437
137438
137439
137440
137441
137442
137443
137444
137445
137446
137447
137448
137449
137450
137451
137452
137453
137454
137455
137456
137457
137458
137459
137460
137461
137462
137463
137464
137465
137466
137467
137468
137469
137470
137471
137472
137473
137474
137475
137476
137477
137478
137479
137480
137481
137482
137483
137484
137485
137486
137487
137488
137489
137490
137491
137492
137493
137494
137495
137496
137497
137498
137499
137500
137501
137502
137503
137504
137505
137506
137507
137508
137509
137510
137511
137512
137513
137514
137515
137516
137517
137518
137519
137520
137521
137522
137523
137524
137525
137526
137527
137528
137529
137530
137531
137532
137533
137534
137535
137536
137537
137538
137539
137540
137541
137542
137543
137544
137545
137546
137547
137548
137549
137550
137551
137552
137553
137554
137555
137556
137557
137558
137559
137560
137561
137562
137563
137564
137565
137566
137567
137568
137569
137570
137571
137572
137573
137574
137575
137576
137577
137578
137579
137580
137581
137582
137583
137584
137585
137586
137587
137588
137589
137590
137591
137592
137593
137594
137595
137596
137597
137598
137599
137600
137601
137602
137603
137604
137605
137606
137607
137608
137609
137610
137611
137612
137613
137614
137615
137616
137617
137618
137619
137620
137621
137622
137623
137624
137625
137626
137627
137628
137629
137630
137631
137632
137633
137634
137635
137636
137637
137638
137639
137640
137641
137642
137643
137644
137645
137646
137647
137648
137649
137650
137651
137652
137653
137654
137655
137656
137657
137658
137659
137660
137661
137662
137663
137664
137665
137666
137667
137668
137669
137670
137671
137672
137673
137674
137675
137676
137677
137678
137679
137680
137681
137682
137683
137684
137685
137686
137687
137688
137689
137690
137691
137692
137693
137694
137695
137696
137697
137698
137699
137700
137701
137702
137703
137704
137705
137706
137707
137708
137709
137710
137711
137712
137713
137714
137715
137716
137717
137718
137719
137720
137721
137722
137723
137724
137725
137726
137727
137728
137729
137730
137731
137732
137733
137734
137735
137736
137737
137738
137739
137740
137741
137742
137743
137744
137745
137746
137747
137748
137749
137750
137751
137752
137753
137754
137755
137756
137757
137758
137759
137760
137761
137762
137763
137764
137765
137766
137767
137768
137769
137770
137771
137772
137773
137774
137775
137776
137777
137778
137779
137780
137781
137782
137783
137784
137785
137786
137787
137788
137789
137790
137791
137792
137793
137794
137795
137796
137797
137798
137799
137800
137801
137802
137803
137804
137805
137806
137807
137808
137809
137810
137811
137812
137813
137814
137815
137816
137817
137818
137819
137820
137821
137822
137823
137824
137825
137826
137827
137828
137829
137830
137831
137832
137833
137834
137835
137836
137837
137838
137839
137840
137841
137842
137843
137844
137845
137846
137847
137848
137849
137850
137851
137852
137853
137854
137855
137856
137857
137858
137859
137860
137861
137862
137863
137864
137865
137866
137867
137868
137869
137870
137871
137872
137873
137874
137875
137876
137877
137878
137879
137880
137881
137882
137883
137884
137885
137886
137887
137888
137889
137890
137891
137892
137893
137894
137895
137896
137897
137898
137899
137900
137901
137902
137903
137904
137905
137906
137907
137908
137909
137910
137911
137912
137913
137914
137915
137916
137917
137918
137919
137920
137921
137922
137923
137924
137925
137926
137927
137928
137929
137930
137931
137932
137933
137934
137935
137936
137937
137938
137939
137940
137941
137942
137943
137944
137945
137946
137947
137948
137949
137950
137951
137952
137953
137954
137955
137956
137957
137958
137959
137960
137961
137962
137963
137964
137965
137966
137967
137968
137969
137970
137971
137972
137973
137974
137975
137976
137977
137978
137979
137980
137981
137982
137983
137984
137985
137986
137987
137988
137989
137990
137991
137992
137993
137994
137995
137996
137997
137998
137999
138000
138001
138002
138003
138004
138005
138006
138007
138008
138009
138010
138011
138012
138013
138014
138015
138016
138017
138018
138019
138020
138021
138022
138023
138024
138025
138026
138027
138028
138029
138030
138031
138032
138033
138034
138035
138036
138037
138038
138039
138040
138041
138042
138043
138044
138045
138046
138047
138048
138049
138050
138051
138052
138053
138054
138055
138056
138057
138058
138059
138060
138061
138062
138063
138064
138065
138066
138067
138068
138069
138070
138071
138072
138073
138074
138075
138076
138077
138078
138079
138080
138081
138082
138083
138084
138085
138086
138087
138088
138089
138090
138091
138092
138093
138094
138095
138096
138097
138098
138099
138100
138101
138102
138103
138104
138105
138106
138107
138108
138109
138110
138111
138112
138113
138114
138115
138116
138117
138118
138119
138120
138121
138122
138123
138124
138125
138126
138127
138128
138129
138130
138131
138132
138133
138134
138135
138136
138137
138138
138139
138140
138141
138142
138143
138144
138145
138146
138147
138148
138149
138150
138151
138152
138153
138154
138155
138156
138157
138158
138159
138160
138161
138162
138163
138164
138165
138166
138167
138168
138169
138170
138171
138172
138173
138174
138175
138176
138177
138178
138179
138180
138181
138182
138183
138184
138185
138186
138187
138188
138189
138190
138191
138192
138193
138194
138195
138196
138197
138198
138199
138200
138201
138202
138203
138204
138205
138206
138207
138208
138209
138210
138211
138212
138213
138214
138215
138216
138217
138218
138219
138220
138221
138222
138223
138224
138225
138226
138227
138228
138229
138230
138231
138232
138233
138234
138235
138236
138237
138238
138239
138240
138241
138242
138243
138244
138245
138246
138247
138248
138249
138250
138251
138252
138253
138254
138255
138256
138257
138258
138259
138260
138261
138262
138263
138264
138265
138266
138267
138268
138269
138270
138271
138272
138273
138274
138275
138276
138277
138278
138279
138280
138281
138282
138283
138284
138285
138286
138287
138288
138289
138290
138291
138292
138293
138294
138295
138296
138297
138298
138299
138300
138301
138302
138303
138304
138305
138306
138307
138308
138309
138310
138311
138312
138313
138314
138315
138316
138317
138318
138319
138320
138321
138322
138323
138324
138325
138326
138327
138328
138329
138330
138331
138332
138333
138334
138335
138336
138337
138338
138339
138340
138341
138342
138343
138344
138345
138346
138347
138348
138349
138350
138351
138352
138353
138354
138355
138356
138357
138358
138359
138360
138361
138362
138363
138364
138365
138366
138367
138368
138369
138370
138371
138372
138373
138374
138375
138376
138377
138378
138379
138380
138381
138382
138383
138384
138385
138386
138387
138388
138389
138390
138391
138392
138393
138394
138395
138396
138397
138398
138399
138400
138401
138402
138403
138404
138405
138406
138407
138408
138409
138410
138411
138412
138413
138414
138415
138416
138417
138418
138419
138420
138421
138422
138423
138424
138425
138426
138427
138428
138429
138430
138431
138432
138433
138434
138435
138436
138437
138438
138439
138440
138441
138442
138443
138444
138445
138446
138447
138448
138449
138450
138451
138452
138453
138454
138455
138456
138457
138458
138459
138460
138461
138462
138463
138464
138465
138466
138467
138468
138469
138470
138471
138472
138473
138474
138475
138476
138477
138478
138479
138480
138481
138482
138483
138484
138485
138486
138487
138488
138489
138490
138491
138492
138493
138494
138495
138496
138497
138498
138499
138500
138501
138502
138503
138504
138505
138506
138507
138508
138509
138510
138511
138512
138513
138514
138515
138516
138517
138518
138519
138520
138521
138522
138523
138524
138525
138526
138527
138528
138529
138530
138531
138532
138533
138534
138535
138536
138537
138538
138539
138540
138541
138542
138543
138544
138545
138546
138547
138548
138549
138550
138551
138552
138553
138554
138555
138556
138557
138558
138559
138560
138561
138562
138563
138564
138565
138566
138567
138568
138569
138570
138571
138572
138573
138574
138575
138576
138577
138578
138579
138580
138581
138582
138583
138584
138585
138586
138587
138588
138589
138590
138591
138592
138593
138594
138595
138596
138597
138598
138599
138600
138601
138602
138603
138604
138605
138606
138607
138608
138609
138610
138611
138612
138613
138614
138615
138616
138617
138618
138619
138620
138621
138622
138623
138624
138625
138626
138627
138628
138629
138630
138631
138632
138633
138634
138635
138636
138637
138638
138639
138640
138641
138642
138643
138644
138645
138646
138647
138648
138649
138650
138651
138652
138653
138654
138655
138656
138657
138658
138659
138660
138661
138662
138663
138664
138665
138666
138667
138668
138669
138670
138671
138672
138673
138674
138675
138676
138677
138678
138679
138680
138681
138682
138683
138684
138685
138686
138687
138688
138689
138690
138691
138692
138693
138694
138695
138696
138697
138698
138699
138700
138701
138702
138703
138704
138705
138706
138707
138708
138709
138710
138711
138712
138713
138714
138715
138716
138717
138718
138719
138720
138721
138722
138723
138724
138725
138726
138727
138728
138729
138730
138731
138732
138733
138734
138735
138736
138737
138738
138739
138740
138741
138742
138743
138744
138745
138746
138747
138748
138749
138750
138751
138752
138753
138754
138755
138756
138757
138758
138759
138760
138761
138762
138763
138764
138765
138766
138767
138768
138769
138770
138771
138772
138773
138774
138775
138776
138777
138778
138779
138780
138781
138782
138783
138784
138785
138786
138787
138788
138789
138790
138791
138792
138793
138794
138795
138796
138797
138798
138799
138800
138801
138802
138803
138804
138805
138806
138807
138808
138809
138810
138811
138812
138813
138814
138815
138816
138817
138818
138819
138820
138821
138822
138823
138824
138825
138826
138827
138828
138829
138830
138831
138832
138833
138834
138835
138836
138837
138838
138839
138840
138841
138842
138843
138844
138845
138846
138847
138848
138849
138850
138851
138852
138853
138854
138855
138856
138857
138858
138859
138860
138861
138862
138863
138864
138865
138866
138867
138868
138869
138870
138871
138872
138873
138874
138875
138876
138877
138878
138879
138880
138881
138882
138883
138884
138885
138886
138887
138888
138889
138890
138891
138892
138893
138894
138895
138896
138897
138898
138899
138900
138901
138902
138903
138904
138905
138906
138907
138908
138909
138910
138911
138912
138913
138914
138915
138916
138917
138918
138919
138920
138921
138922
138923
138924
138925
138926
138927
138928
138929
138930
138931
138932
138933
138934
138935
138936
138937
138938
138939
138940
138941
138942
138943
138944
138945
138946
138947
138948
138949
138950
138951
138952
138953
138954
138955
138956
138957
138958
138959
138960
138961
138962
138963
138964
138965
138966
138967
138968
138969
138970
138971
138972
138973
138974
138975
138976
138977
138978
138979
138980
138981
138982
138983
138984
138985
138986
138987
138988
138989
138990
138991
138992
138993
138994
138995
138996
138997
138998
138999
139000
139001
139002
139003
139004
139005
139006
139007
139008
139009
139010
139011
139012
139013
139014
139015
139016
139017
139018
139019
139020
139021
139022
139023
139024
139025
139026
139027
139028
139029
139030
139031
139032
139033
139034
139035
139036
139037
139038
139039
139040
139041
139042
139043
139044
139045
139046
139047
139048
139049
139050
139051
139052
139053
139054
139055
139056
139057
139058
139059
139060
139061
139062
139063
139064
139065
139066
139067
139068
139069
139070
139071
139072
139073
139074
139075
139076
139077
139078
139079
139080
139081
139082
139083
139084
139085
139086
139087
139088
139089
139090
139091
139092
139093
139094
139095
139096
139097
139098
139099
139100
139101
139102
139103
139104
139105
139106
139107
139108
139109
139110
139111
139112
139113
139114
139115
139116
139117
139118
139119
139120
139121
139122
139123
139124
139125
139126
139127
139128
139129
139130
139131
139132
139133
139134
139135
139136
139137
139138
139139
139140
139141
139142
139143
139144
139145
139146
139147
139148
139149
139150
139151
139152
139153
139154
139155
139156
139157
139158
139159
139160
139161
139162
139163
139164
139165
139166
139167
139168
139169
139170
139171
139172
139173
139174
139175
139176
139177
139178
139179
139180
139181
139182
139183
139184
139185
139186
139187
139188
139189
139190
139191
139192
139193
139194
139195
139196
139197
139198
139199
139200
139201
139202
139203
139204
139205
139206
139207
139208
139209
139210
139211
139212
139213
139214
139215
139216
139217
139218
139219
139220
139221
139222
139223
139224
139225
139226
139227
139228
139229
139230
139231
139232
139233
139234
139235
139236
139237
139238
139239
139240
139241
139242
139243
139244
139245
139246
139247
139248
139249
139250
139251
139252
139253
139254
139255
139256
139257
139258
139259
139260
139261
139262
139263
139264
139265
139266
139267
139268
139269
139270
139271
139272
139273
139274
139275
139276
139277
139278
139279
139280
139281
139282
139283
139284
139285
139286
139287
139288
139289
139290
139291
139292
139293
139294
139295
139296
139297
139298
139299
139300
139301
139302
139303
139304
139305
139306
139307
139308
139309
139310
139311
139312
139313
139314
139315
139316
139317
139318
139319
139320
139321
139322
139323
139324
139325
139326
139327
139328
139329
139330
139331
139332
139333
139334
139335
139336
139337
139338
139339
139340
139341
139342
139343
139344
139345
139346
139347
139348
139349
139350
139351
139352
139353
139354
139355
139356
139357
139358
139359
139360
139361
139362
139363
139364
139365
139366
139367
139368
139369
139370
139371
139372
139373
139374
139375
139376
139377
139378
139379
139380
139381
139382
139383
139384
139385
139386
139387
139388
139389
139390
139391
139392
139393
139394
139395
139396
139397
139398
139399
139400
139401
139402
139403
139404
139405
139406
139407
139408
139409
139410
139411
139412
139413
139414
139415
139416
139417
139418
139419
139420
139421
139422
139423
139424
139425
139426
139427
139428
139429
139430
139431
139432
139433
139434
139435
139436
139437
139438
139439
139440
139441
139442
139443
139444
139445
139446
139447
139448
139449
139450
139451
139452
139453
139454
139455
139456
139457
139458
139459
139460
139461
139462
139463
139464
139465
139466
139467
139468
139469
139470
139471
139472
139473
139474
139475
139476
139477
139478
139479
139480
139481
139482
139483
139484
139485
139486
139487
139488
139489
139490
139491
139492
139493
139494
139495
139496
139497
139498
139499
139500
139501
139502
139503
139504
139505
139506
139507
139508
139509
139510
139511
139512
139513
139514
139515
139516
139517
139518
139519
139520
139521
139522
139523
139524
139525
139526
139527
139528
139529
139530
139531
139532
139533
139534
139535
139536
139537
139538
139539
139540
139541
139542
139543
139544
139545
139546
139547
139548
139549
139550
139551
139552
139553
139554
139555
139556
139557
139558
139559
139560
139561
139562
139563
139564
139565
139566
139567
139568
139569
139570
139571
139572
139573
139574
139575
139576
139577
139578
139579
139580
139581
139582
139583
139584
139585
139586
139587
139588
139589
139590
139591
139592
139593
139594
139595
139596
139597
139598
139599
139600
139601
139602
139603
139604
139605
139606
139607
139608
139609
139610
139611
139612
139613
139614
139615
139616
139617
139618
139619
139620
139621
139622
139623
139624
139625
139626
139627
139628
139629
139630
139631
139632
139633
139634
139635
139636
139637
139638
139639
139640
139641
139642
139643
139644
139645
139646
139647
139648
139649
139650
139651
139652
139653
139654
139655
139656
139657
139658
139659
139660
139661
139662
139663
139664
139665
139666
139667
139668
139669
139670
139671
139672
139673
139674
139675
139676
139677
139678
139679
139680
139681
139682
139683
139684
139685
139686
139687
139688
139689
139690
139691
139692
139693
139694
139695
139696
139697
139698
139699
139700
139701
139702
139703
139704
139705
139706
139707
139708
139709
139710
139711
139712
139713
139714
139715
139716
139717
139718
139719
139720
139721
139722
139723
139724
139725
139726
139727
139728
139729
139730
139731
139732
139733
139734
139735
139736
139737
139738
139739
139740
139741
139742
139743
139744
139745
139746
139747
139748
139749
139750
139751
139752
139753
139754
139755
139756
139757
139758
139759
139760
139761
139762
139763
139764
139765
139766
139767
139768
139769
139770
139771
139772
139773
139774
139775
139776
139777
139778
139779
139780
139781
139782
139783
139784
139785
139786
139787
139788
139789
139790
139791
139792
139793
139794
139795
139796
139797
139798
139799
139800
139801
139802
139803
139804
139805
139806
139807
139808
139809
139810
139811
139812
139813
139814
139815
139816
139817
139818
139819
139820
139821
139822
139823
139824
139825
139826
139827
139828
139829
139830
139831
139832
139833
139834
139835
139836
139837
139838
139839
139840
139841
139842
139843
139844
139845
139846
139847
139848
139849
139850
139851
139852
139853
139854
139855
139856
139857
139858
139859
139860
139861
139862
139863
139864
139865
139866
139867
139868
139869
139870
139871
139872
139873
139874
139875
139876
139877
139878
139879
139880
139881
139882
139883
139884
139885
139886
139887
139888
139889
139890
139891
139892
139893
139894
139895
139896
139897
139898
139899
139900
139901
139902
139903
139904
139905
139906
139907
139908
139909
139910
139911
139912
139913
139914
139915
139916
139917
139918
139919
139920
139921
139922
139923
139924
139925
139926
139927
139928
139929
139930
139931
139932
139933
139934
139935
139936
139937
139938
139939
139940
139941
139942
139943
139944
139945
139946
139947
139948
139949
139950
139951
139952
139953
139954
139955
139956
139957
139958
139959
139960
139961
139962
139963
139964
139965
139966
139967
139968
139969
139970
139971
139972
139973
139974
139975
139976
139977
139978
139979
139980
139981
139982
139983
139984
139985
139986
139987
139988
139989
139990
139991
139992
139993
139994
139995
139996
139997
139998
139999
140000
140001
140002
140003
140004
140005
140006
140007
140008
140009
140010
140011
140012
140013
140014
140015
140016
140017
140018
140019
140020
140021
140022
140023
140024
140025
140026
140027
140028
140029
140030
140031
140032
140033
140034
140035
140036
140037
140038
140039
140040
140041
140042
140043
140044
140045
140046
140047
140048
140049
140050
140051
140052
140053
140054
140055
140056
140057
140058
140059
140060
140061
140062
140063
140064
140065
140066
140067
140068
140069
140070
140071
140072
140073
140074
140075
140076
140077
140078
140079
140080
140081
140082
140083
140084
140085
140086
140087
140088
140089
140090
140091
140092
140093
140094
140095
140096
140097
140098
140099
140100
140101
140102
140103
140104
140105
140106
140107
140108
140109
140110
140111
140112
140113
140114
140115
140116
140117
140118
140119
140120
140121
140122
140123
140124
140125
140126
140127
140128
140129
140130
140131
140132
140133
140134
140135
140136
140137
140138
140139
140140
140141
140142
140143
140144
140145
140146
140147
140148
140149
140150
140151
140152
140153
140154
140155
140156
140157
140158
140159
140160
140161
140162
140163
140164
140165
140166
140167
140168
140169
140170
140171
140172
140173
140174
140175
140176
140177
140178
140179
140180
140181
140182
140183
140184
140185
140186
140187
140188
140189
140190
140191
140192
140193
140194
140195
140196
140197
140198
140199
140200
140201
140202
140203
140204
140205
140206
140207
140208
140209
140210
140211
140212
140213
140214
140215
140216
140217
140218
140219
140220
140221
140222
140223
140224
140225
140226
140227
140228
140229
140230
140231
140232
140233
140234
140235
140236
140237
140238
140239
140240
140241
140242
140243
140244
140245
140246
140247
140248
140249
140250
140251
140252
140253
140254
140255
140256
140257
140258
140259
140260
140261
140262
140263
140264
140265
140266
140267
140268
140269
140270
140271
140272
140273
140274
140275
140276
140277
140278
140279
140280
140281
140282
140283
140284
140285
140286
140287
140288
140289
140290
140291
140292
140293
140294
140295
140296
140297
140298
140299
140300
140301
140302
140303
140304
140305
140306
140307
140308
140309
140310
140311
140312
140313
140314
140315
140316
140317
140318
140319
140320
140321
140322
140323
140324
140325
140326
140327
140328
140329
140330
140331
140332
140333
140334
140335
140336
140337
140338
140339
140340
140341
140342
140343
140344
140345
140346
140347
140348
140349
140350
140351
140352
140353
140354
140355
140356
140357
140358
140359
140360
140361
140362
140363
140364
140365
140366
140367
140368
140369
140370
140371
140372
140373
140374
140375
140376
140377
140378
140379
140380
140381
140382
140383
140384
140385
140386
140387
140388
140389
140390
140391
140392
140393
140394
140395
140396
140397
140398
140399
140400
140401
140402
140403
140404
140405
140406
140407
140408
140409
140410
140411
140412
140413
140414
140415
140416
140417
140418
140419
140420
140421
140422
140423
140424
140425
140426
140427
140428
140429
140430
140431
140432
140433
140434
140435
140436
140437
140438
140439
140440
140441
140442
140443
140444
140445
140446
140447
140448
140449
140450
140451
140452
140453
140454
140455
140456
140457
140458
140459
140460
140461
140462
140463
140464
140465
140466
140467
140468
140469
140470
140471
140472
140473
140474
140475
140476
140477
140478
140479
140480
140481
140482
140483
140484
140485
140486
140487
140488
140489
140490
140491
140492
140493
140494
140495
140496
140497
140498
140499
140500
140501
140502
140503
140504
140505
140506
140507
140508
140509
140510
140511
140512
140513
140514
140515
140516
140517
140518
140519
140520
140521
140522
140523
140524
140525
140526
140527
140528
140529
140530
140531
140532
140533
140534
140535
140536
140537
140538
140539
140540
140541
140542
140543
140544
140545
140546
140547
140548
140549
140550
140551
140552
140553
140554
140555
140556
140557
140558
140559
140560
140561
140562
140563
140564
140565
140566
140567
140568
140569
140570
140571
140572
140573
140574
140575
140576
140577
140578
140579
140580
140581
140582
140583
140584
140585
140586
140587
140588
140589
140590
140591
140592
140593
140594
140595
140596
140597
140598
140599
140600
140601
140602
140603
140604
140605
140606
140607
140608
140609
140610
140611
140612
140613
140614
140615
140616
140617
140618
140619
140620
140621
140622
140623
140624
140625
140626
140627
140628
140629
140630
140631
140632
140633
140634
140635
140636
140637
140638
140639
140640
140641
140642
140643
140644
140645
140646
140647
140648
140649
140650
140651
140652
140653
140654
140655
140656
140657
140658
140659
140660
140661
140662
140663
140664
140665
140666
140667
140668
140669
140670
140671
140672
140673
140674
140675
140676
140677
140678
140679
140680
140681
140682
140683
140684
140685
140686
140687
140688
140689
140690
140691
140692
140693
140694
140695
140696
140697
140698
140699
140700
140701
140702
140703
140704
140705
140706
140707
140708
140709
140710
140711
140712
140713
140714
140715
140716
140717
140718
140719
140720
140721
140722
140723
140724
140725
140726
140727
140728
140729
140730
140731
140732
140733
140734
140735
140736
140737
140738
140739
140740
140741
140742
140743
140744
140745
140746
140747
140748
140749
140750
140751
140752
140753
140754
140755
140756
140757
140758
140759
140760
140761
140762
140763
140764
140765
140766
140767
140768
140769
140770
140771
140772
140773
140774
140775
140776
140777
140778
140779
140780
140781
140782
140783
140784
140785
140786
140787
140788
140789
140790
140791
140792
140793
140794
140795
140796
140797
140798
140799
140800
140801
140802
140803
140804
140805
140806
140807
140808
140809
140810
140811
140812
140813
140814
140815
140816
140817
140818
140819
140820
140821
140822
140823
140824
140825
140826
140827
140828
140829
140830
140831
140832
140833
140834
140835
140836
140837
140838
140839
140840
140841
140842
140843
140844
140845
140846
140847
140848
140849
140850
140851
140852
140853
140854
140855
140856
140857
140858
140859
140860
140861
140862
140863
140864
140865
140866
140867
140868
140869
140870
140871
140872
140873
140874
140875
140876
140877
140878
140879
140880
140881
140882
140883
140884
140885
140886
140887
140888
140889
140890
140891
140892
140893
140894
140895
140896
140897
140898
140899
140900
140901
140902
140903
140904
140905
140906
140907
140908
140909
140910
140911
140912
140913
140914
140915
140916
140917
140918
140919
140920
140921
140922
140923
140924
140925
140926
140927
140928
140929
140930
140931
140932
140933
140934
140935
140936
140937
140938
140939
140940
140941
140942
140943
140944
140945
140946
140947
140948
140949
140950
140951
140952
140953
140954
140955
140956
140957
140958
140959
140960
140961
140962
140963
140964
140965
140966
140967
140968
140969
140970
140971
140972
140973
140974
140975
140976
140977
140978
140979
140980
140981
140982
140983
140984
140985
140986
140987
140988
140989
140990
140991
140992
140993
140994
140995
140996
140997
140998
140999
141000
141001
141002
141003
141004
141005
141006
141007
141008
141009
141010
141011
141012
141013
141014
141015
141016
141017
141018
141019
141020
141021
141022
141023
141024
141025
141026
141027
141028
141029
141030
141031
141032
141033
141034
141035
141036
141037
141038
141039
141040
141041
141042
141043
141044
141045
141046
141047
141048
141049
141050
141051
141052
141053
141054
141055
141056
141057
141058
141059
141060
141061
141062
141063
141064
141065
141066
141067
141068
141069
141070
141071
141072
141073
141074
141075
141076
141077
141078
141079
141080
141081
141082
141083
141084
141085
141086
141087
141088
141089
141090
141091
141092
141093
141094
141095
141096
141097
141098
141099
141100
141101
141102
141103
141104
141105
141106
141107
141108
141109
141110
141111
141112
141113
141114
141115
141116
141117
141118
141119
141120
141121
141122
141123
141124
141125
141126
141127
141128
141129
141130
141131
141132
141133
141134
141135
141136
141137
141138
141139
141140
141141
141142
141143
141144
141145
141146
141147
141148
141149
141150
141151
141152
141153
141154
141155
141156
141157
141158
141159
141160
141161
141162
141163
141164
141165
141166
141167
141168
141169
141170
141171
141172
141173
141174
141175
141176
141177
141178
141179
141180
141181
141182
141183
141184
141185
141186
141187
141188
141189
141190
141191
141192
141193
141194
141195
141196
141197
141198
141199
141200
141201
141202
141203
141204
141205
141206
141207
141208
141209
141210
141211
141212
141213
141214
141215
141216
141217
141218
141219
141220
141221
141222
141223
141224
141225
141226
141227
141228
141229
141230
141231
141232
141233
141234
141235
141236
141237
141238
141239
141240
141241
141242
141243
141244
141245
141246
141247
141248
141249
141250
141251
141252
141253
141254
141255
141256
141257
141258
141259
141260
141261
141262
141263
141264
141265
141266
141267
141268
141269
141270
141271
141272
141273
141274
141275
141276
141277
141278
141279
141280
141281
141282
141283
141284
141285
141286
141287
141288
141289
141290
141291
141292
141293
141294
141295
141296
141297
141298
141299
141300
141301
141302
141303
141304
141305
141306
141307
141308
141309
141310
141311
141312
141313
141314
141315
141316
141317
141318
141319
141320
141321
141322
141323
141324
141325
141326
141327
141328
141329
141330
141331
141332
141333
141334
141335
141336
141337
141338
141339
141340
141341
141342
141343
141344
141345
141346
141347
141348
141349
141350
141351
141352
141353
141354
141355
141356
141357
141358
141359
141360
141361
141362
141363
141364
141365
141366
141367
141368
141369
141370
141371
141372
141373
141374
141375
141376
141377
141378
141379
141380
141381
141382
141383
141384
141385
141386
141387
141388
141389
141390
141391
141392
141393
141394
141395
141396
141397
141398
141399
141400
141401
141402
141403
141404
141405
141406
141407
141408
141409
141410
141411
141412
141413
141414
141415
141416
141417
141418
141419
141420
141421
141422
141423
141424
141425
141426
141427
141428
141429
141430
141431
141432
141433
141434
141435
141436
141437
141438
141439
141440
141441
141442
141443
141444
141445
141446
141447
141448
141449
141450
141451
141452
141453
141454
141455
141456
141457
141458
141459
141460
141461
141462
141463
141464
141465
141466
141467
141468
141469
141470
141471
141472
141473
141474
141475
141476
141477
141478
141479
141480
141481
141482
141483
141484
141485
141486
141487
141488
141489
141490
141491
141492
141493
141494
141495
141496
141497
141498
141499
141500
141501
141502
141503
141504
141505
141506
141507
141508
141509
141510
141511
141512
141513
141514
141515
141516
141517
141518
141519
141520
141521
141522
141523
141524
141525
141526
141527
141528
141529
141530
141531
141532
141533
141534
141535
141536
141537
141538
141539
141540
141541
141542
141543
141544
141545
141546
141547
141548
141549
141550
141551
141552
141553
141554
141555
141556
141557
141558
141559
141560
141561
141562
141563
141564
141565
141566
141567
141568
141569
141570
141571
141572
141573
141574
141575
141576
141577
141578
141579
141580
141581
141582
141583
141584
141585
141586
141587
141588
141589
141590
141591
141592
141593
141594
141595
141596
141597
141598
141599
141600
141601
141602
141603
141604
141605
141606
141607
141608
141609
141610
141611
141612
141613
141614
141615
141616
141617
141618
141619
141620
141621
141622
141623
141624
141625
141626
141627
141628
141629
141630
141631
141632
141633
141634
141635
141636
141637
141638
141639
141640
141641
141642
141643
141644
141645
141646
141647
141648
141649
141650
141651
141652
141653
141654
141655
141656
141657
141658
141659
141660
141661
141662
141663
141664
141665
141666
141667
141668
141669
141670
141671
141672
141673
141674
141675
141676
141677
141678
141679
141680
141681
141682
141683
141684
141685
141686
141687
141688
141689
141690
141691
141692
141693
141694
141695
141696
141697
141698
141699
141700
141701
141702
141703
141704
141705
141706
141707
141708
141709
141710
141711
141712
141713
141714
141715
141716
141717
141718
141719
141720
141721
141722
141723
141724
141725
141726
141727
141728
141729
141730
141731
141732
141733
141734
141735
141736
141737
141738
141739
141740
141741
141742
141743
141744
141745
141746
141747
141748
141749
141750
141751
141752
141753
141754
141755
141756
141757
141758
141759
141760
141761
141762
141763
141764
141765
141766
141767
141768
141769
141770
141771
141772
141773
141774
141775
141776
141777
141778
141779
141780
141781
141782
141783
141784
141785
141786
141787
141788
141789
141790
141791
141792
141793
141794
141795
141796
141797
141798
141799
141800
141801
141802
141803
141804
141805
141806
141807
141808
141809
141810
141811
141812
141813
141814
141815
141816
141817
141818
141819
141820
141821
141822
141823
141824
141825
141826
141827
141828
141829
141830
141831
141832
141833
141834
141835
141836
141837
141838
141839
141840
141841
141842
141843
141844
141845
141846
141847
141848
141849
141850
141851
141852
141853
141854
141855
141856
141857
141858
141859
141860
141861
141862
141863
141864
141865
141866
141867
141868
141869
141870
141871
141872
141873
141874
141875
141876
141877
141878
141879
141880
141881
141882
141883
141884
141885
141886
141887
141888
141889
141890
141891
141892
141893
141894
141895
141896
141897
141898
141899
141900
141901
141902
141903
141904
141905
141906
141907
141908
141909
141910
141911
141912
141913
141914
141915
141916
141917
141918
141919
141920
141921
141922
141923
141924
141925
141926
141927
141928
141929
141930
141931
141932
141933
141934
141935
141936
141937
141938
141939
141940
141941
141942
141943
141944
141945
141946
141947
141948
141949
141950
141951
141952
141953
141954
141955
141956
141957
141958
141959
141960
141961
141962
141963
141964
141965
141966
141967
141968
141969
141970
141971
141972
141973
141974
141975
141976
141977
141978
141979
141980
141981
141982
141983
141984
141985
141986
141987
141988
141989
141990
141991
141992
141993
141994
141995
141996
141997
141998
141999
142000
142001
142002
142003
142004
142005
142006
142007
142008
142009
142010
142011
142012
142013
142014
142015
142016
142017
142018
142019
142020
142021
142022
142023
142024
142025
142026
142027
142028
142029
142030
142031
142032
142033
142034
142035
142036
142037
142038
142039
142040
142041
142042
142043
142044
142045
142046
142047
142048
142049
142050
142051
142052
142053
142054
142055
142056
142057
142058
142059
142060
142061
142062
142063
142064
142065
142066
142067
142068
142069
142070
142071
142072
142073
142074
142075
142076
142077
142078
142079
142080
142081
142082
142083
142084
142085
142086
142087
142088
142089
142090
142091
142092
142093
142094
142095
142096
142097
142098
142099
142100
142101
142102
142103
142104
142105
142106
142107
142108
142109
142110
142111
142112
142113
142114
142115
142116
142117
142118
142119
142120
142121
142122
142123
142124
142125
142126
142127
142128
142129
142130
142131
142132
142133
142134
142135
142136
142137
142138
142139
142140
142141
142142
142143
142144
142145
142146
142147
142148
142149
142150
142151
142152
142153
142154
142155
142156
142157
142158
142159
142160
142161
142162
142163
142164
142165
142166
142167
142168
142169
142170
142171
142172
142173
142174
142175
142176
142177
142178
142179
142180
142181
142182
142183
142184
142185
142186
142187
142188
142189
142190
142191
142192
142193
142194
142195
142196
142197
142198
142199
142200
142201
142202
142203
142204
142205
142206
142207
142208
142209
142210
142211
142212
142213
142214
142215
142216
142217
142218
142219
142220
142221
142222
142223
142224
142225
142226
142227
142228
142229
142230
142231
142232
142233
142234
142235
142236
142237
142238
142239
142240
142241
142242
142243
142244
142245
142246
142247
142248
142249
142250
142251
142252
142253
142254
142255
142256
142257
142258
142259
142260
142261
142262
142263
142264
142265
142266
142267
142268
142269
142270
142271
142272
142273
142274
142275
142276
142277
142278
142279
142280
142281
142282
142283
142284
142285
142286
142287
142288
142289
142290
142291
142292
142293
142294
142295
142296
142297
142298
142299
142300
142301
142302
142303
142304
142305
142306
142307
142308
142309
142310
142311
142312
142313
142314
142315
142316
142317
142318
142319
142320
142321
142322
142323
142324
142325
142326
142327
142328
142329
142330
142331
142332
142333
142334
142335
142336
142337
142338
142339
142340
142341
142342
142343
142344
142345
142346
142347
142348
142349
142350
142351
142352
142353
142354
142355
142356
142357
142358
142359
142360
142361
142362
142363
142364
142365
142366
142367
142368
142369
142370
142371
142372
142373
142374
142375
142376
142377
142378
142379
142380
142381
142382
142383
142384
142385
142386
142387
142388
142389
142390
142391
142392
142393
142394
142395
142396
142397
142398
142399
142400
142401
142402
142403
142404
142405
142406
142407
142408
142409
142410
142411
142412
142413
142414
142415
142416
142417
142418
142419
142420
142421
142422
142423
142424
142425
142426
142427
142428
142429
142430
142431
142432
142433
142434
142435
142436
142437
142438
142439
142440
142441
142442
142443
142444
142445
142446
142447
142448
142449
142450
142451
142452
142453
142454
142455
142456
142457
142458
142459
142460
142461
142462
142463
142464
142465
142466
142467
142468
142469
142470
142471
142472
142473
142474
142475
142476
142477
142478
142479
142480
142481
142482
142483
142484
142485
142486
142487
142488
142489
142490
142491
142492
142493
142494
142495
142496
142497
142498
142499
142500
142501
142502
142503
142504
142505
142506
142507
142508
142509
142510
142511
142512
142513
142514
142515
142516
142517
142518
142519
142520
142521
142522
142523
142524
142525
142526
142527
142528
142529
142530
142531
142532
142533
142534
142535
142536
142537
142538
142539
142540
142541
142542
142543
142544
142545
142546
142547
142548
142549
142550
142551
142552
142553
142554
142555
142556
142557
142558
142559
142560
142561
142562
142563
142564
142565
142566
142567
142568
142569
142570
142571
142572
142573
142574
142575
142576
142577
142578
142579
142580
142581
142582
142583
142584
142585
142586
142587
142588
142589
142590
142591
142592
142593
142594
142595
142596
142597
142598
142599
142600
142601
142602
142603
142604
142605
142606
142607
142608
142609
142610
142611
142612
142613
142614
142615
142616
142617
142618
142619
142620
142621
142622
142623
142624
142625
142626
142627
142628
142629
142630
142631
142632
142633
142634
142635
142636
142637
142638
142639
142640
142641
142642
142643
142644
142645
142646
142647
142648
142649
142650
142651
142652
142653
142654
142655
142656
142657
142658
142659
142660
142661
142662
142663
142664
142665
142666
142667
142668
142669
142670
142671
142672
142673
142674
142675
142676
142677
142678
142679
142680
142681
142682
142683
142684
142685
142686
142687
142688
142689
142690
142691
142692
142693
142694
142695
142696
142697
142698
142699
142700
142701
142702
142703
142704
142705
142706
142707
142708
142709
142710
142711
142712
142713
142714
142715
142716
142717
142718
142719
142720
142721
142722
142723
142724
142725
142726
142727
142728
142729
142730
142731
142732
142733
142734
142735
142736
142737
142738
142739
142740
142741
142742
142743
142744
142745
142746
142747
142748
142749
142750
142751
142752
142753
142754
142755
142756
142757
142758
142759
142760
142761
142762
142763
142764
142765
142766
142767
142768
142769
142770
142771
142772
142773
142774
142775
142776
142777
142778
142779
142780
142781
142782
142783
142784
142785
142786
142787
142788
142789
142790
142791
142792
142793
142794
142795
142796
142797
142798
142799
142800
142801
142802
142803
142804
142805
142806
142807
142808
142809
142810
142811
142812
142813
142814
142815
142816
142817
142818
142819
142820
142821
142822
142823
142824
142825
142826
142827
142828
142829
142830
142831
142832
142833
142834
142835
142836
142837
142838
142839
142840
142841
142842
142843
142844
142845
142846
142847
142848
142849
142850
142851
142852
142853
142854
142855
142856
142857
142858
142859
142860
142861
142862
142863
142864
142865
142866
142867
142868
142869
142870
142871
142872
142873
142874
142875
142876
142877
142878
142879
142880
142881
142882
142883
142884
142885
142886
142887
142888
142889
142890
142891
142892
142893
142894
142895
142896
142897
142898
142899
142900
142901
142902
142903
142904
142905
142906
142907
142908
142909
142910
142911
142912
142913
142914
142915
142916
142917
142918
142919
142920
142921
142922
142923
142924
142925
142926
142927
142928
142929
142930
142931
142932
142933
142934
142935
142936
142937
142938
142939
142940
142941
142942
142943
142944
142945
142946
142947
142948
142949
142950
142951
142952
142953
142954
142955
142956
142957
142958
142959
142960
142961
142962
142963
142964
142965
142966
142967
142968
142969
142970
142971
142972
142973
142974
142975
142976
142977
142978
142979
142980
142981
142982
142983
142984
142985
142986
142987
142988
142989
142990
142991
142992
142993
142994
142995
142996
142997
142998
142999
143000
143001
143002
143003
143004
143005
143006
143007
143008
143009
143010
143011
143012
143013
143014
143015
143016
143017
143018
143019
143020
143021
143022
143023
143024
143025
143026
143027
143028
143029
143030
143031
143032
143033
143034
143035
143036
143037
143038
143039
143040
143041
143042
143043
143044
143045
143046
143047
143048
143049
143050
143051
143052
143053
143054
143055
143056
143057
143058
143059
143060
143061
143062
143063
143064
143065
143066
143067
143068
143069
143070
143071
143072
143073
143074
143075
143076
143077
143078
143079
143080
143081
143082
143083
143084
143085
143086
143087
143088
143089
143090
143091
143092
143093
143094
143095
143096
143097
143098
143099
143100
143101
143102
143103
143104
143105
143106
143107
143108
143109
143110
143111
143112
143113
143114
143115
143116
143117
143118
143119
143120
143121
143122
143123
143124
143125
143126
143127
143128
143129
143130
143131
143132
143133
143134
143135
143136
143137
143138
143139
143140
143141
143142
143143
143144
143145
143146
143147
143148
143149
143150
143151
143152
143153
143154
143155
143156
143157
143158
143159
143160
143161
143162
143163
143164
143165
143166
143167
143168
143169
143170
143171
143172
143173
143174
143175
143176
143177
143178
143179
143180
143181
143182
143183
143184
143185
143186
143187
143188
143189
143190
143191
143192
143193
143194
143195
143196
143197
143198
143199
143200
143201
143202
143203
143204
143205
143206
143207
143208
143209
143210
143211
143212
143213
143214
143215
143216
143217
143218
143219
143220
143221
143222
143223
143224
143225
143226
143227
143228
143229
143230
143231
143232
143233
143234
143235
143236
143237
143238
143239
143240
143241
143242
143243
143244
143245
143246
143247
143248
143249
143250
143251
143252
143253
143254
143255
143256
143257
143258
143259
143260
143261
143262
143263
143264
143265
143266
143267
143268
143269
143270
143271
143272
143273
143274
143275
143276
143277
143278
143279
143280
143281
143282
143283
143284
143285
143286
143287
143288
143289
143290
143291
143292
143293
143294
143295
143296
143297
143298
143299
143300
143301
143302
143303
143304
143305
143306
143307
143308
143309
143310
143311
143312
143313
143314
143315
143316
143317
143318
143319
143320
143321
143322
143323
143324
143325
143326
143327
143328
143329
143330
143331
143332
143333
143334
143335
143336
143337
143338
143339
143340
143341
143342
143343
143344
143345
143346
143347
143348
143349
143350
143351
143352
143353
143354
143355
143356
143357
143358
143359
143360
143361
143362
143363
143364
143365
143366
143367
143368
143369
143370
143371
143372
143373
143374
143375
143376
143377
143378
143379
143380
143381
143382
143383
143384
143385
143386
143387
143388
143389
143390
143391
143392
143393
143394
143395
143396
143397
143398
143399
143400
143401
143402
143403
143404
143405
143406
143407
143408
143409
143410
143411
143412
143413
143414
143415
143416
143417
143418
143419
143420
143421
143422
143423
143424
143425
143426
143427
143428
143429
143430
143431
143432
143433
143434
143435
143436
143437
143438
143439
143440
143441
143442
143443
143444
143445
143446
143447
143448
143449
143450
143451
143452
143453
143454
143455
143456
143457
143458
143459
143460
143461
143462
143463
143464
143465
143466
143467
143468
143469
143470
143471
143472
143473
143474
143475
143476
143477
143478
143479
143480
143481
143482
143483
143484
143485
143486
143487
143488
143489
143490
143491
143492
143493
143494
143495
143496
143497
143498
143499
143500
143501
143502
143503
143504
143505
143506
143507
143508
143509
143510
143511
143512
143513
143514
143515
143516
143517
143518
143519
143520
143521
143522
143523
143524
143525
143526
143527
143528
143529
143530
143531
143532
143533
143534
143535
143536
143537
143538
143539
143540
143541
143542
143543
143544
143545
143546
143547
143548
143549
143550
143551
143552
143553
143554
143555
143556
143557
143558
143559
143560
143561
143562
143563
143564
143565
143566
143567
143568
143569
143570
143571
143572
143573
143574
143575
143576
143577
143578
143579
143580
143581
143582
143583
143584
143585
143586
143587
143588
143589
143590
143591
143592
143593
143594
143595
143596
143597
143598
143599
143600
143601
143602
143603
143604
143605
143606
143607
143608
143609
143610
143611
143612
143613
143614
143615
143616
143617
143618
143619
143620
143621
143622
143623
143624
143625
143626
143627
143628
143629
143630
143631
143632
143633
143634
143635
143636
143637
143638
143639
143640
143641
143642
143643
143644
143645
143646
143647
143648
143649
143650
143651
143652
143653
143654
143655
143656
143657
143658
143659
143660
143661
143662
143663
143664
143665
143666
143667
143668
143669
143670
143671
143672
143673
143674
143675
143676
143677
143678
143679
143680
143681
143682
143683
143684
143685
143686
143687
143688
143689
143690
143691
143692
143693
143694
143695
143696
143697
143698
143699
143700
143701
143702
143703
143704
143705
143706
143707
143708
143709
143710
143711
143712
143713
143714
143715
143716
143717
143718
143719
143720
143721
143722
143723
143724
143725
143726
143727
143728
143729
143730
143731
143732
143733
143734
143735
143736
143737
143738
143739
143740
143741
143742
143743
143744
143745
143746
143747
143748
143749
143750
143751
143752
143753
143754
143755
143756
143757
143758
143759
143760
143761
143762
143763
143764
143765
143766
143767
143768
143769
143770
143771
143772
143773
143774
143775
143776
143777
143778
143779
143780
143781
143782
143783
143784
143785
143786
143787
143788
143789
143790
143791
143792
143793
143794
143795
143796
143797
143798
143799
143800
143801
143802
143803
143804
143805
143806
143807
143808
143809
143810
143811
143812
143813
143814
143815
143816
143817
143818
143819
143820
143821
143822
143823
143824
143825
143826
143827
143828
143829
143830
143831
143832
143833
143834
143835
143836
143837
143838
143839
143840
143841
143842
143843
143844
143845
143846
143847
143848
143849
143850
143851
143852
143853
143854
143855
143856
143857
143858
143859
143860
143861
143862
143863
143864
143865
143866
143867
143868
143869
143870
143871
143872
143873
143874
143875
143876
143877
143878
143879
143880
143881
143882
143883
143884
143885
143886
143887
143888
143889
143890
143891
143892
143893
143894
143895
143896
143897
143898
143899
143900
143901
143902
143903
143904
143905
143906
143907
143908
143909
143910
143911
143912
143913
143914
143915
143916
143917
143918
143919
143920
143921
143922
143923
143924
143925
143926
143927
143928
143929
143930
143931
143932
143933
143934
143935
143936
143937
143938
143939
143940
143941
143942
143943
143944
143945
143946
143947
143948
143949
143950
143951
143952
143953
143954
143955
143956
143957
143958
143959
143960
143961
143962
143963
143964
143965
143966
143967
143968
143969
143970
143971
143972
143973
143974
143975
143976
143977
143978
143979
143980
143981
143982
143983
143984
143985
143986
143987
143988
143989
143990
143991
143992
143993
143994
143995
143996
143997
143998
143999
144000
144001
144002
144003
144004
144005
144006
144007
144008
144009
144010
144011
144012
144013
144014
144015
144016
144017
144018
144019
144020
144021
144022
144023
144024
144025
144026
144027
144028
144029
144030
144031
144032
144033
144034
144035
144036
144037
144038
144039
144040
144041
144042
144043
144044
144045
144046
144047
144048
144049
144050
144051
144052
144053
144054
144055
144056
144057
144058
144059
144060
144061
144062
144063
144064
144065
144066
144067
144068
144069
144070
144071
144072
144073
144074
144075
144076
144077
144078
144079
144080
144081
144082
144083
144084
144085
144086
144087
144088
144089
144090
144091
144092
144093
144094
144095
144096
144097
144098
144099
144100
144101
144102
144103
144104
144105
144106
144107
144108
144109
144110
144111
144112
144113
144114
144115
144116
144117
144118
144119
144120
144121
144122
144123
144124
144125
144126
144127
144128
144129
144130
144131
144132
144133
144134
144135
144136
144137
144138
144139
144140
144141
144142
144143
144144
144145
144146
144147
144148
144149
144150
144151
144152
144153
144154
144155
144156
144157
144158
144159
144160
144161
144162
144163
144164
144165
144166
144167
144168
144169
144170
144171
144172
144173
144174
144175
144176
144177
144178
144179
144180
144181
144182
144183
144184
144185
144186
144187
144188
144189
144190
144191
144192
144193
144194
144195
144196
144197
144198
144199
144200
144201
144202
144203
144204
144205
144206
144207
144208
144209
144210
144211
144212
144213
144214
144215
144216
144217
144218
144219
144220
144221
144222
144223
144224
144225
144226
144227
144228
144229
144230
144231
144232
144233
144234
144235
144236
144237
144238
144239
144240
144241
144242
144243
144244
144245
144246
144247
144248
144249
144250
144251
144252
144253
144254
144255
144256
144257
144258
144259
144260
144261
144262
144263
144264
144265
144266
144267
144268
144269
144270
144271
144272
144273
144274
144275
144276
144277
144278
144279
144280
144281
144282
144283
144284
144285
144286
144287
144288
144289
144290
144291
144292
144293
144294
144295
144296
144297
144298
144299
144300
144301
144302
144303
144304
144305
144306
144307
144308
144309
144310
144311
144312
144313
144314
144315
144316
144317
144318
144319
144320
144321
144322
144323
144324
144325
144326
144327
144328
144329
144330
144331
144332
144333
144334
144335
144336
144337
144338
144339
144340
144341
144342
144343
144344
144345
144346
144347
144348
144349
144350
144351
144352
144353
144354
144355
144356
144357
144358
144359
144360
144361
144362
144363
144364
144365
144366
144367
144368
144369
144370
144371
144372
144373
144374
144375
144376
144377
144378
144379
144380
144381
144382
144383
144384
144385
144386
144387
144388
144389
144390
144391
144392
144393
144394
144395
144396
144397
144398
144399
144400
144401
144402
144403
144404
144405
144406
144407
144408
144409
144410
144411
144412
144413
144414
144415
144416
144417
144418
144419
144420
144421
144422
144423
144424
144425
144426
144427
144428
144429
144430
144431
144432
144433
144434
144435
144436
144437
144438
144439
144440
144441
144442
144443
144444
144445
144446
144447
144448
144449
144450
144451
144452
144453
144454
144455
144456
144457
144458
144459
144460
144461
144462
144463
144464
144465
144466
144467
144468
144469
144470
144471
144472
144473
144474
144475
144476
144477
144478
144479
144480
144481
144482
144483
144484
144485
144486
144487
144488
144489
144490
144491
144492
144493
144494
144495
144496
144497
144498
144499
144500
144501
144502
144503
144504
144505
144506
144507
144508
144509
144510
144511
144512
144513
144514
144515
144516
144517
144518
144519
144520
144521
144522
144523
144524
144525
144526
144527
144528
144529
144530
144531
144532
144533
144534
144535
144536
144537
144538
144539
144540
144541
144542
144543
144544
144545
144546
144547
144548
144549
144550
144551
144552
144553
144554
144555
144556
144557
144558
144559
144560
144561
144562
144563
144564
144565
144566
144567
144568
144569
144570
144571
144572
144573
144574
144575
144576
144577
144578
144579
144580
144581
144582
144583
144584
144585
144586
144587
144588
144589
144590
144591
144592
144593
144594
144595
144596
144597
144598
144599
144600
144601
144602
144603
144604
144605
144606
144607
144608
144609
144610
144611
144612
144613
144614
144615
144616
144617
144618
144619
144620
144621
144622
144623
144624
144625
144626
144627
144628
144629
144630
144631
144632
144633
144634
144635
144636
144637
144638
144639
144640
144641
144642
144643
144644
144645
144646
144647
144648
144649
144650
144651
144652
144653
144654
144655
144656
144657
144658
144659
144660
144661
144662
144663
144664
144665
144666
144667
144668
144669
144670
144671
144672
144673
144674
144675
144676
144677
144678
144679
144680
144681
144682
144683
144684
144685
144686
144687
144688
144689
144690
144691
144692
144693
144694
144695
144696
144697
144698
144699
144700
144701
144702
144703
144704
144705
144706
144707
144708
144709
144710
144711
144712
144713
144714
144715
144716
144717
144718
144719
144720
144721
144722
144723
144724
144725
144726
144727
144728
144729
144730
144731
144732
144733
144734
144735
144736
144737
144738
144739
144740
144741
144742
144743
144744
144745
144746
144747
144748
144749
144750
144751
144752
144753
144754
144755
144756
144757
144758
144759
144760
144761
144762
144763
144764
144765
144766
144767
144768
144769
144770
144771
144772
144773
144774
144775
144776
144777
144778
144779
144780
144781
144782
144783
144784
144785
144786
144787
144788
144789
144790
144791
144792
144793
144794
144795
144796
144797
144798
144799
144800
144801
144802
144803
144804
144805
144806
144807
144808
144809
144810
144811
144812
144813
144814
144815
144816
144817
144818
144819
144820
144821
144822
144823
144824
144825
144826
144827
144828
144829
144830
144831
144832
144833
144834
144835
144836
144837
144838
144839
144840
144841
144842
144843
144844
144845
144846
144847
144848
144849
144850
144851
144852
144853
144854
144855
144856
144857
144858
144859
144860
144861
144862
144863
144864
144865
144866
144867
144868
144869
144870
144871
144872
144873
144874
144875
144876
144877
144878
144879
144880
144881
144882
144883
144884
144885
144886
144887
144888
144889
144890
144891
144892
144893
144894
144895
144896
144897
144898
144899
144900
144901
144902
144903
144904
144905
144906
144907
144908
144909
144910
144911
144912
144913
144914
144915
144916
144917
144918
144919
144920
144921
144922
144923
144924
144925
144926
144927
144928
144929
144930
144931
144932
144933
144934
144935
144936
144937
144938
144939
144940
144941
144942
144943
144944
144945
144946
144947
144948
144949
144950
144951
144952
144953
144954
144955
144956
144957
144958
144959
144960
144961
144962
144963
144964
144965
144966
144967
144968
144969
144970
144971
144972
144973
144974
144975
144976
144977
144978
144979
144980
144981
144982
144983
144984
144985
144986
144987
144988
144989
144990
144991
144992
144993
144994
144995
144996
144997
144998
144999
145000
145001
145002
145003
145004
145005
145006
145007
145008
145009
145010
145011
145012
145013
145014
145015
145016
145017
145018
145019
145020
145021
145022
145023
145024
145025
145026
145027
145028
145029
145030
145031
145032
145033
145034
145035
145036
145037
145038
145039
145040
145041
145042
145043
145044
145045
145046
145047
145048
145049
145050
145051
145052
145053
145054
145055
145056
145057
145058
145059
145060
145061
145062
145063
145064
145065
145066
145067
145068
145069
145070
145071
145072
145073
145074
145075
145076
145077
145078
145079
145080
145081
145082
145083
145084
145085
145086
145087
145088
145089
145090
145091
145092
145093
145094
145095
145096
145097
145098
145099
145100
145101
145102
145103
145104
145105
145106
145107
145108
145109
145110
145111
145112
145113
145114
145115
145116
145117
145118
145119
145120
145121
145122
145123
145124
145125
145126
145127
145128
145129
145130
145131
145132
145133
145134
145135
145136
145137
145138
145139
145140
145141
145142
145143
145144
145145
145146
145147
145148
145149
145150
145151
145152
145153
145154
145155
145156
145157
145158
145159
145160
145161
145162
145163
145164
145165
145166
145167
145168
145169
145170
145171
145172
145173
145174
145175
145176
145177
145178
145179
145180
145181
145182
145183
145184
145185
145186
145187
145188
145189
145190
145191
145192
145193
145194
145195
145196
145197
145198
145199
145200
145201
145202
145203
145204
145205
145206
145207
145208
145209
145210
145211
145212
145213
145214
145215
145216
145217
145218
145219
145220
145221
145222
145223
145224
145225
145226
145227
145228
145229
145230
145231
145232
145233
145234
145235
145236
145237
145238
145239
145240
145241
145242
145243
145244
145245
145246
145247
145248
145249
145250
145251
145252
145253
145254
145255
145256
145257
145258
145259
145260
145261
145262
145263
145264
145265
145266
145267
145268
145269
145270
145271
145272
145273
145274
145275
145276
145277
145278
145279
145280
145281
145282
145283
145284
145285
145286
145287
145288
145289
145290
145291
145292
145293
145294
145295
145296
145297
145298
145299
145300
145301
145302
145303
145304
145305
145306
145307
145308
145309
145310
145311
145312
145313
145314
145315
145316
145317
145318
145319
145320
145321
145322
145323
145324
145325
145326
145327
145328
145329
145330
145331
145332
145333
145334
145335
145336
145337
145338
145339
145340
145341
145342
145343
145344
145345
145346
145347
145348
145349
145350
145351
145352
145353
145354
145355
145356
145357
145358
145359
145360
145361
145362
145363
145364
145365
145366
145367
145368
145369
145370
145371
145372
145373
145374
145375
145376
145377
145378
145379
145380
145381
145382
145383
145384
145385
145386
145387
145388
145389
145390
145391
145392
145393
145394
145395
145396
145397
145398
145399
145400
145401
145402
145403
145404
145405
145406
145407
145408
145409
145410
145411
145412
145413
145414
145415
145416
145417
145418
145419
145420
145421
145422
145423
145424
145425
145426
145427
145428
145429
145430
145431
145432
145433
145434
145435
145436
145437
145438
145439
145440
145441
145442
145443
145444
145445
145446
145447
145448
145449
145450
145451
145452
145453
145454
145455
145456
145457
145458
145459
145460
145461
145462
145463
145464
145465
145466
145467
145468
145469
145470
145471
145472
145473
145474
145475
145476
145477
145478
145479
145480
145481
145482
145483
145484
145485
145486
145487
145488
145489
145490
145491
145492
145493
145494
145495
145496
145497
145498
145499
145500
145501
145502
145503
145504
145505
145506
145507
145508
145509
145510
145511
145512
145513
145514
145515
145516
145517
145518
145519
145520
145521
145522
145523
145524
145525
145526
145527
145528
145529
145530
145531
145532
145533
145534
145535
145536
145537
145538
145539
145540
145541
145542
145543
145544
145545
145546
145547
145548
145549
145550
145551
145552
145553
145554
145555
145556
145557
145558
145559
145560
145561
145562
145563
145564
145565
145566
145567
145568
145569
145570
145571
145572
145573
145574
145575
145576
145577
145578
145579
145580
145581
145582
145583
145584
145585
145586
145587
145588
145589
145590
145591
145592
145593
145594
145595
145596
145597
145598
145599
145600
145601
145602
145603
145604
145605
145606
145607
145608
145609
145610
145611
145612
145613
145614
145615
145616
145617
145618
145619
145620
145621
145622
145623
145624
145625
145626
145627
145628
145629
145630
145631
145632
145633
145634
145635
145636
145637
145638
145639
145640
145641
145642
145643
145644
145645
145646
145647
145648
145649
145650
145651
145652
145653
145654
145655
145656
145657
145658
145659
145660
145661
145662
145663
145664
145665
145666
145667
145668
145669
145670
145671
145672
145673
145674
145675
145676
145677
145678
145679
145680
145681
145682
145683
145684
145685
145686
145687
145688
145689
145690
145691
145692
145693
145694
145695
145696
145697
145698
145699
145700
145701
145702
145703
145704
145705
145706
145707
145708
145709
145710
145711
145712
145713
145714
145715
145716
145717
145718
145719
145720
145721
145722
145723
145724
145725
145726
145727
145728
145729
145730
145731
145732
145733
145734
145735
145736
145737
145738
145739
145740
145741
145742
145743
145744
145745
145746
145747
145748
145749
145750
145751
145752
145753
145754
145755
145756
145757
145758
145759
145760
145761
145762
145763
145764
145765
145766
145767
145768
145769
145770
145771
145772
145773
145774
145775
145776
145777
145778
145779
145780
145781
145782
145783
145784
145785
145786
145787
145788
145789
145790
145791
145792
145793
145794
145795
145796
145797
145798
145799
145800
145801
145802
145803
145804
145805
145806
145807
145808
145809
145810
145811
145812
145813
145814
145815
145816
145817
145818
145819
145820
145821
145822
145823
145824
145825
145826
145827
145828
145829
145830
145831
145832
145833
145834
145835
145836
145837
145838
145839
145840
145841
145842
145843
145844
145845
145846
145847
145848
145849
145850
145851
145852
145853
145854
145855
145856
145857
145858
145859
145860
145861
145862
145863
145864
145865
145866
145867
145868
145869
145870
145871
145872
145873
145874
145875
145876
145877
145878
145879
145880
145881
145882
145883
145884
145885
145886
145887
145888
145889
145890
145891
145892
145893
145894
145895
145896
145897
145898
145899
145900
145901
145902
145903
145904
145905
145906
145907
145908
145909
145910
145911
145912
145913
145914
145915
145916
145917
145918
145919
145920
145921
145922
145923
145924
145925
145926
145927
145928
145929
145930
145931
145932
145933
145934
145935
145936
145937
145938
145939
145940
145941
145942
145943
145944
145945
145946
145947
145948
145949
145950
145951
145952
145953
145954
145955
145956
145957
145958
145959
145960
145961
145962
145963
145964
145965
145966
145967
145968
145969
145970
145971
145972
145973
145974
145975
145976
145977
145978
145979
145980
145981
145982
145983
145984
145985
145986
145987
145988
145989
145990
145991
145992
145993
145994
145995
145996
145997
145998
145999
146000
146001
146002
146003
146004
146005
146006
146007
146008
146009
146010
146011
146012
146013
146014
146015
146016
146017
146018
146019
146020
146021
146022
146023
146024
146025
146026
146027
146028
146029
146030
146031
146032
146033
146034
146035
146036
146037
146038
146039
146040
146041
146042
146043
146044
146045
146046
146047
146048
146049
146050
146051
146052
146053
146054
146055
146056
146057
146058
146059
146060
146061
146062
146063
146064
146065
146066
146067
146068
146069
146070
146071
146072
146073
146074
146075
146076
146077
146078
146079
146080
146081
146082
146083
146084
146085
146086
146087
146088
146089
146090
146091
146092
146093
146094
146095
146096
146097
146098
146099
146100
146101
146102
146103
146104
146105
146106
146107
146108
146109
146110
146111
146112
146113
146114
146115
146116
146117
146118
146119
146120
146121
146122
146123
146124
146125
146126
146127
146128
146129
146130
146131
146132
146133
146134
146135
146136
146137
146138
146139
146140
146141
146142
146143
146144
146145
146146
146147
146148
146149
146150
146151
146152
146153
146154
146155
146156
146157
146158
146159
146160
146161
146162
146163
146164
146165
146166
146167
146168
146169
146170
146171
146172
146173
146174
146175
146176
146177
146178
146179
146180
146181
146182
146183
146184
146185
146186
146187
146188
146189
146190
146191
146192
146193
146194
146195
146196
146197
146198
146199
146200
146201
146202
146203
146204
146205
146206
146207
146208
146209
146210
146211
146212
146213
146214
146215
146216
146217
146218
146219
146220
146221
146222
146223
146224
146225
146226
146227
146228
146229
146230
146231
146232
146233
146234
146235
146236
146237
146238
146239
146240
146241
146242
146243
146244
146245
146246
146247
146248
146249
146250
146251
146252
146253
146254
146255
146256
146257
146258
146259
146260
146261
146262
146263
146264
146265
146266
146267
146268
146269
146270
146271
146272
146273
146274
146275
146276
146277
146278
146279
146280
146281
146282
146283
146284
146285
146286
146287
146288
146289
146290
146291
146292
146293
146294
146295
146296
146297
146298
146299
146300
146301
146302
146303
146304
146305
146306
146307
146308
146309
146310
146311
146312
146313
146314
146315
146316
146317
146318
146319
146320
146321
146322
146323
146324
146325
146326
146327
146328
146329
146330
146331
146332
146333
146334
146335
146336
146337
146338
146339
146340
146341
146342
146343
146344
146345
146346
146347
146348
146349
146350
146351
146352
146353
146354
146355
146356
146357
146358
146359
146360
146361
146362
146363
146364
146365
146366
146367
146368
146369
146370
146371
146372
146373
146374
146375
146376
146377
146378
146379
146380
146381
146382
146383
146384
146385
146386
146387
146388
146389
146390
146391
146392
146393
146394
146395
146396
146397
146398
146399
146400
146401
146402
146403
146404
146405
146406
146407
146408
146409
146410
146411
146412
146413
146414
146415
146416
146417
146418
146419
146420
146421
146422
146423
146424
146425
146426
146427
146428
146429
146430
146431
146432
146433
146434
146435
146436
146437
146438
146439
146440
146441
146442
146443
146444
146445
146446
146447
146448
146449
146450
146451
146452
146453
146454
146455
146456
146457
146458
146459
146460
146461
146462
146463
146464
146465
146466
146467
146468
146469
146470
146471
146472
146473
146474
146475
146476
146477
146478
146479
146480
146481
146482
146483
146484
146485
146486
146487
146488
146489
146490
146491
146492
146493
146494
146495
146496
146497
146498
146499
146500
146501
146502
146503
146504
146505
146506
146507
146508
146509
146510
146511
146512
146513
146514
146515
146516
146517
146518
146519
146520
146521
146522
146523
146524
146525
146526
146527
146528
146529
146530
146531
146532
146533
146534
146535
146536
146537
146538
146539
146540
146541
146542
146543
146544
146545
146546
146547
146548
146549
146550
146551
146552
146553
146554
146555
146556
146557
146558
146559
146560
146561
146562
146563
146564
146565
146566
146567
146568
146569
146570
146571
146572
146573
146574
146575
146576
146577
146578
146579
146580
146581
146582
146583
146584
146585
146586
146587
146588
146589
146590
146591
146592
146593
146594
146595
146596
146597
146598
146599
146600
146601
146602
146603
146604
146605
146606
146607
146608
146609
146610
146611
146612
146613
146614
146615
146616
146617
146618
146619
146620
146621
146622
146623
146624
146625
146626
146627
146628
146629
146630
146631
146632
146633
146634
146635
146636
146637
146638
146639
146640
146641
146642
146643
146644
146645
146646
146647
146648
146649
146650
146651
146652
146653
146654
146655
146656
146657
146658
146659
146660
146661
146662
146663
146664
146665
146666
146667
146668
146669
146670
146671
146672
146673
146674
146675
146676
146677
146678
146679
146680
146681
146682
146683
146684
146685
146686
146687
146688
146689
146690
146691
146692
146693
146694
146695
146696
146697
146698
146699
146700
146701
146702
146703
146704
146705
146706
146707
146708
146709
146710
146711
146712
146713
146714
146715
146716
146717
146718
146719
146720
146721
146722
146723
146724
146725
146726
146727
146728
146729
146730
146731
146732
146733
146734
146735
146736
146737
146738
146739
146740
146741
146742
146743
146744
146745
146746
146747
146748
146749
146750
146751
146752
146753
146754
146755
146756
146757
146758
146759
146760
146761
146762
146763
146764
146765
146766
146767
146768
146769
146770
146771
146772
146773
146774
146775
146776
146777
146778
146779
146780
146781
146782
146783
146784
146785
146786
146787
146788
146789
146790
146791
146792
146793
146794
146795
146796
146797
146798
146799
146800
146801
146802
146803
146804
146805
146806
146807
146808
146809
146810
146811
146812
146813
146814
146815
146816
146817
146818
146819
146820
146821
146822
146823
146824
146825
146826
146827
146828
146829
146830
146831
146832
146833
146834
146835
146836
146837
146838
146839
146840
146841
146842
146843
146844
146845
146846
146847
146848
146849
146850
146851
146852
146853
146854
146855
146856
146857
146858
146859
146860
146861
146862
146863
146864
146865
146866
146867
146868
146869
146870
146871
146872
146873
146874
146875
146876
146877
146878
146879
146880
146881
146882
146883
146884
146885
146886
146887
146888
146889
146890
146891
146892
146893
146894
146895
146896
146897
146898
146899
146900
146901
146902
146903
146904
146905
146906
146907
146908
146909
146910
146911
146912
146913
146914
146915
146916
146917
146918
146919
146920
146921
146922
146923
146924
146925
146926
146927
146928
146929
146930
146931
146932
146933
146934
146935
146936
146937
146938
146939
146940
146941
146942
146943
146944
146945
146946
146947
146948
146949
146950
146951
146952
146953
146954
146955
146956
146957
146958
146959
146960
146961
146962
146963
146964
146965
146966
146967
146968
146969
146970
146971
146972
146973
146974
146975
146976
146977
146978
146979
146980
146981
146982
146983
146984
146985
146986
146987
146988
146989
146990
146991
146992
146993
146994
146995
146996
146997
146998
146999
147000
147001
147002
147003
147004
147005
147006
147007
147008
147009
147010
147011
147012
147013
147014
147015
147016
147017
147018
147019
147020
147021
147022
147023
147024
147025
147026
147027
147028
147029
147030
147031
147032
147033
147034
147035
147036
147037
147038
147039
147040
147041
147042
147043
147044
147045
147046
147047
147048
147049
147050
147051
147052
147053
147054
147055
147056
147057
147058
147059
147060
147061
147062
147063
147064
147065
147066
147067
147068
147069
147070
147071
147072
147073
147074
147075
147076
147077
147078
147079
147080
147081
147082
147083
147084
147085
147086
147087
147088
147089
147090
147091
147092
147093
147094
147095
147096
147097
147098
147099
147100
147101
147102
147103
147104
147105
147106
147107
147108
147109
147110
147111
147112
147113
147114
147115
147116
147117
147118
147119
147120
147121
147122
147123
147124
147125
147126
147127
147128
147129
147130
147131
147132
147133
147134
147135
147136
147137
147138
147139
147140
147141
147142
147143
147144
147145
147146
147147
147148
147149
147150
147151
147152
147153
147154
147155
147156
147157
147158
147159
147160
147161
147162
147163
147164
147165
147166
147167
147168
147169
147170
147171
147172
147173
147174
147175
147176
147177
147178
147179
147180
147181
147182
147183
147184
147185
147186
147187
147188
147189
147190
147191
147192
147193
147194
147195
147196
147197
147198
147199
147200
147201
147202
147203
147204
147205
147206
147207
147208
147209
147210
147211
147212
147213
147214
147215
147216
147217
147218
147219
147220
147221
147222
147223
147224
147225
147226
147227
147228
147229
147230
147231
147232
147233
147234
147235
147236
147237
147238
147239
147240
147241
147242
147243
147244
147245
147246
147247
147248
147249
147250
147251
147252
147253
147254
147255
147256
147257
147258
147259
147260
147261
147262
147263
147264
147265
147266
147267
147268
147269
147270
147271
147272
147273
147274
147275
147276
147277
147278
147279
147280
147281
147282
147283
147284
147285
147286
147287
147288
147289
147290
147291
147292
147293
147294
147295
147296
147297
147298
147299
147300
147301
147302
147303
147304
147305
147306
147307
147308
147309
147310
147311
147312
147313
147314
147315
147316
147317
147318
147319
147320
147321
147322
147323
147324
147325
147326
147327
147328
147329
147330
147331
147332
147333
147334
147335
147336
147337
147338
147339
147340
147341
147342
147343
147344
147345
147346
147347
147348
147349
147350
147351
147352
147353
147354
147355
147356
147357
147358
147359
147360
147361
147362
147363
147364
147365
147366
147367
147368
147369
147370
147371
147372
147373
147374
147375
147376
147377
147378
147379
147380
147381
147382
147383
147384
147385
147386
147387
147388
147389
147390
147391
147392
147393
147394
147395
147396
147397
147398
147399
147400
147401
147402
147403
147404
147405
147406
147407
147408
147409
147410
147411
147412
147413
147414
147415
147416
147417
147418
147419
147420
147421
147422
147423
147424
147425
147426
147427
147428
147429
147430
147431
147432
147433
147434
147435
147436
147437
147438
147439
147440
147441
147442
147443
147444
147445
147446
147447
147448
147449
147450
147451
147452
147453
147454
147455
147456
147457
147458
147459
147460
147461
147462
147463
147464
147465
147466
147467
147468
147469
147470
147471
147472
147473
147474
147475
147476
147477
147478
147479
147480
147481
147482
147483
147484
147485
147486
147487
147488
147489
147490
147491
147492
147493
147494
147495
147496
147497
147498
147499
147500
147501
147502
147503
147504
147505
147506
147507
147508
147509
147510
147511
147512
147513
147514
147515
147516
147517
147518
147519
147520
147521
147522
147523
147524
147525
147526
147527
147528
147529
147530
147531
147532
147533
147534
147535
147536
147537
147538
147539
147540
147541
147542
147543
147544
147545
147546
147547
147548
147549
147550
147551
147552
147553
147554
147555
147556
147557
147558
147559
147560
147561
147562
147563
147564
147565
147566
147567
147568
147569
147570
147571
147572
147573
147574
147575
147576
147577
147578
147579
147580
147581
147582
147583
147584
147585
147586
147587
147588
147589
147590
147591
147592
147593
147594
147595
147596
147597
147598
147599
147600
147601
147602
147603
147604
147605
147606
147607
147608
147609
147610
147611
147612
147613
147614
147615
147616
147617
147618
147619
147620
147621
147622
147623
147624
147625
147626
147627
147628
147629
147630
147631
147632
147633
147634
147635
147636
147637
147638
147639
147640
147641
147642
147643
147644
147645
147646
147647
147648
147649
147650
147651
147652
147653
147654
147655
147656
147657
147658
147659
147660
147661
147662
147663
147664
147665
147666
147667
147668
147669
147670
147671
147672
147673
147674
147675
147676
147677
147678
147679
147680
147681
147682
147683
147684
147685
147686
147687
147688
147689
147690
147691
147692
147693
147694
147695
147696
147697
147698
147699
147700
147701
147702
147703
147704
147705
147706
147707
147708
147709
147710
147711
147712
147713
147714
147715
147716
147717
147718
147719
147720
147721
147722
147723
147724
147725
147726
147727
147728
147729
147730
147731
147732
147733
147734
147735
147736
147737
147738
147739
147740
147741
147742
147743
147744
147745
147746
147747
147748
147749
147750
147751
147752
147753
147754
147755
147756
147757
147758
147759
147760
147761
147762
147763
147764
147765
147766
147767
147768
147769
147770
147771
147772
147773
147774
147775
147776
147777
147778
147779
147780
147781
147782
147783
147784
147785
147786
147787
147788
147789
147790
147791
147792
147793
147794
147795
147796
147797
147798
147799
147800
147801
147802
147803
147804
147805
147806
147807
147808
147809
147810
147811
147812
147813
147814
147815
147816
147817
147818
147819
147820
147821
147822
147823
147824
147825
147826
147827
147828
147829
147830
147831
147832
147833
147834
147835
147836
147837
147838
147839
147840
147841
147842
147843
147844
147845
147846
147847
147848
147849
147850
147851
147852
147853
147854
147855
147856
147857
147858
147859
147860
147861
147862
147863
147864
147865
147866
147867
147868
147869
147870
147871
147872
147873
147874
147875
147876
147877
147878
147879
147880
147881
147882
147883
147884
147885
147886
147887
147888
147889
147890
147891
147892
147893
147894
147895
147896
147897
147898
147899
147900
147901
147902
147903
147904
147905
147906
147907
147908
147909
147910
147911
147912
147913
147914
147915
147916
147917
147918
147919
147920
147921
147922
147923
147924
147925
147926
147927
147928
147929
147930
147931
147932
147933
147934
147935
147936
147937
147938
147939
147940
147941
147942
147943
147944
147945
147946
147947
147948
147949
147950
147951
147952
147953
147954
147955
147956
147957
147958
147959
147960
147961
147962
147963
147964
147965
147966
147967
147968
147969
147970
147971
147972
147973
147974
147975
147976
147977
147978
147979
147980
147981
147982
147983
147984
147985
147986
147987
147988
147989
147990
147991
147992
147993
147994
147995
147996
147997
147998
147999
148000
148001
148002
148003
148004
148005
148006
148007
148008
148009
148010
148011
148012
148013
148014
148015
148016
148017
148018
148019
148020
148021
148022
148023
148024
148025
148026
148027
148028
148029
148030
148031
148032
148033
148034
148035
148036
148037
148038
148039
148040
148041
148042
148043
148044
148045
148046
148047
148048
148049
148050
148051
148052
148053
148054
148055
148056
148057
148058
148059
148060
148061
148062
148063
148064
148065
148066
148067
148068
148069
148070
148071
148072
148073
148074
148075
148076
148077
148078
148079
148080
148081
148082
148083
148084
148085
148086
148087
148088
148089
148090
148091
148092
148093
148094
148095
148096
148097
148098
148099
148100
148101
148102
148103
148104
148105
148106
148107
148108
148109
148110
148111
148112
148113
148114
148115
148116
148117
148118
148119
148120
148121
148122
148123
148124
148125
148126
148127
148128
148129
148130
148131
148132
148133
148134
148135
148136
148137
148138
148139
148140
148141
148142
148143
148144
148145
148146
148147
148148
148149
148150
148151
148152
148153
148154
148155
148156
148157
148158
148159
148160
148161
148162
148163
148164
148165
148166
148167
148168
148169
148170
148171
148172
148173
148174
148175
148176
148177
148178
148179
148180
148181
148182
148183
148184
148185
148186
148187
148188
148189
148190
148191
148192
148193
148194
148195
148196
148197
148198
148199
148200
148201
148202
148203
148204
148205
148206
148207
148208
148209
148210
148211
148212
148213
148214
148215
148216
148217
148218
148219
148220
148221
148222
148223
148224
148225
148226
148227
148228
148229
148230
148231
148232
148233
148234
148235
148236
148237
148238
148239
148240
148241
148242
148243
148244
148245
148246
148247
148248
148249
148250
148251
148252
148253
148254
148255
148256
148257
148258
148259
148260
148261
148262
148263
148264
148265
148266
148267
148268
148269
148270
148271
148272
148273
148274
148275
148276
148277
148278
148279
148280
148281
148282
148283
148284
148285
148286
148287
148288
148289
148290
148291
148292
148293
148294
148295
148296
148297
148298
148299
148300
148301
148302
148303
148304
148305
148306
148307
148308
148309
148310
148311
148312
148313
148314
148315
148316
148317
148318
148319
148320
148321
148322
148323
148324
148325
148326
148327
148328
148329
148330
148331
148332
148333
148334
148335
148336
148337
148338
148339
148340
148341
148342
148343
148344
148345
148346
148347
148348
148349
148350
148351
148352
148353
148354
148355
148356
148357
148358
148359
148360
148361
148362
148363
148364
148365
148366
148367
148368
148369
148370
148371
148372
148373
148374
148375
148376
148377
148378
148379
148380
148381
148382
148383
148384
148385
148386
148387
148388
148389
148390
148391
148392
148393
148394
148395
148396
148397
148398
148399
148400
148401
148402
148403
148404
148405
148406
148407
148408
148409
148410
148411
148412
148413
148414
148415
148416
148417
148418
148419
148420
148421
148422
148423
148424
148425
148426
148427
148428
148429
148430
148431
148432
148433
148434
148435
148436
148437
148438
148439
148440
148441
148442
148443
148444
148445
148446
148447
148448
148449
148450
148451
148452
148453
148454
148455
148456
148457
148458
148459
148460
148461
148462
148463
148464
148465
148466
148467
148468
148469
148470
148471
148472
148473
148474
148475
148476
148477
148478
148479
148480
148481
148482
148483
148484
148485
148486
148487
148488
148489
148490
148491
148492
148493
148494
148495
148496
148497
148498
148499
148500
148501
148502
148503
148504
148505
148506
148507
148508
148509
148510
148511
148512
148513
148514
148515
148516
148517
148518
148519
148520
148521
148522
148523
148524
148525
148526
148527
148528
148529
148530
148531
148532
148533
148534
148535
148536
148537
148538
148539
148540
148541
148542
148543
148544
148545
148546
148547
148548
148549
148550
148551
148552
148553
148554
148555
148556
148557
148558
148559
148560
148561
148562
148563
148564
148565
148566
148567
148568
148569
148570
148571
148572
148573
148574
148575
148576
148577
148578
148579
148580
148581
148582
148583
148584
148585
148586
148587
148588
148589
148590
148591
148592
148593
148594
148595
148596
148597
148598
148599
148600
148601
148602
148603
148604
148605
148606
148607
148608
148609
148610
148611
148612
148613
148614
148615
148616
148617
148618
148619
148620
148621
148622
148623
148624
148625
148626
148627
148628
148629
148630
148631
148632
148633
148634
148635
148636
148637
148638
148639
148640
148641
148642
148643
148644
148645
148646
148647
148648
148649
148650
148651
148652
148653
148654
148655
148656
148657
148658
148659
148660
148661
148662
148663
148664
148665
148666
148667
148668
148669
148670
148671
148672
148673
148674
148675
148676
148677
148678
148679
148680
148681
148682
148683
148684
148685
148686
148687
148688
148689
148690
148691
148692
148693
148694
148695
148696
148697
148698
148699
148700
148701
148702
148703
148704
148705
148706
148707
148708
148709
148710
148711
148712
148713
148714
148715
148716
148717
148718
148719
148720
148721
148722
148723
148724
148725
148726
148727
148728
148729
148730
148731
148732
148733
148734
148735
148736
148737
148738
148739
148740
148741
148742
148743
148744
148745
148746
148747
148748
148749
148750
148751
148752
148753
148754
148755
148756
148757
148758
148759
148760
148761
148762
148763
148764
148765
148766
148767
148768
148769
148770
148771
148772
148773
148774
148775
148776
148777
148778
148779
148780
148781
148782
148783
148784
148785
148786
148787
148788
148789
148790
148791
148792
148793
148794
148795
148796
148797
148798
148799
148800
148801
148802
148803
148804
148805
148806
148807
148808
148809
148810
148811
148812
148813
148814
148815
148816
148817
148818
148819
148820
148821
148822
148823
148824
148825
148826
148827
148828
148829
148830
148831
148832
148833
148834
148835
148836
148837
148838
148839
148840
148841
148842
148843
148844
148845
148846
148847
148848
148849
148850
148851
148852
148853
148854
148855
148856
148857
148858
148859
148860
148861
148862
148863
148864
148865
148866
148867
148868
148869
148870
148871
148872
148873
148874
148875
148876
148877
148878
148879
148880
148881
148882
148883
148884
148885
148886
148887
148888
148889
148890
148891
148892
148893
148894
148895
148896
148897
148898
148899
148900
148901
148902
148903
148904
148905
148906
148907
148908
148909
148910
148911
148912
148913
148914
148915
148916
148917
148918
148919
148920
148921
148922
148923
148924
148925
148926
148927
148928
148929
148930
148931
148932
148933
148934
148935
148936
148937
148938
148939
148940
148941
148942
148943
148944
148945
148946
148947
148948
148949
148950
148951
148952
148953
148954
148955
148956
148957
148958
148959
148960
148961
148962
148963
148964
148965
148966
148967
148968
148969
148970
148971
148972
148973
148974
148975
148976
148977
148978
148979
148980
148981
148982
148983
148984
148985
148986
148987
148988
148989
148990
148991
148992
148993
148994
148995
148996
148997
148998
148999
149000
149001
149002
149003
149004
149005
149006
149007
149008
149009
149010
149011
149012
149013
149014
149015
149016
149017
149018
149019
149020
149021
149022
149023
149024
149025
149026
149027
149028
149029
149030
149031
149032
149033
149034
149035
149036
149037
149038
149039
149040
149041
149042
149043
149044
149045
149046
149047
149048
149049
149050
149051
149052
149053
149054
149055
149056
149057
149058
149059
149060
149061
149062
149063
149064
149065
149066
149067
149068
149069
149070
149071
149072
149073
149074
149075
149076
149077
149078
149079
149080
149081
149082
149083
149084
149085
149086
149087
149088
149089
149090
149091
149092
149093
149094
149095
149096
149097
149098
149099
149100
149101
149102
149103
149104
149105
149106
149107
149108
149109
149110
149111
149112
149113
149114
149115
149116
149117
149118
149119
149120
149121
149122
149123
149124
149125
149126
149127
149128
149129
149130
149131
149132
149133
149134
149135
149136
149137
149138
149139
149140
149141
149142
149143
149144
149145
149146
149147
149148
149149
149150
149151
149152
149153
149154
149155
149156
149157
149158
149159
149160
149161
149162
149163
149164
149165
149166
149167
149168
149169
149170
149171
149172
149173
149174
149175
149176
149177
149178
149179
149180
149181
149182
149183
149184
149185
149186
149187
149188
149189
149190
149191
149192
149193
149194
149195
149196
149197
149198
149199
149200
149201
149202
149203
149204
149205
149206
149207
149208
149209
149210
149211
149212
149213
149214
149215
149216
149217
149218
149219
149220
149221
149222
149223
149224
149225
149226
149227
149228
149229
149230
149231
149232
149233
149234
149235
149236
149237
149238
149239
149240
149241
149242
149243
149244
149245
149246
149247
149248
149249
149250
149251
149252
149253
149254
149255
149256
149257
149258
149259
149260
149261
149262
149263
149264
149265
149266
149267
149268
149269
149270
149271
149272
149273
149274
149275
149276
149277
149278
149279
149280
149281
149282
149283
149284
149285
149286
149287
149288
149289
149290
149291
149292
149293
149294
149295
149296
149297
149298
149299
149300
149301
149302
149303
149304
149305
149306
149307
149308
149309
149310
149311
149312
149313
149314
149315
149316
149317
149318
149319
149320
149321
149322
149323
149324
149325
149326
149327
149328
149329
149330
149331
149332
149333
149334
149335
149336
149337
149338
149339
149340
149341
149342
149343
149344
149345
149346
149347
149348
149349
149350
149351
149352
149353
149354
149355
149356
149357
149358
149359
149360
149361
149362
149363
149364
149365
149366
149367
149368
149369
149370
149371
149372
149373
149374
149375
149376
149377
149378
149379
149380
149381
149382
149383
149384
149385
149386
149387
149388
149389
149390
149391
149392
149393
149394
149395
149396
149397
149398
149399
149400
149401
149402
149403
149404
149405
149406
149407
149408
149409
149410
149411
149412
149413
149414
149415
149416
149417
149418
149419
149420
149421
149422
149423
149424
149425
149426
149427
149428
149429
149430
149431
149432
149433
149434
149435
149436
149437
149438
149439
149440
149441
149442
149443
149444
149445
149446
149447
149448
149449
149450
149451
149452
149453
149454
149455
149456
149457
149458
149459
149460
149461
149462
149463
149464
149465
149466
149467
149468
149469
149470
149471
149472
149473
149474
149475
149476
149477
149478
149479
149480
149481
149482
149483
149484
149485
149486
149487
149488
149489
149490
149491
149492
149493
149494
149495
149496
149497
149498
149499
149500
149501
149502
149503
149504
149505
149506
149507
149508
149509
149510
149511
149512
149513
149514
149515
149516
149517
149518
149519
149520
149521
149522
149523
149524
149525
149526
149527
149528
149529
149530
149531
149532
149533
149534
149535
149536
149537
149538
149539
149540
149541
149542
149543
149544
149545
149546
149547
149548
149549
149550
149551
149552
149553
149554
149555
149556
149557
149558
149559
149560
149561
149562
149563
149564
149565
149566
149567
149568
149569
149570
149571
149572
149573
149574
149575
149576
149577
149578
149579
149580
149581
149582
149583
149584
149585
149586
149587
149588
149589
149590
149591
149592
149593
149594
149595
149596
149597
149598
149599
149600
149601
149602
149603
149604
149605
149606
149607
149608
149609
149610
149611
149612
149613
149614
149615
149616
149617
149618
149619
149620
149621
149622
149623
149624
149625
149626
149627
149628
149629
149630
149631
149632
149633
149634
149635
149636
149637
149638
149639
149640
149641
149642
149643
149644
149645
149646
149647
149648
149649
149650
149651
149652
149653
149654
149655
149656
149657
149658
149659
149660
149661
149662
149663
149664
149665
149666
149667
149668
149669
149670
149671
149672
149673
149674
149675
149676
149677
149678
149679
149680
149681
149682
149683
149684
149685
149686
149687
149688
149689
149690
149691
149692
149693
149694
149695
149696
149697
149698
149699
149700
149701
149702
149703
149704
149705
149706
149707
149708
149709
149710
149711
149712
149713
149714
149715
149716
149717
149718
149719
149720
149721
149722
149723
149724
149725
149726
149727
149728
149729
149730
149731
149732
149733
149734
149735
149736
149737
149738
149739
149740
149741
149742
149743
149744
149745
149746
149747
149748
149749
149750
149751
149752
149753
149754
149755
149756
149757
149758
149759
149760
149761
149762
149763
149764
149765
149766
149767
149768
149769
149770
149771
149772
149773
149774
149775
149776
149777
149778
149779
149780
149781
149782
149783
149784
149785
149786
149787
149788
149789
149790
149791
149792
149793
149794
149795
149796
149797
149798
149799
149800
149801
149802
149803
149804
149805
149806
149807
149808
149809
149810
149811
149812
149813
149814
149815
149816
149817
149818
149819
149820
149821
149822
149823
149824
149825
149826
149827
149828
149829
149830
149831
149832
149833
149834
149835
149836
149837
149838
149839
149840
149841
149842
149843
149844
149845
149846
149847
149848
149849
149850
149851
149852
149853
149854
149855
149856
149857
149858
149859
149860
149861
149862
149863
149864
149865
149866
149867
149868
149869
149870
149871
149872
149873
149874
149875
149876
149877
149878
149879
149880
149881
149882
149883
149884
149885
149886
149887
149888
149889
149890
149891
149892
149893
149894
149895
149896
149897
149898
149899
149900
149901
149902
149903
149904
149905
149906
149907
149908
149909
149910
149911
149912
149913
149914
149915
149916
149917
149918
149919
149920
149921
149922
149923
149924
149925
149926
149927
149928
149929
149930
149931
149932
149933
149934
149935
149936
149937
149938
149939
149940
149941
149942
149943
149944
149945
149946
149947
149948
149949
149950
149951
149952
149953
149954
149955
149956
149957
149958
149959
149960
149961
149962
149963
149964
149965
149966
149967
149968
149969
149970
149971
149972
149973
149974
149975
149976
149977
149978
149979
149980
149981
149982
149983
149984
149985
149986
149987
149988
149989
149990
149991
149992
149993
149994
149995
149996
149997
149998
149999
150000
150001
150002
150003
150004
150005
150006
150007
150008
150009
150010
150011
150012
150013
150014
150015
150016
150017
150018
150019
150020
150021
150022
150023
150024
150025
150026
150027
150028
150029
150030
150031
150032
150033
150034
150035
150036
150037
150038
150039
150040
150041
150042
150043
150044
150045
150046
150047
150048
150049
150050
150051
150052
150053
150054
150055
150056
150057
150058
150059
150060
150061
150062
150063
150064
150065
150066
150067
150068
150069
150070
150071
150072
150073
150074
150075
150076
150077
150078
150079
150080
150081
150082
150083
150084
150085
150086
150087
150088
150089
150090
150091
150092
150093
150094
150095
150096
150097
150098
150099
150100
150101
150102
150103
150104
150105
150106
150107
150108
150109
150110
150111
150112
150113
150114
150115
150116
150117
150118
150119
150120
150121
150122
150123
150124
150125
150126
150127
150128
150129
150130
150131
150132
150133
150134
150135
150136
150137
150138
150139
150140
150141
150142
150143
150144
150145
150146
150147
150148
150149
150150
150151
150152
150153
150154
150155
150156
150157
150158
150159
150160
150161
150162
150163
150164
150165
150166
150167
150168
150169
150170
150171
150172
150173
150174
150175
150176
150177
150178
150179
150180
150181
150182
150183
150184
150185
150186
150187
150188
150189
150190
150191
150192
150193
150194
150195
150196
150197
150198
150199
150200
150201
150202
150203
150204
150205
150206
150207
150208
150209
150210
150211
150212
150213
150214
150215
150216
150217
150218
150219
150220
150221
150222
150223
150224
150225
150226
150227
150228
150229
150230
150231
150232
150233
150234
150235
150236
150237
150238
150239
150240
150241
150242
150243
150244
150245
150246
150247
150248
150249
150250
150251
150252
150253
150254
150255
150256
150257
150258
150259
150260
150261
150262
150263
150264
150265
150266
150267
150268
150269
150270
150271
150272
150273
150274
150275
150276
150277
150278
150279
150280
150281
150282
150283
150284
150285
150286
150287
150288
150289
150290
150291
150292
150293
150294
150295
150296
150297
150298
150299
150300
150301
150302
150303
150304
150305
150306
150307
150308
150309
150310
150311
150312
150313
150314
150315
150316
150317
150318
150319
150320
150321
150322
150323
150324
150325
150326
150327
150328
150329
150330
150331
150332
150333
150334
150335
150336
150337
150338
150339
150340
150341
150342
150343
150344
150345
150346
150347
150348
150349
150350
150351
150352
150353
150354
150355
150356
150357
150358
150359
150360
150361
150362
150363
150364
150365
150366
150367
150368
150369
150370
150371
150372
150373
150374
150375
150376
150377
150378
150379
150380
150381
150382
150383
150384
150385
150386
150387
150388
150389
150390
150391
150392
150393
150394
150395
150396
150397
150398
150399
150400
150401
150402
150403
150404
150405
150406
150407
150408
150409
150410
150411
150412
150413
150414
150415
150416
150417
150418
150419
150420
150421
150422
150423
150424
150425
150426
150427
150428
150429
150430
150431
150432
150433
150434
150435
150436
150437
150438
150439
150440
150441
150442
150443
150444
150445
150446
150447
150448
150449
150450
150451
150452
150453
150454
150455
150456
150457
150458
150459
150460
150461
150462
150463
150464
150465
150466
150467
150468
150469
150470
150471
150472
150473
150474
150475
150476
150477
150478
150479
150480
150481
150482
150483
150484
150485
150486
150487
150488
150489
150490
150491
150492
150493
150494
150495
150496
150497
150498
150499
150500
150501
150502
150503
150504
150505
150506
150507
150508
150509
150510
150511
150512
150513
150514
150515
150516
150517
150518
150519
150520
150521
150522
150523
150524
150525
150526
150527
150528
150529
150530
150531
150532
150533
150534
150535
150536
150537
150538
150539
150540
150541
150542
150543
150544
150545
150546
150547
150548
150549
150550
150551
150552
150553
150554
150555
150556
150557
150558
150559
150560
150561
150562
150563
150564
150565
150566
150567
150568
150569
150570
150571
150572
150573
150574
150575
150576
150577
150578
150579
150580
150581
150582
150583
150584
150585
150586
150587
150588
150589
150590
150591
150592
150593
150594
150595
150596
150597
150598
150599
150600
150601
150602
150603
150604
150605
150606
150607
150608
150609
150610
150611
150612
150613
150614
150615
150616
150617
150618
150619
150620
150621
150622
150623
150624
150625
150626
150627
150628
150629
150630
150631
150632
150633
150634
150635
150636
150637
150638
150639
150640
150641
150642
150643
150644
150645
150646
150647
150648
150649
150650
150651
150652
150653
150654
150655
150656
150657
150658
150659
150660
150661
150662
150663
150664
150665
150666
150667
150668
150669
150670
150671
150672
150673
150674
150675
150676
150677
150678
150679
150680
150681
150682
150683
150684
150685
150686
150687
150688
150689
150690
150691
150692
150693
150694
150695
150696
150697
150698
150699
150700
150701
150702
150703
150704
150705
150706
150707
150708
150709
150710
150711
150712
150713
150714
150715
150716
150717
150718
150719
150720
150721
150722
150723
150724
150725
150726
150727
150728
150729
150730
150731
150732
150733
150734
150735
150736
150737
150738
150739
150740
150741
150742
150743
150744
150745
150746
150747
150748
150749
150750
150751
150752
150753
150754
150755
150756
150757
150758
150759
150760
150761
150762
150763
150764
150765
150766
150767
150768
150769
150770
150771
150772
150773
150774
150775
150776
150777
150778
150779
150780
150781
150782
150783
150784
150785
150786
150787
150788
150789
150790
150791
150792
150793
150794
150795
150796
150797
150798
150799
150800
150801
150802
150803
150804
150805
150806
150807
150808
150809
150810
150811
150812
150813
150814
150815
150816
150817
150818
150819
150820
150821
150822
150823
150824
150825
150826
150827
150828
150829
150830
150831
150832
150833
150834
150835
150836
150837
150838
150839
150840
150841
150842
150843
150844
150845
150846
150847
150848
150849
150850
150851
150852
150853
150854
150855
150856
150857
150858
150859
150860
150861
150862
150863
150864
150865
150866
150867
150868
150869
150870
150871
150872
150873
150874
150875
150876
150877
150878
150879
150880
150881
150882
150883
150884
150885
150886
150887
150888
150889
150890
150891
150892
150893
150894
150895
150896
150897
150898
150899
150900
150901
150902
150903
150904
150905
150906
150907
150908
150909
150910
150911
150912
150913
150914
150915
150916
150917
150918
150919
150920
150921
150922
150923
150924
150925
150926
150927
150928
150929
150930
150931
150932
150933
150934
150935
150936
150937
150938
150939
150940
150941
150942
150943
150944
150945
150946
150947
150948
150949
150950
150951
150952
150953
150954
150955
150956
150957
150958
150959
150960
150961
150962
150963
150964
150965
150966
150967
150968
150969
150970
150971
150972
150973
150974
150975
150976
150977
150978
150979
150980
150981
150982
150983
150984
150985
150986
150987
150988
150989
150990
150991
150992
150993
150994
150995
150996
150997
150998
150999
151000
151001
151002
151003
151004
151005
151006
151007
151008
151009
151010
151011
151012
151013
151014
151015
151016
151017
151018
151019
151020
151021
151022
151023
151024
151025
151026
151027
151028
151029
151030
151031
151032
151033
151034
151035
151036
151037
151038
151039
151040
151041
151042
151043
151044
151045
151046
151047
151048
151049
151050
151051
151052
151053
151054
151055
151056
151057
151058
151059
151060
151061
151062
151063
151064
151065
151066
151067
151068
151069
151070
151071
151072
151073
151074
151075
151076
151077
151078
151079
151080
151081
151082
151083
151084
151085
151086
151087
151088
151089
151090
151091
151092
151093
151094
151095
151096
151097
151098
151099
151100
151101
151102
151103
151104
151105
151106
151107
151108
151109
151110
151111
151112
151113
151114
151115
151116
151117
151118
151119
151120
151121
151122
151123
151124
151125
151126
151127
151128
151129
151130
151131
151132
151133
151134
151135
151136
151137
151138
151139
151140
151141
151142
151143
151144
151145
151146
151147
151148
151149
151150
151151
151152
151153
151154
151155
151156
151157
151158
151159
151160
151161
151162
151163
151164
151165
151166
151167
151168
151169
151170
151171
151172
151173
151174
151175
151176
151177
151178
151179
151180
151181
151182
151183
151184
151185
151186
151187
151188
151189
151190
151191
151192
151193
151194
151195
151196
151197
151198
151199
151200
151201
151202
151203
151204
151205
151206
151207
151208
151209
151210
151211
151212
151213
151214
151215
151216
151217
151218
151219
151220
151221
151222
151223
151224
151225
151226
151227
151228
151229
151230
151231
151232
151233
151234
151235
151236
151237
151238
151239
151240
151241
151242
151243
151244
151245
151246
151247
151248
151249
151250
151251
151252
151253
151254
151255
151256
151257
151258
151259
151260
151261
151262
151263
151264
151265
151266
151267
151268
151269
151270
151271
151272
151273
151274
151275
151276
151277
151278
151279
151280
151281
151282
151283
151284
151285
151286
151287
151288
151289
151290
151291
151292
151293
151294
151295
151296
151297
151298
151299
151300
151301
151302
151303
151304
151305
151306
151307
151308
151309
151310
151311
151312
151313
151314
151315
151316
151317
151318
151319
151320
151321
151322
151323
151324
151325
151326
151327
151328
151329
151330
151331
151332
151333
151334
151335
151336
151337
151338
151339
151340
151341
151342
151343
151344
151345
151346
151347
151348
151349
151350
151351
151352
151353
151354
151355
151356
151357
151358
151359
151360
151361
151362
151363
151364
151365
151366
151367
151368
151369
151370
151371
151372
151373
151374
151375
151376
151377
151378
151379
151380
151381
151382
151383
151384
151385
151386
151387
151388
151389
151390
151391
151392
151393
151394
151395
151396
151397
151398
151399
151400
151401
151402
151403
151404
151405
151406
151407
151408
151409
151410
151411
151412
151413
151414
151415
151416
151417
151418
151419
151420
151421
151422
151423
151424
151425
151426
151427
151428
151429
151430
151431
151432
151433
151434
151435
151436
151437
151438
151439
151440
151441
151442
151443
151444
151445
151446
151447
151448
151449
151450
151451
151452
151453
151454
151455
151456
151457
151458
151459
151460
151461
151462
151463
151464
151465
151466
151467
151468
151469
151470
151471
151472
151473
151474
151475
151476
151477
151478
151479
151480
151481
151482
151483
151484
151485
151486
151487
151488
151489
151490
151491
151492
151493
151494
151495
151496
151497
151498
151499
151500
151501
151502
151503
151504
151505
151506
151507
151508
151509
151510
151511
151512
151513
151514
151515
151516
151517
151518
151519
151520
151521
151522
151523
151524
151525
151526
151527
151528
151529
151530
151531
151532
151533
151534
151535
151536
151537
151538
151539
151540
151541
151542
151543
151544
151545
151546
151547
151548
151549
151550
151551
151552
151553
151554
151555
151556
151557
151558
151559
151560
151561
151562
151563
151564
151565
151566
151567
151568
151569
151570
151571
151572
151573
151574
151575
151576
151577
151578
151579
151580
151581
151582
151583
151584
151585
151586
151587
151588
151589
151590
151591
151592
151593
151594
151595
151596
151597
151598
151599
151600
151601
151602
151603
151604
151605
151606
151607
151608
151609
151610
151611
151612
151613
151614
151615
151616
151617
151618
151619
151620
151621
151622
151623
151624
151625
151626
151627
151628
151629
151630
151631
151632
151633
151634
151635
151636
151637
151638
151639
151640
151641
151642
151643
151644
151645
151646
151647
151648
151649
151650
151651
151652
151653
151654
151655
151656
151657
151658
151659
151660
151661
151662
151663
151664
151665
151666
151667
151668
151669
151670
151671
151672
151673
151674
151675
151676
151677
151678
151679
151680
151681
151682
151683
151684
151685
151686
151687
151688
151689
151690
151691
151692
151693
151694
151695
151696
151697
151698
151699
151700
151701
151702
151703
151704
151705
151706
151707
151708
151709
151710
151711
151712
151713
151714
151715
151716
151717
151718
151719
151720
151721
151722
151723
151724
151725
151726
151727
151728
151729
151730
151731
151732
151733
151734
151735
151736
151737
151738
151739
151740
151741
151742
151743
151744
151745
151746
151747
151748
151749
151750
151751
151752
151753
151754
151755
151756
151757
151758
151759
151760
151761
151762
151763
151764
151765
151766
151767
151768
151769
151770
151771
151772
151773
151774
151775
151776
151777
151778
151779
151780
151781
151782
151783
151784
151785
151786
151787
151788
151789
151790
151791
151792
151793
151794
151795
151796
151797
151798
151799
151800
151801
151802
151803
151804
151805
151806
151807
151808
151809
151810
151811
151812
151813
151814
151815
151816
151817
151818
151819
151820
151821
151822
151823
151824
151825
151826
151827
151828
151829
151830
151831
151832
151833
151834
151835
151836
151837
151838
151839
151840
151841
151842
151843
151844
151845
151846
151847
151848
151849
151850
151851
151852
151853
151854
151855
151856
151857
151858
151859
151860
151861
151862
151863
151864
151865
151866
151867
151868
151869
151870
151871
151872
151873
151874
151875
151876
151877
151878
151879
151880
151881
151882
151883
151884
151885
151886
151887
151888
151889
151890
151891
151892
151893
151894
151895
151896
151897
151898
151899
151900
151901
151902
151903
151904
151905
151906
151907
151908
151909
151910
151911
151912
151913
151914
151915
151916
151917
151918
151919
151920
151921
151922
151923
151924
151925
151926
151927
151928
151929
151930
151931
151932
151933
151934
151935
151936
151937
151938
151939
151940
151941
151942
151943
151944
151945
151946
151947
151948
151949
151950
151951
151952
151953
151954
151955
151956
151957
151958
151959
151960
151961
151962
151963
151964
151965
151966
151967
151968
151969
151970
151971
151972
151973
151974
151975
151976
151977
151978
151979
151980
151981
151982
151983
151984
151985
151986
151987
151988
151989
151990
151991
151992
151993
151994
151995
151996
151997
151998
151999
152000
152001
152002
152003
152004
152005
152006
152007
152008
152009
152010
152011
152012
152013
152014
152015
152016
152017
152018
152019
152020
152021
152022
152023
152024
152025
152026
152027
152028
152029
152030
152031
152032
152033
152034
152035
152036
152037
152038
152039
152040
152041
152042
152043
152044
152045
152046
152047
152048
152049
152050
152051
152052
152053
152054
152055
152056
152057
152058
152059
152060
152061
152062
152063
152064
152065
152066
152067
152068
152069
152070
152071
152072
152073
152074
152075
152076
152077
152078
152079
152080
152081
152082
152083
152084
152085
152086
152087
152088
152089
152090
152091
152092
152093
152094
152095
152096
152097
152098
152099
152100
152101
152102
152103
152104
152105
152106
152107
152108
152109
152110
152111
152112
152113
152114
152115
152116
152117
152118
152119
152120
152121
152122
152123
152124
152125
152126
152127
152128
152129
152130
152131
152132
152133
152134
152135
152136
152137
152138
152139
152140
152141
152142
152143
152144
152145
152146
152147
152148
152149
152150
152151
152152
152153
152154
152155
152156
152157
152158
152159
152160
152161
152162
152163
152164
152165
152166
152167
152168
152169
152170
152171
152172
152173
152174
152175
152176
152177
152178
152179
152180
152181
152182
152183
152184
152185
152186
152187
152188
152189
152190
152191
152192
152193
152194
152195
152196
152197
152198
152199
152200
152201
152202
152203
152204
152205
152206
152207
152208
152209
152210
152211
152212
152213
152214
152215
152216
152217
152218
152219
152220
152221
152222
152223
152224
152225
152226
152227
152228
152229
152230
152231
152232
152233
152234
152235
152236
152237
152238
152239
152240
152241
152242
152243
152244
152245
152246
152247
152248
152249
152250
152251
152252
152253
152254
152255
152256
152257
152258
152259
152260
152261
152262
152263
152264
152265
152266
152267
152268
152269
152270
152271
152272
152273
152274
152275
152276
152277
152278
152279
152280
152281
152282
152283
152284
152285
152286
152287
152288
152289
152290
152291
152292
152293
152294
152295
152296
152297
152298
152299
152300
152301
152302
152303
152304
152305
152306
152307
152308
152309
152310
152311
152312
152313
152314
152315
152316
152317
152318
152319
152320
152321
152322
152323
152324
152325
152326
152327
152328
152329
152330
152331
152332
152333
152334
152335
152336
152337
152338
152339
152340
152341
152342
152343
152344
152345
152346
152347
152348
152349
152350
152351
152352
152353
152354
152355
152356
152357
152358
152359
152360
152361
152362
152363
152364
152365
152366
152367
152368
152369
152370
152371
152372
152373
152374
152375
152376
152377
152378
152379
152380
152381
152382
152383
152384
152385
152386
152387
152388
152389
152390
152391
152392
152393
152394
152395
152396
152397
152398
152399
152400
152401
152402
152403
152404
152405
152406
152407
152408
152409
152410
152411
152412
152413
152414
152415
152416
152417
152418
152419
152420
152421
152422
152423
152424
152425
152426
152427
152428
152429
152430
152431
152432
152433
152434
152435
152436
152437
152438
152439
152440
152441
152442
152443
152444
152445
152446
152447
152448
152449
152450
152451
152452
152453
152454
152455
152456
152457
152458
152459
152460
152461
152462
152463
152464
152465
152466
152467
152468
152469
152470
152471
152472
152473
152474
152475
152476
152477
152478
152479
152480
152481
152482
152483
152484
152485
152486
152487
152488
152489
152490
152491
152492
152493
152494
152495
152496
152497
152498
152499
152500
152501
152502
152503
152504
152505
152506
152507
152508
152509
152510
152511
152512
152513
152514
152515
152516
152517
152518
152519
152520
152521
152522
152523
152524
152525
152526
152527
152528
152529
152530
152531
152532
152533
152534
152535
152536
152537
152538
152539
152540
152541
152542
152543
152544
152545
152546
152547
152548
152549
152550
152551
152552
152553
152554
152555
152556
152557
152558
152559
152560
152561
152562
152563
152564
152565
152566
152567
152568
152569
152570
152571
152572
152573
152574
152575
152576
152577
152578
152579
152580
152581
152582
152583
152584
152585
152586
152587
152588
152589
152590
152591
152592
152593
152594
152595
152596
152597
152598
152599
152600
152601
152602
152603
152604
152605
152606
152607
152608
152609
152610
152611
152612
152613
152614
152615
152616
152617
152618
152619
152620
152621
152622
152623
152624
152625
152626
152627
152628
152629
152630
152631
152632
152633
152634
152635
152636
152637
152638
152639
152640
152641
152642
152643
152644
152645
152646
152647
152648
152649
152650
152651
152652
152653
152654
152655
152656
152657
152658
152659
152660
152661
152662
152663
152664
152665
152666
152667
152668
152669
152670
152671
152672
152673
152674
152675
152676
152677
152678
152679
152680
152681
152682
152683
152684
152685
152686
152687
152688
152689
152690
152691
152692
152693
152694
152695
152696
152697
152698
152699
152700
152701
152702
152703
152704
152705
152706
152707
152708
152709
152710
152711
152712
152713
152714
152715
152716
152717
152718
152719
152720
152721
152722
152723
152724
152725
152726
152727
152728
152729
152730
152731
152732
152733
152734
152735
152736
152737
152738
152739
152740
152741
152742
152743
152744
152745
152746
152747
152748
152749
152750
152751
152752
152753
152754
152755
152756
152757
152758
152759
152760
152761
152762
152763
152764
152765
152766
152767
152768
152769
152770
152771
152772
152773
152774
152775
152776
152777
152778
152779
152780
152781
152782
152783
152784
152785
152786
152787
152788
152789
152790
152791
152792
152793
152794
152795
152796
152797
152798
152799
152800
152801
152802
152803
152804
152805
152806
152807
152808
152809
152810
152811
152812
152813
152814
152815
152816
152817
152818
152819
152820
152821
152822
152823
152824
152825
152826
152827
152828
152829
152830
152831
152832
152833
152834
152835
152836
152837
152838
152839
152840
152841
152842
152843
152844
152845
152846
152847
152848
152849
152850
152851
152852
152853
152854
152855
152856
152857
152858
152859
152860
152861
152862
152863
152864
152865
152866
152867
152868
152869
152870
152871
152872
152873
152874
152875
152876
152877
152878
152879
152880
152881
152882
152883
152884
152885
152886
152887
152888
152889
152890
152891
152892
152893
152894
152895
152896
152897
152898
152899
152900
152901
152902
152903
152904
152905
152906
152907
152908
152909
152910
152911
152912
152913
152914
152915
152916
152917
152918
152919
152920
152921
152922
152923
152924
152925
152926
152927
152928
152929
152930
152931
152932
152933
152934
152935
152936
152937
152938
152939
152940
152941
152942
152943
152944
152945
152946
152947
152948
152949
152950
152951
152952
152953
152954
152955
152956
152957
152958
152959
152960
152961
152962
152963
152964
152965
152966
152967
152968
152969
152970
152971
152972
152973
152974
152975
152976
152977
152978
152979
152980
152981
152982
152983
152984
152985
152986
152987
152988
152989
152990
152991
152992
152993
152994
152995
152996
152997
152998
152999
153000
153001
153002
153003
153004
153005
153006
153007
153008
153009
153010
153011
153012
153013
153014
153015
153016
153017
153018
153019
153020
153021
153022
153023
153024
153025
153026
153027
153028
153029
153030
153031
153032
153033
153034
153035
153036
153037
153038
153039
153040
153041
153042
153043
153044
153045
153046
153047
153048
153049
153050
153051
153052
153053
153054
153055
153056
153057
153058
153059
153060
153061
153062
153063
153064
153065
153066
153067
153068
153069
153070
153071
153072
153073
153074
153075
153076
153077
153078
153079
153080
153081
153082
153083
153084
153085
153086
153087
153088
153089
153090
153091
153092
153093
153094
153095
153096
153097
153098
153099
153100
153101
153102
153103
153104
153105
153106
153107
153108
153109
153110
153111
153112
153113
153114
153115
153116
153117
153118
153119
153120
153121
153122
153123
153124
153125
153126
153127
153128
153129
153130
153131
153132
153133
153134
153135
153136
153137
153138
153139
153140
153141
153142
153143
153144
153145
153146
153147
153148
153149
153150
153151
153152
153153
153154
153155
153156
153157
153158
153159
153160
153161
153162
153163
153164
153165
153166
153167
153168
153169
153170
153171
153172
153173
153174
153175
153176
153177
153178
153179
153180
153181
153182
153183
153184
153185
153186
153187
153188
153189
153190
153191
153192
153193
153194
153195
153196
153197
153198
153199
153200
153201
153202
153203
153204
153205
153206
153207
153208
153209
153210
153211
153212
153213
153214
153215
153216
153217
153218
153219
153220
153221
153222
153223
153224
153225
153226
153227
153228
153229
153230
153231
153232
153233
153234
153235
153236
153237
153238
153239
153240
153241
153242
153243
153244
153245
153246
153247
153248
153249
153250
153251
153252
153253
153254
153255
153256
153257
153258
153259
153260
153261
153262
153263
153264
153265
153266
153267
153268
153269
153270
153271
153272
153273
153274
153275
153276
153277
153278
153279
153280
153281
153282
153283
153284
153285
153286
153287
153288
153289
153290
153291
153292
153293
153294
153295
153296
153297
153298
153299
153300
153301
153302
153303
153304
153305
153306
153307
153308
153309
153310
153311
153312
153313
153314
153315
153316
153317
153318
153319
153320
153321
153322
153323
153324
153325
153326
153327
153328
153329
153330
153331
153332
153333
153334
153335
153336
153337
153338
153339
153340
153341
153342
153343
153344
153345
153346
153347
153348
153349
153350
153351
153352
153353
153354
153355
153356
153357
153358
153359
153360
153361
153362
153363
153364
153365
153366
153367
153368
153369
153370
153371
153372
153373
153374
153375
153376
153377
153378
153379
153380
153381
153382
153383
153384
153385
153386
153387
153388
153389
153390
153391
153392
153393
153394
153395
153396
153397
153398
153399
153400
153401
153402
153403
153404
153405
153406
153407
153408
153409
153410
153411
153412
153413
153414
153415
153416
153417
153418
153419
153420
153421
153422
153423
153424
153425
153426
153427
153428
153429
153430
153431
153432
153433
153434
153435
153436
153437
153438
153439
153440
153441
153442
153443
153444
153445
153446
153447
153448
153449
153450
153451
153452
153453
153454
153455
153456
153457
153458
153459
153460
153461
153462
153463
153464
153465
153466
153467
153468
153469
153470
153471
153472
153473
153474
153475
153476
153477
153478
153479
153480
153481
153482
153483
153484
153485
153486
153487
153488
153489
153490
153491
153492
153493
153494
153495
153496
153497
153498
153499
153500
153501
153502
153503
153504
153505
153506
153507
153508
153509
153510
153511
153512
153513
153514
153515
153516
153517
153518
153519
153520
153521
153522
153523
153524
153525
153526
153527
153528
153529
153530
153531
153532
153533
153534
153535
153536
153537
153538
153539
153540
153541
153542
153543
153544
153545
153546
153547
153548
153549
153550
153551
153552
153553
153554
153555
153556
153557
153558
153559
153560
153561
153562
153563
153564
153565
153566
153567
153568
153569
153570
153571
153572
153573
153574
153575
153576
153577
153578
153579
153580
153581
153582
153583
153584
153585
153586
153587
153588
153589
153590
153591
153592
153593
153594
153595
153596
153597
153598
153599
153600
153601
153602
153603
153604
153605
153606
153607
153608
153609
153610
153611
153612
153613
153614
153615
153616
153617
153618
153619
153620
153621
153622
153623
153624
153625
153626
153627
153628
153629
153630
153631
153632
153633
153634
153635
153636
153637
153638
153639
153640
153641
153642
153643
153644
153645
153646
153647
153648
153649
153650
153651
153652
153653
153654
153655
153656
153657
153658
153659
153660
153661
153662
153663
153664
153665
153666
153667
153668
153669
153670
153671
153672
153673
153674
153675
153676
153677
153678
153679
153680
153681
153682
153683
153684
153685
153686
153687
153688
153689
153690
153691
153692
153693
153694
153695
153696
153697
153698
153699
153700
153701
153702
153703
153704
153705
153706
153707
153708
153709
153710
153711
153712
153713
153714
153715
153716
153717
153718
153719
153720
153721
153722
153723
153724
153725
153726
153727
153728
153729
153730
153731
153732
153733
153734
153735
153736
153737
153738
153739
153740
153741
153742
153743
153744
153745
153746
153747
153748
153749
153750
153751
153752
153753
153754
153755
153756
153757
153758
153759
153760
153761
153762
153763
153764
153765
153766
153767
153768
153769
153770
153771
153772
153773
153774
153775
153776
153777
153778
153779
153780
153781
153782
153783
153784
153785
153786
153787
153788
153789
153790
153791
153792
153793
153794
153795
153796
153797
153798
153799
153800
153801
153802
153803
153804
153805
153806
153807
153808
153809
153810
153811
153812
153813
153814
153815
153816
153817
153818
153819
153820
153821
153822
153823
153824
153825
153826
153827
153828
153829
153830
153831
153832
153833
153834
153835
153836
153837
153838
153839
153840
153841
153842
153843
153844
153845
153846
153847
153848
153849
153850
153851
153852
153853
153854
153855
153856
153857
153858
153859
153860
153861
153862
153863
153864
153865
153866
153867
153868
153869
153870
153871
153872
153873
153874
153875
153876
153877
153878
153879
153880
153881
153882
153883
153884
153885
153886
153887
153888
153889
153890
153891
153892
153893
153894
153895
153896
153897
153898
153899
153900
153901
153902
153903
153904
153905
153906
153907
153908
153909
153910
153911
153912
153913
153914
153915
153916
153917
153918
153919
153920
153921
153922
153923
153924
153925
153926
153927
153928
153929
153930
153931
153932
153933
153934
153935
153936
153937
153938
153939
153940
153941
153942
153943
153944
153945
153946
153947
153948
153949
153950
153951
153952
153953
153954
153955
153956
153957
153958
153959
153960
153961
153962
153963
153964
153965
153966
153967
153968
153969
153970
153971
153972
153973
153974
153975
153976
153977
153978
153979
153980
153981
153982
153983
153984
153985
153986
153987
153988
153989
153990
153991
153992
153993
153994
153995
153996
153997
153998
153999
154000
154001
154002
154003
154004
154005
154006
154007
154008
154009
154010
154011
154012
154013
154014
154015
154016
154017
154018
154019
154020
154021
154022
154023
154024
154025
154026
154027
154028
154029
154030
154031
154032
154033
154034
154035
154036
154037
154038
154039
154040
154041
154042
154043
154044
154045
154046
154047
154048
154049
154050
154051
154052
154053
154054
154055
154056
154057
154058
154059
154060
154061
154062
154063
154064
154065
154066
154067
154068
154069
154070
154071
154072
154073
154074
154075
154076
154077
154078
154079
154080
154081
154082
154083
154084
154085
154086
154087
154088
154089
154090
154091
154092
154093
154094
154095
154096
154097
154098
154099
154100
154101
154102
154103
154104
154105
154106
154107
154108
154109
154110
154111
154112
154113
154114
154115
154116
154117
154118
154119
154120
154121
154122
154123
154124
154125
154126
154127
154128
154129
154130
154131
154132
154133
154134
154135
154136
154137
154138
154139
154140
154141
154142
154143
154144
154145
154146
154147
154148
154149
154150
154151
154152
154153
154154
154155
154156
154157
154158
154159
154160
154161
154162
154163
154164
154165
154166
154167
154168
154169
154170
154171
154172
154173
154174
154175
154176
154177
154178
154179
154180
154181
154182
154183
154184
154185
154186
154187
154188
154189
154190
154191
154192
154193
154194
154195
154196
154197
154198
154199
154200
154201
154202
154203
154204
154205
154206
154207
154208
154209
154210
154211
154212
154213
154214
154215
154216
154217
154218
154219
154220
154221
154222
154223
154224
154225
154226
154227
154228
154229
154230
154231
154232
154233
154234
154235
154236
154237
154238
154239
154240
154241
154242
154243
154244
154245
154246
154247
154248
154249
154250
154251
154252
154253
154254
154255
154256
154257
154258
154259
154260
154261
154262
154263
154264
154265
154266
154267
154268
154269
154270
154271
154272
154273
154274
154275
154276
154277
154278
154279
154280
154281
154282
154283
154284
154285
154286
154287
154288
154289
154290
154291
154292
154293
154294
154295
154296
154297
154298
154299
154300
154301
154302
154303
154304
154305
154306
154307
154308
154309
154310
154311
154312
154313
154314
154315
154316
154317
154318
154319
154320
154321
154322
154323
154324
154325
154326
154327
154328
154329
154330
154331
154332
154333
154334
154335
154336
154337
154338
154339
154340
154341
154342
154343
154344
154345
154346
154347
154348
154349
154350
154351
154352
154353
154354
154355
154356
154357
154358
154359
154360
154361
154362
154363
154364
154365
154366
154367
154368
154369
154370
154371
154372
154373
154374
154375
154376
154377
154378
154379
154380
154381
154382
154383
154384
154385
154386
154387
154388
154389
154390
154391
154392
154393
154394
154395
154396
154397
154398
154399
154400
154401
154402
154403
154404
154405
154406
154407
154408
154409
154410
154411
154412
154413
154414
154415
154416
154417
154418
154419
154420
154421
154422
154423
154424
154425
154426
154427
154428
154429
154430
154431
154432
154433
154434
154435
154436
154437
154438
154439
154440
154441
154442
154443
154444
154445
154446
154447
154448
154449
154450
154451
154452
154453
154454
154455
154456
154457
154458
154459
154460
154461
154462
154463
154464
154465
154466
154467
154468
154469
154470
154471
154472
154473
154474
154475
154476
154477
154478
154479
154480
154481
154482
154483
154484
154485
154486
154487
154488
154489
154490
154491
154492
154493
154494
154495
154496
154497
154498
154499
154500
154501
154502
154503
154504
154505
154506
154507
154508
154509
154510
154511
154512
154513
154514
154515
154516
154517
154518
154519
154520
154521
154522
154523
154524
154525
154526
154527
154528
154529
154530
154531
154532
154533
154534
154535
154536
154537
154538
154539
154540
154541
154542
154543
154544
154545
154546
154547
154548
154549
154550
154551
154552
154553
154554
154555
154556
154557
154558
154559
154560
154561
154562
154563
154564
154565
154566
154567
154568
154569
154570
154571
154572
154573
154574
154575
154576
154577
154578
154579
154580
154581
154582
154583
154584
154585
154586
154587
154588
154589
154590
154591
154592
154593
154594
154595
154596
154597
154598
154599
154600
154601
154602
154603
154604
154605
154606
154607
154608
154609
154610
154611
154612
154613
154614
154615
154616
154617
154618
154619
154620
154621
154622
154623
154624
154625
154626
154627
154628
154629
154630
154631
154632
154633
154634
154635
154636
154637
154638
154639
154640
154641
154642
154643
154644
154645
154646
154647
154648
154649
154650
154651
154652
154653
154654
154655
154656
154657
154658
154659
154660
154661
154662
154663
154664
154665
154666
154667
154668
154669
154670
154671
154672
154673
154674
154675
154676
154677
154678
154679
154680
154681
154682
154683
154684
154685
154686
154687
154688
154689
154690
154691
154692
154693
154694
154695
154696
154697
154698
154699
154700
154701
154702
154703
154704
154705
154706
154707
154708
154709
154710
154711
154712
154713
154714
154715
154716
154717
154718
154719
154720
154721
154722
154723
154724
154725
154726
154727
154728
154729
154730
154731
154732
154733
154734
154735
154736
154737
154738
154739
154740
154741
154742
154743
154744
154745
154746
154747
154748
154749
154750
154751
154752
154753
154754
154755
154756
154757
154758
154759
154760
154761
154762
154763
154764
154765
154766
154767
154768
154769
154770
154771
154772
154773
154774
154775
154776
154777
154778
154779
154780
154781
154782
154783
154784
154785
154786
154787
154788
154789
154790
154791
154792
154793
154794
154795
154796
154797
154798
154799
154800
154801
154802
154803
154804
154805
154806
154807
154808
154809
154810
154811
154812
154813
154814
154815
154816
154817
154818
154819
154820
154821
154822
154823
154824
154825
154826
154827
154828
154829
154830
154831
154832
154833
154834
154835
154836
154837
154838
154839
154840
154841
154842
154843
154844
154845
154846
154847
154848
154849
154850
154851
154852
154853
154854
154855
154856
154857
154858
154859
154860
154861
154862
154863
154864
154865
154866
154867
154868
154869
154870
154871
154872
154873
154874
154875
154876
154877
154878
154879
154880
154881
154882
154883
154884
154885
154886
154887
154888
154889
154890
154891
154892
154893
154894
154895
154896
154897
154898
154899
154900
154901
154902
154903
154904
154905
154906
154907
154908
154909
154910
154911
154912
154913
154914
154915
154916
154917
154918
154919
154920
154921
154922
154923
154924
154925
154926
154927
154928
154929
154930
154931
154932
154933
154934
154935
154936
154937
154938
154939
154940
154941
154942
154943
154944
154945
154946
154947
154948
154949
154950
154951
154952
154953
154954
154955
154956
154957
154958
154959
154960
154961
154962
154963
154964
154965
154966
154967
154968
154969
154970
154971
154972
154973
154974
154975
154976
154977
154978
154979
154980
154981
154982
154983
154984
154985
154986
154987
154988
154989
154990
154991
154992
154993
154994
154995
154996
154997
154998
154999
155000
155001
155002
155003
155004
155005
155006
155007
155008
155009
155010
155011
155012
155013
155014
155015
155016
155017
155018
155019
155020
155021
155022
155023
155024
155025
155026
155027
155028
155029
155030
155031
155032
155033
155034
155035
155036
155037
155038
155039
155040
155041
155042
155043
155044
155045
155046
155047
155048
155049
155050
155051
155052
155053
155054
155055
155056
155057
155058
155059
155060
155061
155062
155063
155064
155065
155066
155067
155068
155069
155070
155071
155072
155073
155074
155075
155076
155077
155078
155079
155080
155081
155082
155083
155084
155085
155086
155087
155088
155089
155090
155091
155092
155093
155094
155095
155096
155097
155098
155099
155100
155101
155102
155103
155104
155105
155106
155107
155108
155109
155110
155111
155112
155113
155114
155115
155116
155117
155118
155119
155120
155121
155122
155123
155124
155125
155126
155127
155128
155129
155130
155131
155132
155133
155134
155135
155136
155137
155138
155139
155140
155141
155142
155143
155144
155145
155146
155147
155148
155149
155150
155151
155152
155153
155154
155155
155156
155157
155158
155159
155160
155161
155162
155163
155164
155165
155166
155167
155168
155169
155170
155171
155172
155173
155174
155175
155176
155177
155178
155179
155180
155181
155182
155183
155184
155185
155186
155187
155188
155189
155190
155191
155192
155193
155194
155195
155196
155197
155198
155199
155200
155201
155202
155203
155204
155205
155206
155207
155208
155209
155210
155211
155212
155213
155214
155215
155216
155217
155218
155219
155220
155221
155222
155223
155224
155225
155226
155227
155228
155229
155230
155231
155232
155233
155234
155235
155236
155237
155238
155239
155240
155241
155242
155243
155244
155245
155246
155247
155248
155249
155250
155251
155252
155253
155254
155255
155256
155257
155258
155259
155260
155261
155262
155263
155264
155265
155266
155267
155268
155269
155270
155271
155272
155273
155274
155275
155276
155277
155278
155279
155280
155281
155282
155283
155284
155285
155286
155287
155288
155289
155290
155291
155292
155293
155294
155295
155296
155297
155298
155299
155300
155301
155302
155303
155304
155305
155306
155307
155308
155309
155310
155311
155312
155313
155314
155315
155316
155317
155318
155319
155320
155321
155322
155323
155324
155325
155326
155327
155328
155329
155330
155331
155332
155333
155334
155335
155336
155337
155338
155339
155340
155341
155342
155343
155344
155345
155346
155347
155348
155349
155350
155351
155352
155353
155354
155355
155356
155357
155358
155359
155360
155361
155362
155363
155364
155365
155366
155367
155368
155369
155370
155371
155372
155373
155374
155375
155376
155377
155378
155379
155380
155381
155382
155383
155384
155385
155386
155387
155388
155389
155390
155391
155392
155393
155394
155395
155396
155397
155398
155399
155400
155401
155402
155403
155404
155405
155406
155407
155408
155409
155410
155411
155412
155413
155414
155415
155416
155417
155418
155419
155420
155421
155422
155423
155424
155425
155426
155427
155428
155429
155430
155431
155432
155433
155434
155435
155436
155437
155438
155439
155440
155441
155442
155443
155444
155445
155446
155447
155448
155449
155450
155451
155452
155453
155454
155455
155456
155457
155458
155459
155460
155461
155462
155463
155464
155465
155466
155467
155468
155469
155470
155471
155472
155473
155474
155475
155476
155477
155478
155479
155480
155481
155482
155483
155484
155485
155486
155487
155488
155489
155490
155491
155492
155493
155494
155495
155496
155497
155498
155499
155500
155501
155502
155503
155504
155505
155506
155507
155508
155509
155510
155511
155512
155513
155514
155515
155516
155517
155518
155519
155520
155521
155522
155523
155524
155525
155526
155527
155528
155529
155530
155531
155532
155533
155534
155535
155536
155537
155538
155539
155540
155541
155542
155543
155544
155545
155546
155547
155548
155549
155550
155551
155552
155553
155554
155555
155556
155557
155558
155559
155560
155561
155562
155563
155564
155565
155566
155567
155568
155569
155570
155571
155572
155573
155574
155575
155576
155577
155578
155579
155580
155581
155582
155583
155584
155585
155586
155587
155588
155589
155590
155591
155592
155593
155594
155595
155596
155597
155598
155599
155600
155601
155602
155603
155604
155605
155606
155607
155608
155609
155610
155611
155612
155613
155614
155615
155616
155617
155618
155619
155620
155621
155622
155623
155624
155625
155626
155627
155628
155629
155630
155631
155632
155633
155634
155635
155636
155637
155638
155639
155640
155641
155642
155643
155644
155645
155646
155647
155648
155649
155650
155651
155652
155653
155654
155655
155656
155657
155658
155659
155660
155661
155662
155663
155664
155665
155666
155667
155668
155669
155670
155671
155672
155673
155674
155675
155676
155677
155678
155679
155680
155681
155682
155683
155684
155685
155686
155687
155688
155689
155690
155691
155692
155693
155694
155695
155696
155697
155698
155699
155700
155701
155702
155703
155704
155705
155706
155707
155708
155709
155710
155711
155712
155713
155714
155715
155716
155717
155718
155719
155720
155721
155722
155723
155724
155725
155726
155727
155728
155729
155730
155731
155732
155733
155734
155735
155736
155737
155738
155739
155740
155741
155742
155743
155744
155745
155746
155747
155748
155749
155750
155751
155752
155753
155754
155755
155756
155757
155758
155759
155760
155761
155762
155763
155764
155765
155766
155767
155768
155769
155770
155771
155772
155773
155774
155775
155776
155777
155778
155779
155780
155781
155782
155783
155784
155785
155786
155787
155788
155789
155790
155791
155792
155793
155794
155795
155796
155797
155798
155799
155800
155801
155802
155803
155804
155805
155806
155807
155808
155809
155810
155811
155812
155813
155814
155815
155816
155817
155818
155819
155820
155821
155822
155823
155824
155825
155826
155827
155828
155829
155830
155831
155832
155833
155834
155835
155836
155837
155838
155839
155840
155841
155842
155843
155844
155845
155846
155847
155848
155849
155850
155851
155852
155853
155854
155855
155856
155857
155858
155859
155860
155861
155862
155863
155864
155865
155866
155867
155868
155869
155870
155871
155872
155873
155874
155875
155876
155877
155878
155879
155880
155881
155882
155883
155884
155885
155886
155887
155888
155889
155890
155891
155892
155893
155894
155895
155896
155897
155898
155899
155900
155901
155902
155903
155904
155905
155906
155907
155908
155909
155910
155911
155912
155913
155914
155915
155916
155917
155918
155919
155920
155921
155922
155923
155924
155925
155926
155927
155928
155929
155930
155931
155932
155933
155934
155935
155936
155937
155938
155939
155940
155941
155942
155943
155944
155945
155946
155947
155948
155949
155950
155951
155952
155953
155954
155955
155956
155957
155958
155959
155960
155961
155962
155963
155964
155965
155966
155967
155968
155969
155970
155971
155972
155973
155974
155975
155976
155977
155978
155979
155980
155981
155982
155983
155984
155985
155986
155987
155988
155989
155990
155991
155992
155993
155994
155995
155996
155997
155998
155999
156000
156001
156002
156003
156004
156005
156006
156007
156008
156009
156010
156011
156012
156013
156014
156015
156016
156017
156018
156019
156020
156021
156022
156023
156024
156025
156026
156027
156028
156029
156030
156031
156032
156033
156034
156035
156036
156037
156038
156039
156040
156041
156042
156043
156044
156045
156046
156047
156048
156049
156050
156051
156052
156053
156054
156055
156056
156057
156058
156059
156060
156061
156062
156063
156064
156065
156066
156067
156068
156069
156070
156071
156072
156073
156074
156075
156076
156077
156078
156079
156080
156081
156082
156083
156084
156085
156086
156087
156088
156089
156090
156091
156092
156093
156094
156095
156096
156097
156098
156099
156100
156101
156102
156103
156104
156105
156106
156107
156108
156109
156110
156111
156112
156113
156114
156115
156116
156117
156118
156119
156120
156121
156122
156123
156124
156125
156126
156127
156128
156129
156130
156131
156132
156133
156134
156135
156136
156137
156138
156139
156140
156141
156142
156143
156144
156145
156146
156147
156148
156149
156150
156151
156152
156153
156154
156155
156156
156157
156158
156159
156160
156161
156162
156163
156164
156165
156166
156167
156168
156169
156170
156171
156172
156173
156174
156175
156176
156177
156178
156179
156180
156181
156182
156183
156184
156185
156186
156187
156188
156189
156190
156191
156192
156193
156194
156195
156196
156197
156198
156199
156200
156201
156202
156203
156204
156205
156206
156207
156208
156209
156210
156211
156212
156213
156214
156215
156216
156217
156218
156219
156220
156221
156222
156223
156224
156225
156226
156227
156228
156229
156230
156231
156232
156233
156234
156235
156236
156237
156238
156239
156240
156241
156242
156243
156244
156245
156246
156247
156248
156249
156250
156251
156252
156253
156254
156255
156256
156257
156258
156259
156260
156261
156262
156263
156264
156265
156266
156267
156268
156269
156270
156271
156272
156273
156274
156275
156276
156277
156278
156279
156280
156281
156282
156283
156284
156285
156286
156287
156288
156289
156290
156291
156292
156293
156294
156295
156296
156297
156298
156299
156300
156301
156302
156303
156304
156305
156306
156307
156308
156309
156310
156311
156312
156313
156314
156315
156316
156317
156318
156319
156320
156321
156322
156323
156324
156325
156326
156327
156328
156329
156330
156331
156332
156333
156334
156335
156336
156337
156338
156339
156340
156341
156342
156343
156344
156345
156346
156347
156348
156349
156350
156351
156352
156353
156354
156355
156356
156357
156358
156359
156360
156361
156362
156363
156364
156365
156366
156367
156368
156369
156370
156371
156372
156373
156374
156375
156376
156377
156378
156379
156380
156381
156382
156383
156384
156385
156386
156387
156388
156389
156390
156391
156392
156393
156394
156395
156396
156397
156398
156399
156400
156401
156402
156403
156404
156405
156406
156407
156408
156409
156410
156411
156412
156413
156414
156415
156416
156417
156418
156419
156420
156421
156422
156423
156424
156425
156426
156427
156428
156429
156430
156431
156432
156433
156434
156435
156436
156437
156438
156439
156440
156441
156442
156443
156444
156445
156446
156447
156448
156449
156450
156451
156452
156453
156454
156455
156456
156457
156458
156459
156460
156461
156462
156463
156464
156465
156466
156467
156468
156469
156470
156471
156472
156473
156474
156475
156476
156477
156478
156479
156480
156481
156482
156483
156484
156485
156486
156487
156488
156489
156490
156491
156492
156493
156494
156495
156496
156497
156498
156499
156500
156501
156502
156503
156504
156505
156506
156507
156508
156509
156510
156511
156512
156513
156514
156515
156516
156517
156518
156519
156520
156521
156522
156523
156524
156525
156526
156527
156528
156529
156530
156531
156532
156533
156534
156535
156536
156537
156538
156539
156540
156541
156542
156543
156544
156545
156546
156547
156548
156549
156550
156551
156552
156553
156554
156555
156556
156557
156558
156559
156560
156561
156562
156563
156564
156565
156566
156567
156568
156569
156570
156571
156572
156573
156574
156575
156576
156577
156578
156579
156580
156581
156582
156583
156584
156585
156586
156587
156588
156589
156590
156591
156592
156593
156594
156595
156596
156597
156598
156599
156600
156601
156602
156603
156604
156605
156606
156607
156608
156609
156610
156611
156612
156613
156614
156615
156616
156617
156618
156619
156620
156621
156622
156623
156624
156625
156626
156627
156628
156629
156630
156631
156632
156633
156634
156635
156636
156637
156638
156639
156640
156641
156642
156643
156644
156645
156646
156647
156648
156649
156650
156651
156652
156653
156654
156655
156656
156657
156658
156659
156660
156661
156662
156663
156664
156665
156666
156667
156668
156669
156670
156671
156672
156673
156674
156675
156676
156677
156678
156679
156680
156681
156682
156683
156684
156685
156686
156687
156688
156689
156690
156691
156692
156693
156694
156695
156696
156697
156698
156699
156700
156701
156702
156703
156704
156705
156706
156707
156708
156709
156710
156711
156712
156713
156714
156715
156716
156717
156718
156719
156720
156721
156722
156723
156724
156725
156726
156727
156728
156729
156730
156731
156732
156733
156734
156735
156736
156737
156738
156739
156740
156741
156742
156743
156744
156745
156746
156747
156748
156749
156750
156751
156752
156753
156754
156755
156756
156757
156758
156759
156760
156761
156762
156763
156764
156765
156766
156767
156768
156769
156770
156771
156772
156773
156774
156775
156776
156777
156778
156779
156780
156781
156782
156783
156784
156785
156786
156787
156788
156789
156790
156791
156792
156793
156794
156795
156796
156797
156798
156799
156800
156801
156802
156803
156804
156805
156806
156807
156808
156809
156810
156811
156812
156813
156814
156815
156816
156817
156818
156819
156820
156821
156822
156823
156824
156825
156826
156827
156828
156829
156830
156831
156832
156833
156834
156835
156836
156837
156838
156839
156840
156841
156842
156843
156844
156845
156846
156847
156848
156849
156850
156851
156852
156853
156854
156855
156856
156857
156858
156859
156860
156861
156862
156863
156864
156865
156866
156867
156868
156869
156870
156871
156872
156873
156874
156875
156876
156877
156878
156879
156880
156881
156882
156883
156884
156885
156886
156887
156888
156889
156890
156891
156892
156893
156894
156895
156896
156897
156898
156899
156900
156901
156902
156903
156904
156905
156906
156907
156908
156909
156910
156911
156912
156913
156914
156915
156916
156917
156918
156919
156920
156921
156922
156923
156924
156925
156926
156927
156928
156929
156930
156931
156932
156933
156934
156935
156936
156937
156938
156939
156940
156941
156942
156943
156944
156945
156946
156947
156948
156949
156950
156951
156952
156953
156954
156955
156956
156957
156958
156959
156960
156961
156962
156963
156964
156965
156966
156967
156968
156969
156970
156971
156972
156973
156974
156975
156976
156977
156978
156979
156980
156981
156982
156983
156984
156985
156986
156987
156988
156989
156990
156991
156992
156993
156994
156995
156996
156997
156998
156999
157000
157001
157002
157003
157004
157005
157006
157007
157008
157009
157010
157011
157012
157013
157014
157015
157016
157017
157018
157019
157020
157021
157022
157023
157024
157025
157026
157027
157028
157029
157030
157031
157032
157033
157034
157035
157036
157037
157038
157039
157040
157041
157042
157043
157044
157045
157046
157047
157048
157049
157050
157051
157052
157053
157054
157055
157056
157057
157058
157059
157060
157061
157062
157063
157064
157065
157066
157067
157068
157069
157070
157071
157072
157073
157074
157075
157076
157077
157078
157079
157080
157081
157082
157083
157084
157085
157086
157087
157088
157089
157090
157091
157092
157093
157094
157095
157096
157097
157098
157099
157100
157101
157102
157103
157104
157105
157106
157107
157108
157109
157110
157111
157112
157113
157114
157115
157116
157117
157118
157119
157120
157121
157122
157123
157124
157125
157126
157127
157128
157129
157130
157131
157132
157133
157134
157135
157136
157137
157138
157139
157140
157141
157142
157143
157144
157145
157146
157147
157148
157149
157150
157151
157152
157153
157154
157155
157156
157157
157158
157159
157160
157161
157162
157163
157164
157165
157166
157167
157168
157169
157170
157171
157172
157173
157174
157175
157176
157177
157178
157179
157180
157181
157182
157183
157184
157185
157186
157187
157188
157189
157190
157191
157192
157193
157194
157195
157196
157197
157198
157199
157200
157201
157202
157203
157204
157205
157206
157207
157208
157209
157210
157211
157212
157213
157214
157215
157216
157217
157218
157219
157220
157221
157222
157223
157224
157225
157226
157227
157228
157229
157230
157231
157232
157233
157234
157235
157236
157237
157238
157239
157240
157241
157242
157243
157244
157245
157246
157247
157248
157249
157250
157251
157252
157253
157254
157255
157256
157257
157258
157259
157260
157261
157262
157263
157264
157265
157266
157267
157268
157269
157270
157271
157272
157273
157274
157275
157276
157277
157278
157279
157280
157281
157282
157283
157284
157285
157286
157287
157288
157289
157290
157291
157292
157293
157294
157295
157296
157297
157298
157299
157300
157301
157302
157303
157304
157305
157306
157307
157308
157309
157310
157311
157312
157313
157314
157315
157316
157317
157318
157319
157320
157321
157322
157323
157324
157325
157326
157327
157328
157329
157330
157331
157332
157333
157334
157335
157336
157337
157338
157339
157340
157341
157342
157343
157344
157345
157346
157347
157348
157349
157350
157351
157352
157353
157354
157355
157356
157357
157358
157359
157360
157361
157362
157363
157364
157365
157366
157367
157368
157369
157370
157371
157372
157373
157374
157375
157376
157377
157378
157379
157380
157381
157382
157383
157384
157385
157386
157387
157388
157389
157390
157391
157392
157393
157394
157395
157396
157397
157398
157399
157400
157401
157402
157403
157404
157405
157406
157407
157408
157409
157410
157411
157412
157413
157414
157415
157416
157417
157418
157419
157420
157421
157422
157423
157424
157425
157426
157427
157428
157429
157430
157431
157432
157433
157434
157435
157436
157437
157438
157439
157440
157441
157442
157443
157444
157445
157446
157447
157448
157449
157450
157451
157452
157453
157454
157455
157456
157457
157458
157459
157460
157461
157462
157463
157464
157465
157466
157467
157468
157469
157470
157471
157472
157473
157474
157475
157476
157477
157478
157479
157480
157481
157482
157483
157484
157485
157486
157487
157488
157489
157490
157491
157492
157493
157494
157495
157496
157497
157498
157499
157500
157501
157502
157503
157504
157505
157506
157507
157508
157509
157510
157511
157512
157513
157514
157515
157516
157517
157518
157519
157520
157521
157522
157523
157524
157525
157526
157527
157528
157529
157530
157531
157532
157533
157534
157535
157536
157537
157538
157539
157540
157541
157542
157543
157544
157545
157546
157547
157548
157549
157550
157551
157552
157553
157554
157555
157556
157557
157558
157559
157560
157561
157562
157563
157564
157565
157566
157567
157568
157569
157570
157571
157572
157573
157574
157575
157576
157577
157578
157579
157580
157581
157582
157583
157584
157585
157586
157587
157588
157589
157590
157591
157592
157593
157594
157595
157596
157597
157598
157599
157600
157601
157602
157603
157604
157605
157606
157607
157608
157609
157610
157611
157612
157613
157614
157615
157616
157617
157618
157619
157620
157621
157622
157623
157624
157625
157626
157627
157628
157629
157630
157631
157632
157633
157634
157635
157636
157637
157638
157639
157640
157641
157642
157643
157644
157645
157646
157647
157648
157649
157650
157651
157652
157653
157654
157655
157656
157657
157658
157659
157660
157661
157662
157663
157664
157665
157666
157667
157668
157669
157670
157671
157672
157673
157674
157675
157676
157677
157678
157679
157680
157681
157682
157683
157684
157685
157686
157687
157688
157689
157690
157691
157692
157693
157694
157695
157696
157697
157698
157699
157700
157701
157702
157703
157704
157705
157706
157707
157708
157709
157710
157711
157712
157713
157714
157715
157716
157717
157718
157719
157720
157721
157722
157723
157724
157725
157726
157727
157728
157729
157730
157731
157732
157733
157734
157735
157736
157737
157738
157739
157740
157741
157742
157743
157744
157745
157746
157747
157748
157749
157750
157751
157752
157753
157754
157755
157756
157757
157758
157759
157760
157761
157762
157763
157764
157765
157766
157767
157768
157769
157770
157771
157772
157773
157774
157775
157776
157777
157778
157779
157780
157781
157782
157783
157784
157785
157786
157787
157788
157789
157790
157791
157792
157793
157794
157795
157796
157797
157798
157799
157800
157801
157802
157803
157804
157805
157806
157807
157808
157809
157810
157811
157812
157813
157814
157815
157816
157817
157818
157819
157820
157821
157822
157823
157824
157825
157826
157827
157828
157829
157830
157831
157832
157833
157834
157835
157836
157837
157838
157839
157840
157841
157842
157843
157844
157845
157846
157847
157848
157849
157850
157851
157852
157853
157854
157855
157856
157857
157858
157859
157860
157861
157862
157863
157864
157865
157866
157867
157868
157869
157870
157871
157872
157873
157874
157875
157876
157877
157878
157879
157880
157881
157882
157883
157884
157885
157886
157887
157888
157889
157890
157891
157892
157893
157894
157895
157896
157897
157898
157899
157900
157901
157902
157903
157904
157905
157906
157907
157908
157909
157910
157911
157912
157913
157914
157915
157916
157917
157918
157919
157920
157921
157922
157923
157924
157925
157926
157927
157928
157929
157930
157931
157932
157933
157934
157935
157936
157937
157938
157939
157940
157941
157942
157943
157944
157945
157946
157947
157948
157949
157950
157951
157952
157953
157954
157955
157956
157957
157958
157959
157960
157961
157962
157963
157964
157965
157966
157967
157968
157969
157970
157971
157972
157973
157974
157975
157976
157977
157978
157979
157980
157981
157982
157983
157984
157985
157986
157987
157988
157989
157990
157991
157992
157993
157994
157995
157996
157997
157998
157999
158000
158001
158002
158003
158004
158005
158006
158007
158008
158009
158010
158011
158012
158013
158014
158015
158016
158017
158018
158019
158020
158021
158022
158023
158024
158025
158026
158027
158028
158029
158030
158031
158032
158033
158034
158035
158036
158037
158038
158039
158040
158041
158042
158043
158044
158045
158046
158047
158048
158049
158050
158051
158052
158053
158054
158055
158056
158057
158058
158059
158060
158061
158062
158063
158064
158065
158066
158067
158068
158069
158070
158071
158072
158073
158074
158075
158076
158077
158078
158079
158080
158081
158082
158083
158084
158085
158086
158087
158088
158089
158090
158091
158092
158093
158094
158095
158096
158097
158098
158099
158100
158101
158102
158103
158104
158105
158106
158107
158108
158109
158110
158111
158112
158113
158114
158115
158116
158117
158118
158119
158120
158121
158122
158123
158124
158125
158126
158127
158128
158129
158130
158131
158132
158133
158134
158135
158136
158137
158138
158139
158140
158141
158142
158143
158144
158145
158146
158147
158148
158149
158150
158151
158152
158153
158154
158155
158156
158157
158158
158159
158160
158161
158162
158163
158164
158165
158166
158167
158168
158169
158170
158171
158172
158173
158174
158175
158176
158177
158178
158179
158180
158181
158182
158183
158184
158185
158186
158187
158188
158189
158190
158191
158192
158193
158194
158195
158196
158197
158198
158199
158200
158201
158202
158203
158204
158205
158206
158207
158208
158209
158210
158211
158212
158213
158214
158215
158216
158217
158218
158219
158220
158221
158222
158223
158224
158225
158226
158227
158228
158229
158230
158231
158232
158233
158234
158235
158236
158237
158238
158239
158240
158241
158242
158243
158244
158245
158246
158247
158248
158249
158250
158251
158252
158253
158254
158255
158256
158257
158258
158259
158260
158261
158262
158263
158264
158265
158266
158267
158268
158269
158270
158271
158272
158273
158274
158275
158276
158277
158278
158279
158280
158281
158282
158283
158284
158285
158286
158287
158288
158289
158290
158291
158292
158293
158294
158295
158296
158297
158298
158299
158300
158301
158302
158303
158304
158305
158306
158307
158308
158309
158310
158311
158312
158313
158314
158315
158316
158317
158318
158319
158320
158321
158322
158323
158324
158325
158326
158327
158328
158329
158330
158331
158332
158333
158334
158335
158336
158337
158338
158339
158340
158341
158342
158343
158344
158345
158346
158347
158348
158349
158350
158351
158352
158353
158354
158355
158356
158357
158358
158359
158360
158361
158362
158363
158364
158365
158366
158367
158368
158369
158370
158371
158372
158373
158374
158375
158376
158377
158378
158379
158380
158381
158382
158383
158384
158385
158386
158387
158388
158389
158390
158391
158392
158393
158394
158395
158396
158397
158398
158399
158400
158401
158402
158403
158404
158405
158406
158407
158408
158409
158410
158411
158412
158413
158414
158415
158416
158417
158418
158419
158420
158421
158422
158423
158424
158425
158426
158427
158428
158429
158430
158431
158432
158433
158434
158435
158436
158437
158438
158439
158440
158441
158442
158443
158444
158445
158446
158447
158448
158449
158450
158451
158452
158453
158454
158455
158456
158457
158458
158459
158460
158461
158462
158463
158464
158465
158466
158467
158468
158469
158470
158471
158472
158473
158474
158475
158476
158477
158478
158479
158480
158481
158482
158483
158484
158485
158486
158487
158488
158489
158490
158491
158492
158493
158494
158495
158496
158497
158498
158499
158500
158501
158502
158503
158504
158505
158506
158507
158508
158509
158510
158511
158512
158513
158514
158515
158516
158517
158518
158519
158520
158521
158522
158523
158524
158525
158526
158527
158528
158529
158530
158531
158532
158533
158534
158535
158536
158537
158538
158539
158540
158541
158542
158543
158544
158545
158546
158547
158548
158549
158550
158551
158552
158553
158554
158555
158556
158557
158558
158559
158560
158561
158562
158563
158564
158565
158566
158567
158568
158569
158570
158571
158572
158573
158574
158575
158576
158577
158578
158579
158580
158581
158582
158583
158584
158585
158586
158587
158588
158589
158590
158591
158592
158593
158594
158595
158596
158597
158598
158599
158600
158601
158602
158603
158604
158605
158606
158607
158608
158609
158610
158611
158612
158613
158614
158615
158616
158617
158618
158619
158620
158621
158622
158623
158624
158625
158626
158627
158628
158629
158630
158631
158632
158633
158634
158635
158636
158637
158638
158639
158640
158641
158642
158643
158644
158645
158646
158647
158648
158649
158650
158651
158652
158653
158654
158655
158656
158657
158658
158659
158660
158661
158662
158663
158664
158665
158666
158667
158668
158669
158670
158671
158672
158673
158674
158675
158676
158677
158678
158679
158680
158681
158682
158683
158684
158685
158686
158687
158688
158689
158690
158691
158692
158693
158694
158695
158696
158697
158698
158699
158700
158701
158702
158703
158704
158705
158706
158707
158708
158709
158710
158711
158712
158713
158714
158715
158716
158717
158718
158719
158720
158721
158722
158723
158724
158725
158726
158727
158728
158729
158730
158731
158732
158733
158734
158735
158736
158737
158738
158739
158740
158741
158742
158743
158744
158745
158746
158747
158748
158749
158750
158751
158752
158753
158754
158755
158756
158757
158758
158759
158760
158761
158762
158763
158764
158765
158766
158767
158768
158769
158770
158771
158772
158773
158774
158775
158776
158777
158778
158779
158780
158781
158782
158783
158784
158785
158786
158787
158788
158789
158790
158791
158792
158793
158794
158795
158796
158797
158798
158799
158800
158801
158802
158803
158804
158805
158806
158807
158808
158809
158810
158811
158812
158813
158814
158815
158816
158817
158818
158819
158820
158821
158822
158823
158824
158825
158826
158827
158828
158829
158830
158831
158832
158833
158834
158835
158836
158837
158838
158839
158840
158841
158842
158843
158844
158845
158846
158847
158848
158849
158850
158851
158852
158853
158854
158855
158856
158857
158858
158859
158860
158861
158862
158863
158864
158865
158866
158867
158868
158869
158870
158871
158872
158873
158874
158875
158876
158877
158878
158879
158880
158881
158882
158883
158884
158885
158886
158887
158888
158889
158890
158891
158892
158893
158894
158895
158896
158897
158898
158899
158900
158901
158902
158903
158904
158905
158906
158907
158908
158909
158910
158911
158912
158913
158914
158915
158916
158917
158918
158919
158920
158921
158922
158923
158924
158925
158926
158927
158928
158929
158930
158931
158932
158933
158934
158935
158936
158937
158938
158939
158940
158941
158942
158943
158944
158945
158946
158947
158948
158949
158950
158951
158952
158953
158954
158955
158956
158957
158958
158959
158960
158961
158962
158963
158964
158965
158966
158967
158968
158969
158970
158971
158972
158973
158974
158975
158976
158977
158978
158979
158980
158981
158982
158983
158984
158985
158986
158987
158988
158989
158990
158991
158992
158993
158994
158995
158996
158997
158998
158999
159000
159001
159002
159003
159004
159005
159006
159007
159008
159009
159010
159011
159012
159013
159014
159015
159016
159017
159018
159019
159020
159021
159022
159023
159024
159025
159026
159027
159028
159029
159030
159031
159032
159033
159034
159035
159036
159037
159038
159039
159040
159041
159042
159043
159044
159045
159046
159047
159048
159049
159050
159051
159052
159053
159054
159055
159056
159057
159058
159059
159060
159061
159062
159063
159064
159065
159066
159067
159068
159069
159070
159071
159072
159073
159074
159075
159076
159077
159078
159079
159080
159081
159082
159083
159084
159085
159086
159087
159088
159089
159090
159091
159092
159093
159094
159095
159096
159097
159098
159099
159100
159101
159102
159103
159104
159105
159106
159107
159108
159109
159110
159111
159112
159113
159114
159115
159116
159117
159118
159119
159120
159121
159122
159123
159124
159125
159126
159127
159128
159129
159130
159131
159132
159133
159134
159135
159136
159137
159138
159139
159140
159141
159142
159143
159144
159145
159146
159147
159148
159149
159150
159151
159152
159153
159154
159155
159156
159157
159158
159159
159160
159161
159162
159163
159164
159165
159166
159167
159168
159169
159170
159171
159172
159173
159174
159175
159176
159177
159178
159179
159180
159181
159182
159183
159184
159185
159186
159187
159188
159189
159190
159191
159192
159193
159194
159195
159196
159197
159198
159199
159200
159201
159202
159203
159204
159205
159206
159207
159208
159209
159210
159211
159212
159213
159214
159215
159216
159217
159218
159219
159220
159221
159222
159223
159224
159225
159226
159227
159228
159229
159230
159231
159232
159233
159234
159235
159236
159237
159238
159239
159240
159241
159242
159243
159244
159245
159246
159247
159248
159249
159250
159251
159252
159253
159254
159255
159256
159257
159258
159259
159260
159261
159262
159263
159264
159265
159266
159267
159268
159269
159270
159271
159272
159273
159274
159275
159276
159277
159278
159279
159280
159281
159282
159283
159284
159285
159286
159287
159288
159289
159290
159291
159292
159293
159294
159295
159296
159297
159298
159299
159300
159301
159302
159303
159304
159305
159306
159307
159308
159309
159310
159311
159312
159313
159314
159315
159316
159317
159318
159319
159320
159321
159322
159323
159324
159325
159326
159327
159328
159329
159330
159331
159332
159333
159334
159335
159336
159337
159338
159339
159340
159341
159342
159343
159344
159345
159346
159347
159348
159349
159350
159351
159352
159353
159354
159355
159356
159357
159358
159359
159360
159361
159362
159363
159364
159365
159366
159367
159368
159369
159370
159371
159372
159373
159374
159375
159376
159377
159378
159379
159380
159381
159382
159383
159384
159385
159386
159387
159388
159389
159390
159391
159392
159393
159394
159395
159396
159397
159398
159399
159400
159401
159402
159403
159404
159405
159406
159407
159408
159409
159410
159411
159412
159413
159414
159415
159416
159417
159418
159419
159420
159421
159422
159423
159424
159425
159426
159427
159428
159429
159430
159431
159432
159433
159434
159435
159436
159437
159438
159439
159440
159441
159442
159443
159444
159445
159446
159447
159448
159449
159450
159451
159452
159453
159454
159455
159456
159457
159458
159459
159460
159461
159462
159463
159464
159465
159466
159467
159468
159469
159470
159471
159472
159473
159474
159475
159476
159477
159478
159479
159480
159481
159482
159483
159484
159485
159486
159487
159488
159489
159490
159491
159492
159493
159494
159495
159496
159497
159498
159499
159500
159501
159502
159503
159504
159505
159506
159507
159508
159509
159510
159511
159512
159513
159514
159515
159516
159517
159518
159519
159520
159521
159522
159523
159524
159525
159526
159527
159528
159529
159530
159531
159532
159533
159534
159535
159536
159537
159538
159539
159540
159541
159542
159543
159544
159545
159546
159547
159548
159549
159550
159551
159552
159553
159554
159555
159556
159557
159558
159559
159560
159561
159562
159563
159564
159565
159566
159567
159568
159569
159570
159571
159572
159573
159574
159575
159576
159577
159578
159579
159580
159581
159582
159583
159584
159585
159586
159587
159588
159589
159590
159591
159592
159593
159594
159595
159596
159597
159598
159599
159600
159601
159602
159603
159604
159605
159606
159607
159608
159609
159610
159611
159612
159613
159614
159615
159616
159617
159618
159619
159620
159621
159622
159623
159624
159625
159626
159627
159628
159629
159630
159631
159632
159633
159634
159635
159636
159637
159638
159639
159640
159641
159642
159643
159644
159645
159646
159647
159648
159649
159650
159651
159652
159653
159654
159655
159656
159657
159658
159659
159660
159661
159662
159663
159664
159665
159666
159667
159668
159669
159670
159671
159672
159673
159674
159675
159676
159677
159678
159679
159680
159681
159682
159683
159684
159685
159686
159687
159688
159689
159690
159691
159692
159693
159694
159695
159696
159697
159698
159699
159700
159701
159702
159703
159704
159705
159706
159707
159708
159709
159710
159711
159712
159713
159714
159715
159716
159717
159718
159719
159720
159721
159722
159723
159724
159725
159726
159727
159728
159729
159730
159731
159732
159733
159734
159735
159736
159737
159738
159739
159740
159741
159742
159743
159744
159745
159746
159747
159748
159749
159750
159751
159752
159753
159754
159755
159756
159757
159758
159759
159760
159761
159762
159763
159764
159765
159766
159767
159768
159769
159770
159771
159772
159773
159774
159775
159776
159777
159778
159779
159780
159781
159782
159783
159784
159785
159786
159787
159788
159789
159790
159791
159792
159793
159794
159795
159796
159797
159798
159799
159800
159801
159802
159803
159804
159805
159806
159807
159808
159809
159810
159811
159812
159813
159814
159815
159816
159817
159818
159819
159820
159821
159822
159823
159824
159825
159826
159827
159828
159829
159830
159831
159832
159833
159834
159835
159836
159837
159838
159839
159840
159841
159842
159843
159844
159845
159846
159847
159848
159849
159850
159851
159852
159853
159854
159855
159856
159857
159858
159859
159860
159861
159862
159863
159864
159865
159866
159867
159868
159869
159870
159871
159872
159873
159874
159875
159876
159877
159878
159879
159880
159881
159882
159883
159884
159885
159886
159887
159888
159889
159890
159891
159892
159893
159894
159895
159896
159897
159898
159899
159900
159901
159902
159903
159904
159905
159906
159907
159908
159909
159910
159911
159912
159913
159914
159915
159916
159917
159918
159919
159920
159921
159922
159923
159924
159925
159926
159927
159928
159929
159930
159931
159932
159933
159934
159935
159936
159937
159938
159939
159940
159941
159942
159943
159944
159945
159946
159947
159948
159949
159950
159951
159952
159953
159954
159955
159956
159957
159958
159959
159960
159961
159962
159963
159964
159965
159966
159967
159968
159969
159970
159971
159972
159973
159974
159975
159976
159977
159978
159979
159980
159981
159982
159983
159984
159985
159986
159987
159988
159989
159990
159991
159992
159993
159994
159995
159996
159997
159998
159999
160000
160001
160002
160003
160004
160005
160006
160007
160008
160009
160010
160011
160012
160013
160014
160015
160016
160017
160018
160019
160020
160021
160022
160023
160024
160025
160026
160027
160028
160029
160030
160031
160032
160033
160034
160035
160036
160037
160038
160039
160040
160041
160042
160043
160044
160045
160046
160047
160048
160049
160050
160051
160052
160053
160054
160055
160056
160057
160058
160059
160060
160061
160062
160063
160064
160065
160066
160067
160068
160069
160070
160071
160072
160073
160074
160075
160076
160077
160078
160079
160080
160081
160082
160083
160084
160085
160086
160087
160088
160089
160090
160091
160092
160093
160094
160095
160096
160097
160098
160099
160100
160101
160102
160103
160104
160105
160106
160107
160108
160109
160110
160111
160112
160113
160114
160115
160116
160117
160118
160119
160120
160121
160122
160123
160124
160125
160126
160127
160128
160129
160130
160131
160132
160133
160134
160135
160136
160137
160138
160139
160140
160141
160142
160143
160144
160145
160146
160147
160148
160149
160150
160151
160152
160153
160154
160155
160156
160157
160158
160159
160160
160161
160162
160163
160164
160165
160166
160167
160168
160169
160170
160171
160172
160173
160174
160175
160176
160177
160178
160179
160180
160181
160182
160183
160184
160185
160186
160187
160188
160189
160190
160191
160192
160193
160194
160195
160196
160197
160198
160199
160200
160201
160202
160203
160204
160205
160206
160207
160208
160209
160210
160211
160212
160213
160214
160215
160216
160217
160218
160219
160220
160221
160222
160223
160224
160225
160226
160227
160228
160229
160230
160231
160232
160233
160234
160235
160236
160237
160238
160239
160240
160241
160242
160243
160244
160245
160246
160247
160248
160249
160250
160251
160252
160253
160254
160255
160256
160257
160258
160259
160260
160261
160262
160263
160264
160265
160266
160267
160268
160269
160270
160271
160272
160273
160274
160275
160276
160277
160278
160279
160280
160281
160282
160283
160284
160285
160286
160287
160288
160289
160290
160291
160292
160293
160294
160295
160296
160297
160298
160299
160300
160301
160302
160303
160304
160305
160306
160307
160308
160309
160310
160311
160312
160313
160314
160315
160316
160317
160318
160319
160320
160321
160322
160323
160324
160325
160326
160327
160328
160329
160330
160331
160332
160333
160334
160335
160336
160337
160338
160339
160340
160341
160342
160343
160344
160345
160346
160347
160348
160349
160350
160351
160352
160353
160354
160355
160356
160357
160358
160359
160360
160361
160362
160363
160364
160365
160366
160367
160368
160369
160370
160371
160372
160373
160374
160375
160376
160377
160378
160379
160380
160381
160382
160383
160384
160385
160386
160387
160388
160389
160390
160391
160392
160393
160394
160395
160396
160397
160398
160399
160400
160401
160402
160403
160404
160405
160406
160407
160408
160409
160410
160411
160412
160413
160414
160415
160416
160417
160418
160419
160420
160421
160422
160423
160424
160425
160426
160427
160428
160429
160430
160431
160432
160433
160434
160435
160436
160437
160438
160439
160440
160441
160442
160443
160444
160445
160446
160447
160448
160449
160450
160451
160452
160453
160454
160455
160456
160457
160458
160459
160460
160461
160462
160463
160464
160465
160466
160467
160468
160469
160470
160471
160472
160473
160474
160475
160476
160477
160478
160479
160480
160481
160482
160483
160484
160485
160486
160487
160488
160489
160490
160491
160492
160493
160494
160495
160496
160497
160498
160499
160500
160501
160502
160503
160504
160505
160506
160507
160508
160509
160510
160511
160512
160513
160514
160515
160516
160517
160518
160519
160520
160521
160522
160523
160524
160525
160526
160527
160528
160529
160530
160531
160532
160533
160534
160535
160536
160537
160538
160539
160540
160541
160542
160543
160544
160545
160546
160547
160548
160549
160550
160551
160552
160553
160554
160555
160556
160557
160558
160559
160560
160561
160562
160563
160564
160565
160566
160567
160568
160569
160570
160571
160572
160573
160574
160575
160576
160577
160578
160579
160580
160581
160582
160583
160584
160585
160586
160587
160588
160589
160590
160591
160592
160593
160594
160595
160596
160597
160598
160599
160600
160601
160602
160603
160604
160605
160606
160607
160608
160609
160610
160611
160612
160613
160614
160615
160616
160617
160618
160619
160620
160621
160622
160623
160624
160625
160626
160627
160628
160629
160630
160631
160632
160633
160634
160635
160636
160637
160638
160639
160640
160641
160642
160643
160644
160645
160646
160647
160648
160649
160650
160651
160652
160653
160654
160655
160656
160657
160658
160659
160660
160661
160662
160663
160664
160665
160666
160667
160668
160669
160670
160671
160672
160673
160674
160675
160676
160677
160678
160679
160680
160681
160682
160683
160684
160685
160686
160687
160688
160689
160690
160691
160692
160693
160694
160695
160696
160697
160698
160699
160700
160701
160702
160703
160704
160705
160706
160707
160708
160709
160710
160711
160712
160713
160714
160715
160716
160717
160718
160719
160720
160721
160722
160723
160724
160725
160726
160727
160728
160729
160730
160731
160732
160733
160734
160735
160736
160737
160738
160739
160740
160741
160742
160743
160744
160745
160746
160747
160748
160749
160750
160751
160752
160753
160754
160755
160756
160757
160758
160759
160760
160761
160762
160763
160764
160765
160766
160767
160768
160769
160770
160771
160772
160773
160774
160775
160776
160777
160778
160779
160780
160781
160782
160783
160784
160785
160786
160787
160788
160789
160790
160791
160792
160793
160794
160795
160796
160797
160798
160799
160800
160801
160802
160803
160804
160805
160806
160807
160808
160809
160810
160811
160812
160813
160814
160815
160816
160817
160818
160819
160820
160821
160822
160823
160824
160825
160826
160827
160828
160829
160830
160831
160832
160833
160834
160835
160836
160837
160838
160839
160840
160841
160842
160843
160844
160845
160846
160847
160848
160849
160850
160851
160852
160853
160854
160855
160856
160857
160858
160859
160860
160861
160862
160863
160864
160865
160866
160867
160868
160869
160870
160871
160872
160873
160874
160875
160876
160877
160878
160879
160880
160881
160882
160883
160884
160885
160886
160887
160888
160889
160890
160891
160892
160893
160894
160895
160896
160897
160898
160899
160900
160901
160902
160903
160904
160905
160906
160907
160908
160909
160910
160911
160912
160913
160914
160915
160916
160917
160918
160919
160920
160921
160922
160923
160924
160925
160926
160927
160928
160929
160930
160931
160932
160933
160934
160935
160936
160937
160938
160939
160940
160941
160942
160943
160944
160945
160946
160947
160948
160949
160950
160951
160952
160953
160954
160955
160956
160957
160958
160959
160960
160961
160962
160963
160964
160965
160966
160967
160968
160969
160970
160971
160972
160973
160974
160975
160976
160977
160978
160979
160980
160981
160982
160983
160984
160985
160986
160987
160988
160989
160990
160991
160992
160993
160994
160995
160996
160997
160998
160999
161000
161001
161002
161003
161004
161005
161006
161007
161008
161009
161010
161011
161012
161013
161014
161015
161016
161017
161018
161019
161020
161021
161022
161023
161024
161025
161026
161027
161028
161029
161030
161031
161032
161033
161034
161035
161036
161037
161038
161039
161040
161041
161042
161043
161044
161045
161046
161047
161048
161049
161050
161051
161052
161053
161054
161055
161056
161057
161058
161059
161060
161061
161062
161063
161064
161065
161066
161067
161068
161069
161070
161071
161072
161073
161074
161075
161076
161077
161078
161079
161080
161081
161082
161083
161084
161085
161086
161087
161088
161089
161090
161091
161092
161093
161094
161095
161096
161097
161098
161099
161100
161101
161102
161103
161104
161105
161106
161107
161108
161109
161110
161111
161112
161113
161114
161115
161116
161117
161118
161119
161120
161121
161122
161123
161124
161125
161126
161127
161128
161129
161130
161131
161132
161133
161134
161135
161136
161137
161138
161139
161140
161141
161142
161143
161144
161145
161146
161147
161148
161149
161150
161151
161152
161153
161154
161155
161156
161157
161158
161159
161160
161161
161162
161163
161164
161165
161166
161167
161168
161169
161170
161171
161172
161173
161174
161175
161176
161177
161178
161179
161180
161181
161182
161183
161184
161185
161186
161187
161188
161189
161190
161191
161192
161193
161194
161195
161196
161197
161198
161199
161200
161201
161202
161203
161204
161205
161206
161207
161208
161209
161210
161211
161212
161213
161214
161215
161216
161217
161218
161219
161220
161221
161222
161223
161224
161225
161226
161227
161228
161229
161230
161231
161232
161233
161234
161235
161236
161237
161238
161239
161240
161241
161242
161243
161244
161245
161246
161247
161248
161249
161250
161251
161252
161253
161254
161255
161256
161257
161258
161259
161260
161261
161262
161263
161264
161265
161266
161267
161268
161269
161270
161271
161272
161273
161274
161275
161276
161277
161278
161279
161280
161281
161282
161283
161284
161285
161286
161287
161288
161289
161290
161291
161292
161293
161294
161295
161296
161297
161298
161299
161300
161301
161302
161303
161304
161305
161306
161307
161308
161309
161310
161311
161312
161313
161314
161315
161316
161317
161318
161319
161320
161321
161322
161323
161324
161325
161326
161327
161328
161329
161330
161331
161332
161333
161334
161335
161336
161337
161338
161339
161340
161341
161342
161343
161344
161345
161346
161347
161348
161349
161350
161351
161352
161353
161354
161355
161356
161357
161358
161359
161360
161361
161362
161363
161364
161365
161366
161367
161368
161369
161370
161371
161372
161373
161374
161375
161376
161377
161378
161379
161380
161381
161382
161383
161384
161385
161386
161387
161388
161389
161390
161391
161392
161393
161394
161395
161396
161397
161398
161399
161400
161401
161402
161403
161404
161405
161406
161407
161408
161409
161410
161411
161412
161413
161414
161415
161416
161417
161418
161419
161420
161421
161422
161423
161424
161425
161426
161427
161428
161429
161430
161431
161432
161433
161434
161435
161436
161437
161438
161439
161440
161441
161442
161443
161444
161445
161446
161447
161448
161449
161450
161451
161452
161453
161454
161455
161456
161457
161458
161459
161460
161461
161462
161463
161464
161465
161466
161467
161468
161469
161470
161471
161472
161473
161474
161475
161476
161477
161478
161479
161480
161481
161482
161483
161484
161485
161486
161487
161488
161489
161490
161491
161492
161493
161494
161495
161496
161497
161498
161499
161500
161501
161502
161503
161504
161505
161506
161507
161508
161509
161510
161511
161512
161513
161514
161515
161516
161517
161518
161519
161520
161521
161522
161523
161524
161525
161526
161527
161528
161529
161530
161531
161532
161533
161534
161535
161536
161537
161538
161539
161540
161541
161542
161543
161544
161545
161546
161547
161548
161549
161550
161551
161552
161553
161554
161555
161556
161557
161558
161559
161560
161561
161562
161563
161564
161565
161566
161567
161568
161569
161570
161571
161572
161573
161574
161575
161576
161577
161578
161579
161580
161581
161582
161583
161584
161585
161586
161587
161588
161589
161590
161591
161592
161593
161594
161595
161596
161597
161598
161599
161600
161601
161602
161603
161604
161605
161606
161607
161608
161609
161610
161611
161612
161613
161614
161615
161616
161617
161618
161619
161620
161621
161622
161623
161624
161625
161626
161627
161628
161629
161630
161631
161632
161633
161634
161635
161636
161637
161638
161639
161640
161641
161642
161643
161644
161645
161646
161647
161648
161649
161650
161651
161652
161653
161654
161655
161656
161657
161658
161659
161660
161661
161662
161663
161664
161665
161666
161667
161668
161669
161670
161671
161672
161673
161674
161675
161676
161677
161678
161679
161680
161681
161682
161683
161684
161685
161686
161687
161688
161689
161690
161691
161692
161693
161694
161695
161696
161697
161698
161699
161700
161701
161702
161703
161704
161705
161706
161707
161708
161709
161710
161711
161712
161713
161714
161715
161716
161717
161718
161719
161720
161721
161722
161723
161724
161725
161726
161727
161728
161729
161730
161731
161732
161733
161734
161735
161736
161737
161738
161739
161740
161741
161742
161743
161744
161745
161746
161747
161748
161749
161750
161751
161752
161753
161754
161755
161756
161757
161758
161759
161760
161761
161762
161763
161764
161765
161766
161767
161768
161769
161770
161771
161772
161773
161774
161775
161776
161777
161778
161779
161780
161781
161782
161783
161784
161785
161786
161787
161788
161789
161790
161791
161792
161793
161794
161795
161796
161797
161798
161799
161800
161801
161802
161803
161804
161805
161806
161807
161808
161809
161810
161811
161812
161813
161814
161815
161816
161817
161818
161819
161820
161821
161822
161823
161824
161825
161826
161827
161828
161829
161830
161831
161832
161833
161834
161835
161836
161837
161838
161839
161840
161841
161842
161843
161844
161845
161846
161847
161848
161849
161850
161851
161852
161853
161854
161855
161856
161857
161858
161859
161860
161861
161862
161863
161864
161865
161866
161867
161868
161869
161870
161871
161872
161873
161874
161875
161876
161877
161878
161879
161880
161881
161882
161883
161884
161885
161886
161887
161888
161889
161890
161891
161892
161893
161894
161895
161896
161897
161898
161899
161900
161901
161902
161903
161904
161905
161906
161907
161908
161909
161910
161911
161912
161913
161914
161915
161916
161917
161918
161919
161920
161921
161922
161923
161924
161925
161926
161927
161928
161929
161930
161931
161932
161933
161934
161935
161936
161937
161938
161939
161940
161941
161942
161943
161944
161945
161946
161947
161948
161949
161950
161951
161952
161953
161954
161955
161956
161957
161958
161959
161960
161961
161962
161963
161964
161965
161966
161967
161968
161969
161970
161971
161972
161973
161974
161975
161976
161977
161978
161979
161980
161981
161982
161983
161984
161985
161986
161987
161988
161989
161990
161991
161992
161993
161994
161995
161996
161997
161998
161999
162000
162001
162002
162003
162004
162005
162006
162007
162008
162009
162010
162011
162012
162013
162014
162015
162016
162017
162018
162019
162020
162021
162022
162023
162024
162025
162026
162027
162028
162029
162030
162031
162032
162033
162034
162035
162036
162037
162038
162039
162040
162041
162042
162043
162044
162045
162046
162047
162048
162049
162050
162051
162052
162053
162054
162055
162056
162057
162058
162059
162060
162061
162062
162063
162064
162065
162066
162067
162068
162069
162070
162071
162072
162073
162074
162075
162076
162077
162078
162079
162080
162081
162082
162083
162084
162085
162086
162087
162088
162089
162090
162091
162092
162093
162094
162095
162096
162097
162098
162099
162100
162101
162102
162103
162104
162105
162106
162107
162108
162109
162110
162111
162112
162113
162114
162115
162116
162117
162118
162119
162120
162121
162122
162123
162124
162125
162126
162127
162128
162129
162130
162131
162132
162133
162134
162135
162136
162137
162138
162139
162140
162141
162142
162143
162144
162145
162146
162147
162148
162149
162150
162151
162152
162153
162154
162155
162156
162157
162158
162159
162160
162161
162162
162163
162164
162165
162166
162167
162168
162169
162170
162171
162172
162173
162174
162175
162176
162177
162178
162179
162180
162181
162182
162183
162184
162185
162186
162187
162188
162189
162190
162191
162192
162193
162194
162195
162196
162197
162198
162199
162200
162201
162202
162203
162204
162205
162206
162207
162208
162209
162210
162211
162212
162213
162214
162215
162216
162217
162218
162219
162220
162221
162222
162223
162224
162225
162226
162227
162228
162229
162230
162231
162232
162233
162234
162235
162236
162237
162238
162239
162240
162241
162242
162243
162244
162245
162246
162247
162248
162249
162250
162251
162252
162253
162254
162255
162256
162257
162258
162259
162260
162261
162262
162263
162264
162265
162266
162267
162268
162269
162270
162271
162272
162273
162274
162275
162276
162277
162278
162279
162280
162281
162282
162283
162284
162285
162286
162287
162288
162289
162290
162291
162292
162293
162294
162295
162296
162297
162298
162299
162300
162301
162302
162303
162304
162305
162306
162307
162308
162309
162310
162311
162312
162313
162314
162315
162316
162317
162318
162319
162320
162321
162322
162323
162324
162325
162326
162327
162328
162329
162330
162331
162332
162333
162334
162335
162336
162337
162338
162339
162340
162341
162342
162343
162344
162345
162346
162347
162348
162349
162350
162351
162352
162353
162354
162355
162356
162357
162358
162359
162360
162361
162362
162363
162364
162365
162366
162367
162368
162369
162370
162371
162372
162373
162374
162375
162376
162377
162378
162379
162380
162381
162382
162383
162384
162385
162386
162387
162388
162389
162390
162391
162392
162393
162394
162395
162396
162397
162398
162399
162400
162401
162402
162403
162404
162405
162406
162407
162408
162409
162410
162411
162412
162413
162414
162415
162416
162417
162418
162419
162420
162421
162422
162423
162424
162425
162426
162427
162428
162429
162430
162431
162432
162433
162434
162435
162436
162437
162438
162439
162440
162441
162442
162443
162444
162445
162446
162447
162448
162449
162450
162451
162452
162453
162454
162455
162456
162457
162458
162459
162460
162461
162462
162463
162464
162465
162466
162467
162468
162469
162470
162471
162472
162473
162474
162475
162476
162477
162478
162479
162480
162481
162482
162483
162484
162485
162486
162487
162488
162489
162490
162491
162492
162493
162494
162495
162496
162497
162498
162499
162500
162501
162502
162503
162504
162505
162506
162507
162508
162509
162510
162511
162512
162513
162514
162515
162516
162517
162518
162519
162520
162521
162522
162523
162524
162525
162526
162527
162528
162529
162530
162531
162532
162533
162534
162535
162536
162537
162538
162539
162540
162541
162542
162543
162544
162545
162546
162547
162548
162549
162550
162551
162552
162553
162554
162555
162556
162557
162558
162559
162560
162561
162562
162563
162564
162565
162566
162567
162568
162569
162570
162571
162572
162573
162574
162575
162576
162577
162578
162579
162580
162581
162582
162583
162584
162585
162586
162587
162588
162589
162590
162591
162592
162593
162594
162595
162596
162597
162598
162599
162600
162601
162602
162603
162604
162605
162606
162607
162608
162609
162610
162611
162612
162613
162614
162615
162616
162617
162618
162619
162620
162621
162622
162623
162624
162625
162626
162627
162628
162629
162630
162631
162632
162633
162634
162635
162636
162637
162638
162639
162640
162641
162642
162643
162644
162645
162646
162647
162648
162649
162650
162651
162652
162653
162654
162655
162656
162657
162658
162659
162660
162661
162662
162663
162664
162665
162666
162667
162668
162669
162670
162671
162672
162673
162674
162675
162676
162677
162678
162679
162680
162681
162682
162683
162684
162685
162686
162687
162688
162689
162690
162691
162692
162693
162694
162695
162696
162697
162698
162699
162700
162701
162702
162703
162704
162705
162706
162707
162708
162709
162710
162711
162712
162713
162714
162715
162716
162717
162718
162719
162720
162721
162722
162723
162724
162725
162726
162727
162728
162729
162730
162731
162732
162733
162734
162735
162736
162737
162738
162739
162740
162741
162742
162743
162744
162745
162746
162747
162748
162749
162750
162751
162752
162753
162754
162755
162756
162757
162758
162759
162760
162761
162762
162763
162764
162765
162766
162767
162768
162769
162770
162771
162772
162773
162774
162775
162776
162777
162778
162779
162780
162781
162782
162783
162784
162785
162786
162787
162788
162789
162790
162791
162792
162793
162794
162795
162796
162797
162798
162799
162800
162801
162802
162803
162804
162805
162806
162807
162808
162809
162810
162811
162812
162813
162814
162815
162816
162817
162818
162819
162820
162821
162822
162823
162824
162825
162826
162827
162828
162829
162830
162831
162832
162833
162834
162835
162836
162837
162838
162839
162840
162841
162842
162843
162844
162845
162846
162847
162848
162849
162850
162851
162852
162853
162854
162855
162856
162857
162858
162859
162860
162861
162862
162863
162864
162865
162866
162867
162868
162869
162870
162871
162872
162873
162874
162875
162876
162877
162878
162879
162880
162881
162882
162883
162884
162885
162886
162887
162888
162889
162890
162891
162892
162893
162894
162895
162896
162897
162898
162899
162900
162901
162902
162903
162904
162905
162906
162907
162908
162909
162910
162911
162912
162913
162914
162915
162916
162917
162918
162919
162920
162921
162922
162923
162924
162925
162926
162927
162928
162929
162930
162931
162932
162933
162934
162935
162936
162937
162938
162939
162940
162941
162942
162943
162944
162945
162946
162947
162948
162949
162950
162951
162952
162953
162954
162955
162956
162957
162958
162959
162960
162961
162962
162963
162964
162965
162966
162967
162968
162969
162970
162971
162972
162973
162974
162975
162976
162977
162978
162979
162980
162981
162982
162983
162984
162985
162986
162987
162988
162989
162990
162991
162992
162993
162994
162995
162996
162997
162998
162999
163000
163001
163002
163003
163004
163005
163006
163007
163008
163009
163010
163011
163012
163013
163014
163015
163016
163017
163018
163019
163020
163021
163022
163023
163024
163025
163026
163027
163028
163029
163030
163031
163032
163033
163034
163035
163036
163037
163038
163039
163040
163041
163042
163043
163044
163045
163046
163047
163048
163049
163050
163051
163052
163053
163054
163055
163056
163057
163058
163059
163060
163061
163062
163063
163064
163065
163066
163067
163068
163069
163070
163071
163072
163073
163074
163075
163076
163077
163078
163079
163080
163081
163082
163083
163084
163085
163086
163087
163088
163089
163090
163091
163092
163093
163094
163095
163096
163097
163098
163099
163100
163101
163102
163103
163104
163105
163106
163107
163108
163109
163110
163111
163112
163113
163114
163115
163116
163117
163118
163119
163120
163121
163122
163123
163124
163125
163126
163127
163128
163129
163130
163131
163132
163133
163134
163135
163136
163137
163138
163139
163140
163141
163142
163143
163144
163145
163146
163147
163148
163149
163150
163151
163152
163153
163154
163155
163156
163157
163158
163159
163160
163161
163162
163163
163164
163165
163166
163167
163168
163169
163170
163171
163172
163173
163174
163175
163176
163177
163178
163179
163180
163181
163182
163183
163184
163185
163186
163187
163188
163189
163190
163191
163192
163193
163194
163195
163196
163197
163198
163199
163200
163201
163202
163203
163204
163205
163206
163207
163208
163209
163210
163211
163212
163213
163214
163215
163216
163217
163218
163219
163220
163221
163222
163223
163224
163225
163226
163227
163228
163229
163230
163231
163232
163233
163234
163235
163236
163237
163238
163239
163240
163241
163242
163243
163244
163245
163246
163247
163248
163249
163250
163251
163252
163253
163254
163255
163256
163257
163258
163259
163260
163261
163262
163263
163264
163265
163266
163267
163268
163269
163270
163271
163272
163273
163274
163275
163276
163277
163278
163279
163280
163281
163282
163283
163284
163285
163286
163287
163288
163289
163290
163291
163292
163293
163294
163295
163296
163297
163298
163299
163300
163301
163302
163303
163304
163305
163306
163307
163308
163309
163310
163311
163312
163313
163314
163315
163316
163317
163318
163319
163320
163321
163322
163323
163324
163325
163326
163327
163328
163329
163330
163331
163332
163333
163334
163335
163336
163337
163338
163339
163340
163341
163342
163343
163344
163345
163346
163347
163348
163349
163350
163351
163352
163353
163354
163355
163356
163357
163358
163359
163360
163361
163362
163363
163364
163365
163366
163367
163368
163369
163370
163371
163372
163373
163374
163375
163376
163377
163378
163379
163380
163381
163382
163383
163384
163385
163386
163387
163388
163389
163390
163391
163392
163393
163394
163395
163396
163397
163398
163399
163400
163401
163402
163403
163404
163405
163406
163407
163408
163409
163410
163411
163412
163413
163414
163415
163416
163417
163418
163419
163420
163421
163422
163423
163424
163425
163426
163427
163428
163429
163430
163431
163432
163433
163434
163435
163436
163437
163438
163439
163440
163441
163442
163443
163444
163445
163446
163447
163448
163449
163450
163451
163452
163453
163454
163455
163456
163457
163458
163459
163460
163461
163462
163463
163464
163465
163466
163467
163468
163469
163470
163471
163472
163473
163474
163475
163476
163477
163478
163479
163480
163481
163482
163483
163484
163485
163486
163487
163488
163489
163490
163491
163492
163493
163494
163495
163496
163497
163498
163499
163500
163501
163502
163503
163504
163505
163506
163507
163508
163509
163510
163511
163512
163513
163514
163515
163516
163517
163518
163519
163520
163521
163522
163523
163524
163525
163526
163527
163528
163529
163530
163531
163532
163533
163534
163535
163536
163537
163538
163539
163540
163541
163542
163543
163544
163545
163546
163547
163548
163549
163550
163551
163552
163553
163554
163555
163556
163557
163558
163559
163560
163561
163562
163563
163564
163565
163566
163567
163568
163569
163570
163571
163572
163573
163574
163575
163576
163577
163578
163579
163580
163581
163582
163583
163584
163585
163586
163587
163588
163589
163590
163591
163592
163593
163594
163595
163596
163597
163598
163599
163600
163601
163602
163603
163604
163605
163606
163607
163608
163609
163610
163611
163612
163613
163614
163615
163616
163617
163618
163619
163620
163621
163622
163623
163624
163625
163626
163627
163628
163629
163630
163631
163632
163633
163634
163635
163636
163637
163638
163639
163640
163641
163642
163643
163644
163645
163646
163647
163648
163649
163650
163651
163652
163653
163654
163655
163656
163657
163658
163659
163660
163661
163662
163663
163664
163665
163666
163667
163668
163669
163670
163671
163672
163673
163674
163675
163676
163677
163678
163679
163680
163681
163682
163683
163684
163685
163686
163687
163688
163689
163690
163691
163692
163693
163694
163695
163696
163697
163698
163699
163700
163701
163702
163703
163704
163705
163706
163707
163708
163709
163710
163711
163712
163713
163714
163715
163716
163717
163718
163719
163720
163721
163722
163723
163724
163725
163726
163727
163728
163729
163730
163731
163732
163733
163734
163735
163736
163737
163738
163739
163740
163741
163742
163743
163744
163745
163746
163747
163748
163749
163750
163751
163752
163753
163754
163755
163756
163757
163758
163759
163760
163761
163762
163763
163764
163765
163766
163767
163768
163769
163770
163771
163772
163773
163774
163775
163776
163777
163778
163779
163780
163781
163782
163783
163784
163785
163786
163787
163788
163789
163790
163791
163792
163793
163794
163795
163796
163797
163798
163799
163800
163801
163802
163803
163804
163805
163806
163807
163808
163809
163810
163811
163812
163813
163814
163815
163816
163817
163818
163819
163820
163821
163822
163823
163824
163825
163826
163827
163828
163829
163830
163831
163832
163833
163834
163835
163836
163837
163838
163839
163840
163841
163842
163843
163844
163845
163846
163847
163848
163849
163850
163851
163852
163853
163854
163855
163856
163857
163858
163859
163860
163861
163862
163863
163864
163865
163866
163867
163868
163869
163870
163871
163872
163873
163874
163875
163876
163877
163878
163879
163880
163881
163882
163883
163884
163885
163886
163887
163888
163889
163890
163891
163892
163893
163894
163895
163896
163897
163898
163899
163900
163901
163902
163903
163904
163905
163906
163907
163908
163909
163910
163911
163912
163913
163914
163915
163916
163917
163918
163919
163920
163921
163922
163923
163924
163925
163926
163927
163928
163929
163930
163931
163932
163933
163934
163935
163936
163937
163938
163939
163940
163941
163942
163943
163944
163945
163946
163947
163948
163949
163950
163951
163952
163953
163954
163955
163956
163957
163958
163959
163960
163961
163962
163963
163964
163965
163966
163967
163968
163969
163970
163971
163972
163973
163974
163975
163976
163977
163978
163979
163980
163981
163982
163983
163984
163985
163986
163987
163988
163989
163990
163991
163992
163993
163994
163995
163996
163997
163998
163999
164000
164001
164002
164003
164004
164005
164006
164007
164008
164009
164010
164011
164012
164013
164014
164015
164016
164017
164018
164019
164020
164021
164022
164023
164024
164025
164026
164027
164028
164029
164030
164031
164032
164033
164034
164035
164036
164037
164038
164039
164040
164041
164042
164043
164044
164045
164046
164047
164048
164049
164050
164051
164052
164053
164054
164055
164056
164057
164058
164059
164060
164061
164062
164063
164064
164065
164066
164067
164068
164069
164070
164071
164072
164073
164074
164075
164076
164077
164078
164079
164080
164081
164082
164083
164084
164085
164086
164087
164088
164089
164090
164091
164092
164093
164094
164095
164096
164097
164098
164099
164100
164101
164102
164103
164104
164105
164106
164107
164108
164109
164110
164111
164112
164113
164114
164115
164116
164117
164118
164119
164120
164121
164122
164123
164124
164125
164126
164127
164128
164129
164130
164131
164132
164133
164134
164135
164136
164137
164138
164139
164140
164141
164142
164143
164144
164145
164146
164147
164148
164149
164150
164151
164152
164153
164154
164155
164156
164157
164158
164159
164160
164161
164162
164163
164164
164165
164166
164167
164168
164169
164170
164171
164172
164173
164174
164175
164176
164177
164178
164179
164180
164181
164182
164183
164184
164185
164186
164187
164188
164189
164190
164191
164192
164193
164194
164195
164196
164197
164198
164199
164200
164201
164202
164203
164204
164205
164206
164207
164208
164209
164210
164211
164212
164213
164214
164215
164216
164217
164218
164219
164220
164221
164222
164223
164224
164225
164226
164227
164228
164229
164230
164231
164232
164233
164234
164235
164236
164237
164238
164239
164240
164241
164242
164243
164244
164245
164246
164247
164248
164249
164250
164251
164252
164253
164254
164255
164256
164257
164258
164259
164260
164261
164262
164263
164264
164265
164266
164267
164268
164269
164270
164271
164272
164273
164274
164275
164276
164277
164278
164279
164280
164281
164282
164283
164284
164285
164286
164287
164288
164289
164290
164291
164292
164293
164294
164295
164296
164297
164298
164299
164300
164301
164302
164303
164304
164305
164306
164307
164308
164309
164310
164311
164312
164313
164314
164315
164316
164317
164318
164319
164320
164321
164322
164323
164324
164325
164326
164327
164328
164329
164330
164331
164332
164333
164334
164335
164336
164337
164338
164339
164340
164341
164342
164343
164344
164345
164346
164347
164348
164349
164350
164351
164352
164353
164354
164355
164356
164357
164358
164359
164360
164361
164362
164363
164364
164365
164366
164367
164368
164369
164370
164371
164372
164373
164374
164375
164376
164377
164378
164379
164380
164381
164382
164383
164384
164385
164386
164387
164388
164389
164390
164391
164392
164393
164394
164395
164396
164397
164398
164399
164400
164401
164402
164403
164404
164405
164406
164407
164408
164409
164410
164411
164412
164413
164414
164415
164416
164417
164418
164419
164420
164421
164422
164423
164424
164425
164426
164427
164428
164429
164430
164431
164432
164433
164434
164435
164436
164437
164438
164439
164440
164441
164442
164443
164444
164445
164446
164447
164448
164449
164450
164451
164452
164453
164454
164455
164456
164457
164458
164459
164460
164461
164462
164463
164464
164465
164466
164467
164468
164469
164470
164471
164472
164473
164474
164475
164476
164477
164478
164479
164480
164481
164482
164483
164484
164485
164486
164487
164488
164489
164490
164491
164492
164493
164494
164495
164496
164497
164498
164499
164500
164501
164502
164503
164504
164505
164506
164507
164508
164509
164510
164511
164512
164513
164514
164515
164516
164517
164518
164519
164520
164521
164522
164523
164524
164525
164526
164527
164528
164529
164530
164531
164532
164533
164534
164535
164536
164537
164538
164539
164540
164541
164542
164543
164544
164545
164546
164547
164548
164549
164550
164551
164552
164553
164554
164555
164556
164557
164558
164559
164560
164561
164562
164563
164564
164565
164566
164567
164568
164569
164570
164571
164572
164573
164574
164575
164576
164577
164578
164579
164580
164581
164582
164583
164584
164585
164586
164587
164588
164589
164590
164591
164592
164593
164594
164595
164596
164597
164598
164599
164600
164601
164602
164603
164604
164605
164606
164607
164608
164609
164610
164611
164612
164613
164614
164615
164616
164617
164618
164619
164620
164621
164622
164623
164624
164625
164626
164627
164628
164629
164630
164631
164632
164633
164634
164635
164636
164637
164638
164639
164640
164641
164642
164643
164644
164645
164646
164647
164648
164649
164650
164651
164652
164653
164654
164655
164656
164657
164658
164659
164660
164661
164662
164663
164664
164665
164666
164667
164668
164669
164670
164671
164672
164673
164674
164675
164676
164677
164678
164679
164680
164681
164682
164683
164684
164685
164686
164687
164688
164689
164690
164691
164692
164693
164694
164695
164696
164697
164698
164699
164700
164701
164702
164703
164704
164705
164706
164707
164708
164709
164710
164711
164712
164713
164714
164715
164716
164717
164718
164719
164720
164721
164722
164723
164724
164725
164726
164727
164728
164729
164730
164731
164732
164733
164734
164735
164736
164737
164738
164739
164740
164741
164742
164743
164744
164745
164746
164747
164748
164749
164750
164751
164752
164753
164754
164755
164756
164757
164758
164759
164760
164761
164762
164763
164764
164765
164766
164767
164768
164769
164770
164771
164772
164773
164774
164775
164776
164777
164778
164779
164780
164781
164782
164783
164784
164785
164786
164787
164788
164789
164790
164791
164792
164793
164794
164795
164796
164797
164798
164799
164800
164801
164802
164803
164804
164805
164806
164807
164808
164809
164810
164811
164812
164813
164814
164815
164816
164817
164818
164819
164820
164821
164822
164823
164824
164825
164826
164827
164828
164829
164830
164831
164832
164833
164834
164835
164836
164837
164838
164839
164840
164841
164842
164843
164844
164845
164846
164847
164848
164849
164850
164851
164852
164853
164854
164855
164856
164857
164858
164859
164860
164861
164862
164863
164864
164865
164866
164867
164868
164869
164870
164871
164872
164873
164874
164875
164876
164877
164878
164879
164880
164881
164882
164883
164884
164885
164886
164887
164888
164889
164890
164891
164892
164893
164894
164895
164896
164897
164898
164899
164900
164901
164902
164903
164904
164905
164906
164907
164908
164909
164910
164911
164912
164913
164914
164915
164916
164917
164918
164919
164920
164921
164922
164923
164924
164925
164926
164927
164928
164929
164930
164931
164932
164933
164934
164935
164936
164937
164938
164939
164940
164941
164942
164943
164944
164945
164946
164947
164948
164949
164950
164951
164952
164953
164954
164955
164956
164957
164958
164959
164960
164961
164962
164963
164964
164965
164966
164967
164968
164969
164970
164971
164972
164973
164974
164975
164976
164977
164978
164979
164980
164981
164982
164983
164984
164985
164986
164987
164988
164989
164990
164991
164992
164993
164994
164995
164996
164997
164998
164999
165000
165001
165002
165003
165004
165005
165006
165007
165008
165009
165010
165011
165012
165013
165014
165015
165016
165017
165018
165019
165020
165021
165022
165023
165024
165025
165026
165027
165028
165029
165030
165031
165032
165033
165034
165035
165036
165037
165038
165039
165040
165041
165042
165043
165044
165045
165046
165047
165048
165049
165050
165051
165052
165053
165054
165055
165056
165057
165058
165059
165060
165061
165062
165063
165064
165065
165066
165067
165068
165069
165070
165071
165072
165073
165074
165075
165076
165077
165078
165079
165080
165081
165082
165083
165084
165085
165086
165087
165088
165089
165090
165091
165092
165093
165094
165095
165096
165097
165098
165099
165100
165101
165102
165103
165104
165105
165106
165107
165108
165109
165110
165111
165112
165113
165114
165115
165116
165117
165118
165119
165120
165121
165122
165123
165124
165125
165126
165127
165128
165129
165130
165131
165132
165133
165134
165135
165136
165137
165138
165139
165140
165141
165142
165143
165144
165145
165146
165147
165148
165149
165150
165151
165152
165153
165154
165155
165156
165157
165158
165159
165160
165161
165162
165163
165164
165165
165166
165167
165168
165169
165170
165171
165172
165173
165174
165175
165176
165177
165178
165179
165180
165181
165182
165183
165184
165185
165186
165187
165188
165189
165190
165191
165192
165193
165194
165195
165196
165197
165198
165199
165200
165201
165202
165203
165204
165205
165206
165207
165208
165209
165210
165211
165212
165213
165214
165215
165216
165217
165218
165219
165220
165221
165222
165223
165224
165225
165226
165227
165228
165229
165230
165231
165232
165233
165234
165235
165236
165237
165238
165239
165240
165241
165242
165243
165244
165245
165246
165247
165248
165249
165250
165251
165252
165253
165254
165255
165256
165257
165258
165259
165260
165261
165262
165263
165264
165265
165266
165267
165268
165269
165270
165271
165272
165273
165274
165275
165276
165277
165278
165279
165280
165281
165282
165283
165284
165285
165286
165287
165288
165289
165290
165291
165292
165293
165294
165295
165296
165297
165298
165299
165300
165301
165302
165303
165304
165305
165306
165307
165308
165309
165310
165311
165312
165313
165314
165315
165316
165317
165318
165319
165320
165321
165322
165323
165324
165325
165326
165327
165328
165329
165330
165331
165332
165333
165334
165335
165336
165337
165338
165339
165340
165341
165342
165343
165344
165345
165346
165347
165348
165349
165350
165351
165352
165353
165354
165355
165356
165357
165358
165359
165360
165361
165362
165363
165364
165365
165366
165367
165368
165369
165370
165371
165372
165373
165374
165375
165376
165377
165378
165379
165380
165381
165382
165383
165384
165385
165386
165387
165388
165389
165390
165391
165392
165393
165394
165395
165396
165397
165398
165399
165400
165401
165402
165403
165404
165405
165406
165407
165408
165409
165410
165411
165412
165413
165414
165415
165416
165417
165418
165419
165420
165421
165422
165423
165424
165425
165426
165427
165428
165429
165430
165431
165432
165433
165434
165435
165436
165437
165438
165439
165440
165441
165442
165443
165444
165445
165446
165447
165448
165449
165450
165451
165452
165453
165454
165455
165456
165457
165458
165459
165460
165461
165462
165463
165464
165465
165466
165467
165468
165469
165470
165471
165472
165473
165474
165475
165476
165477
165478
165479
165480
165481
165482
165483
165484
165485
165486
165487
165488
165489
165490
165491
165492
165493
165494
165495
165496
165497
165498
165499
165500
165501
165502
165503
165504
165505
165506
165507
165508
165509
165510
165511
165512
165513
165514
165515
165516
165517
165518
165519
165520
165521
165522
165523
165524
165525
165526
165527
165528
165529
165530
165531
165532
165533
165534
165535
165536
165537
165538
165539
165540
165541
165542
165543
165544
165545
165546
165547
165548
165549
165550
165551
165552
165553
165554
165555
165556
165557
165558
165559
165560
165561
165562
165563
165564
165565
165566
165567
165568
165569
165570
165571
165572
165573
165574
165575
165576
165577
165578
165579
165580
165581
165582
165583
165584
165585
165586
165587
165588
165589
165590
165591
165592
165593
165594
165595
165596
165597
165598
165599
165600
165601
165602
165603
165604
165605
165606
165607
165608
165609
165610
165611
165612
165613
165614
165615
165616
165617
165618
165619
165620
165621
165622
165623
165624
165625
165626
165627
165628
165629
165630
165631
165632
165633
165634
165635
165636
165637
165638
165639
165640
165641
165642
165643
165644
165645
165646
165647
165648
165649
165650
165651
165652
165653
165654
165655
165656
165657
165658
165659
165660
165661
165662
165663
165664
165665
165666
165667
165668
165669
165670
165671
165672
165673
165674
165675
165676
165677
165678
165679
165680
165681
165682
165683
165684
165685
165686
165687
165688
165689
165690
165691
165692
165693
165694
165695
165696
165697
165698
165699
165700
165701
165702
165703
165704
165705
165706
165707
165708
165709
165710
165711
165712
165713
165714
165715
165716
165717
165718
165719
165720
165721
165722
165723
165724
165725
165726
165727
165728
165729
165730
165731
165732
165733
165734
165735
165736
165737
165738
165739
165740
165741
165742
165743
165744
165745
165746
165747
165748
165749
165750
165751
165752
165753
165754
165755
165756
165757
165758
165759
165760
165761
165762
165763
165764
165765
165766
165767
165768
165769
165770
165771
165772
165773
165774
165775
165776
165777
165778
165779
165780
165781
165782
165783
165784
165785
165786
165787
165788
165789
165790
165791
165792
165793
165794
165795
165796
165797
165798
165799
165800
165801
165802
165803
165804
165805
165806
165807
165808
165809
165810
165811
165812
165813
165814
165815
165816
165817
165818
165819
165820
165821
165822
165823
165824
165825
165826
165827
165828
165829
165830
165831
165832
165833
165834
165835
165836
165837
165838
165839
165840
165841
165842
165843
165844
165845
165846
165847
165848
165849
165850
165851
165852
165853
165854
165855
165856
165857
165858
165859
165860
165861
165862
165863
165864
165865
165866
165867
165868
165869
165870
165871
165872
165873
165874
165875
165876
165877
165878
165879
165880
165881
165882
165883
165884
165885
165886
165887
165888
165889
165890
165891
165892
165893
165894
165895
165896
165897
165898
165899
165900
165901
165902
165903
165904
165905
165906
165907
165908
165909
165910
165911
165912
165913
165914
165915
165916
165917
165918
165919
165920
165921
165922
165923
165924
165925
165926
165927
165928
165929
165930
165931
165932
165933
165934
165935
165936
165937
165938
165939
165940
165941
165942
165943
165944
165945
165946
165947
165948
165949
165950
165951
165952
165953
165954
165955
165956
165957
165958
165959
165960
165961
165962
165963
165964
165965
165966
165967
165968
165969
165970
165971
165972
165973
165974
165975
165976
165977
165978
165979
165980
165981
165982
165983
165984
165985
165986
165987
165988
165989
165990
165991
165992
165993
165994
165995
165996
165997
165998
165999
166000
166001
166002
166003
166004
166005
166006
166007
166008
166009
166010
166011
166012
166013
166014
166015
166016
166017
166018
166019
166020
166021
166022
166023
166024
166025
166026
166027
166028
166029
166030
166031
166032
166033
166034
166035
166036
166037
166038
166039
166040
166041
166042
166043
166044
166045
166046
166047
166048
166049
166050
166051
166052
166053
166054
166055
166056
166057
166058
166059
166060
166061
166062
166063
166064
166065
166066
166067
166068
166069
166070
166071
166072
166073
166074
166075
166076
166077
166078
166079
166080
166081
166082
166083
166084
166085
166086
166087
166088
166089
166090
166091
166092
166093
166094
166095
166096
166097
166098
166099
166100
166101
166102
166103
166104
166105
166106
166107
166108
166109
166110
166111
166112
166113
166114
166115
166116
166117
166118
166119
166120
166121
166122
166123
166124
166125
166126
166127
166128
166129
166130
166131
166132
166133
166134
166135
166136
166137
166138
166139
166140
166141
166142
166143
166144
166145
166146
166147
166148
166149
166150
166151
166152
166153
166154
166155
166156
166157
166158
166159
166160
166161
166162
166163
166164
166165
166166
166167
166168
166169
166170
166171
166172
166173
166174
166175
166176
166177
166178
166179
166180
166181
166182
166183
166184
166185
166186
166187
166188
166189
166190
166191
166192
166193
166194
166195
166196
166197
166198
166199
166200
166201
166202
166203
166204
166205
166206
166207
166208
166209
166210
166211
166212
166213
166214
166215
166216
166217
166218
166219
166220
166221
166222
166223
166224
166225
166226
166227
166228
166229
166230
166231
166232
166233
166234
166235
166236
166237
166238
166239
166240
166241
166242
166243
166244
166245
166246
166247
166248
166249
166250
166251
166252
166253
166254
166255
166256
166257
166258
166259
166260
166261
166262
166263
166264
166265
166266
166267
166268
166269
166270
166271
166272
166273
166274
166275
166276
166277
166278
166279
166280
166281
166282
166283
166284
166285
166286
166287
166288
166289
166290
166291
166292
166293
166294
166295
166296
166297
166298
166299
166300
166301
166302
166303
166304
166305
166306
166307
166308
166309
166310
166311
166312
166313
166314
166315
166316
166317
166318
166319
166320
166321
166322
166323
166324
166325
166326
166327
166328
166329
166330
166331
166332
166333
166334
166335
166336
166337
166338
166339
166340
166341
166342
166343
166344
166345
166346
166347
166348
166349
166350
166351
166352
166353
166354
166355
166356
166357
166358
166359
166360
166361
166362
166363
166364
166365
166366
166367
166368
166369
166370
166371
166372
166373
166374
166375
166376
166377
166378
166379
166380
166381
166382
166383
166384
166385
166386
166387
166388
166389
166390
166391
166392
166393
166394
166395
166396
166397
166398
166399
166400
166401
166402
166403
166404
166405
166406
166407
166408
166409
166410
166411
166412
166413
166414
166415
166416
166417
166418
166419
166420
166421
166422
166423
166424
166425
166426
166427
166428
166429
166430
166431
166432
166433
166434
166435
166436
166437
166438
166439
166440
166441
166442
166443
166444
166445
166446
166447
166448
166449
166450
166451
166452
166453
166454
166455
166456
166457
166458
166459
166460
166461
166462
166463
166464
166465
166466
166467
166468
166469
166470
166471
166472
166473
166474
166475
166476
166477
166478
166479
166480
166481
166482
166483
166484
166485
166486
166487
166488
166489
166490
166491
166492
166493
166494
166495
166496
166497
166498
166499
166500
166501
166502
166503
166504
166505
166506
166507
166508
166509
166510
166511
166512
166513
166514
166515
166516
166517
166518
166519
166520
166521
166522
166523
166524
166525
166526
166527
166528
166529
166530
166531
166532
166533
166534
166535
166536
166537
166538
166539
166540
166541
166542
166543
166544
166545
166546
166547
166548
166549
166550
166551
166552
166553
166554
166555
166556
166557
166558
166559
166560
166561
166562
166563
166564
166565
166566
166567
166568
166569
166570
166571
166572
166573
166574
166575
166576
166577
166578
166579
166580
166581
166582
166583
166584
166585
166586
166587
166588
166589
166590
166591
166592
166593
166594
166595
166596
166597
166598
166599
166600
166601
166602
166603
166604
166605
166606
166607
166608
166609
166610
166611
166612
166613
166614
166615
166616
166617
166618
166619
166620
166621
166622
166623
166624
166625
166626
166627
166628
166629
166630
166631
166632
166633
166634
166635
166636
166637
166638
166639
166640
166641
166642
166643
166644
166645
166646
166647
166648
166649
166650
166651
166652
166653
166654
166655
166656
166657
166658
166659
166660
166661
166662
166663
166664
166665
166666
166667
166668
166669
166670
166671
166672
166673
166674
166675
166676
166677
166678
166679
166680
166681
166682
166683
166684
166685
166686
166687
166688
166689
166690
166691
166692
166693
166694
166695
166696
166697
166698
166699
166700
166701
166702
166703
166704
166705
166706
166707
166708
166709
166710
166711
166712
166713
166714
166715
166716
166717
166718
166719
166720
166721
166722
166723
166724
166725
166726
166727
166728
166729
166730
166731
166732
166733
166734
166735
166736
166737
166738
166739
166740
166741
166742
166743
166744
166745
166746
166747
166748
166749
166750
166751
166752
166753
166754
166755
166756
166757
166758
166759
166760
166761
166762
166763
166764
166765
166766
166767
166768
166769
166770
166771
166772
166773
166774
166775
166776
166777
166778
166779
166780
166781
166782
166783
166784
166785
166786
166787
166788
166789
166790
166791
166792
166793
166794
166795
166796
166797
166798
166799
166800
166801
166802
166803
166804
166805
166806
166807
166808
166809
166810
166811
166812
166813
166814
166815
166816
166817
166818
166819
166820
166821
166822
166823
166824
166825
166826
166827
166828
166829
166830
166831
166832
166833
166834
166835
166836
166837
166838
166839
166840
166841
166842
166843
166844
166845
166846
166847
166848
166849
166850
166851
166852
166853
166854
166855
166856
166857
166858
166859
166860
166861
166862
166863
166864
166865
166866
166867
166868
166869
166870
166871
166872
166873
166874
166875
166876
166877
166878
166879
166880
166881
166882
166883
166884
166885
166886
166887
166888
166889
166890
166891
166892
166893
166894
166895
166896
166897
166898
166899
166900
166901
166902
166903
166904
166905
166906
166907
166908
166909
166910
166911
166912
166913
166914
166915
166916
166917
166918
166919
166920
166921
166922
166923
166924
166925
166926
166927
166928
166929
166930
166931
166932
166933
166934
166935
166936
166937
166938
166939
166940
166941
166942
166943
166944
166945
166946
166947
166948
166949
166950
166951
166952
166953
166954
166955
166956
166957
166958
166959
166960
166961
166962
166963
166964
166965
166966
166967
166968
166969
166970
166971
166972
166973
166974
166975
166976
166977
166978
166979
166980
166981
166982
166983
166984
166985
166986
166987
166988
166989
166990
166991
166992
166993
166994
166995
166996
166997
166998
166999
167000
167001
167002
167003
167004
167005
167006
167007
167008
167009
167010
167011
167012
167013
167014
167015
167016
167017
167018
167019
167020
167021
167022
167023
167024
167025
167026
167027
167028
167029
167030
167031
167032
167033
167034
167035
167036
167037
167038
167039
167040
167041
167042
167043
167044
167045
167046
167047
167048
167049
167050
167051
167052
167053
167054
167055
167056
167057
167058
167059
167060
167061
167062
167063
167064
167065
167066
167067
167068
167069
167070
167071
167072
167073
167074
167075
167076
167077
167078
167079
167080
167081
167082
167083
167084
167085
167086
167087
167088
167089
167090
167091
167092
167093
167094
167095
167096
167097
167098
167099
167100
167101
167102
167103
167104
167105
167106
167107
167108
167109
167110
167111
167112
167113
167114
167115
167116
167117
167118
167119
167120
167121
167122
167123
167124
167125
167126
167127
167128
167129
167130
167131
167132
167133
167134
167135
167136
167137
167138
167139
167140
167141
167142
167143
167144
167145
167146
167147
167148
167149
167150
167151
167152
167153
167154
167155
167156
167157
167158
167159
167160
167161
167162
167163
167164
167165
167166
167167
167168
167169
167170
167171
167172
167173
167174
167175
167176
167177
167178
167179
167180
167181
167182
167183
167184
167185
167186
167187
167188
167189
167190
167191
167192
167193
167194
167195
167196
167197
167198
167199
167200
167201
167202
167203
167204
167205
167206
167207
167208
167209
167210
167211
167212
167213
167214
167215
167216
167217
167218
167219
167220
167221
167222
167223
167224
167225
167226
167227
167228
167229
167230
167231
167232
167233
167234
167235
167236
167237
167238
167239
167240
167241
167242
167243
167244
167245
167246
167247
167248
167249
167250
167251
167252
167253
167254
167255
167256
167257
167258
167259
167260
167261
167262
167263
167264
167265
167266
167267
167268
167269
167270
167271
167272
167273
167274
167275
167276
167277
167278
167279
167280
167281
167282
167283
167284
167285
167286
167287
167288
167289
167290
167291
167292
167293
167294
167295
167296
167297
167298
167299
167300
167301
167302
167303
167304
167305
167306
167307
167308
167309
167310
167311
167312
167313
167314
167315
167316
167317
167318
167319
167320
167321
167322
167323
167324
167325
167326
167327
167328
167329
167330
167331
167332
167333
167334
167335
167336
167337
167338
167339
167340
167341
167342
167343
167344
167345
167346
167347
167348
167349
167350
167351
167352
167353
167354
167355
167356
167357
167358
167359
167360
167361
167362
167363
167364
167365
167366
167367
167368
167369
167370
167371
167372
167373
167374
167375
167376
167377
167378
167379
167380
167381
167382
167383
167384
167385
167386
167387
167388
167389
167390
167391
167392
167393
167394
167395
167396
167397
167398
167399
167400
167401
167402
167403
167404
167405
167406
167407
167408
167409
167410
167411
167412
167413
167414
167415
167416
167417
167418
167419
167420
167421
167422
167423
167424
167425
167426
167427
167428
167429
167430
167431
167432
167433
167434
167435
167436
167437
167438
167439
167440
167441
167442
167443
167444
167445
167446
167447
167448
167449
167450
167451
167452
167453
167454
167455
167456
167457
167458
167459
167460
167461
167462
167463
167464
167465
167466
167467
167468
167469
167470
167471
167472
167473
167474
167475
167476
167477
167478
167479
167480
167481
167482
167483
167484
167485
167486
167487
167488
167489
167490
167491
167492
167493
167494
167495
167496
167497
167498
167499
167500
167501
167502
167503
167504
167505
167506
167507
167508
167509
167510
167511
167512
167513
167514
167515
167516
167517
167518
167519
167520
167521
167522
167523
167524
167525
167526
167527
167528
167529
167530
167531
167532
167533
167534
167535
167536
167537
167538
167539
167540
167541
167542
167543
167544
167545
167546
167547
167548
167549
167550
167551
167552
167553
167554
167555
167556
167557
167558
167559
167560
167561
167562
167563
167564
167565
167566
167567
167568
167569
167570
167571
167572
167573
167574
167575
167576
167577
167578
167579
167580
167581
167582
167583
167584
167585
167586
167587
167588
167589
167590
167591
167592
167593
167594
167595
167596
167597
167598
167599
167600
167601
167602
167603
167604
167605
167606
167607
167608
167609
167610
167611
167612
167613
167614
167615
167616
167617
167618
167619
167620
167621
167622
167623
167624
167625
167626
167627
167628
167629
167630
167631
167632
167633
167634
167635
167636
167637
167638
167639
167640
167641
167642
167643
167644
167645
167646
167647
167648
167649
167650
167651
167652
167653
167654
167655
167656
167657
167658
167659
167660
167661
167662
167663
167664
167665
167666
167667
167668
167669
167670
167671
167672
167673
167674
167675
167676
167677
167678
167679
167680
167681
167682
167683
167684
167685
167686
167687
167688
167689
167690
167691
167692
167693
167694
167695
167696
167697
167698
167699
167700
167701
167702
167703
167704
167705
167706
167707
167708
167709
167710
167711
167712
167713
167714
167715
167716
167717
167718
167719
167720
167721
167722
167723
167724
167725
167726
167727
167728
167729
167730
167731
167732
167733
167734
167735
167736
167737
167738
167739
167740
167741
167742
167743
167744
167745
167746
167747
167748
167749
167750
167751
167752
167753
167754
167755
167756
167757
167758
167759
167760
167761
167762
167763
167764
167765
167766
167767
167768
167769
167770
167771
167772
167773
167774
167775
167776
167777
167778
167779
167780
167781
167782
167783
167784
167785
167786
167787
167788
167789
167790
167791
167792
167793
167794
167795
167796
167797
167798
167799
167800
167801
167802
167803
167804
167805
167806
167807
167808
167809
167810
167811
167812
167813
167814
167815
167816
167817
167818
167819
167820
167821
167822
167823
167824
167825
167826
167827
167828
167829
167830
167831
167832
167833
167834
167835
167836
167837
167838
167839
167840
167841
167842
167843
167844
167845
167846
167847
167848
167849
167850
167851
167852
167853
167854
167855
167856
167857
167858
167859
167860
167861
167862
167863
167864
167865
167866
167867
167868
167869
167870
167871
167872
167873
167874
167875
167876
167877
167878
167879
167880
167881
167882
167883
167884
167885
167886
167887
167888
167889
167890
167891
167892
167893
167894
167895
167896
167897
167898
167899
167900
167901
167902
167903
167904
167905
167906
167907
167908
167909
167910
167911
167912
167913
167914
167915
167916
167917
167918
167919
167920
167921
167922
167923
167924
167925
167926
167927
167928
167929
167930
167931
167932
167933
167934
167935
167936
167937
167938
167939
167940
167941
167942
167943
167944
167945
167946
167947
167948
167949
167950
167951
167952
167953
167954
167955
167956
167957
167958
167959
167960
167961
167962
167963
167964
167965
167966
167967
167968
167969
167970
167971
167972
167973
167974
167975
167976
167977
167978
167979
167980
167981
167982
167983
167984
167985
167986
167987
167988
167989
167990
167991
167992
167993
167994
167995
167996
167997
167998
167999
168000
168001
168002
168003
168004
168005
168006
168007
168008
168009
168010
168011
168012
168013
168014
168015
168016
168017
168018
168019
168020
168021
168022
168023
168024
168025
168026
168027
168028
168029
168030
168031
168032
168033
168034
168035
168036
168037
168038
168039
168040
168041
168042
168043
168044
168045
168046
168047
168048
168049
168050
168051
168052
168053
168054
168055
168056
168057
168058
168059
168060
168061
168062
168063
168064
168065
168066
168067
168068
168069
168070
168071
168072
168073
168074
168075
168076
168077
168078
168079
168080
168081
168082
168083
168084
168085
168086
168087
168088
168089
168090
168091
168092
168093
168094
168095
168096
168097
168098
168099
168100
168101
168102
168103
168104
168105
168106
168107
168108
168109
168110
168111
168112
168113
168114
168115
168116
168117
168118
168119
168120
168121
168122
168123
168124
168125
168126
168127
168128
168129
168130
168131
168132
168133
168134
168135
168136
168137
168138
168139
168140
168141
168142
168143
168144
168145
168146
168147
168148
168149
168150
168151
168152
168153
168154
168155
168156
168157
168158
168159
168160
168161
168162
168163
168164
168165
168166
168167
168168
168169
168170
168171
168172
168173
168174
168175
168176
168177
168178
168179
168180
168181
168182
168183
168184
168185
168186
168187
168188
168189
168190
168191
168192
168193
168194
168195
168196
168197
168198
168199
168200
168201
168202
168203
168204
168205
168206
168207
168208
168209
168210
168211
168212
168213
168214
168215
168216
168217
168218
168219
168220
168221
168222
168223
168224
168225
168226
168227
168228
168229
168230
168231
168232
168233
168234
168235
168236
168237
168238
168239
168240
168241
168242
168243
168244
168245
168246
168247
168248
168249
168250
168251
168252
168253
168254
168255
168256
168257
168258
168259
168260
168261
168262
168263
168264
168265
168266
168267
168268
168269
168270
168271
168272
168273
168274
168275
168276
168277
168278
168279
168280
168281
168282
168283
168284
168285
168286
168287
168288
168289
168290
168291
168292
168293
168294
168295
168296
168297
168298
168299
168300
168301
168302
168303
168304
168305
168306
168307
168308
168309
168310
168311
168312
168313
168314
168315
168316
168317
168318
168319
168320
168321
168322
168323
168324
168325
168326
168327
168328
168329
168330
168331
168332
168333
168334
168335
168336
168337
168338
168339
168340
168341
168342
168343
168344
168345
168346
168347
168348
168349
168350
168351
168352
168353
168354
168355
168356
168357
168358
168359
168360
168361
168362
168363
168364
168365
168366
168367
168368
168369
168370
168371
168372
168373
168374
168375
168376
168377
168378
168379
168380
168381
168382
168383
168384
168385
168386
168387
168388
168389
168390
168391
168392
168393
168394
168395
168396
168397
168398
168399
168400
168401
168402
168403
168404
168405
168406
168407
168408
168409
168410
168411
168412
168413
168414
168415
168416
168417
168418
168419
168420
168421
168422
168423
168424
168425
168426
168427
168428
168429
168430
168431
168432
168433
168434
168435
168436
168437
168438
168439
168440
168441
168442
168443
168444
168445
168446
168447
168448
168449
168450
168451
168452
168453
168454
168455
168456
168457
168458
168459
168460
168461
168462
168463
168464
168465
168466
168467
168468
168469
168470
168471
168472
168473
168474
168475
168476
168477
168478
168479
168480
168481
168482
168483
168484
168485
168486
168487
168488
168489
168490
168491
168492
168493
168494
168495
168496
168497
168498
168499
168500
168501
168502
168503
168504
168505
168506
168507
168508
168509
168510
168511
168512
168513
168514
168515
168516
168517
168518
168519
168520
168521
168522
168523
168524
168525
168526
168527
168528
168529
168530
168531
168532
168533
168534
168535
168536
168537
168538
168539
168540
168541
168542
168543
168544
168545
168546
168547
168548
168549
168550
168551
168552
168553
168554
168555
168556
168557
168558
168559
168560
168561
168562
168563
168564
168565
168566
168567
168568
168569
168570
168571
168572
168573
168574
168575
168576
168577
168578
168579
168580
168581
168582
168583
168584
168585
168586
168587
168588
168589
168590
168591
168592
168593
168594
168595
168596
168597
168598
168599
168600
168601
168602
168603
168604
168605
168606
168607
168608
168609
168610
168611
168612
168613
168614
168615
168616
168617
168618
168619
168620
168621
168622
168623
168624
168625
168626
168627
168628
168629
168630
168631
168632
168633
168634
168635
168636
168637
168638
168639
168640
168641
168642
168643
168644
168645
168646
168647
168648
168649
168650
168651
168652
168653
168654
168655
168656
168657
168658
168659
168660
168661
168662
168663
168664
168665
168666
168667
168668
168669
168670
168671
168672
168673
168674
168675
168676
168677
168678
168679
168680
168681
168682
168683
168684
168685
168686
168687
168688
168689
168690
168691
168692
168693
168694
168695
168696
168697
168698
168699
168700
168701
168702
168703
168704
168705
168706
168707
168708
168709
168710
168711
168712
168713
168714
168715
168716
168717
168718
168719
168720
168721
168722
168723
168724
168725
168726
168727
168728
168729
168730
168731
168732
168733
168734
168735
168736
168737
168738
168739
168740
168741
168742
168743
168744
168745
168746
168747
168748
168749
168750
168751
168752
168753
168754
168755
168756
168757
168758
168759
168760
168761
168762
168763
168764
168765
168766
168767
168768
168769
168770
168771
168772
168773
168774
168775
168776
168777
168778
168779
168780
168781
168782
168783
168784
168785
168786
168787
168788
168789
168790
168791
168792
168793
168794
168795
168796
168797
168798
168799
168800
168801
168802
168803
168804
168805
168806
168807
168808
168809
168810
168811
168812
168813
168814
168815
168816
168817
168818
168819
168820
168821
168822
168823
168824
168825
168826
168827
168828
168829
168830
168831
168832
168833
168834
168835
168836
168837
168838
168839
168840
168841
168842
168843
168844
168845
168846
168847
168848
168849
168850
168851
168852
168853
168854
168855
168856
168857
168858
168859
168860
168861
168862
168863
168864
168865
168866
168867
168868
168869
168870
168871
168872
168873
168874
168875
168876
168877
168878
168879
168880
168881
168882
168883
168884
168885
168886
168887
168888
168889
168890
168891
168892
168893
168894
168895
168896
168897
168898
168899
168900
168901
168902
168903
168904
168905
168906
168907
168908
168909
168910
168911
168912
168913
168914
168915
168916
168917
168918
168919
168920
168921
168922
168923
168924
168925
168926
168927
168928
168929
168930
168931
168932
168933
168934
168935
168936
168937
168938
168939
168940
168941
168942
168943
168944
168945
168946
168947
168948
168949
168950
168951
168952
168953
168954
168955
168956
168957
168958
168959
168960
168961
168962
168963
168964
168965
168966
168967
168968
168969
168970
168971
168972
168973
168974
168975
168976
168977
168978
168979
168980
168981
168982
168983
168984
168985
168986
168987
168988
168989
168990
168991
168992
168993
168994
168995
168996
168997
168998
168999
169000
169001
169002
169003
169004
169005
169006
169007
169008
169009
169010
169011
169012
169013
169014
169015
169016
169017
169018
169019
169020
169021
169022
169023
169024
169025
169026
169027
169028
169029
169030
169031
169032
169033
169034
169035
169036
169037
169038
169039
169040
169041
169042
169043
169044
169045
169046
169047
169048
169049
169050
169051
169052
169053
169054
169055
169056
169057
169058
169059
169060
169061
169062
169063
169064
169065
169066
169067
169068
169069
169070
169071
169072
169073
169074
169075
169076
169077
169078
169079
169080
169081
169082
169083
169084
169085
169086
169087
169088
169089
169090
169091
169092
169093
169094
169095
169096
169097
169098
169099
169100
169101
169102
169103
169104
169105
169106
169107
169108
169109
169110
169111
169112
169113
169114
169115
169116
169117
169118
169119
169120
169121
169122
169123
169124
169125
169126
169127
169128
169129
169130
169131
169132
169133
169134
169135
169136
169137
169138
169139
169140
169141
169142
169143
169144
169145
169146
169147
169148
169149
169150
169151
169152
169153
169154
169155
169156
169157
169158
169159
169160
169161
169162
169163
169164
169165
169166
169167
169168
169169
169170
169171
169172
169173
169174
169175
169176
169177
169178
169179
169180
169181
169182
169183
169184
169185
169186
169187
169188
169189
169190
169191
169192
169193
169194
169195
169196
169197
169198
169199
169200
169201
169202
169203
169204
169205
169206
169207
169208
169209
169210
169211
169212
169213
169214
169215
169216
169217
169218
169219
169220
169221
169222
169223
169224
169225
169226
169227
169228
169229
169230
169231
169232
169233
169234
169235
169236
169237
169238
169239
169240
169241
169242
169243
169244
169245
169246
169247
169248
169249
169250
169251
169252
169253
169254
169255
169256
169257
169258
169259
169260
169261
169262
169263
169264
169265
169266
169267
169268
169269
169270
169271
169272
169273
169274
169275
169276
169277
169278
169279
169280
169281
169282
169283
169284
169285
169286
169287
169288
169289
169290
169291
169292
169293
169294
169295
169296
169297
169298
169299
169300
169301
169302
169303
169304
169305
169306
169307
169308
169309
169310
169311
169312
169313
169314
169315
169316
169317
169318
169319
169320
169321
169322
169323
169324
169325
169326
169327
169328
169329
169330
169331
169332
169333
169334
169335
169336
169337
169338
169339
169340
169341
169342
169343
169344
169345
169346
169347
169348
169349
169350
169351
169352
169353
169354
169355
169356
169357
169358
169359
169360
169361
169362
169363
169364
169365
169366
169367
169368
169369
169370
169371
169372
169373
169374
169375
169376
169377
169378
169379
169380
169381
169382
169383
169384
169385
169386
169387
169388
169389
169390
169391
169392
169393
169394
169395
169396
169397
169398
169399
169400
169401
169402
169403
169404
169405
169406
169407
169408
169409
169410
169411
169412
169413
169414
169415
169416
169417
169418
169419
169420
169421
169422
169423
169424
169425
169426
169427
169428
169429
169430
169431
169432
169433
169434
169435
169436
169437
169438
169439
169440
169441
169442
169443
169444
169445
169446
169447
169448
169449
169450
169451
169452
169453
169454
169455
169456
169457
169458
169459
169460
169461
169462
169463
169464
169465
169466
169467
169468
169469
169470
169471
169472
169473
169474
169475
169476
169477
169478
169479
169480
169481
169482
169483
169484
169485
169486
169487
169488
169489
169490
169491
169492
169493
169494
169495
169496
169497
169498
169499
169500
169501
169502
169503
169504
169505
169506
169507
169508
169509
169510
169511
169512
169513
169514
169515
169516
169517
169518
169519
169520
169521
169522
169523
169524
169525
169526
169527
169528
169529
169530
169531
169532
169533
169534
169535
169536
169537
169538
169539
169540
169541
169542
169543
169544
169545
169546
169547
169548
169549
169550
169551
169552
169553
169554
169555
169556
169557
169558
169559
169560
169561
169562
169563
169564
169565
169566
169567
169568
169569
169570
169571
169572
169573
169574
169575
169576
169577
169578
169579
169580
169581
169582
169583
169584
169585
169586
169587
169588
169589
169590
169591
169592
169593
169594
169595
169596
169597
169598
169599
169600
169601
169602
169603
169604
169605
169606
169607
169608
169609
169610
169611
169612
169613
169614
169615
169616
169617
169618
169619
169620
169621
169622
169623
169624
169625
169626
169627
169628
169629
169630
169631
169632
169633
169634
169635
169636
169637
169638
169639
169640
169641
169642
169643
169644
169645
169646
169647
169648
169649
169650
169651
169652
169653
169654
169655
169656
169657
169658
169659
169660
169661
169662
169663
169664
169665
169666
169667
169668
169669
169670
169671
169672
169673
169674
169675
169676
169677
169678
169679
169680
169681
169682
169683
169684
169685
169686
169687
169688
169689
169690
169691
169692
169693
169694
169695
169696
169697
169698
169699
169700
169701
169702
169703
169704
169705
169706
169707
169708
169709
169710
169711
169712
169713
169714
169715
169716
169717
169718
169719
169720
169721
169722
169723
169724
169725
169726
169727
169728
169729
169730
169731
169732
169733
169734
169735
169736
169737
169738
169739
169740
169741
169742
169743
169744
169745
169746
169747
169748
169749
169750
169751
169752
169753
169754
169755
169756
169757
169758
169759
169760
169761
169762
169763
169764
169765
169766
169767
169768
169769
169770
169771
169772
169773
169774
169775
169776
169777
169778
169779
169780
169781
169782
169783
169784
169785
169786
169787
169788
169789
169790
169791
169792
169793
169794
169795
169796
169797
169798
169799
169800
169801
169802
169803
169804
169805
169806
169807
169808
169809
169810
169811
169812
169813
169814
169815
169816
169817
169818
169819
169820
169821
169822
169823
169824
169825
169826
169827
169828
169829
169830
169831
169832
169833
169834
169835
169836
169837
169838
169839
169840
169841
169842
169843
169844
169845
169846
169847
169848
169849
169850
169851
169852
169853
169854
169855
169856
169857
169858
169859
169860
169861
169862
169863
169864
169865
169866
169867
169868
169869
169870
169871
169872
169873
169874
169875
169876
169877
169878
169879
169880
169881
169882
169883
169884
169885
169886
169887
169888
169889
169890
169891
169892
169893
169894
169895
169896
169897
169898
169899
169900
169901
169902
169903
169904
169905
169906
169907
169908
169909
169910
169911
169912
169913
169914
169915
169916
169917
169918
169919
169920
169921
169922
169923
169924
169925
169926
169927
169928
169929
169930
169931
169932
169933
169934
169935
169936
169937
169938
169939
169940
169941
169942
169943
169944
169945
169946
169947
169948
169949
169950
169951
169952
169953
169954
169955
169956
169957
169958
169959
169960
169961
169962
169963
169964
169965
169966
169967
169968
169969
169970
169971
169972
169973
169974
169975
169976
169977
169978
169979
169980
169981
169982
169983
169984
169985
169986
169987
169988
169989
169990
169991
169992
169993
169994
169995
169996
169997
169998
169999
170000
170001
170002
170003
170004
170005
170006
170007
170008
170009
170010
170011
170012
170013
170014
170015
170016
170017
170018
170019
170020
170021
170022
170023
170024
170025
170026
170027
170028
170029
170030
170031
170032
170033
170034
170035
170036
170037
170038
170039
170040
170041
170042
170043
170044
170045
170046
170047
170048
170049
170050
170051
170052
170053
170054
170055
170056
170057
170058
170059
170060
170061
170062
170063
170064
170065
170066
170067
170068
170069
170070
170071
170072
170073
170074
170075
170076
170077
170078
170079
170080
170081
170082
170083
170084
170085
170086
170087
170088
170089
170090
170091
170092
170093
170094
170095
170096
170097
170098
170099
170100
170101
170102
170103
170104
170105
170106
170107
170108
170109
170110
170111
170112
170113
170114
170115
170116
170117
170118
170119
170120
170121
170122
170123
170124
170125
170126
170127
170128
170129
170130
170131
170132
170133
170134
170135
170136
170137
170138
170139
170140
170141
170142
170143
170144
170145
170146
170147
170148
170149
170150
170151
170152
170153
170154
170155
170156
170157
170158
170159
170160
170161
170162
170163
170164
170165
170166
170167
170168
170169
170170
170171
170172
170173
170174
170175
170176
170177
170178
170179
170180
170181
170182
170183
170184
170185
170186
170187
170188
170189
170190
170191
170192
170193
170194
170195
170196
170197
170198
170199
170200
170201
170202
170203
170204
170205
170206
170207
170208
170209
170210
170211
170212
170213
170214
170215
170216
170217
170218
170219
170220
170221
170222
170223
170224
170225
170226
170227
170228
170229
170230
170231
170232
170233
170234
170235
170236
170237
170238
170239
170240
170241
170242
170243
170244
170245
170246
170247
170248
170249
170250
170251
170252
170253
170254
170255
170256
170257
170258
170259
170260
170261
170262
170263
170264
170265
170266
170267
170268
170269
170270
170271
170272
170273
170274
170275
170276
170277
170278
170279
170280
170281
170282
170283
170284
170285
170286
170287
170288
170289
170290
170291
170292
170293
170294
170295
170296
170297
170298
170299
170300
170301
170302
170303
170304
170305
170306
170307
170308
170309
170310
170311
170312
170313
170314
170315
170316
170317
170318
170319
170320
170321
170322
170323
170324
170325
170326
170327
170328
170329
170330
170331
170332
170333
170334
170335
170336
170337
170338
170339
170340
170341
170342
170343
170344
170345
170346
170347
170348
170349
170350
170351
170352
170353
170354
170355
170356
170357
170358
170359
170360
170361
170362
170363
170364
170365
170366
170367
170368
170369
170370
170371
170372
170373
170374
170375
170376
170377
170378
170379
170380
170381
170382
170383
170384
170385
170386
170387
170388
170389
170390
170391
170392
170393
170394
170395
170396
170397
170398
170399
170400
170401
170402
170403
170404
170405
170406
170407
170408
170409
170410
170411
170412
170413
170414
170415
170416
170417
170418
170419
170420
170421
170422
170423
170424
170425
170426
170427
170428
170429
170430
170431
170432
170433
170434
170435
170436
170437
170438
170439
170440
170441
170442
170443
170444
170445
170446
170447
170448
170449
170450
170451
170452
170453
170454
170455
170456
170457
170458
170459
170460
170461
170462
170463
170464
170465
170466
170467
170468
170469
170470
170471
170472
170473
170474
170475
170476
170477
170478
170479
170480
170481
170482
170483
170484
170485
170486
170487
170488
170489
170490
170491
170492
170493
170494
170495
170496
170497
170498
170499
170500
170501
170502
170503
170504
170505
170506
170507
170508
170509
170510
170511
170512
170513
170514
170515
170516
170517
170518
170519
170520
170521
170522
170523
170524
170525
170526
170527
170528
170529
170530
170531
170532
170533
170534
170535
170536
170537
170538
170539
170540
170541
170542
170543
170544
170545
170546
170547
170548
170549
170550
170551
170552
170553
170554
170555
170556
170557
170558
170559
170560
170561
170562
170563
170564
170565
170566
170567
170568
170569
170570
170571
170572
170573
170574
170575
170576
170577
170578
170579
170580
170581
170582
170583
170584
170585
170586
170587
170588
170589
170590
170591
170592
170593
170594
170595
170596
170597
170598
170599
170600
170601
170602
170603
170604
170605
170606
170607
170608
170609
170610
170611
170612
170613
170614
170615
170616
170617
170618
170619
170620
170621
170622
170623
170624
170625
170626
170627
170628
170629
170630
170631
170632
170633
170634
170635
170636
170637
170638
170639
170640
170641
170642
170643
170644
170645
170646
170647
170648
170649
170650
170651
170652
170653
170654
170655
170656
170657
170658
170659
170660
170661
170662
170663
170664
170665
170666
170667
170668
170669
170670
170671
170672
170673
170674
170675
170676
170677
170678
170679
170680
170681
170682
170683
170684
170685
170686
170687
170688
170689
170690
170691
170692
170693
170694
170695
170696
170697
170698
170699
170700
170701
170702
170703
170704
170705
170706
170707
170708
170709
170710
170711
170712
170713
170714
170715
170716
170717
170718
170719
170720
170721
170722
170723
170724
170725
170726
170727
170728
170729
170730
170731
170732
170733
170734
170735
170736
170737
170738
170739
170740
170741
170742
170743
170744
170745
170746
170747
170748
170749
170750
170751
170752
170753
170754
170755
170756
170757
170758
170759
170760
170761
170762
170763
170764
170765
170766
170767
170768
170769
170770
170771
170772
170773
170774
170775
170776
170777
170778
170779
170780
170781
170782
170783
170784
170785
170786
170787
170788
170789
170790
170791
170792
170793
170794
170795
170796
170797
170798
170799
170800
170801
170802
170803
170804
170805
170806
170807
170808
170809
170810
170811
170812
170813
170814
170815
170816
170817
170818
170819
170820
170821
170822
170823
170824
170825
170826
170827
170828
170829
170830
170831
170832
170833
170834
170835
170836
170837
170838
170839
170840
170841
170842
170843
170844
170845
170846
170847
170848
170849
170850
170851
170852
170853
170854
170855
170856
170857
170858
170859
170860
170861
170862
170863
170864
170865
170866
170867
170868
170869
170870
170871
170872
170873
170874
170875
170876
170877
170878
170879
170880
170881
170882
170883
170884
170885
170886
170887
170888
170889
170890
170891
170892
170893
170894
170895
170896
170897
170898
170899
170900
170901
170902
170903
170904
170905
170906
170907
170908
170909
170910
170911
170912
170913
170914
170915
170916
170917
170918
170919
170920
170921
170922
170923
170924
170925
170926
170927
170928
170929
170930
170931
170932
170933
170934
170935
170936
170937
170938
170939
170940
170941
170942
170943
170944
170945
170946
170947
170948
170949
170950
170951
170952
170953
170954
170955
170956
170957
170958
170959
170960
170961
170962
170963
170964
170965
170966
170967
170968
170969
170970
170971
170972
170973
170974
170975
170976
170977
170978
170979
170980
170981
170982
170983
170984
170985
170986
170987
170988
170989
170990
170991
170992
170993
170994
170995
170996
170997
170998
170999
171000
171001
171002
171003
171004
171005
171006
171007
171008
171009
171010
171011
171012
171013
171014
171015
171016
171017
171018
171019
171020
171021
171022
171023
171024
171025
171026
171027
171028
171029
171030
171031
171032
171033
171034
171035
171036
171037
171038
171039
171040
171041
171042
171043
171044
171045
171046
171047
171048
171049
171050
171051
171052
171053
171054
171055
171056
171057
171058
171059
171060
171061
171062
171063
171064
171065
171066
171067
171068
171069
171070
171071
171072
171073
171074
171075
171076
171077
171078
171079
171080
171081
171082
171083
171084
171085
171086
171087
171088
171089
171090
171091
171092
171093
171094
171095
171096
171097
171098
171099
171100
171101
171102
171103
171104
171105
171106
171107
171108
171109
171110
171111
171112
171113
171114
171115
171116
171117
171118
171119
171120
171121
171122
171123
171124
171125
171126
171127
171128
171129
171130
171131
171132
171133
171134
171135
171136
171137
171138
171139
171140
171141
171142
171143
171144
171145
171146
171147
171148
171149
171150
171151
171152
171153
171154
171155
171156
171157
171158
171159
171160
171161
171162
171163
171164
171165
171166
171167
171168
171169
171170
171171
171172
171173
171174
171175
171176
171177
171178
171179
171180
171181
171182
171183
171184
171185
171186
171187
171188
171189
171190
171191
171192
171193
171194
171195
171196
171197
171198
171199
171200
171201
171202
171203
171204
171205
171206
171207
171208
171209
171210
171211
171212
171213
171214
171215
171216
171217
171218
171219
171220
171221
171222
171223
171224
171225
171226
171227
171228
171229
171230
171231
171232
171233
171234
171235
171236
171237
171238
171239
171240
171241
171242
171243
171244
171245
171246
171247
171248
171249
171250
171251
171252
171253
171254
171255
171256
171257
171258
171259
171260
171261
171262
171263
171264
171265
171266
171267
171268
171269
171270
171271
171272
171273
171274
171275
171276
171277
171278
171279
171280
171281
171282
171283
171284
171285
171286
171287
171288
171289
171290
171291
171292
171293
171294
171295
171296
171297
171298
171299
171300
171301
171302
171303
171304
171305
171306
171307
171308
171309
171310
171311
171312
171313
171314
171315
171316
171317
171318
171319
171320
171321
171322
171323
171324
171325
171326
171327
171328
171329
171330
171331
171332
171333
171334
171335
171336
171337
171338
171339
171340
171341
171342
171343
171344
171345
171346
171347
171348
171349
171350
171351
171352
171353
171354
171355
171356
171357
171358
171359
171360
171361
171362
171363
171364
171365
171366
171367
171368
171369
171370
171371
171372
171373
171374
171375
171376
171377
171378
171379
171380
171381
171382
171383
171384
171385
171386
171387
171388
171389
171390
171391
171392
171393
171394
171395
171396
171397
171398
171399
171400
171401
171402
171403
171404
171405
171406
171407
171408
171409
171410
171411
171412
171413
171414
171415
171416
171417
171418
171419
171420
171421
171422
171423
171424
171425
171426
171427
171428
171429
171430
171431
171432
171433
171434
171435
171436
171437
171438
171439
171440
171441
171442
171443
171444
171445
171446
171447
171448
171449
171450
171451
171452
171453
171454
171455
171456
171457
171458
171459
171460
171461
171462
171463
171464
171465
171466
171467
171468
171469
171470
171471
171472
171473
171474
171475
171476
171477
171478
171479
171480
171481
171482
171483
171484
171485
171486
171487
171488
171489
171490
171491
171492
171493
171494
171495
171496
171497
171498
171499
171500
171501
171502
171503
171504
171505
171506
171507
171508
171509
171510
171511
171512
171513
171514
171515
171516
171517
171518
171519
171520
171521
171522
171523
171524
171525
171526
171527
171528
171529
171530
171531
171532
171533
171534
171535
171536
171537
171538
171539
171540
171541
171542
171543
171544
171545
171546
171547
171548
171549
171550
171551
171552
171553
171554
171555
171556
171557
171558
171559
171560
171561
171562
171563
171564
171565
171566
171567
171568
171569
171570
171571
171572
171573
171574
171575
171576
171577
171578
171579
171580
171581
171582
171583
171584
171585
171586
171587
171588
171589
171590
171591
171592
171593
171594
171595
171596
171597
171598
171599
171600
171601
171602
171603
171604
171605
171606
171607
171608
171609
171610
171611
171612
171613
171614
171615
171616
171617
171618
171619
171620
171621
171622
171623
171624
171625
171626
171627
171628
171629
171630
171631
171632
171633
171634
171635
171636
171637
171638
171639
171640
171641
171642
171643
171644
171645
171646
171647
171648
171649
171650
171651
171652
171653
171654
171655
171656
171657
171658
171659
171660
171661
171662
171663
171664
171665
171666
171667
171668
171669
171670
171671
171672
171673
171674
171675
171676
171677
171678
171679
171680
171681
171682
171683
171684
171685
171686
171687
171688
171689
171690
171691
171692
171693
171694
171695
171696
171697
171698
171699
171700
171701
171702
171703
171704
171705
171706
171707
171708
171709
171710
171711
171712
171713
171714
171715
171716
171717
171718
171719
171720
171721
171722
171723
171724
171725
171726
171727
171728
171729
171730
171731
171732
171733
171734
171735
171736
171737
171738
171739
171740
171741
171742
171743
171744
171745
171746
171747
171748
171749
171750
171751
171752
171753
171754
171755
171756
171757
171758
171759
171760
171761
171762
171763
171764
171765
171766
171767
171768
171769
171770
171771
171772
171773
171774
171775
171776
171777
171778
171779
171780
171781
171782
171783
171784
171785
171786
171787
171788
171789
171790
171791
171792
171793
171794
171795
171796
171797
171798
171799
171800
171801
171802
171803
171804
171805
171806
171807
171808
171809
171810
171811
171812
171813
171814
171815
171816
171817
171818
171819
171820
171821
171822
171823
171824
171825
171826
171827
171828
171829
171830
171831
171832
171833
171834
171835
171836
171837
171838
171839
171840
171841
171842
171843
171844
171845
171846
171847
171848
171849
171850
171851
171852
171853
171854
171855
171856
171857
171858
171859
171860
171861
171862
171863
171864
171865
171866
171867
171868
171869
171870
171871
171872
171873
171874
171875
171876
171877
171878
171879
171880
171881
171882
171883
171884
171885
171886
171887
171888
171889
171890
171891
171892
171893
171894
171895
171896
171897
171898
171899
171900
171901
171902
171903
171904
171905
171906
171907
171908
171909
171910
171911
171912
171913
171914
171915
171916
171917
171918
171919
171920
171921
171922
171923
171924
171925
171926
171927
171928
171929
171930
171931
171932
171933
171934
171935
171936
171937
171938
171939
171940
171941
171942
171943
171944
171945
171946
171947
171948
171949
171950
171951
171952
171953
171954
171955
171956
171957
171958
171959
171960
171961
171962
171963
171964
171965
171966
171967
171968
171969
171970
171971
171972
171973
171974
171975
171976
171977
171978
171979
171980
171981
171982
171983
171984
171985
171986
171987
171988
171989
171990
171991
171992
171993
171994
171995
171996
171997
171998
171999
172000
172001
172002
172003
172004
172005
172006
172007
172008
172009
172010
172011
172012
172013
172014
172015
172016
172017
172018
172019
172020
172021
172022
172023
172024
172025
172026
172027
172028
172029
172030
172031
172032
172033
172034
172035
172036
172037
172038
172039
172040
172041
172042
172043
172044
172045
172046
172047
172048
172049
172050
172051
172052
172053
172054
172055
172056
172057
172058
172059
172060
172061
172062
172063
172064
172065
172066
172067
172068
172069
172070
172071
172072
172073
172074
172075
172076
172077
172078
172079
172080
172081
172082
172083
172084
172085
172086
172087
172088
172089
172090
172091
172092
172093
172094
172095
172096
172097
172098
172099
172100
172101
172102
172103
172104
172105
172106
172107
172108
172109
172110
172111
172112
172113
172114
172115
172116
172117
172118
172119
172120
172121
172122
172123
172124
172125
172126
172127
172128
172129
172130
172131
172132
172133
172134
172135
172136
172137
172138
172139
172140
172141
172142
172143
172144
172145
172146
172147
172148
172149
172150
172151
172152
172153
172154
172155
172156
172157
172158
172159
172160
172161
172162
172163
172164
172165
172166
172167
172168
172169
172170
172171
172172
172173
172174
172175
172176
172177
172178
172179
172180
172181
172182
172183
172184
172185
172186
172187
172188
172189
172190
172191
172192
172193
172194
172195
172196
172197
172198
172199
172200
172201
172202
172203
172204
172205
172206
172207
172208
172209
172210
172211
172212
172213
172214
172215
172216
172217
172218
172219
172220
172221
172222
172223
172224
172225
172226
172227
172228
172229
172230
172231
172232
172233
172234
172235
172236
172237
172238
172239
172240
172241
172242
172243
172244
172245
172246
172247
172248
172249
172250
172251
172252
172253
172254
172255
172256
172257
172258
172259
172260
172261
172262
172263
172264
172265
172266
172267
172268
172269
172270
172271
172272
172273
172274
172275
172276
172277
172278
172279
172280
172281
172282
172283
172284
172285
172286
172287
172288
172289
172290
172291
172292
172293
172294
172295
172296
172297
172298
172299
172300
172301
172302
172303
172304
172305
172306
172307
172308
172309
172310
172311
172312
172313
172314
172315
172316
172317
172318
172319
172320
172321
172322
172323
172324
172325
172326
172327
172328
172329
172330
172331
172332
172333
172334
172335
172336
172337
172338
172339
172340
172341
172342
172343
172344
172345
172346
172347
172348
172349
172350
172351
172352
172353
172354
172355
172356
172357
172358
172359
172360
172361
172362
172363
172364
172365
172366
172367
172368
172369
172370
172371
172372
172373
172374
172375
172376
172377
172378
172379
172380
172381
172382
172383
172384
172385
172386
172387
172388
172389
172390
172391
172392
172393
172394
172395
172396
172397
172398
172399
172400
172401
172402
172403
172404
172405
172406
172407
172408
172409
172410
172411
172412
172413
172414
172415
172416
172417
172418
172419
172420
172421
172422
172423
172424
172425
172426
172427
172428
172429
172430
172431
172432
172433
172434
172435
172436
172437
172438
172439
172440
172441
172442
172443
172444
172445
172446
172447
172448
172449
172450
172451
172452
172453
172454
172455
172456
172457
172458
172459
172460
172461
172462
172463
172464
172465
172466
172467
172468
172469
172470
172471
172472
172473
172474
172475
172476
172477
172478
172479
172480
172481
172482
172483
172484
172485
172486
172487
172488
172489
172490
172491
172492
172493
172494
172495
172496
172497
172498
172499
172500
172501
172502
172503
172504
172505
172506
172507
172508
172509
172510
172511
172512
172513
172514
172515
172516
172517
172518
172519
172520
172521
172522
172523
172524
172525
172526
172527
172528
172529
172530
172531
172532
172533
172534
172535
172536
172537
172538
172539
172540
172541
172542
172543
172544
172545
172546
172547
172548
172549
172550
172551
172552
172553
172554
172555
172556
172557
172558
172559
172560
172561
172562
172563
172564
172565
172566
172567
172568
172569
172570
172571
172572
172573
172574
172575
172576
172577
172578
172579
172580
172581
172582
172583
172584
172585
172586
172587
172588
172589
172590
172591
172592
172593
172594
172595
172596
172597
172598
172599
172600
172601
172602
172603
172604
172605
172606
172607
172608
172609
172610
172611
172612
172613
172614
172615
172616
172617
172618
172619
172620
172621
172622
172623
172624
172625
172626
172627
172628
172629
172630
172631
172632
172633
172634
172635
172636
172637
172638
172639
172640
172641
172642
172643
172644
172645
172646
172647
172648
172649
172650
172651
172652
172653
172654
172655
172656
172657
172658
172659
172660
172661
172662
172663
172664
172665
172666
172667
172668
172669
172670
172671
172672
172673
172674
172675
172676
172677
172678
172679
172680
172681
172682
172683
172684
172685
172686
172687
172688
172689
172690
172691
172692
172693
172694
172695
172696
172697
172698
172699
172700
172701
172702
172703
172704
172705
172706
172707
172708
172709
172710
172711
172712
172713
172714
172715
172716
172717
172718
172719
172720
172721
172722
172723
172724
172725
172726
172727
172728
172729
172730
172731
172732
172733
172734
172735
172736
172737
172738
172739
172740
172741
172742
172743
172744
172745
172746
172747
172748
172749
172750
172751
172752
172753
172754
172755
172756
172757
172758
172759
172760
172761
172762
172763
172764
172765
172766
172767
172768
172769
172770
172771
172772
172773
172774
172775
172776
172777
172778
172779
172780
172781
172782
172783
172784
172785
172786
172787
172788
172789
172790
172791
172792
172793
172794
172795
172796
172797
172798
172799
172800
172801
172802
172803
172804
172805
172806
172807
172808
172809
172810
172811
172812
172813
172814
172815
172816
172817
172818
172819
172820
172821
172822
172823
172824
172825
172826
172827
172828
172829
172830
172831
172832
172833
172834
172835
172836
172837
172838
172839
172840
172841
172842
172843
172844
172845
172846
172847
172848
172849
172850
172851
172852
172853
172854
172855
172856
172857
172858
172859
172860
172861
172862
172863
172864
172865
172866
172867
172868
172869
172870
172871
172872
172873
172874
172875
172876
172877
172878
172879
172880
172881
172882
172883
172884
172885
172886
172887
172888
172889
172890
172891
172892
172893
172894
172895
172896
172897
172898
172899
172900
172901
172902
172903
172904
172905
172906
172907
172908
172909
172910
172911
172912
172913
172914
172915
172916
172917
172918
172919
172920
172921
172922
172923
172924
172925
172926
172927
172928
172929
172930
172931
172932
172933
172934
172935
172936
172937
172938
172939
172940
172941
172942
172943
172944
172945
172946
172947
172948
172949
172950
172951
172952
172953
172954
172955
172956
172957
172958
172959
172960
172961
172962
172963
172964
172965
172966
172967
172968
172969
172970
172971
172972
172973
172974
172975
172976
172977
172978
172979
172980
172981
172982
172983
172984
172985
172986
172987
172988
172989
172990
172991
172992
172993
172994
172995
172996
172997
172998
172999
173000
173001
173002
173003
173004
173005
173006
173007
173008
173009
173010
173011
173012
173013
173014
173015
173016
173017
173018
173019
173020
173021
173022
173023
173024
173025
173026
173027
173028
173029
173030
173031
173032
173033
173034
173035
173036
173037
173038
173039
173040
173041
173042
173043
173044
173045
173046
173047
173048
173049
173050
173051
173052
173053
173054
173055
173056
173057
173058
173059
173060
173061
173062
173063
173064
173065
173066
173067
173068
173069
173070
173071
173072
173073
173074
173075
173076
173077
173078
173079
173080
173081
173082
173083
173084
173085
173086
173087
173088
173089
173090
173091
173092
173093
173094
173095
173096
173097
173098
173099
173100
173101
173102
173103
173104
173105
173106
173107
173108
173109
173110
173111
173112
173113
173114
173115
173116
173117
173118
173119
173120
173121
173122
173123
173124
173125
173126
173127
173128
173129
173130
173131
173132
173133
173134
173135
173136
173137
173138
173139
173140
173141
173142
173143
173144
173145
173146
173147
173148
173149
173150
173151
173152
173153
173154
173155
173156
173157
173158
173159
173160
173161
173162
173163
173164
173165
173166
173167
173168
173169
173170
173171
173172
173173
173174
173175
173176
173177
173178
173179
173180
173181
173182
173183
173184
173185
173186
173187
173188
173189
173190
173191
173192
173193
173194
173195
173196
173197
173198
173199
173200
173201
173202
173203
173204
173205
173206
173207
173208
173209
173210
173211
173212
173213
173214
173215
173216
173217
173218
173219
173220
173221
173222
173223
173224
173225
173226
173227
173228
173229
173230
173231
173232
173233
173234
173235
173236
173237
173238
173239
173240
173241
173242
173243
173244
173245
173246
173247
173248
173249
173250
173251
173252
173253
173254
173255
173256
173257
173258
173259
173260
173261
173262
173263
173264
173265
173266
173267
173268
173269
173270
173271
173272
173273
173274
173275
173276
173277
173278
173279
173280
173281
173282
173283
173284
173285
173286
173287
173288
173289
173290
173291
173292
173293
173294
173295
173296
173297
173298
173299
173300
173301
173302
173303
173304
173305
173306
173307
173308
173309
173310
173311
173312
173313
173314
173315
173316
173317
173318
173319
173320
173321
173322
173323
173324
173325
173326
173327
173328
173329
173330
173331
173332
173333
173334
173335
173336
173337
173338
173339
173340
173341
173342
173343
173344
173345
173346
173347
173348
173349
173350
173351
173352
173353
173354
173355
173356
173357
173358
173359
173360
173361
173362
173363
173364
173365
173366
173367
173368
173369
173370
173371
173372
173373
173374
173375
173376
173377
173378
173379
173380
173381
173382
173383
173384
173385
173386
173387
173388
173389
173390
173391
173392
173393
173394
173395
173396
173397
173398
173399
173400
173401
173402
173403
173404
173405
173406
173407
173408
173409
173410
173411
173412
173413
173414
173415
173416
173417
173418
173419
173420
173421
173422
173423
173424
173425
173426
173427
173428
173429
173430
173431
173432
173433
173434
173435
173436
173437
173438
173439
173440
173441
173442
173443
173444
173445
173446
173447
173448
173449
173450
173451
173452
173453
173454
173455
173456
173457
173458
173459
173460
173461
173462
173463
173464
173465
173466
173467
173468
173469
173470
173471
173472
173473
173474
173475
173476
173477
173478
173479
173480
173481
173482
173483
173484
173485
173486
173487
173488
173489
173490
173491
173492
173493
173494
173495
173496
173497
173498
173499
173500
173501
173502
173503
173504
173505
173506
173507
173508
173509
173510
173511
173512
173513
173514
173515
173516
173517
173518
173519
173520
173521
173522
173523
173524
173525
173526
173527
173528
173529
173530
173531
173532
173533
173534
173535
173536
173537
173538
173539
173540
173541
173542
173543
173544
173545
173546
173547
173548
173549
173550
173551
173552
173553
173554
173555
173556
173557
173558
173559
173560
173561
173562
173563
173564
173565
173566
173567
173568
173569
173570
173571
173572
173573
173574
173575
173576
173577
173578
173579
173580
173581
173582
173583
173584
173585
173586
173587
173588
173589
173590
173591
173592
173593
173594
173595
173596
173597
173598
173599
173600
173601
173602
173603
173604
173605
173606
173607
173608
173609
173610
173611
173612
173613
173614
173615
173616
173617
173618
173619
173620
173621
173622
173623
173624
173625
173626
173627
173628
173629
173630
173631
173632
173633
173634
173635
173636
173637
173638
173639
173640
173641
173642
173643
173644
173645
173646
173647
173648
173649
173650
173651
173652
173653
173654
173655
173656
173657
173658
173659
173660
173661
173662
173663
173664
173665
173666
173667
173668
173669
173670
173671
173672
173673
173674
173675
173676
173677
173678
173679
173680
173681
173682
173683
173684
173685
173686
173687
173688
173689
173690
173691
173692
173693
173694
173695
173696
173697
173698
173699
173700
173701
173702
173703
173704
173705
173706
173707
173708
173709
173710
173711
173712
173713
173714
173715
173716
173717
173718
173719
173720
173721
173722
173723
173724
173725
173726
173727
173728
173729
173730
173731
173732
173733
173734
173735
173736
173737
173738
173739
173740
173741
173742
173743
173744
173745
173746
173747
173748
173749
173750
173751
173752
173753
173754
173755
173756
173757
173758
173759
173760
173761
173762
173763
173764
173765
173766
173767
173768
173769
173770
173771
173772
173773
173774
173775
173776
173777
173778
173779
173780
173781
173782
173783
173784
173785
173786
173787
173788
173789
173790
173791
173792
173793
173794
173795
173796
173797
173798
173799
173800
173801
173802
173803
173804
173805
173806
173807
173808
173809
173810
173811
173812
173813
173814
173815
173816
173817
173818
173819
173820
173821
173822
173823
173824
173825
173826
173827
173828
173829
173830
173831
173832
173833
173834
173835
173836
173837
173838
173839
173840
173841
173842
173843
173844
173845
173846
173847
173848
173849
173850
173851
173852
173853
173854
173855
173856
173857
173858
173859
173860
173861
173862
173863
173864
173865
173866
173867
173868
173869
173870
173871
173872
173873
173874
173875
173876
173877
173878
173879
173880
173881
173882
173883
173884
173885
173886
173887
173888
173889
173890
173891
173892
173893
173894
173895
173896
173897
173898
173899
173900
173901
173902
173903
173904
173905
173906
173907
173908
173909
173910
173911
173912
173913
173914
173915
173916
173917
173918
173919
173920
173921
173922
173923
173924
173925
173926
173927
173928
173929
173930
173931
173932
173933
173934
173935
173936
173937
173938
173939
173940
173941
173942
173943
173944
173945
173946
173947
173948
173949
173950
173951
173952
173953
173954
173955
173956
173957
173958
173959
173960
173961
173962
173963
173964
173965
173966
173967
173968
173969
173970
173971
173972
173973
173974
173975
173976
173977
173978
173979
173980
173981
173982
173983
173984
173985
173986
173987
173988
173989
173990
173991
173992
173993
173994
173995
173996
173997
173998
173999
174000
174001
174002
174003
174004
174005
174006
174007
174008
174009
174010
174011
174012
174013
174014
174015
174016
174017
174018
174019
174020
174021
174022
174023
174024
174025
174026
174027
174028
174029
174030
174031
174032
174033
174034
174035
174036
174037
174038
174039
174040
174041
174042
174043
174044
174045
174046
174047
174048
174049
174050
174051
174052
174053
174054
174055
174056
174057
174058
174059
174060
174061
174062
174063
174064
174065
174066
174067
174068
174069
174070
174071
174072
174073
174074
174075
174076
174077
174078
174079
174080
174081
174082
174083
174084
174085
174086
174087
174088
174089
174090
174091
174092
174093
174094
174095
174096
174097
174098
174099
174100
174101
174102
174103
174104
174105
174106
174107
174108
174109
174110
174111
174112
174113
174114
174115
174116
174117
174118
174119
174120
174121
174122
174123
174124
174125
174126
174127
174128
174129
174130
174131
174132
174133
174134
174135
174136
174137
174138
174139
174140
174141
174142
174143
174144
174145
174146
174147
174148
174149
174150
174151
174152
174153
174154
174155
174156
174157
174158
174159
174160
174161
174162
174163
174164
174165
174166
174167
174168
174169
174170
174171
174172
174173
174174
174175
174176
174177
174178
174179
174180
174181
174182
174183
174184
174185
174186
174187
174188
174189
174190
174191
174192
174193
174194
174195
174196
174197
174198
174199
174200
174201
174202
174203
174204
174205
174206
174207
174208
174209
174210
174211
174212
174213
174214
174215
174216
174217
174218
174219
174220
174221
174222
174223
174224
174225
174226
174227
174228
174229
174230
174231
174232
174233
174234
174235
174236
174237
174238
174239
174240
174241
174242
174243
174244
174245
174246
174247
174248
174249
174250
174251
174252
174253
174254
174255
174256
174257
174258
174259
174260
174261
174262
174263
174264
174265
174266
174267
174268
174269
174270
174271
174272
174273
174274
174275
174276
174277
174278
174279
174280
174281
174282
174283
174284
174285
174286
174287
174288
174289
174290
174291
174292
174293
174294
174295
174296
174297
174298
174299
174300
174301
174302
174303
174304
174305
174306
174307
174308
174309
174310
174311
174312
174313
174314
174315
174316
174317
174318
174319
174320
174321
174322
174323
174324
174325
174326
174327
174328
174329
174330
174331
174332
174333
174334
174335
174336
174337
174338
174339
174340
174341
174342
174343
174344
174345
174346
174347
174348
174349
174350
174351
174352
174353
174354
174355
174356
174357
174358
174359
174360
174361
174362
174363
174364
174365
174366
174367
174368
174369
174370
174371
174372
174373
174374
174375
174376
174377
174378
174379
174380
174381
174382
174383
174384
174385
174386
174387
174388
174389
174390
174391
174392
174393
174394
174395
174396
174397
174398
174399
174400
174401
174402
174403
174404
174405
174406
174407
174408
174409
174410
174411
174412
174413
174414
174415
174416
174417
174418
174419
174420
174421
174422
174423
174424
174425
174426
174427
174428
174429
174430
174431
174432
174433
174434
174435
174436
174437
174438
174439
174440
174441
174442
174443
174444
174445
174446
174447
174448
174449
174450
174451
174452
174453
174454
174455
174456
174457
174458
174459
174460
174461
174462
174463
174464
174465
174466
174467
174468
174469
174470
174471
174472
174473
174474
174475
174476
174477
174478
174479
174480
174481
174482
174483
174484
174485
174486
174487
174488
174489
174490
174491
174492
174493
174494
174495
174496
174497
174498
174499
174500
174501
174502
174503
174504
174505
174506
174507
174508
174509
174510
174511
174512
174513
174514
174515
174516
174517
174518
174519
174520
174521
174522
174523
174524
174525
174526
174527
174528
174529
174530
174531
174532
174533
174534
174535
174536
174537
174538
174539
174540
174541
174542
174543
174544
174545
174546
174547
174548
174549
174550
174551
174552
174553
174554
174555
174556
174557
174558
174559
174560
174561
174562
174563
174564
174565
174566
174567
174568
174569
174570
174571
174572
174573
174574
174575
174576
174577
174578
174579
174580
174581
174582
174583
174584
174585
174586
174587
174588
174589
174590
174591
174592
174593
174594
174595
174596
174597
174598
174599
174600
174601
174602
174603
174604
174605
174606
174607
174608
174609
174610
174611
174612
174613
174614
174615
174616
174617
174618
174619
174620
174621
174622
174623
174624
174625
174626
174627
174628
174629
174630
174631
174632
174633
174634
174635
174636
174637
174638
174639
174640
174641
174642
174643
174644
174645
174646
174647
174648
174649
174650
174651
174652
174653
174654
174655
174656
174657
174658
174659
174660
174661
174662
174663
174664
174665
174666
174667
174668
174669
174670
174671
174672
174673
174674
174675
174676
174677
174678
174679
174680
174681
174682
174683
174684
174685
174686
174687
174688
174689
174690
174691
174692
174693
174694
174695
174696
174697
174698
174699
174700
174701
174702
174703
174704
174705
174706
174707
174708
174709
174710
174711
174712
174713
174714
174715
174716
174717
174718
174719
174720
174721
174722
174723
174724
174725
174726
174727
174728
174729
174730
174731
174732
174733
174734
174735
174736
174737
174738
174739
174740
174741
174742
174743
174744
174745
174746
174747
174748
174749
174750
174751
174752
174753
174754
174755
174756
174757
174758
174759
174760
174761
174762
174763
174764
174765
174766
174767
174768
174769
174770
174771
174772
174773
174774
174775
174776
174777
174778
174779
174780
174781
174782
174783
174784
174785
174786
174787
174788
174789
174790
174791
174792
174793
174794
174795
174796
174797
174798
174799
174800
174801
174802
174803
174804
174805
174806
174807
174808
174809
174810
174811
174812
174813
174814
174815
174816
174817
174818
174819
174820
174821
174822
174823
174824
174825
174826
174827
174828
174829
174830
174831
174832
174833
174834
174835
174836
174837
174838
174839
174840
174841
174842
174843
174844
174845
174846
174847
174848
174849
174850
174851
174852
174853
174854
174855
174856
174857
174858
174859
174860
174861
174862
174863
174864
174865
174866
174867
174868
174869
174870
174871
174872
174873
174874
174875
174876
174877
174878
174879
174880
174881
174882
174883
174884
174885
174886
174887
174888
174889
174890
174891
174892
174893
174894
174895
174896
174897
174898
174899
174900
174901
174902
174903
174904
174905
174906
174907
174908
174909
174910
174911
174912
174913
174914
174915
174916
174917
174918
174919
174920
174921
174922
174923
174924
174925
174926
174927
174928
174929
174930
174931
174932
174933
174934
174935
174936
174937
174938
174939
174940
174941
174942
174943
174944
174945
174946
174947
174948
174949
174950
174951
174952
174953
174954
174955
174956
174957
174958
174959
174960
174961
174962
174963
174964
174965
174966
174967
174968
174969
174970
174971
174972
174973
174974
174975
174976
174977
174978
174979
174980
174981
174982
174983
174984
174985
174986
174987
174988
174989
174990
174991
174992
174993
174994
174995
174996
174997
174998
174999
175000
175001
175002
175003
175004
175005
175006
175007
175008
175009
175010
175011
175012
175013
175014
175015
175016
175017
175018
175019
175020
175021
175022
175023
175024
175025
175026
175027
175028
175029
175030
175031
175032
175033
175034
175035
175036
175037
175038
175039
175040
175041
175042
175043
175044
175045
175046
175047
175048
175049
175050
175051
175052
175053
175054
175055
175056
175057
175058
175059
175060
175061
175062
175063
175064
175065
175066
175067
175068
175069
175070
175071
175072
175073
175074
175075
175076
175077
175078
175079
175080
175081
175082
175083
175084
175085
175086
175087
175088
175089
175090
175091
175092
175093
175094
175095
175096
175097
175098
175099
175100
175101
175102
175103
175104
175105
175106
175107
175108
175109
175110
175111
175112
175113
175114
175115
175116
175117
175118
175119
175120
175121
175122
175123
175124
175125
175126
175127
175128
175129
175130
175131
175132
175133
175134
175135
175136
175137
175138
175139
175140
175141
175142
175143
175144
175145
175146
175147
175148
175149
175150
175151
175152
175153
175154
175155
175156
175157
175158
175159
175160
175161
175162
175163
175164
175165
175166
175167
175168
175169
175170
175171
175172
175173
175174
175175
175176
175177
175178
175179
175180
175181
175182
175183
175184
175185
175186
175187
175188
175189
175190
175191
175192
175193
175194
175195
175196
175197
175198
175199
175200
175201
175202
175203
175204
175205
175206
175207
175208
175209
175210
175211
175212
175213
175214
175215
175216
175217
175218
175219
175220
175221
175222
175223
175224
175225
175226
175227
175228
175229
175230
175231
175232
175233
175234
175235
175236
175237
175238
175239
175240
175241
175242
175243
175244
175245
175246
175247
175248
175249
175250
175251
175252
175253
175254
175255
175256
175257
175258
175259
175260
175261
175262
175263
175264
175265
175266
175267
175268
175269
175270
175271
175272
175273
175274
175275
175276
175277
175278
175279
175280
175281
175282
175283
175284
175285
175286
175287
175288
175289
175290
175291
175292
175293
175294
175295
175296
175297
175298
175299
175300
175301
175302
175303
175304
175305
175306
175307
175308
175309
175310
175311
175312
175313
175314
175315
175316
175317
175318
175319
175320
175321
175322
175323
175324
175325
175326
175327
175328
175329
175330
175331
175332
175333
175334
175335
175336
175337
175338
175339
175340
175341
175342
175343
175344
175345
175346
175347
175348
175349
175350
175351
175352
175353
175354
175355
175356
175357
175358
175359
175360
175361
175362
175363
175364
175365
175366
175367
175368
175369
175370
175371
175372
175373
175374
175375
175376
175377
175378
175379
175380
175381
175382
175383
175384
175385
175386
175387
175388
175389
175390
175391
175392
175393
175394
175395
175396
175397
175398
175399
175400
175401
175402
175403
175404
175405
175406
175407
175408
175409
175410
175411
175412
175413
175414
175415
175416
175417
175418
175419
175420
175421
175422
175423
175424
175425
175426
175427
175428
175429
175430
175431
175432
175433
175434
175435
175436
175437
175438
175439
175440
175441
175442
175443
175444
175445
175446
175447
175448
175449
175450
175451
175452
175453
175454
175455
175456
175457
175458
175459
175460
175461
175462
175463
175464
175465
175466
175467
175468
175469
175470
175471
175472
175473
175474
175475
175476
175477
175478
175479
175480
175481
175482
175483
175484
175485
175486
175487
175488
175489
175490
175491
175492
175493
175494
175495
175496
175497
175498
175499
175500
175501
175502
175503
175504
175505
175506
175507
175508
175509
175510
175511
175512
175513
175514
175515
175516
175517
175518
175519
175520
175521
175522
175523
175524
175525
175526
175527
175528
175529
175530
175531
175532
175533
175534
175535
175536
175537
175538
175539
175540
175541
175542
175543
175544
175545
175546
175547
175548
175549
175550
175551
175552
175553
175554
175555
175556
175557
175558
175559
175560
175561
175562
175563
175564
175565
175566
175567
175568
175569
175570
175571
175572
175573
175574
175575
175576
175577
175578
175579
175580
175581
175582
175583
175584
175585
175586
175587
175588
175589
175590
175591
175592
175593
175594
175595
175596
175597
175598
175599
175600
175601
175602
175603
175604
175605
175606
175607
175608
175609
175610
175611
175612
175613
175614
175615
175616
175617
175618
175619
175620
175621
175622
175623
175624
175625
175626
175627
175628
175629
175630
175631
175632
175633
175634
175635
175636
175637
175638
175639
175640
175641
175642
175643
175644
175645
175646
175647
175648
175649
175650
175651
175652
175653
175654
175655
175656
175657
175658
175659
175660
175661
175662
175663
175664
175665
175666
175667
175668
175669
175670
175671
175672
175673
175674
175675
175676
175677
175678
175679
175680
175681
175682
175683
175684
175685
175686
175687
175688
175689
175690
175691
175692
175693
175694
175695
175696
175697
175698
175699
175700
175701
175702
175703
175704
175705
175706
175707
175708
175709
175710
175711
175712
175713
175714
175715
175716
175717
175718
175719
175720
175721
175722
175723
175724
175725
175726
175727
175728
175729
175730
175731
175732
175733
175734
175735
175736
175737
175738
175739
175740
175741
175742
175743
175744
175745
175746
175747
175748
175749
175750
175751
175752
175753
175754
175755
175756
175757
175758
175759
175760
175761
175762
175763
175764
175765
175766
175767
175768
175769
175770
175771
175772
175773
175774
175775
175776
175777
175778
175779
175780
175781
175782
175783
175784
175785
175786
175787
175788
175789
175790
175791
175792
175793
175794
175795
175796
175797
175798
175799
175800
175801
175802
175803
175804
175805
175806
175807
175808
175809
175810
175811
175812
175813
175814
175815
175816
175817
175818
175819
175820
175821
175822
175823
175824
175825
175826
175827
175828
175829
175830
175831
175832
175833
175834
175835
175836
175837
175838
175839
175840
175841
175842
175843
175844
175845
175846
175847
175848
175849
175850
175851
175852
175853
175854
175855
175856
175857
175858
175859
175860
175861
175862
175863
175864
175865
175866
175867
175868
175869
175870
175871
175872
175873
175874
175875
175876
175877
175878
175879
175880
175881
175882
175883
175884
175885
175886
175887
175888
175889
175890
175891
175892
175893
175894
175895
175896
175897
175898
175899
175900
175901
175902
175903
175904
175905
175906
175907
175908
175909
175910
175911
175912
175913
175914
175915
175916
175917
175918
175919
175920
175921
175922
175923
175924
175925
175926
175927
175928
175929
175930
175931
175932
175933
175934
175935
175936
175937
175938
175939
175940
175941
175942
175943
175944
175945
175946
175947
175948
175949
175950
175951
175952
175953
175954
175955
175956
175957
175958
175959
175960
175961
175962
175963
175964
175965
175966
175967
175968
175969
175970
175971
175972
175973
175974
175975
175976
175977
175978
175979
175980
175981
175982
175983
175984
175985
175986
175987
175988
175989
175990
175991
175992
175993
175994
175995
175996
175997
175998
175999
176000
176001
176002
176003
176004
176005
176006
176007
176008
176009
176010
176011
176012
176013
176014
176015
176016
176017
176018
176019
176020
176021
176022
176023
176024
176025
176026
176027
176028
176029
176030
176031
176032
176033
176034
176035
176036
176037
176038
176039
176040
176041
176042
176043
176044
176045
176046
176047
176048
176049
176050
176051
176052
176053
176054
176055
176056
176057
176058
176059
176060
176061
176062
176063
176064
176065
176066
176067
176068
176069
176070
176071
176072
176073
176074
176075
176076
176077
176078
176079
176080
176081
176082
176083
176084
176085
176086
176087
176088
176089
176090
176091
176092
176093
176094
176095
176096
176097
176098
176099
176100
176101
176102
176103
176104
176105
176106
176107
176108
176109
176110
176111
176112
176113
176114
176115
176116
176117
176118
176119
176120
176121
176122
176123
176124
176125
176126
176127
176128
176129
176130
176131
176132
176133
176134
176135
176136
176137
176138
176139
176140
176141
176142
176143
176144
176145
176146
176147
176148
176149
176150
176151
176152
176153
176154
176155
176156
176157
176158
176159
176160
176161
176162
176163
176164
176165
176166
176167
176168
176169
176170
176171
176172
176173
176174
176175
176176
176177
176178
176179
176180
176181
176182
176183
176184
176185
176186
176187
176188
176189
176190
176191
176192
176193
176194
176195
176196
176197
176198
176199
176200
176201
176202
176203
176204
176205
176206
176207
176208
176209
176210
176211
176212
176213
176214
176215
176216
176217
176218
176219
176220
176221
176222
176223
176224
176225
176226
176227
176228
176229
176230
176231
176232
176233
176234
176235
176236
176237
176238
176239
176240
176241
176242
176243
176244
176245
176246
176247
176248
176249
176250
176251
176252
176253
176254
176255
176256
176257
176258
176259
176260
176261
176262
176263
176264
176265
176266
176267
176268
176269
176270
176271
176272
176273
176274
176275
176276
176277
176278
176279
176280
176281
176282
176283
176284
176285
176286
176287
176288
176289
176290
176291
176292
176293
176294
176295
176296
176297
176298
176299
176300
176301
176302
176303
176304
176305
176306
176307
176308
176309
176310
176311
176312
176313
176314
176315
176316
176317
176318
176319
176320
176321
176322
176323
176324
176325
176326
176327
176328
176329
176330
176331
176332
176333
176334
176335
176336
176337
176338
176339
176340
176341
176342
176343
176344
176345
176346
176347
176348
176349
176350
176351
176352
176353
176354
176355
176356
176357
176358
176359
176360
176361
176362
176363
176364
176365
176366
176367
176368
176369
176370
176371
176372
176373
176374
176375
176376
176377
176378
176379
176380
176381
176382
176383
176384
176385
176386
176387
176388
176389
176390
176391
176392
176393
176394
176395
176396
176397
176398
176399
176400
176401
176402
176403
176404
176405
176406
176407
176408
176409
176410
176411
176412
176413
176414
176415
176416
176417
176418
176419
176420
176421
176422
176423
176424
176425
176426
176427
176428
176429
176430
176431
176432
176433
176434
176435
176436
176437
176438
176439
176440
176441
176442
176443
176444
176445
176446
176447
176448
176449
176450
176451
176452
176453
176454
176455
176456
176457
176458
176459
176460
176461
176462
176463
176464
176465
176466
176467
176468
176469
176470
176471
176472
176473
176474
176475
176476
176477
176478
176479
176480
176481
176482
176483
176484
176485
176486
176487
176488
176489
176490
176491
176492
176493
176494
176495
176496
176497
176498
176499
176500
176501
176502
176503
176504
176505
176506
176507
176508
176509
176510
176511
176512
176513
176514
176515
176516
176517
176518
176519
176520
176521
176522
176523
176524
176525
176526
176527
176528
176529
176530
176531
176532
176533
176534
176535
176536
176537
176538
176539
176540
176541
176542
176543
176544
176545
176546
176547
176548
176549
176550
176551
176552
176553
176554
176555
176556
176557
176558
176559
176560
176561
176562
176563
176564
176565
176566
176567
176568
176569
176570
176571
176572
176573
176574
176575
176576
176577
176578
176579
176580
176581
176582
176583
176584
176585
176586
176587
176588
176589
176590
176591
176592
176593
176594
176595
176596
176597
176598
176599
176600
176601
176602
176603
176604
176605
176606
176607
176608
176609
176610
176611
176612
176613
176614
176615
176616
176617
176618
176619
176620
176621
176622
176623
176624
176625
176626
176627
176628
176629
176630
176631
176632
176633
176634
176635
176636
176637
176638
176639
176640
176641
176642
176643
176644
176645
176646
176647
176648
176649
176650
176651
176652
176653
176654
176655
176656
176657
176658
176659
176660
176661
176662
176663
176664
176665
176666
176667
176668
176669
176670
176671
176672
176673
176674
176675
176676
176677
176678
176679
176680
176681
176682
176683
176684
176685
176686
176687
176688
176689
176690
176691
176692
176693
176694
176695
176696
176697
176698
176699
176700
176701
176702
176703
176704
176705
176706
176707
176708
176709
176710
176711
176712
176713
176714
176715
176716
176717
176718
176719
176720
176721
176722
176723
176724
176725
176726
176727
176728
176729
176730
176731
176732
176733
176734
176735
176736
176737
176738
176739
176740
176741
176742
176743
176744
176745
176746
176747
176748
176749
176750
176751
176752
176753
176754
176755
176756
176757
176758
176759
176760
176761
176762
176763
176764
176765
176766
176767
176768
176769
176770
176771
176772
176773
176774
176775
176776
176777
176778
176779
176780
176781
176782
176783
176784
176785
176786
176787
176788
176789
176790
176791
176792
176793
176794
176795
176796
176797
176798
176799
176800
176801
176802
176803
176804
176805
176806
176807
176808
176809
176810
176811
176812
176813
176814
176815
176816
176817
176818
176819
176820
176821
176822
176823
176824
176825
176826
176827
176828
176829
176830
176831
176832
176833
176834
176835
176836
176837
176838
176839
176840
176841
176842
176843
176844
176845
176846
176847
176848
176849
176850
176851
176852
176853
176854
176855
176856
176857
176858
176859
176860
176861
176862
176863
176864
176865
176866
176867
176868
176869
176870
176871
176872
176873
176874
176875
176876
176877
176878
176879
176880
176881
176882
176883
176884
176885
176886
176887
176888
176889
176890
176891
176892
176893
176894
176895
176896
176897
176898
176899
176900
176901
176902
176903
176904
176905
176906
176907
176908
176909
176910
176911
176912
176913
176914
176915
176916
176917
176918
176919
176920
176921
176922
176923
176924
176925
176926
176927
176928
176929
176930
176931
176932
176933
176934
176935
176936
176937
176938
176939
176940
176941
176942
176943
176944
176945
176946
176947
176948
176949
176950
176951
176952
176953
176954
176955
176956
176957
176958
176959
176960
176961
176962
176963
176964
176965
176966
176967
176968
176969
176970
176971
176972
176973
176974
176975
176976
176977
176978
176979
176980
176981
176982
176983
176984
176985
176986
176987
176988
176989
176990
176991
176992
176993
176994
176995
176996
176997
176998
176999
177000
177001
177002
177003
177004
177005
177006
177007
177008
177009
177010
177011
177012
177013
177014
177015
177016
177017
177018
177019
177020
177021
177022
177023
177024
177025
177026
177027
177028
177029
177030
177031
177032
177033
177034
177035
177036
177037
177038
177039
177040
177041
177042
177043
177044
177045
177046
177047
177048
177049
177050
177051
177052
177053
177054
177055
177056
177057
177058
177059
177060
177061
177062
177063
177064
177065
177066
177067
177068
177069
177070
177071
177072
177073
177074
177075
177076
177077
177078
177079
177080
177081
177082
177083
177084
177085
177086
177087
177088
177089
177090
177091
177092
177093
177094
177095
177096
177097
177098
177099
177100
177101
177102
177103
177104
177105
177106
177107
177108
177109
177110
177111
177112
177113
177114
177115
177116
177117
177118
177119
177120
177121
177122
177123
177124
177125
177126
177127
177128
177129
177130
177131
177132
177133
177134
177135
177136
177137
177138
177139
177140
177141
177142
177143
177144
177145
177146
177147
177148
177149
177150
177151
177152
177153
177154
177155
177156
177157
177158
177159
177160
177161
177162
177163
177164
177165
177166
177167
177168
177169
177170
177171
177172
177173
177174
177175
177176
177177
177178
177179
177180
177181
177182
177183
177184
177185
177186
177187
177188
177189
177190
177191
177192
177193
177194
177195
177196
177197
177198
177199
177200
177201
177202
177203
177204
177205
177206
177207
177208
177209
177210
177211
177212
177213
177214
177215
177216
177217
177218
177219
177220
177221
177222
177223
177224
177225
177226
177227
177228
177229
177230
177231
177232
177233
177234
177235
177236
177237
177238
177239
177240
177241
177242
177243
177244
177245
177246
177247
177248
177249
177250
177251
177252
177253
177254
177255
177256
177257
177258
177259
177260
177261
177262
177263
177264
177265
177266
177267
177268
177269
177270
177271
177272
177273
177274
177275
177276
177277
177278
177279
177280
177281
177282
177283
177284
177285
177286
177287
177288
177289
177290
177291
177292
177293
177294
177295
177296
177297
177298
177299
177300
177301
177302
177303
177304
177305
177306
177307
177308
177309
177310
177311
177312
177313
177314
177315
177316
177317
177318
177319
177320
177321
177322
177323
177324
177325
177326
177327
177328
177329
177330
177331
177332
177333
177334
177335
177336
177337
177338
177339
177340
177341
177342
177343
177344
177345
177346
177347
177348
177349
177350
177351
177352
177353
177354
177355
177356
177357
177358
177359
177360
177361
177362
177363
177364
177365
177366
177367
177368
177369
177370
177371
177372
177373
177374
177375
177376
177377
177378
177379
177380
177381
177382
177383
177384
177385
177386
177387
177388
177389
177390
177391
177392
177393
177394
177395
177396
177397
177398
177399
177400
177401
177402
177403
177404
177405
177406
177407
177408
177409
177410
177411
177412
177413
177414
177415
177416
177417
177418
177419
177420
177421
177422
177423
177424
177425
177426
177427
177428
177429
177430
177431
177432
177433
177434
177435
177436
177437
177438
177439
177440
177441
177442
177443
177444
177445
177446
177447
177448
177449
177450
177451
177452
177453
177454
177455
177456
177457
177458
177459
177460
177461
177462
177463
177464
177465
177466
177467
177468
177469
177470
177471
177472
177473
177474
177475
177476
177477
177478
177479
177480
177481
177482
177483
177484
177485
177486
177487
177488
177489
177490
177491
177492
177493
177494
177495
177496
177497
177498
177499
177500
177501
177502
177503
177504
177505
177506
177507
177508
177509
177510
177511
177512
177513
177514
177515
177516
177517
177518
177519
177520
177521
177522
177523
177524
177525
177526
177527
177528
177529
177530
177531
177532
177533
177534
177535
177536
177537
177538
177539
177540
177541
177542
177543
177544
177545
177546
177547
177548
177549
177550
177551
177552
177553
177554
177555
177556
177557
177558
177559
177560
177561
177562
177563
177564
177565
177566
177567
177568
177569
177570
177571
177572
177573
177574
177575
177576
177577
177578
177579
177580
177581
177582
177583
177584
177585
177586
177587
177588
177589
177590
177591
177592
177593
177594
177595
177596
177597
177598
177599
177600
177601
177602
177603
177604
177605
177606
177607
177608
177609
177610
177611
177612
177613
177614
177615
177616
177617
177618
177619
177620
177621
177622
177623
177624
177625
177626
177627
177628
177629
177630
177631
177632
177633
177634
177635
177636
177637
177638
177639
177640
177641
177642
177643
177644
177645
177646
177647
177648
177649
177650
177651
177652
177653
177654
177655
177656
177657
177658
177659
177660
177661
177662
177663
177664
177665
177666
177667
177668
177669
177670
177671
177672
177673
177674
177675
177676
177677
177678
177679
177680
177681
177682
177683
177684
177685
177686
177687
177688
177689
177690
177691
177692
177693
177694
177695
177696
177697
177698
177699
177700
177701
177702
177703
177704
177705
177706
177707
177708
177709
177710
177711
177712
177713
177714
177715
177716
177717
177718
177719
177720
177721
177722
177723
177724
177725
177726
177727
177728
177729
177730
177731
177732
177733
177734
177735
177736
177737
177738
177739
177740
177741
177742
177743
177744
177745
177746
177747
177748
177749
177750
177751
177752
177753
177754
177755
177756
177757
177758
177759
177760
177761
177762
177763
177764
177765
177766
177767
177768
177769
177770
177771
177772
177773
177774
177775
177776
177777
177778
177779
177780
177781
177782
177783
177784
177785
177786
177787
177788
177789
177790
177791
177792
177793
177794
177795
177796
177797
177798
177799
177800
177801
177802
177803
177804
177805
177806
177807
177808
177809
177810
177811
177812
177813
177814
177815
177816
177817
177818
177819
177820
177821
177822
177823
177824
177825
177826
177827
177828
177829
177830
177831
177832
177833
177834
177835
177836
177837
177838
177839
177840
177841
177842
177843
177844
177845
177846
177847
177848
177849
177850
177851
177852
177853
177854
177855
177856
177857
177858
177859
177860
177861
177862
177863
177864
177865
177866
177867
177868
177869
177870
177871
177872
177873
177874
177875
177876
177877
177878
177879
177880
177881
177882
177883
177884
177885
177886
177887
177888
177889
177890
177891
177892
177893
177894
177895
177896
177897
177898
177899
177900
177901
177902
177903
177904
177905
177906
177907
177908
177909
177910
177911
177912
177913
177914
177915
177916
177917
177918
177919
177920
177921
177922
177923
177924
177925
177926
177927
177928
177929
177930
177931
177932
177933
177934
177935
177936
177937
177938
177939
177940
177941
177942
177943
177944
177945
177946
177947
177948
177949
177950
177951
177952
177953
177954
177955
177956
177957
177958
177959
177960
177961
177962
177963
177964
177965
177966
177967
177968
177969
177970
177971
177972
177973
177974
177975
177976
177977
177978
177979
177980
177981
177982
177983
177984
177985
177986
177987
177988
177989
177990
177991
177992
177993
177994
177995
177996
177997
177998
177999
178000
178001
178002
178003
178004
178005
178006
178007
178008
178009
178010
178011
178012
178013
178014
178015
178016
178017
178018
178019
178020
178021
178022
178023
178024
178025
178026
178027
178028
178029
178030
178031
178032
178033
178034
178035
178036
178037
178038
178039
178040
178041
178042
178043
178044
178045
178046
178047
178048
178049
178050
178051
178052
178053
178054
178055
178056
178057
178058
178059
178060
178061
178062
178063
178064
178065
178066
178067
178068
178069
178070
178071
178072
178073
178074
178075
178076
178077
178078
178079
178080
178081
178082
178083
178084
178085
178086
178087
178088
178089
178090
178091
178092
178093
178094
178095
178096
178097
178098
178099
178100
178101
178102
178103
178104
178105
178106
178107
178108
178109
178110
178111
178112
178113
178114
178115
178116
178117
178118
178119
178120
178121
178122
178123
178124
178125
178126
178127
178128
178129
178130
178131
178132
178133
178134
178135
178136
178137
178138
178139
178140
178141
178142
178143
178144
178145
178146
178147
178148
178149
178150
178151
178152
178153
178154
178155
178156
178157
178158
178159
178160
178161
178162
178163
178164
178165
178166
178167
178168
178169
178170
178171
178172
178173
178174
178175
178176
178177
178178
178179
178180
178181
178182
178183
178184
178185
178186
178187
178188
178189
178190
178191
178192
178193
178194
178195
178196
178197
178198
178199
178200
178201
178202
178203
178204
178205
178206
178207
178208
178209
178210
178211
178212
178213
178214
178215
178216
178217
178218
178219
178220
178221
178222
178223
178224
178225
178226
178227
178228
178229
178230
178231
178232
178233
178234
178235
178236
178237
178238
178239
178240
178241
178242
178243
178244
178245
178246
178247
178248
178249
178250
178251
178252
178253
178254
178255
178256
178257
178258
178259
178260
178261
178262
178263
178264
178265
178266
178267
178268
178269
178270
178271
178272
178273
178274
178275
178276
178277
178278
178279
178280
178281
178282
178283
178284
178285
178286
178287
178288
178289
178290
178291
178292
178293
178294
178295
178296
178297
178298
178299
178300
178301
178302
178303
178304
178305
178306
178307
178308
178309
178310
178311
178312
178313
178314
178315
178316
178317
178318
178319
178320
178321
178322
178323
178324
178325
178326
178327
178328
178329
178330
178331
178332
178333
178334
178335
178336
178337
178338
178339
178340
178341
178342
178343
178344
178345
178346
178347
178348
178349
178350
178351
178352
178353
178354
178355
178356
178357
178358
178359
178360
178361
178362
178363
178364
178365
178366
178367
178368
178369
178370
178371
178372
178373
178374
178375
178376
178377
178378
178379
178380
178381
178382
178383
178384
178385
178386
178387
178388
178389
178390
178391
178392
178393
178394
178395
178396
178397
178398
178399
178400
178401
178402
178403
178404
178405
178406
178407
178408
178409
178410
178411
178412
178413
178414
178415
178416
178417
178418
178419
178420
178421
178422
178423
178424
178425
178426
178427
178428
178429
178430
178431
178432
178433
178434
178435
178436
178437
178438
178439
178440
178441
178442
178443
178444
178445
178446
178447
178448
178449
178450
178451
178452
178453
178454
178455
178456
178457
178458
178459
178460
178461
178462
178463
178464
178465
178466
178467
178468
178469
178470
178471
178472
178473
178474
178475
178476
178477
178478
178479
178480
178481
178482
178483
178484
178485
178486
178487
178488
178489
178490
178491
178492
178493
178494
178495
178496
178497
178498
178499
178500
178501
178502
178503
178504
178505
178506
178507
178508
178509
178510
178511
178512
178513
178514
178515
178516
178517
178518
178519
178520
178521
178522
178523
178524
178525
178526
178527
178528
178529
178530
178531
178532
178533
178534
178535
178536
178537
178538
178539
178540
178541
178542
178543
178544
178545
178546
178547
178548
178549
178550
178551
178552
178553
178554
178555
178556
178557
178558
178559
178560
178561
178562
178563
178564
178565
178566
178567
178568
178569
178570
178571
178572
178573
178574
178575
178576
178577
178578
178579
178580
178581
178582
178583
178584
178585
178586
178587
178588
178589
178590
178591
178592
178593
178594
178595
178596
178597
178598
178599
178600
178601
178602
178603
178604
178605
178606
178607
178608
178609
178610
178611
178612
178613
178614
178615
178616
178617
178618
178619
178620
178621
178622
178623
178624
178625
178626
178627
178628
178629
178630
178631
178632
178633
178634
178635
178636
178637
178638
178639
178640
178641
178642
178643
178644
178645
178646
178647
178648
178649
178650
178651
178652
178653
178654
178655
178656
178657
178658
178659
178660
178661
178662
178663
178664
178665
178666
178667
178668
178669
178670
178671
178672
178673
178674
178675
178676
178677
178678
178679
178680
178681
178682
178683
178684
178685
178686
178687
178688
178689
178690
178691
178692
178693
178694
178695
178696
178697
178698
178699
178700
178701
178702
178703
178704
178705
178706
178707
178708
178709
178710
178711
178712
178713
178714
178715
178716
178717
178718
178719
178720
178721
178722
178723
178724
178725
178726
178727
178728
178729
178730
178731
178732
178733
178734
178735
178736
178737
178738
178739
178740
178741
178742
178743
178744
178745
178746
178747
178748
178749
178750
178751
178752
178753
178754
178755
178756
178757
178758
178759
178760
178761
178762
178763
178764
178765
178766
178767
178768
178769
178770
178771
178772
178773
178774
178775
178776
178777
178778
178779
178780
178781
178782
178783
178784
178785
178786
178787
178788
178789
178790
178791
178792
178793
178794
178795
178796
178797
178798
178799
178800
178801
178802
178803
178804
178805
178806
178807
178808
178809
178810
178811
178812
178813
178814
178815
178816
178817
178818
178819
178820
178821
178822
178823
178824
178825
178826
178827
178828
178829
178830
178831
178832
178833
178834
178835
178836
178837
178838
178839
178840
178841
178842
178843
178844
178845
178846
178847
178848
178849
178850
178851
178852
178853
178854
178855
178856
178857
178858
178859
178860
178861
178862
178863
178864
178865
178866
178867
178868
178869
178870
178871
178872
178873
178874
178875
178876
178877
178878
178879
178880
178881
178882
178883
178884
178885
178886
178887
178888
178889
178890
178891
178892
178893
178894
178895
178896
178897
178898
178899
178900
178901
178902
178903
178904
178905
178906
178907
178908
178909
178910
178911
178912
178913
178914
178915
178916
178917
178918
178919
178920
178921
178922
178923
178924
178925
178926
178927
178928
178929
178930
178931
178932
178933
178934
178935
178936
178937
178938
178939
178940
178941
178942
178943
178944
178945
178946
178947
178948
178949
178950
178951
178952
178953
178954
178955
178956
178957
178958
178959
178960
178961
178962
178963
178964
178965
178966
178967
178968
178969
178970
178971
178972
178973
178974
178975
178976
178977
178978
178979
178980
178981
178982
178983
178984
178985
178986
178987
178988
178989
178990
178991
178992
178993
178994
178995
178996
178997
178998
178999
179000
179001
179002
179003
179004
179005
179006
179007
179008
179009
179010
179011
179012
179013
179014
179015
179016
179017
179018
179019
179020
179021
179022
179023
179024
179025
179026
179027
179028
179029
179030
179031
179032
179033
179034
179035
179036
179037
179038
179039
179040
179041
179042
179043
179044
179045
179046
179047
179048
179049
179050
179051
179052
179053
179054
179055
179056
179057
179058
179059
179060
179061
179062
179063
179064
179065
179066
179067
179068
179069
179070
179071
179072
179073
179074
179075
179076
179077
179078
179079
179080
179081
179082
179083
179084
179085
179086
179087
179088
179089
179090
179091
179092
179093
179094
179095
179096
179097
179098
179099
179100
179101
179102
179103
179104
179105
179106
179107
179108
179109
179110
179111
179112
179113
179114
179115
179116
179117
179118
179119
179120
179121
179122
179123
179124
179125
179126
179127
179128
179129
179130
179131
179132
179133
179134
179135
179136
179137
179138
179139
179140
179141
179142
179143
179144
179145
179146
179147
179148
179149
179150
179151
179152
179153
179154
179155
179156
179157
179158
179159
179160
179161
179162
179163
179164
179165
179166
179167
179168
179169
179170
179171
179172
179173
179174
179175
179176
179177
179178
179179
179180
179181
179182
179183
179184
179185
179186
179187
179188
179189
179190
179191
179192
179193
179194
179195
179196
179197
179198
179199
179200
179201
179202
179203
179204
179205
179206
179207
179208
179209
179210
179211
179212
179213
179214
179215
179216
179217
179218
179219
179220
179221
179222
179223
179224
179225
179226
179227
179228
179229
179230
179231
179232
179233
179234
179235
179236
179237
179238
179239
179240
179241
179242
179243
179244
179245
179246
179247
179248
179249
179250
179251
179252
179253
179254
179255
179256
179257
179258
179259
179260
179261
179262
179263
179264
179265
179266
179267
179268
179269
179270
179271
179272
179273
179274
179275
179276
179277
179278
179279
179280
179281
179282
179283
179284
179285
179286
179287
179288
179289
179290
179291
179292
179293
179294
179295
179296
179297
179298
179299
179300
179301
179302
179303
179304
179305
179306
179307
179308
179309
179310
179311
179312
179313
179314
179315
179316
179317
179318
179319
179320
179321
179322
179323
179324
179325
179326
179327
179328
179329
179330
179331
179332
179333
179334
179335
179336
179337
179338
179339
179340
179341
179342
179343
179344
179345
179346
179347
179348
179349
179350
179351
179352
179353
179354
179355
179356
179357
179358
179359
179360
179361
179362
179363
179364
179365
179366
179367
179368
179369
179370
179371
179372
179373
179374
179375
179376
179377
179378
179379
179380
179381
179382
179383
179384
179385
179386
179387
179388
179389
179390
179391
179392
179393
179394
179395
179396
179397
179398
179399
179400
179401
179402
179403
179404
179405
179406
179407
179408
179409
179410
179411
179412
179413
179414
179415
179416
179417
179418
179419
179420
179421
179422
179423
179424
179425
179426
179427
179428
179429
179430
179431
179432
179433
179434
179435
179436
179437
179438
179439
179440
179441
179442
179443
179444
179445
179446
179447
179448
179449
179450
179451
179452
179453
179454
179455
179456
179457
179458
179459
179460
179461
179462
179463
179464
179465
179466
179467
179468
179469
179470
179471
179472
179473
179474
179475
179476
179477
179478
179479
179480
179481
179482
179483
179484
179485
179486
179487
179488
179489
179490
179491
179492
179493
179494
179495
179496
179497
179498
179499
179500
179501
179502
179503
179504
179505
179506
179507
179508
179509
179510
179511
179512
179513
179514
179515
179516
179517
179518
179519
179520
179521
179522
179523
179524
179525
179526
179527
179528
179529
179530
179531
179532
179533
179534
179535
179536
179537
179538
179539
179540
179541
179542
179543
179544
179545
179546
179547
179548
179549
179550
179551
179552
179553
179554
179555
179556
179557
179558
179559
179560
179561
179562
179563
179564
179565
179566
179567
179568
179569
179570
179571
179572
179573
179574
179575
179576
179577
179578
179579
179580
179581
179582
179583
179584
179585
179586
179587
179588
179589
179590
179591
179592
179593
179594
179595
179596
179597
179598
179599
179600
179601
179602
179603
179604
179605
179606
179607
179608
179609
179610
179611
179612
179613
179614
179615
179616
179617
179618
179619
179620
179621
179622
179623
179624
179625
179626
179627
179628
179629
179630
179631
179632
179633
179634
179635
179636
179637
179638
179639
179640
179641
179642
179643
179644
179645
179646
179647
179648
179649
179650
179651
179652
179653
179654
179655
179656
179657
179658
179659
179660
179661
179662
179663
179664
179665
179666
179667
179668
179669
179670
179671
179672
179673
179674
179675
179676
179677
179678
179679
179680
179681
179682
179683
179684
179685
179686
179687
179688
179689
179690
179691
179692
179693
179694
179695
179696
179697
179698
179699
179700
179701
179702
179703
179704
179705
179706
179707
179708
179709
179710
179711
179712
179713
179714
179715
179716
179717
179718
179719
179720
179721
179722
179723
179724
179725
179726
179727
179728
179729
179730
179731
179732
179733
179734
179735
179736
179737
179738
179739
179740
179741
179742
179743
179744
179745
179746
179747
179748
179749
179750
179751
179752
179753
179754
179755
179756
179757
179758
179759
179760
179761
179762
179763
179764
179765
179766
179767
179768
179769
179770
179771
179772
179773
179774
179775
179776
179777
179778
179779
179780
179781
179782
179783
179784
179785
179786
179787
179788
179789
179790
179791
179792
179793
179794
179795
179796
179797
179798
179799
179800
179801
179802
179803
179804
179805
179806
179807
179808
179809
179810
179811
179812
179813
179814
179815
179816
179817
179818
179819
179820
179821
179822
179823
179824
179825
179826
179827
179828
179829
179830
179831
179832
179833
179834
179835
179836
179837
179838
179839
179840
179841
179842
179843
179844
179845
179846
179847
179848
179849
179850
179851
179852
179853
179854
179855
179856
179857
179858
179859
179860
179861
179862
179863
179864
179865
179866
179867
179868
179869
179870
179871
179872
179873
179874
179875
179876
179877
179878
179879
179880
179881
179882
179883
179884
179885
179886
179887
179888
179889
179890
179891
179892
179893
179894
179895
179896
179897
179898
179899
179900
179901
179902
179903
179904
179905
179906
179907
179908
179909
179910
179911
179912
179913
179914
179915
179916
179917
179918
179919
179920
179921
179922
179923
179924
179925
179926
179927
179928
179929
179930
179931
179932
179933
179934
179935
179936
179937
179938
179939
179940
179941
179942
179943
179944
179945
179946
179947
179948
179949
179950
179951
179952
179953
179954
179955
179956
179957
179958
179959
179960
179961
179962
179963
179964
179965
179966
179967
179968
179969
179970
179971
179972
179973
179974
179975
179976
179977
179978
179979
179980
179981
179982
179983
179984
179985
179986
179987
179988
179989
179990
179991
179992
179993
179994
179995
179996
179997
179998
179999
180000
180001
180002
180003
180004
180005
180006
180007
180008
180009
180010
180011
180012
180013
180014
180015
180016
180017
180018
180019
180020
180021
180022
180023
180024
180025
180026
180027
180028
180029
180030
180031
180032
180033
180034
180035
180036
180037
180038
180039
180040
180041
180042
180043
180044
180045
180046
180047
180048
180049
180050
180051
180052
180053
180054
180055
180056
180057
180058
180059
180060
180061
180062
180063
180064
180065
180066
180067
180068
180069
180070
180071
180072
180073
180074
180075
180076
180077
180078
180079
180080
180081
180082
180083
180084
180085
180086
180087
180088
180089
180090
180091
180092
180093
180094
180095
180096
180097
180098
180099
180100
180101
180102
180103
180104
180105
180106
180107
180108
180109
180110
180111
180112
180113
180114
180115
180116
180117
180118
180119
180120
180121
180122
180123
180124
180125
180126
180127
180128
180129
180130
180131
180132
180133
180134
180135
180136
180137
180138
180139
180140
180141
180142
180143
180144
180145
180146
180147
180148
180149
180150
180151
180152
180153
180154
180155
180156
180157
180158
180159
180160
180161
180162
180163
180164
180165
180166
180167
180168
180169
180170
180171
180172
180173
180174
180175
180176
180177
180178
180179
180180
180181
180182
180183
180184
180185
180186
180187
180188
180189
180190
180191
180192
180193
180194
180195
180196
180197
180198
180199
180200
180201
180202
180203
180204
180205
180206
180207
180208
180209
180210
180211
180212
180213
180214
180215
180216
180217
180218
180219
180220
180221
180222
180223
180224
180225
180226
180227
180228
180229
180230
180231
180232
180233
180234
180235
180236
180237
180238
180239
180240
180241
180242
180243
180244
180245
180246
180247
180248
180249
180250
180251
180252
180253
180254
180255
180256
180257
180258
180259
180260
180261
180262
180263
180264
180265
180266
180267
180268
180269
180270
180271
180272
180273
180274
180275
180276
180277
180278
180279
180280
180281
180282
180283
180284
180285
180286
180287
180288
180289
180290
180291
180292
180293
180294
180295
180296
180297
180298
180299
180300
180301
180302
180303
180304
180305
180306
180307
180308
180309
180310
180311
180312
180313
180314
180315
180316
180317
180318
180319
180320
180321
180322
180323
180324
180325
180326
180327
180328
180329
180330
180331
180332
180333
180334
180335
180336
180337
180338
180339
180340
180341
180342
180343
180344
180345
180346
180347
180348
180349
180350
180351
180352
180353
180354
180355
180356
180357
180358
180359
180360
180361
180362
180363
180364
180365
180366
180367
180368
180369
180370
180371
180372
180373
180374
180375
180376
180377
180378
180379
180380
180381
180382
180383
180384
180385
180386
180387
180388
180389
180390
180391
180392
180393
180394
180395
180396
180397
180398
180399
180400
180401
180402
180403
180404
180405
180406
180407
180408
180409
180410
180411
180412
180413
180414
180415
180416
180417
180418
180419
180420
180421
180422
180423
180424
180425
180426
180427
180428
180429
180430
180431
180432
180433
180434
180435
180436
180437
180438
180439
180440
180441
180442
180443
180444
180445
180446
180447
180448
180449
180450
180451
180452
180453
180454
180455
180456
180457
180458
180459
180460
180461
180462
180463
180464
180465
180466
180467
180468
180469
180470
180471
180472
180473
180474
180475
180476
180477
180478
180479
180480
180481
180482
180483
180484
180485
180486
180487
180488
180489
180490
180491
180492
180493
180494
180495
180496
180497
180498
180499
180500
180501
180502
180503
180504
180505
180506
180507
180508
180509
180510
180511
180512
180513
180514
180515
180516
180517
180518
180519
180520
180521
180522
180523
180524
180525
180526
180527
180528
180529
180530
180531
180532
180533
180534
180535
180536
180537
180538
180539
180540
180541
180542
180543
180544
180545
180546
180547
180548
180549
180550
180551
180552
180553
180554
180555
180556
180557
180558
180559
180560
180561
180562
180563
180564
180565
180566
180567
180568
180569
180570
180571
180572
180573
180574
180575
180576
180577
180578
180579
180580
180581
180582
180583
180584
180585
180586
180587
180588
180589
180590
180591
180592
180593
180594
180595
180596
180597
180598
180599
180600
180601
180602
180603
180604
180605
180606
180607
180608
180609
180610
180611
180612
180613
180614
180615
180616
180617
180618
180619
180620
180621
180622
180623
180624
180625
180626
180627
180628
180629
180630
180631
180632
180633
180634
180635
180636
180637
180638
180639
180640
180641
180642
180643
180644
180645
180646
180647
180648
180649
180650
180651
180652
180653
180654
180655
180656
180657
180658
180659
180660
180661
180662
180663
180664
180665
180666
180667
180668
180669
180670
180671
180672
180673
180674
180675
180676
180677
180678
180679
180680
180681
180682
180683
180684
180685
180686
180687
180688
180689
180690
180691
180692
180693
180694
180695
180696
180697
180698
180699
180700
180701
180702
180703
180704
180705
180706
180707
180708
180709
180710
180711
180712
180713
180714
180715
180716
180717
180718
180719
180720
180721
180722
180723
180724
180725
180726
180727
180728
180729
180730
180731
180732
180733
180734
180735
180736
180737
180738
180739
180740
180741
180742
180743
180744
180745
180746
180747
180748
180749
180750
180751
180752
180753
180754
180755
180756
180757
180758
180759
180760
180761
180762
180763
180764
180765
180766
180767
180768
180769
180770
180771
180772
180773
180774
180775
180776
180777
180778
180779
180780
180781
180782
180783
180784
180785
180786
180787
180788
180789
180790
180791
180792
180793
180794
180795
180796
180797
180798
180799
180800
180801
180802
180803
180804
180805
180806
180807
180808
180809
180810
180811
180812
180813
180814
180815
180816
180817
180818
180819
180820
180821
180822
180823
180824
180825
180826
180827
180828
180829
180830
180831
180832
180833
180834
180835
180836
180837
180838
180839
180840
180841
180842
180843
180844
180845
180846
180847
180848
180849
180850
180851
180852
180853
180854
180855
180856
180857
180858
180859
180860
180861
180862
180863
180864
180865
180866
180867
180868
180869
180870
180871
180872
180873
180874
180875
180876
180877
180878
180879
180880
180881
180882
180883
180884
180885
180886
180887
180888
180889
180890
180891
180892
180893
180894
180895
180896
180897
180898
180899
180900
180901
180902
180903
180904
180905
180906
180907
180908
180909
180910
180911
180912
180913
180914
180915
180916
180917
180918
180919
180920
180921
180922
180923
180924
180925
180926
180927
180928
180929
180930
180931
180932
180933
180934
180935
180936
180937
180938
180939
180940
180941
180942
180943
180944
180945
180946
180947
180948
180949
180950
180951
180952
180953
180954
180955
180956
180957
180958
180959
180960
180961
180962
180963
180964
180965
180966
180967
180968
180969
180970
180971
180972
180973
180974
180975
180976
180977
180978
180979
180980
180981
180982
180983
180984
180985
180986
180987
180988
180989
180990
180991
180992
180993
180994
180995
180996
180997
180998
180999
181000
181001
181002
181003
181004
181005
181006
181007
181008
181009
181010
181011
181012
181013
181014
181015
181016
181017
181018
181019
181020
181021
181022
181023
181024
181025
181026
181027
181028
181029
181030
181031
181032
181033
181034
181035
181036
181037
181038
181039
181040
181041
181042
181043
181044
181045
181046
181047
181048
181049
181050
181051
181052
181053
181054
181055
181056
181057
181058
181059
181060
181061
181062
181063
181064
181065
181066
181067
181068
181069
181070
181071
181072
181073
181074
181075
181076
181077
181078
181079
181080
181081
181082
181083
181084
181085
181086
181087
181088
181089
181090
181091
181092
181093
181094
181095
181096
181097
181098
181099
181100
181101
181102
181103
181104
181105
181106
181107
181108
181109
181110
181111
181112
181113
181114
181115
181116
181117
181118
181119
181120
181121
181122
181123
181124
181125
181126
181127
181128
181129
181130
181131
181132
181133
181134
181135
181136
181137
181138
181139
181140
181141
181142
181143
181144
181145
181146
181147
181148
181149
181150
181151
181152
181153
181154
181155
181156
181157
181158
181159
181160
181161
181162
181163
181164
181165
181166
181167
181168
181169
181170
181171
181172
181173
181174
181175
181176
181177
181178
181179
181180
181181
181182
181183
181184
181185
181186
181187
181188
181189
181190
181191
181192
181193
181194
181195
181196
181197
181198
181199
181200
181201
181202
181203
181204
181205
181206
181207
181208
181209
181210
181211
181212
181213
181214
181215
181216
181217
181218
181219
181220
181221
181222
181223
181224
181225
181226
181227
181228
181229
181230
181231
181232
181233
181234
181235
181236
181237
181238
181239
181240
181241
181242
181243
181244
181245
181246
181247
181248
181249
181250
181251
181252
181253
181254
181255
181256
181257
181258
181259
181260
181261
181262
181263
181264
181265
181266
181267
181268
181269
181270
181271
181272
181273
181274
181275
181276
181277
181278
181279
181280
181281
181282
181283
181284
181285
181286
181287
181288
181289
181290
181291
181292
181293
181294
181295
181296
181297
181298
181299
181300
181301
181302
181303
181304
181305
181306
181307
181308
181309
181310
181311
181312
181313
181314
181315
181316
181317
181318
181319
181320
181321
181322
181323
181324
181325
181326
181327
181328
181329
181330
181331
181332
181333
181334
181335
181336
181337
181338
181339
181340
181341
181342
181343
181344
181345
181346
181347
181348
181349
181350
181351
181352
181353
181354
181355
181356
181357
181358
181359
181360
181361
181362
181363
181364
181365
181366
181367
181368
181369
181370
181371
181372
181373
181374
181375
181376
181377
181378
181379
181380
181381
181382
181383
181384
181385
181386
181387
181388
181389
181390
181391
181392
181393
181394
181395
181396
181397
181398
181399
181400
181401
181402
181403
181404
181405
181406
181407
181408
181409
181410
181411
181412
181413
181414
181415
181416
181417
181418
181419
181420
181421
181422
181423
181424
181425
181426
181427
181428
181429
181430
181431
181432
181433
181434
181435
181436
181437
181438
181439
181440
181441
181442
181443
181444
181445
181446
181447
181448
181449
181450
181451
181452
181453
181454
181455
181456
181457
181458
181459
181460
181461
181462
181463
181464
181465
181466
181467
181468
181469
181470
181471
181472
181473
181474
181475
181476
181477
181478
181479
181480
181481
181482
181483
181484
181485
181486
181487
181488
181489
181490
181491
181492
181493
181494
181495
181496
181497
181498
181499
181500
181501
181502
181503
181504
181505
181506
181507
181508
181509
181510
181511
181512
181513
181514
181515
181516
181517
181518
181519
181520
181521
181522
181523
181524
181525
181526
181527
181528
181529
181530
181531
181532
181533
181534
181535
181536
181537
181538
181539
181540
181541
181542
181543
181544
181545
181546
181547
181548
181549
181550
181551
181552
181553
181554
181555
181556
181557
181558
181559
181560
181561
181562
181563
181564
181565
181566
181567
181568
181569
181570
181571
181572
181573
181574
181575
181576
181577
181578
181579
181580
181581
181582
181583
181584
181585
181586
181587
181588
181589
181590
181591
181592
181593
181594
181595
181596
181597
181598
181599
181600
181601
181602
181603
181604
181605
181606
181607
181608
181609
181610
181611
181612
181613
181614
181615
181616
181617
181618
181619
181620
181621
181622
181623
181624
181625
181626
181627
181628
181629
181630
181631
181632
181633
181634
181635
181636
181637
181638
181639
181640
181641
181642
181643
181644
181645
181646
181647
181648
181649
181650
181651
181652
181653
181654
181655
181656
181657
181658
181659
181660
181661
181662
181663
181664
181665
181666
181667
181668
181669
181670
181671
181672
181673
181674
181675
181676
181677
181678
181679
181680
181681
181682
181683
181684
181685
181686
181687
181688
181689
181690
181691
181692
181693
181694
181695
181696
181697
181698
181699
181700
181701
181702
181703
181704
181705
181706
181707
181708
181709
181710
181711
181712
181713
181714
181715
181716
181717
181718
181719
181720
181721
181722
181723
181724
181725
181726
181727
181728
181729
181730
181731
181732
181733
181734
181735
181736
181737
181738
181739
181740
181741
181742
181743
181744
181745
181746
181747
181748
181749
181750
181751
181752
181753
181754
181755
181756
181757
181758
181759
181760
181761
181762
181763
181764
181765
181766
181767
181768
181769
181770
181771
181772
181773
181774
181775
181776
181777
181778
181779
181780
181781
181782
181783
181784
181785
181786
181787
181788
181789
181790
181791
181792
181793
181794
181795
181796
181797
181798
181799
181800
181801
181802
181803
181804
181805
181806
181807
181808
181809
181810
181811
181812
181813
181814
181815
181816
181817
181818
181819
181820
181821
181822
181823
181824
181825
181826
181827
181828
181829
181830
181831
181832
181833
181834
181835
181836
181837
181838
181839
181840
181841
181842
181843
181844
181845
181846
181847
181848
181849
181850
181851
181852
181853
181854
181855
181856
181857
181858
181859
181860
181861
181862
181863
181864
181865
181866
181867
181868
181869
181870
181871
181872
181873
181874
181875
181876
181877
181878
181879
181880
181881
181882
181883
181884
181885
181886
181887
181888
181889
181890
181891
181892
181893
181894
181895
181896
181897
181898
181899
181900
181901
181902
181903
181904
181905
181906
181907
181908
181909
181910
181911
181912
181913
181914
181915
181916
181917
181918
181919
181920
181921
181922
181923
181924
181925
181926
181927
181928
181929
181930
181931
181932
181933
181934
181935
181936
181937
181938
181939
181940
181941
181942
181943
181944
181945
181946
181947
181948
181949
181950
181951
181952
181953
181954
181955
181956
181957
181958
181959
181960
181961
181962
181963
181964
181965
181966
181967
181968
181969
181970
181971
181972
181973
181974
181975
181976
181977
181978
181979
181980
181981
181982
181983
181984
181985
181986
181987
181988
181989
181990
181991
181992
181993
181994
181995
181996
181997
181998
181999
182000
182001
182002
182003
182004
182005
182006
182007
182008
182009
182010
182011
182012
182013
182014
182015
182016
182017
182018
182019
182020
182021
182022
182023
182024
182025
182026
182027
182028
182029
182030
182031
182032
182033
182034
182035
182036
182037
182038
182039
182040
182041
182042
182043
182044
182045
182046
182047
182048
182049
182050
182051
182052
182053
182054
182055
182056
182057
182058
182059
182060
182061
182062
182063
182064
182065
182066
182067
182068
182069
182070
182071
182072
182073
182074
182075
182076
182077
182078
182079
182080
182081
182082
182083
182084
182085
182086
182087
182088
182089
182090
182091
182092
182093
182094
182095
182096
182097
182098
182099
182100
182101
182102
182103
182104
182105
182106
182107
182108
182109
182110
182111
182112
182113
182114
182115
182116
182117
182118
182119
182120
182121
182122
182123
182124
182125
182126
182127
182128
182129
182130
182131
182132
182133
182134
182135
182136
182137
182138
182139
182140
182141
182142
182143
182144
182145
182146
182147
182148
182149
182150
182151
182152
182153
182154
182155
182156
182157
182158
182159
182160
182161
182162
182163
182164
182165
182166
182167
182168
182169
182170
182171
182172
182173
182174
182175
182176
182177
182178
182179
182180
182181
182182
182183
182184
182185
182186
182187
182188
182189
182190
182191
182192
182193
182194
182195
182196
182197
182198
182199
182200
182201
182202
182203
182204
182205
182206
182207
182208
182209
182210
182211
182212
182213
182214
182215
182216
182217
182218
182219
182220
182221
182222
182223
182224
182225
182226
182227
182228
182229
182230
182231
182232
182233
182234
182235
182236
182237
182238
182239
182240
182241
182242
182243
182244
182245
182246
182247
182248
182249
182250
182251
182252
182253
182254
182255
182256
182257
182258
182259
182260
182261
182262
182263
182264
182265
182266
182267
182268
182269
182270
182271
182272
182273
182274
182275
182276
182277
182278
182279
182280
182281
182282
182283
182284
182285
182286
182287
182288
182289
182290
182291
182292
182293
182294
182295
182296
182297
182298
182299
182300
182301
182302
182303
182304
182305
182306
182307
182308
182309
182310
182311
182312
182313
182314
182315
182316
182317
182318
182319
182320
182321
182322
182323
182324
182325
182326
182327
182328
182329
182330
182331
182332
182333
182334
182335
182336
182337
182338
182339
182340
182341
182342
182343
182344
182345
182346
182347
182348
182349
182350
182351
182352
182353
182354
182355
182356
182357
182358
182359
182360
182361
182362
182363
182364
182365
182366
182367
182368
182369
182370
182371
182372
182373
182374
182375
182376
182377
182378
182379
182380
182381
182382
182383
182384
182385
182386
182387
182388
182389
182390
182391
182392
182393
182394
182395
182396
182397
182398
182399
182400
182401
182402
182403
182404
182405
182406
182407
182408
182409
182410
182411
182412
182413
182414
182415
182416
182417
182418
182419
182420
182421
182422
182423
182424
182425
182426
182427
182428
182429
182430
182431
182432
182433
182434
182435
182436
182437
182438
182439
182440
182441
182442
182443
182444
182445
182446
182447
182448
182449
182450
182451
182452
182453
182454
182455
182456
182457
182458
182459
182460
182461
182462
182463
182464
182465
182466
182467
182468
182469
182470
182471
182472
182473
182474
182475
182476
182477
182478
182479
182480
182481
182482
182483
182484
182485
182486
182487
182488
182489
182490
182491
182492
182493
182494
182495
182496
182497
182498
182499
182500
182501
182502
182503
182504
182505
182506
182507
182508
182509
182510
182511
182512
182513
182514
182515
182516
182517
182518
182519
182520
182521
182522
182523
182524
182525
182526
182527
182528
182529
182530
182531
182532
182533
182534
182535
182536
182537
182538
182539
182540
182541
182542
182543
182544
182545
182546
182547
182548
182549
182550
182551
182552
182553
182554
182555
182556
182557
182558
182559
182560
182561
182562
182563
182564
182565
182566
182567
182568
182569
182570
182571
182572
182573
182574
182575
182576
182577
182578
182579
182580
182581
182582
182583
182584
182585
182586
182587
182588
182589
182590
182591
182592
182593
182594
182595
182596
182597
182598
182599
182600
182601
182602
182603
182604
182605
182606
182607
182608
182609
182610
182611
182612
182613
182614
182615
182616
182617
182618
182619
182620
182621
182622
182623
182624
182625
182626
182627
182628
182629
182630
182631
182632
182633
182634
182635
182636
182637
182638
182639
182640
182641
182642
182643
182644
182645
182646
182647
182648
182649
182650
182651
182652
182653
182654
182655
182656
182657
182658
182659
182660
182661
182662
182663
182664
182665
182666
182667
182668
182669
182670
182671
182672
182673
182674
182675
182676
182677
182678
182679
182680
182681
182682
182683
182684
182685
182686
182687
182688
182689
182690
182691
182692
182693
182694
182695
182696
182697
182698
182699
182700
182701
182702
182703
182704
182705
182706
182707
182708
182709
182710
182711
182712
182713
182714
182715
182716
182717
182718
182719
182720
182721
182722
182723
182724
182725
182726
182727
182728
182729
182730
182731
182732
182733
182734
182735
182736
182737
182738
182739
182740
182741
182742
182743
182744
182745
182746
182747
182748
182749
182750
182751
182752
182753
182754
182755
182756
182757
182758
182759
182760
182761
182762
182763
182764
182765
182766
182767
182768
182769
182770
182771
182772
182773
182774
182775
182776
182777
182778
182779
182780
182781
182782
182783
182784
182785
182786
182787
182788
182789
182790
182791
182792
182793
182794
182795
182796
182797
182798
182799
182800
182801
182802
182803
182804
182805
182806
182807
182808
182809
182810
182811
182812
182813
182814
182815
182816
182817
182818
182819
182820
182821
182822
182823
182824
182825
182826
182827
182828
182829
182830
182831
182832
182833
182834
182835
182836
182837
182838
182839
182840
182841
182842
182843
182844
182845
182846
182847
182848
182849
182850
182851
182852
182853
182854
182855
182856
182857
182858
182859
182860
182861
182862
182863
182864
182865
182866
182867
182868
182869
182870
182871
182872
182873
182874
182875
182876
182877
182878
182879
182880
182881
182882
182883
182884
182885
182886
182887
182888
182889
182890
182891
182892
182893
182894
182895
182896
182897
182898
182899
182900
182901
182902
182903
182904
182905
182906
182907
182908
182909
182910
182911
182912
182913
182914
182915
182916
182917
182918
182919
182920
182921
182922
182923
182924
182925
182926
182927
182928
182929
182930
182931
182932
182933
182934
182935
182936
182937
182938
182939
182940
182941
182942
182943
182944
182945
182946
182947
182948
182949
182950
182951
182952
182953
182954
182955
182956
182957
182958
182959
182960
182961
182962
182963
182964
182965
182966
182967
182968
182969
182970
182971
182972
182973
182974
182975
182976
182977
182978
182979
182980
182981
182982
182983
182984
182985
182986
182987
182988
182989
182990
182991
182992
182993
182994
182995
182996
182997
182998
182999
183000
183001
183002
183003
183004
183005
183006
183007
183008
183009
183010
183011
183012
183013
183014
183015
183016
183017
183018
183019
183020
183021
183022
183023
183024
183025
183026
183027
183028
183029
183030
183031
183032
183033
183034
183035
183036
183037
183038
183039
183040
183041
183042
183043
183044
183045
183046
183047
183048
183049
183050
183051
183052
183053
183054
183055
183056
183057
183058
183059
183060
183061
183062
183063
183064
183065
183066
183067
183068
183069
183070
183071
183072
183073
183074
183075
183076
183077
183078
183079
183080
183081
183082
183083
183084
183085
183086
183087
183088
183089
183090
183091
183092
183093
183094
183095
183096
183097
183098
183099
183100
183101
183102
183103
183104
183105
183106
183107
183108
183109
183110
183111
183112
183113
183114
183115
183116
183117
183118
183119
183120
183121
183122
183123
183124
183125
183126
183127
183128
183129
183130
183131
183132
183133
183134
183135
183136
183137
183138
183139
183140
183141
183142
183143
183144
183145
183146
183147
183148
183149
183150
183151
183152
183153
183154
183155
183156
183157
183158
183159
183160
183161
183162
183163
183164
183165
183166
183167
183168
183169
183170
183171
183172
183173
183174
183175
183176
183177
183178
183179
183180
183181
183182
183183
183184
183185
183186
183187
183188
183189
183190
183191
183192
183193
183194
183195
183196
183197
183198
183199
183200
183201
183202
183203
183204
183205
183206
183207
183208
183209
183210
183211
183212
183213
183214
183215
183216
183217
183218
183219
183220
183221
183222
183223
183224
183225
183226
183227
183228
183229
183230
183231
183232
183233
183234
183235
183236
183237
183238
183239
183240
183241
183242
183243
183244
183245
183246
183247
183248
183249
183250
183251
183252
183253
183254
183255
183256
183257
183258
183259
183260
183261
183262
183263
183264
183265
183266
183267
183268
183269
183270
183271
183272
183273
183274
183275
183276
183277
183278
183279
183280
183281
183282
183283
183284
183285
183286
183287
183288
183289
183290
183291
183292
183293
183294
183295
183296
183297
183298
183299
183300
183301
183302
183303
183304
183305
183306
183307
183308
183309
183310
183311
183312
183313
183314
183315
183316
183317
183318
183319
183320
183321
183322
183323
183324
183325
183326
183327
183328
183329
183330
183331
183332
183333
183334
183335
183336
183337
183338
183339
183340
183341
183342
183343
183344
183345
183346
183347
183348
183349
183350
183351
183352
183353
183354
183355
183356
183357
183358
183359
183360
183361
183362
183363
183364
183365
183366
183367
183368
183369
183370
183371
183372
183373
183374
183375
183376
183377
183378
183379
183380
183381
183382
183383
183384
183385
183386
183387
183388
183389
183390
183391
183392
183393
183394
183395
183396
183397
183398
183399
183400
183401
183402
183403
183404
183405
183406
183407
183408
183409
183410
183411
183412
183413
183414
183415
183416
183417
183418
183419
183420
183421
183422
183423
183424
183425
183426
183427
183428
183429
183430
183431
183432
183433
183434
183435
183436
183437
183438
183439
183440
183441
183442
183443
183444
183445
183446
183447
183448
183449
183450
183451
183452
183453
183454
183455
183456
183457
183458
183459
183460
183461
183462
183463
183464
183465
183466
183467
183468
183469
183470
183471
183472
183473
183474
183475
183476
183477
183478
183479
183480
183481
183482
183483
183484
183485
183486
183487
183488
183489
183490
183491
183492
183493
183494
183495
183496
183497
183498
183499
183500
183501
183502
183503
183504
183505
183506
183507
183508
183509
183510
183511
183512
183513
183514
183515
183516
183517
183518
183519
183520
183521
183522
183523
183524
183525
183526
183527
183528
183529
183530
183531
183532
183533
183534
183535
183536
183537
183538
183539
183540
183541
183542
183543
183544
183545
183546
183547
183548
183549
183550
183551
183552
183553
183554
183555
183556
183557
183558
183559
183560
183561
183562
183563
183564
183565
183566
183567
183568
183569
183570
183571
183572
183573
183574
183575
183576
183577
183578
183579
183580
183581
183582
183583
183584
183585
183586
183587
183588
183589
183590
183591
183592
183593
183594
183595
183596
183597
183598
183599
183600
183601
183602
183603
183604
183605
183606
183607
183608
183609
183610
183611
183612
183613
183614
183615
183616
183617
183618
183619
183620
183621
183622
183623
183624
183625
183626
183627
183628
183629
183630
183631
183632
183633
183634
183635
183636
183637
183638
183639
183640
183641
183642
183643
183644
183645
183646
183647
183648
183649
183650
183651
183652
183653
183654
183655
183656
183657
183658
183659
183660
183661
183662
183663
183664
183665
183666
183667
183668
183669
183670
183671
183672
183673
183674
183675
183676
183677
183678
183679
183680
183681
183682
183683
183684
183685
183686
183687
183688
183689
183690
183691
183692
183693
183694
183695
183696
183697
183698
183699
183700
183701
183702
183703
183704
183705
183706
183707
183708
183709
183710
183711
183712
183713
183714
183715
183716
183717
183718
183719
183720
183721
183722
183723
183724
183725
183726
183727
183728
183729
183730
183731
183732
183733
183734
183735
183736
183737
183738
183739
183740
183741
183742
183743
183744
183745
183746
183747
183748
183749
183750
183751
183752
183753
183754
183755
183756
183757
183758
183759
183760
183761
183762
183763
183764
183765
183766
183767
183768
183769
183770
183771
183772
183773
183774
183775
183776
183777
183778
183779
183780
183781
183782
183783
183784
183785
183786
183787
183788
183789
183790
183791
183792
183793
183794
183795
183796
183797
183798
183799
183800
183801
183802
183803
183804
183805
183806
183807
183808
183809
183810
183811
183812
183813
183814
183815
183816
183817
183818
183819
183820
183821
183822
183823
183824
183825
183826
183827
183828
183829
183830
183831
183832
183833
183834
183835
183836
183837
183838
183839
183840
183841
183842
183843
183844
183845
183846
183847
183848
183849
183850
183851
183852
183853
183854
183855
183856
183857
183858
183859
183860
183861
183862
183863
183864
183865
183866
183867
183868
183869
183870
183871
183872
183873
183874
183875
183876
183877
183878
183879
183880
183881
183882
183883
183884
183885
183886
183887
183888
183889
183890
183891
183892
183893
183894
183895
183896
183897
183898
183899
183900
183901
183902
183903
183904
183905
183906
183907
183908
183909
183910
183911
183912
183913
183914
183915
183916
183917
183918
183919
183920
183921
183922
183923
183924
183925
183926
183927
183928
183929
183930
183931
183932
183933
183934
183935
183936
183937
183938
183939
183940
183941
183942
183943
183944
183945
183946
183947
183948
183949
183950
183951
183952
183953
183954
183955
183956
183957
183958
183959
183960
183961
183962
183963
183964
183965
183966
183967
183968
183969
183970
183971
183972
183973
183974
183975
183976
183977
183978
183979
183980
183981
183982
183983
183984
183985
183986
183987
183988
183989
183990
183991
183992
183993
183994
183995
183996
183997
183998
183999
184000
184001
184002
184003
184004
184005
184006
184007
184008
184009
184010
184011
184012
184013
184014
184015
184016
184017
184018
184019
184020
184021
184022
184023
184024
184025
184026
184027
184028
184029
184030
184031
184032
184033
184034
184035
184036
184037
184038
184039
184040
184041
184042
184043
184044
184045
184046
184047
184048
184049
184050
184051
184052
184053
184054
184055
184056
184057
184058
184059
184060
184061
184062
184063
184064
184065
184066
184067
184068
184069
184070
184071
184072
184073
184074
184075
184076
184077
184078
184079
184080
184081
184082
184083
184084
184085
184086
184087
184088
184089
184090
184091
184092
184093
184094
184095
184096
184097
184098
184099
184100
184101
184102
184103
184104
184105
184106
184107
184108
184109
184110
184111
184112
184113
184114
184115
184116
184117
184118
184119
184120
184121
184122
184123
184124
184125
184126
184127
184128
184129
184130
184131
184132
184133
184134
184135
184136
184137
184138
184139
184140
184141
184142
184143
184144
184145
184146
184147
184148
184149
184150
184151
184152
184153
184154
184155
184156
184157
184158
184159
184160
184161
184162
184163
184164
184165
184166
184167
184168
184169
184170
184171
184172
184173
184174
184175
184176
184177
184178
184179
184180
184181
184182
184183
184184
184185
184186
184187
184188
184189
184190
184191
184192
184193
184194
184195
184196
184197
184198
184199
184200
184201
184202
184203
184204
184205
184206
184207
184208
184209
184210
184211
184212
184213
184214
184215
184216
184217
184218
184219
184220
184221
184222
184223
184224
184225
184226
184227
184228
184229
184230
184231
184232
184233
184234
184235
184236
184237
184238
184239
184240
184241
184242
184243
184244
184245
184246
184247
184248
184249
184250
184251
184252
184253
184254
184255
184256
184257
184258
184259
184260
184261
184262
184263
184264
184265
184266
184267
184268
184269
184270
184271
184272
184273
184274
184275
184276
184277
184278
184279
184280
184281
184282
184283
184284
184285
184286
184287
184288
184289
184290
184291
184292
184293
184294
184295
184296
184297
184298
184299
184300
184301
184302
184303
184304
184305
184306
184307
184308
184309
184310
184311
184312
184313
184314
184315
184316
184317
184318
184319
184320
184321
184322
184323
184324
184325
184326
184327
184328
184329
184330
184331
184332
184333
184334
184335
184336
184337
184338
184339
184340
184341
184342
184343
184344
184345
184346
184347
184348
184349
184350
184351
184352
184353
184354
184355
184356
184357
184358
184359
184360
184361
184362
184363
184364
184365
184366
184367
184368
184369
184370
184371
184372
184373
184374
184375
184376
184377
184378
184379
184380
184381
184382
184383
184384
184385
184386
184387
184388
184389
184390
184391
184392
184393
184394
184395
184396
184397
184398
184399
184400
184401
184402
184403
184404
184405
184406
184407
184408
184409
184410
184411
184412
184413
184414
184415
184416
184417
184418
184419
184420
184421
184422
184423
184424
184425
184426
184427
184428
184429
184430
184431
184432
184433
184434
184435
184436
184437
184438
184439
184440
184441
184442
184443
184444
184445
184446
184447
184448
184449
184450
184451
184452
184453
184454
184455
184456
184457
184458
184459
184460
184461
184462
184463
184464
184465
184466
184467
184468
184469
184470
184471
184472
184473
184474
184475
184476
184477
184478
184479
184480
184481
184482
184483
184484
184485
184486
184487
184488
184489
184490
184491
184492
184493
184494
184495
184496
184497
184498
184499
184500
184501
184502
184503
184504
184505
184506
184507
184508
184509
184510
184511
184512
184513
184514
184515
184516
184517
184518
184519
184520
184521
184522
184523
184524
184525
184526
184527
184528
184529
184530
184531
184532
184533
184534
184535
184536
184537
184538
184539
184540
184541
184542
184543
184544
184545
184546
184547
184548
184549
184550
184551
184552
184553
184554
184555
184556
184557
184558
184559
184560
184561
184562
184563
184564
184565
184566
184567
184568
184569
184570
184571
184572
184573
184574
184575
184576
184577
184578
184579
184580
184581
184582
184583
184584
184585
184586
184587
184588
184589
184590
184591
184592
184593
184594
184595
184596
184597
184598
184599
184600
184601
184602
184603
184604
184605
184606
184607
184608
184609
184610
184611
184612
184613
184614
184615
184616
184617
184618
184619
184620
184621
184622
184623
184624
184625
184626
184627
184628
184629
184630
184631
184632
184633
184634
184635
184636
184637
184638
184639
184640
184641
184642
184643
184644
184645
184646
184647
184648
184649
184650
184651
184652
184653
184654
184655
184656
184657
184658
184659
184660
184661
184662
184663
184664
184665
184666
184667
184668
184669
184670
184671
184672
184673
184674
184675
184676
184677
184678
184679
184680
184681
184682
184683
184684
184685
184686
184687
184688
184689
184690
184691
184692
184693
184694
184695
184696
184697
184698
184699
184700
184701
184702
184703
184704
184705
184706
184707
184708
184709
184710
184711
184712
184713
184714
184715
184716
184717
184718
184719
184720
184721
184722
184723
184724
184725
184726
184727
184728
184729
184730
184731
184732
184733
184734
184735
184736
184737
184738
184739
184740
184741
184742
184743
184744
184745
184746
184747
184748
184749
184750
184751
184752
184753
184754
184755
184756
184757
184758
184759
184760
184761
184762
184763
184764
184765
184766
184767
184768
184769
184770
184771
184772
184773
184774
184775
184776
184777
184778
184779
184780
184781
184782
184783
184784
184785
184786
184787
184788
184789
184790
184791
184792
184793
184794
184795
184796
184797
184798
184799
184800
184801
184802
184803
184804
184805
184806
184807
184808
184809
184810
184811
184812
184813
184814
184815
184816
184817
184818
184819
184820
184821
184822
184823
184824
184825
184826
184827
184828
184829
184830
184831
184832
184833
184834
184835
184836
184837
184838
184839
184840
184841
184842
184843
184844
184845
184846
184847
184848
184849
184850
184851
184852
184853
184854
184855
184856
184857
184858
184859
184860
184861
184862
184863
184864
184865
184866
184867
184868
184869
184870
184871
184872
184873
184874
184875
184876
184877
184878
184879
184880
184881
184882
184883
184884
184885
184886
184887
184888
184889
184890
184891
184892
184893
184894
184895
184896
184897
184898
184899
184900
184901
184902
184903
184904
184905
184906
184907
184908
184909
184910
184911
184912
184913
184914
184915
184916
184917
184918
184919
184920
184921
184922
184923
184924
184925
184926
184927
184928
184929
184930
184931
184932
184933
184934
184935
184936
184937
184938
184939
184940
184941
184942
184943
184944
184945
184946
184947
184948
184949
184950
184951
184952
184953
184954
184955
184956
184957
184958
184959
184960
184961
184962
184963
184964
184965
184966
184967
184968
184969
184970
184971
184972
184973
184974
184975
184976
184977
184978
184979
184980
184981
184982
184983
184984
184985
184986
184987
184988
184989
184990
184991
184992
184993
184994
184995
184996
184997
184998
184999
185000
185001
185002
185003
185004
185005
185006
185007
185008
185009
185010
185011
185012
185013
185014
185015
185016
185017
185018
185019
185020
185021
185022
185023
185024
185025
185026
185027
185028
185029
185030
185031
185032
185033
185034
185035
185036
185037
185038
185039
185040
185041
185042
185043
185044
185045
185046
185047
185048
185049
185050
185051
185052
185053
185054
185055
185056
185057
185058
185059
185060
185061
185062
185063
185064
185065
185066
185067
185068
185069
185070
185071
185072
185073
185074
185075
185076
185077
185078
185079
185080
185081
185082
185083
185084
185085
185086
185087
185088
185089
185090
185091
185092
185093
185094
185095
185096
185097
185098
185099
185100
185101
185102
185103
185104
185105
185106
185107
185108
185109
185110
185111
185112
185113
185114
185115
185116
185117
185118
185119
185120
185121
185122
185123
185124
185125
185126
185127
185128
185129
185130
185131
185132
185133
185134
185135
185136
185137
185138
185139
185140
185141
185142
185143
185144
185145
185146
185147
185148
185149
185150
185151
185152
185153
185154
185155
185156
185157
185158
185159
185160
185161
185162
185163
185164
185165
185166
185167
185168
185169
185170
185171
185172
185173
185174
185175
185176
185177
185178
185179
185180
185181
185182
185183
185184
185185
185186
185187
185188
185189
185190
185191
185192
185193
185194
185195
185196
185197
185198
185199
185200
185201
185202
185203
185204
185205
185206
185207
185208
185209
185210
185211
185212
185213
185214
185215
185216
185217
185218
185219
185220
185221
185222
185223
185224
185225
185226
185227
185228
185229
185230
185231
185232
185233
185234
185235
185236
185237
185238
185239
185240
185241
185242
185243
185244
185245
185246
185247
185248
185249
185250
185251
185252
185253
185254
185255
185256
185257
185258
185259
185260
185261
185262
185263
185264
185265
185266
185267
185268
185269
185270
185271
185272
185273
185274
185275
185276
185277
185278
185279
185280
185281
185282
185283
185284
185285
185286
185287
185288
185289
185290
185291
185292
185293
185294
185295
185296
185297
185298
185299
185300
185301
185302
185303
185304
185305
185306
185307
185308
185309
185310
185311
185312
185313
185314
185315
185316
185317
185318
185319
185320
185321
185322
185323
185324
185325
185326
185327
185328
185329
185330
185331
185332
185333
185334
185335
185336
185337
185338
185339
185340
185341
185342
185343
185344
185345
185346
185347
185348
185349
185350
185351
185352
185353
185354
185355
185356
185357
185358
185359
185360
185361
185362
185363
185364
185365
185366
185367
185368
185369
185370
185371
185372
185373
185374
185375
185376
185377
185378
185379
185380
185381
185382
185383
185384
185385
185386
185387
185388
185389
185390
185391
185392
185393
185394
185395
185396
185397
185398
185399
185400
185401
185402
185403
185404
185405
185406
185407
185408
185409
185410
185411
185412
185413
185414
185415
185416
185417
185418
185419
185420
185421
185422
185423
185424
185425
185426
185427
185428
185429
185430
185431
185432
185433
185434
185435
185436
185437
185438
185439
185440
185441
185442
185443
185444
185445
185446
185447
185448
185449
185450
185451
185452
185453
185454
185455
185456
185457
185458
185459
185460
185461
185462
185463
185464
185465
185466
185467
185468
185469
185470
185471
185472
185473
185474
185475
185476
185477
185478
185479
185480
185481
185482
185483
185484
185485
185486
185487
185488
185489
185490
185491
185492
185493
185494
185495
185496
185497
185498
185499
185500
185501
185502
185503
185504
185505
185506
185507
185508
185509
185510
185511
185512
185513
185514
185515
185516
185517
185518
185519
185520
185521
185522
185523
185524
185525
185526
185527
185528
185529
185530
185531
185532
185533
185534
185535
185536
185537
185538
185539
185540
185541
185542
185543
185544
185545
185546
185547
185548
185549
185550
185551
185552
185553
185554
185555
185556
185557
185558
185559
185560
185561
185562
185563
185564
185565
185566
185567
185568
185569
185570
185571
185572
185573
185574
185575
185576
185577
185578
185579
185580
185581
185582
185583
185584
185585
185586
185587
185588
185589
185590
185591
185592
185593
185594
185595
185596
185597
185598
185599
185600
185601
185602
185603
185604
185605
185606
185607
185608
185609
185610
185611
185612
185613
185614
185615
185616
185617
185618
185619
185620
185621
185622
185623
185624
185625
185626
185627
185628
185629
185630
185631
185632
185633
185634
185635
185636
185637
185638
185639
185640
185641
185642
185643
185644
185645
185646
185647
185648
185649
185650
185651
185652
185653
185654
185655
185656
185657
185658
185659
185660
185661
185662
185663
185664
185665
185666
185667
185668
185669
185670
185671
185672
185673
185674
185675
185676
185677
185678
185679
185680
185681
185682
185683
185684
185685
185686
185687
185688
185689
185690
185691
185692
185693
185694
185695
185696
185697
185698
185699
185700
185701
185702
185703
185704
185705
185706
185707
185708
185709
185710
185711
185712
185713
185714
185715
185716
185717
185718
185719
185720
185721
185722
185723
185724
185725
185726
185727
185728
185729
185730
185731
185732
185733
185734
185735
185736
185737
185738
185739
185740
185741
185742
185743
185744
185745
185746
185747
185748
185749
185750
185751
185752
185753
185754
185755
185756
185757
185758
185759
185760
185761
185762
185763
185764
185765
185766
185767
185768
185769
185770
185771
185772
185773
185774
185775
185776
185777
185778
185779
185780
185781
185782
185783
185784
185785
185786
185787
185788
185789
185790
185791
185792
185793
185794
185795
185796
185797
185798
185799
185800
185801
185802
185803
185804
185805
185806
185807
185808
185809
185810
185811
185812
185813
185814
185815
185816
185817
185818
185819
185820
185821
185822
185823
185824
185825
185826
185827
185828
185829
185830
185831
185832
185833
185834
185835
185836
185837
185838
185839
185840
185841
185842
185843
185844
185845
185846
185847
185848
185849
185850
185851
185852
185853
185854
185855
185856
185857
185858
185859
185860
185861
185862
185863
185864
185865
185866
185867
185868
185869
185870
185871
185872
185873
185874
185875
185876
185877
185878
185879
185880
185881
185882
185883
185884
185885
185886
185887
185888
185889
185890
185891
185892
185893
185894
185895
185896
185897
185898
185899
185900
185901
185902
185903
185904
185905
185906
185907
185908
185909
185910
185911
185912
185913
185914
185915
185916
185917
185918
185919
185920
185921
185922
185923
185924
185925
185926
185927
185928
185929
185930
185931
185932
185933
185934
185935
185936
185937
185938
185939
185940
185941
185942
185943
185944
185945
185946
185947
185948
185949
185950
185951
185952
185953
185954
185955
185956
185957
185958
185959
185960
185961
185962
185963
185964
185965
185966
185967
185968
185969
185970
185971
185972
185973
185974
185975
185976
185977
185978
185979
185980
185981
185982
185983
185984
185985
185986
185987
185988
185989
185990
185991
185992
185993
185994
185995
185996
185997
185998
185999
186000
186001
186002
186003
186004
186005
186006
186007
186008
186009
186010
186011
186012
186013
186014
186015
186016
186017
186018
186019
186020
186021
186022
186023
186024
186025
186026
186027
186028
186029
186030
186031
186032
186033
186034
186035
186036
186037
186038
186039
186040
186041
186042
186043
186044
186045
186046
186047
186048
186049
186050
186051
186052
186053
186054
186055
186056
186057
186058
186059
186060
186061
186062
186063
186064
186065
186066
186067
186068
186069
186070
186071
186072
186073
186074
186075
186076
186077
186078
186079
186080
186081
186082
186083
186084
186085
186086
186087
186088
186089
186090
186091
186092
186093
186094
186095
186096
186097
186098
186099
186100
186101
186102
186103
186104
186105
186106
186107
186108
186109
186110
186111
186112
186113
186114
186115
186116
186117
186118
186119
186120
186121
186122
186123
186124
186125
186126
186127
186128
186129
186130
186131
186132
186133
186134
186135
186136
186137
186138
186139
186140
186141
186142
186143
186144
186145
186146
186147
186148
186149
186150
186151
186152
186153
186154
186155
186156
186157
186158
186159
186160
186161
186162
186163
186164
186165
186166
186167
186168
186169
186170
186171
186172
186173
186174
186175
186176
186177
186178
186179
186180
186181
186182
186183
186184
186185
186186
186187
186188
186189
186190
186191
186192
186193
186194
186195
186196
186197
186198
186199
186200
186201
186202
186203
186204
186205
186206
186207
186208
186209
186210
186211
186212
186213
186214
186215
186216
186217
186218
186219
186220
186221
186222
186223
186224
186225
186226
186227
186228
186229
186230
186231
186232
186233
186234
186235
186236
186237
186238
186239
186240
186241
186242
186243
186244
186245
186246
186247
186248
186249
186250
186251
186252
186253
186254
186255
186256
186257
186258
186259
186260
186261
186262
186263
186264
186265
186266
186267
186268
186269
186270
186271
186272
186273
186274
186275
186276
186277
186278
186279
186280
186281
186282
186283
186284
186285
186286
186287
186288
186289
186290
186291
186292
186293
186294
186295
186296
186297
186298
186299
186300
186301
186302
186303
186304
186305
186306
186307
186308
186309
186310
186311
186312
186313
186314
186315
186316
186317
186318
186319
186320
186321
186322
186323
186324
186325
186326
186327
186328
186329
186330
186331
186332
186333
186334
186335
186336
186337
186338
186339
186340
186341
186342
186343
186344
186345
186346
186347
186348
186349
186350
186351
186352
186353
186354
186355
186356
186357
186358
186359
186360
186361
186362
186363
186364
186365
186366
186367
186368
186369
186370
186371
186372
186373
186374
186375
186376
186377
186378
186379
186380
186381
186382
186383
186384
186385
186386
186387
186388
186389
186390
186391
186392
186393
186394
186395
186396
186397
186398
186399
186400
186401
186402
186403
186404
186405
186406
186407
186408
186409
186410
186411
186412
186413
186414
186415
186416
186417
186418
186419
186420
186421
186422
186423
186424
186425
186426
186427
186428
186429
186430
186431
186432
186433
186434
186435
186436
186437
186438
186439
186440
186441
186442
186443
186444
186445
186446
186447
186448
186449
186450
186451
186452
186453
186454
186455
186456
186457
186458
186459
186460
186461
186462
186463
186464
186465
186466
186467
186468
186469
186470
186471
186472
186473
186474
186475
186476
186477
186478
186479
186480
186481
186482
186483
186484
186485
186486
186487
186488
186489
186490
186491
186492
186493
186494
186495
186496
186497
186498
186499
186500
186501
186502
186503
186504
186505
186506
186507
186508
186509
186510
186511
186512
186513
186514
186515
186516
186517
186518
186519
186520
186521
186522
186523
186524
186525
186526
186527
186528
186529
186530
186531
186532
186533
186534
186535
186536
186537
186538
186539
186540
186541
186542
186543
186544
186545
186546
186547
186548
186549
186550
186551
186552
186553
186554
186555
186556
186557
186558
186559
186560
186561
186562
186563
186564
186565
186566
186567
186568
186569
186570
186571
186572
186573
186574
186575
186576
186577
186578
186579
186580
186581
186582
186583
186584
186585
186586
186587
186588
186589
186590
186591
186592
186593
186594
186595
186596
186597
186598
186599
186600
186601
186602
186603
186604
186605
186606
186607
186608
186609
186610
186611
186612
186613
186614
186615
186616
186617
186618
186619
186620
186621
186622
186623
186624
186625
186626
186627
186628
186629
186630
186631
186632
186633
186634
186635
186636
186637
186638
186639
186640
186641
186642
186643
186644
186645
186646
186647
186648
186649
186650
186651
186652
186653
186654
186655
186656
186657
186658
186659
186660
186661
186662
186663
186664
186665
186666
186667
186668
186669
186670
186671
186672
186673
186674
186675
186676
186677
186678
186679
186680
186681
186682
186683
186684
186685
186686
186687
186688
186689
186690
186691
186692
186693
186694
186695
186696
186697
186698
186699
186700
186701
186702
186703
186704
186705
186706
186707
186708
186709
186710
186711
186712
186713
186714
186715
186716
186717
186718
186719
186720
186721
186722
186723
186724
186725
186726
186727
186728
186729
186730
186731
186732
186733
186734
186735
186736
186737
186738
186739
186740
186741
186742
186743
186744
186745
186746
186747
186748
186749
186750
186751
186752
186753
186754
186755
186756
186757
186758
186759
186760
186761
186762
186763
186764
186765
186766
186767
186768
186769
186770
186771
186772
186773
186774
186775
186776
186777
186778
186779
186780
186781
186782
186783
186784
186785
186786
186787
186788
186789
186790
186791
186792
186793
186794
186795
186796
186797
186798
186799
186800
186801
186802
186803
186804
186805
186806
186807
186808
186809
186810
186811
186812
186813
186814
186815
186816
186817
186818
186819
186820
186821
186822
186823
186824
186825
186826
186827
186828
186829
186830
186831
186832
186833
186834
186835
186836
186837
186838
186839
186840
186841
186842
186843
186844
186845
186846
186847
186848
186849
186850
186851
186852
186853
186854
186855
186856
186857
186858
186859
186860
186861
186862
186863
186864
186865
186866
186867
186868
186869
186870
186871
186872
186873
186874
186875
186876
186877
186878
186879
186880
186881
186882
186883
186884
186885
186886
186887
186888
186889
186890
186891
186892
186893
186894
186895
186896
186897
186898
186899
186900
186901
186902
186903
186904
186905
186906
186907
186908
186909
186910
186911
186912
186913
186914
186915
186916
186917
186918
186919
186920
186921
186922
186923
186924
186925
186926
186927
186928
186929
186930
186931
186932
186933
186934
186935
186936
186937
186938
186939
186940
186941
186942
186943
186944
186945
186946
186947
186948
186949
186950
186951
186952
186953
186954
186955
186956
186957
186958
186959
186960
186961
186962
186963
186964
186965
186966
186967
186968
186969
186970
186971
186972
186973
186974
186975
186976
186977
186978
186979
186980
186981
186982
186983
186984
186985
186986
186987
186988
186989
186990
186991
186992
186993
186994
186995
186996
186997
186998
186999
187000
187001
187002
187003
187004
187005
187006
187007
187008
187009
187010
187011
187012
187013
187014
187015
187016
187017
187018
187019
187020
187021
187022
187023
187024
187025
187026
187027
187028
187029
187030
187031
187032
187033
187034
187035
187036
187037
187038
187039
187040
187041
187042
187043
187044
187045
187046
187047
187048
187049
187050
187051
187052
187053
187054
187055
187056
187057
187058
187059
187060
187061
187062
187063
187064
187065
187066
187067
187068
187069
187070
187071
187072
187073
187074
187075
187076
187077
187078
187079
187080
187081
187082
187083
187084
187085
187086
187087
187088
187089
187090
187091
187092
187093
187094
187095
187096
187097
187098
187099
187100
187101
187102
187103
187104
187105
187106
187107
187108
187109
187110
187111
187112
187113
187114
187115
187116
187117
187118
187119
187120
187121
187122
187123
187124
187125
187126
187127
187128
187129
187130
187131
187132
187133
187134
187135
187136
187137
187138
187139
187140
187141
187142
187143
187144
187145
187146
187147
187148
187149
187150
187151
187152
187153
187154
187155
187156
187157
187158
187159
187160
187161
187162
187163
187164
187165
187166
187167
187168
187169
187170
187171
187172
187173
187174
187175
187176
187177
187178
187179
187180
187181
187182
187183
187184
187185
187186
187187
187188
187189
187190
187191
187192
187193
187194
187195
187196
187197
187198
187199
187200
187201
187202
187203
187204
187205
187206
187207
187208
187209
187210
187211
187212
187213
187214
187215
187216
187217
187218
187219
187220
187221
187222
187223
187224
187225
187226
187227
187228
187229
187230
187231
187232
187233
187234
187235
187236
187237
187238
187239
187240
187241
187242
187243
187244
187245
187246
187247
187248
187249
187250
187251
187252
187253
187254
187255
187256
187257
187258
187259
187260
187261
187262
187263
187264
187265
187266
187267
187268
187269
187270
187271
187272
187273
187274
187275
187276
187277
187278
187279
187280
187281
187282
187283
187284
187285
187286
187287
187288
187289
187290
187291
187292
187293
187294
187295
187296
187297
187298
187299
187300
187301
187302
187303
187304
187305
187306
187307
187308
187309
187310
187311
187312
187313
187314
187315
187316
187317
187318
187319
187320
187321
187322
187323
187324
187325
187326
187327
187328
187329
187330
187331
187332
187333
187334
187335
187336
187337
187338
187339
187340
187341
187342
187343
187344
187345
187346
187347
187348
187349
187350
187351
187352
187353
187354
187355
187356
187357
187358
187359
187360
187361
187362
187363
187364
187365
187366
187367
187368
187369
187370
187371
187372
187373
187374
187375
187376
187377
187378
187379
187380
187381
187382
187383
187384
187385
187386
187387
187388
187389
187390
187391
187392
187393
187394
187395
187396
187397
187398
187399
187400
187401
187402
187403
187404
187405
187406
187407
187408
187409
187410
187411
187412
187413
187414
187415
187416
187417
187418
187419
187420
187421
187422
187423
187424
187425
187426
187427
187428
187429
187430
187431
187432
187433
187434
187435
187436
187437
187438
187439
187440
187441
187442
187443
187444
187445
187446
187447
187448
187449
187450
187451
187452
187453
187454
187455
187456
187457
187458
187459
187460
187461
187462
187463
187464
187465
187466
187467
187468
187469
187470
187471
187472
187473
187474
187475
187476
187477
187478
187479
187480
187481
187482
187483
187484
187485
187486
187487
187488
187489
187490
187491
187492
187493
187494
187495
187496
187497
187498
187499
187500
187501
187502
187503
187504
187505
187506
187507
187508
187509
187510
187511
187512
187513
187514
187515
187516
187517
187518
187519
187520
187521
187522
187523
187524
187525
187526
187527
187528
187529
187530
187531
187532
187533
187534
187535
187536
187537
187538
187539
187540
187541
187542
187543
187544
187545
187546
187547
187548
187549
187550
187551
187552
187553
187554
187555
187556
187557
187558
187559
187560
187561
187562
187563
187564
187565
187566
187567
187568
187569
187570
187571
187572
187573
187574
187575
187576
187577
187578
187579
187580
187581
187582
187583
187584
187585
187586
187587
187588
187589
187590
187591
187592
187593
187594
187595
187596
187597
187598
187599
187600
187601
187602
187603
187604
187605
187606
187607
187608
187609
187610
187611
187612
187613
187614
187615
187616
187617
187618
187619
187620
187621
187622
187623
187624
187625
187626
187627
187628
187629
187630
187631
187632
187633
187634
187635
187636
187637
187638
187639
187640
187641
187642
187643
187644
187645
187646
187647
187648
187649
187650
187651
187652
187653
187654
187655
187656
187657
187658
187659
187660
187661
187662
187663
187664
187665
187666
187667
187668
187669
187670
187671
187672
187673
187674
187675
187676
187677
187678
187679
187680
187681
187682
187683
187684
187685
187686
187687
187688
187689
187690
187691
187692
187693
187694
187695
187696
187697
187698
187699
187700
187701
187702
187703
187704
187705
187706
187707
187708
187709
187710
187711
187712
187713
187714
187715
187716
187717
187718
187719
187720
187721
187722
187723
187724
187725
187726
187727
187728
187729
187730
187731
187732
187733
187734
187735
187736
187737
187738
187739
187740
187741
187742
187743
187744
187745
187746
187747
187748
187749
187750
187751
187752
187753
187754
187755
187756
187757
187758
187759
187760
187761
187762
187763
187764
187765
187766
187767
187768
187769
187770
187771
187772
187773
187774
187775
187776
187777
187778
187779
187780
187781
187782
187783
187784
187785
187786
187787
187788
187789
187790
187791
187792
187793
187794
187795
187796
187797
187798
187799
187800
187801
187802
187803
187804
187805
187806
187807
187808
187809
187810
187811
187812
187813
187814
187815
187816
187817
187818
187819
187820
187821
187822
187823
187824
187825
187826
187827
187828
187829
187830
187831
187832
187833
187834
187835
187836
187837
187838
187839
187840
187841
187842
187843
187844
187845
187846
187847
187848
187849
187850
187851
187852
187853
187854
187855
187856
187857
187858
187859
187860
187861
187862
187863
187864
187865
187866
187867
187868
187869
187870
187871
187872
187873
187874
187875
187876
187877
187878
187879
187880
187881
187882
187883
187884
187885
187886
187887
187888
187889
187890
187891
187892
187893
187894
187895
187896
187897
187898
187899
187900
187901
187902
187903
187904
187905
187906
187907
187908
187909
187910
187911
187912
187913
187914
187915
187916
187917
187918
187919
187920
187921
187922
187923
187924
187925
187926
187927
187928
187929
187930
187931
187932
187933
187934
187935
187936
187937
187938
187939
187940
187941
187942
187943
187944
187945
187946
187947
187948
187949
187950
187951
187952
187953
187954
187955
187956
187957
187958
187959
187960
187961
187962
187963
187964
187965
187966
187967
187968
187969
187970
187971
187972
187973
187974
187975
187976
187977
187978
187979
187980
187981
187982
187983
187984
187985
187986
187987
187988
187989
187990
187991
187992
187993
187994
187995
187996
187997
187998
187999
188000
188001
188002
188003
188004
188005
188006
188007
188008
188009
188010
188011
188012
188013
188014
188015
188016
188017
188018
188019
188020
188021
188022
188023
188024
188025
188026
188027
188028
188029
188030
188031
188032
188033
188034
188035
188036
188037
188038
188039
188040
188041
188042
188043
188044
188045
188046
188047
188048
188049
188050
188051
188052
188053
188054
188055
188056
188057
188058
188059
188060
188061
188062
188063
188064
188065
188066
188067
188068
188069
188070
188071
188072
188073
188074
188075
188076
188077
188078
188079
188080
188081
188082
188083
188084
188085
188086
188087
188088
188089
188090
188091
188092
188093
188094
188095
188096
188097
188098
188099
188100
188101
188102
188103
188104
188105
188106
188107
188108
188109
188110
188111
188112
188113
188114
188115
188116
188117
188118
188119
188120
188121
188122
188123
188124
188125
188126
188127
188128
188129
188130
188131
188132
188133
188134
188135
188136
188137
188138
188139
188140
188141
188142
188143
188144
188145
188146
188147
188148
188149
188150
188151
188152
188153
188154
188155
188156
188157
188158
188159
188160
188161
188162
188163
188164
188165
188166
188167
188168
188169
188170
188171
188172
188173
188174
188175
188176
188177
188178
188179
188180
188181
188182
188183
188184
188185
188186
188187
188188
188189
188190
188191
188192
188193
188194
188195
188196
188197
188198
188199
188200
188201
188202
188203
188204
188205
188206
188207
188208
188209
188210
188211
188212
188213
188214
188215
188216
188217
188218
188219
188220
188221
188222
188223
188224
188225
188226
188227
188228
188229
188230
188231
188232
188233
188234
188235
188236
188237
188238
188239
188240
188241
188242
188243
188244
188245
188246
188247
188248
188249
188250
188251
188252
188253
188254
188255
188256
188257
188258
188259
188260
188261
188262
188263
188264
188265
188266
188267
188268
188269
188270
188271
188272
188273
188274
188275
188276
188277
188278
188279
188280
188281
188282
188283
188284
188285
188286
188287
188288
188289
188290
188291
188292
188293
188294
188295
188296
188297
188298
188299
188300
188301
188302
188303
188304
188305
188306
188307
188308
188309
188310
188311
188312
188313
188314
188315
188316
188317
188318
188319
188320
188321
188322
188323
188324
188325
188326
188327
188328
188329
188330
188331
188332
188333
188334
188335
188336
188337
188338
188339
188340
188341
188342
188343
188344
188345
188346
188347
188348
188349
188350
188351
188352
188353
188354
188355
188356
188357
188358
188359
188360
188361
188362
188363
188364
188365
188366
188367
188368
188369
188370
188371
188372
188373
188374
188375
188376
188377
188378
188379
188380
188381
188382
188383
188384
188385
188386
188387
188388
188389
188390
188391
188392
188393
188394
188395
188396
188397
188398
188399
188400
188401
188402
188403
188404
188405
188406
188407
188408
188409
188410
188411
188412
188413
188414
188415
188416
188417
188418
188419
188420
188421
188422
188423
188424
188425
188426
188427
188428
188429
188430
188431
188432
188433
188434
188435
188436
188437
188438
188439
188440
188441
188442
188443
188444
188445
188446
188447
188448
188449
188450
188451
188452
188453
188454
188455
188456
188457
188458
188459
188460
188461
188462
188463
188464
188465
188466
188467
188468
188469
188470
188471
188472
188473
188474
188475
188476
188477
188478
188479
188480
188481
188482
188483
188484
188485
188486
188487
188488
188489
188490
188491
188492
188493
188494
188495
188496
188497
188498
188499
188500
188501
188502
188503
188504
188505
188506
188507
188508
188509
188510
188511
188512
188513
188514
188515
188516
188517
188518
188519
188520
188521
188522
188523
188524
188525
188526
188527
188528
188529
188530
188531
188532
188533
188534
188535
188536
188537
188538
188539
188540
188541
188542
188543
188544
188545
188546
188547
188548
188549
188550
188551
188552
188553
188554
188555
188556
188557
188558
188559
188560
188561
188562
188563
188564
188565
188566
188567
188568
188569
188570
188571
188572
188573
188574
188575
188576
188577
188578
188579
188580
188581
188582
188583
188584
188585
188586
188587
188588
188589
188590
188591
188592
188593
188594
188595
188596
188597
188598
188599
188600
188601
188602
188603
188604
188605
188606
188607
188608
188609
188610
188611
188612
188613
188614
188615
188616
188617
188618
188619
188620
188621
188622
188623
188624
188625
188626
188627
188628
188629
188630
188631
188632
188633
188634
188635
188636
188637
188638
188639
188640
188641
188642
188643
188644
188645
188646
188647
188648
188649
188650
188651
188652
188653
188654
188655
188656
188657
188658
188659
188660
188661
188662
188663
188664
188665
188666
188667
188668
188669
188670
188671
188672
188673
188674
188675
188676
188677
188678
188679
188680
188681
188682
188683
188684
188685
188686
188687
188688
188689
188690
188691
188692
188693
188694
188695
188696
188697
188698
188699
188700
188701
188702
188703
188704
188705
188706
188707
188708
188709
188710
188711
188712
188713
188714
188715
188716
188717
188718
188719
188720
188721
188722
188723
188724
188725
188726
188727
188728
188729
188730
188731
188732
188733
188734
188735
188736
188737
188738
188739
188740
188741
188742
188743
188744
188745
188746
188747
188748
188749
188750
188751
188752
188753
188754
188755
188756
188757
188758
188759
188760
188761
188762
188763
188764
188765
188766
188767
188768
188769
188770
188771
188772
188773
188774
188775
188776
188777
188778
188779
188780
188781
188782
188783
188784
188785
188786
188787
188788
188789
188790
188791
188792
188793
188794
188795
188796
188797
188798
188799
188800
188801
188802
188803
188804
188805
188806
188807
188808
188809
188810
188811
188812
188813
188814
188815
188816
188817
188818
188819
188820
188821
188822
188823
188824
188825
188826
188827
188828
188829
188830
188831
188832
188833
188834
188835
188836
188837
188838
188839
188840
188841
188842
188843
188844
188845
188846
188847
188848
188849
188850
188851
188852
188853
188854
188855
188856
188857
188858
188859
188860
188861
188862
188863
188864
188865
188866
188867
188868
188869
188870
188871
188872
188873
188874
188875
188876
188877
188878
188879
188880
188881
188882
188883
188884
188885
188886
188887
188888
188889
188890
188891
188892
188893
188894
188895
188896
188897
188898
188899
188900
188901
188902
188903
188904
188905
188906
188907
188908
188909
188910
188911
188912
188913
188914
188915
188916
188917
188918
188919
188920
188921
188922
188923
188924
188925
188926
188927
188928
188929
188930
188931
188932
188933
188934
188935
188936
188937
188938
188939
188940
188941
188942
188943
188944
188945
188946
188947
188948
188949
188950
188951
188952
188953
188954
188955
188956
188957
188958
188959
188960
188961
188962
188963
188964
188965
188966
188967
188968
188969
188970
188971
188972
188973
188974
188975
188976
188977
188978
188979
188980
188981
188982
188983
188984
188985
188986
188987
188988
188989
188990
188991
188992
188993
188994
188995
188996
188997
188998
188999
189000
189001
189002
189003
189004
189005
189006
189007
189008
189009
189010
189011
189012
189013
189014
189015
189016
189017
189018
189019
189020
189021
189022
189023
189024
189025
189026
189027
189028
189029
189030
189031
189032
189033
189034
189035
189036
189037
189038
189039
189040
189041
189042
189043
189044
189045
189046
189047
189048
189049
189050
189051
189052
189053
189054
189055
189056
189057
189058
189059
189060
189061
189062
189063
189064
189065
189066
189067
189068
189069
189070
189071
189072
189073
189074
189075
189076
189077
189078
189079
189080
189081
189082
189083
189084
189085
189086
189087
189088
189089
189090
189091
189092
189093
189094
189095
189096
189097
189098
189099
189100
189101
189102
189103
189104
189105
189106
189107
189108
189109
189110
189111
189112
189113
189114
189115
189116
189117
189118
189119
189120
189121
189122
189123
189124
189125
189126
189127
189128
189129
189130
189131
189132
189133
189134
189135
189136
189137
189138
189139
189140
189141
189142
189143
189144
189145
189146
189147
189148
189149
189150
189151
189152
189153
189154
189155
189156
189157
189158
189159
189160
189161
189162
189163
189164
189165
189166
189167
189168
189169
189170
189171
189172
189173
189174
189175
189176
189177
189178
189179
189180
189181
189182
189183
189184
189185
189186
189187
189188
189189
189190
189191
189192
189193
189194
189195
189196
189197
189198
189199
189200
189201
189202
189203
189204
189205
189206
189207
189208
189209
189210
189211
189212
189213
189214
189215
189216
189217
189218
189219
189220
189221
189222
189223
189224
189225
189226
189227
189228
189229
189230
189231
189232
189233
189234
189235
189236
189237
189238
189239
189240
189241
189242
189243
189244
189245
189246
189247
189248
189249
189250
189251
189252
189253
189254
189255
189256
189257
189258
189259
189260
189261
189262
189263
189264
189265
189266
189267
189268
189269
189270
189271
189272
189273
189274
189275
189276
189277
189278
189279
189280
189281
189282
189283
189284
189285
189286
189287
189288
189289
189290
189291
189292
189293
189294
189295
189296
189297
189298
189299
189300
189301
189302
189303
189304
189305
189306
189307
189308
189309
189310
189311
189312
189313
189314
189315
189316
189317
189318
189319
189320
189321
189322
189323
189324
189325
189326
189327
189328
189329
189330
189331
189332
189333
189334
189335
189336
189337
189338
189339
189340
189341
189342
189343
189344
189345
189346
189347
189348
189349
189350
189351
189352
189353
189354
189355
189356
189357
189358
189359
189360
189361
189362
189363
189364
189365
189366
189367
189368
189369
189370
189371
189372
189373
189374
189375
189376
189377
189378
189379
189380
189381
189382
189383
189384
189385
189386
189387
189388
189389
189390
189391
189392
189393
189394
189395
189396
189397
189398
189399
189400
189401
189402
189403
189404
189405
189406
189407
189408
189409
189410
189411
189412
189413
189414
189415
189416
189417
189418
189419
189420
189421
189422
189423
189424
189425
189426
189427
189428
189429
189430
189431
189432
189433
189434
189435
189436
189437
189438
189439
189440
189441
189442
189443
189444
189445
189446
189447
189448
189449
189450
189451
189452
189453
189454
189455
189456
189457
189458
189459
189460
189461
189462
189463
189464
189465
189466
189467
189468
189469
189470
189471
189472
189473
189474
189475
189476
189477
189478
189479
189480
189481
189482
189483
189484
189485
189486
189487
189488
189489
189490
189491
189492
189493
189494
189495
189496
189497
189498
189499
189500
189501
189502
189503
189504
189505
189506
189507
189508
189509
189510
189511
189512
189513
189514
189515
189516
189517
189518
189519
189520
189521
189522
189523
189524
189525
189526
189527
189528
189529
189530
189531
189532
189533
189534
189535
189536
189537
189538
189539
189540
189541
189542
189543
189544
189545
189546
189547
189548
189549
189550
189551
189552
189553
189554
189555
189556
189557
189558
189559
189560
189561
189562
189563
189564
189565
189566
189567
189568
189569
189570
189571
189572
189573
189574
189575
189576
189577
189578
189579
189580
189581
189582
189583
189584
189585
189586
189587
189588
189589
189590
189591
189592
189593
189594
189595
189596
189597
189598
189599
189600
189601
189602
189603
189604
189605
189606
189607
189608
189609
189610
189611
189612
189613
189614
189615
189616
189617
189618
189619
189620
189621
189622
189623
189624
189625
189626
189627
189628
189629
189630
189631
189632
189633
189634
189635
189636
189637
189638
189639
189640
189641
189642
189643
189644
189645
189646
189647
189648
189649
189650
189651
189652
189653
189654
189655
189656
189657
189658
189659
189660
189661
189662
189663
189664
189665
189666
189667
189668
189669
189670
189671
189672
189673
189674
189675
189676
189677
189678
189679
189680
189681
189682
189683
189684
189685
189686
189687
189688
189689
189690
189691
189692
189693
189694
189695
189696
189697
189698
189699
189700
189701
189702
189703
189704
189705
189706
189707
189708
189709
189710
189711
189712
189713
189714
189715
189716
189717
189718
189719
189720
189721
189722
189723
189724
189725
189726
189727
189728
189729
189730
189731
189732
189733
189734
189735
189736
189737
189738
189739
189740
189741
189742
189743
189744
189745
189746
189747
189748
189749
189750
189751
189752
189753
189754
189755
189756
189757
189758
189759
189760
189761
189762
189763
189764
189765
189766
189767
189768
189769
189770
189771
189772
189773
189774
189775
189776
189777
189778
189779
189780
189781
189782
189783
189784
189785
189786
189787
189788
189789
189790
189791
189792
189793
189794
189795
189796
189797
189798
189799
189800
189801
189802
189803
189804
189805
189806
189807
189808
189809
189810
189811
189812
189813
189814
189815
189816
189817
189818
189819
189820
189821
189822
189823
189824
189825
189826
189827
189828
189829
189830
189831
189832
189833
189834
189835
189836
189837
189838
189839
189840
189841
189842
189843
189844
189845
189846
189847
189848
189849
189850
189851
189852
189853
189854
189855
189856
189857
189858
189859
189860
189861
189862
189863
189864
189865
189866
189867
189868
189869
189870
189871
189872
189873
189874
189875
189876
189877
189878
189879
189880
189881
189882
189883
189884
189885
189886
189887
189888
189889
189890
189891
189892
189893
189894
189895
189896
189897
189898
189899
189900
189901
189902
189903
189904
189905
189906
189907
189908
189909
189910
189911
189912
189913
189914
189915
189916
189917
189918
189919
189920
189921
189922
189923
189924
189925
189926
189927
189928
189929
189930
189931
189932
189933
189934
189935
189936
189937
189938
189939
189940
189941
189942
189943
189944
189945
189946
189947
189948
189949
189950
189951
189952
189953
189954
189955
189956
189957
189958
189959
189960
189961
189962
189963
189964
189965
189966
189967
189968
189969
189970
189971
189972
189973
189974
189975
189976
189977
189978
189979
189980
189981
189982
189983
189984
189985
189986
189987
189988
189989
189990
189991
189992
189993
189994
189995
189996
189997
189998
189999
190000
190001
190002
190003
190004
190005
190006
190007
190008
190009
190010
190011
190012
190013
190014
190015
190016
190017
190018
190019
190020
190021
190022
190023
190024
190025
190026
190027
190028
190029
190030
190031
190032
190033
190034
190035
190036
190037
190038
190039
190040
190041
190042
190043
190044
190045
190046
190047
190048
190049
190050
190051
190052
190053
190054
190055
190056
190057
190058
190059
190060
190061
190062
190063
190064
190065
190066
190067
190068
190069
190070
190071
190072
190073
190074
190075
190076
190077
190078
190079
190080
190081
190082
190083
190084
190085
190086
190087
190088
190089
190090
190091
190092
190093
190094
190095
190096
190097
190098
190099
190100
190101
190102
190103
190104
190105
190106
190107
190108
190109
190110
190111
190112
190113
190114
190115
190116
190117
190118
190119
190120
190121
190122
190123
190124
190125
190126
190127
190128
190129
190130
190131
190132
190133
190134
190135
190136
190137
190138
190139
190140
190141
190142
190143
190144
190145
190146
190147
190148
190149
190150
190151
190152
190153
190154
190155
190156
190157
190158
190159
190160
190161
190162
190163
190164
190165
190166
190167
190168
190169
190170
190171
190172
190173
190174
190175
190176
190177
190178
190179
190180
190181
190182
190183
190184
190185
190186
190187
190188
190189
190190
190191
190192
190193
190194
190195
190196
190197
190198
190199
190200
190201
190202
190203
190204
190205
190206
190207
190208
190209
190210
190211
190212
190213
190214
190215
190216
190217
190218
190219
190220
190221
190222
190223
190224
190225
190226
190227
190228
190229
190230
190231
190232
190233
190234
190235
190236
190237
190238
190239
190240
190241
190242
190243
190244
190245
190246
190247
190248
190249
190250
190251
190252
190253
190254
190255
190256
190257
190258
190259
190260
190261
190262
190263
190264
190265
190266
190267
190268
190269
190270
190271
190272
190273
190274
190275
190276
190277
190278
190279
190280
190281
190282
190283
190284
190285
190286
190287
190288
190289
190290
190291
190292
190293
190294
190295
190296
190297
190298
190299
190300
190301
190302
190303
190304
190305
190306
190307
190308
190309
190310
190311
190312
190313
190314
190315
190316
190317
190318
190319
190320
190321
190322
190323
190324
190325
190326
190327
190328
190329
190330
190331
190332
190333
190334
190335
190336
190337
190338
190339
190340
190341
190342
190343
190344
190345
190346
190347
190348
190349
190350
190351
190352
190353
190354
190355
190356
190357
190358
190359
190360
190361
190362
190363
190364
190365
190366
190367
190368
190369
190370
190371
190372
190373
190374
190375
190376
190377
190378
190379
190380
190381
190382
190383
190384
190385
190386
190387
190388
190389
190390
190391
190392
190393
190394
190395
190396
190397
190398
190399
190400
190401
190402
190403
190404
190405
190406
190407
190408
190409
190410
190411
190412
190413
190414
190415
190416
190417
190418
190419
190420
190421
190422
190423
190424
190425
190426
190427
190428
190429
190430
190431
190432
190433
190434
190435
190436
190437
190438
190439
190440
190441
190442
190443
190444
190445
190446
190447
190448
190449
190450
190451
190452
190453
190454
190455
190456
190457
190458
190459
190460
190461
190462
190463
190464
190465
190466
190467
190468
190469
190470
190471
190472
190473
190474
190475
190476
190477
190478
190479
190480
190481
190482
190483
190484
190485
190486
190487
190488
190489
190490
190491
190492
190493
190494
190495
190496
190497
190498
190499
190500
190501
190502
190503
190504
190505
190506
190507
190508
190509
190510
190511
190512
190513
190514
190515
190516
190517
190518
190519
190520
190521
190522
190523
190524
190525
190526
190527
190528
190529
190530
190531
190532
190533
190534
190535
190536
190537
190538
190539
190540
190541
190542
190543
190544
190545
190546
190547
190548
190549
190550
190551
190552
190553
190554
190555
190556
190557
190558
190559
190560
190561
190562
190563
190564
190565
190566
190567
190568
190569
190570
190571
190572
190573
190574
190575
190576
190577
190578
190579
190580
190581
190582
190583
190584
190585
190586
190587
190588
190589
190590
190591
190592
190593
190594
190595
190596
190597
190598
190599
190600
190601
190602
190603
190604
190605
190606
190607
190608
190609
190610
190611
190612
190613
190614
190615
190616
190617
190618
190619
190620
190621
190622
190623
190624
190625
190626
190627
190628
190629
190630
190631
190632
190633
190634
190635
190636
190637
190638
190639
190640
190641
190642
190643
190644
190645
190646
190647
190648
190649
190650
190651
190652
190653
190654
190655
190656
190657
190658
190659
190660
190661
190662
190663
190664
190665
190666
190667
190668
190669
190670
190671
190672
190673
190674
190675
190676
190677
190678
190679
190680
190681
190682
190683
190684
190685
190686
190687
190688
190689
190690
190691
190692
190693
190694
190695
190696
190697
190698
190699
190700
190701
190702
190703
190704
190705
190706
190707
190708
190709
190710
190711
190712
190713
190714
190715
190716
190717
190718
190719
190720
190721
190722
190723
190724
190725
190726
190727
190728
190729
190730
190731
190732
190733
190734
190735
190736
190737
190738
190739
190740
190741
190742
190743
190744
190745
190746
190747
190748
190749
190750
190751
190752
190753
190754
190755
190756
190757
190758
190759
190760
190761
190762
190763
190764
190765
190766
190767
190768
190769
190770
190771
190772
190773
190774
190775
190776
190777
190778
190779
190780
190781
190782
190783
190784
190785
190786
190787
190788
190789
190790
190791
190792
190793
190794
190795
190796
190797
190798
190799
190800
190801
190802
190803
190804
190805
190806
190807
190808
190809
190810
190811
190812
190813
190814
190815
190816
190817
190818
190819
190820
190821
190822
190823
190824
190825
190826
190827
190828
190829
190830
190831
190832
190833
190834
190835
190836
190837
190838
190839
190840
190841
190842
190843
190844
190845
190846
190847
190848
190849
190850
190851
190852
190853
190854
190855
190856
190857
190858
190859
190860
190861
190862
190863
190864
190865
190866
190867
190868
190869
190870
190871
190872
190873
190874
190875
190876
190877
190878
190879
190880
190881
190882
190883
190884
190885
190886
190887
190888
190889
190890
190891
190892
190893
190894
190895
190896
190897
190898
190899
190900
190901
190902
190903
190904
190905
190906
190907
190908
190909
190910
190911
190912
190913
190914
190915
190916
190917
190918
190919
190920
190921
190922
190923
190924
190925
190926
190927
190928
190929
190930
190931
190932
190933
190934
190935
190936
190937
190938
190939
190940
190941
190942
190943
190944
190945
190946
190947
190948
190949
190950
190951
190952
190953
190954
190955
190956
190957
190958
190959
190960
190961
190962
190963
190964
190965
190966
190967
190968
190969
190970
190971
190972
190973
190974
190975
190976
190977
190978
190979
190980
190981
190982
190983
190984
190985
190986
190987
190988
190989
190990
190991
190992
190993
190994
190995
190996
190997
190998
190999
191000
191001
191002
191003
191004
191005
191006
191007
191008
191009
191010
191011
191012
191013
191014
191015
191016
191017
191018
191019
191020
191021
191022
191023
191024
191025
191026
191027
191028
191029
191030
191031
191032
191033
191034
191035
191036
191037
191038
191039
191040
191041
191042
191043
191044
191045
191046
191047
191048
191049
191050
191051
191052
191053
191054
191055
191056
191057
191058
191059
191060
191061
191062
191063
191064
191065
191066
191067
191068
191069
191070
191071
191072
191073
191074
191075
191076
191077
191078
191079
191080
191081
191082
191083
191084
191085
191086
191087
191088
191089
191090
191091
191092
191093
191094
191095
191096
191097
191098
191099
191100
191101
191102
191103
191104
191105
191106
191107
191108
191109
191110
191111
191112
191113
191114
191115
191116
191117
191118
191119
191120
191121
191122
191123
191124
191125
191126
191127
191128
191129
191130
191131
191132
191133
191134
191135
191136
191137
191138
191139
191140
191141
191142
191143
191144
191145
191146
191147
191148
191149
191150
191151
191152
191153
191154
191155
191156
191157
191158
191159
191160
191161
191162
191163
191164
191165
191166
191167
191168
191169
191170
191171
191172
191173
191174
191175
191176
191177
191178
191179
191180
191181
191182
191183
191184
191185
191186
191187
191188
191189
191190
191191
191192
191193
191194
191195
191196
191197
191198
191199
191200
191201
191202
191203
191204
191205
191206
191207
191208
191209
191210
191211
191212
191213
191214
191215
191216
191217
191218
191219
191220
191221
191222
191223
191224
191225
191226
191227
191228
191229
191230
191231
191232
191233
191234
191235
191236
191237
191238
191239
191240
191241
191242
191243
191244
191245
191246
191247
191248
191249
191250
191251
191252
191253
191254
191255
191256
191257
191258
191259
191260
191261
191262
191263
191264
191265
191266
191267
191268
191269
191270
191271
191272
191273
191274
191275
191276
191277
191278
191279
191280
191281
191282
191283
191284
191285
191286
191287
191288
191289
191290
191291
191292
191293
191294
191295
191296
191297
191298
191299
191300
191301
191302
191303
191304
191305
191306
191307
191308
191309
191310
191311
191312
191313
191314
191315
191316
191317
191318
191319
191320
191321
191322
191323
191324
191325
191326
191327
191328
191329
191330
191331
191332
191333
191334
191335
191336
191337
191338
191339
191340
191341
191342
191343
191344
191345
191346
191347
191348
191349
191350
191351
191352
191353
191354
191355
191356
191357
191358
191359
191360
191361
191362
191363
191364
191365
191366
191367
191368
191369
191370
191371
191372
191373
191374
191375
191376
191377
191378
191379
191380
191381
191382
191383
191384
191385
191386
191387
191388
191389
191390
191391
191392
191393
191394
191395
191396
191397
191398
191399
191400
191401
191402
191403
191404
191405
191406
191407
191408
191409
191410
191411
191412
191413
191414
191415
191416
191417
191418
191419
191420
191421
191422
191423
191424
191425
191426
191427
191428
191429
191430
191431
191432
191433
191434
191435
191436
191437
191438
191439
191440
191441
191442
191443
191444
191445
191446
191447
191448
191449
191450
191451
191452
191453
191454
191455
191456
191457
191458
191459
191460
191461
191462
191463
191464
191465
191466
191467
191468
191469
191470
191471
191472
191473
191474
191475
191476
191477
191478
191479
191480
191481
191482
191483
191484
191485
191486
191487
191488
191489
191490
191491
191492
191493
191494
191495
191496
191497
191498
191499
191500
191501
191502
191503
191504
191505
191506
191507
191508
191509
191510
191511
191512
191513
191514
191515
191516
191517
191518
191519
191520
191521
191522
191523
191524
191525
191526
191527
191528
191529
191530
191531
191532
191533
191534
191535
191536
191537
191538
191539
191540
191541
191542
191543
191544
191545
191546
191547
191548
191549
191550
191551
191552
191553
191554
191555
191556
191557
191558
191559
191560
191561
191562
191563
191564
191565
191566
191567
191568
191569
191570
191571
191572
191573
191574
191575
191576
191577
191578
191579
191580
191581
191582
191583
191584
191585
191586
191587
191588
191589
191590
191591
191592
191593
191594
191595
191596
191597
191598
191599
191600
191601
191602
191603
191604
191605
191606
191607
191608
191609
191610
191611
191612
191613
191614
191615
191616
191617
191618
191619
191620
191621
191622
191623
191624
191625
191626
191627
191628
191629
191630
191631
191632
191633
191634
191635
191636
191637
191638
191639
191640
191641
191642
191643
191644
191645
191646
191647
191648
191649
191650
191651
191652
191653
191654
191655
191656
191657
191658
191659
191660
191661
191662
191663
191664
191665
191666
191667
191668
191669
191670
191671
191672
191673
191674
191675
191676
191677
191678
191679
191680
191681
191682
191683
191684
191685
191686
191687
191688
191689
191690
191691
191692
191693
191694
191695
191696
191697
191698
191699
191700
191701
191702
191703
191704
191705
191706
191707
191708
191709
191710
191711
191712
191713
191714
191715
191716
191717
191718
191719
191720
191721
191722
191723
191724
191725
191726
191727
191728
191729
191730
191731
191732
191733
191734
191735
191736
191737
191738
191739
191740
191741
191742
191743
191744
191745
191746
191747
191748
191749
191750
191751
191752
191753
191754
191755
191756
191757
191758
191759
191760
191761
191762
191763
191764
191765
191766
191767
191768
191769
191770
191771
191772
191773
191774
191775
191776
191777
191778
191779
191780
191781
191782
191783
191784
191785
191786
191787
191788
191789
191790
191791
191792
191793
191794
191795
191796
191797
191798
191799
191800
191801
191802
191803
191804
191805
191806
191807
191808
191809
191810
191811
191812
191813
191814
191815
191816
191817
191818
191819
191820
191821
191822
191823
191824
191825
191826
191827
191828
191829
191830
191831
191832
191833
191834
191835
191836
191837
191838
191839
191840
191841
191842
191843
191844
191845
191846
191847
191848
191849
191850
191851
191852
191853
191854
191855
191856
191857
191858
191859
191860
191861
191862
191863
191864
191865
191866
191867
191868
191869
191870
191871
191872
191873
191874
191875
191876
191877
191878
191879
191880
191881
191882
191883
191884
191885
191886
191887
191888
191889
191890
191891
191892
191893
191894
191895
191896
191897
191898
191899
191900
191901
191902
191903
191904
191905
191906
191907
191908
191909
191910
191911
191912
191913
191914
191915
191916
191917
191918
191919
191920
191921
191922
191923
191924
191925
191926
191927
191928
191929
191930
191931
191932
191933
191934
191935
191936
191937
191938
191939
191940
191941
191942
191943
191944
191945
191946
191947
191948
191949
191950
191951
191952
191953
191954
191955
191956
191957
191958
191959
191960
191961
191962
191963
191964
191965
191966
191967
191968
191969
191970
191971
191972
191973
191974
191975
191976
191977
191978
191979
191980
191981
191982
191983
191984
191985
191986
191987
191988
191989
191990
191991
191992
191993
191994
191995
191996
191997
191998
191999
192000
192001
192002
192003
192004
192005
192006
192007
192008
192009
192010
192011
192012
192013
192014
192015
192016
192017
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/ChangeLog linux-2.6.28.6/ChangeLog
--- linux-2.6.28/ChangeLog	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/ChangeLog	2009-04-30 10:05:47.000000000 +0200
@@ -0,0 +1,2178 @@
+previous samsung-ap-2.6 repository ChangeLog_s3c64xx for s3c64xx branch
+-----------------------------------------------------------------------
+rel-0-0-0 : Kwanghyun La  (Nov.10.2008)
+	It's not fixed version , just only initial copy version for
+	        estimation.
+
+dev-0-0-1 : Ilho Lee
+dev-0-0-2 : Ilho Lee
+	Touchscreen D/D added, but Ethernet D/D is being adding.
+
+dev-0-0-3 : Jongpill Lee
+	Support ADC driver and merge adc-s3c64xx.c and adc-s3c24xx.c file
+
+	Removed Files:
+		R A arch/arm/plat-s3c64xx/adc-s3c64xx.c
+
+	Added Files:
+		A arch/arm/plat-s3c/adc.c
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c/Kconfig
+		M arch/arm/plat-s3c/Makefile
+		M arch/arm/plat-s3c/include/plat/adc.h
+		M drivers/char/Kconfig
+
+dev-0-0-4 : Jongpill Lee
+	Bug fixed on ADC driver
+
+	Modified Files:
+		M arch/arm/plat-s3c/adc.c
+	
+dev-0-0-5 : Ilho Lee
+	SMC9115 ethernet D/D is working(small_root only)
+
+dev-0-0-6: Jinsung Yang
+	- NAND driver support
+
+	Added files:
+		A arch/arm/configs/smdk6410mtd_defconfig
+		A arch/arm/plat-s3c/include/plat/partition.h
+		A drivers/mtd/nand/s3c_nand.c
+
+	Modified files:
+		M arch/arm/mach-s3c6400/include/mach/map.h
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c/Kconfig
+		M arch/arm/plat-s3c/include/plat/nand.h
+		M arch/arm/plat-s3c/include/plat/regs-nand.h
+		M arch/arm/plat-s3c64xx/devs.c
+		M drivers/mtd/nand/Kconfig
+		M drivers/mtd/nand/Makefile
+
+dev-0-0-7: Sungjun Bae 
+	 - I2S WM8580, I2SWM8990 Complete. 
+	 
+	Modified Files:
+	 	M arch/arm/configs/smdk6410mtd_defconfig arch/arm/configs/smdk6410nfs_defconfig
+		M arch/arm/plat-s3c64xx/include/plat/gpio-bank-d.h
+		M arch/arm/plat-s3c64xx/include/plat/regs-clock.h include/sound/soc.h
+		M sound/soc/soc-core.c sound/soc/codecs/wm8580.c sound/soc/codecs/wm8990.c
+
+dev-0-0-8: Sungjun Bae 
+	- DMA File Structure was changed.
+
+	Modified Files:
+		M arch/arm/plat-s3c/Makefile
+	        M arch/arm/plat-s3c/include/mach/s3c-dma.h
+	        M arch/arm/plat-s3c64xx/Makefile
+	Added Files:
+	        A arch/arm/plat-s3c/dma-pl080.c
+	Removed Files:
+	        R arch/arm/plat-s3c64xx/dma-pl080.c
+
+dev-0-0-9: Ilho Lee
+	- PL330 DMA D/D file added
+
+	Modified Files:
+		M arch/arm/plat-s3c/Makefile
+		M arch/arm/plat-s3c/Kconfig
+
+	Added Files:
+	        A arch/arm/plat-s3c/dma-pl330.c
+	        A arch/arm/plat-s3c/dma-pl330-microcode.c
+
+
+dev-0-0-10: eyryu 
+	- Add SMDKC100 initial.
+
+dev-0-0-11: Ilho Lee
+	- DMA definition files changed
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/dma.c
+		M arch/arm/mach-s5pc100/dma.c
+
+dev-0-0-12: Jinsung Yang
+	- gpiolib support for s5pc1xx architecture
+
+	Modified files:
+		M arch/arm/plat-s5pc1xx/include/plat/regs-gpio.h
+		M arch/arm/mach-s5pc100/include/mach/gpio.h
+		M arch/arm/plat-s3c/gpio-config.c
+		M arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h
+
+	Added files:
+		A arch/arm/plat-s5pc1xx/gpiolib.c
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-b.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-c.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-d.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-i.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j4.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp00.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp01.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp02.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp03.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp04.h
+
+dev-0-0-13: eyryu 
+	- Add SMDKC100 clock & serial 
+
+dev-0-0-14: Ilho Lee
+	- ADC D/D added
+
+	Added Files:
+		A arch/arm/plat-s3c24xx/adc.c
+		A arch/arm/plat-s3c64xx/adc.c
+
+dev-0-0-15: eyryu 
+	- Support SMDKC100 UART driver
+	- Add SMDKC100 clock & serial 
+
+rel-1-0-0: Kyoungil Kim
+	- Official Release (08.11.27)
+
+dev-1-0-0: Kyoungil Kim
+
+dev-1-0-1: Ilho Lee
+	- CPU idle added
+
+	Added Files:
+		A arch/arm/mach-s3c6400/idle.h
+		A arch/arm/mach-s5pc100/idle.h
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/cpu.c
+		M arch/arm/mach-s5pc100/cpu.c
+
+dev-1-0-2: Ilho Lee
+	- S3C24XX -> S3C changed in the S3C DMA D/D.
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/dma.c
+		M arch/arm/mach-s5pc100/dma.c
+		M arch/arm/plat-s3c/dma-pl080.c
+		M arch/arm/plat-s3c/dma-pl330.c
+		M arch/arm/plat-s3c/include/plat/s3c-dma.h
+
+dev-1-0-3: Ilho Lee
+	- PL330 DMA D/D is adding..
+
+	Modified Files:
+		M arch/arm/plat-s3c/dma-pl330.c
+		M arch/arm/plat-s3c/dma-pl330-mcode.h
+		M arch/arm/plat-s3c/include/mach/s3c-dma.h
+
+dev-1-0-4: Byungjae Lee
+	- Support File Storage Gadget for SMDK6410 HS USB OTG 
+
+	Modified Files:
+		M arch/arm/mach-s3c6400/include/mach/map.h
+		M arch/arm/mach-s3c6410/cpu.c
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c64xx/devs.c
+		M arch/arm/plat-s3c64xx/include/plat/regs-clock.h
+		M drivers/usb/gadget/Kconfig
+		M drivers/usb/gadget/Makefile
+		M drivers/usb/gadget/epautoconf.c
+		M drivers/usb/gadget/gadget_chips.h
+
+	Added Files:
+		A arch/arm/plat-s3c/include/plat/regs-otg.h
+		A drivers/usb/gadget/s3c_udc.h
+		A drivers/usb/gadget/s3c_udc_otg.c
+
+dev-1-0-5: Ilho Lee
+	- S3C touchscreen D/D changed.
+
+	Modified Files:
+		M drivers/input/touchscreen/s3c-ts.c
+
+dev-1-0-6: Jinsung Yang
+	- Clock system support for S5PC100
+
+	Modified files:
+		M arch/arm/plat-s3c/clock.c
+		M arch/arm/plat-s3c/include/plat/clock.h
+		M arch/arm/plat-s5pc1xx/clock.c
+		M arch/arm/plat-s5pc1xx/s5pc100-clock.c
+		M arch/arm/plat-s5pc1xx/include/plat/pll.h
+		M arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+
+dev-1-0-7: Jinsung Yang
+	- LCD (LTE480WV) support for SMDKC100
+
+	Modified files:
+		drivers/video/samsung/s5pfb_fimd5x.c
+
+dev-1-0-8: Byungjae Lee
+	- Masked HCLK for USB OTG at register clocks 
+
+	Modified files:
+		M arch/arm/plat-s3c64xx/clock.c
+		M drivers/usb/gadget/s3c_udc_otg.c
+
+dev-1-0-9: Ilho Lee
+	- Ext-interrupts handlers added.
+
+	Added Files:
+		A arch/arm/plat-s5pc1xx/irq-eint.c
+
+dev-1-0-10: Ilho Lee
+	- SMC9115 ethernet(100Mbps) D/D ported.
+
+	Added Files:
+		A arch/arm/plat-s5pc1xx/irq-eint.c
+
+dev-1-0-11: Ilho Lee
+	- dev-adc.c deleted.
+
+	Deleted Files:
+		D arch/arm/plat-s3c/dev-adc.c
+
+rel-1-0-1: Kyoungil Kim
+	- Git Release (08.12.09)
+
+v2.6.28-rc7-s3c64xx-r0d0: Kyoungil Kim
+	- s3c64xx rc7 initial git tag
+
+v2.6.28-rc8-s3c64xx: Kyoungil Kim
+	- s3c64xx rc8 patch
+
+v2.6.28-rc8-s3c64xx-r0d0: Kyoungil Kim
+
+v2.6.28-rc8-s3c64xx-r0d1: Jinsung Yang
+	- Fix for wrong comments
+
+v2.6.28-rc8-s3c64xx-r0d2: Jongpill Lee
+
+	- bug fixed about OS Timer
+
+	Modified Files:
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/include/plat/cpu.h
+		M       arch/arm/plat-s3c/include/plat/regs-timer.h
+		M       arch/arm/plat-s3c/time.c
+		M       arch/arm/plat-s3c24xx/include/plat/cpu.h
+
+v2.6.28-rc8-s3c64xx-r0d3: Jongpill Lee
+	- Remove adc driver on s3c24xx
+	Modified Files:
+		M       arch/arm/plat-s3c24xx/Kconfig
+		M       arch/arm/plat-s3c24xx/Makefile
+	Deleted Files:
+		D       arch/arm/plat-s3c24xx/adc.c
+
+v2.6.28-rc8-s3c64xx-r0d4: Jinsung Yang
+	- 24 bit logo display support
+	- s3c framebuffer driver naming rule changes
+
+	Modified files:
+		M       drivers/video/cfbimgblt.c
+		M       drivers/video/samsung/s3cfb.c
+		M       drivers/video/samsung/s3cfb.h
+		M       drivers/video/samsung/s3cfb_fimd4x.c
+		M       drivers/video/samsung/s3cfb_fimd5x.c
+		M       drivers/video/samsung/s3cfb_lte480wv.c
+		M       drivers/video/samsung/s3cfb_lts222qv.c
+		M       drivers/video/samsung/s3cfb_ltv350qv.c
+		M       drivers/video/samsung/s3cfb_spi.c
+
+v2.6.28-rc8-s3c64xx-r0d5: Jongpill Lee
+	-Support cpu freq on smdk6410
+
+	Added Files:
+		A 	arch/arm/plat-s3c64xx/s3c64xx-cpufreq.carch/arm/plat-s3c64xx/s3c64xx-cpufreq.c
+	Modified Files:
+		M	arch/arm/Kconfig
+		M	arch/arm/plat-s3c/clock.c
+		M	arch/arm/plat-s3c64xx/Makefile
+
+v2.6.28-rc8-s3c64xx-r0d6: Kyoungil Kim
+	- split plat-s5p64xx, mach-s5p6440
+	- Support for s5p6440 serial
+
+	Added Files
+		A       arch/arm/configs/smdk6440ramdisk_defconfig
+		A       arch/arm/mach-s5p6440/Kconfig
+		A       arch/arm/mach-s5p6440/Makefile.boot
+		A       arch/arm/mach-s5p6440/cpu.c
+		A       arch/arm/mach-s5p6440/dma.c
+		A       arch/arm/mach-s5p6440/include/mach/debug-macro.S
+		A       arch/arm/mach-s5p6440/include/mach/dma.h
+		A       arch/arm/mach-s5p6440/include/mach/entry-macro.S
+		A       arch/arm/mach-s5p6440/include/mach/gpio-core.h
+		A       arch/arm/mach-s5p6440/include/mach/gpio.h
+		A       arch/arm/mach-s5p6440/include/mach/hardware.h
+		A       arch/arm/mach-s5p6440/include/mach/idle.h
+		A       arch/arm/mach-s5p6440/include/mach/irqs.h
+		A       arch/arm/mach-s5p6440/include/mach/map.h
+		A       arch/arm/mach-s5p6440/include/mach/memory.h
+		A       arch/arm/mach-s5p6440/include/mach/regs-irq.h
+		A       arch/arm/mach-s5p6440/include/mach/regs-mem.h
+		A       arch/arm/mach-s5p6440/include/mach/system.h
+		A       arch/arm/mach-s5p6440/include/mach/tick.h
+		A       arch/arm/mach-s5p6440/include/mach/uncompress.h
+		A       arch/arm/mach-s5p6440/mach-smdk6440.c
+		A       arch/arm/mach-s5p6440/setup-sdhci.c
+		A       arch/arm/plat-s5p64xx/Kconfig
+		A       arch/arm/plat-s5p64xx/Makefile
+		A       arch/arm/plat-s5p64xx/adc.c
+		A       arch/arm/plat-s5p64xx/clock.c
+		A       arch/arm/plat-s5p64xx/cpu.c
+		A       arch/arm/plat-s5p64xx/dev-uart.c
+		A       arch/arm/plat-s5p64xx/devs.c
+		A       arch/arm/plat-s5p64xx/gpiolib.c
+		A       arch/arm/plat-s5p64xx/include/plat/dma.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-a.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-b.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-c.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-f.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-g.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-h.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-i.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-j.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-n.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-p.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-r.h
+		A       arch/arm/plat-s5p64xx/include/plat/irqs.h
+		A       arch/arm/plat-s5p64xx/include/plat/pll.h
+		A       arch/arm/plat-s5p64xx/include/plat/regs-clock.h
+		A       arch/arm/plat-s5p64xx/include/plat/regs-gpio.h
+		A       arch/arm/plat-s5p64xx/include/plat/regs-sys.h
+		A       arch/arm/plat-s5p64xx/include/plat/s5p6440.h
+		A       arch/arm/plat-s5p64xx/irq-eint.c
+		A       arch/arm/plat-s5p64xx/irq.c
+		A       arch/arm/plat-s5p64xx/s5p6440-clock.c
+		A       arch/arm/plat-s5p64xx/s5p6440-init.c
+		A       arch/arm/plat-s5p64xx/setup-i2c0.c
+		A       arch/arm/plat-s5p64xx/setup-i2c1.c
+	Modified Files
+		M       arch/arm/Kconfig
+		M       arch/arm/Makefile
+		M       arch/arm/mach-s5p6440/Makefile
+		M       arch/arm/mm/Kconfig
+		M       arch/arm/plat-s3c/Kconfig
+		M       arch/arm/plat-s3c/include/plat/clock.h
+		M       arch/arm/plat-s3c/include/plat/cpu.h
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c/include/plat/regs-lcd.h
+		M       arch/arm/tools/mach-types
+		M       drivers/i2c/busses/Kconfig
+		M       drivers/input/touchscreen/Kconfig
+		M       drivers/mtd/nand/Kconfig
+		M       drivers/serial/Kconfig
+		M       drivers/video/Kconfig
+		M       drivers/video/samsung/Makefile
+		M       drivers/video/samsung/s3cfb.h
+		M       drivers/video/samsung/s3cfb_spi.c
+
+v2.6.28-rc8-s3c64xx-r0d7: Ilho Lee
+	- ASYN/SYN mode select added.
+
+	Modified Files:
+		M       arch/arm/plat-s3c64xx/include/plat/regs-clock.h
+		M       arch/arm/plat-s3c64xx/s3c6400-clock.c
+
+v2.6.28-rc8-s3c64xx-r0d8: Kyoungil Kim
+	- Support for FPGA6440 lcd
+
+	Modified Files:
+		M       arch/arm/mach-s5p6440/include/mach/gpio.h
+		M       drivers/video/samsung/s3cfb_fimd5x.c
+		M       drivers/video/samsung/s3cfb_lts222qv.c
+		M       drivers/video/samsung/s3cfb_spi.c
+
+v2.6.28-rc8-s3c64xx-r0d9: Jongpill Lee
+	- Support APM on SMDK6410
+
+	Modified Files:
+		M	arch/arm/configs/smdk6410mtd_defconfig
+		M	arch/arm/mach-s3c6400/include/mach/regs-irq.h
+		M	arch/arm/mach-s3c6410/Makefile
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	arch/arm/plat-s3c/Makefile
+		M	arch/arm/plat-s3c/include/plat/regs-serial.h
+		M	arch/arm/plat-s3c64xx/Makefile
+		M	arch/arm/plat-s3c64xx/include/plat/gpio-bank-k.h
+		M	arch/arm/plat-s3c64xx/include/plat/gpio-bank-l.h
+		M	arch/arm/plat-s3c64xx/include/plat/regs-gpio.h
+		M	arch/arm/plat-s3c64xx/irq.c
+		M	drivers/video/samsung/s3cfb_fimd4x.c
+	Added Files:
+		A	arch/arm/mach-s3c6410/irq.c
+		A	arch/arm/mach-s3c6410/pm.c
+		A	arch/arm/plat-s3c64xx/include/plat/gpio-bank-m.h
+		A	arch/arm/plat-s3c64xx/include/plat/pm.h
+		A	arch/arm/plat-s3c64xx/pm.c
+		A	arch/arm/plat-s3c64xx/sleep.S
+
+v2.6.28-rc8-s3c64xx-r0d10: Jongpill Lee
+	- Support RTC on SMDK6410
+
+	MOdified Files:
+		M       arch/arm/mach-s3c2410/include/mach/map.h
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/include/plat/regs-rtc.h
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       arch/arm/plat-s3c64xx/include/plat/pm.h
+		M       drivers/rtc/Kconfig
+		M       drivers/rtc/rtc-s3c.c
+
+v2.6.28-rc8-s3c64xx-r0d11: Kyoungil Kim
+	- Keypad Driver for SMDK6410
+
+	Modified Files:
+		M       arch/arm/configs/smdk6410mtd_defconfig
+		M       arch/arm/configs/smdk6410nfs_defconfig
+		M       arch/arm/configs/smdk6410ramdisk_defconfig
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/gpio-config.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c64xx/clock.c
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       arch/arm/plat-s3c64xx/include/plat/gpio-bank-k.h
+		M       arch/arm/plat-s3c64xx/include/plat/gpio-bank-l.h
+		M       drivers/input/keyboard/Kconfig
+		M       drivers/input/keyboard/Makefile
+		M       drivers/input/touchscreen/s3c-ts.c
+	Added Files:
+		A       arch/arm/plat-s3c64xx/include/plat/regs-keypad.h
+		A       drivers/input/keyboard/s3c-keypad.c
+		A       drivers/input/keyboard/s3c-keypad.h
+	
+v2.6.28-rc8-s3c64xx-r0d12: Jongpill Lee
+	- Support HS-SPI on SMDK6410
+
+	Added Files:
+		A       arch/arm/plat-s3c64xx/include/plat/regs-spi.h
+		A       drivers/spi/hspi-s3c64xx.c
+		A       drivers/spi/hspi-s3c64xx.h
+		A       drivers/spi/spi-dev.c
+		A       drivers/spi/spi-dev.h
+	
+	Modified Files:
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       drivers/rtc/rtc-s3c.c
+		M       drivers/spi/Kconfig
+		M       drivers/spi/Makefile
+
+v2.6.28-rc8-s3c64xx-r0d13: Ilho Lee
+	- Support HS-MMC on SMDK6410
+
+v2.6.28-rc8-s3c64xx-r0d14: Jongpill Lee
+	- bug fiex on PM Driver
+
+	Modified Files:
+		M       arch/arm/configs/smdk6410mtd_defconfig
+		M       arch/arm/plat-s3c64xx/sleep.S
+
+v2.6.28-rc8-s3c64xx-r0d15: Kyoungil Kim
+	- Support USB host on SMDK6410
+
+	Modifiled Files:
+		M       arch/arm/configs/smdk6410mtd_defconfig
+		M       arch/arm/configs/smdk6410nfs_defconfig
+		M       arch/arm/configs/smdk6410onenand_defconfig
+		M       arch/arm/configs/smdk6410ramdisk_defconfig
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/mach-s5p6440/mach-smdk6440.c
+		M       arch/arm/plat-s3c/include/plat/partition.h
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       drivers/usb/Kconfig
+		M       drivers/usb/gadget/s3c_udc_otg.c
+		M       drivers/usb/host/ohci-hcd.c
+		M       drivers/usb/host/ohci-s3c2410.c
+	Added Files:
+		A       arch/arm/mach-s3c6400/include/mach/usb-control.h
+
+v2.6.28-rc8-s3c64xx-r0d16: Jongpill Lee
+	- Support DVS on CPUFREQ Driver
+
+	Added Files:
+		A       arch/arm/plat-s3c64xx/ltc3714.c
+	Modified Files:
+		M       arch/arm/plat-s3c/clock.c
+		M       arch/arm/plat-s3c64xx/Makefile
+		M       arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c
+		
+v2.6.28-rc8-s3c64xx-r0d17: Byungjae Lee
+	- Support Ethernet gadget and RNDIS for SMDK6410
+
+	Modifiled Files:
+		M	arch/arm/configs/smdk6410mtd_defconfig
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	drivers/usb/gadget/Kconfig
+		M	drivers/usb/gadget/epautoconf.c
+		M	drivers/usb/gadget/f_rndis.c
+		M	drivers/usb/gadget/s3c_udc.h
+		M	drivers/usb/gadget/s3c_udc_otg.c
+		M	drivers/usb/gadget/u_ether.c
+	Added Files:
+		A	drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+		A	drivers/usb/gadget/s3c_udc_otg_xfer_slave.c
+
+v2.6.28-rc8-s3c64xx-r0d18: Jongpill Lee
+	- Remove warning message
+
+	Modified Files:
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/mach-s3c6410/pm.c
+		M       arch/arm/plat-s3c/clock.c
+		M       arch/arm/plat-s3c64xx/clock.c
+		M       arch/arm/plat-s3c64xx/include/plat/pm.h
+		M       arch/arm/plat-s3c64xx/irq.c
+		M       arch/arm/plat-s3c64xx/ltc3714.c
+		M       arch/arm/plat-s3c64xx/pm.c
+		M       arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c
+		M       drivers/rtc/rtc-s3c.c
+		M       drivers/spi/hspi-s3c64xx.c
+
+v2.6.28-rc8-s3c64xx-r0d19: Kyoungil Kim
+	- Support Watchdog on SMDK6410
+
+	Modified Files:
+		M       arch/arm/configs/smdk6410mtd_defconfig
+		M       arch/arm/configs/smdk6410nfs_defconfig
+		M       arch/arm/configs/smdk6410onenand_defconfig
+		M       arch/arm/configs/smdk6410ramdisk_defconfig
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       drivers/watchdog/Kconfig
+
+v2.6.28-rc8-s3c64xx-r0d20: Ryu Euiyoul
+	- Support S5M8751 on SMDK6410
+
+	Modified Files:
+		M       sound/soc/codecs/Kconfig
+		M       sound/soc/codecs/Makefile
+		M       sound/soc/s3c64xx/Kconfig
+		M       sound/soc/s3c64xx/Makefile
+
+	Added Files:
+		A       sound/soc/codecs/s5m8751.c
+		A       sound/soc/codecs/s5m8751.h
+		A       sound/soc/s3c64xx/smdk6410_s5m8751.c
+		A       arch/arm/configs/smdk6410rf_defconfig
+
+v2.6.28-rc8-s3c64xx-r0d21: SungJun Bae
+	- Support wm8580 on VEGA-L FPGA (Draft)
+
+	Modified Files:
+		M	arch/arm/configs/smdk6440ramdisk_defconfig
+		M	arch/arm/mach-s5p6440/dma.c
+		M	arch/arm/mach-s5p6440/mach-smdk6440.c
+		M	arch/arm/plat-s3c/dma-pl080.c
+		M	sound/soc/s3c64xx/Kconfig
+		M	sound/soc/s3c64xx/Makefile
+		M	sound/soc/s3c64xx/s3c-i2s.h
+		M	sound/soc/s3c64xx/s3c-pcm.c
+		M	sound/soc/s3c64xx/s3c6410-i2s-v40.c
+
+	Added Files:
+		A	sound/soc/s3c64xx/s5p6440-i2s-v40.c
+		A	sound/soc/s3c64xx/smdk6440_wm8580.c
+
+v2.6.28.6-s3c64xx: Kyoungil Kim
+
+v2.6.28.6-s3c64xx-r0d0: Kyoungil Kim
+
+v2.6.28.6-s3c64xx-r0d1: SungJun	Bae 
+	- Support Post Processor on SMDK6410
+
+	Modified Files:
+		M	ChangeLog_s3c64xx
+		M	arch/arm/mach-s3c6400/include/mach/map.h
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	arch/arm/plat-s3c/include/plat/devs.h
+		M	arch/arm/plat-s3c/include/plat/regs-lcd.h
+		M	arch/arm/plat-s3c64xx/devs.c
+		M	drivers/media/video/Kconfig
+		M	drivers/media/video/Makefile
+
+	Added Files:
+		A	arch/arm/plat-s3c/include/plat/regs-pp.h
+		A	arch/arm/plat-s3c/include/plat/reserved_mem.h
+		A	drivers/media/video/samsung/post/Kconfig
+		A	drivers/media/video/samsung/post/Makefile
+		A	drivers/media/video/samsung/post/s3c_pp.h
+		A	drivers/media/video/samsung/post/s3c_pp_6400.c
+		A	drivers/media/video/samsung/post/s3c_pp_common.c
+		A	drivers/media/video/samsung/post/s3c_pp_common.h
+		
+v2.6.28.6-s3c64xx-r0d2: SungJun	Bae 
+	- Support TV encoder,scaler on SMDK6410
+
+	Modified Files:
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       drivers/media/video/Kconfig
+		M       drivers/media/video/Makefile
+		M       drivers/media/video/samsung/Kconfig
+		M       drivers/media/video/samsung/post/s3c_pp_6400.c
+		M       drivers/media/video/v4l2-dev.c
+		M       include/media/v4l2-dev.h
+
+	Added Files:
+		A       arch/arm/plat-s3c/include/plat/regs-tvenc.h
+		A       arch/arm/plat-s3c/include/plat/regs-tvscaler.h
+		A       drivers/media/video/samsung/tv/Kconfig
+		A       drivers/media/video/samsung/tv/Makefile
+		A       drivers/media/video/samsung/tv/s3c-tvenc.c
+		A       drivers/media/video/samsung/tv/s3c-tvenc.h
+		A       drivers/media/video/samsung/tv/s3c-tvscaler.c
+		A       drivers/media/video/samsung/tv/s3c-tvscaler.h
+v2.6.28.6-s3c64xx-r0d3: Jaeryul Oh
+	- Support JPEG, roator on SMDK6410
+
+	Modified Files :
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       drivers/media/video/samsung/Kconfig
+		M       drivers/media/video/samsung/Makefile
+
+	Added Files:
+		A       drivers/media/video/samsung/jpeg/Kconfig
+		A       drivers/media/video/samsung/jpeg/Makefile
+		A       drivers/media/video/samsung/jpeg/jpg_conf.h
+		A       drivers/media/video/samsung/jpeg/jpg_mem.c
+		A       drivers/media/video/samsung/jpeg/jpg_mem.h
+		A       drivers/media/video/samsung/jpeg/jpg_misc.c
+		A       drivers/media/video/samsung/jpeg/jpg_misc.h
+		A       drivers/media/video/samsung/jpeg/jpg_opr.c
+		A       drivers/media/video/samsung/jpeg/jpg_opr.h
+		A       drivers/media/video/samsung/jpeg/log_msg.c
+		A       drivers/media/video/samsung/jpeg/log_msg.h
+		A       drivers/media/video/samsung/jpeg/s3c-jpeg.c
+		A       drivers/media/video/samsung/jpeg/s3c-jpeg.h
+		A       drivers/media/video/samsung/rotator/Kconfig
+		A       drivers/media/video/samsung/rotator/Makefile
+		A       drivers/media/video/samsung/rotator/regs-rotator.h
+		A       drivers/media/video/samsung/rotator/s3c_rotator.c
+		A 	drivers/media/video/samsung/rotator/s3c_rotator_common.h
+
+v2.6.28.6-s3c64xx-r0d4: Jinsung Yang
+	- FIMC support for SMDK6410
+	- Including reserved memory feature with bootmem
+	- All functions have been finished on the planning
+
+v2.6.28.6-s3c64xx-r0d5: SungJun Bae 
+	- bootmem applied to post and tv.
+		M	drivers/media/video/samsung/post/s3c_pp_6400.c
+		M	drivers/media/video/samsung/tv/s3c-tvscaler.h
+
+v2.6.28.6-s3c64xx-r0d6: PyoungJae Jung, Jiun Yu
+	- MFC support for SMDK6410
+	- It support bootmem for large buffer memory
+	- Changed coding style to linux kernel coding style
+	- Bug fixed in Hybrid DiVX encoding problem
+
+	Modified Files:
+		M	arch/arm/mach-s3c6400/include/mach/map.h
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	arch/arm/plat-s3c/include/plat/devs.h
+		M	arch/arm/plat-s3c64xx/devs.c
+		M	arch/arm/plat-s3c64xx/include/plat/media.h
+		M	drivers/media/video/samsung/Kconfig
+		M	drivers/media/video/samsung/Makefile
+
+	Added Files:
+		A	arch/arm/plat-s3c64xx/include/plat/regs-mfc.h
+		A	drivers/media/video/samsung/mfc/Kconfig
+		A	drivers/media/video/samsung/mfc/Makefile
+		A	drivers/media/video/samsung/mfc/prism_s.h
+		A	drivers/media/video/samsung/mfc/prism_s_v137.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_base.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_bitproc_buf.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_bitproc_buf.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_config.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_databuf.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_databuf.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_hw_init.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_hw_init.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_inst_pool.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_inst_pool.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_instance.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_instance.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_intr_noti.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_params.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_set_config.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_sfr.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_sfr.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_types.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_yuv_buf_manager.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_yuv_buf_manager.h
+
+v2.6.28.6-s3c64xx-r0d7: Kyoungil Kim
+	- Just Prevent tag for SMDK6410
+
+v2.6.28.6-s3c64xx-r0d8: Jaeryul Oh
+	- Fixed Bug in case of dynamic fps change of MPEG4 encoding 
+
+	Modified Files:
+		M	drivers/media/video/samsung/mfc/s3c_mfc_instance.h
+		M	drivers/media/video/samsung/mfc/s3c_mfc_instance.c
+
+v2.6.28.6-s3c64xx-r0d9: Jonghun Han
+        - S3C6410 FIMG-2D driver support
+
+		Added Files:
+			drivers/media/video/samsung/g2d/Kconfig
+			drivers/media/video/samsung/g2d/Makefile
+			drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+			drivers/media/video/samsung/g2d/s3c_fimg2d2x.h
+			arch/arm/plat-s3c/include/plat/regs-g2d.h
+
+		Modified Files:
+			arch/arm/configs/smdk6410mtd_defconfig
+			arch/arm/configs/smdk6410nfs_defconfig
+			arch/arm/configs/smdk6410onenand_defconfig
+			arch/arm/configs/smdk6410ramdisk_defconfig
+			arch/arm/mach-s3c6400/include/mach/map.h
+			arch/arm/mach-s3c6410/mach-smdk6410.c
+			arch/arm/plat-s3c/include/plat/devs.h
+			arch/arm/plat-s3c64xx/devs.c
+			drivers/media/video/samsung/Kconfig
+			drivers/media/video/samsung/Makefile
+			drivers/video/samsung/s3cfb.c
+			drivers/video/samsung/s3cfb_fimd4x.c
+
+v2.6.28.6-s3c64xx-r1: Jonghun Han
+	- Official Release (09.03.06)
+
+v2.6.28.6-s3c64xx-r1d0: Kyoungil Kim
+
+v2.6.28.6-s3c64xx-r1d1 : Byungjae Lee
+	- implemented s3c6410 OTG host role for Mass storage only
+
+	Modified Files:
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	arch/arm/plat-s3c/include/plat/devs.h
+		M	arch/arm/plat-s3c64xx/devs.c
+		M	drivers/usb/Makefile
+		M	drivers/usb/host/Kconfig
+		M	drivers/usb/host/Makefile
+
+	Added Files:
+		A	drivers/usb/host/s3c-otg/*
+
+v2.6.28.6-s3c64xx-r1d2 : Byungjae Lee
+	- implemented s3c6410 OTG host role for HID(Keyboard, Mouse)
+	  and Card Reader
+
+	Modified Files:
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-kal.h
+		M	drivers/usb/host/s3c-otg/s3c-otg-scheduler-ischeduler.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-scheduler-scheduler.h
+		M	drivers/usb/host/s3c-otg/s3c-otg-transfer-common.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-transferchecker-common.c
+
+v2.6.28.6-s3c64xx-r1d3 : Jongpill Lee
+	- defect is fixed on cpufreq driver
+
+	Modified Files:
+		M	arch/arm/plat-s3c64xx/clock.c
+
+v2.6.28.6-s3c64xx-r1d4 : Jongpill Lee
+        - defect is fixed on pm
+
+	MOdified Fils:
+		M	arch/arm/plat-s3c64xx/pm.c
+
+v2.6.28.6-s3c64xx-r1d5: Kyoungil Kim
+	- Just Second Prevent tag for SMDK6410
+
+v2.6.28.6-s3c64xx-r1d6 : Jonghun Han
+        - update S3C6410 FIMG-2D driver
+
+	Modified Fils:
+		M	arch/arm/plat-s3c/include/plat/regs-g2d.h
+		M	drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+
+v2.6.28.6-s3c64xx-r2: Kyoungil Kim
+	- Official Release (09.03.09)
+
+v2.6.28.6-s3c64xx-r2d0: Kyoungil Kim
+
+v2.6.28.6-s3c64xx-r2d1: Jaeryul Oh
+	- Fixed Bug in case of rotator function of MFC
+
+	Modified Files:
+		M	drivers/media/video/samsung/mfc/s3c_mfc_instance.c
+
+v2.6.28.6-s3c64xx-r2d2: Jonghun Han
+	- S3C6410 FIMG-3D driver support
+
+	Modified Files:
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       drivers/char/s3c_mem.c
+		M       drivers/media/video/samsung/Kconfig
+		M       drivers/media/video/samsung/Makefile
+		M       drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+
+	Added Files:
+		A       drivers/media/video/samsung/g3d/Kconfig
+		A       drivers/media/video/samsung/g3d/Makefile
+		A       drivers/media/video/samsung/g3d/s3c_fimg3d.c
+		A       drivers/media/video/samsung/g3d/s3c_fimg3d.h		
+
+v2.6.28.6-s3c64xx-r2d3: Jonghun Han
+	- S5PC100 FIMG-2D driver support
+
+	Modified Files:
+		M	drivers/media/video/samsung/g2d/Kconfig
+		M	drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+
+v2.6.28.6-s3c64xx-r3: Kyoungil Kim
+	- Official Release (09.03.13)
+
+v2.6.28.6-s3c64xx-r3d0: Kyoungil Kim
+
+v2.6.28.6-s3c64xx-r3d1: Byungae Lee
+	- Support SMDK6410 USB Serial Gadget (with CDC ACM)
+
+	Modified Files:
+		M	arch/arm/plat-s3c/include/plat/regs-otg.h
+		M	drivers/usb/gadget/s3c_udc_otg.c
+		M	drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+		M	drivers/usb/gadget/s3c_udc_otg_xfer_slave.c
+
+v2.6.28.6-s3c64xx-r3d2: Byungae Lee
+	- Removed warning on the debug message for the USB Gadget
+
+	Modified Files:
+		M	drivers/usb/gadget/s3c_udc_otg.c
+		M	drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+
+v2.6.28.6-s3c64xx-r3d3: SungJun Bae 
+	- Support CMM driver.  
+
+	Added Files:
+		A	drivers/media/video/samsung/cmm/CMMMisc.c
+		A	drivers/media/video/samsung/cmm/CMMMisc.h
+		A	drivers/media/video/samsung/cmm/Kconfig
+		A	drivers/media/video/samsung/cmm/LogMsg.c
+		A	drivers/media/video/samsung/cmm/LogMsg.h
+		A	drivers/media/video/samsung/cmm/Makefile
+		A	drivers/media/video/samsung/cmm/s3c-cmm.c
+		A	drivers/media/video/samsung/cmm/s3c-cmm.h
+
+	Modified Files:
+		M	drivers/media/video/samsung/Kconfig
+		M	drivers/media/video/samsung/Makefile
+
+
+v2.6.28.6-s3c64xx-r4: Jonghun Han
+        - Official Release (09.03.24)
+
+v2.6.28.6-s3c64xx-r4d0: Jonghun Han
+
+v2.6.28.6-s3c64xx-r4d1: Kyoungil Kim
+	- The last tag for s3c64xx branch(09.03.24)
+
+rel-0-0-0 : Kwanghyun La  (Nov.10.2008)
+	It's not fixed version , just only initial copy version for
+	        estimation.
+
+previous samsung-ap-2.6 repository ChangeLog_s5pc1xx for s5pc1xx branch
+-----------------------------------------------------------------------
+dev-0-0-1 : Ilho Lee
+dev-0-0-2 : Ilho Lee
+	Touchscreen D/D added, but Ethernet D/D is being adding.
+
+dev-0-0-3 : Jongpill Lee
+	Support ADC driver and merge adc-s3c64xx.c and adc-s3c24xx.c file
+
+	Removed Files:
+		R A arch/arm/plat-s3c64xx/adc-s3c64xx.c
+
+	Added Files:
+		A arch/arm/plat-s3c/adc.c
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c/Kconfig
+		M arch/arm/plat-s3c/Makefile
+		M arch/arm/plat-s3c/include/plat/adc.h
+		M drivers/char/Kconfig
+
+dev-0-0-4 : Jongpill Lee
+	Bug fixed on ADC driver
+
+	Modified Files:
+		M arch/arm/plat-s3c/adc.c
+	
+dev-0-0-5 : Ilho Lee
+	SMC9115 ethernet D/D is working(small_root only)
+
+dev-0-0-6: Jinsung Yang
+	- NAND driver support
+
+	Added files:
+		A arch/arm/configs/smdk6410mtd_defconfig
+		A arch/arm/plat-s3c/include/plat/partition.h
+		A drivers/mtd/nand/s3c_nand.c
+
+	Modified files:
+		M arch/arm/mach-s3c6400/include/mach/map.h
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c/Kconfig
+		M arch/arm/plat-s3c/include/plat/nand.h
+		M arch/arm/plat-s3c/include/plat/regs-nand.h
+		M arch/arm/plat-s3c64xx/devs.c
+		M drivers/mtd/nand/Kconfig
+		M drivers/mtd/nand/Makefile
+
+dev-0-0-7: Sungjun Bae 
+	 - I2S WM8580, I2SWM8990 Complete. 
+	 
+	Modified Files:
+	 	M arch/arm/configs/smdk6410mtd_defconfig arch/arm/configs/smdk6410nfs_defconfig
+		M arch/arm/plat-s3c64xx/include/plat/gpio-bank-d.h
+		M arch/arm/plat-s3c64xx/include/plat/regs-clock.h include/sound/soc.h
+		M sound/soc/soc-core.c sound/soc/codecs/wm8580.c sound/soc/codecs/wm8990.c
+
+dev-0-0-8: Sungjun Bae 
+	- DMA File Structure was changed.
+
+	Modified Files:
+		M arch/arm/plat-s3c/Makefile
+	        M arch/arm/plat-s3c/include/mach/s3c-dma.h
+	        M arch/arm/plat-s3c64xx/Makefile
+	Added Files:
+	        A arch/arm/plat-s3c/dma-pl080.c
+	Removed Files:
+	        R arch/arm/plat-s3c64xx/dma-pl080.c
+
+dev-0-0-9: Ilho Lee
+	- PL330 DMA D/D file added
+
+	Modified Files:
+		M arch/arm/plat-s3c/Makefile
+		M arch/arm/plat-s3c/Kconfig
+
+	Added Files:
+	        A arch/arm/plat-s3c/dma-pl330.c
+	        A arch/arm/plat-s3c/dma-pl330-microcode.c
+
+
+dev-0-0-10: eyryu 
+	- Add SMDKC100 initial.
+
+dev-0-0-11: Ilho Lee
+	- DMA definition files changed
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/dma.c
+		M arch/arm/mach-s5pc100/dma.c
+
+dev-0-0-12: Jinsung Yang
+	- gpiolib support for s5pc1xx architecture
+
+	Modified files:
+		M arch/arm/plat-s5pc1xx/include/plat/regs-gpio.h
+		M arch/arm/mach-s5pc100/include/mach/gpio.h
+		M arch/arm/plat-s3c/gpio-config.c
+		M arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h
+
+	Added files:
+		A arch/arm/plat-s5pc1xx/gpiolib.c
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-b.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-c.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-d.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-i.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j4.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp00.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp01.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp02.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp03.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp04.h
+
+dev-0-0-13: eyryu 
+	- Add SMDKC100 clock & serial 
+
+dev-0-0-14: Ilho Lee
+	- ADC D/D added
+
+	Added Files:
+		A arch/arm/plat-s3c24xx/adc.c
+		A arch/arm/plat-s3c64xx/adc.c
+
+dev-0-0-15: eyryu 
+	- Support SMDKC100 UART driver
+	- Add SMDKC100 clock & serial 
+
+rel-1-0-0: Kyoungil Kim
+	- Official Release (08.11.27)
+
+dev-1-0-0: Kyoungil Kim
+
+dev-1-0-1: Ilho Lee
+	- CPU idle added
+
+	Added Files:
+		A arch/arm/mach-s3c6400/idle.h
+		A arch/arm/mach-s5pc100/idle.h
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/cpu.c
+		M arch/arm/mach-s5pc100/cpu.c
+
+dev-1-0-2: Ilho Lee
+	- S3C24XX -> S3C changed in the S3C DMA D/D.
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/dma.c
+		M arch/arm/mach-s5pc100/dma.c
+		M arch/arm/plat-s3c/dma-pl080.c
+		M arch/arm/plat-s3c/dma-pl330.c
+		M arch/arm/plat-s3c/include/plat/s3c-dma.h
+
+dev-1-0-3: Ilho Lee
+	- PL330 DMA D/D is adding..
+
+	Modified Files:
+		M arch/arm/plat-s3c/dma-pl330.c
+		M arch/arm/plat-s3c/dma-pl330-mcode.h
+		M arch/arm/plat-s3c/include/mach/s3c-dma.h
+
+dev-1-0-4: Byungjae Lee
+	- Support File Storage Gadget for SMDK6410 HS USB OTG 
+
+	Modified Files:
+		M arch/arm/mach-s3c6400/include/mach/map.h
+		M arch/arm/mach-s3c6410/cpu.c
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c64xx/devs.c
+		M arch/arm/plat-s3c64xx/include/plat/regs-clock.h
+		M drivers/usb/gadget/Kconfig
+		M drivers/usb/gadget/Makefile
+		M drivers/usb/gadget/epautoconf.c
+		M drivers/usb/gadget/gadget_chips.h
+
+	Added Files:
+		A arch/arm/plat-s3c/include/plat/regs-otg.h
+		A drivers/usb/gadget/s3c_udc.h
+		A drivers/usb/gadget/s3c_udc_otg.c
+
+dev-1-0-5: Ilho Lee
+	- S3C touchscreen D/D changed.
+
+	Modified Files:
+		M drivers/input/touchscreen/s3c-ts.c
+
+dev-1-0-6: Jinsung Yang
+	- Clock system support for S5PC100
+
+	Modified files:
+		M arch/arm/plat-s3c/clock.c
+		M arch/arm/plat-s3c/include/plat/clock.h
+		M arch/arm/plat-s5pc1xx/clock.c
+		M arch/arm/plat-s5pc1xx/s5pc100-clock.c
+		M arch/arm/plat-s5pc1xx/include/plat/pll.h
+		M arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+
+dev-1-0-7: Jinsung Yang
+	- LCD (LTE480WV) support for SMDKC100
+
+	Modified files:
+		drivers/video/samsung/s5pfb_fimd5x.c
+
+dev-1-0-8: Byungjae Lee
+	- Masked HCLK for USB OTG at register clocks 
+
+	Modified files:
+		M arch/arm/plat-s3c64xx/clock.c
+		M drivers/usb/gadget/s3c_udc_otg.c
+
+dev-1-0-9: Ilho Lee
+	- Ext-interrupts handlers added.
+
+	Added Files:
+		A arch/arm/plat-s5pc1xx/irq-eint.c
+
+dev-1-0-10: Ilho Lee
+	- SMC9115 ethernet(100Mbps) D/D ported.
+
+	Added Files:
+		A arch/arm/plat-s5pc1xx/irq-eint.c
+
+dev-1-0-11: Ilho Lee
+	- dev-adc.c deleted.
+
+	Deleted Files:
+		D arch/arm/plat-s3c/dev-adc.c
+
+rel-1-0-1: Kyoungil Kim
+	- Git Release (08.12.09)
+
+v2.6.28-rc7-s5pc1xx-r0d0: Kyoungil Kim
+	- s5pc1xx rc7 initial git tag
+
+v2.6.28-rc7-s5pc1xx-r0d1: Ilho Lee
+	- PL330 DMA D/D changed.
+
+	Modified files:
+		M arch/arm/plat-s3c/dma-pl330.c
+		M arch/arm/plat-s3c/dma-pl330-mcode.h
+
+v2.6.28-rc7-s5pc1xx-r0d2: Jongpill Lee
+	- System Timer support on SMDKC100
+
+	Added Files:
+		A arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+
+v2.6.28-rc7-s5pc1xx-r0d3: Jongpill Lee
+	- System Timer bug fixed
+
+	Modified Files:
+		M ChangeLog_s5pc1xx
+		M arch/arm/mach-s5pc100/cpu.c
+		M arch/arm/mach-s5pc100/include/mach/map.h
+		M arch/arm/mach-s5pc100/include/mach/tick.h
+		M arch/arm/mach-s5pc100/mach-smdkc100.c
+		M arch/arm/plat-s3c/Makefile
+		M arch/arm/plat-s3c/include/plat/map-base.h
+		M arch/arm/plat-s5pc1xx/Makefile
+		M arch/arm/plat-s5pc1xx/include/plat/regs-sys-timer.h
+
+v2.6.28-rc8-s5pc1xx: Kyoungil Kim
+	- s5pc1xx rc8 patch
+
+v2.6.28-rc8-s5pc1xx-r0d0: Kyoungil Kim
+
+v2.6.28-rc8-s5pc1xx-r0d1: Abhilash Kesavan
+	- S5PC100 NAND driver support
+
+	Added Files:
+		A arch/arm/configs/smdkc100mtd_defconfig
+
+	Modified Files:
+		M arch/arm/mach-s5pc100/include/mach/map.h
+		M arch/arm/mach-s5pc100/mach-smdkc100.c
+		M arch/arm/plat-s3c/Kconfig
+		M arch/arm/plat-s3c/include/plat/partition.h
+		M arch/arm/plat-s5pc1xx/devs.c
+		M drivers/mtd/nand/Kconfig
+		M drivers/mtd/nand/s3c_nand.c
+
+v2.6.28-rc8-s5pc1xx-r0d2: Jinsung Yang
+	- Fix for wrong comments
+
+v2.6.28-rc8-s5pc1xx-r0d3: Jinsung Yang
+	- Merge from s3c64xx branch
+
+v2.6.28-rc8-s5pc1xx-r0d4: Abhilash Kesavan
+	- Touch-up for Nand
+
+	Modified Files:
+		M arch/arm/configs/smdkc100mtd_defconfig
+		M arch/arm/mach-s5pc100/mach-smdkc100.c
+
+
+v2.6.28-rc8-s5pc1xx-r0d5: Abhilash Kesavan
+	- Support for HS-MMC and USB 
+
+	Added Files:
+		A       arch/arm/mach-s5pc100/include/mach/usb-control.h
+		A       arch/arm/mach-s5pc100/setup-sdhci.c
+
+	Modified Files:
+		M       arch/arm/configs/smdkc100mtd_defconfig
+		M       arch/arm/configs/smdkc100nfs_defconfig
+		M       arch/arm/mach-s5pc100/Kconfig
+		M       arch/arm/mach-s5pc100/Makefile
+		M       arch/arm/mach-s5pc100/cpu.c
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s3c/include/plat/sdhci.h
+		M       arch/arm/plat-s5pc1xx/devs.c
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-sys.h
+		M       drivers/mmc/host/Kconfig
+		M       drivers/mmc/host/sdhci-s3c.c
+		M       drivers/usb/Kconfig
+		M       drivers/usb/gadget/Kconfig
+		M       drivers/usb/gadget/f_rndis.c
+		M       drivers/usb/gadget/s3c_udc_otg.c
+		M       drivers/usb/host/ohci-hcd.c
+		M       drivers/usb/host/ohci-s3c2410.c
+
+v2.6.28-rc8-s5pc1xx-r0d6: Ilho Lee
+	- Touchscreen D/D got enabled and PL330 S&G DMA operations supported.
+
+	Modified Files:
+		M arch/arm/mach-s5pc100/mach-smdkc100.c
+		M arch/arm/plat-s3c/dma-pl330.c
+
+v2.6.28-rc8-s5pc1xx-r0d7: Abhilash Kesavan
+	- Support for HS-MMC for S5PC1XX (Completed)
+
+	Added Files:
+		A	drivers/mmc/host/s3c-hsmmc.c
+		A	drivers/mmc/host/s3c-hsmmc.h
+		A	arch/arm/plat-s5pc1xx/include/plat/regs-hsmmc.h
+
+	Deleted Files:	
+		D       arch/arm/mach-s5pc100/setup-sdhci.c
+
+	Modified Files:
+	        M       arch/arm/configs/smdkc100mtd_defconfig
+		M       arch/arm/configs/smdkc100nfs_defconfig
+	        M       arch/arm/mach-s5pc100/Kconfig
+		M       arch/arm/mach-s5pc100/Makefile
+		M       arch/arm/mach-s5pc100/cpu.c
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+	        M       arch/arm/plat-s5pc1xx/devs.c
+	        M       drivers/mmc/host/Kconfig
+	        M       drivers/mmc/host/Makefile
+
+v2.6.28-rc8-s5pc1xx-r0d8: Jongpill Lee
+	- Bug fixed on clock
+
+	Modified Files:
+		M	arch/arm/plat-s3c/clock.c
+
+v2.6.28-rc8-s5pc1xx-r0d9: Abhilash Kesavan
+	- Support for ADC and PWM for S5PC100
+
+	Added Files:
+		A	arch/arm/plat-s5pc1xx/adc.c
+		A	arch/arm/plat-s5pc1xx/pwm-s5pc100.c
+		A	arch/arm/plat-s5pc1xx/pwm-s5pc100.h
+
+	Modified Files:
+		M	arch/arm/configs/smdkc100mtd_defconfig
+		M	arch/arm/configs/smdkc100nfs_defconfig
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s3c/Kconfig
+		M	arch/arm/plat-s3c/include/plat/regs-timer.h
+		M	arch/arm/plat-s5pc1xx/Kconfig
+		M	arch/arm/plat-s5pc1xx/Makefile
+		M	drivers/mmc/host/s3c-hsmmc.c
+		M	drivers/video/samsung/s3cfb.h
+		M	drivers/video/samsung/s3cfb_fimd5x.c
+
+v2.6.28-rc8-s5pc1xx-r1: Kyoungil Kim
+	- Internal Release(09.01.12)
+
+v2.6.28-rc8-s5pc1xx-v1: Kyoungil Kim
+	- Official Release(09.01.12)
+
+v2.6.28-rc8-s5pc1xx-r1d0: Kyoungil Kim
+
+v2.6.28-rc8-s5pc1xx-r1d1: JongPill Lee
+	- Support IDLE Function on S5PC100
+
+	Added Files:
+		A	arch/arm/plat-s5pc1xx/include/plat/regs-power.h
+
+	Modified Files:
+		M	arch/arm/mach-s5pc100/cpu.c
+		M	arch/arm/mach-s5pc100/include/mach/system.h
+
+v2.6.28-rc8-s5pc1xx-r1d2: Abhilash Kesavan
+	- Support OneNand on S5PC100 (I)
+
+	Added Files:
+		A       arch/arm/plat-s3c/include/plat/regs-onenand.h
+
+	Modified Files:
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c/include/plat/partition.h
+		M       drivers/mtd/onenand/Makefile
+		M       drivers/mtd/onenand/onenand_bbt.c
+		M       drivers/mtd/onenand/s3c_onenand.c
+		M       drivers/mtd/onenand/s3c_onenand.h
+
+v2.6.28-rc8-s5pc1xx-r1d3: Kyoungil Kim
+	- Support Keypad on S5PC100
+
+	Modified Files:
+		M	arch/arm/configs/smdkc100_defconfig
+		M	arch/arm/configs/smdkc100mtd_defconfig
+		M	arch/arm/configs/smdkc100nfs_defconfig
+		M	arch/arm/mach-s5pc100/include/mach/map.h
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s5pc1xx/clock.c
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/input/keyboard/Kconfig
+		M	drivers/input/keyboard/s3c-keypad.h
+
+v2.6.28-rc8-s5pc1xx-r1d4: Abhilash Kesavan
+	- Support HS-SPI on S5PC100
+
+	Added Files:
+		A       arch/arm/plat-s3c/include/plat/regs-spi.h
+		A       drivers/spi/hspi-s3c.c
+		A       drivers/spi/hspi-s3c.h
+		A	drivers/spi/spi-dev.c
+		A	drivers/spi/spi-dev.h
+
+	Modified Files:
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+	        M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/spi/Kconfig
+		M	drivers/spi/Makefile
+
+v2.6.28-rc8-s5pc1xx-r1d5: Jongpill Lee
+	- Support APM on S5PC100
+
+	Added Files:
+		A       arch/arm/plat-s5pc1xx/include/plat/pm.h
+		A       arch/arm/plat-s5pc1xx/pm.c
+		A       arch/arm/mach-s5pc100/pm.c
+		A       arch/arm/plat-s5pc1xx/sleep.S
+
+	Modified Files:
+		M       arch/arm/mach-s5pc100/Makefile
+		M       arch/arm/mach-s5pc100/include/mach/regs-irq.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s5pc1xx/Makefile
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-power.h
+		M       arch/arm/plat-s5pc1xx/s5pc100-clock.c
+		M       drivers/serial/s5pc100.c
+		M       drivers/serial/samsung.c
+		M       drivers/serial/samsung.h
+		M       drivers/video/samsung/s3cfb_fimd5x.c
+
+v2.6.28-rc8-s5pc1xx-r1d6: Jongpill Lee
+	- Support RTC Wakeup from Sleep mode
+
+	Modified Files:
+		M arch/arm/plat-s5pc1xx/pm.c
+
+v2.6.28-rc8-s5pc1xx-r1d7: PyoungJae Jung/Jiun Yu
+	- Support MFC driver
+	
+	Modified Files:
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s3c/include/plat/devs.h
+		M	arch/arm/plat-s5pc1xx/devs.c
+	 
+v2.6.28-rc8-s5pc1xx-r2: Kyoungil Kim
+	- Official Release(09.01.23)
+
+v2.6.28-rc8-s5pc1xx-r2d0: Kyoungil Kim
+
+v2.6.28-rc8-s5pc1xx-r2d1: Byungjae Lee
+	- Support CDC Ethernet and RNDIS
+	- for SMDKc100 UBS OTG Deive role on DMA mode
+	
+	Modified Files:
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s3c/include/plat/regs-otg.h
+		M	drivers/usb/gadget/Kconfig
+		M	drivers/usb/gadget/epautoconf.c
+		M	drivers/usb/gadget/s3c_udc.h
+		M	drivers/usb/gadget/s3c_udc_otg.c
+		M	drivers/usb/gadget/u_ether.c
+
+	Added Files:
+		A	drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+		A	drivers/usb/gadget/s3c_udc_otg_xfer_slave.c
+
+
+v2.6.28-rc8-s5pc1xx-r2d2: Jinsung Yang
+	- S5PC100 FIMC Driver
+	- Compilable version
+
+	Modified files:
+		M       drivers/media/video/Kconfig
+		M       drivers/media/video/Makefile
+		M       include/linux/i2c-id.h
+	
+	Added files:
+		A       arch/arm/plat-s5pc1xx/include/plat/fimc.h
+		A       arch/arm/plat-s5pc1xx/include/plat/regs-fimc.h
+		A       drivers/media/video/samsung/Kconfig
+		A       drivers/media/video/samsung/Makefile
+		A       drivers/media/video/samsung/s3c_fimc.h
+		A       drivers/media/video/samsung/s3c_fimc4x_regs.c
+		A       drivers/media/video/samsung/s3c_fimc_cfg.c
+		A       drivers/media/video/samsung/s3c_fimc_core.c
+		A       drivers/media/video/samsung/s3c_fimc_v4l2.c
+		A       drivers/media/video/samsung/s5k4ba.c
+		A       drivers/media/video/samsung/s5k4ba.h
+
+v2.6.28-rc8-s5pc1xx-r2d3: Jinsung Yang
+	- S5PC100 FIMC device setup support
+
+	Modified files:
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s5pc1xx/Kconfig
+		M       arch/arm/plat-s5pc1xx/Makefile
+
+	Added files:
+		A       arch/arm/plat-s5pc1xx/dev-fimc0.c
+		A       arch/arm/plat-s5pc1xx/dev-fimc1.c
+		A       arch/arm/plat-s5pc1xx/dev-fimc2.c
+		A       arch/arm/plat-s5pc1xx/setup-fimc0.c
+		A       arch/arm/plat-s5pc1xx/setup-fimc1.c
+		A       arch/arm/plat-s5pc1xx/setup-fimc2.c
+
+v2.6.28-rc8-s5pc1xx-r2d4: Kyoungil Kim
+	- modified otg_phy_init proto type
+
+	Modified files:
+		M       drivers/usb/gadget/s3c_udc_otg.c
+
+v2.6.28-rc8-s5pc1xx-r2d5: Hatim Ali
+	- S5PC100 Watchdog Timer support
+
+	Modified files:
+		M	arch/arm/configs/smdkc100nfs_defconfig
+		M	arch/arm/mach-s5pc100/include/mach/map.h
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/watchdog/Kconfig
+
+v2.6.28-rc8-s5pc1xx-r2d6: Abhilash Kesavan
+	- S5PC100 AC97 WM9713 support
+
+	Modified files:
+		M	arch/arm/mach-s5pc100/dma.c
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s5pc1xx/devs.c
+		M       sound/soc/codecs/wm9713.c
+		M       sound/soc/s5pc1xx/Kconfig
+		M       sound/soc/s5pc1xx/Makefile
+
+	Added Files:
+		A	sound/soc/s5pc1xx/s5pc1xx-ac97.c
+		A	sound/soc/s5pc1xx/s5pc1xx-ac97.h
+		A	sound/soc/s5pc1xx/smdkc100_wm9713.c
+
+v2.6.28-rc8-s5pc1xx-r2d7: Jinsung Yang
+	- S5PC100 FIMC driver
+	- Camera input and memory output support
+	- Both camera channels (A and B) support
+	- Preview and capture related functionalities support
+	- S5K3BA and S5K4BA module support
+
+v2.6.28-rc8-s5pc1xx-r2d8: Hatim Ali
+	- S5PC100 Notification LED support
+
+	Modified files:
+		M   	arch/arm/Kconfig
+		M   	arch/arm/mach-s5pc100/Makefile
+
+	Added Files:
+		A	arch/arm/mach-s5pc100/leds-s5pc100.c
+		A	arch/arm/mach-s5pc100/leds.c
+		A	arch/arm/mach-s5pc100/leds.h
+
+v2.6.28-rc8-s5pc1xx-r2d9: Abhilash Kesavan
+	- Enabled LCD/OSD Support for S5PC100
+
+	Modified files:
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/video/samsung/s3cfb.h
+		M	drivers/video/samsung/s3cfb_spi.c
+
+v2.6.28-rc8-s5pc1xx-r2d10: Jinsung Yang
+	- S5PC100 FIMC driver
+	- Alpha Release
+	- Camera input support
+	- Memory input support
+	- Memory output support
+	- LCD FIFO output support
+	- Both camera channels (A and B) support
+	- Preview and capture related functionalities support
+	- S5K3BA and S5K4BA module support
+
+v2.6.28.6-s5pc1xx: Kyoungil Kim
+
+v2.6.28.6-s5pc1xx-r0d0: Kyoungil Kim
+
+v2.6.28.6-s5pc1xx-r0d1: Abhilash Kesavan
+	- Pre-Beta Version
+
+v2.6.28.6-s5pc1xx-r0d2: Jinsung Yang
+	- FIMC support for SMDKC100
+	- Including reserved memory feature with bootmem
+	- All functions have been finished on the planning except for 'Input Rotator' with LCD FIFO Output
+
+
+v2.6.28.6-s5pc1xx-r0d3: Abhilash Kesavan
+	- IrDA support for S5PC100
+
+	Modified files:
+		M   	drivers/net/irda/s3c-sir.c
+		M   	include/net/irda/irda_device.h
+
+v2.6.28.6-s5pc1xx-r0d4: Jae-Cheol Lee
+	- Support CPUFREQ for SMDKC100
+	- DFS is only enabled, not DVS.
+	
+	Modified files:
+		M	arch/arm/plat-s5pc1xx/s5pc100-clock.c
+		M 	arch/arm/Kconfig
+		M	arch/arm/plat-s5pc1xx/Makefile
+		M	arch/arm/plat-s3c/clock.c
+
+	Added files:
+		A	arch/arm/plat-s5pc1xx/s5pc1xx-cpufreq.c
+		A	arch/arm/plat-s5pc1xx/changediv.S
+		A	arch/arm/plat-s5pc1xx/ltc3714.c
+
+v2.6.28.6-s5pc1xx-r0d5: Kukjin Kim
+	- System Timer Modified for EVT1
+
+	Modified files:
+		M	arch/arm/plat-s5pc1xx/include/plat/regs-sys-timer.h
+		M	arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+
+v2.6.28.6-s5pc1xx-r0d6: Jonghun Han
+        - S5PC100 FIMG-2D driver support
+        Modified files:
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s3c/include/plat/regs-g2d.h
+		M       arch/arm/plat-s5pc1xx/devs.c
+		M       drivers/media/video/samsung/g2d/Kconfig
+		M       drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+
+v2.6.28.6-s5pc1xx-r0d7: Jae-Cheol Lee
+	- Support SMDKC100 EVT1 POP type (Onenand+mDDR+OneDRAM)
+	Modified files:
+		M	arch/arm/configs/smdkc100onenand_defconfig
+		M	arch/arm/plat-s5pc1xx/cpu.c
+		M	arch/arm/plat-s5pc1xx/s5pc100-clock.c
+
+v2.6.28.6-s5pc1xx-r0d8: PyoungJae Jung/JiUn Yu
+	- Support MFC (FIMV) for s5pc100
+	- MFC driver is Alpha version
+	- remove CMM support and support bootmem memory secure way
+	- change directory name to separate to S3C6410 MFC driver
+
+	Added files:
+		A	drivers/media/video/samsung/mfc40/command_control_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_errorno.h
+		A	drivers/media/video/samsung/mfc40/h263_dec_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_fw.h
+		A	drivers/media/video/samsung/mfc40/h264_dec_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c-mfc.h
+		A	drivers/media/video/samsung/mfc40/h264_enc_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_interface.h
+		A	drivers/media/video/samsung/mfc40/Kconfig
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_intr.c
+		A	drivers/media/video/samsung/mfc40/Makefile
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_intr.h
+		A	drivers/media/video/samsung/mfc40/mp2_dec_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.c
+		A	drivers/media/video/samsung/mfc40/mp4_dec_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.h
+		A	drivers/media/video/samsung/mfc40/mp4_dec_order_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_memory.c
+		A	drivers/media/video/samsung/mfc40/mp4_enc_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_memory.h
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_opr.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.h
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_opr.h
+		A	drivers/media/video/samsung/mfc40/s3c-mfc.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_types.h
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_common.c
+		A	drivers/media/video/samsung/mfc40/vc1_dec_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_common.h
+		A	arch/arm/plat-s5pc1xx/include/plat/regs-mfc.h
+
+
+	Modified files:
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+
+v2.6.28.6-s5pc1xx-r0d9: Jonghun Han
+        - S5PC100 FIMG-3D driver support
+        Modified files:
+			M	arch/arm/plat-s3c/dma-pl330.c
+			M	arch/arm/plat-s3c/include/mach/s3c-dma.h
+			M	drivers/char/s3c_mem.c
+			M	drivers/char/s3c_mem.h
+			M	drivers/media/video/samsung/g3d/Kconfig
+			M	drivers/media/video/samsung/g3d/s3c_fimg3d.h
+
+v2.6.28.6-s5pc1xx-r0d10: Seungchull Suh
+	- SMC9115 works correctly. Before, full-duplex mode is not set.
+			M	drivers/net/smc911x.c
+
+
+v2.6.28.6-s5pc1xx-r1: Kyoungil Kim
+	- Official Release(09.03.20)
+
+v2.6.28.6-s5pc1xx-r1d0: Kyoungil Kim
+
+v2.6.28.6-s5pc1xx-r1d1: Jaeryul Oh
+	- Support JPEG for s5pc100
+
+	Added files:
+		A	drivers/media/video/samsung/jpeg_v2/jpg_mem.c
+		A	drivers/media/video/samsung/jpeg_v2/jpg_misc.c
+		A	drivers/media/video/samsung/jpeg_v2/s3c-jpeg.c
+		A	drivers/media/video/samsung/jpeg_v2/jpg_opr.c
+		A	drivers/media/video/samsung/jpeg_v2/log_msg.c
+
+		A	drivers/media/video/samsung/jpeg_v2/log_msg.h
+		A	drivers/media/video/samsung/jpeg_v2/jpg_conf.h
+		A	drivers/media/video/samsung/jpeg_v2/jpg_mem.h
+		A	drivers/media/video/samsung/jpeg_v2/jpg_misc.h
+		A	drivers/media/video/samsung/jpeg_v2/regs-jpeg.h
+		A	drivers/media/video/samsung/jpeg_v2/s3c-jpeg.h
+		A	drivers/media/video/samsung/jpeg_v2/jpg_opr.h
+		A	drivers/media/video/samsung/jpeg_v2/Makefile
+		A	drivers/media/video/samsung/jpeg_v2/Kconfig
+
+	Modified files:
+		M	arch/arm/mach-s5pc100/include/mach/map.h
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/media/video/samsung/Kconfig
+		M	drivers/media/video/samsung/Makefile
+
+v2.6.28.6-s5pc1xx-r1d2: Kyoungil Kim
+	- The last tag for s5pc1xx branch(09.03.24)
+
+current linux-2.6-samsung repository ChangeLog
+-----------------------------------------------------------------------
+v2.6.28.6-samsung: Kyoungil Kim
+	- Merge s3c64xx branch and s5pc1xx branch to master branch(09.03.24)
+
+v2.6.28.6-samsung-r0d0: Kyoungil Kim
+
+v2.6.28.6-samsung-r0d1: Kukjin Kim
+	- Remove swp file
+
+	Removed Files:
+		R	arch/arm/plat-s3c/include/plat/.cpu-freq.h.swp 
+
+v2.6.28.6-samsung-r0d2: Kyoungil Kim
+	- Unified the ChangeLog files
+
+	Modified Files:
+		M       ChangeLog
+
+	Deleted Files:
+		D	ChangeLog_s3c64xx	
+		D	ChangeLog_s5pc1xx
+
+v2.6.28.6-samsung-r0d3: Kukjin Kim
+	- System Timer initialize modified
+
+	Modified Files:
+		M	arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+
+v2.6.28.6-samsung-r0d4: Kukjin Kim
+	- System Timer init and setup function remodified
+
+	Modified Files:
+		M	arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+
+v2.6.28.6-samsung-r0d5: Kukjin Kim
+	- Support extcsd revision 1.3
+
+	Modified Files:
+		M	drivers/mmc/core/mmc.c
+
+v2.6.28.6-samsung-r0d6: Jaeryul Oh
+	- JPEG for c100 is updated
+
+	Modified Files:
+		M   drivers/media/video/samsung/Kconfig
+		M   drivers/media/video/samsung/jpeg_v2/jpg_mem.h
+		M   drivers/media/video/samsung/jpeg_v2/jpg_opr.c
+		M   drivers/media/video/samsung/jpeg_v2/jpg_opr.h
+		M   drivers/media/video/samsung/jpeg_v2/s3c-jpeg.c
+		M   drivers/media/video/samsung/jpeg_v2/s3c-jpeg.h
+
+v2.6.28.6-samsung-r0d7: Jae-Cheol Lee
+	- Adopting system timer h/w bug workaround
+
+	Modified files:
+	 	M       arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+
+v2.6.28.6-samsung-r0d8: Byungjae Lee
+	- Implemented OTG Host role for SMDKC100
+	  OTG Host role support only MassStorage and HID(Keyboard, Mouse)
+
+	Modified Files:
+		M	arch/arm/configs/smdkc100mtd_defconfig
+		M	arch/arm/configs/smdkc100onenand_defconfig
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	arch/arm/mach-s5pc100/include/mach/map.h
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/usb/host/Kconfig
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-debug.h
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.h
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.h
+		M	drivers/usb/host/s3c-otg/s3c-otg-oci.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-oci.h
+
+v2.6.28.6-samsung-r0d9: Jonghun Han
+	- Support YUV422 Interleave output for FIMC
+
+	Modified Files:
+		M	drivers/media/video/samsung/fimc/s3c_fimc.h
+		M	drivers/media/video/samsung/fimc/s3c_fimc3x_regs.c
+		M	drivers/media/video/samsung/fimc/s3c_fimc_cfg.c
+
+v2.6.28.6-samsung-r0d10: Kyoungil Kim
+	- change the smc911 driver from full duplex to half duplex
+
+	Modified Files:
+		M	drivers/net/smc911x.c
+
+v2.6.28.6-samsung-r0d11: Jae-Cheol Lee
+	- Support SMDK6440 EVT0 board
+
+	Modified Files:
+		M	arch/arm/mach-s5p6440/mach-smdk6440.c
+		M	arch/arm/plat-s5p64xx/include/plat/pll.h
+
+v2.6.28.6-samsung-r0d12: Kyoungil Kim
+	- Prevent for SMDKC100 MM IP
+
+v2.6.28.6-samsung-r0d13: Jae-Cheol Lee
+	- Fixed PLL calculation bug in MASK value
+
+	Modified Files:
+		M 	arch/arm/plat-s3c64xx/include/plat/pll.h
+		M	arch/arm/plat-s5pc1xx/include/plat/pll.h
+
+v2.6.28.6-samsung-r0d14: Byungjae Lee
+	- Implemented USB OTG Device role for SMDK6440
+
+	Modified Files:
+		M	arch/arm/configs/smdk6440ramdisk_defconfig
+		M	arch/arm/mach-s5p6440/mach-smdk6440.c
+		M	arch/arm/plat-s3c/include/plat/regs-otg.h
+		M	arch/arm/plat-s5p64xx/devs.c
+		M	arch/arm/plat-s5p64xx/include/plat/regs-clock.h
+		M	drivers/usb/gadget/Kconfig
+		M	drivers/usb/gadget/s3c_udc.h
+		M	drivers/usb/gadget/s3c_udc_otg.c
+
+v2.6.28.6-samsung-r0d15: Jongpill Lee
+	- Modify code for SPi
+
+	Modified Files
+		M	drivers/spi/hspi-s3c64xx.c
+
+v2.6.28.6-samsung-r1: Jaeryul Oh
+	- Official Release (09.04.06)
+
+v2.6.28.6-samsung-r1d0: Jae-Cheol Lee
+	- Modified default configuration for SMDK6440
+	Modified Files:
+		M	arch/arm/configs/smdk6440ramdisk_defconfig
+
+v2.6.28.6-samsung-r1d1: Jaeryul Oh
+	- MFC, JPEG suspend/resume related code for SMDK6410 changed
+	Modified Files :
+		M       drivers/media/video/samsung/jpeg/jpg_mem.c
+		M       drivers/media/video/samsung/jpeg/s3c-jpeg.c
+		M       drivers/media/video/samsung/mfc10/s3c_mfc.c
+
+v2.6.28.6-samsung-r1d2: Jae-Cheol Lee
+	- Modified voltage regulator control code for SMDKC100
+	Modified Files :
+		M	arch/arm/plat-s5pc1xx/ltc3714.c
+
+v2.6.28.6-samsung-r1d3: Jae-Cheol Lee
+	- Support CHIPID for S5P6440
+	Modified Files:
+		M	arch/arm/plat-s5pc1xx/cpu.c
+
+v2.6.28.6-samsung-r1d4: Jiun Yu, PyoungJae Jung
+	- fixed cache issue in MFC driver
+
+v2.6.28.6-samsung-r1d5: Jae-Cheol Lee
+	- Change Console UART port 0 -> 1 for SMDK6440
+	Modified Files:
+		M	arch/arm/configs/smdk6440ramdisk_defconfig
+
+v2.6.28.6-samsung-r1d6: Byungjae Lee
+	- Fixed BUG USB OTG Device role for SMDK6440 and C100
+
+	Modified Files:
+		M	drivers/usb/gadget/s3c_udc_otg.c
+
+v2.6.28.6-samsung-r1d7: Jongpill LEe
+	- Support RTC for S5P6440
+
+	Modified files:
+		M       arch/arm/mach-s5p6440/include/mach/map.h
+		M       arch/arm/mach-s5p6440/mach-smdk6440.c
+		M       arch/arm/plat-s3c/include/plat/regs-rtc.h
+		M       arch/arm/plat-s5p64xx/devs.c
+		M       drivers/rtc/Kconfig
+		M       drivers/rtc/rtc-s3c.c
+
+v2.6.28.6-samsung-r2: Kyoungil Kim
+	- Official Release for SMDK6410(09.04.09)
+
+v2.6.28.6-samsung-r2d0: Jongpill LEe
+        - Support Watchdog timer for S5P6440
+
+	Modified Files:
+		M       arch/arm/mach-s5p6440/include/mach/map.h
+		M       arch/arm/mach-s5p6440/mach-smdk6440.c
+		M       arch/arm/plat-s5p64xx/devs.c
+		M       drivers/rtc/rtc-s3c.c
+		M       drivers/watchdog/Kconfig
+
+v2.6.28.6-samsung-r2d1: Jongpill Lee
+	- Support ADC Driver for S5P6440
+
+	Modified Files:
+		M       arch/arm/mach-s5p6440/include/mach/map.h
+		M       arch/arm/mach-s5p6440/mach-smdk6440.c
+		M       arch/arm/plat-s3c64xx/adc.c
+		M       arch/arm/plat-s5p64xx/Kconfig
+		M       arch/arm/plat-s5p64xx/devs.c
+
+v2.6.28.6-samsung-r2d2: Jiun, Yu, PyoungJae Jung
+	- fixed cache issue in MFC1.0(6410) driver
+
+	Modified Files :
+		M	drivers/media/video/samsung/mfc10/s3c_mfc_set_config.c
+
+v2.6.28.6-samsung-r2d3: Jiun, Yu, PyoungJae Jung
+	- fixed cache issue in MFC1.0(6410) driver
+	- changed cache update way to dma_cache_maint
+
+	Modified Files :
+		M	drivers/media/video/samsung/mfc10/s3c_mfc_set_config.c
+		M	drivers/media/video/samsung/mfc10/s3c_mfc.c
+		M	drivers/media/video/samsung/mfc10/s3c_mfc_databuf.c
+		M	drivers/media/video/samsung/mfc10/s3c_mfc_instance.c
+		M	drivers/media/video/samsung/mfc10/s3c_mfc_set_config.c
+
+v2.6.28.6-samsung-r2d4: Jae-Cheol Lee
+	- Support DVFS on SMDK6440 board
+
+	Modified Files :
+		M	arch/arm/Kconfig
+		M	arch/arm/plat-s5p64xx/Makefile
+		M	arch/arm/plat-s5p64xx/clock.c
+		M 	arch/arm/plat-s5p64xx/ltc3714.c
+		M 	arch/arm/plat-s5p64xx/s5p64xx-cpufreq
+
+v2.6.28.6-samsung-r2d5: Jongpill Lee
+	- Modify some code for S5PC100
+
+	Modified Files :
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-power.h
+
+v2.6.28.6-samsung-r2d6: Jae-Cheol Lee
+	- Support backlight class by PWM on SMDK6440 board
+
+	Added Files :
+		A	arch/arm/plat-s5p64xx/pwm.c
+	
+	Modified Files :
+		M	arch/arm/configs/smdk6440ramdisk_defconfig
+		M	arch/arm/mach-s5p6440/cpu.c
+		M	arch/arm/mach-s5p6440/mach-smdk6440.c
+		M	arch/arm/plat-s3c/include/plat/clock.h
+		M	arch/arm/plat-s3c/pwm-clock.c
+		M	arch/arm/plat-s5p64xx/Kconfig
+		M	arch/arm/plat-s5p64xx/Makefile
+		M	arch/arm/plat-s5p64xx/clock.c
+		M	arch/arm/plat-s5p64xx/pwm.c
+		M	drivers/video/samsung/s3cfb_fimd5x.c
+
+v2.6.28.6-samsung-r2d7: Jaeryul Oh
+	- MFC suspend/resume related code for SMDK6410 updated
+	Modified Files :
+		M       drivers/media/video/samsung/mfc10/s3c_mfc.c
+		M       drivers/media/video/samsung/mfc10/s3c_mfc_config.h
+
+v2.6.28.6-samsung-r2d8: Jinsung Yang
+	- The 1st phase of MIPI-CSI support
+
+	Addes files:
+		A       arch/arm/plat-s5pc1xx/dev-csis.c
+		A	arch/arm/plat-s5pc1xx/include/plat/csis.h
+		A	arch/arm/plat-s5pc1xx/include/plat/regs-csis.h
+		A	arch/arm/plat-s5pc1xx/setup-csis.c
+		A	drivers/media/video/samsung/fimc/s3c_csis.c
+		A	drivers/media/video/samsung/fimc/s3c_csis.h
+	
+	Modified files:
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s5pc1xx/Kconfig
+		M       arch/arm/plat-s5pc1xx/Makefile
+		M       arch/arm/plat-s5pc1xx/clock.c
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+		M       drivers/media/video/samsung/fimc/Kconfig
+		M       drivers/media/video/samsung/fimc/Makefile
+		M       drivers/media/video/samsung/fimc/s3c_fimc.h
+
+v2.6.28.6-samsung-r2d9: Jongpill Lee
+	- Temporary support APM for S5P6440
+
+	Added Files:
+		A       arch/arm/mach-s5p6440/pm.c
+		A       arch/arm/plat-s5p64xx/include/plat/pm.h
+		A       arch/arm/plat-s5p64xx/pm.c
+		A       arch/arm/plat-s5p64xx/sleep.S
+
+	Modified Files:
+		M       arch/arm/mach-s5p6440/Makefile
+		M       arch/arm/mach-s5p6440/include/mach/gpio.h
+		M       arch/arm/mach-s5p6440/include/mach/regs-irq.h
+		M       arch/arm/mach-s5p6440/mach-smdk6440.c
+		M       arch/arm/plat-s5p64xx/Makefile
+		M       arch/arm/plat-s5p64xx/include/plat/regs-gpio.h
+		M       drivers/video/samsung/s3cfb_fimd5x.c
+
+v2.6.28.6-samsung-r2d10: Jae-Cheol Lee
+	- Support backlight class driver by PWM on SMDK6410
+
+	Added Files:
+		A 	arch/arm/plat-s3c64xx/pwm.c
+
+	Modified Files:
+		M	arch/arm/mach-s5p6440/include/mach/gpio.h
+		M   	arch/arm/mach-s3c6410/cpu.c
+		M   	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M   	arch/arm/plat-s3c64xx/Kconfig
+		M   	arch/arm/plat-s3c64xx/Makefile
+
+v2.6.28.6-samsung-r2d11: jongpill Lee
+	- bug fix on GPIO for S5P6440
+
+	MOdified Files:
+		M	arch/arm/mach-s5p6440/include/mach/gpio.h	
+
+v2.6.28.6-samsung-r2d12: jongpill Lee
+	- APM Support for S5P6440
+
+	Modified Files:
+		M       arch/arm/plat-s3c64xx/sleep.S
+
+v2.6.28.6-samsung-r2d13: Jae-Cheol Lee
+	- Support old style PWM driver for SMDK6410
+
+	Modified Files:
+		M   	arch/arm/plat-s3c64xx/Kconfig
+		M   	arch/arm/plat-s3c64xx/Makefile
+		M   	arch/arm/plat-s3c64xx/pwm-s3c6410.c
+		M   	arch/arm/plat-s3c64xx/pwm-s3c6410.h
+		M   	drivers/video/samsung/s3cfb_fimd4x.c
+
+v2.6.28.6-samsung-r2d14: Jongpill Lee
+	- Support reboot command
+
+	Modified Files:
+		M       arch/arm/mach-s3c6400/include/mach/system.h
+		M       arch/arm/mach-s5p6440/include/mach/system.h
+		M       arch/arm/plat-s3c/include/plat/regs-watchdog.h
+
+v2.6.28.6-samsung-r2d15: Jaeryul Oh
+	- MFC memory buffer size is changed
+	Modified Files :
+		M       drivers/media/video/samsung/mfc10/s3c_mfc_config.h
+
+v2.6.28.6-samsung-r2d16: Abhilash Kesavan
+	- Support backlight class driver by PWM on SMDKC100
+
+	Added Files:
+		A 	arch/arm/plat-s5pc1xx/pwm.c
+
+	Modified Files:
+		M   	arch/arm/mach-s5pc100/cpu.c
+		M   	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M   	arch/arm/plat-s5pc1xx/Kconfig
+		M   	arch/arm/plat-s5pc1xx/Makefile
+		M	arch/arm/plat-s3c/include/plat/clock.h
+		M	drivers/video/samsung/s3cfb_fimd5x.c
+		M	drivers/video/backlight/Kconfig
+
+v2.6.28.6-samsung-r2d17: Kyoungil Kim
+	- Modified full speed configuration for gadget
+
+	Modified Files:
+		M       arch/arm/mach-s5p6440/mach-smdk6440.c
+		M       drivers/usb/gadget/s3c_udc_otg.c
+		M       drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+
+v2.6.28.6-samsung-r3: Kyoungil Kim
+	- Official Release for SMDK6410(09.04.23)
+
+v2.6.28.6-samsung-r3d0: Kyoungil Kim
+
+v2.6.28.6-samsung-r3d1: Jaeryul Oh
+	- Clk name that MFC & JPEG (6410) uses is added
+	Modified Files :
+		M       arch/arm/plat-s3c64xx/clock.c
+		M       drivers/media/video/samsung/jpeg/s3c-jpeg.c
+		M       drivers/media/video/samsung/mfc10/s3c_mfc.c
+
+v2.6.28.6-samsung-r3d2: Jae-Cheol Lee
+	- Fixed APM bug on SMDKC100
+	Modified Files:
+		M	arch/arm/plat-s5pc1xx/pm.c
+		M	arch/arm/plat-s5pc1xx/sleep.S
+		M	arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+		M	arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+		M	arch/arm/plat-s5pc1xx/include/plat/regs-gpio.h
+
+v2.6.28.6-samsung-r3d3: Thomas Abraham
+	- Added PM support for USB device on C100.
+	Modified Files:
+		M	drivers/usb/gadget/s3c_udc_otg.c
+		M	drivers/usb/gadget/file_storage.c
+
+v2.6.28.6-samsung-r3d4: Jinsung Yang
+	- S5P6440 Post Processor Support
+	- Just compilable version
+
+	Added files:
+		A       arch/arm/plat-s5p64xx/bootmem.c
+		A       arch/arm/plat-s5p64xx/dev-post.c
+		A       arch/arm/plat-s5p64xx/include/plat/media.h
+		A       arch/arm/plat-s5p64xx/include/plat/post.h
+		A       arch/arm/plat-s5p64xx/include/plat/regs-post.h
+		A       arch/arm/plat-s5p64xx/include/plat/regs-pp.h
+		A       arch/arm/plat-s5p64xx/setup-post.c
+		A       drivers/media/video/samsung/post/s3c_post.h
+		A       drivers/media/video/samsung/post/s3c_post_cfg.c
+		A       drivers/media/video/samsung/post/s3c_post_core.c
+		A       drivers/media/video/samsung/post/s3c_post_regs.c
+		A       drivers/media/video/samsung/post/s3c_post_v4l2.c
+	
+	Modified files:
+		M       arch/arm/mach-s5p6440/include/mach/map.h
+		M       arch/arm/plat-s5p64xx/Makefile
+		M       arch/arm/plat-s5p64xx/clock.c
+		M       drivers/media/video/samsung/Kconfig
+		M       drivers/media/video/samsung/post/Kconfig
+		M       drivers/media/video/samsung/post/Makefile
+
+v2.6.28.6-samsung-r3d5: Thomas Abraham
+        - Fixed PM bug in USB gadget.
+	Modified Files:
+	        M       drivers/usb/gadget/s3c_udc_otg.c
+	
+v2.6.28.6-samsung-r3d6: Abhilash Kesavan
+	- Added PM defconfig (Base), Onenand Platform and Misc PM Fixes
+	Modified Files: 
+	M	drivers/mtd/onenand/generic.c
+	M	drivers/mtd/onenand/s3c_onenand.c
+	M	drivers/media/video/samsung/g3d/s3c_fimg3d.c
+	M	sound/soc/codecs/wm9713.c
+
+	Added File:
+	A	arch/arm/configs/smdkc100pm_defconfig
+
+v2.6.28.6-samsung-r3d7: Jongpill Lee
+	- ADC bug fixed on SMDK6440
+
+	Modified Files:
+		
+		M arch/arm/plat-s5p64xx/adc.c
+
+v2.6.28.6-samsung-r3d8: Jae-Cheol Lee
+	- Support DFS on SMDK6440
+	Modified Files:
+		M 	arch/arm/plat-s5p64xx/clock.c
+
+v2.6.28.6-samsung-r3d9: SungJun Bae 
+	- merged with mfc branch v2.6.28.6-samsung-mfc-r0d0 
+
+v2.6.28.6-samsung-r3d10: Jongpill Lee
+	- Bug fixed on APM driver for S3C6410
+
+	MOdified Files:
+		M arch/arm/plat-s3c64xx/sleep.S
+
+v2.6.28.6-samsung-r4: Kyoungil Kim
+	- Official Release for SMDK6410, 6440, C100(09.04.30)
+
+v2.6.28.6-samsung-r4d0: Kyoungil Kim
+
+v2.6.28.6-samsung-r4d1: Jassi
+	- Addded SPI driver support for S3C6410 and S5P6440 acc to latest
+	Linux-SPI architecture
+
+v2.6.28.6-samsung-r5: Kyoungil Kim
+	- Official Release for SMDK6410, 6440, C100(09.04.30)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/ChangeLog_mfc linux-2.6.28.6/ChangeLog_mfc
--- linux-2.6.28/ChangeLog_mfc	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/ChangeLog_mfc	2009-04-30 09:36:36.000000000 +0200
@@ -0,0 +1,2069 @@
+previous samsung-ap-2.6 repository ChangeLog_s3c64xx for s3c64xx branch
+-----------------------------------------------------------------------
+rel-0-0-0 : Kwanghyun La  (Nov.10.2008)
+	It's not fixed version , just only initial copy version for
+	        estimation.
+
+dev-0-0-1 : Ilho Lee
+dev-0-0-2 : Ilho Lee
+	Touchscreen D/D added, but Ethernet D/D is being adding.
+
+dev-0-0-3 : Jongpill Lee
+	Support ADC driver and merge adc-s3c64xx.c and adc-s3c24xx.c file
+
+	Removed Files:
+		R A arch/arm/plat-s3c64xx/adc-s3c64xx.c
+
+	Added Files:
+		A arch/arm/plat-s3c/adc.c
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c/Kconfig
+		M arch/arm/plat-s3c/Makefile
+		M arch/arm/plat-s3c/include/plat/adc.h
+		M drivers/char/Kconfig
+
+dev-0-0-4 : Jongpill Lee
+	Bug fixed on ADC driver
+
+	Modified Files:
+		M arch/arm/plat-s3c/adc.c
+	
+dev-0-0-5 : Ilho Lee
+	SMC9115 ethernet D/D is working(small_root only)
+
+dev-0-0-6: Jinsung Yang
+	- NAND driver support
+
+	Added files:
+		A arch/arm/configs/smdk6410mtd_defconfig
+		A arch/arm/plat-s3c/include/plat/partition.h
+		A drivers/mtd/nand/s3c_nand.c
+
+	Modified files:
+		M arch/arm/mach-s3c6400/include/mach/map.h
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c/Kconfig
+		M arch/arm/plat-s3c/include/plat/nand.h
+		M arch/arm/plat-s3c/include/plat/regs-nand.h
+		M arch/arm/plat-s3c64xx/devs.c
+		M drivers/mtd/nand/Kconfig
+		M drivers/mtd/nand/Makefile
+
+dev-0-0-7: Sungjun Bae 
+	 - I2S WM8580, I2SWM8990 Complete. 
+	 
+	Modified Files:
+	 	M arch/arm/configs/smdk6410mtd_defconfig arch/arm/configs/smdk6410nfs_defconfig
+		M arch/arm/plat-s3c64xx/include/plat/gpio-bank-d.h
+		M arch/arm/plat-s3c64xx/include/plat/regs-clock.h include/sound/soc.h
+		M sound/soc/soc-core.c sound/soc/codecs/wm8580.c sound/soc/codecs/wm8990.c
+
+dev-0-0-8: Sungjun Bae 
+	- DMA File Structure was changed.
+
+	Modified Files:
+		M arch/arm/plat-s3c/Makefile
+	        M arch/arm/plat-s3c/include/mach/s3c-dma.h
+	        M arch/arm/plat-s3c64xx/Makefile
+	Added Files:
+	        A arch/arm/plat-s3c/dma-pl080.c
+	Removed Files:
+	        R arch/arm/plat-s3c64xx/dma-pl080.c
+
+dev-0-0-9: Ilho Lee
+	- PL330 DMA D/D file added
+
+	Modified Files:
+		M arch/arm/plat-s3c/Makefile
+		M arch/arm/plat-s3c/Kconfig
+
+	Added Files:
+	        A arch/arm/plat-s3c/dma-pl330.c
+	        A arch/arm/plat-s3c/dma-pl330-microcode.c
+
+
+dev-0-0-10: eyryu 
+	- Add SMDKC100 initial.
+
+dev-0-0-11: Ilho Lee
+	- DMA definition files changed
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/dma.c
+		M arch/arm/mach-s5pc100/dma.c
+
+dev-0-0-12: Jinsung Yang
+	- gpiolib support for s5pc1xx architecture
+
+	Modified files:
+		M arch/arm/plat-s5pc1xx/include/plat/regs-gpio.h
+		M arch/arm/mach-s5pc100/include/mach/gpio.h
+		M arch/arm/plat-s3c/gpio-config.c
+		M arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h
+
+	Added files:
+		A arch/arm/plat-s5pc1xx/gpiolib.c
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-b.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-c.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-d.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-i.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j4.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp00.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp01.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp02.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp03.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp04.h
+
+dev-0-0-13: eyryu 
+	- Add SMDKC100 clock & serial 
+
+dev-0-0-14: Ilho Lee
+	- ADC D/D added
+
+	Added Files:
+		A arch/arm/plat-s3c24xx/adc.c
+		A arch/arm/plat-s3c64xx/adc.c
+
+dev-0-0-15: eyryu 
+	- Support SMDKC100 UART driver
+	- Add SMDKC100 clock & serial 
+
+rel-1-0-0: Kyoungil Kim
+	- Official Release (08.11.27)
+
+dev-1-0-0: Kyoungil Kim
+
+dev-1-0-1: Ilho Lee
+	- CPU idle added
+
+	Added Files:
+		A arch/arm/mach-s3c6400/idle.h
+		A arch/arm/mach-s5pc100/idle.h
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/cpu.c
+		M arch/arm/mach-s5pc100/cpu.c
+
+dev-1-0-2: Ilho Lee
+	- S3C24XX -> S3C changed in the S3C DMA D/D.
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/dma.c
+		M arch/arm/mach-s5pc100/dma.c
+		M arch/arm/plat-s3c/dma-pl080.c
+		M arch/arm/plat-s3c/dma-pl330.c
+		M arch/arm/plat-s3c/include/plat/s3c-dma.h
+
+dev-1-0-3: Ilho Lee
+	- PL330 DMA D/D is adding..
+
+	Modified Files:
+		M arch/arm/plat-s3c/dma-pl330.c
+		M arch/arm/plat-s3c/dma-pl330-mcode.h
+		M arch/arm/plat-s3c/include/mach/s3c-dma.h
+
+dev-1-0-4: Byungjae Lee
+	- Support File Storage Gadget for SMDK6410 HS USB OTG 
+
+	Modified Files:
+		M arch/arm/mach-s3c6400/include/mach/map.h
+		M arch/arm/mach-s3c6410/cpu.c
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c64xx/devs.c
+		M arch/arm/plat-s3c64xx/include/plat/regs-clock.h
+		M drivers/usb/gadget/Kconfig
+		M drivers/usb/gadget/Makefile
+		M drivers/usb/gadget/epautoconf.c
+		M drivers/usb/gadget/gadget_chips.h
+
+	Added Files:
+		A arch/arm/plat-s3c/include/plat/regs-otg.h
+		A drivers/usb/gadget/s3c_udc.h
+		A drivers/usb/gadget/s3c_udc_otg.c
+
+dev-1-0-5: Ilho Lee
+	- S3C touchscreen D/D changed.
+
+	Modified Files:
+		M drivers/input/touchscreen/s3c-ts.c
+
+dev-1-0-6: Jinsung Yang
+	- Clock system support for S5PC100
+
+	Modified files:
+		M arch/arm/plat-s3c/clock.c
+		M arch/arm/plat-s3c/include/plat/clock.h
+		M arch/arm/plat-s5pc1xx/clock.c
+		M arch/arm/plat-s5pc1xx/s5pc100-clock.c
+		M arch/arm/plat-s5pc1xx/include/plat/pll.h
+		M arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+
+dev-1-0-7: Jinsung Yang
+	- LCD (LTE480WV) support for SMDKC100
+
+	Modified files:
+		drivers/video/samsung/s5pfb_fimd5x.c
+
+dev-1-0-8: Byungjae Lee
+	- Masked HCLK for USB OTG at register clocks 
+
+	Modified files:
+		M arch/arm/plat-s3c64xx/clock.c
+		M drivers/usb/gadget/s3c_udc_otg.c
+
+dev-1-0-9: Ilho Lee
+	- Ext-interrupts handlers added.
+
+	Added Files:
+		A arch/arm/plat-s5pc1xx/irq-eint.c
+
+dev-1-0-10: Ilho Lee
+	- SMC9115 ethernet(100Mbps) D/D ported.
+
+	Added Files:
+		A arch/arm/plat-s5pc1xx/irq-eint.c
+
+dev-1-0-11: Ilho Lee
+	- dev-adc.c deleted.
+
+	Deleted Files:
+		D arch/arm/plat-s3c/dev-adc.c
+
+rel-1-0-1: Kyoungil Kim
+	- Git Release (08.12.09)
+
+v2.6.28-rc7-s3c64xx-r0d0: Kyoungil Kim
+	- s3c64xx rc7 initial git tag
+
+v2.6.28-rc8-s3c64xx: Kyoungil Kim
+	- s3c64xx rc8 patch
+
+v2.6.28-rc8-s3c64xx-r0d0: Kyoungil Kim
+
+v2.6.28-rc8-s3c64xx-r0d1: Jinsung Yang
+	- Fix for wrong comments
+
+v2.6.28-rc8-s3c64xx-r0d2: Jongpill Lee
+
+	- bug fixed about OS Timer
+
+	Modified Files:
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/include/plat/cpu.h
+		M       arch/arm/plat-s3c/include/plat/regs-timer.h
+		M       arch/arm/plat-s3c/time.c
+		M       arch/arm/plat-s3c24xx/include/plat/cpu.h
+
+v2.6.28-rc8-s3c64xx-r0d3: Jongpill Lee
+	- Remove adc driver on s3c24xx
+	Modified Files:
+		M       arch/arm/plat-s3c24xx/Kconfig
+		M       arch/arm/plat-s3c24xx/Makefile
+	Deleted Files:
+		D       arch/arm/plat-s3c24xx/adc.c
+
+v2.6.28-rc8-s3c64xx-r0d4: Jinsung Yang
+	- 24 bit logo display support
+	- s3c framebuffer driver naming rule changes
+
+	Modified files:
+		M       drivers/video/cfbimgblt.c
+		M       drivers/video/samsung/s3cfb.c
+		M       drivers/video/samsung/s3cfb.h
+		M       drivers/video/samsung/s3cfb_fimd4x.c
+		M       drivers/video/samsung/s3cfb_fimd5x.c
+		M       drivers/video/samsung/s3cfb_lte480wv.c
+		M       drivers/video/samsung/s3cfb_lts222qv.c
+		M       drivers/video/samsung/s3cfb_ltv350qv.c
+		M       drivers/video/samsung/s3cfb_spi.c
+
+v2.6.28-rc8-s3c64xx-r0d5: Jongpill Lee
+	-Support cpu freq on smdk6410
+
+	Added Files:
+		A 	arch/arm/plat-s3c64xx/s3c64xx-cpufreq.carch/arm/plat-s3c64xx/s3c64xx-cpufreq.c
+	Modified Files:
+		M	arch/arm/Kconfig
+		M	arch/arm/plat-s3c/clock.c
+		M	arch/arm/plat-s3c64xx/Makefile
+
+v2.6.28-rc8-s3c64xx-r0d6: Kyoungil Kim
+	- split plat-s5p64xx, mach-s5p6440
+	- Support for s5p6440 serial
+
+	Added Files
+		A       arch/arm/configs/smdk6440ramdisk_defconfig
+		A       arch/arm/mach-s5p6440/Kconfig
+		A       arch/arm/mach-s5p6440/Makefile.boot
+		A       arch/arm/mach-s5p6440/cpu.c
+		A       arch/arm/mach-s5p6440/dma.c
+		A       arch/arm/mach-s5p6440/include/mach/debug-macro.S
+		A       arch/arm/mach-s5p6440/include/mach/dma.h
+		A       arch/arm/mach-s5p6440/include/mach/entry-macro.S
+		A       arch/arm/mach-s5p6440/include/mach/gpio-core.h
+		A       arch/arm/mach-s5p6440/include/mach/gpio.h
+		A       arch/arm/mach-s5p6440/include/mach/hardware.h
+		A       arch/arm/mach-s5p6440/include/mach/idle.h
+		A       arch/arm/mach-s5p6440/include/mach/irqs.h
+		A       arch/arm/mach-s5p6440/include/mach/map.h
+		A       arch/arm/mach-s5p6440/include/mach/memory.h
+		A       arch/arm/mach-s5p6440/include/mach/regs-irq.h
+		A       arch/arm/mach-s5p6440/include/mach/regs-mem.h
+		A       arch/arm/mach-s5p6440/include/mach/system.h
+		A       arch/arm/mach-s5p6440/include/mach/tick.h
+		A       arch/arm/mach-s5p6440/include/mach/uncompress.h
+		A       arch/arm/mach-s5p6440/mach-smdk6440.c
+		A       arch/arm/mach-s5p6440/setup-sdhci.c
+		A       arch/arm/plat-s5p64xx/Kconfig
+		A       arch/arm/plat-s5p64xx/Makefile
+		A       arch/arm/plat-s5p64xx/adc.c
+		A       arch/arm/plat-s5p64xx/clock.c
+		A       arch/arm/plat-s5p64xx/cpu.c
+		A       arch/arm/plat-s5p64xx/dev-uart.c
+		A       arch/arm/plat-s5p64xx/devs.c
+		A       arch/arm/plat-s5p64xx/gpiolib.c
+		A       arch/arm/plat-s5p64xx/include/plat/dma.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-a.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-b.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-c.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-f.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-g.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-h.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-i.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-j.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-n.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-p.h
+		A       arch/arm/plat-s5p64xx/include/plat/gpio-bank-r.h
+		A       arch/arm/plat-s5p64xx/include/plat/irqs.h
+		A       arch/arm/plat-s5p64xx/include/plat/pll.h
+		A       arch/arm/plat-s5p64xx/include/plat/regs-clock.h
+		A       arch/arm/plat-s5p64xx/include/plat/regs-gpio.h
+		A       arch/arm/plat-s5p64xx/include/plat/regs-sys.h
+		A       arch/arm/plat-s5p64xx/include/plat/s5p6440.h
+		A       arch/arm/plat-s5p64xx/irq-eint.c
+		A       arch/arm/plat-s5p64xx/irq.c
+		A       arch/arm/plat-s5p64xx/s5p6440-clock.c
+		A       arch/arm/plat-s5p64xx/s5p6440-init.c
+		A       arch/arm/plat-s5p64xx/setup-i2c0.c
+		A       arch/arm/plat-s5p64xx/setup-i2c1.c
+	Modified Files
+		M       arch/arm/Kconfig
+		M       arch/arm/Makefile
+		M       arch/arm/mach-s5p6440/Makefile
+		M       arch/arm/mm/Kconfig
+		M       arch/arm/plat-s3c/Kconfig
+		M       arch/arm/plat-s3c/include/plat/clock.h
+		M       arch/arm/plat-s3c/include/plat/cpu.h
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c/include/plat/regs-lcd.h
+		M       arch/arm/tools/mach-types
+		M       drivers/i2c/busses/Kconfig
+		M       drivers/input/touchscreen/Kconfig
+		M       drivers/mtd/nand/Kconfig
+		M       drivers/serial/Kconfig
+		M       drivers/video/Kconfig
+		M       drivers/video/samsung/Makefile
+		M       drivers/video/samsung/s3cfb.h
+		M       drivers/video/samsung/s3cfb_spi.c
+
+v2.6.28-rc8-s3c64xx-r0d7: Ilho Lee
+	- ASYN/SYN mode select added.
+
+	Modified Files:
+		M       arch/arm/plat-s3c64xx/include/plat/regs-clock.h
+		M       arch/arm/plat-s3c64xx/s3c6400-clock.c
+
+v2.6.28-rc8-s3c64xx-r0d8: Kyoungil Kim
+	- Support for FPGA6440 lcd
+
+	Modified Files:
+		M       arch/arm/mach-s5p6440/include/mach/gpio.h
+		M       drivers/video/samsung/s3cfb_fimd5x.c
+		M       drivers/video/samsung/s3cfb_lts222qv.c
+		M       drivers/video/samsung/s3cfb_spi.c
+
+v2.6.28-rc8-s3c64xx-r0d9: Jongpill Lee
+	- Support APM on SMDK6410
+
+	Modified Files:
+		M	arch/arm/configs/smdk6410mtd_defconfig
+		M	arch/arm/mach-s3c6400/include/mach/regs-irq.h
+		M	arch/arm/mach-s3c6410/Makefile
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	arch/arm/plat-s3c/Makefile
+		M	arch/arm/plat-s3c/include/plat/regs-serial.h
+		M	arch/arm/plat-s3c64xx/Makefile
+		M	arch/arm/plat-s3c64xx/include/plat/gpio-bank-k.h
+		M	arch/arm/plat-s3c64xx/include/plat/gpio-bank-l.h
+		M	arch/arm/plat-s3c64xx/include/plat/regs-gpio.h
+		M	arch/arm/plat-s3c64xx/irq.c
+		M	drivers/video/samsung/s3cfb_fimd4x.c
+	Added Files:
+		A	arch/arm/mach-s3c6410/irq.c
+		A	arch/arm/mach-s3c6410/pm.c
+		A	arch/arm/plat-s3c64xx/include/plat/gpio-bank-m.h
+		A	arch/arm/plat-s3c64xx/include/plat/pm.h
+		A	arch/arm/plat-s3c64xx/pm.c
+		A	arch/arm/plat-s3c64xx/sleep.S
+
+v2.6.28-rc8-s3c64xx-r0d10: Jongpill Lee
+	- Support RTC on SMDK6410
+
+	MOdified Files:
+		M       arch/arm/mach-s3c2410/include/mach/map.h
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/include/plat/regs-rtc.h
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       arch/arm/plat-s3c64xx/include/plat/pm.h
+		M       drivers/rtc/Kconfig
+		M       drivers/rtc/rtc-s3c.c
+
+v2.6.28-rc8-s3c64xx-r0d11: Kyoungil Kim
+	- Keypad Driver for SMDK6410
+
+	Modified Files:
+		M       arch/arm/configs/smdk6410mtd_defconfig
+		M       arch/arm/configs/smdk6410nfs_defconfig
+		M       arch/arm/configs/smdk6410ramdisk_defconfig
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/gpio-config.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c64xx/clock.c
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       arch/arm/plat-s3c64xx/include/plat/gpio-bank-k.h
+		M       arch/arm/plat-s3c64xx/include/plat/gpio-bank-l.h
+		M       drivers/input/keyboard/Kconfig
+		M       drivers/input/keyboard/Makefile
+		M       drivers/input/touchscreen/s3c-ts.c
+	Added Files:
+		A       arch/arm/plat-s3c64xx/include/plat/regs-keypad.h
+		A       drivers/input/keyboard/s3c-keypad.c
+		A       drivers/input/keyboard/s3c-keypad.h
+	
+v2.6.28-rc8-s3c64xx-r0d12: Jongpill Lee
+	- Support HS-SPI on SMDK6410
+
+	Added Files:
+		A       arch/arm/plat-s3c64xx/include/plat/regs-spi.h
+		A       drivers/spi/hspi-s3c64xx.c
+		A       drivers/spi/hspi-s3c64xx.h
+		A       drivers/spi/spi-dev.c
+		A       drivers/spi/spi-dev.h
+	
+	Modified Files:
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       drivers/rtc/rtc-s3c.c
+		M       drivers/spi/Kconfig
+		M       drivers/spi/Makefile
+
+v2.6.28-rc8-s3c64xx-r0d13: Ilho Lee
+	- Support HS-MMC on SMDK6410
+
+v2.6.28-rc8-s3c64xx-r0d14: Jongpill Lee
+	- bug fiex on PM Driver
+
+	Modified Files:
+		M       arch/arm/configs/smdk6410mtd_defconfig
+		M       arch/arm/plat-s3c64xx/sleep.S
+
+v2.6.28-rc8-s3c64xx-r0d15: Kyoungil Kim
+	- Support USB host on SMDK6410
+
+	Modifiled Files:
+		M       arch/arm/configs/smdk6410mtd_defconfig
+		M       arch/arm/configs/smdk6410nfs_defconfig
+		M       arch/arm/configs/smdk6410onenand_defconfig
+		M       arch/arm/configs/smdk6410ramdisk_defconfig
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/mach-s5p6440/mach-smdk6440.c
+		M       arch/arm/plat-s3c/include/plat/partition.h
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       drivers/usb/Kconfig
+		M       drivers/usb/gadget/s3c_udc_otg.c
+		M       drivers/usb/host/ohci-hcd.c
+		M       drivers/usb/host/ohci-s3c2410.c
+	Added Files:
+		A       arch/arm/mach-s3c6400/include/mach/usb-control.h
+
+v2.6.28-rc8-s3c64xx-r0d16: Jongpill Lee
+	- Support DVS on CPUFREQ Driver
+
+	Added Files:
+		A       arch/arm/plat-s3c64xx/ltc3714.c
+	Modified Files:
+		M       arch/arm/plat-s3c/clock.c
+		M       arch/arm/plat-s3c64xx/Makefile
+		M       arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c
+		
+v2.6.28-rc8-s3c64xx-r0d17: Byungjae Lee
+	- Support Ethernet gadget and RNDIS for SMDK6410
+
+	Modifiled Files:
+		M	arch/arm/configs/smdk6410mtd_defconfig
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	drivers/usb/gadget/Kconfig
+		M	drivers/usb/gadget/epautoconf.c
+		M	drivers/usb/gadget/f_rndis.c
+		M	drivers/usb/gadget/s3c_udc.h
+		M	drivers/usb/gadget/s3c_udc_otg.c
+		M	drivers/usb/gadget/u_ether.c
+	Added Files:
+		A	drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+		A	drivers/usb/gadget/s3c_udc_otg_xfer_slave.c
+
+v2.6.28-rc8-s3c64xx-r0d18: Jongpill Lee
+	- Remove warning message
+
+	Modified Files:
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/mach-s3c6410/pm.c
+		M       arch/arm/plat-s3c/clock.c
+		M       arch/arm/plat-s3c64xx/clock.c
+		M       arch/arm/plat-s3c64xx/include/plat/pm.h
+		M       arch/arm/plat-s3c64xx/irq.c
+		M       arch/arm/plat-s3c64xx/ltc3714.c
+		M       arch/arm/plat-s3c64xx/pm.c
+		M       arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c
+		M       drivers/rtc/rtc-s3c.c
+		M       drivers/spi/hspi-s3c64xx.c
+
+v2.6.28-rc8-s3c64xx-r0d19: Kyoungil Kim
+	- Support Watchdog on SMDK6410
+
+	Modified Files:
+		M       arch/arm/configs/smdk6410mtd_defconfig
+		M       arch/arm/configs/smdk6410nfs_defconfig
+		M       arch/arm/configs/smdk6410onenand_defconfig
+		M       arch/arm/configs/smdk6410ramdisk_defconfig
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       drivers/watchdog/Kconfig
+
+v2.6.28-rc8-s3c64xx-r0d20: Ryu Euiyoul
+	- Support S5M8751 on SMDK6410
+
+	Modified Files:
+		M       sound/soc/codecs/Kconfig
+		M       sound/soc/codecs/Makefile
+		M       sound/soc/s3c64xx/Kconfig
+		M       sound/soc/s3c64xx/Makefile
+
+	Added Files:
+		A       sound/soc/codecs/s5m8751.c
+		A       sound/soc/codecs/s5m8751.h
+		A       sound/soc/s3c64xx/smdk6410_s5m8751.c
+		A       arch/arm/configs/smdk6410rf_defconfig
+
+v2.6.28-rc8-s3c64xx-r0d21: SungJun Bae
+	- Support wm8580 on VEGA-L FPGA (Draft)
+
+	Modified Files:
+		M	arch/arm/configs/smdk6440ramdisk_defconfig
+		M	arch/arm/mach-s5p6440/dma.c
+		M	arch/arm/mach-s5p6440/mach-smdk6440.c
+		M	arch/arm/plat-s3c/dma-pl080.c
+		M	sound/soc/s3c64xx/Kconfig
+		M	sound/soc/s3c64xx/Makefile
+		M	sound/soc/s3c64xx/s3c-i2s.h
+		M	sound/soc/s3c64xx/s3c-pcm.c
+		M	sound/soc/s3c64xx/s3c6410-i2s-v40.c
+
+	Added Files:
+		A	sound/soc/s3c64xx/s5p6440-i2s-v40.c
+		A	sound/soc/s3c64xx/smdk6440_wm8580.c
+
+v2.6.28.6-s3c64xx: Kyoungil Kim
+
+v2.6.28.6-s3c64xx-r0d0: Kyoungil Kim
+
+v2.6.28.6-s3c64xx-r0d1: SungJun	Bae 
+	- Support Post Processor on SMDK6410
+
+	Modified Files:
+		M	ChangeLog_s3c64xx
+		M	arch/arm/mach-s3c6400/include/mach/map.h
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	arch/arm/plat-s3c/include/plat/devs.h
+		M	arch/arm/plat-s3c/include/plat/regs-lcd.h
+		M	arch/arm/plat-s3c64xx/devs.c
+		M	drivers/media/video/Kconfig
+		M	drivers/media/video/Makefile
+
+	Added Files:
+		A	arch/arm/plat-s3c/include/plat/regs-pp.h
+		A	arch/arm/plat-s3c/include/plat/reserved_mem.h
+		A	drivers/media/video/samsung/post/Kconfig
+		A	drivers/media/video/samsung/post/Makefile
+		A	drivers/media/video/samsung/post/s3c_pp.h
+		A	drivers/media/video/samsung/post/s3c_pp_6400.c
+		A	drivers/media/video/samsung/post/s3c_pp_common.c
+		A	drivers/media/video/samsung/post/s3c_pp_common.h
+		
+v2.6.28.6-s3c64xx-r0d2: SungJun	Bae 
+	- Support TV encoder,scaler on SMDK6410
+
+	Modified Files:
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       drivers/media/video/Kconfig
+		M       drivers/media/video/Makefile
+		M       drivers/media/video/samsung/Kconfig
+		M       drivers/media/video/samsung/post/s3c_pp_6400.c
+		M       drivers/media/video/v4l2-dev.c
+		M       include/media/v4l2-dev.h
+
+	Added Files:
+		A       arch/arm/plat-s3c/include/plat/regs-tvenc.h
+		A       arch/arm/plat-s3c/include/plat/regs-tvscaler.h
+		A       drivers/media/video/samsung/tv/Kconfig
+		A       drivers/media/video/samsung/tv/Makefile
+		A       drivers/media/video/samsung/tv/s3c-tvenc.c
+		A       drivers/media/video/samsung/tv/s3c-tvenc.h
+		A       drivers/media/video/samsung/tv/s3c-tvscaler.c
+		A       drivers/media/video/samsung/tv/s3c-tvscaler.h
+v2.6.28.6-s3c64xx-r0d3: Jaeryul Oh
+	- Support JPEG, roator on SMDK6410
+
+	Modified Files :
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       drivers/media/video/samsung/Kconfig
+		M       drivers/media/video/samsung/Makefile
+
+	Added Files:
+		A       drivers/media/video/samsung/jpeg/Kconfig
+		A       drivers/media/video/samsung/jpeg/Makefile
+		A       drivers/media/video/samsung/jpeg/jpg_conf.h
+		A       drivers/media/video/samsung/jpeg/jpg_mem.c
+		A       drivers/media/video/samsung/jpeg/jpg_mem.h
+		A       drivers/media/video/samsung/jpeg/jpg_misc.c
+		A       drivers/media/video/samsung/jpeg/jpg_misc.h
+		A       drivers/media/video/samsung/jpeg/jpg_opr.c
+		A       drivers/media/video/samsung/jpeg/jpg_opr.h
+		A       drivers/media/video/samsung/jpeg/log_msg.c
+		A       drivers/media/video/samsung/jpeg/log_msg.h
+		A       drivers/media/video/samsung/jpeg/s3c-jpeg.c
+		A       drivers/media/video/samsung/jpeg/s3c-jpeg.h
+		A       drivers/media/video/samsung/rotator/Kconfig
+		A       drivers/media/video/samsung/rotator/Makefile
+		A       drivers/media/video/samsung/rotator/regs-rotator.h
+		A       drivers/media/video/samsung/rotator/s3c_rotator.c
+		A 	drivers/media/video/samsung/rotator/s3c_rotator_common.h
+
+v2.6.28.6-s3c64xx-r0d4: Jinsung Yang
+	- FIMC support for SMDK6410
+	- Including reserved memory feature with bootmem
+	- All functions have been finished on the planning
+
+v2.6.28.6-s3c64xx-r0d5: SungJun Bae 
+	- bootmem applied to post and tv.
+		M	drivers/media/video/samsung/post/s3c_pp_6400.c
+		M	drivers/media/video/samsung/tv/s3c-tvscaler.h
+
+v2.6.28.6-s3c64xx-r0d6: PyoungJae Jung, Jiun Yu
+	- MFC support for SMDK6410
+	- It support bootmem for large buffer memory
+	- Changed coding style to linux kernel coding style
+	- Bug fixed in Hybrid DiVX encoding problem
+
+	Modified Files:
+		M	arch/arm/mach-s3c6400/include/mach/map.h
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	arch/arm/plat-s3c/include/plat/devs.h
+		M	arch/arm/plat-s3c64xx/devs.c
+		M	arch/arm/plat-s3c64xx/include/plat/media.h
+		M	drivers/media/video/samsung/Kconfig
+		M	drivers/media/video/samsung/Makefile
+
+	Added Files:
+		A	arch/arm/plat-s3c64xx/include/plat/regs-mfc.h
+		A	drivers/media/video/samsung/mfc/Kconfig
+		A	drivers/media/video/samsung/mfc/Makefile
+		A	drivers/media/video/samsung/mfc/prism_s.h
+		A	drivers/media/video/samsung/mfc/prism_s_v137.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_base.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_bitproc_buf.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_bitproc_buf.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_config.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_databuf.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_databuf.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_hw_init.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_hw_init.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_inst_pool.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_inst_pool.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_instance.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_instance.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_intr_noti.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_params.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_set_config.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_sfr.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_sfr.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_types.h
+		A	drivers/media/video/samsung/mfc/s3c_mfc_yuv_buf_manager.c
+		A	drivers/media/video/samsung/mfc/s3c_mfc_yuv_buf_manager.h
+
+v2.6.28.6-s3c64xx-r0d7: Kyoungil Kim
+	- Just Prevent tag for SMDK6410
+
+v2.6.28.6-s3c64xx-r0d8: Jaeryul Oh
+	- Fixed Bug in case of dynamic fps change of MPEG4 encoding 
+
+	Modified Files:
+		M	drivers/media/video/samsung/mfc/s3c_mfc_instance.h
+		M	drivers/media/video/samsung/mfc/s3c_mfc_instance.c
+
+v2.6.28.6-s3c64xx-r0d9: Jonghun Han
+        - S3C6410 FIMG-2D driver support
+
+		Added Files:
+			drivers/media/video/samsung/g2d/Kconfig
+			drivers/media/video/samsung/g2d/Makefile
+			drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+			drivers/media/video/samsung/g2d/s3c_fimg2d2x.h
+			arch/arm/plat-s3c/include/plat/regs-g2d.h
+
+		Modified Files:
+			arch/arm/configs/smdk6410mtd_defconfig
+			arch/arm/configs/smdk6410nfs_defconfig
+			arch/arm/configs/smdk6410onenand_defconfig
+			arch/arm/configs/smdk6410ramdisk_defconfig
+			arch/arm/mach-s3c6400/include/mach/map.h
+			arch/arm/mach-s3c6410/mach-smdk6410.c
+			arch/arm/plat-s3c/include/plat/devs.h
+			arch/arm/plat-s3c64xx/devs.c
+			drivers/media/video/samsung/Kconfig
+			drivers/media/video/samsung/Makefile
+			drivers/video/samsung/s3cfb.c
+			drivers/video/samsung/s3cfb_fimd4x.c
+
+v2.6.28.6-s3c64xx-r1: Jonghun Han
+	- Official Release (09.03.06)
+
+v2.6.28.6-s3c64xx-r1d0: Kyoungil Kim
+
+v2.6.28.6-s3c64xx-r1d1 : Byungjae Lee
+	- implemented s3c6410 OTG host role for Mass storage only
+
+	Modified Files:
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	arch/arm/plat-s3c/include/plat/devs.h
+		M	arch/arm/plat-s3c64xx/devs.c
+		M	drivers/usb/Makefile
+		M	drivers/usb/host/Kconfig
+		M	drivers/usb/host/Makefile
+
+	Added Files:
+		A	drivers/usb/host/s3c-otg/*
+
+v2.6.28.6-s3c64xx-r1d2 : Byungjae Lee
+	- implemented s3c6410 OTG host role for HID(Keyboard, Mouse)
+	  and Card Reader
+
+	Modified Files:
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-kal.h
+		M	drivers/usb/host/s3c-otg/s3c-otg-scheduler-ischeduler.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-scheduler-scheduler.h
+		M	drivers/usb/host/s3c-otg/s3c-otg-transfer-common.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-transferchecker-common.c
+
+v2.6.28.6-s3c64xx-r1d3 : Jongpill Lee
+	- defect is fixed on cpufreq driver
+
+	Modified Files:
+		M	arch/arm/plat-s3c64xx/clock.c
+
+v2.6.28.6-s3c64xx-r1d4 : Jongpill Lee
+        - defect is fixed on pm
+
+	MOdified Fils:
+		M	arch/arm/plat-s3c64xx/pm.c
+
+v2.6.28.6-s3c64xx-r1d5: Kyoungil Kim
+	- Just Second Prevent tag for SMDK6410
+
+v2.6.28.6-s3c64xx-r1d6 : Jonghun Han
+        - update S3C6410 FIMG-2D driver
+
+	Modified Fils:
+		M	arch/arm/plat-s3c/include/plat/regs-g2d.h
+		M	drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+
+v2.6.28.6-s3c64xx-r2: Kyoungil Kim
+	- Official Release (09.03.09)
+
+v2.6.28.6-s3c64xx-r2d0: Kyoungil Kim
+
+v2.6.28.6-s3c64xx-r2d1: Jaeryul Oh
+	- Fixed Bug in case of rotator function of MFC
+
+	Modified Files:
+		M	drivers/media/video/samsung/mfc/s3c_mfc_instance.c
+
+v2.6.28.6-s3c64xx-r2d2: Jonghun Han
+	- S3C6410 FIMG-3D driver support
+
+	Modified Files:
+		M       arch/arm/mach-s3c6400/include/mach/map.h
+		M       arch/arm/mach-s3c6410/mach-smdk6410.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c64xx/devs.c
+		M       drivers/char/s3c_mem.c
+		M       drivers/media/video/samsung/Kconfig
+		M       drivers/media/video/samsung/Makefile
+		M       drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+
+	Added Files:
+		A       drivers/media/video/samsung/g3d/Kconfig
+		A       drivers/media/video/samsung/g3d/Makefile
+		A       drivers/media/video/samsung/g3d/s3c_fimg3d.c
+		A       drivers/media/video/samsung/g3d/s3c_fimg3d.h		
+
+v2.6.28.6-s3c64xx-r2d3: Jonghun Han
+	- S5PC100 FIMG-2D driver support
+
+	Modified Files:
+		M	drivers/media/video/samsung/g2d/Kconfig
+		M	drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+
+v2.6.28.6-s3c64xx-r3: Kyoungil Kim
+	- Official Release (09.03.13)
+
+v2.6.28.6-s3c64xx-r3d0: Kyoungil Kim
+
+v2.6.28.6-s3c64xx-r3d1: Byungae Lee
+	- Support SMDK6410 USB Serial Gadget (with CDC ACM)
+
+	Modified Files:
+		M	arch/arm/plat-s3c/include/plat/regs-otg.h
+		M	drivers/usb/gadget/s3c_udc_otg.c
+		M	drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+		M	drivers/usb/gadget/s3c_udc_otg_xfer_slave.c
+
+v2.6.28.6-s3c64xx-r3d2: Byungae Lee
+	- Removed warning on the debug message for the USB Gadget
+
+	Modified Files:
+		M	drivers/usb/gadget/s3c_udc_otg.c
+		M	drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+
+v2.6.28.6-s3c64xx-r3d3: SungJun Bae 
+	- Support CMM driver.  
+
+	Added Files:
+		A	drivers/media/video/samsung/cmm/CMMMisc.c
+		A	drivers/media/video/samsung/cmm/CMMMisc.h
+		A	drivers/media/video/samsung/cmm/Kconfig
+		A	drivers/media/video/samsung/cmm/LogMsg.c
+		A	drivers/media/video/samsung/cmm/LogMsg.h
+		A	drivers/media/video/samsung/cmm/Makefile
+		A	drivers/media/video/samsung/cmm/s3c-cmm.c
+		A	drivers/media/video/samsung/cmm/s3c-cmm.h
+
+	Modified Files:
+		M	drivers/media/video/samsung/Kconfig
+		M	drivers/media/video/samsung/Makefile
+
+
+v2.6.28.6-s3c64xx-r4: Jonghun Han
+        - Official Release (09.03.24)
+
+v2.6.28.6-s3c64xx-r4d0: Jonghun Han
+
+v2.6.28.6-s3c64xx-r4d1: Kyoungil Kim
+	- The last tag for s3c64xx branch(09.03.24)
+
+rel-0-0-0 : Kwanghyun La  (Nov.10.2008)
+	It's not fixed version , just only initial copy version for
+	        estimation.
+
+previous samsung-ap-2.6 repository ChangeLog_s5pc1xx for s5pc1xx branch
+-----------------------------------------------------------------------
+dev-0-0-1 : Ilho Lee
+dev-0-0-2 : Ilho Lee
+	Touchscreen D/D added, but Ethernet D/D is being adding.
+
+dev-0-0-3 : Jongpill Lee
+	Support ADC driver and merge adc-s3c64xx.c and adc-s3c24xx.c file
+
+	Removed Files:
+		R A arch/arm/plat-s3c64xx/adc-s3c64xx.c
+
+	Added Files:
+		A arch/arm/plat-s3c/adc.c
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c/Kconfig
+		M arch/arm/plat-s3c/Makefile
+		M arch/arm/plat-s3c/include/plat/adc.h
+		M drivers/char/Kconfig
+
+dev-0-0-4 : Jongpill Lee
+	Bug fixed on ADC driver
+
+	Modified Files:
+		M arch/arm/plat-s3c/adc.c
+	
+dev-0-0-5 : Ilho Lee
+	SMC9115 ethernet D/D is working(small_root only)
+
+dev-0-0-6: Jinsung Yang
+	- NAND driver support
+
+	Added files:
+		A arch/arm/configs/smdk6410mtd_defconfig
+		A arch/arm/plat-s3c/include/plat/partition.h
+		A drivers/mtd/nand/s3c_nand.c
+
+	Modified files:
+		M arch/arm/mach-s3c6400/include/mach/map.h
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c/Kconfig
+		M arch/arm/plat-s3c/include/plat/nand.h
+		M arch/arm/plat-s3c/include/plat/regs-nand.h
+		M arch/arm/plat-s3c64xx/devs.c
+		M drivers/mtd/nand/Kconfig
+		M drivers/mtd/nand/Makefile
+
+dev-0-0-7: Sungjun Bae 
+	 - I2S WM8580, I2SWM8990 Complete. 
+	 
+	Modified Files:
+	 	M arch/arm/configs/smdk6410mtd_defconfig arch/arm/configs/smdk6410nfs_defconfig
+		M arch/arm/plat-s3c64xx/include/plat/gpio-bank-d.h
+		M arch/arm/plat-s3c64xx/include/plat/regs-clock.h include/sound/soc.h
+		M sound/soc/soc-core.c sound/soc/codecs/wm8580.c sound/soc/codecs/wm8990.c
+
+dev-0-0-8: Sungjun Bae 
+	- DMA File Structure was changed.
+
+	Modified Files:
+		M arch/arm/plat-s3c/Makefile
+	        M arch/arm/plat-s3c/include/mach/s3c-dma.h
+	        M arch/arm/plat-s3c64xx/Makefile
+	Added Files:
+	        A arch/arm/plat-s3c/dma-pl080.c
+	Removed Files:
+	        R arch/arm/plat-s3c64xx/dma-pl080.c
+
+dev-0-0-9: Ilho Lee
+	- PL330 DMA D/D file added
+
+	Modified Files:
+		M arch/arm/plat-s3c/Makefile
+		M arch/arm/plat-s3c/Kconfig
+
+	Added Files:
+	        A arch/arm/plat-s3c/dma-pl330.c
+	        A arch/arm/plat-s3c/dma-pl330-microcode.c
+
+
+dev-0-0-10: eyryu 
+	- Add SMDKC100 initial.
+
+dev-0-0-11: Ilho Lee
+	- DMA definition files changed
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/dma.c
+		M arch/arm/mach-s5pc100/dma.c
+
+dev-0-0-12: Jinsung Yang
+	- gpiolib support for s5pc1xx architecture
+
+	Modified files:
+		M arch/arm/plat-s5pc1xx/include/plat/regs-gpio.h
+		M arch/arm/mach-s5pc100/include/mach/gpio.h
+		M arch/arm/plat-s3c/gpio-config.c
+		M arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h
+
+	Added files:
+		A arch/arm/plat-s5pc1xx/gpiolib.c
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-b.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-c.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-d.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-i.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j4.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k0.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k1.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k2.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k3.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp00.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp01.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp02.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp03.h
+		A arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp04.h
+
+dev-0-0-13: eyryu 
+	- Add SMDKC100 clock & serial 
+
+dev-0-0-14: Ilho Lee
+	- ADC D/D added
+
+	Added Files:
+		A arch/arm/plat-s3c24xx/adc.c
+		A arch/arm/plat-s3c64xx/adc.c
+
+dev-0-0-15: eyryu 
+	- Support SMDKC100 UART driver
+	- Add SMDKC100 clock & serial 
+
+rel-1-0-0: Kyoungil Kim
+	- Official Release (08.11.27)
+
+dev-1-0-0: Kyoungil Kim
+
+dev-1-0-1: Ilho Lee
+	- CPU idle added
+
+	Added Files:
+		A arch/arm/mach-s3c6400/idle.h
+		A arch/arm/mach-s5pc100/idle.h
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/cpu.c
+		M arch/arm/mach-s5pc100/cpu.c
+
+dev-1-0-2: Ilho Lee
+	- S3C24XX -> S3C changed in the S3C DMA D/D.
+
+	Modified Files:
+		M arch/arm/mach-s3c6410/dma.c
+		M arch/arm/mach-s5pc100/dma.c
+		M arch/arm/plat-s3c/dma-pl080.c
+		M arch/arm/plat-s3c/dma-pl330.c
+		M arch/arm/plat-s3c/include/plat/s3c-dma.h
+
+dev-1-0-3: Ilho Lee
+	- PL330 DMA D/D is adding..
+
+	Modified Files:
+		M arch/arm/plat-s3c/dma-pl330.c
+		M arch/arm/plat-s3c/dma-pl330-mcode.h
+		M arch/arm/plat-s3c/include/mach/s3c-dma.h
+
+dev-1-0-4: Byungjae Lee
+	- Support File Storage Gadget for SMDK6410 HS USB OTG 
+
+	Modified Files:
+		M arch/arm/mach-s3c6400/include/mach/map.h
+		M arch/arm/mach-s3c6410/cpu.c
+		M arch/arm/mach-s3c6410/mach-smdk6410.c
+		M arch/arm/plat-s3c64xx/devs.c
+		M arch/arm/plat-s3c64xx/include/plat/regs-clock.h
+		M drivers/usb/gadget/Kconfig
+		M drivers/usb/gadget/Makefile
+		M drivers/usb/gadget/epautoconf.c
+		M drivers/usb/gadget/gadget_chips.h
+
+	Added Files:
+		A arch/arm/plat-s3c/include/plat/regs-otg.h
+		A drivers/usb/gadget/s3c_udc.h
+		A drivers/usb/gadget/s3c_udc_otg.c
+
+dev-1-0-5: Ilho Lee
+	- S3C touchscreen D/D changed.
+
+	Modified Files:
+		M drivers/input/touchscreen/s3c-ts.c
+
+dev-1-0-6: Jinsung Yang
+	- Clock system support for S5PC100
+
+	Modified files:
+		M arch/arm/plat-s3c/clock.c
+		M arch/arm/plat-s3c/include/plat/clock.h
+		M arch/arm/plat-s5pc1xx/clock.c
+		M arch/arm/plat-s5pc1xx/s5pc100-clock.c
+		M arch/arm/plat-s5pc1xx/include/plat/pll.h
+		M arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+
+dev-1-0-7: Jinsung Yang
+	- LCD (LTE480WV) support for SMDKC100
+
+	Modified files:
+		drivers/video/samsung/s5pfb_fimd5x.c
+
+dev-1-0-8: Byungjae Lee
+	- Masked HCLK for USB OTG at register clocks 
+
+	Modified files:
+		M arch/arm/plat-s3c64xx/clock.c
+		M drivers/usb/gadget/s3c_udc_otg.c
+
+dev-1-0-9: Ilho Lee
+	- Ext-interrupts handlers added.
+
+	Added Files:
+		A arch/arm/plat-s5pc1xx/irq-eint.c
+
+dev-1-0-10: Ilho Lee
+	- SMC9115 ethernet(100Mbps) D/D ported.
+
+	Added Files:
+		A arch/arm/plat-s5pc1xx/irq-eint.c
+
+dev-1-0-11: Ilho Lee
+	- dev-adc.c deleted.
+
+	Deleted Files:
+		D arch/arm/plat-s3c/dev-adc.c
+
+rel-1-0-1: Kyoungil Kim
+	- Git Release (08.12.09)
+
+v2.6.28-rc7-s5pc1xx-r0d0: Kyoungil Kim
+	- s5pc1xx rc7 initial git tag
+
+v2.6.28-rc7-s5pc1xx-r0d1: Ilho Lee
+	- PL330 DMA D/D changed.
+
+	Modified files:
+		M arch/arm/plat-s3c/dma-pl330.c
+		M arch/arm/plat-s3c/dma-pl330-mcode.h
+
+v2.6.28-rc7-s5pc1xx-r0d2: Jongpill Lee
+	- System Timer support on SMDKC100
+
+	Added Files:
+		A arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+
+v2.6.28-rc7-s5pc1xx-r0d3: Jongpill Lee
+	- System Timer bug fixed
+
+	Modified Files:
+		M ChangeLog_s5pc1xx
+		M arch/arm/mach-s5pc100/cpu.c
+		M arch/arm/mach-s5pc100/include/mach/map.h
+		M arch/arm/mach-s5pc100/include/mach/tick.h
+		M arch/arm/mach-s5pc100/mach-smdkc100.c
+		M arch/arm/plat-s3c/Makefile
+		M arch/arm/plat-s3c/include/plat/map-base.h
+		M arch/arm/plat-s5pc1xx/Makefile
+		M arch/arm/plat-s5pc1xx/include/plat/regs-sys-timer.h
+
+v2.6.28-rc8-s5pc1xx: Kyoungil Kim
+	- s5pc1xx rc8 patch
+
+v2.6.28-rc8-s5pc1xx-r0d0: Kyoungil Kim
+
+v2.6.28-rc8-s5pc1xx-r0d1: Abhilash Kesavan
+	- S5PC100 NAND driver support
+
+	Added Files:
+		A arch/arm/configs/smdkc100mtd_defconfig
+
+	Modified Files:
+		M arch/arm/mach-s5pc100/include/mach/map.h
+		M arch/arm/mach-s5pc100/mach-smdkc100.c
+		M arch/arm/plat-s3c/Kconfig
+		M arch/arm/plat-s3c/include/plat/partition.h
+		M arch/arm/plat-s5pc1xx/devs.c
+		M drivers/mtd/nand/Kconfig
+		M drivers/mtd/nand/s3c_nand.c
+
+v2.6.28-rc8-s5pc1xx-r0d2: Jinsung Yang
+	- Fix for wrong comments
+
+v2.6.28-rc8-s5pc1xx-r0d3: Jinsung Yang
+	- Merge from s3c64xx branch
+
+v2.6.28-rc8-s5pc1xx-r0d4: Abhilash Kesavan
+	- Touch-up for Nand
+
+	Modified Files:
+		M arch/arm/configs/smdkc100mtd_defconfig
+		M arch/arm/mach-s5pc100/mach-smdkc100.c
+
+
+v2.6.28-rc8-s5pc1xx-r0d5: Abhilash Kesavan
+	- Support for HS-MMC and USB 
+
+	Added Files:
+		A       arch/arm/mach-s5pc100/include/mach/usb-control.h
+		A       arch/arm/mach-s5pc100/setup-sdhci.c
+
+	Modified Files:
+		M       arch/arm/configs/smdkc100mtd_defconfig
+		M       arch/arm/configs/smdkc100nfs_defconfig
+		M       arch/arm/mach-s5pc100/Kconfig
+		M       arch/arm/mach-s5pc100/Makefile
+		M       arch/arm/mach-s5pc100/cpu.c
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s3c/include/plat/sdhci.h
+		M       arch/arm/plat-s5pc1xx/devs.c
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-sys.h
+		M       drivers/mmc/host/Kconfig
+		M       drivers/mmc/host/sdhci-s3c.c
+		M       drivers/usb/Kconfig
+		M       drivers/usb/gadget/Kconfig
+		M       drivers/usb/gadget/f_rndis.c
+		M       drivers/usb/gadget/s3c_udc_otg.c
+		M       drivers/usb/host/ohci-hcd.c
+		M       drivers/usb/host/ohci-s3c2410.c
+
+v2.6.28-rc8-s5pc1xx-r0d6: Ilho Lee
+	- Touchscreen D/D got enabled and PL330 S&G DMA operations supported.
+
+	Modified Files:
+		M arch/arm/mach-s5pc100/mach-smdkc100.c
+		M arch/arm/plat-s3c/dma-pl330.c
+
+v2.6.28-rc8-s5pc1xx-r0d7: Abhilash Kesavan
+	- Support for HS-MMC for S5PC1XX (Completed)
+
+	Added Files:
+		A	drivers/mmc/host/s3c-hsmmc.c
+		A	drivers/mmc/host/s3c-hsmmc.h
+		A	arch/arm/plat-s5pc1xx/include/plat/regs-hsmmc.h
+
+	Deleted Files:	
+		D       arch/arm/mach-s5pc100/setup-sdhci.c
+
+	Modified Files:
+	        M       arch/arm/configs/smdkc100mtd_defconfig
+		M       arch/arm/configs/smdkc100nfs_defconfig
+	        M       arch/arm/mach-s5pc100/Kconfig
+		M       arch/arm/mach-s5pc100/Makefile
+		M       arch/arm/mach-s5pc100/cpu.c
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+	        M       arch/arm/plat-s5pc1xx/devs.c
+	        M       drivers/mmc/host/Kconfig
+	        M       drivers/mmc/host/Makefile
+
+v2.6.28-rc8-s5pc1xx-r0d8: Jongpill Lee
+	- Bug fixed on clock
+
+	Modified Files:
+		M	arch/arm/plat-s3c/clock.c
+
+v2.6.28-rc8-s5pc1xx-r0d9: Abhilash Kesavan
+	- Support for ADC and PWM for S5PC100
+
+	Added Files:
+		A	arch/arm/plat-s5pc1xx/adc.c
+		A	arch/arm/plat-s5pc1xx/pwm-s5pc100.c
+		A	arch/arm/plat-s5pc1xx/pwm-s5pc100.h
+
+	Modified Files:
+		M	arch/arm/configs/smdkc100mtd_defconfig
+		M	arch/arm/configs/smdkc100nfs_defconfig
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s3c/Kconfig
+		M	arch/arm/plat-s3c/include/plat/regs-timer.h
+		M	arch/arm/plat-s5pc1xx/Kconfig
+		M	arch/arm/plat-s5pc1xx/Makefile
+		M	drivers/mmc/host/s3c-hsmmc.c
+		M	drivers/video/samsung/s3cfb.h
+		M	drivers/video/samsung/s3cfb_fimd5x.c
+
+v2.6.28-rc8-s5pc1xx-r1: Kyoungil Kim
+	- Internal Release(09.01.12)
+
+v2.6.28-rc8-s5pc1xx-v1: Kyoungil Kim
+	- Official Release(09.01.12)
+
+v2.6.28-rc8-s5pc1xx-r1d0: Kyoungil Kim
+
+v2.6.28-rc8-s5pc1xx-r1d1: JongPill Lee
+	- Support IDLE Function on S5PC100
+
+	Added Files:
+		A	arch/arm/plat-s5pc1xx/include/plat/regs-power.h
+
+	Modified Files:
+		M	arch/arm/mach-s5pc100/cpu.c
+		M	arch/arm/mach-s5pc100/include/mach/system.h
+
+v2.6.28-rc8-s5pc1xx-r1d2: Abhilash Kesavan
+	- Support OneNand on S5PC100 (I)
+
+	Added Files:
+		A       arch/arm/plat-s3c/include/plat/regs-onenand.h
+
+	Modified Files:
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s3c/include/plat/partition.h
+		M       drivers/mtd/onenand/Makefile
+		M       drivers/mtd/onenand/onenand_bbt.c
+		M       drivers/mtd/onenand/s3c_onenand.c
+		M       drivers/mtd/onenand/s3c_onenand.h
+
+v2.6.28-rc8-s5pc1xx-r1d3: Kyoungil Kim
+	- Support Keypad on S5PC100
+
+	Modified Files:
+		M	arch/arm/configs/smdkc100_defconfig
+		M	arch/arm/configs/smdkc100mtd_defconfig
+		M	arch/arm/configs/smdkc100nfs_defconfig
+		M	arch/arm/mach-s5pc100/include/mach/map.h
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s5pc1xx/clock.c
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/input/keyboard/Kconfig
+		M	drivers/input/keyboard/s3c-keypad.h
+
+v2.6.28-rc8-s5pc1xx-r1d4: Abhilash Kesavan
+	- Support HS-SPI on S5PC100
+
+	Added Files:
+		A       arch/arm/plat-s3c/include/plat/regs-spi.h
+		A       drivers/spi/hspi-s3c.c
+		A       drivers/spi/hspi-s3c.h
+		A	drivers/spi/spi-dev.c
+		A	drivers/spi/spi-dev.h
+
+	Modified Files:
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+	        M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/spi/Kconfig
+		M	drivers/spi/Makefile
+
+v2.6.28-rc8-s5pc1xx-r1d5: Jongpill Lee
+	- Support APM on S5PC100
+
+	Added Files:
+		A       arch/arm/plat-s5pc1xx/include/plat/pm.h
+		A       arch/arm/plat-s5pc1xx/pm.c
+		A       arch/arm/mach-s5pc100/pm.c
+		A       arch/arm/plat-s5pc1xx/sleep.S
+
+	Modified Files:
+		M       arch/arm/mach-s5pc100/Makefile
+		M       arch/arm/mach-s5pc100/include/mach/regs-irq.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s5pc1xx/Makefile
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-power.h
+		M       arch/arm/plat-s5pc1xx/s5pc100-clock.c
+		M       drivers/serial/s5pc100.c
+		M       drivers/serial/samsung.c
+		M       drivers/serial/samsung.h
+		M       drivers/video/samsung/s3cfb_fimd5x.c
+
+v2.6.28-rc8-s5pc1xx-r1d6: Jongpill Lee
+	- Support RTC Wakeup from Sleep mode
+
+	Modified Files:
+		M arch/arm/plat-s5pc1xx/pm.c
+
+v2.6.28-rc8-s5pc1xx-r1d7: PyoungJae Jung/Jiun Yu
+	- Support MFC driver
+	
+	Modified Files:
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s3c/include/plat/devs.h
+		M	arch/arm/plat-s5pc1xx/devs.c
+	 
+v2.6.28-rc8-s5pc1xx-r2: Kyoungil Kim
+	- Official Release(09.01.23)
+
+v2.6.28-rc8-s5pc1xx-r2d0: Kyoungil Kim
+
+v2.6.28-rc8-s5pc1xx-r2d1: Byungjae Lee
+	- Support CDC Ethernet and RNDIS
+	- for SMDKc100 UBS OTG Deive role on DMA mode
+	
+	Modified Files:
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s3c/include/plat/regs-otg.h
+		M	drivers/usb/gadget/Kconfig
+		M	drivers/usb/gadget/epautoconf.c
+		M	drivers/usb/gadget/s3c_udc.h
+		M	drivers/usb/gadget/s3c_udc_otg.c
+		M	drivers/usb/gadget/u_ether.c
+
+	Added Files:
+		A	drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+		A	drivers/usb/gadget/s3c_udc_otg_xfer_slave.c
+
+
+v2.6.28-rc8-s5pc1xx-r2d2: Jinsung Yang
+	- S5PC100 FIMC Driver
+	- Compilable version
+
+	Modified files:
+		M       drivers/media/video/Kconfig
+		M       drivers/media/video/Makefile
+		M       include/linux/i2c-id.h
+	
+	Added files:
+		A       arch/arm/plat-s5pc1xx/include/plat/fimc.h
+		A       arch/arm/plat-s5pc1xx/include/plat/regs-fimc.h
+		A       drivers/media/video/samsung/Kconfig
+		A       drivers/media/video/samsung/Makefile
+		A       drivers/media/video/samsung/s3c_fimc.h
+		A       drivers/media/video/samsung/s3c_fimc4x_regs.c
+		A       drivers/media/video/samsung/s3c_fimc_cfg.c
+		A       drivers/media/video/samsung/s3c_fimc_core.c
+		A       drivers/media/video/samsung/s3c_fimc_v4l2.c
+		A       drivers/media/video/samsung/s5k4ba.c
+		A       drivers/media/video/samsung/s5k4ba.h
+
+v2.6.28-rc8-s5pc1xx-r2d3: Jinsung Yang
+	- S5PC100 FIMC device setup support
+
+	Modified files:
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s5pc1xx/Kconfig
+		M       arch/arm/plat-s5pc1xx/Makefile
+
+	Added files:
+		A       arch/arm/plat-s5pc1xx/dev-fimc0.c
+		A       arch/arm/plat-s5pc1xx/dev-fimc1.c
+		A       arch/arm/plat-s5pc1xx/dev-fimc2.c
+		A       arch/arm/plat-s5pc1xx/setup-fimc0.c
+		A       arch/arm/plat-s5pc1xx/setup-fimc1.c
+		A       arch/arm/plat-s5pc1xx/setup-fimc2.c
+
+v2.6.28-rc8-s5pc1xx-r2d4: Kyoungil Kim
+	- modified otg_phy_init proto type
+
+	Modified files:
+		M       drivers/usb/gadget/s3c_udc_otg.c
+
+v2.6.28-rc8-s5pc1xx-r2d5: Hatim Ali
+	- S5PC100 Watchdog Timer support
+
+	Modified files:
+		M	arch/arm/configs/smdkc100nfs_defconfig
+		M	arch/arm/mach-s5pc100/include/mach/map.h
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/watchdog/Kconfig
+
+v2.6.28-rc8-s5pc1xx-r2d6: Abhilash Kesavan
+	- S5PC100 AC97 WM9713 support
+
+	Modified files:
+		M	arch/arm/mach-s5pc100/dma.c
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s5pc1xx/devs.c
+		M       sound/soc/codecs/wm9713.c
+		M       sound/soc/s5pc1xx/Kconfig
+		M       sound/soc/s5pc1xx/Makefile
+
+	Added Files:
+		A	sound/soc/s5pc1xx/s5pc1xx-ac97.c
+		A	sound/soc/s5pc1xx/s5pc1xx-ac97.h
+		A	sound/soc/s5pc1xx/smdkc100_wm9713.c
+
+v2.6.28-rc8-s5pc1xx-r2d7: Jinsung Yang
+	- S5PC100 FIMC driver
+	- Camera input and memory output support
+	- Both camera channels (A and B) support
+	- Preview and capture related functionalities support
+	- S5K3BA and S5K4BA module support
+
+v2.6.28-rc8-s5pc1xx-r2d8: Hatim Ali
+	- S5PC100 Notification LED support
+
+	Modified files:
+		M   	arch/arm/Kconfig
+		M   	arch/arm/mach-s5pc100/Makefile
+
+	Added Files:
+		A	arch/arm/mach-s5pc100/leds-s5pc100.c
+		A	arch/arm/mach-s5pc100/leds.c
+		A	arch/arm/mach-s5pc100/leds.h
+
+v2.6.28-rc8-s5pc1xx-r2d9: Abhilash Kesavan
+	- Enabled LCD/OSD Support for S5PC100
+
+	Modified files:
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/video/samsung/s3cfb.h
+		M	drivers/video/samsung/s3cfb_spi.c
+
+v2.6.28-rc8-s5pc1xx-r2d10: Jinsung Yang
+	- S5PC100 FIMC driver
+	- Alpha Release
+	- Camera input support
+	- Memory input support
+	- Memory output support
+	- LCD FIFO output support
+	- Both camera channels (A and B) support
+	- Preview and capture related functionalities support
+	- S5K3BA and S5K4BA module support
+
+v2.6.28.6-s5pc1xx: Kyoungil Kim
+
+v2.6.28.6-s5pc1xx-r0d0: Kyoungil Kim
+
+v2.6.28.6-s5pc1xx-r0d1: Abhilash Kesavan
+	- Pre-Beta Version
+
+v2.6.28.6-s5pc1xx-r0d2: Jinsung Yang
+	- FIMC support for SMDKC100
+	- Including reserved memory feature with bootmem
+	- All functions have been finished on the planning except for 'Input Rotator' with LCD FIFO Output
+
+
+v2.6.28.6-s5pc1xx-r0d3: Abhilash Kesavan
+	- IrDA support for S5PC100
+
+	Modified files:
+		M   	drivers/net/irda/s3c-sir.c
+		M   	include/net/irda/irda_device.h
+
+v2.6.28.6-s5pc1xx-r0d4: Jae-Cheol Lee
+	- Support CPUFREQ for SMDKC100
+	- DFS is only enabled, not DVS.
+	
+	Modified files:
+		M	arch/arm/plat-s5pc1xx/s5pc100-clock.c
+		M 	arch/arm/Kconfig
+		M	arch/arm/plat-s5pc1xx/Makefile
+		M	arch/arm/plat-s3c/clock.c
+
+	Added files:
+		A	arch/arm/plat-s5pc1xx/s5pc1xx-cpufreq.c
+		A	arch/arm/plat-s5pc1xx/changediv.S
+		A	arch/arm/plat-s5pc1xx/ltc3714.c
+
+v2.6.28.6-s5pc1xx-r0d5: Kukjin Kim
+	- System Timer Modified for EVT1
+
+	Modified files:
+		M	arch/arm/plat-s5pc1xx/include/plat/regs-sys-timer.h
+		M	arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+
+v2.6.28.6-s5pc1xx-r0d6: Jonghun Han
+        - S5PC100 FIMG-2D driver support
+        Modified files:
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s3c/include/plat/regs-g2d.h
+		M       arch/arm/plat-s5pc1xx/devs.c
+		M       drivers/media/video/samsung/g2d/Kconfig
+		M       drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+
+v2.6.28.6-s5pc1xx-r0d7: Jae-Cheol Lee
+	- Support SMDKC100 EVT1 POP type (Onenand+mDDR+OneDRAM)
+	Modified files:
+		M	arch/arm/configs/smdkc100onenand_defconfig
+		M	arch/arm/plat-s5pc1xx/cpu.c
+		M	arch/arm/plat-s5pc1xx/s5pc100-clock.c
+
+v2.6.28.6-s5pc1xx-r0d8: PyoungJae Jung/JiUn Yu
+	- Support MFC (FIMV) for s5pc100
+	- MFC driver is Alpha version
+	- remove CMM support and support bootmem memory secure way
+	- change directory name to separate to S3C6410 MFC driver
+
+	Added files:
+		A	drivers/media/video/samsung/mfc40/command_control_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_errorno.h
+		A	drivers/media/video/samsung/mfc40/h263_dec_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_fw.h
+		A	drivers/media/video/samsung/mfc40/h264_dec_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c-mfc.h
+		A	drivers/media/video/samsung/mfc40/h264_enc_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_interface.h
+		A	drivers/media/video/samsung/mfc40/Kconfig
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_intr.c
+		A	drivers/media/video/samsung/mfc40/Makefile
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_intr.h
+		A	drivers/media/video/samsung/mfc40/mp2_dec_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.c
+		A	drivers/media/video/samsung/mfc40/mp4_dec_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.h
+		A	drivers/media/video/samsung/mfc40/mp4_dec_order_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_memory.c
+		A	drivers/media/video/samsung/mfc40/mp4_enc_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_memory.h
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_opr.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.h
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_opr.h
+		A	drivers/media/video/samsung/mfc40/s3c-mfc.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_types.h
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_common.c
+		A	drivers/media/video/samsung/mfc40/vc1_dec_fw.c
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_common.h
+		A	arch/arm/plat-s5pc1xx/include/plat/regs-mfc.h
+
+
+	Modified files:
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+
+v2.6.28.6-s5pc1xx-r0d9: Jonghun Han
+        - S5PC100 FIMG-3D driver support
+        Modified files:
+			M	arch/arm/plat-s3c/dma-pl330.c
+			M	arch/arm/plat-s3c/include/mach/s3c-dma.h
+			M	drivers/char/s3c_mem.c
+			M	drivers/char/s3c_mem.h
+			M	drivers/media/video/samsung/g3d/Kconfig
+			M	drivers/media/video/samsung/g3d/s3c_fimg3d.h
+
+v2.6.28.6-s5pc1xx-r0d10: Seungchull Suh
+	- SMC9115 works correctly. Before, full-duplex mode is not set.
+			M	drivers/net/smc911x.c
+
+
+v2.6.28.6-s5pc1xx-r1: Kyoungil Kim
+	- Official Release(09.03.20)
+
+v2.6.28.6-s5pc1xx-r1d0: Kyoungil Kim
+
+v2.6.28.6-s5pc1xx-r1d1: Jaeryul Oh
+	- Support JPEG for s5pc100
+
+	Added files:
+		A	drivers/media/video/samsung/jpeg_v2/jpg_mem.c
+		A	drivers/media/video/samsung/jpeg_v2/jpg_misc.c
+		A	drivers/media/video/samsung/jpeg_v2/s3c-jpeg.c
+		A	drivers/media/video/samsung/jpeg_v2/jpg_opr.c
+		A	drivers/media/video/samsung/jpeg_v2/log_msg.c
+
+		A	drivers/media/video/samsung/jpeg_v2/log_msg.h
+		A	drivers/media/video/samsung/jpeg_v2/jpg_conf.h
+		A	drivers/media/video/samsung/jpeg_v2/jpg_mem.h
+		A	drivers/media/video/samsung/jpeg_v2/jpg_misc.h
+		A	drivers/media/video/samsung/jpeg_v2/regs-jpeg.h
+		A	drivers/media/video/samsung/jpeg_v2/s3c-jpeg.h
+		A	drivers/media/video/samsung/jpeg_v2/jpg_opr.h
+		A	drivers/media/video/samsung/jpeg_v2/Makefile
+		A	drivers/media/video/samsung/jpeg_v2/Kconfig
+
+	Modified files:
+		M	arch/arm/mach-s5pc100/include/mach/map.h
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/media/video/samsung/Kconfig
+		M	drivers/media/video/samsung/Makefile
+
+v2.6.28.6-s5pc1xx-r1d2: Kyoungil Kim
+	- The last tag for s5pc1xx branch(09.03.24)
+
+current linux-2.6-samsung repository ChangeLog
+-----------------------------------------------------------------------
+v2.6.28.6-samsung: Kyoungil Kim
+	- Merge s3c64xx branch and s5pc1xx branch to master branch(09.03.24)
+
+v2.6.28.6-samsung-r0d0: Kyoungil Kim
+
+v2.6.28.6-samsung-r0d1: Kukjin Kim
+	- Remove swp file
+
+	Removed Files:
+		R	arch/arm/plat-s3c/include/plat/.cpu-freq.h.swp 
+
+v2.6.28.6-samsung-r0d2: Kyoungil Kim
+	- Unified the ChangeLog files
+
+	Modified Files:
+		M       ChangeLog
+
+	Deleted Files:
+		D	ChangeLog_s3c64xx	
+		D	ChangeLog_s5pc1xx
+
+v2.6.28.6-samsung-r0d3: Kukjin Kim
+	- System Timer initialize modified
+
+	Modified Files:
+		M	arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+
+v2.6.28.6-samsung-r0d4: Kukjin Kim
+	- System Timer init and setup function remodified
+
+	Modified Files:
+		M	arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+
+v2.6.28.6-samsung-r0d5: Kukjin Kim
+	- Support extcsd revision 1.3
+
+	Modified Files:
+		M	drivers/mmc/core/mmc.c
+
+v2.6.28.6-samsung-r0d6: Jaeryul Oh
+	- JPEG for c100 is updated
+
+	Modified Files:
+		M   drivers/media/video/samsung/Kconfig
+		M   drivers/media/video/samsung/jpeg_v2/jpg_mem.h
+		M   drivers/media/video/samsung/jpeg_v2/jpg_opr.c
+		M   drivers/media/video/samsung/jpeg_v2/jpg_opr.h
+		M   drivers/media/video/samsung/jpeg_v2/s3c-jpeg.c
+		M   drivers/media/video/samsung/jpeg_v2/s3c-jpeg.h
+
+v2.6.28.6-samsung-r0d7: Jae-Cheol Lee
+	- Adopting system timer h/w bug workaround
+
+	Modified files:
+	 	M       arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+
+v2.6.28.6-samsung-r0d8: Byungjae Lee
+	- Implemented OTG Host role for SMDKC100
+	  OTG Host role support only MassStorage and HID(Keyboard, Mouse)
+
+	Modified Files:
+		M	arch/arm/configs/smdkc100mtd_defconfig
+		M	arch/arm/configs/smdkc100onenand_defconfig
+		M	arch/arm/mach-s3c6410/mach-smdk6410.c
+		M	arch/arm/mach-s5pc100/include/mach/map.h
+		M	arch/arm/mach-s5pc100/mach-smdkc100.c
+		M	arch/arm/plat-s5pc1xx/devs.c
+		M	drivers/usb/host/Kconfig
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-debug.h
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.h
+		M	drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.h
+		M	drivers/usb/host/s3c-otg/s3c-otg-oci.c
+		M	drivers/usb/host/s3c-otg/s3c-otg-oci.h
+
+v2.6.28.6-samsung-r0d9: Jonghun Han
+	- Support YUV422 Interleave output for FIMC
+
+	Modified Files:
+		M	drivers/media/video/samsung/fimc/s3c_fimc.h
+		M	drivers/media/video/samsung/fimc/s3c_fimc3x_regs.c
+		M	drivers/media/video/samsung/fimc/s3c_fimc_cfg.c
+
+v2.6.28.6-samsung-r0d10: Kyoungil Kim
+	- change the smc911 driver from full duplex to half duplex
+
+	Modified Files:
+		M	drivers/net/smc911x.c
+
+v2.6.28.6-samsung-r0d11: Jae-Cheol Lee
+	- Support SMDK6440 EVT0 board
+
+	Modified Files:
+		M	arch/arm/mach-s5p6440/mach-smdk6440.c
+		M	arch/arm/plat-s5p64xx/include/plat/pll.h
+
+v2.6.28.6-samsung-r0d12: Kyoungil Kim
+	- Prevent for SMDKC100 MM IP
+
+v2.6.28.6-samsung-r0d13: Jae-Cheol Lee
+	- Fixed PLL calculation bug in MASK value
+
+	Modified Files:
+		M 	arch/arm/plat-s3c64xx/include/plat/pll.h
+		M	arch/arm/plat-s5pc1xx/include/plat/pll.h
+
+v2.6.28.6-samsung-r0d14: Byungjae Lee
+	- Implemented USB OTG Device role for SMDK6440
+
+	Modified Files:
+		M	arch/arm/configs/smdk6440ramdisk_defconfig
+		M	arch/arm/mach-s5p6440/mach-smdk6440.c
+		M	arch/arm/plat-s3c/include/plat/regs-otg.h
+		M	arch/arm/plat-s5p64xx/devs.c
+		M	arch/arm/plat-s5p64xx/include/plat/regs-clock.h
+		M	drivers/usb/gadget/Kconfig
+		M	drivers/usb/gadget/s3c_udc.h
+		M	drivers/usb/gadget/s3c_udc_otg.c
+
+v2.6.28.6-samsung-r0d15: Jongpill Lee
+	- Modify code for SPi
+
+	Modified Files
+		M	drivers/spi/hspi-s3c64xx.c
+
+v2.6.28.6-samsung-r1: Jaeryul Oh
+	- Official Release (09.04.06)
+
+v2.6.28.6-samsung-r1d0: Jae-Cheol Lee
+	- Modified default configuration for SMDK6440
+	Modified Files:
+		M	arch/arm/configs/smdk6440ramdisk_defconfig
+
+v2.6.28.6-samsung-r1d1: Jaeryul Oh
+	- MFC, JPEG suspend/resume related code for SMDK6410 changed
+	Modified Files :
+		M       drivers/media/video/samsung/jpeg/jpg_mem.c
+		M       drivers/media/video/samsung/jpeg/s3c-jpeg.c
+		M       drivers/media/video/samsung/mfc10/s3c_mfc.c
+
+v2.6.28.6-samsung-r1d2: Jae-Cheol Lee
+	- Modified voltage regulator control code for SMDKC100
+	Modified Files :
+		M	arch/arm/plat-s5pc1xx/ltc3714.c
+
+v2.6.28.6-samsung-r1d3: Jae-Cheol Lee
+	- Support CHIPID for S5P6440
+	Modified Files:
+		M	arch/arm/plat-s5pc1xx/cpu.c
+
+v2.6.28.6-samsung-r1d4: Jiun Yu, PyoungJae Jung
+	- fixed cache issue in MFC driver
+
+v2.6.28.6-samsung-r1d5: Jae-Cheol Lee
+	- Change Console UART port 0 -> 1 for SMDK6440
+	Modified Files:
+		M	arch/arm/configs/smdk6440ramdisk_defconfig
+
+v2.6.28.6-samsung-r1d6: Byungjae Lee
+	- Fixed BUG USB OTG Device role for SMDK6440 and C100
+
+	Modified Files:
+		M	drivers/usb/gadget/s3c_udc_otg.c
+
+v2.6.28.6-samsung-r1d7: Jongpill LEe
+	- Support RTC for S5P6440
+
+	Modified files:
+		M       arch/arm/mach-s5p6440/include/mach/map.h
+		M       arch/arm/mach-s5p6440/mach-smdk6440.c
+		M       arch/arm/plat-s3c/include/plat/regs-rtc.h
+		M       arch/arm/plat-s5p64xx/devs.c
+		M       drivers/rtc/Kconfig
+		M       drivers/rtc/rtc-s3c.c
+
+v2.6.28.6-samsung-r2: Kyoungil Kim
+	- Official Release for SMDK6410(09.04.09)
+
+v2.6.28.6-samsung-r2d0: Jongpill LEe
+        - Support Watchdog timer for S5P6440
+
+	Modified Files:
+		M       arch/arm/mach-s5p6440/include/mach/map.h
+		M       arch/arm/mach-s5p6440/mach-smdk6440.c
+		M       arch/arm/plat-s5p64xx/devs.c
+		M       drivers/rtc/rtc-s3c.c
+		M       drivers/watchdog/Kconfig
+
+v2.6.28.6-samsung-r2d1: Jongpill Lee
+	- Support ADC Driver for S5P6440
+
+	Modified Files:
+		M       arch/arm/mach-s5p6440/include/mach/map.h
+		M       arch/arm/mach-s5p6440/mach-smdk6440.c
+		M       arch/arm/plat-s3c64xx/adc.c
+		M       arch/arm/plat-s5p64xx/Kconfig
+		M       arch/arm/plat-s5p64xx/devs.c
+
+v2.6.28.6-samsung-r2d2: Jiun, Yu, PyoungJae Jung
+	- fixed cache issue in MFC1.0(6410) driver
+
+	Modified Files :
+		M	drivers/media/video/samsung/mfc10/s3c_mfc_set_config.c
+
+v2.6.28.6-samsung-r2d3: Jiun, Yu, PyoungJae Jung
+	- fixed cache issue in MFC1.0(6410) driver
+	- changed cache update way to dma_cache_maint
+
+	Modified Files :
+		M	drivers/media/video/samsung/mfc10/s3c_mfc_set_config.c
+		M	drivers/media/video/samsung/mfc10/s3c_mfc.c
+		M	drivers/media/video/samsung/mfc10/s3c_mfc_databuf.c
+		M	drivers/media/video/samsung/mfc10/s3c_mfc_instance.c
+		M	drivers/media/video/samsung/mfc10/s3c_mfc_set_config.c
+
+v2.6.28.6-samsung-r2d4: Jae-Cheol Lee
+	- Support DVFS on SMDK6440 board
+
+	Modified Files :
+		M	arch/arm/Kconfig
+		M	arch/arm/plat-s5p64xx/Makefile
+		M	arch/arm/plat-s5p64xx/clock.c
+		M 	arch/arm/plat-s5p64xx/ltc3714.c
+		M 	arch/arm/plat-s5p64xx/s5p64xx-cpufreq
+
+v2.6.28.6-samsung-r2d5: Jongpill Lee
+	- Modify some code for S5PC100
+
+	Modified Files :
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-power.h
+
+v2.6.28.6-samsung-r2d6: Jae-Cheol Lee
+	- Support backlight class by PWM on SMDK6440 board
+
+	Added Files :
+		A	arch/arm/plat-s5p64xx/pwm.c
+	
+	Modified Files :
+		M	arch/arm/configs/smdk6440ramdisk_defconfig
+		M	arch/arm/mach-s5p6440/cpu.c
+		M	arch/arm/mach-s5p6440/mach-smdk6440.c
+		M	arch/arm/plat-s3c/include/plat/clock.h
+		M	arch/arm/plat-s3c/pwm-clock.c
+		M	arch/arm/plat-s5p64xx/Kconfig
+		M	arch/arm/plat-s5p64xx/Makefile
+		M	arch/arm/plat-s5p64xx/clock.c
+		M	arch/arm/plat-s5p64xx/pwm.c
+		M	drivers/video/samsung/s3cfb_fimd5x.c
+
+v2.6.28.6-samsung-r2d7: Jaeryul Oh
+	- MFC suspend/resume related code for SMDK6410 updated
+	Modified Files :
+		M       drivers/media/video/samsung/mfc10/s3c_mfc.c
+		M       drivers/media/video/samsung/mfc10/s3c_mfc_config.h
+
+v2.6.28.6-samsung-r2d8: Jinsung Yang
+	- The 1st phase of MIPI-CSI support
+
+	Addes files:
+		A       arch/arm/plat-s5pc1xx/dev-csis.c
+		A	arch/arm/plat-s5pc1xx/include/plat/csis.h
+		A	arch/arm/plat-s5pc1xx/include/plat/regs-csis.h
+		A	arch/arm/plat-s5pc1xx/setup-csis.c
+		A	drivers/media/video/samsung/fimc/s3c_csis.c
+		A	drivers/media/video/samsung/fimc/s3c_csis.h
+	
+	Modified files:
+		M       arch/arm/mach-s5pc100/include/mach/map.h
+		M       arch/arm/mach-s5pc100/mach-smdkc100.c
+		M       arch/arm/plat-s3c/include/plat/devs.h
+		M       arch/arm/plat-s5pc1xx/Kconfig
+		M       arch/arm/plat-s5pc1xx/Makefile
+		M       arch/arm/plat-s5pc1xx/clock.c
+		M       arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+		M       drivers/media/video/samsung/fimc/Kconfig
+		M       drivers/media/video/samsung/fimc/Makefile
+		M       drivers/media/video/samsung/fimc/s3c_fimc.h
+
+v2.6.28.6-samsung-mfc-r0: PyoungJae Jung, Jiun Yu
+	- first initial version of MFC branch
+	- upgraded MFC40 driver
+	- updated FW
+	- supported multi-instance
+	- unstable version
+
+	Addeds files:
+		A	drivers/media/video/samsung/mfc40/s3c_mfc_msg.h
+
+	Modified files:
+		M	drivers/media/video/samsung/Kconfig
+		M	drivers/media/video/samsung/mfc40/Kconfig
+		M	drivers/media/video/samsung/mfc40/s3c-mfc.c
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.c
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_common.c
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_interface.h
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_intr.c
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.c
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.h
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_opr.c
+
+	Deleted files:
+		D	drivers/media/video/samsung/mfc40/s3c-mfc.h
+
+v2.6.28.6-samsung-mfc-r0d0: PyoungJae Jung, Jiun Yu
+	- updated new MFC driver
+	- fixed bugs in memory manager unit in multi-instance
+	- deleted unused files (logmsg)
+	- pre beta level version
+
+	Modified files:
+		M	drivers/media/video/samsung/mfc40/Makefile
+		M	drivers/media/video/samsung/mfc40/command_control_fw.c
+		M	drivers/media/video/samsung/mfc40/h263_dec_fw.c
+		M	drivers/media/video/samsung/mfc40/h264_dec_fw.c
+		M	drivers/media/video/samsung/mfc40/h264_enc_fw.c
+		M	drivers/media/video/samsung/mfc40/mp2_dec_fw.c
+		M	drivers/media/video/samsung/mfc40/mp4_dec_fw.c
+		M	drivers/media/video/samsung/mfc40/mp4_enc_fw.c
+		M	drivers/media/video/samsung/mfc40/s3c-mfc.c
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.c
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.h
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_common.c
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_common.h
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_errorno.h
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_fw.h
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_interface.h
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.h
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_memory.h
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_opr.c
+		M	drivers/media/video/samsung/mfc40/s3c_mfc_opr.h
+		M	drivers/media/video/samsung/mfc40/vc1_dec_fw.c
+
+	Deleted files:
+		D	drivers/media/video/samsung/mfc40/s3c_mfc_msg.h
+		D	drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.c
+
+v2.6.28.6-samsung-mfc-r0d1: PyoungJae Jung, Jiun Yu, Satish
+	- update CMM driver for hybrid Divx in 6410 support
+	- change coding style
+
+	Added files:
+		A	drivers/media/video/samsung/cmm/s3c_cmm.c
+		A	drivers/media/video/samsung/cmm/s3c_cmm.h
+
+	Modified files:
+		M	drivers/media/video/samsung/cmm/Makefile
+
+	Deleted files:
+		D	drivers/media/video/samsung/cmm/CMMMisc.c
+		D	drivers/media/video/samsung/cmm/CMMMisc.h
+		D	drivers/media/video/samsung/cmm/LogMsg.c
+		D	drivers/media/video/samsung/cmm/LogMsg.h
+		D	drivers/media/video/samsung/cmm/s3c-cmm.c
+		D	drivers/media/video/samsung/cmm/s3c-cmm.h
+
+v2.6.28.6-samsung-r3d3-mfc-r0: PyoungJae Jung, Jiun Yu
+	- merge with v2.6.28.6-samsung-r3d3 in master branch
+	- change tag name convention
+		* master branch tag + mfc tag
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/Documentation/spi/spidev_fdx.c linux-2.6.28.6/Documentation/spi/spidev_fdx.c
--- linux-2.6.28/Documentation/spi/spidev_fdx.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/Documentation/spi/spidev_fdx.c	2009-04-30 09:36:37.000000000 +0200
@@ -14,12 +14,14 @@
 
 static int verbose;
 
+#define MAX_LEN		4096
+
 static void do_read(int fd, int len)
 {
-	unsigned char	buf[32], *bp;
-	int		status;
+	unsigned char	buf[MAX_LEN], *bp;
+	int		status, i;
 
-	/* read at least 2 bytes, no more than 32 */
+	/* read at least 2 bytes, no more than MAX_LEN */
 	if (len < 2)
 		len = 2;
 	else if (len > sizeof(buf))
@@ -36,20 +38,22 @@
 		return;
 	}
 
-	printf("read(%2d, %2d): %02x %02x,", len, status,
-		buf[0], buf[1]);
-	status -= 2;
-	bp = buf + 2;
-	while (status-- > 0)
-		printf(" %02x", *bp++);
+	printf("\nread(%2d, %2d):", len, status);
+	bp = buf;
+	for(i=0; i<status; i++){
+		if(i%10 == 0)
+		   printf("\n");
+		printf(" %03d", *bp++);
+		//printf(" %02x", *bp++);
+	}
 	printf("\n");
 }
 
 static void do_msg(int fd, int len)
 {
 	struct spi_ioc_transfer	xfer[2];
-	unsigned char		buf[32], *bp;
-	int			status;
+	unsigned char		buf[MAX_LEN], *bp;
+	int			status, i;
 
 	memset(xfer, 0, sizeof xfer);
 	memset(buf, 0, sizeof buf);
@@ -59,20 +63,27 @@
 
 	buf[0] = 0xaa;
 	xfer[0].tx_buf = (__u64) buf;
-	xfer[0].len = 1;
+	//xfer[0].len = 1;
+	xfer[0].len = len;
 
-	xfer[1].rx_buf = (__u64) buf;
-	xfer[1].len = len;
+	xfer[1].rx_buf = NULL;//(__u64) buf;
+	xfer[1].len = 0;//len;
 
-	status = ioctl(fd, SPI_IOC_MESSAGE(2), xfer);
+	//status = ioctl(fd, SPI_IOC_MESSAGE(2), xfer);
+	status = ioctl(fd, SPI_IOC_MESSAGE(1), xfer);
 	if (status < 0) {
 		perror("SPI_IOC_MESSAGE");
 		return;
 	}
 
-	printf("response(%2d, %2d): ", len, status);
-	for (bp = buf; len; len--)
-		printf(" %02x", *bp++);
+	printf("\nresponse(%2d, %2d):", len, status);
+	bp = buf;
+	for (i=0; i<len; i++){
+		if(i%10 == 0)
+		   printf("\n");
+		printf(" %03d", *bp++);
+		//printf(" %02x", *bp++);
+	}
 	printf("\n");
 }
 
@@ -137,7 +148,10 @@
 
 	if ((optind + 1) != argc)
 		goto usage;
+	if(argv[optind] != NULL)
 	name = argv[optind];
+	else
+		name = "/dev/spi0";
 
 	fd = open(name, O_RDWR);
 	if (fd < 0) {
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/Documentation/spi/spidev_test.c linux-2.6.28.6/Documentation/spi/spidev_test.c
--- linux-2.6.28/Documentation/spi/spidev_test.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/Documentation/spi/spidev_test.c	2009-04-30 09:36:37.000000000 +0200
@@ -23,62 +23,86 @@
 
 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
 
-static void pabort(const char *s)
-{
-	perror(s);
-	abort();
-}
+#define MAX_LEN	SPIDEV_MAX_BUFFSIZE
+#define DATA_LEN 16
 
-static const char *device = "/dev/spidev1.1";
+static const char *device = "/dev/spi0";
+static const char *data = NULL;
 static uint8_t mode;
 static uint8_t bits = 8;
+static uint32_t pktsz = MAX_LEN/2;
+static uint8_t recv = 0;
 static uint32_t speed = 500000;
 static uint16_t delay;
 
+static void pabort(const char *s)
+{
+	perror(s);
+	abort();
+}
+
 static void transfer(int fd)
 {
-	int ret;
-	uint8_t tx[] = {
-		0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
-		0x40, 0x00, 0x00, 0x00, 0x00, 0x95,
-		0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
-		0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
-		0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
-		0xDE, 0xAD, 0xBE, 0xEF, 0xBA, 0xAD,
-		0xF0, 0x0D,
-	};
-	uint8_t rx[ARRAY_SIZE(tx)] = {0, };
+	int l, ret;
+	uint8_t buf[MAX_LEN];
 	struct spi_ioc_transfer tr = {
-		.tx_buf = (unsigned long)tx,
-		.rx_buf = (unsigned long)rx,
-		.len = ARRAY_SIZE(tx),
+		.tx_buf = NULL,
+		.rx_buf = NULL,
+		.len = pktsz,
 		.delay_usecs = delay,
 		.speed_hz = speed,
 		.bits_per_word = bits,
 	};
 
+	if(recv){
+	   tr.rx_buf = (unsigned long)buf;
+	}else{
+	   if(data != NULL){
+	      l = strlen(data);
+	      printf("data=%s datalen=%d\n", data, strlen(data));
+	      for(ret=0; ret<pktsz; ret++){
+		buf[ret] = *(char *)(data + (ret % l));
+	      }
+	   }else{
+	      for(ret=0; ret<pktsz; ret++)
+		buf[ret] = ret;
+	   }
+	   tr.tx_buf = (unsigned long)buf;
+	}
+
 	ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);
-	if (ret == 1)
-		pabort("can't send spi message");
+	if (ret <= 0)
+		pabort("spi message aborted");
 
-	for (ret = 0; ret < ARRAY_SIZE(tx); ret++) {
-		if (!(ret % 6))
-			puts("");
-		printf("%.2X ", rx[ret]);
+	fflush(stdout);
+	if(recv)
+	   printf("Data Recvd:- %dbytes\n", pktsz);
+	for(ret=0; recv && ret<pktsz; ret++){
+#if 0
+	   if(ret%16 == 0)
+		printf("\n");
+	   printf("%.2x ", buf[ret]);
+#else
+	   printf("%c", buf[ret]);
+#endif
 	}
-	puts("");
+	printf("\n");
 }
 
 void print_usage(const char *prog)
 {
-	printf("Usage: %s [-DsbdlHOLC3]\n", prog);
-	puts("  -D --device   device to use (default /dev/spidev1.1)\n"
+	printf("Usage: %s [-DsbpdlHOLC3]\n", prog);
+	puts("  -D --device     device to use (default /dev/spi0)\n"
+	     "  -v --data       data pattern\n"
 	     "  -s --speed    max speed (Hz)\n"
 	     "  -d --delay    delay (usec)\n"
 	     "  -b --bpw      bits per word \n"
+	     "  -p --pkt        packet size \n"
+	     "  -x --xfer{0,1}  Tx(0)/Rx(1) \n"
 	     "  -l --loop     loopback\n"
 	     "  -H --cpha     clock phase\n"
 	     "  -O --cpol     clock polarity\n"
+	     "  -S --slave      Slave mode\n"
 	     "  -L --lsb      least significant bit first\n"
 	     "  -C --cs-high  chip select active high\n"
 	     "  -3 --3wire    SI/SO signals shared\n");
@@ -90,12 +114,16 @@
 	while (1) {
 		static const struct option lopts[] = {
 			{ "device",  1, 0, 'D' },
+			{ "data",    1, 0, 'v' },
 			{ "speed",   1, 0, 's' },
 			{ "delay",   1, 0, 'd' },
 			{ "bpw",     1, 0, 'b' },
+			{ "pkt",     1, 0, 'p' },
+			{ "xfer",    1, 0, 'x' },
 			{ "loop",    0, 0, 'l' },
 			{ "cpha",    0, 0, 'H' },
 			{ "cpol",    0, 0, 'O' },
+			{ "slave",   0, 0, 'S' },
 			{ "lsb",     0, 0, 'L' },
 			{ "cs-high", 0, 0, 'C' },
 			{ "3wire",   0, 0, '3' },
@@ -103,7 +131,7 @@
 		};
 		int c;
 
-		c = getopt_long(argc, argv, "D:s:d:b:lHOLC3", lopts, NULL);
+		c = getopt_long(argc, argv, "D:v:s:d:b:p:x:lHOSLC3", lopts, NULL);
 
 		if (c == -1)
 			break;
@@ -112,6 +140,9 @@
 		case 'D':
 			device = optarg;
 			break;
+		case 'v':
+			data = optarg;
+			break;
 		case 's':
 			speed = atoi(optarg);
 			break;
@@ -121,6 +152,12 @@
 		case 'b':
 			bits = atoi(optarg);
 			break;
+		case 'p':
+			pktsz = atoi(optarg);
+			break;
+		case 'x':
+			recv = atoi(optarg);
+			break;
 		case 'l':
 			mode |= SPI_LOOP;
 			break;
@@ -130,6 +167,9 @@
 		case 'O':
 			mode |= SPI_CPOL;
 			break;
+		case 'S':
+			mode |= SPI_SLAVE;
+			break;
 		case 'L':
 			mode |= SPI_LSB_FIRST;
 			break;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/Makefile linux-2.6.28.6/Makefile
--- linux-2.6.28/Makefile	2010-09-06 21:24:47.000000000 +0200
+++ linux-2.6.28.6/Makefile	2009-04-30 09:36:37.000000000 +0200
 # Architecture as present in compile.h
 UTS_MACHINE 	:= $(ARCH)
@@ -574,10 +576,10 @@
 endif
 
 # Use --build-id when available.
-LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\
-			      $(call ld-option, -Wl$(comma)--build-id,))
-LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID)
-LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID)
+#LDFLAGS_BUILD_ID = $(patsubst -Wl$(comma)%,%,\
+#			      $(call ld-option, -Wl$(comma)--build-id,))
+#LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID)
+#LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID)
 
 # Default kernel image to build when no specific target is given.
 # KBUILD_IMAGE may be overruled on the command line or
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/Kconfig linux-2.6.28.6/arch/arm/Kconfig
--- linux-2.6.28/arch/arm/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -498,6 +498,27 @@
 	  BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
 	  the Samsung SMDK2410 development board (and derivatives).
 
+config ARCH_S3C64XX
+	bool "Samsung S3C64XX"
+	select GENERIC_GPIO
+	select HAVE_CLK
+	help
+	  Samsung S3C64XX series based systems
+
+config ARCH_S5P64XX
+	bool "Samsung S5P64XX"
+	select GENERIC_GPIO
+	select HAVE_CLK
+	help
+	  Samsung S5P64XX series based systems
+
+config ARCH_S5PC1XX
+	bool "Samsung S5PC1XX"
+	select GENERIC_GPIO
+	select HAVE_CLK
+	help
+	  Samsung S5PC1XX series based systems
+
 config ARCH_SHARK
 	bool "Shark"
 	select ISA
@@ -590,6 +611,9 @@
 source "arch/arm/mach-kirkwood/Kconfig"
 
 source "arch/arm/plat-s3c24xx/Kconfig"
+source "arch/arm/plat-s3c64xx/Kconfig"
+source "arch/arm/plat-s5pc1xx/Kconfig"
+source "arch/arm/plat-s5p64xx/Kconfig"
 source "arch/arm/plat-s3c/Kconfig"
 
 if ARCH_S3C2410
@@ -601,6 +625,19 @@
 source "arch/arm/mach-s3c2443/Kconfig"
 endif
 
+if ARCH_S3C64XX
+source "arch/arm/mach-s3c6400/Kconfig"
+source "arch/arm/mach-s3c6410/Kconfig"
+endif
+
+if ARCH_S5PC1XX
+source "arch/arm/mach-s5pc100/Kconfig"
+endif
+
+if ARCH_S5P64XX
+source "arch/arm/mach-s5p6440/Kconfig"
+endif
+
 source "arch/arm/mach-lh7a40x/Kconfig"
 
 source "arch/arm/mach-imx/Kconfig"
@@ -805,7 +842,7 @@
 config HZ
 	int
 	default 128 if ARCH_L7200
-	default 200 if ARCH_EBSA110 || ARCH_S3C2410
+	default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5P64XX || ARCH_S5PC1XX
 	default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
 	default AT91_TIMER_HZ if ARCH_AT91
 	default 100
@@ -876,7 +913,8 @@
 		   ARCH_OMAP || ARCH_P720T || ARCH_PXA_IDP || \
 		   ARCH_SA1100 || ARCH_SHARK || ARCH_VERSATILE || \
 		   ARCH_AT91 || ARCH_DAVINCI || \
-		   ARCH_KS8695 || MACH_RD88F5182
+		   ARCH_KS8695 || MACH_RD88F5182 || \
+                   MACH_SMDKC100
 	help
 	  If you say Y here, the LEDs on your machine will be used
 	  to provide useful information about your current system status.
@@ -891,7 +929,8 @@
 config LEDS_TIMER
 	bool "Timer LED" if (!ARCH_CDB89712 && !ARCH_OMAP) || \
 			    OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
-			    || MACH_OMAP_PERSEUS2
+			    || MACH_OMAP_PERSEUS2 || \
+		            MACH_SMDKC100
 	depends on LEDS
 	depends on !GENERIC_CLOCKEVENTS
 	default y if ARCH_EBSA110
@@ -910,7 +949,7 @@
 	bool "CPU usage LED" if (!ARCH_CDB89712 && !ARCH_EBSA110 && \
 			!ARCH_OMAP) \
 			|| OMAP_OSK_MISTRAL || MACH_OMAP_H2 \
-			|| MACH_OMAP_PERSEUS2
+			|| MACH_OMAP_PERSEUS2 || MACH_SMDKC100
 	depends on LEDS
 	help
 	  If you say Y here, the red LED will be used to give a good real
@@ -1037,7 +1076,7 @@
 
 menu "CPU Power Management"
 
-if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA)
+if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA || CPU_S3C6410 || CPU_S5PC100 || CPU_S5P6440)
 
 source "drivers/cpufreq/Kconfig"
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/Makefile linux-2.6.28.6/arch/arm/Makefile
--- linux-2.6.28/arch/arm/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -121,7 +121,14 @@
  machine-$(CONFIG_ARCH_OMAP3)	   := omap2
     plat-$(CONFIG_ARCH_OMAP)	   := omap
  machine-$(CONFIG_ARCH_S3C2410)	   := s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443
+ machine-$(CONFIG_ARCH_S3C24A0)	   := s3c24a0
     plat-$(CONFIG_PLAT_S3C24XX)	   := s3c24xx s3c
+ machine-$(CONFIG_ARCH_S3C64XX)	   := s3c6400 s3c6410
+    plat-$(CONFIG_PLAT_S3C64XX)	   := s3c64xx s3c
+ machine-$(CONFIG_ARCH_S5P64XX)	   := s5p6440
+    plat-$(CONFIG_PLAT_S5P64XX)	   := s5p64xx s3c
+ machine-$(CONFIG_ARCH_S5PC1XX)	   := s5pc100 
+    plat-$(CONFIG_PLAT_S5PC1XX)	   := s5pc1xx s3c
  machine-$(CONFIG_ARCH_LH7A40X)	   := lh7a40x
  machine-$(CONFIG_ARCH_VERSATILE)  := versatile
  machine-$(CONFIG_ARCH_IMX)	   := imx
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/common/vic.c linux-2.6.28.6/arch/arm/common/vic.c
--- linux-2.6.28/arch/arm/common/vic.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/common/vic.c	2009-04-30 09:36:37.000000000 +0200
@@ -69,12 +69,12 @@
 	/*
 	 * Make sure we clear all existing interrupts
 	 */
-	writel(0, base + VIC_VECT_ADDR);
+	writel(0, base + VIC_PL190_VECT_ADDR);
 	for (i = 0; i < 19; i++) {
 		unsigned int value;
 
-		value = readl(base + VIC_VECT_ADDR);
-		writel(value, base + VIC_VECT_ADDR);
+		value = readl(base + VIC_PL190_VECT_ADDR);
+		writel(value, base + VIC_PL190_VECT_ADDR);
 	}
 
 	for (i = 0; i < 16; i++) {
@@ -82,7 +82,7 @@
 		writel(VIC_VECT_CNTL_ENABLE | i, reg);
 	}
 
-	writel(32, base + VIC_DEF_VECT_ADDR);
+	writel(32, base + VIC_PL190_DEF_VECT_ADDR);
 
 	for (i = 0; i < 32; i++) {
 		unsigned int irq = irq_start + i;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/s3c6400_defconfig linux-2.6.28.6/arch/arm/configs/s3c6400_defconfig
--- linux-2.6.28/arch/arm/configs/s3c6400_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/s3c6400_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,845 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28-rc3
+# Mon Nov  3 10:10:30 2008
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+CONFIG_S3C64XX_SETUP_I2C1=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=100
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=0
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="console=ttySAC0,115200 root=/dev/ram init=/bin/bash initrd=0x51000000,4M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+CONFIG_VFP=y
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+# CONFIG_NET is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_MTD is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=4096
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+# CONFIG_SCSI is not set
+# CONFIG_SCSI_DMA is not set
+# CONFIG_SCSI_NETLINK is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+# CONFIG_INPUT_EVDEV is not set
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+# CONFIG_INPUT_TOUCHSCREEN is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_HELPER_AUTO=y
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+CONFIG_AT24=y
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+# CONFIG_WATCHDOG is not set
+
+#
+# Sonics Silicon Backplane
+#
+CONFIG_SSB_POSSIBLE=y
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+# CONFIG_FB is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+# CONFIG_SOUND is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+# CONFIG_USB_ARCH_HAS_OHCI is not set
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+# CONFIG_USB is not set
+
+#
+# Enable Host or Gadget support to see Inventra options
+#
+
+#
+# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
+#
+# CONFIG_USB_GADGET is not set
+CONFIG_MMC=y
+CONFIG_MMC_DEBUG=y
+CONFIG_MMC_UNSAFE_RESUME=y
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+
+#
+# Voltage and Current regulators
+#
+# CONFIG_REGULATOR is not set
+# CONFIG_REGULATOR_FIXED_VOLTAGE is not set
+# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set
+# CONFIG_REGULATOR_BQ24022 is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+# CONFIG_MSDOS_FS is not set
+# CONFIG_VFAT_FS is not set
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+# CONFIG_NLS is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+# CONFIG_CRYPTO is not set
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdk6410mtd_defconfig linux-2.6.28.6/arch/arm/configs/smdk6410mtd_defconfig
--- linux-2.6.28/arch/arm/configs/smdk6410mtd_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdk6410mtd_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1468 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28-rc8
+# Fri Jan 30 14:36:44 2009
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+CONFIG_S3C64XX_SETUP_I2C1=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_SPLIT_ROOT_FILESYSTEM=y
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=0
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/mtdblock2 rootfstype=cramfs init=/linuxrc console=ttySAC0,115200 mem=128M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+CONFIG_FPE_NWFPE=y
+# CONFIG_FPE_NWFPE_XP is not set
+# CONFIG_FPE_FASTFPE is not set
+CONFIG_VFP=y
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+CONFIG_XFRM=y
+# CONFIG_XFRM_USER is not set
+# CONFIG_XFRM_SUB_POLICY is not set
+# CONFIG_XFRM_MIGRATE is not set
+# CONFIG_XFRM_STATISTICS is not set
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+# CONFIG_IP_PNP_DHCP is not set
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_IP_PNP_RARP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+CONFIG_INET_XFRM_MODE_TRANSPORT=y
+CONFIG_INET_XFRM_MODE_TUNNEL=y
+CONFIG_INET_XFRM_MODE_BEET=y
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+# CONFIG_MTD_UBI is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+# CONFIG_DM9000 is not set
+CONFIG_SMC911X=y
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+CONFIG_NETDEV_1000=y
+CONFIG_NETDEV_10000=y
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+CONFIG_PPP=y
+CONFIG_PPP_MULTILINK=y
+CONFIG_PPP_FILTER=y
+CONFIG_PPP_ASYNC=y
+CONFIG_PPP_SYNC_TTY=y
+# CONFIG_PPP_DEFLATE is not set
+# CONFIG_PPP_BSDCOMP is not set
+# CONFIG_PPP_MPPE is not set
+# CONFIG_PPPOE is not set
+# CONFIG_PPPOL2TP is not set
+# CONFIG_SLIP is not set
+CONFIG_SLHC=y
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYPAD_S3C is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_S3C=y
+CONFIG_TOUCHSCREEN_NEW=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_S3C_MEM=y
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_HELPER_AUTO=y
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+CONFIG_AT24=y
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7462 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+# #
+# # Watchdog Device Drivers
+# #
+# # CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+# #
+# # ISA-based Watchdog Cards
+# #
+# # CONFIG_PCWATCHDOG is not set
+# # CONFIG_MIXCOMWD is not set
+# # CONFIG_WDT is not set
+
+#
+# Sonics Silicon Backplane
+#
+CONFIG_SSB_POSSIBLE=y
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_DVB_CORE is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_LTE480WV=y
+# CONFIG_FB_S3C_LTV350QV is not set
+# CONFIG_FB_S3C_LTS222QV is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=1
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+# CONFIG_FB_S3C_DOUBLE_BUFFERING is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE is not set
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+# CONFIG_SND_MIXER_OSS is not set
+# CONFIG_SND_PCM_OSS is not set
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C6410_SOC_I2S=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713 is not set
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580=y
+CONFIG_SOUND_WM8580_INPUT_STREAM_LINE=y
+# CONFIG_SOUND_WM8580_INPUT_STREAM_MIC is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM8580=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+# CONFIG_USB_DEBUG is not set
+# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+# CONFIG_USB_SERIAL is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+# CONFIG_USB_GADGET is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_JFFS2_FS is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+# CONFIG_NFS_FS is not set
+# CONFIG_NFSD is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+# CONFIG_CRYPTO_DEFLATE is not set
+# CONFIG_CRYPTO_LZO is not set
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+CONFIG_CRC_CCITT=y
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdk6410nfs_defconfig linux-2.6.28.6/arch/arm/configs/smdk6410nfs_defconfig
--- linux-2.6.28/arch/arm/configs/smdk6410nfs_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdk6410nfs_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1395 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28-rc4
+# Tue Nov 25 12:51:23 2008
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+CONFIG_S3C64XX_SETUP_I2C1=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=0
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/nfs rw nfsroot=12.23.106.52:/opt/small_root_eabi ip=192.168.0.20:12.23.106.52:192.168.0.1:255.255.255.0:test::off init=/linuxrc console=ttySAC0,115200 mem=128M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+CONFIG_VFP=y
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+CONFIG_XFRM=y
+# CONFIG_XFRM_USER is not set
+# CONFIG_XFRM_SUB_POLICY is not set
+# CONFIG_XFRM_MIGRATE is not set
+# CONFIG_XFRM_STATISTICS is not set
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+# CONFIG_IP_PNP_DHCP is not set
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_IP_PNP_RARP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+CONFIG_INET_XFRM_MODE_TRANSPORT=y
+CONFIG_INET_XFRM_MODE_TUNNEL=y
+CONFIG_INET_XFRM_MODE_BEET=y
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+# CONFIG_MTD is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+# CONFIG_DM9000 is not set
+CONFIG_SMC911X=y
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+CONFIG_NETDEV_1000=y
+CONFIG_NETDEV_10000=y
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+# CONFIG_WAN is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYPAD_S3C is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_S3C=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_S3C_ADC is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_HELPER_AUTO=y
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+CONFIG_AT24=y
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+# #
+# # Watchdog Device Drivers
+# #
+# # CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+# #
+# # ISA-based Watchdog Cards
+# #
+# # CONFIG_PCWATCHDOG is not set
+# # CONFIG_MIXCOMWD is not set
+# # CONFIG_WDT is not set
+
+#
+# Sonics Silicon Backplane
+#
+CONFIG_SSB_POSSIBLE=y
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_DVB_CORE is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_LTE480WV=y
+# CONFIG_FB_S3C_LTV350QV is not set
+# CONFIG_FB_S3C_LTS222QV is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=1
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+# CONFIG_FB_S3C_DOUBLE_BUFFERING is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE is not set
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+# CONFIG_SND_MIXER_OSS is not set
+# CONFIG_SND_PCM_OSS is not set
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_SOC=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C6410_SOC_I2S=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713 is not set
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580=y
+CONFIG_SOUND_WM8580_INPUT_STREAM_LINE=y
+# CONFIG_SOUND_WM8580_INPUT_STREAM_MIC is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM8580=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+# CONFIG_USB_DEBUG is not set
+# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+# CONFIG_USB_SERIAL is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+# CONFIG_USB_GADGET is not set
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+# CONFIG_USB_GADGET_S3C_OTGD is not set
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+CONFIG_NFS_V3_ACL=y
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_ACL_SUPPORT=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+CONFIG_PARTITION_ADVANCED=y
+# CONFIG_ACORN_PARTITION is not set
+# CONFIG_OSF_PARTITION is not set
+# CONFIG_AMIGA_PARTITION is not set
+# CONFIG_ATARI_PARTITION is not set
+# CONFIG_MAC_PARTITION is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_BSD_DISKLABEL=y
+# CONFIG_MINIX_SUBPARTITION is not set
+CONFIG_SOLARIS_X86_PARTITION=y
+# CONFIG_UNIXWARE_DISKLABEL is not set
+# CONFIG_LDM_PARTITION is not set
+# CONFIG_SGI_PARTITION is not set
+# CONFIG_ULTRIX_PARTITION is not set
+# CONFIG_SUN_PARTITION is not set
+# CONFIG_KARMA_PARTITION is not set
+# CONFIG_EFI_PARTITION is not set
+# CONFIG_SYSV68_PARTITION is not set
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+# CONFIG_CRYPTO_DEFLATE is not set
+# CONFIG_CRYPTO_LZO is not set
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdk6410onenand_defconfig linux-2.6.28.6/arch/arm/configs/smdk6410onenand_defconfig
--- linux-2.6.28/arch/arm/configs/smdk6410onenand_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdk6410onenand_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1267 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28-rc8
+# Thu Jan 15 18:17:50 2009
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+CONFIG_S3C64XX_SETUP_I2C1=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_SPLIT_ROOT_FILESYSTEM=y
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=0
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/mtdblock2 rw rootfstype=jffs2 init=/linuxrc console=ttySAC0,115200 mem=128M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_VFP is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+# CONFIG_NET is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+# CONFIG_MTD_NAND is not set
+CONFIG_MTD_ONENAND=y
+CONFIG_MTD_ONENAND_VERIFY_WRITE=y
+CONFIG_MTD_ONENAND_GENERIC=y
+# CONFIG_MTD_ONENAND_OTP is not set
+# CONFIG_MTD_ONENAND_2X_PROGRAM is not set
+# CONFIG_MTD_ONENAND_SIM is not set
+
+#
+# UBI - Unsorted block images
+#
+# CONFIG_MTD_UBI is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYPAD_S3C is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_S3C=y
+CONFIG_TOUCHSCREEN_NEW=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_S3C_MEM=y
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_HELPER_AUTO=y
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+CONFIG_AT24=y
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7462 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+# #
+# # Watchdog Device Drivers
+# #
+# # CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+# #
+# # ISA-based Watchdog Cards
+# #
+# # CONFIG_PCWATCHDOG is not set
+# # CONFIG_MIXCOMWD is not set
+# # CONFIG_WDT is not set
+
+#
+# Sonics Silicon Backplane
+#
+CONFIG_SSB_POSSIBLE=y
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_LTE480WV=y
+# CONFIG_FB_S3C_LTV350QV is not set
+# CONFIG_FB_S3C_LTS222QV is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=1
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+# CONFIG_FB_S3C_DOUBLE_BUFFERING is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE is not set
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+# CONFIG_SND_MIXER_OSS is not set
+# CONFIG_SND_PCM_OSS is not set
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_SOC=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C6410_SOC_I2S=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713 is not set
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580=y
+CONFIG_SOUND_WM8580_INPUT_STREAM_LINE=y
+# CONFIG_SOUND_WM8580_INPUT_STREAM_MIC is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM8580=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+# CONFIG_USB_DEBUG is not set
+# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+# CONFIG_USB_SERIAL is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+# CONFIG_USB_GADGET is not set
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+# CONFIG_USB_GADGET_S3C_OTGD is not set
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_JFFS2_FS=y
+CONFIG_JFFS2_FS_DEBUG=0
+CONFIG_JFFS2_FS_WRITEBUFFER=y
+# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
+# CONFIG_JFFS2_SUMMARY is not set
+# CONFIG_JFFS2_FS_XATTR is not set
+CONFIG_JFFS2_COMPRESSION_OPTIONS=y
+CONFIG_JFFS2_ZLIB=y
+CONFIG_JFFS2_LZO=y
+CONFIG_JFFS2_RTIME=y
+# CONFIG_JFFS2_RUBIN is not set
+# CONFIG_JFFS2_CMODE_NONE is not set
+CONFIG_JFFS2_CMODE_PRIORITY=y
+# CONFIG_JFFS2_CMODE_SIZE is not set
+# CONFIG_JFFS2_CMODE_FAVOURLZO is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+# CONFIG_CRYPTO is not set
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdk6410ramdisk_defconfig linux-2.6.28.6/arch/arm/configs/smdk6410ramdisk_defconfig
--- linux-2.6.28/arch/arm/configs/smdk6410ramdisk_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdk6410ramdisk_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1124 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28-rc4
+# Tue Nov 25 12:52:51 2008
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+CONFIG_S3C64XX_SETUP_I2C1=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=0
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x50800000,8M console=ttySAC0,115200 init=/linuxrc mem=128M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+CONFIG_VFP=y
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+# CONFIG_NET is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_MTD is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+# CONFIG_INPUT_EVDEV is not set
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYPAD_S3C is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_S3C=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_S3C_ADC is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_HELPER_AUTO=y
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+CONFIG_AT24=y
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+# #
+# # Watchdog Device Drivers
+# #
+# # CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+# #
+# # ISA-based Watchdog Cards
+# #
+# # CONFIG_PCWATCHDOG is not set
+# # CONFIG_MIXCOMWD is not set
+# # CONFIG_WDT is not set
+
+#
+# Sonics Silicon Backplane
+#
+CONFIG_SSB_POSSIBLE=y
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_LTE480WV=y
+# CONFIG_FB_S3C_LTV350QV is not set
+# CONFIG_FB_S3C_LTS222QV is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=1
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+# CONFIG_FB_S3C_DOUBLE_BUFFERING is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224=y
+# CONFIG_SOUND is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+# CONFIG_USB_DEBUG is not set
+# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+# CONFIG_USB_SERIAL is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+# CONFIG_USB_GADGET is not set
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+# CONFIG_USB_GADGET_S3C_OTGD is not set
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+# CONFIG_CRYPTO is not set
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdk6410rf_defconfig linux-2.6.28.6/arch/arm/configs/smdk6410rf_defconfig
--- linux-2.6.28/arch/arm/configs/smdk6410rf_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdk6410rf_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1040 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28-rc8
+# Mon Feb  2 12:53:27 2009
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+CONFIG_S3C64XX_SETUP_I2C1=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_SPLIT_ROOT_FILESYSTEM=y
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=0
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/mtdblock2 rootfstype=cramfs init=/linuxrc console=ttySAC0,115200 mem=128M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_VFP is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+# CONFIG_NET is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_DATAFLASH is not set
+# CONFIG_MTD_M25P80 is not set
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+# CONFIG_MTD_UBI is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+# CONFIG_SCSI is not set
+# CONFIG_SCSI_DMA is not set
+# CONFIG_SCSI_NETLINK is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYPAD_S3C is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+# CONFIG_TOUCHSCREEN_ADS7846 is not set
+CONFIG_TOUCHSCREEN_S3C=y
+CONFIG_TOUCHSCREEN_NEW=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_S3C_MEM=y
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_HELPER_AUTO=y
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+CONFIG_AT24=y
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+CONFIG_SPI=y
+# CONFIG_SPI_DEBUG is not set
+CONFIG_SPI_MASTER=y
+
+#
+# SPI Master Controller Drivers
+#
+# CONFIG_SPI_BITBANG is not set
+
+#
+# SPI Protocol Masters
+#
+# CONFIG_SPI_AT25 is not set
+# CONFIG_SPI_SPIDEV is not set
+# CONFIG_SPI_TLE62X0 is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_GPIO_MAX7301 is not set
+# CONFIG_GPIO_MCP23S08 is not set
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADCXX is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7462 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM70 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1111 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+# CONFIG_WATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+# CONFIG_FB is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE is not set
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+# CONFIG_SND_MIXER_OSS is not set
+# CONFIG_SND_PCM_OSS is not set
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_SPI=y
+CONFIG_SND_SOC=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C6410_SOC_I2S_V32=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+CONFIG_SND_S3C64XX_SOC_SMDK6410_S5M8751=y
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_S5M8751=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+# CONFIG_USB_ARCH_HAS_OHCI is not set
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+# CONFIG_USB is not set
+
+#
+# Enable Host or Gadget support to see Inventra options
+#
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+# CONFIG_USB_GADGET is not set
+CONFIG_MMC=y
+CONFIG_MMC_DEBUG=y
+CONFIG_MMC_UNSAFE_RESUME=y
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MMC_SPI is not set
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+# CONFIG_MSDOS_FS is not set
+# CONFIG_VFAT_FS is not set
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_JFFS2_FS is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+# CONFIG_CRYPTO is not set
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdk6440ramdisk_defconfig linux-2.6.28.6/arch/arm/configs/smdk6440ramdisk_defconfig
--- linux-2.6.28/arch/arm/configs/smdk6440ramdisk_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdk6440ramdisk_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1285 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Sat Apr  4 19:51:52 2009
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+# CONFIG_ARCH_S3C64XX is not set
+CONFIG_ARCH_S5P64XX=y
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S5P64XX=y
+CONFIG_CPU_S5P6440_INIT=y
+CONFIG_CPU_S5P6440_CLOCK=y
+CONFIG_S5P64XX_SETUP_I2C0=y
+CONFIG_S5P64XX_SETUP_I2C1=y
+CONFIG_PLAT_S3C=y
+# CONFIG_HAVE_PWM is not set
+#
+# Boot options
+#
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=1
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_S3C_DMA_PL330=y
+CONFIG_CPU_S5P6440=y
+CONFIG_S5P6440_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6440=y
+CONFIG_SMDK6440_SD_CH0=y
+# CONFIG_SMDK6440_SD_CH1 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=0
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC1,115200 init=/linuxrc mem=256M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+CONFIG_VFP=y
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+CONFIG_XFRM=y
+# CONFIG_XFRM_USER is not set
+# CONFIG_XFRM_SUB_POLICY is not set
+# CONFIG_XFRM_MIGRATE is not set
+# CONFIG_XFRM_STATISTICS is not set
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+# CONFIG_IP_PNP_DHCP is not set
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_IP_PNP_RARP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+CONFIG_INET_XFRM_MODE_TRANSPORT=y
+CONFIG_INET_XFRM_MODE_TUNNEL=y
+CONFIG_INET_XFRM_MODE_BEET=y
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+# CONFIG_MTD is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+# CONFIG_MII is not set
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+# CONFIG_DM9000 is not set
+# CONFIG_SMC911X is not set
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+CONFIG_NETDEV_1000=y
+CONFIG_NETDEV_10000=y
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+# CONFIG_WAN is not set
+CONFIG_PPP=y
+CONFIG_PPP_MULTILINK=y
+CONFIG_PPP_FILTER=y
+CONFIG_PPP_ASYNC=y
+CONFIG_PPP_SYNC_TTY=y
+# CONFIG_PPP_DEFLATE is not set
+# CONFIG_PPP_BSDCOMP is not set
+# CONFIG_PPP_MPPE is not set
+# CONFIG_PPPOE is not set
+# CONFIG_PPPOL2TP is not set
+# CONFIG_SLIP is not set
+CONFIG_SLHC=y
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+# CONFIG_INPUT_EVDEV is not set
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_S3C=y
+CONFIG_TOUCHSCREEN_NEW=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_S3C_MEM=y
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_HELPER_AUTO=y
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+CONFIG_AT24=y
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7462 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+# CONFIG_WATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_DVB_CORE is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_LTE480WV=y
+# CONFIG_FB_S3C_LTV350QV is not set
+# CONFIG_FB_S3C_LTS222QV is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=1
+CONFIG_FB_S3C_VIRTUAL_SCREEN=y
+CONFIG_FB_S3C_DOUBLE_BUFFERING=y
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_PWM=y
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE is not set
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+# CONFIG_SND_MIXER_OSS is not set
+# CONFIG_SND_PCM_OSS is not set
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_SOC=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S5P64XX_SOC=y
+CONFIG_SND_S5P6440_SOC_I2S=y
+CONFIG_SND_S5P64XX_SOC_SMDK6440_WM8580=y
+CONFIG_SOUND_SMDK6440_WM8580_INPUT_STREAM_LINE=y
+# CONFIG_SOUND_SMDK6440_WM8580_INPUT_STREAM_MIC is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM8580=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+# CONFIG_USB_ARCH_HAS_OHCI is not set
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+# CONFIG_USB is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+CONFIG_USB_ETH=m
+CONFIG_USB_ETH_RNDIS=y
+# CONFIG_USB_GADGETFS is not set
+CONFIG_USB_FILE_STORAGE=m
+# CONFIG_USB_FILE_STORAGE_TEST is not set
+CONFIG_USB_G_SERIAL=m
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+CONFIG_MMC_DEBUG=y
+CONFIG_MMC_UNSAFE_RESUME=y
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+# CONFIG_NFS_V3_ACL is not set
+# CONFIG_NFS_V4 is not set
+# CONFIG_ROOT_NFS is not set
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=1
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+# CONFIG_CRYPTO_DEFLATE is not set
+# CONFIG_CRYPTO_LZO is not set
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+CONFIG_CRC_CCITT=y
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdkc100_defconfig linux-2.6.28.6/arch/arm/configs/smdkc100_defconfig
--- linux-2.6.28/arch/arm/configs/smdkc100_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdkc100_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,947 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28-rc7
+# Thu Dec 11 15:31:22 2008
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+# CONFIG_ARCH_S3C64XX is not set
+CONFIG_ARCH_S5PC1XX=y
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_S3C64XX_SETUP_I2C1=y
+CONFIG_PLAT_S5PC1XX=y
+CONFIG_CPU_S5PC100_INIT=y
+CONFIG_CPU_S5PC100_CLOCK=y
+CONFIG_S5PC1XX_SETUP_I2C0=y
+CONFIG_S5PC1XX_SETUP_I2C1=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_ERROR_RESET is not set
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S5PC1XX=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_S3C_DMA_PL330=y
+CONFIG_CPU_S5PC100=y
+CONFIG_MACH_SMDKC100=y
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_V7=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_ABRT_EV7=y
+CONFIG_CPU_PABRT_IFAR=y
+CONFIG_CPU_CACHE_V7=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V7=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_ARM_THUMBEE is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+CONFIG_HAS_TLS_REG=y
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=0
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x20800000,8M console=ttySAC0,115200 init=/linuxrc mem=128M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+# CONFIG_NEON is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+# CONFIG_NET is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_MTD is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+# CONFIG_SCSI is not set
+# CONFIG_SCSI_DMA is not set
+# CONFIG_SCSI_NETLINK is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+# CONFIG_INPUT_EVDEV is not set
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYPAD_S3C is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_S3C=y
+CONFIG_TOUCHSCREEN_NEW=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S5PC100=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_S3C_MEM=y
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_HELPER_AUTO=y
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+CONFIG_AT24=y
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7462 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+# CONFIG_WATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_LTE480WV=y
+# CONFIG_FB_S3C_LTV350QV is not set
+# CONFIG_FB_S3C_LTS222QV is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=1
+CONFIG_FB_S3C_VIRTUAL_SCREEN=y
+CONFIG_FB_S3C_DOUBLE_BUFFERING=y
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224=y
+# CONFIG_SOUND is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+# CONFIG_USB_ARCH_HAS_OHCI is not set
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+# CONFIG_USB is not set
+
+#
+# Enable Host or Gadget support to see Inventra options
+#
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+# CONFIG_USB_GADGET is not set
+CONFIG_MMC=y
+CONFIG_MMC_DEBUG=y
+CONFIG_MMC_UNSAFE_RESUME=y
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+# CONFIG_RTC_CLASS is not set
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+# CONFIG_MSDOS_FS is not set
+# CONFIG_VFAT_FS is not set
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+# CONFIG_DEBUG_S3C_PORT is not set
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+# CONFIG_CRYPTO is not set
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdkc100mtd_defconfig linux-2.6.28.6/arch/arm/configs/smdkc100mtd_defconfig
--- linux-2.6.28/arch/arm/configs/smdkc100mtd_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdkc100mtd_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1608 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Mar 31 14:00:16 2009
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+# CONFIG_ARCH_S3C64XX is not set
+# CONFIG_ARCH_S5P64XX is not set
+CONFIG_ARCH_S5PC1XX=y
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_S3C64XX_SETUP_I2C1=y
+CONFIG_PLAT_S5PC1XX=y
+CONFIG_CPU_S5PC100_INIT=y
+CONFIG_CPU_S5PC100_CLOCK=y
+CONFIG_S5PC1XX_SETUP_I2C0=y
+CONFIG_S5PC1XX_SETUP_I2C1=y
+CONFIG_S5PC1XX_ADC=y
+CONFIG_S5PC1XX_PWM=y
+CONFIG_S5PC1XX_DEV_FIMC0=y
+CONFIG_S5PC1XX_DEV_FIMC1=y
+CONFIG_S5PC1XX_DEV_FIMC2=y
+CONFIG_S5PC1XX_SETUP_FIMC0=y
+CONFIG_S5PC1XX_SETUP_FIMC1=y
+CONFIG_S5PC1XX_SETUP_FIMC2=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_ERROR_RESET is not set
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_SPLIT_ROOT_FILESYSTEM=y
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S5PC1XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_S3C_DMA_PL330=y
+CONFIG_CPU_S5PC100=y
+CONFIG_S5PC1XX_SETUP_SDHCI=y
+CONFIG_MACH_SMDKC100=y
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_V7=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_ABRT_EV7=y
+CONFIG_CPU_PABRT_IFAR=y
+CONFIG_CPU_CACHE_V7=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V7=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_ARM_THUMBEE is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+CONFIG_HAS_TLS_REG=y
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+# CONFIG_LEDS is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/mtdblock2 rootfstype=cramfs init=/linuxrc console=ttySAC0,115200 mem=128M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+# CONFIG_NEON is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+CONFIG_XFRM=y
+# CONFIG_XFRM_USER is not set
+# CONFIG_XFRM_SUB_POLICY is not set
+# CONFIG_XFRM_MIGRATE is not set
+# CONFIG_XFRM_STATISTICS is not set
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+# CONFIG_IP_PNP_DHCP is not set
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_IP_PNP_RARP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+CONFIG_INET_XFRM_MODE_TRANSPORT=y
+CONFIG_INET_XFRM_MODE_TUNNEL=y
+CONFIG_INET_XFRM_MODE_BEET=y
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+CONFIG_MTD_CONCAT=y
+CONFIG_MTD_PARTITIONS=y
+CONFIG_MTD_REDBOOT_PARTS=y
+CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
+CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
+# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_DATAFLASH is not set
+# CONFIG_MTD_M25P80 is not set
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+# CONFIG_MTD_UBI is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_NET_ETHERNET is not set
+CONFIG_NETDEV_1000=y
+CONFIG_NETDEV_10000=y
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+CONFIG_PPP=y
+CONFIG_PPP_MULTILINK=y
+CONFIG_PPP_FILTER=y
+CONFIG_PPP_ASYNC=y
+CONFIG_PPP_SYNC_TTY=y
+# CONFIG_PPP_DEFLATE is not set
+# CONFIG_PPP_BSDCOMP is not set
+# CONFIG_PPP_MPPE is not set
+# CONFIG_PPPOE is not set
+# CONFIG_PPPOL2TP is not set
+# CONFIG_SLIP is not set
+CONFIG_SLHC=y
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYPAD_S3C is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+# CONFIG_TOUCHSCREEN_ADS7846 is not set
+CONFIG_TOUCHSCREEN_S3C=y
+CONFIG_TOUCHSCREEN_NEW=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S5PC100=y
+# CONFIG_SERIAL_S5PC1XX_HSUART is not set
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_S3C_MEM=y
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+CONFIG_SPI=y
+# CONFIG_SPI_DEBUG is not set
+CONFIG_SPI_MASTER=y
+
+#
+# SPI Master Controller Drivers
+#
+# CONFIG_SPI_BITBANG is not set
+CONFIG_HS_SPI_S5PC100=y
+CONFIG_HSPICLK_PCLK=y
+# CONFIG_HSPICLK_SCLK_48M is not set
+# CONFIG_WORD_TRANSIZE is not set
+
+#
+# SPI Protocol Masters
+#
+# CONFIG_SPI_AT25 is not set
+# CONFIG_SPI_SPIDEV is not set
+# CONFIG_SPI_TLE62X0 is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_GPIO_MAX7301 is not set
+# CONFIG_GPIO_MCP23S08 is not set
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADCXX is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7462 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM70 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1111 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+# CONFIG_WATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_DVB_CORE is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_LTE480WV=y
+# CONFIG_FB_S3C_LTV350QV is not set
+# CONFIG_FB_S3C_LTS222QV is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=1
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+# CONFIG_FB_S3C_DOUBLE_BUFFERING is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE is not set
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+# CONFIG_SND_MIXER_OSS is not set
+# CONFIG_SND_PCM_OSS is not set
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_SPI=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S5PC1XX_SOC=y
+CONFIG_SND_SOC_I2S_V50=y
+CONFIG_SND_SMDKC100_WM8580=y
+CONFIG_SOUND_S5PC100_WM8580_INPUT_STREAM_LINE=y
+# CONFIG_SOUND_S5PC100_WM8580_INPUT_STREAM_MIC is not set
+# CONFIG_SND_SMDKC100_WM9713 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM8580=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+# CONFIG_USB_DEBUG is not set
+# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_S3C_OTG_HOST is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+CONFIG_USB_ACM=y
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+# CONFIG_USB_SERIAL is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+# CONFIG_USB_GADGET is not set
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+# CONFIG_USB_GADGET_S3C_OTGD is not set
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+# CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE is not set
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+# CONFIG_SDIO_UART is not set
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MMC_SDHCI_SCATTERGATHER is not set
+# CONFIG_MMC_SPI is not set
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+# CONFIG_RTC_DRV_M41T94 is not set
+# CONFIG_RTC_DRV_DS1305 is not set
+# CONFIG_RTC_DRV_DS1390 is not set
+# CONFIG_RTC_DRV_MAX6902 is not set
+# CONFIG_RTC_DRV_R9701 is not set
+# CONFIG_RTC_DRV_RS5C348 is not set
+# CONFIG_RTC_DRV_DS3234 is not set
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_YAFFS_FS is not set
+# CONFIG_JFFS2_FS is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+CONFIG_NFS_V3_ACL=y
+# CONFIG_NFS_V4 is not set
+# CONFIG_ROOT_NFS is not set
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_ACL_SUPPORT=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+CONFIG_PARTITION_ADVANCED=y
+# CONFIG_ACORN_PARTITION is not set
+# CONFIG_OSF_PARTITION is not set
+# CONFIG_AMIGA_PARTITION is not set
+# CONFIG_ATARI_PARTITION is not set
+# CONFIG_MAC_PARTITION is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_BSD_DISKLABEL=y
+# CONFIG_MINIX_SUBPARTITION is not set
+CONFIG_SOLARIS_X86_PARTITION=y
+# CONFIG_UNIXWARE_DISKLABEL is not set
+# CONFIG_LDM_PARTITION is not set
+# CONFIG_SGI_PARTITION is not set
+# CONFIG_ULTRIX_PARTITION is not set
+# CONFIG_SUN_PARTITION is not set
+# CONFIG_KARMA_PARTITION is not set
+# CONFIG_EFI_PARTITION is not set
+# CONFIG_SYSV68_PARTITION is not set
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+# CONFIG_DEBUG_S3C_PORT is not set
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+# CONFIG_CRYPTO_DEFLATE is not set
+# CONFIG_CRYPTO_LZO is not set
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+CONFIG_CRC_CCITT=y
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdkc100nfs_defconfig linux-2.6.28.6/arch/arm/configs/smdkc100nfs_defconfig
--- linux-2.6.28/arch/arm/configs/smdkc100nfs_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdkc100nfs_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1657 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Sat Mar 21 18:43:29 2009
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+# CONFIG_ARCH_S3C64XX is not set
+# CONFIG_ARCH_S5P64XX is not set
+CONFIG_ARCH_S5PC1XX=y
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_S3C64XX_SETUP_I2C1=y
+CONFIG_PLAT_S5PC1XX=y
+CONFIG_CPU_S5PC100_INIT=y
+CONFIG_CPU_S5PC100_CLOCK=y
+CONFIG_S5PC1XX_SETUP_I2C0=y
+CONFIG_S5PC1XX_SETUP_I2C1=y
+CONFIG_S5PC1XX_ADC=y
+CONFIG_S5PC1XX_PWM=y
+CONFIG_S5PC1XX_DEV_FIMC0=y
+CONFIG_S5PC1XX_DEV_FIMC1=y
+CONFIG_S5PC1XX_DEV_FIMC2=y
+CONFIG_S5PC1XX_SETUP_FIMC0=y
+CONFIG_S5PC1XX_SETUP_FIMC1=y
+CONFIG_S5PC1XX_SETUP_FIMC2=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+# CONFIG_S3C_BOOT_ERROR_RESET is not set
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_SPLIT_ROOT_FILESYSTEM=y
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S5PC1XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_S3C_DMA_PL330=y
+CONFIG_CPU_S5PC100=y
+CONFIG_S5PC1XX_SETUP_SDHCI=y
+CONFIG_MACH_SMDKC100=y
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_V7=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_ABRT_EV7=y
+CONFIG_CPU_PABRT_IFAR=y
+CONFIG_CPU_CACHE_V7=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V7=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_ARM_THUMBEE is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+CONFIG_HAS_TLS_REG=y
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+# CONFIG_LEDS is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/nfs rw nfsroot=12.23.106.52:/opt/small_root_eabi ip=192.168.0.20:12.23.106.52:192.168.0.1:255.255.255.0:test::off init=/linuxrc console=ttySAC0,115200 mem=128M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+# CONFIG_NEON is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+CONFIG_XFRM=y
+# CONFIG_XFRM_USER is not set
+# CONFIG_XFRM_SUB_POLICY is not set
+# CONFIG_XFRM_MIGRATE is not set
+# CONFIG_XFRM_STATISTICS is not set
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+# CONFIG_IP_PNP_DHCP is not set
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_IP_PNP_RARP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+CONFIG_INET_XFRM_MODE_TRANSPORT=y
+CONFIG_INET_XFRM_MODE_TUNNEL=y
+CONFIG_INET_XFRM_MODE_BEET=y
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+CONFIG_MTD_CONCAT=y
+CONFIG_MTD_PARTITIONS=y
+CONFIG_MTD_REDBOOT_PARTS=y
+CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
+CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
+# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_DATAFLASH is not set
+# CONFIG_MTD_M25P80 is not set
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+# CONFIG_MTD_UBI is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+# CONFIG_DM9000 is not set
+# CONFIG_ENC28J60 is not set
+CONFIG_SMC911X=y
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+CONFIG_NETDEV_1000=y
+CONFIG_NETDEV_10000=y
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+CONFIG_PPP=y
+CONFIG_PPP_MULTILINK=y
+CONFIG_PPP_FILTER=y
+CONFIG_PPP_ASYNC=y
+CONFIG_PPP_SYNC_TTY=y
+# CONFIG_PPP_DEFLATE is not set
+# CONFIG_PPP_BSDCOMP is not set
+# CONFIG_PPP_MPPE is not set
+# CONFIG_PPPOE is not set
+# CONFIG_PPPOL2TP is not set
+# CONFIG_SLIP is not set
+CONFIG_SLHC=y
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYPAD_S3C is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+# CONFIG_TOUCHSCREEN_ADS7846 is not set
+CONFIG_TOUCHSCREEN_S3C=y
+CONFIG_TOUCHSCREEN_NEW=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S5PC100=y
+# CONFIG_SERIAL_S5PC1XX_HSUART is not set
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_S3C_MEM=y
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+CONFIG_SPI=y
+# CONFIG_SPI_DEBUG is not set
+CONFIG_SPI_MASTER=y
+
+#
+# SPI Master Controller Drivers
+#
+# CONFIG_SPI_BITBANG is not set
+CONFIG_HS_SPI_S5PC100=y
+CONFIG_HSPICLK_PCLK=y
+# CONFIG_HSPICLK_SCLK_48M is not set
+# CONFIG_WORD_TRANSIZE is not set
+
+#
+# SPI Protocol Masters
+#
+# CONFIG_SPI_AT25 is not set
+# CONFIG_SPI_SPIDEV is not set
+# CONFIG_SPI_TLE62X0 is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_GPIO_MAX7301 is not set
+# CONFIG_GPIO_MCP23S08 is not set
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADCXX is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7462 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM70 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1111 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_DVB_CORE is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_LTE480WV=y
+# CONFIG_FB_S3C_LTV350QV is not set
+# CONFIG_FB_S3C_LTS222QV is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=1
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+# CONFIG_FB_S3C_DOUBLE_BUFFERING is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE is not set
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+# CONFIG_SND_MIXER_OSS is not set
+# CONFIG_SND_PCM_OSS is not set
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_SPI=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S5PC1XX_SOC=y
+CONFIG_SND_SOC_I2S_V50=y
+CONFIG_SND_SMDKC100_WM8580=y
+CONFIG_SOUND_S5PC100_WM8580_INPUT_STREAM_LINE=y
+# CONFIG_SOUND_S5PC100_WM8580_INPUT_STREAM_MIC is not set
+# CONFIG_SND_SMDKC100_WM9713 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM8580=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+# CONFIG_USB_DEBUG is not set
+# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+# CONFIG_USB_SERIAL is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+CONFIG_USB_ETH=m
+# CONFIG_USB_ETH_RNDIS is not set
+# CONFIG_USB_GADGETFS is not set
+CONFIG_USB_FILE_STORAGE=m
+# CONFIG_USB_FILE_STORAGE_TEST is not set
+CONFIG_USB_G_SERIAL=m
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+# CONFIG_SDIO_UART is not set
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MMC_SDHCI_SCATTERGATHER is not set
+# CONFIG_MMC_SPI is not set
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+# CONFIG_RTC_DRV_M41T94 is not set
+# CONFIG_RTC_DRV_DS1305 is not set
+# CONFIG_RTC_DRV_DS1390 is not set
+# CONFIG_RTC_DRV_MAX6902 is not set
+# CONFIG_RTC_DRV_R9701 is not set
+# CONFIG_RTC_DRV_RS5C348 is not set
+# CONFIG_RTC_DRV_DS3234 is not set
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_YAFFS_FS is not set
+CONFIG_JFFS2_FS=y
+CONFIG_JFFS2_FS_DEBUG=0
+CONFIG_JFFS2_FS_WRITEBUFFER=y
+# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
+# CONFIG_JFFS2_SUMMARY is not set
+# CONFIG_JFFS2_FS_XATTR is not set
+# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
+CONFIG_JFFS2_ZLIB=y
+# CONFIG_JFFS2_LZO is not set
+CONFIG_JFFS2_RTIME=y
+# CONFIG_JFFS2_RUBIN is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+CONFIG_NFS_V3_ACL=y
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_ACL_SUPPORT=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+CONFIG_PARTITION_ADVANCED=y
+# CONFIG_ACORN_PARTITION is not set
+# CONFIG_OSF_PARTITION is not set
+# CONFIG_AMIGA_PARTITION is not set
+# CONFIG_ATARI_PARTITION is not set
+# CONFIG_MAC_PARTITION is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_BSD_DISKLABEL=y
+# CONFIG_MINIX_SUBPARTITION is not set
+CONFIG_SOLARIS_X86_PARTITION=y
+# CONFIG_UNIXWARE_DISKLABEL is not set
+# CONFIG_LDM_PARTITION is not set
+# CONFIG_SGI_PARTITION is not set
+# CONFIG_ULTRIX_PARTITION is not set
+# CONFIG_SUN_PARTITION is not set
+# CONFIG_KARMA_PARTITION is not set
+# CONFIG_EFI_PARTITION is not set
+# CONFIG_SYSV68_PARTITION is not set
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+# CONFIG_DEBUG_S3C_PORT is not set
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+# CONFIG_CRYPTO_DEFLATE is not set
+# CONFIG_CRYPTO_LZO is not set
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+CONFIG_CRC_CCITT=y
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdkc100onenand_defconfig linux-2.6.28.6/arch/arm/configs/smdkc100onenand_defconfig
--- linux-2.6.28/arch/arm/configs/smdkc100onenand_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdkc100onenand_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1625 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Mar 31 13:05:11 2009
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+# CONFIG_ARCH_S3C64XX is not set
+# CONFIG_ARCH_S5P64XX is not set
+CONFIG_ARCH_S5PC1XX=y
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_S3C64XX_SETUP_I2C1=y
+CONFIG_PLAT_S5PC1XX=y
+CONFIG_CPU_S5PC100_INIT=y
+CONFIG_CPU_S5PC100_CLOCK=y
+CONFIG_S5PC1XX_SETUP_I2C0=y
+CONFIG_S5PC1XX_SETUP_I2C1=y
+CONFIG_S5PC1XX_ADC=y
+CONFIG_S5PC1XX_PWM=y
+CONFIG_S5PC1XX_DEV_FIMC0=y
+CONFIG_S5PC1XX_DEV_FIMC1=y
+CONFIG_S5PC1XX_DEV_FIMC2=y
+CONFIG_S5PC1XX_SETUP_FIMC0=y
+CONFIG_S5PC1XX_SETUP_FIMC1=y
+CONFIG_S5PC1XX_SETUP_FIMC2=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+# CONFIG_S3C_BOOT_ERROR_RESET is not set
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_SPLIT_ROOT_FILESYSTEM=y
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S5PC1XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_S3C_DMA_PL330=y
+CONFIG_CPU_S5PC100=y
+CONFIG_S5PC1XX_SETUP_SDHCI=y
+CONFIG_MACH_SMDKC100=y
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_V7=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_ABRT_EV7=y
+CONFIG_CPU_PABRT_IFAR=y
+CONFIG_CPU_CACHE_V7=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V7=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_ARM_THUMBEE is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+CONFIG_HAS_TLS_REG=y
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+# CONFIG_LEDS is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/mtdblock2 rootfstype=cramfs init=/linuxrc console=ttySAC0,115200 mem=128M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+# CONFIG_NEON is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+CONFIG_XFRM=y
+# CONFIG_XFRM_USER is not set
+# CONFIG_XFRM_SUB_POLICY is not set
+# CONFIG_XFRM_MIGRATE is not set
+# CONFIG_XFRM_STATISTICS is not set
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+# CONFIG_IP_PNP_DHCP is not set
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_IP_PNP_RARP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+CONFIG_INET_XFRM_MODE_TRANSPORT=y
+CONFIG_INET_XFRM_MODE_TUNNEL=y
+CONFIG_INET_XFRM_MODE_BEET=y
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+CONFIG_MTD_CONCAT=y
+CONFIG_MTD_PARTITIONS=y
+CONFIG_MTD_REDBOOT_PARTS=y
+CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
+CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
+# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_DATAFLASH is not set
+# CONFIG_MTD_M25P80 is not set
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+# CONFIG_MTD_NAND is not set
+CONFIG_MTD_ONENAND=y
+CONFIG_MTD_ONENAND_VERIFY_WRITE=y
+CONFIG_MTD_ONENAND_GENERIC=y
+# CONFIG_MTD_ONENAND_OTP is not set
+# CONFIG_MTD_ONENAND_2X_PROGRAM is not set
+# CONFIG_MTD_ONENAND_SIM is not set
+
+#
+# UBI - Unsorted block images
+#
+# CONFIG_MTD_UBI is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_NET_ETHERNET is not set
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+CONFIG_PPP=y
+CONFIG_PPP_MULTILINK=y
+CONFIG_PPP_FILTER=y
+CONFIG_PPP_ASYNC=y
+CONFIG_PPP_SYNC_TTY=y
+# CONFIG_PPP_DEFLATE is not set
+# CONFIG_PPP_BSDCOMP is not set
+# CONFIG_PPP_MPPE is not set
+# CONFIG_PPPOE is not set
+# CONFIG_PPPOL2TP is not set
+# CONFIG_SLIP is not set
+CONFIG_SLHC=y
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+CONFIG_KEYPAD_S3C=y
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+# CONFIG_TOUCHSCREEN_ADS7846 is not set
+CONFIG_TOUCHSCREEN_S3C=y
+CONFIG_TOUCHSCREEN_NEW=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S5PC100=y
+# CONFIG_SERIAL_S5PC1XX_HSUART is not set
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_S3C_MEM=y
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+CONFIG_SPI=y
+# CONFIG_SPI_DEBUG is not set
+CONFIG_SPI_MASTER=y
+
+#
+# SPI Master Controller Drivers
+#
+# CONFIG_SPI_BITBANG is not set
+CONFIG_HS_SPI_S5PC100=y
+CONFIG_HSPICLK_PCLK=y
+# CONFIG_HSPICLK_SCLK_48M is not set
+# CONFIG_WORD_TRANSIZE is not set
+
+#
+# SPI Protocol Masters
+#
+# CONFIG_SPI_AT25 is not set
+# CONFIG_SPI_SPIDEV is not set
+# CONFIG_SPI_TLE62X0 is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_GPIO_MAX7301 is not set
+# CONFIG_GPIO_MCP23S08 is not set
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADCXX is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7462 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM70 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1111 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+# CONFIG_VIDEO_DEV is not set
+# CONFIG_DVB_CORE is not set
+# CONFIG_VIDEO_MEDIA is not set
+
+#
+# Multimedia drivers
+#
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_LTE480WV=y
+# CONFIG_FB_S3C_LTV350QV is not set
+# CONFIG_FB_S3C_LTS222QV is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=1
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+# CONFIG_FB_S3C_DOUBLE_BUFFERING is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE is not set
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+# CONFIG_SND_MIXER_OSS is not set
+# CONFIG_SND_PCM_OSS is not set
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_SPI=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S5PC1XX_SOC=y
+CONFIG_SND_SOC_I2S_V50=y
+CONFIG_SND_SMDKC100_WM8580=y
+CONFIG_SOUND_S5PC100_WM8580_INPUT_STREAM_LINE=y
+# CONFIG_SOUND_S5PC100_WM8580_INPUT_STREAM_MIC is not set
+# CONFIG_SND_SMDKC100_WM9713 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM8580=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+# CONFIG_USB_DEBUG is not set
+# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_S3C_OTG_HOST is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+# CONFIG_USB_SERIAL is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+# CONFIG_USB_GADGET is not set
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+# CONFIG_USB_GADGET_S3C_OTGD is not set
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+# CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE is not set
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+# CONFIG_SDIO_UART is not set
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MMC_SDHCI_SCATTERGATHER is not set
+# CONFIG_MMC_SPI is not set
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+# CONFIG_RTC_DRV_M41T94 is not set
+# CONFIG_RTC_DRV_DS1305 is not set
+# CONFIG_RTC_DRV_DS1390 is not set
+# CONFIG_RTC_DRV_MAX6902 is not set
+# CONFIG_RTC_DRV_R9701 is not set
+# CONFIG_RTC_DRV_RS5C348 is not set
+# CONFIG_RTC_DRV_DS3234 is not set
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_YAFFS_FS is not set
+CONFIG_JFFS2_FS=y
+CONFIG_JFFS2_FS_DEBUG=0
+CONFIG_JFFS2_FS_WRITEBUFFER=y
+# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
+# CONFIG_JFFS2_SUMMARY is not set
+# CONFIG_JFFS2_FS_XATTR is not set
+# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
+CONFIG_JFFS2_ZLIB=y
+# CONFIG_JFFS2_LZO is not set
+CONFIG_JFFS2_RTIME=y
+# CONFIG_JFFS2_RUBIN is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+CONFIG_NFS_V3_ACL=y
+# CONFIG_NFS_V4 is not set
+# CONFIG_ROOT_NFS is not set
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_ACL_SUPPORT=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+CONFIG_PARTITION_ADVANCED=y
+# CONFIG_ACORN_PARTITION is not set
+# CONFIG_OSF_PARTITION is not set
+# CONFIG_AMIGA_PARTITION is not set
+# CONFIG_ATARI_PARTITION is not set
+# CONFIG_MAC_PARTITION is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_BSD_DISKLABEL=y
+# CONFIG_MINIX_SUBPARTITION is not set
+CONFIG_SOLARIS_X86_PARTITION=y
+# CONFIG_UNIXWARE_DISKLABEL is not set
+# CONFIG_LDM_PARTITION is not set
+# CONFIG_SGI_PARTITION is not set
+# CONFIG_ULTRIX_PARTITION is not set
+# CONFIG_SUN_PARTITION is not set
+# CONFIG_KARMA_PARTITION is not set
+# CONFIG_EFI_PARTITION is not set
+# CONFIG_SYSV68_PARTITION is not set
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+# CONFIG_DEBUG_S3C_PORT is not set
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+# CONFIG_CRYPTO_DEFLATE is not set
+# CONFIG_CRYPTO_LZO is not set
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+CONFIG_CRC_CCITT=y
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/configs/smdkc100pm_defconfig linux-2.6.28.6/arch/arm/configs/smdkc100pm_defconfig
--- linux-2.6.28/arch/arm/configs/smdkc100pm_defconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/configs/smdkc100pm_defconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1560 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Apr 28 11:19:27 2009
+#
+CONFIG_ARM=y
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION=""
+CONFIG_LOCALVERSION_AUTO=y
+CONFIG_SWAP=y
+# CONFIG_SYSVIPC is not set
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE=""
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+CONFIG_LBD=y
+# CONFIG_BLK_DEV_IO_TRACE is not set
+CONFIG_LSF=y
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+CONFIG_IOSCHED_AS=y
+CONFIG_IOSCHED_DEADLINE=y
+CONFIG_IOSCHED_CFQ=y
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+CONFIG_DEFAULT_CFQ=y
+# CONFIG_DEFAULT_NOOP is not set
+CONFIG_DEFAULT_IOSCHED="cfq"
+CONFIG_CLASSIC_RCU=y
+CONFIG_FREEZER=y
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+# CONFIG_ARCH_S3C64XX is not set
+# CONFIG_ARCH_S5P64XX is not set
+CONFIG_ARCH_S5PC1XX=y
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_S3C64XX_SETUP_I2C1=y
+CONFIG_PLAT_S5PC1XX=y
+CONFIG_CPU_S5PC100_INIT=y
+CONFIG_CPU_S5PC100_CLOCK=y
+CONFIG_S5PC1XX_SETUP_I2C0=y
+CONFIG_S5PC1XX_SETUP_I2C1=y
+CONFIG_S5PC1XX_ADC=y
+CONFIG_S5PC1XX_DEV_FIMC0=y
+CONFIG_S5PC1XX_DEV_FIMC1=y
+CONFIG_S5PC1XX_DEV_FIMC2=y
+CONFIG_S5PC1XX_SETUP_FIMC0=y
+CONFIG_S5PC1XX_SETUP_FIMC1=y
+CONFIG_S5PC1XX_SETUP_FIMC2=y
+CONFIG_S5PC1XX_DEV_CSIS=y
+CONFIG_S5PC1XX_SETUP_CSIS=y
+CONFIG_S5PC1XX_PWM=y
+# CONFIG_TIMER_PWM is not set
+# CONFIG_NO_PWM is not set
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+# CONFIG_S3C_BOOT_ERROR_RESET is not set
+
+#
+# Power management
+#
+# CONFIG_S3C2410_PM_DEBUG is not set
+# CONFIG_S3C2410_PM_CHECK is not set
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+CONFIG_SPLIT_ROOT_FILESYSTEM=y
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S5PC1XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_I2C1=y
+CONFIG_S3C_DMA_PL330=y
+CONFIG_CPU_S5PC100=y
+CONFIG_S5PC1XX_SETUP_SDHCI=y
+CONFIG_MACH_SMDKC100=y
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_V7=y
+CONFIG_CPU_32v7=y
+CONFIG_CPU_ABRT_EV7=y
+CONFIG_CPU_PABRT_IFAR=y
+CONFIG_CPU_CACHE_V7=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V7=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_THUMB=y
+# CONFIG_ARM_THUMBEE is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+CONFIG_HAS_TLS_REG=y
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+CONFIG_UNEVICTABLE_LRU=y
+# CONFIG_LEDS is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE="root=/dev/mtdblock2 rootfstype=cramfs init=/linuxrc console=ttySAC0,115200 mem=128M"
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+# CONFIG_FPE_NWFPE is not set
+# CONFIG_FPE_FASTFPE is not set
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+# CONFIG_NEON is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+CONFIG_PM=y
+# CONFIG_PM_DEBUG is not set
+CONFIG_PM_SLEEP=y
+CONFIG_SUSPEND=y
+CONFIG_SUSPEND_FREEZER=y
+CONFIG_APM_EMULATION=y
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+CONFIG_XFRM=y
+# CONFIG_XFRM_USER is not set
+# CONFIG_XFRM_SUB_POLICY is not set
+# CONFIG_XFRM_MIGRATE is not set
+# CONFIG_XFRM_STATISTICS is not set
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+# CONFIG_IP_PNP_DHCP is not set
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_IP_PNP_RARP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+CONFIG_INET_XFRM_MODE_TRANSPORT=y
+CONFIG_INET_XFRM_MODE_TUNNEL=y
+CONFIG_INET_XFRM_MODE_BEET=y
+# CONFIG_INET_LRO is not set
+CONFIG_INET_DIAG=y
+CONFIG_INET_TCP_DIAG=y
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+CONFIG_PREVENT_FIRMWARE_BUILD=y
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+CONFIG_MTD_CONCAT=y
+CONFIG_MTD_PARTITIONS=y
+CONFIG_MTD_REDBOOT_PARTS=y
+CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
+CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
+# CONFIG_MTD_REDBOOT_PARTS_READONLY is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_DATAFLASH is not set
+# CONFIG_MTD_M25P80 is not set
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+CONFIG_MTD_ONENAND=y
+# CONFIG_MTD_ONENAND_VERIFY_WRITE is not set
+CONFIG_MTD_ONENAND_GENERIC=y
+# CONFIG_MTD_ONENAND_OTP is not set
+# CONFIG_MTD_ONENAND_2X_PROGRAM is not set
+# CONFIG_MTD_ONENAND_SIM is not set
+
+#
+# UBI - Unsorted block images
+#
+# CONFIG_MTD_UBI is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_COUNT=16
+CONFIG_BLK_DEV_RAM_SIZE=8192
+# CONFIG_BLK_DEV_XIP is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_NET_ETHERNET is not set
+CONFIG_NETDEV_1000=y
+CONFIG_NETDEV_10000=y
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+# CONFIG_WAN is not set
+CONFIG_PPP=y
+CONFIG_PPP_MULTILINK=y
+CONFIG_PPP_FILTER=y
+CONFIG_PPP_ASYNC=y
+CONFIG_PPP_SYNC_TTY=y
+# CONFIG_PPP_DEFLATE is not set
+# CONFIG_PPP_BSDCOMP is not set
+# CONFIG_PPP_MPPE is not set
+# CONFIG_PPPOE is not set
+# CONFIG_PPPOL2TP is not set
+# CONFIG_SLIP is not set
+CONFIG_SLHC=y
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+CONFIG_INPUT_MOUSEDEV_PSAUX=y
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+CONFIG_INPUT_KEYBOARD=y
+CONFIG_KEYBOARD_ATKBD=y
+# CONFIG_KEYBOARD_SUNKBD is not set
+# CONFIG_KEYBOARD_LKKBD is not set
+# CONFIG_KEYBOARD_XTKBD is not set
+# CONFIG_KEYBOARD_NEWTON is not set
+# CONFIG_KEYBOARD_STOWAWAY is not set
+# CONFIG_KEYBOARD_GPIO is not set
+# CONFIG_KEYPAD_S3C is not set
+CONFIG_INPUT_MOUSE=y
+CONFIG_MOUSE_PS2=y
+CONFIG_MOUSE_PS2_ALPS=y
+CONFIG_MOUSE_PS2_LOGIPS2PP=y
+CONFIG_MOUSE_PS2_SYNAPTICS=y
+CONFIG_MOUSE_PS2_LIFEBOOK=y
+CONFIG_MOUSE_PS2_TRACKPOINT=y
+# CONFIG_MOUSE_PS2_ELANTECH is not set
+# CONFIG_MOUSE_PS2_TOUCHKIT is not set
+# CONFIG_MOUSE_SERIAL is not set
+# CONFIG_MOUSE_APPLETOUCH is not set
+# CONFIG_MOUSE_BCM5974 is not set
+# CONFIG_MOUSE_VSXXXAA is not set
+# CONFIG_MOUSE_GPIO is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+# CONFIG_TOUCHSCREEN_ADS7846 is not set
+CONFIG_TOUCHSCREEN_S3C=y
+CONFIG_TOUCHSCREEN_NEW=y
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO=y
+CONFIG_SERIO_SERPORT=y
+CONFIG_SERIO_LIBPS2=y
+# CONFIG_SERIO_RAW is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+CONFIG_DEVKMEM=y
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+# CONFIG_SERIAL_8250_CONSOLE is not set
+CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_RUNTIME_UARTS=4
+# CONFIG_SERIAL_8250_EXTENDED is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S5PC100=y
+# CONFIG_SERIAL_S5PC1XX_HSUART is not set
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
+# CONFIG_IPMI_HANDLER is not set
+CONFIG_HW_RANDOM=y
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+CONFIG_S3C_MEM=y
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+CONFIG_SPI=y
+# CONFIG_SPI_DEBUG is not set
+CONFIG_SPI_MASTER=y
+
+#
+# SPI Master Controller Drivers
+#
+# CONFIG_SPI_BITBANG is not set
+CONFIG_HS_SPI_S5PC100=y
+CONFIG_HSPICLK_PCLK=y
+# CONFIG_HSPICLK_SCLK_48M is not set
+# CONFIG_WORD_TRANSIZE is not set
+
+#
+# SPI Protocol Masters
+#
+# CONFIG_SPI_AT25 is not set
+# CONFIG_SPI_SPIDEV is not set
+# CONFIG_SPI_TLE62X0 is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_GPIO_MAX7301 is not set
+# CONFIG_GPIO_MCP23S08 is not set
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+CONFIG_HWMON=y
+# CONFIG_HWMON_VID is not set
+# CONFIG_SENSORS_AD7414 is not set
+# CONFIG_SENSORS_AD7418 is not set
+# CONFIG_SENSORS_ADCXX is not set
+# CONFIG_SENSORS_ADM1021 is not set
+# CONFIG_SENSORS_ADM1025 is not set
+# CONFIG_SENSORS_ADM1026 is not set
+# CONFIG_SENSORS_ADM1029 is not set
+# CONFIG_SENSORS_ADM1031 is not set
+# CONFIG_SENSORS_ADM9240 is not set
+# CONFIG_SENSORS_ADT7462 is not set
+# CONFIG_SENSORS_ADT7470 is not set
+# CONFIG_SENSORS_ADT7473 is not set
+# CONFIG_SENSORS_ATXP1 is not set
+# CONFIG_SENSORS_DS1621 is not set
+# CONFIG_SENSORS_F71805F is not set
+# CONFIG_SENSORS_F71882FG is not set
+# CONFIG_SENSORS_F75375S is not set
+# CONFIG_SENSORS_GL518SM is not set
+# CONFIG_SENSORS_GL520SM is not set
+# CONFIG_SENSORS_IT87 is not set
+# CONFIG_SENSORS_LM63 is not set
+# CONFIG_SENSORS_LM70 is not set
+# CONFIG_SENSORS_LM75 is not set
+# CONFIG_SENSORS_LM77 is not set
+# CONFIG_SENSORS_LM78 is not set
+# CONFIG_SENSORS_LM80 is not set
+# CONFIG_SENSORS_LM83 is not set
+# CONFIG_SENSORS_LM85 is not set
+# CONFIG_SENSORS_LM87 is not set
+# CONFIG_SENSORS_LM90 is not set
+# CONFIG_SENSORS_LM92 is not set
+# CONFIG_SENSORS_LM93 is not set
+# CONFIG_SENSORS_MAX1111 is not set
+# CONFIG_SENSORS_MAX1619 is not set
+# CONFIG_SENSORS_MAX6650 is not set
+# CONFIG_SENSORS_PC87360 is not set
+# CONFIG_SENSORS_PC87427 is not set
+# CONFIG_SENSORS_DME1737 is not set
+# CONFIG_SENSORS_SMSC47M1 is not set
+# CONFIG_SENSORS_SMSC47M192 is not set
+# CONFIG_SENSORS_SMSC47B397 is not set
+# CONFIG_SENSORS_ADS7828 is not set
+# CONFIG_SENSORS_THMC50 is not set
+# CONFIG_SENSORS_VT1211 is not set
+# CONFIG_SENSORS_W83781D is not set
+# CONFIG_SENSORS_W83791D is not set
+# CONFIG_SENSORS_W83792D is not set
+# CONFIG_SENSORS_W83793 is not set
+# CONFIG_SENSORS_W83L785TS is not set
+# CONFIG_SENSORS_W83L786NG is not set
+# CONFIG_SENSORS_W83627HF is not set
+# CONFIG_SENSORS_W83627EHF is not set
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+CONFIG_VIDEO_ALLOW_V4L1=y
+CONFIG_VIDEO_V4L1_COMPAT=y
+# CONFIG_DVB_CORE is not set
+CONFIG_VIDEO_MEDIA=y
+
+#
+# Multimedia drivers
+#
+# CONFIG_MEDIA_ATTACH is not set
+CONFIG_MEDIA_TUNER=y
+# CONFIG_MEDIA_TUNER_CUSTOMIZE is not set
+CONFIG_MEDIA_TUNER_SIMPLE=y
+CONFIG_MEDIA_TUNER_TDA8290=y
+CONFIG_MEDIA_TUNER_TDA9887=y
+CONFIG_MEDIA_TUNER_TEA5761=y
+CONFIG_MEDIA_TUNER_TEA5767=y
+CONFIG_MEDIA_TUNER_MT20XX=y
+CONFIG_MEDIA_TUNER_XC2028=y
+CONFIG_MEDIA_TUNER_XC5000=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEO_V4L1=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+# CONFIG_VIDEO_ADV_DEBUG is not set
+CONFIG_VIDEO_FIXED_MINOR_RANGES=y
+CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
+# CONFIG_VIDEO_VIVI is not set
+# CONFIG_VIDEO_CPIA is not set
+# CONFIG_VIDEO_SAA5246A is not set
+# CONFIG_VIDEO_SAA5249 is not set
+# CONFIG_SOC_CAMERA is not set
+CONFIG_VIDEO_SAMSUNG=y
+
+#
+# FIMC configurations
+#
+CONFIG_VIDEO_FIMC=y
+# CONFIG_VIDEO_FIMC_DEBUG is not set
+# CONFIG_VIDEO_FIMC_MIPI is not set
+CONFIG_S5K4BA=y
+# CONFIG_S5K3BA is not set
+CONFIG_VIDEO_FIMC_CAM_CH=0
+CONFIG_VIDEO_FIMC_CAM_RESET=0
+CONFIG_VIDEO_MFC40=y
+CONFIG_VIDEO_JPEG_V2=y
+CONFIG_VIDEO_ROTATOR=y
+CONFIG_VIDEO_G2D=y
+CONFIG_VIDEO_G3D=y
+
+#
+# Reserved memory configurations
+#
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC=10240
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC=32768
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=32768
+CONFIG_VIDEO_MFC_MAX_INSTANCE=1
+# CONFIG_RADIO_ADAPTERS is not set
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_LTE480WV=y
+# CONFIG_FB_S3C_LTV350QV is not set
+# CONFIG_FB_S3C_LTS222QV is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=1
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+# CONFIG_FB_S3C_DOUBLE_BUFFERING is not set
+# CONFIG_FB_S1D13XXX is not set
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+# CONFIG_LOGO_LINUX_CLUT224 is not set
+CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224=y
+CONFIG_SOUND=y
+# CONFIG_SOUND_OSS_CORE is not set
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+# CONFIG_SND_MIXER_OSS is not set
+# CONFIG_SND_PCM_OSS is not set
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_SPI=y
+CONFIG_SND_SOC=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S5PC1XX_SOC=y
+CONFIG_SND_SOC_I2S_V50=y
+CONFIG_SND_SMDKC100_WM8580=y
+CONFIG_SOUND_S5PC100_WM8580_INPUT_STREAM_LINE=y
+# CONFIG_SOUND_S5PC100_WM8580_INPUT_STREAM_MIC is not set
+# CONFIG_SND_SMDKC100_WM9713 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM8580=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+# CONFIG_HID_PID is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+# CONFIG_USB is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+CONFIG_USB_ETH=m
+CONFIG_USB_ETH_RNDIS=y
+# CONFIG_USB_GADGETFS is not set
+CONFIG_USB_FILE_STORAGE=m
+# CONFIG_USB_FILE_STORAGE_TEST is not set
+CONFIG_USB_G_SERIAL=m
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+# CONFIG_SDIO_UART is not set
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MMC_SPI is not set
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+# CONFIG_RTC_DRV_M41T94 is not set
+# CONFIG_RTC_DRV_DS1305 is not set
+# CONFIG_RTC_DRV_DS1390 is not set
+# CONFIG_RTC_DRV_MAX6902 is not set
+# CONFIG_RTC_DRV_R9701 is not set
+# CONFIG_RTC_DRV_RS5C348 is not set
+# CONFIG_RTC_DRV_DS3234 is not set
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+CONFIG_EXT2_FS=y
+# CONFIG_EXT2_FS_XATTR is not set
+# CONFIG_EXT2_FS_XIP is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+CONFIG_EXT3_FS_POSIX_ACL=y
+CONFIG_EXT3_FS_SECURITY=y
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_GFS2_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=437
+CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+# CONFIG_YAFFS_FS is not set
+# CONFIG_JFFS2_FS is not set
+CONFIG_CRAMFS=y
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+CONFIG_ROMFS_FS=y
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+CONFIG_NFS_V3_ACL=y
+# CONFIG_NFS_V4 is not set
+# CONFIG_ROOT_NFS is not set
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_ACL_SUPPORT=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+CONFIG_PARTITION_ADVANCED=y
+# CONFIG_ACORN_PARTITION is not set
+# CONFIG_OSF_PARTITION is not set
+# CONFIG_AMIGA_PARTITION is not set
+# CONFIG_ATARI_PARTITION is not set
+# CONFIG_MAC_PARTITION is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_BSD_DISKLABEL=y
+# CONFIG_MINIX_SUBPARTITION is not set
+CONFIG_SOLARIS_X86_PARTITION=y
+# CONFIG_UNIXWARE_DISKLABEL is not set
+# CONFIG_LDM_PARTITION is not set
+# CONFIG_SGI_PARTITION is not set
+# CONFIG_ULTRIX_PARTITION is not set
+# CONFIG_SUN_PARTITION is not set
+# CONFIG_KARMA_PARTITION is not set
+# CONFIG_EFI_PARTITION is not set
+# CONFIG_SYSV68_PARTITION is not set
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+# CONFIG_NLS_CODEPAGE_936 is not set
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+# CONFIG_NLS_UTF8 is not set
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+# CONFIG_DEBUG_S3C_PORT is not set
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+# CONFIG_CRYPTO_DEFLATE is not set
+# CONFIG_CRYPTO_LZO is not set
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+CONFIG_CRC_CCITT=y
+# CONFIG_CRC16 is not set
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/include/asm/hardware/vic.h linux-2.6.28.6/arch/arm/include/asm/hardware/vic.h
--- linux-2.6.28/arch/arm/include/asm/hardware/vic.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/include/asm/hardware/vic.h	2009-04-30 09:36:37.000000000 +0200
@@ -29,15 +29,17 @@
 #define VIC_INT_SOFT			0x18
 #define VIC_INT_SOFT_CLEAR		0x1c
 #define VIC_PROTECT			0x20
-#define VIC_VECT_ADDR			0x30
-#define VIC_DEF_VECT_ADDR		0x34
+#define VIC_PL190_VECT_ADDR		0x30	/* PL190 only */
+#define VIC_PL190_DEF_VECT_ADDR		0x34	/* PL190 only */
 
-#define VIC_VECT_ADDR0			0x100	/* 0 to 15 */
-#define VIC_VECT_CNTL0			0x200	/* 0 to 15 */
+#define VIC_VECT_ADDR0			0x100	/* 0 to 15 (0..31 PL192) */
+#define VIC_VECT_CNTL0			0x200	/* 0 to 15 (0..31 PL192) */
 #define VIC_ITCR			0x300	/* VIC test control register */
 
 #define VIC_VECT_CNTL_ENABLE		(1 << 5)
 
+#define VIC_PL192_VECT_ADDR		0xF00
+
 #ifndef __ASSEMBLY__
 void vic_init(void __iomem *base, unsigned int irq_start, u32 vic_sources);
 #endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/include/asm/memory.h linux-2.6.28.6/arch/arm/include/asm/memory.h
--- linux-2.6.28/arch/arm/include/asm/memory.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/include/asm/memory.h	2009-10-21 09:48:29.000000000 +0200
@@ -104,7 +104,7 @@
  * between 2MB and 14MB inclusive.
  */
 #ifndef CONSISTENT_DMA_SIZE
-#define CONSISTENT_DMA_SIZE SZ_2M
+#define CONSISTENT_DMA_SIZE (SZ_8M + SZ_4M)//SZ_2M
 #endif
 
 /*
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/Kconfig linux-2.6.28.6/arch/arm/mach-s3c2410/Kconfig
--- linux-2.6.28/arch/arm/mach-s3c2410/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -32,11 +32,6 @@
 	help
 	  GPIO code for S3C2410 and similar processors
 
-config S3C2410_CLOCK
-	bool
-	help
-	  Clock code for the S3C2410, and similar processors
-
 config SIMTEC_NOR
 	bool
 	help
@@ -84,6 +79,7 @@
 	select PM_SIMTEC if PM
 	select SIMTEC_NOR
 	select MACH_BAST_IDE
+	select S3C24XX_DCLK
 	select ISA
 	help
 	  Say Y here if you are using the Simtec Electronics EB2410ITX
@@ -121,6 +117,7 @@
 config MACH_VR1000
 	bool "Thorcom VR1000"
 	select PM_SIMTEC if PM
+	select S3C24XX_DCLK
 	select SIMTEC_NOR
 	select MACH_BAST_IDE
 	select CPU_S3C2410
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/Makefile linux-2.6.28.6/arch/arm/mach-s3c2410/Makefile
--- linux-2.6.28/arch/arm/mach-s3c2410/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -15,7 +15,6 @@
 obj-$(CONFIG_CPU_S3C2410_DMA)	+= dma.o
 obj-$(CONFIG_S3C2410_PM)	+= pm.o sleep.o
 obj-$(CONFIG_S3C2410_GPIO)	+= gpio.o
-obj-$(CONFIG_S3C2410_CLOCK)	+= clock.o
 
 # Machine support
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/dma.c linux-2.6.28.6/arch/arm/mach-s3c2410/dma.c
--- linux-2.6.28/arch/arm/mach-s3c2410/dma.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/dma.c	2009-04-30 09:36:37.000000000 +0200
@@ -25,12 +25,12 @@
 
 #include <plat/regs-serial.h>
 #include <mach/regs-gpio.h>
-#include <asm/plat-s3c/regs-ac97.h>
+#include <plat/regs-ac97.h>
 #include <mach/regs-mem.h>
 #include <mach/regs-lcd.h>
 #include <mach/regs-sdi.h>
 #include <asm/plat-s3c24xx/regs-iis.h>
-#include <asm/plat-s3c24xx/regs-spi.h>
+#include <plat/regs-spi.h>
 
 static struct s3c24xx_dma_map __initdata s3c2410_dma_mappings[] = {
 	[DMACH_XD0] = {
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/include/mach/bast-irq.h linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/bast-irq.h
--- linux-2.6.28/arch/arm/mach-s3c2410/include/mach/bast-irq.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/bast-irq.h	2009-12-08 07:35:53.000000000 +0100
@@ -22,7 +22,7 @@
 #define IRQ_PCSERIAL2  IRQ_EINT14
 #define IRQ_PCPARALLEL IRQ_EINT13
 #define IRQ_ASIX       IRQ_EINT11
-#define IRQ_DM9000     IRQ_EINT10
+#define IRQ_DM9000     IRQ_EINT7//IRQ_EINT10
 #define IRQ_ISA	       IRQ_EINT9
 #define IRQ_SMALERT    IRQ_EINT8
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/include/mach/gpio-core.h linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/gpio-core.h
--- linux-2.6.28/arch/arm/mach-s3c2410/include/mach/gpio-core.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/gpio-core.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,34 @@
+/* arch/arm/mach-s3c24100/include/mach/gpio-core.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C2410 - GPIO core support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_GPIO_CORE_H
+#define __ASM_ARCH_GPIO_CORE_H __FILE__
+
+#include <plat/gpio-core.h>
+#include <mach/regs-gpio.h>
+
+extern struct s3c_gpio_chip s3c24xx_gpios[];
+
+static inline struct s3c_gpio_chip *s3c_gpiolib_getchip(unsigned int pin)
+{
+	struct s3c_gpio_chip *chip;
+
+	if (pin > S3C2410_GPG10)
+		return NULL;
+
+	chip = &s3c24xx_gpios[pin/32];
+	return (S3C2410_GPIO_OFFSET(pin) > chip->chip.ngpio) ? chip : NULL;
+}
+
+#endif /* __ASM_ARCH_GPIO_CORE_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/include/mach/irqs.h linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/irqs.h
--- linux-2.6.28/arch/arm/mach-s3c2410/include/mach/irqs.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/irqs.h	2009-04-30 09:36:37.000000000 +0200
@@ -134,6 +134,8 @@
 #define IRQ_S3C2443_HSMMC	S3C2410_IRQ(20)		/* IRQ_SDI */
 #define IRQ_S3C2443_NAND	S3C2410_IRQ(24)		/* reserved */
 
+#define IRQ_HSMMC0		IRQ_S3C2443_HSMMC
+
 #define IRQ_S3C2443_LCD1	S3C2410_IRQSUB(14)
 #define IRQ_S3C2443_LCD2	S3C2410_IRQSUB(15)
 #define IRQ_S3C2443_LCD3	S3C2410_IRQSUB(16)
@@ -160,6 +162,12 @@
 #define NR_IRQS (IRQ_S3C2440_AC97+1)
 #endif
 
+/* compatibility define. */
+#define IRQ_UART3		IRQ_S3C2443_UART3
+#define IRQ_S3CUART_RX3		IRQ_S3C2443_RX3
+#define IRQ_S3CUART_TX3		IRQ_S3C2443_TX3
+#define IRQ_S3CUART_ERR3	IRQ_S3C2443_ERR3
+
 /* Our FIQs are routable from IRQ_EINT0 to IRQ_ADCPARENT */
 #define FIQ_START		IRQ_EINT0
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/include/mach/map.h linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/map.h
--- linux-2.6.28/arch/arm/mach-s3c2410/include/mach/map.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/map.h	2009-04-30 09:36:37.000000000 +0200
@@ -13,34 +13,20 @@
 #ifndef __ASM_ARCH_MAP_H
 #define __ASM_ARCH_MAP_H
 
+#include <plat/map-base.h>
 #include <plat/map.h>
 
 #define S3C2410_ADDR(x)		S3C_ADDR(x)
 
-/* interrupt controller is the first thing we put in, to make
- * the assembly code for the irq detection easier
- */
-#define S3C24XX_VA_IRQ	   S3C_VA_IRQ
-#define S3C2410_PA_IRQ	   (0x4A000000)
-#define S3C24XX_SZ_IRQ	   SZ_1M
-
-/* memory controller registers */
-#define S3C24XX_VA_MEMCTRL S3C_VA_MEM
-#define S3C2410_PA_MEMCTRL (0x48000000)
-#define S3C24XX_SZ_MEMCTRL SZ_1M
-
 /* USB host controller */
 #define S3C2410_PA_USBHOST (0x49000000)
-#define S3C24XX_SZ_USBHOST SZ_1M
 
 /* DMA controller */
 #define S3C2410_PA_DMA	   (0x4B000000)
 #define S3C24XX_SZ_DMA	   SZ_1M
 
 /* Clock and Power management */
-#define S3C24XX_VA_CLKPWR  S3C_VA_SYS
 #define S3C2410_PA_CLKPWR  (0x4C000000)
-#define S3C24XX_SZ_CLKPWR  SZ_1M
 
 /* LCD controller */
 #define S3C2410_PA_LCD	   (0x4D000000)
@@ -48,48 +34,12 @@
 
 /* NAND flash controller */
 #define S3C2410_PA_NAND	   (0x4E000000)
-#define S3C24XX_SZ_NAND	   SZ_1M
-
-/* UARTs */
-#define S3C24XX_VA_UART	   S3C_VA_UART
-#define S3C2410_PA_UART	   (0x50000000)
-#define S3C24XX_SZ_UART	   SZ_1M
-
-/* Timers */
-#define S3C24XX_VA_TIMER   S3C_VA_TIMER
-#define S3C2410_PA_TIMER   (0x51000000)
-#define S3C24XX_SZ_TIMER   SZ_1M
-
-/* USB Device port */
-#define S3C2410_PA_USBDEV  (0x52000000)
-#define S3C24XX_SZ_USBDEV  SZ_1M
-
-/* Watchdog */
-#define S3C24XX_VA_WATCHDOG S3C_VA_WATCHDOG
-#define S3C2410_PA_WATCHDOG (0x53000000)
-#define S3C24XX_SZ_WATCHDOG SZ_1M
 
 /* IIC hardware controller */
 #define S3C2410_PA_IIC	   (0x54000000)
-#define S3C24XX_SZ_IIC	   SZ_1M
 
 /* IIS controller */
 #define S3C2410_PA_IIS	   (0x55000000)
-#define S3C24XX_SZ_IIS	   SZ_1M
-
-/* GPIO ports */
-
-/* the calculation for the VA of this must ensure that
- * it is the same distance apart from the UART in the
- * phsyical address space, as the initial mapping for the IO
- * is done as a 1:1 maping. This puts it (currently) at
- * 0xFA800000, which is not in the way of any current mapping
- * by the base system.
-*/
-
-#define S3C2410_PA_GPIO	   (0x56000000)
-#define S3C24XX_VA_GPIO	   ((S3C2410_PA_GPIO - S3C24XX_PA_UART) + S3C24XX_VA_UART)
-#define S3C24XX_SZ_GPIO	   SZ_1M
 
 /* RTC */
 #define S3C2410_PA_RTC	   (0x57000000)
@@ -97,15 +47,12 @@
 
 /* ADC */
 #define S3C2410_PA_ADC	   (0x58000000)
-#define S3C24XX_SZ_ADC	   SZ_1M
 
 /* SPI */
 #define S3C2410_PA_SPI	   (0x59000000)
-#define S3C24XX_SZ_SPI	   SZ_1M
 
 /* SDI */
 #define S3C2410_PA_SDI	   (0x5A000000)
-#define S3C24XX_SZ_SDI	   SZ_1M
 
 /* CAMIF */
 #define S3C2440_PA_CAMIF   (0x4F000000)
@@ -120,13 +67,6 @@
 #define S3C2443_PA_HSMMC   (0x4A800000)
 #define S3C2443_SZ_HSMMC   (256)
 
-/* ISA style IO, for each machine to sort out mappings for, if it
- * implements it. We reserve two 16M regions for ISA.
- */
-
-#define S3C24XX_VA_ISA_WORD  S3C2410_ADDR(0x02000000)
-#define S3C24XX_VA_ISA_BYTE  S3C2410_ADDR(0x03000000)
-
 /* physical addresses of all the chip-select areas */
 
 #define S3C2410_CS0 (0x00000000)
@@ -152,27 +92,16 @@
 #define S3C24XX_PA_TIMER    S3C2410_PA_TIMER
 #define S3C24XX_PA_USBDEV   S3C2410_PA_USBDEV
 #define S3C24XX_PA_WATCHDOG S3C2410_PA_WATCHDOG
-#define S3C24XX_PA_IIC      S3C2410_PA_IIC
 #define S3C24XX_PA_IIS      S3C2410_PA_IIS
 #define S3C24XX_PA_GPIO     S3C2410_PA_GPIO
 #define S3C24XX_PA_RTC      S3C2410_PA_RTC
 #define S3C24XX_PA_ADC      S3C2410_PA_ADC
 #define S3C24XX_PA_SPI      S3C2410_PA_SPI
+#define S3C24XX_PA_SDI      S3C2410_PA_SDI
+#define S3C24XX_PA_NAND	    S3C2410_PA_NAND
 
-/* deal with the registers that move under the 2412/2413 */
-
-#if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413)
-#ifndef __ASSEMBLY__
-extern void __iomem *s3c24xx_va_gpio2;
-#endif
-#ifdef CONFIG_CPU_S3C2412_ONLY
-#define S3C24XX_VA_GPIO2 (S3C24XX_VA_GPIO + 0x10)
-#else
-#define S3C24XX_VA_GPIO2 s3c24xx_va_gpio2
-#endif
-#else
-#define s3c24xx_va_gpio2 S3C24XX_VA_GPIO
-#define S3C24XX_VA_GPIO2 S3C24XX_VA_GPIO
-#endif
+#define S3C_PA_IIC          S3C2410_PA_IIC
+#define S3C_PA_UART	    S3C24XX_PA_UART
+#define S3C_PA_HSMMC0	    S3C2443_PA_HSMMC
 
 #endif /* __ASM_ARCH_MAP_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/include/mach/regs-clock.h linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/regs-clock.h
--- linux-2.6.28/arch/arm/mach-s3c2410/include/mach/regs-clock.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/regs-clock.h	2009-04-30 09:36:37.000000000 +0200
@@ -42,13 +42,6 @@
 #define S3C2410_CLKCON_IIS	     (1<<17)
 #define S3C2410_CLKCON_SPI	     (1<<18)
 
-#define S3C2410_PLLCON_MDIVSHIFT     12
-#define S3C2410_PLLCON_PDIVSHIFT     4
-#define S3C2410_PLLCON_SDIVSHIFT     0
-#define S3C2410_PLLCON_MDIVMASK	     ((1<<(1+(19-12)))-1)
-#define S3C2410_PLLCON_PDIVMASK	     ((1<<5)-1)
-#define S3C2410_PLLCON_SDIVMASK	     3
-
 /* DCLKCON register addresses in gpio.h */
 
 #define S3C2410_DCLKCON_DCLK0EN	     (1<<0)
@@ -76,32 +69,6 @@
 #define S3C2410_CLKSLOW_SLOWVAL(x)	(x)
 #define S3C2410_CLKSLOW_GET_SLOWVAL(x)	((x) & 7)
 
-#ifndef __ASSEMBLY__
-
-#include <asm/div64.h>
-
-static inline unsigned int
-s3c2410_get_pll(unsigned int pllval, unsigned int baseclk)
-{
-	unsigned int mdiv, pdiv, sdiv;
-	uint64_t fvco;
-
-	mdiv = pllval >> S3C2410_PLLCON_MDIVSHIFT;
-	pdiv = pllval >> S3C2410_PLLCON_PDIVSHIFT;
-	sdiv = pllval >> S3C2410_PLLCON_SDIVSHIFT;
-
-	mdiv &= S3C2410_PLLCON_MDIVMASK;
-	pdiv &= S3C2410_PLLCON_PDIVMASK;
-	sdiv &= S3C2410_PLLCON_SDIVMASK;
-
-	fvco = (uint64_t)baseclk * (mdiv + 8);
-	do_div(fvco, (pdiv + 2) << sdiv);
-
-	return (unsigned int)fvco;
-}
-
-#endif /* __ASSEMBLY__ */
-
 #if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442)
 
 /* extra registers */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/include/mach/regs-gpio.h linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/regs-gpio.h
--- linux-2.6.28/arch/arm/mach-s3c2410/include/mach/regs-gpio.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/regs-gpio.h	2009-04-30 09:36:37.000000000 +0200
@@ -1053,13 +1053,6 @@
 #define S3C24XX_EXTINT1	   S3C24XX_GPIOREG2(0x8C)
 #define S3C24XX_EXTINT2	   S3C24XX_GPIOREG2(0x90)
 
-/* values for S3C2410_EXTINT0/1/2 */
-#define S3C2410_EXTINT_LOWLEV	 (0x00)
-#define S3C2410_EXTINT_HILEV	 (0x01)
-#define S3C2410_EXTINT_FALLEDGE	 (0x02)
-#define S3C2410_EXTINT_RISEEDGE	 (0x04)
-#define S3C2410_EXTINT_BOTHEDGE	 (0x06)
-
 /* interrupt filtering conrrol for EINT16..EINT23 */
 #define S3C2410_EINFLT0	   S3C2410_GPIOREG(0x94)
 #define S3C2410_EINFLT1	   S3C2410_GPIOREG(0x98)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/include/mach/spi.h linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/spi.h
--- linux-2.6.28/arch/arm/mach-s3c2410/include/mach/spi.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/spi.h	2009-04-30 09:36:37.000000000 +0200
@@ -22,5 +22,12 @@
 	void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol);
 };
 
+/* Standard setup / suspend routines for SPI GPIO pins. */
+
+extern void s3c24xx_spi_gpiocfg_bus0_gpe11_12_13(struct s3c2410_spi_info *spi,
+						 int enable);
+
+extern void s3c24xx_spi_gpiocfg_bus1_gpg5_6_7(struct s3c2410_spi_info *spi,
+					      int enable);
 
 #endif /* __ASM_ARCH_SPI_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/include/mach/system-reset.h linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/system-reset.h
--- linux-2.6.28/arch/arm/mach-s3c2410/include/mach/system-reset.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/system-reset.h	2009-04-30 09:36:37.000000000 +0200
@@ -13,7 +13,7 @@
 #include <mach/hardware.h>
 #include <linux/io.h>
 
-#include <asm/plat-s3c/regs-watchdog.h>
+#include <plat/regs-watchdog.h>
 #include <mach/regs-clock.h>
 
 #include <linux/clk.h>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/include/mach/tick.h linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/tick.h
--- linux-2.6.28/arch/arm/mach-s3c2410/include/mach/tick.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/include/mach/tick.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,15 @@
+/* linux/arch/arm/mach-s3c2410/include/mach/tick.h
+ *
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C2410 - timer tick support
+ */
+
+#define SRCPND_TIMER4 (1<<(IRQ_TIMER4 - IRQ_EINT0))
+
+static inline int s3c24xx_ostimer_pending(void)
+{
+	return __raw_readl(S3C2410_SRCPND) & SRCPND_TIMER4;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/mach-amlm5900.c linux-2.6.28.6/arch/arm/mach-s3c2410/mach-amlm5900.c
--- linux-2.6.28/arch/arm/mach-s3c2410/mach-amlm5900.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/mach-amlm5900.c	2009-04-30 09:36:37.000000000 +0200
@@ -52,6 +52,7 @@
 #include <mach/regs-lcd.h>
 #include <mach/regs-gpio.h>
 
+#include <plat/iic.h>
 #include <plat/devs.h>
 #include <plat/cpu.h>
 
@@ -150,7 +151,7 @@
 #endif
 	&s3c_device_adc,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_usb,
  	&s3c_device_rtc,
 	&s3c_device_usbgadget,
@@ -233,6 +234,7 @@
 #ifdef CONFIG_FB_S3C2410
 	s3c24xx_fb_set_platdata(&amlm5900_fb_info);
 #endif
+	s3c_i2c0_set_platdata(NULL);
 	platform_add_devices(amlm5900_devices, ARRAY_SIZE(amlm5900_devices));
 }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/mach-bast.c linux-2.6.28.6/arch/arm/mach-s3c2410/mach-bast.c
--- linux-2.6.28/arch/arm/mach-s3c2410/mach-bast.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/mach-bast.c	2009-04-30 09:36:37.000000000 +0200
@@ -44,8 +44,8 @@
 #include <mach/regs-mem.h>
 #include <mach/regs-lcd.h>
 
-#include <asm/plat-s3c/nand.h>
-#include <asm/plat-s3c/iic.h>
+#include <plat/nand.h>
+#include <plat/iic.h>
 #include <mach/fb.h>
 
 #include <linux/mtd/mtd.h>
@@ -406,7 +406,7 @@
  * standard 100KHz i2c bus frequency
 */
 
-static struct s3c2410_platform_i2c bast_i2c_info = {
+static struct s3c2410_platform_i2c __initdata bast_i2c_info = {
 	.flags		= 0,
 	.slave_addr	= 0x10,
 	.bus_freq	= 100*1000,
@@ -553,7 +553,7 @@
 	&s3c_device_usb,
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
  	&s3c_device_rtc,
 	&s3c_device_nand,
 	&bast_device_dm9k,
@@ -588,7 +588,8 @@
 	s3c24xx_register_clocks(bast_clocks, ARRAY_SIZE(bast_clocks));
 
 	s3c_device_nand.dev.platform_data = &bast_nand_info;
-	s3c_device_i2c.dev.platform_data = &bast_i2c_info;
+
+	s3c_i2c0_set_platdata(&bast_i2c_info);
 
 	s3c24xx_init_io(bast_iodesc, ARRAY_SIZE(bast_iodesc));
 	s3c24xx_init_clocks(0);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/mach-h1940.c linux-2.6.28.6/arch/arm/mach-s3c2410/mach-h1940.c
--- linux-2.6.28/arch/arm/mach-s3c2410/mach-h1940.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/mach-h1940.c	2009-04-30 09:36:37.000000000 +0200
@@ -38,11 +38,13 @@
 #include <mach/h1940.h>
 #include <mach/h1940-latch.h>
 #include <mach/fb.h>
-#include <asm/plat-s3c24xx/udc.h>
+#include <plat/udc.h>
+#include <plat/iic.h>
 
 #include <plat/clock.h>
 #include <plat/devs.h>
 #include <plat/cpu.h>
+#include <plat/pll.h>
 #include <plat/pm.h>
 
 static struct map_desc h1940_iodesc[] __initdata = {
@@ -183,7 +185,7 @@
 	&s3c_device_usb,
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
 	&s3c_device_usbgadget,
 	&s3c_device_leds,
@@ -215,6 +217,7 @@
 
 	s3c24xx_fb_set_platdata(&h1940_fb_info);
  	s3c24xx_udc_set_platdata(&h1940_udc_cfg);
+	s3c_i2c0_set_platdata(NULL);
 
 	/* Turn off suspend on both USB ports, and switch the
 	 * selectable USB port to USB device mode. */
@@ -223,10 +226,9 @@
 			      S3C2410_MISCCR_USBSUSPND0 |
 			      S3C2410_MISCCR_USBSUSPND1, 0x0);
 
-	tmp = (
-		 0x78 << S3C2410_PLLCON_MDIVSHIFT)
-	      | (0x02 << S3C2410_PLLCON_PDIVSHIFT)
-	      | (0x03 << S3C2410_PLLCON_SDIVSHIFT);
+	tmp =   (0x78 << S3C24XX_PLLCON_MDIVSHIFT)
+	      | (0x02 << S3C24XX_PLLCON_PDIVSHIFT)
+	      | (0x03 << S3C24XX_PLLCON_SDIVSHIFT);
 	writel(tmp, S3C2410_UPLLCON);
 
 	platform_add_devices(h1940_devices, ARRAY_SIZE(h1940_devices));
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/mach-n30.c linux-2.6.28.6/arch/arm/mach-s3c2410/mach-n30.c
--- linux-2.6.28/arch/arm/mach-s3c2410/mach-n30.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/mach-n30.c	2009-04-30 09:36:37.000000000 +0200
@@ -40,14 +40,14 @@
 #include <asm/mach/irq.h>
 #include <asm/mach/map.h>
 
-#include <asm/plat-s3c/iic.h>
+#include <plat/iic.h>
 #include <plat/regs-serial.h>
 
 #include <plat/clock.h>
 #include <plat/cpu.h>
 #include <plat/devs.h>
 #include <plat/s3c2410.h>
-#include <asm/plat-s3c24xx/udc.h>
+#include <plat/udc.h>
 
 static struct map_desc n30_iodesc[] __initdata = {
 	/* nothing here yet */
@@ -320,7 +320,7 @@
 static struct platform_device *n30_devices[] __initdata = {
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
 	&s3c_device_usb,
 	&s3c_device_usbgadget,
@@ -332,7 +332,7 @@
 static struct platform_device *n35_devices[] __initdata = {
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
 	&s3c_device_usbgadget,
 	&n35_button_device,
@@ -501,7 +501,7 @@
 static void __init n30_init(void)
 {
 	s3c24xx_fb_set_platdata(&n30_fb_info);
-	s3c_device_i2c.dev.platform_data = &n30_i2ccfg;
+	s3c_device_i2c0.dev.platform_data = &n30_i2ccfg;
 	s3c24xx_udc_set_platdata(&n30_udc_cfg);
 
 	/* Turn off suspend on both USB ports, and switch the
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/mach-otom.c linux-2.6.28.6/arch/arm/mach-s3c2410/mach-otom.c
--- linux-2.6.28/arch/arm/mach-s3c2410/mach-otom.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/mach-otom.c	2009-04-30 09:36:37.000000000 +0200
@@ -35,6 +35,7 @@
 #include <plat/s3c2410.h>
 #include <plat/clock.h>
 #include <plat/devs.h>
+#include <plat/iic.h>
 #include <plat/cpu.h>
 
 static struct map_desc otom11_iodesc[] __initdata = {
@@ -94,7 +95,7 @@
 	&s3c_device_usb,
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
  	&s3c_device_rtc,
 	&otom_device_nor,
@@ -109,6 +110,7 @@
 
 static void __init otom11_init(void)
 {
+	s3c_i2c0_set_platdata(NULL);
 	platform_add_devices(otom11_devices, ARRAY_SIZE(otom11_devices));
 }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/mach-qt2410.c linux-2.6.28.6/arch/arm/mach-s3c2410/mach-qt2410.c
--- linux-2.6.28/arch/arm/mach-s3c2410/mach-qt2410.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/mach-qt2410.c	2009-04-30 09:36:37.000000000 +0200
@@ -50,10 +50,11 @@
 #include <mach/leds-gpio.h>
 #include <plat/regs-serial.h>
 #include <mach/fb.h>
-#include <asm/plat-s3c/nand.h>
-#include <asm/plat-s3c24xx/udc.h>
+#include <plat/nand.h>
+#include <plat/udc.h>
 #include <mach/spi.h>
 #include <mach/spi-gpio.h>
+#include <plat/iic.h>
 
 #include <plat/common-smdk.h>
 #include <plat/devs.h>
@@ -247,7 +248,7 @@
 	&s3c_device_usb,
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
 	&s3c_device_sdi,
 	&s3c_device_usbgadget,
@@ -349,6 +350,7 @@
 	s3c2410_gpio_setpin(S3C2410_GPB0, 1);
 
 	s3c24xx_udc_set_platdata(&qt2410_udc_cfg);
+	s3c_i2c0_set_platdata(NULL);
 
 	s3c2410_gpio_cfgpin(S3C2410_GPB5, S3C2410_GPIO_OUTPUT);
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/mach-smdk2410.c linux-2.6.28.6/arch/arm/mach-s3c2410/mach-smdk2410.c
--- linux-2.6.28/arch/arm/mach-s3c2410/mach-smdk2410.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/mach-smdk2410.c	2009-04-30 09:36:37.000000000 +0200
@@ -47,6 +47,7 @@
 #include <asm/mach-types.h>
 
 #include <plat/regs-serial.h>
+#include <plat/iic.h>
 
 #include <plat/devs.h>
 #include <plat/cpu.h>
@@ -89,7 +90,7 @@
 	&s3c_device_usb,
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
 };
 
@@ -102,6 +103,7 @@
 
 static void __init smdk2410_init(void)
 {
+	s3c_i2c0_set_platdata(NULL);
 	platform_add_devices(smdk2410_devices, ARRAY_SIZE(smdk2410_devices));
 	smdk_machine_init();
 }
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/mach-tct_hammer.c linux-2.6.28.6/arch/arm/mach-s3c2410/mach-tct_hammer.c
--- linux-2.6.28/arch/arm/mach-s3c2410/mach-tct_hammer.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/mach-tct_hammer.c	2009-04-30 09:36:37.000000000 +0200
@@ -45,6 +45,7 @@
 #include <asm/mach-types.h>
 
 #include <plat/regs-serial.h>
+#include <plat/iic.h>
 #include <plat/devs.h>
 #include <plat/cpu.h>
 
@@ -127,7 +128,7 @@
 static struct platform_device *tct_hammer_devices[] __initdata = {
 	&s3c_device_adc,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_usb,
 	&s3c_device_rtc,
 	&s3c_device_usbgadget,
@@ -146,6 +147,7 @@
 
 static void __init tct_hammer_init(void)
 {
+	s3c_i2c0_set_platdata(NULL);
 	platform_add_devices(tct_hammer_devices, ARRAY_SIZE(tct_hammer_devices));
 }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/mach-vr1000.c linux-2.6.28.6/arch/arm/mach-s3c2410/mach-vr1000.c
--- linux-2.6.28/arch/arm/mach-s3c2410/mach-vr1000.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/mach-vr1000.c	2009-04-30 09:36:37.000000000 +0200
@@ -47,6 +47,7 @@
 #include <plat/clock.h>
 #include <plat/devs.h>
 #include <plat/cpu.h>
+#include <plat/iic.h>
 
 #include "usb-simtec.h"
 #include "nor-simtec.h"
@@ -334,7 +335,7 @@
 	&s3c_device_usb,
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_adc,
 	&serial_device,
 	&vr1000_dm9k0,
@@ -384,6 +385,7 @@
 
 static void __init vr1000_init(void)
 {
+	s3c_i2c0_set_platdata(NULL);
 	platform_add_devices(vr1000_devices, ARRAY_SIZE(vr1000_devices));
 
 	i2c_register_board_info(0, vr1000_i2c_devs,
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2410/s3c2410.c linux-2.6.28.6/arch/arm/mach-s3c2410/s3c2410.c
--- linux-2.6.28/arch/arm/mach-s3c2410/s3c2410.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2410/s3c2410.c	2009-04-30 09:36:37.000000000 +0200
@@ -16,6 +16,7 @@
 #include <linux/list.h>
 #include <linux/timer.h>
 #include <linux/init.h>
+#include <linux/clk.h>
 #include <linux/sysdev.h>
 #include <linux/serial_core.h>
 #include <linux/platform_device.h>
@@ -28,6 +29,8 @@
 #include <mach/hardware.h>
 #include <asm/irq.h>
 
+#include <plat/cpu-freq.h>
+
 #include <mach/regs-clock.h>
 #include <plat/regs-serial.h>
 
@@ -35,6 +38,7 @@
 #include <plat/cpu.h>
 #include <plat/devs.h>
 #include <plat/clock.h>
+#include <plat/pll.h>
 
 /* Initial IO mappings */
 
@@ -59,25 +63,28 @@
  * machine specific initialisation.
 */
 
-void __init s3c2410_map_io(struct map_desc *mach_desc, int mach_size)
+void __init s3c2410_map_io(void)
 {
-	/* register our io-tables */
-
 	iotable_init(s3c2410_iodesc, ARRAY_SIZE(s3c2410_iodesc));
-	iotable_init(mach_desc, mach_size);
 }
 
-void __init s3c2410_init_clocks(int xtal)
+void __init_or_cpufreq s3c2410_setup_clocks(void)
 {
+	struct clk *xtal_clk;
 	unsigned long tmp;
+	unsigned long xtal;
 	unsigned long fclk;
 	unsigned long hclk;
 	unsigned long pclk;
 
+	xtal_clk = clk_get(NULL, "xtal");
+	xtal = clk_get_rate(xtal_clk);
+	clk_put(xtal_clk);
+
 	/* now we've got our machine bits initialised, work out what
 	 * clocks we've got */
 
-	fclk = s3c2410_get_pll(__raw_readl(S3C2410_MPLLCON), xtal);
+	fclk = s3c24xx_get_pll(__raw_readl(S3C2410_MPLLCON), xtal);
 
 	tmp = __raw_readl(S3C2410_CLKDIVN);
 
@@ -95,7 +102,13 @@
 	 * console to use them
 	 */
 
-	s3c24xx_setup_clocks(xtal, fclk, hclk, pclk);
+	s3c24xx_setup_clocks(fclk, hclk, pclk);
+}
+
+void __init s3c2410_init_clocks(int xtal)
+{
+	s3c24xx_register_baseclocks(xtal);
+	s3c2410_setup_clocks();
 	s3c2410_baseclk_add();
 }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2412/clock.c linux-2.6.28.6/arch/arm/mach-s3c2412/clock.c
--- linux-2.6.28/arch/arm/mach-s3c2412/clock.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2412/clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -93,12 +93,6 @@
 
 /* clock selections */
 
-/* CPU EXTCLK input */
-static struct clk clk_ext = {
-	.name		= "extclk",
-	.id		= -1,
-};
-
 static struct clk clk_erefclk = {
 	.name		= "erefclk",
 	.id		= -1,
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2412/dma.c linux-2.6.28.6/arch/arm/mach-s3c2412/dma.c
--- linux-2.6.28/arch/arm/mach-s3c2412/dma.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2412/dma.c	2009-04-30 09:36:37.000000000 +0200
@@ -26,13 +26,13 @@
 
 #include <plat/regs-serial.h>
 #include <mach/regs-gpio.h>
-#include <asm/plat-s3c/regs-ac97.h>
+#include <plat/regs-ac97.h>
 #include <mach/regs-mem.h>
 #include <mach/regs-lcd.h>
 #include <mach/regs-sdi.h>
 #include <asm/plat-s3c24xx/regs-s3c2412-iis.h>
 #include <asm/plat-s3c24xx/regs-iis.h>
-#include <asm/plat-s3c24xx/regs-spi.h>
+#include <plat/regs-spi.h>
 
 #define MAP(x) { (x)| DMA_CH_VALID, (x)| DMA_CH_VALID, (x)| DMA_CH_VALID, (x)| DMA_CH_VALID }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2412/mach-jive.c linux-2.6.28.6/arch/arm/mach-s3c2412/mach-jive.c
--- linux-2.6.28/arch/arm/mach-s3c2412/mach-jive.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2412/mach-jive.c	2009-04-30 09:36:37.000000000 +0200
@@ -31,8 +31,8 @@
 #include <asm/mach/irq.h>
 
 #include <plat/regs-serial.h>
-#include <asm/plat-s3c/nand.h>
-#include <asm/plat-s3c/iic.h>
+#include <plat/nand.h>
+#include <plat/iic.h>
 
 #include <mach/regs-power.h>
 #include <mach/regs-gpio.h>
@@ -52,7 +52,8 @@
 #include <plat/devs.h>
 #include <plat/cpu.h>
 #include <plat/pm.h>
-#include <asm/plat-s3c24xx/udc.h>
+#include <plat/udc.h>
+#include <plat/iic.h>
 
 static struct map_desc jive_iodesc[] __initdata = {
 };
@@ -450,14 +451,14 @@
 
 /* I2C bus and device configuration. */
 
-static struct s3c2410_platform_i2c jive_i2c_cfg = {
+static struct s3c2410_platform_i2c jive_i2c_cfg __initdata = {
 	.max_freq	= 80 * 1000,
 	.bus_freq	= 50 * 1000,
 	.flags		= S3C_IICFLG_FILTER,
 	.sda_delay	= 2,
 };
 
-static struct i2c_board_info jive_i2c_devs[] = {
+static struct i2c_board_info jive_i2c_devs[] __initdata = {
 	[0] = {
 		I2C_BOARD_INFO("lis302dl", 0x1c),
 		.irq	= IRQ_EINT14,
@@ -470,7 +471,7 @@
 	&s3c_device_usb,
 	&s3c_device_rtc,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_lcd,
 	&jive_device_lcdspi,
 	&jive_device_wm8750,
@@ -663,7 +664,7 @@
 
 	spi_register_board_info(jive_spi_devs, ARRAY_SIZE(jive_spi_devs));
 
-	s3c_device_i2c.dev.platform_data = &jive_i2c_cfg;
+	s3c_i2c0_set_platdata(&jive_i2c_cfg);
 	i2c_register_board_info(0, jive_i2c_devs, ARRAY_SIZE(jive_i2c_devs));
 
 	pm_power_off = jive_power_off;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2412/mach-smdk2413.c linux-2.6.28.6/arch/arm/mach-s3c2412/mach-smdk2413.c
--- linux-2.6.28/arch/arm/mach-s3c2412/mach-smdk2413.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2412/mach-smdk2413.c	2009-04-30 09:36:37.000000000 +0200
@@ -37,7 +37,8 @@
 #include <mach/regs-lcd.h>
 
 #include <mach/idle.h>
-#include <asm/plat-s3c24xx/udc.h>
+#include <plat/udc.h>
+#include <plat/iic.h>
 #include <mach/fb.h>
 
 #include <plat/s3c2410.h>
@@ -105,7 +106,7 @@
 	&s3c_device_usb,
 	//&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
 	&s3c_device_usbgadget,
 };
@@ -142,6 +143,7 @@
 
 
  	s3c24xx_udc_set_platdata(&smdk2413_udc_cfg);
+	s3c_i2c0_set_platdata(NULL);
 
 	platform_add_devices(smdk2413_devices, ARRAY_SIZE(smdk2413_devices));
 	smdk_machine_init();
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2412/mach-vstms.c linux-2.6.28.6/arch/arm/mach-s3c2412/mach-vstms.c
--- linux-2.6.28/arch/arm/mach-s3c2412/mach-vstms.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2412/mach-vstms.c	2009-04-30 09:36:37.000000000 +0200
@@ -39,7 +39,8 @@
 #include <mach/idle.h>
 #include <mach/fb.h>
 
-#include <asm/plat-s3c/nand.h>
+#include <plat/iic.h>
+#include <plat/nand.h>
 
 #include <plat/s3c2410.h>
 #include <plat/s3c2412.h>
@@ -122,7 +123,7 @@
 static struct platform_device *vstms_devices[] __initdata = {
 	&s3c_device_usb,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
 	&s3c_device_rtc,
 	&s3c_device_nand,
@@ -151,6 +152,7 @@
 
 static void __init vstms_init(void)
 {
+	s3c_i2c0_set_platdata(NULL);
 	platform_add_devices(vstms_devices, ARRAY_SIZE(vstms_devices));
 }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2412/s3c2412.c linux-2.6.28.6/arch/arm/mach-s3c2412/s3c2412.c
--- linux-2.6.28/arch/arm/mach-s3c2412/s3c2412.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2412/s3c2412.c	2009-04-30 09:36:37.000000000 +0200
@@ -16,6 +16,7 @@
 #include <linux/list.h>
 #include <linux/timer.h>
 #include <linux/init.h>
+#include <linux/clk.h>
 #include <linux/delay.h>
 #include <linux/sysdev.h>
 #include <linux/serial_core.h>
@@ -33,13 +34,15 @@
 #include <mach/reset.h>
 #include <mach/idle.h>
 
+#include <plat/cpu-freq.h>
+
 #include <mach/regs-clock.h>
 #include <plat/regs-serial.h>
 #include <mach/regs-power.h>
 #include <mach/regs-gpio.h>
 #include <mach/regs-gpioj.h>
 #include <mach/regs-dsc.h>
-#include <asm/plat-s3c24xx/regs-spi.h>
+#include <plat/regs-spi.h>
 #include <mach/regs-s3c2412.h>
 
 #include <plat/s3c2412.h>
@@ -47,6 +50,7 @@
 #include <plat/devs.h>
 #include <plat/clock.h>
 #include <plat/pm.h>
+#include <plat/pll.h>
 
 #ifndef CONFIG_CPU_S3C2412_ONLY
 void __iomem *s3c24xx_va_gpio2 = S3C24XX_VA_GPIO;
@@ -136,7 +140,7 @@
  * machine specific initialisation.
 */
 
-void __init s3c2412_map_io(struct map_desc *mach_desc, int mach_size)
+void __init s3c2412_map_io(void)
 {
 	/* move base of IO */
 
@@ -153,20 +157,25 @@
 	/* register our io-tables */
 
 	iotable_init(s3c2412_iodesc, ARRAY_SIZE(s3c2412_iodesc));
-	iotable_init(mach_desc, mach_size);
 }
 
-void __init s3c2412_init_clocks(int xtal)
+void __init_or_cpufreq s3c2412_setup_clocks(void)
 {
+	struct clk *xtal_clk;
 	unsigned long tmp;
+	unsigned long xtal;
 	unsigned long fclk;
 	unsigned long hclk;
 	unsigned long pclk;
 
+	xtal_clk = clk_get(NULL, "xtal");
+	xtal = clk_get_rate(xtal_clk);
+	clk_put(xtal_clk);
+
 	/* now we've got our machine bits initialised, work out what
 	 * clocks we've got */
 
-	fclk = s3c2410_get_pll(__raw_readl(S3C2410_MPLLCON), xtal*2);
+	fclk = s3c24xx_get_pll(__raw_readl(S3C2410_MPLLCON), xtal * 2);
 
 	clk_mpll.rate = fclk;
 
@@ -183,11 +192,17 @@
 	printk("S3C2412: core %ld.%03ld MHz, memory %ld.%03ld MHz, peripheral %ld.%03ld MHz\n",
 	       print_mhz(fclk), print_mhz(hclk), print_mhz(pclk));
 
+	s3c24xx_setup_clocks(fclk, hclk, pclk);
+}
+
+void __init s3c2412_init_clocks(int xtal)
+{
 	/* initialise the clocks here, to allow other things like the
 	 * console to use them
 	 */
 
-	s3c24xx_setup_clocks(xtal, fclk, hclk, pclk);
+	s3c24xx_register_baseclocks(xtal);
+	s3c2412_setup_clocks();
 	s3c2412_baseclk_add();
 }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2440/Kconfig linux-2.6.28.6/arch/arm/mach-s3c2440/Kconfig
--- linux-2.6.28/arch/arm/mach-s3c2440/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2440/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -28,6 +28,7 @@
 config MACH_ANUBIS
 	bool "Simtec Electronics ANUBIS"
 	select CPU_S3C2440
+	select S3C24XX_DCLK
 	select PM_SIMTEC if PM
 	select HAVE_PATA_PLATFORM
 	help
@@ -37,6 +38,7 @@
 config MACH_OSIRIS
 	bool "Simtec IM2440D20 (OSIRIS) module"
 	select CPU_S3C2440
+	select S3C24XX_DCLK
 	select PM_SIMTEC if PM
 	help
 	  Say Y here if you are using the Simtec IM2440D20 module, also
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2440/dma.c linux-2.6.28.6/arch/arm/mach-s3c2440/dma.c
--- linux-2.6.28/arch/arm/mach-s3c2440/dma.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2440/dma.c	2009-04-30 09:36:37.000000000 +0200
@@ -25,12 +25,12 @@
 
 #include <plat/regs-serial.h>
 #include <mach/regs-gpio.h>
-#include <asm/plat-s3c/regs-ac97.h>
+#include <plat/regs-ac97.h>
 #include <mach/regs-mem.h>
 #include <mach/regs-lcd.h>
 #include <mach/regs-sdi.h>
 #include <asm/plat-s3c24xx/regs-iis.h>
-#include <asm/plat-s3c24xx/regs-spi.h>
+#include <plat/regs-spi.h>
 
 static struct s3c24xx_dma_map __initdata s3c2440_dma_mappings[] = {
 	[DMACH_XD0] = {
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2440/mach-anubis.c linux-2.6.28.6/arch/arm/mach-s3c2440/mach-anubis.c
--- linux-2.6.28/arch/arm/mach-s3c2440/mach-anubis.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2440/mach-anubis.c	2009-04-30 09:36:37.000000000 +0200
@@ -39,7 +39,8 @@
 #include <mach/regs-gpio.h>
 #include <mach/regs-mem.h>
 #include <mach/regs-lcd.h>
-#include <asm/plat-s3c/nand.h>
+#include <plat/nand.h>
+#include <plat/iic.h>
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
@@ -404,7 +405,7 @@
 	&s3c_device_usb,
 	&s3c_device_wdt,
 	&s3c_device_adc,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
  	&s3c_device_rtc,
 	&s3c_device_nand,
 	&anubis_device_ide0,
@@ -468,6 +469,7 @@
 
 static void __init anubis_init(void)
 {
+	s3c_i2c0_set_platdata(NULL);
 	platform_add_devices(anubis_devices, ARRAY_SIZE(anubis_devices));
 
 	i2c_register_board_info(0, anubis_i2c_devs,
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2440/mach-at2440evb.c linux-2.6.28.6/arch/arm/mach-s3c2440/mach-at2440evb.c
--- linux-2.6.28/arch/arm/mach-s3c2440/mach-at2440evb.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2440/mach-at2440evb.c	2009-04-30 09:36:37.000000000 +0200
@@ -35,7 +35,8 @@
 #include <mach/regs-gpio.h>
 #include <mach/regs-mem.h>
 #include <mach/regs-lcd.h>
-#include <asm/plat-s3c/nand.h>
+#include <plat/nand.h>
+#include <plat/iic.h>
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
@@ -166,7 +167,7 @@
 	&s3c_device_usb,
 	&s3c_device_wdt,
 	&s3c_device_adc,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_rtc,
 	&s3c_device_nand,
 	&at2440evb_device_eth,
@@ -183,6 +184,7 @@
 
 static void __init at2440evb_init(void)
 {
+	s3c_i2c0_set_platdata(NULL);
 	platform_add_devices(at2440evb_devices, ARRAY_SIZE(at2440evb_devices));
 }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2440/mach-nexcoder.c linux-2.6.28.6/arch/arm/mach-s3c2440/mach-nexcoder.c
--- linux-2.6.28/arch/arm/mach-s3c2440/mach-nexcoder.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2440/mach-nexcoder.c	2009-04-30 09:36:37.000000000 +0200
@@ -37,6 +37,7 @@
 //#include <asm/debug-ll.h>
 #include <mach/regs-gpio.h>
 #include <plat/regs-serial.h>
+#include <plat/iic.h>
 
 #include <plat/s3c2410.h>
 #include <plat/s3c2440.h>
@@ -107,7 +108,7 @@
 	&s3c_device_usb,
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
  	&s3c_device_rtc,
 	&s3c_device_camif,
@@ -142,6 +143,7 @@
 
 static void __init nexcoder_init(void)
 {
+	s3c_i2c0_set_platdata(NULL);
 	platform_add_devices(nexcoder_devices, ARRAY_SIZE(nexcoder_devices));
 };
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2440/mach-osiris.c linux-2.6.28.6/arch/arm/mach-s3c2440/mach-osiris.c
--- linux-2.6.28/arch/arm/mach-s3c2440/mach-osiris.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2440/mach-osiris.c	2009-04-30 09:36:37.000000000 +0200
@@ -37,7 +37,8 @@
 #include <mach/regs-gpio.h>
 #include <mach/regs-mem.h>
 #include <mach/regs-lcd.h>
-#include <asm/plat-s3c/nand.h>
+#include <plat/nand.h>
+#include <plat/iic.h>
 
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
@@ -335,7 +336,7 @@
 /* Standard Osiris devices */
 
 static struct platform_device *osiris_devices[] __initdata = {
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_wdt,
 	&s3c_device_nand,
 	&osiris_pcmcia,
@@ -398,6 +399,8 @@
 	sysdev_class_register(&osiris_pm_sysclass);
 	sysdev_register(&osiris_pm_sysdev);
 
+	s3c_i2c0_set_platdata(NULL);
+
 	i2c_register_board_info(0, osiris_i2c_devs,
 				ARRAY_SIZE(osiris_i2c_devs));
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2440/mach-rx3715.c linux-2.6.28.6/arch/arm/mach-s3c2440/mach-rx3715.c
--- linux-2.6.28/arch/arm/mach-s3c2440/mach-rx3715.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2440/mach-rx3715.c	2009-04-30 09:36:37.000000000 +0200
@@ -42,7 +42,7 @@
 #include <mach/regs-lcd.h>
 
 #include <mach/h1940.h>
-#include <asm/plat-s3c/nand.h>
+#include <plat/nand.h>
 #include <mach/fb.h>
 
 #include <plat/clock.h>
@@ -179,7 +179,7 @@
 	&s3c_device_usb,
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
 	&s3c_device_nand,
 };
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2440/mach-smdk2440.c linux-2.6.28.6/arch/arm/mach-s3c2440/mach-smdk2440.c
--- linux-2.6.28/arch/arm/mach-s3c2440/mach-smdk2440.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2440/mach-smdk2440.c	2009-04-30 09:36:37.000000000 +0200
@@ -37,6 +37,7 @@
 
 #include <mach/idle.h>
 #include <mach/fb.h>
+#include <plat/iic.h>
 
 #include <plat/s3c2410.h>
 #include <plat/s3c2440.h>
@@ -152,7 +153,7 @@
 	&s3c_device_usb,
 	&s3c_device_lcd,
 	&s3c_device_wdt,
-	&s3c_device_i2c,
+	&s3c_device_i2c0,
 	&s3c_device_iis,
 };
 
@@ -166,6 +167,7 @@
 static void __init smdk2440_machine_init(void)
 {
 	s3c24xx_fb_set_platdata(&smdk2440_fb_info);
+	s3c_i2c0_set_platdata(NULL);
 
 	platform_add_devices(smdk2440_devices, ARRAY_SIZE(smdk2440_devices));
 	smdk_machine_init();
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2443/Kconfig linux-2.6.28.6/arch/arm/mach-s3c2443/Kconfig
--- linux-2.6.28/arch/arm/mach-s3c2443/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2443/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -24,6 +24,7 @@
 	bool "SMDK2443"
 	select CPU_S3C2443
 	select MACH_SMDK
+	select S3C_DEV_HSMMC
 	help
 	  Say Y here if you are using an SMDK2443
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2443/clock.c linux-2.6.28.6/arch/arm/mach-s3c2443/clock.c
--- linux-2.6.28/arch/arm/mach-s3c2443/clock.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2443/clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -39,6 +39,8 @@
 
 #include <mach/regs-s3c2443-clock.h>
 
+#include <plat/cpu-freq.h>
+
 #include <plat/s3c2443.h>
 #include <plat/clock.h>
 #include <plat/cpu.h>
@@ -145,12 +147,6 @@
 
 /* clock selections */
 
-/* CPU EXTCLK input */
-static struct clk clk_ext = {
-	.name		= "ext",
-	.id		= -1,
-};
-
 static struct clk clk_mpllref = {
 	.name		= "mpllref",
 	.parent		= &clk_xtal,
@@ -165,14 +161,6 @@
 };
 #endif
 
-static struct clk clk_epllref;
-
-static struct clk clk_epll = {
-	.name		= "epll",
-	.parent		= &clk_epllref,
-	.id		= -1,
-};
-
 static struct clk clk_i2s_ext = {
 	.name		= "i2s-ext",
 	.id		= -1,
@@ -1011,22 +999,20 @@
 	&clk_prediv,
 };
 
-void __init s3c2443_init_clocks(int xtal)
+void __init_or_cpufreq s3c2443_setup_clocks(void)
 {
-	unsigned long epllcon = __raw_readl(S3C2443_EPLLCON);
 	unsigned long mpllcon = __raw_readl(S3C2443_MPLLCON);
 	unsigned long clkdiv0 = __raw_readl(S3C2443_CLKDIV0);
+	struct clk *xtal_clk;
+	unsigned long xtal;
 	unsigned long pll;
 	unsigned long fclk;
 	unsigned long hclk;
 	unsigned long pclk;
-	struct clk *clkp;
-	int ret;
-	int ptr;
 
-	/* s3c2443 parents h and p clocks from prediv */
-	clk_h.parent = &clk_prediv;
-	clk_p.parent = &clk_prediv;
+	xtal_clk = clk_get(NULL, "xtal");
+	xtal = clk_get_rate(xtal_clk);
+	clk_put(xtal_clk);
 
 	pll = s3c2443_get_mpll(mpllcon, xtal);
 	clk_msysclk.rate = pll;
@@ -1036,13 +1022,29 @@
 	hclk /= s3c2443_get_hdiv(clkdiv0);
  	pclk = hclk / ((clkdiv0 & S3C2443_CLKDIV0_HALF_PCLK) ? 2 : 1);
 
-	s3c24xx_setup_clocks(xtal, fclk, hclk, pclk);
+	s3c24xx_setup_clocks(fclk, hclk, pclk);
 
 	printk("S3C2443: mpll %s %ld.%03ld MHz, cpu %ld.%03ld MHz, mem %ld.%03ld MHz, pclk %ld.%03ld MHz\n",
 	       (mpllcon & S3C2443_PLLCON_OFF) ? "off":"on",
 	       print_mhz(pll), print_mhz(fclk),
 	       print_mhz(hclk), print_mhz(pclk));
 
+	s3c24xx_setup_clocks(fclk, hclk, pclk);
+}
+
+void __init s3c2443_init_clocks(int xtal)
+{
+	struct clk *clkp;
+	unsigned long epllcon = __raw_readl(S3C2443_EPLLCON);
+	int ret;
+	int ptr;
+
+	/* s3c2443 parents h and p clocks from prediv */
+	clk_h.parent = &clk_prediv;
+	clk_p.parent = &clk_prediv;
+
+	s3c24xx_register_baseclocks(xtal);
+	s3c2443_setup_clocks();
 	s3c2443_clk_initparents();
 
 	for (ptr = 0; ptr < ARRAY_SIZE(clks); ptr++) {
@@ -1056,7 +1058,7 @@
 	}
 
 	clk_epll.rate = s3c2443_get_epll(epllcon, xtal);
-
+	clk_epll.parent = &clk_epllref;
 	clk_usb_bus.parent = &clk_usb_bus_host;
 
 	/* ensure usb bus clock is within correct rate of 48MHz */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2443/dma.c linux-2.6.28.6/arch/arm/mach-s3c2443/dma.c
--- linux-2.6.28/arch/arm/mach-s3c2443/dma.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2443/dma.c	2009-04-30 09:36:37.000000000 +0200
@@ -26,12 +26,12 @@
 
 #include <plat/regs-serial.h>
 #include <mach/regs-gpio.h>
-#include <asm/plat-s3c/regs-ac97.h>
+#include <plat/regs-ac97.h>
 #include <mach/regs-mem.h>
 #include <mach/regs-lcd.h>
 #include <mach/regs-sdi.h>
 #include <asm/plat-s3c24xx/regs-iis.h>
-#include <asm/plat-s3c24xx/regs-spi.h>
+#include <plat/regs-spi.h>
 
 #define MAP(x) { \
 		[0]	= (x) | DMA_CH_VALID,	\
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2443/mach-smdk2443.c linux-2.6.28.6/arch/arm/mach-s3c2443/mach-smdk2443.c
--- linux-2.6.28/arch/arm/mach-s3c2443/mach-smdk2443.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2443/mach-smdk2443.c	2009-04-30 09:36:37.000000000 +0200
@@ -37,6 +37,7 @@
 
 #include <mach/idle.h>
 #include <mach/fb.h>
+#include <plat/iic.h>
 
 #include <plat/s3c2410.h>
 #include <plat/s3c2440.h>
@@ -103,8 +104,8 @@
 
 static struct platform_device *smdk2443_devices[] __initdata = {
 	&s3c_device_wdt,
-	&s3c_device_i2c,
-	&s3c_device_hsmmc,
+	&s3c_device_i2c0,
+	&s3c_device_hsmmc0,
 };
 
 static void __init smdk2443_map_io(void)
@@ -116,6 +117,7 @@
 
 static void __init smdk2443_machine_init(void)
 {
+	s3c_i2c0_set_platdata(NULL);
 	platform_add_devices(smdk2443_devices, ARRAY_SIZE(smdk2443_devices));
 	smdk_machine_init();
 }
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c2443/s3c2443.c linux-2.6.28.6/arch/arm/mach-s3c2443/s3c2443.c
--- linux-2.6.28/arch/arm/mach-s3c2443/s3c2443.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c2443/s3c2443.c	2009-04-30 09:36:37.000000000 +0200
@@ -81,10 +81,9 @@
  * machine specific initialisation.
  */
 
-void __init s3c2443_map_io(struct map_desc *mach_desc, int mach_size)
+void __init s3c2443_map_io(void)
 {
 	iotable_init(s3c2443_iodesc, ARRAY_SIZE(s3c2443_iodesc));
-	iotable_init(mach_desc, mach_size);
 }
 
 /* need to register class before we actually register the device, and
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/debug-macro.S linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/debug-macro.S
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/debug-macro.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/debug-macro.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,28 @@
+/* arch/arm/mach-s3c2410/include/mach/debug-macro.S
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* pull in the relevant register and map files. */
+
+#include <mach/map.h>
+#include <plat/regs-serial.h>
+
+	.macro addruart, rx
+		mrc	p15, 0, \rx, c1, c0
+		tst	\rx, #1
+		ldreq	\rx, = S3C24XX_PA_UART
+		ldrne	\rx, = S3C24XX_VA_UART
+#if CONFIG_DEBUG_S3C_UART != 0
+		add	\rx, \rx, #(S3C2410_UART1_OFF * CONFIG_DEBUG_S3C_UART)
+#endif
+	.endm
+
+/* include the reset of the code which will do the work, we're only
+ * compiling for a single cpu processor type so the default of s3c2440
+ * will be fine with us.
+ */
+
+#include <plat/debug-macro.S>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/io.h linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/io.h
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/io.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/io.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,16 @@
+/* arch/arm/mach-s3c24a0/include/mach/io.h
+ *
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben-linux@fluff.org>
+ *
+ * IO access and mapping routines for the S3C24A0
+ */
+
+#ifndef __ASM_ARM_ARCH_IO_H
+#define __ASM_ARM_ARCH_IO_H
+
+/* No current ISA/PCI bus support. */
+#define __io(a)		((void __iomem *)(a))
+#define __mem_pci(a)	(a)
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/irqs.h linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/irqs.h
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/irqs.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/irqs.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,115 @@
+/* linux/arch/arm/mach-s3c24a0/include/mach/irqs.h
+ *
+ * Copyright (c) 2003-2005 Simtec Electronics
+ *   Ben Dooks <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+
+#ifndef __ASM_ARCH_24A0_IRQS_H
+#define __ASM_ARCH_24A0_IRQS_H __FILE__
+
+#define IRQ_EINT0t2	S3C2410_IRQ(0)	/* 16 */
+/* for generic entry-macro.S */
+#define IRQ_EINT0	IRQ_EINT0t2
+
+#define IRQ_EINT3t6	S3C2410_IRQ(1)
+#define IRQ_EINT7t10	S3C2410_IRQ(2)
+#define IRQ_EINT11t14	S3C2410_IRQ(3)
+#define IRQ_EINT15t18	S3C2410_IRQ(4)	/* 20 */
+#define IRQ_TICK	S3C2410_IRQ(5)
+#define IRQ_DCTQ	S3C2410_IRQ(6)
+#define IRQ_MC		S3C2410_IRQ(7)
+#define IRQ_ME		S3C2410_IRQ(8)	/* 24 */
+#define IRQ_KEYPAD	S3C2410_IRQ(9)
+#define IRQ_TIMER0	S3C2410_IRQ(10)
+#define IRQ_TIMER1	S3C2410_IRQ(11)
+#define IRQ_TIMER2	S3C2410_IRQ(12)
+#define IRQ_TIMER3_4	S3C2410_IRQ(13)
+#define IRQ_OS_TIMER	IRQ_TIMER3_4
+#define IRQ_LCD		S3C2410_IRQ(14)
+#define IRQ_CAM_C	S3C2410_IRQ(15)
+#define IRQ_WDT_BATFLT	S3C2410_IRQ(16)	/* 32 */
+#define IRQ_UART0	S3C2410_IRQ(17)
+#define IRQ_CAM_P	S3C2410_IRQ(18)
+#define IRQ_MODEM	S3C2410_IRQ(19)
+#define IRQ_DMA		S3C2410_IRQ(20)
+#define IRQ_SDI		S3C2410_IRQ(21)
+#define IRQ_SPI0	S3C2410_IRQ(22)
+#define IRQ_UART1	S3C2410_IRQ(23)
+#define IRQ_AC97_NFLASH	S3C2410_IRQ(24)	/* 40 */
+#define IRQ_USBD	S3C2410_IRQ(25)
+#define IRQ_USBH	S3C2410_IRQ(26)
+#define IRQ_IIC		S3C2410_IRQ(27)
+#define IRQ_IRDA_MSTICK	S3C2410_IRQ(28)	/* 44 */
+#define IRQ_VLX_SPI1	S3C2410_IRQ(29)
+#define IRQ_RTC		S3C2410_IRQ(30)	/* 46 */
+#define IRQ_ADC_PEN     S3C2410_IRQ(31)
+
+/* interrupts generated from the external interrupts sources */
+#define IRQ_EINT00	S3C2410_IRQ(32)	/* 48 */
+#define IRQ_EINT1	S3C2410_IRQ(33)
+#define IRQ_EINT2	S3C2410_IRQ(34)
+#define IRQ_EINT3	S3C2410_IRQ(35)
+#define IRQ_EINT4	S3C2410_IRQ(36)
+#define IRQ_EINT5	S3C2410_IRQ(37)
+#define IRQ_EINT6	S3C2410_IRQ(38)
+#define IRQ_EINT7	S3C2410_IRQ(39)
+#define IRQ_EINT8	S3C2410_IRQ(40)
+#define IRQ_EINT9	S3C2410_IRQ(41)
+#define IRQ_EINT10	S3C2410_IRQ(42)
+#define IRQ_EINT11	S3C2410_IRQ(43)
+#define IRQ_EINT12	S3C2410_IRQ(44)
+#define IRQ_EINT13	S3C2410_IRQ(45)
+#define IRQ_EINT14	S3C2410_IRQ(46)
+#define IRQ_EINT15	S3C2410_IRQ(47)
+#define IRQ_EINT16	S3C2410_IRQ(48)
+#define IRQ_EINT17	S3C2410_IRQ(49)
+#define IRQ_EINT18	S3C2410_IRQ(50)
+
+/* SUB IRQS */
+#define IRQ_S3CUART_RX0		S3C2410_IRQ(51)	/* 67 */
+#define IRQ_S3CUART_TX0		S3C2410_IRQ(52)
+#define IRQ_S3CUART_ERR0	S3C2410_IRQ(53)
+
+#define IRQ_S3CUART_RX1		S3C2410_IRQ(54)
+#define IRQ_S3CUART_TX1		S3C2410_IRQ(55)
+#define IRQ_S3CUART_ERR1	S3C2410_IRQ(56)
+
+#define IRQ_S3CUART_RX2		(0x0)
+#define IRQ_S3CUART_TX2		(0x0)
+#define IRQ_S3CUART_ERR2	(0x0)
+
+
+#define IRQ_IRDA	S3C2410_IRQ(57)
+#define IRQ_MSTICK	S3C2410_IRQ(58)
+#define IRQ_RESERVED0	S3C2410_IRQ(59)
+#define IRQ_RESERVED1	S3C2410_IRQ(60)
+#define IRQ_RESERVED2	S3C2410_IRQ(61)
+#define IRQ_TIMER3	S3C2410_IRQ(62)
+#define IRQ_TIMER4	S3C2410_IRQ(63)
+#define IRQ_WDT		S3C2410_IRQ(64)
+#define IRQ_BATFLT	S3C2410_IRQ(65)
+#define IRQ_POST	S3C2410_IRQ(66)
+#define IRQ_DISP_FIFO	S3C2410_IRQ(67)
+#define IRQ_PENUP	S3C2410_IRQ(68)
+#define IRQ_PENDN	S3C2410_IRQ(69)
+#define IRQ_ADC		S3C2410_IRQ(70)
+#define IRQ_DISP_FRAME	S3C2410_IRQ(71)
+#define IRQ_NFLASH	S3C2410_IRQ(72)
+#define IRQ_AC97	S3C2410_IRQ(73)
+#define IRQ_SPI1	S3C2410_IRQ(74)
+#define IRQ_VLX		S3C2410_IRQ(75)
+#define IRQ_DMA0	S3C2410_IRQ(76)
+#define IRQ_DMA1	S3C2410_IRQ(77)
+#define IRQ_DMA2	S3C2410_IRQ(78)
+#define IRQ_DMA3	S3C2410_IRQ(79)
+
+#define IRQ_TC		(0x0)
+
+#define NR_IRQS		(IRQ_DMA3+1)
+
+#endif /* __ASM_ARCH_24A0_IRQS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/map.h linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/map.h
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/map.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/map.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,85 @@
+/* linux/arch/arm/mach-s3c24a0/include/mach/map.h
+ *
+ * Copyright 2003,2007  Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24A0 - Memory map definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_24A0_MAP_H
+#define __ASM_ARCH_24A0_MAP_H __FILE__
+
+#include <plat/map-base.h>
+#include <plat/map.h>
+
+#define S3C24A0_PA_IO_BASE	(0x40000000)
+#define S3C24A0_PA_CLKPWR	(0x40000000)
+#define S3C24A0_PA_IRQ		(0x40200000)
+#define S3C24A0_PA_DMA		(0x40400000)
+#define S3C24A0_PA_MEMCTRL	(0x40C00000)
+#define S3C24A0_PA_NAND		(0x40C00000)
+#define S3C24A0_PA_SROM		(0x40C20000)
+#define S3C24A0_PA_SDRAM	(0x40C40000)
+#define S3C24A0_PA_BUSM		(0x40CE0000)
+#define S3C24A0_PA_USBHOST	(0x41000000)
+#define S3C24A0_PA_MODEMIF	(0x41180000)
+#define S3C24A0_PA_IRDA		(0x41800000)
+#define S3C24A0_PA_TIMER	(0x44000000)
+#define S3C24A0_PA_WATCHDOG	(0x44100000)
+#define S3C24A0_PA_RTC		(0x44200000)
+#define S3C24A0_PA_UART		(0x44400000)
+#define S3C24A0_PA_UART0	(S3C24A0_PA_UART)
+#define S3C24A0_PA_UART1	(S3C24A0_PA_UART + 0x4000)
+#define S3C24A0_PA_SPI		(0x44500000)
+#define S3C24A0_PA_IIC		(0x44600000)
+#define S3C24A0_PA_IIS		(0x44700000)
+#define S3C24A0_PA_GPIO		(0x44800000)
+#define S3C24A0_PA_KEYIF	(0x44900000)
+#define S3C24A0_PA_USBDEV	(0x44A00000)
+#define S3C24A0_PA_AC97		(0x45000000)
+#define S3C24A0_PA_ADC		(0x45800000)
+#define S3C24A0_PA_SDI		(0x46000000)
+#define S3C24A0_PA_MS		(0x46100000)
+#define S3C24A0_PA_LCD		(0x4A000000)
+#define S3C24A0_PA_VPOST	(0x4A100000)
+
+/* physical addresses of all the chip-select areas */
+
+#define S3C24A0_CS0	(0x00000000)
+#define S3C24A0_CS1	(0x04000000)
+#define S3C24A0_CS2	(0x08000000)
+#define S3C24A0_CS3	(0x0C000000)
+#define S3C24A0_CS4	(0x10000000)
+#define S3C24A0_CS5	(0x40000000)
+
+#define S3C24A0_SDRAM_PA	(S3C24A0_CS4)
+
+/* Use a single interface for common resources between S3C24XX cpus */
+
+#define S3C24XX_PA_IRQ		S3C24A0_PA_IRQ
+#define S3C24XX_PA_MEMCTRL	S3C24A0_PA_MEMCTRL
+#define S3C24XX_PA_USBHOST	S3C24A0_PA_USBHOST
+#define S3C24XX_PA_DMA		S3C24A0_PA_DMA
+#define S3C24XX_PA_CLKPWR	S3C24A0_PA_CLKPWR
+#define S3C24XX_PA_LCD		S3C24A0_PA_LCD
+#define S3C24XX_PA_UART		S3C24A0_PA_UART
+#define S3C24XX_PA_TIMER	S3C24A0_PA_TIMER
+#define S3C24XX_PA_USBDEV	S3C24A0_PA_USBDEV
+#define S3C24XX_PA_WATCHDOG	S3C24A0_PA_WATCHDOG
+#define S3C24XX_PA_IIS		S3C24A0_PA_IIS
+#define S3C24XX_PA_GPIO		S3C24A0_PA_GPIO
+#define S3C24XX_PA_RTC		S3C24A0_PA_RTC
+#define S3C24XX_PA_ADC		S3C24A0_PA_ADC
+#define S3C24XX_PA_SPI		S3C24A0_PA_SPI
+#define S3C24XX_PA_SDI		S3C24A0_PA_SDI
+#define S3C24XX_PA_NAND		S3C24A0_PA_NAND
+
+#define S3C_PA_UART		S3C24A0_PA_UART
+#define S3C_PA_IIC		S3C24A0_PA_IIC
+
+#endif /* __ASM_ARCH_24A0_MAP_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/memory.h linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/memory.h
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/memory.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/memory.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,19 @@
+/* linux/arch/arm/mach-s3c24a0/include/mach/memory.h
+ *  from linux/include/asm-arm/arch-rpc/memory.h
+ *
+ *  Copyright (C) 1996,1997,1998 Russell King.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_24A0_MEMORY_H
+#define __ASM_ARCH_24A0_MEMORY_H __FILE__
+
+#define PHYS_OFFSET UL(0x10000000)
+
+#define __virt_to_bus(x) __virt_to_phys(x)
+#define __bus_to_virt(x) __phys_to_virt(x)
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/regs-clock.h linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/regs-clock.h
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/regs-clock.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/regs-clock.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,88 @@
+/* linux/arch/arm/mach-s3c24a0/include/mach/regs-clock.h
+ *
+ * Copyright (c) 2003,2004,2005,2006 Simtec Electronics <linux@simtec.co.uk>
+ *		      http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C24A0 clock register definitions
+*/
+
+#ifndef __ASM_ARCH_24A0_REGS_CLOCK_H
+#define __ASM_ARCH_24A0_REGS_CLOCK_H __FILE__
+
+#define S3C24A0_MPLLCON		S3C2410_CLKREG(0x10)
+#define S3C24A0_UPLLCON		S3C2410_CLKREG(0x14)
+#define S3C24A0_CLKCON		S3C2410_CLKREG(0x20)
+#define S3C24A0_CLKSRC		S3C2410_CLKREG(0x24)
+#define S3C24A0_CLKDIVN		S3C2410_CLKREG(0x28)
+
+/* CLKCON register bits */
+
+#define S3C24A0_CLKCON_VLX	(1<<29)
+#define S3C24A0_CLKCON_VPOST	(1<<28)
+#define S3C24A0_CLKCON_WDT	(1<<27)	/* reserved */
+#define S3C24A0_CLKCON_MPEGDCTQ	(1<<26)
+#define S3C24A0_CLKCON_VPOSTIF	(1<<25)
+#define S3C24A0_CLKCON_MPEG4IF	(1<<24)
+#define S3C24A0_CLKCON_CAM_UPLL	(1<<23)
+#define S3C24A0_CLKCON_LCDC	(1<<22)
+#define S3C24A0_CLKCON_CAM_HCLK	(1<<21)
+#define S3C24A0_CLKCON_MPEG4	(1<<20)
+#define S3C24A0_CLKCON_KEYPAD	(1<<19)
+#define S3C24A0_CLKCON_ADC	(1<<18)
+#define S3C24A0_CLKCON_SDI	(1<<17)
+#define S3C24A0_CLKCON_MS	(1<<16) /* memory stick */
+#define S3C24A0_CLKCON_USBD	(1<<15)
+#define S3C24A0_CLKCON_GPIO	(1<<14)
+#define S3C24A0_CLKCON_IIS	(1<<13)
+#define S3C24A0_CLKCON_IIC	(1<<12)
+#define S3C24A0_CLKCON_SPI	(1<<11)
+#define S3C24A0_CLKCON_UART1	(1<<10)
+#define S3C24A0_CLKCON_UART0	(1<<9)
+#define S3C24A0_CLKCON_PWMT	(1<<8)
+#define S3C24A0_CLKCON_USBH	(1<<7)
+#define S3C24A0_CLKCON_AC97	(1<<6)
+#define S3C24A0_CLKCON_IrDA	(1<<4)
+#define S3C24A0_CLKCON_IDLE	(1<<2)
+#define S3C24A0_CLKCON_MON	(1<<1)
+#define S3C24A0_CLKCON_STOP	(1<<0)
+
+/* CLKSRC register bits */
+
+#define S3C24A0_CLKSRC_OSC	(1<<8)  /* CLKSRC */
+#define S3C24A0_CLKSRC_UPLL	(1<<7)
+#define S3C24A0_CLKSRC_MPLL	(1<<5)
+#define S3C24A0_CLKSRC_EXT	(1<<4)
+
+/* Use a single interface with the common code, for s3c24xx */
+
+#define S3C2410_MPLLCON		S3C24A0_MPLLCON
+#define S3C2410_UPLLCON		S3C24A0_UPLLCON
+#define S3C2410_CLKCON		S3C24A0_CLKCON
+#define S3C2410_CLKSLOW		S3C24A0_CLKSRC
+#define S3C2410_CLKDIVN		S3C24A0_CLKDIVN
+
+#define S3C2410_CLKCON_IDLE	S3C24A0_CLKCON_IDLE
+#define S3C2410_CLKCON_POWER	S3C24A0_CLKCON_STOP
+#define S3C2410_CLKCON_LCDC	S3C24A0_CLKCON_LCDC
+#define S3C2410_CLKCON_USBH	S3C24A0_CLKCON_USBH
+#define S3C2410_CLKCON_USBD	S3C24A0_CLKCON_USBD
+#define S3C2410_CLKCON_PWMT	S3C24A0_CLKCON_PWMT
+#define S3C2410_CLKCON_SDI	S3C24A0_CLKCON_SDI
+#define S3C2410_CLKCON_UART0	S3C24A0_CLKCON_UART0
+#define S3C2410_CLKCON_UART1	S3C24A0_CLKCON_UART1
+#define S3C2410_CLKCON_GPIO	S3C24A0_CLKCON_GPIO
+#define S3C2410_CLKCON_ADC	S3C24A0_CLKCON_ADC
+#define S3C2410_CLKCON_IIC	S3C24A0_CLKCON_IIC
+#define S3C2410_CLKCON_IIS	S3C24A0_CLKCON_IIS
+#define S3C2410_CLKCON_SPI	S3C24A0_CLKCON_SPI
+
+#define S3C2410_CLKSLOW_UCLK_OFF	S3C24A0_CLKSRC_UPLL
+#define S3C2410_CLKSLOW_MPLL_OFF	S3C24A0_CLKSRC_MPLL
+#define S3C2410_CLKSLOW_SLOW		(0xFF)
+#define S3C2410_CLKSLOW_GET_SLOWVAL(x)	(0x1)
+
+#endif /* __ASM_ARCH_24A0_REGS_CLOCK_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/regs-irq.h linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/regs-irq.h
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/regs-irq.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/regs-irq.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,25 @@
+/* linux/arch/arm/mach-s3c24a0/include/mach/regs-irq.h
+ *
+ * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk>
+ *		      http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+
+#ifndef ___ASM_ARCH_24A0_REGS_IRQ_H
+#define ___ASM_ARCH_24A0_REGS_IRQ_H __FILE__
+
+
+#define S3C2410_EINTMASK	S3C2410_EINTREG(0x034)
+#define S3C2410_EINTPEND	S3C2410_EINTREG(0X038)
+
+#define S3C24XX_EINTMASK	S3C24XX_EINTREG(0x034)
+#define S3C24XX_EINTPEND	S3C24XX_EINTREG(0X038)
+
+#endif /* __ASM_ARCH_24A0_REGS_IRQ_H */
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/system.h linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/system.h
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/system.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/system.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,25 @@
+/* linux/arch/arm/mach-s3c24a0/include/mach/system.h
+ *
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24A0 - System function defines and includes
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <mach/hardware.h>
+#include <asm/io.h>
+
+#include <mach/map.h>
+
+static void arch_idle(void)
+{
+	/* currently no specific idle support. */
+}
+
+void (*s3c24xx_reset_hook)(void);
+
+#include <asm/plat-s3c24xx/system-reset.h>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/tick.h linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/tick.h
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/tick.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/tick.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,15 @@
+/* linux/arch/arm/mach-s3c24a0/include/mach/tick.h
+ *
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C24A0 - timer tick support
+ */
+
+#define SUBSRC_TIMER4	(1 << (IRQ_TIMER4 - IRQ_S3CUART_RX0))
+
+static inline int s3c24xx_ostimer_pending(void)
+{
+	return __raw_readl(S3C2410_SUBSRCPND) & SUBSRC_TIMER4;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/timex.h linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/timex.h
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/timex.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/timex.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,18 @@
+/* linux/arch/arm/mach-s3c24a0/include/mach/timex.h
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C2410 - time parameters
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_TIMEX_H
+#define __ASM_ARCH_TIMEX_H
+
+#define CLOCK_TICK_RATE 12000000
+
+#endif /* __ASM_ARCH_TIMEX_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/vmalloc.h linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/vmalloc.h
--- linux-2.6.28/arch/arm/mach-s3c24a0/include/mach/vmalloc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c24a0/include/mach/vmalloc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,17 @@
+/* linux/include/asm-arm/arch-s3c24ao/vmalloc.h
+ *
+ * Copyright 2008 Simtec Electronics <linux@simtec.co.uk>
+
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C24A0 vmalloc definition
+*/
+
+#ifndef __ASM_ARCH_VMALLOC_H
+#define __ASM_ARCH_VMALLOC_H
+
+#define VMALLOC_END	  (0xE0000000)
+
+#endif /* __ASM_ARCH_VMALLOC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/Kconfig linux-2.6.28.6/arch/arm/mach-s3c6400/Kconfig
--- linux-2.6.28/arch/arm/mach-s3c6400/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,8 @@
+# arch/arm/mach-s3c6400/Kconfig
+#
+# Copyright 2008 Openmoko, Inc.
+#	Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
+#
+# Licensed under GPLv2
+
+# Currently nothing here, this will be added later
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/Makefile linux-2.6.28.6/arch/arm/mach-s3c6400/Makefile
--- linux-2.6.28/arch/arm/mach-s3c6400/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,15 @@
+# arch/arm/mach-s3c6400/Makefile
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
+
+obj-y				:=
+obj-m				:=
+obj-n				:=
+obj-				:=
+
+# Core support for S3C6400 system
+
+obj-n				+= blank.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/Makefile.boot linux-2.6.28.6/arch/arm/mach-s3c6400/Makefile.boot
--- linux-2.6.28/arch/arm/mach-s3c6400/Makefile.boot	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/Makefile.boot	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,2 @@
+   zreladdr-y	:= 0x50008000
+params_phys-y	:= 0x50000100
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/debug-macro.S linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/debug-macro.S
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/debug-macro.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/debug-macro.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,39 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/debug-macro.S
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* pull in the relevant register and map files. */
+
+#include <mach/map.h>
+#include <plat/regs-serial.h>
+
+	/* note, for the boot process to work we have to keep the UART
+	 * virtual address aligned to an 1MiB boundary for the L1
+	 * mapping the head code makes. We keep the UART virtual address
+	 * aligned and add in the offset when we load the value here.
+	 */
+
+	.macro addruart, rx
+		mrc	p15, 0, \rx, c1, c0
+		tst	\rx, #1
+		ldreq	\rx, = S3C_PA_UART
+		ldrne	\rx, = (S3C_VA_UART + S3C_PA_UART & 0xfffff)
+#if CONFIG_DEBUG_S3C_UART != 0
+		add	\rx, \rx, #(0x400 * CONFIG_DEBUG_S3C_UART)
+#endif
+	.endm
+
+/* include the reset of the code which will do the work, we're only
+ * compiling for a single cpu processor type so the default of s3c2440
+ * will be fine with us.
+ */
+
+#include <plat/debug-macro.S>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/dma.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/dma.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/dma.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/dma.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,16 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/dma.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C6400 - DMA support
+ */
+
+#ifndef __ASM_ARCH_DMA_H
+#define __ASM_ARCH_DMA_H __FILE__
+
+#include <mach/s3c-dma.h>
+
+#endif /* __ASM_ARCH_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/entry-macro.S linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/entry-macro.S
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/entry-macro.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/entry-macro.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,44 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/entry-macro.S
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * Low-level IRQ helper macros for the Samsung S3C64XX series
+ *
+ * This file is licensed under  the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+*/
+
+#include <asm/hardware/vic.h>
+#include <mach/map.h>
+#include <plat/irqs.h>
+
+	.macro	disable_fiq
+	.endm
+
+	.macro	get_irqnr_preamble, base, tmp
+	ldr	\base, =S3C_VA_VIC0
+	.endm
+
+	.macro	arch_ret_to_user, tmp1, tmp2
+	.endm
+
+	.macro	get_irqnr_and_base, irqnr, irqstat, base, tmp
+
+	@ check the vic0
+	mov	\irqnr, # S3C_IRQ_OFFSET + 31
+	ldr	\irqstat, [ \base, # VIC_IRQ_STATUS ]
+	teq	\irqstat, #0
+
+	@ otherwise try vic1
+	addeq	\tmp, \base, #(S3C_VA_VIC1 - S3C_VA_VIC0)
+	addeq	\irqnr, \irqnr, #32
+	ldreq	\irqstat, [ \tmp, # VIC_IRQ_STATUS ]
+	teqeq	\irqstat, #0
+
+	clzne	\irqstat, \irqstat
+	subne	\irqnr, \irqnr, \irqstat
+	.endm
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/gpio-core.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/gpio-core.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/gpio-core.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/gpio-core.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,21 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/gpio-core.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX - GPIO core support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_GPIO_CORE_H
+#define __ASM_ARCH_GPIO_CORE_H __FILE__
+
+/* currently we just include the platform support */
+#include <plat/gpio-core.h>
+
+#endif /* __ASM_ARCH_GPIO_CORE_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/gpio.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/gpio.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/gpio.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/gpio.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,96 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/gpio.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C6400 - GPIO lib support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define gpio_get_value	__gpio_get_value
+#define gpio_set_value	__gpio_set_value
+#define gpio_cansleep	__gpio_cansleep
+#define gpio_to_irq	__gpio_to_irq
+
+/* GPIO bank sizes */
+#define S3C64XX_GPIO_A_NR	(8)
+#define S3C64XX_GPIO_B_NR	(7)
+#define S3C64XX_GPIO_C_NR	(8)
+#define S3C64XX_GPIO_D_NR	(5)
+#define S3C64XX_GPIO_E_NR	(5)
+#define S3C64XX_GPIO_F_NR	(16)
+#define S3C64XX_GPIO_G_NR	(7)
+#define S3C64XX_GPIO_H_NR	(10)
+#define S3C64XX_GPIO_I_NR	(16)
+#define S3C64XX_GPIO_J_NR	(12)
+#define S3C64XX_GPIO_K_NR	(16)
+#define S3C64XX_GPIO_L_NR	(15)
+#define S3C64XX_GPIO_M_NR	(6)
+#define S3C64XX_GPIO_N_NR	(16)
+#define S3C64XX_GPIO_O_NR	(16)
+#define S3C64XX_GPIO_P_NR	(15)
+#define S3C64XX_GPIO_Q_NR	(9)
+
+/* GPIO bank numbes */
+
+/* CONFIG_S3C_GPIO_SPACE allows the user to select extra
+ * space for debugging purposes so that any accidental
+ * change from one gpio bank to another can be caught.
+*/
+
+#define S3C64XX_GPIO_NEXT(__gpio) \
+	((__gpio##_START) + (__gpio##_NR) + CONFIG_S3C_GPIO_SPACE + 1)
+
+enum s3c_gpio_number {
+	S3C64XX_GPIO_A_START = 0,
+	S3C64XX_GPIO_B_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_A),
+	S3C64XX_GPIO_C_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_B),
+	S3C64XX_GPIO_D_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_C),
+	S3C64XX_GPIO_E_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_D),
+	S3C64XX_GPIO_F_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_E),
+	S3C64XX_GPIO_G_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_F),
+	S3C64XX_GPIO_H_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_G),
+	S3C64XX_GPIO_I_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_H),
+	S3C64XX_GPIO_J_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_I),
+	S3C64XX_GPIO_K_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_J),
+	S3C64XX_GPIO_L_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_K),
+	S3C64XX_GPIO_M_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_L),
+	S3C64XX_GPIO_N_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_M),
+	S3C64XX_GPIO_O_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_N),
+	S3C64XX_GPIO_P_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_O),
+	S3C64XX_GPIO_Q_START = S3C64XX_GPIO_NEXT(S3C64XX_GPIO_P),
+};
+
+/* S3C64XX GPIO number definitions. */
+
+#define S3C64XX_GPA(_nr)	(S3C64XX_GPIO_A_START + (_nr))
+#define S3C64XX_GPB(_nr)	(S3C64XX_GPIO_B_START + (_nr))
+#define S3C64XX_GPC(_nr)	(S3C64XX_GPIO_C_START + (_nr))
+#define S3C64XX_GPD(_nr)	(S3C64XX_GPIO_D_START + (_nr))
+#define S3C64XX_GPE(_nr)	(S3C64XX_GPIO_E_START + (_nr))
+#define S3C64XX_GPF(_nr)	(S3C64XX_GPIO_F_START + (_nr))
+#define S3C64XX_GPG(_nr)	(S3C64XX_GPIO_G_START + (_nr))
+#define S3C64XX_GPH(_nr)	(S3C64XX_GPIO_H_START + (_nr))
+#define S3C64XX_GPI(_nr)	(S3C64XX_GPIO_I_START + (_nr))
+#define S3C64XX_GPJ(_nr)	(S3C64XX_GPIO_J_START + (_nr))
+#define S3C64XX_GPK(_nr)	(S3C64XX_GPIO_K_START + (_nr))
+#define S3C64XX_GPL(_nr)	(S3C64XX_GPIO_L_START + (_nr))
+#define S3C64XX_GPM(_nr)	(S3C64XX_GPIO_M_START + (_nr))
+#define S3C64XX_GPN(_nr)	(S3C64XX_GPIO_N_START + (_nr))
+#define S3C64XX_GPO(_nr)	(S3C64XX_GPIO_O_START + (_nr))
+#define S3C64XX_GPP(_nr)	(S3C64XX_GPIO_P_START + (_nr))
+#define S3C64XX_GPQ(_nr)	(S3C64XX_GPIO_Q_START + (_nr))
+
+/* the end of the S3C64XX specific gpios */
+#define S3C64XX_GPIO_END	(S3C64XX_GPQ(S3C64XX_GPIO_Q_NR) + 1)
+#define S3C_GPIO_END		S3C64XX_GPIO_END
+
+/* define the number of gpios we need to the one after the GPQ() range */
+#define ARCH_NR_GPIOS	(S3C64XX_GPQ(S3C64XX_GPIO_Q_NR) + 1)
+
+#include <asm-generic/gpio.h>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/hardware.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/hardware.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/hardware.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/hardware.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,16 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/hardware.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C6400 - Hardware support
+ */
+
+#ifndef __ASM_ARCH_HARDWARE_H
+#define __ASM_ARCH_HARDWARE_H __FILE__
+
+/* currently nothing here, placeholder */
+
+#endif /* __ASM_ARCH_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/idle.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/idle.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/idle.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/idle.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,24 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/idle.h
+ *
+ * Copyright (c) 2004 Simtec Electronics <linux@simtec.co.uk>
+ *		http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C6400 CPU Idle controls
+*/
+
+#ifndef __ASM_ARCH_IDLE_H
+#define __ASM_ARCH_IDLE_H __FILE__
+
+/* This allows the over-ride of the default idle code, in case there
+ * is any other things to be done over idle (like DVS)
+*/
+
+extern void (*s3c64xx_idle)(void);
+
+extern void s3c64xx_default_idle(void);
+
+#endif /* __ASM_ARCH_IDLE_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/irqs.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/irqs.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/irqs.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/irqs.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,20 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/irqs.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C6400 - IRQ definitions
+ */
+
+#ifndef __ASM_ARCH_IRQS_H
+#define __ASM_ARCH_IRQS_H __FILE__
+
+#ifndef __ASM_ARM_IRQ_H
+#error "Do not include this directly, instead #include <asm/irq.h>"
+#endif
+
+#include <plat/irqs.h>
+
+#endif /* __ASM_ARCH_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/map.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/map.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/map.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/map.h	2010-04-21 06:39:24.000000000 +0200
@@ -0,0 +1,199 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/map.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>a
+ *
+ * S3C64XX - Memory map definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_MAP_H
+#define __ASM_ARCH_MAP_H __FILE__
+
+#include <plat/map-base.h>
+
+/* HSMMC units */
+#define S3C64XX_PA_HSMMC(x)	(0x7C200000 + ((x) * 0x100000))
+#define S3C64XX_PA_HSMMC0	S3C64XX_PA_HSMMC(0)
+#define S3C64XX_PA_HSMMC1	S3C64XX_PA_HSMMC(1)
+#define S3C64XX_PA_HSMMC2	S3C64XX_PA_HSMMC(2)
+#define S3C_SZ_HSMMC	   	SZ_1M
+
+#define S3C_PA_UART		(0x7F005000)
+#define S3C_PA_UART0		(S3C_PA_UART + 0x00)
+#define S3C_PA_UART1		(S3C_PA_UART + 0x400)
+#define S3C_PA_UART2		(S3C_PA_UART + 0x800)
+#define S3C_PA_UART3		(S3C_PA_UART + 0xC00)
+#define S3C_UART_OFFSET		(0x400)
+
+/* See notes on UART VA mapping in debug-macro.S */
+#define S3C_VA_UARTx(x)		(S3C_VA_UART + (S3C_PA_UART & 0xfffff) + ((x) * S3C_UART_OFFSET))
+
+#define S3C_VA_UART0		S3C_VA_UARTx(0)
+#define S3C_VA_UART1		S3C_VA_UARTx(1)
+#define S3C_VA_UART2		S3C_VA_UARTx(2)
+#define S3C_VA_UART3		S3C_VA_UARTx(3)
+#define S3C_SZ_UART		SZ_256
+
+#define S3C64XX_PA_SYSCON	(0x7E00F000)
+#define S3C64XX_PA_TIMER	(0x7F006000)
+#define S3C64XX_PA_IIC0		(0x7F004000)
+#define S3C64XX_PA_IIC1		(0x7F00F000)
+
+#define S3C64XX_PA_GPIO		(0x7F008000)
+#define S3C64XX_VA_GPIO		S3C_ADDR(0x00500000)
+#define S3C64XX_SZ_GPIO		SZ_4K
+
+#define S3C64XX_PA_SDRAM	(0x50000000)
+#define S3C64XX_PA_VIC0		(0x71200000)
+#define S3C64XX_PA_VIC1		(0x71300000)
+
+#define S3C64XX_VA_SROMC	S3C_VA_SROMC
+#define S3C64XX_PA_SROMC	(0x70000000)
+#define S3C64XX_SZ_SROMC	SZ_1M
+
+#define S3C64XX_VA_LCD	   	S3C_VA_LCD
+#define S3C64XX_PA_LCD	   	(0x77100000)
+#define S3C64XX_SZ_LCD		SZ_1M
+
+#define S3C64XX_PA_G2D	   	(0x76100000)
+#define S3C64XX_SZ_G2D		SZ_1M
+
+#define S3C64XX_PA_G3D	   	(0x72000000)
+#define S3C64XX_SZ_G3D		SZ_16M
+
+#define S3C64XX_PA_FIMC		(0x78000000)
+#define S3C64XX_SZ_FIMC		SZ_1M
+
+#define S3C64XX_PA_ADC		(0x7E00B000)
+//#define S3C64XX_PA_SMC9115	(0x18000000)
+//#define S3C64XX_SZ_SMC9115	SZ_512M
+#define S3C64XX_PA_DM9000	(0x18000000)
+#define S3C64XX_SZ_DM9000	SZ_1M
+#define S3C64XX_VA_DM9000	S3C_ADDR(0x03b00300)
+
+#define S3C6400_PA_AC97 	(0x7F001000)
+
+#define S3C64XX_PA_IIS	   	(0x7F002000)
+#define S3C64XX_PA_RTC	   	(0x7E005000)
+#define S3C64XX_PA_IIS_V40 	(0x7F00D000)
+#define S3C_SZ_IIS		SZ_8K
+
+/* DMA controller */
+#define S3C64XX_PA_DMA		(0x75000000)
+
+/* place VICs close together */
+#define S3C_VA_VIC0		(S3C_VA_IRQ + 0x00)
+#define S3C_VA_VIC1		(S3C_VA_IRQ + 0x10000)
+
+/* Host I/F Indirect & Direct */
+#define S3C64XX_VA_HOSTIFA	S3C_ADDR(0x00B00000)
+#define S3C64XX_PA_HOSTIFA	(0x74000000)
+#define S3C64XX_SZ_HOSTIFA	SZ_1M
+
+#define S3C64XX_VA_HOSTIFB	S3C_ADDR(0x00C00000)
+#define S3C64XX_PA_HOSTIFB	(0x74100000)
+#define S3C64XX_SZ_HOSTIFB	SZ_1M
+
+/* TV-ENCODER */
+#define S3C6400_PA_TVENC	(0x76200000)
+#define S5PC100_PA_TVENC	(0xF0000000)
+#define S3C_SZ_TVENC		SZ_1M
+
+/* TV-SCALER*/
+#define S3C6400_PA_TVSCALER	(0x76300000)
+#define S3C_SZ_TVSCALER		SZ_1M
+
+/* Rotator */
+#define S3C6400_PA_ROTATOR      (0x77200000)
+#define S3C_SZ_ROTATOR          SZ_1M
+
+/* JPEG */
+#define S3C6400_PA_JPEG         (0x78800000)
+#define S3C_SZ_JPEG             SZ_4M
+
+/* VPP */
+#define S3C6400_PA_VPP          (0x77000000)
+#define S5PC100_PA_VPP          (0xF0100000)
+#define S3C_SZ_VPP              SZ_1M
+
+/* MFC */
+#define S3C6400_PA_MFC		(0x7E002000)
+#define S5PC100_PA_MFC		(0xF1000000)
+#define S3C_SZ_MFC		SZ_4K
+    
+/* NAND flash controller */
+#define S3C64XX_PA_NAND	   	(0x70200000)
+#define S3C64XX_SZ_NAND	   	SZ_1M
+
+/* OneNAND */
+#define S3C64XX_PA_ONENAND	(0x70100000)
+#define	S3C_SZ_ONENAND		SZ_1M
+
+/* USB Host */
+#define S3C64XX_PA_USBHOST	(0x74300000)
+#define S3C64XX_SZ_USBHOST	SZ_1M
+
+/* USB OTG */
+#define S3C64XX_VA_OTG		S3C_ADDR(0x03900000)
+#define S3C64XX_PA_OTG		(0x7C000000)
+#define S3C64XX_SZ_OTG		SZ_1M
+
+/* USB OTG SFR */
+#define S3C64XX_VA_OTGSFR	S3C_ADDR(0x03a00000)
+#define S3C64XX_PA_OTGSFR	(0x7C100000)
+#define S3C64XX_SZ_OTGSFR	SZ_1M
+
+#define S3C64XX_PA_KEYPAD	(0x7E00A000)
+#define S3C64XX_SZ_KEYPAD	SZ_4K
+
+/* SPI */
+#define S3C64XX_PA_SPI	   	(0x7F00B000)
+#define S3C64XX_PA_SPI0	   	(0x7F00B000)
+#define S3C64XX_PA_SPI1	   	(0x7F00C000)
+#define S3C64XX_SZ_SPI		SZ_8K
+#define S3C64XX_SZ_SPI0		SZ_4K
+#define S3C64XX_SZ_SPI1		SZ_4K
+
+/* Watchdog */
+#define S3C64XX_PA_WATCHDOG 	(0x7E004000)
+#define S3C64XX_SZ_WATCHDOG 	SZ_4K
+
+/* compatibiltiy defines. */
+#define S3C_PA_TIMER		S3C64XX_PA_TIMER
+#define S3C_PA_HSMMC0		S3C64XX_PA_HSMMC0
+#define S3C_PA_HSMMC1		S3C64XX_PA_HSMMC1
+#define S3C_PA_HSMMC2		S3C64XX_PA_HSMMC2
+#define S3C_PA_IIC		S3C64XX_PA_IIC0
+#define S3C_PA_IIC1		S3C64XX_PA_IIC1
+
+#define S3C_PA_RTC		S3C64XX_PA_RTC
+
+#define S3C_PA_SPI		S3C64XX_PA_SPI
+#define S3C_PA_SPI0		S3C64XX_PA_SPI0
+#define S3C_PA_SPI1		S3C64XX_PA_SPI1
+#define S3C_SZ_SPI		S3C64XX_SZ_SPI
+#define S3C_SZ_SPI0		S3C64XX_SZ_SPI0
+#define S3C_SZ_SPI1		S3C64XX_SZ_SPI1
+
+#define S3C_PA_IIS		S3C64XX_PA_IIS
+#define S3C_PA_ADC		S3C64XX_PA_ADC
+#define S3C_PA_DMA		S3C64XX_PA_DMA
+
+#define S3C_VA_OTG		S3C64XX_VA_OTG
+#define S3C_PA_OTG		S3C64XX_PA_OTG
+#define S3C_SZ_OTG		S3C64XX_SZ_OTG
+
+#define S3C_VA_OTGSFR		S3C64XX_VA_OTGSFR
+#define S3C_PA_OTGSFR		S3C64XX_PA_OTGSFR
+#define S3C_SZ_OTGSFR		S3C64XX_SZ_OTGSFR
+
+#define S3C_PA_KEYPAD		S3C64XX_PA_KEYPAD
+#define S3C_SZ_KEYPAD		S3C64XX_SZ_KEYPAD
+
+#endif /* __ASM_ARCH_6400_MAP_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/memory.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/memory.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/memory.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/memory.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,22 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/memory.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_MEMORY_H
+#define __ASM_ARCH_MEMORY_H
+
+#define PHYS_OFFSET     	UL(0x50000000)
+#define CONSISTENT_DMA_SIZE	(SZ_8M + SZ_4M + SZ_2M)
+
+#define __virt_to_bus(x) __virt_to_phys(x)
+#define __bus_to_virt(x) __phys_to_virt(x)
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/regs-irq.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/regs-irq.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/regs-irq.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/regs-irq.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,69 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/regs-irq.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C64XX - IRQ register definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_REGS_IRQ_H
+#define __ASM_ARCH_REGS_IRQ_H __FILE__
+
+#include <asm/hardware/vic.h>
+#include <mach/map.h>
+/* interrupt controller */
+#define S3C_VIC0REG(x)          ((x) + S3C_VA_VIC0)
+#define S3C_VIC1REG(x)          ((x) + S3C_VA_VIC1)
+
+#define S3C64XX_VIC0IRQSTATUS       S3C_VIC0REG(0x000)
+#define S3C64XX_VIC1IRQSTATUS       S3C_VIC1REG(0x000)
+
+#define S3C64XX_VIC0FIQSTATUS       S3C_VIC0REG(0x004)
+#define S3C64XX_VIC1FIQSTATUS       S3C_VIC1REG(0x004)
+
+#define S3C64XX_VIC0RAWINTR         S3C_VIC0REG(0x008)
+#define S3C64XX_VIC1RAWINTR         S3C_VIC1REG(0x008)
+
+#define S3C64XX_VIC0INTSELECT       S3C_VIC0REG(0x00C)
+#define S3C64XX_VIC1INTSELECT       S3C_VIC1REG(0x00C)
+
+#define S3C64XX_VIC0INTENABLE       S3C_VIC0REG(0x010)
+#define S3C64XX_VIC1INTENABLE       S3C_VIC1REG(0x010)
+
+#define S3C64XX_VIC0INTENCLEAR      S3C_VIC0REG(0x014)
+#define S3C64XX_VIC1INTENCLEAR      S3C_VIC1REG(0x014)
+
+#define S3C64XX_VIC0SOFTINT         S3C_VIC0REG(0x018)
+#define S3C64XX_VIC1SOFTINT         S3C_VIC1REG(0x018)
+
+#define S3C64XX_VIC0SOFTINTCLEAR    S3C_VIC0REG(0x01C)
+#define S3C64XX_VIC1SOFTINTCLEAR    S3C_VIC1REG(0x01C)
+
+#define S3C64XX_VIC0PROTECTION      S3C_VIC0REG(0x020)
+#define S3C64XX_VIC1PROTECTION      S3C_VIC1REG(0x020)
+
+#define S3C64XX_VIC0SWPRIORITYMASK  S3C_VIC0REG(0x024)
+#define S3C64XX_VIC1SWPRIORITYMASK  S3C_VIC1REG(0x024)
+
+#define S3C64XX_VIC0PRIORITYDAISY   S3C_VIC0REG(0x028)
+#define S3C64XX_VIC1PRIORITYDAISY   S3C_VIC1REG(0x028)
+
+#define S3C64XX_VIC0VECTADDR0       S3C_VIC0REG(0x100)
+#define S3C64XX_VIC1VECTADDR0       S3C_VIC1REG(0x100)
+
+#define S3C64XX_VIC0VECTADDR1       S3C_VIC0REG(0x104)
+#define S3C64XX_VIC1VECTADDR1       S3C_VIC1REG(0x104)
+
+#define S3C64XX_VIC0VECTADDR2       S3C_VIC0REG(0x108)
+#define S3C64XX_VIC1VECTADDR2       S3C_VIC1REG(0x108)
+
+#define S3C64XX_VIC0ADDRESS         S3C_VIC0REG(0xF00)
+#define S3C64XX_VIC1ADDRESS         S3C_VIC1REG(0xF00)
+
+#endif /* __ASM_ARCH_6400_REGS_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/regs-mem.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/regs-mem.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/regs-mem.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/regs-mem.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,70 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/regs-mem.h
+ *
+ * Copyright (c) 2004 Simtec Electronics <linux@simtec.co.uk>
+ *		http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C2410 Memory Control register definitions
+*/
+
+#ifndef __ASM_ARM_MEMREGS_H
+#define __ASM_ARM_MEMREGS_H
+
+#ifndef S3C64XX_MEMREG
+#define S3C64XX_MEMREG(x) (S3C64XX_VA_SROMC + (x))
+#endif
+
+
+/* Bank Idle Cycle Control Registers 0-5 */
+#define S3C64XX_SROM_BW		S3C64XX_MEMREG(0x00)
+
+#define S3C64XX_SROM_BC0	S3C64XX_MEMREG(0x04)
+#define S3C64XX_SROM_BC1	S3C64XX_MEMREG(0x08)
+#define S3C64XX_SROM_BC2	S3C64XX_MEMREG(0x0C)
+#define S3C64XX_SROM_BC3	S3C64XX_MEMREG(0x10)
+#define S3C64XX_SROM_BC4	S3C64XX_MEMREG(0x14)
+#define S3C64XX_SROM_BC5	S3C64XX_MEMREG(0x18)
+
+/* SROM BW */
+#define S3C64XX_SROM_BW_DATA_WIDTH0_8BIT	(0 << 0)
+#define S3C64XX_SROM_BW_DATA_WIDTH0_16BIT	(1 << 0)
+#define S3C64XX_SROM_BW_DATA_WIDTH0_MASK	(1 << 0)
+
+#define S3C64XX_SROM_BW_WAIT_ENABLE0_DISABLE	(0 << 2)
+#define S3C64XX_SROM_BW_WAIT_ENABLE0_ENABLE	(1 << 2)
+#define S3C64XX_SROM_BW_WAIT_ENABLE0_MASK	(1 << 2)
+
+#define S3C64XX_SROM_BW_BYTE_ENABLE0_DISABLE	(0 << 3)
+#define S3C64XX_SROM_BW_BYTE_ENABLE0_ENABLE	(1 << 3)
+#define S3C64XX_SROM_BW_BYTE_ENABLE0_MASK	(1 << 3)
+
+#define S3C64XX_SROM_BW_DATA_WIDTH1_8BIT	(0 << 4)
+#define S3C64XX_SROM_BW_DATA_WIDTH1_16BIT	(1 << 4)
+#define S3C64XX_SROM_BW_DATA_WIDTH1_MASK	(1 << 4)
+
+#define S3C64XX_SROM_BW_WAIT_ENABLE1_DISABLE	(0 << 6)
+#define S3C64XX_SROM_BW_WAIT_ENABLE1_ENABLE	(1 << 6)
+#define S3C64XX_SROM_BW_WAIT_ENABLE1_MASK	(1 << 6)
+
+#define S3C64XX_SROM_BW_BYTE_ENABLE1_DISABLE	(0 << 7)
+#define S3C64XX_SROM_BW_BYTE_ENABLE1_ENABLE	(1 << 7)
+#define S3C64XX_SROM_BW_BYTE_ENABLE1_MASK	(1 << 7)
+
+#define S3C64XX_SROM_BW_DATA_WIDTH2_8BIT	(0 << 8)
+#define S3C64XX_SROM_BW_DATA_WIDTH2_16BIT	(1 << 8)
+#define S3C64XX_SROM_BW_DATA_WIDTH2_MASK	(1 << 8)
+
+/* SROM BCn */
+#define S3C64XX_SROM_BCn_TACS(x)		(x << 28)
+#define S3C64XX_SROM_BCn_TCOS(x)		(x << 24)
+#define S3C64XX_SROM_BCn_TACC(x)		(x << 16)
+#define S3C64XX_SROM_BCn_TCOH(x)		(x << 12)
+#define S3C64XX_SROM_BCn_TCAH(x)		(x << 8)
+#define S3C64XX_SROM_BCn_TACP(x)		(x << 4)
+#define S3C64XX_SROM_BCn_PMC_NORMAL		(0 << 0)
+#define S3C64XX_SROM_BCn_PMC_4			(1 << 0)
+
+#endif /* __ASM_ARM_MEMREGS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/system.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/system.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/system.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/system.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,48 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/system.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C6400 - system implementation
+ */
+
+#ifndef __ASM_ARCH_SYSTEM_H
+#define __ASM_ARCH_SYSTEM_H __FILE__
+
+#include <linux/io.h>
+#include <mach/map.h>
+#include <plat/regs-watchdog.h>
+
+void (*s3c64xx_idle)(void);
+void (*s3c64xx_reset_hook)(void);
+
+void s3c64xx_default_idle(void)
+{
+	/* nothing here yet */
+}
+	
+static void arch_idle(void)
+{
+	if (s3c64xx_idle != NULL)
+		(s3c64xx_idle)();
+	else
+		s3c64xx_default_idle();
+}
+
+static void arch_reset(char mode)
+{
+	void __iomem	*wdt_reg;
+
+	wdt_reg = ioremap(S3C64XX_PA_WATCHDOG,S3C64XX_SZ_WATCHDOG);
+
+	/* nothing here yet */
+
+	writel(S3C2410_WTCNT_CNT, wdt_reg + S3C2410_WTCNT_OFFSET);	/* Watchdog Count Register*/
+	writel(S3C2410_WTCNT_CON, wdt_reg + S3C2410_WTCON_OFFSET);	/* Watchdog Controller Register*/
+	writel(S3C2410_WTCNT_DAT, wdt_reg + S3C2410_WTDAT_OFFSET);	/* Watchdog Data Register*/
+	
+}
+
+#endif /* __ASM_ARCH_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/tick.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/tick.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/tick.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/tick.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,29 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/tick.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C64XX - Timer tick support definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_TICK_H
+#define __ASM_ARCH_TICK_H __FILE__
+
+/* note, the timer interrutps turn up in 2 places, the vic and then
+ * the timer block. We take the VIC as the base at the moment.
+ */
+static inline u32 s3c24xx_ostimer_pending(void)
+{
+	u32 pend = __raw_readl(S3C_VA_VIC0 + VIC_RAW_STATUS);
+	return pend & 1 << (IRQ_TIMER4_VIC - S3C64XX_IRQ_VIC0(0));
+}
+
+#define TICK_MAX	(0xffffffff)
+
+#endif /* __ASM_ARCH_6400_TICK_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/uncompress.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/uncompress.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/uncompress.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/uncompress.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,26 @@
+/* linux/arch/arm/mach-s3c6400/include/mach/uncompress.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C6400 - uncompress code
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_UNCOMPRESS_H
+#define __ASM_ARCH_UNCOMPRESS_H
+
+#include <mach/map.h>
+#include <plat/uncompress.h>
+
+static void arch_detect_cpu(void)
+{
+	/* we do not need to do any cpu detection here at the moment. */
+}
+
+#endif /* __ASM_ARCH_UNCOMPRESS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6400/include/mach/usb-control.h linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/usb-control.h
--- linux-2.6.28/arch/arm/mach-s3c6400/include/mach/usb-control.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/usb-control.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,41 @@
+/* arch/arm/mach-s3c2410/include/mach/usb-control.h
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C2410 - usb port information
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_USBCONTROL_H
+#define __ASM_ARCH_USBCONTROL_H "arch/arm/mach-s3c6400/include/mach/usb-control.h"
+
+#define S3C_HCDFLG_USED	(1)
+
+struct s3c2410_hcd_port {
+	unsigned char	flags;
+	unsigned char	power;
+	unsigned char	oc_status;
+	unsigned char	oc_changed;
+};
+
+struct s3c2410_hcd_info {
+	struct usb_hcd		*hcd;
+	struct s3c2410_hcd_port	port[2];
+
+	void		(*power_control)(int port, int to);
+	void		(*enable_oc)(struct s3c2410_hcd_info *, int on);
+	void		(*report_oc)(struct s3c2410_hcd_info *, int ports);
+};
+
+static void inline s3c2410_usb_report_oc(struct s3c2410_hcd_info *info, int ports)
+{
+	if (info->report_oc != NULL) {
+		(info->report_oc)(info, ports);
+	}
+}
+
+#endif /*__ASM_ARCH_USBCONTROL_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6410/Kconfig linux-2.6.28.6/arch/arm/mach-s3c6410/Kconfig
--- linux-2.6.28/arch/arm/mach-s3c6410/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6410/Kconfig	2009-11-01 09:58:26.000000000 +0100
@@ -0,0 +1,70 @@
+# arch/arm/mach-s3c6410/Kconfig
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
+
+# Configuration options for the S3C6410 CPU
+
+config CPU_S3C6410
+	bool
+	select CPU_S3C6400_INIT
+	select CPU_S3C6400_CLOCK
+	help
+	  Enable S3C6410 CPU support
+
+config S3C6410_SETUP_SDHCI
+	bool
+	help
+	  Internal helper functions for S3C6410 based SDHCI systems
+
+config MACH_SMDK6410
+	bool "SMDK6410"
+	select CPU_S3C6410
+	select S3C_DEV_HSMMC
+	select S3C_DEV_HSMMC1
+	select S3C_DEV_HSMMC2
+#	select S3C_DEV_I2C1
+	select S3C6410_SETUP_SDHCI
+#	select S3C64XX_SETUP_I2C1
+	select S3C_DMA_PL080
+	help
+	  Machine support for the Samsung SMDK6410
+
+# At least some of the SMDK6410s were shipped with the card detect
+# for the MMC/SD slots connected to the same input. This means that
+# either the boards need to be altered to have channel0 to an alternate
+# configuration or that only one slot can be used.
+
+menu "SMDK6410 MMC/SD slot setup"
+	depends on MACH_SMDK6410
+
+config SMDK6410_SD_CH0
+	bool "Use channel 0"
+	depends on MACH_SMDK6410
+	help
+          Select CON7 (channel 0) as the MMC/SD slot, as
+	  at least some SMDK6410 boards come with the
+	  resistors fitted so that the card detects for
+	  channels 0 and 1 are the same.
+       
+config SMDK6410_SD_CH1
+	bool "Use channel 1"
+	depends on MACH_SMDK6410
+	help
+          Select CON6 (channel 1) as the MMC/SD slot, as
+	  at least some SMDK6410 boards come with the
+	  resistors fitted so that the card detects for
+	  channels 0 and 1 are the same.
+
+config SMDK6410_SD_CH2
+	bool "Use channel 2"
+	depends on MACH_SMDK6410
+	help
+          Select CON6 (channel 1) as the MMC/SD slot, as
+	  at least some SMDK6410 boards come with the
+	  resistors fitted so that the card detects for
+	  channels 0 and 1 are the same.
+
+endmenu
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6410/Makefile linux-2.6.28.6/arch/arm/mach-s3c6410/Makefile
--- linux-2.6.28/arch/arm/mach-s3c6410/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6410/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,28 @@
+# arch/arm/plat-s3c6410/Makefile
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
+
+obj-y				:=
+obj-m				:=
+obj-n				:=
+obj-				:=
+
+# Core support for S3C6410 system
+
+obj-$(CONFIG_CPU_S3C6410)	+= cpu.o
+obj-$(CONFIG_CPU_S3C6410)	+= dma.o
+obj-$(CONFIG_CPU_S3C6410)	+= irq.o
+
+
+# Helper and device support
+
+obj-$(CONFIG_S3C6410_SETUP_SDHCI)	+= setup-sdhci.o
+
+obj-$(CONFIG_PM)    += pm.o
+
+# machine support
+
+obj-$(CONFIG_MACH_SMDK6410)	+= mach-smdk6410.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6410/cpu.c linux-2.6.28.6/arch/arm/mach-s3c6410/cpu.c
--- linux-2.6.28/arch/arm/mach-s3c6410/cpu.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6410/cpu.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,133 @@
+/* linux/arch/arm/mach-s3c6410/cpu.c
+ *
+ * Copyright 2008 Simtec Electronics
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/timer.h>
+#include <linux/init.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+#include <linux/sysdev.h>
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+#include <asm/mach/irq.h>
+
+#include <asm/proc-fns.h>
+#include <mach/idle.h>
+
+#include <mach/hardware.h>
+#include <asm/irq.h>
+
+#include <plat/cpu-freq.h>
+#include <plat/regs-serial.h>
+#include <plat/regs-clock.h>
+
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/clock.h>
+#include <plat/sdhci.h>
+#include <plat/iic-core.h>
+#include <plat/s3c6400.h>
+#include <plat/s3c6410.h>
+#include <mach/map.h>
+
+/* Initial IO mappings */
+
+static struct map_desc s3c6410_iodesc[] __initdata = {
+	IODESC_ENT(LCD),
+	IODESC_ENT(SROMC),
+	IODESC_ENT(HOSTIFB),
+	IODESC_ENT(OTG),
+	IODESC_ENT(OTGSFR),
+};
+
+static void s3c6410_idle(void)
+{
+	unsigned long tmp;
+
+	/* Ensure our idle mode is to go to idle */
+	/* Set WFI instruction to SLEEP mode */
+
+	tmp = __raw_readl(S3C_PWR_CFG);
+	tmp &= ~(0x3<<5);
+	tmp |= (0x1<<5);
+	__raw_writel(tmp, S3C_PWR_CFG);
+
+	cpu_do_idle();
+}
+
+/* s3c6410_map_io
+ *
+ * register the standard cpu IO areas
+*/
+
+void __init s3c6410_map_io(void)
+{
+	iotable_init(s3c6410_iodesc, ARRAY_SIZE(s3c6410_iodesc));
+
+	/* initialise device information early */
+	s3c6410_default_sdhci0();
+	s3c6410_default_sdhci1();
+	s3c6410_default_sdhci2();
+
+	/* the i2c devices are directly compatible with s3c2440 */
+	s3c_i2c0_setname("s3c2440-i2c");
+	s3c_i2c1_setname("s3c2440-i2c");
+
+	/* set our idle function */
+	s3c64xx_idle = s3c6410_idle;
+}
+
+void __init s3c6410_init_clocks(int xtal)
+{
+	printk(KERN_DEBUG "%s: initialising clocks\n", __func__);
+	s3c24xx_register_baseclocks(xtal);
+	s3c64xx_register_clocks();
+	s3c6400_register_clocks();
+	s3c6400_setup_clocks();
+#ifdef CONFIG_HAVE_PWM
+	s3c24xx_pwmclk_init();
+#endif
+}
+
+void __init s3c6410_init_irq(void)
+{
+	/* VIC0 is missing IRQ7, VIC1 is fully populated. */
+	s3c64xx_init_irq(~0 & ~(1 << 7), ~0);
+}
+
+struct sysdev_class s3c6410_sysclass = {
+	.name	= "s3c6410-core",
+};
+
+static struct sys_device s3c6410_sysdev = {
+	.cls	= &s3c6410_sysclass,
+};
+
+static int __init s3c6410_core_init(void)
+{
+	return sysdev_class_register(&s3c6410_sysclass);
+}
+
+core_initcall(s3c6410_core_init);
+
+int __init s3c6410_init(void)
+{
+	printk("S3C6410: Initialising architecture\n");
+
+	return sysdev_register(&s3c6410_sysdev);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6410/dma.c linux-2.6.28.6/arch/arm/mach-s3c6410/dma.c
--- linux-2.6.28/arch/arm/mach-s3c6410/dma.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6410/dma.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,364 @@
+/* linux/arch/arm/mach-s3c6410/dma.c
+ *
+ * Copyright (c) 2003-2005,2006 Samsung Electronics
+ *
+ * S3C6410 DMA selection
+ *
+ * http://www.samsung.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/sysdev.h>
+#include <linux/serial_core.h>
+
+#include <asm/dma.h>
+#include <mach/dma.h>
+#include <asm/io.h>
+
+#include <plat/dma.h>
+#include <plat/cpu.h>
+
+
+/* DMAC-0 */
+#define MAP0(x) { \
+		[0]	= (x) | DMA_CH_VALID,	\
+		[1]	= (x) | DMA_CH_VALID,	\
+		[2]	= (x) | DMA_CH_VALID,	\
+		[3]	= (x) | DMA_CH_VALID,	\
+		[4]	= (x) | DMA_CH_VALID,	\
+		[5]     = (x) | DMA_CH_VALID,	\
+		[6]	= (x) | DMA_CH_VALID,	\
+		[7]     = (x) | DMA_CH_VALID,	\
+		[8]	= (x),	\
+		[9]	= (x),	\
+		[10]	= (x),	\
+		[11]	= (x),	\
+		[12]	= (x),	\
+		[13]    = (x),	\
+		[14]	= (x),	\
+		[15]    = (x),	\
+		[16]	= (x),	\
+		[17]	= (x),	\
+		[18]	= (x),	\
+		[19]	= (x),	\
+		[20]	= (x),	\
+		[21]    = (x),	\
+		[22]	= (x),	\
+		[23]    = (x),	\
+		[24]	= (x),	\
+		[25]	= (x),	\
+		[26]	= (x),	\
+		[27]	= (x),	\
+		[28]	= (x),	\
+		[29]    = (x),	\
+		[30]	= (x),	\
+		[31]    = (x),	\
+	}
+
+/* DMAC-1 */
+#define MAP1(x) { \
+		[0]	= (x),	\
+		[1]	= (x),	\
+		[2]	= (x),	\
+		[3]	= (x),	\
+		[4]	= (x),	\
+		[5]     = (x),	\
+		[6]	= (x),	\
+		[7]     = (x),	\
+		[8]	= (x) | DMA_CH_VALID,	\
+		[9]	= (x) | DMA_CH_VALID,	\
+		[10]	= (x) | DMA_CH_VALID,	\
+		[11]	= (x) | DMA_CH_VALID,	\
+		[12]	= (x) | DMA_CH_VALID,	\
+		[13]    = (x) | DMA_CH_VALID,	\
+		[14]	= (x) | DMA_CH_VALID,	\
+		[15]    = (x) | DMA_CH_VALID,	\
+		[16]	= (x),	\
+		[17]	= (x),	\
+		[18]	= (x),	\
+		[19]	= (x),	\
+		[20]	= (x),	\
+		[21]    = (x),	\
+		[22]	= (x),	\
+		[23]    = (x),	\
+		[24]	= (x),	\
+		[25]	= (x),	\
+		[26]	= (x),	\
+		[27]	= (x),	\
+		[28]	= (x),	\
+		[29]    = (x),	\
+		[30]	= (x),	\
+		[31]    = (x),	\
+	}
+
+/* SDMAC-0 */
+#define MAP2(x) { \
+		[0]	= (x),	\
+		[1]	= (x),	\
+		[2]	= (x),	\
+		[3]	= (x),	\
+		[4]	= (x),	\
+		[5]     = (x),	\
+		[6]	= (x),	\
+		[7]     = (x),	\
+		[8]	= (x),	\
+		[9]	= (x),	\
+		[10]	= (x),	\
+		[11]	= (x),	\
+		[12]	= (x),	\
+		[13]    = (x),	\
+		[14]	= (x),	\
+		[15]    = (x),	\
+		[16]	= (x) | DMA_CH_VALID,	\
+		[17]	= (x) | DMA_CH_VALID,	\
+		[18]	= (x) | DMA_CH_VALID,	\
+		[19]	= (x) | DMA_CH_VALID,	\
+		[20]	= (x) | DMA_CH_VALID,	\
+		[21]    = (x) | DMA_CH_VALID,	\
+		[22]	= (x) | DMA_CH_VALID,	\
+		[23]    = (x) | DMA_CH_VALID,	\
+		[24]	= (x),	\
+		[25]	= (x),	\
+		[26]	= (x),	\
+		[27]	= (x),	\
+		[28]	= (x),	\
+		[29]    = (x),	\
+		[30]	= (x),	\
+		[31]    = (x),	\
+	}
+
+/* SDMAC-1 */
+#define MAP3(x) { \
+		[0]	= (x),	\
+		[1]	= (x),	\
+		[2]	= (x),	\
+		[3]	= (x),	\
+		[4]	= (x),	\
+		[5]     = (x),	\
+		[6]	= (x),	\
+		[7]     = (x),	\
+		[8]	= (x),	\
+		[9]	= (x),	\
+		[10]	= (x),	\
+		[11]	= (x),	\
+		[12]	= (x),	\
+		[13]    = (x),	\
+		[14]	= (x),	\
+		[15]    = (x),	\
+		[16]	= (x),	\
+		[17]	= (x),	\
+		[18]	= (x),	\
+		[19]	= (x),	\
+		[20]	= (x),	\
+		[21]    = (x),	\
+		[22]	= (x),	\
+		[23]    = (x),	\
+		[24]	= (x) | DMA_CH_VALID,	\
+		[25]	= (x) | DMA_CH_VALID,	\
+		[26]	= (x) | DMA_CH_VALID,	\
+		[27]	= (x) | DMA_CH_VALID,	\
+		[28]	= (x) | DMA_CH_VALID,	\
+		[29]    = (x) | DMA_CH_VALID,	\
+		[30]	= (x) | DMA_CH_VALID,	\
+		[31]    = (x) | DMA_CH_VALID,	\
+	}
+
+/* SDMAC-0 */
+#define MAP2_ONENAND(x) { \
+		[0]	= (x),	\
+		[1]	= (x),	\
+		[2]	= (x),	\
+		[3]	= (x) ,	\
+		[4]	= (x),	\
+		[5]     = (x),	\
+		[6]	= (x),	\
+		[7]     = (x),	\
+		[8]	= (x),	\
+		[9]	= (x),	\
+		[10]	= (x),	\
+		[11]	= (x),	\
+		[12]	= (x),	\
+		[13]    = (x),	\
+		[14]	= (x),	\
+		[15]    = (x),	\
+		[16]	= (x),	\
+		[17]	= (x),	\
+		[18]	= (x) ,	\
+		[19]	= (x) | DMA_CH_VALID,	\
+		[20]	= (x),	\
+		[21]    = (x),	\
+		[22]	= (x),	\
+		[23]    = (x),	\
+		[24]	= (x),	\
+		[25]	= (x),	\
+		[26]	= (x),	\
+		[27]	= (x),	\
+		[28]	= (x),	\
+		[29]    = (x),	\
+		[30]	= (x),	\
+		[31]    = (x),	\
+	}
+
+
+/* DMAC0 DMA request sources */
+#define S3C_DMA0_UART0CH0	0
+#define S3C_DMA0_UART0CH1	1
+#define S3C_DMA0_UART1CH0	2
+#define S3C_DMA0_UART1CH1	3
+#define S3C_DMA0_ONENAND_RX	3	/* Memory to Memory DMA */
+#define S3C_DMA0_UART2CH0	4
+#define S3C_DMA0_UART2CH1	5
+#define S3C_DMA0_UART3CH0	6
+#define S3C_DMA0_UART3CH1	7
+#define S3C_DMA0_PCM0_TX	8
+#define S3C_DMA0_PCM0_RX	9
+#define S3C_DMA0_I2S0_TX	10
+#define S3C_DMA0_I2S0_RX	11
+#define S3C_DMA0_SPI0_TX	12
+#define S3C_DMA0_SPI0_RX	13
+#define S3C_DMA0_HSI_TX		14
+#define S3C_DMA0_HSI_RX		15
+
+/* DMAC1 DMA request sources */
+#define S3C_DMA1_PCM1_TX	0
+#define S3C_DMA1_PCM1_RX	1
+#define S3C_DMA1_I2S1_TX	2
+#define S3C_DMA1_I2S1_RX	3
+#define S3C_DMA1_SPI1_TX	4
+#define S3C_DMA1_SPI1_RX	5
+#define S3C_DMA1_AC97_PCMOUT	6
+#define S3C_DMA1_AC97_PCMIN	7
+#define S3C_DMA1_AC97_MICIN	8
+#define S3C_DMA1_PWM		9
+#define S3C_DMA1_IRDA		10
+#define S3C_DMA1_EXT		11
+
+
+static struct s3c_dma_map __initdata s3c6410_dma_mappings[] = {
+
+	[DMACH_I2S_IN] = {
+		.name		= "i2s0-in",
+		.channels	= MAP0(S3C_DMA0_I2S0_RX),
+		.hw_addr.from	= S3C_DMA0_I2S0_RX,
+		.sdma_sel	= 1 << S3C_DMA0_I2S0_RX,
+	},
+	[DMACH_I2S_OUT] = {
+		.name		= "i2s0-out",
+		.channels	= MAP0(S3C_DMA0_I2S0_TX),
+		.hw_addr.to	= S3C_DMA0_I2S0_TX,
+		.sdma_sel	= 1 << S3C_DMA0_I2S0_TX,
+	},
+	[DMACH_I2S1_IN] = {
+		.name		= "i2s1-in",
+		.channels	= MAP1(S3C_DMA1_I2S1_RX),
+		.hw_addr.from	= S3C_DMA1_I2S1_RX,
+		.sdma_sel	= 1 << (S3C_DMA1_I2S1_RX+S3C_DMA1),
+	},
+	[DMACH_I2S1_OUT] = {
+		.name		= "i2s1-out",
+		.channels	= MAP1(S3C_DMA1_I2S1_TX),
+		.hw_addr.to	= S3C_DMA1_I2S1_TX,
+		.sdma_sel	= 1 << (S3C_DMA1_I2S1_TX+S3C_DMA1),
+	},
+	[DMACH_SPI0_IN] = {
+		.name		= "spi0-in",
+		.channels	= MAP0(S3C_DMA0_SPI0_RX),
+		.hw_addr.from	= S3C_DMA0_SPI0_RX,
+		.sdma_sel	= 1 << S3C_DMA0_SPI0_RX,
+	},
+	[DMACH_SPI0_OUT] = {
+		.name		= "spi0-out",
+		.channels	= MAP0(S3C_DMA0_SPI0_TX),
+		.hw_addr.to	= S3C_DMA0_SPI0_TX,
+		.sdma_sel	= 1 << S3C_DMA0_SPI0_TX,
+	},
+	[DMACH_SPI1_IN] = {
+		.name		= "spi1-in",
+		.channels	= MAP1(S3C_DMA1_SPI1_RX),
+		.hw_addr.from	= S3C_DMA1_SPI1_RX,
+		.sdma_sel	= 1 << (S3C_DMA1_SPI1_RX+S3C_DMA1),
+	},
+	[DMACH_SPI1_OUT] = {
+		.name		= "spi1-out",
+		.channels	= MAP1(S3C_DMA1_SPI1_TX),
+		.hw_addr.to	= S3C_DMA1_SPI1_TX,
+		.sdma_sel	= 1 << (S3C_DMA1_SPI1_TX+S3C_DMA1),
+	},
+	[DMACH_AC97_PCM_OUT] = {
+		.name		= "ac97-pcm-out",
+		.channels	= MAP1(S3C_DMA1_AC97_PCMOUT),
+		.hw_addr.to	= S3C_DMA1_AC97_PCMOUT,
+		.sdma_sel	= 1 << (S3C_DMA1_AC97_PCMOUT+S3C_DMA1),
+	},
+	[DMACH_AC97_PCM_IN] = {
+		.name		= "ac97-pcm-in",
+		.channels	= MAP1(S3C_DMA1_AC97_PCMIN),
+		.hw_addr.from	= S3C_DMA1_AC97_PCMIN,
+		.sdma_sel	= 1 << (S3C_DMA1_AC97_PCMIN+S3C_DMA1),
+	},
+	[DMACH_AC97_MIC_IN] = {
+		.name		= "ac97-mic-in",
+		.channels	= MAP1(S3C_DMA1_AC97_MICIN),
+		.hw_addr.from	= S3C_DMA1_AC97_MICIN,
+		.sdma_sel	= 1 << (S3C_DMA1_AC97_MICIN+S3C_DMA1),
+	},
+	[DMACH_ONENAND_IN] = {
+		.name		= "onenand-in",
+		.channels	= MAP2_ONENAND(S3C_DMA0_ONENAND_RX),
+		.hw_addr.from	= S3C_DMA0_ONENAND_RX,
+	},
+	[DMACH_3D_M2M] = {
+		.name		= "3D-M2M",
+		.channels	= MAP1(S3C_DMA1_EXT),
+		.hw_addr.from	= S3C_DMA1_EXT,
+	},
+        [DMACH_I2S_V40_IN] = {                                                           
+		.name           = "i2s-v40-in",                                          
+		.channels       = MAP0(S3C_DMA0_HSI_RX),                                 
+		.hw_addr.from   = S3C_DMA0_HSI_RX,                                       
+		.sdma_sel       = 1 << S3C_DMA0_HSI_RX,                                  
+	},                                                                               
+	[DMACH_I2S_V40_OUT] = {                                                          
+		.name           = "i2s-v40-out",                                         
+		.channels       = MAP0(S3C_DMA0_HSI_TX),                                 
+		.hw_addr.to     = S3C_DMA0_HSI_TX,                                       
+		.sdma_sel       = 1 << S3C_DMA0_HSI_TX,                                  
+	}, 
+};
+
+static void s3c6410_dma_select(struct s3c2410_dma_chan *chan,
+			       struct s3c_dma_map *map)
+{
+	chan->map = map;
+}
+
+static struct s3c_dma_selection __initdata s3c6410_dma_sel = {
+	.select		= s3c6410_dma_select,
+	.dcon_mask	= 0,
+	.map		= s3c6410_dma_mappings,
+	.map_size	= ARRAY_SIZE(s3c6410_dma_mappings),
+};
+
+static int __init s3c6410_dma_add(struct sys_device *sysdev)
+{
+	s3c_dma_init(S3C_DMA_CHANNELS, IRQ_DMA0, 0x20);
+	return s3c_dma_init_map(&s3c6410_dma_sel);
+}
+
+static struct sysdev_driver s3c6410_dma_driver = {
+	.add	= s3c6410_dma_add,
+};
+
+static int __init s3c6410_dma_init(void)
+{
+	return sysdev_driver_register(&s3c6410_sysclass, &s3c6410_dma_driver);
+}
+
+arch_initcall(s3c6410_dma_init);
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6410/irq.c linux-2.6.28.6/arch/arm/mach-s3c6410/irq.c
--- linux-2.6.28/arch/arm/mach-s3c6410/irq.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6410/irq.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,47 @@
+/* linux/arch/arm/mach-s3c6410/irq.c
+ *
+ * Copyright (c) 2006 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/interrupt.h>
+#include <linux/ioport.h>
+#include <linux/sysdev.h>
+
+#include <plat/cpu.h>
+#include <plat/pm.h>
+
+static int s3c6410_irq_add(struct sys_device *sysdev)
+{
+	return 0;
+}
+
+static struct sysdev_driver s3c6410_irq_driver = {
+	.add		= s3c6410_irq_add,
+	.suspend	= s3c64xx_irq_suspend,
+	.resume		= s3c64xx_irq_resume,
+};
+
+static int s3c6410_irq_init(void)
+{
+	return sysdev_driver_register(&s3c6410_sysclass, &s3c6410_irq_driver);
+}
+
+arch_initcall(s3c6410_irq_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6410/mach-smdk6410.c linux-2.6.28.6/arch/arm/mach-s3c6410/mach-smdk6410.c
--- linux-2.6.28/arch/arm/mach-s3c6410/mach-smdk6410.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6410/mach-smdk6410.c	2010-07-20 05:04:29.000000000 +0200
@@ -0,0 +1,524 @@
+/* linux/arch/arm/mach-s3c6410/mach-smdk6410.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/timer.h>
+#include <linux/delay.h>
+#include <linux/init.h>
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+#include <linux/io.h>
+#include <linux/i2c.h>
+#include <linux/mtd/nand.h>
+#include <linux/mtd/partitions.h>
+#include <linux/module.h>
+#include <linux/clk.h>
+#include <linux/pwm_backlight.h>
+#include <linux/spi/spi.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+#include <asm/mach/irq.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+#include <mach/regs-mem.h>
+
+#include <asm/setup.h>
+#include <asm/irq.h>
+#include <asm/mach-types.h>
+
+#include <plat/regs-serial.h>
+#include <plat/iic.h>
+#include <plat/fimc.h>
+
+#include <plat/regs-rtc.h>
+
+#include <plat/nand.h>
+#include <plat/partition.h>
+#include <plat/s3c6410.h>
+#include <plat/clock.h>
+#include <plat/regs-clock.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+#include <plat/ts.h>
+#include <plat/adc.h>
+#include <plat/pm.h>
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+
+
+
+
+
+
+#ifdef CONFIG_USB_SUPPORT
+#include <plat/regs-otg.h>
+#include <linux/usb/ch9.h>
+
+/* S3C_USB_CLKSRC 0: EPLL 1: CLK_48M */
+#define S3C_USB_CLKSRC	1
+
+#ifdef USB_HOST_PORT2_EN
+#define OTGH_PHY_CLK_VALUE      (0x60)  /* Serial Interface, otg_phy input clk 48Mhz Oscillator */
+#else
+//#define OTGH_PHY_CLK_VALUE      (0x20)  /* UTMI Interface, otg_phy input clk 48Mhz Oscillator */
+#define OTGH_PHY_CLK_VALUE      (0x0)
+
+#endif
+#endif
+
+#define UCON S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK
+#define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
+#define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE
+
+extern struct sys_timer s3c_timer;
+extern void s3c64xx_reserve_bootmem(void);
+
+//static struct samspi_device spidev_b0_cs0;
+#if 0
+static struct samspi_device ProtocolADriver_b1_cs0;
+static struct samspi_device spidev_b0_cs1;
+static struct samspi_device ProtocolBDriver_b1_cs1;
+static struct samspi_device spidev_b1_cs2;
+#endif
+
+static struct spi_board_info __initdata sam_spi_devs[] = {
+	[0] = {
+		.modalias	 = "spidev", /* Test Interface */
+		.mode		 = SPI_MODE_2,	/* CPOL=1, CPHA=0 */
+		.max_speed_hz	 = 2468013,
+		/* Connected to SPI-0 as 1st Slave */
+		.bus_num	 = 0,
+		.irq		 = IRQ_SPI0,
+		.chip_select	 = 0,
+//		.controller_data = (void *)&spidev_b0_cs0,
+#if 0
+	}, {
+		.modalias	= "ProtocolADriver",
+		.mode		= SPI_MODE_2,
+		.max_speed_hz	= 1357923,
+		/* Connected to SPI-1 as 1st Slave */
+		.bus_num	= 1,
+		.irq		= IRQ_SPI1,
+		.chip_select	= 0,
+		.controller_data = (void *)&ProtocolADriver_b1_cs0,
+	}, {
+		.modalias	= "spidev",
+		.mode		= SPI_MODE_2,
+		.max_speed_hz	= 2357923,
+		/* Connected to SPI-0 as 2nd Slave */
+		.bus_num	= 0,
+		.irq		= IRQ_SPI0,
+		.chip_select	= 1,
+		.controller_data = (void *)&spidev_b0_cs1,
+	}, {
+		.modalias	= "ProtocolBDriver",
+		.mode		= SPI_MODE_2,
+		.max_speed_hz	= 3357923,
+		/* Connected to SPI-1 as 2ndst Slave */
+		.bus_num	= 1,
+		.irq		= IRQ_SPI1,
+		.chip_select	= 1,
+		.controller_data = (void *)&ProtocolBDriver_b1_cs1,
+	}, {
+		.modalias	= "spidev",
+		.mode		= SPI_MODE_2,
+		.max_speed_hz	= 4357923,
+		/* Connected to SPI-1 as 3rd Slave */
+		.bus_num	= 1,
+		.irq		= IRQ_SPI1,
+		.chip_select	= 2,
+		.controller_data = (void *)&spidev_b1_cs2,
+#endif
+	},
+};
+
+static struct s3c2410_uartcfg smdk6410_uartcfgs[] __initdata = {
+	[0] = {
+		.hwport	     = 0,
+		.flags	     = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+	},
+	[1] = {
+		.hwport	     = 1,
+		.flags	     = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+	},
+	[2] = {
+		.hwport	     = 2,
+		.flags	     = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+	},
+	[3] = {
+		.hwport	     = 3,
+		.flags	     = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+	},
+};
+
+struct map_desc smdk6410_iodesc[] = {
+	{ 
+		.virtual	= (u32)S3C64XX_VA_DM9000,
+		.pfn		= __phys_to_pfn(S3C64XX_PA_DM9000),
+		.length		= S3C64XX_SZ_DM9000,
+		.type		= MT_DEVICE,
+	},
+};
+
+static struct platform_device *smdk6410_devices[] __initdata = {
+#ifdef CONFIG_SMDK6410_SD_CH0
+	&s3c_device_hsmmc0,
+#endif
+#ifdef CONFIG_SMDK6410_SD_CH1
+	&s3c_device_hsmmc1,
+#endif
+#ifdef CONFIG_SMDK6410_SD_CH2
+	&s3c_device_hsmmc2,
+#endif
+	&s3c_device_wdt,
+	&s3c_device_rtc,
+	&s3c_device_i2c0,
+	//&s3c_device_i2c1,
+	&s3c_device_spi0,
+	&s3c_device_spi1,
+	&s3c_device_keypad,
+#if defined(CONFIG_TOUCHSCREEN_S3C)
+	&s3c_device_ts,
+#endif
+	&s3c_device_dm9000,
+	&s3c_device_lcd,
+	&s3c_device_vpp,
+	&s3c_device_mfc,
+	&s3c_device_tvenc,
+	&s3c_device_tvscaler,
+	&s3c_device_rotator,
+	&s3c_device_jpeg,
+	&s3c_device_nand,
+	&s3c_device_onenand,
+	&s3c_device_usb,
+	&s3c_device_usbgadget,
+	&s3c_device_usb_otghcd,
+	&s3c_device_fimc0,
+	&s3c_device_fimc1,
+	&s3c_device_g2d,
+	&s3c_device_g3d,
+
+#ifdef CONFIG_S3C64XX_ADC
+	&s3c_device_adc,
+#endif
+
+#ifdef CONFIG_HAVE_PWM
+	&s3c_device_timer[0],
+	&s3c_device_timer[1],
+#endif
+};
+
+static struct i2c_board_info i2c_devs0[] __initdata = {
+	{ I2C_BOARD_INFO("24c08", 0x50), },
+/*	{ I2C_BOARD_INFO("WM8580", 0x1b), },	*/
+};
+
+static struct i2c_board_info i2c_devs1[] __initdata = {
+	{ I2C_BOARD_INFO("24c128", 0x57), },	/* Samsung S524AD0XD1 */
+	{ I2C_BOARD_INFO("WM8580", 0x1b), },
+};
+
+static struct s3c_ts_mach_info s3c_ts_platform __initdata = {
+	.delay 			= 0xFFFF,
+	.presc 			= 0xFF,
+	.oversampling_shift	= 2,
+	.resol_bit 		= 12,
+	.s3c_adc_con		= ADC_TYPE_2,
+};
+
+static struct s3c_adc_mach_info s3c_adc_platform = {
+	/* s3c6410 support 12-bit resolution */
+	.delay	= 	10000,
+	.presc 	= 	49,
+	.resolution = 	12,
+};
+
+#if defined(CONFIG_HAVE_PWM)
+static struct platform_pwm_backlight_data smdk_backlight_data = {
+	.pwm_id		= 1,
+	.max_brightness	= 255,
+	.dft_brightness	= 255,
+	.pwm_period_ns	= 78770,
+};
+
+static struct platform_device smdk_backlight_device = {
+	.name		= "pwm-backlight",
+	.dev		= {
+		.parent = &s3c_device_timer[1].dev,
+		.platform_data = &smdk_backlight_data,
+	},
+};
+
+static void __init smdk_backlight_register(void)
+{
+	int ret = platform_device_register(&smdk_backlight_device);
+	if (ret)
+		printk(KERN_ERR "smdk: failed to register backlight device: %d\n", ret);
+}
+#else
+#define smdk_backlight_register()	do { } while (0)
+#endif
+
+static void __init smdk6410_map_io(void)
+{
+	s3c_device_nand.name = "s3c6410-nand";
+
+	s3c64xx_init_io(smdk6410_iodesc, ARRAY_SIZE(smdk6410_iodesc));
+	s3c24xx_init_clocks(12000000);
+	s3c24xx_init_uarts(smdk6410_uartcfgs, ARRAY_SIZE(smdk6410_uartcfgs));
+	s3c64xx_reserve_bootmem();
+}
+
+static void __init smdk6410_smc911x_set(void)
+{
+	unsigned int tmp;
+
+	tmp = __raw_readl(S3C64XX_SROM_BW);
+	tmp &= ~(S3C64XX_SROM_BW_WAIT_ENABLE1_MASK | S3C64XX_SROM_BW_WAIT_ENABLE1_MASK |
+		S3C64XX_SROM_BW_DATA_WIDTH1_MASK);
+	tmp |= S3C64XX_SROM_BW_BYTE_ENABLE1_ENABLE | S3C64XX_SROM_BW_WAIT_ENABLE1_ENABLE |
+		S3C64XX_SROM_BW_DATA_WIDTH1_16BIT;
+
+	__raw_writel(tmp, S3C64XX_SROM_BW);
+
+	__raw_writel(S3C64XX_SROM_BCn_TACS(0) | S3C64XX_SROM_BCn_TCOS(4) |
+			S3C64XX_SROM_BCn_TACC(13) | S3C64XX_SROM_BCn_TCOH(1) |
+			S3C64XX_SROM_BCn_TCAH(4) | S3C64XX_SROM_BCn_TACP(6) |
+			S3C64XX_SROM_BCn_PMC_NORMAL, S3C64XX_SROM_BC1);
+}
+
+
+
+
+
+
+
+
+
+static void __init smdk6410_machine_init(void)
+{
+	unsigned int tmp;
+
+	s3c_device_nand.dev.platform_data = &s3c_nand_mtd_part_info;
+	s3c_device_onenand.dev.platform_data = &s3c_onenand_data;
+
+
+	s3c_i2c0_set_platdata(NULL);
+
+#if defined(CONFIG_TOUCHSCREEN_S3C)
+	s3c_ts_set_platdata(&s3c_ts_platform);
+#endif
+	s3c_adc_set_platdata(&s3c_adc_platform);
+
+	i2c_register_board_info(0, i2c_devs0, ARRAY_SIZE(i2c_devs0));
+	i2c_register_board_info(1, i2c_devs1, ARRAY_SIZE(i2c_devs1));
+
+	spi_register_board_info(sam_spi_devs, ARRAY_SIZE(sam_spi_devs));
+
+	s3c_fimc0_set_platdata(NULL);
+	s3c_fimc1_set_platdata(NULL);
+
+#ifdef CONFIG_VIDEO_FIMC
+	//s3c_fimc_reset_camera();
+#endif
+
+	platform_add_devices(smdk6410_devices, ARRAY_SIZE(smdk6410_devices));
+	s3c6410_pm_init();
+
+	smdk_backlight_register();
+	
+}
+
+MACHINE_START(SMDK6410, "SMDK6410")
+	/* Maintainer: Ben Dooks <ben@fluff.org> */
+	.phys_io	= S3C_PA_UART & 0xfff00000,
+	.io_pg_offst	= (((u32)S3C_VA_UART) >> 18) & 0xfffc,
+	.boot_params	= S3C64XX_PA_SDRAM + 0x100,
+
+	.init_irq	= s3c6410_init_irq,
+	.map_io		= smdk6410_map_io,
+	.init_machine	= smdk6410_machine_init,
+	.timer		= &s3c64xx_timer,
+MACHINE_END
+
+#ifdef CONFIG_USB_SUPPORT
+/* Initializes OTG Phy. */
+void otg_phy_init(void) {
+
+	writel(readl(S3C_OTHERS)|S3C_OTHERS_USB_SIG_MASK, S3C_OTHERS);
+	writel(0x0, S3C_USBOTG_PHYPWR);		/* Power up */
+        writel(OTGH_PHY_CLK_VALUE, S3C_USBOTG_PHYCLK);
+	writel(0x1, S3C_USBOTG_RSTCON);
+
+	udelay(50);
+	writel(0x0, S3C_USBOTG_RSTCON);
+	udelay(50);
+}
+EXPORT_SYMBOL(otg_phy_init);
+
+/* USB Control request data struct must be located here for DMA transfer */
+struct usb_ctrlrequest usb_ctrl __attribute__((aligned(8)));
+EXPORT_SYMBOL(usb_ctrl);
+
+/* OTG PHY Power Off */
+void otg_phy_off(void) {
+	writel(readl(S3C_USBOTG_PHYPWR)|(0x1F<<1), S3C_USBOTG_PHYPWR);
+	writel(readl(S3C_OTHERS)&~S3C_OTHERS_USB_SIG_MASK, S3C_OTHERS);
+}
+EXPORT_SYMBOL(otg_phy_off);
+
+void usb_host_clk_en(void) {
+	struct clk *otg_clk;
+
+        switch (S3C_USB_CLKSRC) {
+	case 0: /* epll clk */
+		writel((readl(S3C_CLK_SRC)& ~S3C6400_CLKSRC_UHOST_MASK)
+			|S3C_CLKSRC_EPLL_CLKSEL|S3C_CLKSRC_UHOST_EPLL,
+			S3C_CLK_SRC);
+
+		/* USB host colock divider ratio is 2 */
+		writel((readl(S3C_CLK_DIV1)& ~S3C6400_CLKDIV1_UHOST_MASK)
+			|(1<<20), S3C_CLK_DIV1);
+		break;
+	case 1: /* oscillator 48M clk */
+		otg_clk = clk_get(NULL, "otg");
+		clk_enable(otg_clk);
+		writel(readl(S3C_CLK_SRC)& ~S3C6400_CLKSRC_UHOST_MASK, S3C_CLK_SRC);
+		otg_phy_init();
+
+		/* USB host colock divider ratio is 1 */
+		writel(readl(S3C_CLK_DIV1)& ~S3C6400_CLKDIV1_UHOST_MASK, S3C_CLK_DIV1);
+		break;
+	default:
+		printk(KERN_INFO "Unknown USB Host Clock Source\n");
+		BUG();
+		break;
+	}
+
+	writel(readl(S3C_HCLK_GATE)|S3C_CLKCON_HCLK_UHOST|S3C_CLKCON_HCLK_SECUR,
+		S3C_HCLK_GATE);
+	writel(readl(S3C_SCLK_GATE)|S3C_CLKCON_SCLK_UHOST, S3C_SCLK_GATE);
+
+}
+
+EXPORT_SYMBOL(usb_host_clk_en);
+#endif
+
+#if defined(CONFIG_RTC_DRV_S3C)
+/* RTC common Function for samsung APs*/
+unsigned int s3c_rtc_set_bit_byte(void __iomem *base, uint offset, uint val)
+{
+	writeb(val, base + offset);
+
+	return 0;
+}
+
+unsigned int s3c_rtc_read_alarm_status(void __iomem *base)
+{
+	return 1;
+}
+
+void s3c_rtc_set_pie(void __iomem *base, uint to)
+{
+	unsigned int tmp;
+
+	tmp = readw(base + S3C2410_RTCCON) & ~S3C_RTCCON_TICEN;
+
+        if (to)
+                tmp |= S3C_RTCCON_TICEN;
+
+        writew(tmp, base + S3C2410_RTCCON);
+}
+
+void s3c_rtc_set_freq_regs(void __iomem *base, uint freq, uint s3c_freq)
+{
+	unsigned int tmp;
+
+        tmp = readw(base + S3C2410_RTCCON) & (S3C_RTCCON_TICEN | S3C2410_RTCCON_RTCEN );
+        writew(tmp, base + S3C2410_RTCCON);
+        s3c_freq = freq;
+        tmp = (32768 / freq)-1;
+        writel(tmp, base + S3C2410_TICNT);
+}
+
+void s3c_rtc_enable_set(struct platform_device *pdev,void __iomem *base, int en)
+{
+	unsigned int tmp;
+
+	if (!en) {
+		tmp = readw(base + S3C2410_RTCCON);
+		writew(tmp & ~ (S3C2410_RTCCON_RTCEN | S3C_RTCCON_TICEN), base + S3C2410_RTCCON);
+	} else {
+		/* re-enable the device, and check it is ok */
+		if ((readw(base+S3C2410_RTCCON) & S3C2410_RTCCON_RTCEN) == 0){
+			dev_info(&pdev->dev, "rtc disabled, re-enabling\n");
+
+			tmp = readw(base + S3C2410_RTCCON);
+			writew(tmp|S3C2410_RTCCON_RTCEN, base+S3C2410_RTCCON);
+		}
+
+		if ((readw(base + S3C2410_RTCCON) & S3C2410_RTCCON_CNTSEL)){
+			dev_info(&pdev->dev, "removing RTCCON_CNTSEL\n");
+
+			tmp = readw(base + S3C2410_RTCCON);
+			writew(tmp& ~S3C2410_RTCCON_CNTSEL, base+S3C2410_RTCCON);
+		}
+
+		if ((readw(base + S3C2410_RTCCON) & S3C2410_RTCCON_CLKRST)){
+			dev_info(&pdev->dev, "removing RTCCON_CLKRST\n");
+
+			tmp = readw(base + S3C2410_RTCCON);
+			writew(tmp & ~S3C2410_RTCCON_CLKRST, base+S3C2410_RTCCON);
+		}
+	}
+}
+#endif
+
+#if defined(CONFIG_KEYPAD_S3C) || defined (CONFIG_KEYPAD_S3C_MODULE)
+void s3c_setup_keypad_cfg_gpio(int rows, int columns)
+{
+	unsigned int gpio;
+	unsigned int end;
+}
+
+EXPORT_SYMBOL(s3c_setup_keypad_cfg_gpio);
+#endif
+
+#ifdef CONFIG_MMC_SDHCI_S3C
+void s3c_setup_hsmmc_clock(void)
+{
+	struct clk *clk;
+
+	clk = clk_get(NULL, "mmc_bus");
+}
+EXPORT_SYMBOL(s3c_setup_hsmmc_clock);
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6410/pm.c linux-2.6.28.6/arch/arm/mach-s3c6410/pm.c
--- linux-2.6.28/arch/arm/mach-s3c6410/pm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6410/pm.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,103 @@
+/* linux/arch/arm/mach-s3c6410/pm.c
+ *
+ * Copyright (c) 2006 Samsung Electronics
+ *
+ *
+ * S3C6410 (and compatible) Power Manager (Suspend-To-RAM) support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+#include <linux/init.h>
+#include <linux/suspend.h>
+#include <linux/errno.h>
+#include <linux/time.h>
+#include <linux/sysdev.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+
+#include <asm/mach-types.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/regs-clock.h>
+//#include <asm/plat-s3c/regs-rtc.h>
+#include <plat/cpu.h>
+#include <plat/pm.h>
+
+#ifdef CONFIG_S3C2410_PM_DEBUG
+extern void pm_dbg(const char *fmt, ...);
+#define DBG(fmt...) pm_dbg(fmt)
+#else
+#define DBG(fmt...) printk(KERN_DEBUG fmt)
+#endif
+
+//static void s3c6410_cpu_suspend(void)
+void s3c6410_cpu_suspend(void)
+{
+	unsigned long tmp;
+
+	/* issue the standby signal into the pm unit. Note, we
+	 * issue a write-buffer drain just in case */
+
+	tmp = 0;
+
+	asm("b 1f\n\t"
+	    ".align 5\n\t"
+	    "1:\n\t"
+	    "mcr p15, 0, %0, c7, c10, 5\n\t"
+	    "mcr p15, 0, %0, c7, c10, 4\n\t"
+	    "mcr p15, 0, %0, c7, c0, 4" :: "r" (tmp));
+
+	/* we should never get past here */
+
+	panic("sleep resumed to originator?");
+}
+
+static void s3c6410_pm_prepare(void)
+{
+
+}
+
+static int s3c6410_pm_add(struct sys_device *sysdev)
+{
+	pm_cpu_prep = s3c6410_pm_prepare;
+	pm_cpu_sleep = s3c6410_cpu_suspend;
+
+	return 0;
+}
+
+static struct sleep_save s3c6410_sleep[] = {
+
+};
+
+static int s3c6410_pm_resume(struct sys_device *dev)
+{
+	s3c6410_pm_do_restore(s3c6410_sleep, ARRAY_SIZE(s3c6410_sleep));
+	return 0;
+}
+
+static struct sysdev_driver s3c6410_pm_driver = {
+	.add		= s3c6410_pm_add,
+	.resume		= s3c6410_pm_resume,
+};
+
+static __init int s3c6410_pm_drvinit(void)
+{
+	return sysdev_driver_register(&s3c6410_sysclass, &s3c6410_pm_driver);
+}
+
+arch_initcall(s3c6410_pm_drvinit);
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s3c6410/setup-sdhci.c linux-2.6.28.6/arch/arm/mach-s3c6410/setup-sdhci.c
--- linux-2.6.28/arch/arm/mach-s3c6410/setup-sdhci.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s3c6410/setup-sdhci.c	2010-04-21 06:34:54.000000000 +0200
@@ -0,0 +1,119 @@
+/* linux/arch/arm/mach-s3c6410/setup-sdhci.c
+ *
+ * Copyright 2008 Simtec Electronics
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C6410 - Helper functions for settign up SDHCI device(s) (HSMMC)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/io.h>
+
+#include <linux/mmc/card.h>
+#include <linux/mmc/host.h>
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-sdhci.h>
+#include <plat/sdhci.h>
+
+/* clock sources for the mmc bus clock, order as for the ctrl2[5..4] */
+
+char *s3c6410_hsmmc_clksrcs[4] = {
+	[0] = "hsmmc",
+	[1] = "hsmmc",
+	[2] = "mmc_bus",
+	/* [3] = "48m", - note not succesfully used yet */
+};
+
+void s3c6410_setup_sdhci0_cfg_gpio(struct platform_device *dev, int width)
+{
+	unsigned int gpio;
+	unsigned int end;
+
+	end = S3C64XX_GPG(2 + width);
+
+	/* Set all the necessary GPG pins to special-function 0 */
+	for (gpio = S3C64XX_GPG(0); gpio < end; gpio++) {
+		s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(2));
+		s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+	}
+	s3c_gpio_setpull(S3C64XX_GPG(6), S3C_GPIO_PULL_UP);
+	s3c_gpio_cfgpin(S3C64XX_GPG(6), S3C_GPIO_SFN(2));
+}
+
+void s3c6410_setup_sdhci0_cfg_card(struct platform_device *dev,
+				    void __iomem *r,
+				    struct mmc_ios *ios,
+				    struct mmc_card *card)
+{
+	u32 ctrl2, ctrl3 = 0;
+
+	/* don't need to alter anything acording to card-type */
+
+	writel(S3C64XX_SDHCI_CONTROL4_DRIVE_9mA, r + S3C64XX_SDHCI_CONTROL4);
+
+	/* finally, we don't need to add delay values in HS-MMC interface.
+	 * all delay values are removed. by scsuh.
+	 */
+	ctrl2 = readl(r + S3C_SDHCI_CONTROL2);
+	ctrl2 &= S3C_SDHCI_CTRL2_SELBASECLK_MASK;
+	ctrl2 |= (S3C64XX_SDHCI_CTRL2_ENSTAASYNCCLR |
+		  S3C64XX_SDHCI_CTRL2_ENCMDCNFMSK |
+		  S3C_SDHCI_CTRL2_DFCNT_NONE |
+		  S3C_SDHCI_CTRL2_ENCLKOUTHOLD);
+
+	writel(ctrl2, r + S3C_SDHCI_CONTROL2);
+	writel(ctrl3, r + S3C_SDHCI_CONTROL3);
+}
+
+void s3c6410_setup_sdhci1_cfg_gpio(struct platform_device *dev, int width)
+{
+	unsigned int gpio;
+	unsigned int end;
+
+	end = S3C64XX_GPH(2 + width);
+
+	/* Set all the necessary GPG pins to special-function 0 */
+	for (gpio = S3C64XX_GPH(0); gpio < end; gpio++) {
+		s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(2));
+		s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+	}
+
+	s3c_gpio_setpull(S3C64XX_GPN(6), S3C_GPIO_PULL_UP);
+	s3c_gpio_cfgpin(S3C64XX_GPN(6), S3C_GPIO_SFN(3));
+
+
+}
+
+void s3c6410_setup_sdhci2_cfg_gpio(struct platform_device *dev, int width)
+{
+	unsigned int gpio;
+	unsigned int end;
+
+	/* CMD */
+	s3c_gpio_cfgpin(S3C64XX_GPC(4), S3C_GPIO_SFN(3));
+	s3c_gpio_setpull(S3C64XX_GPC(4), S3C_GPIO_PULL_NONE);
+
+	/* CLK */
+	s3c_gpio_cfgpin(S3C64XX_GPC(5), S3C_GPIO_SFN(3));
+	s3c_gpio_setpull(S3C64XX_GPC(5), S3C_GPIO_PULL_NONE);
+
+	end = S3C64XX_GPH(6+width);
+
+	/* Set all the necessary GPG pins to special-function 0 */
+	for (gpio = S3C64XX_GPH(6); gpio < end; gpio++) {
+		s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(3));
+		s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+	}
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/Kconfig linux-2.6.28.6/arch/arm/mach-s5p6440/Kconfig
--- linux-2.6.28/arch/arm/mach-s5p6440/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,70 @@
+# arch/arm/mach-s5p6440/Kconfig
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
+
+# Configuration options for the S5P6440 CPU
+
+config CPU_S5P6440
+	bool
+	select CPU_S5P6440_INIT
+	select CPU_S5P6440_CLOCK
+	help
+	  Enable S5P6440 CPU support
+
+config S5P6440_SETUP_SDHCI
+	bool
+	help
+	  Internal helper functions for S5P6440 based SDHCI systems
+
+config MACH_SMDK6440
+	bool "SMDK6440"
+	select CPU_S5P6440
+	select S3C_DEV_HSMMC
+	select S3C_DEV_HSMMC1
+        select S3C_DEV_HSMMC2
+	select S3C_DEV_I2C1
+	select S5P6440_SETUP_SDHCI
+	select S5P64XX_SETUP_I2C1
+	select S3C_DMA_PL330
+	help
+	  Machine support for the Samsung SMDK6440
+
+# At least some of the SMDK6440s were shipped with the card detect
+# for the MMC/SD slots connected to the same input. This means that
+# either the boards need to be altered to have channel0 to an alternate
+# configuration or that only one slot can be used.
+
+menu "SMDK6440 MMC/SD slot setup"
+	depends on MACH_SMDK6440
+
+config SMDK6440_SD_CH0
+	bool "Use channel 0"
+	depends on MACH_SMDK6440
+	help
+          Select CON7 (channel 0) as the MMC/SD slot, as
+	  at least some SMDK6440 boards come with the
+	  resistors fitted so that the card detects for
+	  channels 0 and 1 are the same.
+       
+config SMDK6440_SD_CH1
+	bool "Use channel 1"
+	depends on MACH_SMDK6440
+	help
+          Select CON6 (channel 1) as the MMC/SD slot, as
+	  at least some SMDK6440 boards come with the
+	  resistors fitted so that the card detects for
+	  channels 0 and 1 are the same.
+
+config SMDK6440_SD_CH2
+	bool "Use channel 2"
+	depends on MACH_SMDK6440
+	help
+          Select CON6 (channel 1) as the MMC/SD slot, as
+	  at least some SMDK6410 boards come with the
+	  resistors fitted so that the card detects for
+	  channels 0 and 1 are the same.
+
+endmenu
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/Makefile linux-2.6.28.6/arch/arm/mach-s5p6440/Makefile
--- linux-2.6.28/arch/arm/mach-s5p6440/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,26 @@
+# arch/arm/mach-s5p6440/Makefile
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
+
+obj-y				:=
+obj-m				:=
+obj-n				:=
+obj-				:=
+
+# Core support for S5P6440 system
+
+obj-$(CONFIG_CPU_S5P6440)	+= cpu.o
+obj-$(CONFIG_CPU_S5P6440)	+= dma.o
+
+# Helper and device support
+
+obj-$(CONFIG_S5P6440_SETUP_SDHCI)	+= setup-sdhci.o
+
+obj-$(CONFIG_PM)    += pm.o
+
+# machine support
+
+obj-$(CONFIG_MACH_SMDK6440)	+= mach-smdk6440.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/Makefile.boot linux-2.6.28.6/arch/arm/mach-s5p6440/Makefile.boot
--- linux-2.6.28/arch/arm/mach-s5p6440/Makefile.boot	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/Makefile.boot	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,2 @@
+   zreladdr-y	:= 0x20008000
+params_phys-y	:= 0x20000100
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/cpu.c linux-2.6.28.6/arch/arm/mach-s5p6440/cpu.c
--- linux-2.6.28/arch/arm/mach-s5p6440/cpu.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/cpu.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,132 @@
+/* linux/arch/arm/mach-s5p6440/cpu.c
+ *
+ * Copyright 2008 Simtec Electronics
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/timer.h>
+#include <linux/init.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+#include <linux/sysdev.h>
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+#include <asm/mach/irq.h>
+
+#include <asm/proc-fns.h>
+#include <mach/idle.h>
+
+#include <mach/hardware.h>
+#include <asm/irq.h>
+
+#include <plat/cpu-freq.h>
+#include <plat/regs-serial.h>
+#include <plat/regs-clock.h>
+
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/clock.h>
+#include <plat/sdhci.h>
+#include <plat/iic-core.h>
+#include <plat/s5p6440.h>
+#include <mach/map.h>
+
+/* Initial IO mappings */
+
+static struct map_desc s5p6440_iodesc[] __initdata = {
+	IODESC_ENT(LCD),
+	IODESC_ENT(SROMC),
+	IODESC_ENT(HOSTIFB),
+	IODESC_ENT(OTG),
+	IODESC_ENT(OTGSFR),
+};
+
+static void s5p6440_idle(void)
+{
+	unsigned long tmp;
+
+	/* Ensure our idle mode is to go to idle */
+	/* Set WFI instruction to SLEEP mode */
+
+	tmp = __raw_readl(S3C_PWR_CFG);
+	tmp &= ~(0x3<<5);
+	tmp |= (0x1<<5);
+	__raw_writel(tmp, S3C_PWR_CFG);
+
+	cpu_do_idle();
+}
+
+/* s5p6440_map_io
+ *
+ * register the standard cpu IO areas
+*/
+
+void __init s5p6440_map_io(void)
+{
+	iotable_init(s5p6440_iodesc, ARRAY_SIZE(s5p6440_iodesc));
+
+	/* initialise device information early */
+	s3c6410_default_sdhci0();
+	s3c6410_default_sdhci1();
+	s3c6410_default_sdhci2();
+
+	/* the i2c devices are directly compatible with s3c2440 */
+	s3c_i2c0_setname("s3c2440-i2c");
+	s3c_i2c1_setname("s3c2440-i2c");
+
+	/* set our idle function */
+	s5p64xx_idle = s5p6440_idle;
+}
+
+void __init s5p6440_init_clocks(int xtal)
+{
+	printk(KERN_DEBUG "%s: initialising clocks\n", __func__);
+	s3c24xx_register_baseclocks(xtal);
+	s5p64xx_register_clocks();
+	s5p6440_register_clocks();
+	s5p6440_setup_clocks();
+#ifdef CONFIG_HAVE_PWM
+	s3c24xx_pwmclk_init();
+#endif
+}
+
+void __init s5p6440_init_irq(void)
+{
+	/* VIC0 is missing IRQ7, VIC1 is fully populated. */
+	s5p64xx_init_irq(~0 & ~(1 << 7), ~0);
+}
+
+struct sysdev_class s5p6440_sysclass = {
+	.name	= "s5p6440-core",
+};
+
+static struct sys_device s5p6440_sysdev = {
+	.cls	= &s5p6440_sysclass,
+};
+
+static int __init s5p6440_core_init(void)
+{
+	return sysdev_class_register(&s5p6440_sysclass);
+}
+
+core_initcall(s5p6440_core_init);
+
+int __init s5p6440_init(void)
+{
+	printk("S5P6440: Initialising architecture\n");
+
+	return sysdev_register(&s5p6440_sysdev);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/dma.c linux-2.6.28.6/arch/arm/mach-s5p6440/dma.c
--- linux-2.6.28/arch/arm/mach-s5p6440/dma.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/dma.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,155 @@
+/* linux/arch/arm/mach-s5p6440/dma.c
+ *
+ * Copyright (c) 2003-2005,2006 Samsung Electronics
+ *
+ * S5P6440 DMA selection
+ *
+ * http://www.samsung.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/sysdev.h>
+#include <linux/serial_core.h>
+
+#include <asm/dma.h>
+#include <mach/dma.h>
+#include <asm/io.h>
+
+#include <plat/dma.h>
+#include <plat/cpu.h>
+
+
+/* DMAC */
+#define MAP0(x) { \
+		[0]	= (x) | DMA_CH_VALID,	\
+		[1]	= (x) | DMA_CH_VALID,	\
+		[2]	= (x) | DMA_CH_VALID,	\
+		[3]	= (x) | DMA_CH_VALID,	\
+		[4]	= (x) | DMA_CH_VALID,	\
+		[5]     = (x) | DMA_CH_VALID,	\
+		[6]	= (x) | DMA_CH_VALID,	\
+		[7]     = (x) | DMA_CH_VALID,	\
+	}
+
+
+/* DMA request sources  */
+#define S3C_DMA0_UART0CH0	0
+#define S3C_DMA0_UART0CH1	1
+#define S3C_DMA0_UART1CH0	2
+#define S3C_DMA0_UART1CH1	3
+#define S3C_DMA0_UART2CH0	4
+#define S3C_DMA0_UART2CH1	5
+#define S3C_DMA0_UART3CH0	6
+#define S3C_DMA0_UART3CH1	7
+#define S3C_DMA0_PCM0_TX	10
+#define S3C_DMA0_PCM0_RX	11
+#define S3C_DMA0_I2S0_TX	12
+#define S3C_DMA0_I2S0_RX	13
+#define S3C_DMA0_SPI0_TX	14
+#define S3C_DMA0_SPI0_RX	15
+#define S3C_DMA0_SPI1_TX	20
+#define S3C_DMA0_SPI1_RX	21
+#define S3C_DMA0_GPS		24
+#define S3C_DMA0_PWM		29
+#define S3C_DMA0_EXTERNAL	31
+
+#define S3C_DMA_M2M		0
+
+
+static struct s3c_dma_map __initdata s5p6440_dma_mappings[] = {
+
+	[DMACH_I2S_IN] = {
+		.name		= "i2s0-in",
+		.channels	= MAP0(S3C_DMA0_I2S0_RX),
+		.hw_addr.from	= S3C_DMA0_I2S0_RX,
+	},
+	[DMACH_I2S_OUT] = {
+		.name		= "i2s0-out",
+		.channels	= MAP0(S3C_DMA0_I2S0_TX),
+		.hw_addr.to	= S3C_DMA0_I2S0_TX,
+	},
+	[DMACH_SPI0_IN] = {
+		.name		= "spi0-in",
+		.channels	= MAP0(S3C_DMA0_SPI0_RX),
+		.hw_addr.from	= S3C_DMA0_SPI0_RX,
+	},
+	[DMACH_SPI0_OUT] = {
+		.name		= "spi0-out",
+		.channels	= MAP0(S3C_DMA0_SPI0_TX),
+		.hw_addr.to	= S3C_DMA0_SPI0_TX,
+	},
+	[DMACH_SPI1_IN] = {
+		.name		= "spi1-in",
+		.channels	= MAP0(S3C_DMA0_SPI1_RX),
+		.hw_addr.from	= S3C_DMA0_SPI1_RX,
+	},
+	[DMACH_SPI1_OUT] = {
+		.name		= "spi1-out",
+		.channels	= MAP0(S3C_DMA0_SPI1_TX),
+		.hw_addr.to	= S3C_DMA0_SPI1_TX,
+	},
+	[DMACH_AC97_PCM_OUT] = {
+		.name		= "ac97-pcm-out",
+		.channels	= MAP0(S3C_DMA0_PCM0_TX),
+		.hw_addr.to	= S3C_DMA0_PCM0_TX,
+	},
+	[DMACH_AC97_PCM_IN] = {
+		.name		= "ac97-pcm-in",
+		.channels	= MAP0(S3C_DMA0_PCM0_RX),
+		.hw_addr.from	= S3C_DMA0_PCM0_RX,
+	},
+	[DMACH_3D_M2M] = {
+		.name		= "3D-M2M",
+		.channels	= MAP0(S3C_DMA_M2M),
+		.hw_addr.from	= 0,
+	},
+        [DMACH_I2S_V40_IN] = {           
+		.name           = "i2s-v40-in", 
+		.channels       = MAP0(S3C_DMA0_I2S0_RX),
+		.hw_addr.from   = S3C_DMA0_I2S0_RX,     
+		.sdma_sel       = 1 << S3C_DMA0_I2S0_RX,
+	},                                                                               
+	[DMACH_I2S_V40_OUT] = {            
+		.name           = "i2s-v40-out", 
+		.channels       = MAP0(S3C_DMA0_I2S0_TX), 
+		.hw_addr.to     = S3C_DMA0_I2S0_TX,      
+		.sdma_sel       = 1 << S3C_DMA0_I2S0_TX,
+	}, 
+};
+
+static void s5p6440_dma_select(struct s3c2410_dma_chan *chan,
+			       struct s3c_dma_map *map)
+{
+	chan->map = map;
+}
+
+static struct s3c_dma_selection __initdata s5p6440_dma_sel = {
+	.select		= s5p6440_dma_select,
+	.dcon_mask	= 0,
+	.map		= s5p6440_dma_mappings,
+	.map_size	= ARRAY_SIZE(s5p6440_dma_mappings),
+};
+
+static int __init s5p6440_dma_add(struct sys_device *sysdev)
+{
+	s3c_dma_init(S3C_DMA_CHANNELS, IRQ_DMA0, 0x1000);
+	return s3c_dma_init_map(&s5p6440_dma_sel);
+}
+
+static struct sysdev_driver s5p6440_dma_driver = {
+	.add	= s5p6440_dma_add,
+};
+
+static int __init s5p6440_dma_init(void)
+{
+	return sysdev_driver_register(&s5p6440_sysclass, &s5p6440_dma_driver);
+}
+
+arch_initcall(s5p6440_dma_init);
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/debug-macro.S linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/debug-macro.S
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/debug-macro.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/debug-macro.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,39 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/debug-macro.S
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* pull in the relevant register and map files. */
+
+#include <mach/map.h>
+#include <plat/regs-serial.h>
+
+	/* note, for the boot process to work we have to keep the UART
+	 * virtual address aligned to an 1MiB boundary for the L1
+	 * mapping the head code makes. We keep the UART virtual address
+	 * aligned and add in the offset when we load the value here.
+	 */
+
+	.macro addruart, rx
+		mrc	p15, 0, \rx, c1, c0
+		tst	\rx, #1
+		ldreq	\rx, = S3C_PA_UART
+		ldrne	\rx, = (S3C_VA_UART + S3C_PA_UART & 0xfffff)
+#if CONFIG_DEBUG_S3C_UART != 0
+		add	\rx, \rx, #(0x400 * CONFIG_DEBUG_S3C_UART)
+#endif
+	.endm
+
+/* include the reset of the code which will do the work, we're only
+ * compiling for a single cpu processor type so the default of s3c2440
+ * will be fine with us.
+ */
+
+#include <plat/debug-macro.S>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/dma.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/dma.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/dma.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/dma.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,21 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/dma.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5P6440 - DMA support
+ */
+
+#ifndef __ASM_ARCH_DMA_H
+#define __ASM_ARCH_DMA_H __FILE__
+
+#include <mach/s3c-dma.h>
+
+#define S3C_DMA_CONTROLLERS        	(1)
+#define S3C_CHANNELS_PER_DMA       	(8)
+#define S3C_CANDIDATE_CHANNELS_PER_DMA  (32)
+#define S3C_DMA_CHANNELS		(S3C_DMA_CONTROLLERS*S3C_CHANNELS_PER_DMA)
+
+#endif /* __ASM_ARCH_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/entry-macro.S linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/entry-macro.S
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/entry-macro.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/entry-macro.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,44 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/entry-macro.S
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * Low-level IRQ helper macros for the Samsung S5P64XX series
+ *
+ * This file is licensed under  the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+*/
+
+#include <asm/hardware/vic.h>
+#include <mach/map.h>
+#include <plat/irqs.h>
+
+	.macro	disable_fiq
+	.endm
+
+	.macro	get_irqnr_preamble, base, tmp
+	ldr	\base, =S3C_VA_VIC0
+	.endm
+
+	.macro	arch_ret_to_user, tmp1, tmp2
+	.endm
+
+	.macro	get_irqnr_and_base, irqnr, irqstat, base, tmp
+
+	@ check the vic0
+	mov	\irqnr, # S3C_IRQ_OFFSET + 31
+	ldr	\irqstat, [ \base, # VIC_IRQ_STATUS ]
+	teq	\irqstat, #0
+
+	@ otherwise try vic1
+	addeq	\tmp, \base, #(S3C_VA_VIC1 - S3C_VA_VIC0)
+	addeq	\irqnr, \irqnr, #32
+	ldreq	\irqstat, [ \tmp, # VIC_IRQ_STATUS ]
+	teqeq	\irqstat, #0
+
+	clzne	\irqstat, \irqstat
+	subne	\irqnr, \irqnr, \irqstat
+	.endm
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/gpio-core.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/gpio-core.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/gpio-core.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/gpio-core.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,21 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/gpio-core.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5P64XX - GPIO core support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_GPIO_CORE_H
+#define __ASM_ARCH_GPIO_CORE_H __FILE__
+
+/* currently we just include the platform support */
+#include <plat/gpio-core.h>
+
+#endif /* __ASM_ARCH_GPIO_CORE_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/gpio.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/gpio.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/gpio.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/gpio.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,78 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/gpio.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C6400 - GPIO lib support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define gpio_get_value	__gpio_get_value
+#define gpio_set_value	__gpio_set_value
+#define gpio_cansleep	__gpio_cansleep
+#define gpio_to_irq	__gpio_to_irq
+
+/* GPIO bank sizes */
+#define S5P64XX_GPIO_A_NR	(6)
+#define S5P64XX_GPIO_B_NR	(7)
+#define S5P64XX_GPIO_C_NR	(8)
+#define S5P64XX_GPIO_F_NR	(16)
+#define S5P64XX_GPIO_G_NR	(7)
+#define S5P64XX_GPIO_H_NR	(10)
+#define S5P64XX_GPIO_I_NR	(16)
+#define S5P64XX_GPIO_J_NR	(12)
+#define S5P64XX_GPIO_N_NR	(16)
+#define S5P64XX_GPIO_P_NR	(11)
+#define S5P64XX_GPIO_R_NR	(15)
+
+/* GPIO bank numbes */
+
+/* CONFIG_S3C_GPIO_SPACE allows the user to select extra
+ * space for debugging purposes so that any accidental
+ * change from one gpio bank to another can be caught.
+*/
+
+#define S5P64XX_GPIO_NEXT(__gpio) \
+	((__gpio##_START) + (__gpio##_NR) + CONFIG_S3C_GPIO_SPACE + 1)
+
+enum s3c_gpio_number {
+	S5P64XX_GPIO_A_START = 0,
+	S5P64XX_GPIO_B_START = S5P64XX_GPIO_NEXT(S5P64XX_GPIO_A),
+	S5P64XX_GPIO_C_START = S5P64XX_GPIO_NEXT(S5P64XX_GPIO_B),
+	S5P64XX_GPIO_F_START = S5P64XX_GPIO_NEXT(S5P64XX_GPIO_C),
+	S5P64XX_GPIO_G_START = S5P64XX_GPIO_NEXT(S5P64XX_GPIO_F),
+	S5P64XX_GPIO_H_START = S5P64XX_GPIO_NEXT(S5P64XX_GPIO_G),
+	S5P64XX_GPIO_I_START = S5P64XX_GPIO_NEXT(S5P64XX_GPIO_H),
+	S5P64XX_GPIO_J_START = S5P64XX_GPIO_NEXT(S5P64XX_GPIO_I),
+	S5P64XX_GPIO_N_START = S5P64XX_GPIO_NEXT(S5P64XX_GPIO_J),
+	S5P64XX_GPIO_P_START = S5P64XX_GPIO_NEXT(S5P64XX_GPIO_N),
+	S5P64XX_GPIO_R_START = S5P64XX_GPIO_NEXT(S5P64XX_GPIO_P),
+};
+
+/* S5P64XX GPIO number definitions. */
+
+#define S5P64XX_GPA(_nr)	(S5P64XX_GPIO_A_START + (_nr))
+#define S5P64XX_GPB(_nr)	(S5P64XX_GPIO_B_START + (_nr))
+#define S5P64XX_GPC(_nr)	(S5P64XX_GPIO_C_START + (_nr))
+#define S5P64XX_GPF(_nr)	(S5P64XX_GPIO_F_START + (_nr))
+#define S5P64XX_GPG(_nr)	(S5P64XX_GPIO_G_START + (_nr))
+#define S5P64XX_GPH(_nr)	(S5P64XX_GPIO_H_START + (_nr))
+#define S5P64XX_GPI(_nr)	(S5P64XX_GPIO_I_START + (_nr))
+#define S5P64XX_GPJ(_nr)	(S5P64XX_GPIO_J_START + (_nr))
+#define S5P64XX_GPN(_nr)	(S5P64XX_GPIO_N_START + (_nr))
+#define S5P64XX_GPP(_nr)	(S5P64XX_GPIO_P_START + (_nr))
+#define S5P64XX_GPR(_nr)	(S5P64XX_GPIO_R_START + (_nr))
+
+/* the end of the S5P64XX specific gpios */
+#define S5P64XX_GPIO_END	(S5P64XX_GPR(S5P64XX_GPIO_R_NR) + 1)
+#define S3C_GPIO_END		S5P64XX_GPIO_END
+
+/* define the number of gpios we need to the one after the GPR() range */
+#define ARCH_NR_GPIOS	(S5P64XX_GPR(S5P64XX_GPIO_R_NR) + 1)
+
+#include <asm-generic/gpio.h>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/hardware.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/hardware.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/hardware.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/hardware.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,16 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/hardware.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C6400 - Hardware support
+ */
+
+#ifndef __ASM_ARCH_HARDWARE_H
+#define __ASM_ARCH_HARDWARE_H __FILE__
+
+/* currently nothing here, placeholder */
+
+#endif /* __ASM_ARCH_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/idle.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/idle.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/idle.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/idle.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,24 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/idle.h
+ *
+ * Copyright (c) 2004 Simtec Electronics <linux@simtec.co.uk>
+ *		http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C6400 CPU Idle controls
+*/
+
+#ifndef __ASM_ARCH_IDLE_H
+#define __ASM_ARCH_IDLE_H __FILE__
+
+/* This allows the over-ride of the default idle code, in case there
+ * is any other things to be done over idle (like DVS)
+*/
+
+extern void (*s5p64xx_idle)(void);
+
+extern void s5p64xx_default_idle(void);
+
+#endif /* __ASM_ARCH_IDLE_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/irqs.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/irqs.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/irqs.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/irqs.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,20 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/irqs.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C6400 - IRQ definitions
+ */
+
+#ifndef __ASM_ARCH_IRQS_H
+#define __ASM_ARCH_IRQS_H __FILE__
+
+#ifndef __ASM_ARM_IRQ_H
+#error "Do not include this directly, instead #include <asm/irq.h>"
+#endif
+
+#include <plat/irqs.h>
+
+#endif /* __ASM_ARCH_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/map.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/map.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/map.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/map.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,151 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/map.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S5P64XX - Memory map definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_MAP_H
+#define __ASM_ARCH_MAP_H __FILE__
+
+#include <plat/map-base.h>
+
+/* HSMMC units */
+#define S5P64XX_PA_HSMMC(x)	(0xED800000 + ((x) * 0x100000))
+#define S5P64XX_PA_HSMMC0	S5P64XX_PA_HSMMC(0)
+#define S5P64XX_PA_HSMMC1	S5P64XX_PA_HSMMC(1)
+#define S5P64XX_PA_HSMMC2	S5P64XX_PA_HSMMC(2)
+
+#define S3C_PA_UART		(0xEC005000)
+#define S3C_PA_UART0		(S3C_PA_UART + 0x00)
+#define S3C_PA_UART1		(S3C_PA_UART + 0x400)
+#define S3C_PA_UART2		(S3C_PA_UART + 0x800)
+#define S3C_PA_UART3		(S3C_PA_UART + 0xC00)
+#define S3C_UART_OFFSET		(0x400)
+
+/* See notes on UART VA mapping in debug-macro.S */
+#define S3C_VA_UARTx(x)		(S3C_VA_UART + (S3C_PA_UART & 0xfffff) + ((x) * S3C_UART_OFFSET))
+
+#define S3C_VA_UART0		S3C_VA_UARTx(0)
+#define S3C_VA_UART1		S3C_VA_UARTx(1)
+#define S3C_VA_UART2		S3C_VA_UARTx(2)
+#define S3C_VA_UART3		S3C_VA_UARTx(3)
+#define S3C_SZ_UART		SZ_256
+
+#define S5P64XX_PA_SYSCON	(0xE0100000)
+#define S5P64XX_PA_TIMER	(0xEA000000)
+#define S5P64XX_PA_IIC0		(0xEC104000)
+#define S5P64XX_PA_IIC1		(0xEC20F000)
+
+#define S5P64XX_PA_SPI0		(0xEC400000)
+#define S5P64XX_PA_SPI1		(0xEC500000)
+#define S5P64XX_SZ_SPI0		SZ_4K
+#define S5P64XX_SZ_SPI1		SZ_4K
+
+#define S5P64XX_PA_GPIO		(0xE0308000)
+#define S5P64XX_VA_GPIO		S3C_ADDR(0x00500000)
+#define S5P64XX_SZ_GPIO		SZ_4K
+
+#define S5P64XX_PA_SDRAM	(0x20000000)
+#define S5P64XX_PA_VIC0		(0xE4000000)
+#define S5P64XX_PA_VIC1		(0xE4100000)
+
+#define S5P64XX_VA_SROMC	S3C_VA_SROMC
+#define S5P64XX_PA_SROMC	(0xE7000000)
+#define S5P64XX_SZ_SROMC	SZ_1M
+
+#define S5P64XX_VA_LCD	   	S3C_VA_LCD
+#define S5P64XX_PA_LCD	   	(0xEE000000)
+#define S5P64XX_SZ_LCD		SZ_1M
+
+#define S5P64XX_PA_ADC		(0xF3000000)
+
+#define S5P64XX_PA_IIS_V40 	(0xF2000000)
+#define S3C_SZ_IIS		SZ_8K
+
+#define S5P64XX_PA_RTC	   	(0xEA100000)
+
+/* place VICs close together */
+#define S3C_VA_VIC0		(S3C_VA_IRQ + 0x00)
+#define S3C_VA_VIC1		(S3C_VA_IRQ + 0x10000)
+
+////////////////////////////////////////////////////
+//These are not changed to support for s5p6440
+
+/* DMA controller */
+#define S5P64XX_PA_DMA		(0xE9000000)
+
+#define S5P64XX_PA_SMC9115	(0x18000000)
+#define S5P64XX_SZ_SMC9115	SZ_512M
+
+#define S5P64XX_PA_IIS	   	(0xF2000000)
+/* Host I/F Indirect & Direct */
+#define S5P64XX_VA_HOSTIFA	S3C_ADDR(0x00B00000)
+#define S5P64XX_PA_HOSTIFA	(0x74000000)
+#define S5P64XX_SZ_HOSTIFA	SZ_1M
+
+#define S5P64XX_VA_HOSTIFB	S3C_ADDR(0x00C00000)
+#define S5P64XX_PA_HOSTIFB	(0x74100000)
+#define S5P64XX_SZ_HOSTIFB	SZ_1M
+
+///////////////////////////////////////////////////
+
+/* Watchdog */
+#define S5P64XX_PA_WATCHDOG 	(0xEA200000)
+#define S5P64XX_SZ_WATCHDOG 	SZ_4K
+
+/* NAND flash controller */
+#define S5P64XX_PA_NAND	   	(0xE7100000)
+#define S5P64XX_SZ_NAND	   	SZ_1M
+
+/* USB OTG */
+#define S5P64XX_VA_OTG		S3C_ADDR(0x03900000)
+#define S5P64XX_PA_OTG		(0xED100000)
+#define S5P64XX_SZ_OTG		SZ_1M
+
+/* USB OTG SFR */
+#define S5P64XX_VA_OTGSFR	S3C_ADDR(0x03a00000)
+#define S5P64XX_PA_OTGSFR	(0xED200000)
+#define S5P64XX_SZ_OTGSFR	SZ_1M
+
+/* Post Processor */
+#define S5P64XX_PA_POST		(0xEE100000)
+#define S5P64XX_SZ_POST		SZ_1M
+
+/* compatibiltiy defines. */
+#define S3C_PA_TIMER		S5P64XX_PA_TIMER
+#define S3C_PA_HSMMC0		S5P64XX_PA_HSMMC0
+#define S3C_PA_HSMMC1		S5P64XX_PA_HSMMC1
+#define S3C_PA_HSMMC2		S5P64XX_PA_HSMMC2
+#define S3C_SZ_HSMMC		SZ_4K
+
+#define S3C_PA_SPI0		S5P64XX_PA_SPI0
+#define S3C_PA_SPI1		S5P64XX_PA_SPI1
+#define S3C_SZ_SPI0		S5P64XX_SZ_SPI0
+#define S3C_SZ_SPI1		S5P64XX_SZ_SPI1
+
+#define S3C_PA_IIC		S5P64XX_PA_IIC0
+#define S3C_PA_IIC1		S5P64XX_PA_IIC1
+
+#define S3C_PA_RTC		S5P64XX_PA_RTC
+
+#define S3C_PA_IIS		S5P64XX_PA_IIS
+#define S3C_PA_ADC		S5P64XX_PA_ADC
+#define S3C_PA_DMA		S5P64XX_PA_DMA
+
+#define S3C_VA_OTG		S5P64XX_VA_OTG
+#define S3C_PA_OTG		S5P64XX_PA_OTG
+#define S3C_SZ_OTG		S5P64XX_SZ_OTG
+
+#define S3C_VA_OTGSFR		S5P64XX_VA_OTGSFR
+#define S3C_PA_OTGSFR		S5P64XX_PA_OTGSFR
+#define S3C_SZ_OTGSFR		S5P64XX_SZ_OTGSFR
+
+#endif /* __ASM_ARCH_6440_MAP_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/memory.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/memory.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/memory.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/memory.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,23 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/memory.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_MEMORY_H
+#define __ASM_ARCH_MEMORY_H
+
+
+#define PHYS_OFFSET     	UL(0x20000000)
+#define CONSISTENT_DMA_SIZE	SZ_8M
+
+#define __virt_to_bus(x) __virt_to_phys(x)
+#define __bus_to_virt(x) __phys_to_virt(x)
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/regs-irq.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/regs-irq.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/regs-irq.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/regs-irq.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,69 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/regs-irq.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S5P64XX - IRQ register definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_REGS_IRQ_H
+#define __ASM_ARCH_REGS_IRQ_H __FILE__
+
+#include <asm/hardware/vic.h>
+#include <mach/map.h>
+/* interrupt controller */
+#define S3C_VIC0REG(x)          ((x) + S3C_VA_VIC0)
+#define S3C_VIC1REG(x)          ((x) + S3C_VA_VIC1)
+
+#define S5P64XX_VIC0IRQSTATUS       S3C_VIC0REG(0x000)
+#define S5P64XX_VIC1IRQSTATUS       S3C_VIC1REG(0x000)
+
+#define S5P64XX_VIC0FIQSTATUS       S3C_VIC0REG(0x004)
+#define S5P64XX_VIC1FIQSTATUS       S3C_VIC1REG(0x004)
+
+#define S5P64XX_VIC0RAWINTR         S3C_VIC0REG(0x008)
+#define S5P64XX_VIC1RAWINTR         S3C_VIC1REG(0x008)
+
+#define S5P64XX_VIC0INTSELECT       S3C_VIC0REG(0x00C)
+#define S5P64XX_VIC1INTSELECT       S3C_VIC1REG(0x00C)
+
+#define S5P64XX_VIC0INTENABLE       S3C_VIC0REG(0x010)
+#define S5P64XX_VIC1INTENABLE       S3C_VIC1REG(0x010)
+
+#define S5P64XX_VIC0INTENCLEAR      S3C_VIC0REG(0x014)
+#define S5P64XX_VIC1INTENCLEAR      S3C_VIC1REG(0x014)
+
+#define S5P64XX_VIC0SOFTINT         S3C_VIC0REG(0x018)
+#define S5P64XX_VIC1SOFTINT         S3C_VIC1REG(0x018)
+
+#define S5P64XX_VIC0SOFTINTCLEAR    S3C_VIC0REG(0x01C)
+#define S5P64XX_VIC1SOFTINTCLEAR    S3C_VIC1REG(0x01C)
+
+#define S5P64XX_VIC0PROTECTION      S3C_VIC0REG(0x020)
+#define S5P64XX_VIC1PROTECTION      S3C_VIC1REG(0x020)
+
+#define S5P64XX_VIC0SWPRIORITYMASK  S3C_VIC0REG(0x024)
+#define S5P64XX_VIC1SWPRIORITYMASK  S3C_VIC1REG(0x024)
+
+#define S5P64XX_VIC0PRIORITYDAISY   S3C_VIC0REG(0x028)
+#define S5P64XX_VIC1PRIORITYDAISY   S3C_VIC1REG(0x028)
+
+#define S5P64XX_VIC0VECTADDR0       S3C_VIC0REG(0x100)
+#define S5P64XX_VIC1VECTADDR0       S3C_VIC1REG(0x100)
+
+#define S5P64XX_VIC0VECTADDR1       S3C_VIC0REG(0x104)
+#define S5P64XX_VIC1VECTADDR1       S3C_VIC1REG(0x104)
+
+#define S5P64XX_VIC0VECTADDR2       S3C_VIC0REG(0x108)
+#define S5P64XX_VIC1VECTADDR2       S3C_VIC1REG(0x108)
+
+#define S5P64XX_VIC0ADDRESS         S3C_VIC0REG(0xF00)
+#define S5P64XX_VIC1ADDRESS         S3C_VIC1REG(0xF00)
+
+#endif /* __ASM_ARCH_6400_REGS_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/regs-mem.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/regs-mem.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/regs-mem.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/regs-mem.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,70 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/regs-mem.h
+ *
+ * Copyright (c) 2004 Simtec Electronics <linux@simtec.co.uk>
+ *		http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C2410 Memory Control register definitions
+*/
+
+#ifndef __ASM_ARM_MEMREGS_H
+#define __ASM_ARM_MEMREGS_H
+
+#ifndef S5P64XX_MEMREG
+#define S5P64XX_MEMREG(x) (S5P64XX_VA_SROMC + (x))
+#endif
+
+
+/* Bank Idle Cycle Control Registers 0-5 */
+#define S5P64XX_SROM_BW		S5P64XX_MEMREG(0x00)
+
+#define S5P64XX_SROM_BC0	S5P64XX_MEMREG(0x04)
+#define S5P64XX_SROM_BC1	S5P64XX_MEMREG(0x08)
+#define S5P64XX_SROM_BC2	S5P64XX_MEMREG(0x0C)
+#define S5P64XX_SROM_BC3	S5P64XX_MEMREG(0x10)
+#define S5P64XX_SROM_BC4	S5P64XX_MEMREG(0x14)
+#define S5P64XX_SROM_BC5	S5P64XX_MEMREG(0x18)
+
+/* SROM BW */
+#define S5P64XX_SROM_BW_DATA_WIDTH0_8BIT	(0 << 0)
+#define S5P64XX_SROM_BW_DATA_WIDTH0_16BIT	(1 << 0)
+#define S5P64XX_SROM_BW_DATA_WIDTH0_MASK	(1 << 0)
+
+#define S5P64XX_SROM_BW_WAIT_ENABLE0_DISABLE	(0 << 2)
+#define S5P64XX_SROM_BW_WAIT_ENABLE0_ENABLE	(1 << 2)
+#define S5P64XX_SROM_BW_WAIT_ENABLE0_MASK	(1 << 2)
+
+#define S5P64XX_SROM_BW_BYTE_ENABLE0_DISABLE	(0 << 3)
+#define S5P64XX_SROM_BW_BYTE_ENABLE0_ENABLE	(1 << 3)
+#define S5P64XX_SROM_BW_BYTE_ENABLE0_MASK	(1 << 3)
+
+#define S5P64XX_SROM_BW_DATA_WIDTH1_8BIT	(0 << 4)
+#define S5P64XX_SROM_BW_DATA_WIDTH1_16BIT	(1 << 4)
+#define S5P64XX_SROM_BW_DATA_WIDTH1_MASK	(1 << 4)
+
+#define S5P64XX_SROM_BW_WAIT_ENABLE1_DISABLE	(0 << 6)
+#define S5P64XX_SROM_BW_WAIT_ENABLE1_ENABLE	(1 << 6)
+#define S5P64XX_SROM_BW_WAIT_ENABLE1_MASK	(1 << 6)
+
+#define S5P64XX_SROM_BW_BYTE_ENABLE1_DISABLE	(0 << 7)
+#define S5P64XX_SROM_BW_BYTE_ENABLE1_ENABLE	(1 << 7)
+#define S5P64XX_SROM_BW_BYTE_ENABLE1_MASK	(1 << 7)
+
+#define S5P64XX_SROM_BW_DATA_WIDTH2_8BIT	(0 << 8)
+#define S5P64XX_SROM_BW_DATA_WIDTH2_16BIT	(1 << 8)
+#define S5P64XX_SROM_BW_DATA_WIDTH2_MASK	(1 << 8)
+
+/* SROM BCn */
+#define S5P64XX_SROM_BCn_TACS(x)		(x << 28)
+#define S5P64XX_SROM_BCn_TCOS(x)		(x << 24)
+#define S5P64XX_SROM_BCn_TACC(x)		(x << 16)
+#define S5P64XX_SROM_BCn_TCOH(x)		(x << 12)
+#define S5P64XX_SROM_BCn_TCAH(x)		(x << 8)
+#define S5P64XX_SROM_BCn_TACP(x)		(x << 4)
+#define S5P64XX_SROM_BCn_PMC_NORMAL		(0 << 0)
+#define S5P64XX_SROM_BCn_PMC_4			(1 << 0)
+
+#endif /* __ASM_ARM_MEMREGS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/system.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/system.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/system.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/system.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,47 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/system.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C6400 - system implementation
+ */
+
+#ifndef __ASM_ARCH_SYSTEM_H
+#define __ASM_ARCH_SYSTEM_H __FILE__
+
+#include <linux/io.h>
+#include <mach/map.h>
+#include <plat/regs-watchdog.h>
+
+void (*s5p64xx_idle)(void);
+void (*s5p64xx_reset_hook)(void);
+
+void s5p64xx_default_idle(void)
+{
+	/* nothing here yet */
+}
+	
+static void arch_idle(void)
+{
+	if (s5p64xx_idle != NULL)
+		(s5p64xx_idle)();
+	else
+		s5p64xx_default_idle();
+}
+
+static void arch_reset(char mode)
+{
+	void __iomem	*wdt_reg;
+
+	wdt_reg = ioremap(S5P64XX_PA_WATCHDOG,S5P64XX_SZ_WATCHDOG);
+
+	/* nothing here yet */
+
+	writel(S3C2410_WTCNT_CNT, wdt_reg + S3C2410_WTCNT_OFFSET);	/* Watchdog Count Register*/
+	writel(S3C2410_WTCNT_CON, wdt_reg + S3C2410_WTCON_OFFSET);	/* Watchdog Controller Register*/
+	writel(S3C2410_WTCNT_DAT, wdt_reg + S3C2410_WTDAT_OFFSET);	/* Watchdog Data Register*/
+}
+
+#endif /* __ASM_ARCH_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/tick.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/tick.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/tick.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/tick.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,29 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/tick.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S5P64XX - Timer tick support definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_TICK_H
+#define __ASM_ARCH_TICK_H __FILE__
+
+/* note, the timer interrutps turn up in 2 places, the vic and then
+ * the timer block. We take the VIC as the base at the moment.
+ */
+static inline u32 s3c24xx_ostimer_pending(void)
+{
+	u32 pend = __raw_readl(S3C_VA_VIC0 + VIC_RAW_STATUS);
+	return pend & 1 << (IRQ_TIMER4_VIC - S5P64XX_IRQ_VIC0(0));
+}
+
+#define TICK_MAX	(0xffffffff)
+
+#endif /* __ASM_ARCH_6400_TICK_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/include/mach/uncompress.h linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/uncompress.h
--- linux-2.6.28/arch/arm/mach-s5p6440/include/mach/uncompress.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/include/mach/uncompress.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,26 @@
+/* linux/arch/arm/mach-s5p6440/include/mach/uncompress.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C6400 - uncompress code
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_UNCOMPRESS_H
+#define __ASM_ARCH_UNCOMPRESS_H
+
+#include <mach/map.h>
+#include <plat/uncompress.h>
+
+static void arch_detect_cpu(void)
+{
+	/* we do not need to do any cpu detection here at the moment. */
+}
+
+#endif /* __ASM_ARCH_UNCOMPRESS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/mach-smdk6440.c linux-2.6.28.6/arch/arm/mach-s5p6440/mach-smdk6440.c
--- linux-2.6.28/arch/arm/mach-s5p6440/mach-smdk6440.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/mach-smdk6440.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,432 @@
+/* linux/arch/arm/mach-s5p6440/mach-smdk6440.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/timer.h>
+#include <linux/delay.h>
+#include <linux/init.h>
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+#include <linux/io.h>
+#include <linux/i2c.h>
+#include <linux/mtd/nand.h>
+#include <linux/mtd/partitions.h>
+#include <linux/mtd/partitions.h>
+#include <linux/module.h>
+#include <linux/clk.h>
+#include <linux/pwm_backlight.h>
+#include <linux/spi/spi.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+#include <asm/mach/irq.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+#include <mach/regs-mem.h>
+
+#include <asm/irq.h>
+#include <asm/mach-types.h>
+
+#include <plat/regs-serial.h>
+#include <plat/iic.h>
+
+#include <plat/nand.h>
+#include <plat/partition.h>
+#include <plat/s5p6440.h>
+#include <plat/clock.h>
+#include <plat/regs-clock.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+#include <plat/ts.h>
+#include <plat/adc.h>
+#include <plat/pm.h>
+
+#include <plat/regs-rtc.h>
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+
+#ifdef CONFIG_USB_SUPPORT
+#include <plat/regs-otg.h>
+#include <linux/usb/ch9.h>
+
+/* S3C_USB_CLKSRC 0: EPLL 1: CLK_48M */
+#define S3C_USB_CLKSRC	1
+#define OTGH_PHY_CLK_VALUE      (0x02)  /* UTMI Interface, Cristal, 12Mhz clk for PLL */
+#endif
+
+#define UCON S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK
+#define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
+#define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE
+
+//static struct samspi_device spidev_b0_cs0;
+#if 0
+static struct samspi_device ProtocolADriver_b1_cs0;
+static struct samspi_device spidev_b0_cs1;
+static struct samspi_device ProtocolBDriver_b1_cs1;
+static struct samspi_device spidev_b1_cs2;
+#endif
+
+static struct spi_board_info __initdata sam_spi_devs[] = {
+	[0] = {
+		.modalias	 = "spidev", /* Test Interface */
+		.mode		 = SPI_MODE_2,	/* CPOL=1, CPHA=0 */
+		.max_speed_hz	 = 2468013,
+		/* Connected to SPI-0 as 1st Slave */
+		.bus_num	 = 0,
+		.irq		 = IRQ_SPI0,
+		.chip_select	 = 0,
+//		.controller_data = (void *)&spidev_b0_cs0,
+#if 0
+	}, {
+		.modalias	= "ProtocolADriver",
+		.mode		= SPI_MODE_2,
+		.max_speed_hz	= 1357923,
+		/* Connected to SPI-1 as 1st Slave */
+		.bus_num	= 1,
+		.irq		= IRQ_SPI1,
+		.chip_select	= 0,
+		.controller_data = (void *)&ProtocolADriver_b1_cs0,
+	}, {
+		.modalias	= "spidev",
+		.mode		= SPI_MODE_2,
+		.max_speed_hz	= 2357923,
+		/* Connected to SPI-0 as 2nd Slave */
+		.bus_num	= 0,
+		.irq		= IRQ_SPI0,
+		.chip_select	= 1,
+		.controller_data = (void *)&spidev_b0_cs1,
+	}, {
+		.modalias	= "ProtocolBDriver",
+		.mode		= SPI_MODE_2,
+		.max_speed_hz	= 3357923,
+		/* Connected to SPI-1 as 2ndst Slave */
+		.bus_num	= 1,
+		.irq		= IRQ_SPI1,
+		.chip_select	= 1,
+		.controller_data = (void *)&ProtocolBDriver_b1_cs1,
+	}, {
+		.modalias	= "spidev",
+		.mode		= SPI_MODE_2,
+		.max_speed_hz	= 4357923,
+		/* Connected to SPI-1 as 3rd Slave */
+		.bus_num	= 1,
+		.irq		= IRQ_SPI1,
+		.chip_select	= 2,
+		.controller_data = (void *)&spidev_b1_cs2,
+#endif
+	},
+};
+
+static struct s3c2410_uartcfg smdk6440_uartcfgs[] __initdata = {
+	[0] = {
+		.hwport	     = 0,
+		.flags	     = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+	},
+	[1] = {
+		.hwport	     = 1,
+		.flags	     = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+	},
+	[2] = {
+		.hwport	     = 2,
+		.flags	     = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+	},
+	[3] = {
+		.hwport	     = 3,
+		.flags	     = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+	},	
+};
+
+struct map_desc smdk6440_iodesc[] = {};
+
+static struct platform_device *smdk6440_devices[] __initdata = {
+#ifdef CONFIG_SMDK6440_SD_CH0
+	&s3c_device_hsmmc0,
+#endif
+#ifdef CONFIG_SMDK6440_SD_CH1
+	&s3c_device_hsmmc1,
+#endif
+#ifdef CONFIG_SMDK6440_SD_CH2
+	&s3c_device_hsmmc2,
+#endif
+	&s3c_device_wdt,
+	&s3c_device_rtc,
+	&s3c_device_i2c0,
+	&s3c_device_i2c1,
+	&s3c_device_spi0,
+	&s3c_device_spi1,
+	&s3c_device_ts,
+	&s3c_device_smc911x,
+	&s3c_device_lcd,
+	&s3c_device_nand,
+	&s3c_device_usbgadget,
+	&s3c_device_usb_otghcd,
+
+#ifdef CONFIG_S5P64XX_ADC
+	&s3c_device_adc,
+#endif
+
+#ifdef CONFIG_HAVE_PWM
+	&s3c_device_timer[0],
+	&s3c_device_timer[1],
+#endif
+};
+
+static struct i2c_board_info i2c_devs0[] __initdata = {
+	{ I2C_BOARD_INFO("24c08", 0x50), },
+	//{ I2C_BOARD_INFO("WM8580", 0x10), },
+};
+
+static struct i2c_board_info i2c_devs1[] __initdata = {
+	{ I2C_BOARD_INFO("24c128", 0x57), },	/* Samsung S524AD0XD1 */
+	{ I2C_BOARD_INFO("WM8580", 0x1a), },
+	//{ I2C_BOARD_INFO("WM8580", 0x1b), },
+};
+
+
+static struct s3c_ts_mach_info s3c_ts_platform __initdata = {
+	.delay 			= 10000,
+	.presc 			= 49,
+	.oversampling_shift	= 2,
+	.resol_bit 		= 12,
+	.s3c_adc_con		= ADC_TYPE_2,
+};
+
+static struct s3c_adc_mach_info s3c_adc_platform = {
+	/* s3c6410 support 12-bit resolution */
+	.delay	= 	10000,
+	.presc 	= 	49,
+	.resolution = 	12,
+};
+
+#if defined(CONFIG_HAVE_PWM)
+static struct platform_pwm_backlight_data smdk_backlight_data = {
+	.pwm_id		= 1,
+	.max_brightness	= 255,
+	.dft_brightness	= 255,
+	.pwm_period_ns	= 78770,
+};
+
+static struct platform_device smdk_backlight_device = {
+	.name		= "pwm-backlight",
+	.dev		= {
+		.parent = &s3c_device_timer[1].dev,
+		.platform_data = &smdk_backlight_data,
+	},
+};
+
+static void __init smdk_backlight_register(void)
+{
+	int ret = platform_device_register(&smdk_backlight_device);
+	if (ret)
+		printk(KERN_ERR "smdk: failed to register backlight device: %d\n", ret);
+}
+#else
+#define smdk_backlight_register()	do { } while (0)
+#endif
+
+void smdk6440_setup_sdhci0 (void);
+
+static void __init smdk6440_map_io(void)
+{
+	s3c_device_nand.name = "s5p6440-nand";
+
+	s5p64xx_init_io(smdk6440_iodesc, ARRAY_SIZE(smdk6440_iodesc));
+	s3c24xx_init_clocks(12000000);
+	s3c24xx_init_uarts(smdk6440_uartcfgs, ARRAY_SIZE(smdk6440_uartcfgs));
+
+	smdk6440_setup_sdhci0();
+}
+
+static void __init smdk6440_smc911x_set(void)
+{
+	unsigned int tmp;
+
+	tmp = __raw_readl(S5P64XX_SROM_BW);
+	tmp &= ~(S5P64XX_SROM_BW_WAIT_ENABLE1_MASK | S5P64XX_SROM_BW_WAIT_ENABLE1_MASK |
+		S5P64XX_SROM_BW_DATA_WIDTH1_MASK);
+	tmp |= S5P64XX_SROM_BW_BYTE_ENABLE1_ENABLE | S5P64XX_SROM_BW_WAIT_ENABLE1_ENABLE |
+		S5P64XX_SROM_BW_DATA_WIDTH1_16BIT;
+
+	__raw_writel(tmp, S5P64XX_SROM_BW);
+
+	__raw_writel(S5P64XX_SROM_BCn_TACS(0) | S5P64XX_SROM_BCn_TCOS(4) |
+			S5P64XX_SROM_BCn_TACC(13) | S5P64XX_SROM_BCn_TCOH(1) |
+			S5P64XX_SROM_BCn_TCAH(4) | S5P64XX_SROM_BCn_TACP(6) |
+			S5P64XX_SROM_BCn_PMC_NORMAL, S5P64XX_SROM_BC1);
+}
+
+static void __init smdk6440_machine_init(void)
+{
+	s3c_device_nand.dev.platform_data = &s3c_nand_mtd_part_info;
+
+	smdk6440_smc911x_set();
+
+	s3c_i2c0_set_platdata(NULL);
+	s3c_i2c1_set_platdata(NULL);
+
+	s3c_ts_set_platdata(&s3c_ts_platform);
+	s3c_adc_set_platdata(&s3c_adc_platform);
+
+	i2c_register_board_info(0, i2c_devs0, ARRAY_SIZE(i2c_devs0));
+	i2c_register_board_info(1, i2c_devs1, ARRAY_SIZE(i2c_devs1));
+
+	spi_register_board_info(sam_spi_devs, ARRAY_SIZE(sam_spi_devs));
+
+	platform_add_devices(smdk6440_devices, ARRAY_SIZE(smdk6440_devices));
+
+	s5p6440_pm_init();
+
+	smdk_backlight_register();
+
+}
+
+MACHINE_START(SMDK6440, "SMDK6440")
+	/* Maintainer: Ben Dooks <ben@fluff.org> */
+	.phys_io	= S3C_PA_UART & 0xfff00000,
+	.io_pg_offst	= (((u32)S3C_VA_UART) >> 18) & 0xfffc,
+	.boot_params	= S5P64XX_PA_SDRAM + 0x100,
+
+	.init_irq	= s5p6440_init_irq,
+	.map_io		= smdk6440_map_io,
+	.init_machine	= smdk6440_machine_init,
+	.timer		= &s3c64xx_timer,
+MACHINE_END
+
+#ifdef CONFIG_USB_SUPPORT
+/* Initializes OTG Phy. */
+void otg_phy_init(void) {
+
+	int err;
+
+	if (gpio_is_valid(S5P64XX_GPN(1))) {
+		err = gpio_request(S5P64XX_GPN(1), "GPN");
+
+		if(err)
+			printk(KERN_ERR "failed to request GPN1\n");
+
+		gpio_direction_output(S5P64XX_GPN(1), 1);
+	}
+
+	writel(readl(S3C_OTHERS)&~S3C_OTHERS_USB_SIG_MASK, S3C_OTHERS);
+	writel(0x0, S3C_USBOTG_PHYPWR);		/* Power up */
+        writel(OTGH_PHY_CLK_VALUE, S3C_USBOTG_PHYCLK);
+	writel(0x1, S3C_USBOTG_RSTCON);
+
+	udelay(50);
+	writel(0x0, S3C_USBOTG_RSTCON);
+	udelay(50);
+}
+EXPORT_SYMBOL(otg_phy_init);
+
+/* USB Control request data struct must be located here for DMA transfer */
+struct usb_ctrlrequest usb_ctrl __attribute__((aligned(8)));
+EXPORT_SYMBOL(usb_ctrl);
+
+/* OTG PHY Power Off */
+void otg_phy_off(void) {
+	writel(readl(S3C_USBOTG_PHYPWR)|(0x1F<<1), S3C_USBOTG_PHYPWR);
+	writel(readl(S3C_OTHERS)&~S3C_OTHERS_USB_SIG_MASK, S3C_OTHERS);
+
+	gpio_free(S5P64XX_GPN(1));
+}
+EXPORT_SYMBOL(otg_phy_off);
+
+#endif
+
+#if defined(CONFIG_RTC_DRV_S3C)
+/* RTC common Function for samsung APs*/
+unsigned int s3c_rtc_set_bit_byte(void __iomem *base, uint offset, uint val)
+{
+	writeb(val, base + offset);
+
+	return 0;
+}
+
+unsigned int s3c_rtc_read_alarm_status(void __iomem *base)
+{
+	return 1;
+}
+
+void s3c_rtc_set_pie(void __iomem *base, uint to)
+{
+	unsigned int tmp;
+
+	tmp = readw(base + S3C2410_RTCCON) & ~S3C_RTCCON_TICEN;
+
+        if (to)
+                tmp |= S3C_RTCCON_TICEN;
+
+        writew(tmp, base + S3C2410_RTCCON);
+}
+
+void s3c_rtc_set_freq_regs(void __iomem *base, uint freq, uint s3c_freq)
+{
+	unsigned int tmp;
+
+        tmp = readw(base + S3C2410_RTCCON) & (S3C_RTCCON_TICEN | S3C2410_RTCCON_RTCEN );
+        writew(tmp, base + S3C2410_RTCCON);
+        s3c_freq = freq;
+        tmp = (32768 / freq)-1;
+        writel(tmp, base + S3C2410_TICNT);
+}
+
+void s3c_rtc_enable_set(struct platform_device *pdev,void __iomem *base, int en)
+{
+	unsigned int tmp;
+
+	if (!en) {
+		tmp = readw(base + S3C2410_RTCCON);
+		writew(tmp & ~ (S3C2410_RTCCON_RTCEN | S3C_RTCCON_TICEN), base + S3C2410_RTCCON);
+	} else {
+		/* re-enable the device, and check it is ok */
+		if ((readw(base+S3C2410_RTCCON) & S3C2410_RTCCON_RTCEN) == 0){
+			dev_info(&pdev->dev, "rtc disabled, re-enabling\n");
+
+			tmp = readw(base + S3C2410_RTCCON);
+			writew(tmp|S3C2410_RTCCON_RTCEN, base+S3C2410_RTCCON);
+		}
+
+		if ((readw(base + S3C2410_RTCCON) & S3C2410_RTCCON_CNTSEL)){
+			dev_info(&pdev->dev, "removing RTCCON_CNTSEL\n");
+
+			tmp = readw(base + S3C2410_RTCCON);
+			writew(tmp& ~S3C2410_RTCCON_CNTSEL, base+S3C2410_RTCCON);
+		}
+
+		if ((readw(base + S3C2410_RTCCON) & S3C2410_RTCCON_CLKRST)){
+			dev_info(&pdev->dev, "removing RTCCON_CLKRST\n");
+
+			tmp = readw(base + S3C2410_RTCCON);
+			writew(tmp & ~S3C2410_RTCCON_CLKRST, base+S3C2410_RTCCON);
+		}
+	}
+}
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/pm.c linux-2.6.28.6/arch/arm/mach-s5p6440/pm.c
--- linux-2.6.28/arch/arm/mach-s5p6440/pm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/pm.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,103 @@
+/* linux/arch/arm/mach-s5p6440/pm.c
+ *
+ * Copyright (c) 2006 Samsung Electronics
+ *
+ *
+ * S3C6410 (and compatible) Power Manager (Suspend-To-RAM) support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+#include <linux/init.h>
+#include <linux/suspend.h>
+#include <linux/errno.h>
+#include <linux/time.h>
+#include <linux/sysdev.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+
+#include <asm/mach-types.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/regs-clock.h>
+//#include <asm/plat-s3c/regs-rtc.h>
+#include <plat/cpu.h>
+#include <plat/pm.h>
+
+#ifdef CONFIG_S3C2410_PM_DEBUG
+extern void pm_dbg(const char *fmt, ...);
+#define DBG(fmt...) pm_dbg(fmt)
+#else
+#define DBG(fmt...) printk(KERN_DEBUG fmt)
+#endif
+
+//static void s5p6440_cpu_suspend(void)
+void s5p6440_cpu_suspend(void)
+{
+	unsigned long tmp;
+
+	/* issue the standby signal into the pm unit. Note, we
+	 * issue a write-buffer drain just in case */
+
+	tmp = 0;
+
+	asm("b 1f\n\t"
+	    ".align 5\n\t"
+	    "1:\n\t"
+	    "mcr p15, 0, %0, c7, c10, 5\n\t"
+	    "mcr p15, 0, %0, c7, c10, 4\n\t"
+	    "mcr p15, 0, %0, c7, c0, 4" :: "r" (tmp));
+
+	/* we should never get past here */
+
+	panic("sleep resumed to originator?");
+}
+
+static void s5p6440_pm_prepare(void)
+{
+
+}
+
+static int s5p6440_pm_add(struct sys_device *sysdev)
+{
+	pm_cpu_prep = s5p6440_pm_prepare;
+	pm_cpu_sleep = s5p6440_cpu_suspend;
+
+	return 0;
+}
+
+static struct sleep_save s5p6440_sleep[] = {
+
+};
+
+static int s5p6440_pm_resume(struct sys_device *dev)
+{
+	s5p6440_pm_do_restore(s5p6440_sleep, ARRAY_SIZE(s5p6440_sleep));
+	return 0;
+}
+
+static struct sysdev_driver s5p6440_pm_driver = {
+	.add		= s5p6440_pm_add,
+	.resume		= s5p6440_pm_resume,
+};
+
+static __init int s5p6440_pm_drvinit(void)
+{
+	return sysdev_driver_register(&s5p6440_sysclass, &s5p6440_pm_driver);
+}
+
+arch_initcall(s5p6440_pm_drvinit);
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5p6440/setup-sdhci.c linux-2.6.28.6/arch/arm/mach-s5p6440/setup-sdhci.c
--- linux-2.6.28/arch/arm/mach-s5p6440/setup-sdhci.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5p6440/setup-sdhci.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,160 @@
+/* linux/arch/arm/mach-s3c6410/setup-sdhci.c
+ *
+ * Copyright 2008 Simtec Electronics
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C6410 - Helper functions for settign up SDHCI device(s) (HSMMC)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/io.h>
+#include <linux/irq.h>
+
+#include <linux/mmc/card.h>
+#include <linux/mmc/host.h>
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#include <plat/regs-sdhci.h>
+#include <plat/sdhci.h>
+
+/* clock sources for the mmc bus clock, order as for the ctrl2[5..4] */
+
+char *s3c6410_hsmmc_clksrcs[4] = {
+	[0] = "hsmmc",
+	[1] = "hsmmc",
+	[2] = "mmc_bus",
+	/* [3] = "48m", - note not succesfully used yet */
+};
+
+void s3c6410_setup_sdhci0_cfg_gpio(struct platform_device *dev, int width)
+{
+	unsigned int gpio;
+	unsigned int end;
+
+	/* GPIO should be set on 4bit though 1-bit setting is comming. */
+	if (width == 1)
+		width = 4;
+	end = S5P64XX_GPG(2 + width);
+
+	/* Set all the necessary GPG pins to special-function 0 */
+	for (gpio = S5P64XX_GPG(0); gpio < end; gpio++) {
+		s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(2));
+		s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+	}
+
+#if 0
+	s3c_gpio_setpull(S5P64XX_GPG(6), S3C_GPIO_PULL_UP);
+	s3c_gpio_cfgpin(S5P64XX_GPG(6), S3C_GPIO_SFN(2));
+#endif
+}
+
+void s3c6410_setup_sdhci0_cfg_card(struct platform_device *dev,
+				    void __iomem *r,
+				    struct mmc_ios *ios,
+				    struct mmc_card *card)
+{
+	u32 ctrl2, ctrl3 = 0;
+
+	/* don't need to alter anything acording to card-type */
+
+	writel(S3C64XX_SDHCI_CONTROL4_DRIVE_9mA, r + S3C64XX_SDHCI_CONTROL4);
+
+	ctrl2 = readl(r + S3C_SDHCI_CONTROL2);
+	ctrl2 &= S3C_SDHCI_CTRL2_SELBASECLK_MASK;
+	ctrl2 |= (S3C64XX_SDHCI_CTRL2_ENSTAASYNCCLR |
+		  S3C64XX_SDHCI_CTRL2_ENCMDCNFMSK |
+		  S3C_SDHCI_CTRL2_ENFBCLKRX |
+		  S3C_SDHCI_CTRL2_DFCNT_NONE |
+		  S3C_SDHCI_CTRL2_ENCLKOUTHOLD);
+
+	writel(ctrl2, r + S3C_SDHCI_CONTROL2);
+	writel(ctrl3, r + S3C_SDHCI_CONTROL3);
+}
+
+void s3c6410_setup_sdhci1_cfg_gpio(struct platform_device *dev, int width)
+{
+	unsigned int gpio;
+	unsigned int end;
+
+	/* GPIO should be set on 4bit though 1-bit setting is comming. */
+	if (width == 1)
+		width = 4;
+	end = S5P64XX_GPH(2 + width);
+
+	/* Set all the necessary GPG pins to special-function 0 */
+	for (gpio = S5P64XX_GPH(0); gpio < end; gpio++) {
+		s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(2));
+		s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+	}
+
+	s3c_gpio_setpull(S5P64XX_GPG(6), S3C_GPIO_PULL_UP);
+	s3c_gpio_cfgpin(S5P64XX_GPG(6), S3C_GPIO_SFN(3));
+}
+
+void s3c6410_setup_sdhci2_cfg_gpio(struct platform_device *dev, int width)
+{
+	/* XXX: should be done later. */
+#if 0
+	unsigned int gpio;
+	unsigned int end;
+
+	/* GPIO should be set on 4bit though 1-bit setting is comming. */
+	if (width == 1)
+		width = 4;
+	end = S5P64XX_GPH(2 + width);
+
+	/* Set all the necessary GPG pins to special-function 0 */
+	for (gpio = S5P64XX_GPH(0); gpio < end; gpio++) {
+		s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(2));
+		s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+	}
+
+	s3c_gpio_setpull(S5P64XX_GPG(6), S3C_GPIO_PULL_UP);
+	s3c_gpio_cfgpin(S5P64XX_GPG(6), S3C_GPIO_SFN(3));
+#endif
+}
+
+static void setup_sdhci0_irq_cd (void)
+{
+	/* init GPIO as a ext irq */
+	s3c_gpio_cfgpin(S5P64XX_GPN(13), S3C_GPIO_SFN(2));
+	s3c_gpio_setpull(S5P64XX_GPN(13), S3C_GPIO_PULL_NONE);
+
+	set_irq_type(S3C_EINT(13), IRQ_TYPE_EDGE_BOTH);
+}
+
+static uint detect_sdhci0_irq_cd (void)
+{
+	uint detect;
+
+	detect = readl(S5P64XX_GPNDAT);
+	detect &= 0x2000;	/* GPN13 */
+
+	return (!detect);
+}
+
+static struct s3c_sdhci_platdata s3c_hsmmc0_platdata = {
+	.max_width	= 4,
+	.host_caps	= (MMC_CAP_4_BIT_DATA | MMC_CAP_MMC_HIGHSPEED |
+				MMC_CAP_SD_HIGHSPEED | MMC_CAP_BOOT_ONTHEFLY),
+	.cfg_ext_cd	= setup_sdhci0_irq_cd,
+	.detect_ext_cd	= detect_sdhci0_irq_cd,
+	.ext_cd		= S3C_EINT(13),
+};
+
+void smdk6440_setup_sdhci0 (void)
+{
+	s3c_sdhci0_set_platdata(&s3c_hsmmc0_platdata);
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/Kconfig linux-2.6.28.6/arch/arm/mach-s5pc100/Kconfig
--- linux-2.6.28/arch/arm/mach-s5pc100/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,33 @@
+# arch/arm/mach-s5pc100/Kconfig
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
+
+# Configuration options for the S5PC100 CPU
+
+config CPU_S5PC100
+	bool
+	select CPU_S5PC100_INIT
+	select CPU_S5PC100_CLOCK
+	help
+	  Enable S5PC100 CPU support
+
+config S5PC1XX_SETUP_SDHCI
+        bool
+        help
+          Internal helper functions for S5PC1XX based SDHCI systems
+
+config MACH_SMDKC100
+	bool "SMDKC100"
+	select CPU_S5PC100
+	select S3C_DMA_PL330
+	select S3C_DEV_I2C1
+        select S3C_DEV_HSMMC
+        select S3C_DEV_HSMMC1
+        select S5PC1XX_SETUP_SDHCI
+	select S3C64XX_SETUP_I2C1
+	help
+	  Machine support for the Samsung SMDKC100
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/Makefile linux-2.6.28.6/arch/arm/mach-s5pc100/Makefile
--- linux-2.6.28/arch/arm/mach-s5pc100/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,29 @@
+# arch/arm/mach-s5pc100/Makefile
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
+
+obj-y				:=
+led-y                           := leds.o
+obj-m				:=
+obj-n				:=
+obj-				:=
+
+# Core support for S5PC100 system
+
+obj-$(CONFIG_CPU_S5PC100)	+= cpu.o
+obj-$(CONFIG_CPU_S5PC100)	+= dma.o
+
+# Helper and device support
+obj-$(CONFIG_PM)    += pm.o
+obj-$(CONFIG_S5PC1XX_SETUP_SDHCI)       += setup-sdhci.o
+
+# machine support
+
+obj-$(CONFIG_MACH_SMDKC100)	+= mach-smdkc100.o
+
+# LEDs support
+led-$(CONFIG_MACH_SMDKC100)     += leds-s5pc100.o
+obj-$(CONFIG_LEDS)              += $(led-y)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/Makefile.boot linux-2.6.28.6/arch/arm/mach-s5pc100/Makefile.boot
--- linux-2.6.28/arch/arm/mach-s5pc100/Makefile.boot	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/Makefile.boot	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,2 @@
+   zreladdr-y	:= 0x20008000
+params_phys-y	:= 0x20000100
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/cpu.c linux-2.6.28.6/arch/arm/mach-s5pc100/cpu.c
--- linux-2.6.28/arch/arm/mach-s5pc100/cpu.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/cpu.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,166 @@
+/* linux/arch/arm/mach-s5pc100/cpu.c
+ *
+ * Copyright 2008 Samsung Electronics
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/timer.h>
+#include <linux/init.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+#include <linux/sysdev.h>
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+#include <asm/mach/irq.h>
+#include <asm/proc-fns.h>
+#include <asm/irq.h>
+
+#include <mach/hardware.h>
+#include <mach/idle.h>
+#include <mach/map.h>
+
+#include <plat/cpu-freq.h>
+#include <plat/regs-serial.h>
+
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/clock.h>
+#include <plat/sdhci.h>
+#include <plat/iic-core.h>
+#include <plat/s5pc100.h>
+
+#include <plat/regs-power.h>
+#include <plat/regs-clock.h>
+
+#undef T32_PROBE_DEBUGGING
+
+#if defined(T32_PROBE_DEBUGGING)
+#include <linux/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#endif
+
+/* Initial IO mappings */
+
+static struct map_desc s5pc100_iodesc[] __initdata = {
+	IODESC_ENT(LCD),
+	IODESC_ENT(SROMC),
+	IODESC_ENT(SYSTIMER),
+        IODESC_ENT(OTG),
+        IODESC_ENT(OTGSFR),
+        IODESC_ENT(SYSCON),
+        IODESC_ENT(GPIO),
+        IODESC_ENT(NAND),
+	//IODESC_ENT(HOSTIFB),
+};
+
+/* s5pc100_map_io
+ *
+ * register the standard cpu IO areas
+*/
+
+static void s5pc100_idle(void)
+{
+#if !defined(CONFIG_MMC_SDHCI_S3C) && !defined(CONFIG_MMC_SDHCI_MODULE)
+	unsigned int tmp;
+
+#if defined(T32_PROBE_DEBUGGING)
+/* debugging with T32  GPIO port GPD1 which is connected with 2 pin of J1 connector */
+	gpio_direction_output(S5PC1XX_GPD(1), 0);
+#endif
+/*
+ * 1. Set CFG_STANDBYWFI field of PWR_CFG to 2��b01.
+ * 2. Set PMU_INT_DISABLE bit of OTHERS register to 1��b1 to prevent interrupts from
+ *    occurring while entering IDLE mode.
+ * 3. Execute Wait For Interrupt instruction (WFI).
+*/
+	tmp = __raw_readl(S5P_PWR_CFG);
+	tmp &= S5P_CFG_WFI_CLEAN;
+	tmp |= S5P_CFG_WFI_IDLE;
+	__raw_writel(tmp, S5P_PWR_CFG);
+
+	cpu_do_idle();
+
+#if defined(T32_PROBE_DEBUGGING)
+	gpio_direction_output(S5PC1XX_GPD(1), 1);
+#endif
+#endif
+}
+
+void __init s5pc100_map_io(void)
+{
+	iotable_init(s5pc100_iodesc, ARRAY_SIZE(s5pc100_iodesc));
+
+        /* HS-MMC Platform data */
+
+        s3c6410_default_sdhci0();
+        s3c6410_default_sdhci1();
+
+	/* set s5pc100 idle function */
+
+	s5pc1xx_idle = s5pc100_idle;
+
+
+#if 0
+	/* the i2c devices are directly compatible with s3c2440 */
+	s3c_i2c0_setname("s3c2440-i2c");
+	s3c_i2c1_setname("s3c2440-i2c");
+#endif
+}
+
+void __init s5pc100_init_clocks(int xtal)
+{
+	printk(KERN_DEBUG "%s: initialising clocks\n", __func__);
+	s3c24xx_register_baseclocks(xtal);
+	s5pc1xx_register_clocks();
+	s5pc100_register_clocks();
+	s5pc100_setup_clocks();
+#if defined(CONFIG_TIMER_PWM)
+        s3c24xx_pwmclk_init();
+#endif
+}
+
+void __init s5pc100_init_irq(void)
+{
+	/* VIC0, VIC1, and VIC2 are fully populated. */
+	s5pc1xx_init_irq(~0, ~0, ~0);
+}
+
+struct sysdev_class s5pc100_sysclass = {
+	.name	= "s5pc100-core",
+};
+
+static struct sys_device s5pc100_sysdev = {
+	.cls	= &s5pc100_sysclass,
+};
+
+static int __init s5pc100_core_init(void)
+{
+	return sysdev_class_register(&s5pc100_sysclass);
+}
+
+core_initcall(s5pc100_core_init);
+
+int __init s5pc100_init(void)
+{
+	printk("S5PC100: Initialising architecture\n");
+
+#if defined (CONFIG_S3C_SIR)
+        s3c24xx_uart_src[3]->name = "s3c-irda";
+#endif
+
+	return sysdev_register(&s5pc100_sysdev);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/dma.c linux-2.6.28.6/arch/arm/mach-s5pc100/dma.c
--- linux-2.6.28/arch/arm/mach-s5pc100/dma.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/dma.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,306 @@
+/* linux/arch/arm/mach-s5pc100/dma.c
+ *
+ * Copyright (c) 2003-2008,2009 Samsung Electronics
+ *
+ * S5PC100 DMA selection
+ *
+ * http://www.samsung.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/sysdev.h>
+#include <linux/serial_core.h>
+
+#include <asm/dma.h>
+#include <mach/dma.h>
+#include <asm/io.h>
+
+#include <plat/dma.h>
+#include <plat/cpu.h>
+
+/* M2M DMAC */
+#define MAP0(x) { \
+		[0]	= (x) | DMA_CH_VALID,	\
+		[1]	= (x) | DMA_CH_VALID,	\
+		[2]	= (x) | DMA_CH_VALID,	\
+		[3]	= (x) | DMA_CH_VALID,	\
+		[4]	= (x) | DMA_CH_VALID,	\
+		[5]     = (x) | DMA_CH_VALID,	\
+		[6]	= (x) | DMA_CH_VALID,	\
+		[7]     = (x) | DMA_CH_VALID,	\
+		[8]	= (x),	\
+		[9]	= (x),	\
+		[10]	= (x),	\
+		[11]	= (x),	\
+		[12]	= (x),	\
+		[13]    = (x),	\
+		[14]	= (x),	\
+		[15]    = (x),	\
+		[16]	= (x),	\
+		[17]	= (x),	\
+		[18]	= (x),	\
+		[19]	= (x),	\
+		[20]	= (x),	\
+		[21]    = (x),	\
+		[22]	= (x),	\
+		[23]    = (x),	\
+	}
+
+/* Peri-DMAC 0 */
+#define MAP1(x) { \
+		[0]	= (x),	\
+		[1]	= (x),	\
+		[2]	= (x),	\
+		[3]	= (x),	\
+		[4]	= (x),	\
+		[5]     = (x),	\
+		[6]	= (x),	\
+		[7]     = (x),	\
+		[8]	= (x) | DMA_CH_VALID,	\
+		[9]	= (x) | DMA_CH_VALID,	\
+		[10]	= (x) | DMA_CH_VALID,	\
+		[11]	= (x) | DMA_CH_VALID,	\
+		[12]	= (x) | DMA_CH_VALID,	\
+		[13]    = (x) | DMA_CH_VALID,	\
+		[14]	= (x) | DMA_CH_VALID,	\
+		[15]    = (x) | DMA_CH_VALID,	\
+		[16]	= (x),	\
+		[17]	= (x),	\
+		[18]	= (x),	\
+		[19]	= (x),	\
+		[20]	= (x),	\
+		[21]    = (x),	\
+		[22]	= (x),	\
+		[23]    = (x),	\
+	}
+
+/* Peri-DMAC 1 */
+#define MAP2(x) { \
+		[0]	= (x),	\
+		[1]	= (x),	\
+		[2]	= (x),	\
+		[3]	= (x),	\
+		[4]	= (x),	\
+		[5]     = (x),	\
+		[6]	= (x),	\
+		[7]     = (x),	\
+		[8]	= (x),	\
+		[9]	= (x),	\
+		[10]	= (x),	\
+		[11]	= (x),	\
+		[12]	= (x),	\
+		[13]    = (x),	\
+		[14]	= (x),	\
+		[15]    = (x),	\
+		[16]	= (x) | DMA_CH_VALID,	\
+		[17]	= (x) | DMA_CH_VALID,	\
+		[18]	= (x) | DMA_CH_VALID,	\
+		[19]	= (x) | DMA_CH_VALID,	\
+		[20]	= (x) | DMA_CH_VALID,	\
+		[21]    = (x) | DMA_CH_VALID,	\
+		[22]	= (x) | DMA_CH_VALID,	\
+		[23]    = (x) | DMA_CH_VALID,	\
+	}
+
+
+/* DMA request sources of Peri-DMAC 1 */
+#define S3C_PDMA1_UART0CH0	0
+#define S3C_PDMA1_UART0CH1	1
+#define S3C_PDMA1_UART1CH0	2
+#define S3C_PDMA1_UART1CH1	3
+#define S3C_PDMA1_UART2CH0	4
+#define S3C_PDMA1_UART2CH1	5
+#define S3C_PDMA1_UART3CH0	6
+#define S3C_PDMA1_UART3CH1	7
+#define S3C_PDMA1_IRDA		8	
+#define S3C_PDMA1_I2S0_RX	9
+#define S3C_PDMA1_I2S0_TX	10
+#define S3C_PDMA1_I2S0S_TX	11
+#define S3C_PDMA1_I2S1_RX	12
+#define S3C_PDMA1_I2S1_TX	13
+#define S3C_PDMA1_I2S2_RX	14
+#define S3C_PDMA1_I2S2_TX	15
+#define S3C_PDMA1_SPI0_RX	16
+#define S3C_PDMA1_SPI0_TX	17
+#define S3C_PDMA1_SPI1_RX	18
+#define S3C_PDMA1_SPI1_TX	19
+#define S3C_PDMA1_SPI2_RX	20
+#define S3C_PDMA1_SPI2_TX	21
+#define S3C_PDMA1_PCM0_RX	22
+#define S3C_PDMA1_PCM0_TX	23
+#define S3C_PDMA1_PCM1_RX	24
+#define S3C_PDMA1_PCM1_TX	25
+#define S3C_PDMA1_MSM_REQ0	26
+#define S3C_PDMA1_MSM_REQ1	27
+#define S3C_PDMA1_MSM_REQ2	28
+#define S3C_PDMA1_MSM_REQ3	29
+#define S3C_PDMA1_CG		30
+#define S3C_PDMA1_Reserved	31
+
+
+/* DMA request sources of Peri-DMAC 0 */
+#define S3C_PDMA0_UART0CH0	0
+#define S3C_PDMA0_UART0CH1	1
+#define S3C_PDMA0_UART1CH0	2
+#define S3C_PDMA0_UART1CH1	3
+#define S3C_PDMA0_UART2CH0	4
+#define S3C_PDMA0_UART2CH1	5
+#define S3C_PDMA0_UART3CH0	6
+#define S3C_PDMA0_UART3CH1	7
+#define S3C_PDMA0_IRDA		8	
+#define S3C_PDMA0_I2S0_RX	9
+#define S3C_PDMA0_I2S0_TX	10
+#define S3C_PDMA0_I2S0S_TX	11
+#define S3C_PDMA0_I2S1_RX	12
+#define S3C_PDMA0_I2S1_TX	13
+#define S3C_PDMA0_I2S2_RX	14
+#define S3C_PDMA0_I2S2_TX	15
+#define S3C_PDMA0_SPI0_RX	16
+#define S3C_PDMA0_SPI0_TX	17
+#define S3C_PDMA0_SPI1_RX	18
+#define S3C_PDMA0_SPI1_TX	19
+#define S3C_PDMA0_SPI2_RX	20
+#define S3C_PDMA0_SPI2_TX	21
+#define S3C_PDMA0_AC_MICIN	22
+#define S3C_PDMA0_AC_PCMIN	23
+#define S3C_PDMA0_AC_PCMOUT	24
+#define S3C_PDMA0_EXTERNAL	25
+#define S3C_PDMA0_PWM		26
+#define S3C_PDMA0_SPDIF		27
+#define S3C_PDMA0_HSI_TX	28
+#define S3C_PDMA0_HSI_RX	29
+#define S3C_PDMA0_Reserved_1	30
+#define S3C_PDMA0_Reserved	31
+
+
+/* DMA request sources of M2M-DMAC */
+#define S3C_DMA_SEC_TX		0
+#define S3C_DMA_SEC_RX		1
+#define S3C_DMA_M2M		2
+
+
+static struct s3c_dma_map __initdata s5pc100_dma_mappings[] = {
+
+	[DMACH_I2S_IN] = {
+		.name		= "i2s0-in",	
+		.channels	= MAP1(S3C_PDMA0_I2S0_RX),
+		.hw_addr.from	= S3C_PDMA0_I2S0_RX,
+	},
+	[DMACH_I2S_OUT] = {
+		.name		= "i2s0-out",
+		.channels	= MAP1(S3C_PDMA0_I2S0_TX),
+		.hw_addr.to	= S3C_PDMA0_I2S0_TX,
+	},
+	[DMACH_I2S1_IN] = {
+		.name		= "i2s1-in",
+		.channels	= MAP2(S3C_PDMA1_I2S1_RX),
+		.hw_addr.from	= S3C_PDMA1_I2S1_RX,
+	},
+	[DMACH_I2S1_OUT] = {
+		.name		= "i2s1-out",
+		.channels	= MAP2(S3C_PDMA1_I2S1_TX),
+		.hw_addr.to	= S3C_PDMA1_I2S1_TX,
+	},
+	[DMACH_SPI0_IN] = {
+		.name		= "spi0-in",
+		.channels	= MAP1(S3C_PDMA0_SPI0_RX),
+		.hw_addr.from	= S3C_PDMA0_SPI0_RX,
+	},
+	[DMACH_SPI0_OUT] = {
+		.name		= "spi0-out",
+		.channels	= MAP1(S3C_PDMA0_SPI0_TX),
+		.hw_addr.to	= S3C_PDMA0_SPI0_TX,
+	},
+	[DMACH_SPI1_IN] = {
+		.name		= "spi1-in",
+		.channels	= MAP2(S3C_PDMA1_SPI1_RX),
+		.hw_addr.from	= S3C_PDMA1_SPI1_RX,
+	},
+	[DMACH_SPI1_OUT] = {
+		.name		= "spi1-out",
+		.channels	= MAP2(S3C_PDMA1_SPI1_TX),
+		.hw_addr.to	= S3C_PDMA1_SPI1_TX,
+	},
+	[DMACH_AC97_PCM_OUT] = {
+		.name		= "ac97-pcm-out",
+		.channels	= MAP1(S3C_PDMA0_AC_PCMOUT),
+		.hw_addr.to	= S3C_PDMA0_AC_PCMOUT,
+	},
+	[DMACH_AC97_PCM_IN] = {
+		.name		= "ac97-pcm-in",
+		.channels	= MAP1(S3C_PDMA0_AC_PCMIN),
+		.hw_addr.from	= S3C_PDMA0_AC_PCMIN,
+	},
+	[DMACH_AC97_MIC_IN] = {
+		.name		= "ac97-mic-in",
+		.channels	= MAP1(S3C_PDMA0_AC_MICIN),
+		.hw_addr.from	= S3C_PDMA0_AC_MICIN,
+	},
+	[DMACH_I2S_V40_IN] = {                                                           
+		.name           = "i2s-v40-in",                                          
+		.channels       = MAP1(S3C_PDMA0_HSI_RX),                                 
+		.hw_addr.from   = S3C_PDMA0_HSI_RX,                                       
+	},                                                                               
+	[DMACH_I2S_V40_OUT] = {                                                          
+		.name           = "i2s-v40-out",                                         
+		.channels       = MAP1(S3C_PDMA0_HSI_TX),                                 
+		.hw_addr.to     = S3C_PDMA0_HSI_TX,                                       
+	},
+	[DMACH_I2S_V50_OUT] = {                
+		.name           = "i2s-v50-out",
+		.channels       = MAP1(S3C_PDMA1_I2S0_TX),
+		.hw_addr.to     = S3C_PDMA1_I2S0_TX,
+	},
+	[DMACH_I2S_V50_IN] = {                
+		.name           = "i2s-v50-in",
+		.channels       = MAP1(S3C_PDMA1_I2S0_RX),
+		.hw_addr.from     = S3C_PDMA1_I2S0_RX,
+	},
+	[DMACH_ONENAND_IN] = {
+		.name		= "onenand-in",
+		.channels	= MAP0(S3C_DMA_M2M),
+		.hw_addr.from	= 0,
+	},
+	[DMACH_3D_M2M] = {
+		.name		= "3D-M2M",
+		.channels	= MAP0(S3C_DMA_M2M),
+		.hw_addr.from	= 0,
+	},
+};
+
+static void s5pc100_dma_select(struct s3c2410_dma_chan *chan,
+			       struct s3c_dma_map *map)
+{
+	chan->map = map;
+}
+
+static struct s3c_dma_selection __initdata s5pc100_dma_sel = {
+	.select		= s5pc100_dma_select,
+	.dcon_mask	= 0,
+	.map		= s5pc100_dma_mappings,
+	.map_size	= ARRAY_SIZE(s5pc100_dma_mappings),
+};
+
+static int __init s5pc100_dma_add(struct sys_device *sysdev)
+{
+	s3c_dma_init(S3C_DMA_CHANNELS, IRQ_MDMA, 0x20);
+	return s3c_dma_init_map(&s5pc100_dma_sel);
+}
+
+static struct sysdev_driver s5pc100_dma_driver = {
+	.add	= s5pc100_dma_add,
+};
+
+static int __init s5pc100_dma_init(void)
+{
+	return sysdev_driver_register(&s5pc100_sysclass, &s5pc100_dma_driver);
+}
+
+arch_initcall(s5pc100_dma_init);
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/debug-macro.S linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/debug-macro.S
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/debug-macro.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/debug-macro.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,39 @@
+/* arch/arm/mach-s5pc100/include/mach/debug-macro.S
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* pull in the relevant register and map files. */
+
+#include <mach/map.h>
+#include <plat/regs-serial.h>
+
+	/* note, for the boot process to work we have to keep the UART
+	 * virtual address aligned to an 1MiB boundary for the L1
+	 * mapping the head code makes. We keep the UART virtual address
+	 * aligned and add in the offset when we load the value here.
+	 */
+
+	.macro addruart, rx
+		mrc	p15, 0, \rx, c1, c0
+		tst	\rx, #1
+		ldreq	\rx, = S3C_PA_UART
+		ldrne	\rx, = (S3C_VA_UART + S3C_PA_UART & 0xfffff)
+#if CONFIG_DEBUG_S3C_UART != 0
+		add	\rx, \rx, #(0x400 * CONFIG_DEBUG_S3C_UART)
+#endif
+	.endm
+
+/* include the reset of the code which will do the work, we're only
+ * compiling for a single cpu processor type so the default of s3c2440
+ * will be fine with us.
+ */
+
+#include <plat/debug-macro.S>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/dma.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/dma.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/dma.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/dma.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,22 @@
+/* linux/arch/arm/mach-s5pc100/include/mach/dma.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5PC100 - DMA support
+ */
+
+#ifndef __ASM_ARCH_DMA_H
+#define __ASM_ARCH_DMA_H __FILE__
+
+#include <mach/s3c-dma.h>
+
+#define S3C_DMA_CONTROLLERS        	(3)
+#define S3C_CHANNELS_PER_DMA       	(8)
+#define S3C_CANDIDATE_CHANNELS_PER_DMA  (32)
+#define S3C_DMA_CHANNELS		(S3C_DMA_CONTROLLERS*S3C_CHANNELS_PER_DMA)
+
+#endif /* __ASM_ARCH_DMA_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/entry-macro.S linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/entry-macro.S
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/entry-macro.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/entry-macro.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,50 @@
+/* arch/arm/mach-s5pc100/include/mach/entry-macro.S
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * Low-level IRQ helper macros for the Samsung S5PC1XX series
+ *
+ * This file is licensed under  the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+*/
+
+#include <asm/hardware/vic.h>
+#include <mach/map.h>
+#include <plat/irqs.h>
+
+	.macro	disable_fiq
+	.endm
+
+	.macro	get_irqnr_preamble, base, tmp
+	ldr	\base, =S3C_VA_VIC0
+	.endm
+
+	.macro	arch_ret_to_user, tmp1, tmp2
+	.endm
+
+	.macro	get_irqnr_and_base, irqnr, irqstat, base, tmp
+
+	@ check the vic0
+	mov	\irqnr, # S3C_IRQ_OFFSET + 31
+	ldr	\irqstat, [ \base, # VIC_IRQ_STATUS ]
+	teq	\irqstat, #0
+
+	@ otherwise try vic1
+	addeq	\tmp, \base, #(S3C_VA_VIC1 - S3C_VA_VIC0)
+	addeq	\irqnr, \irqnr, #32
+	ldreq	\irqstat, [ \tmp, # VIC_IRQ_STATUS ]
+	teqeq	\irqstat, #0
+	
+	@ otherwise try vic2
+	addeq	\tmp, \base, #(S3C_VA_VIC2 - S3C_VA_VIC0)
+	addeq	\irqnr, \irqnr, #32
+	ldreq	\irqstat, [ \tmp, # VIC_IRQ_STATUS ]
+	teqeq	\irqstat, #0
+
+	clzne	\irqstat, \irqstat
+	subne	\irqnr, \irqnr, \irqstat
+	.endm
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/gpio-core.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/gpio-core.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/gpio-core.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/gpio-core.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,21 @@
+/* arch/arm/mach-s5pc100/include/mach/gpio-core.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5PC1XX - GPIO core support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_GPIO_CORE_H
+#define __ASM_ARCH_GPIO_CORE_H __FILE__
+
+/* currently we just include the platform support */
+#include <plat/gpio-core.h>
+
+#endif /* __ASM_ARCH_GPIO_CORE_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/gpio.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/gpio.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/gpio.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/gpio.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,146 @@
+/* arch/arm/mach-s5pc100/include/mach/gpio.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S5PC100 - GPIO lib support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define gpio_get_value	__gpio_get_value
+#define gpio_set_value	__gpio_set_value
+#define gpio_cansleep	__gpio_cansleep
+#define gpio_to_irq	__gpio_to_irq
+
+/* GPIO bank sizes */
+#define S5PC1XX_GPIO_A0_NR	(8)
+#define S5PC1XX_GPIO_A1_NR	(5)
+#define S5PC1XX_GPIO_B_NR	(8)
+#define S5PC1XX_GPIO_C_NR	(5)
+#define S5PC1XX_GPIO_D_NR	(7)
+#define S5PC1XX_GPIO_E0_NR	(8)
+#define S5PC1XX_GPIO_E1_NR	(6)
+#define S5PC1XX_GPIO_F0_NR	(8)
+#define S5PC1XX_GPIO_F1_NR	(8)
+#define S5PC1XX_GPIO_F2_NR	(8)
+#define S5PC1XX_GPIO_F3_NR	(4)
+#define S5PC1XX_GPIO_G0_NR	(8)
+#define S5PC1XX_GPIO_G1_NR	(3)
+#define S5PC1XX_GPIO_G2_NR	(7)
+#define S5PC1XX_GPIO_G3_NR	(7)
+#define S5PC1XX_GPIO_H0_NR	(8)
+#define S5PC1XX_GPIO_H1_NR	(8)
+#define S5PC1XX_GPIO_H2_NR	(8)
+#define S5PC1XX_GPIO_H3_NR	(8)
+#define S5PC1XX_GPIO_I_NR	(8)
+#define S5PC1XX_GPIO_J0_NR	(8)
+#define S5PC1XX_GPIO_J1_NR	(5)
+#define S5PC1XX_GPIO_J2_NR	(8)
+#define S5PC1XX_GPIO_J3_NR	(8)
+#define S5PC1XX_GPIO_J4_NR	(4)
+#define S5PC1XX_GPIO_K0_NR	(8)
+#define S5PC1XX_GPIO_K1_NR	(6)
+#define S5PC1XX_GPIO_K2_NR	(8)
+#define S5PC1XX_GPIO_K3_NR	(8)
+#define S5PC1XX_GPIO_MP00_NR	(8)
+#define S5PC1XX_GPIO_MP01_NR	(8)
+#define S5PC1XX_GPIO_MP02_NR	(8)
+#define S5PC1XX_GPIO_MP03_NR	(8)
+#define S5PC1XX_GPIO_MP04_NR	(5)
+
+/* GPIO bank numbes */
+
+/* CONFIG_S3C_GPIO_SPACE allows the user to select extra
+ * space for debugging purposes so that any accidental
+ * change from one gpio bank to another can be caught.
+*/
+
+#define S5PC1XX_GPIO_NEXT(__gpio) \
+	((__gpio##_START) + (__gpio##_NR) + CONFIG_S3C_GPIO_SPACE + 1)
+
+enum s3c_gpio_number {
+	S5PC1XX_GPIO_A0_START 	= 0,
+	S5PC1XX_GPIO_A1_START 	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_A0),
+	S5PC1XX_GPIO_B_START 	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_A1),
+	S5PC1XX_GPIO_C_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_B),
+	S5PC1XX_GPIO_D_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_C),
+	S5PC1XX_GPIO_E0_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_D),
+	S5PC1XX_GPIO_E1_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_E0),
+	S5PC1XX_GPIO_F0_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_E1),
+	S5PC1XX_GPIO_F1_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_F0),
+	S5PC1XX_GPIO_F2_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_F1),
+	S5PC1XX_GPIO_F3_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_F2),
+	S5PC1XX_GPIO_G0_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_F3),
+	S5PC1XX_GPIO_G1_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_G0),
+	S5PC1XX_GPIO_G2_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_G1),
+	S5PC1XX_GPIO_G3_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_G2),
+	S5PC1XX_GPIO_H0_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_G3),
+	S5PC1XX_GPIO_H1_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_H0),
+	S5PC1XX_GPIO_H2_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_H1),
+	S5PC1XX_GPIO_H3_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_H2),
+	S5PC1XX_GPIO_I_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_H3),
+	S5PC1XX_GPIO_J0_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_I),
+	S5PC1XX_GPIO_J1_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_J0),
+	S5PC1XX_GPIO_J2_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_J1),
+	S5PC1XX_GPIO_J3_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_J2),
+	S5PC1XX_GPIO_J4_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_J3),
+	S5PC1XX_GPIO_K0_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_J4),
+	S5PC1XX_GPIO_K1_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_K0),
+	S5PC1XX_GPIO_K2_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_K1),
+	S5PC1XX_GPIO_K3_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_K2),
+	S5PC1XX_GPIO_MP00_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_K3),
+	S5PC1XX_GPIO_MP01_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_MP00),
+	S5PC1XX_GPIO_MP02_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_MP01),
+	S5PC1XX_GPIO_MP03_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_MP02),
+	S5PC1XX_GPIO_MP04_START	= S5PC1XX_GPIO_NEXT(S5PC1XX_GPIO_MP03),
+};
+
+/* S5PC1XX GPIO number definitions. */
+#define S5PC1XX_GPA0(_nr)	(S5PC1XX_GPIO_A0_START + (_nr))
+#define S5PC1XX_GPA1(_nr)	(S5PC1XX_GPIO_A1_START + (_nr))
+#define S5PC1XX_GPB(_nr)	(S5PC1XX_GPIO_B_START + (_nr))
+#define S5PC1XX_GPC(_nr)	(S5PC1XX_GPIO_C_START + (_nr))
+#define S5PC1XX_GPD(_nr)	(S5PC1XX_GPIO_D_START + (_nr))
+#define S5PC1XX_GPE0(_nr)	(S5PC1XX_GPIO_E0_START + (_nr))
+#define S5PC1XX_GPE1(_nr)	(S5PC1XX_GPIO_E1_START + (_nr))
+#define S5PC1XX_GPF0(_nr)	(S5PC1XX_GPIO_F0_START + (_nr))
+#define S5PC1XX_GPF1(_nr)	(S5PC1XX_GPIO_F1_START + (_nr))
+#define S5PC1XX_GPF2(_nr)	(S5PC1XX_GPIO_F2_START + (_nr))
+#define S5PC1XX_GPF3(_nr)	(S5PC1XX_GPIO_F3_START + (_nr))
+#define S5PC1XX_GPG0(_nr)	(S5PC1XX_GPIO_G0_START + (_nr))
+#define S5PC1XX_GPG1(_nr)	(S5PC1XX_GPIO_G1_START + (_nr))
+#define S5PC1XX_GPG2(_nr)	(S5PC1XX_GPIO_G2_START + (_nr))
+#define S5PC1XX_GPG3(_nr)	(S5PC1XX_GPIO_G3_START + (_nr))
+#define S5PC1XX_GPH0(_nr)	(S5PC1XX_GPIO_H0_START + (_nr))
+#define S5PC1XX_GPH1(_nr)	(S5PC1XX_GPIO_H1_START + (_nr))
+#define S5PC1XX_GPH2(_nr)	(S5PC1XX_GPIO_H2_START + (_nr))
+#define S5PC1XX_GPH3(_nr)	(S5PC1XX_GPIO_H3_START + (_nr))
+#define S5PC1XX_GPI(_nr)	(S5PC1XX_GPIO_I_START + (_nr))
+#define S5PC1XX_GPJ0(_nr)	(S5PC1XX_GPIO_J0_START + (_nr))
+#define S5PC1XX_GPJ1(_nr)	(S5PC1XX_GPIO_J1_START + (_nr))
+#define S5PC1XX_GPJ2(_nr)	(S5PC1XX_GPIO_J2_START + (_nr))
+#define S5PC1XX_GPJ3(_nr)	(S5PC1XX_GPIO_J3_START + (_nr))
+#define S5PC1XX_GPJ4(_nr)	(S5PC1XX_GPIO_J4_START + (_nr))
+#define S5PC1XX_GPK0(_nr)	(S5PC1XX_GPIO_K0_START + (_nr))
+#define S5PC1XX_GPK1(_nr)	(S5PC1XX_GPIO_K1_START + (_nr))
+#define S5PC1XX_GPK2(_nr)	(S5PC1XX_GPIO_K2_START + (_nr))
+#define S5PC1XX_GPK3(_nr)	(S5PC1XX_GPIO_K3_START + (_nr))
+#define S5PC1XX_MP00(_nr)	(S5PC1XX_GPIO_MP00_START + (_nr))
+#define S5PC1XX_MP01(_nr)	(S5PC1XX_GPIO_MP01_START + (_nr))
+#define S5PC1XX_MP02(_nr)	(S5PC1XX_GPIO_MP02_START + (_nr))
+#define S5PC1XX_MP03(_nr)	(S5PC1XX_GPIO_MP03_START + (_nr))
+#define S5PC1XX_MP04(_nr)	(S5PC1XX_GPIO_MP04_START + (_nr))
+
+/* the end of the S5PC1XX specific gpios */
+#define S5PC1XX_GPIO_END	(S5PC1XX_MP04(S5PC1XX_GPIO_MP04_NR) + 1)
+#define S3C_GPIO_END		S5PC1XX_GPIO_END
+
+/* define the number of gpios we need to the one after the MP04() range */
+#define ARCH_NR_GPIOS	(S5PC1XX_MP04(S5PC1XX_GPIO_MP04_NR) + 1)
+
+#include <asm-generic/gpio.h>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/hardware.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/hardware.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/hardware.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/hardware.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,16 @@
+/* linux/arch/arm/mach-s5pc100/include/mach/hardware.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C6400 - Hardware support
+ */
+
+#ifndef __ASM_ARCH_HARDWARE_H
+#define __ASM_ARCH_HARDWARE_H __FILE__
+
+/* currently nothing here, placeholder */
+
+#endif /* __ASM_ARCH_HARDWARE_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/idle.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/idle.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/idle.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/idle.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,24 @@
+/* arch/arm/mach-s5pc100/include/mach/idle.h
+ *
+ * Copyright (c) 2004 Simtec Electronics <linux@simtec.co.uk>
+ *		http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S5PC100 CPU Idle controls
+*/
+
+#ifndef __ASM_ARCH_IDLE_H
+#define __ASM_ARCH_IDLE_H __FILE__
+
+/* This allows the over-ride of the default idle code, in case there
+ * is any other things to be done over idle (like DVS)
+*/
+
+extern void (*s5pc1xx_idle)(void);
+
+extern void s5pc1xx_default_idle(void);
+
+#endif /* __ASM_ARCH_IDLE_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/irqs.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/irqs.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/irqs.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/irqs.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,20 @@
+/* linux/arch/arm/mach-s5pc100/include/mach/irqs.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5PC100 - IRQ definitions
+ */
+
+#ifndef __ASM_ARCH_IRQS_H
+#define __ASM_ARCH_IRQS_H __FILE__
+
+#ifndef __ASM_ARM_IRQ_H
+#error "Do not include this directly, instead #include <asm/irq.h>"
+#endif
+
+#include <plat/irqs.h>
+
+#endif /* __ASM_ARCH_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/map.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/map.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/map.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/map.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,182 @@
+/* linux/arch/arm/mach-s5pc100/include/mach/map.h
+ *
+ * Copyright 2008 Samsung Electronics Co.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S5PC1XX - Memory map definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_MAP_H
+#define __ASM_ARCH_MAP_H __FILE__
+
+#include <plat/map-base.h>
+
+#define S3C_PA_UART		(0xEC000000)
+#define S3C_PA_UART0		(S3C_PA_UART + 0x00)
+#define S3C_PA_UART1		(S3C_PA_UART + 0x400)
+#define S3C_PA_UART2		(S3C_PA_UART + 0x800)
+#define S3C_PA_UART3		(S3C_PA_UART + 0xC00)
+#define S3C_UART_OFFSET		(0x400)
+
+/* See notes on UART VA mapping in debug-macro.S */
+#define S3C_VA_UARTx(x)		(S3C_VA_UART + (S3C_PA_UART & 0xfffff) + ((x) * S3C_UART_OFFSET))
+
+#define S3C_VA_UART0		S3C_VA_UARTx(0)
+#define S3C_VA_UART1		S3C_VA_UARTx(1)
+#define S3C_VA_UART2		S3C_VA_UARTx(2)
+#define S3C_VA_UART3		S3C_VA_UARTx(3)
+
+#define S5PC1XX_PA_SYSCON	(0xE0100000)
+#define S5PC1XX_VA_SYSCON       S3C_VA_SYS
+#define S5PC1XX_SZ_SYSCON       SZ_2M  
+
+#define S5PC1XX_PA_TIMER	(0xEA000000)
+#define S5PC1XX_PA_IIC0		(0xEC100000)
+#define S5PC1XX_PA_IIC1		(0xEC200000)
+
+#define S5PC1XX_PA_GPIO		(0xE0300000)
+#define S5PC1XX_VA_GPIO		S3C_ADDR(0x00500000)
+#define S5PC1XX_SZ_GPIO		SZ_4K
+
+#define S5PC1XX_PA_SDRAM	(0x20000000)
+#define S5PC1XX_PA_VIC0		(0xE4000000)
+#define S5PC1XX_PA_VIC1		(0xE4100000)
+#define S5PC1XX_PA_VIC2		(0xE4200000)
+
+#define S5PC1XX_VA_SROMC	S3C_VA_SROMC
+#define S5PC1XX_PA_SROMC	(0xE7000000)
+#define S5PC1XX_SZ_SROMC	SZ_4K
+
+#define S5PC1XX_VA_LCD	   	S3C_VA_LCD
+#define S5PC1XX_PA_LCD	   	(0xEE000000)
+#define S5PC1XX_SZ_LCD		SZ_1M
+
+#define S5PC1XX_PA_G2D	   	(0xEE800000)
+#define S5PC1XX_SZ_G2D		SZ_1M
+
+#define S5PC1XX_VA_SYSTIMER   	S3C_VA_SYSTIMER
+#define S5PC1XX_PA_SYSTIMER   	(0xEA100000)
+#define S5PC1XX_SZ_SYSTIMER	SZ_1M
+
+#define S5PC1XX_PA_ADC		(0xF3000000)
+#define S5PC1XX_PA_SMC9115	(0x98000000)
+#define S5PC1XX_PA_RTC		(0xEA300000)
+
+#define S5PC1XX_PA_IIS	   	(0xF2000000)
+#define S3C_SZ_IIS		SZ_4K
+
+#define S5PC1XX_PA_CHIPID	(0xE0000000)
+#define S5PC1XX_VA_CHIPID	S3C_ADDR(0x00700000)
+
+/* NAND flash controller */
+#define S5PC1XX_VA_NAND                S3C_VA_NAND
+#define S5PC1XX_PA_NAND         (0xE7200000)
+#define S5PC1XX_SZ_NAND         SZ_1M
+
+/* DMA controller */
+#define S5PC1XX_PA_DMA   	(0xE8100000)
+
+/* place VICs close together */
+#define S3C_VA_VIC0		(S3C_VA_IRQ + 0x0)
+#define S3C_VA_VIC1		(S3C_VA_IRQ + 0x10000)
+#define S3C_VA_VIC2		(S3C_VA_IRQ + 0x20000)
+
+/* USB Host */
+#define S5PC1XX_PA_USBHOST      (0xED400000)
+#define S5PC1XX_SZ_USBHOST      SZ_1M
+
+/* USB OTG */
+#define S5PC1XX_VA_OTG          S3C_ADDR(0x00E00000)
+#define S5PC1XX_PA_OTG          (0xED200000)
+#define S5PC1XX_SZ_OTG          SZ_1M
+
+/* USB OTG SFR */
+#define S5PC1XX_VA_OTGSFR       S3C_ADDR(0x00F00000)
+#define S5PC1XX_PA_OTGSFR       (0xED300000)
+#define S5PC1XX_SZ_OTGSFR       SZ_1M
+
+/* FIMC */
+#define S5PC1XX_PA_FIMC0	(0xEE200000)
+#define S5PC1XX_PA_FIMC1	(0xEE300000)
+#define S5PC1XX_PA_FIMC2	(0xEE400000)
+
+/* HSMMC units */
+#define S5PC1XX_PA_HSMMC(x)     (0xED800000 + ((x) * 0x100000))
+#define S5PC1XX_PA_HSMMC0       S5PC1XX_PA_HSMMC(0)
+#define S5PC1XX_PA_HSMMC1       S5PC1XX_PA_HSMMC(1)
+#define S5PC1XX_PA_HSMMC2       S5PC1XX_PA_HSMMC(2)
+#define S5PC1XX_SZ_HSMMC        SZ_1M
+
+#define S3C_PA_HSMMC0           S5PC1XX_PA_HSMMC0
+#define S3C_PA_HSMMC1           S5PC1XX_PA_HSMMC1
+#define S3C_PA_HSMMC2           S5PC1XX_PA_HSMMC2
+
+#define S5PC1XX_PA_SPI(x)       (0xEC300000 + ((x) * 0x100000))
+#define S5PC1XX_SZ_SPI          SZ_1M
+#define S5PC1XX_PA_SPI0         S5PC1XX_PA_SPI(0)
+#define S5PC1XX_PA_SPI1         S5PC1XX_PA_SPI(1)
+#define S5PC1XX_PA_SPI2         S5PC1XX_PA_SPI(2)
+
+#define S5PC1XX_PA_ONENAND      (0xE7100000)
+#define S5PC1XX_SZ_ONENAND      SZ_1M
+
+#define S5PC1XX_PA_KEYPAD	(0xF3100000)
+#define S5PC1XX_SZ_KEYPAD	SZ_4K
+
+#define S3C_PA_IIS		S5PC1XX_PA_IIS
+#define S3C_PA_ADC		S5PC1XX_PA_ADC
+#define S3C_PA_DMA		S5PC1XX_PA_DMA
+#define S3C_PA_RTC              S5PC1XX_PA_RTC
+#define S3C_PA_KEYPAD           S5PC1XX_PA_KEYPAD
+#define S3C_SZ_KEYPAD           S5PC1XX_SZ_KEYPAD
+
+/* WATCHDOG TIMER*/
+#define S5PC1XX_PA_WDT          (0xEA200000)
+#define S3C_PA_WDT              S5PC1XX_PA_WDT
+
+/* MFC V4.0 */
+#define S5PC1XX_PA_MFC		(0xF1000000)
+#define S5PC1XX_SZ_MFC		SZ_4K
+
+/* JPEG */
+#define S5PC1XX_PA_JPEG		(0xEE500000)
+#define S5PC1XX_SZ_JPEG		SZ_1M
+
+/* AC97 */
+#define S5PC1XX_PA_AC97         (0xF2300000)
+#define S5PC1XX_SZ_AC97         SZ_1M
+
+/* G3D */
+#define S5PC1XX_PA_G3D		(0xEF000000)
+#define S5PC1XX_SZ_G3D		SZ_16M
+
+/* Rotator */
+#define S5PC1XX_PA_ROTATOR	(0xEE100000)
+#define S5PC1XX_SZ_ROTATOR	SZ_1M
+
+/* MIPI CSIS */
+#define S5PC1XX_PA_CSIS		(0xECC00000)
+#define S5PC1XX_SZ_CSIS		SZ_1M
+
+/* compatibiltiy defines. */
+#define S3C_SZ_HSMMC		S5PC1XX_SZ_HSMMC
+
+#define S3C_PA_TIMER		S5PC1XX_PA_TIMER
+#define S3C_PA_IIC		S5PC1XX_PA_IIC0
+#define S3C_PA_IIC1		S5PC1XX_PA_IIC1
+
+#define S3C_VA_OTG              S5PC1XX_VA_OTG
+#define S3C_PA_OTG              S5PC1XX_PA_OTG
+#define S3C_SZ_OTG              S5PC1XX_SZ_OTG
+
+#define S3C_VA_OTGSFR           S5PC1XX_VA_OTGSFR
+#define S3C_PA_OTGSFR           S5PC1XX_PA_OTGSFR
+#define S3C_SZ_OTGSFR           S5PC1XX_SZ_OTGSFR
+
+#endif /* __ASM_ARCH_6400_MAP_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/memory.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/memory.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/memory.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/memory.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,22 @@
+/* arch/arm/mach-s5pc100/include/mach/memory.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_MEMORY_H
+#define __ASM_ARCH_MEMORY_H
+
+#define PHYS_OFFSET     	UL(0x20000000)
+#define CONSISTENT_DMA_SIZE	(SZ_8M + SZ_4M + SZ_2M)
+
+#define __virt_to_bus(x) __virt_to_phys(x)
+#define __bus_to_virt(x) __phys_to_virt(x)
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/regs-irq.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/regs-irq.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/regs-irq.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/regs-irq.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,277 @@
+/* linux/arch/arm/mach-s5pc100/include/mach/regs-irq.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S5PC1XX - IRQ register definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_REGS_IRQ_H
+#define __ASM_ARCH_REGS_IRQ_H __FILE__
+
+#include <asm/hardware/vic.h>
+#include <mach/map.h>
+/* interrupt controller */
+#define S5PC100_VIC0REG(x)          		((x) + S3C_VA_VIC0)
+#define S5PC100_VIC1REG(x)          		((x) + S3C_VA_VIC1)
+#define S5PC100_VIC2REG(x)         		((x) + S3C_VA_VIC2)
+
+#define S5PC100_VIC0IRQSTATUS 			S5PC100_VIC0REG(0x000)
+#define S5PC100_VIC0FIQSTATUS 			S5PC100_VIC0REG(0x004)
+#define S5PC100_VIC0RAWINTR 			S5PC100_VIC0REG(0x008)
+#define S5PC100_VIC0INTSELECT 			S5PC100_VIC0REG(0x00C)
+#define S5PC100_VIC0INTENABLE 			S5PC100_VIC0REG(0x010)
+#define S5PC100_VIC0INTENCLEAR 			S5PC100_VIC0REG(0x014)
+#define S5PC100_VIC0SOFTINT 			S5PC100_VIC0REG(0x018)
+#define S5PC100_VIC0SOFTINTCLEAR 		S5PC100_VIC0REG(0x01C)
+#define S5PC100_VIC0PROTECTION 			S5PC100_VIC0REG(0x020)
+#define S5PC100_VIC0SWPRIORITYMASK 		S5PC100_VIC0REG(0x024)
+#define S5PC100_VIC0PRIORITYDAISY 		S5PC100_VIC0REG(0x028)
+#define S5PC100_VIC0VECTADDR0 			S5PC100_VIC0REG(0x100)
+#define S5PC100_VIC0VECTADDR1 			S5PC100_VIC0REG(0x104)
+#define S5PC100_VIC0VECTADDR2 			S5PC100_VIC0REG(0x108)
+#define S5PC100_VIC0VECTADDR3 			S5PC100_VIC0REG(0x10C)
+#define S5PC100_VIC0VECTADDR4 			S5PC100_VIC0REG(0x110)
+#define S5PC100_VIC0VECTADDR5 			S5PC100_VIC0REG(0x114)
+#define S5PC100_VIC0VECTADDR6 			S5PC100_VIC0REG(0x118)
+#define S5PC100_VIC0VECTADDR7 			S5PC100_VIC0REG(0x11C)
+#define S5PC100_VIC0VECTADDR8 			S5PC100_VIC0REG(0x120)
+#define S5PC100_VIC0VECTADDR9 			S5PC100_VIC0REG(0x124)
+#define S5PC100_VIC0VECTADDR10 			S5PC100_VIC0REG(0x128)
+#define S5PC100_VIC0VECTADDR11 			S5PC100_VIC0REG(0x12C)
+#define S5PC100_VIC0VECTADDR12 			S5PC100_VIC0REG(0x130)
+#define S5PC100_VIC0VECTADDR13 			S5PC100_VIC0REG(0x134)
+#define S5PC100_VIC0VECTADDR14 			S5PC100_VIC0REG(0x138)
+#define S5PC100_VIC0VECTADDR15 			S5PC100_VIC0REG(0x13C)
+#define S5PC100_VIC0VECTADDR16 			S5PC100_VIC0REG(0x140)
+#define S5PC100_VIC0VECTADDR17 			S5PC100_VIC0REG(0x144)
+#define S5PC100_VIC0VECTADDR18 			S5PC100_VIC0REG(0x148)
+#define S5PC100_VIC0VECTADDR19 			S5PC100_VIC0REG(0x14C)
+#define S5PC100_VIC0VECTADDR20 			S5PC100_VIC0REG(0x150)
+#define S5PC100_VIC0VECTADDR21 			S5PC100_VIC0REG(0x154)
+#define S5PC100_VIC0VECTADDR22 			S5PC100_VIC0REG(0x158)
+#define S5PC100_VIC0VECTADDR23 			S5PC100_VIC0REG(0x15C)
+#define S5PC100_VIC0VECTADDR24 			S5PC100_VIC0REG(0x160)
+#define S5PC100_VIC0VECTADDR25 			S5PC100_VIC0REG(0x164)
+#define S5PC100_VIC0VECTADDR26 			S5PC100_VIC0REG(0x168)
+#define S5PC100_VIC0VECTADDR27 			S5PC100_VIC0REG(0x16C)
+#define S5PC100_VIC0VECTADDR28 			S5PC100_VIC0REG(0x170)
+#define S5PC100_VIC0VECTADDR29 			S5PC100_VIC0REG(0x174)
+#define S5PC100_VIC0VECTADDR30 			S5PC100_VIC0REG(0x178)
+#define S5PC100_VIC0VECTADDR31 			S5PC100_VIC0REG(0x17C)
+#define S5PC100_VIC0VECPRIORITY0 		S5PC100_VIC0REG(0x200)
+#define S5PC100_VIC0VECTPRIORITY1 		S5PC100_VIC0REG(0x204)
+#define S5PC100_VIC0VECTPRIORITY2 		S5PC100_VIC0REG(0x208)
+#define S5PC100_VIC0VECTPRIORITY3 		S5PC100_VIC0REG(0x20C)
+#define S5PC100_VIC0VECTPRIORITY4 		S5PC100_VIC0REG(0x210)
+#define S5PC100_VIC0VECTPRIORITY5 		S5PC100_VIC0REG(0x214)
+#define S5PC100_VIC0VECTPRIORITY6 		S5PC100_VIC0REG(0x218)
+#define S5PC100_VIC0VECTPRIORITY7 		S5PC100_VIC0REG(0x21C)
+#define S5PC100_VIC0VECTPRIORITY8 		S5PC100_VIC0REG(0x220)
+#define S5PC100_VIC0VECTPRIORITY9 		S5PC100_VIC0REG(0x224)
+#define S5PC100_VIC0VECTPRIORITY10 		S5PC100_VIC0REG(0x228)
+#define S5PC100_VIC0VECTPRIORITY11 		S5PC100_VIC0REG(0x22C)
+#define S5PC100_VIC0VECTPRIORITY12 		S5PC100_VIC0REG(0x230)
+#define S5PC100_VIC0VECTPRIORITY13 		S5PC100_VIC0REG(0x234)
+#define S5PC100_VIC0VECTPRIORITY14 		S5PC100_VIC0REG(0x238)
+#define S5PC100_VIC0VECTPRIORITY15 		S5PC100_VIC0REG(0x23C)
+#define S5PC100_VIC0VECTPRIORITY16 		S5PC100_VIC0REG(0x240)
+#define S5PC100_VIC0VECTPRIORITY17 		S5PC100_VIC0REG(0x244)
+#define S5PC100_VIC0VECTPRIORITY18 		S5PC100_VIC0REG(0x248)
+#define S5PC100_VIC0VECTPRIORITY19 		S5PC100_VIC0REG(0x24C)
+#define S5PC100_VIC0VECTPRIORITY20 		S5PC100_VIC0REG(0x250)
+#define S5PC100_VIC0VECTPRIORITY21 		S5PC100_VIC0REG(0x254)
+#define S5PC100_VIC0VECTPRIORITY22 		S5PC100_VIC0REG(0x258)
+#define S5PC100_VIC0VECTPRIORITY23 		S5PC100_VIC0REG(0x25C)
+#define S5PC100_VIC0VECTPRIORITY24 		S5PC100_VIC0REG(0x260)
+#define S5PC100_VIC0VECTPRIORITY25 		S5PC100_VIC0REG(0x264)
+#define S5PC100_VIC0VECTPRIORITY26 		S5PC100_VIC0REG(0x268)
+#define S5PC100_VIC0VECTPRIORITY27 		S5PC100_VIC0REG(0x26C)
+#define S5PC100_VIC0VECTPRIORITY28 		S5PC100_VIC0REG(0x270)
+#define S5PC100_VIC0VECTPRIORITY29 		S5PC100_VIC0REG(0x274)
+#define S5PC100_VIC0VECTPRIORITY30 		S5PC100_VIC0REG(0x278)
+#define S5PC100_VIC0VECTPRIORITY31 		S5PC100_VIC0REG(0x27C)
+#define S5PC100_VIC0ADDRESS 			S5PC100_VIC0REG(0xF00)
+#define S5PC100_VIC0PERIPHID0 			S5PC100_VIC0REG(0xFE0)
+#define S5PC100_VIC0PERIPHID1 			S5PC100_VIC0REG(0xFE4)
+#define S5PC100_VIC0PERIPHID2 			S5PC100_VIC0REG(0xFE8)
+#define S5PC100_VIC0PERIPHID3 			S5PC100_VIC0REG(0xFEC)
+#define S5PC100_VIC0PCELLID0 			S5PC100_VIC0REG(0xFF0)
+#define S5PC100_VIC0PCELLID1 			S5PC100_VIC0REG(0xFF4)
+#define S5PC100_VIC0PCELLID2 			S5PC100_VIC0REG(0xFF8)
+#define S5PC100_VIC0PCELLID3 			S5PC100_VIC0REG(0xFFC)
+#define S5PC100_VIC1IRQSTATUS 			S5PC100_VIC1REG(0x000)
+#define S5PC100_VIC1FIQSTATUS 			S5PC100_VIC1REG(0x004)
+#define S5PC100_VIC1RAWINTR 			S5PC100_VIC1REG(0x008)
+#define S5PC100_VIC1INTSELECT 			S5PC100_VIC1REG(0x00C)
+#define S5PC100_VIC1INTENABLE 			S5PC100_VIC1REG(0x010)
+#define S5PC100_VIC1INTENCLEAR 			S5PC100_VIC1REG(0x014)
+#define S5PC100_VIC1SOFTINT 			S5PC100_VIC1REG(0x018)
+#define S5PC100_VIC1SOFTINTCLEAR 		S5PC100_VIC1REG(0x01C)
+#define S5PC100_VIC1PROTECTION 			S5PC100_VIC1REG(0x020)
+#define S5PC100_VIC1SWPRIORITYMASK 		S5PC100_VIC1REG(0x024)
+#define S5PC100_VIC1PRIORITYDAISY 		S5PC100_VIC1REG(0x028)
+#define S5PC100_VIC1VECTADDR0 			S5PC100_VIC1REG(0x100)
+#define S5PC100_VIC1VECTADDR1 			S5PC100_VIC1REG(0x104)
+#define S5PC100_VIC1VECTADDR2 			S5PC100_VIC1REG(0x108)
+#define S5PC100_VIC1VECTADDR3 			S5PC100_VIC1REG(0x10C)
+#define S5PC100_VIC1VECTADDR4 			S5PC100_VIC1REG(0x110)
+#define S5PC100_VIC1VECTADDR5 			S5PC100_VIC1REG(0x114)
+#define S5PC100_VIC1VECTADDR6 			S5PC100_VIC1REG(0x118)
+#define S5PC100_VIC1VECTADDR7 			S5PC100_VIC1REG(0x11C)
+#define S5PC100_VIC1VECTADDR8 			S5PC100_VIC1REG(0x120)
+#define S5PC100_VIC1VECTADDR9 			S5PC100_VIC1REG(0x124)
+#define S5PC100_VIC1VECTADDR10 			S5PC100_VIC1REG(0x128)
+#define S5PC100_VIC1VECTADDR11 			S5PC100_VIC1REG(0x12C)
+#define S5PC100_VIC1VECTADDR12 			S5PC100_VIC1REG(0x130)
+#define S5PC100_VIC1VECTADDR13 			S5PC100_VIC1REG(0x134)
+#define S5PC100_VIC1VECTADDR14 			S5PC100_VIC1REG(0x138)
+#define S5PC100_VIC1VECTADDR15 			S5PC100_VIC1REG(0x13C)
+#define S5PC100_VIC1VECTADDR16 			S5PC100_VIC1REG(0x140)
+#define S5PC100_VIC1VECTADDR17 			S5PC100_VIC1REG(0x144)
+#define S5PC100_VIC1VECTADDR18 			S5PC100_VIC1REG(0x148)
+#define S5PC100_VIC1VECTADDR19 			S5PC100_VIC1REG(0x14C)
+#define S5PC100_VIC1VECTADDR20 			S5PC100_VIC1REG(0x150)
+#define S5PC100_VIC1VECTADDR21 			S5PC100_VIC1REG(0x154)
+#define S5PC100_VIC1VECTADDR22 			S5PC100_VIC1REG(0x158)
+#define S5PC100_VIC1VECTADDR23 			S5PC100_VIC1REG(0x15C)
+#define S5PC100_VIC1VECTADDR24 			S5PC100_VIC1REG(0x160)
+#define S5PC100_VIC1VECTADDR25 			S5PC100_VIC1REG(0x164)
+#define S5PC100_VIC1VECTADDR26 			S5PC100_VIC1REG(0x168)
+#define S5PC100_VIC1VECTADDR27 			S5PC100_VIC1REG(0x16C)
+#define S5PC100_VIC1VECTADDR28 			S5PC100_VIC1REG(0x170)
+#define S5PC100_VIC1VECTADDR29 			S5PC100_VIC1REG(0x174)
+#define S5PC100_VIC1VECTADDR30 			S5PC100_VIC1REG(0x178)
+#define S5PC100_VIC1VECTADDR31 			S5PC100_VIC1REG(0x17C)
+#define S5PC100_VIC1VECPRIORITY0 		S5PC100_VIC1REG(0x200)
+#define S5PC100_VIC1VECTPRIORITY1 		S5PC100_VIC1REG(0x204)
+#define S5PC100_VIC1VECTPRIORITY2 		S5PC100_VIC1REG(0x208)
+#define S5PC100_VIC1VECTPRIORITY3 		S5PC100_VIC1REG(0x20C)
+#define S5PC100_VIC1VECTPRIORITY4 		S5PC100_VIC1REG(0x210)
+#define S5PC100_VIC1VECTPRIORITY5 		S5PC100_VIC1REG(0x214)
+#define S5PC100_VIC1VECTPRIORITY6 		S5PC100_VIC1REG(0x218)
+#define S5PC100_VIC1VECTPRIORITY7 		S5PC100_VIC1REG(0x21C)
+#define S5PC100_VIC1VECTPRIORITY8 		S5PC100_VIC1REG(0x220)
+#define S5PC100_VIC1VECTPRIORITY9 		S5PC100_VIC1REG(0x224)
+#define S5PC100_VIC1VECTPRIORITY10 		S5PC100_VIC1REG(0x228)
+#define S5PC100_VIC1VECTPRIORITY11 		S5PC100_VIC1REG(0x22C)
+#define S5PC100_VIC1VECTPRIORITY12 		S5PC100_VIC1REG(0x230)
+#define S5PC100_VIC1VECTPRIORITY13 		S5PC100_VIC1REG(0x234)
+#define S5PC100_VIC1VECTPRIORITY14 		S5PC100_VIC1REG(0x238)
+#define S5PC100_VIC1VECTPRIORITY15 		S5PC100_VIC1REG(0x23C)
+#define S5PC100_VIC1VECTPRIORITY16 		S5PC100_VIC1REG(0x240)
+#define S5PC100_VIC1VECTPRIORITY17 		S5PC100_VIC1REG(0x244)
+#define S5PC100_VIC1VECTPRIORITY18 		S5PC100_VIC1REG(0x248)
+#define S5PC100_VIC1VECTPRIORITY19 		S5PC100_VIC1REG(0x24C)
+#define S5PC100_VIC1VECTPRIORITY20 		S5PC100_VIC1REG(0x250)
+#define S5PC100_VIC1VECTPRIORITY21 		S5PC100_VIC1REG(0x254)
+#define S5PC100_VIC1VECTPRIORITY22 		S5PC100_VIC1REG(0x258)
+#define S5PC100_VIC1VECTPRIORITY23 		S5PC100_VIC1REG(0x25C)
+#define S5PC100_VIC1VECTPRIORITY24 		S5PC100_VIC1REG(0x260)
+#define S5PC100_VIC1VECTPRIORITY25 		S5PC100_VIC1REG(0x264)
+#define S5PC100_VIC1VECTPRIORITY26 		S5PC100_VIC1REG(0x268)
+#define S5PC100_VIC1VECTPRIORITY27 		S5PC100_VIC1REG(0x26C)
+#define S5PC100_VIC1VECTPRIORITY28 		S5PC100_VIC1REG(0x270)
+#define S5PC100_VIC1VECTPRIORITY29 		S5PC100_VIC1REG(0x274)
+#define S5PC100_VIC1VECTPRIORITY30 		S5PC100_VIC1REG(0x278)
+#define S5PC100_VIC1VECTPRIORITY31 		S5PC100_VIC1REG(0x27C)
+#define S5PC100_VIC1ADDRESS 			S5PC100_VIC1REG(0xF00)
+#define S5PC100_VIC1PERIPHID0 			S5PC100_VIC1REG(0xFE0)
+#define S5PC100_VIC1PERIPHID1 			S5PC100_VIC1REG(0xFE4)
+#define S5PC100_VIC1PERIPHID2 			S5PC100_VIC1REG(0xFE8)
+#define S5PC100_VIC1PCELLID0 			S5PC100_VIC1REG(0xFF0)
+#define S5PC100_VIC1PCELLID1 			S5PC100_VIC1REG(0xFF4)
+#define S5PC100_VIC1PCELLID2 			S5PC100_VIC1REG(0xFF8)
+#define S5PC100_VIC1PCELLID3 			S5PC100_VIC1REG(0xFFC)
+#define S5PC100_VIC2IRQSTATUS 			S5PC100_VIC2REG(0x000)
+#define S5PC100_VIC2FIQSTATUS 			S5PC100_VIC2REG(0x004)
+#define S5PC100_VIC2RAWINTR 			S5PC100_VIC2REG(0x008)
+#define S5PC100_VIC2INTSELECT 			S5PC100_VIC2REG(0x00C)
+#define S5PC100_VIC2INTENABLE 			S5PC100_VIC2REG(0x010)
+#define S5PC100_VIC2INTENCLEAR 			S5PC100_VIC2REG(0x014)
+#define S5PC100_VIC2SOFTINT 			S5PC100_VIC2REG(0x018)
+#define S5PC100_VIC2SOFTINTCLEAR 		S5PC100_VIC2REG(0x01C)
+#define S5PC100_VIC2PROTECTION 			S5PC100_VIC2REG(0x020)
+#define S5PC100_VIC2SWPRIORITYMASK 		S5PC100_VIC2REG(0x024)
+#define S5PC100_VIC2PRIORITYDAISY 		S5PC100_VIC2REG(0x028)
+#define S5PC100_VIC2VECTADDR0 			S5PC100_VIC2REG(0x100)
+#define S5PC100_VIC2VECTADDR1 			S5PC100_VIC2REG(0x104)
+#define S5PC100_VIC2VECTADDR2 			S5PC100_VIC2REG(0x108)
+#define S5PC100_VIC2VECTADDR3 			S5PC100_VIC2REG(0x10C)
+#define S5PC100_VIC2VECTADDR4 			S5PC100_VIC2REG(0x110)
+#define S5PC100_VIC2VECTADDR5 			S5PC100_VIC2REG(0x114)
+#define S5PC100_VIC2VECTADDR6 			S5PC100_VIC2REG(0x118)
+#define S5PC100_VIC2VECTADDR7 			S5PC100_VIC2REG(0x11C)
+#define S5PC100_VIC2VECTADDR8 			S5PC100_VIC2REG(0x120)
+#define S5PC100_VIC2VECTADDR9 			S5PC100_VIC2REG(0x124)
+#define S5PC100_VIC2VECTADDR10 			S5PC100_VIC2REG(0x128)
+#define S5PC100_VIC2VECTADDR11 			S5PC100_VIC2REG(0x12C)
+#define S5PC100_VIC2VECTADDR12 			S5PC100_VIC2REG(0x130)
+#define S5PC100_VIC2VECTADDR13 			S5PC100_VIC2REG(0x134)
+#define S5PC100_VIC2VECTADDR14 			S5PC100_VIC2REG(0x138)
+#define S5PC100_VIC2VECTADDR15 			S5PC100_VIC2REG(0x13C)
+#define S5PC100_VIC2VECTADDR16 			S5PC100_VIC2REG(0x140)
+#define S5PC100_VIC2VECTADDR17 			S5PC100_VIC2REG(0x144)
+#define S5PC100_VIC2VECTADDR18 			S5PC100_VIC2REG(0x148)
+#define S5PC100_VIC2VECTADDR19 			S5PC100_VIC2REG(0x14C)
+#define S5PC100_VIC2VECTADDR20 			S5PC100_VIC2REG(0x150)
+#define S5PC100_VIC2VECTADDR21 			S5PC100_VIC2REG(0x154)
+#define S5PC100_VIC2VECTADDR22 			S5PC100_VIC2REG(0x158)
+#define S5PC100_VIC2VECTADDR23 			S5PC100_VIC2REG(0x15C)
+#define S5PC100_VIC2VECTADDR24 			S5PC100_VIC2REG(0x160)
+#define S5PC100_VIC2VECTADDR25 			S5PC100_VIC2REG(0x164)
+#define S5PC100_VIC2VECTADDR26 			S5PC100_VIC2REG(0x168)
+#define S5PC100_VIC2VECTADDR27 			S5PC100_VIC2REG(0x16C)
+#define S5PC100_VIC2VECTADDR28 			S5PC100_VIC2REG(0x170)
+#define S5PC100_VIC2VECTADDR29 			S5PC100_VIC2REG(0x174)
+#define S5PC100_VIC2VECTADDR30 			S5PC100_VIC2REG(0x178)
+#define S5PC100_VIC2VECTADDR31 			S5PC100_VIC2REG(0x17C)
+#define S5PC100_VIC2VECPRIORITY0 		S5PC100_VIC2REG(0x200)
+#define S5PC100_VIC2VECTPRIORITY1 		S5PC100_VIC2REG(0x204)
+#define S5PC100_VIC2VECTPRIORITY2 		S5PC100_VIC2REG(0x208)
+#define S5PC100_VIC2VECTPRIORITY3 		S5PC100_VIC2REG(0x20C)
+#define S5PC100_VIC2VECTPRIORITY4 		S5PC100_VIC2REG(0x210)
+#define S5PC100_VIC2VECTPRIORITY5 		S5PC100_VIC2REG(0x214)
+#define S5PC100_VIC2VECTPRIORITY6 		S5PC100_VIC2REG(0x218)
+#define S5PC100_VIC2VECTPRIORITY7 		S5PC100_VIC2REG(0x21C)
+#define S5PC100_VIC2VECTPRIORITY8 		S5PC100_VIC2REG(0x220)
+#define S5PC100_VIC2VECTPRIORITY9 		S5PC100_VIC2REG(0x224)
+#define S5PC100_VIC2VECTPRIORITY10 		S5PC100_VIC2REG(0x228)
+#define S5PC100_VIC2VECTPRIORITY11 		S5PC100_VIC2REG(0x22C)
+#define S5PC100_VIC2VECTPRIORITY12 		S5PC100_VIC2REG(0x230)
+#define S5PC100_VIC2VECTPRIORITY13 		S5PC100_VIC2REG(0x234)
+#define S5PC100_VIC2VECTPRIORITY14 		S5PC100_VIC2REG(0x238)
+#define S5PC100_VIC2VECTPRIORITY15 		S5PC100_VIC2REG(0x23C)
+#define S5PC100_VIC2VECTPRIORITY16 		S5PC100_VIC2REG(0x240)
+#define S5PC100_VIC2VECTPRIORITY17 		S5PC100_VIC2REG(0x244)
+#define S5PC100_VIC2VECTPRIORITY18 		S5PC100_VIC2REG(0x248)
+#define S5PC100_VIC2VECTPRIORITY19 		S5PC100_VIC2REG(0x24C)
+#define S5PC100_VIC2VECTPRIORITY20 		S5PC100_VIC2REG(0x250)
+#define S5PC100_VIC2VECTPRIORITY21 		S5PC100_VIC2REG(0x254)
+#define S5PC100_VIC2VECTPRIORITY22 		S5PC100_VIC2REG(0x258)
+#define S5PC100_VIC2VECTPRIORITY23 		S5PC100_VIC2REG(0x25C)
+#define S5PC100_VIC2VECTPRIORITY24 		S5PC100_VIC2REG(0x260)
+#define S5PC100_VIC2VECTPRIORITY25 		S5PC100_VIC2REG(0x264)
+#define S5PC100_VIC2VECTPRIORITY26 		S5PC100_VIC2REG(0x268)
+#define S5PC100_VIC2VECTPRIORITY27 		S5PC100_VIC2REG(0x26C)
+#define S5PC100_VIC2VECTPRIORITY28 		S5PC100_VIC2REG(0x270)
+#define S5PC100_VIC2VECTPRIORITY29 		S5PC100_VIC2REG(0x274)
+#define S5PC100_VIC2VECTPRIORITY30 		S5PC100_VIC2REG(0x278)
+#define S5PC100_VIC2VECTPRIORITY31 		S5PC100_VIC2REG(0x27C)
+#define S5PC100_VIC2ADDRESS 			S5PC100_VIC2REG(0xF00)
+#define S5PC100_VIC2PERIPHID0 			S5PC100_VIC2REG(0xFE0)
+#define S5PC100_VIC2PERIPHID1 			S5PC100_VIC2REG(0xFE4)
+#define S5PC100_VIC2PERIPHID2 			S5PC100_VIC2REG(0xFE8)
+#define S5PC100_VIC2PERIPHID3 			S5PC100_VIC2REG(0xFEC)
+#define S5PC100_VIC2PCELLID0 			S5PC100_VIC2REG(0xFF0)
+#define S5PC100_VIC2PCELLID1 			S5PC100_VIC2REG(0xFF4)
+#define S5PC100_VIC2PCELLID2 			S5PC100_VIC2REG(0xFF8)
+#define S5PC100_VIC2PCELLID3 			S5PC100_VIC2REG(0xFFC)
+
+#endif /* __ASM_ARCH_REGS_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/regs-mem.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/regs-mem.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/regs-mem.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/regs-mem.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,86 @@
+/* arch/arm/mach-s5pc100/include/mach/regs-mem.h
+ *
+ * Copyright (c) 2004 Simtec Electronics <linux@simtec.co.uk>
+ *		http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S5PC100 Memory Control register definitions
+*/
+
+#ifndef __ASM_ARM_MEMREGS_H
+#define __ASM_ARM_MEMREGS_H
+
+#ifndef S5PC1XX_MEMREG
+#define S5PC1XX_MEMREG(x) (S5PC1XX_VA_SROMC + (x))
+#endif
+
+
+/* Bank Idle Cycle Control Registers 0-5 */
+#define S5PC1XX_SROM_BW		S5PC1XX_MEMREG(0x00)
+
+#define S5PC1XX_SROM_BC0	S5PC1XX_MEMREG(0x04)
+#define S5PC1XX_SROM_BC1	S5PC1XX_MEMREG(0x08)
+#define S5PC1XX_SROM_BC2	S5PC1XX_MEMREG(0x0C)
+#define S5PC1XX_SROM_BC3	S5PC1XX_MEMREG(0x10)
+#define S5PC1XX_SROM_BC4	S5PC1XX_MEMREG(0x14)
+#define S5PC1XX_SROM_BC5	S5PC1XX_MEMREG(0x18)
+
+/* SROM BW */
+#define S5PC1XX_SROM_BW_DATA_WIDTH0_8BIT	(0 << 0)
+#define S5PC1XX_SROM_BW_DATA_WIDTH0_16BIT	(1 << 0)
+#define S5PC1XX_SROM_BW_DATA_WIDTH0_MASK	(1 << 0)
+
+#define S5PC1XX_SROM_BW_WAIT_ENABLE0_DISABLE	(0 << 2)
+#define S5PC1XX_SROM_BW_WAIT_ENABLE0_ENABLE	(1 << 2)
+#define S5PC1XX_SROM_BW_WAIT_ENABLE0_MASK	(1 << 2)
+
+#define S5PC1XX_SROM_BW_BYTE_ENABLE0_DISABLE	(0 << 3)
+#define S5PC1XX_SROM_BW_BYTE_ENABLE0_ENABLE	(1 << 3)
+#define S5PC1XX_SROM_BW_BYTE_ENABLE0_MASK	(1 << 3)
+
+#define S5PC1XX_SROM_BW_DATA_WIDTH1_8BIT	(0 << 4)
+#define S5PC1XX_SROM_BW_DATA_WIDTH1_16BIT	(1 << 4)
+#define S5PC1XX_SROM_BW_DATA_WIDTH1_MASK	(1 << 4)
+
+#define S5PC1XX_SROM_BW_WAIT_ENABLE1_DISABLE	(0 << 6)
+#define S5PC1XX_SROM_BW_WAIT_ENABLE1_ENABLE	(1 << 6)
+#define S5PC1XX_SROM_BW_WAIT_ENABLE1_MASK	(1 << 6)
+
+#define S5PC1XX_SROM_BW_BYTE_ENABLE1_DISABLE	(0 << 7)
+#define S5PC1XX_SROM_BW_BYTE_ENABLE1_ENABLE	(1 << 7)
+#define S5PC1XX_SROM_BW_BYTE_ENABLE1_MASK	(1 << 7)
+
+#define S5PC1XX_SROM_BW_DATA_WIDTH2_8BIT	(0 << 8)
+#define S5PC1XX_SROM_BW_DATA_WIDTH2_16BIT	(1 << 8)
+#define S5PC1XX_SROM_BW_DATA_WIDTH2_MASK	(1 << 8)
+
+#define S5PC1XX_SROM_BW_DATA_WIDTH3_8BIT	(0 << 12)
+#define S5PC1XX_SROM_BW_DATA_WIDTH3_16BIT	(1 << 12)
+#define S5PC1XX_SROM_BW_DATA_WIDTH3_MASK	(1 << 12)
+
+#define S5PC1XX_SROM_BW_ADDR_MODE3_HWORD_ADDR	(0 << 13)
+#define S5PC1XX_SROM_BW_ADDR_MODE3_BYTE_ADDR	(1 << 13)
+#define S5PC1XX_SROM_BW_ADDR_MODE3_MASK		(1 << 13)
+
+#define S5PC1XX_SROM_BW_WAIT_ENABLE3_DISABLE	(0 << 14)
+#define S5PC1XX_SROM_BW_WAIT_ENABLE3_ENABLE	(1 << 14)
+#define S5PC1XX_SROM_BW_WAIT_ENABLE3_MASK	(1 << 14)
+
+#define S5PC1XX_SROM_BW_BYTE_ENABLE3_DISABLE	(0 << 15)
+#define S5PC1XX_SROM_BW_BYTE_ENABLE3_ENABLE	(1 << 15)
+#define S5PC1XX_SROM_BW_BYTE_ENABLE3_MASK	(1 << 15)
+
+/* SROM BCn */
+#define S5PC1XX_SROM_BCn_TACS(x)		(x << 28)
+#define S5PC1XX_SROM_BCn_TCOS(x)		(x << 24)
+#define S5PC1XX_SROM_BCn_TACC(x)		(x << 16)
+#define S5PC1XX_SROM_BCn_TCOH(x)		(x << 12)
+#define S5PC1XX_SROM_BCn_TCAH(x)		(x << 8)
+#define S5PC1XX_SROM_BCn_TACP(x)		(x << 4)
+#define S5PC1XX_SROM_BCn_PMC_NORMAL		(0 << 0)
+#define S5PC1XX_SROM_BCn_PMC_4			(1 << 0)
+
+#endif /* __ASM_ARM_MEMREGS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/system.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/system.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/system.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/system.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,36 @@
+/* linux/arch/arm/mach-s5pc100/include/mach/system.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5PC100 - system implementation
+ */
+
+ #include <mach/idle.h>
+
+#ifndef __ASM_ARCH_SYSTEM_H
+#define __ASM_ARCH_SYSTEM_H __FILE__
+
+void (*s5pc1xx_idle)(void);
+
+void s5pc1xx_default_idle(void)
+{
+	printk("default idle function\n");
+}
+
+static void arch_idle(void)
+{
+	if(s5pc1xx_idle != NULL)
+		(s5pc1xx_idle)();
+	else
+		s5pc1xx_default_idle();
+}
+
+static void arch_reset(char mode)
+{
+	/* nothing here yet */
+}
+
+#endif /* __ASM_ARCH_IRQ_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/tick.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/tick.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/tick.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/tick.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,29 @@
+/* linux/arch/arm/mach-s5pc100/include/mach/tick.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S5PC1XX - Timer tick support definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_TICK_H
+#define __ASM_ARCH_TICK_H __FILE__
+
+/* note, the timer interrutps turn up in 2 places, the vic and then
+ * the timer block. We take the VIC as the base at the moment.
+ */
+static inline u32 s5pc1xx_ostimer_pending(void)
+{
+	u32 pend = __raw_readl(S3C_VA_VIC0 + VIC_RAW_STATUS);
+	return pend & 1 << (IRQ_SYSTIMER - S5PC1XX_IRQ_VIC0(0));
+}
+
+#define TICK_MAX	(0xffffffff)
+
+#endif /* __ASM_ARCH_6400_TICK_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/uncompress.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/uncompress.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/uncompress.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/uncompress.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,26 @@
+/* arch/arm/mach-s5pc100/include/mach/uncompress.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S5PC100 - uncompress code
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_UNCOMPRESS_H
+#define __ASM_ARCH_UNCOMPRESS_H
+
+#include <mach/map.h>
+#include <plat/uncompress.h>
+
+static void arch_detect_cpu(void)
+{
+	/* we do not need to do any cpu detection here at the moment. */
+}
+
+#endif /* __ASM_ARCH_UNCOMPRESS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/include/mach/usb-control.h linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/usb-control.h
--- linux-2.6.28/arch/arm/mach-s5pc100/include/mach/usb-control.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/include/mach/usb-control.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,41 @@
+/* arch/arm/mach-s3c2410/include/mach/usb-control.h
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C2410 - usb port information
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_USBCONTROL_H
+#define __ASM_ARCH_USBCONTROL_H "arch/arm/mach-s5pc100/include/mach/usb-control.h"
+
+#define S3C_HCDFLG_USED	(1)
+
+struct s3c2410_hcd_port {
+	unsigned char	flags;
+	unsigned char	power;
+	unsigned char	oc_status;
+	unsigned char	oc_changed;
+};
+
+struct s3c2410_hcd_info {
+	struct usb_hcd		*hcd;
+	struct s3c2410_hcd_port	port[2];
+
+	void		(*power_control)(int port, int to);
+	void		(*enable_oc)(struct s3c2410_hcd_info *, int on);
+	void		(*report_oc)(struct s3c2410_hcd_info *, int ports);
+};
+
+static void inline s3c2410_usb_report_oc(struct s3c2410_hcd_info *info, int ports)
+{
+	if (info->report_oc != NULL) {
+		(info->report_oc)(info, ports);
+	}
+}
+
+#endif /*__ASM_ARCH_USBCONTROL_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/leds-s5pc100.c linux-2.6.28.6/arch/arm/mach-s5pc100/leds-s5pc100.c
--- linux-2.6.28/arch/arm/mach-s5pc100/leds-s5pc100.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/leds-s5pc100.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,120 @@
+/*
+ * linux/arch/arm/mach-s5pc100/leds-s5pc100.c
+ *
+ * Copyright 2008 by Samsung Electronics Incorporated
+ *
+ * There are 16 LEDs on the debug board (all green); four may be used
+ * for logical 'green', 'amber', 'red', and 'blue' (after "claiming").
+ *
+ * The "surfer" expansion board and H2 sample board also have two-color
+ * green+red LEDs (in parallel), used here for timer and idle indicators.
+ */
+#include <linux/init.h>
+#include <linux/kernel_stat.h>
+#include <linux/sched.h>
+#include <linux/gpio.h>
+
+#include <asm/io.h>
+#include <asm/leds.h>
+#include <asm/system.h>
+#include <asm/mach-types.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-h0.h>
+#include <mach/map.h>
+
+#include "leds.h"
+
+#define LED0	S5PC1XX_GPH1(4)
+#define LED1	S5PC1XX_GPH1(5)
+#define LED2	S5PC1XX_GPH1(6)
+#define LED3	S5PC1XX_GPH1(7)
+
+#define LED_STATE_ENABLED	1<<0
+#define LED_STATE_CLAIMED	1<<1
+#define LED_TIMER_ON		1<<2
+#define LED_IDLE		1<<3
+
+
+void s5pc100_leds_event(led_event_t evt)
+{
+	unsigned long flags;
+
+	static u16 led_state, hw_led_state;
+
+	local_irq_save(flags);
+
+	if (!(led_state & LED_STATE_ENABLED) && evt != led_start)
+		goto done;
+
+	switch (evt) {
+	case led_start:
+		led_state |= LED_STATE_ENABLED;
+		break;
+
+	case led_stop:
+	case led_halted:
+		/* all leds off during suspend or shutdown */
+		led_state &= ~LED_STATE_ENABLED;
+		break;
+
+	case led_claim:
+		led_state |= LED_STATE_CLAIMED;
+		hw_led_state = 0;
+		break;
+
+	case led_release:
+		led_state &= ~LED_STATE_CLAIMED;
+		break;
+
+#ifdef CONFIG_LEDS_TIMER
+	case led_timer:
+		led_state ^= LED_TIMER_ON;
+
+		if (led_state & LED_TIMER_ON)
+			gpio_set_value(LED0, 1);
+		else {
+			gpio_set_value(LED0, 0);
+		}
+
+		break;
+#endif
+
+#ifdef CONFIG_LEDS_CPU
+	case led_idle_start:
+		gpio_set_value(LED1, 1);
+		break;
+
+	case led_idle_end:
+		gpio_set_value(LED1, 0);
+		break;
+#endif
+
+	case led_green_on:
+		break;
+	case led_green_off:
+		break;
+
+	case led_amber_on:
+		break;
+	case led_amber_off:
+		break;
+
+	case led_red_on:
+		break;
+	case led_red_off:
+		break;
+
+	case led_blue_on:
+		break;
+	case led_blue_off:
+		break;
+
+	default:
+		break;
+	}
+
+done:
+	local_irq_restore(flags);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/leds.c linux-2.6.28.6/arch/arm/mach-s5pc100/leds.c
--- linux-2.6.28/arch/arm/mach-s5pc100/leds.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/leds.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,91 @@
+/*
+ * linux/arch/arm/mach-s5pc100/leds.c
+ *
+ * S5PC100 LEDs dispatcher
+ */
+#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/input.h>
+#include <linux/init.h>
+#include <linux/serio.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/miscdevice.h>
+#include <linux/clk.h>
+#include <linux/mutex.h>
+#include <linux/gpio.h>
+
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <asm/leds.h>
+#include <asm/mach-types.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-h0.h>
+
+#include <mach/map.h>
+#include <asm/mach/irq.h>
+#include "leds.h"
+
+static irqreturn_t eint11_switch(int irq, void *dev_id)
+{
+	
+	printk("EINT11 interrupt occures!!!\n");
+	return IRQ_HANDLED;
+}
+
+
+static int __init
+s5pc100_leds_init(void)
+{
+	if (machine_is_smdkc100())
+		leds_event = s5pc100_leds_event;
+	else
+		return -1;
+
+	if (machine_is_smdkc100())
+	{
+               gpio_request(S5PC1XX_GPH1(4), "GPH1");
+               gpio_direction_output(S5PC1XX_GPH1(4), 1);
+               if(gpio_get_value(S5PC1XX_GPH1(4)) == 0)
+               {
+                      printk(KERN_WARNING "LED: can't set GPH1(4) to output mode\n");
+               }
+
+               gpio_request(S5PC1XX_GPH1(5), "GPH1");
+               gpio_direction_output(S5PC1XX_GPH1(5), 1);
+               if(gpio_get_value(S5PC1XX_GPH1(5)) == 0)
+               {
+                      printk(KERN_WARNING "LED: can't set GPH1(5) to output mode\n");
+               }
+
+               gpio_request(S5PC1XX_GPH1(6), "GPH1");
+               gpio_direction_output(S5PC1XX_GPH1(6), 1);
+               if(gpio_get_value(S5PC1XX_GPH1(6)) == 0)
+               {
+                      printk(KERN_WARNING "LED: can't set GPH1(6) to output mode\n");
+               }
+
+               gpio_request(S5PC1XX_GPH1(7), "GPH1");
+               gpio_direction_output(S5PC1XX_GPH1(7), 1);
+               if(gpio_get_value(S5PC1XX_GPH1(7)) == 0)
+               {
+                      printk(KERN_WARNING "LED: can't set GPH1(7) to output mode\n");
+               }
+	}
+
+	/* Get irqs */
+	set_irq_type(IRQ_EINT11, IRQ_TYPE_EDGE_FALLING);
+	s3c_gpio_setpull(S5PC1XX_GPH1(3), S3C_GPIO_PULL_NONE);
+        if (request_irq(IRQ_EINT11, eint11_switch, IRQF_DISABLED, "EINT11", NULL)) {
+                return -EIO;
+        }
+
+	leds_event(led_start);
+	return 0;
+}
+
+__initcall(s5pc100_leds_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/leds.h linux-2.6.28.6/arch/arm/mach-s5pc100/leds.h
--- linux-2.6.28/arch/arm/mach-s5pc100/leds.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/leds.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1 @@
+extern void s5pc100_leds_event(led_event_t evt);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/mach-smdkc100.c linux-2.6.28.6/arch/arm/mach-s5pc100/mach-smdkc100.c
--- linux-2.6.28/arch/arm/mach-s5pc100/mach-smdkc100.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/mach-smdkc100.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,473 @@
+/* linux/arch/arm/mach-s5pc100/mach-smdkc100.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/timer.h>
+#include <linux/init.h>
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+#include <linux/io.h>
+#include <linux/i2c.h>
+#include <linux/delay.h>
+#include <linux/mtd/nand.h>
+#include <linux/mtd/partitions.h>
+#include <linux/clk.h>
+#include <linux/mm.h>
+#include <linux/pwm_backlight.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+#include <asm/mach/irq.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+#include <mach/regs-mem.h>
+#include <mach/gpio.h>
+
+#include <asm/irq.h>
+#include <asm/mach-types.h>
+
+#include <plat/regs-serial.h>
+#include <plat/regs-rtc.h>
+#include <plat/iic.h>
+#include <plat/fimc.h>
+#include <plat/csis.h>
+
+#include <plat/nand.h>
+#include <plat/partition.h>
+#include <plat/s5pc100.h>
+#include <plat/clock.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+#include <plat/ts.h>
+#include <plat/adc.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-k0.h>
+#include <plat/regs-clock.h>
+
+#ifdef CONFIG_USB_SUPPORT
+#include <plat/regs-otg.h>
+#include <plat/pll.h>
+#include <linux/usb/ch9.h>
+
+/* S3C_USB_CLKSRC 0: EPLL 1: CLK_48M */
+#define S3C_USB_CLKSRC	1
+#define OTGH_PHY_CLK_VALUE      (0x22)  /* UTMI Interface, otg_phy input clk 12Mhz Oscillator */
+#endif
+
+#if defined(CONFIG_PM)
+#include <plat/pm.h>
+#endif
+
+#define UCON S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK
+#define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB
+#define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE
+
+extern struct sys_timer s5pc1xx_timer;
+extern void s5pc1xx_reserve_bootmem(void);
+
+static struct s3c24xx_uart_clksrc smdkc100_serial_clocks[] = {
+#if defined(CONFIG_SERIAL_S5PC1XX_HSUART)
+/* HS-UART Clock using SCLK */
+        [0] = {
+                .name           = "uclk1",
+                .divisor        = 1,
+                .min_baud       = 0,
+                .max_baud       = 0,
+        },
+#else
+        [0] = {
+                .name           = "pclk",
+                .divisor        = 1,
+                .min_baud       = 0,
+                .max_baud       = 0,
+        },
+#endif
+};
+
+static struct s3c2410_uartcfg smdkc100_uartcfgs[] __initdata = {
+	[0] = {
+		.hwport	     = 0,
+		.flags	     = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+                .clocks      = smdkc100_serial_clocks,
+                .clocks_size = ARRAY_SIZE(smdkc100_serial_clocks),
+	},
+	[1] = {
+		.hwport	     = 1,
+		.flags	     = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+                .clocks      = smdkc100_serial_clocks,
+                .clocks_size = ARRAY_SIZE(smdkc100_serial_clocks),
+	},
+        [2] = {
+                .hwport      = 2,
+                .flags       = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+                .clocks      = smdkc100_serial_clocks,
+                .clocks_size = ARRAY_SIZE(smdkc100_serial_clocks),
+        },
+        [3] = {
+                .hwport      = 3,
+                .flags       = 0,
+		.ucon	     = S3C64XX_UCON_DEFAULT,
+		.ulcon	     = S3C64XX_ULCON_DEFAULT,
+		.ufcon	     = S3C64XX_UFCON_DEFAULT,
+                .clocks      = smdkc100_serial_clocks,
+                .clocks_size = ARRAY_SIZE(smdkc100_serial_clocks),
+        },
+};
+
+struct map_desc smdkc100_iodesc[] = {};
+
+static struct platform_device *smdkc100_devices[] __initdata = {
+	&s3c_device_lcd,
+        &s3c_device_nand,
+        &s3c_device_onenand,
+	&s3c_device_keypad,
+	&s3c_device_ts,
+	&s3c_device_adc,
+        &s3c_device_rtc,
+	&s3c_device_smc911x,
+	&s3c_device_i2c0,
+	&s3c_device_i2c1,
+        &s3c_device_usb,
+	&s3c_device_usbgadget,
+	&s3c_device_usb_otghcd,
+        &s3c_device_hsmmc0,
+        &s3c_device_hsmmc1,
+        &s3c_device_spi0,
+        &s3c_device_spi1,
+	&s3c_device_mfc,
+	&s3c_device_jpeg,
+	&s3c_device_fimc0,
+	&s3c_device_fimc1,
+	&s3c_device_fimc2,
+	&s3c_device_ac97,
+	&s3c_device_wdt,
+	&s3c_device_g3d,
+	&s3c_device_g2d,
+	&s3c_device_rotator,
+	&s3c_device_csis,
+#if defined(CONFIG_TIMER_PWM)
+        &s3c_device_timer[0],
+        &s3c_device_timer[1],
+#endif
+};
+
+
+static struct s3c_ts_mach_info s3c_ts_platform __initdata = {
+	.delay 			= 10000,
+	.presc 			= 49,
+	.oversampling_shift	= 2,
+	.resol_bit 		= 12,
+	.s3c_adc_con		= ADC_TYPE_2,
+};
+
+static struct s3c_adc_mach_info s3c_adc_platform __initdata = {
+        /* s5pc100 supports 12-bit resolution */
+        .delay  = 10000,
+        .presc  = 49,
+        .resolution = 12,
+};
+
+static struct i2c_board_info i2c_devs0[] __initdata = {
+	{ I2C_BOARD_INFO("24c08", 0x50), },
+};
+
+static struct i2c_board_info i2c_devs1[] __initdata = {
+	{ I2C_BOARD_INFO("24c128", 0x57), },
+};
+
+#if defined(CONFIG_TIMER_PWM)
+static struct platform_pwm_backlight_data smdk_backlight_data = {
+        .pwm_id         = 0,
+        .max_brightness = 255,
+        .dft_brightness = 255,
+        .pwm_period_ns  = 78770,
+};
+
+static struct platform_device smdk_backlight_device = {
+        .name           = "pwm-backlight",
+        .dev            = {
+                .parent = &s3c_device_timer[0].dev,
+                .platform_data = &smdk_backlight_data,
+        },
+};
+
+static void __init smdk_backlight_register(void)
+{
+        int ret = platform_device_register(&smdk_backlight_device);
+        if (ret)
+                printk(KERN_ERR "smdk: failed to register backlight device: %d\n", ret);
+}
+#else
+#define smdk_backlight_register()       do { } while (0)
+#endif
+
+static void __init smdkc100_map_io(void)
+{
+	s3c_device_nand.name = "s5pc100-nand";
+	s5pc1xx_init_io(smdkc100_iodesc, ARRAY_SIZE(smdkc100_iodesc));
+	s3c24xx_init_clocks(0);
+	s3c24xx_init_uarts(smdkc100_uartcfgs, ARRAY_SIZE(smdkc100_uartcfgs));
+	s5pc1xx_reserve_bootmem();
+}
+
+static void __init smdkc100_smc911x_set(void)
+{
+	unsigned int tmp;
+
+	tmp = __raw_readl(S5PC1XX_GPK0CON);
+	tmp &=~S5PC1XX_GPK0_3_MASK;
+	tmp |=(S5PC1XX_GPK0_3_SROM_CSn3);
+	__raw_writel(tmp, S5PC1XX_GPK0CON);
+
+	tmp = __raw_readl(S5PC1XX_SROM_BW);
+	tmp &= ~(S5PC1XX_SROM_BW_BYTE_ENABLE3_MASK | S5PC1XX_SROM_BW_WAIT_ENABLE3_MASK |
+		S5PC1XX_SROM_BW_ADDR_MODE3_MASK | S5PC1XX_SROM_BW_DATA_WIDTH3_MASK);
+	tmp |= S5PC1XX_SROM_BW_DATA_WIDTH3_16BIT;
+
+	__raw_writel(tmp, S5PC1XX_SROM_BW);
+
+	__raw_writel((0x0<<28)|(0x4<<24)|(0xd<<16)|(0x1<<12)|(0x4<<8)|(0x6<<4)|(0x0<<0), S5PC1XX_SROM_BC3);
+	
+	__raw_writel(S5PC1XX_SROM_BCn_TACS(1) | S5PC1XX_SROM_BCn_TCOS(0) |
+			S5PC1XX_SROM_BCn_TACC(27) | S5PC1XX_SROM_BCn_TCOH(0) |
+			S5PC1XX_SROM_BCn_TCAH(2) | S5PC1XX_SROM_BCn_TACP(0) |
+			S5PC1XX_SROM_BCn_PMC_NORMAL, S5PC1XX_SROM_BC3);
+}
+
+static void __init smdkc100_machine_init(void)
+{
+        s3c_device_nand.dev.platform_data = &s3c_nand_mtd_part_info;
+	s3c_device_onenand.dev.platform_data = &s3c_onenand_data;
+
+	smdkc100_smc911x_set();
+
+	s3c_ts_set_platdata(&s3c_ts_platform);
+	s3c_adc_set_platdata(&s3c_adc_platform);
+
+	/* i2c */
+	s3c_i2c0_set_platdata(NULL);
+	s3c_i2c1_set_platdata(NULL);
+	i2c_register_board_info(0, i2c_devs0, ARRAY_SIZE(i2c_devs0));
+	i2c_register_board_info(1, i2c_devs1, ARRAY_SIZE(i2c_devs1));
+
+	/* fimc */
+	s3c_fimc0_set_platdata(NULL);
+	s3c_fimc1_set_platdata(NULL);
+	s3c_fimc2_set_platdata(NULL);
+
+	/* mipi-csi2 */
+	s3c_csis_set_platdata(NULL);
+
+#ifdef CONFIG_VIDEO_FIMC
+	s3c_fimc_reset_camera();
+#endif
+	
+	/* Setting up the HS-MMC clock for 133MHz using doutMpll */
+	writel((readl(S5P_CLK_DIV3) & ~(0xfff << 0)), S5P_CLK_DIV3);
+
+	platform_add_devices(smdkc100_devices, ARRAY_SIZE(smdkc100_devices));
+
+#if defined(CONFIG_PM)
+	s5pc1xx_pm_init();
+#endif
+        smdk_backlight_register();
+}
+
+MACHINE_START(SMDKC100, "SMDKC100")
+	/* Maintainer: Ben Dooks <ben@fluff.org> */
+	.phys_io	= S3C_PA_UART & 0xfff00000,
+	.io_pg_offst	= (((u32)S3C_VA_UART) >> 18) & 0xfffc,
+	.boot_params	= S5PC1XX_PA_SDRAM + 0x100,
+
+	.init_irq	= s5pc100_init_irq,
+	.map_io		= smdkc100_map_io,
+	.init_machine	= smdkc100_machine_init,
+	.timer		= &s5pc1xx_timer,
+MACHINE_END
+
+
+#ifdef CONFIG_USB_SUPPORT
+/* Initializes OTG Phy. */
+void otg_phy_init(void) {
+        writel(readl(S5P_OTHERS)|S5P_OTHERS_USB_SIG_MASK, S5P_OTHERS);
+        writel(0x0, S3C_USBOTG_PHYPWR);         /* Power up */
+        writel(OTGH_PHY_CLK_VALUE, S3C_USBOTG_PHYCLK);
+        writel(0x7, S3C_USBOTG_RSTCON);
+
+        udelay(50);
+        writel(0x0, S3C_USBOTG_RSTCON);
+        udelay(50);
+}
+EXPORT_SYMBOL(otg_phy_init);
+
+/* USB Control request data struct must be located here for DMA transfer */
+struct usb_ctrlrequest usb_ctrl __attribute__((aligned(8)));
+EXPORT_SYMBOL(usb_ctrl);
+
+/* OTG PHY Power Off */
+void otg_phy_off(void) {
+        writel(readl(S3C_USBOTG_PHYCLK) | (0X1 << 4), S3C_USBOTG_PHYCLK);
+        writel(readl(S5P_OTHERS)&~S5P_OTHERS_USB_SIG_MASK, S5P_OTHERS);
+}
+EXPORT_SYMBOL(otg_phy_off);
+
+void usb_host_clk_en(void) {
+	struct clk *otg_clk;
+
+        switch (S3C_USB_CLKSRC) {
+        case 0: /* epll clk */
+                /* Setting the epll clk to 48 MHz, P=3, M=96, S=3 */
+                writel((readl(S5P_EPLL_CON) & ~(S5P_EPLL_MASK)) | (S5P_EPLL_EN \
+						| S5P_EPLLVAL(96,3,3)), S5P_EPLL_CON);
+                writel((readl(S5P_CLK_SRC0) | S5P_CLKSRC0_EPLL_MASK), S5P_CLK_SRC0);
+                writel((readl(S5P_CLK_SRC1)& ~S5P_CLKSRC1_UHOST_MASK), S5P_CLK_SRC1);
+
+                /* USB host clock divider ratio is 1 */
+                writel((readl(S5P_CLK_DIV2)& ~S5P_CLKDIV2_UHOST_MASK), S5P_CLK_DIV2);
+                break;
+
+	case 1: /* oscillator 12M clk */
+		otg_clk = clk_get(NULL, "otg");
+		clk_enable(otg_clk);
+		otg_phy_init();
+		writel((readl(S5P_CLK_SRC1) | S5P_CLKSRC1_CLK48M_MASK) \
+						| S5P_CLKSRC1_UHOST_MASK, S5P_CLK_SRC1);
+
+		//USB host colock divider ratio is 1
+		writel(readl(S5P_CLK_DIV2)& ~S5P_CLKDIV2_UHOST_MASK, S5P_CLK_DIV2);
+		break;
+	/* Add other clock sources here */
+
+        default:
+                printk(KERN_INFO "Unknown USB Host Clock Source\n");
+                BUG();
+                break;
+        }
+
+        writel(readl(S5P_CLKGATE_D10)|S5P_CLKGATE_D10_USBHOST, S5P_CLKGATE_D10);
+        writel(readl(S5P_SCLKGATE0)|S5P_CLKGATE_SCLK0_USBHOST, S5P_SCLKGATE0);
+
+}
+
+EXPORT_SYMBOL(usb_host_clk_en);
+#endif
+
+#if defined(CONFIG_RTC_DRV_S3C)
+/* RTC common Function for samsung APs*/
+unsigned int s3c_rtc_set_bit_byte(void __iomem *base, uint offset, uint val)
+{
+        writeb(val, base + offset);
+
+        return 0;
+}
+
+unsigned int s3c_rtc_read_alarm_status(void __iomem *base)
+{
+        return 1;
+}
+
+void s3c_rtc_set_pie(void __iomem *base, uint to)
+{
+        unsigned int tmp;
+
+        tmp = readw(base + S3C2410_RTCCON) & ~S3C_RTCCON_TICEN;
+
+        if (to)
+                tmp |= S3C_RTCCON_TICEN;
+
+        writew(tmp, base + S3C2410_RTCCON);
+}
+
+void s3c_rtc_set_freq_regs(void __iomem *base, uint freq, uint s3c_freq)
+{
+        unsigned int tmp;
+
+        tmp = readw(base + S3C2410_RTCCON) & (S3C_RTCCON_TICEN | S3C2410_RTCCON_RTCEN );
+        writew(tmp, base + S3C2410_RTCCON);
+        s3c_freq = freq;
+        tmp = (32768 / freq)-1;
+        writel(tmp, base + S3C2410_TICNT);
+}
+
+void s3c_rtc_enable_set(struct platform_device *pdev,void __iomem *base, int en)
+{
+        unsigned int tmp;
+
+        if (!en) {
+                tmp = readw(base + S3C2410_RTCCON);
+                writew(tmp & ~ (S3C2410_RTCCON_RTCEN | S3C_RTCCON_TICEN), base + S3C2410_RTCCON);
+        } else {
+                /* re-enable the device, and check it is ok */
+                if ((readw(base+S3C2410_RTCCON) & S3C2410_RTCCON_RTCEN) == 0){
+                        dev_info(&pdev->dev, "rtc disabled, re-enabling\n");
+
+                        tmp = readw(base + S3C2410_RTCCON);
+                        writew(tmp|S3C2410_RTCCON_RTCEN, base+S3C2410_RTCCON);
+                }
+
+                if ((readw(base + S3C2410_RTCCON) & S3C2410_RTCCON_CNTSEL)){
+                        dev_info(&pdev->dev, "removing RTCCON_CNTSEL\n");
+
+                        tmp = readw(base + S3C2410_RTCCON);
+                        writew(tmp& ~S3C2410_RTCCON_CNTSEL, base+S3C2410_RTCCON);
+                }
+
+                if ((readw(base + S3C2410_RTCCON) & S3C2410_RTCCON_CLKRST)){
+                        dev_info(&pdev->dev, "removing RTCCON_CLKRST\n");
+
+                        tmp = readw(base + S3C2410_RTCCON);
+                        writew(tmp & ~S3C2410_RTCCON_CLKRST, base+S3C2410_RTCCON);
+                }
+        }
+}
+#endif
+
+#if defined(CONFIG_KEYPAD_S3C) || defined (CONFIG_KEYPAD_S3C_MODULE)
+void s3c_setup_keypad_cfg_gpio(int rows, int columns)
+{
+	unsigned int gpio;
+	unsigned int end;
+
+	end = S5PC1XX_GPH3(rows);
+
+	/* Set all the necessary GPH2 pins to special-function 0 */
+	for (gpio = S5PC1XX_GPH3(0); gpio < end; gpio++) {
+		s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(3));
+		s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+	}
+
+	end = S5PC1XX_GPH2(columns);
+
+	/* Set all the necessary GPK pins to special-function 0 */
+	for (gpio = S5PC1XX_GPH2(0); gpio < end; gpio++) {
+		s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(3));
+		s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+	}
+}
+
+EXPORT_SYMBOL(s3c_setup_keypad_cfg_gpio);
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/pm.c linux-2.6.28.6/arch/arm/mach-s5pc100/pm.c
--- linux-2.6.28/arch/arm/mach-s5pc100/pm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/pm.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,107 @@
+/* linux/arch/arm/mach-s5pc100/pm.c
+ *
+ * Copyright (c) 2006 Samsung Electronics
+ *
+ *
+ * S3C6410 (and compatible) Power Manager (Suspend-To-RAM) support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+#include <linux/init.h>
+#include <linux/suspend.h>
+#include <linux/errno.h>
+#include <linux/time.h>
+#include <linux/sysdev.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+
+#include <asm/mach-types.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/regs-clock.h>
+#include <plat/cpu.h>
+#include <plat/pm.h>
+
+#define DBG(fmt...) printk(KERN_DEBUG fmt)
+
+void s5pc100_cpu_suspend(void)
+{
+	unsigned long tmp;
+
+	/* issue the standby signal into the pm unit. Note, we
+	 * issue a write-buffer drain just in case */
+
+	tmp = 0;
+/*
+ * MCR p15,0,<Rd>,c7,c10,5 ; Data Memory Barrier Operation.
+ * MCR p15,0,<Rd>,c7,c10,4 ; Data Synchronization Barrier operation.
+ * MCR p15,0,<Rd>,c7,c0,4 ; Wait For Interrupt.
+ */
+
+	asm("b 1f\n\t"
+	    ".align 5\n\t"
+	    "1:\n\t"
+	    "mcr p15, 0, %0, c7, c10, 5\n\t"
+	    "mcr p15, 0, %0, c7, c10, 4\n\t"
+	    ".word 0xe320f003" :: "r" (tmp));
+
+	/* we should never get past here */
+
+	panic("sleep resumed to originator?");
+}
+
+static void s5pc100_pm_prepare(void)
+{
+
+}
+
+static int s5pc100_pm_add(struct sys_device *sysdev)
+{
+	pm_cpu_prep = s5pc100_pm_prepare;
+	pm_cpu_sleep = s5pc100_cpu_suspend;
+
+	return 0;
+}
+
+static struct sleep_save s5pc100_sleep[] = {
+
+};
+
+static int s5pc100_pm_suspend(struct sys_device *dev, pm_message_t state)
+{
+	s5pc1xx_pm_do_save(s5pc100_sleep, ARRAY_SIZE(s5pc100_sleep));
+	return 0;
+}
+
+static int s5pc100_pm_resume(struct sys_device *dev)
+{
+	s5pc1xx_pm_do_restore(s5pc100_sleep, ARRAY_SIZE(s5pc100_sleep));
+	return 0;
+}
+
+static struct sysdev_driver s5pc100_pm_driver = {
+	.add		= s5pc100_pm_add,
+	.resume		= s5pc100_pm_resume,
+};
+
+static __init int s5pc100_pm_drvinit(void)
+{
+	return sysdev_driver_register(&s5pc100_sysclass, &s5pc100_pm_driver);
+}
+
+arch_initcall(s5pc100_pm_drvinit);
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mach-s5pc100/setup-sdhci.c linux-2.6.28.6/arch/arm/mach-s5pc100/setup-sdhci.c
--- linux-2.6.28/arch/arm/mach-s5pc100/setup-sdhci.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mach-s5pc100/setup-sdhci.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,118 @@
+/* linux/arch/arm/mach-s3c6410/setup-sdhci.c
+ *
+ * Copyright 2008 Simtec Electronics
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C6410 - Helper functions for settign up SDHCI device(s) (HSMMC)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/io.h>
+
+#include <linux/mmc/card.h>
+#include <linux/mmc/host.h>
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-sdhci.h>
+#include <plat/sdhci.h>
+#include <mach/map.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-g2.h>
+
+
+/* clock sources for the mmc bus clock, order as for the ctrl2[5..4] */
+char *s3c6410_hsmmc_clksrcs[4] = {
+	[0] = "mmc_bus",
+	[1] = "mmc_bus",
+	[2] = "hsmmc",
+};
+
+void s3c6410_setup_sdhci0_cfg_gpio(struct platform_device *dev, int width)
+{
+	unsigned int gpio;
+	unsigned int end;
+
+        /* Channel 0 supports 1,4 and 8-bit bus width */
+        end = S5PC1XX_GPG0(2 + width);
+
+        /* Set all the necessary GPG0 ins to special-function 2 */
+        for (gpio = S5PC1XX_GPG0(0); gpio < end; gpio++) {
+                s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(2));
+                s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+        }
+
+        /* GPG1 chip Detect */
+        s3c_gpio_setpull(S5PC1XX_GPG1(2), S3C_GPIO_PULL_UP);
+        s3c_gpio_cfgpin(S5PC1XX_GPG1(2), S3C_GPIO_SFN(2));
+}
+
+void s3c6410_setup_sdhci0_cfg_card(struct platform_device *dev,
+				    void __iomem *r,
+				    struct mmc_ios *ios,
+				    struct mmc_card *card)
+{
+	u32 ctrl2, ctrl3 = 0;
+
+	/* don't need to alter anything acording to card-type */
+
+	writel(S3C64XX_SDHCI_CONTROL4_DRIVE_9mA, r + S3C64XX_SDHCI_CONTROL4);
+
+        /* No need for any delay values in the HS-MMC interface */
+	ctrl2 = readl(r + S3C_SDHCI_CONTROL2);
+	ctrl2 &= S3C_SDHCI_CTRL2_SELBASECLK_MASK;
+	ctrl2 |= (S3C64XX_SDHCI_CTRL2_ENSTAASYNCCLR |
+		  S3C64XX_SDHCI_CTRL2_ENCMDCNFMSK |
+		  S3C_SDHCI_CTRL2_DFCNT_NONE |
+		  S3C_SDHCI_CTRL2_ENCLKOUTHOLD);
+
+	writel(ctrl2, r + S3C_SDHCI_CONTROL2);
+	writel(ctrl3, r + S3C_SDHCI_CONTROL3);
+}
+
+void s3c6410_setup_sdhci1_cfg_gpio(struct platform_device *dev, int width)
+{
+	unsigned int gpio;
+	unsigned int end;
+
+	/* Channel 1 supports 1 and 4-bit bus width */
+	end = S5PC1XX_GPG2(2 + width);
+
+	/* Set all the necessary GPG2 pins to special-function 2 */
+	for (gpio = S5PC1XX_GPG2(0); gpio < end; gpio++) {
+		s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(2));
+		s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+	}
+
+	/* GPG2 chip Detect */
+	s3c_gpio_setpull(S5PC1XX_GPG2(6), S3C_GPIO_PULL_UP);
+	s3c_gpio_cfgpin(S5PC1XX_GPG2(6), S3C_GPIO_SFN(2));
+}
+
+void s3c6410_setup_sdhci2_cfg_gpio(struct platform_device *dev, int width)
+{
+        unsigned int gpio;
+        unsigned int end;
+
+        /* Channel 1 supports 1 and 4-bit bus width */
+        end = S5PC1XX_GPG3(2 + width);
+
+        /* Set all the necessary GPG3 pins to special-function 2 */
+        for (gpio = S5PC1XX_GPG3(0); gpio < end; gpio++) {
+                s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(2));
+                s3c_gpio_setpull(gpio, S3C_GPIO_PULL_NONE);
+        }
+
+        /* GPG3 chip Detect */
+        s3c_gpio_setpull(S5PC1XX_GPG3(6), S3C_GPIO_PULL_UP);
+        s3c_gpio_cfgpin(S5PC1XX_GPG3(6), S3C_GPIO_SFN(2));
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/mm/Kconfig linux-2.6.28.6/arch/arm/mm/Kconfig
--- linux-2.6.28/arch/arm/mm/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/mm/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -183,14 +183,14 @@
 	depends on ARCH_INTEGRATOR || ARCH_VERSATILE_PB || \
 		MACH_VERSATILE_AB || ARCH_OMAP730 || \
 		ARCH_OMAP16XX || MACH_REALVIEW_EB || \
-		ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || \
+		ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_S3C24A0 || \
 		ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || \
 		ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || \
 		ARCH_AT91SAM9G20 || ARCH_AT91CAP9 || \
 		ARCH_NS9XXX || ARCH_DAVINCI || ARCH_MX2
 	default y if ARCH_VERSATILE_PB || MACH_VERSATILE_AB || \
 		ARCH_OMAP730 || ARCH_OMAP16XX || \
-		ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || \
+		ARCH_PNX4008 || ARCH_NETX || CPU_S3C2412 || ARCH_S3C24A0 || \
 		ARCH_AT91SAM9260 || ARCH_AT91SAM9261 || \
 		ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || \
 		ARCH_AT91SAM9G20 || ARCH_AT91CAP9 || \
@@ -400,9 +400,10 @@
 # ARMv6
 config CPU_V6
 	bool "Support ARM V6 processor"
-	depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP2 || ARCH_MX3 || ARCH_MSM || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176
+	depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP2 || ARCH_MX3 || ARCH_MSM || MACH_REALVIEW_PB11MP || MACH_REALVIEW_PB1176 || ARCH_S3C64XX || ARCH_S5P64XX
 	default y if ARCH_MX3
 	default y if ARCH_MSM
+	default y if (ARCH_S3C64XX || ARCH_S5P64XX)
 	select CPU_32v6
 	select CPU_ABRT_EV6
 	select CPU_PABRT_NOIFAR
@@ -428,7 +429,8 @@
 # ARMv7
 config CPU_V7
 	bool "Support ARM V7 processor"
-	depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP3
+	depends on ARCH_INTEGRATOR || MACH_REALVIEW_EB || ARCH_OMAP3 || ARCH_S5PC1XX
+	default y if ARCH_S5PC1XX
 	select CPU_32v6K
 	select CPU_32v7
 	select CPU_ABRT_EV7
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-omap/cpu-omap.c linux-2.6.28.6/arch/arm/plat-omap/cpu-omap.c
--- linux-2.6.28/arch/arm/plat-omap/cpu-omap.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-omap/cpu-omap.c	2009-04-30 09:36:37.000000000 +0200
@@ -22,7 +22,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 
-#include <mach/hardware.h>
+//#include <mach/hardware.h>
 #include <asm/system.h>
 
 #define VERY_HI_RATE	900000000
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/Kconfig linux-2.6.28.6/arch/arm/plat-s3c/Kconfig
--- linux-2.6.28/arch/arm/plat-s3c/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -6,8 +6,8 @@
 
 config PLAT_S3C
 	bool
-	depends on ARCH_S3C2410
-	default y if ARCH_S3C2410
+	depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX || ARCH_S5P64XX || ARCH_S5PC1XX
+	default y
 	select NO_IOPORT
 	help
 	  Base platform code for any Samsung S3C device
@@ -16,24 +16,24 @@
 
 config CPU_LLSERIAL_S3C2410_ONLY
 	bool
-	depends on ARCH_S3C2410
+	depends on PLAT_S3C
 	default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
 
 config CPU_LLSERIAL_S3C2440_ONLY
 	bool
-	depends on ARCH_S3C2410
+	depends on PLAT_S3C
 	default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
 
 config CPU_LLSERIAL_S3C2410
 	bool
-	depends on ARCH_S3C2410
+	depends on PLAT_S3C
 	help
 	  Selected if there is an S3C2410 (or register compatible) serial
 	  low-level implementation needed
 
 config CPU_LLSERIAL_S3C2440
 	bool
-	depends on ARCH_S3C2410
+	depends on PLAT_S3C
 	help
 	  Selected if there is an S3C2440 (or register compatible) serial
 	  low-level implementation needed
@@ -102,3 +102,97 @@
 	  such as the `Uncompressing...` at start time. The value of
 	  this configuration should be between zero and two. The port
 	  must have been initialised by the boot-loader before use.
+
+config SPLIT_ROOT_FILESYSTEM
+	bool "S3C MTD has 4 partitions"
+	depends on (ARCH_S3C64XX || ARCH_S5PC1XX || ARCH_S5P64XX) && MTD
+	help
+	  Choose this if you want to use 4 mtd partitions
+
+# options for gpiolib support
+
+config S3C_GPIO_SPACE
+	int "Space between gpio banks"
+	default 0
+	help
+	  Add a number of spare GPIO entries between each bank for debugging
+	  purposes. This allows any problems where an counter overflows from
+	  one bank to another to be caught, at the expense of using a little
+	  more memory.
+
+config S3C_GPIO_TRACK
+	bool
+	help
+	  Internal configuration option to enable the s3c specific gpio
+	  chip tracking if the platform requires it.
+
+config S3C_GPIO_PULL_UPDOWN
+	bool
+	help
+	  Internal configuration to enable the correct GPIO pull helper
+
+config S3C_GPIO_PULL_DOWN
+	bool
+	help
+	  Internal configuration to enable the correct GPIO pull helper
+
+config S3C_GPIO_PULL_UP
+	bool
+	help
+	  Internal configuration to enable the correct GPIO pull helper
+
+config S3C_GPIO_CFG_S3C24XX
+	bool
+	help
+	  Internal configuration to enable S3C24XX style GPIO configuration
+	  functions.
+
+config S3C_GPIO_CFG_S3C64XX
+	bool
+	help
+	  Internal configuration to enable S3C64XX style GPIO configuration
+	  functions.
+
+config S3C_GPIO_CFG_S5PC1XX
+	bool
+	help
+	  Internal configuration to enable S5PC1XX style GPIO configuration
+	  functions.
+# device definitions to compile in
+
+config S3C_DEV_HSMMC
+	bool
+	depends on PLAT_S3C
+	help
+	  Compile in platform device definitions for HSMMC code
+
+config S3C_DEV_HSMMC1
+	bool
+	depends on PLAT_S3C
+	help
+	  Compile in platform device definitions for HSMMC channel 1
+
+config S3C_DEV_HSMMC2
+	bool
+	depends on PLAT_S3C
+	help
+	  Compile in platform device definitions for HSMMC channel 2
+
+config S3C_DEV_I2C1
+	bool
+	depends on PLAT_S3C
+	help
+	  Compile in platform device definitions for I2C channel 1
+
+config S3C_DMA_PL080
+	bool
+	depends on PLAT_S3C
+	help
+	  PL080 DMA supported
+
+config S3C_DMA_PL330
+	bool
+	depends on PLAT_S3C
+	help
+	  PL330 DMA supported
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/Makefile linux-2.6.28.6/arch/arm/plat-s3c/Makefile
--- linux-2.6.28/arch/arm/plat-s3c/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -1,3 +1,32 @@
-# dummy makefile, currently just including asm/arm/plat-s3c/include/plat
+# arch/arm/plat-s3c/Makefile
+#
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
 
-obj-n	:= dummy.o
+obj-y				:=
+obj-m				:=
+obj-n				:=
+obj-				:=
+
+# Core support for all Samsung SoCs
+
+obj-y				+= init.o
+ifndef CONFIG_ARCH_S5PC1XX
+obj-y				+= time.o
+endif 
+obj-y				+= clock.o
+obj-y				+= pwm-clock.o
+obj-y				+= gpio.o
+obj-y				+= gpio-config.o
+obj-$(CONFIG_S3C_DMA_PL080)	+= dma-pl080.o
+obj-$(CONFIG_S3C_DMA_PL330)	+= dma-pl330.o 
+
+# devices
+obj-$(CONFIG_S3C_DEV_HSMMC)	+= dev-hsmmc.o
+obj-$(CONFIG_S3C_DEV_HSMMC1)	+= dev-hsmmc1.o
+obj-$(CONFIG_S3C_DEV_HSMMC2)	+= dev-hsmmc2.o
+obj-y				+= dev-i2c0.o
+obj-$(CONFIG_S3C_DEV_I2C1)	+= dev-i2c1.o
+obj-$(CONFIG_TOUCHSCREEN_S3C)	+= dev-ts.o
+obj-$(CONFIG_SND_S3C6410_SOC_I2S)	+= dev-i2s.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/clock.c linux-2.6.28.6/arch/arm/plat-s3c/clock.c
--- linux-2.6.28/arch/arm/plat-s3c/clock.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,446 @@
+/* linux/arch/arm/plat-s3c/clock.c
+ *
+ * Copyright (c) 2004-2005 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24XX Core clock control support
+ *
+ * Based on, and code from linux/arch/arm/mach-versatile/clock.c
+ **
+ **  Copyright (C) 2004 ARM Limited.
+ **  Written by Deep Blue Solutions Limited.
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/list.h>
+#include <linux/errno.h>
+#include <linux/err.h>
+#include <linux/platform_device.h>
+#include <linux/sysdev.h>
+#include <linux/interrupt.h>
+#include <linux/ioport.h>
+#include <linux/clk.h>
+#include <linux/spinlock.h>
+#include <linux/delay.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+#include <asm/irq.h>
+
+#include <plat/cpu-freq.h>
+#include <plat/regs-clock.h>
+#include <plat/clock.h>
+#include <plat/cpu.h>
+
+static LIST_HEAD(clocks);
+
+/* We originally used an mutex here, but some contexts (see resume)
+ * are calling functions such as clk_set_parent() with IRQs disabled
+ * causing an BUG to be triggered.
+ */
+DEFINE_SPINLOCK(clocks_lock);
+
+/* enable and disable calls for use with the clk struct */
+
+static int clk_null_enable(struct clk *clk, int enable)
+{
+	return 0;
+}
+
+/* Clock API calls */
+
+struct clk *clk_get(struct device *dev, const char *id)
+{
+	struct clk *p;
+	struct clk *clk = ERR_PTR(-ENOENT);
+	int idno;
+
+	if (dev == NULL || dev->bus != &platform_bus_type)
+		idno = -1;
+	else
+		idno = to_platform_device(dev)->id;
+
+	spin_lock(&clocks_lock);
+
+	list_for_each_entry(p, &clocks, list) {
+		if (p->id == idno &&
+		    strcmp(id, p->name) == 0 &&
+		    try_module_get(p->owner)) {
+			clk = p;
+			break;
+		}
+	}
+
+	/* check for the case where a device was supplied, but the
+	 * clock that was being searched for is not device specific */
+
+	if (IS_ERR(clk)) {
+		list_for_each_entry(p, &clocks, list) {
+			if (p->id == -1 && strcmp(id, p->name) == 0 &&
+			    try_module_get(p->owner)) {
+				clk = p;
+				break;
+			}
+		}
+	}
+
+	spin_unlock(&clocks_lock);
+	return clk;
+}
+
+void clk_put(struct clk *clk)
+{
+	module_put(clk->owner);
+}
+
+int clk_enable(struct clk *clk)
+{
+	if (IS_ERR(clk) || clk == NULL)
+		return -EINVAL;
+
+	clk_enable(clk->parent);
+
+	spin_lock(&clocks_lock);
+
+	if ((clk->usage++) == 0)
+		(clk->enable)(clk, 1);
+
+	spin_unlock(&clocks_lock);
+	return 0;
+}
+
+void clk_disable(struct clk *clk)
+{
+	if (IS_ERR(clk) || clk == NULL)
+		return;
+
+	spin_lock(&clocks_lock);
+
+	if ((--clk->usage) == 0)
+		(clk->enable)(clk, 0);
+
+	spin_unlock(&clocks_lock);
+	clk_disable(clk->parent);
+}
+
+
+unsigned long clk_get_rate(struct clk *clk)
+{
+	if (IS_ERR(clk))
+		return 0;
+
+	if (clk->rate != 0)
+		return clk->rate;
+
+	if (clk->get_rate != NULL)
+		return (clk->get_rate)(clk);
+
+	if (clk->parent != NULL)
+		return clk_get_rate(clk->parent);
+
+	return clk->rate;
+}
+
+long clk_round_rate(struct clk *clk, unsigned long rate)
+{
+	if (!IS_ERR(clk) && clk->round_rate)
+		return (clk->round_rate)(clk, rate);
+
+	return rate;
+}
+
+int clk_set_rate(struct clk *clk, unsigned long rate)
+{
+	int ret;
+
+	if (IS_ERR(clk))
+		return -EINVAL;
+
+	/* We do not default just do a clk->rate = rate as
+	 * the clock may have been made this way by choice.
+	 */
+
+	WARN_ON(clk->set_rate == NULL);
+
+	if (clk->set_rate == NULL)
+		return -EINVAL;
+	spin_lock(&clocks_lock);
+	ret = (clk->set_rate)(clk, rate);
+	spin_unlock(&clocks_lock);
+
+	return ret;
+}
+
+struct clk *clk_get_parent(struct clk *clk)
+{
+	return clk->parent;
+}
+
+int clk_set_parent(struct clk *clk, struct clk *parent)
+{
+	int ret = 0;
+
+	if (IS_ERR(clk))
+		return -EINVAL;
+
+	spin_lock(&clocks_lock);
+
+	if (clk->set_parent)
+		ret = (clk->set_parent)(clk, parent);
+
+	spin_unlock(&clocks_lock);
+
+	return ret;
+}
+
+EXPORT_SYMBOL(clk_get);
+EXPORT_SYMBOL(clk_put);
+EXPORT_SYMBOL(clk_enable);
+EXPORT_SYMBOL(clk_disable);
+EXPORT_SYMBOL(clk_get_rate);
+EXPORT_SYMBOL(clk_round_rate);
+EXPORT_SYMBOL(clk_set_rate);
+EXPORT_SYMBOL(clk_get_parent);
+EXPORT_SYMBOL(clk_set_parent);
+
+/* base clocks */
+
+static int clk_default_setrate(struct clk *clk, unsigned long rate)
+{
+	clk->rate = rate;
+	return 0;
+}
+
+struct clk clk_xtal = {
+	.name		= "xtal",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= NULL,
+	.ctrlbit	= 0,
+};
+
+struct clk clk_ext = {
+	.name		= "ext",
+	.id		= -1,
+};
+
+struct clk clk_epll = {
+	.name		= "epll",
+	.id		= -1,
+};
+
+struct clk clk_mpll = {
+	.name		= "mpll",
+	.id		= -1,
+	.set_rate	= clk_default_setrate,
+};
+
+struct clk clk_upll = {
+	.name		= "upll",
+	.id		= -1,
+	.parent		= NULL,
+	.ctrlbit	= 0,
+};
+
+struct clk clk_f = {
+	.name		= "fclk",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= &clk_mpll,
+	.ctrlbit	= 0,
+#if defined(CONFIG_CPU_FREQ) && defined(CONFIG_CPU_S3C6410)
+	.set_rate	= s3c_fclk_set_rate,
+	.round_rate	= s3c_fclk_round_rate,
+#endif
+};
+
+struct clk clk_h = {
+	.name		= "hclk",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= NULL,
+	.ctrlbit	= 0,
+	.set_rate	= clk_default_setrate,
+};
+
+#ifdef CONFIG_CPU_S3C6410
+struct clk clk_hx2 = {
+	.name		= "hclkx2",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= NULL,
+	.ctrlbit	= 0,
+	.set_rate	= clk_default_setrate,
+};
+#endif
+
+struct clk clk_p = {
+	.name		= "pclk",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= NULL,
+	.ctrlbit	= 0,
+	.set_rate	= clk_default_setrate,
+};
+
+struct clk clk_usb_bus = {
+	.name		= "usb-bus",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= &clk_upll,
+};
+
+struct clk s3c24xx_uclk = {
+	.name		= "uclk",
+	.id		= -1,
+};
+
+#ifdef CONFIG_CPU_S5P6440
+struct clk clk_h_low = {
+	.name		= "hclk_low",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= NULL,
+	.ctrlbit	= 0,
+	.set_rate	= clk_default_setrate,
+};
+
+struct clk clk_p_low = {
+	.name		= "pclk_low",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= NULL,
+	.ctrlbit	= 0,
+	.set_rate	= clk_default_setrate,
+};
+#endif
+
+#ifdef CONFIG_CPU_S5PC100
+struct clk clk_hpll = {
+	.name		= "hpll",
+	.id		= -1,
+};
+
+struct clk clk_hd0 = {
+	.name		= "hclkd0",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= NULL,
+	.ctrlbit	= 0,
+	.set_rate	= clk_default_setrate,
+};
+
+struct clk clk_pd0 = {
+	.name		= "pclkd0",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= NULL,
+	.ctrlbit	= 0,
+	.set_rate	= clk_default_setrate,
+};
+#endif
+
+
+/* initialise the clock system */
+
+int s3c24xx_register_clock(struct clk *clk)
+{
+	clk->owner = THIS_MODULE;
+
+	if (clk->enable == NULL)
+		clk->enable = clk_null_enable;
+
+	/* add to the list of available clocks */
+
+	/* Quick check to see if this clock has already been registered. */
+	BUG_ON(clk->list.prev != clk->list.next);
+
+	spin_lock(&clocks_lock);
+	list_add(&clk->list, &clocks);
+	spin_unlock(&clocks_lock);
+
+	return 0;
+}
+
+int s3c24xx_register_clocks(struct clk **clks, int nr_clks)
+{
+	int fails = 0;
+
+	for (; nr_clks > 0; nr_clks--, clks++) {
+		if (s3c24xx_register_clock(*clks) < 0)
+			fails++;
+	}
+
+	return fails;
+}
+
+/* initalise all the clocks */
+
+int __init s3c24xx_register_baseclocks(unsigned long xtal)
+{
+	printk(KERN_INFO "S3C24XX Clocks, (c) 2004 Simtec Electronics\n");
+
+	clk_xtal.rate = xtal;
+
+	/* register our clocks */
+
+	if (s3c24xx_register_clock(&clk_xtal) < 0)
+		printk(KERN_ERR "failed to register master xtal\n");
+
+	if (s3c24xx_register_clock(&clk_mpll) < 0)
+		printk(KERN_ERR "failed to register mpll clock\n");
+
+	if (s3c24xx_register_clock(&clk_upll) < 0)
+		printk(KERN_ERR "failed to register upll clock\n");
+
+	if (s3c24xx_register_clock(&clk_f) < 0)
+		printk(KERN_ERR "failed to register cpu fclk\n");
+
+#ifdef CONFIG_CPU_S5P6440
+	if (s3c24xx_register_clock(&clk_h_low) < 0)
+		printk(KERN_ERR "failed to register cpu hclk_low\n");
+
+	if (s3c24xx_register_clock(&clk_p_low) < 0)
+		printk(KERN_ERR "failed to register cpu pclk_low\n");
+#endif
+
+#ifdef CONFIG_CPU_S5PC100
+	if (s3c24xx_register_clock(&clk_hd0) < 0)
+		printk(KERN_ERR "failed to register cpu hclkd0\n");
+
+	if (s3c24xx_register_clock(&clk_pd0) < 0)
+		printk(KERN_ERR "failed to register cpu pclkd0\n");
+#endif
+
+	if (s3c24xx_register_clock(&clk_h) < 0)
+		printk(KERN_ERR "failed to register cpu hclk\n");
+
+#ifdef CONFIG_CPU_S3C6410
+	if (s3c24xx_register_clock(&clk_hx2) < 0)
+		printk(KERN_ERR "failed to register cpu hclkx2\n");
+#endif
+
+	if (s3c24xx_register_clock(&clk_p) < 0)
+		printk(KERN_ERR "failed to register cpu pclk\n");
+
+	return 0;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/dev-hsmmc.c linux-2.6.28.6/arch/arm/plat-s3c/dev-hsmmc.c
--- linux-2.6.28/arch/arm/plat-s3c/dev-hsmmc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/dev-hsmmc.c	2010-04-21 06:36:09.000000000 +0200
@@ -0,0 +1,105 @@
+/* linux/arch/arm/plat-s3c/dev-hsmmc.c
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C series device definition for hsmmc devices
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/platform_device.h>
+#include <linux/mmc/host.h>
+#include <linux/interrupt.h>
+#include <linux/io.h>
+#include <linux/irq.h>
+
+#include <mach/map.h>
+#include <plat/sdhci.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+
+static void setup_sdhci0_irq_cd (void)
+{
+	/* init GPIO as a ext irq */
+
+	s3c_gpio_cfgpin(S3C64XX_GPN(13), S3C_GPIO_SFN(2));
+	s3c_gpio_setpull(S3C64XX_GPN(13), S3C_GPIO_PULL_NONE);
+
+	set_irq_type(S3C_EINT(13), IRQ_TYPE_EDGE_BOTH);
+
+}
+
+static uint detect_sdhci0_irq_cd (void)
+{
+	uint detect;
+
+	detect = readl(S3C64XX_GPNDAT);
+	detect &= 0x2000;	/* GPN13 */
+	return (!detect);
+}
+
+static struct resource s3c_hsmmc_resource[] = {
+	[0] = {
+		.start = S3C_PA_HSMMC0,
+		.end   = S3C_PA_HSMMC0 + S3C_SZ_HSMMC - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_HSMMC0,
+		.end   = IRQ_HSMMC0,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+static u64 s3c_device_hsmmc_dmamask = 0xffffffffUL;
+
+struct s3c_sdhci_platdata s3c_hsmmc0_def_platdata = {
+	.max_width	= 4,
+	.host_caps	= (MMC_CAP_4_BIT_DATA | MMC_CAP_MMC_HIGHSPEED |
+				MMC_CAP_SD_HIGHSPEED),
+	.cfg_ext_cd	= setup_sdhci0_irq_cd,
+	.detect_ext_cd	= detect_sdhci0_irq_cd,
+	.ext_cd		= S3C_EINT(13),
+};
+
+struct platform_device s3c_device_hsmmc0 = {
+	.name		= "s3c-sdhci",
+	.id		= 0,
+	.num_resources	= ARRAY_SIZE(s3c_hsmmc_resource),
+	.resource	= s3c_hsmmc_resource,
+	.dev		= {
+		.dma_mask		= &s3c_device_hsmmc_dmamask,
+		.coherent_dma_mask	= 0xffffffffUL,
+		.platform_data		= &s3c_hsmmc0_def_platdata,
+	},
+};
+
+void s3c_sdhci0_set_platdata(struct s3c_sdhci_platdata *pd)
+{
+	struct s3c_sdhci_platdata *set = &s3c_hsmmc0_def_platdata;
+
+	set->max_width = pd->max_width;
+
+	if (pd->host_caps)
+		set->host_caps = pd->host_caps;
+	if (pd->cfg_gpio)
+		set->cfg_gpio = pd->cfg_gpio;
+	if (pd->cfg_card)
+		set->cfg_card = pd->cfg_card;
+	if (pd->cfg_ext_cd)
+		set->cfg_ext_cd = pd->cfg_ext_cd;
+	if (pd->detect_ext_cd)
+		set->detect_ext_cd = pd->detect_ext_cd;
+	if (pd->ext_cd)
+		set->ext_cd = pd->ext_cd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/dev-hsmmc1.c linux-2.6.28.6/arch/arm/plat-s3c/dev-hsmmc1.c
--- linux-2.6.28/arch/arm/plat-s3c/dev-hsmmc1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/dev-hsmmc1.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,75 @@
+/* linux/arch/arm/plat-s3c/dev-hsmmc1.c
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C series device definition for hsmmc device 1
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/platform_device.h>
+#include <linux/mmc/host.h>
+
+#include <mach/map.h>
+#include <plat/sdhci.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_hsmmc1_resource[] = {
+	[0] = {
+		.start = S3C_PA_HSMMC1,
+		.end   = S3C_PA_HSMMC1 + S3C_SZ_HSMMC - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_HSMMC1,
+		.end   = IRQ_HSMMC1,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+static u64 s3c_device_hsmmc1_dmamask = 0xffffffffUL;
+
+struct s3c_sdhci_platdata s3c_hsmmc1_def_platdata = {
+	.max_width	= 4,
+	.host_caps	= (MMC_CAP_4_BIT_DATA | MMC_CAP_MMC_HIGHSPEED |
+				MMC_CAP_SD_HIGHSPEED),
+};
+
+struct platform_device s3c_device_hsmmc1 = {
+	.name		= "s3c-sdhci",
+	.id		= 1,
+	.num_resources	= ARRAY_SIZE(s3c_hsmmc1_resource),
+	.resource	= s3c_hsmmc1_resource,
+	.dev		= {
+		.dma_mask		= &s3c_device_hsmmc1_dmamask,
+		.coherent_dma_mask	= 0xffffffffUL,
+		.platform_data		= &s3c_hsmmc1_def_platdata,
+	},
+};
+
+void s3c_sdhci1_set_platdata(struct s3c_sdhci_platdata *pd)
+{
+	struct s3c_sdhci_platdata *set = &s3c_hsmmc1_def_platdata;
+
+	set->max_width = pd->max_width;
+
+	if (pd->host_caps)
+		set->host_caps = pd->host_caps;
+	if (pd->cfg_gpio)
+		set->cfg_gpio = pd->cfg_gpio;
+	if (pd->cfg_card)
+		set->cfg_card = pd->cfg_card;
+	if (pd->cfg_ext_cd)
+		set->cfg_ext_cd = pd->cfg_ext_cd;
+	if (pd->detect_ext_cd)
+		set->detect_ext_cd = pd->detect_ext_cd;
+	if (pd->ext_cd)
+		set->ext_cd = pd->ext_cd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/dev-hsmmc2.c linux-2.6.28.6/arch/arm/plat-s3c/dev-hsmmc2.c
--- linux-2.6.28/arch/arm/plat-s3c/dev-hsmmc2.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/dev-hsmmc2.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,75 @@
+/* linux/arch/arm/plat-s3c/dev-hsmmc1.c
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C series device definition for hsmmc device 1
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/platform_device.h>
+#include <linux/mmc/host.h>
+
+#include <mach/map.h>
+#include <plat/sdhci.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_hsmmc2_resource[] = {
+	[0] = {
+		.start = S3C_PA_HSMMC2,
+		.end   = S3C_PA_HSMMC2 + S3C_SZ_HSMMC - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_HSMMC2,
+		.end   = IRQ_HSMMC2,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+static u64 s3c_device_hsmmc2_dmamask = 0xffffffffUL;
+
+struct s3c_sdhci_platdata s3c_hsmmc2_def_platdata = {
+	.max_width	= 4,
+	.host_caps	= (MMC_CAP_4_BIT_DATA | MMC_CAP_MMC_HIGHSPEED |
+				MMC_CAP_SD_HIGHSPEED | MMC_CAP_ON_BOARD),
+};
+
+struct platform_device s3c_device_hsmmc2 = {
+	.name		= "s3c-sdhci",
+	.id		= 2,
+	.num_resources	= ARRAY_SIZE(s3c_hsmmc2_resource),
+	.resource	= s3c_hsmmc2_resource,
+	.dev		= {
+		.dma_mask		= &s3c_device_hsmmc2_dmamask,
+		.coherent_dma_mask	= 0xffffffffUL,
+		.platform_data		= &s3c_hsmmc2_def_platdata,
+	},
+};
+
+void s3c_sdhci2_set_platdata(struct s3c_sdhci_platdata *pd)
+{
+	struct s3c_sdhci_platdata *set = &s3c_hsmmc2_def_platdata;
+
+	set->max_width = pd->max_width;
+
+	if (pd->host_caps)
+		set->host_caps = pd->host_caps;
+	if (pd->cfg_gpio)
+		set->cfg_gpio = pd->cfg_gpio;
+	if (pd->cfg_card)
+		set->cfg_card = pd->cfg_card;
+	if (pd->cfg_ext_cd)
+		set->cfg_ext_cd = pd->cfg_ext_cd;
+	if (pd->detect_ext_cd)
+		set->detect_ext_cd = pd->detect_ext_cd;
+	if (pd->ext_cd)
+		set->ext_cd = pd->ext_cd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/dev-i2c0.c linux-2.6.28.6/arch/arm/plat-s3c/dev-i2c0.c
--- linux-2.6.28/arch/arm/plat-s3c/dev-i2c0.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/dev-i2c0.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,71 @@
+/* linux/arch/arm/plat-s3c/dev-i2c0.c
+ *
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C series device definition for i2c device 0
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+
+#include <plat/regs-iic.h>
+#include <plat/iic.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_i2c_resource[] = {
+	[0] = {
+		.start = S3C_PA_IIC,
+		.end   = S3C_PA_IIC + SZ_4K - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_IIC,
+		.end   = IRQ_IIC,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
+struct platform_device s3c_device_i2c0 = {
+	.name		  = "s3c2410-i2c",
+#ifdef CONFIG_S3C_DEV_I2C1
+	.id		  = 0,
+#else
+	.id		  = -1,
+#endif
+	.num_resources	  = ARRAY_SIZE(s3c_i2c_resource),
+	.resource	  = s3c_i2c_resource,
+};
+
+static struct s3c2410_platform_i2c default_i2c_data0 __initdata = {
+	.flags		= 0,
+	.slave_addr	= 0x10,
+	.bus_freq	= 100*1000,
+	.max_freq	= 400*1000,
+	.sda_delay	= S3C2410_IICLC_SDA_DELAY5 | S3C2410_IICLC_FILTER_ON,
+};
+
+void __init s3c_i2c0_set_platdata(struct s3c2410_platform_i2c *pd)
+{
+	struct s3c2410_platform_i2c *npd;
+
+	if (!pd)
+		pd = &default_i2c_data0;
+
+	npd = kmemdup(pd, sizeof(struct s3c2410_platform_i2c), GFP_KERNEL);
+	if (!npd)
+		printk(KERN_ERR "%s: no memory for platform data\n", __func__);
+	else if (!npd->cfg_gpio)
+		npd->cfg_gpio = s3c_i2c0_cfg_gpio;
+
+	s3c_device_i2c0.dev.platform_data = npd;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/dev-i2c1.c linux-2.6.28.6/arch/arm/plat-s3c/dev-i2c1.c
--- linux-2.6.28/arch/arm/plat-s3c/dev-i2c1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/dev-i2c1.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,68 @@
+/* linux/arch/arm/plat-s3c/dev-i2c1.c
+ *
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C series device definition for i2c device 1
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+
+#include <plat/regs-iic.h>
+#include <plat/iic.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_i2c_resource[] = {
+	[0] = {
+		.start = S3C_PA_IIC1,
+		.end   = S3C_PA_IIC1 + SZ_4K - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_IIC1,
+		.end   = IRQ_IIC1,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
+struct platform_device s3c_device_i2c1 = {
+	.name		  = "s3c2410-i2c",
+	.id		  = 1,
+	.num_resources	  = ARRAY_SIZE(s3c_i2c_resource),
+	.resource	  = s3c_i2c_resource,
+};
+
+static struct s3c2410_platform_i2c default_i2c_data1 __initdata = {
+	.flags		= 0,
+	.bus_num	= 1,
+	.slave_addr	= 0x10,
+	.bus_freq	= 100*1000,
+	.max_freq	= 400*1000,
+	.sda_delay	= S3C2410_IICLC_SDA_DELAY5 | S3C2410_IICLC_FILTER_ON,
+};
+
+void __init s3c_i2c1_set_platdata(struct s3c2410_platform_i2c *pd)
+{
+	struct s3c2410_platform_i2c *npd;
+
+	if (!pd)
+		pd = &default_i2c_data1;
+
+	npd = kmemdup(pd, sizeof(struct s3c2410_platform_i2c), GFP_KERNEL);
+	if (!npd)
+		printk(KERN_ERR "%s: no memory for platform data\n", __func__);
+	else if (!npd->cfg_gpio)
+		npd->cfg_gpio = s3c_i2c1_cfg_gpio;
+
+	s3c_device_i2c1.dev.platform_data = npd;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/dev-i2s.c linux-2.6.28.6/arch/arm/plat-s3c/dev-i2s.c
--- linux-2.6.28/arch/arm/plat-s3c/dev-i2s.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/dev-i2s.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,49 @@
+/* linux/arch/arm/plat-s3c/dev-i2s.c
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C series device definition for hsmmc devices
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+#include <asm/irq.h>
+
+
+/* IIS */
+static struct resource s3c_iis_resource[] = {
+	[0] = {
+		.start = S3C_PA_IIS,
+		.end   = S3C_PA_IIS + S3C_SZ_IIS -1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_S3C6410_IIS,
+		.end   = IRQ_S3C6410_IIS,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+static u64 s3c_device_iis_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_iis = {
+	.name		  = "s3c-iis",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_iis_resource),
+	.resource	  = s3c_iis_resource,
+	.dev              = {
+		.dma_mask = &s3c_device_iis_dmamask,
+		.coherent_dma_mask = 0xffffffffUL
+	}
+};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/dev-ts.c linux-2.6.28.6/arch/arm/plat-s3c/dev-ts.c
--- linux-2.6.28/arch/arm/plat-s3c/dev-ts.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/dev-ts.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,62 @@
+/* linux/arch/arm/plat-s3c/dev-ts.c
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C series device definition for hsmmc devices
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+#include <plat/ts.h>
+
+/* Touch srcreen */
+static struct resource s3c_ts_resource[] = {
+	[0] = {
+		.start = S3C_PA_ADC,
+		.end   = S3C_PA_ADC + SZ_4K - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_PENDN,
+		.end   = IRQ_PENDN,
+		.flags = IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start = IRQ_ADC,
+		.end   = IRQ_ADC,
+		.flags = IORESOURCE_IRQ,
+	}
+	
+};
+
+struct platform_device s3c_device_ts = {
+	.name		  = "s3c-ts",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_ts_resource),
+	.resource	  = s3c_ts_resource,
+};
+
+void __init s3c_ts_set_platdata(struct s3c_ts_mach_info *pd)
+{
+	struct s3c_ts_mach_info *npd;
+
+	npd = kmalloc(sizeof(*npd), GFP_KERNEL);
+	if (npd) {
+		memcpy(npd, pd, sizeof(*npd));
+		s3c_device_ts.dev.platform_data = npd;
+	} else {
+		printk(KERN_ERR "no memory for Touchscreen platform data\n");
+	}
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/dma-pl080.c linux-2.6.28.6/arch/arm/plat-s3c/dma-pl080.c
--- linux-2.6.28/arch/arm/plat-s3c/dma-pl080.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/dma-pl080.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1600 @@
+/* linux/arch/arm/plat-s3c/dma-pl080.c
+ *
+ * Copyright (c) 2003-2005,2006 Samsung Electronics
+ *
+ * S3C6400/S3C6410 DMA core
+ *
+ * http://www.samsung.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifdef CONFIG_S3C_DMA_DEBUG
+#define DEBUG
+#endif
+
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/sched.h>
+#include <linux/spinlock.h>
+#include <linux/interrupt.h>
+#include <linux/sysdev.h>
+#include <linux/slab.h>
+#include <linux/errno.h>
+#include <linux/delay.h>
+
+#include <asm/system.h>
+#include <asm/irq.h>
+#include <mach/hardware.h>
+#include <asm/io.h>
+#include <asm/dma.h>
+
+#include <plat/regs-clock.h>
+#include <plat/dma.h>
+#include <mach/map.h>
+#include <mach/dma.h>
+
+
+/* io map for dma */
+static void __iomem 		*dma_base;
+static struct kmem_cache 	*dma_kmem;
+
+static int dma_channels;
+struct s3c_dma_selection 	dma_sel;
+static struct s3c2410_dma_chan *dma_chan_map[DMACH_MAX];
+
+/* dma channel state information */
+struct s3c2410_dma_chan 	s3c_dma_chans[S3C_DMA_CHANNELS];
+s3c_dma_controller_t 		s3c_dma_cntlrs[S3C_DMA_CONTROLLERS];
+
+#undef pr_debug		
+//#define dma_dbg
+
+#ifdef dma_dbg
+#define sh_printk(fmt...) 	printk( fmt)
+#define pr_debug(fmt...) 	printk( fmt)
+#else
+#define sh_printk(fmt...)
+#define pr_debug(fmt...)
+#endif
+
+/* debugging functions */
+
+#define BUF_MAGIC 			(0xcafebabe)
+
+#define dmawarn(fmt...) 		printk(KERN_DEBUG fmt)
+
+#define dma_regaddr(chan, reg) 		((chan)->regs + (reg))
+#define dma_wrreg(chan, reg, val) 	writel((val), (chan)->regs + (reg))
+#define dma_rdreg(chan, reg) 		readl((chan)->regs + (reg))
+
+#define dbg_showregs(chan) 		do { } while(0)
+#define dbg_showchan(chan) 		do { } while(0)
+
+void s3c_dma_dump(int dcon_num, int channel)
+{
+	unsigned long tmp;
+	s3c_dma_controller_t *dma_controller = &s3c_dma_cntlrs[dcon_num];
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_INT_STATUS);
+	printk("%d dcon_num %d subchnnel INT_STATUS %lx\n", dcon_num, channel, tmp);
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_INT_TCSTATUS);
+	printk("%d dcon_num %d subchnnel INT_TCSTATUS %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_ENBLD_CHANNELS);
+	printk("%d dcon_num %d subchnnel ENBLD_CHANNELS %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CONFIGURATION);
+	printk("%d dcon_num %d subchnnel DMAC_CONFIGUARATION %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CSRCADDR(channel));
+	printk("%d dcon_num %d subchnnel SRCADDRESS %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CDESTADDR(channel));
+	printk("%d dcon_num %d subchnnel DESTADDRESS %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CLLI(channel));
+	printk("%d dcon_num %d subchnnel LLI %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CCONTROL0(channel));
+	printk("%d dcon_num %d subchnnel CCONTROL0 %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CCONTROL1(channel));
+	printk("%d dcon_num %d subchnnel CCONTROL1 %lx\n", dcon_num, channel, tmp);
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CCONFIGURATION(channel));
+
+	printk("%d dcon_num %d subchnnel CH CONFIGUARATION %lx\n", dcon_num, channel, tmp);
+}
+
+
+/* lookup_dma_channel
+ *
+ * change the dma channel number given into a real dma channel id
+*/
+
+static struct s3c2410_dma_chan *lookup_dma_channel(unsigned int channel)
+{
+	if (channel & DMACH_LOW_LEVEL)
+		return &s3c_dma_chans[channel & ~DMACH_LOW_LEVEL];
+	else
+		return dma_chan_map[channel];
+}
+
+/* s3c_dma_stats_timeout
+ *
+ * Update DMA stats from timeout info
+ */
+static void s3c_dma_stats_timeout(struct s3c_dma_stats * stats, int val)
+{
+	if (stats == NULL)
+		return;
+
+	if (val > stats->timeout_longest)
+		stats->timeout_longest = val;
+	if (val < stats->timeout_shortest)
+		stats->timeout_shortest = val;
+
+	stats->timeout_avg += val;
+}
+
+void s3c_enable_dmac(unsigned int dcon_num)
+{
+	s3c_dma_controller_t *dma_controller = &s3c_dma_cntlrs[dcon_num];
+	dma_wrreg(dma_controller, S3C_DMAC_CONFIGURATION, S3C_DMA_CONTROLLER_ENABLE);
+}
+
+void s3c_disable_dmac(unsigned int dcon_num)
+{
+	unsigned long tmp;
+	s3c_dma_controller_t *dma_controller = &s3c_dma_cntlrs[dcon_num];
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CONFIGURATION);
+	tmp &= ~S3C_DMA_CONTROLLER_ENABLE;
+	dma_wrreg(dma_controller, S3C_DMAC_CONFIGURATION, tmp);
+}
+
+void s3c_clear_interrupts (int dcon_num, int channel)
+{
+	unsigned long tmp;
+	s3c_dma_controller_t *dma_controller = &s3c_dma_cntlrs[dcon_num];
+	
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_INT_TCCLEAR);
+	tmp |= (1 << channel);
+	dma_wrreg(dma_controller, S3C_DMAC_INT_TCCLEAR, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_INT_ERRORCLEAR);
+	tmp |= (1 << channel);
+	dma_wrreg(dma_controller, S3C_DMAC_INT_ERRORCLEAR, tmp);
+}
+
+/* s3c_dma_waitforload
+ *
+ * wait for the DMA engine to load a buffer, and update the state accordingly
+ */
+static int s3c_dma_waitforload(struct s3c2410_dma_chan *chan, int line)
+{
+	int timeout = chan->load_timeout;
+	int took;
+
+	pr_debug("%s channel number : %d\n", __FUNCTION__, chan->number);
+
+	if (chan->load_state != S3C_DMALOAD_1LOADED) {
+		printk(KERN_ERR
+		       "dma%d: s3c_dma_waitforload() called in loadstate %d from line %d\n",
+		       chan->number, chan->load_state, line);
+		return 0;
+	}
+
+	if (chan->stats != NULL)
+		chan->stats->loads++;
+
+	while (--timeout > 0) {
+		if ((dma_rdreg(chan->dma_con, S3C_DMAC_ENBLD_CHANNELS)) & (0x1 << chan->number)) {
+			took = chan->load_timeout - timeout;
+			s3c_dma_stats_timeout(chan->stats, took);
+
+			switch (chan->load_state) {
+			case S3C_DMALOAD_1LOADED:
+				chan->load_state = S3C_DMALOAD_1RUNNING;
+				break;
+
+			default:
+				printk(KERN_ERR
+				       "dma%d: unknown load_state in s3c_dma_waitforload() %d\n",
+				       chan->number, chan->load_state);
+			}
+
+			return 1;
+		}
+	}
+
+	if (chan->stats != NULL) {
+		chan->stats->timeout_failed++;
+	}
+
+	return 0;
+}
+
+
+/* s3c_dma_loadbuffer
+ *
+ * load a buffer, and update the channel state
+ */
+static inline int s3c_dma_loadbuffer(struct s3c2410_dma_chan *chan,
+		       struct s3c_dma_buf *buf)
+{
+	unsigned long reload;
+
+	pr_debug("s3c_chan_loadbuffer: loading buffer %p (0x%08lx,0x%06x)\n",
+		 buf, (unsigned long) buf->data, buf->size);
+
+	if (buf == NULL) {
+		dmawarn("buffer is NULL\n");
+		return -EINVAL;
+	}
+
+	/* check the state of the channel before we do anything */
+
+	if (chan->load_state == S3C_DMALOAD_1LOADED) {
+		dmawarn("load_state is S3C2410_DMALOAD_1LOADED\n");
+		reload = (buf->next == NULL) ? S3C2410_DCON_NORELOAD : 0;
+	}
+
+	if (chan->load_state == S3C_DMALOAD_1LOADED_1RUNNING) {
+		dmawarn("state is S3C2410_DMALOAD_1LOADED_1RUNNING\n");
+		reload = S3C2410_DCON_AUTORELOAD;
+	}
+
+	writel(buf->data, chan->addr_reg);
+
+	pr_debug("%s: DMA control0 - %08x\n", __FUNCTION__, chan->dcon);
+	pr_debug("%s: DMA control1 - %08x\n", __FUNCTION__, (buf->size / chan->xfer_unit));
+	
+	dma_wrreg(chan, S3C_DMAC_CxCONTROL0, chan->dcon);
+	dma_wrreg(chan, S3C_DMAC_CxCONTROL1, (buf->size / chan->xfer_unit));
+	
+	chan->next = buf->next;
+
+	/* update the state of the channel */
+
+	switch (chan->load_state) {
+	case S3C_DMALOAD_NONE:
+		chan->load_state = S3C_DMALOAD_1LOADED;
+		break;
+
+	case S3C_DMALOAD_1RUNNING:
+		chan->load_state = S3C_DMALOAD_1LOADED_1RUNNING;
+		break;
+
+	default:
+		dmawarn("dmaload: unknown state %d in loadbuffer\n", chan->load_state);
+		break;
+	}
+
+	return 0;
+}
+
+
+/* s3c_dma_call_op
+ *
+ * small routine to call the o routine with the given op if it has been
+ * registered
+ */
+static void s3c_dma_call_op(struct s3c2410_dma_chan * chan, enum s3c_chan_op op)
+{
+	if (chan->op_fn != NULL) {
+		(chan->op_fn) (chan, op);
+	}
+}
+
+/* s3c_dma_buffdone
+ *
+ * small wrapper to check if callback routine needs to be called, and
+ * if so, call it
+ */
+static inline void s3c_dma_buffdone(struct s3c2410_dma_chan * chan,
+				struct s3c_dma_buf * buf,
+				enum s3c2410_dma_buffresult result)
+{
+	pr_debug("callback_fn will be called=%p, buf=%p, id=%p, size=%d, result=%d\n",
+		 chan->callback_fn, buf, buf->id, buf->size, result);
+
+	if (chan->callback_fn != NULL) {
+		(chan->callback_fn) (chan, buf->id, buf->size, result);
+	}
+}
+
+/* s3c_dma_start
+ *
+ * start a dma channel going
+ */
+static int s3c_dma_start(struct s3c2410_dma_chan *chan)
+{
+	unsigned long flags;
+
+	pr_debug("s3c_start_dma: channel number=%d, index=%d\n", chan->number, chan->index);
+
+	local_irq_save(flags);
+
+	if (chan->state == S3C_DMA_RUNNING) {
+		pr_debug("s3c_start_dma: already running (%d)\n", chan->state);
+		local_irq_restore(flags);
+		return 0;
+	}
+
+	chan->state = S3C_DMA_RUNNING;
+
+	/* check wether there is anything to load, and if not, see
+	 * if we can find anything to load
+	 */
+
+	if (chan->load_state == S3C_DMALOAD_NONE) {
+		if (chan->next == NULL) {
+			printk(KERN_ERR "dma%d: dcon_num has nothing loaded\n", chan->number);
+			chan->state = S3C_DMA_IDLE;
+			local_irq_restore(flags);
+			return -EINVAL;
+		}
+
+		s3c_dma_loadbuffer(chan, chan->next);
+	}
+
+	dbg_showchan(chan);
+
+	/* enable the channel */
+
+	if (!chan->irq_enabled) {
+		enable_irq(chan->irq);
+		chan->irq_enabled = 1;
+	}
+
+	/* Get the DMA channel  started ...*/
+	dma_wrreg(chan, S3C_DMAC_CxCONFIGURATION, chan->config_flags);
+
+	pr_debug("%s:wrote %08lx to S3C_DMAC_CxCONFIGURATION.\n",__FUNCTION__, chan->config_flags);
+
+	/* Start the DMA operation on Peripheral */
+	s3c_dma_call_op(chan, S3C2410_DMAOP_START);
+
+	dbg_showchan(chan);
+
+	local_irq_restore(flags);
+	return 0;
+}
+
+
+/* s3c2410_dma_enqueue
+ *
+ * queue an given buffer for dma transfer.
+ *
+ * id         the device driver's id information for this buffer
+ * data       the physical address of the buffer data
+ * size       the size of the buffer in bytes
+ *
+ * If the channel is not running, then the flag S3C2410_DMAF_AUTOSTART
+ * is checked, and if set, the channel is started. If this flag isn't set,
+ * then an error will be returned.
+ *
+ * It is possible to queue more than one DMA buffer onto a channel at
+ * once, and the code will deal with the re-loading of the next buffer
+ * when necessary.
+ */
+int s3c2410_dma_enqueue(unsigned int channel, void *id,
+			dma_addr_t data, int size)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+	struct s3c_dma_buf *buf;
+	unsigned long flags;
+
+	pr_debug("%s: id=%p, data=%08x, size=%d\n", __FUNCTION__, id, (unsigned int) data, size);
+
+	buf = kmem_cache_alloc(dma_kmem, GFP_ATOMIC);
+	if (buf == NULL) {
+		printk(KERN_ERR "dma<%d> no memory for buffer\n", channel);
+		return -ENOMEM;
+	}
+
+	pr_debug("%s: new buffer %p\n", __FUNCTION__, buf);
+
+	//dbg_showchan(chan);
+
+	buf->next = NULL;
+	buf->data = buf->ptr = data;
+	buf->size = size;
+	buf->id = id;
+	buf->magic = BUF_MAGIC;
+
+	local_irq_save(flags);
+
+	if (chan->curr == NULL) {
+		/* we've got nothing loaded... */
+		pr_debug("%s: buffer %p queued onto empty channel\n", __FUNCTION__, buf);
+
+		chan->curr = buf;
+		chan->end = buf;
+		chan->next = NULL;
+	} else {
+		pr_debug("dma%d: %s: buffer %p queued onto non-empty channel\n",
+			 chan->number, __FUNCTION__, buf);
+
+		if (chan->end == NULL)   /* In case of flushing */
+			pr_debug("dma%d: %s: %p not empty, and chan->end==NULL?\n",
+				 chan->number, __FUNCTION__, chan);
+		else {
+			chan->end->next = buf;
+			chan->end = buf;
+		}
+	}
+
+	/* if necessary, update the next buffer field */
+	if (chan->next == NULL)
+		chan->next = buf;
+
+	/* check to see if we can load a buffer */
+	if (chan->state == S3C_DMA_RUNNING) {
+		if (chan->load_state == S3C_DMALOAD_1LOADED && 1) {
+			if (s3c_dma_waitforload(chan, __LINE__) == 0) {
+				printk(KERN_ERR "dma%d: loadbuffer:"
+				       "timeout loading buffer\n", chan->number);
+				dbg_showchan(chan);
+				local_irq_restore(flags);
+				return -EINVAL;
+			}
+		}
+	} else if (chan->state == S3C_DMA_IDLE) {
+		if (chan->flags & S3C2410_DMAF_AUTOSTART) {
+			s3c2410_dma_ctrl(channel, S3C2410_DMAOP_START);
+		} else {
+			pr_debug("loading onto stopped channel\n");
+		}
+	}
+
+	local_irq_restore(flags);
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_enqueue);
+
+/* s3c2410_dma_enqueue_sg
+ *
+ * queue an given buffer for dma transfer.
+ *
+ * id         the device driver's id information for this buffer
+ * data       the physical address of the buffer data
+ * size       the size of the buffer in bytes
+ * sg_reg     the scatter&gather list
+ *
+ * If the channel is not running, then the flag S3C2410_DMAF_AUTOSTART
+ * is checked, and if set, the channel is started. If this flag isn't set,
+ * then an error will be returned.
+ *
+ * It is possible to queue more than one DMA buffer onto a channel at
+ * once, and the code will deal with the re-loading of the next buffer
+ * when necessary.
+ */
+int s3c2410_dma_enqueue_sg(unsigned int channel, void *id,
+			dma_addr_t data, int size, struct s3c_sg_list *sg_list)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+	struct s3c_dma_buf *buf;
+	unsigned long flags;
+
+	pr_debug("%s: id=%p, data=%08x, size=%d\n", __FUNCTION__, id, (unsigned int) data, size);
+
+	buf = kmem_cache_alloc(dma_kmem, GFP_ATOMIC);
+	if (buf == NULL) {
+		printk(KERN_ERR "dma<%d> no memory for buffer\n", channel);
+		return -ENOMEM;
+	}
+
+	pr_debug("%s: new buffer %p\n", __FUNCTION__, buf);
+
+	//dbg_showchan(chan);
+
+	buf->next = NULL;
+	buf->data = buf->ptr = data;
+	buf->size = size;
+	buf->id = id;
+	buf->magic = BUF_MAGIC;
+
+	local_irq_save(flags);
+
+	if (chan->curr == NULL) {
+		/* we've got nothing loaded... */
+		pr_debug("%s: buffer %p queued onto empty channel\n", __FUNCTION__, buf);
+
+		chan->curr = buf;
+		chan->end = buf;
+		chan->next = NULL;
+	} else {
+		pr_debug("dma%d: %s: buffer %p queued onto non-empty channel\n",
+			 chan->number, __FUNCTION__, buf);
+
+		if (chan->end == NULL)   /* In case of flushing */
+			pr_debug("dma%d: %s: %p not empty, and chan->end==NULL?\n",
+				 chan->number, __FUNCTION__, chan);
+		else {
+			chan->end->next = buf;
+			chan->end = buf;
+		}
+	}
+
+	/* if necessary, update the next buffer field */
+	if (chan->next == NULL)
+		chan->next = buf;
+
+	/* check to see if we can load a buffer */
+	if (chan->state == S3C_DMA_RUNNING) {
+		if (chan->load_state == S3C_DMALOAD_1LOADED && 1) {
+			if (s3c_dma_waitforload(chan, __LINE__) == 0) {
+				printk(KERN_ERR "dma%d: loadbuffer:"
+				       "timeout loading buffer\n", chan->number);
+				dbg_showchan(chan);
+				local_irq_restore(flags);
+				return -EINVAL;
+			}
+		}
+	} else if (chan->state == S3C_DMA_IDLE) {
+		dma_wrreg(chan, S3C_DMAC_CxLLI, virt_to_phys(&sg_list));
+		
+		if (chan->flags & S3C2410_DMAF_AUTOSTART) {
+			s3c2410_dma_ctrl(channel, S3C2410_DMAOP_START);
+		} else {
+			pr_debug("loading onto stopped channel\n");
+		}
+	}
+
+	local_irq_restore(flags);
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_enqueue_sg);
+
+
+static inline void s3c_dma_freebuf(struct s3c_dma_buf * buf)
+{
+	int magicok = (buf->magic == BUF_MAGIC);
+
+	buf->magic = -1;
+
+	if (magicok) {
+		kmem_cache_free(dma_kmem, buf);
+	} else {
+		printk("s3c_dma_freebuf: buff %p with bad magic\n", buf);
+	}
+}
+
+/* s3c_dma_lastxfer
+ *
+ * called when the system is out of buffers, to ensure that the channel
+ * is prepared for shutdown.
+ */
+static inline void s3c_dma_lastxfer(struct s3c2410_dma_chan *chan)
+{
+	pr_debug("DMA CH %d: s3c_dma_lastxfer: load_state %d\n", chan->number, chan->load_state);
+	
+	switch (chan->load_state) {
+	case S3C_DMALOAD_NONE:
+		pr_debug("DMA CH %d: s3c_dma_lastxfer: load_state : S3C2_DMALOAD_NONE%d\n", chan->number);
+		break;
+
+	case S3C_DMALOAD_1LOADED:
+		if (s3c_dma_waitforload(chan, __LINE__) == 0) {
+			/* flag error? */
+			printk(KERN_ERR "dma%d: timeout waiting for load\n", chan->number);
+			return;
+		}
+		break;
+
+	default:
+		pr_debug("dma%d: lastxfer: unhandled load_state %d with no next",
+			 chan->number, chan->load_state);
+		return;
+
+	}
+
+}
+
+
+#define dmadbg2(x...)
+
+static irqreturn_t s3c_dma_irq(int irq, void *devpw)
+{
+	unsigned int channel = 0, dcon_num, i;
+	unsigned long tmp;
+	s3c_dma_controller_t *dma_controller = (s3c_dma_controller_t *) devpw;
+	
+	struct s3c2410_dma_chan *chan=NULL;
+	struct s3c_dma_buf *buf;
+
+	dcon_num = dma_controller->number;
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_INT_TCSTATUS);
+	pr_debug("# s3c_dma_irq: TC status : 0x%x\n", tmp);
+
+	if(tmp==0) {
+		return IRQ_HANDLED;
+	}
+
+	for (i = 0; i < S3C_CHANNELS_PER_DMA; i++) {
+		if (tmp & 0x01) {
+
+			pr_debug("# DMA Controller %d: requestor %d\n", dcon_num, i);
+			
+			channel = i;
+			chan = &s3c_dma_chans[channel + dcon_num * S3C_CHANNELS_PER_DMA];
+			pr_debug("# DMA channel number : %d, index : %d\n", chan->number, chan->index);
+			
+			buf = chan->curr;
+			
+			dbg_showchan(chan);
+
+			/* modify the channel state */
+			switch (chan->load_state) {
+			case S3C_DMALOAD_1RUNNING:
+				/* TODO - if we are running only one buffer, we probably
+				 * want to reload here, and then worry about the buffer
+				 * callback */
+
+				chan->load_state = S3C_DMALOAD_NONE;
+				break;
+
+			case S3C_DMALOAD_1LOADED:
+				/* iirc, we should go back to NONE loaded here, we
+				 * had a buffer, and it was never verified as being
+				 * loaded.
+				 */
+
+				chan->load_state = S3C_DMALOAD_NONE;
+				break;
+
+			case S3C_DMALOAD_1LOADED_1RUNNING:
+				/* we'll worry about checking to see if another buffer is
+				 * ready after we've called back the owner. This should
+				 * ensure we do not wait around too long for the DMA
+				 * engine to start the next transfer
+				 */
+
+				chan->load_state = S3C_DMALOAD_1LOADED;
+				break;
+
+			case S3C_DMALOAD_NONE:
+				printk(KERN_ERR "dma%d: IRQ with no loaded buffer?\n",
+				       chan->number);
+				break;
+
+			default:
+				printk(KERN_ERR "dma%d: IRQ in invalid load_state %d\n",
+				       chan->number, chan->load_state);
+				break;
+			}
+
+			if (buf != NULL) {
+				/* update the chain to make sure that if we load any more
+				 * buffers when we call the callback function, things should
+				 * work properly */
+
+				chan->curr = buf->next;
+				buf->next = NULL;
+
+				if (buf->magic != BUF_MAGIC) {
+					printk(KERN_ERR "dma%d: %s: buf %p incorrect magic\n",
+					       chan->number, __FUNCTION__, buf);
+					goto next_channel;
+				}
+
+				s3c_dma_buffdone(chan, buf, S3C2410_RES_OK);
+
+				/* free resouces */
+				s3c_dma_freebuf(buf);
+			} else {
+			
+			}
+
+			if (chan->next != NULL) {
+				unsigned long flags;
+
+				switch (chan->load_state) {
+				case S3C_DMALOAD_1RUNNING:
+					/* don't need to do anything for this state */
+					break;
+
+				case S3C_DMALOAD_NONE:
+					/* can load buffer immediately */
+					break;
+
+				case S3C_DMALOAD_1LOADED:
+					if (s3c_dma_waitforload(chan, __LINE__) == 0) {
+						/* flag error? */
+						printk(KERN_ERR "dma%d: timeout waiting for load\n",
+						       chan->number);
+						goto next_channel;
+					}
+
+					break;
+
+				case S3C_DMALOAD_1LOADED_1RUNNING:
+					goto next_channel;
+
+				default:
+					printk(KERN_ERR "dma%d: unknown load_state in irq, %d\n",
+					       chan->number, chan->load_state);
+					goto next_channel;
+				}
+
+				local_irq_save(flags);
+				s3c_dma_loadbuffer(chan, chan->next);
+				
+				//shaju added for dbg
+				dma_wrreg(chan, S3C_DMAC_CxCONFIGURATION, chan->config_flags);
+				
+				local_irq_restore(flags);
+				
+			} else {
+				s3c_dma_lastxfer(chan);
+				
+				/* see if we can stop this channel.. */
+				if (chan->load_state == S3C_DMALOAD_NONE) {
+					pr_debug("# DMA CH %d(index:%d): end of transfer, stopping channel (%ld)\n",
+						 chan->number, chan->index, jiffies);
+					s3c2410_dma_ctrl(chan->index | DMACH_LOW_LEVEL, S3C2410_DMAOP_STOP);
+				}
+			}
+		}
+
+next_channel:
+		tmp >>= 1;
+
+	}
+
+	s3c_clear_interrupts(chan->dma_con->number, chan->number);
+	
+	return IRQ_HANDLED;
+}
+
+static struct s3c2410_dma_chan *s3c_dma_map_channel(int channel);
+
+/* s3c_request_dma
+ *
+ * get control of an dma channel
+*/
+
+int s3c2410_dma_request(unsigned int channel,
+			struct s3c2410_dma_client *client,
+			void *dev)
+{
+	struct s3c2410_dma_chan *chan;
+	unsigned long flags;
+	int err;
+
+	pr_debug("DMA CH %d: s3c2410_request_dma: client=%s, dev=%p\n",
+		 channel, client->name, dev);
+
+	local_irq_save(flags);
+
+	chan = s3c_dma_map_channel(channel);
+	if (chan == NULL) {
+		local_irq_restore(flags);
+		return -EBUSY;
+	}
+
+	dbg_showchan(chan);
+
+	chan->client = client;
+	chan->in_use = 1;
+
+	chan->dma_con->in_use++;
+
+	if (!chan->irq_claimed) {
+		pr_debug("DMA CH %d: %s : requesting irq %d\n",
+			 channel, __FUNCTION__, chan->irq);
+
+		chan->irq_claimed = 1;
+		local_irq_restore(flags);
+
+		err = request_irq(chan->irq, s3c_dma_irq, IRQF_DISABLED|IRQF_SHARED,
+				  client->name, (void *) chan->dma_con);
+
+		local_irq_save(flags);
+
+		if (err) {
+			chan->in_use = 0;
+			chan->irq_claimed = 0;
+			chan->dma_con->in_use--;
+			local_irq_restore(flags);
+
+			printk(KERN_ERR "%s: cannot get IRQ %d for DMA %d\n",
+			       client->name, chan->irq, chan->number);
+			return err;
+		}
+
+		chan->irq_enabled = 1;
+		
+		/* enable the main dma.. this can be disabled
+		 * when main channel use count is 0 */
+		s3c_enable_dmac(chan->dma_con->number);
+	}
+	
+	s3c_clear_interrupts(chan->dma_con->number, chan->number);
+	local_irq_restore(flags);
+
+	/* need to setup */
+
+	pr_debug("%s: channel initialised, %p, number:%d, index:%d\n", __FUNCTION__, chan, chan->number, chan->index);
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_request);
+
+/* s3c_dma_free
+ *
+ * release the given channel back to the system, will stop and flush
+ * any outstanding transfers, and ensure the channel is ready for the
+ * next claimant.
+ *
+ * Note, although a warning is currently printed if the freeing client
+ * info is not the same as the registrant's client info, the free is still
+ * allowed to go through.
+ */
+int s3c2410_dma_free(dmach_t channel, struct s3c2410_dma_client *client)
+{
+	unsigned long flags;
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+	pr_debug("%s: DMA channel %d will be stopped\n", __FUNCTION__, chan->number);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	local_irq_save(flags);
+
+	if (chan->client != client) {
+		printk(KERN_WARNING
+		       "DMA CH %d: possible free from different client (channel %p, passed %p)\n",
+		       channel, chan->client, client);
+	}
+
+	/* sort out stopping and freeing the channel */
+
+	if (chan->state != S3C_DMA_IDLE) {
+		pr_debug("%s: need to stop dma channel %p\n", __FUNCTION__, chan);
+
+		/* possibly flush the channel */
+		s3c2410_dma_ctrl(channel, S3C2410_DMAOP_STOP);
+	}
+
+	chan->client = NULL;
+	chan->in_use = 0;
+	
+	chan->dma_con->in_use--;
+
+	if (chan->irq_claimed)
+		free_irq(chan->irq, (void *)chan->dma_con);
+
+	chan->irq_claimed = 0;
+
+	if (!(channel & DMACH_LOW_LEVEL))
+		dma_chan_map[channel] = NULL;
+
+	local_irq_restore(flags);
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_free);
+
+/*actively polling for the A bit can block the cpu*/
+void s3c_dma_flush_fifo(struct s3c2410_dma_chan *chan)
+{
+	unsigned long tmp;
+	
+	tmp = dma_rdreg(chan, S3C_DMAC_CxCONFIGURATION);
+	tmp |= S3C_DMACONFIG_HALT;
+	dma_wrreg(chan, S3C_DMAC_CxCONFIGURATION, tmp);
+
+	tmp = dma_rdreg(chan, S3C_DMAC_CxCONFIGURATION);
+	
+	/*this while loop can be very dangerous..may be put the process to sleep rather than waiting till fifo is drained */
+	while (tmp & S3C_DMACONFIG_ACTIVE) {
+		tmp = dma_rdreg(chan, S3C_DMAC_CxCONFIGURATION);
+	}
+}
+
+static int s3c_dma_dostop(struct s3c2410_dma_chan *chan) 
+{
+	unsigned long tmp;
+	unsigned long flags;
+
+	pr_debug("%s: DMA Channel No : %d\n", __FUNCTION__, chan->number);
+
+	dbg_showchan(chan);
+
+	local_irq_save(flags);
+
+	s3c_dma_flush_fifo(chan);
+	
+	s3c_dma_call_op(chan, S3C2410_DMAOP_STOP);
+
+	tmp = dma_rdreg(chan, S3C_DMAC_CxCONFIGURATION);
+	
+	tmp &= ~S3C_DMACONFIG_CHANNEL_ENABLE;
+	dma_wrreg(chan, S3C_DMAC_CxCONFIGURATION, tmp);
+	
+	pr_debug("%s: S3C_DMAC_CxCONFIGURATION : %08x\n", __FUNCTION__, tmp);
+
+	chan->state = S3C_DMA_IDLE;
+	chan->load_state = S3C_DMALOAD_NONE;
+
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+static void s3c_dma_showchan(struct s3c2410_dma_chan * chan)
+{
+
+}
+
+/* s3c_dma_flush
+ *
+ * stop the channel, and remove all current and pending transfers
+ */
+
+void s3c_waitforstop(struct s3c2410_dma_chan *chan)
+{
+	
+}
+
+static int s3c_dma_flush(struct s3c2410_dma_chan *chan)
+{
+	struct s3c_dma_buf *buf, *next;
+	unsigned long flags;
+
+	pr_debug("%s:\n", __FUNCTION__);
+
+	local_irq_save(flags);
+
+	s3c_dma_showchan(chan);
+
+	if (chan->state != S3C_DMA_IDLE) {
+		pr_debug("%s: stopping channel...\n", __FUNCTION__);
+		s3c2410_dma_ctrl(chan->number, S3C2410_DMAOP_STOP);
+	}
+
+	buf = chan->curr;
+	if (buf == NULL)
+		buf = chan->next;
+
+	chan->curr = chan->next = chan->end = NULL;
+	chan->load_state = S3C_DMALOAD_NONE;
+
+	if (buf != NULL) {
+		for (; buf != NULL; buf = next) {
+			next = buf->next;
+
+			pr_debug("%s: free buffer %p, next %p\n", __FUNCTION__, buf, buf->next);
+
+			s3c_dma_buffdone(chan, buf, S3C2410_RES_ABORT);
+			s3c_dma_freebuf(buf);
+		}
+	}
+	//s3c_dma_waitforstop(chan);
+	
+	s3c_dma_showchan(chan);
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+int s3c_dma_started(struct s3c2410_dma_chan *chan)
+{
+	unsigned long flags;
+
+	local_irq_save(flags);
+
+	dbg_showchan(chan);
+
+	/* if we've only loaded one buffer onto the channel, then chec
+	 * to see if we have another, and if so, try and load it so when
+	 * the first buffer is finished, the new one will be loaded onto
+	 * the channel */
+
+	if (chan->next != NULL) {
+		if (chan->load_state == S3C_DMALOAD_1LOADED) {
+
+			if (s3c_dma_waitforload(chan, __LINE__) == 0) {
+				pr_debug("%s: buff not yet loaded, no more todo\n",
+					 __FUNCTION__);
+			} else {
+				chan->load_state = S3C_DMALOAD_1RUNNING;
+				s3c_dma_loadbuffer(chan, chan->next);
+			}
+
+		} else if (chan->load_state == S3C_DMALOAD_1RUNNING) {
+			s3c_dma_loadbuffer(chan, chan->next);
+		}
+	}
+
+	local_irq_restore(flags);
+
+	return 0;
+
+}
+
+int s3c2410_dma_ctrl(dmach_t channel, enum s3c_chan_op op)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	switch (op) {
+	case S3C2410_DMAOP_START:
+		return s3c_dma_start(chan);
+
+	case S3C2410_DMAOP_STOP:
+		return s3c_dma_dostop(chan);
+
+	case S3C2410_DMAOP_PAUSE:
+	case S3C2410_DMAOP_RESUME:
+		return -ENOENT;
+
+	case S3C2410_DMAOP_FLUSH:
+		return s3c_dma_flush(chan);
+
+	case S3C2410_DMAOP_STARTED:
+		return s3c_dma_started(chan);
+
+	case S3C2410_DMAOP_TIMEOUT:
+		return 0;
+
+	}
+
+	return -ENOENT;      /* unknown, don't bother */
+}
+EXPORT_SYMBOL(s3c2410_dma_ctrl);
+
+
+/* s3c_dma_config
+ *
+ * xfersize:     size of unit in bytes (1,2,4)
+ * dcon:         base value of the DCONx register
+ */
+int s3c2410_dma_config(dmach_t channel,
+		       int xferunit,
+		       int dcon)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	pr_debug("%s: chan=%d, xfer_unit=%d, dcon=%08x\n",
+		 __FUNCTION__, channel, xferunit, dcon);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	pr_debug("%s: Initial dcon is %08x\n", __FUNCTION__, dcon);
+
+	dcon |= chan->dcon & dma_sel.dcon_mask;
+
+	pr_debug("%s: New dcon is %08x\n", __FUNCTION__, dcon);
+	
+	switch (xferunit) {
+	case 1:
+		dcon |= S3C_DMACONTROL_SRC_WIDTH_BYTE;
+		dcon |= S3C_DMACONTROL_DEST_WIDTH_BYTE;
+		break;
+
+	case 2:
+		dcon |= S3C_DMACONTROL_SRC_WIDTH_HWORD;
+		dcon |= S3C_DMACONTROL_DEST_WIDTH_HWORD;
+		break;
+
+	case 4:
+		dcon |= S3C_DMACONTROL_SRC_WIDTH_WORD;
+		dcon |= S3C_DMACONTROL_DEST_WIDTH_WORD;
+		break;
+
+	default:
+		pr_debug("%s: Bad transfer size %d\n", __FUNCTION__, xferunit);
+		return -EINVAL;
+	}
+
+	pr_debug("%s: DMA Channel control :  %08x\n", __FUNCTION__, dcon);
+
+	dcon |= S3C_DMACONTROL_TC_INT_ENABLE;
+	dcon |= chan->control_flags;
+	pr_debug("%s: dcon now %08x\n", __FUNCTION__, dcon);
+
+	/* For DMCCxControl 0 */
+	chan->dcon = dcon;
+
+	/* For DMACCxControl 1 : xferunit means transfer width.*/
+	chan->xfer_unit = xferunit;
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_config);
+
+
+int s3c2410_dma_setflags(dmach_t channel, unsigned int flags)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	pr_debug("%s: chan=%p, flags=%08x\n", __FUNCTION__, chan, flags);
+
+	chan->flags = flags;
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_setflags);
+
+
+/* do we need to protect the settings of the fields from
+ * irq?
+ */
+
+int s3c2410_dma_set_opfn(dmach_t channel, s3c2410_dma_opfn_t rtn)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	pr_debug("%s: chan=%p, op rtn=%p\n", __FUNCTION__, chan, rtn);
+
+	chan->op_fn = rtn;
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_set_opfn);
+
+
+int s3c2410_dma_set_buffdone_fn(dmach_t channel, s3c2410_dma_cbfn_t rtn)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	pr_debug("%s: chan=%p, callback rtn=%p\n", __FUNCTION__, chan, rtn);
+
+	chan->callback_fn = rtn;
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_set_buffdone_fn);
+
+
+/* s3c2410_dma_devconfig
+ *
+ * configure the dma source/destination hardware type and address
+ *
+ * flowctrl: direction of dma flow
+ *
+ * src_per dst_per: dma channel number of src and dst periphreal,
+ *
+ * devaddr:   physical address of the source
+ */
+
+int s3c2410_dma_devconfig(int channel,
+			  enum s3c2410_dmasrc source,
+			  int hwcfg,
+			  unsigned long devaddr)
+{
+	unsigned long tmp;
+
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	pr_debug("%s: source=%d, hwcfg=%08x, devaddr=%08lx\n",
+		 __FUNCTION__, (int)source, hwcfg, devaddr);
+
+	chan->source = source;
+	chan->dev_addr = devaddr;
+
+	switch (source) {
+	case S3C2410_DMASRC_MEM:
+		/* source is Memory : Mem-to-Peri ( Write into FIFO) */
+		tmp = S3C_DMACONFIG_TCMASK | S3C_DMACONFIG_FLOWCTRL_MEM2PER | (chan->map->hw_addr.to) <<
+			S3C_DEST_SHIFT | S3C_DMACONFIG_CHANNEL_ENABLE;
+		
+		chan->config_flags = tmp;
+
+		/* TODO : Now, Scatter&Gather DMA NOT supported */
+		dma_wrreg(chan, S3C_DMAC_CxLLI, 0);
+		
+		/* devaddr : Periperal address (destination) */
+		dma_wrreg(chan, S3C_DMAC_CxDESTADDR, devaddr);
+
+		/* source address : memory(buffer) address */
+		chan->addr_reg = dma_regaddr(chan, S3C_DMAC_CxSRCADDR);
+		
+		chan->control_flags = S3C_DMACONTROL_SRC_INC | S3C_DMACONTROL_DEST_AXI_PERI ;
+		//chan->control_flags = hwcfg;
+		return 0;
+
+	case S3C2410_DMASRC_HW:
+		/* source is peripheral : Peri-to-Mem ( Read from FIFO) */
+		tmp = S3C_DMACONFIG_TCMASK | S3C_DMACONFIG_FLOWCTRL_PER2MEM | (chan->map->hw_addr.from) <<
+			S3C_SRC_SHIFT | S3C_DMACONFIG_CHANNEL_ENABLE;
+		
+		chan->config_flags = tmp;
+
+		/* TODO : Now, Scatter&Gather DMA NOT supported */
+		dma_wrreg(chan, S3C_DMAC_CxLLI, 0);
+		
+		/* devaddr : Periperal address (source) */
+		dma_wrreg(chan, S3C_DMAC_CxSRCADDR, devaddr);
+
+		/* destination address : memory(buffer) address */
+		chan->addr_reg = dma_regaddr(chan, S3C_DMAC_CxDESTADDR);
+		
+		chan->control_flags = S3C_DMACONTROL_DEST_INC | S3C_DMACONTROL_SRC_AXI_PERI;
+		//chan->control_flags = hwcfg;
+		
+		return 0;
+
+	case S3C_DMA_MEM2MEM:
+		/* this is temporary for G3D */
+		tmp = S3C_DMACONFIG_TCMASK | S3C_DMACONFIG_FLOWCTRL_MEM2MEM | S3C_DMACONFIG_CHANNEL_ENABLE;
+		
+		chan->config_flags = tmp;
+
+		/* TODO : Now, Scatter&Gather DMA NOT YET supported */
+		dma_wrreg(chan, S3C_DMAC_CxLLI, 0);
+		
+		/* devaddr : memory/onenand address (source) */
+		dma_wrreg(chan, S3C_DMAC_CxSRCADDR, devaddr);
+
+		/* destination address : memory(buffer) address */
+		chan->addr_reg = dma_regaddr(chan, S3C_DMAC_CxDESTADDR);
+	
+		chan->control_flags |= (S3C_DMACONTROL_SRC_INC | S3C_DMACONTROL_DEST_AXI_PERI
+				| S3C_DMACONTROL_SBSIZE_4 | S3C_DMACONTROL_DBSIZE_4);
+		//chan->control_flags = hwcfg;
+		
+		return 0;
+
+	case S3C_DMA_MEM2MEM_P:
+		/* source is memory : Memory-to-Mem ( Read/Write) */
+		tmp = S3C_DMACONFIG_TCMASK | S3C_DMACONFIG_FLOWCTRL_MEM2MEM | S3C_DMACONFIG_CHANNEL_ENABLE;
+
+		//if(chan->map->hw_addr.from == S3C_DMA0_ONENAND_RX) {
+			//tmp |= S3C_DMACONFIG_ONENANDMODESRC;
+		//}
+		
+		chan->config_flags = tmp;
+
+		/* TODO : Now, Scatter&Gather DMA NOT YET supported */
+		dma_wrreg(chan, S3C_DMAC_CxLLI, 0);
+		
+		/* devaddr : memory/onenand address (source) */
+		dma_wrreg(chan, S3C_DMAC_CxSRCADDR, devaddr);
+
+		/* destination address : memory(buffer) address */
+		chan->addr_reg = dma_regaddr(chan, S3C_DMAC_CxDESTADDR);
+		
+		chan->control_flags |= (S3C_DMACONTROL_SRC_INC | S3C_DMACONTROL_DEST_INC 
+				| S3C_DMACONTROL_SBSIZE_4 | S3C_DMACONTROL_DBSIZE_4);
+		//chan->control_flags = hwcfg;
+		
+		return 0;
+
+	case S3C_DMA_PER2PER:
+		printk("Peripheral-to-Peripheral DMA NOT YET implemented !! \n");
+		return -EINVAL;
+
+	default:
+		printk(KERN_ERR "DMA CH :%d - invalid source type ()\n", channel);
+		printk("Unsupported DMA configuration from the device driver using DMA driver \n");
+		return -EINVAL;
+	}
+	
+}
+
+EXPORT_SYMBOL(s3c2410_dma_devconfig);
+
+
+/* 
+ * s3c_dma_getposition
+ * returns the current transfer points for the dma source and destination
+ */
+int s3c2410_dma_getposition(dmach_t channel, dma_addr_t *src, dma_addr_t *dst)
+{
+ 	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	if (src != NULL)
+ 		*src = dma_rdreg(chan, S3C_DMAC_CxSRCADDR);
+	
+ 	if (dst != NULL)
+ 		*dst = dma_rdreg(chan, S3C_DMAC_CxDESTADDR);
+
+ 	return 0;
+}
+
+EXPORT_SYMBOL(s3c2410_dma_getposition);
+
+
+/* system device class */
+#ifdef CONFIG_PM
+static int s3c_dma_suspend (struct sys_device *dev, pm_message_t state)
+{
+	return 0;
+}
+
+static int s3c_dma_resume (struct sys_device *dev)
+{
+	return 0;
+}
+#else
+#define s3c_dma_suspend NULL
+#define s3c_dma_resume  NULL
+#endif				/* CONFIG_PM */
+
+struct sysdev_class dma_sysclass = {
+	.name = "s3c64xx-dma",
+	.suspend = s3c_dma_suspend,
+	.resume = s3c_dma_resume,
+};
+
+/* kmem cache implementation */
+
+static void s3c_dma_cache_ctor(void *p)
+{
+	memset(p, 0, sizeof(struct s3c_dma_buf));
+}
+
+
+void dma_test (int dcon_num, int channel)
+{
+	int tmp;
+	
+	s3c_dma_controller_t *dma_controller = &s3c_dma_cntlrs[dcon_num];
+
+	dma_wrreg(dma_controller, S3C_DMAC_CONFIGURATION, S3C_DMA_CONTROLLER_ENABLE);
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CONFIGURATION);
+	printk("reg val %d\n", tmp);
+	dma_wrreg(dma_controller, S3C_DMAC_CCONFIGURATION(channel), 0x01);
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CCONFIGURATION(channel));
+
+	printk("reg conf %x\n", tmp);
+	dma_wrreg(dma_controller, S3C_DMAC_CCONTROL0(channel), 0x8ff02064);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CCONTROL0(channel));
+	printk("reg ctrl %x\n", tmp);
+}
+
+
+/* initialisation code */
+
+int __init s3c_dma_init(unsigned int channels, unsigned int irq,
+			    unsigned int stride)
+{
+	struct s3c2410_dma_chan *cp;
+	s3c_dma_controller_t *dconp;
+	int channel, controller;
+	int ret;
+
+	printk("S3C DMA-pl080 Controller Driver, (c) 2006-2007 Samsung Electronics\n");
+
+	dma_channels = channels;
+	printk("Total %d DMA channels will be initialized.\n", channels);
+
+	ret = sysdev_class_register(&dma_sysclass);
+	if (ret != 0) {
+		printk(KERN_ERR "dma sysclass registration failed.\n");
+		goto err;
+	}
+
+	dma_kmem = kmem_cache_create("dma_desc", sizeof(struct s3c_dma_buf), 0,
+				     SLAB_HWCACHE_ALIGN, (void *)s3c_dma_cache_ctor);
+
+	if (dma_kmem == NULL) {
+		printk(KERN_ERR "DMA failed to make kmem cache\n");
+		ret = -ENOMEM;
+		goto err;
+	}
+
+	for (controller = 0; controller < S3C_DMA_CONTROLLERS; controller++) {
+		dconp = &s3c_dma_cntlrs[controller];
+
+		memset(dconp, 0, sizeof(s3c_dma_controller_t));
+
+		if(controller < 2) {
+			dma_base = ioremap((S3C_PA_DMA + (controller * 0x100000)), 0x200);
+			if (dma_base == NULL) {
+				printk(KERN_ERR "DMA failed to ioremap register block\n");
+				return -ENOMEM;
+			}
+
+			/* dma controller's irqs are in order.. */
+			dconp->irq = controller + IRQ_DMA0;
+		}
+		else {
+			dma_base = ioremap(((S3C_PA_DMA + 0x8B00000) + ((controller%2) * 0x100000)), 0x200);
+			if (dma_base == NULL) {
+				printk(KERN_ERR "SDMA failed to ioremap register block\n");
+				return -ENOMEM;
+			}
+
+			/* dma controller's irqs are in order.. */
+			dconp->irq = (controller%2) + IRQ_SDMA0;
+		}
+		
+		dconp->number = controller;
+		dconp->regs = dma_base;
+		sh_printk("DMA controller : %d irq %d regs_base %x\n", dconp->number, dconp->irq,
+			  dconp->regs);
+	}
+
+	for (channel = 0; channel < channels; channel++) {
+		controller = channel / S3C_CHANNELS_PER_DMA;
+		cp = &s3c_dma_chans[channel];
+
+		memset(cp, 0, sizeof(struct s3c2410_dma_chan));
+
+		cp->dma_con = &s3c_dma_cntlrs[controller];
+		
+		/* dma channel irqs are in order.. */
+		cp->index = channel;
+		cp->number = channel%S3C_CHANNELS_PER_DMA;
+		
+		cp->irq = s3c_dma_cntlrs[controller].irq;
+		
+		cp->regs = s3c_dma_cntlrs[controller].regs + ((channel%S3C_CHANNELS_PER_DMA)*stride) + 0x100;
+
+		/* point current stats somewhere */
+		cp->stats = &cp->stats_store;
+		cp->stats_store.timeout_shortest = LONG_MAX;
+
+		/* basic channel configuration */
+		cp->load_timeout = 1 << 18;
+
+		/* register system device */
+		cp->dev.cls = &dma_sysclass;
+		cp->dev.id = channel;
+		//ret = sysdev_register(&cp->dev);
+
+		sh_printk("DMA channel %d at %p, irq %d\n", cp->number, cp->regs, cp->irq);
+	}
+
+	return 0;
+
+err:
+	kmem_cache_destroy(dma_kmem);
+	iounmap(dma_base);
+	dma_base = NULL;
+	return ret;
+}
+
+
+
+static inline int is_channel_valid(unsigned int channel)
+{
+	return (channel & DMA_CH_VALID);
+}
+
+static struct s3c_dma_order *dma_order;
+
+
+/* s3c_dma_map_channel()
+ *
+ * turn the virtual channel number into a real, and un-used hardware
+ * channel.
+ *
+ * first, try the dma ordering given to us by either the relevant
+ * dma code, or the board. Then just find the first usable free
+ * channel
+*/
+
+struct s3c2410_dma_chan *s3c_dma_map_channel(int channel)
+{
+	struct s3c_dma_order_ch *ord = NULL;
+	struct s3c_dma_map *ch_map;
+	struct s3c2410_dma_chan *dmach;
+	int ch;
+
+	if (dma_sel.map == NULL || channel > dma_sel.map_size)
+		return NULL;
+
+	ch_map = dma_sel.map + channel;
+
+	/* first, try the board mapping */
+
+	if (dma_order) {
+		ord = &dma_order->channels[channel];
+
+		for (ch = 0; ch < dma_channels; ch++) {
+			if (!is_channel_valid(ord->list[ch]))
+				continue;
+
+			if (s3c_dma_chans[ord->list[ch]].in_use == 0) {
+				ch = ord->list[ch] & ~DMA_CH_VALID;
+				goto found;
+			}
+		}
+
+		if (ord->flags & DMA_CH_NEVER)
+			return NULL;
+	}
+
+	/* second, search the channel map for first free */
+
+	for (ch = 0; ch < dma_channels; ch++) {
+		if (!is_channel_valid(ch_map->channels[ch]))
+			continue;
+
+		if (s3c_dma_chans[ch].in_use == 0) {
+			pr_debug("mapped channel %d to %d\n", channel, ch);
+			break;
+		}
+	}
+
+	if (ch >= dma_channels)
+		return NULL;
+
+	/* update our channel mapping */
+
+ found:
+	dmach = &s3c_dma_chans[ch];
+	dma_chan_map[channel] = dmach;
+
+	/* select the channel */
+	(dma_sel.select)(dmach, ch_map);
+
+	return dmach;
+}
+
+static int s3c_dma_check_entry(struct s3c_dma_map *map, int ch)
+{
+	unsigned long tmp = __raw_readl(S3C_SDMA_SEL);
+	
+	tmp |= map->sdma_sel;
+	__raw_writel(tmp, S3C_SDMA_SEL);
+	
+	return 0;
+}
+
+int __init s3c_dma_init_map(struct s3c_dma_selection *sel)
+{
+	struct s3c_dma_map *nmap;
+	size_t map_sz = sizeof(*nmap) * sel->map_size;
+	int ptr;
+
+	nmap = kmalloc(map_sz, GFP_KERNEL);
+	if (nmap == NULL)
+		return -ENOMEM;
+
+	memcpy(nmap, sel->map, map_sz);
+	memcpy(&dma_sel, sel, sizeof(*sel));
+
+	dma_sel.map = nmap;
+
+	for (ptr = 0; ptr < sel->map_size; ptr++)
+		s3c_dma_check_entry(nmap+ptr, ptr);
+
+	return 0;
+}
+
+int __init s3c_dma_order_set(struct s3c_dma_order *ord)
+{
+	struct s3c_dma_order *nord = dma_order;
+
+	if (nord == NULL)
+		nord = kmalloc(sizeof(struct s3c_dma_order), GFP_KERNEL);
+
+	if (nord == NULL) {
+		printk(KERN_ERR "no memory to store dma channel order\n");
+		return -ENOMEM;
+	}
+
+	dma_order = nord;
+	memcpy(nord, ord, sizeof(struct s3c_dma_order));
+	return 0;
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/dma-pl330-mcode.h linux-2.6.28.6/arch/arm/plat-s3c/dma-pl330-mcode.h
--- linux-2.6.28/arch/arm/plat-s3c/dma-pl330-mcode.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/dma-pl330-mcode.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1145 @@
+/* linux/arch/arm/plat-s3c/dma-pl330-mcode.h
+ *
+ * DMA PL330 microcode
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*------------------------------------------------------*/
+/*	Version : v1.1					*/
+/*	Date last updated : Dec. 10, 2008		*/
+/*------------------------------------------------------*/
+
+
+#define	PL330_DMA_DEBUG
+#undef	PL330_DMA_DEBUG
+
+#ifdef PL330_DMA_DEBUG
+#define dma_debug(fmt...) 		printk( fmt)
+#else
+#define dma_debug(fmt...)
+#endif
+
+#define print_warning(fmt...) 		printk( fmt)
+
+#define PL330_P2M_DMA			0
+#define PL330_M2P_DMA			1
+#define PL330_M2M_DMA			2
+#define PL330_P2P_DMA			3
+
+#define	PL330_MAX_ITERATION_NUM		256
+#define	PL330_MAX_JUMPBACK_NUM		256
+#define	PL330_MAX_EVENT_NUM		32
+#define	PL330_MAX_PERIPHERAL_NUM	32
+#define	PL330_MAX_CHANNEL_NUM		8
+
+#define DMA_DBGSTATUS			0x0
+#define DMA_DBGCMD			0x1
+#define DMA_DBGINST0			0x2
+#define DMA_DBGINST1			0x3
+
+#define memOutp8(addr, data) 		(*(volatile u8 *)(addr) = (data))
+#define Outp32(addr, data)		(*(volatile u32 *)(addr) = (data))
+#define Inp32(addr)			(*(volatile u32 *)(addr))
+
+
+/* Parameter set for Channel Control Register */
+typedef struct DMA_control
+{
+	unsigned uSI			:1 ;	/* [0] Transfer size not count		*/
+	unsigned uSBSize		:3 ;	/* [3:1] Source 1 transfer size		*/
+	unsigned uSBLength		:4 ;	/* [7:4] Sourse burst len		*/
+	unsigned uSProt			:3 ;	/* [10:8] Source Protection set 101b=5	*/
+	unsigned uSCache		:3 ;	/* [13:11] Source Cache control		*/
+	unsigned uDI 			:1 ;	/* [14] Destination increment		*/
+	unsigned uDBSize		:3 ;	/* [17:15] Destination 1 transfer size	*/
+	unsigned uDBLength		:4 ;	/* [21:18] Destination burst len	*/
+	unsigned uDProt			:3 ;	/* [24:22] Source Protection set 101b=5	*/
+	unsigned uDCache		:3 ;	/* [27:25] Source Cache control		*/
+	unsigned uESSize		:4 ;	/* [31:28] endian_swap_size		*/
+} pl330_DMA_control_t;
+
+
+/* Parameter list for a DMA operation */
+typedef struct DMA_parameters
+{
+	unsigned long			mDirection;	/* DMA direction */
+	unsigned long			mPeriNum;	/* DMA Peripheral number */
+	unsigned long			mSrcAddr;	/* DMA source address */
+	unsigned long			mDstAddr;	/* DMA destination address */
+	unsigned long			mTrSize;	/* DMA Transfer size */
+	pl330_DMA_control_t		mControl;	/* DMA control */
+	unsigned long			mIrqEnable;	/* DMA Send IRQ */
+	unsigned long			mLoop;		/* DMA Infinite Loop - 0(off) */
+	unsigned long			mBwJump;	/* DMA backward relative offset */
+	unsigned long			mLastReq;	/* The last DMA Req.  */
+} pl330_DMA_parameters_t;
+
+
+static void print_dma_param_info(pl330_DMA_parameters_t dma_param)
+{
+	/* Parameter list for a DMA operation */
+	dma_debug("	mDirection = %lu\n", dma_param.mDirection);
+	dma_debug("	mPeriNum = %lu\n", dma_param.mPeriNum);
+	dma_debug("	mSrcAddr = 0x%x\n", dma_param.mSrcAddr);
+	dma_debug("	mDstAddr = 0x%x\n", dma_param.mDstAddr);
+	dma_debug("	mTrSize = %lu\n", dma_param.mTrSize);
+	dma_debug("	mControl = 0x%x\n", dma_param.mControl);
+	dma_debug("	mIrqEnable = %lu\n", dma_param.mIrqEnable);
+	dma_debug("	mLoop = %lu\n", dma_param.mLoop);
+	dma_debug("	mBwJump = %lu\n", dma_param.mBwJump);
+	dma_debug("	mLastReq = %lu\n", dma_param.mLastReq);
+}
+
+/*---------------------- Primitive functions -------------*/
+/* When the DMAC is operating in real-time then you can only issue a limited subset of instructions as follows:
+ * DMAGO starts a DMA transaction using a DMA channel that you specify.
+ * DMASEV signals the occurrence of an event, or interrupt, using an event number that you specify.
+ * DMAKILL terminates a thread.
+
+ * Prior to issuing DMAGO, you must ensure that the system memory contains a suitable
+ * program for the DMAC to execute, starting at the address that the DMAGO specifies.
+ */
+
+/* DMAMOV CCR, ...  */
+static int encodeDmaMoveChCtrl(u8 * mcode_ptr, u32 dmacon)
+{
+	u8 uInsBytes[6];
+	u32 i;
+
+	uInsBytes[0] = (u8)(0xbc);
+	uInsBytes[1] = (u8)(0x1);
+	uInsBytes[2] = (u8)((dmacon>>0)&0xff);
+	uInsBytes[3] = (u8)((dmacon>>8)&0xff);
+	uInsBytes[4] = (u8)((dmacon>>16)&0xff);
+	uInsBytes[5] = (u8)((dmacon>>24)&0xff);
+
+	for(i=0; i<6; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 6;
+}
+
+/* DMAMOV SAR, uStAddr
+ * DMAMOV DAR, uStAddr   */
+static int encodeDmaMove(u8 * mcode_ptr, u8 uDir, u32 uStAddr)
+{
+	u8 uInsBytes[6];
+    	u32 i;
+
+	uInsBytes[0] = (u8)(0xbc);
+	uInsBytes[1] = (u8)(0x0|uDir);
+	uInsBytes[2] = (u8)((uStAddr>>0)&0xff);
+	uInsBytes[3] = (u8)((uStAddr>>8)&0xff);
+	uInsBytes[4] = (u8)((uStAddr>>16)&0xff);
+	uInsBytes[5] = (u8)((uStAddr>>24)&0xff);
+
+	for(i=0; i<6; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 6;
+}
+
+
+/* DMALD, DMALDS, DMALDB  */
+static int encodeDmaLoad(u8 * mcode_ptr)
+{
+	u8 bs=0;
+	u8 x=0;
+	u8 uInsBytes[1];
+	u32 i;
+
+	uInsBytes[0] = (u8)(0x04|(bs<<1)|(x<<0));
+
+	for(i=0; i<1; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 1;
+}
+
+/* DMALDPS, DMALDPB (Load Peripheral)  */
+static int encodeDmaLoadPeri(u8 * mcode_ptr, u8 mPeriNum)
+{
+	u8 bs;
+	u8 uInsBytes[2];
+	u32 i;
+	u8 m_uBurstSz=1;
+
+	if(mPeriNum > PL330_MAX_PERIPHERAL_NUM) {
+		print_warning("[%s] The peripheral number is too big ! : %d\n", __FUNCTION__, mPeriNum);
+		return 0;
+	}
+
+	bs = (m_uBurstSz == 1) ? 0 : 1; // single -> 0, burst -> 1
+
+	uInsBytes[0] = (u8)(0x25|(bs<<1));
+	uInsBytes[1] = (u8)(0x00|((mPeriNum&0x1f)<<3));
+
+	for(i=0; i<2; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 2;
+}
+
+/* DMAST, DMASTS, DMASTB  */
+static int encodeDmaStore(u8 * mcode_ptr)
+{
+	u8 bs=0;
+	u8 x=0;
+	u8 uInsBytes[1];
+	u32 i;
+
+	uInsBytes[0] = (u8)(0x08|(bs<<1)|(x<<0));
+
+	for(i=0; i<1; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 1;
+}
+
+/* DMASTPS, DMASTPB (Store and notify Peripheral)  */
+static int encodeDmaStorePeri(u8 * mcode_ptr, u8 mPeriNum)
+{
+	u8 bs;
+	u8 uInsBytes[2];
+	u32 i;
+	u8 m_uBurstSz=1;
+
+	if(mPeriNum > PL330_MAX_PERIPHERAL_NUM) {
+		print_warning("[%s] The peripheral number is too big ! : %d\n", __FUNCTION__, mPeriNum);
+		return 0;
+	}
+
+	bs = (m_uBurstSz == 1) ? 0 : 1; /* single:0, burst:1 */
+
+	uInsBytes[0] = (u8)(0x29|(bs<<1));
+	uInsBytes[1] = (u8)(0x00|((mPeriNum&0x1f)<<3));
+
+	for(i=0; i<2; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 2;
+}
+
+/* DMASTZ  */
+static int encodeDmaStoreZero(u8 * mcode_ptr)
+{
+	u8 uInsBytes[1];
+	u32 i;
+
+	uInsBytes[0] = (u8)(0x0c);
+
+	for(i=0; i<1; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 1;
+}
+
+/* DMALP  */
+static int encodeDmaLoop(u8 * mcode_ptr, u8 uLoopCnt, u8 uIteration)
+{
+	u8 uInsBytes[2];
+	u32 i;
+
+	uInsBytes[0] = (u8)(0x20|(uLoopCnt<<1));
+	uInsBytes[1] = (u8)(uIteration);
+
+	for(i=0; i<2; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 2;
+
+}
+
+/* DMALPFE  */
+static int encodeDmaLoopForever(u8 * mcode_ptr, u8 uBwJump)
+{
+	u8 bs=0;
+	u8 x=0;
+	u8 uInsBytes[2];
+	u32 i;
+
+	uInsBytes[0] = (u8)(0x28|(0<<4)|(0<<2)|(bs<<1)|x);
+	uInsBytes[1] = (u8)(uBwJump);
+
+	for(i=0; i<2; i++)
+	{
+		memOutp8(mcode_ptr + i, uInsBytes[i]);
+	}
+
+	return 2;
+}
+
+
+/* DMALPEND, DMALPENDS, DMALPENDB  */
+static int encodeDmaLoopEnd(u8 * mcode_ptr, u8 uLoopCnt, u8 uBwJump)
+{
+	u8 bs=0;
+	u8 x=0;
+	u8 uInsBytes[2];
+	u32 i;
+
+	uInsBytes[0] = (u8)(0x38|(1<<4)|(uLoopCnt<<2)|(bs<<1)|x);
+	uInsBytes[1] = (u8)(uBwJump);
+
+	for(i=0; i<2; i++)
+	{
+		memOutp8(mcode_ptr + i, uInsBytes[i]);
+	}
+
+	return 2;
+}
+
+/*  DMAWFP, DMAWFPS, DMAWFPB (Wait For Peripheral) */
+static int encodeDmaWaitForPeri(u8 * mcode_ptr, u8 mPeriNum)
+{
+	u8 bs=0;
+	u8 p=0;
+	u8 uInsBytes[2];
+    	u32 i;
+
+	if(mPeriNum > PL330_MAX_PERIPHERAL_NUM) {
+		print_warning("[%s] The peripheral number is too big ! : %d\n", __FUNCTION__, mPeriNum);
+		return 0;
+	}
+
+	uInsBytes[0] = (u8)(0x30|(bs<<1)|p);
+	uInsBytes[1] = (u8)(0x00|((mPeriNum&0x1f)<<3));
+
+	for(i=0; i<2; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 2;
+}
+
+/* DMAWFE (Wait For Event) : 0 ~ 31 */
+static int encodeDmaWaitForEvent(u8 * mcode_ptr, u8 uEventNum)
+{
+	u8 uInsBytes[2];
+	u32 i;
+
+	if(uEventNum > PL330_MAX_EVENT_NUM) {
+		print_warning("[%s] The uEventNum number is too big ! : %d\n", __FUNCTION__, uEventNum);
+		return 0;
+	}
+
+	uInsBytes[0] = (u8)(0x36);
+	uInsBytes[1] = (u8)((uEventNum<<3)|0x2); /* for cache coherency, invalid is issued.  */
+
+	for(i=0; i<2; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 2;
+}
+
+/*  DMAFLUSHP (Flush and notify Peripheral) */
+static int encodeDmaFlushPeri(u8 * mcode_ptr, u8 mPeriNum)
+{
+	u8 uInsBytes[2];
+	u32 i;
+
+	if(mPeriNum > PL330_MAX_PERIPHERAL_NUM) {
+		print_warning("[%s] The peripheral number is too big ! : %d\n", __FUNCTION__, mPeriNum);
+		return 0;
+	}
+
+	uInsBytes[0] = (u8)(0x35);
+	uInsBytes[1] = (u8)(0x00|((mPeriNum&0x1f)<<3));
+
+	for(i=0; i<2; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 2;
+}
+
+/* DMAEND */
+static int encodeDmaEnd(u8 * mcode_ptr)
+{
+	memOutp8(mcode_ptr, 0x00);
+
+	return 1;
+}
+
+/* DMAADDH (Add Halfword) */
+static int encodeDmaAddHalfword(u8 * mcode_ptr, bool bSrcDir, u16 uStAddr)
+{
+	u8 uDir = (bSrcDir) ? 0 : 1; /* src addr=0, dst addr=1 */
+	u8 uInsBytes[3];
+	u32 i;
+
+	uInsBytes[0] = (u8)(0x54|(uDir<<1));
+	uInsBytes[1] = (u8)((uStAddr>>0)&0xff);
+	uInsBytes[2] = (u8)((uStAddr>>8)&0xff);
+
+	for(i=0; i<3; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 3;
+}
+
+/* DMAKILL (Kill) */
+static int encodeDmaKill(u8 * mcode_ptr)
+{
+	u8 uInsBytes[1];
+	u32 i;
+	uInsBytes[0] = (u8)(0x01);
+
+	for(i=0; i<1; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 1;
+}
+
+/* DMANOP (No operation) */
+static int encodeDmaNop(u8 * mcode_ptr)
+{
+	u8 uInsBytes[1];
+	u32 i;
+	uInsBytes[0] = (u8)(0x18);
+
+	for(i=0; i<1; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 1;
+}
+
+
+/* DMARMB (Read Memory Barrier) */
+static int encodeDmaReadMemBarrier(u8 * mcode_ptr)
+{
+	u8 uInsBytes[1];
+	u32 i;
+	uInsBytes[0] = (u8)(0x12);
+
+	for(i=0; i<1; i++)
+	{
+		memOutp8(mcode_ptr+i, uInsBytes[i]);
+	}
+
+	return 1;
+}
+
+/* DMASEV (Send Event) : 0 ~ 31 */
+static int encodeDmaSendEvent(u8 * mcode_ptr, u8 uEventNum)
+{
+	u8 uInsBytes[2];
+	u32 i;
+	uInsBytes[0] = (u8)(0x34);
+	uInsBytes[1] = (u8)((uEventNum<<3)|0x0);
+
+	if(uEventNum > PL330_MAX_EVENT_NUM) {
+		print_warning("[%s] Event number is too big ! : %d\n", __FUNCTION__, uEventNum);
+		return 0;
+	}
+
+	for(i=0; i<2; i++)
+	{
+		memOutp8(mcode_ptr + i, uInsBytes[i]);
+	}
+
+	return 2;
+}
+
+
+/* DMAWMB (Write Memory Barrier) */
+static int encodeDmaWriteMemBarrier(u8 * mcode_ptr)
+{
+	u8 uInsBytes[1];
+	u32 i;
+	uInsBytes[0] = (u8)(0x13);
+
+	for(i=0; i<1; i++)
+	{
+		memOutp8(mcode_ptr + i, uInsBytes[i]);
+	}
+
+	return 1;
+}
+
+/* DMAGO over DBGINST[0:1] registers */
+static void encodeDmaGoOverDBGINST(u32 * mcode_ptr, u8 chanNum, u32 mbufAddr, u8 m_secureBit)
+{
+	u32 x;
+	u8 uDmaGo;		/* DMAGO instruction */
+
+	if(chanNum > PL330_MAX_CHANNEL_NUM) {
+		print_warning("[%s] Channel number is too big ! : %d\n", __FUNCTION__, chanNum);
+		return;
+	}
+
+	do
+	{
+		x = Inp32(mcode_ptr+DMA_DBGSTATUS);
+	} while ((x&0x1)==0x1);
+
+	uDmaGo = (m_secureBit==0) ?
+		(0xa0|(0<<1)) : 	/* secure mode : M2M DMA only   */
+		(0xa0|(1<<1));  	/* non-secure mode : M2P/P2M DMA only */
+
+	Outp32(mcode_ptr+DMA_DBGINST0, (chanNum<<24)|(uDmaGo<<16)|(chanNum<<8)|(0<<0));
+	Outp32(mcode_ptr+DMA_DBGINST1, mbufAddr);
+	Outp32(mcode_ptr+DMA_DBGCMD, 0); 	/* 0 : execute the instruction that the DBGINST0,1 registers contain */
+
+}
+
+/* DMAKILL over DBGINST[0:1] registers - Stop a DMA channel */
+static void encodeDmaKillChannelOverDBGINST(u32 * mcode_ptr, u8 chanNum)
+{
+	u32 x;
+
+	if(chanNum > PL330_MAX_CHANNEL_NUM) {
+		print_warning("[%s] Channel number is too big ! : %d\n", __FUNCTION__, chanNum);
+		return;
+	}
+
+	do
+	{
+		x = Inp32(mcode_ptr+DMA_DBGSTATUS);
+	} while ((x&0x1)==0x1);
+
+	Outp32(mcode_ptr+DMA_DBGINST0, (0<<24)|(1<<16)|(chanNum<<8)|(1<<0));	/* issue instruction by channel thread */
+	Outp32(mcode_ptr+DMA_DBGINST1, 0);
+	Outp32(mcode_ptr+DMA_DBGCMD, 0); 	/* 0 : execute the instruction that the DBGINST0,1 registers contain */
+
+	do
+	{
+		x = Inp32(mcode_ptr+DMA_DBGSTATUS);
+	} while ((x&0x1)==0x1);
+}
+
+/* DMAKILL over DBGINST[0:1] registers - Stop a DMA controller (stop all of the channels) */
+static void encodeDmaKillDMACOverDBGINST(u32 * mcode_ptr)
+{
+	u32 x;
+
+	do
+	{
+		x = Inp32(mcode_ptr+DMA_DBGSTATUS);
+	} while ((x&0x1)==0x1);
+
+	Outp32(mcode_ptr+DMA_DBGINST0, (0<<24)|(1<<16)|(0<<8)|(0<<0));	/* issue instruction by manager thread */
+	Outp32(mcode_ptr+DMA_DBGINST1, 0);
+	Outp32(mcode_ptr+DMA_DBGCMD, 0); 	/* 0 : execute the instruction that the DBGINST0,1 registers contain */
+
+	do
+	{
+		x = Inp32(mcode_ptr+DMA_DBGSTATUS);
+	} while ((x&0x1)==0x1);
+}
+
+/*----------------------------------------------------------*/
+/*                      Wrapper functions                   */
+/*----------------------------------------------------------*/
+
+/* config_DMA_Go_command
+ * - make DMA GO command into the Debug Instruction register 0/1
+ *
+ *	mcode_ptr	the buffer for PL330 DMAGO micro code to be stored into
+ *	chanNum		the DMA channel number to be started
+ *	mbufAddr	the start address of the buffer containing PL330 DMA micro codes
+ */
+static void config_DMA_GO_command(u32 * mcode_ptr, int chanNum, u32 mbufAddr, int secureMode)
+{
+	dma_debug("%s entered - channel Num=%d\n", __FUNCTION__, chanNum);
+	dma_debug("mcode_ptr=0x%p, mbufAddr=0x%x, secureMode=%d\n\n", mcode_ptr, mbufAddr, secureMode);
+	encodeDmaGoOverDBGINST(mcode_ptr, (u8)chanNum, mbufAddr, (u8)secureMode);
+}
+
+/* config_DMA_stop_channel
+ * - stop the DMA channel working on
+ *	mcode_ptr	the buffer for PL330 DMAKILL micro code to be stored into
+ *	chanNum		the DMA channel number to be stopped
+ */
+static void config_DMA_stop_channel(u32 * mcode_ptr, int chanNum)
+{
+	dma_debug("%s entered - channel Num=%d\n", __FUNCTION__, chanNum);
+	encodeDmaKillChannelOverDBGINST(mcode_ptr, (u8)chanNum);
+}
+
+/* config_DMA_stop_controller
+ * - stop the DMA controller
+ *	mcode_ptr	the buffer for PL330 DMAKILL micro code to be stored into
+ */
+static void config_DMA_stop_controller(u32 * mcode_ptr)
+{
+	dma_debug("%s entered - mcode_ptr=0x%p\n", __FUNCTION__, mcode_ptr);
+	encodeDmaKillDMACOverDBGINST(mcode_ptr);
+}
+
+
+/* config_DMA_start_address
+ * - set the DMA start address
+ *
+ *	mcode_ptr	the pointer to the buffer for PL330 DMAMOVE micro code to be stored into
+ *	uStAddr		the DMA start address
+ */
+static int config_DMA_start_address(u8 * mcode_ptr, int uStAddr)
+{
+	dma_debug("%s entered - start addr=0x%x\n", __FUNCTION__, uStAddr);
+	return encodeDmaMove(mcode_ptr, 0, (u32)uStAddr);
+}
+
+
+/* config_DMA_destination_address
+ * - set the DMA destination address
+ *
+ *	mcode_ptr	the pointer to the buffer for PL330 DMAMOVE micro code to be stored into
+ *	uStAddr		the DMA destination address
+ */
+static int config_DMA_destination_address(u8 * mcode_ptr, int uStAddr)
+{
+	dma_debug("%s entered - destination addr=0x%x\n", __FUNCTION__, uStAddr);
+	return encodeDmaMove(mcode_ptr, 2, (u32)uStAddr);
+}
+
+
+/* config_DMA_control
+ * - set the burst length, burst size, source and destination increment/fixed field
+ *
+ *	mcode_ptr	the pointer to the buffer for PL330 DMAMOVE micro code to be stored into
+ *	dmacon		the value for the DMA channel control register
+ */
+static int config_DMA_control(u8 * mcode_ptr, pl330_DMA_control_t dmacon)
+{
+	dma_debug("%s entered - dmacon : 0x%p\n", __FUNCTION__, &dmacon);
+	return encodeDmaMoveChCtrl(mcode_ptr, *(u32 *)&dmacon);
+}
+
+
+/* config_DMA_transfer_remainder
+ * - set the transfer size of the remainder
+ *
+ *	mcode_ptr	the pointer to the buffer for PL330 DMA micro code to be stored into
+ *	lcRemainder	the remainder except for the LC-aligned transfers
+ *	dma_param	the parameter set for a DMA operation
+ */
+static int config_DMA_transfer_remainder(u8 * mcode_ptr, int lcRemainder, pl330_DMA_parameters_t dma_param)
+{
+	int mcode_size = 0, msize = 0;
+	int lc0 = 0, lcSize = 0, mLoopStart0 = 0, dmaSent = 0;
+
+	dma_debug("%s entered - lcRemainder=%d\n", __FUNCTION__, lcRemainder);
+
+	dmaSent = dma_param.mTrSize - lcRemainder;
+
+	msize = config_DMA_start_address(mcode_ptr+mcode_size, dma_param.mSrcAddr+dmaSent);
+	mcode_size+= msize;
+
+	msize = config_DMA_destination_address(mcode_ptr+mcode_size, dma_param.mDstAddr+dmaSent);
+	mcode_size+= msize;
+
+	dma_param.mControl.uSBSize = 0x2;	/* 4 bytes    */
+	dma_param.mControl.uSBLength = 0x0;	/* 1 transfer */
+	dma_param.mControl.uDBSize = 0x2;	/* 4 bytes    */
+	dma_param.mControl.uDBLength = 0x0;	/* 1 transfer */
+
+	msize = config_DMA_control(mcode_ptr+mcode_size, dma_param.mControl);
+	mcode_size+= msize;
+
+	lcSize = (dma_param.mControl.uSBLength+1)*(1<<dma_param.mControl.uSBSize);
+	lc0 = lcRemainder/lcSize;
+
+	msize = encodeDmaLoop(mcode_ptr+mcode_size, 0, lc0-1);
+	mcode_size+= msize;
+	mLoopStart0 = mcode_size;
+
+	switch(dma_param.mDirection) {
+	case PL330_M2M_DMA:
+		msize = encodeDmaLoad(mcode_ptr+mcode_size);
+		mcode_size+= msize;
+		msize = encodeDmaStore(mcode_ptr+mcode_size);
+		mcode_size+= msize;
+		break;
+
+	case PL330_M2P_DMA:
+		msize = encodeDmaWaitForPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+		mcode_size+= msize;
+		msize = encodeDmaLoad(mcode_ptr+mcode_size);
+		mcode_size+= msize;
+		msize = encodeDmaStorePeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+		mcode_size+= msize;
+		msize = encodeDmaFlushPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+		mcode_size+= msize;
+		break;
+
+	case PL330_P2M_DMA:
+		msize = encodeDmaWaitForPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+		mcode_size+= msize;
+		msize = encodeDmaLoadPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+		mcode_size+= msize;
+		msize = encodeDmaStore(mcode_ptr+mcode_size);
+		mcode_size+= msize;
+		msize = encodeDmaFlushPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+		mcode_size+= msize;
+		break;
+
+	case PL330_P2P_DMA:
+		print_warning("[%s] P2P DMA selected !\n", __FUNCTION__);
+		break;
+
+	default:
+		print_warning("[%s] Invaild DMA direction selected !\n", __FUNCTION__);
+		break;
+	}
+
+	msize = encodeDmaLoopEnd(mcode_ptr+mcode_size, 0, (u8)(mcode_size-mLoopStart0));
+	mcode_size+= msize;
+
+	return mcode_size;
+
+}
+
+
+/* config_DMA_transfer_size
+ * - set the transfer size
+ *
+ *	mcode_ptr	the pointer to the buffer for PL330 DMA micro code to be stored into
+ *	dma_param	the parameter set for a DMA operation
+ */
+static int config_DMA_transfer_size(u8 * mcode_ptr, pl330_DMA_parameters_t dma_param)
+{
+	int mcode_size = 0, msize = 0;
+	int lc0 = 0, lc1 = 0, lcRemainder = 0, lcSize = 0;
+	int mLoopStart0 = 0, mLoopStart1 = 0;
+
+	dma_debug("%s entered \n", __FUNCTION__);
+
+	switch(dma_param.mDirection) {
+	case PL330_M2M_DMA:
+		if(dma_param.mTrSize > (8*1024*1024)) {
+			print_warning("[%s] The chunk size is too big !: %lu\n", __FUNCTION__, dma_param.mTrSize);
+			return 0;
+		}
+		break;
+
+	case PL330_M2P_DMA:
+	case PL330_P2M_DMA:
+		if(dma_param.mTrSize > (2*1024*1024)) {
+			print_warning("[%s] The chunk size is too big !: %lu\n", __FUNCTION__, dma_param.mTrSize);
+			return 0;
+		}
+		break;
+
+	case PL330_P2P_DMA:
+		print_warning("[%s] P2P DMA selected !\n", __FUNCTION__);
+		break;
+
+	default:
+		print_warning("[%s] Invaild DMA direction entered !\n", __FUNCTION__);
+		break;
+	}
+
+	lcSize = (dma_param.mControl.uSBLength+1)*(1<<dma_param.mControl.uSBSize);
+	lc0 = dma_param.mTrSize/lcSize;
+	lcRemainder = dma_param.mTrSize - (lc0*lcSize);
+	dma_debug("lcSize=%d,  lc0=%d,  lcRemainder=%d\n",lcSize, lc0, lcRemainder);
+
+	if(lc0 > PL330_MAX_ITERATION_NUM) {
+		lc1 = lc0/PL330_MAX_ITERATION_NUM;
+		dma_debug("  Inner loop : lc1=%d\n", lc1);
+
+		if(lc1 <= PL330_MAX_ITERATION_NUM) {
+			msize = encodeDmaLoop(mcode_ptr+mcode_size, 1, lc1-1);
+			mcode_size+= msize;
+			mLoopStart1 = mcode_size;
+
+			msize = encodeDmaLoop(mcode_ptr+mcode_size, 0, PL330_MAX_ITERATION_NUM-1);
+			mcode_size+= msize;
+			mLoopStart0 = mcode_size;
+
+			switch(dma_param.mDirection) {
+			case PL330_M2M_DMA:
+				msize = encodeDmaLoad(mcode_ptr+mcode_size);
+				mcode_size+= msize;
+				msize = encodeDmaReadMemBarrier(mcode_ptr+mcode_size);
+				mcode_size+= msize;
+				msize = encodeDmaStore(mcode_ptr+mcode_size);
+				mcode_size+= msize;
+				break;
+
+			case PL330_M2P_DMA:
+				msize = encodeDmaWaitForPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+				mcode_size+= msize;
+				msize = encodeDmaLoad(mcode_ptr+mcode_size);
+				mcode_size+= msize;
+				msize = encodeDmaStorePeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+				mcode_size+= msize;
+				msize = encodeDmaFlushPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+				mcode_size+= msize;
+				break;
+
+			case PL330_P2M_DMA:
+				msize = encodeDmaWaitForPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+				mcode_size+= msize;
+				msize = encodeDmaLoadPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+				mcode_size+= msize;
+				msize = encodeDmaStore(mcode_ptr+mcode_size);
+				mcode_size+= msize;
+				msize = encodeDmaFlushPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+				mcode_size+= msize;
+				break;
+
+			case PL330_P2P_DMA:
+				print_warning("[%s] P2P DMA selected !\n", __FUNCTION__);
+				break;
+
+			default:
+				print_warning("[%s] Invaild DMA direction selected !\n", __FUNCTION__);
+				break;
+			}
+
+			msize = encodeDmaLoopEnd(mcode_ptr+mcode_size, 0, (u8)(mcode_size-mLoopStart0));
+			mcode_size+= msize;
+
+			msize = encodeDmaLoopEnd(mcode_ptr+mcode_size, 1, (u8)(mcode_size-mLoopStart1));
+			mcode_size+= msize;
+
+			lc0 = lc0 - (lc1*PL330_MAX_ITERATION_NUM);
+		}
+		else {
+			print_warning("[%s] The transfer size is over the limit (lc1=%d)\n", __FUNCTION__, lc1);
+		}
+	}
+
+	if(lc0 > 0) {
+		dma_debug("Single loop : lc0=%d\n", lc0);
+		msize = encodeDmaLoop(mcode_ptr+mcode_size, 0, lc0-1);
+		mcode_size+= msize;
+		mLoopStart0 = mcode_size;
+
+		switch(dma_param.mDirection) {
+		case PL330_M2M_DMA:
+			msize = encodeDmaLoad(mcode_ptr+mcode_size);
+			mcode_size+= msize;
+			msize = encodeDmaStore(mcode_ptr+mcode_size);
+			mcode_size+= msize;
+			break;
+
+		case PL330_M2P_DMA:
+			msize = encodeDmaWaitForPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+			mcode_size+= msize;
+			msize = encodeDmaLoad(mcode_ptr+mcode_size);
+			mcode_size+= msize;
+			msize = encodeDmaStorePeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+			mcode_size+= msize;
+			msize = encodeDmaFlushPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+			mcode_size+= msize;
+			break;
+
+		case PL330_P2M_DMA:
+			msize = encodeDmaWaitForPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+			mcode_size+= msize;
+			msize = encodeDmaLoadPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+			mcode_size+= msize;
+			msize = encodeDmaStore(mcode_ptr+mcode_size);
+			mcode_size+= msize;
+			msize = encodeDmaFlushPeri(mcode_ptr+mcode_size, (u8)dma_param.mPeriNum);
+			mcode_size+= msize;
+			break;
+
+		case PL330_P2P_DMA:
+			print_warning("[%s] P2P DMA selected !\n", __FUNCTION__);
+			break;
+
+		default:
+			break;
+		}
+
+		msize = encodeDmaLoopEnd(mcode_ptr+mcode_size, 0, (u8)(mcode_size-mLoopStart0));
+		mcode_size+= msize;
+	}
+
+	if(lcRemainder !=0) {
+		msize = config_DMA_transfer_remainder(mcode_ptr+mcode_size, lcRemainder, dma_param);
+		mcode_size += msize;
+	}
+
+	return mcode_size;
+}
+
+
+/* config_DMA_transfer_size_for_oneNAND
+ * - set the transfer size
+ *
+ *	mcode_ptr	the pointer to the buffer for PL330 DMA micro code to be stored into
+ *	dma_param	the parameter set for a DMA operation
+ */
+#define ONENAND_PAGE_SIZE	2048
+#define ONENAND_OOB_SIZE	64
+#define ONENAND_PAGE_WITH_OOB	(ONENAND_PAGE_SIZE+ONENAND_OOB_SIZE)
+#define MAX_ONENAND_PAGE_CNT	64
+
+static int config_DMA_transfer_size_for_oneNAND(u8 * mcode_ptr, pl330_DMA_parameters_t dma_param)
+{
+	int i = 0, pageCnt =0;
+	int mcode_size = 0, msize = 0;
+	int lc0 = 0, lcSize = 0;
+	int mLoopStart = 0;
+
+	dma_debug("%s entered\n", __FUNCTION__);
+
+	if(dma_param.mTrSize > (MAX_ONENAND_PAGE_CNT*ONENAND_PAGE_WITH_OOB)) {
+		print_warning("[%s] The chunk size is too big !: %lu\n", __FUNCTION__, dma_param.mTrSize);
+		return 0;
+	}
+
+	/* Buffer address on SDRAM */
+	switch(dma_param.mDirection) {
+	case PL330_M2P_DMA:		/* Write into oneNAND */
+		msize = config_DMA_start_address(mcode_ptr+mcode_size, dma_param.mSrcAddr);
+		mcode_size+= msize;
+		break;
+
+	case PL330_P2M_DMA:		/* Read from oneNAND */
+		msize = config_DMA_destination_address(mcode_ptr+mcode_size, dma_param.mDstAddr);
+		mcode_size+= msize;
+		break;
+
+	case PL330_P2P_DMA:
+	case PL330_M2M_DMA:
+	default:
+		print_warning("[%s] Invaild DMA direction selected !\n", __FUNCTION__);
+		break;
+	}
+
+	lcSize = (dma_param.mControl.uSBLength+1)*(1<<dma_param.mControl.uSBSize);	/* 16 bursts * 4 bytes = 64 bytes */
+	lc0 = ONENAND_PAGE_WITH_OOB/lcSize;						/* 2114(1 page+oob)/64 	 	  */
+	pageCnt = dma_param.mTrSize/ONENAND_PAGE_WITH_OOB;				/* mTrsize/2112	 	  	  */
+	dma_debug("lcSize=%d,  lc0=%d, No. of pages=%d\n",lcSize, lc0, pageCnt);
+
+	for(i=0; i<pageCnt; i++) {
+
+		msize = encodeDmaLoop(mcode_ptr+mcode_size, 0, lc0-1);
+		mcode_size+= msize;
+		mLoopStart = mcode_size;
+
+		/* OneNAND address */
+		switch(dma_param.mDirection) {
+		case PL330_M2P_DMA:		/* Write into oneNAND */
+			msize = config_DMA_destination_address(mcode_ptr+mcode_size, dma_param.mDstAddr+(i*0x80));
+			mcode_size+= msize;
+			break;
+
+		case PL330_P2M_DMA:		/* Read from oneNAND */
+			msize = config_DMA_start_address(mcode_ptr+mcode_size, dma_param.mSrcAddr+(i*0x80));
+			mcode_size+= msize;
+			break;
+
+		case PL330_P2P_DMA:
+		case PL330_M2M_DMA:
+		default:
+			print_warning("[%s] Invaild DMA direction selected !\n", __FUNCTION__);
+			break;
+		}
+
+		msize = encodeDmaLoad(mcode_ptr+mcode_size);
+		mcode_size+= msize;
+		msize = encodeDmaStore(mcode_ptr+mcode_size);
+		mcode_size+= msize;
+
+		msize = encodeDmaLoopEnd(mcode_ptr+mcode_size, 0, (u8)(mcode_size-mLoopStart));
+		mcode_size+= msize;
+
+	}
+
+	return mcode_size;
+}
+
+
+/* register_irq_to_DMA_channel
+ * - register an event with the DMA channel
+ *
+ *	mcode_ptr	the pointer to the buffer for PL330 DMASEV micro code to be stored into
+ *	uEventNum	the event number to be assigned to this DMA channel
+ */
+static int register_irq_to_DMA_channel(u8 * mcode_ptr, int uEventNum)
+{
+	dma_debug("%s entered - Event num : %d\n", __FUNCTION__, uEventNum);
+	return encodeDmaSendEvent(mcode_ptr, (u8)uEventNum);
+}
+
+
+/* config_DMA_set_infinite_loop
+ * - set an infinite loop
+ *
+ *	mcode_ptr	the pointer to the buffer for PL330 DMAPLPEND micro code to be stored into
+ *	bBwJump		the relative location of the first instruction in the program loop
+ */
+static int config_DMA_set_infinite_loop(u8 * mcode_ptr, int uBwJump)
+{
+	dma_debug("%s entered - Backward jump offset : %d\n", __FUNCTION__, uBwJump);
+	return encodeDmaLoopForever(mcode_ptr, (u8)uBwJump);
+}
+
+
+/* config_DMA_mark_end
+ * - mark the end of the DMA request
+ *
+ *	mcode_ptr	the pointer to the buffer for PL330 DMAEND micro code to be stored into
+ */
+static int config_DMA_mark_end(u8 * mcode_ptr)
+{
+	dma_debug("%s entered \n\n", __FUNCTION__);
+	return encodeDmaEnd(mcode_ptr);
+}
+
+
+/*----------------------------------------------------------*/
+/*                       DMA Feature Functions              */
+/*----------------------------------------------------------*/
+
+/* start_DMA_controller
+ * - start the DMA controller
+ */
+void start_DMA_controller(u32 * mbuf)
+{
+	dma_debug("%s entered - mbuf=0x%p\n", __FUNCTION__, mbuf);
+	return;
+}
+
+
+/* stop_DMA_controller
+ * - stop the DMA controller
+ *
+ *	mbuf		the address of the buffer for DMAKILL micro code to be stored at
+ */
+void stop_DMA_controller(u32 * mbuf)
+{
+	dma_debug("%s entered - mbuf=0x%p\n", __FUNCTION__, mbuf);
+	config_DMA_stop_controller(mbuf);
+}
+
+
+/* setup_DMA_channel
+ * - set up a DMA channel for the DMA operation
+ *
+ *	mbuf		the address of the buffer that will contain PL330 DMA micro codes
+ *	dma_param	the parameter set for a DMA operation
+ *	chanNum		the DMA channel number to be started
+ */
+int setup_DMA_channel(u8 * mbuf, pl330_DMA_parameters_t dma_param, int chanNum)
+{
+	int mcode_size = 0, msize = 0;
+	dma_debug("%s entered : Channel Num=%d\n", __FUNCTION__, chanNum);
+	print_dma_param_info(dma_param);
+
+	msize = config_DMA_start_address(mbuf+mcode_size, dma_param.mSrcAddr);
+	mcode_size+= msize;
+
+	msize = config_DMA_destination_address(mbuf+mcode_size, dma_param.mDstAddr);
+	mcode_size+= msize;
+
+	msize = config_DMA_control(mbuf+mcode_size, dma_param.mControl);
+	mcode_size+= msize;
+
+	msize = config_DMA_transfer_size(mbuf+mcode_size, dma_param);
+	mcode_size+= msize;
+
+	if(dma_param.mIrqEnable) {
+		msize = register_irq_to_DMA_channel(mbuf+mcode_size, chanNum);
+		mcode_size+= msize;
+	}
+
+	if(dma_param.mLoop) {
+		msize = config_DMA_set_infinite_loop(mbuf+mcode_size, dma_param.mBwJump+mcode_size);
+		mcode_size+= msize;
+	}
+
+	if(dma_param.mLastReq) {
+		msize = config_DMA_mark_end(mbuf+mcode_size);
+		mcode_size+= msize;
+	}
+
+	return mcode_size;
+}
+
+/* setup_DMA_channel for oneNAND
+ * - set up a DMA channel for the oneNAND DMA operation
+ *
+ *	mbuf		the address of the buffer that will contain PL330 DMA micro codes
+ *	dma_param	the parameter set for a DMA operation
+ *	chanNum		the DMA channel number to be started
+ */
+int setup_DMA_channel_for_oneNAND(u8 * mbuf, pl330_DMA_parameters_t dma_param, int chanNum)
+{
+	int mcode_size = 0, msize = 0;
+	dma_debug("%s entered : Channel Num=%d\n", __FUNCTION__, chanNum);
+	print_dma_param_info(dma_param);
+
+	msize = config_DMA_control(mbuf+mcode_size, dma_param.mControl);
+	mcode_size+= msize;
+
+	msize = config_DMA_transfer_size_for_oneNAND(mbuf+mcode_size, dma_param);
+	mcode_size+= msize;
+
+	if(dma_param.mIrqEnable) {
+		msize = register_irq_to_DMA_channel(mbuf+mcode_size, chanNum);
+		mcode_size+= msize;
+	}
+
+	if(dma_param.mLastReq) {
+		msize = config_DMA_mark_end(mbuf+mcode_size);
+		mcode_size+= msize;
+	}
+
+	return mcode_size;
+}
+
+
+/* start_DMA_channel
+ * - get the DMA channel started
+ *
+ *	mbuf		the address of the buffer for DMAGO micro code to be stored at
+ *	chanNum		the DMA channel number to be started
+ *	mbufAddr	the start address of the buffer containing PL330 DMA micro codes
+ */
+void start_DMA_channel(u32 * mbuf, int chanNum, u32 mbufAddr, int secureMode)
+{
+	dma_debug("%s entered - channel Num=%d\n", __FUNCTION__, chanNum);
+	config_DMA_GO_command(mbuf, chanNum, mbufAddr, secureMode);
+}
+
+
+/* stop_DMA_channel
+ * - get the DMA channel stopped
+ *	mbuf		the address of the buffer for DMAKILL micro code to be stored at
+ *	chanNum		the DMA channel number to be stopped
+ */
+void stop_DMA_channel(u32 * mbuf, int chanNum)
+{
+	dma_debug("%s entered - channel Num=%d\n", __FUNCTION__, chanNum);
+	config_DMA_stop_channel(mbuf, chanNum);
+}
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/dma-pl330.c linux-2.6.28.6/arch/arm/plat-s3c/dma-pl330.c
--- linux-2.6.28/arch/arm/plat-s3c/dma-pl330.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/dma-pl330.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1487 @@
+/* linux/arch/arm/plat-s3c/dma-pl330.c
+ *
+ * Copyright (c) 2003-2008,2009 Samsung Electronics
+ *
+ * S5PC1XX, S5P6440 DMAC core (PL330 DMAC)
+ *
+ * http://www.samsung.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifdef CONFIG_S3C_DMA_DEBUG
+#define DEBUG
+#endif
+
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/sched.h>
+#include <linux/spinlock.h>
+#include <linux/interrupt.h>
+#include <linux/sysdev.h>
+#include <linux/slab.h>
+#include <linux/errno.h>
+#include <linux/delay.h>
+
+#include <asm/system.h>
+#include <asm/irq.h>
+#include <mach/hardware.h>
+#include <asm/io.h>
+#include <linux/dma-mapping.h>
+
+#include <asm/dma.h>
+
+#include <plat/regs-clock.h>
+#include <plat/dma.h>
+#include <mach/map.h>
+#include <mach/dma.h>
+
+#include "dma-pl330-mcode.h"
+
+#undef pr_debug
+//#define dma_dbg
+
+#ifdef dma_dbg
+#define pr_debug(fmt...) 	printk( fmt)
+#else
+#define pr_debug(fmt...)
+#endif
+
+/* io map for dma */
+static void __iomem 		*dma_base;
+static struct kmem_cache 	*dma_kmem;
+
+static int dma_channels;
+struct s3c_dma_selection 	dma_sel;
+static struct s3c2410_dma_chan *dma_chan_map[DMACH_MAX];
+
+/* dma channel state information */
+struct s3c2410_dma_chan 	s3c_dma_chans[S3C_DMA_CHANNELS];
+s3c_dma_controller_t 		s3c_dma_cntlrs[S3C_DMA_CONTROLLERS];
+
+#define SIZE_OF_MICRO_CODES		512
+#define PL330_NON_SECURE_DMA		1
+#define PL330_SECURE_DMA		0
+
+#define BUF_MAGIC 			(0xcafebabe)
+
+#define dmawarn(fmt...) 		printk(KERN_DEBUG fmt)
+
+#define dma_regaddr(dcon, reg) 		((dcon)->regs + (reg))
+#define dma_wrreg(dcon, reg, val) 	writel((val), (dcon)->regs + (reg))
+#define dma_rdreg(dcon, reg) 		readl((dcon)->regs + (reg))
+
+#define dbg_showregs(chan) 		do { } while(0)
+#define dbg_showchan(chan) 		do { } while(0)
+
+void s3c_dma_dump(int dcon_num, int channel)
+{
+	unsigned long tmp;
+	s3c_dma_controller_t *dma_controller = &s3c_dma_cntlrs[dcon_num];
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_DS);
+	printk("%d dcon_num %d chnnel : DMA status %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_DPC);
+	printk("%d dcon_num %d chnnel : DMA program counter %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_INTEN);
+	printk("%d dcon_num %d chnnel : INT enable %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_ES);
+	printk("%d dcon_num %d chnnel : Event status %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_INTSTATUS);
+	printk("%d dcon_num %d chnnel : INT status %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_FSC);
+	printk("%d dcon_num %d chnnel : Fault status %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_FTC(channel));
+	printk("%d dcon_num %d chnnel : Fault type %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CS(channel));
+	printk("%d dcon_num %d chnnel : Channel status %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_CPC(channel));
+	printk("%d dcon_num %d chnnel : Channel program counter %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_SA(channel));
+	printk("%d dcon_num %d chnnel : Source address %lx\n", dcon_num, channel, tmp);
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_DA(channel));
+	printk("%d dcon_num %d chnnel : Destination address %lx\n", dcon_num, channel, tmp);
+}
+
+
+/* lookup_dma_channel
+ *
+ * change the dma channel number given into a real dma channel id
+ */
+
+static struct s3c2410_dma_chan *lookup_dma_channel(unsigned int channel)
+{
+	if (channel & DMACH_LOW_LEVEL)
+		return &s3c_dma_chans[channel & ~DMACH_LOW_LEVEL];
+	else
+		return dma_chan_map[channel];
+}
+
+/* s3c_dma_stats_timeout
+ *
+ * Update DMA stats from timeout info
+ */
+static void s3c_dma_stats_timeout(struct s3c_dma_stats * stats, int val)
+{
+	if (stats == NULL)
+		return;
+
+	if (val > stats->timeout_longest)
+		stats->timeout_longest = val;
+	if (val < stats->timeout_shortest)
+		stats->timeout_shortest = val;
+
+	stats->timeout_avg += val;
+}
+
+void s3c_enable_dmac(unsigned int dcon_num)
+{
+	s3c_dma_controller_t *dma_controller = &s3c_dma_cntlrs[dcon_num];
+
+	start_DMA_controller(dma_regaddr(dma_controller, S3C_DMAC_DBGSTATUS));
+}
+
+void s3c_disable_dmac(unsigned int dcon_num)
+{
+	s3c_dma_controller_t *dma_controller = &s3c_dma_cntlrs[dcon_num];
+
+	stop_DMA_controller(dma_regaddr(dma_controller, S3C_DMAC_DBGSTATUS));
+}
+
+void s3c_clear_interrupts (int dcon_num, int channel)
+{
+	unsigned long tmp;
+	s3c_dma_controller_t *dma_controller = &s3c_dma_cntlrs[dcon_num];
+
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_INTCLR);
+	tmp |= (1 << channel);
+	dma_wrreg(dma_controller, S3C_DMAC_INTCLR, tmp);
+}
+
+/* s3c_dma_waitforload
+ *
+ * wait for the DMA engine to load a buffer, and update the state accordingly
+ */
+static int s3c_dma_waitforload(struct s3c2410_dma_chan *chan, int line)
+{
+	int timeout = chan->load_timeout;
+	int took;
+
+	pr_debug("%s channel number : %d\n", __FUNCTION__, chan->number);
+
+	if (chan->load_state != S3C_DMALOAD_1LOADED) {
+		printk(KERN_ERR
+		       "dma CH %d: s3c_dma_waitforload() called in loadstate %d from line %d\n",
+		       chan->number, chan->load_state, line);
+		return 0;
+	}
+
+	if (chan->stats != NULL)
+		chan->stats->loads++;
+
+	while (--timeout > 0) {
+		//if ((dma_rdreg(chan->dma_con, S3C_DMAC_CS(chan->number))) & S3C_DMAC_CS_EXECUTING) {
+			took = chan->load_timeout - timeout;
+			s3c_dma_stats_timeout(chan->stats, took);
+
+			switch (chan->load_state) {
+			case S3C_DMALOAD_1LOADED:
+				chan->load_state = S3C_DMALOAD_1RUNNING;
+				break;
+
+			default:
+				printk(KERN_ERR
+				       "dma CH %d: unknown load_state in s3c_dma_waitforload() %d\n",
+				       chan->number, chan->load_state);
+			}
+			return 1;
+		//}
+	}
+
+	if (chan->stats != NULL) {
+		chan->stats->timeout_failed++;
+	}
+
+	return 0;
+}
+
+
+/* s3c_dma_loadbuffer
+ *
+ * load a buffer, and update the channel state
+ */
+static inline int s3c_dma_loadbuffer(struct s3c2410_dma_chan *chan,
+		       struct s3c_dma_buf *buf)
+{
+	unsigned long tmp;
+	pl330_DMA_parameters_t dma_param;
+	struct s3c_dma_buf *firstbuf;
+	int bwJump = 0;
+
+	memset(&dma_param, 0, sizeof(pl330_DMA_parameters_t));
+	pr_debug("s3c_chan_loadbuffer: loading buffer %p (0x%08lx,0x%06x)\n",
+		 buf, (unsigned long) buf->data, buf->size);
+
+	if (buf == NULL) {
+		dmawarn("buffer is NULL\n");
+		return -EINVAL;
+	}
+
+	pr_debug("%s: DMA CCR - %08x\n", __FUNCTION__, chan->dcon);
+	pr_debug("%s: DMA Loop count - %08x\n", __FUNCTION__, (buf->size / chan->xfer_unit));
+
+	firstbuf = buf;
+
+	do {
+		dma_param.mPeriNum = chan->config_flags;
+		dma_param.mDirection = chan->source;
+
+		switch (dma_param.mDirection) {
+		case S3C2410_DMASRC_MEM:	/* source is Memory : Mem-to-Peri (Write into FIFO) */
+			dma_param.mSrcAddr = buf->data;
+			dma_param.mDstAddr = chan->dev_addr;
+			break;
+
+		case S3C2410_DMASRC_HW:		/* source is peripheral : Peri-to-Mem (Read from FIFO) */
+			dma_param.mSrcAddr = chan->dev_addr;
+			dma_param.mDstAddr = buf->data;
+			break;
+
+		case S3C_DMA_MEM2MEM:		/* source & Destination : Mem-to-Mem  */
+			dma_param.mSrcAddr = chan->dev_addr;
+			dma_param.mDstAddr = buf->data;
+			break;
+
+		case S3C_DMA_MEM2MEM_SET:		/* source & Destination : Mem-to-Mem  */
+			dma_param.mDirection = S3C_DMA_MEM2MEM;
+			dma_param.mSrcAddr = chan->dev_addr;
+			dma_param.mDstAddr = buf->data;
+			break;
+
+		case S3C_DMA_PER2PER:
+		default:
+			printk("Peripheral-to-Peripheral DMA NOT YET implemented !! \n");
+			return -EINVAL;
+		}
+
+		dma_param.mTrSize = buf->size;
+
+		dma_param.mLoop = 0;
+		dma_param.mControl = *(pl330_DMA_control_t *) &chan->dcon;
+
+		chan->next = buf->next;
+		buf = chan->next;
+
+		if(buf==NULL) {
+			firstbuf->next = NULL;
+			dma_param.mLastReq = 1;
+			dma_param.mIrqEnable = 1;
+		}
+		else {
+			dma_param.mLastReq = 0;
+			dma_param.mIrqEnable = 0;
+		}
+
+		bwJump += setup_DMA_channel(((u8 *)firstbuf->mcptr_cpu)+bwJump, dma_param, chan->number);
+		pr_debug("%s: DMA bwJump - %d\n", __FUNCTION__, bwJump);
+
+	}while(buf != NULL);
+
+	if(dma_param.mIrqEnable) {
+		tmp = dma_rdreg(chan->dma_con, S3C_DMAC_INTEN);
+		tmp |= (1 << chan->number);
+		dma_wrreg(chan->dma_con, S3C_DMAC_INTEN, tmp);
+	}
+
+	/* update the state of the channel */
+
+	switch (chan->load_state) {
+	case S3C_DMALOAD_NONE:
+		chan->load_state = S3C_DMALOAD_1LOADED;
+		break;
+
+	case S3C_DMALOAD_1RUNNING:
+		chan->load_state = S3C_DMALOAD_1LOADED_1RUNNING;
+		break;
+
+	default:
+		dmawarn("dmaload: unknown state %d in loadbuffer\n", chan->load_state);
+		break;
+	}
+
+	return 0;
+}
+
+
+/* s3c_dma_call_op
+ *
+ * small routine to call the o routine with the given op if it has been
+ * registered
+ */
+static void s3c_dma_call_op(struct s3c2410_dma_chan * chan, enum s3c_chan_op op)
+{
+	if (chan->op_fn != NULL) {
+		(chan->op_fn) (chan, op);
+	}
+}
+
+/* s3c_dma_buffdone
+ *
+ * small wrapper to check if callback routine needs to be called, and
+ * if so, call it
+ */
+static inline void s3c_dma_buffdone(struct s3c2410_dma_chan * chan,
+				struct s3c_dma_buf * buf,
+				enum s3c2410_dma_buffresult result)
+{
+	pr_debug("callback_fn will be called=%p, buf=%p, id=%p, size=%d, result=%d\n",
+		 chan->callback_fn, buf, buf->id, buf->size, result);
+
+	if (chan->callback_fn != NULL) {
+		(chan->callback_fn) (chan, buf->id, buf->size, result);
+	}
+}
+
+/* s3c_dma_start
+ *
+ * start a dma channel going
+ */
+static int s3c_dma_start(struct s3c2410_dma_chan *chan)
+{
+	unsigned long flags;
+
+	pr_debug("s3c_start_dma: channel number=%d, index=%d\n", chan->number, chan->index);
+
+	local_irq_save(flags);
+
+	if (chan->state == S3C_DMA_RUNNING) {
+		pr_debug("s3c_start_dma: already running (%d)\n", chan->state);
+		local_irq_restore(flags);
+		return 0;
+	}
+
+	chan->state = S3C_DMA_RUNNING;
+
+	/* check wether there is anything to load, and if not, see
+	 * if we can find anything to load
+	 */
+
+	if (chan->load_state == S3C_DMALOAD_NONE) {
+		if (chan->next == NULL) {
+			printk(KERN_ERR "dma CH %d: dcon_num has nothing loaded\n", chan->number);
+			chan->state = S3C_DMA_IDLE;
+			local_irq_restore(flags);
+			return -EINVAL;
+		}
+		s3c_dma_loadbuffer(chan, chan->next);
+	}
+
+	dbg_showchan(chan);
+
+	/* enable the channel */
+
+	if (!chan->irq_enabled) {
+		enable_irq(chan->irq);
+		chan->irq_enabled = 1;
+	}
+
+	start_DMA_channel(dma_regaddr(chan->dma_con, S3C_DMAC_DBGSTATUS), chan->number,
+					chan->curr->mcptr, PL330_NON_SECURE_DMA);
+
+	/* Start the DMA operation on Peripheral */
+	s3c_dma_call_op(chan, S3C2410_DMAOP_START);
+
+	dbg_showchan(chan);
+
+	local_irq_restore(flags);
+	return 0;
+}
+
+
+/* s3c_dma_canload
+ *
+ * work out if we can queue another buffer into the DMA engine
+ */
+
+
+static int s3c_dma_canload(struct s3c2410_dma_chan * chan)
+{
+	if (chan->load_state == S3C_DMALOAD_NONE || chan->load_state == S3C_DMALOAD_1RUNNING)
+		return 1;
+
+	return 0;
+}
+
+
+
+/* s3c2410_dma_enqueue
+ *
+ * queue an given buffer for dma transfer.
+ *
+ * id         the device driver's id information for this buffer
+ * data       the physical address of the buffer data
+ * size       the size of the buffer in bytes
+ *
+ * If the channel is not running, then the flag S3C2410_DMAF_AUTOSTART
+ * is checked, and if set, the channel is started. If this flag isn't set,
+ * then an error will be returned.
+ *
+ * It is possible to queue more than one DMA buffer onto a channel at
+ * once, and the code will deal with the re-loading of the next buffer
+ * when necessary.
+ */
+int s3c2410_dma_enqueue(unsigned int channel, void *id,
+			dma_addr_t data, int size)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+	struct s3c_dma_buf *buf;
+	unsigned long flags;
+
+	pr_debug("%s: id=%p, data=%08x, size=%d\n", __FUNCTION__, id, (unsigned int) data, size);
+
+	buf = kmem_cache_alloc(dma_kmem, GFP_ATOMIC);
+	if (buf == NULL) {
+		printk(KERN_ERR "dma <%d> no memory for buffer\n", channel);
+		return -ENOMEM;
+	}
+
+	pr_debug("%s: new buffer %p\n", __FUNCTION__, buf);
+
+	buf->next = NULL;
+	buf->data = buf->ptr = data;
+	buf->size = size;
+	buf->id = id;
+	buf->magic = BUF_MAGIC;
+
+	local_irq_save(flags);
+
+	buf->mcptr_cpu = dma_alloc_coherent(NULL, SIZE_OF_MICRO_CODES, &buf->mcptr, GFP_ATOMIC);
+
+	if (buf->mcptr_cpu == NULL) {
+		printk(KERN_ERR "%s: failed to allocate memory for micro codes\n", __FUNCTION__);
+		return -ENOMEM;
+	}
+
+	if (chan->curr == NULL) {
+		/* we've got nothing loaded... */
+		pr_debug("%s: buffer %p queued onto empty channel\n", __FUNCTION__, buf);
+
+		chan->curr = buf;
+		chan->end = buf;
+		chan->next = NULL;
+	} else {
+		pr_debug("dma CH %d: %s: buffer %p queued onto non-empty channel\n",
+			 chan->number, __FUNCTION__, buf);
+
+		if (chan->end == NULL)   /* In case of flushing */
+			pr_debug("dma CH %d: %s: %p not empty, and chan->end==NULL?\n",
+				 chan->number, __FUNCTION__, chan);
+		else {
+			chan->end->next = buf;
+			chan->end = buf;
+		}
+	}
+
+	/* if necessary, update the next buffer field */
+	if (chan->next == NULL)
+		chan->next = buf;
+
+	/* check to see if we can load a buffer */
+	if (chan->state == S3C_DMA_RUNNING) {
+		if (chan->load_state == S3C_DMALOAD_1LOADED && 1) {
+			if (s3c_dma_waitforload(chan, __LINE__) == 0) {
+				printk(KERN_ERR "dma CH %d: loadbuffer:"
+				       "timeout loading buffer\n", chan->number);
+				dbg_showchan(chan);
+				local_irq_restore(flags);
+				return -EINVAL;
+			}
+		}
+
+	} else if (chan->state == S3C_DMA_IDLE) {
+		if (chan->flags & S3C2410_DMAF_AUTOSTART) {
+			s3c2410_dma_ctrl(channel, S3C2410_DMAOP_START);
+		} else {
+			pr_debug("loading onto stopped channel\n");
+		}
+	}
+
+	local_irq_restore(flags);
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_enqueue);
+
+static inline void s3c_dma_freebuf(struct s3c_dma_buf * buf)
+{
+	int magicok = (buf->magic == BUF_MAGIC);
+
+	buf->magic = -1;
+
+	if (magicok) {
+		local_irq_enable();
+		dma_free_coherent(NULL, SIZE_OF_MICRO_CODES, buf->mcptr_cpu, buf->mcptr);
+		local_irq_disable();
+
+		kmem_cache_free(dma_kmem, buf);
+	} else {
+		printk("s3c_dma_freebuf: buff %p with bad magic\n", buf);
+	}
+}
+
+/* s3c_dma_lastxfer
+ *
+ * called when the system is out of buffers, to ensure that the channel
+ * is prepared for shutdown.
+ */
+static inline void s3c_dma_lastxfer(struct s3c2410_dma_chan *chan)
+{
+	pr_debug("DMA CH %d: s3c_dma_lastxfer: load_state %d\n", chan->number, chan->load_state);
+
+	switch (chan->load_state) {
+	case S3C_DMALOAD_NONE:
+		pr_debug("DMA CH %d: s3c_dma_lastxfer: load_state : S3C2410_DMALOAD_NONE %d\n", chan->number);
+		break;
+
+	case S3C_DMALOAD_1LOADED:
+		if (s3c_dma_waitforload(chan, __LINE__) == 0) {
+			/* flag error? */
+			printk(KERN_ERR "dma CH %d: timeout waiting for load\n", chan->number);
+			return;
+		}
+		break;
+
+	default:
+		pr_debug("dma CH %d: lastxfer: unhandled load_state %d with no next",
+			 chan->number, chan->load_state);
+		return;
+
+	}
+
+}
+
+
+#define dmadbg2(x...)
+
+static irqreturn_t s3c_dma_irq(int irq, void *devpw)
+{
+	unsigned int channel = 0, dcon_num, i;
+	unsigned long tmp;
+	s3c_dma_controller_t *dma_controller = (s3c_dma_controller_t *) devpw;
+
+	struct s3c2410_dma_chan *chan=NULL;
+	struct s3c_dma_buf *buf;
+
+	dcon_num = dma_controller->number;
+	tmp = dma_rdreg(dma_controller, S3C_DMAC_INTSTATUS);
+	pr_debug("# s3c_dma_irq: IRQ status : 0x%x\n", tmp);
+
+	for (i = 0; i < S3C_CHANNELS_PER_DMA; i++) {
+		if (tmp & 0x01) {
+
+			pr_debug("# DMAC %d: requestor %d\n", dcon_num, i);
+
+			channel = i;
+			chan = &s3c_dma_chans[channel + dcon_num * S3C_CHANNELS_PER_DMA];
+			pr_debug("# DMA CH:%d, index:%d load_state:%d\n", chan->number, chan->index, chan->load_state);
+
+			buf = chan->curr;
+
+			dbg_showchan(chan);
+
+			/* modify the channel state */
+			switch (chan->load_state) {
+			case S3C_DMALOAD_1RUNNING:
+				/* TODO - if we are running only one buffer, we probably
+				 * want to reload here, and then worry about the buffer
+				 * callback */
+
+				chan->load_state = S3C_DMALOAD_NONE;
+				break;
+
+			case S3C_DMALOAD_1LOADED:
+				/* iirc, we should go back to NONE loaded here, we
+				 * had a buffer, and it was never verified as being
+				 * loaded.
+				 */
+
+				chan->load_state = S3C_DMALOAD_NONE;
+				break;
+
+			case S3C_DMALOAD_1LOADED_1RUNNING:
+				/* we'll worry about checking to see if another buffer is
+				 * ready after we've called back the owner. This should
+				 * ensure we do not wait around too long for the DMA
+				 * engine to start the next transfer
+				 */
+
+				chan->load_state = S3C_DMALOAD_1LOADED;
+				break;
+
+			case S3C_DMALOAD_NONE:
+				printk(KERN_ERR "dma%d: IRQ with no loaded buffer?\n",
+				       chan->number);
+				break;
+
+			default:
+				printk(KERN_ERR "dma%d: IRQ in invalid load_state %d\n",
+				       chan->number, chan->load_state);
+				break;
+			}
+
+			if (buf != NULL) {
+				/* update the chain to make sure that if we load any more
+				 * buffers when we call the callback function, things should
+				 * work properly */
+
+				chan->curr = buf->next;
+				buf->next = NULL;
+
+				if (buf->magic != BUF_MAGIC) {
+					printk(KERN_ERR "dma CH %d: %s: buf %p incorrect magic\n",
+					       chan->number, __FUNCTION__, buf);
+					goto next_channel;
+				}
+
+				s3c_dma_buffdone(chan, buf, S3C2410_RES_OK);
+
+				/* free resouces */
+				s3c_dma_freebuf(buf);
+			} else {
+			}
+
+			/* only reload if the channel is still running... our buffer done
+	 		* routine may have altered the state by requesting the dma channel
+			* to stop or shutdown... */
+
+			if (chan->next != NULL && chan->state != S3C_DMA_IDLE) {
+				unsigned long flags;
+
+				switch (chan->load_state) {
+				case S3C_DMALOAD_1RUNNING:
+					/* don't need to do anything for this state */
+					break;
+
+				case S3C_DMALOAD_NONE:
+					/* can load buffer immediately */
+					break;
+
+				case S3C_DMALOAD_1LOADED:
+					if (s3c_dma_waitforload(chan, __LINE__) == 0) {
+						/* flag error? */
+						printk(KERN_ERR "dma CH %d: timeout waiting for load\n",
+						       chan->number);
+						goto next_channel;
+					}
+
+					break;
+
+				case S3C_DMALOAD_1LOADED_1RUNNING:
+					goto next_channel;
+
+				default:
+					printk(KERN_ERR "dma CH %d: unknown load_state in irq, %d\n",
+					       chan->number, chan->load_state);
+					goto next_channel;
+				}
+
+				local_irq_save(flags);
+				s3c_dma_loadbuffer(chan, chan->next);
+				start_DMA_channel(dma_regaddr(chan->dma_con, S3C_DMAC_DBGSTATUS), chan->number,
+								chan->curr->mcptr, PL330_NON_SECURE_DMA);
+
+				local_irq_restore(flags);
+
+			} else {
+				s3c_dma_lastxfer(chan);
+
+				/* see if we can stop this channel.. */
+				if (chan->load_state == S3C_DMALOAD_NONE) {
+					pr_debug("# DMA CH %d - (index:%d): end of transfer, stopping channel (%ld)\n",
+						 chan->number, chan->index, jiffies);
+					s3c2410_dma_ctrl(chan->index | DMACH_LOW_LEVEL, S3C2410_DMAOP_STOP);
+				}
+			}
+		}
+
+next_channel:
+		tmp >>= 1;
+
+	}
+
+	s3c_clear_interrupts(chan->dma_con->number, chan->number);
+
+	return IRQ_HANDLED;
+}
+
+static struct s3c2410_dma_chan *s3c_dma_map_channel(int channel);
+
+/* s3c2410_dma_request
+ *
+ * get control of an dma channel
+*/
+
+int s3c2410_dma_request(unsigned int channel,
+			struct s3c2410_dma_client *client,
+			void *dev)
+{
+	struct s3c2410_dma_chan *chan;
+	unsigned long flags;
+	int err;
+
+	pr_debug("DMA CH %d: s3c2410_request_dma: client=%s, dev=%p\n",
+		 channel, client->name, dev);
+
+	local_irq_save(flags);
+
+	chan = s3c_dma_map_channel(channel);
+	if (chan == NULL) {
+		local_irq_restore(flags);
+		return -EBUSY;
+	}
+
+	dbg_showchan(chan);
+
+	chan->client = client;
+	chan->in_use = 1;
+
+	chan->dma_con->in_use++;
+
+	if (!chan->irq_claimed) {
+		pr_debug("DMA CH %d: %s : requesting irq %d\n",
+			 channel, __FUNCTION__, chan->irq);
+
+		chan->irq_claimed = 1;
+		local_irq_restore(flags);
+
+		err = request_irq(chan->irq, s3c_dma_irq, IRQF_DISABLED,
+				  client->name, (void *) chan->dma_con);
+
+		local_irq_save(flags);
+
+		if (err) {
+			chan->in_use = 0;
+			chan->irq_claimed = 0;
+			chan->dma_con->in_use--;
+			local_irq_restore(flags);
+
+			printk(KERN_ERR "%s: cannot get IRQ %d for DMA %d\n",
+			       client->name, chan->irq, chan->number);
+			return err;
+		}
+
+		chan->irq_enabled = 1;
+
+		/* enable the main dma.. this can be disabled
+		 * when main channel use count is 0 */
+		s3c_enable_dmac(chan->dma_con->number);
+	}
+
+	s3c_clear_interrupts(chan->dma_con->number, chan->number);
+	local_irq_restore(flags);
+
+	/* need to setup */
+
+	pr_debug("%s: channel initialised, %p, number:%d, index:%d\n", __FUNCTION__, chan, chan->number, chan->index);
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_request);
+
+/* s3c2410_dma_free
+ *
+ * release the given channel back to the system, will stop and flush
+ * any outstanding transfers, and ensure the channel is ready for the
+ * next claimant.
+ *
+ * Note, although a warning is currently printed if the freeing client
+ * info is not the same as the registrant's client info, the free is still
+ * allowed to go through.
+ */
+int s3c2410_dma_free(dmach_t channel, struct s3c2410_dma_client *client)
+{
+	unsigned long flags;
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+	pr_debug("%s: DMA channel %d will be stopped\n", __FUNCTION__, chan->number);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	local_irq_save(flags);
+
+	if (chan->client != client) {
+		printk(KERN_WARNING
+		       "DMA CH %d: possible free from different client (channel %p, passed %p)\n",
+		       channel, chan->client, client);
+	}
+
+	/* sort out stopping and freeing the channel */
+
+	if (chan->state != S3C_DMA_IDLE) {
+		pr_debug("%s: need to stop dma channel %p\n", __FUNCTION__, chan);
+
+		/* possibly flush the channel */
+		s3c2410_dma_ctrl(channel, S3C2410_DMAOP_STOP);
+	}
+
+	chan->client = NULL;
+	chan->in_use = 0;
+
+	chan->dma_con->in_use--;
+
+	if (chan->irq_claimed)
+		free_irq(chan->irq, (void *)chan->dma_con);
+
+	chan->irq_claimed = 0;
+
+	if (!(channel & DMACH_LOW_LEVEL))
+		dma_chan_map[channel] = NULL;
+
+	local_irq_restore(flags);
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_free);
+
+
+static int s3c_dma_dostop(struct s3c2410_dma_chan *chan)
+{
+	unsigned long flags;
+
+	pr_debug("%s: DMA Channel No : %d\n", __FUNCTION__, chan->number);
+
+	dbg_showchan(chan);
+
+	local_irq_save(flags);
+
+	s3c_dma_call_op(chan, S3C2410_DMAOP_STOP);
+
+	stop_DMA_channel(dma_regaddr(chan->dma_con, S3C_DMAC_DBGSTATUS), chan->number);
+
+	chan->state = S3C_DMA_IDLE;
+	chan->load_state = S3C_DMALOAD_NONE;
+
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+static void s3c_dma_showchan(struct s3c2410_dma_chan * chan)
+{
+
+}
+
+/* s3c_dma_flush
+ *
+ * stop the channel, and remove all current and pending transfers
+ */
+
+void s3c_waitforstop(struct s3c2410_dma_chan *chan)
+{
+
+}
+
+static int s3c_dma_flush(struct s3c2410_dma_chan *chan)
+{
+	struct s3c_dma_buf *buf, *next;
+	unsigned long flags;
+
+	pr_debug("%s:\n", __FUNCTION__);
+
+	local_irq_save(flags);
+
+	s3c_dma_showchan(chan);
+
+	if (chan->state != S3C_DMA_IDLE) {
+		pr_debug("%s: stopping channel...\n", __FUNCTION__);
+		s3c2410_dma_ctrl(chan->number, S3C2410_DMAOP_STOP);
+	}
+
+	buf = chan->curr;
+	if (buf == NULL)
+		buf = chan->next;
+
+	chan->curr = chan->next = chan->end = NULL;
+	chan->load_state = S3C_DMALOAD_NONE;
+
+	if (buf != NULL) {
+		for (; buf != NULL; buf = next) {
+			next = buf->next;
+
+			pr_debug("%s: free buffer %p, next %p\n", __FUNCTION__, buf, buf->next);
+
+			s3c_dma_buffdone(chan, buf, S3C2410_RES_ABORT);
+			s3c_dma_freebuf(buf);
+		}
+	}
+	//s3c_dma_waitforstop(chan);
+
+	s3c_dma_showchan(chan);
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+int s3c_dma_started(struct s3c2410_dma_chan *chan)
+{
+	unsigned long flags;
+
+	local_irq_save(flags);
+
+	dbg_showchan(chan);
+
+	/* if we've only loaded one buffer onto the channel, then chec
+	 * to see if we have another, and if so, try and load it so when
+	 * the first buffer is finished, the new one will be loaded onto
+	 * the channel */
+
+	if (chan->next != NULL) {
+		if (chan->load_state == S3C_DMALOAD_1LOADED) {
+
+			if (s3c_dma_waitforload(chan, __LINE__) == 0) {
+				pr_debug("%s: buff not yet loaded, no more todo\n",
+					 __FUNCTION__);
+			} else {
+				chan->load_state = S3C_DMALOAD_1RUNNING;
+				s3c_dma_loadbuffer(chan, chan->next);
+			}
+
+		} else if (chan->load_state == S3C_DMALOAD_1RUNNING) {
+			s3c_dma_loadbuffer(chan, chan->next);
+		}
+	}
+
+	local_irq_restore(flags);
+
+	return 0;
+
+}
+
+int s3c2410_dma_ctrl(dmach_t channel, enum s3c_chan_op op)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	switch (op) {
+	case S3C2410_DMAOP_START:
+		return s3c_dma_start(chan);
+
+	case S3C2410_DMAOP_STOP:
+		return s3c_dma_dostop(chan);
+
+	case S3C2410_DMAOP_PAUSE:
+	case S3C2410_DMAOP_RESUME:
+		return -ENOENT;
+
+	case S3C2410_DMAOP_FLUSH:
+		return s3c_dma_flush(chan);
+
+	case S3C2410_DMAOP_STARTED:
+		return s3c_dma_started(chan);
+
+	case S3C2410_DMAOP_TIMEOUT:
+		return 0;
+
+	}
+
+	printk("Invalid operation entered \n");
+	return -ENOENT;      /* unknown, don't bother */
+}
+EXPORT_SYMBOL(s3c2410_dma_ctrl);
+
+
+/* s3c2410_dma_config
+ *
+ * xfersize:     size of unit in bytes (1,2,4)
+ * dcon:         base value of the DCONx register
+ */
+int s3c2410_dma_config(dmach_t channel,
+		       int xferunit,
+		       int dcon)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	pr_debug("%s: chan=%d, xfer_unit=%d, dcon=%08x\n",
+		 __FUNCTION__, channel, xferunit, dcon);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	pr_debug("%s: Initial dcon is %08x\n", __FUNCTION__, dcon);
+
+	dcon |= chan->dcon & dma_sel.dcon_mask;
+
+	pr_debug("%s: New dcon is %08x\n", __FUNCTION__, dcon);
+
+	switch (xferunit) {
+	case 1:
+		dcon |= S3C_DMACONTROL_SRC_WIDTH_BYTE;
+		dcon |= S3C_DMACONTROL_DEST_WIDTH_BYTE;
+		break;
+
+	case 2:
+		dcon |= S3C_DMACONTROL_SRC_WIDTH_HWORD;
+		dcon |= S3C_DMACONTROL_DEST_WIDTH_HWORD;
+		break;
+
+	case 4:
+		dcon |= S3C_DMACONTROL_SRC_WIDTH_WORD;
+		dcon |= S3C_DMACONTROL_DEST_WIDTH_WORD;
+		break;
+
+	case 8:
+		dcon |= S3C_DMACONTROL_SRC_WIDTH_DWORD;
+		dcon |= S3C_DMACONTROL_DEST_WIDTH_DWORD;
+		break;
+
+	default:
+		printk("%s: Bad transfer size %d\n", __FUNCTION__, xferunit);
+		return -EINVAL;
+	}
+
+	pr_debug("%s: DMA Channel control :  %08x\n", __FUNCTION__, dcon);
+
+	dcon |= chan->control_flags;
+	pr_debug("%s: dcon now %08x\n", __FUNCTION__, dcon);
+
+	/* For DMCCxControl 0 */
+	chan->dcon = dcon;
+
+	/* For DMACCxControl 1 : xferunit means transfer width.*/
+	chan->xfer_unit = xferunit;
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_config);
+
+int s3c2410_dma_setflags(dmach_t channel, unsigned int flags)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	pr_debug("%s: chan=%p, flags=%08x\n", __FUNCTION__, chan, flags);
+
+	chan->flags = flags;
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_setflags);
+
+
+/* do we need to protect the settings of the fields from
+ * irq?
+ */
+
+int s3c2410_dma_set_opfn(dmach_t channel, s3c2410_dma_opfn_t rtn)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	pr_debug("%s: chan=%p, op rtn=%p\n", __FUNCTION__, chan, rtn);
+
+	chan->op_fn = rtn;
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_set_opfn);
+
+
+int s3c2410_dma_set_buffdone_fn(dmach_t channel, s3c2410_dma_cbfn_t rtn)
+{
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	pr_debug("%s: chan=%p, callback rtn=%p\n", __FUNCTION__, chan, rtn);
+
+	chan->callback_fn = rtn;
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c2410_dma_set_buffdone_fn);
+
+
+/* s3c2410_dma_devconfig
+ *
+ * configure the dma source/destination hardware type and address
+ *
+ * flowctrl: direction of dma flow
+ *
+ * src_per dst_per: dma channel number of src and dst periphreal,
+ *
+ * devaddr:   physical address of the source
+ */
+
+int s3c2410_dma_devconfig(int channel,
+			  enum s3c2410_dmasrc source,
+			  int hwcfg,
+			  unsigned long devaddr)
+{
+
+	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	pr_debug("%s: source=%d, hwcfg=%08x, devaddr=%08lx\n",
+		 __FUNCTION__, (int)source, hwcfg, devaddr);
+
+	chan->source = source;
+	chan->dev_addr = devaddr;
+
+	switch (source) {
+	case S3C2410_DMASRC_MEM:
+		/* source is Memory : Mem-to-Peri ( Write into FIFO) */
+		chan->config_flags = chan->map->hw_addr.to;
+
+		hwcfg = S3C_DMACONTROL_DBSIZE(1)|S3C_DMACONTROL_SBSIZE(1);
+		chan->control_flags = S3C_DMACONTROL_DP_NON_SECURE|S3C_DMACONTROL_DEST_FIXED|
+				      S3C_DMACONTROL_SP_NON_SECURE|S3C_DMACONTROL_SRC_INC|
+				      hwcfg;
+		//chan->control_flags = hwcfg;
+		return 0;
+
+	case S3C2410_DMASRC_HW:
+		/* source is peripheral : Peri-to-Mem ( Read from FIFO) */
+		chan->config_flags = chan->map->hw_addr.from;
+
+		hwcfg = S3C_DMACONTROL_DBSIZE(1)|S3C_DMACONTROL_SBSIZE(1);
+		chan->control_flags = S3C_DMACONTROL_DP_NON_SECURE|S3C_DMACONTROL_DEST_INC|
+				      S3C_DMACONTROL_SP_NON_SECURE|S3C_DMACONTROL_SRC_FIXED|
+				      hwcfg;
+		//chan->control_flags = hwcfg;
+		return 0;
+
+	case S3C_DMA_MEM2MEM:
+
+		chan->config_flags = 0;
+
+		hwcfg = S3C_DMACONTROL_DBSIZE(16)|S3C_DMACONTROL_SBSIZE(16);
+		chan->control_flags = S3C_DMACONTROL_DP_NON_SECURE|S3C_DMACONTROL_DEST_INC|
+				      S3C_DMACONTROL_SP_NON_SECURE|S3C_DMACONTROL_SRC_INC|
+				      hwcfg;
+		//chan->control_flags = hwcfg;
+		return 0;
+
+	case S3C_DMA_MEM2MEM_SET:
+
+		chan->config_flags = 0;
+
+		hwcfg = S3C_DMACONTROL_DBSIZE(16)|S3C_DMACONTROL_SBSIZE(16);
+		chan->control_flags = S3C_DMACONTROL_DP_NON_SECURE|S3C_DMACONTROL_DEST_INC|
+				      S3C_DMACONTROL_SP_NON_SECURE|S3C_DMACONTROL_SRC_FIXED|
+				      hwcfg;
+		//chan->control_flags = hwcfg;
+		return 0;
+
+
+	case S3C_DMA_PER2PER:
+		printk("Peripheral-to-Peripheral DMA NOT YET implemented !! \n");
+		return -EINVAL;
+
+	default:
+		printk(KERN_ERR "DMA CH :%d - invalid source type ()\n", channel);
+		printk("Unsupported DMA configuration from the device driver using DMA driver \n");
+		return -EINVAL;
+	}
+
+}
+
+EXPORT_SYMBOL(s3c2410_dma_devconfig);
+
+
+/*
+ * s3c2410_dma_getposition
+ * returns the current transfer points for the dma source and destination
+ */
+int s3c2410_dma_getposition(dmach_t channel, dma_addr_t *src, dma_addr_t *dst)
+{
+ 	struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);
+
+	if (chan == NULL)
+		return -EINVAL;
+
+	if (src != NULL)
+ 		*src = dma_rdreg(chan->dma_con, S3C_DMAC_SA(chan->number));
+
+ 	if (dst != NULL)
+ 		*dst = dma_rdreg(chan->dma_con, S3C_DMAC_DA(chan->number));
+
+ 	return 0;
+}
+
+EXPORT_SYMBOL(s3c2410_dma_getposition);
+
+
+/* system device class */
+#ifdef CONFIG_PM
+static int s3c_dma_suspend (struct sys_device *dev, pm_message_t state)
+{
+	return 0;
+}
+
+static int s3c_dma_resume (struct sys_device *dev)
+{
+	return 0;
+}
+#else
+#define s3c_dma_suspend NULL
+#define s3c_dma_resume  NULL
+#endif				/* CONFIG_PM */
+
+struct sysdev_class dma_sysclass = {
+	.name = "pl330-dma",
+	.suspend = s3c_dma_suspend,
+	.resume = s3c_dma_resume,
+};
+
+/* kmem cache implementation */
+
+static void s3c_dma_cache_ctor(void *p)
+{
+	memset(p, 0, sizeof(struct s3c_dma_buf));
+}
+
+
+/* initialisation code */
+
+int __init s3c_dma_init(unsigned int channels, unsigned int irq,
+			    unsigned int stride)
+{
+	struct s3c2410_dma_chan *cp;
+	s3c_dma_controller_t *dconp;
+	int channel, controller;
+	int ret;
+
+	printk("S3C PL330-DMA Controller Driver, (c) 2008-2009 Samsung Electronics\n");
+
+	dma_channels = channels;
+	printk("Total %d DMA channels will be initialized.\n", channels);
+
+	ret = sysdev_class_register(&dma_sysclass);
+	if (ret != 0) {
+		printk(KERN_ERR "dma sysclass registration failed.\n");
+		goto err;
+	}
+
+	dma_kmem = kmem_cache_create("dma_desc",
+				     sizeof(struct s3c_dma_buf), 0,
+				     SLAB_HWCACHE_ALIGN,
+				     s3c_dma_cache_ctor);
+
+	if (dma_kmem == NULL) {
+		printk(KERN_ERR "DMA failed to make kmem cache for DMA channel descriptor\n");
+		ret = -ENOMEM;
+		goto err;
+	}
+
+	for (controller = 0; controller < S3C_DMA_CONTROLLERS; controller++) {
+		dconp = &s3c_dma_cntlrs[controller];
+
+		memset(dconp, 0, sizeof(s3c_dma_controller_t));
+
+		if(controller == 0) {
+			dma_base = ioremap(S3C_PA_DMA, stride);
+			if (dma_base == NULL) {
+				printk(KERN_ERR "M2M-DMA failed to ioremap register block\n");
+				return -ENOMEM;
+			}
+
+			/* dma controller's irqs are in order.. */
+			dconp->irq = controller + irq;
+		}
+		else {
+			dma_base = ioremap(((S3C_PA_DMA + 0xF00000) + ((controller-1) * 0x200000)), stride);
+			if (dma_base == NULL) {
+				printk(KERN_ERR "Peri-DMA failed to ioremap register block\n");
+				return -ENOMEM;
+			}
+
+			/* dma controller's irqs are in order.. */
+			dconp->irq = controller + irq;
+		}
+
+		dconp->number = controller;
+		dconp->regs = dma_base;
+		pr_debug("PL330 DMA controller : %d irq %d regs_base %x\n", dconp->number, dconp->irq,
+			  dconp->regs);
+	}
+
+	for (channel = 0; channel < channels; channel++) {
+		controller = channel / S3C_CHANNELS_PER_DMA;
+		cp = &s3c_dma_chans[channel];
+
+		memset(cp, 0, sizeof(struct s3c2410_dma_chan));
+
+		cp->dma_con = &s3c_dma_cntlrs[controller];
+
+		/* dma channel irqs are in order.. */
+		cp->index = channel;
+		cp->number = channel%S3C_CHANNELS_PER_DMA;
+
+		cp->irq = s3c_dma_cntlrs[controller].irq;
+
+		cp->regs = s3c_dma_cntlrs[controller].regs;
+
+		/* point current stats somewhere */
+		cp->stats = &cp->stats_store;
+		cp->stats_store.timeout_shortest = LONG_MAX;
+
+		/* basic channel configuration */
+		cp->load_timeout = 1 << 18;
+
+		/* register system device */
+		cp->dev.cls = &dma_sysclass;
+		cp->dev.id = channel;
+
+		pr_debug("DMA channel %d at %p, irq %d\n", cp->number, cp->regs, cp->irq);
+	}
+
+	return 0;
+err:
+	kmem_cache_destroy(dma_kmem);
+	iounmap(dma_base);
+	dma_base = NULL;
+	return ret;
+}
+
+
+
+static inline int is_channel_valid(unsigned int channel)
+{
+	return (channel & DMA_CH_VALID);
+}
+
+static struct s3c_dma_order *dma_order;
+
+
+/* s3c_dma_map_channel()
+ *
+ * turn the virtual channel number into a real, and un-used hardware
+ * channel.
+ *
+ * first, try the dma ordering given to us by either the relevant
+ * dma code, or the board. Then just find the first usable free
+ * channel
+*/
+
+struct s3c2410_dma_chan *s3c_dma_map_channel(int channel)
+{
+	struct s3c_dma_order_ch *ord = NULL;
+	struct s3c_dma_map *ch_map;
+	struct s3c2410_dma_chan *dmach;
+	int ch;
+
+	if (dma_sel.map == NULL || channel > dma_sel.map_size)
+		return NULL;
+
+	ch_map = dma_sel.map + channel;
+
+	/* first, try the board mapping */
+
+	if (dma_order) {
+		ord = &dma_order->channels[channel];
+
+		for (ch = 0; ch < dma_channels; ch++) {
+			if (!is_channel_valid(ord->list[ch]))
+				continue;
+
+			if (s3c_dma_chans[ord->list[ch]].in_use == 0) {
+				ch = ord->list[ch] & ~DMA_CH_VALID;
+				goto found;
+			}
+		}
+
+		if (ord->flags & DMA_CH_NEVER)
+			return NULL;
+	}
+
+	/* second, search the channel map for first free */
+
+	for (ch = 0; ch < dma_channels; ch++) {
+		if (!is_channel_valid(ch_map->channels[ch]))
+			continue;
+
+		if (s3c_dma_chans[ch].in_use == 0) {
+			pr_debug("mapped channel %d to %d\n", channel, ch);
+			break;
+		}
+	}
+
+	if (ch >= dma_channels)
+		return NULL;
+
+	/* update our channel mapping */
+
+ found:
+	dmach = &s3c_dma_chans[ch];
+	dma_chan_map[channel] = dmach;
+
+	/* select the channel */
+	(dma_sel.select)(dmach, ch_map);
+
+	return dmach;
+}
+
+static int s3c_dma_check_entry(struct s3c_dma_map *map, int ch)
+{
+	return 0;
+}
+
+int __init s3c_dma_init_map(struct s3c_dma_selection *sel)
+{
+	struct s3c_dma_map *nmap;
+	size_t map_sz = sizeof(*nmap) * sel->map_size;
+	int ptr;
+
+	nmap = kmalloc(map_sz, GFP_KERNEL);
+	if (nmap == NULL)
+		return -ENOMEM;
+
+	memcpy(nmap, sel->map, map_sz);
+	memcpy(&dma_sel, sel, sizeof(*sel));
+
+	dma_sel.map = nmap;
+
+	for (ptr = 0; ptr < sel->map_size; ptr++)
+		s3c_dma_check_entry(nmap+ptr, ptr);
+
+	return 0;
+}
+
+int __init s3c_dma_order_set(struct s3c_dma_order *ord)
+{
+	struct s3c_dma_order *nord = dma_order;
+
+	if (nord == NULL)
+		nord = kmalloc(sizeof(struct s3c_dma_order), GFP_KERNEL);
+
+	if (nord == NULL) {
+		printk(KERN_ERR "no memory to store dma channel order\n");
+		return -ENOMEM;
+	}
+
+	dma_order = nord;
+	memcpy(nord, ord, sizeof(struct s3c_dma_order));
+	return 0;
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/gpio-config.c linux-2.6.28.6/arch/arm/plat-s3c/gpio-config.c
--- linux-2.6.28/arch/arm/plat-s3c/gpio-config.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/gpio-config.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,189 @@
+/* linux/arch/arm/plat-s3c/gpio-config.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C series GPIO configuration core
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/gpio.h>
+#include <linux/module.h>
+#include <linux/io.h>
+
+#include <mach/gpio-core.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-cfg-helpers.h>
+
+int s3c_gpio_cfgpin(unsigned int pin, unsigned int config)
+{
+	struct s3c_gpio_chip *chip = s3c_gpiolib_getchip(pin);
+	unsigned long flags;
+	int offset;
+	int ret;
+
+	if (!chip)
+		return -EINVAL;
+
+	offset = pin - chip->chip.base;
+
+	local_irq_save(flags);
+	ret = s3c_gpio_do_setcfg(chip, offset, config);
+	local_irq_restore(flags);
+
+	return ret;
+}
+
+int s3c_gpio_setpull(unsigned int pin, s3c_gpio_pull_t pull)
+{
+	struct s3c_gpio_chip *chip = s3c_gpiolib_getchip(pin);
+	unsigned long flags;
+	int offset, ret;
+
+	if (!chip)
+		return -EINVAL;
+
+	offset = pin - chip->chip.base;
+
+	local_irq_save(flags);
+	ret = s3c_gpio_do_setpull(chip, offset, pull);
+	local_irq_restore(flags);
+
+	return ret;
+}
+
+EXPORT_SYMBOL(s3c_gpio_cfgpin);
+EXPORT_SYMBOL(s3c_gpio_setpull);
+
+#ifdef CONFIG_S3C_GPIO_CFG_S3C24XX
+int s3c_gpio_setcfg_s3c24xx_banka(struct s3c_gpio_chip *chip,
+				  unsigned int off, unsigned int cfg)
+{
+	void __iomem *reg = chip->base;
+	unsigned int shift = off;
+	u32 con;
+
+	if (s3c_gpio_is_cfg_special(cfg)) {
+		cfg &= 0xf;
+
+		/* Map output to 0, and SFN2 to 1 */
+		cfg -= 1;
+		if (cfg > 1)
+			return -EINVAL;
+
+		cfg <<= shift;
+	}
+
+	con = __raw_readl(reg);
+	con &= ~(0x1 << shift);
+	con |= cfg;
+	__raw_writel(con, reg);
+
+	return 0;
+}
+
+int s3c_gpio_setcfg_s3c24xx(struct s3c_gpio_chip *chip,
+			    unsigned int off, unsigned int cfg)
+{
+	void __iomem *reg = chip->base;
+	unsigned int shift = off * 2;
+	u32 con;
+
+	if (s3c_gpio_is_cfg_special(cfg)) {
+		cfg &= 0xf;
+		if (cfg > 3)
+			return -EINVAL;
+
+		cfg <<= shift;
+	}
+
+	con = __raw_readl(reg);
+	con &= ~(0x3 << shift);
+	con |= cfg;
+	__raw_writel(con, reg);
+
+	return 0;
+}
+#endif
+
+#ifdef CONFIG_S3C_GPIO_CFG_S3C64XX
+int s3c_gpio_setcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip,
+				 unsigned int off, unsigned int cfg)
+{
+	void __iomem *reg = chip->base;
+	unsigned int shift = (off & 7) * 4;
+	u32 con;
+
+	if (off < 8 && chip->chip.ngpio > 8)
+		reg -= 4;
+
+	if (s3c_gpio_is_cfg_special(cfg)) {
+		cfg &= 0xf;
+		cfg <<= shift;
+	}
+
+	con = __raw_readl(reg);
+	con &= ~(0xf << shift);
+	con |= cfg;
+	__raw_writel(con, reg);
+
+	return 0;
+}
+#endif /* CONFIG_S3C_GPIO_CFG_S3C64XX */
+
+#ifdef CONFIG_S3C_GPIO_CFG_S5PC1XX
+int s3c_gpio_setcfg_s5pc1xx(struct s3c_gpio_chip *chip,
+				 unsigned int off, unsigned int cfg)
+{
+	void __iomem *reg = chip->base;
+	unsigned int shift = (off & 7) * 4;
+	u32 con;
+
+	if (s3c_gpio_is_cfg_special(cfg)) {
+		cfg &= 0xf;
+		cfg <<= shift;
+	}
+
+	con = __raw_readl(reg);
+	con &= ~(0xf << shift);
+	con |= cfg;
+	__raw_writel(con, reg);
+
+	return 0;
+}
+#endif /* CONFIG_S3C_GPIO_CFG_S5PC1XX */
+
+#ifdef CONFIG_S3C_GPIO_PULL_UPDOWN
+int s3c_gpio_setpull_updown(struct s3c_gpio_chip *chip,
+			    unsigned int off, s3c_gpio_pull_t pull)
+{
+	void __iomem *reg = chip->base + 0x08;
+	int shift = off * 2;
+	u32 pup;
+
+	pup = __raw_readl(reg);
+	pup &= ~(3 << shift);
+	pup |= pull << shift;
+	__raw_writel(pup, reg);
+
+	return 0;
+}
+
+s3c_gpio_pull_t s3c_gpio_getpull_updown(struct s3c_gpio_chip *chip,
+					unsigned int off)
+{
+	void __iomem *reg = chip->base + 0x08;
+	int shift = off * 2;
+	u32 pup = __raw_readl(reg);
+
+	pup >>= shift;
+	pup &= 0x3;
+	return (__force s3c_gpio_pull_t)pup;
+}
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/gpio.c linux-2.6.28.6/arch/arm/plat-s3c/gpio.c
--- linux-2.6.28/arch/arm/plat-s3c/gpio.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/gpio.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,147 @@
+/* linux/arch/arm/plat-s3c/gpio.c
+ *
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C series GPIO core
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/io.h>
+#include <linux/gpio.h>
+
+#include <plat/gpio-core.h>
+
+#ifdef CONFIG_S3C_GPIO_TRACK
+struct s3c_gpio_chip *s3c_gpios[S3C_GPIO_END];
+
+static __init void s3c_gpiolib_track(struct s3c_gpio_chip *chip)
+{
+	unsigned int gpn;
+	int i;
+
+	gpn = chip->chip.base;
+	for (i = 0; i < chip->chip.ngpio; i++, gpn++) {
+		BUG_ON(gpn >= ARRAY_SIZE(s3c_gpios));
+		s3c_gpios[gpn] = chip;
+	}
+}
+#endif /* CONFIG_S3C_GPIO_TRACK */
+
+/* Default routines for controlling GPIO, based on the original S3C24XX
+ * GPIO functions which deal with the case where each gpio bank of the
+ * chip is as following:
+ *
+ * base + 0x00: Control register, 2 bits per gpio
+ *	        gpio n: 2 bits starting at (2*n)
+ *		00 = input, 01 = output, others mean special-function
+ * base + 0x04: Data register, 1 bit per gpio
+ *		bit n: data bit n
+*/
+
+static int s3c_gpiolib_input(struct gpio_chip *chip, unsigned offset)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	unsigned long flags;
+	unsigned long con;
+
+	local_irq_save(flags);
+
+	con = __raw_readl(base + 0x00);
+	con &= ~(3 << (offset * 2));
+
+	__raw_writel(con, base + 0x00);
+
+	local_irq_restore(flags);
+	return 0;
+}
+
+static int s3c_gpiolib_output(struct gpio_chip *chip,
+			      unsigned offset, int value)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	unsigned long flags;
+	unsigned long dat;
+	unsigned long con;
+
+	local_irq_save(flags);
+
+	dat = __raw_readl(base + 0x04);
+	dat &= ~(1 << offset);
+	if (value)
+		dat |= 1 << offset;
+	__raw_writel(dat, base + 0x04);
+
+	con = __raw_readl(base + 0x00);
+	con &= ~(3 << (offset * 2));
+	con |= 1 << (offset * 2);
+
+	__raw_writel(con, base + 0x00);
+	__raw_writel(dat, base + 0x04);
+
+	local_irq_restore(flags);
+	return 0;
+}
+
+static void s3c_gpiolib_set(struct gpio_chip *chip,
+			    unsigned offset, int value)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	unsigned long flags;
+	unsigned long dat;
+
+	local_irq_save(flags);
+
+	dat = __raw_readl(base + 0x04);
+	dat &= ~(1 << offset);
+	if (value)
+		dat |= 1 << offset;
+	__raw_writel(dat, base + 0x04);
+
+	local_irq_restore(flags);
+}
+
+static int s3c_gpiolib_get(struct gpio_chip *chip, unsigned offset)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	unsigned long val;
+
+	val = __raw_readl(ourchip->base + 0x04);
+	val >>= offset;
+	val &= 1;
+
+	return val;
+}
+
+__init void s3c_gpiolib_add(struct s3c_gpio_chip *chip)
+{
+	struct gpio_chip *gc = &chip->chip;
+	int ret;
+
+	BUG_ON(!chip->base);
+	BUG_ON(!gc->label);
+	BUG_ON(!gc->ngpio);
+
+	if (!gc->direction_input)
+		gc->direction_input = s3c_gpiolib_input;
+	if (!gc->direction_output)
+		gc->direction_output = s3c_gpiolib_output;
+	if (!gc->set)
+		gc->set = s3c_gpiolib_set;
+	if (!gc->get)
+		gc->get = s3c_gpiolib_get;
+
+	/* gpiochip_add() prints own failure message on error. */
+	ret = gpiochip_add(gc);
+	if (ret >= 0)
+		s3c_gpiolib_track(chip);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/mach/audio.h linux-2.6.28.6/arch/arm/plat-s3c/include/mach/audio.h
--- linux-2.6.28/arch/arm/plat-s3c/include/mach/audio.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/mach/audio.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,45 @@
+/* linux/arch/arm/plat-s3c/include/mach/audio.h
+ *
+ * Copyright (c) 2004-2005 Simtec Electronics
+ *	http://www.simtec.co.uk/products/SWLINUX/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24XX - Audio platfrom_device info
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_AUDIO_H
+#define __ASM_ARCH_AUDIO_H __FILE__
+
+/* struct s3c24xx_iis_ops
+ *
+ * called from the s3c24xx audio core to deal with the architecture
+ * or the codec's setup and control.
+ *
+ * the pointer to itself is passed through in case the caller wants to
+ * embed this in an larger structure for easy reference to it's context.
+*/
+
+struct s3c24xx_iis_ops {
+	struct module *owner;
+
+	int	(*startup)(struct s3c24xx_iis_ops *me);
+	void	(*shutdown)(struct s3c24xx_iis_ops *me);
+	int	(*suspend)(struct s3c24xx_iis_ops *me);
+	int	(*resume)(struct s3c24xx_iis_ops *me);
+
+	int	(*open)(struct s3c24xx_iis_ops *me, struct snd_pcm_substream *strm);
+	int	(*close)(struct s3c24xx_iis_ops *me, struct snd_pcm_substream *strm);
+	int	(*prepare)(struct s3c24xx_iis_ops *me, struct snd_pcm_substream *strm, struct snd_pcm_runtime *rt);
+};
+
+struct s3c24xx_platdata_iis {
+	const char		*codec_clk;
+	struct s3c24xx_iis_ops	*ops;
+	int			(*match_dev)(struct device *dev);
+};
+
+#endif /* __ASM_ARCH_AUDIO_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/mach/dma-pl080.h linux-2.6.28.6/arch/arm/plat-s3c/include/mach/dma-pl080.h
--- linux-2.6.28/arch/arm/plat-s3c/include/mach/dma-pl080.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/mach/dma-pl080.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,183 @@
+/* linux/arch/arm/plat-s3c/include/mach/dma-pl080.h
+ *
+ */
+
+#ifndef __ARM_MACH_DMA_PL080_H
+#define __ARM_MACH_DMA_PL080_H
+
+/*
+ * This is the maximum DMA address(physical address) that can be DMAd to.
+ *
+ */
+#define MAX_DMA_ADDRESS			0x40000000
+#define MAX_DMA_TRANSFER_SIZE   	0x100000 /* Data Unit is half word  */
+
+#define DMACH_LOW_LEVEL			(1<<28)	/* use this to specifiy hardware ch no */
+
+/* We have 4 dma controllers - DMA0, DMA1, SDMA0, SDMA1 */
+#define S3C_DMA_CONTROLLERS        	(4)
+#define S3C_CHANNELS_PER_DMA       	(8)
+#define S3C_CANDIDATE_CHANNELS_PER_DMA  (16)
+#define S3C_DMA_CHANNELS		(S3C_DMA_CONTROLLERS*S3C_CHANNELS_PER_DMA)
+
+/* flags */
+#define S3C2410_DMAF_SLOW         	(1<<0)   /* slow, so don't worry about */
+#define S3C2410_DMAF_AUTOSTART    	(1<<1)   /* auto-start if buffer queued */
+
+/* DMA Register definitions */
+#define S3C2410_DCON_AUTORELOAD 	(0<<22)
+#define S3C2410_DCON_NORELOAD   	(1<<22)
+
+/*=================================================*/
+/*   DMA Register Definitions for S3C6400          */
+
+#define S3C_DMAC_INT_STATUS   		(0x00)
+#define S3C_DMAC_INT_TCSTATUS   	(0x04)
+#define S3C_DMAC_INT_TCCLEAR   		(0x08)
+#define S3C_DMAC_INT_ERRORSTATUS   	(0x0c)
+#define S3C_DMAC_INT_ERRORCLEAR   	(0x10)
+#define S3C_DMAC_RAW_INTTCSTATUS   	(0x14)
+#define S3C_DMAC_RAW_INTERRORSTATUS   	(0x18)
+#define S3C_DMAC_ENBLD_CHANNELS	   	(0x1c)
+#define S3C_DMAC_SOFTBREQ	   	(0x20)
+#define S3C_DMAC_SOFTSREQ	   	(0x24)
+#define S3C_DMAC_SOFTLBREQ	   	(0x28)
+#define S3C_DMAC_SOFTLSREQ	   	(0x2c)
+#define S3C_DMAC_CONFIGURATION   	(0x30)
+#define S3C_DMAC_SYNC   		(0x34)
+
+#define S3C_DMAC_CxSRCADDR   		(0x00)
+#define S3C_DMAC_CxDESTADDR   		(0x04)
+#define S3C_DMAC_CxLLI   		(0x08)
+#define S3C_DMAC_CxCONTROL0   		(0x0C)
+#define S3C_DMAC_CxCONTROL1   		(0x10)
+#define S3C_DMAC_CxCONFIGURATION   	(0x14)
+
+#define S3C_DMAC_C0SRCADDR   		(0x100)
+#define S3C_DMAC_C0DESTADDR   		(0x104)
+#define S3C_DMAC_C0LLI   		(0x108)
+#define S3C_DMAC_C0CONTROL0   		(0x10C)
+#define S3C_DMAC_C0CONTROL1   		(0x110)
+#define S3C_DMAC_C0CONFIGURATION   	(0x114)
+
+#define S3C_DMAC_C1SRCADDR   		(0x120)
+#define S3C_DMAC_C1DESTADDR   		(0x124)
+#define S3C_DMAC_C1LLI   		(0x128)
+#define S3C_DMAC_C1CONTROL0   		(0x12C)
+#define S3C_DMAC_C1CONTROL1   		(0x130)
+#define S3C_DMAC_C1CONFIGURATION   	(0x134)
+
+#define S3C_DMAC_C2SRCADDR   		(0x140)
+#define S3C_DMAC_C2DESTADDR   		(0x144)
+#define S3C_DMAC_C2LLI   		(0x148)
+#define S3C_DMAC_C2CONTROL0   		(0x14C)
+#define S3C_DMAC_C2CONTROL1   		(0x150)
+#define S3C_DMAC_C2CONFIGURATION   	(0x154)
+
+#define S3C_DMAC_C3SRCADDR   		(0x160)
+#define S3C_DMAC_C3DESTADDR   		(0x164)
+#define S3C_DMAC_C3LLI   		(0x168)
+#define S3C_DMAC_C3CONTROL0   		(0x16C)
+#define S3C_DMAC_C3CONTROL1   		(0x170)
+#define S3C_DMAC_C3CONFIGURATION   	(0x174)
+
+#define S3C_DMAC_C4SRCADDR   		(0x180)
+#define S3C_DMAC_C4DESTADDR   		(0x184)
+#define S3C_DMAC_C4LLI   		(0x188)
+#define S3C_DMAC_C4CONTROL0   		(0x18C)
+#define S3C_DMAC_C4CONTROL1   		(0x190)
+#define S3C_DMAC_C4CONFIGURATION   	(0x194)
+
+#define S3C_DMAC_C5SRCADDR   		(0x1A0)
+#define S3C_DMAC_C5DESTADDR   		(0x1A4)
+#define S3C_DMAC_C5LLI   		(0x1A8)
+#define S3C_DMAC_C5CONTROL0   		(0x1AC)
+#define S3C_DMAC_C5CONTROL1   		(0x1B0)
+#define S3C_DMAC_C5CONFIGURATION   	(0x1B4)
+
+#define S3C_DMAC_C6SRCADDR   		(0x1C0)
+#define S3C_DMAC_C6DESTADDR   		(0x1C4)
+#define S3C_DMAC_C6LLI   		(0x1C8)
+#define S3C_DMAC_C6CONTROL0   		(0x1CC)
+#define S3C_DMAC_C6CONTROL1   		(0x1D0)
+#define S3C_DMAC_C6CONFIGURATION   	(0x1D4)
+
+#define S3C_DMAC_C7SRCADDR   		(0x1E0)
+#define S3C_DMAC_C7DESTADDR   		(0x1E4)
+#define S3C_DMAC_C7LLI   		(0x1E8)
+#define S3C_DMAC_C7CONTROL0   		(0x1EC)
+#define S3C_DMAC_C7CONTROL1   		(0x1F0)
+#define S3C_DMAC_C7CONFIGURATION   	(0x1F4)
+
+/* DMACConfiguration(0x30) */
+#define S3C_DMA_CONTROLLER_ENABLE 	(1<<0)
+
+/* DMACCxControl0 : Channel control register 0 */
+#define S3C_DMACONTROL_TC_INT_ENABLE 	(1<<31)
+#define S3C_DMACONTROL_DEST_NO_INC	(0<<27)
+#define S3C_DMACONTROL_DEST_INC		(1<<27)
+#define S3C_DMACONTROL_SRC_NO_INC	(0<<26)
+#define S3C_DMACONTROL_SRC_INC		(1<<26)
+#define S3C_DMACONTROL_DEST_AXI_SPINE	(0<<25)
+#define S3C_DMACONTROL_DEST_AXI_PERI	(1<<25)
+#define S3C_DMACONTROL_SRC_AXI_SPINE	(0<<24)
+#define S3C_DMACONTROL_SRC_AXI_PERI	(1<<24)
+#define S3C_DMACONTROL_DEST_WIDTH_BYTE	(0<<21)
+#define S3C_DMACONTROL_DEST_WIDTH_HWORD	(1<<21)
+#define S3C_DMACONTROL_DEST_WIDTH_WORD	(2<<21)
+#define S3C_DMACONTROL_SRC_WIDTH_BYTE	(0<<18)
+#define S3C_DMACONTROL_SRC_WIDTH_HWORD	(1<<18)
+#define S3C_DMACONTROL_SRC_WIDTH_WORD	(2<<18)
+
+#define S3C_DMACONTROL_DBSIZE_1		(0<<15)
+#define S3C_DMACONTROL_DBSIZE_4		(1<<15)
+#define S3C_DMACONTROL_DBSIZE_8		(2<<15)
+#define S3C_DMACONTROL_DBSIZE_16	(3<<15)
+#define S3C_DMACONTROL_DBSIZE_32	(4<<15)
+#define S3C_DMACONTROL_DBSIZE_64	(5<<15)
+#define S3C_DMACONTROL_DBSIZE_128	(6<<15)
+#define S3C_DMACONTROL_DBSIZE_256	(7<<15)
+
+#define S3C_DMACONTROL_SBSIZE_1		(0<<12)
+#define S3C_DMACONTROL_SBSIZE_4		(1<<12)
+#define S3C_DMACONTROL_SBSIZE_8		(2<<12)
+#define S3C_DMACONTROL_SBSIZE_16	(3<<12)
+#define S3C_DMACONTROL_SBSIZE_32	(4<<12)
+#define S3C_DMACONTROL_SBSIZE_64	(5<<12)
+#define S3C_DMACONTROL_SBSIZE_128	(6<<12)
+#define S3C_DMACONTROL_SBSIZE_256	(7<<12)
+
+
+/* Channel configuration register, DMACCxConfiguration */
+#define S3C_DMACONFIG_HALT		(1<<18) /*The contents of the channels FIFO are drained*/
+#define S3C_DMACONFIG_ACTIVE		(1<<17) /*Check channel fifo has data or not*/
+#define S3C_DMACONFIG_LOCK		(1<<16)
+#define S3C_DMACONFIG_TCMASK	 	(1<<15) /*Terminal count interrupt mask*/
+#define S3C_DMACONFIG_ERRORMASK	 	(1<<14) /*Interrup error mask*/
+#define S3C_DMACONFIG_FLOWCTRL_MEM2MEM	(0<<11)
+#define S3C_DMACONFIG_FLOWCTRL_MEM2PER	(1<<11)
+#define S3C_DMACONFIG_FLOWCTRL_PER2MEM	(2<<11)
+#define S3C_DMACONFIG_FLOWCTRL_PER2PER	(3<<11)
+#define S3C_DMACONFIG_ONENANDMODEDST	(1<<10)	/* Reserved: OneNandModeDst */
+#define S3C_DMACONFIG_DESTPERIPHERAL(x)	((x)<<6)
+#define S3C_DMACONFIG_ONENANDMODESRC	(1<<5)	/* Reserved: OneNandModeSrc */
+#define S3C_DMACONFIG_SRCPERIPHERAL(x)	((x)<<1)
+#define S3C_DMACONFIG_CHANNEL_ENABLE	(1<<0)
+
+#define S3C_DMA1			16
+
+#define S3C_DEST_SHIFT 			6
+#define S3C_SRC_SHIFT 			1
+
+
+/* #define S3C_DMAC_CSRCADDR(ch)   	S3C_DMAC_C##ch##SRCADDR */
+#define S3C_DMAC_CSRCADDR(ch)   	(S3C_DMAC_C0SRCADDR+ch*0x20)
+#define S3C_DMAC_CDESTADDR(ch)   	(S3C_DMAC_C0DESTADDR+ch*0x20)
+#define S3C_DMAC_CLLI(ch)   		(S3C_DMAC_C0LLI+ch*0x20)
+#define S3C_DMAC_CCONTROL0(ch)   	(S3C_DMAC_C0CONTROL0+ch*0x20)
+#define S3C_DMAC_CCONTROL1(ch)   	(S3C_DMAC_C0CONTROL1+ch*0x20)
+#define S3C_DMAC_CCONFIGURATION(ch)   	(S3C_DMAC_C0CONFIGURATION+ch*0x20)
+
+
+
+#endif //__ARM_MACH_DMA_PL080_H
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/mach/dma-pl330.h linux-2.6.28.6/arch/arm/plat-s3c/include/mach/dma-pl330.h
--- linux-2.6.28/arch/arm/plat-s3c/include/mach/dma-pl330.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/mach/dma-pl330.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,114 @@
+/* linux/arch/arm/plat-s3c/include/mach/dma-pl330.h
+ *
+ */
+
+#ifndef __ARM_MACH_DMA_PL330_H
+#define __ARM_MACH_DMA_PL330_H __FILE__
+
+#define DMACH_LOW_LEVEL			(1<<28)	/* use this to specifiy hardware ch no */
+
+
+/* flags */
+#define S3C2410_DMAF_SLOW         	(1<<0)   /* slow, so don't worry about */
+#define S3C2410_DMAF_AUTOSTART    	(1<<1)   /* auto-start if buffer queued */
+
+/*=================================================*/
+/*   DMA Register Definitions for PL330 DMAC       */
+
+#define S3C_DMAC_DS  			(0x00)
+#define S3C_DMAC_DPC   			(0x04)
+#define S3C_DMAC_INTEN  		(0x20)		/* R/W */
+#define S3C_DMAC_ES  			(0x24)
+#define S3C_DMAC_INTSTATUS	   	(0x28)
+#define S3C_DMAC_INTCLR			(0x2C)		/* W/O */
+#define S3C_DMAC_FSM		  	(0x30)
+#define S3C_DMAC_FSC		   	(0x34)
+#define S3C_DMAC_FTM		   	(0x38)
+
+#define S3C_DMAC_FTC0   		(0x40)
+#define S3C_DMAC_CS0  			(0x100)
+#define S3C_DMAC_CPC0   		(0x104)
+#define S3C_DMAC_SA_0   		(0x400)
+#define S3C_DMAC_DA_0  			(0x404)
+#define S3C_DMAC_CC_0   		(0x408)
+#define S3C_DMAC_LC0_0  		(0x40C)
+#define S3C_DMAC_LC1_0   		(0x410)
+
+#define S3C_DMAC_FTC(ch)   		(S3C_DMAC_FTC0+ch*0x4)
+#define S3C_DMAC_CS(ch)   		(S3C_DMAC_CS0+ch*0x8)
+#define S3C_DMAC_CPC(ch)   		(S3C_DMAC_CPC0+ch*0x8)
+#define S3C_DMAC_SA(ch)   		(S3C_DMAC_SA_0+ch*0x20)
+#define S3C_DMAC_DA(ch)   		(S3C_DMAC_DA_0+ch*0x20)
+#define S3C_DMAC_CC(ch)   		(S3C_DMAC_CC_0+ch*0x20)
+#define S3C_DMAC_LC0(ch)   		(S3C_DMAC_LC0_0+ch*0x20)
+#define S3C_DMAC_LC10(ch)   		(S3C_DMAC_LC1_0+ch*0x20)
+
+#define S3C_DMAC_DBGSTATUS 		(0xD00)
+#define S3C_DMAC_DBGCMD   		(0xD04)		/* W/O */
+#define S3C_DMAC_DBGINST0  		(0xD08)		/* W/O */
+#define S3C_DMAC_DBGINST1   		(0xD0C)		/* W/O */
+#define S3C_DMAC_CR0   			(0xE00)
+#define S3C_DMAC_CR1   			(0xE04)
+#define S3C_DMAC_CR2   			(0xE08)
+#define S3C_DMAC_CR3   			(0xE0C)
+#define S3C_DMAC_CR4   			(0xE10)
+#define S3C_DMAC_CRDn   		(0xE14)
+
+#define S3C_DMAC_PERI_ID  		(0xFE0)
+#define S3C_DMAC_PCELL_ID  		(0xFF0)
+
+/* S3C_DMAC_CS[3:0] - Channel status */
+#define S3C_DMAC_CS_STOPPED		0x0
+#define S3C_DMAC_CS_EXECUTING		0x1
+#define S3C_DMAC_CS_CACHE_MISS		0x2
+#define S3C_DMAC_CS_UPDATING_PC		0x3
+#define S3C_DMAC_CS_WAITING_FOR_EVENT	0x4
+#define S3C_DMAC_CS_AT_BARRIER		0x5
+#define S3C_DMAC_CS_QUEUE_BUSY		0x6
+#define S3C_DMAC_CS_WAITING_FOR_PERI	0x7
+#define S3C_DMAC_CS_KILLING		0x8
+#define S3C_DMAC_CS_COMPLETING		0x9
+#define S3C_DMAC_CS_FAULT_COMPLETING	0xE
+#define S3C_DMAC_CS_FAULTING		0xF
+
+
+
+/* S3C_DMAC_INTEN : Interrupt Enable Register */
+#define S3C_DMAC_INTEN_EVENT(x)		((x)<<0)
+#define S3C_DMAC_INTEN_IRQ(x)		((x)<<1)
+
+/* S3C_DMAC_INTCLR : Interrupt Clear Register */
+#define S3C_DMAC_INTCLR_IRQ(x)		((x)<<1)
+
+/* S3C DMA Channel control */
+/* Source control */
+#define S3C_DMACONTROL_SRC_INC		(1<<0)
+#define S3C_DMACONTROL_SRC_FIXED	(0<<0)
+#define S3C_DMACONTROL_SRC_WIDTH_BYTE	(0<<1)
+#define S3C_DMACONTROL_SRC_WIDTH_HWORD	(1<<1)
+#define S3C_DMACONTROL_SRC_WIDTH_WORD	(2<<1)
+#define S3C_DMACONTROL_SRC_WIDTH_DWORD	(3<<1)
+#define S3C_DMACONTROL_SBSIZE(x)	(((x-1)&0xF)<<4)
+#define S3C_DMACONTROL_SP_SECURE	(0<<8)
+#define S3C_DMACONTROL_SP_NON_SECURE	(2<<8)
+#define S3C_DMACONTROL_SCACHE		(0<<11)
+
+/* Destination control */
+#define S3C_DMACONTROL_DEST_INC		(1<<14)
+#define S3C_DMACONTROL_DEST_FIXED	(0<<14)
+#define S3C_DMACONTROL_DEST_WIDTH_BYTE	(0<<15)
+#define S3C_DMACONTROL_DEST_WIDTH_HWORD	(1<<15)
+#define S3C_DMACONTROL_DEST_WIDTH_WORD	(2<<15)
+#define S3C_DMACONTROL_DEST_WIDTH_DWORD	(3<<15)
+#define S3C_DMACONTROL_DBSIZE(x)	(((x-1)&0xF)<<18)
+#define S3C_DMACONTROL_DP_SECURE	(0<<22)
+#define S3C_DMACONTROL_DP_NON_SECURE	(2<<22)
+#define S3C_DMACONTROL_DCACHE		(0<<25)
+
+#define S3C_DMACONTROL_ES_SIZE_8	(0<<28)
+#define S3C_DMACONTROL_ES_SIZE_16	(1<<28)
+#define S3C_DMACONTROL_ES_SIZE_32	(2<<28)
+#define S3C_DMACONTROL_ES_SIZE_64	(3<<28)
+
+#endif /* __ARM_MACH_DMA_PL330_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/mach/io.h linux-2.6.28.6/arch/arm/plat-s3c/include/mach/io.h
--- linux-2.6.28/arch/arm/plat-s3c/include/mach/io.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/mach/io.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,18 @@
+/* linux/arch/arm/plat-s3c/include/mach/io.h
+ *
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben-linux@fluff.org>
+ *
+ * Default IO routines for plat-s3c based systems, such as S3C24A0
+ */
+
+#ifndef __ASM_ARM_ARCH_IO_H
+#define __ASM_ARM_ARCH_IO_H
+
+/* No current ISA/PCI bus support. */
+#define __io(a)		((void __iomem *)(a))
+#define __mem_pci(a)	(a)
+
+#define IO_SPACE_LIMIT (0xFFFFFFFF)
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/mach/s3c-dma.h linux-2.6.28.6/arch/arm/plat-s3c/include/mach/s3c-dma.h
--- linux-2.6.28/arch/arm/plat-s3c/include/mach/s3c-dma.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/mach/s3c-dma.h	2009-10-20 04:30:42.000000000 +0200
@@ -0,0 +1,372 @@
+/* linux/arch/arm/plat-s3c/include/mach/s3c-dma.h
+ *
+ */
+
+#ifndef __ARM_MACH_S3C_DMA_H
+#define __ARM_MACH_S3C_DMA_H
+
+#include <linux/sysdev.h>
+#include <mach/hardware.h>
+#include <asm/dma.h>
+
+#if defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410)
+#include <mach/dma-pl080.h>
+#elif defined(CONFIG_CPU_S5PC100) || defined(CONFIG_CPU_S5P6440)
+#include <mach/dma-pl330.h>
+#endif
+
+/* We use `virtual` dma channels to hide the fact we have only a limited
+ * number of DMA channels, and not of all of them (dependant on the device)
+ * can be attached to any DMA source. We therefore let the DMA core handle
+ * the allocation of hardware channels to clients.
+*/
+
+enum dma_ch {
+	DMACH_XD0,
+	DMACH_XD1,
+	DMACH_SDI,
+	DMACH_SPI0,
+	DMACH_SPI_TX,
+	DMACH_SPI_RX,
+	DMACH_SPI1,
+	DMACH_UART0,
+	DMACH_UART1,
+	DMACH_UART2,
+	DMACH_TIMER,
+	DMACH_I2S_IN,
+	DMACH_I2S_OUT,
+	DMACH_I2S_IN_1,		/* s3c2450 iis_1 rx */
+	DMACH_I2S_OUT_1,	/* s3c2450 iis_1 tx */
+	DMACH_I2S_V40_IN,
+	DMACH_I2S_V40_OUT,
+	DMACH_I2S_V50_OUT,
+	DMACH_I2S_V50_IN,
+	DMACH_PCM_IN,
+	DMACH_PCM_OUT,
+	DMACH_MIC_IN,
+	DMACH_USB_EP1,
+	DMACH_USB_EP2,
+	DMACH_USB_EP3,
+	DMACH_USB_EP4,
+	DMACH_UART0_SRC2,	/* s3c2412 second uart sources */
+	DMACH_UART1_SRC2,
+	DMACH_UART2_SRC2,
+	DMACH_UART3,		/* s3c2443 has extra uart */
+	DMACH_UART3_SRC2,
+	DMACH_I2S1_IN,		/* S3C6400 */
+	DMACH_I2S1_OUT,
+	DMACH_SPI0_IN,
+	DMACH_SPI0_OUT,
+	DMACH_SPI1_IN,
+	DMACH_SPI1_OUT,
+	DMACH_AC97_PCM_OUT,
+	DMACH_AC97_PCM_IN,
+	DMACH_AC97_MIC_IN,
+	DMACH_ONENAND_IN,
+	DMACH_3D_M2M,
+	DMACH_MAX,		/* the end entry */
+};
+
+/* types */
+
+enum s3c_dma_state {
+	S3C_DMA_IDLE,
+	S3C_DMA_RUNNING,
+	S3C_DMA_PAUSED
+};
+
+
+/* enum s3c_dma_loadst
+ *
+ * This represents the state of the DMA engine, wrt to the loaded / running
+ * transfers. Since we don't have any way of knowing exactly the state of
+ * the DMA transfers, we need to know the state to make decisions on wether
+ * we can
+ *
+ * S3C_DMA_NONE
+ *
+ * There are no buffers loaded (the channel should be inactive)
+ *
+ * S3C_DMA_1LOADED
+ *
+ * There is one buffer loaded, however it has not been confirmed to be
+ * loaded by the DMA engine. This may be because the channel is not
+ * yet running, or the DMA driver decided that it was too costly to
+ * sit and wait for it to happen.
+ *
+ * S3C_DMA_1RUNNING
+ *
+ * The buffer has been confirmed running, and not finisged
+ *
+ * S3C_DMA_1LOADED_1RUNNING
+ *
+ * There is a buffer waiting to be loaded by the DMA engine, and one
+ * currently running.
+*/
+
+enum s3c_dma_loadst {
+	S3C_DMALOAD_NONE,
+	S3C_DMALOAD_1LOADED,
+	S3C_DMALOAD_1RUNNING,
+	S3C_DMALOAD_1LOADED_1RUNNING,
+};
+
+enum s3c2410_dma_buffresult {
+	S3C2410_RES_OK,
+	S3C2410_RES_ERR,
+	S3C2410_RES_ABORT
+};
+
+enum s3c2410_dmasrc {
+	S3C2410_DMASRC_HW,		/* source is memory */
+	S3C2410_DMASRC_MEM,		/* source is hardware */
+	S3C_DMA_MEM2MEM,      		/* source is memory - READ/WRITE */
+	S3C_DMA_MEM2MEM_SET,      	/* source is memory - READ/WRITE for MEMSET*/
+	S3C_DMA_MEM2MEM_P,      	/* source is hardware - READ/WRITE */
+	S3C_DMA_PER2PER      		/* source is hardware - READ/WRITE */
+};
+
+/* enum s3c_chan_op
+ *
+ * operation codes passed to the DMA code by the user, and also used
+ * to inform the current channel owner of any changes to the system state
+*/
+
+enum s3c_chan_op {
+	S3C2410_DMAOP_START,
+	S3C2410_DMAOP_STOP,
+	S3C2410_DMAOP_PAUSE,
+	S3C2410_DMAOP_RESUME,
+	S3C2410_DMAOP_FLUSH,
+	S3C2410_DMAOP_TIMEOUT,		/* internal signal to handler */
+	S3C2410_DMAOP_STARTED,		/* indicate channel started */
+};
+
+/* dma buffer */
+
+struct s3c2410_dma_client {
+	char                *name;
+};
+
+/* s3c2410_dma_buf_s
+ *
+ * internally used buffer structure to describe a queued or running
+ * buffer.
+*/
+
+struct s3c_dma_buf;
+struct s3c_dma_buf {
+	struct s3c_dma_buf	*next;
+	int			 magic;		/* magic */
+	int			 size;		/* buffer size in bytes */
+	dma_addr_t		 data;		/* start of DMA data */
+	dma_addr_t		 ptr;		/* where the DMA got to [1] */
+	void			*id;		/* client's id */
+	dma_addr_t		mcptr;		/* physical pointer to a set of micro codes */
+	unsigned long 		*mcptr_cpu;	/* virtual pointer to a set of micro codes */
+};
+
+/* [1] is this updated for both recv/send modes? */
+
+struct s3c2410_dma_chan;
+
+/* s3c2410_dma_cbfn_t
+ *
+ * buffer callback routine type
+*/
+
+typedef void (*s3c2410_dma_cbfn_t)(struct s3c2410_dma_chan *,
+				   void *buf, int size,
+				   enum s3c2410_dma_buffresult result);
+
+typedef int  (*s3c2410_dma_opfn_t)(struct s3c2410_dma_chan *,
+				   enum s3c_chan_op );
+
+struct s3c_dma_stats {
+	unsigned long		loads;
+	unsigned long		timeout_longest;
+	unsigned long		timeout_shortest;
+	unsigned long		timeout_avg;
+	unsigned long		timeout_failed;
+};
+
+struct s3c2410_dma_map;
+
+/* struct s3c2410_dma_chan
+ *
+ * full state information for each DMA channel
+*/
+
+/*========================== S3C DMA ===========================================*/
+typedef struct s3c_dma_controller s3c_dma_controller_t;
+struct s3c_dma_controller {
+	/* channel state flags and information */
+	unsigned char          number;      /* number of this dma channel */
+	unsigned char          in_use;      /* channel allocated and how many channel are used */
+	unsigned char          irq_claimed; /* irq claimed for channel */
+	unsigned char          irq_enabled; /* irq enabled for channel */
+	unsigned char          xfer_unit;   /* size of an transfer */
+
+	/* channel state */
+
+	enum s3c_dma_state    state;
+	enum s3c_dma_loadst   load_state;
+	struct s3c2410_dma_client  *client;
+
+	/* channel configuration */
+	unsigned long          dev_addr;
+	unsigned long          load_timeout;
+	unsigned int           flags;        /* channel flags */
+
+	/* channel's hardware position and configuration */
+	void __iomem           *regs;        /* channels registers */
+	void __iomem           *addr_reg;    /* data address register */
+	unsigned int           irq;          /* channel irq */
+	unsigned long          dcon;         /* default value of DCON */
+
+};
+
+struct s3c2410_dma_chan {
+	/* channel state flags and information */
+	unsigned char		 number;      /* number of this dma channel */
+	unsigned char		 in_use;      /* channel allocated */
+	unsigned char		 irq_claimed; /* irq claimed for channel */
+	unsigned char		 irq_enabled; /* irq enabled for channel */
+	unsigned char		 xfer_unit;   /* size of an transfer */
+
+	/* channel state */
+
+	enum s3c_dma_state	 state;
+	enum s3c_dma_loadst	 load_state;
+	struct s3c2410_dma_client *client;
+
+	/* channel configuration */
+	enum s3c2410_dmasrc	 source;
+	unsigned long		 dev_addr;
+	unsigned long		 load_timeout;
+	unsigned int		 flags;		/* channel flags */
+
+	struct s3c_dma_map	*map;		/* channel hw maps */
+
+	/* channel's hardware position and configuration */
+	void __iomem		*regs;		/* channels registers */
+	void __iomem		*addr_reg;	/* data address register */
+	unsigned int		 irq;		/* channel irq */
+	unsigned long		 dcon;		/* default value of DCON */
+
+	/* driver handles */
+	s3c2410_dma_cbfn_t	 callback_fn;	/* buffer done callback */
+	s3c2410_dma_opfn_t	 op_fn;		/* channel op callback */
+
+	/* stats gathering */
+	struct s3c_dma_stats *stats;
+	struct s3c_dma_stats  stats_store;
+
+	/* buffer list and information */
+	struct s3c_dma_buf	*curr;		/* current dma buffer */
+	struct s3c_dma_buf	*next;		/* next buffer to load */
+	struct s3c_dma_buf	*end;		/* end of queue */
+
+	/* system device */
+	struct sys_device	dev;
+
+	unsigned int            index;        	/* channel index */
+	unsigned int            config_flags;        /* channel flags */
+	unsigned int            control_flags;        /* channel flags */
+	s3c_dma_controller_t	*dma_con;
+};
+
+/* the currently allocated channel information */
+extern struct s3c2410_dma_chan s3c2410_chans[];
+
+/* note, we don't really use dma_device_t at the moment */
+typedef unsigned long dma_device_t;
+
+struct s3c_sg_list {
+	unsigned long	uSrcAddr;
+	unsigned long	uDstAddr;
+	unsigned long	uNextLLI;
+	unsigned long	uCxControl0;
+	unsigned long	uCxControl1;
+};
+
+/* functions --------------------------------------------------------------- */
+
+/* s3c2410_dma_request
+ *
+ * request a dma channel exclusivley
+*/
+
+extern int s3c2410_dma_request(dmach_t channel,
+			       struct s3c2410_dma_client *, void *dev);
+
+
+/* s3c2410_dma_ctrl
+ *
+ * change the state of the dma channel
+*/
+
+extern int s3c2410_dma_ctrl(dmach_t channel, enum s3c_chan_op op);
+
+
+/* s3c2410_dma_setflags
+ *
+ * set the channel's flags to a given state
+*/
+
+extern int s3c2410_dma_setflags(dmach_t channel,
+				unsigned int flags);
+
+
+/* s3c2410_dma_free
+ *
+ * free the dma channel (will also abort any outstanding operations)
+*/
+
+extern int s3c2410_dma_free(dmach_t channel, struct s3c2410_dma_client *);
+
+
+/* s3c2410_dma_enqueue
+ *
+ * place the given buffer onto the queue of operations for the channel.
+ * The buffer must be allocated from dma coherent memory, or the Dcache/WB
+ * drained before the buffer is given to the DMA system.
+*/
+
+extern int s3c2410_dma_enqueue(dmach_t channel, void *id,
+			       dma_addr_t data, int size);
+
+extern int s3c2410_dma_enqueue_sg(dmach_t channel, void *id,
+			       dma_addr_t data, int size, struct s3c_sg_list *sg_list);
+
+/* s3c2410_dma_config
+ *
+ * configure the dma channel
+*/
+
+extern int s3c2410_dma_config(dmach_t channel, int xferunit, int dcon);
+
+/* s3c2410_dma_devconfig
+ *
+ * configure the device we're talking to
+*/
+
+extern int s3c2410_dma_devconfig(int channel, enum s3c2410_dmasrc source,
+				 int hwcfg, unsigned long devaddr);
+
+/* s3c2410_dma_getposition
+ *
+ * get the position that the dma transfer is currently at
+*/
+
+extern int s3c2410_dma_getposition(dmach_t channel,
+				   dma_addr_t *src, dma_addr_t *dest);
+
+
+extern int s3c2410_dma_set_opfn(dmach_t, s3c2410_dma_opfn_t rtn);
+extern int s3c2410_dma_set_buffdone_fn(dmach_t, s3c2410_dma_cbfn_t rtn);
+
+
+
+
+#endif //__ARM_MACH_S3C_DMA_H
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/mach/timex.h linux-2.6.28.6/arch/arm/plat-s3c/include/mach/timex.h
--- linux-2.6.28/arch/arm/plat-s3c/include/mach/timex.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/mach/timex.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,26 @@
+/* linux/arch/arm/plat-s3c/include/mach/timex.h
+ *
+ * Copyright (c) 2003-2005 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C2410 - time parameters
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_TIMEX_H
+#define __ASM_ARCH_TIMEX_H
+
+/* CLOCK_TICK_RATE needs to be evaluatable by the cpp, so making it
+ * a variable is useless. It seems as long as we make our timers an
+ * exact multiple of HZ, any value that makes a 1->1 correspondence
+ * for the time conversion functions to/from jiffies is acceptable.
+*/
+
+
+#define CLOCK_TICK_RATE 12000000
+
+
+#endif /* __ASM_ARCH_TIMEX_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/mach/vmalloc.h linux-2.6.28.6/arch/arm/plat-s3c/include/mach/vmalloc.h
--- linux-2.6.28/arch/arm/plat-s3c/include/mach/vmalloc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/mach/vmalloc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,20 @@
+/* linux/arch/arm/plat-s3c/include/mach/vmalloc.h
+ *
+ * from arch/arm/mach-iop3xx/include/mach/vmalloc.h
+ *
+ * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk>
+ *		      http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C2410 vmalloc definition
+*/
+
+#ifndef __ASM_ARCH_VMALLOC_H
+#define __ASM_ARCH_VMALLOC_H
+
+#define VMALLOC_END	  (0xE0000000)
+
+#endif /* __ASM_ARCH_VMALLOC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/adc.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/adc.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/adc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/adc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,37 @@
+/* arch/arm/plat-s3c/include/plat/adc.h
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_ADC_H
+#define __ASM_ARCH_ADC_H __FILE__
+
+
+struct s3c_adc_request
+{
+	/* for linked list */
+	struct list_head *list;
+	/* after finish ADC sampling, s3c_adc_request function call this function with three parameter */
+	void (*callback)( int channel, unsigned long int param, unsigned short sample);
+	/* for private data */
+	unsigned long int param;
+	/* selected channel for ADC sampling */
+	int channel;
+};
+
+struct s3c_adc_mach_info
+{
+	/* if you need to use some platform data, add in here*/
+	int delay;
+	int presc;
+	int resolution;
+};
+
+void __init s3c_adc_set_platdata(struct s3c_adc_mach_info *pd);
+
+#endif /* __ASM_ARCH_ADC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/clock.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/clock.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/clock.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/clock.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,112 @@
+/* linux/arch/arm/plat-s3c/include/plat/clock.h
+ *
+ * Copyright (c) 2004-2005 Simtec Electronics
+ *	http://www.simtec.co.uk/products/SWLINUX/
+ *	Written by Ben Dooks, <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/spinlock.h>
+
+struct clk {
+	struct list_head      list;
+	struct module        *owner;
+	struct clk           *parent;
+	const char           *name;
+	int		      id;
+	int		      usage;
+	unsigned long         rate;
+	unsigned long         ctrlbit;
+
+	int		    (*enable)(struct clk *, int enable);
+	int		    (*set_rate)(struct clk *c, unsigned long rate);
+	unsigned long	    (*get_rate)(struct clk *c);
+	unsigned long	    (*round_rate)(struct clk *c, unsigned long rate);
+	int		    (*set_parent)(struct clk *c, struct clk *parent);
+};
+
+/* other clocks which may be registered by board support */
+
+extern struct clk s3c24xx_dclk0;
+extern struct clk s3c24xx_dclk1;
+extern struct clk s3c24xx_clkout0;
+extern struct clk s3c24xx_clkout1;
+extern struct clk s3c24xx_uclk;
+
+extern struct clk clk_usb_bus;
+
+/* core clock support */
+
+extern struct clk clk_f;
+extern struct clk clk_h;
+extern struct clk clk_p;
+extern struct clk clk_mpll;
+extern struct clk clk_upll;
+extern struct clk clk_epll;
+extern struct clk clk_xtal;
+extern struct clk clk_ext;
+
+#ifdef CONFIG_CPU_S3C6410
+extern struct clk clk_hx2;
+#endif
+
+#ifdef CONFIG_CPU_S5P6440
+extern struct clk clk_h_low;
+extern struct clk clk_p_low;
+#endif
+
+#ifdef CONFIG_CPU_S5PC100
+extern struct clk clk_hpll;
+extern struct clk clk_hd0;
+extern struct clk clk_pd0;
+extern struct clk clk_54m;
+extern struct clk clk_dout_mpll2;
+#endif
+
+/* S3C64XX specific clocks */
+extern struct clk clk_27m;
+extern struct clk clk_48m;
+
+/* exports for arch/arm/mach-s3c2410
+ *
+ * Please DO NOT use these outside of arch/arm/mach-s3c2410
+*/
+
+extern spinlock_t clocks_lock;
+
+extern int s3c2410_clkcon_enable(struct clk *clk, int enable);
+
+extern int s3c24xx_register_clock(struct clk *clk);
+extern int s3c24xx_register_clocks(struct clk **clk, int nr_clks);
+
+extern int s3c24xx_register_baseclocks(unsigned long xtal);
+
+extern void s3c64xx_register_clocks(void);
+extern void s5p64xx_register_clocks(void);
+
+extern void s3c24xx_setup_clocks(unsigned long fclk,
+				 unsigned long hclk,
+				 unsigned long pclk);
+
+extern void s3c2410_setup_clocks(void);
+extern void s3c2412_setup_clocks(void);
+extern void s3c244x_setup_clocks(void);
+extern void s3c2443_setup_clocks(void);
+
+/* S3C64XX specific functions and clocks */
+
+extern int s3c64xx_sclk_ctrl(struct clk *clk, int enable);
+extern int s5p64xx_sclk_ctrl(struct clk *clk, int enable);
+
+#ifdef CONFIG_CPU_S5PC100
+extern void s5pc1xx_register_clocks(void);
+extern int s5pc1xx_sclk0_ctrl(struct clk *clk, int enable);
+extern int s5pc1xx_sclk1_ctrl(struct clk *clk, int enable);
+#endif
+
+#if defined(CONFIG_HAVE_PWM) || defined(CONFIG_TIMER_PWM)
+extern int s3c24xx_pwmclk_init(void);
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/cpu-freq.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/cpu-freq.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/cpu-freq.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/cpu-freq.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,94 @@
+/* arch/arm/plat-s3c/include/plat/cpu-freq.h
+ *
+ * Copyright (c) 2006,2007 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C CPU frequency scaling support - driver and board
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/cpufreq.h>
+
+struct s3c_cpufreq_info;
+struct s3c_cpufreq_board;
+struct s3c_iotimings;
+
+struct s3c_freq {
+	unsigned long	fclk;
+	unsigned long	armclk;
+	unsigned long	hclk_tns;	/* in 10ths of ns */
+	unsigned long	hclk;
+	unsigned long	pclk;
+};
+
+/* wrapper 'struct cpufreq_freqs' so that any drivers receiving the
+ * notification can use this information that is not provided by just
+ * having the core frequency alone.
+ */
+
+struct s3c_cpufreq_freqs {
+	struct cpufreq_freqs	freqs;
+	struct s3c_freq		old;
+	struct s3c_freq		new;
+};
+
+#define to_s3c_cpufreq(_cf) container_of(_cf, struct s3c_cpufreq_freqs, freqs)
+
+struct s3c_clkdivs {
+	int		p_divisor;	/* fclk / pclk */
+	int		h_divisor;	/* fclk / hclk */
+	int		arm_divisor;	/* not all cpus have this. */
+	unsigned char	dvs;		/* using dvs mode to arm. */
+};
+
+#define PLLVAL(_m, _p, _s) (((_m) << 12) | ((_p) << 4) | (_s))
+
+struct s3c_pllval {
+	unsigned long		freq;
+	unsigned long		pll_reg;
+};
+
+struct s3c_cpufreq_config {
+	struct s3c_freq		freq;
+	struct s3c_pllval	pll;
+	struct s3c_clkdivs	divs;
+	struct s3c_cpufreq_info *info;	/* for core, not drivers */
+	struct s3c_cpufreq_board *board;
+};
+
+/* s3c_cpufreq_board
+ *
+ * per-board configuraton information, such as memory refresh and
+ * how to initialise IO timings.
+ */
+struct s3c_cpufreq_board {
+	unsigned int	refresh;	/* refresh period in ns */
+	unsigned int	auto_io:1;	/* automatically init io timings. */
+	unsigned int	need_io:1;	/* set if needs io timing support. */
+
+	/* any non-zero field in here is taken as an upper limit. */
+	struct s3c_freq	max;	/* frequency limits */
+};
+
+/* Things depending on frequency scaling. */
+#ifdef CONFIG_CPU_FREQ_S3C
+#define __init_or_cpufreq
+#else
+#define __init_or_cpufreq __init
+#endif
+
+/* Board functions */
+
+#ifdef CONFIG_CPU_FREQ_S3C
+extern int s3c_cpufreq_setboard(struct s3c_cpufreq_board *board);
+#else
+
+static inline int s3c_cpufreq_setboard(struct s3c_cpufreq_board *board)
+{
+	return 0;
+}
+#endif  /* CONFIG_CPU_FREQ_S3C */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/cpu.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/cpu.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/cpu.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/cpu.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,89 @@
+/* linux/arch/arm/plat-s3c/include/plat/cpu.h
+ *
+ * Copyright (c) 2004-2005 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * Header file for S3C24XX CPU support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* todo - fix when rmk changes iodescs to use `void __iomem *` */
+
+#if defined (CONFIG_ARCH_S3C2410)
+#define IODESC_ENT(x) { (unsigned long)S3C24XX_VA_##x, __phys_to_pfn(S3C24XX_PA_##x), S3C24XX_SZ_##x, MT_DEVICE }
+#elif defined(CONFIG_ARCH_S3C64XX)
+#define IODESC_ENT(x) { (unsigned long)S3C64XX_VA_##x, __phys_to_pfn(S3C64XX_PA_##x), S3C64XX_SZ_##x, MT_DEVICE }
+#elif defined(CONFIG_ARCH_S5P64XX)
+#define IODESC_ENT(x) { (unsigned long)S5P64XX_VA_##x, __phys_to_pfn(S5P64XX_PA_##x), S5P64XX_SZ_##x, MT_DEVICE }
+#elif defined(CONFIG_ARCH_S5PC1XX)
+#define IODESC_ENT(x) { (unsigned long)S5PC1XX_VA_##x, __phys_to_pfn(S5PC1XX_PA_##x), S5PC1XX_SZ_##x, MT_DEVICE }
+#else
+#error IODESC_ENT(x) macro should be defined!
+#endif
+
+#ifndef MHZ
+#define MHZ (1000*1000)
+#endif
+
+#define print_mhz(m) ((m) / MHZ), (((m) / 1000) % 1000)
+
+/* forward declaration */
+struct s3c24xx_uart_resources;
+struct platform_device;
+struct s3c2410_uartcfg;
+struct map_desc;
+
+/* per-cpu initialisation function table. */
+
+struct cpu_table {
+	unsigned long	idcode;
+	unsigned long	idmask;
+	void		(*map_io)(void);
+	void		(*init_uarts)(struct s3c2410_uartcfg *cfg, int no);
+	void		(*init_clocks)(int xtal);
+	int		(*init)(void);
+	const char	*name;
+};
+
+extern void s3c_init_cpu(unsigned long idcode,
+			 struct cpu_table *cpus, unsigned int cputab_size);
+
+/* core initialisation functions */
+
+extern void s3c24xx_init_irq(void);
+extern void s3c64xx_init_irq(u32 vic0, u32 vic1);
+extern void s5p64xx_init_irq(u32 vic0, u32 vic1);
+extern void s5pc1xx_init_irq(u32 vic0, u32 vic1, u32 vic2);
+
+extern void s3c24xx_init_io(struct map_desc *mach_desc, int size);
+extern void s3c64xx_init_io(struct map_desc *mach_desc, int size);
+extern void s5p64xx_init_io(struct map_desc *mach_desc, int size);
+extern void s5pc1xx_init_io(struct map_desc *mach_desc, int size);
+
+extern void s3c24xx_init_uarts(struct s3c2410_uartcfg *cfg, int no);
+
+extern void s3c24xx_init_clocks(int xtal);
+
+extern void s3c24xx_init_uartdevs(char *name,
+				  struct s3c24xx_uart_resources *res,
+				  struct s3c2410_uartcfg *cfg, int no);
+
+/* timer for 2410/2440 */
+
+struct sys_timer;
+extern struct sys_timer s3c24xx_timer;
+extern struct sys_timer s3c64xx_timer;
+/* system device classes */
+
+extern struct sysdev_class s3c2410_sysclass;
+extern struct sysdev_class s3c2412_sysclass;
+extern struct sysdev_class s3c2440_sysclass;
+extern struct sysdev_class s3c2442_sysclass;
+extern struct sysdev_class s3c2443_sysclass;
+
+extern struct sysdev_class s3c6410_sysclass;
+extern struct sysdev_class s5p6440_sysclass;
+extern struct sysdev_class s5pc100_sysclass;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/debug-macro.S linux-2.6.28.6/arch/arm/plat-s3c/include/plat/debug-macro.S
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/debug-macro.S	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/debug-macro.S	2009-04-30 09:36:37.000000000 +0200
@@ -1,4 +1,4 @@
-/* linux/include/asm-arm/plat-s3c/debug-macro.S
+/* linux/arch/arm/plat-s3c/include/plat/debug-macro.S
  *
  * Copyright 2005, 2007 Simtec Electronics
  *	http://armlinux.simtec.co.uk/
@@ -20,7 +20,7 @@
 	.endm
 
 #ifndef fifo_level
-#define fifo_level fifo_level_s3c2410
+#define fifo_level fifo_level_s3c2440
 #endif
 
 	.macro  fifo_full_s3c2440 rd, rx
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/devs.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/devs.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/devs.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/devs.h	2010-04-07 07:46:30.000000000 +0200
@@ -0,0 +1,81 @@
+/* linux/arch/arm/plat-s3c/include/plat/devs.h
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ * Ben Dooks <ben@simtec.co.uk>
+ *
+ * Header file for s3c2410 standard platform devices
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+#include <linux/platform_device.h>
+
+struct s3c24xx_uart_resources {
+	struct resource		*resources;
+	unsigned long		 nr_resources;
+};
+
+extern struct s3c24xx_uart_resources s3c2410_uart_resources[];
+extern struct s3c24xx_uart_resources s3c64xx_uart_resources[];
+extern struct s3c24xx_uart_resources s5p64xx_uart_resources[];
+extern struct s3c24xx_uart_resources s5pc1xx_uart_resources[];
+
+extern struct platform_device *s3c24xx_uart_devs[];
+extern struct platform_device *s3c24xx_uart_src[];
+
+extern struct platform_device s3c_device_timer[];
+
+extern struct platform_device s3c_device_usb;
+extern struct platform_device s3c_device_lcd;
+extern struct platform_device s3c_device_g2d;
+extern struct platform_device s3c_device_g3d;
+extern struct platform_device s3c_device_vpp;
+extern struct platform_device s3c_device_tvenc;
+extern struct platform_device s3c_device_tvscaler;
+extern struct platform_device s3c_device_rotator;
+extern struct platform_device s3c_device_jpeg;
+extern struct platform_device s3c_device_wdt;
+extern struct platform_device s3c_device_i2c0;
+extern struct platform_device s3c_device_i2c1;
+extern struct platform_device s3c_device_iis;
+extern struct platform_device s3c_device_rtc;
+extern struct platform_device s3c_device_adc;
+extern struct platform_device s3c_device_sdi;
+extern struct platform_device s3c_device_hsmmc0;
+extern struct platform_device s3c_device_hsmmc1;
+extern struct platform_device s3c_device_hsmmc2;
+
+extern struct platform_device s3c_device_spi0;
+extern struct platform_device s3c_device_spi1;
+
+extern struct platform_device s3c_device_nand;
+extern struct platform_device s3c_device_onenand;
+
+extern struct platform_device s3c_device_usbgadget;
+extern struct platform_device s3c_device_usb_otghcd;
+extern struct platform_device s3c_device_keypad;
+extern struct platform_device s3c_device_ts;
+extern struct platform_device s3c_device_g3d;
+
+extern struct platform_device s3c_device_dm9000;
+
+extern struct platform_device s3c_device_fimc0;
+extern struct platform_device s3c_device_fimc1;
+
+extern struct platform_device s3c_device_mfc;
+extern struct platform_device s3c_device_ac97;
+
+extern struct platform_device s3c_device_fimc0;
+extern struct platform_device s3c_device_fimc1;
+extern struct platform_device s3c_device_fimc2;
+
+extern struct platform_device s3c_device_csis;
+
+/* s3c2440 specific devices */
+
+#ifdef CONFIG_CPU_S3C2440
+
+extern struct platform_device s3c_device_camif;
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/gpio-cfg-helpers.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,194 @@
+/* linux/arch/arm/plat-s3c/include/plat/gpio-cfg-helper.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C Platform - GPIO pin configuration helper definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* This is meant for core cpu support, machine or other driver files
+ * should not be including this header.
+ */
+
+#ifndef __PLAT_GPIO_CFG_HELPERS_H
+#define __PLAT_GPIO_CFG_HELPERS_H __FILE__
+
+/* As a note, all gpio configuration functions are entered exclusively, either
+ * with the relevant lock held or the system prevented from doing anything else
+ * by disabling interrupts.
+*/
+
+static inline int s3c_gpio_do_setcfg(struct s3c_gpio_chip *chip,
+				     unsigned int off, unsigned int config)
+{
+	return (chip->config->set_config)(chip, off, config);
+}
+
+static inline int s3c_gpio_do_setpull(struct s3c_gpio_chip *chip,
+				      unsigned int off, s3c_gpio_pull_t pull)
+{
+	return (chip->config->set_pull)(chip, off, pull);
+}
+
+/**
+ * s3c_gpio_setcfg_s3c24xx - S3C24XX style GPIO configuration.
+ * @chip: The gpio chip that is being configured.
+ * @off: The offset for the GPIO being configured.
+ * @cfg: The configuration value to set.
+ *
+ * This helper deal with the GPIO cases where the control register
+ * has two bits of configuration per gpio, which have the following
+ * functions:
+ *	00 = input
+ *	01 = output
+ *	1x = special function
+*/
+extern int s3c_gpio_setcfg_s3c24xx(struct s3c_gpio_chip *chip,
+				   unsigned int off, unsigned int cfg);
+
+/**
+ * s3c_gpio_setcfg_s3c24xx_a - S3C24XX style GPIO configuration (Bank A)
+ * @chip: The gpio chip that is being configured.
+ * @off: The offset for the GPIO being configured.
+ * @cfg: The configuration value to set.
+ *
+ * This helper deal with the GPIO cases where the control register
+ * has one bit of configuration for the gpio, where setting the bit
+ * means the pin is in special function mode and unset means output.
+*/
+extern int s3c_gpio_setcfg_s3c24xx_a(struct s3c_gpio_chip *chip,
+				     unsigned int off, unsigned int cfg);
+
+/**
+ * s3c_gpio_setcfg_s3c64xx_4bit - S3C64XX 4bit single register GPIO config.
+ * @chip: The gpio chip that is being configured.
+ * @off: The offset for the GPIO being configured.
+ * @cfg: The configuration value to set.
+ *
+ * This helper deal with the GPIO cases where the control register has 4 bits
+ * of control per GPIO, generally in the form of:
+ *	0000 = Input
+ *	0001 = Output
+ *	others = Special functions (dependant on bank)
+ *
+ * Note, since the code to deal with the case where there are two control
+ * registers instead of one, we do not have a seperate set of functions for
+ * each case.
+*/
+extern int s3c_gpio_setcfg_s3c64xx_4bit(struct s3c_gpio_chip *chip,
+					unsigned int off, unsigned int cfg);
+
+/**
+ * s3c_gpio_setcfg_s5pc1xx - S5PC1XX 4bit single register GPIO config.
+ * @chip: The gpio chip that is being configured.
+ * @off: The offset for the GPIO being configured.
+ * @cfg: The configuration value to set.
+ *
+ * This helper deal with the GPIO cases where the control register has 4 bits
+ * of control per GPIO, generally in the form of:
+ *	0000 = Input
+ *	0001 = Output
+ *	others = Special functions (dependant on bank)
+ *
+ * Note, since the code to deal with the case where there are two control
+ * registers instead of one, we do not have a seperate set of functions for
+ * each case.
+*/
+extern int s3c_gpio_setcfg_s5pc1xx(struct s3c_gpio_chip *chip,
+					unsigned int off, unsigned int cfg);
+
+/* Pull-{up,down} resistor controls.
+ *
+ * S3C2410,S3C2440,S3C24A0 = Pull-UP,
+ * S3C2412,S3C2413 = Pull-Down
+ * S3C6400,S3C6410 = Pull-Both [None,Down,Up,Undef]
+ * S3C2443 = Pull-Both [not same as S3C6400]
+ */
+
+/**
+ * s3c_gpio_setpull_1up() - Pull configuration for choice of up or none.
+ * @chip: The gpio chip that is being configured.
+ * @off: The offset for the GPIO being configured.
+ * @param: pull: The pull mode being requested.
+ *
+ * This is a helper function for the case where we have GPIOs with one
+ * bit configuring the presence of a pull-up resistor.
+ */
+extern int s3c_gpio_setpull_1up(struct s3c_gpio_chip *chip,
+				unsigned int off, s3c_gpio_pull_t pull);
+
+/**
+ * s3c_gpio_setpull_1down() - Pull configuration for choice of down or none
+ * @chip: The gpio chip that is being configured
+ * @off: The offset for the GPIO being configured
+ * @param: pull: The pull mode being requested
+ *
+ * This is a helper function for the case where we have GPIOs with one
+ * bit configuring the presence of a pull-down resistor.
+ */
+extern int s3c_gpio_setpull_1down(struct s3c_gpio_chip *chip,
+				  unsigned int off, s3c_gpio_pull_t pull);
+
+/**
+ * s3c_gpio_setpull_upown() - Pull configuration for choice of up, down or none
+ * @chip: The gpio chip that is being configured.
+ * @off: The offset for the GPIO being configured.
+ * @param: pull: The pull mode being requested.
+ *
+ * This is a helper function for the case where we have GPIOs with two
+ * bits configuring the presence of a pull resistor, in the following
+ * order:
+ *	00 = No pull resistor connected
+ *	01 = Pull-up resistor connected
+ *	10 = Pull-down resistor connected
+ */
+extern int s3c_gpio_setpull_updown(struct s3c_gpio_chip *chip,
+				   unsigned int off, s3c_gpio_pull_t pull);
+
+
+/**
+ * s3c_gpio_getpull_updown() - Get configuration for choice of up, down or none
+ * @chip: The gpio chip that the GPIO pin belongs to
+ * @off: The offset to the pin to get the configuration of.
+ *
+ * This helper function reads the state of the pull-{up,down} resistor for the
+ * given GPIO in the same case as s3c_gpio_setpull_upown.
+*/
+extern s3c_gpio_pull_t s3c_gpio_getpull_updown(struct s3c_gpio_chip *chip,
+					       unsigned int off);
+
+/**
+ * s3c_gpio_setpull_s3c2443() - Pull configuration for s3c2443.
+ * @chip: The gpio chip that is being configured.
+ * @off: The offset for the GPIO being configured.
+ * @param: pull: The pull mode being requested.
+ *
+ * This is a helper function for the case where we have GPIOs with two
+ * bits configuring the presence of a pull resistor, in the following
+ * order:
+ *	00 = Pull-up resistor connected
+ *	10 = Pull-down resistor connected
+ *	x1 = No pull up resistor
+ */
+extern int s3c_gpio_setpull_s3c2443(struct s3c_gpio_chip *chip,
+				    unsigned int off, s3c_gpio_pull_t pull);
+
+/**
+ * s3c_gpio_getpull_s3c2443() - Get configuration for s3c2443 pull resistors
+ * @chip: The gpio chip that the GPIO pin belongs to.
+ * @off: The offset to the pin to get the configuration of.
+ *
+ * This helper function reads the state of the pull-{up,down} resistor for the
+ * given GPIO in the same case as s3c_gpio_setpull_upown.
+*/
+extern s3c_gpio_pull_t s3c_gpio_getpull_s3c24xx(struct s3c_gpio_chip *chip,
+						unsigned int off);
+
+#endif /* __PLAT_GPIO_CFG_HELPERS_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/gpio-cfg.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/gpio-cfg.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/gpio-cfg.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/gpio-cfg.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,110 @@
+/* linux/arch/arm/plat-s3c/include/plat/gpio-cfg.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C Platform - GPIO pin configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* This file contains the necessary definitions to get the basic gpio
+ * pin configuration done such as setting a pin to input or output or
+ * changing the pull-{up,down} configurations.
+ */
+
+/* Note, this interface is being added to the s3c64xx arch first and will
+ * be added to the s3c24xx systems later.
+ */
+
+#ifndef __PLAT_GPIO_CFG_H
+#define __PLAT_GPIO_CFG_H __FILE__
+
+typedef unsigned int __bitwise__ s3c_gpio_pull_t;
+
+/* forward declaration if gpio-core.h hasn't been included */
+struct s3c_gpio_chip;
+
+/**
+ * struct s3c_gpio_cfg GPIO configuration
+ * @cfg_eint: Configuration setting when used for external interrupt source
+ * @get_pull: Read the current pull configuration for the GPIO
+ * @set_pull: Set the current pull configuraiton for the GPIO
+ * @set_config: Set the current configuration for the GPIO
+ * @get_config: Read the current configuration for the GPIO
+ *
+ * Each chip can have more than one type of GPIO bank available and some
+ * have different capabilites even when they have the same control register
+ * layouts. Provide an point to vector control routine and provide any
+ * per-bank configuration information that other systems such as the
+ * external interrupt code will need.
+ */
+struct s3c_gpio_cfg {
+	unsigned int	cfg_eint;
+
+	s3c_gpio_pull_t	(*get_pull)(struct s3c_gpio_chip *chip, unsigned offs);
+	int		(*set_pull)(struct s3c_gpio_chip *chip, unsigned offs,
+				    s3c_gpio_pull_t pull);
+
+	unsigned (*get_config)(struct s3c_gpio_chip *chip, unsigned offs);
+	int	 (*set_config)(struct s3c_gpio_chip *chip, unsigned offs,
+			       unsigned config);
+};
+
+#define S3C_GPIO_SPECIAL_MARK	(0xfffffff0)
+#define S3C_GPIO_SPECIAL(x)	(S3C_GPIO_SPECIAL_MARK | (x))
+
+/* Defines for generic pin configurations */
+#define S3C_GPIO_INPUT	(S3C_GPIO_SPECIAL(0))
+#define S3C_GPIO_OUTPUT	(S3C_GPIO_SPECIAL(1))
+#define S3C_GPIO_SFN(x)	(S3C_GPIO_SPECIAL(x))
+
+#define s3c_gpio_is_cfg_special(_cfg) \
+	(((_cfg) & S3C_GPIO_SPECIAL_MARK) == S3C_GPIO_SPECIAL_MARK)
+
+/**
+ * s3c_gpio_cfgpin() - Change the GPIO function of a pin.
+ * @pin pin The pin number to configure.
+ * @pin to The configuration for the pin's function.
+ *
+ * Configure which function is actually connected to the external
+ * pin, such as an gpio input, output or some form of special function
+ * connected to an internal peripheral block.
+ */
+extern int s3c_gpio_cfgpin(unsigned int pin, unsigned int to);
+
+/* Define values for the pull-{up,down} available for each gpio pin.
+ *
+ * These values control the state of the weak pull-{up,down} resistors
+ * available on most pins on the S3C series. Not all chips support both
+ * up or down settings, and it may be dependant on the chip that is being
+ * used to whether the particular mode is available.
+ */
+#define S3C_GPIO_PULL_NONE	((__force s3c_gpio_pull_t)0x00)
+#define S3C_GPIO_PULL_DOWN	((__force s3c_gpio_pull_t)0x01)
+#define S3C_GPIO_PULL_UP	((__force s3c_gpio_pull_t)0x02)
+
+/**
+ * s3c_gpio_setpull() - set the state of a gpio pin pull resistor
+ * @pin: The pin number to configure the pull resistor.
+ * @pull: The configuration for the pull resistor.
+ *
+ * This function sets the state of the pull-{up,down} resistor for the
+ * specified pin. It will return 0 if successfull, or a negative error
+ * code if the pin cannot support the requested pull setting.
+*/
+extern int s3c_gpio_setpull(unsigned int pin, s3c_gpio_pull_t pull);
+
+/**
+ * s3c_gpio_getpull() - get the pull resistor state of a gpio pin
+ * @pin: The pin number to get the settings for
+ *
+ * Read the pull resistor value for the specified pin.
+*/
+extern s3c_gpio_pull_t s3c_gpio_getpull(unsigned int pin);
+
+#endif /* __PLAT_GPIO_CFG_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/gpio-core.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/gpio-core.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/gpio-core.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/gpio-core.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,77 @@
+/* linux/arch/arm/plat-s3c/include/plat/gpio-core.h
+ *
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C Platform - GPIO core
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* Define the core gpiolib support functions that the s3c platforms may
+ * need to extend or change depending on the hardware and the s3c chip
+ * selected at build or found at run time.
+ *
+ * These definitions are not intended for driver inclusion, there is
+ * nothing here that should not live outside the platform and core
+ * specific code.
+*/
+
+struct s3c_gpio_cfg;
+
+/**
+ * struct s3c_gpio_chip - wrapper for specific implementation of gpio
+ * @chip: The chip structure to be exported via gpiolib.
+ * @base: The base pointer to the gpio configuration registers.
+ * @config: special function and pull-resistor control information.
+ *
+ * This wrapper provides the necessary information for the Samsung
+ * specific gpios being registered with gpiolib.
+ */
+struct s3c_gpio_chip {
+	struct gpio_chip	chip;
+	struct s3c_gpio_cfg	*config;
+	void __iomem		*base;
+};
+
+static inline struct s3c_gpio_chip *to_s3c_gpio(struct gpio_chip *gpc)
+{
+	return container_of(gpc, struct s3c_gpio_chip, chip);
+}
+
+/** s3c_gpiolib_add() - add the s3c specific version of a gpio_chip.
+ * @chip: The chip to register
+ *
+ * This is a wrapper to gpiochip_add() that takes our specific gpio chip
+ * information and makes the necessary alterations for the platform and
+ * notes the information for use with the configuration systems and any
+ * other parts of the system.
+ */
+extern void s3c_gpiolib_add(struct s3c_gpio_chip *chip);
+
+/* CONFIG_S3C_GPIO_TRACK enables the tracking of the s3c specific gpios
+ * for use with the configuration calls, and other parts of the s3c gpiolib
+ * support code.
+ *
+ * Not all s3c support code will need this, as some configurations of cpu
+ * may only support one or two different configuration options and have an
+ * easy gpio to s3c_gpio_chip mapping function. If this is the case, then
+ * the machine support file should provide its own s3c_gpiolib_getchip()
+ * and any other necessary functions.
+ */
+
+#ifdef CONFIG_S3C_GPIO_TRACK
+extern struct s3c_gpio_chip *s3c_gpios[S3C_GPIO_END];
+
+static inline struct s3c_gpio_chip *s3c_gpiolib_getchip(unsigned int chip)
+{
+	return (chip < S3C_GPIO_END) ? s3c_gpios[chip] : NULL;
+}
+#else
+/* machine specific code should provide s3c_gpiolib_getchip */
+
+static inline void s3c_gpiolib_track(struct s3c_gpio_chip *chip) { }
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/hsmmc.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/hsmmc.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/hsmmc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/hsmmc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,47 @@
+#ifndef __ASM_S3C_HSMMC_H
+#define __ASM_S3C_HSMMC_H
+
+#ifndef __ASSEMBLY__
+
+#include <linux/mmc/card.h>
+#include <linux/mmc/host.h>
+
+#define NUM_OF_HSMMC_CLKSOURCES 	1
+
+#define	SPEED_NORMAL		0
+#define	SPEED_HIGH		1
+
+struct s3c_hsmmc_fd_cfg {
+	ulong ctrl2;
+	ulong ctrl3[2];		/* 0: low speed, 1: high speed */
+	ulong ctrl4;
+};
+
+struct s3c_hsmmc_clk_cfg {
+	char *name;
+	u32 src;
+};
+
+struct s3c_hsmmc_cfg {
+	u32 hwport;		/* hardware port number */
+	u32 enabled;		/* if port is used, set 1 */
+	u32 host_caps;		/* host capabilities */
+	u32 bus_width;		/* bus width */
+
+	void *base;		/* base address of host */
+	
+	u8 highspeed;		/* ENHIGHSPD bit configuration */
+		
+	/* feedback delay control configuration (0: mmc, 1: sd) */
+	struct s3c_hsmmc_fd_cfg fd_ctrl[2];
+
+	/* clock source control */	
+	struct s3c_hsmmc_clk_cfg clocks[NUM_OF_HSMMC_CLKSOURCES];
+};
+
+extern void hsmmc_set_gpio(uint channel, uint width);
+
+#endif /* __ASSEMBLY__ */
+
+#endif /* __ASM_S3C_HSMMC_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/iic-core.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/iic-core.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/iic-core.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/iic-core.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,35 @@
+/* linux/arch/arm/plat-s3c/include/plat/iic-core.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C - I2C Controller core functions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_IIC_CORE_H
+#define __ASM_ARCH_IIC_CORE_H __FILE__
+
+/* These functions are only for use with the core support code, such as
+ * the cpu specific initialisation code
+ */
+
+/* re-define device name depending on support. */
+static inline void s3c_i2c0_setname(char *name)
+{
+	/* currently this device is always compiled in */
+	s3c_device_i2c0.name = name;
+}
+
+static inline void s3c_i2c1_setname(char *name)
+{
+#ifdef CONFIG_S3C_DEV_I2C1
+	s3c_device_i2c1.name = name;
+#endif
+}
+
+#endif /* __ASM_ARCH_IIC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/iic.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/iic.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/iic.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/iic.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,57 @@
+/* linux/arch/arm/plat-s3c/include/plat/iic.h
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C2410 - I2C Controller platfrom_device info
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_IIC_H
+#define __ASM_ARCH_IIC_H __FILE__
+
+#define S3C_IICFLG_FILTER	(1<<0)	/* enable s3c2440 filter */
+
+/* Notes:
+ *	1) All frequencies are expressed in Hz
+ *	2) A value of zero is `do not care`
+*/
+
+struct s3c2410_platform_i2c {
+	int		bus_num;	/* bus number to use */
+	unsigned int	flags;
+	unsigned int	slave_addr;	/* slave address for controller */
+	unsigned long	bus_freq;	/* standard bus frequency */
+	unsigned long	max_freq;	/* max frequency for the bus */
+	unsigned long	min_freq;	/* min frequency for the bus */
+	unsigned int	sda_delay;	/* pclks (s3c2440 only) */
+
+	void	(*cfg_gpio)(struct platform_device *dev);
+};
+
+/**
+ * s3c_i2c0_set_platdata - set platform data for i2c0 device
+ * @i2c: The platform data to set, or NULL for default data.
+ *
+ * Register the given platform data for use with the i2c0 device. This
+ * call copies the platform data, so the caller can use __initdata for
+ * their copy.
+ *
+ * This call will set cfg_gpio if is null to the default platform
+ * implementation.
+ *
+ * Any user of s3c_device_i2c0 should call this, even if it is with
+ * NULL to ensure that the device is given the default platform data
+ * as the driver will no longer carry defaults.
+ */
+extern void s3c_i2c0_set_platdata(struct s3c2410_platform_i2c *i2c);
+extern void s3c_i2c1_set_platdata(struct s3c2410_platform_i2c *i2c);
+
+/* defined by architecture to configure gpio */
+extern void s3c_i2c0_cfg_gpio(struct platform_device *dev);
+extern void s3c_i2c1_cfg_gpio(struct platform_device *dev);
+
+#endif /* __ASM_ARCH_IIC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/map-base.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/map-base.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/map-base.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/map-base.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,44 @@
+/* linux/arch/arm/plat-s3c/include/plat/map-base.h
+ *
+ * Copyright 2003, 2007 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C - Memory map definitions (virtual addresses)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_PLAT_MAP_H
+#define __ASM_PLAT_MAP_H __FILE__
+
+/* Fit all our registers in at 0xF4000000 upwards, trying to use as
+ * little of the VA space as possible so vmalloc and friends have a
+ * better chance of getting memory.
+ *
+ * we try to ensure stuff like the IRQ registers are available for
+ * an single MOVS instruction (ie, only 8 bits of set data)
+ */
+
+#define S3C_ADDR_BASE	(0xF4000000)
+
+#ifndef __ASSEMBLY__
+#define S3C_ADDR(x)	((void __iomem __force *)S3C_ADDR_BASE + (x))
+#else
+#define S3C_ADDR(x)	(S3C_ADDR_BASE + (x))
+#endif
+
+#define S3C_VA_IRQ	S3C_ADDR(0x00000000)	/* irq controller(s) */
+#define S3C_VA_SYS	S3C_ADDR(0x00100000)	/* system control */
+#define S3C_VA_MEM	S3C_ADDR(0x00200000)	/* system control */
+#define S3C_VA_TIMER	S3C_ADDR(0x00300000)	/* timer block */
+#define S3C_VA_WATCHDOG	S3C_ADDR(0x00400000)	/* watchdog */
+#define S3C_VA_LCD	S3C_ADDR(0x00600000)	/* LCD */
+#define S3C_VA_UART	S3C_ADDR(0x01000000)	/* UART */
+#define S3C_VA_SROMC	S3C_ADDR(0x01100000)	/* SROM SFR */
+#define S3C_VA_SYSTIMER	S3C_ADDR(0x01200000)	/* SROM SFR */
+#define S3C_VA_NAND     S3C_ADDR(0x01400000)    /* NAND */
+
+#endif /* __ASM_PLAT_MAP_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/map.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/map.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/map.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/map.h	2009-04-30 09:36:37.000000000 +0200
@@ -1,4 +1,4 @@
-/* linux/include/asm-arm/plat-s3c/map.h
+/* linux/arch/arm/plat-s3c/include/plat/map.h
  *
  * Copyright 2003, 2007 Simtec Electronics
  *	http://armlinux.simtec.co.uk/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/nand.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/nand.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/nand.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/nand.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,55 @@
+/* linux/arch/arm/plat-s3c/include/plat/nand.h
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C2410 - NAND device controller platfrom_device info
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* struct s3c2410_nand_set
+ *
+ * define an set of one or more nand chips registered with an unique mtd
+ *
+ * nr_chips	 = number of chips in this set
+ * nr_partitions = number of partitions pointed to be partitoons (or zero)
+ * name		 = name of set (optional)
+ * nr_map	 = map for low-layer logical to physical chip numbers (option)
+ * partitions	 = mtd partition list
+*/
+
+struct s3c2410_nand_set {
+	unsigned int		disable_ecc : 1;
+
+	int			nr_chips;
+	int			nr_partitions;
+	char			*name;
+	int			*nr_map;
+	struct mtd_partition	*partitions;
+	struct nand_ecclayout	*ecc_layout;
+};
+
+struct s3c2410_platform_nand {
+	/* timing information for controller, all times in nanoseconds */
+
+	int	tacls;	/* time for active CLE/ALE to nWE/nOE */
+	int	twrph0;	/* active time for nWE/nOE */
+	int	twrph1;	/* time for release CLE/ALE from nWE/nOE inactive */
+
+	unsigned int	ignore_unset_ecc : 1;
+
+	int			nr_sets;
+	struct s3c2410_nand_set *sets;
+
+	void			(*select_chip)(struct s3c2410_nand_set *,
+					       int chip);
+};
+
+struct s3c_nand_mtd_info {
+	uint chip_nr;
+	uint mtd_part_nr;
+	struct mtd_partition *partition;
+};
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/partition.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/partition.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/partition.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/partition.h	2010-04-16 05:13:12.000000000 +0200
@@ -0,0 +1,44 @@
+/* linux/arch/arm/plat-s3c/include/plat/partition.h
+ *
+ * Copyright (c) 2008 Samsung Electronics
+ *
+ * Partition information
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <asm/mach/flash.h>
+
+struct mtd_partition s3c_partition_info[] = {
+        {
+                .name		= "Bootloader",
+                .offset		= 0,
+                .size		= (4 * 128 *SZ_1K),
+                .mask_flags	= MTD_CAP_NANDFLASH,
+        },
+        {
+                .name		= "Kernel",
+                .offset		= (4 * 128 *SZ_1K),
+                .size		= (5*SZ_1M) ,
+                .mask_flags	= MTD_CAP_NANDFLASH,
+        },
+        {
+                .name		= "File System",
+                .offset		= MTDPART_OFS_APPEND,
+                .size		= MTDPART_SIZ_FULL,
+        }
+};
+
+struct s3c_nand_mtd_info s3c_nand_mtd_part_info = {
+	.chip_nr = 1,
+	.mtd_part_nr = ARRAY_SIZE(s3c_partition_info),
+	.partition = s3c_partition_info,
+};
+
+struct flash_platform_data s3c_onenand_data = {
+	.parts		= s3c_partition_info,
+	.nr_parts	= ARRAY_SIZE(s3c_partition_info),
+};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-ac97.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-ac97.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-ac97.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-ac97.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,67 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-ac97.h
+ *
+ * Copyright (c) 2006 Simtec Electronics <linux@simtec.co.uk>
+ *		http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C2440 AC97 Controller
+*/
+
+#ifndef __ASM_ARCH_REGS_AC97_H
+#define __ASM_ARCH_REGS_AC97_H __FILE__
+
+#define S3C_AC97_GLBCTRL				(0x00)
+
+#define S3C_AC97_GLBCTRL_CODECREADYIE			(1<<22)
+#define S3C_AC97_GLBCTRL_PCMOUTURIE			(1<<21)
+#define S3C_AC97_GLBCTRL_PCMINORIE			(1<<20)
+#define S3C_AC97_GLBCTRL_MICINORIE			(1<<19)
+#define S3C_AC97_GLBCTRL_PCMOUTTIE			(1<<18)
+#define S3C_AC97_GLBCTRL_PCMINTIE			(1<<17)
+#define S3C_AC97_GLBCTRL_MICINTIE			(1<<16)
+#define S3C_AC97_GLBCTRL_PCMOUTTM_OFF			(0<<12)
+#define S3C_AC97_GLBCTRL_PCMOUTTM_PIO			(1<<12)
+#define S3C_AC97_GLBCTRL_PCMOUTTM_DMA			(2<<12)
+#define S3C_AC97_GLBCTRL_PCMOUTTM_MASK			(3<<12)
+#define S3C_AC97_GLBCTRL_PCMINTM_OFF			(0<<10)
+#define S3C_AC97_GLBCTRL_PCMINTM_PIO			(1<<10)
+#define S3C_AC97_GLBCTRL_PCMINTM_DMA			(2<<10)
+#define S3C_AC97_GLBCTRL_PCMINTM_MASK			(3<<10)
+#define S3C_AC97_GLBCTRL_MICINTM_OFF			(0<<8)
+#define S3C_AC97_GLBCTRL_MICINTM_PIO			(1<<8)
+#define S3C_AC97_GLBCTRL_MICINTM_DMA			(2<<8)
+#define S3C_AC97_GLBCTRL_MICINTM_MASK			(3<<8)
+#define S3C_AC97_GLBCTRL_TRANSFERDATAENABLE		(1<<3)
+#define S3C_AC97_GLBCTRL_ACLINKON			(1<<2)
+#define S3C_AC97_GLBCTRL_WARMRESET			(1<<1)
+#define S3C_AC97_GLBCTRL_COLDRESET			(1<<0)
+
+#define S3C_AC97_GLBSTAT				(0x04)
+
+#define S3C_AC97_GLBSTAT_CODECREADY			(1<<22)
+#define S3C_AC97_GLBSTAT_PCMOUTUR			(1<<21)
+#define S3C_AC97_GLBSTAT_PCMINORI			(1<<20)
+#define S3C_AC97_GLBSTAT_MICINORI			(1<<19)
+#define S3C_AC97_GLBSTAT_PCMOUTTI			(1<<18)
+#define S3C_AC97_GLBSTAT_PCMINTI			(1<<17)
+#define S3C_AC97_GLBSTAT_MICINTI			(1<<16)
+#define S3C_AC97_GLBSTAT_MAINSTATE_IDLE			(0<<0)
+#define S3C_AC97_GLBSTAT_MAINSTATE_INIT			(1<<0)
+#define S3C_AC97_GLBSTAT_MAINSTATE_READY		(2<<0)
+#define S3C_AC97_GLBSTAT_MAINSTATE_ACTIVE		(3<<0)
+#define S3C_AC97_GLBSTAT_MAINSTATE_LP			(4<<0)
+#define S3C_AC97_GLBSTAT_MAINSTATE_WARM			(5<<0)
+
+#define S3C_AC97_CODEC_CMD				(0x08)
+
+#define S3C_AC97_CODEC_CMD_READ				(1<<23)
+
+#define S3C_AC97_STAT					(0x0c)
+#define S3C_AC97_PCM_ADDR				(0x10)
+#define S3C_AC97_PCM_DATA				(0x18)
+#define S3C_AC97_MIC_DATA				(0x1C)
+
+#endif /* __ASM_ARCH_REGS_AC97_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-adc.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-adc.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-adc.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-adc.h	2009-04-30 09:36:37.000000000 +0200
@@ -1,4 +1,4 @@
-/* arch/arm/mach-s3c2410/include/mach/regs-adc.h
+/* linux/arch/arm/plat-s3c/include/plat/regs-adc.h
  *
  * Copyright (c) 2004 Shannon Holland <holland@loser.net>
  *
@@ -19,15 +19,24 @@
 #define S3C2410_ADCDLY	   S3C2410_ADCREG(0x08)
 #define S3C2410_ADCDAT0	   S3C2410_ADCREG(0x0C)
 #define S3C2410_ADCDAT1	   S3C2410_ADCREG(0x10)
+#define S3C2410_ADCUPDN		S3C2410_ADCREG(0x14)
+#define S3C2443_ADCMUX		S3C2410_ADCREG(0x18)
+#define S3C6400_ADCCLRINT	S3C2410_ADCREG(0x18)
+#define S3C6400_ADCCLRWK	S3C2410_ADCREG(0x20)
 
 
 /* ADCCON Register Bits */
+#define S3C6410_ADCCON_RESSEL_10BIT	(0x0<<16)
+#define S3C6410_ADCCON_RESSEL_12BIT	(0x1<<16)
 #define S3C2410_ADCCON_ECFLG		(1<<15)
 #define S3C2410_ADCCON_PRSCEN		(1<<14)
 #define S3C2410_ADCCON_PRSCVL(x)	(((x)&0xFF)<<6)
 #define S3C2410_ADCCON_PRSCVLMASK	(0xFF<<6)
 #define S3C2410_ADCCON_SELMUX(x)	(((x)&0x7)<<3)
+#define S3C2443_ADCCON_SELMUX(x)	(((x)&0xF)<<0)
 #define S3C2410_ADCCON_MUXMASK		(0x7<<3)
+#define S3C2450_ADCCON_RESSEL_10BIT	(0x0<<3)
+#define S3C2450_ADCCON_RESSEL_12BIT	(0x1<<3)
 #define S3C2410_ADCCON_STDBM		(1<<2)
 #define S3C2410_ADCCON_READ_START	(1<<1)
 #define S3C2410_ADCCON_ENABLE_START	(1<<0)
@@ -35,6 +44,7 @@
 
 
 /* ADCTSC Register Bits */
+#define S3C2410_ADCTSC_UD_SEN		(1<<8)
 #define S3C2410_ADCTSC_YM_SEN		(1<<7)
 #define S3C2410_ADCTSC_YP_SEN		(1<<6)
 #define S3C2410_ADCTSC_XM_SEN		(1<<5)
@@ -55,6 +65,65 @@
 #define S3C2410_ADCDAT1_XY_PST		(0x3<<12)
 #define S3C2410_ADCDAT1_YPDATA_MASK	(0x03FF)
 
+/*--------------------------- Common definitions for S3C  ---------------------------*/
+/* The following definitions will be applied to S3C24XX, S3C64XX, S5PC1XX.	     */
+/*-----------------------------------------------------------------------------------*/
+
+#define S3C_ADCREG(x) 			(x)
+
+#define S3C_ADCCON	   		S3C_ADCREG(0x00)
+#define S3C_ADCTSC	  		S3C_ADCREG(0x04)
+#define S3C_ADCDLY	   		S3C_ADCREG(0x08)
+#define S3C_ADCDAT0	   		S3C_ADCREG(0x0C)
+#define S3C_ADCDAT1	   		S3C_ADCREG(0x10)
+#define S3C_ADCUPDN			S3C_ADCREG(0x14)
+#define S3C_ADCCLRINT			S3C_ADCREG(0x18)
+#define S3C_ADCMUX			S3C_ADCREG(0x1C)
+#define S3C_ADCCLRWK			S3C_ADCREG(0x20)
+
+
+/* ADCCON Register Bits */
+#define S3C_ADCCON_RESSEL_10BIT		(0x0<<16)
+#define S3C_ADCCON_RESSEL_12BIT		(0x1<<16)
+#define S3C_ADCCON_ECFLG		(1<<15)
+#define S3C_ADCCON_PRSCEN		(1<<14)
+#define S3C_ADCCON_PRSCVL(x)		(((x)&0xFF)<<6)
+#define S3C_ADCCON_PRSCVLMASK		(0xFF<<6)
+#define S3C_ADCCON_SELMUX(x)		(((x)&0x7)<<3)
+#define S3C_ADCCON_SELMUX_1(x)		(((x)&0xF)<<0)
+#define S3C_ADCCON_MUXMASK		(0x7<<3)
+#define S3C_ADCCON_RESSEL_10BIT_1	(0x0<<3)
+#define S3C_ADCCON_RESSEL_12BIT_1	(0x1<<3)
+#define S3C_ADCCON_STDBM		(1<<2)
+#define S3C_ADCCON_READ_START		(1<<1)
+#define S3C_ADCCON_ENABLE_START		(1<<0)
+#define S3C_ADCCON_STARTMASK		(0x3<<0)
+
+
+/* ADCTSC Register Bits */
+#define S3C_ADCTSC_UD_SEN		(1<<8)
+#define S3C_ADCTSC_YM_SEN		(1<<7)
+#define S3C_ADCTSC_YP_SEN		(1<<6)
+#define S3C_ADCTSC_XM_SEN		(1<<5)
+#define S3C_ADCTSC_XP_SEN		(1<<4)
+#define S3C_ADCTSC_PULL_UP_DISABLE	(1<<3)
+#define S3C_ADCTSC_AUTO_PST		(1<<2)
+#define S3C_ADCTSC_XY_PST(x)		(((x)&0x3)<<0)
+
+/* ADCDAT0 Bits */
+#define S3C_ADCDAT0_UPDOWN		(1<<15)
+#define S3C_ADCDAT0_AUTO_PST		(1<<14)
+#define S3C_ADCDAT0_XY_PST		(0x3<<12)
+#define S3C_ADCDAT0_XPDATA_MASK		(0x03FF)
+#define S3C_ADCDAT0_XPDATA_MASK_12BIT	(0x0FFF)
+
+/* ADCDAT1 Bits */
+#define S3C_ADCDAT1_UPDOWN		(1<<15)
+#define S3C_ADCDAT1_AUTO_PST		(1<<14)
+#define S3C_ADCDAT1_XY_PST		(0x3<<12)
+#define S3C_ADCDAT1_YPDATA_MASK		(0x03FF)
+#define S3C_ADCDAT1_YPDATA_MASK_12BIT	(0x0FFF)
+
 #endif /* __ASM_ARCH_REGS_ADC_H */
 
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-g2d.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-g2d.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-g2d.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-g2d.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,197 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-g2d.h
+ *
+ * Driver file for Samsung 2D Accelerator(FIMG-2D)
+ * Jonghun Han, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+#ifndef __ASM_ARM_REGS_S3C_G2D_H
+#define __ASM_ARM_REGS_S3C_G2D_H
+ 
+/************************************************************************/
+/*Graphics 2D Registers part						*/
+/************************************************************************/
+#define S3C_G2DREG(x)	((x))
+
+/* Graphics 2D General Registers */
+#define	S3C_G2D_CONTROL_REG		S3C_G2DREG(0x00)		/* Control register */
+#define	S3C_G2D_INTEN_REG		S3C_G2DREG(0x04)		/* Interrupt enable register */
+#define	S3C_G2D_FIFO_INTC_REG		S3C_G2DREG(0x08)		/* Interrupt control register */
+#define	S3C_G2D_INTC_PEND_REG		S3C_G2DREG(0x0c)		/* Interrupt control pending register */
+#define	S3C_G2D_FIFO_STAT_REG		S3C_G2DREG(0x10)		/* Command FIFO status register */
+
+/* Graphics 2D Command Registers */
+#define	S3C_G2D_CMD0_REG		S3C_G2DREG(0x100)		/* Command register for Line/Point drawing */
+#define	S3C_G2D_CMD1_REG		S3C_G2DREG(0x104)		/* Command register for BitBLT */
+#define	S3C_G2D_CMD2_REG		S3C_G2DREG(0x108)		/* Command register for Host to Screen Bitblt transfer start */
+#define	S3C_G2D_CMD3_REG		S3C_G2DREG(0x10c)		/* Command register for Host to Screen Bitblt transfer continue */
+#define	S3C_G2D_CMD4_REG		S3C_G2DREG(0x110)		/* Command register for Color expansion (Font start) */
+#define	S3C_G2D_CMD5_REG		S3C_G2DREG(0x114)		/* Command register for Color expansion (Font continue) */
+#define	S3C_G2D_CMD6_REG		S3C_G2DREG(0x118)		/* Reserved */
+#define	S3C_G2D_CMD7_REG		S3C_G2DREG(0x11c)		/* Command register for Color expansion (memory to screen) */
+
+/* Graphics 2D Parameter Setting Registers */
+/* Resolution */
+#define	S3C_G2D_SRC_RES_REG		S3C_G2DREG(0x200)		/* Source image resolution */
+#define	S3C_G2D_HORI_RES_REG		S3C_G2DREG(0x204)		/* Source image horizontal resolution */
+#define	S3C_G2D_VERT_RES_REG		S3C_G2DREG(0x208)		/* Source image vertical resolution */
+#define	S3C_G2D_SC_RES_REG		S3C_G2DREG(0x210)		/* Screen resolution */
+#define	S3C_G2D_SC_HORI_REG		S3C_G2DREG(0x214)		/* Screen horizontal resolutuon */
+#define	S3C_G2D_SC_VERT_REG		S3C_G2DREG(0x218)		/* Screen vertical resolution */
+
+/* Clipping window */
+#define	S3C_G2D_CW_LT_REG		S3C_G2DREG(0x220)		/* LeftTop coordinates of Clip Window */
+#define	S3C_G2D_CW_LT_X_REG		S3C_G2DREG(0x224)		/* Left X coordinate of Clip Window */
+#define	S3C_G2D_CW_LT_Y_REG		S3C_G2DREG(0x228)		/* Top Y coordinate of Clip Window */
+#define	S3C_G2D_CW_RB_REG		S3C_G2DREG(0x230)		/* RightBottom coordinate of Clip Window */
+#define	S3C_G2D_CW_RB_X_REG		S3C_G2DREG(0x234)		/* Right X coordinate of Clip Window */
+#define	S3C_G2D_CW_RB_Y_REG		S3C_G2DREG(0x238)		/* Bottom Y coordinate of Clip Window */
+
+/* Coordinates */
+#define	S3C_G2D_COORD0_REG		S3C_G2DREG(0x300)
+#define	S3C_G2D_COORD0_X_REG		S3C_G2DREG(0x304)
+#define	S3C_G2D_COORD0_Y_REG		S3C_G2DREG(0x308)
+#define	S3C_G2D_COORD1_REG		S3C_G2DREG(0x310)
+#define	S3C_G2D_COORD1_X_REG		S3C_G2DREG(0x314)
+#define	S3C_G2D_COORD1_Y_REG		S3C_G2DREG(0x318)
+#define	S3C_G2D_COORD2_REG		S3C_G2DREG(0x320)
+#define	S3C_G2D_COORD2_X_REG		S3C_G2DREG(0x324)
+#define	S3C_G2D_COORD2_Y_REG		S3C_G2DREG(0x328)
+#define	S3C_G2D_COORD3_REG		S3C_G2DREG(0x330)
+#define	S3C_G2D_COORD3_X_REG		S3C_G2DREG(0x334)
+#define	S3C_G2D_COORD3_Y_REG		S3C_G2DREG(0x338)
+
+/* Rotation */
+#define	S3C_G2D_ROT_OC_REG		S3C_G2DREG(0x340)		/* Rotation Origin Coordinates */
+#define	S3C_G2D_ROT_OC_X_REG		S3C_G2DREG(0x344)		/* X coordinate of Rotation Origin Coordinates */
+#define	S3C_G2D_ROT_OC_Y_REG		S3C_G2DREG(0x348)		/* Y coordinate of Rotation Origin Coordinates */
+#define	S3C_G2D_ROTATE_REG		S3C_G2DREG(0x34c)		/* Rotation Mode register */
+#define	S3C_G2D_ENDIA_READSIZE		S3C_G2DREG(0x350)		/* Reserved */
+
+/* X,Y Increment setting */
+#define	S3C_G2D_X_INCR_REG		S3C_G2DREG(0x400)
+#define	S3C_G2D_Y_INCR_REG		S3C_G2DREG(0x404)
+#define	S3C_G2D_ROP_REG			S3C_G2DREG(0x410)
+#define	S3C_G2D_ALPHA_REG		S3C_G2DREG(0x420)
+
+/* Color */
+#define	S3C_G2D_FG_COLOR_REG		S3C_G2DREG(0x500)		/* Foreground Color Alpha register */
+#define	S3C_G2D_BG_COLOR_REG		S3C_G2DREG(0x504)		/* Background Color register */
+#define	S3C_G2D_BS_COLOR_REG		S3C_G2DREG(0x508)		/* Blue Screen Color register */
+#define	S3C_G2D_SRC_COLOR_MODE		S3C_G2DREG(0x510)		/* Src Image Color Mode register */
+#define	S3C_G2D_DST_COLOR_MODE		S3C_G2DREG(0x514)		/* Dest Image Color Mode register */
+
+/* Pattern */
+#define	S3C_G2D_PATTERN_REG		S3C_G2DREG(0x600)
+#define	S3C_G2D_PATOFF_REG		S3C_G2DREG(0x700)
+#define	S3C_G2D_PATOFF_X_REG		S3C_G2DREG(0x704)
+#define	S3C_G2D_PATOFF_Y_REG		S3C_G2DREG(0x708) 																																								
+#define	S3C_G2D_STENCIL_CNTL_REG 	S3C_G2DREG(0x720)	
+#define	S3C_G2D_STENCIL_DR_MIN_REG	S3C_G2DREG(0x724)
+#define	S3C_G2D_STENCIL_DR_MAX_REG	S3C_G2DREG(0x728)
+
+#define	S3C_G2D_SRC_BASE_ADDR		S3C_G2DREG(0x730)		/* Source image base address register */
+#define	S3C_G2D_DST_BASE_ADDR		S3C_G2DREG(0x734)		/* Dest image base address register */
+
+
+/************************************************************************/
+/* Bit definition part							*/
+/************************************************************************/
+#define S3C_G2D_FIFO_USED(x)				(((x)&0x7f)>>1)
+
+#define S3C_G2D_FULL_H(x)				((x)&0x7FF)
+#define S3C_G2D_FULL_V(x)				(((x)&0x7FF)<<16)
+
+#define S3C_G2D_ALPHA(x)				((x)&0xFF)
+
+/* interrupt mode select */
+#define	S3C_G2D_INTC_PEND_REG_CLRSEL_LEVEL		(1<<31)
+#define	S3C_G2D_INTC_PEND_REG_CLRSEL_PULSE		(0<<31)
+
+#define S3C_G2D_INTEN_REG_FIFO_INT_E			(1<<0)
+#define S3C_G2D_INTEN_REG_ACF				(1<<9)
+#define S3C_G2D_INTEN_REG_CCF				(1<<10)
+
+#define S3C_G2D_PEND_REG_INTP_ALL_FIN			(1<<9)
+#define S3C_G2D_PEND_REG_INTP_CMD_FIN			(1<<10)
+
+/* Line/Point drawing */
+#define	S3C_G2D_CMD0_REG_D_LAST				(0<<9)
+#define	S3C_G2D_CMD0_REG_D_NO_LAST			(1<<9)
+
+#define	S3C_G2D_CMD0_REG_M_Y				(0<<8)
+#define	S3C_G2D_CMD0_REG_M_X				(1<<8)
+
+#define	S3C_G2D_CMD0_REG_L				(1<<1)
+#define	S3C_G2D_CMD0_REG_P				(1<<0)
+
+/* BitBLT */
+#define	S3C_G2D_CMD1_REG_S				(1<<1)
+#define	S3C_G2D_CMD1_REG_N				(1<<0)
+
+/* resource color mode */
+#define S3C_G2D_COLOR_MODE_REG_C3_32BPP			(1<<3)
+#define S3C_G2D_COLOR_MODE_REG_C3_24BPP			(1<<3)
+#define S3C_G2D_COLOR_MODE_REG_C2_18BPP			(1<<2)
+#define S3C_G2D_COLOR_MODE_REG_C1_16BPP			(1<<1)
+#define S3C_G2D_COLOR_MODE_REG_C0_15BPP			(1<<0)
+
+#define S3C_G2D_COLOR_RGB_565				(0x0<<0)
+#define S3C_G2D_COLOR_RGBA_5551				(0x1<<0)
+#define S3C_G2D_COLOR_ARGB_1555				(0x2<<0)
+#define S3C_G2D_COLOR_RGBA_8888				(0x3<<0)
+#define S3C_G2D_COLOR_ARGB_8888				(0x4<<0)
+#define S3C_G2D_COLOR_XRGB_8888				(0x5<<0)
+#define S3C_G2D_COLOR_RGBX_8888				(0x6<<0)
+
+/* rotation mode */
+#define S3C_G2D_ROTATRE_REG_FY				(1<<5)
+#define S3C_G2D_ROTATRE_REG_FX				(1<<4)
+#define S3C_G2D_ROTATRE_REG_R3_270			(1<<3)
+#define S3C_G2D_ROTATRE_REG_R2_180			(1<<2)
+#define S3C_G2D_ROTATRE_REG_R1_90			(1<<1)
+#define S3C_G2D_ROTATRE_REG_R0_0			(1<<0)
+
+/* Endian select */
+#define S3C_G2D_ENDIAN_READSIZE_BIG_ENDIAN_BIG		(1<<4)
+#define S3C_G2D_ENDIAN_READSIZE_BIG_ENDIAN_LITTLE	(0<<4)
+
+#define S3C_G2D_ENDIAN_READSIZE_SIZE_HW_DISABLE		(0<<2)
+#define S3C_G2D_ENDIAN_READSIZE_SIZE_HW_ENABLE		(1<<2)
+
+/* read buffer size */
+#define	S3C_G2D_ENDIAN_READSIZE_READ_SIZE_1		(0<<0)
+#define	S3C_G2D_ENDIAN_READSIZE_READ_SIZE_4		(1<<0)
+#define	S3C_G2D_ENDIAN_READSIZE_READ_SIZE_8		(2<<0)
+#define	S3C_G2D_ENDIAN_READSIZE_READ_SIZE_16		(3<<0)
+
+/* Third Operans Select */
+#define S3C_G2D_ROP_REG_OS_PATTERN			(0<<13)
+#define S3C_G2D_ROP_REG_OS_FG_COLOR			(1<<13)
+
+/* Alpha Blending Mode */
+#define S3C_G2D_ROP_REG_ABM_NO_BLENDING			(0<<10)
+#define S3C_G2D_ROP_REG_ABM_SRC_BITMAP			(1<<10)
+#define S3C_G2D_ROP_REG_ABM_REGISTER			(2<<10)
+#define S3C_G2D_ROP_REG_ABM_FADING 			(4<<10)
+
+/* Raster operation mode */
+#define S3C_G2D_ROP_REG_T_OPAQUE_MODE			(0<<9)
+#define S3C_G2D_ROP_REG_T_TRANSP_MODE			(1<<9)
+
+#define S3C_G2D_ROP_REG_B_BS_MODE_OFF			(0<<8)
+#define S3C_G2D_ROP_REG_B_BS_MODE_ON			(1<<8)
+
+
+/* stencil control */
+#define S3C_G2D_STENCIL_CNTL_REG_STENCIL_ON_ON		(1<<31)
+#define S3C_G2D_STENCIL_CNTL_REG_STENCIL_ON_OFF		(0<<31)
+
+#define S3C_G2D_STENCIL_CNTL_REG_STENCIL_INVERSE	(1<<23)
+#define S3C_G2D_STENCIL_CNTL_REG_STENCIL_SWAP		(1<<0)
+
+/*********************************************************************************/
+#endif /* __ASM_ARM_REGS_S3C_G2D_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-hsmmc.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-hsmmc.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-hsmmc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-hsmmc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,210 @@
+/* linux/include/asm-arm/arch-s3c2410/regs-hsmmc.h
+ *
+ * Copyright (c) 2004 Samsung Electronics 
+ *		http://www.samsung.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C HS-MMC Controller
+*/
+
+#ifndef __ASM_ARCH_REGS_HSMMC_H
+#define __ASM_ARCH_REGS_HSMMC_H __FILE__
+
+/*
+ * HS MMC Interface
+ */
+#define S3C_HSMMC_REG(x)		 (x)
+
+#define S3C_HSMMC_SYSAD			(0x00)
+
+#define S3C_HSMMC_BLKSIZE		(0x04)
+#define S3C_HSMMC_MAKE_BLKSZ(dma, blksz) (((dma & 0x7) << 12) | (blksz & 0xFFF))
+
+#define S3C_HSMMC_BLKCNT		(0x06)
+#define S3C_HSMMC_ARGUMENT		(0x08)
+ 
+#define S3C_HSMMC_TRNMOD		(0x0c)
+#define S3C_HSMMC_TRNS_DMA		 0x01
+#define S3C_HSMMC_TRNS_BLK_CNT_EN	 0x02
+#define S3C_HSMMC_TRNS_ACMD12		 0x04
+#define S3C_HSMMC_TRNS_READ		 0x10
+#define S3C_HSMMC_TRNS_MULTI		 0x20
+
+#define S3C_HSMMC_CMDREG		(0x0e)
+#define S3C_HSMMC_RSPREG0		(0x10)
+#define S3C_HSMMC_RSPREG1		(0x14)
+#define S3C_HSMMC_RSPREG2		(0x18)
+#define S3C_HSMMC_RSPREG3		(0x1c)
+#define S3C_HSMMC_CMD_RESP_MASK		 0x03
+#define S3C_HSMMC_CMD_CRC		 0x08
+#define S3C_HSMMC_CMD_INDEX		 0x10
+#define S3C_HSMMC_CMD_DATA		 0x20
+#define S3C_HSMMC_CMD_RESP_NONE		 0x00
+#define S3C_HSMMC_CMD_RESP_LONG		 0x01
+#define S3C_HSMMC_CMD_RESP_SHORT	 0x02
+#define S3C_HSMMC_CMD_RESP_SHORT_BUSY	 0x03
+#define S3C_HSMMC_MAKE_CMD(c, f) (((c & 0xff) << 8) | (f & 0xff))
+
+#define S3C_HSMMC_BDATA			(0x20)
+
+#define S3C_HSMMC_PRNSTS		(0x24)
+#define S3C_HSMMC_CMD_INHIBIT		 0x00000001
+#define S3C_HSMMC_DATA_INHIBIT		 0x00000002
+#define S3C_HSMMC_DOING_WRITE		 0x00000100
+#define S3C_HSMMC_DOING_READ		 0x00000200
+#define S3C_HSMMC_SPACE_AVAILABLE	 0x00000400
+#define S3C_HSMMC_DATA_AVAILABLE	 0x00000800
+#define S3C_HSMMC_CARD_PRESENT		 0x00010000
+#define S3C_HSMMC_WRITE_PROTECT		 0x00080000
+
+#define S3C_HSMMC_HOSTCTL		(0x28)
+#define S3C_HSMMC_CTRL_LED		 0x01 
+#define S3C_HSMMC_CTRL_4BITBUS		 0x02 
+#define S3C_HSMMC_CTRL_HIGHSPEED	 0x04 
+#define S3C_HSMMC_CTRL_1BIT		 0x00 
+#define S3C_HSMMC_CTRL_4BIT		 0x02 
+#define S3C_HSMMC_CTRL_8BIT		 0x20 
+#define S3C_HSMMC_CTRL_SDMA		 0x00 
+#define S3C_HSMMC_CTRL_ADMA2_32		 0x10 
+
+#define S3C_HSMMC_PWRCON		(0x29)
+#define S3C_HSMMC_POWER_OFF		 0x00
+#define S3C_HSMMC_POWER_ON		 0x01
+#define S3C_HSMMC_POWER_180		 0x0A
+#define S3C_HSMMC_POWER_300		 0x0C
+#define S3C_HSMMC_POWER_330		 0x0E
+#define S3C_HSMMC_POWER_ON_ALL		 0xFF
+
+#define S3C_HSMMC_BLKGAP		(0x2a)
+#define S3C_HSMMC_WAKCON		(0x2b)
+
+#define S3C_HSMMC_CLKCON		(0x2c)
+#define S3C_HSMMC_DIVIDER_SHIFT		 8
+#define S3C_HSMMC_CLOCK_EXT_STABLE	 0x0008
+#define S3C_HSMMC_CLOCK_CARD_EN		 0x0004
+#define S3C_HSMMC_CLOCK_INT_STABLE	 0x0002
+#define S3C_HSMMC_CLOCK_INT_EN		 0x0001
+
+#define S3C_HSMMC_TIMEOUTCON		(0x2e)
+#define S3C_HSMMC_TIMEOUT_MAX		 0x0E
+
+#define S3C_HSMMC_SWRST			(0x2f)
+#define S3C_HSMMC_RESET_ALL		 0x01
+#define S3C_HSMMC_RESET_CMD		 0x02
+#define S3C_HSMMC_RESET_DATA		 0x04
+
+#define S3C_HSMMC_NORINTSTS		(0x30)
+#define S3C_HSMMC_NIS_ERR		 0x00008000
+#define S3C_HSMMC_NIS_CMDCMP		 0x00000001
+#define S3C_HSMMC_NIS_TRSCMP		 0x00000002
+#define S3C_HSMMC_NIS_DMA		 0x00000008
+
+#define S3C_HSMMC_ERRINTSTS		(0x32)
+#define S3C_HSMMC_EIS_CMDTIMEOUT	 0x00000001
+#define S3C_HSMMC_EIS_CMDERR		 0x0000000E
+#define S3C_HSMMC_EIS_DATATIMEOUT	 0x00000010
+#define S3C_HSMMC_EIS_DATAERR		 0x00000060
+#define S3C_HSMMC_EIS_CMD12ERR		 0x00000100
+#define S3C_HSMMC_EIS_ADMAERR		 0x00000200
+
+#define S3C_HSMMC_NORINTSTSEN		(0x34)
+#define S3C_HSMMC_ERRINTSTSEN		(0x36)
+
+#define S3C_HSMMC_NORINTSIGEN		(0x38)
+#define S3C_HSMMC_INT_MASK_ALL		 0x0000
+#define S3C_HSMMC_INT_RESPONSE		 0x00000001
+#define S3C_HSMMC_INT_DATA_END		 0x00000002
+#define S3C_HSMMC_INT_DMA_END		 0x00000008
+#define S3C_HSMMC_INT_SPACE_AVAIL	 0x00000010
+#define S3C_HSMMC_INT_DATA_AVAIL	 0x00000020
+#define S3C_HSMMC_INT_CARD_INSERT	 0x00000040
+#define S3C_HSMMC_INT_CARD_REMOVE	 0x00000080
+#define S3C_HSMMC_INT_CARD_CHANGE	 0x000000c0 /* oring of above two */
+#define S3C_HSMMC_INT_CARD_INT		 0x00000100
+#define S3C_HSMMC_INT_TIMEOUT		 0x00010000
+#define S3C_HSMMC_INT_CRC		 0x00020000
+#define S3C_HSMMC_INT_END_BIT		 0x00040000
+#define S3C_HSMMC_INT_INDEX		 0x00080000
+#define S3C_HSMMC_INT_DATA_TIMEOUT	 0x00100000
+#define S3C_HSMMC_INT_DATA_CRC		 0x00200000
+#define S3C_HSMMC_INT_DATA_END_BIT	 0x00400000
+#define S3C_HSMMC_INT_BUS_POWER		 0x00800000
+#define S3C_HSMMC_INT_ACMD12ERR		 0x01000000
+#define S3C_HSMMC_INT_ADMAERR		 0x02000000
+
+#define S3C_HSMMC_INT_NORMAL_MASK	 0x00007FFF
+#define S3C_HSMMC_INT_ERROR_MASK	 0xFFFF8000
+
+#define S3C_HSMMC_INT_CMD_MASK	(S3C_HSMMC_INT_RESPONSE | \
+				 S3C_HSMMC_INT_TIMEOUT | \
+				 S3C_HSMMC_INT_CRC | \
+				 S3C_HSMMC_INT_END_BIT | \
+				 S3C_HSMMC_INT_INDEX | \
+				 S3C_HSMMC_NIS_ERR \
+				)
+#define S3C_HSMMC_INT_DATA_MASK	(S3C_HSMMC_INT_DATA_END | \
+				 S3C_HSMMC_INT_DMA_END | \
+				 S3C_HSMMC_INT_DATA_AVAIL | \
+				 S3C_HSMMC_INT_SPACE_AVAIL | \
+				 S3C_HSMMC_INT_DATA_TIMEOUT | \
+				 S3C_HSMMC_INT_DATA_CRC | \
+				 S3C_HSMMC_INT_DATA_END_BIT \
+				)
+				
+#define S3C_HSMMC_ERRINTSIGEN		(0x3a)
+#define S3C_HSMMC_ACMD12ERRSTS		(0x3c)
+
+#define S3C_HSMMC_CAPAREG		(0x40)
+#define S3C_HSMMC_TIMEOUT_CLK_MASK	 0x0000003F
+#define S3C_HSMMC_TIMEOUT_CLK_SHIFT	 0
+#define S3C_HSMMC_TIMEOUT_CLK_UNIT	 0x00000080
+#define S3C_HSMMC_CLOCK_BASE_MASK	 0x00003F00
+#define S3C_HSMMC_CLOCK_BASE_SHIFT	 8
+#define S3C_HSMMC_MAX_BLOCK_MASK	 0x00030000
+#define S3C_HSMMC_MAX_BLOCK_SHIFT	 16
+#define S3C_HSMMC_CAN_DO_DMA		 0x00400000
+#define S3C_HSMMC_CAN_DO_ADMA2		 0x00080000
+#define S3C_HSMMC_CAN_VDD_330		 0x01000000
+#define S3C_HSMMC_CAN_VDD_300		 0x02000000
+#define S3C_HSMMC_CAN_VDD_180		 0x04000000
+
+#define S3C_HSMMC_MAXCURR		(0x48)
+
+/* For ADMA2 */
+#define S3C_HSMMC_FEAER			(0x50)
+#define S3C_HSMMC_FEERR			(0x52)
+
+#define S3C_HSMMC_ADMAERR		(0x54)
+#define S3C_HSMMC_ADMAERR_CONTINUE_REQUEST	(1<<9)
+#define S3C_HSMMC_ADMAERR_INTRRUPT_STATUS	(1<<8)
+#define S3C_HSMMC_ADMAERR_LENGTH_MISMATCH	(1<<2)
+#define S3C_HSMMC_ADMAERR_STATE_ST_STOP		(0<<0)
+#define S3C_HSMMC_ADMAERR_STATE_ST_FDS		(1<<0)
+#define S3C_HSMMC_ADMAERR_STATE_ST_TFR		(3<<0)
+
+#define S3C_HSMMC_ADMASYSADDR		(0x58)
+#define S3C_HSMMC_ADMA_ATTR_MSK	 	 0x3F
+#define S3C_HSMMC_ADMA_ATTR_ACT_NOP	 (0<<4)
+#define S3C_HSMMC_ADMA_ATTR_ACT_RSV	 (1<<4)
+#define S3C_HSMMC_ADMA_ATTR_ACT_TRAN	 (2<<4)
+#define S3C_HSMMC_ADMA_ATTR_ACT_LINK	 (3<<4)
+#define S3C_HSMMC_ADMA_ATTR_INT	 	 (1<<2)
+#define S3C_HSMMC_ADMA_ATTR_END	 	 (1<<1)
+#define S3C_HSMMC_ADMA_ATTR_VALID	 (1<<0)
+
+#define S3C_HSMMC_CONTROL2		(0x80)
+#define S3C_HSMMC_CONTROL3		(0x84)
+#define S3C_HSMMC_CONTROL4		(0x8C)
+#define S3C_HSMMC_DEBUG			(0x88)
+
+#define S3C_HSMMC_HCVER			(0xfe)
+#define S3C_HSMMC_VENDOR_VER_MASK	 0xFF00
+#define S3C_HSMMC_VENDOR_VER_SHIFT	 8
+#define S3C_HSMMC_SPEC_VER_MASK		 0x00FF
+#define S3C_HSMMC_SPEC_VER_SHIFT	 0
+
+#endif /* __ASM_ARCH_REGS_HSMMC_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-iic.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-iic.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-iic.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-iic.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,56 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-iic.h
+ *
+ * Copyright (c) 2004 Simtec Electronics <linux@simtec.co.uk>
+ *		http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C2410 I2C Controller
+*/
+
+#ifndef __ASM_ARCH_REGS_IIC_H
+#define __ASM_ARCH_REGS_IIC_H __FILE__
+
+/* see s3c2410x user guide, v1.1, section 9 (p447) for more info */
+
+#define S3C2410_IICREG(x) (x)
+
+#define S3C2410_IICCON    S3C2410_IICREG(0x00)
+#define S3C2410_IICSTAT   S3C2410_IICREG(0x04)
+#define S3C2410_IICADD    S3C2410_IICREG(0x08)
+#define S3C2410_IICDS     S3C2410_IICREG(0x0C)
+#define S3C2440_IICLC	  S3C2410_IICREG(0x10)
+
+#define S3C2410_IICCON_ACKEN		(1<<7)
+#define S3C2410_IICCON_TXDIV_16		(0<<6)
+#define S3C2410_IICCON_TXDIV_512	(1<<6)
+#define S3C2410_IICCON_IRQEN		(1<<5)
+#define S3C2410_IICCON_IRQPEND		(1<<4)
+#define S3C2410_IICCON_SCALE(x)		((x)&15)
+#define S3C2410_IICCON_SCALEMASK	(0xf)
+
+#define S3C2410_IICSTAT_MASTER_RX	(2<<6)
+#define S3C2410_IICSTAT_MASTER_TX	(3<<6)
+#define S3C2410_IICSTAT_SLAVE_RX	(0<<6)
+#define S3C2410_IICSTAT_SLAVE_TX	(1<<6)
+#define S3C2410_IICSTAT_MODEMASK	(3<<6)
+
+#define S3C2410_IICSTAT_START		(1<<5)
+#define S3C2410_IICSTAT_BUSBUSY		(1<<5)
+#define S3C2410_IICSTAT_TXRXEN		(1<<4)
+#define S3C2410_IICSTAT_ARBITR		(1<<3)
+#define S3C2410_IICSTAT_ASSLAVE		(1<<2)
+#define S3C2410_IICSTAT_ADDR0		(1<<1)
+#define S3C2410_IICSTAT_LASTBIT		(1<<0)
+
+#define S3C2410_IICLC_SDA_DELAY0	(0 << 0)
+#define S3C2410_IICLC_SDA_DELAY5	(1 << 0)
+#define S3C2410_IICLC_SDA_DELAY10	(2 << 0)
+#define S3C2410_IICLC_SDA_DELAY15	(3 << 0)
+#define S3C2410_IICLC_SDA_DELAY_MASK	(3 << 0)
+
+#define S3C2410_IICLC_FILTER_ON		(1<<2)
+
+#endif /* __ASM_ARCH_REGS_IIC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-iis.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-iis.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-iis.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-iis.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,126 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-iis.h
+ *
+ * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk>
+ *		      http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C64XX IIS register definition
+*/
+
+#ifndef __ASM_ARCH_REGS_IIS_H
+#define __ASM_ARCH_REGS_IIS_H
+
+#define S3C64XX_IIS0REG(x)	((x) + S3C64XX_PA_IIS_V40)
+
+//#define S3C_IIS0CON		S3C64XX_IIS0REG(0x00)
+//#define S3C_IIS0MOD		S3C64XX_IIS0REG(0x04)
+//#define S3C_IIS0FIC		S3C64XX_IIS0REG(0x08)
+//#define S3C_IIS0PSR		S3C64XX_IIS0REG(0x0C)
+//#define S3C_IIS0TXD		S3C64XX_IIS0REG(0x10)
+//#define S3C_IIS0RXD		S3C64XX_IIS0REG(0x14)
+
+#define S3C64XX_IIS0CON		(0x00)
+#define S3C64XX_IIS0MOD		(0x04)
+#define S3C64XX_IIS0FIC		(0x08)
+#define S3C64XX_IIS0PSR		(0x0C)
+#define S3C64XX_IIS0TXD		(0x10)
+#define S3C64XX_IIS0RXD		(0x14)
+
+#define S3C64XX_IISCON_LRINDEX		(1<<8)
+#define S3C64XX_IISCON_TXFIFORDY	(1<<7)
+#define S3C64XX_IISCON_RXFIFORDY	(1<<6)
+#define S3C64XX_IISCON_TXDMAEN		(1<<5)
+#define S3C64XX_IISCON_RXDMAEN		(1<<4)
+#define S3C64XX_IISCON_TXIDLE		(1<<3)
+#define S3C64XX_IISCON_RXIDLE		(1<<2)
+#define S3C64XX_IISCON_PSCEN		(1<<1)
+#define S3C64XX_IISCON_IISEN		(1<<0)
+
+//#define S3C64XX_IISMOD_MPLL	  (1<<9)
+#define S3C64XX_IISMOD_MPLL		(0x01<<10)
+#define S3C64XX_IISMOD_SLAVE		(1<<8)
+#define S3C64XX_IISMOD_NOXFER		(0<<6)
+#define S3C64XX_IISMOD_RXMODE		(1<<6)
+#define S3C64XX_IISMOD_TXMODE		(2<<6)
+#define S3C64XX_IISMOD_TXRXMODE		(3<<6)
+#define S3C64XX_IISMOD_LR_LLOW		(0<<5)
+#define S3C64XX_IISMOD_LR_RLOW		(1<<5)
+#define S3C64XX_IISMOD_IIS		(0<<4)
+#define S3C64XX_IISMOD_MSB		(1<<4)
+#define S3C64XX_IISMOD_8BIT		(0<<3)
+#define S3C64XX_IISMOD_16BIT		(1<<3)
+#define S3C64XX_IISMOD_BITMASK		(1<<3)
+#define S3C64XX_IISMOD_256FS		(0<<2)
+#define S3C64XX_IISMOD_384FS		(1<<2)
+#define S3C64XX_IISMOD_16FS		(0<<0)
+#define S3C64XX_IISMOD_32FS		(1<<0)
+#define S3C64XX_IISMOD_48FS		(2<<0)
+#define S3C64XX_IISMOD_FS_MASK		(3<<0)
+
+#define S3C64XX_IIS0MOD_DCE_MASK	(0x3<<16)
+#define S3C64XX_IIS0MOD_DCE_SD2		(0x1<<17)
+#define S3C64XX_IIS0MOD_DCE_SD1		(0x1<<16)
+#define S3C64XX_IIS0MOD_BLC_MASK	(0x3<<13)
+#define S3C64XX_IIS0MOD_BLC_16BIT	(0x0<<13)
+#define S3C64XX_IIS0MOD_BLC_08BIT	(0x1<<13)
+#define S3C64XX_IIS0MOD_BLC_24BIT	(0x2<<13)
+#define S3C64XX_IIS0MOD_CLK_MASK	(0x7<<10)
+#define S3C64XX_IIS0MOD_INTERNAL_CLK	(0x0<<12)
+#define S3C64XX_IIS0MOD_EXTERNAL_CLK	(0x1<<12)
+#define S3C64XX_IIS0MOD_IMS_INTERNAL_MASTER	(0x0<<10)
+#define S3C64XX_IIS0MOD_IMS_EXTERNAL_MASTER	(0x1<<10)
+#define S3C64XX_IIS0MOD_IMS_SLAVE	(0x2<<10)
+#define S3C64XX_IIS0MOD_MODE_MASK	(0x3<<8)
+#define S3C64XX_IIS0MOD_TXMODE		(0x0<<8)
+#define S3C64XX_IIS0MOD_RXMODE		(0x1<<8)
+#define S3C64XX_IIS0MOD_TXRXMODE	(0x2<<8)
+#define S3C64XX_IIS0MOD_FM_MASK		(0x3<<5)
+#define S3C64XX_IIS0MOD_IIS		(0x0<<5)
+#define S3C64XX_IIS0MOD_MSB		(0x1<<5)
+#define S3C64XX_IIS0MOD_LSB		(0x2<<5)
+#define S3C64XX_IIS0MOD_FS_MASK		(0x3<<3)
+#define S3C64XX_IIS0MOD_768FS		(0x3<<3)
+#define S3C64XX_IIS0MOD_384FS		(0x2<<3)
+#define S3C64XX_IIS0MOD_512FS		(0x1<<3)
+#define S3C64XX_IIS0MOD_256FS		(0x0<<3)
+#define S3C64XX_IIS0MOD_BFS_MASK	(0x3<<1)
+#define S3C64XX_IIS0MOD_48FS		(0x1<<1)
+#define S3C64XX_IIS0MOD_32FS		(0x0<<1)
+
+#define S3C64XX_IISPSR			(0x08)
+#define S3C64XX_IISPSR_INTMASK		(31<<5)
+#define S3C64XX_IISPSR_INTSHIFT		(5)
+#define S3C64XX_IISPSR_EXTMASK		(31<<0)
+#define S3C64XX_IISPSR_EXTSHFIT		(0)
+
+#define S3C64XX_IISFCON		(0x0c)
+
+#define S3C64XX_IISFCON_TXDMA		(1<<15)
+#define S3C64XX_IISFCON_RXDMA		(1<<14)
+#define S3C64XX_IISFCON_TXENABLE	(1<<13)
+#define S3C64XX_IISFCON_RXENABLE	(1<<12)
+#define S3C64XX_IISFCON_TXMASK		(0x3f << 6)
+#define S3C64XX_IISFCON_TXSHIFT		(6)
+#define S3C64XX_IISFCON_RXMASK		(0x3f)
+#define S3C64XX_IISFCON_RXSHIFT		(0)
+
+#define S3C64XX_IISFIFO		(0x10)
+#define S3C64XX_IISFIFORX	(0x14)
+
+#define S3C64XX_IIS0CON_I2SACTIVE	(0x1<<0)
+#define S3C64XX_IIS0CON_RXDMACTIVE	(0x1<<1)
+#define S3C64XX_IIS0CON_I2SACTIVE	(0x1<<0)
+#define S3C64XX_IIS0CON_TXDMACTIVE	(0x1<<2)
+
+#define S3C64XX_IIS_TX_FLUSH	(0x1<<15)
+#define S3C64XX_IIS_RX_FLUSH	(0x1<<7)
+
+#define S3C64XX_IISCON_FTXURINTEN 	(0x1<<16)
+
+#define S3C64XX_IIS0MOD_24BIT		(0x2<<13)
+#define S3C64XX_IIS0MOD_8BIT		(0x1<<13)
+#define S3C64XX_IIS0MOD_16BIT		(0x0<<13)
+#endif /* __ASM_ARCH_REGS_IIS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-irqtype.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-irqtype.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-irqtype.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-irqtype.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,21 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-irqtype.h
+ *
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C - IRQ detection types.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/* values for S3C2410_EXTINT0/1/2 and other cpus in the series, including
+ * the S3C64XX
+*/
+#define S3C2410_EXTINT_LOWLEV	 (0x00)
+#define S3C2410_EXTINT_HILEV	 (0x01)
+#define S3C2410_EXTINT_FALLEDGE	 (0x02)
+#define S3C2410_EXTINT_RISEEDGE	 (0x04)
+#define S3C2410_EXTINT_BOTHEDGE	 (0x06)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-keypad.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-keypad.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-keypad.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-keypad.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,40 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/regs-keypad.h
+ *
+ *
+ * S3C6410 Key Interface register definitions
+ *
+ * Kim Kyoungil, Copyright (c) 2006-2009 Samsung Electronics
+ *      http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+#ifndef __ASM_ARCH_REGS_KEYPAD_H
+#define __ASM_ARCH_REGS_KEYPAD_H
+
+/* 
+ * Keypad Interface
+ */
+#define S3C_KEYPADREG(x)	(x)
+
+#define S3C_KEYIFCON		S3C_KEYPADREG(0x00)
+#define S3C_KEYIFSTSCLR		S3C_KEYPADREG(0x04)
+#define S3C_KEYIFCOL		S3C_KEYPADREG(0x08)
+#define S3C_KEYIFROW		S3C_KEYPADREG(0x0C)
+#define S3C_KEYIFFC		S3C_KEYPADREG(0x10)
+
+#define KEYCOL_DMASK		(0xff)
+#define KEYROW_DMASK		(0xff)
+#define	INT_F_EN		(1<<0)	/*falling edge(key-pressed) interuppt enable*/
+#define	INT_R_EN		(1<<1)	/*rising edge(key-released) interuppt enable*/
+#define	DF_EN			(1<<2)	/*debouncing filter enable*/
+#define	FC_EN			(1<<3)	/*filter clock enable*/
+#define	KEYIFCON_INIT		(KEYIFCON_CLEAR |INT_F_EN|INT_R_EN|DF_EN|FC_EN)
+#define KEYIFSTSCLR_CLEAR	(0xffff)
+
+#endif /* __ASM_ARCH_REGS_KEYPAD_H */
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-lcd.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-lcd.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-lcd.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-lcd.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,518 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-lcd.h
+ *
+ * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk>
+ *		      http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+
+#ifndef ___ASM_ARCH_REGS_LCD_H
+#define ___ASM_ARCH_REGS_LCD_H
+
+#include <plat/map-base.h>
+
+/***************************************************************************/
+/* LCD Registers for S3C2443/2450/S3C6400/6410 */
+#define S3C_LCDREG(x)		((x) + S3C_VA_LCD)
+
+/* LCD control registers */
+#define S3C_VIDCON0		S3C_LCDREG(0x00)  	/* Video control 0 register */
+#define S3C_VIDCON1		S3C_LCDREG(0x04)  	/* Video control 1 register */
+
+#if defined(CONFIG_CPU_S3C2443)||defined(CONFIG_CPU_S3C2450) || defined(CONFIG_CPU_S3C2416)
+#define S3C_VIDTCON0		S3C_LCDREG(0x08)  	/* LCD CONTROL 1 */
+#define S3C_VIDTCON1		S3C_LCDREG(0x0C)  	/* LCD CONTROL 1 */
+#define S3C_VIDTCON2		S3C_LCDREG(0x10) 	/* LCD CONTROL 1 */
+#define S3C_WINCON0		S3C_LCDREG(0x14)  	/* LCD CONTROL 1 */
+#define S3C_WINCON1		S3C_LCDREG(0x18)  	/* LCD CONTROL 1 */
+#define S3C_VIDOSD0A		S3C_LCDREG(0x28)  	/* LCD CONTROL 1 */
+#define S3C_VIDOSD0B		S3C_LCDREG(0x2C)  	/* LCD CONTROL 1 */
+#define S3C_VIDOSD0C		S3C_LCDREG(0x30)  	/* LCD CONTROL 1 */
+#define S3C_VIDOSD1A		S3C_LCDREG(0x34)  	/* LCD CONTROL 1 */
+#define S3C_VIDOSD1B		S3C_LCDREG(0x38)  	/* LCD CONTROL 1 */
+#define S3C_VIDOSD1C		S3C_LCDREG(0x3C)  	/* LCD CONTROL 1 */
+#define S3C_VIDW00ADD0B0	S3C_LCDREG(0x64)  	/* LCD CONTROL 1 */
+#define S3C_VIDW00ADD0B1	S3C_LCDREG(0x68)  	/* LCD CONTROL 1 */
+#define S3C_VIDW01ADD0		S3C_LCDREG(0x6C)  	/* LCD CONTROL 1 */
+#define S3C_VIDW00ADD1B0	S3C_LCDREG(0x7C)  	/* LCD CONTROL 1 */
+#define S3C_VIDW00ADD1B1	S3C_LCDREG(0x80)  	/* LCD CONTROL 1 */
+#define S3C_VIDW01ADD1		S3C_LCDREG(0x84)  	/* LCD CONTROL 1 */
+#define S3C_VIDW00ADD2B0	S3C_LCDREG(0x94)  	/* LCD CONTROL 1 */
+#define S3C_VIDW00ADD2B1	S3C_LCDREG(0x98)  	/* LCD CONTROL 1 */
+#define S3C_VIDW01ADD2		S3C_LCDREG(0x9C)  	/* LCD CONTROL 1 */
+#define S3C_VIDINTCON		S3C_LCDREG(0xAC)  	/* LCD CONTROL 1 */
+#define S3C_W1KEYCON0		S3C_LCDREG(0xB0)  	/* LCD CONTROL 1 */
+#define S3C_W1KEYCON1		S3C_LCDREG(0xB4)  	/* LCD CONTROL 1 */
+#define S3C_WIN0MAP		S3C_LCDREG(0xD0)  	/* LCD CONTROL 1 */
+#define S3C_WIN1MAP		S3C_LCDREG(0xD4)  	/* LCD CONTROL 1 */
+#define S3C_WPALCON		S3C_LCDREG(0xE4)  	/* LCD CONTROL 1 */
+#define S3C_SYSIFCON0		S3C_LCDREG(0x130)  	/* LCD CONTROL 1 */
+#define S3C_SYSIFCON1		S3C_LCDREG(0x134)  	/* LCD CONTROL 1 */
+#define S3C_DITHMODE		S3C_LCDREG(0x138)  	/* LCD CONTROL 1 */
+#define S3C_SIFCCON0		S3C_LCDREG(0x13C)  	/* LCD CONTROL 1 */
+#define S3C_SIFCCON1		S3C_LCDREG(0x140)  	/* LCD CONTROL 1 */
+#define S3C_SIFCCON2		S3C_LCDREG(0x144)  	/* LCD CONTROL 1 */
+#define S3C_CPUTRIGCON2		S3C_LCDREG(0x160)  	/* LCD CONTROL 1 */
+
+#elif defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410) || defined(CONFIG_CPU_S5P6440) || defined(CONFIG_CPU_S5PC100)
+#define S3C_VIDCON2		S3C_LCDREG(0x08)  	/* Video control 2 register */
+#define S3C_VIDTCON0		S3C_LCDREG(0x10)  	/* Video time control 0 register */
+#define S3C_VIDTCON1		S3C_LCDREG(0x14)  	/* Video time control 1 register */
+#define S3C_VIDTCON2		S3C_LCDREG(0x18)  	/* Video time control 2 register */
+#define S3C_VIDTCON3		S3C_LCDREG(0x1C)  	/* Video time control 3 register */
+
+#define S3C_WINCON0		S3C_LCDREG(0x20)  	/* Window control 0 register */
+#define S3C_WINCON1		S3C_LCDREG(0x24)  	/* Window control 1 register */
+#define S3C_WINCON2		S3C_LCDREG(0x28)  	/* Window control 2 register */
+#define S3C_WINCON3		S3C_LCDREG(0x2C)  	/* Window control 3 register */
+#define S3C_WINCON4		S3C_LCDREG(0x30)  	/* Window control 4 register*/
+
+
+#define S3C_VIDOSD0A		S3C_LCDREG(0x40)  	/* Video Window 0 position control register */
+#define S3C_VIDOSD0B		S3C_LCDREG(0x44)  	/* Video Window 0 position control register1 */
+#define S3C_VIDOSD0C		S3C_LCDREG(0x48)  	/* Video Window 0 position control register */
+
+#define S3C_VIDOSD1A		S3C_LCDREG(0x50)  	/* Video Window 1 position control register */
+#define S3C_VIDOSD1B		S3C_LCDREG(0x54)  	/* Video Window 1 position control register */
+#define S3C_VIDOSD1C		S3C_LCDREG(0x58)  	/* Video Window 1 position control register */
+#define S3C_VIDOSD1D		S3C_LCDREG(0x5C)  	/* Video Window 1 position control register */
+
+#define S3C_VIDOSD2A		S3C_LCDREG(0x60)  	/* Video Window 2 position control register */
+#define S3C_VIDOSD2B		S3C_LCDREG(0x64)  	/* Video Window 2 position control register */
+#define S3C_VIDOSD2C		S3C_LCDREG(0x68)  	/* Video Window 2 position control register */
+#define S3C_VIDOSD2D		S3C_LCDREG(0x6C)  	/* Video Window 2 position control register */
+
+#define S3C_VIDOSD3A		S3C_LCDREG(0x70)  	/* Video Window 3 position control register */
+#define S3C_VIDOSD3B		S3C_LCDREG(0x74)  	/* Video Window 3 position control register */
+#define S3C_VIDOSD3C		S3C_LCDREG(0x78)  	/* Video Window 3 position control register */
+
+#define S3C_VIDOSD4A		S3C_LCDREG(0x80)  	/* Video Window 4 position control register */
+#define S3C_VIDOSD4B		S3C_LCDREG(0x84)  	/* Video Window 4 position control register */
+#define S3C_VIDOSD4C		S3C_LCDREG(0x88)  	/* Video Window 4 position control register */
+
+#define S3C_VIDW00ADD2B0	S3C_LCDREG(0x94)  	/* LCD CONTROL 1 */
+#define S3C_VIDW00ADD2B1	S3C_LCDREG(0x98)  	/* LCD CONTROL 1 */
+
+#define S3C_VIDW00ADD0B0	S3C_LCDREG(0x0A0) 	/* Window 0 buffer start address register, buffer 0 */
+#define S3C_VIDW00ADD0B1	S3C_LCDREG(0x0A4) 	/* Window 0 buffer start address register, buffer 1 */
+#define S3C_VIDW01ADD0B0	S3C_LCDREG(0x0A8) 	/* Window 1 buffer start address register, buffer 0 */
+#define S3C_VIDW01ADD0B1	S3C_LCDREG(0x0AC) 	/* Window 1 buffer start address register, buffer 1 */
+#define S3C_VIDW02ADD0		S3C_LCDREG(0x0B0) 	/* Window 2 buffer start address register */
+#define S3C_VIDW03ADD0		S3C_LCDREG(0x0B8) 	/* Window 3 buffer start address register */
+#define S3C_VIDW04ADD0		S3C_LCDREG(0x0C0) 	/* Window 4 buffer start address register */
+#define S3C_VIDW00ADD1B0	S3C_LCDREG(0x0D0) 	/* Window 0 buffer end address register, buffer 0 */
+#define S3C_VIDW00ADD1B1	S3C_LCDREG(0x0D4) 	/* Window 0 buffer end address register, buffer 1 */
+#define S3C_VIDW01ADD1B0	S3C_LCDREG(0x0D8) 	/* Window 1 buffer end address register, buffer 0 */
+#define S3C_VIDW01ADD1B1	S3C_LCDREG(0x0DC) 	/* Window 1 buffer end address register, buffer 1 */
+#define S3C_VIDW02ADD1		S3C_LCDREG(0x0E0) 	/* Window 2 buffer end address register */
+#define S3C_VIDW03ADD1		S3C_LCDREG(0x0E8) 	/* Window 3 buffer end address register */
+#define S3C_VIDW04ADD1		S3C_LCDREG(0x0F0) 	/* Window 4 buffer end address register */
+#define S3C_VIDW00ADD2		S3C_LCDREG(0x100) 	/* Window 0 buffer size register */
+#define S3C_VIDW01ADD2		S3C_LCDREG(0x104) 	/* Window 1 buffer size register */
+
+#define S3C_VIDW02ADD2		S3C_LCDREG(0x108) 	/* Window 2 buffer size register */
+#define S3C_VIDW03ADD2		S3C_LCDREG(0x10C) 	/* Window 3 buffer size register */
+#define S3C_VIDW04ADD2		S3C_LCDREG(0x110) 	/* Window 4 buffer size register */
+
+#define S3C_VIDINTCON0		S3C_LCDREG(0x130)	/* Indicate the Video interrupt control register */
+#define S3C_VIDINTCON1		S3C_LCDREG(0x134) 	/* Video Interrupt Pending register */
+#define S3C_W1KEYCON0		S3C_LCDREG(0x140) 	/* Color key control register */
+#define S3C_W1KEYCON1		S3C_LCDREG(0x144) 	/* Color key value ( transparent value) register */
+#define S3C_W2KEYCON0		S3C_LCDREG(0x148) 	/* Color key control register */
+#define S3C_W2KEYCON1		S3C_LCDREG(0x14C) 	/* Color key value (transparent value) register */
+
+#define S3C_W3KEYCON0		S3C_LCDREG(0x150)	/* Color key control register	*/
+#define S3C_W3KEYCON1		S3C_LCDREG(0x154)	/* Color key value (transparent value) register	*/
+#define S3C_W4KEYCON0		S3C_LCDREG(0x158)	/* Color key control register	*/
+#define S3C_W4KEYCON1		S3C_LCDREG(0x15C)	/* Color key value (transparent value) register	*/
+#define S3C_DITHMODE		S3C_LCDREG(0x170)	/* Dithering mode register.	*/
+
+#define S3C_WIN0MAP		S3C_LCDREG(0x180)	/* Window color control	*/
+#define S3C_WIN1MAP		S3C_LCDREG(0x184)	/* Window color control	*/
+#define S3C_WIN2MAP		S3C_LCDREG(0x188)	/* Window color control	*/
+#define S3C_WIN3MAP		S3C_LCDREG(0x18C)	/* Window color control	*/
+#define S3C_WIN4MAP		S3C_LCDREG(0x190)	/* Window color control	*/
+#define S3C_WPALCON		S3C_LCDREG(0x1A0)	/* Window Palette control register	*/
+
+#define S3C_TRIGCON		S3C_LCDREG(0x1A4)	/* I80 / RGB Trigger Control Regiter	*/
+#define S3C_I80IFCONA0		S3C_LCDREG(0x1B0)	/* I80 Interface control 0 for Main LDI	*/
+#define S3C_I80IFCONA1		S3C_LCDREG(0x1B4)	/* I80 Interface control 0 for Sub LDI	*/
+#define S3C_I80IFCONB0		S3C_LCDREG(0x1B8)	/* I80 Inteface control 1 for Main LDI	*/
+#define S3C_I80IFCONB1		S3C_LCDREG(0x1BC)	/* I80 Inteface control 1 for Sub LDI	*/
+#define S3C_LDI_CMDCON0		S3C_LCDREG(0x1D0)	/* I80 Interface LDI Command Control 0	*/
+#define S3C_LDI_CMDCON1		S3C_LCDREG(0x1D4)	/* I80 Interface LDI Command Control 1	*/
+#define S3C_SIFCCON0		S3C_LCDREG(0x1E0)	/* LCD i80 System Interface Command Control 0	*/
+#define S3C_SIFCCON1		S3C_LCDREG(0x1E4)	/* LCD i80 System Interface Command Control 1	*/
+#define S3C_SIFCCON2		S3C_LCDREG(0x1E8)	/* LCD i80 System Interface Command Control 2	*/
+
+#define S3C_LDI_CMD0		S3C_LCDREG(0x280)	/* I80 Inteface LDI Command 0	*/
+#define S3C_LDI_CMD1		S3C_LCDREG(0x284)	/* I80 Inteface LDI Command 1	*/
+#define S3C_LDI_CMD2		S3C_LCDREG(0x288)	/* I80 Inteface LDI Command 2	*/
+#define S3C_LDI_CMD3		S3C_LCDREG(0x28C)	/* I80 Inteface LDI Command 3	*/
+#define S3C_LDI_CMD4		S3C_LCDREG(0x290)	/* I80 Inteface LDI Command 4	*/
+#define S3C_LDI_CMD5		S3C_LCDREG(0x294)	/* I80 Inteface LDI Command 5	*/
+#define S3C_LDI_CMD6		S3C_LCDREG(0x298)	/* I80 Inteface LDI Command 6	*/
+#define S3C_LDI_CMD7		S3C_LCDREG(0x29C)	/* I80 Inteface LDI Command 7	*/
+#define S3C_LDI_CMD8		S3C_LCDREG(0x2A0)	/* I80 Inteface LDI Command 8	*/
+#define S3C_LDI_CMD9		S3C_LCDREG(0x2A4)	/* I80 Inteface LDI Command 9	*/
+#define S3C_LDI_CMD10		S3C_LCDREG(0x2A8)	/* I80 Inteface LDI Command 10	*/
+#define S3C_LDI_CMD11		S3C_LCDREG(0x2AC)	/* I80 Inteface LDI Command 11	*/
+
+#define S3C_W2PDATA01		S3C_LCDREG(0x300)	/* Window 2 Palette Data of the Index 0,1	*/
+#define S3C_W2PDATA23		S3C_LCDREG(0x304)	/* Window 2 Palette Data of the Index 2,3	*/
+#define S3C_W2PDATA45		S3C_LCDREG(0x308)	/* Window 2 Palette Data of the Index 4,5	*/
+#define S3C_W2PDATA67		S3C_LCDREG(0x30C)	/* Window 2 Palette Data of the Index 6,7	*/
+#define S3C_W2PDATA89		S3C_LCDREG(0x310)	/* Window 2 Palette Data of the Index 8,9	*/
+#define S3C_W2PDATAAB		S3C_LCDREG(0x314)	/* Window 2 Palette Data of the Index A, B	*/
+#define S3C_W2PDATACD		S3C_LCDREG(0x318)	/* Window 2 Palette Data of the Index C, D	*/
+#define S3C_W2PDATAEF		S3C_LCDREG(0x31C)	/* Window 2 Palette Data of the Index E, F	*/
+#define S3C_W3PDATA01		S3C_LCDREG(0x320)	/* Window 3 Palette Data of the Index 0,1	*/
+#define S3C_W3PDATA23		S3C_LCDREG(0x324)	/* Window 3 Palette Data of the Index 2,3	*/
+#define S3C_W3PDATA45		S3C_LCDREG(0x328)	/* Window 3 Palette Data of the Index 4,5	*/
+#define S3C_W3PDATA67		S3C_LCDREG(0x32C)	/* Window 3 Palette Data of the Index 6,7	*/
+#define S3C_W3PDATA89		S3C_LCDREG(0x330)	/* Window 3 Palette Data of the Index 8,9	*/
+#define S3C_W3PDATAAB		S3C_LCDREG(0x334)	/* Window 3 Palette Data of the Index A, B	*/
+#define S3C_W3PDATACD		S3C_LCDREG(0x338)	/* Window 3 Palette Data of the Index C, D	*/
+#define S3C_W3PDATAEF		S3C_LCDREG(0x33C)	/* Window 3 Palette Data of the Index E, F	*/
+#define S3C_W4PDATA01		S3C_LCDREG(0x340)	/* Window 3 Palette Data of the Index 0,1	*/
+#define S3C_W4PDATA23		S3C_LCDREG(0x344)	/* Window 3 Palette Data of the Index 2,3	*/
+#endif
+
+#define S3C_TFTPAL2(x)		S3C_LCDREG((0x300 + (x)*4))
+#define S3C_TFTPAL3(x) 		S3C_LCDREG((0x320 + (x)*4))
+#define S3C_TFTPAL4(x)		S3C_LCDREG((0x340 + (x)*4))
+#define S3C_TFTPAL0(x)		S3C_LCDREG((0x400 + (x)*4))
+#define S3C_TFTPAL1(x)		S3C_LCDREG((0x800 + (x)*4))
+
+/*--------------------------------------------------------------*/
+/* Video Main Control 0 register - VIDCON0 */
+#define S3C_VIDCON0_INTERLACE_F_PROGRESSIVE		(0<<29)
+#define S3C_VIDCON0_INTERLACE_F_INTERLACE		(1<<29)
+#define S3C_VIDCON0_INTERLACE_F_MASK			(1<<29)
+#define S3C_VIDCON0_VIDOUT(x)  				(((x)&0x7)<<26)
+#define S3C_VIDCON0_VIDOUT_RGB_IF			(0<<26)
+#define S3C_VIDCON0_VIDOUT_TV				(1<<26)
+#define S3C_VIDCON0_VIDOUT_I80IF0			(2<<26)
+#define S3C_VIDCON0_VIDOUT_I80IF1			(3<<26)
+#define S3C_VIDCON0_VIDOUT_TVNRGBIF 			(4<<26)
+#define S3C_VIDCON0_VIDOUT_TVNI80IF0			(6<<26)
+#define S3C_VIDCON0_VIDOUT_TVNI80IF1			(7<<26)
+#define S3C_VIDCON0_VIDOUT_MASK				(7<<26)
+#define S3C_VIDCON0_L1_DATA16(x)  			(((x)&0x7)<<23)
+#define S3C_VIDCON0_L1_DATA16_SUB_16_MODE		(0<<23)
+#define S3C_VIDCON0_L1_DATA16_SUB_16PLUS2_MODE		(1<<23)
+#define S3C_VIDCON0_L1_DATA16_SUB_9PLUS9_MODE 		(2<<23)
+#define S3C_VIDCON0_L1_DATA16_SUB_16PLUS8_MODE		(3<<23)
+#define S3C_VIDCON0_L1_DATA16_SUB_18_MODE		(4<<23)
+#define S3C_VIDCON0_L0_DATA16(x)  			(((x)&0x7)<<20)
+#define S3C_VIDCON0_L0_DATA16_MAIN_16_MODE		(0<<20)
+#define S3C_VIDCON0_L0_DATA16_MAIN_16PLUS2_MODE		(1<<20)
+#define S3C_VIDCON0_L0_DATA16_MAIN_9PLUS9_MODE		(2<<20)
+#define S3C_VIDCON0_L0_DATA16_MAIN_16PLUS8_MODE		(3<<20)
+#define S3C_VIDCON0_L0_DATA16_MAIN_18_MODE		(4<<20)
+#define S3C_VIDCON0_PNRMODE(x)  			(((x)&0x3)<<17)
+#define S3C_VIDCON0_PNRMODE_RGB_P			(0<<17)
+#define S3C_VIDCON0_PNRMODE_BGR_P			(1<<17)
+#define S3C_VIDCON0_PNRMODE_RGB_S			(2<<17)
+#define S3C_VIDCON0_PNRMODE_BGR_S			(3<<17)
+#define S3C_VIDCON0_PNRMODE_MASK			(3<<17)
+#define S3C_VIDCON0_CLKVALUP_ALWAYS 			(0<<16)
+#define S3C_VIDCON0_CLKVALUP_ST_FRM 			(1<<16)
+#define S3C_VIDCON0_CLKVAL_F(x)				(((x)&0xFF)<<6)
+#define S3C_VIDCON0_VCLKEN_ENABLE			(1<<5)
+#define S3C_VIDCON0_CLKDIR_DIVIDED   			(1<<4)
+#define S3C_VIDCON0_CLKDIR_DIRECTED  			(0<<4)
+#define S3C_VIDCON0_CLKSEL(x)   			(((x)&0x3)<<2)
+#define S3C_VIDCON0_CLKSEL_F_HCLK	  		(0<<2)
+#define S3C_VIDCON0_ENVID_ENABLE	    		(1 << 1)	/* 0:Disable 1:Enable LCD video output and logic immediatly */
+#define S3C_VIDCON0_ENVID_DISABLE	    		(0 << 1)	/* 0:Disable 1:Enable LCD video output and logic immediatly */
+#define S3C_VIDCON0_ENVID_F_ENABLE     			(1 << 0)	/* 0:Dis 1:Ena wait until Current frame end. */
+#define S3C_VIDCON0_ENVID_F_DISABLE     		(0 << 0)	/* 0:Dis 1:Ena wait until Current frame end. */
+
+/* Video Main Control 1 register - VIDCON1 */
+#define S3C_VIDCON1_IVCLK_FALL_EDGE 			(0<<7)
+#define S3C_VIDCON1_IVCLK_RISE_EDGE 			(1<<7)
+#define S3C_VIDCON1_IHSYNC_NORMAL			(0<<6)
+#define S3C_VIDCON1_IHSYNC_INVERT			(1<<6)
+#define S3C_VIDCON1_IVSYNC_NORMAL			(0<<5)
+#define S3C_VIDCON1_IVSYNC_INVERT			(1<<5)
+#define S3C_VIDCON1_IVDEN_NORMAL			(0<<4)
+#define S3C_VIDCON1_IVDEN_INVERT			(1<<4)
+
+/* Video Main Control 2 register - VIDCON2 */
+#define S3C_VIDCON2_EN601_DISABLE			(0<<23)
+#define S3C_VIDCON2_EN601_ENABLE			(1<<23)
+#define S3C_VIDCON2_EN601_MASK				(1<<23)
+#define S3C_VIDCON2_TVFORMATSEL0_HARDWARE		(0<<14)
+#define S3C_VIDCON2_TVFORMATSEL0_SOFTWARE		(1<<14)
+#define S3C_VIDCON2_TVFORMATSEL0_MASK			(1<<14)
+#define S3C_VIDCON2_TVFORMATSEL1_RGB			(0<<12)
+#define S3C_VIDCON2_TVFORMATSEL1_YUV422			(1<<12)
+#define S3C_VIDCON2_TVFORMATSEL1_YUV444			(2<<12)
+#define S3C_VIDCON2_TVFORMATSEL1_MASK			(0x3<<12)
+#define S3C_VIDCON2_ORGYUV_YCBCR			(0<<8)
+#define S3C_VIDCON2_ORGYUV_CBCRY			(1<<8)
+#define S3C_VIDCON2_ORGYUV_MASK				(1<<8)
+#define S3C_VIDCON2_YUVORD_CBCR				(0<<7)
+#define S3C_VIDCON2_YUVORD_CRCB				(1<<7)
+#define S3C_VIDCON2_YUVORD_MASK				(1<<7)
+
+/* VIDEO Time Control 0 register - VIDTCON0 */
+#define S3C_VIDTCON0_VBPDE(x)				(((x)&0xFF)<<24)
+#define S3C_VIDTCON0_VBPD(x)				(((x)&0xFF)<<16)
+#define S3C_VIDTCON0_VFPD(x) 				(((x)&0xFF)<<8)
+#define S3C_VIDTCON0_VSPW(x) 				(((x)&0xFF)<<0)
+
+/* VIDEO Time Control 1 register - VIDTCON1 */
+#define S3C_VIDTCON1_VFPDE(x)				(((x)&0xFF)<<24)
+#define S3C_VIDTCON1_HBPD(x) 				(((x)&0xFF)<<16)
+#define S3C_VIDTCON1_HFPD(x) 				(((x)&0xFF)<<8)
+#define S3C_VIDTCON1_HSPW(x) 				(((x)&0xFF)<<0)
+
+/* VIDEO Time Control 2 register - VIDTCON2 */
+#define S3C_VIDTCON2_LINEVAL(x)  			(((x)&0x7FF)<<11) /* these bits determine the vertical size of lcd panel */
+#define S3C_VIDTCON2_HOZVAL(x)   			(((x)&0x7FF)<<0) /* these bits determine the horizontal size of lcd panel*/
+
+
+/* Window 0~4 Control register - WINCONx */
+#define S3C_WINCONx_WIDE_NARROW(x)			(((x)&0x3)<<26)
+#define S3C_WINCONx_ENLOCAL_DMA				(0<<22)
+#define S3C_WINCONx_ENLOCAL				(1<<22)
+#define S3C_WINCONx_ENLOCAL_MASK			(1<<22)
+#define S3C_WINCONx_BUFSEL_0				(0<<20)
+#define S3C_WINCONx_BUFSEL_1				(1<<20)
+#define S3C_WINCONx_BUFSEL_MASK				(1<<20)
+#define S3C_WINCONx_BUFAUTOEN_DISABLE			(0<<19)
+#define S3C_WINCONx_BUFAUTOEN_ENABLE			(1<<19)
+#define S3C_WINCONx_BUFAUTOEN_MASK			(1<<19)
+#define S3C_WINCONx_BITSWP_DISABLE			(0<<18)
+#define S3C_WINCONx_BITSWP_ENABLE			(1<<18)
+#define S3C_WINCONx_BYTSWP_DISABLE			(0<<17)
+#define S3C_WINCONx_BYTSWP_ENABLE			(1<<17)
+#define S3C_WINCONx_HAWSWP_DISABLE			(0<<16)
+#define S3C_WINCONx_HAWSWP_ENABLE			(1<<16)
+#define S3C_WINCONx_WSWP_DISABLE			(0<<15)
+#define S3C_WINCONx_WSWP_ENABLE				(1<<15)
+#define S3C_WINCONx_INRGB_RGB		   		(0<<13)
+#define S3C_WINCONx_INRGB_YUV		 		(1<<13)
+#define S3C_WINCONx_INRGB_MASK				(1<<13)
+#define S3C_WINCONx_BURSTLEN_16WORD			(0<<9)
+#define S3C_WINCONx_BURSTLEN_8WORD			(1<<9)
+#define S3C_WINCONx_BURSTLEN_4WORD			(2<<9)
+#define S3C_WINCONx_BLD_PIX_PLANE			(0<<6)
+#define S3C_WINCONx_BLD_PIX_PIXEL			(1<<6)
+#define S3C_WINCONx_BLD_PIX_MASK			(1<<6)
+#define S3C_WINCONx_BPPMODE_F_1BPP			(0<<2)
+#define S3C_WINCONx_BPPMODE_F_2BPP			(1<<2)
+#define S3C_WINCONx_BPPMODE_F_4BPP			(2<<2)
+#define S3C_WINCONx_BPPMODE_F_8BPP_PAL			(3<<2)
+#define S3C_WINCONx_BPPMODE_F_8BPP_NOPAL		(4<<2)
+#define S3C_WINCONx_BPPMODE_F_16BPP_565			(5<<2)
+#define S3C_WINCONx_BPPMODE_F_16BPP_A555		(6<<2)
+#define S3C_WINCONx_BPPMODE_F_18BPP_666			(8<<2)
+#define S3C_WINCONx_BPPMODE_F_24BPP_888			(11<<2)
+#define S3C_WINCONx_BPPMODE_F_24BPP_A887		(0xc<<2)
+#define S3C_WINCONx_BPPMODE_F_25BPP_A888		(0xd<<2)
+#define S3C_WINCONx_BPPMODE_F_28BPP_A888		(0xd<<2)
+#define S3C_WINCONx_BPPMODE_F_MASK			(0xf<<2)
+#define S3C_WINCONx_ALPHA_SEL_0				(0<<1)
+#define S3C_WINCONx_ALPHA_SEL_1				(1<<1)
+#define S3C_WINCONx_ALPHA_SEL_MASK			(1<<1)
+#define S3C_WINCONx_ENWIN_F_DISABLE 			(0<<0)
+#define S3C_WINCONx_ENWIN_F_ENABLE			(1<<0)
+
+/* Window 1-2 Control register - WINCON1 */
+#define S3C_WINCON1_LOCALSEL_TV				(0<<23)
+#define S3C_WINCON1_LOCALSEL_CAMERA			(1<<23)
+#define S3C_WINCON1_LOCALSEL_MASK			(1<<23)
+#define S3C_WINCON2_LOCALSEL_TV				(0<<23)
+#define S3C_WINCON2_LOCALSEL_CAMERA			(1<<23)
+#define S3C_WINCON2_LOCALSEL_MASK			(1<<23)
+
+/* Window 0~4 Position Control A register - VIDOSDxA */
+#define S3C_VIDOSDxA_OSD_LTX_F(x)			(((x)&0x7FF)<<11)
+#define S3C_VIDOSDxA_OSD_LTY_F(x)			(((x)&0x7FF)<<0)
+
+/* Window 0~4 Position Control B register - VIDOSDxB */
+#define S3C_VIDOSDxB_OSD_RBX_F(x)			(((x)&0x7FF)<<11)
+#define S3C_VIDOSDxB_OSD_RBY_F(x)			(((x)&0x7FF)<<0)
+
+/* Window 0 Position Control C register - VIDOSD0C */
+#define  S3C_VIDOSD0C_OSDSIZE(x)			(((x)&0xFFFFFF)<<0)
+
+/* Window 1~4 Position Control C register - VIDOSDxC */
+#define S3C_VIDOSDxC_ALPHA0_R(x)			(((x)&0xF)<<20)
+#define S3C_VIDOSDxC_ALPHA0_G(x)			(((x)&0xF)<<16)
+#define S3C_VIDOSDxC_ALPHA0_B(x)			(((x)&0xF)<<12)
+#define S3C_VIDOSDxC_ALPHA1_R(x)			(((x)&0xF)<<8)
+#define S3C_VIDOSDxC_ALPHA1_G(x)			(((x)&0xF)<<4)
+#define S3C_VIDOSDxC_ALPHA1_B(x)			(((x)&0xF)<<0)
+
+/* Window 1~2 Position Control D register - VIDOSDxD */
+#define  S3C_VIDOSDxD_OSDSIZE(x)			(((x)&0xFFFFFF)<<0)
+
+/* Frame buffer Start Address register - VIDWxxADD0 */
+#define S3C_VIDWxxADD0_VBANK_F(x) 			(((x)&0xFF)<<23) /* the end address of the LCD frame buffer. */
+#define S3C_VIDWxxADD0_VBASEU_F(x)			(((x)&0xFFFFFF)<<0) /* Virtual screen offset size (the number of byte). */
+
+/* Frame buffer End Address register - VIDWxxADD1 */
+#define S3C_VIDWxxADD1_VBASEL_F(x) 			(((x)&0xFFFFFF)<<0)  /* the end address of the LCD frame buffer. */
+
+/* Frame buffer Size register - VIDWxxADD2 */
+#define S3C_VIDWxxADD2_OFFSIZE_F(x)  			(((x)&0x1FFF)<<13) /* Virtual screen offset size (the number of byte). */
+#define S3C_VIDWxxADD2_PAGEWIDTH_F(x)			(((x)&0x1FFF)<<0) /* Virtual screen page width (the number of byte). */
+
+/* VIDEO Interrupt Control 0 register - VIDINTCON0 */
+#define S3C_VIDINTCON0_FIFOINTERVAL(x)			(((x)&0x3F)<<20)
+#define S3C_VIDINTCON0_SYSMAINCON_DISABLE		(0<<19)
+#define S3C_VIDINTCON0_SYSMAINCON_ENABLE		(1<<19)
+#define S3C_VIDINTCON0_SYSSUBCON_DISABLE		(0<<18)
+#define S3C_VIDINTCON0_SYSSUBCON_ENABLE			(1<<18)
+#define S3C_VIDINTCON0_SYSIFDONE_DISABLE		(0<<17)
+#define S3C_VIDINTCON0_SYSIFDONE_ENABLE			(1<<17)
+#define S3C_VIDINTCON0_FRAMESEL0_BACK			(0<<15)
+#define S3C_VIDINTCON0_FRAMESEL0_VSYNC 			(1<<15)
+#define S3C_VIDINTCON0_FRAMESEL0_ACTIVE			(2<<15)
+#define S3C_VIDINTCON0_FRAMESEL0_FRONT 			(3<<15)
+#define S3C_VIDINTCON0_FRAMESEL0_MASK 			(3<<15)
+#define S3C_VIDINTCON0_FRAMESEL1_NONE			(0<<13)
+#define S3C_VIDINTCON0_FRAMESEL1_BACK			(1<<13)
+#define S3C_VIDINTCON0_FRAMESEL1_VSYNC 			(2<<13)
+#define S3C_VIDINTCON0_FRAMESEL1_FRONT 			(3<<13)
+#define S3C_VIDINTCON0_INTFRMEN_DISABLE			(0<<12)
+#define S3C_VIDINTCON0_INTFRMEN_ENABLE 			(1<<12)
+#define S3C_VIDINTCON0_FRAMEINT_MASK			(0x1F<<12)
+#define S3C_VIDINTCON0_FIFOSEL_WIN4			(1<<11)
+#define S3C_VIDINTCON0_FIFOSEL_WIN3			(1<<10)
+#define S3C_VIDINTCON0_FIFOSEL_WIN2			(1<<9)
+#define S3C_VIDINTCON0_FIFOSEL_WIN1			(1<<6)
+#define S3C_VIDINTCON0_FIFOSEL_WIN0			(1<<5)
+#define S3C_VIDINTCON0_FIFOSEL_ALL			(0x73<<5)
+#define S3C_VIDINTCON0_FIFOLEVEL_25			(0<<2)
+#define S3C_VIDINTCON0_FIFOLEVEL_50			(1<<2)
+#define S3C_VIDINTCON0_FIFOLEVEL_75			(2<<2)
+#define S3C_VIDINTCON0_FIFOLEVEL_EMPTY 			(3<<2)
+#define S3C_VIDINTCON0_FIFOLEVEL_FULL			(4<<2)
+#define S3C_VIDINTCON0_INTFIFOEN_DISABLE		(0<<1)
+#define S3C_VIDINTCON0_INTFIFOEN_ENABLE			(1<<1)
+#define S3C_VIDINTCON0_INTEN_DISABLE			(0<<0)
+#define S3C_VIDINTCON0_INTEN_ENABLE			(1<<0)
+#define S3C_VIDINTCON0_INTEN_MASK			(1<<0)
+
+/* VIDEO Interrupt Control 1 register - VIDINTCON1 */
+#define S3C_VIDINTCON1_INTI80PEND			(0<<2)
+#define S3C_VIDINTCON1_INTFRMPEND			(1<<1)
+#define S3C_VIDINTCON1_INTFIFOPEND			(1<<0)
+
+/* WIN 1~4 Color Key 0 register - WxKEYCON0 */
+#define S3C_WxKEYCON0_KEYBLEN_DISABLE 			(0<<26)
+#define S3C_WxKEYCON0_KEYBLEN_ENABLE			(1<<26)
+#define S3C_WxKEYCON0_KEYEN_F_DISABLE 			(0<<25)
+#define S3C_WxKEYCON0_KEYEN_F_ENABLE			(1<<25)
+#define S3C_WxKEYCON0_DIRCON_MATCH_FG_IMAGE		(0<<24)
+#define S3C_WxKEYCON0_DIRCON_MATCH_BG_IMAGE		(1<<24)
+#define S3C_WxKEYCON0_COMPKEY(x)			(((x)&0xFFFFFF)<<0)
+
+/* WIN 1~4 Color Key 1 register - WxKEYCON1 */
+#define S3C_WxKEYCON1_COLVAL(x)				(((x)&0xFFFFFF)<<0)
+
+/* Dithering Control 1 register - DITHMODE */
+#define S3C_DITHMODE_RDITHPOS_8BIT			(0<<5)
+#define S3C_DITHMODE_RDITHPOS_6BIT			(1<<5)
+#define S3C_DITHMODE_RDITHPOS_5BIT			(2<<5)
+#define S3C_DITHMODE_GDITHPOS_8BIT			(0<<3)
+#define S3C_DITHMODE_GDITHPOS_6BIT			(1<<3)
+#define S3C_DITHMODE_GDITHPOS_5BIT			(2<<3)
+#define S3C_DITHMODE_BDITHPOS_8BIT			(0<<1)
+#define S3C_DITHMODE_BDITHPOS_6BIT			(1<<1)
+#define S3C_DITHMODE_BDITHPOS_5BIT			(2<<1)
+#define S3C_DITHMODE_RGB_DITHPOS_MASK			(0x3f<<1)
+#define S3C_DITHMODE_DITHERING_DISABLE			(0<<0)
+#define S3C_DITHMODE_DITHERING_ENABLE			(1<<0)
+#define S3C_DITHMODE_DITHERING_MASK			(1<<0)
+
+/* Window 0~4 Color map register - WINxMAP */
+#define S3C_WINxMAP_MAPCOLEN_F_ENABLE			(1<<24)
+#define S3C_WINxMAP_MAPCOLEN_F_DISABLE			(0<<24)
+#define S3C_WINxMAP_MAPCOLOR				(((x)&0xFFFFFF)<<0)
+
+/* Window Palette Control register - WPALCON */
+#define S3C_WPALCON_PALUPDATEEN				(1<<9)
+#define S3C_WPALCON_W4PAL_16BIT_A	 		(1<<8)		/* A:5:5:5 */
+#define S3C_WPALCON_W4PAL_16BIT	 			(0<<8)		/*  5:6:5 */
+#define S3C_WPALCON_W3PAL_16BIT_A	 		(1<<7)		/* A:5:5:5 */
+#define S3C_WPALCON_W3PAL_16BIT	 			(0<<7)		/*  5:6:5 */
+#define S3C_WPALCON_W2PAL_16BIT_A	 		(1<<6)		/* A:5:5:5 */
+#define S3C_WPALCON_W2PAL_16BIT	 			(0<<6)		/*  5:6:5 */
+#define S3C_WPALCON_W1PAL_25BIT_A	 		(0<<3)		/* A:8:8:8 */
+#define S3C_WPALCON_W1PAL_24BIT				(1<<3)		/*  8:8:8 */
+#define S3C_WPALCON_W1PAL_19BIT_A			(2<<3)		/* A:6:6:6 */
+#define S3C_WPALCON_W1PAL_18BIT_A	 		(3<<3)		/* A:6:6:5 */
+#define S3C_WPALCON_W1PAL_18BIT				(4<<3)		/*  6:6:6 */
+#define S3C_WPALCON_W1PAL_16BIT_A	 		(5<<3)		/* A:5:5:5 */
+#define S3C_WPALCON_W1PAL_16BIT	 			(6<<3)		/*  5:6:5 */
+#define S3C_WPALCON_W0PAL_25BIT_A	 		(0<<0)		/* A:8:8:8 */
+#define S3C_WPALCON_W0PAL_24BIT				(1<<0)		/*  8:8:8 */
+#define S3C_WPALCON_W0PAL_19BIT_A			(2<<0)		/* A:6:6:6 */
+#define S3C_WPALCON_W0PAL_18BIT_A	 		(3<<0)		/* A:6:6:5 */
+#define S3C_WPALCON_W0PAL_18BIT				(4<<0)		/*  6:6:6 */
+#define S3C_WPALCON_W0PAL_16BIT_A	 		(5<<0)		/* A:5:5:5 */
+#define S3C_WPALCON_W0PAL_16BIT	 			(6<<0)		/*  5:6:5 */
+
+/* I80/RGB Trigger Control register - TRIGCON */
+#define S3C_TRIGCON_SWFRSTATUS_REQUESTED		(1<<2)
+#define S3C_TRIGCON_SWFRSTATUS_NOT_REQUESTED		(0<<2)
+#define S3C_TRIGCON_SWTRGCMD				(1<<1)
+#define S3C_TRIGCON_TRGMODE_ENABLE			(1<<0)
+#define S3C_TRIGCON_TRGMODE_DISABLE			(0<<0)
+
+/* LCD I80 Interface Control 0 register - I80IFCONA0 */
+#define S3C_I80IFCONAx_LCD_CS_SETUP(x) 			(((x)&0xF)<<16)
+#define S3C_I80IFCONAx_LCD_WR_SETUP(x) 			(((x)&0xF)<<12)
+#define S3C_I80IFCONAx_LCD_WR_ACT(x)			(((x)&0xF)<<8)
+#define S3C_I80IFCONAx_LCD_WR_HOLD(x)			(((x)&0xF)<<4)
+
+
+/***************************************************************************/
+/*HOST IF registers */
+/* Host I/F A - */
+#define S3C_HOSTIFAREG(x)				((x) + S3C64XX_VA_HOSTIFA)
+#define S3C_HOSTIFAREG_PHYS(x)				((x) + S3C64XX_PA_HOSTIFA)
+
+/* Host I/F B - Modem I/F */
+#define S3C_HOSTIFBREG(x)				((x) + S3C64XX_VA_HOSTIFB)
+#define S3C_HOSTIFBREG_PHYS(x)				((x) + S3C64XX_PA_HOSTIFB)
+
+#define S3C_HOSTIFB_INT2AP				S3C_HOSTIFBREG(0x8000)
+#define S3C_HOSTIFB_INT2MSM				S3C_HOSTIFBREG(0x8004)
+#define S3C_HOSTIFB_MIFCON				S3C_HOSTIFBREG(0x8008)
+#define S3C_HOSTIFB_MIFPCON				S3C_HOSTIFBREG(0x800C)
+#define S3C_HOSTIFB_MSMINTCLR				S3C_HOSTIFBREG(0x8010)
+
+#define S3C_HOSTIFB_MIFCON_INT2MSM_DIS			(0x0<<3)
+#define S3C_HOSTIFB_MIFCON_INT2MSM_EN			(0x1<<3)
+#define S3C_HOSTIFB_MIFCON_INT2AP_DIS			(0x0<<2)
+#define S3C_HOSTIFB_MIFCON_INT2AP_EN			(0x1<<2)
+#define S3C_HOSTIFB_MIFCON_WAKEUP_DIS			(0x0<<1)
+#define S3C_HOSTIFB_MIFCON_WAKEUP_EN			(0x1<<1)
+
+#define S3C_HOSTIFB_MIFPCON_SEL_VSYNC_DIR_OUT		(0x0<<5)
+#define S3C_HOSTIFB_MIFPCON_SEL_VSYNC_DIR_IN		(0x1<<5)
+#define S3C_HOSTIFB_MIFPCON_INT2M_LEVEL_DIS		(0x0<<4)
+#define S3C_HOSTIFB_MIFPCON_INT2M_LEVEL_EN		(0x1<<4)
+#define S3C_HOSTIFB_MIFPCON_SEL_NORMAL			(0x0<<3)
+#define S3C_HOSTIFB_MIFPCON_SEL_BYPASS			(0x1<<3)
+
+#define S3C_HOSTIFB_MIFPCON_SEL_RS0			0
+#define S3C_HOSTIFB_MIFPCON_SEL_RS1			1
+#define S3C_HOSTIFB_MIFPCON_SEL_RS2			2
+#define S3C_HOSTIFB_MIFPCON_SEL_RS3			3
+#define S3C_HOSTIFB_MIFPCON_SEL_RS4			4
+#define S3C_HOSTIFB_MIFPCON_SEL_RS5			5
+#define S3C_HOSTIFB_MIFPCON_SEL_RS6			6
+
+#define S3C_WINCONx_ENLOCAL_POST                    	(1<<22)
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-nand.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-nand.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-nand.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-nand.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,172 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-nand.h
+ *
+ * Copyright (c) 2004,2005 Simtec Electronics <linux@simtec.co.uk>
+ *		      http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C2410 NAND register definitions
+*/
+
+#ifndef __ASM_ARM_REGS_NAND
+#define __ASM_ARM_REGS_NAND
+
+
+#define S3C2410_NFREG(x) (x)
+
+#define S3C2410_NFCONF  S3C2410_NFREG(0x00)
+#define S3C2410_NFCMD   S3C2410_NFREG(0x04)
+#define S3C2410_NFADDR  S3C2410_NFREG(0x08)
+#define S3C2410_NFDATA  S3C2410_NFREG(0x0C)
+#define S3C2410_NFSTAT  S3C2410_NFREG(0x10)
+#define S3C2410_NFECC   S3C2410_NFREG(0x14)
+
+#define S3C2440_NFCONT   S3C2410_NFREG(0x04)
+#define S3C2440_NFCMD    S3C2410_NFREG(0x08)
+#define S3C2440_NFADDR   S3C2410_NFREG(0x0C)
+#define S3C2440_NFDATA   S3C2410_NFREG(0x10)
+#define S3C2440_NFECCD0  S3C2410_NFREG(0x14)
+#define S3C2440_NFECCD1  S3C2410_NFREG(0x18)
+#define S3C2440_NFECCD   S3C2410_NFREG(0x1C)
+#define S3C2440_NFSTAT   S3C2410_NFREG(0x20)
+#define S3C2440_NFESTAT0 S3C2410_NFREG(0x24)
+#define S3C2440_NFESTAT1 S3C2410_NFREG(0x28)
+#define S3C2440_NFMECC0  S3C2410_NFREG(0x2C)
+#define S3C2440_NFMECC1  S3C2410_NFREG(0x30)
+#define S3C2440_NFSECC   S3C2410_NFREG(0x34)
+#define S3C2440_NFSBLK   S3C2410_NFREG(0x38)
+#define S3C2440_NFEBLK   S3C2410_NFREG(0x3C)
+
+#define S3C2412_NFSBLK		S3C2410_NFREG(0x20)
+#define S3C2412_NFEBLK		S3C2410_NFREG(0x24)
+#define S3C2412_NFSTAT		S3C2410_NFREG(0x28)
+#define S3C2412_NFMECC_ERR0	S3C2410_NFREG(0x2C)
+#define S3C2412_NFMECC_ERR1	S3C2410_NFREG(0x30)
+#define S3C2412_NFMECC0		S3C2410_NFREG(0x34)
+#define S3C2412_NFMECC1		S3C2410_NFREG(0x38)
+#define S3C2412_NFSECC		S3C2410_NFREG(0x3C)
+
+#define S3C2410_NFCONF_EN          (1<<15)
+#define S3C2410_NFCONF_512BYTE     (1<<14)
+#define S3C2410_NFCONF_4STEP       (1<<13)
+#define S3C2410_NFCONF_INITECC     (1<<12)
+#define S3C2410_NFCONF_nFCE        (1<<11)
+#define S3C2410_NFCONF_TACLS(x)    ((x)<<8)
+#define S3C2410_NFCONF_TWRPH0(x)   ((x)<<4)
+#define S3C2410_NFCONF_TWRPH1(x)   ((x)<<0)
+
+#define S3C2410_NFSTAT_BUSY        (1<<0)
+
+#define S3C2440_NFCONF_BUSWIDTH_8	(0<<0)
+#define S3C2440_NFCONF_BUSWIDTH_16	(1<<0)
+#define S3C2440_NFCONF_ADVFLASH		(1<<3)
+#define S3C2440_NFCONF_TACLS(x)		((x)<<12)
+#define S3C2440_NFCONF_TWRPH0(x)	((x)<<8)
+#define S3C2440_NFCONF_TWRPH1(x)	((x)<<4)
+
+#define S3C2440_NFCONT_LOCKTIGHT	(1<<13)
+#define S3C2440_NFCONT_SOFTLOCK		(1<<12)
+#define S3C2440_NFCONT_ILLEGALACC_EN	(1<<10)
+#define S3C2440_NFCONT_RNBINT_EN	(1<<9)
+#define S3C2440_NFCONT_RN_FALLING	(1<<8)
+#define S3C2440_NFCONT_SPARE_ECCLOCK	(1<<6)
+#define S3C2440_NFCONT_MAIN_ECCLOCK	(1<<5)
+#define S3C2440_NFCONT_INITECC		(1<<4)
+#define S3C2440_NFCONT_nFCE		(1<<1)
+#define S3C2440_NFCONT_ENABLE		(1<<0)
+
+#define S3C2440_NFSTAT_READY		(1<<0)
+#define S3C2440_NFSTAT_nCE		(1<<1)
+#define S3C2440_NFSTAT_RnB_CHANGE	(1<<2)
+#define S3C2440_NFSTAT_ILLEGAL_ACCESS	(1<<3)
+
+#define S3C2412_NFCONF_NANDBOOT		(1<<31)
+#define S3C2412_NFCONF_ECCCLKCON	(1<<30)
+#define S3C2412_NFCONF_ECC_MLC		(1<<24)
+#define S3C2412_NFCONF_TACLS_MASK	(7<<12)	/* 1 extra bit of Tacls */
+
+#define S3C2412_NFCONT_ECC4_DIRWR	(1<<18)
+#define S3C2412_NFCONT_LOCKTIGHT	(1<<17)
+#define S3C2412_NFCONT_SOFTLOCK		(1<<16)
+#define S3C2412_NFCONT_ECC4_ENCINT	(1<<13)
+#define S3C2412_NFCONT_ECC4_DECINT	(1<<12)
+#define S3C2412_NFCONT_MAIN_ECC_LOCK	(1<<7)
+#define S3C2412_NFCONT_INIT_MAIN_ECC	(1<<5)
+#define S3C2412_NFCONT_nFCE1		(1<<2)
+#define S3C2412_NFCONT_nFCE0		(1<<1)
+
+#define S3C2412_NFSTAT_ECC_ENCDONE	(1<<7)
+#define S3C2412_NFSTAT_ECC_DECDONE	(1<<6)
+#define S3C2412_NFSTAT_ILLEGAL_ACCESS	(1<<5)
+#define S3C2412_NFSTAT_RnB_CHANGE	(1<<4)
+#define S3C2412_NFSTAT_nFCE1		(1<<3)
+#define S3C2412_NFSTAT_nFCE0		(1<<2)
+#define S3C2412_NFSTAT_Res1		(1<<1)
+#define S3C2412_NFSTAT_READY		(1<<0)
+
+#define S3C2412_NFECCERR_SERRDATA(x)	(((x) >> 21) & 0xf)
+#define S3C2412_NFECCERR_SERRBIT(x)	(((x) >> 18) & 0x7)
+#define S3C2412_NFECCERR_MERRDATA(x)	(((x) >> 7) & 0x3ff)
+#define S3C2412_NFECCERR_MERRBIT(x)	(((x) >> 4) & 0x7)
+#define S3C2412_NFECCERR_SPARE_ERR(x)	(((x) >> 2) & 0x3)
+#define S3C2412_NFECCERR_MAIN_ERR(x)	(((x) >> 2) & 0x3)
+#define S3C2412_NFECCERR_NONE		(0)
+#define S3C2412_NFECCERR_1BIT		(1)
+#define S3C2412_NFECCERR_MULTIBIT	(2)
+#define S3C2412_NFECCERR_ECCAREA	(3)
+
+/* for s3c_nand.c */
+#define S3C_NFCONF		S3C2410_NFREG(0x00)
+#define S3C_NFCONT		S3C2410_NFREG(0x04)
+#define S3C_NFCMMD		S3C2410_NFREG(0x08)
+#define S3C_NFADDR		S3C2410_NFREG(0x0c)
+#define S3C_NFDATA8		S3C2410_NFREG(0x10)
+#define S3C_NFDATA		S3C2410_NFREG(0x10)
+#define S3C_NFMECCDATA0		S3C2410_NFREG(0x14)
+#define S3C_NFMECCDATA1		S3C2410_NFREG(0x18)
+#define S3C_NFSECCDATA		S3C2410_NFREG(0x1c)
+#define S3C_NFSBLK		S3C2410_NFREG(0x20)
+#define S3C_NFEBLK		S3C2410_NFREG(0x24)
+#define S3C_NFSTAT		S3C2410_NFREG(0x28)
+#define S3C_NFMECCERR0		S3C2410_NFREG(0x2c)
+#define S3C_NFMECCERR1		S3C2410_NFREG(0x30)
+#define S3C_NFMECC0		S3C2410_NFREG(0x34)
+#define S3C_NFMECC1		S3C2410_NFREG(0x38)
+#define S3C_NFSECC		S3C2410_NFREG(0x3c)
+#define S3C_NFMLCBITPT		S3C2410_NFREG(0x40)
+
+#define S3C_NFCONF_NANDBOOT	(1<<31)
+#define S3C_NFCONF_ECCCLKCON	(1<<30)
+#define S3C_NFCONF_ECC_MLC	(1<<24)
+#define	S3C_NFCONF_ECC_1BIT	(0<<23)
+#define	S3C_NFCONF_ECC_4BIT	(2<<23)
+#define	S3C_NFCONF_ECC_8BIT	(1<<23)
+#define S3C_NFCONF_TACLS(x)	((x)<<12)
+#define S3C_NFCONF_TWRPH0(x)	((x)<<8)
+#define S3C_NFCONF_TWRPH1(x)	((x)<<4)
+#define S3C_NFCONF_ADVFLASH	(1<<3)
+#define S3C_NFCONF_PAGESIZE	(1<<2)
+#define S3C_NFCONF_ADDRCYCLE	(1<<1)
+#define S3C_NFCONF_BUSWIDTH	(1<<0)
+
+#define S3C_NFCONT_ECC_ENC	(1<<18)
+#define S3C_NFCONT_LOCKTGHT	(1<<17)
+#define S3C_NFCONT_LOCKSOFT	(1<<16)
+#define S3C_NFCONT_MECCLOCK	(1<<7)
+#define S3C_NFCONT_SECCLOCK	(1<<6)
+#define S3C_NFCONT_INITMECC	(1<<5)
+#define S3C_NFCONT_INITSECC	(1<<4)
+#define S3C_NFCONT_nFCE1	(1<<2)
+#define S3C_NFCONT_nFCE0	(1<<1)
+#define S3C_NFCONT_INITECC	(S3C_NFCONT_INITSECC | S3C_NFCONT_INITMECC)
+
+#define S3C_NFSTAT_ECCENCDONE	(1<<7)
+#define S3C_NFSTAT_ECCDECDONE	(1<<6)
+#define S3C_NFSTAT_BUSY		(1<<0)
+
+#define S3C_NFECCERR0_ECCBUSY	(1<<31)
+
+#endif /* __ASM_ARM_REGS_NAND */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-onenand.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-onenand.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-onenand.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-onenand.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,409 @@
+#ifndef __ASM_ARCH_REGS_ONENAND_H
+#define __ASM_ARCH_REGS_ONENAND_H __FILE__
+
+/*
+ * DMA for OneNAND
+ */
+#define ONENAND_DMA_CON			(0)
+#if defined(CONFIG_CPU_S3C6410)
+#define ONENAND_DMA_BASE		(0x75000000)
+#endif
+#define ONENAND_DMA_TRANSFER_WORD	(4)
+
+/*
+ * SFRs
+ */
+#define ONENAND_REG_MEM_CFG		(0x000)
+#define ONENAND_REG_BURST_LEN		(0x010)
+#define ONENAND_REG_MEM_RESET		(0x020)
+#define ONENAND_REG_INT_ERR_STAT	(0x030)
+#define ONENAND_REG_INT_ERR_MASK	(0x040)
+#define ONENAND_REG_INT_ERR_ACK		(0x050)
+#define ONENAND_REG_ECC_ERR_STAT	(0x060)
+#define ONENAND_REG_MANUFACT_ID		(0x070)
+#define ONENAND_REG_DEVICE_ID		(0x080)
+#define ONENAND_REG_DATA_BUF_SIZE	(0x090)
+#define ONENAND_REG_BOOT_BUF_SIZE	(0x0A0)
+#define ONENAND_REG_BUF_AMOUNT		(0x0B0)
+#define ONENAND_REG_TECH		(0x0C0)
+#define ONENAND_REG_FBA_WIDTH		(0x0D0)
+#define ONENAND_REG_FPA_WIDTH		(0x0E0)
+#define ONENAND_REG_FSA_WIDTH		(0x0F0)
+#define ONENAND_REG_REVISION		(0x100)
+#define ONENAND_REG_DATARAM0		(0x110)
+#define ONENAND_REG_DATARAM1		(0x120)
+#define ONENAND_REG_SYNC_MODE		(0x130)
+#define ONENAND_REG_TRANS_SPARE		(0x140)
+#define ONENAND_REG_LOCK_BIT		(0x150)
+#define ONENAND_REG_DBS_DFS_WIDTH	(0x160)
+#define ONENAND_REG_PAGE_CNT		(0x170)
+#define ONENAND_REG_ERR_PAGE_ADDR	(0x180)
+#define ONENAND_REG_BURST_RD_LAT	(0x190)
+#define ONENAND_REG_INT_PIN_ENABLE	(0x1A0)
+#define ONENAND_REG_INT_MON_CYC		(0x1B0)
+#define ONENAND_REG_ACC_CLOCK		(0x1C0)
+#define ONENAND_REG_SLOW_RD_PATH	(0x1D0)
+#define ONENAND_REG_ERR_BLK_ADDR	(0x1E0)
+#define ONENAND_REG_FLASH_VER_ID	(0x1F0)
+
+#if defined(CONFIG_CPU_S3C6410)
+#define ONENAND_REG_FLASH_AUX_CNTRL     (0x300)
+#elif defined(CONFIG_CPU_S5PC100)
+#define ONENAND_REG_ECC_ERR_STAT2	(0x300)
+#endif
+
+#if defined(CONFIG_CPU_S5PC100)
+#define ONENAND_REG_BANK_EN		(0x220)
+#define ONENAND_REG_WTCHDOG_RST_L	(0x260)
+#define ONENAND_REG_WTCHDOG_RST_H	(0x270)
+#define ONENAND_REG_SYNC_WRITE		(0x280)
+#define ONENAND_REG_CACHE_READ		(0x290)
+#define ONENAND_REG_COLD_RST_DLY	(0x2A0)
+#define ONENAND_REG_DDP_DEVICE		(0x2B0)
+#define ONENAND_REG_MULTI_PLANE		(0x2C0)
+#define ONENAND_REG_MEM_CNT		(0x2D0)
+#define ONENAND_REG_TRANS_MODE		(0x2E0)
+#define ONENAND_REG_DEV_STAT		(0x2F0)
+
+#define ONENAND_REG_ECC_ERR_STAT3	(0x310)
+#define ONENAND_REG_ECC_ERR_STAT4	(0x320)
+#define ONENAND_REG_EFCT_BUF_CNT	(0x330)
+#define ONENAND_REG_DEV_PAGE_SIZE	(0x340)
+#define ONENAND_REG_SUPERLOAD_EN	(0x350)
+#define ONENAND_REG_CACHE_PRG_EN	(0x360)
+#define ONENAND_REG_SINGLE_PAGE_BUF	(0x370)
+#define ONENAND_REG_OFFSET_ADDR		(0x380)
+#define ONENAND_REG_INT_MON_STATUS	(0x390)
+#endif
+
+/*
+ * SFR values
+ */
+#define ONENAND_MEM_CFG_SYNC_READ	(1 << 15)
+#define ONENAND_MEM_CFG_BRL_7		(7 << 12)
+#define ONENAND_MEM_CFG_BRL_6		(6 << 12)
+#define ONENAND_MEM_CFG_BRL_5		(5 << 12)
+#define ONENAND_MEM_CFG_BRL_4		(4 << 12)
+#define ONENAND_MEM_CFG_BRL_3		(3 << 12)
+#define ONENAND_MEM_CFG_BRL_10		(2 << 12)
+#define ONENAND_MEM_CFG_BRL_9		(1 << 12)
+#define ONENAND_MEM_CFG_BRL_8		(0 << 12)
+#define ONENAND_MEM_CFG_BRL_SHIFT	(12)
+#define ONENAND_MEM_CFG_BL_1K		(5 << 9)
+#define ONENAND_MEM_CFG_BL_32		(4 << 9)
+#define ONENAND_MEM_CFG_BL_16		(3 << 9)
+#define ONENAND_MEM_CFG_BL_8		(2 << 9)
+#define ONENAND_MEM_CFG_BL_4		(1 << 9)
+#define ONENAND_MEM_CFG_BL_CONT		(0 << 9)
+#define ONENAND_MEM_CFG_BL_SHIFT	(9)
+#define ONENAND_MEM_CFG_NO_ECC		(1 << 8)
+#define ONENAND_MEM_CFG_RDY_HIGH	(1 << 7)
+#define ONENAND_MEM_CFG_INT_HIGH	(1 << 6)
+#define ONENAND_MEM_CFG_IOBE		(1 << 5)
+#define ONENAND_MEM_CFG_RDY_CONF	(1 << 4)
+#define ONENAND_MEM_CFG_HF		(1 << 2)
+#define ONENAND_MEM_CFG_WM_SYNC		(1 << 1)
+#define ONENAND_MEM_CFG_BWPS_UNLOCK	(1 << 0)
+
+#define ONENAND_BURST_LEN_CONT		(0)
+#define ONENAND_BURST_LEN_4		(4)
+#define ONENAND_BURST_LEN_8		(8)
+#define ONENAND_BURST_LEN_16		(16)
+
+#define ONENAND_MEM_RESET_WARM		(0x1)
+#define ONENAND_MEM_RESET_COLD		(0x2)
+#define ONENAND_MEM_RESET_HOT		(0x3)
+
+#define ONENAND_INT_ERR_CACHE_OP_ERR	(1 << 13)
+#define ONENAND_INT_ERR_RST_CMP		(1 << 12)
+#define ONENAND_INT_ERR_RDY_ACT		(1 << 11)
+#define ONENAND_INT_ERR_INT_ACT		(1 << 10)
+#define ONENAND_INT_ERR_UNSUP_CMD	(1 << 9)
+#define ONENAND_INT_ERR_LOCKED_BLK	(1 << 8)
+#define ONENAND_INT_ERR_BLK_RW_CMP	(1 << 7)
+#define ONENAND_INT_ERR_ERS_CMP		(1 << 6)
+#define ONENAND_INT_ERR_PGM_CMP		(1 << 5)
+#define ONENAND_INT_ERR_LOAD_CMP	(1 << 4)
+#define ONENAND_INT_ERR_ERS_FAIL	(1 << 3)
+#define ONENAND_INT_ERR_PGM_FAIL	(1 << 2)
+#define ONENAND_INT_ERR_INT_TO		(1 << 1)
+#define ONENAND_INT_ERR_LD_FAIL_ECC_ERR	(1 << 0)
+
+#define ONENAND_DEVICE_DENSITY_SHIFT	(4)
+#define ONENAND_DEVICE_IS_DDP		(1 << 3)
+#define ONENAND_DEVICE_IS_DEMUX		(1 << 2)
+#define ONENAND_DEVICE_VCC_MASK		(0x3)
+#define ONENAND_DEVICE_DENSITY_128Mb	(0x000)
+#define ONENAND_DEVICE_DENSITY_256Mb	(0x001)
+#define ONENAND_DEVICE_DENSITY_512Mb	(0x002)
+#define ONENAND_DEVICE_DENSITY_1Gb	(0x003)
+#define ONENAND_DEVICE_DENSITY_2Gb	(0x004)
+#define ONENAND_DEVICE_DENSITY_4Gb	(0x005)
+
+#define ONENAND_SYNC_MODE_RM_SYNC	(1 << 1)
+#define ONENAND_SYNC_MODE_WM_SYNC	(1 << 0)
+
+#define ONENAND_TRANS_SPARE_TSRF_INC	(1 << 0)
+
+#define ONENAND_INT_PIN_ENABLE		(1 << 0)
+
+#define ONENAND_ACC_CLOCK_266_133	(0x5)
+#define ONENAND_ACC_CLOCK_166_83	(0x3)
+#define ONENAND_ACC_CLOCK_134_67	(0x3)
+#define ONENAND_ACC_CLOCK_100_50	(0x2)
+#define ONENAND_ACC_CLOCK_60_30		(0x2)
+
+#if defined(CONFIG_CPU_S3C6410)
+#define ONENAND_FLASH_AUX_WD_DISABLE    (1 << 0)
+#endif
+
+/*
+ * Datain values for mapped commands
+ */
+#define ONENAND_DATAIN_ERASE_STATUS	(0x00)
+#define ONENAND_DATAIN_ERASE_MULTI	(0x01)
+#define ONENAND_DATAIN_ERASE_SINGLE	(0x03)
+#define ONENAND_DATAIN_ERASE_VERIFY	(0x15)
+#define ONENAND_DATAIN_UNLOCK_START	(0x08)
+#define ONENAND_DATAIN_UNLOCK_END	(0x09)
+#define ONENAND_DATAIN_LOCK_START	(0x0A)
+#define ONENAND_DATAIN_LOCK_END		(0x0B)
+#define ONENAND_DATAIN_LOCKTIGHT_START	(0x0C)
+#define ONENAND_DATAIN_LOCKTIGHT_END	(0x0D)
+#define ONENAND_DATAIN_UNLOCK_ALL	(0x0E)
+#define ONENAND_DATAIN_COPYBACK_SRC	(0x1000)
+#define ONENAND_DATAIN_COPYBACK_DST	(0x2000)
+#define ONENAND_DATAIN_ACCESS_OTP	(0x12)
+#define ONENAND_DATAIN_ACCESS_MAIN	(0x14)
+#define ONENAND_DATAIN_PIPELINE_READ	(0x4000)
+#define ONENAND_DATAIN_PIPELINE_WRITE	(0x4100)
+#define ONENAND_DATAIN_RMW_LOAD		(0x10)
+#define ONENAND_DATAIN_RMW_MODIFY	(0x11)
+
+/*
+ * Device ID Register F001h (R)
+ */
+#define ONENAND_DEVICE_DENSITY_SHIFT	(4)
+#define ONENAND_DEVICE_IS_DDP		(1 << 3)
+#define ONENAND_DEVICE_IS_DEMUX		(1 << 2)
+#define ONENAND_DEVICE_VCC_MASK		(0x3)
+
+/*
+ * Version ID Register F002h (R)
+ */
+#define ONENAND_VERSION_PROCESS_SHIFT	(8)
+
+/*
+ * Start Address 1 F100h (R/W)
+ */
+#define ONENAND_DDP_SHIFT		(15)
+#define ONENAND_DDP_CHIP0		(0)
+#define ONENAND_DDP_CHIP1		(1 << ONENAND_DDP_SHIFT)
+
+/*
+ * Start Buffer Register F200h (R/W)
+ */
+#define ONENAND_BSA_MASK		(0x03)
+#define ONENAND_BSA_SHIFT		(8)
+#define ONENAND_BSA_BOOTRAM		(0 << 2)
+#define ONENAND_BSA_DATARAM0		(2 << 2)
+#define ONENAND_BSA_DATARAM1		(3 << 2)
+#define ONENAND_BSC_MASK		(0x03)
+
+/*
+ * Command Register F220h (R/W)
+ */
+#define ONENAND_CMD_READ		(0x00)
+#define ONENAND_CMD_READOOB		(0x13)
+#define ONENAND_CMD_PROG		(0x80)
+#define ONENAND_CMD_PROGOOB		(0x1A)
+#define ONENAND_CMD_UNLOCK		(0x23)
+#define ONENAND_CMD_LOCK		(0x2A)
+#define ONENAND_CMD_LOCK_TIGHT		(0x2C)
+#define ONENAND_CMD_UNLOCK_ALL		(0x27)
+#define ONENAND_CMD_ERASE		(0x94)
+#define ONENAND_CMD_RESET		(0xF0)
+#define ONENAND_CMD_OTP_ACCESS		(0x65)
+#define ONENAND_CMD_READID		(0x90)
+#define ONENAND_CMD_STARTADDR1		(0xE0)
+#define ONENAND_CMD_WP_STATUS		(0xE1)
+#define ONENAND_CMD_PIPELINE_READ	(0x01)
+#define ONENAND_CMD_PIPELINE_WRITE	(0x81)
+
+/*
+ * Command Mapping for OneNAND Controller
+ */
+#if defined(CONFIG_CPU_S5PC100)
+#define ONENAND_AHB_ADDR		(0xB0000000)
+#elif defined(CONFIG_CPU_S3C6410)
+#define ONENAND_DUMMY_ADDR		(0x20400000)
+#define ONENAND_AHB_ADDR		(0x20000000)
+#endif
+#define ONENAND_CMD_MAP_00              (0x0)
+#define ONENAND_CMD_MAP_01              (0x1)
+#define ONENAND_CMD_MAP_10              (0x2)
+#define ONENAND_CMD_MAP_11              (0x3)
+#define ONENAND_CMD_MAP_FF              (0xF)
+
+#if defined(CONFIG_CPU_S3C6400)
+#define ONENAND_CMD_SHIFT               (22)
+#define ONENAND_MEM_ADDR_MASK           (0x3fffff)
+#define ONENAND_DDP_SHIFT_1Gb           (19)
+#define ONENAND_DDP_SHIFT_2Gb           (20)
+#define ONENAND_DDP_SHIFT_4Gb           (21)
+
+#define ONENAND_FBA_SHIFT_128Mb         (9)
+#define ONENAND_FBA_SHIFT_256Mb         (9)
+#define ONENAND_FBA_SHIFT_512Mb         (10)
+#define ONENAND_FBA_SHIFT_1Gb_DDP       (10)
+#define ONENAND_FBA_SHIFT_1Gb           (10)
+#define ONENAND_FBA_SHIFT_2Gb_DDP       (10)
+#define ONENAND_FBA_SHIFT_2Gb           (10)
+#define ONENAND_FBA_SHIFT_4Gb_DDP       (10)
+#define ONENAND_FBA_SHIFT_4Gb           (10)
+
+#define ONENAND_FPA_SHIFT_128Mb         (3)
+#define ONENAND_FPA_SHIFT_256Mb         (3)
+#define ONENAND_FPA_SHIFT_512Mb         (4)
+#define ONENAND_FPA_SHIFT_1Gb_DDP       (4)
+#define ONENAND_FPA_SHIFT_1Gb           (4)
+#define ONENAND_FPA_SHIFT_2Gb_DDP       (4)
+#define ONENAND_FPA_SHIFT_2Gb           (4)
+#define ONENAND_FPA_SHIFT_4Gb_DDP       (4)
+#define ONENAND_FPA_SHIFT_4Gb           (4)
+
+#define ONENAND_FSA_SHIFT               (2)
+#define ONENAND_FBA_MASK_128Mb          (0xff)
+#define ONENAND_FBA_MASK_256Mb          (0x1ff)
+#define ONENAND_FBA_MASK_512Mb          (0x1ff)
+#define ONENAND_FBA_MASK_1Gb_DDP        (0x1ff)
+#define ONENAND_FBA_MASK_1Gb            (0x3ff)
+#define ONENAND_FBA_MASK_2Gb_DDP        (0x3ff)
+#define ONENAND_FBA_MASK_2Gb            (0x7ff)
+#define ONENAND_FBA_MASK_4Gb_DDP        (0x7ff)
+#define ONENAND_FBA_MASK_4Gb            (0xfff)
+#define ONENAND_FPA_MASK                (0x3f)
+#define ONENAND_FSA_MASK                (0x3)
+
+#elif defined(CONFIG_CPU_S3C6410)
+#define ONENAND_CMD_SHIFT               (24)
+#define ONENAND_MEM_ADDR_MASK           (0xffffff)
+#define ONENAND_DDP_SHIFT_1Gb           (21)
+#define ONENAND_DDP_SHIFT_2Gb           (22)
+#define ONENAND_DDP_SHIFT_4Gb           (23)
+#define ONENAND_FBA_SHIFT               (12)
+#define ONENAND_FPA_SHIFT               (6)
+#define ONENAND_FSA_SHIFT               (4)
+#define ONENAND_FBA_MASK_128Mb          (0xff)
+#define ONENAND_FBA_MASK_256Mb          (0x1ff)
+#define ONENAND_FBA_MASK_512Mb          (0x1ff)
+#define ONENAND_FBA_MASK_1Gb_DDP        (0x1ff)
+#define ONENAND_FBA_MASK_1Gb            (0x3ff)
+#define ONENAND_FBA_MASK_2Gb_DDP        (0x3ff)
+#define ONENAND_FBA_MASK_2Gb            (0x7ff)
+#define ONENAND_FBA_MASK_4Gb_DDP        (0x7ff)
+#define ONENAND_FBA_MASK_4Gb            (0xfff)
+#define ONENAND_FPA_MASK                (0x3f)
+#define ONENAND_FSA_MASK                (0x3)
+
+#elif defined(CONFIG_CPU_S5PC100)
+#define ONENAND_CMD_SHIFT		(26)
+#define ONENAND_MEM_ADDR_MASK		(0xffffff)
+#define ONENAND_DDP_SHIFT_1Gb		(22)
+#define ONENAND_DDP_SHIFT_2Gb		(23)
+#define ONENAND_DDP_SHIFT_4Gb		(24)
+#define ONENAND_FBA_SHIFT               (13)
+#define ONENAND_FPA_SHIFT               (7)
+#define ONENAND_FSA_SHIFT		(5)
+#define ONENAND_FBA_MASK_128Mb		(0xff)
+#define ONENAND_FBA_MASK_256Mb		(0x1ff)
+#define ONENAND_FBA_MASK_512Mb		(0x1ff)
+#define ONENAND_FBA_MASK_1Gb_DDP	(0x1ff)
+#define ONENAND_FBA_MASK_1Gb		(0x3ff)
+#define ONENAND_FBA_MASK_2Gb_DDP	(0x3ff)
+#define ONENAND_FBA_MASK_2Gb		(0x7ff)
+#define ONENAND_FBA_MASK_4Gb_DDP	(0x7ff)
+#define ONENAND_FBA_MASK_4Gb		(0xfff)
+#define ONENAND_FPA_MASK		(0x3f)
+#define ONENAND_FSA_MASK		(0x3)
+
+#else
+
+/*
+ * Start Address 8 F107h (R/W)
+ */
+#define ONENAND_FPA_MASK                (0x3f)
+#define ONENAND_FPA_SHIFT               (2)
+#define ONENAND_FSA_MASK                (0x03)
+
+#endif
+
+/*
+ * System Configuration 1 Register F221h (R, R/W)
+ */
+#define ONENAND_SYS_CFG1_SYNC_READ	(1 << 15)
+#define ONENAND_SYS_CFG1_BRL_7		(7 << 12)
+#define ONENAND_SYS_CFG1_BRL_6		(6 << 12)
+#define ONENAND_SYS_CFG1_BRL_5		(5 << 12)
+#define ONENAND_SYS_CFG1_BRL_4		(4 << 12)
+#define ONENAND_SYS_CFG1_BRL_3		(3 << 12)
+#define ONENAND_SYS_CFG1_BRL_10		(2 << 12)
+#define ONENAND_SYS_CFG1_BRL_9		(1 << 12)
+#define ONENAND_SYS_CFG1_BRL_8		(0 << 12)
+#define ONENAND_SYS_CFG1_BRL_SHIFT	(12)
+#define ONENAND_SYS_CFG1_BL_32		(4 << 9)
+#define ONENAND_SYS_CFG1_BL_16		(3 << 9)
+#define ONENAND_SYS_CFG1_BL_8		(2 << 9)
+#define ONENAND_SYS_CFG1_BL_4		(1 << 9)
+#define ONENAND_SYS_CFG1_BL_CONT	(0 << 9)
+#define ONENAND_SYS_CFG1_BL_SHIFT	(9)
+#define ONENAND_SYS_CFG1_NO_ECC		(1 << 8)
+#define ONENAND_SYS_CFG1_RDY		(1 << 7)
+#define ONENAND_SYS_CFG1_INT		(1 << 6)
+#define ONENAND_SYS_CFG1_IOBE		(1 << 5)
+#define ONENAND_SYS_CFG1_RDY_CONF	(1 << 4)
+
+/*
+ * Controller Status Register F240h (R)
+ */
+#define ONENAND_CTRL_ONGO		(1 << 15)
+#define ONENAND_CTRL_LOCK		(1 << 14)
+#define ONENAND_CTRL_LOAD		(1 << 13)
+#define ONENAND_CTRL_PROGRAM		(1 << 12)
+#define ONENAND_CTRL_ERASE		(1 << 11)
+#define ONENAND_CTRL_ERROR		(1 << 10)
+#define ONENAND_CTRL_RSTB		(1 << 7)
+#define ONENAND_CTRL_OTP_L		(1 << 6)
+#define ONENAND_CTRL_OTP_BL		(1 << 5)
+
+/*
+ * Interrupt Status Register F241h (R)
+ */
+#define ONENAND_INT_MASTER		(1 << 15)
+#define ONENAND_INT_READ		(1 << 7)
+#define ONENAND_INT_WRITE		(1 << 6)
+#define ONENAND_INT_ERASE		(1 << 5)
+#define ONENAND_INT_RESET		(1 << 4)
+#define ONENAND_INT_CLEAR		(0 << 0)
+
+/*
+ * NAND Flash Write Protection Status Register F24Eh (R)
+ */
+#define ONENAND_WP_US			(1 << 2)
+#define ONENAND_WP_LS			(1 << 1)
+#define ONENAND_WP_LTS			(1 << 0)
+
+/*
+ * ECC Status Register FF00h (R)
+ */
+#define ONENAND_ECC_1BIT		(1 << 0)
+#define ONENAND_ECC_1BIT_ALL		(0x5555)
+#define ONENAND_ECC_2BIT		(1 << 1)
+#define ONENAND_ECC_2BIT_ALL		(0xAAAA)
+
+/*
+ * One-Time Programmable (OTP)
+ */
+#define ONENAND_OTP_LOCK_OFFSET		(14)
+
+#endif /* __ASM_ARCH_REGS_ONENAND_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-otg.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-otg.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-otg.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-otg.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,255 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-otg.h
+ *
+ * Copyright (C) 2004 Herbert Poetzl <herbert@13thfloor.at>
+ *
+ * This include file is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+*/
+
+#ifndef __ASM_ARCH_REGS_USB_OTG_HS_H
+#define __ASM_ARCH_REGS_USB_OTG_HS_H
+
+/* USB2.0 OTG Controller register */
+#define S3C_USBOTG_PHYREG(x)		((x) + S3C_VA_OTGSFR)
+#define S3C_USBOTG_PHYPWR		S3C_USBOTG_PHYREG(0x0)
+#define S3C_USBOTG_PHYCLK		S3C_USBOTG_PHYREG(0x4)
+#define S3C_USBOTG_RSTCON		S3C_USBOTG_PHYREG(0x8)
+
+
+/* USB2.0 OTG Controller register */
+#define S3C_USBOTGREG(x) ((x) + S3C_VA_OTG)
+/*============================================================================================== */
+	/* Core Global Registers */
+#define S3C_UDC_OTG_GOTGCTL		S3C_USBOTGREG(0x000)		/* OTG Control & Status */
+#define S3C_UDC_OTG_GOTGINT		S3C_USBOTGREG(0x004)		/* OTG Interrupt */
+#define S3C_UDC_OTG_GAHBCFG		S3C_USBOTGREG(0x008)		/* Core AHB Configuration */
+#define S3C_UDC_OTG_GUSBCFG		S3C_USBOTGREG(0x00C)		/* Core USB Configuration */
+#define S3C_UDC_OTG_GRSTCTL		S3C_USBOTGREG(0x010)		/* Core Reset */
+#define S3C_UDC_OTG_GINTSTS		S3C_USBOTGREG(0x014)		/* Core Interrupt */
+#define S3C_UDC_OTG_GINTMSK		S3C_USBOTGREG(0x018)		/* Core Interrupt Mask */
+#define S3C_UDC_OTG_GRXSTSR		S3C_USBOTGREG(0x01C)		/* Receive Status Debug Read/Status Read */
+#define S3C_UDC_OTG_GRXSTSP		S3C_USBOTGREG(0x020)		/* Receive Status Debug Pop/Status Pop */
+#define S3C_UDC_OTG_GRXFSIZ		S3C_USBOTGREG(0x024)		/* Receive FIFO Size */
+#define S3C_UDC_OTG_GNPTXFSIZ		S3C_USBOTGREG(0x028)		/* Non-Periodic Transmit FIFO Size */
+#define S3C_UDC_OTG_GNPTXSTS		S3C_USBOTGREG(0x02C)		/* Non-Periodic Transmit FIFO/Queue Status */
+
+#define S3C_UDC_OTG_HPTXFSIZ		S3C_USBOTGREG(0x100)		/* Host Periodic Transmit FIFO Size */
+#define S3C_UDC_OTG_DIEPTXF(n)		S3C_USBOTGREG(0x104 + (n-1)*0x4)/* Device IN EP Transmit FIFO Size Register */
+
+/*============================================================================================== */
+/* Host Mode Registers */
+/*------------------------------------------------ */
+/* Host Global Registers */
+#define S3C_UDC_OTG_HCFG		S3C_USBOTGREG(0x400)		/* Host Configuration */
+#define S3C_UDC_OTG_HFIR		S3C_USBOTGREG(0x404)		/* Host Frame Interval */
+#define S3C_UDC_OTG_HFNUM		S3C_USBOTGREG(0x408)		/* Host Frame Number/Frame Time Remaining */
+#define S3C_UDC_OTG_HPTXSTS		S3C_USBOTGREG(0x410)		/* Host Periodic Transmit FIFO/Queue Status */
+#define S3C_UDC_OTG_HAINT		S3C_USBOTGREG(0x414)		/* Host All Channels Interrupt */
+#define S3C_UDC_OTG_HAINTMSK		S3C_USBOTGREG(0x418)		/* Host All Channels Interrupt Mask */
+
+/*------------------------------------------------ */
+/* Host Port Control & Status Registers */
+#define S3C_UDC_OTG_HPRT		S3C_USBOTGREG(0x440)		/* Host Port Control & Status */
+
+/*------------------------------------------------ */
+/* Host Channel-Specific Registers */
+#define S3C_UDC_OTG_HCCHAR0		S3C_USBOTGREG(0x500)		/* Host Channel-0 Characteristics */
+#define S3C_UDC_OTG_HCSPLT0		S3C_USBOTGREG(0x504)		/* Host Channel-0 Split Control */
+#define S3C_UDC_OTG_HCINT0		S3C_USBOTGREG(0x508)		/* Host Channel-0 Interrupt */
+#define S3C_UDC_OTG_HCINTMSK0		S3C_USBOTGREG(0x50C)		/* Host Channel-0 Interrupt Mask */
+#define S3C_UDC_OTG_HCTSIZ0		S3C_USBOTGREG(0x510)		/* Host Channel-0 Transfer Size */
+#define S3C_UDC_OTG_HCDMA0		S3C_USBOTGREG(0x514)		/* Host Channel-0 DMA Address */
+
+
+/*============================================================================================== */
+/* Device Mode Registers */
+/*------------------------------------------------ */
+/* Device Global Registers */
+#define S3C_UDC_OTG_DCFG		S3C_USBOTGREG(0x800)		/* Device Configuration */
+#define S3C_UDC_OTG_DCTL		S3C_USBOTGREG(0x804)		/* Device Control */
+#define S3C_UDC_OTG_DSTS		S3C_USBOTGREG(0x808)		/* Device Status */
+#define S3C_UDC_OTG_DIEPMSK		S3C_USBOTGREG(0x810)		/* Device IN Endpoint Common Interrupt Mask */
+#define S3C_UDC_OTG_DOEPMSK		S3C_USBOTGREG(0x814)		/* Device OUT Endpoint Common Interrupt Mask */
+#define S3C_UDC_OTG_DAINT		S3C_USBOTGREG(0x818)		/* Device All Endpoints Interrupt */
+#define S3C_UDC_OTG_DAINTMSK		S3C_USBOTGREG(0x81C)		/* Device All Endpoints Interrupt Mask */
+#define S3C_UDC_OTG_DTKNQR1		S3C_USBOTGREG(0x820)		/* Device IN Token Sequence Learning Queue Read 1 */
+#define S3C_UDC_OTG_DTKNQR2		S3C_USBOTGREG(0x824)		/* Device IN Token Sequence Learning Queue Read 2 */
+#define S3C_UDC_OTG_DVBUSDIS		S3C_USBOTGREG(0x828)		/* Device VBUS Discharge Time */
+#define S3C_UDC_OTG_DVBUSPULSE		S3C_USBOTGREG(0x82C)		/* Device VBUS Pulsing Time */
+#define S3C_UDC_OTG_DTKNQR3		S3C_USBOTGREG(0x830)		/* Device IN Token Sequence Learning Queue Read 3 */
+#define S3C_UDC_OTG_DTKNQR4		S3C_USBOTGREG(0x834)		/* Device IN Token Sequence Learning Queue Read 4 */
+
+/*------------------------------------------------ */
+/* Device Logical IN Endpoint-Specific Registers */
+#define S3C_UDC_OTG_DIEPCTL(n)		S3C_USBOTGREG(0x900 + n*0x20)	/* Device IN Endpoint n Control */
+#define S3C_UDC_OTG_DIEPINT(n)		S3C_USBOTGREG(0x908 + n*0x20)	/* Device IN Endpoint n Interrupt */
+#define S3C_UDC_OTG_DIEPTSIZ(n)		S3C_USBOTGREG(0x910 + n*0x20)	/* Device IN Endpoint n Transfer Size */
+#define S3C_UDC_OTG_DIEPDMA(n)		S3C_USBOTGREG(0x914 + n*0x20)	/* Device IN Endpoint n DMA Address */
+
+/*------------------------------------------------ */
+/* Device Logical OUT Endpoint-Specific Registers */
+#define S3C_UDC_OTG_DOEPCTL(n)		S3C_USBOTGREG(0xB00 + n*0x20)	/* Device OUT Endpoint n Control */
+#define S3C_UDC_OTG_DOEPINT(n)		S3C_USBOTGREG(0xB08 + n*0x20)	/* Device OUT Endpoint n Interrupt */
+#define S3C_UDC_OTG_DOEPTSIZ(n)		S3C_USBOTGREG(0xB10 + n*0x20)	/* Device OUT Endpoint n Transfer Size */
+#define S3C_UDC_OTG_DOEPDMA(n)		S3C_USBOTGREG(0xB14 + n*0x20)	/* Device OUT Endpoint n DMA Address */
+
+/*------------------------------------------------ */
+/* Endpoint FIFO address */
+#define S3C_UDC_OTG_EP0_FIFO		S3C_USBOTGREG(0x1000)
+#define S3C_UDC_OTG_EP1_FIFO		S3C_USBOTGREG(0x2000)
+#define S3C_UDC_OTG_EP2_FIFO		S3C_USBOTGREG(0x3000)
+#define S3C_UDC_OTG_EP3_FIFO		S3C_USBOTGREG(0x4000)
+#define S3C_UDC_OTG_EP4_FIFO		S3C_USBOTGREG(0x5000)
+#define S3C_UDC_OTG_EP5_FIFO		S3C_USBOTGREG(0x6000)
+#define S3C_UDC_OTG_EP6_FIFO		S3C_USBOTGREG(0x7000)
+#define S3C_UDC_OTG_EP7_FIFO		S3C_USBOTGREG(0x8000)
+#define S3C_UDC_OTG_EP8_FIFO		S3C_USBOTGREG(0x9000)
+
+/*===================================================================== */
+/*definitions related to CSR setting */
+
+/* S3C_UDC_OTG_GOTGCTL */
+#define B_SESSION_VALID				(0x1<<19)
+#define A_SESSION_VALID				(0x1<<18)
+
+/* S3C_UDC_OTG_GAHBCFG */
+#define PTXFE_HALF				(0<<8)
+#define PTXFE_ZERO				(1<<8)
+#define NPTXFE_HALF				(0<<7)
+#define NPTXFE_ZERO				(1<<7)
+#define MODE_SLAVE				(0<<5)
+#define MODE_DMA				(1<<5)
+#define BURST_SINGLE				(0<<1)
+#define BURST_INCR				(1<<1)
+#define BURST_INCR4				(3<<1)
+#define BURST_INCR8				(5<<1)
+#define BURST_INCR16				(7<<1)
+#define GBL_INT_UNMASK				(1<<0)
+#define GBL_INT_MASK				(0<<0)
+
+/* S3C_UDC_OTG_GRSTCTL */
+#define AHB_MASTER_IDLE				(1u<<31)
+#define CORE_SOFT_RESET				(0x1<<0)
+
+/* S3C_UDC_OTG_GINTSTS/S3C_UDC_OTG_GINTMSK core interrupt register */
+#define INT_RESUME				(1u<<31)
+#define INT_DISCONN				(0x1<<29)
+#define INT_CONN_ID_STS_CNG			(0x1<<28)
+#define INT_OUT_EP				(0x1<<19)
+#define INT_IN_EP				(0x1<<18)
+#define INT_ENUMDONE				(0x1<<13)
+#define INT_RESET				(0x1<<12)
+#define INT_SUSPEND				(0x1<<11)
+#define INT_EARLY_SUSPEND			(0x1<<10)
+#define INT_NP_TX_FIFO_EMPTY			(0x1<<5)
+#define INT_RX_FIFO_NOT_EMPTY			(0x1<<4)
+#define INT_SOF					(0x1<<3)
+#define INT_DEV_MODE				(0x0<<0)
+#define INT_HOST_MODE				(0x1<<1)
+#define	INT_GOUTNakEff		(0x01<<7)
+#define	INT_GINNakEff		(0x01<<6)
+
+#define FULL_SPEED_CONTROL_PKT_SIZE		8
+#define FULL_SPEED_BULK_PKT_SIZE		64
+
+#define HIGH_SPEED_CONTROL_PKT_SIZE		64
+#define HIGH_SPEED_BULK_PKT_SIZE		512
+
+#ifndef CONFIG_PLAT_S5P64XX
+#define RX_FIFO_SIZE				2048
+#define NPTX_FIFO_START_ADDR			RX_FIFO_SIZE
+#define NPTX_FIFO_SIZE				2048
+#define PTX_FIFO_SIZE				2048
+#else
+#define RX_FIFO_SIZE				1024
+#define NPTX_FIFO_START_ADDR			RX_FIFO_SIZE
+#define NPTX_FIFO_SIZE				256
+#define PTX_FIFO_SIZE				256
+#endif
+
+#define DEPCTL_TXFNUM_0			(0x0<<22)
+#define DEPCTL_TXFNUM_1			(0x1<<22)
+#define DEPCTL_TXFNUM_2			(0x2<<22)
+#define DEPCTL_TXFNUM_3			(0x3<<22)
+#define DEPCTL_TXFNUM_4			(0x4<<22)
+
+
+/* Enumeration speed */
+#define USB_HIGH_30_60MHZ			(0x0<<1)
+#define USB_FULL_30_60MHZ			(0x1<<1)
+#define USB_LOW_6MHZ				(0x2<<1)
+#define USB_FULL_48MHZ				(0x3<<1)
+
+/* S3C_UDC_OTG_GRXSTSP STATUS */
+#define OUT_PKT_RECEIVED			(0x2<<17)
+#define OUT_TRANSFER_COMPLELTED			(0x3<<17)
+#define SETUP_TRANSACTION_COMPLETED		(0x4<<17)
+#define SETUP_PKT_RECEIVED			(0x6<<17)
+#define GLOBAL_OUT_NAK				(0x1<<17)
+
+
+/* S3C_UDC_OTG_DCTL device control register */
+#define NORMAL_OPERATION			(0x1<<0)
+#define SOFT_DISCONNECT				(0x1<<1)
+
+/* S3C_UDC_OTG_DAINT device all endpoint interrupt register */
+#define DAINT_OUT_BIT				(16)
+#define DAINT_MASK				(0xFFFF)
+
+
+
+/* S3C_UDC_OTG_DIEPCTL0/DOEPCTL0 device control IN/OUT endpoint 0 control register */
+#define DEPCTL_EPENA				(0x1<<31)
+#define DEPCTL_EPDIS				(0x1<<30)
+#define DEPCTL_SETD1PID				(0x1<<29)
+#define DEPCTL_SETD0PID				(0x1<<28)
+#define DEPCTL_SNAK				(0x1<<27)
+#define DEPCTL_CNAK				(0x1<<26)
+#define DEPCTL_STALL				(0x1<<21)
+#define DEPCTL_TYPE_BIT				(18)
+#define DEPCTL_TYPE_MASK			(0x3<<18)
+#define DEPCTL_CTRL_TYPE			(0x0<<18)
+#define DEPCTL_ISO_TYPE				(0x1<<18)
+#define DEPCTL_BULK_TYPE			(0x2<<18)
+#define DEPCTL_INTR_TYPE			(0x3<<18)
+#define DEPCTL_USBACTEP				(0x1<<15)
+#define DEPCTL_NEXT_EP_BIT			(11)
+#define DEPCTL_MPS_BIT				(0)
+#define DEPCTL_MPS_MASK				(0x7FF)
+
+#define DEPCTL0_MPS_64				(0x0<<0)
+#define DEPCTL0_MPS_32				(0x1<<0)
+#define DEPCTL0_MPS_16				(0x2<<0)
+#define DEPCTL0_MPS_8				(0x3<<0)
+#define DEPCTL_MPS_BULK_512			(512<<0)
+#define DEPCTL_MPS_INT_MPS_16		(16<<0)
+
+#define DIEPCTL0_NEXT_EP_BIT	(11)
+
+/* S3C_UDC_OTG_DIEPCTLn/DOEPCTLn device control IN/OUT endpoint n control register */
+
+/* S3C_UDC_OTG_DIEPMSK/DOEPMSK device IN/OUT endpoint common interrupt mask register */
+/* S3C_UDC_OTG_DIEPINTn/DOEPINTn device IN/OUT endpoint interrupt register */
+#define BACK2BACK_SETUP_RECEIVED		(0x1<<6)
+#define INTKNEPMIS				(0x1<<5)
+#define INTKN_TXFEMP				(0x1<<4)
+#define NON_ISO_IN_EP_TIMEOUT			(0x1<<3)
+#define CTRL_OUT_EP_SETUP_PHASE_DONE		(0x1<<3)
+#define AHB_ERROR				(0x1<<2)
+#define EPDISBLD				(0x1<<1)
+#define TRANSFER_DONE				(0x1<<0)
+
+/*DIEPTSIZ0 / DOEPTSIZ0 */
+
+/* DEPTSIZ common bit */
+#define DEPTSIZ_PKT_CNT_BIT 	(19)
+#define DEPTSIZ_XFER_SIZE_BIT	(0)
+
+#define	DEPTSIZ_SETUP_PKCNT_1	(1<<29)
+#define	DEPTSIZ_SETUP_PKCNT_2	(2<<29)
+#define	DEPTSIZ_SETUP_PKCNT_3	(3<<29)
+
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-pp.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-pp.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-pp.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-pp.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,80 @@
+/* linux/include/asm-arm/arch-s3c2410/regs-hsmmc.h
+ *
+ * Copyright (c) 2004 Samsung Electronics 
+ *		http://www.samsung.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C HSMMC Controller
+*/
+
+#ifndef __ASM_ARCH_REGS_PP_H
+#define __ASM_ARCH_REGS_PP_H __FILE__
+
+#define S3C_VPP(x)	((x))
+
+#define S3C_VPP_MODE 				S3C_VPP(0x00)
+#define S3C_VPP_PRESCALE_RATIO 		S3C_VPP(0x04)
+#define S3C_VPP_PRESCALEIMGSIZE 	S3C_VPP(0x08)
+#define S3C_VPP_SRCIMGSIZE 			S3C_VPP(0x0C)
+#define S3C_VPP_MAINSCALE_H_RATIO 	S3C_VPP(0x10)
+#define S3C_VPP_MAINSCALE_V_RATIO 	S3C_VPP(0x14)
+#define S3C_VPP_DSTIMGSIZE 			S3C_VPP(0x18)
+#define S3C_VPP_PRESCALE_SHFACTOR 	S3C_VPP(0x1C)
+#define S3C_VPP_ADDRSTART_Y 		S3C_VPP(0x20)
+#define S3C_VPP_ADDRSTART_CB 		S3C_VPP(0x24)
+#define S3C_VPP_ADDRSTART_CR 		S3C_VPP(0x28)
+#define S3C_VPP_ADDRSTART_RGB 		S3C_VPP(0x2C)
+#define S3C_VPP_ADDREND_Y 			S3C_VPP(0x30)
+#define S3C_VPP_ADDREND_CB 			S3C_VPP(0x34)
+#define S3C_VPP_ADDREND_CR 			S3C_VPP(0x38)
+#define S3C_VPP_ADDREND_RGB 		S3C_VPP(0x3C)	
+#define S3C_VPP_OFFSET_Y 			S3C_VPP(0x40)
+#define S3C_VPP_OFFSET_CB 			S3C_VPP(0x44)
+#define S3C_VPP_OFFSET_CR 			S3C_VPP(0x48)
+#define S3C_VPP_OFFSET_RGB 			S3C_VPP(0x4C)	
+#define S3C_VPP_NXTADDRSTART_Y 		S3C_VPP(0x54)
+#define S3C_VPP_NXTADDRSTART_CB 	S3C_VPP(0x58)
+#define S3C_VPP_NXTADDRSTART_CR 	S3C_VPP(0x5C)
+#define S3C_VPP_NXTADDRSTART_RGB 	S3C_VPP(0x60)
+#define S3C_VPP_NXTADDREND_Y 		S3C_VPP(0x64)
+#define S3C_VPP_NXTADDREND_CB 		S3C_VPP(0x68)
+#define S3C_VPP_NXTADDREND_CR 		S3C_VPP(0x6C)
+#define S3C_VPP_NXTADDREND_RGB 		S3C_VPP(0x70)	
+#define S3C_VPP_ADDRSTART_OCB 		S3C_VPP(0x74)
+#define S3C_VPP_ADDRSTART_OCR 		S3C_VPP(0x78)
+#define S3C_VPP_ADDREND_OCB 		S3C_VPP(0x7C)
+#define S3C_VPP_ADDREND_OCR 		S3C_VPP(0x80)
+#define S3C_VPP_OFFSET_OCB 			S3C_VPP(0x84)
+#define S3C_VPP_OFFSET_OCR 			S3C_VPP(0x88)
+#define S3C_VPP_NXTADDRSTART_OCB 	S3C_VPP(0x8C)
+#define S3C_VPP_NXTADDRSTART_OCR 	S3C_VPP(0x90)
+#define S3C_VPP_NXTADDREND_OCB 		S3C_VPP(0x94)
+#define S3C_VPP_NXTADDREND_OCR 		S3C_VPP(0x98)
+#define S3C_VPP_POSTENVID 			S3C_VPP(0x9C)
+#define S3C_VPP_MODE_2 				S3C_VPP(0xA0)
+
+//POSTENVID
+#define S3C_POSTENVID_ENABLE	(0x1<<31) // khlee
+#define S3C_POSTENVID_DISABLE	(0x0<<31) 
+
+//MODE Control register
+#define S3C_MODE_AUTOLOAD_ENABLE         (0x1<<14)
+#define S3C_MODE_POST_INT_ENABLE         (0x1<<7)
+#define S3C_MODE_POST_PENDING            (0x1<<6)
+#define S3C_MODE_IRQ_LEVEL               (0x1<<5)
+#define S3C_MODE_H_CLK_INPUT              (0x0<<2)
+#define S3C_MODE_EXT_CLK_0_INPUT          (0x1<<2)
+#define S3C_MODE_EXT_CLK_1_INPUT          (0x3<<2)
+
+//MODE Control register 2
+#define S3C_MODE2_ADDR_CHANGE_ENABLE      (0x0<<4)
+#define S3C_MODE2_ADDR_CHANGE_DISABLE     (0x1<<4)
+#define S3C_MODE2_CHANGE_AT_FIELD_END     (0x0<<3)
+#define S3C_MODE2_CHANGE_AT_FRAME_END     (0x1<<3)
+#define S3C_MODE2_SOFTWARE_TRIGGER        (0x0<<0)
+#define S3C_MODE2_HARDWARE_TRIGGER        (0x1<<0)
+
+#endif /* __ASM_ARCH_REGS_HSMMC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-rotator.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-rotator.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-rotator.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-rotator.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,68 @@
+/* linux/include/asm-arm/arch-s3c2410/regs-roator.h
+ *
+ * Copyright (c) 2004 Samsung Electronics 
+ *		http://www.samsung.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C Rotator Controller
+*/
+
+#ifndef __ASM_ARCH_REGS_ROTATOR_H
+#define __ASM_ARCH_REGS_ROTATOR_H __FILE__
+
+
+/*************************************************************************
+ * Macro part
+ ************************************************************************/
+#define S3C_ROT_SRC_WIDTH(x)				((x) << 0)
+#define S3C_ROT_SRC_HEIGHT(x)				((x) << 16)
+
+
+/*************************************************************************
+ * Bit definition part
+ ************************************************************************/
+#define S3C_ROTATOR_IDLE				(0 << 0)
+#define S3C_ROTATOR_CTRLREG_MASK			(0xE0F0)
+
+#define S3C_ROTATOR_CTRLCFG_ENABLE_INT			(1 << 24)
+
+#define S3C_ROTATOR_CTRLCFG_INPUT_YUV420		(0 << 13)
+#define S3C_ROTATOR_CTRLCFG_INPUT_YUV422		(3 << 13)
+#define S3C_ROTATOR_CTRLCFG_INPUT_RGB565		(4 << 13)
+#define S3C_ROTATOR_CTRLCFG_INPUT_RGB888		(5 << 13)
+
+#define S3C_ROTATOR_CTRLCFG_DEGREE_BYPASS		(0 << 6)
+#define S3C_ROTATOR_CTRLCFG_DEGREE_90			(1 << 6)
+#define S3C_ROTATOR_CTRLCFG_DEGREE_180			(2 << 6)
+#define S3C_ROTATOR_CTRLCFG_DEGREE_270			(3 << 6)
+
+#define S3C_ROTATOR_CTRLCFG_FLIP_BYPASS			(0 << 4)
+#define S3C_ROTATOR_CTRLCFG_FLIP_VER			(2 << 4)
+#define S3C_ROTATOR_CTRLCFG_FLIP_HOR			(3 << 4)
+
+#define S3C_ROTATOR_STATCFG_STATUS_IDLE			(0 << 0)
+#define S3C_ROTATOR_CTRLCFG_START_ROTATE		(1 << 0)
+#define S3C_ROTATOR_STATCFG_STATUS_BUSY		    	(2 << 0)
+#define S3C_ROTATOR_STATCFG_STATUS_BUSY_MORE		(3 << 0)
+#define S3C_ROTATOR_STATCFG_INT_PEND			(1 << 8)
+
+
+/*************************************************************************
+ * Register part
+ ************************************************************************/
+#define S3C_ROTATOR(x)	((x))
+#define S3C_ROTATOR_CTRLCFG			S3C_ROTATOR(0x0)
+#define S3C_ROTATOR_SRCADDRREG0			S3C_ROTATOR(0x4)
+#define S3C_ROTATOR_SRCADDRREG1			S3C_ROTATOR(0x8)
+#define S3C_ROTATOR_SRCADDRREG2			S3C_ROTATOR(0xC)
+#define S3C_ROTATOR_SRCSIZEREG			S3C_ROTATOR(0x10)
+#define S3C_ROTATOR_DESTADDRREG0		S3C_ROTATOR(0x18)
+#define S3C_ROTATOR_DESTADDRREG1		S3C_ROTATOR(0x1C)
+#define S3C_ROTATOR_DESTADDRREG2		S3C_ROTATOR(0x20)
+#define S3C_ROTATOR_STATCFG			S3C_ROTATOR(0x2C)
+
+#endif /* __ASM_ARCH_REGS_ROTATOR_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-rtc.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-rtc.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-rtc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-rtc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,83 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-rtc.h
+ *
+ * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk>
+ *		      http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C2410 Internal RTC register definition
+*/
+
+#ifndef __ASM_ARCH_REGS_RTC_H
+#define __ASM_ARCH_REGS_RTC_H __FILE__
+
+#define S3C2410_RTCREG(x) (x)
+
+#define S3C2410_INTP	      S3C2410_RTCREG(0x30)
+#define S3C2410_INTP_ALM	(1<<1)
+#define S3C2410_INTP_TIC	(1<<0)
+
+#define S3C2410_RTCCON	      S3C2410_RTCREG(0x40)
+#define S3C2410_RTCCON_RTCEN  (1<<0)
+#define S3C2410_RTCCON_CLKSEL (1<<1)
+#define S3C2410_RTCCON_CNTSEL (1<<2)
+#define S3C2410_RTCCON_CLKRST (1<<3)
+
+#if defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410) || defined (CONFIG_CPU_S5PC100) || defined (CONFIG_CPU_S5P6440)
+#define S3C_MAX_CNT	32768
+#define S3C_RTCCON_TICEN	(1<<8)
+#define S3C_RTC_TICNT	S3C2410_RTCREG(0x40)
+#else
+#define S3C_INTP_ALM	(1<<1)
+#define S3C_MAX_CNT	128
+#define S3C_RTCCON_TICEN  (1<<7)
+#define S3C_RTC_TICNT	S3C2410_RTCREG(0x44)
+#endif
+
+/* Common Reg for samsung AP*/
+#define S3C_INTP	S3C2410_RTCREG(0x30)
+#define S3C_INTP_ALM	(1<<1)
+#define S3C_INTP_TIC	(1<<0)
+
+
+#define S3C2410_TICNT	      S3C2410_RTCREG(0x44)
+#define S3C2410_TICNT_ENABLE  (1<<7)
+#define S3C64XX_TICNT_ENABLE  (1<<8)
+
+#define S3C2410_RTCALM	      S3C2410_RTCREG(0x50)
+#define S3C2410_RTCALM_ALMEN  (1<<6)
+#define S3C2410_RTCALM_YEAREN (1<<5)
+#define S3C2410_RTCALM_MONEN  (1<<4)
+#define S3C2410_RTCALM_DAYEN  (1<<3)
+#define S3C2410_RTCALM_HOUREN (1<<2)
+#define S3C2410_RTCALM_MINEN  (1<<1)
+#define S3C2410_RTCALM_SECEN  (1<<0)
+
+#define S3C2410_RTCALM_ALL \
+  S3C2410_RTCALM_ALMEN | S3C2410_RTCALM_YEAREN | S3C2410_RTCALM_MONEN |\
+  S3C2410_RTCALM_DAYEN | S3C2410_RTCALM_HOUREN | S3C2410_RTCALM_MINEN |\
+  S3C2410_RTCALM_SECEN
+
+
+#define S3C2410_ALMSEC	      S3C2410_RTCREG(0x54)
+#define S3C2410_ALMMIN	      S3C2410_RTCREG(0x58)
+#define S3C2410_ALMHOUR	      S3C2410_RTCREG(0x5c)
+
+#define S3C2410_ALMDATE	      S3C2410_RTCREG(0x60)
+#define S3C2410_ALMMON	      S3C2410_RTCREG(0x64)
+#define S3C2410_ALMYEAR	      S3C2410_RTCREG(0x68)
+
+#define S3C2410_RTCRST	      S3C2410_RTCREG(0x6c)
+
+#define S3C2410_RTCSEC	      S3C2410_RTCREG(0x70)
+#define S3C2410_RTCMIN	      S3C2410_RTCREG(0x74)
+#define S3C2410_RTCHOUR	      S3C2410_RTCREG(0x78)
+#define S3C2410_RTCDATE	      S3C2410_RTCREG(0x7c)
+#define S3C2410_RTCDAY	      S3C2410_RTCREG(0x80)
+#define S3C2410_RTCMON	      S3C2410_RTCREG(0x84)
+#define S3C2410_RTCYEAR	      S3C2410_RTCREG(0x88)
+
+
+#endif /* __ASM_ARCH_REGS_RTC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-sdhci.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-sdhci.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-sdhci.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-sdhci.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,87 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-sdhci.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C Platform - SDHCI (HSMMC) register definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __PLAT_S3C_SDHCI_REGS_H
+#define __PLAT_S3C_SDHCI_REGS_H __FILE__
+
+#define S3C_SDHCI_CONTROL2			(0x80)
+#define S3C_SDHCI_CONTROL3			(0x84)
+#define S3C64XX_SDHCI_CONTROL4			(0x8C)
+
+#define S3C64XX_SDHCI_CTRL2_ENSTAASYNCCLR	(1 << 31)
+#define S3C64XX_SDHCI_CTRL2_ENCMDCNFMSK		(1 << 30)
+#define S3C_SDHCI_CTRL2_CDINVRXD3		(1 << 29)
+#define S3C_SDHCI_CTRL2_SLCARDOUT		(1 << 28)
+
+#define S3C_SDHCI_CTRL2_FLTCLKSEL_MASK		(0xf << 24)
+#define S3C_SDHCI_CTRL2_FLTCLKSEL_SHIFT		(24)
+#define S3C_SDHCI_CTRL2_FLTCLKSEL(_x)		((_x) << 24)
+
+#define S3C_SDHCI_CTRL2_LVLDAT_MASK		(0xff << 16)
+#define S3C_SDHCI_CTRL2_LVLDAT_SHIFT		(16)
+#define S3C_SDHCI_CTRL2_LVLDAT(_x)		((_x) << 16)
+
+#define S3C_SDHCI_CTRL2_ENFBCLKTX		(1 << 15)
+#define S3C_SDHCI_CTRL2_ENFBCLKRX		(1 << 14)
+#define S3C_SDHCI_CTRL2_SDCDSEL			(1 << 13)
+#define S3C_SDHCI_CTRL2_SDSIGPC			(1 << 12)
+#define S3C_SDHCI_CTRL2_ENBUSYCHKTXSTART	(1 << 11)
+
+#define S3C_SDHCI_CTRL2_DFCNT_MASK		(0x3 << 9)
+#define S3C_SDHCI_CTRL2_DFCNT_SHIFT		(9)
+#define S3C_SDHCI_CTRL2_DFCNT_NONE		(0x0 << 9)
+#define S3C_SDHCI_CTRL2_DFCNT_4SDCLK		(0x1 << 9)
+#define S3C_SDHCI_CTRL2_DFCNT_16SDCLK		(0x2 << 9)
+#define S3C_SDHCI_CTRL2_DFCNT_64SDCLK		(0x3 << 9)
+
+#define S3C_SDHCI_CTRL2_ENCLKOUTHOLD		(1 << 8)
+#define S3C_SDHCI_CTRL2_RWAITMODE		(1 << 7)
+#define S3C_SDHCI_CTRL2_DISBUFRD		(1 << 6)
+#define S3C_SDHCI_CTRL2_SELBASECLK_MASK		(0x3 << 4)
+#define S3C_SDHCI_CTRL2_SELBASECLK_SHIFT	(4)
+#define S3C_SDHCI_CTRL2_PWRSYNC			(1 << 3)
+#define S3C_SDHCI_CTRL2_ENCLKOUTMSKCON		(1 << 1)
+#define S3C_SDHCI_CTRL2_HWINITFIN		(1 << 0)
+
+#define S3C_SDHCI_CTRL3_FCSEL3			(1 << 31)
+#define S3C_SDHCI_CTRL3_FCSEL2			(1 << 23)
+#define S3C_SDHCI_CTRL3_FCSEL1			(1 << 15)
+#define S3C_SDHCI_CTRL3_FCSEL0			(1 << 7)
+
+#define S3C_SDHCI_CTRL3_FIA3_MASK		(0x7f << 24)
+#define S3C_SDHCI_CTRL3_FIA3_SHIFT		(24)
+#define S3C_SDHCI_CTRL3_FIA3(_x)		((_x) << 24)
+
+#define S3C_SDHCI_CTRL3_FIA2_MASK		(0x7f << 16)
+#define S3C_SDHCI_CTRL3_FIA2_SHIFT		(16)
+#define S3C_SDHCI_CTRL3_FIA2(_x)		((_x) << 16)
+
+#define S3C_SDHCI_CTRL3_FIA1_MASK		(0x7f << 8)
+#define S3C_SDHCI_CTRL3_FIA1_SHIFT		(8)
+#define S3C_SDHCI_CTRL3_FIA1(_x)		((_x) << 8)
+
+#define S3C_SDHCI_CTRL3_FIA0_MASK		(0x7f << 0)
+#define S3C_SDHCI_CTRL3_FIA0_SHIFT		(0)
+#define S3C_SDHCI_CTRL3_FIA0(_x)		((_x) << 0)
+
+#define S3C64XX_SDHCI_CONTROL4_DRIVE_MASK	(0x3 << 16)
+#define S3C64XX_SDHCI_CONTROL4_DRIVE_SHIFT	(16)
+#define S3C64XX_SDHCI_CONTROL4_DRIVE_2mA	(0x0 << 16)
+#define S3C64XX_SDHCI_CONTROL4_DRIVE_4mA	(0x1 << 16)
+#define S3C64XX_SDHCI_CONTROL4_DRIVE_7mA	(0x2 << 16)
+#define S3C64XX_SDHCI_CONTROL4_DRIVE_9mA	(0x3 << 16)
+
+#define S3C64XX_SDHCI_CONTROL4_BUSY		(1)
+
+#endif /* __PLAT_S3C_SDHCI_REGS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-serial.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-serial.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-serial.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-serial.h	2009-04-30 09:36:37.000000000 +0200
@@ -1,4 +1,4 @@
-/* arch/arm/mach-s3c2410/include/mach/regs-serial.h
+/* linux/arch/arm/plat-s3c/include/plat/regs-serial.h
  *
  *  From linux/include/asm-arm/hardware/serial_s3c2410.h
  *
@@ -32,6 +32,17 @@
 #ifndef __ASM_ARM_REGS_SERIAL_H
 #define __ASM_ARM_REGS_SERIAL_H
 
+#if defined(CONFIG_PLAT_S3C64XX) || defined(CONFIG_PLAT_S5PC1XX) 
+#define S3C24XX_VA_UART0      (S3C_VA_UART)
+#define S3C24XX_VA_UART1      (S3C_VA_UART + 0x400)
+#define S3C24XX_VA_UART2      (S3C_VA_UART + 0x800)
+#define S3C24XX_VA_UART3      (S3C_VA_UART + 0xC00)
+
+#define S3C2410_PA_UART0      (S3C24XX_PA_UART)
+#define S3C2410_PA_UART1      (S3C24XX_PA_UART + 0x400)
+#define S3C2410_PA_UART2      (S3C24XX_PA_UART + 0x800)
+#define S3C2443_PA_UART3      (S3C24XX_PA_UART + 0xC00)
+#else
 #define S3C24XX_VA_UART0      (S3C_VA_UART)
 #define S3C24XX_VA_UART1      (S3C_VA_UART + 0x4000 )
 #define S3C24XX_VA_UART2      (S3C_VA_UART + 0x8000 )
@@ -41,6 +52,7 @@
 #define S3C2410_PA_UART1      (S3C24XX_PA_UART + 0x4000 )
 #define S3C2410_PA_UART2      (S3C24XX_PA_UART + 0x8000 )
 #define S3C2443_PA_UART3      (S3C24XX_PA_UART + 0xC000 )
+#endif
 
 #define S3C2410_URXH	  (0x24)
 #define S3C2410_UTXH	  (0x20)
@@ -48,11 +60,13 @@
 #define S3C2410_UCON	  (0x04)
 #define S3C2410_UFCON	  (0x08)
 #define S3C2410_UMCON	  (0x0C)
-#define S3C2410_UBRDIV	  (0x28)
 #define S3C2410_UTRSTAT	  (0x10)
 #define S3C2410_UERSTAT	  (0x14)
 #define S3C2410_UFSTAT	  (0x18)
 #define S3C2410_UMSTAT	  (0x1C)
+#define S3C2410_UBRDIV	  (0x28)
+#define S3C2410_UDIVSLOT  (0x2C)
+#define S3C2410_UINTMSK  (0x38)
 
 #define S3C2410_LCON_CFGMASK	  ((0xF<<3)|(0x3))
 
@@ -77,6 +91,12 @@
 #define S3C2440_UCON_FCLK	  (3<<10)
 #define S3C2443_UCON_EPLL	  (3<<10)
 
+#define S3C6400_UCON_CLKMASK	(3<<10)
+#define S3C6400_UCON_PCLK	(0<<10)
+#define S3C6400_UCON_PCLK2	(2<<10)
+#define S3C6400_UCON_UCLK0	(1<<10)
+#define S3C6400_UCON_UCLK1	(3<<10)
+
 #define S3C2440_UCON2_FCLK_EN	  (1<<15)
 #define S3C2440_UCON0_DIVMASK	  (15 << 12)
 #define S3C2440_UCON1_DIVMASK	  (15 << 12)
@@ -149,6 +169,14 @@
 #define S3C2410_UFSTAT_RXMASK	  (15<<0)
 #define S3C2410_UFSTAT_RXSHIFT	  (0)
 
+/* UFSTAT S3C24A0 */
+#define S3C24A0_UFSTAT_TXFULL	  (1 << 14)
+#define S3C24A0_UFSTAT_RXFULL	  (1 << 6)
+#define S3C24A0_UFSTAT_TXMASK	  (63 << 8)
+#define S3C24A0_UFSTAT_TXSHIFT	  (8)
+#define S3C24A0_UFSTAT_RXMASK	  (63)
+#define S3C24A0_UFSTAT_RXSHIFT	  (0)
+
 /* UFSTAT S3C2443 same as S3C2440 */
 #define S3C2440_UFSTAT_TXFULL	  (1<<14)
 #define S3C2440_UFSTAT_RXFULL	  (1<<6)
@@ -175,6 +203,135 @@
 
 #define S3C2443_DIVSLOT		  (0x2C)
 
+/* S3C64XX only */
+#define S3C64XX_ULCON_WORD_5BIT	(0 << 0)
+#define S3C64XX_ULCON_WORD_6BIT	(1 << 0)
+#define S3C64XX_ULCON_WORD_7BIT	(2 << 0)
+#define S3C64XX_ULCON_WORD_8BIT	(3 << 0)
+
+#define S3C64XX_UCON_DEFAULT	(S3C2410_UCON_TXILEVEL  | \
+					S3C2410_UCON_RXILEVEL  | \
+					S3C2410_UCON_TXIRQMODE | \
+					S3C2410_UCON_RXIRQMODE | \
+					S3C2410_UCON_RXFIFO_TOI | \
+					S3C2443_UCON_RXERR_IRQEN)
+
+#define S3C64XX_UFCON_DEFAULT	(S3C2410_UFCON_FIFOMODE | \
+					S3C2440_UFCON_TXTRIG16  | \
+					S3C2410_UFCON_RXTRIG8 )
+
+#define S3C64XX_ULCON_DEFAULT	S3C64XX_ULCON_WORD_8BIT
+
+#if defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410) || defined(CONFIG_CPU_S5PC100) 
+#define S3C_ULCON         (0x00)
+#define S3C_UCON          (0x04)
+#define S3C_UFCON         (0x08)
+#define S3C_UMCON         (0x0C)
+#define S3C_UTRSTAT       (0x10)
+#define S3C_UERSTAT       (0x14)
+#define S3C_UFSTAT        (0x18)
+#define S3C_UMSTAT        (0x1C)
+#define S3C_UTXH          (0x20)
+#define S3C_URXH          (0x24)
+#define S3C_UBRDIV        (0x28)
+#define S3C_UDIVSLOT      (0x2C)
+#define S3C_UINTPND       (0x30)
+#define S3C_UINTSP        (0x34)
+#define S3C_UINTMSK       (0x38)
+
+/* base definitions for UART Line Control Register */
+#define S3C_LCON_CFGMASK        (0x7f)
+
+#define S3C_LCON_CS5    (0x0)
+#define S3C_LCON_CS6    (0x1)
+#define S3C_LCON_CS7    (0x2)
+#define S3C_LCON_CS8    (0x3)
+#define S3C_LCON_CSMASK (0x3)
+
+#define S3C_LCON_PNONE  (0x0)
+#define S3C_LCON_PEVEN  (0x5 << 3)
+#define S3C_LCON_PODD   (0x4 << 3)
+#define S3C_LCON_PMASK  (0x7 << 3)
+
+#define S3C_LCON_STOPB          (1<<2)
+#define S3C_LCON_IRM            (1<<6)
+
+#define S3C_UCON_CLKMASK        (3<<10)
+#define S3C_UCON_PCLK           (0<<10)
+#define S3C_UCON_UCLK           (1<<10)
+#define S3C_UCON_PCLK2          (2<<10)
+#define S3C_UCON_FCLK           (3<<10)
+
+#define S3C_UCON_TXILEVEL       (1<<9)
+#define S3C_UCON_RXILEVEL       (1<<8)
+#define S3C_UCON_TXIRQMODE      (1<<2)
+#define S3C_UCON_RXIRQMODE      (1<<0)
+#define S3C_UCON_RXFIFO_TOI     (1<<7)
+#define S3C_UCON_RX_ESIE        (1<<6)
+#define S3C_UCON_LOOP_OPERATION (0<<5)
+#define S3C_UCON_NO_SBS         (0<<4)
+
+
+#define S3C_UCON_DEFAULT          (S3C_UCON_TXILEVEL  | \
+                                   S3C_UCON_RXILEVEL  | \
+                                   S3C_UCON_TXIRQMODE | \
+                                   S3C_UCON_RXIRQMODE | \
+                                   S3C_UCON_RXFIFO_TOI)
+
+/* base definitions for UART FIFO Control Register */
+#define S3C_UFCON_FIFOMODE        (1<<0)
+#define S3C_UFCON_RXTRIG12        (2<<4)
+
+/* S3C2413 FIFO trigger levels */
+#define S3C_UFCON_RXTRIG1         (0<<4)
+#define S3C_UFCON_RXTRIG8         (1<<4)
+#define S3C_UFCON_RXTRIG16        (2<<4)
+#define S3C_UFCON_RXTRIG32        (3<<4)
+
+#define S3C_UFCON_TXTRIG0         (0<<6)
+#define S3C_UFCON_TXTRIG16        (1<<6)
+#define S3C_UFCON_TXTRIG32        (2<<6)
+#define S3C_UFCON_TXTRIG48        (3<<6)
+
+#define S3C_UFCON_RESETBOTH       (3<<1)
+#define S3C_UFCON_RESETTX         (1<<2)
+#define S3C_UFCON_RESETRX         (1<<1)
+#define S3C_UFCON_FIFO_ENABLE     (1<<0)
+
+#define S3C_UFCON_DEFAULT         (S3C_UFCON_FIFOMODE | \
+                                   S3C_UFCON_TXTRIG0  | \
+                                   S3C_UFCON_RXTRIG8 )
+
+#define S3C_UMCOM_AFC             (1<<4)
+#define S3C_UMCOM_RTS_LOW         (1<<0)
+
+#define S3C_UFSTAT_TXFULL         (1<<14)
+#define S3C_UFSTAT_RXFULL         (1<<6)
+#define S3C_UFSTAT_TXSHIFT        (8)
+#define S3C_UFSTAT_RXSHIFT        (0)
+#define S3C_UFSTAT_TXMASK         (63<<8)
+#define S3C_UFSTAT_RXMASK         (63)
+
+#define S3C_UTRSTAT_TXE           (1<<2)
+#define S3C_UTRSTAT_TXFE          (1<<1)
+#define S3C_UTRSTAT_RXDR          (1<<0)
+
+#define UART_RX_INT             (1<<0)
+#define UART_TX_INT             (1<<2)
+#define UART_ERR_INT            (1<<1)
+#define UART_MODEM_INT          (1<<3)
+
+#define S3C_UERSTAT_OVERRUN       (1<<0)
+#define S3C_UERSTAT_FRAME         (1<<2)
+#define S3C_UERSTAT_BREAK         (1<<3)
+#define S3C_UERSTAT_ANY   (S3C_UERSTAT_OVERRUN | \
+                                   S3C_UERSTAT_FRAME | \
+                                   S3C_UERSTAT_BREAK)
+
+#define S3C_UMSTAT_CTS            (1<<0)
+#define S3C_UMSTAT_DeltaCTS       (1<<2)
+#endif
+
 #ifndef __ASSEMBLY__
 
 /* struct s3c24xx_uart_clksrc
@@ -208,7 +365,11 @@
 	unsigned char	   hwport;	 /* hardware port number */
 	unsigned char	   unused;
 	unsigned short	   flags;
+#if !defined(CONFIG_CPU_S3C6400) && !defined(CONFIG_CPU_S3C6410) && !defined(CONFIG_CPU_S5PC100) 
 	upf_t		   uart_flags;	 /* default uart flags */
+#else
+        unsigned long   uart_flags;      /* default uart flags */
+#endif
 
 	unsigned long	   ucon;	 /* value of ucon for port */
 	unsigned long	   ulcon;	 /* value of ulcon for port */
@@ -224,7 +385,7 @@
  * or platform_add_device() before the console_initcall()
 */
 
-extern struct platform_device *s3c24xx_uart_devs[3];
+extern struct platform_device *s3c24xx_uart_devs[4];
 
 #endif /* __ASSEMBLY__ */
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-spi.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-spi.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-spi.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-spi.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,124 @@
+/* linux/include/asm-arm/arch-s3c2410/regs-spi.h
+ *
+ * Copyright (c) 2004 Fetron GmbH
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C2410 SPI register definition
+*/
+
+#ifndef __ASM_ARCH_REGS_SPI_H
+#define __ASM_ARCH_REGS_SPI_H
+
+/*
+ * SPI(High speed) Registers
+ */
+
+#define S3C_SPI_REG_CH0(x)	((x) + S3C_VA_SPI0)
+#define S3C_SPI_REG_CH1(x)	((x) + S3C_VA_SPI1)
+
+#define S3C_CH_CFG		(0x00)      //SPI configuration
+#define S3C_CLK_CFG		(0x04)      //Clock configuration
+#define S3C_MODE_CFG		(0x08)      //SPI FIFO control
+#define S3C_SLAVE_SEL		(0x0C)      //Slave selection
+#define S3C_SPI_INT_EN		(0x10)      //SPI interrupt enable
+#define S3C_SPI_STATUS		(0x14)      //SPI status
+#define S3C_SPI_TX_DATA		(0x18)      //SPI TX data
+#define S3C_SPI_RX_DATA		(0x1C)      //SPI RX data
+#define S3C_PACKET_CNT		(0x20)      //count how many data master gets
+#define S3C_PENDING_CLR		(0x24)      //Pending clear
+#define S3C_SWAP_CFG		(0x28)      //SWAP config register
+#define S3C_FB_CLK		(0x2C)      //SWAP FB config register
+
+
+#define SPI_CH_HIGH_SPEED_EN	(1<<6)
+#define SPI_CH_SW_RST		(1<<5)
+#define SPI_CH_MASTER		(0<<4)
+#define SPI_CH_SLAVE		(1<<4)
+#define SPI_CH_RISING		(0<<3)
+#define SPI_CH_FALLING		(1<<3)
+#define SPI_CH_FORMAT_A		(0<<2)
+#define SPI_CH_FORMAT_B		(1<<2)
+#define SPI_CH_RXCH_OFF		(0<<1)
+#define SPI_CH_RXCH_ON		(1<<1)
+#define SPI_CH_TXCH_OFF		(0<<0)
+#define SPI_CH_TXCH_ON		(1<<0)
+
+#define SPI_CLKSEL_PCLK		(0<<9)
+#define SPI_CLKSEL_SCLK_48	(1<<9)
+#define SPI_CLKSEL_SCLK		(2<<9)
+#define SPI_ENCLK_DISABLE	(0<<8)
+#define SPI_ENCLK_ENABLE	(1<<8)
+
+#define SPI_MODE_CH_TSZ_BYTE	(0<<29)
+#define SPI_MODE_CH_TSZ_HALFWORD	(1<<29)
+#define SPI_MODE_CH_TSZ_WORD	(2<<29)
+#define SPI_MODE_BUS_TSZ_BYTE	(0<<18)
+#define SPI_MODE_BUS_TSZ_HALFWORD	(1<<17)
+#define SPI_MODE_BUS_TSZ_WORD	(2<<17)
+#define SPI_MODE_SWAP_ENABLE	(1<<3)
+#define SPI_MODE_SWAP_DISABLE	(0<<3)
+#define SPI_MODE_RXDMA_OFF	(0<<2)
+#define SPI_MODE_RXDMA_ON	(1<<2)
+#define SPI_MODE_TXDMA_OFF	(0<<1)
+#define SPI_MODE_TXDMA_ON	(1<<1)
+#define SPI_MODE_SINGLE		(0<<0)
+#define SPI_MODE_4BURST		(1<<0)
+
+#define SPI_SLAVE_MAN		(0<<1)
+#define SPI_SLAVE_AUTO		(1<<1)
+#define SPI_SLAVE_SIG_ACT	(0<<0)
+#define SPI_SLAVE_SIG_INACT	(1<<0)
+
+#define SPI_INT_TRAILING_DIS	(0<<6)
+#define SPI_INT_TRAILING_EN	(1<<6)
+#define SPI_INT_RX_OVERRUN_DIS	(0<<5)
+#define SPI_INT_RX_OVERRUN_EN	(1<<5)
+#define SPI_INT_RX_UNDERRUN_DIS	(0<<4)
+#define SPI_INT_RX_UNDERRUN_EN	(1<<4)
+#define SPI_INT_TX_OVERRUN_DIS	(0<<3)
+#define SPI_INT_TX_OVERRUN_EN	(1<<3)
+#define SPI_INT_TX_UNDERRUN_DIS	(0<<2)
+#define SPI_INT_TX_UNDERRUN_EN	(1<<2)
+#define SPI_INT_RX_FIFORDY_DIS	(0<<1)
+#define SPI_INT_RX_FIFORDY_EN	(1<<1)
+#define SPI_INT_TX_FIFORDY_DIS	(0<<0)
+#define SPI_INT_TX_FIFORDY_EN	(1<<0)
+
+#define SPI_STUS_TX_DONE	(1<<21)
+#define SPI_STUS_TRAILCNT_ZERO	(1<<20)
+#define SPI_STUS_RX_OVERRUN_ERR	(1<<5)
+#define SPI_STUS_RX_UNDERRUN_ERR	(1<<4)
+#define SPI_STUS_TX_OVERRUN_ERR	(1<<3)
+#define SPI_STUS_TX_UNDERRUN_ERR	(1<<2)
+#define SPI_STUS_RX_FIFORDY	(1<<1)
+#define SPI_STUS_TX_FIFORDY	(1<<0)
+
+#define SPI_PACKET_CNT_DIS	(0<<16)
+#define SPI_PACKET_CNT_EN	(1<<16)
+
+#define SPI_PND_TX_UNDERRUN_CLR	(1<<4)
+#define SPI_PND_TX_OVERRUN_CLR	(1<<3)
+#define SPI_PND_RX_UNDERRUN_CLR	(1<<2)
+#define SPI_PND_RX_OVERRUN_CLR	(1<<1)
+#define SPI_PND_TRAILING_CLR	(1<<0)
+
+#define SPI_SWAP_RX_HALF_WORD	(1<<7)
+#define SPI_SWAP_RX_BYTE	(1<<6)
+#define SPI_SWAP_RX_BIT		(1<<5)
+#define SPI_SWAP_RX_EN		(1<<4)
+#define SPI_SWAP_TX_HALF_WORD	(1<<3)
+#define SPI_SWAP_TX_BYTE	(1<<2)
+#define SPI_SWAP_TX_BIT		(1<<1)
+#define SPI_SWAP_TX_EN		(1<<0)
+
+#define SPI_FBCLK_0NS		(0<<0)
+#define SPI_FBCLK_3NS		(1<<0)
+#define SPI_FBCLK_6NS		(2<<0)
+#define SPI_FBCLK_9NS		(3<<0)
+
+
+#endif /* __ASM_ARCH_REGS_SPI_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-timer.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-timer.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-timer.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-timer.h	2009-04-30 09:36:37.000000000 +0200
@@ -1,4 +1,4 @@
-/* arch/arm/mach-s3c2410/include/mach/regs-timer.h
+/* linux/arch/arm/plat-s3c/include/plat/regs-timer.h
  *
  * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk>
  *		      http://www.simtec.co.uk/products/SWLINUX/
@@ -21,12 +20,15 @@
 #define S3C2410_TCFG1	      S3C_TIMERREG(0x04)
 #define S3C2410_TCON	      S3C_TIMERREG(0x08)
 
+#define S3C64XX_TINT_CSTAT    S3C_TIMERREG(0x44)
+
 #define S3C2410_TCFG_PRESCALER0_MASK (255<<0)
 #define S3C2410_TCFG_PRESCALER1_MASK (255<<8)
 #define S3C2410_TCFG_PRESCALER1_SHIFT (8)
 #define S3C2410_TCFG_DEADZONE_MASK   (255<<16)
 #define S3C2410_TCFG_DEADZONE_SHIFT  (16)
 
+#define S3C2410_TCFG1_MUX4_DIV1	  (0<<16)
 #define S3C2410_TCFG1_MUX4_DIV2	  (0<<16)
 #define S3C2410_TCFG1_MUX4_DIV4	  (1<<16)
 #define S3C2410_TCFG1_MUX4_DIV8	  (2<<16)
@@ -109,6 +111,109 @@
 #define S3C2410_TCON_T0MANUALUPD  (1<<1)
 #define S3C2410_TCON_T0START	  (1<<0)
 
+/* Interrupt Control and Status register*/
+#define S3C_TINT_CSTAT_T4INT    (1<<9)
+#define S3C_TINT_CSTAT_T3INT    (1<<8)
+#define S3C_TINT_CSTAT_T2INT    (1<<7)
+#define S3C_TINT_CSTAT_T1INT    (1<<6)
+#define S3C_TINT_CSTAT_T0INT    (1<<5)
+#define S3C_TINT_CSTAT_T4INTEN  (1<<4)
+#define S3C_TINT_CSTAT_T3INTEN  (1<<3)
+#define S3C_TINT_CSTAT_T2INTEN  (1<<2)
+#define S3C_TINT_CSTAT_T1INTEN  (1<<1)
+#define S3C_TINT_CSTAT_T0INTEN  (1<<0)
+
+#if defined(CONFIG_PLAT_S3C64XX) || defined(CONFIG_PLAT_S5PC1XX) 
+#define S3C_TCFG0       S3C_TIMERREG(0x00)
+#define S3C_TCFG1       S3C_TIMERREG(0x04)
+#define S3C_TCON        S3C_TIMERREG(0x08)
+#define S3C_TINT_CSTAT  S3C_TIMERREG(0x44)
+
+#define S3C_TCFG_PRESCALER0_MASK (255<<0)
+#define S3C_TCFG_PRESCALER1_MASK (255<<8)
+#define S3C_TCFG_PRESCALER1_SHIFT (8)
+#define S3C_TCFG_PRESCALER0_SHIFT (0)
+#define S3C_TCFG_DEADZONE_MASK   (255<<16)
+#define S3C_TCFG_DEADZONE_SHIFT  (16)
+
+#define S3C_TCFG1_MUX4_DIV1       (0<<16)
+#define S3C_TCFG1_MUX4_DIV2       (1<<16)
+#define S3C_TCFG1_MUX4_DIV4       (2<<16)
+#define S3C_TCFG1_MUX4_DIV8       (3<<16)
+#define S3C_TCFG1_MUX4_DIV16  (4<<16)
+#define S3C_TCFG1_MUX4_TCLK1  (5<<16)
+#define S3C_TCFG1_MUX4_MASK       (15<<16)
+
+#define S3C_TCFG1_MUX3_DIV1       (0<<12)
+#define S3C_TCFG1_MUX3_DIV2       (1<<12)
+#define S3C_TCFG1_MUX3_DIV4       (2<<12)
+#define S3C_TCFG1_MUX3_DIV8       (3<<12)
+#define S3C_TCFG1_MUX3_DIV16  (4<<12)
+#define S3C_TCFG1_MUX3_TCLK1  (5<<12)
+#define S3C_TCFG1_MUX3_MASK       (15<<12)
+
+#define S3C_TCFG1_MUX2_DIV1       (0<<8)
+#define S3C_TCFG1_MUX2_DIV2       (1<<8)
+#define S3C_TCFG1_MUX2_DIV4       (2<<8)
+#define S3C_TCFG1_MUX2_DIV8       (3<<8)
+#define S3C_TCFG1_MUX2_DIV16  (4<<8)
+#define S3C_TCFG1_MUX2_TCLK1  (5<<8)
+#define S3C_TCFG1_MUX2_MASK       (15<<8)
+
+#define S3C_TCFG1_MUX1_DIV1       (0<<4)
+#define S3C_TCFG1_MUX1_DIV2       (1<<4)
+#define S3C_TCFG1_MUX1_DIV4       (2<<4)
+#define S3C_TCFG1_MUX1_DIV8       (3<<4)
+#define S3C_TCFG1_MUX1_DIV16  (4<<4)
+#define S3C_TCFG1_MUX1_TCLK0  (5<<4)
+#define S3C_TCFG1_MUX1_MASK       (15<<4)
+
+#define S3C_TCFG1_MUX0_DIV1       (0<<0)
+#define S3C_TCFG1_MUX0_DIV2       (1<<0)
+#define S3C_TCFG1_MUX0_DIV4       (2<<0)
+#define S3C_TCFG1_MUX0_DIV8       (3<<0)
+#define S3C_TCFG1_MUX0_DIV16  (4<<0)
+#define S3C_TCFG1_MUX0_TCLK0  (5<<0)
+#define S3C_TCFG1_MUX0_MASK       (15<<0)
+
+/* for each timer, we have an count buffer, an compare buffer and
+ *  *  * an observation buffer
+ *   *  */
+
+/* WARNING - timer 4 has no buffer reg, and it's observation is at +4 */
+/* 32bit timer used */
+
+#define S3C_TCNTB(tmr)    S3C_TIMERREG2(tmr, 0x00)
+#define S3C_TCMPB(tmr)    S3C_TIMERREG2(tmr, 0x04)
+#define S3C_TCNTO(tmr)    S3C_TIMERREG2(tmr, (((tmr) == 4) ? 0x04 : 0x08))
+
+#define S3C_TCON_T4RELOAD         (1<<22)
+#define S3C_TCON_T4MANUALUPD  (1<<21)
+#define S3C_TCON_T4START          (1<<20)
+
+#define S3C_TCON_T3RELOAD         (1<<19)
+#define S3C_TCON_T3INVERT         (1<<18)
+#define S3C_TCON_T3MANUALUPD  (1<<17)
+#define S3C_TCON_T3START          (1<<16)
+
+#define S3C_TCON_T2RELOAD         (1<<15)
+#define S3C_TCON_T2INVERT         (1<<14)
+#define S3C_TCON_T2MANUALUPD  (1<<13)
+#define S3C_TCON_T2START          (1<<12)
+
+#define S3C_TCON_T1RELOAD         (1<<11)
+#define S3C_TCON_T1INVERT         (1<<10)
+#define S3C_TCON_T1MANUALUPD  (1<<9)
+#define S3C_TCON_T1START          (1<<8)
+
+#define S3C_TCON_T0DEADZONE       (1<<4)
+#define S3C_TCON_T0RELOAD         (1<<3)
+#define S3C_TCON_T0INVERT         (1<<2)
+#define S3C_TCON_T0MANUALUPD  (1<<1)
+#define S3C_TCON_T0START          (1<<0)
+
+#endif
+
 #endif /*  __ASM_ARCH_REGS_TIMER_H */
 
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-tvenc.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-tvenc.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-tvenc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-tvenc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,198 @@
+/* linux/include/asm-arm/arch-s3c2410/regs-tvenc.h
+ *
+ * Copyright (c) 2007 Samsung Electronics
+ *		      http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.*/
+
+#ifndef __ASM_ARM_REGS_TVENC_H
+#define __ASM_ARM_REGS_TVENC_H
+
+#define S3C_TVCTRL		(0x00)
+#define S3C_VBPORCH		(0x04)
+#define S3C_HBPORCH		(0x08)
+#define S3C_HENHOFFSET		(0x0C)
+#define S3C_VDEMOWINSIZE	(0x10)
+#define S3C_HDEMOWINSIZE	(0x14)
+#define S3C_INIMAGESIZE		(0x18)
+#define S3C_PEDCTRL		(0x1C)
+#define S3C_YCFILTERBW		(0x20)
+#define S3C_HUECTRL		(0x24)
+#define S3C_FSCCTRL		(0x28)
+#define S3C_FSCDTOMANCTRL	(0x2C)
+#define S3C_BGCTRL		(0x34)
+#define S3C_BGHVAVCTRL		(0x38)
+#define S3C_CONTRABRIGHT	(0x44)
+#define S3C_CBCRGAINCTRL	(0x48)
+#define S3C_DEMOWINCTRL		(0x4C)
+#define S3C_FTCA		(0x50)
+#define S3C_BWGAIN		(0x58)
+#define S3C_SHARPCTRL		(0x60)
+#define S3C_GAMMACTRL		(0x64)
+#define S3C_FSCAUXCTRL		(0x68)
+#define S3C_SYNCSIZECTRL	(0x6C)
+#define S3C_BURSTCTRL		(0x70)
+#define S3C_MACROBURSTCTRL	(0x74)
+#define S3C_ACTVIDPOCTRL	(0x78)
+#define S3C_ENCCTRL		(0x7C)
+#define S3C_MUTECTRL		(0x80)
+#define S3C_MACROVISION0	(0x84)
+#define S3C_MACROVISION1	(0x88)
+#define S3C_MACROVISION2	(0x8C)
+#define S3C_MACROVISION3	(0x90)
+#define S3C_MACROVISION4	(0x94)
+#define S3C_MACROVISION5	(0x98)
+#define S3C_MACROVISION6	(0x9C)
+
+
+#define S3C_TVCTRL_FIFOURINT_DIS    0<<16
+#define S3C_TVCTRL_FIFOURINT_ENA    1<<16
+#define S3C_TVCTRL_FIFOURINT_OCCUR  1<<12
+#define S3C_TVCTRL_OUTTYPE_C        0<<8
+#define S3C_TVCTRL_OUTTYPE_S        1<<8
+#define S3C_TVCTRL_OUTFMT_NTSC_M    0<<4
+#define S3C_TVCTRL_OUTFMT_NTSC_J    1<<4
+#define S3C_TVCTRL_OUTFMT_PAL_BDG   2<<4
+#define S3C_TVCTRL_OUTFMT_PAL_M     3<<4
+#define S3C_TVCTRL_OUTFMT_PAL_NC    4<<4
+#define S3C_TVCTRL_OFF              0<<0
+#define S3C_TVCTRL_ON               1<<0
+
+// vertical back porch control
+#define VBP_VEFBPD(n)   (((n)&0x1FF)<<16)
+#define VBP_VOFBPD(n)   (((n)&0xFF)<<0)
+
+#define VBP_VEFBPD_NTSC     0x11C<<16
+#define VBP_VEFBPD_PAL      0x14F<<16
+#define VBP_VOFBPD_NTSC     0x15<<0
+#define VBP_VOFBPD_PAL      0x16<<0
+
+
+// horizontal back porch end point
+#define HBP_HSPW(n)     (((n)&0xFF)<<16)
+#define HBP_HBPD(n)     (((n)&0x7FF)<<0)
+
+#define HBP_HSPW_NTSC       0x80<<16
+#define HBP_HSPW_PAL        0x80<<16
+#define HBP_HBPD_NTSC       0xF4<<0
+#define HBP_HBPD_PAL        0x108<<0
+
+// horizontal enhancer offset
+#define HEO_VAWCC(n)    (((n)&0x3F)<<24)
+#define HEO_HAWCC(n)    (((n)&0xFF)<<16)
+#define HEO_DTO(n)      (((n)&0x7)<<8)
+#define HEO_HEOV(n)     (((n)&0x1F)<<0)
+
+#define HEO_DTO_NTSC        0x4<<8
+#define HEO_DTO_PAL         0x4<<8	
+#define HEO_HEOV_NTSC       0x1A<<0
+#define HEO_HEOV_PAL        0x1A<<0
+
+
+// vertical demo window size
+#define VDW_VDWS(n)     (((n)&0x1FF)<<16)
+#define VDW_VDWSP(n)    (((n)&0x1FF)<<0)
+
+#define VDW_VDWS_DEF        0xF0<<16
+#define VDW_VDWSP_DEF       0x0<<0
+
+
+// horizontal demo window size
+#define HDW_HDWEP(n)    (((n)&0x7FF)<<16)
+#define HDW_HDWSP(n)    (((n)&0x7FF)<<0)
+
+#define HDW_HDWEP_DEF       0x5A0<<16
+#define HDW_HDWSP_DEF       0x0<<0
+
+
+// input image size
+#define IIS_HEIGHT(n)   (((n)&0x3FF)<<16)
+#define IIS_WIDTH(n)    (((n)&0x7FF)<<0)
+
+// encoder pedestal control
+#define EPC_PED_ON          0<<0
+#define EPC_PED_OFF         1<<0
+
+// yc filter bandwidth control
+#define YFB_YBW_60          0<<4
+#define YFB_YBW_38          1<<4
+#define YFB_YBW_31          2<<4
+#define YFB_YBW_26          3<<4
+#define YFB_YBW_21          4<<4
+#define YFB_CBW_12          0<<0
+#define YFB_CBW_10          1<<0
+#define YFB_CBW_08          2<<0
+#define YFB_CBW_06          3<<0
+
+// hue control
+#define HUE_CTRL(n)     (((n)&0xFF)<<0)
+
+// fsc control
+#define FSC_CTRL(n)     (((n)&0x7FFF)<<0)
+
+// fsc dto manually control enable
+#define FDM_CTRL(n)     (((n)&0x7FFFFFFF)<<0)
+
+// background control
+#define BGC_BGYOFS(n)   (((n)&0xF)<<0)
+
+#define BGC_SME_DIS         0<<8
+#define BGC_SME_ENA         1<<8
+#define BGC_BGCS_BLACK      0<<4
+#define BGC_BGCS_BLUE       1<<4
+#define BGC_BGCS_RED        2<<4
+#define BGC_BGCS_MAGENTA    3<<4
+#define BGC_BGCS_GREEN      4<<4
+#define BGC_BGCS_CYAN       5<<4
+#define BGC_BGCS_YELLOW     6<<4
+#define BGC_BGCS_WHITE      7<<4
+
+// background vav & hav control
+#define BVH_BG_HL(n)    (((n)&0xFF)<<24)
+#define BVH_BG_HS(n)    (((n)&0xFF)<<16)
+#define BVH_BG_VL(n)    (((n)&0xFF)<<8)
+#define BVH_BG_VS(n)    (((n)&0xFF)<<0)
+
+// sync size control
+#define SSC_HSYNC(n)    (((n)&0x3FF)<<0)
+
+#define SSC_HSYNC_NTSC      0x3D<<0
+#define SSC_HSYNC_PAL       0x3E<<0
+
+// burst signal control
+#define BSC_BEND(n)     (((n)&0x3FF)<<16)
+#define BSC_BSTART(n)   (((n)&0x3FF)<<0)
+
+#define BSC_BEND_NTSC       0x69<<16
+#define BSC_BEND_PAL        0x6A<<16
+#define BSC_BSTART_NTSC     0x49<<0
+#define BSC_BSTART_PAL      0x4A<<0
+
+// macrovision burst signal control
+#define MBS_BSTART(n)   (((n)&0x3FF)<<0)
+
+#define MBS_BSTART_NTSC     0x41<<0
+#define MBS_BSTART_PAL      0x42<<0
+
+// active video position control
+#define AVP_AVEND(n)    (((n)&0x3FF)<<16)
+#define AVP_AVSTART(n)  (((n)&0x3FF)<<0)
+
+#define AVP_AVEND_NTSC      0x348<<16
+#define AVP_AVEND_PAL       0x352<<16
+#define AVP_AVSTART_NTSC    0x78<<0
+#define AVP_AVSTART_PAL     0x82<<0
+
+// encoder control
+#define ENC_BGEN_DIS        0<<0
+#define ENC_BGEN_ENA        1<<0
+
+#define NTSC_WIDTH		(720)
+#define NTSC_HEIGHT		(480)
+#define PAL_WIDTH		(720)
+#define PAL_HEIGHT		(576)
+
+#endif /* __ASM_ARM_REGS_TVENC_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-tvscaler.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-tvscaler.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-tvscaler.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-tvscaler.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,78 @@
+/* linux/include/asm-arm/arch-s3c2410/regs-tvscaler.h
+ *
+ * Copyright (c) 2007 Samsung Electronics
+ *		      http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C6400 TV SCALER register definitions
+*/
+
+#ifndef __ASM_ARM_REGS_TVSCALER
+#define __ASM_ARM_REGS_TVSCALER "regs-tvscaler.h"
+
+#define S3C_MODE		(0x00)
+#define S3C_PRESCALE_RATIO 	(0x04)
+#define S3C_PRESCALEIMGSIZE 	(0x08)
+#define S3C_SRCIMGSIZE 		(0x0C)
+#define S3C_MAINSCALE_H_RATIO 	(0x10)
+#define S3C_MAINSCALE_V_RATIO 	(0x14)
+#define S3C_DSTIMGSIZE 		(0x18)
+#define S3C_PRESCALE_SHFACTOR 	(0x1C)
+#define S3C_ADDRSTART_Y 	(0x20)
+#define S3C_ADDRSTART_CB 	(0x24)
+#define S3C_ADDRSTART_CR 	(0x28)
+#define S3C_ADDRSTART_RGB 	(0x2C)
+#define S3C_ADDREND_Y 		(0x30)
+#define S3C_ADDREND_CB 		(0x34)
+#define S3C_ADDREND_CR 		(0x38)
+#define S3C_ADDREND_RGB 	(0x3C)	
+#define S3C_OFFSET_Y 		(0x40)
+#define S3C_OFFSET_CB 		(0x44)
+#define S3C_OFFSET_CR 		(0x48)
+#define S3C_OFFSET_RGB 		(0x4C)	
+#define S3C_NXTADDRSTART_Y 	(0x54)
+#define S3C_NXTADDRSTART_CB 	(0x58)
+#define S3C_NXTADDRSTART_CR 	(0x5C)
+#define S3C_NXTADDRSTART_RGB 	(0x60)
+#define S3C_NXTADDREND_Y 	(0x64)
+#define S3C_NXTADDREND_CB 	(0x68)
+#define S3C_NXTADDREND_CR 	(0x6C)
+#define S3C_NXTADDREND_RGB 	(0x70)	
+#define S3C_ADDRSTART_OCB 	(0x74)
+#define S3C_ADDRSTART_OCR 	(0x78)
+#define S3C_ADDREND_OCB 	(0x7C)
+#define S3C_ADDREND_OCR 	(0x80)
+#define S3C_OFFSET_OCB 		(0x84)
+#define S3C_OFFSET_OCR 		(0x88)
+#define S3C_NXTADDRSTART_OCB 	(0x8C)
+#define S3C_NXTADDRSTART_OCR 	(0x90)
+#define S3C_NXTADDREND_OCB 	(0x94)
+#define S3C_NXTADDREND_OCR 	(0x98)
+#define S3C_POSTENVID 		(0x9C)
+#define S3C_MODE2 		(0xA0)
+
+//POSTENVID
+#define S3C_POSTENVID_ENABLE	(0x1<<31)
+#define S3C_POSTENVID_DISABLE	(0x0<<31) 
+
+//MODE Control register
+#define S3C_MODE_AUTOLOAD_ENABLE         (0x1<<14)
+#define S3C_MODE_POST_INT_ENABLE         (0x1<<7)
+#define S3C_MODE_POST_PENDING            (0x1<<6)
+#define S3C_MODE_IRQ_LEVEL               (0x1<<5)
+#define S3C_MODE_H_CLK_INPUT              (0x0<<2)
+#define S3C_MODE_EXT_CLK_0_INPUT          (0x1<<2)
+#define S3C_MODE_EXT_CLK_1_INPUT          (0x3<<2)
+
+//MODE Control register 2
+#define S3C_MODE2_ADDR_CHANGE_ENABLE      (0x0<<4)
+#define S3C_MODE2_ADDR_CHANGE_DISABLE     (0x1<<4)
+#define S3C_MODE2_CHANGE_AT_FIELD_END     (0x0<<3)
+#define S3C_MODE2_CHANGE_AT_FRAME_END     (0x1<<3)
+#define S3C_MODE2_SOFTWARE_TRIGGER        (0x0<<0)
+#define S3C_MODE2_HARDWARE_TRIGGER        (0x1<<0)
+
+#endif /* __ASM_ARM_REGS_TVSCALER */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-watchdog.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-watchdog.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/regs-watchdog.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/regs-watchdog.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,49 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-watchdog.h
+ *
+ * Copyright (c) 2003 Simtec Electronics <linux@simtec.co.uk>
+ *		      http://www.simtec.co.uk/products/SWLINUX/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C2410 Watchdog timer control
+*/
+
+
+#ifndef __ASM_ARCH_REGS_WATCHDOG_H
+#define __ASM_ARCH_REGS_WATCHDOG_H
+
+#define S3C_WDOGREG(x) ((x) + S3C_VA_WATCHDOG)
+
+#define S3C2410_WTCON	   S3C_WDOGREG(0x00)
+#define S3C2410_WTDAT	   S3C_WDOGREG(0x04)
+#define S3C2410_WTCNT	   S3C_WDOGREG(0x08)
+
+#define S3C2410_WTCON_OFFSET	   (0x00)
+#define S3C2410_WTDAT_OFFSET	   (0x04)
+#define S3C2410_WTCNT_OFFSET	   (0x08)
+
+#define S3C2410_WTCNT_CNT	   (0x1)
+#define S3C2410_WTCNT_CON	   (0x7639)
+#define S3C2410_WTCNT_DAT	   (0xFFCF)
+
+/* the watchdog can either generate a reset pulse, or an
+ * interrupt.
+ */
+
+#define S3C2410_WTCON_RSTEN   (0x01)
+#define S3C2410_WTCON_INTEN   (1<<2)
+#define S3C2410_WTCON_ENABLE  (1<<5)
+
+#define S3C2410_WTCON_DIV16   (0<<3)
+#define S3C2410_WTCON_DIV32   (1<<3)
+#define S3C2410_WTCON_DIV64   (2<<3)
+#define S3C2410_WTCON_DIV128  (3<<3)
+
+#define S3C2410_WTCON_PRESCALE(x) ((x) << 8)
+#define S3C2410_WTCON_PRESCALE_MASK (0xff00)
+
+#endif /* __ASM_ARCH_REGS_WATCHDOG_H */
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/s3c-dma.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/s3c-dma.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/s3c-dma.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/s3c-dma.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,78 @@
+/* linux/arch/arm/plat-s3c/include/plat/dma.h
+ *
+ */
+
+#ifndef __ARM_PLAT_S3C_DMA_H
+#define __ARM_PLAT_S3C_DMA_H
+
+extern struct sysdev_class dma_sysclass;
+extern struct s3c2410_dma_chan s3c2410_chans[S3C_DMA_CHANNELS];
+
+#define DMA_CH_VALID		(1<<31)
+#define DMA_CH_NEVER		(1<<30)
+
+struct s3c_dma_addr {
+	unsigned long		from;
+	unsigned long		to;
+};
+
+/* struct s3c_dma_map
+ *
+ * this holds the mapping information for the channel selected
+ * to be connected to the specified device
+*/
+
+struct s3c_dma_map {
+	const char		*name;
+	struct s3c_dma_addr  	hw_addr;
+
+	unsigned long		channels[S3C_DMA_CHANNELS];
+	unsigned long		channels_rx[S3C_DMA_CHANNELS];
+
+        unsigned long           sdma_sel;
+};
+
+struct s3c_dma_selection {
+	struct s3c_dma_map	*map;
+	unsigned long		 map_size;
+	unsigned long		 dcon_mask;
+
+	void	(*select)(struct s3c2410_dma_chan *chan,
+			  struct s3c_dma_map *map);
+
+	void	(*direction)(struct s3c2410_dma_chan *chan,
+			     struct s3c_dma_map *map,
+			     enum s3c2410_dmasrc dir);
+};
+
+extern int s3c_dma_init_map(struct s3c_dma_selection *sel);
+
+/* struct s3c_dma_order_ch
+ *
+ * channel map for one of the `enum dma_ch` dma channels. the list
+ * entry contains a set of low-level channel numbers, orred with
+ * DMA_CH_VALID, which are checked in the order in the array.
+*/
+
+struct s3c_dma_order_ch {
+	unsigned int	list[S3C_DMA_CHANNELS];	/* list of channels */
+	unsigned int	flags;				/* flags */
+};
+
+/* struct s3c_dma_order
+ *
+ * information provided by either the core or the board to give the
+ * dma system a hint on how to allocate channels
+*/
+
+struct s3c_dma_order {
+	struct s3c_dma_order_ch	channels[DMACH_MAX];
+};
+
+extern int s3c_dma_order_set(struct s3c_dma_order *map);
+
+/* DMA init code, called from the cpu support code */
+
+extern int s3c_dma_init(unsigned int channels, unsigned int irq,
+			    unsigned int stride);
+#endif //__ARM_PLAT_S3C_DMA_H
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/sdhci.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/sdhci.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/sdhci.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/sdhci.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,130 @@
+/* linux/arch/arm/plat-s3c/include/plat/sdhci.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C Platform - SDHCI (HSMMC) platform data definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __PLAT_S3C_SDHCI_H
+#define __PLAT_S3C_SDHCI_H __FILE__
+
+struct platform_device;
+struct mmc_host;
+struct mmc_card;
+struct mmc_ios;
+
+/**
+ * struct s3c_sdhci_platdata() - Platform device data for Samsung SDHCI
+ * @max_width: The maximum number of data bits supported.
+ * @host_caps: Standard MMC host capabilities bit field.
+ * @cfg_gpio: Configure the GPIO for a specific card bit-width
+ * @cfg_card: Configure the interface for a specific card and speed. This
+ *            is necessary the controllers and/or GPIO blocks require the
+ *	      changing of driver-strength and other controls dependant on
+ *	      the card and speed of operation.
+ *
+ * Initialisation data specific to either the machine or the platform
+ * for the device driver to use or call-back when configuring gpio or
+ * card speed information.
+*/
+struct s3c_sdhci_platdata {
+	unsigned int	max_width;
+	unsigned int	host_caps;
+
+	char		**clocks;	/* set of clock sources */
+
+	void		(*cfg_gpio)(struct platform_device *dev, int width);
+	void		(*cfg_card)(struct platform_device *dev,
+				    void __iomem *regbase,
+				    struct mmc_ios *ios,
+				    struct mmc_card *card);
+	/* add to deal with EXT_IRQ as a card detect pin */
+	void		(*cfg_ext_cd) (void);
+	unsigned int	(*detect_ext_cd) (void);
+	unsigned int	ext_cd;
+
+};
+
+/**
+ * s3c_sdhci0_set_platdata - Set platform data for S3C SDHCI device.
+ * @pd: Platform data to register to device.
+ *
+ * Register the given platform data for use withe S3C SDHCI device.
+ * The call will copy the platform data, so the board definitions can
+ * make the structure itself __initdata.
+ */
+extern void s3c_sdhci0_set_platdata(struct s3c_sdhci_platdata *pd);
+extern void s3c_sdhci1_set_platdata(struct s3c_sdhci_platdata *pd);
+extern void s3c_sdhci2_set_platdata(struct s3c_sdhci_platdata *pd);
+
+
+/* Default platform data, exported so that per-cpu initialisation can
+ * set the correct one when there are more than one cpu type selected.
+*/
+
+extern struct s3c_sdhci_platdata s3c_hsmmc0_def_platdata;
+extern struct s3c_sdhci_platdata s3c_hsmmc1_def_platdata;
+extern struct s3c_sdhci_platdata s3c_hsmmc2_def_platdata;
+
+/* Helper function availablity */
+
+#if defined (CONFIG_S3C6410_SETUP_SDHCI) || defined (CONFIG_S5PC1XX_SETUP_SDHCI) \
+	 || defined (CONFIG_S5P6440_SETUP_SDHCI)
+extern char *s3c6410_hsmmc_clksrcs[4];
+
+extern void s3c6410_setup_sdhci0_cfg_gpio(struct platform_device *, int w);
+extern void s3c6410_setup_sdhci1_cfg_gpio(struct platform_device *, int w);
+extern void s3c6410_setup_sdhci2_cfg_gpio(struct platform_device *, int w);
+
+extern void s3c6410_setup_sdhci0_cfg_card(struct platform_device *dev,
+					   void __iomem *r,
+					   struct mmc_ios *ios,
+					   struct mmc_card *card);
+
+#ifdef CONFIG_S3C_DEV_HSMMC
+static inline void s3c6410_default_sdhci0(void)
+{
+	s3c_hsmmc0_def_platdata.clocks = s3c6410_hsmmc_clksrcs;
+	s3c_hsmmc0_def_platdata.cfg_gpio = s3c6410_setup_sdhci0_cfg_gpio;
+	s3c_hsmmc0_def_platdata.cfg_card = s3c6410_setup_sdhci0_cfg_card;
+}
+#else
+static inline void s3c6410_default_sdhci0(void) { }
+#endif /* CONFIG_S3C_DEV_HSMMC */
+
+#ifdef CONFIG_S3C_DEV_HSMMC1
+static inline void s3c6410_default_sdhci1(void)
+{
+	s3c_hsmmc1_def_platdata.clocks = s3c6410_hsmmc_clksrcs;
+	s3c_hsmmc1_def_platdata.cfg_gpio = s3c6410_setup_sdhci1_cfg_gpio;
+	s3c_hsmmc1_def_platdata.cfg_card = s3c6410_setup_sdhci0_cfg_card;
+}
+#else
+static inline void s3c6410_default_sdhci1(void) { }
+#endif /* CONFIG_S3C_DEV_HSMMC1*/
+
+#ifdef CONFIG_S3C_DEV_HSMMC2
+static inline void s3c6410_default_sdhci2(void)
+{
+	s3c_hsmmc2_def_platdata.clocks = s3c6410_hsmmc_clksrcs;
+	s3c_hsmmc2_def_platdata.cfg_gpio = s3c6410_setup_sdhci2_cfg_gpio;
+	s3c_hsmmc2_def_platdata.cfg_card = s3c6410_setup_sdhci0_cfg_card;
+}
+#else
+static inline void s3c6410_default_sdhci2(void) { }
+#endif /* CONFIG_S3C_DEV_HSMMC1*/
+
+#else
+static inline void s3c6410_default_sdhci0(void) { }
+static inline void s3c6410_default_sdhci1(void) { }
+static inline void s3c6410_default_sdhci2(void) { }
+#endif /* CONFIG_S3C6410_SETUP_SDHCI */
+
+#endif /* __PLAT_S3C_SDHCI_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/ts.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/ts.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/ts.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/ts.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,42 @@
+/* linux/arch/arm/plat-s3c/include/plat/ts.h
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_TS_H
+#define __ASM_ARCH_TS_H __FILE__
+
+
+enum s3c_adc_type {
+	ADC_TYPE_0,
+	ADC_TYPE_1,	/* S3C2416, S3C2450 */
+	ADC_TYPE_2,	/* S3C64XX, S5PC1XX */
+};
+
+struct s3c_ts_mach_info {
+	int             	delay;
+	int             	presc;
+	int             	oversampling_shift;
+	int			resol_bit;
+	enum s3c_adc_type	s3c_adc_con;
+};
+
+struct s3c_ts_info {
+	struct input_dev 	*dev;
+	long 			xp;
+	long 			yp;
+	int 			count;
+	int 			shift;
+	char 			phys[32];
+	int			resol_bit;
+	enum s3c_adc_type	s3c_adc_con;
+};
+
+extern void __init s3c_ts_set_platdata(struct s3c_ts_mach_info *pd);
+
+#endif /* __ASM_ARCH_TS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/include/plat/uncompress.h linux-2.6.28.6/arch/arm/plat-s3c/include/plat/uncompress.h
--- linux-2.6.28/arch/arm/plat-s3c/include/plat/uncompress.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/include/plat/uncompress.h	2009-04-30 09:36:37.000000000 +0200
@@ -1,4 +1,4 @@
-/* linux/include/asm-arm/plat-s3c/uncompress.h
+/* linux/arch/arm/plat-s3c/include/plat/uncompress.h
  *
  * Copyright 2003, 2007 Simtec Electronics
  *	http://armlinux.simtec.co.uk/
@@ -28,7 +28,7 @@
 /* defines for UART registers */
 
 #include <plat/regs-serial.h>
-#include <asm/plat-s3c/regs-watchdog.h>
+#include <plat/regs-watchdog.h>
 
 /* working in physical space... */
 #undef S3C2410_WDOGREG
@@ -37,7 +37,7 @@
 /* how many bytes we allow into the FIFO at a time in FIFO mode */
 #define FIFO_MAX	 (14)
 
-#define uart_base S3C24XX_PA_UART + (0x4000*CONFIG_S3C_LOWLEVEL_UART_PORT)
+#define uart_base S3C_PA_UART + (S3C_UART_OFFSET * CONFIG_S3C_LOWLEVEL_UART_PORT)
 
 static __inline__ void
 uart_wr(unsigned int reg, unsigned int val)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/init.c linux-2.6.28.6/arch/arm/plat-s3c/init.c
--- linux-2.6.28/arch/arm/plat-s3c/init.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/init.c	2009-10-29 09:19:25.000000000 +0100
@@ -0,0 +1,162 @@
+/* linux/arch/arm/plat-s3c/init.c
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C series CPU initialisation
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/interrupt.h>
+#include <linux/ioport.h>
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+#include <linux/delay.h>
+
+#include <mach/hardware.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/clock.h>
+
+#include <plat/regs-serial.h>
+
+static struct cpu_table *cpu;
+
+static struct cpu_table * __init s3c_lookup_cpu(unsigned long idcode,
+						struct cpu_table *tab,
+						unsigned int count)
+{
+	for (; count != 0; count--, tab++) {
+		if ((idcode & tab->idmask) == tab->idcode)
+			return tab;
+	}
+
+	return NULL;
+}
+
+void __init s3c_init_cpu(unsigned long idcode,
+			 struct cpu_table *cputab, unsigned int cputab_size)
+{
+	cpu = s3c_lookup_cpu(idcode, cputab, cputab_size);
+
+	if (cpu == NULL) {
+		printk(KERN_ERR "Unknown CPU type 0x%08lx\n", idcode);
+		panic("Unknown S3C24XX CPU");
+	}
+
+	printk("CPU %s (id 0x%08lx)\n", cpu->name, idcode);
+
+	if (cpu->map_io == NULL || cpu->init == NULL) {
+		printk(KERN_ERR "CPU %s support not enabled\n", cpu->name);
+		panic("Unsupported Samsung CPU");
+	}
+
+	cpu->map_io();
+}
+
+/* s3c24xx_init_clocks
+ *
+ * Initialise the clock subsystem and associated information from the
+ * given master crystal value.
+ *
+ * xtal  = 0 -> use default PLL crystal value (normally 12MHz)
+ *      != 0 -> PLL crystal value in Hz
+*/
+
+void __init s3c24xx_init_clocks(int xtal)
+{
+	if (xtal == 0)
+		xtal = 12*1000*1000;
+
+	if (cpu == NULL)
+		panic("s3c24xx_init_clocks: no cpu setup?\n");
+
+	if (cpu->init_clocks == NULL)
+		panic("s3c24xx_init_clocks: cpu has no clock init\n");
+	else
+		(cpu->init_clocks)(xtal);
+}
+
+/* uart management */
+
+static int nr_uarts __initdata = 0;
+
+static struct s3c2410_uartcfg uart_cfgs[CONFIG_SERIAL_SAMSUNG_UARTS];
+
+/* s3c24xx_init_uartdevs
+ *
+ * copy the specified platform data and configuration into our central
+ * set of devices, before the data is thrown away after the init process.
+ *
+ * This also fills in the array passed to the serial driver for the
+ * early initialisation of the console.
+*/
+
+void __init s3c24xx_init_uartdevs(char *name,
+				  struct s3c24xx_uart_resources *res,
+				  struct s3c2410_uartcfg *cfg, int no)
+{
+	struct platform_device *platdev;
+	struct s3c2410_uartcfg *cfgptr = uart_cfgs;
+	struct s3c24xx_uart_resources *resp;
+	int uart;
+
+	//printk("iiiiiiiiiiiiiiiiiiii=%d\n",no);
+	memcpy(cfgptr, cfg, sizeof(struct s3c2410_uartcfg) * no);
+
+	for (uart = 0; uart < no; uart++, cfg++, cfgptr++) {
+		platdev = s3c24xx_uart_src[cfgptr->hwport];
+
+		resp = res + cfgptr->hwport;
+
+		s3c24xx_uart_devs[uart] = platdev;
+
+		platdev->name = name;
+		platdev->resource = resp->resources;
+		platdev->num_resources = resp->nr_resources;
+
+		platdev->dev.platform_data = cfgptr;
+	}
+
+	nr_uarts = no;
+}
+
+void __init s3c24xx_init_uarts(struct s3c2410_uartcfg *cfg, int no)
+{
+	if (cpu == NULL)
+		return;
+
+	if (cpu->init_uarts == NULL) {
+		printk(KERN_ERR "s3c24xx_init_uarts: cpu has no uart init\n");
+	} else
+		(cpu->init_uarts)(cfg, no);
+}
+
+static int __init s3c_arch_init(void)
+{
+	int ret;
+
+	// do the correct init for cpu
+
+	if (cpu == NULL)
+		panic("s3c_arch_init: NULL cpu\n");
+
+	ret = (cpu->init)();
+	if (ret != 0)
+		return ret;
+
+	ret = platform_add_devices(s3c24xx_uart_devs, nr_uarts);
+	return ret;
+}
+
+arch_initcall(s3c_arch_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/pwm-clock.c linux-2.6.28.6/arch/arm/plat-s3c/pwm-clock.c
--- linux-2.6.28/arch/arm/plat-s3c/pwm-clock.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/pwm-clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,435 @@
+/* linux/arch/arm/plat-s3c/pwm-clock.c
+ *
+ * Copyright (c) 2007 Simtec Electronics
+ * Copyright (c) 2007, 2008 Ben Dooks
+ *	Ben Dooks <ben-linux@fluff.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/list.h>
+#include <linux/errno.h>
+#include <linux/clk.h>
+#include <linux/err.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+#include <asm/irq.h>
+
+#include <plat/clock.h>
+#include <plat/cpu.h>
+
+#include <plat/regs-timer.h>
+
+/* Each of the timers 0 through 5 go through the following
+ * clock tree, with the inputs depending on the timers.
+ *
+ * pclk ---- [ prescaler 0 ] -+---> timer 0
+ *			      +---> timer 1
+ *
+ * pclk ---- [ prescaler 1 ] -+---> timer 2
+ *			      +---> timer 3
+ *			      \---> timer 4
+ *
+ * Which are fed into the timers as so:
+ *
+ * prescaled 0 ---- [ div 2,4,8,16 ] ---\
+ *				       [mux] -> timer 0
+ * tclk 0 ------------------------------/
+ *
+ * prescaled 0 ---- [ div 2,4,8,16 ] ---\
+ *				       [mux] -> timer 1
+ * tclk 0 ------------------------------/
+ *
+ *
+ * prescaled 1 ---- [ div 2,4,8,16 ] ---\
+ *				       [mux] -> timer 2
+ * tclk 1 ------------------------------/
+ *
+ * prescaled 1 ---- [ div 2,4,8,16 ] ---\
+ *				       [mux] -> timer 3
+ * tclk 1 ------------------------------/
+ *
+ * prescaled 1 ---- [ div 2,4,8, 16 ] --\
+ *				       [mux] -> timer 4
+ * tclk 1 ------------------------------/
+ *
+ * Since the mux and the divider are tied together in the
+ * same register space, it is impossible to set the parent
+ * and the rate at the same time. To avoid this, we add an
+ * intermediate 'prescaled-and-divided' clock to select
+ * as the parent for the timer input clock called tdiv.
+ *
+ * prescaled clk --> pwm-tdiv ---\
+ *                             [ mux ] --> timer X
+ * tclk -------------------------/
+*/
+
+static unsigned long clk_pwm_scaler_getrate(struct clk *clk)
+{
+	unsigned long tcfg0 = __raw_readl(S3C2410_TCFG0);
+
+	if (clk->id == 1) {
+		tcfg0 &= S3C2410_TCFG_PRESCALER1_MASK;
+		tcfg0 >>= S3C2410_TCFG_PRESCALER1_SHIFT;
+	} else {
+		tcfg0 &= S3C2410_TCFG_PRESCALER0_MASK;
+	}
+
+	return clk_get_rate(clk->parent) / (tcfg0 + 1);
+}
+
+/* TODO - add set rate calls. */
+
+static struct clk clk_timer_scaler[] = {
+	[0]	= {
+		.name		= "pwm-scaler0",
+		.id		= -1,
+		.get_rate	= clk_pwm_scaler_getrate,
+	},
+	[1]	= {
+		.name		= "pwm-scaler1",
+		.id		= -1,
+		.get_rate	= clk_pwm_scaler_getrate,
+	},
+};
+
+static struct clk clk_timer_tclk[] = {
+	[0]	= {
+		.name		= "pwm-tclk0",
+		.id		= -1,
+	},
+	[1]	= {
+		.name		= "pwm-tclk1",
+		.id		= -1,
+	},
+};
+
+struct pwm_tdiv_clk {
+	struct clk	clk;
+	unsigned int	divisor;
+};
+
+static inline struct pwm_tdiv_clk *to_tdiv(struct clk *clk)
+{
+	return container_of(clk, struct pwm_tdiv_clk, clk);
+}
+
+static inline unsigned long tcfg_to_divisor(unsigned long tcfg1)
+{
+	return 1 << (1 + tcfg1);
+}
+
+static unsigned long clk_pwm_tdiv_get_rate(struct clk *clk)
+{
+	unsigned long tcfg1 = __raw_readl(S3C2410_TCFG1);
+	unsigned int divisor;
+
+	tcfg1 >>= S3C2410_TCFG1_SHIFT(clk->id);
+	tcfg1 &= S3C2410_TCFG1_MUX_MASK;
+
+	if (tcfg1 == S3C2410_TCFG1_MUX_TCLK)
+		divisor = to_tdiv(clk)->divisor;
+	else
+		divisor = tcfg_to_divisor(tcfg1);
+
+	return clk_get_rate(clk->parent) / divisor;
+}
+
+static unsigned long clk_pwm_tdiv_round_rate(struct clk *clk,
+					     unsigned long rate)
+{
+	unsigned long parent_rate;
+	unsigned long divisor;
+
+	parent_rate = clk_get_rate(clk->parent);
+	divisor = parent_rate / rate;
+
+	if (divisor <= 2)
+		divisor = 2;
+	else if (divisor <= 4)
+		divisor = 4;
+	else if (divisor <= 8)
+		divisor = 8;
+	else
+		divisor = 16;
+
+	return parent_rate / divisor;
+}
+
+static unsigned long clk_pwm_tdiv_bits(struct pwm_tdiv_clk *divclk)
+{
+	unsigned long bits;
+
+	switch (divclk->divisor) {
+	case 2:
+		bits = S3C2410_TCFG1_MUX_DIV2;
+		break;
+	case 4:
+		bits = S3C2410_TCFG1_MUX_DIV4;
+		break;
+	case 8:
+		bits = S3C2410_TCFG1_MUX_DIV8;
+		break;
+	case 16:
+	default:
+		bits = S3C2410_TCFG1_MUX_DIV16;
+		break;
+	}
+
+	return bits;
+}
+
+static void clk_pwm_tdiv_update(struct pwm_tdiv_clk *divclk)
+{
+	unsigned long tcfg1 = __raw_readl(S3C2410_TCFG1);
+	unsigned long bits = clk_pwm_tdiv_bits(divclk);
+	unsigned long flags;
+	unsigned long shift =  S3C2410_TCFG1_SHIFT(divclk->clk.id);
+
+	local_irq_save(flags);
+
+	tcfg1 = __raw_readl(S3C2410_TCFG1);
+	tcfg1 &= ~(S3C2410_TCFG1_MUX_MASK << shift);
+	tcfg1 |= bits << shift;
+	__raw_writel(tcfg1, S3C2410_TCFG1);
+
+	local_irq_restore(flags);
+}
+
+static int clk_pwm_tdiv_set_rate(struct clk *clk, unsigned long rate)
+{
+	struct pwm_tdiv_clk *divclk = to_tdiv(clk);
+	unsigned long tcfg1 = __raw_readl(S3C2410_TCFG1);
+	unsigned long parent_rate = clk_get_rate(clk->parent);
+	unsigned long divisor;
+
+	tcfg1 >>= S3C2410_TCFG1_SHIFT(clk->id);
+	tcfg1 &= S3C2410_TCFG1_MUX_MASK;
+
+	rate = clk_round_rate(clk, rate);
+	divisor = parent_rate / rate;
+
+	if (divisor > 16)
+		return -EINVAL;
+
+	divclk->divisor = divisor;
+
+	/* Update the current MUX settings if we are currently
+	 * selected as the clock source for this clock. */
+
+	if (tcfg1 != S3C2410_TCFG1_MUX_TCLK)
+		clk_pwm_tdiv_update(divclk);
+
+	return 0;
+}
+
+static struct pwm_tdiv_clk clk_timer_tdiv[] = {
+	[0]	= {
+		.clk	= {
+			.name		= "pwm-tdiv",
+			.parent		= &clk_timer_scaler[0],
+			.get_rate	= clk_pwm_tdiv_get_rate,
+			.set_rate	= clk_pwm_tdiv_set_rate,
+			.round_rate	= clk_pwm_tdiv_round_rate,
+		},
+	},
+	[1]	= {
+		.clk	= {
+			.name		= "pwm-tdiv",
+			.parent		= &clk_timer_scaler[0],
+			.get_rate	= clk_pwm_tdiv_get_rate,
+			.set_rate	= clk_pwm_tdiv_set_rate,
+			.round_rate	= clk_pwm_tdiv_round_rate,
+		}
+	},
+	[2]	= {
+		.clk	= {
+			.name		= "pwm-tdiv",
+			.parent		= &clk_timer_scaler[1],
+			.get_rate	= clk_pwm_tdiv_get_rate,
+			.set_rate	= clk_pwm_tdiv_set_rate,
+			.round_rate	= clk_pwm_tdiv_round_rate,
+		},
+	},
+	[3]	= {
+		.clk	= {
+			.name		= "pwm-tdiv",
+			.parent		= &clk_timer_scaler[1],
+			.get_rate	= clk_pwm_tdiv_get_rate,
+			.set_rate	= clk_pwm_tdiv_set_rate,
+			.round_rate	= clk_pwm_tdiv_round_rate,
+		},
+	},
+	[4]	= {
+		.clk	= {
+			.name		= "pwm-tdiv",
+			.parent		= &clk_timer_scaler[1],
+			.get_rate	= clk_pwm_tdiv_get_rate,
+			.set_rate	= clk_pwm_tdiv_set_rate,
+			.round_rate	= clk_pwm_tdiv_round_rate,
+		},
+	},
+};
+
+static int __init clk_pwm_tdiv_register(unsigned int id)
+{
+	struct pwm_tdiv_clk *divclk = &clk_timer_tdiv[id];
+	unsigned long tcfg1 = __raw_readl(S3C2410_TCFG1);
+
+	tcfg1 >>= S3C2410_TCFG1_SHIFT(id);
+	tcfg1 &= S3C2410_TCFG1_MUX_MASK;
+
+	divclk->clk.id = id;
+	divclk->divisor = tcfg_to_divisor(tcfg1);
+
+	return s3c24xx_register_clock(&divclk->clk);
+}
+
+static inline struct clk *s3c24xx_pwmclk_tclk(unsigned int id)
+{
+	return (id >= 2) ? &clk_timer_tclk[1] : &clk_timer_tclk[0];
+}
+
+static inline struct clk *s3c24xx_pwmclk_tdiv(unsigned int id)
+{
+	return &clk_timer_tdiv[id].clk;
+}
+
+static int clk_pwm_tin_set_parent(struct clk *clk, struct clk *parent)
+{
+	unsigned int id = clk->id;
+	unsigned long tcfg1;
+	unsigned long flags;
+	unsigned long bits;
+	unsigned long shift = S3C2410_TCFG1_SHIFT(id);
+
+	if (parent == s3c24xx_pwmclk_tclk(id))
+		bits = S3C2410_TCFG1_MUX_TCLK << shift;
+	else if (parent == s3c24xx_pwmclk_tdiv(id))
+		bits = clk_pwm_tdiv_bits(to_tdiv(parent)) << shift;
+	else
+		return -EINVAL;
+
+	clk->parent = parent;
+
+	local_irq_save(flags);
+
+	tcfg1 = __raw_readl(S3C2410_TCFG1);
+	tcfg1 &= ~(S3C2410_TCFG1_MUX_MASK << shift);
+	__raw_writel(tcfg1 | bits, S3C2410_TCFG1);
+
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+static struct clk clk_tin[] = {
+	[0]	= {
+		.name		= "pwm-tin",
+		.id		= 0,
+		.set_parent	= clk_pwm_tin_set_parent,
+	},
+	[1]	= {
+		.name		= "pwm-tin",
+		.id		= 1,
+		.set_parent	= clk_pwm_tin_set_parent,
+	},
+	[2]	= {
+		.name		= "pwm-tin",
+		.id		= 2,
+		.set_parent	= clk_pwm_tin_set_parent,
+	},
+	[3]	= {
+		.name		= "pwm-tin",
+		.id		= 3,
+		.set_parent	= clk_pwm_tin_set_parent,
+	},
+	[4]	= {
+		.name		= "pwm-tin",
+		.id		= 4,
+		.set_parent	= clk_pwm_tin_set_parent,
+	},
+};
+
+static __init int clk_pwm_tin_register(struct clk *pwm)
+{
+	unsigned long tcfg1 = __raw_readl(S3C2410_TCFG1);
+	unsigned int id = pwm->id;
+
+	struct clk *parent;
+	int ret;
+
+	ret = s3c24xx_register_clock(pwm);
+	if (ret < 0)
+		return ret;
+
+	tcfg1 >>= S3C2410_TCFG1_SHIFT(id);
+	tcfg1 &= S3C2410_TCFG1_MUX_MASK;
+
+	if (tcfg1 == S3C2410_TCFG1_MUX_TCLK)
+		parent = s3c24xx_pwmclk_tclk(id);
+	else
+		parent = s3c24xx_pwmclk_tdiv(id);
+
+	return clk_set_parent(pwm, parent);
+}
+
+int __init s3c24xx_pwmclk_init(void)
+{
+	struct clk *clk_timers;
+	unsigned int clk;
+	int ret;
+
+	clk_timers = clk_get(NULL, "timers");
+	if (IS_ERR(clk_timers)) {
+		printk(KERN_ERR "%s: no parent clock\n", __func__);
+		return -EINVAL;
+	}
+
+	for (clk = 0; clk < ARRAY_SIZE(clk_timer_scaler); clk++) {
+		clk_timer_scaler[clk].parent = clk_timers;
+		ret = s3c24xx_register_clock(&clk_timer_scaler[clk]);
+		if (ret < 0) {
+			printk(KERN_ERR "error adding pwm scaler%d clock\n", clk);
+			goto err;
+		}
+	}
+
+	for (clk = 0; clk < ARRAY_SIZE(clk_timer_tclk); clk++) {
+		ret = s3c24xx_register_clock(&clk_timer_tclk[clk]);
+		if (ret < 0) {
+			printk(KERN_ERR "error adding pww tclk%d\n", clk);
+			goto err;
+		}
+	}
+
+	for (clk = 0; clk < ARRAY_SIZE(clk_timer_tdiv); clk++) {
+		ret = clk_pwm_tdiv_register(clk);
+		if (ret < 0) {
+			printk(KERN_ERR "error adding pwm%d tdiv clock\n", clk);
+			goto err;
+		}
+	}
+
+	for (clk = 0; clk < ARRAY_SIZE(clk_tin); clk++) {
+		ret = clk_pwm_tin_register(&clk_tin[clk]);
+		if (ret < 0) {
+			printk(KERN_ERR "error adding pwm%d tin clock\n", clk);
+			goto err;
+		}
+	}
+
+	return 0;
+
+ err:
+	return ret;
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c/time.c linux-2.6.28.6/arch/arm/plat-s3c/time.c
--- linux-2.6.28/arch/arm/plat-s3c/time.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c/time.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,373 @@
+/* linux/arch/arm/plat-s3c/time.c
+ *
+ * Copyright (C) 2003-2005 Simtec Electronics
+ *	Ben Dooks, <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#include <linux/kernel.h>
+#include <linux/sched.h>
+#include <linux/init.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+
+#include <asm/system.h>
+#include <asm/leds.h>
+#include <asm/mach-types.h>
+
+#include <asm/irq.h>
+#include <mach/map.h>
+#include <plat/regs-timer.h>
+#include <mach/regs-irq.h>
+#include <asm/mach/time.h>
+#include <mach/tick.h>
+
+#include <plat/clock.h>
+#include <plat/cpu.h>
+
+static unsigned long timer_startval;
+static unsigned long timer_usec_ticks;
+
+#ifndef TICK_MAX
+#define TICK_MAX (0xffff)
+#endif
+
+#define TIMER_USEC_SHIFT 16
+
+/* we use the shifted arithmetic to work out the ratio of timer ticks
+ * to usecs, as often the peripheral clock is not a nice even multiple
+ * of 1MHz.
+ *
+ * shift of 14 and 15 are too low for the 12MHz, 16 seems to be ok
+ * for the current HZ value of 200 without producing overflows.
+ *
+ * Original patch by Dimitry Andric, updated by Ben Dooks
+*/
+
+
+/* timer_mask_usec_ticks
+ *
+ * given a clock and divisor, make the value to pass into timer_ticks_to_usec
+ * to scale the ticks into usecs
+*/
+
+static inline unsigned long
+timer_mask_usec_ticks(unsigned long scaler, unsigned long pclk)
+{
+	unsigned long den = pclk / 1000;
+
+	return ((1000 << TIMER_USEC_SHIFT) * scaler + (den >> 1)) / den;
+}
+
+/* timer_ticks_to_usec
+ *
+ * convert timer ticks to usec.
+*/
+
+static inline unsigned long timer_ticks_to_usec(unsigned long ticks)
+{
+	unsigned long res;
+
+	res = ticks * timer_usec_ticks;
+	res += 1 << (TIMER_USEC_SHIFT - 4);	/* round up slightly */
+
+	return res >> TIMER_USEC_SHIFT;
+}
+
+/***
+ * Returns microsecond  since last clock interrupt.  Note that interrupts
+ * will have been disabled by do_gettimeoffset()
+ * IRQs are disabled before entering here from do_gettimeofday()
+ */
+
+static unsigned long s3c2410_gettimeoffset (void)
+{
+	unsigned long tdone;
+	unsigned long tval;
+
+	/* work out how many ticks have gone since last timer interrupt */
+
+	tval =  __raw_readl(S3C2410_TCNTO(4));
+	tdone = timer_startval - tval;
+
+	/* check to see if there is an interrupt pending */
+
+	if (s3c24xx_ostimer_pending()) {
+		/* re-read the timer, and try and fix up for the missed
+		 * interrupt. Note, the interrupt may go off before the
+		 * timer has re-loaded from wrapping.
+		 */
+
+		tval =  __raw_readl(S3C2410_TCNTO(4));
+		tdone = timer_startval - tval;
+
+		if (tval != 0)
+			tdone += timer_startval;
+	}
+
+	return timer_ticks_to_usec(tdone);
+}
+
+
+/*
+ * IRQ handler for the timer
+ */
+static irqreturn_t
+s3c2410_timer_interrupt(int irq, void *dev_id)
+{
+	timer_tick();
+	return IRQ_HANDLED;
+}
+
+static struct irqaction s3c2410_timer_irq = {
+	.name		= "S3C2410 Timer Tick",
+	.flags		= IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
+	.handler	= s3c2410_timer_interrupt,
+};
+
+#define use_tclk1_12() ( \
+	machine_is_bast()	|| \
+	machine_is_vr1000()	|| \
+	machine_is_anubis()	|| \
+	machine_is_osiris())
+
+/*
+ * Set up timer interrupt, and return the current time in seconds.
+ *
+ * Currently we only use timer4, as it is the only timer which has no
+ * other function that can be exploited externally
+ */
+static void s3c2410_timer_setup (void)
+{
+	unsigned long tcon;
+	unsigned long tcnt;
+	unsigned long tcfg1;
+	unsigned long tcfg0;
+
+	tcnt = TICK_MAX;  /* default value for tcnt */
+
+	/* read the current timer configuration bits */
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcfg1 = __raw_readl(S3C2410_TCFG1);
+	tcfg0 = __raw_readl(S3C2410_TCFG0);
+
+	/* configure the system for whichever machine is in use */
+
+	if (use_tclk1_12()) {
+		/* timer is at 12MHz, scaler is 1 */
+		timer_usec_ticks = timer_mask_usec_ticks(1, 12000000);
+		tcnt = 12000000 / HZ;
+
+		tcfg1 &= ~S3C2410_TCFG1_MUX4_MASK;
+		tcfg1 |= S3C2410_TCFG1_MUX4_TCLK1;
+	} else {
+		unsigned long pclk;
+		struct clk *clk;
+
+		/* for the h1940 (and others), we use the pclk from the core
+		 * to generate the timer values. since values around 50 to
+		 * 70MHz are not values we can directly generate the timer
+		 * value from, we need to pre-scale and divide before using it.
+		 *
+		 * for instance, using 50.7MHz and dividing by 6 gives 8.45MHz
+		 * (8.45 ticks per usec)
+		 */
+
+		/* this is used as default if no other timer can be found */
+
+		clk = clk_get(NULL, "timers");
+		if (IS_ERR(clk))
+			panic("failed to get clock for system timer");
+
+		clk_enable(clk);
+
+		pclk = clk_get_rate(clk);
+
+		/* configure clock tick */
+
+		timer_usec_ticks = timer_mask_usec_ticks(6, pclk);
+
+		tcfg1 &= ~S3C2410_TCFG1_MUX4_MASK;
+		tcfg1 |= S3C2410_TCFG1_MUX4_DIV2;
+
+		tcfg0 &= ~S3C2410_TCFG_PRESCALER1_MASK;
+		tcfg0 |= ((6 - 1) / 2) << S3C2410_TCFG_PRESCALER1_SHIFT;
+
+		tcnt = (pclk / 6) / HZ;
+	}
+
+	/* timers reload after counting zero, so reduce the count by 1 */
+
+	tcnt--;
+
+	printk(KERN_DEBUG "timer tcon=%08lx, tcnt %04lx, tcfg %08lx,%08lx, usec %08lx\n",
+	       tcon, tcnt, tcfg0, tcfg1, timer_usec_ticks);
+
+	/* check to see if timer is within 16bit range... */
+	if (tcnt > TICK_MAX) {
+		panic("setup_timer: HZ is too small, cannot configure timer!");
+		return;
+	}
+
+	__raw_writel(tcfg1, S3C2410_TCFG1);
+	__raw_writel(tcfg0, S3C2410_TCFG0);
+
+	timer_startval = tcnt;
+	__raw_writel(tcnt, S3C2410_TCNTB(4));
+
+	/* ensure timer is stopped... */
+
+	tcon &= ~(7<<20);
+	tcon |= S3C2410_TCON_T4RELOAD;
+	tcon |= S3C2410_TCON_T4MANUALUPD;
+
+	__raw_writel(tcon, S3C2410_TCON);
+	__raw_writel(tcnt, S3C2410_TCNTB(4));
+	__raw_writel(tcnt, S3C2410_TCMPB(4));
+
+	/* start the timer running */
+	tcon |= S3C2410_TCON_T4START;
+	tcon &= ~S3C2410_TCON_T4MANUALUPD;
+	__raw_writel(tcon, S3C2410_TCON);
+}
+
+static void s3c64xx_timer_setup (void)
+{
+	unsigned long tcon;
+	unsigned long tcnt;
+	unsigned long tcfg1;
+	unsigned long tcfg0;
+
+	tcnt = TICK_MAX;  /* default value for tcnt */
+
+	/* read the current timer configuration bits */
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcfg1 = __raw_readl(S3C2410_TCFG1);
+	tcfg0 = __raw_readl(S3C2410_TCFG0);
+
+	/* configure the system for whichever machine is in use */
+
+	if (use_tclk1_12()) {
+		/* timer is at 12MHz, scaler is 1 */
+		timer_usec_ticks = timer_mask_usec_ticks(1, 12000000);
+		tcnt = 12000000 / HZ;
+
+		tcfg1 &= ~S3C2410_TCFG1_MUX4_MASK;
+		tcfg1 |= S3C2410_TCFG1_MUX4_TCLK1;
+	} else {
+		unsigned long pclk;
+		struct clk *clk;
+
+		/* for the h1940 (and others), we use the pclk from the core
+		 * to generate the timer values. since values around 50 to
+		 * 70MHz are not values we can directly generate the timer
+		 * value from, we need to pre-scale and divide before using it.
+		 *
+		 * for instance, using 50.7MHz and dividing by 6 gives 8.45MHz
+		 * (8.45 ticks per usec)
+		 */
+
+		/* this is used as default if no other timer can be found */
+
+		clk = clk_get(NULL, "timers");
+		if (IS_ERR(clk))
+			panic("failed to get clock for system timer");
+
+		clk_enable(clk);
+
+		pclk = clk_get_rate(clk);
+
+		/* configure clock tick */
+
+		timer_usec_ticks = timer_mask_usec_ticks(6, pclk);
+
+		tcfg1 &= ~S3C2410_TCFG1_MUX4_MASK;
+		tcfg1 |= S3C2410_TCFG1_MUX4_DIV1;
+
+		tcfg0 &= ~S3C2410_TCFG_PRESCALER1_MASK;
+		tcfg0 |= (6) << S3C2410_TCFG_PRESCALER1_SHIFT;
+
+		tcnt = (pclk / 7) / HZ;
+	}
+
+	/* timers reload after counting zero, so reduce the count by 1 */
+
+	tcnt--;
+
+	printk(KERN_DEBUG "timer tcon=%08lx, tcnt %04lx, tcfg %08lx,%08lx, usec %08lx\n",
+	       tcon, tcnt, tcfg0, tcfg1, timer_usec_ticks);
+
+	/* check to see if timer is within 16bit range... */
+	if (tcnt > TICK_MAX) {
+		panic("setup_timer: HZ is too small, cannot configure timer!");
+		return;
+	}
+
+	__raw_writel(tcfg1, S3C2410_TCFG1);
+	__raw_writel(tcfg0, S3C2410_TCFG0);
+
+	timer_startval = tcnt;
+	__raw_writel(tcnt, S3C2410_TCNTB(4));
+
+	/* ensure timer is stopped... */
+
+	tcon &= ~(7<<20);
+	tcon |= S3C2410_TCON_T4RELOAD;
+	tcon |= S3C2410_TCON_T4MANUALUPD;
+
+	__raw_writel(tcon, S3C2410_TCON);
+	__raw_writel(tcnt, S3C2410_TCNTB(4));
+	__raw_writel(tcnt, S3C2410_TCMPB(4));
+
+	/* start the timer running */
+	tcon |= S3C2410_TCON_T4START;
+	tcon &= ~S3C2410_TCON_T4MANUALUPD;
+	__raw_writel(tcon, S3C2410_TCON);
+
+	/* Timer interrupt Enable */
+	__raw_writel(__raw_readl(S3C64XX_TINT_CSTAT) | S3C_TINT_CSTAT_T4INTEN , S3C64XX_TINT_CSTAT);
+}
+
+
+static void __init s3c2410_timer_init(void)
+{
+	s3c2410_timer_setup();
+	setup_irq(IRQ_TIMER4, &s3c2410_timer_irq);
+}
+
+static void __init s3c64xx_timer_init(void)
+{
+	s3c64xx_timer_setup();
+	setup_irq(IRQ_TIMER4, &s3c2410_timer_irq);
+}
+
+struct sys_timer s3c24xx_timer = {
+	.init		= s3c2410_timer_init,
+	.offset		= s3c2410_gettimeoffset,
+	.resume		= s3c2410_timer_setup
+};
+
+struct sys_timer s3c64xx_timer = {
+	.init		= s3c64xx_timer_init,
+	.offset		= s3c2410_gettimeoffset,
+	.resume		= s3c64xx_timer_setup
+};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/Kconfig linux-2.6.28.6/arch/arm/plat-s3c24xx/Kconfig
--- linux-2.6.28/arch/arm/plat-s3c24xx/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -6,8 +6,8 @@
 
 config PLAT_S3C24XX
 	bool
-	depends on ARCH_S3C2410
-	default y if ARCH_S3C2410
+	depends on ARCH_S3C2410 || ARCH_S3C24A0
+	default y
 	select NO_IOPORT
 	select ARCH_REQUIRE_GPIOLIB
 	help
@@ -15,6 +15,19 @@
 
 if PLAT_S3C24XX
 
+# code that is shared between a number of the s3c24xx implementations
+
+config S3C2410_CLOCK
+	bool
+	help
+	  Clock code for the S3C2410, and similar processors which
+	  is currently includes the S3C2410, S3C2440, S3C2442.
+
+config S3C24XX_DCLK
+	bool
+	help
+	  Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
+
 config CPU_S3C244X
 	bool
 	depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
@@ -49,6 +62,22 @@
 	  Enable debugging output for the DMA code. This option sends info
 	  to the kernel log, at priority KERN_DEBUG.
 
+# SPI default pin configuration code
+
+config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
+	bool
+	help
+	  SPI GPIO configuration code for BUS0 when connected to
+	  GPE11, GPE12 and GPE13.
+
+config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
+	bool
+	help
+	  SPI GPIO configuration code for BUS 1 when connected to
+	  GPG5, GPG6 and GPG7.
+
+# common code for s3c24xx based machines, such as the SMDKs.
+
 config MACH_SMDK
 	bool
 	help
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/Makefile linux-2.6.28.6/arch/arm/plat-s3c24xx/Makefile
--- linux-2.6.28/arch/arm/plat-s3c24xx/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -17,9 +17,8 @@
 obj-y				+= devs.o
 obj-y				+= gpio.o
 obj-y				+= gpiolib.o
-obj-y				+= time.o
 obj-y				+= clock.o
-obj-y				+= pwm-clock.o
+obj-$(CONFIG_S3C24XX_DCLK)	+= clock-dclk.o
 
 # Architecture dependant builds
 
@@ -30,5 +29,17 @@
 obj-$(CONFIG_PM)		+= pm.o
 obj-$(CONFIG_PM)		+= sleep.o
 obj-$(CONFIG_HAVE_PWM)		+= pwm.o
+obj-$(CONFIG_S3C2410_CLOCK)	+= s3c2410-clock.o
 obj-$(CONFIG_S3C2410_DMA)	+= dma.o
+
+# device specific setup and/or initialisation
+obj-$(CONFIG_ARCH_S3C2410)	+= setup-i2c.o
+
+# SPI gpio central GPIO functions
+
+obj-$(CONFIG_S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13) += spi-bus0-gpe11_12_13.o
+obj-$(CONFIG_S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7)    += spi-bus1-gpg5_6_7.o
+
+# machine common support
+
 obj-$(CONFIG_MACH_SMDK)		+= common-smdk.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/clock-dclk.c linux-2.6.28.6/arch/arm/plat-s3c24xx/clock-dclk.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/clock-dclk.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/clock-dclk.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,194 @@
+/* linux/arch/arm/plat-s3c24xx/clock-dclk.c
+ *
+ * Copyright (c) 2004,2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C24XX - definitions for DCLK and CLKOUT registers
+ */
+
+#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+
+#include <mach/regs-clock.h>
+#include <mach/regs-gpio.h>
+
+#include <plat/clock.h>
+#include <plat/cpu.h>
+
+/* clocks that could be registered by external code */
+
+static int s3c24xx_dclk_enable(struct clk *clk, int enable)
+{
+	unsigned long dclkcon = __raw_readl(S3C24XX_DCLKCON);
+
+	if (enable)
+		dclkcon |= clk->ctrlbit;
+	else
+		dclkcon &= ~clk->ctrlbit;
+
+	__raw_writel(dclkcon, S3C24XX_DCLKCON);
+
+	return 0;
+}
+
+static int s3c24xx_dclk_setparent(struct clk *clk, struct clk *parent)
+{
+	unsigned long dclkcon;
+	unsigned int uclk;
+
+	if (parent == &clk_upll)
+		uclk = 1;
+	else if (parent == &clk_p)
+		uclk = 0;
+	else
+		return -EINVAL;
+
+	clk->parent = parent;
+
+	dclkcon = __raw_readl(S3C24XX_DCLKCON);
+
+	if (clk->ctrlbit == S3C2410_DCLKCON_DCLK0EN) {
+		if (uclk)
+			dclkcon |= S3C2410_DCLKCON_DCLK0_UCLK;
+		else
+			dclkcon &= ~S3C2410_DCLKCON_DCLK0_UCLK;
+	} else {
+		if (uclk)
+			dclkcon |= S3C2410_DCLKCON_DCLK1_UCLK;
+		else
+			dclkcon &= ~S3C2410_DCLKCON_DCLK1_UCLK;
+	}
+
+	__raw_writel(dclkcon, S3C24XX_DCLKCON);
+
+	return 0;
+}
+static unsigned long s3c24xx_calc_div(struct clk *clk, unsigned long rate)
+{
+	unsigned long div;
+
+	if ((rate == 0) || !clk->parent)
+		return 0;
+
+	div = clk_get_rate(clk->parent) / rate;
+	if (div < 2)
+		div = 2;
+	else if (div > 16)
+		div = 16;
+
+	return div;
+}
+
+static unsigned long s3c24xx_round_dclk_rate(struct clk *clk,
+	unsigned long rate)
+{
+	unsigned long div = s3c24xx_calc_div(clk, rate);
+
+	if (div == 0)
+		return 0;
+
+	return clk_get_rate(clk->parent) / div;
+}
+
+static int s3c24xx_set_dclk_rate(struct clk *clk, unsigned long rate)
+{
+	unsigned long mask, data, div = s3c24xx_calc_div(clk, rate);
+
+	if (div == 0)
+		return -EINVAL;
+
+	if (clk == &s3c24xx_dclk0) {
+		mask = S3C2410_DCLKCON_DCLK0_DIV_MASK |
+			S3C2410_DCLKCON_DCLK0_CMP_MASK;
+		data = S3C2410_DCLKCON_DCLK0_DIV(div) |
+			S3C2410_DCLKCON_DCLK0_CMP((div + 1) / 2);
+	} else if (clk == &s3c24xx_dclk1) {
+		mask = S3C2410_DCLKCON_DCLK1_DIV_MASK |
+			S3C2410_DCLKCON_DCLK1_CMP_MASK;
+		data = S3C2410_DCLKCON_DCLK1_DIV(div) |
+			S3C2410_DCLKCON_DCLK1_CMP((div + 1) / 2);
+	} else
+		return -EINVAL;
+
+	clk->rate = clk_get_rate(clk->parent) / div;
+	__raw_writel(((__raw_readl(S3C24XX_DCLKCON) & ~mask) | data),
+		S3C24XX_DCLKCON);
+	return clk->rate;
+}
+static int s3c24xx_clkout_setparent(struct clk *clk, struct clk *parent)
+{
+	unsigned long mask;
+	unsigned long source;
+
+	/* calculate the MISCCR setting for the clock */
+
+	if (parent == &clk_xtal)
+		source = S3C2410_MISCCR_CLK0_MPLL;
+	else if (parent == &clk_upll)
+		source = S3C2410_MISCCR_CLK0_UPLL;
+	else if (parent == &clk_f)
+		source = S3C2410_MISCCR_CLK0_FCLK;
+	else if (parent == &clk_h)
+		source = S3C2410_MISCCR_CLK0_HCLK;
+	else if (parent == &clk_p)
+		source = S3C2410_MISCCR_CLK0_PCLK;
+	else if (clk == &s3c24xx_clkout0 && parent == &s3c24xx_dclk0)
+		source = S3C2410_MISCCR_CLK0_DCLK0;
+	else if (clk == &s3c24xx_clkout1 && parent == &s3c24xx_dclk1)
+		source = S3C2410_MISCCR_CLK0_DCLK0;
+	else
+		return -EINVAL;
+
+	clk->parent = parent;
+
+	if (clk == &s3c24xx_clkout0)
+		mask = S3C2410_MISCCR_CLK0_MASK;
+	else {
+		source <<= 4;
+		mask = S3C2410_MISCCR_CLK1_MASK;
+	}
+
+	s3c2410_modify_misccr(mask, source);
+	return 0;
+}
+
+/* external clock definitions */
+
+struct clk s3c24xx_dclk0 = {
+	.name		= "dclk0",
+	.id		= -1,
+	.ctrlbit	= S3C2410_DCLKCON_DCLK0EN,
+	.enable	        = s3c24xx_dclk_enable,
+	.set_parent	= s3c24xx_dclk_setparent,
+	.set_rate	= s3c24xx_set_dclk_rate,
+	.round_rate	= s3c24xx_round_dclk_rate,
+};
+
+struct clk s3c24xx_dclk1 = {
+	.name		= "dclk1",
+	.id		= -1,
+	.ctrlbit	= S3C2410_DCLKCON_DCLK1EN,
+	.enable		= s3c24xx_dclk_enable,
+	.set_parent	= s3c24xx_dclk_setparent,
+	.set_rate	= s3c24xx_set_dclk_rate,
+	.round_rate	= s3c24xx_round_dclk_rate,
+};
+
+struct clk s3c24xx_clkout0 = {
+	.name		= "clkout0",
+	.id		= -1,
+	.set_parent	= s3c24xx_clkout_setparent,
+};
+
+struct clk s3c24xx_clkout1 = {
+	.name		= "clkout1",
+	.id		= -1,
+	.set_parent	= s3c24xx_clkout_setparent,
+};
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/clock.c linux-2.6.28.6/arch/arm/plat-s3c24xx/clock.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/clock.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -27,18 +27,8 @@
 */
 
 #include <linux/init.h>
-#include <linux/module.h>
 #include <linux/kernel.h>
-#include <linux/list.h>
-#include <linux/errno.h>
-#include <linux/err.h>
-#include <linux/platform_device.h>
-#include <linux/sysdev.h>
-#include <linux/interrupt.h>
-#include <linux/ioport.h>
 #include <linux/clk.h>
-#include <linux/mutex.h>
-#include <linux/delay.h>
 #include <linux/io.h>
 
 #include <mach/hardware.h>
@@ -47,490 +37,23 @@
 #include <mach/regs-clock.h>
 #include <mach/regs-gpio.h>
 
+#include <plat/cpu-freq.h>
+
 #include <plat/clock.h>
 #include <plat/cpu.h>
-
-/* clock information */
-
-static LIST_HEAD(clocks);
-
-DEFINE_MUTEX(clocks_mutex);
-
-/* enable and disable calls for use with the clk struct */
-
-static int clk_null_enable(struct clk *clk, int enable)
-{
-	return 0;
-}
-
-/* Clock API calls */
-
-struct clk *clk_get(struct device *dev, const char *id)
-{
-	struct clk *p;
-	struct clk *clk = ERR_PTR(-ENOENT);
-	int idno;
-
-	if (dev == NULL || dev->bus != &platform_bus_type)
-		idno = -1;
-	else
-		idno = to_platform_device(dev)->id;
-
-	mutex_lock(&clocks_mutex);
-
-	list_for_each_entry(p, &clocks, list) {
-		if (p->id == idno &&
-		    strcmp(id, p->name) == 0 &&
-		    try_module_get(p->owner)) {
-			clk = p;
-			break;
-		}
-	}
-
-	/* check for the case where a device was supplied, but the
-	 * clock that was being searched for is not device specific */
-
-	if (IS_ERR(clk)) {
-		list_for_each_entry(p, &clocks, list) {
-			if (p->id == -1 && strcmp(id, p->name) == 0 &&
-			    try_module_get(p->owner)) {
-				clk = p;
-				break;
-			}
-		}
-	}
-
-	mutex_unlock(&clocks_mutex);
-	return clk;
-}
-
-void clk_put(struct clk *clk)
-{
-	module_put(clk->owner);
-}
-
-int clk_enable(struct clk *clk)
-{
-	if (IS_ERR(clk) || clk == NULL)
-		return -EINVAL;
-
-	clk_enable(clk->parent);
-
-	mutex_lock(&clocks_mutex);
-
-	if ((clk->usage++) == 0)
-		(clk->enable)(clk, 1);
-
-	mutex_unlock(&clocks_mutex);
-	return 0;
-}
-
-void clk_disable(struct clk *clk)
-{
-	if (IS_ERR(clk) || clk == NULL)
-		return;
-
-	mutex_lock(&clocks_mutex);
-
-	if ((--clk->usage) == 0)
-		(clk->enable)(clk, 0);
-
-	mutex_unlock(&clocks_mutex);
-	clk_disable(clk->parent);
-}
-
-
-unsigned long clk_get_rate(struct clk *clk)
-{
-	if (IS_ERR(clk))
-		return 0;
-
-	if (clk->rate != 0)
-		return clk->rate;
-
-	if (clk->get_rate != NULL)
-		return (clk->get_rate)(clk);
-
-	if (clk->parent != NULL)
-		return clk_get_rate(clk->parent);
-
-	return clk->rate;
-}
-
-long clk_round_rate(struct clk *clk, unsigned long rate)
-{
-	if (!IS_ERR(clk) && clk->round_rate)
-		return (clk->round_rate)(clk, rate);
-
-	return rate;
-}
-
-int clk_set_rate(struct clk *clk, unsigned long rate)
-{
-	int ret;
-
-	if (IS_ERR(clk))
-		return -EINVAL;
-
-	/* We do not default just do a clk->rate = rate as
-	 * the clock may have been made this way by choice.
-	 */
-
-	WARN_ON(clk->set_rate == NULL);
-
-	if (clk->set_rate == NULL)
-		return -EINVAL;
-
-	mutex_lock(&clocks_mutex);
-	ret = (clk->set_rate)(clk, rate);
-	mutex_unlock(&clocks_mutex);
-
-	return ret;
-}
-
-struct clk *clk_get_parent(struct clk *clk)
-{
-	return clk->parent;
-}
-
-int clk_set_parent(struct clk *clk, struct clk *parent)
-{
-	int ret = 0;
-
-	if (IS_ERR(clk))
-		return -EINVAL;
-
-	mutex_lock(&clocks_mutex);
-
-	if (clk->set_parent)
-		ret = (clk->set_parent)(clk, parent);
-
-	mutex_unlock(&clocks_mutex);
-
-	return ret;
-}
-
-EXPORT_SYMBOL(clk_get);
-EXPORT_SYMBOL(clk_put);
-EXPORT_SYMBOL(clk_enable);
-EXPORT_SYMBOL(clk_disable);
-EXPORT_SYMBOL(clk_get_rate);
-EXPORT_SYMBOL(clk_round_rate);
-EXPORT_SYMBOL(clk_set_rate);
-EXPORT_SYMBOL(clk_get_parent);
-EXPORT_SYMBOL(clk_set_parent);
-
-/* base clocks */
-
-static int clk_default_setrate(struct clk *clk, unsigned long rate)
-{
-	clk->rate = rate;
-	return 0;
-}
-
-struct clk clk_xtal = {
-	.name		= "xtal",
-	.id		= -1,
-	.rate		= 0,
-	.parent		= NULL,
-	.ctrlbit	= 0,
-};
-
-struct clk clk_mpll = {
-	.name		= "mpll",
-	.id		= -1,
-	.set_rate	= clk_default_setrate,
-};
-
-struct clk clk_upll = {
-	.name		= "upll",
-	.id		= -1,
-	.parent		= NULL,
-	.ctrlbit	= 0,
-};
-
-struct clk clk_f = {
-	.name		= "fclk",
-	.id		= -1,
-	.rate		= 0,
-	.parent		= &clk_mpll,
-	.ctrlbit	= 0,
-	.set_rate	= clk_default_setrate,
-};
-
-struct clk clk_h = {
-	.name		= "hclk",
-	.id		= -1,
-	.rate		= 0,
-	.parent		= NULL,
-	.ctrlbit	= 0,
-	.set_rate	= clk_default_setrate,
-};
-
-struct clk clk_p = {
-	.name		= "pclk",
-	.id		= -1,
-	.rate		= 0,
-	.parent		= NULL,
-	.ctrlbit	= 0,
-	.set_rate	= clk_default_setrate,
-};
-
-struct clk clk_usb_bus = {
-	.name		= "usb-bus",
-	.id		= -1,
-	.rate		= 0,
-	.parent		= &clk_upll,
-};
-
-/* clocks that could be registered by external code */
-
-static int s3c24xx_dclk_enable(struct clk *clk, int enable)
-{
-	unsigned long dclkcon = __raw_readl(S3C24XX_DCLKCON);
-
-	if (enable)
-		dclkcon |= clk->ctrlbit;
-	else
-		dclkcon &= ~clk->ctrlbit;
-
-	__raw_writel(dclkcon, S3C24XX_DCLKCON);
-
-	return 0;
-}
-
-static int s3c24xx_dclk_setparent(struct clk *clk, struct clk *parent)
-{
-	unsigned long dclkcon;
-	unsigned int uclk;
-
-	if (parent == &clk_upll)
-		uclk = 1;
-	else if (parent == &clk_p)
-		uclk = 0;
-	else
-		return -EINVAL;
-
-	clk->parent = parent;
-
-	dclkcon = __raw_readl(S3C24XX_DCLKCON);
-
-	if (clk->ctrlbit == S3C2410_DCLKCON_DCLK0EN) {
-		if (uclk)
-			dclkcon |= S3C2410_DCLKCON_DCLK0_UCLK;
-		else
-			dclkcon &= ~S3C2410_DCLKCON_DCLK0_UCLK;
-	} else {
-		if (uclk)
-			dclkcon |= S3C2410_DCLKCON_DCLK1_UCLK;
-		else
-			dclkcon &= ~S3C2410_DCLKCON_DCLK1_UCLK;
-	}
-
-	__raw_writel(dclkcon, S3C24XX_DCLKCON);
-
-	return 0;
-}
-
-static unsigned long s3c24xx_calc_div(struct clk *clk, unsigned long rate)
-{
-	unsigned long div;
-
-	if ((rate == 0) || !clk->parent)
-		return 0;
-
-	div = clk_get_rate(clk->parent) / rate;
-	if (div < 2)
-		div = 2;
-	else if (div > 16)
-		div = 16;
-
-	return div;
-}
-
-static unsigned long s3c24xx_round_dclk_rate(struct clk *clk,
-	unsigned long rate)
-{
-	unsigned long div = s3c24xx_calc_div(clk, rate);
-
-	if (div == 0)
-		return 0;
-
-	return clk_get_rate(clk->parent) / div;
-}
-
-static int s3c24xx_set_dclk_rate(struct clk *clk, unsigned long rate)
-{
-	unsigned long mask, data, div = s3c24xx_calc_div(clk, rate);
-
-	if (div == 0)
-		return -EINVAL;
-
-	if (clk == &s3c24xx_dclk0) {
-		mask = S3C2410_DCLKCON_DCLK0_DIV_MASK |
-			S3C2410_DCLKCON_DCLK0_CMP_MASK;
-		data = S3C2410_DCLKCON_DCLK0_DIV(div) |
-			S3C2410_DCLKCON_DCLK0_CMP((div + 1) / 2);
-	} else if (clk == &s3c24xx_dclk1) {
-		mask = S3C2410_DCLKCON_DCLK1_DIV_MASK |
-			S3C2410_DCLKCON_DCLK1_CMP_MASK;
-		data = S3C2410_DCLKCON_DCLK1_DIV(div) |
-			S3C2410_DCLKCON_DCLK1_CMP((div + 1) / 2);
-	} else
-		return -EINVAL;
-
-	clk->rate = clk_get_rate(clk->parent) / div;
-	__raw_writel(((__raw_readl(S3C24XX_DCLKCON) & ~mask) | data),
-		S3C24XX_DCLKCON);
-	return clk->rate;
-}
-
-static int s3c24xx_clkout_setparent(struct clk *clk, struct clk *parent)
-{
-	unsigned long mask;
-	unsigned long source;
-
-	/* calculate the MISCCR setting for the clock */
-
-	if (parent == &clk_xtal)
-		source = S3C2410_MISCCR_CLK0_MPLL;
-	else if (parent == &clk_upll)
-		source = S3C2410_MISCCR_CLK0_UPLL;
-	else if (parent == &clk_f)
-		source = S3C2410_MISCCR_CLK0_FCLK;
-	else if (parent == &clk_h)
-		source = S3C2410_MISCCR_CLK0_HCLK;
-	else if (parent == &clk_p)
-		source = S3C2410_MISCCR_CLK0_PCLK;
-	else if (clk == &s3c24xx_clkout0 && parent == &s3c24xx_dclk0)
-		source = S3C2410_MISCCR_CLK0_DCLK0;
-	else if (clk == &s3c24xx_clkout1 && parent == &s3c24xx_dclk1)
-		source = S3C2410_MISCCR_CLK0_DCLK0;
-	else
-		return -EINVAL;
-
-	clk->parent = parent;
-
-	if (clk == &s3c24xx_clkout0)
-		mask = S3C2410_MISCCR_CLK0_MASK;
-	else {
-		source <<= 4;
-		mask = S3C2410_MISCCR_CLK1_MASK;
-	}
-
-	s3c2410_modify_misccr(mask, source);
-	return 0;
-}
-
-/* external clock definitions */
-
-struct clk s3c24xx_dclk0 = {
-	.name		= "dclk0",
-	.id		= -1,
-	.ctrlbit	= S3C2410_DCLKCON_DCLK0EN,
-	.enable	        = s3c24xx_dclk_enable,
-	.set_parent	= s3c24xx_dclk_setparent,
-	.set_rate	= s3c24xx_set_dclk_rate,
-	.round_rate	= s3c24xx_round_dclk_rate,
-};
-
-struct clk s3c24xx_dclk1 = {
-	.name		= "dclk1",
-	.id		= -1,
-	.ctrlbit	= S3C2410_DCLKCON_DCLK1EN,
-	.enable		= s3c24xx_dclk_enable,
-	.set_parent	= s3c24xx_dclk_setparent,
-	.set_rate	= s3c24xx_set_dclk_rate,
-	.round_rate	= s3c24xx_round_dclk_rate,
-};
-
-struct clk s3c24xx_clkout0 = {
-	.name		= "clkout0",
-	.id		= -1,
-	.set_parent	= s3c24xx_clkout_setparent,
-};
-
-struct clk s3c24xx_clkout1 = {
-	.name		= "clkout1",
-	.id		= -1,
-	.set_parent	= s3c24xx_clkout_setparent,
-};
-
-struct clk s3c24xx_uclk = {
-	.name		= "uclk",
-	.id		= -1,
-};
-
-/* initialise the clock system */
-
-int s3c24xx_register_clock(struct clk *clk)
-{
-	clk->owner = THIS_MODULE;
-
-	if (clk->enable == NULL)
-		clk->enable = clk_null_enable;
-
-	/* add to the list of available clocks */
-
-	mutex_lock(&clocks_mutex);
-	list_add(&clk->list, &clocks);
-	mutex_unlock(&clocks_mutex);
-
-	return 0;
-}
-
-int s3c24xx_register_clocks(struct clk **clks, int nr_clks)
-{
-	int fails = 0;
-
-	for (; nr_clks > 0; nr_clks--, clks++) {
-		if (s3c24xx_register_clock(*clks) < 0)
-			fails++;
-	}
-
-	return fails;
-}
+#include <plat/pll.h>
 
 /* initalise all the clocks */
 
-int __init s3c24xx_setup_clocks(unsigned long xtal,
-				unsigned long fclk,
+void __init_or_cpufreq s3c24xx_setup_clocks(unsigned long fclk,
 				unsigned long hclk,
 				unsigned long pclk)
 {
-	printk(KERN_INFO "S3C24XX Clocks, (c) 2004 Simtec Electronics\n");
-
-	/* initialise the main system clocks */
-
-	clk_xtal.rate = xtal;
-	clk_upll.rate = s3c2410_get_pll(__raw_readl(S3C2410_UPLLCON), xtal);
+	clk_upll.rate = s3c24xx_get_pll(__raw_readl(S3C2410_UPLLCON),
+					clk_xtal.rate);
 
 	clk_mpll.rate = fclk;
 	clk_h.rate = hclk;
 	clk_p.rate = pclk;
 	clk_f.rate = fclk;
-
-	/* assume uart clocks are correctly setup */
-
-	/* register our clocks */
-
-	if (s3c24xx_register_clock(&clk_xtal) < 0)
-		printk(KERN_ERR "failed to register master xtal\n");
-
-	if (s3c24xx_register_clock(&clk_mpll) < 0)
-		printk(KERN_ERR "failed to register mpll clock\n");
-
-	if (s3c24xx_register_clock(&clk_upll) < 0)
-		printk(KERN_ERR "failed to register upll clock\n");
-
-	if (s3c24xx_register_clock(&clk_f) < 0)
-		printk(KERN_ERR "failed to register cpu fclk\n");
-
-	if (s3c24xx_register_clock(&clk_h) < 0)
-		printk(KERN_ERR "failed to register cpu hclk\n");
-
-	if (s3c24xx_register_clock(&clk_p) < 0)
-		printk(KERN_ERR "failed to register cpu pclk\n");
-
-	return 0;
 }
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/common-smdk.c linux-2.6.28.6/arch/arm/plat-s3c24xx/common-smdk.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/common-smdk.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/common-smdk.c	2009-04-30 09:36:37.000000000 +0200
@@ -38,7 +38,7 @@
 #include <mach/regs-gpio.h>
 #include <mach/leds-gpio.h>
 
-#include <asm/plat-s3c/nand.h>
+#include <plat/nand.h>
 
 #include <plat/common-smdk.h>
 #include <plat/devs.h>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/cpu.c linux-2.6.28.6/arch/arm/plat-s3c24xx/cpu.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/cpu.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/cpu.c	2009-04-30 09:36:37.000000000 +0200
@@ -55,16 +55,6 @@
 #include <plat/s3c2442.h>
 #include <plat/s3c2443.h>
 
-struct cpu_table {
-	unsigned long	idcode;
-	unsigned long	idmask;
-	void		(*map_io)(struct map_desc *mach_desc, int size);
-	void		(*init_uarts)(struct s3c2410_uartcfg *cfg, int no);
-	void		(*init_clocks)(int xtal);
-	int		(*init)(void);
-	const char	*name;
-};
-
 /* table of supported CPUs */
 
 static const char name_s3c2400[]  = "S3C2400";
@@ -169,23 +159,7 @@
 	IODESC_ENT(UART)
 };
 
-static struct cpu_table * __init s3c_lookup_cpu(unsigned long idcode)
-{
-	struct cpu_table *tab;
-	int count;
-
-	tab = cpu_ids;
-	for (count = 0; count < ARRAY_SIZE(cpu_ids); count++, tab++) {
-		if ((idcode & tab->idmask) == tab->idcode)
-			return tab;
-	}
-
-	return NULL;
-}
-
-/* cpu information */
-
-static struct cpu_table *cpu;
+/* read cpu identificaiton code */
 
 static unsigned long s3c24xx_read_idcode_v5(void)
 {
@@ -231,6 +205,7 @@
 	unsigned long idcode = 0x0;
 
 	/* initialise the io descriptors we need for initialisation */
+	iotable_init(mach_desc, size);
 	iotable_init(s3c_iodesc, ARRAY_SIZE(s3c_iodesc));
 
 	if (cpu_architecture() >= CPU_ARCH_ARMv5) {
@@ -239,117 +214,7 @@
 		idcode = s3c24xx_read_idcode_v4();
 	}
 
-	cpu = s3c_lookup_cpu(idcode);
-
-	if (cpu == NULL) {
-		printk(KERN_ERR "Unknown CPU type 0x%08lx\n", idcode);
-		panic("Unknown S3C24XX CPU");
-	}
-
-	printk("CPU %s (id 0x%08lx)\n", cpu->name, idcode);
-
-	if (cpu->map_io == NULL || cpu->init == NULL) {
-		printk(KERN_ERR "CPU %s support not enabled\n", cpu->name);
-		panic("Unsupported S3C24XX CPU");
-	}
-
 	arm_pm_restart = s3c24xx_pm_restart;
 
-	(cpu->map_io)(mach_desc, size);
-}
-
-/* s3c24xx_init_clocks
- *
- * Initialise the clock subsystem and associated information from the
- * given master crystal value.
- *
- * xtal  = 0 -> use default PLL crystal value (normally 12MHz)
- *      != 0 -> PLL crystal value in Hz
-*/
-
-void __init s3c24xx_init_clocks(int xtal)
-{
-	if (xtal == 0)
-		xtal = 12*1000*1000;
-
-	if (cpu == NULL)
-		panic("s3c24xx_init_clocks: no cpu setup?\n");
-
-	if (cpu->init_clocks == NULL)
-		panic("s3c24xx_init_clocks: cpu has no clock init\n");
-	else
-		(cpu->init_clocks)(xtal);
+	s3c_init_cpu(idcode, cpu_ids, ARRAY_SIZE(cpu_ids));
 }
-
-/* uart management */
-
-static int nr_uarts __initdata = 0;
-
-static struct s3c2410_uartcfg uart_cfgs[3];
-
-/* s3c24xx_init_uartdevs
- *
- * copy the specified platform data and configuration into our central
- * set of devices, before the data is thrown away after the init process.
- *
- * This also fills in the array passed to the serial driver for the
- * early initialisation of the console.
-*/
-
-void __init s3c24xx_init_uartdevs(char *name,
-				  struct s3c24xx_uart_resources *res,
-				  struct s3c2410_uartcfg *cfg, int no)
-{
-	struct platform_device *platdev;
-	struct s3c2410_uartcfg *cfgptr = uart_cfgs;
-	struct s3c24xx_uart_resources *resp;
-	int uart;
-
-	memcpy(cfgptr, cfg, sizeof(struct s3c2410_uartcfg) * no);
-
-	for (uart = 0; uart < no; uart++, cfg++, cfgptr++) {
-		platdev = s3c24xx_uart_src[cfgptr->hwport];
-
-		resp = res + cfgptr->hwport;
-
-		s3c24xx_uart_devs[uart] = platdev;
-
-		platdev->name = name;
-		platdev->resource = resp->resources;
-		platdev->num_resources = resp->nr_resources;
-
-		platdev->dev.platform_data = cfgptr;
-	}
-
-	nr_uarts = no;
-}
-
-void __init s3c24xx_init_uarts(struct s3c2410_uartcfg *cfg, int no)
-{
-	if (cpu == NULL)
-		return;
-
-	if (cpu->init_uarts == NULL) {
-		printk(KERN_ERR "s3c24xx_init_uarts: cpu has no uart init\n");
-	} else
-		(cpu->init_uarts)(cfg, no);
-}
-
-static int __init s3c_arch_init(void)
-{
-	int ret;
-
-	// do the correct init for cpu
-
-	if (cpu == NULL)
-		panic("s3c_arch_init: NULL cpu\n");
-
-	ret = (cpu->init)();
-	if (ret != 0)
-		return ret;
-
-	ret = platform_add_devices(s3c24xx_uart_devs, nr_uarts);
-	return ret;
-}
-
-arch_initcall(s3c_arch_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/devs.c linux-2.6.28.6/arch/arm/plat-s3c24xx/devs.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/devs.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/devs.c	2009-04-30 09:36:37.000000000 +0200
@@ -29,11 +29,11 @@
 #include <asm/irq.h>
 
 #include <plat/regs-serial.h>
-#include <asm/plat-s3c24xx/udc.h>
+#include <plat/udc.h>
 
 #include <plat/devs.h>
 #include <plat/cpu.h>
-#include <asm/plat-s3c24xx/regs-spi.h>
+#include <plat/regs-spi.h>
 
 /* Serial port registrations */
 
@@ -76,6 +76,19 @@
 	}
 };
 
+static struct resource s3c2410_uart3_resource[] = {
+	[0] = {
+		.start = S3C2443_PA_UART3,
+		.end   = S3C2443_PA_UART3 + 0x3fff,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_S3CUART_RX3,
+		.end   = IRQ_S3CUART_ERR3,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
 struct s3c24xx_uart_resources s3c2410_uart_resources[] __initdata = {
 	[0] = {
 		.resources	= s3c2410_uart0_resource,
@@ -89,6 +102,10 @@
 		.resources	= s3c2410_uart2_resource,
 		.nr_resources	= ARRAY_SIZE(s3c2410_uart2_resource),
 	},
+	[3] = {
+		.resources	= s3c2410_uart3_resource,
+		.nr_resources	= ARRAY_SIZE(s3c2410_uart3_resource),
+	},
 };
 
 /* yart devices */
@@ -105,13 +122,18 @@
 	.id		= 2,
 };
 
-struct platform_device *s3c24xx_uart_src[3] = {
+static struct platform_device s3c24xx_uart_device3 = {
+	.id		= 3,
+};
+
+struct platform_device *s3c24xx_uart_src[4] = {
 	&s3c24xx_uart_device0,
 	&s3c24xx_uart_device1,
 	&s3c24xx_uart_device2,
+	&s3c24xx_uart_device3,
 };
 
-struct platform_device *s3c24xx_uart_devs[3] = {
+struct platform_device *s3c24xx_uart_devs[4] = {
 };
 
 /* USB Host Controller */
@@ -192,8 +214,8 @@
 
 static struct resource s3c_nand_resource[] = {
 	[0] = {
-		.start = S3C2410_PA_NAND,
-		.end   = S3C2410_PA_NAND + S3C24XX_SZ_NAND - 1,
+		.start = S3C24XX_PA_NAND,
+		.end   = S3C24XX_PA_NAND + S3C24XX_SZ_NAND - 1,
 		.flags = IORESOURCE_MEM,
 	}
 };
@@ -271,31 +293,6 @@
 
 EXPORT_SYMBOL(s3c_device_wdt);
 
-/* I2C */
-
-static struct resource s3c_i2c_resource[] = {
-	[0] = {
-		.start = S3C24XX_PA_IIC,
-		.end   = S3C24XX_PA_IIC + S3C24XX_SZ_IIC - 1,
-		.flags = IORESOURCE_MEM,
-	},
-	[1] = {
-		.start = IRQ_IIC,
-		.end   = IRQ_IIC,
-		.flags = IORESOURCE_IRQ,
-	}
-
-};
-
-struct platform_device s3c_device_i2c = {
-	.name		  = "s3c2410-i2c",
-	.id		  = -1,
-	.num_resources	  = ARRAY_SIZE(s3c_i2c_resource),
-	.resource	  = s3c_i2c_resource,
-};
-
-EXPORT_SYMBOL(s3c_device_i2c);
-
 /* IIS */
 
 static struct resource s3c_iis_resource[] = {
@@ -382,8 +379,8 @@
 
 static struct resource s3c_sdi_resource[] = {
 	[0] = {
-		.start = S3C2410_PA_SDI,
-		.end   = S3C2410_PA_SDI + S3C24XX_SZ_SDI - 1,
+		.start = S3C24XX_PA_SDI,
+		.end   = S3C24XX_PA_SDI + S3C24XX_SZ_SDI - 1,
 		.flags = IORESOURCE_MEM,
 	},
 	[1] = {
@@ -403,36 +400,6 @@
 
 EXPORT_SYMBOL(s3c_device_sdi);
 
-/* High-speed MMC/SD */
-
-static struct resource s3c_hsmmc_resource[] = {
-	[0] = {
-		.start = S3C2443_PA_HSMMC,
-		.end   = S3C2443_PA_HSMMC + S3C2443_SZ_HSMMC - 1,
-		.flags = IORESOURCE_MEM,
-	},
-	[1] = {
-		.start = IRQ_S3C2443_HSMMC,
-		.end   = IRQ_S3C2443_HSMMC,
-		.flags = IORESOURCE_IRQ,
-	}
-};
-
-static u64 s3c_device_hsmmc_dmamask = 0xffffffffUL;
-
-struct platform_device s3c_device_hsmmc = {
-	.name		  = "s3c-sdhci",
-	.id		  = -1,
-	.num_resources	  = ARRAY_SIZE(s3c_hsmmc_resource),
-	.resource	  = s3c_hsmmc_resource,
-	.dev              = {
-		.dma_mask = &s3c_device_hsmmc_dmamask,
-		.coherent_dma_mask = 0xffffffffUL
-	}
-};
-
-
-
 /* SPI (0) */
 
 static struct resource s3c_spi0_resource[] = {
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/gpiolib.c linux-2.6.28.6/arch/arm/plat-s3c24xx/gpiolib.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/gpiolib.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/gpiolib.c	2009-04-30 09:36:37.000000000 +0200
@@ -19,104 +19,12 @@
 #include <linux/io.h>
 #include <linux/gpio.h>
 
+#include <plat/gpio-core.h>
 #include <mach/hardware.h>
 #include <asm/irq.h>
 
 #include <mach/regs-gpio.h>
 
-struct s3c24xx_gpio_chip {
-	struct gpio_chip	chip;
-	void __iomem		*base;
-};
-
-static inline struct s3c24xx_gpio_chip *to_s3c_chip(struct gpio_chip *gpc)
-{
-	return container_of(gpc, struct s3c24xx_gpio_chip, chip);
-}
-
-/* these routines are exported for use by other parts of the platform
- * and system support, but are not intended to be used directly by the
- * drivers themsevles.
- */
-
-static int s3c24xx_gpiolib_input(struct gpio_chip *chip, unsigned offset)
-{
-	struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip);
-	void __iomem *base = ourchip->base;
-	unsigned long flags;
-	unsigned long con;
-
-	local_irq_save(flags);
-
-	con = __raw_readl(base + 0x00);
-	con &= ~(3 << (offset * 2));
-	con |= (S3C2410_GPIO_OUTPUT & 0xf) << (offset * 2);
-
-	__raw_writel(con, base + 0x00);
-
-	local_irq_restore(flags);
-	return 0;
-}
-
-static int s3c24xx_gpiolib_output(struct gpio_chip *chip,
-				  unsigned offset, int value)
-{
-	struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip);
-	void __iomem *base = ourchip->base;
-	unsigned long flags;
-	unsigned long dat;
-	unsigned long con;
-
-	local_irq_save(flags);
-
-	dat = __raw_readl(base + 0x04);
-	dat &= ~(1 << offset);
-	if (value)
-		dat |= 1 << offset;
-	__raw_writel(dat, base + 0x04);
-
-	con = __raw_readl(base + 0x00);
-	con &= ~(3 << (offset * 2));
-	con |= (S3C2410_GPIO_OUTPUT & 0xf) << (offset * 2);
-
-	__raw_writel(con, base + 0x00);
-	__raw_writel(dat, base + 0x04);
-
-	local_irq_restore(flags);
-	return 0;
-}
-
-static void s3c24xx_gpiolib_set(struct gpio_chip *chip,
-				unsigned offset, int value)
-{
-	struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip);
-	void __iomem *base = ourchip->base;
-	unsigned long flags;
-	unsigned long dat;
-
-	local_irq_save(flags);
-
-	dat = __raw_readl(base + 0x04);
-	dat &= ~(1 << offset);
-	if (value)
-		dat |= 1 << offset;
-	__raw_writel(dat, base + 0x04);
-
-	local_irq_restore(flags);
-}
-
-static int s3c24xx_gpiolib_get(struct gpio_chip *chip, unsigned offset)
-{
-	struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip);
-	unsigned long val;
-
-	val = __raw_readl(ourchip->base + 0x04);
-	val >>= offset;
-	val &= 1;
-
-	return val;
-}
-
 static int s3c24xx_gpiolib_banka_input(struct gpio_chip *chip, unsigned offset)
 {
 	return -EINVAL;
@@ -125,7 +33,7 @@
 static int s3c24xx_gpiolib_banka_output(struct gpio_chip *chip,
 					unsigned offset, int value)
 {
-	struct s3c24xx_gpio_chip *ourchip = to_s3c_chip(chip);
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
 	void __iomem *base = ourchip->base;
 	unsigned long flags;
 	unsigned long dat;
@@ -151,7 +59,7 @@
 	return 0;
 }
 
-static struct s3c24xx_gpio_chip gpios[] = {
+struct s3c_gpio_chip s3c24xx_gpios[] = {
 	[0] = {
 		.base	= S3C24XX_GPIO_BASE(S3C2410_GPA0),
 		.chip	= {
@@ -161,8 +69,6 @@
 			.ngpio			= 24,
 			.direction_input	= s3c24xx_gpiolib_banka_input,
 			.direction_output	= s3c24xx_gpiolib_banka_output,
-			.set			= s3c24xx_gpiolib_set,
-			.get			= s3c24xx_gpiolib_get,
 		},
 	},
 	[1] = {
@@ -172,10 +78,6 @@
 			.owner			= THIS_MODULE,
 			.label			= "GPIOB",
 			.ngpio			= 16,
-			.direction_input	= s3c24xx_gpiolib_input,
-			.direction_output	= s3c24xx_gpiolib_output,
-			.set			= s3c24xx_gpiolib_set,
-			.get			= s3c24xx_gpiolib_get,
 		},
 	},
 	[2] = {
@@ -185,10 +87,6 @@
 			.owner			= THIS_MODULE,
 			.label			= "GPIOC",
 			.ngpio			= 16,
-			.direction_input	= s3c24xx_gpiolib_input,
-			.direction_output	= s3c24xx_gpiolib_output,
-			.set			= s3c24xx_gpiolib_set,
-			.get			= s3c24xx_gpiolib_get,
 		},
 	},
 	[3] = {
@@ -198,10 +96,6 @@
 			.owner			= THIS_MODULE,
 			.label			= "GPIOD",
 			.ngpio			= 16,
-			.direction_input	= s3c24xx_gpiolib_input,
-			.direction_output	= s3c24xx_gpiolib_output,
-			.set			= s3c24xx_gpiolib_set,
-			.get			= s3c24xx_gpiolib_get,
 		},
 	},
 	[4] = {
@@ -211,10 +105,6 @@
 			.label			= "GPIOE",
 			.owner			= THIS_MODULE,
 			.ngpio			= 16,
-			.direction_input	= s3c24xx_gpiolib_input,
-			.direction_output	= s3c24xx_gpiolib_output,
-			.set			= s3c24xx_gpiolib_set,
-			.get			= s3c24xx_gpiolib_get,
 		},
 	},
 	[5] = {
@@ -224,10 +114,6 @@
 			.owner			= THIS_MODULE,
 			.label			= "GPIOF",
 			.ngpio			= 8,
-			.direction_input	= s3c24xx_gpiolib_input,
-			.direction_output	= s3c24xx_gpiolib_output,
-			.set			= s3c24xx_gpiolib_set,
-			.get			= s3c24xx_gpiolib_get,
 		},
 	},
 	[6] = {
@@ -237,21 +123,17 @@
 			.owner			= THIS_MODULE,
 			.label			= "GPIOG",
 			.ngpio			= 10,
-			.direction_input	= s3c24xx_gpiolib_input,
-			.direction_output	= s3c24xx_gpiolib_output,
-			.set			= s3c24xx_gpiolib_set,
-			.get			= s3c24xx_gpiolib_get,
 		},
 	},
 };
 
 static __init int s3c24xx_gpiolib_init(void)
 {
-	struct s3c24xx_gpio_chip *chip = gpios;
+	struct s3c_gpio_chip *chip = s3c24xx_gpios;
 	int gpn;
 
-	for (gpn = 0; gpn < ARRAY_SIZE(gpios); gpn++, chip++)
-		gpiochip_add(&chip->chip);
+	for (gpn = 0; gpn < ARRAY_SIZE(s3c24xx_gpios); gpn++, chip++)
+		s3c_gpiolib_add(chip);
 
 	return 0;
 }
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/map.h linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/map.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/map.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/map.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,99 @@
+/* linux/include/asm-arm/plat-s3c24xx/map.h
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24XX - Memory map definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_PLAT_S3C24XX_MAP_H
+#define __ASM_PLAT_S3C24XX_MAP_H
+
+/* interrupt controller is the first thing we put in, to make
+ * the assembly code for the irq detection easier
+ */
+#define S3C24XX_VA_IRQ	   S3C_VA_IRQ
+#define S3C2410_PA_IRQ	   (0x4A000000)
+#define S3C24XX_SZ_IRQ	   SZ_1M
+
+/* memory controller registers */
+#define S3C24XX_VA_MEMCTRL S3C_VA_MEM
+#define S3C2410_PA_MEMCTRL (0x48000000)
+#define S3C24XX_SZ_MEMCTRL SZ_1M
+
+/* UARTs */
+#define S3C24XX_VA_UART	   S3C_VA_UART
+#define S3C2410_PA_UART	   (0x50000000)
+#define S3C24XX_SZ_UART	   SZ_1M
+#define S3C_UART_OFFSET	   (0x4000)
+
+/* Timers */
+#define S3C24XX_VA_TIMER   S3C_VA_TIMER
+#define S3C2410_PA_TIMER   (0x51000000)
+#define S3C24XX_SZ_TIMER   SZ_1M
+
+/* Clock and Power management */
+#define S3C24XX_VA_CLKPWR  S3C_VA_SYS
+#define S3C24XX_SZ_CLKPWR  SZ_1M
+
+/* USB Device port */
+#define S3C2410_PA_USBDEV  (0x52000000)
+#define S3C24XX_SZ_USBDEV  SZ_1M
+
+/* Watchdog */
+#define S3C24XX_VA_WATCHDOG S3C_VA_WATCHDOG
+#define S3C2410_PA_WATCHDOG (0x53000000)
+#define S3C24XX_SZ_WATCHDOG SZ_1M
+
+/* Standard size definitions for peripheral blocks. */
+
+#define S3C24XX_SZ_IIS		SZ_1M
+#define S3C24XX_SZ_ADC		SZ_1M
+#define S3C24XX_SZ_SPI		SZ_1M
+#define S3C24XX_SZ_SDI		SZ_1M
+#define S3C24XX_SZ_NAND		SZ_1M
+#define S3C24XX_SZ_USBHOST	SZ_1M
+
+/* GPIO ports */
+
+/* the calculation for the VA of this must ensure that
+ * it is the same distance apart from the UART in the
+ * phsyical address space, as the initial mapping for the IO
+ * is done as a 1:1 maping. This puts it (currently) at
+ * 0xFA800000, which is not in the way of any current mapping
+ * by the base system.
+*/
+
+#define S3C2410_PA_GPIO	   (0x56000000)
+#define S3C24XX_VA_GPIO	   ((S3C24XX_PA_GPIO - S3C24XX_PA_UART) + S3C24XX_VA_UART)
+#define S3C24XX_SZ_GPIO	   SZ_1M
+
+
+/* ISA style IO, for each machine to sort out mappings for, if it
+ * implements it. We reserve two 16M regions for ISA.
+ */
+
+#define S3C24XX_VA_ISA_WORD  S3C2410_ADDR(0x02000000)
+#define S3C24XX_VA_ISA_BYTE  S3C2410_ADDR(0x03000000)
+
+/* deal with the registers that move under the 2412/2413 */
+
+#if defined(CONFIG_CPU_S3C2412) || defined(CONFIG_CPU_S3C2413)
+#ifndef __ASSEMBLY__
+extern void __iomem *s3c24xx_va_gpio2;
+#endif
+#ifdef CONFIG_CPU_S3C2412_ONLY
+#define S3C24XX_VA_GPIO2 (S3C24XX_VA_GPIO + 0x10)
+#else
+#define S3C24XX_VA_GPIO2 s3c24xx_va_gpio2
+#endif
+#else
+#define s3c24xx_va_gpio2 S3C24XX_VA_GPIO
+#define S3C24XX_VA_GPIO2 S3C24XX_VA_GPIO
+#endif
+
+#endif /* __ASM_PLAT_S3C24XX_MAP_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/mci.h linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/mci.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/mci.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/mci.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,15 @@
+#ifndef _ARCH_MCI_H
+#define _ARCH_MCI_H
+
+struct s3c24xx_mci_pdata {
+	unsigned int	wprotect_invert : 1;
+	unsigned int	detect_invert : 1;   /* set => detect active high. */
+
+	unsigned int	gpio_detect;
+	unsigned int	gpio_wprotect;
+	unsigned long	ocr_avail;
+	void		(*set_power)(unsigned char power_mode,
+				     unsigned short vdd);
+};
+
+#endif /* _ARCH_NCI_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/pll.h linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/pll.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/pll.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/pll.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,37 @@
+/* linux/arch/arm/plat-s3c24xx/include/plat/pll.h
+ *
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C24xx - common pll registers and code
+ */
+
+#define S3C24XX_PLLCON_MDIVSHIFT	12
+#define S3C24XX_PLLCON_PDIVSHIFT	4
+#define S3C24XX_PLLCON_SDIVSHIFT	0
+#define S3C24XX_PLLCON_MDIVMASK		((1<<(1+(19-12)))-1)
+#define S3C24XX_PLLCON_PDIVMASK		((1<<5)-1)
+#define S3C24XX_PLLCON_SDIVMASK		3
+
+#include <asm/div64.h>
+
+static inline unsigned int
+s3c24xx_get_pll(unsigned int pllval, unsigned int baseclk)
+{
+	unsigned int mdiv, pdiv, sdiv;
+	uint64_t fvco;
+
+	mdiv = pllval >> S3C24XX_PLLCON_MDIVSHIFT;
+	pdiv = pllval >> S3C24XX_PLLCON_PDIVSHIFT;
+	sdiv = pllval >> S3C24XX_PLLCON_SDIVSHIFT;
+
+	mdiv &= S3C24XX_PLLCON_MDIVMASK;
+	pdiv &= S3C24XX_PLLCON_PDIVMASK;
+	sdiv &= S3C24XX_PLLCON_SDIVMASK;
+
+	fvco = (uint64_t)baseclk * (mdiv + 8);
+	do_div(fvco, (pdiv + 2) << sdiv);
+
+	return (unsigned int)fvco;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/regs-spi.h linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/regs-spi.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/regs-spi.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/regs-spi.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,82 @@
+/* arch/arm/mach-s3c2410/include/mach/regs-spi.h
+ *
+ * Copyright (c) 2004 Fetron GmbH
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C2410 SPI register definition
+*/
+
+#ifndef __ASM_ARCH_REGS_SPI_H
+#define __ASM_ARCH_REGS_SPI_H
+
+#define S3C2410_SPI1	(0x20)
+#define S3C2412_SPI1	(0x100)
+
+#define S3C2410_SPCON	(0x00)
+
+#define S3C2412_SPCON_RXFIFO_RB2	(0<<14)
+#define S3C2412_SPCON_RXFIFO_RB4	(1<<14)
+#define S3C2412_SPCON_RXFIFO_RB12	(2<<14)
+#define S3C2412_SPCON_RXFIFO_RB14	(3<<14)
+#define S3C2412_SPCON_TXFIFO_RB2	(0<<12)
+#define S3C2412_SPCON_TXFIFO_RB4	(1<<12)
+#define S3C2412_SPCON_TXFIFO_RB12	(2<<12)
+#define S3C2412_SPCON_TXFIFO_RB14	(3<<12)
+#define S3C2412_SPCON_RXFIFO_RESET	(1<<11) /* RxFIFO reset */
+#define S3C2412_SPCON_TXFIFO_RESET	(1<<10) /* TxFIFO reset */
+#define S3C2412_SPCON_RXFIFO_EN		(1<<9)  /* RxFIFO Enable */
+#define S3C2412_SPCON_TXFIFO_EN		(1<<8)  /* TxFIFO Enable */
+
+#define S3C2412_SPCON_DIRC_RX	  (1<<7)
+
+#define S3C2410_SPCON_SMOD_DMA	  (2<<5)	/* DMA mode */
+#define S3C2410_SPCON_SMOD_INT	  (1<<5)	/* interrupt mode */
+#define S3C2410_SPCON_SMOD_POLL   (0<<5)	/* polling mode */
+#define S3C2410_SPCON_ENSCK	  (1<<4)	/* Enable SCK */
+#define S3C2410_SPCON_MSTR	  (1<<3)	/* Master/Slave select
+						   0: slave, 1: master */
+#define S3C2410_SPCON_CPOL_HIGH	  (1<<2)	/* Clock polarity select */
+#define S3C2410_SPCON_CPOL_LOW	  (0<<2)	/* Clock polarity select */
+
+#define S3C2410_SPCON_CPHA_FMTB	  (1<<1)	/* Clock Phase Select */
+#define S3C2410_SPCON_CPHA_FMTA	  (0<<1)	/* Clock Phase Select */
+
+#define S3C2410_SPCON_TAGD	  (1<<0)	/* Tx auto garbage data mode */
+
+
+#define S3C2410_SPSTA	 (0x04)
+
+#define S3C2412_SPSTA_RXFIFO_AE		(1<<11)
+#define S3C2412_SPSTA_TXFIFO_AE		(1<<10)
+#define S3C2412_SPSTA_RXFIFO_ERROR	(1<<9)
+#define S3C2412_SPSTA_TXFIFO_ERROR	(1<<8)
+#define S3C2412_SPSTA_RXFIFO_FIFO	(1<<7)
+#define S3C2412_SPSTA_RXFIFO_EMPTY	(1<<6)
+#define S3C2412_SPSTA_TXFIFO_NFULL	(1<<5)
+#define S3C2412_SPSTA_TXFIFO_EMPTY	(1<<4)
+
+#define S3C2410_SPSTA_DCOL	  (1<<2)	/* Data Collision Error */
+#define S3C2410_SPSTA_MULD	  (1<<1)	/* Multi Master Error */
+#define S3C2410_SPSTA_READY	  (1<<0)	/* Data Tx/Rx ready */
+#define S3C2412_SPSTA_READY_ORG	  (1<<3)
+
+#define S3C2410_SPPIN	 (0x08)
+
+#define S3C2410_SPPIN_ENMUL	  (1<<2)	/* Multi Master Error detect */
+#define S3C2410_SPPIN_RESERVED	  (1<<1)
+#define S3C2400_SPPIN_nCS     	  (1<<1)	/* SPI Card Select */
+#define S3C2410_SPPIN_KEEP	  (1<<0)	/* Master Out keep */
+
+#define S3C2410_SPPRE	 (0x0C)
+#define S3C2410_SPTDAT	 (0x10)
+#define S3C2410_SPRDAT	 (0x14)
+
+#define S3C2412_TXFIFO	 (0x18)
+#define S3C2412_RXFIFO	 (0x18)
+#define S3C2412_SPFIC	 (0x24)
+
+
+#endif /* __ASM_ARCH_REGS_SPI_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/regs-udc.h linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/regs-udc.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/regs-udc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/regs-udc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,153 @@
+/* arch/arm/mach-s3c2410/include/mach/regs-udc.h
+ *
+ * Copyright (C) 2004 Herbert Poetzl <herbert@13thfloor.at>
+ *
+ * This include file is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+*/
+
+#ifndef __ASM_ARCH_REGS_UDC_H
+#define __ASM_ARCH_REGS_UDC_H
+
+#define S3C2410_USBDREG(x) (x)
+
+#define S3C2410_UDC_FUNC_ADDR_REG	S3C2410_USBDREG(0x0140)
+#define S3C2410_UDC_PWR_REG		S3C2410_USBDREG(0x0144)
+#define S3C2410_UDC_EP_INT_REG		S3C2410_USBDREG(0x0148)
+
+#define S3C2410_UDC_USB_INT_REG		S3C2410_USBDREG(0x0158)
+#define S3C2410_UDC_EP_INT_EN_REG	S3C2410_USBDREG(0x015c)
+
+#define S3C2410_UDC_USB_INT_EN_REG	S3C2410_USBDREG(0x016c)
+
+#define S3C2410_UDC_FRAME_NUM1_REG	S3C2410_USBDREG(0x0170)
+#define S3C2410_UDC_FRAME_NUM2_REG	S3C2410_USBDREG(0x0174)
+
+#define S3C2410_UDC_EP0_FIFO_REG	S3C2410_USBDREG(0x01c0)
+#define S3C2410_UDC_EP1_FIFO_REG	S3C2410_USBDREG(0x01c4)
+#define S3C2410_UDC_EP2_FIFO_REG	S3C2410_USBDREG(0x01c8)
+#define S3C2410_UDC_EP3_FIFO_REG	S3C2410_USBDREG(0x01cc)
+#define S3C2410_UDC_EP4_FIFO_REG	S3C2410_USBDREG(0x01d0)
+
+#define S3C2410_UDC_EP1_DMA_CON		S3C2410_USBDREG(0x0200)
+#define S3C2410_UDC_EP1_DMA_UNIT	S3C2410_USBDREG(0x0204)
+#define S3C2410_UDC_EP1_DMA_FIFO	S3C2410_USBDREG(0x0208)
+#define S3C2410_UDC_EP1_DMA_TTC_L	S3C2410_USBDREG(0x020c)
+#define S3C2410_UDC_EP1_DMA_TTC_M	S3C2410_USBDREG(0x0210)
+#define S3C2410_UDC_EP1_DMA_TTC_H	S3C2410_USBDREG(0x0214)
+
+#define S3C2410_UDC_EP2_DMA_CON		S3C2410_USBDREG(0x0218)
+#define S3C2410_UDC_EP2_DMA_UNIT	S3C2410_USBDREG(0x021c)
+#define S3C2410_UDC_EP2_DMA_FIFO	S3C2410_USBDREG(0x0220)
+#define S3C2410_UDC_EP2_DMA_TTC_L	S3C2410_USBDREG(0x0224)
+#define S3C2410_UDC_EP2_DMA_TTC_M	S3C2410_USBDREG(0x0228)
+#define S3C2410_UDC_EP2_DMA_TTC_H	S3C2410_USBDREG(0x022c)
+
+#define S3C2410_UDC_EP3_DMA_CON		S3C2410_USBDREG(0x0240)
+#define S3C2410_UDC_EP3_DMA_UNIT	S3C2410_USBDREG(0x0244)
+#define S3C2410_UDC_EP3_DMA_FIFO	S3C2410_USBDREG(0x0248)
+#define S3C2410_UDC_EP3_DMA_TTC_L	S3C2410_USBDREG(0x024c)
+#define S3C2410_UDC_EP3_DMA_TTC_M	S3C2410_USBDREG(0x0250)
+#define S3C2410_UDC_EP3_DMA_TTC_H	S3C2410_USBDREG(0x0254)
+
+#define S3C2410_UDC_EP4_DMA_CON		S3C2410_USBDREG(0x0258)
+#define S3C2410_UDC_EP4_DMA_UNIT	S3C2410_USBDREG(0x025c)
+#define S3C2410_UDC_EP4_DMA_FIFO	S3C2410_USBDREG(0x0260)
+#define S3C2410_UDC_EP4_DMA_TTC_L	S3C2410_USBDREG(0x0264)
+#define S3C2410_UDC_EP4_DMA_TTC_M	S3C2410_USBDREG(0x0268)
+#define S3C2410_UDC_EP4_DMA_TTC_H	S3C2410_USBDREG(0x026c)
+
+#define S3C2410_UDC_INDEX_REG		S3C2410_USBDREG(0x0178)
+
+/* indexed registers */
+
+#define S3C2410_UDC_MAXP_REG		S3C2410_USBDREG(0x0180)
+
+#define S3C2410_UDC_EP0_CSR_REG		S3C2410_USBDREG(0x0184)
+
+#define S3C2410_UDC_IN_CSR1_REG		S3C2410_USBDREG(0x0184)
+#define S3C2410_UDC_IN_CSR2_REG		S3C2410_USBDREG(0x0188)
+
+#define S3C2410_UDC_OUT_CSR1_REG	S3C2410_USBDREG(0x0190)
+#define S3C2410_UDC_OUT_CSR2_REG	S3C2410_USBDREG(0x0194)
+#define S3C2410_UDC_OUT_FIFO_CNT1_REG	S3C2410_USBDREG(0x0198)
+#define S3C2410_UDC_OUT_FIFO_CNT2_REG	S3C2410_USBDREG(0x019c)
+
+#define S3C2410_UDC_FUNCADDR_UPDATE	(1<<7)
+
+#define S3C2410_UDC_PWR_ISOUP		(1<<7) // R/W
+#define S3C2410_UDC_PWR_RESET		(1<<3) // R
+#define S3C2410_UDC_PWR_RESUME		(1<<2) // R/W
+#define S3C2410_UDC_PWR_SUSPEND		(1<<1) // R
+#define S3C2410_UDC_PWR_ENSUSPEND	(1<<0) // R/W
+
+#define S3C2410_UDC_PWR_DEFAULT		0x00
+
+#define S3C2410_UDC_INT_EP4		(1<<4) // R/W (clear only)
+#define S3C2410_UDC_INT_EP3		(1<<3) // R/W (clear only)
+#define S3C2410_UDC_INT_EP2		(1<<2) // R/W (clear only)
+#define S3C2410_UDC_INT_EP1		(1<<1) // R/W (clear only)
+#define S3C2410_UDC_INT_EP0		(1<<0) // R/W (clear only)
+
+#define S3C2410_UDC_USBINT_RESET	(1<<2) // R/W (clear only)
+#define S3C2410_UDC_USBINT_RESUME	(1<<1) // R/W (clear only)
+#define S3C2410_UDC_USBINT_SUSPEND	(1<<0) // R/W (clear only)
+
+#define S3C2410_UDC_INTE_EP4		(1<<4) // R/W
+#define S3C2410_UDC_INTE_EP3		(1<<3) // R/W
+#define S3C2410_UDC_INTE_EP2		(1<<2) // R/W
+#define S3C2410_UDC_INTE_EP1		(1<<1) // R/W
+#define S3C2410_UDC_INTE_EP0		(1<<0) // R/W
+
+#define S3C2410_UDC_USBINTE_RESET	(1<<2) // R/W
+#define S3C2410_UDC_USBINTE_SUSPEND	(1<<0) // R/W
+
+
+#define S3C2410_UDC_INDEX_EP0		(0x00)
+#define S3C2410_UDC_INDEX_EP1		(0x01) // ??
+#define S3C2410_UDC_INDEX_EP2		(0x02) // ??
+#define S3C2410_UDC_INDEX_EP3		(0x03) // ??
+#define S3C2410_UDC_INDEX_EP4		(0x04) // ??
+
+#define S3C2410_UDC_ICSR1_CLRDT		(1<<6) // R/W
+#define S3C2410_UDC_ICSR1_SENTSTL	(1<<5) // R/W (clear only)
+#define S3C2410_UDC_ICSR1_SENDSTL	(1<<4) // R/W
+#define S3C2410_UDC_ICSR1_FFLUSH	(1<<3) // W   (set only)
+#define S3C2410_UDC_ICSR1_UNDRUN	(1<<2) // R/W (clear only)
+#define S3C2410_UDC_ICSR1_PKTRDY	(1<<0) // R/W (set only)
+
+#define S3C2410_UDC_ICSR2_AUTOSET	(1<<7) // R/W
+#define S3C2410_UDC_ICSR2_ISO		(1<<6) // R/W
+#define S3C2410_UDC_ICSR2_MODEIN	(1<<5) // R/W
+#define S3C2410_UDC_ICSR2_DMAIEN	(1<<4) // R/W
+
+#define S3C2410_UDC_OCSR1_CLRDT		(1<<7) // R/W
+#define S3C2410_UDC_OCSR1_SENTSTL	(1<<6) // R/W (clear only)
+#define S3C2410_UDC_OCSR1_SENDSTL	(1<<5) // R/W
+#define S3C2410_UDC_OCSR1_FFLUSH	(1<<4) // R/W
+#define S3C2410_UDC_OCSR1_DERROR	(1<<3) // R
+#define S3C2410_UDC_OCSR1_OVRRUN	(1<<2) // R/W (clear only)
+#define S3C2410_UDC_OCSR1_PKTRDY	(1<<0) // R/W (clear only)
+
+#define S3C2410_UDC_OCSR2_AUTOCLR	(1<<7) // R/W
+#define S3C2410_UDC_OCSR2_ISO		(1<<6) // R/W
+#define S3C2410_UDC_OCSR2_DMAIEN	(1<<5) // R/W
+
+#define S3C2410_UDC_EP0_CSR_OPKRDY	(1<<0)
+#define S3C2410_UDC_EP0_CSR_IPKRDY	(1<<1)
+#define S3C2410_UDC_EP0_CSR_SENTSTL	(1<<2)
+#define S3C2410_UDC_EP0_CSR_DE		(1<<3)
+#define S3C2410_UDC_EP0_CSR_SE		(1<<4)
+#define S3C2410_UDC_EP0_CSR_SENDSTL	(1<<5)
+#define S3C2410_UDC_EP0_CSR_SOPKTRDY	(1<<6)
+#define S3C2410_UDC_EP0_CSR_SSE	(1<<7)
+
+#define S3C2410_UDC_MAXP_8		(1<<0)
+#define S3C2410_UDC_MAXP_16		(1<<1)
+#define S3C2410_UDC_MAXP_32		(1<<2)
+#define S3C2410_UDC_MAXP_64		(1<<3)
+
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/s3c2400.h linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/s3c2400.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/s3c2400.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/s3c2400.h	2009-04-30 09:36:37.000000000 +0200
@@ -17,7 +17,7 @@
 
 extern  int s3c2400_init(void);
 
-extern void s3c2400_map_io(struct map_desc *mach_desc, int size);
+extern void s3c2400_map_io(void);
 
 extern void s3c2400_init_uarts(struct s3c2410_uartcfg *cfg, int no);
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/s3c2410.h linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/s3c2410.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/s3c2410.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/s3c2410.h	2009-04-30 09:36:37.000000000 +0200
@@ -15,7 +15,7 @@
 
 extern  int s3c2410_init(void);
 
-extern void s3c2410_map_io(struct map_desc *mach_desc, int size);
+extern void s3c2410_map_io(void);
 
 extern void s3c2410_init_uarts(struct s3c2410_uartcfg *cfg, int no);
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/s3c2412.h linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/s3c2412.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/s3c2412.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/s3c2412.h	2009-04-30 09:36:37.000000000 +0200
@@ -14,7 +14,7 @@
 
 extern  int s3c2412_init(void);
 
-extern void s3c2412_map_io(struct map_desc *mach_desc, int size);
+extern void s3c2412_map_io(void);
 
 extern void s3c2412_init_uarts(struct s3c2410_uartcfg *cfg, int no);
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/s3c2443.h linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/s3c2443.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/s3c2443.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/s3c2443.h	2009-04-30 09:36:37.000000000 +0200
@@ -16,7 +16,7 @@
 
 extern  int s3c2443_init(void);
 
-extern void s3c2443_map_io(struct map_desc *mach_desc, int size);
+extern void s3c2443_map_io(void);
 
 extern void s3c2443_init_uarts(struct s3c2410_uartcfg *cfg, int no);
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/udc.h linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/udc.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/include/plat/udc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/include/plat/udc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,36 @@
+/* arch/arm/mach-s3c2410/include/mach/udc.h
+ *
+ * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ *
+ *  Changelog:
+ *	14-Mar-2005	RTP	Created file
+ *	02-Aug-2005	RTP	File rename
+ *	07-Sep-2005	BJD	Minor cleanups, changed cmd to enum
+ *	18-Jan-2007	HMW	Add per-platform vbus_draw function
+*/
+
+#ifndef __ASM_ARM_ARCH_UDC_H
+#define __ASM_ARM_ARCH_UDC_H
+
+enum s3c2410_udc_cmd_e {
+	S3C2410_UDC_P_ENABLE	= 1,	/* Pull-up enable        */
+	S3C2410_UDC_P_DISABLE	= 2,	/* Pull-up disable       */
+	S3C2410_UDC_P_RESET	= 3,	/* UDC reset, in case of */
+};
+
+struct s3c2410_udc_mach_info {
+	void	(*udc_command)(enum s3c2410_udc_cmd_e);
+ 	void	(*vbus_draw)(unsigned int ma);
+	unsigned int vbus_pin;
+	unsigned char vbus_pin_inverted;
+};
+
+extern void __init s3c24xx_udc_set_platdata(struct s3c2410_udc_mach_info *);
+
+#endif /* __ASM_ARM_ARCH_UDC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/irq.c linux-2.6.28.6/arch/arm/plat-s3c24xx/irq.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/irq.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/irq.c	2009-04-30 09:36:37.000000000 +0200
@@ -62,6 +62,7 @@
 
 #include <asm/mach/irq.h>
 
+#include <plat/regs-irqtype.h>
 #include <mach/regs-irq.h>
 #include <mach/regs-gpio.h>
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/pm.c linux-2.6.28.6/arch/arm/plat-s3c24xx/pm.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/pm.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/pm.c	2009-04-30 09:36:37.000000000 +0200
@@ -76,11 +76,13 @@
 	SAVE_ITEM(S3C2410_BANKCON4),
 	SAVE_ITEM(S3C2410_BANKCON5),
 
+#ifndef CONFIG_CPU_FREQ
 	SAVE_ITEM(S3C2410_CLKDIVN),
 	SAVE_ITEM(S3C2410_MPLLCON),
+	SAVE_ITEM(S3C2410_REFRESH),
+#endif
 	SAVE_ITEM(S3C2410_UPLLCON),
 	SAVE_ITEM(S3C2410_CLKSLOW),
-	SAVE_ITEM(S3C2410_REFRESH),
 };
 
 static struct gpio_sleep {
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/s3c2410-clock.c linux-2.6.28.6/arch/arm/plat-s3c24xx/s3c2410-clock.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/s3c2410-clock.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/s3c2410-clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,276 @@
+/* linux/arch/arm/mach-s3c2410/clock.c
+ *
+ * Copyright (c) 2006 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C2410,S3C2440,S3C2442 Clock control support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/list.h>
+#include <linux/errno.h>
+#include <linux/err.h>
+#include <linux/sysdev.h>
+#include <linux/clk.h>
+#include <linux/mutex.h>
+#include <linux/delay.h>
+#include <linux/serial_core.h>
+#include <linux/io.h>
+
+#include <asm/mach/map.h>
+
+#include <mach/hardware.h>
+
+#include <plat/regs-serial.h>
+#include <mach/regs-clock.h>
+#include <mach/regs-gpio.h>
+
+#include <plat/s3c2410.h>
+#include <plat/clock.h>
+#include <plat/cpu.h>
+
+int s3c2410_clkcon_enable(struct clk *clk, int enable)
+{
+	unsigned int clocks = clk->ctrlbit;
+	unsigned long clkcon;
+
+	clkcon = __raw_readl(S3C2410_CLKCON);
+
+	if (enable)
+		clkcon |= clocks;
+	else
+		clkcon &= ~clocks;
+
+	/* ensure none of the special function bits set */
+	clkcon &= ~(S3C2410_CLKCON_IDLE|S3C2410_CLKCON_POWER);
+
+	__raw_writel(clkcon, S3C2410_CLKCON);
+
+	return 0;
+}
+
+static int s3c2410_upll_enable(struct clk *clk, int enable)
+{
+	unsigned long clkslow = __raw_readl(S3C2410_CLKSLOW);
+	unsigned long orig = clkslow;
+
+	if (enable)
+		clkslow &= ~S3C2410_CLKSLOW_UCLK_OFF;
+	else
+		clkslow |= S3C2410_CLKSLOW_UCLK_OFF;
+
+	__raw_writel(clkslow, S3C2410_CLKSLOW);
+
+	/* if we started the UPLL, then allow to settle */
+
+	if (enable && (orig & S3C2410_CLKSLOW_UCLK_OFF))
+		udelay(200);
+
+	return 0;
+}
+
+/* standard clock definitions */
+
+static struct clk init_clocks_disable[] = {
+	{
+		.name		= "nand",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_NAND,
+	}, {
+		.name		= "sdi",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_SDI,
+	}, {
+		.name		= "adc",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_ADC,
+	}, {
+		.name		= "i2c",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_IIC,
+	}, {
+		.name		= "iis",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_IIS,
+	}, {
+		.name		= "spi",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_SPI,
+	}
+};
+
+static struct clk init_clocks[] = {
+	{
+		.name		= "lcd",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_LCDC,
+	}, {
+		.name		= "gpio",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_GPIO,
+	}, {
+		.name		= "usb-host",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_USBH,
+	}, {
+		.name		= "usb-device",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_USBD,
+	}, {
+		.name		= "timers",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_PWMT,
+	}, {
+		.name		= "uart",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_UART0,
+	}, {
+		.name		= "uart",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_UART1,
+	}, {
+		.name		= "uart",
+		.id		= 2,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_UART2,
+	}, {
+		.name		= "rtc",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c2410_clkcon_enable,
+		.ctrlbit	= S3C2410_CLKCON_RTC,
+	}, {
+		.name		= "watchdog",
+		.id		= -1,
+		.parent		= &clk_p,
+		.ctrlbit	= 0,
+	}, {
+		.name		= "usb-bus-host",
+		.id		= -1,
+		.parent		= &clk_usb_bus,
+	}, {
+		.name		= "usb-bus-gadget",
+		.id		= -1,
+		.parent		= &clk_usb_bus,
+	},
+};
+
+/* s3c2410_baseclk_add()
+ *
+ * Add all the clocks used by the s3c2410 or compatible CPUs
+ * such as the S3C2440 and S3C2442.
+ *
+ * We cannot use a system device as we are needed before any
+ * of the init-calls that initialise the devices are actually
+ * done.
+*/
+
+int __init s3c2410_baseclk_add(void)
+{
+	unsigned long clkslow = __raw_readl(S3C2410_CLKSLOW);
+	unsigned long clkcon  = __raw_readl(S3C2410_CLKCON);
+	struct clk *clkp;
+	struct clk *xtal;
+	int ret;
+	int ptr;
+
+	clk_upll.enable = s3c2410_upll_enable;
+
+	if (s3c24xx_register_clock(&clk_usb_bus) < 0)
+		printk(KERN_ERR "failed to register usb bus clock\n");
+
+	/* register clocks from clock array */
+
+	clkp = init_clocks;
+	for (ptr = 0; ptr < ARRAY_SIZE(init_clocks); ptr++, clkp++) {
+		/* ensure that we note the clock state */
+
+		clkp->usage = clkcon & clkp->ctrlbit ? 1 : 0;
+
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+	}
+
+	/* We must be careful disabling the clocks we are not intending to
+	 * be using at boot time, as subsystems such as the LCD which do
+	 * their own DMA requests to the bus can cause the system to lockup
+	 * if they where in the middle of requesting bus access.
+	 *
+	 * Disabling the LCD clock if the LCD is active is very dangerous,
+	 * and therefore the bootloader should be careful to not enable
+	 * the LCD clock if it is not needed.
+	*/
+
+	/* install (and disable) the clocks we do not need immediately */
+
+	clkp = init_clocks_disable;
+	for (ptr = 0; ptr < ARRAY_SIZE(init_clocks_disable); ptr++, clkp++) {
+
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+
+		s3c2410_clkcon_enable(clkp, 0);
+	}
+
+	/* show the clock-slow value */
+
+	xtal = clk_get(NULL, "xtal");
+
+	printk("CLOCK: Slow mode (%ld.%ld MHz), %s, MPLL %s, UPLL %s\n",
+	       print_mhz(clk_get_rate(xtal) /
+			 ( 2 * S3C2410_CLKSLOW_GET_SLOWVAL(clkslow))),
+	       (clkslow & S3C2410_CLKSLOW_SLOW) ? "slow" : "fast",
+	       (clkslow & S3C2410_CLKSLOW_MPLL_OFF) ? "off" : "on",
+	       (clkslow & S3C2410_CLKSLOW_UCLK_OFF) ? "off" : "on");
+
+	return 0;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/s3c244x-clock.c linux-2.6.28.6/arch/arm/plat-s3c24xx/s3c244x-clock.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/s3c244x-clock.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/s3c244x-clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -31,7 +31,6 @@
 #include <linux/sysdev.h>
 #include <linux/interrupt.h>
 #include <linux/ioport.h>
-#include <linux/mutex.h>
 #include <linux/clk.h>
 #include <linux/io.h>
 
@@ -102,13 +101,13 @@
 	if (clk_get_rate(clock_upll) > (94 * MHZ)) {
 		clk_usb_bus.rate = clk_get_rate(clock_upll) / 2;
 
-		mutex_lock(&clocks_mutex);
+		spin_lock(&clocks_lock);
 
 		clkdivn = __raw_readl(S3C2410_CLKDIVN);
 		clkdivn |= S3C2440_CLKDIVN_UCLK;
 		__raw_writel(clkdivn, S3C2410_CLKDIVN);
 
-		mutex_unlock(&clocks_mutex);
+		spin_unlock(&clocks_lock);
 	}
 
 	return 0;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/s3c244x.c linux-2.6.28.6/arch/arm/plat-s3c24xx/s3c244x.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/s3c244x.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/s3c244x.c	2009-04-30 09:36:37.000000000 +0200
@@ -29,6 +29,8 @@
 #include <mach/hardware.h>
 #include <asm/irq.h>
 
+#include <plat/cpu-freq.h>
+
 #include <mach/regs-clock.h>
 #include <plat/regs-serial.h>
 #include <mach/regs-gpio.h>
@@ -42,6 +44,7 @@
 #include <plat/devs.h>
 #include <plat/cpu.h>
 #include <plat/pm.h>
+#include <plat/pll.h>
 
 static struct map_desc s3c244x_iodesc[] __initdata = {
 	IODESC_ENT(CLKPWR),
@@ -56,32 +59,34 @@
 	s3c24xx_init_uartdevs("s3c2440-uart", s3c2410_uart_resources, cfg, no);
 }
 
-void __init s3c244x_map_io(struct map_desc *mach_desc, int size)
+void __init s3c244x_map_io(void)
 {
 	/* register our io-tables */
 
 	iotable_init(s3c244x_iodesc, ARRAY_SIZE(s3c244x_iodesc));
-	iotable_init(mach_desc, size);
 
 	/* rename any peripherals used differing from the s3c2410 */
 
 	s3c_device_sdi.name  = "s3c2440-sdi";
-	s3c_device_i2c.name  = "s3c2440-i2c";
+	s3c_device_i2c0.name  = "s3c2440-i2c";
 	s3c_device_nand.name = "s3c2440-nand";
 	s3c_device_usbgadget.name = "s3c2440-usbgadget";
 }
 
-void __init s3c244x_init_clocks(int xtal)
+void __init_or_cpufreq s3c244x_setup_clocks(void)
 {
+	struct clk *xtal_clk;
 	unsigned long clkdiv;
 	unsigned long camdiv;
+	unsigned long xtal;
 	unsigned long hclk, fclk, pclk;
 	int hdiv = 1;
 
-	/* now we've got our machine bits initialised, work out what
-	 * clocks we've got */
+	xtal_clk = clk_get(NULL, "xtal");
+	xtal = clk_get_rate(xtal_clk);
+	clk_put(xtal_clk);
 
-	fclk = s3c2410_get_pll(__raw_readl(S3C2410_MPLLCON), xtal) * 2;
+	fclk = s3c24xx_get_pll(__raw_readl(S3C2410_MPLLCON), xtal) * 2;
 
 	clkdiv = __raw_readl(S3C2410_CLKDIVN);
 	camdiv = __raw_readl(S3C2440_CAMDIVN);
@@ -107,18 +112,24 @@
 	}
 
 	hclk = fclk / hdiv;
-	pclk = hclk / ((clkdiv & S3C2440_CLKDIVN_PDIVN)? 2:1);
+	pclk = hclk / ((clkdiv & S3C2440_CLKDIVN_PDIVN) ? 2 : 1);
 
 	/* print brief summary of clocks, etc */
 
 	printk("S3C244X: core %ld.%03ld MHz, memory %ld.%03ld MHz, peripheral %ld.%03ld MHz\n",
 	       print_mhz(fclk), print_mhz(hclk), print_mhz(pclk));
 
+	s3c24xx_setup_clocks(fclk, hclk, pclk);
+}
+
+void __init s3c244x_init_clocks(int xtal)
+{
 	/* initialise the clocks here, to allow other things like the
 	 * console to use them, and to add new ones after the initialisation
 	 */
 
-	s3c24xx_setup_clocks(xtal, fclk, hclk, pclk);
+	s3c24xx_register_baseclocks(xtal);
+	s3c244x_setup_clocks();
 	s3c2410_baseclk_add();
 }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/s3c244x.h linux-2.6.28.6/arch/arm/plat-s3c24xx/s3c244x.h
--- linux-2.6.28/arch/arm/plat-s3c24xx/s3c244x.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/s3c244x.h	2009-04-30 09:36:37.000000000 +0200
@@ -12,7 +12,7 @@
 
 #if defined(CONFIG_CPU_S3C2440) || defined(CONFIG_CPU_S3C2442)
 
-extern void s3c244x_map_io(struct map_desc *mach_desc, int size);
+extern void s3c244x_map_io(void);
 
 extern void s3c244x_init_uarts(struct s3c2410_uartcfg *cfg, int no);
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/setup-i2c.c linux-2.6.28.6/arch/arm/plat-s3c24xx/setup-i2c.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/setup-i2c.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/setup-i2c.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,25 @@
+/* linux/arch/arm/plat-s3c24xx/setup-i2c.c
+ *
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24XX Base setup for i2c device
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+
+struct platform_device;
+
+#include <plat/iic.h>
+#include <mach/hardware.h>
+#include <mach/regs-gpio.h>
+
+void s3c_i2c0_cfg_gpio(struct platform_device *dev)
+{
+	s3c2410_gpio_cfgpin(S3C2410_GPE15, S3C2410_GPE15_IICSDA);
+	s3c2410_gpio_cfgpin(S3C2410_GPE14, S3C2410_GPE14_IICSCL);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c linux-2.6.28.6/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,37 @@
+/* linux/arch/arm/plat-s3c24xx/spi-bus0-gpe11_12_13.c
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24XX SPI - gpio configuration for bus 0 on gpe11,12,13
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License.
+*/
+
+#include <linux/kernel.h>
+
+#include <mach/hardware.h>
+
+#include <mach/spi.h>
+#include <mach/regs-gpio.h>
+
+void s3c24xx_spi_gpiocfg_bus0_gpe11_12_13(struct s3c2410_spi_info *spi,
+					  int enable)
+{
+	if (enable) {
+		s3c2410_gpio_cfgpin(S3C2410_GPE13, S3C2410_GPE13_SPICLK0);
+		s3c2410_gpio_cfgpin(S3C2410_GPE12, S3C2410_GPE12_SPIMOSI0);
+		s3c2410_gpio_cfgpin(S3C2410_GPE11, S3C2410_GPE11_SPIMISO0);
+		s3c2410_gpio_pullup(S3C2410_GPE11, 0);
+		s3c2410_gpio_pullup(S3C2410_GPE13, 0);
+	} else {
+		s3c2410_gpio_cfgpin(S3C2410_GPE13, S3C2410_GPIO_INPUT);
+		s3c2410_gpio_cfgpin(S3C2410_GPE11, S3C2410_GPIO_INPUT);
+		s3c2410_gpio_pullup(S3C2410_GPE11, 1);
+		s3c2410_gpio_pullup(S3C2410_GPE12, 1);
+		s3c2410_gpio_pullup(S3C2410_GPE13, 1);
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c linux-2.6.28.6/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c
--- linux-2.6.28/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c24xx/spi-bus1-gpg5_6_7.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,37 @@
+/* linux/arch/arm/plat-s3c24xx/spi-bus0-gpg5_6_7.c
+ *
+ * Copyright (c) 2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24XX SPI - gpio configuration for bus 1 on gpg5,6,7
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License.
+*/
+
+#include <linux/kernel.h>
+
+#include <mach/hardware.h>
+
+#include <mach/spi.h>
+#include <mach/regs-gpio.h>
+
+void s3c24xx_spi_gpiocfg_bus1_gpg5_6_7(struct s3c2410_spi_info *spi,
+				       int enable)
+{
+	if (enable) {
+		s3c2410_gpio_cfgpin(S3C2410_GPG7, S3C2410_GPG7_SPICLK1);
+		s3c2410_gpio_cfgpin(S3C2410_GPG6, S3C2410_GPG6_SPIMOSI1);
+		s3c2410_gpio_cfgpin(S3C2410_GPG5, S3C2410_GPG5_SPIMISO1);
+		s3c2410_gpio_pullup(S3C2410_GPG5, 0);
+		s3c2410_gpio_pullup(S3C2410_GPG6, 0);
+	} else {
+		s3c2410_gpio_cfgpin(S3C2410_GPG7, S3C2410_GPIO_INPUT);
+		s3c2410_gpio_cfgpin(S3C2410_GPG5, S3C2410_GPIO_INPUT);
+		s3c2410_gpio_pullup(S3C2410_GPG5, 1);
+		s3c2410_gpio_pullup(S3C2410_GPG6, 1);
+		s3c2410_gpio_pullup(S3C2410_GPG7, 1);
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/Kconfig linux-2.6.28.6/arch/arm/plat-s3c64xx/Kconfig
--- linux-2.6.28/arch/arm/plat-s3c64xx/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,107 @@
+# arch/arm/plat-s3c64xx/Kconfig
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#	Ben Dooks <ben@simtec.co.uk>
+#
+# Licensed under GPLv2
+
+config PLAT_S3C64XX
+	bool
+	depends on ARCH_S3C64XX
+	select PLAT_S3C
+	select ARM_VIC
+	default y
+	select NO_IOPORT
+	select ARCH_REQUIRE_GPIOLIB
+	select S3C_GPIO_TRACK
+	select S3C_GPIO_PULL_UPDOWN
+	select S3C_GPIO_CFG_S3C24XX
+	select S3C_GPIO_CFG_S3C64XX
+	select DMABOUNCE
+	help
+	  Base platform code for any Samsung S3C64XX device
+
+if PLAT_S3C64XX
+
+# Configuration options shared by all S3C64XX implementations
+
+config CPU_S3C6400_INIT
+	bool
+	help
+	  Common initialisation code for the S3C6400 that is shared
+	  by other CPUs in the series, such as the S3C6410.
+
+config CPU_S3C6400_CLOCK
+	bool
+	help
+	  Common clock support code for the S3C6400 that is shared
+	  by other CPUs in the series, such as the S3C6410.
+
+# platform specific device setup
+
+config S3C64XX_SETUP_I2C0
+	bool
+	default y
+	help
+	  Common setup code for i2c bus 0.
+
+	  Note, currently since i2c0 is always compiled, this setup helper
+	  is always compiled with it.
+
+config S3C64XX_SETUP_I2C1
+	bool
+	help
+	  Common setup code for i2c bus 1.
+
+config S3C64XX_ADC
+	bool "S3C64XX ADC D/D support"
+	help
+	 Analog to Digital conversion(ADC) D/D for S3C64XX support   
+
+config S3C64XX_DEV_FIMC0
+	bool
+	default y
+	help
+	  Compile in platform device definitions for FIMC controller 0
+
+config S3C64XX_DEV_FIMC1
+	bool
+	default y
+	help
+	  Compile in platform device definitions for FIMC controller 1
+
+config S3C64XX_SETUP_FIMC0
+	bool
+	default y
+	help
+	  Common setup code for FIMC controller 0
+
+config S3C64XX_SETUP_FIMC1
+	bool
+	default y
+	help
+	  Common setup code for FIMC controller 1
+
+choice
+	prompt "PWM device support"
+	default NONE_PWM
+
+config S3C6410_PWM
+	bool "Support Old API"
+	help
+	  Support for exporting the PWM timer blocks via old type API
+
+config HAVE_PWM
+	bool "PWM device support"
+	help
+	   Support for exporting the PWM timer blocks via the pwm device
+
+config NONE_PWM
+	bool "No PWM support"
+	help
+	   PWM is not supported 
+
+endchoice
+
+endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/Makefile linux-2.6.28.6/arch/arm/plat-s3c64xx/Makefile
--- linux-2.6.28/arch/arm/plat-s3c64xx/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,43 @@
+# arch/arm/plat-s3c64xx/Makefile
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
+
+obj-y				:=
+obj-m				:=
+obj-n				:= dummy.o
+obj-				:=
+
+# Core files
+
+obj-y				+= dev-uart.o devs.o
+obj-y				+= cpu.o
+obj-y				+= irq.o
+obj-y				+= irq-eint.o
+obj-y				+= irq-eint-group.o
+obj-y				+= clock.o
+obj-y				+= gpiolib.o
+obj-y				+= bootmem.o
+
+# CPU support
+
+obj-$(CONFIG_CPU_S3C6400_INIT)	+= s3c6400-init.o
+obj-$(CONFIG_CPU_S3C6400_CLOCK)	+= s3c6400-clock.o
+obj-$(CONFIG_CPU_FREQ)		+= s3c64xx-cpufreq.o ltc3714.o
+obj-$(CONFIG_PM)                += pm.o
+obj-$(CONFIG_PM)                += sleep.o
+
+# Device setup
+
+obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0.o
+obj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1.o
+obj-$(CONFIG_S3C64XX_ADC) 	 += adc.o
+
+obj-$(CONFIG_S3C64XX_DEV_FIMC0)   += dev-fimc0.o
+obj-$(CONFIG_S3C64XX_DEV_FIMC1)   += dev-fimc1.o
+obj-$(CONFIG_S3C64XX_SETUP_FIMC0) += setup-fimc0.o
+obj-$(CONFIG_S3C64XX_SETUP_FIMC1) += setup-fimc1.o
+obj-$(CONFIG_HAVE_PWM)		  += pwm.o
+obj-$(CONFIG_S3C6410_PWM)	  += pwm-s3c6410.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/adc.c linux-2.6.28.6/arch/arm/plat-s3c64xx/adc.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/adc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/adc.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,370 @@
+/* linux/arch/arm/plat-s3c64xx/adc.c
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Copyright (c) 2004 Arnaud Patard <arnaud.patard@rtp-net.org>
+ * iPAQ H1940 touchscreen support
+ *
+ * ChangeLog
+ *
+ * 2004-09-05: Herbert Pötzl <herbert@13thfloor.at>
+ *	- added clock (de-)allocation code
+ *
+ * 2005-03-06: Arnaud Patard <arnaud.patard@rtp-net.org>
+ *      - h1940_ -> s3c24xx (this driver is now also used on the n30
+ *        machines :P)
+ *      - Debug messages are now enabled with the config option
+ *        TOUCHSCREEN_S3C_DEBUG
+ *      - Changed the way the value are read
+ *      - Input subsystem should now work
+ *      - Use ioremap and readl/writel
+ *
+ * 2005-03-23: Arnaud Patard <arnaud.patard@rtp-net.org>
+ *      - Make use of some undocumented features of the touchscreen
+ *        controller
+ *
+ */
+
+
+#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/input.h>
+#include <linux/init.h>
+#include <linux/serio.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/miscdevice.h>
+#include <linux/clk.h>
+#include <linux/mutex.h>
+
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <mach/hardware.h>
+#include <asm/uaccess.h>
+
+#include <plat/regs-adc.h>
+#include <plat/adc.h>
+#include <mach/irqs.h>
+
+#define ADC_MINOR 	131
+#define ADC_INPUT_PIN   _IOW('S', 0x0c, unsigned long)
+
+#define ADC_WITH_TOUCHSCREEN
+
+static struct clk	*adc_clock;
+
+static void __iomem 	*base_addr;
+static int adc_port =  0;
+struct s3c_adc_mach_info *plat_data;
+
+
+#ifdef ADC_WITH_TOUCHSCREEN
+static DEFINE_MUTEX(adc_mutex);
+
+static unsigned long data_for_ADCCON;
+static unsigned long data_for_ADCTSC;
+
+static void s3c_adc_save_SFR_on_ADC(void)
+{
+	data_for_ADCCON = readl(base_addr + S3C_ADCCON);
+	data_for_ADCTSC = readl(base_addr + S3C_ADCTSC);
+}
+
+static void s3c_adc_restore_SFR_on_ADC(void)
+{
+	writel(data_for_ADCCON, base_addr + S3C_ADCCON);
+	writel(data_for_ADCTSC, base_addr + S3C_ADCTSC);
+}
+#else
+static struct resource	*adc_mem;
+#endif
+
+static int s3c_adc_open(struct inode *inode, struct file *file)
+{
+	printk(KERN_INFO " s3c_adc_open() entered\n");
+	return 0;
+}
+
+unsigned int s3c_adc_convert(void)
+{
+	unsigned int adc_return = 0;
+	unsigned long data0;
+	unsigned long data1;
+
+	writel(readl(base_addr + S3C_ADCCON) | S3C_ADCCON_SELMUX(adc_port), base_addr + S3C_ADCCON);
+
+	udelay(10);
+
+	writel(readl(base_addr + S3C_ADCCON) | S3C_ADCCON_ENABLE_START, base_addr + S3C_ADCCON);
+
+	do {
+		data0 = readl(base_addr + S3C_ADCCON);
+	} while(!(data0 & S3C_ADCCON_ECFLG));
+
+	data1 = readl(base_addr + S3C_ADCDAT0);
+
+	if (plat_data->resolution == 12)
+		adc_return = data1 & S3C_ADCDAT0_XPDATA_MASK_12BIT;
+	else
+		adc_return = data1 & S3C_ADCDAT0_XPDATA_MASK;
+
+	return adc_return;
+}
+
+
+int s3c_adc_get(struct s3c_adc_request *req)
+{
+	unsigned adc_channel = req->channel;
+	int adc_value_ret = 0;
+
+	adc_value_ret = s3c_adc_convert();
+
+	req->callback(adc_channel,req->param, adc_value_ret);
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c_adc_get);
+
+
+static ssize_t
+s3c_adc_read(struct file *file, char __user * buffer,
+		size_t size, loff_t * pos)
+{
+	int  adc_value = 0;
+
+	printk(KERN_INFO " s3c_adc_read() entered\n");
+
+#ifdef ADC_WITH_TOUCHSCREEN
+        mutex_lock(&adc_mutex);
+	s3c_adc_save_SFR_on_ADC();
+#endif
+
+	adc_value = s3c_adc_convert();
+
+#ifdef ADC_WITH_TOUCHSCREEN
+	s3c_adc_restore_SFR_on_ADC();
+	mutex_unlock(&adc_mutex);
+#endif
+
+	printk(KERN_INFO " Converted Value: %03d\n", adc_value);
+
+	if (copy_to_user(buffer, &adc_value, sizeof(unsigned int))) {
+		return -EFAULT;
+	}
+	return sizeof(unsigned int);
+}
+
+
+static int s3c_adc_ioctl(struct inode *inode, struct file *file,
+	unsigned int cmd, unsigned long arg)
+{
+
+       printk(KERN_INFO " s3c_adc_ioctl(cmd:: %d) entered\n", cmd);
+
+	switch (cmd) {
+		case ADC_INPUT_PIN:
+			adc_port = (unsigned int) arg;
+
+			if (adc_port >= 4)
+				printk(" %d is already reserved for TouchScreen\n", adc_port);
+			return 0;
+
+              default:
+			return -ENOIOCTLCMD;
+	}
+}
+
+static struct file_operations s3c_adc_fops = {
+	.owner		= THIS_MODULE,
+	.read		= s3c_adc_read,
+	.open		= s3c_adc_open,
+	.ioctl		= s3c_adc_ioctl,
+};
+
+static struct miscdevice s3c_adc_miscdev = {
+	.minor		= ADC_MINOR,
+	.name		= "adc",
+	.fops		= &s3c_adc_fops,
+};
+
+static struct s3c_adc_mach_info *s3c_adc_get_platdata(struct device *dev)
+{
+	if(dev->platform_data != NULL)
+	{
+		return (struct s3c_adc_mach_info*) dev->platform_data;
+	} else {
+		printk(KERN_INFO "No ADC platform data \n");
+		return 0;
+	}
+}
+
+/*
+ * The functions for inserting/removing us as a module.
+ */
+
+static int __init s3c_adc_probe(struct platform_device *pdev)
+{
+	struct resource	*res;
+	struct device *dev;
+	int ret;
+	int size;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	dev = &pdev->dev;
+
+	if(res == NULL){
+		dev_err(dev,"no memory resource specified\n");
+		return -ENOENT;
+	}
+
+	size = (res->end - res->start) + 1;
+
+#if !defined(ADC_WITH_TOUCHSCREEN)
+	adc_mem = request_mem_region(res->start, size, pdev->name);
+	if(adc_mem == NULL){
+		dev_err(dev, "failed to get memory region\n");
+		ret = -ENOENT;
+		goto err_req;
+	}
+#endif
+
+	base_addr = ioremap(res->start, size);
+	if(base_addr ==  NULL){
+		dev_err(dev,"fail to ioremap() region\n");
+		ret = -ENOENT;
+		goto err_map;
+	}
+
+	adc_clock = clk_get(&pdev->dev, "adc");
+
+	if(IS_ERR(adc_clock)){
+		dev_err(dev,"failed to fine ADC clock source\n");
+		ret = PTR_ERR(adc_clock);
+		goto err_clk;
+	}
+
+	clk_enable(adc_clock);
+
+	/* read platform data from device struct */
+	plat_data = s3c_adc_get_platdata(&pdev->dev);
+
+	if ((plat_data->presc & 0xff) > 0)
+		writel(S3C_ADCCON_PRSCEN | S3C_ADCCON_PRSCVL(plat_data->presc & 0xff), base_addr + S3C_ADCCON);
+	else
+		writel(0, base_addr + S3C_ADCCON);
+
+	/* Initialise registers */
+	if ((plat_data->delay & 0xffff) > 0)
+		writel(plat_data->delay & 0xffff, base_addr + S3C_ADCDLY);
+
+	if (plat_data->resolution == 12)
+		writel(readl(base_addr + S3C_ADCCON) | S3C_ADCCON_RESSEL_12BIT, base_addr + S3C_ADCCON);
+
+	ret = misc_register(&s3c_adc_miscdev);
+	if (ret) {
+		printk (KERN_ERR "cannot register miscdev on minor=%d (%d)\n",
+			ADC_MINOR, ret);
+		goto err_clk;
+	}
+
+	printk(KERN_INFO "S5P64XX ADC driver successfully probed\n");
+
+	return 0;
+
+err_clk:
+	clk_disable(adc_clock);
+	clk_put(adc_clock);
+
+err_map:
+	iounmap(base_addr);
+
+#if !defined(ADC_WITH_TOUCHSCREEN)
+err_req:
+	release_resource(adc_mem);
+	kfree(adc_mem);
+#endif
+
+	return ret;
+}
+
+
+static int s3c_adc_remove(struct platform_device *dev)
+{
+	printk(KERN_INFO "s3c_adc_remove() of ADC called !\n");
+	return 0;
+}
+
+#ifdef CONFIG_PM
+static unsigned int adccon, adctsc, adcdly;
+
+static int s3c_adc_suspend(struct platform_device *dev, pm_message_t state)
+{
+	adccon = readl(base_addr + S3C_ADCCON);
+	adctsc = readl(base_addr + S3C_ADCTSC);
+	adcdly = readl(base_addr + S3C_ADCDLY);
+
+	clk_disable(adc_clock);
+
+	return 0;
+}
+
+static int s3c_adc_resume(struct platform_device *pdev)
+{
+	clk_enable(adc_clock);
+
+	writel(adccon, base_addr + S3C_ADCCON);
+	writel(adctsc, base_addr + S3C_ADCTSC);
+	writel(adcdly, base_addr + S3C_ADCDLY);
+
+	return 0;
+}
+#else
+#define s3c_adc_suspend NULL
+#define s3c_adc_resume  NULL
+#endif
+
+static struct platform_driver s3c_adc_driver = {
+       .probe          = s3c_adc_probe,
+       .remove         = s3c_adc_remove,
+       .suspend        = s3c_adc_suspend,
+       .resume         = s3c_adc_resume,
+       .driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-adc",
+	},
+};
+
+static char banner[] __initdata = KERN_INFO "S3C64XX ADC driver, (c) 2008 Samsung Electronics\n";
+
+int __init s3c_adc_init(void)
+{
+	printk(banner);
+	return platform_driver_register(&s3c_adc_driver);
+}
+
+void __exit s3c_adc_exit(void)
+{
+	platform_driver_unregister(&s3c_adc_driver);
+}
+
+module_init(s3c_adc_init);
+module_exit(s3c_adc_exit);
+
+MODULE_AUTHOR("boyko.lee@samsung.com");
+MODULE_DESCRIPTION("S3C64XX ADC driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/bootmem.c linux-2.6.28.6/arch/arm/plat-s3c64xx/bootmem.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/bootmem.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/bootmem.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,175 @@
+/* linux/arch/arm/plat-s5pc1xx/bootmem.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Bootmem helper functions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/mm.h>
+#include <linux/bootmem.h>
+#include <linux/swap.h>
+#include <asm/setup.h>
+#include <asm/io.h>
+#include <mach/memory.h>
+
+#include "plat/media.h"
+
+static struct s3c_media_device s3c_mdevs[S3C_MDEV_MAX] = {
+	{
+		.id = S3C_MDEV_FIMC,
+		.name = "fimc",
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC * SZ_1K,
+#else
+		.memsize = 0,
+#endif
+		.paddr = 0,
+	},
+
+	{
+		.id = S3C_MDEV_POST,
+		.name = "pp",
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST * SZ_1K,
+#else
+		.memsize = 0,
+#endif
+		.paddr = 0,
+	},
+
+	{
+		.id = S3C_MDEV_TV,
+		.name = "tv",
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV * SZ_1K,
+#else
+		.memsize = 0,
+#endif
+		.paddr = 0,
+	},
+
+	{
+		.id = S3C_MDEV_MFC,
+		.name = "mfc",
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC * SZ_1K,
+#else
+		.memsize = 0,
+#endif
+		.paddr = 0,
+	},
+
+	{
+		.id = S3C_MDEV_JPEG,
+		.name = "jpeg",
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG * SZ_1K,
+#else
+		.memsize = 0,
+#endif
+		.paddr = 0,
+	},
+
+	{
+		.id = S3C_MDEV_CMM,
+		.name = "cmm",
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM * SZ_1K,
+#else
+		.memsize = 0,
+#endif
+		.paddr = 0,
+	}
+};
+
+static struct s3c_media_device *s3c_get_media_device(int dev_id)
+{
+	struct s3c_media_device *mdev = NULL;
+	int i, found;
+
+	if (dev_id < 0 || dev_id >= S3C_MDEV_MAX)
+		return NULL;
+
+	i = 0;
+	found = 0;
+	while (!found && (i < S3C_MDEV_MAX)) {
+		mdev = &s3c_mdevs[i];
+		if (mdev->id == dev_id)
+			found = 1;
+		else
+			i++;
+	}
+
+	if (!found)
+		mdev = NULL;
+
+	return mdev;
+}
+
+dma_addr_t s3c_get_media_memory(int dev_id)
+{
+	struct s3c_media_device *mdev;
+
+	mdev = s3c_get_media_device(dev_id);
+	if (!mdev){
+		printk(KERN_ERR "invalid media device\n");
+		return 0;
+	}
+
+	if (!mdev->paddr) {
+		printk(KERN_ERR "no memory for %s\n", mdev->name);
+		return 0;
+	}
+
+	return mdev->paddr;
+}
+
+size_t s3c_get_media_memsize(int dev_id)
+{
+	struct s3c_media_device *mdev;
+
+	mdev = s3c_get_media_device(dev_id);
+	if (!mdev){
+		printk(KERN_ERR "invalid media device\n");
+		return 0;
+	}
+
+	return mdev->memsize;
+}
+
+void s3c64xx_reserve_bootmem(void)
+{
+	struct s3c_media_device *mdev;
+	int i;
+
+	for(i = 0; i < sizeof(s3c_mdevs) / sizeof(s3c_mdevs[0]); i++) {
+		mdev = &s3c_mdevs[i];
+		if (mdev->memsize > 0) {
+			mdev->paddr = virt_to_phys(alloc_bootmem_low(mdev->memsize));
+			printk(KERN_INFO \
+				"s3c64xx: %lu bytes SDRAM reserved "
+				"for %s at 0x%08x\n",
+				(unsigned long) mdev->memsize, \
+				mdev->name, mdev->paddr);
+		}
+	}
+}
+
+/* FIXME: temporary implementation to avoid compile error */
+int dma_needs_bounce(struct device *dev, dma_addr_t addr, size_t size)
+{
+	return 0;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/clock.c linux-2.6.28.6/arch/arm/plat-s3c64xx/clock.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/clock.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,464 @@
+/* linux/arch/arm/plat-s3c64xx/clock.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX Base clock support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/interrupt.h>
+#include <linux/ioport.h>
+#include <linux/delay.h>
+#include <linux/io.h>
+#include <linux/clk.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/regs-clock.h>
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/clock.h>
+
+/* definition for cpu freq */
+
+#define ARM_PLL_CON 	S3C_APLL_CON
+#define ARM_CLK_DIV	S3C_CLK_DIV0
+
+#define ARM_DIV_RATIO_BIT		0
+#define ARM_DIV_MASK			(0xf<<ARM_DIV_RATIO_BIT)
+#define HCLK_DIV_RATIO_BIT		9
+#define HCLK_DIV_MASK			(0x7<<HCLK_DIV_RATIO_BIT)
+
+#define READ_ARM_DIV    		((__raw_readl(ARM_CLK_DIV)&ARM_DIV_MASK) + 1)
+#define PLL_CALC_VAL(MDIV,PDIV,SDIV)	((1<<31)|(MDIV)<<16 |(PDIV)<<8 |(SDIV))
+#define GET_ARM_CLOCK(baseclk)		s3c6400_get_pll(__raw_readl(S3C_APLL_CON),baseclk)
+
+#define INIT_XTAL			12 * MHZ
+
+static const u32 s3c_cpu_clock_table[][6] = {
+	{532*MHZ, 266, 3, 1, 0, 0},
+	{266*MHZ, 266, 3, 1, 0, 1},
+	{133*MHZ, 266, 3, 1, 0, 3},
+};
+
+struct clk clk_27m = {
+	.name		= "clk_27m",
+	.id		= -1,
+	.rate		= 27000000,
+};
+
+static int clk_48m_ctrl(struct clk *clk, int enable)
+{
+	unsigned long flags;
+	u32 val;
+
+	/* can't rely on clock lock, this register has other usages */
+	local_irq_save(flags);
+
+	val = __raw_readl(S3C_OTHERS);
+	if (enable)
+		val |= S3C_OTHERS_USB_SIG_MASK;
+	else
+		val &= ~S3C_OTHERS_USB_SIG_MASK;
+
+	__raw_writel(val, S3C_OTHERS);
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+struct clk clk_48m = {
+	.name		= "clk_48m",
+	.id		= -1,
+	.rate		= 48000000,
+	.enable		= clk_48m_ctrl,
+};
+
+unsigned long s3c_fclk_get_rate(void)
+{
+	unsigned long apll_con;
+	unsigned long clk_div0_tmp;
+	unsigned long m = 0;
+	unsigned long p = 0;
+	unsigned long s = 0;
+	unsigned long ret;
+
+	apll_con = __raw_readl(S3C_APLL_CON);
+	clk_div0_tmp = __raw_readl(S3C_CLK_DIV0) & 0xf;
+
+	m = (apll_con >> 16) & 0x3ff;
+	p = (apll_con >> 8) & 0x3f;
+	s = apll_con & 0x3;
+
+	ret = (m * (INIT_XTAL / (p * (1 << s))));
+
+	return (ret / (clk_div0_tmp + 1));
+}
+
+unsigned long s3c_fclk_round_rate(struct clk *clk, unsigned long rate)
+{
+	u32 iter;
+
+	for(iter = 1 ; iter < ARRAY_SIZE(s3c_cpu_clock_table) ; iter++){
+		if(rate > s3c_cpu_clock_table[iter][0])
+			return s3c_cpu_clock_table[iter-1][0];
+	}
+
+	return s3c_cpu_clock_table[ARRAY_SIZE(s3c_cpu_clock_table) - 1][0];
+}
+
+int s3c_fclk_set_rate(struct clk *clk, unsigned long rate)
+{
+	u32 round_tmp;
+	u32 iter;
+	u32 clk_div0_tmp;
+
+	round_tmp = s3c_fclk_round_rate(clk,rate);
+
+	if(round_tmp == (int)s3c_fclk_get_rate())
+		return 0;
+
+
+	for (iter = 0 ; iter < ARRAY_SIZE(s3c_cpu_clock_table) ; iter++){
+		if(round_tmp == s3c_cpu_clock_table[iter][0])
+			break;
+	}
+
+	if(iter >= ARRAY_SIZE(s3c_cpu_clock_table))
+		iter = ARRAY_SIZE(s3c_cpu_clock_table) - 1;
+
+	clk_div0_tmp = __raw_readl(ARM_CLK_DIV) & ~(ARM_DIV_MASK);
+	clk_div0_tmp |= s3c_cpu_clock_table[iter][5];
+
+	__raw_writel(clk_div0_tmp, ARM_CLK_DIV);
+
+	clk->rate = s3c_cpu_clock_table[iter][0];
+
+	return 0;
+}
+
+static int s3c64xx_setrate_sclk_cam(struct clk *clk, unsigned long rate)
+{
+	u32 shift = 20;
+	u32 cam_div, cfg;
+	unsigned long src_clk = clk_get_rate(clk->parent);
+
+	cam_div = src_clk / rate;
+
+	if (cam_div > 32)
+		cam_div = 32;
+
+	cfg = __raw_readl(S3C_CLK_DIV0);
+	cfg &= ~(0xf << shift);
+	cfg |= ((cam_div - 1) << shift);
+	__raw_writel(cfg, S3C_CLK_DIV0);
+
+	printk("parent clock for camera: %ld.%03ld MHz, divisor: %d\n", \
+		print_mhz(src_clk), cam_div);
+
+	return 0;
+}
+
+struct clk clk_cpu = {
+	.name		= "clk_cpu",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= &clk_mpll,
+	.ctrlbit	= 0,
+	.set_rate	= s3c_fclk_set_rate,
+	.round_rate	= s3c_fclk_round_rate,
+};
+
+static int inline s3c64xx_gate(void __iomem *reg,
+				struct clk *clk,
+				int enable)
+{
+	unsigned int ctrlbit = clk->ctrlbit;
+	u32 con;
+
+	con = __raw_readl(reg);
+
+	if (enable)
+		con |= ctrlbit;
+	else
+		con &= ~ctrlbit;
+
+	__raw_writel(con, reg);
+	return 0;
+}
+
+static int s3c64xx_pclk_ctrl(struct clk *clk, int enable)
+{
+	return s3c64xx_gate(S3C_PCLK_GATE, clk, enable);
+}
+
+static int s3c64xx_hclk_ctrl(struct clk *clk, int enable)
+{
+	return s3c64xx_gate(S3C_HCLK_GATE, clk, enable);
+}
+
+int s3c64xx_sclk_ctrl(struct clk *clk, int enable)
+{
+	return s3c64xx_gate(S3C_SCLK_GATE, clk, enable);
+}
+
+static struct clk init_clocks_disable[] = {
+	{
+		.name		= "nand",
+		.id		= -1,
+		.parent		= &clk_h,
+	}, {
+		.name		= "adc",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_TSADC,
+	}, {
+		.name		= "keypad",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_KEYPAD,
+	}, {
+		.name		= "i2c",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_IIC,
+	}, {
+		.name		= "iis",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_IIS0,
+	}, {
+		.name		= "iis",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_IIS1,
+	}, {
+		.name		= "iis_v40",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C6410_CLKCON_PCLK_IIS2,
+	}, {
+		.name		= "spi",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_SPI0,
+	}, {
+		.name		= "spi",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_SPI1,
+	}, {
+		.name		= "48m",
+		.id		= 0,
+		.parent		= &clk_48m,
+		.enable		= s3c64xx_sclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_SCLK_MMC0_48,
+	}, {
+		.name		= "48m",
+		.id		= 1,
+		.parent		= &clk_48m,
+		.enable		= s3c64xx_sclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_SCLK_MMC1_48,
+	}, {
+		.name		= "48m",
+		.id		= 2,
+		.parent		= &clk_48m,
+		.enable		= s3c64xx_sclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_SCLK_MMC2_48,
+	}, {
+		.name    	= "otg",
+		.id	   	= -1,
+		.parent  	= &clk_h,
+		.enable  	= s3c64xx_hclk_ctrl,
+		.ctrlbit 	= S3C_CLKCON_HCLK_USB
+	},
+
+};
+
+static struct clk init_clocks[] = {
+	{
+		.name		= "lcd",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s3c64xx_hclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_HCLK_LCD,
+	}, {
+		.name		= "gpio",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_GPIO,
+	}, {
+		.name		= "usb-host",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s3c64xx_hclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_SCLK_UHOST,
+	}, {
+		.name		= "hsmmc",
+		.id		= 0,
+		.parent		= &clk_h,
+		.enable		= s3c64xx_hclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_HCLK_HSMMC0,
+	}, {
+		.name		= "hsmmc",
+		.id		= 1,
+		.parent		= &clk_h,
+		.enable		= s3c64xx_hclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_HCLK_HSMMC1,
+	}, {
+		.name		= "hsmmc",
+		.id		= 2,
+		.parent		= &clk_h,
+		.enable		= s3c64xx_hclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_HCLK_HSMMC2,
+	}, {
+		.name		= "timers",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_PWM,
+	}, {
+		.name		= "uart",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_UART0,
+	}, {
+		.name		= "uart",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_UART1,
+	}, {
+		.name		= "uart",
+		.id		= 2,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_UART2,
+	}, {
+		.name		= "uart",
+		.id		= 3,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_UART3,
+	}, {
+		.name		= "rtc",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s3c64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_RTC,
+	}, {
+		.name		= "watchdog",
+		.id		= -1,
+		.parent		= &clk_p,
+		.ctrlbit	= S3C_CLKCON_PCLK_WDT,
+	}, {
+		.name		= "ac97",
+		.id		= -1,
+		.parent		= &clk_p,
+		.ctrlbit	= S3C_CLKCON_PCLK_AC97,
+	}, {
+		.name		= "fimc",
+		.id		= -1,
+		.parent		= &clk_h,
+		.ctrlbit	= S3C_CLKCON_HCLK_CAMIF,
+	}, { 
+		.name         = "hclk_mfc",
+          	.id           = -1,
+          	.parent       = &clk_h,
+          	.enable       = s3c64xx_hclk_ctrl,
+          	.ctrlbit      = S3C_CLKCON_HCLK_MFC,
+        }, { 
+		.name         = "sclk_mfc",
+          	.id           = -1,
+          	.parent       = &clk_hx2,
+          	.enable       = s3c64xx_sclk_ctrl,
+          	.ctrlbit      = S3C_CLKCON_SCLK_MFC,
+          	.usage        = 0,
+          	.rate         = 48*1000*1000,
+        }, { 
+		.name         = "pclk_mfc",
+          	.id           = -1,
+          	.parent       = &clk_p,
+          	.enable       = s3c64xx_pclk_ctrl,
+          	.ctrlbit      = S3C_CLKCON_PCLK_MFC,
+
+	}, { 
+		.name         = "hclk_jpeg",
+          	.id           = -1,
+          	.parent       = &clk_h,
+          	.enable       = s3c64xx_hclk_ctrl,
+          	.ctrlbit      = S3C_CLKCON_HCLK_JPEG,
+        }, { 
+		.name         = "sclk_jpeg",
+          	.id           = -1,
+          	.parent       = &clk_hx2,
+          	.enable       = s3c64xx_sclk_ctrl,
+          	.ctrlbit      = S3C_CLKCON_SCLK_JPEG,
+          	.usage        = 0,
+          	.rate         = 48*1000*1000,
+        }, { 
+		.name		= "sclk_cam",
+		.id		= -1,
+		.parent		= &clk_hx2,
+		.enable		= s3c64xx_sclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_SCLK_CAM,
+		.set_rate	= s3c64xx_setrate_sclk_cam,
+	},
+};
+
+static struct clk *clks[] __initdata = {
+	&clk_ext,
+	&clk_epll,
+	&clk_27m,
+	&clk_48m,
+	&clk_cpu,
+};
+
+void __init s3c64xx_register_clocks(void)
+{
+	struct clk *clkp;
+	int ret;
+	int ptr;
+
+	s3c24xx_register_clocks(clks, ARRAY_SIZE(clks));
+
+	clkp = init_clocks;
+	for (ptr = 0; ptr < ARRAY_SIZE(init_clocks); ptr++, clkp++) {
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+	}
+
+	clkp = init_clocks_disable;
+	for (ptr = 0; ptr < ARRAY_SIZE(init_clocks_disable); ptr++, clkp++) {
+
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+
+		(clkp->enable)(clkp, 0);
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/cpu.c linux-2.6.28.6/arch/arm/plat-s3c64xx/cpu.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/cpu.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/cpu.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,116 @@
+/* linux/arch/arm/plat-s3c64xx/cpu.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX CPU Support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/interrupt.h>
+#include <linux/ioport.h>
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+#include <linux/delay.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+
+#include <plat/regs-serial.h>
+#include <plat/regs-clock.h>
+
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/clock.h>
+
+#include <plat/s3c6400.h>
+#include <plat/s3c6410.h>
+
+/* table of supported CPUs */
+
+static const char name_s3c6400[] = "S3C6400";
+static const char name_s3c6410[] = "S3C6410";
+
+static struct cpu_table cpu_ids[] __initdata = {
+	{
+		.idcode		= 0x36400000,
+		.idmask		= 0xfffff000,
+		.map_io		= s3c6400_map_io,
+		.init_clocks	= s3c6400_init_clocks,
+		.init_uarts	= s3c6400_init_uarts,
+		.init		= s3c6400_init,
+		.name		= name_s3c6400,
+	}, {
+		.idcode		= 0x36410100,
+		.idmask		= 0xffffff00,
+		.map_io		= s3c6410_map_io,
+		.init_clocks	= s3c6410_init_clocks,
+		.init_uarts	= s3c6410_init_uarts,
+		.init		= s3c6410_init,
+		.name		= name_s3c6410,
+	},
+};
+
+/* minimal IO mapping */
+
+/* see notes on uart map in arch/arm/mach-s3c6400/include/mach/debug-macro.S */
+#define UART_OFFS (S3C_PA_UART & 0xfffff)
+
+static struct map_desc s3c_iodesc[] __initdata = {
+	{
+		.virtual	= (unsigned long)S3C_VA_SYS,
+		.pfn		= __phys_to_pfn(S3C64XX_PA_SYSCON),
+		.length		= SZ_4K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)(S3C_VA_UART + UART_OFFS),
+		.pfn		= __phys_to_pfn(S3C_PA_UART),
+		.length		= SZ_4K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_VIC0,
+		.pfn		= __phys_to_pfn(S3C64XX_PA_VIC0),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_VIC1,
+		.pfn		= __phys_to_pfn(S3C64XX_PA_VIC1),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_TIMER,
+		.pfn		= __phys_to_pfn(S3C_PA_TIMER),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C64XX_VA_GPIO,
+		.pfn		= __phys_to_pfn(S3C64XX_PA_GPIO),
+		.length		= SZ_4K,
+		.type		= MT_DEVICE,
+	},
+};
+
+/* read cpu identification code */
+
+void __init s3c64xx_init_io(struct map_desc *mach_desc, int size)
+{
+	unsigned long idcode;
+
+	/* initialise the io descriptors we need for initialisation */
+	iotable_init(s3c_iodesc, ARRAY_SIZE(s3c_iodesc));
+	iotable_init(mach_desc, size);
+
+	idcode = __raw_readl(S3C_SYS_ID);
+	s3c_init_cpu(idcode, cpu_ids, ARRAY_SIZE(cpu_ids));
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/dev-fimc0.c linux-2.6.28.6/arch/arm/plat-s3c64xx/dev-fimc0.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/dev-fimc0.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/dev-fimc0.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,68 @@
+/* linux/arch/arm/plat-s5pc1xx/dev-fimc0.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * S5PC1XX series device definition for fimc device 0
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+
+#include <plat/fimc.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_fimc0_resource[] = {
+	[0] = {
+		.start = S3C64XX_PA_FIMC,
+		.end   = S3C64XX_PA_FIMC + S3C64XX_SZ_FIMC - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_CAMIF_C,
+		.end   = IRQ_CAMIF_C,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
+struct platform_device s3c_device_fimc0 = {
+	.name		  = "s3c-fimc",
+	.id		  = 0,
+	.num_resources	  = ARRAY_SIZE(s3c_fimc0_resource),
+	.resource	  = s3c_fimc0_resource,
+};
+
+static struct s3c_platform_fimc default_fimc0_data __initdata = {
+	.srclk_name	= "hclk",
+	.clk_name	= "fimc",
+	.clockrate	= 133000000,
+	.line_length	= 720,
+	.nr_frames	= 4,
+	.shared_io	= 0,
+};
+
+void __init s3c_fimc0_set_platdata(struct s3c_platform_fimc *pd)
+{
+	struct s3c_platform_fimc *npd;
+
+	if (!pd)
+		pd = &default_fimc0_data;
+
+	npd = kmemdup(pd, sizeof(struct s3c_platform_fimc), GFP_KERNEL);
+	if (!npd)
+		printk(KERN_ERR "%s: no memory for platform data\n", __func__);
+	else if (!npd->cfg_gpio)
+		npd->cfg_gpio = s3c_fimc0_cfg_gpio;
+
+	s3c_device_fimc0.dev.platform_data = npd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/dev-fimc1.c linux-2.6.28.6/arch/arm/plat-s3c64xx/dev-fimc1.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/dev-fimc1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/dev-fimc1.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,68 @@
+/* linux/arch/arm/plat-s5pc1xx/dev-fimc1.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * S5PC1XX series device definition for fimc device 0
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+
+#include <plat/fimc.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_fimc1_resource[] = {
+	[0] = {
+		.start = S3C64XX_PA_FIMC,
+		.end   = S3C64XX_PA_FIMC + S3C64XX_SZ_FIMC - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_CAMIF_P,
+		.end   = IRQ_CAMIF_P,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
+struct platform_device s3c_device_fimc1 = {
+	.name		  = "s3c-fimc",
+	.id		  = 1,
+	.num_resources	  = ARRAY_SIZE(s3c_fimc1_resource),
+	.resource	  = s3c_fimc1_resource,
+};
+
+static struct s3c_platform_fimc default_fimc1_data __initdata = {
+	.srclk_name	= "hclk",
+	.clk_name	= "fimc",
+	.clockrate	= 133000000,
+	.line_length	= 720,
+	.nr_frames	= 4,
+	.shared_io	= 1,
+};
+
+void __init s3c_fimc1_set_platdata(struct s3c_platform_fimc *pd)
+{
+	struct s3c_platform_fimc *npd;
+
+	if (!pd)
+		pd = &default_fimc1_data;
+
+	npd = kmemdup(pd, sizeof(struct s3c_platform_fimc), GFP_KERNEL);
+	if (!npd)
+		printk(KERN_ERR "%s: no memory for platform data\n", __func__);
+	else if (!npd->cfg_gpio)
+		npd->cfg_gpio = s3c_fimc1_cfg_gpio;
+
+	s3c_device_fimc1.dev.platform_data = npd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/dev-uart.c linux-2.6.28.6/arch/arm/plat-s3c64xx/dev-uart.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/dev-uart.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/dev-uart.c	2009-10-13 10:53:07.000000000 +0200
@@ -0,0 +1,176 @@
+/* linux/arch/arm/plat-s3c64xx/dev-uart.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S3C64XX UART resource and device definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/platform_device.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/irq.h>
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/devs.h>
+
+/* Serial port registrations */
+
+/* 64xx uarts are closer together */
+
+static struct resource s3c64xx_uart0_resource[] = {
+	[0] = {
+		.start	= S3C_PA_UART0,
+		.end	= S3C_PA_UART0 + S3C_SZ_UART,
+		.flags	= IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX0,
+		.end	= IRQ_S3CUART_RX0,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX0,
+		.end	= IRQ_S3CUART_TX0,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR0,
+		.end	= IRQ_S3CUART_ERR0,
+		.flags	= IORESOURCE_IRQ,
+	}
+};
+
+static struct resource s3c64xx_uart1_resource[] = {
+	[0] = {
+		.start = S3C_PA_UART1,
+		.end   = S3C_PA_UART1 + S3C_SZ_UART,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX1,
+		.end	= IRQ_S3CUART_RX1,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX1,
+		.end	= IRQ_S3CUART_TX1,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR1,
+		.end	= IRQ_S3CUART_ERR1,
+		.flags	= IORESOURCE_IRQ,
+	},
+};
+
+static struct resource s3c64xx_uart2_resource[] = {
+	[0] = {
+		.start = S3C_PA_UART2,
+		.end   = S3C_PA_UART2 + S3C_SZ_UART,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX2,
+		.end	= IRQ_S3CUART_RX2,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX2,
+		.end	= IRQ_S3CUART_TX2,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR2,
+		.end	= IRQ_S3CUART_ERR2,
+		.flags	= IORESOURCE_IRQ,
+	},
+};
+
+static struct resource s3c64xx_uart3_resource[] = {
+	[0] = {
+		.start = S3C_PA_UART3,
+		.end   = S3C_PA_UART3 + S3C_SZ_UART,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX3,
+		.end	= IRQ_S3CUART_RX3,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX3,
+		.end	= IRQ_S3CUART_TX3,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR3,
+		.end	= IRQ_S3CUART_ERR3,
+		.flags	= IORESOURCE_IRQ,
+	},
+};
+
+
+struct s3c24xx_uart_resources s3c64xx_uart_resources[] __initdata = {
+	[0] = {
+		.resources	= s3c64xx_uart0_resource,
+		.nr_resources	= ARRAY_SIZE(s3c64xx_uart0_resource),
+	},
+	[1] = {
+		.resources	= s3c64xx_uart1_resource,
+		.nr_resources	= ARRAY_SIZE(s3c64xx_uart1_resource),
+	},
+	[2] = {
+		.resources	= s3c64xx_uart2_resource,
+		.nr_resources	= ARRAY_SIZE(s3c64xx_uart2_resource),
+	},
+	[3] = {
+		.resources	= s3c64xx_uart3_resource,
+		.nr_resources	= ARRAY_SIZE(s3c64xx_uart3_resource),
+	},
+};
+
+/* uart devices */
+
+static struct platform_device s3c24xx_uart_device0 = {
+	.id		= 0,
+};
+
+static struct platform_device s3c24xx_uart_device1 = {
+	.id		= 1,
+};
+
+static struct platform_device s3c24xx_uart_device2 = {
+	.id		= 2,
+};
+
+static struct platform_device s3c24xx_uart_device3 = {
+	.id		= 3,
+};
+
+struct platform_device *s3c24xx_uart_src[4] = {
+	&s3c24xx_uart_device0,
+	&s3c24xx_uart_device1,
+	&s3c24xx_uart_device2,
+	&s3c24xx_uart_device3,
+};
+
+struct platform_device *s3c24xx_uart_devs[4] = {
+};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/devs.c linux-2.6.28.6/arch/arm/plat-s3c64xx/devs.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/devs.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/devs.c	2010-04-07 07:45:31.000000000 +0200
@@ -0,0 +1,589 @@
+/* linux/arch/arm/plat-s3c64xx/devs.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S3C64XX resource and device definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/platform_device.h>
+#include <linux/dm9000.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/irq.h>
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/devs.h>
+#include <plat/adc.h>
+
+/* SMC9115 LAN via ROM interface 
+
+static struct resource s3c_smc911x_resources[] = {
+      [0] = {
+              .start  = S3C64XX_PA_SMC9115,
+              .end    = S3C64XX_PA_SMC9115 + S3C64XX_SZ_SMC9115 - 1,
+              .flags  = IORESOURCE_MEM,
+      },
+      [1] = {
+              .start = IRQ_EINT(10),
+              .end   = IRQ_EINT(10),
+              .flags = IORESOURCE_IRQ,
+        },
+};
+
+struct platform_device s3c_device_smc911x = {
+      .name           = "smc911x",
+      .id             =  -1,
+      .num_resources  = ARRAY_SIZE(s3c_smc911x_resources),
+      .resource       = s3c_smc911x_resources,
+};
+*/
+static struct resource dm9000_resources[] = {
+    [0] = {
+        .start  = S3C64XX_VA_DM9000,
+        .end    = S3C64XX_VA_DM9000 + S3C64XX_SZ_DM9000 - 1,
+        .flags  = IORESOURCE_MEM,
+    },
+
+    [1] = {
+        .start  = IRQ_EINT(7),
+        .end    = IRQ_EINT(7),
+        .flags  = IORESOURCE_IRQ,
+    },
+};
+
+static struct dm9000_plat_data dm9000_setup = {
+    .flags          = DM9000_PLATF_16BITONLY
+};
+
+ struct platform_device s3c_device_dm9000 = {
+    .name           = "dm9000",
+    .id             = 0,
+    .num_resources  = ARRAY_SIZE(dm9000_resources),
+    .resource       = dm9000_resources,
+    .dev            = {
+        .platform_data = &dm9000_setup,
+    }
+};
+
+EXPORT_SYMBOL(s3c_device_dm9000);
+
+/* NAND Controller */
+
+static struct resource s3c_nand_resource[] = {
+	[0] = {
+		.start = S3C64XX_PA_NAND,
+		.end   = S3C64XX_PA_NAND + S3C64XX_SZ_NAND - 1,
+		.flags = IORESOURCE_MEM,
+	}
+};
+
+struct platform_device s3c_device_nand = {
+	.name		  = "s3c-nand",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_nand_resource),
+	.resource	  = s3c_nand_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_nand);
+
+/* OneNAND Controller */
+static struct resource s3c_onenand_resource[] = {
+	[0] = {
+		.start = S3C64XX_PA_ONENAND,
+		.end   = S3C64XX_PA_ONENAND + S3C_SZ_ONENAND - 1,
+		.flags = IORESOURCE_MEM,
+	}
+};
+
+struct platform_device s3c_device_onenand = {
+	.name		  = "onenand",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_onenand_resource),
+	.resource	  = s3c_onenand_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_onenand);
+
+/* USB Host Controller */
+
+static struct resource s3c_usb_resource[] = {
+        [0] = {
+                .start = S3C64XX_PA_USBHOST,
+                .end   = S3C64XX_PA_USBHOST + S3C64XX_SZ_USBHOST - 1,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_UHOST,
+                .end   = IRQ_UHOST,
+                .flags = IORESOURCE_IRQ,
+        }
+};
+
+static u64 s3c_device_usb_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_usb = {
+        .name             = "s3c2410-ohci",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_usb_resource),
+        .resource         = s3c_usb_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_usb_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+
+EXPORT_SYMBOL(s3c_device_usb);
+
+/* USB Device (Gadget)*/
+
+static struct resource s3c_usbgadget_resource[] = {
+	[0] = {
+		.start = S3C_PA_OTG,
+		.end   = S3C_PA_OTG + S3C_SZ_OTG - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_OTG,
+		.end   = IRQ_OTG,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_usbgadget = {
+	.name		  = "s3c-usbgadget",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_usbgadget_resource),
+	.resource	  = s3c_usbgadget_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_usbgadget);
+
+/* USB Device (OTG hcd)*/
+
+static struct resource s3c_usb_otghcd_resource[] = {
+	[0] = {
+		.start = S3C_PA_OTG,
+		.end   = S3C_PA_OTG + S3C_SZ_OTG - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_OTG,
+		.end   = IRQ_OTG,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+static u64 s3c_device_usb_otghcd_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_usb_otghcd = {
+	.name		= "s3c_otghcd",
+	.id		= -1,
+	.num_resources	= ARRAY_SIZE(s3c_usb_otghcd_resource),
+	.resource	= s3c_usb_otghcd_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_usb_otghcd_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+
+EXPORT_SYMBOL(s3c_device_usb_otghcd);
+
+/* LCD Controller */
+
+static struct resource s3c_lcd_resource[] = {
+	[0] = {
+		.start = S3C64XX_PA_LCD,
+		.end   = S3C64XX_PA_LCD + SZ_1M - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_LCD_VSYNC,
+		.end   = IRQ_LCD_SYSTEM,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+static u64 s3c_device_lcd_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_lcd = {
+	.name		  = "s3c-lcd",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_lcd_resource),
+	.resource	  = s3c_lcd_resource,
+	.dev              = {
+		.dma_mask		= &s3c_device_lcd_dmamask,
+		.coherent_dma_mask	= 0xffffffffUL
+	}
+};
+
+/* FIMG-2D controller */
+static struct resource s3c_g2d_resource[] = {
+	[0] = {
+		.start	= S3C64XX_PA_G2D,
+		.end	= S3C64XX_PA_G2D + S3C64XX_SZ_G2D - 1,
+		.flags	= IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_2D,
+		.end	= IRQ_2D,
+		.flags	= IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_g2d = {
+	.name		= "s3c-g2d",
+	.id		= -1,
+	.num_resources	= ARRAY_SIZE(s3c_g2d_resource),
+	.resource	= s3c_g2d_resource
+};
+EXPORT_SYMBOL(s3c_device_g2d);
+
+
+/* FIMG-3D controller */
+static struct resource s3c_g3d_resource[] = {
+	[0] = {
+		.start	= S3C64XX_PA_G3D,
+		.end	= S3C64XX_PA_G3D + S3C64XX_SZ_G3D - 1,
+		.flags	= IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3C6410_G3D,
+		.end	= IRQ_S3C6410_G3D,
+		.flags	= IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_g3d = {
+	.name		= "s3c-g3d",
+	.id		= -1,
+	.num_resources	= ARRAY_SIZE(s3c_g3d_resource),
+	.resource	= s3c_g3d_resource
+};
+EXPORT_SYMBOL(s3c_device_g3d);
+
+
+/* VPP controller */
+static struct resource s3c_vpp_resource[] = {                                                                         
+        [0] = { 
+            .start = S3C6400_PA_VPP,
+            .end   = S3C6400_PA_VPP + S3C_SZ_VPP - 1, 
+            .flags = IORESOURCE_MEM,
+        },
+        [1] = { 
+               .start = IRQ_POST0, 
+               .end   = IRQ_POST0,
+	      .flags = IORESOURCE_IRQ,             
+	 } 
+};                                                                                                                    
+
+struct platform_device s3c_device_vpp = {  
+        .name             = "s3c-vpp",
+	.id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_vpp_resource),	
+	.resource         = s3c_vpp_resource,                                                                         
+};
+EXPORT_SYMBOL(s3c_device_vpp);
+
+/* TV encoder */
+static struct resource s3c_tvenc_resource[] = {
+	[0] = {
+		.start = S3C6400_PA_TVENC,
+		.end   = S3C6400_PA_TVENC + S3C_SZ_TVENC - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_TVENC,
+		.end   = IRQ_TVENC,
+		.flags = IORESOURCE_IRQ,
+	}
+
+};
+
+struct platform_device s3c_device_tvenc = {
+	.name		  = "s3c-tvenc",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_tvenc_resource),
+	.resource	  = s3c_tvenc_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_tvenc);
+
+/* MFC controller */
+static struct resource s3c_mfc_resource[] = {
+	[0] = {
+		.start	= S3C6400_PA_MFC,
+		.end	= S3C6400_PA_MFC + S3C_SZ_MFC - 1,
+		.flags	= IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_MFC,
+		.end	= IRQ_MFC,
+		.flags	= IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_mfc = {
+	.name		= "s3c-mfc",
+	.id		= -1,
+	.num_resources	= ARRAY_SIZE(s3c_mfc_resource),
+	.resource	= s3c_mfc_resource
+};
+
+EXPORT_SYMBOL(s3c_device_mfc);
+
+/* TV scaler */
+static struct resource s3c_tvscaler_resource[] = {
+	[0] = {
+		.start = S3C6400_PA_TVSCALER,
+		.end   = S3C6400_PA_TVSCALER + S3C_SZ_TVSCALER - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_SCALER,
+		.end   = IRQ_SCALER,
+		.flags = IORESOURCE_IRQ,
+	}
+
+};
+
+/* rotator interface */
+static struct resource s3c_rotator_resource[] = {
+        [0] = {
+                .start = S3C6400_PA_ROTATOR,
+                .end   = S3C6400_PA_ROTATOR + S3C_SZ_ROTATOR - 1,
+                .flags = IORESOURCE_MEM,
+                },
+        [1] = {
+                .start = IRQ_ROTATOR,
+                .end   = IRQ_ROTATOR,
+                .flags = IORESOURCE_IRQ,
+        }
+};
+
+struct platform_device s3c_device_rotator = {
+        .name             = "s3c-rotator",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_rotator_resource),
+        .resource         = s3c_rotator_resource
+};
+
+EXPORT_SYMBOL(s3c_device_rotator);
+
+/* JPEG controller  */
+static struct resource s3c_jpeg_resource[] = {
+        [0] = {
+                .start = S3C6400_PA_JPEG,
+                .end   = S3C6400_PA_JPEG + S3C_SZ_JPEG - 1,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_JPEG,
+                .end   = IRQ_JPEG,
+                .flags = IORESOURCE_IRQ,
+        }
+
+};
+
+struct platform_device s3c_device_jpeg = {
+        .name             = "s3c-jpeg",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_jpeg_resource),
+        .resource         = s3c_jpeg_resource,
+};
+
+struct platform_device s3c_device_tvscaler = {
+	.name		  = "s3c-tvscaler",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_tvscaler_resource),
+	.resource	  = s3c_tvscaler_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_tvscaler);
+
+
+/* ADC */
+static struct resource s3c_adc_resource[] = {
+	[0] = {
+		.start = S3C_PA_ADC,
+		.end   = S3C_PA_ADC + SZ_4K - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_PENDN,
+		.end   = IRQ_PENDN,
+		.flags = IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start = IRQ_ADC,
+		.end   = IRQ_ADC,
+		.flags = IORESOURCE_IRQ,
+	}
+
+};
+
+struct platform_device s3c_device_adc = {
+	.name		  = "s3c-adc",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_adc_resource),
+	.resource	  = s3c_adc_resource,
+};
+
+void __init s3c_adc_set_platdata(struct s3c_adc_mach_info *pd)
+{
+	struct s3c_adc_mach_info *npd;
+
+	npd = kmalloc(sizeof(*npd), GFP_KERNEL);
+	if (npd) {
+		memcpy(npd, pd, sizeof(*npd));
+		s3c_device_adc.dev.platform_data = npd;
+	} else {
+		printk(KERN_ERR "no memory for ADC platform data\n");
+	}
+}
+EXPORT_SYMBOL(s3c_device_adc);
+
+
+static struct resource s3c_rtc_resource[] = {
+	[0] = {
+		.start = S3C_PA_RTC,
+		.end   = S3C_PA_RTC + 0xff,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_RTC_ALARM,
+		.end   = IRQ_RTC_ALARM,
+		.flags = IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start = IRQ_RTC_TIC,
+		.end   = IRQ_RTC_TIC,
+		.flags = IORESOURCE_IRQ
+	}
+};
+
+struct platform_device s3c_device_rtc = {
+	.name		  = "s3c2410-rtc",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_rtc_resource),
+	.resource	  = s3c_rtc_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_rtc);
+
+
+/* Keypad interface */
+static struct resource s3c_keypad_resource[] = {
+	[0] = {
+		.start = S3C_PA_KEYPAD,
+		.end   = S3C_PA_KEYPAD+ S3C_SZ_KEYPAD - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_KEYPAD,
+		.end   = IRQ_KEYPAD,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_keypad = {
+	.name		  = "s3c-keypad",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_keypad_resource),
+	.resource	  = s3c_keypad_resource,
+};
+EXPORT_SYMBOL(s3c_device_keypad);
+
+/* SPI (0) */
+static struct resource s3c_spi0_resource[] = {
+	[0] = {
+		.start = S3C_PA_SPI0,
+		.end   = S3C_PA_SPI0 + S3C_SZ_SPI0 - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_SPI0,
+		.end   = IRQ_SPI0,
+		.flags = IORESOURCE_IRQ,
+	}
+
+};
+
+static u64 s3c_device_spi0_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_spi0 = {
+	.name		  = "sam-spi",
+	.id		  = 0,
+	.num_resources	  = ARRAY_SIZE(s3c_spi0_resource),
+	.resource	  = s3c_spi0_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_spi0_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+EXPORT_SYMBOL(s3c_device_spi0);
+
+/* SPI (1) */
+static struct resource s3c_spi1_resource[] = {
+	[0] = {
+		.start = S3C_PA_SPI1,
+		.end   = S3C_PA_SPI1 + S3C_SZ_SPI1 - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_SPI1,
+		.end   = IRQ_SPI1,
+		.flags = IORESOURCE_IRQ,
+	}
+
+};
+
+static u64 s3c_device_spi1_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_spi1 = {
+	.name		  = "sam-spi",
+	.id		  = 1,
+	.num_resources	  = ARRAY_SIZE(s3c_spi1_resource),
+	.resource	  = s3c_spi1_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_spi1_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+EXPORT_SYMBOL(s3c_device_spi1);
+
+/* Watchdog */
+static struct resource s3c_wdt_resource[] = {
+	[0] = {
+		.start = S3C64XX_PA_WATCHDOG,
+		.end   = S3C64XX_PA_WATCHDOG + S3C64XX_SZ_WATCHDOG - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_WDT,
+		.end   = IRQ_WDT,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_wdt = {
+	.name             = "s3c2410-wdt",
+	.id               = -1,
+	.num_resources    = ARRAY_SIZE(s3c_wdt_resource),
+	.resource         = s3c_wdt_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_wdt);
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/gpiolib.c linux-2.6.28.6/arch/arm/plat-s3c64xx/gpiolib.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/gpiolib.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/gpiolib.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,420 @@
+/* arch/arm/plat-s3c64xx/gpiolib.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX - GPIOlib support 
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/irq.h>
+#include <linux/io.h>
+
+#include <mach/map.h>
+#include <mach/gpio.h>
+#include <mach/gpio-core.h>
+
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-cfg-helpers.h>
+#include <plat/regs-gpio.h>
+
+/* GPIO bank summary:
+ *
+ * Bank	GPIOs	Style	SlpCon	ExtInt Group
+ * A	8	4Bit	Yes	1
+ * B	7	4Bit	Yes	1
+ * C	8	4Bit	Yes	2
+ * D	5	4Bit	Yes	3
+ * E	5	4Bit	Yes	None
+ * F	16	2Bit	Yes	4 [1]
+ * G	7	4Bit	Yes	5
+ * H	10	4Bit[2]	Yes	6
+ * I	16	2Bit	Yes	None
+ * J	12	2Bit	Yes	None
+ * K	16	4Bit[2]	No	None
+ * L	15	4Bit[2] No	None
+ * M	6	4Bit	No	IRQ_EINT
+ * N	16	2Bit	No	IRQ_EINT
+ * O	16	2Bit	Yes	7
+ * P	15	2Bit	Yes	8
+ * Q	9	2Bit	Yes	9
+ *
+ * [1] BANKF pins 14,15 do not form part of the external interrupt sources
+ * [2] BANK has two control registers, GPxCON0 and GPxCON1
+ */
+
+#define OFF_GPCON	(0x00)
+#define OFF_GPDAT	(0x04)
+
+#define con_4bit_shift(__off) ((__off) * 4)
+
+#if 1
+#define gpio_dbg(x...) do { } while(0)
+#else
+#define gpio_dbg(x...) printk(KERN_DEBUG ## x)
+#endif
+
+/* The s3c64xx_gpiolib_4bit routines are to control the gpio banks where
+ * the gpio configuration register (GPxCON) has 4 bits per GPIO, as the
+ * following example:
+ *
+ * base + 0x00: Control register, 4 bits per gpio
+ *	        gpio n: 4 bits starting at (4*n)
+ *		0000 = input, 0001 = output, others mean special-function
+ * base + 0x04: Data register, 1 bit per gpio
+ *		bit n: data bit n
+ *
+ * Note, since the data register is one bit per gpio and is at base + 0x4
+ * we can use s3c_gpiolib_get and s3c_gpiolib_set to change the state of
+ * the output.
+*/
+
+static int s3c64xx_gpiolib_4bit_input(struct gpio_chip *chip, unsigned offset)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	unsigned long con;
+
+	con = __raw_readl(base + OFF_GPCON);
+	con &= ~(0xf << con_4bit_shift(offset));
+	__raw_writel(con, base + OFF_GPCON);
+
+	gpio_dbg("%s: %p: CON now %08lx\n", __func__, base, con);
+
+	return 0;
+}
+
+static int s3c64xx_gpiolib_4bit_output(struct gpio_chip *chip,
+				       unsigned offset, int value)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	unsigned long con;
+	unsigned long dat;
+
+	con = __raw_readl(base + OFF_GPCON);
+	con &= ~(0xf << con_4bit_shift(offset));
+	con |= 0x1 << con_4bit_shift(offset);
+
+	dat = __raw_readl(base + OFF_GPDAT);
+	if (value)
+		dat |= 1 << offset;
+	else
+		dat &= ~(1 << offset);
+
+	__raw_writel(dat, base + OFF_GPDAT);
+	__raw_writel(con, base + OFF_GPCON);
+	__raw_writel(dat, base + OFF_GPDAT);
+
+	gpio_dbg("%s: %p: CON %08lx, DAT %08lx\n", __func__, base, con, dat);
+
+	return 0;
+}
+
+/* The next set of routines are for the case where the GPIO configuration
+ * registers are 4 bits per GPIO but there is more than one register (the
+ * bank has more than 8 GPIOs.
+ *
+ * This case is the similar to the 4 bit case, but the registers are as
+ * follows:
+ *
+ * base + 0x00: Control register, 4 bits per gpio (lower 8 GPIOs)
+ *	        gpio n: 4 bits starting at (4*n)
+ *		0000 = input, 0001 = output, others mean special-function
+ * base + 0x04: Control register, 4 bits per gpio (up to 8 additions GPIOs)
+ *	        gpio n: 4 bits starting at (4*n)
+ *		0000 = input, 0001 = output, others mean special-function
+ * base + 0x08: Data register, 1 bit per gpio
+ *		bit n: data bit n
+ *
+ * To allow us to use the s3c_gpiolib_get and s3c_gpiolib_set routines we
+ * store the 'base + 0x4' address so that these routines see the data
+ * register at ourchip->base + 0x04.
+*/
+
+static int s3c64xx_gpiolib_4bit2_input(struct gpio_chip *chip, unsigned offset)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	void __iomem *regcon = base;
+	unsigned long con;
+
+	if (offset > 7)
+		offset -= 8;
+	else
+		regcon -= 4;
+
+	con = __raw_readl(regcon);
+	con &= ~(0xf << con_4bit_shift(offset));
+	__raw_writel(con, regcon);
+
+	gpio_dbg("%s: %p: CON %08lx\n", __func__, base, con);
+
+	return 0;
+
+}
+
+static int s3c64xx_gpiolib_4bit2_output(struct gpio_chip *chip,
+				       unsigned offset, int value)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	void __iomem *regcon = base;
+	unsigned long con;
+	unsigned long dat;
+
+	if (offset > 7)
+		offset -= 8;
+	else
+		regcon -= 4;
+
+	con = __raw_readl(regcon);
+	con &= ~(0xf << con_4bit_shift(offset));
+	con |= 0x1 << con_4bit_shift(offset);
+
+	dat = __raw_readl(base + OFF_GPDAT);
+	if (value)
+		dat |= 1 << offset;
+	else
+		dat &= ~(1 << offset);
+
+	__raw_writel(dat, base + OFF_GPDAT);
+	__raw_writel(con, regcon);
+	__raw_writel(dat, base + OFF_GPDAT);
+
+	gpio_dbg("%s: %p: CON %08lx, DAT %08lx\n", __func__, base, con, dat);
+
+	return 0;
+}
+
+static struct s3c_gpio_cfg gpio_4bit_cfg_noint = {
+	.set_config	= s3c_gpio_setcfg_s3c64xx_4bit,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_cfg gpio_4bit_cfg_eint0111 = {
+	.cfg_eint	= 7,
+	.set_config	= s3c_gpio_setcfg_s3c64xx_4bit,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_cfg gpio_4bit_cfg_eint0011 = {
+	.cfg_eint	= 3,
+	.set_config	= s3c_gpio_setcfg_s3c64xx_4bit,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_chip gpio_4bit[] = {
+	{
+		.base	= S3C64XX_GPA_BASE,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S3C64XX_GPA(0),
+			.ngpio	= S3C64XX_GPIO_A_NR,
+			.label	= "GPA",
+		},
+	}, {
+		.base	= S3C64XX_GPB_BASE,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S3C64XX_GPB(0),
+			.ngpio	= S3C64XX_GPIO_B_NR,
+			.label	= "GPB",
+		},
+	}, {
+		.base	= S3C64XX_GPC_BASE,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S3C64XX_GPC(0),
+			.ngpio	= S3C64XX_GPIO_C_NR,
+			.label	= "GPC",
+		},
+	}, {
+		.base	= S3C64XX_GPD_BASE,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S3C64XX_GPD(0),
+			.ngpio	= S3C64XX_GPIO_D_NR,
+			.label	= "GPD",
+		},
+	}, {
+		.base	= S3C64XX_GPE_BASE,
+		.config	= &gpio_4bit_cfg_noint,
+		.chip	= {
+			.base	= S3C64XX_GPE(0),
+			.ngpio	= S3C64XX_GPIO_E_NR,
+			.label	= "GPE",
+		},
+	}, {
+		.base	= S3C64XX_GPG_BASE,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S3C64XX_GPG(0),
+			.ngpio	= S3C64XX_GPIO_G_NR,
+			.label	= "GPG",
+		},
+	}, {
+		.base	= S3C64XX_GPM_BASE,
+		.config	= &gpio_4bit_cfg_eint0011,
+		.chip	= {
+			.base	= S3C64XX_GPM(0),
+			.ngpio	= S3C64XX_GPIO_M_NR,
+			.label	= "GPM",
+		},
+	},
+};
+
+static struct s3c_gpio_chip gpio_4bit2[] = {
+	{
+		.base	= S3C64XX_GPH_BASE + 0x4,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S3C64XX_GPH(0),
+			.ngpio	= S3C64XX_GPIO_H_NR,
+			.label	= "GPH",
+		},
+	}, {
+		.base	= S3C64XX_GPK_BASE + 0x4,
+		.config	= &gpio_4bit_cfg_noint,
+		.chip	= {
+			.base	= S3C64XX_GPK(0),
+			.ngpio	= S3C64XX_GPIO_K_NR,
+			.label	= "GPK",
+		},
+	}, {
+		.base	= S3C64XX_GPL_BASE + 0x4,
+		.config	= &gpio_4bit_cfg_eint0011,
+		.chip	= {
+			.base	= S3C64XX_GPL(0),
+			.ngpio	= S3C64XX_GPIO_L_NR,
+			.label	= "GPL",
+		},
+	},
+};
+
+static struct s3c_gpio_cfg gpio_2bit_cfg_noint = {
+	.set_config	= s3c_gpio_setcfg_s3c24xx,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_cfg gpio_2bit_cfg_eint10 = {
+	.cfg_eint	= 2,
+	.set_config	= s3c_gpio_setcfg_s3c24xx,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_cfg gpio_2bit_cfg_eint11 = {
+	.cfg_eint	= 3,
+	.set_config	= s3c_gpio_setcfg_s3c24xx,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_chip gpio_2bit[] = {
+	{
+		.base	= S3C64XX_GPF_BASE,
+		.config	= &gpio_2bit_cfg_eint11,
+		.chip	= {
+			.base	= S3C64XX_GPF(0),
+			.ngpio	= S3C64XX_GPIO_F_NR,
+			.label	= "GPF",
+		},
+	}, {
+		.base	= S3C64XX_GPI_BASE,
+		.config	= &gpio_2bit_cfg_noint,
+		.chip	= {
+			.base	= S3C64XX_GPI(0),
+			.ngpio	= S3C64XX_GPIO_I_NR,
+			.label	= "GPI",
+		},
+	}, {
+		.base	= S3C64XX_GPJ_BASE,
+		.config	= &gpio_2bit_cfg_noint,
+		.chip	= {
+			.base	= S3C64XX_GPJ(0),
+			.ngpio	= S3C64XX_GPIO_J_NR,
+			.label	= "GPJ",
+		},
+	}, {
+		.base	= S3C64XX_GPN_BASE,
+		.config	= &gpio_2bit_cfg_eint10,
+		.chip	= {
+			.base	= S3C64XX_GPN(0),
+			.ngpio	= S3C64XX_GPIO_N_NR,
+			.label	= "GPN",
+		},
+	}, {
+		.base	= S3C64XX_GPO_BASE,
+		.config	= &gpio_2bit_cfg_eint11,
+		.chip	= {
+			.base	= S3C64XX_GPO(0),
+			.ngpio	= S3C64XX_GPIO_O_NR,
+			.label	= "GPO",
+		},
+	}, {
+		.base	= S3C64XX_GPP_BASE,
+		.config	= &gpio_2bit_cfg_eint11,
+		.chip	= {
+			.base	= S3C64XX_GPP(0),
+			.ngpio	= S3C64XX_GPIO_P_NR,
+			.label	= "GPP",
+		},
+	}, {
+		.base	= S3C64XX_GPQ_BASE,
+		.config	= &gpio_2bit_cfg_eint11,
+		.chip	= {
+			.base	= S3C64XX_GPQ(0),
+			.ngpio	= S3C64XX_GPIO_Q_NR,
+			.label	= "GPQ",
+		},
+	},
+};
+
+static __init void s3c64xx_gpiolib_add_4bit(struct s3c_gpio_chip *chip)
+{
+	chip->chip.direction_input = s3c64xx_gpiolib_4bit_input;
+	chip->chip.direction_output = s3c64xx_gpiolib_4bit_output;
+}
+
+static __init void s3c64xx_gpiolib_add_4bit2(struct s3c_gpio_chip *chip)
+{
+	chip->chip.direction_input = s3c64xx_gpiolib_4bit2_input;
+	chip->chip.direction_output = s3c64xx_gpiolib_4bit2_output;
+}
+
+static __init void s3c64xx_gpiolib_add(struct s3c_gpio_chip *chips,
+				       int nr_chips,
+				       void (*fn)(struct s3c_gpio_chip *))
+{
+	for (; nr_chips > 0; nr_chips--, chips++) {
+		if (fn)
+			(fn)(chips);
+		s3c_gpiolib_add(chips);
+	}
+}
+
+static __init int s3c64xx_gpiolib_init(void)
+{
+	s3c64xx_gpiolib_add(gpio_4bit, ARRAY_SIZE(gpio_4bit),
+			    s3c64xx_gpiolib_add_4bit);
+
+	s3c64xx_gpiolib_add(gpio_4bit2, ARRAY_SIZE(gpio_4bit2),
+			    s3c64xx_gpiolib_add_4bit2);
+
+	s3c64xx_gpiolib_add(gpio_2bit, ARRAY_SIZE(gpio_2bit), NULL);
+
+	return 0;
+}
+
+arch_initcall(s3c64xx_gpiolib_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/dma.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/dma.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/dma.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/dma.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,12 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/dma.h
+ *
+ * Copyright (C) 2006 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * Samsung S3C64XX DMA support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+#include <plat/s3c-dma.h>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/fimc.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/fimc.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/fimc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/fimc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,39 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/fimc.h
+ *
+ * Platform header file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _FIMC_H
+#define _FIMC_H
+
+struct platform_device;
+
+struct s3c_platform_fimc {
+	const char	srclk_name[16];
+	const char	clk_name[16];
+	u32		clockrate;
+	int		line_length;
+	int		nr_frames;
+	int		shared_io;
+
+	void		(*cfg_gpio)(struct platform_device *dev);
+};
+
+extern void s3c_fimc0_set_platdata(struct s3c_platform_fimc *fimc);
+extern void s3c_fimc1_set_platdata(struct s3c_platform_fimc *fimc);
+
+/* defined by architecture to configure gpio */
+extern void s3c_fimc0_cfg_gpio(struct platform_device *dev);
+extern void s3c_fimc1_cfg_gpio(struct platform_device *dev);
+
+extern void s3c_fimc_reset_camera(void);
+
+#endif /* _FIMC_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-a.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-a.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-a.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-a.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,48 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-a.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank A register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPACON			(S3C64XX_GPA_BASE + 0x00)
+#define S3C64XX_GPADAT			(S3C64XX_GPA_BASE + 0x04)
+#define S3C64XX_GPAPUD			(S3C64XX_GPA_BASE + 0x08)
+#define S3C64XX_GPACONSLP		(S3C64XX_GPA_BASE + 0x0c)
+#define S3C64XX_GPAPUDSLP		(S3C64XX_GPA_BASE + 0x10)
+
+#define S3C64XX_GPA_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S3C64XX_GPA_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S3C64XX_GPA_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S3C64XX_GPA0_UART_RXD0		(0x02 << 0)
+#define S3C64XX_GPA0_EINT_G1_0		(0x07 << 0)
+
+#define S3C64XX_GPA1_UART_TXD0		(0x02 << 4)
+#define S3C64XX_GPA1_EINT_G1_1		(0x07 << 4)
+
+#define S3C64XX_GPA2_UART_nCTS0		(0x02 << 8)
+#define S3C64XX_GPA2_EINT_G1_2		(0x07 << 8)
+
+#define S3C64XX_GPA3_UART_nRTS0		(0x02 << 12)
+#define S3C64XX_GPA3_EINT_G1_3		(0x07 << 12)
+
+#define S3C64XX_GPA4_UART_RXD1		(0x02 << 16)
+#define S3C64XX_GPA4_EINT_G1_4		(0x07 << 16)
+
+#define S3C64XX_GPA5_UART_TXD1		(0x02 << 20)
+#define S3C64XX_GPA5_EINT_G1_5		(0x07 << 20)
+
+#define S3C64XX_GPA6_UART_nCTS1		(0x02 << 24)
+#define S3C64XX_GPA6_EINT_G1_6		(0x07 << 24)
+
+#define S3C64XX_GPA7_UART_nRTS1		(0x02 << 28)
+#define S3C64XX_GPA7_EINT_G1_7		(0x07 << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-b.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-b.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-b.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-b.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,60 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-b.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank B register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPBCON			(S3C64XX_GPB_BASE + 0x00)
+#define S3C64XX_GPBDAT			(S3C64XX_GPB_BASE + 0x04)
+#define S3C64XX_GPBPUD			(S3C64XX_GPB_BASE + 0x08)
+#define S3C64XX_GPBCONSLP		(S3C64XX_GPB_BASE + 0x0c)
+#define S3C64XX_GPBPUDSLP		(S3C64XX_GPB_BASE + 0x10)
+
+#define S3C64XX_GPB_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S3C64XX_GPB_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S3C64XX_GPB_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S3C64XX_GPB0_UART_RXD2		(0x02 << 0)
+#define S3C64XX_GPB0_EXTDMA_REQ		(0x03 << 0)
+#define S3C64XX_GPB0_IrDA_RXD		(0x04 << 0)
+#define S3C64XX_GPB0_ADDR_CF0		(0x05 << 0)
+#define S3C64XX_GPB0_EINT_G1_8		(0x07 << 0)
+
+#define S3C64XX_GPB1_UART_TXD2		(0x02 << 4)
+#define S3C64XX_GPB1_EXTDMA_ACK		(0x03 << 4)
+#define S3C64XX_GPB1_IrDA_TXD		(0x04 << 4)
+#define S3C64XX_GPB1_ADDR_CF1		(0x05 << 4)
+#define S3C64XX_GPB1_EINT_G1_9		(0x07 << 4)
+
+#define S3C64XX_GPB2_UART_RXD3		(0x02 << 8)
+#define S3C64XX_GPB2_IrDA_RXD		(0x03 << 8)
+#define S3C64XX_GPB2_EXTDMA_REQ		(0x04 << 8)
+#define S3C64XX_GPB2_ADDR_CF2		(0x05 << 8)
+#define S3C64XX_GPB2_I2C_SCL1		(0x06 << 8)
+#define S3C64XX_GPB2_EINT_G1_10		(0x07 << 8)
+
+#define S3C64XX_GPB3_UART_TXD3		(0x02 << 12)
+#define S3C64XX_GPB3_IrDA_TXD		(0x03 << 12)
+#define S3C64XX_GPB3_EXTDMA_ACK		(0x04 << 12)
+#define S3C64XX_GPB3_I2C_SDA1		(0x06 << 12)
+#define S3C64XX_GPB3_EINT_G1_11		(0x07 << 12)
+
+#define S3C64XX_GPB4_IrDA_SDBW		(0x02 << 16)
+#define S3C64XX_GPB4_CAM_FIELD		(0x03 << 16)
+#define S3C64XX_GPB4_CF_DATA_DIR	(0x04 << 16)
+#define S3C64XX_GPB4_EINT_G1_12		(0x07 << 16)
+
+#define S3C64XX_GPB5_I2C_SCL0		(0x02 << 20)
+#define S3C64XX_GPB5_EINT_G1_13		(0x07 << 20)
+
+#define S3C64XX_GPB6_I2C_SDA0		(0x02 << 24)
+#define S3C64XX_GPB6_EINT_G1_14		(0x07 << 24)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-c.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-c.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-c.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-c.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,53 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-c.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank C register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPCCON			(S3C64XX_GPC_BASE + 0x00)
+#define S3C64XX_GPCDAT			(S3C64XX_GPC_BASE + 0x04)
+#define S3C64XX_GPCPUD			(S3C64XX_GPC_BASE + 0x08)
+#define S3C64XX_GPCCONSLP		(S3C64XX_GPC_BASE + 0x0c)
+#define S3C64XX_GPCPUDSLP		(S3C64XX_GPC_BASE + 0x10)
+
+#define S3C64XX_GPC_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S3C64XX_GPC_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S3C64XX_GPC_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S3C64XX_GPC0_SPI_MISO0		(0x02 << 0)
+#define S3C64XX_GPC0_EINT_G2_0		(0x07 << 0)
+
+#define S3C64XX_GPC1_SPI_CLK0		(0x02 << 4)
+#define S3C64XX_GPC1_EINT_G2_1		(0x07 << 4)
+
+#define S3C64XX_GPC2_SPI_MOSI0		(0x02 << 8)
+#define S3C64XX_GPC2_EINT_G2_2		(0x07 << 8)
+
+#define S3C64XX_GPC3_SPI_nCS0		(0x02 << 12)
+#define S3C64XX_GPC3_EINT_G2_3		(0x07 << 12)
+
+#define S3C64XX_GPC4_SPI_MISO1		(0x02 << 16)
+#define S3C64XX_GPC4_MMC2_CMD		(0x03 << 16)
+#define S3C64XX_GPC4_I2S_V40_DO0	(0x05 << 16)
+#define S3C64XX_GPC4_EINT_G2_4		(0x07 << 16)
+
+#define S3C64XX_GPC5_SPI_CLK1		(0x02 << 20)
+#define S3C64XX_GPC5_MMC2_CLK		(0x03 << 20)
+#define S3C64XX_GPC5_I2S_V40_DO1	(0x05 << 20)
+#define S3C64XX_GPC5_EINT_G2_5		(0x07 << 20)
+
+#define S3C64XX_GPC6_SPI_MOSI1		(0x02 << 24)
+#define S3C64XX_GPC6_EINT_G2_6		(0x07 << 24)
+
+#define S3C64XX_GPC7_SPI_nCS1		(0x02 << 28)
+#define S3C64XX_GPC7_I2S_V40_DO2	(0x05 << 28)
+#define S3C64XX_GPC7_EINT_G2_7		(0x07 << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-d.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-d.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-d.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-d.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,49 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-d.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank D register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPDCON			(S3C64XX_GPD_BASE + 0x00)
+#define S3C64XX_GPDDAT			(S3C64XX_GPD_BASE + 0x04)
+#define S3C64XX_GPDPUD			(S3C64XX_GPD_BASE + 0x08)
+#define S3C64XX_GPDCONSLP		(S3C64XX_GPD_BASE + 0x0c)
+#define S3C64XX_GPDPUDSLP		(S3C64XX_GPD_BASE + 0x10)
+
+#define S3C64XX_GPD_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S3C64XX_GPD_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S3C64XX_GPD_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S3C64XX_GPD0_PCM0_SCLK		(0x02 << 0)
+#define S3C64XX_GPD0_I2S0_CLK		(0x03 << 0)
+#define S3C64XX_GPD0_AC97_BITCLK	(0x04 << 0)
+#define S3C64XX_GPD0_EINT_G3_0		(0x07 << 0)
+
+#define S3C64XX_GPD1_PCM0_EXTCLK	(0x02 << 4)
+#define S3C64XX_GPD1_I2S0_CDCLK		(0x03 << 4)
+#define S3C64XX_GPD1_AC97_nRESET	(0x04 << 4)
+#define S3C64XX_GPD1_EINT_G3_1		(0x07 << 4)
+
+#define S3C64XX_GPD2_PCM0_FSYNC		(0x02 << 8)
+#define S3C64XX_GPD2_I2S0_LRCLK		(0x03 << 8)
+#define S3C64XX_GPD2_AC97_SYNC		(0x04 << 8)
+#define S3C64XX_GPD2_EINT_G3_2		(0x07 << 8)
+
+#define S3C64XX_GPD3_PCM0_SIN		(0x02 << 12)
+#define S3C64XX_GPD3_I2S0_DI		(0x03 << 12)
+#define S3C64XX_GPD3_AC97_SDI		(0x04 << 12)
+#define S3C64XX_GPD3_EINT_G3_3		(0x07 << 12)
+
+#define S3C64XX_GPD4_PCM0_SOUT		(0x02 << 16)
+#define S3C64XX_GPD4_I2S0_DO		(0x03 << 16)
+#define S3C64XX_GPD4_AC97_SDO		(0x04 << 16)
+#define S3C64XX_GPD4_EINT_G3_4		(0x07 << 16)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-e.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-e.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-e.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-e.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,44 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-e.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank E register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPECON			(S3C64XX_GPE_BASE + 0x00)
+#define S3C64XX_GPEDAT			(S3C64XX_GPE_BASE + 0x04)
+#define S3C64XX_GPEPUD			(S3C64XX_GPE_BASE + 0x08)
+#define S3C64XX_GPECONSLP		(S3C64XX_GPE_BASE + 0x0c)
+#define S3C64XX_GPEPUDSLP		(S3C64XX_GPE_BASE + 0x10)
+
+#define S3C64XX_GPE_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S3C64XX_GPE_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S3C64XX_GPE_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S3C64XX_GPE0_PCM1_SCLK		(0x02 << 0)
+#define S3C64XX_GPE0_I2S1_CLK		(0x03 << 0)
+#define S3C64XX_GPE0_AC97_BITCLK	(0x04 << 0)
+
+#define S3C64XX_GPE1_PCM1_EXTCLK	(0x02 << 4)
+#define S3C64XX_GPE1_I2S1_CDCLK		(0x03 << 4)
+#define S3C64XX_GPE1_AC97_nRESET	(0x04 << 4)
+
+#define S3C64XX_GPE2_PCM1_FSYNC		(0x02 << 8)
+#define S3C64XX_GPE2_I2S1_LRCLK		(0x03 << 8)
+#define S3C64XX_GPE2_AC97_SYNC		(0x04 << 8)
+
+#define S3C64XX_GPE3_PCM1_SIN		(0x02 << 12)
+#define S3C64XX_GPE3_I2S1_DI		(0x03 << 12)
+#define S3C64XX_GPE3_AC97_SDI		(0x04 << 12)
+
+#define S3C64XX_GPE4_PCM1_SOUT		(0x02 << 16)
+#define S3C64XX_GPE4_I2S1_D0		(0x03 << 16)
+#define S3C64XX_GPE4_AC97_SDO		(0x04 << 16)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-f.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-f.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-f.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-f.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,71 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-f.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank F register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPFCON			(S3C64XX_GPF_BASE + 0x00)
+#define S3C64XX_GPFDAT			(S3C64XX_GPF_BASE + 0x04)
+#define S3C64XX_GPFPUD			(S3C64XX_GPF_BASE + 0x08)
+#define S3C64XX_GPFCONSLP		(S3C64XX_GPF_BASE + 0x0c)
+#define S3C64XX_GPFPUDSLP		(S3C64XX_GPF_BASE + 0x10)
+
+#define S3C64XX_GPF_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S3C64XX_GPF_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S3C64XX_GPF_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S3C64XX_GPF0_CAMIF_CLK		(0x02 << 0)
+#define S3C64XX_GPF0_EINT_G4_0		(0x03 << 0)
+
+#define S3C64XX_GPF1_CAMIF_HREF		(0x02 << 2)
+#define S3C64XX_GPF1_EINT_G4_1		(0x03 << 2)
+
+#define S3C64XX_GPF2_CAMIF_PCLK		(0x02 << 4)
+#define S3C64XX_GPF2_EINT_G4_2		(0x03 << 4)
+
+#define S3C64XX_GPF3_CAMIF_nRST		(0x02 << 6)
+#define S3C64XX_GPF3_EINT_G4_3		(0x03 << 6)
+
+#define S3C64XX_GPF4_CAMIF_VSYNC	(0x02 << 8)
+#define S3C64XX_GPF4_EINT_G4_4		(0x03 << 8)
+
+#define S3C64XX_GPF5_CAMIF_YDATA0	(0x02 << 10)
+#define S3C64XX_GPF5_EINT_G4_5		(0x03 << 10)
+
+#define S3C64XX_GPF6_CAMIF_YDATA1	(0x02 << 12)
+#define S3C64XX_GPF6_EINT_G4_6		(0x03 << 12)
+
+#define S3C64XX_GPF7_CAMIF_YDATA2	(0x02 << 14)
+#define S3C64XX_GPF7_EINT_G4_7		(0x03 << 14)
+
+#define S3C64XX_GPF8_CAMIF_YDATA3	(0x02 << 16)
+#define S3C64XX_GPF8_EINT_G4_8		(0x03 << 16)
+
+#define S3C64XX_GPF9_CAMIF_YDATA4	(0x02 << 18)
+#define S3C64XX_GPF9_EINT_G4_9		(0x03 << 18)
+
+#define S3C64XX_GPF10_CAMIF_YDATA5	(0x02 << 20)
+#define S3C64XX_GPF10_EINT_G4_10	(0x03 << 20)
+
+#define S3C64XX_GPF11_CAMIF_YDATA6	(0x02 << 22)
+#define S3C64XX_GPF11_EINT_G4_11	(0x03 << 22)
+
+#define S3C64XX_GPF12_CAMIF_YDATA7	(0x02 << 24)
+#define S3C64XX_GPF12_EINT_G4_12	(0x03 << 24)
+
+#define S3C64XX_GPF13_PWM_ECLK		(0x02 << 26)
+#define S3C64XX_GPF13_EINT_G4_13	(0x03 << 26)
+
+#define S3C64XX_GPF14_PWM_TOUT0		(0x02 << 28)
+#define S3C64XX_GPF14_CLKOUT0		(0x03 << 28)
+
+#define S3C64XX_GPF15_PWM_TOUT1		(0x02 << 30)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-g.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-g.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-g.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-g.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,45 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-g.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank G register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPGCON			(S3C64XX_GPG_BASE + 0x00)
+#define S3C64XX_GPGDAT			(S3C64XX_GPG_BASE + 0x04)
+#define S3C64XX_GPGPUD			(S3C64XX_GPG_BASE + 0x08)
+#define S3C64XX_GPGCONSLP		(S3C64XX_GPG_BASE + 0x0c)
+#define S3C64XX_GPGPUDSLP		(S3C64XX_GPG_BASE + 0x10)
+
+#define S3C64XX_GPG_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S3C64XX_GPG_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S3C64XX_GPG_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S3C64XX_GPG0_MMC0_CLK		(0x02 << 0)
+#define S3C64XX_GPG0_EINT_G5_0		(0x07 << 0)
+
+#define S3C64XX_GPG1_MMC0_CMD		(0x02 << 4)
+#define S3C64XX_GPG1_EINT_G5_1		(0x07 << 4)
+
+#define S3C64XX_GPG2_MMC0_DATA0		(0x02 << 8)
+#define S3C64XX_GPG2_EINT_G5_2		(0x07 << 8)
+
+#define S3C64XX_GPG3_MMC0_DATA1		(0x02 << 12)
+#define S3C64XX_GPG3_EINT_G5_3		(0x07 << 12)
+
+#define S3C64XX_GPG4_MMC0_DATA2		(0x02 << 16)
+#define S3C64XX_GPG4_EINT_G5_4		(0x07 << 16)
+
+#define S3C64XX_GPG5_MMC0_DATA3		(0x02 << 20)
+#define S3C64XX_GPG5_EINT_G5_5		(0x07 << 20)
+
+#define S3C64XX_GPG6_MMC0_CD		(0x02 << 24)
+#define S3C64XX_GPG6_MMC1_CD		(0x03 << 24)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-h.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-h.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-h.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-h.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,74 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-h.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank H register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPHCON0			(S3C64XX_GPH_BASE + 0x00)
+#define S3C64XX_GPHCON1			(S3C64XX_GPH_BASE + 0x04)
+#define S3C64XX_GPHDAT			(S3C64XX_GPH_BASE + 0x08)
+#define S3C64XX_GPHPUD			(S3C64XX_GPH_BASE + 0x0c)
+#define S3C64XX_GPHCONSLP		(S3C64XX_GPH_BASE + 0x10)
+#define S3C64XX_GPHPUDSLP		(S3C64XX_GPH_BASE + 0x14)
+
+#define S3C64XX_GPH_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S3C64XX_GPH_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S3C64XX_GPH_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S3C64XX_GPH0_MMC1_CLK		(0x02 << 0)
+#define S3C64XX_GPH0_KP_COL0		(0x04 << 0)
+#define S3C64XX_GPH0_EINT_G6_0		(0x07 << 0)
+
+#define S3C64XX_GPH1_MMC1_CMD		(0x02 << 4)
+#define S3C64XX_GPH1_KP_COL1		(0x04 << 4)
+#define S3C64XX_GPH1_EINT_G6_1		(0x07 << 4)
+
+#define S3C64XX_GPH2_MMC1_DATA0		(0x02 << 8)
+#define S3C64XX_GPH2_KP_COL2		(0x04 << 8)
+#define S3C64XX_GPH2_EINT_G6_2		(0x07 << 8)
+
+#define S3C64XX_GPH3_MMC1_DATA1		(0x02 << 12)
+#define S3C64XX_GPH3_KP_COL3		(0x04 << 12)
+#define S3C64XX_GPH3_EINT_G6_3		(0x07 << 12)
+
+#define S3C64XX_GPH4_MMC1_DATA2		(0x02 << 16)
+#define S3C64XX_GPH4_KP_COL4		(0x04 << 16)
+#define S3C64XX_GPH4_EINT_G6_4		(0x07 << 16)
+
+#define S3C64XX_GPH5_MMC1_DATA3		(0x02 << 20)
+#define S3C64XX_GPH5_KP_COL5		(0x04 << 20)
+#define S3C64XX_GPH5_EINT_G6_5		(0x07 << 20)
+
+#define S3C64XX_GPH6_MMC1_DATA4		(0x02 << 24)
+#define S3C64XX_GPH6_MMC2_DATA0		(0x03 << 24)
+#define S3C64XX_GPH6_KP_COL6		(0x04 << 24)
+#define S3C64XX_GPH6_I2S_V40_BCLK	(0x05 << 24)
+#define S3C64XX_GPH6_ADDR_CF0		(0x06 << 24)
+#define S3C64XX_GPH6_EINT_G6_6		(0x07 << 24)
+
+#define S3C64XX_GPH7_MMC1_DATA5		(0x02 << 28)
+#define S3C64XX_GPH7_MMC2_DATA1		(0x03 << 28)
+#define S3C64XX_GPH7_KP_COL7		(0x04 << 28)
+#define S3C64XX_GPH7_I2S_V40_CDCLK	(0x05 << 28)
+#define S3C64XX_GPH7_ADDR_CF1		(0x06 << 28)
+#define S3C64XX_GPH7_EINT_G6_7		(0x07 << 28)
+
+#define S3C64XX_GPH8_MMC1_DATA6		(0x02 << 0)
+#define S3C64XX_GPH8_MMC2_DATA2		(0x03 << 0)
+#define S3C64XX_GPH8_I2S_V40_LRCLK	(0x05 << 0)
+#define S3C64XX_GPH8_ADDR_CF2		(0x06 << 0)
+#define S3C64XX_GPH8_EINT_G6_8		(0x07 << 0)
+
+#define S3C64XX_GPH9_MMC1_DATA7		(0x02 << 4)
+#define S3C64XX_GPH9_MMC2_DATA3		(0x03 << 4)
+#define S3C64XX_GPH9_I2S_V40_DI		(0x05 << 4)
+#define S3C64XX_GPH9_EINT_G6_9		(0x07 << 4)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-i.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-i.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-i.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-i.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,40 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-i.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank I register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPICON			(S3C64XX_GPI_BASE + 0x00)
+#define S3C64XX_GPIDAT			(S3C64XX_GPI_BASE + 0x04)
+#define S3C64XX_GPIPUD			(S3C64XX_GPI_BASE + 0x08)
+#define S3C64XX_GPICONSLP		(S3C64XX_GPI_BASE + 0x0c)
+#define S3C64XX_GPIPUDSLP		(S3C64XX_GPI_BASE + 0x10)
+
+#define S3C64XX_GPI_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S3C64XX_GPI_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S3C64XX_GPI_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S3C64XX_GPI0_VD0		(0x02 << 0)
+#define S3C64XX_GPI1_VD1		(0x02 << 2)
+#define S3C64XX_GPI2_VD2		(0x02 << 4)
+#define S3C64XX_GPI3_VD3		(0x02 << 6)
+#define S3C64XX_GPI4_VD4		(0x02 << 8)
+#define S3C64XX_GPI5_VD5		(0x02 << 10)
+#define S3C64XX_GPI6_VD6		(0x02 << 12)
+#define S3C64XX_GPI7_VD7		(0x02 << 14)
+#define S3C64XX_GPI8_VD8		(0x02 << 16)
+#define S3C64XX_GPI9_VD9		(0x02 << 18)
+#define S3C64XX_GPI10_VD10		(0x02 << 20)
+#define S3C64XX_GPI11_VD11		(0x02 << 22)
+#define S3C64XX_GPI12_VD12		(0x02 << 24)
+#define S3C64XX_GPI13_VD13		(0x02 << 26)
+#define S3C64XX_GPI14_VD14		(0x02 << 28)
+#define S3C64XX_GPI15_VD15		(0x02 << 30)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-j.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-j.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-j.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-j.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,36 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-j.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank J register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPJCON			(S3C64XX_GPJ_BASE + 0x00)
+#define S3C64XX_GPJDAT			(S3C64XX_GPJ_BASE + 0x04)
+#define S3C64XX_GPJPUD			(S3C64XX_GPJ_BASE + 0x08)
+#define S3C64XX_GPJCONSLP		(S3C64XX_GPJ_BASE + 0x0c)
+#define S3C64XX_GPJPUDSLP		(S3C64XX_GPJ_BASE + 0x10)
+
+#define S3C64XX_GPJ_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S3C64XX_GPJ_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S3C64XX_GPJ_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S3C64XX_GPJ0_VD16		(0x02 << 0)
+#define S3C64XX_GPJ1_VD17		(0x02 << 2)
+#define S3C64XX_GPJ2_VD18		(0x02 << 4)
+#define S3C64XX_GPJ3_VD19		(0x02 << 6)
+#define S3C64XX_GPJ4_VD20		(0x02 << 8)
+#define S3C64XX_GPJ5_VD21		(0x02 << 10)
+#define S3C64XX_GPJ6_VD22		(0x02 << 12)
+#define S3C64XX_GPJ7_VD23		(0x02 << 14)
+#define S3C64XX_GPJ8_LCD_HSYNC		(0x02 << 16)
+#define S3C64XX_GPJ9_LCD_VSYNC		(0x02 << 18)
+#define S3C64XX_GPJ10_LCD_VDEN		(0x02 << 20)
+#define S3C64XX_GPJ11_LCD_VCLK		(0x02 << 22)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-k.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-k.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-k.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-k.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,24 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-kj.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank J register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPKCON			(S3C64XX_GPK_BASE + 0x00)
+#define S3C64XX_GPKCON1			(S3C64XX_GPK_BASE + 0x04)
+#define S3C64XX_GPKDAT			(S3C64XX_GPK_BASE + 0x08)
+#define S3C64XX_GPKPUD			(S3C64XX_GPK_BASE + 0x0c)
+
+#define S3C64XX_GPK_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S3C64XX_GPK_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S3C64XX_GPK_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-l.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-l.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-l.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-l.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,24 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-l.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank J register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPLCON			(S3C64XX_GPL_BASE + 0x00)
+#define S3C64XX_GPLCON1			(S3C64XX_GPL_BASE + 0x04)
+#define S3C64XX_GPLDAT			(S3C64XX_GPL_BASE + 0x08)
+#define S3C64XX_GPLPUD			(S3C64XX_GPL_BASE + 0x0c)
+
+#define S3C64XX_GPL_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S3C64XX_GPL_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S3C64XX_GPL_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-m.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-m.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-m.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-m.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,63 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-m.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *  Ben Dooks <ben@simtec.co.uk>
+ *  http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank M register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPMCON          (S3C64XX_GPM_BASE + 0x00)
+#define S3C64XX_GPMDAT          (S3C64XX_GPM_BASE + 0x04)
+#define S3C64XX_GPMPUD          (S3C64XX_GPM_BASE + 0x08)
+
+#define S3C64XX_GPM_CONMASK(__gpio) (0x3 << ((__gpio) * 2))
+#define S3C64XX_GPM_INPUT(__gpio)   (0x0 << ((__gpio) * 2))
+#define S3C64XX_GPM_OUTPUT(__gpio)  (0x1 << ((__gpio) * 2))
+
+#define S3C64XX_GPM0_HOSTIF_CS      (0x02 << 0)
+#define S3C64XX_GPM0_EINT23      (0x03 << 0)
+#define S3C64XX_GPM0_RESERVED1      (0x04 << 0)
+#define S3C64XX_GPM0_DATA_CF10      (0x05 << 0)
+#define S3C64XX_GPM0_CE_CF0      (0x06 << 0)
+#define S3C64XX_GPM0_RESERVED2      (0x07 << 0)
+
+#define S3C64XX_GPM1_HOSTIF_CS_M      (0x02 << 0)
+#define S3C64XX_GPM1_EINT24      (0x03 << 0)
+#define S3C64XX_GPM1_RESERVED1      (0x04 << 0)
+#define S3C64XX_GPM1_DATA_CF11      (0x05 << 0)
+#define S3C64XX_GPM1_CE_CF1      (0x06 << 0)
+#define S3C64XX_GPM1_RESERVED2      (0x07 << 0)
+
+#define S3C64XX_GPM2_HOSTIF_IF_CS_S      (0x02 << 0)
+#define S3C64XX_GPM2_EINT25      (0x03 << 0)
+#define S3C64XX_GPM2_HOSTIF_MDP_VSYNC      (0x04 << 0)
+#define S3C64XX_GPM2_DATA_CF12      (0x05 << 0)
+#define S3C64XX_GPM2_IORD_CF      (0x06 << 0)
+#define S3C64XX_GPM2_RESERVED2      (0x07 << 0)
+
+#define S3C64XX_GPM3_HOSTIF_WE      (0x02 << 0)
+#define S3C64XX_GPM3_EINT26      (0x03 << 0)
+#define S3C64XX_GPM3_RESERVED1      (0x04 << 0)
+#define S3C64XX_GPM3_DATA_CF13      (0x05 << 0)
+#define S3C64XX_GPM3_IOWR_CF      (0x06 << 0)
+#define S3C64XX_GPM3_RESERVED2      (0x07 << 0)
+
+#define S3C64XX_GPM4_HOSTIF_OE      (0x02 << 0)
+#define S3C64XX_GPM4_EINT27      (0x03 << 0)
+#define S3C64XX_GPM4_RESERVED1      (0x04 << 0)
+#define S3C64XX_GPM4_DATA_CF14      (0x05 << 0)
+#define S3C64XX_GPM4_IORDY_CF      (0x06 << 0)
+#define S3C64XX_GPM4_RESERVED2      (0x07 << 0)
+
+#define S3C64XX_GPM5_HOSTIF_INTR      (0x02 << 0)
+#define S3C64XX_GPM5_CF_DATA_DIR      (0x03 << 0)
+#define S3C64XX_GPM5_RESERVED1      (0x04 << 0)
+#define S3C64XX_GPM5_DATA_CF15      (0x05 << 0)
+#define S3C64XX_GPM5_RESERVED2      (0x06 << 0)
+#define S3C64XX_GPM5_RESERVED3      (0x07 << 0)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-n.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-n.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-n.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-n.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,54 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-n.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank N register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPNCON			(S3C64XX_GPN_BASE + 0x00)
+#define S3C64XX_GPNDAT			(S3C64XX_GPN_BASE + 0x04)
+#define S3C64XX_GPNPUD			(S3C64XX_GPN_BASE + 0x08)
+
+#define S3C64XX_GPN_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S3C64XX_GPN_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S3C64XX_GPN_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S3C64XX_GPN0_EINT0		(0x02 << 0)
+#define S3C64XX_GPN0_KP_ROW0		(0x03 << 0)
+
+#define S3C64XX_GPN1_EINT1		(0x02 << 2)
+#define S3C64XX_GPN1_KP_ROW1		(0x03 << 2)
+
+#define S3C64XX_GPN2_EINT2		(0x02 << 4)
+#define S3C64XX_GPN2_KP_ROW2		(0x03 << 4)
+
+#define S3C64XX_GPN3_EINT3		(0x02 << 6)
+#define S3C64XX_GPN3_KP_ROW3		(0x03 << 6)
+
+#define S3C64XX_GPN4_EINT4		(0x02 << 8)
+#define S3C64XX_GPN4_KP_ROW4		(0x03 << 8)
+
+#define S3C64XX_GPN5_EINT5		(0x02 << 10)
+#define S3C64XX_GPN5_KP_ROW5		(0x03 << 10)
+
+#define S3C64XX_GPN6_EINT6		(0x02 << 12)
+#define S3C64XX_GPN6_KP_ROW6		(0x03 << 12)
+
+#define S3C64XX_GPN7_EINT7		(0x02 << 14)
+#define S3C64XX_GPN7_KP_ROW7		(0x03 << 14)
+
+#define S3C64XX_GPN8_EINT8		(0x02 << 16)
+#define S3C64XX_GPN9_EINT9		(0x02 << 18)
+#define S3C64XX_GPN10_EINT10		(0x02 << 20)
+#define S3C64XX_GPN11_EINT11		(0x02 << 22)
+#define S3C64XX_GPN12_EINT12		(0x02 << 24)
+#define S3C64XX_GPN13_EINT13		(0x02 << 26)
+#define S3C64XX_GPN14_EINT14		(0x02 << 28)
+#define S3C64XX_GPN15_EINT15		(0x02 << 30)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-o.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-o.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-o.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-o.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,70 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-o.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank O register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPOCON			(S3C64XX_GPO_BASE + 0x00)
+#define S3C64XX_GPODAT			(S3C64XX_GPO_BASE + 0x04)
+#define S3C64XX_GPOPUD			(S3C64XX_GPO_BASE + 0x08)
+#define S3C64XX_GPOCONSLP		(S3C64XX_GPO_BASE + 0x0c)
+#define S3C64XX_GPOPUDSLP		(S3C64XX_GPO_BASE + 0x10)
+
+#define S3C64XX_GPO_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S3C64XX_GPO_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S3C64XX_GPO_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S3C64XX_GPO0_MEM0_nCS2		(0x02 << 0)
+#define S3C64XX_GPO0_EINT_G7_0		(0x03 << 0)
+
+#define S3C64XX_GPO1_MEM0_nCS3		(0x02 << 2)
+#define S3C64XX_GPO1_EINT_G7_1		(0x03 << 2)
+
+#define S3C64XX_GPO2_MEM0_nCS4		(0x02 << 4)
+#define S3C64XX_GPO2_EINT_G7_2		(0x03 << 4)
+
+#define S3C64XX_GPO3_MEM0_nCS5		(0x02 << 6)
+#define S3C64XX_GPO3_EINT_G7_3		(0x03 << 6)
+
+#define S3C64XX_GPO4_EINT_G7_4		(0x03 << 8)
+
+#define S3C64XX_GPO5_EINT_G7_5		(0x03 << 10)
+
+#define S3C64XX_GPO6_MEM0_ADDR6		(0x02 << 12)
+#define S3C64XX_GPO6_EINT_G7_6		(0x03 << 12)
+
+#define S3C64XX_GPO7_MEM0_ADDR7		(0x02 << 14)
+#define S3C64XX_GPO7_EINT_G7_7		(0x03 << 14)
+
+#define S3C64XX_GPO8_MEM0_ADDR8		(0x02 << 16)
+#define S3C64XX_GPO8_EINT_G7_8		(0x03 << 16)
+
+#define S3C64XX_GPO9_MEM0_ADDR9		(0x02 << 18)
+#define S3C64XX_GPO9_EINT_G7_9		(0x03 << 18)
+
+#define S3C64XX_GPO10_MEM0_ADDR10	(0x02 << 20)
+#define S3C64XX_GPO10_EINT_G7_10	(0x03 << 20)
+
+#define S3C64XX_GPO11_MEM0_ADDR11	(0x02 << 22)
+#define S3C64XX_GPO11_EINT_G7_11	(0x03 << 22)
+
+#define S3C64XX_GPO12_MEM0_ADDR12	(0x02 << 24)
+#define S3C64XX_GPO12_EINT_G7_12	(0x03 << 24)
+
+#define S3C64XX_GPO13_MEM0_ADDR13	(0x02 << 26)
+#define S3C64XX_GPO13_EINT_G7_13	(0x03 << 26)
+
+#define S3C64XX_GPO14_MEM0_ADDR14	(0x02 << 28)
+#define S3C64XX_GPO14_EINT_G7_14	(0x03 << 28)
+
+#define S3C64XX_GPO15_MEM0_ADDR15	(0x02 << 30)
+#define S3C64XX_GPO15_EINT_G7_15	(0x03 << 30)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-p.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-p.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-p.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-p.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,69 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-p.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank P register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPPCON			(S3C64XX_GPP_BASE + 0x00)
+#define S3C64XX_GPPDAT			(S3C64XX_GPP_BASE + 0x04)
+#define S3C64XX_GPPPUD			(S3C64XX_GPP_BASE + 0x08)
+#define S3C64XX_GPPCONSLP		(S3C64XX_GPP_BASE + 0x0c)
+#define S3C64XX_GPPPUDSLP		(S3C64XX_GPP_BASE + 0x10)
+
+#define S3C64XX_GPP_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S3C64XX_GPP_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S3C64XX_GPP_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S3C64XX_GPP0_MEM0_ADDRV		(0x02 << 0)
+#define S3C64XX_GPP0_EINT_G8_0		(0x03 << 0)
+
+#define S3C64XX_GPP1_MEM0_SMCLK		(0x02 << 2)
+#define S3C64XX_GPP1_EINT_G8_1		(0x03 << 2)
+
+#define S3C64XX_GPP2_MEM0_nWAIT		(0x02 << 4)
+#define S3C64XX_GPP2_EINT_G8_2		(0x03 << 4)
+
+#define S3C64XX_GPP3_MEM0_RDY0_ALE	(0x02 << 6)
+#define S3C64XX_GPP3_EINT_G8_3		(0x03 << 6)
+
+#define S3C64XX_GPP4_MEM0_RDY1_CLE	(0x02 << 8)
+#define S3C64XX_GPP4_EINT_G8_4		(0x03 << 8)
+
+#define S3C64XX_GPP5_MEM0_INTsm0_FWE	(0x02 << 10)
+#define S3C64XX_GPP5_EINT_G8_5		(0x03 << 10)
+
+#define S3C64XX_GPP6_MEM0_(null)	(0x02 << 12)
+#define S3C64XX_GPP6_EINT_G8_6		(0x03 << 12)
+
+#define S3C64XX_GPP7_MEM0_INTsm1_FRE	(0x02 << 14)
+#define S3C64XX_GPP7_EINT_G8_7		(0x03 << 14)
+
+#define S3C64XX_GPP8_MEM0_RPn_RnB	(0x02 << 16)
+#define S3C64XX_GPP8_EINT_G8_8		(0x03 << 16)
+
+#define S3C64XX_GPP9_MEM0_ATA_RESET	(0x02 << 18)
+#define S3C64XX_GPP9_EINT_G8_9		(0x03 << 18)
+
+#define S3C64XX_GPP10_MEM0_ATA_INPACK	(0x02 << 20)
+#define S3C64XX_GPP10_EINT_G8_10	(0x03 << 20)
+
+#define S3C64XX_GPP11_MEM0_ATA_REG	(0x02 << 22)
+#define S3C64XX_GPP11_EINT_G8_11	(0x03 << 22)
+
+#define S3C64XX_GPP12_MEM0_ATA_WE	(0x02 << 24)
+#define S3C64XX_GPP12_EINT_G8_12	(0x03 << 24)
+
+#define S3C64XX_GPP13_MEM0_ATA_OE	(0x02 << 26)
+#define S3C64XX_GPP13_EINT_G8_13	(0x03 << 26)
+
+#define S3C64XX_GPP14_MEM0_ATA_CD	(0x02 << 28)
+#define S3C64XX_GPP14_EINT_G8_14	(0x03 << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-q.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-q.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/gpio-bank-q.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/gpio-bank-q.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,46 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/gpio-bank-q.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank Q register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C64XX_GPQCON			(S3C64XX_GPQ_BASE + 0x00)
+#define S3C64XX_GPQDAT			(S3C64XX_GPQ_BASE + 0x04)
+#define S3C64XX_GPQPUD			(S3C64XX_GPQ_BASE + 0x08)
+#define S3C64XX_GPQCONSLP		(S3C64XX_GPQ_BASE + 0x0c)
+#define S3C64XX_GPQPUDSLP		(S3C64XX_GPQ_BASE + 0x10)
+
+#define S3C64XX_GPQ_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S3C64XX_GPQ_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S3C64XX_GPQ_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S3C64XX_GPQ0_MEM0_ADDR18_RAS	(0x02 << 0)
+#define S3C64XX_GPQ0_EINT_G9_0		(0x03 << 0)
+
+#define S3C64XX_GPQ1_MEM0_ADDR19_CAS	(0x02 << 2)
+#define S3C64XX_GPQ1_EINT_G9_1		(0x03 << 2)
+
+#define S3C64XX_GPQ2_EINT_G9_2		(0x03 << 4)
+
+#define S3C64XX_GPQ3_EINT_G9_3		(0x03 << 6)
+
+#define S3C64XX_GPQ4_EINT_G9_4		(0x03 << 8)
+
+#define S3C64XX_GPQ5_EINT_G9_5		(0x03 << 10)
+
+#define S3C64XX_GPQ6_EINT_G9_6		(0x03 << 12)
+
+#define S3C64XX_GPQ7_MEM0_ADDR17_WENDMC	(0x02 << 14)
+#define S3C64XX_GPQ7_EINT_G9_7		(0x03 << 14)
+
+#define S3C64XX_GPQ8_MEM0_ADDR16_APDMC	(0x02 << 16)
+#define S3C64XX_GPQ8_EINT_G9_8		(0x03 << 16)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/irqs.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/irqs.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/irqs.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/irqs.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,201 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/irqs.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX - Common IRQ support
+ */
+
+#ifndef __ASM_PLAT_S3C64XX_IRQS_H
+#define __ASM_PLAT_S3C64XX_IRQS_H __FILE__
+
+/* we keep the first set of CPU IRQs out of the range of
+ * the ISA space, so that the PC104 has them to itself
+ * and we don't end up having to do horrible things to the
+ * standard ISA drivers....
+ *
+ * note, since we're using the VICs, our start must be a
+ * mulitple of 32 to allow the common code to work
+ */
+
+#define S3C_IRQ_OFFSET	(32)
+
+#define S3C_IRQ(x)	((x) + S3C_IRQ_OFFSET)
+
+#define S3C_VIC0_BASE	S3C_IRQ(0)
+#define S3C_VIC1_BASE	S3C_IRQ(32)
+
+/* UART interrupts, each UART has 4 intterupts per channel so
+ * use the space between the ISA and S3C main interrupts. Note, these
+ * are not in the same order as the S3C24XX series! */
+
+#define IRQ_S3CUART_BASE0	(16)
+#define IRQ_S3CUART_BASE1	(20)
+#define IRQ_S3CUART_BASE2	(24)
+#define IRQ_S3CUART_BASE3	(28)
+
+#define UART_IRQ_RXD		(0)
+#define UART_IRQ_ERR		(1)
+#define UART_IRQ_TXD		(2)
+#define UART_IRQ_MODEM		(3)
+
+#define IRQ_S3CUART_RX0		(IRQ_S3CUART_BASE0 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX0		(IRQ_S3CUART_BASE0 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR0	(IRQ_S3CUART_BASE0 + UART_IRQ_ERR)
+
+#define IRQ_S3CUART_RX1		(IRQ_S3CUART_BASE1 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX1		(IRQ_S3CUART_BASE1 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR1	(IRQ_S3CUART_BASE1 + UART_IRQ_ERR)
+
+#define IRQ_S3CUART_RX2		(IRQ_S3CUART_BASE2 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX2		(IRQ_S3CUART_BASE2 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR2	(IRQ_S3CUART_BASE2 + UART_IRQ_ERR)
+
+#define IRQ_S3CUART_RX3		(IRQ_S3CUART_BASE3 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX3		(IRQ_S3CUART_BASE3 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR3	(IRQ_S3CUART_BASE3 + UART_IRQ_ERR)
+
+/* VIC based IRQs */
+
+#define S3C64XX_IRQ_VIC0(x)	(S3C_VIC0_BASE + (x))
+#define S3C64XX_IRQ_VIC1(x)	(S3C_VIC1_BASE + (x))
+
+/* VIC0 */
+
+#define IRQ_EINT0_3		S3C64XX_IRQ_VIC0(0)
+#define IRQ_EINT4_11		S3C64XX_IRQ_VIC0(1)
+#define IRQ_RTC_TIC		S3C64XX_IRQ_VIC0(2)
+#define IRQ_CAMIF_C		S3C64XX_IRQ_VIC0(3)
+#define IRQ_CAMIF_P		S3C64XX_IRQ_VIC0(4)
+#define IRQ_CAMIF_MC		S3C64XX_IRQ_VIC0(5)
+#define IRQ_S3C6410_IIC1	S3C64XX_IRQ_VIC0(5)
+#define IRQ_S3C6410_IIS		S3C64XX_IRQ_VIC0(6)
+#define IRQ_S3C6400_CAMIF_MP	S3C64XX_IRQ_VIC0(6)
+#define IRQ_CAMIF_WE_C		S3C64XX_IRQ_VIC0(7)
+#define IRQ_S3C6410_G3D		S3C64XX_IRQ_VIC0(8)
+#define IRQ_S3C6400_CAMIF_WE_P	S3C64XX_IRQ_VIC0(8)
+#define IRQ_POST0		S3C64XX_IRQ_VIC0(9)
+#define IRQ_ROTATOR		S3C64XX_IRQ_VIC0(10)
+#define IRQ_2D			S3C64XX_IRQ_VIC0(11)
+#define IRQ_TVENC		S3C64XX_IRQ_VIC0(12)
+#define IRQ_SCALER		S3C64XX_IRQ_VIC0(13)
+#define IRQ_BATF		S3C64XX_IRQ_VIC0(14)
+#define IRQ_JPEG		S3C64XX_IRQ_VIC0(15)
+#define IRQ_MFC			S3C64XX_IRQ_VIC0(16)
+#define IRQ_SDMA0		S3C64XX_IRQ_VIC0(17)
+#define IRQ_SDMA1		S3C64XX_IRQ_VIC0(18)
+#define IRQ_ARM_DMAERR		S3C64XX_IRQ_VIC0(19)
+#define IRQ_ARM_DMA		S3C64XX_IRQ_VIC0(20)
+#define IRQ_ARM_DMAS		S3C64XX_IRQ_VIC0(21)
+#define IRQ_KEYPAD		S3C64XX_IRQ_VIC0(22)
+#define IRQ_TIMER0_VIC		S3C64XX_IRQ_VIC0(23)
+#define IRQ_TIMER1_VIC		S3C64XX_IRQ_VIC0(24)
+#define IRQ_TIMER2_VIC		S3C64XX_IRQ_VIC0(25)
+#define IRQ_WDT			S3C64XX_IRQ_VIC0(26)
+#define IRQ_TIMER3_VIC		S3C64XX_IRQ_VIC0(27)
+#define IRQ_TIMER4_VIC		S3C64XX_IRQ_VIC0(28)
+#define IRQ_LCD_FIFO		S3C64XX_IRQ_VIC0(29)
+#define IRQ_LCD_VSYNC		S3C64XX_IRQ_VIC0(30)
+#define IRQ_LCD_SYSTEM		S3C64XX_IRQ_VIC0(31)
+
+/* VIC1 */
+
+#define IRQ_EINT12_19		S3C64XX_IRQ_VIC1(0)
+#define IRQ_EINT20_27		S3C64XX_IRQ_VIC1(1)
+#define IRQ_PCM0		S3C64XX_IRQ_VIC1(2)
+#define IRQ_PCM1		S3C64XX_IRQ_VIC1(3)
+#define IRQ_AC97		S3C64XX_IRQ_VIC1(4)
+#define IRQ_UART0		S3C64XX_IRQ_VIC1(5)
+#define IRQ_UART1		S3C64XX_IRQ_VIC1(6)
+#define IRQ_UART2		S3C64XX_IRQ_VIC1(7)
+#define IRQ_UART3		S3C64XX_IRQ_VIC1(8)
+#define IRQ_DMA0		S3C64XX_IRQ_VIC1(9)
+#define IRQ_DMA1		S3C64XX_IRQ_VIC1(10)
+#define IRQ_ONENAND0		S3C64XX_IRQ_VIC1(11)
+#define IRQ_ONENAND1		S3C64XX_IRQ_VIC1(12)
+#define IRQ_NFC			S3C64XX_IRQ_VIC1(13)
+#define IRQ_CFCON		S3C64XX_IRQ_VIC1(14)
+#define IRQ_UHOST		S3C64XX_IRQ_VIC1(15)
+#define IRQ_SPI0		S3C64XX_IRQ_VIC1(16)
+#define IRQ_SPI1		S3C64XX_IRQ_VIC1(17)
+#define IRQ_IIC			S3C64XX_IRQ_VIC1(18)
+#define IRQ_HSItx		S3C64XX_IRQ_VIC1(19)
+#define IRQ_HSIrx		S3C64XX_IRQ_VIC1(20)
+#define IRQ_EINT_GROUPS		S3C64XX_IRQ_VIC1(21)
+#define IRQ_MSM			S3C64XX_IRQ_VIC1(22)
+#define IRQ_HOSTIF		S3C64XX_IRQ_VIC1(23)
+#define IRQ_HSMMC0		S3C64XX_IRQ_VIC1(24)
+#define IRQ_HSMMC1		S3C64XX_IRQ_VIC1(25)
+#define IRQ_HSMMC2		IRQ_SPI1	/* shared with SPI1 */
+#define IRQ_OTG			S3C64XX_IRQ_VIC1(26)
+#define IRQ_IRDA		S3C64XX_IRQ_VIC1(27)
+#define IRQ_RTC_ALARM		S3C64XX_IRQ_VIC1(28)
+#define IRQ_SEC			S3C64XX_IRQ_VIC1(29)
+#define IRQ_PENDN		S3C64XX_IRQ_VIC1(30)
+#define IRQ_TC			IRQ_PENDN
+#define IRQ_ADC			S3C64XX_IRQ_VIC1(31)
+
+#define S3C64XX_TIMER_IRQ(x)	S3C_IRQ(64 + (x))
+
+#define IRQ_TIMER0		S3C64XX_TIMER_IRQ(0)
+#define IRQ_TIMER1		S3C64XX_TIMER_IRQ(1)
+#define IRQ_TIMER2		S3C64XX_TIMER_IRQ(2)
+#define IRQ_TIMER3		S3C64XX_TIMER_IRQ(3)
+#define IRQ_TIMER4		S3C64XX_TIMER_IRQ(4)
+
+/* compatibility for device defines */
+
+#define IRQ_IIC1		IRQ_S3C6410_IIC1
+
+/* Since the IRQ_EINT(x) are a linear mapping on current s3c64xx series
+ * we just defined them as an IRQ_EINT(x) macro from S3C_IRQ_EINT_BASE
+ * which we place after the pair of VICs. */
+
+#define S3C_IRQ_EINT_BASE	S3C_IRQ(64+5)
+
+#define S3C_EINT(x)		((x) + S3C_IRQ_EINT_BASE)
+#define IRQ_EINT(x)		S3C_EINT(x)
+
+/* Next the external interrupt groups. These are similar to the IRQ_EINT(x)
+ * that they are sourced from the GPIO pins but with a different scheme for
+ * priority and source indication.
+ *
+ * The IRQ_EINT(x) can be thought of as 'group 0' of the available GPIO
+ * interrupts, but for historical reasons they are kept apart from these
+ * next interrupts.
+ *
+ * Use IRQ_EINT_GROUP(group, offset) to get the number for use in the
+ * machine specific support files.
+ */
+
+#define IRQ_EINT_GROUP1_NR	(15)
+#define IRQ_EINT_GROUP2_NR	(8)
+#define IRQ_EINT_GROUP3_NR	(5)
+#define IRQ_EINT_GROUP4_NR	(14)
+#define IRQ_EINT_GROUP5_NR	(7)
+#define IRQ_EINT_GROUP6_NR	(10)
+#define IRQ_EINT_GROUP7_NR	(16)
+#define IRQ_EINT_GROUP8_NR	(15)
+#define IRQ_EINT_GROUP9_NR	(9)
+
+#define IRQ_EINT_GROUP_BASE	S3C_EINT(28)
+#define IRQ_EINT_GROUP1_BASE	(IRQ_EINT_GROUP_BASE + 0x00)
+#define IRQ_EINT_GROUP2_BASE	(IRQ_EINT_GROUP1_BASE + IRQ_EINT_GROUP1_NR)
+#define IRQ_EINT_GROUP3_BASE	(IRQ_EINT_GROUP2_BASE + IRQ_EINT_GROUP2_NR)
+#define IRQ_EINT_GROUP4_BASE	(IRQ_EINT_GROUP3_BASE + IRQ_EINT_GROUP3_NR)
+#define IRQ_EINT_GROUP5_BASE	(IRQ_EINT_GROUP4_BASE + IRQ_EINT_GROUP4_NR)
+#define IRQ_EINT_GROUP6_BASE	(IRQ_EINT_GROUP5_BASE + IRQ_EINT_GROUP5_NR)
+#define IRQ_EINT_GROUP7_BASE	(IRQ_EINT_GROUP6_BASE + IRQ_EINT_GROUP6_NR)
+#define IRQ_EINT_GROUP8_BASE	(IRQ_EINT_GROUP7_BASE + IRQ_EINT_GROUP7_NR)
+#define IRQ_EINT_GROUP9_BASE	(IRQ_EINT_GROUP8_BASE + IRQ_EINT_GROUP8_NR)
+
+#define IRQ_EINT_GROUP(group, no)	(IRQ_EINT_GROUP##group##_BASE + (no))
+
+/* Set the default NR_IRQS */
+
+#define NR_IRQS	(IRQ_EINT_GROUP9_BASE + IRQ_EINT_GROUP9_NR + 1)
+
+#endif /* __ASM_PLAT_S3C64XX_IRQS_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/media.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/media.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/media.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/media.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,37 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/media.h
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Samsung Media device descriptions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _S3C_MEDIA_H
+#define _S3C_MEDIA_H
+
+#include <linux/types.h>
+
+#define S3C_MDEV_FIMC		0
+#define S3C_MDEV_POST		1
+#define S3C_MDEV_TV		2
+#define S3C_MDEV_MFC		3
+#define S3C_MDEV_JPEG		4
+#define S3C_MDEV_CMM		5
+#define S3C_MDEV_MAX		6
+
+struct s3c_media_device {
+	int		id;
+	const char 	*name;
+	size_t		memsize;
+	dma_addr_t	paddr;
+};
+
+extern dma_addr_t s3c_get_media_memory(int dev_id);
+extern size_t s3c_get_media_memsize(int dev_id);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/pll.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/pll.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/pll.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/pll.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,74 @@
+/* arch/arm/plat-s3c64xx/include/plat/pll.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX PLL code
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S3C6400_PLL_MDIV_MASK	((1 << (25-16+1)) - 1)
+#define S3C6400_PLL_PDIV_MASK	((1 << (13-8+1)) - 1)
+#define S3C6400_PLL_SDIV_MASK	((1 << (2-0+1)) - 1)
+#define S3C6400_PLL_MDIV_SHIFT	(16)
+#define S3C6400_PLL_PDIV_SHIFT	(8)
+#define S3C6400_PLL_SDIV_SHIFT	(0)
+
+#include <asm/div64.h>
+
+static inline unsigned long s3c6400_get_pll(unsigned long baseclk,
+					    u32 pllcon)
+{
+	u32 mdiv, pdiv, sdiv;
+	u64 fvco = baseclk;
+
+	mdiv = (pllcon >> S3C6400_PLL_MDIV_SHIFT) & S3C6400_PLL_MDIV_MASK;
+	pdiv = (pllcon >> S3C6400_PLL_PDIV_SHIFT) & S3C6400_PLL_PDIV_MASK;
+	sdiv = (pllcon >> S3C6400_PLL_SDIV_SHIFT) & S3C6400_PLL_SDIV_MASK;
+
+	fvco *= mdiv;
+	do_div(fvco, (pdiv << sdiv));
+
+	return (unsigned long)fvco;
+}
+
+#define S3C6400_EPLL_MDIV_MASK	((1 << (23-16+1)) - 1)
+#define S3C6400_EPLL_PDIV_MASK	((1 << (13-8+1)) - 1)
+#define S3C6400_EPLL_SDIV_MASK	((1 << (2-0+1)) - 1)
+#define S3C6400_EPLL_MDIV_SHIFT	(16)
+#define S3C6400_EPLL_PDIV_SHIFT	(8)
+#define S3C6400_EPLL_SDIV_SHIFT	(0)
+#define S3C6400_EPLL_KDIV_MASK  (0xffff)
+
+static inline unsigned long s3c6400_get_epll(unsigned long baseclk)
+{
+	unsigned long result;
+	u32 epll0 = __raw_readl(S3C_EPLL_CON0);
+	u32 epll1 = __raw_readl(S3C_EPLL_CON1);
+	u32 mdiv, pdiv, sdiv, kdiv;
+	u64 tmp;
+
+	mdiv = (epll0 >> S3C6400_EPLL_MDIV_SHIFT) & S3C6400_EPLL_MDIV_MASK;
+	pdiv = (epll0 >> S3C6400_EPLL_PDIV_SHIFT) & S3C6400_EPLL_PDIV_MASK;
+	sdiv = (epll0 >> S3C6400_EPLL_SDIV_SHIFT) & S3C6400_EPLL_SDIV_MASK;
+	kdiv = epll1 & S3C6400_EPLL_KDIV_MASK;
+
+	/* We need to multiple baseclk by mdiv (the integer part) and kdiv
+	 * which is in 2^16ths, so shift mdiv up (does not overflow) and
+	 * add kdiv before multiplying. The use of tmp is to avoid any
+	 * overflows before shifting bac down into result when multipling
+	 * by the mdiv and kdiv pair.
+	 */
+
+	tmp = baseclk;
+	tmp *= (mdiv << 16) + kdiv;
+	do_div(tmp, (pdiv << sdiv));
+	result = tmp >> 16;
+
+	return result;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/pm.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/pm.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/pm.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/pm.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,82 @@
+/* linux/include/asm-arm/plat-s3c24xx/pm.h
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Written by Ben Dooks, <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/sysdev.h>
+
+/* s3c2410_pm_init
+ *
+ * called from board at initialisation time to setup the power
+ * management
+*/
+
+#ifdef CONFIG_PM
+
+extern __init int s3c6410_pm_init(void);
+
+#else
+
+static inline int s3c6410_pm_init(void)
+{
+	return 0;
+}
+#endif
+
+/* configuration for the IRQ mask over sleep */
+extern unsigned long s3c_irqwake_intmask;
+extern unsigned long s3c_irqwake_eintmask;
+
+/* IRQ masks for IRQs allowed to go to sleep (see irq.c) */
+extern unsigned long s3c_irqwake_intallow;
+extern unsigned long s3c_irqwake_eintallow;
+
+/* per-cpu sleep functions */
+
+extern void (*pm_cpu_prep)(void);
+extern void (*pm_cpu_sleep)(void);
+
+/* Flags for PM Control */
+
+extern unsigned long s3c_pm_flags;
+
+/* from sleep.S */
+
+extern int  s3c6410_cpu_save(unsigned long *saveblk);
+extern void s3c6410_cpu_suspend(void);
+extern void s3c6410_cpu_resume(void);
+
+extern unsigned long s3c6410_sleep_save_phys;
+
+/* sleep save info */
+
+struct sleep_save {
+	void __iomem	*reg;
+	unsigned long	val;
+};
+
+struct sleep_save_phy {
+	unsigned long	reg;
+	unsigned long	val;
+};
+
+#define SAVE_ITEM(x) \
+	{ .reg = (x) }
+
+extern void s3c6410_pm_do_save_phy(struct sleep_save_phy *ptr, int count);
+extern void s3c6410_pm_do_restore_phy(struct sleep_save_phy *ptr, int count);
+extern void s3c6410_pm_do_save(struct sleep_save *ptr, int count);
+extern void s3c6410_pm_do_restore(struct sleep_save *ptr, int count);
+
+#ifdef CONFIG_PM
+extern int s3c64xx_irq_suspend(struct sys_device *dev, pm_message_t state);
+extern int s3c64xx_irq_resume(struct sys_device *dev);
+#else
+#define s3c64xx_irq_suspend	NULL
+#define s3c64xx_irq_resume	NULL
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/regs-clock.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/regs-clock.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/regs-clock.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/regs-clock.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,280 @@
+/* arch/arm/plat-s3c64xx/include/plat/regs-clock.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX clock register definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __PLAT_REGS_CLOCK_H
+#define __PLAT_REGS_CLOCK_H __FILE__
+
+#define S3C_CLKREG(x)		(S3C_VA_SYS + (x))
+
+#define S3C_APLL_LOCK		S3C_CLKREG(0x00)
+#define S3C_MPLL_LOCK		S3C_CLKREG(0x04)
+#define S3C_EPLL_LOCK		S3C_CLKREG(0x08)
+#define S3C_APLL_CON		S3C_CLKREG(0x0C)
+#define S3C_MPLL_CON		S3C_CLKREG(0x10)
+#define S3C_EPLL_CON0		S3C_CLKREG(0x14)
+#define S3C_EPLL_CON1		S3C_CLKREG(0x18)
+#define S3C_CLK_SRC		S3C_CLKREG(0x1C)
+#define S3C_CLK_SRC2            S3C_CLKREG(0x10C)
+#define S3C_CLK_DIV0		S3C_CLKREG(0x20)
+#define S3C_CLK_DIV1		S3C_CLKREG(0x24)
+#define S3C_CLK_DIV2		S3C_CLKREG(0x28)
+#define S3C_CLK_OUT		S3C_CLKREG(0x2C)
+#define S3C_HCLK_GATE		S3C_CLKREG(0x30)
+#define S3C_PCLK_GATE		S3C_CLKREG(0x34)
+#define S3C_SCLK_GATE		S3C_CLKREG(0x38)
+#define S3C_SDMA_SEL            S3C_CLKREG(0x110)
+#define S3C_SW_RST		S3C_CLKREG(0x114)
+#define S3C_SYS_ID		S3C_CLKREG(0x118)
+#define S3C_MEM_SYS_CFG		S3C_CLKREG(0x120)
+#define S3C_QOS_OVERRIDE0	S3C_CLKREG(0x124)
+#define S3C_QOS_OVERRIDE1	S3C_CLKREG(0x128)
+#define S3C_MEM_CFG_STAT	S3C_CLKREG(0x12C)
+#define S3C_PWR_CFG		S3C_CLKREG(0x804)
+#define S3C_EINT_MASK		S3C_CLKREG(0x808)
+#define S3C_NORMAL_CFG		S3C_CLKREG(0x810)
+#define S3C_STOP_CFG		S3C_CLKREG(0x814)
+#define S3C_SLEEP_CFG		S3C_CLKREG(0x818)
+#define S3C_OSC_FREQ		S3C_CLKREG(0x820)
+#define S3C_OSC_STABLE		S3C_CLKREG(0x824)
+#define S3C_PWR_STABLE		S3C_CLKREG(0x828)
+#define S3C_FPC_STABLE		S3C_CLKREG(0x82C)
+#define S3C_MTC_STABLE		S3C_CLKREG(0x830)
+#define S3C_OTHERS		S3C_CLKREG(0x900)
+#define S3C_RST_STAT		S3C_CLKREG(0x904)
+#define S3C_WAKEUP_STAT		S3C_CLKREG(0x908)
+#define S3C_BLK_PWR_STAT	S3C_CLKREG(0x90C)
+#define S3C_INFORM0		S3C_CLKREG(0xA00)
+#define S3C_INFORM1		S3C_CLKREG(0xA04)
+#define S3C_INFORM2		S3C_CLKREG(0xA08)
+#define S3C_INFORM3		S3C_CLKREG(0xA0C)
+#define S3C_INFORM4		S3C_CLKREG(0xA10)
+#define S3C_INFORM5		S3C_CLKREG(0xA14)
+#define S3C_INFORM6		S3C_CLKREG(0xA18)
+#define S3C_INFORM7		S3C_CLKREG(0xA1C)
+
+#define S3C64XX_EPLL_CON0_M_SHIFT	16
+#define S3C64XX_EPLL_CON0_P_SHIFT	8
+#define S3C64XX_EPLL_CON0_S_SHIFT	0
+#define S3C64XX_EPLL_CON1_K_SHIFT	0
+
+#define S3C64XX_EPLL_CON0_M_MASK	(0xff<<S3C64XX_EPLL_CON0_M_SHIFT)
+#define S3C64XX_EPLL_CON0_P_MASK	(0x3f<<S3C64XX_EPLL_CON0_P_SHIFT)
+#define S3C64XX_EPLL_CON0_S_MASK	(0x7<<S3C64XX_EPLL_CON0_S_SHIFT)
+#define S3C64XX_EPLL_CON1_K_MASK	(0xffff<<S3C64XX_EPLL_CON1_K_SHIFT)
+
+/* CLKDIV0 */
+#define S3C6400_CLKDIV0_MFC_MASK	(0xf << 28)
+#define S3C6400_CLKDIV0_MFC_SHIFT	(28)
+#define S3C6400_CLKDIV0_JPEG_MASK	(0xf << 24)
+#define S3C6400_CLKDIV0_JPEG_SHIFT	(24)
+#define S3C6400_CLKDIV0_CAM_MASK	(0xf << 20)
+#define S3C6400_CLKDIV0_CAM_SHIFT	(20)
+#define S3C6400_CLKDIV0_SECURITY_MASK	(0x3 << 18)
+#define S3C6400_CLKDIV0_SECURITY_SHIFT	(18)
+#define S3C6400_CLKDIV0_PCLK_MASK	(0xf << 12)
+#define S3C6400_CLKDIV0_PCLK_SHIFT	(12)
+#define S3C6400_CLKDIV0_HCLK2_MASK	(0x7 << 9)
+#define S3C6400_CLKDIV0_HCLK2_SHIFT	(9)
+#define S3C6400_CLKDIV0_HCLK_MASK	(0x1 << 8)
+#define S3C6400_CLKDIV0_HCLK_SHIFT	(8)
+#define S3C6400_CLKDIV0_MPLL_MASK	(0x1 << 4)
+#define S3C6400_CLKDIV0_MPLL_SHIFT	(4)
+#define S3C6400_CLKDIV0_ARM_MASK	(0x3 << 0)
+#define S3C6410_CLKDIV0_ARM_MASK	(0x7 << 0)
+#define S3C6400_CLKDIV0_ARM_SHIFT	(0)
+#define S3C6410_CLKDIV0_ARM_SHIFT	(0)
+
+/* CLKDIV1 */
+#define S3C6410_CLKDIV1_FIMC_MASK	(0xf << 24)
+#define S3C6410_CLKDIV1_FIMC_SHIFT	(24)
+#define S3C6400_CLKDIV1_UHOST_MASK	(0xf << 20)
+#define S3C6400_CLKDIV1_UHOST_SHIFT	(20)
+#define S3C6400_CLKDIV1_SCALER_MASK	(0xf << 16)
+#define S3C6400_CLKDIV1_SCALER_SHIFT	(16)
+#define S3C6400_CLKDIV1_LCD_MASK	(0xf << 12)
+#define S3C6400_CLKDIV1_LCD_SHIFT	(12)
+#define S3C6400_CLKDIV1_MMC2_MASK	(0xf << 8)
+#define S3C6400_CLKDIV1_MMC2_SHIFT	(8)
+#define S3C6400_CLKDIV1_MMC1_MASK	(0xf << 4)
+#define S3C6400_CLKDIV1_MMC1_SHIFT	(4)
+#define S3C6400_CLKDIV1_MMC0_MASK	(0xf << 0)
+#define S3C6400_CLKDIV1_MMC0_SHIFT	(0)
+
+/* CLKDIV2 */
+#define S3C6410_CLKDIV2_AUDIO2_MASK	(0xf << 24)
+#define S3C6410_CLKDIV2_AUDIO2_SHIFT	(24)
+#define S3C6400_CLKDIV2_IRDA_MASK	(0xf << 20)
+#define S3C6400_CLKDIV2_IRDA_SHIFT	(20)
+#define S3C6400_CLKDIV2_UART_MASK	(0xf << 16)
+#define S3C6400_CLKDIV2_UART_SHIFT	(16)
+#define S3C6400_CLKDIV2_AUDIO1_MASK	(0xf << 12)
+#define S3C6400_CLKDIV2_AUDIO1_SHIFT	(12)
+#define S3C6400_CLKDIV2_AUDIO0_MASK	(0xf << 8)
+#define S3C6400_CLKDIV2_AUDIO0_SHIFT	(8)
+#define S3C6400_CLKDIV2_SPI1_MASK	(0xf << 4)
+#define S3C6400_CLKDIV2_SPI1_SHIFT	(4)
+#define S3C6400_CLKDIV2_SPI0_MASK	(0xf << 0)
+#define S3C6400_CLKDIV2_SPI0_SHIFT	(0)
+
+/* HCLK GATE Registers */
+#define S3C_CLKCON_HCLK_BUS	(1<<30)
+#define S3C_CLKCON_HCLK_SECUR	(1<<29)
+#define S3C_CLKCON_HCLK_SDMA1	(1<<28)
+#define S3C_CLKCON_HCLK_SDMA2	(1<<27)
+#define S3C_CLKCON_HCLK_UHOST	(1<<26)
+#define S3C_CLKCON_HCLK_IROM	(1<<25)
+#define S3C_CLKCON_HCLK_DDR1	(1<<24)
+#define S3C_CLKCON_HCLK_DDR0	(1<<23)
+#define S3C_CLKCON_HCLK_MEM1	(1<<22)
+#define S3C_CLKCON_HCLK_MEM0	(1<<21)
+#define S3C_CLKCON_HCLK_USB	(1<<20)
+#define S3C_CLKCON_HCLK_HSMMC2	(1<<19)
+#define S3C_CLKCON_HCLK_HSMMC1	(1<<18)
+#define S3C_CLKCON_HCLK_HSMMC0	(1<<17)
+#define S3C_CLKCON_HCLK_MDP	(1<<16)
+#define S3C_CLKCON_HCLK_DHOST	(1<<15)
+#define S3C_CLKCON_HCLK_IHOST	(1<<14)
+#define S3C_CLKCON_HCLK_DMA1	(1<<13)
+#define S3C_CLKCON_HCLK_DMA0	(1<<12)
+#define S3C_CLKCON_HCLK_JPEG	(1<<11)
+#define S3C_CLKCON_HCLK_CAMIF	(1<<10)
+#define S3C_CLKCON_HCLK_SCALER	(1<<9)
+#define S3C_CLKCON_HCLK_2D	(1<<8)
+#define S3C_CLKCON_HCLK_TV	(1<<7)
+#define S3C_CLKCON_HCLK_POST0	(1<<5)
+#define S3C_CLKCON_HCLK_ROT	(1<<4)
+#define S3C_CLKCON_HCLK_LCD	(1<<3)
+#define S3C_CLKCON_HCLK_TZIC	(1<<2)
+#define S3C_CLKCON_HCLK_INTC	(1<<1)
+#define S3C_CLKCON_HCLK_MFC	(1<<0)
+
+/* PCLK GATE Registers */
+#define S3C6410_CLKCON_PCLK_I2C1	(1<<27)
+#define S3C6410_CLKCON_PCLK_IIS2	(1<<26)
+#define S3C_CLKCON_PCLK_SKEY		(1<<24)
+#define S3C_CLKCON_PCLK_CHIPID		(1<<23)
+#define S3C_CLKCON_PCLK_SPI1		(1<<22)
+#define S3C_CLKCON_PCLK_SPI0		(1<<21)
+#define S3C_CLKCON_PCLK_HSIRX		(1<<20)
+#define S3C_CLKCON_PCLK_HSITX		(1<<19)
+#define S3C_CLKCON_PCLK_GPIO		(1<<18)
+#define S3C_CLKCON_PCLK_IIC		(1<<17)
+#define S3C_CLKCON_PCLK_IIS1		(1<<16)
+#define S3C_CLKCON_PCLK_IIS0		(1<<15)
+#define S3C_CLKCON_PCLK_AC97		(1<<14)
+#define S3C_CLKCON_PCLK_TZPC		(1<<13)
+#define S3C_CLKCON_PCLK_TSADC		(1<<12)
+#define S3C_CLKCON_PCLK_KEYPAD		(1<<11)
+#define S3C_CLKCON_PCLK_IRDA		(1<<10)
+#define S3C_CLKCON_PCLK_PCM1		(1<<9)
+#define S3C_CLKCON_PCLK_PCM0		(1<<8)
+#define S3C_CLKCON_PCLK_PWM		(1<<7)
+#define S3C_CLKCON_PCLK_RTC		(1<<6)
+#define S3C_CLKCON_PCLK_WDT		(1<<5)
+#define S3C_CLKCON_PCLK_UART3		(1<<4)
+#define S3C_CLKCON_PCLK_UART2		(1<<3)
+#define S3C_CLKCON_PCLK_UART1		(1<<2)
+#define S3C_CLKCON_PCLK_UART0		(1<<1)
+#define S3C_CLKCON_PCLK_MFC		(1<<0)
+
+/* SCLK GATE Registers */
+#define S3C_CLKCON_SCLK_UHOST		(1<<30)
+#define S3C_CLKCON_SCLK_MMC2_48		(1<<29)
+#define S3C_CLKCON_SCLK_MMC1_48		(1<<28)
+#define S3C_CLKCON_SCLK_MMC0_48		(1<<27)
+#define S3C_CLKCON_SCLK_MMC2		(1<<26)
+#define S3C_CLKCON_SCLK_MMC1		(1<<25)
+#define S3C_CLKCON_SCLK_MMC0		(1<<24)
+#define S3C_CLKCON_SCLK_SPI1_48 	(1<<23)
+#define S3C_CLKCON_SCLK_SPI0_48 	(1<<22)
+#define S3C_CLKCON_SCLK_SPI1		(1<<21)
+#define S3C_CLKCON_SCLK_SPI0		(1<<20)
+#define S3C_CLKCON_SCLK_DAC27		(1<<19)
+#define S3C_CLKCON_SCLK_TV27		(1<<18)
+#define S3C_CLKCON_SCLK_SCALER27	(1<<17)
+#define S3C_CLKCON_SCLK_SCALER		(1<<16)
+#define S3C_CLKCON_SCLK_LCD27		(1<<15)
+#define S3C_CLKCON_SCLK_LCD		(1<<14)
+#define S3C6400_CLKCON_SCLK_POST1_27	(1<<13)
+#define S3C6410_CLKCON_FIMC		(1<<13)
+#define S3C_CLKCON_SCLK_POST0_27	(1<<12)
+#define S3C6400_CLKCON_SCLK_POST1	(1<<11)
+#define S3C6410_CLKCON_SCLK_AUDIO2	(1<<11)
+#define S3C_CLKCON_SCLK_POST0		(1<<10)
+#define S3C_CLKCON_SCLK_AUDIO1		(1<<9)
+#define S3C_CLKCON_SCLK_AUDIO0		(1<<8)
+#define S3C_CLKCON_SCLK_SECUR		(1<<7)
+#define S3C_CLKCON_SCLK_IRDA		(1<<6)
+#define S3C_CLKCON_SCLK_UART		(1<<5)
+#define S3C_CLKCON_SCLK_ONENAND 	(1<<4)
+#define S3C_CLKCON_SCLK_MFC		(1<<3)
+#define S3C_CLKCON_SCLK_CAM		(1<<2)
+#define S3C_CLKCON_SCLK_JPEG		(1<<1)
+
+/*OTHERS Resgister */
+#define S3C_OTHERS_USB_SIG_MASK		(1<<16)
+#define S3C_OTHERS_SYNCMUXSEL_SYNC	(1<<6)
+#define S3C_OTHERS_SYNCMODE_SYNC	(1<<7)
+
+
+/* CLKSRC */
+
+#define S3C6400_CLKSRC_APLL_MOUT	(1 << 0)
+#define S3C6400_CLKSRC_MPLL_MOUT	(1 << 1)
+#define S3C6400_CLKSRC_EPLL_MOUT	(1 << 2)
+#define S3C6400_CLKSRC_APLL_MOUT_SHIFT	(0)
+#define S3C6400_CLKSRC_MPLL_MOUT_SHIFT	(1)
+#define S3C6400_CLKSRC_EPLL_MOUT_SHIFT	(2)
+#define S3C6400_CLKSRC_MFC		(1 << 4)
+
+#define S3C6410_CLKSRC_TV27_MASK	(0x1 << 31)
+#define S3C6410_CLKSRC_TV27_SHIFT	(31)
+#define S3C6410_CLKSRC_DAC27_MASK	(0x1 << 30)
+#define S3C6410_CLKSRC_DAC27_SHIFT	(30)
+#define S3C6400_CLKSRC_SCALER_MASK	(0x3 << 28)
+#define S3C6400_CLKSRC_SCALER_SHIFT	(28)
+#define S3C6400_CLKSRC_LCD_MASK		(0x3 << 26)
+#define S3C6400_CLKSRC_LCD_SHIFT	(26)
+#define S3C6400_CLKSRC_IRDA_MASK	(0x3 << 24)
+#define S3C6400_CLKSRC_IRDA_SHIFT	(24)
+#define S3C6400_CLKSRC_MMC2_MASK	(0x3 << 22)
+#define S3C6400_CLKSRC_MMC2_SHIFT	(22)
+#define S3C6400_CLKSRC_MMC1_MASK	(0x3 << 20)
+#define S3C6400_CLKSRC_MMC1_SHIFT	(20)
+#define S3C6400_CLKSRC_MMC0_MASK	(0x3 << 18)
+#define S3C6400_CLKSRC_MMC0_SHIFT	(18)
+#define S3C6400_CLKSRC_SPI1_MASK	(0x3 << 16)
+#define S3C6400_CLKSRC_SPI1_SHIFT	(16)
+#define S3C6400_CLKSRC_SPI0_MASK	(0x3 << 14)
+#define S3C6400_CLKSRC_SPI0_SHIFT	(14)
+#define S3C6400_CLKSRC_UART_MASK	(0x1 << 13)
+#define S3C6400_CLKSRC_UART_SHIFT	(13)
+#define S3C6400_CLKSRC_AUDIO1_MASK	(0x7 << 10)
+#define S3C6400_CLKSRC_AUDIO1_SHIFT	(10)
+#define S3C6400_CLKSRC_AUDIO0_MASK	(0x7 << 7)
+#define S3C6400_CLKSRC_AUDIO0_SHIFT	(7)
+#define S3C6400_CLKSRC_UHOST_MASK	(0x3 << 5)
+#define S3C6400_CLKSRC_UHOST_SHIFT	(5)
+
+#define S3C6410_CLKSRC2_AUDIO2_MASK	(0x7 << 0)
+#define S3C6410_CLKSRC2_AUDIO2_SHIFT	(0)
+
+/*CLK SRC BITS*/
+#define S3C_CLKSRC_APLL_CLKSEL          (1<<0)
+#define S3C_CLKSRC_MPLL_CLKSEL          (1<<1)
+#define S3C_CLKSRC_EPLL_CLKSEL          (1<<2)
+#define S3C_CLKSRC_UHOST_EPLL           (1<<5)
+#define S3C_CLKSRC_UHOST_MASK           (3<<5)
+
+#endif /* _PLAT_REGS_CLOCK_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/regs-fimc.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/regs-fimc.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/regs-fimc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/regs-fimc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,377 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/regs-fimc.h
+ *
+ * Register definition file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _REGS_FIMC_H
+#define _REGS_FIMC_H
+
+#define S3C_FIMCREG(x) 	(x)
+
+/*************************************************************************
+ * Register part
+ ************************************************************************/
+#define S3C_CICOYSA(__x) 			S3C_FIMCREG(0x18 + (__x) * 4)
+#define S3C_CICOCBSA(__x) 			S3C_FIMCREG(0x28 + (__x) * 4)
+#define S3C_CICOCRSA(__x)  			S3C_FIMCREG(0x38 + (__x) * 4)
+#define S3C_CIPRYSA(__x) 			S3C_FIMCREG(0x6c + (__x) * 4)
+#define S3C_CIPRCBSA(__x) 			S3C_FIMCREG(0x7c + (__x) * 4)
+#define S3C_CIPRCRSA(__x)  			S3C_FIMCREG(0x8c + (__x) * 4)
+
+#define S3C_CISRCFMT				S3C_FIMCREG(0x00)	/* Input source format */
+#define S3C_CIWDOFST				S3C_FIMCREG(0x04)	/* Window offset */
+#define S3C_CIGCTRL				S3C_FIMCREG(0x08)	/* Global control */
+#define S3C_CIWDOFST2				S3C_FIMCREG(0x14)	/* Window offset 2 */
+#define S3C_CICOYSA1				S3C_FIMCREG(0x18)	/* Y 1st frame start address for output DMA */
+#define S3C_CICOYSA2				S3C_FIMCREG(0x1c)	/* Y 2nd frame start address for output DMA */
+#define S3C_CICOYSA3				S3C_FIMCREG(0x20)	/* Y 3rd frame start address for output DMA */
+#define S3C_CICOYSA4				S3C_FIMCREG(0x24)	/* Y 4th frame start address for output DMA */
+#define S3C_CICOCBSA1				S3C_FIMCREG(0x28)	/* Cb 1st frame start address for output DMA */
+#define S3C_CICOCBSA2				S3C_FIMCREG(0x2c)	/* Cb 2nd frame start address for output DMA */
+#define S3C_CICOCBSA3				S3C_FIMCREG(0x30)	/* Cb 3rd frame start address for output DMA */
+#define S3C_CICOCBSA4				S3C_FIMCREG(0x34)	/* Cb 4th frame start address for output DMA */
+#define S3C_CICOCRSA1				S3C_FIMCREG(0x38)	/* Cr 1st frame start address for output DMA */
+#define S3C_CICOCRSA2				S3C_FIMCREG(0x3c)	/* Cr 2nd frame start address for output DMA */
+#define S3C_CICOCRSA3				S3C_FIMCREG(0x40)	/* Cr 3rd frame start address for output DMA */
+#define S3C_CICOCRSA4				S3C_FIMCREG(0x44)	/* Cr 4th frame start address for output DMA */
+#define S3C_CICOTRGFMT				S3C_FIMCREG(0x48)	/* Target image format */
+#define S3C_CICOCTRL				S3C_FIMCREG(0x4c)	/* Output DMA control */
+#define S3C_CICOSCPRERATIO			S3C_FIMCREG(0x50)	/* Pre-scaler control 1 */
+#define S3C_CICOSCPREDST			S3C_FIMCREG(0x54)	/* Pre-scaler control 2 */
+#define S3C_CICOSCCTRL				S3C_FIMCREG(0x58)	/* Main scaler control */
+#define S3C_CICOTAREA				S3C_FIMCREG(0x5c)	/* Target area */
+#define S3C_CICOSTATUS				S3C_FIMCREG(0x64)	/* Status */
+#define S3C_CIPRYSA1				S3C_FIMCREG(0x6c)	/* Y 1st frame start address for output DMA */
+#define S3C_CIPRYSA2				S3C_FIMCREG(0x70)	/* Y 2nd frame start address for output DMA */
+#define S3C_CIPRYSA3				S3C_FIMCREG(0x74)	/* Y 3rd frame start address for output DMA */
+#define S3C_CIPRYSA4				S3C_FIMCREG(0x78)	/* Y 4th frame start address for output DMA */
+#define S3C_CIPRCBSA1				S3C_FIMCREG(0x7c)	/* Cb 1st frame start address for output DMA */
+#define S3C_CIPRCBSA2				S3C_FIMCREG(0x80)	/* Cb 2nd frame start address for output DMA */
+#define S3C_CIPRCBSA3				S3C_FIMCREG(0x84)	/* Cb 3rd frame start address for output DMA */
+#define S3C_CIPRCBSA4				S3C_FIMCREG(0x88)	/* Cb 4th frame start address for output DMA */
+#define S3C_CIPRCRSA1				S3C_FIMCREG(0x8c)	/* Cr 1st frame start address for output DMA */
+#define S3C_CIPRCRSA2				S3C_FIMCREG(0x90)	/* Cr 2nd frame start address for output DMA */
+#define S3C_CIPRCRSA3				S3C_FIMCREG(0x94)	/* Cr 3rd frame start address for output DMA */
+#define S3C_CIPRCRSA4				S3C_FIMCREG(0x98)	/* Cr 4th frame start address for output DMA */
+#define S3C_CIPRTRGFMT				S3C_FIMCREG(0x9c)	/* Target image format */
+#define S3C_CIPRCTRL				S3C_FIMCREG(0xa0)	/* Output DMA control */
+#define S3C_CIPRSCPRERATIO			S3C_FIMCREG(0xa4)	/* Pre-scaler control 1 */
+#define S3C_CIPRSCPREDST			S3C_FIMCREG(0xa8)	/* Pre-scaler control 2 */
+#define S3C_CIPRSCCTRL				S3C_FIMCREG(0xac)	/* Main scaler control */
+#define S3C_CIPRTAREA				S3C_FIMCREG(0xb0)	/* Target area */
+#define S3C_CIPRSTATUS				S3C_FIMCREG(0xb8)	/* Status */
+#define S3C_CIIMGCPT				S3C_FIMCREG(0xc0)	/* Image capture enable command */
+#define S3C_CICPTSEQ				S3C_FIMCREG(0xc4)	/* Capture sequence */
+#define S3C_CIIMGEFF				S3C_FIMCREG(0xd0)	/* Image effects */
+#define S3C_MSCOY0SA				S3C_FIMCREG(0xd4)	/* Y frame start address for input DMA */
+#define S3C_MSCOCB0SA				S3C_FIMCREG(0xd8)	/* Cb frame start address for input DMA */
+#define S3C_MSCOCR0SA				S3C_FIMCREG(0xdc)	/* Cr frame start address for input DMA */
+#define S3C_MSCOY0END				S3C_FIMCREG(0xe0)	/* Y frame end address for input DMA */
+#define S3C_MSCOCB0END				S3C_FIMCREG(0xe4)	/* Cb frame end address for input DMA */
+#define S3C_MSCOCR0END				S3C_FIMCREG(0xe8)	/* Cr frame end address for input DMA */
+#define S3C_MSCOYOFF				S3C_FIMCREG(0xec)	/* Y offset */
+#define S3C_MSCOCBOFF				S3C_FIMCREG(0xf0)	/* CB offset */
+#define S3C_MSCOCROFF				S3C_FIMCREG(0xf4)	/* CR offset */
+#define S3C_MSCOWIDTH				S3C_FIMCREG(0xf8)	/* Real input DMA image size */
+#define S3C_MSCOCTRL				S3C_FIMCREG(0xfc)	/* Input DMA control */
+#define S3C_MSPRY0SA				S3C_FIMCREG(0x100)	/* Y frame start address for input DMA */
+#define S3C_MSPRCB0SA				S3C_FIMCREG(0x104)	/* Cb frame start address for input DMA */
+#define S3C_MSPRCR0SA				S3C_FIMCREG(0x108)	/* Cr frame start address for input DMA */
+#define S3C_MSPRY0END				S3C_FIMCREG(0x10c)	/* Y frame end address for input DMA */
+#define S3C_MSPRCB0END				S3C_FIMCREG(0x110)	/* Cb frame end address for input DMA */
+#define S3C_MSPRCR0END				S3C_FIMCREG(0x114)	/* Cr frame end address for input DMA */
+#define S3C_MSPRYOFF				S3C_FIMCREG(0x118)	/* Y offset */
+#define S3C_MSPRCBOFF				S3C_FIMCREG(0x11c)	/* CB offset */
+#define S3C_MSPRCROFF				S3C_FIMCREG(0x120)	/* CR offset */
+#define S3C_MSPRWIDTH				S3C_FIMCREG(0x124)	/* Real input DMA image size */
+#define S3C_MSPRCTRL				S3C_FIMCREG(0x128)	/* Input DMA control */
+#define S3C_CICOSCOSY				S3C_FIMCREG(0x12c)
+#define S3C_CICOSCOSCB				S3C_FIMCREG(0x130)
+#define S3C_CICOSCOSCR				S3C_FIMCREG(0x134)
+#define S3C_CIPRSPRSY				S3C_FIMCREG(0x138)
+#define S3C_CIPRSPRSCB				S3C_FIMCREG(0x13c)
+#define S3C_CIPRSPRSCR				S3C_FIMCREG(0x140)
+
+/*************************************************************************
+ * Macro part
+ ************************************************************************/
+#define S3C_CISRCFMT_SOURCEHSIZE(x)		((x) << 16)
+#define S3C_CISRCFMT_SOURCEVSIZE(x)		((x) << 0)
+
+#define S3C_CIWDOFST_WINHOROFST(x)		((x) << 16)
+#define S3C_CIWDOFST_WINVEROFST(x)		((x) << 0)
+
+#define S3C_CIWDOFST2_WINHOROFST2(x)		((x) << 16)
+#define S3C_CIWDOFST2_WINVEROFST2(x)		((x) << 0)
+
+#define S3C_CICOTRGFMT_TARGETHSIZE(x)		((x) << 16)
+#define S3C_CICOTRGFMT_TARGETVSIZE(x)		((x) << 0)
+
+#define S3C_CICOCTRL_YBURST1(x)			((x) << 19)
+#define S3C_CICOCTRL_YBURST2(x)			((x) << 14)
+#define S3C_CICOCTRL_CBURST1(x)			((x) << 9)
+#define S3C_CICOCTRL_CBURST2(x)			((x) << 4)
+
+#define S3C_CICOSCPRERATIO_SHFACTOR(x)		((x) << 28)
+#define S3C_CICOSCPRERATIO_PREHORRATIO(x)	((x) << 16)
+#define S3C_CICOSCPRERATIO_PREVERRATIO(x)	((x) << 0)
+
+#define S3C_CICOSCPREDST_PREDSTWIDTH(x)		((x) << 16)
+#define S3C_CICOSCPREDST_PREDSTHEIGHT(x)	((x) << 0)
+
+#define S3C_CICOSCCTRL_MAINHORRATIO(x)		((x) << 16)
+#define S3C_CICOSCCTRL_MAINVERRATIO(x)		((x) << 0)
+
+#define S3C_CICOTAREA_TARGET_AREA(x)		((x) << 0)
+
+#define S3C_CICOSTATUS_GET_FRAME_COUNT(x)	(((x) >> 26) & 0x3)
+#define S3C_CICOSTATUS_GET_FRAME_END(x)		(((x) >> 17) & 0x1)
+
+#define S3C_CIPRTRGFMT_TARGETHSIZE(x)		((x) << 16)
+#define S3C_CIPRTRGFMT_TARGETVSIZE(x)		((x) << 0)
+
+#define S3C_CIPRCTRL_YBURST1(x)			((x) << 19)
+#define S3C_CIPRCTRL_YBURST2(x)			((x) << 14)
+#define S3C_CIPRCTRL_CBURST1(x)			((x) << 9)
+#define S3C_CIPRCTRL_CBURST2(x)			((x) << 4)
+
+#define S3C_CIPRSCPRERATIO_SHFACTOR(x)		((x) << 28)
+#define S3C_CIPRSCPRERATIO_PREHORRATIO(x)	((x) << 16)
+#define S3C_CIPRSCPRERATIO_PREVERRATIO(x)	((x) << 0)
+
+#define S3C_CIPRSCPREDST_PREDSTWIDTH(x)		((x) << 16)
+#define S3C_CIPRSCPREDST_PREDSTHEIGHT(x)	((x) << 0)
+
+#define S3C_CIPRSCCTRL_MAINHORRATIO(x)		((x) << 16)
+#define S3C_CIPRSCCTRL_MAINVERRATIO(x)		((x) << 0)
+
+#define S3C_CIPRTAREA_TARGET_AREA(x)		((x) << 0)
+
+#define S3C_CIPRSTATUS_GET_FRAME_COUNT(x)	(((x) >> 26) & 0x3)
+#define S3C_CIPRSTATUS_GET_FRAME_END(x)		(((x) >> 19) & 0x1)
+
+#define S3C_CIIMGEFF_PAT_CB(x)			((x) << 13)
+#define S3C_CIIMGEFF_PAT_CR(x)			((x) << 0)
+
+#define S3C_MSCO_HEIGHT(x)			((x) << 16)
+#define S3C_MSCO_WIDTH(x)			((x) << 0)
+
+#define S3C_MSPR_HEIGHT(x)			((x) << 16)
+#define S3C_MSPR_WIDTH(x)			((x) << 0)
+
+/*************************************************************************
+ * Bit definition part
+ ************************************************************************/
+/* Source format register */
+#define S3C_CISRCFMT_ITU601_8BIT		(1 << 31)
+#define S3C_CISRCFMT_ITU656_8BIT		(0 << 31)
+#define S3C_CISRCFMT_ORDER422_YCBYCR		(0 << 14)
+#define S3C_CISRCFMT_ORDER422_YCRYCB		(1 << 14)
+#define S3C_CISRCFMT_ORDER422_CBYCRY		(2 << 14)
+#define S3C_CISRCFMT_ORDER422_CRYCBY		(3 << 14)
+
+/* Window offset register */
+#define S3C_CIWDOFST_WINOFSEN			(1 << 31)
+#define S3C_CIWDOFST_CLROVCOFIY			(1 << 30)
+#define S3C_CIWDOFST_CLROVRLB_PR		(1 << 28)
+#define S3C_CIWDOFST_CLROVPRFIY			(1 << 27)
+#define S3C_CIWDOFST_CLROVCOFICB		(1 << 15)
+#define S3C_CIWDOFST_CLROVCOFICR		(1 << 14)
+#define S3C_CIWDOFST_CLROVPRFICB		(1 << 13)
+#define S3C_CIWDOFST_CLROVPRFICR		(1 << 12)
+#define S3C_CIWDOFST_WINHOROFST_MASK		(0x7ff << 16)
+#define S3C_CIWDOFST_WINVEROFST_MASK		(0x7ff << 0)
+
+/* Global control register */
+#define S3C_CIGCTRL_SWRST			(1 << 31)
+#define S3C_CIGCTRL_CAMRST			(1 << 30)
+#define S3C_CIGCTRL_TESTPATTERN_NORMAL		(0 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_COLOR_BAR	(1 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_HOR_INC		(2 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_VER_INC		(3 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_MASK		(3 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_SHIFT		(27)
+#define S3C_CIGCTRL_INVPOLPCLK			(1 << 26)
+#define S3C_CIGCTRL_INVPOLVSYNC			(1 << 25)
+#define S3C_CIGCTRL_INVPOLHREF			(1 << 24)
+#define S3C_CIGCTRL_IRQ_OVFEN			(1 << 22)
+#define S3C_CIGCTRL_HREF_MASK			(1 << 21)
+#define S3C_CIGCTRL_IRQ_EDGE			(0 << 20)
+#define S3C_CIGCTRL_IRQ_LEVEL			(1 << 20)
+#define S3C_CIGCTRL_IRQ_CLR_C			(1 << 19)
+#define S3C_CIGCTRL_IRQ_CLR_P			(1 << 18)
+#define S3C_CIGCTRL_PROGRESSIVE			(0 << 0)
+#define S3C_CIGCTRL_INTERLACE			(1 << 0)
+
+/* Window offset2 register */
+#define S3C_CIWDOFST_WINHOROFST2_MASK		(0xfff << 16)
+#define S3C_CIWDOFST_WINVEROFST2_MASK		(0xfff << 16)
+
+/* Target format register */
+#define S3C_CICOTRGFMT_OUTFORMAT_YCBCR420	(0 << 29)
+#define S3C_CICOTRGFMT_OUTFORMAT_YCBCR422	(1 << 29)
+#define S3C_CICOTRGFMT_OUTFORMAT_YCBCR422I	(2 << 29)
+#define S3C_CICOTRGFMT_OUTFORMAT_RGB		(3 << 29)
+#define S3C_CICOTRGFMT_FLIP_SHIFT		(14)
+#define S3C_CICOTRGFMT_FLIP_NORMAL		(0 << 14)
+#define S3C_CICOTRGFMT_FLIP_X_MIRROR		(1 << 14)
+#define S3C_CICOTRGFMT_FLIP_Y_MIRROR		(2 << 14)
+#define S3C_CICOTRGFMT_FLIP_180			(3 << 14)
+#define S3C_CICOTRGFMT_FLIP_MASK		(3 << 14)
+
+/* Output DMA control register */
+#define S3C_CICOCTRL_BURST_MASK			(0xfffff << 4)
+#define S3C_CICOCTRL_LASTIRQ_ENABLE		(1 << 2)
+#define S3C_CICOCTRL_ORDER422_MASK		(3 << 0)
+
+/* Main scaler control register */
+#define S3C_CICOSCCTRL_SCALERBYPASS		(1 << 31)
+#define S3C_CICOSCCTRL_SCALEUP_H		(1 << 30)
+#define S3C_CICOSCCTRL_SCALEUP_V		(1 << 29)
+#define S3C_CICOSCCTRL_CSCR2Y_NARROW		(0 << 28)
+#define S3C_CICOSCCTRL_CSCR2Y_WIDE		(1 << 28)
+#define S3C_CICOSCCTRL_CSCY2R_NARROW		(0 << 27)
+#define S3C_CICOSCCTRL_CSCY2R_WIDE		(1 << 27)
+#define S3C_CICOSCCTRL_LCDPATHEN_FIFO		(1 << 26)
+#define S3C_CICOSCCTRL_PROGRESSIVE		(0 << 25)
+#define S3C_CICOSCCTRL_INTERLACE		(1 << 25)
+#define S3C_CICOSCCTRL_SCALERSTART		(1 << 15)
+#define S3C_CICOSCCTRL_INRGB_FMT_RGB565		(0 << 13)
+#define S3C_CICOSCCTRL_INRGB_FMT_RGB666		(1 << 13)
+#define S3C_CICOSCCTRL_INRGB_FMT_RGB888		(2 << 13)
+#define S3C_CICOSCCTRL_OUTRGB_FMT_RGB565	(0 << 11)
+#define S3C_CICOSCCTRL_OUTRGB_FMT_RGB666	(1 << 11)
+#define S3C_CICOSCCTRL_OUTRGB_FMT_RGB888	(2 << 11)
+#define S3C_CICOSCCTRL_EXTRGB_NORMAL		(0 << 10)
+#define S3C_CICOSCCTRL_EXTRGB_EXTENSION		(1 << 10)
+#define S3C_CICOSCCTRL_ONE2ONE			(1 << 9)
+
+/* Status register */
+#define S3C_CICOSTATUS_OVFIY			(1 << 31)
+#define S3C_CICOSTATUS_OVFICB			(1 << 30)
+#define S3C_CICOSTATUS_OVFICR			(1 << 29)
+#define S3C_CICOSTATUS_VSYNC			(1 << 28)
+#define S3C_CICOSTATUS_WINOFSTEN		(1 << 25)
+#define S3C_CICOSTATUS_IMGCPTEN			(1 << 22)
+#define S3C_CICOSTATUS_IMGCPTENSC		(1 << 21)
+#define S3C_CICOSTATUS_VSYNC_A			(1 << 20)
+#define S3C_CICOSTATUS_FRAMEEND			(1 << 17)
+
+/* Target format register */
+#define S3C_CIPRTRGFMT_OUTFORMAT_YCBCR420	(0 << 29)
+#define S3C_CIPRTRGFMT_OUTFORMAT_YCBCR422	(1 << 29)
+#define S3C_CIPRTRGFMT_OUTFORMAT_YCBCR422I	(2 << 29)
+#define S3C_CIPRTRGFMT_OUTFORMAT_RGB		(3 << 29)
+#define S3C_CIPRTRGFMT_FLIP_SHIFT		(14)
+#define S3C_CIPRTRGFMT_FLIP_NORMAL		(0 << 14)
+#define S3C_CIPRTRGFMT_FLIP_X_MIRROR		(1 << 14)
+#define S3C_CIPRTRGFMT_FLIP_Y_MIRROR		(2 << 14)
+#define S3C_CIPRTRGFMT_FLIP_180			(3 << 14)
+#define S3C_CIPRTRGFMT_FLIP_MASK		(3 << 14)
+#define S3C_CIPRTRGFMT_ROT90_CLOCKWISE		(1 << 13)
+
+/* Output DMA control register */
+#define S3C_CIPRCTRL_BURST_MASK			(0xfffff << 4)
+#define S3C_CIPRCTRL_LASTIRQ_ENABLE		(1 << 2)
+#define S3C_CIPRCTRL_ORDER422_MASK		(3 << 0)
+
+/* Main scaler control register */
+#define S3C_CIPRSCCTRL_SCALERBYPASS		(1 << 31)
+#define S3C_CIPRSCCTRL_SCALEUP_H		(1 << 30)
+#define S3C_CIPRSCCTRL_SCALEUP_V		(1 << 29)
+#define S3C_CIPRSCCTRL_CSCR2Y_NARROW		(0 << 28)
+#define S3C_CIPRSCCTRL_CSCR2Y_WIDE		(1 << 28)
+#define S3C_CIPRSCCTRL_CSCY2R_NARROW		(0 << 27)
+#define S3C_CIPRSCCTRL_CSCY2R_WIDE		(1 << 27)
+#define S3C_CIPRSCCTRL_LCDPATHEN_FIFO		(1 << 26)
+#define S3C_CIPRSCCTRL_PROGRESSIVE		(0 << 25)
+#define S3C_CIPRSCCTRL_INTERLACE		(1 << 25)
+#define S3C_CIPRSCCTRL_SCALERSTART		(1 << 15)
+#define S3C_CIPRSCCTRL_INRGB_FMT_RGB565		(0 << 13)
+#define S3C_CIPRSCCTRL_INRGB_FMT_RGB666		(1 << 13)
+#define S3C_CIPRSCCTRL_INRGB_FMT_RGB888		(2 << 13)
+#define S3C_CIPRSCCTRL_OUTRGB_FMT_RGB565	(0 << 11)
+#define S3C_CIPRSCCTRL_OUTRGB_FMT_RGB666	(1 << 11)
+#define S3C_CIPRSCCTRL_OUTRGB_FMT_RGB888	(2 << 11)
+#define S3C_CIPRSCCTRL_EXTRGB_NORMAL		(0 << 10)
+#define S3C_CIPRSCCTRL_EXTRGB_EXTENSION		(1 << 10)
+#define S3C_CIPRSCCTRL_ONE2ONE			(1 << 9)
+
+/* Status register */
+#define S3C_CIPRSTATUS_OVFIY			(1 << 31)
+#define S3C_CIPRSTATUS_OVFICB			(1 << 30)
+#define S3C_CIPRSTATUS_OVFICR			(1 << 29)
+#define S3C_CIPRSTATUS_VSYNC			(1 << 28)
+#define S3C_CIPRSTATUS_WINOFSTEN		(1 << 25)
+#define S3C_CIPRSTATUS_IMGCPTEN			(1 << 22)
+#define S3C_CIPRSTATUS_IMGCPTENSC		(1 << 21)
+#define S3C_CIPRSTATUS_VSYNC_A			(1 << 20)
+#define S3C_CIPRSTATUS_FRAMEEND			(1 << 19)
+
+/* Image capture enable register */
+#define S3C_CIIMGCPT_IMGCPTEN			(1 << 31)
+#define S3C_CIIMGCPT_IMGCPTEN_COSC		(1 << 30)
+#define S3C_CIIMGCPT_IMGCPTEN_PRSC		(1 << 29)
+#define S3C_CIIMGCPT_CPT_FREN_ENABLE_CO		(1 << 25)
+#define S3C_CIIMGCPT_CPT_FREN_ENABLE_PR		(1 << 24)
+#define S3C_CIIMGCPT_CPT_FRMOD_EN		(0 << 18)
+#define S3C_CIIMGCPT_CPT_FRMOD_CNT		(1 << 18)
+
+/* Image effects register */
+#define S3C_CIIMGEFF_IE_DISABLE_PR		(0 << 31)
+#define S3C_CIIMGEFF_IE_ENABLE_PR		(1 << 31)
+#define S3C_CIIMGEFF_IE_DISABLE_CO		(0 << 30)
+#define S3C_CIIMGEFF_IE_ENABLE_CO		(1 << 30)
+#define S3C_CIIMGEFF_IE_SC_BEFORE		(0 << 29)
+#define S3C_CIIMGEFF_IE_SC_AFTER		(1 << 29)
+#define S3C_CIIMGEFF_FIN_BYPASS			(0 << 26)
+#define S3C_CIIMGEFF_FIN_ARBITRARY		(1 << 26)
+#define S3C_CIIMGEFF_FIN_NEGATIVE		(2 << 26)
+#define S3C_CIIMGEFF_FIN_ARTFREEZE		(3 << 26)
+#define S3C_CIIMGEFF_FIN_EMBOSSING		(4 << 26)
+#define S3C_CIIMGEFF_FIN_SILHOUETTE		(5 << 26)
+#define S3C_CIIMGEFF_FIN_MASK			(7 << 26)
+#define S3C_CIIMGEFF_PAT_CBCR_MASK		((0xff < 13) | (0xff < 0))
+
+/* Real input DMA size register */
+#define S3C_MSCOWIDTH_AUTOLOAD_ENABLE		(1 << 31)
+
+/* Input DMA control register */
+#define S3C_MSCOCTRL_ORDER422_YCBYCR		(0 << 4)
+#define S3C_MSCOCTRL_ORDER422_YCRYCB		(1 << 4)
+#define S3C_MSCOCTRL_ORDER422_CBYCRY		(2 << 4)
+#define S3C_MSCOCTRL_ORDER422_CRYCBY		(3 << 4)
+#define S3C_MSCOCTRL_INPUT_EXTCAM		(0 << 3)
+#define S3C_MSCOCTRL_INPUT_MEMORY		(1 << 3)
+#define S3C_MSCOCTRL_INPUT_MASK			(1 << 3)
+#define S3C_MSCOCTRL_INFORMAT_YCBCR420		(0 << 1)
+#define S3C_MSCOCTRL_INFORMAT_YCBCR422		(1 << 1)
+#define S3C_MSCOCTRL_INFORMAT_YCBCR422I		(2 << 1)
+#define S3C_MSCOCTRL_INFORMAT_RGB		(3 << 1)
+#define S3C_MSCOCTRL_ENVID			(1 << 0)
+
+/* Real input DMA size register */
+#define S3C_MSPRWIDTH_AUTOLOAD_ENABLE		(1 << 31)
+
+/* Input DMA control register */
+#define S3C_MSPRCTRL_ORDER422_YCBYCR		(0 << 4)
+#define S3C_MSPRCTRL_ORDER422_YCRYCB		(1 << 4)
+#define S3C_MSPRCTRL_ORDER422_CBYCRY		(2 << 4)
+#define S3C_MSPRCTRL_ORDER422_CRYCBY		(3 << 4)
+#define S3C_MSPRCTRL_INPUT_EXTCAM		(0 << 3)
+#define S3C_MSPRCTRL_INPUT_MEMORY		(1 << 3)
+#define S3C_MSPRCTRL_INPUT_MASK			(1 << 3)
+#define S3C_MSPRCTRL_INFORMAT_YCBCR420		(0 << 1)
+#define S3C_MSPRCTRL_INFORMAT_YCBCR422		(1 << 1)
+#define S3C_MSPRCTRL_INFORMAT_YCBCR422I		(2 << 1)
+#define S3C_MSPRCTRL_INFORMAT_RGB		(3 << 1)
+#define S3C_MSPRCTRL_ENVID			(1 << 0)
+
+#endif /* _REGS_FIMC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/regs-gpio.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/regs-gpio.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/regs-gpio.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/regs-gpio.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,102 @@
+/* linux/arch/arm/plat-s3c64xx/include/plat/regs-gpio.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX - GPIO register definitions
+ */
+
+#ifndef __ASM_PLAT_S3C64XX_REGS_GPIO_H
+#define __ASM_PLAT_S3C64XX_REGS_GPIO_H __FILE__
+
+#include <plat/gpio-bank-a.h>
+#include <plat/gpio-bank-b.h>
+#include <plat/gpio-bank-c.h>
+#include <plat/gpio-bank-d.h>
+#include <plat/gpio-bank-e.h>
+#include <plat/gpio-bank-f.h>
+#include <plat/gpio-bank-g.h>
+#include <plat/gpio-bank-h.h>
+#include <plat/gpio-bank-i.h>
+#include <plat/gpio-bank-j.h>
+#include <plat/gpio-bank-k.h>
+#include <plat/gpio-bank-l.h>
+#include <plat/gpio-bank-n.h>
+#include <plat/gpio-bank-m.h>
+#include <plat/gpio-bank-o.h>
+#include <plat/gpio-bank-p.h>
+#include <plat/gpio-bank-q.h>
+#include <mach/map.h>
+
+/* Base addresses for each of the banks */
+
+#define S3C64XX_GPA_BASE	(S3C64XX_VA_GPIO + 0x0000)
+#define S3C64XX_GPB_BASE	(S3C64XX_VA_GPIO + 0x0020)
+#define S3C64XX_GPC_BASE	(S3C64XX_VA_GPIO + 0x0040)
+#define S3C64XX_GPD_BASE	(S3C64XX_VA_GPIO + 0x0060)
+#define S3C64XX_GPE_BASE	(S3C64XX_VA_GPIO + 0x0080)
+#define S3C64XX_GPF_BASE	(S3C64XX_VA_GPIO + 0x00A0)
+#define S3C64XX_GPG_BASE	(S3C64XX_VA_GPIO + 0x00C0)
+#define S3C64XX_GPH_BASE	(S3C64XX_VA_GPIO + 0x00E0)
+#define S3C64XX_GPI_BASE	(S3C64XX_VA_GPIO + 0x0100)
+#define S3C64XX_GPJ_BASE	(S3C64XX_VA_GPIO + 0x0120)
+#define S3C64XX_GPK_BASE	(S3C64XX_VA_GPIO + 0x0800)
+#define S3C64XX_GPL_BASE	(S3C64XX_VA_GPIO + 0x0810)
+#define S3C64XX_GPM_BASE	(S3C64XX_VA_GPIO + 0x0820)
+#define S3C64XX_GPN_BASE	(S3C64XX_VA_GPIO + 0x0830)
+#define S3C64XX_GPO_BASE	(S3C64XX_VA_GPIO + 0x0140)
+#define S3C64XX_GPP_BASE	(S3C64XX_VA_GPIO + 0x0160)
+#define S3C64XX_GPQ_BASE	(S3C64XX_VA_GPIO + 0x0180)
+#define S3C64XX_SPC_BASE	(S3C64XX_VA_GPIO + 0x01A0)
+#define S3C64XX_MEM0CONSTOP	(S3C64XX_VA_GPIO + 0x01B0)
+#define S3C64XX_MEM1CONSTOP	(S3C64XX_VA_GPIO + 0x01B4)
+#define S3C64XX_MEM0CONSLP0	(S3C64XX_VA_GPIO + 0x01C0)
+#define S3C64XX_MEM0CONSLP1	(S3C64XX_VA_GPIO + 0x01C4)
+#define S3C64XX_MEM1CONSLP	(S3C64XX_VA_GPIO + 0x01C8)
+#define S3C64XX_MEM0DRVCON	(S3C64XX_VA_GPIO + 0x01D0)
+#define S3C64XX_MEM1DRVCON	(S3C64XX_VA_GPIO + 0x01D4)
+#define S3C64XX_EINT0CON0	(S3C64XX_VA_GPIO + 0x0900)
+#define S3C64XX_EINT0CON1	(S3C64XX_VA_GPIO + 0x0904)
+#define S3C64XX_EINT0FLTCON0	(S3C64XX_VA_GPIO + 0x0910)
+#define S3C64XX_EINT0FLTCON1	(S3C64XX_VA_GPIO + 0x0914)
+#define S3C64XX_EINT0FLTCON2	(S3C64XX_VA_GPIO + 0x0918)
+#define S3C64XX_EINT0FLTCON3	(S3C64XX_VA_GPIO + 0x091C)
+#define S3C64XX_EINT0MASK	(S3C64XX_VA_GPIO + 0x0920)
+#define S3C64XX_EINT0PEND	(S3C64XX_VA_GPIO + 0x0924)
+#define S3C64XX_SPCONSLP	(S3C64XX_VA_GPIO + 0x0880)
+#define S3C64XX_SLPEN		(S3C64XX_VA_GPIO + 0x0930)
+#define S3C64XX_EINT12CON	(S3C64XX_VA_GPIO + 0x0200)
+#define S3C64XX_EINT34CON	(S3C64XX_VA_GPIO + 0x0204)
+#define S3C64XX_EINT56CON	(S3C64XX_VA_GPIO + 0x0208)
+#define S3C64XX_EINT78CON	(S3C64XX_VA_GPIO + 0x020C)
+#define S3C64XX_EINT9CON	(S3C64XX_VA_GPIO + 0x0210)
+#define S3C64XX_EINT12FLTCON	(S3C64XX_VA_GPIO + 0x0220)
+#define S3C64XX_EINT34FLTCON	(S3C64XX_VA_GPIO + 0x0224)
+#define S3C64XX_EINT56FLTCON	(S3C64XX_VA_GPIO + 0x0228)
+#define S3C64XX_EINT78FLTCON	(S3C64XX_VA_GPIO + 0x022C)
+#define S3C64XX_EINT9FLTCON	(S3C64XX_VA_GPIO + 0x0230)
+#define S3C64XX_EINT12MASK	(S3C64XX_VA_GPIO + 0x0240)
+#define S3C64XX_EINT34MASK	(S3C64XX_VA_GPIO + 0x0244)
+#define S3C64XX_EINT56MASK	(S3C64XX_VA_GPIO + 0x0248)
+#define S3C64XX_EINT78MASK	(S3C64XX_VA_GPIO + 0x024C)
+#define S3C64XX_EINT9MASK	(S3C64XX_VA_GPIO + 0x0250)
+#define S3C64XX_EINT12PEND	(S3C64XX_VA_GPIO + 0x0260)
+#define S3C64XX_EINT34PEND	(S3C64XX_VA_GPIO + 0x0264)
+#define S3C64XX_EINT56PEND	(S3C64XX_VA_GPIO + 0x0268)
+#define S3C64XX_EINT78PEND	(S3C64XX_VA_GPIO + 0x026C)
+#define S3C64XX_EINT9PEND	(S3C64XX_VA_GPIO + 0x0270)
+#define S3C64XX_PRIORITY	(S3C64XX_VA_GPIO + 0x0280)
+#define S3C64XX_SERVICE		(S3C64XX_VA_GPIO + 0x0284)
+#define S3C64XX_SERVICEPEND	(S3C64XX_VA_GPIO + 0x0288)
+
+/* values for S3C_EXTINT0 */
+#define S3C64XX_EXTINT_LOWLEV	 (0x00)
+#define S3C64XX_EXTINT_HILEV	 (0x01)
+#define S3C64XX_EXTINT_FALLEDGE	 (0x02)
+#define S3C64XX_EXTINT_RISEEDGE	 (0x04)
+#define S3C64XX_EXTINT_BOTHEDGE	 (0x06)
+
+#endif /* __ASM_PLAT_S3C64XX_REGS_GPIO_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/regs-iis.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/regs-iis.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/regs-iis.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/regs-iis.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,115 @@
+/* linux/arch/arm/plat-s3c/include/plat/regs-iis.h
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C64XX IIS register definition
+*/
+
+#ifndef __ASM_ARCH_REGS_S3C64XX_IIS_H
+#define __ASM_ARCH_REGS_S3C64XX_IIS_H
+
+#define S3C64XX_IISCON		(0x00)
+#define S3C64XX_IISMOD		(0x04)
+#define S3C64XX_IISFIC		(0x08)
+#define S3C64XX_IISPSR		(0x0C)
+#define S3C64XX_IISTXD		(0x10)
+#define S3C64XX_IISRXD		(0x14)
+
+#define S3C64XX_IISCON_I2SACTIVE	(0x1<<0)
+#define S3C64XX_IISCON_RXDMACTIVE	(0x1<<1)
+#define S3C64XX_IISCON_TXDMACTIVE	(0x1<<2)
+#define S3C64XX_IISCON_RXCHPAUSE	(0x1<<3)
+#define S3C64XX_IISCON_TXCHPAUSE	(0x1<<4)
+#define S3C64XX_IISCON_RXDMAPAUSE	(0x1<<5)
+#define S3C64XX_IISCON_TXDMAPAUSE	(0x1<<6)
+#define S3C64XX_IISCON_FRXFULL		(0x1<<7)
+#ifdef IIS_V40
+#define S3C64XX_IISCON_FTX0FULL		(0x1<<8)
+#else
+#define S3C64XX_IISCON_FTXFULL		(0x1<<8)
+#endif
+#define S3C64XX_IISCON_FRXEMPT		(0x1<<9)
+#define S3C64XX_IISCON_FTX0EMPT		(0x1<<10)
+#define S3C64XX_IISCON_LRI		(0x1<<11)
+#ifdef IIS_V40
+#define S3C64XX_IISCON_FTX1FULL		(0x1<<12)
+#define S3C64XX_IISCON_FTX2FULL		(0x1<<13)
+#define S3C64XX_IISCON_FTX1EMPT		(0x1<<14)
+#define S3C64XX_IISCON_FTX2EMPT		(0x1<<15)
+#endif
+#define S3C64XX_IISCON_FTXURINTEN	(0x1<<16)
+#define S3C64XX_IISCON_FTXURSTATUS	(0x1<<17)
+#ifndef IIS_V40
+#define S3C6410_IISCON_FRXORINTEN	(0x1<<18)
+#define S3C6410_IISCON_FRXORSTATUS	(0x1<<19)
+#endif
+
+#define S3C64XX_IISMOD_BFSMASK		(3<<1)
+#define S3C64XX_IISMOD_32FS		(0<<1)
+#define S3C64XX_IISMOD_48FS		(1<<1)
+#define S3C64XX_IISMOD_16FS		(2<<1)
+#define S3C64XX_IISMOD_24FS		(3<<1)
+
+#define S3C64XX_IISMOD_RFSMASK		(3<<3)
+#define S3C64XX_IISMOD_256FS		(0<<3)
+#define S3C64XX_IISMOD_512FS		(1<<3)
+#define S3C64XX_IISMOD_384FS		(2<<3)
+#define S3C64XX_IISMOD_768FS		(3<<3)
+
+#define S3C64XX_IISMOD_SDFMASK		(3<<5)
+#define S3C64XX_IISMOD_IIS		(0<<5)
+#define S3C64XX_IISMOD_MSB		(1<<5)
+#define S3C64XX_IISMOD_LSB		(2<<5)
+
+#define S3C64XX_IISMOD_LRP		(1<<7)
+
+#define S3C64XX_IISMOD_TXRMASK		(3<<8)
+#define S3C64XX_IISMOD_TX		(0<<8)
+#define S3C64XX_IISMOD_RX		(1<<8)
+#define S3C64XX_IISMOD_TXRX		(2<<8)
+
+#define S3C64XX_IISMOD_IMSMASK		(3<<10)
+#define S3C64XX_IISMOD_MSTPCLK		(0<<10)
+#define S3C64XX_IISMOD_MSTCLKAUDIO	(1<<10)
+#define S3C64XX_IISMOD_SLVPCLK		(2<<10)
+#define S3C64XX_IISMOD_SLVI2SCLK	(3<<10)
+
+#define S3C64XX_IISMOD_CDCLKCON		(1<<12)
+
+#define S3C64XX_IISMOD_BLCMASK		(3<<13)
+#define S3C64XX_IISMOD_16BIT		(0<<13)
+#define S3C64XX_IISMOD_8BIT		(1<<13)
+#define S3C64XX_IISMOD_24BIT		(2<<13)
+
+#ifdef IIS_V40
+
+#define S3C64XX_IISMOD_SD1EN		(1<<16)
+#define S3C64XX_IISMOD_SD2EN		(1<<17)
+
+#define S3C64XX_IISMOD_CCD1MASK		(3<<18)
+#define S3C64XX_IISMOD_CCD1ND		(0<<18)
+#define S3C64XX_IISMOD_CCD11STD		(1<<18)
+#define S3C64XX_IISMOD_CCD12NDD		(2<<18)
+
+#define S3C64XX_IISMOD_CCD2MASK		(3<<20)
+#define S3C64XX_IISMOD_CCD2ND		(0<<20)
+#define S3C64XX_IISMOD_CCD21STD		(1<<20)
+#define S3C64XX_IISMOD_CCD22NDD		(2<<20)
+
+#endif
+
+#define S3C64XX_IISFIC_FRXCNTMSK	(0xf<<0)
+#define S3C64XX_IISFIC_RFLUSH		(1<<7)
+#define S3C64XX_IISFIC_FTX0CNTMSK	(0xf<<8)
+#define S3C64XX_IISFIC_TFLUSH		(1<<15)
+#ifdef IIS_V40
+#define S3C64XX_IISFIC_FTX1CNTMSK	(0xf<<16)
+#define S3C64XX_IISFIC_FTX2CNTMSK	(0xf<<24)
+#endif
+
+#define S3C64XX_IISPSR_PSVALA		(0x3f<<8)
+#define S3C64XX_IISPSR_PSRAEN		(1<<15)
+
+#endif /* __ASM_ARCH_REGS_S3C64XX_IIS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/regs-mfc.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/regs-mfc.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/regs-mfc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/regs-mfc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,325 @@
+/* linux/include/asm-arm/arch-s3c2410/regs-mfc.h
+ *
+ * Copyright (c) 2009 Samsung Electronics 
+ *		http://www.samsung.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S3C MFC Controller
+*/
+
+#ifndef __ASM_ARCH_REGS_MFC_H
+#define __ASM_ARCH_REGS_MFC_H __FILE__
+
+/*
+ * MFC Interface
+ */
+#define S3C_MFC(x)			(x)
+
+#define S3C_MFC_CODE_RUN				S3C_MFC(0x000)	/* [0] 1=Start the bit processor, 0=Stop. */
+#define S3C_MFC_CODE_DN_LOAD				S3C_MFC(0x004)	/* [15:0] [28:16] */
+#define S3C_MFC_HOST_INTR				S3C_MFC(0x008)	/* [0] Write '1' to this bit to request an interrupt to BIT */
+#define S3C_MFC_BITS_INT_CLEAR				S3C_MFC(0x00c)
+#define S3C_MFC_BITS_INT_STAT				S3C_MFC(0x010)	/* [0] 1 means that BIT interrupt to the host is asserted. */
+#define S3C_MFC_BITS_CODE_RESET				S3C_MFC(0x014)
+#define S3C_MFC_BITS_CUR_PC				S3C_MFC(0x018)
+#define S3C_MFC_RESERVED1				S3C_MFC(0x01c)	/* 0x01c ~ 0x0fc */
+#define S3C_MFC_CODE_BUF_ADDR				S3C_MFC(0x100)
+#define S3C_MFC_WORK_BUF_ADDR				S3C_MFC(0x104)
+#define S3C_MFC_PARA_BUF_ADDR				S3C_MFC(0x108)
+#define S3C_MFC_STRM_BUF_CTRL				S3C_MFC(0x10c)
+#define S3C_MFC_FRME_BUF_CTRL				S3C_MFC(0x110)
+#define S3C_MFC_DEC_FUNC_CTRL				S3C_MFC(0x114)	/* 7th fw */
+#define S3C_MFC_RESERVED2				S3C_MFC(0x118)	/* 0x118 */
+#define S3C_MFC_WORK_BUF_CTRL				S3C_MFC(0x11c)	/* 7th fw */
+
+#define S3C_MFC_BIT_STR_BASE_PTR0			S3C_MFC(0x120)
+#define S3C_MFC_BIT_STR_RD_PTR0				S3C_MFC(0x120)
+#define S3C_MFC_BIT_STR_WR_PTR0				S3C_MFC(0x124)
+
+#define S3C_MFC_BIT_STR_BASE_PTR1			S3C_MFC(0x128)
+#define S3C_MFC_BIT_STR_RD_PTR1				S3C_MFC(0x128)
+#define S3C_MFC_BIT_STR_WR_PTR1				S3C_MFC(0x12c)
+
+#define S3C_MFC_BIT_STR_BASE_PTR2			S3C_MFC(0x130)
+#define S3C_MFC_BIT_STR_RD_PTR2				S3C_MFC(0x130)
+#define S3C_MFC_BIT_STR_WR_PTR2				S3C_MFC(0x134)
+
+#define S3C_MFC_BIT_STR_BASE_PTR3			S3C_MFC(0x138)
+#define S3C_MFC_BIT_STR_RD_PTR3				S3C_MFC(0x138)
+#define S3C_MFC_BIT_STR_WR_PTR3				S3C_MFC(0x13c)
+
+#define S3C_MFC_BIT_STR_BASE_PTR4			S3C_MFC(0x140)
+#define S3C_MFC_BIT_STR_RD_PTR4				S3C_MFC(0x140)
+#define S3C_MFC_BIT_STR_WR_PTR4				S3C_MFC(0x144)
+
+#define S3C_MFC_BIT_STR_BASE_PTR5			S3C_MFC(0x148)
+#define S3C_MFC_BIT_STR_RD_PTR5				S3C_MFC(0x148)
+#define S3C_MFC_BIT_STR_WR_PTR5				S3C_MFC(0x14c)
+
+#define S3C_MFC_BIT_STR_BASE_PTR6			S3C_MFC(0x150)
+#define S3C_MFC_BIT_STR_RD_PTR6				S3C_MFC(0x150)
+#define S3C_MFC_BIT_STR_WR_PTR6				S3C_MFC(0x154)
+
+#define S3C_MFC_BIT_STR_BASE_PTR7			S3C_MFC(0x158)
+#define S3C_MFC_BIT_STR_RD_PTR7				S3C_MFC(0x158)
+#define S3C_MFC_BIT_STR_WR_PTR7				S3C_MFC(0x15c)
+
+#define S3C_MFC_BUSY_FLAG				S3C_MFC(0x160)
+#define S3C_MFC_RUN_CMD					S3C_MFC(0x164)
+#define S3C_MFC_RUN_INDEX				S3C_MFC(0x168)
+#define S3C_MFC_RUN_COD_STD				S3C_MFC(0x16c)
+#define S3C_MFC_INT_ENABLE				S3C_MFC(0x170)
+#define S3C_MFC_INT_REASON				S3C_MFC(0x174)
+
+#define S3C_MFC_RESERVED3				S3C_MFC(0x178)	/* 0x178 ,0x17c */
+
+#define S3C_MFC_PARAM					S3C_MFC(0x180)
+
+/* Parameter regester decode sequence init */
+#define S3C_MFC_PARAM_DEC_SEQ_INIT			S3C_MFC_PARAM
+#define S3C_MFC_PARAM_DEC_SEQ_BIT_BUF_ADDR		S3C_MFC(0x180)
+#define S3C_MFC_PARAM_DEC_SEQ_BIT_BUF_SIZE		S3C_MFC(0x184)
+#define S3C_MFC_PARAM_DEC_SEQ_OPTION			S3C_MFC(0x188)
+#define S3C_MFC_PARAM_DEC_SEQ_PRO_BUF			S3C_MFC(0x18c)
+#define S3C_MFC_PARAM_DEC_SEQ_TMP_BUF_1			S3C_MFC(0x190)
+#define S3C_MFC_PARAM_DEC_SEQ_TMP_BUF_2			S3C_MFC(0x194)
+#define S3C_MFC_PARAM_DEC_SEQ_TMP_BUF_3			S3C_MFC(0x198)
+#define S3C_MFC_PARAM_DEC_SEQ_TMP_BUF_4			S3C_MFC(0x19c)
+#define S3C_MFC_PARAM_DEC_SEQ_TMP_BUF_5			S3C_MFC(0x1a0)
+#define S3C_MFC_PARAM_DEC_SEQ_START_BYTE		S3C_MFC(0x1a4)
+#define S3C_MFC_PARAM_DEC_SEQ_RESERVED			S3C_MFC(0x1a8)
+/* output return */
+#define S3C_MFC_PARAM_RET_DEC_SEQ_SUCCESS		S3C_MFC(0x1c0) 
+#define S3C_MFC_PARAM_RET_DEC_SEQ_SRC_SIZE		S3C_MFC(0x1c4) 
+#define S3C_MFC_PARAM_RET_DEC_SEQ_SRC_FRAME_RATE	S3C_MFC(0x1c8) 
+#define S3C_MFC_PARAM_RET_DEC_SEQ_FRAME_NEED_COUNT	S3C_MFC(0x1cc) 
+#define S3C_MFC_PARAM_RET_DEC_SEQ_FRAME_DELAY		S3C_MFC(0x1d0) 
+#define S3C_MFC_PARAM_RET_DEC_SEQ_INFO			S3C_MFC(0x1d4) 
+#define S3C_MFC_PARAM_RET_DEC_SEQ_TIME_RES		S3C_MFC(0x1d8) 
+
+/* Paramete register encode sequence init */
+#define S3C_MFC_PARAM_ENC_SEQ_INIT			S3C_MFC_PARAM
+#define S3C_MFC_PARAM_ENC_SEQ_BIT_BUF_ADDR		S3C_MFC(0x180)
+#define S3C_MFC_PARAM_ENC_SEQ_BIT_BUF_SIZE		S3C_MFC(0x184)
+#define S3C_MFC_PARAM_ENC_SEQ_OPTION			S3C_MFC(0x188)
+#define S3C_MFC_PARAM_ENC_SEQ_COD_STD			S3C_MFC(0x18c)
+#define S3C_MFC_PARAM_ENC_SEQ_SRC_SIZE			S3C_MFC(0x190)
+#define S3C_MFC_PARAM_ENC_SEQ_SRC_F_RATE		S3C_MFC(0x194)
+#define S3C_MFC_PARAM_ENC_SEQ_MP4_PARA			S3C_MFC(0x198)
+#define S3C_MFC_PARAM_ENC_SEQ_263_PARA			S3C_MFC(0x19c)
+#define S3C_MFC_PARAM_ENC_SEQ_264_PARA			S3C_MFC(0x1a0)
+#define S3C_MFC_PARAM_ENC_SEQ_SLICE_MODE		S3C_MFC(0x1a4)
+#define S3C_MFC_PARAM_ENC_SEQ_GOP_NUM			S3C_MFC(0x1a8)
+#define S3C_MFC_PARAM_ENC_SEQ_RC_PARA			S3C_MFC(0x1ac)
+#define S3C_MFC_PARAM_ENC_SEQ_RC_BUF_SIZE		S3C_MFC(0x1b0)
+#define S3C_MFC_PARAM_ENC_SEQ_INTRA_MB			S3C_MFC(0x1b4)
+#define S3C_MFC_PARAM_ENC_SEQ_FMO			S3C_MFC(0x1b8)
+#define S3C_MFC_PARAM_ENC_SEQ_INTRA_QP			S3C_MFC(0x1bc)
+/* output return */
+#define  S3C_MFC_PARAM_RET_ENC_SEQ_SUCCESS		S3C_MFC(0x1c0)
+
+#define S3C_MFC_PARAM_ENC_SEQ_RC_OPTION			S3C_MFC(0x1c4)
+#define S3C_MFC_PARAM_ENC_SEQ_RC_QP_MAX			S3C_MFC(0x1c8)
+#define S3C_MFC_PARAM_ENC_SEQ_RC_GAMMA			S3C_MFC(0x1cc)	/* 0x1cc float? */
+#define S3C_MFC_PARAM_ENC_SEQ_TMP_BUF1			S3C_MFC(0x1d0)
+#define S3C_MFC_PARAM_ENC_SEQ_TMP_BUF2			S3C_MFC(0x1d4)
+#define S3C_MFC_PARAM_ENC_SEQ_TMP_BUF3			S3C_MFC(0x1d8)
+#define S3C_MFC_PARAM_ENC_SEQ_TMP_BUF4			S3C_MFC(0x1dc)
+
+/* Parameter register set frame buf */
+#define S3C_MFC_PARAM_REG_SET_FRAME_BUF			S3C_MFC_PARAM
+#define S3C_MFC_PARAM_SET_FRAME_BUF_NUM			S3C_MFC(0x180)
+#define S3C_MFC_PARAM_SET_FRAME_BUF_STRIDE		S3C_MFC(0x184)
+
+
+/* Parameter register decode pic run */
+#define S3C_MFC_PARAM_DEC_PIC_RUN			S3C_MFC_PARAM
+#define S3C_MFC_PARAM_DEC_PIC_ROT_MODE			S3C_MFC(0x180) /* Display frame post-rotator mode */
+#define S3C_MFC_PARAM_DEC_PIC_ROT_ADDR_Y		S3C_MFC(0x184) /* Post-rotated frame store Y address */
+#define S3C_MFC_PARAM_DEC_PIC_ROT_ADDR_CB		S3C_MFC(0x188) /* Post-rotated frame store Cb address */
+#define S3C_MFC_PARAM_DEC_PIC_ROT_ADDR_CR		S3C_MFC(0x18c) /* Post-rotated frame store Cr address */
+#define S3C_MFC_PARAM_DEC_PIC_DBK_ADDR_Y		S3C_MFC(0x190) /* Deblocked frame store Y address */
+#define S3C_MFC_PARAM_DEC_PIC_DBK_ADDR_CB		S3C_MFC(0x194) /* Deblocked frame store Cb address */
+#define S3C_MFC_PARAM_DEC_PIC_DBK_ADDR_CR		S3C_MFC(0x198) /* Deblocked frame store Cr address */
+#define S3C_MFC_PARAM_DEC_PIC_ROT_STRIDE		S3C_MFC(0x19c) /* Post-rotated frame stride */
+#define S3C_MFC_PARAM_DEC_PIC_OPTION			S3C_MFC(0x1a0) /* Decoding option */
+#define S3C_MFC_PARAM_DEC_PIC_RESERVED1			S3C_MFC(0x1a4)
+#define S3C_MFC_PARAM_DEC_PIC_CHUNK_SIZE		S3C_MFC(0x1a8) /* Frame chunk size */
+#define S3C_MFC_PARAM_DEC_PIC_BB_START			S3C_MFC(0x1ac) /* 4-byte aligned start address of picture stream buffer */
+#define S3C_MFC_PARAM_DEC_PIC_START_BYTE		S3C_MFC(0x1b0) /* Start byte of valid stream data */
+#define S3C_MFC_PARAM_DEC_PIC_MV_ADDR			S3C_MFC(0x1b4) /* Base address for Motion Vector data */
+#define S3C_MFC_PARAM_DEC_PIC_MBTYPE_ADDR		S3C_MFC(0x1b8) /* Base address for MBType data */
+#define S3C_MFC_PARAM_DEC_PIC_RESERVED2			S3C_MFC(0x1bc)
+/* output return */
+#define S3C_MFC_PARAM_RET_DEC_PIC_FRAME_NUM		S3C_MFC(0x1c0) /* Decoded frame number */
+#define S3C_MFC_PARAM_RET_DEC_PIC_IDX			S3C_MFC(0x1c4) /* Display frame index */
+#define S3C_MFC_PARAM_RET_DEC_PIC_ERR_MB_NUM		S3C_MFC(0x1c8) /* Error MB number in decodec picture */
+#define S3C_MFC_PARAM_RET_DEC_PIC_TYPE			S3C_MFC(0x1cc) /* Decoded picture type */
+#define S3C_MFC_PARAM_DEC_PIC_RESERVED3			S3C_MFC(0x1d0) /* 0x1d0 ~ 0x1d4 */
+#define S3C_MFC_PARAM_RET_DEC_PIC_SUCCESS		S3C_MFC(0x1d8) /* Command executing result status */
+#define S3C_MFC_PARAM_RET_DEC_PIC_CUR_IDX		S3C_MFC(0x1dc) /* Decoded frame index */
+#define S3C_MFC_PARAM_RET_DEC_PIC_FCODE_FWD		S3C_MFC(0x1e0) /* FCODE value */
+#define S3C_MFC_PARAM_RET_DEC_PIC_TRD			S3C_MFC(0x1e4) /* TRD value */
+#define S3C_MFC_PARAM_RET_DEC_PIC_TIME_BASE_LAST	S3C_MFC(0x1e8) /* TIME_BASE_LAST value */
+#define S3C_MFC_PARAM_RET_DEC_PIC_NONB_TIME_LAST	S3C_MFC(0x1ec) /* NONB_TIME_LAST value */
+#define S3C_MFC_PARAM_RET_DEC_PIC_BCNT			S3C_MFC(0x1f0) /* the size of frame consumed */
+
+/* Parameter register encode pic run */
+#define S3C_MFC_PARAM_ENC_PIC_RUN			S3C_MFC_PARAM
+#define S3C_MFC_PARAM_ENC_PIC_SRC_ADDR_Y		S3C_MFC(0x180)
+#define S3C_MFC_PARAM_ENC_PIC_SRC_ADDR_CB		S3C_MFC(0x184)
+#define S3C_MFC_PARAM_ENC_PIC_SRC_ADDR_CR		S3C_MFC(0x188)
+#define S3C_MFC_PARAM_ENC_PIC_QS			S3C_MFC(0x18c)
+#define S3C_MFC_PARAM_ENC_PIC_ROT_MODE			S3C_MFC(0x190)
+#define S3C_MFC_PARAM_ENC_PIC_OPTION			S3C_MFC(0x194)
+#define S3C_MFC_PARAM_ENC_PIC_BB_START			S3C_MFC(0x198)
+#define S3C_MFC_PARAM_ENC_PIC_BB_SIZE			S3C_MFC(0x19c)
+#define S3C_MFC_PARAM_ENC_PIC_RESERVED			S3C_MFC(0x1a0) /* 0x1a0, 0x1a4, 0x1a8, 0x1ac, 0x1b0, 0x1b4, 0x1b8, 0x1bc */
+/* output return */
+#define S3C_MFC_PARAM_RET_ENC_PIC_FRAME_NUM		S3C_MFC(0x1c0)
+#define S3C_MFC_PARAM_RET_ENC_PIC_TYPE			S3C_MFC(0x1c4)
+#define S3C_MFC_PARAM_RET_ENC_PIC_IDX			S3C_MFC(0x1c8)
+#define S3C_MFC_PARAM_RET_ENC_PIC_SLICE_NUM		S3C_MFC(0x1cc)
+#define S3C_MFC_PARAM_RET_ENC_PIC_FLAG			S3C_MFC(0x1d0)
+
+/* Parameter register encode parameter set */
+#define S3C_MFC_PARAM_ENC_PARA_SET			S3C_MFC_PARAM
+#define S3C_MFC_PARAM_ENC_PARA_SET_TYPE			S3C_MFC(0x180)
+#define S3C_MFC_PARAM_ENC_RESERVED			S3C_MFC(0x184)
+/* output return */
+#define S3C_MFC_PARAM_RET_ENC_PARA_SET_SIZE		S3C_MFC(0x1c0)
+
+/* Parameter register encode header */
+#define S3C_MFC_PARAM_ENC_HEADER			S3C_MFC_PARAM
+#define S3C_MFC_PARAM_ENC_HEADER_CODE			S3C_MFC(0x180)
+#define S3C_MFC_PARAM_ENC_HEADER_BB_START		S3C_MFC(0x184)
+#define S3C_MFC_PARAM_ENC_HEADER_BB_SIZE		S3C_MFC(0x188)
+#define S3C_MFC_PARAM_ENC_HEADER_NUM			S3C_MFC(0x18c)
+#define S3C_MFC_PARAM_ENC_HEADER_RESERVED		S3C_MFC(0x190)
+
+
+/* Parameter register encode parameter change */
+#define S3C_MFC_PARAM_ENC_CHANGE			S3C_MFC_PARAM
+#define S3C_MFC_PARAM_ENC_CHANGE_ENABLE			S3C_MFC(0x180)
+#define S3C_MFC_PARAM_ENC_CHANGE_GOP_NUM		S3C_MFC(0x184)
+#define S3C_MFC_PARAM_ENC_CHANGE_INTRA_QP		S3C_MFC(0x188)
+#define S3C_MFC_PARAM_ENC_CHANGE_BITRATE		S3C_MFC(0x18c)
+#define S3C_MFC_PARAM_ENC_CHANGE_F_RATE			S3C_MFC(0x190)
+#define S3C_MFC_PARAM_ENC_CHANGE_INTRA_REFRESH		S3C_MFC(0x194)
+#define S3C_MFC_PARAM_ENC_CHANGE_SLICE_MODE		S3C_MFC(0x198)
+#define S3C_MFC_PARAM_ENC_CHANGE_HEC_MODE		S3C_MFC(0x19c)
+#define S3C_MFC_PARAM_ENC_CHANGE_RESERVED		S3C_MFC(0x1a0) /* 0x1a0, 0x1a4, 0x1a8, 0x1ac, 0x1b0, 0x1b4, 0x1b8, 0x1bc */
+#define S3C_MFC_PARAM_ENC_CHANGE_RESERVED0		S3C_MFC(0x1a0)	
+#define S3C_MFC_PARAM_ENC_CHANGE_RESERVED1		S3C_MFC(0x1a4)
+#define S3C_MFC_PARAM_ENC_CHANGE_RESERVED2		S3C_MFC(0x1a8)
+#define S3C_MFC_PARAM_ENC_CHANGE_RESERVED3		S3C_MFC(0x1ac)
+#define S3C_MFC_PARAM_ENC_CHANGE_RESERVED4		S3C_MFC(0x1b0)
+#define S3C_MFC_PARAM_ENC_CHANGE_RESERVED5		S3C_MFC(0x1b4)
+#define S3C_MFC_PARAM_ENC_CHANGE_RESERVED6		S3C_MFC(0x1b8)
+#define S3C_MFC_PARAM_ENC_CHANGE_RESERVED7		S3C_MFC(0x1bc)
+
+#define S3C_MFC_PARAM_RET_ENC_CHANGE_SUCCESS		S3C_MFC(0x1c0)
+
+/* Parameter register firmware version */
+#define S3C_MFC_PARAM_FIRMWARE_VER			S3C_MFC_PARAM
+#define S3C_MFC_PARAM_FIRMWARE_VER_RESERVED		S3C_MFC(0x180) /* 0x180 ~ 0x1bc */
+#define S3C_MFC_PARAM_FIRMWARE_VER_GET_FW_VER		S3C_MFC(0x1c0)
+
+
+/*
+ * Because SW_RESET register is located apart(address 0xe00), unlike other MFC_SFR registers, 
+ * I have excluded it in S3C_MFC_SFR struct and defined relative address only.  
+ * When do virtual memory mapping in setting up memory, we have to map until this SW_RESET register.
+ */
+#define S3C_MFC_SFR_SW_RESET_ADDR			S3C_MFC(0x0e00)
+#define S3C_MFC_SFR_SIZE				S3C_MFC(0x0e00)
+
+
+/*************************************************************************
+ * Bit definition part
+ ************************************************************************/
+
+/* SDRAM buffer control options */
+#define STREAM_ENDIAN_LITTLE		(0<<0)
+#define STREAM_ENDIAN_BIG		(1<<0)
+#define BUF_STATUS_FULL_EMPTY_CHECK_BIT	(0<<1)
+#define BUF_STATUS_NO_CHECK_BIT		(1<<1)
+                                         
+/* FRAME_BUF_CTRL (0x110) */
+#define FRAME_MEM_ENDIAN_LITTLE		(0<<0)
+#define FRAME_MEM_ENDIAN_BIG		(1<<0)
+
+/*
+ *    PRiSM-CX Video Codec IP's Register
+ *    V178
+ */
+
+/* DEC_SEQ_INIT Parameter Register */
+/* DEC_SEQ_OPTION (0x18c) */
+#define MP4_DBK_DISABLE			(0<<0)
+#define MP4_DBK_ENABLE			(1<<0)
+#define REORDER_DISABLE			(0<<1)
+#define REORDER_ENABLE			(1<<1)
+#define FILEPLAY_ENABLE			(1<<2)
+#define FILEPLAY_DISABLE		(0<<2)
+#define DYNBUFALLOC_ENABLE		(1<<3)
+#define DYNBUFALLOC_DISABLE		(0<<3)
+
+/* ENC_SEQ_INIT Parameter Register */
+/* ENC_SEQ_OPTION (0x188) */
+#define MB_BIT_REPORT_DISABLE		(0<<0)
+#define MB_BIT_REPORT_ENABLE		(1<<0)
+#define SLICE_INFO_REPORT_DISABLE	(0<<1)
+#define SLICE_INFO_REPORT_ENABLE	(1<<1)
+#define AUD_DISABLE			(0<<2)
+#define AUD_ENABLE			(1<<2)
+#define MB_QP_REPORT_DISABLE		(0<<3)
+#define MB_QP_REPORT_ENBLE		(1<<3)
+#define CONST_QP_DISABLE		(0<<5)
+#define CONST_QP_ENBLE			(1<<5)
+
+/* ENC_SEQ_COD_STD (0x18C) */
+#define MPEG4_ENCODE			0
+#define H263_ENCODE			1
+#define H264_ENCODE			2
+
+/* ENC_SEQ_MP4_PARA (0x198) */
+#define DATA_PART_DISABLE		(0<<0)
+#define DATA_PART_ENABLE		(1<<0)
+
+/* ENC_SEQ_263_PARA (0x19C) */
+#define ANNEX_T_OFF			(0<<0)
+#define ANNEX_T_ON			(1<<0)
+#define ANNEX_K_OFF			(0<<1)
+#define ANNEX_K_ON			(1<<1)
+#define ANNEX_J_OFF			(0<<2)
+#define ANNEX_J_ON			(1<<2)
+#define ANNEX_I_OFF			(0<<3)
+#define ANNEX_I_ON			(1<<3)
+
+/* ENC_SEQ_SLICE_MODE (0x1A4) */
+#define SLICE_MODE_ONE			(0<<0)
+#define SLICE_MODE_MULTIPLE		(1<<0)
+
+/* ENC_SEQ_RC_PARA (0x1AC) */
+#define RC_DISABLE			(0<<0)    /* RC means rate control */
+#define RC_ENABLE			(1<<0)
+#define SKIP_DISABLE			(1<<31)
+#define SKIP_ENABLE			(0<<31)
+
+/* ENC_SEQ_FMO (0x1B8) */
+#define FMO_DISABLE			(0<<0)
+#define FMO_ENABLE			(1<<0)
+
+/* ENC_SEQ_RC_OPTION (0x1C4) */
+#define USER_QP_MAX_DISABLE		(0<<0)
+#define USER_QP_MAX_ENABLE		(1<<0)
+#define USE_GAMMA_DISABLE		(0<<1)
+#define USE_GAMMA_ENABLE		(1<<1)
+
+
+
+#endif /* __ASM_ARCH_REGS_MFC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/s3c6400.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/s3c6400.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/s3c6400.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/s3c6400.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,35 @@
+/* arch/arm/plat-s3c64xx/include/plat/s3c6400.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Header file for s3c6400 cpu support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* Common init code for S3C6400 related SoCs */
+
+extern void s3c6400_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
+extern void s3c6400_register_clocks(void);
+extern void s3c6400_setup_clocks(void);
+
+#ifdef CONFIG_CPU_S3C6400
+
+extern  int s3c6400_init(void);
+extern void s3c6400_map_io(void);
+extern void s3c6400_init_clocks(int xtal);
+
+#define s3c6400_init_uarts s3c6400_common_init_uarts
+
+#else
+#define s3c6400_init_clocks NULL
+#define s3c6400_init_uarts NULL
+#define s3c6400_map_io NULL
+#define s3c6400_init NULL
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/s3c6410.h linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/s3c6410.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/include/plat/s3c6410.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/include/plat/s3c6410.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,29 @@
+/* arch/arm/plat-s3c64xx/include/plat/s3c6410.h
+ *
+ * Copyright 2008 Openmoko,  Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Header file for s3c6410 cpu support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifdef CONFIG_CPU_S3C6410
+
+extern  int s3c6410_init(void);
+extern void s3c6410_init_irq(void);
+extern void s3c6410_map_io(void);
+extern void s3c6410_init_clocks(int xtal);
+
+#define s3c6410_init_uarts s3c6400_common_init_uarts
+
+#else
+#define s3c6410_init_clocks NULL
+#define s3c6410_init_uarts NULL
+#define s3c6410_map_io NULL
+#define s3c6410_init NULL
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/irq-eint-group.c linux-2.6.28.6/arch/arm/plat-s3c64xx/irq-eint-group.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/irq-eint-group.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/irq-eint-group.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,378 @@
+/* arch/arm/plat-s3c64xx/irq-eint-group.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX - Interrupt handling for IRQ_EINT(x)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/io.h>
+
+#include <asm/hardware/vic.h>
+
+#include <plat/regs-irqtype.h>
+
+#include <mach/map.h>
+#include <plat/cpu.h>
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-n.h>
+
+#define S3C64XX_EINT_MAX_SOURCES	16
+
+struct s3c_eint_group_t {
+	int		sources;
+	int		base;
+	void __iomem	*cont_reg;
+	void __iomem	*mask_reg;
+	void __iomem	*pend_reg;
+	int		mask_ofs;
+	int		pend_ofs;
+
+	/* start offset in control register for each source */
+	int		cont_map[S3C64XX_EINT_MAX_SOURCES];
+};
+
+static struct s3c_eint_group_t eint_groups[] = {
+	[0] = {
+		.sources	= 0,
+		.base		= 0,
+		.cont_reg	= 0x0,
+		.mask_reg	= 0x0,
+		.pend_reg	= 0x0,
+		.mask_ofs	= 0,
+		.pend_ofs	= 0,
+		.cont_map	= {
+			-1, -1, -1, -1, -1, -1, -1, -1,
+			-1, -1, -1, -1, -1, -1, -1, -1,
+		},
+	},
+	[1] = {
+		.sources	= IRQ_EINT_GROUP1_NR,
+		.base		= IRQ_EINT_GROUP1_BASE,
+		.cont_reg	= S3C64XX_VA_GPIO + 0x200,
+		.mask_reg	= S3C64XX_VA_GPIO + 0x240,
+		.pend_reg	= S3C64XX_VA_GPIO + 0x260,
+		.mask_ofs	= 0,
+		.pend_ofs	= 0,
+		.cont_map	= {
+			0, 0, 0, 0, 4, 4, 4, 4,
+			8, 8, 8, 8, 12, 12, 12, -1,
+		},
+	},
+	[2] = {
+		.sources	= IRQ_EINT_GROUP2_NR,
+		.base		= IRQ_EINT_GROUP2_BASE,
+		.cont_reg	= S3C64XX_VA_GPIO + 0x200,
+		.mask_reg	= S3C64XX_VA_GPIO + 0x240,
+		.pend_reg	= S3C64XX_VA_GPIO + 0x260,
+		.mask_ofs	= 16,
+		.pend_ofs	= 16,
+		.cont_map	= {
+			16, 16, 16, 16, 20, 20, 20, 20,
+			-1, -1, -1, -1, -1, -1, -1, -1,
+		},
+	},
+	[3] = {
+		.sources	= IRQ_EINT_GROUP3_NR,
+		.base		= IRQ_EINT_GROUP3_BASE,
+		.cont_reg	= S3C64XX_VA_GPIO + 0x204,
+		.mask_reg	= S3C64XX_VA_GPIO + 0x244,
+		.pend_reg	= S3C64XX_VA_GPIO + 0x264,
+		.mask_ofs	= 0,
+		.pend_ofs	= 0,
+		.cont_map	= {
+			0, 0, 0, 0, 4, -1, -1, -1,
+			-1, -1, -1, -1, -1, -1, -1, -1,
+		},
+	},
+	[4] = {
+		.sources	= IRQ_EINT_GROUP4_NR,
+		.base		= IRQ_EINT_GROUP4_BASE,
+		.cont_reg	= S3C64XX_VA_GPIO + 0x204,
+		.mask_reg	= S3C64XX_VA_GPIO + 0x244,
+		.pend_reg	= S3C64XX_VA_GPIO + 0x264,
+		.mask_ofs	= 16,
+		.pend_ofs	= 16,
+		.cont_map	= {
+			16, 16, 16, 16, 20, 20, 20, 20,
+			24, 24, 24, 24, 28, 28, -1, -1,
+		},
+	},
+	[5] = {
+		.sources	= IRQ_EINT_GROUP5_NR,
+		.base		= IRQ_EINT_GROUP5_BASE,
+		.cont_reg	= S3C64XX_VA_GPIO + 0x208,
+		.mask_reg	= S3C64XX_VA_GPIO + 0x248,
+		.pend_reg	= S3C64XX_VA_GPIO + 0x268,
+		.mask_ofs	= 0,
+		.pend_ofs	= 0,
+		.cont_map	= {
+			0, 0, 0, 0, 4, 4, 4, -1
+			-1, -1, -1, -1, -1, -1, -1, -1,
+		},
+	},
+	[6] = {
+		.sources	= IRQ_EINT_GROUP6_NR,
+		.base		= IRQ_EINT_GROUP6_BASE,
+		.cont_reg	= S3C64XX_VA_GPIO + 0x208,
+		.mask_reg	= S3C64XX_VA_GPIO + 0x248,
+		.pend_reg	= S3C64XX_VA_GPIO + 0x268,
+		.mask_ofs	= 16,
+		.pend_ofs	= 16,
+		.cont_map	= {
+			16, 16, 16, 16, 20, 20, 20, 20,
+			24, 24, -1, -1, -1, -1, -1, -1,
+		},
+	},
+	[7] = {
+		.sources	= IRQ_EINT_GROUP7_NR,
+		.base		= IRQ_EINT_GROUP7_BASE,
+		.cont_reg	= S3C64XX_VA_GPIO + 0x20c,
+		.mask_reg	= S3C64XX_VA_GPIO + 0x24c,
+		.pend_reg	= S3C64XX_VA_GPIO + 0x26c,
+		.mask_ofs	= 0,
+		.pend_ofs	= 0,
+		.cont_map	= {
+			0, 0, 0, 0, 4, 4, 4, 4,
+			8, 8, 8, 8, 12, 12, 12, 12,
+		},
+	},
+	[8] = {
+		.sources	= IRQ_EINT_GROUP8_NR,
+		.base		= IRQ_EINT_GROUP8_BASE,
+		.cont_reg	= S3C64XX_VA_GPIO + 0x20c,
+		.mask_reg	= S3C64XX_VA_GPIO + 0x24c,
+		.pend_reg	= S3C64XX_VA_GPIO + 0x26c,
+		.mask_ofs	= 16,
+		.pend_ofs	= 16,
+		.cont_map	= {
+			16, 16, 16, 16, 20, 20, 20, 20,
+			24, 24, 24, 24, 28, 28, 28, -1,
+		},
+	},
+	[9] = {
+		.sources	= IRQ_EINT_GROUP9_NR,
+		.base		= IRQ_EINT_GROUP9_BASE,
+		.cont_reg	= S3C64XX_VA_GPIO + 0x210,
+		.mask_reg	= S3C64XX_VA_GPIO + 0x250,
+		.pend_reg	= S3C64XX_VA_GPIO + 0x270,
+		.mask_ofs	= 0,
+		.pend_ofs	= 0,
+		.cont_map	= {
+			0, 0, 0, 0, 4, 4, 4, 4,
+			4, -1, -1, -1, -1, -1, -1, -1,
+		},
+	},
+};
+
+#define S3C_EINT_GROUPS	(sizeof(eint_groups) / sizeof(eint_groups[0]))
+
+static int to_group_number(unsigned int irq)
+{
+	int grp, found;
+
+	for (grp = 1; grp < S3C_EINT_GROUPS; grp++) {
+		if (irq >= eint_groups[grp].base + eint_groups[grp].sources)
+			continue;
+		else {
+			found = 1;
+			break;
+		}
+	}
+
+	if (!found) {
+		printk(KERN_ERR "failed to find out the eint group number\n");
+		grp = 0;
+	}
+
+	return grp;
+}
+
+static inline int to_irq_number(int grp, unsigned int irq)
+{
+	return irq - eint_groups[grp].base;
+}
+
+static inline int to_bit_offset(int grp, unsigned int irq)
+{
+	int offset;
+
+	offset = eint_groups[grp].cont_map[to_irq_number(grp, irq)];
+
+	if (offset == -1) {
+		printk(KERN_ERR "invalid bit offset\n");
+		offset = 0;
+	}
+
+	return offset;
+}
+
+static inline void s3c_irq_eint_group_mask(unsigned int irq)
+{
+	struct s3c_eint_group_t *group;
+	int grp;
+	u32 mask;
+
+	grp = to_group_number(irq);
+	group = &eint_groups[grp];
+
+	mask = __raw_readl(group->mask_reg);
+	mask |= (1 << (group->mask_ofs + to_irq_number(grp, irq)));
+
+	__raw_writel(mask, group->mask_reg);
+}
+
+static void s3c_irq_eint_group_unmask(unsigned int irq)
+{
+	struct s3c_eint_group_t *group;
+	int grp;
+	u32 mask;
+
+	grp = to_group_number(irq);
+	group = &eint_groups[grp];
+
+	mask = __raw_readl(group->mask_reg);
+	mask &= ~(1 << (group->mask_ofs + to_irq_number(grp, irq)));
+
+	__raw_writel(mask, group->mask_reg);
+}
+
+static inline void s3c_irq_eint_group_ack(unsigned int irq)
+{
+	struct s3c_eint_group_t *group;
+	int grp;
+	u32 pend;
+
+	grp = to_group_number(irq);
+	group = &eint_groups[grp];
+
+	pend = (1 << (group->pend_ofs + to_irq_number(grp, irq)));
+
+	__raw_writel(pend, group->pend_reg);
+}
+
+static void s3c_irq_eint_group_maskack(unsigned int irq)
+{
+	/* compiler should in-line these */
+	s3c_irq_eint_group_mask(irq);
+	s3c_irq_eint_group_ack(irq);
+}
+
+static int s3c_irq_eint_group_set_type(unsigned int irq, unsigned int type)
+{
+	struct s3c_eint_group_t *group;
+	int grp, shift;
+	u32 ctrl, mask, newvalue = 0;
+
+	grp = to_group_number(irq);
+	group = &eint_groups[grp];
+
+	switch (type) {
+	case IRQ_TYPE_NONE:
+		printk(KERN_WARNING "No edge setting!\n");
+		break;
+
+	case IRQ_TYPE_EDGE_RISING:
+		newvalue = S3C2410_EXTINT_RISEEDGE;
+		break;
+
+	case IRQ_TYPE_EDGE_FALLING:
+		newvalue = S3C2410_EXTINT_FALLEDGE;
+		break;
+
+	case IRQ_TYPE_EDGE_BOTH:
+		newvalue = S3C2410_EXTINT_BOTHEDGE;
+		break;
+
+	case IRQ_TYPE_LEVEL_LOW:
+		newvalue = S3C2410_EXTINT_LOWLEV;
+		break;
+
+	case IRQ_TYPE_LEVEL_HIGH:
+		newvalue = S3C2410_EXTINT_HILEV;
+		break;
+
+	default:
+		printk(KERN_ERR "No such irq type %d", type);
+		return -1;
+	}
+
+	shift = to_bit_offset(grp, irq);
+	mask = 0x7 << shift;
+
+	ctrl = __raw_readl(group->cont_reg);
+	ctrl &= ~mask;
+	ctrl |= newvalue << shift;
+	__raw_writel(ctrl, group->cont_reg);
+
+	return 0;
+}
+
+static struct irq_chip s3c_irq_eint_group = {
+	.name		= "s3c-eint-group",
+	.mask		= s3c_irq_eint_group_mask,
+	.unmask		= s3c_irq_eint_group_unmask,
+	.mask_ack	= s3c_irq_eint_group_maskack,
+	.ack		= s3c_irq_eint_group_ack,
+	.set_type	= s3c_irq_eint_group_set_type,
+};
+
+/*
+ * s3c_irq_demux_eint_group
+*/
+static inline void s3c_irq_demux_eint_group(unsigned int irq, struct irq_desc *desc)
+{
+	struct s3c_eint_group_t *group;
+	u32 status, mask, newirq;
+	int grp, src;
+
+	for (grp = 1; grp < S3C_EINT_GROUPS; grp++) {
+		group = &eint_groups[grp];
+		status = __raw_readl(group->pend_reg);
+		mask = __raw_readl(group->mask_reg);
+
+		status &= ~mask;
+		status >>= group->pend_ofs;
+		status &= 0xffff;
+
+		if (!status)
+			continue;
+
+		for (src = 0; src < S3C64XX_EINT_MAX_SOURCES; src++) {
+			if (status & 1) {
+				newirq = group->base + src;
+				generic_handle_irq(newirq);
+			}
+
+			status >>= 1;
+		}
+	}
+}
+
+int __init s3c64xx_init_irq_eint_group(void)
+{
+	int irq;
+
+	for (irq = IRQ_EINT_GROUP_BASE; irq < NR_IRQS; irq++) {
+		set_irq_chip(irq, &s3c_irq_eint_group);
+		set_irq_handler(irq, handle_level_irq);
+		set_irq_flags(irq, IRQF_VALID);
+	}
+
+	set_irq_chained_handler(IRQ_EINT_GROUPS, s3c_irq_demux_eint_group);
+
+	return 0;
+}
+
+arch_initcall(s3c64xx_init_irq_eint_group);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/irq-eint.c linux-2.6.28.6/arch/arm/plat-s3c64xx/irq-eint.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/irq-eint.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/irq-eint.c	2009-12-09 14:34:33.000000000 +0100
@@ -0,0 +1,211 @@
+/* arch/arm/plat-s3c64xx/irq-eint.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX - Interrupt handling for IRQ_EINT(x)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/io.h>
+
+#include <asm/hardware/vic.h>
+
+#include <plat/regs-irqtype.h>
+
+#include <mach/map.h>
+#include <plat/cpu.h>
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-n.h>
+#include <plat/regs-gpio.h>
+
+#define eint_offset(irq)	((irq) - IRQ_EINT(0))
+#define eint_irq_to_bit(irq)	(1 << eint_offset(irq))
+
+static inline void s3c_irq_eint_mask(unsigned int irq)
+{
+	u32 mask;
+
+	mask = __raw_readl(S3C64XX_EINT0MASK);
+	mask |= eint_irq_to_bit(irq);
+	__raw_writel(mask, S3C64XX_EINT0MASK);
+}
+
+static void s3c_irq_eint_unmask(unsigned int irq)
+{
+	u32 mask;
+
+	mask = __raw_readl(S3C64XX_EINT0MASK);
+	mask &= ~(eint_irq_to_bit(irq));
+	__raw_writel(mask, S3C64XX_EINT0MASK);
+}
+
+static inline void s3c_irq_eint_ack(unsigned int irq)
+{
+	__raw_writel(eint_irq_to_bit(irq), S3C64XX_EINT0PEND);
+}
+
+static void s3c_irq_eint_maskack(unsigned int irq)
+{
+	/* compiler should in-line these */
+	s3c_irq_eint_mask(irq);
+	s3c_irq_eint_ack(irq);
+}
+
+static int s3c_irq_eint_set_type(unsigned int irq, unsigned int type)
+{
+	int offs = eint_offset(irq);
+	int shift;
+	u32 ctrl, mask;
+	u32 newvalue = 0;
+	void __iomem *reg;
+
+	if (offs > 27)
+		return -EINVAL;
+
+	/* fixed by jsgood */
+
+
+	if (offs > 15)
+		reg = S3C64XX_EINT0CON1; /* org: reg = S3C64XX_EINT0CON0; */
+	else
+		reg = S3C64XX_EINT0CON0; /* org: reg = S3C64XX_EINT0CON1; */
+
+
+	switch (type) {
+	case IRQ_TYPE_NONE:
+		printk(KERN_WARNING "No edge setting!\n");
+		break;
+
+	case IRQ_TYPE_EDGE_RISING:
+		newvalue = S3C2410_EXTINT_RISEEDGE;
+		break;
+
+	case IRQ_TYPE_EDGE_FALLING:
+		newvalue = S3C2410_EXTINT_FALLEDGE;
+		break;
+
+	case IRQ_TYPE_EDGE_BOTH:
+		newvalue = S3C2410_EXTINT_BOTHEDGE;
+		break;
+
+	case IRQ_TYPE_LEVEL_LOW:
+		newvalue = S3C2410_EXTINT_LOWLEV;
+		break;
+
+	case IRQ_TYPE_LEVEL_HIGH:
+		newvalue = S3C2410_EXTINT_HILEV;
+		break;
+
+	default:
+		printk(KERN_ERR "No such irq type %d", type);
+		return -1;
+	}
+
+	/* fixed by jsgood */
+	shift = ((offs % 16) / 2) * 4;	/* org: shift = (offs / 2) * 4; */
+	mask = 0x7 << shift;
+
+	ctrl = __raw_readl(reg);
+	ctrl &= ~mask;
+	ctrl |= newvalue << shift;
+	__raw_writel(ctrl, reg);
+
+	if (offs < 16)
+		s3c_gpio_cfgpin(S3C64XX_GPN(offs), 0x2 << (offs * 2));
+	else if (offs < 23)
+		s3c_gpio_cfgpin(S3C64XX_GPL(offs - 8), S3C_GPIO_SFN(3));
+	else
+		s3c_gpio_cfgpin(S3C64XX_GPM(offs - 23), S3C_GPIO_SFN(3));
+
+	return 0;
+}
+
+
+
+
+
+
+
+static struct irq_chip s3c_irq_eint = {
+	.name		= "s3c-eint",
+	.mask		= s3c_irq_eint_mask,
+	.unmask		= s3c_irq_eint_unmask,
+	.mask_ack	= s3c_irq_eint_maskack,
+	.ack		= s3c_irq_eint_ack,
+	.set_type	= s3c_irq_eint_set_type,
+};
+
+/* s3c_irq_demux_eint
+ *
+ * This function demuxes the IRQ from the group0 external interrupts,
+ * from IRQ_EINT(0) to IRQ_EINT(27). It is designed to be inlined into
+ * the specific handlers s3c_irq_demux_eintX_Y.
+ */
+static inline void s3c_irq_demux_eint(unsigned int start, unsigned int end)
+{
+	u32 status = __raw_readl(S3C64XX_EINT0PEND);
+	u32 mask = __raw_readl(S3C64XX_EINT0MASK);
+	unsigned int irq;
+
+	status &= ~mask;
+	status >>= start;
+	status &= (1 << (end - start + 1)) - 1;
+
+	for (irq = IRQ_EINT(start); irq <= IRQ_EINT(end); irq++) {
+		if (status & 1)
+			generic_handle_irq(irq);
+
+		status >>= 1;
+	}
+}
+
+static void s3c_irq_demux_eint0_3(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_eint(0, 3);
+}
+
+static void s3c_irq_demux_eint4_11(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_eint(4, 11);
+}
+
+static void s3c_irq_demux_eint12_19(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_eint(12, 19);
+}
+
+static void s3c_irq_demux_eint20_27(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_eint(20, 27);
+}
+
+int __init s3c64xx_init_irq_eint(void)
+{
+	int irq;
+
+	for (irq = IRQ_EINT(0); irq <= IRQ_EINT(27); irq++) {
+		set_irq_chip(irq, &s3c_irq_eint);
+		set_irq_handler(irq, handle_level_irq);
+		set_irq_flags(irq, IRQF_VALID);
+	}
+
+	set_irq_chained_handler(IRQ_EINT0_3, s3c_irq_demux_eint0_3);
+	set_irq_chained_handler(IRQ_EINT4_11, s3c_irq_demux_eint4_11);
+	set_irq_chained_handler(IRQ_EINT12_19, s3c_irq_demux_eint12_19);
+	set_irq_chained_handler(IRQ_EINT20_27, s3c_irq_demux_eint20_27);
+
+	return 0;
+}
+
+arch_initcall(s3c64xx_init_irq_eint);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/irq.c linux-2.6.28.6/arch/arm/plat-s3c64xx/irq.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/irq.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/irq.c	2009-12-08 17:25:02.000000000 +0100
@@ -0,0 +1,322 @@
+/* arch/arm/plat-s3c64xx/irq.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX - Interrupt handling
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/io.h>
+#include <linux/sysdev.h>
+
+#include <asm/hardware/vic.h>
+
+#include <mach/map.h>
+#include <plat/regs-timer.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+#include <mach/regs-irq.h>
+#include <plat/cpu.h>
+#include <plat/pm.h>
+
+/* Timer interrupt handling */
+
+static void s3c_irq_demux_timer(unsigned int base_irq, unsigned int sub_irq)
+{
+	generic_handle_irq(sub_irq);
+}
+
+static void s3c_irq_demux_timer0(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER0);
+}
+
+static void s3c_irq_demux_timer1(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER1);
+}
+
+static void s3c_irq_demux_timer2(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER2);
+}
+
+static void s3c_irq_demux_timer3(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER3);
+}
+
+static void s3c_irq_demux_timer4(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER4);
+}
+
+/* We assume the IRQ_TIMER0..IRQ_TIMER4 range is continuous. */
+
+static void s3c_irq_timer_mask(unsigned int irq)
+{
+	u32 reg = __raw_readl(S3C64XX_TINT_CSTAT);
+
+	reg &= 0x1f;  /* mask out pending interrupts */
+	reg &= ~(1 << (irq - IRQ_TIMER0));
+	__raw_writel(reg, S3C64XX_TINT_CSTAT);
+}
+
+static void s3c_irq_timer_unmask(unsigned int irq)
+{
+	u32 reg = __raw_readl(S3C64XX_TINT_CSTAT);
+
+	reg &= 0x1f;  /* mask out pending interrupts */
+	reg |= 1 << (irq - IRQ_TIMER0);
+	__raw_writel(reg, S3C64XX_TINT_CSTAT);
+}
+
+static void s3c_irq_timer_ack(unsigned int irq)
+{
+	u32 reg = __raw_readl(S3C64XX_TINT_CSTAT);
+
+	reg &= 0x1f;
+	reg |= (1 << 5) << (irq - IRQ_TIMER0);
+	__raw_writel(reg, S3C64XX_TINT_CSTAT);
+}
+
+static struct irq_chip s3c_irq_timer = {
+	.name		= "s3c-timer",
+	.mask		= s3c_irq_timer_mask,
+	.unmask		= s3c_irq_timer_unmask,
+	.ack		= s3c_irq_timer_ack,
+};
+
+struct uart_irq {
+	void __iomem	*regs;
+	unsigned int	 base_irq;
+	unsigned int	 parent_irq;
+};
+
+/* Note, we make use of the fact that the parent IRQs, IRQ_UART[0..3]
+ * are consecutive when looking up the interrupt in the demux routines.
+ */
+static struct uart_irq uart_irqs[] = {
+	[0] = {
+		.regs		= S3C_VA_UART0,
+		.base_irq	= IRQ_S3CUART_BASE0,
+		.parent_irq	= IRQ_UART0,
+	},
+	[1] = {
+		.regs		= S3C_VA_UART1,
+		.base_irq	= IRQ_S3CUART_BASE1,
+		.parent_irq	= IRQ_UART1,
+	},
+	[2] = {
+		.regs		= S3C_VA_UART2,
+		.base_irq	= IRQ_S3CUART_BASE2,
+		.parent_irq	= IRQ_UART2,
+	},
+	[3] = {
+		.regs		= S3C_VA_UART3,
+		.base_irq	= IRQ_S3CUART_BASE3,
+		.parent_irq	= IRQ_UART3,
+	},
+};
+
+static inline void __iomem *s3c_irq_uart_base(unsigned int irq)
+{
+	struct uart_irq *uirq = get_irq_chip_data(irq);
+	return uirq->regs;
+}
+
+static inline unsigned int s3c_irq_uart_bit(unsigned int irq)
+{
+	return irq & 3;
+}
+
+/* UART interrupt registers, not worth adding to seperate include header */
+#define S3C64XX_UINTP	0x30
+#define S3C64XX_UINTSP	0x34
+#define S3C64XX_UINTM	0x38
+
+static void s3c_irq_uart_mask(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+	u32 reg;
+
+	reg = __raw_readl(regs + S3C64XX_UINTM);
+	reg |= (1 << bit);
+	__raw_writel(reg, regs + S3C64XX_UINTM);
+}
+
+static void s3c_irq_uart_maskack(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+	u32 reg;
+
+	reg = __raw_readl(regs + S3C64XX_UINTM);
+	reg |= (1 << bit);
+	__raw_writel(reg, regs + S3C64XX_UINTM);
+	__raw_writel(1 << bit, regs + S3C64XX_UINTP);
+}
+
+static void s3c_irq_uart_unmask(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+	u32 reg;
+
+	reg = __raw_readl(regs + S3C64XX_UINTM);
+	reg &= ~(1 << bit);
+	__raw_writel(reg, regs + S3C64XX_UINTM);
+}
+
+static void s3c_irq_uart_ack(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+
+	__raw_writel(1 << bit, regs + S3C64XX_UINTP);
+}
+
+static void s3c_irq_demux_uart(unsigned int irq, struct irq_desc *desc)
+{
+	struct uart_irq *uirq = &uart_irqs[irq - IRQ_UART0];
+	u32 pend = __raw_readl(uirq->regs + S3C64XX_UINTP);
+	int base = uirq->base_irq;
+
+	if (pend & (1 << 0))
+		generic_handle_irq(base);
+	if (pend & (1 << 1))
+		generic_handle_irq(base + 1);
+	if (pend & (1 << 2))
+		generic_handle_irq(base + 2);
+	if (pend & (1 << 3))
+		generic_handle_irq(base + 3);
+}
+
+static struct irq_chip s3c_irq_uart = {
+	.name		= "s3c-uart",
+	.mask		= s3c_irq_uart_mask,
+	.unmask		= s3c_irq_uart_unmask,
+	.mask_ack	= s3c_irq_uart_maskack,
+	.ack		= s3c_irq_uart_ack,
+};
+
+static void __init s3c64xx_uart_irq(struct uart_irq *uirq)
+{
+	void *reg_base = uirq->regs;
+	unsigned int irq;
+	int offs;
+
+	/* mask all interrupts at the start. */
+	__raw_writel(0xf, reg_base + S3C64XX_UINTM);
+
+	for (offs = 0; offs < 3; offs++) {
+		irq = uirq->base_irq + offs;
+
+		set_irq_chip(irq, &s3c_irq_uart);
+		set_irq_chip_data(irq, uirq);
+		set_irq_handler(irq, handle_level_irq);
+		set_irq_flags(irq, IRQF_VALID);
+	}
+
+	set_irq_chained_handler(uirq->parent_irq, s3c_irq_demux_uart);
+}
+#ifdef CONFIG_PM
+static struct sleep_save extirq_save[] = {
+	SAVE_ITEM(S3C64XX_EINT0CON0),
+	SAVE_ITEM(S3C64XX_EINT0CON1),
+	SAVE_ITEM(S3C64XX_EINT0FLTCON0),
+	SAVE_ITEM(S3C64XX_EINT0FLTCON1),
+	SAVE_ITEM(S3C64XX_EINT0FLTCON2),
+	SAVE_ITEM(S3C64XX_EINT0FLTCON3),
+	SAVE_ITEM(S3C64XX_EINT0MASK),
+	SAVE_ITEM(S3C64XX_EINT12CON),
+	SAVE_ITEM(S3C64XX_EINT34CON),
+	SAVE_ITEM(S3C64XX_EINT56CON),
+	SAVE_ITEM(S3C64XX_EINT78CON),
+	SAVE_ITEM(S3C64XX_EINT9CON),
+	SAVE_ITEM(S3C64XX_EINT12FLTCON),
+	SAVE_ITEM(S3C64XX_EINT34FLTCON),
+	SAVE_ITEM(S3C64XX_EINT56FLTCON),
+	SAVE_ITEM(S3C64XX_EINT78FLTCON),
+	SAVE_ITEM(S3C64XX_EINT9FLTCON),
+	SAVE_ITEM(S3C64XX_EINT12MASK),
+	SAVE_ITEM(S3C64XX_EINT34MASK),
+	SAVE_ITEM(S3C64XX_EINT56MASK),
+	SAVE_ITEM(S3C64XX_EINT78MASK),
+	SAVE_ITEM(S3C64XX_EINT9MASK),
+	SAVE_ITEM(S3C64XX_EINT34FLTCON),
+	SAVE_ITEM(S3C64XX_EINT56FLTCON),
+	SAVE_ITEM(S3C64XX_EINT78FLTCON),
+	SAVE_ITEM(S3C64XX_EINT9FLTCON),
+};
+
+int s3c64xx_irq_suspend(struct sys_device *dev, pm_message_t state)
+{
+	s3c6410_pm_do_save(extirq_save, ARRAY_SIZE(extirq_save));
+	return 0;
+}
+
+int s3c64xx_irq_resume(struct sys_device *dev)
+{
+	int irqno;
+	int irqindex = 0;
+	/* For writing the IRQ number into the VICVECTADDR */
+	s3c6410_pm_do_restore(extirq_save, ARRAY_SIZE(extirq_save));
+
+	for (irqno = IRQ_EINT0_3; irqno <= IRQ_LCD_SYSTEM; irqno++) {
+		__raw_writel(irqno, S3C64XX_VIC0VECTADDR0 + irqindex);
+		irqindex = irqindex + 4;
+	}
+
+	irqindex = 0;
+	for (irqno = IRQ_EINT12_19; irqno <= IRQ_ADC; irqno++) {
+		__raw_writel(irqno, S3C64XX_VIC1VECTADDR0 + irqindex);
+		irqindex = irqindex + 4;
+	}
+	return 0;
+}
+#else
+#define s3c64xx_irq_suspend	NULL
+#define s3c64xx_irq_resume	NULL
+#endif
+
+void __init s3c64xx_init_irq(u32 vic0_valid, u32 vic1_valid)
+{
+	int uart, irq;
+
+	printk(KERN_DEBUG "%s: initialising interrupts\n", __func__);
+
+	/* initialise the pair of VICs */
+	vic_init(S3C_VA_VIC0, S3C_VIC0_BASE, vic0_valid);
+	vic_init(S3C_VA_VIC1, S3C_VIC1_BASE, vic1_valid);
+
+	/* add the timer sub-irqs */
+
+	set_irq_chained_handler(IRQ_TIMER0_VIC, s3c_irq_demux_timer0);
+	set_irq_chained_handler(IRQ_TIMER1_VIC, s3c_irq_demux_timer1);
+	set_irq_chained_handler(IRQ_TIMER2_VIC, s3c_irq_demux_timer2);
+	set_irq_chained_handler(IRQ_TIMER3_VIC, s3c_irq_demux_timer3);
+	set_irq_chained_handler(IRQ_TIMER4_VIC, s3c_irq_demux_timer4);
+
+	for (irq = IRQ_TIMER0; irq <= IRQ_TIMER4; irq++) {
+		set_irq_chip(irq, &s3c_irq_timer);
+		set_irq_handler(irq, handle_level_irq);
+		set_irq_flags(irq, IRQF_VALID);
+	}
+
+	for (uart = 0; uart < ARRAY_SIZE(uart_irqs); uart++)
+		s3c64xx_uart_irq(&uart_irqs[uart]);
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/ltc3714.c linux-2.6.28.6/arch/arm/plat-s3c64xx/ltc3714.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/ltc3714.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/ltc3714.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,152 @@
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/fs.h>
+#include <linux/errno.h>
+#include <linux/types.h>
+#include <linux/fcntl.h>
+#include <linux/stat.h>
+#include <linux/delay.h>
+#include <linux/gpio.h>
+#include <asm/uaccess.h>
+#include <asm/io.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+
+#define ARM_LE		0
+#define INT_LE		1
+
+/* ltc3714 voltage table */
+static const unsigned int voltage_table[32] = {
+	1750, 1700, 1650, 1600, 1550, 1500, 1450, 1400,
+	1350, 1300, 1250, 1200, 1150, 1100, 1050, 1000,
+	975, 950, 925, 900, 875, 850, 825, 800,
+	775, 750, 725, 700, 675, 650, 625, 600,
+};
+
+/* frequency voltage matching table */
+static const unsigned int frequency_match[][3] = {
+/* frequency, Mathced VDD ARM voltage , Matched VDD INT*/
+	{667000, 1200, 1300},
+	{333000, 1100, 1200},
+	{222000, 1050, 1200},
+	{133000, 1000, 1200},
+	{66000, 1000, 1000},
+};
+
+/* LTC3714 Setting Routine */
+static int ltc3714_gpio_setting(void)
+{
+	gpio_direction_output(S3C64XX_GPN(11), 0);
+	gpio_direction_output(S3C64XX_GPN(12), 0);
+	gpio_direction_output(S3C64XX_GPN(13), 0);
+	gpio_direction_output(S3C64XX_GPN(14), 0);
+	gpio_direction_output(S3C64XX_GPN(15), 0);
+	gpio_direction_output(S3C64XX_GPL(8), 0);
+	gpio_direction_output(S3C64XX_GPL(9), 0);
+	gpio_direction_output(S3C64XX_GPL(10), 0);
+
+	s3c_gpio_setpull(S3C64XX_GPN(11), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3C64XX_GPN(12), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3C64XX_GPN(13), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3C64XX_GPN(14), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3C64XX_GPN(15), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3C64XX_GPL(8), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3C64XX_GPL(9), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3C64XX_GPL(10), S3C_GPIO_PULL_NONE);
+
+	return 0;
+}
+
+static int set_ltc3714(unsigned int pwr, unsigned int index)
+{
+	int position = 0;
+
+	int voltage = frequency_match[index][pwr + 1];
+
+	if(voltage > voltage_table[0] || voltage < voltage_table[31]) {
+		printk("[ERROR]: voltage value over limits!!!");
+		return -EINVAL;
+	}
+
+	if(voltage > voltage_table[16]) { // 1750 ~ 1000 mV
+		for(position = 15; position >= 0; position --) {
+			if(voltage_table[position] == voltage) break;
+		}
+
+	}
+	else if(voltage >= voltage_table[31]) {	//975 ~ 600 mV
+		for(position = 31; position >= 16; position --) {
+			if(voltage_table[position] == voltage) break;
+		}
+	}
+	else {
+		printk("[error]: Can't find adquate voltage table list value\n");
+		return -EINVAL;
+	}
+
+	position &=0x1f;
+
+	gpio_set_value(S3C64XX_GPN(11),(position >> 0)&0x1);
+	gpio_set_value(S3C64XX_GPN(12),(position >> 1)&0x1);
+	gpio_set_value(S3C64XX_GPN(13),(position >> 2)&0x1);
+	gpio_set_value(S3C64XX_GPN(14),(position >> 3)&0x1);
+	gpio_set_value(S3C64XX_GPN(15),(position >> 4)&0x1);
+
+	if(pwr == ARM_LE) {
+		gpio_set_value(S3C64XX_GPL(8), 1);
+		udelay(10);
+		gpio_set_value(S3C64XX_GPL(8), 0);
+	} else if(pwr == INT_LE) {
+		gpio_set_value(S3C64XX_GPL(10), 1);
+		udelay(10);
+		gpio_set_value(S3C64XX_GPL(10), 0);
+	} else {
+		printk("[error]: set_power, check mode [pwr] value\n");
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+static int find_voltage(int freq)
+{
+	int index = 0;
+
+	if(freq > frequency_match[0][0]){
+		printk(KERN_ERR "frequecy is over then support frequency\n");
+		return 0;
+	}
+
+	for(index = 0 ; index < ARRAY_SIZE(frequency_match) ; index++){
+		if(freq >= frequency_match[index][0])
+			return index;
+	}
+
+	printk("Cannot find matched voltage on table\n");
+
+	return 0;
+}
+
+int set_power(unsigned int freq)
+{
+	int index;
+
+	index = find_voltage(freq);
+
+	set_ltc3714(ARM_LE, index);
+
+	return 0;
+}
+
+EXPORT_SYMBOL(set_power);
+
+void ltc3714_init(void)
+{
+	ltc3714_gpio_setting();
+	set_power(532000);
+	gpio_set_value(S3C64XX_GPL(9), 1);
+}
+
+EXPORT_SYMBOL(ltc3714_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/pm.c linux-2.6.28.6/arch/arm/plat-s3c64xx/pm.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/pm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/pm.c	2009-12-08 12:07:59.000000000 +0100
@@ -0,0 +1,672 @@
+/* linux/arch/arm/plat-s3c24xx/pm.c
+ *
+ * Copyright (c) 2004,2006 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24XX Power Manager (Suspend-To-RAM) support
+ *
+ * See Documentation/arm/Samsung-S3C24XX/Suspend.txt for more information
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ * Parts based on arch/arm/mach-pxa/pm.c
+ *
+ * Thanks to Dimitry Andric for debugging
+*/
+
+#include <linux/init.h>
+#include <linux/suspend.h>
+#include <linux/errno.h>
+#include <linux/time.h>
+#include <linux/interrupt.h>
+#include <linux/crc32.h>
+#include <linux/ioport.h>
+#include <linux/delay.h>
+#include <linux/serial_core.h>
+#include <linux/io.h>
+#include <linux/platform_device.h>
+
+#include <asm/cacheflush.h>
+#include <mach/hardware.h>
+
+#include <plat/map-base.h>
+#include <plat/regs-serial.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+#include <mach/regs-mem.h>
+#include <mach/regs-irq.h>
+#include <asm/gpio.h>
+
+#include <asm/mach/time.h>
+
+#include <plat/pm.h>
+
+/* for external use */
+
+unsigned long s3c_pm_flags;
+
+#define PFX "s3c64xx-pm: "
+static struct sleep_save core_save[] = {
+	SAVE_ITEM(S3C_SDMA_SEL),
+};
+
+static struct sleep_save gpio_save[] = {
+	SAVE_ITEM(S3C64XX_GPACON),
+	SAVE_ITEM(S3C64XX_GPADAT),
+	SAVE_ITEM(S3C64XX_GPAPUD),
+	SAVE_ITEM(S3C64XX_GPBCON),
+	SAVE_ITEM(S3C64XX_GPBDAT),
+	SAVE_ITEM(S3C64XX_GPBPUD),
+	SAVE_ITEM(S3C64XX_GPCCON),
+	SAVE_ITEM(S3C64XX_GPCDAT),
+	SAVE_ITEM(S3C64XX_GPCPUD),
+	SAVE_ITEM(S3C64XX_GPDCON),
+	SAVE_ITEM(S3C64XX_GPDDAT),
+	SAVE_ITEM(S3C64XX_GPDPUD),
+	SAVE_ITEM(S3C64XX_GPECON),
+	SAVE_ITEM(S3C64XX_GPEDAT),
+	SAVE_ITEM(S3C64XX_GPEPUD),
+	SAVE_ITEM(S3C64XX_GPFCON),
+	SAVE_ITEM(S3C64XX_GPFDAT),
+	SAVE_ITEM(S3C64XX_GPFPUD),
+	SAVE_ITEM(S3C64XX_GPGCON),
+	SAVE_ITEM(S3C64XX_GPGDAT),
+	SAVE_ITEM(S3C64XX_GPGPUD),
+	SAVE_ITEM(S3C64XX_GPHCON0),
+	SAVE_ITEM(S3C64XX_GPHCON1),
+	SAVE_ITEM(S3C64XX_GPHDAT),
+	SAVE_ITEM(S3C64XX_GPHPUD),
+	SAVE_ITEM(S3C64XX_GPICON),
+	SAVE_ITEM(S3C64XX_GPIDAT),
+	SAVE_ITEM(S3C64XX_GPIPUD),
+	SAVE_ITEM(S3C64XX_GPJCON),
+	SAVE_ITEM(S3C64XX_GPJDAT),
+	SAVE_ITEM(S3C64XX_GPJPUD),
+	SAVE_ITEM(S3C64XX_GPKCON),
+	SAVE_ITEM(S3C64XX_GPKDAT),
+	SAVE_ITEM(S3C64XX_GPKPUD),
+	SAVE_ITEM(S3C64XX_GPLCON),
+	SAVE_ITEM(S3C64XX_GPLDAT),
+	SAVE_ITEM(S3C64XX_GPLPUD),
+	SAVE_ITEM(S3C64XX_GPMCON),
+	SAVE_ITEM(S3C64XX_GPMDAT),
+	SAVE_ITEM(S3C64XX_GPMPUD),
+	SAVE_ITEM(S3C64XX_GPNCON),
+	SAVE_ITEM(S3C64XX_GPNDAT),
+	SAVE_ITEM(S3C64XX_GPNPUD),
+	SAVE_ITEM(S3C64XX_GPOCON),
+	SAVE_ITEM(S3C64XX_GPODAT),
+	SAVE_ITEM(S3C64XX_GPOPUD),
+	SAVE_ITEM(S3C64XX_GPPCON),
+	SAVE_ITEM(S3C64XX_GPPDAT),
+	SAVE_ITEM(S3C64XX_GPPPUD),
+	SAVE_ITEM(S3C64XX_GPQCON),
+	SAVE_ITEM(S3C64XX_GPQDAT),
+	SAVE_ITEM(S3C64XX_GPQPUD),
+	SAVE_ITEM(S3C64XX_PRIORITY),
+
+	/* Special register */
+	SAVE_ITEM(S3C64XX_SPC_BASE),
+	SAVE_ITEM(S3C64XX_MEM0CONSTOP),
+	SAVE_ITEM(S3C64XX_MEM1CONSTOP),
+	SAVE_ITEM(S3C64XX_MEM0CONSLP0),
+	SAVE_ITEM(S3C64XX_MEM0CONSLP1),
+	SAVE_ITEM(S3C64XX_MEM1CONSLP),
+	SAVE_ITEM(S3C64XX_MEM0DRVCON),
+	SAVE_ITEM(S3C64XX_MEM1DRVCON),
+};
+
+/* this lot should be really saved by the IRQ code */
+/* VICXADDRESSXX initilaization to be needed */
+static struct sleep_save irq_save[] = {
+	SAVE_ITEM(S3C64XX_VIC0INTSELECT),
+	SAVE_ITEM(S3C64XX_VIC1INTSELECT),
+	SAVE_ITEM(S3C64XX_VIC0INTENABLE),
+	SAVE_ITEM(S3C64XX_VIC1INTENABLE),
+	SAVE_ITEM(S3C64XX_VIC0SOFTINT),
+	SAVE_ITEM(S3C64XX_VIC1SOFTINT),
+};
+
+static struct sleep_save sromc_save[] = {
+	SAVE_ITEM(S3C64XX_SROM_BW),
+	SAVE_ITEM(S3C64XX_SROM_BC0),
+	SAVE_ITEM(S3C64XX_SROM_BC1),
+	SAVE_ITEM(S3C64XX_SROM_BC2),
+	SAVE_ITEM(S3C64XX_SROM_BC3),
+	SAVE_ITEM(S3C64XX_SROM_BC4),
+	SAVE_ITEM(S3C64XX_SROM_BC5),
+};
+
+#ifdef CONFIG_S3C2410_PM_DEBUG
+
+#define SAVE_UART(va) \
+	SAVE_ITEM((va) + S3C2410_ULCON), \
+	SAVE_ITEM((va) + S3C2410_UCON), \
+	SAVE_ITEM((va) + S3C2410_UFCON), \
+	SAVE_ITEM((va) + S3C2410_UMCON), \
+	SAVE_ITEM((va) + S3C2410_UBRDIV)
+
+static struct sleep_save uart_save[] = {
+	SAVE_UART(S3C24XX_VA_UART0),
+	SAVE_UART(S3C24XX_VA_UART1),
+#ifndef CONFIG_CPU_S3C2400
+	SAVE_UART(S3C24XX_VA_UART2),
+#endif
+};
+
+/* debug
+ *
+ * we send the debug to printascii() to allow it to be seen if the
+ * system never wakes up from the sleep
+*/
+
+extern void printascii(const char *);
+
+void pm_dbg(const char *fmt, ...)
+{
+	va_list va;
+	char buff[256];
+
+	va_start(va, fmt);
+	vsprintf(buff, fmt, va);
+	va_end(va);
+
+	printascii(buff);
+}
+
+static void s3c2410_pm_debug_init(void)
+{
+	unsigned long tmp = __raw_readl(S3C2410_CLKCON);
+
+	/* re-start uart clocks */
+	tmp |= S3C2410_CLKCON_UART0;
+	tmp |= S3C2410_CLKCON_UART1;
+	tmp |= S3C2410_CLKCON_UART2;
+
+	__raw_writel(tmp, S3C2410_CLKCON);
+	udelay(10);
+}
+
+#define DBG(fmt...) pm_dbg(fmt)
+#else
+#define DBG(fmt...)
+
+#define s3c6410_pm_debug_init() do { } while(0)
+#endif
+
+#if defined(CONFIG_S3C2410_PM_CHECK) && CONFIG_S3C2410_PM_CHECK_CHUNKSIZE != 0
+
+/* suspend checking code...
+ *
+ * this next area does a set of crc checks over all the installed
+ * memory, so the system can verify if the resume was ok.
+ *
+ * CONFIG_S3C6410_PM_CHECK_CHUNKSIZE defines the block-size for the CRC,
+ * increasing it will mean that the area corrupted will be less easy to spot,
+ * and reducing the size will cause the CRC save area to grow
+*/
+
+#define CHECK_CHUNKSIZE (CONFIG_S3C2410_PM_CHECK_CHUNKSIZE * 1024)
+
+static u32 crc_size;	/* size needed for the crc block */
+static u32 *crcs;	/* allocated over suspend/resume */
+
+typedef u32 *(run_fn_t)(struct resource *ptr, u32 *arg);
+
+/* s3c6410_pm_run_res
+ *
+ * go thorugh the given resource list, and look for system ram
+*/
+
+static void s3c6410_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg)
+{
+	while (ptr != NULL) {
+		if (ptr->child != NULL)
+			s3c6410_pm_run_res(ptr->child, fn, arg);
+
+		if ((ptr->flags & IORESOURCE_MEM) &&
+		    strcmp(ptr->name, "System RAM") == 0) {
+			DBG("Found system RAM at %08lx..%08lx\n",
+			    ptr->start, ptr->end);
+			arg = (fn)(ptr, arg);
+		}
+
+		ptr = ptr->sibling;
+	}
+}
+
+static void s3c6410_pm_run_sysram(run_fn_t fn, u32 *arg)
+{
+	s3c6410_pm_run_res(&iomem_resource, fn, arg);
+}
+
+static u32 *s3c6410_pm_countram(struct resource *res, u32 *val)
+{
+	u32 size = (u32)(res->end - res->start)+1;
+
+	size += CHECK_CHUNKSIZE-1;
+	size /= CHECK_CHUNKSIZE;
+
+	DBG("Area %08lx..%08lx, %d blocks\n", res->start, res->end, size);
+
+	*val += size * sizeof(u32);
+	return val;
+}
+
+/* s3c6410_pm_prepare_check
+ *
+ * prepare the necessary information for creating the CRCs. This
+ * must be done before the final save, as it will require memory
+ * allocating, and thus touching bits of the kernel we do not
+ * know about.
+*/
+
+static void s3c6410_pm_check_prepare(void)
+{
+	crc_size = 0;
+
+	s3c6410_pm_run_sysram(s3c6410_pm_countram, &crc_size);
+
+	DBG("s3c6410_pm_prepare_check: %u checks needed\n", crc_size);
+
+	crcs = kmalloc(crc_size+4, GFP_KERNEL);
+	if (crcs == NULL)
+		printk(KERN_ERR "Cannot allocated CRC save area\n");
+}
+
+static u32 *s3c6410_pm_makecheck(struct resource *res, u32 *val)
+{
+	unsigned long addr, left;
+
+	for (addr = res->start; addr < res->end;
+	     addr += CHECK_CHUNKSIZE) {
+		left = res->end - addr;
+
+		if (left > CHECK_CHUNKSIZE)
+			left = CHECK_CHUNKSIZE;
+
+		*val = crc32_le(~0, phys_to_virt(addr), left);
+		val++;
+	}
+
+	return val;
+}
+
+/* s3c6410_pm_check_store
+ *
+ * compute the CRC values for the memory blocks before the final
+ * sleep.
+*/
+
+static void s3c6410_pm_check_store(void)
+{
+	if (crcs != NULL)
+		s3c6410_pm_run_sysram(s3c6410_pm_makecheck, crcs);
+}
+
+/* in_region
+ *
+ * return TRUE if the area defined by ptr..ptr+size contatins the
+ * what..what+whatsz
+*/
+
+static inline int in_region(void *ptr, int size, void *what, size_t whatsz)
+{
+	if ((what+whatsz) < ptr)
+		return 0;
+
+	if (what > (ptr+size))
+		return 0;
+
+	return 1;
+}
+
+static u32 *s3c6410_pm_runcheck(struct resource *res, u32 *val)
+{
+	void *save_at = phys_to_virt(s3c6410_sleep_save_phys);
+	unsigned long addr;
+	unsigned long left;
+	void *ptr;
+	u32 calc;
+
+	for (addr = res->start; addr < res->end;
+	     addr += CHECK_CHUNKSIZE) {
+		left = res->end - addr;
+
+		if (left > CHECK_CHUNKSIZE)
+			left = CHECK_CHUNKSIZE;
+
+		ptr = phys_to_virt(addr);
+
+		if (in_region(ptr, left, crcs, crc_size)) {
+			DBG("skipping %08lx, has crc block in\n", addr);
+			goto skip_check;
+		}
+
+		if (in_region(ptr, left, save_at, 32*4 )) {
+			DBG("skipping %08lx, has save block in\n", addr);
+			goto skip_check;
+		}
+
+		/* calculate and check the checksum */
+
+		calc = crc32_le(~0, ptr, left);
+		if (calc != *val) {
+			printk(KERN_ERR PFX "Restore CRC error at "
+			       "%08lx (%08x vs %08x)\n", addr, calc, *val);
+
+			DBG("Restore CRC error at %08lx (%08x vs %08x)\n",
+			    addr, calc, *val);
+		}
+
+	skip_check:
+		val++;
+	}
+
+	return val;
+}
+
+/* s3c6410_pm_check_restore
+ *
+ * check the CRCs after the restore event and free the memory used
+ * to hold them
+*/
+
+static void s3c6410_pm_check_restore(void)
+{
+	if (crcs != NULL) {
+		s3c6410_pm_run_sysram(s3c6410_pm_runcheck, crcs);
+		kfree(crcs);
+		crcs = NULL;
+	}
+}
+
+#else
+
+#define s3c6410_pm_check_prepare() do { } while(0)
+#define s3c6410_pm_check_restore() do { } while(0)
+#define s3c6410_pm_check_store()   do { } while(0)
+#endif
+
+/* helper functions to save and restore register state */
+
+void s3c6410_pm_do_save(struct sleep_save *ptr, int count)
+{
+	for (; count > 0; count--, ptr++) {
+		ptr->val = __raw_readl(ptr->reg);
+		//DBG("saved %p value %08lx\n", ptr->reg, ptr->val);
+	}
+}
+
+/* s3c6410_pm_do_restore
+ *
+ * restore the system from the given list of saved registers
+ *
+ * Note, we do not use DBG() in here, as the system may not have
+ * restore the UARTs state yet
+*/
+
+void s3c6410_pm_do_restore(struct sleep_save *ptr, int count)
+{
+	for (; count > 0; count--, ptr++) {
+		//printk(KERN_DEBUG "restore %p (restore %08lx, was %08x)\n",
+		       //ptr->reg, ptr->val, __raw_readl(ptr->reg));
+
+		__raw_writel(ptr->val, ptr->reg);
+	}
+}
+
+/* s3c6410_pm_do_restore_core
+ *
+ * similar to s36410_pm_do_restore_core
+ *
+ * WARNING: Do not put any debug in here that may effect memory or use
+ * peripherals, as things may be changing!
+*/
+
+/* s3c6410_pm_do_save_phy
+ *
+ * save register of system
+ *
+ * Note, I made this function to support driver with ioremap.
+ * If you want to use this function, you should to input as first parameter
+ * struct sleep_save_phy type
+*/
+
+int s3c2410_pm_do_save_phy(struct sleep_save_phy *ptr, struct platform_device *pdev, int count)
+{
+	void __iomem *target_reg;
+	struct resource *res;
+	u32 reg_size;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if(res == NULL){
+		printk(KERN_ERR "%s resource get error\n",__FUNCTION__);
+		return 0;
+	}
+	reg_size = res->end - res->start + 1;
+	target_reg = ioremap(res->start,reg_size);
+
+	for (; count > 0; count--, ptr++) {
+		ptr->val = readl(target_reg + (ptr->reg));
+	}
+
+	return 0;
+}
+
+/* s3c6410_pm_do_restore_phy
+ *
+ * restore register of system
+ *
+ * Note, I made this function to support driver with ioremap.
+ * If you want to use this function, you should to input as first parameter
+ * struct sleep_save_phy type
+*/
+
+int s3c2410_pm_do_restore_phy(struct sleep_save_phy *ptr, struct platform_device *pdev, int count)
+{
+	void __iomem *target_reg;
+	struct resource *res;
+	u32 reg_size;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if(res == NULL){
+		printk(KERN_ERR "%s resource get error\n",__FUNCTION__);
+		return 0;
+	}
+	reg_size = res->end - res->start + 1;
+	target_reg = ioremap(res->start,reg_size);
+
+	for (; count > 0; count--, ptr++) {
+		writel(ptr->val, (target_reg + ptr->reg));
+	}
+
+	return 0;
+}
+
+static void s3c6410_pm_do_restore_core(struct sleep_save *ptr, int count)
+{
+	for (; count > 0; count--, ptr++) {
+		__raw_writel(ptr->val, ptr->reg);
+	}
+}
+
+static void s3c6410_pm_configure_extint(void)
+{
+
+	/* for each of the external interrupts (EINT0..EINT15) we
+	 * need to check wether it is an external interrupt source,
+	 * and then configure it as an input if it is not
+	*/
+
+
+
+
+
+
+	s3c_gpio_cfgpin(S3C64XX_GPN(10), S3C64XX_GPN10_EINT10);
+	s3c_gpio_setpull(S3C64XX_GPN(10), S3C_GPIO_PULL_UP);
+	udelay(50);
+
+
+
+	__raw_writel((__raw_readl(S3C64XX_EINT0CON0) & ~(0x7 << 20)) |
+		     (S3C64XX_EXTINT_FALLEDGE << 20), S3C64XX_EINT0CON0);
+
+	__raw_writel(1UL << (IRQ_EINT(10) - IRQ_EINT(0)), S3C64XX_EINT0PEND);
+	__raw_writel(__raw_readl(S3C64XX_EINT0MASK)&~(1UL << (IRQ_EINT(10) - IRQ_EINT(0))), S3C64XX_EINT0MASK);
+
+	__raw_writel((0x0fffffff&~(3<<9)), S3C_EINT_MASK);
+}
+
+void (*pm_cpu_prep)(void);
+void (*pm_cpu_sleep)(void);
+
+#define any_allowed(mask, allow) (((mask) & (allow)) != (allow))
+
+/* s3c6410_pm_enter
+ *
+ * central control for sleep/resume process
+*/
+
+static int s3c6410_pm_enter(suspend_state_t state)
+{
+	unsigned long regs_save[16];
+	unsigned int tmp;
+
+	/* ensure the debug is initialised (if enabled) */
+
+	DBG("s3c6410_pm_enter(%d)\n", state);
+
+	if (pm_cpu_prep == NULL || pm_cpu_sleep == NULL) {
+		printk(KERN_ERR PFX "error: no cpu sleep functions set\n");
+		return -EINVAL;
+	}
+
+	/* prepare check area if configured */
+	s3c6410_pm_check_prepare();
+
+	/* store the physical address of the register recovery block */
+	s3c6410_sleep_save_phys = virt_to_phys(regs_save);
+
+	printk("s3c6410_sleep_save_phys=0x%08lx\n", s3c6410_sleep_save_phys);
+
+	/* save all necessary core registers not covered by the drivers */
+
+	s3c6410_pm_do_save(gpio_save, ARRAY_SIZE(gpio_save));
+	s3c6410_pm_do_save(irq_save, ARRAY_SIZE(irq_save));
+	s3c6410_pm_do_save(core_save, ARRAY_SIZE(core_save));
+	s3c6410_pm_do_save(sromc_save, ARRAY_SIZE(sromc_save));
+
+	/* ensure INF_REG0  has the resume address */
+	__raw_writel(virt_to_phys(s3c6410_cpu_resume), S3C_INFORM0);
+
+	/* set the irq configuration for wake */
+	s3c6410_pm_configure_extint();
+
+	/* call cpu specific preperation */
+
+	pm_cpu_prep();
+
+	/* flush cache back to ram */
+
+	flush_cache_all();
+
+	s3c6410_pm_check_store();
+
+	/* send the cpu to sleep... */
+
+	__raw_writel(0xffffffff, S3C64XX_VIC0INTENCLEAR);
+	__raw_writel(0xffffffff, S3C64XX_VIC1INTENCLEAR);
+	__raw_writel(0xffffffff, S3C64XX_VIC0SOFTINTCLEAR);
+	__raw_writel(0xffffffff, S3C64XX_VIC1SOFTINTCLEAR);
+
+	__raw_writel(1, S3C_OSC_STABLE);
+	__raw_writel(1, S3C_PWR_STABLE);
+
+	/* Set WFI instruction to SLEEP mode */
+
+	tmp = __raw_readl(S3C_PWR_CFG);
+	tmp &= ~(0x60<<0);
+	tmp |= (0x3<<5);
+	__raw_writel(tmp, S3C_PWR_CFG);
+
+	tmp = __raw_readl(S3C_SLEEP_CFG);
+	tmp &= ~(0x61<<0);
+	__raw_writel(tmp, S3C_SLEEP_CFG);
+
+	/* Clear WAKEUP_STAT register for next wakeup -jc.lee */
+	/* If this register do not be cleared, Wakeup will be failed */
+	tmp = __raw_readl(S3C_WAKEUP_STAT);
+	__raw_writel(tmp, S3C_WAKEUP_STAT);
+
+	/* ALL sub block "ON" before enterring sleep mode - EVT0 bug*/
+	__raw_writel(0xffffff00, S3C_NORMAL_CFG);
+
+	/* Open all clock gate to enter sleep mode - EVT0 bug*/
+	__raw_writel(0xffffffff, S3C_HCLK_GATE);
+	__raw_writel(0xffffffff, S3C_PCLK_GATE);
+	__raw_writel(0xffffffff, S3C_SCLK_GATE);
+
+	/* s3c6410_cpu_save will also act as our return point from when
+	 * we resume as it saves its own register state, so use the return
+	 * code to differentiate return from save and return from sleep */
+
+	if (s3c6410_cpu_save(regs_save) == 0) {
+		flush_cache_all();
+		pm_cpu_sleep();
+	}
+
+	/* restore the cpu state */
+	cpu_init();
+
+	/* restore the system state */
+	s3c6410_pm_do_restore_core(core_save, ARRAY_SIZE(core_save));
+	s3c6410_pm_do_restore(sromc_save, ARRAY_SIZE(sromc_save));
+	s3c6410_pm_do_restore(gpio_save, ARRAY_SIZE(gpio_save));
+	s3c6410_pm_do_restore(irq_save, ARRAY_SIZE(irq_save));
+
+	tmp = __raw_readl(S3C64XX_EINT0PEND);
+	__raw_writel(tmp, S3C64XX_EINT0PEND);
+
+	DBG("post sleep, preparing to return\n");
+
+	s3c6410_pm_check_restore();
+
+	/* ok, let's return from sleep */
+	DBG("S3C6410 PM Resume (post-restore)\n");
+	return 0;
+}
+
+static struct platform_suspend_ops s3c6410_pm_ops = {
+	.enter		= s3c6410_pm_enter,
+	.valid		= suspend_valid_only_mem,
+};
+
+/* s3c6410_pm_init
+ *
+ * Attach the power management functions. This should be called
+ * from the board specific initialisation if the board supports
+ * it.
+*/
+
+int __init s3c6410_pm_init(void)
+{
+	printk("S3C6410 Power Management, (c) 2008 Samsung Electronics\n");
+
+	suspend_set_ops(&s3c6410_pm_ops);
+	return 0;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/pwm-s3c6410.c linux-2.6.28.6/arch/arm/plat-s3c64xx/pwm-s3c6410.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/pwm-s3c6410.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/pwm-s3c6410.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,375 @@
+/* arch/arm/plat-s3c64xx/pwm-s3c6410.c
+ *
+ * (c) 2003-2005 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C6410 PWM core
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Changelog:
+ * This file is based on the Sangwook Lee/Samsung patches, re-written due
+ * to various ommisions from the code (such as flexible pwm configuration)
+ * for use with the BAST system board.
+ *
+ *
+ */
+#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/input.h>
+#include <linux/init.h>
+#include <linux/serio.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/miscdevice.h>
+#include <linux/clk.h>
+#include <linux/mutex.h>
+
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <asm/uaccess.h>
+
+#include <mach/hardware.h>
+#include <mach/irqs.h>
+#include <mach/gpio.h>
+#include <plat/map.h>
+#include <plat/regs-timer.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+#include "pwm-s3c6410.h"
+
+s3c6410_pwm_chan_t s3c_chans[S3C_PWM_CHANNELS];
+
+static inline void
+s3c6410_pwm_buffdone(s3c6410_pwm_chan_t *chan, void *dev)
+{
+
+	if (chan->callback_fn != NULL) {
+		(chan->callback_fn)( dev);
+	}
+}
+
+
+static int s3c6410_pwm_start (int channel)
+{
+	unsigned long tcon;
+	tcon = __raw_readl(S3C_TCON);
+	switch(channel)
+	{
+	case 0:
+		tcon |= S3C_TCON_T0START;
+		tcon &= ~S3C_TCON_T0MANUALUPD;
+	break;
+	case 1:
+		tcon |= S3C_TCON_T1START;
+		tcon &= ~S3C_TCON_T1MANUALUPD;
+	break;
+	case 2:
+		tcon |= S3C_TCON_T2START;
+		tcon &= ~S3C_TCON_T2MANUALUPD;
+	break;
+	case 3:
+		tcon |= S3C_TCON_T3START;
+		tcon &= ~S3C_TCON_T3MANUALUPD;
+	break;
+	case 4:
+		tcon |= S3C_TCON_T4START;
+		tcon &= ~S3C_TCON_T4MANUALUPD;
+	break;
+	}
+	__raw_writel(tcon, S3C_TCON);
+
+	return 0;
+}
+
+
+int s3c6410_timer_setup (int channel, int usec, unsigned long g_tcnt, unsigned long g_tcmp)
+{
+	unsigned long tcon;
+	unsigned long tcnt;
+	unsigned long tcmp;
+	unsigned long tcfg1;
+	unsigned long tcfg0;
+	unsigned long pclk;
+	struct clk *clk;
+
+	printk("\nPWM channel %d set g_tcnt = %ld, g_tcmp = %ld \n", channel, g_tcnt, g_tcmp);
+
+	tcnt = 0xffffffff;  /* default value for tcnt */
+
+	/* read the current timer configuration bits */
+	tcon = __raw_readl(S3C_TCON);
+	tcfg1 = __raw_readl(S3C_TCFG1);
+	tcfg0 = __raw_readl(S3C_TCFG0);
+
+	clk = clk_get(NULL, "timers");
+	if (IS_ERR(clk))
+		panic("failed to get clock for pwm timer");
+
+	clk_enable(clk);
+
+	pclk = clk_get_rate(clk);
+
+	/* configure clock tick */
+	switch(channel)
+	{
+		case 0:
+			/* set gpio as PWM TIMER0 to signal output*/
+			s3c_gpio_cfgpin(S3C64XX_GPF(14),S3C64XX_GPF14_PWM_TOUT0);			 
+
+			tcfg1 &= ~S3C_TCFG1_MUX0_MASK;
+			tcfg1 |= S3C_TCFG1_MUX1_DIV2;
+
+			tcfg0 &= ~S3C_TCFG_PRESCALER0_MASK;
+			tcfg0 |= (PRESCALER) << S3C_TCFG_PRESCALER0_SHIFT;
+			tcon &= ~(7<<0);
+			tcon |= S3C_TCON_T0RELOAD;
+			break;
+
+		case 1:
+			/* set gpio as PWM TIMER1 to signal output*/
+			s3c_gpio_cfgpin(S3C64XX_GPF(15),S3C64XX_GPF15_PWM_TOUT1);			 
+			
+			tcfg1 &= ~S3C_TCFG1_MUX1_MASK;
+			tcfg1 |= S3C_TCFG1_MUX1_DIV2;
+
+			tcfg0 &= ~S3C_TCFG_PRESCALER0_MASK;
+			tcfg0 |= (PRESCALER) << S3C_TCFG_PRESCALER0_SHIFT;
+
+			tcon &= ~(7<<8);
+			tcon |= S3C_TCON_T1RELOAD;
+			break;
+		case 2:
+			tcfg1 &= ~S3C_TCFG1_MUX2_MASK;
+			tcfg1 |= S3C_TCFG1_MUX2_DIV2;
+
+			tcfg0 &= ~S3C_TCFG_PRESCALER1_MASK;
+			tcfg0 |= (PRESCALER) << S3C_TCFG_PRESCALER1_SHIFT;
+
+			tcon &= ~(7<<12);
+			tcon |= S3C_TCON_T2RELOAD;
+			break;
+		case 3:
+			tcfg1 &= ~S3C_TCFG1_MUX3_MASK;
+			tcfg1 |= S3C_TCFG1_MUX3_DIV2;
+
+			tcfg0 &= ~S3C_TCFG_PRESCALER1_MASK;
+			tcfg0 |= (PRESCALER) << S3C_TCFG_PRESCALER1_SHIFT;
+			tcon &= ~(7<<16);
+			tcon |= S3C_TCON_T3RELOAD;
+			break;
+		case 4:
+			tcfg1 &= ~S3C_TCFG1_MUX4_MASK;
+			tcfg1 |= S3C_TCFG1_MUX4_DIV2;
+
+			tcfg0 &= ~S3C_TCFG_PRESCALER1_MASK;
+			tcfg0 |= (PRESCALER) << S3C_TCFG_PRESCALER1_SHIFT;
+			tcon &= ~(7<<20);
+			tcon |= S3C_TCON_T3RELOAD;
+			break;
+	}
+
+	__raw_writel(tcfg1, S3C_TCFG1);
+	__raw_writel(tcfg0, S3C_TCFG0);
+
+
+	__raw_writel(tcon, S3C_TCON);
+	
+	/*tcnt = 160;
+	__raw_writel(tcnt, S3C_TCNTB(channel));
+	tcmp = 110;
+	__raw_writel(tcmp, S3C_TCMPB(channel));*/
+
+	switch(channel)
+	{
+		case 0:
+			tcon |= S3C_TCON_T0MANUALUPD;
+			break;
+		case 1:
+			tcon |= S3C_TCON_T1MANUALUPD;
+			break;
+		case 2:
+			tcon |= S3C_TCON_T2MANUALUPD;
+			break;
+		case 3:
+			tcon |= S3C_TCON_T3MANUALUPD;
+			break;
+		case 4:
+			tcon |= S3C_TCON_T4MANUALUPD;
+			break;
+	}
+	__raw_writel(tcon, S3C_TCON);
+
+	tcnt = g_tcnt;
+	__raw_writel(tcnt, S3C_TCNTB(channel));
+
+	tcmp = g_tcmp;
+	__raw_writel(tcmp, S3C_TCMPB(channel));
+
+	/* start the timer running */
+	s3c6410_pwm_start ( channel);
+
+	return 0;
+}
+
+
+static irqreturn_t s3c6410_pwm_irq(int irq, void *devpw)
+{
+	s3c6410_pwm_chan_t *chan = (s3c6410_pwm_chan_t *)devpw;
+	void *dev=chan->dev;
+
+	/* modify the channel state */
+	s3c6410_pwm_buffdone(chan, dev);
+
+	return IRQ_HANDLED;
+}
+
+
+int s3c6410_pwm_request(pwmch_t  channel, s3c_pwm_client_t *client, void *dev)
+{
+	s3c6410_pwm_chan_t *chan = &s3c_chans[channel];
+	unsigned long flags;
+	int err;
+
+	pr_debug("pwm%d: s3c_request_pwm: client=%s, dev=%p\n",
+		 channel, client->name, dev);
+
+
+	local_irq_save(flags);
+
+
+	if (chan->in_use) {
+		if (client != chan->client) {
+			printk(KERN_ERR "pwm%d: already in use\n", channel);
+			local_irq_restore(flags);
+			return -EBUSY;
+		} else {
+			printk(KERN_ERR "pwm%d: client already has channel\n", channel);
+		}
+	}
+
+	chan->client = client;
+	chan->in_use = 1;
+	chan->dev = dev;
+
+	if (!chan->irq_claimed) {
+		pr_debug("pwm%d: %s : requesting irq %d\n",
+			 channel, __FUNCTION__, chan->irq);
+		 
+		err = request_irq(chan->irq, s3c6410_pwm_irq, IRQF_DISABLED,
+				  client->name, (void *)chan);
+
+		if (err) {
+			chan->in_use = 0;
+			local_irq_restore(flags);
+
+			printk(KERN_ERR "%s: cannot get IRQ %d for PWM %d\n",
+			       client->name, chan->irq, chan->number);
+			return err;
+		}
+
+		chan->irq_claimed = 1;
+		chan->irq_enabled = 1;
+	}
+
+	local_irq_restore(flags);
+
+	/* need to setup */
+
+	pr_debug("%s: channel initialised, %p\n", __FUNCTION__, chan);
+
+	return 0;
+}
+
+int s3c6410_pwm_free (pwmch_t channel, s3c_pwm_client_t *client)
+{
+	s3c6410_pwm_chan_t *chan = &s3c_chans[channel];
+	unsigned long flags;
+
+
+	local_irq_save(flags);
+
+	if (chan->client != client) {
+		printk(KERN_WARNING "pwm%d: possible free from different client (channel %p, passed %p)\n",
+		       channel, chan->client, client);
+	}
+
+	/* sort out stopping and freeing the channel */
+
+
+	chan->client = NULL;
+	chan->in_use = 0;
+
+	if (chan->irq_claimed)
+		free_irq(chan->irq, (void *)chan);
+	chan->irq_claimed = 0;
+
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+
+int s3c6410_pwm_set_buffdone_fn(pwmch_t channel, s3c_pwm_cbfn_t rtn)
+{
+	s3c6410_pwm_chan_t *chan = &s3c_chans[channel];
+
+
+	pr_debug("%s: chan=%d, callback rtn=%p\n", __FUNCTION__, channel, rtn);
+
+	chan->callback_fn = rtn;
+
+	return 0;
+}
+
+
+#define s3c6410_pwm_suspend NULL
+#define s3c6410_pwm_resume  NULL
+
+struct sysdev_class pwm_sysclass = {
+	.name           = "s3c-pwm",	
+	.suspend	= s3c6410_pwm_suspend,
+	.resume		= s3c6410_pwm_resume,
+};
+
+
+/* initialisation code */
+
+static int __init s3c6410_init_pwm(void)
+{
+	s3c6410_pwm_chan_t *cp;
+	int channel;
+	int ret;
+
+	printk("S3C PWM Driver, (c) 2006-2007 Samsung Electronics\n");
+
+	ret = sysdev_class_register(&pwm_sysclass);
+	if (ret != 0) {
+		printk(KERN_ERR "pwm sysclass registration failed\n");
+		return -ENODEV;
+	}
+
+	for (channel = 0; channel < S3C_PWM_CHANNELS; channel++) {
+		cp = &s3c_chans[channel];
+
+		memset(cp, 0, sizeof(s3c6410_pwm_chan_t));
+
+		cp->number = channel;
+		/* pwm channel irqs are in order.. */
+		cp->irq    = channel + IRQ_TIMER0;
+
+		/* register system device */
+
+		ret = sysdev_register(&cp->sysdev);
+
+		pr_debug("PWM channel %d , irq %d\n",
+		       cp->number,  cp->irq);
+	}
+
+	return ret;
+}
+__initcall(s3c6410_init_pwm);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/pwm-s3c6410.h linux-2.6.28.6/arch/arm/plat-s3c64xx/pwm-s3c6410.h
--- linux-2.6.28/arch/arm/plat-s3c64xx/pwm-s3c6410.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/pwm-s3c6410.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,78 @@
+/* arch/arm/plat-s3c64xx/pwm-s3c6410.h
+ *
+ * Copyright (C) 2003,2004 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * Samsung S3C PWM support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Changelog:
+ *  ??-May-2003 BJD   Created file
+ *  ??-Jun-2003 BJD   Added more dma functionality to go with arch
+ *  10-Nov-2004 BJD   Added sys_device support
+*/
+
+#ifndef __ASM_ARCH_DMA_H
+#define __ASM_ARCH_DMA_H __FILE__
+
+#include <linux/sysdev.h>
+#include <plat/regs-timer.h>
+
+
+#define pwmch_t int
+
+/* we have 4 pwm channels */
+#define S3C_PWM_CHANNELS        5
+#define PRESCALER 		((4-1)/2)
+
+struct s3c_pwm_client {
+	char                *name;
+};
+
+typedef struct s3c_pwm_client s3c_pwm_client_t;
+
+
+typedef struct s3c_pwm_chan_s s3c6410_pwm_chan_t;
+
+/* s3c_pwm_cbfn_t
+ *
+ * buffer callback routine type
+*/
+
+typedef void (*s3c_pwm_cbfn_t)(void *buf);
+
+
+
+/* struct s3c_pwm_chan_s
+ *
+ * full state information for each DMA channel
+*/
+
+struct s3c_pwm_chan_s {
+	/* channel state flags and information */
+	unsigned char          number;      /* number of this dma channel */
+	unsigned char          in_use;      /* channel allocated */
+	unsigned char          irq_claimed; /* irq claimed for channel */
+	unsigned char          irq_enabled; /* irq enabled for channel */
+
+	/* channel state */
+
+	s3c_pwm_client_t  *client;
+	void 	*dev;
+	/* channel configuration */
+	unsigned int           flags;        /* channel flags */
+
+	/* channel's hardware position and configuration */
+	unsigned int           irq;          /* channel irq */
+
+	/* driver handles */
+	s3c_pwm_cbfn_t     callback_fn;  /* buffer done callback */
+
+	/* system device */
+	struct sys_device	sysdev;
+};
+
+#endif /* __ASM_ARCH_DMA_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/pwm.c linux-2.6.28.6/arch/arm/plat-s3c64xx/pwm.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/pwm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/pwm.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,432 @@
+/* arch/arm/plat-s3c24xx/pwm.c
+ *
+ * Copyright (c) 2007 Ben Dooks
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>, <ben-linux@fluff.org>
+ *
+ * S3C24XX PWM device core
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/platform_device.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+#include <linux/pwm.h>
+#include <linux/gpio.h>
+
+#include <mach/map.h>
+#include <plat/devs.h>
+#include <plat/regs-timer.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-f.h>
+
+struct pwm_device {
+	struct list_head	 list;
+	struct platform_device	*pdev;
+
+	struct clk		*clk_div;
+	struct clk		*clk;
+	const char		*label;
+
+	unsigned int		 period_ns;
+	unsigned int		 duty_ns;
+
+	unsigned char		 tcon_base;
+	unsigned char		 running;
+	unsigned char		 use_count;
+	unsigned char		 pwm_id;
+};
+
+#define pwm_dbg(_pwm, msg...) dev_dbg(&(_pwm)->pdev->dev, msg)
+
+static struct clk *clk_scaler[2];
+
+/* Standard setup for a timer block. */
+
+#define TIMER_RESOURCE_SIZE (1)
+
+#define TIMER_RESOURCE(_tmr, _irq)			\
+	(struct resource [TIMER_RESOURCE_SIZE]) {	\
+		[0] = {					\
+			.start	= _irq,			\
+			.end	= _irq,			\
+			.flags	= IORESOURCE_IRQ	\
+		}					\
+	}
+
+#define DEFINE_S3C_TIMER(_tmr_no, _irq)			\
+	.name		= "s3c24xx-pwm",		\
+	.id		= _tmr_no,			\
+	.num_resources	= TIMER_RESOURCE_SIZE,		\
+	.resource	= TIMER_RESOURCE(_tmr_no, _irq),	\
+
+/* since we already have an static mapping for the timer, we do not
+ * bother setting any IO resource for the base.
+ */
+
+struct platform_device s3c_device_timer[] = {
+	[0] = { DEFINE_S3C_TIMER(0, IRQ_TIMER0) },
+	[1] = { DEFINE_S3C_TIMER(1, IRQ_TIMER1) },
+	[2] = { DEFINE_S3C_TIMER(2, IRQ_TIMER2) },
+	[3] = { DEFINE_S3C_TIMER(3, IRQ_TIMER3) },
+	[4] = { DEFINE_S3C_TIMER(4, IRQ_TIMER4) },
+};
+
+static inline int pwm_is_tdiv(struct pwm_device *pwm)
+{
+	return clk_get_parent(pwm->clk) == pwm->clk_div;
+}
+
+static DEFINE_MUTEX(pwm_lock);
+static LIST_HEAD(pwm_list);
+
+struct pwm_device *pwm_request(int pwm_id, const char *label)
+{
+	struct pwm_device *pwm;
+	int found = 0;
+
+	mutex_lock(&pwm_lock);
+
+	list_for_each_entry(pwm, &pwm_list, list) {
+		if (pwm->pwm_id == pwm_id) {
+			found = 1;
+			break;
+		}
+	}
+
+	if (found) {
+		if (pwm->use_count == 0) {
+			pwm->use_count = 1;
+			pwm->label = label;
+		} else
+			pwm = ERR_PTR(-EBUSY);
+	} else
+		pwm = ERR_PTR(-ENOENT);
+
+	mutex_unlock(&pwm_lock);
+	return pwm;
+}
+
+EXPORT_SYMBOL(pwm_request);
+
+
+void pwm_free(struct pwm_device *pwm)
+{
+	mutex_lock(&pwm_lock);
+
+	if (pwm->use_count) {
+		pwm->use_count--;
+		pwm->label = NULL;
+	} else
+		printk(KERN_ERR "PWM%d device already freed\n", pwm->pwm_id);
+
+	mutex_unlock(&pwm_lock);
+}
+
+EXPORT_SYMBOL(pwm_free);
+
+#define pwm_tcon_start(pwm) (1 << (pwm->tcon_base + 0))
+#define pwm_tcon_invert(pwm) (1 << (pwm->tcon_base + 2))
+#define pwm_tcon_autoreload(pwm) (1 << (pwm->tcon_base + 3))
+#define pwm_tcon_manulupdate(pwm) (1 << (pwm->tcon_base + 1))
+
+int pwm_enable(struct pwm_device *pwm)
+{
+	unsigned long flags;
+	unsigned long tcon;
+
+	local_irq_save(flags);
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon |= pwm_tcon_start(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+	pwm->running = 1;
+	return 0;
+}
+
+EXPORT_SYMBOL(pwm_enable);
+
+void pwm_disable(struct pwm_device *pwm)
+{
+	unsigned long flags;
+	unsigned long tcon;
+
+	local_irq_save(flags);
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon &= ~pwm_tcon_start(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+	pwm->running = 0;
+}
+
+EXPORT_SYMBOL(pwm_disable);
+
+static unsigned long pwm_calc_tin(struct pwm_device *pwm, unsigned long freq)
+{
+	unsigned long tin_parent_rate;
+	unsigned int div;
+
+	tin_parent_rate = clk_get_rate(clk_get_parent(pwm->clk_div));
+	pwm_dbg(pwm, "tin parent at %lu\n", tin_parent_rate);
+
+	for (div = 2; div <= 16; div *= 2) {
+		if ((tin_parent_rate / (div << 16)) < freq)
+			return tin_parent_rate / div;
+	}
+
+	return tin_parent_rate / 16;
+}
+
+#define NS_IN_HZ (1000000000UL)
+
+int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)
+{
+	unsigned long tin_rate;
+	unsigned long tin_ns;
+	unsigned long period;
+	unsigned long flags;
+	unsigned long tcon;
+	unsigned long tcnt;
+	long tcmp;
+
+	/* We currently avoid using 64bit arithmetic by using the
+	 * fact that anything faster than 1Hz is easily representable
+	 * by 32bits. */
+
+	if (period_ns > NS_IN_HZ || duty_ns > NS_IN_HZ)
+		return -ERANGE;
+
+	if (duty_ns > period_ns)
+		return -EINVAL;
+
+	if (period_ns == pwm->period_ns &&
+	    duty_ns == pwm->duty_ns)
+		return 0;
+
+	/* The TCMP and TCNT can be read without a lock, they're not
+	 * shared between the timers. */
+
+	tcmp = __raw_readl(S3C2410_TCMPB(pwm->pwm_id));
+	tcnt = __raw_readl(S3C2410_TCNTB(pwm->pwm_id));
+
+	period = NS_IN_HZ / period_ns;
+
+	pwm_dbg(pwm, "duty_ns=%d, period_ns=%d (%lu)\n",
+		duty_ns, period_ns, period);
+
+	/* Check to see if we are changing the clock rate of the PWM */
+
+	if (pwm->period_ns != period_ns) {
+		if (pwm_is_tdiv(pwm)) {
+			tin_rate = pwm_calc_tin(pwm, period);
+			clk_set_rate(pwm->clk_div, tin_rate);
+		} else
+			tin_rate = clk_get_rate(pwm->clk);
+
+		pwm->period_ns = period_ns;
+
+		pwm_dbg(pwm, "tin_rate=%lu\n", tin_rate);
+
+		tin_ns = NS_IN_HZ / tin_rate;
+		tcnt = period_ns / tin_ns;
+	} else
+		tin_ns = NS_IN_HZ / clk_get_rate(pwm->clk);
+
+	/* Note, counters count down */
+
+	tcmp = duty_ns / tin_ns;
+	tcmp = tcnt - tcmp;
+
+	pwm_dbg(pwm, "tin_ns=%lu, tcmp=%ld/%lu\n", tin_ns, tcmp, tcnt);
+
+	if (tcmp < 0)
+		tcmp = 0;
+
+	/* Update the PWM register block. */
+
+	local_irq_save(flags);
+
+	__raw_writel(tcmp, S3C2410_TCMPB(pwm->pwm_id));
+	__raw_writel(tcnt, S3C2410_TCNTB(pwm->pwm_id));
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon |= pwm_tcon_manulupdate(pwm);
+	tcon |= pwm_tcon_autoreload(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	tcon &= ~pwm_tcon_manulupdate(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+EXPORT_SYMBOL(pwm_config);
+
+static int pwm_register(struct pwm_device *pwm)
+{
+	pwm->duty_ns = -1;
+	pwm->period_ns = -1;
+
+	mutex_lock(&pwm_lock);
+	list_add_tail(&pwm->list, &pwm_list);
+	mutex_unlock(&pwm_lock);
+
+	return 0;
+}
+
+static int s3c_pwm_probe(struct platform_device *pdev)
+{
+	struct device *dev = &pdev->dev;
+	struct pwm_device *pwm;
+	unsigned long flags;
+	unsigned long tcon;
+	unsigned int id = pdev->id;
+	int ret;
+
+	if (id == 0) {
+		if(gpio_is_valid(S3C64XX_GPF(14))) {
+			ret = gpio_request(S3C64XX_GPF(14), "GPF");
+
+			if (ret) {
+				printk(KERN_ERR "failed to request GPF for PWM-OUT 0\n");
+			}
+			s3c_gpio_cfgpin(S3C64XX_GPF(14),S3C64XX_GPF14_PWM_TOUT0);			 
+		}
+	} else if(id == 1) {
+		if(gpio_is_valid(S3C64XX_GPF(15))) {
+			ret = gpio_request(S3C64XX_GPF(15), "GPF");
+
+			if (ret) {
+				printk(KERN_ERR "failed to request GPF for PWM-OUT 1\n");
+			}
+			s3c_gpio_cfgpin(S3C64XX_GPF(15),S3C64XX_GPF15_PWM_TOUT1);			 
+		}
+	
+	} else {
+		printk(KERN_ERR "This PWM dosen't support PWM out\n");
+	}
+
+	if (id == 4) {
+		dev_err(dev, "TIMER4 is currently not supported\n");
+		return -ENXIO;
+	}
+
+	pwm = kzalloc(sizeof(struct pwm_device), GFP_KERNEL);
+	if (pwm == NULL) {
+		dev_err(dev, "failed to allocate pwm_device\n");
+		return -ENOMEM;
+	}
+
+	pwm->pdev = pdev;
+	pwm->pwm_id = id;
+
+	/* calculate base of control bits in TCON */
+	pwm->tcon_base = id == 0 ? 0 : (id * 4) + 4;
+
+	pwm->clk = clk_get(dev, "pwm-tin");
+	if (IS_ERR(pwm->clk)) {
+		dev_err(dev, "failed to get pwm tin clk\n");
+		ret = PTR_ERR(pwm->clk);
+		goto err_alloc;
+	}
+
+	pwm->clk_div = clk_get(dev, "pwm-tdiv");
+	if (IS_ERR(pwm->clk_div)) {
+		dev_err(dev, "failed to get pwm tdiv clk\n");
+		ret = PTR_ERR(pwm->clk_div);
+		goto err_clk_tin;
+	}
+
+	local_irq_save(flags);
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon |= pwm_tcon_invert(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+
+	ret = pwm_register(pwm);
+	if (ret) {
+		dev_err(dev, "failed to register pwm\n");
+		goto err_clk_tdiv;
+	}
+
+	pwm_dbg(pwm, "config bits %02x\n",
+		(__raw_readl(S3C2410_TCON) >> pwm->tcon_base) & 0x0f);
+
+	dev_info(dev, "tin at %lu, tdiv at %lu, tin=%sclk, base %d\n",
+		 clk_get_rate(pwm->clk),
+		 clk_get_rate(pwm->clk_div),
+		 pwm_is_tdiv(pwm) ? "div" : "ext", pwm->tcon_base);
+
+	platform_set_drvdata(pdev, pwm);
+	return 0;
+
+ err_clk_tdiv:
+	clk_put(pwm->clk_div);
+
+ err_clk_tin:
+	clk_put(pwm->clk);
+
+ err_alloc:
+	kfree(pwm);
+	return ret;
+}
+
+static int s3c_pwm_remove(struct platform_device *pdev)
+{
+	struct pwm_device *pwm = platform_get_drvdata(pdev);
+
+	clk_put(pwm->clk_div);
+	clk_put(pwm->clk);
+	kfree(pwm);
+
+	return 0;
+}
+
+static struct platform_driver s3c_pwm_driver = {
+	.driver		= {
+		.name	= "s3c24xx-pwm",
+		.owner	= THIS_MODULE,
+	},
+	.probe		= s3c_pwm_probe,
+	.remove		= __devexit_p(s3c_pwm_remove),
+};
+
+static int __init pwm_init(void)
+{
+	int ret;
+
+	clk_scaler[0] = clk_get(NULL, "pwm-scaler0");
+	clk_scaler[1] = clk_get(NULL, "pwm-scaler1");
+
+	if (IS_ERR(clk_scaler[0]) || IS_ERR(clk_scaler[1])) {
+		printk(KERN_ERR "%s: failed to get scaler clocks\n", __func__);
+		return -EINVAL;
+	}
+
+	ret = platform_driver_register(&s3c_pwm_driver);
+	if (ret)
+		printk(KERN_ERR "%s: failed to add pwm driver\n", __func__);
+
+	return ret;
+}
+
+arch_initcall(pwm_init);
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/s3c6400-clock.c linux-2.6.28.6/arch/arm/plat-s3c64xx/s3c6400-clock.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/s3c6400-clock.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/s3c6400-clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,902 @@
+/* linux/arch/arm/plat-s3c64xx/s3c6400-clock.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C6400 based common clock support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/list.h>
+#include <linux/errno.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/sysdev.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/cpu-freq.h>
+
+#include <plat/regs-clock.h>
+#include <plat/clock.h>
+#include <plat/cpu.h>
+#include <plat/pll.h>
+
+/* fin_apll, fin_mpll and fin_epll are all the same clock, which we call
+ * ext_xtal_mux for want of an actual name from the manual.
+*/
+
+struct clk clk_ext_xtal_mux = {
+	.name		= "ext_xtal",
+	.id		= -1,
+};
+
+#define clk_fin_apll clk_ext_xtal_mux
+#define clk_fin_mpll clk_ext_xtal_mux
+#define clk_fin_epll clk_ext_xtal_mux
+
+#define clk_fout_mpll	clk_mpll
+
+struct clk_sources {
+	unsigned int	nr_sources;
+	struct clk	**sources;
+};
+
+struct clksrc_clk {
+	struct clk		clk;
+	unsigned int		mask;
+	unsigned int		shift;
+
+	struct clk_sources	*sources;
+
+	unsigned int		divider_shift;
+	void __iomem		*reg_divider;
+};
+
+struct clk clk_fout_apll = {
+	.name		= "fout_apll",
+	.id		= -1,
+};
+
+static struct clk *clk_src_apll_list[] = {
+	[0] = &clk_fin_apll,
+	[1] = &clk_fout_apll,
+};
+
+static struct clk_sources clk_src_apll = {
+	.sources	= clk_src_apll_list,
+	.nr_sources	= ARRAY_SIZE(clk_src_apll_list),
+};
+
+struct clksrc_clk clk_mout_apll = {
+	.clk	= {
+		.name		= "mout_apll",
+		.id		= -1,
+	},
+	.shift		= S3C6400_CLKSRC_APLL_MOUT_SHIFT,
+	.mask		= S3C6400_CLKSRC_APLL_MOUT,
+	.sources	= &clk_src_apll,
+};
+
+static inline struct clksrc_clk *to_clksrc(struct clk *clk)
+{
+	return container_of(clk, struct clksrc_clk, clk);
+}
+
+int fout_enable(struct clk *clk, int enable)
+{
+	unsigned int ctrlbit = clk->ctrlbit;
+	unsigned int epll_con0 = __raw_readl(S3C_EPLL_CON0) & ~ ctrlbit;
+
+	if(enable)
+	   __raw_writel(epll_con0 | ctrlbit, S3C_EPLL_CON0);
+	else
+	   __raw_writel(epll_con0, S3C_EPLL_CON0);
+
+	return 0;
+}
+
+unsigned long fout_get_rate(struct clk *clk)
+{
+	return clk->rate;
+}
+
+int fout_set_rate(struct clk *clk, unsigned long rate)
+{
+	unsigned int epll_con0, epll_con1;
+
+	if(clk->rate == rate)	/* Return if nothing changed */
+		return 0;
+
+	epll_con0 = __raw_readl(S3C_EPLL_CON0);
+	epll_con1 = __raw_readl(S3C_EPLL_CON1);
+
+	epll_con0 &= ~(S3C64XX_EPLL_CON0_M_MASK | S3C64XX_EPLL_CON0_P_MASK | S3C64XX_EPLL_CON0_S_MASK);
+	epll_con1 &= ~(S3C64XX_EPLL_CON1_K_MASK);
+
+	switch (rate){
+	case 36000000:
+			epll_con1 |= (0 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (48 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(4 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	case 48000000:
+			epll_con1 |= (0 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (32 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(3 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	case 60000000:
+			epll_con1 |= (0 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (40 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(3 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	case 72000000:
+			epll_con1 |= (0 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (48 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(3 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	case 84000000:
+			epll_con1 |= (0 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (28 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(2 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	case 96000000:
+			epll_con1 |= (0 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (32 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(2 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	case 32768000:
+			epll_con1 |= (45264 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (43 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(4 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	case 45158000:
+			epll_con1 |= (6903 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (30 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(3 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	case 49152000:
+			epll_con1 |= (50332 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (32 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(3 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	case 67738000:
+			epll_con1 |= (10398 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (45 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(3 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	case 73728000:
+			epll_con1 |= (9961 << S3C64XX_EPLL_CON1_K_SHIFT);
+			epll_con0 |= (49 << S3C64XX_EPLL_CON0_M_SHIFT) |
+					(1 << S3C64XX_EPLL_CON0_P_SHIFT) |
+					(3 << S3C64XX_EPLL_CON0_S_SHIFT);
+			break;
+	default:
+			printk(KERN_ERR "Invalid Clock Freq!\n");
+			return -EINVAL;
+	}
+
+	__raw_writel(epll_con0, S3C_EPLL_CON0);
+	__raw_writel(epll_con1, S3C_EPLL_CON1);
+
+	clk->rate = rate;
+
+	return 0;
+}
+
+struct clk clk_fout_epll = {
+	.name		= "fout_epll",
+	.id		= -1,
+	.ctrlbit	= (1<<31),
+	.enable		= fout_enable,
+	.get_rate	= fout_get_rate,
+	.set_rate	= fout_set_rate,
+};
+
+int mout_set_parent(struct clk *clk, struct clk *parent)
+{
+	int src_nr = -1;
+	int ptr;
+	u32 clksrc;
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	struct clk_sources *srcs = sclk->sources;
+
+	clksrc = __raw_readl(S3C_CLK_SRC);
+
+	for (ptr = 0; ptr < srcs->nr_sources; ptr++)
+		if (srcs->sources[ptr] == parent) {
+			src_nr = ptr;
+			break;
+		}
+
+	if (src_nr >= 0) {
+		clksrc &= ~sclk->mask;
+		clksrc |= src_nr << sclk->shift;
+		__raw_writel(clksrc, S3C_CLK_SRC);
+		clk->parent = parent;
+		return 0;
+	}
+
+	return -EINVAL;
+}
+
+static struct clk *clk_src_epll_list[] = {
+	[0] = &clk_fin_epll,
+	[1] = &clk_fout_epll,
+};
+
+static struct clk_sources clk_src_epll = {
+	.sources	= clk_src_epll_list,
+	.nr_sources	= ARRAY_SIZE(clk_src_epll_list),
+};
+
+struct clksrc_clk clk_mout_epll = {
+	.clk	= {
+		.name		= "mout_epll",
+		.id		= -1,
+		.set_parent	= mout_set_parent,
+	},
+	.shift		= S3C6400_CLKSRC_EPLL_MOUT_SHIFT,
+	.mask		= S3C6400_CLKSRC_EPLL_MOUT,
+	.sources	= &clk_src_epll,
+};
+
+static struct clk *clk_src_mpll_list[] = {
+	[0] = &clk_fin_mpll,
+	[1] = &clk_fout_mpll,
+};
+
+static struct clk_sources clk_src_mpll = {
+	.sources	= clk_src_mpll_list,
+	.nr_sources	= ARRAY_SIZE(clk_src_mpll_list),
+};
+
+struct clksrc_clk clk_mout_mpll = {
+	.clk = {
+		.name		= "mout_mpll",
+		.id		= -1,
+	},
+	.shift		= S3C6400_CLKSRC_MPLL_MOUT_SHIFT,
+	.mask		= S3C6400_CLKSRC_MPLL_MOUT,
+	.sources	= &clk_src_mpll,
+};
+
+static unsigned long s3c64xx_clk_doutmpll_get_rate(struct clk *clk)
+{
+	unsigned long rate = clk_get_rate(clk->parent);
+
+	printk(KERN_DEBUG "%s: parent is %ld\n", __func__, rate);
+
+	if (__raw_readl(S3C_CLK_DIV0) & S3C6400_CLKDIV0_MPLL_MASK)
+		rate /= 2;
+
+	return rate;
+}
+
+struct clk clk_dout_mpll = {
+	.name		= "dout_mpll",
+	.id		= -1,
+	.parent		= &clk_mout_mpll.clk,
+	.get_rate	= s3c64xx_clk_doutmpll_get_rate,
+};
+
+static struct clk *clkset_spi_mmc_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	&clk_fin_epll,
+	&clk_27m,
+};
+
+static struct clk_sources clkset_spi_mmc = {
+	.sources	= clkset_spi_mmc_list,
+	.nr_sources	= ARRAY_SIZE(clkset_spi_mmc_list),
+};
+
+static struct clk *clkset_irda_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	NULL,
+	&clk_27m,
+};
+
+static struct clk_sources clkset_irda = {
+	.sources	= clkset_irda_list,
+	.nr_sources	= ARRAY_SIZE(clkset_irda_list),
+};
+
+static struct clk *clkset_uart_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	NULL,
+	NULL
+};
+
+static struct clk_sources clkset_uart = {
+	.sources	= clkset_uart_list,
+	.nr_sources	= ARRAY_SIZE(clkset_uart_list),
+};
+
+static struct clk *clkset_uhost_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	&clk_fin_epll,
+	&clk_48m,
+};
+
+static struct clk_sources clkset_uhost = {
+	.sources	= clkset_uhost_list,
+	.nr_sources	= ARRAY_SIZE(clkset_uhost_list),
+};
+
+
+/* The peripheral clocks are all controlled via clocksource followed
+ * by an optional divider and gate stage. We currently roll this into
+ * one clock which hides the intermediate clock from the mux.
+ *
+ * Note, the JPEG clock can only be an even divider...
+ *
+ * The scaler and LCD clocks depend on the S3C64XX version, and also
+ * have a common parent divisor so are not included here.
+ */
+
+static unsigned long s3c64xx_getrate_clksrc(struct clk *clk)
+{
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	unsigned long rate = clk_get_rate(clk->parent);
+	u32 clkdiv = __raw_readl(sclk->reg_divider);
+
+	clkdiv >>= sclk->divider_shift;
+	clkdiv &= 0xf;
+	clkdiv++;
+
+	rate /= clkdiv;
+	return rate;
+}
+
+static int s3c64xx_setrate_clksrc(struct clk *clk, unsigned long rate)
+{
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	void __iomem *reg = sclk->reg_divider;
+	unsigned int div;
+	u32 val;
+
+	rate = clk_round_rate(clk, rate);
+	div = clk_get_rate(clk->parent) / rate;
+
+	val = __raw_readl(reg);
+	val &= ~(0xf << sclk->divider_shift);
+	val |= ((div - 1) << sclk->divider_shift);
+	__raw_writel(val, reg);
+
+	return 0;
+}
+
+static struct clksrc_clk clk_audio2;
+
+static int s3c64xx_setparent_clksrc(struct clk *clk, struct clk *parent)
+{
+	int src_nr = -1;
+	int ptr;
+	u32 clksrc;
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	struct clk_sources *srcs = sclk->sources;
+
+#ifdef CONFIG_CPU_S3C6410
+	if (sclk == &clk_audio2)
+		clksrc = __raw_readl(S3C_CLK_SRC2);
+	else
+#endif
+	clksrc = __raw_readl(S3C_CLK_SRC);
+
+	for (ptr = 0; ptr < srcs->nr_sources; ptr++)
+		if (srcs->sources[ptr] == parent) {
+			src_nr = ptr;
+			break;
+		}
+
+	if (src_nr >= 0) {
+		clksrc &= ~sclk->mask;
+		clksrc |= src_nr << sclk->shift;
+
+#ifdef CONFIG_CPU_S3C6410
+		if (sclk == &clk_audio2)
+			__raw_writel(clksrc, S3C_CLK_SRC2);
+		else
+#endif
+		__raw_writel(clksrc, S3C_CLK_SRC);
+
+		clk->parent = parent;
+		return 0;
+	}
+
+	return -EINVAL;
+}
+
+static unsigned long s3c64xx_roundrate_clksrc(struct clk *clk,
+					      unsigned long rate)
+{
+	unsigned long parent_rate = clk_get_rate(clk->parent);
+	int div;
+
+	if (rate > parent_rate)
+		rate = parent_rate;
+	else {
+		div = rate / parent_rate;
+
+		if (div == 0)
+			div = 1;
+		if (div > 16)
+			div = 16;
+
+		rate = parent_rate / div;
+	}
+
+	return rate;
+}
+
+static struct clksrc_clk clk_mmc0 = {
+	.clk	= {
+		.name		= "mmc_bus",
+		.id		= 0,
+		.ctrlbit        = S3C_CLKCON_SCLK_MMC0,
+		.enable		= s3c64xx_sclk_ctrl,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6400_CLKSRC_MMC0_SHIFT,
+	.mask		= S3C6400_CLKSRC_MMC0_MASK,
+	.sources	= &clkset_spi_mmc,
+	.divider_shift	= S3C6400_CLKDIV1_MMC0_SHIFT,
+	.reg_divider	= S3C_CLK_DIV1,
+};
+
+static struct clksrc_clk clk_mmc1 = {
+	.clk	= {
+		.name		= "mmc_bus",
+		.id		= 1,
+		.ctrlbit        = S3C_CLKCON_SCLK_MMC1,
+		.enable		= s3c64xx_sclk_ctrl,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6400_CLKSRC_MMC1_SHIFT,
+	.mask		= S3C6400_CLKSRC_MMC1_MASK,
+	.sources	= &clkset_spi_mmc,
+	.divider_shift	= S3C6400_CLKDIV1_MMC1_SHIFT,
+	.reg_divider	= S3C_CLK_DIV1,
+};
+
+static struct clksrc_clk clk_mmc2 = {
+	.clk	= {
+		.name		= "mmc_bus",
+		.id		= 2,
+		.ctrlbit        = S3C_CLKCON_SCLK_MMC2,
+		.enable		= s3c64xx_sclk_ctrl,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6400_CLKSRC_MMC2_SHIFT,
+	.mask		= S3C6400_CLKSRC_MMC2_MASK,
+	.sources	= &clkset_spi_mmc,
+	.divider_shift	= S3C6400_CLKDIV1_MMC2_SHIFT,
+	.reg_divider	= S3C_CLK_DIV1,
+};
+
+static struct clksrc_clk clk_usbhost = {
+	.clk	= {
+		.name		= "usb-host-bus",
+		.id		= -1,
+		.ctrlbit        = S3C_CLKCON_SCLK_UHOST,
+		.enable		= s3c64xx_sclk_ctrl,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6400_CLKSRC_UHOST_SHIFT,
+	.mask		= S3C6400_CLKSRC_UHOST_MASK,
+	.sources	= &clkset_uhost,
+	.divider_shift	= S3C6400_CLKDIV1_UHOST_SHIFT,
+	.reg_divider	= S3C_CLK_DIV1,
+};
+
+static struct clksrc_clk clk_uart_uclk1 = {
+	.clk	= {
+		.name		= "uclk1",
+		.id		= -1,
+		.ctrlbit        = S3C_CLKCON_SCLK_UART,
+		.enable		= s3c64xx_sclk_ctrl,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6400_CLKSRC_UART_SHIFT,
+	.mask		= S3C6400_CLKSRC_UART_MASK,
+	.sources	= &clkset_uart,
+	.divider_shift	= S3C6400_CLKDIV2_UART_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+
+/* Where does UCLK0 come from? */
+
+static struct clksrc_clk clk_spi0 = {
+	.clk	= {
+		.name		= "spi-bus",
+		.id		= 0,
+		.ctrlbit        = S3C_CLKCON_SCLK_SPI0,
+		.enable		= s3c64xx_sclk_ctrl,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6400_CLKSRC_SPI0_SHIFT,
+	.mask		= S3C6400_CLKSRC_SPI0_MASK,
+	.sources	= &clkset_spi_mmc,
+	.divider_shift	= S3C6400_CLKDIV2_SPI0_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+
+static struct clksrc_clk clk_spi1 = {
+	.clk	= {
+		.name		= "spi-bus",
+		.id		= 1,
+		.ctrlbit        = S3C_CLKCON_SCLK_SPI1,
+		.enable		= s3c64xx_sclk_ctrl,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6400_CLKSRC_SPI1_SHIFT,
+	.mask		= S3C6400_CLKSRC_SPI1_MASK,
+	.sources	= &clkset_spi_mmc,
+	.divider_shift	= S3C6400_CLKDIV2_SPI1_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+
+static struct clk clk_iis_cd0 = {
+	.name		= "iis_cdclk0",
+	.id		= -1,
+};
+
+static struct clk clk_iis_cd1 = {
+	.name		= "iis_cdclk1",
+	.id		= -1,
+};
+
+static struct clk clk_iis_cd_v40 = {
+	.name		= "iis_cdclk_v40",
+	.id		= -1,
+};
+
+static struct clk clk_pcm_cd0 = {
+	.name		= "pcm_cdclk0",
+	.id		= -1,
+};
+
+#ifdef CONFIG_CPU_S3C6410
+static struct clk clk_pcm_cd1 = {
+	.name		= "pcm_cdclk1",
+	.id		= -1,
+};
+#endif
+
+static struct clk *clkset_audio0_list[] = {
+	[0] = &clk_mout_epll.clk,
+	[1] = &clk_dout_mpll,
+	[2] = &clk_fin_epll,
+	[3] = &clk_iis_cd0,
+	[4] = &clk_pcm_cd0,
+};
+
+static struct clk_sources clkset_audio0 = {
+	.sources	= clkset_audio0_list,
+	.nr_sources	= ARRAY_SIZE(clkset_audio0_list),
+};
+
+static struct clksrc_clk clk_audio0 = {
+	.clk	= {
+		.name		= "audio-bus0",
+		.id		= -1,
+		.ctrlbit        = S3C_CLKCON_SCLK_AUDIO0,
+		.enable		= s3c64xx_sclk_ctrl,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6400_CLKSRC_AUDIO0_SHIFT,
+	.mask		= S3C6400_CLKSRC_AUDIO0_MASK,
+	.sources	= &clkset_audio0,
+	.divider_shift	= S3C6400_CLKDIV2_AUDIO0_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+
+static struct clk *clkset_audio1_list[] = {
+	[0] = &clk_mout_epll.clk,
+	[1] = &clk_dout_mpll,
+	[2] = &clk_fin_epll,
+	[3] = &clk_iis_cd1,
+#ifdef CONFIG_CPU_S3C6410
+	[4] = &clk_pcm_cd1,
+#else
+	[4] = &clk_pcm_cd0,
+#endif
+};
+
+static struct clk_sources clkset_audio1 = {
+	.sources	= clkset_audio1_list,
+	.nr_sources	= ARRAY_SIZE(clkset_audio1_list),
+};
+
+static struct clksrc_clk clk_audio1 = {
+	.clk	= {
+		.name		= "audio-bus1",
+		.id		= -1,
+		.ctrlbit        = S3C_CLKCON_SCLK_AUDIO1,
+		.enable		= s3c64xx_sclk_ctrl,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6400_CLKSRC_AUDIO1_SHIFT,
+	.mask		= S3C6400_CLKSRC_AUDIO1_MASK,
+	.sources	= &clkset_audio1,
+	.divider_shift	= S3C6400_CLKDIV2_AUDIO1_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+
+#ifdef CONFIG_CPU_S3C6410
+static struct clk *clkset_audio2_list[] = {
+	[0] = &clk_mout_epll.clk,
+	[1] = &clk_dout_mpll,
+	[2] = &clk_fin_epll,
+	[3] = &clk_iis_cd_v40,
+	[4] = &clk_pcm_cd1,
+};
+
+static struct clk_sources clkset_audio2 = {
+	.sources	= clkset_audio2_list,
+	.nr_sources	= ARRAY_SIZE(clkset_audio2_list),
+};
+
+static struct clksrc_clk clk_audio2 = {
+	.clk	= {
+		.name		= "audio-bus2",
+		.id		= -1,
+		.ctrlbit        = S3C6410_CLKCON_SCLK_AUDIO2,
+		.enable		= s3c64xx_sclk_ctrl,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6410_CLKSRC2_AUDIO2_SHIFT,
+	.mask		= S3C6410_CLKSRC2_AUDIO2_MASK,
+	.sources	= &clkset_audio2,
+	.divider_shift	= S3C6410_CLKDIV2_AUDIO2_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+#endif
+
+static struct clksrc_clk clk_irda = {
+	.clk	= {
+		.name		= "irda-bus",
+		.id		= 0,
+		.ctrlbit        = S3C_CLKCON_SCLK_IRDA,
+		.enable		= s3c64xx_sclk_ctrl,
+		.set_parent	= s3c64xx_setparent_clksrc,
+		.get_rate	= s3c64xx_getrate_clksrc,
+		.set_rate	= s3c64xx_setrate_clksrc,
+		.round_rate	= s3c64xx_roundrate_clksrc,
+	},
+	.shift		= S3C6400_CLKSRC_IRDA_SHIFT,
+	.mask		= S3C6400_CLKSRC_IRDA_MASK,
+	.sources	= &clkset_irda,
+	.divider_shift	= S3C6400_CLKDIV2_IRDA_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+
+/* Clock initialisation code */
+
+static struct clksrc_clk *init_parents[] = {
+	&clk_mout_apll,
+	&clk_mout_epll,
+	&clk_mout_mpll,
+	&clk_mmc0,
+	&clk_mmc1,
+	&clk_mmc2,
+	&clk_usbhost,
+	&clk_uart_uclk1,
+	&clk_spi0,
+	&clk_spi1,
+	&clk_audio0,
+	&clk_audio1,
+#ifdef CONFIG_CPU_S3C6410
+	&clk_audio2,
+#endif
+	&clk_irda,
+};
+
+static void __init_or_cpufreq s3c6400_set_clksrc(struct clksrc_clk *clk)
+{
+	struct clk_sources *srcs = clk->sources;
+	u32 clksrc;
+
+#ifdef CONFIG_CPU_S3C6410
+	if(clk == &clk_audio2)
+	   clksrc = __raw_readl(S3C_CLK_SRC2);
+	else
+#endif
+	   clksrc = __raw_readl(S3C_CLK_SRC);
+
+
+	clksrc &= clk->mask;
+	clksrc >>= clk->shift;
+
+	if (clksrc > srcs->nr_sources || !srcs->sources[clksrc]) {
+		printk(KERN_ERR "%s: bad source %d\n",
+		       clk->clk.name, clksrc);
+		return;
+	}
+
+	clk->clk.parent = srcs->sources[clksrc];
+
+	printk(KERN_INFO "%s: source is %s (%d), rate is %ld\n",
+	       clk->clk.name, clk->clk.parent->name, clksrc,
+	       clk_get_rate(&clk->clk));
+}
+
+#define GET_DIV(clk, field) ((((clk) & field##_MASK) >> field##_SHIFT) + 1)
+
+void __init_or_cpufreq s3c6400_setup_clocks(void)
+{
+	struct clk *xtal_clk;
+	unsigned long xtal;
+	unsigned long fclk;
+	unsigned long hclk;
+	unsigned long hclkx2;
+	unsigned long pclk;
+	unsigned long epll;
+	unsigned long apll;
+	unsigned long mpll;
+	unsigned int ptr;
+	u32 clkdiv0;
+
+	printk(KERN_DEBUG "%s: registering clocks\n", __func__);
+
+	clkdiv0 = __raw_readl(S3C_CLK_DIV0);
+	printk(KERN_DEBUG "%s: clkdiv0 = %08x\n", __func__, clkdiv0);
+
+	xtal_clk = clk_get(NULL, "xtal");
+	BUG_ON(IS_ERR(xtal_clk));
+
+	xtal = clk_get_rate(xtal_clk);
+	clk_put(xtal_clk);
+
+	printk(KERN_DEBUG "%s: xtal is %ld\n", __func__, xtal);
+
+	epll = s3c6400_get_epll(xtal);
+	mpll = s3c6400_get_pll(xtal, __raw_readl(S3C_MPLL_CON));
+	apll = s3c6400_get_pll(xtal, __raw_readl(S3C_APLL_CON));
+
+	fclk = apll / GET_DIV(clkdiv0, S3C6410_CLKDIV0_ARM);
+
+	printk(KERN_INFO "S3C64XX: PLL settings, A=%ld, M=%ld, E=%ld\n",
+	       apll, mpll, epll);
+
+	if(__raw_readl(S3C_OTHERS) & S3C_OTHERS_SYNCMUXSEL_SYNC) {
+		/* Synchronous mode */
+		hclkx2 = apll / GET_DIV(clkdiv0, S3C6400_CLKDIV0_HCLK2);
+	} else {
+		/* Asynchronous mode */
+		hclkx2 = mpll / GET_DIV(clkdiv0, S3C6400_CLKDIV0_HCLK2);
+	}
+
+	hclk = hclkx2 / GET_DIV(clkdiv0, S3C6400_CLKDIV0_HCLK);
+	pclk = hclkx2 / GET_DIV(clkdiv0, S3C6400_CLKDIV0_PCLK);
+
+	printk(KERN_INFO "S3C64XX: HCLKx2=%ld, HCLK=%ld, PCLK=%ld\n",
+	       hclkx2, hclk, pclk);
+
+	clk_fout_mpll.rate = mpll;
+	clk_fout_epll.rate = epll;
+	clk_fout_apll.rate = apll;
+
+	clk_hx2.rate = hclkx2;
+	clk_h.rate = hclk;
+	clk_p.rate = pclk;
+	clk_f.rate = fclk;
+
+	/* mod by scsuh */
+#if 1
+	{
+		u32 tmp;
+
+		tmp = readl(S3C_CLK_SRC);
+		writel(tmp | 0x00540000, S3C_CLK_SRC);
+		tmp = readl(S3C_CLK_DIV1);
+		writel(tmp | 0x00000555, S3C_CLK_DIV1);
+		printk("div1: %08x\n", readl(S3C_CLK_DIV1));
+	}
+#endif
+
+	for (ptr = 0; ptr < ARRAY_SIZE(init_parents); ptr++)
+		s3c6400_set_clksrc(init_parents[ptr]);
+}
+
+static struct clk *clks[] __initdata = {
+	&clk_ext_xtal_mux,
+	&clk_iis_cd0,
+	&clk_iis_cd1,
+	&clk_iis_cd_v40,
+	&clk_pcm_cd0,
+#ifdef CONFIG_CPU_S3C6410
+	&clk_pcm_cd1,
+#endif
+	&clk_mout_epll.clk,
+	&clk_fout_epll,
+	&clk_mout_mpll.clk,
+	&clk_dout_mpll,
+	&clk_mmc0.clk,
+	&clk_mmc1.clk,
+	&clk_mmc2.clk,
+	&clk_usbhost.clk,
+	&clk_uart_uclk1.clk,
+	&clk_spi0.clk,
+	&clk_spi1.clk,
+	&clk_audio0.clk,
+	&clk_audio1.clk,
+#ifdef CONFIG_CPU_S3C6410
+	&clk_audio2.clk,
+#endif
+	&clk_irda.clk,
+};
+
+void __init s3c6400_register_clocks(void)
+{
+	struct clk *clkp;
+	int ret;
+	int ptr;
+
+	for (ptr = 0; ptr < ARRAY_SIZE(clks); ptr++) {
+		clkp = clks[ptr];
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+	}
+
+//	clk_mpll.parent = &clk_mout_mpll.clk;
+	clk_epll.parent = &clk_mout_epll.clk;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/s3c6400-init.c linux-2.6.28.6/arch/arm/plat-s3c64xx/s3c6400-init.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/s3c6400-init.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/s3c6400-init.c	2009-10-13 10:06:38.000000000 +0200
@@ -0,0 +1,29 @@
+/* linux/arch/arm/plat-s3c64xx/s3c6400-init.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S3C6400 - CPU initialisation (common with other S3C64XX chips)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/init.h>
+
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/s3c6400.h>
+#include <plat/s3c6410.h>
+
+/* uart registration process */
+
+void __init s3c6400_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
+{
+	s3c24xx_init_uartdevs("s3c6400-uart", s3c64xx_uart_resources, cfg, no);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c linux-2.6.28.6/arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,201 @@
+/*
+ *  linux/arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c
+ *
+ *  CPU frequency scaling for S3C64XX
+ *
+ *  Copyright (C) 2008 Samsung Electronics
+ *
+ *  Based on cpu-sa1110.c, Copyright (C) 2001 Russell King
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <linux/types.h>
+#include <linux/kernel.h>
+#include <linux/sched.h>
+#include <linux/cpufreq.h>
+#include <linux/delay.h>
+#include <linux/init.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+
+//#include <mach/hardware.h>
+#include <asm/system.h>
+
+#define USE_FREQ_TABLE
+#define USE_DVS
+#define VERY_HI_RATE	532*1000*1000
+#define APLL_GEN_CLK	532*1000	//khz
+#define KHZ_T		1000
+
+#define MPU_CLK		"clk_cpu"
+
+/* definition for power setting function */
+extern int set_power(unsigned int freq);
+extern void ltc3714_init(void);
+
+#define ARM_LE	0
+#define INT_LE	1
+
+/* frequency */
+static struct cpufreq_frequency_table s3c6410_freq_table[] = {
+	{APLL_GEN_CLK, APLL_GEN_CLK},
+	{APLL_GEN_CLK, APLL_GEN_CLK/2},
+	{APLL_GEN_CLK, APLL_GEN_CLK/4},
+	{0, CPUFREQ_TABLE_END},
+};
+
+/* TODO: Add support for SDRAM timing changes */
+
+int s3c6410_verify_speed(struct cpufreq_policy *policy)
+{
+#ifndef USE_FREQ_TABLE
+	struct clk *mpu_clk;
+#endif
+
+	if (policy->cpu)
+		return -EINVAL;
+#ifdef USE_FREQ_TABLE
+	return cpufreq_frequency_table_verify(policy, s3c6410_freq_table);
+#else
+	cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq,
+				     policy->cpuinfo.max_freq);
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return PTR_ERR(mpu_clk);
+
+	policy->min = clk_round_rate(mpu_clk, policy->min * KHZ_T) / KHZ_T;
+	policy->max = clk_round_rate(mpu_clk, policy->max * KHZ_T) / KHZ_T;
+
+	cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq,
+				     policy->cpuinfo.max_freq);
+
+	clk_put(mpu_clk);
+
+	return 0;
+#endif
+}
+
+unsigned int s3c6410_getspeed(unsigned int cpu)
+{
+	struct clk * mpu_clk;
+	unsigned long rate;
+
+	if (cpu)
+		return 0;
+
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return 0;
+	rate = clk_get_rate(mpu_clk) / KHZ_T;
+
+	clk_put(mpu_clk);
+
+	return rate;
+}
+
+static int s3c6410_target(struct cpufreq_policy *policy,
+		       unsigned int target_freq,
+		       unsigned int relation)
+{
+	struct clk * mpu_clk;
+	struct cpufreq_freqs freqs;
+	int ret = 0;
+	unsigned long arm_clk;
+	unsigned int index;
+
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return PTR_ERR(mpu_clk);
+
+	freqs.old = s3c6410_getspeed(0);
+#ifdef USE_FREQ_TABLE
+	if (cpufreq_frequency_table_target(policy, s3c6410_freq_table, target_freq, relation, &index))
+		return -EINVAL;
+
+	arm_clk = s3c6410_freq_table[index].frequency;
+
+	freqs.new = arm_clk;
+#else
+	freqs.new = clk_round_rate(mpu_clk, target_freq * KHZ_T) / KHZ_T;
+#endif
+	freqs.cpu = 0;
+
+	cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
+#ifdef USE_DVS
+	if(freqs.new < freqs.old){
+		/* frequency scaling */
+		ret = clk_set_rate(mpu_clk, target_freq * KHZ_T);
+		if(ret != 0)
+			printk("frequency scaling error\n");
+		/* voltage scaling */
+		set_power(freqs.new);
+	}else{
+		/* voltage scaling */
+		set_power(freqs.new);
+
+		/* frequency scaling */
+		ret = clk_set_rate(mpu_clk, target_freq * KHZ_T);
+		if(ret != 0)
+			printk("frequency scaling error\n");
+	}
+
+
+#else
+	ret = clk_set_rate(mpu_clk, target_freq * KHZ_T);
+	if(ret != 0)
+		printk("frequency scaling error\n");
+
+#endif
+	cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
+	clk_put(mpu_clk);
+	return ret;
+}
+
+static int __init s3c6410_cpu_init(struct cpufreq_policy *policy)
+{
+	struct clk * mpu_clk;
+
+#ifdef USE_DVS
+	ltc3714_init();
+#endif
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return PTR_ERR(mpu_clk);
+
+	if (policy->cpu != 0)
+		return -EINVAL;
+	policy->cur = policy->min = policy->max = s3c6410_getspeed(0);
+#ifdef USE_FREQ_TABLE
+	cpufreq_frequency_table_get_attr(s3c6410_freq_table, policy->cpu);
+#else
+	policy->cpuinfo.min_freq = clk_round_rate(mpu_clk, 0) / KHZ_T;
+	policy->cpuinfo.max_freq = clk_round_rate(mpu_clk, VERY_HI_RATE) / KHZ_T;
+#endif
+	policy->cpuinfo.transition_latency = 40000;	//1us
+
+
+	clk_put(mpu_clk);
+#ifdef USE_FREQ_TABLE
+	return cpufreq_frequency_table_cpuinfo(policy, s3c6410_freq_table);
+#else
+	return 0;
+#endif
+}
+
+static struct cpufreq_driver s3c6410_driver = {
+	.flags		= CPUFREQ_STICKY,
+	.verify		= s3c6410_verify_speed,
+	.target		= s3c6410_target,
+	.get		= s3c6410_getspeed,
+	.init		= s3c6410_cpu_init,
+	.name		= "s3c6410",
+};
+
+static int __init s3c6410_cpufreq_init(void)
+{
+	return cpufreq_register_driver(&s3c6410_driver);
+}
+
+arch_initcall(s3c6410_cpufreq_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/setup-fimc0.c linux-2.6.28.6/arch/arm/plat-s3c64xx/setup-fimc0.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/setup-fimc0.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/setup-fimc0.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,46 @@
+/* linux/arch/arm/plat-s5pc1xx/setup-fimc0.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Base S5PC1XX FIMC controller 0 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-b.h>
+#include <plat/gpio-bank-f.h>
+
+struct platform_device; /* don't need the contents */
+
+void s3c_fimc0_cfg_gpio(struct platform_device *dev)
+{
+	int i;
+
+	s3c_gpio_cfgpin(S3C64XX_GPF(0), S3C64XX_GPF0_CAMIF_CLK);
+	s3c_gpio_cfgpin(S3C64XX_GPF(1), S3C64XX_GPF1_CAMIF_HREF);
+	s3c_gpio_cfgpin(S3C64XX_GPF(2), S3C64XX_GPF2_CAMIF_PCLK);
+	s3c_gpio_cfgpin(S3C64XX_GPF(3), S3C64XX_GPF3_CAMIF_nRST);
+	s3c_gpio_cfgpin(S3C64XX_GPF(4), S3C64XX_GPF4_CAMIF_VSYNC);
+	s3c_gpio_cfgpin(S3C64XX_GPF(5), S3C64XX_GPF5_CAMIF_YDATA0);
+	s3c_gpio_cfgpin(S3C64XX_GPF(6), S3C64XX_GPF6_CAMIF_YDATA1);
+	s3c_gpio_cfgpin(S3C64XX_GPF(7), S3C64XX_GPF7_CAMIF_YDATA2);
+	s3c_gpio_cfgpin(S3C64XX_GPF(8), S3C64XX_GPF8_CAMIF_YDATA3);
+	s3c_gpio_cfgpin(S3C64XX_GPF(9), S3C64XX_GPF9_CAMIF_YDATA4);
+	s3c_gpio_cfgpin(S3C64XX_GPF(10), S3C64XX_GPF10_CAMIF_YDATA5);
+	s3c_gpio_cfgpin(S3C64XX_GPF(11), S3C64XX_GPF11_CAMIF_YDATA6);
+	s3c_gpio_cfgpin(S3C64XX_GPF(12), S3C64XX_GPF12_CAMIF_YDATA7);
+	s3c_gpio_cfgpin(S3C64XX_GPB(4), S3C64XX_GPB4_CAM_FIELD);
+
+	for (i = 0; i < 12; i++)
+		s3c_gpio_setpull(S3C64XX_GPF(i), S3C_GPIO_PULL_UP);
+
+	s3c_gpio_setpull(S3C64XX_GPB(4), S3C_GPIO_PULL_UP);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/setup-fimc1.c linux-2.6.28.6/arch/arm/plat-s3c64xx/setup-fimc1.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/setup-fimc1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/setup-fimc1.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,26 @@
+/* linux/arch/arm/plat-s5pc1xx/setup-fimc0.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Base S5PC1XX FIMC controller 0 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-b.h>
+#include <plat/gpio-bank-f.h>
+
+struct platform_device; /* don't need the contents */
+
+void s3c_fimc1_cfg_gpio(struct platform_device *dev)
+{
+	/* nothing to do */
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/setup-i2c0.c linux-2.6.28.6/arch/arm/plat-s3c64xx/setup-i2c0.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/setup-i2c0.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/setup-i2c0.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,31 @@
+/* linux/arch/arm/plat-s3c64xx/setup-i2c0.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S3C64XX I2C bus 0 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+
+struct platform_device; /* don't need the contents */
+
+#include <mach/gpio.h>
+#include <plat/iic.h>
+#include <plat/gpio-bank-b.h>
+#include <plat/gpio-cfg.h>
+
+void s3c_i2c0_cfg_gpio(struct platform_device *dev)
+{
+	s3c_gpio_cfgpin(S3C64XX_GPB(5), S3C64XX_GPB5_I2C_SCL0);
+	s3c_gpio_cfgpin(S3C64XX_GPB(6), S3C64XX_GPB6_I2C_SDA0);
+	s3c_gpio_setpull(S3C64XX_GPB(5), S3C_GPIO_PULL_UP);
+	s3c_gpio_setpull(S3C64XX_GPB(6), S3C_GPIO_PULL_UP);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/setup-i2c1.c linux-2.6.28.6/arch/arm/plat-s3c64xx/setup-i2c1.c
--- linux-2.6.28/arch/arm/plat-s3c64xx/setup-i2c1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/setup-i2c1.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,31 @@
+/* linux/arch/arm/plat-s3c64xx/setup-i2c1.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S3C64XX I2C bus 1 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+
+struct platform_device; /* don't need the contents */
+
+#include <mach/gpio.h>
+#include <plat/iic.h>
+#include <plat/gpio-bank-b.h>
+#include <plat/gpio-cfg.h>
+
+void s3c_i2c1_cfg_gpio(struct platform_device *dev)
+{
+	s3c_gpio_cfgpin(S3C64XX_GPB(2), S3C64XX_GPB2_I2C_SCL1);
+	s3c_gpio_cfgpin(S3C64XX_GPB(3), S3C64XX_GPB3_I2C_SDA1);
+	s3c_gpio_setpull(S3C64XX_GPB(2), S3C_GPIO_PULL_UP);
+	s3c_gpio_setpull(S3C64XX_GPB(3), S3C_GPIO_PULL_UP);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s3c64xx/sleep.S linux-2.6.28.6/arch/arm/plat-s3c64xx/sleep.S
--- linux-2.6.28/arch/arm/plat-s3c64xx/sleep.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s3c64xx/sleep.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,144 @@
+/* linux/0arch/arm/plat-s3c64xx/sleep.S
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX CPU sleep code
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/linkage.h>
+#include <asm/assembler.h>
+#include <mach/map.h>
+
+#undef S3C64XX_VA_GPIO
+#define S3C64XX_VA_GPIO (0x0)
+
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-n.h>
+
+#define LL_UART (S3C_PA_UART + (0x400 * CONFIG_S3C_LOWLEVEL_UART_PORT))
+
+	.text
+
+	/* s3c_cpu_save
+	 *
+	 * Save enough processor state to allow the restart of the pm.c
+	 * code after resume.
+	 *
+	 * entry:
+	 *	r0 = pointer to the save block
+	 * exit:
+	 *	r0 = exit code: 1 => stored data
+	 *			0 => resumed from sleep
+	*/
+
+ENTRY(s3c6410_cpu_save)
+	stmfd	sp!, { r4 - r12, lr }
+
+	mrc	p15, 0, r4, c13, c0, 0	@ FCSE/PID
+	mrc	p15, 0, r5, c3, c0, 0	@ Domain ID
+	mrc	p15, 0, r6, c2, c0, 0	@ Translation Table BASE0
+	mrc	p15, 0, r7, c2, c0, 1	@ Translation Table BASE1
+	mrc	p15, 0, r8, c2, c0, 2	@ Translation Table Control
+	mrc	p15, 0, r9, c1, c0, 0	@ Control register
+	mrc	p15, 0, r10, c1, c0, 1	@ Auxiliary control register
+	mrc	p15, 0, r11, c1, c0, 2	@ Co-processor access controls
+
+	stmia	r0, { r4 - r13 }	@ Save CP registers and SP
+	mov	r0, #0
+	ldmfd	sp, { r4 - r12, pc }	@ return, not disturbing SP
+
+	@@ return to the caller, after the MMU is turned on.
+	@@ restore the last bits of the stack and return.
+resume_with_mmu:
+	mov	r0, #1
+	ldmfd	sp!, { r4 - r12, pc }	@ return, from sp from s3c_cpu_save
+
+	.data
+
+	/* the next bit is code, but it requires easy access to the
+	 * s3c_sleep_save_phys data before the MMU is switched on, so
+	 * we store the code that needs this variable in the .data where
+	 * the value can be written to (the .text segment is RO).
+	*/
+
+	.global	s3c6410_sleep_save_phys
+s3c6410_sleep_save_phys:
+	.word	0
+
+	/* Sleep magic, the word before the resume entry point so that the
+	 * bootloader can check for a resumeable image. */
+
+	.word	0x2bedf00d
+
+	/* s3c_cpu_reusme
+	 *
+	 * This is the entry point, stored by whatever method the bootloader
+	 * requires to get the kernel runnign again. This code expects to be
+	 * entered with no caches live and the MMU disabled. It will then
+	 * restore the MMU and other basic CP registers saved and restart
+	 * the kernel C code to finish the resume code.
+	*/
+
+ENTRY(s3c6410_cpu_resume)
+	msr	cpsr_c, #PSR_I_BIT | PSR_F_BIT | SVC_MODE
+	ldr	r2, =LL_UART		/* for debug */
+
+#ifdef CONFIG_S3C_PM_DEBUG_LED_SMDK
+	/* Initialise the GPIO state if we are debugging via the SMDK LEDs,
+	 * as the uboot version supplied resets these to inputs during the
+	 * resume checks.
+	*/
+
+	ldr	r3, =S3C64XX_PA_GPIO
+	ldr	r0, [ r3, #S3C64XX_GPNCON ]
+	bic	r0, r0, #(S3C64XX_GPN_CONMASK(12) | S3C64XX_GPN_CONMASK(13) | \
+			  S3C64XX_GPN_CONMASK(14) | S3C64XX_GPN_CONMASK(15))
+	orr	r0, r0, #(S3C64XX_GPN_OUTPUT(12) | S3C64XX_GPN_OUTPUT(13) | \
+			  S3C64XX_GPN_OUTPUT(14) | S3C64XX_GPN_OUTPUT(15))
+	str	r0, [ r3, #S3C64XX_GPNCON ]
+
+	ldr	r0, [ r3, #S3C64XX_GPNDAT ]
+	bic	r0, r0, #0xf << 12			@ GPN12..15
+	orr	r0, r0, #1 << 15			@ GPN15
+	str	r0, [ r3, #S3C64XX_GPNDAT ]
+#endif
+
+	/* __v6_setup from arch/arm/mm/proc-v6.S, ensure that the caches
+	 * are thoroughly cleaned just in case the bootloader didn't do it
+	 * for us. */
+	mov	r0, #0
+	mcr	p15, 0, r0, c7, c14, 0		@ clean+invalidate D cache
+	mcr	p15, 0, r0, c7, c5, 0		@ invalidate I cache
+	mcr	p15, 0, r0, c7, c15, 0		@ clean+invalidate cache
+	mcr	p15, 0, r0, c7, c10, 4		@ drain write buffer
+	@@mcr	p15, 0, r0, c8, c7, 0		@ invalidate I + D TLBs
+	@@mcr	p15, 0, r0, c7, c7, 0		@ Invalidate I + D caches
+
+	ldr	r0, s3c6410_sleep_save_phys
+	ldmia	r0, { r4 - r13 }
+
+	mcr	p15, 0, r4, c13, c0, 0	@ FCSE/PID
+	mcr	p15, 0, r5, c3, c0, 0	@ Domain ID
+	mcr	p15, 0, r6, c2, c0, 0	@ Translation Table BASE0
+	mcr	p15, 0, r7, c2, c0, 1	@ Translation Table BASE1
+	mcr	p15, 0, r8, c2, c0, 2	@ Translation Table Control
+	mcr	p15, 0, r10, c1, c0, 1	@ Auxiliary control register
+
+	mov	r0, #0			@ restore copro access controls
+	mcr	p15, 0, r11, c1, c0, 2	@ Co-processor access controls
+	mcr 	p15, 0, r0, c7, c5, 4
+
+	ldr	r2, =resume_with_mmu
+	mcr	p15, 0, r9, c1, c0, 0		/* turn mmu back on */
+	nop
+	mov	pc, r2				/* jump back */
+
+	.end
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/Kconfig linux-2.6.28.6/arch/arm/plat-s5p64xx/Kconfig
--- linux-2.6.28/arch/arm/plat-s5p64xx/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,68 @@
+# arch/arm/plat-s5p64xx/Kconfig
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#	Ben Dooks <ben@simtec.co.uk>
+#
+# Licensed under GPLv2
+
+config PLAT_S5P64XX
+	bool
+	depends on ARCH_S5P64XX
+	select PLAT_S3C
+	select ARM_VIC
+	default y
+	select NO_IOPORT
+	select ARCH_REQUIRE_GPIOLIB
+	select S3C_GPIO_TRACK
+	select S3C_GPIO_PULL_UPDOWN
+	select S3C_GPIO_CFG_S3C24XX
+	select S3C_GPIO_CFG_S3C64XX
+	help
+	  Base platform code for any Samsung S5P64XX device
+
+if PLAT_S5P64XX
+
+# Configuration options shared by all S5P64XX implementations
+
+config CPU_S5P6440_INIT
+	bool
+	help
+	  Initialisation code for the S5P6440. 
+
+config CPU_S5P6440_CLOCK
+	bool
+	help
+	  Clock support code for the S5P6440.
+
+# platform specific device setup
+
+config S5P64XX_SETUP_I2C0
+	bool
+	default y
+	help
+	  Common setup code for i2c bus 0.
+
+	  Note, currently since i2c0 is always compiled, this setup helper
+	  is always compiled with it.
+
+config S5P64XX_SETUP_I2C1
+	bool
+	help
+	  Common setup code for i2c bus 1.
+
+config S5P64XX_ADC
+        bool "S5P64XX ADC D/D support"
+        help
+         Analog to Digital conversion(ADC) D/D for S5P64XX support
+
+config S5P64XX_PWM
+	bool "PWM device support"
+  default n
+  select HAVE_PWM
+	help
+	  Support for exporting the PWM timer blocks via the pwm device
+	  system.
+
+
+endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/Makefile linux-2.6.28.6/arch/arm/plat-s5p64xx/Makefile
--- linux-2.6.28/arch/arm/plat-s5p64xx/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,38 @@
+# arch/arm/plat-s5p64xx/Makefile
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
+
+obj-y				:=
+obj-m				:=
+obj-n				:= dummy.o
+obj-				:=
+
+# Core files
+
+obj-y				+= dev-uart.o devs.o
+obj-y				+= cpu.o
+obj-y				+= irq.o
+obj-y				+= irq-eint.o
+obj-y				+= clock.o
+obj-y				+= gpiolib.o
+obj-y				+= bootmem.o
+
+# CPU support
+
+obj-$(CONFIG_CPU_S5P6440_INIT)	+= s5p6440-init.o
+obj-$(CONFIG_CPU_S5P6440_CLOCK)	+= s5p6440-clock.o
+obj-$(CONFIG_CPU_FREQ)		+= s5p64xx-cpufreq.o ltc3714.o
+obj-$(CONFIG_PM)                += pm.o
+obj-$(CONFIG_PM)                += sleep.o
+
+# Device setup
+
+obj-$(CONFIG_S5P64XX_SETUP_I2C0) += setup-i2c0.o
+obj-$(CONFIG_S5P64XX_SETUP_I2C1) += setup-i2c1.o
+obj-$(CONFIG_S5P64XX_DEV_POST)   += dev-post.o
+obj-$(CONFIG_S5P64XX_SETUP_POST) += setup-post.o
+obj-$(CONFIG_S5P64XX_ADC) 	 += adc.o
+obj-$(CONFIG_HAVE_PWM) 		 += pwm.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/adc.c linux-2.6.28.6/arch/arm/plat-s5p64xx/adc.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/adc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/adc.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,363 @@
+/* linux/arch/arm/plat-s5p64xx/adc.c
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Copyright (c) 2004 Arnaud Patard <arnaud.patard@rtp-net.org>
+ * iPAQ H1940 touchscreen support
+ *
+ * ChangeLog
+ *
+ * 2004-09-05: Herbert Pötzl <herbert@13thfloor.at>
+ *	- added clock (de-)allocation code
+ *
+ * 2005-03-06: Arnaud Patard <arnaud.patard@rtp-net.org>
+ *      - h1940_ -> s3c24xx (this driver is now also used on the n30
+ *        machines :P)
+ *      - Debug messages are now enabled with the config option
+ *        TOUCHSCREEN_S3C_DEBUG
+ *      - Changed the way the value are read
+ *      - Input subsystem should now work
+ *      - Use ioremap and readl/writel
+ *
+ * 2005-03-23: Arnaud Patard <arnaud.patard@rtp-net.org>
+ *      - Make use of some undocumented features of the touchscreen
+ *        controller
+ *
+ */
+
+
+#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/input.h>
+#include <linux/init.h>
+#include <linux/serio.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/miscdevice.h>
+#include <linux/clk.h>
+#include <linux/mutex.h>
+
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <mach/hardware.h>
+#include <asm/uaccess.h>
+
+#include <plat/regs-adc.h>
+#include <plat/adc.h>
+#include <mach/irqs.h>
+
+#define ADC_MINOR 	131
+#define ADC_INPUT_PIN   _IOW('S', 0x0c, unsigned long)
+
+#undef ADC_WITH_TOUCHSCREEN
+
+static struct clk	*adc_clock;
+static struct resource	*adc_mem;
+static void __iomem 	*base_addr;
+static int adc_port =  0;
+struct s3c_adc_mach_info *plat_data;
+
+#ifdef ADC_WITH_TOUCHSCREEN
+static DEFINE_MUTEX(adc_mutex);
+
+static unsigned long data_for_ADCCON;
+static unsigned long data_for_ADCTSC;
+
+static void s3c_adc_save_SFR_on_ADC(void)
+{
+	data_for_ADCCON = readl(base_addr + S3C_ADCCON);
+	data_for_ADCTSC = readl(base_addr + S3C_ADCTSC);
+}
+
+static void s3c_adc_restore_SFR_on_ADC(void)
+{
+	writel(data_for_ADCCON, base_addr + S3C_ADCCON);
+	writel(data_for_ADCTSC, base_addr + S3C_ADCTSC);
+}
+#endif
+
+static int s3c_adc_open(struct inode *inode, struct file *file)
+{
+	printk(KERN_INFO " s3c_adc_open() entered\n");
+	return 0;
+}
+
+unsigned int s3c_adc_convert(void)
+{
+	unsigned int adc_return = 0;
+	unsigned long data0;
+	unsigned long data1;
+
+	writel(adc_port , base_addr + S3C_ADCMUX);
+
+	udelay(10);
+
+	writel(readl(base_addr + S3C_ADCCON) | S3C_ADCCON_ENABLE_START, base_addr + S3C_ADCCON);
+
+	do {
+		data0 = readl(base_addr + S3C_ADCCON);
+	} while(!(data0 & S3C_ADCCON_ECFLG));
+
+	data1 = readl(base_addr + S3C_ADCDAT0);
+
+	if (plat_data->resolution == 12)
+		adc_return = data1 & S3C_ADCDAT0_XPDATA_MASK_12BIT;
+	else
+		adc_return = data1 & S3C_ADCDAT0_XPDATA_MASK;
+
+	return adc_return;
+}
+
+
+static int s3c_adc_get(struct s3c_adc_request *req)
+{
+	unsigned adc_channel = req->channel;
+	int adc_value_ret = 0;
+
+	adc_value_ret = s3c_adc_convert();
+
+	req->callback(adc_channel,req->param,adc_value_ret);
+
+	return 0;
+}
+
+static ssize_t
+s3c_adc_read(struct file *file, char __user * buffer,
+		size_t size, loff_t * pos)
+{
+	int  adc_value = 0;
+
+	printk(KERN_INFO " s3c_adc_read() entered\n");
+
+#ifdef ADC_WITH_TOUCHSCREEN
+        mutex_lock(&adc_mutex);
+	s3c_adc_save_SFR_on_ADC();
+#endif
+
+	adc_value = s3c_adc_convert();
+
+#ifdef ADC_WITH_TOUCHSCREEN
+	s3c_adc_restore_SFR_on_ADC();
+	mutex_unlock(&adc_mutex);
+#endif
+
+	printk(KERN_INFO " Converted Value: %03d\n", adc_value);
+
+	if (copy_to_user(buffer, &adc_value, sizeof(unsigned int))) {
+		return -EFAULT;
+	}
+	return sizeof(unsigned int);
+}
+
+
+static int s3c_adc_ioctl(struct inode *inode, struct file *file,
+	unsigned int cmd, unsigned long arg)
+{
+
+       printk(KERN_INFO " s3c_adc_ioctl(cmd:: %d) entered\n", cmd);
+
+	switch (cmd) {
+		case ADC_INPUT_PIN:
+			adc_port = (unsigned int) arg;
+
+			if (adc_port >= 4)
+				printk(" %d is already reserved for TouchScreen\n", adc_port);
+			return 0;
+
+              default:
+			return -ENOIOCTLCMD;
+	}
+}
+
+static struct file_operations s3c_adc_fops = {
+	.owner		= THIS_MODULE,
+	.read		= s3c_adc_read,
+	.open		= s3c_adc_open,
+	.ioctl		= s3c_adc_ioctl,
+};
+
+static struct miscdevice s3c_adc_miscdev = {
+	.minor		= ADC_MINOR,
+	.name		= "adc",
+	.fops		= &s3c_adc_fops,
+};
+
+static struct s3c_adc_mach_info *s3c_adc_get_platdata(struct device *dev)
+{
+	if(dev->platform_data != NULL)
+	{
+		printk(KERN_INFO "ADC platform data read\n");
+		return (struct s3c_adc_mach_info*) dev->platform_data;
+	}else{
+		printk(KERN_INFO "No ADC platform data \n");
+		return 0;
+	}
+}
+
+/*
+ * The functions for inserting/removing us as a module.
+ */
+
+static int __init s3c_adc_probe(struct platform_device *pdev)
+{
+	struct resource	*res;
+	struct device *dev;
+	int ret;
+	int size;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	dev = &pdev->dev;
+
+	if(res == NULL){
+		dev_err(dev,"no memory resource specified\n");
+		return -ENOENT;
+	}
+
+	size = (res->end - res->start) + 1;
+
+#ifdef ADC_WITH_TOUCHSCREEN
+	adc_mem = request_mem_region(res->start, size, pdev->name);
+	if(adc_mem == NULL){
+		dev_err(dev, "failed to get memory region\n");
+		ret = -ENOENT;
+		goto err_req;
+	}
+#endif
+
+	base_addr = ioremap(res->start, size);
+	if(base_addr ==  NULL){
+		dev_err(dev,"fail to ioremap() region\n");
+		ret = -ENOENT;
+		goto err_map;
+	}
+
+	adc_clock = clk_get(&pdev->dev, "adc");
+
+	if(IS_ERR(adc_clock)){
+		dev_err(dev,"failed to fine ADC clock source\n");
+		ret = PTR_ERR(adc_clock);
+		goto err_clk;
+	}
+
+	clk_enable(adc_clock);
+
+	/* read platform data from device struct */
+	plat_data = s3c_adc_get_platdata(&pdev->dev);
+
+	if ((plat_data->presc & 0xff) > 0)
+		writel(S3C_ADCCON_PRSCEN | S3C_ADCCON_PRSCVL(plat_data->presc & 0xff), base_addr + S3C_ADCCON);
+	else
+		writel(0, base_addr + S3C_ADCCON);
+
+	/* Initialise registers */
+	if ((plat_data->delay & 0xffff) > 0)
+		writel(plat_data->delay & 0xffff, base_addr + S3C_ADCDLY);
+
+	if (plat_data->resolution == 12)
+		writel(readl(base_addr + S3C_ADCCON) | S3C_ADCCON_RESSEL_12BIT, base_addr + S3C_ADCCON);
+
+	ret = misc_register(&s3c_adc_miscdev);
+	if (ret) {
+		printk (KERN_ERR "cannot register miscdev on minor=%d (%d)\n",
+			ADC_MINOR, ret);
+		goto err_clk;
+	}
+
+	printk(KERN_INFO "S5P64XX ADC driver successfully probed\n");
+
+	return 0;
+
+err_clk:
+	clk_disable(adc_clock);
+	clk_put(adc_clock);
+
+err_map:
+	iounmap(base_addr);
+
+err_req:
+	release_resource(adc_mem);
+	kfree(adc_mem);
+
+	return ret;
+}
+
+
+static int s3c_adc_remove(struct platform_device *dev)
+{
+	printk(KERN_INFO "s3c_adc_remove() of ADC called !\n");
+	return 0;
+}
+
+#ifdef CONFIG_PM
+static unsigned int adccon, adctsc, adcdly;
+
+static int s3c_adc_suspend(struct platform_device *dev, pm_message_t state)
+{
+	adccon = readl(base_addr + S3C_ADCCON);
+	adctsc = readl(base_addr + S3C_ADCTSC);
+	adcdly = readl(base_addr + S3C_ADCDLY);
+
+	clk_disable(adc_clock);
+
+	return 0;
+}
+
+static int s3c_adc_resume(struct platform_device *pdev)
+{
+	clk_enable(adc_clock);
+
+	writel(adccon, base_addr + S3C_ADCCON);
+	writel(adctsc, base_addr + S3C_ADCTSC);
+	writel(adcdly, base_addr + S3C_ADCDLY);
+
+	return 0;
+}
+#else
+#define s3c_adc_suspend NULL
+#define s3c_adc_resume  NULL
+#endif
+
+static struct platform_driver s3c_adc_driver = {
+       .probe          = s3c_adc_probe,
+       .remove         = s3c_adc_remove,
+       .suspend        = s3c_adc_suspend,
+       .resume         = s3c_adc_resume,
+       .driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-adc",
+	},
+};
+
+static char banner[] __initdata = KERN_INFO "S5P64XX ADC driver, (c) 2007 Samsung Electronics\n";
+
+int __init s3c_adc_init(void)
+{
+	printk(banner);
+	return platform_driver_register(&s3c_adc_driver);
+}
+
+void __exit s3c_adc_exit(void)
+{
+	platform_driver_unregister(&s3c_adc_driver);
+}
+
+module_init(s3c_adc_init);
+module_exit(s3c_adc_exit);
+
+MODULE_AUTHOR("boyko.lee@samsung.com");
+MODULE_DESCRIPTION("S5P64XX ADC driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/bootmem.c linux-2.6.28.6/arch/arm/plat-s5p64xx/bootmem.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/bootmem.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/bootmem.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,115 @@
+/* linux/arch/arm/plat-s5p64xx/bootmem.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Bootmem helper functions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/mm.h>
+#include <linux/bootmem.h>
+#include <linux/swap.h>
+#include <asm/setup.h>
+#include <asm/io.h>
+#include <mach/memory.h>
+
+#include "plat/media.h"
+
+static struct s3c_media_device s3c_mdevs[S3C_MDEV_MAX] = {
+	{
+		.id = S3C_MDEV_POST,
+		.name = "post",
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST * SZ_1K,
+#else
+		.memsize = 0,
+#endif
+		.paddr = 0,
+	},
+};
+
+static struct s3c_media_device *s3c_get_media_device(int dev_id)
+{
+	struct s3c_media_device *mdev = NULL;
+	int i, found;
+
+	if (dev_id < 0 || dev_id >= S3C_MDEV_MAX)
+		return NULL;
+
+	i = 0;
+	found = 0;
+	while (!found && (i < S3C_MDEV_MAX)) {
+		mdev = &s3c_mdevs[i];
+		if (mdev->id == dev_id)
+			found = 1;
+		else
+			i++;
+	}
+
+	if (!found)
+		mdev = NULL;
+
+	return mdev;
+}
+
+dma_addr_t s3c_get_media_memory(int dev_id)
+{
+	struct s3c_media_device *mdev;
+
+	mdev = s3c_get_media_device(dev_id);
+	if (!mdev){
+		printk(KERN_ERR "invalid media device\n");
+		return 0;
+	}
+
+	if (!mdev->paddr) {
+		printk(KERN_ERR "no memory for %s\n", mdev->name);
+		return 0;
+	}
+
+	return mdev->paddr;
+}
+
+size_t s3c_get_media_memsize(int dev_id)
+{
+	struct s3c_media_device *mdev;
+
+	mdev = s3c_get_media_device(dev_id);
+	if (!mdev){
+		printk(KERN_ERR "invalid media device\n");
+		return 0;
+	}
+
+	return mdev->memsize;
+}
+
+void s3c64xx_reserve_bootmem(void)
+{
+	struct s3c_media_device *mdev;
+	int i;
+
+	for(i = 0; i < sizeof(s3c_mdevs) / sizeof(s3c_mdevs[0]); i++) {
+		mdev = &s3c_mdevs[i];
+		if (mdev->memsize > 0) {
+			mdev->paddr = virt_to_phys(alloc_bootmem_low(mdev->memsize));
+			printk(KERN_INFO \
+				"s3c64xx: %lu bytes SDRAM reserved "
+				"for %s at 0x%08x\n",
+				(unsigned long) mdev->memsize, \
+				mdev->name, mdev->paddr);
+		}
+	}
+}
+
+/* FIXME: temporary implementation to avoid compile error */
+int dma_needs_bounce(struct device *dev, dma_addr_t addr, size_t size)
+{
+	return 0;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/clock.c linux-2.6.28.6/arch/arm/plat-s5p64xx/clock.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/clock.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,448 @@
+/* linux/arch/arm/plat-s5p64xx/clock.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S5P64XX Base clock support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/interrupt.h>
+#include <linux/ioport.h>
+#include <linux/delay.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/regs-clock.h>
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/clock.h>
+
+/* definition for cpu freq */
+
+#define ARM_PLL_CON 	S3C_APLL_CON
+#define ARM_CLK_DIV	S3C_CLK_DIV0
+
+#define ARM_DIV_RATIO_BIT		0
+#define ARM_DIV_MASK			(0xf<<ARM_DIV_RATIO_BIT)
+#define HCLK_DIV_RATIO_BIT		8
+#define HCLK_DIV_MASK			(0xf<<HCLK_DIV_RATIO_BIT)
+
+#define READ_ARM_DIV    		((__raw_readl(ARM_CLK_DIV)&ARM_DIV_MASK) + 1)
+#define PLL_CALC_VAL(MDIV,PDIV,SDIV)	((1<<31)|(MDIV)<<16 |(PDIV)<<8 |(SDIV))
+#define GET_ARM_CLOCK(baseclk)		s3c6400_get_pll(__raw_readl(S3C_APLL_CON),baseclk)
+
+#define INIT_XTAL			12 * MHZ
+
+static const u32 s3c_cpu_clock_table[][3] = {
+	{532*MHZ, (0<<ARM_DIV_RATIO_BIT), (3<<HCLK_DIV_RATIO_BIT)},
+	{266*MHZ, (1<<ARM_DIV_RATIO_BIT), (1<<HCLK_DIV_RATIO_BIT)},
+	{133*MHZ, (3<<ARM_DIV_RATIO_BIT), (0<<HCLK_DIV_RATIO_BIT)},
+	//{APLL, DIVarm, DIVhclk}	
+};
+
+struct clk clk_27m = {
+	.name		= "clk_27m",
+	.id		= -1,
+	.rate		= 27000000,
+};
+
+static int clk_48m_ctrl(struct clk *clk, int enable)
+{
+	unsigned long flags;
+	u32 val;
+
+	/* can't rely on clock lock, this register has other usages */
+	local_irq_save(flags);
+
+	val = __raw_readl(S3C_OTHERS);
+	if (enable)
+		val |= S3C_OTHERS_USB_SIG_MASK;
+	else
+		val &= ~S3C_OTHERS_USB_SIG_MASK;
+
+	__raw_writel(val, S3C_OTHERS);
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+struct clk clk_48m = {
+	.name		= "clk_48m",
+	.id		= -1,
+	.rate		= 48000000,
+	.enable		= clk_48m_ctrl,
+};
+
+unsigned long s3c_fclk_get_rate(void)
+{
+	unsigned long apll_con;
+	unsigned long clk_div0_tmp;
+	unsigned long m = 0;
+	unsigned long p = 0;
+	unsigned long s = 0;
+	unsigned long ret;
+
+	apll_con = __raw_readl(S3C_APLL_CON);
+	clk_div0_tmp = __raw_readl(S3C_CLK_DIV0) & 0xf;
+
+	m = (apll_con >> 16) & 0x3ff;
+	p = (apll_con >> 8) & 0x3f;
+	s = apll_con & 0x3;
+
+	ret = (m * (INIT_XTAL / (p * (1 << s))));
+
+	return (ret / (clk_div0_tmp + 1));
+}
+
+unsigned long s3c_fclk_round_rate(struct clk *clk, unsigned long rate)
+{
+	u32 iter;
+
+	for(iter = 1 ; iter < ARRAY_SIZE(s3c_cpu_clock_table) ; iter++){
+		if(rate > s3c_cpu_clock_table[iter][0])
+			return s3c_cpu_clock_table[iter-1][0];
+	}
+
+	return s3c_cpu_clock_table[ARRAY_SIZE(s3c_cpu_clock_table) - 1][0];
+}
+
+int s3c_fclk_set_rate(struct clk *clk, unsigned long rate)
+{
+	u32 round_tmp;
+	u32 iter;
+	u32 clk_div0_tmp,tmp,flag;
+	u32 cur_clk = s3c_fclk_get_rate();
+
+	round_tmp = s3c_fclk_round_rate(clk,rate);
+
+	if(round_tmp == cur_clk)
+		return 0;
+
+
+	for (iter = 0 ; iter < ARRAY_SIZE(s3c_cpu_clock_table) ; iter++){
+		if(round_tmp == s3c_cpu_clock_table[iter][0])
+			break;
+	}
+
+	if(iter >= ARRAY_SIZE(s3c_cpu_clock_table))
+		iter = ARRAY_SIZE(s3c_cpu_clock_table) - 1;
+
+	tmp = 0x1000;
+#if 0	
+	if(cur_clk > round_tmp) {
+		clk_div0_tmp = __raw_readl(ARM_CLK_DIV) & ~(ARM_DIV_MASK);
+		__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \
+					    : : "r" (clk_div0_tmp) : "memory");
+		__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \
+					    : : "r" (clk_div0_tmp) : "memory");
+		do {
+			tmp--;
+			if(tmp == 0x800) {
+				__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \
+							    : : "r" (clk_div0_tmp) : "memory");
+				__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \
+							    : : "r" (clk_div0_tmp) : "memory");
+				
+				clk_div0_tmp |= s3c_cpu_clock_table[iter][1];
+				__raw_writel(clk_div0_tmp, ARM_CLK_DIV);
+
+				clk_div0_tmp = __raw_readl(ARM_CLK_DIV) & ~(HCLK_DIV_MASK);
+				clk_div0_tmp |= s3c_cpu_clock_table[iter][2];
+				__raw_writel(clk_div0_tmp, ARM_CLK_DIV);
+			}
+			if(tmp <= 0)
+				break;
+		} while(1);
+
+	} else {
+	
+		clk_div0_tmp = __raw_readl(ARM_CLK_DIV) & ~(HCLK_DIV_MASK);
+		__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \
+					    : : "r" (clk_div0_tmp) : "memory");
+		__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \
+					    : : "r" (clk_div0_tmp) : "memory");
+		do {
+			tmp--;
+			if(tmp == 0x800) {
+				__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \
+							    : : "r" (clk_div0_tmp) : "memory");
+				__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \
+							    : : "r" (clk_div0_tmp) : "memory");		
+				clk_div0_tmp |= s3c_cpu_clock_table[iter][2];
+				__raw_writel(clk_div0_tmp, ARM_CLK_DIV);
+				
+				clk_div0_tmp = __raw_readl(ARM_CLK_DIV) & ~(ARM_DIV_MASK);
+				clk_div0_tmp |= s3c_cpu_clock_table[iter][1];
+				__raw_writel(clk_div0_tmp, ARM_CLK_DIV);
+			}
+			if(tmp <= 0)
+				break;
+		} while(1);				
+	}
+#else
+	local_irq_save(flag);
+	clk_div0_tmp = __raw_readl(ARM_CLK_DIV) & ~(ARM_DIV_MASK);
+	clk_div0_tmp |= s3c_cpu_clock_table[iter][1];
+	clk_div0_tmp &= ~(HCLK_DIV_MASK);
+	clk_div0_tmp |= s3c_cpu_clock_table[iter][2];
+	__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \
+				    : : "r" (clk_div0_tmp) : "memory");
+	__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \
+				    : : "r" (clk_div0_tmp) : "memory");
+	do {
+		tmp--;
+		if(tmp == 0xC00) {
+			__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \
+						    : : "r" (clk_div0_tmp) : "memory");
+			__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \
+						    : : "r" (clk_div0_tmp) : "memory");
+
+			__raw_writel(clk_div0_tmp, ARM_CLK_DIV);
+		}
+		if(tmp <= 0)
+			break;
+	} while(1);
+
+#endif
+	local_irq_restore(flag);
+	printk("ARM_CLK:%d, iter:%d\n",round_tmp,iter);
+
+	clk->rate = s3c_cpu_clock_table[iter][0];
+
+	return 0;
+}
+
+struct clk clk_cpu = {
+	.name		= "clk_cpu",
+	.id		= -1,
+	.rate		= 0,
+	.parent		= &clk_mpll,
+	.ctrlbit	= 0,
+	.set_rate	= s3c_fclk_set_rate,
+	.round_rate	= s3c_fclk_round_rate,
+};
+
+static int inline s5p64xx_gate(void __iomem *reg,
+				struct clk *clk,
+				int enable)
+{
+	unsigned int ctrlbit = clk->ctrlbit;
+	u32 con;
+
+	con = __raw_readl(reg);
+
+	if (enable)
+		con |= ctrlbit;
+	else
+		con &= ~ctrlbit;
+
+	__raw_writel(con, reg);
+	return 0;
+}
+
+static int s5p64xx_pclk_ctrl(struct clk *clk, int enable)
+{
+	return s5p64xx_gate(S3C_CLK_GATE_PCLK, clk, enable);
+}
+
+static int s5p64xx_hclk_ctrl(struct clk *clk, int enable)
+{
+	return s5p64xx_gate(S3C_CLK_GATE_HCLK0, clk, enable);
+}
+
+int s5p64xx_sclk_ctrl(struct clk *clk, int enable)
+{
+	return s5p64xx_gate(S3C_CLK_GATE_SCLK0, clk, enable);
+}
+
+static struct clk init_clocks_disable[] = {
+	{
+		.name		= "nand",
+		.id		= -1,
+		.parent		= &clk_h,
+	}, {
+		.name		= "adc",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_TSADC,
+	}, {
+		.name		= "i2c",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_IIC0,
+	}, {
+		.name		= "iis_v40",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_IIS2,
+	}, {
+		.name		= "spi",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_SPI0,
+	}, {
+		.name		= "spi",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_SPI1,
+	}, {
+		.name		= "48m",
+		.id		= 0,
+		.parent		= &clk_48m,
+		.enable		= s5p64xx_sclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_SCLK0_MMC0_48,
+	}, {
+		.name		= "48m",
+		.id		= 1,
+		.parent		= &clk_48m,
+		.enable		= s5p64xx_sclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_SCLK0_MMC1_48,
+	}, {
+		.name		= "48m",
+		.id		= 2,
+		.parent		= &clk_48m,
+		.enable		= s5p64xx_sclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_SCLK0_MMC2_48,
+	}, {
+		.name    	= "otg",
+		.id	   	= -1,
+		.parent  	= &clk_h,
+		.enable  	= s5p64xx_hclk_ctrl,
+		.ctrlbit 	= S3C_CLKCON_HCLK0_USB
+	}, {
+		.name    	= "post",
+		.id	   	= -1,
+		.parent  	= &clk_h,
+		.enable  	= s5p64xx_hclk_ctrl,
+		.ctrlbit 	= S3C_CLKCON_HCLK0_POST0
+	},
+
+};
+
+static struct clk init_clocks[] = {
+	{
+		.name		= "lcd",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5p64xx_hclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_HCLK1_DISPCON,
+	}, {
+		.name		= "gpio",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_GPIO,
+	}, {
+		.name		= "hsmmc",
+		.id		= 0,
+		.parent		= &clk_h,
+		.enable		= s5p64xx_hclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_HCLK0_HSMMC0,
+	}, {
+		.name		= "hsmmc",
+		.id		= 1,
+		.parent		= &clk_h,
+		.enable		= s5p64xx_hclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_HCLK0_HSMMC1,
+	}, {
+		.name		= "hsmmc",
+		.id		= 2,
+		.parent		= &clk_h,
+		.enable		= s5p64xx_hclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_HCLK0_HSMMC2,
+	}, {
+		.name		= "timers",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_PWM,
+	}, {
+		.name		= "uart",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_UART0,
+	}, {
+		.name		= "uart",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_UART1,
+	}, {
+		.name		= "uart",
+		.id		= 2,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_UART2,
+	}, {
+		.name		= "uart",
+		.id		= 3,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_UART3,
+	}, {
+		.name		= "rtc",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5p64xx_pclk_ctrl,
+		.ctrlbit	= S3C_CLKCON_PCLK_RTC,
+	}, {
+		.name		= "watchdog",
+		.id		= -1,
+		.parent		= &clk_p,
+		.ctrlbit	= S3C_CLKCON_PCLK_WDT,
+	}
+};
+
+static struct clk *clks[] __initdata = {
+	&clk_ext,
+	&clk_epll,
+	&clk_27m,
+	&clk_48m,
+	&clk_cpu,
+};
+
+void __init s5p64xx_register_clocks(void)
+{
+	struct clk *clkp;
+	int ret;
+	int ptr;
+
+	s3c24xx_register_clocks(clks, ARRAY_SIZE(clks));
+
+	clkp = init_clocks;
+	for (ptr = 0; ptr < ARRAY_SIZE(init_clocks); ptr++, clkp++) {
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+	}
+
+	clkp = init_clocks_disable;
+	for (ptr = 0; ptr < ARRAY_SIZE(init_clocks_disable); ptr++, clkp++) {
+
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+
+		(clkp->enable)(clkp, 0);
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/cpu.c linux-2.6.28.6/arch/arm/plat-s5p64xx/cpu.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/cpu.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/cpu.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,106 @@
+/* linux/arch/arm/plat-s5p64xx/cpu.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S5P64XX CPU Support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/interrupt.h>
+#include <linux/ioport.h>
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+#include <linux/delay.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+
+#include <plat/regs-serial.h>
+#include <plat/regs-clock.h>
+
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/clock.h>
+
+#include <plat/s5p6440.h>
+
+/* table of supported CPUs */
+
+static const char name_s5p6440[] = "S5P6440";
+
+static struct cpu_table cpu_ids[] __initdata = {
+	{
+		.idcode		= 0x56440100,
+		.idmask		= 0xffffff00,
+		.map_io		= s5p6440_map_io,
+		.init_clocks	= s5p6440_init_clocks,
+		.init_uarts	= s5p6440_init_uarts,
+		.init		= s5p6440_init,
+		.name		= name_s5p6440,
+	},
+};
+
+/* minimal IO mapping */
+
+/* see notes on uart map in arch/arm/mach-s5p6440/include/mach/debug-macro.S */
+#define UART_OFFS (S3C_PA_UART & 0xfffff)
+
+static struct map_desc s3c_iodesc[] __initdata = {
+	{
+		.virtual	= (unsigned long)S3C_VA_SYS,
+		.pfn		= __phys_to_pfn(S5P64XX_PA_SYSCON),
+		.length		= SZ_4K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)(S3C_VA_UART + UART_OFFS),
+		.pfn		= __phys_to_pfn(S3C_PA_UART),
+		.length		= SZ_4K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_VIC0,
+		.pfn		= __phys_to_pfn(S5P64XX_PA_VIC0),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_VIC1,
+		.pfn		= __phys_to_pfn(S5P64XX_PA_VIC1),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_TIMER,
+		.pfn		= __phys_to_pfn(S3C_PA_TIMER),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S5P64XX_VA_GPIO,
+		.pfn		= __phys_to_pfn(S5P64XX_PA_GPIO),
+		.length		= SZ_4K,
+		.type		= MT_DEVICE,
+	},
+};
+
+/* read cpu identification code */
+
+void __init s5p64xx_init_io(struct map_desc *mach_desc, int size)
+{
+	unsigned long idcode;
+
+	/* initialise the io descriptors we need for initialisation */
+	iotable_init(s3c_iodesc, ARRAY_SIZE(s3c_iodesc));
+	iotable_init(mach_desc, size);
+
+	idcode = __raw_readl(S3C_SYS_ID);
+	s3c_init_cpu(idcode, cpu_ids, ARRAY_SIZE(cpu_ids));
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/dev-post.c linux-2.6.28.6/arch/arm/plat-s5p64xx/dev-post.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/dev-post.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/dev-post.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,66 @@
+/* linux/arch/arm/plat-s5p64xx/dev-post.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * S5P64XX series device definition for post processor
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+
+#include <plat/post.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_post_resource[] = {
+	[0] = {
+		.start = S5P64XX_PA_POST,
+		.end   = S5P64XX_PA_POST + S5P64XX_SZ_POST - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_POST0,
+		.end   = IRQ_POST0,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
+struct platform_device s3c_device_post = {
+	.name		  = "s3c-post",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_post_resource),
+	.resource	  = s3c_post_resource,
+};
+
+static struct s3c_platform_post default_post_data __initdata = {
+	.clk_name	= "post",
+	.clockrate	= 133000000,
+	.line_length	= 1280,
+	.nr_frames	= 4,
+};
+
+void __init s3c_post_set_platdata(struct s3c_platform_post *pd)
+{
+	struct s3c_platform_post *npd;
+
+	if (!pd)
+		pd = &default_post_data;
+
+	npd = kmemdup(pd, sizeof(struct s3c_platform_post), GFP_KERNEL);
+	if (!npd)
+		printk(KERN_ERR "%s: no memory for platform data\n", __func__);
+	else if (!npd->cfg_gpio)
+		npd->cfg_gpio = s3c_post_cfg_gpio;
+
+	s3c_device_post.dev.platform_data = npd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/dev-uart.c linux-2.6.28.6/arch/arm/plat-s5p64xx/dev-uart.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/dev-uart.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/dev-uart.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,176 @@
+/* linux/arch/arm/plat-s5p64xx/dev-uart.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S5P64XX UART resource and device definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/platform_device.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/irq.h>
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/devs.h>
+
+/* Serial port registrations */
+
+/* 64xx uarts are closer together */
+
+static struct resource s5p64xx_uart0_resource[] = {
+	[0] = {
+		.start	= S3C_PA_UART0,
+		.end	= S3C_PA_UART0 + S3C_SZ_UART,
+		.flags	= IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX0,
+		.end	= IRQ_S3CUART_RX0,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX0,
+		.end	= IRQ_S3CUART_TX0,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR0,
+		.end	= IRQ_S3CUART_ERR0,
+		.flags	= IORESOURCE_IRQ,
+	}
+};
+
+static struct resource s5p64xx_uart1_resource[] = {
+	[0] = {
+		.start = S3C_PA_UART1,
+		.end   = S3C_PA_UART1 + S3C_SZ_UART,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX1,
+		.end	= IRQ_S3CUART_RX1,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX1,
+		.end	= IRQ_S3CUART_TX1,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR1,
+		.end	= IRQ_S3CUART_ERR1,
+		.flags	= IORESOURCE_IRQ,
+	},
+};
+
+static struct resource s5p64xx_uart2_resource[] = {
+	[0] = {
+		.start = S3C_PA_UART2,
+		.end   = S3C_PA_UART2 + S3C_SZ_UART,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX2,
+		.end	= IRQ_S3CUART_RX2,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX2,
+		.end	= IRQ_S3CUART_TX2,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR2,
+		.end	= IRQ_S3CUART_ERR2,
+		.flags	= IORESOURCE_IRQ,
+	},
+};
+
+static struct resource s5p64xx_uart3_resource[] = {
+	[0] = {
+		.start = S3C_PA_UART3,
+		.end   = S3C_PA_UART3 + S3C_SZ_UART,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX3,
+		.end	= IRQ_S3CUART_RX3,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX3,
+		.end	= IRQ_S3CUART_TX3,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR3,
+		.end	= IRQ_S3CUART_ERR3,
+		.flags	= IORESOURCE_IRQ,
+	},
+};
+
+
+struct s3c24xx_uart_resources s5p64xx_uart_resources[] __initdata = {
+	[0] = {
+		.resources	= s5p64xx_uart0_resource,
+		.nr_resources	= ARRAY_SIZE(s5p64xx_uart0_resource),
+	},
+	[1] = {
+		.resources	= s5p64xx_uart1_resource,
+		.nr_resources	= ARRAY_SIZE(s5p64xx_uart1_resource),
+	},
+	[2] = {
+		.resources	= s5p64xx_uart2_resource,
+		.nr_resources	= ARRAY_SIZE(s5p64xx_uart2_resource),
+	},
+	[3] = {
+		.resources	= s5p64xx_uart3_resource,
+		.nr_resources	= ARRAY_SIZE(s5p64xx_uart3_resource),
+	},
+};
+
+/* uart devices */
+
+static struct platform_device s3c24xx_uart_device0 = {
+	.id		= 0,
+};
+
+static struct platform_device s3c24xx_uart_device1 = {
+	.id		= 1,
+};
+
+static struct platform_device s3c24xx_uart_device2 = {
+	.id		= 2,
+};
+
+static struct platform_device s3c24xx_uart_device3 = {
+	.id		= 3,
+};
+
+struct platform_device *s3c24xx_uart_src[4] = {
+	&s3c24xx_uart_device0,
+	&s3c24xx_uart_device1,
+	&s3c24xx_uart_device2,
+	&s3c24xx_uart_device3,
+};
+
+struct platform_device *s3c24xx_uart_devs[4] = {
+};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/devs.c linux-2.6.28.6/arch/arm/plat-s5p64xx/devs.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/devs.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/devs.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,303 @@
+/* linux/arch/arm/plat-s5p64xx/devs.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S5P64XX resource and device definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/platform_device.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/irq.h>
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/devs.h>
+#include <plat/adc.h>
+
+/* SMC9115 LAN via ROM interface */
+
+static struct resource s3c_smc911x_resources[] = {
+      [0] = {
+              .start  = S5P64XX_PA_SMC9115,
+              .end    = S5P64XX_PA_SMC9115 + S5P64XX_SZ_SMC9115 - 1,
+              .flags  = IORESOURCE_MEM,
+      },
+      [1] = {
+              .start = IRQ_EINT(10),
+              .end   = IRQ_EINT(10),
+              .flags = IORESOURCE_IRQ,
+        },
+};
+
+struct platform_device s3c_device_smc911x = {
+      .name           = "smc911x",
+      .id             =  -1,
+      .num_resources  = ARRAY_SIZE(s3c_smc911x_resources),
+      .resource       = s3c_smc911x_resources,
+};
+
+/* NAND Controller */
+
+static struct resource s3c_nand_resource[] = {
+	[0] = {
+		.start = S5P64XX_PA_NAND,
+		.end   = S5P64XX_PA_NAND + S5P64XX_SZ_NAND - 1,
+		.flags = IORESOURCE_MEM,
+	}
+};
+
+struct platform_device s3c_device_nand = {
+	.name		  = "s3c-nand",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_nand_resource),
+	.resource	  = s3c_nand_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_nand);
+
+/* USB Device (Gadget)*/
+
+static struct resource s3c_usbgadget_resource[] = {
+	[0] = {
+		.start = S3C_PA_OTG,
+		.end   = S3C_PA_OTG + S3C_SZ_OTG - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_OTG,
+		.end   = IRQ_OTG,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_usbgadget = {
+	.name		  = "s3c-usbgadget",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_usbgadget_resource),
+	.resource	  = s3c_usbgadget_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_usbgadget);
+
+/* USB Device (OTG hcd)*/
+
+static struct resource s3c_usb_otghcd_resource[] = {
+	[0] = {
+		.start = S3C_PA_OTG,
+		.end   = S3C_PA_OTG + S3C_SZ_OTG - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_OTG,
+		.end   = IRQ_OTG,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+static u64 s3c_device_usb_otghcd_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_usb_otghcd = {
+	.name		= "s3c_otghcd",
+	.id		= -1,
+	.num_resources	= ARRAY_SIZE(s3c_usb_otghcd_resource),
+	.resource	= s3c_usb_otghcd_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_usb_otghcd_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+
+EXPORT_SYMBOL(s3c_device_usb_otghcd);
+
+/* SPI (0) */
+static struct resource s3c_spi0_resource[] = {
+	[0] = {
+		.start = S3C_PA_SPI0,
+		.end   = S3C_PA_SPI0 + S3C_SZ_SPI0 - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_SPI0,
+		.end   = IRQ_SPI0,
+		.flags = IORESOURCE_IRQ,
+	}
+
+};
+
+static u64 s3c_device_spi0_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_spi0 = {
+	.name		  = "sam-spi",
+	.id		  = 0,
+	.num_resources	  = ARRAY_SIZE(s3c_spi0_resource),
+	.resource	  = s3c_spi0_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_spi0_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+EXPORT_SYMBOL(s3c_device_spi0);
+
+/* SPI (1) */
+static struct resource s3c_spi1_resource[] = {
+	[0] = {
+		.start = S3C_PA_SPI1,
+		.end   = S3C_PA_SPI1 + S3C_SZ_SPI1 - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_SPI1,
+		.end   = IRQ_SPI1,
+		.flags = IORESOURCE_IRQ,
+	}
+
+};
+
+static u64 s3c_device_spi1_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_spi1 = {
+	.name		  = "sam-spi",
+	.id		  = 1,
+	.num_resources	  = ARRAY_SIZE(s3c_spi1_resource),
+	.resource	  = s3c_spi1_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_spi1_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+EXPORT_SYMBOL(s3c_device_spi1);
+
+/* LCD Controller */
+
+static struct resource s3c_lcd_resource[] = {
+	[0] = {
+		.start = S5P64XX_PA_LCD,
+		.end   = S5P64XX_PA_LCD + SZ_1M - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_DISPCON1,
+		.end   = IRQ_DISPCON2,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+static u64 s3c_device_lcd_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_lcd = {
+	.name		  = "s3c-lcd",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_lcd_resource),
+	.resource	  = s3c_lcd_resource,
+	.dev              = {
+		.dma_mask		= &s3c_device_lcd_dmamask,
+		.coherent_dma_mask	= 0xffffffffUL
+	}
+};
+
+/* ADC */
+static struct resource s3c_adc_resource[] = {
+	[0] = {
+		.start = S3C_PA_ADC,
+		.end   = S3C_PA_ADC + SZ_4K - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_PENDN,
+		.end   = IRQ_PENDN,
+		.flags = IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start = IRQ_ADC,
+		.end   = IRQ_ADC,
+		.flags = IORESOURCE_IRQ,
+	}
+
+};
+
+struct platform_device s3c_device_adc = {
+	.name		  = "s3c-adc",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_adc_resource),
+	.resource	  = s3c_adc_resource,
+};
+
+void __init s3c_adc_set_platdata(struct s3c_adc_mach_info *pd)
+{
+	struct s3c_adc_mach_info *npd;
+
+	npd = kmalloc(sizeof(*npd), GFP_KERNEL);
+	if (npd) {
+		memcpy(npd, pd, sizeof(*npd));
+		s3c_device_adc.dev.platform_data = npd;
+	} else {
+		printk(KERN_ERR "no memory for ADC platform data\n");
+	}
+}
+
+static struct resource s3c_rtc_resource[] = {
+	[0] = {
+		.start = S3C_PA_RTC,
+		.end   = S3C_PA_RTC + 0xff,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_RTC_ALARM,
+		.end   = IRQ_RTC_ALARM,
+		.flags = IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start = IRQ_RTC_TIC,
+		.end   = IRQ_RTC_TIC,
+		.flags = IORESOURCE_IRQ
+	}
+};
+
+struct platform_device s3c_device_rtc = {
+	.name		  = "s3c2410-rtc",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_rtc_resource),
+	.resource	  = s3c_rtc_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_rtc);
+
+/* Watchdog */
+static struct resource s3c_wdt_resource[] = {
+	[0] = {
+		.start = S5P64XX_PA_WATCHDOG,
+		.end   = S5P64XX_PA_WATCHDOG + S5P64XX_SZ_WATCHDOG - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_WDT,
+		.end   = IRQ_WDT,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_wdt = {
+	.name             = "s3c2410-wdt",
+	.id               = -1,
+	.num_resources    = ARRAY_SIZE(s3c_wdt_resource),
+	.resource         = s3c_wdt_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_wdt);
+
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/gpiolib.c linux-2.6.28.6/arch/arm/plat-s5p64xx/gpiolib.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/gpiolib.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/gpiolib.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,372 @@
+/* arch/arm/plat-s5p64xx/gpiolib.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5P64XX - GPIOlib support 
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/irq.h>
+#include <linux/io.h>
+
+#include <mach/map.h>
+#include <mach/gpio.h>
+#include <mach/gpio-core.h>
+
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-cfg-helpers.h>
+#include <plat/regs-gpio.h>
+
+/* GPIO bank summary:
+ *
+ * Bank	GPIOs	Style	SlpCon	ExtInt Group
+ * A	8	4Bit	Yes	1
+ * B	7	4Bit	Yes	1
+ * C	8	4Bit	Yes	2
+ * D	5	4Bit	Yes	3
+ * E	5	4Bit	Yes	None
+ * F	16	2Bit	Yes	4 [1]
+ * G	7	4Bit	Yes	5
+ * H	10	4Bit[2]	Yes	6
+ * I	16	2Bit	Yes	None
+ * J	12	2Bit	Yes	None
+ * K	16	4Bit[2]	No	None
+ * L	15	4Bit[2] No	None
+ * M	6	4Bit	No	IRQ_EINT
+ * N	16	2Bit	No	IRQ_EINT
+ * O	16	2Bit	Yes	7
+ * P	15	2Bit	Yes	8
+ * Q	9	2Bit	Yes	9
+ *
+ * [1] BANKF pins 14,15 do not form part of the external interrupt sources
+ * [2] BANK has two control registers, GPxCON0 and GPxCON1
+ */
+
+#define OFF_GPCON	(0x00)
+#define OFF_GPDAT	(0x04)
+
+#define con_4bit_shift(__off) ((__off) * 4)
+
+#if 1
+#define gpio_dbg(x...) do { } while(0)
+#else
+#define gpio_dbg(x...) printk(KERN_DEBUG ## x)
+#endif
+
+/* The s5p64xx_gpiolib_4bit routines are to control the gpio banks where
+ * the gpio configuration register (GPxCON) has 4 bits per GPIO, as the
+ * following example:
+ *
+ * base + 0x00: Control register, 4 bits per gpio
+ *	        gpio n: 4 bits starting at (4*n)
+ *		0000 = input, 0001 = output, others mean special-function
+ * base + 0x04: Data register, 1 bit per gpio
+ *		bit n: data bit n
+ *
+ * Note, since the data register is one bit per gpio and is at base + 0x4
+ * we can use s3c_gpiolib_get and s3c_gpiolib_set to change the state of
+ * the output.
+*/
+
+static int s5p64xx_gpiolib_4bit_input(struct gpio_chip *chip, unsigned offset)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	unsigned long con;
+
+	con = __raw_readl(base + OFF_GPCON);
+	con &= ~(0xf << con_4bit_shift(offset));
+	__raw_writel(con, base + OFF_GPCON);
+
+	gpio_dbg("%s: %p: CON now %08lx\n", __func__, base, con);
+
+	return 0;
+}
+
+static int s5p64xx_gpiolib_4bit_output(struct gpio_chip *chip,
+				       unsigned offset, int value)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	unsigned long con;
+	unsigned long dat;
+
+	con = __raw_readl(base + OFF_GPCON);
+	con &= ~(0xf << con_4bit_shift(offset));
+	con |= 0x1 << con_4bit_shift(offset);
+
+	dat = __raw_readl(base + OFF_GPDAT);
+	if (value)
+		dat |= 1 << offset;
+	else
+		dat &= ~(1 << offset);
+
+	__raw_writel(dat, base + OFF_GPDAT);
+	__raw_writel(con, base + OFF_GPCON);
+	__raw_writel(dat, base + OFF_GPDAT);
+
+	gpio_dbg("%s: %p: CON %08lx, DAT %08lx\n", __func__, base, con, dat);
+
+	return 0;
+}
+
+/* The next set of routines are for the case where the GPIO configuration
+ * registers are 4 bits per GPIO but there is more than one register (the
+ * bank has more than 8 GPIOs.
+ *
+ * This case is the similar to the 4 bit case, but the registers are as
+ * follows:
+ *
+ * base + 0x00: Control register, 4 bits per gpio (lower 8 GPIOs)
+ *	        gpio n: 4 bits starting at (4*n)
+ *		0000 = input, 0001 = output, others mean special-function
+ * base + 0x04: Control register, 4 bits per gpio (up to 8 additions GPIOs)
+ *	        gpio n: 4 bits starting at (4*n)
+ *		0000 = input, 0001 = output, others mean special-function
+ * base + 0x08: Data register, 1 bit per gpio
+ *		bit n: data bit n
+ *
+ * To allow us to use the s3c_gpiolib_get and s3c_gpiolib_set routines we
+ * store the 'base + 0x4' address so that these routines see the data
+ * register at ourchip->base + 0x04.
+*/
+
+static int s5p64xx_gpiolib_4bit2_input(struct gpio_chip *chip, unsigned offset)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	void __iomem *regcon = base;
+	unsigned long con;
+
+	if (offset > 7)
+		offset -= 8;
+	else
+		regcon -= 4;
+
+	con = __raw_readl(regcon);
+	con &= ~(0xf << con_4bit_shift(offset));
+	__raw_writel(con, regcon);
+
+	gpio_dbg("%s: %p: CON %08lx\n", __func__, base, con);
+
+	return 0;
+
+}
+
+static int s5p64xx_gpiolib_4bit2_output(struct gpio_chip *chip,
+				       unsigned offset, int value)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	void __iomem *regcon = base;
+	unsigned long con;
+	unsigned long dat;
+
+	if (offset > 7)
+		offset -= 8;
+	else
+		regcon -= 4;
+
+	con = __raw_readl(regcon);
+	con &= ~(0xf << con_4bit_shift(offset));
+	con |= 0x1 << con_4bit_shift(offset);
+
+	dat = __raw_readl(base + OFF_GPDAT);
+	if (value)
+		dat |= 1 << offset;
+	else
+		dat &= ~(1 << offset);
+
+	__raw_writel(dat, base + OFF_GPDAT);
+	__raw_writel(con, regcon);
+	__raw_writel(dat, base + OFF_GPDAT);
+
+	gpio_dbg("%s: %p: CON %08lx, DAT %08lx\n", __func__, base, con, dat);
+
+	return 0;
+}
+
+static struct s3c_gpio_cfg gpio_4bit_cfg_noint = {
+	.set_config	= s3c_gpio_setcfg_s3c64xx_4bit,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_cfg gpio_4bit_cfg_eint0111 = {
+	.cfg_eint	= 7,
+	.set_config	= s3c_gpio_setcfg_s3c64xx_4bit,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_cfg gpio_4bit_cfg_eint0011 = {
+	.cfg_eint	= 3,
+	.set_config	= s3c_gpio_setcfg_s3c64xx_4bit,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_chip gpio_4bit[] = {
+	{
+		.base	= S5P64XX_GPA_BASE,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S5P64XX_GPA(0),
+			.ngpio	= S5P64XX_GPIO_A_NR,
+			.label	= "GPA",
+		},
+	}, {
+		.base	= S5P64XX_GPB_BASE,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S5P64XX_GPB(0),
+			.ngpio	= S5P64XX_GPIO_B_NR,
+			.label	= "GPB",
+		},
+	}, {
+		.base	= S5P64XX_GPC_BASE,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S5P64XX_GPC(0),
+			.ngpio	= S5P64XX_GPIO_C_NR,
+			.label	= "GPC",
+		},
+	}, {
+		.base	= S5P64XX_GPG_BASE,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S5P64XX_GPG(0),
+			.ngpio	= S5P64XX_GPIO_G_NR,
+			.label	= "GPG",
+		},
+	},
+};
+
+static struct s3c_gpio_chip gpio_4bit2[] = {
+	{
+		.base	= S5P64XX_GPH_BASE + 0x4,
+		.config	= &gpio_4bit_cfg_eint0111,
+		.chip	= {
+			.base	= S5P64XX_GPH(0),
+			.ngpio	= S5P64XX_GPIO_H_NR,
+			.label	= "GPH",
+		},
+	}, {
+		.base	= S5P64XX_GPR_BASE + 0x4,
+		.config	= &gpio_4bit_cfg_eint0011,
+		.chip	= {
+			.base	= S5P64XX_GPR(0),
+			.ngpio	= S5P64XX_GPIO_R_NR,
+			.label	= "GPR",
+		},
+	},
+};
+
+static struct s3c_gpio_cfg gpio_2bit_cfg_noint = {
+	.set_config	= s3c_gpio_setcfg_s3c24xx,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_cfg gpio_2bit_cfg_eint10 = {
+	.cfg_eint	= 2,
+	.set_config	= s3c_gpio_setcfg_s3c24xx,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_cfg gpio_2bit_cfg_eint11 = {
+	.cfg_eint	= 3,
+	.set_config	= s3c_gpio_setcfg_s3c24xx,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_chip gpio_2bit[] = {
+	{
+		.base	= S5P64XX_GPF_BASE,
+		.config	= &gpio_2bit_cfg_eint11,
+		.chip	= {
+			.base	= S5P64XX_GPF(0),
+			.ngpio	= S5P64XX_GPIO_F_NR,
+			.label	= "GPF",
+		},
+	}, {
+		.base	= S5P64XX_GPI_BASE,
+		.config	= &gpio_2bit_cfg_noint,
+		.chip	= {
+			.base	= S5P64XX_GPI(0),
+			.ngpio	= S5P64XX_GPIO_I_NR,
+			.label	= "GPI",
+		},
+	}, {
+		.base	= S5P64XX_GPJ_BASE,
+		.config	= &gpio_2bit_cfg_noint,
+		.chip	= {
+			.base	= S5P64XX_GPJ(0),
+			.ngpio	= S5P64XX_GPIO_J_NR,
+			.label	= "GPJ",
+		},
+	}, {
+		.base	= S5P64XX_GPN_BASE,
+		.config	= &gpio_2bit_cfg_eint10,
+		.chip	= {
+			.base	= S5P64XX_GPN(0),
+			.ngpio	= S5P64XX_GPIO_N_NR,
+			.label	= "GPN",
+		},
+	}, {
+		.base	= S5P64XX_GPP_BASE,
+		.config	= &gpio_2bit_cfg_eint11,
+		.chip	= {
+			.base	= S5P64XX_GPP(0),
+			.ngpio	= S5P64XX_GPIO_P_NR,
+			.label	= "GPP",
+		},
+	},
+};
+
+static __init void s5p64xx_gpiolib_add_4bit(struct s3c_gpio_chip *chip)
+{
+	chip->chip.direction_input = s5p64xx_gpiolib_4bit_input;
+	chip->chip.direction_output = s5p64xx_gpiolib_4bit_output;
+}
+
+static __init void s5p64xx_gpiolib_add_4bit2(struct s3c_gpio_chip *chip)
+{
+	chip->chip.direction_input = s5p64xx_gpiolib_4bit2_input;
+	chip->chip.direction_output = s5p64xx_gpiolib_4bit2_output;
+}
+
+static __init void s5p64xx_gpiolib_add(struct s3c_gpio_chip *chips,
+				       int nr_chips,
+				       void (*fn)(struct s3c_gpio_chip *))
+{
+	for (; nr_chips > 0; nr_chips--, chips++) {
+		if (fn)
+			(fn)(chips);
+		s3c_gpiolib_add(chips);
+	}
+}
+
+static __init int s5p64xx_gpiolib_init(void)
+{
+	s5p64xx_gpiolib_add(gpio_4bit, ARRAY_SIZE(gpio_4bit),
+			    s5p64xx_gpiolib_add_4bit);
+
+	s5p64xx_gpiolib_add(gpio_4bit2, ARRAY_SIZE(gpio_4bit2),
+			    s5p64xx_gpiolib_add_4bit2);
+
+	s5p64xx_gpiolib_add(gpio_2bit, ARRAY_SIZE(gpio_2bit), NULL);
+
+	return 0;
+}
+
+arch_initcall(s5p64xx_gpiolib_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/dma.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/dma.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/dma.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/dma.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,12 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/dma.h
+ *
+ * Copyright (C) 2006 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * Samsung S5P64XX DMA support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+#include <plat/s3c-dma.h>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-a.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-a.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-a.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-a.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,42 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-a.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank A register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPACON			(S5P64XX_GPA_BASE + 0x00)
+#define S5P64XX_GPADAT			(S5P64XX_GPA_BASE + 0x04)
+#define S5P64XX_GPAPUD			(S5P64XX_GPA_BASE + 0x08)
+#define S5P64XX_GPACONSLP		(S5P64XX_GPA_BASE + 0x0c)
+#define S5P64XX_GPAPUDSLP		(S5P64XX_GPA_BASE + 0x10)
+
+#define S5P64XX_GPA_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5P64XX_GPA_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5P64XX_GPA_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5P64XX_GPA0_UART_RXD0		(0x02 << 0)
+#define S5P64XX_GPA0_EINT_G1_0		(0x07 << 0)
+
+#define S5P64XX_GPA1_UART_TXD0		(0x02 << 4)
+#define S5P64XX_GPA1_EINT_G1_1		(0x07 << 4)
+
+#define S5P64XX_GPA2_UART_nCTS0		(0x02 << 8)
+#define S5P64XX_GPA2_EINT_G1_2		(0x07 << 8)
+
+#define S5P64XX_GPA3_UART_nRTS0		(0x02 << 12)
+#define S5P64XX_GPA3_EINT_G1_3		(0x07 << 12)
+
+#define S5P64XX_GPA4_UART_RXD1		(0x02 << 16)
+#define S5P64XX_GPA4_EINT_G1_4		(0x07 << 16)
+
+#define S5P64XX_GPA5_UART_TXD1		(0x02 << 20)
+#define S5P64XX_GPA5_EINT_G1_5		(0x07 << 20)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-b.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-b.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-b.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-b.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,49 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-b.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank B register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPBCON			(S5P64XX_GPB_BASE + 0x00)
+#define S5P64XX_GPBDAT			(S5P64XX_GPB_BASE + 0x04)
+#define S5P64XX_GPBPUD			(S5P64XX_GPB_BASE + 0x08)
+#define S5P64XX_GPBCONSLP		(S5P64XX_GPB_BASE + 0x0c)
+#define S5P64XX_GPBPUDSLP		(S5P64XX_GPB_BASE + 0x10)
+
+#define S5P64XX_GPB_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5P64XX_GPB_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5P64XX_GPB_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5P64XX_GPB0_UART_RXD2		(0x02 << 0)
+#define S5P64XX_GPB0_EINT_G1_8		(0x07 << 0)
+
+#define S5P64XX_GPB1_UART_TXD2		(0x02 << 4)
+#define S5P64XX_GPB1_EINT_G1_9		(0x07 << 4)
+
+#define S5P64XX_GPB2_UART_RXD3		(0x02 << 8)
+#define S5P64XX_GPB2_I2C_SCL1		(0x06 << 8)
+#define S5P64XX_GPB2_EINT_G1_10		(0x07 << 8)
+
+#define S5P64XX_GPB3_UART_TXD3		(0x02 << 12)
+#define S5P64XX_GPB3_I2C_SDA1		(0x06 << 12)
+#define S5P64XX_GPB3_EINT_G1_11		(0x07 << 12)
+
+#define S5P64XX_GPB4_ts_ERROR		(0x06 << 16)
+#define S5P64XX_GPB4_EINT_G1_12		(0x07 << 16)
+
+#define S5P64XX_GPB5_I2C_SCL0		(0x02 << 20)
+#define S5P64XX_GPB5_UART_nCTS1         (0x03 << 20)
+#define S5P64XX_GPB5_EINT_G1_13		(0x07 << 20)
+
+#define S5P64XX_GPB6_I2C_SDA0		(0x02 << 24)
+#define S5P64XX_GPB6_UART_nRTS1         (0x03 << 24)
+#define S5P64XX_GPB6_EINT_G1_14		(0x07 << 24)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-c.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-c.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-c.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-c.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,57 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-c.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank C register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPCCON			(S5P64XX_GPC_BASE + 0x00)
+#define S5P64XX_GPCDAT			(S5P64XX_GPC_BASE + 0x04)
+#define S5P64XX_GPCPUD			(S5P64XX_GPC_BASE + 0x08)
+#define S5P64XX_GPCCONSLP		(S5P64XX_GPC_BASE + 0x0c)
+#define S5P64XX_GPCPUDSLP		(S5P64XX_GPC_BASE + 0x10)
+
+#define S5P64XX_GPC_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5P64XX_GPC_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5P64XX_GPC_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5P64XX_GPC0_SPI_MISO0		(0x02 << 0)
+#define S5P64XX_GPC0_ts_CLK		(0x03 << 0)
+#define S5P64XX_GPC0_EINT_G2_0		(0x07 << 0)
+
+#define S5P64XX_GPC1_SPI_CLK0		(0x02 << 4)
+#define S5P64XX_GPC1_ts_SYNC		(0x03 << 4)
+#define S5P64XX_GPC1_EINT_G2_1		(0x07 << 4)
+
+#define S5P64XX_GPC2_SPI_MOSI0		(0x02 << 8)
+#define S5P64XX_GPC2_ts_VALID		(0x03 << 8)
+#define S5P64XX_GPC2_EINT_G2_2		(0x07 << 8)
+
+#define S5P64XX_GPC3_SPI_nCS0		(0x02 << 12)
+#define S5P64XX_GPC3_ts_DATA		(0x03 << 12)
+#define S5P64XX_GPC3_EINT_G2_3		(0x07 << 12)
+
+#define S5P64XX_GPC4_SPI_MISO1		(0x02 << 16)
+#define S5P64XX_GPC4_MMC2_CMD		(0x03 << 16)
+#define S5P64XX_GPC4_I2S_V40_DO0	(0x05 << 16)
+#define S5P64XX_GPC4_EINT_G2_4		(0x07 << 16)
+
+#define S5P64XX_GPC5_SPI_CLK1		(0x02 << 20)
+#define S5P64XX_GPC5_MMC2_CLK		(0x03 << 20)
+#define S5P64XX_GPC5_I2S_V40_DO1	(0x05 << 20)
+#define S5P64XX_GPC5_EINT_G2_5		(0x07 << 20)
+
+#define S5P64XX_GPC6_SPI_MOSI1		(0x02 << 24)
+#define S5P64XX_GPC6_EINT_G2_6		(0x07 << 24)
+
+#define S5P64XX_GPC7_SPI_nCS1		(0x02 << 28)
+#define S5P64XX_GPC7_I2S_V40_DO2	(0x05 << 28)
+#define S5P64XX_GPC7_EINT_G2_7		(0x07 << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-f.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-f.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-f.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-f.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,28 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-f.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank F register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPFCON			(S5P64XX_GPF_BASE + 0x00)
+#define S5P64XX_GPFDAT			(S5P64XX_GPF_BASE + 0x04)
+#define S5P64XX_GPFPUD			(S5P64XX_GPF_BASE + 0x08)
+#define S5P64XX_GPFCONSLP		(S5P64XX_GPF_BASE + 0x0c)
+#define S5P64XX_GPFPUDSLP		(S5P64XX_GPF_BASE + 0x10)
+
+#define S5P64XX_GPF_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S5P64XX_GPF_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S5P64XX_GPF_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S5P64XX_GPF14_PWM_TOUT0		(0x02 << 28)
+
+#define S5P64XX_GPF15_PWM_TOUT1		(0x02 << 30)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-g.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-g.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-g.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-g.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,45 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-g.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank G register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPGCON			(S5P64XX_GPG_BASE + 0x00)
+#define S5P64XX_GPGDAT			(S5P64XX_GPG_BASE + 0x04)
+#define S5P64XX_GPGPUD			(S5P64XX_GPG_BASE + 0x08)
+#define S5P64XX_GPGCONSLP		(S5P64XX_GPG_BASE + 0x0c)
+#define S5P64XX_GPGPUDSLP		(S5P64XX_GPG_BASE + 0x10)
+
+#define S5P64XX_GPG_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5P64XX_GPG_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5P64XX_GPG_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5P64XX_GPG0_MMC0_CLK		(0x02 << 0)
+#define S5P64XX_GPG0_EINT_G5_0		(0x07 << 0)
+
+#define S5P64XX_GPG1_MMC0_CMD		(0x02 << 4)
+#define S5P64XX_GPG1_EINT_G5_1		(0x07 << 4)
+
+#define S5P64XX_GPG2_MMC0_DATA0		(0x02 << 8)
+#define S5P64XX_GPG2_EINT_G5_2		(0x07 << 8)
+
+#define S5P64XX_GPG3_MMC0_DATA1		(0x02 << 12)
+#define S5P64XX_GPG3_EINT_G5_3		(0x07 << 12)
+
+#define S5P64XX_GPG4_MMC0_DATA2		(0x02 << 16)
+#define S5P64XX_GPG4_EINT_G5_4		(0x07 << 16)
+
+#define S5P64XX_GPG5_MMC0_DATA3		(0x02 << 20)
+#define S5P64XX_GPG5_EINT_G5_5		(0x07 << 20)
+
+#define S5P64XX_GPG6_MMC0_CDn		(0x02 << 24)
+#define S5P64XX_GPG6_MMC1_CDn		(0x03 << 24)
+#define S5P64XX_GPG6_EINT_G5_6		(0x07 << 24)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-h.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-h.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-h.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-h.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,63 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-h.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank H register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPHCON0			(S5P64XX_GPH_BASE + 0x00)
+#define S5P64XX_GPHCON1			(S5P64XX_GPH_BASE + 0x04)
+#define S5P64XX_GPHDAT			(S5P64XX_GPH_BASE + 0x08)
+#define S5P64XX_GPHPUD			(S5P64XX_GPH_BASE + 0x0c)
+#define S5P64XX_GPHCONSLP		(S5P64XX_GPH_BASE + 0x10)
+#define S5P64XX_GPHPUDSLP		(S5P64XX_GPH_BASE + 0x14)
+
+#define S5P64XX_GPH_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5P64XX_GPH_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5P64XX_GPH_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5P64XX_GPH0_MMC1_CLK		(0x02 << 0)
+#define S5P64XX_GPH0_EINT_G6_0		(0x07 << 0)
+
+#define S5P64XX_GPH1_MMC1_CMD		(0x02 << 4)
+#define S5P64XX_GPH1_EINT_G6_1		(0x07 << 4)
+
+#define S5P64XX_GPH2_MMC1_DATA0		(0x02 << 8)
+#define S5P64XX_GPH2_EINT_G6_2		(0x07 << 8)
+
+#define S5P64XX_GPH3_MMC1_DATA1		(0x02 << 12)
+#define S5P64XX_GPH3_EINT_G6_3		(0x07 << 12)
+
+#define S5P64XX_GPH4_MMC1_DATA2		(0x02 << 16)
+#define S5P64XX_GPH4_EINT_G6_4		(0x07 << 16)
+
+#define S5P64XX_GPH5_MMC1_DATA3		(0x02 << 20)
+#define S5P64XX_GPH5_EINT_G6_5		(0x07 << 20)
+
+#define S5P64XX_GPH6_MMC1_DATA4		(0x02 << 24)
+#define S5P64XX_GPH6_MMC2_DATA0		(0x03 << 24)
+#define S5P64XX_GPH6_I2S_V40_BCLK	(0x05 << 24)
+#define S5P64XX_GPH6_EINT_G6_6		(0x07 << 24)
+
+#define S5P64XX_GPH7_MMC1_DATA5		(0x02 << 28)
+#define S5P64XX_GPH7_MMC2_DATA1		(0x03 << 28)
+#define S5P64XX_GPH7_I2S_V40_CDCLK	(0x05 << 28)
+#define S5P64XX_GPH7_EINT_G6_7		(0x07 << 28)
+
+#define S5P64XX_GPH8_MMC1_DATA6		(0x02 << 0)
+#define S5P64XX_GPH8_MMC2_DATA2		(0x03 << 0)
+#define S5P64XX_GPH8_I2S_V40_LRCLK	(0x05 << 0)
+#define S5P64XX_GPH8_EINT_G6_8		(0x07 << 0)
+
+#define S5P64XX_GPH9_MMC1_DATA7		(0x02 << 4)
+#define S5P64XX_GPH9_MMC2_DATA3		(0x03 << 4)
+#define S5P64XX_GPH9_I2S_V40_DI		(0x05 << 4)
+#define S5P64XX_GPH9_EINT_G6_9		(0x07 << 4)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-i.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-i.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-i.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-i.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,71 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-i.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank I register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPICON			(S5P64XX_GPI_BASE + 0x00)
+#define S5P64XX_GPIDAT			(S5P64XX_GPI_BASE + 0x04)
+#define S5P64XX_GPIPUD			(S5P64XX_GPI_BASE + 0x08)
+#define S5P64XX_GPICONSLP		(S5P64XX_GPI_BASE + 0x0c)
+#define S5P64XX_GPIPUDSLP		(S5P64XX_GPI_BASE + 0x10)
+
+#define S5P64XX_GPI_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S5P64XX_GPI_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S5P64XX_GPI_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S5P64XX_GPI0_VD0			(0x02 << 0)
+#define S5P64XX_GPI0_EXTSRAM_DATA0		(0x03 << 0)
+
+#define S5P64XX_GPI1_VD1			(0x02 << 2)
+#define S5P64XX_GPI1_EXTSRAM_DATA1		(0x03 << 2)
+
+#define S5P64XX_GPI2_VD2			(0x02 << 4)
+#define S5P64XX_GPI2_EXTSRAM_DATA2		(0x03 << 4)
+
+#define S5P64XX_GPI3_VD3			(0x02 << 6)
+#define S5P64XX_GPI3_EXTSRAM_DATA3		(0x03 << 6)
+
+#define S5P64XX_GPI4_VD4			(0x02 << 8)
+#define S5P64XX_GPI4_EXTSRAM_DATA4		(0x03 << 8)
+
+#define S5P64XX_GPI5_VD5			(0x02 << 10)
+#define S5P64XX_GPI5_EXTSRAM_DATA5		(0x03 << 10)
+
+#define S5P64XX_GPI6_VD6			(0x02 << 12)
+#define S5P64XX_GPI6_EXTSRAM_DATA6		(0x03 << 12)
+
+#define S5P64XX_GPI7_VD7			(0x02 << 14)
+#define S5P64XX_GPI7_EXTSRAM_DATA7		(0x03 << 14)
+
+#define S5P64XX_GPI8_VD8			(0x02 << 16)
+#define S5P64XX_GPI8_EXTSRAM_DATA8		(0x03 << 16)
+
+#define S5P64XX_GPI9_VD9			(0x02 << 18)
+#define S5P64XX_GPI9_EXTSRAM_DATA9		(0x03 << 18)
+
+#define S5P64XX_GPI10_VD10			(0x02 << 20)
+#define S5P64XX_GPI10_EXTSRAM_DATA10		(0x03 << 20)
+
+#define S5P64XX_GPI11_VD11			(0x02 << 22)
+#define S5P64XX_GPI11_EXTSRAM_DATA11		(0x03 << 22)
+
+#define S5P64XX_GPI12_VD12			(0x02 << 24)
+#define S5P64XX_GPI12_EXTSRAM_DATA12		(0x03 << 24)
+
+#define S5P64XX_GPI13_VD13			(0x02 << 26)
+#define S5P64XX_GPI13_EXTSRAM_DATA13		(0x03 << 26)
+
+#define S5P64XX_GPI14_VD14			(0x02 << 28)
+#define S5P64XX_GPI14_EXTSRAM_DATA14		(0x03 << 28)
+
+#define S5P64XX_GPI15_VD15			(0x02 << 30)
+#define S5P64XX_GPI15_EXTSRAM_DATA15		(0x03 << 30)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-j.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-j.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-j.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-j.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,59 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-j.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank J register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPJCON			(S5P64XX_GPJ_BASE + 0x00)
+#define S5P64XX_GPJDAT			(S5P64XX_GPJ_BASE + 0x04)
+#define S5P64XX_GPJPUD			(S5P64XX_GPJ_BASE + 0x08)
+#define S5P64XX_GPJCONSLP		(S5P64XX_GPJ_BASE + 0x0c)
+#define S5P64XX_GPJPUDSLP		(S5P64XX_GPJ_BASE + 0x10)
+
+#define S5P64XX_GPJ_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S5P64XX_GPJ_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S5P64XX_GPJ_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S5P64XX_GPJ0_VD16			(0x02 << 0)
+#define S5P64XX_GPJ0_EXTSRAM_nCS		(0x03 << 0)
+
+#define S5P64XX_GPJ1_VD17			(0x02 << 2)
+#define S5P64XX_GPJ1_EXTSRAM_nOE		(0x03 << 2)
+
+#define S5P64XX_GPJ2_VD18			(0x02 << 4)
+#define S5P64XX_GPJ2_EXTSRAM_nWE		(0x03 << 4)
+
+#define S5P64XX_GPJ3_VD19			(0x02 << 6)
+#define S5P64XX_GPJ3_EXTSRAM_nBE0		(0x03 << 6)
+
+#define S5P64XX_GPJ4_VD20			(0x02 << 8)
+#define S5P64XX_GPJ4_EXTSRAM_nBE1		(0x03 << 8)
+
+#define S5P64XX_GPJ5_VD21			(0x02 << 10)
+#define S5P64XX_GPJ5_EXTSRAM_ADDR1		(0x03 << 10)
+
+#define S5P64XX_GPJ6_VD22			(0x02 << 12)
+#define S5P64XX_GPJ6_EXTSRAM_ADDR2		(0x03 << 12)
+
+#define S5P64XX_GPJ7_VD23			(0x02 << 14)
+#define S5P64XX_GPJ7_EXTSRAM_ADDR3		(0x03 << 14)
+
+#define S5P64XX_GPJ8_LCD_HSYNC			(0x02 << 16)
+#define S5P64XX_GPJ8_EXTSRAM_ADDR4		(0x03 << 16)
+
+#define S5P64XX_GPJ9_LCD_VSYNC			(0x02 << 18)
+#define S5P64XX_GPJ9_EXTSRAM_ADDR5		(0x03 << 18)
+
+#define S5P64XX_GPJ10_LCD_VDEN			(0x02 << 20)
+#define S5P64XX_GPJ10_EXTSRAM_ADDR6		(0x03 << 20)
+
+#define S5P64XX_GPJ11_LCD_VCLK			(0x02 << 22)
+#define S5P64XX_GPJ11_EXTSRAM_ADDR7		(0x03 << 22)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-n.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-n.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-n.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-n.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,38 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-n.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank N register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPNCON			(S5P64XX_GPN_BASE + 0x00)
+#define S5P64XX_GPNDAT			(S5P64XX_GPN_BASE + 0x04)
+#define S5P64XX_GPNPUD			(S5P64XX_GPN_BASE + 0x08)
+
+#define S5P64XX_GPN_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S5P64XX_GPN_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S5P64XX_GPN_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S5P64XX_GPN0_EINT0		(0x02 << 0)
+#define S5P64XX_GPN1_EINT1		(0x02 << 2)
+#define S5P64XX_GPN2_EINT2		(0x02 << 4)
+#define S5P64XX_GPN3_EINT3		(0x02 << 6)
+#define S5P64XX_GPN4_EINT4		(0x02 << 8)
+#define S5P64XX_GPN5_EINT5		(0x02 << 10)
+#define S5P64XX_GPN6_EINT6		(0x02 << 12)
+#define S5P64XX_GPN7_EINT7		(0x02 << 14)
+#define S5P64XX_GPN8_EINT8		(0x02 << 16)
+#define S5P64XX_GPN9_EINT9		(0x02 << 18)
+#define S5P64XX_GPN10_EINT10		(0x02 << 20)
+#define S5P64XX_GPN11_EINT11		(0x02 << 22)
+#define S5P64XX_GPN12_EINT12		(0x02 << 24)
+#define S5P64XX_GPN13_EINT13		(0x02 << 26)
+#define S5P64XX_GPN14_EINT14		(0x02 << 28)
+#define S5P64XX_GPN15_EINT15		(0x02 << 30)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-p.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-p.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-p.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-p.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,45 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-p.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank P register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPPCON			(S5P64XX_GPP_BASE + 0x00)
+#define S5P64XX_GPPDAT			(S5P64XX_GPP_BASE + 0x04)
+#define S5P64XX_GPPPUD			(S5P64XX_GPP_BASE + 0x08)
+#define S5P64XX_GPPCONSLP		(S5P64XX_GPP_BASE + 0x0c)
+#define S5P64XX_GPPPUDSLP		(S5P64XX_GPP_BASE + 0x10)
+#define S5P64XX_GPPCON_GPS		(S5P64XX_GPP_BASE + 0x14)
+
+#define S5P64XX_GPP_CONMASK(__gpio)	(0x3 << ((__gpio) * 2))
+#define S5P64XX_GPP_INPUT(__gpio)	(0x0 << ((__gpio) * 2))
+#define S5P64XX_GPP_OUTPUT(__gpio)	(0x1 << ((__gpio) * 2))
+
+#define S5P64XX_GPP3_MEM0_ALE		(0x02 << 6)
+#define S5P64XX_GPP3_EINT_G8_3		(0x03 << 6)
+
+#define S5P64XX_GPP4_MEM0_CLE		(0x02 << 8)
+#define S5P64XX_GPP4_EINT_G8_4		(0x03 << 8)
+
+#define S5P64XX_GPP5_MEM0_FWE		(0x02 << 10)
+#define S5P64XX_GPP5_EINT_G8_5		(0x03 << 10)
+
+#define S5P64XX_GPP6_MEM0_FRE		(0x02 << 12)
+#define S5P64XX_GPP6_EINT_G8_6		(0x03 << 12)
+
+#define S5P64XX_GPP7_MEM0_RnB		(0x02 << 14)
+#define S5P64XX_GPP7_EINT_G8_7		(0x03 << 14)
+
+#define S5P64XX_GPP8_EINT_G8_8		(0x03 << 16)
+
+#define S5P64XX_GPP9_EINT_G8_9		(0x03 << 18)
+
+#define S5P64XX_GPP10_EINT_G8_10	(0x03 << 20)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-r.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-r.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/gpio-bank-r.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/gpio-bank-r.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,51 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/gpio-bank-r.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank R register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P64XX_GPRCON0			(S5P64XX_GPR_BASE + 0x00)
+#define S5P64XX_GPRCON1			(S5P64XX_GPR_BASE + 0x04)
+#define S5P64XX_GPRDAT			(S5P64XX_GPR_BASE + 0x08)
+#define S5P64XX_GPRPUD			(S5P64XX_GPR_BASE + 0x0c)
+#define S5P64XX_GPRCONSLP		(S5P64XX_GPR_BASE + 0x10)
+#define S5P64XX_GPRPUDSLP		(S5P64XX_GPR_BASE + 0x14)
+
+#define S5P64XX_GPR_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5P64XX_GPR_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5P64XX_GPR_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5P64XX_GPR4_I2S_V40_DO0	(0x05 << 16)
+
+#define S5P64XX_GPR5_I2S_V40_DO1	(0x05 << 20)
+
+#define S5P64XX_GPR6_PCM_SOUT		(0x02 << 28)
+#define S5P64XX_GPR6_I2S_V40_DO2	(0x05 << 28)
+
+#define S5P64XX_GPR7_PCM_DCLK		(0x02 << 0)
+#define S5P64XX_GPR7_I2S_V40_LRCLK	(0x05 << 0)
+
+#define S5P64XX_GPR8_PCM_SIN		(0x02 << 4)
+#define S5P64XX_GPR8_I2S_V40_DI		(0x05 << 4)
+
+#define S5P64XX_GPR9_I2C_SCL1		(0x06 << 8)
+
+#define S5P64XX_GPR10_I2C_SDA1		(0x06 << 12)
+
+#define S5P64XX_GPR11_MMC2_CMD		(0x03 << 16)
+
+#define S5P64XX_GPR12_MMC2_CLK		(0x03 << 20)
+
+#define S5P64XX_GPR13_PCM_EXTCLK	(0x02 << 24)
+#define S5P64XX_GPR13_I2S_V40_BCLK	(0x05 << 24)
+
+#define S5P64XX_GPR14_PCM_FSYNC		(0x02 << 28)
+#define S5P64XX_GPR14_I2S_V40_CDCLK	(0x05 << 28)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/irqs.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/irqs.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/irqs.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/irqs.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,170 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/irqs.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5P64XX - Common IRQ support
+ */
+
+#ifndef __ASM_PLAT_S5P64XX_IRQS_H
+#define __ASM_PLAT_S5P64XX_IRQS_H __FILE__
+
+/* we keep the first set of CPU IRQs out of the range of
+ * the ISA space, so that the PC104 has them to itself
+ * and we don't end up having to do horrible things to the
+ * standard ISA drivers....
+ *
+ * note, since we're using the VICs, our start must be a
+ * mulitple of 32 to allow the common code to work
+ */
+
+#define S3C_IRQ_OFFSET	(32)
+
+#define S3C_IRQ(x)	((x) + S3C_IRQ_OFFSET)
+
+#define S3C_VIC0_BASE	S3C_IRQ(0)
+#define S3C_VIC1_BASE	S3C_IRQ(32)
+
+/* UART interrupts, each UART has 4 intterupts per channel so
+ * use the space between the ISA and S3C main interrupts. Note, these
+ * are not in the same order as the S3C24XX series! */
+
+#define IRQ_S3CUART_BASE0	(16)
+#define IRQ_S3CUART_BASE1	(20)
+#define IRQ_S3CUART_BASE2	(24)
+#define IRQ_S3CUART_BASE3	(28)
+
+#define UART_IRQ_RXD		(0)
+#define UART_IRQ_ERR		(1)
+#define UART_IRQ_TXD		(2)
+#define UART_IRQ_MODEM		(3)
+
+#define IRQ_S3CUART_RX0		(IRQ_S3CUART_BASE0 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX0		(IRQ_S3CUART_BASE0 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR0	(IRQ_S3CUART_BASE0 + UART_IRQ_ERR)
+
+#define IRQ_S3CUART_RX1		(IRQ_S3CUART_BASE1 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX1		(IRQ_S3CUART_BASE1 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR1	(IRQ_S3CUART_BASE1 + UART_IRQ_ERR)
+
+#define IRQ_S3CUART_RX2		(IRQ_S3CUART_BASE2 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX2		(IRQ_S3CUART_BASE2 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR2	(IRQ_S3CUART_BASE2 + UART_IRQ_ERR)
+
+#define IRQ_S3CUART_RX3		(IRQ_S3CUART_BASE3 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX3		(IRQ_S3CUART_BASE3 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR3	(IRQ_S3CUART_BASE3 + UART_IRQ_ERR)
+
+/* VIC based IRQs */
+
+#define S5P64XX_IRQ_VIC0(x)	(S3C_VIC0_BASE + (x))
+#define S5P64XX_IRQ_VIC1(x)	(S3C_VIC1_BASE + (x))
+
+/* VIC0 */
+
+#define IRQ_EINT0_3		S5P64XX_IRQ_VIC0(0)
+#define IRQ_EINT4_11		S5P64XX_IRQ_VIC0(1)
+#define IRQ_RTC_TIC		S5P64XX_IRQ_VIC0(2)
+#define IRQ_IIC1		S5P64XX_IRQ_VIC0(5)
+#define IRQ_IISV40		S5P64XX_IRQ_VIC0(6)
+#define IRQ_GPS			S5P64XX_IRQ_VIC0(7)
+#define IRQ_POST0		S5P64XX_IRQ_VIC0(9)
+#define IRQ_2D			S5P64XX_IRQ_VIC0(11)
+#define IRQ_TIMER0_VIC		S5P64XX_IRQ_VIC0(23)
+#define IRQ_TIMER1_VIC		S5P64XX_IRQ_VIC0(24)
+#define IRQ_TIMER2_VIC		S5P64XX_IRQ_VIC0(25)
+#define IRQ_WDT			S5P64XX_IRQ_VIC0(26)
+#define IRQ_TIMER3_VIC		S5P64XX_IRQ_VIC0(27)
+#define IRQ_TIMER4_VIC		S5P64XX_IRQ_VIC0(28)
+#define IRQ_DISPCON0		S5P64XX_IRQ_VIC0(29)
+#define IRQ_DISPCON1		S5P64XX_IRQ_VIC0(30)
+#define IRQ_DISPCON2		S5P64XX_IRQ_VIC0(31)
+
+/* VIC1 */
+
+#define IRQ_EINT12_15		S5P64XX_IRQ_VIC1(0)
+#define IRQ_PCM0		S5P64XX_IRQ_VIC1(2)
+#define IRQ_UART0		S5P64XX_IRQ_VIC1(5)
+#define IRQ_UART1		S5P64XX_IRQ_VIC1(6)
+#define IRQ_UART2		S5P64XX_IRQ_VIC1(7)
+#define IRQ_UART3		S5P64XX_IRQ_VIC1(8)
+#define IRQ_DMA0		S5P64XX_IRQ_VIC1(9)
+#define IRQ_NFC			S5P64XX_IRQ_VIC1(13)
+#define IRQ_SPI0		S5P64XX_IRQ_VIC1(16)
+#define IRQ_SPI1		S5P64XX_IRQ_VIC1(17)
+#define IRQ_IIC			S5P64XX_IRQ_VIC1(18)
+#define IRQ_DISPCON3		S5P64XX_IRQ_VIC1(19)
+#define IRQ_FIMGVG		S5P64XX_IRQ_VIC1(20)
+#define IRQ_EINTG1_G9		S5P64XX_IRQ_VIC1(21)
+#define IRQ_PMUIRQ		S5P64XX_IRQ_VIC1(23)
+#define IRQ_HSMMC0		S5P64XX_IRQ_VIC1(24)
+#define IRQ_HSMMC1		S5P64XX_IRQ_VIC1(25)
+#define IRQ_HSMMC2		IRQ_SPI1	/* shared with SPI1 */
+#define IRQ_OTG			S5P64XX_IRQ_VIC1(26)
+#define IRQ_DSI			S5P64XX_IRQ_VIC1(27)
+#define IRQ_RTC_ALARM		S5P64XX_IRQ_VIC1(28)
+#define IRQ_TSI			S5P64XX_IRQ_VIC1(29)
+#define IRQ_PENDN		S5P64XX_IRQ_VIC1(30)
+#define IRQ_TC			IRQ_PENDN
+#define IRQ_ADC			S5P64XX_IRQ_VIC1(31)
+
+#define S5P64XX_TIMER_IRQ(x)	S3C_IRQ(64 + (x))
+
+#define IRQ_TIMER0		S5P64XX_TIMER_IRQ(0)
+#define IRQ_TIMER1		S5P64XX_TIMER_IRQ(1)
+#define IRQ_TIMER2		S5P64XX_TIMER_IRQ(2)
+#define IRQ_TIMER3		S5P64XX_TIMER_IRQ(3)
+#define IRQ_TIMER4		S5P64XX_TIMER_IRQ(4)
+
+/* Since the IRQ_EINT(x) are a linear mapping on current s5p64xx series
+ * we just defined them as an IRQ_EINT(x) macro from S3C_IRQ_EINT_BASE
+ * which we place after the pair of VICs. */
+
+#define S3C_IRQ_EINT_BASE	S3C_IRQ(64+5)
+
+#define S3C_EINT(x)		((x) + S3C_IRQ_EINT_BASE)
+#define IRQ_EINT(x)		S3C_EINT(x)
+
+/* Next the external interrupt groups. These are similar to the IRQ_EINT(x)
+ * that they are sourced from the GPIO pins but with a different scheme for
+ * priority and source indication.
+ *
+ * The IRQ_EINT(x) can be thought of as 'group 0' of the available GPIO
+ * interrupts, but for historical reasons they are kept apart from these
+ * next interrupts.
+ *
+ * Use IRQ_EINT_GROUP(group, offset) to get the number for use in the
+ * machine specific support files.
+ */
+
+#define IRQ_EINT_GROUP1_NR	(15)
+#define IRQ_EINT_GROUP2_NR	(8)
+#define IRQ_EINT_GROUP3_NR	(5)
+#define IRQ_EINT_GROUP4_NR	(14)
+#define IRQ_EINT_GROUP5_NR	(7)
+#define IRQ_EINT_GROUP6_NR	(10)
+#define IRQ_EINT_GROUP7_NR	(16)
+#define IRQ_EINT_GROUP8_NR	(15)
+#define IRQ_EINT_GROUP9_NR	(9)
+
+#define IRQ_EINT_GROUP_BASE	S3C_EINT(28)
+#define IRQ_EINT_GROUP1_BASE	(IRQ_EINT_GROUP_BASE + 0x00)
+#define IRQ_EINT_GROUP2_BASE	(IRQ_EINT_GROUP1_BASE + IRQ_EINT_GROUP1_NR)
+#define IRQ_EINT_GROUP3_BASE	(IRQ_EINT_GROUP2_BASE + IRQ_EINT_GROUP2_NR)
+#define IRQ_EINT_GROUP4_BASE	(IRQ_EINT_GROUP3_BASE + IRQ_EINT_GROUP3_NR)
+#define IRQ_EINT_GROUP5_BASE	(IRQ_EINT_GROUP4_BASE + IRQ_EINT_GROUP4_NR)
+#define IRQ_EINT_GROUP6_BASE	(IRQ_EINT_GROUP5_BASE + IRQ_EINT_GROUP5_NR)
+#define IRQ_EINT_GROUP7_BASE	(IRQ_EINT_GROUP6_BASE + IRQ_EINT_GROUP6_NR)
+#define IRQ_EINT_GROUP8_BASE	(IRQ_EINT_GROUP7_BASE + IRQ_EINT_GROUP7_NR)
+#define IRQ_EINT_GROUP9_BASE	(IRQ_EINT_GROUP8_BASE + IRQ_EINT_GROUP8_NR)
+
+#define IRQ_EINT_GROUP(group, no)	(IRQ_EINT_GROUP##group##__BASE + (x))
+
+/* Set the default NR_IRQS */
+
+#define NR_IRQS	(IRQ_EINT_GROUP9_BASE + IRQ_EINT_GROUP9_NR + 1)
+
+#endif /* __ASM_PLAT_S5P64XX_IRQS_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/media.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/media.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/media.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/media.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,32 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/media.h
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Samsung Media device descriptions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _S3C_MEDIA_H
+#define _S3C_MEDIA_H
+
+#include <linux/types.h>
+
+#define S3C_MDEV_POST		0
+#define S3C_MDEV_MAX		1
+
+struct s3c_media_device {
+	int		id;
+	const char 	*name;
+	size_t		memsize;
+	dma_addr_t	paddr;
+};
+
+extern dma_addr_t s3c_get_media_memory(int dev_id);
+extern size_t s3c_get_media_memsize(int dev_id);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/pll.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/pll.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/pll.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/pll.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,74 @@
+/* arch/arm/plat-s5p64xx/include/plat/pll.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S5P64XX PLL code
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P6440_PLL_MDIV_MASK	((1 << (25-16+1)) - 1)
+#define S5P6440_PLL_PDIV_MASK	((1 << (13-8+1)) - 1)
+#define S5P6440_PLL_SDIV_MASK	((1 << (2-0+1)) - 1)
+#define S5P6440_PLL_MDIV_SHIFT	(16)
+#define S5P6440_PLL_PDIV_SHIFT	(8)
+#define S5P6440_PLL_SDIV_SHIFT	(0)
+
+#include <asm/div64.h>
+
+static inline unsigned long s5p6440_get_pll(unsigned long baseclk,
+					    u32 pllcon)
+{
+	u32 mdiv, pdiv, sdiv;
+	u64 fvco = baseclk;
+
+	mdiv = (pllcon >> S5P6440_PLL_MDIV_SHIFT) & S5P6440_PLL_MDIV_MASK;
+	pdiv = (pllcon >> S5P6440_PLL_PDIV_SHIFT) & S5P6440_PLL_PDIV_MASK;
+	sdiv = (pllcon >> S5P6440_PLL_SDIV_SHIFT) & S5P6440_PLL_SDIV_MASK;
+
+	fvco *= mdiv;
+	do_div(fvco, (pdiv << sdiv));
+
+	return (unsigned long)fvco;
+}
+
+#define S5P6440_EPLL_MDIV_MASK	((1 << (23-16+1)) - 1)
+#define S5P6440_EPLL_PDIV_MASK	((1 << (13-8+1)) - 1)
+#define S5P6440_EPLL_SDIV_MASK	((1 << (2-0+1)) - 1)
+#define S5P6440_EPLL_MDIV_SHIFT	(16)
+#define S5P6440_EPLL_PDIV_SHIFT	(8)
+#define S5P6440_EPLL_SDIV_SHIFT	(0)
+#define S5P6440_EPLL_KDIV_MASK  (0xffff)
+
+static inline unsigned long s5p6440_get_epll(unsigned long baseclk)
+{
+	unsigned long result;
+	u32 epll0 = __raw_readl(S3C_EPLL_CON);
+	u32 epll1 = __raw_readl(S3C_EPLL_CON_K);
+	u32 mdiv, pdiv, sdiv, kdiv;
+	u64 tmp;
+
+	mdiv = (epll0 >> S5P6440_EPLL_MDIV_SHIFT) & S5P6440_EPLL_MDIV_MASK;
+	pdiv = (epll0 >> S5P6440_EPLL_PDIV_SHIFT) & S5P6440_EPLL_PDIV_MASK;
+	sdiv = (epll0 >> S5P6440_EPLL_SDIV_SHIFT) & S5P6440_EPLL_SDIV_MASK;
+	kdiv = epll1 & S5P6440_EPLL_KDIV_MASK;
+
+	/* We need to multiple baseclk by mdiv (the integer part) and kdiv
+	 * which is in 2^16ths, so shift mdiv up (does not overflow) and
+	 * add kdiv before multiplying. The use of tmp is to avoid any
+	 * overflows before shifting bac down into result when multipling
+	 * by the mdiv and kdiv pair.
+	 */
+
+	tmp = baseclk;
+	tmp *= (mdiv << 16) + kdiv;
+	do_div(tmp, (pdiv << sdiv));
+	result = tmp >> 16;
+
+	return result;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/pm.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/pm.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/pm.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/pm.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,82 @@
+/* linux/include/asm-arm/plat-s3c24xx/pm.h
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Written by Ben Dooks, <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/sysdev.h>
+
+/* s3c2410_pm_init
+ *
+ * called from board at initialisation time to setup the power
+ * management
+*/
+
+#ifdef CONFIG_PM
+
+extern __init int s5p6440_pm_init(void);
+
+#else
+
+static inline int s5p6440_pm_init(void)
+{
+	return 0;
+}
+#endif
+
+/* configuration for the IRQ mask over sleep */
+extern unsigned long s3c_irqwake_intmask;
+extern unsigned long s3c_irqwake_eintmask;
+
+/* IRQ masks for IRQs allowed to go to sleep (see irq.c) */
+extern unsigned long s3c_irqwake_intallow;
+extern unsigned long s3c_irqwake_eintallow;
+
+/* per-cpu sleep functions */
+
+extern void (*pm_cpu_prep)(void);
+extern void (*pm_cpu_sleep)(void);
+
+/* Flags for PM Control */
+
+extern unsigned long s3c_pm_flags;
+
+/* from sleep.S */
+
+extern int  s5p6440_cpu_save(unsigned long *saveblk);
+extern void s5p6440_cpu_suspend(void);
+extern void s5p6440_cpu_resume(void);
+
+extern unsigned long s5p6440_sleep_save_phys;
+
+/* sleep save info */
+
+struct sleep_save {
+	void __iomem	*reg;
+	unsigned long	val;
+};
+
+struct sleep_save_phy {
+	unsigned long	reg;
+	unsigned long	val;
+};
+
+#define SAVE_ITEM(x) \
+	{ .reg = (x) }
+
+extern void s5p6440_pm_do_save_phy(struct sleep_save_phy *ptr, int count);
+extern void s5p6440_pm_do_restore_phy(struct sleep_save_phy *ptr, int count);
+extern void s5p6440_pm_do_save(struct sleep_save *ptr, int count);
+extern void s5p6440_pm_do_restore(struct sleep_save *ptr, int count);
+
+#ifdef CONFIG_PM
+extern int s3c64xx_irq_suspend(struct sys_device *dev, pm_message_t state);
+extern int s3c64xx_irq_resume(struct sys_device *dev);
+#else
+#define s3c64xx_irq_suspend	NULL
+#define s3c64xx_irq_resume	NULL
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/post.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/post.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/post.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/post.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,33 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/post.h
+ *
+ * Platform header file for Samsung Post Processor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _POST_H
+#define _POST_H
+
+struct platform_device;
+
+struct s3c_platform_post {
+	const char	clk_name[16];
+	u32		clockrate;
+	int		line_length;
+	int		nr_frames;
+
+	void		(*cfg_gpio)(struct platform_device *dev);
+};
+
+extern void s3c_post_set_platdata(struct s3c_platform_post *post);
+
+/* defined by architecture to configure gpio */
+extern void s3c_post_cfg_gpio(struct platform_device *dev);
+
+#endif /* _POST_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/regs-clock.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/regs-clock.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/regs-clock.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/regs-clock.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,212 @@
+/* arch/arm/plat-s5p64xx/include/plat/regs-clock.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S5P64XX clock register definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __PLAT_REGS_CLOCK_H
+#define __PLAT_REGS_CLOCK_H __FILE__
+
+#define S3C_CLKREG(x)		(S3C_VA_SYS + (x))
+
+#define S3C_APLL_LOCK		S3C_CLKREG(0x00)
+#define S3C_MPLL_LOCK		S3C_CLKREG(0x04)
+#define S3C_EPLL_LOCK		S3C_CLKREG(0x08)
+#define S3C_APLL_CON		S3C_CLKREG(0x0C)
+#define S3C_MPLL_CON		S3C_CLKREG(0x10)
+#define S3C_EPLL_CON		S3C_CLKREG(0x14)
+#define S3C_EPLL_CON_K		S3C_CLKREG(0x18)
+#define S3C_CLK_SRC0		S3C_CLKREG(0x1C)
+#define S3C_CLK_DIV0		S3C_CLKREG(0x20)
+#define S3C_CLK_DIV1		S3C_CLKREG(0x24)
+#define S3C_CLK_DIV2		S3C_CLKREG(0x28)
+#define S3C_CLK_OUT		S3C_CLKREG(0x2C)
+#define S3C_CLK_GATE_HCLK0	S3C_CLKREG(0x30)
+#define S3C_CLK_GATE_PCLK	S3C_CLKREG(0x34)
+#define S3C_CLK_GATE_SCLK0	S3C_CLKREG(0x38)
+#define S3C_CLK_GATE_MEM0	S3C_CLKREG(0x3C)
+#define S3C_CLK_DIV3		S3C_CLKREG(0x40)
+#define S3C_CLK_GATE_HCLK1	S3C_CLKREG(0x44)
+#define S3C_CLK_GATE_SCLK1	S3C_CLKREG(0x48)
+#define S3C_AHB_CON0           	S3C_CLKREG(0x100) 
+#define S3C_CLK_SRC1           	S3C_CLKREG(0x10C)
+#define S3C_SWRESET		S3C_CLKREG(0x114)
+#define S3C_SYS_ID		S3C_CLKREG(0x118)
+#define S3C_SYS_OTHERS		S3C_CLKREG(0x11C)
+#define S3C_MEM_CFG_STAT	S3C_CLKREG(0x12C)
+#define S3C_PWR_CFG		S3C_CLKREG(0x804)
+#define S3C_EINT_WAKEUP_MASK	S3C_CLKREG(0x808)
+#define S3C_NORMAL_CFG		S3C_CLKREG(0x810)
+#define S3C_STOP_CFG		S3C_CLKREG(0x814)
+#define S3C_SLEEP_CFG		S3C_CLKREG(0x818)
+#define S3C_OSC_FREQ		S3C_CLKREG(0x820)
+#define S3C_OSC_STABLE		S3C_CLKREG(0x824)
+#define S3C_PWR_STABLE		S3C_CLKREG(0x828)
+#define S3C_MTC_STABLE		S3C_CLKREG(0x830)
+#define S3C_OTHERS		S3C_CLKREG(0x900)
+#define S3C_RST_STAT		S3C_CLKREG(0x904)
+#define S3C_WAKEUP_STAT		S3C_CLKREG(0x908)
+#define S3C_INFORM0		S3C_CLKREG(0xA00)
+#define S3C_INFORM1		S3C_CLKREG(0xA04)
+#define S3C_INFORM2		S3C_CLKREG(0xA08)
+#define S3C_INFORM3		S3C_CLKREG(0xA0C)
+
+#define S3C_EPLL_CON_M_SHIFT	16
+#define S3C_EPLL_CON_P_SHIFT	8
+#define S3C_EPLL_CON_S_SHIFT	0
+#define S3C_EPLL_CON_K_SHIFT	0
+
+#define S3C_EPLL_CON_M_MASK	(0xff<<S3C_EPLL_CON_M_SHIFT)
+#define S3C_EPLL_CON_P_MASK	(0x3f<<S3C_EPLL_CON_P_SHIFT)
+#define S3C_EPLL_CON_S_MASK	(0x7<<S3C_EPLL_CON_S_SHIFT)
+#define S3C_EPLL_CON_K_MASK	(0xffff<<S3C_EPLL_CON_K_SHIFT)
+
+/* CLKDIV0 */
+#define S3C_CLKDIV0_PCLK_MASK		(0xf << 12)
+#define S3C_CLKDIV0_PCLK_SHIFT		(12)
+#define S3C_CLKDIV0_HCLK_MASK		(0xf << 8)
+#define S3C_CLKDIV0_HCLK_SHIFT		(8)
+#define S3C_CLKDIV0_MPLL_MASK		(0x1 << 4)
+#define S3C_CLKDIV0_MPLL_SHIFT		(4)
+#define S3C_CLKDIV0_ARM_MASK		(0xf << 0)
+#define S3C_CLKDIV0_ARM_SHIFT		(0)
+
+/* CLKDIV1 */
+#define S3C_CLKDIV1_LCD_MASK		(0xf << 12)
+#define S3C_CLKDIV1_LCD_SHIFT		(12)
+#define S3C_CLKDIV1_MMC2_MASK		(0xf << 8)
+#define S3C_CLKDIV1_MMC2_SHIFT		(8)
+#define S3C_CLKDIV1_MMC1_MASK		(0xf << 4)
+#define S3C_CLKDIV1_MMC1_SHIFT		(4)
+#define S3C_CLKDIV1_MMC0_MASK		(0xf << 0)
+#define S3C_CLKDIV1_MMC0_SHIFT		(0)
+
+/* CLKDIV2 */
+#define S3C_CLKDIV2_AUDIO2_MASK		(0xf << 24)
+#define S3C_CLKDIV2_AUDIO2_SHIFT	(24)
+#define S3C_CLKDIV2_UART_MASK		(0xf << 16)
+#define S3C_CLKDIV2_UART_SHIFT		(16)
+#define S3C_CLKDIV2_SPI1_MASK		(0xf << 4)
+#define S3C_CLKDIV2_SPI1_SHIFT		(4)
+#define S3C_CLKDIV2_SPI0_MASK		(0xf << 0)
+#define S3C_CLKDIV2_SPI0_SHIFT		(0)
+
+/* CLKDIV3 */
+#define S3C_CLKDIV3_PCLK_LOW_MASK	(0xf << 12)
+#define S3C_CLKDIV3_PCLK_LOW_SHIFT	(12)
+#define S3C_CLKDIV3_HCLK_LOW_MASK	(0xf << 8)
+#define S3C_CLKDIV3_HCLK_LOW_SHIFT	(8)
+#define S3C_CLKDIV3_FIMGVG_MASK		(0xf << 4)
+#define S3C_CLKDIV3_FIMGVG_SHIFT	(4)
+#define S3C_CLKDIV3_DISPCON_MASK	(0xf << 0)
+#define S3C_CLKDIV3_DISPCON_SHIFT	(0)
+
+/* HCLK0 GATE Registers */
+#define S3C_CLKCON_HCLK0_MEM0		(1<<21)
+#define S3C_CLKCON_HCLK0_USB		(1<<20)
+#define S3C_CLKCON_HCLK0_HSMMC2		(1<<19)
+#define S3C_CLKCON_HCLK0_HSMMC1		(1<<18)
+#define S3C_CLKCON_HCLK0_HSMMC0		(1<<17)
+#define S3C_CLKCON_HCLK0_DMA0		(1<<12)
+#define S3C_CLKCON_HCLK0_2D		(1<<8)
+#define S3C_CLKCON_HCLK0_POST0		(1<<5)
+#define S3C_CLKCON_HCLK0_TZIC		(1<<2)
+#define S3C_CLKCON_HCLK0_INTC		(1<<1)
+
+/* HCLK1 GATE Registers */
+#define S3C_CLKCON_HCLK1_FIMGVG		(1<<2)
+#define S3C_CLKCON_HCLK1_DISPCON	(1<<1)
+#define S3C_CLKCON_HCLK1_TSI		(1<<0)
+
+/* PCLK GATE Registers */
+#define S3C_CLKCON_PCLK_FIMGVG		(1<<31)
+#define S3C_CLKCON_PCLK_DMC0		(1<<30)
+#define S3C_CLKCON_PCLK_ETM		(1<<29)
+#define S3C_CLKCON_PCLK_DSIM		(1<<28)
+#define S3C_CLKCON_PCLK_IIC1		(1<<27)
+#define S3C_CLKCON_PCLK_IIS2		(1<<26)
+#define S3C_CLKCON_PCLK_GPS		(1<<25)
+#define S3C_CLKCON_PCLK_CHIPID		(1<<23)
+#define S3C_CLKCON_PCLK_SPI1		(1<<22)
+#define S3C_CLKCON_PCLK_SPI0		(1<<21)
+#define S3C_CLKCON_PCLK_GPIO		(1<<18)
+#define S3C_CLKCON_PCLK_IIC0		(1<<17)
+#define S3C_CLKCON_PCLK_TSADC		(1<<12)
+#define S3C_CLKCON_PCLK_PCM0		(1<<8)
+#define S3C_CLKCON_PCLK_PWM		(1<<7)
+#define S3C_CLKCON_PCLK_RTC		(1<<6)
+#define S3C_CLKCON_PCLK_WDT		(1<<5)
+#define S3C_CLKCON_PCLK_UART3		(1<<4)
+#define S3C_CLKCON_PCLK_UART2		(1<<3)
+#define S3C_CLKCON_PCLK_UART1		(1<<2)
+#define S3C_CLKCON_PCLK_UART0		(1<<1)
+
+/* SCLK0 GATE Registers */
+#define S3C_CLKCON_SCLK0_MMC2_48	(1<<29)
+#define S3C_CLKCON_SCLK0_MMC1_48	(1<<28)
+#define S3C_CLKCON_SCLK0_MMC0_48	(1<<27)
+#define S3C_CLKCON_SCLK0_MMC2		(1<<26)
+#define S3C_CLKCON_SCLK0_MMC1		(1<<25)
+#define S3C_CLKCON_SCLK0_MMC0		(1<<24)
+#define S3C_CLKCON_SCLK0_SPI1_48 	(1<<23)
+#define S3C_CLKCON_SCLK0_SPI0_48 	(1<<22)
+#define S3C_CLKCON_SCLK0_SPI1		(1<<21)
+#define S3C_CLKCON_SCLK0_SPI0		(1<<20)
+#define S3C_CLKCON_SCLK0_AUDIO2		(1<<11)
+#define S3C_CLKCON_SCLK0_POST0		(1<<10)
+#define S3C_CLKCON_SCLK0_UART		(1<<5)
+
+/* SCLK1 GATE Registers */
+#define S3C_CLKCON_SCLK1_FIMGVG		(1<<2)
+#define S3C_CLKCON_SCLK1_DISPCON	(1<<1)
+
+/* MEM0 GATE Registers */
+#define S3C_CLKCON_MEM0_HCLK_NFCON	(1<<2)
+#define S3C_CLKCON_MEM0_HCLK_SROM	(1<<1)
+#define S3C_CLKCON_MEM0_HCLK_DMC0	(1<<0)
+
+/*OTHERS Resgister */
+#define S3C_OTHERS_USB_SIG_MASK		(1<<16)
+#define S3C_OTHERS_HCLK_LOW_SEL_MPLL	(1<<6)
+
+/* CLKSRC */
+#define S3C_CLKSRC_APLL_MOUT		(1 << 0)
+#define S3C_CLKSRC_MPLL_MOUT		(1 << 1)
+#define S3C_CLKSRC_EPLL_MOUT		(1 << 2)
+#define S3C_CLKSRC_APLL_MOUT_SHIFT	(0)
+#define S3C_CLKSRC_MPLL_MOUT_SHIFT	(1)
+#define S3C_CLKSRC_EPLL_MOUT_SHIFT	(2)
+
+#define S3C_CLKSRC_POST0_MASK		(0x3 << 26)
+#define S3C_CLKSRC_POST0_SHIFT		(26)
+#define S3C_CLKSRC_MMC2_MASK		(0x3 << 22)
+#define S3C_CLKSRC_MMC2_SHIFT		(22)
+#define S3C_CLKSRC_MMC1_MASK		(0x3 << 20)
+#define S3C_CLKSRC_MMC1_SHIFT		(20)
+#define S3C_CLKSRC_MMC0_MASK		(0x3 << 18)
+#define S3C_CLKSRC_MMC0_SHIFT		(18)
+#define S3C_CLKSRC_SPI1_MASK		(0x3 << 16)
+#define S3C_CLKSRC_SPI1_SHIFT		(16)
+#define S3C_CLKSRC_SPI0_MASK		(0x3 << 14)
+#define S3C_CLKSRC_SPI0_SHIFT		(14)
+#define S3C_CLKSRC_UART_MASK		(0x1 << 13)
+#define S3C_CLKSRC_UART_SHIFT		(13)
+
+#define S3C_CLKSRC1_AUDIO2_MASK		(0x7 << 0)
+#define S3C_CLKSRC1_AUDIO2_SHIFT	(0)
+
+/*CLK SRC BITS*/
+#define S3C_CLKSRC_APLL_CLKSEL          (1<<0)                                           
+#define S3C_CLKSRC_MPLL_CLKSEL          (1<<1)                                           
+#define S3C_CLKSRC_EPLL_CLKSEL          (1<<2)                                           
+
+
+#endif /* _PLAT_REGS_CLOCK_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/regs-gpio.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/regs-gpio.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/regs-gpio.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/regs-gpio.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,51 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/regs-gpio.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5P64XX - GPIO register definitions
+ */
+
+#ifndef __ASM_PLAT_S5P64XX_REGS_GPIO_H
+#define __ASM_PLAT_S5P64XX_REGS_GPIO_H __FILE__
+
+#include <plat/gpio-bank-a.h>
+#include <plat/gpio-bank-b.h>
+#include <plat/gpio-bank-c.h>
+#include <plat/gpio-bank-f.h>
+#include <plat/gpio-bank-g.h>
+#include <plat/gpio-bank-h.h>
+#include <plat/gpio-bank-i.h>
+#include <plat/gpio-bank-j.h>
+#include <plat/gpio-bank-n.h>
+#include <plat/gpio-bank-p.h>
+#include <plat/gpio-bank-r.h>
+#include <mach/map.h>
+
+/* Base addresses for each of the banks */
+
+#define S5P64XX_GPA_BASE	(S5P64XX_VA_GPIO + 0x0000)
+#define S5P64XX_GPB_BASE	(S5P64XX_VA_GPIO + 0x0020)
+#define S5P64XX_GPC_BASE	(S5P64XX_VA_GPIO + 0x0040)
+#define S5P64XX_GPF_BASE	(S5P64XX_VA_GPIO + 0x00A0)
+#define S5P64XX_GPG_BASE	(S5P64XX_VA_GPIO + 0x00C0)
+#define S5P64XX_GPH_BASE	(S5P64XX_VA_GPIO + 0x00E0)
+#define S5P64XX_GPI_BASE	(S5P64XX_VA_GPIO + 0x0100)
+#define S5P64XX_GPJ_BASE	(S5P64XX_VA_GPIO + 0x0120)
+#define S5P64XX_GPN_BASE	(S5P64XX_VA_GPIO + 0x0830)
+#define S5P64XX_GPP_BASE	(S5P64XX_VA_GPIO + 0x0160)
+#define S5P64XX_GPR_BASE	(S5P64XX_VA_GPIO + 0x0290)
+#define S5P64XX_SPC_BASE	(S5P64XX_VA_GPIO + 0x01A0)
+#define S5P64XX_SPC1_BASE	(S5P64XX_VA_GPIO + 0x02B0)
+
+#define S5P64XX_EINT0CON0	(S5P64XX_VA_GPIO + 0x900)
+#define S5P64XX_EINT0FLTCON0	(S5P64XX_VA_GPIO + 0x910)
+#define S5P64XX_EINT0FLTCON1	(S5P64XX_VA_GPIO + 0x914)
+
+#define S5P64XX_EINT0MASK	(S5P64XX_VA_GPIO + 0x920)
+#define S5P64XX_EINT0PEND	(S5P64XX_VA_GPIO + 0x924)
+
+#endif /* __ASM_PLAT_S5P64XX_REGS_GPIO_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/regs-iis.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/regs-iis.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/regs-iis.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/regs-iis.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,115 @@
+/* linux/arch/arm/plat-s5p/include/plat/regs-iis.h
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S5P64XX IIS register definition
+*/
+
+#ifndef __ASM_ARCH_REGS_S5P64XX_IIS_H
+#define __ASM_ARCH_REGS_S5P64XX_IIS_H
+
+#define S5P64XX_IISCON		(0x00)
+#define S5P64XX_IISMOD		(0x04)
+#define S5P64XX_IISFIC		(0x08)
+#define S5P64XX_IISPSR		(0x0C)
+#define S5P64XX_IISTXD		(0x10)
+#define S5P64XX_IISRXD		(0x14)
+
+#define S5P64XX_IISCON_I2SACTIVE	(0x1<<0)
+#define S5P64XX_IISCON_RXDMACTIVE	(0x1<<1)
+#define S5P64XX_IISCON_TXDMACTIVE	(0x1<<2)
+#define S5P64XX_IISCON_RXCHPAUSE	(0x1<<3)
+#define S5P64XX_IISCON_TXCHPAUSE	(0x1<<4)
+#define S5P64XX_IISCON_RXDMAPAUSE	(0x1<<5)
+#define S5P64XX_IISCON_TXDMAPAUSE	(0x1<<6)
+#define S5P64XX_IISCON_FRXFULL		(0x1<<7)
+#ifdef IIS_V40
+#define S5P64XX_IISCON_FTX0FULL		(0x1<<8)
+#else
+#define S5P64XX_IISCON_FTXFULL		(0x1<<8)
+#endif
+#define S5P64XX_IISCON_FRXEMPT		(0x1<<9)
+#define S5P64XX_IISCON_FTX0EMPT		(0x1<<10)
+#define S5P64XX_IISCON_LRI		(0x1<<11)
+#ifdef IIS_V40
+#define S5P64XX_IISCON_FTX1FULL		(0x1<<12)
+#define S5P64XX_IISCON_FTX2FULL		(0x1<<13)
+#define S5P64XX_IISCON_FTX1EMPT		(0x1<<14)
+#define S5P64XX_IISCON_FTX2EMPT		(0x1<<15)
+#endif
+#define S5P64XX_IISCON_FTXURINTEN	(0x1<<16)
+#define S5P64XX_IISCON_FTXURSTATUS	(0x1<<17)
+#ifndef IIS_V40
+#define S5P6440_IISCON_FRXORINTEN	(0x1<<18)
+#define S5P6440_IISCON_FRXORSTATUS	(0x1<<19)
+#endif
+
+#define S5P64XX_IISMOD_BFSMASK		(3<<1)
+#define S5P64XX_IISMOD_32FS		(0<<1)
+#define S5P64XX_IISMOD_48FS		(1<<1)
+#define S5P64XX_IISMOD_16FS		(2<<1)
+#define S5P64XX_IISMOD_24FS		(3<<1)
+
+#define S5P64XX_IISMOD_RFSMASK		(3<<3)
+#define S5P64XX_IISMOD_256FS		(0<<3)
+#define S5P64XX_IISMOD_512FS		(1<<3)
+#define S5P64XX_IISMOD_384FS		(2<<3)
+#define S5P64XX_IISMOD_768FS		(3<<3)
+
+#define S5P64XX_IISMOD_SDFMASK		(3<<5)
+#define S5P64XX_IISMOD_IIS		(0<<5)
+#define S5P64XX_IISMOD_MSB		(1<<5)
+#define S5P64XX_IISMOD_LSB		(2<<5)
+
+#define S5P64XX_IISMOD_LRP		(1<<7)
+
+#define S5P64XX_IISMOD_TXRMASK		(3<<8)
+#define S5P64XX_IISMOD_TX		(0<<8)
+#define S5P64XX_IISMOD_RX		(1<<8)
+#define S5P64XX_IISMOD_TXRX		(2<<8)
+
+#define S5P64XX_IISMOD_IMSMASK		(3<<10)
+#define S5P64XX_IISMOD_MSTPCLK		(0<<10)
+#define S5P64XX_IISMOD_MSTCLKAUDIO	(1<<10)
+#define S5P64XX_IISMOD_SLVPCLK		(2<<10)
+#define S5P64XX_IISMOD_SLVI2SCLK	(3<<10)
+
+#define S5P64XX_IISMOD_CDCLKCON		(1<<12)
+
+#define S5P64XX_IISMOD_BLCMASK		(3<<13)
+#define S5P64XX_IISMOD_16BIT		(0<<13)
+#define S5P64XX_IISMOD_8BIT		(1<<13)
+#define S5P64XX_IISMOD_24BIT		(2<<13)
+
+#ifdef IIS_V40
+
+#define S5P64XX_IISMOD_SD1EN		(1<<16)
+#define S5P64XX_IISMOD_SD2EN		(1<<17)
+
+#define S5P64XX_IISMOD_CCD1MASK		(3<<18)
+#define S5P64XX_IISMOD_CCD1ND		(0<<18)
+#define S5P64XX_IISMOD_CCD11STD		(1<<18)
+#define S5P64XX_IISMOD_CCD12NDD		(2<<18)
+
+#define S5P64XX_IISMOD_CCD2MASK		(3<<20)
+#define S5P64XX_IISMOD_CCD2ND		(0<<20)
+#define S5P64XX_IISMOD_CCD21STD		(1<<20)
+#define S5P64XX_IISMOD_CCD22NDD		(2<<20)
+
+#endif
+
+#define S5P64XX_IISFIC_FRXCNTMSK	(0xf<<0)
+#define S5P64XX_IISFIC_RFLUSH		(1<<7)
+#define S5P64XX_IISFIC_FTX0CNTMSK	(0xf<<8)
+#define S5P64XX_IISFIC_TFLUSH		(1<<15)
+#ifdef IIS_V40
+#define S5P64XX_IISFIC_FTX1CNTMSK	(0xf<<16)
+#define S5P64XX_IISFIC_FTX2CNTMSK	(0xf<<24)
+#endif
+
+#define S5P64XX_IISPSR_PSVALA		(0x3f<<8)
+#define S5P64XX_IISPSR_PSRAEN		(1<<15)
+
+#endif /* __ASM_ARCH_REGS_S5P64XX_IIS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/regs-post.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/regs-post.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/regs-post.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/regs-post.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,230 @@
+/* linux/arch/arm/plat-s5p64xx/include/plat/regs-post.h
+ *
+ * Register definition file for Samsung Post Processor (POST) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _REGS_POST_H
+#define _REGS_POST_H
+
+#define S3C_POSTREG(x) 	(x)
+
+/*************************************************************************
+ * Register part
+ ************************************************************************/
+#define S3C_CIOYSA(__x) 			S3C_POSTREG(0x18 + (__x) * 4)
+#define S3C_CIOCBSA(__x) 			S3C_POSTREG(0x28 + (__x) * 4)
+#define S3C_CIOCRSA(__x)  			S3C_POSTREG(0x38 + (__x) * 4)
+
+#define S3C_CIGCTRL				S3C_POSTREG(0x08)	/* Global control */
+#define S3C_CIOYSA1				S3C_POSTREG(0x18)	/* Y 1st frame start address for output DMA */
+#define S3C_CIOYSA2				S3C_POSTREG(0x1c)	/* Y 2nd frame start address for output DMA */
+#define S3C_CIOYSA3				S3C_POSTREG(0x20)	/* Y 3rd frame start address for output DMA */
+#define S3C_CIOYSA4				S3C_POSTREG(0x24)	/* Y 4th frame start address for output DMA */
+#define S3C_CIOCBSA1				S3C_POSTREG(0x28)	/* Cb 1st frame start address for output DMA */
+#define S3C_CIOCBSA2				S3C_POSTREG(0x2c)	/* Cb 2nd frame start address for output DMA */
+#define S3C_CIOCBSA3				S3C_POSTREG(0x30)	/* Cb 3rd frame start address for output DMA */
+#define S3C_CIOCBSA4				S3C_POSTREG(0x34)	/* Cb 4th frame start address for output DMA */
+#define S3C_CIOCRSA1				S3C_POSTREG(0x38)	/* Cr 1st frame start address for output DMA */
+#define S3C_CIOCRSA2				S3C_POSTREG(0x3c)	/* Cr 2nd frame start address for output DMA */
+#define S3C_CIOCRSA3				S3C_POSTREG(0x40)	/* Cr 3rd frame start address for output DMA */
+#define S3C_CIOCRSA4				S3C_POSTREG(0x44)	/* Cr 4th frame start address for output DMA */
+#define S3C_CITRGFMT				S3C_POSTREG(0x48)	/* Target image format */
+#define S3C_CIOCTRL				S3C_POSTREG(0x4c)	/* Output DMA control */
+#define S3C_CISCPRERATIO			S3C_POSTREG(0x50)	/* Pre-scaler control 1 */
+#define S3C_CISCPREDST				S3C_POSTREG(0x54)	/* Pre-scaler control 2 */
+#define S3C_CISCCTRL				S3C_POSTREG(0x58)	/* Main scaler control */
+#define S3C_CITAREA				S3C_POSTREG(0x5c)	/* Target area */
+#define S3C_CISTATUS				S3C_POSTREG(0x64)	/* Status */
+#define S3C_CIIMGCPT				S3C_POSTREG(0xc0)	/* Image capture enable command */
+#define S3C_CICPTSEQ				S3C_POSTREG(0xc4)	/* Capture sequence */
+#define S3C_CIIMGEFF				S3C_POSTREG(0xd0)	/* Image effects */
+#define S3C_CIIYSA0				S3C_POSTREG(0xd4)	/* Y frame start address 0 for input DMA */
+#define S3C_CIICBSA0				S3C_POSTREG(0xd8)	/* Cb frame start address 0 for input DMA */
+#define S3C_CIICRSA0				S3C_POSTREG(0xdc)	/* Cr frame start address 0 for input DMA */
+#define S3C_CIREAL_ISIZE			S3C_POSTREG(0xf8)	/* Real input DMA image size */
+#define S3C_MSCTRL				S3C_POSTREG(0xfc)	/* Input DMA control */
+#define S3C_CIIYSA1				S3C_POSTREG(0x144)	/* Y frame start address 1 for input DMA */
+#define S3C_CIICBSA1				S3C_POSTREG(0x148)	/* Cb frame start address 1 for input DMA */
+#define S3C_CIICRSA1				S3C_POSTREG(0x14c)	/* Cr frame start address 1 for input DMA */
+#define S3C_CIOYOFF				S3C_POSTREG(0x168)	/* Output DMA Y offset */
+#define S3C_CIOCBOFF				S3C_POSTREG(0x16c)	/* Output DMA CB offset */
+#define S3C_CIOCROFF				S3C_POSTREG(0x170)	/* Output DMA CR offset */
+#define S3C_CIIYOFF				S3C_POSTREG(0x174)	/* Input DMA Y offset */
+#define S3C_CIICBOFF				S3C_POSTREG(0x178)	/* Input DMA CB offset */
+#define S3C_CIICROFF				S3C_POSTREG(0x17c)	/* Input DMA CR offset */
+#define S3C_ORGISIZE				S3C_POSTREG(0x180)	/* Input DMA original image size */
+#define S3C_ORGOSIZE				S3C_POSTREG(0x184)	/* Output DMA original image size */
+#define S3C_CIEXTEN				S3C_POSTREG(0x188)	/* Real output DMA image size */
+#define S3C_CIDMAPARAM				S3C_POSTREG(0x18c)	/* DMA parameter */
+
+/*************************************************************************
+ * Macro part
+ ************************************************************************/
+#define S3C_CITRGFMT_TARGETHSIZE(x)		((x) << 16)
+#define S3C_CITRGFMT_TARGETVSIZE(x)		((x) << 0)
+
+#define S3C_CISCPRERATIO_SHFACTOR(x)		((x) << 28)
+#define S3C_CISCPRERATIO_PREHORRATIO(x)		((x) << 16)
+#define S3C_CISCPRERATIO_PREVERRATIO(x)		((x) << 0)
+
+#define S3C_CISCPREDST_PREDSTWIDTH(x)		((x) << 16)
+#define S3C_CISCPREDST_PREDSTHEIGHT(x)		((x) << 0)
+
+#define S3C_CISCCTRL_MAINHORRATIO(x)		((x) << 16)
+#define S3C_CISCCTRL_MAINVERRATIO(x)		((x) << 0)
+
+#define S3C_CITAREA_TARGET_AREA(x)		((x) << 0)
+
+#define S3C_CISTATUS_GET_FRAME_COUNT(x)		(((x) >> 26) & 0x3)
+#define S3C_CISTATUS_GET_FRAME_END(x)		(((x) >> 17) & 0x1)
+
+#define S3C_CIREAL_ISIZE_HEIGHT(x)		((x) << 16)
+#define S3C_CIREAL_ISIZE_WIDTH(x)		((x) << 0)
+
+#define S3C_MSCTRL_SUCCESSIVE_COUNT(x)		((x) << 24)
+
+#define S3C_CIOYOFF_VERTICAL(x)			((x) << 16)
+#define S3C_CIOYOFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_CIOCBOFF_VERTICAL(x)		((x) << 16)
+#define S3C_CIOCBOFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_CIOCROFF_VERTICAL(x)		((x) << 16)
+#define S3C_CIOCROFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_CIIYOFF_VERTICAL(x)			((x) << 16)
+#define S3C_CIIYOFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_CIICBOFF_VERTICAL(x)		((x) << 16)
+#define S3C_CIICBOFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_CIICROFF_VERTICAL(x)		((x) << 16)
+#define S3C_CIICROFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_ORGISIZE_VERTICAL(x)		((x) << 16)
+#define S3C_ORGISIZE_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_ORGOSIZE_VERTICAL(x)		((x) << 16)
+#define S3C_ORGOSIZE_HORIZONTAL(x)		((x) << 0)
+
+
+/*************************************************************************
+ * Bit definition part
+ ************************************************************************/
+/* Global control register */
+#define S3C_CIGCTRL_SWRST			(1 << 31)
+#define S3C_CIGCTRL_IRQ_OVFEN			(1 << 22)
+#define S3C_CIGCTRL_IRQ_EDGE			(0 << 20)
+#define S3C_CIGCTRL_IRQ_LEVEL			(1 << 20)
+#define S3C_CIGCTRL_IRQ_CLR			(1 << 19)
+#define S3C_CIGCTRL_IRQ_DISABLE			(0 << 16)
+#define S3C_CIGCTRL_IRQ_ENABLE			(1 << 16)
+
+/* Target format register */
+#define S3C_CITRGFMT_OUTFORMAT_YCBCR420		(0 << 29)
+#define S3C_CITRGFMT_OUTFORMAT_YCBCR422		(1 << 29)
+#define S3C_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE	(2 << 29)
+#define S3C_CITRGFMT_OUTFORMAT_RGB		(3 << 29)
+
+/* Output DMA control register */
+#define S3C_CIOCTRL_ORDER2P_SHIFT		(24)
+#define S3C_CIOCTRL_ORDER2P_MASK		(3 << 24)
+#define S3C_CIOCTRL_YCBCR_3PLANE		(0 << 3)
+#define S3C_CIOCTRL_YCBCR_2PLANE		(1 << 3)
+#define S3C_CIOCTRL_YCBCR_PLANE_MASK		(1 << 3)
+#define S3C_CIOCTRL_ORDER422_MASK		(3 << 0)
+
+/* Main scaler control register */
+#define S3C_CISCCTRL_SCALEUP_H			(1 << 30)
+#define S3C_CISCCTRL_SCALEUP_V			(1 << 29)
+#define S3C_CISCCTRL_CSCR2Y_NARROW		(0 << 28)
+#define S3C_CISCCTRL_CSCR2Y_WIDE		(1 << 28)
+#define S3C_CISCCTRL_CSCY2R_NARROW		(0 << 27)
+#define S3C_CISCCTRL_CSCY2R_WIDE		(1 << 27)
+#define S3C_CISCCTRL_LCDPATHEN_FIFO		(1 << 26)
+#define S3C_CISCCTRL_PROGRESSIVE		(0 << 25)
+#define S3C_CISCCTRL_INTERLACE			(1 << 25)
+#define S3C_CISCCTRL_SCALERSTART		(1 << 15)
+#define S3C_CISCCTRL_INRGB_FMT_RGB565		(0 << 13)
+#define S3C_CISCCTRL_INRGB_FMT_RGB666		(1 << 13)
+#define S3C_CISCCTRL_INRGB_FMT_RGB888		(2 << 13)
+#define S3C_CISCCTRL_OUTRGB_FMT_RGB565		(0 << 11)
+#define S3C_CISCCTRL_OUTRGB_FMT_RGB666		(1 << 11)
+#define S3C_CISCCTRL_OUTRGB_FMT_RGB888		(2 << 11)
+#define S3C_CISCCTRL_EXTRGB_NORMAL		(0 << 10)
+#define S3C_CISCCTRL_EXTRGB_EXTENSION		(1 << 10)
+#define S3C_CISCCTRL_ONE2ONE			(1 << 9)
+
+/* Status register */
+#define S3C_CISTATUS_IMGCPTENSC			(1 << 21)
+#define S3C_CISTATUS_FRAMEEND			(1 << 17)
+
+/* Image capture enable register */
+#define S3C_CIIMGCPT_IMGCPTEN			(1 << 31)
+#define S3C_CIIMGCPT_IMGCPTEN_SC		(1 << 30)
+#define S3C_CIIMGCPT_CPT_FREN_ENABLE		(1 << 25)
+#define S3C_CIIMGCPT_CPT_FRMOD_EN		(0 << 18)
+#define S3C_CIIMGCPT_CPT_FRMOD_CNT		(1 << 18)
+
+/* Real input DMA size register */
+#define S3C_CIREAL_ISIZE_AUTOLOAD_ENABLE	(1 << 31)
+#define S3C_CIREAL_ISIZE_ADDR_CH_DISABLE	(1 << 30)
+
+/* Input DMA control register */
+#define S3C_MSCTRL_2PLANE_SHIFT			(16)
+#define S3C_MSCTRL_C_INT_IN_3PLANE		(0 << 15)
+#define S3C_MSCTRL_C_INT_IN_2PLANE		(1 << 15)
+#define S3C_MSCTRL_ORDER422_CRYCBY		(0 << 4)
+#define S3C_MSCTRL_ORDER422_YCRYCB		(1 << 4)
+#define S3C_MSCTRL_ORDER422_CBYCRY		(2 << 4)
+#define S3C_MSCTRL_ORDER422_YCBYCR		(3 << 4)
+#define S3C_MSCTRL_INFORMAT_YCBCR420		(0 << 1)
+#define S3C_MSCTRL_INFORMAT_YCBCR422		(1 << 1)
+#define S3C_MSCTRL_INFORMAT_YCBCR422_1PLANE	(2 << 1)
+#define S3C_MSCTRL_INFORMAT_RGB			(3 << 1)
+#define S3C_MSCTRL_ENVID			(1 << 0)
+
+/* DMA parameter register */
+#define S3C_CIDMAPARAM_R_MODE_LINEAR		(0 << 29)
+#define S3C_CIDMAPARAM_R_MODE_CONFTILE		(1 << 29)
+#define S3C_CIDMAPARAM_R_MODE_16X16		(2 << 29)
+#define S3C_CIDMAPARAM_R_MODE_64X32		(3 << 29)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_64		(0 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_128		(1 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_256		(2 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_512		(3 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_1024	(4 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_2048	(5 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_4096	(6 << 24)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_1		(0 << 20)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_2		(1 << 20)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_4		(2 << 20)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_8		(3 << 20)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_16		(4 << 20)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_32		(5 << 20)
+#define S3C_CIDMAPARAM_W_MODE_LINEAR		(0 << 13)
+#define S3C_CIDMAPARAM_W_MODE_CONFTILE		(1 << 13)
+#define S3C_CIDMAPARAM_W_MODE_16X16		(2 << 13)
+#define S3C_CIDMAPARAM_W_MODE_64X32		(3 << 13)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_64		(0 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_128		(1 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_256		(2 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_512		(3 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_1024	(4 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_2048	(5 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_4096	(6 << 8)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_1		(0 << 4)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_2		(1 << 4)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_4		(2 << 4)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_8		(3 << 4)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_16		(4 << 4)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_32		(5 << 4)
+
+#endif /* _REGS_POST_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/regs-pp.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/regs-pp.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/regs-pp.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/regs-pp.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,377 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/regs-fimc.h
+ *
+ * Register definition file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _REGS_FIMC_H
+#define _REGS_FIMC_H
+
+#define S3C_FIMCREG(x) 	(x)
+
+/*************************************************************************
+ * Register part
+ ************************************************************************/
+#define S3C_CICOYSA(__x) 			S3C_FIMCREG(0x18 + (__x) * 4)
+#define S3C_CICOCBSA(__x) 			S3C_FIMCREG(0x28 + (__x) * 4)
+#define S3C_CICOCRSA(__x)  			S3C_FIMCREG(0x38 + (__x) * 4)
+#define S3C_CIPRYSA(__x) 			S3C_FIMCREG(0x6c + (__x) * 4)
+#define S3C_CIPRCBSA(__x) 			S3C_FIMCREG(0x7c + (__x) * 4)
+#define S3C_CIPRCRSA(__x)  			S3C_FIMCREG(0x8c + (__x) * 4)
+
+#define S3C_CISRCFMT				S3C_FIMCREG(0x00)	/* Input source format */
+#define S3C_CIWDOFST				S3C_FIMCREG(0x04)	/* Window offset */
+#define S3C_CIGCTRL				S3C_FIMCREG(0x08)	/* Global control */
+#define S3C_CIWDOFST2				S3C_FIMCREG(0x14)	/* Window offset 2 */
+#define S3C_CICOYSA1				S3C_FIMCREG(0x18)	/* Y 1st frame start address for output DMA */
+#define S3C_CICOYSA2				S3C_FIMCREG(0x1c)	/* Y 2nd frame start address for output DMA */
+#define S3C_CICOYSA3				S3C_FIMCREG(0x20)	/* Y 3rd frame start address for output DMA */
+#define S3C_CICOYSA4				S3C_FIMCREG(0x24)	/* Y 4th frame start address for output DMA */
+#define S3C_CICOCBSA1				S3C_FIMCREG(0x28)	/* Cb 1st frame start address for output DMA */
+#define S3C_CICOCBSA2				S3C_FIMCREG(0x2c)	/* Cb 2nd frame start address for output DMA */
+#define S3C_CICOCBSA3				S3C_FIMCREG(0x30)	/* Cb 3rd frame start address for output DMA */
+#define S3C_CICOCBSA4				S3C_FIMCREG(0x34)	/* Cb 4th frame start address for output DMA */
+#define S3C_CICOCRSA1				S3C_FIMCREG(0x38)	/* Cr 1st frame start address for output DMA */
+#define S3C_CICOCRSA2				S3C_FIMCREG(0x3c)	/* Cr 2nd frame start address for output DMA */
+#define S3C_CICOCRSA3				S3C_FIMCREG(0x40)	/* Cr 3rd frame start address for output DMA */
+#define S3C_CICOCRSA4				S3C_FIMCREG(0x44)	/* Cr 4th frame start address for output DMA */
+#define S3C_CICOTRGFMT				S3C_FIMCREG(0x48)	/* Target image format */
+#define S3C_CICOCTRL				S3C_FIMCREG(0x4c)	/* Output DMA control */
+#define S3C_CICOSCPRERATIO			S3C_FIMCREG(0x50)	/* Pre-scaler control 1 */
+#define S3C_CICOSCPREDST			S3C_FIMCREG(0x54)	/* Pre-scaler control 2 */
+#define S3C_CICOSCCTRL				S3C_FIMCREG(0x58)	/* Main scaler control */
+#define S3C_CICOTAREA				S3C_FIMCREG(0x5c)	/* Target area */
+#define S3C_CICOSTATUS				S3C_FIMCREG(0x64)	/* Status */
+#define S3C_CIPRYSA1				S3C_FIMCREG(0x6c)	/* Y 1st frame start address for output DMA */
+#define S3C_CIPRYSA2				S3C_FIMCREG(0x70)	/* Y 2nd frame start address for output DMA */
+#define S3C_CIPRYSA3				S3C_FIMCREG(0x74)	/* Y 3rd frame start address for output DMA */
+#define S3C_CIPRYSA4				S3C_FIMCREG(0x78)	/* Y 4th frame start address for output DMA */
+#define S3C_CIPRCBSA1				S3C_FIMCREG(0x7c)	/* Cb 1st frame start address for output DMA */
+#define S3C_CIPRCBSA2				S3C_FIMCREG(0x80)	/* Cb 2nd frame start address for output DMA */
+#define S3C_CIPRCBSA3				S3C_FIMCREG(0x84)	/* Cb 3rd frame start address for output DMA */
+#define S3C_CIPRCBSA4				S3C_FIMCREG(0x88)	/* Cb 4th frame start address for output DMA */
+#define S3C_CIPRCRSA1				S3C_FIMCREG(0x8c)	/* Cr 1st frame start address for output DMA */
+#define S3C_CIPRCRSA2				S3C_FIMCREG(0x90)	/* Cr 2nd frame start address for output DMA */
+#define S3C_CIPRCRSA3				S3C_FIMCREG(0x94)	/* Cr 3rd frame start address for output DMA */
+#define S3C_CIPRCRSA4				S3C_FIMCREG(0x98)	/* Cr 4th frame start address for output DMA */
+#define S3C_CIPRTRGFMT				S3C_FIMCREG(0x9c)	/* Target image format */
+#define S3C_CIPRCTRL				S3C_FIMCREG(0xa0)	/* Output DMA control */
+#define S3C_CIPRSCPRERATIO			S3C_FIMCREG(0xa4)	/* Pre-scaler control 1 */
+#define S3C_CIPRSCPREDST			S3C_FIMCREG(0xa8)	/* Pre-scaler control 2 */
+#define S3C_CIPRSCCTRL				S3C_FIMCREG(0xac)	/* Main scaler control */
+#define S3C_CIPRTAREA				S3C_FIMCREG(0xb0)	/* Target area */
+#define S3C_CIPRSTATUS				S3C_FIMCREG(0xb8)	/* Status */
+#define S3C_CIIMGCPT				S3C_FIMCREG(0xc0)	/* Image capture enable command */
+#define S3C_CICPTSEQ				S3C_FIMCREG(0xc4)	/* Capture sequence */
+#define S3C_CIIMGEFF				S3C_FIMCREG(0xd0)	/* Image effects */
+#define S3C_MSCOY0SA				S3C_FIMCREG(0xd4)	/* Y frame start address for input DMA */
+#define S3C_MSCOCB0SA				S3C_FIMCREG(0xd8)	/* Cb frame start address for input DMA */
+#define S3C_MSCOCR0SA				S3C_FIMCREG(0xdc)	/* Cr frame start address for input DMA */
+#define S3C_MSCOY0END				S3C_FIMCREG(0xe0)	/* Y frame end address for input DMA */
+#define S3C_MSCOCB0END				S3C_FIMCREG(0xe4)	/* Cb frame end address for input DMA */
+#define S3C_MSCOCR0END				S3C_FIMCREG(0xe8)	/* Cr frame end address for input DMA */
+#define S3C_MSCOYOFF				S3C_FIMCREG(0xec)	/* Y offset */
+#define S3C_MSCOCBOFF				S3C_FIMCREG(0xf0)	/* CB offset */
+#define S3C_MSCOCROFF				S3C_FIMCREG(0xf4)	/* CR offset */
+#define S3C_MSCOWIDTH				S3C_FIMCREG(0xf8)	/* Real input DMA image size */
+#define S3C_MSCOCTRL				S3C_FIMCREG(0xfc)	/* Input DMA control */
+#define S3C_MSPRY0SA				S3C_FIMCREG(0x100)	/* Y frame start address for input DMA */
+#define S3C_MSPRCB0SA				S3C_FIMCREG(0x104)	/* Cb frame start address for input DMA */
+#define S3C_MSPRCR0SA				S3C_FIMCREG(0x108)	/* Cr frame start address for input DMA */
+#define S3C_MSPRY0END				S3C_FIMCREG(0x10c)	/* Y frame end address for input DMA */
+#define S3C_MSPRCB0END				S3C_FIMCREG(0x110)	/* Cb frame end address for input DMA */
+#define S3C_MSPRCR0END				S3C_FIMCREG(0x114)	/* Cr frame end address for input DMA */
+#define S3C_MSPRYOFF				S3C_FIMCREG(0x118)	/* Y offset */
+#define S3C_MSPRCBOFF				S3C_FIMCREG(0x11c)	/* CB offset */
+#define S3C_MSPRCROFF				S3C_FIMCREG(0x120)	/* CR offset */
+#define S3C_MSPRWIDTH				S3C_FIMCREG(0x124)	/* Real input DMA image size */
+#define S3C_MSPRCTRL				S3C_FIMCREG(0x128)	/* Input DMA control */
+#define S3C_CICOSCOSY				S3C_FIMCREG(0x12c)
+#define S3C_CICOSCOSCB				S3C_FIMCREG(0x130)
+#define S3C_CICOSCOSCR				S3C_FIMCREG(0x134)
+#define S3C_CIPRSPRSY				S3C_FIMCREG(0x138)
+#define S3C_CIPRSPRSCB				S3C_FIMCREG(0x13c)
+#define S3C_CIPRSPRSCR				S3C_FIMCREG(0x140)
+
+/*************************************************************************
+ * Macro part
+ ************************************************************************/
+#define S3C_CISRCFMT_SOURCEHSIZE(x)		((x) << 16)
+#define S3C_CISRCFMT_SOURCEVSIZE(x)		((x) << 0)
+
+#define S3C_CIWDOFST_WINHOROFST(x)		((x) << 16)
+#define S3C_CIWDOFST_WINVEROFST(x)		((x) << 0)
+
+#define S3C_CIWDOFST2_WINHOROFST2(x)		((x) << 16)
+#define S3C_CIWDOFST2_WINVEROFST2(x)		((x) << 0)
+
+#define S3C_CICOTRGFMT_TARGETHSIZE(x)		((x) << 16)
+#define S3C_CICOTRGFMT_TARGETVSIZE(x)		((x) << 0)
+
+#define S3C_CICOCTRL_YBURST1(x)			((x) << 19)
+#define S3C_CICOCTRL_YBURST2(x)			((x) << 14)
+#define S3C_CICOCTRL_CBURST1(x)			((x) << 9)
+#define S3C_CICOCTRL_CBURST2(x)			((x) << 4)
+
+#define S3C_CICOSCPRERATIO_SHFACTOR(x)		((x) << 28)
+#define S3C_CICOSCPRERATIO_PREHORRATIO(x)	((x) << 16)
+#define S3C_CICOSCPRERATIO_PREVERRATIO(x)	((x) << 0)
+
+#define S3C_CICOSCPREDST_PREDSTWIDTH(x)		((x) << 16)
+#define S3C_CICOSCPREDST_PREDSTHEIGHT(x)	((x) << 0)
+
+#define S3C_CICOSCCTRL_MAINHORRATIO(x)		((x) << 16)
+#define S3C_CICOSCCTRL_MAINVERRATIO(x)		((x) << 0)
+
+#define S3C_CICOTAREA_TARGET_AREA(x)		((x) << 0)
+
+#define S3C_CICOSTATUS_GET_FRAME_COUNT(x)	(((x) >> 26) & 0x3)
+#define S3C_CICOSTATUS_GET_FRAME_END(x)		(((x) >> 17) & 0x1)
+
+#define S3C_CIPRTRGFMT_TARGETHSIZE(x)		((x) << 16)
+#define S3C_CIPRTRGFMT_TARGETVSIZE(x)		((x) << 0)
+
+#define S3C_CIPRCTRL_YBURST1(x)			((x) << 19)
+#define S3C_CIPRCTRL_YBURST2(x)			((x) << 14)
+#define S3C_CIPRCTRL_CBURST1(x)			((x) << 9)
+#define S3C_CIPRCTRL_CBURST2(x)			((x) << 4)
+
+#define S3C_CIPRSCPRERATIO_SHFACTOR(x)		((x) << 28)
+#define S3C_CIPRSCPRERATIO_PREHORRATIO(x)	((x) << 16)
+#define S3C_CIPRSCPRERATIO_PREVERRATIO(x)	((x) << 0)
+
+#define S3C_CIPRSCPREDST_PREDSTWIDTH(x)		((x) << 16)
+#define S3C_CIPRSCPREDST_PREDSTHEIGHT(x)	((x) << 0)
+
+#define S3C_CIPRSCCTRL_MAINHORRATIO(x)		((x) << 16)
+#define S3C_CIPRSCCTRL_MAINVERRATIO(x)		((x) << 0)
+
+#define S3C_CIPRTAREA_TARGET_AREA(x)		((x) << 0)
+
+#define S3C_CIPRSTATUS_GET_FRAME_COUNT(x)	(((x) >> 26) & 0x3)
+#define S3C_CIPRSTATUS_GET_FRAME_END(x)		(((x) >> 19) & 0x1)
+
+#define S3C_CIIMGEFF_PAT_CB(x)			((x) << 13)
+#define S3C_CIIMGEFF_PAT_CR(x)			((x) << 0)
+
+#define S3C_MSCO_HEIGHT(x)			((x) << 16)
+#define S3C_MSCO_WIDTH(x)			((x) << 0)
+
+#define S3C_MSPR_HEIGHT(x)			((x) << 16)
+#define S3C_MSPR_WIDTH(x)			((x) << 0)
+
+/*************************************************************************
+ * Bit definition part
+ ************************************************************************/
+/* Source format register */
+#define S3C_CISRCFMT_ITU601_8BIT		(1 << 31)
+#define S3C_CISRCFMT_ITU656_8BIT		(0 << 31)
+#define S3C_CISRCFMT_ORDER422_YCBYCR		(0 << 14)
+#define S3C_CISRCFMT_ORDER422_YCRYCB		(1 << 14)
+#define S3C_CISRCFMT_ORDER422_CBYCRY		(2 << 14)
+#define S3C_CISRCFMT_ORDER422_CRYCBY		(3 << 14)
+
+/* Window offset register */
+#define S3C_CIWDOFST_WINOFSEN			(1 << 31)
+#define S3C_CIWDOFST_CLROVCOFIY			(1 << 30)
+#define S3C_CIWDOFST_CLROVRLB_PR		(1 << 28)
+#define S3C_CIWDOFST_CLROVPRFIY			(1 << 27)
+#define S3C_CIWDOFST_CLROVCOFICB		(1 << 15)
+#define S3C_CIWDOFST_CLROVCOFICR		(1 << 14)
+#define S3C_CIWDOFST_CLROVPRFICB		(1 << 13)
+#define S3C_CIWDOFST_CLROVPRFICR		(1 << 12)
+#define S3C_CIWDOFST_WINHOROFST_MASK		(0x7ff << 16)
+#define S3C_CIWDOFST_WINVEROFST_MASK		(0x7ff << 0)
+
+/* Global control register */
+#define S3C_CIGCTRL_SWRST			(1 << 31)
+#define S3C_CIGCTRL_CAMRST			(1 << 30)
+#define S3C_CIGCTRL_TESTPATTERN_NORMAL		(0 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_COLOR_BAR	(1 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_HOR_INC		(2 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_VER_INC		(3 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_MASK		(3 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_SHIFT		(27)
+#define S3C_CIGCTRL_INVPOLPCLK			(1 << 26)
+#define S3C_CIGCTRL_INVPOLVSYNC			(1 << 25)
+#define S3C_CIGCTRL_INVPOLHREF			(1 << 24)
+#define S3C_CIGCTRL_IRQ_OVFEN			(1 << 22)
+#define S3C_CIGCTRL_HREF_MASK			(1 << 21)
+#define S3C_CIGCTRL_IRQ_EDGE			(0 << 20)
+#define S3C_CIGCTRL_IRQ_LEVEL			(1 << 20)
+#define S3C_CIGCTRL_IRQ_CLR_C			(1 << 19)
+#define S3C_CIGCTRL_IRQ_CLR_P			(1 << 18)
+#define S3C_CIGCTRL_PROGRESSIVE			(0 << 0)
+#define S3C_CIGCTRL_INTERLACE			(1 << 0)
+
+/* Window offset2 register */
+#define S3C_CIWDOFST_WINHOROFST2_MASK		(0xfff << 16)
+#define S3C_CIWDOFST_WINVEROFST2_MASK		(0xfff << 16)
+
+/* Target format register */
+#define S3C_CICOTRGFMT_OUTFORMAT_YCBCR420	(0 << 29)
+#define S3C_CICOTRGFMT_OUTFORMAT_YCBCR422	(1 << 29)
+#define S3C_CICOTRGFMT_OUTFORMAT_YCBCR422I	(2 << 29)
+#define S3C_CICOTRGFMT_OUTFORMAT_RGB		(3 << 29)
+#define S3C_CICOTRGFMT_FLIP_SHIFT		(14)
+#define S3C_CICOTRGFMT_FLIP_NORMAL		(0 << 14)
+#define S3C_CICOTRGFMT_FLIP_X_MIRROR		(1 << 14)
+#define S3C_CICOTRGFMT_FLIP_Y_MIRROR		(2 << 14)
+#define S3C_CICOTRGFMT_FLIP_180			(3 << 14)
+#define S3C_CICOTRGFMT_FLIP_MASK		(3 << 14)
+
+/* Output DMA control register */
+#define S3C_CICOCTRL_BURST_MASK			(0xfffff << 4)
+#define S3C_CICOCTRL_LASTIRQ_ENABLE		(1 << 2)
+#define S3C_CICOCTRL_ORDER422_MASK		(3 << 0)
+
+/* Main scaler control register */
+#define S3C_CICOSCCTRL_SCALERBYPASS		(1 << 31)
+#define S3C_CICOSCCTRL_SCALEUP_H		(1 << 30)
+#define S3C_CICOSCCTRL_SCALEUP_V		(1 << 29)
+#define S3C_CICOSCCTRL_CSCR2Y_NARROW		(0 << 28)
+#define S3C_CICOSCCTRL_CSCR2Y_WIDE		(1 << 28)
+#define S3C_CICOSCCTRL_CSCY2R_NARROW		(0 << 27)
+#define S3C_CICOSCCTRL_CSCY2R_WIDE		(1 << 27)
+#define S3C_CICOSCCTRL_LCDPATHEN_FIFO		(1 << 26)
+#define S3C_CICOSCCTRL_PROGRESSIVE		(0 << 25)
+#define S3C_CICOSCCTRL_INTERLACE		(1 << 25)
+#define S3C_CICOSCCTRL_SCALERSTART		(1 << 15)
+#define S3C_CICOSCCTRL_INRGB_FMT_RGB565		(0 << 13)
+#define S3C_CICOSCCTRL_INRGB_FMT_RGB666		(1 << 13)
+#define S3C_CICOSCCTRL_INRGB_FMT_RGB888		(2 << 13)
+#define S3C_CICOSCCTRL_OUTRGB_FMT_RGB565	(0 << 11)
+#define S3C_CICOSCCTRL_OUTRGB_FMT_RGB666	(1 << 11)
+#define S3C_CICOSCCTRL_OUTRGB_FMT_RGB888	(2 << 11)
+#define S3C_CICOSCCTRL_EXTRGB_NORMAL		(0 << 10)
+#define S3C_CICOSCCTRL_EXTRGB_EXTENSION		(1 << 10)
+#define S3C_CICOSCCTRL_ONE2ONE			(1 << 9)
+
+/* Status register */
+#define S3C_CICOSTATUS_OVFIY			(1 << 31)
+#define S3C_CICOSTATUS_OVFICB			(1 << 30)
+#define S3C_CICOSTATUS_OVFICR			(1 << 29)
+#define S3C_CICOSTATUS_VSYNC			(1 << 28)
+#define S3C_CICOSTATUS_WINOFSTEN		(1 << 25)
+#define S3C_CICOSTATUS_IMGCPTEN			(1 << 22)
+#define S3C_CICOSTATUS_IMGCPTENSC		(1 << 21)
+#define S3C_CICOSTATUS_VSYNC_A			(1 << 20)
+#define S3C_CICOSTATUS_FRAMEEND			(1 << 17)
+
+/* Target format register */
+#define S3C_CIPRTRGFMT_OUTFORMAT_YCBCR420	(0 << 29)
+#define S3C_CIPRTRGFMT_OUTFORMAT_YCBCR422	(1 << 29)
+#define S3C_CIPRTRGFMT_OUTFORMAT_YCBCR422I	(2 << 29)
+#define S3C_CIPRTRGFMT_OUTFORMAT_RGB		(3 << 29)
+#define S3C_CIPRTRGFMT_FLIP_SHIFT		(14)
+#define S3C_CIPRTRGFMT_FLIP_NORMAL		(0 << 14)
+#define S3C_CIPRTRGFMT_FLIP_X_MIRROR		(1 << 14)
+#define S3C_CIPRTRGFMT_FLIP_Y_MIRROR		(2 << 14)
+#define S3C_CIPRTRGFMT_FLIP_180			(3 << 14)
+#define S3C_CIPRTRGFMT_FLIP_MASK		(3 << 14)
+#define S3C_CIPRTRGFMT_ROT90_CLOCKWISE		(1 << 13)
+
+/* Output DMA control register */
+#define S3C_CIPRCTRL_BURST_MASK			(0xfffff << 4)
+#define S3C_CIPRCTRL_LASTIRQ_ENABLE		(1 << 2)
+#define S3C_CIPRCTRL_ORDER422_MASK		(3 << 0)
+
+/* Main scaler control register */
+#define S3C_CIPRSCCTRL_SCALERBYPASS		(1 << 31)
+#define S3C_CIPRSCCTRL_SCALEUP_H		(1 << 30)
+#define S3C_CIPRSCCTRL_SCALEUP_V		(1 << 29)
+#define S3C_CIPRSCCTRL_CSCR2Y_NARROW		(0 << 28)
+#define S3C_CIPRSCCTRL_CSCR2Y_WIDE		(1 << 28)
+#define S3C_CIPRSCCTRL_CSCY2R_NARROW		(0 << 27)
+#define S3C_CIPRSCCTRL_CSCY2R_WIDE		(1 << 27)
+#define S3C_CIPRSCCTRL_LCDPATHEN_FIFO		(1 << 26)
+#define S3C_CIPRSCCTRL_PROGRESSIVE		(0 << 25)
+#define S3C_CIPRSCCTRL_INTERLACE		(1 << 25)
+#define S3C_CIPRSCCTRL_SCALERSTART		(1 << 15)
+#define S3C_CIPRSCCTRL_INRGB_FMT_RGB565		(0 << 13)
+#define S3C_CIPRSCCTRL_INRGB_FMT_RGB666		(1 << 13)
+#define S3C_CIPRSCCTRL_INRGB_FMT_RGB888		(2 << 13)
+#define S3C_CIPRSCCTRL_OUTRGB_FMT_RGB565	(0 << 11)
+#define S3C_CIPRSCCTRL_OUTRGB_FMT_RGB666	(1 << 11)
+#define S3C_CIPRSCCTRL_OUTRGB_FMT_RGB888	(2 << 11)
+#define S3C_CIPRSCCTRL_EXTRGB_NORMAL		(0 << 10)
+#define S3C_CIPRSCCTRL_EXTRGB_EXTENSION		(1 << 10)
+#define S3C_CIPRSCCTRL_ONE2ONE			(1 << 9)
+
+/* Status register */
+#define S3C_CIPRSTATUS_OVFIY			(1 << 31)
+#define S3C_CIPRSTATUS_OVFICB			(1 << 30)
+#define S3C_CIPRSTATUS_OVFICR			(1 << 29)
+#define S3C_CIPRSTATUS_VSYNC			(1 << 28)
+#define S3C_CIPRSTATUS_WINOFSTEN		(1 << 25)
+#define S3C_CIPRSTATUS_IMGCPTEN			(1 << 22)
+#define S3C_CIPRSTATUS_IMGCPTENSC		(1 << 21)
+#define S3C_CIPRSTATUS_VSYNC_A			(1 << 20)
+#define S3C_CIPRSTATUS_FRAMEEND			(1 << 19)
+
+/* Image capture enable register */
+#define S3C_CIIMGCPT_IMGCPTEN			(1 << 31)
+#define S3C_CIIMGCPT_IMGCPTEN_COSC		(1 << 30)
+#define S3C_CIIMGCPT_IMGCPTEN_PRSC		(1 << 29)
+#define S3C_CIIMGCPT_CPT_FREN_ENABLE_CO		(1 << 25)
+#define S3C_CIIMGCPT_CPT_FREN_ENABLE_PR		(1 << 24)
+#define S3C_CIIMGCPT_CPT_FRMOD_EN		(0 << 18)
+#define S3C_CIIMGCPT_CPT_FRMOD_CNT		(1 << 18)
+
+/* Image effects register */
+#define S3C_CIIMGEFF_IE_DISABLE_PR		(0 << 31)
+#define S3C_CIIMGEFF_IE_ENABLE_PR		(1 << 31)
+#define S3C_CIIMGEFF_IE_DISABLE_CO		(0 << 30)
+#define S3C_CIIMGEFF_IE_ENABLE_CO		(1 << 30)
+#define S3C_CIIMGEFF_IE_SC_BEFORE		(0 << 29)
+#define S3C_CIIMGEFF_IE_SC_AFTER		(1 << 29)
+#define S3C_CIIMGEFF_FIN_BYPASS			(0 << 26)
+#define S3C_CIIMGEFF_FIN_ARBITRARY		(1 << 26)
+#define S3C_CIIMGEFF_FIN_NEGATIVE		(2 << 26)
+#define S3C_CIIMGEFF_FIN_ARTFREEZE		(3 << 26)
+#define S3C_CIIMGEFF_FIN_EMBOSSING		(4 << 26)
+#define S3C_CIIMGEFF_FIN_SILHOUETTE		(5 << 26)
+#define S3C_CIIMGEFF_FIN_MASK			(7 << 26)
+#define S3C_CIIMGEFF_PAT_CBCR_MASK		((0xff < 13) | (0xff < 0))
+
+/* Real input DMA size register */
+#define S3C_MSCOWIDTH_AUTOLOAD_ENABLE		(1 << 31)
+
+/* Input DMA control register */
+#define S3C_MSCOCTRL_ORDER422_YCBYCR		(0 << 4)
+#define S3C_MSCOCTRL_ORDER422_YCRYCB		(1 << 4)
+#define S3C_MSCOCTRL_ORDER422_CBYCRY		(2 << 4)
+#define S3C_MSCOCTRL_ORDER422_CRYCBY		(3 << 4)
+#define S3C_MSCOCTRL_INPUT_EXTCAM		(0 << 3)
+#define S3C_MSCOCTRL_INPUT_MEMORY		(1 << 3)
+#define S3C_MSCOCTRL_INPUT_MASK			(1 << 3)
+#define S3C_MSCOCTRL_INFORMAT_YCBCR420		(0 << 1)
+#define S3C_MSCOCTRL_INFORMAT_YCBCR422		(1 << 1)
+#define S3C_MSCOCTRL_INFORMAT_YCBCR422I		(2 << 1)
+#define S3C_MSCOCTRL_INFORMAT_RGB		(3 << 1)
+#define S3C_MSCOCTRL_ENVID			(1 << 0)
+
+/* Real input DMA size register */
+#define S3C_MSPRWIDTH_AUTOLOAD_ENABLE		(1 << 31)
+
+/* Input DMA control register */
+#define S3C_MSPRCTRL_ORDER422_YCBYCR		(0 << 4)
+#define S3C_MSPRCTRL_ORDER422_YCRYCB		(1 << 4)
+#define S3C_MSPRCTRL_ORDER422_CBYCRY		(2 << 4)
+#define S3C_MSPRCTRL_ORDER422_CRYCBY		(3 << 4)
+#define S3C_MSPRCTRL_INPUT_EXTCAM		(0 << 3)
+#define S3C_MSPRCTRL_INPUT_MEMORY		(1 << 3)
+#define S3C_MSPRCTRL_INPUT_MASK			(1 << 3)
+#define S3C_MSPRCTRL_INFORMAT_YCBCR420		(0 << 1)
+#define S3C_MSPRCTRL_INFORMAT_YCBCR422		(1 << 1)
+#define S3C_MSPRCTRL_INFORMAT_YCBCR422I		(2 << 1)
+#define S3C_MSPRCTRL_INFORMAT_RGB		(3 << 1)
+#define S3C_MSPRCTRL_ENVID			(1 << 0)
+
+#endif /* _REGS_FIMC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/s5p6440.h linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/s5p6440.h
--- linux-2.6.28/arch/arm/plat-s5p64xx/include/plat/s5p6440.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/include/plat/s5p6440.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,33 @@
+/* arch/arm/plat-s5p64xx/include/plat/s5p6440.h
+ *
+ * Copyright 2008 Openmoko,  Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Header file for s5p6440 cpu support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifdef CONFIG_CPU_S5P6440
+
+extern void s5p6440_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
+extern void s5p6440_register_clocks(void);
+extern void s5p6440_setup_clocks(void);
+
+extern  int s5p6440_init(void);
+extern void s5p6440_init_irq(void);
+extern void s5p6440_map_io(void);
+extern void s5p6440_init_clocks(int xtal);
+
+#define s5p6440_init_uarts s5p6440_common_init_uarts
+
+#else
+#define s5p6440_init_clocks NULL
+#define s5p6440_init_uarts NULL
+#define s5p6440_map_io NULL
+#define s5p6440_init NULL
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/irq-eint.c linux-2.6.28.6/arch/arm/plat-s5p64xx/irq-eint.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/irq-eint.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/irq-eint.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,197 @@
+/* arch/arm/plat-s5p64xx/irq-eint.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5P64XX - Interrupt handling for IRQ_EINT(x)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/io.h>
+
+#include <asm/hardware/vic.h>
+
+#include <plat/regs-irqtype.h>
+
+#include <mach/map.h>
+#include <plat/cpu.h>
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-n.h>
+
+
+/* GPIO is 0x7F008xxx, */
+#define S5P64XX_GPIOREG(x)	(S5P64XX_VA_GPIO + (x))
+
+#define S5P64XX_EINT0CON0	S5P64XX_GPIOREG(0x900)
+#define S5P64XX_EINT0FLTCON0	S5P64XX_GPIOREG(0x910)
+#define S5P64XX_EINT0FLTCON1	S5P64XX_GPIOREG(0x914)
+
+#define S5P64XX_EINT0MASK	S5P64XX_GPIOREG(0x920)
+#define S5P64XX_EINT0PEND	S5P64XX_GPIOREG(0x924)
+
+
+#define eint_offset(irq)	((irq) - IRQ_EINT(0))
+#define eint_irq_to_bit(irq)	(1 << eint_offset(irq))
+
+static inline void s3c_irq_eint_mask(unsigned int irq)
+{
+	u32 mask;
+
+	mask = __raw_readl(S5P64XX_EINT0MASK);
+	mask |= eint_irq_to_bit(irq);
+	__raw_writel(mask, S5P64XX_EINT0MASK);
+}
+
+static void s3c_irq_eint_unmask(unsigned int irq)
+{
+	u32 mask;
+
+	mask = __raw_readl(S5P64XX_EINT0MASK);
+	mask &= ~(eint_irq_to_bit(irq));
+	__raw_writel(mask, S5P64XX_EINT0MASK);
+}
+
+static inline void s3c_irq_eint_ack(unsigned int irq)
+{
+	__raw_writel(eint_irq_to_bit(irq), S5P64XX_EINT0PEND);
+}
+
+static void s3c_irq_eint_maskack(unsigned int irq)
+{
+	/* compiler should in-line these */
+	s3c_irq_eint_mask(irq);
+	s3c_irq_eint_ack(irq);
+}
+
+static int s3c_irq_eint_set_type(unsigned int irq, unsigned int type)
+{
+	int offs = eint_offset(irq);
+	int shift;
+	u32 ctrl, mask;
+	u32 newvalue = 0;
+	void __iomem *reg;
+
+	if (offs > 15)
+		return -EINVAL;
+	else
+		reg = S5P64XX_EINT0CON0;
+
+	switch (type) {
+	case IRQ_TYPE_NONE:
+		printk(KERN_WARNING "No edge setting!\n");
+		break;
+
+	case IRQ_TYPE_EDGE_RISING:
+		newvalue = S3C2410_EXTINT_RISEEDGE;
+		break;
+
+	case IRQ_TYPE_EDGE_FALLING:
+		newvalue = S3C2410_EXTINT_FALLEDGE;
+		break;
+
+	case IRQ_TYPE_EDGE_BOTH:
+		newvalue = S3C2410_EXTINT_BOTHEDGE;
+		break;
+
+	case IRQ_TYPE_LEVEL_LOW:
+		newvalue = S3C2410_EXTINT_LOWLEV;
+		break;
+
+	case IRQ_TYPE_LEVEL_HIGH:
+		newvalue = S3C2410_EXTINT_HILEV;
+		break;
+
+	default:
+		printk(KERN_ERR "No such irq type %d", type);
+		return -1;
+	}
+
+	shift = (offs / 2) * 4;
+	mask = 0x7 << shift;
+
+	ctrl = __raw_readl(reg);
+	ctrl &= ~mask;
+	ctrl |= newvalue << shift;
+	__raw_writel(ctrl, reg);
+
+	s3c_gpio_cfgpin(S5P64XX_GPN(offs), 0x2 << (offs * 2));
+
+	return 0;
+}
+
+static struct irq_chip s3c_irq_eint = {
+	.name		= "s3c-eint",
+	.mask		= s3c_irq_eint_mask,
+	.unmask		= s3c_irq_eint_unmask,
+	.mask_ack	= s3c_irq_eint_maskack,
+	.ack		= s3c_irq_eint_ack,
+	.set_type	= s3c_irq_eint_set_type,
+};
+
+/* s3c_irq_demux_eint
+ *
+ * This function demuxes the IRQ from the group0 external interrupts,
+ * from IRQ_EINT(0) to IRQ_EINT(15). It is designed to be inlined into
+ * the specific handlers s3c_irq_demux_eintX_Y.
+ */
+static inline void s3c_irq_demux_eint(unsigned int start, unsigned int end)
+{
+	u32 status = __raw_readl(S5P64XX_EINT0PEND);
+	u32 mask = __raw_readl(S5P64XX_EINT0MASK);
+	unsigned int irq;
+
+	status &= ~mask;
+	status >>= start;
+	status &= (1 << (end - start + 1)) - 1;
+
+	for (irq = IRQ_EINT(start); irq <= IRQ_EINT(end); irq++) {
+		if (status & 1)
+			generic_handle_irq(irq);
+
+		status >>= 1;
+	}
+}
+
+static void s3c_irq_demux_eint0_3(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_eint(0, 3);
+}
+
+static void s3c_irq_demux_eint4_11(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_eint(4, 11);
+}
+
+static void s3c_irq_demux_eint12_15(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_eint(12, 15);
+}
+
+int __init s5p64xx_init_irq_eint(void)
+{
+	int irq;
+
+	for (irq = IRQ_EINT(0); irq <= IRQ_EINT(15); irq++) {
+		set_irq_chip(irq, &s3c_irq_eint);
+		set_irq_handler(irq, handle_level_irq);
+		set_irq_flags(irq, IRQF_VALID);
+	}
+
+	set_irq_chained_handler(IRQ_EINT0_3, s3c_irq_demux_eint0_3);
+	set_irq_chained_handler(IRQ_EINT4_11, s3c_irq_demux_eint4_11);
+	set_irq_chained_handler(IRQ_EINT12_15, s3c_irq_demux_eint12_15);
+
+	return 0;
+}
+
+arch_initcall(s5p64xx_init_irq_eint);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/irq.c linux-2.6.28.6/arch/arm/plat-s5p64xx/irq.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/irq.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/irq.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,257 @@
+/* arch/arm/plat-s5p64xx/irq.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5P64XX - Interrupt handling
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/io.h>
+
+#include <asm/hardware/vic.h>
+
+#include <mach/map.h>
+#include <plat/regs-timer.h>
+#include <plat/cpu.h>
+
+/* Timer interrupt handling */
+
+static void s3c_irq_demux_timer(unsigned int base_irq, unsigned int sub_irq)
+{
+	generic_handle_irq(sub_irq);
+}
+
+static void s3c_irq_demux_timer0(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER0);
+}
+
+static void s3c_irq_demux_timer1(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER1);
+}
+
+static void s3c_irq_demux_timer2(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER2);
+}
+
+static void s3c_irq_demux_timer3(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER3);
+}
+
+static void s3c_irq_demux_timer4(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER4);
+}
+
+/* We assume the IRQ_TIMER0..IRQ_TIMER4 range is continuous. */
+
+static void s3c_irq_timer_mask(unsigned int irq)
+{
+	u32 reg = __raw_readl(S3C64XX_TINT_CSTAT);
+
+	reg &= 0x1f;  /* mask out pending interrupts */
+	reg &= ~(1 << (irq - IRQ_TIMER0));
+	__raw_writel(reg, S3C64XX_TINT_CSTAT);
+}
+
+static void s3c_irq_timer_unmask(unsigned int irq)
+{
+	u32 reg = __raw_readl(S3C64XX_TINT_CSTAT);
+
+	reg &= 0x1f;  /* mask out pending interrupts */
+	reg |= 1 << (irq - IRQ_TIMER0);
+	__raw_writel(reg, S3C64XX_TINT_CSTAT);
+}
+
+static void s3c_irq_timer_ack(unsigned int irq)
+{
+	u32 reg = __raw_readl(S3C64XX_TINT_CSTAT);
+
+	reg &= 0x1f;
+	reg |= (1 << 5) << (irq - IRQ_TIMER0);
+	__raw_writel(reg, S3C64XX_TINT_CSTAT);
+}
+
+static struct irq_chip s3c_irq_timer = {
+	.name		= "s3c-timer",
+	.mask		= s3c_irq_timer_mask,
+	.unmask		= s3c_irq_timer_unmask,
+	.ack		= s3c_irq_timer_ack,
+};
+
+struct uart_irq {
+	void __iomem	*regs;
+	unsigned int	 base_irq;
+	unsigned int	 parent_irq;
+};
+
+/* Note, we make use of the fact that the parent IRQs, IRQ_UART[0..3]
+ * are consecutive when looking up the interrupt in the demux routines.
+ */
+static struct uart_irq uart_irqs[] = {
+	[0] = {
+		.regs		= S3C_VA_UART0,
+		.base_irq	= IRQ_S3CUART_BASE0,
+		.parent_irq	= IRQ_UART0,
+	},
+	[1] = {
+		.regs		= S3C_VA_UART1,
+		.base_irq	= IRQ_S3CUART_BASE1,
+		.parent_irq	= IRQ_UART1,
+	},
+	[2] = {
+		.regs		= S3C_VA_UART2,
+		.base_irq	= IRQ_S3CUART_BASE2,
+		.parent_irq	= IRQ_UART2,
+	},
+	[3] = {
+		.regs		= S3C_VA_UART3,
+		.base_irq	= IRQ_S3CUART_BASE3,
+		.parent_irq	= IRQ_UART3,
+	},
+};
+
+static inline void __iomem *s3c_irq_uart_base(unsigned int irq)
+{
+	struct uart_irq *uirq = get_irq_chip_data(irq);
+	return uirq->regs;
+}
+
+static inline unsigned int s3c_irq_uart_bit(unsigned int irq)
+{
+	return irq & 3;
+}
+
+/* UART interrupt registers, not worth adding to seperate include header */
+#define S5P64XX_UINTP	0x30
+#define S5P64XX_UINTSP	0x34
+#define S5P64XX_UINTM	0x38
+
+static void s3c_irq_uart_mask(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+	u32 reg;
+
+	reg = __raw_readl(regs + S5P64XX_UINTM);
+	reg |= (1 << bit);
+	__raw_writel(reg, regs + S5P64XX_UINTM);
+}
+
+static void s3c_irq_uart_maskack(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+	u32 reg;
+
+	reg = __raw_readl(regs + S5P64XX_UINTM);
+	reg |= (1 << bit);
+	__raw_writel(reg, regs + S5P64XX_UINTM);
+	__raw_writel(1 << bit, regs + S5P64XX_UINTP);
+}
+
+static void s3c_irq_uart_unmask(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+	u32 reg;
+
+	reg = __raw_readl(regs + S5P64XX_UINTM);
+	reg &= ~(1 << bit);
+	__raw_writel(reg, regs + S5P64XX_UINTM);
+}
+
+static void s3c_irq_uart_ack(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+
+	__raw_writel(1 << bit, regs + S5P64XX_UINTP);
+}
+
+static void s3c_irq_demux_uart(unsigned int irq, struct irq_desc *desc)
+{
+	struct uart_irq *uirq = &uart_irqs[irq - IRQ_UART0];
+	u32 pend = __raw_readl(uirq->regs + S5P64XX_UINTP);
+	int base = uirq->base_irq;
+
+	if (pend & (1 << 0))
+		generic_handle_irq(base);
+	if (pend & (1 << 1))
+		generic_handle_irq(base + 1);
+	if (pend & (1 << 2))
+		generic_handle_irq(base + 2);
+	if (pend & (1 << 3))
+		generic_handle_irq(base + 3);
+}
+
+static struct irq_chip s3c_irq_uart = {
+	.name		= "s3c-uart",
+	.mask		= s3c_irq_uart_mask,
+	.unmask		= s3c_irq_uart_unmask,
+	.mask_ack	= s3c_irq_uart_maskack,
+	.ack		= s3c_irq_uart_ack,
+};
+
+static void __init s5p64xx_uart_irq(struct uart_irq *uirq)
+{
+	void *reg_base = uirq->regs;
+	unsigned int irq;
+	int offs;
+
+	/* mask all interrupts at the start. */
+	__raw_writel(0xf, reg_base + S5P64XX_UINTM);
+
+	for (offs = 0; offs < 3; offs++) {
+		irq = uirq->base_irq + offs;
+
+		set_irq_chip(irq, &s3c_irq_uart);
+		set_irq_chip_data(irq, uirq);
+		set_irq_handler(irq, handle_level_irq);
+		set_irq_flags(irq, IRQF_VALID);
+	}
+
+	set_irq_chained_handler(uirq->parent_irq, s3c_irq_demux_uart);
+}
+
+void __init s5p64xx_init_irq(u32 vic0_valid, u32 vic1_valid)
+{
+	int uart, irq;
+
+	printk(KERN_DEBUG "%s: initialising interrupts\n", __func__);
+
+	/* initialise the pair of VICs */
+	vic_init(S3C_VA_VIC0, S3C_VIC0_BASE, vic0_valid);
+	vic_init(S3C_VA_VIC1, S3C_VIC1_BASE, vic1_valid);
+
+	/* add the timer sub-irqs */
+
+	set_irq_chained_handler(IRQ_TIMER0_VIC, s3c_irq_demux_timer0);
+	set_irq_chained_handler(IRQ_TIMER1_VIC, s3c_irq_demux_timer1);
+	set_irq_chained_handler(IRQ_TIMER2_VIC, s3c_irq_demux_timer2);
+	set_irq_chained_handler(IRQ_TIMER3_VIC, s3c_irq_demux_timer3);
+	set_irq_chained_handler(IRQ_TIMER4_VIC, s3c_irq_demux_timer4);
+
+	for (irq = IRQ_TIMER0; irq <= IRQ_TIMER4; irq++) {
+		set_irq_chip(irq, &s3c_irq_timer);
+		set_irq_handler(irq, handle_level_irq);
+		set_irq_flags(irq, IRQF_VALID);
+	}
+
+	for (uart = 0; uart < ARRAY_SIZE(uart_irqs); uart++)
+		s5p64xx_uart_irq(&uart_irqs[uart]);
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/ltc3714.c linux-2.6.28.6/arch/arm/plat-s5p64xx/ltc3714.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/ltc3714.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/ltc3714.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,147 @@
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/fs.h>
+#include <linux/errno.h>
+#include <linux/types.h>
+#include <linux/fcntl.h>
+#include <linux/stat.h>
+#include <linux/delay.h>
+#include <linux/gpio.h>
+#include <asm/uaccess.h>
+#include <asm/io.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+
+#define ARM_LE		0
+#define INT_LE		1
+
+enum PMIC_VOLTAGE {
+	VOUT_1_00, 
+	VOUT_1_05, 
+	VOUT_1_10, 
+	VOUT_1_15, 
+	VOUT_1_20, 
+	VOUT_1_25, 
+	VOUT_1_30, 
+	VOUT_1_35, 
+	VOUT_1_40, 
+	VOUT_1_45, 
+	VOUT_1_50 	
+};
+
+/* ltc3714 voltage table */
+static const unsigned int voltage_table[11] = {
+	0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9,
+	0x8, 0x7, 0x6, 0x5,
+};
+
+#define L0	532*1000
+#define L1	266*1000
+#define L2	133*1000
+
+/* frequency voltage matching table */
+static const unsigned int frequency_match[][3] = {
+/* frequency, Mathced VDD ARM voltage , Matched VDD INT*/
+	{L0, VOUT_1_10, VOUT_1_10},
+	{L1, VOUT_1_10, VOUT_1_10},
+	{L2, VOUT_1_10, VOUT_1_10},
+};
+
+/* LTC3714 Setting Routine */
+static int ltc3714_gpio_setting(void)
+{
+	gpio_direction_output(S5P64XX_GPN(11), 0);
+	gpio_direction_output(S5P64XX_GPN(12), 0);
+	gpio_direction_output(S5P64XX_GPN(13), 0);
+	gpio_direction_output(S5P64XX_GPN(14), 0);
+	gpio_direction_output(S5P64XX_GPN(15), 0);
+	gpio_direction_output(S5P64XX_GPR(0), 0);
+	gpio_direction_output(S5P64XX_GPR(1), 0);
+	gpio_direction_output(S5P64XX_GPR(2), 0);
+
+	s3c_gpio_setpull(S5P64XX_GPN(11), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P64XX_GPN(12), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P64XX_GPN(13), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P64XX_GPN(14), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P64XX_GPN(15), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P64XX_GPR(8), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P64XX_GPR(9), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P64XX_GPR(10), S3C_GPIO_PULL_NONE);
+
+	return 0;
+}
+
+static int set_ltc3714(unsigned int pwr, unsigned int index)
+{
+	int position = 0;
+	int gpio_val;
+	int voltage = frequency_match[index][pwr + 1];
+	
+	gpio_val = voltage_table[voltage];
+
+	gpio_val &=0x1f;
+
+	gpio_set_value(S5P64XX_GPN(11),(position >> 0)&0x1);
+	gpio_set_value(S5P64XX_GPN(12),(position >> 1)&0x1);
+	gpio_set_value(S5P64XX_GPN(13),(position >> 2)&0x1);
+	gpio_set_value(S5P64XX_GPN(14),(position >> 3)&0x1);
+	gpio_set_value(S5P64XX_GPN(15),(position >> 4)&0x1);
+
+	if(pwr == ARM_LE) {
+		gpio_set_value(S5P64XX_GPR(8), 1);
+		udelay(10);
+		gpio_set_value(S5P64XX_GPR(8), 0);
+	} else if(pwr == INT_LE) {
+		gpio_set_value(S5P64XX_GPR(10), 1);
+		udelay(10);
+		gpio_set_value(S5P64XX_GPR(10), 0);
+	} else {
+		printk("[error]: set_power, check mode [pwr] value\n");
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+static int find_voltage(int freq)
+{
+	int index = 0;
+
+	if(freq > frequency_match[0][0]){
+		printk(KERN_ERR "frequecy is over then support frequency\n");
+		return 0;
+	}
+
+	for(index = 0 ; index < ARRAY_SIZE(frequency_match) ; index++){
+		if(freq >= frequency_match[index][0])
+			return index;
+	}
+
+	printk("Cannot find matched voltage on table\n");
+
+	return 0;
+}
+
+int set_power(unsigned int freq)
+{
+	int index;
+
+	index = find_voltage(freq);
+
+	set_ltc3714(ARM_LE, index);
+
+	return 0;
+}
+
+EXPORT_SYMBOL(set_power);
+
+void ltc3714_init(void)
+{
+	ltc3714_gpio_setting();
+	set_power(L0);
+	gpio_set_value(S5P64XX_GPR(9), 1);
+}
+
+EXPORT_SYMBOL(ltc3714_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/pm.c linux-2.6.28.6/arch/arm/plat-s5p64xx/pm.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/pm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/pm.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,652 @@
+/* linux/arch/arm/plat-s3c24xx/pm.c
+ *
+ * Copyright (c) 2004,2006 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24XX Power Manager (Suspend-To-RAM) support
+ *
+ * See Documentation/arm/Samsung-S3C24XX/Suspend.txt for more information
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ * Parts based on arch/arm/mach-pxa/pm.c
+ *
+ * Thanks to Dimitry Andric for debugging
+*/
+
+#include <linux/init.h>
+#include <linux/suspend.h>
+#include <linux/errno.h>
+#include <linux/time.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/crc32.h>
+#include <linux/ioport.h>
+#include <linux/delay.h>
+#include <linux/serial_core.h>
+#include <linux/io.h>
+#include <linux/platform_device.h>
+
+#include <asm/cacheflush.h>
+#include <mach/hardware.h>
+
+#include <plat/map-base.h>
+#include <plat/regs-serial.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+#include <mach/regs-mem.h>
+#include <mach/regs-irq.h>
+#include <asm/gpio.h>
+
+#include <asm/mach/time.h>
+
+#include <plat/pm.h>
+
+/* for external use */
+
+unsigned long s3c_pm_flags;
+
+#define PFX "s3c64xx-pm: "
+static struct sleep_save core_save[] = {
+//	SAVE_ITEM(S3C_SDMA_SEL),
+};
+
+static struct sleep_save gpio_save[] = {
+	SAVE_ITEM(S5P64XX_GPACON),
+	SAVE_ITEM(S5P64XX_GPADAT),
+	SAVE_ITEM(S5P64XX_GPAPUD),
+	SAVE_ITEM(S5P64XX_GPBCON),
+	SAVE_ITEM(S5P64XX_GPBDAT),
+	SAVE_ITEM(S5P64XX_GPBPUD),
+	SAVE_ITEM(S5P64XX_GPCCON),
+	SAVE_ITEM(S5P64XX_GPCDAT),
+	SAVE_ITEM(S5P64XX_GPCPUD),
+	SAVE_ITEM(S5P64XX_GPFCON),
+	SAVE_ITEM(S5P64XX_GPFDAT),
+	SAVE_ITEM(S5P64XX_GPFPUD),
+	SAVE_ITEM(S5P64XX_GPGCON),
+	SAVE_ITEM(S5P64XX_GPGDAT),
+	SAVE_ITEM(S5P64XX_GPGPUD),
+	SAVE_ITEM(S5P64XX_GPHCON0),
+	SAVE_ITEM(S5P64XX_GPHCON1),
+	SAVE_ITEM(S5P64XX_GPHDAT),
+	SAVE_ITEM(S5P64XX_GPHPUD),
+	SAVE_ITEM(S5P64XX_GPICON),
+	SAVE_ITEM(S5P64XX_GPIDAT),
+	SAVE_ITEM(S5P64XX_GPIPUD),
+	SAVE_ITEM(S5P64XX_GPJCON),
+	SAVE_ITEM(S5P64XX_GPJDAT),
+	SAVE_ITEM(S5P64XX_GPJPUD),
+	SAVE_ITEM(S5P64XX_GPNCON),
+	SAVE_ITEM(S5P64XX_GPNDAT),
+	SAVE_ITEM(S5P64XX_GPNPUD),
+	SAVE_ITEM(S5P64XX_GPPCON),
+	SAVE_ITEM(S5P64XX_GPPDAT),
+	SAVE_ITEM(S5P64XX_GPPPUD),
+
+	/* Special register */
+	SAVE_ITEM(S5P64XX_SPC_BASE),
+};
+
+/* this lot should be really saved by the IRQ code */
+/* VICXADDRESSXX initilaization to be needed */
+static struct sleep_save irq_save[] = {
+	SAVE_ITEM(S5P64XX_VIC0INTSELECT),
+	SAVE_ITEM(S5P64XX_VIC1INTSELECT),
+	SAVE_ITEM(S5P64XX_VIC0INTENABLE),
+	SAVE_ITEM(S5P64XX_VIC1INTENABLE),
+	SAVE_ITEM(S5P64XX_VIC0SOFTINT),
+	SAVE_ITEM(S5P64XX_VIC1SOFTINT),
+};
+
+static struct sleep_save sromc_save[] = {
+	SAVE_ITEM(S5P64XX_SROM_BW),
+	SAVE_ITEM(S5P64XX_SROM_BC0),
+	SAVE_ITEM(S5P64XX_SROM_BC1),
+	SAVE_ITEM(S5P64XX_SROM_BC2),
+	SAVE_ITEM(S5P64XX_SROM_BC3),
+	SAVE_ITEM(S5P64XX_SROM_BC4),
+	SAVE_ITEM(S5P64XX_SROM_BC5),
+};
+
+#ifdef CONFIG_S3C2410_PM_DEBUG
+
+#define SAVE_UART(va) \
+	SAVE_ITEM((va) + S3C2410_ULCON), \
+	SAVE_ITEM((va) + S3C2410_UCON), \
+	SAVE_ITEM((va) + S3C2410_UFCON), \
+	SAVE_ITEM((va) + S3C2410_UMCON), \
+	SAVE_ITEM((va) + S3C2410_UBRDIV)
+
+static struct sleep_save uart_save[] = {
+	SAVE_UART(S3C24XX_VA_UART0),
+	SAVE_UART(S3C24XX_VA_UART1),
+#ifndef CONFIG_CPU_S3C2400
+	SAVE_UART(S3C24XX_VA_UART2),
+#endif
+};
+
+/* debug
+ *
+ * we send the debug to printascii() to allow it to be seen if the
+ * system never wakes up from the sleep
+*/
+
+extern void printascii(const char *);
+
+void pm_dbg(const char *fmt, ...)
+{
+	va_list va;
+	char buff[256];
+
+	va_start(va, fmt);
+	vsprintf(buff, fmt, va);
+	va_end(va);
+
+	printascii(buff);
+}
+
+static void s3c2410_pm_debug_init(void)
+{
+	unsigned long tmp = __raw_readl(S3C2410_CLKCON);
+
+	/* re-start uart clocks */
+	tmp |= S3C2410_CLKCON_UART0;
+	tmp |= S3C2410_CLKCON_UART1;
+	tmp |= S3C2410_CLKCON_UART2;
+
+	__raw_writel(tmp, S3C2410_CLKCON);
+	udelay(10);
+}
+
+#define DBG(fmt...) pm_dbg(fmt)
+#else
+#define DBG(fmt...)
+
+#define s5p6440_pm_debug_init() do { } while(0)
+#endif
+
+#if defined(CONFIG_S3C2410_PM_CHECK) && CONFIG_S3C2410_PM_CHECK_CHUNKSIZE != 0
+
+/* suspend checking code...
+ *
+ * this next area does a set of crc checks over all the installed
+ * memory, so the system can verify if the resume was ok.
+ *
+ * CONFIG_S3C6410_PM_CHECK_CHUNKSIZE defines the block-size for the CRC,
+ * increasing it will mean that the area corrupted will be less easy to spot,
+ * and reducing the size will cause the CRC save area to grow
+*/
+
+#define CHECK_CHUNKSIZE (CONFIG_S3C2410_PM_CHECK_CHUNKSIZE * 1024)
+
+static u32 crc_size;	/* size needed for the crc block */
+static u32 *crcs;	/* allocated over suspend/resume */
+
+typedef u32 *(run_fn_t)(struct resource *ptr, u32 *arg);
+
+/* s5p6440_pm_run_res
+ *
+ * go thorugh the given resource list, and look for system ram
+*/
+
+static void s5p6440_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg)
+{
+	while (ptr != NULL) {
+		if (ptr->child != NULL)
+			s5p6440_pm_run_res(ptr->child, fn, arg);
+
+		if ((ptr->flags & IORESOURCE_MEM) &&
+		    strcmp(ptr->name, "System RAM") == 0) {
+			DBG("Found system RAM at %08lx..%08lx\n",
+			    ptr->start, ptr->end);
+			arg = (fn)(ptr, arg);
+		}
+
+		ptr = ptr->sibling;
+	}
+}
+
+static void s5p6440_pm_run_sysram(run_fn_t fn, u32 *arg)
+{
+	s5p6440_pm_run_res(&iomem_resource, fn, arg);
+}
+
+static u32 *s5p6440_pm_countram(struct resource *res, u32 *val)
+{
+	u32 size = (u32)(res->end - res->start)+1;
+
+	size += CHECK_CHUNKSIZE-1;
+	size /= CHECK_CHUNKSIZE;
+
+	DBG("Area %08lx..%08lx, %d blocks\n", res->start, res->end, size);
+
+	*val += size * sizeof(u32);
+	return val;
+}
+
+/* s5p6440_pm_prepare_check
+ *
+ * prepare the necessary information for creating the CRCs. This
+ * must be done before the final save, as it will require memory
+ * allocating, and thus touching bits of the kernel we do not
+ * know about.
+*/
+
+static void s5p6440_pm_check_prepare(void)
+{
+	crc_size = 0;
+
+	s5p6440_pm_run_sysram(s5p6440_pm_countram, &crc_size);
+
+	DBG("s5p6440_pm_prepare_check: %u checks needed\n", crc_size);
+
+	crcs = kmalloc(crc_size+4, GFP_KERNEL);
+	if (crcs == NULL)
+		printk(KERN_ERR "Cannot allocated CRC save area\n");
+}
+
+static u32 *s5p6440_pm_makecheck(struct resource *res, u32 *val)
+{
+	unsigned long addr, left;
+
+	for (addr = res->start; addr < res->end;
+	     addr += CHECK_CHUNKSIZE) {
+		left = res->end - addr;
+
+		if (left > CHECK_CHUNKSIZE)
+			left = CHECK_CHUNKSIZE;
+
+		*val = crc32_le(~0, phys_to_virt(addr), left);
+		val++;
+	}
+
+	return val;
+}
+
+/* s5p6440_pm_check_store
+ *
+ * compute the CRC values for the memory blocks before the final
+ * sleep.
+*/
+
+static void s5p6440_pm_check_store(void)
+{
+	if (crcs != NULL)
+		s5p6440_pm_run_sysram(s5p6440_pm_makecheck, crcs);
+}
+
+/* in_region
+ *
+ * return TRUE if the area defined by ptr..ptr+size contatins the
+ * what..what+whatsz
+*/
+
+static inline int in_region(void *ptr, int size, void *what, size_t whatsz)
+{
+	if ((what+whatsz) < ptr)
+		return 0;
+
+	if (what > (ptr+size))
+		return 0;
+
+	return 1;
+}
+
+static u32 *s5p6440_pm_runcheck(struct resource *res, u32 *val)
+{
+	void *save_at = phys_to_virt(s5p6440_sleep_save_phys);
+	unsigned long addr;
+	unsigned long left;
+	void *ptr;
+	u32 calc;
+
+	for (addr = res->start; addr < res->end;
+	     addr += CHECK_CHUNKSIZE) {
+		left = res->end - addr;
+
+		if (left > CHECK_CHUNKSIZE)
+			left = CHECK_CHUNKSIZE;
+
+		ptr = phys_to_virt(addr);
+
+		if (in_region(ptr, left, crcs, crc_size)) {
+			DBG("skipping %08lx, has crc block in\n", addr);
+			goto skip_check;
+		}
+
+		if (in_region(ptr, left, save_at, 32*4 )) {
+			DBG("skipping %08lx, has save block in\n", addr);
+			goto skip_check;
+		}
+
+		/* calculate and check the checksum */
+
+		calc = crc32_le(~0, ptr, left);
+		if (calc != *val) {
+			printk(KERN_ERR PFX "Restore CRC error at "
+			       "%08lx (%08x vs %08x)\n", addr, calc, *val);
+
+			DBG("Restore CRC error at %08lx (%08x vs %08x)\n",
+			    addr, calc, *val);
+		}
+
+	skip_check:
+		val++;
+	}
+
+	return val;
+}
+
+/* s5p6440_pm_check_restore
+ *
+ * check the CRCs after the restore event and free the memory used
+ * to hold them
+*/
+
+static void s5p6440_pm_check_restore(void)
+{
+	if (crcs != NULL) {
+		s5p6440_pm_run_sysram(s5p6440_pm_runcheck, crcs);
+		kfree(crcs);
+		crcs = NULL;
+	}
+}
+
+#else
+
+#define s5p6440_pm_check_prepare() do { } while(0)
+#define s5p6440_pm_check_restore() do { } while(0)
+#define s5p6440_pm_check_store()   do { } while(0)
+#endif
+
+/* helper functions to save and restore register state */
+
+void s5p6440_pm_do_save(struct sleep_save *ptr, int count)
+{
+	for (; count > 0; count--, ptr++) {
+		ptr->val = __raw_readl(ptr->reg);
+		//DBG("saved %p value %08lx\n", ptr->reg, ptr->val);
+	}
+}
+
+/* s5p6440_pm_do_restore
+ *
+ * restore the system from the given list of saved registers
+ *
+ * Note, we do not use DBG() in here, as the system may not have
+ * restore the UARTs state yet
+*/
+
+void s5p6440_pm_do_restore(struct sleep_save *ptr, int count)
+{
+	for (; count > 0; count--, ptr++) {
+		//printk(KERN_DEBUG "restore %p (restore %08lx, was %08x)\n",
+		       //ptr->reg, ptr->val, __raw_readl(ptr->reg));
+
+		__raw_writel(ptr->val, ptr->reg);
+	}
+}
+
+/* s5p6440_pm_do_restore_core
+ *
+ * similar to s36410_pm_do_restore_core
+ *
+ * WARNING: Do not put any debug in here that may effect memory or use
+ * peripherals, as things may be changing!
+*/
+
+/* s5p6440_pm_do_save_phy
+ *
+ * save register of system
+ *
+ * Note, I made this function to support driver with ioremap.
+ * If you want to use this function, you should to input as first parameter
+ * struct sleep_save_phy type
+*/
+
+int s3c2410_pm_do_save_phy(struct sleep_save_phy *ptr, struct platform_device *pdev, int count)
+{
+	void __iomem *target_reg;
+	struct resource *res;
+	u32 reg_size;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if(res == NULL){
+		printk(KERN_ERR "%s resource get error\n",__FUNCTION__);
+		return 0;
+	}
+	reg_size = res->end - res->start + 1;
+	target_reg = ioremap(res->start,reg_size);
+
+	for (; count > 0; count--, ptr++) {
+		ptr->val = readl(target_reg + (ptr->reg));
+	}
+
+	return 0;
+}
+
+/* s5p6440_pm_do_restore_phy
+ *
+ * restore register of system
+ *
+ * Note, I made this function to support driver with ioremap.
+ * If you want to use this function, you should to input as first parameter
+ * struct sleep_save_phy type
+*/
+
+int s3c2410_pm_do_restore_phy(struct sleep_save_phy *ptr, struct platform_device *pdev, int count)
+{
+	void __iomem *target_reg;
+	struct resource *res;
+	u32 reg_size;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if(res == NULL){
+		printk(KERN_ERR "%s resource get error\n",__FUNCTION__);
+		return 0;
+	}
+	reg_size = res->end - res->start + 1;
+	target_reg = ioremap(res->start,reg_size);
+
+	for (; count > 0; count--, ptr++) {
+		writel(ptr->val, (target_reg + ptr->reg));
+	}
+
+	return 0;
+}
+
+static void s5p6440_pm_do_restore_core(struct sleep_save *ptr, int count)
+{
+	for (; count > 0; count--, ptr++) {
+		__raw_writel(ptr->val, ptr->reg);
+	}
+}
+
+static void s5p6440_pm_configure_extint(void)
+{
+#if 0 
+	s3c_gpio_cfgpin(S5P64XX_GPN(10), S5P64XX_GPN10_EINT10);
+	s3c_gpio_setpull(S5P64XX_GPN(10), S3C_GPIO_PULL_UP);
+#else
+	__raw_writel((__raw_readl(S5P64XX_GPNCON) & ~(0x3 << 20)) |
+		     (0x2 << 20), S5P64XX_GPNCON);
+	__raw_writel((__raw_readl(S5P64XX_GPNPUD) & ~(0x3 << 20)) |
+		     (0x2 << 20), S5P64XX_GPNPUD);
+#endif
+	udelay(50);
+
+	__raw_writel((__raw_readl(S5P64XX_EINT0CON0) & ~(0x7 << 20)) |
+		     (0x2 << 20), S5P64XX_EINT0CON0);
+
+	__raw_writel(1UL << (IRQ_EINT(10) - IRQ_EINT(0)), S5P64XX_EINT0PEND);
+	__raw_writel(__raw_readl(S5P64XX_EINT0MASK)&~(1UL << (IRQ_EINT(10) - IRQ_EINT(0))), S5P64XX_EINT0MASK);
+
+}
+
+static void s5p64xx_pm_configure_extint(void)
+{
+#if 0 
+	s3c_gpio_cfgpin(S5P64XX_GPN(10), S5P64XX_GPN10_EINT10);
+	s3c_gpio_setpull(S5P64XX_GPN(10), S3C_GPIO_PULL_UP);
+#else
+	__raw_writel((__raw_readl(S5P64XX_GPNCON) & ~(0x3 << 20)) |
+		     (0x2 << 20), S5P64XX_GPNCON);
+	__raw_writel((__raw_readl(S5P64XX_GPNPUD) & ~(0x3 << 20)) |
+		     (0x2 << 20), S5P64XX_GPNPUD);
+#endif
+	udelay(50);
+
+	__raw_writel((__raw_readl(S5P64XX_EINT0CON0) & ~(0x7 << 20)) |
+		     (0x2 << 20), S5P64XX_EINT0CON0);
+
+	__raw_writel(1UL << (IRQ_EINT(10) - IRQ_EINT(0)), S5P64XX_EINT0PEND);
+	__raw_writel(__raw_readl(S5P64XX_EINT0MASK)&~(1UL << (IRQ_EINT(10) - IRQ_EINT(0))), S5P64XX_EINT0MASK);
+	
+}
+
+void (*pm_cpu_prep)(void);
+void (*pm_cpu_sleep)(void);
+
+#define any_allowed(mask, allow) (((mask) & (allow)) != (allow))
+
+/* s5p6440_pm_enter
+ *
+ * central control for sleep/resume process
+*/
+
+static int s5p6440_pm_enter(suspend_state_t state)
+{
+	unsigned long regs_save[16];
+	unsigned int tmp;
+
+	/* ensure the debug is initialised (if enabled) */
+
+	DBG("s5p6440_pm_enter(%d)\n", state);
+
+	if (pm_cpu_prep == NULL || pm_cpu_sleep == NULL) {
+		printk(KERN_ERR PFX "error: no cpu sleep functions set\n");
+		return -EINVAL;
+	}
+
+	/* prepare check area if configured */
+	s5p6440_pm_check_prepare();
+
+	/* store the physical address of the register recovery block */
+	s5p6440_sleep_save_phys = virt_to_phys(regs_save);
+
+	printk("s5p6440_sleep_save_phys=0x%08lx\n", s5p6440_sleep_save_phys);
+
+	/* save all necessary core registers not covered by the drivers */
+
+	s5p6440_pm_do_save(gpio_save, ARRAY_SIZE(gpio_save));
+	s5p6440_pm_do_save(irq_save, ARRAY_SIZE(irq_save));
+	s5p6440_pm_do_save(core_save, ARRAY_SIZE(core_save));
+	s5p6440_pm_do_save(sromc_save, ARRAY_SIZE(sromc_save));
+
+	/* ensure INF_REG0  has the resume address */
+	__raw_writel(virt_to_phys(s5p6440_cpu_resume), S3C_INFORM0);
+
+	/* set the irq configuration for wake */
+	s5p6440_pm_configure_extint();
+
+	/* call cpu specific preperation */
+
+	pm_cpu_prep();
+
+	/* flush cache back to ram */
+
+	flush_cache_all();
+
+	s5p6440_pm_check_store();
+
+	/* send the cpu to sleep... */
+
+	__raw_writel(0xffffffff, S5P64XX_VIC0INTENCLEAR);
+	__raw_writel(0xffffffff, S5P64XX_VIC1INTENCLEAR);
+	__raw_writel(0xffffffff, S5P64XX_VIC0SOFTINTCLEAR);
+	__raw_writel(0xffffffff, S5P64XX_VIC1SOFTINTCLEAR);
+
+	__raw_writel(1, S3C_OSC_STABLE);
+	__raw_writel(1, S3C_PWR_STABLE);
+
+	/* Set WFI instruction to SLEEP mode */
+
+	tmp = __raw_readl(S3C_PWR_CFG);
+	tmp &= ~(0x60<<0);
+	tmp |= (0x3<<5);
+	__raw_writel(tmp, S3C_PWR_CFG);
+
+	tmp = __raw_readl(S3C_SLEEP_CFG);
+	tmp &= ~(0x61<<0);
+	__raw_writel(tmp, S3C_SLEEP_CFG);
+
+	/* Clear WAKEUP_STAT register for next wakeup -jc.lee */
+	/* If this register do not be cleared, Wakeup will be failed */
+	tmp = __raw_readl(S3C_WAKEUP_STAT);
+	__raw_writel(tmp, S3C_WAKEUP_STAT);
+
+	/* s5p6440_cpu_save will also act as our return point from when
+	 * we resume as it saves its own register state, so use the return
+	 * code to differentiate return from save and return from sleep */
+
+	if (s5p6440_cpu_save(regs_save) == 0) {
+		flush_cache_all();
+		pm_cpu_sleep();
+	}
+
+	/* restore the cpu state */
+	cpu_init();
+
+	/* restore the system state */
+	s5p6440_pm_do_restore_core(core_save, ARRAY_SIZE(core_save));
+	s5p6440_pm_do_restore(sromc_save, ARRAY_SIZE(sromc_save));
+	s5p6440_pm_do_restore(gpio_save, ARRAY_SIZE(gpio_save));
+	s5p6440_pm_do_restore(irq_save, ARRAY_SIZE(irq_save));
+
+#if 0 
+	tmp = __raw_readl(S3C64XX_EINT0PEND);
+	__raw_writel(tmp, S5P64XX_EINT0PEND);
+#endif
+
+	DBG("post sleep, preparing to return\n");
+
+	s5p6440_pm_check_restore();
+
+	/* ok, let's return from sleep */
+	DBG("S3C6410 PM Resume (post-restore)\n");
+	return 0;
+}
+
+static struct platform_suspend_ops s5p6440_pm_ops = {
+	.enter		= s5p6440_pm_enter,
+	.valid		= suspend_valid_only_mem,
+};
+
+/* s5p6440_pm_init
+ *
+ * Attach the power management functions. This should be called
+ * from the board specific initialisation if the board supports
+ * it.
+*/
+
+int __init s5p6440_pm_init(void)
+{
+	printk("S5P6440 Power Management, (c) 2008 Samsung Electronics\n");
+
+	suspend_set_ops(&s5p6440_pm_ops);
+	return 0;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/pwm.c linux-2.6.28.6/arch/arm/plat-s5p64xx/pwm.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/pwm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/pwm.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,432 @@
+/* arch/arm/plat-s3c24xx/pwm.c
+ *
+ * Copyright (c) 2007 Ben Dooks
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>, <ben-linux@fluff.org>
+ *
+ * S3C24XX PWM device core
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/platform_device.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+#include <linux/pwm.h>
+#include <linux/gpio.h>
+
+#include <mach/map.h>
+#include <plat/devs.h>
+#include <plat/regs-timer.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-f.h>
+
+struct pwm_device {
+	struct list_head	 list;
+	struct platform_device	*pdev;
+
+	struct clk		*clk_div;
+	struct clk		*clk;
+	const char		*label;
+
+	unsigned int		 period_ns;
+	unsigned int		 duty_ns;
+
+	unsigned char		 tcon_base;
+	unsigned char		 running;
+	unsigned char		 use_count;
+	unsigned char		 pwm_id;
+};
+
+#define pwm_dbg(_pwm, msg...) dev_dbg(&(_pwm)->pdev->dev, msg)
+
+static struct clk *clk_scaler[2];
+
+/* Standard setup for a timer block. */
+
+#define TIMER_RESOURCE_SIZE (1)
+
+#define TIMER_RESOURCE(_tmr, _irq)			\
+	(struct resource [TIMER_RESOURCE_SIZE]) {	\
+		[0] = {					\
+			.start	= _irq,			\
+			.end	= _irq,			\
+			.flags	= IORESOURCE_IRQ	\
+		}					\
+	}
+
+#define DEFINE_S3C_TIMER(_tmr_no, _irq)			\
+	.name		= "s3c24xx-pwm",		\
+	.id		= _tmr_no,			\
+	.num_resources	= TIMER_RESOURCE_SIZE,		\
+	.resource	= TIMER_RESOURCE(_tmr_no, _irq),	\
+
+/* since we already have an static mapping for the timer, we do not
+ * bother setting any IO resource for the base.
+ */
+
+struct platform_device s3c_device_timer[] = {
+	[0] = { DEFINE_S3C_TIMER(0, IRQ_TIMER0) },
+	[1] = { DEFINE_S3C_TIMER(1, IRQ_TIMER1) },
+	[2] = { DEFINE_S3C_TIMER(2, IRQ_TIMER2) },
+	[3] = { DEFINE_S3C_TIMER(3, IRQ_TIMER3) },
+	[4] = { DEFINE_S3C_TIMER(4, IRQ_TIMER4) },
+};
+
+static inline int pwm_is_tdiv(struct pwm_device *pwm)
+{
+	return clk_get_parent(pwm->clk) == pwm->clk_div;
+}
+
+static DEFINE_MUTEX(pwm_lock);
+static LIST_HEAD(pwm_list);
+
+struct pwm_device *pwm_request(int pwm_id, const char *label)
+{
+	struct pwm_device *pwm;
+	int found = 0;
+
+	mutex_lock(&pwm_lock);
+
+	list_for_each_entry(pwm, &pwm_list, list) {
+		if (pwm->pwm_id == pwm_id) {
+			found = 1;
+			break;
+		}
+	}
+
+	if (found) {
+		if (pwm->use_count == 0) {
+			pwm->use_count = 1;
+			pwm->label = label;
+		} else
+			pwm = ERR_PTR(-EBUSY);
+	} else
+		pwm = ERR_PTR(-ENOENT);
+
+	mutex_unlock(&pwm_lock);
+	return pwm;
+}
+
+EXPORT_SYMBOL(pwm_request);
+
+
+void pwm_free(struct pwm_device *pwm)
+{
+	mutex_lock(&pwm_lock);
+
+	if (pwm->use_count) {
+		pwm->use_count--;
+		pwm->label = NULL;
+	} else
+		printk(KERN_ERR "PWM%d device already freed\n", pwm->pwm_id);
+
+	mutex_unlock(&pwm_lock);
+}
+
+EXPORT_SYMBOL(pwm_free);
+
+#define pwm_tcon_start(pwm) (1 << (pwm->tcon_base + 0))
+#define pwm_tcon_invert(pwm) (1 << (pwm->tcon_base + 2))
+#define pwm_tcon_autoreload(pwm) (1 << (pwm->tcon_base + 3))
+#define pwm_tcon_manulupdate(pwm) (1 << (pwm->tcon_base + 1))
+
+int pwm_enable(struct pwm_device *pwm)
+{
+	unsigned long flags;
+	unsigned long tcon;
+
+	local_irq_save(flags);
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon |= pwm_tcon_start(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+	pwm->running = 1;
+	return 0;
+}
+
+EXPORT_SYMBOL(pwm_enable);
+
+void pwm_disable(struct pwm_device *pwm)
+{
+	unsigned long flags;
+	unsigned long tcon;
+
+	local_irq_save(flags);
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon &= ~pwm_tcon_start(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+	pwm->running = 0;
+}
+
+EXPORT_SYMBOL(pwm_disable);
+
+static unsigned long pwm_calc_tin(struct pwm_device *pwm, unsigned long freq)
+{
+	unsigned long tin_parent_rate;
+	unsigned int div;
+
+	tin_parent_rate = clk_get_rate(clk_get_parent(pwm->clk_div));
+	pwm_dbg(pwm, "tin parent at %lu\n", tin_parent_rate);
+
+	for (div = 2; div <= 16; div *= 2) {
+		if ((tin_parent_rate / (div << 16)) < freq)
+			return tin_parent_rate / div;
+	}
+
+	return tin_parent_rate / 16;
+}
+
+#define NS_IN_HZ (1000000000UL)
+
+int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)
+{
+	unsigned long tin_rate;
+	unsigned long tin_ns;
+	unsigned long period;
+	unsigned long flags;
+	unsigned long tcon;
+	unsigned long tcnt;
+	long tcmp;
+
+	/* We currently avoid using 64bit arithmetic by using the
+	 * fact that anything faster than 1Hz is easily representable
+	 * by 32bits. */
+
+	if (period_ns > NS_IN_HZ || duty_ns > NS_IN_HZ)
+		return -ERANGE;
+
+	if (duty_ns > period_ns)
+		return -EINVAL;
+
+	if (period_ns == pwm->period_ns &&
+	    duty_ns == pwm->duty_ns)
+		return 0;
+
+	/* The TCMP and TCNT can be read without a lock, they're not
+	 * shared between the timers. */
+
+	tcmp = __raw_readl(S3C2410_TCMPB(pwm->pwm_id));
+	tcnt = __raw_readl(S3C2410_TCNTB(pwm->pwm_id));
+
+	period = NS_IN_HZ / period_ns;
+
+	pwm_dbg(pwm, "duty_ns=%d, period_ns=%d (%lu)\n",
+		duty_ns, period_ns, period);
+
+	/* Check to see if we are changing the clock rate of the PWM */
+
+	if (pwm->period_ns != period_ns) {
+		if (pwm_is_tdiv(pwm)) {
+			tin_rate = pwm_calc_tin(pwm, period);
+			clk_set_rate(pwm->clk_div, tin_rate);
+		} else
+			tin_rate = clk_get_rate(pwm->clk);
+
+		pwm->period_ns = period_ns;
+
+		pwm_dbg(pwm, "tin_rate=%lu\n", tin_rate);
+
+		tin_ns = NS_IN_HZ / tin_rate;
+		tcnt = period_ns / tin_ns;
+	} else
+		tin_ns = NS_IN_HZ / clk_get_rate(pwm->clk);
+
+	/* Note, counters count down */
+
+	tcmp = duty_ns / tin_ns;
+	tcmp = tcnt - tcmp;
+
+	pwm_dbg(pwm, "tin_ns=%lu, tcmp=%ld/%lu\n", tin_ns, tcmp, tcnt);
+
+	if (tcmp < 0)
+		tcmp = 0;
+
+	/* Update the PWM register block. */
+
+	local_irq_save(flags);
+
+	__raw_writel(tcmp, S3C2410_TCMPB(pwm->pwm_id));
+	__raw_writel(tcnt, S3C2410_TCNTB(pwm->pwm_id));
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon |= pwm_tcon_manulupdate(pwm);
+	tcon |= pwm_tcon_autoreload(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	tcon &= ~pwm_tcon_manulupdate(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+EXPORT_SYMBOL(pwm_config);
+
+static int pwm_register(struct pwm_device *pwm)
+{
+	pwm->duty_ns = -1;
+	pwm->period_ns = -1;
+
+	mutex_lock(&pwm_lock);
+	list_add_tail(&pwm->list, &pwm_list);
+	mutex_unlock(&pwm_lock);
+
+	return 0;
+}
+
+static int s3c_pwm_probe(struct platform_device *pdev)
+{
+	struct device *dev = &pdev->dev;
+	struct pwm_device *pwm;
+	unsigned long flags;
+	unsigned long tcon;
+	unsigned int id = pdev->id;
+	int ret;
+
+	if (id == 0) {
+		if(gpio_is_valid(S5P64XX_GPF(14))) {
+			ret = gpio_request(S5P64XX_GPF(14), "GPF");
+
+			if (ret) {
+				printk(KERN_ERR "failed to request GPF for PWM-OUT 0\n");
+			}
+			s3c_gpio_cfgpin(S5P64XX_GPF(14),S5P64XX_GPF14_PWM_TOUT0);			 
+		}
+	} else if(id == 1) {
+		if(gpio_is_valid(S5P64XX_GPF(15))) {
+			ret = gpio_request(S5P64XX_GPF(15), "GPF");
+
+			if (ret) {
+				printk(KERN_ERR "failed to request GPF for PWM-OUT 1\n");
+			}
+			s3c_gpio_cfgpin(S5P64XX_GPF(15),S5P64XX_GPF15_PWM_TOUT1);			 
+		}
+	
+	} else {
+		printk(KERN_ERR "This PWM dosen't support PWM out\n");
+	}
+
+	if (id == 4) {
+		dev_err(dev, "TIMER4 is currently not supported\n");
+		return -ENXIO;
+	}
+
+	pwm = kzalloc(sizeof(struct pwm_device), GFP_KERNEL);
+	if (pwm == NULL) {
+		dev_err(dev, "failed to allocate pwm_device\n");
+		return -ENOMEM;
+	}
+
+	pwm->pdev = pdev;
+	pwm->pwm_id = id;
+
+	/* calculate base of control bits in TCON */
+	pwm->tcon_base = id == 0 ? 0 : (id * 4) + 4;
+
+	pwm->clk = clk_get(dev, "pwm-tin");
+	if (IS_ERR(pwm->clk)) {
+		dev_err(dev, "failed to get pwm tin clk\n");
+		ret = PTR_ERR(pwm->clk);
+		goto err_alloc;
+	}
+
+	pwm->clk_div = clk_get(dev, "pwm-tdiv");
+	if (IS_ERR(pwm->clk_div)) {
+		dev_err(dev, "failed to get pwm tdiv clk\n");
+		ret = PTR_ERR(pwm->clk_div);
+		goto err_clk_tin;
+	}
+
+	local_irq_save(flags);
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon |= pwm_tcon_invert(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+
+	ret = pwm_register(pwm);
+	if (ret) {
+		dev_err(dev, "failed to register pwm\n");
+		goto err_clk_tdiv;
+	}
+
+	pwm_dbg(pwm, "config bits %02x\n",
+		(__raw_readl(S3C2410_TCON) >> pwm->tcon_base) & 0x0f);
+
+	dev_info(dev, "tin at %lu, tdiv at %lu, tin=%sclk, base %d\n",
+		 clk_get_rate(pwm->clk),
+		 clk_get_rate(pwm->clk_div),
+		 pwm_is_tdiv(pwm) ? "div" : "ext", pwm->tcon_base);
+
+	platform_set_drvdata(pdev, pwm);
+	return 0;
+
+ err_clk_tdiv:
+	clk_put(pwm->clk_div);
+
+ err_clk_tin:
+	clk_put(pwm->clk);
+
+ err_alloc:
+	kfree(pwm);
+	return ret;
+}
+
+static int s3c_pwm_remove(struct platform_device *pdev)
+{
+	struct pwm_device *pwm = platform_get_drvdata(pdev);
+
+	clk_put(pwm->clk_div);
+	clk_put(pwm->clk);
+	kfree(pwm);
+
+	return 0;
+}
+
+static struct platform_driver s3c_pwm_driver = {
+	.driver		= {
+		.name	= "s3c24xx-pwm",
+		.owner	= THIS_MODULE,
+	},
+	.probe		= s3c_pwm_probe,
+	.remove		= __devexit_p(s3c_pwm_remove),
+};
+
+static int __init pwm_init(void)
+{
+	int ret;
+
+	clk_scaler[0] = clk_get(NULL, "pwm-scaler0");
+	clk_scaler[1] = clk_get(NULL, "pwm-scaler1");
+
+	if (IS_ERR(clk_scaler[0]) || IS_ERR(clk_scaler[1])) {
+		printk(KERN_ERR "%s: failed to get scaler clocks\n", __func__);
+		return -EINVAL;
+	}
+
+	ret = platform_driver_register(&s3c_pwm_driver);
+	if (ret)
+		printk(KERN_ERR "%s: failed to add pwm driver\n", __func__);
+
+	return ret;
+}
+
+arch_initcall(pwm_init);
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/s5p6440-clock.c linux-2.6.28.6/arch/arm/plat-s5p64xx/s5p6440-clock.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/s5p6440-clock.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/s5p6440-clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,730 @@
+/* linux/arch/arm/plat-s5p64xx/s5p6440-clock.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S5P6440 based common clock support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/list.h>
+#include <linux/errno.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/sysdev.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/cpu-freq.h>
+
+#include <plat/regs-clock.h>
+#include <plat/clock.h>
+#include <plat/cpu.h>
+#include <plat/pll.h>
+
+/* fin_apll, fin_mpll and fin_epll are all the same clock, which we call
+ * ext_xtal_mux for want of an actual name from the manual.
+*/
+
+struct clk clk_ext_xtal_mux = {
+	.name		= "ext_xtal",
+	.id		= -1,
+};
+
+#define clk_fin_apll clk_ext_xtal_mux
+#define clk_fin_mpll clk_ext_xtal_mux
+#define clk_fin_epll clk_ext_xtal_mux
+
+#define clk_fout_mpll	clk_mpll
+
+struct clk_sources {
+	unsigned int	nr_sources;
+	struct clk	**sources;
+};
+
+struct clksrc_clk {
+	struct clk		clk;
+	unsigned int		mask;
+	unsigned int		shift;
+
+	struct clk_sources	*sources;
+
+	unsigned int		divider_shift;
+	void __iomem		*reg_divider;
+};
+
+struct clk clk_fout_apll = {
+	.name		= "fout_apll",
+	.id		= -1,
+};
+
+static struct clk *clk_src_apll_list[] = {
+	[0] = &clk_fin_apll,
+	[1] = &clk_fout_apll,
+};
+
+static struct clk_sources clk_src_apll = {
+	.sources	= clk_src_apll_list,
+	.nr_sources	= ARRAY_SIZE(clk_src_apll_list),
+};
+
+struct clksrc_clk clk_mout_apll = {
+	.clk	= {
+		.name		= "mout_apll",
+		.id		= -1,
+	},
+	.shift		= S3C_CLKSRC_APLL_MOUT_SHIFT,
+	.mask		= S3C_CLKSRC_APLL_MOUT,
+	.sources	= &clk_src_apll,
+};
+
+static inline struct clksrc_clk *to_clksrc(struct clk *clk)
+{
+	return container_of(clk, struct clksrc_clk, clk);
+}
+
+int fout_enable(struct clk *clk, int enable)
+{
+	unsigned int ctrlbit = clk->ctrlbit;
+	unsigned int epll_con0 = __raw_readl(S3C_EPLL_CON) & ~ ctrlbit;
+
+	if(enable)
+	   __raw_writel(epll_con0 | ctrlbit, S3C_EPLL_CON);
+	else
+	   __raw_writel(epll_con0, S3C_EPLL_CON);
+
+	return 0;
+}
+
+unsigned long fout_get_rate(struct clk *clk)
+{
+	return clk->rate;
+}
+
+int fout_set_rate(struct clk *clk, unsigned long rate)
+{
+	unsigned int epll_con0, epll_con1;
+
+	if(clk->rate == rate)	/* Return if nothing changed */
+		return 0;
+
+	epll_con0 = __raw_readl(S3C_EPLL_CON);
+	epll_con1 = __raw_readl(S3C_EPLL_CON_K);
+
+	epll_con0 &= ~(S3C_EPLL_CON_M_MASK | S3C_EPLL_CON_P_MASK | S3C_EPLL_CON_S_MASK);
+	epll_con1 &= ~(S3C_EPLL_CON_K_MASK);
+
+	switch(rate){
+	case 36000000:
+			epll_con1 |= (0 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (48 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (4 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	case 48000000:
+			epll_con1 |= (0 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (32 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (3 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	case 60000000:
+			epll_con1 |= (0 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (40 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (3 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	case 72000000:
+			epll_con1 |= (0 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (48 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (3 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	case 84000000:
+			epll_con1 |= (0 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (28 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (2 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	case 96000000:
+			epll_con1 |= (0 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (32 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (2 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	case 32768000:
+			epll_con1 |= (45264 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (43 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (4 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	case 45158000:
+			epll_con1 |= (6903 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (30 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (3 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	case 49152000:
+			epll_con1 |= (50332 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (32 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (3 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	case 67738000:
+			epll_con1 |= (10398 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (45 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (3 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	case 73728000:
+			epll_con1 |= (9961 << S3C_EPLL_CON_K_SHIFT);
+			epll_con0 |= (49 << S3C_EPLL_CON_M_SHIFT) |
+					(1 << S3C_EPLL_CON_P_SHIFT) | (3 << S3C_EPLL_CON_S_SHIFT);
+			break;
+	default:
+			printk(KERN_ERR "Invalid Clock Freq!\n");
+			return -EINVAL;
+	}
+
+	__raw_writel(epll_con0, S3C_EPLL_CON);
+	__raw_writel(epll_con1, S3C_EPLL_CON_K);
+
+	clk->rate = rate;
+
+	return 0;
+}
+
+struct clk clk_fout_epll = {
+	.name		= "fout_epll",
+	.id		= -1,
+	.ctrlbit	= (1<<31),
+	.enable		= fout_enable,
+	.get_rate	= fout_get_rate,
+	.set_rate	= fout_set_rate,
+};
+
+int mout_set_parent(struct clk *clk, struct clk *parent)
+{
+	int src_nr = -1;
+	int ptr;
+	u32 clksrc;
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	struct clk_sources *srcs = sclk->sources;
+
+	clksrc = __raw_readl(S3C_CLK_SRC0);
+
+	for (ptr = 0; ptr < srcs->nr_sources; ptr++)
+		if (srcs->sources[ptr] == parent) {
+			src_nr = ptr;
+			break;
+		}
+
+	if (src_nr >= 0) {
+		clksrc &= ~sclk->mask;
+		clksrc |= src_nr << sclk->shift;
+		__raw_writel(clksrc, S3C_CLK_SRC0);
+		clk->parent = parent;
+		return 0;
+	}
+
+	return -EINVAL;
+}
+
+static struct clk *clk_src_epll_list[] = {
+	[0] = &clk_fin_epll,
+	[1] = &clk_fout_epll,
+};
+
+static struct clk_sources clk_src_epll = {
+	.sources	= clk_src_epll_list,
+	.nr_sources	= ARRAY_SIZE(clk_src_epll_list),
+};
+
+struct clksrc_clk clk_mout_epll = {
+	.clk	= {
+		.name		= "mout_epll",
+		.id		= -1,
+		.set_parent	= mout_set_parent,
+	},
+	.shift		= S3C_CLKSRC_EPLL_MOUT_SHIFT,
+	.mask		= S3C_CLKSRC_EPLL_MOUT,
+	.sources	= &clk_src_epll,
+};
+
+static struct clk *clk_src_mpll_list[] = {
+	[0] = &clk_fin_mpll,
+	[1] = &clk_fout_mpll,
+};
+
+static struct clk_sources clk_src_mpll = {
+	.sources	= clk_src_mpll_list,
+	.nr_sources	= ARRAY_SIZE(clk_src_mpll_list),
+};
+
+struct clksrc_clk clk_mout_mpll = {
+	.clk = {
+		.name		= "mout_mpll",
+		.id		= -1,
+	},
+	.shift		= S3C_CLKSRC_MPLL_MOUT_SHIFT,
+	.mask		= S3C_CLKSRC_MPLL_MOUT,
+	.sources	= &clk_src_mpll,
+};
+
+static unsigned long s5p64xx_clk_doutmpll_get_rate(struct clk *clk)
+{
+	unsigned long rate = clk_get_rate(clk->parent);
+
+	printk(KERN_DEBUG "%s: parent is %ld\n", __func__, rate);
+
+	if (__raw_readl(S3C_CLK_DIV0) & S3C_CLKDIV0_MPLL_MASK)
+		rate /= 2;
+
+	return rate;
+}
+
+struct clk clk_dout_mpll = {
+	.name		= "dout_mpll",
+	.id		= -1,
+	.parent		= &clk_mout_mpll.clk,
+	.get_rate	= s5p64xx_clk_doutmpll_get_rate,
+};
+
+static struct clk clk_iis_cd_v40 = {
+	.name		= "iis_cdclk_v40",
+	.id		= -1,
+};
+
+static struct clk clk_pcm_cd = {
+	.name		= "pcm_cdclk",
+	.id		= -1,
+};
+
+static struct clk *clkset_audio2_list[] = {
+	[0] = &clk_mout_epll.clk,
+	[1] = &clk_dout_mpll,
+	[2] = &clk_fin_epll,
+	[3] = &clk_iis_cd_v40,
+	[4] = &clk_pcm_cd,
+};
+
+static struct clk_sources clkset_audio2 = {
+	.sources	= clkset_audio2_list,
+	.nr_sources	= ARRAY_SIZE(clkset_audio2_list),
+};
+
+static struct clk *clkset_spi_mmc_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	&clk_fin_epll,
+};
+
+static struct clk_sources clkset_spi_mmc = {
+	.sources	= clkset_spi_mmc_list,
+	.nr_sources	= ARRAY_SIZE(clkset_spi_mmc_list),
+};
+
+static struct clk *clkset_uart_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	NULL,
+	NULL
+};
+
+static struct clk_sources clkset_uart = {
+	.sources	= clkset_uart_list,
+	.nr_sources	= ARRAY_SIZE(clkset_uart_list),
+};
+
+/* The peripheral clocks are all controlled via clocksource followed
+ * by an optional divider and gate stage. We currently roll this into
+ * one clock which hides the intermediate clock from the mux.
+ *
+ * Note, the JPEG clock can only be an even divider...
+ *
+ * The scaler and LCD clocks depend on the S5P64XX version, and also
+ * have a common parent divisor so are not included here.
+ */
+
+static unsigned long s5p64xx_getrate_clksrc(struct clk *clk)
+{
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	unsigned long rate = clk_get_rate(clk->parent);
+	u32 clkdiv = __raw_readl(sclk->reg_divider);
+
+	clkdiv >>= sclk->divider_shift;
+	clkdiv &= 0xf;
+	clkdiv++;
+
+	rate /= clkdiv;
+	return rate;
+}
+
+static int s5p64xx_setrate_clksrc(struct clk *clk, unsigned long rate)
+{
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	void __iomem *reg = sclk->reg_divider;
+	unsigned int div;
+	u32 val;
+
+	rate = clk_round_rate(clk, rate);
+	div = clk_get_rate(clk->parent) / rate;
+
+	val = __raw_readl(reg);
+	val &= ~(0xf << sclk->divider_shift);
+	val |= ((div - 1) << sclk->divider_shift);
+	__raw_writel(val, reg);
+
+	return 0;
+}
+
+static struct clksrc_clk clk_audio2;
+
+static int s5p64xx_setparent_clksrc(struct clk *clk, struct clk *parent)
+{
+	int ptr;
+	int src_nr = -1;
+	u32 clksrc;
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	struct clk_sources *srcs = sclk->sources;
+
+	if(sclk == &clk_audio2)
+	   clksrc = __raw_readl(S3C_CLK_SRC1);
+	else
+	   clksrc = __raw_readl(S3C_CLK_SRC0);
+
+	for (ptr = 0; ptr < srcs->nr_sources; ptr++)
+		if (srcs->sources[ptr] == parent) {
+			src_nr = ptr;
+			break;
+		}
+
+	if (src_nr >= 0) {
+		clksrc &= ~sclk->mask;
+		clksrc |= src_nr << sclk->shift;
+
+		if(sclk == &clk_audio2)
+		   __raw_writel(clksrc, S3C_CLK_SRC1);
+		else
+		   __raw_writel(clksrc, S3C_CLK_SRC0);
+
+		clk->parent = parent;
+
+		return 0;
+	}
+
+	return -EINVAL;
+}
+
+static unsigned long s5p64xx_roundrate_clksrc(struct clk *clk,
+					      unsigned long rate)
+{
+	unsigned long parent_rate = clk_get_rate(clk->parent);
+	int div;
+
+	if (rate > parent_rate)
+		rate = parent_rate;
+	else {
+		div = rate / parent_rate;
+
+		if (div == 0)
+			div = 1;
+		if (div > 16)
+			div = 16;
+
+		rate = parent_rate / div;
+	}
+
+	return rate;
+}
+
+static struct clksrc_clk clk_mmc0 = {
+	.clk	= {
+		.name		= "mmc_bus",
+		.id		= 0,
+		.ctrlbit        = S3C_CLKCON_SCLK0_MMC0,
+		.enable		= s5p64xx_sclk_ctrl,
+		.set_parent	= s5p64xx_setparent_clksrc,
+		.get_rate	= s5p64xx_getrate_clksrc,
+		.set_rate	= s5p64xx_setrate_clksrc,
+		.round_rate	= s5p64xx_roundrate_clksrc,
+	},
+	.shift		= S3C_CLKSRC_MMC0_SHIFT,
+	.mask		= S3C_CLKSRC_MMC0_MASK,
+	.sources	= &clkset_spi_mmc,
+	.divider_shift	= S3C_CLKDIV1_MMC0_SHIFT,
+	.reg_divider	= S3C_CLK_DIV1,
+};
+
+static struct clksrc_clk clk_mmc1 = {
+	.clk	= {
+		.name		= "mmc_bus",
+		.id		= 1,
+		.ctrlbit        = S3C_CLKCON_SCLK0_MMC1,
+		.enable		= s5p64xx_sclk_ctrl,
+		.get_rate	= s5p64xx_getrate_clksrc,
+		.set_rate	= s5p64xx_setrate_clksrc,
+		.set_parent	= s5p64xx_setparent_clksrc,
+		.round_rate	= s5p64xx_roundrate_clksrc,
+	},
+	.shift		= S3C_CLKSRC_MMC1_SHIFT,
+	.mask		= S3C_CLKSRC_MMC1_MASK,
+	.sources	= &clkset_spi_mmc,
+	.divider_shift	= S3C_CLKDIV1_MMC1_SHIFT,
+	.reg_divider	= S3C_CLK_DIV1,
+};
+
+static struct clksrc_clk clk_mmc2 = {
+	.clk	= {
+		.name		= "mmc_bus",
+		.id		= 2,
+		.ctrlbit        = S3C_CLKCON_SCLK0_MMC2,
+		.enable		= s5p64xx_sclk_ctrl,
+		.get_rate	= s5p64xx_getrate_clksrc,
+		.set_rate	= s5p64xx_setrate_clksrc,
+		.set_parent	= s5p64xx_setparent_clksrc,
+		.round_rate	= s5p64xx_roundrate_clksrc,
+	},
+	.shift		= S3C_CLKSRC_MMC2_SHIFT,
+	.mask		= S3C_CLKSRC_MMC2_MASK,
+	.sources	= &clkset_spi_mmc,
+	.divider_shift	= S3C_CLKDIV1_MMC2_SHIFT,
+	.reg_divider	= S3C_CLK_DIV1,
+};
+
+static struct clksrc_clk clk_uart_uclk1 = {
+	.clk	= {
+		.name		= "uclk1",
+		.id		= -1,
+		.ctrlbit        = S3C_CLKCON_SCLK0_UART,
+		.enable		= s5p64xx_sclk_ctrl,
+		.set_parent	= s5p64xx_setparent_clksrc,
+		.get_rate	= s5p64xx_getrate_clksrc,
+		.set_rate	= s5p64xx_setrate_clksrc,
+		.round_rate	= s5p64xx_roundrate_clksrc,
+	},
+	.shift		= S3C_CLKSRC_UART_SHIFT,
+	.mask		= S3C_CLKSRC_UART_MASK,
+	.sources	= &clkset_uart,
+	.divider_shift	= S3C_CLKDIV2_UART_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+
+static struct clksrc_clk clk_audio2 = {
+	.clk	= {
+		.name		= "audio-bus2",
+		.id		= -1,
+		.ctrlbit        = S3C_CLKCON_SCLK0_AUDIO2,
+		.enable		= s5p64xx_sclk_ctrl,
+		.set_parent	= s5p64xx_setparent_clksrc,
+		.get_rate	= s5p64xx_getrate_clksrc,
+		.set_rate	= s5p64xx_setrate_clksrc,
+		.round_rate	= s5p64xx_roundrate_clksrc,
+	},
+	.shift		= S3C_CLKSRC1_AUDIO2_SHIFT,
+	.mask		= S3C_CLKSRC1_AUDIO2_MASK,
+	.sources	= &clkset_audio2,
+	.divider_shift	= S3C_CLKDIV2_AUDIO2_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+
+/* Where does UCLK0 come from? */
+
+static struct clksrc_clk clk_spi0 = {
+	.clk	= {
+		.name		= "spi-bus",
+		.id		= 0,
+		.ctrlbit        = S3C_CLKCON_SCLK0_SPI0,
+		.enable		= s5p64xx_sclk_ctrl,
+		.set_parent	= s5p64xx_setparent_clksrc,
+		.get_rate	= s5p64xx_getrate_clksrc,
+		.set_rate	= s5p64xx_setrate_clksrc,
+		.round_rate	= s5p64xx_roundrate_clksrc,
+	},
+	.shift		= S3C_CLKSRC_SPI0_SHIFT,
+	.mask		= S3C_CLKSRC_SPI0_MASK,
+	.sources	= &clkset_spi_mmc,
+	.divider_shift	= S3C_CLKDIV2_SPI0_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+
+static struct clksrc_clk clk_spi1 = {
+	.clk	= {
+		.name		= "spi-bus",
+		.id		= 1,
+		.ctrlbit        = S3C_CLKCON_SCLK0_SPI1,
+		.enable		= s5p64xx_sclk_ctrl,
+		.set_parent	= s5p64xx_setparent_clksrc,
+		.get_rate	= s5p64xx_getrate_clksrc,
+		.set_rate	= s5p64xx_setrate_clksrc,
+		.round_rate	= s5p64xx_roundrate_clksrc,
+	},
+	.shift		= S3C_CLKSRC_SPI1_SHIFT,
+	.mask		= S3C_CLKSRC_SPI1_MASK,
+	.sources	= &clkset_spi_mmc,
+	.divider_shift	= S3C_CLKDIV2_SPI1_SHIFT,
+	.reg_divider	= S3C_CLK_DIV2,
+};
+
+/* Clock initialisation code */
+
+static struct clksrc_clk *init_parents[] = {
+	&clk_mout_apll,
+	&clk_mout_epll,
+	&clk_mout_mpll,
+	&clk_mmc0,
+	&clk_mmc1,
+	&clk_mmc2,
+	&clk_uart_uclk1,
+	&clk_spi0,
+	&clk_spi1,
+	&clk_audio2,
+};
+
+static void __init_or_cpufreq s5p6440_set_clksrc(struct clksrc_clk *clk)
+{
+	u32 clksrc;
+	struct clk_sources *srcs = clk->sources;
+
+	if(clk == &clk_audio2)
+	   clksrc = __raw_readl(S3C_CLK_SRC1);
+	else
+	   clksrc = __raw_readl(S3C_CLK_SRC0);
+
+	clksrc &= clk->mask;
+	clksrc >>= clk->shift;
+
+	if (clksrc > srcs->nr_sources || !srcs->sources[clksrc]) {
+		printk(KERN_ERR "%s: bad source %d\n",
+		       clk->clk.name, clksrc);
+		return;
+	}
+
+	clk->clk.parent = srcs->sources[clksrc];
+
+	printk(KERN_INFO "%s: source is %s (%d), rate is %ld.%ldMHz\n",
+	       clk->clk.name, clk->clk.parent->name, clksrc,
+	       print_mhz(clk_get_rate(&clk->clk)));
+}
+
+#define GET_DIV(clk, field) ((((clk) & field##_MASK) >> field##_SHIFT) + 1)
+
+void __init_or_cpufreq s5p6440_setup_clocks(void)
+{
+	struct clk *xtal_clk;
+	unsigned long xtal;
+	unsigned long fclk;
+	unsigned long hclk;
+	unsigned long hclk_low;
+	unsigned long pclk;
+	unsigned long pclk_low;
+	unsigned long epll;
+	unsigned long apll;
+	unsigned long mpll;
+	unsigned int ptr;
+	u32 clkdiv0;
+	u32 clkdiv3;
+	u32 clkdiv1;
+
+	printk(KERN_DEBUG "%s: registering clocks\n", __func__);
+
+	clkdiv0 = __raw_readl(S3C_CLK_DIV0);
+	printk(KERN_DEBUG "%s: clkdiv0 = %08x\n", __func__, clkdiv0);
+
+	clkdiv3 = __raw_readl(S3C_CLK_DIV3);
+	printk(KERN_DEBUG "%s: clkdiv3 = %08x\n", __func__, clkdiv3);
+
+	/* init mmc_clock source */
+	s5p64xx_setparent_clksrc(&clk_mmc0.clk, &clk_dout_mpll);
+	s5p64xx_setparent_clksrc(&clk_mmc1.clk, &clk_dout_mpll);
+	s5p64xx_setparent_clksrc(&clk_mmc2.clk, &clk_dout_mpll);
+
+	/* init mmc_clock divider */
+	clkdiv1 = __raw_readl(S3C_CLK_DIV1);
+	clkdiv1 &= ~0x00000fff;
+	writel(clkdiv1 | 0x777, S3C_CLK_DIV1);
+	clkdiv1 = __raw_readl(S3C_CLK_DIV1);
+
+	xtal_clk = clk_get(NULL, "xtal");
+	BUG_ON(IS_ERR(xtal_clk));
+
+	xtal = clk_get_rate(xtal_clk);
+	clk_put(xtal_clk);
+
+	printk(KERN_DEBUG "%s: xtal is %ld\n", __func__, xtal);
+
+	epll = s5p6440_get_epll(xtal);
+	mpll = s5p6440_get_pll(xtal, __raw_readl(S3C_MPLL_CON));
+	apll = s5p6440_get_pll(xtal, __raw_readl(S3C_APLL_CON));
+
+	printk(KERN_INFO "S5P64XX: PLL settings, A=%ld.%ldMHz, M=%ld.%ldMHz," \
+							" E=%ld.%ldMHz\n",
+	       print_mhz(apll), print_mhz(mpll), print_mhz(epll));
+
+	fclk = apll / GET_DIV(clkdiv0, S3C_CLKDIV0_ARM);
+	hclk = fclk / GET_DIV(clkdiv0, S3C_CLKDIV0_HCLK);
+	pclk = hclk / GET_DIV(clkdiv0, S3C_CLKDIV0_PCLK);
+
+	if(__raw_readl(S3C_OTHERS) & S3C_OTHERS_HCLK_LOW_SEL_MPLL) {
+		/* Synchronous mode */
+		hclk_low = apll / GET_DIV(clkdiv3, S3C_CLKDIV3_HCLK_LOW);
+	} else {
+		/* Asynchronous mode */
+		hclk_low = mpll / GET_DIV(clkdiv3, S3C_CLKDIV3_HCLK_LOW);
+	}
+
+	pclk_low = hclk_low / GET_DIV(clkdiv3, S3C_CLKDIV3_PCLK_LOW);
+
+	printk(KERN_INFO "S5P64XX: HCLK=%ld.%ldMHz, HCLK_LOW=%ld.%ldMHz," \
+				" PCLK=%ld.%ldMHz, PCLK_LOW=%ld.%ldMHz\n",
+			       print_mhz(hclk), print_mhz(hclk_low),
+			       print_mhz(pclk), print_mhz(pclk_low));
+
+	clk_fout_mpll.rate = mpll;
+	clk_fout_epll.rate = epll;
+	clk_fout_apll.rate = apll;
+
+	clk_f.rate = fclk;
+	clk_h.rate = hclk;
+	clk_p.rate = pclk;
+	clk_h_low.rate = hclk_low;
+	clk_p_low.rate = pclk_low;
+
+	for (ptr = 0; ptr < ARRAY_SIZE(init_parents); ptr++)
+		s5p6440_set_clksrc(init_parents[ptr]);
+}
+
+static struct clk *clks[] __initdata = {
+	&clk_ext_xtal_mux,
+	&clk_mout_epll.clk,
+	&clk_fout_epll,
+	&clk_mout_mpll.clk,
+	&clk_dout_mpll,
+	&clk_iis_cd_v40,
+	&clk_pcm_cd,
+	&clk_mmc0.clk,
+	&clk_mmc1.clk,
+	&clk_mmc2.clk,
+	&clk_uart_uclk1.clk,
+	&clk_spi0.clk,
+	&clk_spi1.clk,
+	&clk_audio2.clk,
+};
+
+void __init s5p6440_register_clocks(void)
+{
+	struct clk *clkp;
+	int ret;
+	int ptr;
+
+	for (ptr = 0; ptr < ARRAY_SIZE(clks); ptr++) {
+		clkp = clks[ptr];
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+	}
+
+//	clk_mpll.parent = &clk_mout_mpll.clk;
+	clk_epll.parent = &clk_mout_epll.clk;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/s5p6440-init.c linux-2.6.28.6/arch/arm/plat-s5p64xx/s5p6440-init.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/s5p6440-init.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/s5p6440-init.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,28 @@
+/* linux/arch/arm/plat-s5p64xx/s5p6440-init.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5P6440 - CPU initialisation (common with other S5P64XX chips)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/init.h>
+
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/s5p6440.h>
+
+/* uart registration process */
+
+void __init s5p6440_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
+{
+	s3c24xx_init_uartdevs("s3c6400-uart", s5p64xx_uart_resources, cfg, no);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/s5p64xx-cpufreq.c linux-2.6.28.6/arch/arm/plat-s5p64xx/s5p64xx-cpufreq.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/s5p64xx-cpufreq.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/s5p64xx-cpufreq.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,214 @@
+/*
+ *  linux/arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c
+ *
+ *  CPU frequency scaling for S3C64XX
+ *
+ *  Copyright (C) 2008 Samsung Electronics
+ *
+ *  Based on cpu-sa1110.c, Copyright (C) 2001 Russell King
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <linux/types.h>
+#include <linux/kernel.h>
+#include <linux/sched.h>
+#include <linux/cpufreq.h>
+#include <linux/delay.h>
+#include <linux/init.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+
+//#include <mach/hardware.h>
+#include <asm/system.h>
+
+#include <mach/map.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-f.h>
+
+#define USE_FREQ_TABLE
+#define USE_DVS
+#define VERY_HI_RATE	532*1000*1000
+#define APLL_GEN_CLK	532*1000	//khz
+#define KHZ_T		1000
+
+#define MPU_CLK		"clk_cpu"
+
+/* definition for power setting function */
+extern int set_power(unsigned int freq);
+extern void ltc3714_init(void);
+
+#define ARM_LE	0
+#define INT_LE	1
+
+//#define CLK_PROBING
+
+/* frequency */
+static struct cpufreq_frequency_table s5p6440_freq_table[] = {
+	{APLL_GEN_CLK, APLL_GEN_CLK},
+	{APLL_GEN_CLK, APLL_GEN_CLK/2},
+	{APLL_GEN_CLK, APLL_GEN_CLK/4},
+	{0, CPUFREQ_TABLE_END},
+};
+
+/* TODO: Add support for SDRAM timing changes */
+
+int s5p6440_verify_speed(struct cpufreq_policy *policy)
+{
+#ifndef USE_FREQ_TABLE
+	struct clk *mpu_clk;
+#endif
+
+	if (policy->cpu)
+		return -EINVAL;
+#ifdef USE_FREQ_TABLE
+	return cpufreq_frequency_table_verify(policy, s5p6440_freq_table);
+#else
+	cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq,
+				     policy->cpuinfo.max_freq);
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return PTR_ERR(mpu_clk);
+
+	policy->min = clk_round_rate(mpu_clk, policy->min * KHZ_T) / KHZ_T;
+	policy->max = clk_round_rate(mpu_clk, policy->max * KHZ_T) / KHZ_T;
+
+	cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq,
+				     policy->cpuinfo.max_freq);
+
+	clk_put(mpu_clk);
+
+	return 0;
+#endif
+}
+
+unsigned int s5p6440_getspeed(unsigned int cpu)
+{
+	struct clk * mpu_clk;
+	unsigned long rate;
+
+	if (cpu)
+		return 0;
+
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return 0;
+	rate = clk_get_rate(mpu_clk) / KHZ_T;
+
+	clk_put(mpu_clk);
+
+	return rate;
+}
+
+static int s5p6440_target(struct cpufreq_policy *policy,
+		       unsigned int target_freq,
+		       unsigned int relation)
+{
+	struct clk * mpu_clk;
+	struct cpufreq_freqs freqs;
+	int ret = 0;
+	unsigned long arm_clk;
+	unsigned int index;
+
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return PTR_ERR(mpu_clk);
+
+	freqs.old = s5p6440_getspeed(0);
+#ifdef USE_FREQ_TABLE
+	if (cpufreq_frequency_table_target(policy, s5p6440_freq_table, target_freq, relation, &index))
+		return -EINVAL;
+
+	arm_clk = s5p6440_freq_table[index].frequency;
+
+	freqs.new = arm_clk;
+#else
+	freqs.new = clk_round_rate(mpu_clk, target_freq * KHZ_T) / KHZ_T;
+#endif
+	freqs.cpu = 0;
+
+	cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
+#ifdef USE_DVS
+	if(freqs.new < freqs.old){
+		/* frequency scaling */
+		ret = clk_set_rate(mpu_clk, target_freq * KHZ_T);
+		if(ret != 0)
+			printk("frequency scaling error\n");
+		/* voltage scaling */
+		set_power(freqs.new);
+	}else{
+		/* voltage scaling */
+		set_power(freqs.new);
+
+		/* frequency scaling */
+		ret = clk_set_rate(mpu_clk, target_freq * KHZ_T);
+		if(ret != 0)
+			printk("frequency scaling error\n");
+	}
+
+
+#else
+	ret = clk_set_rate(mpu_clk, target_freq * KHZ_T);
+	if(ret != 0)
+		printk("frequency scaling error\n");
+
+#endif
+	cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
+	clk_put(mpu_clk);
+	return ret;
+}
+
+static int __init s5p6440_cpu_init(struct cpufreq_policy *policy)
+{
+	struct clk * mpu_clk;
+
+#ifdef USE_DVS
+	ltc3714_init();
+#endif
+
+#ifdef CLK_PROBING
+	__raw_writel((__raw_readl(S5P64XX_GPFCON)&~(0x3<<28))|(0x3<<28), S5P64XX_GPFCON);
+	__raw_writel((__raw_readl(S3C_CLK_OUT)&~(0xf<<12)), S3C_CLK_OUT);
+#endif
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return PTR_ERR(mpu_clk);
+
+	if (policy->cpu != 0)
+		return -EINVAL;
+	policy->cur = policy->min = policy->max = s5p6440_getspeed(0);
+#ifdef USE_FREQ_TABLE
+	cpufreq_frequency_table_get_attr(s5p6440_freq_table, policy->cpu);
+#else
+	policy->cpuinfo.min_freq = clk_round_rate(mpu_clk, 0) / KHZ_T;
+	policy->cpuinfo.max_freq = clk_round_rate(mpu_clk, VERY_HI_RATE) / KHZ_T;
+#endif
+	policy->cpuinfo.transition_latency = 40000;	//1us
+
+
+	clk_put(mpu_clk);
+#ifdef USE_FREQ_TABLE
+	return cpufreq_frequency_table_cpuinfo(policy, s5p6440_freq_table);
+#else
+	return 0;
+#endif
+}
+
+static struct cpufreq_driver s5p6440_driver = {
+	.flags		= CPUFREQ_STICKY,
+	.verify		= s5p6440_verify_speed,
+	.target		= s5p6440_target,
+	.get		= s5p6440_getspeed,
+	.init		= s5p6440_cpu_init,
+	.name		= "s5p6440",
+};
+
+static int __init s5p6440_cpufreq_init(void)
+{
+	return cpufreq_register_driver(&s5p6440_driver);
+}
+
+arch_initcall(s5p6440_cpufreq_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/setup-i2c0.c linux-2.6.28.6/arch/arm/plat-s5p64xx/setup-i2c0.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/setup-i2c0.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/setup-i2c0.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,31 @@
+/* linux/arch/arm/plat-s5p64xx/setup-i2c0.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S5P64XX I2C bus 0 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+
+struct platform_device; /* don't need the contents */
+
+#include <mach/gpio.h>
+#include <plat/iic.h>
+#include <plat/gpio-bank-b.h>
+#include <plat/gpio-cfg.h>
+
+void s3c_i2c0_cfg_gpio(struct platform_device *dev)
+{
+	s3c_gpio_cfgpin(S5P64XX_GPB(5), S5P64XX_GPB5_I2C_SCL0);
+	s3c_gpio_cfgpin(S5P64XX_GPB(6), S5P64XX_GPB6_I2C_SDA0);
+	s3c_gpio_setpull(S5P64XX_GPB(5), S3C_GPIO_PULL_UP);
+	s3c_gpio_setpull(S5P64XX_GPB(6), S3C_GPIO_PULL_UP);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/setup-i2c1.c linux-2.6.28.6/arch/arm/plat-s5p64xx/setup-i2c1.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/setup-i2c1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/setup-i2c1.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,31 @@
+/* linux/arch/arm/plat-s5p64xx/setup-i2c1.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S5P64XX I2C bus 1 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+
+struct platform_device; /* don't need the contents */
+
+#include <mach/gpio.h>
+#include <plat/iic.h>
+#include <plat/gpio-bank-b.h>
+#include <plat/gpio-cfg.h>
+
+void s3c_i2c1_cfg_gpio(struct platform_device *dev)
+{
+	s3c_gpio_cfgpin(S5P64XX_GPB(2), S5P64XX_GPB2_I2C_SCL1);
+	s3c_gpio_cfgpin(S5P64XX_GPB(3), S5P64XX_GPB3_I2C_SDA1);
+	s3c_gpio_setpull(S5P64XX_GPB(2), S3C_GPIO_PULL_UP);
+	s3c_gpio_setpull(S5P64XX_GPB(3), S3C_GPIO_PULL_UP);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/setup-post.c linux-2.6.28.6/arch/arm/plat-s5p64xx/setup-post.c
--- linux-2.6.28/arch/arm/plat-s5p64xx/setup-post.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/setup-post.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,26 @@
+/* linux/arch/arm/plat-s5p64xx/setup-post.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Base Post Processor gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-b.h>
+#include <plat/gpio-bank-f.h>
+
+struct platform_device; /* don't need the contents */
+
+void s3c_post_cfg_gpio(struct platform_device *dev)
+{
+	/* nothing to do */
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5p64xx/sleep.S linux-2.6.28.6/arch/arm/plat-s5p64xx/sleep.S
--- linux-2.6.28/arch/arm/plat-s5p64xx/sleep.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5p64xx/sleep.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,117 @@
+/* linux/0arch/arm/plat-s3c64xx/sleep.S
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S3C64XX CPU sleep code
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/linkage.h>
+#include <asm/assembler.h>
+#include <mach/map.h>
+
+#include <plat/regs-gpio.h>
+
+	.text
+
+	/* s3c_cpu_save
+	 *
+	 * Save enough processor state to allow the restart of the pm.c
+	 * code after resume.
+	 *
+	 * entry:
+	 *	r0 = pointer to the save block
+	 * exit:
+	 *	r0 = exit code: 1 => stored data
+	 *			0 => resumed from sleep
+	*/
+
+ENTRY(s5p6440_cpu_save)
+	stmfd	sp!, { r4 - r12, lr }
+
+	mrc	p15, 0, r4, c13, c0, 0	@ FCSE/PID
+	mrc	p15, 0, r5, c3, c0, 0	@ Domain ID
+	mrc	p15, 0, r6, c2, c0, 0	@ Translation Table BASE0
+	mrc	p15, 0, r7, c2, c0, 1	@ Translation Table BASE1
+	mrc	p15, 0, r8, c2, c0, 2	@ Translation Table Control
+	mrc	p15, 0, r9, c1, c0, 0	@ Control register
+	mrc	p15, 0, r10, c1, c0, 1	@ Auxiliary control register
+	mrc	p15, 0, r11, c1, c0, 2	@ Co-processor access controls
+
+	stmia	r0, { r4 - r13 }	@ Save CP registers and SP
+	mov	r0, #0
+	ldmfd	sp, { r4 - r12, pc }	@ return, not disturbing SP
+
+	@@ return to the caller, after the MMU is turned on.
+	@@ restore the last bits of the stack and return.
+resume_with_mmu:
+	mov	r0, #1
+	ldmfd	sp!, { r4 - r12, pc }	@ return, from sp from s3c_cpu_save
+
+	.data
+
+	/* the next bit is code, but it requires easy access to the
+	 * s3c_sleep_save_phys data before the MMU is switched on, so
+	 * we store the code that needs this variable in the .data where
+	 * the value can be written to (the .text segment is RO).
+	*/
+
+	.global	s5p6440_sleep_save_phys
+s5p6440_sleep_save_phys:
+	.word	0
+
+	/* Sleep magic, the word before the resume entry point so that the
+	 * bootloader can check for a resumeable image. */
+
+	.word	0x2bedf00d
+
+	/* s3c_cpu_reusme
+	 *
+	 * This is the entry point, stored by whatever method the bootloader
+	 * requires to get the kernel runnign again. This code expects to be
+	 * entered with no caches live and the MMU disabled. It will then
+	 * restore the MMU and other basic CP registers saved and restart
+	 * the kernel C code to finish the resume code.
+	*/
+
+ENTRY(s5p6440_cpu_resume)
+	msr	cpsr_c, #PSR_I_BIT | PSR_F_BIT | SVC_MODE
+
+	/* __v6_setup from arch/arm/mm/proc-v6.S, ensure that the caches
+	 * are thoroughly cleaned just in case the bootloader didn't do it
+	 * for us. */
+	mov	r0, #0
+	mcr	p15, 0, r0, c7, c14, 0		@ clean+invalidate D cache
+	mcr	p15, 0, r0, c7, c5, 0		@ invalidate I cache
+	mcr	p15, 0, r0, c7, c15, 0		@ clean+invalidate cache
+	mcr	p15, 0, r0, c7, c10, 4		@ drain write buffer
+	@@mcr	p15, 0, r0, c8, c7, 0		@ invalidate I + D TLBs
+	@@mcr	p15, 0, r0, c7, c7, 0		@ Invalidate I + D caches
+
+	ldr	r0, s5p6440_sleep_save_phys
+	ldmia	r0, { r4 - r13 }
+
+	mcr	p15, 0, r4, c13, c0, 0	@ FCSE/PID
+	mcr	p15, 0, r5, c3, c0, 0	@ Domain ID
+	mcr	p15, 0, r6, c2, c0, 0	@ Translation Table BASE0
+	mcr	p15, 0, r7, c2, c0, 1	@ Translation Table BASE1
+	mcr	p15, 0, r8, c2, c0, 2	@ Translation Table Control
+	mcr	p15, 0, r10, c1, c0, 1	@ Auxiliary control register
+
+	mov	r0, #0			@ restore copro access controls
+	mcr	p15, 0, r11, c1, c0, 2	@ Co-processor access controls
+	mcr 	p15, 0, r0, c7, c5, 4
+
+	ldr	r2, =resume_with_mmu
+	mcr	p15, 0, r9, c1, c0, 0		/* turn mmu back on */
+	nop
+	mov	pc, r2				/* jump back */
+
+	.end
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/Kconfig linux-2.6.28.6/arch/arm/plat-s5pc1xx/Kconfig
--- linux-2.6.28/arch/arm/plat-s5pc1xx/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/Kconfig	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,134 @@
+# arch/arm/plat-s5pc1xx/Kconfig
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#	Ben Dooks <ben@simtec.co.uk>
+#
+# Licensed under GPLv2
+
+config PLAT_S5PC1XX
+	bool
+	depends on ARCH_S5PC1XX
+	select PLAT_S3C
+	select ARM_VIC
+	default y
+	select NO_IOPORT
+	select ARCH_REQUIRE_GPIOLIB
+	select S3C_GPIO_TRACK
+	select S3C_GPIO_PULL_UPDOWN
+	select S3C_GPIO_CFG_S5PC1XX
+	select DMABOUNCE
+	help
+	  Base platform code for any Samsung S5PC1XX device
+
+
+if PLAT_S5PC1XX
+# Configuration options shared by all S5PC1XX implementations
+
+config CPU_S5PC100_INIT
+	bool
+	help
+	  Common initialisation code for the S5PC100 that is shared
+	  by other CPUs in the series, such as the S5PC100.
+
+config CPU_S5PC100_CLOCK
+	bool
+	help
+	  Common clock support code for the S3C6400 that is shared
+	  by other CPUs in the series, such as the S3C6410.
+
+# platform specific device setup
+
+config S5PC1XX_SETUP_I2C0
+	bool
+	default y
+	help
+	  Common setup code for i2c bus 0.
+
+	  Note, currently since i2c0 is always compiled, this setup helper
+	  is always compiled with it.
+
+config S5PC1XX_SETUP_I2C1
+	bool
+	default y
+	help
+	  Common setup code for i2c bus 1.
+
+config S5PC1XX_ADC
+        bool "S5PC1XX ADC Driver"
+        depends on PLAT_S5PC1XX
+        help
+          ADC (A/D Conversion) driver for Samsung S5PC1XX.
+
+# FIMC part
+config S5PC1XX_DEV_FIMC0
+	bool
+	default y
+	help
+	  Compile in platform device definitions for FIMC controller 0
+
+config S5PC1XX_DEV_FIMC1
+	bool
+	default y
+	help
+	  Compile in platform device definitions for FIMC controller 1
+
+config S5PC1XX_DEV_FIMC2
+	bool
+	default y
+	help
+	  Compile in platform device definitions for FIMC controller 2
+
+config S5PC1XX_SETUP_FIMC0
+	bool
+	default y
+	help
+	  Common setup code for FIMC controller 0.
+
+config S5PC1XX_SETUP_FIMC1
+	bool
+	default y
+	help
+	  Common setup code for FIMC controller 1.
+
+config S5PC1XX_SETUP_FIMC2
+	bool
+	default y
+	help
+	  Common setup code for FIMC controller 2.
+
+# MIPI-CSIS part
+config S5PC1XX_DEV_CSIS
+	bool
+	default y
+	help
+	  Compile in platform device definitions for MIPI-CSIS
+
+config S5PC1XX_SETUP_CSIS
+	bool
+	default y
+	help
+	  Common setup code for MIPI-CSIS
+
+choice
+        prompt "PWM device support"
+        default NO_PWM
+
+config S5PC1XX_PWM
+        bool "Support Old API"
+        help
+          Support for exporting the PWM timer blocks via old type API
+
+config TIMER_PWM
+        bool "PWM device support"
+        help
+           Support for exporting the PWM timer blocks via the pwm device
+
+config NO_PWM
+        bool "No PWM support"
+        help
+           PWM is not supported
+
+endchoice
+
+endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/Makefile linux-2.6.28.6/arch/arm/plat-s5pc1xx/Makefile
--- linux-2.6.28/arch/arm/plat-s5pc1xx/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/Makefile	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,50 @@
+# arch/arm/plat-s5pc1xx/Makefile
+#
+# Copyright 2008 Openmoko, Inc.
+# Copyright 2008 Simtec Electronics
+#
+# Licensed under GPLv2
+
+obj-y				:=
+obj-m				:=
+obj-n				:= dummy.o
+obj-				:=
+
+# Core files
+
+obj-y				+= dev-uart.o devs.o
+obj-y				+= cpu.o
+obj-y				+= s5pc1xx-time.o
+obj-y				+= irq.o
+obj-y				+= irq-eint.o
+obj-y				+= clock.o
+obj-y				+= gpiolib.o
+obj-y				+= bootmem.o
+
+# CPU support
+
+obj-$(CONFIG_CPU_S5PC100_INIT)	+= s5pc100-init.o
+obj-$(CONFIG_CPU_S5PC100_CLOCK)	+= s5pc100-clock.o changediv.o
+obj-$(CONFIG_PM)                += pm.o
+obj-$(CONFIG_PM)                += sleep.o
+obj-$(CONFIG_CPU_FREQ)		+= s5pc1xx-cpufreq.o ltc3714.o
+
+# Device setup
+obj-$(CONFIG_S5PC1XX_SETUP_I2C0) += setup-i2c0.o
+obj-$(CONFIG_S5PC1XX_SETUP_I2C1) += setup-i2c1.o
+obj-$(CONFIG_S5PC1XX_ADC)        += adc.o
+obj-$(CONFIG_TIMER_PWM)          += pwm.o
+obj-$(CONFIG_S5PC1XX_PWM)        += pwm-s5pc100.o
+
+# Device setup - FIMC
+obj-$(CONFIG_S5PC1XX_DEV_FIMC0)	  += dev-fimc0.o
+obj-$(CONFIG_S5PC1XX_DEV_FIMC1)	  += dev-fimc1.o
+obj-$(CONFIG_S5PC1XX_DEV_FIMC2)	  += dev-fimc2.o
+obj-$(CONFIG_S5PC1XX_SETUP_FIMC0) += setup-fimc0.o
+obj-$(CONFIG_S5PC1XX_SETUP_FIMC1) += setup-fimc1.o
+obj-$(CONFIG_S5PC1XX_SETUP_FIMC2) += setup-fimc2.o
+
+# Device setup - MIPI-CSI2
+obj-$(CONFIG_S5PC1XX_DEV_CSIS)	  += dev-csis.o
+obj-$(CONFIG_S5PC1XX_SETUP_CSIS)  += setup-csis.o
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/adc.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/adc.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/adc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/adc.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,369 @@
+/* linux/arch/arm/plat-s5c1xx/adc.c
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Copyright (c) 2004 Arnaud Patard <arnaud.patard@rtp-net.org>
+ * iPAQ H1940 touchscreen support
+ *
+ * ChangeLog
+ *
+ * 2004-09-05: Herbert Pötzl <herbert@13thfloor.at>
+ *	- added clock (de-)allocation code
+ *
+ * 2005-03-06: Arnaud Patard <arnaud.patard@rtp-net.org>
+ *      - h1940_ -> s3c24xx (this driver is now also used on the n30
+ *        machines :P)
+ *      - Debug messages are now enabled with the config option
+ *        TOUCHSCREEN_S3C_DEBUG
+ *      - Changed the way the value are read
+ *      - Input subsystem should now work
+ *      - Use ioremap and readl/writel
+ *
+ * 2005-03-23: Arnaud Patard <arnaud.patard@rtp-net.org>
+ *      - Make use of some undocumented features of the touchscreen
+ *        controller
+ *
+ */
+
+
+#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/input.h>
+#include <linux/init.h>
+#include <linux/serio.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/miscdevice.h>
+#include <linux/clk.h>
+#include <linux/mutex.h>
+
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <mach/hardware.h>
+#include <asm/uaccess.h>
+
+#include <plat/regs-adc.h>
+#include <plat/adc.h>
+#include <mach/irqs.h>
+
+#define ADC_MINOR 	131
+#define ADC_INPUT_PIN   _IOW('S', 0x0c, unsigned long)
+
+#define ADC_WITH_TOUCHSCREEN
+
+static struct clk	*adc_clock;
+
+static void __iomem 	*base_addr;
+static int adc_port =  0;
+struct s3c_adc_mach_info *plat_data;
+
+
+#ifdef ADC_WITH_TOUCHSCREEN
+static DEFINE_MUTEX(adc_mutex);
+
+static unsigned long data_for_ADCCON;
+static unsigned long data_for_ADCTSC;
+
+static void s3c_adc_save_SFR_on_ADC(void)
+{
+	data_for_ADCCON = readl(base_addr + S3C_ADCCON);
+	data_for_ADCTSC = readl(base_addr + S3C_ADCTSC);
+}
+
+static void s3c_adc_restore_SFR_on_ADC(void)
+{
+	writel(data_for_ADCCON, base_addr + S3C_ADCCON);
+	writel(data_for_ADCTSC, base_addr + S3C_ADCTSC);
+}
+#else
+static struct resource	*adc_mem;
+#endif
+
+static int s3c_adc_open(struct inode *inode, struct file *file)
+{
+	printk(KERN_INFO " s3c_adc_open() entered\n");
+	return 0;
+}
+
+unsigned int s3c_adc_convert(void)
+{
+	unsigned int adc_return = 0;
+	unsigned long data0;
+	unsigned long data1;
+
+	writel(readl(base_addr + S3C_ADCCON) | S3C_ADCCON_SELMUX(adc_port), base_addr + S3C_ADCCON);
+
+	udelay(10);
+
+	writel(readl(base_addr + S3C_ADCCON) | S3C_ADCCON_ENABLE_START, base_addr + S3C_ADCCON);
+
+	do {
+		data0 = readl(base_addr + S3C_ADCCON);
+	} while(!(data0 & S3C_ADCCON_ECFLG));
+
+	data1 = readl(base_addr + S3C_ADCDAT0);
+
+	if (plat_data->resolution == 12)
+		adc_return = data1 & S3C_ADCDAT0_XPDATA_MASK_12BIT;
+	else
+		adc_return = data1 & S3C_ADCDAT0_XPDATA_MASK;
+
+	return adc_return;
+}
+
+
+int s3c_adc_get(struct s3c_adc_request *req)
+{
+	unsigned adc_channel = req->channel;
+	int adc_value_ret = 0;
+
+	adc_value_ret = s3c_adc_convert();
+
+	req->callback(adc_channel, req->param, adc_value_ret);
+
+	return 0;
+}
+EXPORT_SYMBOL(s3c_adc_get);
+
+static ssize_t
+s3c_adc_read(struct file *file, char __user * buffer,
+		size_t size, loff_t * pos)
+{
+	int  adc_value = 0;
+
+	printk(KERN_INFO " s3c_adc_read() entered\n");
+
+#ifdef ADC_WITH_TOUCHSCREEN
+        mutex_lock(&adc_mutex);
+	s3c_adc_save_SFR_on_ADC();
+#endif
+
+	adc_value = s3c_adc_convert();
+
+#ifdef ADC_WITH_TOUCHSCREEN
+	s3c_adc_restore_SFR_on_ADC();
+	mutex_unlock(&adc_mutex);
+#endif
+
+	printk(KERN_INFO " Converted Value: %03d\n", adc_value);
+
+	if (copy_to_user(buffer, &adc_value, sizeof(unsigned int))) {
+		return -EFAULT;
+	}
+	return sizeof(unsigned int);
+}
+
+
+static int s3c_adc_ioctl(struct inode *inode, struct file *file,
+	unsigned int cmd, unsigned long arg)
+{
+
+       printk(KERN_INFO " s3c_adc_ioctl(cmd:: %d) entered\n", cmd);
+
+	switch (cmd) {
+		case ADC_INPUT_PIN:
+			adc_port = (unsigned int) arg;
+
+			if (adc_port >= 4)
+				printk(" %d is already reserved for TouchScreen\n", adc_port);
+			return 0;
+
+              default:
+			return -ENOIOCTLCMD;
+	}
+}
+
+static struct file_operations s3c_adc_fops = {
+	.owner		= THIS_MODULE,
+	.read		= s3c_adc_read,
+	.open		= s3c_adc_open,
+	.ioctl		= s3c_adc_ioctl,
+};
+
+static struct miscdevice s3c_adc_miscdev = {
+	.minor		= ADC_MINOR,
+	.name		= "adc",
+	.fops		= &s3c_adc_fops,
+};
+
+static struct s3c_adc_mach_info *s3c_adc_get_platdata(struct device *dev)
+{
+	if(dev->platform_data != NULL)
+	{
+		printk(KERN_INFO "ADC platform data read\n");
+		return (struct s3c_adc_mach_info*) dev->platform_data;
+	} else {
+		printk(KERN_INFO "No ADC platform data \n");
+		return 0;
+	}
+}
+
+/*
+ * The functions for inserting/removing us as a module.
+ */
+
+static int __init s3c_adc_probe(struct platform_device *pdev)
+{
+	struct resource	*res;
+	struct device *dev;
+	int ret;
+	int size;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	dev = &pdev->dev;
+
+	if(res == NULL){
+		dev_err(dev,"no memory resource specified\n");
+		return -ENOENT;
+	}
+
+	size = (res->end - res->start) + 1;
+
+#if !defined(ADC_WITH_TOUCHSCREEN)
+	adc_mem = request_mem_region(res->start, size, pdev->name);
+	if(adc_mem == NULL){
+		dev_err(dev, "failed to get memory region\n");
+		ret = -ENOENT;
+		goto err_req;
+	}
+#endif
+
+	base_addr = ioremap(res->start, size);
+	if(base_addr ==  NULL){
+		dev_err(dev,"fail to ioremap() region\n");
+		ret = -ENOENT;
+		goto err_map;
+	}
+
+	adc_clock = clk_get(&pdev->dev, "adc");
+
+	if(IS_ERR(adc_clock)){
+		dev_err(dev,"failed to fine ADC clock source\n");
+		ret = PTR_ERR(adc_clock);
+		goto err_clk;
+	}
+
+	clk_enable(adc_clock);
+
+	/* read platform data from device struct */
+	plat_data = s3c_adc_get_platdata(&pdev->dev);
+
+	if ((plat_data->presc & 0xff) > 0)
+		writel(S3C_ADCCON_PRSCEN | S3C_ADCCON_PRSCVL(plat_data->presc & 0xff), base_addr + S3C_ADCCON);
+	else
+		writel(0, base_addr + S3C_ADCCON);
+
+	/* Initialise registers */
+	if ((plat_data->delay & 0xffff) > 0)
+		writel(plat_data->delay & 0xffff, base_addr + S3C_ADCDLY);
+
+	if (plat_data->resolution == 12)
+		writel(readl(base_addr + S3C_ADCCON) | S3C_ADCCON_RESSEL_12BIT, base_addr + S3C_ADCCON);
+
+	ret = misc_register(&s3c_adc_miscdev);
+	if (ret) {
+		printk (KERN_ERR "cannot register miscdev on minor=%d (%d)\n",
+			ADC_MINOR, ret);
+		goto err_clk;
+	}
+
+	printk(KERN_INFO "S5PC1XX ADC driver successfully probed\n");
+
+	return 0;
+
+err_clk:
+	clk_disable(adc_clock);
+	clk_put(adc_clock);
+
+err_map:
+	iounmap(base_addr);
+
+#if !defined(ADC_WITH_TOUCHSCREEN)
+err_req:
+	release_resource(adc_mem);
+	kfree(adc_mem);
+#endif
+
+	return ret;
+}
+
+
+static int s3c_adc_remove(struct platform_device *dev)
+{
+	printk(KERN_INFO "s3c_adc_remove() of ADC called !\n");
+	return 0;
+}
+
+#ifdef CONFIG_PM
+static unsigned int adccon, adctsc, adcdly;
+
+static int s3c_adc_suspend(struct platform_device *dev, pm_message_t state)
+{
+	adccon = readl(base_addr + S3C_ADCCON);
+	adctsc = readl(base_addr + S3C_ADCTSC);
+	adcdly = readl(base_addr + S3C_ADCDLY);
+
+	clk_disable(adc_clock);
+
+	return 0;
+}
+
+static int s3c_adc_resume(struct platform_device *pdev)
+{
+	clk_enable(adc_clock);
+
+	writel(adccon, base_addr + S3C_ADCCON);
+	writel(adctsc, base_addr + S3C_ADCTSC);
+	writel(adcdly, base_addr + S3C_ADCDLY);
+
+	return 0;
+}
+#else
+#define s3c_adc_suspend NULL
+#define s3c_adc_resume  NULL
+#endif
+
+static struct platform_driver s3c_adc_driver = {
+       .probe          = s3c_adc_probe,
+       .remove         = s3c_adc_remove,
+       .suspend        = s3c_adc_suspend,
+       .resume         = s3c_adc_resume,
+       .driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-adc",
+	},
+};
+
+static char banner[] __initdata = KERN_INFO "S5PC1XX ADC driver, (c) 2008 Samsung Electronics\n";
+
+int __init s3c_adc_init(void)
+{
+	printk(banner);
+	return platform_driver_register(&s3c_adc_driver);
+}
+
+void __exit s3c_adc_exit(void)
+{
+	platform_driver_unregister(&s3c_adc_driver);
+}
+
+module_init(s3c_adc_init);
+module_exit(s3c_adc_exit);
+
+MODULE_AUTHOR("boyko.lee@samsung.com");
+MODULE_DESCRIPTION("S5PC1XX ADC driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/bootmem.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/bootmem.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/bootmem.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/bootmem.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,159 @@
+/* linux/arch/arm/plat-s5pc1xx/bootmem.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Bootmem helper functions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/mm.h>
+#include <linux/bootmem.h>
+#include <linux/swap.h>
+#include <asm/setup.h>
+#include <asm/io.h>
+#include <mach/memory.h>
+
+#include "plat/media.h"
+
+static struct s3c_media_device s3c_mdevs[] = {
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC
+	{
+		.id = S3C_MDEV_FIMC,
+		.name = "fimc",
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC * SZ_1K,
+		.paddr = 0,
+	},
+#endif
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST
+	{
+		.id = S3C_MDEV_POST,
+		.name = "pp",
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST * SZ_1K,
+		.paddr = 0,
+	},
+#endif
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV
+	{
+		.id = S3C_MDEV_TV,
+		.name = "tv",
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV * SZ_1K,
+		.paddr = 0,
+	},
+#endif
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC
+	{
+		.id = S3C_MDEV_MFC,
+		.name = "mfc",
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC * SZ_1K,
+		.paddr = 0,
+	},
+#endif
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG
+	{
+		.id = S3C_MDEV_JPEG,
+		.name = "jpeg",
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG * SZ_1K,
+		.paddr = 0,
+	},
+#endif
+
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM
+	{
+		.id = S3C_MDEV_CMM,
+		.name = "cmm",
+		.memsize = CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM * SZ_1K,
+		.paddr = 0,
+	}
+#endif
+};
+
+static struct s3c_media_device *s3c_get_media_device(int dev_id)
+{
+	struct s3c_media_device *mdev = NULL;
+	int i, found;
+
+	if (dev_id < 0 || dev_id >= S3C_MDEV_MAX)
+		return NULL;
+
+	i = 0;
+	found = 0;
+	while (!found && (i < S3C_MDEV_MAX)) {
+		mdev = &s3c_mdevs[i];
+		if (mdev->id == dev_id)
+			found = 1;
+		else
+			i++;
+	}
+
+	if (!found)
+		mdev = NULL;
+
+	return mdev;
+}
+
+dma_addr_t s3c_get_media_memory(int dev_id)
+{
+	struct s3c_media_device *mdev;
+
+	mdev = s3c_get_media_device(dev_id);
+	if (!mdev){
+		printk(KERN_ERR "invalid media device\n");
+		return 0;
+	}
+
+	if (!mdev->paddr) {
+		printk(KERN_ERR "no memory for %s\n", mdev->name);
+		return 0;
+	}
+
+	return mdev->paddr;
+}
+EXPORT_SYMBOL(s3c_get_media_memory);
+
+size_t s3c_get_media_memsize(int dev_id)
+{
+	struct s3c_media_device *mdev;
+
+	mdev = s3c_get_media_device(dev_id);
+	if (!mdev){
+		printk(KERN_ERR "invalid media device\n");
+		return 0;
+	}
+
+	return mdev->memsize;
+}
+EXPORT_SYMBOL(s3c_get_media_memsize);
+
+void s5pc1xx_reserve_bootmem(void)
+{
+	struct s3c_media_device *mdev;
+	int i;
+
+	for(i = 0; i < sizeof(s3c_mdevs) / sizeof(s3c_mdevs[0]); i++) {
+		mdev = &s3c_mdevs[i];
+		if (mdev->memsize > 0) {
+			mdev->paddr = virt_to_phys(alloc_bootmem_low(mdev->memsize));
+			printk(KERN_INFO \
+				"s5pc1xx: %lu bytes SDRAM reserved "
+				"for %s at 0x%08x\n",
+				(unsigned long) mdev->memsize, \
+				mdev->name, mdev->paddr);
+		}
+	}
+}
+
+/* FIXME: temporary implementation to avoid compile error */
+int dma_needs_bounce(struct device *dev, dma_addr_t addr, size_t size)
+{
+	return 0;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/changediv.S linux-2.6.28.6/arch/arm/plat-s5pc1xx/changediv.S
--- linux-2.6.28/arch/arm/plat-s5pc1xx/changediv.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/changediv.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,89 @@
+/* linux/arch/arm/plat-s5pc1xx/changediv.S
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S5PC100 Clock Change (DVFS) support
+ *
+ * Based on PXA/SA1100 sleep code by:
+ *	Nicolas Pitre, (c) 2002 Monta Vista Software Inc
+ *	Cliff Brake, (c) 2001
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+#include <linux/linkage.h>
+#include <asm/assembler.h>
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/regs-clock.h>
+#include <mach/regs-mem.h>
+#include <plat/regs-serial.h>
+
+
+/* CONFIG_DEBUG_RESUME is dangerous if your bootloader does not
+ * reset the UART configuration, only enable if you really need this!
+*/
+	.text
+
+	/* ChangeClkDiv0
+	 *
+	 * save enough of the CPU state to allow us to re-start
+	 * pm.c code. as we store items like the sp/lr, we will
+	 * end up returning from this function when the cpu resumes
+	 * so the return value is set to mark this.
+	 *
+	 * This arangement means we avoid having to flush the cache
+	 * from this code.
+	 *
+	 * entry:
+	 *	r0 = pointer to save block
+	 *
+	 * exit:
+	 *	r0 = 0 => we stored everything
+	 *	     1 => resumed from sleep
+	*/
+
+ENTRY(ChangeClkDiv0)
+	stmfd	sp!, { r0 - r5 }
+	
+	ldr r1, =S5P_CLK_DIV0
+	ldr r2, [r1]
+	mov r3, #0
+	
+loopcd:
+  add r3, r3, #1
+  mov r4, #0
+  
+  mcr p15, 0, r2, c7, c10, 4 @ data synchronization barrier instruction
+  mcr p15, 0, r2, c7, c10, 5 @ data memory barrier operation
+
+  cmp r3, #2
+  streq r0, [r1]
+
+loop1000:
+  add r4, r4, #1
+  cmp r4, #0x2000
+  bne loop1000
+  cmp r3, #2
+  bne loopcd
+  
+  ldmfd sp!, { r0 - r5 }
+  mov pc, lr  
+
+  .ltorg
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/clock.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/clock.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/clock.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,751 @@
+/* linux/arch/arm/plat-s5pc1xx/clock.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S5PC1XX Base clock support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/interrupt.h>
+#include <linux/ioport.h>
+#include <linux/delay.h>
+#include <linux/io.h>
+#include <linux/clk.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/regs-clock.h>
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/clock.h>
+
+struct clk clk_27m = {
+	.name		= "clk_27m",
+	.id		= -1,
+	.rate		= 27000000,
+};
+
+static int clk_48m_ctrl(struct clk *clk, int enable)
+{
+	unsigned long flags;
+	u32 val;
+
+	local_irq_save(flags);
+
+	val = __raw_readl(S5P_CLK_SRC1);
+	if (enable)
+		val |= S5P_CLKSRC1_CLK48M_MASK;
+	else
+		val &= ~S5P_CLKSRC1_CLK48M_MASK;
+
+	__raw_writel(val, S5P_CLK_SRC1);
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+struct clk clk_48m = {
+	.name		= "clk_48m",
+	.id		= -1,
+	.rate		= 48000000,
+	.enable		= clk_48m_ctrl,
+};
+
+struct clk clk_54m = {
+	.name		= "clk_54m",
+	.id		= -1,
+	.rate		= 54000000,
+};
+
+static int inline s5pc1xx_clk_gate(void __iomem *reg,
+				struct clk *clk,
+				int enable)
+{
+	unsigned int ctrlbit = clk->ctrlbit;
+	u32 con;
+
+	con = __raw_readl(reg);
+
+	if (enable)
+		con |= ctrlbit;
+	else
+		con &= ~ctrlbit;
+
+	__raw_writel(con, reg);
+	return 0;
+}
+
+static int s5pc1xx_setrate_sclk_cam(struct clk *clk, unsigned long rate)
+{
+	u32 shift = 24;
+	u32 cam_div, cfg;
+	unsigned long src_clk = clk_get_rate(clk->parent);
+
+	cam_div = src_clk / rate;
+
+	if (cam_div > 32)
+		cam_div = 32;
+
+	cfg = __raw_readl(S5P_CLK_DIV1);
+	cfg &= ~(0x1f << shift);
+	cfg |= ((cam_div - 1) << shift);
+	__raw_writel(cfg, S5P_CLK_DIV1);
+
+	printk("parent clock for camera: %ld.%03ld MHz, divisor: %d\n", \
+		print_mhz(src_clk), cam_div);
+
+	return 0;
+}
+
+static int s5pc1xx_clk_d00_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_CLKGATE_D00, clk, enable);
+}
+
+static int s5pc1xx_clk_d01_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_CLKGATE_D01, clk, enable);
+}
+
+static int s5pc1xx_clk_d02_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_CLKGATE_D02, clk, enable);
+}
+
+static int s5pc1xx_clk_d10_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_CLKGATE_D10, clk, enable);
+}
+
+static int s5pc1xx_clk_d11_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_CLKGATE_D11, clk, enable);
+}
+
+static int s5pc1xx_clk_d12_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_CLKGATE_D12, clk, enable);
+}
+
+static int s5pc1xx_clk_d13_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_CLKGATE_D13, clk, enable);
+}
+
+static int s5pc1xx_clk_d14_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_CLKGATE_D14, clk, enable);
+}
+
+static int s5pc1xx_clk_d15_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_CLKGATE_D15, clk, enable);
+}
+
+static int s5pc1xx_clk_d20_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_CLKGATE_D20, clk, enable);
+}
+
+int s5pc1xx_sclk0_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_SCLKGATE0, clk, enable);
+}
+
+int s5pc1xx_sclk1_ctrl(struct clk *clk, int enable)
+{
+	return s5pc1xx_clk_gate(S5P_SCLKGATE1, clk, enable);
+}
+
+static struct clk init_clocks_disable[] = {
+	{
+		.name		= "mipi-dsim",
+		.id		= -1,
+		.parent		= &clk_27m,
+		.enable		= s5pc1xx_clk_d11_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D11_DSI,
+	}, {
+		.name		= "mipi-csis",
+		.id		= -1,
+		.parent		= &clk_27m,
+		.enable		= s5pc1xx_clk_d11_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D11_CSI,
+	}, {
+		.name		= "ccan",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_CCAN0,
+	}, {
+		.name		= "ccan",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_CCAN1,
+	}, {
+		.name		= "keypad",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_KEYIF,
+	}, {
+		.name		= "hclkd2",
+		.id		= -1,
+		.parent		= NULL,
+		.enable		= s5pc1xx_clk_d20_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D20_HCLKD2,
+	}, {
+		.name		= "iis-d2",
+		.id		= -1,
+		.parent		= NULL,
+		.enable		= s5pc1xx_clk_d20_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D20_I2SD2,
+	}, {
+		.name		= "otg",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d10_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D10_USBOTG,
+	},
+};
+
+static struct clk init_clocks[] = {
+	/* System1 (D0_0) devices */
+	{
+		.name		= "intc",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d00_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D00_INTC,
+	}, {
+		.name		= "tzic",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d00_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D00_TZIC,
+	}, {
+		.name		= "cf-ata",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d00_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D00_CFCON,
+	}, {
+		.name		= "mdma",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d00_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D00_MDMA,
+	}, {
+		.name		= "g2d",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d00_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D00_G2D,
+	}, {
+		.name		= "secss",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d00_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D00_SECSS,
+	}, {
+		.name		= "cssys",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d00_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D00_CSSYS,
+	},
+
+	/* Memory (D0_1) devices */
+	{
+		.name		= "dmc",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d01_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D01_DMC,
+	}, {
+		.name		= "sromc",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d01_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D01_SROMC,
+	}, {
+		.name		= "onenand",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d01_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D01_ONENAND,
+	}, {
+		.name		= "nand",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d01_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D01_NFCON,
+	}, {
+		.name		= "intmem",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d01_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D01_INTMEM,
+	}, {
+		.name		= "ebi",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d01_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D01_EBI,
+	},
+
+	/* System2 (D0_2) devices */
+	{
+		.name		= "seckey",
+		.id		= -1,
+		.parent		= &clk_pd0,
+		.enable		= s5pc1xx_clk_d02_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D02_SECKEY,
+	}, {
+		.name		= "sdm",
+		.id		= -1,
+		.parent		= &clk_hd0,
+		.enable		= s5pc1xx_clk_d02_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D02_SDM,
+	},
+
+	/* File (D1_0) devices */
+	{
+		.name		= "pdma0",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d10_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D10_PDMA0,
+	}, {
+		.name		= "pdma1",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d10_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D10_PDMA1,
+	}, {
+		.name		= "usb-host",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d10_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D10_USBHOST,
+	}, {
+		.name		= "modem",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d10_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D10_MODEMIF,
+	}, {
+		.name		= "hsmmc",
+		.id		= 0,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d10_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D10_HSMMC0,
+	}, {
+		.name		= "hsmmc",
+		.id		= 1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d10_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D10_HSMMC1,
+	}, {
+		.name		= "hsmmc",
+		.id		= 2,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d10_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D10_HSMMC2,
+	},
+
+	/* Multimedia1 (D1_1) devices */
+	{
+		.name		= "lcd",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d11_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D11_LCD,
+	}, {
+		.name		= "rotator",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d11_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D11_ROTATOR,
+	}, {
+		.name		= "fimc0",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d11_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D11_FIMC0,
+	}, {
+		.name		= "fimc1",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d11_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D11_FIMC1,
+	}, {
+		.name		= "fimc2",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d11_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D11_FIMC2,
+	}, {
+		.name		= "jpeg",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d11_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D11_JPEG,
+	}, {
+		.name		= "g3d",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d11_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D11_G3D,
+	},
+
+	/* Multimedia2 (D1_2) devices */
+	{
+		.name		= "tv",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d12_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D12_TV,
+	}, {
+		.name		= "vp",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d12_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D12_VP,
+	}, {
+		.name		= "mixer",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d12_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D12_MIXER,
+	}, {
+		.name		= "hdmi",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d12_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D12_HDMI,
+	}, {
+		.name		= "mfc",
+		.id		= -1,
+		.parent		= &clk_h,
+		.enable		= s5pc1xx_clk_d12_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D12_MFC,
+	},
+
+	/* System (D1_3) devices */
+	{
+		.name		= "chipid",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d13_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D13_CHIPID,
+	}, {
+		.name		= "gpio",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d13_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D13_GPIO,
+	}, {
+		.name		= "apc",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d13_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D13_APC,
+	}, {
+		.name		= "iec",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d13_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D13_IEC,
+	}, {
+		.name		= "timers",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d13_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D13_PWM,
+	}, {
+		.name		= "systimer",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d13_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D13_SYSTIMER,
+	}, {
+		.name		= "watchdog",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d13_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D13_WDT,
+	}, {
+		.name		= "rtc",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d13_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D13_RTC,
+	},
+
+	/* Connectivity (D1_4) devices */
+	{
+		.name		= "uart",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_UART0,
+	}, {
+		.name		= "uart",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_UART1,
+	}, {
+		.name		= "uart",
+		.id		= 2,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_UART2,
+	}, {
+		.name		= "uart",
+		.id		= 3,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_UART3,
+	}, {
+		.name		= "i2c",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_IIC,
+	}, {
+		.name		= "hdmi-i2c",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_HDMI_IIC,
+	}, {
+		.name		= "spi",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_SPI0,
+	}, {
+		.name		= "spi",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_SPI1,
+	}, {
+		.name		= "spi",
+		.id		= 2,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_SPI2,
+	}, {
+		.name		= "irda",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_IRDA,
+	}, {
+		.name		= "hsitx",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_HSITX,
+	}, {
+		.name		= "hsirx",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d14_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D14_HSIRX,
+	},
+
+	/* Audio (D1_5) devices */
+	{
+		.name		= "iis",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_IIS0,
+	}, {
+		.name		= "iis",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_IIS1,
+	}, {
+		.name		= "iis",
+		.id		= 2,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_IIS2,
+	}, {
+		.name		= "ac97",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_AC97,
+	}, {
+		.name		= "pcm",
+		.id		= 0,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_PCM0,
+	}, {
+		.name		= "pcm",
+		.id		= 1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_PCM1,
+	}, {
+		.name		= "spdif",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_SPDIF,
+	}, {
+		.name		= "adc",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_TSADC,
+	}, {
+		.name		= "keyif",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_KEYIF,
+	}, {
+		.name		= "cg",
+		.id		= -1,
+		.parent		= &clk_p,
+		.enable		= s5pc1xx_clk_d15_ctrl,
+		.ctrlbit	= S5P_CLKGATE_D15_CG,
+	},
+
+	/* Audio (D2_0) devices: all disabled */
+
+	/* Special Clocks 1 */
+	{
+		.name		= "sclk_hpm",
+		.id		= -1,
+		.parent		= NULL,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK0_HPM,
+	}, {
+		.name		= "sclk_onenand",
+		.id		= -1,
+		.parent		= NULL,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK0_ONENAND,
+	}, {
+		.name		= "sclk_spi_48",
+		.id		= 0,
+		.parent		= &clk_48m,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK0_SPI0_48,
+	}, {
+		.name		= "sclk_spi_48",
+		.id		= 1,
+		.parent		= &clk_48m,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK0_SPI1_48,
+	}, {
+		.name		= "sclk_spi_48",
+		.id		= 2,
+		.parent		= &clk_48m,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK0_SPI2_48,
+	}, {
+		.name		= "sclk_mmc_48",
+		.id		= 0,
+		.parent		= &clk_48m,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK0_MMC0_48,
+	}, {
+		.name		= "sclk_mmc_48",
+		.id		= 1,
+		.parent		= &clk_48m,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK0_MMC1_48,
+	}, {
+		.name		= "sclk_mmc_48",
+		.id		= 2,
+		.parent		= &clk_48m,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK0_MMC2_48,
+	},
+
+	/* Special Clocks 2 */
+	{
+		.name		= "sclk_tv_54",
+		.id		= -1,
+		.parent		= &clk_54m,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK1_TV54,
+	}, {
+		.name		= "sclk_vdac_54",
+		.id		= -1,
+		.parent		= &clk_54m,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK1_VDAC54,
+	}, {
+		.name		= "sclk_spdif",
+		.id		= -1,
+		.parent		= NULL,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK1_SPDIF,
+	}, {
+		.name		= "sclk_cam",
+		.id		= 0,
+		.parent		= &clk_dout_mpll2,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.ctrlbit	= S5P_CLKGATE_SCLK1_CAM,
+		.set_rate	= s5pc1xx_setrate_sclk_cam,
+	},
+};
+
+static struct clk *clks[] __initdata = {
+	&clk_ext,
+	&clk_epll,
+	&clk_27m,
+	&clk_48m,
+	&clk_54m,
+};
+
+void __init s5pc1xx_register_clocks(void)
+{
+	struct clk *clkp;
+	int ret;
+	int ptr;
+
+	s3c24xx_register_clocks(clks, ARRAY_SIZE(clks));
+
+	clkp = init_clocks;
+	for (ptr = 0; ptr < ARRAY_SIZE(init_clocks); ptr++, clkp++) {
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+	}
+
+	clkp = init_clocks_disable;
+	for (ptr = 0; ptr < ARRAY_SIZE(init_clocks_disable); ptr++, clkp++) {
+
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+
+		(clkp->enable)(clkp, 0);
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/cpu.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/cpu.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/cpu.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/cpu.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,125 @@
+/* linux/arch/arm/plat-s5pc1xx/cpu.c
+ *
+ * Copyright 2008 Samsung Electonics Co.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S5PC1XX CPU Support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/interrupt.h>
+#include <linux/ioport.h>
+#include <linux/serial_core.h>
+#include <linux/platform_device.h>
+#include <linux/delay.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/map.h>
+
+#include <plat/regs-serial.h>
+
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/clock.h>
+#include <plat/s5pc100.h>
+
+/* table of supported CPUs */
+
+static const char name_s5pc100[] = "S5PC100";
+static const char name_s5pc100_pop[] = "S5PC100[POP]";
+
+static struct cpu_table cpu_ids[] __initdata = {
+	{
+		.idcode		= 0x43100000,
+		.idmask		= 0xfffffff0,
+		.map_io		= s5pc100_map_io,
+		.init_clocks    = s5pc100_init_clocks,
+		.init_uarts	= s5pc100_init_uarts,
+		.init		= s5pc100_init,
+		.name		= name_s5pc100
+	},
+	{
+		.idcode		= 0x43100200,
+		.idmask		= 0xfffffff0,
+		.map_io		= s5pc100_map_io,
+		.init_clocks    = s5pc100_init_clocks,
+		.init_uarts	= s5pc100_init_uarts,
+		.init		= s5pc100_init,
+		.name		= name_s5pc100_pop
+	},
+	
+};
+
+/* minimal IO mapping */
+
+/* see notes on uart map in arch/arm/mach-s3c6400/include/mach/debug-macro.S */
+#define UART_OFFS (S3C_PA_UART & 0xfffff)
+
+static struct map_desc s3c_iodesc[] __initdata = {
+	{
+		.virtual	= (unsigned long)S3C_VA_SYS,
+		.pfn		= __phys_to_pfn(S5PC1XX_PA_SYSCON),
+		.length		= SZ_4K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)(S3C_VA_UART + UART_OFFS),
+		.pfn		= __phys_to_pfn(S3C_PA_UART),
+		.length		= SZ_4K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_VIC0,
+		.pfn		= __phys_to_pfn(S5PC1XX_PA_VIC0),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_VIC1,
+		.pfn		= __phys_to_pfn(S5PC1XX_PA_VIC1),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_VIC2,
+		.pfn		= __phys_to_pfn(S5PC1XX_PA_VIC2),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S3C_VA_TIMER,
+		.pfn		= __phys_to_pfn(S3C_PA_TIMER),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S5PC1XX_VA_GPIO,
+		.pfn		= __phys_to_pfn(S5PC1XX_PA_GPIO),
+		.length		= SZ_4K,
+		.type		= MT_DEVICE,
+	}, {
+		.virtual	= (unsigned long)S5PC1XX_VA_CHIPID,
+		.pfn		= __phys_to_pfn(S5PC1XX_PA_CHIPID),
+		.length		= SZ_4K,
+		.type		= MT_DEVICE,
+	},
+};
+
+/* read cpu identification code */
+
+void __init s5pc1xx_init_io(struct map_desc *mach_desc, int size)
+{
+	unsigned long idcode;
+
+	/* initialise the io descriptors we need for initialisation */
+	iotable_init(s3c_iodesc, ARRAY_SIZE(s3c_iodesc));
+	iotable_init(mach_desc, size);
+
+	idcode = __raw_readl(S5PC1XX_VA_CHIPID);
+	s3c_init_cpu(idcode, cpu_ids, ARRAY_SIZE(cpu_ids));
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/dev-csis.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-csis.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/dev-csis.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-csis.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,64 @@
+/* linux/arch/arm/plat-s5pc1xx/dev-csis.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * S5PC1XX series device definition for MIPI-CSI2
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+
+#include <plat/csis.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_csis_resource[] = {
+	[0] = {
+		.start = S5PC1XX_PA_CSIS,
+		.end   = S5PC1XX_PA_CSIS + S5PC1XX_SZ_CSIS - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_MIPICSI,
+		.end   = IRQ_MIPICSI,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
+struct platform_device s3c_device_csis = {
+	.name		  = "s3c-csis",
+	.id		  = 0,
+	.num_resources	  = ARRAY_SIZE(s3c_csis_resource),
+	.resource	  = s3c_csis_resource,
+};
+
+static struct s3c_platform_csis default_csis_data __initdata = {
+	.clk_name = "mipi-csis",
+};
+
+void __init s3c_csis_set_platdata(struct s3c_platform_csis *pd)
+{
+	struct s3c_platform_csis *npd;
+
+	if (!pd)
+		pd = &default_csis_data;
+
+	npd = kmemdup(pd, sizeof(struct s3c_platform_csis), GFP_KERNEL);
+	if (!npd)
+		printk(KERN_ERR "%s: no memory for platform data\n", __func__);
+
+	npd->cfg_gpio = s3c_csis_cfg_gpio;
+	npd->cfg_phy_global = s3c_csis_cfg_phy_global;
+
+	s3c_device_csis.dev.platform_data = npd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/dev-fimc0.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-fimc0.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/dev-fimc0.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-fimc0.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,68 @@
+/* linux/arch/arm/plat-s5pc1xx/dev-fimc0.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * S5PC1XX series device definition for fimc device 0
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+
+#include <plat/fimc.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_fimc_resource[] = {
+	[0] = {
+		.start = S5PC1XX_PA_FIMC0,
+		.end   = S5PC1XX_PA_FIMC0 + SZ_1M - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_FIMC0,
+		.end   = IRQ_FIMC0,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
+struct platform_device s3c_device_fimc0 = {
+	.name		  = "s3c-fimc",
+	.id		  = 0,
+	.num_resources	  = ARRAY_SIZE(s3c_fimc_resource),
+	.resource	  = s3c_fimc_resource,
+};
+
+static struct s3c_platform_fimc default_fimc0_data __initdata = {
+	.srclk_name	= "dout_mpll",
+	.clk_name	= "sclk_fimc",
+	.clockrate	= 133000000,
+	.line_length	= 1280,
+	.nr_frames	= 4,
+	.shared_io	= 0,
+};
+
+void __init s3c_fimc0_set_platdata(struct s3c_platform_fimc *pd)
+{
+	struct s3c_platform_fimc *npd;
+
+	if (!pd)
+		pd = &default_fimc0_data;
+
+	npd = kmemdup(pd, sizeof(struct s3c_platform_fimc), GFP_KERNEL);
+	if (!npd)
+		printk(KERN_ERR "%s: no memory for platform data\n", __func__);
+	else if (!npd->cfg_gpio)
+		npd->cfg_gpio = s3c_fimc0_cfg_gpio;
+
+	s3c_device_fimc0.dev.platform_data = npd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/dev-fimc1.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-fimc1.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/dev-fimc1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-fimc1.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,68 @@
+/* linux/arch/arm/plat-s5pc1xx/dev-fimc1.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * S5PC1XX series device definition for fimc device 1
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+
+#include <plat/fimc.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_fimc_resource[] = {
+	[0] = {
+		.start = S5PC1XX_PA_FIMC1,
+		.end   = S5PC1XX_PA_FIMC1 + SZ_1M - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_FIMC1,
+		.end   = IRQ_FIMC1,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
+struct platform_device s3c_device_fimc1 = {
+	.name		  = "s3c-fimc",
+	.id		  = 1,
+	.num_resources	  = ARRAY_SIZE(s3c_fimc_resource),
+	.resource	  = s3c_fimc_resource,
+};
+
+static struct s3c_platform_fimc default_fimc1_data __initdata = {
+	.srclk_name	= "dout_mpll",
+	.clk_name	= "sclk_fimc",
+	.clockrate	= 133000000,
+	.line_length	= 1280,
+	.nr_frames	= 4,
+	.shared_io	= 0,
+};
+
+void __init s3c_fimc1_set_platdata(struct s3c_platform_fimc *pd)
+{
+	struct s3c_platform_fimc *npd;
+
+	if (!pd)
+		pd = &default_fimc1_data;
+
+	npd = kmemdup(pd, sizeof(struct s3c_platform_fimc), GFP_KERNEL);
+	if (!npd)
+		printk(KERN_ERR "%s: no memory for platform data\n", __func__);
+	else if (!npd->cfg_gpio)
+		npd->cfg_gpio = s3c_fimc1_cfg_gpio;
+
+	s3c_device_fimc1.dev.platform_data = npd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/dev-fimc2.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-fimc2.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/dev-fimc2.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-fimc2.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,68 @@
+/* linux/arch/arm/plat-s5pc1xx/dev-fimc2.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * S5PC1XX series device definition for fimc device 2
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+
+#include <plat/fimc.h>
+#include <plat/devs.h>
+#include <plat/cpu.h>
+
+static struct resource s3c_fimc_resource[] = {
+	[0] = {
+		.start = S5PC1XX_PA_FIMC2,
+		.end   = S5PC1XX_PA_FIMC2 + SZ_1M - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_FIMC2,
+		.end   = IRQ_FIMC2,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
+struct platform_device s3c_device_fimc2 = {
+	.name		  = "s3c-fimc",
+	.id		  = 2,
+	.num_resources	  = ARRAY_SIZE(s3c_fimc_resource),
+	.resource	  = s3c_fimc_resource,
+};
+
+static struct s3c_platform_fimc default_fimc2_data __initdata = {
+	.srclk_name	= "dout_mpll",
+	.clk_name	= "sclk_fimc",
+	.clockrate	= 133000000,
+	.line_length	= 1280,
+	.nr_frames	= 4,
+	.shared_io	= 0,
+};
+
+void __init s3c_fimc2_set_platdata(struct s3c_platform_fimc *pd)
+{
+	struct s3c_platform_fimc *npd;
+
+	if (!pd)
+		pd = &default_fimc2_data;
+
+	npd = kmemdup(pd, sizeof(struct s3c_platform_fimc), GFP_KERNEL);
+	if (!npd)
+		printk(KERN_ERR "%s: no memory for platform data\n", __func__);
+	else if (!npd->cfg_gpio)
+		npd->cfg_gpio = s3c_fimc2_cfg_gpio;
+
+	s3c_device_fimc2.dev.platform_data = npd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/dev-fimd.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-fimd.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/dev-fimd.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-fimd.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,68 @@
+/* linux/arch/arm/plat-s5pc1xx/dev-fimd.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * S5PC1XX series device definition for FIMD
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+
+#include <mach/map.h>
+
+#include <plat/fimd.h>
+#include <plat/devs.h>
+
+static struct resource s3c_fimd_resource[] = {
+	[0] = {
+		.start = S5PC1XX_PA_LCD,
+		.end   = S5PC1XX_PA_LCD + S5PC1XX_SZ_LCD - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_LCD0,
+		.end   = IRQ_LCD3,
+		.flags = IORESOURCE_IRQ,
+	},
+};
+
+struct platform_device s3c_device_fimd = {
+	.name		  = "s3c-fimd",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_fimd_resource),
+	.resource	  = s3c_fimd_resource,
+};
+
+static struct s3c_platform_fimd default_fimd_data __initdata = {
+	.hw_ver	= 0x50,
+	.clk_name = "lcd",
+	.clockrate = 66000000,
+	.max_wins = 5,
+	.max_buffers = 2,
+};
+
+void __init s3c_fimd_set_platdata(struct s3c_platform_fimd *pd)
+{
+	struct s3c_platform_fimd *npd;
+
+	if (!pd)
+		pd = &default_fimd_data;
+
+	npd = kmemdup(pd, sizeof(struct s3c_platform_fimd), GFP_KERNEL);
+	if (!npd)
+		printk(KERN_ERR "%s: no memory for platform data\n", __func__);
+
+	npd->cfg_gpio = s3c_fimd_cfg_gpio;
+	npd->backlight_on = s3c_fimd_backlight_on;
+	npd->reset_lcd = s3c_fimd_reset_lcd;
+
+	s3c_device_fimd.dev.platform_data = npd;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/dev-uart.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-uart.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/dev-uart.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/dev-uart.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,176 @@
+/* linux/arch/arm/plat-s5pc1xx/dev-uart.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S5PC1XX UART resource and device definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/platform_device.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/irq.h>
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/devs.h>
+
+/* Serial port registrations */
+
+/* 64xx uarts are closer together */
+
+static struct resource s5pc1xx_uart0_resource[] = {
+	[0] = {
+		.start	= S3C_PA_UART0,
+		.end	= S3C_PA_UART0 + 0x100,
+		.flags	= IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX0,
+		.end	= IRQ_S3CUART_RX0,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX0,
+		.end	= IRQ_S3CUART_TX0,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR0,
+		.end	= IRQ_S3CUART_ERR0,
+		.flags	= IORESOURCE_IRQ,
+	}
+};
+
+static struct resource s5pc1xx_uart1_resource[] = {
+	[0] = {
+		.start = S3C_PA_UART1,
+		.end   = S3C_PA_UART1 + 0x100,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX1,
+		.end	= IRQ_S3CUART_RX1,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX1,
+		.end	= IRQ_S3CUART_TX1,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR1,
+		.end	= IRQ_S3CUART_ERR1,
+		.flags	= IORESOURCE_IRQ,
+	},
+};
+
+static struct resource s5pc1xx_uart2_resource[] = {
+	[0] = {
+		.start = S3C_PA_UART2,
+		.end   = S3C_PA_UART2 + 0x100,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX2,
+		.end	= IRQ_S3CUART_RX2,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX2,
+		.end	= IRQ_S3CUART_TX2,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR2,
+		.end	= IRQ_S3CUART_ERR2,
+		.flags	= IORESOURCE_IRQ,
+	},
+};
+
+static struct resource s5pc1xx_uart3_resource[] = {
+	[0] = {
+		.start = S3C_PA_UART3,
+		.end   = S3C_PA_UART3 + 0x100,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_S3CUART_RX3,
+		.end	= IRQ_S3CUART_RX3,
+		.flags	= IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start	= IRQ_S3CUART_TX3,
+		.end	= IRQ_S3CUART_TX3,
+		.flags	= IORESOURCE_IRQ,
+
+	},
+	[3] = {
+		.start	= IRQ_S3CUART_ERR3,
+		.end	= IRQ_S3CUART_ERR3,
+		.flags	= IORESOURCE_IRQ,
+	},
+};
+
+
+struct s3c24xx_uart_resources s5pc1xx_uart_resources[] __initdata = {
+	[0] = {
+		.resources	= s5pc1xx_uart0_resource,
+		.nr_resources	= ARRAY_SIZE(s5pc1xx_uart0_resource),
+	},
+	[1] = {
+		.resources	= s5pc1xx_uart1_resource,
+		.nr_resources	= ARRAY_SIZE(s5pc1xx_uart1_resource),
+	},
+	[2] = {
+		.resources	= s5pc1xx_uart2_resource,
+		.nr_resources	= ARRAY_SIZE(s5pc1xx_uart2_resource),
+	},
+	[3] = {
+		.resources	= s5pc1xx_uart3_resource,
+		.nr_resources	= ARRAY_SIZE(s5pc1xx_uart3_resource),
+	},
+};
+
+/* uart devices */
+
+static struct platform_device s3c24xx_uart_device0 = {
+	.id		= 0,
+};
+
+static struct platform_device s3c24xx_uart_device1 = {
+	.id		= 1,
+};
+
+static struct platform_device s3c24xx_uart_device2 = {
+	.id		= 2,
+};
+
+static struct platform_device s3c24xx_uart_device3 = {
+	.id		= 3,
+};
+
+struct platform_device *s3c24xx_uart_src[4] = {
+	&s3c24xx_uart_device0,
+	&s3c24xx_uart_device1,
+	&s3c24xx_uart_device2,
+	&s3c24xx_uart_device3,
+};
+
+struct platform_device *s3c24xx_uart_devs[4] = {
+};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/devs.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/devs.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/devs.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/devs.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,548 @@
+/* linux/arch/arm/plat-s5pc1xx/devs.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S5PC1XX resource and device definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/list.h>
+#include <linux/platform_device.h>
+
+#include <asm/mach/arch.h>
+#include <asm/mach/irq.h>
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/devs.h>
+#include <plat/adc.h>
+
+
+/* SMC9115 LAN via ROM interface */
+
+static struct resource s3c_smc911x_resources[] = {
+      [0] = {
+              .start  = S5PC1XX_PA_SMC9115,
+              .end    = S5PC1XX_PA_SMC9115 + 0x1fffffff,
+              .flags  = IORESOURCE_MEM,
+      },
+      [1] = {
+              .start = IRQ_EINT10,
+              .end   = IRQ_EINT10,
+              .flags = IORESOURCE_IRQ,
+        },
+};
+
+struct platform_device s3c_device_smc911x = {
+      .name           = "smc911x",
+      .id             =  -1,
+      .num_resources  = ARRAY_SIZE(s3c_smc911x_resources),
+      .resource       = s3c_smc911x_resources,
+};
+
+/* FIMV MFC interface */
+static struct resource s3c_mfc_resources[] = {
+	[0] = {
+		.start  = S5PC1XX_PA_MFC,
+		.end    = S5PC1XX_PA_MFC + S5PC1XX_SZ_MFC - 1,
+		.flags  = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start  = IRQ_MFC,
+		.end    = IRQ_MFC,
+		.flags  = IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_mfc = {
+	.name           = "s3c-mfc",
+	.id             = -1,
+	.num_resources  = ARRAY_SIZE(s3c_mfc_resources),
+	.resource       = s3c_mfc_resources,
+};
+
+/* LCD Controller */
+
+static struct resource s3c_lcd_resource[] = {
+	[0] = {
+		.start = S5PC1XX_PA_LCD,
+		.end   = S5PC1XX_PA_LCD + SZ_1M - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_LCD1,
+		.end   = IRQ_LCD3,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+static u64 s3c_device_lcd_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_lcd = {
+	.name		  = "s3c-lcd",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_lcd_resource),
+	.resource	  = s3c_lcd_resource,
+	.dev              = {
+		.dma_mask		= &s3c_device_lcd_dmamask,
+		.coherent_dma_mask	= 0xffffffffUL
+	}
+};
+
+/* FIMG-2D controller */
+static struct resource s3c_g2d_resource[] = {
+	[0] = {
+		.start	= S5PC1XX_PA_G2D,
+		.end	= S5PC1XX_PA_G2D + S5PC1XX_SZ_G2D - 1,
+		.flags	= IORESOURCE_MEM,
+	},
+	[1] = {
+		.start	= IRQ_2D,
+		.end	= IRQ_2D,
+		.flags	= IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_g2d = {
+	.name		= "s3c-g2d",
+	.id		= -1,
+	.num_resources	= ARRAY_SIZE(s3c_g2d_resource),
+	.resource	= s3c_g2d_resource
+};
+EXPORT_SYMBOL(s3c_device_g2d);
+
+/* ADC */
+static struct resource s3c_adc_resource[] = {
+	[0] = {
+		.start = S3C_PA_ADC,
+		.end   = S3C_PA_ADC + SZ_4K - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_PENDN,
+		.end   = IRQ_PENDN,
+		.flags = IORESOURCE_IRQ,
+	},
+	[2] = {
+		.start = IRQ_ADC,
+		.end   = IRQ_ADC,
+		.flags = IORESOURCE_IRQ,
+	}
+
+};
+
+struct platform_device s3c_device_adc = {
+	.name		  = "s3c-adc",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_adc_resource),
+	.resource	  = s3c_adc_resource,
+};
+
+void __init s3c_adc_set_platdata(struct s3c_adc_mach_info *pd)
+{
+	struct s3c_adc_mach_info *npd;
+
+	npd = kmalloc(sizeof(*npd), GFP_KERNEL);
+	if (npd) {
+		memcpy(npd, pd, sizeof(*npd));
+		s3c_device_adc.dev.platform_data = npd;
+	} else {
+		printk(KERN_ERR "no memory for ADC platform data\n");
+	}
+}
+
+/* WATCHDOG TIMER*/
+
+static struct resource s3c_wdt_resource[] = {
+        [0] = {
+                .start = S3C_PA_WDT,
+                .end   = S3C_PA_WDT + 0xff,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_WDT,
+                .end   = IRQ_WDT,
+                .flags = IORESOURCE_IRQ,
+        },
+};
+
+struct platform_device s3c_device_wdt = {
+        .name             = "s3c2410-wdt",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_wdt_resource),
+        .resource         = s3c_wdt_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_wdt);
+
+
+/* NAND Controller */
+
+static struct resource s3c_nand_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_NAND,
+                .end   = S5PC1XX_PA_NAND + S5PC1XX_SZ_NAND - 1,
+                .flags = IORESOURCE_MEM,
+        }
+};
+
+struct platform_device s3c_device_nand = {
+        .name             = "s3c-nand",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_nand_resource),
+        .resource         = s3c_nand_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_nand);
+
+/* USB Host Controller */
+
+static struct resource s3c_usb_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_USBHOST,
+                .end   = S5PC1XX_PA_USBHOST + S5PC1XX_SZ_USBHOST - 1,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_UHOST,
+                .end   = IRQ_UHOST,
+                .flags = IORESOURCE_IRQ,
+        }
+};
+
+static u64 s3c_device_usb_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_usb = {
+        .name             = "s3c2410-ohci",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_usb_resource),
+        .resource         = s3c_usb_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_usb_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+
+EXPORT_SYMBOL(s3c_device_usb);
+
+/* USB Device (Gadget)*/
+
+static struct resource s3c_usbgadget_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_OTG,
+                .end   = S5PC1XX_PA_OTG+S5PC1XX_SZ_OTG-1,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_OTG,
+                .end   = IRQ_OTG,
+                .flags = IORESOURCE_IRQ,
+        }
+};
+
+struct platform_device s3c_device_usbgadget = {
+        .name             = "s3c-usbgadget",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_usbgadget_resource),
+        .resource         = s3c_usbgadget_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_usbgadget);
+
+/* USB Device (OTG hcd)*/
+
+static struct resource s3c_usb_otghcd_resource[] = {
+	[0] = {
+		.start = S3C_PA_OTG,
+		.end   = S3C_PA_OTG + S3C_SZ_OTG - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_OTG,
+		.end   = IRQ_OTG,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+static u64 s3c_device_usb_otghcd_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_usb_otghcd = {
+	.name		= "s3c_otghcd",
+	.id		= -1,
+	.num_resources	= ARRAY_SIZE(s3c_usb_otghcd_resource),
+	.resource	= s3c_usb_otghcd_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_usb_otghcd_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+
+EXPORT_SYMBOL(s3c_device_usb_otghcd);
+
+/* RTC */
+
+static struct resource s3c_rtc_resource[] = {
+        [0] = {
+                .start = S3C_PA_RTC,
+                .end   = S3C_PA_RTC + 0xff,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_RTC_ALARM,
+                .end   = IRQ_RTC_ALARM,
+                .flags = IORESOURCE_IRQ,
+        },
+        [2] = {
+                .start = IRQ_RTC_TIC,
+                .end   = IRQ_RTC_TIC,
+                .flags = IORESOURCE_IRQ
+        }
+};
+
+struct platform_device s3c_device_rtc = {
+        .name             = "s3c2410-rtc",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_rtc_resource),
+        .resource         = s3c_rtc_resource,
+};
+
+/* OneNAND Controller */
+static struct resource s3c_onenand_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_ONENAND,
+                .end   = S5PC1XX_PA_ONENAND + S5PC1XX_SZ_ONENAND - 1,
+                .flags = IORESOURCE_MEM,
+        }
+};
+
+struct platform_device s3c_device_onenand = {
+        .name             = "onenand",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_onenand_resource),
+        .resource         = s3c_onenand_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_onenand);
+
+/* Keypad interface */
+static struct resource s3c_keypad_resource[] = {
+	[0] = {
+		.start = S3C_PA_KEYPAD,
+		.end   = S3C_PA_KEYPAD+ S3C_SZ_KEYPAD - 1,
+		.flags = IORESOURCE_MEM,
+	},
+	[1] = {
+		.start = IRQ_KEYPAD,
+		.end   = IRQ_KEYPAD,
+		.flags = IORESOURCE_IRQ,
+	}
+};
+
+struct platform_device s3c_device_keypad = {
+	.name		  = "s3c-keypad",
+	.id		  = -1,
+	.num_resources	  = ARRAY_SIZE(s3c_keypad_resource),
+	.resource	  = s3c_keypad_resource,
+};
+
+EXPORT_SYMBOL(s3c_device_keypad);
+
+/* SPI (0) */
+
+static struct resource s3c_spi0_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_SPI0,
+                .end   = S5PC1XX_PA_SPI0 + S5PC1XX_SZ_SPI - 1,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_SPI0,
+                .end   = IRQ_SPI0,
+                .flags = IORESOURCE_IRQ,
+        }
+
+};
+
+static u64 s3c_device_spi0_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_spi0 = {
+        .name             = "s3c2410-spi",
+        .id               = 0,
+        .num_resources    = ARRAY_SIZE(s3c_spi0_resource),
+        .resource         = s3c_spi0_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_spi0_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+
+EXPORT_SYMBOL(s3c_device_spi0);
+
+/* SPI (1) */
+
+static struct resource s3c_spi1_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_SPI1,
+                .end   = S5PC1XX_PA_SPI1 + S5PC1XX_SZ_SPI - 1,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_SPI1,
+                .end   = IRQ_SPI1,
+                .flags = IORESOURCE_IRQ,
+        }
+};
+
+static u64 s3c_device_spi1_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_spi1 = {
+        .name             = "s3c2410-spi",
+        .id               = 1,
+        .num_resources    = ARRAY_SIZE(s3c_spi1_resource),
+        .resource         = s3c_spi1_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_spi1_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+
+EXPORT_SYMBOL(s3c_device_spi1);
+
+/* SPI (2) */
+
+static struct resource s3c_spi2_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_SPI2,
+                .end   = S5PC1XX_PA_SPI2 + S5PC1XX_SZ_SPI - 1,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_SPI2,
+                .end   = IRQ_SPI2,
+                .flags = IORESOURCE_IRQ,
+        }
+
+};
+
+static u64 s3c_device_spi2_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_spi2 = {
+        .name             = "s3c2410-spi",
+        .id               = 2,
+        .num_resources    = ARRAY_SIZE(s3c_spi2_resource),
+        .resource         = s3c_spi2_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_spi2_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+
+EXPORT_SYMBOL(s3c_device_spi2);
+
+/* AC97 */
+
+static struct resource s3c_ac97_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_AC97,
+                .end   = S5PC1XX_PA_AC97 + S5PC1XX_SZ_AC97 -1,
+                .flags = IORESOURCE_MEM,
+        }
+};
+
+static u64 s3c_device_ac97_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_ac97 = {
+        .name             = "s3c-ac97",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_ac97_resource),
+        .resource         = s3c_ac97_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_ac97_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+
+EXPORT_SYMBOL(s3c_device_ac97);
+
+static struct resource s3c_g3d_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_G3D,
+                .end   = S5PC1XX_PA_G3D + S5PC1XX_SZ_G3D - 1,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_3D,
+                .end   = IRQ_3D,
+                .flags = IORESOURCE_IRQ,
+        }
+};
+
+static u64 s3c_device_g3d_dmamask = 0xffffffffUL;
+
+struct platform_device s3c_device_g3d = {
+        .name             = "s3c-g3d",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_g3d_resource),
+        .resource         = s3c_g3d_resource,
+        .dev              = {
+                .dma_mask = &s3c_device_g3d_dmamask,
+                .coherent_dma_mask = 0xffffffffUL
+        }
+};
+
+EXPORT_SYMBOL(s3c_device_g3d);
+
+/* JPEG controller  */
+static struct resource s3c_jpeg_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_JPEG,
+                .end   = S5PC1XX_PA_JPEG + S5PC1XX_SZ_JPEG - 1,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_JPEG,
+                .end   = IRQ_JPEG,
+                .flags = IORESOURCE_IRQ,
+        }
+
+};
+
+struct platform_device s3c_device_jpeg = {
+        .name             = "s3c-jpg",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_jpeg_resource),
+        .resource         = s3c_jpeg_resource,
+};
+EXPORT_SYMBOL(s3c_device_jpeg);
+
+/* rotator interface */
+static struct resource s3c_rotator_resource[] = {
+        [0] = {
+                .start = S5PC1XX_PA_ROTATOR,
+                .end   = S5PC1XX_PA_ROTATOR + S5PC1XX_SZ_ROTATOR - 1,
+                .flags = IORESOURCE_MEM,
+        },
+        [1] = {
+                .start = IRQ_ROTATOR,
+                .end   = IRQ_ROTATOR,
+                .flags = IORESOURCE_IRQ,
+        }
+};
+
+struct platform_device s3c_device_rotator = {
+        .name             = "s3c-rotator",
+        .id               = -1,
+        .num_resources    = ARRAY_SIZE(s3c_rotator_resource),
+        .resource         = s3c_rotator_resource
+};
+EXPORT_SYMBOL(s3c_device_rotator);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/gpiolib.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/gpiolib.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/gpiolib.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/gpiolib.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,409 @@
+/* arch/arm/plat-s5pc1xx/gpiolib.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5PC1XX - GPIOlib support 
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/irq.h>
+#include <linux/io.h>
+
+#include <mach/map.h>
+#include <mach/gpio.h>
+#include <mach/gpio-core.h>
+
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-cfg-helpers.h>
+#include <plat/regs-gpio.h>
+
+#define OFF_GPCON	(0x00)
+#define OFF_GPDAT	(0x04)
+
+#define con_4bit_shift(__off) ((__off) * 4)
+
+#if 1
+#define gpio_dbg(x...) do { } while(0)
+#else
+#define gpio_dbg(x...) printk(KERN_DEBUG ## x)
+#endif
+
+/* The s5pc1xx_gpiolib routines are to control the gpio banks where
+ * the gpio configuration register (GPxCON) has 4 bits per GPIO, as the
+ * following example:
+ *
+ * base + 0x00: Control register, 4 bits per gpio
+ *	        gpio n: 4 bits starting at (4*n)
+ *		0000 = input, 0001 = output, others mean special-function
+ * base + 0x04: Data register, 1 bit per gpio
+ *		bit n: data bit n
+ *
+ * Note, since the data register is one bit per gpio and is at base + 0x4
+ * we can use s3c_gpiolib_get and s3c_gpiolib_set to change the state of
+ * the output.
+*/
+
+static int s5pc1xx_gpiolib_input(struct gpio_chip *chip, unsigned offset)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	unsigned long con;
+
+	con = __raw_readl(base + OFF_GPCON);
+	con &= ~(0xf << con_4bit_shift(offset));
+	__raw_writel(con, base + OFF_GPCON);
+
+	gpio_dbg("%s: %p: CON now %08lx\n", __func__, base, con);
+
+	return 0;
+}
+
+static int s5pc1xx_gpiolib_output(struct gpio_chip *chip,
+				       unsigned offset, int value)
+{
+	struct s3c_gpio_chip *ourchip = to_s3c_gpio(chip);
+	void __iomem *base = ourchip->base;
+	unsigned long con;
+	unsigned long dat;
+
+	con = __raw_readl(base + OFF_GPCON);
+	con &= ~(0xf << con_4bit_shift(offset));
+	con |= 0x1 << con_4bit_shift(offset);
+
+	dat = __raw_readl(base + OFF_GPDAT);
+	if (value)
+		dat |= 1 << offset;
+	else
+		dat &= ~(1 << offset);
+
+	__raw_writel(dat, base + OFF_GPDAT);
+	__raw_writel(con, base + OFF_GPCON);
+	__raw_writel(dat, base + OFF_GPDAT);
+
+	gpio_dbg("%s: %p: CON %08lx, DAT %08lx\n", __func__, base, con, dat);
+
+	return 0;
+}
+
+static struct s3c_gpio_cfg gpio_cfg = {
+	.cfg_eint	= 0xf,
+	.set_config	= s3c_gpio_setcfg_s5pc1xx,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_cfg gpio_cfg_noint = {
+	.set_config	= s3c_gpio_setcfg_s5pc1xx,
+	.set_pull	= s3c_gpio_setpull_updown,
+	.get_pull	= s3c_gpio_getpull_updown,
+};
+
+static struct s3c_gpio_chip gpio_chips[] = {
+	{
+		.base	= S5PC1XX_GPA0_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPA0(0),
+			.ngpio	= S5PC1XX_GPIO_A0_NR,
+			.label	= "GPA0",
+		},
+	}, {
+		.base	= S5PC1XX_GPA1_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPA1(0),
+			.ngpio	= S5PC1XX_GPIO_A1_NR,
+			.label	= "GPA1",
+		},
+	}, {
+		.base	= S5PC1XX_GPB_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPB(0),
+			.ngpio	= S5PC1XX_GPIO_B_NR,
+			.label	= "GPB",
+		},
+	}, {
+		.base	= S5PC1XX_GPC_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPC(0),
+			.ngpio	= S5PC1XX_GPIO_C_NR,
+			.label	= "GPC",
+		},
+	}, {
+		.base	= S5PC1XX_GPD_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPD(0),
+			.ngpio	= S5PC1XX_GPIO_D_NR,
+			.label	= "GPD",
+		},
+	}, {
+		.base	= S5PC1XX_GPE0_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPE0(0),
+			.ngpio	= S5PC1XX_GPIO_E0_NR,
+			.label	= "GPE0",
+		},
+	}, {
+		.base	= S5PC1XX_GPE1_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPE1(0),
+			.ngpio	= S5PC1XX_GPIO_E1_NR,
+			.label	= "GPE1",
+		},
+	}, {
+		.base	= S5PC1XX_GPF0_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPF0(0),
+			.ngpio	= S5PC1XX_GPIO_F0_NR,
+			.label	= "GPF0",
+		},
+	}, {
+		.base	= S5PC1XX_GPF1_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPF1(0),
+			.ngpio	= S5PC1XX_GPIO_F1_NR,
+			.label	= "GPF1",
+		},
+	}, {
+		.base	= S5PC1XX_GPF2_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPF2(0),
+			.ngpio	= S5PC1XX_GPIO_F2_NR,
+			.label	= "GPF2",
+		},
+	}, {
+		.base	= S5PC1XX_GPF3_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPF3(0),
+			.ngpio	= S5PC1XX_GPIO_F3_NR,
+			.label	= "GPF3",
+		},
+	}, {
+		.base	= S5PC1XX_GPG0_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPG0(0),
+			.ngpio	= S5PC1XX_GPIO_G0_NR,
+			.label	= "GPG0",
+		},
+	}, {
+		.base	= S5PC1XX_GPG1_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPG1(0),
+			.ngpio	= S5PC1XX_GPIO_G1_NR,
+			.label	= "GPG1",
+		},
+	}, {
+		.base	= S5PC1XX_GPG2_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPG2(0),
+			.ngpio	= S5PC1XX_GPIO_G2_NR,
+			.label	= "GPG2",
+		},
+	}, {
+		.base	= S5PC1XX_GPG3_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPG3(0),
+			.ngpio	= S5PC1XX_GPIO_G3_NR,
+			.label	= "GPG3",
+		},
+	}, {
+		.base	= S5PC1XX_GPH0_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_GPH0(0),
+			.ngpio	= S5PC1XX_GPIO_H0_NR,
+			.label	= "GPH0",
+		},
+	}, {
+		.base	= S5PC1XX_GPH1_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_GPH1(0),
+			.ngpio	= S5PC1XX_GPIO_H1_NR,
+			.label	= "GPH1",
+		},
+	}, {
+		.base	= S5PC1XX_GPH2_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_GPH2(0),
+			.ngpio	= S5PC1XX_GPIO_H2_NR,
+			.label	= "GPH2",
+		},
+	}, {
+		.base	= S5PC1XX_GPH3_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_GPH3(0),
+			.ngpio	= S5PC1XX_GPIO_H3_NR,
+			.label	= "GPH3",
+		},
+	}, {
+		.base	= S5PC1XX_GPI_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPI(0),
+			.ngpio	= S5PC1XX_GPIO_I_NR,
+			.label	= "GPI",
+		},
+	}, {
+		.base	= S5PC1XX_GPJ0_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPJ0(0),
+			.ngpio	= S5PC1XX_GPIO_J0_NR,
+			.label	= "GPJ0",
+		},
+	}, {
+		.base	= S5PC1XX_GPJ1_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPJ1(0),
+			.ngpio	= S5PC1XX_GPIO_J1_NR,
+			.label	= "GPJ1",
+		},
+	}, {
+		.base	= S5PC1XX_GPJ2_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPJ2(0),
+			.ngpio	= S5PC1XX_GPIO_J2_NR,
+			.label	= "GPJ2",
+		},
+	}, {
+		.base	= S5PC1XX_GPJ3_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPJ3(0),
+			.ngpio	= S5PC1XX_GPIO_J3_NR,
+			.label	= "GPJ3",
+		},
+	}, {
+		.base	= S5PC1XX_GPJ4_BASE,
+		.config	= &gpio_cfg,
+		.chip	= {
+			.base	= S5PC1XX_GPJ4(0),
+			.ngpio	= S5PC1XX_GPIO_J4_NR,
+			.label	= "GPJ4",
+		},
+	}, {
+		.base	= S5PC1XX_GPK0_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_GPK0(0),
+			.ngpio	= S5PC1XX_GPIO_K0_NR,
+			.label	= "GPK0",
+		},
+	}, {
+		.base	= S5PC1XX_GPK1_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_GPK1(0),
+			.ngpio	= S5PC1XX_GPIO_K1_NR,
+			.label	= "GPK1",
+		},
+	}, {
+		.base	= S5PC1XX_GPK2_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_GPK2(0),
+			.ngpio	= S5PC1XX_GPIO_K2_NR,
+			.label	= "GPK2",
+		},
+	}, {
+		.base	= S5PC1XX_GPK3_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_GPK3(0),
+			.ngpio	= S5PC1XX_GPIO_K3_NR,
+			.label	= "GPK3",
+		},
+	}, {
+		.base	= S5PC1XX_MP00_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_MP00(0),
+			.ngpio	= S5PC1XX_GPIO_MP00_NR,
+			.label	= "MP00",
+		},
+	}, {
+		.base	= S5PC1XX_MP01_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_MP01(0),
+			.ngpio	= S5PC1XX_GPIO_MP01_NR,
+			.label	= "MP01",
+		},
+	}, {
+		.base	= S5PC1XX_MP02_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_MP02(0),
+			.ngpio	= S5PC1XX_GPIO_MP02_NR,
+			.label	= "MP02",
+		},
+	}, {
+		.base	= S5PC1XX_MP03_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_MP03(0),
+			.ngpio	= S5PC1XX_GPIO_MP03_NR,
+			.label	= "MP03",
+		},
+	}, {
+		.base	= S5PC1XX_MP04_BASE,
+		.config	= &gpio_cfg_noint,
+		.chip	= {
+			.base	= S5PC1XX_MP04(0),
+			.ngpio	= S5PC1XX_GPIO_MP04_NR,
+			.label	= "MP04",
+		},
+	}, 
+};
+
+static __init void s5pc1xx_gpiolib_link(struct s3c_gpio_chip *chip)
+{
+	chip->chip.direction_input = s5pc1xx_gpiolib_input;
+	chip->chip.direction_output = s5pc1xx_gpiolib_output;
+}
+
+static __init void s5pc1xx_gpiolib_add(struct s3c_gpio_chip *chips,
+				       int nr_chips,
+				       void (*fn)(struct s3c_gpio_chip *))
+{
+	for (; nr_chips > 0; nr_chips--, chips++) {
+		if (fn)
+			(fn)(chips);
+		s3c_gpiolib_add(chips);
+	}
+}
+
+static __init int s5pc1xx_gpiolib_init(void)
+{
+	s5pc1xx_gpiolib_add(gpio_chips, ARRAY_SIZE(gpio_chips),
+			    s5pc1xx_gpiolib_link);
+
+	return 0;
+}
+
+arch_initcall(s5pc1xx_gpiolib_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/csis.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/csis.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/csis.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/csis.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,30 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/csis.h
+ *
+ * Platform header file for MIPI-CSI2 driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _CSIS_H
+#define _CSIS_H
+
+struct platform_device;
+
+struct s3c_platform_csis {
+	const char	clk_name[16];
+
+	void		(*cfg_gpio)(struct platform_device *dev);
+	void		(*cfg_phy_global)(struct platform_device *dev, int on);
+};
+
+extern void s3c_csis_set_platdata(struct s3c_platform_csis *csis);
+extern void s3c_csis_cfg_gpio(struct platform_device *dev);
+extern void s3c_csis_cfg_phy_global(struct platform_device *dev, int on);
+
+#endif /* _CSIS_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/dma.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/dma.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/dma.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/dma.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,13 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/dma.h
+ *
+ * Copyright (C) 2006 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * Samsung S5PC1XX DMA support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+#include <plat/s3c-dma.h>
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/fimc.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/fimc.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/fimc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/fimc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,41 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/fimc.h
+ *
+ * Platform header file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _FIMC_H
+#define _FIMC_H
+
+struct platform_device;
+
+struct s3c_platform_fimc {
+	const char	srclk_name[16];
+	const char	clk_name[16];
+	u32		clockrate;
+	int		line_length;
+	int		nr_frames;
+	int		shared_io;
+
+	void		(*cfg_gpio)(struct platform_device *dev);
+};
+
+extern void s3c_fimc0_set_platdata(struct s3c_platform_fimc *fimc);
+extern void s3c_fimc1_set_platdata(struct s3c_platform_fimc *fimc);
+extern void s3c_fimc2_set_platdata(struct s3c_platform_fimc *fimc);
+
+/* defined by architecture to configure gpio */
+extern void s3c_fimc0_cfg_gpio(struct platform_device *dev);
+extern void s3c_fimc1_cfg_gpio(struct platform_device *dev);
+extern void s3c_fimc2_cfg_gpio(struct platform_device *dev);
+
+extern void s3c_fimc_reset_camera(void);
+
+#endif /* _FIMC_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/fimd.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/fimd.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/fimd.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/fimd.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,38 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/fimd.h
+ *
+ * Platform header file for Samsung Display Controller (FIMD) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _FIMD_H
+#define _FIMD_H
+
+struct platform_device;
+
+struct s3c_platform_fimd {
+	int		hw_ver;
+	const char	clk_name[16];
+	u32		clockrate;
+	int		max_wins;
+	int		max_buffers;
+
+	void		(*cfg_gpio)(struct platform_device *dev);
+	int		(*backlight_on)(struct platform_device *dev);
+	int		(*reset_lcd)(struct platform_device *dev);
+};
+
+extern void s3c_fimd_set_platdata(struct s3c_platform_fimd *fimd);
+
+/* defined by architecture to configure gpio */
+extern void s3c_fimd_cfg_gpio(struct platform_device *dev);
+extern int s3c_fimd_backlight_on(struct platform_device *dev);
+extern int s3c_fimd_reset_lcd(struct platform_device *dev);
+
+#endif /* _FIMD_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a0.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a0.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a0.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a0.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,49 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a0.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank A0 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPA0CON			(S5PC1XX_GPA0_BASE + 0x00)
+#define S5PC1XX_GPA0DAT			(S5PC1XX_GPA0_BASE + 0x04)
+#define S5PC1XX_GPA0PUD			(S5PC1XX_GPA0_BASE + 0x08)
+#define S5PC1XX_GPA0DRV			(S5PC1XX_GPA0_BASE + 0x0c)
+#define S5PC1XX_GPA0CONPDN		(S5PC1XX_GPA0_BASE + 0x10)
+#define S5PC1XX_GPA0PUDPDN		(S5PC1XX_GPA0_BASE + 0x14)
+
+#define S5PC1XX_GPA0_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPA0_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPA0_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPA0_0_UART_0_RXD	(0x2 << 0)
+#define S5PC1XX_GPA0_0_GPIO_INT0_0	(0xf << 0)
+
+#define S5PC1XX_GPA0_1_UART_0_TXD	(0x2 << 4)
+#define S5PC1XX_GPA0_1_GPIO_INT0_1	(0xf << 4)
+
+#define S5PC1XX_GPA0_2_UART_0_CTSn	(0x2 << 8)
+#define S5PC1XX_GPA0_2_GPIO_INT0_2	(0xf << 8)
+
+#define S5PC1XX_GPA0_3_UART_0_RTSn	(0x2 << 12)
+#define S5PC1XX_GPA0_3_GPIO_INT0_3	(0xf << 12)
+
+#define S5PC1XX_GPA0_4_UART_1_RXD	(0x2 << 16)
+#define S5PC1XX_GPA0_4_GPIO_INT0_4	(0xf << 16)
+
+#define S5PC1XX_GPA0_5_UART_1_TXD	(0x2 << 20)
+#define S5PC1XX_GPA0_5_GPIO_INT0_5	(0xf << 20)
+
+#define S5PC1XX_GPA0_6_UART_1_CTSn	(0x2 << 24)
+#define S5PC1XX_GPA0_6_GPIO_INT0_6	(0xf << 24)
+
+#define S5PC1XX_GPA0_7_UART_1_RTSn	(0x2 << 28)
+#define S5PC1XX_GPA0_7_GPIO_INT0_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a1.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a1.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a1.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a1.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,45 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-a1.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank A1 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPA1CON			(S5PC1XX_GPA1_BASE + 0x00)
+#define S5PC1XX_GPA1DAT			(S5PC1XX_GPA1_BASE + 0x04)
+#define S5PC1XX_GPA1PUD			(S5PC1XX_GPA1_BASE + 0x08)
+#define S5PC1XX_GPA1DRV			(S5PC1XX_GPA1_BASE + 0x0c)
+#define S5PC1XX_GPA1CONPDN		(S5PC1XX_GPA1_BASE + 0x10)
+#define S5PC1XX_GPA1PUDPDN		(S5PC1XX_GPA1_BASE + 0x14)
+
+#define S5PC1XX_GPA1_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPA1_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPA1_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPA1_0_UART_2_RXD	(0x2 << 0)
+#define S5PC1XX_GPA1_0_GPIO_INT1_0	(0xf << 0)
+
+#define S5PC1XX_GPA1_1_UART_2_TXD	(0x2 << 4)
+#define S5PC1XX_GPA1_1_GPIO_INT1_1	(0xf << 4)
+
+#define S5PC1XX_GPA1_2_UART_3_RXD	(0x2 << 8)
+#define S5PC1XX_GPA1_2_UART_2_CTSn	(0x3 << 8)
+#define S5PC1XX_GPA1_2_IrDA_RX_DATA	(0x4 << 8)
+#define S5PC1XX_GPA1_2_GPIO_INT1_2	(0xf << 8)
+
+#define S5PC1XX_GPA1_3_UART_3_TXD	(0x2 << 12)
+#define S5PC1XX_GPA1_3_UART_2_RTSn	(0x3 << 12)
+#define S5PC1XX_GPA1_3_IrDA_TX_DATA	(0x4 << 12)
+#define S5PC1XX_GPA1_3_GPIO_INT1_3	(0xf << 12)
+
+#define S5PC1XX_GPA1_4_UARTCLK		(0x2 << 16)
+#define S5PC1XX_GPA1_4_IrDA_SDBW	(0x4 << 16)
+#define S5PC1XX_GPA1_4_GPIO_INT1_4	(0xf << 16)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-b.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-b.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-b.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-b.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,49 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-b.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank B register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPBCON			(S5PC1XX_GPB_BASE + 0x00)
+#define S5PC1XX_GPBDAT			(S5PC1XX_GPB_BASE + 0x04)
+#define S5PC1XX_GPBPUD			(S5PC1XX_GPB_BASE + 0x08)
+#define S5PC1XX_GPBDRV			(S5PC1XX_GPB_BASE + 0x0c)
+#define S5PC1XX_GPBCONPDN		(S5PC1XX_GPB_BASE + 0x10)
+#define S5PC1XX_GPBPUDPDN		(S5PC1XX_GPB_BASE + 0x14)
+
+#define S5PC1XX_GPB_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPB_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPB_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPB0_SPI_0_MISO		(0x2 << 0)
+#define S5PC1XX_GPB0_GPIO_INT2_0	(0xf << 0)
+
+#define S5PC1XX_GPB1_SPI_0_CLK		(0x2 << 4)
+#define S5PC1XX_GPB1_GPIO_INT2_1	(0xf << 4)
+
+#define S5PC1XX_GPB2_SPI_0_MOSI		(0x2 << 8)
+#define S5PC1XX_GPB2_GPIO_INT2_2	(0xf << 8)
+
+#define S5PC1XX_GPB3_SPI_0_nSS		(0x2 << 12)
+#define S5PC1XX_GPB3_GPIO_INT2_3	(0xf << 12)
+
+#define S5PC1XX_GPB4_SPI_1_MISO		(0x2 << 16)
+#define S5PC1XX_GPB4_GPIO_INT2_4	(0xf << 16)
+
+#define S5PC1XX_GPB5_SPI_1_CLK		(0x2 << 20)
+#define S5PC1XX_GPB5_GPIO_INT2_5	(0xf << 20)
+
+#define S5PC1XX_GPB6_SPI_1_MOSI		(0x2 << 24)
+#define S5PC1XX_GPB6_GPIO_INT2_6	(0xf << 24)
+
+#define S5PC1XX_GPB7_SPI_1_nSS		(0x2 << 28)
+#define S5PC1XX_GPB7_GPIO_INT2_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-c.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-c.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-c.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-c.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,64 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-c.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank C register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPCCON			(S5PC1XX_GPC_BASE + 0x00)
+#define S5PC1XX_GPCDAT			(S5PC1XX_GPC_BASE + 0x04)
+#define S5PC1XX_GPCPUD			(S5PC1XX_GPC_BASE + 0x08)
+#define S5PC1XX_GPCDRV			(S5PC1XX_GPC_BASE + 0x0c)
+#define S5PC1XX_GPCCONPDN		(S5PC1XX_GPC_BASE + 0x10)
+#define S5PC1XX_GPCPUDPDN		(S5PC1XX_GPC_BASE + 0x14)
+
+#define S5PC1XX_GPC_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPC_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPC_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPC0_I2S_1_SCLK		(0x2 << 0)
+#define S5PC1XX_GPC0_PCM_1_SCLK		(0x3 << 0)
+#define S5PC1XX_GPC0_AC97_BITCLK	(0x4 << 0)
+#define S5PC1XX_GPC0_GPIO_INT3_0	(0xf << 0)
+
+#define S5PC1XX_GPC1_I2S_1_CDCLK	(0x2 << 4)
+#define S5PC1XX_GPC1_PCM_1_EXTCLK	(0x3 << 4)
+#define S5PC1XX_GPC1_AC97_RESETn	(0x4 << 4)
+#define S5PC1XX_GPC1_GPIO_INT3_1	(0xf << 4)
+
+#define S5PC1XX_GPC2_I2S_1_LRCK		(0x2 << 8)
+#define S5PC1XX_GPC2_PCM_1_FSYNC	(0x3 << 8)
+#define S5PC1XX_GPC2_AC97_SYNC		(0x4 << 8)
+#define S5PC1XX_GPC2_GPIO_INT3_2	(0xf << 8)
+
+#define S5PC1XX_GPC3_I2S_1_SDI		(0x2 << 12)
+#define S5PC1XX_GPC3_PCM_1_SIN		(0x3 << 12)
+#define S5PC1XX_GPC3_AC97_SDI		(0x4 << 12)
+#define S5PC1XX_GPC3_GPIO_INT3_3	(0xf << 12)
+
+#define S5PC1XX_GPC4_I2S_1_SDO		(0x2 << 16)
+#define S5PC1XX_GPC4_PCM_1_SOUT		(0x3 << 16)
+#define S5PC1XX_GPC4_AC97_SDO		(0x4 << 16)
+#define S5PC1XX_GPC4_GPIO_INT3_4	(0xf << 16)
+
+#define S5PC1XX_GPB0_SPI_MISO0          (2<<0)
+#define S5PC1XX_GPB1_SPI_CLK0           (2<<4)
+#define S5PC1XX_GPB2_SPI_MOSI0          (2<<8)
+#define S5PC1XX_GPB3_SPI_CS0            (2<<12)
+
+#define S5PC1XX_GPB4_SPI_MISO1          (2<<16)
+#define S5PC1XX_GPB5_SPI_CLK1           (2<<20)
+#define S5PC1XX_GPB6_SPI_MOSI1          (2<<24)
+#define S5PC1XX_GPB7_SPI_CS1            (2<<28)
+
+#define S5PC1XX_GPG3_0SPI_CLK2          (3<<0)
+#define S5PC1XX_GPG3_1SPI_CS2           (3<<4)
+#define S5PC1XX_GPG3_2SPI_MISO2         (3<<8)
+#define S5PC1XX_GPG3_3SPI_MOSI2         (3<<12)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-d.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-d.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-d.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-d.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,51 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-d.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank D register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPDCON			(S5PC1XX_GPD_BASE + 0x00)
+#define S5PC1XX_GPDDAT			(S5PC1XX_GPD_BASE + 0x04)
+#define S5PC1XX_GPDPUD			(S5PC1XX_GPD_BASE + 0x08)
+#define S5PC1XX_GPDDRV			(S5PC1XX_GPD_BASE + 0x0c)
+#define S5PC1XX_GPDCONPDN		(S5PC1XX_GPD_BASE + 0x10)
+#define S5PC1XX_GPDPUDPDN		(S5PC1XX_GPD_BASE + 0x14)
+
+#define S5PC1XX_GPD_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPD_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPD_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPD0_TOUT_0		(0x2 << 0)
+#define S5PC1XX_GPD0_PWM_TCLK 		(0x3 << 0)
+#define S5PC1XX_GPD0_GPIO_INT4_0	(0xf << 0)
+
+#define S5PC1XX_GPD1_TOUT_1		(0x2 << 4)
+#define S5PC1XX_GPD1_EX_DMA_REQn	(0x3 << 4)
+#define S5PC1XX_GPD1_GPIO_INT4_1	(0xf << 4)
+
+#define S5PC1XX_GPD2_TOUT_2		(0x2 << 8)
+#define S5PC1XX_GPD2_EX_DMA_ACKn	(0x3 << 8)
+#define S5PC1XX_GPD2_GPIO_INT4_2	(0xf << 8)
+
+#define S5PC1XX_GPD3_I2C0_SDA		(0x2 << 12)
+#define S5PC1XX_GPD3_GPIO_INT4_3	(0xf << 12)
+
+#define S5PC1XX_GPD4_I2C0_SCL		(0x2 << 16)
+#define S5PC1XX_GPD4_GPIO_INT4_4	(0xf << 16)
+
+#define S5PC1XX_GPD5_I2C1_SDA		(0x2 << 20)
+#define S5PC1XX_GPD5_SPDIF0_OUT		(0x3 << 20)
+#define S5PC1XX_GPD5_GPIO_INT4_5	(0xf << 20)
+
+#define S5PC1XX_GPD6_I2C1_SCL		(0x2 << 24)
+#define S5PC1XX_GPD6_SPDIF_EXTCLK	(0x3 << 24)
+#define S5PC1XX_GPD6_GPIO_INT4_6	(0xf << 24)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e0.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e0.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e0.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e0.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,57 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e0.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank E0 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPE0CON			(S5PC1XX_GPE0_BASE + 0x00)
+#define S5PC1XX_GPE0DAT			(S5PC1XX_GPE0_BASE + 0x04)
+#define S5PC1XX_GPE0PUD			(S5PC1XX_GPE0_BASE + 0x08)
+#define S5PC1XX_GPE0DRV			(S5PC1XX_GPE0_BASE + 0x0c)
+#define S5PC1XX_GPE0CONPDN		(S5PC1XX_GPE0_BASE + 0x10)
+#define S5PC1XX_GPE0PUDPDN		(S5PC1XX_GPE0_BASE + 0x14)
+
+#define S5PC1XX_GPE0_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPE0_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPE0_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPE0_0_CAM_A_PCLK	(0x2 << 0)
+#define S5PC1XX_GPE0_0_SD_1_CLK		(0x3 << 0)
+#define S5PC1XX_GPE0_0_GPIO_INT5_0	(0xf << 0)
+
+#define S5PC1XX_GPE0_1_CAM_A_VSYNC	(0x2 << 4)
+#define S5PC1XX_GPE0_1_SD_1_CDn		(0x3 << 4)
+#define S5PC1XX_GPE0_1_GPIO_INT5_1	(0xf << 4)
+
+#define S5PC1XX_GPE0_2_CAM_A_HREF	(0x2 << 8)
+#define S5PC1XX_GPE0_2_SD_1_CMD		(0x3 << 8)
+#define S5PC1XX_GPE0_2_GPIO_INT5_2	(0xf << 8)
+
+#define S5PC1XX_GPE0_3_CAM_A_DATA_0	(0x2 << 12)
+#define S5PC1XX_GPE0_3_SD_1_DATA_0	(0x3 << 12)
+#define S5PC1XX_GPE0_3_GPIO_INT5_3	(0xf << 12)
+
+#define S5PC1XX_GPE0_4_CAM_A_DATA_1	(0x2 << 16)
+#define S5PC1XX_GPE0_4_SD_1_DATA_1	(0x3 << 16)
+#define S5PC1XX_GPE0_4_GPIO_INT5_4	(0xf << 16)
+
+#define S5PC1XX_GPE0_5_CAM_A_DATA_2	(0x2 << 20)
+#define S5PC1XX_GPE0_5_SD_1_DATA_2	(0x3 << 20)
+#define S5PC1XX_GPE0_5_GPIO_INT5_5	(0xf << 20)
+
+#define S5PC1XX_GPE0_6_CAM_A_DATA_3	(0x2 << 24)
+#define S5PC1XX_GPE0_6_SD_1_DATA_3	(0x3 << 24)
+#define S5PC1XX_GPE0_6_GPIO_INT5_6	(0xf << 24)
+
+#define S5PC1XX_GPE0_7_CAM_A_DATA_4	(0x2 << 28)
+#define S5PC1XX_GPE0_7_SD_1_DATA_4	(0x3 << 28)
+#define S5PC1XX_GPE0_7_GPIO_INT5_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e1.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e1.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e1.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e1.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,46 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-e1.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank E1 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPE1CON			(S5PC1XX_GPE1_BASE + 0x00)
+#define S5PC1XX_GPE1DAT			(S5PC1XX_GPE1_BASE + 0x04)
+#define S5PC1XX_GPE1PUD			(S5PC1XX_GPE1_BASE + 0x08)
+#define S5PC1XX_GPE1DRV			(S5PC1XX_GPE1_BASE + 0x0c)
+#define S5PC1XX_GPE1CONPDN		(S5PC1XX_GPE1_BASE + 0x10)
+#define S5PC1XX_GPE1PUDPDN		(S5PC1XX_GPE1_BASE + 0x14)
+
+#define S5PC1XX_GPE1_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPE1_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPE1_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPE1_0_CAM_A_DATA_5	(0x2 << 0)
+#define S5PC1XX_GPE1_0_SD_1_DATA_5	(0x3 << 0)
+#define S5PC1XX_GPE1_0_GPIO_INT6_0	(0xf << 0)
+
+#define S5PC1XX_GPE1_1_CAM_A_DATA_6	(0x2 << 4)
+#define S5PC1XX_GPE1_1_SD_1_DATA_6	(0x3 << 4)
+#define S5PC1XX_GPE1_1_GPIO_INT6_1	(0xf << 4)
+
+#define S5PC1XX_GPE1_2_CAM_A_DATA_7	(0x2 << 8)
+#define S5PC1XX_GPE1_2_SD_1_DATA_7	(0x3 << 8)
+#define S5PC1XX_GPE1_2_GPIO_INT6_2	(0xf << 8)
+
+#define S5PC1XX_GPE1_3_CAM_A_CLKOUT	(0x2 << 12)
+#define S5PC1XX_GPE1_3_GPIO_INT6_3	(0xf << 12)
+
+#define S5PC1XX_GPE1_4_CAM_A_RESET	(0x2 << 16)
+#define S5PC1XX_GPE1_4_GPIO_INT6_4	(0xf << 16)
+
+#define S5PC1XX_GPE1_5_CAM_A_FIELD	(0x2 << 20)
+#define S5PC1XX_GPE1_5_GPIO_INT6_5	(0xf << 20)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f0.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f0.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f0.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f0.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,65 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f0.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank F0 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPF0CON			(S5PC1XX_GPF0_BASE + 0x00)
+#define S5PC1XX_GPF0DAT			(S5PC1XX_GPF0_BASE + 0x04)
+#define S5PC1XX_GPF0PUD			(S5PC1XX_GPF0_BASE + 0x08)
+#define S5PC1XX_GPF0DRV			(S5PC1XX_GPF0_BASE + 0x0c)
+#define S5PC1XX_GPF0CONPDN		(S5PC1XX_GPF0_BASE + 0x10)
+#define S5PC1XX_GPF0PUDPDN		(S5PC1XX_GPF0_BASE + 0x14)
+
+#define S5PC1XX_GPF0_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPF0_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPF0_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPF0_0_LCD_HSYNC	(0x2 << 0)
+#define S5PC1XX_GPF0_0_SYS_CS0		(0x3 << 0)
+#define S5PC1XX_GPF0_0_VEN_HSYNC	(0x4 << 0)
+#define S5PC1XX_GPF0_0_GPIO_INT7_0	(0xf << 0)
+
+#define S5PC1XX_GPF0_1_LCD_VSYNC	(0x2 << 4)
+#define S5PC1XX_GPF0_1_SYS_CS1		(0x3 << 4)
+#define S5PC1XX_GPF0_1_VEN_VSYNC	(0x4 << 4)
+#define S5PC1XX_GPF0_1_GPIO_INT7_1	(0xf << 4)
+
+#define S5PC1XX_GPF0_2_LCD_VDEN		(0x2 << 8)
+#define S5PC1XX_GPF0_2_SYS_RS		(0x3 << 8)
+#define S5PC1XX_GPF0_2_VEN_HREF		(0x4 << 8)
+#define S5PC1XX_GPF0_2_GPIO_INT7_2	(0xf << 8)
+
+#define S5PC1XX_GPF0_3_LCD_VCLK		(0x2 << 12)
+#define S5PC1XX_GPF0_3_SYS_WE		(0x3 << 12)
+#define S5PC1XX_GPF0_3_V601_CLK		(0x4 << 12)
+#define S5PC1XX_GPF0_3_GPIO_INT7_3	(0xf << 12)
+
+#define S5PC1XX_GPF0_4_LCD_VD_0		(0x2 << 16)
+#define S5PC1XX_GPF0_4_SYS_VD_0		(0x3 << 16)
+#define S5PC1XX_GPF0_4_VEN_DATA_0	(0x4 << 16)
+#define S5PC1XX_GPF0_4_GPIO_INT7_4	(0xf << 16)
+
+#define S5PC1XX_GPF0_5_LCD_VD_1		(0x2 << 20)
+#define S5PC1XX_GPF0_5_SYS_VD_1		(0x3 << 20)
+#define S5PC1XX_GPF0_5_VEN_DATA_1	(0x4 << 20)
+#define S5PC1XX_GPF0_5_GPIO_INT7_5	(0xf << 20)
+
+#define S5PC1XX_GPF0_6_LCD_VD_2		(0x2 << 24)
+#define S5PC1XX_GPF0_6_SYS_VD_2		(0x3 << 24)
+#define S5PC1XX_GPF0_6_VEN_DATA_2	(0x4 << 24)
+#define S5PC1XX_GPF0_6_GPIO_INT7_6	(0xf << 24)
+
+#define S5PC1XX_GPF0_7_LCD_VD_3		(0x2 << 28)
+#define S5PC1XX_GPF0_7_SYS_VD_3		(0x3 << 28)
+#define S5PC1XX_GPF0_7_VEN_DATA_3	(0x4 << 28)
+#define S5PC1XX_GPF0_7_GPIO_INT7_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f1.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f1.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f1.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f1.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,65 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f1.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank F1 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPF1CON			(S5PC1XX_GPF1_BASE + 0x00)
+#define S5PC1XX_GPF1DAT			(S5PC1XX_GPF1_BASE + 0x04)
+#define S5PC1XX_GPF1PUD			(S5PC1XX_GPF1_BASE + 0x08)
+#define S5PC1XX_GPF1DRV			(S5PC1XX_GPF1_BASE + 0x0c)
+#define S5PC1XX_GPF1CONPDN		(S5PC1XX_GPF1_BASE + 0x10)
+#define S5PC1XX_GPF1PUDPDN		(S5PC1XX_GPF1_BASE + 0x14)
+
+#define S5PC1XX_GPF1_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPF1_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPF1_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPF1_0_LCD_VD_4		(0x2 << 0)
+#define S5PC1XX_GPF1_0_SYS_VD_4		(0x3 << 0)
+#define S5PC1XX_GPF1_0_VEN_DATA_4	(0x4 << 0)
+#define S5PC1XX_GPF1_0_GPIO_INT8_0	(0xf << 0)
+
+#define S5PC1XX_GPF1_1_LCD_VD_5		(0x2 << 4)
+#define S5PC1XX_GPF1_1_SYS_VD_5		(0x3 << 4)
+#define S5PC1XX_GPF1_1_VEN_DATA_5	(0x4 << 4)
+#define S5PC1XX_GPF1_1_GPIO_INT8_1	(0xf << 4)
+
+#define S5PC1XX_GPF1_2_LCD_VD_6		(0x2 << 8)
+#define S5PC1XX_GPF1_2_SYS_VD_6		(0x3 << 8)
+#define S5PC1XX_GPF1_2_VEN_DATA_6	(0x4 << 8)
+#define S5PC1XX_GPF1_2_GPIO_INT8_2	(0xf << 8)
+
+#define S5PC1XX_GPF1_3_LCD_VD_7		(0x2 << 12)
+#define S5PC1XX_GPF1_3_SYS_VD_7		(0x3 << 12)
+#define S5PC1XX_GPF1_3_VEN_DATA_7	(0x4 << 12)
+#define S5PC1XX_GPF1_3_GPIO_INT8_3	(0xf << 12)
+
+#define S5PC1XX_GPF1_4_LCD_VD_8		(0x2 << 16)
+#define S5PC1XX_GPF1_4_SYS_VD_8		(0x3 << 16)
+#define S5PC1XX_GPF1_4_V656_DATA_0	(0x4 << 16)
+#define S5PC1XX_GPF1_4_GPIO_INT8_4	(0xf << 16)
+
+#define S5PC1XX_GPF1_5_LCD_VD_9		(0x2 << 20)
+#define S5PC1XX_GPF1_5_SYS_VD_9		(0x3 << 20)
+#define S5PC1XX_GPF1_5_V656_DATA_1	(0x4 << 20)
+#define S5PC1XX_GPF1_5_GPIO_INT8_5	(0xf << 20)
+
+#define S5PC1XX_GPF1_6_LCD_VD_10	(0x2 << 24)
+#define S5PC1XX_GPF1_6_SYS_VD_10	(0x3 << 24)
+#define S5PC1XX_GPF1_6_V656_DATA_2	(0x4 << 24)
+#define S5PC1XX_GPF1_6_GPIO_INT8_6	(0xf << 24)
+
+#define S5PC1XX_GPF1_7_LCD_VD_11	(0x2 << 28)
+#define S5PC1XX_GPF1_7_SYS_VD_11	(0x3 << 28)
+#define S5PC1XX_GPF1_7_V656_DATA_3	(0x4 << 28)
+#define S5PC1XX_GPF1_7_GPIO_INT8_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f2.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f2.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f2.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f2.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,59 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f2.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank F2 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPF2CON			(S5PC1XX_GPF2_BASE + 0x00)
+#define S5PC1XX_GPF2DAT			(S5PC1XX_GPF2_BASE + 0x04)
+#define S5PC1XX_GPF2PUD			(S5PC1XX_GPF2_BASE + 0x08)
+#define S5PC1XX_GPF2DRV			(S5PC1XX_GPF2_BASE + 0x0c)
+#define S5PC1XX_GPF2CONPDN		(S5PC1XX_GPF2_BASE + 0x10)
+#define S5PC1XX_GPF2PUDPDN		(S5PC1XX_GPF2_BASE + 0x14)
+
+#define S5PC1XX_GPF2_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPF2_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPF2_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPF2_0_LCD_VD_12	(0x2 << 0)
+#define S5PC1XX_GPF2_0_SYS_VD_12	(0x3 << 0)
+#define S5PC1XX_GPF2_0_V656_DATA_4	(0x4 << 0)
+#define S5PC1XX_GPF2_0_GPIO_INT9_0	(0xf << 0)
+
+#define S5PC1XX_GPF2_1_LCD_VD_13	(0x2 << 4)
+#define S5PC1XX_GPF2_1_SYS_VD_13	(0x3 << 4)
+#define S5PC1XX_GPF2_1_V656_DATA_5	(0x4 << 4)
+#define S5PC1XX_GPF2_1_GPIO_INT9_1	(0xf << 4)
+
+#define S5PC1XX_GPF2_2_LCD_VD_14	(0x2 << 8)
+#define S5PC1XX_GPF2_2_SYS_VD_14	(0x3 << 8)
+#define S5PC1XX_GPF2_2_V656_DATA_6	(0x4 << 8)
+#define S5PC1XX_GPF2_2_GPIO_INT9_2	(0xf << 8)
+
+#define S5PC1XX_GPF2_3_LCD_VD_15	(0x2 << 12)
+#define S5PC1XX_GPF2_3_SYS_VD_15	(0x3 << 12)
+#define S5PC1XX_GPF2_3_V656_DATA_7	(0x4 << 12)
+#define S5PC1XX_GPF2_3_GPIO_INT9_3	(0xf << 12)
+
+#define S5PC1XX_GPF2_4_LCD_VD_16	(0x2 << 16)
+#define S5PC1XX_GPF2_4_SYS_VD_16	(0x3 << 16)
+#define S5PC1XX_GPF2_4_GPIO_INT9_4	(0xf << 16)
+
+#define S5PC1XX_GPF2_5_LCD_VD_17	(0x2 << 20)
+#define S5PC1XX_GPF2_5_SYS_VD_17	(0x3 << 20)
+#define S5PC1XX_GPF2_5_GPIO_INT9_5	(0xf << 20)
+
+#define S5PC1XX_GPF2_6_LCD_VD_18	(0x2 << 24)
+#define S5PC1XX_GPF2_6_GPIO_INT9_6	(0xf << 24)
+
+#define S5PC1XX_GPF2_7_LCD_VD_19	(0x2 << 28)
+#define S5PC1XX_GPF2_7_GPIO_INT9_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f3.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f3.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f3.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f3.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,41 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-f3.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank F3 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPF3CON			(S5PC1XX_GPF3_BASE + 0x00)
+#define S5PC1XX_GPF3DAT			(S5PC1XX_GPF3_BASE + 0x04)
+#define S5PC1XX_GPF3PUD			(S5PC1XX_GPF3_BASE + 0x08)
+#define S5PC1XX_GPF3DRV			(S5PC1XX_GPF3_BASE + 0x0c)
+#define S5PC1XX_GPF3CONPDN		(S5PC1XX_GPF3_BASE + 0x10)
+#define S5PC1XX_GPF3PUDPDN		(S5PC1XX_GPF3_BASE + 0x14)
+
+#define S5PC1XX_GPF3_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPF3_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPF3_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPF3_0_LCD_VD_20	(0x2 << 0)
+#define S5PC1XX_GPF3_0_GPIO_INT10_0	(0xf << 0)
+
+#define S5PC1XX_GPF3_1_LCD_VD_21	(0x2 << 4)
+#define S5PC1XX_GPF3_1_GPIO_INT10_1	(0xf << 4)
+
+#define S5PC1XX_GPF3_2_LCD_VD_22	(0x2 << 8)
+#define S5PC1XX_GPF3_2_VSYNC_LDI	(0x3 << 8)
+#define S5PC1XX_GPF3_2_V656_CLK		(0x4 << 8)
+#define S5PC1XX_GPF3_2_GPIO_INT10_2	(0xf << 8)
+
+#define S5PC1XX_GPF3_3_LCD_VD_23	(0x2 << 12)
+#define S5PC1XX_GPF3_3_SYS_OE		(0x3 << 12)
+#define S5PC1XX_GPF3_3_VEN_FIELD	(0x4 << 12)
+#define S5PC1XX_GPF3_3_GPIO_INT10_3	(0xf << 12)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g0.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g0.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g0.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g0.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,49 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g0.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank G0 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPG0CON			(S5PC1XX_GPG0_BASE + 0x00)
+#define S5PC1XX_GPG0DAT			(S5PC1XX_GPG0_BASE + 0x04)
+#define S5PC1XX_GPG0PUD			(S5PC1XX_GPG0_BASE + 0x08)
+#define S5PC1XX_GPG0DRV			(S5PC1XX_GPG0_BASE + 0x0c)
+#define S5PC1XX_GPG0CONPDN		(S5PC1XX_GPG0_BASE + 0x10)
+#define S5PC1XX_GPG0PUDPDN		(S5PC1XX_GPG0_BASE + 0x14)
+
+#define S5PC1XX_GPG0_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPG0_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPG0_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPG0_0_SD_0_CLK		(0x2 << 0)
+#define S5PC1XX_GPG0_0_GPIO_INT11_0	(0xf << 0)
+
+#define S5PC1XX_GPG0_1_SD_0_CMD		(0x2 << 4)
+#define S5PC1XX_GPG0_1_GPIO_INT11_1	(0xf << 4)
+
+#define S5PC1XX_GPG0_2_SD_0_DATA_0	(0x2 << 8)
+#define S5PC1XX_GPG0_2_GPIO_INT11_2	(0xf << 8)
+
+#define S5PC1XX_GPG0_3_SD_0_DATA_1	(0x2 << 12)
+#define S5PC1XX_GPG0_3_GPIO_INT11_3	(0xf << 12)
+
+#define S5PC1XX_GPG0_4_SD_0_DATA_2	(0x2 << 16)
+#define S5PC1XX_GPG0_4_GPIO_INT11_4	(0xf << 16)
+
+#define S5PC1XX_GPG0_5_SD_0_DATA_3	(0x2 << 20)
+#define S5PC1XX_GPG0_5_GPIO_INT11_5	(0xf << 20)
+
+#define S5PC1XX_GPG0_6_SD_0_DATA_4	(0x2 << 24)
+#define S5PC1XX_GPG0_6_GPIO_INT11_6	(0xf << 24)
+
+#define S5PC1XX_GPG0_7_SD_0_DATA_5	(0x2 << 28)
+#define S5PC1XX_GPG0_7_GPIO_INT11_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g1.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g1.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g1.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g1.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,34 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g1.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank G1 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPG1CON			(S5PC1XX_GPG1_BASE + 0x00)
+#define S5PC1XX_GPG1DAT			(S5PC1XX_GPG1_BASE + 0x04)
+#define S5PC1XX_GPG1PUD			(S5PC1XX_GPG1_BASE + 0x08)
+#define S5PC1XX_GPG1DRV			(S5PC1XX_GPG1_BASE + 0x0c)
+#define S5PC1XX_GPG1CONPDN		(S5PC1XX_GPG1_BASE + 0x10)
+#define S5PC1XX_GPG1PUDPDN		(S5PC1XX_GPG1_BASE + 0x14)
+
+#define S5PC1XX_GPG1_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPG1_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPG1_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPG1_0_SD_0_DATA_6	(0x2 << 0)
+#define S5PC1XX_GPG1_0_GPIO_INT12_0	(0xf << 0)
+
+#define S5PC1XX_GPG1_1_SD_0_DATA_7	(0x2 << 4)
+#define S5PC1XX_GPG1_1_GPIO_INT12_1	(0xf << 4)
+
+#define S5PC1XX_GPG1_2_SD_0_CDn		(0x2 << 8)
+#define S5PC1XX_GPG1_2_GPIO_INT12_2	(0xf << 8)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g2.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g2.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g2.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g2.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,46 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g2.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank G2 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPG2CON			(S5PC1XX_GPG2_BASE + 0x00)
+#define S5PC1XX_GPG2DAT			(S5PC1XX_GPG2_BASE + 0x04)
+#define S5PC1XX_GPG2PUD			(S5PC1XX_GPG2_BASE + 0x08)
+#define S5PC1XX_GPG2DRV			(S5PC1XX_GPG2_BASE + 0x0c)
+#define S5PC1XX_GPG2CONPDN		(S5PC1XX_GPG2_BASE + 0x10)
+#define S5PC1XX_GPG2PUDPDN		(S5PC1XX_GPG2_BASE + 0x14)
+
+#define S5PC1XX_GPG2_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPG2_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPG2_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPG2_0_SD_1_CLK		(0x2 << 0)
+#define S5PC1XX_GPG2_0_GPIO_INT13_0	(0xf << 0)
+
+#define S5PC1XX_GPG2_1_SD_1_CMD		(0x2 << 4)
+#define S5PC1XX_GPG2_1_GPIO_INT13_1	(0xf << 4)
+
+#define S5PC1XX_GPG2_2_SD_1_DATA_0	(0x2 << 8)
+#define S5PC1XX_GPG2_2_GPIO_INT13_2	(0xf << 8)
+
+#define S5PC1XX_GPG2_3_SD_1_DATA_1	(0x2 << 12)
+#define S5PC1XX_GPG2_3_GPIO_INT13_3	(0xf << 12)
+
+#define S5PC1XX_GPG2_4_SD_1_DATA_2	(0x2 << 16)
+#define S5PC1XX_GPG2_4_GPIO_INT13_4	(0xf << 16)
+
+#define S5PC1XX_GPG2_5_SD_1_DATA_3	(0x2 << 20)
+#define S5PC1XX_GPG2_5_GPIO_INT13_5	(0xf << 20)
+
+#define S5PC1XX_GPG2_6_SD_1_CDn		(0x2 << 24)
+#define S5PC1XX_GPG2_6_GPIO_INT13_6	(0xf << 24)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g3.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g3.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g3.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g3.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,62 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-g3.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank G3 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPG3CON			(S5PC1XX_GPG3_BASE + 0x00)
+#define S5PC1XX_GPG3DAT			(S5PC1XX_GPG3_BASE + 0x04)
+#define S5PC1XX_GPG3PUD			(S5PC1XX_GPG3_BASE + 0x08)
+#define S5PC1XX_GPG3DRV			(S5PC1XX_GPG3_BASE + 0x0c)
+#define S5PC1XX_GPG3CONPDN		(S5PC1XX_GPG3_BASE + 0x10)
+#define S5PC1XX_GPG3PUDPDN		(S5PC1XX_GPG3_BASE + 0x14)
+
+#define S5PC1XX_GPG3_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPG3_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPG3_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPG3_0_SD_2_CLK		(0x2 << 0)
+#define S5PC1XX_GPG3_0_SPI_2_CLK	(0x3 << 0)
+#define S5PC1XX_GPG3_0_I2S_2_SCLK	(0x4 << 0)
+#define S5PC1XX_GPG3_0_PCM_0_SCLK	(0x5 << 0)
+#define S5PC1XX_GPG3_0_GPIO_INT14_0	(0xf << 0)
+
+#define S5PC1XX_GPG3_1_SD_2_CMD		(0x2 << 4)
+#define S5PC1XX_GPG3_1_SPI_2_nSS	(0x3 << 4)
+#define S5PC1XX_GPG3_1_I2S_2_CDCLK	(0x4 << 4)
+#define S5PC1XX_GPG3_1_PCM_0_EXTCLK	(0x5 << 4)
+#define S5PC1XX_GPG3_1_GPIO_INT14_1	(0xf << 4)
+
+#define S5PC1XX_GPG3_2_SD_2_DATA0	(0x2 << 8)
+#define S5PC1XX_GPG3_2_SPI_2_MISO	(0x3 << 8)
+#define S5PC1XX_GPG3_2_I2S_2_LRCK	(0x4 << 8)
+#define S5PC1XX_GPG3_2_PCM_0_FSYNC	(0x5 << 8)
+#define S5PC1XX_GPG3_2_GPIO_INT14_2	(0xf << 8)
+
+#define S5PC1XX_GPG3_3_SD_2_DATA1	(0x2 << 12)
+#define S5PC1XX_GPG3_3_SPI_2_MOSI	(0x3 << 12)
+#define S5PC1XX_GPG3_3_I2S_2_SDI	(0x4 << 12)
+#define S5PC1XX_GPG3_3_PCM_0_SIN	(0x5 << 12)
+#define S5PC1XX_GPG3_3_GPIO_INT14_3	(0xf << 12)
+
+#define S5PC1XX_GPG3_4_SD_2_DATA2	(0x2 << 16)
+#define S5PC1XX_GPG3_4_I2S_2_SDO	(0x4 << 16)
+#define S5PC1XX_GPG3_4_PCM_0_SOUT	(0x5 << 16)
+#define S5PC1XX_GPG3_4_GPIO_INT14_4	(0xf << 16)
+
+#define S5PC1XX_GPG3_5_SD_2_DATA3	(0x2 << 20)
+#define S5PC1XX_GPG3_5_SPDIF0_OUT	(0x5 << 20)
+#define S5PC1XX_GPG3_5_GPIO_INT14_5	(0xf << 20)
+
+#define S5PC1XX_GPG3_6_SD_2_CDn		(0x2 << 24)
+#define S5PC1XX_GPG3_6_SPDIF_EXTCLK	(0x5 << 24)
+#define S5PC1XX_GPG3_6_GPIO_INT14_6	(0xf << 24)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h0.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h0.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h0.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h0.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,33 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h0.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank H0 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPH0CON			(S5PC1XX_GPH0_BASE + 0x00)
+#define S5PC1XX_GPH0DAT			(S5PC1XX_GPH0_BASE + 0x04)
+#define S5PC1XX_GPH0PUD			(S5PC1XX_GPH0_BASE + 0x08)
+#define S5PC1XX_GPH0DRV			(S5PC1XX_GPH0_BASE + 0x0c)
+#define S5PC1XX_GPH0CONPDN		(S5PC1XX_GPH0_BASE + 0x10)
+#define S5PC1XX_GPH0PUDPDN		(S5PC1XX_GPH0_BASE + 0x14)
+
+#define S5PC1XX_GPH0_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPH0_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPH0_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPH0_0_WAKEUP_INT_0	(0x2 << 0)
+#define S5PC1XX_GPH0_1_WAKEUP_INT_1	(0x2 << 4)
+#define S5PC1XX_GPH0_2_WAKEUP_INT_2	(0x2 << 8)
+#define S5PC1XX_GPH0_3_WAKEUP_INT_3	(0x2 << 12)
+#define S5PC1XX_GPH0_4_WAKEUP_INT_4	(0x2 << 16)
+#define S5PC1XX_GPH0_5_WAKEUP_INT_5	(0x2 << 20)
+#define S5PC1XX_GPH0_6_WAKEUP_INT_6	(0x2 << 24)
+#define S5PC1XX_GPH0_7_WAKEUP_INT_7	(0x2 << 28)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h1.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h1.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h1.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h1.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,47 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h1.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank H1 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPH1CON			(S5PC1XX_GPH1_BASE + 0x00)
+#define S5PC1XX_GPH1DAT			(S5PC1XX_GPH1_BASE + 0x04)
+#define S5PC1XX_GPH1PUD			(S5PC1XX_GPH1_BASE + 0x08)
+#define S5PC1XX_GPH1DRV			(S5PC1XX_GPH1_BASE + 0x0c)
+#define S5PC1XX_GPH1CONPDN		(S5PC1XX_GPH1_BASE + 0x10)
+#define S5PC1XX_GPH1PUDPDN		(S5PC1XX_GPH1_BASE + 0x14)
+
+#define S5PC1XX_GPH1_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPH1_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPH1_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPH1_0_WAKEUP_INT_8	(0x2 << 0)
+
+#define S5PC1XX_GPH1_1_WAKEUP_INT_9	(0x2 << 4)
+
+#define S5PC1XX_GPH1_2_WAKEUP_INT_10	(0x2 << 8)
+#define S5PC1XX_GPH1_2_CG_REALIN	(0x3 << 8)
+
+#define S5PC1XX_GPH1_3_WAKEUP_INT_11	(0x2 << 12)
+#define S5PC1XX_GPH1_3_CG_IMGIN		(0x3 << 12)
+
+#define S5PC1XX_GPH1_4_WAKEUP_INT_12	(0x2 << 16)
+#define S5PC1XX_GPH1_4_CG_GPO0		(0x3 << 16)
+
+#define S5PC1XX_GPH1_5_WAKEUP_INT_13	(0x2 << 20)
+#define S5PC1XX_GPH1_5_CG_GPO1		(0x3 << 20)
+
+#define S5PC1XX_GPH1_6_WAKEUP_INT_14	(0x2 << 24)
+#define S5PC1XX_GPH1_6_CG_GPO2		(0x3 << 24)
+
+#define S5PC1XX_GPH1_7_WAKEUP_INT_15	(0x2 << 28)
+#define S5PC1XX_GPH1_7_CG_GPO3		(0x3 << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h2.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h2.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h2.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h2.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,57 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h2.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank H2 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPH2CON			(S5PC1XX_GPH2_BASE + 0x00)
+#define S5PC1XX_GPH2DAT			(S5PC1XX_GPH2_BASE + 0x04)
+#define S5PC1XX_GPH2PUD			(S5PC1XX_GPH2_BASE + 0x08)
+#define S5PC1XX_GPH2DRV			(S5PC1XX_GPH2_BASE + 0x0c)
+#define S5PC1XX_GPH2CONPDN		(S5PC1XX_GPH2_BASE + 0x10)
+#define S5PC1XX_GPH2PUDPDN		(S5PC1XX_GPH2_BASE + 0x14)
+
+#define S5PC1XX_GPH2_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPH2_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPH2_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPH2_0_WAKEUP_INT_16	(0x2 << 0)
+#define S5PC1XX_GPH2_0_KEYPAD_COL_0	(0x3 << 0)
+#define S5PC1XX_GPH2_0_CAM_B_DATA_0	(0x4 << 0)
+
+#define S5PC1XX_GPH2_1_WAKEUP_INT_17	(0x2 << 4)
+#define S5PC1XX_GPH2_1_KEYPAD_COL_1	(0x3 << 4)
+#define S5PC1XX_GPH2_1_CAM_B_DATA_1	(0x4 << 4)
+
+#define S5PC1XX_GPH2_2_WAKEUP_INT_18	(0x2 << 8)
+#define S5PC1XX_GPH2_2_KEYPAD_COL_2	(0x3 << 8)
+#define S5PC1XX_GPH2_2_CAM_B_DATA_2	(0x4 << 8)
+
+#define S5PC1XX_GPH2_3_WAKEUP_INT_19	(0x2 << 12)
+#define S5PC1XX_GPH2_3_KEYPAD_COL_3	(0x3 << 12)
+#define S5PC1XX_GPH2_3_CAM_B_DATA_3	(0x4 << 12)
+
+#define S5PC1XX_GPH2_4_WAKEUP_INT_20	(0x2 << 16)
+#define S5PC1XX_GPH2_4_KEYPAD_COL_4	(0x3 << 16)
+#define S5PC1XX_GPH2_4_CAM_B_DATA_4	(0x4 << 16)
+
+#define S5PC1XX_GPH2_5_WAKEUP_INT_21	(0x2 << 20)
+#define S5PC1XX_GPH2_5_KEYPAD_COL_5	(0x3 << 20)
+#define S5PC1XX_GPH2_5_CAM_B_DATA_5	(0x4 << 20)
+
+#define S5PC1XX_GPH2_6_WAKEUP_INT_22	(0x2 << 24)
+#define S5PC1XX_GPH2_6_KEYPAD_COL_6	(0x3 << 24)
+#define S5PC1XX_GPH2_6_CAM_B_DATA_6	(0x4 << 24)
+
+#define S5PC1XX_GPH2_7_WAKEUP_INT_23	(0x2 << 28)
+#define S5PC1XX_GPH2_7_KEYPAD_COL_7	(0x3 << 28)
+#define S5PC1XX_GPH2_7_CAM_B_DATA_7	(0x4 << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h3.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h3.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h3.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h3.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,57 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-h3.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank H3 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPH3CON			(S5PC1XX_GPH3_BASE + 0x00)
+#define S5PC1XX_GPH3DAT			(S5PC1XX_GPH3_BASE + 0x04)
+#define S5PC1XX_GPH3PUD			(S5PC1XX_GPH3_BASE + 0x08)
+#define S5PC1XX_GPH3DRV			(S5PC1XX_GPH3_BASE + 0x0c)
+#define S5PC1XX_GPH3CONPDN		(S5PC1XX_GPH3_BASE + 0x10)
+#define S5PC1XX_GPH3PUDPDN		(S5PC1XX_GPH3_BASE + 0x14)
+
+#define S5PC1XX_GPH3_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPH3_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPH3_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPH3_0_WAKEUP_INT_24	(0x2 << 0)
+#define S5PC1XX_GPH3_0_KEYPAD_ROW_0	(0x3 << 0)
+#define S5PC1XX_GPH3_0_CAM_B_PCLK	(0x4 << 0)
+
+#define S5PC1XX_GPH3_1_WAKEUP_INT_25	(0x2 << 4)
+#define S5PC1XX_GPH3_1_KEYPAD_ROW_1	(0x3 << 4)
+#define S5PC1XX_GPH3_1_CAM_B_VSYNC	(0x4 << 4)
+
+#define S5PC1XX_GPH3_2_WAKEUP_INT_26	(0x2 << 8)
+#define S5PC1XX_GPH3_2_KEYPAD_ROW_2	(0x3 << 8)
+#define S5PC1XX_GPH3_2_CAM_B_HREF	(0x4 << 8)
+
+#define S5PC1XX_GPH3_3_WAKEUP_INT_27	(0x2 << 12)
+#define S5PC1XX_GPH3_3_KEYPAD_ROW_3	(0x3 << 12)
+#define S5PC1XX_GPH3_3_CAM_B_FIELD	(0x4 << 12)
+
+#define S5PC1XX_GPH3_4_WAKEUP_INT_28	(0x2 << 16)
+#define S5PC1XX_GPH3_4_KEYPAD_ROW_4	(0x3 << 16)
+#define S5PC1XX_GPH3_4_CAN0_TX		(0x4 << 16)
+
+#define S5PC1XX_GPH3_5_WAKEUP_INT_29	(0x2 << 20)
+#define S5PC1XX_GPH3_5_KEYPAD_ROW_5	(0x3 << 20)
+#define S5PC1XX_GPH3_5_CAN0_RX		(0x4 << 20)
+
+#define S5PC1XX_GPH3_6_WAKEUP_INT_30	(0x2 << 24)
+#define S5PC1XX_GPH3_6_KEYPAD_ROW_6	(0x3 << 24)
+#define S5PC1XX_GPH3_6_CAN1_TX		(0x4 << 24)
+
+#define S5PC1XX_GPH3_7_WAKEUP_INT_31	(0x2 << 28)
+#define S5PC1XX_GPH3_7_KEYPAD_ROW_7	(0x3 << 28)
+#define S5PC1XX_GPH3_7_CAN1_RX		(0x4 << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-i.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-i.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-i.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-i.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,49 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-i.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank I register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPICON			(S5PC1XX_GPI_BASE + 0x00)
+#define S5PC1XX_GPIDAT			(S5PC1XX_GPI_BASE + 0x04)
+#define S5PC1XX_GPIPUD			(S5PC1XX_GPI_BASE + 0x08)
+#define S5PC1XX_GPIDRV			(S5PC1XX_GPI_BASE + 0x0c)
+#define S5PC1XX_GPICONPDN		(S5PC1XX_GPI_BASE + 0x10)
+#define S5PC1XX_GPIPUDPDN		(S5PC1XX_GPI_BASE + 0x14)
+
+#define S5PC1XX_GPI_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPI_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPI_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPI0_IEM_SCLK		(0x2 << 0)
+#define S5PC1XX_GPI0_GPIO_INT15_0	(0xf << 0)
+
+#define S5PC1XX_GPI1_IEM_SPWI		(0x2 << 4)
+#define S5PC1XX_GPI1_GPIO_INT15_1	(0xf << 4)
+
+#define S5PC1XX_GPI2_BOOT_OPT_0		(0x2 << 8)
+#define S5PC1XX_GPI2_GPIO_INT15_2	(0xf << 8)
+
+#define S5PC1XX_GPI3_BOOT_OPT_1		(0x2 << 12)
+#define S5PC1XX_GPI3_GPIO_INT15_3	(0xf << 12)
+
+#define S5PC1XX_GPI4_BOOT_OPT_2		(0x2 << 16)
+#define S5PC1XX_GPI4_GPIO_INT15_4	(0xf << 16)
+
+#define S5PC1XX_GPI5_BOOT_OPT_3		(0x2 << 20)
+#define S5PC1XX_GPI5_GPIO_INT15_5	(0xf << 20)
+
+#define S5PC1XX_GPI6_BOOT_OPT_4		(0x2 << 24)
+#define S5PC1XX_GPI6_GPIO_INT15_6	(0xf << 24)
+
+#define S5PC1XX_GPI7_BOOT_OPT_5		(0x2 << 28)
+#define S5PC1XX_GPI7_GPIO_INT15_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j0.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j0.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j0.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j0.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,65 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j0.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank J0 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPJ0CON			(S5PC1XX_GPJ0_BASE + 0x00)
+#define S5PC1XX_GPJ0DAT			(S5PC1XX_GPJ0_BASE + 0x04)
+#define S5PC1XX_GPJ0PUD			(S5PC1XX_GPJ0_BASE + 0x08)
+#define S5PC1XX_GPJ0DRV			(S5PC1XX_GPJ0_BASE + 0x0c)
+#define S5PC1XX_GPJ0CONPDN		(S5PC1XX_GPJ0_BASE + 0x10)
+#define S5PC1XX_GPJ0PUDPDN		(S5PC1XX_GPJ0_BASE + 0x14)
+
+#define S5PC1XX_GPJ0_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPJ0_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPJ0_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPJ0_0_MSM_ADDR_0	(0x2 << 0)
+#define S5PC1XX_GPJ0_0_HSI_TX_DATA	(0x3 << 0)
+#define S5PC1XX_GPJ0_0_CF_ADDR_0	(0x4 << 0)
+#define S5PC1XX_GPJ0_0_GPIO_INT16_0	(0xf << 0)
+
+#define S5PC1XX_GPJ0_1_MSM_ADDR_1	(0x2 << 4)
+#define S5PC1XX_GPJ0_1_HSI_TX_FLAG	(0x3 << 4)
+#define S5PC1XX_GPJ0_1_CF_ADDR_1	(0x4 << 4)
+#define S5PC1XX_GPJ0_1_GPIO_INT16_1	(0xf << 4)
+
+#define S5PC1XX_GPJ0_2_MSM_ADDR_2	(0x2 << 8)
+#define S5PC1XX_GPJ0_2_HSI_TX_WAKE	(0x3 << 8)
+#define S5PC1XX_GPJ0_2_CF_ADDR_2	(0x4 << 8)
+#define S5PC1XX_GPJ0_2_GPIO_INT16_2	(0xf << 8)
+
+#define S5PC1XX_GPJ0_3_MSM_ADDR_3	(0x2 << 12)
+#define S5PC1XX_GPJ0_3_HSI_TX_READY	(0x3 << 12)
+#define S5PC1XX_GPJ0_3_CF_IORDY		(0x4 << 12)
+#define S5PC1XX_GPJ0_3_GPIO_INT16_3	(0xf << 12)
+
+#define S5PC1XX_GPJ0_4_MSM_ADDR_4	(0x2 << 16)
+#define S5PC1XX_GPJ0_4_HSI_RX_DATA	(0x3 << 16)
+#define S5PC1XX_GPJ0_4_CF_INTRQ		(0x4 << 16)
+#define S5PC1XX_GPJ0_4_GPIO_INT16_4	(0xf << 16)
+
+#define S5PC1XX_GPJ0_5_MSM_ADDR_5	(0x2 << 20)
+#define S5PC1XX_GPJ0_5_HSI_RX_FLAG	(0x3 << 20)
+#define S5PC1XX_GPJ0_5_CF_INPACKn	(0x4 << 20)
+#define S5PC1XX_GPJ0_5_GPIO_INT16_5	(0xf << 20)
+
+#define S5PC1XX_GPJ0_6_MSM_ADDR_6	(0x2 << 24)
+#define S5PC1XX_GPJ0_6_HSI_RX_WAKE	(0x3 << 24)
+#define S5PC1XX_GPJ0_6_CF_RESET		(0x4 << 24)
+#define S5PC1XX_GPJ0_6_GPIO_INT16_6	(0xf << 24)
+
+#define S5PC1XX_GPJ0_7_MSM_ADDR_7	(0x2 << 28)
+#define S5PC1XX_GPJ0_7_HSI_RX_READY	(0x3 << 28)
+#define S5PC1XX_GPJ0_7_CF_REG		(0x4 << 28)
+#define S5PC1XX_GPJ0_7_GPIO_INT16_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j1.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j1.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j1.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j1.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,40 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j1.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank J1 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPJ1CON			(S5PC1XX_GPJ1_BASE + 0x00)
+#define S5PC1XX_GPJ1DAT			(S5PC1XX_GPJ1_BASE + 0x04)
+#define S5PC1XX_GPJ1PUD			(S5PC1XX_GPJ1_BASE + 0x08)
+#define S5PC1XX_GPJ1DRV			(S5PC1XX_GPJ1_BASE + 0x0c)
+#define S5PC1XX_GPJ1CONPDN		(S5PC1XX_GPJ1_BASE + 0x10)
+#define S5PC1XX_GPJ1PUDPDN		(S5PC1XX_GPJ1_BASE + 0x14)
+
+#define S5PC1XX_GPJ1_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPJ1_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPJ1_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPJ1_0_MSM_ADDR_8	(0x2 << 0)
+#define S5PC1XX_GPJ1_0_GPIO_INT17_0	(0xf << 0)
+
+#define S5PC1XX_GPJ1_1_MSM_ADDR_9	(0x2 << 4)
+#define S5PC1XX_GPJ1_1_GPIO_INT17_1	(0xf << 4)
+
+#define S5PC1XX_GPJ1_2_MSM_ADDR_10	(0x2 << 8)
+#define S5PC1XX_GPJ1_2_GPIO_INT17_2	(0xf << 8)
+
+#define S5PC1XX_GPJ1_3_MSM_ADDR_11	(0x2 << 12)
+#define S5PC1XX_GPJ1_3_GPIO_INT17_3	(0xf << 12)
+
+#define S5PC1XX_GPJ1_4_MSM_ADDR_12	(0x2 << 16)
+#define S5PC1XX_GPJ1_4_GPIO_INT17_4	(0xf << 16)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j2.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j2.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j2.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j2.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,57 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j2.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank J2 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPJ2CON			(S5PC1XX_GPJ2_BASE + 0x00)
+#define S5PC1XX_GPJ2DAT			(S5PC1XX_GPJ2_BASE + 0x04)
+#define S5PC1XX_GPJ2PUD			(S5PC1XX_GPJ2_BASE + 0x08)
+#define S5PC1XX_GPJ2DRV			(S5PC1XX_GPJ2_BASE + 0x0c)
+#define S5PC1XX_GPJ2CONPDN		(S5PC1XX_GPJ2_BASE + 0x10)
+#define S5PC1XX_GPJ2PUDPDN		(S5PC1XX_GPJ2_BASE + 0x14)
+
+#define S5PC1XX_GPJ2_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPJ2_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPJ2_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPJ2_0_MSM_DATA_0	(0x2 << 0)
+#define S5PC1XX_GPJ2_0_CF_DATA_0	(0x4 << 0)
+#define S5PC1XX_GPJ2_0_GPIO_INT18_0	(0xf << 0)
+
+#define S5PC1XX_GPJ2_1_MSM_DATA_1	(0x2 << 4)
+#define S5PC1XX_GPJ2_1_CF_DATA_1	(0x4 << 4)
+#define S5PC1XX_GPJ2_1_GPIO_INT18_1	(0xf << 4)
+
+#define S5PC1XX_GPJ2_2_MSM_DATA_2	(0x2 << 8)
+#define S5PC1XX_GPJ2_2_CF_DATA_2	(0x4 << 8)
+#define S5PC1XX_GPJ2_2_GPIO_INT18_2	(0xf << 8)
+
+#define S5PC1XX_GPJ2_3_MSM_DATA_3	(0x2 << 12)
+#define S5PC1XX_GPJ2_3_CF_DATA_3	(0x4 << 12)
+#define S5PC1XX_GPJ2_3_GPIO_INT18_3	(0xf << 12)
+
+#define S5PC1XX_GPJ2_4_MSM_DATA_4	(0x2 << 16)
+#define S5PC1XX_GPJ2_4_CF_DATA_4	(0x4 << 16)
+#define S5PC1XX_GPJ2_4_GPIO_INT18_4	(0xf << 16)
+
+#define S5PC1XX_GPJ2_5_MSM_DATA_5	(0x2 << 20)
+#define S5PC1XX_GPJ2_5_CF_DATA_5	(0x4 << 20)
+#define S5PC1XX_GPJ2_5_GPIO_INT18_5	(0xf << 20)
+
+#define S5PC1XX_GPJ2_6_MSM_DATA_6	(0x2 << 24)
+#define S5PC1XX_GPJ2_6_CF_DATA_6	(0x4 << 24)
+#define S5PC1XX_GPJ2_6_GPIO_INT18_6	(0xf << 24)
+
+#define S5PC1XX_GPJ2_7_MSM_DATA_7	(0x2 << 28)
+#define S5PC1XX_GPJ2_7_CF_DATA_7	(0x4 << 28)
+#define S5PC1XX_GPJ2_7_GPIO_INT18_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j3.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j3.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j3.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j3.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,57 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j3.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank J3 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPJ3CON			(S5PC1XX_GPJ3_BASE + 0x00)
+#define S5PC1XX_GPJ3DAT			(S5PC1XX_GPJ3_BASE + 0x04)
+#define S5PC1XX_GPJ3PUD			(S5PC1XX_GPJ3_BASE + 0x08)
+#define S5PC1XX_GPJ3DRV			(S5PC1XX_GPJ3_BASE + 0x0c)
+#define S5PC1XX_GPJ3CONPDN		(S5PC1XX_GPJ3_BASE + 0x10)
+#define S5PC1XX_GPJ3PUDPDN		(S5PC1XX_GPJ3_BASE + 0x14)
+
+#define S5PC1XX_GPJ3_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPJ3_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPJ3_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPJ3_0_MSM_DATA_8	(0x2 << 0)
+#define S5PC1XX_GPJ3_0_CF_DATA_8	(0x4 << 0)
+#define S5PC1XX_GPJ3_0_GPIO_INT19_0	(0xf << 0)
+
+#define S5PC1XX_GPJ3_1_MSM_DATA_9	(0x2 << 4)
+#define S5PC1XX_GPJ3_1_CF_DATA_9	(0x4 << 4)
+#define S5PC1XX_GPJ3_1_GPIO_INT19_1	(0xf << 4)
+
+#define S5PC1XX_GPJ3_2_MSM_DATA_10	(0x2 << 8)
+#define S5PC1XX_GPJ3_2_CF_DATA_10	(0x4 << 8)
+#define S5PC1XX_GPJ3_2_GPIO_INT19_2	(0xf << 8)
+
+#define S5PC1XX_GPJ3_3_MSM_DATA_11	(0x2 << 12)
+#define S5PC1XX_GPJ3_3_CF_DATA_11	(0x4 << 12)
+#define S5PC1XX_GPJ3_3_GPIO_INT19_3	(0xf << 12)
+
+#define S5PC1XX_GPJ3_4_MSM_DATA_12	(0x2 << 16)
+#define S5PC1XX_GPJ3_4_CF_DATA_12	(0x4 << 16)
+#define S5PC1XX_GPJ3_4_GPIO_INT19_4	(0xf << 16)
+
+#define S5PC1XX_GPJ3_5_MSM_DATA_13	(0x2 << 20)
+#define S5PC1XX_GPJ3_5_CF_DATA_13	(0x4 << 20)
+#define S5PC1XX_GPJ3_5_GPIO_INT19_5	(0xf << 20)
+
+#define S5PC1XX_GPJ3_6_MSM_DATA_14	(0x2 << 24)
+#define S5PC1XX_GPJ3_6_CF_DATA_14	(0x4 << 24)
+#define S5PC1XX_GPJ3_6_GPIO_INT19_6	(0xf << 24)
+
+#define S5PC1XX_GPJ3_7_MSM_DATA_15	(0x2 << 28)
+#define S5PC1XX_GPJ3_7_CF_DATA_15	(0x4 << 28)
+#define S5PC1XX_GPJ3_7_GPIO_INT19_7	(0xf << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j4.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j4.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j4.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j4.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,41 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-j4.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank J4 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPJ4CON			(S5PC1XX_GPJ4_BASE + 0x00)
+#define S5PC1XX_GPJ4DAT			(S5PC1XX_GPJ4_BASE + 0x04)
+#define S5PC1XX_GPJ4PUD			(S5PC1XX_GPJ4_BASE + 0x08)
+#define S5PC1XX_GPJ4DRV			(S5PC1XX_GPJ4_BASE + 0x0c)
+#define S5PC1XX_GPJ4CONPDN		(S5PC1XX_GPJ4_BASE + 0x10)
+#define S5PC1XX_GPJ4PUDPDN		(S5PC1XX_GPJ4_BASE + 0x14)
+
+#define S5PC1XX_GPJ4_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPJ4_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPJ4_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPJ4_0_MSM_CSn		(0x2 << 0)
+#define S5PC1XX_GPJ4_0_CF_CSn_0		(0x4 << 0)
+#define S5PC1XX_GPJ4_0_GPIO_INT20_0	(0xf << 0)
+
+#define S5PC1XX_GPJ4_1_MSM_WEn		(0x2 << 4)
+#define S5PC1XX_GPJ4_1_CF_CSn_1		(0x4 << 4)
+#define S5PC1XX_GPJ4_1_GPIO_INT20_1	(0xf << 4)
+
+#define S5PC1XX_GPJ4_2_MSM_Rn		(0x2 << 8)
+#define S5PC1XX_GPJ4_2_CF_IORD_CFn	(0x4 << 8)
+#define S5PC1XX_GPJ4_2_GPIO_INT20_2	(0xf << 8)
+
+#define S5PC1XX_GPJ4_3_MSM_IRQn		(0x2 << 12)
+#define S5PC1XX_GPJ4_3_CF_IOWR_CFn	(0x4 << 12)
+#define S5PC1XX_GPJ4_3_GPIO_INT20_3	(0xf << 12)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k0.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k0.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k0.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k0.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,49 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k0.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank K0 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPK0CON			(S5PC1XX_GPK0_BASE + 0x00)
+#define S5PC1XX_GPK0DAT			(S5PC1XX_GPK0_BASE + 0x04)
+#define S5PC1XX_GPK0PUD			(S5PC1XX_GPK0_BASE + 0x08)
+#define S5PC1XX_GPK0DRV			(S5PC1XX_GPK0_BASE + 0x0c)
+#define S5PC1XX_GPK0CONPDN		(S5PC1XX_GPK0_BASE + 0x10)
+#define S5PC1XX_GPK0PUDPDN		(S5PC1XX_GPK0_BASE + 0x14)
+
+#define S5PC1XX_GPK0_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPK0_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPK0_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPK0_0_SROM_CSn0	(0x2 << 0)
+
+#define S5PC1XX_GPK0_1_SROM_CSn1	(0x2 << 4)
+
+#define S5PC1XX_GPK0_2_SROM_CSn2	(0x2 << 8)
+#define S5PC1XX_GPK0_2_NF_CSn0		(0x3 << 8)
+#define S5PC1XX_GPK0_2_ONENAND_CSn0	(0x5 << 8)
+
+#define S5PC1XX_GPK0_3_SROM_CSn3	(0x2 << 12)
+#define S5PC1XX_GPK0_3_NF_CSn1		(0x3 << 12)
+#define S5PC1XX_GPK0_3_ONENAND_CSn1	(0x5 << 12)
+#define S5PC1XX_GPK0_3_MASK		(0xf << 12)
+
+#define S5PC1XX_GPK0_4_SROM_CSn4	(0x2 << 16)
+#define S5PC1XX_GPK0_4_NF_CSn2		(0x3 << 16)
+#define S5PC1XX_GPK0_4_CF_CSn0		(0x4 << 16)
+
+#define S5PC1XX_GPK0_5_SROM_CSn5	(0x2 << 20)
+#define S5PC1XX_GPK0_5_NF_CSn3		(0x3 << 20)
+#define S5PC1XX_GPK0_5_CF_CSn1		(0x4 << 20)
+
+#define S5PC1XX_GPK0_6_EBI_OEn		(0x2 << 24)
+
+#define S5PC1XX_GPK0_7_EBI_WEn		(0x2 << 28)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k1.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k1.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k1.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k1.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,32 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k1.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank K1 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPK1CON			(S5PC1XX_GPK1_BASE + 0x00)
+#define S5PC1XX_GPK1DAT			(S5PC1XX_GPK1_BASE + 0x04)
+#define S5PC1XX_GPK1PUD			(S5PC1XX_GPK1_BASE + 0x08)
+#define S5PC1XX_GPK1DRV			(S5PC1XX_GPK1_BASE + 0x0c)
+#define S5PC1XX_GPK1CONPDN		(S5PC1XX_GPK1_BASE + 0x10)
+#define S5PC1XX_GPK1PUDPDN		(S5PC1XX_GPK1_BASE + 0x14)
+
+#define S5PC1XX_GPK1_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPK1_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPK1_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPK1_0_EBI_BEn0		(0x2 << 0)
+#define S5PC1XX_GPK1_1_EBI_BEn1		(0x2 << 4)
+#define S5PC1XX_GPK1_2_SROM_WAITn	(0x2 << 8)
+#define S5PC1XX_GPK1_3_EBI_DATA_RDn	(0x2 << 12)
+#define S5PC1XX_GPK1_4_CF_OEn		(0x2 << 16)
+#define S5PC1XX_GPK1_5_CF_WEn		(0x2 << 20)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k2.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k2.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k2.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k2.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,45 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k2.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank K2 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPK2CON			(S5PC1XX_GPK2_BASE + 0x00)
+#define S5PC1XX_GPK2DAT			(S5PC1XX_GPK2_BASE + 0x04)
+#define S5PC1XX_GPK2PUD			(S5PC1XX_GPK2_BASE + 0x08)
+#define S5PC1XX_GPK2DRV			(S5PC1XX_GPK2_BASE + 0x0c)
+#define S5PC1XX_GPK2CONPDN		(S5PC1XX_GPK2_BASE + 0x10)
+#define S5PC1XX_GPK2PUDPDN		(S5PC1XX_GPK2_BASE + 0x14)
+
+#define S5PC1XX_GPK2_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPK2_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPK2_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPK2_0_NF_CLE		(0x3 << 0)
+#define S5PC1XX_GPK2_0_ONAND_ADDRVALID	(0x5 << 0)
+
+#define S5PC1XX_GPK2_1_NF_ALE		(0x3 << 4)
+#define S5PC1XX_GPK2_1_ONAND_SMCLK	(0x5 << 4)
+
+#define S5PC1XX_GPK2_2_NF_FWEn		(0x3 << 8)
+#define S5PC1XX_GPK2_2_ONAND_RPn	(0x5 << 8)
+
+#define S5PC1XX_GPK2_3_NF_FREn		(0x3 << 12)
+
+#define S5PC1XX_GPK2_4_NF_RnB_0		(0x2 << 16)
+#define S5PC1XX_GPK2_4_ONAND_INT_0	(0x5 << 16)
+
+#define S5PC1XX_GPK2_5_NF_RnB_1		(0x2 << 20)
+#define S5PC1XX_GPK2_5_ONAND_INT_1	(0x5 << 20)
+
+#define S5PC1XX_GPK2_6_NF_RnB_2		(0x2 << 24)
+
+#define S5PC1XX_GPK2_7_NF_RnB_3		(0x2 << 28)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k3.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k3.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k3.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k3.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,33 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-k3.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank K3 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_GPK3CON			(S5PC1XX_GPK3_BASE + 0x00)
+#define S5PC1XX_GPK3DAT			(S5PC1XX_GPK3_BASE + 0x04)
+#define S5PC1XX_GPK3PUD			(S5PC1XX_GPK3_BASE + 0x08)
+#define S5PC1XX_GPK3DRV			(S5PC1XX_GPK3_BASE + 0x0c)
+#define S5PC1XX_GPK3CONPDN		(S5PC1XX_GPK3_BASE + 0x10)
+#define S5PC1XX_GPK3PUDPDN		(S5PC1XX_GPK3_BASE + 0x14)
+
+#define S5PC1XX_GPK3_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_GPK3_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_GPK3_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_GPK3_0_CF_IORDY		(0x2 << 0)
+#define S5PC1XX_GPK3_1_CF_INTRQ		(0x2 << 4)
+#define S5PC1XX_GPK3_2_CF_RESET		(0x2 << 8)
+#define S5PC1XX_GPK3_3_CF_INPACKn	(0x2 << 12)
+#define S5PC1XX_GPK3_4_CF_REG		(0x2 << 16)
+#define S5PC1XX_GPK3_5_CF_CDn		(0x2 << 20)
+#define S5PC1XX_GPK3_6_CF_IORD_CFn	(0x2 << 24)
+#define S5PC1XX_GPK3_7_CF_IOWR_CFn	(0x2 << 28)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp00.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp00.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp00.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp00.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,34 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp00.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank MP00 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_MP00CON			(S5PC1XX_MP00_BASE + 0x00)
+#define S5PC1XX_MP00DAT			(S5PC1XX_MP00_BASE + 0x04)
+#define S5PC1XX_MP00PUD			(S5PC1XX_MP00_BASE + 0x08)
+#define S5PC1XX_MP00DRV			(S5PC1XX_MP00_BASE + 0x0c)
+#define S5PC1XX_MP00CONPDN		(S5PC1XX_MP00_BASE + 0x10)
+#define S5PC1XX_MP00PUDPDN		(S5PC1XX_MP00_BASE + 0x14)
+
+#define S5PC1XX_MP00_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_MP00_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_MP00_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_MP00_0_EBI_ADDR_0	(0x2 << 0)
+#define S5PC1XX_MP00_1_EBI_ADDR_1	(0x2 << 4)
+#define S5PC1XX_MP00_2_EBI_ADDR_2	(0x2 << 8)
+#define S5PC1XX_MP00_3_EBI_ADDR_3	(0x2 << 12)
+#define S5PC1XX_MP00_4_EBI_ADDR_4	(0x2 << 16)
+#define S5PC1XX_MP00_5_EBI_ADDR_5	(0x2 << 20)
+#define S5PC1XX_MP00_6_EBI_ADDR_6	(0x2 << 24)
+#define S5PC1XX_MP00_7_EBI_ADDR_7	(0x2 << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp01.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp01.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp01.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp01.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,33 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp01.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank MP01 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_MP01CON			(S5PC1XX_MP01_BASE + 0x00)
+#define S5PC1XX_MP01DAT			(S5PC1XX_MP01_BASE + 0x04)
+#define S5PC1XX_MP01PUD			(S5PC1XX_MP01_BASE + 0x08)
+#define S5PC1XX_MP01DRV			(S5PC1XX_MP01_BASE + 0x0c)
+#define S5PC1XX_MP01CONPDN		(S5PC1XX_MP01_BASE + 0x10)
+#define S5PC1XX_MP01PUDPDN		(S5PC1XX_MP01_BASE + 0x14)
+
+#define S5PC1XX_MP01_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_MP01_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_MP01_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_MP01_0_EBI_ADDR_8	(0x2 << 0)
+#define S5PC1XX_MP01_1_EBI_ADDR_9	(0x2 << 4)
+#define S5PC1XX_MP01_2_EBI_ADDR_10	(0x2 << 8)
+#define S5PC1XX_MP01_3_EBI_ADDR_11	(0x2 << 12)
+#define S5PC1XX_MP01_4_EBI_ADDR_12	(0x2 << 16)
+#define S5PC1XX_MP01_5_EBI_ADDR_13	(0x2 << 20)
+#define S5PC1XX_MP01_6_EBI_ADDR_14	(0x2 << 24)
+#define S5PC1XX_MP01_7_EBI_ADDR_15	(0x2 << 28)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp02.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp02.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp02.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp02.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,34 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp02.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank MP02 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_MP02CON			(S5PC1XX_MP02_BASE + 0x00)
+#define S5PC1XX_MP02DAT			(S5PC1XX_MP02_BASE + 0x04)
+#define S5PC1XX_MP02PUD			(S5PC1XX_MP02_BASE + 0x08)
+#define S5PC1XX_MP02DRV			(S5PC1XX_MP02_BASE + 0x0c)
+#define S5PC1XX_MP02CONPDN		(S5PC1XX_MP02_BASE + 0x10)
+#define S5PC1XX_MP02PUDPDN		(S5PC1XX_MP02_BASE + 0x14)
+
+#define S5PC1XX_MP02_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_MP02_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_MP02_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_MP02_0_EBI_ADDR_16	(0x2 << 0)
+#define S5PC1XX_MP02_1_EBI_ADDR_17	(0x2 << 4)
+#define S5PC1XX_MP02_2_EBI_ADDR_18	(0x2 << 8)
+#define S5PC1XX_MP02_3_EBI_ADDR_19	(0x2 << 12)
+#define S5PC1XX_MP02_4_EBI_ADDR_20	(0x2 << 16)
+#define S5PC1XX_MP02_5_EBI_DATA_0	(0x2 << 20)
+#define S5PC1XX_MP02_6_EBI_DATA_1	(0x2 << 24)
+#define S5PC1XX_MP02_7_EBI_DATA_2	(0x2 << 28)
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp03.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp03.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp03.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp03.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,33 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp03.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank MP03 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_MP03CON			(S5PC1XX_MP03_BASE + 0x00)
+#define S5PC1XX_MP03DAT			(S5PC1XX_MP03_BASE + 0x04)
+#define S5PC1XX_MP03PUD			(S5PC1XX_MP03_BASE + 0x08)
+#define S5PC1XX_MP03DRV			(S5PC1XX_MP03_BASE + 0x0c)
+#define S5PC1XX_MP03CONPDN		(S5PC1XX_MP03_BASE + 0x10)
+#define S5PC1XX_MP03PUDPDN		(S5PC1XX_MP03_BASE + 0x14)
+
+#define S5PC1XX_MP03_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_MP03_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_MP03_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_MP03_0_EBI_DATA_3	(0x2 << 0)
+#define S5PC1XX_MP03_1_EBI_DATA_4	(0x2 << 4)
+#define S5PC1XX_MP03_2_EBI_DATA_5	(0x2 << 8)
+#define S5PC1XX_MP03_3_EBI_DATA_6	(0x2 << 12)
+#define S5PC1XX_MP03_4_EBI_DATA_7	(0x2 << 16)
+#define S5PC1XX_MP03_5_EBI_DATA_8	(0x2 << 20)
+#define S5PC1XX_MP03_6_EBI_DATA_9	(0x2 << 24)
+#define S5PC1XX_MP03_7_EBI_DATA_10	(0x2 << 28)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp04.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp04.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp04.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp04.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,30 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/gpio-bank-mp04.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * 	Ben Dooks <ben@simtec.co.uk>
+ * 	http://armlinux.simtec.co.uk/
+ *
+ * GPIO Bank MP04 register and configuration definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5PC1XX_MP04CON			(S5PC1XX_MP04_BASE + 0x00)
+#define S5PC1XX_MP04DAT			(S5PC1XX_MP04_BASE + 0x04)
+#define S5PC1XX_MP04PUD			(S5PC1XX_MP04_BASE + 0x08)
+#define S5PC1XX_MP04DRV			(S5PC1XX_MP04_BASE + 0x0c)
+#define S5PC1XX_MP04CONPDN		(S5PC1XX_MP04_BASE + 0x10)
+#define S5PC1XX_MP04PUDPDN		(S5PC1XX_MP04_BASE + 0x14)
+
+#define S5PC1XX_MP04_CONMASK(__gpio)	(0xf << ((__gpio) * 4))
+#define S5PC1XX_MP04_INPUT(__gpio)	(0x0 << ((__gpio) * 4))
+#define S5PC1XX_MP04_OUTPUT(__gpio)	(0x1 << ((__gpio) * 4))
+
+#define S5PC1XX_MP04_0_EBI_DATA_11	(0x2 << 0)
+#define S5PC1XX_MP04_1_EBI_DATA_12	(0x2 << 4)
+#define S5PC1XX_MP04_2_EBI_DATA_13	(0x2 << 8)
+#define S5PC1XX_MP04_3_EBI_DATA_14	(0x2 << 12)
+#define S5PC1XX_MP04_4_EBI_DATA_15	(0x2 << 16)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/irqs.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/irqs.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/irqs.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/irqs.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,223 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/irqs.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5PC1XX - Common IRQ support
+ */
+
+#ifndef __ASM_PLAT_S5PC1XX_IRQS_H
+#define __ASM_PLAT_S5PC1XX_IRQS_H __FILE__
+
+/* we keep the first set of CPU IRQs out of the range of
+ * the ISA space, so that the PC104 has them to itself
+ * and we don't end up having to do horrible things to the
+ * standard ISA drivers....
+ *
+ * note, since we're using the VICs, our start must be a
+ * mulitple of 32 to allow the common code to work
+ */
+
+#define S3C_IRQ_OFFSET		(32)
+
+#define S3C_IRQ(x)		((x) + S3C_IRQ_OFFSET)
+
+#define S3C_VIC0_BASE		S3C_IRQ(0)
+#define S3C_VIC1_BASE		S3C_IRQ(32)
+#define S3C_VIC2_BASE		S3C_IRQ(64)
+
+/* UART interrupts, each UART has 4 intterupts per channel so
+ * use the space between the ISA and S3C main interrupts. Note, these
+ * are not in the same order as the S3C24XX series! */
+
+#define IRQ_S3CUART_BASE0	(16)
+#define IRQ_S3CUART_BASE1	(20)
+#define IRQ_S3CUART_BASE2	(24)
+#define IRQ_S3CUART_BASE3	(28)
+
+#define UART_IRQ_RXD		(0)
+#define UART_IRQ_ERR		(1)
+#define UART_IRQ_TXD		(2)
+#define UART_IRQ_MODEM		(3)
+
+#define IRQ_S3CUART_RX0		(IRQ_S3CUART_BASE0 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX0		(IRQ_S3CUART_BASE0 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR0	(IRQ_S3CUART_BASE0 + UART_IRQ_ERR)
+
+#define IRQ_S3CUART_RX1		(IRQ_S3CUART_BASE1 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX1		(IRQ_S3CUART_BASE1 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR1	(IRQ_S3CUART_BASE1 + UART_IRQ_ERR)
+
+#define IRQ_S3CUART_RX2		(IRQ_S3CUART_BASE2 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX2		(IRQ_S3CUART_BASE2 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR2	(IRQ_S3CUART_BASE2 + UART_IRQ_ERR)
+
+#define IRQ_S3CUART_RX3		(IRQ_S3CUART_BASE3 + UART_IRQ_RXD)
+#define IRQ_S3CUART_TX3		(IRQ_S3CUART_BASE3 + UART_IRQ_TXD)
+#define IRQ_S3CUART_ERR3	(IRQ_S3CUART_BASE3 + UART_IRQ_ERR)
+
+/* VIC based IRQs */
+
+#define S5PC1XX_IRQ_VIC0(x)	(S3C_VIC0_BASE + (x))
+#define S5PC1XX_IRQ_VIC1(x)	(S3C_VIC1_BASE + (x))
+#define S5PC1XX_IRQ_VIC2(x)	(S3C_VIC2_BASE + (x))
+
+/*
+ * VIC0: system, DMA, timer
+ */
+#define IRQ_EINT0		S5PC1XX_IRQ_VIC0(0)
+#define IRQ_EINT1		S5PC1XX_IRQ_VIC0(1)
+#define IRQ_EINT2		S5PC1XX_IRQ_VIC0(2)
+#define IRQ_EINT3		S5PC1XX_IRQ_VIC0(3)
+#define IRQ_EINT4		S5PC1XX_IRQ_VIC0(4)
+#define IRQ_EINT5		S5PC1XX_IRQ_VIC0(5)
+#define IRQ_EINT6		S5PC1XX_IRQ_VIC0(6)
+#define IRQ_EINT7		S5PC1XX_IRQ_VIC0(7)
+#define IRQ_EINT8		S5PC1XX_IRQ_VIC0(8)
+#define IRQ_EINT9		S5PC1XX_IRQ_VIC0(9)
+#define IRQ_EINT10		S5PC1XX_IRQ_VIC0(10)
+#define IRQ_EINT11		S5PC1XX_IRQ_VIC0(11)
+#define IRQ_EINT12		S5PC1XX_IRQ_VIC0(12)
+#define IRQ_EINT13		S5PC1XX_IRQ_VIC0(13)
+#define IRQ_EINT14		S5PC1XX_IRQ_VIC0(14)
+#define IRQ_EINT15		S5PC1XX_IRQ_VIC0(15)
+#define IRQ_EINT16_31		S5PC1XX_IRQ_VIC0(16)
+#define IRQ_BATF		S5PC1XX_IRQ_VIC0(17)
+#define IRQ_MDMA		S5PC1XX_IRQ_VIC0(18)
+#define IRQ_PDMA0		S5PC1XX_IRQ_VIC0(19)
+#define IRQ_PDMA1		S5PC1XX_IRQ_VIC0(20)
+#define IRQ_TIMER0		S5PC1XX_IRQ_VIC0(21)
+#define IRQ_TIMER1		S5PC1XX_IRQ_VIC0(22)
+#define IRQ_TIMER2		S5PC1XX_IRQ_VIC0(23)
+#define IRQ_TIMER3		S5PC1XX_IRQ_VIC0(24)
+#define IRQ_TIMER4		S5PC1XX_IRQ_VIC0(25)
+#define IRQ_SYSTIMER		S5PC1XX_IRQ_VIC0(26)
+#define IRQ_WDT			S5PC1XX_IRQ_VIC0(27)
+#define IRQ_RTC_ALARM		S5PC1XX_IRQ_VIC0(28)
+#define IRQ_RTC_TIC		S5PC1XX_IRQ_VIC0(29)
+#define IRQ_GPIOINT		S5PC1XX_IRQ_VIC0(30)
+
+/*
+ * VIC1: ARM, power, memory, connectivity
+ */
+#define IRQ_CORTEX0		S5PC1XX_IRQ_VIC1(0)
+#define IRQ_CORTEX1		S5PC1XX_IRQ_VIC1(1)
+#define IRQ_CORTEX2		S5PC1XX_IRQ_VIC1(2)
+#define IRQ_CORTEX3		S5PC1XX_IRQ_VIC1(3)
+#define IRQ_CORTEX4		S5PC1XX_IRQ_VIC1(4)
+#define IRQ_IEMAPC		S5PC1XX_IRQ_VIC1(5)
+#define IRQ_IEMIEC		S5PC1XX_IRQ_VIC1(6)
+#define IRQ_ONENAND		S5PC1XX_IRQ_VIC1(7)
+#define IRQ_NFC			S5PC1XX_IRQ_VIC1(8)
+#define IRQ_CFC			S5PC1XX_IRQ_VIC1(9)
+#define IRQ_UART0		S5PC1XX_IRQ_VIC1(10)
+#define IRQ_UART1		S5PC1XX_IRQ_VIC1(11)
+#define IRQ_UART2		S5PC1XX_IRQ_VIC1(12)
+#define IRQ_UART3		S5PC1XX_IRQ_VIC1(13)
+#define IRQ_IIC			S5PC1XX_IRQ_VIC1(14)
+#define IRQ_SPI0		S5PC1XX_IRQ_VIC1(15)
+#define IRQ_SPI1		S5PC1XX_IRQ_VIC1(16)
+#define IRQ_SPI2		S5PC1XX_IRQ_VIC1(17)
+#define IRQ_IRDA		S5PC1XX_IRQ_VIC1(18)
+#define IRQ_CAN0		S5PC1XX_IRQ_VIC1(19)
+#define IRQ_CAN1		S5PC1XX_IRQ_VIC1(20)
+#define IRQ_HSIRX		S5PC1XX_IRQ_VIC1(21)
+#define IRQ_HSITX		S5PC1XX_IRQ_VIC1(22)
+#define IRQ_UHOST		S5PC1XX_IRQ_VIC1(23)
+#define IRQ_OTG			S5PC1XX_IRQ_VIC1(24)
+#define IRQ_MSM			S5PC1XX_IRQ_VIC1(25)
+#define IRQ_HSMMC0		S5PC1XX_IRQ_VIC1(26)
+#define IRQ_HSMMC1		S5PC1XX_IRQ_VIC1(27)
+#define IRQ_HSMMC2		S5PC1XX_IRQ_VIC1(28)
+#define IRQ_MIPICSI		S5PC1XX_IRQ_VIC1(29)
+#define IRQ_MIPIDSI		S5PC1XX_IRQ_VIC1(30)
+
+/*
+ * VIC2: multimedia, audio, security
+ */
+#define IRQ_LCD0		S5PC1XX_IRQ_VIC2(0)
+#define IRQ_LCD1		S5PC1XX_IRQ_VIC2(1)
+#define IRQ_LCD2		S5PC1XX_IRQ_VIC2(2)
+#define IRQ_LCD3		S5PC1XX_IRQ_VIC2(3)
+#define IRQ_ROTATOR		S5PC1XX_IRQ_VIC2(4)
+#define IRQ_FIMC0		S5PC1XX_IRQ_VIC2(5)
+#define IRQ_FIMC1		S5PC1XX_IRQ_VIC2(6)
+#define IRQ_FIMC2		S5PC1XX_IRQ_VIC2(7)
+#define IRQ_JPEG		S5PC1XX_IRQ_VIC2(8)
+#define IRQ_2D			S5PC1XX_IRQ_VIC2(9)
+#define IRQ_3D			S5PC1XX_IRQ_VIC2(10)
+#define IRQ_MIXER		S5PC1XX_IRQ_VIC2(11)
+#define IRQ_HDMI		S5PC1XX_IRQ_VIC2(12)
+#define IRQ_IIC1		S5PC1XX_IRQ_VIC2(13)
+#define IRQ_MFC			S5PC1XX_IRQ_VIC2(14)
+#define IRQ_TVENC		S5PC1XX_IRQ_VIC2(15)
+#define IRQ_I2S0		S5PC1XX_IRQ_VIC2(16)
+#define IRQ_I2S1		S5PC1XX_IRQ_VIC2(17)
+#define IRQ_I2S2		S5PC1XX_IRQ_VIC2(18)
+#define IRQ_AC97		S5PC1XX_IRQ_VIC2(19)
+#define IRQ_PCM0		S5PC1XX_IRQ_VIC2(20)
+#define IRQ_PCM1		S5PC1XX_IRQ_VIC2(21)
+#define IRQ_SPDIF		S5PC1XX_IRQ_VIC2(22)
+#define IRQ_ADC			S5PC1XX_IRQ_VIC2(23)
+#define IRQ_PENDN		S5PC1XX_IRQ_VIC2(24)
+#define IRQ_TC			IRQ_PENDN
+#define IRQ_KEYPAD		S5PC1XX_IRQ_VIC2(25)
+#define IRQ_CG			S5PC1XX_IRQ_VIC2(26)
+#define IRQ_SEC			S5PC1XX_IRQ_VIC2(27)
+#define IRQ_SECRX		S5PC1XX_IRQ_VIC2(28)
+#define IRQ_SECTX		S5PC1XX_IRQ_VIC2(29)
+#define IRQ_SDMIRQ		S5PC1XX_IRQ_VIC2(30)
+#define IRQ_SDMFIQ		S5PC1XX_IRQ_VIC2(31)
+
+#define S3C_IRQ_EINT_BASE	IRQ_SDMFIQ+1
+
+#define S3C_EINT(x)		((x) + S3C_IRQ_EINT_BASE)
+#define IRQ_EINT(x)		S3C_EINT(x)
+
+#define NR_IRQS 		(IRQ_EINT(31)+1)
+
+#if 0
+/* Next the external interrupt groups. These are similar to the IRQ_EINT(x)
+ * that they are sourced from the GPIO pins but with a different scheme for
+ * priority and source indication.
+ *
+ * The IRQ_EINT(x) can be thought of as 'group 0' of the available GPIO
+ * interrupts, but for historical reasons they are kept apart from these
+ * next interrupts.
+ *
+ * Use IRQ_EINT_GROUP(group, offset) to get the number for use in the
+ * machine specific support files.
+ */
+
+#define IRQ_EINT_GROUP1_NR	(15)
+#define IRQ_EINT_GROUP2_NR	(8)
+#define IRQ_EINT_GROUP3_NR	(5)
+#define IRQ_EINT_GROUP4_NR	(14)
+#define IRQ_EINT_GROUP5_NR	(7)
+#define IRQ_EINT_GROUP6_NR	(10)
+#define IRQ_EINT_GROUP7_NR	(16)
+#define IRQ_EINT_GROUP8_NR	(15)
+#define IRQ_EINT_GROUP9_NR	(9)
+
+#define IRQ_EINT_GROUP_BASE	S3C_EINT(28)
+#define IRQ_EINT_GROUP1_BASE	(IRQ_EINT_GROUP_BASE + 0x00)
+#define IRQ_EINT_GROUP2_BASE	(IRQ_EINT_GROUP1_BASE + IRQ_EINT_GROUP1_NR)
+#define IRQ_EINT_GROUP3_BASE	(IRQ_EINT_GROUP2_BASE + IRQ_EINT_GROUP2_NR)
+#define IRQ_EINT_GROUP4_BASE	(IRQ_EINT_GROUP3_BASE + IRQ_EINT_GROUP3_NR)
+#define IRQ_EINT_GROUP5_BASE	(IRQ_EINT_GROUP4_BASE + IRQ_EINT_GROUP4_NR)
+#define IRQ_EINT_GROUP6_BASE	(IRQ_EINT_GROUP5_BASE + IRQ_EINT_GROUP5_NR)
+#define IRQ_EINT_GROUP7_BASE	(IRQ_EINT_GROUP6_BASE + IRQ_EINT_GROUP6_NR)
+#define IRQ_EINT_GROUP8_BASE	(IRQ_EINT_GROUP7_BASE + IRQ_EINT_GROUP7_NR)
+#define IRQ_EINT_GROUP9_BASE	(IRQ_EINT_GROUP8_BASE + IRQ_EINT_GROUP8_NR)
+
+#define IRQ_EINT_GROUP(group, no)	(IRQ_EINT_GROUP##group##__BASE + (x))
+
+/* Set the default NR_IRQS */
+
+#define NR_IRQS	(IRQ_EINT_GROUP9_BASE + IRQ_EINT_GROUP9_NR + 1)
+#endif
+
+#endif /* __ASM_PLAT_S5PC1XX_IRQS_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/media.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/media.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/media.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/media.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,38 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/media.h
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Samsung Media device descriptions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _S3C_MEDIA_H
+#define _S3C_MEDIA_H
+
+#include <linux/types.h>
+
+#define S3C_MDEV_FIMC		0
+#define S3C_MDEV_POST		1
+#define S3C_MDEV_TV		2
+#define S3C_MDEV_MFC		3
+#define S3C_MDEV_JPEG		4
+#define S3C_MDEV_CMM		5
+#define S3C_MDEV_MAX		6
+
+struct s3c_media_device {
+	int		id;
+	const char 	*name;
+	size_t		memsize;
+	dma_addr_t	paddr;
+};
+
+extern dma_addr_t s3c_get_media_memory(int dev_id);
+extern size_t s3c_get_media_memsize(int dev_id);
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/pll.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/pll.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/pll.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/pll.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,40 @@
+/* arch/arm/plat-s5pc1xx/include/plat/pll.h
+ *
+ * Copyright 2008 Samsung Electronics
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S5PC1XX PLL code
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#define S5P_PLL_MDIV_MASK	((1 << (25-16+1)) - 1)
+#define S5P_PLL_PDIV_MASK		((1 << (13-8+1)) - 1)
+#define S5P_PLL_SDIV_MASK		((1 << (2-0+1)) - 1)
+#define S5P_PLL_MDIV_SHIFT	(16)
+#define S5P_PLL_PDIV_SHIFT	(8)
+#define S5P_PLL_SDIV_SHIFT	(0)
+
+#include <asm/div64.h>
+
+static inline unsigned long s5pc1xx_get_pll(unsigned long baseclk,
+					    u32 pllcon)
+{
+	u32 mdiv, pdiv, sdiv;
+	u64 fvco = baseclk;
+
+	mdiv = (pllcon >> S5P_PLL_MDIV_SHIFT) & S5P_PLL_MDIV_MASK;
+	pdiv = (pllcon >> S5P_PLL_PDIV_SHIFT) & S5P_PLL_PDIV_MASK;
+	sdiv = (pllcon >> S5P_PLL_SDIV_SHIFT) & S5P_PLL_SDIV_MASK;
+
+	fvco *= mdiv ;
+	do_div(fvco, (pdiv << sdiv));
+
+	return (unsigned long)fvco;
+	
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/pm.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/pm.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/pm.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/pm.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,74 @@
+/* linux/include/asm-arm/plat-s3c24xx/pm.h
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Written by Ben Dooks, <ben@simtec.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifdef CONFIG_PM
+
+extern __init int s5pc1xx_pm_init(void);
+
+#else
+
+static inline int s5pc1xx_pm_init(void)
+{
+	return 0;
+}
+#endif
+
+/* configuration for the IRQ mask over sleep */
+extern unsigned long s5pc1xx_irqwake_intmask;
+extern unsigned long s5pc1xx_irqwake_eintmask;
+
+/* IRQ masks for IRQs allowed to go to sleep (see irq.c) */
+extern unsigned long s5pc1xx_irqwake_intallow;
+extern unsigned long s5pc1xx_irqwake_eintallow;
+
+/* per-cpu sleep functions */
+
+extern void (*pm_cpu_prep)(void);
+extern void (*pm_cpu_sleep)(void);
+
+/* Flags for PM Control */
+
+extern unsigned long s5pc100_pm_flags;
+
+/* from sleep.S */
+
+extern int  s5pc100_cpu_save(unsigned long *saveblk);
+extern void s5pc100_cpu_suspend(void);
+extern void s5pc100_cpu_resume(void);
+
+extern unsigned long s5pc100_sleep_save_phys;
+
+/* sleep save info */
+
+struct sleep_save {
+	void __iomem	*reg;
+	unsigned long	val;
+};
+
+struct sleep_save_phy {
+	unsigned long	reg;
+	unsigned long	val;
+};
+
+#define SAVE_ITEM(x) \
+	{ .reg = (x) }
+
+extern void s5pc1xx_pm_do_save_phy(struct sleep_save_phy *ptr, struct platform_device *pdev, int count);
+extern void s5pc1xx_pm_do_restore_phy(struct sleep_save_phy *ptr, struct platform_device *pdev, int count);
+extern void s5pc1xx_pm_do_save(struct sleep_save *ptr, int count);
+extern void s5pc1xx_pm_do_restore(struct sleep_save *ptr, int count);
+
+#ifdef CONFIG_PM
+extern int s5pc1xx_irq_suspend(struct sys_device *dev, pm_message_t state);
+extern int s5pc1xx_irq_resume(struct sys_device *dev);
+#else
+#define s5pc1xx_irq_suspend	NULL
+#define s5pc1xx_irq_resume	NULL
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-clock.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-clock.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-clock.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,422 @@
+/* arch/arm/plat-s5pc1xx/include/plat/regs-clock.h
+ *
+ * Copyright 2008 Samsung Electronics
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * S5PC1XX clock register definitions
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __PLAT_REGS_CLOCK_H
+#define __PLAT_REGS_CLOCK_H __FILE__
+
+#define S5P_CLKREG(x)		(S3C_VA_SYS + (x))
+
+#define S5P_APLL_LOCK		S5P_CLKREG(0x00)
+#define S5P_MPLL_LOCK		S5P_CLKREG(0x04)
+#define S5P_EPLL_LOCK		S5P_CLKREG(0x08)
+#define S5P_HPLL_LOCK		S5P_CLKREG(0x0C)
+
+#define S5P_APLL_CON		S5P_CLKREG(0x100)
+#define S5P_MPLL_CON		S5P_CLKREG(0x104)
+#define S5P_EPLL_CON		S5P_CLKREG(0x108)
+#define S5P_HPLL_CON		S5P_CLKREG(0x10C)
+
+#define S5P_CLK_SRC0		S5P_CLKREG(0x200)
+#define S5P_CLK_SRC1		S5P_CLKREG(0x204)
+#define S5P_CLK_SRC2		S5P_CLKREG(0x208)
+#define S5P_CLK_SRC3		S5P_CLKREG(0x20C)
+
+#define S5P_CLK_DIV0		S5P_CLKREG(0x300)
+#define S5P_CLK_DIV1		S5P_CLKREG(0x304)
+#define S5P_CLK_DIV2		S5P_CLKREG(0x308)
+#define S5P_CLK_DIV3		S5P_CLKREG(0x30C)
+#define S5P_CLK_DIV4		S5P_CLKREG(0x310)
+
+#define S5P_CLK_OUT		S5P_CLKREG(0x400)
+
+#define S5P_CLKGATE_D00		S5P_CLKREG(0x500)
+#define S5P_CLKGATE_D01		S5P_CLKREG(0x504)
+#define S5P_CLKGATE_D02		S5P_CLKREG(0x508)
+
+#define S5P_CLKGATE_D10		S5P_CLKREG(0x520)
+#define S5P_CLKGATE_D11		S5P_CLKREG(0x524)
+#define S5P_CLKGATE_D12		S5P_CLKREG(0x528)
+#define S5P_CLKGATE_D13		S5P_CLKREG(0x52C)
+#define S5P_CLKGATE_D14		S5P_CLKREG(0x530)
+#define S5P_CLKGATE_D15		S5P_CLKREG(0x534)
+
+#define S5P_CLKGATE_D20		S5P_CLKREG(0x540)
+
+#define S5P_SCLKGATE0		S5P_CLKREG(0x560)
+#define S5P_SCLKGATE1		S5P_CLKREG(0x564)
+
+#define S5P_OTHERS              S5P_CLKREG(0x8200)
+
+#define S5P_EPLL_EN     (1<<31)
+#define S5P_EPLL_MASK   0xffffffff 
+#define S5P_EPLLVAL(_m,_p,_s)   ((_m) << 16 | ((_p) << 8) | ((_s)))
+
+/* CLKSRC0 */
+#define S5P_CLKSRC0_APLL_MASK		(0x1<<0)
+#define S5P_CLKSRC0_APLL_SHIFT		(0)
+#define S5P_CLKSRC0_MPLL_MASK		(0x1<<4)
+#define S5P_CLKSRC0_MPLL_SHIFT		(4)
+#define S5P_CLKSRC0_EPLL_MASK		(0x1<<8)
+#define S5P_CLKSRC0_EPLL_SHIFT		(8)
+#define S5P_CLKSRC0_HPLL_MASK		(0x1<<12)
+#define S5P_CLKSRC0_HPLL_SHIFT		(12)
+#define S5P_CLKSRC0_AMMUX_MASK		(0x1<<16)
+#define S5P_CLKSRC0_AMMUX_SHIFT		(16)
+#define S5P_CLKSRC0_HREF_MASK		(0x1<<20)
+#define S5P_CLKSRC0_HREF_SHIFT		(20)
+#define S5P_CLKSRC0_ONENAND_MASK	(0x1<<24)
+#define S5P_CLKSRC0_ONENAND_SHIFT	(24)
+
+/* CLKSRC1 */
+#define S5P_CLKSRC1_UART_MASK		(0x1<<0)
+#define S5P_CLKSRC1_UART_SHIFT		(0)
+#define S5P_CLKSRC1_SPI0_MASK		(0x3<<4)
+#define S5P_CLKSRC1_SPI0_SHIFT		(4)
+#define S5P_CLKSRC1_SPI1_MASK		(0x3<<8)
+#define S5P_CLKSRC1_SPI1_SHIFT		(8)
+#define S5P_CLKSRC1_SPI2_MASK		(0x3<<12)
+#define S5P_CLKSRC1_SPI2_SHIFT		(12)
+#define S5P_CLKSRC1_IRDA_MASK		(0x3<<16)
+#define S5P_CLKSRC1_IRDA_SHIFT		(16)
+#define S5P_CLKSRC1_UHOST_MASK		(0x3<<20)
+#define S5P_CLKSRC1_UHOST_SHIFT		(20)
+#define S5P_CLKSRC1_CLK48M_MASK		(0x1<<24)
+#define S5P_CLKSRC1_CLK48M_SHIFT	(24)
+
+/* CLKSRC2 */
+#define S5P_CLKSRC2_MMC0_MASK		(0x3<<0)
+#define S5P_CLKSRC2_MMC0_SHIFT		(0)
+#define S5P_CLKSRC2_MMC1_MASK		(0x3<<4)
+#define S5P_CLKSRC2_MMC1_SHIFT		(4)
+#define S5P_CLKSRC2_MMC2_MASK		(0x3<<8)
+#define S5P_CLKSRC2_MMC2_SHIFT		(8)
+#define S5P_CLKSRC2_LCD_MASK		(0x3<<12)
+#define S5P_CLKSRC2_LCD_SHIFT		(12)
+#define S5P_CLKSRC2_FIMC0_MASK		(0x3<<16)
+#define S5P_CLKSRC2_FIMC0_SHIFT		(16)
+#define S5P_CLKSRC2_FIMC1_MASK		(0x3<<20)
+#define S5P_CLKSRC2_FIMC1_SHIFT		(20)
+#define S5P_CLKSRC2_FIMC2_MASK		(0x3<<24)
+#define S5P_CLKSRC2_FIMC2_SHIFT		(24)
+#define S5P_CLKSRC2_MIXER_MASK		(0x3<<28)
+#define S5P_CLKSRC2_MIXER_SHIFT		(28)
+
+/* CLKSRC3 */
+#define S5P_CLKSRC3_PWI_MASK		(0x3<<0)
+#define S5P_CLKSRC3_PWI_SHIFT		(0)
+#define S5P_CLKSRC3_HCLKD2_MASK		(0x1<<4)
+#define S5P_CLKSRC3_HCLKD2_SHIFT	(4)
+#define S5P_CLKSRC3_I2SD2_MASK		(0x3<<8)
+#define S5P_CLKSRC3_I2SD2_SHIFT		(8)
+#define S5P_CLKSRC3_AUDIO0_MASK		(0x7<<12)
+#define S5P_CLKSRC3_AUDIO0_SHIFT	(12)
+#define S5P_CLKSRC3_AUDIO1_MASK		(0x7<<16)
+#define S5P_CLKSRC3_AUDIO1_SHIFT	(16)
+#define S5P_CLKSRC3_AUDIO2_MASK		(0x7<<20)
+#define S5P_CLKSRC3_AUDIO2_SHIFT	(20)
+#define S5P_CLKSRC3_SPDIF_MASK		(0x3<<24)
+#define S5P_CLKSRC3_SPDIF_SHIFT		(24)
+
+
+/* CLKDIV0 */
+#define S5P_CLKDIV0_APLL_MASK		(0x1<<0)
+#define S5P_CLKDIV0_APLL_SHIFT		(0)
+#define S5P_CLKDIV0_ARM_MASK		(0x7<<4)
+#define S5P_CLKDIV0_ARM_SHIFT		(4)
+#define S5P_CLKDIV0_D0_MASK		(0x7<<8)
+#define S5P_CLKDIV0_D0_SHIFT		(8)
+#define S5P_CLKDIV0_PCLKD0_MASK		(0x7<<12)
+#define S5P_CLKDIV0_PCLKD0_SHIFT	(12)
+#define S5P_CLKDIV0_SECSS_MASK		(0x7<<16)
+#define S5P_CLKDIV0_SECSS_SHIFT		(16)
+
+/* CLKDIV1 */
+#define S5P_CLKDIV1_AM_MASK		(0x7<<0)
+#define S5P_CLKDIV1_AM_SHIFT		(0)
+#define S5P_CLKDIV1_MPLL_MASK		(0x3<<4)
+#define S5P_CLKDIV1_MPLL_SHIFT		(4)
+#define S5P_CLKDIV1_MPLL2_MASK		(0x1<<8)
+#define S5P_CLKDIV1_MPLL2_SHIFT		(8)
+#define S5P_CLKDIV1_D1_MASK		(0x7<<12)
+#define S5P_CLKDIV1_D1_SHIFT		(12)
+#define S5P_CLKDIV1_PCLKD1_MASK		(0x7<<16)
+#define S5P_CLKDIV1_PCLKD1_SHIFT	(16)
+#define S5P_CLKDIV1_ONENAND_MASK	(0x3<<20)
+#define S5P_CLKDIV1_ONENAND_SHIFT	(20)
+#define S5P_CLKDIV1_CAM_MASK		(0x1F<<24)
+#define S5P_CLKDIV1_CAM_SHIFT		(24)
+
+/* CLKDIV2 */
+#define S5P_CLKDIV2_UART_MASK		(0x7<<0)
+#define S5P_CLKDIV2_UART_SHIFT		(0)
+#define S5P_CLKDIV2_SPI0_MASK		(0xf<<4)
+#define S5P_CLKDIV2_SPI0_SHIFT		(4)
+#define S5P_CLKDIV2_SPI1_MASK		(0xf<<8)
+#define S5P_CLKDIV2_SPI1_SHIFT		(8)
+#define S5P_CLKDIV2_SPI2_MASK		(0xf<<12)
+#define S5P_CLKDIV2_SPI2_SHIFT		(12)
+#define S5P_CLKDIV2_IRDA_MASK		(0xf<<16)
+#define S5P_CLKDIV2_IRDA_SHIFT		(16)
+#define S5P_CLKDIV2_UHOST_MASK		(0xf<<20)
+#define S5P_CLKDIV2_UHOST_SHIFT		(20)
+
+/* CLKDIV3 */
+#define S5P_CLKDIV3_MMC0_MASK		(0xf<<0)
+#define S5P_CLKDIV3_MMC0_SHIFT		(0)
+#define S5P_CLKDIV3_MMC1_MASK		(0xf<<4)
+#define S5P_CLKDIV3_MMC1_SHIFT		(4)
+#define S5P_CLKDIV3_MMC2_MASK		(0xf<<8)
+#define S5P_CLKDIV3_MMC2_SHIFT		(8)
+#define S5P_CLKDIV3_LCD_MASK		(0xf<<12)
+#define S5P_CLKDIV3_LCD_SHIFT		(12)
+#define S5P_CLKDIV3_FIMC0_MASK		(0xf<<16)
+#define S5P_CLKDIV3_FIMC0_SHIFT		(16)
+#define S5P_CLKDIV3_FIMC1_MASK		(0xf<<20)
+#define S5P_CLKDIV3_FIMC1_SHIFT		(20)
+#define S5P_CLKDIV3_FIMC2_MASK		(0xf<<24)
+#define S5P_CLKDIV3_FIMC2_SHIFT		(24)
+#define S5P_CLKDIV3_HDMI_MASK		(0xf<<28)
+#define S5P_CLKDIV3_HDMI_SHIFT		(28)
+
+/* CLKDIV4 */
+#define S5P_CLKDIV4_PWI_MASK		(0x7<<0)
+#define S5P_CLKDIV4_PWI_SHIFT		(0)
+#define S5P_CLKDIV4_HCLKD2_MASK		(0x7<<4)
+#define S5P_CLKDIV4_HCLKD2_SHIFT	(4)
+#define S5P_CLKDIV4_I2SD2_MASK		(0xf<<8)
+#define S5P_CLKDIV4_I2SD2_SHIFT		(8)
+#define S5P_CLKDIV4_AUDIO0_MASK		(0xf<<12)
+#define S5P_CLKDIV4_AUDIO0_SHIFT	(12)
+#define S5P_CLKDIV4_AUDIO1_MASK		(0xf<<16)
+#define S5P_CLKDIV4_AUDIO1_SHIFT	(16)
+#define S5P_CLKDIV4_AUDIO2_MASK		(0xf<<20)
+#define S5P_CLKDIV4_AUDIO2_SHIFT	(20)
+
+
+/* HCLKD0/PCLKD0 Clock Gate 0 Registers */
+#define S5P_CLKGATE_D00_INTC		(1<<0)
+#define S5P_CLKGATE_D00_TZIC		(1<<1)
+#define S5P_CLKGATE_D00_CFCON		(1<<2)
+#define S5P_CLKGATE_D00_MDMA		(1<<3)
+#define S5P_CLKGATE_D00_G2D		(1<<4)
+#define S5P_CLKGATE_D00_SECSS		(1<<5)
+#define S5P_CLKGATE_D00_CSSYS		(1<<6)
+
+/* HCLKD0/PCLKD0 Clock Gate 1 Registers */
+#define S5P_CLKGATE_D01_DMC		(1<<0)
+#define S5P_CLKGATE_D01_SROMC		(1<<1)
+#define S5P_CLKGATE_D01_ONENAND		(1<<2)
+#define S5P_CLKGATE_D01_NFCON		(1<<3)
+#define S5P_CLKGATE_D01_INTMEM		(1<<4)
+#define S5P_CLKGATE_D01_EBI		(1<<5)
+
+/* PCLKD0 Clock Gate 2 Registers */
+#define S5P_CLKGATE_D02_SECKEY		(1<<1)
+#define S5P_CLKGATE_D02_SDM		(1<<2)
+
+/* HCLKD1/PCLKD1 Clock Gate 0 Registers */
+#define S5P_CLKGATE_D10_PDMA0		(1<<0)
+#define S5P_CLKGATE_D10_PDMA1		(1<<1)
+#define S5P_CLKGATE_D10_USBHOST		(1<<2)
+#define S5P_CLKGATE_D10_USBOTG		(1<<3)
+#define S5P_CLKGATE_D10_MODEMIF		(1<<4)
+#define S5P_CLKGATE_D10_HSMMC0		(1<<5)
+#define S5P_CLKGATE_D10_HSMMC1		(1<<6)
+#define S5P_CLKGATE_D10_HSMMC2		(1<<7)
+
+/* HCLKD1/PCLKD1 Clock Gate 1 Registers */
+#define S5P_CLKGATE_D11_LCD		(1<<0)
+#define S5P_CLKGATE_D11_ROTATOR		(1<<1)
+#define S5P_CLKGATE_D11_FIMC0		(1<<2)
+#define S5P_CLKGATE_D11_FIMC1		(1<<3)
+#define S5P_CLKGATE_D11_FIMC2		(1<<4)
+#define S5P_CLKGATE_D11_JPEG		(1<<5)
+#define S5P_CLKGATE_D11_DSI		(1<<6)
+#define S5P_CLKGATE_D11_CSI		(1<<7)
+#define S5P_CLKGATE_D11_G3D		(1<<8)
+
+/* HCLKD1/PCLKD1 Clock Gate 2 Registers */
+#define S5P_CLKGATE_D12_TV		(1<<0)
+#define S5P_CLKGATE_D12_VP		(1<<1)
+#define S5P_CLKGATE_D12_MIXER		(1<<2)
+#define S5P_CLKGATE_D12_HDMI		(1<<3)
+#define S5P_CLKGATE_D12_MFC		(1<<4)
+
+/* HCLKD1/PCLKD1 Clock Gate 3 Registers */
+#define S5P_CLKGATE_D13_CHIPID		(1<<0)
+#define S5P_CLKGATE_D13_GPIO		(1<<1)
+#define S5P_CLKGATE_D13_APC		(1<<2)
+#define S5P_CLKGATE_D13_IEC		(1<<3)
+#define S5P_CLKGATE_D13_PWM		(1<<6)
+#define S5P_CLKGATE_D13_SYSTIMER	(1<<7)
+#define S5P_CLKGATE_D13_WDT		(1<<8)
+#define S5P_CLKGATE_D13_RTC		(1<<9)
+
+/* HCLKD1/PCLKD1 Clock Gate 4 Registers */
+#define S5P_CLKGATE_D14_UART0		(1<<0)
+#define S5P_CLKGATE_D14_UART1		(1<<1)
+#define S5P_CLKGATE_D14_UART2		(1<<2)
+#define S5P_CLKGATE_D14_UART3		(1<<3)
+#define S5P_CLKGATE_D14_IIC		(1<<4)
+#define S5P_CLKGATE_D14_HDMI_IIC	(1<<5)
+#define S5P_CLKGATE_D14_SPI0		(1<<6)
+#define S5P_CLKGATE_D14_SPI1		(1<<7)
+#define S5P_CLKGATE_D14_SPI2		(1<<8)
+#define S5P_CLKGATE_D14_IRDA		(1<<9)
+#define S5P_CLKGATE_D14_CCAN0		(1<<10)
+#define S5P_CLKGATE_D14_CCAN1		(1<<11)
+#define S5P_CLKGATE_D14_HSITX		(1<<12)
+#define S5P_CLKGATE_D14_HSIRX		(1<<13)
+
+/* HCLKD1/PCLKD1 Clock Gate 5 Registers */
+#define S5P_CLKGATE_D15_IIS0		(1<<0)
+#define S5P_CLKGATE_D15_IIS1		(1<<1)
+#define S5P_CLKGATE_D15_IIS2		(1<<2)
+#define S5P_CLKGATE_D15_AC97		(1<<3)
+#define S5P_CLKGATE_D15_PCM0		(1<<4)
+#define S5P_CLKGATE_D15_PCM1		(1<<5)
+#define S5P_CLKGATE_D15_SPDIF		(1<<6)
+#define S5P_CLKGATE_D15_TSADC		(1<<7)
+#define S5P_CLKGATE_D15_KEYIF		(1<<8)
+#define S5P_CLKGATE_D15_CG		(1<<9)
+
+/* HCLKD2 Clock Gate 0 Registers */
+#define S5P_CLKGATE_D20_HCLKD2		(1<<0)
+#define S5P_CLKGATE_D20_I2SD2		(1<<1)
+
+/* Special Clock Gate 0 Registers */
+#define	S5P_CLKGATE_SCLK0_HPM		(1<<0)
+#define	S5P_CLKGATE_SCLK0_PWI		(1<<1)
+#define	S5P_CLKGATE_SCLK0_ONENAND	(1<<2)
+#define	S5P_CLKGATE_SCLK0_UART		(1<<3)
+#define	S5P_CLKGATE_SCLK0_SPI0		(1<<4)
+#define	S5P_CLKGATE_SCLK0_SPI1		(1<<5)
+#define	S5P_CLKGATE_SCLK0_SPI2		(1<<6)
+#define	S5P_CLKGATE_SCLK0_SPI0_48	(1<<7)
+#define	S5P_CLKGATE_SCLK0_SPI1_48	(1<<8)
+#define	S5P_CLKGATE_SCLK0_SPI2_48	(1<<9)
+#define	S5P_CLKGATE_SCLK0_IRDA		(1<<10)
+#define	S5P_CLKGATE_SCLK0_USBHOST	(1<<11)
+#define	S5P_CLKGATE_SCLK0_MMC0		(1<<12)
+#define	S5P_CLKGATE_SCLK0_MMC1		(1<<13)
+#define	S5P_CLKGATE_SCLK0_MMC2		(1<<14)
+#define	S5P_CLKGATE_SCLK0_MMC0_48	(1<<15)
+#define	S5P_CLKGATE_SCLK0_MMC1_48	(1<<16)
+#define	S5P_CLKGATE_SCLK0_MMC2_48	(1<<17)
+
+/* Special Clock Gate 1 Registers */
+#define	S5P_CLKGATE_SCLK1_LCD		(1<<0)
+#define	S5P_CLKGATE_SCLK1_FIMC0		(1<<1)
+#define	S5P_CLKGATE_SCLK1_FIMC1		(1<<2)
+#define	S5P_CLKGATE_SCLK1_FIMC2		(1<<3)
+#define	S5P_CLKGATE_SCLK1_TV54		(1<<4)
+#define	S5P_CLKGATE_SCLK1_VDAC54	(1<<5)
+#define	S5P_CLKGATE_SCLK1_MIXER		(1<<6)
+#define	S5P_CLKGATE_SCLK1_HDMI		(1<<7)
+#define	S5P_CLKGATE_SCLK1_AUDIO0	(1<<8)
+#define	S5P_CLKGATE_SCLK1_AUDIO1	(1<<9)
+#define	S5P_CLKGATE_SCLK1_AUDIO2	(1<<10)
+#define	S5P_CLKGATE_SCLK1_SPDIF		(1<<11)
+#define	S5P_CLKGATE_SCLK1_CAM		(1<<12)
+
+/* register for power management */
+#define S5P_PWR_CFG 		S5P_CLKREG(0x8000)
+#define S5P_EINT_WAKEUP_MASK 	S5P_CLKREG(0x8004)
+#define S5P_NORMAL_CFG 		S5P_CLKREG(0x8010)
+#define S5P_STOP_CFG 		S5P_CLKREG(0x8014)
+#define S5P_SLEEP_CFG 		S5P_CLKREG(0x8018)
+#define S5P_STOP_MEM_CFG 	S5P_CLKREG(0x801C)
+#define S5P_OSC_FREQ 		S5P_CLKREG(0x8100)
+#define S5P_OSC_STABLE 		S5P_CLKREG(0x8104)
+#define S5P_PWR_STABLE 		S5P_CLKREG(0x8108)
+#define S5P_MTC_STABLE 		S5P_CLKREG(0x8110)
+#define S5P_CLAMP_STABLE 	S5P_CLKREG(0x8114)
+#define S5P_OTHERS 		S5P_CLKREG(0x8200)
+#define S5P_RST_STAT 		S5P_CLKREG(0x8300)
+#define S5P_WAKEUP_STAT 	S5P_CLKREG(0x8304)
+#define S5P_BLK_PWR_STAT 	S5P_CLKREG(0x8308)
+#define S5P_INFORM0 		S5P_CLKREG(0x8400)
+#define S5P_INFORM1 		S5P_CLKREG(0x8404)
+#define S5P_INFORM2 		S5P_CLKREG(0x8408)
+#define S5P_INFORM3 		S5P_CLKREG(0x840C)
+#define S5P_INFORM4 		S5P_CLKREG(0x8410)
+#define S5P_INFORM5 		S5P_CLKREG(0x8414)
+#define S5P_INFORM6 		S5P_CLKREG(0x8418)
+#define S5P_INFORM7 		S5P_CLKREG(0x841C)
+#define S5P_DCGIDX_MAP0 	S5P_CLKREG(0x8500)
+#define S5P_DCGIDX_MAP1 	S5P_CLKREG(0x8504)
+#define S5P_DCGIDX_MAP2 	S5P_CLKREG(0x8508)
+#define S5P_DCGPERF_MAP0 	S5P_CLKREG(0x850C)
+#define S5P_DCGPERF_MAP1 	S5P_CLKREG(0x8510)
+#define S5P_DVCIDX_MAP 		S5P_CLKREG(0x8514)
+#define S5P_FREQ_CPU 		S5P_CLKREG(0x8518)
+#define S5P_FREQ_DPM 		S5P_CLKREG(0x851C)
+#define S5P_DVSEMCLK_EN 	S5P_CLKREG(0x8520)
+#define S5P_APLL_CON_L8 	S5P_CLKREG(0x8600)
+#define S5P_APLL_CON_L7 	S5P_CLKREG(0x8604)
+#define S5P_APLL_CON_L6 	S5P_CLKREG(0x8608)
+#define S5P_APLL_CON_L5 	S5P_CLKREG(0x860C)
+#define S5P_APLL_CON_L4 	S5P_CLKREG(0x8610)
+#define S5P_APLL_CON_L3 	S5P_CLKREG(0x8614)
+#define S5P_APLL_CON_L2 	S5P_CLKREG(0x8618)
+#define S5P_APLL_CON_L1 	S5P_CLKREG(0x861C)
+#define S5P_IEM_CONTROL 	S5P_CLKREG(0x8620)
+#define S5P_CLKDIV_IEM_L8 	S5P_CLKREG(0x8700)
+#define S5P_CLKDIV_IEM_L7 	S5P_CLKREG(0x8704)
+#define S5P_CLKDIV_IEM_L6 	S5P_CLKREG(0x8708)
+#define S5P_CLKDIV_IEM_L5 	S5P_CLKREG(0x870C)
+#define S5P_CLKDIV_IEM_L4 	S5P_CLKREG(0x8710)
+#define S5P_CLKDIV_IEM_L3 	S5P_CLKREG(0x8714)
+#define S5P_CLKDIV_IEM_L2 	S5P_CLKREG(0x8718)
+#define S5P_CLKDIV_IEM_L1 	S5P_CLKREG(0x871C)
+#define S5P_IEM_HPMCLK_DIV 	S5P_CLKREG(0x8724)
+
+#define S5P_SWRESET		S5P_CLKREG(0x100000)
+#define S5P_OND_SWRESET		S5P_CLKREG(0x100008)
+#define S5P_GEN_CTRL		S5P_CLKREG(0x100100)
+#define S5P_GEN_STATUS		S5P_CLKREG(0x100104)
+#define S5P_MEM_SYS_CFG		S5P_CLKREG(0x100200)
+#define S5P_CAM_MUX_SEL		S5P_CLKREG(0x100300)
+#define S5P_MIXER_OUT_SEL	S5P_CLKREG(0x100304)
+#define S5P_LPMP_MODE_SEL	S5P_CLKREG(0x100308)
+#define S5P_MIPI_PHY_CON0	S5P_CLKREG(0x100400)
+#define S5P_MIPI_PHY_CON1	S5P_CLKREG(0x100414)
+#define S5P_HDMI_PHY_CON0	S5P_CLKREG(0x100420)
+
+#define S5P_CFG_WFI_CLEAN	~(3<<5)
+#define S5P_CFG_WFI_IDLE	(1<<5)
+#define S5P_CFG_WFI_STOP	(2<<5)
+#define S5P_CFG_WFI_SLEEP	(3<<5)
+
+#define S5P_OTHER_SYS_INT	24
+#define S5P_OTHER_STA_TYPE	23
+#define STA_TYPE_EXPON		0
+#define STA_TYPE_SFR		1
+
+#define S5P_PWR_STA_EXP_SCALE	0
+#define S5P_PWR_STA_CNT		4
+
+#define S5P_PWR_STABLE_COUNT	85500
+
+#define S5P_SLEEP_CFG_OSC_EN	0
+
+/* OTHERS Resgister */
+#define S5P_OTHERS_USB_SIG_MASK 	(1 << 16)
+#define S5P_OTHERS_MIPI_DPHY_EN		(1 << 28)
+
+/* MIPI D-PHY Control Register 0 */
+#define S5P_MIPI_PHY_CON0_M_RESETN	(1 << 1)
+#define S5P_MIPI_PHY_CON0_S_RESETN	(1 << 0)
+
+#endif /* _PLAT_REGS_CLOCK_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-csis.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-csis.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-csis.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-csis.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,89 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/regs-csis.h
+ *
+ * Register definition file for MIPI-CSI2 Driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _REGS_CSIS_H
+#define _REGS_CSIS_H
+
+#define S3C_CSISREG(x)	(x)
+
+/*************************************************************************
+ * Registers
+ ************************************************************************/
+#define S3C_CSIS_CONTROL			S3C_CSISREG(0x00)
+#define S3C_CSIS_DPHYCTRL			S3C_CSISREG(0x04)
+#define S3C_CSIS_CONFIG				S3C_CSISREG(0x08)
+#define S3C_CSIS_DPHYSTS			S3C_CSISREG(0x0c)
+#define S3C_CSIS_INTMSK				S3C_CSISREG(0x10)
+#define S3C_CSIS_INTSRC				S3C_CSISREG(0x14)
+
+/*************************************************************************
+ * Bit Definitions
+ ************************************************************************/
+/* Control Register */
+#define S3C_CSIS_CONTROL_DPDN_DEFAULT		(0 << 31)
+#define S3C_CSIS_CONTROL_DPDN_SWAP		(1 << 31)
+#define S3C_CSIS_CONTROL_RESET			(1 << 4)
+#define S3C_CSIS_CONTROL_DISABLE		(0 << 0)
+#define S3C_CSIS_CONTROL_ENABLE			(1 << 0)
+
+/* D-PHY Control Register */
+#define S3C_CSIS_DPHYCTRL_DISABLE		(0 << 0)
+#define S3C_CSIS_DPHYCTRL_ENABLE		(1 << 0)
+
+/* Configuration Register */
+#define S3C_CSIS_CONFIG_NR_LANE_1		(0 << 0)
+#define S3C_CSIS_CONFIG_NR_LANE_2		(1 << 0)
+#define S3C_CSIS_CONFIG_NR_LANE_MASK		(1 << 0)
+
+/* D-PHY Status Register */
+#define S3C_CSIS_DPHYSTS_STOPSTATE_LANE1	(1 << 5)
+#define S3C_CSIS_DPHYSTS_STOPSTATE_LANE0	(1 << 4)
+#define S3C_CSIS_DPHYSTS_STOPSTATE_CLOCK	(1 << 0)
+
+/* Interrupt Mask Register */
+#define S3C_CSIS_INTMSK_EVEN_BEFORE_DISABLE	(0 << 31)
+#define S3C_CSIS_INTMSK_EVEN_BEFORE_ENABLE	(1 << 31)
+#define S3C_CSIS_INTMSK_EVEN_AFTER_DISABLE	(0 << 30)
+#define S3C_CSIS_INTMSK_EVEN_AFTER_ENABLE	(1 << 30)
+#define S3C_CSIS_INTMSK_ODD_BEFORE_DISABLE	(0 << 29)
+#define S3C_CSIS_INTMSK_ODD_BEFORE_ENABLE	(1 << 29)
+#define S3C_CSIS_INTMSK_ODD_AFTER_DISABLE	(0 << 28)
+#define S3C_CSIS_INTMSK_ODD_AFTER_ENABLE	(1 << 28)
+#define S3C_CSIS_INTMSK_ERR_SOT_HS_DISABLE	(0 << 12)
+#define S3C_CSIS_INTMSK_ERR_SOT_HS_ENABLE	(1 << 12)
+#define S3C_CSIS_INTMSK_ERR_ESC_DISABLE		(0 << 8)
+#define S3C_CSIS_INTMSK_ERR_ESC_ENABLE		(1 << 8)
+#define S3C_CSIS_INTMSK_ERR_CTRL_DISABLE	(0 << 4)
+#define S3C_CSIS_INTMSK_ERR_CTRL_ENABLE		(1 << 4)
+#define S3C_CSIS_INTMSK_ERR_ECC_DISABLE		(0 << 2)
+#define S3C_CSIS_INTMSK_ERR_ECC_ENABLE		(1 << 2)
+#define S3C_CSIS_INTMSK_ERR_CRC_DISABLE		(0 << 1)
+#define S3C_CSIS_INTMSK_ERR_CRC_ENABLE		(1 << 1)
+#define S3C_CSIS_INTMSK_ERR_ID_DISABLE		(0 << 0)
+#define S3C_CSIS_INTMSK_ERR_ID_ENABLE		(1 << 0)
+
+/* Interrupt Source Register */
+#define S3C_CSIS_INTSRC_EVEN_BEFORE		(1 << 31)
+#define S3C_CSIS_INTSRC_EVEN_AFTER		(1 << 30)
+#define S3C_CSIS_INTSRC_ODD_BEFORE		(1 << 29)
+#define S3C_CSIS_INTSRC_ODD_AFTER		(1 << 28)
+#define S3C_CSIS_INTSRC_ERR_SOT_HS_LANE1	(1 << 13)
+#define S3C_CSIS_INTSRC_ERR_SOT_HS_LANE0	(1 << 12)
+#define S3C_CSIS_INTSRC_ERR_ESC_LANE1		(1 << 9)
+#define S3C_CSIS_INTSRC_ERR_ESC_LANE0		(1 << 8)
+#define S3C_CSIS_INTSRC_ERR_CTRL1		(1 << 5)
+#define S3C_CSIS_INTSRC_ERR_CTRL0		(1 << 4)
+#define S3C_CSIS_INTSRC_ERR_ECC			(1 << 2)
+#define S3C_CSIS_INTSRC_ERR_CRC			(1 << 1)
+#define S3C_CSIS_INTSRC_ERR_ID			(1 << 0)
+
+#endif /* _REGS_CSIS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-fimc.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-fimc.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-fimc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-fimc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,330 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/regs-fimc.h
+ *
+ * Register definition file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _REGS_FIMC_H
+#define _REGS_FIMC_H
+
+#define S3C_FIMCREG(x) 	(x)
+
+/*************************************************************************
+ * Register part
+ ************************************************************************/
+#define S3C_CIOYSA(__x) 			S3C_FIMCREG(0x18 + (__x) * 4)
+#define S3C_CIOCBSA(__x) 			S3C_FIMCREG(0x28 + (__x) * 4)
+#define S3C_CIOCRSA(__x)  			S3C_FIMCREG(0x38 + (__x) * 4)
+
+#define S3C_CISRCFMT				S3C_FIMCREG(0x00)	/* Input source format */
+#define S3C_CIWDOFST				S3C_FIMCREG(0x04)	/* Window offset */
+#define S3C_CIGCTRL				S3C_FIMCREG(0x08)	/* Global control */
+#define S3C_CIWDOFST2				S3C_FIMCREG(0x14)	/* Window offset 2 */
+#define S3C_CIOYSA1				S3C_FIMCREG(0x18)	/* Y 1st frame start address for output DMA */
+#define S3C_CIOYSA2				S3C_FIMCREG(0x1c)	/* Y 2nd frame start address for output DMA */
+#define S3C_CIOYSA3				S3C_FIMCREG(0x20)	/* Y 3rd frame start address for output DMA */
+#define S3C_CIOYSA4				S3C_FIMCREG(0x24)	/* Y 4th frame start address for output DMA */
+#define S3C_CIOCBSA1				S3C_FIMCREG(0x28)	/* Cb 1st frame start address for output DMA */
+#define S3C_CIOCBSA2				S3C_FIMCREG(0x2c)	/* Cb 2nd frame start address for output DMA */
+#define S3C_CIOCBSA3				S3C_FIMCREG(0x30)	/* Cb 3rd frame start address for output DMA */
+#define S3C_CIOCBSA4				S3C_FIMCREG(0x34)	/* Cb 4th frame start address for output DMA */
+#define S3C_CIOCRSA1				S3C_FIMCREG(0x38)	/* Cr 1st frame start address for output DMA */
+#define S3C_CIOCRSA2				S3C_FIMCREG(0x3c)	/* Cr 2nd frame start address for output DMA */
+#define S3C_CIOCRSA3				S3C_FIMCREG(0x40)	/* Cr 3rd frame start address for output DMA */
+#define S3C_CIOCRSA4				S3C_FIMCREG(0x44)	/* Cr 4th frame start address for output DMA */
+#define S3C_CITRGFMT				S3C_FIMCREG(0x48)	/* Target image format */
+#define S3C_CIOCTRL				S3C_FIMCREG(0x4c)	/* Output DMA control */
+#define S3C_CISCPRERATIO			S3C_FIMCREG(0x50)	/* Pre-scaler control 1 */
+#define S3C_CISCPREDST				S3C_FIMCREG(0x54)	/* Pre-scaler control 2 */
+#define S3C_CISCCTRL				S3C_FIMCREG(0x58)	/* Main scaler control */
+#define S3C_CITAREA				S3C_FIMCREG(0x5c)	/* Target area */
+#define S3C_CISTATUS				S3C_FIMCREG(0x64)	/* Status */
+#define S3C_CIIMGCPT				S3C_FIMCREG(0xc0)	/* Image capture enable command */
+#define S3C_CICPTSEQ				S3C_FIMCREG(0xc4)	/* Capture sequence */
+#define S3C_CIIMGEFF				S3C_FIMCREG(0xd0)	/* Image effects */
+#define S3C_CIIYSA0				S3C_FIMCREG(0xd4)	/* Y frame start address for input DMA */
+#define S3C_CIICBSA0				S3C_FIMCREG(0xd8)	/* Cb frame start address for input DMA */
+#define S3C_CIICRSA0				S3C_FIMCREG(0xdc)	/* Cr frame start address for input DMA */
+#define S3C_CIREAL_ISIZE			S3C_FIMCREG(0xf8)	/* Real input DMA image size */
+#define S3C_MSCTRL				S3C_FIMCREG(0xfc)	/* Input DMA control */
+#define S3C_CIOYOFF				S3C_FIMCREG(0x168)	/* Output DMA Y offset */
+#define S3C_CIOCBOFF				S3C_FIMCREG(0x16c)	/* Output DMA CB offset */
+#define S3C_CIOCROFF				S3C_FIMCREG(0x170)	/* Output DMA CR offset */
+#define S3C_CIIYOFF				S3C_FIMCREG(0x174)	/* Input DMA Y offset */
+#define S3C_CIICBOFF				S3C_FIMCREG(0x178)	/* Input DMA CB offset */
+#define S3C_CIICROFF				S3C_FIMCREG(0x17c)	/* Input DMA CR offset */
+#define S3C_ORGISIZE				S3C_FIMCREG(0x180)	/* Input DMA original image size */
+#define S3C_ORGOSIZE				S3C_FIMCREG(0x184)	/* Output DMA original image size */
+#define S3C_CIEXTEN				S3C_FIMCREG(0x188)	/* Real output DMA image size */
+#define S3C_CIDMAPARAM				S3C_FIMCREG(0x18c)	/* DMA parameter */
+#define S3C_CSIIMGFMT				S3C_FIMCREG(0x194)	/* MIPI CSI image format */
+
+/*************************************************************************
+ * Macro part
+ ************************************************************************/
+#define S3C_CISRCFMT_SOURCEHSIZE(x)		((x) << 16)
+#define S3C_CISRCFMT_SOURCEVSIZE(x)		((x) << 0)
+
+#define S3C_CIWDOFST_WINHOROFST(x)		((x) << 16)
+#define S3C_CIWDOFST_WINVEROFST(x)		((x) << 0)
+
+#define S3C_CIWDOFST2_WINHOROFST2(x)		((x) << 16)
+#define S3C_CIWDOFST2_WINVEROFST2(x)		((x) << 0)
+
+#define S3C_CITRGFMT_TARGETHSIZE(x)		((x) << 16)
+#define S3C_CITRGFMT_TARGETVSIZE(x)		((x) << 0)
+
+#define S3C_CISCPRERATIO_SHFACTOR(x)		((x) << 28)
+#define S3C_CISCPRERATIO_PREHORRATIO(x)		((x) << 16)
+#define S3C_CISCPRERATIO_PREVERRATIO(x)		((x) << 0)
+
+#define S3C_CISCPREDST_PREDSTWIDTH(x)		((x) << 16)
+#define S3C_CISCPREDST_PREDSTHEIGHT(x)		((x) << 0)
+
+#define S3C_CISCCTRL_MAINHORRATIO(x)		((x) << 16)
+#define S3C_CISCCTRL_MAINVERRATIO(x)		((x) << 0)
+
+#define S3C_CITAREA_TARGET_AREA(x)		((x) << 0)
+
+#define S3C_CISTATUS_GET_FRAME_COUNT(x)		(((x) >> 26) & 0x3)
+#define S3C_CISTATUS_GET_FRAME_END(x)		(((x) >> 17) & 0x1)
+
+#define S3C_CIIMGEFF_PAT_CB(x)			((x) << 13)
+#define S3C_CIIMGEFF_PAT_CR(x)			((x) << 0)
+
+#define S3C_CIREAL_ISIZE_HEIGHT(x)		((x) << 16)
+#define S3C_CIREAL_ISIZE_WIDTH(x)		((x) << 0)
+
+#define S3C_MSCTRL_SUCCESSIVE_COUNT(x)		((x) << 24)
+
+#define S3C_CIOYOFF_VERTICAL(x)			((x) << 16)
+#define S3C_CIOYOFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_CIOCBOFF_VERTICAL(x)		((x) << 16)
+#define S3C_CIOCBOFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_CIOCROFF_VERTICAL(x)		((x) << 16)
+#define S3C_CIOCROFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_CIIYOFF_VERTICAL(x)			((x) << 16)
+#define S3C_CIIYOFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_CIICBOFF_VERTICAL(x)		((x) << 16)
+#define S3C_CIICBOFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_CIICROFF_VERTICAL(x)		((x) << 16)
+#define S3C_CIICROFF_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_ORGISIZE_VERTICAL(x)		((x) << 16)
+#define S3C_ORGISIZE_HORIZONTAL(x)		((x) << 0)
+
+#define S3C_ORGOSIZE_VERTICAL(x)		((x) << 16)
+#define S3C_ORGOSIZE_HORIZONTAL(x)		((x) << 0)
+
+
+/*************************************************************************
+ * Bit definition part
+ ************************************************************************/
+/* Source format register */
+#define S3C_CISRCFMT_ITU601_8BIT		(1 << 31)
+#define S3C_CISRCFMT_ITU656_8BIT		(0 << 31)
+#define S3C_CISRCFMT_ITU601_16BIT		(1 << 29)
+#define S3C_CISRCFMT_ORDER422_YCBYCR		(0 << 14)
+#define S3C_CISRCFMT_ORDER422_YCRYCB		(1 << 14)
+#define S3C_CISRCFMT_ORDER422_CBYCRY		(2 << 14)
+#define S3C_CISRCFMT_ORDER422_CRYCBY		(3 << 14)
+#define S3C_CISRCFMT_ORDER422_Y4CBCRCBCR	(0 << 14)	/* ITU601 16bit only */
+#define S3C_CISRCFMT_ORDER422_Y4CRCBCRCB	(1 << 14)	/* ITU601 16bit only */
+
+/* Window offset register */
+#define S3C_CIWDOFST_WINOFSEN			(1 << 31)
+#define S3C_CIWDOFST_CLROVFIY			(1 << 30)
+#define S3C_CIWDOFST_CLROVRLB			(1 << 29)
+#define S3C_CIWDOFST_WINHOROFST_MASK		(0x7ff << 16)
+#define S3C_CIWDOFST_CLROVFICB			(1 << 15)
+#define S3C_CIWDOFST_CLROVFICR			(1 << 14)
+#define S3C_CIWDOFST_WINVEROFST_MASK		(0xfff << 0)
+
+/* Global control register */
+#define S3C_CIGCTRL_SWRST			(1 << 31)
+#define S3C_CIGCTRL_CAMRST_A			(1 << 30)
+#define S3C_CIGCTRL_SELCAM_ITU_B		(0 << 29)
+#define S3C_CIGCTRL_SELCAM_ITU_A		(1 << 29)
+#define S3C_CIGCTRL_SELCAM_ITU_MASK		(1 << 29)
+#define S3C_CIGCTRL_TESTPATTERN_NORMAL		(0 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_COLOR_BAR	(1 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_HOR_INC		(2 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_VER_INC		(3 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_MASK		(3 << 27)
+#define S3C_CIGCTRL_TESTPATTERN_SHIFT		(27)
+#define S3C_CIGCTRL_INVPOLPCLK			(1 << 26)
+#define S3C_CIGCTRL_INVPOLVSYNC			(1 << 25)
+#define S3C_CIGCTRL_INVPOLHREF			(1 << 24)
+#define S3C_CIGCTRL_IRQ_OVFEN			(1 << 22)
+#define S3C_CIGCTRL_HREF_MASK			(1 << 21)
+#define S3C_CIGCTRL_IRQ_EDGE			(0 << 20)
+#define S3C_CIGCTRL_IRQ_LEVEL			(1 << 20)
+#define S3C_CIGCTRL_IRQ_CLR			(1 << 19)
+#define S3C_CIGCTRL_IRQ_DISABLE			(0 << 16)
+#define S3C_CIGCTRL_IRQ_ENABLE			(1 << 16)
+#define S3C_CIGCTRL_INVPOLHSYNC			(1 << 4)
+#define S3C_CIGCTRL_SELCAM_ITU			(0 << 3)
+#define S3C_CIGCTRL_SELCAM_MIPI			(1 << 3)
+#define S3C_CIGCTRL_PROGRESSIVE			(0 << 0)
+#define S3C_CIGCTRL_INTERLACE			(1 << 0)
+
+/* Window offset2 register */
+#define S3C_CIWDOFST_WINHOROFST2_MASK		(0xfff << 16)
+#define S3C_CIWDOFST_WINVEROFST2_MASK		(0xfff << 16)
+
+/* Target format register */
+#define S3C_CITRGFMT_INROT90_CLOCKWISE		(1 << 31)
+#define S3C_CITRGFMT_OUTFORMAT_YCBCR420		(0 << 29)
+#define S3C_CITRGFMT_OUTFORMAT_YCBCR422		(1 << 29)
+#define S3C_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE	(2 << 29)
+#define S3C_CITRGFMT_OUTFORMAT_RGB		(3 << 29)
+#define S3C_CITRGFMT_FLIP_SHIFT			(14)
+#define S3C_CITRGFMT_FLIP_NORMAL		(0 << 14)
+#define S3C_CITRGFMT_FLIP_X_MIRROR		(1 << 14)
+#define S3C_CITRGFMT_FLIP_Y_MIRROR		(2 << 14)
+#define S3C_CITRGFMT_FLIP_180			(3 << 14)
+#define S3C_CITRGFMT_FLIP_MASK			(3 << 14)
+#define S3C_CITRGFMT_OUTROT90_CLOCKWISE		(1 << 13)
+
+/* Output DMA control register */
+#define S3C_CIOCTRL_ORDER2P_SHIFT		(24)
+#define S3C_CIOCTRL_ORDER2P_MASK		(3 << 24)
+#define S3C_CIOCTRL_YCBCR_3PLANE		(0 << 3)
+#define S3C_CIOCTRL_YCBCR_2PLANE		(1 << 3)
+#define S3C_CIOCTRL_YCBCR_PLANE_MASK		(1 << 3)
+#define S3C_CIOCTRL_LASTIRQ_ENABLE		(1 << 2)
+#define S3C_CIOCTRL_ORDER422_MASK		(3 << 0)
+
+/* Main scaler control register */
+#define S3C_CISCCTRL_SCALERBYPASS		(1 << 31)
+#define S3C_CISCCTRL_SCALEUP_H			(1 << 30)
+#define S3C_CISCCTRL_SCALEUP_V			(1 << 29)
+#define S3C_CISCCTRL_CSCR2Y_NARROW		(0 << 28)
+#define S3C_CISCCTRL_CSCR2Y_WIDE		(1 << 28)
+#define S3C_CISCCTRL_CSCY2R_NARROW		(0 << 27)
+#define S3C_CISCCTRL_CSCY2R_WIDE		(1 << 27)
+#define S3C_CISCCTRL_LCDPATHEN_FIFO		(1 << 26)
+#define S3C_CISCCTRL_PROGRESSIVE		(0 << 25)
+#define S3C_CISCCTRL_INTERLACE			(1 << 25)
+#define S3C_CISCCTRL_SCALERSTART		(1 << 15)
+#define S3C_CISCCTRL_INRGB_FMT_RGB565		(0 << 13)
+#define S3C_CISCCTRL_INRGB_FMT_RGB666		(1 << 13)
+#define S3C_CISCCTRL_INRGB_FMT_RGB888		(2 << 13)
+#define S3C_CISCCTRL_OUTRGB_FMT_RGB565		(0 << 11)
+#define S3C_CISCCTRL_OUTRGB_FMT_RGB666		(1 << 11)
+#define S3C_CISCCTRL_OUTRGB_FMT_RGB888		(2 << 11)
+#define S3C_CISCCTRL_EXTRGB_NORMAL		(0 << 10)
+#define S3C_CISCCTRL_EXTRGB_EXTENSION		(1 << 10)
+#define S3C_CISCCTRL_ONE2ONE			(1 << 9)
+
+/* Status register */
+#define S3C_CISTATUS_OVFIY			(1 << 31)
+#define S3C_CISTATUS_OVFICB			(1 << 30)
+#define S3C_CISTATUS_OVFICR			(1 << 29)
+#define S3C_CISTATUS_VSYNC			(1 << 28)
+#define S3C_CISTATUS_WINOFSTEN			(1 << 25)
+#define S3C_CISTATUS_IMGCPTEN			(1 << 22)
+#define S3C_CISTATUS_IMGCPTENSC			(1 << 21)
+#define S3C_CISTATUS_VSYNC_A			(1 << 20)
+#define S3C_CISTATUS_VSYNC_B			(1 << 19)
+#define S3C_CISTATUS_OVRLB			(1 << 18)
+#define S3C_CISTATUS_FRAMEEND			(1 << 17)
+#define S3C_CISTATUS_LASTCAPTUREEND		(1 << 16)
+#define S3C_CISTATUS_VVALID_A			(1 << 15)
+#define S3C_CISTATUS_VVALID_B			(1 << 14)
+
+/* Image capture enable register */
+#define S3C_CIIMGCPT_IMGCPTEN			(1 << 31)
+#define S3C_CIIMGCPT_IMGCPTEN_SC		(1 << 30)
+#define S3C_CIIMGCPT_CPT_FREN_ENABLE		(1 << 25)
+#define S3C_CIIMGCPT_CPT_FRMOD_EN		(0 << 18)
+#define S3C_CIIMGCPT_CPT_FRMOD_CNT		(1 << 18)
+
+/* Image effects register */
+#define S3C_CIIMGEFF_IE_DISABLE			(0 << 30)
+#define S3C_CIIMGEFF_IE_ENABLE			(1 << 30)
+#define S3C_CIIMGEFF_IE_SC_BEFORE		(0 << 29)
+#define S3C_CIIMGEFF_IE_SC_AFTER		(1 << 29)
+#define S3C_CIIMGEFF_FIN_BYPASS			(0 << 26)
+#define S3C_CIIMGEFF_FIN_ARBITRARY		(1 << 26)
+#define S3C_CIIMGEFF_FIN_NEGATIVE		(2 << 26)
+#define S3C_CIIMGEFF_FIN_ARTFREEZE		(3 << 26)
+#define S3C_CIIMGEFF_FIN_EMBOSSING		(4 << 26)
+#define S3C_CIIMGEFF_FIN_SILHOUETTE		(5 << 26)
+#define S3C_CIIMGEFF_FIN_MASK			(7 << 26)
+#define S3C_CIIMGEFF_PAT_CBCR_MASK		((0xff < 13) | (0xff < 0))
+
+/* Real input DMA size register */
+#define S3C_CIREAL_ISIZE_AUTOLOAD_ENABLE	(1 << 31)
+#define S3C_CIREAL_ISIZE_ADDR_CH_DISABLE	(1 << 30)
+
+/* Input DMA control register */
+#define S3C_MSCTRL_2PLANE_SHIFT			(16)
+#define S3C_MSCTRL_C_INT_IN_3PLANE		(0 << 15)
+#define S3C_MSCTRL_C_INT_IN_2PLANE		(1 << 15)
+#define S3C_MSCTRL_FLIP_SHIFT			(13)
+#define S3C_MSCTRL_FLIP_NORMAL			(0 << 13)
+#define S3C_MSCTRL_FLIP_X_MIRROR		(1 << 13)
+#define S3C_MSCTRL_FLIP_Y_MIRROR		(2 << 13)
+#define S3C_MSCTRL_FLIP_180			(3 << 13)
+#define S3C_MSCTRL_ORDER422_CRYCBY		(0 << 4)
+#define S3C_MSCTRL_ORDER422_YCRYCB		(1 << 4)
+#define S3C_MSCTRL_ORDER422_CBYCRY		(2 << 4)
+#define S3C_MSCTRL_ORDER422_YCBYCR		(3 << 4)
+#define S3C_MSCTRL_INPUT_EXTCAM			(0 << 3)
+#define S3C_MSCTRL_INPUT_MEMORY			(1 << 3)
+#define S3C_MSCTRL_INPUT_MASK			(1 << 3)
+#define S3C_MSCTRL_INFORMAT_YCBCR420		(0 << 1)
+#define S3C_MSCTRL_INFORMAT_YCBCR422		(1 << 1)
+#define S3C_MSCTRL_INFORMAT_YCBCR422_1PLANE	(2 << 1)
+#define S3C_MSCTRL_INFORMAT_RGB			(3 << 1)
+#define S3C_MSCTRL_ENVID			(1 << 0)
+
+/* DMA parameter register */
+#define S3C_CIDMAPARAM_R_MODE_LINEAR		(0 << 29)
+#define S3C_CIDMAPARAM_R_MODE_CONFTILE		(1 << 29)
+#define S3C_CIDMAPARAM_R_MODE_16X16		(2 << 29)
+#define S3C_CIDMAPARAM_R_MODE_64X32		(3 << 29)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_64		(0 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_128		(1 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_256		(2 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_512		(3 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_1024	(4 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_2048	(5 << 24)
+#define S3C_CIDMAPARAM_R_TILE_HSIZE_4096	(6 << 24)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_1		(0 << 20)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_2		(1 << 20)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_4		(2 << 20)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_8		(3 << 20)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_16		(4 << 20)
+#define S3C_CIDMAPARAM_R_TILE_VSIZE_32		(5 << 20)
+#define S3C_CIDMAPARAM_W_MODE_LINEAR		(0 << 13)
+#define S3C_CIDMAPARAM_W_MODE_CONFTILE		(1 << 13)
+#define S3C_CIDMAPARAM_W_MODE_16X16		(2 << 13)
+#define S3C_CIDMAPARAM_W_MODE_64X32		(3 << 13)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_64		(0 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_128		(1 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_256		(2 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_512		(3 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_1024	(4 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_2048	(5 << 8)
+#define S3C_CIDMAPARAM_W_TILE_HSIZE_4096	(6 << 8)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_1		(0 << 4)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_2		(1 << 4)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_4		(2 << 4)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_8		(3 << 4)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_16		(4 << 4)
+#define S3C_CIDMAPARAM_W_TILE_VSIZE_32		(5 << 4)
+
+#endif /* _REGS_FIMC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-fimd.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-fimd.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-fimd.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-fimd.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,343 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/regs-fimd.h
+ *
+ * Register definition file for Samsung Display Controller (FIMD) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _REGS_FIMD_H
+#define _REGS_FIMD_H
+
+#define S3C_LCDREG(x)		(x)
+
+/*
+ * Register Map
+*/
+#define S3C_VIDCON0		S3C_LCDREG(0x0000)  	/* Video control 0 */
+#define S3C_VIDCON1		S3C_LCDREG(0x0004)  	/* Video control 1 */
+#define S3C_VIDCON2		S3C_LCDREG(0x0008)  	/* Video control 2 */
+#define S3C_PRTCON		S3C_LCDREG(0x000C)  	/* Protect control */
+
+#define S3C_VIDTCON0		S3C_LCDREG(0x0010)  	/* Video time control 0 */
+#define S3C_VIDTCON1		S3C_LCDREG(0x0014)  	/* Video time control 1 */
+#define S3C_VIDTCON2		S3C_LCDREG(0x0018)  	/* Video time control 2 */
+
+#define S3C_WINCON0		S3C_LCDREG(0x0020)  	/* Window control 0 */
+#define S3C_WINCON1		S3C_LCDREG(0x0024)  	/* Window control 1 */
+#define S3C_WINCON2		S3C_LCDREG(0x0028)  	/* Window control 2 */
+#define S3C_WINCON3		S3C_LCDREG(0x002C)  	/* Window control 3 */
+#define S3C_WINCON4		S3C_LCDREG(0x0030)  	/* Window control 4 */
+
+#define S3C_VIDOSD0A		S3C_LCDREG(0x0040)  	/* Video Window 0 position control */
+#define S3C_VIDOSD0B		S3C_LCDREG(0x0044)  	/* Video Window 0 position control1 */
+#define S3C_VIDOSD0C		S3C_LCDREG(0x0048)  	/* Video Window 0 position control */
+
+#define S3C_VIDOSD1A		S3C_LCDREG(0x0050)  	/* Video Window 1 position control */
+#define S3C_VIDOSD1B		S3C_LCDREG(0x0054)  	/* Video Window 1 position control */
+#define S3C_VIDOSD1C		S3C_LCDREG(0x0058)  	/* Video Window 1 position control */
+#define S3C_VIDOSD1D		S3C_LCDREG(0x005C)  	/* Video Window 1 position control */
+
+#define S3C_VIDOSD2A		S3C_LCDREG(0x0060)  	/* Video Window 2 position control */
+#define S3C_VIDOSD2B		S3C_LCDREG(0x0064)  	/* Video Window 2 position control */
+#define S3C_VIDOSD2C		S3C_LCDREG(0x0068)  	/* Video Window 2 position control */
+#define S3C_VIDOSD2D		S3C_LCDREG(0x006C)  	/* Video Window 2 position control */
+
+#define S3C_VIDOSD3A		S3C_LCDREG(0x0070)  	/* Video Window 3 position control */
+#define S3C_VIDOSD3B		S3C_LCDREG(0x0074)  	/* Video Window 3 position control */
+#define S3C_VIDOSD3C		S3C_LCDREG(0x0078)  	/* Video Window 3 position control */
+
+#define S3C_VIDOSD4A		S3C_LCDREG(0x0080)  	/* Video Window 4 position control */
+#define S3C_VIDOSD4B		S3C_LCDREG(0x0084)  	/* Video Window 4 position control */
+#define S3C_VIDOSD4C		S3C_LCDREG(0x0088)  	/* Video Window 4 position control */
+
+#define S3C_VIDW00ADD0B0	S3C_LCDREG(0x00A0) 	/* Window 0 buffer start address, buffer 0 */
+#define S3C_VIDW00ADD0B1	S3C_LCDREG(0x00A4) 	/* Window 0 buffer start address, buffer 1 */
+#define S3C_VIDW01ADD0B0	S3C_LCDREG(0x00A8) 	/* Window 1 buffer start address, buffer 0 */
+#define S3C_VIDW01ADD0B1	S3C_LCDREG(0x00AC) 	/* Window 1 buffer start address, buffer 1 */
+#define S3C_VIDW02ADD0		S3C_LCDREG(0x00B0) 	/* Window 2 buffer start address, buffer 0 */
+#define S3C_VIDW03ADD0		S3C_LCDREG(0x00B8) 	/* Window 3 buffer start address, buffer 0 */
+#define S3C_VIDW04ADD0		S3C_LCDREG(0x00C0) 	/* Window 4 buffer start address, buffer 0 */
+#define S3C_VIDW00ADD1B0	S3C_LCDREG(0x00D0) 	/* Window 0 buffer end address, buffer 0 */
+#define S3C_VIDW00ADD1B1	S3C_LCDREG(0x00D4) 	/* Window 0 buffer end address, buffer 1 */
+#define S3C_VIDW01ADD1B0	S3C_LCDREG(0x00D8) 	/* Window 1 buffer end address, buffer 0 */
+#define S3C_VIDW01ADD1B1	S3C_LCDREG(0x00DC) 	/* Window 1 buffer end address, buffer 1 */
+#define S3C_VIDW02ADD1		S3C_LCDREG(0x00E0) 	/* Window 2 buffer end address */
+#define S3C_VIDW03ADD1		S3C_LCDREG(0x00E8) 	/* Window 3 buffer end address */
+#define S3C_VIDW04ADD1		S3C_LCDREG(0x00F0) 	/* Window 4 buffer end address */
+#define S3C_VIDW00ADD2		S3C_LCDREG(0x0100) 	/* Window 0 buffer size */
+#define S3C_VIDW01ADD2		S3C_LCDREG(0x0104) 	/* Window 1 buffer size */
+#define S3C_VIDW02ADD2		S3C_LCDREG(0x0108) 	/* Window 2 buffer size */
+#define S3C_VIDW03ADD2		S3C_LCDREG(0x010C) 	/* Window 3 buffer size */
+#define S3C_VIDW04ADD2		S3C_LCDREG(0x0110) 	/* Window 4 buffer size */
+
+#define S3C_VP1TCON0		S3C_LCDREG(0x0118)	/* VP1 interface timing control 0 */
+#define S3C_VP1TCON1		S3C_LCDREG(0x011C)	/* VP1 interface timing control 1 */
+
+#define S3C_VIDINTCON0		S3C_LCDREG(0x0130)	/* Indicate the Video interrupt control */
+#define S3C_VIDINTCON1		S3C_LCDREG(0x0134) 	/* Video Interrupt Pending */
+
+#define S3C_W1KEYCON0		S3C_LCDREG(0x0140) 	/* Color key control */
+#define S3C_W1KEYCON1		S3C_LCDREG(0x0144) 	/* Color key value (transparent value) */
+#define S3C_W2KEYCON0		S3C_LCDREG(0x0148) 	/* Color key control */
+#define S3C_W2KEYCON1		S3C_LCDREG(0x014C) 	/* Color key value (transparent value) */
+#define S3C_W3KEYCON0		S3C_LCDREG(0x0150)	/* Color key control */
+#define S3C_W3KEYCON1		S3C_LCDREG(0x0154)	/* Color key value (transparent value) */
+#define S3C_W4KEYCON0		S3C_LCDREG(0x0158)	/* Color key control */
+#define S3C_W4KEYCON1		S3C_LCDREG(0x015C)	/* Color key value (transparent value) */
+
+#define S3C_W1KEYALPHA		S3C_LCDREG(0x0160)	/* Color key alpha value */
+#define S3C_W2KEYALPHA		S3C_LCDREG(0x0164)	/* Color key alpha value */
+#define S3C_W3KEYALPHA		S3C_LCDREG(0x0168)	/* Color key alpha value */
+#define S3C_W4KEYALPHA		S3C_LCDREG(0x016C)	/* Color key alpha value */
+
+#define S3C_DITHMODE		S3C_LCDREG(0x0170)	/* Dithering mode */
+
+#define S3C_WIN0MAP		S3C_LCDREG(0x0180)	/* Window color control	*/
+#define S3C_WIN1MAP		S3C_LCDREG(0x0184)	/* Window color control	*/
+#define S3C_WIN2MAP		S3C_LCDREG(0x0188)	/* Window color control	*/
+#define S3C_WIN3MAP		S3C_LCDREG(0x018C)	/* Window color control	*/
+#define S3C_WIN4MAP		S3C_LCDREG(0x0190)	/* Window color control	*/
+
+#define S3C_WPALCON_H		S3C_LCDREG(0x019C)	/* Window Palette control */
+#define S3C_WPALCON_L		S3C_LCDREG(0x01A0)	/* Window Palette control */
+
+#define S3C_VIDW0ALPHA0		S3C_LCDREG(0x0200)	/* Window 0 alpha value 0 */
+#define S3C_VIDW0ALPHA1		S3C_LCDREG(0x0204)	/* Window 0 alpha value 1 */
+#define S3C_VIDW1ALPHA0		S3C_LCDREG(0x0208)	/* Window 1 alpha value 0 */
+#define S3C_VIDW1ALPHA1		S3C_LCDREG(0x020C)	/* Window 1 alpha value 1 */
+#define S3C_VIDW2ALPHA0		S3C_LCDREG(0x0210)	/* Window 2 alpha value 0 */
+#define S3C_VIDW2ALPHA1		S3C_LCDREG(0x0214)	/* Window 2 alpha value 1 */
+#define S3C_VIDW3ALPHA0		S3C_LCDREG(0x0218)	/* Window 3 alpha value 0 */
+#define S3C_VIDW3ALPHA1		S3C_LCDREG(0x021C)	/* Window 3 alpha value 1 */
+#define S3C_VIDW4ALPHA0		S3C_LCDREG(0x0220)	/* Window 4 alpha value 0 */
+#define S3C_VIDW4ALPHA1		S3C_LCDREG(0x0224)	/* Window 4 alpha value 1 */
+
+#define S3C_BLENDEQ1		S3C_LCDREG(0x0244)	/* Window 1 blending equation control */
+#define S3C_BLENDEQ2		S3C_LCDREG(0x0248)	/* Window 2 blending equation control */
+#define S3C_BLENDEQ3		S3C_LCDREG(0x024C)	/* Window 3 blending equation control */
+#define S3C_BLENDEQ4		S3C_LCDREG(0x0250)	/* Window 4 blending equation control */
+#define S3C_BLENDCON		S3C_LCDREG(0x0260)	/* Blending control */
+
+/*
+ * Bit Definitions
+*/
+
+/* VIDCON0 */
+#define S3C_VIDCON0_DSI_DISABLE			(0 << 30)
+#define S3C_VIDCON0_DSI_ENABLE			(1 << 30)
+#define S3C_VIDCON0_SCAN_PROGRESSIVE		(0 << 29)
+#define S3C_VIDCON0_SCAN_INTERLACE		(1 << 29)
+#define S3C_VIDCON0_SCAN_MASK			(1 << 29)
+#define S3C_VIDCON0_VIDOUT_RGB			(0 << 26)
+#define S3C_VIDCON0_VIDOUT_ITU			(1 << 26)
+#define S3C_VIDCON0_VIDOUT_I80LDI0		(2 << 26)
+#define S3C_VIDCON0_VIDOUT_I80LDI1		(3 << 26)
+#define S3C_VIDCON0_VIDOUT_MASK			(3 << 26)
+#define S3C_VIDCON0_PNRMODE_RGB_P		(0 << 17)
+#define S3C_VIDCON0_PNRMODE_BGR_P		(1 << 17)
+#define S3C_VIDCON0_PNRMODE_RGB_S		(2 << 17)
+#define S3C_VIDCON0_PNRMODE_BGR_S		(3 << 17)
+#define S3C_VIDCON0_PNRMODE_SHIFT		(17)
+#define S3C_VIDCON0_CLKVALUP_ALWAYS 		(0 << 16)
+#define S3C_VIDCON0_CLKVALUP_START_FRAME 	(1 << 16)
+#define S3C_VIDCON0_CLKVALUP_MASK 		(1 << 16)
+#define S3C_VIDCON0_CLKVAL_F(x)			(((x) & 0xff) << 6)
+#define S3C_VIDCON0_VCLKEN_NORMAL		(0 << 5)
+#define S3C_VIDCON0_VCLKEN_FREERUN		(1 << 5)
+#define S3C_VIDCON0_VCLKEN_MASK			(1 << 5)
+#define S3C_VIDCON0_CLKDIR_DIRECTED  		(0 << 4)
+#define S3C_VIDCON0_CLKDIR_DIVIDED   		(1 << 4)
+#define S3C_VIDCON0_CLKDIR_MASK			(1 << 4)
+#define S3C_VIDCON0_CLKSEL_HCLK	  		(0 << 2)
+#define S3C_VIDCON0_CLKSEL_SCLK	  		(1 << 2)
+#define S3C_VIDCON0_CLKSEL_MASK	  		(1 << 2)
+#define S3C_VIDCON0_ENVID_ENABLE	    	(1 << 1)
+#define S3C_VIDCON0_ENVID_DISABLE	    	(0 << 1)
+#define S3C_VIDCON0_ENVID_F_ENABLE     		(1 << 0)
+#define S3C_VIDCON0_ENVID_F_DISABLE     	(0 << 0)
+
+/* VIDCON1 */
+#define S3C_VIDCON1_IVCLK_FALLING_EDGE 		(0 << 7)
+#define S3C_VIDCON1_IVCLK_RISING_EDGE 		(1 << 7)
+#define S3C_VIDCON1_IHSYNC_NORMAL		(0 << 6)
+#define S3C_VIDCON1_IHSYNC_INVERT		(1 << 6)
+#define S3C_VIDCON1_IVSYNC_NORMAL		(0 << 5)
+#define S3C_VIDCON1_IVSYNC_INVERT		(1 << 5)
+#define S3C_VIDCON1_IVDEN_NORMAL		(0 << 4)
+#define S3C_VIDCON1_IVDEN_INVERT		(1 << 4)
+
+/* VIDCON2 */
+#define S3C_VIDCON2_EN601_DISABLE		(0 << 23)
+#define S3C_VIDCON2_EN601_ENABLE		(1 << 23)
+#define S3C_VIDCON2_EN601_MASK			(1 << 23)
+#define S3C_VIDCON2_ORGYUV_YCBCR		(0 << 8)
+#define S3C_VIDCON2_ORGYUV_CBCRY		(1 << 8)
+#define S3C_VIDCON2_ORGYUV_MASK			(1 << 8)
+#define S3C_VIDCON2_YUVORD_CBCR			(0 << 7)
+#define S3C_VIDCON2_YUVORD_CRCB			(1 << 7)
+#define S3C_VIDCON2_YUVORD_MASK			(1 << 7)
+
+/* PRTCON */
+#define S3C_PRTCON_UPDATABLE			(0 << 11)
+#define S3C_PRTCON_PROTECT			(1 << 11)
+
+/* VIDTCON0 */
+#define S3C_VIDTCON0_VBPDE(x)			(((x) & 0xff) << 24)
+#define S3C_VIDTCON0_VBPD(x)			(((x) & 0xff) << 16)
+#define S3C_VIDTCON0_VFPD(x) 			(((x) & 0xff) << 8)
+#define S3C_VIDTCON0_VSPW(x) 			(((x) & 0xff) << 0)
+
+/* VIDTCON1 */
+#define S3C_VIDTCON1_VFPDE(x)			(((x) & 0xff) << 24)
+#define S3C_VIDTCON1_HBPD(x) 			(((x) & 0xff) << 16)
+#define S3C_VIDTCON1_HFPD(x) 			(((x) & 0xff) << 8)
+#define S3C_VIDTCON1_HSPW(x) 			(((x) & 0xff) << 0)
+
+/* VIDTCON2 */
+#define S3C_VIDTCON2_LINEVAL(x)  		(((x) & 0x7ff) << 11)
+#define S3C_VIDTCON2_HOZVAL(x)   		(((x) & 0x7ff) << 0)
+
+/* Window 0~4 Control - WINCONx */
+#define S3C_WINCON_DATAPATH_DMA			(0 << 22)
+#define S3C_WINCON_DATAPATH_LOCAL		(1 << 22)
+#define S3C_WINCON_DATAPATH_MASK		(1 << 22)
+#define S3C_WINCON_BUFSEL_0			(0 << 20)
+#define S3C_WINCON_BUFSEL_1			(1 << 20)
+#define S3C_WINCON_BUFSEL_MASK			(1 << 20)
+#define S3C_WINCON_BUFAUTO_DISABLE		(0 << 19)
+#define S3C_WINCON_BUFAUTO_ENABLE		(1 << 19)
+#define S3C_WINCON_BUFAUTO_MASK			(1 << 19)
+#define S3C_WINCON_BITSWP_DISABLE		(0 << 18)
+#define S3C_WINCON_BITSWP_ENABLE		(1 << 18)
+#define S3C_WINCON_BYTSWP_DISABLE		(0 << 17)
+#define S3C_WINCON_BYTSWP_ENABLE		(1 << 17)
+#define S3C_WINCON_HAWSWP_DISABLE		(0 << 16)
+#define S3C_WINCON_HAWSWP_ENABLE		(1 << 16)
+#define S3C_WINCON_WSWP_DISABLE			(0 << 15)
+#define S3C_WINCON_WSWP_ENABLE			(1 << 15)
+#define S3C_WINCON_INRGB_RGB	   		(0 << 13)
+#define S3C_WINCON_INRGB_YUV	 		(1 << 13)
+#define S3C_WINCON_INRGB_MASK			(1 << 13)
+#define S3C_WINCON_BURSTLEN_16WORD		(0 << 9)
+#define S3C_WINCON_BURSTLEN_8WORD		(1 << 9)
+#define S3C_WINCON_BURSTLEN_4WORD		(2 << 9)
+#define S3C_WINCON_ALPHA_MULTI_DISABLE		(0 << 7)
+#define S3C_WINCON_ALPHA_MULTI_ENABLE		(1 << 7)
+#define S3C_WINCON_BLD_PLANE			(0 << 6)
+#define S3C_WINCON_BLD_PIXEL			(1 << 6)
+#define S3C_WINCON_BLD_MASK			(1 << 6)
+#define S3C_WINCON_BPPMODE_1BPP			(0 << 2)
+#define S3C_WINCON_BPPMODE_2BPP			(1 << 2)
+#define S3C_WINCON_BPPMODE_4BPP			(2 << 2)
+#define S3C_WINCON_BPPMODE_8BPP_PAL		(3 << 2)
+#define S3C_WINCON_BPPMODE_8BPP			(4 << 2)
+#define S3C_WINCON_BPPMODE_16BPP_565		(5 << 2)
+#define S3C_WINCON_BPPMODE_16BPP_A555		(6 << 2)
+#define S3C_WINCON_BPPMODE_18BPP_666		(8 << 2)
+#define S3C_WINCON_BPPMODE_18BPP_A665		(9 << 2)
+#define S3C_WINCON_BPPMODE_24BPP_888		(0xb << 2)
+#define S3C_WINCON_BPPMODE_24BPP_A887		(0xc << 2)
+#define S3C_WINCON_BPPMODE_32BPP		(0xd << 2)
+#define S3C_WINCON_BPPMODE_28BPP_A888		(0xd << 2)
+#define S3C_WINCON_BPPMODE_16BPP_A444		(0xe << 2)
+#define S3C_WINCON_BPPMODE_15BPP_555		(0xf << 2)
+#define S3C_WINCON_BPPMODE_MASK			(0xf << 2)
+#define S3C_WINCON_ALPHA0_SEL			(0 << 1)
+#define S3C_WINCON_ALPHA1_SEL			(1 << 1)
+#define S3C_WINCON_ALPHA_SEL_MASK		(1 << 1)
+#define S3C_WINCON_ENWIN_DISABLE 		(0 << 0)
+#define S3C_WINCON_ENWIN_ENABLE			(1 << 0)
+
+/* WINCON1 special */
+#define S3C_WINCON1_VP_DISABLE			(0 << 24)
+#define S3C_WINCON1_VP_ENABLE			(1 << 24)
+#define S3C_WINCON1_LOCALSEL_FIMC1		(0 << 23)
+#define S3C_WINCON1_LOCALSEL_VP			(1 << 23)
+#define S3C_WINCON1_LOCALSEL_MASK		(1 << 23)
+
+/* VIDOSDxA, VIDOSDxB */
+#define S3C_VIDOSD_LEFT_X(x)			(((x) & 0x7ff) << 11)
+#define S3C_VIDOSD_TOP_Y(x)			(((x) & 0x7ff) << 0)
+#define S3C_VIDOSD_RIGHT_X(x)			(((x) & 0x7ff) << 11)
+#define S3C_VIDOSD_BOTTOM_Y(x)			(((x) & 0x7ff) << 0)
+
+/* VIDOSD0C, VIDOSDxD */
+#define S3C_VIDOSD_SIZE(x)			(((x) & 0xffffff) << 0)
+
+/* VIDOSDxC (1~4) */
+#define S3C_VIDOSD_ALPHA0_R(x)			(((x) & 0xf) << 20)
+#define S3C_VIDOSD_ALPHA0_G(x)			(((x) & 0xf) << 16)
+#define S3C_VIDOSD_ALPHA0_B(x)			(((x) & 0xf) << 12)
+#define S3C_VIDOSD_ALPHA1_R(x)			(((x) & 0xf) << 8)
+#define S3C_VIDOSD_ALPHA1_G(x)			(((x) & 0xf) << 4)
+#define S3C_VIDOSD_ALPHA1_B(x)			(((x) & 0xf) << 0)
+
+/* Start Address */
+#define S3C_ADDR_START_VBANK(x) 		(((x) & 0xff) << 24)
+#define S3C_ADDR_START_VBASEU(x)		(((x) & 0xffffff) << 0)
+
+/* End Address */
+#define S3C_ADDR_END_VBASEL(x) 			(((x) & 0xffffff) << 0)
+
+/* Buffer Size */
+#define S3C_ADDR_OFFSIZE(x)  			(((x) & 0x1fff) << 13)
+#define S3C_ADDR_PAGEWIDTH(x)			(((x) & 0x1fff) << 0)
+
+/* VIDINTCON0 */
+#define S3C_VIDINTCON0_SYSMAINCON_DISABLE	(0 << 19)
+#define S3C_VIDINTCON0_SYSMAINCON_ENABLE	(1 << 19)
+#define S3C_VIDINTCON0_SYSSUBCON_DISABLE	(0 << 18)
+#define S3C_VIDINTCON0_SYSSUBCON_ENABLE		(1 << 18)
+#define S3C_VIDINTCON0_SYSIFDONE_DISABLE	(0 << 17)
+#define S3C_VIDINTCON0_SYSIFDONE_ENABLE		(1 << 17)
+#define S3C_VIDINTCON0_FRAMESEL0_BACK		(0 << 15)
+#define S3C_VIDINTCON0_FRAMESEL0_VSYNC 		(1 << 15)
+#define S3C_VIDINTCON0_FRAMESEL0_ACTIVE		(2 << 15)
+#define S3C_VIDINTCON0_FRAMESEL0_FRONT 		(3 << 15)
+#define S3C_VIDINTCON0_FRAMESEL0_MASK 		(3 << 15)
+#define S3C_VIDINTCON0_FRAMESEL1_NONE		(0 << 13)
+#define S3C_VIDINTCON0_FRAMESEL1_BACK		(1 << 13)
+#define S3C_VIDINTCON0_FRAMESEL1_VSYNC 		(2 << 13)
+#define S3C_VIDINTCON0_FRAMESEL1_FRONT 		(3 << 13)
+#define S3C_VIDINTCON0_INTFRMEN_DISABLE		(0 << 12)
+#define S3C_VIDINTCON0_INTFRMEN_ENABLE 		(1 << 12)
+#define S3C_VIDINTCON0_FIFOSEL_WIN4		(1 << 11)
+#define S3C_VIDINTCON0_FIFOSEL_WIN3		(1 << 10)
+#define S3C_VIDINTCON0_FIFOSEL_WIN2		(1 << 9)
+#define S3C_VIDINTCON0_FIFOSEL_WIN1		(1 << 6)
+#define S3C_VIDINTCON0_FIFOSEL_WIN0		(1 << 5)
+#define S3C_VIDINTCON0_FIFOSEL_ALL		(0x73 << 5)
+#define S3C_VIDINTCON0_FIFOLEVEL_25		(0 << 2)
+#define S3C_VIDINTCON0_FIFOLEVEL_50		(1 << 2)
+#define S3C_VIDINTCON0_FIFOLEVEL_75		(2 << 2)
+#define S3C_VIDINTCON0_FIFOLEVEL_EMPTY 		(3 << 2)
+#define S3C_VIDINTCON0_FIFOLEVEL_FULL		(4 << 2)
+#define S3C_VIDINTCON0_INTFIFO_DISABLE		(0 << 1)
+#define S3C_VIDINTCON0_INTFIFO_ENABLE		(1 << 1)
+#define S3C_VIDINTCON0_INT_DISABLE		(0 << 0)
+#define S3C_VIDINTCON0_INT_ENABLE		(1 << 0)
+#define S3C_VIDINTCON0_INT_MASK			(1 << 0)
+
+/* VIDINTCON1 */
+#define S3C_VIDINTCON1_INTI80PEND		(0 << 2)
+#define S3C_VIDINTCON1_INTFRMPEND		(1 << 1)
+#define S3C_VIDINTCON1_INTFIFOPEND		(1 << 0)
+
+/* WxKEYCON0 (1~4) */
+#define S3C_KEYCON0_KEYBLEN_DISABLE 		(0 << 26)
+#define S3C_KEYCON0_KEYBLEN_ENABLE		(1 << 26)
+#define S3C_KEYCON0_KEY_DISABLE 		(0 << 25)
+#define S3C_KEYCON0_KEY_ENABLE			(1 << 25)
+#define S3C_KEYCON0_DIRCON_MATCH_FG		(0 << 24)
+#define S3C_KEYCON0_DIRCON_MATCH_BG		(1 << 24)
+#define S3C_KEYCON0_COMPKEY(x)			(((x) & 0xffffff) << 0)
+
+/* WxKEYCON1 (1~4) */
+#define S3C_KEYCON1_COLVAL(x)			(((x) & 0xffffff) << 0)
+
+#endif /* _REGS_FIMD_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-gpio.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-gpio.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-gpio.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-gpio.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,56 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/regs-gpio.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5PC1XX - GPIO register definitions
+ */
+
+#ifndef __ASM_PLAT_S5PC1XX_REGS_GPIO_H
+#define __ASM_PLAT_S5PC1XX_REGS_GPIO_H __FILE__
+
+/* Base addresses for each of the banks */
+
+#define S5PC1XX_GPA0_BASE	(S5PC1XX_VA_GPIO + 0x0000)
+#define S5PC1XX_GPA1_BASE	(S5PC1XX_VA_GPIO + 0x0020)
+#define S5PC1XX_GPB_BASE	(S5PC1XX_VA_GPIO + 0x0040)
+#define S5PC1XX_GPC_BASE	(S5PC1XX_VA_GPIO + 0x0060)
+#define S5PC1XX_GPD_BASE	(S5PC1XX_VA_GPIO + 0x0080)
+#define S5PC1XX_GPE0_BASE	(S5PC1XX_VA_GPIO + 0x00A0)
+#define S5PC1XX_GPE1_BASE	(S5PC1XX_VA_GPIO + 0x00C0)
+#define S5PC1XX_GPF0_BASE	(S5PC1XX_VA_GPIO + 0x00E0)
+#define S5PC1XX_GPF1_BASE	(S5PC1XX_VA_GPIO + 0x0100)
+#define S5PC1XX_GPF2_BASE	(S5PC1XX_VA_GPIO + 0x0120)
+#define S5PC1XX_GPF3_BASE	(S5PC1XX_VA_GPIO + 0x0140)
+#define S5PC1XX_GPG0_BASE	(S5PC1XX_VA_GPIO + 0x0160)
+#define S5PC1XX_GPG1_BASE	(S5PC1XX_VA_GPIO + 0x0180)
+#define S5PC1XX_GPG2_BASE	(S5PC1XX_VA_GPIO + 0x01A0)
+#define S5PC1XX_GPG3_BASE	(S5PC1XX_VA_GPIO + 0x01C0)
+#define S5PC1XX_GPH0_BASE	(S5PC1XX_VA_GPIO + 0x0C00)
+#define S5PC1XX_GPH1_BASE	(S5PC1XX_VA_GPIO + 0x0C20)
+#define S5PC1XX_GPH2_BASE	(S5PC1XX_VA_GPIO + 0x0C40)
+#define S5PC1XX_GPH3_BASE	(S5PC1XX_VA_GPIO + 0x0C60)
+#define S5PC1XX_GPI_BASE	(S5PC1XX_VA_GPIO + 0x01E0)
+#define S5PC1XX_GPJ0_BASE	(S5PC1XX_VA_GPIO + 0x0200)
+#define S5PC1XX_GPJ1_BASE	(S5PC1XX_VA_GPIO + 0x0220)
+#define S5PC1XX_GPJ2_BASE	(S5PC1XX_VA_GPIO + 0x0240)
+#define S5PC1XX_GPJ3_BASE	(S5PC1XX_VA_GPIO + 0x0260)
+#define S5PC1XX_GPJ4_BASE	(S5PC1XX_VA_GPIO + 0x0280)
+#define S5PC1XX_GPK0_BASE	(S5PC1XX_VA_GPIO + 0x02A0)
+#define S5PC1XX_GPK1_BASE	(S5PC1XX_VA_GPIO + 0x02C0)
+#define S5PC1XX_GPK2_BASE	(S5PC1XX_VA_GPIO + 0x02E0)
+#define S5PC1XX_GPK3_BASE	(S5PC1XX_VA_GPIO + 0x0300)
+#define S5PC1XX_MP00_BASE	(S5PC1XX_VA_GPIO + 0x0320)
+#define S5PC1XX_MP01_BASE	(S5PC1XX_VA_GPIO + 0x0340)
+#define S5PC1XX_MP02_BASE	(S5PC1XX_VA_GPIO + 0x0360)
+#define S5PC1XX_MP03_BASE	(S5PC1XX_VA_GPIO + 0x0380)
+#define S5PC1XX_MP04_BASE	(S5PC1XX_VA_GPIO + 0x03A0)
+
+
+#define S5PC1XX_UHOST	(S5PC1XX_VA_GPIO + 0x0B68)
+#define S5PC1XX_PDNEN	(S5PC1XX_VA_GPIO + 0x0F80)
+
+#endif /* __ASM_PLAT_S5PC1XX_REGS_GPIO_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-mfc.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-mfc.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-mfc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-mfc.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,167 @@
+/* linux/arch/arm/plat-s5pc1xx/include/plat/regs-fimv.h
+ *
+ * Register definition file for Samsung MFC V4.0 Interface (FIMV) driver
+ *
+ * PyoungJae Jung, JiUn Yu, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _REGS_FIMV_H
+#define _REGS_FIMV_H
+
+#define S3C_FIMV_REG_SIZE		(S3C_FIMV_END_ADDR - S3C_FIMV_START_ADDR)
+#define S3C_FIMV_REG_COUNT		((S3C_FIMV_END_ADDR - S3C_FIMV_START_ADDR) / 4)
+
+#define S3C_FIMVREG(x)			(x)
+
+#define S3C_FIMV_START_ADDR		S3C_FIMVREG(0x000)
+#define S3C_FIMV_END_ADDR		S3C_FIMVREG(0xd0c)
+
+#define S3C_FIMV_DMA_START		S3C_FIMVREG(0x000)
+#define S3C_FIMV_RESERVE1		/* 0x004 */
+#define S3C_FIMV_DMA_INTERNAL_ADDR	S3C_FIMVREG(0x008)
+#define S3C_FIMV_BOOTCODE_SIZE 		S3C_FIMVREG(0x00c)
+#define S3C_FIMV_RESERVE2		/* 0x010 */
+#define S3C_FIMV_DMA_EXTADDR		S3C_FIMVREG(0x014)
+#define S3C_FIMV_EXT_BUF_START_ADDR	S3C_FIMVREG(0x018) /* StreamBuf0 START */
+#define S3C_FIMV_EXT_BUF_END_ADDR	S3C_FIMVREG(0x01c) /* StreamBuf0 END  */
+#define S3C_FIMV_DMA_INTADDR		S3C_FIMVREG(0x020)
+#define S3C_FIMV_HOST_PTR		S3C_FIMVREG(0x024)
+#define S3C_FIMV_LAST_DEC		S3C_FIMVREG(0x028)	
+#define S3C_FIMV_DONE_M			S3C_FIMVREG(0x02c)
+#define S3C_FIMV_RESERVE3		/* 0x030 */
+#define	S3C_FIMV_CODEC_PTR		S3C_FIMVREG(0x034)
+#define S3C_FIMV_ENC_ENDADDR		S3C_FIMVREG(0x038)
+#define S3C_FIMV_RESERVE4		/* 0x03c - 0x40 */
+#define S3C_FIMV_BITS_ENDIAN		S3C_FIMVREG(0x044)
+#define S3C_FIMV_RESERVE5		/* [(0x054 -0x044)/4 - 1 ] */
+
+#define S3C_FIMV_DEC_UNIT_SIZE		S3C_FIMVREG(0x054)
+#define S3C_FIMV_ENC_UNIT_SIZE		S3C_FIMVREG(0x058)
+#define S3C_FIMV_START_BYTE_NUM		S3C_FIMVREG(0x05c)
+#define S3C_FIMV_ENC_HEADER_SIZE	S3C_FIMVREG(0x060)
+#define S3C_FIMV_RESERVE6		/* [(0x100 -0x060)/4 -1 ] */
+
+/* Commn */
+#define S3C_FIMV_STANDARD_SEL		S3C_FIMVREG(0x100)
+#define S3C_FIMV_CH_ID			S3C_FIMVREG(0x104)
+#define S3C_FIMV_CPU_RESET		S3C_FIMVREG(0x108)
+#define S3C_FIMV_FW_END			S3C_FIMVREG(0x10c)
+#define S3C_FIMV_BUS_MASTER		S3C_FIMVREG(0x110)
+#define S3C_FIMV_FRAME_START		S3C_FIMVREG(0x114)
+#define S3C_FIMV_IMG_SIZE_X		S3C_FIMVREG(0x118)
+#define S3C_FIMV_IMG_SIZE_Y		S3C_FIMVREG(0x11c)
+#define S3C_FIMV_RESERVE7		/* 0x120 */
+#define S3C_FIMV_POST_ON		S3C_FIMVREG(0x124)
+#define S3C_FIMV_FRAME_RATE		S3C_FIMVREG(0x128)
+#define S3C_FIMV_SEQ_START		S3C_FIMVREG(0x12c)
+#define S3C_FIMV_SW_RESET		S3C_FIMVREG(0x130)
+#define S3C_FIMV_FW_START		S3C_FIMVREG(0x134)
+#define S3C_FIMV_ARM_ENDIAN		S3C_FIMVREG(0x138)
+#define S3C_FIMV_RESERVE8		/* [(0x200-0x138)/4-1] */
+
+/* Firmare loading */
+#define S3C_FIMV_FW_STT_ADR_0		S3C_FIMVREG(0x200) /* MPEG4 encoder */
+#define S3C_FIMV_FW_STT_ADR_1		S3C_FIMVREG(0x204) /* MPEG4 decoder */
+#define S3C_FIMV_FW_STT_ADR_2		S3C_FIMVREG(0x208) /* H.264 encoder */
+#define S3C_FIMV_FW_STT_ADR_3		S3C_FIMVREG(0x20c) /* H.264 decoder */
+#define S3C_FIMV_FW_STT_ADR_4		S3C_FIMVREG(0x210) /* VC-1 decoder */
+#define S3C_FIMV_FW_STT_ADR_5		S3C_FIMVREG(0x214) /* MPEG2 decoder */
+#define S3C_FIMV_FW_STT_ADR_6		S3C_FIMVREG(0x218) /* H.263 decoder */
+#define S3C_FIMV_RESERVE9		/* [(0x230-0x218)/4-1] */
+#define S3C_FIMV_VSP_BUF_ADDR		S3C_FIMVREG(0x230)
+#define S3C_FIMV_DB_STT_ADDR		S3C_FIMVREG(0x234) 
+#define S3C_FIMV_RESERVE10		/* [(0x300-0x234)/4-1] */
+
+/* Initencoder */
+#define S3C_FIMV_PROFILE		S3C_FIMVREG(0x300)
+#define S3C_FIMV_IDR_PERIOD		S3C_FIMVREG(0x304)
+#define S3C_FIMV_I_PERIOD		S3C_FIMVREG(0x308)
+#define S3C_FIMV_FRAME_QP_INIT		S3C_FIMVREG(0x30c)
+#define S3C_FIMV_ENTROPY_CON		S3C_FIMVREG(0x310)
+#define S3C_FIMV_DEBLOCK_FILTER_OPTION	S3C_FIMVREG(0x314)
+#define S3C_FIMV_SHORT_HD_ON		S3C_FIMVREG(0x318)
+#define S3C_FIMV_MSLICE_ENA		S3C_FIMVREG(0x31c)	
+#define S3C_FIMV_MSLICE_SEL		S3C_FIMVREG(0x320)
+#define S3C_FIMV_MSLICE_MB		S3C_FIMVREG(0x324)
+#define S3C_FIMV_MSLICE_BYTE		S3C_FIMVREG(0x328)	
+#define S3C_FIMV_RESERVE11		/* [(0x400-0x328)/4-1] */
+
+/* Initdecoder */
+#define S3C_FIMV_DISPLAY_Y_ADR		S3C_FIMVREG(0x400)
+#define S3C_FIMV_DISPLAY_C_ADR		S3C_FIMVREG(0x404)
+#define S3C_FIMV_DISPLAY_STATUS		S3C_FIMVREG(0x408)
+#define S3C_FIMV_HEADER_DONE		S3C_FIMVREG(0x40c)
+#define S3C_FIMV_FRAME_NUM		S3C_FIMVREG(0x410)
+#define S3C_FIMV_RESERVE12		/* [(0x500-0x410)/4-1] */
+
+/* Commn Interrupt */
+#define S3C_FIMV_INT_OFF		S3C_FIMVREG(0x500)
+#define S3C_FIMV_INT_MODE		S3C_FIMVREG(0x504)
+#define S3C_FIMV_INT_DONE_CLEAR		S3C_FIMVREG(0x508)
+#define S3C_FIMV_OPERATION_DONE		S3C_FIMVREG(0x50c)
+#define S3C_FIMV_FW_DONE		S3C_FIMVREG(0x510)
+#define S3C_FIMV_INT_STATUS		S3C_FIMVREG(0x514)
+#define S3C_FIMV_INT_MASK		S3C_FIMVREG(0x518)
+#define S3C_FIMV_RESERVE13		/* [(0x600-0x518)/4-1] */
+
+/* Mem onfig */
+#define S3C_FIMV_TILE_MODE		S3C_FIMVREG(0x600)
+#define S3C_FIMV_RESERVE14		/* [(0x700-0x600)/4-1] */
+
+/* DEBU (will be removed) */
+#define S3C_FIMV_ENC_STATUS_RDY		S3C_FIMVREG(0x700)
+#define S3C_FIMV_DEC_STATUS_RDY		S3C_FIMVREG(0x704)
+#define S3C_FIMV_RESERVE15		/* [(0x800-0x704)/4-1] */
+
+/* Run ncoder */
+#define S3C_FIMV_ENC_CUR_Y_ADR		S3C_FIMVREG(0x800)
+#define S3C_FIMV_ENC_CUR_CBCR_ADR	S3C_FIMVREG(0x804)
+#define S3C_FIMV_RESERVE16		/* 0x808 */
+#define S3C_FIMV_ENC_DPB_ADR		S3C_FIMVREG(0x80c)
+#define S3C_FIMV_CIR_MB_NUM		S3C_FIMVREG(0x810)
+#define S3C_FIMV_RESERVE17		/* [(0x900-0x810)/4-1] */
+
+/* Run ecoder */
+#define S3C_FIMV_DEC_DPB_ADR		S3C_FIMVREG(0x900)
+#define S3C_FIMV_DPB_COMV_ADR		S3C_FIMVREG(0x904)
+#define S3C_FIMV_POST_ADR		S3C_FIMVREG(0x908)
+#define S3C_FIMV_DPB_SIZE		S3C_FIMVREG(0x90c)
+#define S3C_FIMV_RESERVE18		/* [(0xA00-0x90C)/4-1] */
+
+/* Rat Control */
+#define S3C_FIMV_RC_CONFIG		S3C_FIMVREG(0xa00)
+#define S3C_FIMV_RC_FRAME_RATE		S3C_FIMVREG(0xa04)
+#define S3C_FIMV_RC_BIT_RATE		S3C_FIMVREG(0xa08)
+#define S3C_FIMV_RC_QBOUND		S3C_FIMVREG(0xa0c)
+#define S3C_FIMV_RC_RPARA		S3C_FIMVREG(0xa10)
+#define S3C_FIMV_RC_MB_CTRL		S3C_FIMVREG(0xa14)
+#define S3C_FIMV_RC_QOUT		S3C_FIMVREG(0xa18)
+#define S3C_FIMV_RC_FQCTRL		S3C_FIMVREG(0xa1c)
+#define S3C_FIMV_RC_VBFULL		S3C_FIMVREG(0xa20)
+#define S3C_FIMV_RC_RSEQ		S3C_FIMVREG(0xa24)
+#define S3C_FIMV_RC_ACT_CONTROL		S3C_FIMVREG(0xa28)
+#define S3C_FIMV_RC_ACT_SCALE		S3C_FIMVREG(0xa2C)
+#define S3C_FIMV_RC_ACT_LIMIT		S3C_FIMVREG(0xa30)
+#define S3C_FIMV_RC_ACT_SUM		S3C_FIMVREG(0xa34)
+#define S3C_FIMV_RC_ACT_STATIC		S3C_FIMVREG(0xa38)
+#define S3C_FIMV_RC_FLAT		S3C_FIMVREG(0xa3c)
+#define S3C_FIMV_RC_FLAT_LIMIT		S3C_FIMVREG(0xa40)
+#define S3C_FIMV_RC_DARK		S3C_FIMVREG(0xa44)
+#define S3C_FIMV_RESERVE19		/* [(0xC00-0xA44)/4-1] */
+
+#define S3C_FIMV_CROP_INFO1		S3C_FIMVREG(0xc00) /* Left[15:0]Right[31:16] OFFSET */
+#define S3C_FIMV_CROP_INFO2		S3C_FIMVREG(0xc04) /* Top[15:0]Bottom[31:16] OFFSET */
+#define S3C_FIMV_RET_VALUE		S3C_FIMVREG(0xc08) /* decoding size for decoder, frame vop type for encoder */
+#define S3C_FIMV_FRAME_TYPE		S3C_FIMVREG(0xc0C)
+#define S3C_FIMV_RESERVE20		/* [(0xD00-0xC0C)/4-1] */
+
+#define S3C_FIMV_COMMAND_TYPE		S3C_FIMVREG(0xd00)
+#define S3C_FIMV_NUM_EXTRA_BUF		S3C_FIMVREG(0xd04)
+#define S3C_FIMV_CODEC_COMMAND		S3C_FIMVREG(0xd08)
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-power.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-power.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-power.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-power.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,53 @@
+/* arch/arm/plat-s5pc1xx/include/plat/regs-power.h
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S5PC1XX power control register definitions
+*/
+
+#ifndef __ASM_ARM_REGS_PWR
+#define __ASM_ARM_REGS_PWR __FILE__
+
+/* register for EINT on PM Driver */
+#define S5P_APM_GPIO		(S5PC1XX_PA_GPIO + 0xC00)
+#define S5P_APM_REG(x)		((x) + S5P_APM_GPIO)
+
+#define S5P_APM_BASE	 	S5P_APM_REG(0x000)
+#define S5P_APM_GPH1CON 	(0x020)
+#define S5P_APM_GPH1DAT 	(0x024)
+#define S5P_APM_GPH1PUD 	(0x028)
+#define S5P_APM_GPH1DRV 	(0x02C)
+#define S5P_APM_GPH2CON 	(0x040)
+#define S5P_APM_GPH2DAT 	(0x044)
+#define S5P_APM_GPH2PUD 	(0x048)
+#define S5P_APM_GPH2DRV 	(0x04C)
+#define S5P_APM_GPH3CON 	(0x060)
+#define S5P_APM_GPH3DAT 	(0x064)
+#define S5P_APM_GPH3PUD 	(0x068)
+#define S5P_APM_GPH3DRV 	(0x06C)
+#define S5P_APM_WEINT0_CON 	(0x200)
+#define S5P_APM_WEINT1_CON 	(0x204)
+#define S5P_APM_WEINT2_CON 	(0x208)
+#define S5P_APM_WEINT3_CON 	(0x20C)
+#define S5P_APM_WEINT0_FLTCON0 	(0x280)
+#define S5P_APM_WEINT0_FLTCON1 	(0x284)
+#define S5P_APM_WEINT1_FLTCON0 	(0x288)
+#define S5P_APM_WEINT1_FLTCON1 	(0x28C)
+#define S5P_APM_WEINT2_FLTCON0 	(0x290)
+#define S5P_APM_WEINT2_FLTCON1 	(0x294)
+#define S5P_APM_WEINT3_FLTCON0 	(0x298)
+#define S5P_APM_WEINT3_FLTCON1 	(0x29C)
+#define S5P_APM_WEINT0_MASK 	(0x300)
+#define S5P_APM_WEINT1_MASK 	(0x304)
+#define S5P_APM_WEINT2_MASK 	(0x308)
+#define S5P_APM_WEINT3_MASK 	(0x30C)
+#define S5P_APM_WEINT0_PEND 	(0x340)
+#define S5P_APM_WEINT1_PEND 	(0x344)
+#define S5P_APM_WEINT2_PEND 	(0x348)
+#define S5P_APM_WEINT3_PEND 	(0x34C)
+
+#endif /* __ASM_ARM_REGS_PWR */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-sys-timer.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-sys-timer.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/regs-sys-timer.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/regs-sys-timer.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,61 @@
+/* arch/arm/plat-s5pc1xx/include/plat/regs-sys-timer.h
+ *
+ * Copyright (c) 2008 Samsung Electronics
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * S5PC1XX System Timer configuration
+*/
+
+#ifndef __ASM_ARCH_REGS_SYS_TIMER_H
+#define __ASM_ARCH_REGS_SYS_TIMER_H
+
+#define S3C_SYSTIMERREG(x)		(S3C_VA_SYSTIMER + (x))
+
+#define S3C_SYSTIMER_TCFG		S3C_SYSTIMERREG(0x00)
+#define S3C_SYSTIMER_TCON		S3C_SYSTIMERREG(0x04)
+#define S3C_SYSTIMER_TCNTB		S3C_SYSTIMERREG(0x08)
+#define S3C_SYSTIMER_TCNTO		S3C_SYSTIMERREG(0x0c)
+#define S3C_SYSTIMER_ICNTB		S3C_SYSTIMERREG(0x10)
+#define S3C_SYSTIMER_ICNTO		S3C_SYSTIMERREG(0x14)
+#define S3C_SYSTIMER_INT_CSTAT		S3C_SYSTIMERREG(0x18)
+
+/* Value for TCFG */
+#define S3C_SYSTIMER_TCLK_MASK		(3<<12)
+#define S3C_SYSTIMER_TCLK_XXTI		(0<<12)
+#define S3C_SYSTIMER_TCLK_RTC		(1<<12)
+#define S3C_SYSTIMER_TCLK_USB		(2<<12)
+#define S3C_SYSTIMER_TCLK_PCLK		(3<<12)
+
+#define S3C_SYSTIMER_DIV_MASK		(7<<8)
+#define S3C_SYSTIMER_DIV_1		(0<<8)
+#define S3C_SYSTIMER_DIV_2		(1<<8)
+#define S3C_SYSTIMER_DIV_4		(2<<8)
+#define S3C_SYSTIMER_DIV_8		(3<<8)
+#define S3C_SYSTIMER_DIV_16		(4<<8)
+
+#define S3C_SYSTIMER_INT_IWIE		(1<<7)
+#define S3C_SYSTIMER_INT_TWIE		(1<<6)
+
+#define S3C_SYSTIMER_TARGET_HZ		1000
+#define S3C_SYSTIMER_PRESCALER		5
+#define S3C_SYSTIMER_PRESCALER_MASK	(0x3f<<0)
+
+/* value for TCON */
+#define S3C_SYSTIMER_INT_AUTO		(1<<5)
+#define S3C_SYSTIMER_INT_IMM		(1<<4)
+#define S3C_SYSTIMER_INT_START		(1<<3)
+#define S3C_SYSTIMER_AUTO_RELOAD	(1<<2)
+#define S3C_SYSTIMER_IMM_UPDATE		(1<<1)
+#define S3C_SYTIMERS_START		(1<<0)
+
+/* Value for INT_CSTAT */
+#define S3C_SYSTIMER_INT_TCON		(1<<4)
+#define S3C_SYSTIMER_INT_ICNTB		(1<<3)
+#define S3C_SYSTIMER_INT_TCNTB		(1<<2)
+#define S3C_SYSTIMER_INT_STATS		(1<<1)
+#define S3C_SYSTIMER_INT_ICNTEIE	(1<<0)
+
+#endif /*  __ASM_ARCH_REGS_TIMER_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/s5pc100.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/s5pc100.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/include/plat/s5pc100.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/include/plat/s5pc100.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,27 @@
+/* arch/arm/plat-s5pc1xx/include/plat/s5pc100.h
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Header file for s5pc100 cpu support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/* Common init code for S5PC100 related SoCs */
+
+extern void s5pc100_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
+extern void s5pc100_register_clocks(void);
+extern void s5pc100_setup_clocks(void);
+
+extern  int s5pc100_init(void);
+extern void s5pc100_init_irq(void);
+extern void s5pc100_map_io(void);
+extern void s5pc100_init_clocks(int xtal);
+
+#define s5pc100_init_uarts s5pc100_common_init_uarts
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/irq-eint.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/irq-eint.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/irq-eint.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/irq-eint.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,269 @@
+/* arch/arm/plat-s5pc1xx/irq-eint.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5PC1XX - Interrupt handling for IRQ_EINT(x)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/io.h>
+
+#include <asm/hardware/vic.h>
+
+#include <plat/regs-irqtype.h>
+
+#include <mach/map.h>
+#include <plat/cpu.h>
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-h0.h>
+#include <plat/gpio-bank-h1.h>
+#include <plat/gpio-bank-h2.h>
+#include <plat/gpio-bank-h3.h>
+
+#define S5PC1XX_GPIOREG(x)		(S5PC1XX_VA_GPIO + (x))
+
+#define S5PC1XX_EINT0CON		S5PC1XX_GPIOREG(0xE00)		/* EINT0  ~ EINT7  */
+#define S5PC1XX_EINT1CON		S5PC1XX_GPIOREG(0xE04)		/* EINT8  ~ EINT15 */
+#define S5PC1XX_EINT2CON		S5PC1XX_GPIOREG(0xE08)		/* EINT16 ~ EINT23 */
+#define S5PC1XX_EINT3CON		S5PC1XX_GPIOREG(0xE0C)		/* EINT24 ~ EINT31 */
+#define S5PC1XX_EINTCON(x)		(S5PC1XX_EINT0CON+x*0x4)	/* EINT0  ~ EINT31  */
+
+#define S5PC1XX_EINT0FLTCON0		S5PC1XX_GPIOREG(0xE80)		/* EINT0  ~ EINT3  */
+#define S5PC1XX_EINT0FLTCON1		S5PC1XX_GPIOREG(0xE84)
+#define S5PC1XX_EINT1FLTCON0		S5PC1XX_GPIOREG(0xE88)		/* EINT8 ~  EINT11 */
+#define S5PC1XX_EINT1FLTCON1		S5PC1XX_GPIOREG(0xE8C)
+#define S5PC1XX_EINT2FLTCON0		S5PC1XX_GPIOREG(0xE90)
+#define S5PC1XX_EINT2FLTCON1		S5PC1XX_GPIOREG(0xE94)
+#define S5PC1XX_EINT3FLTCON0		S5PC1XX_GPIOREG(0xE98)
+#define S5PC1XX_EINT3FLTCON1		S5PC1XX_GPIOREG(0xE9C)
+#define S5PC1XX_EINTFLTCON(x)		(S5PC1XX_EINT0FLTCON0+x*0x4)	/* EINT0  ~ EINT31 */
+
+#define S5PC1XX_EINT0MASK		S5PC1XX_GPIOREG(0xF00)		/* EINT0 ~  EINT7  */
+#define S5PC1XX_EINT1MASK		S5PC1XX_GPIOREG(0xF04)		/* EINT8 ~  EINT15 */
+#define S5PC1XX_EINT2MASK		S5PC1XX_GPIOREG(0xF08)		/* EINT16 ~ EINT23 */
+#define S5PC1XX_EINT3MASK		S5PC1XX_GPIOREG(0xF0C)		/* EINT24 ~ EINT31 */
+#define S5PC1XX_EINTMASK(x)		(S5PC1XX_EINT0MASK+x*0x4)	/* EINT0 ~  EINT31  */
+
+#define S5PC1XX_EINT0PEND		S5PC1XX_GPIOREG(0xF40)		/* EINT0 ~  EINT7  */
+#define S5PC1XX_EINT1PEND		S5PC1XX_GPIOREG(0xF44)		/* EINT8 ~  EINT15 */
+#define S5PC1XX_EINT2PEND		S5PC1XX_GPIOREG(0xF48)		/* EINT16 ~ EINT23 */
+#define S5PC1XX_EINT3PEND		S5PC1XX_GPIOREG(0xF4C)		/* EINT24 ~ EINT31 */
+#define S5PC1XX_EINTPEND(x)		(S5PC1XX_EINT0PEND+x*04)	/* EINT0 ~  EINT31  */
+
+#define eint_offset(irq)		((irq) < IRQ_EINT16_31 ? ((irq)-IRQ_EINT0) :  \
+					((irq-S3C_IRQ_EINT_BASE)+IRQ_EINT16_31-IRQ_EINT0))
+					
+#define eint_irq_to_bit(irq)		(1 << (eint_offset(irq) & 0x7))
+
+#define eint_conf_reg(irq)		((eint_offset(irq)) >> 3)
+#define eint_filt_reg(irq)		((eint_offset(irq)) >> 2)
+#define eint_mask_reg(irq)		((eint_offset(irq)) >> 3)
+#define eint_pend_reg(irq)		((eint_offset(irq)) >> 3)
+
+static inline void s3c_irq_eint_mask(unsigned int irq)
+{
+	u32 mask;
+
+	mask = __raw_readl(S5PC1XX_EINTMASK(eint_mask_reg(irq)));
+	mask |= eint_irq_to_bit(irq);
+	__raw_writel(mask, S5PC1XX_EINTMASK(eint_mask_reg(irq)));
+}
+
+static void s3c_irq_eint_unmask(unsigned int irq)
+{
+	u32 mask;
+
+	mask = __raw_readl(S5PC1XX_EINTMASK(eint_mask_reg(irq)));
+	mask &= ~(eint_irq_to_bit(irq));
+	__raw_writel(mask, S5PC1XX_EINTMASK(eint_mask_reg(irq)));
+}
+
+static inline void s3c_irq_eint_ack(unsigned int irq)
+{
+	__raw_writel(eint_irq_to_bit(irq), S5PC1XX_EINTPEND(eint_pend_reg(irq)));
+}
+
+static void s3c_irq_eint_maskack(unsigned int irq)
+{
+	/* compiler should in-line these */
+	s3c_irq_eint_mask(irq);
+	s3c_irq_eint_ack(irq);
+}
+
+static int s3c_irq_eint_set_type(unsigned int irq, unsigned int type)
+{
+	int offs = eint_offset(irq);
+	int shift;
+	u32 ctrl, mask;
+	u32 newvalue = 0;
+
+	switch (type) {
+	case IRQ_TYPE_NONE:
+		printk(KERN_WARNING "No edge setting!\n");
+		break;
+
+	case IRQ_TYPE_EDGE_RISING:
+		newvalue = S3C2410_EXTINT_RISEEDGE;
+		break;
+
+	case IRQ_TYPE_EDGE_FALLING:
+		newvalue = S3C2410_EXTINT_FALLEDGE;
+		break;
+
+	case IRQ_TYPE_EDGE_BOTH:
+		newvalue = S3C2410_EXTINT_BOTHEDGE;
+		break;
+
+	case IRQ_TYPE_LEVEL_LOW:
+		newvalue = S3C2410_EXTINT_LOWLEV;
+		break;
+
+	case IRQ_TYPE_LEVEL_HIGH:
+		newvalue = S3C2410_EXTINT_HILEV;
+		break;
+
+	default:
+		printk(KERN_ERR "No such irq type %d", type);
+		return -1;
+	}
+
+	shift = (offs & 0x7) * 4;
+	mask = 0x7 << shift;
+
+	ctrl = __raw_readl(S5PC1XX_EINTCON(eint_conf_reg(irq)));
+	ctrl &= ~mask;
+	ctrl |= newvalue << shift;
+	__raw_writel(ctrl, S5PC1XX_EINTCON(eint_conf_reg(irq)));
+
+	if((0 <= offs) && (offs < 8))
+		s3c_gpio_cfgpin(S5PC1XX_GPH0(offs&0x7), 0x2<<((offs&0x7)*4));
+	else if((8 <= offs) && (offs < 16))
+		s3c_gpio_cfgpin(S5PC1XX_GPH1(offs&0x7), 0x2<<((offs&0x7)*4));
+	else if((16 <= offs) && (offs < 24))
+		s3c_gpio_cfgpin(S5PC1XX_GPH2(offs&0x7), 0x2<<((offs&0x7)*4));
+	else if((24 <= offs) && (offs < 32))
+		s3c_gpio_cfgpin(S5PC1XX_GPH3(offs&0x7), 0x2<<((offs&0x7)*4));
+	else
+		printk(KERN_ERR "No such irq number %d", offs);
+		
+	return 0;
+}
+
+
+static struct irq_chip s3c_irq_eint = {
+	.name		= "s3c-eint",
+	.mask		= s3c_irq_eint_mask,
+	.unmask		= s3c_irq_eint_unmask,
+	.mask_ack	= s3c_irq_eint_maskack,
+	.ack		= s3c_irq_eint_ack,
+	.set_type	= s3c_irq_eint_set_type,
+};
+
+/* s3c_irq_demux_eint
+ *
+ * This function demuxes the IRQ from the group0 external interrupts,
+ * from IRQ_EINT(16) to IRQ_EINT(31). It is designed to be inlined into
+ * the specific handlers s3c_irq_demux_eintX_Y.
+ */
+static inline void s3c_irq_demux_eint(unsigned int start, unsigned int end)
+{
+	u32 status = __raw_readl(S5PC1XX_EINTPEND((start >> 3)));
+	u32 mask = __raw_readl(S5PC1XX_EINTMASK((start >> 3)));
+	unsigned int irq;
+
+	status &= ~mask;
+	status >>= start;
+	status &= (1 << (end - start + 1)) - 1;
+
+	for (irq = IRQ_EINT(start); irq <= IRQ_EINT(end); irq++) {
+		if (status & 1)
+			generic_handle_irq(irq);
+
+		status >>= 1;
+	}
+}
+
+static void s3c_irq_demux_eint16_31(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_eint(16, 23);
+	s3c_irq_demux_eint(24, 31);
+}
+
+/*---------------------------- EINT0 ~ EINT15 -------------------------------------*/
+static void s3c_irq_vic_eint_mask(unsigned int irq)
+{
+	void __iomem *base = get_irq_chip_data(irq);
+	
+	s3c_irq_eint_mask(irq);
+	
+	irq &= 31;
+	writel(1 << irq, base + VIC_INT_ENABLE_CLEAR);
+}
+
+
+static void s3c_irq_vic_eint_unmask(unsigned int irq)
+{
+	void __iomem *base = get_irq_chip_data(irq);
+	
+	s3c_irq_eint_unmask(irq);
+	
+	irq &= 31;
+	writel(1 << irq, base + VIC_INT_ENABLE);
+}
+
+
+static inline void s3c_irq_vic_eint_ack(unsigned int irq)
+{
+	__raw_writel(eint_irq_to_bit(irq), S5PC1XX_EINTPEND(eint_pend_reg(irq)));
+}
+
+
+static void s3c_irq_vic_eint_maskack(unsigned int irq)
+{
+	/* compiler should in-line these */
+	s3c_irq_vic_eint_mask(irq);
+	s3c_irq_vic_eint_ack(irq);
+}
+
+
+static struct irq_chip s3c_irq_vic_eint = {
+	.name	= "s3c_vic_eint",
+	.mask	= s3c_irq_vic_eint_mask,
+	.unmask	= s3c_irq_vic_eint_unmask,
+	.mask_ack = s3c_irq_vic_eint_maskack,
+	.ack = s3c_irq_vic_eint_ack,
+	.set_type = s3c_irq_eint_set_type,
+};
+
+
+int __init s5pc1xx_init_irq_eint(void)
+{
+	int irq;
+
+	for (irq = IRQ_EINT0; irq <= IRQ_EINT15; irq++) {
+		set_irq_chip(irq, &s3c_irq_vic_eint);
+	}
+
+	for (irq = IRQ_EINT(16); irq <= IRQ_EINT(31); irq++) {
+		set_irq_chip(irq, &s3c_irq_eint);
+		set_irq_handler(irq, handle_level_irq);
+		set_irq_flags(irq, IRQF_VALID);
+	}
+
+	set_irq_chained_handler(IRQ_EINT16_31, s3c_irq_demux_eint16_31);
+	return 0;
+}
+
+arch_initcall(s5pc1xx_init_irq_eint);
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/irq.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/irq.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/irq.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/irq.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,258 @@
+/* arch/arm/plat-s5pc1xx/irq.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5PC1XX - Interrupt handling
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/io.h>
+
+#include <asm/hardware/vic.h>
+
+#include <mach/map.h>
+#include <plat/regs-timer.h>
+#include <plat/cpu.h>
+
+/* Timer interrupt handling */
+
+static void s3c_irq_demux_timer(unsigned int base_irq, unsigned int sub_irq)
+{
+	generic_handle_irq(sub_irq);
+}
+
+static void s3c_irq_demux_timer0(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER0);
+}
+
+static void s3c_irq_demux_timer1(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER1);
+}
+
+static void s3c_irq_demux_timer2(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER2);
+}
+
+static void s3c_irq_demux_timer3(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER3);
+}
+
+static void s3c_irq_demux_timer4(unsigned int irq, struct irq_desc *desc)
+{
+	s3c_irq_demux_timer(irq, IRQ_TIMER4);
+}
+
+/* We assume the IRQ_TIMER0..IRQ_TIMER4 range is continuous. */
+
+static void s3c_irq_timer_mask(unsigned int irq)
+{
+	u32 reg = __raw_readl(S3C64XX_TINT_CSTAT);
+
+	reg &= 0x1f;  /* mask out pending interrupts */
+	reg &= ~(1 << (irq - IRQ_TIMER0));
+	__raw_writel(reg, S3C64XX_TINT_CSTAT);
+}
+
+static void s3c_irq_timer_unmask(unsigned int irq)
+{
+	u32 reg = __raw_readl(S3C64XX_TINT_CSTAT);
+
+	reg &= 0x1f;  /* mask out pending interrupts */
+	reg |= 1 << (irq - IRQ_TIMER0);
+	__raw_writel(reg, S3C64XX_TINT_CSTAT);
+}
+
+static void s3c_irq_timer_ack(unsigned int irq)
+{
+	u32 reg = __raw_readl(S3C64XX_TINT_CSTAT);
+
+	reg &= 0x1f;
+	reg |= (1 << 5) << (irq - IRQ_TIMER0);
+	__raw_writel(reg, S3C64XX_TINT_CSTAT);
+}
+
+static struct irq_chip s3c_irq_timer = {
+	.name		= "s3c-timer",
+	.mask		= s3c_irq_timer_mask,
+	.unmask		= s3c_irq_timer_unmask,
+	.ack		= s3c_irq_timer_ack,
+};
+
+struct uart_irq {
+	void __iomem	*regs;
+	unsigned int	 base_irq;
+	unsigned int	 parent_irq;
+};
+
+/* Note, we make use of the fact that the parent IRQs, IRQ_UART[0..3]
+ * are consecutive when looking up the interrupt in the demux routines.
+ */
+static struct uart_irq uart_irqs[] = {
+	[0] = {
+		.regs		= S3C_VA_UART0,
+		.base_irq	= IRQ_S3CUART_BASE0,
+		.parent_irq	= IRQ_UART0,
+	},
+	[1] = {
+		.regs		= S3C_VA_UART1,
+		.base_irq	= IRQ_S3CUART_BASE1,
+		.parent_irq	= IRQ_UART1,
+	},
+	[2] = {
+		.regs		= S3C_VA_UART2,
+		.base_irq	= IRQ_S3CUART_BASE2,
+		.parent_irq	= IRQ_UART2,
+	},
+	[3] = {
+		.regs		= S3C_VA_UART3,
+		.base_irq	= IRQ_S3CUART_BASE3,
+		.parent_irq	= IRQ_UART3,
+	},
+};
+
+static inline void __iomem *s3c_irq_uart_base(unsigned int irq)
+{
+	struct uart_irq *uirq = get_irq_chip_data(irq);
+	return uirq->regs;
+}
+
+static inline unsigned int s3c_irq_uart_bit(unsigned int irq)
+{
+	return irq & 3;
+}
+
+/* UART interrupt registers, not worth adding to seperate include header */
+#define S5P_UINTP	0x30
+#define S5P_UINTSP	0x34
+#define S5P_UINTM	0x38
+
+static void s3c_irq_uart_mask(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+	u32 reg;
+
+	reg = __raw_readl(regs + S5P_UINTM);
+	reg |= (1 << bit);
+	__raw_writel(reg, regs + S5P_UINTM);
+}
+
+static void s3c_irq_uart_maskack(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+	u32 reg;
+
+	reg = __raw_readl(regs + S5P_UINTM);
+	reg |= (1 << bit);
+	__raw_writel(reg, regs + S5P_UINTM);
+	__raw_writel(1 << bit, regs + S5P_UINTP);
+}
+
+static void s3c_irq_uart_unmask(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+	u32 reg;
+
+	reg = __raw_readl(regs + S5P_UINTM);
+	reg &= ~(1 << bit);
+	__raw_writel(reg, regs + S5P_UINTM);
+}
+
+static void s3c_irq_uart_ack(unsigned int irq)
+{
+	void __iomem *regs = s3c_irq_uart_base(irq);
+	unsigned int bit = s3c_irq_uart_bit(irq);
+
+	__raw_writel(1 << bit, regs + S5P_UINTP);
+}
+
+static void s3c_irq_demux_uart(unsigned int irq, struct irq_desc *desc)
+{
+	struct uart_irq *uirq = &uart_irqs[irq - IRQ_UART0];
+	u32 pend = __raw_readl(uirq->regs + S5P_UINTP);
+	int base = uirq->base_irq;
+
+	if (pend & (1 << 0))
+		generic_handle_irq(base);
+	if (pend & (1 << 1))
+		generic_handle_irq(base + 1);
+	if (pend & (1 << 2))
+		generic_handle_irq(base + 2);
+	if (pend & (1 << 3))
+		generic_handle_irq(base + 3);
+}
+
+static struct irq_chip s3c_irq_uart = {
+	.name		= "s3c-uart",
+	.mask		= s3c_irq_uart_mask,
+	.unmask		= s3c_irq_uart_unmask,
+	.mask_ack	= s3c_irq_uart_maskack,
+	.ack		= s3c_irq_uart_ack,
+};
+
+static void __init s5p_uart_irq(struct uart_irq *uirq)
+{
+	void *reg_base = uirq->regs;
+	unsigned int irq;
+	int offs;
+
+	/* mask all interrupts at the start. */
+	__raw_writel(0xf, reg_base + S5P_UINTM);
+
+	for (offs = 0; offs < 3; offs++) {
+		irq = uirq->base_irq + offs;
+
+		set_irq_chip(irq, &s3c_irq_uart);
+		set_irq_chip_data(irq, uirq);
+		set_irq_handler(irq, handle_level_irq);
+		set_irq_flags(irq, IRQF_VALID);
+	}
+
+	set_irq_chained_handler(uirq->parent_irq, s3c_irq_demux_uart);
+}
+
+void __init s5pc1xx_init_irq(u32 vic0_valid, u32 vic1_valid, u32 vic2_valid)
+{
+	int uart, irq;
+
+	printk(KERN_DEBUG "%s: initialising interrupts\n", __func__);
+
+	/* initialise the pair of VICs */
+	vic_init(S3C_VA_VIC0, S3C_VIC0_BASE, vic0_valid);
+	vic_init(S3C_VA_VIC1, S3C_VIC1_BASE, vic1_valid);
+	vic_init(S3C_VA_VIC2, S3C_VIC2_BASE, vic2_valid);
+
+	/* add the timer sub-irqs */
+
+	set_irq_chained_handler(IRQ_TIMER0, s3c_irq_demux_timer0);
+	set_irq_chained_handler(IRQ_TIMER1, s3c_irq_demux_timer1);
+	set_irq_chained_handler(IRQ_TIMER2, s3c_irq_demux_timer2);
+	set_irq_chained_handler(IRQ_TIMER3, s3c_irq_demux_timer3);
+	set_irq_chained_handler(IRQ_TIMER4, s3c_irq_demux_timer4);
+
+	for (irq = IRQ_TIMER0; irq <= IRQ_TIMER4; irq++) {
+		set_irq_chip(irq, &s3c_irq_timer);
+		set_irq_handler(irq, handle_level_irq);
+		set_irq_flags(irq, IRQF_VALID);
+	}
+
+	for (uart = 0; uart < ARRAY_SIZE(uart_irqs); uart++)
+		s5p_uart_irq(&uart_irqs[uart]);
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/ltc3714.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/ltc3714.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/ltc3714.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/ltc3714.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,217 @@
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/fs.h>
+#include <linux/errno.h>
+#include <linux/types.h>
+#include <linux/fcntl.h>
+#include <linux/stat.h>
+#include <linux/delay.h>
+#include <linux/gpio.h>
+#include <asm/uaccess.h>
+#include <asm/io.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+
+#define PMIC_ARM		0
+#define PMIC_INT		1
+#define PMIC_BOTH	2
+
+#define SER_BIT 		0
+#define SRCLK_BIT 		1
+#define RCLK_ARM_BIT 	2
+#define RCLK_INT_BIT 	3
+#define VID_CTRL_BIT 	4
+
+unsigned int step_curr;
+
+enum PMIC_VOLTAGE {
+	VOUT_1_00, 
+	VOUT_1_05, 
+	VOUT_1_10, 
+	VOUT_1_15, 
+	VOUT_1_20, 
+	VOUT_1_25, 
+	VOUT_1_30, 
+	VOUT_1_35, 
+	VOUT_1_40, 
+	VOUT_1_45, 
+	VOUT_1_50 	
+};
+
+/* ltc3714 voltage table */
+static const unsigned int voltage_table[11] = {
+	0xf, 0xe, 0xd, 0xc, 0xb, 0xa, 0x9,
+	0x8, 0x7, 0x6, 0x5,
+};
+
+
+/* frequency voltage matching table */
+static const unsigned int frequency_match[][3] = {
+/* frequency, Mathced VDD ARM voltage , Matched VDD INT*/
+	{666000, VOUT_1_20, VOUT_1_20},
+	{333000, VOUT_1_10, VOUT_1_20},
+	{166500, VOUT_1_05, VOUT_1_20},
+};
+
+/* LTC3714 Setting Routine */
+static int ltc3714_gpio_setting(void)
+{
+	int iter, err;
+
+	for(iter = SER_BIT; iter <= VID_CTRL_BIT ; iter++) {
+		if (gpio_is_valid(S5PC1XX_GPH0(iter))) {
+				
+			err = gpio_request(S5PC1XX_GPH0(iter), "GPH0"); 
+			
+			if (err) {
+				printk(KERN_ERR "failed to request GPF0 port(%d) for LTC3714 control\n", iter);
+				return err;
+			}
+			
+			if(iter == VID_CTRL_BIT) {
+				gpio_direction_output(S5PC1XX_GPH0(iter), 1);
+				udelay(10);
+			} else {
+				gpio_direction_output(S5PC1XX_GPH0(iter), 0);
+			}
+
+			s3c_gpio_setpull(S5PC1XX_GPH0(iter), S3C_GPIO_PULL_NONE);
+			
+		} else {
+			printk(KERN_ERR "Invalid GPIO (%d) number\n", S5PC1XX_GPH0(iter));
+		}
+	}
+	
+	return 0;
+}
+
+static int set_ltc3714(unsigned int pwr, unsigned int index)
+{
+	int iter = 0;
+	int voltage;
+	int gpio_val;
+	
+	if(pwr == PMIC_ARM) {
+		voltage = frequency_match[index][pwr + 1];
+		gpio_val = voltage_table[voltage];
+		gpio_set_value(S5PC1XX_GPH0(RCLK_ARM_BIT), 0);
+		gpio_set_value(S5PC1XX_GPH0(VID_CTRL_BIT), 1);
+
+		udelay(10);
+		
+	} else if(pwr == PMIC_INT) {
+		voltage = frequency_match[index][pwr + 1];
+		gpio_val = voltage_table[voltage];
+		gpio_set_value(S5PC1XX_GPH0(RCLK_INT_BIT), 0);
+		gpio_set_value(S5PC1XX_GPH0(SRCLK_BIT), 0);
+		gpio_set_value(S5PC1XX_GPH0(VID_CTRL_BIT), 1);
+
+		udelay(10);
+
+		gpio_set_value(S5PC1XX_GPH0(RCLK_INT_BIT), 0);
+		
+	} else if(pwr == PMIC_BOTH) {
+		voltage = frequency_match[index][1];
+		gpio_val = voltage_table[voltage];
+		gpio_set_value(S5PC1XX_GPH0(RCLK_ARM_BIT), 0);
+		gpio_set_value(S5PC1XX_GPH0(RCLK_INT_BIT), 0);
+		gpio_set_value(S5PC1XX_GPH0(VID_CTRL_BIT), 1);
+
+		udelay(10);
+
+	}else {
+		printk("[error]: set_power, check mode [pwr] value\n");
+		return -EINVAL;
+	}
+
+	//printk("gpio_val = 0x%x\n", gpio_val);
+	for (iter = 8; iter > 0; iter --) {
+		gpio_set_value(S5PC1XX_GPH0(SRCLK_BIT), 0);
+		gpio_set_value(S5PC1XX_GPH0(SER_BIT), (gpio_val>>(iter-1))&0x01);
+		udelay(10);
+		gpio_set_value(S5PC1XX_GPH0(SRCLK_BIT), 1);
+		udelay(10);
+	}
+
+	gpio_set_value(S5PC1XX_GPH0(SRCLK_BIT), 0);
+	gpio_set_value(S5PC1XX_GPH0(SER_BIT), 0);
+
+	udelay(10);
+	
+	gpio_set_value(S5PC1XX_GPH0(VID_CTRL_BIT), 0);
+
+	switch(pwr) {
+		case PMIC_ARM:
+			gpio_set_value(S5PC1XX_GPH0(RCLK_ARM_BIT), 1);
+			udelay(10);		
+			gpio_set_value(S5PC1XX_GPH0(RCLK_ARM_BIT), 0);
+			break;
+		case PMIC_INT:
+			gpio_set_value(S5PC1XX_GPH0(RCLK_INT_BIT), 1);
+			udelay(10);
+			gpio_set_value(S5PC1XX_GPH0(RCLK_INT_BIT), 0);
+			break;
+		case PMIC_BOTH:
+			gpio_set_value(S5PC1XX_GPH0(RCLK_ARM_BIT), 1);
+			gpio_set_value(S5PC1XX_GPH0(RCLK_INT_BIT), 1);
+			udelay(10);			
+			gpio_set_value(S5PC1XX_GPH0(RCLK_ARM_BIT), 0);
+			gpio_set_value(S5PC1XX_GPH0(RCLK_INT_BIT), 0);
+			break;
+		default:
+			break;
+		
+	}
+		
+	udelay(10);
+	//printk("%s : end\n", __FUNCTION__);
+	return 0;
+}
+
+static int find_voltage(int freq)
+{
+	int index = 0;
+
+	if(freq > frequency_match[0][0]){
+		printk(KERN_ERR "frequecy is over then support frequency\n");
+		return 0;
+	}
+
+	for(index = 0 ; index < ARRAY_SIZE(frequency_match) ; index++){
+		if(freq >= frequency_match[index][0])
+			return index;
+	}
+
+	printk("Cannot find matched voltage on table\n");
+
+	return 0;
+}
+
+int set_power(unsigned int freq)
+{
+	int index;
+
+	index = find_voltage(freq);
+
+	printk("%s : index = %d\n", __FUNCTION__, index);
+	if(step_curr != index) {
+		set_ltc3714(PMIC_ARM, index);
+		set_ltc3714(PMIC_INT, index);
+
+		step_curr = index;
+	}
+	return 0;
+}
+
+EXPORT_SYMBOL(set_power);
+
+void ltc3714_init(void)
+{
+	step_curr = 0;
+	ltc3714_gpio_setting();
+	set_power(666000);
+}
+
+EXPORT_SYMBOL(ltc3714_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/pm.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/pm.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/pm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/pm.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,667 @@
+/* linux/arch/arm/plat-s3c24xx/pm.c
+ *
+ * Copyright (c) 2004,2006 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C24XX Power Manager (Suspend-To-RAM) support
+ *
+ * See Documentation/arm/Samsung-S3C24XX/Suspend.txt for more information
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ * Parts based on arch/arm/mach-pxa/pm.c
+ *
+ * Thanks to Dimitry Andric for debugging
+*/
+
+#include <linux/init.h>
+#include <linux/suspend.h>
+#include <linux/errno.h>
+#include <linux/time.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/crc32.h>
+#include <linux/ioport.h>
+#include <linux/delay.h>
+#include <linux/serial_core.h>
+#include <linux/io.h>
+#include <linux/platform_device.h>
+
+#include <asm/cacheflush.h>
+#include <mach/hardware.h>
+
+#include <plat/map-base.h>
+#include <plat/regs-serial.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-a0.h>
+#include <plat/gpio-bank-a1.h>
+#include <plat/gpio-bank-b.h>
+#include <plat/gpio-bank-c.h>
+#include <plat/gpio-bank-d.h>
+#include <plat/gpio-bank-e0.h>
+#include <plat/gpio-bank-e1.h>
+#include <plat/gpio-bank-f0.h>
+#include <plat/gpio-bank-f1.h>
+#include <plat/gpio-bank-f2.h>
+#include <plat/gpio-bank-f3.h>
+#include <plat/gpio-bank-g0.h>
+#include <plat/gpio-bank-g1.h>
+#include <plat/gpio-bank-g2.h>
+#include <plat/gpio-bank-g3.h>
+#include <plat/gpio-bank-h0.h>
+#include <plat/gpio-bank-h1.h>
+#include <plat/gpio-bank-h2.h>
+#include <plat/gpio-bank-h3.h>
+#include <plat/gpio-bank-i.h>
+#include <plat/gpio-bank-j0.h>
+#include <plat/gpio-bank-j1.h>
+#include <plat/gpio-bank-j2.h>
+#include <plat/gpio-bank-j3.h>
+#include <plat/gpio-bank-j4.h>
+#include <plat/gpio-bank-k0.h>
+#include <plat/gpio-bank-k1.h>
+#include <plat/gpio-bank-k2.h>
+#include <plat/gpio-bank-k3.h>
+#include <mach/regs-mem.h>
+#include <mach/regs-irq.h>
+#include <asm/gpio.h>
+
+#include <asm/mach/time.h>
+
+#include <plat/pm.h>
+#include <plat/regs-power.h>
+
+/* for external use */
+
+unsigned long s5pc1xx_pm_flags;
+void __iomem *weint_base;
+
+enum PLL_TYPE
+{
+	PM_APLL,
+	PM_MPLL,
+	PM_EPLL,
+	PM_HPLL
+};
+
+#define PFX "s5pc1xx-pm: "
+static struct sleep_save core_save[] = {
+	SAVE_ITEM(S5P_CLK_SRC0),
+	SAVE_ITEM(S5P_CLK_SRC1),
+	SAVE_ITEM(S5P_CLK_SRC2),
+	SAVE_ITEM(S5P_CLK_SRC3),
+	
+	SAVE_ITEM(S5P_CLK_DIV0),
+	SAVE_ITEM(S5P_CLK_DIV1),
+	SAVE_ITEM(S5P_CLK_DIV2),
+	SAVE_ITEM(S5P_CLK_DIV3),
+	SAVE_ITEM(S5P_CLK_DIV4),
+
+	SAVE_ITEM(S5P_CLK_OUT),
+
+	SAVE_ITEM(S5P_CLKGATE_D00),
+	SAVE_ITEM(S5P_CLKGATE_D01),
+	SAVE_ITEM(S5P_CLKGATE_D02),
+
+	SAVE_ITEM(S5P_CLKGATE_D10),
+	SAVE_ITEM(S5P_CLKGATE_D11),
+	SAVE_ITEM(S5P_CLKGATE_D12),
+	SAVE_ITEM(S5P_CLKGATE_D13),
+	SAVE_ITEM(S5P_CLKGATE_D14),
+	SAVE_ITEM(S5P_CLKGATE_D15),
+
+	SAVE_ITEM(S5P_CLKGATE_D20),
+
+	SAVE_ITEM(S5P_SCLKGATE0),
+	SAVE_ITEM(S5P_SCLKGATE1),
+
+	SAVE_ITEM(S5P_MEM_SYS_CFG),
+	SAVE_ITEM(S5P_CAM_MUX_SEL),
+	SAVE_ITEM(S5P_MIXER_OUT_SEL),
+
+	SAVE_ITEM(S5P_LPMP_MODE_SEL),
+	SAVE_ITEM(S5P_MIPI_PHY_CON0),
+	SAVE_ITEM(S5P_MIPI_PHY_CON1),
+	SAVE_ITEM(S5P_HDMI_PHY_CON0),
+};
+
+static struct sleep_save gpio_save[] = {
+	SAVE_ITEM(S5PC1XX_GPA0CON),
+	SAVE_ITEM(S5PC1XX_GPA0DAT),
+	SAVE_ITEM(S5PC1XX_GPA0PUD),
+	SAVE_ITEM(S5PC1XX_GPA1CON),
+	SAVE_ITEM(S5PC1XX_GPA1DAT),
+	SAVE_ITEM(S5PC1XX_GPA1PUD),
+	SAVE_ITEM(S5PC1XX_GPBCON),
+	SAVE_ITEM(S5PC1XX_GPBDAT),
+	SAVE_ITEM(S5PC1XX_GPBPUD),
+	SAVE_ITEM(S5PC1XX_GPCCON),
+	SAVE_ITEM(S5PC1XX_GPCDAT),
+	SAVE_ITEM(S5PC1XX_GPCPUD),
+	SAVE_ITEM(S5PC1XX_GPDCON),
+	SAVE_ITEM(S5PC1XX_GPDDAT),
+	SAVE_ITEM(S5PC1XX_GPDPUD),
+	SAVE_ITEM(S5PC1XX_GPE0CON),
+	SAVE_ITEM(S5PC1XX_GPE0DAT),
+	SAVE_ITEM(S5PC1XX_GPE0PUD),
+	SAVE_ITEM(S5PC1XX_GPE1CON),
+	SAVE_ITEM(S5PC1XX_GPE1DAT),
+	SAVE_ITEM(S5PC1XX_GPE1PUD),
+	SAVE_ITEM(S5PC1XX_GPF0CON),
+	SAVE_ITEM(S5PC1XX_GPF0DAT),
+	SAVE_ITEM(S5PC1XX_GPF0PUD),
+	SAVE_ITEM(S5PC1XX_GPF1CON),
+	SAVE_ITEM(S5PC1XX_GPF1DAT),
+	SAVE_ITEM(S5PC1XX_GPF1PUD),
+	SAVE_ITEM(S5PC1XX_GPF2CON),
+	SAVE_ITEM(S5PC1XX_GPF2DAT),
+	SAVE_ITEM(S5PC1XX_GPF2PUD),
+	SAVE_ITEM(S5PC1XX_GPF3CON),
+	SAVE_ITEM(S5PC1XX_GPF3DAT),
+	SAVE_ITEM(S5PC1XX_GPF3PUD),
+	SAVE_ITEM(S5PC1XX_GPG0CON),
+	SAVE_ITEM(S5PC1XX_GPG0DAT),
+	SAVE_ITEM(S5PC1XX_GPG0PUD),
+	SAVE_ITEM(S5PC1XX_GPG1CON),
+	SAVE_ITEM(S5PC1XX_GPG1DAT),
+	SAVE_ITEM(S5PC1XX_GPG1PUD),
+	SAVE_ITEM(S5PC1XX_GPG2CON),
+	SAVE_ITEM(S5PC1XX_GPG2DAT),
+	SAVE_ITEM(S5PC1XX_GPG2PUD),
+	SAVE_ITEM(S5PC1XX_GPG3CON),
+	SAVE_ITEM(S5PC1XX_GPG3DAT),
+	SAVE_ITEM(S5PC1XX_GPG3PUD),
+	SAVE_ITEM(S5PC1XX_GPH0CON),
+	SAVE_ITEM(S5PC1XX_GPH0DAT),
+	SAVE_ITEM(S5PC1XX_GPH0PUD),
+	SAVE_ITEM(S5PC1XX_GPH1CON),
+	SAVE_ITEM(S5PC1XX_GPH1DAT),
+	SAVE_ITEM(S5PC1XX_GPH1PUD),
+	SAVE_ITEM(S5PC1XX_GPH2CON),
+	SAVE_ITEM(S5PC1XX_GPH2DAT),
+	SAVE_ITEM(S5PC1XX_GPH2PUD),
+	SAVE_ITEM(S5PC1XX_GPH3CON),
+	SAVE_ITEM(S5PC1XX_GPH3DAT),
+	SAVE_ITEM(S5PC1XX_GPH3PUD),
+	SAVE_ITEM(S5PC1XX_GPICON),
+	SAVE_ITEM(S5PC1XX_GPIDAT),
+	SAVE_ITEM(S5PC1XX_GPIPUD),
+	SAVE_ITEM(S5PC1XX_GPJ0CON),
+	SAVE_ITEM(S5PC1XX_GPJ0DAT),
+	SAVE_ITEM(S5PC1XX_GPJ0PUD),
+	SAVE_ITEM(S5PC1XX_GPJ1CON),
+	SAVE_ITEM(S5PC1XX_GPJ1DAT),
+	SAVE_ITEM(S5PC1XX_GPJ1PUD),
+	SAVE_ITEM(S5PC1XX_GPJ2CON),
+	SAVE_ITEM(S5PC1XX_GPJ2DAT),
+	SAVE_ITEM(S5PC1XX_GPJ2PUD),
+	SAVE_ITEM(S5PC1XX_GPJ3CON),
+	SAVE_ITEM(S5PC1XX_GPJ3DAT),
+	SAVE_ITEM(S5PC1XX_GPJ3PUD),
+	SAVE_ITEM(S5PC1XX_GPK0CON),
+	SAVE_ITEM(S5PC1XX_GPK0DAT),
+	SAVE_ITEM(S5PC1XX_GPK0PUD),
+	SAVE_ITEM(S5PC1XX_GPK1CON),
+	SAVE_ITEM(S5PC1XX_GPK1DAT),
+	SAVE_ITEM(S5PC1XX_GPK1PUD),
+	SAVE_ITEM(S5PC1XX_GPK2CON),
+	SAVE_ITEM(S5PC1XX_GPK2DAT),
+	SAVE_ITEM(S5PC1XX_GPK2PUD),
+	SAVE_ITEM(S5PC1XX_GPK3CON),
+	SAVE_ITEM(S5PC1XX_GPK3DAT),
+	SAVE_ITEM(S5PC1XX_GPK3PUD),
+};
+
+/* this lot should be really saved by the IRQ code */
+/* VICXADDRESSXX initilaization to be needed */
+static struct sleep_save irq_save[] = {
+	SAVE_ITEM(S5PC100_VIC0INTSELECT),
+	SAVE_ITEM(S5PC100_VIC1INTSELECT),
+	SAVE_ITEM(S5PC100_VIC2INTSELECT),
+	SAVE_ITEM(S5PC100_VIC0INTENABLE),
+	SAVE_ITEM(S5PC100_VIC1INTENABLE),
+	SAVE_ITEM(S5PC100_VIC2INTENABLE),
+	SAVE_ITEM(S5PC100_VIC0SOFTINT),
+	SAVE_ITEM(S5PC100_VIC1SOFTINT),
+	SAVE_ITEM(S5PC100_VIC2SOFTINT),
+};
+
+static struct sleep_save sromc_save[] = {
+	SAVE_ITEM(S5PC1XX_SROM_BW),
+	SAVE_ITEM(S5PC1XX_SROM_BC0),
+	SAVE_ITEM(S5PC1XX_SROM_BC1),
+	SAVE_ITEM(S5PC1XX_SROM_BC2),
+	SAVE_ITEM(S5PC1XX_SROM_BC3),
+	SAVE_ITEM(S5PC1XX_SROM_BC4),
+	SAVE_ITEM(S5PC1XX_SROM_BC5),
+};
+
+/* NAND control registers */
+#define PM_NFCONF             (S3C_VA_NAND + 0x00)        
+#define PM_NFCONT             (S3C_VA_NAND + 0x04)        
+
+static struct sleep_save nand_save[] = {
+        SAVE_ITEM(PM_NFCONF),
+        SAVE_ITEM(PM_NFCONT),
+};
+
+#define SAVE_UART(va) \
+	SAVE_ITEM((va) + S3C2410_ULCON), \
+	SAVE_ITEM((va) + S3C2410_UCON), \
+	SAVE_ITEM((va) + S3C2410_UFCON), \
+	SAVE_ITEM((va) + S3C2410_UMCON), \
+	SAVE_ITEM((va) + S3C2410_UBRDIV), \
+	SAVE_ITEM((va) + S3C2410_UDIVSLOT), \
+	SAVE_ITEM((va) + S3C2410_UINTMSK)
+
+
+static struct sleep_save uart_save[] = {
+	SAVE_UART(S3C24XX_VA_UART0),
+};
+
+#define DBG(fmt...)
+
+#define s5pc1xx_pm_debug_init() do { } while(0)
+#define s5pc1xx_pm_check_prepare() do { } while(0)
+#define s5pc1xx_pm_check_restore() do { } while(0)
+#define s5pc1xx_pm_check_store()   do { } while(0)
+
+/* helper functions to save and restore register state */
+
+void s5pc1xx_pm_do_save(struct sleep_save *ptr, int count)
+{
+	for (; count > 0; count--, ptr++) {
+		ptr->val = __raw_readl(ptr->reg);
+		//DBG("saved %p value %08lx\n", ptr->reg, ptr->val);
+	}
+}
+
+/* s5pc1xx_pm_do_restore
+ *
+ * restore the system from the given list of saved registers
+ *
+ * Note, we do not use DBG() in here, as the system may not have
+ * restore the UARTs state yet
+*/
+
+void s5pc1xx_pm_do_restore(struct sleep_save *ptr, int count)
+{
+	for (; count > 0; count--, ptr++) {
+		//printk(KERN_DEBUG "restore %p (restore %08lx, was %08x)\n",
+		       //ptr->reg, ptr->val, __raw_readl(ptr->reg));
+
+		__raw_writel(ptr->val, ptr->reg);
+	}
+}
+
+/* s5pc1xx_pm_do_restore_core
+ *
+ * similar to s36410_pm_do_restore_core
+ *
+ * WARNING: Do not put any debug in here that may effect memory or use
+ * peripherals, as things may be changing!
+*/
+
+/* s5pc1xx_pm_do_save_phy
+ *
+ * save register of system
+ *
+ * Note, I made this function to support driver with ioremap.
+ * If you want to use this function, you should to input as first parameter
+ * struct sleep_save_phy type
+*/
+
+void s5pc1xx_pm_do_save_phy(struct sleep_save_phy *ptr, struct platform_device *pdev, int count)
+{
+	void __iomem *target_reg;
+	struct resource *res;
+	u32 reg_size;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	reg_size = res->end - res->start + 1;
+	target_reg = ioremap(res->start,reg_size);
+
+	for (; count > 0; count--, ptr++) {
+		ptr->val = readl(target_reg + (ptr->reg));
+	}
+}
+
+/* s5pc1xx_pm_do_restore_phy
+ *
+ * restore register of system
+ *
+ * Note, I made this function to support driver with ioremap.
+ * If you want to use this function, you should to input as first parameter
+ * struct sleep_save_phy type
+*/
+
+void s5pc1xx_pm_do_restore_phy(struct sleep_save_phy *ptr, struct platform_device *pdev, int count)
+{
+	void __iomem *target_reg;
+	struct resource *res;
+	u32 reg_size;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	reg_size = res->end - res->start + 1;
+	target_reg = ioremap(res->start,reg_size);
+
+	for (; count > 0; count--, ptr++) {
+		writel(ptr->val, (target_reg + ptr->reg));
+	}
+}
+
+static void s5pc1xx_pm_do_restore_core(struct sleep_save *ptr, int count)
+{
+	for (; count > 0; count--, ptr++) {
+		__raw_writel(ptr->val, ptr->reg);
+	}
+}
+
+/* s5pc1xx_pm_show_resume_irqs
+ *
+ * print any IRQs asserted at resume time (ie, we woke from)
+*/
+
+static void s5pc1xx_pm_show_resume_irqs(int start, unsigned long which,
+					unsigned long mask)
+{
+	int i;
+
+	which &= ~mask;
+
+	for (i = 0; i <= 31; i++) {
+		if ((which) & (1L<<i)) {
+			DBG("IRQ %d asserted at resume\n", start+i);
+		}
+	}
+}
+
+static irqreturn_t s5pc1xx_eint11_interrupt(int irq, void *dev_id)
+{
+	printk("EINT11 is occured\n");
+
+	return IRQ_HANDLED;
+}
+
+static void s5pc1xx_pm_configure_extint(void)
+{
+/* for each of the external interrupts (EINT0..EINT15) we
+ * need to check wether it is an external interrupt source,
+ * and then configure it as an input if it is not
+ * And SMDKC100 has two External Interrupt Switch EINT11(GPH1_3) and EINT31(GPH3_7)
+ * So System can wake up with both External interrupt source.
+ */
+
+	u32 tmp;
+
+	weint_base = ioremap(S5P_APM_BASE, 0x350);
+
+	/* Mask all External Interrupt */
+	writel(0xff , weint_base + S5P_APM_WEINT0_MASK);
+	writel(0xff , weint_base + S5P_APM_WEINT1_MASK);
+	writel(0xff , weint_base + S5P_APM_WEINT2_MASK);
+	writel(0xff , weint_base + S5P_APM_WEINT3_MASK);
+
+	/* Clear all External Interrupt Pending */
+	writel(0xff , weint_base + S5P_APM_WEINT0_PEND);
+	writel(0xff , weint_base + S5P_APM_WEINT1_PEND);
+	writel(0xff , weint_base + S5P_APM_WEINT2_PEND);
+	writel(0xff , weint_base + S5P_APM_WEINT3_PEND);
+
+	/* GPH1(3) setting */
+	tmp = readl(weint_base + S5P_APM_GPH1CON);
+	tmp &= ~(0xf << 12);
+	tmp |= (0x2 << 12);
+	writel(tmp , weint_base + S5P_APM_GPH1CON);
+
+	/* LED Off for test */
+	tmp = readl(weint_base + S5P_APM_GPH1DAT);
+	tmp &= ~(0xf0);
+	writel(tmp , weint_base + S5P_APM_GPH1DAT);
+
+	/* EINT1_CON Reg setting */
+	tmp = readl(weint_base + S5P_APM_WEINT1_CON);
+	tmp &= ~(0x7 << 12);
+	tmp |= (0x2 << 12);
+	writel(tmp , weint_base + S5P_APM_WEINT1_CON);
+
+	/* EINT1 MASK Reg setting */
+	tmp = readl(weint_base + S5P_APM_WEINT1_MASK);
+	tmp &= ~(1 << 3);
+	writel(tmp , weint_base + S5P_APM_WEINT1_MASK);
+
+	udelay(50);
+
+	set_irq_type(IRQ_EINT11, IRQ_TYPE_EDGE_FALLING);
+	if (request_irq(IRQ_EINT11, s5pc1xx_eint11_interrupt, IRQF_TRIGGER_FALLING, "EINT11", NULL)){
+		printk(KERN_ERR "EINT interrupt can not register\n");
+	}
+
+	tmp = readl(S5P_EINT_WAKEUP_MASK);
+	tmp = ~(1 << (IRQ_EINT11 - IRQ_EINT0));
+	writel(tmp , S5P_EINT_WAKEUP_MASK);
+}
+
+void (*pm_cpu_prep)(void);
+void (*pm_cpu_sleep)(void);
+
+#define any_allowed(mask, allow) (((mask) & (allow)) != (allow))
+
+static int s5pc1xx_pm_clk(enum PLL_TYPE pm_pll,u32 mdiv, u32 pdiv, u32 sdiv)
+{
+	u32 pll_value;
+	u32 pll_addr;
+
+	pll_value = (1 << 31) | (mdiv << 16) | (pdiv << 8) | (sdiv << 0);
+
+	switch(pm_pll)
+	{
+		case PM_APLL:
+			pll_addr = S5P_APLL_CON;
+		case PM_MPLL:
+			pll_addr = S5P_MPLL_CON;
+		case PM_EPLL:
+			pll_addr = S5P_EPLL_CON;
+		case PM_HPLL:
+			pll_addr = S5P_HPLL_CON;
+	}
+
+	writel(pll_value , pll_addr);
+
+	while(!((readl(pll_addr) >> 30) & 0x1)){}
+}
+
+/* s5pc1xx_pm_enter
+ *
+ * central control for sleep/resume process
+*/
+
+static int s5pc1xx_pm_enter(suspend_state_t state)
+{
+	unsigned long regs_save[16];
+	unsigned int tmp;
+
+	/* ensure the debug is initialised (if enabled) */
+
+	DBG("s5pc1xx_pm_enter(%d)\n", state);
+
+	if (pm_cpu_prep == NULL || pm_cpu_sleep == NULL) {
+		printk(KERN_ERR PFX "error: no cpu sleep functions set\n");
+		return -EINVAL;
+	}
+
+	/* store the physical address of the register recovery block */
+	s5pc100_sleep_save_phys = virt_to_phys(regs_save);
+
+	DBG("s5pc1xx_sleep_save_phys=0x%08lx\n", s5pc100_sleep_save_phys);
+
+	s5pc1xx_pm_do_save(gpio_save, ARRAY_SIZE(gpio_save));
+	s5pc1xx_pm_do_save(irq_save, ARRAY_SIZE(irq_save));
+	s5pc1xx_pm_do_save(core_save, ARRAY_SIZE(core_save));
+	s5pc1xx_pm_do_save(sromc_save, ARRAY_SIZE(sromc_save));
+	s5pc1xx_pm_do_save(nand_save, ARRAY_SIZE(nand_save));
+	s5pc1xx_pm_do_save(uart_save, ARRAY_SIZE(uart_save));
+
+	/* ensure INF_REG0  has the resume address */
+	__raw_writel(virt_to_phys(s5pc100_cpu_resume), S5P_INFORM0);
+
+	/* call cpu specific preperation */
+
+	pm_cpu_prep();
+
+	/* flush cache back to ram */
+	flush_cache_all();
+
+	/* send the cpu to sleep... */
+	__raw_writel(0xffffffff, S5PC100_VIC0INTENCLEAR);
+	__raw_writel(0xffffffff, S5PC100_VIC1INTENCLEAR);
+	__raw_writel(0xffffffff, S5PC100_VIC2INTENCLEAR);
+	__raw_writel(0xffffffff, S5PC100_VIC0SOFTINTCLEAR);
+	__raw_writel(0xffffffff, S5PC100_VIC1SOFTINTCLEAR);
+	__raw_writel(0xffffffff, S5PC100_VIC2SOFTINTCLEAR);
+
+	/* Mask all wake up source */
+	tmp = __raw_readl(S5P_PWR_CFG);
+	tmp &= ~(0x1 << 7);
+	tmp |= (0x7ff << 8);
+	/* unmask alarm wakeup source */
+	tmp &= ~(0x1 << 10);
+	__raw_writel(tmp , S5P_PWR_CFG);
+	__raw_writel(0xffffffff , S5P_EINT_WAKEUP_MASK);
+
+	/* Wake up source setting */
+	s5pc1xx_pm_configure_extint();
+
+	/* : USB Power Control */
+	/*   - USB PHY Disable */
+	/*   - Make USB Tranceiver PAD to Suspend */
+	tmp = __raw_readl(S5P_OTHERS);
+   	tmp &= ~(1<<16);           	/* USB Signal Mask Clear */
+   	__raw_writel(tmp, S5P_OTHERS);
+
+	tmp = __raw_readl(S5PC1XX_UHOST);
+	tmp |= (1<<0);
+	__raw_writel(tmp, S5PC1XX_UHOST);
+
+	/* Sleep Mode Pad Configuration */
+	__raw_writel(0x2, S5PC1XX_PDNEN); /* Controlled by SLPEN Bit (You Should Clear SLPEN Bit in Wake Up Process...) */
+    
+	/* Set WFI instruction to SLEEP mode */
+	tmp = __raw_readl(S5P_PWR_CFG);
+	tmp &= S5P_CFG_WFI_CLEAN;
+	tmp |= S5P_CFG_WFI_SLEEP;
+	__raw_writel(tmp, S5P_PWR_CFG);
+
+	/* Clear WAKEUP_STAT register for next wakeup */
+	tmp = __raw_readl(S5P_WAKEUP_STAT);
+	__raw_writel(tmp, S5P_WAKEUP_STAT);
+
+#if 1
+	/* Set Power Stable Count */
+	tmp = __raw_readl(S5P_OTHERS);
+	tmp &=~(1 << S5P_OTHER_STA_TYPE);
+	tmp |= (STA_TYPE_SFR << S5P_OTHER_STA_TYPE);
+	__raw_writel(tmp , S5P_OTHERS);
+	
+	__raw_writel(((S5P_PWR_STABLE_COUNT << S5P_PWR_STA_CNT) | (1 << S5P_PWR_STA_EXP_SCALE)), S5P_PWR_STABLE);
+
+	/* Set Syscon Interrupt */
+	tmp = __raw_readl(S5P_OTHERS);
+	tmp |= (1 << S5P_OTHER_SYS_INT);
+	__raw_writel(tmp, S5P_OTHERS);
+
+	/* Disable OSC_EN (Disable X-tal Osc Pad in Sleep mode) */
+	tmp = __raw_readl(S5P_SLEEP_CFG);
+	tmp &= ~(1 << 0);
+	__raw_writel(tmp, S5P_SLEEP_CFG);
+#endif
+
+	/* s5pc1xx_cpu_save will also act as our return point from when
+	 * we resume as it saves its own register state, so use the return
+	 * code to differentiate return from save and return from sleep */
+
+	if (s5pc100_cpu_save(regs_save) == 0) {
+		flush_cache_all();
+		/* This function for Chip bug on EVT0 */
+#if 0
+		s5pc1xx_pm_clk(PM_APLL, 512 , 2 , 5);
+		s5pc1xx_pm_clk(PM_MPLL, 128 , 2 , 5);
+		s5pc1xx_pm_clk(PM_EPLL, 128 , 2 , 5);
+		s5pc1xx_pm_clk(PM_HPLL, 128 , 2 , 5);
+#endif
+		pm_cpu_sleep();
+	}
+
+	/* restore the cpu state */
+	cpu_init();
+
+	/* Sleep Mode Pad Configuration */
+    	__raw_writel(0x2, S5PC1XX_PDNEN);	/* Clear SLPEN Bit for Pad back to Normal Mode */
+
+	/* MTC IO OFF |  MTC IO SD-MMC OFF | USB Phy Enable */
+	tmp = __raw_readl(S5P_OTHERS);
+   	tmp |= (1<<31);
+	__raw_writel(tmp, S5P_OTHERS);
+
+	tmp = __raw_readl(S5P_OTHERS);
+   	tmp |= ((1<<22)|(1<<16));
+	__raw_writel(tmp, S5P_OTHERS);
+
+	tmp = __raw_readl(S5PC1XX_UHOST);
+	tmp &= ~(1<<0);
+	__raw_writel(tmp, S5PC1XX_UHOST);
+
+	
+	s5pc1xx_pm_do_restore(gpio_save, ARRAY_SIZE(gpio_save));
+	s5pc1xx_pm_do_restore(irq_save, ARRAY_SIZE(irq_save));
+	s5pc1xx_pm_do_restore(core_save, ARRAY_SIZE(core_save));
+	s5pc1xx_pm_do_restore(sromc_save, ARRAY_SIZE(sromc_save));
+	s5pc1xx_pm_do_restore(nand_save, ARRAY_SIZE(nand_save));
+	s5pc1xx_pm_do_restore(uart_save, ARRAY_SIZE(uart_save));
+
+	tmp = readl(weint_base + S5P_APM_WEINT1_PEND);
+	writel(tmp , weint_base + S5P_APM_WEINT1_PEND);
+
+	DBG("post sleep, preparing to return\n");
+
+	s5pc1xx_pm_check_restore();
+
+	/* ok, let's return from sleep */
+	DBG("S3C6410 PM Resume (post-restore)\n");
+	return 0;
+}
+
+
+static struct platform_suspend_ops s5pc1xx_pm_ops = {
+	.enter		= s5pc1xx_pm_enter,
+	.valid		= suspend_valid_only_mem,
+};
+
+/* s5pc1xx_pm_init
+ *
+ * Attach the power management functions. This should be called
+ * from the board specific initialisation if the board supports
+ * it.
+*/
+
+int __init s5pc1xx_pm_init(void)
+{
+	printk("s5pc1xx Power Management, (c) 2008 Samsung Electronics\n");
+	/* set the irq configuration for wake */
+	suspend_set_ops(&s5pc1xx_pm_ops);
+	return 0;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/pwm-s5pc100.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/pwm-s5pc100.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/pwm-s5pc100.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/pwm-s5pc100.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,378 @@
+/* linux/arch/arm/plat-s5pc1xx/pwm-s5pc100.c
+ *
+ * (c) 2003-2005 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S5PC1XX PWM core
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Changelog:
+ * This file is based on the Sangwook Lee/Samsung patches, re-written due
+ * to various ommisions from the code (such as flexible pwm configuration)
+ * for use with the BAST system board.
+ *
+ *
+ */
+#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/input.h>
+#include <linux/init.h>
+#include <linux/serio.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/miscdevice.h>
+#include <linux/clk.h>
+#include <linux/mutex.h>
+#include <linux/gpio.h>
+
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <asm/uaccess.h>
+
+#include <mach/hardware.h>
+#include <mach/irqs.h>
+#include <plat/map.h>
+#include <plat/regs-timer.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-d.h>
+#include "pwm-s5pc100.h"
+
+s5pc100_pwm_chan_t s3c_chans[S3C_PWM_CHANNELS];
+
+static inline void
+s5pc100_pwm_buffdone(s5pc100_pwm_chan_t *chan, void *dev)
+{
+
+	if (chan->callback_fn != NULL) {
+		(chan->callback_fn)( dev);
+	}
+}
+
+
+static int s5pc100_pwm_start (int channel)
+{
+	unsigned long tcon;
+	tcon = __raw_readl(S3C_TCON);
+	switch(channel)
+	{
+	case 0:
+		tcon |= S3C_TCON_T0START;
+		tcon &= ~S3C_TCON_T0MANUALUPD;
+	break;
+	case 1:
+		tcon |= S3C_TCON_T1START;
+		tcon &= ~S3C_TCON_T1MANUALUPD;
+	break;
+	case 2:
+		tcon |= S3C_TCON_T2START;
+		tcon &= ~S3C_TCON_T2MANUALUPD;
+	break;
+	case 3:
+		tcon |= S3C_TCON_T3START;
+		tcon &= ~S3C_TCON_T3MANUALUPD;
+	break;
+	case 4:
+		tcon |= S3C_TCON_T4START;
+		tcon &= ~S3C_TCON_T4MANUALUPD;
+	break;
+	}
+	__raw_writel(tcon, S3C_TCON);
+
+	return 0;
+}
+
+
+int s5pc100_timer_setup (int channel, int usec, unsigned long g_tcnt, unsigned long g_tcmp)
+{
+	unsigned long tcon;
+	unsigned long tcnt;
+	unsigned long tcmp;
+	unsigned long tcfg1;
+	unsigned long tcfg0;
+	unsigned long pclk;
+	struct clk *clk;
+
+	printk("\nPWM channel %d set g_tcnt = %ld, g_tcmp = %ld \n", channel, g_tcnt, g_tcmp);
+
+	tcnt = 0xffffffff;  /* default value for tcnt */
+
+	/* read the current timer configuration bits */
+	tcon = __raw_readl(S3C_TCON);
+	tcfg1 = __raw_readl(S3C_TCFG1);
+	tcfg0 = __raw_readl(S3C_TCFG0);
+
+	clk = clk_get(NULL, "timers");
+	if (IS_ERR(clk))
+		panic("failed to get clock for pwm timer");
+
+	clk_enable(clk);
+
+	pclk = clk_get_rate(clk);
+
+	/* configure clock tick */
+	switch(channel)
+	{
+		case 0:
+			/* set gpio as PWM TIMER0 to signal output*/
+	                s3c_gpio_cfgpin(S5PC1XX_GPD(0), S5PC1XX_GPD0_TOUT_0);
+                        gpio_set_value(S5PC1XX_GPD(0), 0);			
+			tcfg1 &= ~S3C_TCFG1_MUX0_MASK;
+			tcfg1 |= S3C_TCFG1_MUX1_DIV2;
+
+			tcfg0 &= ~S3C_TCFG_PRESCALER0_MASK;
+			tcfg0 |= (PRESCALER) << S3C_TCFG_PRESCALER0_SHIFT;
+			tcon &= ~(7<<0);
+			tcon |= S3C_TCON_T0RELOAD;
+			break;
+
+		case 1:
+			/* set gpio as PWM TIMER1 to signal output*/
+                        s3c_gpio_cfgpin(S5PC1XX_GPD(1), S5PC1XX_GPD1_TOUT_1);
+                        gpio_set_value(S5PC1XX_GPD(1), 0);
+			tcfg1 &= ~S3C_TCFG1_MUX1_MASK;
+			tcfg1 |= S3C_TCFG1_MUX1_DIV2;
+
+			tcfg0 &= ~S3C_TCFG_PRESCALER0_MASK;
+			tcfg0 |= (PRESCALER) << S3C_TCFG_PRESCALER0_SHIFT;
+
+			tcon &= ~(7<<8);
+			tcon |= S3C_TCON_T1RELOAD;
+			break;
+		case 2:
+			/* set gpio as PWM TIMER2 to signal output*/
+	                s3c_gpio_cfgpin(S5PC1XX_GPD(2), S5PC1XX_GPD0_TOUT_0);
+                        gpio_set_value(S5PC1XX_GPD(2), 0);			
+			tcfg1 &= ~S3C_TCFG1_MUX2_MASK;
+			tcfg1 |= S3C_TCFG1_MUX2_DIV2;
+
+			tcfg0 &= ~S3C_TCFG_PRESCALER1_MASK;
+			tcfg0 |= (PRESCALER) << S3C_TCFG_PRESCALER1_SHIFT;
+
+			tcon &= ~(7<<12);
+			tcon |= S3C_TCON_T2RELOAD;
+			break;
+		case 3:
+			tcfg1 &= ~S3C_TCFG1_MUX3_MASK;
+			tcfg1 |= S3C_TCFG1_MUX3_DIV2;
+
+			tcfg0 &= ~S3C_TCFG_PRESCALER1_MASK;
+			tcfg0 |= (PRESCALER) << S3C_TCFG_PRESCALER1_SHIFT;
+			tcon &= ~(7<<16);
+			tcon |= S3C_TCON_T3RELOAD;
+			break;
+		case 4:
+			tcfg1 &= ~S3C_TCFG1_MUX4_MASK;
+			tcfg1 |= S3C_TCFG1_MUX4_DIV2;
+
+			tcfg0 &= ~S3C_TCFG_PRESCALER1_MASK;
+			tcfg0 |= (PRESCALER) << S3C_TCFG_PRESCALER1_SHIFT;
+			tcon &= ~(7<<20);
+			tcon |= S3C_TCON_T3RELOAD;
+			break;
+	}
+
+	__raw_writel(tcfg1, S3C_TCFG1);
+	__raw_writel(tcfg0, S3C_TCFG0);
+
+
+	__raw_writel(tcon, S3C_TCON);
+	
+	/*tcnt = 160;
+	__raw_writel(tcnt, S3C_TCNTB(channel));
+	tcmp = 110;
+	__raw_writel(tcmp, S3C_TCMPB(channel));*/
+
+	switch(channel)
+	{
+		case 0:
+			tcon |= S3C_TCON_T0MANUALUPD;
+			break;
+		case 1:
+			tcon |= S3C_TCON_T1MANUALUPD;
+			break;
+		case 2:
+			tcon |= S3C_TCON_T2MANUALUPD;
+			break;
+		case 3:
+			tcon |= S3C_TCON_T3MANUALUPD;
+			break;
+		case 4:
+			tcon |= S3C_TCON_T4MANUALUPD;
+			break;
+	}
+	__raw_writel(tcon, S3C_TCON);
+
+	tcnt = g_tcnt;
+	__raw_writel(tcnt, S3C_TCNTB(channel));
+
+	tcmp = g_tcmp;
+	__raw_writel(tcmp, S3C_TCMPB(channel));
+
+	/* start the timer running */
+	s5pc100_pwm_start ( channel);
+
+	return 0;
+}
+
+
+static irqreturn_t s5pc100_pwm_irq(int irq, void *devpw)
+{
+	s5pc100_pwm_chan_t *chan = (s5pc100_pwm_chan_t *)devpw;
+	void *dev=chan->dev;
+
+	/* modify the channel state */
+	s5pc100_pwm_buffdone(chan, dev);
+
+	return IRQ_HANDLED;
+}
+
+
+int s5pc100_pwm_request(pwmch_t  channel, s3c_pwm_client_t *client, void *dev)
+{
+	s5pc100_pwm_chan_t *chan = &s3c_chans[channel];
+	unsigned long flags;
+	int err;
+
+	pr_debug("pwm%d: s3c_request_pwm: client=%s, dev=%p\n",
+		 channel, client->name, dev);
+
+
+	local_irq_save(flags);
+
+
+	if (chan->in_use) {
+		if (client != chan->client) {
+			printk(KERN_ERR "pwm%d: already in use\n", channel);
+			local_irq_restore(flags);
+			return -EBUSY;
+		} else {
+			printk(KERN_ERR "pwm%d: client already has channel\n", channel);
+		}
+	}
+
+	chan->client = client;
+	chan->in_use = 1;
+	chan->dev = dev;
+
+	if (!chan->irq_claimed) {
+		pr_debug("pwm%d: %s : requesting irq %d\n",
+			 channel, __FUNCTION__, chan->irq);
+		 
+		err = request_irq(chan->irq, s5pc100_pwm_irq, IRQF_DISABLED,
+				  client->name, (void *)chan);
+
+		if (err) {
+			chan->in_use = 0;
+			local_irq_restore(flags);
+
+			printk(KERN_ERR "%s: cannot get IRQ %d for PWM %d\n",
+			       client->name, chan->irq, chan->number);
+			return err;
+		}
+
+		chan->irq_claimed = 1;
+		chan->irq_enabled = 1;
+	}
+
+	local_irq_restore(flags);
+
+	/* need to setup */
+
+	pr_debug("%s: channel initialised, %p\n", __FUNCTION__, chan);
+
+	return 0;
+}
+
+int s5pc100_pwm_free (pwmch_t channel, s3c_pwm_client_t *client)
+{
+	s5pc100_pwm_chan_t *chan = &s3c_chans[channel];
+	unsigned long flags;
+
+
+	local_irq_save(flags);
+
+	if (chan->client != client) {
+		printk(KERN_WARNING "pwm%d: possible free from different client (channel %p, passed %p)\n",
+		       channel, chan->client, client);
+	}
+
+	/* sort out stopping and freeing the channel */
+
+
+	chan->client = NULL;
+	chan->in_use = 0;
+
+	if (chan->irq_claimed)
+		free_irq(chan->irq, (void *)chan);
+	chan->irq_claimed = 0;
+
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+
+int s5pc100_pwm_set_buffdone_fn(pwmch_t channel, s3c_pwm_cbfn_t rtn)
+{
+	s5pc100_pwm_chan_t *chan = &s3c_chans[channel];
+
+
+	pr_debug("%s: chan=%d, callback rtn=%p\n", __FUNCTION__, channel, rtn);
+
+	chan->callback_fn = rtn;
+
+	return 0;
+}
+
+
+#define s5pc100_pwm_suspend NULL
+#define s5pc100_pwm_resume  NULL
+
+struct sysdev_class pwm_sysclass = {
+	.name           = "s3c-pwm",	
+	.suspend	= s5pc100_pwm_suspend,
+	.resume		= s5pc100_pwm_resume,
+};
+
+
+/* initialisation code */
+
+static int __init s5pc100_init_pwm(void)
+{
+	s5pc100_pwm_chan_t *cp;
+	int channel;
+	int ret;
+
+	printk("S3C PWM Driver, (c) 2006-2007 Samsung Electronics\n");
+
+	ret = sysdev_class_register(&pwm_sysclass);
+	if (ret != 0) {
+		printk(KERN_ERR "pwm sysclass registration failed\n");
+		return -ENODEV;
+	}
+
+	for (channel = 0; channel < S3C_PWM_CHANNELS; channel++) {
+		cp = &s3c_chans[channel];
+
+		memset(cp, 0, sizeof(s5pc100_pwm_chan_t));
+
+		cp->number = channel;
+		/* pwm channel irqs are in order.. */
+		cp->irq    = channel + IRQ_TIMER0;
+
+		/* register system device */
+
+		ret = sysdev_register(&cp->sysdev);
+
+		pr_debug("PWM channel %d , irq %d\n",
+		       cp->number,  cp->irq);
+	}
+
+	return ret;
+}
+__initcall(s5pc100_init_pwm);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/pwm-s5pc100.h linux-2.6.28.6/arch/arm/plat-s5pc1xx/pwm-s5pc100.h
--- linux-2.6.28/arch/arm/plat-s5pc1xx/pwm-s5pc100.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/pwm-s5pc100.h	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,78 @@
+/* arch/arm/plat-s5pc1xx/pwm-s5pc100.h
+ *
+ * Copyright (C) 2003,2004 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * Samsung S5PC1XX PWM support
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Changelog:
+ *  ??-May-2003 BJD   Created file
+ *  ??-Jun-2003 BJD   Added more dma functionality to go with arch
+ *  10-Nov-2004 BJD   Added sys_device support
+*/
+
+#ifndef __ASM_ARCH_DMA_H
+#define __ASM_ARCH_DMA_H __FILE__
+
+#include <linux/sysdev.h>
+#include <plat/regs-timer.h>
+
+
+#define pwmch_t int
+
+/* we have 4 pwm channels */
+#define S3C_PWM_CHANNELS        5
+#define PRESCALER 		((4-1)/2)
+
+struct s3c_pwm_client {
+	char                *name;
+};
+
+typedef struct s3c_pwm_client s3c_pwm_client_t;
+
+
+typedef struct s3c_pwm_chan_s s5pc100_pwm_chan_t;
+
+/* s3c_pwm_cbfn_t
+ *
+ * buffer callback routine type
+*/
+
+typedef void (*s3c_pwm_cbfn_t)(void *buf);
+
+
+
+/* struct s3c_pwm_chan_s
+ *
+ * full state information for each DMA channel
+*/
+
+struct s3c_pwm_chan_s {
+	/* channel state flags and information */
+	unsigned char          number;      /* number of this dma channel */
+	unsigned char          in_use;      /* channel allocated */
+	unsigned char          irq_claimed; /* irq claimed for channel */
+	unsigned char          irq_enabled; /* irq enabled for channel */
+
+	/* channel state */
+
+	s3c_pwm_client_t  *client;
+	void 	*dev;
+	/* channel configuration */
+	unsigned int           flags;        /* channel flags */
+
+	/* channel's hardware position and configuration */
+	unsigned int           irq;          /* channel irq */
+
+	/* driver handles */
+	s3c_pwm_cbfn_t     callback_fn;  /* buffer done callback */
+
+	/* system device */
+	struct sys_device	sysdev;
+};
+
+#endif /* __ASM_ARCH_DMA_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/pwm.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/pwm.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/pwm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/pwm.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,432 @@
+/* arch/arm/plat-s5pc1xx/pwm.c
+ *
+ * Copyright (c) 2007 Ben Dooks
+ * Copyright (c) 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>, <ben-linux@fluff.org>
+ *
+ * S5PC1XX PWM device core
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/platform_device.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+#include <linux/pwm.h>
+#include <linux/gpio.h>
+
+#include <mach/map.h>
+#include <plat/devs.h>
+#include <plat/regs-timer.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-d.h>
+
+struct pwm_device {
+	struct list_head	 list;
+	struct platform_device	*pdev;
+
+	struct clk		*clk_div;
+	struct clk		*clk;
+	const char		*label;
+
+	unsigned int		 period_ns;
+	unsigned int		 duty_ns;
+
+	unsigned char		 tcon_base;
+	unsigned char		 running;
+	unsigned char		 use_count;
+	unsigned char		 pwm_id;
+};
+
+#define pwm_dbg(_pwm, msg...) dev_dbg(&(_pwm)->pdev->dev, msg)
+
+static struct clk *clk_scaler[2];
+
+/* Standard setup for a timer block. */
+
+#define TIMER_RESOURCE_SIZE (1)
+
+#define TIMER_RESOURCE(_tmr, _irq)			\
+	(struct resource [TIMER_RESOURCE_SIZE]) {	\
+		[0] = {					\
+			.start	= _irq,			\
+			.end	= _irq,			\
+			.flags	= IORESOURCE_IRQ	\
+		}					\
+	}
+
+#define DEFINE_S3C_TIMER(_tmr_no, _irq)			\
+	.name		= "s3c24xx-pwm",		\
+	.id		= _tmr_no,			\
+	.num_resources	= TIMER_RESOURCE_SIZE,		\
+	.resource	= TIMER_RESOURCE(_tmr_no, _irq),	\
+
+/* since we already have an static mapping for the timer, we do not
+ * bother setting any IO resource for the base.
+ */
+
+struct platform_device s3c_device_timer[] = {
+	[0] = { DEFINE_S3C_TIMER(0, IRQ_TIMER0) },
+	[1] = { DEFINE_S3C_TIMER(1, IRQ_TIMER1) },
+	[2] = { DEFINE_S3C_TIMER(2, IRQ_TIMER2) },
+	[3] = { DEFINE_S3C_TIMER(3, IRQ_TIMER3) },
+	[4] = { DEFINE_S3C_TIMER(4, IRQ_TIMER4) },
+};
+
+static inline int pwm_is_tdiv(struct pwm_device *pwm)
+{
+	return clk_get_parent(pwm->clk) == pwm->clk_div;
+}
+
+static DEFINE_MUTEX(pwm_lock);
+static LIST_HEAD(pwm_list);
+
+struct pwm_device *pwm_request(int pwm_id, const char *label)
+{
+	struct pwm_device *pwm;
+	int found = 0;
+
+	mutex_lock(&pwm_lock);
+
+	list_for_each_entry(pwm, &pwm_list, list) {
+		if (pwm->pwm_id == pwm_id) {
+			found = 1;
+			break;
+		}
+	}
+
+	if (found) {
+		if (pwm->use_count == 0) {
+			pwm->use_count = 1;
+			pwm->label = label;
+		} else
+			pwm = ERR_PTR(-EBUSY);
+	} else
+		pwm = ERR_PTR(-ENOENT);
+
+	mutex_unlock(&pwm_lock);
+	return pwm;
+}
+
+EXPORT_SYMBOL(pwm_request);
+
+
+void pwm_free(struct pwm_device *pwm)
+{
+	mutex_lock(&pwm_lock);
+
+	if (pwm->use_count) {
+		pwm->use_count--;
+		pwm->label = NULL;
+	} else
+		printk(KERN_ERR "PWM%d device already freed\n", pwm->pwm_id);
+
+	mutex_unlock(&pwm_lock);
+}
+
+EXPORT_SYMBOL(pwm_free);
+
+#define pwm_tcon_start(pwm) (1 << (pwm->tcon_base + 0))
+#define pwm_tcon_invert(pwm) (1 << (pwm->tcon_base + 2))
+#define pwm_tcon_autoreload(pwm) (1 << (pwm->tcon_base + 3))
+#define pwm_tcon_manulupdate(pwm) (1 << (pwm->tcon_base + 1))
+
+int pwm_enable(struct pwm_device *pwm)
+{
+	unsigned long flags;
+	unsigned long tcon;
+
+	local_irq_save(flags);
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon |= pwm_tcon_start(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+	pwm->running = 1;
+	return 0;
+}
+
+EXPORT_SYMBOL(pwm_enable);
+
+void pwm_disable(struct pwm_device *pwm)
+{
+	unsigned long flags;
+	unsigned long tcon;
+
+	local_irq_save(flags);
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon &= ~pwm_tcon_start(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+	pwm->running = 0;
+}
+
+EXPORT_SYMBOL(pwm_disable);
+
+static unsigned long pwm_calc_tin(struct pwm_device *pwm, unsigned long freq)
+{
+	unsigned long tin_parent_rate;
+	unsigned int div;
+
+	tin_parent_rate = clk_get_rate(clk_get_parent(pwm->clk_div));
+	pwm_dbg(pwm, "tin parent at %lu\n", tin_parent_rate);
+
+	for (div = 2; div <= 16; div *= 2) {
+		if ((tin_parent_rate / (div << 16)) < freq)
+			return tin_parent_rate / div;
+	}
+
+	return tin_parent_rate / 16;
+}
+
+#define NS_IN_HZ (1000000000UL)
+
+int pwm_config(struct pwm_device *pwm, int duty_ns, int period_ns)
+{
+	unsigned long tin_rate;
+	unsigned long tin_ns;
+	unsigned long period;
+	unsigned long flags;
+	unsigned long tcon;
+	unsigned long tcnt;
+	long tcmp;
+
+	/* We currently avoid using 64bit arithmetic by using the
+	 * fact that anything faster than 1Hz is easily representable
+	 * by 32bits. */
+
+	if (period_ns > NS_IN_HZ || duty_ns > NS_IN_HZ)
+		return -ERANGE;
+
+	if (duty_ns > period_ns)
+		return -EINVAL;
+
+	if (period_ns == pwm->period_ns &&
+	    duty_ns == pwm->duty_ns)
+		return 0;
+
+	/* The TCMP and TCNT can be read without a lock, they're not
+	 * shared between the timers. */
+
+	tcmp = __raw_readl(S3C2410_TCMPB(pwm->pwm_id));
+	tcnt = __raw_readl(S3C2410_TCNTB(pwm->pwm_id));
+
+	period = NS_IN_HZ / period_ns;
+
+	pwm_dbg(pwm, "duty_ns=%d, period_ns=%d (%lu)\n",
+		duty_ns, period_ns, period);
+
+	/* Check to see if we are changing the clock rate of the PWM */
+
+	if (pwm->period_ns != period_ns) {
+		if (pwm_is_tdiv(pwm)) {
+			tin_rate = pwm_calc_tin(pwm, period);
+			clk_set_rate(pwm->clk_div, tin_rate);
+		} else
+			tin_rate = clk_get_rate(pwm->clk);
+
+		pwm->period_ns = period_ns;
+
+		pwm_dbg(pwm, "tin_rate=%lu\n", tin_rate);
+
+		tin_ns = NS_IN_HZ / tin_rate;
+		tcnt = period_ns / tin_ns;
+	} else
+		tin_ns = NS_IN_HZ / clk_get_rate(pwm->clk);
+
+	/* Note, counters count down */
+
+	tcmp = duty_ns / tin_ns;
+	tcmp = tcnt - tcmp;
+
+	pwm_dbg(pwm, "tin_ns=%lu, tcmp=%ld/%lu\n", tin_ns, tcmp, tcnt);
+
+	if (tcmp < 0)
+		tcmp = 0;
+
+	/* Update the PWM register block. */
+
+	local_irq_save(flags);
+
+	__raw_writel(tcmp, S3C2410_TCMPB(pwm->pwm_id));
+	__raw_writel(tcnt, S3C2410_TCNTB(pwm->pwm_id));
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon |= pwm_tcon_manulupdate(pwm);
+	tcon |= pwm_tcon_autoreload(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	tcon &= ~pwm_tcon_manulupdate(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+	return 0;
+}
+
+EXPORT_SYMBOL(pwm_config);
+
+static int pwm_register(struct pwm_device *pwm)
+{
+	pwm->duty_ns = -1;
+	pwm->period_ns = -1;
+
+	mutex_lock(&pwm_lock);
+	list_add_tail(&pwm->list, &pwm_list);
+	mutex_unlock(&pwm_lock);
+
+	return 0;
+}
+
+static int s3c_pwm_probe(struct platform_device *pdev)
+{
+	struct device *dev = &pdev->dev;
+	struct pwm_device *pwm;
+	unsigned long flags;
+	unsigned long tcon;
+	unsigned int id = pdev->id;
+	int ret;
+
+	if (id == 0) {
+		if(gpio_is_valid(S5PC1XX_GPD(0))) {
+			ret = gpio_request(S5PC1XX_GPD(0), "GPD");
+
+			if (ret) {
+				printk(KERN_ERR "failed to request GPD for PWM-OUT 0\n");
+			}
+			s3c_gpio_cfgpin(S5PC1XX_GPD(0), S5PC1XX_GPD0_TOUT_0);			 
+		}
+	} else if(id == 1) {
+		if(gpio_is_valid(S5PC1XX_GPD(1))) {
+			ret = gpio_request(S5PC1XX_GPD(1), "GPD");
+
+			if (ret) {
+				printk(KERN_ERR "failed to request GPD for PWM-OUT 1\n");
+			}
+			s3c_gpio_cfgpin(S5PC1XX_GPD(1), S5PC1XX_GPD1_TOUT_1);			 
+		}
+	
+	} else {
+		printk(KERN_ERR "This PWM dosen't support PWM out\n");
+	}
+
+	if (id == 4) {
+		dev_err(dev, "TIMER4 is currently not supported\n");
+		return -ENXIO;
+	}
+
+	pwm = kzalloc(sizeof(struct pwm_device), GFP_KERNEL);
+	if (pwm == NULL) {
+		dev_err(dev, "failed to allocate pwm_device\n");
+		return -ENOMEM;
+	}
+
+	pwm->pdev = pdev;
+	pwm->pwm_id = id;
+
+	/* calculate base of control bits in TCON */
+	pwm->tcon_base = id == 0 ? 0 : (id * 4) + 4;
+
+	pwm->clk = clk_get(dev, "pwm-tin");
+	if (IS_ERR(pwm->clk)) {
+		dev_err(dev, "failed to get pwm tin clk\n");
+		ret = PTR_ERR(pwm->clk);
+		goto err_alloc;
+	}
+
+	pwm->clk_div = clk_get(dev, "pwm-tdiv");
+	if (IS_ERR(pwm->clk_div)) {
+		dev_err(dev, "failed to get pwm tdiv clk\n");
+		ret = PTR_ERR(pwm->clk_div);
+		goto err_clk_tin;
+	}
+
+	local_irq_save(flags);
+
+	tcon = __raw_readl(S3C2410_TCON);
+	tcon |= pwm_tcon_invert(pwm);
+	__raw_writel(tcon, S3C2410_TCON);
+
+	local_irq_restore(flags);
+
+
+	ret = pwm_register(pwm);
+	if (ret) {
+		dev_err(dev, "failed to register pwm\n");
+		goto err_clk_tdiv;
+	}
+
+	pwm_dbg(pwm, "config bits %02x\n",
+		(__raw_readl(S3C2410_TCON) >> pwm->tcon_base) & 0x0f);
+
+	dev_info(dev, "tin at %lu, tdiv at %lu, tin=%sclk, base %d\n",
+		 clk_get_rate(pwm->clk),
+		 clk_get_rate(pwm->clk_div),
+		 pwm_is_tdiv(pwm) ? "div" : "ext", pwm->tcon_base);
+
+	platform_set_drvdata(pdev, pwm);
+	return 0;
+
+ err_clk_tdiv:
+	clk_put(pwm->clk_div);
+
+ err_clk_tin:
+	clk_put(pwm->clk);
+
+ err_alloc:
+	kfree(pwm);
+	return ret;
+}
+
+static int s3c_pwm_remove(struct platform_device *pdev)
+{
+	struct pwm_device *pwm = platform_get_drvdata(pdev);
+
+	clk_put(pwm->clk_div);
+	clk_put(pwm->clk);
+	kfree(pwm);
+
+	return 0;
+}
+
+static struct platform_driver s3c_pwm_driver = {
+	.driver		= {
+		.name	= "s3c24xx-pwm",
+		.owner	= THIS_MODULE,
+	},
+	.probe		= s3c_pwm_probe,
+	.remove		= __devexit_p(s3c_pwm_remove),
+};
+
+static int __init pwm_init(void)
+{
+	int ret;
+
+	clk_scaler[0] = clk_get(NULL, "pwm-scaler0");
+	clk_scaler[1] = clk_get(NULL, "pwm-scaler1");
+
+	if (IS_ERR(clk_scaler[0]) || IS_ERR(clk_scaler[1])) {
+		printk(KERN_ERR "%s: failed to get scaler clocks\n", __func__);
+		return -EINVAL;
+	}
+
+	ret = platform_driver_register(&s3c_pwm_driver);
+	if (ret)
+		printk(KERN_ERR "%s: failed to add pwm driver\n", __func__);
+
+	return ret;
+}
+
+arch_initcall(pwm_init);
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/s5pc100-clock.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/s5pc100-clock.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/s5pc100-clock.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/s5pc100-clock.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,1181 @@
+/* linux/arch/arm/plat-s5pc1xx/s5pc100-clock.c
+ *
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/list.h>
+#include <linux/errno.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/sysdev.h>
+#include <linux/io.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/cpu-freq.h>
+
+#include <plat/regs-clock.h>
+#include <plat/clock.h>
+#include <plat/cpu.h>
+#include <plat/pll.h>
+
+/* For S5PC100 EVT0 workaround
+ * When we modify DIVarm value to change ARM speed D0_BUS parent clock is also changed
+ * If we prevent from unwanted changing of bus clock, we should modify DIVd0_bus value also.
+ */
+#define PREVENT_BUS_CLOCK_CHANGE
+
+extern void ChangeClkDiv0(unsigned int val);
+
+/* fin_apll, fin_mpll and fin_epll are all the same clock, which we call
+ * ext_xtal_mux for want of an actual name from the manual.
+*/
+static unsigned long s5pc1xx_roundrate_clksrc(struct clk *clk, unsigned long rate);
+
+struct clk clk_ext_xtal_mux = {
+	.name		= "ext_xtal",
+	.id		= -1,
+};
+
+#define clk_fin_apll	clk_ext_xtal_mux
+#define clk_fin_mpll	clk_ext_xtal_mux
+#define clk_fin_epll	clk_ext_xtal_mux
+#define clk_fin_hpll	clk_ext_xtal_mux
+
+#define clk_fout_mpll	clk_mpll
+
+struct clk_sources {
+	unsigned int	nr_sources;
+	struct clk	**sources;
+};
+
+struct clksrc_clk {
+	struct clk		clk;
+	unsigned int		mask;
+	unsigned int		shift;
+
+	struct clk_sources	*sources;
+
+	unsigned int		divider_shift;
+	void __iomem		*reg_divider;
+	void __iomem		*reg_source;
+};
+
+struct clk clk_srclk = {
+	.name		= "srclk",
+	.id		= -1,
+};
+
+struct clk clk_fout_apll = {
+	.name		= "fout_apll",
+	.id		= -1,
+};
+
+static struct clk *clk_src_apll_list[] = {
+	[0] = &clk_fin_apll,
+	[1] = &clk_fout_apll,
+};
+
+static struct clk_sources clk_src_apll = {
+	.sources	= clk_src_apll_list,
+	.nr_sources	= ARRAY_SIZE(clk_src_apll_list),
+};
+
+struct clksrc_clk clk_mout_apll = {
+	.clk	= {
+		.name		= "mout_apll",
+		.id		= -1,
+	},
+	.shift		= S5P_CLKSRC0_APLL_SHIFT,
+	.mask		= S5P_CLKSRC0_APLL_MASK,
+	.sources	= &clk_src_apll,
+	.reg_source	= S5P_CLK_SRC0,
+};
+
+
+static unsigned long s5pc1xx_clk_doutapll_get_rate(struct clk *clk)
+{
+  	unsigned long rate = clk_get_rate(clk->parent);
+
+	rate /= (((__raw_readl(S5P_CLK_DIV0) & S5P_CLKDIV0_APLL_MASK) >> S5P_CLKDIV0_APLL_SHIFT) + 1);
+
+	return rate;
+}
+
+int s5pc1xx_clk_doutapll_set_rate(struct clk *clk, unsigned long rate)
+{
+	struct clk *temp_clk = clk;
+	unsigned int div;
+	u32 val;
+
+	rate = clk_round_rate(temp_clk, rate);
+	div = clk_get_rate(temp_clk->parent) / rate;
+
+	val = __raw_readl(S5P_CLK_DIV0);
+	val &=~ S5P_CLKDIV0_APLL_MASK;
+	val |= (div - 1) << S5P_CLKDIV0_APLL_SHIFT;
+	__raw_writel(val, S5P_CLK_DIV0);
+
+	return 0;
+}
+
+struct clk clk_dout_apll = {
+	.name = "dout_apll",
+	.id = -1,
+	.parent = &clk_mout_apll.clk,
+	.get_rate = s5pc1xx_clk_doutapll_get_rate,
+	.set_rate = s5pc1xx_clk_doutapll_set_rate,
+};
+
+static unsigned long s5pc1xx_clk_doutarm_get_rate(struct clk *clk)
+{
+	unsigned long rate = clk_get_rate(clk->parent);
+
+	rate /= (((__raw_readl(S5P_CLK_DIV0) & S5P_CLKDIV0_ARM_MASK) >> S5P_CLKDIV0_ARM_SHIFT) + 1);
+
+	return rate;
+}
+
+static unsigned long s5pc1xx_doutarm_roundrate(struct clk *clk,
+					      unsigned long rate)
+{
+	unsigned long parent_rate = clk_get_rate(clk->parent);
+	int div;
+
+	if (rate > parent_rate)
+		rate = parent_rate;
+	else {
+		div = parent_rate / rate;
+
+		div ++;
+		
+		rate = parent_rate / div;
+	}
+
+	return rate;
+}
+
+int s5pc1xx_clk_doutarm_set_rate(struct clk *clk, unsigned long rate)
+{
+	struct clk *temp_clk = clk;
+	unsigned int div_arm;
+	unsigned int val;
+#ifdef PREVENT_BUS_CLOCK_CHANGE
+	unsigned int d0_bus_ratio, arm_ratio_old, ratio;
+	val = __raw_readl(S5P_CLK_DIV0);
+	d0_bus_ratio = (val & S5P_CLKDIV0_D0_MASK) >> S5P_CLKDIV0_D0_SHIFT;
+	arm_ratio_old = (val & S5P_CLKDIV0_ARM_MASK) >> S5P_CLKDIV0_ARM_SHIFT;
+	ratio = (arm_ratio_old + 1) * (d0_bus_ratio + 1);
+#endif
+	div_arm = clk_get_rate(temp_clk->parent) / rate;
+	
+#ifndef PREVENT_BUS_CLOCK_CHANGE
+	val = __raw_readl(S5P_CLK_DIV0);
+	val &=~ S5P_CLKDIV0_ARM_MASK;
+	val |= (div_arm - 1) << S5P_CLKDIV0_ARM_SHIFT;
+#else	
+	d0_bus_ratio = (ratio / div_arm) -1;
+	val &=~ (S5P_CLKDIV0_ARM_MASK | S5P_CLKDIV0_D0_MASK);
+	val |= (div_arm - 1) << S5P_CLKDIV0_ARM_SHIFT;
+	val |= d0_bus_ratio << S5P_CLKDIV0_D0_SHIFT;
+	//printk(KERN_INFO "d0_bus_ratio : %08d ,arm_ratio: %08d\n",d0_bus_ratio, (div_arm-1));
+	
+#endif
+
+#ifdef PREVENT_BUS_CLOCK_CHANGE
+
+#if 0
+	iter = 0x4000;
+	flag = __raw_readl(S5P_CLK_DIV0);
+	__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \
+				    : : "r" (flag) : "memory");
+	__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \
+				    : : "r" (flag) : "memory");
+	
+	do {
+		iter--;
+		if(iter == 0x2000) {
+			__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 4" \
+						    : : "r" (flag) : "memory");
+			__asm__  __volatile__ ("mcr p15, 0, %0, c7, c10, 5" \
+						    : : "r" (flag) : "memory");
+			__raw_writel(val, S5P_CLK_DIV0);			
+		}
+		if(iter <= 0)
+			break;
+		
+	} while(1);
+#else
+	/* Clock Down */
+	if(arm_ratio_old < (div_arm - 1)) {
+		val = __raw_readl(S5P_CLK_DIV0);
+		val &=~ S5P_CLKDIV0_ARM_MASK;
+		val |= (div_arm - 1) << S5P_CLKDIV0_ARM_SHIFT;
+		__raw_writel(val, S5P_CLK_DIV0);
+
+		val = __raw_readl(S5P_CLK_DIV0);
+		val &=~ S5P_CLKDIV0_D0_MASK;
+		val |= d0_bus_ratio << S5P_CLKDIV0_D0_SHIFT;
+		__raw_writel(val, S5P_CLK_DIV0);
+		
+	} else {
+		val = __raw_readl(S5P_CLK_DIV0);
+		val &=~ S5P_CLKDIV0_D0_MASK;
+		val |= d0_bus_ratio << S5P_CLKDIV0_D0_SHIFT;
+		__raw_writel(val, S5P_CLK_DIV0);
+
+		val = __raw_readl(S5P_CLK_DIV0);
+		val &=~ S5P_CLKDIV0_ARM_MASK;
+		val |= (div_arm - 1) << S5P_CLKDIV0_ARM_SHIFT;
+		__raw_writel(val, S5P_CLK_DIV0);
+	}
+
+#endif
+
+#else
+	__raw_writel(val, S5P_CLK_DIV0);
+#endif
+	return 0;
+}
+
+struct clk clk_dout_arm = {
+	.name = "dout_arm",
+	.id = -1,
+	.parent = &clk_dout_apll,
+	.get_rate = s5pc1xx_clk_doutarm_get_rate,
+	.set_rate = s5pc1xx_clk_doutarm_set_rate,
+	.round_rate	= s5pc1xx_doutarm_roundrate,
+};
+
+struct clk clk_fout_epll = {
+	.name		= "fout_epll",
+	.id		= -1,
+};
+
+static struct clk *clk_src_epll_list[] = {
+	[0] = &clk_fin_epll,
+	[1] = &clk_fout_epll,
+};
+
+static struct clk_sources clk_src_epll = {
+	.sources	= clk_src_epll_list,
+	.nr_sources	= ARRAY_SIZE(clk_src_epll_list),
+};
+
+struct clksrc_clk clk_mout_epll = {
+	.clk	= {
+		.name		= "mout_epll",
+		.id		= -1,
+	},
+	.shift		= S5P_CLKSRC0_EPLL_SHIFT,
+	.mask		= S5P_CLKSRC0_EPLL_MASK,
+	.sources	= &clk_src_epll,
+	.reg_source	= S5P_CLK_SRC0,
+};
+
+static struct clk *clk_src_hpll_list[] = {
+	[0] = &clk_27m,
+	[1] = &clk_srclk,
+};
+
+static struct clk_sources clk_src_hpll = {
+	.sources	= clk_src_hpll_list,
+	.nr_sources	= ARRAY_SIZE(clk_src_hpll_list),
+};
+
+struct clksrc_clk clk_mout_hpll = {
+	.clk	= {
+		.name		= "mout_hpll",
+		.id		= -1,
+	},
+	.shift		= S5P_CLKSRC0_HPLL_SHIFT,
+	.mask		= S5P_CLKSRC0_HPLL_MASK,
+	.sources	= &clk_src_hpll,
+	.reg_source	= S5P_CLK_SRC0,
+};
+
+static struct clk *clk_src_mpll_list[] = {
+	[0] = &clk_fin_mpll,
+	[1] = &clk_fout_mpll,
+};
+
+static struct clk_sources clk_src_mpll = {
+	.sources	= clk_src_mpll_list,
+	.nr_sources	= ARRAY_SIZE(clk_src_mpll_list),
+};
+
+struct clksrc_clk clk_mout_mpll = {
+	.clk = {
+		.name		= "mout_mpll",
+		.id		= -1,
+	},
+	.shift		= S5P_CLKSRC0_MPLL_SHIFT,
+	.mask		= S5P_CLKSRC0_MPLL_MASK,
+	.sources	= &clk_src_mpll,
+	.reg_source	= S5P_CLK_SRC0,
+};
+
+static unsigned long s5pc1xx_clk_doutmpll_get_rate(struct clk *clk)
+{
+	unsigned long rate = clk_get_rate(clk->parent);
+
+	/* printk(KERN_DEBUG "%s: parent is %ld\n", __func__, rate); */
+
+	rate /= (((__raw_readl(S5P_CLK_DIV1) & S5P_CLKDIV1_MPLL_MASK) >> S5P_CLKDIV1_MPLL_SHIFT) + 1);
+
+	return rate;
+}
+
+struct clk clk_dout_mpll = {
+	.name		= "dout_mpll",
+	.id		= -1,
+	.parent		= &clk_mout_mpll.clk,
+	.get_rate	= s5pc1xx_clk_doutmpll_get_rate,
+};
+
+static unsigned long s5pc1xx_clk_doutmpll2_get_rate(struct clk *clk)
+{
+	unsigned long rate = clk_get_rate(clk->parent);
+
+	printk(KERN_DEBUG "%s: parent is %ld\n", __func__, rate);
+
+	rate /= (((__raw_readl(S5P_CLK_DIV1) & S5P_CLKDIV1_MPLL2_MASK) >> S5P_CLKDIV1_MPLL2_SHIFT) + 1);
+
+	return rate;
+}
+
+struct clk clk_dout_mpll2 = {
+	.name		= "dout_mpll2",
+	.id		= -1,
+	.parent		= &clk_mout_mpll.clk,
+	.get_rate	= s5pc1xx_clk_doutmpll2_get_rate,
+};
+
+static unsigned long s5pc1xx_clk_sclk_hdmi_get_rate(struct clk *clk)
+{
+	unsigned long rate = clk_get_rate(clk->parent);
+
+	printk(KERN_DEBUG "%s: parent is %ld\n", __func__, rate);
+
+	rate /= (((__raw_readl(S5P_CLK_DIV3) & S5P_CLKDIV3_HDMI_MASK) >> S5P_CLKDIV3_HDMI_SHIFT) + 1);
+
+	return rate;
+}
+
+struct clk clk_sclk_hdmi = {
+	.name		= "sclk_hdmi",
+	.id		= -1,
+	.parent		= &clk_mout_hpll.clk,
+	.get_rate	= s5pc1xx_clk_sclk_hdmi_get_rate,
+};
+
+static struct clk *clkset_spi_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll2,
+	&clk_fin_epll,
+	&clk_mout_hpll.clk,
+};
+
+static struct clk_sources clkset_spi = {
+	.sources	= clkset_spi_list,
+	.nr_sources	= ARRAY_SIZE(clkset_spi_list),
+};
+
+static struct clk *clkset_uart_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	NULL,
+	NULL,
+};
+
+static struct clk_sources clkset_uart = {
+	.sources	= clkset_uart_list,
+	.nr_sources	= ARRAY_SIZE(clkset_uart_list),
+};
+
+static struct clk *clkset_irda_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	&clk_mout_hpll.clk,
+	&clk_48m,
+};
+
+static struct clk_sources clkset_irda = {
+	.sources	= clkset_irda_list,
+	.nr_sources	= ARRAY_SIZE(clkset_irda_list),
+};
+
+static struct clk *clkset_uhost_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	&clk_mout_hpll.clk,
+	&clk_48m,
+};
+
+static struct clk_sources clkset_uhost = {
+	.sources	= clkset_uhost_list,
+	.nr_sources	= ARRAY_SIZE(clkset_uhost_list),
+};
+
+static struct clk *clkset_mmc0_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	&clk_fin_epll,
+	NULL,
+};
+
+static struct clk_sources clkset_mmc0 = {
+	.sources	= clkset_mmc0_list,
+	.nr_sources	= ARRAY_SIZE(clkset_mmc0_list),
+};
+
+static struct clk *clkset_mmc1_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	&clk_fin_epll,
+	&clk_mout_hpll.clk,
+};
+
+static struct clk_sources clkset_mmc1 = {
+	.sources	= clkset_mmc1_list,
+	.nr_sources	= ARRAY_SIZE(clkset_mmc1_list),
+};
+
+static struct clk *clkset_mmc2_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	&clk_fin_epll,
+	&clk_mout_hpll.clk,
+};
+
+static struct clk_sources clkset_mmc2 = {
+	.sources	= clkset_mmc2_list,
+	.nr_sources	= ARRAY_SIZE(clkset_mmc2_list),
+};
+
+static struct clk *clkset_lcd_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	&clk_mout_hpll.clk,
+	&clk_54m,
+};
+
+static struct clk_sources clkset_lcd = {
+	.sources	= clkset_lcd_list,
+	.nr_sources	= ARRAY_SIZE(clkset_lcd_list),
+};
+
+static struct clk *clkset_fimc_list[] = {
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	&clk_mout_hpll.clk,
+	&clk_54m,
+};
+
+static struct clk_sources clkset_fimc = {
+	.sources	= clkset_fimc_list,
+	.nr_sources	= ARRAY_SIZE(clkset_fimc_list),
+};
+
+static struct clk *clkset_mixer_list[] = {
+	&clk_27m,
+	&clk_54m,
+	&clk_sclk_hdmi,
+	NULL,
+};
+
+static struct clk_sources clkset_mixer = {
+	.sources	= clkset_mixer_list,
+	.nr_sources	= ARRAY_SIZE(clkset_mixer_list),
+};
+
+static struct clk *clkset_pwi_list[] = {
+	&clk_srclk,
+	&clk_mout_epll.clk,
+	&clk_dout_mpll,
+	NULL,
+};
+
+static struct clk_sources clkset_pwi = {
+	.sources	= clkset_pwi_list,
+	.nr_sources	= ARRAY_SIZE(clkset_pwi_list),
+};
+
+/* The peripheral clocks are all controlled via clocksource followed
+ * by an optional divider and gate stage. We currently roll this into
+ * one clock which hides the intermediate clock from the mux.
+ *
+ * Note, the JPEG clock can only be an even divider...
+ *
+ * The scaler and LCD clocks depend on the S3C64XX version, and also
+ * have a common parent divisor so are not included here.
+ */
+
+static inline struct clksrc_clk *to_clksrc(struct clk *clk)
+{
+	return container_of(clk, struct clksrc_clk, clk);
+}
+
+static unsigned long s5pc1xx_getrate_clksrc(struct clk *clk)
+{
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	unsigned long rate = clk_get_rate(clk->parent);
+	u32 clkdiv = __raw_readl(sclk->reg_divider);
+
+	clkdiv >>= sclk->divider_shift;
+	clkdiv &= 0xf;
+	clkdiv++;
+
+	rate /= clkdiv;
+	return rate;
+}
+
+static int s5pc1xx_setrate_clksrc(struct clk *clk, unsigned long rate)
+{
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	void __iomem *reg = sclk->reg_divider;
+	unsigned int div;
+	u32 val;
+
+	rate = clk_round_rate(clk, rate);
+	div = clk_get_rate(clk->parent) / rate;
+
+	val = __raw_readl(reg);
+	val &= ~sclk->mask;
+	val |= (div - 1) << sclk->shift;
+	__raw_writel(val, reg);
+
+	return 0;
+}
+
+static int s5pc1xx_setparent_clksrc(struct clk *clk, struct clk *parent)
+{
+	struct clksrc_clk *sclk = to_clksrc(clk);
+	struct clk_sources *srcs = sclk->sources;
+	u32 clksrc = __raw_readl(sclk->reg_source);
+	int src_nr = -1;
+	int ptr;
+
+	for (ptr = 0; ptr < srcs->nr_sources; ptr++)
+		if (srcs->sources[ptr] == parent) {
+			src_nr = ptr;
+			break;
+		}
+
+	if (src_nr >= 0) {
+		clksrc &= ~sclk->mask;
+		clksrc |= src_nr << sclk->shift;
+
+		__raw_writel(clksrc, sclk->reg_source);
+		return 0;
+	}
+
+	return -EINVAL;
+}
+
+static unsigned long s5pc1xx_roundrate_clksrc(struct clk *clk,
+					      unsigned long rate)
+{
+	unsigned long parent_rate = clk_get_rate(clk->parent);
+	int div;
+
+	if (rate > parent_rate)
+		rate = parent_rate;
+	else {
+		div = rate / parent_rate;
+
+		if (div == 0)
+			div = 1;
+		if (div > 16)
+			div = 16;
+
+		rate = parent_rate / div;
+	}
+
+	return rate;
+}
+
+static struct clksrc_clk clk_mmc0 = {
+	.clk	= {
+		.name		= "mmc_bus",
+		.id		= 0,
+		.ctrlbit        = S5P_CLKGATE_SCLK0_MMC0,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC2_MMC0_SHIFT,
+	.mask		= S5P_CLKSRC2_MMC0_MASK,
+	.sources	= &clkset_mmc0,
+	.divider_shift	= S5P_CLKDIV3_MMC0_SHIFT,
+	.reg_divider	= S5P_CLK_DIV3,
+	.reg_source	= S5P_CLK_SRC2,
+};
+
+static struct clksrc_clk clk_mmc1 = {
+	.clk	= {
+		.name		= "mmc_bus",
+		.id		= 1,
+		.ctrlbit        = S5P_CLKGATE_SCLK0_MMC1,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC2_MMC1_SHIFT,
+	.mask		= S5P_CLKSRC2_MMC1_MASK,
+	.sources	= &clkset_mmc1,
+	.divider_shift	= S5P_CLKDIV3_MMC1_SHIFT,
+	.reg_divider	= S5P_CLK_DIV3,
+	.reg_source	= S5P_CLK_SRC2,
+};
+
+static struct clksrc_clk clk_mmc2 = {
+	.clk	= {
+		.name		= "mmc_bus",
+		.id		= 2,
+		.ctrlbit        = S5P_CLKGATE_SCLK0_MMC2,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC2_MMC2_SHIFT,
+	.mask		= S5P_CLKSRC2_MMC2_MASK,
+	.sources	= &clkset_mmc2,
+	.divider_shift	= S5P_CLKDIV3_MMC2_SHIFT,
+	.reg_divider	= S5P_CLK_DIV3,
+	.reg_source	= S5P_CLK_SRC2,
+};
+
+static struct clksrc_clk clk_usbhost = {
+	.clk	= {
+		.name		= "usb-host-bus",
+		.id		= -1,
+		.ctrlbit        = S5P_CLKGATE_SCLK0_USBHOST,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC1_UHOST_SHIFT,
+	.mask		= S5P_CLKSRC1_UHOST_MASK,
+	.sources	= &clkset_uhost,
+	.divider_shift	= S5P_CLKDIV2_UHOST_SHIFT,
+	.reg_divider	= S5P_CLK_DIV2,
+	.reg_source	= S5P_CLK_SRC1,
+};
+
+static struct clksrc_clk clk_uart_uclk1 = {
+	.clk	= {
+		.name		= "uclk1",
+		.id		= -1,
+		.ctrlbit        = S5P_CLKGATE_SCLK0_UART,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC1_UART_SHIFT,
+	.mask		= S5P_CLKSRC1_UART_MASK,
+	.sources	= &clkset_uart,
+	.divider_shift	= S5P_CLKDIV2_UART_SHIFT,
+	.reg_divider	= S5P_CLK_DIV2,
+	.reg_source	= S5P_CLK_SRC1,
+};
+
+static struct clksrc_clk clk_spi0 = {
+	.clk	= {
+		.name		= "spi-bus",
+		.id		= 0,
+		.ctrlbit        = S5P_CLKGATE_SCLK0_SPI0,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC1_SPI0_SHIFT,
+	.mask		= S5P_CLKSRC1_SPI0_MASK,
+	.sources	= &clkset_spi,
+	.divider_shift	= S5P_CLKDIV2_SPI0_SHIFT,
+	.reg_divider	= S5P_CLK_DIV2,
+	.reg_source	= S5P_CLK_SRC1,
+};
+
+static struct clksrc_clk clk_spi1 = {
+	.clk	= {
+		.name		= "spi-bus",
+		.id		= 1,
+		.ctrlbit        = S5P_CLKGATE_SCLK0_SPI1,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC1_SPI1_SHIFT,
+	.mask		= S5P_CLKSRC1_SPI1_MASK,
+	.sources	= &clkset_spi,
+	.divider_shift	= S5P_CLKDIV2_SPI1_SHIFT,
+	.reg_divider	= S5P_CLK_DIV2,
+	.reg_source	= S5P_CLK_SRC1,
+};
+
+static struct clksrc_clk clk_spi2 = {
+	.clk	= {
+		.name		= "spi-bus",
+		.id		= 2,
+		.ctrlbit        = S5P_CLKGATE_SCLK0_SPI2,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC1_SPI2_SHIFT,
+	.mask		= S5P_CLKSRC1_SPI2_MASK,
+	.sources	= &clkset_spi,
+	.divider_shift	= S5P_CLKDIV2_SPI2_SHIFT,
+	.reg_divider	= S5P_CLK_DIV2,
+	.reg_source	= S5P_CLK_SRC1,
+};
+
+static struct clksrc_clk clk_irda = {
+	.clk	= {
+		.name		= "sclk_irda",
+		.id		= -1,
+		.ctrlbit        = S5P_CLKGATE_SCLK0_IRDA,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC1_IRDA_SHIFT,
+	.mask		= S5P_CLKSRC1_IRDA_MASK,
+	.sources	= &clkset_irda,
+	.divider_shift	= S5P_CLKDIV2_IRDA_SHIFT,
+	.reg_divider	= S5P_CLK_DIV2,
+	.reg_source	= S5P_CLK_SRC1,
+};
+
+static struct clksrc_clk clk_pwi = {
+	.clk	= {
+		.name		= "sclk_pwi",
+		.id		= -1,
+		.ctrlbit        = S5P_CLKGATE_SCLK0_PWI,
+		.enable		= s5pc1xx_sclk0_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC3_PWI_SHIFT,
+	.mask		= S5P_CLKSRC3_PWI_MASK,
+	.sources	= &clkset_pwi,
+	.divider_shift	= S5P_CLKDIV4_PWI_SHIFT,
+	.reg_divider	= S5P_CLK_DIV4,
+	.reg_source	= S5P_CLK_SRC3,
+};
+
+static struct clksrc_clk clk_lcd = {
+	.clk	= {
+		.name		= "sclk_lcd",
+		.id		= -1,
+		.ctrlbit        = S5P_CLKGATE_SCLK1_LCD,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC2_LCD_SHIFT,
+	.mask		= S5P_CLKSRC2_LCD_MASK,
+	.sources	= &clkset_lcd,
+	.divider_shift	= S5P_CLKDIV3_LCD_SHIFT,
+	.reg_divider	= S5P_CLK_DIV3,
+	.reg_source	= S5P_CLK_SRC2,
+};
+
+static struct clksrc_clk clk_fimc0 = {
+	.clk	= {
+		.name		= "sclk_fimc",
+		.id		= 0,
+		.ctrlbit        = S5P_CLKGATE_SCLK1_FIMC0,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC2_FIMC0_SHIFT,
+	.mask		= S5P_CLKSRC2_FIMC0_MASK,
+	.sources	= &clkset_fimc,
+	.divider_shift	= S5P_CLKDIV3_FIMC0_SHIFT,
+	.reg_divider	= S5P_CLK_DIV3,
+	.reg_source	= S5P_CLK_SRC2,
+};
+
+static struct clksrc_clk clk_fimc1 = {
+	.clk	= {
+		.name		= "sclk_fimc",
+		.id		= 1,
+		.ctrlbit        = S5P_CLKGATE_SCLK1_FIMC1,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC2_FIMC1_SHIFT,
+	.mask		= S5P_CLKSRC2_FIMC1_MASK,
+	.sources	= &clkset_fimc,
+	.divider_shift	= S5P_CLKDIV3_FIMC1_SHIFT,
+	.reg_divider	= S5P_CLK_DIV3,
+	.reg_source	= S5P_CLK_SRC2,
+};
+
+static struct clksrc_clk clk_fimc2 = {
+	.clk	= {
+		.name		= "sclk_fimc",
+		.id		= 2,
+		.ctrlbit        = S5P_CLKGATE_SCLK1_FIMC2,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC2_FIMC2_SHIFT,
+	.mask		= S5P_CLKSRC2_FIMC2_MASK,
+	.sources	= &clkset_fimc,
+	.divider_shift	= S5P_CLKDIV3_FIMC2_SHIFT,
+	.reg_divider	= S5P_CLK_DIV3,
+	.reg_source	= S5P_CLK_SRC2,
+};
+
+static struct clksrc_clk clk_mixer = {
+	.clk	= {
+		.name		= "sclk_mixer",
+		.id		= -1,
+		.ctrlbit        = S5P_CLKGATE_SCLK1_MIXER,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC2_MIXER_SHIFT,
+	.mask		= S5P_CLKSRC2_MIXER_MASK,
+	.sources	= &clkset_mixer,
+	.divider_shift	= S5P_CLKDIV3_HDMI_SHIFT,
+	.reg_divider	= S5P_CLK_DIV3,
+	.reg_source	= S5P_CLK_SRC2,
+};
+
+struct clk clk_iis_cd0 = {
+	.name		= "iis_cdclk0",
+	.id		= -1,
+};
+
+struct clk clk_iis_cd1 = {
+	.name		= "iiscd_cdclk1",
+	.id		= -1,
+};
+
+struct clk clk_iis_cd2 = {
+	.name		= "iiscd_cdclk2",
+	.id		= -1,
+};
+
+struct clk clk_pcm_cd0 = {
+	.name		= "pcmcd_cdclk0",
+	.id		= -1,
+};
+
+struct clk clk_pcm_cd1 = {
+	.name		= "pcmcd_cdclk1",
+	.id		= -1,
+};
+
+static struct clk *clkset_audio0_list[] = {
+	[0] = &clk_mout_epll.clk,
+	[1] = &clk_dout_mpll,
+	[2] = &clk_fin_epll,
+	[3] = &clk_iis_cd0,
+	[4] = &clk_pcm_cd0,
+	[5] = &clk_mout_hpll.clk,
+};
+
+static struct clk_sources clkset_audio0 = {
+	.sources	= clkset_audio0_list,
+	.nr_sources	= ARRAY_SIZE(clkset_audio0_list),
+};
+
+static struct clksrc_clk clk_audio0 = {
+	.clk	= {
+		.name		= "audio-bus",
+		.id		= 0,
+		.ctrlbit        = S5P_CLKGATE_SCLK1_AUDIO0,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC3_AUDIO0_SHIFT,
+	.mask		= S5P_CLKSRC3_AUDIO0_MASK,
+	.sources	= &clkset_audio0,
+	.divider_shift	= S5P_CLKDIV4_AUDIO0_SHIFT,
+	.reg_divider	= S5P_CLK_DIV4,
+	.reg_source	= S5P_CLK_SRC3,
+};
+
+static struct clk *clkset_audio1_list[] = {
+	[0] = &clk_mout_epll.clk,
+	[1] = &clk_dout_mpll,
+	[2] = &clk_fin_epll,
+	[3] = &clk_iis_cd1,
+	[4] = &clk_pcm_cd1,
+	[5] = &clk_mout_hpll.clk,
+};
+
+static struct clk_sources clkset_audio1 = {
+	.sources	= clkset_audio1_list,
+	.nr_sources	= ARRAY_SIZE(clkset_audio1_list),
+};
+
+static struct clksrc_clk clk_audio1 = {
+	.clk	= {
+		.name		= "audio-bus",
+		.id		= 1,
+		.ctrlbit        = S5P_CLKGATE_SCLK1_AUDIO1,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC3_AUDIO1_SHIFT,
+	.mask		= S5P_CLKSRC3_AUDIO1_MASK,
+	.sources	= &clkset_audio1,
+	.divider_shift	= S5P_CLKDIV4_AUDIO1_SHIFT,
+	.reg_divider	= S5P_CLK_DIV4,
+	.reg_source	= S5P_CLK_SRC3,
+};
+
+static struct clk *clkset_audio2_list[] = {
+	[0] = &clk_mout_epll.clk,
+	[1] = &clk_dout_mpll,
+	[2] = &clk_fin_epll,
+	[3] = &clk_iis_cd2,
+	[4] = &clk_mout_hpll.clk,
+};
+
+static struct clk_sources clkset_audio2 = {
+	.sources	= clkset_audio2_list,
+	.nr_sources	= ARRAY_SIZE(clkset_audio2_list),
+};
+
+static struct clksrc_clk clk_audio2 = {
+	.clk	= {
+		.name		= "audio-bus",
+		.id		= 2,
+		.ctrlbit        = S5P_CLKGATE_SCLK1_AUDIO2,
+		.enable		= s5pc1xx_sclk1_ctrl,
+		.set_parent	= s5pc1xx_setparent_clksrc,
+		.get_rate	= s5pc1xx_getrate_clksrc,
+		.set_rate	= s5pc1xx_setrate_clksrc,
+		.round_rate	= s5pc1xx_roundrate_clksrc,
+	},
+	.shift		= S5P_CLKSRC3_AUDIO2_SHIFT,
+	.mask		= S5P_CLKSRC3_AUDIO2_MASK,
+	.sources	= &clkset_audio2,
+	.divider_shift	= S5P_CLKDIV4_AUDIO2_SHIFT,
+	.reg_divider	= S5P_CLK_DIV4,
+	.reg_source	= S5P_CLK_SRC3,
+};
+
+/* Clock initialisation code */
+
+static struct clksrc_clk *init_parents[] = {
+	&clk_mout_apll,
+	&clk_mout_epll,
+	&clk_mout_mpll,
+	&clk_mout_hpll,
+	&clk_mmc0,
+	&clk_mmc1,
+	&clk_mmc2,
+	&clk_usbhost,
+	&clk_uart_uclk1,
+	&clk_spi0,
+	&clk_spi1,
+	&clk_spi2,
+	&clk_audio0,
+	&clk_audio1,
+	&clk_audio2,
+	&clk_irda,
+	&clk_pwi,
+	&clk_lcd,
+	&clk_fimc0,
+	&clk_fimc1,
+	&clk_fimc2,
+	&clk_mixer,
+};
+
+static void __init_or_cpufreq s5pc1xx_set_clksrc(struct clksrc_clk *clk)
+{
+	struct clk_sources *srcs = clk->sources;
+	u32 clksrc = __raw_readl(clk->reg_source);
+
+	clksrc &= clk->mask;
+	clksrc >>= clk->shift;
+
+	if (clksrc > srcs->nr_sources || !srcs->sources[clksrc]) {
+		printk(KERN_ERR "%s: bad source %d\n",
+		       clk->clk.name, clksrc);
+		return;
+	}
+
+	clk->clk.parent = srcs->sources[clksrc];
+
+	printk(KERN_INFO "%s: source is %s (%d), rate is %ld\n",
+	       clk->clk.name, clk->clk.parent->name, clksrc,
+	       clk_get_rate(&clk->clk));
+}
+
+#define GET_DIV(clk, field) ((((clk) & field##_MASK) >> field##_SHIFT) + 1)
+
+void __init_or_cpufreq s5pc100_setup_clocks(void)
+{
+	struct clk *xtal_clk;
+	unsigned long xtal;
+	unsigned long armclk;
+	unsigned long hclkd0;
+	unsigned long hclk;
+	unsigned long pclkd0;
+	unsigned long pclk;
+	unsigned long apll;
+	unsigned long mpll;
+	unsigned long hpll;
+	unsigned long epll;
+	unsigned int ptr;
+	u32 clkdiv0, clkdiv1;
+
+	printk(KERN_DEBUG "%s: registering clocks\n", __func__);
+
+	clkdiv0 = __raw_readl(S5P_CLK_DIV0);
+	clkdiv1 = __raw_readl(S5P_CLK_DIV1);
+
+	printk(KERN_DEBUG "%s: clkdiv0 = %08x, clkdiv1 = %08x\n", __func__, clkdiv0, clkdiv1);
+
+	xtal_clk = clk_get(NULL, "xtal");
+	BUG_ON(IS_ERR(xtal_clk));
+
+	xtal = clk_get_rate(xtal_clk);
+	clk_put(xtal_clk);
+
+	printk(KERN_DEBUG "%s: xtal is %ld\n", __func__, xtal);
+
+	apll = s5pc1xx_get_pll(xtal, __raw_readl(S5P_APLL_CON));
+	mpll = s5pc1xx_get_pll(xtal, __raw_readl(S5P_MPLL_CON));
+	epll = s5pc1xx_get_pll(xtal, __raw_readl(S5P_EPLL_CON));
+	hpll = s5pc1xx_get_pll(xtal, __raw_readl(S5P_HPLL_CON));
+
+	printk(KERN_INFO "S5PC100: PLL settings, A=%ld, M=%ld, E=%ld, H=%ld\n",
+	       apll, mpll, epll, hpll);
+
+	armclk = apll / GET_DIV(clkdiv0, S5P_CLKDIV0_APLL);
+	armclk = armclk / GET_DIV(clkdiv0, S5P_CLKDIV0_ARM);
+	hclkd0 = armclk / GET_DIV(clkdiv0, S5P_CLKDIV0_D0);
+	pclkd0 = hclkd0 / GET_DIV(clkdiv0, S5P_CLKDIV0_PCLKD0);
+	hclk = mpll / GET_DIV(clkdiv1, S5P_CLKDIV1_D1);
+	pclk = hclk / GET_DIV(clkdiv1, S5P_CLKDIV1_PCLKD1);
+
+	printk(KERN_INFO "S5PC100: ARMCLK=%ld, HCLKD0=%ld, PCLKD0=%ld, HCLK=%ld, PCLK=%ld\n",
+	       armclk, hclkd0, pclkd0, hclk, pclk);
+
+	clk_fout_apll.rate = apll;
+	clk_fout_mpll.rate = mpll;
+	clk_fout_epll.rate = epll;
+	clk_mout_hpll.clk.rate = hpll;
+
+	clk_f.rate = armclk;
+	clk_hd0.rate = hclkd0;
+	clk_pd0.rate = pclkd0;
+	clk_h.rate = hclk;
+	clk_p.rate = pclk;
+
+	for (ptr = 0; ptr < ARRAY_SIZE(init_parents); ptr++)
+		s5pc1xx_set_clksrc(init_parents[ptr]);
+}
+
+static struct clk *clks[] __initdata = {
+	&clk_ext_xtal_mux,
+	&clk_iis_cd0,
+	&clk_iis_cd1,
+	&clk_iis_cd2,
+	&clk_pcm_cd0,
+	&clk_pcm_cd1,
+	&clk_mout_epll.clk,
+	&clk_fout_epll,
+	&clk_mout_mpll.clk,
+	&clk_dout_mpll,
+	&clk_dout_mpll2,
+	&clk_mout_hpll.clk,
+	&clk_sclk_hdmi,
+	&clk_srclk,
+	&clk_mmc0.clk,
+	&clk_mmc1.clk,
+	&clk_mmc2.clk,
+	&clk_usbhost.clk,
+	&clk_uart_uclk1.clk,
+	&clk_spi0.clk,
+	&clk_spi1.clk,
+	&clk_spi2.clk,
+	&clk_audio0.clk,
+	&clk_audio1.clk,
+	&clk_audio2.clk,
+	&clk_irda.clk,
+	&clk_pwi.clk,
+	&clk_lcd.clk,
+	&clk_fimc0.clk,
+	&clk_fimc1.clk,
+	&clk_fimc2.clk,
+	&clk_mixer.clk,
+	&clk_dout_apll,
+	&clk_dout_arm,
+};
+
+void __init s5pc100_register_clocks(void)
+{
+	struct clk *clkp;
+	int ret;
+	int ptr;
+
+	for (ptr = 0; ptr < ARRAY_SIZE(clks); ptr++) {
+		clkp = clks[ptr];
+		ret = s3c24xx_register_clock(clkp);
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register clock %s (%d)\n",
+			       clkp->name, ret);
+		}
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/s5pc100-init.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/s5pc100-init.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/s5pc100-init.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/s5pc100-init.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,28 @@
+/* linux/arch/arm/plat-s5pc1xx/s5pc100-init.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * S5PC100 - CPU initialisation (common with other S5PC1XX chips)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/init.h>
+
+#include <plat/cpu.h>
+#include <plat/devs.h>
+#include <plat/s5pc100.h>
+
+/* uart registration process */
+
+void __init s5pc100_common_init_uarts(struct s3c2410_uartcfg *cfg, int no)
+{
+	s3c24xx_init_uartdevs("s5pc100-uart", s5pc1xx_uart_resources, cfg, no);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/s5pc1xx-cpufreq.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/s5pc1xx-cpufreq.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/s5pc1xx-cpufreq.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/s5pc1xx-cpufreq.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,224 @@
+/*
+ *  linux/arch/arm/plat-s3c64xx/s3c64xx-cpufreq.c
+ *
+ *  CPU frequency scaling for S3C64XX
+ *
+ *  Copyright (C) 2008 Samsung Electronics
+ *
+ *  Based on cpu-sa1110.c, Copyright (C) 2001 Russell King
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <linux/types.h>
+#include <linux/kernel.h>
+#include <linux/sched.h>
+#include <linux/cpufreq.h>
+#include <linux/delay.h>
+#include <linux/init.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+
+//#include <mach/hardware.h>
+#include <asm/system.h>
+
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/regs-clock.h>
+
+#define USE_FREQ_TABLE
+
+#define USE_DVS
+
+#define VERY_HI_RATE	666*1000*1000
+#define APLL_GEN_CLK	666*1000	//khz
+#define KHZ_T		1000
+
+#define MPU_CLK		"dout_arm"
+
+/* definition for power setting function */
+extern int set_power(unsigned int freq);
+extern void ltc3714_init(void);
+
+#define PMIC_ARM		0
+#define PMIC_INT		1
+#define PMIC_BOTH	2
+
+#define CLK_OUT_PROBING	//TP80 on SMDKC100 board
+
+
+/* frequency */
+static struct cpufreq_frequency_table s5pc100_freq_table[] = {
+	{APLL_GEN_CLK, APLL_GEN_CLK},
+	{APLL_GEN_CLK, APLL_GEN_CLK/2},
+	{APLL_GEN_CLK, APLL_GEN_CLK/4},
+	{0, CPUFREQ_TABLE_END},
+};
+
+/* TODO: Add support for SDRAM timing changes */
+
+int s5pc100_verify_speed(struct cpufreq_policy *policy)
+{
+#ifndef USE_FREQ_TABLE
+	struct clk *mpu_clk;
+#endif
+
+	if (policy->cpu)
+		return -EINVAL;
+#ifdef USE_FREQ_TABLE
+	return cpufreq_frequency_table_verify(policy, s5pc100_freq_table);
+#else
+	cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq,
+				     policy->cpuinfo.max_freq);
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return PTR_ERR(mpu_clk);
+
+	policy->min = clk_round_rate(mpu_clk, policy->min * KHZ_T) / KHZ_T;
+	policy->max = clk_round_rate(mpu_clk, policy->max * KHZ_T) / KHZ_T;
+
+	cpufreq_verify_within_limits(policy, policy->cpuinfo.min_freq,
+				     policy->cpuinfo.max_freq);
+
+	clk_put(mpu_clk);
+
+	return 0;
+#endif
+}
+
+unsigned int s5pc100_getspeed(unsigned int cpu)
+{
+	struct clk * mpu_clk;
+	unsigned long rate;
+
+	if (cpu)
+		return 0;
+
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return 0;
+	rate = clk_get_rate(mpu_clk) / KHZ_T;
+
+	clk_put(mpu_clk);
+
+	return rate;
+}
+
+static int s5pc100_target(struct cpufreq_policy *policy,
+		       unsigned int target_freq,
+		       unsigned int relation)
+{
+	struct clk * mpu_clk;
+	struct cpufreq_freqs freqs;
+	int ret = 0;
+	unsigned long arm_clk;
+	unsigned int index;
+
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return PTR_ERR(mpu_clk);
+
+	freqs.old = s5pc100_getspeed(0);
+#ifdef USE_FREQ_TABLE
+	if (cpufreq_frequency_table_target(policy, s5pc100_freq_table, target_freq, relation, &index))
+		return -EINVAL;
+
+	arm_clk = s5pc100_freq_table[index].frequency;
+
+	freqs.new = arm_clk;
+#else
+	freqs.new = clk_round_rate(mpu_clk, target_freq * KHZ_T) / KHZ_T;
+#endif
+	freqs.cpu = 0;
+
+	cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
+#ifdef USE_DVS
+	if(freqs.new < freqs.old){
+		/* frequency scaling */
+		ret = clk_set_rate(mpu_clk, target_freq * KHZ_T);
+		if(ret != 0)
+			printk("frequency scaling error\n");
+		/* voltage scaling */
+		set_power(freqs.new);
+	}else{
+		/* voltage scaling */
+		set_power(freqs.new);
+
+		/* frequency scaling */
+		ret = clk_set_rate(mpu_clk, target_freq * KHZ_T);
+		if(ret != 0)
+			printk("frequency scaling error\n");
+	}
+
+
+#else
+	if(freqs.new != freqs.old) {
+		ret = clk_set_rate(mpu_clk, target_freq * KHZ_T);
+		if(ret != 0)
+			printk("frequency scaling error\n");
+	}
+
+#endif
+	cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
+	clk_put(mpu_clk);
+	return ret;
+}
+
+static int __init s5pc100_cpu_init(struct cpufreq_policy *policy)
+{
+	struct clk * mpu_clk;
+	u32 reg;
+
+#ifdef USE_DVS
+	ltc3714_init();
+#endif
+
+#ifdef CLK_OUT_PROBING
+	
+	reg = __raw_readl(S5P_CLK_OUT);
+	reg &=~(0x1f << 12 | 0xf << 20);	// Mask Out CLKSEL bit field and DIVVAL
+	reg |= (0x9 << 12 | 0x1 << 20);	// CLKSEL = ARMCLK/4, DIVVAL = 1 
+	__raw_writel(reg, S5P_CLK_OUT);
+#endif
+	mpu_clk = clk_get(NULL, MPU_CLK);
+	if (IS_ERR(mpu_clk))
+		return PTR_ERR(mpu_clk);
+
+	if (policy->cpu != 0)
+		return -EINVAL;
+	policy->cur = policy->min = policy->max = s5pc100_getspeed(0);
+#ifdef USE_FREQ_TABLE
+	cpufreq_frequency_table_get_attr(s5pc100_freq_table, policy->cpu);
+#else
+	policy->cpuinfo.min_freq = clk_round_rate(mpu_clk, 0) / KHZ_T;
+	policy->cpuinfo.max_freq = clk_round_rate(mpu_clk, VERY_HI_RATE) / KHZ_T;
+#endif
+	policy->cpuinfo.transition_latency = 40000;	//1us
+
+
+	clk_put(mpu_clk);
+#ifdef USE_FREQ_TABLE
+	return cpufreq_frequency_table_cpuinfo(policy, s5pc100_freq_table);
+#else
+	return 0;
+#endif
+}
+
+static struct cpufreq_driver s5pc100_driver = {
+	.flags		= CPUFREQ_STICKY,
+	.verify		= s5pc100_verify_speed,
+	.target		= s5pc100_target,
+	.get		= s5pc100_getspeed,
+	.init		= s5pc100_cpu_init,
+	.name		= "s5pc100",
+};
+
+static int __init s5pc100_cpufreq_init(void)
+{
+	return cpufreq_register_driver(&s5pc100_driver);
+}
+
+arch_initcall(s5pc100_cpufreq_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/s5pc1xx-time.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/s5pc1xx-time.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/s5pc1xx-time.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/s5pc1xx-time.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,314 @@
+/* linux/arch/arm/plat-s5pc1xx/s5pc1xx-time.c
+ *
+ * Copyright (C) 2003-2005 Simtec Electronics
+ *	Jongpill Lee, <boyko.lee@samsung.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * This code is based on plat-s3c/time.c
+ */
+
+#include <linux/kernel.h>
+#include <linux/sched.h>
+#include <linux/init.h>
+#include <linux/interrupt.h>
+#include <linux/irq.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+
+#include <asm/system.h>
+#include <asm/leds.h>
+#include <asm/mach-types.h>
+
+#include <asm/irq.h>
+#include <asm/mach/time.h>
+
+#include <mach/map.h>
+#include <mach/regs-irq.h>
+#include <mach/tick.h>
+
+#include <plat/regs-sys-timer.h>
+#include <plat/clock.h>
+#include <plat/cpu.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-a1.h>
+
+#include <plat/gpio-bank-d.h>
+#include <plat/regs-clock.h>
+
+static unsigned long timer_startval;
+static unsigned long timer_usec_ticks;
+
+#ifndef TICK_MAX
+#define TICK_MAX (0xffff)
+#endif
+
+//#define T32_DEBUG_GPD
+//#define CLK_OUT_PROBING
+
+#define TIMER_USEC_SHIFT 16
+
+static unsigned int s5pc1xx_systimer_read(unsigned int *reg_offset)
+{
+	return __raw_readl(reg_offset);
+}
+
+static unsigned int s5pc1xx_systimer_write(unsigned int *reg_offset, unsigned int value)
+{
+	unsigned int temp_regs;
+
+	__raw_writel(value, reg_offset);
+
+	if (reg_offset == S3C_SYSTIMER_TCON) {
+		while(!(__raw_readl(S3C_SYSTIMER_INT_CSTAT) & S3C_SYSTIMER_INT_TCON));
+		temp_regs = __raw_readl(S3C_SYSTIMER_INT_CSTAT);
+		temp_regs |= S3C_SYSTIMER_INT_TCON;
+		__raw_writel(temp_regs, S3C_SYSTIMER_INT_CSTAT);
+
+	} else if (reg_offset == S3C_SYSTIMER_ICNTB) {
+		while(!(__raw_readl(S3C_SYSTIMER_INT_CSTAT) & S3C_SYSTIMER_INT_ICNTB));
+		temp_regs = __raw_readl(S3C_SYSTIMER_INT_CSTAT);
+		temp_regs |= S3C_SYSTIMER_INT_ICNTB;
+		__raw_writel(temp_regs, S3C_SYSTIMER_INT_CSTAT);
+
+	} else if (reg_offset == S3C_SYSTIMER_TCNTB) {
+		while(!(__raw_readl(S3C_SYSTIMER_INT_CSTAT) & S3C_SYSTIMER_INT_TCNTB));
+		temp_regs = __raw_readl(S3C_SYSTIMER_INT_CSTAT);
+		temp_regs |= S3C_SYSTIMER_INT_TCNTB;
+		__raw_writel(temp_regs, S3C_SYSTIMER_INT_CSTAT);
+	}
+
+	return 0;
+}
+
+/*
+ * S5PC1XX has system timer to use as OS tick Timer.
+ * System Timer provides two distincive feature. Accurate timer which provides
+ * exact 1ms time tick at any power mode except sleep mode. Second one is chageable
+ * interrupt interval without stopping reference tick timer.
+ */
+
+/* 
+ * timer_mask_usec_ticks
+ *
+ * given a clock and divisor, make the value to pass into timer_ticks_to_usec
+ * to scale the ticks into usecs
+ */
+static inline unsigned long timer_mask_usec_ticks(unsigned long scaler, unsigned long pclk)
+{
+	unsigned long den = pclk / 1000;
+
+	return ((1000 << TIMER_USEC_SHIFT) * scaler + (den >> 1)) / den;
+}
+
+/* 
+ * timer_ticks_to_usec
+ *
+ * convert timer ticks to usec.
+ */
+static inline unsigned long timer_ticks_to_usec(unsigned long ticks)
+{
+	unsigned long res;
+
+	res = ticks * timer_usec_ticks;
+	res += 1 << (TIMER_USEC_SHIFT - 4);	/* round up slightly */
+
+	return res >> TIMER_USEC_SHIFT;
+}
+
+/*
+ * Returns microsecond  since last clock interrupt.  Note that interrupts
+ * will have been disabled by do_gettimeoffset()
+ * IRQs are disabled before entering here from do_gettimeofday()
+ */
+static unsigned long s5pc1xx_gettimeoffset (void)
+{
+	unsigned long tdone;
+	unsigned long tval;
+
+	/* work out how many ticks have gone since last timer interrupt */
+	tval = s5pc1xx_systimer_read(S3C_SYSTIMER_TCNTO);
+	tdone = timer_startval - tval;
+
+	/* check to see if there is an interrupt pending */
+	if (s5pc1xx_ostimer_pending()) {
+		/* re-read the timer, and try and fix up for the missed
+		 * interrupt. Note, the interrupt may go off before the
+		 * timer has re-loaded from wrapping.
+		 */
+
+		tval =  s5pc1xx_systimer_read(S3C_SYSTIMER_TCNTO);
+		tdone = timer_startval - tval;
+
+		if (tval != 0)
+			tdone += timer_startval;
+	}
+
+	return timer_ticks_to_usec(tdone);
+}
+
+
+/*
+ * IRQ handler for the timer
+ */
+static irqreturn_t s5pc1xx_timer_interrupt(int irq, void *dev_id)
+{
+	volatile unsigned int temp_cstat;
+
+	temp_cstat = s5pc1xx_systimer_read(S3C_SYSTIMER_INT_CSTAT);
+	temp_cstat |= S3C_SYSTIMER_INT_STATS;
+
+	s5pc1xx_systimer_write(S3C_SYSTIMER_INT_CSTAT, temp_cstat);
+#ifdef T32_DEBUG_GPD
+	u32 tmp;  
+	tmp = __raw_readl(S5PC1XX_GPDDAT);  
+	tmp |= (0x1<<1);	
+	__raw_writel(tmp, S5PC1XX_GPDDAT);
+
+#endif
+
+#if 0
+	do {				
+		if(!(s5pc1xx_systimer_read(S3C_SYSTIMER_INT_CSTAT) & S3C_SYSTIMER_INT_STATS))
+			break;
+	} while(1);
+#endif
+
+#ifdef T32_DEBUG_GPD
+	tmp = __raw_readl(S5PC1XX_GPDDAT);  
+	tmp &=~(0x1<<1);	
+	__raw_writel(tmp, S5PC1XX_GPDDAT);
+
+#endif
+	timer_tick();
+
+	return IRQ_HANDLED;
+}
+
+static struct irqaction s5pc1xx_timer_irq = {
+	.name		= "S5PC1XX System Timer",
+	.flags		= IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
+	.handler	= s5pc1xx_timer_interrupt,
+};
+
+/*
+ * Set up timer interrupt, and return the current time in seconds.
+ *
+ */
+static void s5pc1xx_timer_setup (void)
+{
+	unsigned long tcon;
+	unsigned long tcnt;
+	unsigned long tcfg;
+	unsigned long icntb;
+
+	/* clock configuration setting and enable */
+	unsigned long pclk;
+	struct clk *clk;
+
+	unsigned long reg;
+
+#ifdef T32_DEBUG_GPD
+	reg = __raw_readl(S5PC1XX_GPDCON);
+	reg &=~(0xf << 4);
+	reg |= (0x1 << 4);
+	__raw_writel(reg, S5PC1XX_GPDCON);
+
+	reg = __raw_readl(S5PC1XX_GPDDAT);
+	reg &=~(0x1<<1);
+	__raw_writel(reg, S5PC1XX_GPDDAT);   
+	
+#endif
+
+#ifdef CLK_OUT_PROBING
+	reg = __raw_readl(S5P_CLK_OUT);
+	reg &=~(0x1f<<12);
+	reg |= (0x6<<12);
+	__raw_writel(reg, S5P_CLK_OUT);
+#endif
+
+	tcnt = TICK_MAX;  /* default value for tcnt */
+
+	/* initialize system timer clock */
+	tcfg = s5pc1xx_systimer_read(S3C_SYSTIMER_TCFG);
+
+	tcfg &= ~S3C_SYSTIMER_TCLK_MASK;
+	tcfg |= S3C_SYSTIMER_TCLK_PCLK;
+
+	s5pc1xx_systimer_write(S3C_SYSTIMER_TCFG, tcfg);
+
+	/* TCFG must not be changed at run-time. If you want to change TCFG, stop timer(TCON[0] = 0) */
+	s5pc1xx_systimer_write(S3C_SYSTIMER_TCON, 0);
+
+	/* read the current timer configuration bits */
+	tcon = s5pc1xx_systimer_read(S3C_SYSTIMER_TCON);
+	tcfg = s5pc1xx_systimer_read(S3C_SYSTIMER_TCFG);
+	icntb = s5pc1xx_systimer_read(S3C_SYSTIMER_ICNTB);
+
+	clk = clk_get(NULL, "systimer");
+	if (IS_ERR(clk))
+		panic("failed to get clock for system timer");
+
+	clk_enable(clk);
+
+	pclk = clk_get_rate(clk);
+
+	/* configure clock tick */
+	timer_usec_ticks = timer_mask_usec_ticks(S3C_SYSTIMER_PRESCALER, pclk);
+
+	tcfg &= ~S3C_SYSTIMER_TCLK_MASK;
+	tcfg |= S3C_SYSTIMER_TCLK_PCLK;
+	tcfg &= ~S3C_SYSTIMER_PRESCALER_MASK;
+	tcfg |= S3C_SYSTIMER_PRESCALER - 1;
+
+	tcnt = ((pclk / S3C_SYSTIMER_PRESCALER) / S3C_SYSTIMER_TARGET_HZ) - 1;
+
+	/* check to see if timer is within 16bit range... */
+	if (tcnt > TICK_MAX) {
+		panic("setup_timer: HZ is too small, cannot configure timer!");
+		return;
+	}
+
+	s5pc1xx_systimer_write(S3C_SYSTIMER_TCFG, tcfg);
+
+	timer_startval = tcnt;
+	s5pc1xx_systimer_write(S3C_SYSTIMER_TCNTB, tcnt);
+
+	/* set Interrupt tick value */
+	icntb = (S3C_SYSTIMER_TARGET_HZ / HZ) - 1;
+	s5pc1xx_systimer_write(S3C_SYSTIMER_ICNTB, icntb);
+
+	tcon = S3C_SYSTIMER_INT_AUTO | S3C_SYTIMERS_START | S3C_SYSTIMER_INT_START | S3C_SYSTIMER_AUTO_RELOAD;
+	s5pc1xx_systimer_write(S3C_SYSTIMER_TCON, tcon);
+
+	printk("timer tcon=%08lx, tcnt %04lx, icnt %04lx, tcfg %08lx, usec %08lx\n",
+	       tcon, tcnt, icntb, tcfg, timer_usec_ticks);
+
+	/* Interrupt Start and Enable */
+	s5pc1xx_systimer_write(S3C_SYSTIMER_INT_CSTAT, (S3C_SYSTIMER_INT_ICNTEIE));
+}
+
+static void __init s5pc1xx_timer_init(void)
+{
+	s5pc1xx_timer_setup();
+	setup_irq(IRQ_SYSTIMER, &s5pc1xx_timer_irq);
+}
+
+struct sys_timer s5pc1xx_timer = {
+	.init		= s5pc1xx_timer_init,
+	.offset		= s5pc1xx_gettimeoffset,
+	.resume		= s5pc1xx_timer_setup
+};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/setup-csis.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-csis.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/setup-csis.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-csis.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,47 @@
+/* linux/arch/arm/plat-s5pc1xx/setup-csis.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Base S5PC1XX MIPI-CSI2 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <plat/map.h>
+#include <plat/regs-clock.h>
+#include <asm/io.h>
+
+struct platform_device; /* don't need the contents */
+
+void s3c_csis_cfg_gpio(struct platform_device *dev)
+{
+	return;
+}
+
+void s3c_csis_cfg_phy_global(struct platform_device *dev, int on)
+{
+	u32 cfg;
+
+	if (on) {
+		/* MIPI Power Enable */
+		cfg = __raw_readl(S5P_OTHERS);
+		cfg |= S5P_OTHERS_MIPI_DPHY_EN;
+		__raw_writel(cfg, S5P_OTHERS);
+
+		/* MIPI CSIS Part Reset */
+		cfg = __raw_readl(S5P_MIPI_PHY_CON0);
+		cfg |= S5P_MIPI_PHY_CON0_S_RESETN;
+		__raw_writel(cfg, S5P_MIPI_PHY_CON0);
+	} else {
+		/* MIPI Power Disable */
+		cfg = __raw_readl(S5P_OTHERS);
+		cfg &= ~S5P_OTHERS_MIPI_DPHY_EN;
+		__raw_writel(cfg, S5P_OTHERS);
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/setup-fimc0.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-fimc0.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/setup-fimc0.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-fimc0.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,69 @@
+/* linux/arch/arm/plat-s5pc1xx/setup-fimc0.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Base S5PC1XX FIMC controller 0 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/gpio-bank-e0.h>
+#include <plat/gpio-bank-e1.h>
+#include <plat/gpio-bank-h2.h>
+#include <plat/gpio-bank-h3.h>
+
+struct platform_device; /* don't need the contents */
+
+void s3c_fimc0_cfg_gpio(struct platform_device *dev)
+{
+	int i;
+
+	s3c_gpio_cfgpin(S5PC1XX_GPE0(0), S5PC1XX_GPE0_0_CAM_A_PCLK);
+	s3c_gpio_cfgpin(S5PC1XX_GPE0(1), S5PC1XX_GPE0_1_CAM_A_VSYNC);
+	s3c_gpio_cfgpin(S5PC1XX_GPE0(2), S5PC1XX_GPE0_2_CAM_A_HREF);
+	s3c_gpio_cfgpin(S5PC1XX_GPE0(3), S5PC1XX_GPE0_3_CAM_A_DATA_0);
+	s3c_gpio_cfgpin(S5PC1XX_GPE0(4), S5PC1XX_GPE0_4_CAM_A_DATA_1);
+	s3c_gpio_cfgpin(S5PC1XX_GPE0(5), S5PC1XX_GPE0_5_CAM_A_DATA_2);
+	s3c_gpio_cfgpin(S5PC1XX_GPE0(6), S5PC1XX_GPE0_6_CAM_A_DATA_3);
+	s3c_gpio_cfgpin(S5PC1XX_GPE0(7), S5PC1XX_GPE0_7_CAM_A_DATA_4);
+	s3c_gpio_cfgpin(S5PC1XX_GPE1(0), S5PC1XX_GPE1_0_CAM_A_DATA_5);
+	s3c_gpio_cfgpin(S5PC1XX_GPE1(1), S5PC1XX_GPE1_1_CAM_A_DATA_6);
+	s3c_gpio_cfgpin(S5PC1XX_GPE1(2), S5PC1XX_GPE1_2_CAM_A_DATA_7);
+	s3c_gpio_cfgpin(S5PC1XX_GPE1(3), S5PC1XX_GPE1_3_CAM_A_CLKOUT);
+	s3c_gpio_cfgpin(S5PC1XX_GPE1(4), S5PC1XX_GPE1_4_CAM_A_RESET);
+	s3c_gpio_cfgpin(S5PC1XX_GPE1(5), S5PC1XX_GPE1_5_CAM_A_FIELD);
+
+	for (i = 0; i < 8; i++)
+		s3c_gpio_setpull(S5PC1XX_GPE0(i), S3C_GPIO_PULL_UP);
+
+	for (i = 0; i < 6; i++)
+		s3c_gpio_setpull(S5PC1XX_GPE1(i), S3C_GPIO_PULL_UP);
+
+	s3c_gpio_cfgpin(S5PC1XX_GPH2(0), S5PC1XX_GPH2_0_CAM_B_DATA_0);
+	s3c_gpio_cfgpin(S5PC1XX_GPH2(1), S5PC1XX_GPH2_1_CAM_B_DATA_1);
+	s3c_gpio_cfgpin(S5PC1XX_GPH2(2), S5PC1XX_GPH2_2_CAM_B_DATA_2);
+	s3c_gpio_cfgpin(S5PC1XX_GPH2(3), S5PC1XX_GPH2_3_CAM_B_DATA_3);
+	s3c_gpio_cfgpin(S5PC1XX_GPH2(4), S5PC1XX_GPH2_4_CAM_B_DATA_4);
+	s3c_gpio_cfgpin(S5PC1XX_GPH2(5), S5PC1XX_GPH2_5_CAM_B_DATA_5);
+	s3c_gpio_cfgpin(S5PC1XX_GPH2(6), S5PC1XX_GPH2_6_CAM_B_DATA_6);
+	s3c_gpio_cfgpin(S5PC1XX_GPH2(7), S5PC1XX_GPH2_7_CAM_B_DATA_7);
+	s3c_gpio_cfgpin(S5PC1XX_GPH3(0), S5PC1XX_GPH3_0_CAM_B_PCLK);
+	s3c_gpio_cfgpin(S5PC1XX_GPH3(1), S5PC1XX_GPH3_1_CAM_B_VSYNC);
+	s3c_gpio_cfgpin(S5PC1XX_GPH3(2), S5PC1XX_GPH3_2_CAM_B_HREF);
+	s3c_gpio_cfgpin(S5PC1XX_GPH3(3), S5PC1XX_GPH3_3_CAM_B_FIELD);
+	s3c_gpio_cfgpin(S5PC1XX_GPE1(3), S5PC1XX_GPE1_3_CAM_A_CLKOUT);
+
+	for (i = 0; i < 8; i++)
+		s3c_gpio_setpull(S5PC1XX_GPH2(i), S3C_GPIO_PULL_UP);
+
+	for (i = 0; i < 4; i++)
+		s3c_gpio_setpull(S5PC1XX_GPH3(i), S3C_GPIO_PULL_UP);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/setup-fimc1.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-fimc1.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/setup-fimc1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-fimc1.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,22 @@
+/* linux/arch/arm/plat-s5pc1xx/setup-fimc1.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Base S5PC1XX FIMC controller 1 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+
+struct platform_device; /* don't need the contents */
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+
+void s3c_fimc1_cfg_gpio(struct platform_device *dev) { }
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/setup-fimc2.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-fimc2.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/setup-fimc2.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-fimc2.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,22 @@
+/* linux/arch/arm/plat-s5pc1xx/setup-fimc2.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Base S5PC1XX FIMC controller 2 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+
+struct platform_device; /* don't need the contents */
+
+#include <mach/gpio.h>
+#include <plat/gpio-cfg.h>
+
+void s3c_fimc2_cfg_gpio(struct platform_device *dev) { }
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/setup-fimd.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-fimd.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/setup-fimd.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-fimd.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,87 @@
+/* linux/arch/arm/plat-s5pc1xx/setup-fimd.c
+ *
+ * Copyright 2009 Samsung Electronics
+ *	Jinsung Yang <jsgood.yang@samsung.com>
+ *	http://samsungsemi.com/
+ *
+ * Base S5PC1XX FIMD gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+#include <linux/delay.h>
+#include <linux/gpio.h>
+#include <plat/gpio-cfg.h>
+
+struct platform_device; /* don't need the contents */
+
+void s3c_fimd_cfg_gpio(struct platform_device *dev)
+{
+	int i;
+
+	for (i = 0; i < 8; i++)
+		s3c_gpio_cfgpin(S5PC1XX_GPF0(i), S3C_GPIO_SFN(2));
+
+	for (i = 0; i < 8; i++)
+		s3c_gpio_cfgpin(S5PC1XX_GPF1(i), S3C_GPIO_SFN(2));
+
+	for (i = 0; i < 8; i++)
+		s3c_gpio_cfgpin(S5PC1XX_GPF2(i), S3C_GPIO_SFN(2));
+
+	for (i = 0; i < 4; i++)
+		s3c_gpio_cfgpin(S5PC1XX_GPF3(i), S3C_GPIO_SFN(2));
+}
+
+int s3c_fimd_backlight_on(struct platform_device *dev)
+{
+	int err;
+
+	if (gpio_is_valid(S5PC1XX_GPD(0))) {
+		err = gpio_request(S5PC1XX_GPD(0), "GPD");
+
+		if (err) {
+			printk(KERN_ERR "failed to request GPD for "
+				"lcd backlight control\n");
+			return err;
+		}
+
+		gpio_direction_output(S5PC1XX_GPD(0), 1);
+	}
+
+	return 0;
+}
+
+int s3c_fimd_reset_lcd(struct platform_device *dev)
+{
+	int err;
+
+	if (gpio_is_valid(S5PC1XX_GPH0(6))) {
+		err = gpio_request(S5PC1XX_GPH0(6), "GPH0");
+
+		if (err) {
+			printk(KERN_ERR "failed to request GPH0 for "
+				"lcd reset control\n");
+			return err;
+		}
+
+		gpio_direction_output(S5PC1XX_GPH0(6), 1);
+	}
+
+	mdelay(100);
+
+	gpio_set_value(S5PC1XX_GPH0(6), 0);
+	mdelay(10);
+
+	gpio_set_value(S5PC1XX_GPH0(6), 1);
+	mdelay(10);
+
+	gpio_free(S5PC1XX_GPH0(6));
+	gpio_free(S5PC1XX_GPD(0));
+
+	return 0;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/setup-i2c0.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-i2c0.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/setup-i2c0.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-i2c0.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,31 @@
+/* linux/arch/arm/plat-s5pc1xx/setup-i2c0.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S3C64XX I2C bus 0 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+
+struct platform_device; /* don't need the contents */
+
+#include <mach/gpio.h>
+#include <plat/iic.h>
+#include <plat/gpio-bank-d.h>
+#include <plat/gpio-cfg.h>
+
+void s3c_i2c0_cfg_gpio(struct platform_device *dev)
+{
+	s3c_gpio_cfgpin(S5PC1XX_GPD(3), S5PC1XX_GPD3_I2C0_SDA);
+	s3c_gpio_cfgpin(S5PC1XX_GPD(4), S5PC1XX_GPD4_I2C0_SCL);
+	s3c_gpio_setpull(S5PC1XX_GPD(3), S3C_GPIO_PULL_UP);
+	s3c_gpio_setpull(S5PC1XX_GPD(4), S3C_GPIO_PULL_UP);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/setup-i2c1.c linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-i2c1.c
--- linux-2.6.28/arch/arm/plat-s5pc1xx/setup-i2c1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/setup-i2c1.c	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,31 @@
+/* linux/arch/arm/plat-s5pc1xx/setup-i2c0.c
+ *
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * Base S5PC1XX I2C bus 0 gpio configuration
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+
+struct platform_device; /* don't need the contents */
+
+#include <mach/gpio.h>
+#include <plat/iic.h>
+#include <plat/gpio-bank-d.h>
+#include <plat/gpio-cfg.h>
+
+void s3c_i2c1_cfg_gpio(struct platform_device *dev)
+{
+	s3c_gpio_cfgpin(S5PC1XX_GPD(5), S5PC1XX_GPD5_I2C1_SDA);
+	s3c_gpio_cfgpin(S5PC1XX_GPD(6), S5PC1XX_GPD6_I2C1_SCL);
+	s3c_gpio_setpull(S5PC1XX_GPD(5), S3C_GPIO_PULL_UP);
+	s3c_gpio_setpull(S5PC1XX_GPD(6), S3C_GPIO_PULL_UP);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/plat-s5pc1xx/sleep.S linux-2.6.28.6/arch/arm/plat-s5pc1xx/sleep.S
--- linux-2.6.28/arch/arm/plat-s5pc1xx/sleep.S	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/arch/arm/plat-s5pc1xx/sleep.S	2009-04-30 09:36:37.000000000 +0200
@@ -0,0 +1,245 @@
+/* linux/arch/arm/plat-s3c64xx/sleep.S
+ *
+ * Copyright (c) 2004 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C6410 Power Manager (Suspend-To-RAM) support
+ *
+ * Based on PXA/SA1100 sleep code by:
+ *	Nicolas Pitre, (c) 2002 Monta Vista Software Inc
+ *	Cliff Brake, (c) 2001
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+#include <linux/linkage.h>
+#include <asm/assembler.h>
+#include <mach/hardware.h>
+#include <mach/map.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/regs-clock.h>
+#include <mach/regs-mem.h>
+#include <plat/regs-serial.h>
+
+#define S5P_INFORM0 0xE0108400
+
+/* CONFIG_DEBUG_RESUME is dangerous if your bootloader does not
+ * reset the UART configuration, only enable if you really need this!
+*/
+	.text
+
+	/* s5pc100_cpu_save
+	 *
+	 * save enough of the CPU state to allow us to re-start
+	 * pm.c code. as we store items like the sp/lr, we will
+	 * end up returning from this function when the cpu resumes
+	 * so the return value is set to mark this.
+	 *
+	 * This arangement means we avoid having to flush the cache
+	 * from this code.
+	 *
+	 * entry:
+	 *	r0 = pointer to save block
+	 *
+	 * exit:
+	 *	r0 = 0 => we stored everything
+	 *	     1 => resumed from sleep
+	*/
+
+ENTRY(s5pc100_cpu_save)
+#if 0
+	stmfd	sp!, { r4 - r12, lr }
+
+	@@ store co-processor registers
+
+	mrc	p15, 0, r4, c13, c0, 0	@ Read FCSE PID
+	mrc	p15, 0, r5, c3, c0, 0	@ Read Domain ID
+	mrc	p15, 0, r6, c2, c0, 0	@ Read translation table base address
+	mrc	p15, 0, r7, c1, c0, 0	@ Read control register
+
+	stmia	r0, { r4 - r13 }
+
+	mov	r0, #0
+	ldmfd	sp, { r4 - r12, pc }
+#else
+	stmfd	sp!, { r3 - r12, lr }
+
+	mrc	p15, 0, r4, c13, c0, 0	@ FCSE/PID
+	mrc	p15, 0, r5, c3, c0, 0	@ Domain ID
+	mrc	p15, 0, r6, c2, c0, 0	@ Translation Table BASE0
+	mrc	p15, 0, r7, c2, c0, 1	@ Translation Table BASE1
+	mrc	p15, 0, r8, c2, c0, 2	@ Translation Table Control
+	mrc	p15, 0, r9, c1, c0, 0	@ Control register
+	mrc	p15, 0, r10, c1, c0, 1	@ Auxiliary control register
+	mrc	p15, 0, r11, c1, c0, 2	@ Co-processor access controls
+	mrc	p15, 0, r12, c10, c2, 0	@ Read PRRR
+	mrc	p15, 0, r3, c10, c2, 1	@ READ NMRR	
+
+	stmia	r0, { r3 - r13 }
+
+	mov	r0, #0
+	ldmfd	sp, { r3 - r12, pc }
+#endif
+	@@ return to the caller, after having the MMU
+	@@ turned on, this restores the last bits from the
+	@@ stack
+resume_with_mmu:
+	mov	r0, #1
+
+	/* delete added mmu table list */
+	ldr	r9 ,=0xC0000000
+	bic	r8, r8, #0xF0000000
+	orr	r8, r8, r9
+	str	r12, [r8]
+#if 0
+	ldmfd	sp!, { r4 - r12, pc }
+#else
+	ldmfd	sp!, { r3 - r12, pc }
+#endif
+	.ltorg
+
+	@@ the next bits sit in the .data segment, even though they
+	@@ happen to be code... the s5pc100_sleep_save_phys needs to be
+	@@ accessed by the resume code before it can restore the MMU.
+	@@ This means that the variable has to be close enough for the
+	@@ code to read it... since the .text segment needs to be RO,
+	@@ the data segment can be the only place to put this code.
+
+	.data
+
+	.global	s5pc100_sleep_save_phys
+s5pc100_sleep_save_phys:
+	.word	0
+
+
+	/* sleep magic, to allow the bootloader to check for an valid
+	 * image to resume to. Must be the first word before the
+	 * s5pc100_cpu_resume entry.
+	*/
+
+	.word	0x2bedf00d
+
+	/* s5pc100_cpu_resume
+	 *
+	 * resume code entry for bootloader to call
+	 *
+	 * we must put this code here in the data segment as we have no
+	 * other way of restoring the stack pointer after sleep, and we
+	 * must not write to the code segment (code is read-only)
+	*/
+
+ENTRY(s5pc100_cpu_resume)
+	mov	r0, #PSR_I_BIT | PSR_F_BIT | SVC_MODE
+	msr	cpsr_c, r0
+
+	@@ load UART to allow us to print the two characters for
+	@@ resume debug
+
+	mov	r1, #0
+	mcr	p15, 0, r1, c8, c7, 0		@@ invalidate TLBs
+	mcr	p15, 0, r1, c7, c5, 0		@@ invalidate I Cache
+
+	ldr	r0, s5pc100_sleep_save_phys	@ address of restore block
+#if 0
+
+	ldmia	r0, { r4 - r13 }
+	mcr	p15, 0, r4, c13, c0, 0		@ PID
+	mcr	p15, 0, r5, c3, c0, 0		@ Domain ID
+	mcr	p15, 0, r6, c2, c0, 0		@ translation table base
+
+	/* calculate first section address into r8 */
+	mov	r8, r6
+	ldr	r10, =0x3fff
+	bic	r8, r8, r10
+	ldr	r11, =S5P_INFORM0
+	ldr	r9, [r11, #0]
+	mov	r9, r9 ,LSR #18
+	bic	r9, r9, #0x3
+	orr	r8, r8, r9
+
+	/* calculate mmu list value into r9 */
+	mov 	r9, r9, LSL #18
+	ldr	r10, =0x40e
+	orr	r9, r9, r10
+
+	/* back up originally data */
+
+	ldr	r12, [r8]
+
+	/* Added list about mmu */
+	str	r9, [r8]
+
+	ldr	r2, =resume_with_mmu
+	mcr	p15, 0, r7, c1, c0, 0		@ turn on MMU, etc
+	nop					@ second-to-last before mmu
+	mov	pc, r2				@ go back to virtual address
+#else
+	ldmia	r0, { r3 - r13 }
+
+	mcr	p15, 0, r4, c13, c0, 0	@ FCSE/PID
+	mcr	p15, 0, r5, c3, c0, 0	@ Domain ID
+	
+	mcr	p15, 0, r8, c2, c0, 2	@ Translation Table Control
+	mcr	p15, 0, r7, c2, c0, 1	@ Translation Table BASE1
+	mcr	p15, 0, r6, c2, c0, 0	@ Translation Table BASE0
+
+	mcr	p15, 0, r10, c1, c0, 1	@ Auxiliary control register
+
+	mov	r0, #0
+	mcr	p15, 0, r0, c8, c7, 0	@ Invalidate I & D TLB
+
+	mov	r0, #0			@ restore copro access controls
+	mcr	p15, 0, r11, c1, c0, 2	@ Co-processor access controls
+	mcr 	p15, 0, r0, c7, c5, 4	
+
+	mcr	p15, 0, r12, c10, c2, 0	@ write PRRR
+	mcr	p15, 0, r3, c10, c2, 1	@ write NMRR
+
+	/* calculate first section address into r8 */
+	mov	r4, r6
+	ldr	r5, =0x3fff
+	bic	r4, r4, r5
+	ldr	r11, =S5P_INFORM0
+	ldr	r10, [r11, #0]
+	mov	r10, r10 ,LSR #18
+	bic	r10, r10, #0x3
+	orr	r4, r4, r10
+
+	/* calculate mmu list value into r9 */
+	mov 	r10, r10, LSL #18
+	ldr	r5, =0x40e
+	orr	r10, r10, r5
+
+	/* back up originally data */
+
+	ldr	r12, [r4]
+
+	/* Added list about mmu */
+	str	r10, [r4]
+
+	ldr	r2, =resume_with_mmu
+	mcr	p15, 0, r9, c1, c0, 0		@ turn on MMU, etc
+
+        nop
+        nop
+        nop
+        nop
+        nop					@ second-to-last before mmu
+
+	mov	pc, r2				@ go back to virtual address
+	b	.
+#endif
+	.ltorg
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/arch/arm/tools/mach-types linux-2.6.28.6/arch/arm/tools/mach-types
--- linux-2.6.28/arch/arm/tools/mach-types	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/arch/arm/tools/mach-types	2010-04-15 08:33:43.000000000 +0200
@@ -12,7 +12,7 @@
 #
 #   http://www.arm.linux.org.uk/developer/machines/?action=new
 #
-# Last update: Thu Sep 25 10:10:50 2008
+# Last update: Wed Nov 25 22:14:58 2009
 #
 # machine_is_xxx	CONFIG_xxxx		MACH_TYPE_xxx		number
 #
@@ -916,7 +916,7 @@
 apf9328			MACH_APF9328		APF9328			906
 omap_wipoq		MACH_OMAP_WIPOQ		OMAP_WIPOQ		907
 omap_twip		MACH_OMAP_TWIP		OMAP_TWIP		908
-palmt650		MACH_PALMT650		PALMT650		909
+treo650			MACH_TREO650		TREO650			909
 acumen			MACH_ACUMEN		ACUMEN			910
 xp100			MACH_XP100		XP100			911
 fs2410			MACH_FS2410		FS2410			912
@@ -928,7 +928,7 @@
 palmtc			MACH_PALMTC		PALMTC			918
 omap_apollon		MACH_OMAP_APOLLON	OMAP_APOLLON		919
 mxc30030evb		MACH_MXC30030EVB	MXC30030EVB		920
-rea_2d			MACH_REA_2D		REA_2D			921
+rea_cpu2		MACH_REA_2D		REA_2D			921
 eti3e524		MACH_TI3E524		TI3E524			922
 ateb9200		MACH_ATEB9200		ATEB9200		923
 auckland		MACH_AUCKLAND		AUCKLAND		924
@@ -1232,7 +1232,7 @@
 vpac270			MACH_VPAC270		VPAC270			1227
 rd129			MACH_RD129		RD129			1228
 htcwizard		MACH_HTCWIZARD		HTCWIZARD		1229
-xscale_treo680		MACH_XSCALE_TREO680	XSCALE_TREO680		1230
+treo680			MACH_TREO680		TREO680			1230
 tecon_tmezon		MACH_TECON_TMEZON	TECON_TMEZON		1231
 zylonite		MACH_ZYLONITE		ZYLONITE		1233
 gene1270		MACH_GENE1270		GENE1270		1234
@@ -1380,7 +1380,7 @@
 olip8			MACH_OLIP8		OLIP8			1378
 ghi270hg		MACH_GHI270HG		GHI270HG		1379
 davinci_dm6467_evm	MACH_DAVINCI_DM6467_EVM	DAVINCI_DM6467_EVM	1380
-davinci_dm355_evm	MACH_DAVINCI_DM350_EVM	DAVINCI_DM350_EVM	1381
+davinci_dm355_evm	MACH_DAVINCI_DM355_EVM	DAVINCI_DM355_EVM	1381
 blackriver		MACH_BLACKRIVER		BLACKRIVER		1383
 sandgate_wp		MACH_SANDGATEWP		SANDGATEWP		1384
 cdotbwsg		MACH_CDOTBWSG		CDOTBWSG		1385
@@ -1418,10 +1418,10 @@
 cnty_titan		MACH_CNTY_TITAN		CNTY_TITAN		1418
 app3xx			MACH_APP3XX		APP3XX			1419
 sideoatsgrama		MACH_SIDEOATSGRAMA	SIDEOATSGRAMA		1420
-palmtreo700p		MACH_PALMTREO700P	PALMTREO700P		1421
-palmtreo700w		MACH_PALMTREO700W	PALMTREO700W		1422
-palmtreo750		MACH_PALMTREO750	PALMTREO750		1423
-palmtreo755p		MACH_PALMTREO755P	PALMTREO755P		1424
+treo700p		MACH_TREO700P		TREO700P		1421
+treo700w		MACH_TREO700W		TREO700W		1422
+treo750			MACH_TREO750		TREO750			1423
+treo755p		MACH_TREO755P		TREO755P		1424
 ezreganut9200		MACH_EZREGANUT9200	EZREGANUT9200		1425
 sarge			MACH_SARGE		SARGE			1426
 a696			MACH_A696		A696			1427
@@ -1455,7 +1455,7 @@
 h6044			MACH_H6044		H6044			1458
 app			MACH_APP		APP			1459
 tct_hammer		MACH_TCT_HAMMER		TCT_HAMMER		1460
-herald			MACH_HERMES		HERMES			1461
+herald			MACH_HERALD		HERALD			1461
 artemis			MACH_ARTEMIS		ARTEMIS			1462
 htctitan		MACH_HTCTITAN		HTCTITAN		1463
 qranium			MACH_QRANIUM		QRANIUM			1464
@@ -1638,7 +1638,7 @@
 aml_m8050		MACH_AML_M8050		AML_M8050		1644
 mx35_3ds		MACH_MX35_3DS		MX35_3DS		1645
 mars			MACH_MARS		MARS			1646
-ntosd_644xa		MACH_NTOSD_644XA	NTOSD_644XA		1647
+neuros_osd2		MACH_NEUROS_OSD2	NEUROS_OSD2		1647
 badger			MACH_BADGER		BADGER			1648
 trizeps4wl		MACH_TRIZEPS4WL		TRIZEPS4WL		1649
 trizeps5		MACH_TRIZEPS5		TRIZEPS5		1650
@@ -1654,7 +1654,7 @@
 zoran43xx		MACH_ZORAN43XX		ZORAN43XX		1660
 sonix926		MACH_SONIX926		SONIX926		1661
 celestialsemi		MACH_CELESTIALSEMI	CELESTIALSEMI		1662
-cc9m2443		MACH_CC9M2443		CC9M2443		1663
+cc9m2443js		MACH_CC9M2443JS		CC9M2443JS		1663
 tw5334			MACH_TW5334		TW5334			1664
 omap_htcartemis		MACH_HTCARTEMIS		HTCARTEMIS		1665
 nal_hlite		MACH_NAL_HLITE		NAL_HLITE		1666
@@ -1721,7 +1721,7 @@
 csb637xo		MACH_CSB637XO		CSB637XO		1730
 evisiong		MACH_EVISIONG		EVISIONG		1731
 stmp37xx		MACH_STMP37XX		STMP37XX		1732
-stmp378x		MACH_STMP38XX		STMP38XX		1733
+stmp378x		MACH_STMP378X		STMP378X		1733
 tnt			MACH_TNT		TNT			1734
 tbxt			MACH_TBXT		TBXT			1735
 playmate		MACH_PLAYMATE		PLAYMATE		1736
@@ -1769,9 +1769,9 @@
 mi424wr			MACH_MI424WR		MI424WR			1778
 axs_ultrax		MACH_AXS_ULTRAX		AXS_ULTRAX		1779
 at572d940deb		MACH_AT572D940DEB	AT572D940DEB		1780
-davinci_da8xx_evm	MACH_DAVINCI_DA8XX_EVM	DAVINCI_DA8XX_EVM	1781
+davinci_da830_evm	MACH_DAVINCI_DA830_EVM	DAVINCI_DA830_EVM	1781
 ep9302			MACH_EP9302		EP9302			1782
-at572d940hfeb		MACH_AT572D940HFEB	AT572D940HFEB		1783
+at572d940hfek		MACH_AT572D940HFEB	AT572D940HFEB		1783
 cybook3			MACH_CYBOOK3		CYBOOK3			1784
 wdg002			MACH_WDG002		WDG002			1785
 sg560adsl		MACH_SG560ADSL		SG560ADSL		1786
@@ -1802,7 +1802,7 @@
 rd88f5181l_ge		MACH_RD88F5181L_GE	RD88F5181L_GE		1812
 sifmain			MACH_SIFMAIN		SIFMAIN			1813
 sam9_l9261		MACH_SAM9_L9261		SAM9_L9261		1814
-cc9m2443js		MACH_CC9M2443JS		CC9M2443JS		1815
+cc9m2443		MACH_CC9M2443		CC9M2443		1815
 xaria300		MACH_XARIA300		XARIA300		1816
 it9200			MACH_IT9200		IT9200			1817
 rd88f5181l_fxo		MACH_RD88F5181L_FXO	RD88F5181L_FXO		1818
@@ -1811,13 +1811,13 @@
 jade			MACH_JADE		JADE			1821
 ks8695_softplc		MACH_KS8695_SOFTPLC	KS8695_SOFTPLC		1822
 gprisc3			MACH_GPRISC3		GPRISC3			1823
-stamp9260		MACH_STAMP9260		STAMP9260		1824
+stamp9g20		MACH_STAMP9G20		STAMP9G20		1824
 smdk6430		MACH_SMDK6430		SMDK6430		1825
 smdkc100		MACH_SMDKC100		SMDKC100		1826
 tavorevb		MACH_TAVOREVB		TAVOREVB		1827
 saar			MACH_SAAR		SAAR			1828
 deister_eyecam		MACH_DEISTER_EYECAM	DEISTER_EYECAM		1829
-at91sam9m10ek		MACH_AT91SAM9M10EK	AT91SAM9M10EK		1830
+at91sam9m10g45ek	MACH_AT91SAM9M10G45EK	AT91SAM9M10G45EK	1830
 linkstation_produo	MACH_LINKSTATION_PRODUO	LINKSTATION_PRODUO	1831
 hit_b0			MACH_HIT_B0		HIT_B0			1832
 adx_rmu			MACH_ADX_RMU		ADX_RMU			1833
@@ -1899,3 +1899,640 @@
 asusp535		MACH_ASUSP535		ASUSP535		1909
 htcraphael		MACH_HTCRAPHAEL		HTCRAPHAEL		1910
 sygdg1			MACH_SYGDG1		SYGDG1			1911
+sygdg2			MACH_SYGDG2		SYGDG2			1912
+seoul			MACH_SEOUL		SEOUL			1913
+salerno			MACH_SALERNO		SALERNO			1914
+ucn_s3c64xx		MACH_UCN_S3C64XX	UCN_S3C64XX		1915
+msm7201a		MACH_MSM7201A		MSM7201A		1916
+lpr1			MACH_LPR1		LPR1			1917
+armadillo500fx		MACH_ARMADILLO500FX	ARMADILLO500FX		1918
+g3evm			MACH_G3EVM		G3EVM			1919
+z3_dm355		MACH_Z3_DM355		Z3_DM355		1920
+w90p910evb		MACH_W90P910EVB		W90P910EVB		1921
+w90p920evb		MACH_W90P920EVB		W90P920EVB		1922
+w90p950evb		MACH_W90P950EVB		W90P950EVB		1923
+w90n960evb		MACH_W90N960EVB		W90N960EVB		1924
+camhd			MACH_CAMHD		CAMHD			1925
+mvc100			MACH_MVC100		MVC100			1926
+electrum_200		MACH_ELECTRUM_200	ELECTRUM_200		1927
+htcjade			MACH_HTCJADE		HTCJADE			1928
+memphis			MACH_MEMPHIS		MEMPHIS			1929
+imx27sbc		MACH_IMX27SBC		IMX27SBC		1930
+lextar			MACH_LEXTAR		LEXTAR			1931
+mv88f6281gtw_ge		MACH_MV88F6281GTW_GE	MV88F6281GTW_GE		1932
+ncp			MACH_NCP		NCP			1933
+z32an_series		MACH_Z32AN		Z32AN			1934
+tmq_capd		MACH_TMQ_CAPD		TMQ_CAPD		1935
+omap3_wl		MACH_OMAP3_WL		OMAP3_WL		1936
+chumby			MACH_CHUMBY		CHUMBY			1937
+atsarm9			MACH_ATSARM9		ATSARM9			1938
+davinci_dm365_evm	MACH_DAVINCI_DM365_EVM	DAVINCI_DM365_EVM	1939
+bahamas			MACH_BAHAMAS		BAHAMAS			1940
+das			MACH_DAS		DAS			1941
+minidas			MACH_MINIDAS		MINIDAS			1942
+vk1000			MACH_VK1000		VK1000			1943
+centro			MACH_CENTRO		CENTRO			1944
+ctera_2bay		MACH_CTERA_2BAY		CTERA_2BAY		1945
+edgeconnect		MACH_EDGECONNECT	EDGECONNECT		1946
+nd27000			MACH_ND27000		ND27000			1947
+cobra			MACH_GEMALTO_COBRA	GEMALTO_COBRA		1948
+ingelabs_comet		MACH_INGELABS_COMET	INGELABS_COMET		1949
+pollux_wiz		MACH_POLLUX_WIZ		POLLUX_WIZ		1950
+blackstone		MACH_BLACKSTONE		BLACKSTONE		1951
+topaz			MACH_TOPAZ		TOPAZ			1952
+aixle			MACH_AIXLE		AIXLE			1953
+mw998			MACH_MW998		MW998			1954
+nokia_rx51		MACH_NOKIA_RX51		NOKIA_RX51		1955
+vsc5605ev		MACH_VSC5605EV		VSC5605EV		1956
+nt98700dk		MACH_NT98700DK		NT98700DK		1957
+icontact		MACH_ICONTACT		ICONTACT		1958
+swarco_frcpu		MACH_SWARCO_FRCPU	SWARCO_FRCPU		1959
+swarco_scpu		MACH_SWARCO_SCPU	SWARCO_SCPU		1960
+bbox_p16		MACH_BBOX_P16		BBOX_P16		1961
+bstd			MACH_BSTD		BSTD			1962
+sbc2440ii		MACH_SBC2440II		SBC2440II		1963
+pcm034			MACH_PCM034		PCM034			1964
+neso			MACH_NESO		NESO			1965
+wlnx_9g20		MACH_WLNX_9G20		WLNX_9G20		1966
+omap_zoom2		MACH_OMAP_ZOOM2		OMAP_ZOOM2		1967
+totemnova		MACH_TOTEMNOVA		TOTEMNOVA		1968
+c5000			MACH_C5000		C5000			1969
+unipo_at91sam9263	MACH_UNIPO_AT91SAM9263	UNIPO_AT91SAM9263	1970
+ethernut5		MACH_ETHERNUT5		ETHERNUT5		1971
+arm11			MACH_ARM11		ARM11			1972
+cpuat9260		MACH_CPUAT9260		CPUAT9260		1973
+cpupxa255		MACH_CPUPXA255		CPUPXA255		1974
+eukrea_cpuimx27		MACH_CPUIMX27		CPUIMX27		1975
+cheflux			MACH_CHEFLUX		CHEFLUX			1976
+eb_cpux9k2		MACH_EB_CPUX9K2		EB_CPUX9K2		1977
+opcotec			MACH_OPCOTEC		OPCOTEC			1978
+yt			MACH_YT			YT			1979
+motoq			MACH_MOTOQ		MOTOQ			1980
+bsb1			MACH_BSB1		BSB1			1981
+acs5k			MACH_ACS5K		ACS5K			1982
+milan			MACH_MILAN		MILAN			1983
+quartzv2		MACH_QUARTZV2		QUARTZV2		1984
+rsvp			MACH_RSVP		RSVP			1985
+rmp200			MACH_RMP200		RMP200			1986
+snapper_9260		MACH_SNAPPER_9260	SNAPPER_9260		1987
+dsm320			MACH_DSM320		DSM320			1988
+adsgcm			MACH_ADSGCM		ADSGCM			1989
+ase2_400		MACH_ASE2_400		ASE2_400		1990
+pizza			MACH_PIZZA		PIZZA			1991
+spot_ngpl		MACH_SPOT_NGPL		SPOT_NGPL		1992
+armata			MACH_ARMATA		ARMATA			1993
+exeda			MACH_EXEDA		EXEDA			1994
+mx31sf005		MACH_MX31SF005		MX31SF005		1995
+f5d8231_4_v2		MACH_F5D8231_4_V2	F5D8231_4_V2		1996
+q2440			MACH_Q2440		Q2440			1997
+qq2440			MACH_QQ2440		QQ2440			1998
+mini2440		MACH_MINI2440		MINI2440		1999
+colibri300		MACH_COLIBRI300		COLIBRI300		2000
+jades			MACH_JADES		JADES			2001
+spark			MACH_SPARK		SPARK			2002
+benzina			MACH_BENZINA		BENZINA			2003
+blaze			MACH_BLAZE		BLAZE			2004
+linkstation_ls_hgl	MACH_LINKSTATION_LS_HGL	LINKSTATION_LS_HGL	2005
+htckovsky		MACH_HTCVENUS		HTCVENUS		2006
+sony_prs505		MACH_SONY_PRS505	SONY_PRS505		2007
+hanlin_v3		MACH_HANLIN_V3		HANLIN_V3		2008
+sapphira		MACH_SAPPHIRA		SAPPHIRA		2009
+dack_sda_01		MACH_DACK_SDA_01	DACK_SDA_01		2010
+armbox			MACH_ARMBOX		ARMBOX			2011
+harris_rvp		MACH_HARRIS_RVP		HARRIS_RVP		2012
+ribaldo			MACH_RIBALDO		RIBALDO			2013
+agora			MACH_AGORA		AGORA			2014
+omap3_mini		MACH_OMAP3_MINI		OMAP3_MINI		2015
+a9sam6432_b		MACH_A9SAM6432_B	A9SAM6432_B		2016
+usg2410			MACH_USG2410		USG2410			2017
+pc72052_i10_revb	MACH_PC72052_I10_REVB	PC72052_I10_REVB	2018
+mx35_exm32		MACH_MX35_EXM32		MX35_EXM32		2019
+topas910		MACH_TOPAS910		TOPAS910		2020
+hyena			MACH_HYENA		HYENA			2021
+pospax			MACH_POSPAX		POSPAX			2022
+hdl_gx			MACH_HDL_GX		HDL_GX			2023
+ctera_4bay		MACH_CTERA_4BAY		CTERA_4BAY		2024
+ctera_plug_c		MACH_CTERA_PLUG_C	CTERA_PLUG_C		2025
+crwea_plug_i		MACH_CRWEA_PLUG_I	CRWEA_PLUG_I		2026
+egauge2			MACH_EGAUGE2		EGAUGE2			2027
+didj			MACH_DIDJ		DIDJ			2028
+m_s3c2443		MACH_MEISTER		MEISTER			2029
+htcblackstone		MACH_HTCBLACKSTONE	HTCBLACKSTONE		2030
+cpuat9g20		MACH_CPUAT9G20		CPUAT9G20		2031
+smdk6440		MACH_SMDK6440		SMDK6440		2032
+omap_35xx_mvp		MACH_OMAP_35XX_MVP	OMAP_35XX_MVP		2033
+ctera_plug_i		MACH_CTERA_PLUG_I	CTERA_PLUG_I		2034
+pvg610_100		MACH_PVG610		PVG610			2035
+hprw6815		MACH_HPRW6815		HPRW6815		2036
+omap3_oswald		MACH_OMAP3_OSWALD	OMAP3_OSWALD		2037
+nas4220b		MACH_NAS4220B		NAS4220B		2038
+htcraphael_cdma		MACH_HTCRAPHAEL_CDMA	HTCRAPHAEL_CDMA		2039
+htcdiamond_cdma		MACH_HTCDIAMOND_CDMA	HTCDIAMOND_CDMA		2040
+scaler			MACH_SCALER		SCALER			2041
+zylonite2		MACH_ZYLONITE2		ZYLONITE2		2042
+aspenite		MACH_ASPENITE		ASPENITE		2043
+teton			MACH_TETON		TETON			2044
+ttc_dkb			MACH_TTC_DKB		TTC_DKB			2045
+bishop2			MACH_BISHOP2		BISHOP2			2046
+ippv5			MACH_IPPV5		IPPV5			2047
+farm926			MACH_FARM926		FARM926			2048
+mmccpu			MACH_MMCCPU		MMCCPU			2049
+sgmsfl			MACH_SGMSFL		SGMSFL			2050
+tt8000			MACH_TT8000		TT8000			2051
+zrn4300lp		MACH_ZRN4300LP		ZRN4300LP		2052
+mptc			MACH_MPTC		MPTC			2053
+h6051			MACH_H6051		H6051			2054
+pvg610_101		MACH_PVG610_101		PVG610_101		2055
+stamp9261_pc_evb	MACH_STAMP9261_PC_EVB	STAMP9261_PC_EVB	2056
+pelco_odysseus		MACH_PELCO_ODYSSEUS	PELCO_ODYSSEUS		2057
+tny_a9260		MACH_TNY_A9260		TNY_A9260		2058
+tny_a9g20		MACH_TNY_A9G20		TNY_A9G20		2059
+aesop_mp2530f		MACH_AESOP_MP2530F	AESOP_MP2530F		2060
+dx900			MACH_DX900		DX900			2061
+cpodc2			MACH_CPODC2		CPODC2			2062
+tilt_8925		MACH_TILT_8925		TILT_8925		2063
+davinci_dm357_evm	MACH_DAVINCI_DM357_EVM	DAVINCI_DM357_EVM	2064
+swordfish		MACH_SWORDFISH		SWORDFISH		2065
+corvus			MACH_CORVUS		CORVUS			2066
+taurus			MACH_TAURUS		TAURUS			2067
+axm			MACH_AXM		AXM			2068
+axc			MACH_AXC		AXC			2069
+baby			MACH_BABY		BABY			2070
+mp200			MACH_MP200		MP200			2071
+pcm043			MACH_PCM043		PCM043			2072
+hanlin_v3c		MACH_HANLIN_V3C		HANLIN_V3C		2073
+kbk9g20			MACH_KBK9G20		KBK9G20			2074
+adsturbog5		MACH_ADSTURBOG5		ADSTURBOG5		2075
+avenger_lite1		MACH_AVENGER_LITE1	AVENGER_LITE1		2076
+suc82x			MACH_SUC		SUC			2077
+at91sam7s256		MACH_AT91SAM7S256	AT91SAM7S256		2078
+mendoza			MACH_MENDOZA		MENDOZA			2079
+kira			MACH_KIRA		KIRA			2080
+mx1hbm			MACH_MX1HBM		MX1HBM			2081
+quatro43xx		MACH_QUATRO43XX		QUATRO43XX		2082
+quatro4230		MACH_QUATRO4230		QUATRO4230		2083
+nsb400			MACH_NSB400		NSB400			2084
+drp255			MACH_DRP255		DRP255			2085
+thoth			MACH_THOTH		THOTH			2086
+firestone		MACH_FIRESTONE		FIRESTONE		2087
+asusp750		MACH_ASUSP750		ASUSP750		2088
+ctera_dl		MACH_CTERA_DL		CTERA_DL		2089
+socr			MACH_SOCR		SOCR			2090
+htcoxygen		MACH_HTCOXYGEN		HTCOXYGEN		2091
+heroc			MACH_HEROC		HEROC			2092
+zeno6800		MACH_ZENO6800		ZENO6800		2093
+sc2mcs			MACH_SC2MCS		SC2MCS			2094
+gene100			MACH_GENE100		GENE100			2095
+as353x			MACH_AS353X		AS353X			2096
+sheevaplug		MACH_SHEEVAPLUG		SHEEVAPLUG		2097
+at91sam9g20		MACH_AT91SAM9G20	AT91SAM9G20		2098
+mv88f6192gtw_fe		MACH_MV88F6192GTW_FE	MV88F6192GTW_FE		2099
+cc9200			MACH_CC9200		CC9200			2100
+sm9200			MACH_SM9200		SM9200			2101
+tp9200			MACH_TP9200		TP9200			2102
+snapperdv		MACH_SNAPPERDV		SNAPPERDV		2103
+avengers_lite		MACH_AVENGERS_LITE	AVENGERS_LITE		2104
+avengers_lite1		MACH_AVENGERS_LITE1	AVENGERS_LITE1		2105
+omap3axon		MACH_OMAP3AXON		OMAP3AXON		2106
+ma8xx			MACH_MA8XX		MA8XX			2107
+mp201ek			MACH_MP201EK		MP201EK			2108
+davinci_tux		MACH_DAVINCI_TUX	DAVINCI_TUX		2109
+mpa1600			MACH_MPA1600		MPA1600			2110
+pelco_troy		MACH_PELCO_TROY		PELCO_TROY		2111
+nsb667			MACH_NSB667		NSB667			2112
+rovers5_4mpix		MACH_ROVERS5_4MPIX	ROVERS5_4MPIX		2113
+twocom			MACH_TWOCOM		TWOCOM			2114
+ubisys_p9_rcu3r2	MACH_UBISYS_P9_RCU3R2	UBISYS_P9_RCU3R2	2115
+hero_espresso		MACH_HERO_ESPRESSO	HERO_ESPRESSO		2116
+afeusb			MACH_AFEUSB		AFEUSB			2117
+t830			MACH_T830		T830			2118
+spd8020_cc		MACH_SPD8020_CC		SPD8020_CC		2119
+om_3d7k			MACH_OM_3D7K		OM_3D7K			2120
+picocom2		MACH_PICOCOM2		PICOCOM2		2121
+uwg4mx27		MACH_UWG4MX27		UWG4MX27		2122
+uwg4mx31		MACH_UWG4MX31		UWG4MX31		2123
+cherry			MACH_CHERRY		CHERRY			2124
+mx51_babbage		MACH_MX51_BABBAGE	MX51_BABBAGE		2125
+s3c2440turkiye		MACH_S3C2440TURKIYE	S3C2440TURKIYE		2126
+tx37			MACH_TX37		TX37			2127
+sbc2800_9g20		MACH_SBC2800_9G20	SBC2800_9G20		2128
+benzglb			MACH_BENZGLB		BENZGLB			2129
+benztd			MACH_BENZTD		BENZTD			2130
+cartesio_plus		MACH_CARTESIO_PLUS	CARTESIO_PLUS		2131
+solrad_g20		MACH_SOLRAD_G20		SOLRAD_G20		2132
+mx27wallace		MACH_MX27WALLACE	MX27WALLACE		2133
+fmzwebmodul		MACH_FMZWEBMODUL	FMZWEBMODUL		2134
+rd78x00_masa		MACH_RD78X00_MASA	RD78X00_MASA		2135
+smallogger		MACH_SMALLOGGER		SMALLOGGER		2136
+ccw9p9215		MACH_CCW9P9215		CCW9P9215		2137
+dm355_leopard		MACH_DM355_LEOPARD	DM355_LEOPARD		2138
+ts219			MACH_TS219		TS219			2139
+tny_a9263		MACH_TNY_A9263		TNY_A9263		2140
+apollo			MACH_APOLLO		APOLLO			2141
+at91cap9stk		MACH_AT91CAP9STK	AT91CAP9STK		2142
+spc300			MACH_SPC300		SPC300			2143
+eko			MACH_EKO		EKO			2144
+ccw9m2443		MACH_CCW9M2443		CCW9M2443		2145
+ccw9m2443js		MACH_CCW9M2443JS	CCW9M2443JS		2146
+m2m_router_device	MACH_M2M_ROUTER_DEVICE	M2M_ROUTER_DEVICE	2147
+str9104nas		MACH_STAR9104NAS	STAR9104NAS		2148
+pca100			MACH_PCA100		PCA100			2149
+z3_dm365_mod_01		MACH_Z3_DM365_MOD_01	Z3_DM365_MOD_01		2150
+hipox			MACH_HIPOX		HIPOX			2151
+omap3_piteds		MACH_OMAP3_PITEDS	OMAP3_PITEDS		2152
+bm150r			MACH_BM150R		BM150R			2153
+tbone			MACH_TBONE		TBONE			2154
+merlin			MACH_MERLIN		MERLIN			2155
+falcon			MACH_FALCON		FALCON			2156
+davinci_da850_evm	MACH_DAVINCI_DA850_EVM	DAVINCI_DA850_EVM	2157
+s5p6440			MACH_S5P6440		S5P6440			2158
+at91sam9g10ek		MACH_AT91SAM9G10EK	AT91SAM9G10EK		2159
+omap_4430sdp		MACH_OMAP_4430SDP	OMAP_4430SDP		2160
+lpc313x			MACH_LPC313X		LPC313X			2161
+magx_zn5		MACH_MAGX_ZN5		MAGX_ZN5		2162
+magx_em30		MACH_MAGX_EM30		MAGX_EM30		2163
+magx_ve66		MACH_MAGX_VE66		MAGX_VE66		2164
+meesc			MACH_MEESC		MEESC			2165
+otc570			MACH_OTC570		OTC570			2166
+bcu2412			MACH_BCU2412		BCU2412			2167
+beacon			MACH_BEACON		BEACON			2168
+actia_tgw		MACH_ACTIA_TGW		ACTIA_TGW		2169
+e4430			MACH_E4430		E4430			2170
+ql300			MACH_QL300		QL300			2171
+btmavb101		MACH_BTMAVB101		BTMAVB101		2172
+btmawb101		MACH_BTMAWB101		BTMAWB101		2173
+sq201			MACH_SQ201		SQ201			2174
+quatro45xx		MACH_QUATRO45XX		QUATRO45XX		2175
+openpad			MACH_OPENPAD		OPENPAD			2176
+tx25			MACH_TX25		TX25			2177
+omap3_torpedo		MACH_OMAP3_TORPEDO	OMAP3_TORPEDO		2178
+htcraphael_k		MACH_HTCRAPHAEL_K	HTCRAPHAEL_K		2179
+lal43			MACH_LAL43		LAL43			2181
+htcraphael_cdma500	MACH_HTCRAPHAEL_CDMA500	HTCRAPHAEL_CDMA500	2182
+anw6410			MACH_ANW6410		ANW6410			2183
+htcprophet		MACH_HTCPROPHET		HTCPROPHET		2185
+cfa_10022		MACH_CFA_10022		CFA_10022		2186
+imx27_visstrim_m10	MACH_IMX27_VISSTRIM_M10	IMX27_VISSTRIM_M10	2187
+px2imx27		MACH_PX2IMX27		PX2IMX27		2188
+stm3210e_eval		MACH_STM3210E_EVAL	STM3210E_EVAL		2189
+dvs10			MACH_DVS10		DVS10			2190
+portuxg20		MACH_PORTUXG20		PORTUXG20		2191
+arm_spv			MACH_ARM_SPV		ARM_SPV			2192
+smdkc110		MACH_SMDKC110		SMDKC110		2193
+cabespresso		MACH_CABESPRESSO	CABESPRESSO		2194
+hmc800			MACH_HMC800		HMC800			2195
+sholes			MACH_SHOLES		SHOLES			2196
+btmxc31			MACH_BTMXC31		BTMXC31			2197
+dt501			MACH_DT501		DT501			2198
+ktx			MACH_KTX		KTX			2199
+omap3517evm		MACH_OMAP3517EVM	OMAP3517EVM		2200
+netspace_v2		MACH_NETSPACE_V2	NETSPACE_V2		2201
+netspace_max_v2		MACH_NETSPACE_MAX_V2	NETSPACE_MAX_V2		2202
+d2net_v2		MACH_D2NET_V2		D2NET_V2		2203
+net2big_v2		MACH_NET2BIG_V2		NET2BIG_V2		2204
+net4big_v2		MACH_NET4BIG_V2		NET4BIG_V2		2205
+net5big_v2		MACH_NET5BIG_V2		NET5BIG_V2		2206
+endb2443		MACH_ENDB2443		ENDB2443		2207
+inetspace_v2		MACH_INETSPACE_V2	INETSPACE_V2		2208
+tros			MACH_TROS		TROS			2209
+pelco_homer		MACH_PELCO_HOMER	PELCO_HOMER		2210
+ofsp8			MACH_OFSP8		OFSP8			2211
+at91sam9g45ekes		MACH_AT91SAM9G45EKES	AT91SAM9G45EKES		2212
+guf_cupid		MACH_GUF_CUPID		GUF_CUPID		2213
+eab1r			MACH_EAB1R		EAB1R			2214
+desirec			MACH_DESIREC		DESIREC			2215
+cordoba			MACH_CORDOBA		CORDOBA			2216
+irvine			MACH_IRVINE		IRVINE			2217
+sff772			MACH_SFF772		SFF772			2218
+pelco_milano		MACH_PELCO_MILANO	PELCO_MILANO		2219
+pc7302			MACH_PC7302		PC7302			2220
+bip6000			MACH_BIP6000		BIP6000			2221
+silvermoon		MACH_SILVERMOON		SILVERMOON		2222
+vc0830			MACH_VC0830		VC0830			2223
+dt430			MACH_DT430		DT430			2224
+ji42pf			MACH_JI42PF		JI42PF			2225
+gnet_ksm		MACH_GNET_KSM		GNET_KSM		2226
+gnet_sgm		MACH_GNET_SGM		GNET_SGM		2227
+gnet_sgr		MACH_GNET_SGR		GNET_SGR		2228
+omap3_icetekevm		MACH_OMAP3_ICETEKEVM	OMAP3_ICETEKEVM		2229
+pnp			MACH_PNP		PNP			2230
+ctera_2bay_k		MACH_CTERA_2BAY_K	CTERA_2BAY_K		2231
+ctera_2bay_u		MACH_CTERA_2BAY_U	CTERA_2BAY_U		2232
+sas_c			MACH_SAS_C		SAS_C			2233
+vma2315			MACH_VMA2315		VMA2315			2234
+vcs			MACH_VCS		VCS			2235
+spear600		MACH_SPEAR600		SPEAR600		2236
+spear300		MACH_SPEAR300		SPEAR300		2237
+spear1300		MACH_SPEAR1300		SPEAR1300		2238
+lilly1131		MACH_LILLY1131		LILLY1131		2239
+arvoo_ax301		MACH_ARVOO_AX301	ARVOO_AX301		2240
+mapphone		MACH_MAPPHONE		MAPPHONE		2241
+legend			MACH_LEGEND		LEGEND			2242
+salsa			MACH_SALSA		SALSA			2243
+lounge			MACH_LOUNGE		LOUNGE			2244
+vision			MACH_VISION		VISION			2245
+vmb20			MACH_VMB20		VMB20			2246
+hy2410			MACH_HY2410		HY2410			2247
+hy9315			MACH_HY9315		HY9315			2248
+bullwinkle		MACH_BULLWINKLE		BULLWINKLE		2249
+arm_ultimator2		MACH_ARM_ULTIMATOR2	ARM_ULTIMATOR2		2250
+vs_v210			MACH_VS_V210		VS_V210			2252
+vs_v212			MACH_VS_V212		VS_V212			2253
+hmt			MACH_HMT		HMT			2254
+suen3			MACH_SUEN3		SUEN3			2255
+vesper			MACH_VESPER		VESPER			2256
+str9			MACH_STR9		STR9			2257
+omap3_wl_ff		MACH_OMAP3_WL_FF	OMAP3_WL_FF		2258
+simcom			MACH_SIMCOM		SIMCOM			2259
+mcwebio			MACH_MCWEBIO		MCWEBIO			2260
+omap3_phrazer		MACH_OMAP3_PHRAZER	OMAP3_PHRAZER		2261
+darwin			MACH_DARWIN		DARWIN			2262
+oratiscomu		MACH_ORATISCOMU		ORATISCOMU		2263
+rtsbc20			MACH_RTSBC20		RTSBC20			2264
+sgh_i780		MACH_I780		I780			2265
+gemini324		MACH_GEMINI324		GEMINI324		2266
+oratislan		MACH_ORATISLAN		ORATISLAN		2267
+oratisalog		MACH_ORATISALOG		ORATISALOG		2268
+oratismadi		MACH_ORATISMADI		ORATISMADI		2269
+oratisot16		MACH_ORATISOT16		ORATISOT16		2270
+oratisdesk		MACH_ORATISDESK		ORATISDESK		2271
+v2_ca9			MACH_V2P_CA9		V2P_CA9			2272
+sintexo			MACH_SINTEXO		SINTEXO			2273
+cm3389			MACH_CM3389		CM3389			2274
+omap3_cio		MACH_OMAP3_CIO		OMAP3_CIO		2275
+sgh_i900		MACH_SGH_I900		SGH_I900		2276
+bst100			MACH_BST100		BST100			2277
+passion			MACH_PASSION		PASSION			2278
+indesign_at91sam	MACH_INDESIGN_AT91SAM	INDESIGN_AT91SAM	2279
+c4_badger		MACH_C4_BADGER		C4_BADGER		2280
+c4_viper		MACH_C4_VIPER		C4_VIPER		2281
+d2net			MACH_D2NET		D2NET			2282
+bigdisk			MACH_BIGDISK		BIGDISK			2283
+notalvision		MACH_NOTALVISION	NOTALVISION		2284
+omap3_kboc		MACH_OMAP3_KBOC		OMAP3_KBOC		2285
+cyclone			MACH_CYCLONE		CYCLONE			2286
+ninja			MACH_NINJA		NINJA			2287
+at91sam9g20ek_2mmc	MACH_AT91SAM9G20EK_2MMC	AT91SAM9G20EK_2MMC	2288
+bcmring			MACH_BCMRING		BCMRING			2289
+resol_dl2		MACH_RESOL_DL2		RESOL_DL2		2290
+ifosw			MACH_IFOSW		IFOSW			2291
+htcrhodium		MACH_HTCRHODIUM		HTCRHODIUM		2292
+htctopaz		MACH_HTCTOPAZ		HTCTOPAZ		2293
+matrix504		MACH_MATRIX504		MATRIX504		2294
+mrfsa			MACH_MRFSA		MRFSA			2295
+sc_p270			MACH_SC_P270		SC_P270			2296
+atlas5_evb		MACH_ATLAS5_EVB		ATLAS5_EVB		2297
+pelco_lobox		MACH_PELCO_LOBOX	PELCO_LOBOX		2298
+dilax_pcu200		MACH_DILAX_PCU200	DILAX_PCU200		2299
+leonardo		MACH_LEONARDO		LEONARDO		2300
+zoran_approach7		MACH_ZORAN_APPROACH7	ZORAN_APPROACH7		2301
+dp6xx			MACH_DP6XX		DP6XX			2302
+bcm2153_vesper		MACH_BCM2153_VESPER	BCM2153_VESPER		2303
+mahimahi		MACH_MAHIMAHI		MAHIMAHI		2304
+clickc			MACH_CLICKC		CLICKC			2305
+zb_gateway		MACH_ZB_GATEWAY		ZB_GATEWAY		2306
+tazcard			MACH_TAZCARD		TAZCARD			2307
+tazdev			MACH_TAZDEV		TAZDEV			2308
+annax_cb_arm		MACH_ANNAX_CB_ARM	ANNAX_CB_ARM		2309
+annax_dm3		MACH_ANNAX_DM3		ANNAX_DM3		2310
+cerebric		MACH_CEREBRIC		CEREBRIC		2311
+orca			MACH_ORCA		ORCA			2312
+pc9260			MACH_PC9260		PC9260			2313
+ems285a			MACH_EMS285A		EMS285A			2314
+gec2410			MACH_GEC2410		GEC2410			2315
+gec2440			MACH_GEC2440		GEC2440			2316
+mw903			MACH_ARCH_MW903		ARCH_MW903		2317
+mw2440			MACH_MW2440		MW2440			2318
+ecac2378		MACH_ECAC2378		ECAC2378		2319
+tazkiosk		MACH_TAZKIOSK		TAZKIOSK		2320
+whiterabbit_mch		MACH_WHITERABBIT_MCH	WHITERABBIT_MCH		2321
+sbox9263		MACH_SBOX9263		SBOX9263		2322
+oreo			MACH_OREO		OREO			2323
+smdk6442		MACH_SMDK6442		SMDK6442		2324
+openrd_base		MACH_OPENRD_BASE	OPENRD_BASE		2325
+incredible		MACH_INCREDIBLE		INCREDIBLE		2326
+incrediblec		MACH_INCREDIBLEC	INCREDIBLEC		2327
+heroct			MACH_HEROCT		HEROCT			2328
+mmnet1000		MACH_MMNET1000		MMNET1000		2329
+devkit8000		MACH_DEVKIT8000		DEVKIT8000		2330
+devkit9000		MACH_DEVKIT9000		DEVKIT9000		2331
+mx31txtr		MACH_MX31TXTR		MX31TXTR		2332
+u380			MACH_U380		U380			2333
+oamp3_hualu		MACH_HUALU_BOARD	HUALU_BOARD		2334
+npcmx50			MACH_NPCMX50		NPCMX50			2335
+mx51_lange51		MACH_MX51_LANGE51	MX51_LANGE51		2336
+mx51_lange52		MACH_MX51_LANGE52	MX51_LANGE52		2337
+riom			MACH_RIOM		RIOM			2338
+comcas			MACH_COMCAS		COMCAS			2339
+wsi_mx27		MACH_WSI_MX27		WSI_MX27		2340
+cm_t35			MACH_CM_T35		CM_T35			2341
+net2big			MACH_NET2BIG		NET2BIG			2342
+motorola_a1600		MACH_MOTOROLA_A1600	MOTOROLA_A1600		2343
+igep0020		MACH_IGEP0020		IGEP0020		2344
+igep0010		MACH_IGEP0010		IGEP0010		2345
+mv6281gtwge2		MACH_MV6281GTWGE2	MV6281GTWGE2		2346
+scat100			MACH_SCAT100		SCAT100			2347
+sanmina			MACH_SANMINA		SANMINA			2348
+momento			MACH_MOMENTO		MOMENTO			2349
+nuc9xx			MACH_NUC9XX		NUC9XX			2350
+nuc910evb		MACH_NUC910EVB		NUC910EVB		2351
+nuc920evb		MACH_NUC920EVB		NUC920EVB		2352
+nuc950evb		MACH_NUC950EVB		NUC950EVB		2353
+nuc945evb		MACH_NUC945EVB		NUC945EVB		2354
+nuc960evb		MACH_NUC960EVB		NUC960EVB		2355
+nuc932evb		MACH_NUC932EVB		NUC932EVB		2356
+nuc900			MACH_NUC900		NUC900			2357
+sd1soc			MACH_SD1SOC		SD1SOC			2358
+ln2440bc		MACH_LN2440BC		LN2440BC		2359
+rsbc			MACH_RSBC		RSBC			2360
+openrd_client		MACH_OPENRD_CLIENT	OPENRD_CLIENT		2361
+hpipaq11x		MACH_HPIPAQ11X		HPIPAQ11X		2362
+wayland			MACH_WAYLAND		WAYLAND			2363
+acnbsx102		MACH_ACNBSX102		ACNBSX102		2364
+hwat91			MACH_HWAT91		HWAT91			2365
+at91sam9263cs		MACH_AT91SAM9263CS	AT91SAM9263CS		2366
+csb732			MACH_CSB732		CSB732			2367
+u8500			MACH_U8500		U8500			2368
+huqiu			MACH_HUQIU		HUQIU			2369
+mx51_kunlun		MACH_MX51_KUNLUN	MX51_KUNLUN		2370
+pmt1g			MACH_PMT1G		PMT1G			2371
+htcelf			MACH_HTCELF		HTCELF			2372
+armadillo420		MACH_ARMADILLO420	ARMADILLO420		2373
+armadillo440		MACH_ARMADILLO440	ARMADILLO440		2374
+u_chip_dual_arm		MACH_U_CHIP_DUAL_ARM	U_CHIP_DUAL_ARM		2375
+csr_bdb3		MACH_CSR_BDB3		CSR_BDB3		2376
+dolby_cat1018		MACH_DOLBY_CAT1018	DOLBY_CAT1018		2377
+hy9307			MACH_HY9307		HY9307			2378
+aspire_easystore	MACH_A_ES		A_ES			2379
+davinci_irif		MACH_DAVINCI_IRIF	DAVINCI_IRIF		2380
+agama9263		MACH_AGAMA9263		AGAMA9263		2381
+marvell_jasper		MACH_MARVELL_JASPER	MARVELL_JASPER		2382
+flint			MACH_FLINT		FLINT			2383
+tavorevb3		MACH_TAVOREVB3		TAVOREVB3		2384
+sch_m490		MACH_SCH_M490		SCH_M490		2386
+rbl01			MACH_RBL01		RBL01			2387
+omnifi			MACH_OMNIFI		OMNIFI			2388
+otavalo			MACH_OTAVALO		OTAVALO			2389
+sienna			MACH_SIENNA		SIENNA			2390
+htc_excalibur_s620	MACH_HTC_EXCALIBUR_S620	HTC_EXCALIBUR_S620	2391
+htc_opal		MACH_HTC_OPAL		HTC_OPAL		2392
+touchbook		MACH_TOUCHBOOK		TOUCHBOOK		2393
+latte			MACH_LATTE		LATTE			2394
+xa200			MACH_XA200		XA200			2395
+nimrod			MACH_NIMROD		NIMROD			2396
+cc9p9215_3g		MACH_CC9P9215_3G	CC9P9215_3G		2397
+cc9p9215_3gjs		MACH_CC9P9215_3GJS	CC9P9215_3GJS		2398
+tk71			MACH_TK71		TK71			2399
+comham3525		MACH_COMHAM3525		COMHAM3525		2400
+mx31erebus		MACH_MX31EREBUS		MX31EREBUS		2401
+mcardmx27		MACH_MCARDMX27		MCARDMX27		2402
+paradise		MACH_PARADISE		PARADISE		2403
+tide			MACH_TIDE		TIDE			2404
+wzl2440			MACH_WZL2440		WZL2440			2405
+sdrdemo			MACH_SDRDEMO		SDRDEMO			2406
+ethercan2		MACH_ETHERCAN2		ETHERCAN2		2407
+ecmimg20		MACH_ECMIMG20		ECMIMG20		2408
+omap_dragon		MACH_OMAP_DRAGON	OMAP_DRAGON		2409
+halo			MACH_HALO		HALO			2410
+huangshan		MACH_HUANGSHAN		HUANGSHAN		2411
+vl_ma2sc		MACH_VL_MA2SC		VL_MA2SC		2412
+raumfeld_rc		MACH_RAUMFELD_RC	RAUMFELD_RC		2413
+raumfeld_connector	MACH_RAUMFELD_CONNECTOR	RAUMFELD_CONNECTOR	2414
+raumfeld_speaker	MACH_RAUMFELD_SPEAKER	RAUMFELD_SPEAKER	2415
+multibus_master		MACH_MULTIBUS_MASTER	MULTIBUS_MASTER		2416
+multibus_pbk		MACH_MULTIBUS_PBK	MULTIBUS_PBK		2417
+tnetv107x		MACH_TNETV107X		TNETV107X		2418
+snake			MACH_SNAKE		SNAKE			2419
+cwmx27			MACH_CWMX27		CWMX27			2420
+sch_m480		MACH_SCH_M480		SCH_M480		2421
+platypus		MACH_PLATYPUS		PLATYPUS		2422
+pss2			MACH_PSS2		PSS2			2423
+davinci_apm150		MACH_DAVINCI_APM150	DAVINCI_APM150		2424
+str9100			MACH_STR9100		STR9100			2425
+net5big			MACH_NET5BIG		NET5BIG			2426
+seabed9263		MACH_SEABED9263		SEABED9263		2427
+mx51_m2id		MACH_MX51_M2ID		MX51_M2ID		2428
+octvocplus_eb		MACH_OCTVOCPLUS_EB	OCTVOCPLUS_EB		2429
+klk_firefox		MACH_KLK_FIREFOX	KLK_FIREFOX		2430
+klk_wirma_module	MACH_KLK_WIRMA_MODULE	KLK_WIRMA_MODULE	2431
+klk_wirma_mmi		MACH_KLK_WIRMA_MMI	KLK_WIRMA_MMI		2432
+supersonic		MACH_SUPERSONIC		SUPERSONIC		2433
+liberty			MACH_LIBERTY		LIBERTY			2434
+mh355			MACH_MH355		MH355			2435
+pc7802			MACH_PC7802		PC7802			2436
+gnet_sgc		MACH_GNET_SGC		GNET_SGC		2437
+einstein15		MACH_EINSTEIN15		EINSTEIN15		2438
+cmpd			MACH_CMPD		CMPD			2439
+davinci_hase1		MACH_DAVINCI_HASE1	DAVINCI_HASE1		2440
+lgeincitephone		MACH_LGEINCITEPHONE	LGEINCITEPHONE		2441
+ea313x			MACH_EA313X		EA313X			2442
+fwbd_39064		MACH_FWBD_39064		FWBD_39064		2443
+fwbd_390128		MACH_FWBD_390128	FWBD_390128		2444
+pelco_moe		MACH_PELCO_MOE		PELCO_MOE		2445
+minimix27		MACH_MINIMIX27		MINIMIX27		2446
+omap3_thunder		MACH_OMAP3_THUNDER	OMAP3_THUNDER		2447
+passionc		MACH_PASSIONC		PASSIONC		2448
+mx27amata		MACH_MX27AMATA		MX27AMATA		2449
+bgat1			MACH_BGAT1		BGAT1			2450
+buzz			MACH_BUZZ		BUZZ			2451
+mb9g20			MACH_MB9G20		MB9G20			2452
+yushan			MACH_YUSHAN		YUSHAN			2453
+lizard			MACH_LIZARD		LIZARD			2454
+omap3polycom		MACH_OMAP3POLYCOM	OMAP3POLYCOM		2455
+smdkv210		MACH_SMDKV210		SMDKV210		2456
+bravo			MACH_BRAVO		BRAVO			2457
+siogentoo1		MACH_SIOGENTOO1		SIOGENTOO1		2458
+siogentoo2		MACH_SIOGENTOO2		SIOGENTOO2		2459
+sm3k			MACH_SM3K		SM3K			2460
+acer_tempo_f900		MACH_ACER_TEMPO_F900	ACER_TEMPO_F900		2461
+sst61vc010_dev		MACH_SST61VC010_DEV	SST61VC010_DEV		2462
+glittertind		MACH_GLITTERTIND	GLITTERTIND		2463
+omap_zoom3		MACH_OMAP_ZOOM3		OMAP_ZOOM3		2464
+omap_3630sdp		MACH_OMAP_3630SDP	OMAP_3630SDP		2465
+cybook2440		MACH_CYBOOK2440		CYBOOK2440		2466
+torino_s		MACH_TORINO_S		TORINO_S		2467
+havana			MACH_HAVANA		HAVANA			2468
+beaumont_11		MACH_BEAUMONT_11	BEAUMONT_11		2469
+vanguard		MACH_VANGUARD		VANGUARD		2470
+s5pc110_draco		MACH_S5PC110_DRACO	S5PC110_DRACO		2471
+cartesio_two		MACH_CARTESIO_TWO	CARTESIO_TWO		2472
+aster			MACH_ASTER		ASTER			2473
+voguesv210		MACH_VOGUESV210		VOGUESV210		2474
+acm500x			MACH_ACM500X		ACM500X			2475
+km9260			MACH_KM9260		KM9260			2476
+nideflexg1		MACH_NIDEFLEXG1		NIDEFLEXG1		2477
+ctera_plug_io		MACH_CTERA_PLUG_IO	CTERA_PLUG_IO		2478
+smartq7			MACH_SMARTQ7		SMARTQ7			2479
+at91sam9g10ek2		MACH_AT91SAM9G10EK2	AT91SAM9G10EK2		2480
+asusp527		MACH_ASUSP527		ASUSP527		2481
+at91sam9g20mpm2		MACH_AT91SAM9G20MPM2	AT91SAM9G20MPM2		2482
+topasa900		MACH_TOPASA900		TOPASA900		2483
+electrum_100		MACH_ELECTRUM_100	ELECTRUM_100		2484
+mx51grb			MACH_MX51GRB		MX51GRB			2485
+xea300			MACH_XEA300		XEA300			2486
+htcstartrek		MACH_HTCSTARTREK	HTCSTARTREK		2487
+lima			MACH_LIMA		LIMA			2488
+csb740			MACH_CSB740		CSB740			2489
+usb_s8815		MACH_USB_S8815		USB_S8815		2490
+watson_efm_plugin	MACH_WATSON_EFM_PLUGIN	WATSON_EFM_PLUGIN	2491
+milkyway		MACH_MILKYWAY		MILKYWAY		2492
+g4evm			MACH_G4EVM		G4EVM			2493
+picomod6		MACH_PICOMOD6		PICOMOD6		2494
+omapl138_hawkboard	MACH_OMAPL138_HAWKBOARD	OMAPL138_HAWKBOARD	2495
+ip6000			MACH_IP6000		IP6000			2496
+ip6010			MACH_IP6010		IP6010			2497
+utm400			MACH_UTM400		UTM400			2498
+omap3_zybex		MACH_OMAP3_ZYBEX	OMAP3_ZYBEX		2499
+wireless_space		MACH_WIRELESS_SPACE	WIRELESS_SPACE		2500
+sx560			MACH_SX560		SX560			2501
+ts41x			MACH_TS41X		TS41X			2502
+elphel10373		MACH_ELPHEL10373	ELPHEL10373		2503
+rhobot			MACH_RHOBOT		RHOBOT			2504
+mx51_refresh		MACH_MX51_REFRESH	MX51_REFRESH		2505
+ls9260			MACH_LS9260		LS9260			2506
+shank			MACH_SHANK		SHANK			2507
+qsd8x50_st1		MACH_QSD8X50_ST1	QSD8X50_ST1		2508
+at91sam9m10ekes		MACH_AT91SAM9M10EKES	AT91SAM9M10EKES		2509
+hiram			MACH_HIRAM		HIRAM			2510
+phy3250			MACH_PHY3250		PHY3250			2511
+ea3250			MACH_EA3250		EA3250			2512
+fdi3250			MACH_FDI3250		FDI3250			2513
+whitestone		MACH_WHITESTONE		WHITESTONE		2514
+at91sam9263nit		MACH_AT91SAM9263NIT	AT91SAM9263NIT		2515
+ccmx51			MACH_CCMX51		CCMX51			2516
+ccmx51js		MACH_CCMX51JS		CCMX51JS		2517
+ccwmx51			MACH_CCWMX51		CCWMX51			2518
+ccwmx51js		MACH_CCWMX51JS		CCWMX51JS		2519
+mini6410		MACH_MINI6410		MINI6410		2520
+tiny6410		MACH_TINY6410		TINY6410		2521
+nano6410		MACH_NANO6410		NANO6410		2522
+at572d940hfnldb		MACH_AT572D940HFNLDB	AT572D940HFNLDB		2523
+htcleo			MACH_HTCLEO		HTCLEO			2524
+avp13			MACH_AVP13		AVP13			2525
+xxsvideod		MACH_XXSVIDEOD		XXSVIDEOD		2526
+vpnext			MACH_VPNEXT		VPNEXT			2527
+swarco_itc3		MACH_SWARCO_ITC3	SWARCO_ITC3		2528
+tx51			MACH_TX51		TX51			2529
+dolby_cat1021		MACH_DOLBY_CAT1021	DOLBY_CAT1021		2530
+mx28evk			MACH_MX28EVK		MX28EVK			2531
+phoenix260		MACH_PHOENIX260		PHOENIX260		2532
+uvaca_stork		MACH_UVACA_STORK	UVACA_STORK		2533
+smartq5			MACH_SMARTQ5		SMARTQ5			2534
+all3078			MACH_ALL3078		ALL3078			2535
+ctera_2bay_ds		MACH_CTERA_2BAY_DS	CTERA_2BAY_DS		2536
+siogentoo3		MACH_SIOGENTOO3		SIOGENTOO3		2537
+epb5000			MACH_EPB5000		EPB5000			2538
+hy9263			MACH_HY9263		HY9263			2539
+acer_tempo_m900		MACH_ACER_TEMPO_M900	ACER_TEMPO_M900		2540
+acer_tempo_dx650	MACH_ACER_TEMPO_DX900	ACER_TEMPO_DX900	2541
+acer_tempo_x960		MACH_ACER_TEMPO_X960	ACER_TEMPO_X960		2542
+acer_eten_v900		MACH_ACER_ETEN_V900	ACER_ETEN_V900		2543
+acer_eten_x900		MACH_ACER_ETEN_X900	ACER_ETEN_X900		2544
+bonnell			MACH_BONNELL		BONNELL			2545
+oht_mx27		MACH_OHT_MX27		OHT_MX27		2546
+htcquartz		MACH_HTCQUARTZ		HTCQUARTZ		2547
+davinci_dm6467tevm	MACH_DAVINCI_DM6467TEVM	DAVINCI_DM6467TEVM	2548
+c3ax03			MACH_C3AX03		C3AX03			2549
+mxt_td60		MACH_MXT_TD60		MXT_TD60		2550
+esyx			MACH_ESYX		ESYX			2551
+bulldog			MACH_BULLDOG		BULLDOG			2553
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/config_mini6410_a70 linux-2.6.28.6/config_mini6410_a70
--- linux-2.6.28/config_mini6410_a70	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/config_mini6410_a70	2010-07-20 11:50:21.000000000 +0200
@@ -0,0 +1,1742 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Jul 20 17:50:09 2010
+#
+CONFIG_ARM=y
+# CONFIG_HAVE_PWM is not set
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION="-FriendlyARM"
+CONFIG_LOCALVERSION_AUTO=y
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_IPC_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE="scripts/FriendlyARM.cpio"
+CONFIG_INITRAMFS_ROOT_UID=0
+CONFIG_INITRAMFS_ROOT_GID=0
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+# CONFIG_LBD is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_LSF is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_S3C64XX_DEV_FIMC0=y
+CONFIG_S3C64XX_DEV_FIMC1=y
+CONFIG_S3C64XX_SETUP_FIMC0=y
+CONFIG_S3C64XX_SETUP_FIMC1=y
+# CONFIG_S3C6410_PWM is not set
+CONFIG_NONE_PWM=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+# CONFIG_SPLIT_ROOT_FILESYSTEM is not set
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_HSMMC2=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+
+#
+# SMDK6410 MMC/SD slot setup
+#
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+# CONFIG_SMDK6410_SD_CH2 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+# CONFIG_ARM_THUMB is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE=""
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+CONFIG_FPE_NWFPE=y
+# CONFIG_FPE_NWFPE_XP is not set
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_VFP is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_RARP=y
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+# CONFIG_INET_DIAG is not set
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MTD_UBI_BEB_RESERVE=1
+# CONFIG_MTD_UBI_GLUEBI is not set
+
+#
+# UBI debugging options
+#
+# CONFIG_MTD_UBI_DEBUG is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+CONFIG_DM9000=y
+CONFIG_DM9000_DEBUGLEVEL=4
+# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
+# CONFIG_SMC911X is not set
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=800
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=480
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+# CONFIG_INPUT_KEYBOARD is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_S3C=y
+# CONFIG_TOUCHSCREEN_NEW is not set
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_WM97XX is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_LEDS_MINI6410=y
+CONFIG_MINI6410_HELLO_MODULE=m
+CONFIG_MINI6410_BUTTONS=y
+CONFIG_MINI6410_BUZZER=y
+# CONFIG_MINI6410_ADC is not set
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+# CONFIG_S3C_MEM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_UCB1400_CORE is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+# CONFIG_VIDEO_ALLOW_V4L1 is not set
+CONFIG_VIDEO_V4L1_COMPAT=y
+# CONFIG_DVB_CORE is not set
+CONFIG_VIDEO_MEDIA=y
+
+#
+# Multimedia drivers
+#
+# CONFIG_MEDIA_ATTACH is not set
+CONFIG_MEDIA_TUNER=y
+# CONFIG_MEDIA_TUNER_CUSTOMIZE is not set
+CONFIG_MEDIA_TUNER_SIMPLE=y
+CONFIG_MEDIA_TUNER_TDA8290=y
+CONFIG_MEDIA_TUNER_TDA9887=y
+CONFIG_MEDIA_TUNER_TEA5761=y
+CONFIG_MEDIA_TUNER_TEA5767=y
+CONFIG_MEDIA_TUNER_MT20XX=y
+CONFIG_MEDIA_TUNER_XC2028=y
+CONFIG_MEDIA_TUNER_XC5000=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEOBUF_GEN=y
+CONFIG_VIDEOBUF_VMALLOC=y
+CONFIG_VIDEO_IR=y
+CONFIG_VIDEO_TVEEPROM=y
+CONFIG_VIDEO_TUNER=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+# CONFIG_VIDEO_ADV_DEBUG is not set
+CONFIG_VIDEO_FIXED_MINOR_RANGES=y
+# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
+CONFIG_VIDEO_IR_I2C=y
+
+#
+# Encoders/decoders and other helper chips
+#
+
+#
+# Audio decoders
+#
+# CONFIG_VIDEO_TVAUDIO is not set
+# CONFIG_VIDEO_TDA7432 is not set
+# CONFIG_VIDEO_TDA9840 is not set
+# CONFIG_VIDEO_TDA9875 is not set
+# CONFIG_VIDEO_TEA6415C is not set
+# CONFIG_VIDEO_TEA6420 is not set
+CONFIG_VIDEO_MSP3400=y
+# CONFIG_VIDEO_CS5345 is not set
+CONFIG_VIDEO_CS53L32A=y
+# CONFIG_VIDEO_M52790 is not set
+# CONFIG_VIDEO_TLV320AIC23B is not set
+CONFIG_VIDEO_WM8775=y
+# CONFIG_VIDEO_WM8739 is not set
+# CONFIG_VIDEO_VP27SMPX is not set
+
+#
+# Video decoders
+#
+# CONFIG_VIDEO_OV7670 is not set
+# CONFIG_VIDEO_TCM825X is not set
+CONFIG_VIDEO_SAA711X=y
+# CONFIG_VIDEO_SAA717X is not set
+# CONFIG_VIDEO_TVP5150 is not set
+
+#
+# Video and audio decoders
+#
+CONFIG_VIDEO_CX25840=y
+
+#
+# MPEG video encoders
+#
+CONFIG_VIDEO_CX2341X=y
+
+#
+# Video encoders
+#
+# CONFIG_VIDEO_SAA7127 is not set
+
+#
+# Video improvement chips
+#
+# CONFIG_VIDEO_UPD64031A is not set
+# CONFIG_VIDEO_UPD64083 is not set
+# CONFIG_VIDEO_VIVI is not set
+# CONFIG_VIDEO_SAA5246A is not set
+# CONFIG_VIDEO_SAA5249 is not set
+# CONFIG_SOC_CAMERA is not set
+CONFIG_V4L_USB_DRIVERS=y
+CONFIG_USB_VIDEO_CLASS=y
+CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
+CONFIG_USB_GSPCA=y
+CONFIG_USB_M5602=y
+CONFIG_USB_GSPCA_CONEX=y
+CONFIG_USB_GSPCA_ETOMS=y
+CONFIG_USB_GSPCA_FINEPIX=y
+CONFIG_USB_GSPCA_MARS=y
+CONFIG_USB_GSPCA_OV519=y
+CONFIG_USB_GSPCA_PAC207=y
+CONFIG_USB_GSPCA_PAC7311=y
+CONFIG_USB_GSPCA_SONIXB=y
+CONFIG_USB_GSPCA_SONIXJ=y
+CONFIG_USB_GSPCA_SPCA500=y
+CONFIG_USB_GSPCA_SPCA501=y
+CONFIG_USB_GSPCA_SPCA505=y
+CONFIG_USB_GSPCA_SPCA506=y
+CONFIG_USB_GSPCA_SPCA508=y
+CONFIG_USB_GSPCA_SPCA561=y
+CONFIG_USB_GSPCA_STK014=y
+CONFIG_USB_GSPCA_SUNPLUS=y
+CONFIG_USB_GSPCA_T613=y
+CONFIG_USB_GSPCA_TV8532=y
+CONFIG_USB_GSPCA_VC032X=y
+CONFIG_USB_GSPCA_ZC3XX=y
+CONFIG_VIDEO_PVRUSB2=y
+CONFIG_VIDEO_PVRUSB2_SYSFS=y
+# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
+CONFIG_VIDEO_EM28XX=y
+# CONFIG_VIDEO_EM28XX_ALSA is not set
+CONFIG_VIDEO_USBVISION=y
+CONFIG_USB_ET61X251=y
+CONFIG_USB_SN9C102=y
+CONFIG_USB_ZC0301=y
+CONFIG_USB_ZR364XX=y
+CONFIG_USB_STKWEBCAM=y
+CONFIG_USB_S2255=y
+CONFIG_VIDEO_SAMSUNG=y
+
+#
+# FIMC configurations
+#
+CONFIG_VIDEO_FIMC=y
+CONFIG_VIDEO_FIMC_DEBUG=y
+# CONFIG_S5K4BA is not set
+# CONFIG_S5K3BA is not set
+CONFIG_OV965X=y
+CONFIG_OV965X_VGA=y
+# CONFIG_OV965X_QVGA is not set
+# CONFIG_OV965X_SVGA is not set
+# CONFIG_OV965X_SXGA is not set
+CONFIG_VIDEO_FIMC_CAM_CH=0
+CONFIG_VIDEO_FIMC_CAM_RESET=1
+CONFIG_VIDEO_POST=y
+CONFIG_VIDEO_MFC10=y
+CONFIG_VIDEO_MFC_DEBUG=y
+CONFIG_VIDEO_JPEG=y
+CONFIG_VIDEO_TV=y
+CONFIG_VIDEO_ROTATOR=y
+CONFIG_VIDEO_G2D=y
+CONFIG_VIDEO_G3D=y
+CONFIG_VIDEO_CMM=y
+
+#
+# Reserved memory configurations
+#
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC=15360
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC=6144
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM=8192
+# CONFIG_RADIO_ADAPTERS is not set
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+# CONFIG_FB_S3C_TFT480272 is not set
+CONFIG_FB_S3C_TFT800480=y
+# CONFIG_FB_S3C_T240320 is not set
+# CONFIG_FB_S3C_TFT640480 is not set
+# CONFIG_FB_S3C_VGA1024768 is not set
+# CONFIG_FB_S3C_VGA800600 is not set
+# CONFIG_FB_S3C_VGA640480 is not set
+# CONFIG_FB_S3C_EZVGA800600 is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=4
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+CONFIG_FB_S3C_DOUBLE_BUFFERING=y
+# CONFIG_FB_S1D13XXX is not set
+CONFIG_BACKLIGHT_FRIENDLY_ARM=y
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_LOGO_LINUX_CLUT224=y
+# CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224 is not set
+CONFIG_SOUND=y
+CONFIG_SOUND_OSS_CORE=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+CONFIG_SND_OSSEMUL=y
+CONFIG_SND_MIXER_OSS=y
+CONFIG_SND_PCM_OSS=y
+CONFIG_SND_PCM_OSS_PLUGINS=y
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_VMASTER=y
+CONFIG_SND_AC97_CODEC=y
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+# CONFIG_SND_AC97_POWER_SAVE is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_AC97_BUS=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713=y
+# CONFIG_SOUND_WM9713_INPUT_STREAM_LINE is not set
+CONFIG_SOUND_WM9713_INPUT_STREAM_MIC=y
+CONFIG_SND_S3C6410_SOC_AC97=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_S5M8751 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM9713=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_AC97_BUS=y
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+CONFIG_USB_DEBUG=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_S3C_OTG_HOST is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+CONFIG_USB_SERIAL=y
+# CONFIG_USB_SERIAL_CONSOLE is not set
+# CONFIG_USB_EZUSB is not set
+# CONFIG_USB_SERIAL_GENERIC is not set
+# CONFIG_USB_SERIAL_AIRCABLE is not set
+# CONFIG_USB_SERIAL_ARK3116 is not set
+# CONFIG_USB_SERIAL_BELKIN is not set
+# CONFIG_USB_SERIAL_CH341 is not set
+# CONFIG_USB_SERIAL_WHITEHEAT is not set
+# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
+# CONFIG_USB_SERIAL_CP2101 is not set
+# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
+# CONFIG_USB_SERIAL_EMPEG is not set
+# CONFIG_USB_SERIAL_FTDI_SIO is not set
+# CONFIG_USB_SERIAL_FUNSOFT is not set
+# CONFIG_USB_SERIAL_VISOR is not set
+# CONFIG_USB_SERIAL_IPAQ is not set
+# CONFIG_USB_SERIAL_IR is not set
+# CONFIG_USB_SERIAL_EDGEPORT is not set
+# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
+# CONFIG_USB_SERIAL_GARMIN is not set
+# CONFIG_USB_SERIAL_IPW is not set
+# CONFIG_USB_SERIAL_IUU is not set
+# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
+# CONFIG_USB_SERIAL_KEYSPAN is not set
+# CONFIG_USB_SERIAL_KLSI is not set
+# CONFIG_USB_SERIAL_KOBIL_SCT is not set
+# CONFIG_USB_SERIAL_MCT_U232 is not set
+# CONFIG_USB_SERIAL_MOS7720 is not set
+# CONFIG_USB_SERIAL_MOS7840 is not set
+# CONFIG_USB_SERIAL_MOTOROLA is not set
+# CONFIG_USB_SERIAL_NAVMAN is not set
+CONFIG_USB_SERIAL_PL2303=y
+# CONFIG_USB_SERIAL_OTI6858 is not set
+# CONFIG_USB_SERIAL_SPCP8X5 is not set
+# CONFIG_USB_SERIAL_HP4X is not set
+# CONFIG_USB_SERIAL_SAFE is not set
+# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
+# CONFIG_USB_SERIAL_TI is not set
+# CONFIG_USB_SERIAL_CYBERJACK is not set
+# CONFIG_USB_SERIAL_XIRCOM is not set
+# CONFIG_USB_SERIAL_OPTION is not set
+# CONFIG_USB_SERIAL_OMNINET is not set
+# CONFIG_USB_SERIAL_DEBUG is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+# CONFIG_EXT2_FS is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+# CONFIG_EXT3_FS_POSIX_ACL is not set
+# CONFIG_EXT3_FS_SECURITY is not set
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=936
+CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_YAFFS_FS=y
+CONFIG_YAFFS_YAFFS1=y
+# CONFIG_YAFFS_9BYTE_TAGS is not set
+# CONFIG_YAFFS_DOES_ECC is not set
+CONFIG_YAFFS_YAFFS2=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+# CONFIG_JFFS2_FS is not set
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+# CONFIG_UBIFS_FS_DEBUG is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+# CONFIG_NFS_V3_ACL is not set
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+CONFIG_NLS_CODEPAGE_936=y
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+CONFIG_NLS_UTF8=y
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+CONFIG_CRYPTO_ALGAPI=y
+CONFIG_CRYPTO_ALGAPI2=y
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+CONFIG_CRC16=y
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/config_mini6410_ezvga linux-2.6.28.6/config_mini6410_ezvga
--- linux-2.6.28/config_mini6410_ezvga	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/config_mini6410_ezvga	2010-07-20 12:04:15.000000000 +0200
@@ -0,0 +1,1741 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Jul 20 18:03:47 2010
+#
+CONFIG_ARM=y
+# CONFIG_HAVE_PWM is not set
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION="-FriendlyARM"
+CONFIG_LOCALVERSION_AUTO=y
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_IPC_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE="scripts/FriendlyARM.cpio"
+CONFIG_INITRAMFS_ROOT_UID=0
+CONFIG_INITRAMFS_ROOT_GID=0
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+# CONFIG_LBD is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_LSF is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_S3C64XX_DEV_FIMC0=y
+CONFIG_S3C64XX_DEV_FIMC1=y
+CONFIG_S3C64XX_SETUP_FIMC0=y
+CONFIG_S3C64XX_SETUP_FIMC1=y
+# CONFIG_S3C6410_PWM is not set
+CONFIG_NONE_PWM=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+# CONFIG_SPLIT_ROOT_FILESYSTEM is not set
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_HSMMC2=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+
+#
+# SMDK6410 MMC/SD slot setup
+#
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+# CONFIG_SMDK6410_SD_CH2 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+# CONFIG_ARM_THUMB is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE=""
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+CONFIG_FPE_NWFPE=y
+# CONFIG_FPE_NWFPE_XP is not set
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_VFP is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_RARP=y
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+# CONFIG_INET_DIAG is not set
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MTD_UBI_BEB_RESERVE=1
+# CONFIG_MTD_UBI_GLUEBI is not set
+
+#
+# UBI debugging options
+#
+# CONFIG_MTD_UBI_DEBUG is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+CONFIG_DM9000=y
+CONFIG_DM9000_DEBUGLEVEL=4
+# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
+# CONFIG_SMC911X is not set
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=800
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=600
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+# CONFIG_INPUT_KEYBOARD is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+# CONFIG_TOUCHSCREEN_S3C is not set
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_WM97XX is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_LEDS_MINI6410=y
+CONFIG_MINI6410_HELLO_MODULE=m
+CONFIG_MINI6410_BUTTONS=y
+CONFIG_MINI6410_BUZZER=y
+# CONFIG_MINI6410_ADC is not set
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+# CONFIG_S3C_MEM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_UCB1400_CORE is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+# CONFIG_VIDEO_ALLOW_V4L1 is not set
+CONFIG_VIDEO_V4L1_COMPAT=y
+# CONFIG_DVB_CORE is not set
+CONFIG_VIDEO_MEDIA=y
+
+#
+# Multimedia drivers
+#
+# CONFIG_MEDIA_ATTACH is not set
+CONFIG_MEDIA_TUNER=y
+# CONFIG_MEDIA_TUNER_CUSTOMIZE is not set
+CONFIG_MEDIA_TUNER_SIMPLE=y
+CONFIG_MEDIA_TUNER_TDA8290=y
+CONFIG_MEDIA_TUNER_TDA9887=y
+CONFIG_MEDIA_TUNER_TEA5761=y
+CONFIG_MEDIA_TUNER_TEA5767=y
+CONFIG_MEDIA_TUNER_MT20XX=y
+CONFIG_MEDIA_TUNER_XC2028=y
+CONFIG_MEDIA_TUNER_XC5000=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEOBUF_GEN=y
+CONFIG_VIDEOBUF_VMALLOC=y
+CONFIG_VIDEO_IR=y
+CONFIG_VIDEO_TVEEPROM=y
+CONFIG_VIDEO_TUNER=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+# CONFIG_VIDEO_ADV_DEBUG is not set
+CONFIG_VIDEO_FIXED_MINOR_RANGES=y
+# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
+CONFIG_VIDEO_IR_I2C=y
+
+#
+# Encoders/decoders and other helper chips
+#
+
+#
+# Audio decoders
+#
+# CONFIG_VIDEO_TVAUDIO is not set
+# CONFIG_VIDEO_TDA7432 is not set
+# CONFIG_VIDEO_TDA9840 is not set
+# CONFIG_VIDEO_TDA9875 is not set
+# CONFIG_VIDEO_TEA6415C is not set
+# CONFIG_VIDEO_TEA6420 is not set
+CONFIG_VIDEO_MSP3400=y
+# CONFIG_VIDEO_CS5345 is not set
+CONFIG_VIDEO_CS53L32A=y
+# CONFIG_VIDEO_M52790 is not set
+# CONFIG_VIDEO_TLV320AIC23B is not set
+CONFIG_VIDEO_WM8775=y
+# CONFIG_VIDEO_WM8739 is not set
+# CONFIG_VIDEO_VP27SMPX is not set
+
+#
+# Video decoders
+#
+# CONFIG_VIDEO_OV7670 is not set
+# CONFIG_VIDEO_TCM825X is not set
+CONFIG_VIDEO_SAA711X=y
+# CONFIG_VIDEO_SAA717X is not set
+# CONFIG_VIDEO_TVP5150 is not set
+
+#
+# Video and audio decoders
+#
+CONFIG_VIDEO_CX25840=y
+
+#
+# MPEG video encoders
+#
+CONFIG_VIDEO_CX2341X=y
+
+#
+# Video encoders
+#
+# CONFIG_VIDEO_SAA7127 is not set
+
+#
+# Video improvement chips
+#
+# CONFIG_VIDEO_UPD64031A is not set
+# CONFIG_VIDEO_UPD64083 is not set
+# CONFIG_VIDEO_VIVI is not set
+# CONFIG_VIDEO_SAA5246A is not set
+# CONFIG_VIDEO_SAA5249 is not set
+# CONFIG_SOC_CAMERA is not set
+CONFIG_V4L_USB_DRIVERS=y
+CONFIG_USB_VIDEO_CLASS=y
+CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
+CONFIG_USB_GSPCA=y
+CONFIG_USB_M5602=y
+CONFIG_USB_GSPCA_CONEX=y
+CONFIG_USB_GSPCA_ETOMS=y
+CONFIG_USB_GSPCA_FINEPIX=y
+CONFIG_USB_GSPCA_MARS=y
+CONFIG_USB_GSPCA_OV519=y
+CONFIG_USB_GSPCA_PAC207=y
+CONFIG_USB_GSPCA_PAC7311=y
+CONFIG_USB_GSPCA_SONIXB=y
+CONFIG_USB_GSPCA_SONIXJ=y
+CONFIG_USB_GSPCA_SPCA500=y
+CONFIG_USB_GSPCA_SPCA501=y
+CONFIG_USB_GSPCA_SPCA505=y
+CONFIG_USB_GSPCA_SPCA506=y
+CONFIG_USB_GSPCA_SPCA508=y
+CONFIG_USB_GSPCA_SPCA561=y
+CONFIG_USB_GSPCA_STK014=y
+CONFIG_USB_GSPCA_SUNPLUS=y
+CONFIG_USB_GSPCA_T613=y
+CONFIG_USB_GSPCA_TV8532=y
+CONFIG_USB_GSPCA_VC032X=y
+CONFIG_USB_GSPCA_ZC3XX=y
+CONFIG_VIDEO_PVRUSB2=y
+CONFIG_VIDEO_PVRUSB2_SYSFS=y
+# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
+CONFIG_VIDEO_EM28XX=y
+# CONFIG_VIDEO_EM28XX_ALSA is not set
+CONFIG_VIDEO_USBVISION=y
+CONFIG_USB_ET61X251=y
+CONFIG_USB_SN9C102=y
+CONFIG_USB_ZC0301=y
+CONFIG_USB_ZR364XX=y
+CONFIG_USB_STKWEBCAM=y
+CONFIG_USB_S2255=y
+CONFIG_VIDEO_SAMSUNG=y
+
+#
+# FIMC configurations
+#
+CONFIG_VIDEO_FIMC=y
+CONFIG_VIDEO_FIMC_DEBUG=y
+# CONFIG_S5K4BA is not set
+# CONFIG_S5K3BA is not set
+CONFIG_OV965X=y
+CONFIG_OV965X_VGA=y
+# CONFIG_OV965X_QVGA is not set
+# CONFIG_OV965X_SVGA is not set
+# CONFIG_OV965X_SXGA is not set
+CONFIG_VIDEO_FIMC_CAM_CH=0
+CONFIG_VIDEO_FIMC_CAM_RESET=1
+CONFIG_VIDEO_POST=y
+CONFIG_VIDEO_MFC10=y
+CONFIG_VIDEO_MFC_DEBUG=y
+CONFIG_VIDEO_JPEG=y
+CONFIG_VIDEO_TV=y
+CONFIG_VIDEO_ROTATOR=y
+CONFIG_VIDEO_G2D=y
+CONFIG_VIDEO_G3D=y
+CONFIG_VIDEO_CMM=y
+
+#
+# Reserved memory configurations
+#
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC=15360
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC=6144
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM=8192
+# CONFIG_RADIO_ADAPTERS is not set
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+# CONFIG_FB_S3C_TFT480272 is not set
+# CONFIG_FB_S3C_TFT800480 is not set
+# CONFIG_FB_S3C_T240320 is not set
+# CONFIG_FB_S3C_TFT640480 is not set
+# CONFIG_FB_S3C_VGA1024768 is not set
+# CONFIG_FB_S3C_VGA800600 is not set
+# CONFIG_FB_S3C_VGA640480 is not set
+CONFIG_FB_S3C_EZVGA800600=y
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=4
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+CONFIG_FB_S3C_DOUBLE_BUFFERING=y
+# CONFIG_FB_S1D13XXX is not set
+CONFIG_BACKLIGHT_FRIENDLY_ARM=y
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_LOGO_LINUX_CLUT224=y
+# CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224 is not set
+CONFIG_SOUND=y
+CONFIG_SOUND_OSS_CORE=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+CONFIG_SND_OSSEMUL=y
+CONFIG_SND_MIXER_OSS=y
+CONFIG_SND_PCM_OSS=y
+CONFIG_SND_PCM_OSS_PLUGINS=y
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_VMASTER=y
+CONFIG_SND_AC97_CODEC=y
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+# CONFIG_SND_AC97_POWER_SAVE is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_AC97_BUS=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713=y
+# CONFIG_SOUND_WM9713_INPUT_STREAM_LINE is not set
+CONFIG_SOUND_WM9713_INPUT_STREAM_MIC=y
+CONFIG_SND_S3C6410_SOC_AC97=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_S5M8751 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM9713=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_AC97_BUS=y
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+CONFIG_USB_DEBUG=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_S3C_OTG_HOST is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+CONFIG_USB_SERIAL=y
+# CONFIG_USB_SERIAL_CONSOLE is not set
+# CONFIG_USB_EZUSB is not set
+# CONFIG_USB_SERIAL_GENERIC is not set
+# CONFIG_USB_SERIAL_AIRCABLE is not set
+# CONFIG_USB_SERIAL_ARK3116 is not set
+# CONFIG_USB_SERIAL_BELKIN is not set
+# CONFIG_USB_SERIAL_CH341 is not set
+# CONFIG_USB_SERIAL_WHITEHEAT is not set
+# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
+# CONFIG_USB_SERIAL_CP2101 is not set
+# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
+# CONFIG_USB_SERIAL_EMPEG is not set
+# CONFIG_USB_SERIAL_FTDI_SIO is not set
+# CONFIG_USB_SERIAL_FUNSOFT is not set
+# CONFIG_USB_SERIAL_VISOR is not set
+# CONFIG_USB_SERIAL_IPAQ is not set
+# CONFIG_USB_SERIAL_IR is not set
+# CONFIG_USB_SERIAL_EDGEPORT is not set
+# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
+# CONFIG_USB_SERIAL_GARMIN is not set
+# CONFIG_USB_SERIAL_IPW is not set
+# CONFIG_USB_SERIAL_IUU is not set
+# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
+# CONFIG_USB_SERIAL_KEYSPAN is not set
+# CONFIG_USB_SERIAL_KLSI is not set
+# CONFIG_USB_SERIAL_KOBIL_SCT is not set
+# CONFIG_USB_SERIAL_MCT_U232 is not set
+# CONFIG_USB_SERIAL_MOS7720 is not set
+# CONFIG_USB_SERIAL_MOS7840 is not set
+# CONFIG_USB_SERIAL_MOTOROLA is not set
+# CONFIG_USB_SERIAL_NAVMAN is not set
+CONFIG_USB_SERIAL_PL2303=y
+# CONFIG_USB_SERIAL_OTI6858 is not set
+# CONFIG_USB_SERIAL_SPCP8X5 is not set
+# CONFIG_USB_SERIAL_HP4X is not set
+# CONFIG_USB_SERIAL_SAFE is not set
+# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
+# CONFIG_USB_SERIAL_TI is not set
+# CONFIG_USB_SERIAL_CYBERJACK is not set
+# CONFIG_USB_SERIAL_XIRCOM is not set
+# CONFIG_USB_SERIAL_OPTION is not set
+# CONFIG_USB_SERIAL_OMNINET is not set
+# CONFIG_USB_SERIAL_DEBUG is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+# CONFIG_EXT2_FS is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+# CONFIG_EXT3_FS_POSIX_ACL is not set
+# CONFIG_EXT3_FS_SECURITY is not set
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=936
+CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_YAFFS_FS=y
+CONFIG_YAFFS_YAFFS1=y
+# CONFIG_YAFFS_9BYTE_TAGS is not set
+# CONFIG_YAFFS_DOES_ECC is not set
+CONFIG_YAFFS_YAFFS2=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+# CONFIG_JFFS2_FS is not set
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+# CONFIG_UBIFS_FS_DEBUG is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+# CONFIG_NFS_V3_ACL is not set
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+CONFIG_NLS_CODEPAGE_936=y
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+CONFIG_NLS_UTF8=y
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+CONFIG_CRYPTO_ALGAPI=y
+CONFIG_CRYPTO_ALGAPI2=y
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+CONFIG_CRC16=y
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/config_mini6410_l80 linux-2.6.28.6/config_mini6410_l80
--- linux-2.6.28/config_mini6410_l80	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/config_mini6410_l80	2010-07-20 11:55:20.000000000 +0200
@@ -0,0 +1,1742 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Jul 20 17:55:10 2010
+#
+CONFIG_ARM=y
+# CONFIG_HAVE_PWM is not set
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION="-FriendlyARM"
+CONFIG_LOCALVERSION_AUTO=y
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_IPC_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE="scripts/FriendlyARM.cpio"
+CONFIG_INITRAMFS_ROOT_UID=0
+CONFIG_INITRAMFS_ROOT_GID=0
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+# CONFIG_LBD is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_LSF is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_S3C64XX_DEV_FIMC0=y
+CONFIG_S3C64XX_DEV_FIMC1=y
+CONFIG_S3C64XX_SETUP_FIMC0=y
+CONFIG_S3C64XX_SETUP_FIMC1=y
+# CONFIG_S3C6410_PWM is not set
+CONFIG_NONE_PWM=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+# CONFIG_SPLIT_ROOT_FILESYSTEM is not set
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_HSMMC2=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+
+#
+# SMDK6410 MMC/SD slot setup
+#
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+# CONFIG_SMDK6410_SD_CH2 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+# CONFIG_ARM_THUMB is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE=""
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+CONFIG_FPE_NWFPE=y
+# CONFIG_FPE_NWFPE_XP is not set
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_VFP is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_RARP=y
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+# CONFIG_INET_DIAG is not set
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MTD_UBI_BEB_RESERVE=1
+# CONFIG_MTD_UBI_GLUEBI is not set
+
+#
+# UBI debugging options
+#
+# CONFIG_MTD_UBI_DEBUG is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+CONFIG_DM9000=y
+CONFIG_DM9000_DEBUGLEVEL=4
+# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
+# CONFIG_SMC911X is not set
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=640
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=480
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+# CONFIG_INPUT_KEYBOARD is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_S3C=y
+# CONFIG_TOUCHSCREEN_NEW is not set
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_WM97XX is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_LEDS_MINI6410=y
+CONFIG_MINI6410_HELLO_MODULE=m
+CONFIG_MINI6410_BUTTONS=y
+CONFIG_MINI6410_BUZZER=y
+# CONFIG_MINI6410_ADC is not set
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+# CONFIG_S3C_MEM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_UCB1400_CORE is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+# CONFIG_VIDEO_ALLOW_V4L1 is not set
+CONFIG_VIDEO_V4L1_COMPAT=y
+# CONFIG_DVB_CORE is not set
+CONFIG_VIDEO_MEDIA=y
+
+#
+# Multimedia drivers
+#
+# CONFIG_MEDIA_ATTACH is not set
+CONFIG_MEDIA_TUNER=y
+# CONFIG_MEDIA_TUNER_CUSTOMIZE is not set
+CONFIG_MEDIA_TUNER_SIMPLE=y
+CONFIG_MEDIA_TUNER_TDA8290=y
+CONFIG_MEDIA_TUNER_TDA9887=y
+CONFIG_MEDIA_TUNER_TEA5761=y
+CONFIG_MEDIA_TUNER_TEA5767=y
+CONFIG_MEDIA_TUNER_MT20XX=y
+CONFIG_MEDIA_TUNER_XC2028=y
+CONFIG_MEDIA_TUNER_XC5000=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEOBUF_GEN=y
+CONFIG_VIDEOBUF_VMALLOC=y
+CONFIG_VIDEO_IR=y
+CONFIG_VIDEO_TVEEPROM=y
+CONFIG_VIDEO_TUNER=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+# CONFIG_VIDEO_ADV_DEBUG is not set
+CONFIG_VIDEO_FIXED_MINOR_RANGES=y
+# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
+CONFIG_VIDEO_IR_I2C=y
+
+#
+# Encoders/decoders and other helper chips
+#
+
+#
+# Audio decoders
+#
+# CONFIG_VIDEO_TVAUDIO is not set
+# CONFIG_VIDEO_TDA7432 is not set
+# CONFIG_VIDEO_TDA9840 is not set
+# CONFIG_VIDEO_TDA9875 is not set
+# CONFIG_VIDEO_TEA6415C is not set
+# CONFIG_VIDEO_TEA6420 is not set
+CONFIG_VIDEO_MSP3400=y
+# CONFIG_VIDEO_CS5345 is not set
+CONFIG_VIDEO_CS53L32A=y
+# CONFIG_VIDEO_M52790 is not set
+# CONFIG_VIDEO_TLV320AIC23B is not set
+CONFIG_VIDEO_WM8775=y
+# CONFIG_VIDEO_WM8739 is not set
+# CONFIG_VIDEO_VP27SMPX is not set
+
+#
+# Video decoders
+#
+# CONFIG_VIDEO_OV7670 is not set
+# CONFIG_VIDEO_TCM825X is not set
+CONFIG_VIDEO_SAA711X=y
+# CONFIG_VIDEO_SAA717X is not set
+# CONFIG_VIDEO_TVP5150 is not set
+
+#
+# Video and audio decoders
+#
+CONFIG_VIDEO_CX25840=y
+
+#
+# MPEG video encoders
+#
+CONFIG_VIDEO_CX2341X=y
+
+#
+# Video encoders
+#
+# CONFIG_VIDEO_SAA7127 is not set
+
+#
+# Video improvement chips
+#
+# CONFIG_VIDEO_UPD64031A is not set
+# CONFIG_VIDEO_UPD64083 is not set
+# CONFIG_VIDEO_VIVI is not set
+# CONFIG_VIDEO_SAA5246A is not set
+# CONFIG_VIDEO_SAA5249 is not set
+# CONFIG_SOC_CAMERA is not set
+CONFIG_V4L_USB_DRIVERS=y
+CONFIG_USB_VIDEO_CLASS=y
+CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
+CONFIG_USB_GSPCA=y
+CONFIG_USB_M5602=y
+CONFIG_USB_GSPCA_CONEX=y
+CONFIG_USB_GSPCA_ETOMS=y
+CONFIG_USB_GSPCA_FINEPIX=y
+CONFIG_USB_GSPCA_MARS=y
+CONFIG_USB_GSPCA_OV519=y
+CONFIG_USB_GSPCA_PAC207=y
+CONFIG_USB_GSPCA_PAC7311=y
+CONFIG_USB_GSPCA_SONIXB=y
+CONFIG_USB_GSPCA_SONIXJ=y
+CONFIG_USB_GSPCA_SPCA500=y
+CONFIG_USB_GSPCA_SPCA501=y
+CONFIG_USB_GSPCA_SPCA505=y
+CONFIG_USB_GSPCA_SPCA506=y
+CONFIG_USB_GSPCA_SPCA508=y
+CONFIG_USB_GSPCA_SPCA561=y
+CONFIG_USB_GSPCA_STK014=y
+CONFIG_USB_GSPCA_SUNPLUS=y
+CONFIG_USB_GSPCA_T613=y
+CONFIG_USB_GSPCA_TV8532=y
+CONFIG_USB_GSPCA_VC032X=y
+CONFIG_USB_GSPCA_ZC3XX=y
+CONFIG_VIDEO_PVRUSB2=y
+CONFIG_VIDEO_PVRUSB2_SYSFS=y
+# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
+CONFIG_VIDEO_EM28XX=y
+# CONFIG_VIDEO_EM28XX_ALSA is not set
+CONFIG_VIDEO_USBVISION=y
+CONFIG_USB_ET61X251=y
+CONFIG_USB_SN9C102=y
+CONFIG_USB_ZC0301=y
+CONFIG_USB_ZR364XX=y
+CONFIG_USB_STKWEBCAM=y
+CONFIG_USB_S2255=y
+CONFIG_VIDEO_SAMSUNG=y
+
+#
+# FIMC configurations
+#
+CONFIG_VIDEO_FIMC=y
+CONFIG_VIDEO_FIMC_DEBUG=y
+# CONFIG_S5K4BA is not set
+# CONFIG_S5K3BA is not set
+CONFIG_OV965X=y
+CONFIG_OV965X_VGA=y
+# CONFIG_OV965X_QVGA is not set
+# CONFIG_OV965X_SVGA is not set
+# CONFIG_OV965X_SXGA is not set
+CONFIG_VIDEO_FIMC_CAM_CH=0
+CONFIG_VIDEO_FIMC_CAM_RESET=1
+CONFIG_VIDEO_POST=y
+CONFIG_VIDEO_MFC10=y
+CONFIG_VIDEO_MFC_DEBUG=y
+CONFIG_VIDEO_JPEG=y
+CONFIG_VIDEO_TV=y
+CONFIG_VIDEO_ROTATOR=y
+CONFIG_VIDEO_G2D=y
+CONFIG_VIDEO_G3D=y
+CONFIG_VIDEO_CMM=y
+
+#
+# Reserved memory configurations
+#
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC=15360
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC=6144
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM=8192
+# CONFIG_RADIO_ADAPTERS is not set
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+# CONFIG_FB_S3C_TFT480272 is not set
+# CONFIG_FB_S3C_TFT800480 is not set
+# CONFIG_FB_S3C_T240320 is not set
+CONFIG_FB_S3C_TFT640480=y
+# CONFIG_FB_S3C_VGA1024768 is not set
+# CONFIG_FB_S3C_VGA800600 is not set
+# CONFIG_FB_S3C_VGA640480 is not set
+# CONFIG_FB_S3C_EZVGA800600 is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=4
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+CONFIG_FB_S3C_DOUBLE_BUFFERING=y
+# CONFIG_FB_S1D13XXX is not set
+CONFIG_BACKLIGHT_FRIENDLY_ARM=y
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_LOGO_LINUX_CLUT224=y
+# CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224 is not set
+CONFIG_SOUND=y
+CONFIG_SOUND_OSS_CORE=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+CONFIG_SND_OSSEMUL=y
+CONFIG_SND_MIXER_OSS=y
+CONFIG_SND_PCM_OSS=y
+CONFIG_SND_PCM_OSS_PLUGINS=y
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_VMASTER=y
+CONFIG_SND_AC97_CODEC=y
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+# CONFIG_SND_AC97_POWER_SAVE is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_AC97_BUS=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713=y
+# CONFIG_SOUND_WM9713_INPUT_STREAM_LINE is not set
+CONFIG_SOUND_WM9713_INPUT_STREAM_MIC=y
+CONFIG_SND_S3C6410_SOC_AC97=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_S5M8751 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM9713=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_AC97_BUS=y
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+CONFIG_USB_DEBUG=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_S3C_OTG_HOST is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+CONFIG_USB_SERIAL=y
+# CONFIG_USB_SERIAL_CONSOLE is not set
+# CONFIG_USB_EZUSB is not set
+# CONFIG_USB_SERIAL_GENERIC is not set
+# CONFIG_USB_SERIAL_AIRCABLE is not set
+# CONFIG_USB_SERIAL_ARK3116 is not set
+# CONFIG_USB_SERIAL_BELKIN is not set
+# CONFIG_USB_SERIAL_CH341 is not set
+# CONFIG_USB_SERIAL_WHITEHEAT is not set
+# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
+# CONFIG_USB_SERIAL_CP2101 is not set
+# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
+# CONFIG_USB_SERIAL_EMPEG is not set
+# CONFIG_USB_SERIAL_FTDI_SIO is not set
+# CONFIG_USB_SERIAL_FUNSOFT is not set
+# CONFIG_USB_SERIAL_VISOR is not set
+# CONFIG_USB_SERIAL_IPAQ is not set
+# CONFIG_USB_SERIAL_IR is not set
+# CONFIG_USB_SERIAL_EDGEPORT is not set
+# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
+# CONFIG_USB_SERIAL_GARMIN is not set
+# CONFIG_USB_SERIAL_IPW is not set
+# CONFIG_USB_SERIAL_IUU is not set
+# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
+# CONFIG_USB_SERIAL_KEYSPAN is not set
+# CONFIG_USB_SERIAL_KLSI is not set
+# CONFIG_USB_SERIAL_KOBIL_SCT is not set
+# CONFIG_USB_SERIAL_MCT_U232 is not set
+# CONFIG_USB_SERIAL_MOS7720 is not set
+# CONFIG_USB_SERIAL_MOS7840 is not set
+# CONFIG_USB_SERIAL_MOTOROLA is not set
+# CONFIG_USB_SERIAL_NAVMAN is not set
+CONFIG_USB_SERIAL_PL2303=y
+# CONFIG_USB_SERIAL_OTI6858 is not set
+# CONFIG_USB_SERIAL_SPCP8X5 is not set
+# CONFIG_USB_SERIAL_HP4X is not set
+# CONFIG_USB_SERIAL_SAFE is not set
+# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
+# CONFIG_USB_SERIAL_TI is not set
+# CONFIG_USB_SERIAL_CYBERJACK is not set
+# CONFIG_USB_SERIAL_XIRCOM is not set
+# CONFIG_USB_SERIAL_OPTION is not set
+# CONFIG_USB_SERIAL_OMNINET is not set
+# CONFIG_USB_SERIAL_DEBUG is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+# CONFIG_EXT2_FS is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+# CONFIG_EXT3_FS_POSIX_ACL is not set
+# CONFIG_EXT3_FS_SECURITY is not set
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=936
+CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_YAFFS_FS=y
+CONFIG_YAFFS_YAFFS1=y
+# CONFIG_YAFFS_9BYTE_TAGS is not set
+# CONFIG_YAFFS_DOES_ECC is not set
+CONFIG_YAFFS_YAFFS2=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+# CONFIG_JFFS2_FS is not set
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+# CONFIG_UBIFS_FS_DEBUG is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+# CONFIG_NFS_V3_ACL is not set
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+CONFIG_NLS_CODEPAGE_936=y
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+CONFIG_NLS_UTF8=y
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+CONFIG_CRYPTO_ALGAPI=y
+CONFIG_CRYPTO_ALGAPI2=y
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+CONFIG_CRC16=y
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/config_mini6410_n43 linux-2.6.28.6/config_mini6410_n43
--- linux-2.6.28/config_mini6410_n43	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/config_mini6410_n43	2010-07-20 11:49:32.000000000 +0200
@@ -0,0 +1,1742 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Jul 20 17:49:07 2010
+#
+CONFIG_ARM=y
+# CONFIG_HAVE_PWM is not set
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION="-FriendlyARM"
+CONFIG_LOCALVERSION_AUTO=y
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_IPC_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE="scripts/FriendlyARM.cpio"
+CONFIG_INITRAMFS_ROOT_UID=0
+CONFIG_INITRAMFS_ROOT_GID=0
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+# CONFIG_LBD is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_LSF is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_S3C64XX_DEV_FIMC0=y
+CONFIG_S3C64XX_DEV_FIMC1=y
+CONFIG_S3C64XX_SETUP_FIMC0=y
+CONFIG_S3C64XX_SETUP_FIMC1=y
+# CONFIG_S3C6410_PWM is not set
+CONFIG_NONE_PWM=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+# CONFIG_SPLIT_ROOT_FILESYSTEM is not set
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_HSMMC2=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+
+#
+# SMDK6410 MMC/SD slot setup
+#
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+# CONFIG_SMDK6410_SD_CH2 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+# CONFIG_ARM_THUMB is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE=""
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+CONFIG_FPE_NWFPE=y
+# CONFIG_FPE_NWFPE_XP is not set
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_VFP is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_RARP=y
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+# CONFIG_INET_DIAG is not set
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MTD_UBI_BEB_RESERVE=1
+# CONFIG_MTD_UBI_GLUEBI is not set
+
+#
+# UBI debugging options
+#
+# CONFIG_MTD_UBI_DEBUG is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+CONFIG_DM9000=y
+CONFIG_DM9000_DEBUGLEVEL=4
+# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
+# CONFIG_SMC911X is not set
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=480
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=272
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+# CONFIG_INPUT_KEYBOARD is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_S3C=y
+# CONFIG_TOUCHSCREEN_NEW is not set
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_WM97XX is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_LEDS_MINI6410=y
+CONFIG_MINI6410_HELLO_MODULE=m
+CONFIG_MINI6410_BUTTONS=y
+CONFIG_MINI6410_BUZZER=y
+# CONFIG_MINI6410_ADC is not set
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+# CONFIG_S3C_MEM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_UCB1400_CORE is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+# CONFIG_VIDEO_ALLOW_V4L1 is not set
+CONFIG_VIDEO_V4L1_COMPAT=y
+# CONFIG_DVB_CORE is not set
+CONFIG_VIDEO_MEDIA=y
+
+#
+# Multimedia drivers
+#
+# CONFIG_MEDIA_ATTACH is not set
+CONFIG_MEDIA_TUNER=y
+# CONFIG_MEDIA_TUNER_CUSTOMIZE is not set
+CONFIG_MEDIA_TUNER_SIMPLE=y
+CONFIG_MEDIA_TUNER_TDA8290=y
+CONFIG_MEDIA_TUNER_TDA9887=y
+CONFIG_MEDIA_TUNER_TEA5761=y
+CONFIG_MEDIA_TUNER_TEA5767=y
+CONFIG_MEDIA_TUNER_MT20XX=y
+CONFIG_MEDIA_TUNER_XC2028=y
+CONFIG_MEDIA_TUNER_XC5000=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEOBUF_GEN=y
+CONFIG_VIDEOBUF_VMALLOC=y
+CONFIG_VIDEO_IR=y
+CONFIG_VIDEO_TVEEPROM=y
+CONFIG_VIDEO_TUNER=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+# CONFIG_VIDEO_ADV_DEBUG is not set
+CONFIG_VIDEO_FIXED_MINOR_RANGES=y
+# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
+CONFIG_VIDEO_IR_I2C=y
+
+#
+# Encoders/decoders and other helper chips
+#
+
+#
+# Audio decoders
+#
+# CONFIG_VIDEO_TVAUDIO is not set
+# CONFIG_VIDEO_TDA7432 is not set
+# CONFIG_VIDEO_TDA9840 is not set
+# CONFIG_VIDEO_TDA9875 is not set
+# CONFIG_VIDEO_TEA6415C is not set
+# CONFIG_VIDEO_TEA6420 is not set
+CONFIG_VIDEO_MSP3400=y
+# CONFIG_VIDEO_CS5345 is not set
+CONFIG_VIDEO_CS53L32A=y
+# CONFIG_VIDEO_M52790 is not set
+# CONFIG_VIDEO_TLV320AIC23B is not set
+CONFIG_VIDEO_WM8775=y
+# CONFIG_VIDEO_WM8739 is not set
+# CONFIG_VIDEO_VP27SMPX is not set
+
+#
+# Video decoders
+#
+# CONFIG_VIDEO_OV7670 is not set
+# CONFIG_VIDEO_TCM825X is not set
+CONFIG_VIDEO_SAA711X=y
+# CONFIG_VIDEO_SAA717X is not set
+# CONFIG_VIDEO_TVP5150 is not set
+
+#
+# Video and audio decoders
+#
+CONFIG_VIDEO_CX25840=y
+
+#
+# MPEG video encoders
+#
+CONFIG_VIDEO_CX2341X=y
+
+#
+# Video encoders
+#
+# CONFIG_VIDEO_SAA7127 is not set
+
+#
+# Video improvement chips
+#
+# CONFIG_VIDEO_UPD64031A is not set
+# CONFIG_VIDEO_UPD64083 is not set
+# CONFIG_VIDEO_VIVI is not set
+# CONFIG_VIDEO_SAA5246A is not set
+# CONFIG_VIDEO_SAA5249 is not set
+# CONFIG_SOC_CAMERA is not set
+CONFIG_V4L_USB_DRIVERS=y
+CONFIG_USB_VIDEO_CLASS=y
+CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
+CONFIG_USB_GSPCA=y
+CONFIG_USB_M5602=y
+CONFIG_USB_GSPCA_CONEX=y
+CONFIG_USB_GSPCA_ETOMS=y
+CONFIG_USB_GSPCA_FINEPIX=y
+CONFIG_USB_GSPCA_MARS=y
+CONFIG_USB_GSPCA_OV519=y
+CONFIG_USB_GSPCA_PAC207=y
+CONFIG_USB_GSPCA_PAC7311=y
+CONFIG_USB_GSPCA_SONIXB=y
+CONFIG_USB_GSPCA_SONIXJ=y
+CONFIG_USB_GSPCA_SPCA500=y
+CONFIG_USB_GSPCA_SPCA501=y
+CONFIG_USB_GSPCA_SPCA505=y
+CONFIG_USB_GSPCA_SPCA506=y
+CONFIG_USB_GSPCA_SPCA508=y
+CONFIG_USB_GSPCA_SPCA561=y
+CONFIG_USB_GSPCA_STK014=y
+CONFIG_USB_GSPCA_SUNPLUS=y
+CONFIG_USB_GSPCA_T613=y
+CONFIG_USB_GSPCA_TV8532=y
+CONFIG_USB_GSPCA_VC032X=y
+CONFIG_USB_GSPCA_ZC3XX=y
+CONFIG_VIDEO_PVRUSB2=y
+CONFIG_VIDEO_PVRUSB2_SYSFS=y
+# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
+CONFIG_VIDEO_EM28XX=y
+# CONFIG_VIDEO_EM28XX_ALSA is not set
+CONFIG_VIDEO_USBVISION=y
+CONFIG_USB_ET61X251=y
+CONFIG_USB_SN9C102=y
+CONFIG_USB_ZC0301=y
+CONFIG_USB_ZR364XX=y
+CONFIG_USB_STKWEBCAM=y
+CONFIG_USB_S2255=y
+CONFIG_VIDEO_SAMSUNG=y
+
+#
+# FIMC configurations
+#
+CONFIG_VIDEO_FIMC=y
+CONFIG_VIDEO_FIMC_DEBUG=y
+# CONFIG_S5K4BA is not set
+# CONFIG_S5K3BA is not set
+CONFIG_OV965X=y
+CONFIG_OV965X_VGA=y
+# CONFIG_OV965X_QVGA is not set
+# CONFIG_OV965X_SVGA is not set
+# CONFIG_OV965X_SXGA is not set
+CONFIG_VIDEO_FIMC_CAM_CH=0
+CONFIG_VIDEO_FIMC_CAM_RESET=1
+CONFIG_VIDEO_POST=y
+CONFIG_VIDEO_MFC10=y
+CONFIG_VIDEO_MFC_DEBUG=y
+CONFIG_VIDEO_JPEG=y
+CONFIG_VIDEO_TV=y
+CONFIG_VIDEO_ROTATOR=y
+CONFIG_VIDEO_G2D=y
+CONFIG_VIDEO_G3D=y
+CONFIG_VIDEO_CMM=y
+
+#
+# Reserved memory configurations
+#
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC=15360
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC=6144
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM=8192
+# CONFIG_RADIO_ADAPTERS is not set
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+CONFIG_FB_S3C_TFT480272=y
+# CONFIG_FB_S3C_TFT800480 is not set
+# CONFIG_FB_S3C_T240320 is not set
+# CONFIG_FB_S3C_TFT640480 is not set
+# CONFIG_FB_S3C_VGA1024768 is not set
+# CONFIG_FB_S3C_VGA800600 is not set
+# CONFIG_FB_S3C_VGA640480 is not set
+# CONFIG_FB_S3C_EZVGA800600 is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=4
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+CONFIG_FB_S3C_DOUBLE_BUFFERING=y
+# CONFIG_FB_S1D13XXX is not set
+CONFIG_BACKLIGHT_FRIENDLY_ARM=y
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_LOGO_LINUX_CLUT224=y
+# CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224 is not set
+CONFIG_SOUND=y
+CONFIG_SOUND_OSS_CORE=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+CONFIG_SND_OSSEMUL=y
+CONFIG_SND_MIXER_OSS=y
+CONFIG_SND_PCM_OSS=y
+CONFIG_SND_PCM_OSS_PLUGINS=y
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_VMASTER=y
+CONFIG_SND_AC97_CODEC=y
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+# CONFIG_SND_AC97_POWER_SAVE is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_AC97_BUS=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713=y
+# CONFIG_SOUND_WM9713_INPUT_STREAM_LINE is not set
+CONFIG_SOUND_WM9713_INPUT_STREAM_MIC=y
+CONFIG_SND_S3C6410_SOC_AC97=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_S5M8751 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM9713=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_AC97_BUS=y
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+CONFIG_USB_DEBUG=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_S3C_OTG_HOST is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+CONFIG_USB_SERIAL=y
+# CONFIG_USB_SERIAL_CONSOLE is not set
+# CONFIG_USB_EZUSB is not set
+# CONFIG_USB_SERIAL_GENERIC is not set
+# CONFIG_USB_SERIAL_AIRCABLE is not set
+# CONFIG_USB_SERIAL_ARK3116 is not set
+# CONFIG_USB_SERIAL_BELKIN is not set
+# CONFIG_USB_SERIAL_CH341 is not set
+# CONFIG_USB_SERIAL_WHITEHEAT is not set
+# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
+# CONFIG_USB_SERIAL_CP2101 is not set
+# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
+# CONFIG_USB_SERIAL_EMPEG is not set
+# CONFIG_USB_SERIAL_FTDI_SIO is not set
+# CONFIG_USB_SERIAL_FUNSOFT is not set
+# CONFIG_USB_SERIAL_VISOR is not set
+# CONFIG_USB_SERIAL_IPAQ is not set
+# CONFIG_USB_SERIAL_IR is not set
+# CONFIG_USB_SERIAL_EDGEPORT is not set
+# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
+# CONFIG_USB_SERIAL_GARMIN is not set
+# CONFIG_USB_SERIAL_IPW is not set
+# CONFIG_USB_SERIAL_IUU is not set
+# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
+# CONFIG_USB_SERIAL_KEYSPAN is not set
+# CONFIG_USB_SERIAL_KLSI is not set
+# CONFIG_USB_SERIAL_KOBIL_SCT is not set
+# CONFIG_USB_SERIAL_MCT_U232 is not set
+# CONFIG_USB_SERIAL_MOS7720 is not set
+# CONFIG_USB_SERIAL_MOS7840 is not set
+# CONFIG_USB_SERIAL_MOTOROLA is not set
+# CONFIG_USB_SERIAL_NAVMAN is not set
+CONFIG_USB_SERIAL_PL2303=y
+# CONFIG_USB_SERIAL_OTI6858 is not set
+# CONFIG_USB_SERIAL_SPCP8X5 is not set
+# CONFIG_USB_SERIAL_HP4X is not set
+# CONFIG_USB_SERIAL_SAFE is not set
+# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
+# CONFIG_USB_SERIAL_TI is not set
+# CONFIG_USB_SERIAL_CYBERJACK is not set
+# CONFIG_USB_SERIAL_XIRCOM is not set
+# CONFIG_USB_SERIAL_OPTION is not set
+# CONFIG_USB_SERIAL_OMNINET is not set
+# CONFIG_USB_SERIAL_DEBUG is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+# CONFIG_EXT2_FS is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+# CONFIG_EXT3_FS_POSIX_ACL is not set
+# CONFIG_EXT3_FS_SECURITY is not set
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=936
+CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_YAFFS_FS=y
+CONFIG_YAFFS_YAFFS1=y
+# CONFIG_YAFFS_9BYTE_TAGS is not set
+# CONFIG_YAFFS_DOES_ECC is not set
+CONFIG_YAFFS_YAFFS2=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+# CONFIG_JFFS2_FS is not set
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+# CONFIG_UBIFS_FS_DEBUG is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+# CONFIG_NFS_V3_ACL is not set
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+CONFIG_NLS_CODEPAGE_936=y
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+CONFIG_NLS_UTF8=y
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+CONFIG_CRYPTO_ALGAPI=y
+CONFIG_CRYPTO_ALGAPI2=y
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+CONFIG_CRC16=y
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/config_mini6410_t35 linux-2.6.28.6/config_mini6410_t35
--- linux-2.6.28/config_mini6410_t35	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/config_mini6410_t35	2010-07-20 11:53:57.000000000 +0200
@@ -0,0 +1,1742 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Jul 20 17:53:21 2010
+#
+CONFIG_ARM=y
+# CONFIG_HAVE_PWM is not set
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION="-FriendlyARM"
+CONFIG_LOCALVERSION_AUTO=y
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_IPC_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE="scripts/FriendlyARM.cpio"
+CONFIG_INITRAMFS_ROOT_UID=0
+CONFIG_INITRAMFS_ROOT_GID=0
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+# CONFIG_LBD is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_LSF is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_S3C64XX_DEV_FIMC0=y
+CONFIG_S3C64XX_DEV_FIMC1=y
+CONFIG_S3C64XX_SETUP_FIMC0=y
+CONFIG_S3C64XX_SETUP_FIMC1=y
+# CONFIG_S3C6410_PWM is not set
+CONFIG_NONE_PWM=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+# CONFIG_SPLIT_ROOT_FILESYSTEM is not set
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_HSMMC2=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+
+#
+# SMDK6410 MMC/SD slot setup
+#
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+# CONFIG_SMDK6410_SD_CH2 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+# CONFIG_ARM_THUMB is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE=""
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+CONFIG_FPE_NWFPE=y
+# CONFIG_FPE_NWFPE_XP is not set
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_VFP is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_RARP=y
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+# CONFIG_INET_DIAG is not set
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MTD_UBI_BEB_RESERVE=1
+# CONFIG_MTD_UBI_GLUEBI is not set
+
+#
+# UBI debugging options
+#
+# CONFIG_MTD_UBI_DEBUG is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+CONFIG_DM9000=y
+CONFIG_DM9000_DEBUGLEVEL=4
+# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
+# CONFIG_SMC911X is not set
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=240
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=320
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+# CONFIG_INPUT_KEYBOARD is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_S3C=y
+# CONFIG_TOUCHSCREEN_NEW is not set
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_WM97XX is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_LEDS_MINI6410=y
+CONFIG_MINI6410_HELLO_MODULE=m
+CONFIG_MINI6410_BUTTONS=y
+CONFIG_MINI6410_BUZZER=y
+# CONFIG_MINI6410_ADC is not set
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+# CONFIG_S3C_MEM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_UCB1400_CORE is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+# CONFIG_VIDEO_ALLOW_V4L1 is not set
+CONFIG_VIDEO_V4L1_COMPAT=y
+# CONFIG_DVB_CORE is not set
+CONFIG_VIDEO_MEDIA=y
+
+#
+# Multimedia drivers
+#
+# CONFIG_MEDIA_ATTACH is not set
+CONFIG_MEDIA_TUNER=y
+# CONFIG_MEDIA_TUNER_CUSTOMIZE is not set
+CONFIG_MEDIA_TUNER_SIMPLE=y
+CONFIG_MEDIA_TUNER_TDA8290=y
+CONFIG_MEDIA_TUNER_TDA9887=y
+CONFIG_MEDIA_TUNER_TEA5761=y
+CONFIG_MEDIA_TUNER_TEA5767=y
+CONFIG_MEDIA_TUNER_MT20XX=y
+CONFIG_MEDIA_TUNER_XC2028=y
+CONFIG_MEDIA_TUNER_XC5000=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEOBUF_GEN=y
+CONFIG_VIDEOBUF_VMALLOC=y
+CONFIG_VIDEO_IR=y
+CONFIG_VIDEO_TVEEPROM=y
+CONFIG_VIDEO_TUNER=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+# CONFIG_VIDEO_ADV_DEBUG is not set
+CONFIG_VIDEO_FIXED_MINOR_RANGES=y
+# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
+CONFIG_VIDEO_IR_I2C=y
+
+#
+# Encoders/decoders and other helper chips
+#
+
+#
+# Audio decoders
+#
+# CONFIG_VIDEO_TVAUDIO is not set
+# CONFIG_VIDEO_TDA7432 is not set
+# CONFIG_VIDEO_TDA9840 is not set
+# CONFIG_VIDEO_TDA9875 is not set
+# CONFIG_VIDEO_TEA6415C is not set
+# CONFIG_VIDEO_TEA6420 is not set
+CONFIG_VIDEO_MSP3400=y
+# CONFIG_VIDEO_CS5345 is not set
+CONFIG_VIDEO_CS53L32A=y
+# CONFIG_VIDEO_M52790 is not set
+# CONFIG_VIDEO_TLV320AIC23B is not set
+CONFIG_VIDEO_WM8775=y
+# CONFIG_VIDEO_WM8739 is not set
+# CONFIG_VIDEO_VP27SMPX is not set
+
+#
+# Video decoders
+#
+# CONFIG_VIDEO_OV7670 is not set
+# CONFIG_VIDEO_TCM825X is not set
+CONFIG_VIDEO_SAA711X=y
+# CONFIG_VIDEO_SAA717X is not set
+# CONFIG_VIDEO_TVP5150 is not set
+
+#
+# Video and audio decoders
+#
+CONFIG_VIDEO_CX25840=y
+
+#
+# MPEG video encoders
+#
+CONFIG_VIDEO_CX2341X=y
+
+#
+# Video encoders
+#
+# CONFIG_VIDEO_SAA7127 is not set
+
+#
+# Video improvement chips
+#
+# CONFIG_VIDEO_UPD64031A is not set
+# CONFIG_VIDEO_UPD64083 is not set
+# CONFIG_VIDEO_VIVI is not set
+# CONFIG_VIDEO_SAA5246A is not set
+# CONFIG_VIDEO_SAA5249 is not set
+# CONFIG_SOC_CAMERA is not set
+CONFIG_V4L_USB_DRIVERS=y
+CONFIG_USB_VIDEO_CLASS=y
+CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
+CONFIG_USB_GSPCA=y
+CONFIG_USB_M5602=y
+CONFIG_USB_GSPCA_CONEX=y
+CONFIG_USB_GSPCA_ETOMS=y
+CONFIG_USB_GSPCA_FINEPIX=y
+CONFIG_USB_GSPCA_MARS=y
+CONFIG_USB_GSPCA_OV519=y
+CONFIG_USB_GSPCA_PAC207=y
+CONFIG_USB_GSPCA_PAC7311=y
+CONFIG_USB_GSPCA_SONIXB=y
+CONFIG_USB_GSPCA_SONIXJ=y
+CONFIG_USB_GSPCA_SPCA500=y
+CONFIG_USB_GSPCA_SPCA501=y
+CONFIG_USB_GSPCA_SPCA505=y
+CONFIG_USB_GSPCA_SPCA506=y
+CONFIG_USB_GSPCA_SPCA508=y
+CONFIG_USB_GSPCA_SPCA561=y
+CONFIG_USB_GSPCA_STK014=y
+CONFIG_USB_GSPCA_SUNPLUS=y
+CONFIG_USB_GSPCA_T613=y
+CONFIG_USB_GSPCA_TV8532=y
+CONFIG_USB_GSPCA_VC032X=y
+CONFIG_USB_GSPCA_ZC3XX=y
+CONFIG_VIDEO_PVRUSB2=y
+CONFIG_VIDEO_PVRUSB2_SYSFS=y
+# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
+CONFIG_VIDEO_EM28XX=y
+# CONFIG_VIDEO_EM28XX_ALSA is not set
+CONFIG_VIDEO_USBVISION=y
+CONFIG_USB_ET61X251=y
+CONFIG_USB_SN9C102=y
+CONFIG_USB_ZC0301=y
+CONFIG_USB_ZR364XX=y
+CONFIG_USB_STKWEBCAM=y
+CONFIG_USB_S2255=y
+CONFIG_VIDEO_SAMSUNG=y
+
+#
+# FIMC configurations
+#
+CONFIG_VIDEO_FIMC=y
+CONFIG_VIDEO_FIMC_DEBUG=y
+# CONFIG_S5K4BA is not set
+# CONFIG_S5K3BA is not set
+CONFIG_OV965X=y
+CONFIG_OV965X_VGA=y
+# CONFIG_OV965X_QVGA is not set
+# CONFIG_OV965X_SVGA is not set
+# CONFIG_OV965X_SXGA is not set
+CONFIG_VIDEO_FIMC_CAM_CH=0
+CONFIG_VIDEO_FIMC_CAM_RESET=1
+CONFIG_VIDEO_POST=y
+CONFIG_VIDEO_MFC10=y
+CONFIG_VIDEO_MFC_DEBUG=y
+CONFIG_VIDEO_JPEG=y
+CONFIG_VIDEO_TV=y
+CONFIG_VIDEO_ROTATOR=y
+CONFIG_VIDEO_G2D=y
+CONFIG_VIDEO_G3D=y
+CONFIG_VIDEO_CMM=y
+
+#
+# Reserved memory configurations
+#
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC=15360
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC=6144
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM=8192
+# CONFIG_RADIO_ADAPTERS is not set
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+# CONFIG_FB_S3C_TFT480272 is not set
+# CONFIG_FB_S3C_TFT800480 is not set
+CONFIG_FB_S3C_T240320=y
+# CONFIG_FB_S3C_TFT640480 is not set
+# CONFIG_FB_S3C_VGA1024768 is not set
+# CONFIG_FB_S3C_VGA800600 is not set
+# CONFIG_FB_S3C_VGA640480 is not set
+# CONFIG_FB_S3C_EZVGA800600 is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=4
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+CONFIG_FB_S3C_DOUBLE_BUFFERING=y
+# CONFIG_FB_S1D13XXX is not set
+CONFIG_BACKLIGHT_FRIENDLY_ARM=y
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_LOGO_LINUX_CLUT224=y
+# CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224 is not set
+CONFIG_SOUND=y
+CONFIG_SOUND_OSS_CORE=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+CONFIG_SND_OSSEMUL=y
+CONFIG_SND_MIXER_OSS=y
+CONFIG_SND_PCM_OSS=y
+CONFIG_SND_PCM_OSS_PLUGINS=y
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_VMASTER=y
+CONFIG_SND_AC97_CODEC=y
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+# CONFIG_SND_AC97_POWER_SAVE is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_AC97_BUS=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713=y
+# CONFIG_SOUND_WM9713_INPUT_STREAM_LINE is not set
+CONFIG_SOUND_WM9713_INPUT_STREAM_MIC=y
+CONFIG_SND_S3C6410_SOC_AC97=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_S5M8751 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM9713=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_AC97_BUS=y
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+CONFIG_USB_DEBUG=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_S3C_OTG_HOST is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+CONFIG_USB_SERIAL=y
+# CONFIG_USB_SERIAL_CONSOLE is not set
+# CONFIG_USB_EZUSB is not set
+# CONFIG_USB_SERIAL_GENERIC is not set
+# CONFIG_USB_SERIAL_AIRCABLE is not set
+# CONFIG_USB_SERIAL_ARK3116 is not set
+# CONFIG_USB_SERIAL_BELKIN is not set
+# CONFIG_USB_SERIAL_CH341 is not set
+# CONFIG_USB_SERIAL_WHITEHEAT is not set
+# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
+# CONFIG_USB_SERIAL_CP2101 is not set
+# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
+# CONFIG_USB_SERIAL_EMPEG is not set
+# CONFIG_USB_SERIAL_FTDI_SIO is not set
+# CONFIG_USB_SERIAL_FUNSOFT is not set
+# CONFIG_USB_SERIAL_VISOR is not set
+# CONFIG_USB_SERIAL_IPAQ is not set
+# CONFIG_USB_SERIAL_IR is not set
+# CONFIG_USB_SERIAL_EDGEPORT is not set
+# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
+# CONFIG_USB_SERIAL_GARMIN is not set
+# CONFIG_USB_SERIAL_IPW is not set
+# CONFIG_USB_SERIAL_IUU is not set
+# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
+# CONFIG_USB_SERIAL_KEYSPAN is not set
+# CONFIG_USB_SERIAL_KLSI is not set
+# CONFIG_USB_SERIAL_KOBIL_SCT is not set
+# CONFIG_USB_SERIAL_MCT_U232 is not set
+# CONFIG_USB_SERIAL_MOS7720 is not set
+# CONFIG_USB_SERIAL_MOS7840 is not set
+# CONFIG_USB_SERIAL_MOTOROLA is not set
+# CONFIG_USB_SERIAL_NAVMAN is not set
+CONFIG_USB_SERIAL_PL2303=y
+# CONFIG_USB_SERIAL_OTI6858 is not set
+# CONFIG_USB_SERIAL_SPCP8X5 is not set
+# CONFIG_USB_SERIAL_HP4X is not set
+# CONFIG_USB_SERIAL_SAFE is not set
+# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
+# CONFIG_USB_SERIAL_TI is not set
+# CONFIG_USB_SERIAL_CYBERJACK is not set
+# CONFIG_USB_SERIAL_XIRCOM is not set
+# CONFIG_USB_SERIAL_OPTION is not set
+# CONFIG_USB_SERIAL_OMNINET is not set
+# CONFIG_USB_SERIAL_DEBUG is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+# CONFIG_EXT2_FS is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+# CONFIG_EXT3_FS_POSIX_ACL is not set
+# CONFIG_EXT3_FS_SECURITY is not set
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=936
+CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_YAFFS_FS=y
+CONFIG_YAFFS_YAFFS1=y
+# CONFIG_YAFFS_9BYTE_TAGS is not set
+# CONFIG_YAFFS_DOES_ECC is not set
+CONFIG_YAFFS_YAFFS2=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+# CONFIG_JFFS2_FS is not set
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+# CONFIG_UBIFS_FS_DEBUG is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+# CONFIG_NFS_V3_ACL is not set
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+CONFIG_NLS_CODEPAGE_936=y
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+CONFIG_NLS_UTF8=y
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+CONFIG_CRYPTO_ALGAPI=y
+CONFIG_CRYPTO_ALGAPI2=y
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+CONFIG_CRC16=y
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/config_mini6410_vga1024x768 linux-2.6.28.6/config_mini6410_vga1024x768
--- linux-2.6.28/config_mini6410_vga1024x768	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/config_mini6410_vga1024x768	2010-07-20 11:59:04.000000000 +0200
@@ -0,0 +1,1741 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Jul 20 17:58:28 2010
+#
+CONFIG_ARM=y
+# CONFIG_HAVE_PWM is not set
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION="-FriendlyARM"
+CONFIG_LOCALVERSION_AUTO=y
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_IPC_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE="scripts/FriendlyARM.cpio"
+CONFIG_INITRAMFS_ROOT_UID=0
+CONFIG_INITRAMFS_ROOT_GID=0
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+# CONFIG_LBD is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_LSF is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_S3C64XX_DEV_FIMC0=y
+CONFIG_S3C64XX_DEV_FIMC1=y
+CONFIG_S3C64XX_SETUP_FIMC0=y
+CONFIG_S3C64XX_SETUP_FIMC1=y
+# CONFIG_S3C6410_PWM is not set
+CONFIG_NONE_PWM=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+# CONFIG_SPLIT_ROOT_FILESYSTEM is not set
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_HSMMC2=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+
+#
+# SMDK6410 MMC/SD slot setup
+#
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+# CONFIG_SMDK6410_SD_CH2 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+# CONFIG_ARM_THUMB is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE=""
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+CONFIG_FPE_NWFPE=y
+# CONFIG_FPE_NWFPE_XP is not set
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_VFP is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_RARP=y
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+# CONFIG_INET_DIAG is not set
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MTD_UBI_BEB_RESERVE=1
+# CONFIG_MTD_UBI_GLUEBI is not set
+
+#
+# UBI debugging options
+#
+# CONFIG_MTD_UBI_DEBUG is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+CONFIG_DM9000=y
+CONFIG_DM9000_DEBUGLEVEL=4
+# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
+# CONFIG_SMC911X is not set
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+# CONFIG_INPUT_KEYBOARD is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+# CONFIG_TOUCHSCREEN_S3C is not set
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_WM97XX is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_LEDS_MINI6410=y
+CONFIG_MINI6410_HELLO_MODULE=m
+CONFIG_MINI6410_BUTTONS=y
+CONFIG_MINI6410_BUZZER=y
+# CONFIG_MINI6410_ADC is not set
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+# CONFIG_S3C_MEM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_UCB1400_CORE is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+# CONFIG_VIDEO_ALLOW_V4L1 is not set
+CONFIG_VIDEO_V4L1_COMPAT=y
+# CONFIG_DVB_CORE is not set
+CONFIG_VIDEO_MEDIA=y
+
+#
+# Multimedia drivers
+#
+# CONFIG_MEDIA_ATTACH is not set
+CONFIG_MEDIA_TUNER=y
+# CONFIG_MEDIA_TUNER_CUSTOMIZE is not set
+CONFIG_MEDIA_TUNER_SIMPLE=y
+CONFIG_MEDIA_TUNER_TDA8290=y
+CONFIG_MEDIA_TUNER_TDA9887=y
+CONFIG_MEDIA_TUNER_TEA5761=y
+CONFIG_MEDIA_TUNER_TEA5767=y
+CONFIG_MEDIA_TUNER_MT20XX=y
+CONFIG_MEDIA_TUNER_XC2028=y
+CONFIG_MEDIA_TUNER_XC5000=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEOBUF_GEN=y
+CONFIG_VIDEOBUF_VMALLOC=y
+CONFIG_VIDEO_IR=y
+CONFIG_VIDEO_TVEEPROM=y
+CONFIG_VIDEO_TUNER=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+# CONFIG_VIDEO_ADV_DEBUG is not set
+CONFIG_VIDEO_FIXED_MINOR_RANGES=y
+# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
+CONFIG_VIDEO_IR_I2C=y
+
+#
+# Encoders/decoders and other helper chips
+#
+
+#
+# Audio decoders
+#
+# CONFIG_VIDEO_TVAUDIO is not set
+# CONFIG_VIDEO_TDA7432 is not set
+# CONFIG_VIDEO_TDA9840 is not set
+# CONFIG_VIDEO_TDA9875 is not set
+# CONFIG_VIDEO_TEA6415C is not set
+# CONFIG_VIDEO_TEA6420 is not set
+CONFIG_VIDEO_MSP3400=y
+# CONFIG_VIDEO_CS5345 is not set
+CONFIG_VIDEO_CS53L32A=y
+# CONFIG_VIDEO_M52790 is not set
+# CONFIG_VIDEO_TLV320AIC23B is not set
+CONFIG_VIDEO_WM8775=y
+# CONFIG_VIDEO_WM8739 is not set
+# CONFIG_VIDEO_VP27SMPX is not set
+
+#
+# Video decoders
+#
+# CONFIG_VIDEO_OV7670 is not set
+# CONFIG_VIDEO_TCM825X is not set
+CONFIG_VIDEO_SAA711X=y
+# CONFIG_VIDEO_SAA717X is not set
+# CONFIG_VIDEO_TVP5150 is not set
+
+#
+# Video and audio decoders
+#
+CONFIG_VIDEO_CX25840=y
+
+#
+# MPEG video encoders
+#
+CONFIG_VIDEO_CX2341X=y
+
+#
+# Video encoders
+#
+# CONFIG_VIDEO_SAA7127 is not set
+
+#
+# Video improvement chips
+#
+# CONFIG_VIDEO_UPD64031A is not set
+# CONFIG_VIDEO_UPD64083 is not set
+# CONFIG_VIDEO_VIVI is not set
+# CONFIG_VIDEO_SAA5246A is not set
+# CONFIG_VIDEO_SAA5249 is not set
+# CONFIG_SOC_CAMERA is not set
+CONFIG_V4L_USB_DRIVERS=y
+CONFIG_USB_VIDEO_CLASS=y
+CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
+CONFIG_USB_GSPCA=y
+CONFIG_USB_M5602=y
+CONFIG_USB_GSPCA_CONEX=y
+CONFIG_USB_GSPCA_ETOMS=y
+CONFIG_USB_GSPCA_FINEPIX=y
+CONFIG_USB_GSPCA_MARS=y
+CONFIG_USB_GSPCA_OV519=y
+CONFIG_USB_GSPCA_PAC207=y
+CONFIG_USB_GSPCA_PAC7311=y
+CONFIG_USB_GSPCA_SONIXB=y
+CONFIG_USB_GSPCA_SONIXJ=y
+CONFIG_USB_GSPCA_SPCA500=y
+CONFIG_USB_GSPCA_SPCA501=y
+CONFIG_USB_GSPCA_SPCA505=y
+CONFIG_USB_GSPCA_SPCA506=y
+CONFIG_USB_GSPCA_SPCA508=y
+CONFIG_USB_GSPCA_SPCA561=y
+CONFIG_USB_GSPCA_STK014=y
+CONFIG_USB_GSPCA_SUNPLUS=y
+CONFIG_USB_GSPCA_T613=y
+CONFIG_USB_GSPCA_TV8532=y
+CONFIG_USB_GSPCA_VC032X=y
+CONFIG_USB_GSPCA_ZC3XX=y
+CONFIG_VIDEO_PVRUSB2=y
+CONFIG_VIDEO_PVRUSB2_SYSFS=y
+# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
+CONFIG_VIDEO_EM28XX=y
+# CONFIG_VIDEO_EM28XX_ALSA is not set
+CONFIG_VIDEO_USBVISION=y
+CONFIG_USB_ET61X251=y
+CONFIG_USB_SN9C102=y
+CONFIG_USB_ZC0301=y
+CONFIG_USB_ZR364XX=y
+CONFIG_USB_STKWEBCAM=y
+CONFIG_USB_S2255=y
+CONFIG_VIDEO_SAMSUNG=y
+
+#
+# FIMC configurations
+#
+CONFIG_VIDEO_FIMC=y
+CONFIG_VIDEO_FIMC_DEBUG=y
+# CONFIG_S5K4BA is not set
+# CONFIG_S5K3BA is not set
+CONFIG_OV965X=y
+CONFIG_OV965X_VGA=y
+# CONFIG_OV965X_QVGA is not set
+# CONFIG_OV965X_SVGA is not set
+# CONFIG_OV965X_SXGA is not set
+CONFIG_VIDEO_FIMC_CAM_CH=0
+CONFIG_VIDEO_FIMC_CAM_RESET=1
+CONFIG_VIDEO_POST=y
+CONFIG_VIDEO_MFC10=y
+CONFIG_VIDEO_MFC_DEBUG=y
+CONFIG_VIDEO_JPEG=y
+CONFIG_VIDEO_TV=y
+CONFIG_VIDEO_ROTATOR=y
+CONFIG_VIDEO_G2D=y
+CONFIG_VIDEO_G3D=y
+CONFIG_VIDEO_CMM=y
+
+#
+# Reserved memory configurations
+#
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC=15360
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC=6144
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM=8192
+# CONFIG_RADIO_ADAPTERS is not set
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+# CONFIG_FB_S3C_TFT480272 is not set
+# CONFIG_FB_S3C_TFT800480 is not set
+# CONFIG_FB_S3C_T240320 is not set
+# CONFIG_FB_S3C_TFT640480 is not set
+CONFIG_FB_S3C_VGA1024768=y
+# CONFIG_FB_S3C_VGA800600 is not set
+# CONFIG_FB_S3C_VGA640480 is not set
+# CONFIG_FB_S3C_EZVGA800600 is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=4
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+CONFIG_FB_S3C_DOUBLE_BUFFERING=y
+# CONFIG_FB_S1D13XXX is not set
+CONFIG_BACKLIGHT_FRIENDLY_ARM=y
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_LOGO_LINUX_CLUT224=y
+# CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224 is not set
+CONFIG_SOUND=y
+CONFIG_SOUND_OSS_CORE=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+CONFIG_SND_OSSEMUL=y
+CONFIG_SND_MIXER_OSS=y
+CONFIG_SND_PCM_OSS=y
+CONFIG_SND_PCM_OSS_PLUGINS=y
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_VMASTER=y
+CONFIG_SND_AC97_CODEC=y
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+# CONFIG_SND_AC97_POWER_SAVE is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_AC97_BUS=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713=y
+# CONFIG_SOUND_WM9713_INPUT_STREAM_LINE is not set
+CONFIG_SOUND_WM9713_INPUT_STREAM_MIC=y
+CONFIG_SND_S3C6410_SOC_AC97=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_S5M8751 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM9713=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_AC97_BUS=y
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+CONFIG_USB_DEBUG=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_S3C_OTG_HOST is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+CONFIG_USB_SERIAL=y
+# CONFIG_USB_SERIAL_CONSOLE is not set
+# CONFIG_USB_EZUSB is not set
+# CONFIG_USB_SERIAL_GENERIC is not set
+# CONFIG_USB_SERIAL_AIRCABLE is not set
+# CONFIG_USB_SERIAL_ARK3116 is not set
+# CONFIG_USB_SERIAL_BELKIN is not set
+# CONFIG_USB_SERIAL_CH341 is not set
+# CONFIG_USB_SERIAL_WHITEHEAT is not set
+# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
+# CONFIG_USB_SERIAL_CP2101 is not set
+# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
+# CONFIG_USB_SERIAL_EMPEG is not set
+# CONFIG_USB_SERIAL_FTDI_SIO is not set
+# CONFIG_USB_SERIAL_FUNSOFT is not set
+# CONFIG_USB_SERIAL_VISOR is not set
+# CONFIG_USB_SERIAL_IPAQ is not set
+# CONFIG_USB_SERIAL_IR is not set
+# CONFIG_USB_SERIAL_EDGEPORT is not set
+# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
+# CONFIG_USB_SERIAL_GARMIN is not set
+# CONFIG_USB_SERIAL_IPW is not set
+# CONFIG_USB_SERIAL_IUU is not set
+# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
+# CONFIG_USB_SERIAL_KEYSPAN is not set
+# CONFIG_USB_SERIAL_KLSI is not set
+# CONFIG_USB_SERIAL_KOBIL_SCT is not set
+# CONFIG_USB_SERIAL_MCT_U232 is not set
+# CONFIG_USB_SERIAL_MOS7720 is not set
+# CONFIG_USB_SERIAL_MOS7840 is not set
+# CONFIG_USB_SERIAL_MOTOROLA is not set
+# CONFIG_USB_SERIAL_NAVMAN is not set
+CONFIG_USB_SERIAL_PL2303=y
+# CONFIG_USB_SERIAL_OTI6858 is not set
+# CONFIG_USB_SERIAL_SPCP8X5 is not set
+# CONFIG_USB_SERIAL_HP4X is not set
+# CONFIG_USB_SERIAL_SAFE is not set
+# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
+# CONFIG_USB_SERIAL_TI is not set
+# CONFIG_USB_SERIAL_CYBERJACK is not set
+# CONFIG_USB_SERIAL_XIRCOM is not set
+# CONFIG_USB_SERIAL_OPTION is not set
+# CONFIG_USB_SERIAL_OMNINET is not set
+# CONFIG_USB_SERIAL_DEBUG is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+# CONFIG_EXT2_FS is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+# CONFIG_EXT3_FS_POSIX_ACL is not set
+# CONFIG_EXT3_FS_SECURITY is not set
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=936
+CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_YAFFS_FS=y
+CONFIG_YAFFS_YAFFS1=y
+# CONFIG_YAFFS_9BYTE_TAGS is not set
+# CONFIG_YAFFS_DOES_ECC is not set
+CONFIG_YAFFS_YAFFS2=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+# CONFIG_JFFS2_FS is not set
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+# CONFIG_UBIFS_FS_DEBUG is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+# CONFIG_NFS_V3_ACL is not set
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+CONFIG_NLS_CODEPAGE_936=y
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+CONFIG_NLS_UTF8=y
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+CONFIG_CRYPTO_ALGAPI=y
+CONFIG_CRYPTO_ALGAPI2=y
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+CONFIG_CRC16=y
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/config_mini6410_vga640x480 linux-2.6.28.6/config_mini6410_vga640x480
--- linux-2.6.28/config_mini6410_vga640x480	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/config_mini6410_vga640x480	2010-07-20 12:02:09.000000000 +0200
@@ -0,0 +1,1741 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Jul 20 18:01:28 2010
+#
+CONFIG_ARM=y
+# CONFIG_HAVE_PWM is not set
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION="-FriendlyARM"
+CONFIG_LOCALVERSION_AUTO=y
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_IPC_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE="scripts/FriendlyARM.cpio"
+CONFIG_INITRAMFS_ROOT_UID=0
+CONFIG_INITRAMFS_ROOT_GID=0
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+# CONFIG_LBD is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_LSF is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_S3C64XX_DEV_FIMC0=y
+CONFIG_S3C64XX_DEV_FIMC1=y
+CONFIG_S3C64XX_SETUP_FIMC0=y
+CONFIG_S3C64XX_SETUP_FIMC1=y
+# CONFIG_S3C6410_PWM is not set
+CONFIG_NONE_PWM=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+# CONFIG_SPLIT_ROOT_FILESYSTEM is not set
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_HSMMC2=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+
+#
+# SMDK6410 MMC/SD slot setup
+#
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+# CONFIG_SMDK6410_SD_CH2 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+# CONFIG_ARM_THUMB is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE=""
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+CONFIG_FPE_NWFPE=y
+# CONFIG_FPE_NWFPE_XP is not set
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_VFP is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_RARP=y
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+# CONFIG_INET_DIAG is not set
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MTD_UBI_BEB_RESERVE=1
+# CONFIG_MTD_UBI_GLUEBI is not set
+
+#
+# UBI debugging options
+#
+# CONFIG_MTD_UBI_DEBUG is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+CONFIG_DM9000=y
+CONFIG_DM9000_DEBUGLEVEL=4
+# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
+# CONFIG_SMC911X is not set
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=640
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=480
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+# CONFIG_INPUT_KEYBOARD is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+# CONFIG_TOUCHSCREEN_S3C is not set
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_WM97XX is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_LEDS_MINI6410=y
+CONFIG_MINI6410_HELLO_MODULE=m
+CONFIG_MINI6410_BUTTONS=y
+CONFIG_MINI6410_BUZZER=y
+# CONFIG_MINI6410_ADC is not set
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+# CONFIG_S3C_MEM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_UCB1400_CORE is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+# CONFIG_VIDEO_ALLOW_V4L1 is not set
+CONFIG_VIDEO_V4L1_COMPAT=y
+# CONFIG_DVB_CORE is not set
+CONFIG_VIDEO_MEDIA=y
+
+#
+# Multimedia drivers
+#
+# CONFIG_MEDIA_ATTACH is not set
+CONFIG_MEDIA_TUNER=y
+# CONFIG_MEDIA_TUNER_CUSTOMIZE is not set
+CONFIG_MEDIA_TUNER_SIMPLE=y
+CONFIG_MEDIA_TUNER_TDA8290=y
+CONFIG_MEDIA_TUNER_TDA9887=y
+CONFIG_MEDIA_TUNER_TEA5761=y
+CONFIG_MEDIA_TUNER_TEA5767=y
+CONFIG_MEDIA_TUNER_MT20XX=y
+CONFIG_MEDIA_TUNER_XC2028=y
+CONFIG_MEDIA_TUNER_XC5000=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEOBUF_GEN=y
+CONFIG_VIDEOBUF_VMALLOC=y
+CONFIG_VIDEO_IR=y
+CONFIG_VIDEO_TVEEPROM=y
+CONFIG_VIDEO_TUNER=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+# CONFIG_VIDEO_ADV_DEBUG is not set
+CONFIG_VIDEO_FIXED_MINOR_RANGES=y
+# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
+CONFIG_VIDEO_IR_I2C=y
+
+#
+# Encoders/decoders and other helper chips
+#
+
+#
+# Audio decoders
+#
+# CONFIG_VIDEO_TVAUDIO is not set
+# CONFIG_VIDEO_TDA7432 is not set
+# CONFIG_VIDEO_TDA9840 is not set
+# CONFIG_VIDEO_TDA9875 is not set
+# CONFIG_VIDEO_TEA6415C is not set
+# CONFIG_VIDEO_TEA6420 is not set
+CONFIG_VIDEO_MSP3400=y
+# CONFIG_VIDEO_CS5345 is not set
+CONFIG_VIDEO_CS53L32A=y
+# CONFIG_VIDEO_M52790 is not set
+# CONFIG_VIDEO_TLV320AIC23B is not set
+CONFIG_VIDEO_WM8775=y
+# CONFIG_VIDEO_WM8739 is not set
+# CONFIG_VIDEO_VP27SMPX is not set
+
+#
+# Video decoders
+#
+# CONFIG_VIDEO_OV7670 is not set
+# CONFIG_VIDEO_TCM825X is not set
+CONFIG_VIDEO_SAA711X=y
+# CONFIG_VIDEO_SAA717X is not set
+# CONFIG_VIDEO_TVP5150 is not set
+
+#
+# Video and audio decoders
+#
+CONFIG_VIDEO_CX25840=y
+
+#
+# MPEG video encoders
+#
+CONFIG_VIDEO_CX2341X=y
+
+#
+# Video encoders
+#
+# CONFIG_VIDEO_SAA7127 is not set
+
+#
+# Video improvement chips
+#
+# CONFIG_VIDEO_UPD64031A is not set
+# CONFIG_VIDEO_UPD64083 is not set
+# CONFIG_VIDEO_VIVI is not set
+# CONFIG_VIDEO_SAA5246A is not set
+# CONFIG_VIDEO_SAA5249 is not set
+# CONFIG_SOC_CAMERA is not set
+CONFIG_V4L_USB_DRIVERS=y
+CONFIG_USB_VIDEO_CLASS=y
+CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
+CONFIG_USB_GSPCA=y
+CONFIG_USB_M5602=y
+CONFIG_USB_GSPCA_CONEX=y
+CONFIG_USB_GSPCA_ETOMS=y
+CONFIG_USB_GSPCA_FINEPIX=y
+CONFIG_USB_GSPCA_MARS=y
+CONFIG_USB_GSPCA_OV519=y
+CONFIG_USB_GSPCA_PAC207=y
+CONFIG_USB_GSPCA_PAC7311=y
+CONFIG_USB_GSPCA_SONIXB=y
+CONFIG_USB_GSPCA_SONIXJ=y
+CONFIG_USB_GSPCA_SPCA500=y
+CONFIG_USB_GSPCA_SPCA501=y
+CONFIG_USB_GSPCA_SPCA505=y
+CONFIG_USB_GSPCA_SPCA506=y
+CONFIG_USB_GSPCA_SPCA508=y
+CONFIG_USB_GSPCA_SPCA561=y
+CONFIG_USB_GSPCA_STK014=y
+CONFIG_USB_GSPCA_SUNPLUS=y
+CONFIG_USB_GSPCA_T613=y
+CONFIG_USB_GSPCA_TV8532=y
+CONFIG_USB_GSPCA_VC032X=y
+CONFIG_USB_GSPCA_ZC3XX=y
+CONFIG_VIDEO_PVRUSB2=y
+CONFIG_VIDEO_PVRUSB2_SYSFS=y
+# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
+CONFIG_VIDEO_EM28XX=y
+# CONFIG_VIDEO_EM28XX_ALSA is not set
+CONFIG_VIDEO_USBVISION=y
+CONFIG_USB_ET61X251=y
+CONFIG_USB_SN9C102=y
+CONFIG_USB_ZC0301=y
+CONFIG_USB_ZR364XX=y
+CONFIG_USB_STKWEBCAM=y
+CONFIG_USB_S2255=y
+CONFIG_VIDEO_SAMSUNG=y
+
+#
+# FIMC configurations
+#
+CONFIG_VIDEO_FIMC=y
+CONFIG_VIDEO_FIMC_DEBUG=y
+# CONFIG_S5K4BA is not set
+# CONFIG_S5K3BA is not set
+CONFIG_OV965X=y
+CONFIG_OV965X_VGA=y
+# CONFIG_OV965X_QVGA is not set
+# CONFIG_OV965X_SVGA is not set
+# CONFIG_OV965X_SXGA is not set
+CONFIG_VIDEO_FIMC_CAM_CH=0
+CONFIG_VIDEO_FIMC_CAM_RESET=1
+CONFIG_VIDEO_POST=y
+CONFIG_VIDEO_MFC10=y
+CONFIG_VIDEO_MFC_DEBUG=y
+CONFIG_VIDEO_JPEG=y
+CONFIG_VIDEO_TV=y
+CONFIG_VIDEO_ROTATOR=y
+CONFIG_VIDEO_G2D=y
+CONFIG_VIDEO_G3D=y
+CONFIG_VIDEO_CMM=y
+
+#
+# Reserved memory configurations
+#
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC=15360
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC=6144
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM=8192
+# CONFIG_RADIO_ADAPTERS is not set
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+# CONFIG_FB_S3C_TFT480272 is not set
+# CONFIG_FB_S3C_TFT800480 is not set
+# CONFIG_FB_S3C_T240320 is not set
+# CONFIG_FB_S3C_TFT640480 is not set
+# CONFIG_FB_S3C_VGA1024768 is not set
+# CONFIG_FB_S3C_VGA800600 is not set
+CONFIG_FB_S3C_VGA640480=y
+# CONFIG_FB_S3C_EZVGA800600 is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=4
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+CONFIG_FB_S3C_DOUBLE_BUFFERING=y
+# CONFIG_FB_S1D13XXX is not set
+CONFIG_BACKLIGHT_FRIENDLY_ARM=y
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_LOGO_LINUX_CLUT224=y
+# CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224 is not set
+CONFIG_SOUND=y
+CONFIG_SOUND_OSS_CORE=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+CONFIG_SND_OSSEMUL=y
+CONFIG_SND_MIXER_OSS=y
+CONFIG_SND_PCM_OSS=y
+CONFIG_SND_PCM_OSS_PLUGINS=y
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_VMASTER=y
+CONFIG_SND_AC97_CODEC=y
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+# CONFIG_SND_AC97_POWER_SAVE is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_AC97_BUS=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713=y
+# CONFIG_SOUND_WM9713_INPUT_STREAM_LINE is not set
+CONFIG_SOUND_WM9713_INPUT_STREAM_MIC=y
+CONFIG_SND_S3C6410_SOC_AC97=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_S5M8751 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM9713=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_AC97_BUS=y
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+CONFIG_USB_DEBUG=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_S3C_OTG_HOST is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+CONFIG_USB_SERIAL=y
+# CONFIG_USB_SERIAL_CONSOLE is not set
+# CONFIG_USB_EZUSB is not set
+# CONFIG_USB_SERIAL_GENERIC is not set
+# CONFIG_USB_SERIAL_AIRCABLE is not set
+# CONFIG_USB_SERIAL_ARK3116 is not set
+# CONFIG_USB_SERIAL_BELKIN is not set
+# CONFIG_USB_SERIAL_CH341 is not set
+# CONFIG_USB_SERIAL_WHITEHEAT is not set
+# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
+# CONFIG_USB_SERIAL_CP2101 is not set
+# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
+# CONFIG_USB_SERIAL_EMPEG is not set
+# CONFIG_USB_SERIAL_FTDI_SIO is not set
+# CONFIG_USB_SERIAL_FUNSOFT is not set
+# CONFIG_USB_SERIAL_VISOR is not set
+# CONFIG_USB_SERIAL_IPAQ is not set
+# CONFIG_USB_SERIAL_IR is not set
+# CONFIG_USB_SERIAL_EDGEPORT is not set
+# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
+# CONFIG_USB_SERIAL_GARMIN is not set
+# CONFIG_USB_SERIAL_IPW is not set
+# CONFIG_USB_SERIAL_IUU is not set
+# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
+# CONFIG_USB_SERIAL_KEYSPAN is not set
+# CONFIG_USB_SERIAL_KLSI is not set
+# CONFIG_USB_SERIAL_KOBIL_SCT is not set
+# CONFIG_USB_SERIAL_MCT_U232 is not set
+# CONFIG_USB_SERIAL_MOS7720 is not set
+# CONFIG_USB_SERIAL_MOS7840 is not set
+# CONFIG_USB_SERIAL_MOTOROLA is not set
+# CONFIG_USB_SERIAL_NAVMAN is not set
+CONFIG_USB_SERIAL_PL2303=y
+# CONFIG_USB_SERIAL_OTI6858 is not set
+# CONFIG_USB_SERIAL_SPCP8X5 is not set
+# CONFIG_USB_SERIAL_HP4X is not set
+# CONFIG_USB_SERIAL_SAFE is not set
+# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
+# CONFIG_USB_SERIAL_TI is not set
+# CONFIG_USB_SERIAL_CYBERJACK is not set
+# CONFIG_USB_SERIAL_XIRCOM is not set
+# CONFIG_USB_SERIAL_OPTION is not set
+# CONFIG_USB_SERIAL_OMNINET is not set
+# CONFIG_USB_SERIAL_DEBUG is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+# CONFIG_EXT2_FS is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+# CONFIG_EXT3_FS_POSIX_ACL is not set
+# CONFIG_EXT3_FS_SECURITY is not set
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=936
+CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_YAFFS_FS=y
+CONFIG_YAFFS_YAFFS1=y
+# CONFIG_YAFFS_9BYTE_TAGS is not set
+# CONFIG_YAFFS_DOES_ECC is not set
+CONFIG_YAFFS_YAFFS2=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+# CONFIG_JFFS2_FS is not set
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+# CONFIG_UBIFS_FS_DEBUG is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+# CONFIG_NFS_V3_ACL is not set
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+CONFIG_NLS_CODEPAGE_936=y
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+CONFIG_NLS_UTF8=y
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+CONFIG_CRYPTO_ALGAPI=y
+CONFIG_CRYPTO_ALGAPI2=y
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+CONFIG_CRC16=y
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/config_mini6410_vga800x600 linux-2.6.28.6/config_mini6410_vga800x600
--- linux-2.6.28/config_mini6410_vga800x600	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/config_mini6410_vga800x600	2010-07-20 12:00:29.000000000 +0200
@@ -0,0 +1,1741 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.28.6
+# Tue Jul 20 18:00:05 2010
+#
+CONFIG_ARM=y
+# CONFIG_HAVE_PWM is not set
+CONFIG_SYS_SUPPORTS_APM_EMULATION=y
+CONFIG_GENERIC_GPIO=y
+# CONFIG_GENERIC_TIME is not set
+# CONFIG_GENERIC_CLOCKEVENTS is not set
+CONFIG_MMU=y
+CONFIG_NO_IOPORT=y
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_STACKTRACE_SUPPORT=y
+CONFIG_HAVE_LATENCYTOP_SUPPORT=y
+CONFIG_LOCKDEP_SUPPORT=y
+CONFIG_TRACE_IRQFLAGS_SUPPORT=y
+CONFIG_HARDIRQS_SW_RESEND=y
+CONFIG_GENERIC_IRQ_PROBE=y
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+# CONFIG_ARCH_HAS_ILOG2_U32 is not set
+# CONFIG_ARCH_HAS_ILOG2_U64 is not set
+CONFIG_GENERIC_HWEIGHT=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_ZONE_DMA=y
+CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
+CONFIG_VECTORS_BASE=0xffff0000
+CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+
+#
+# General setup
+#
+CONFIG_EXPERIMENTAL=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+CONFIG_LOCALVERSION="-FriendlyARM"
+CONFIG_LOCALVERSION_AUTO=y
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_SYSVIPC_SYSCTL=y
+# CONFIG_POSIX_MQUEUE is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_TASKSTATS is not set
+# CONFIG_AUDIT is not set
+# CONFIG_IKCONFIG is not set
+CONFIG_LOG_BUF_SHIFT=17
+# CONFIG_CGROUPS is not set
+# CONFIG_GROUP_SCHED is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
+# CONFIG_RELAY is not set
+CONFIG_NAMESPACES=y
+# CONFIG_UTS_NS is not set
+# CONFIG_IPC_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE="scripts/FriendlyARM.cpio"
+CONFIG_INITRAMFS_ROOT_UID=0
+CONFIG_INITRAMFS_ROOT_GID=0
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+CONFIG_SYSCTL=y
+# CONFIG_EMBEDDED is not set
+CONFIG_UID16=y
+CONFIG_SYSCTL_SYSCALL=y
+CONFIG_KALLSYMS=y
+CONFIG_KALLSYMS_ALL=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_HOTPLUG=y
+CONFIG_PRINTK=y
+CONFIG_BUG=y
+CONFIG_ELF_CORE=y
+CONFIG_COMPAT_BRK=y
+CONFIG_BASE_FULL=y
+CONFIG_FUTEX=y
+CONFIG_ANON_INODES=y
+CONFIG_EPOLL=y
+CONFIG_SIGNALFD=y
+CONFIG_TIMERFD=y
+CONFIG_EVENTFD=y
+CONFIG_SHMEM=y
+CONFIG_AIO=y
+CONFIG_VM_EVENT_COUNTERS=y
+CONFIG_SLUB_DEBUG=y
+# CONFIG_SLAB is not set
+CONFIG_SLUB=y
+# CONFIG_SLOB is not set
+# CONFIG_PROFILING is not set
+# CONFIG_MARKERS is not set
+CONFIG_HAVE_OPROFILE=y
+# CONFIG_KPROBES is not set
+CONFIG_HAVE_KPROBES=y
+CONFIG_HAVE_KRETPROBES=y
+CONFIG_HAVE_CLK=y
+CONFIG_HAVE_GENERIC_DMA_COHERENT=y
+CONFIG_SLABINFO=y
+CONFIG_RT_MUTEXES=y
+# CONFIG_TINY_SHMEM is not set
+CONFIG_BASE_SMALL=0
+CONFIG_MODULES=y
+# CONFIG_MODULE_FORCE_LOAD is not set
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_MODULE_FORCE_UNLOAD is not set
+# CONFIG_MODVERSIONS is not set
+# CONFIG_MODULE_SRCVERSION_ALL is not set
+CONFIG_KMOD=y
+CONFIG_BLOCK=y
+# CONFIG_LBD is not set
+# CONFIG_BLK_DEV_IO_TRACE is not set
+# CONFIG_LSF is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_BLK_DEV_INTEGRITY is not set
+
+#
+# IO Schedulers
+#
+CONFIG_IOSCHED_NOOP=y
+# CONFIG_IOSCHED_AS is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_DEFAULT_AS is not set
+# CONFIG_DEFAULT_DEADLINE is not set
+# CONFIG_DEFAULT_CFQ is not set
+CONFIG_DEFAULT_NOOP=y
+CONFIG_DEFAULT_IOSCHED="noop"
+CONFIG_CLASSIC_RCU=y
+# CONFIG_FREEZER is not set
+
+#
+# System Type
+#
+# CONFIG_ARCH_AAEC2000 is not set
+# CONFIG_ARCH_INTEGRATOR is not set
+# CONFIG_ARCH_REALVIEW is not set
+# CONFIG_ARCH_VERSATILE is not set
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_CLPS7500 is not set
+# CONFIG_ARCH_CLPS711X is not set
+# CONFIG_ARCH_EBSA110 is not set
+# CONFIG_ARCH_EP93XX is not set
+# CONFIG_ARCH_FOOTBRIDGE is not set
+# CONFIG_ARCH_NETX is not set
+# CONFIG_ARCH_H720X is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_IOP13XX is not set
+# CONFIG_ARCH_IOP32X is not set
+# CONFIG_ARCH_IOP33X is not set
+# CONFIG_ARCH_IXP23XX is not set
+# CONFIG_ARCH_IXP2000 is not set
+# CONFIG_ARCH_IXP4XX is not set
+# CONFIG_ARCH_L7200 is not set
+# CONFIG_ARCH_KIRKWOOD is not set
+# CONFIG_ARCH_KS8695 is not set
+# CONFIG_ARCH_NS9XXX is not set
+# CONFIG_ARCH_LOKI is not set
+# CONFIG_ARCH_MV78XX0 is not set
+# CONFIG_ARCH_MXC is not set
+# CONFIG_ARCH_ORION5X is not set
+# CONFIG_ARCH_PNX4008 is not set
+# CONFIG_ARCH_PXA is not set
+# CONFIG_ARCH_RPC is not set
+# CONFIG_ARCH_SA1100 is not set
+# CONFIG_ARCH_S3C2410 is not set
+CONFIG_ARCH_S3C64XX=y
+# CONFIG_ARCH_S5P64XX is not set
+# CONFIG_ARCH_S5PC1XX is not set
+# CONFIG_ARCH_SHARK is not set
+# CONFIG_ARCH_LH7A40X is not set
+# CONFIG_ARCH_DAVINCI is not set
+# CONFIG_ARCH_OMAP is not set
+# CONFIG_ARCH_MSM is not set
+CONFIG_PLAT_S3C64XX=y
+CONFIG_CPU_S3C6400_INIT=y
+CONFIG_CPU_S3C6400_CLOCK=y
+CONFIG_S3C64XX_SETUP_I2C0=y
+# CONFIG_S3C64XX_ADC is not set
+CONFIG_S3C64XX_DEV_FIMC0=y
+CONFIG_S3C64XX_DEV_FIMC1=y
+CONFIG_S3C64XX_SETUP_FIMC0=y
+CONFIG_S3C64XX_SETUP_FIMC1=y
+# CONFIG_S3C6410_PWM is not set
+CONFIG_NONE_PWM=y
+CONFIG_PLAT_S3C=y
+
+#
+# Boot options
+#
+# CONFIG_S3C_BOOT_WATCHDOG is not set
+CONFIG_S3C_BOOT_ERROR_RESET=y
+
+#
+# Power management
+#
+CONFIG_S3C_LOWLEVEL_UART_PORT=0
+# CONFIG_SPLIT_ROOT_FILESYSTEM is not set
+CONFIG_S3C_GPIO_SPACE=0
+CONFIG_S3C_GPIO_TRACK=y
+CONFIG_S3C_GPIO_PULL_UPDOWN=y
+CONFIG_S3C_GPIO_CFG_S3C24XX=y
+CONFIG_S3C_GPIO_CFG_S3C64XX=y
+CONFIG_S3C_DEV_HSMMC=y
+CONFIG_S3C_DEV_HSMMC1=y
+CONFIG_S3C_DEV_HSMMC2=y
+CONFIG_S3C_DMA_PL080=y
+CONFIG_CPU_S3C6410=y
+CONFIG_S3C6410_SETUP_SDHCI=y
+CONFIG_MACH_SMDK6410=y
+
+#
+# SMDK6410 MMC/SD slot setup
+#
+CONFIG_SMDK6410_SD_CH0=y
+# CONFIG_SMDK6410_SD_CH1 is not set
+# CONFIG_SMDK6410_SD_CH2 is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V6=y
+CONFIG_CPU_32v6K=y
+CONFIG_CPU_32v6=y
+CONFIG_CPU_ABRT_EV6=y
+CONFIG_CPU_PABRT_NOIFAR=y
+CONFIG_CPU_CACHE_V6=y
+CONFIG_CPU_CACHE_VIPT=y
+CONFIG_CPU_COPY_V6=y
+CONFIG_CPU_TLB_V6=y
+CONFIG_CPU_HAS_ASID=y
+CONFIG_CPU_CP15=y
+CONFIG_CPU_CP15_MMU=y
+
+#
+# Processor Features
+#
+# CONFIG_ARM_THUMB is not set
+# CONFIG_CPU_ICACHE_DISABLE is not set
+# CONFIG_CPU_DCACHE_DISABLE is not set
+# CONFIG_CPU_BPREDICT_DISABLE is not set
+# CONFIG_OUTER_CACHE is not set
+CONFIG_ARM_VIC=y
+CONFIG_DMABOUNCE=y
+
+#
+# Bus support
+#
+# CONFIG_PCI_SYSCALL is not set
+# CONFIG_ARCH_SUPPORTS_MSI is not set
+# CONFIG_PCCARD is not set
+
+#
+# Kernel Features
+#
+CONFIG_VMSPLIT_3G=y
+# CONFIG_VMSPLIT_2G is not set
+# CONFIG_VMSPLIT_1G is not set
+CONFIG_PAGE_OFFSET=0xC0000000
+# CONFIG_PREEMPT is not set
+CONFIG_HZ=200
+CONFIG_AEABI=y
+CONFIG_OABI_COMPAT=y
+CONFIG_ARCH_FLATMEM_HAS_HOLES=y
+# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
+# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
+CONFIG_SELECT_MEMORY_MODEL=y
+CONFIG_FLATMEM_MANUAL=y
+# CONFIG_DISCONTIGMEM_MANUAL is not set
+# CONFIG_SPARSEMEM_MANUAL is not set
+CONFIG_FLATMEM=y
+CONFIG_FLAT_NODE_MEM_MAP=y
+CONFIG_PAGEFLAGS_EXTENDED=y
+CONFIG_SPLIT_PTLOCK_CPUS=4
+# CONFIG_RESOURCES_64BIT is not set
+# CONFIG_PHYS_ADDR_T_64BIT is not set
+CONFIG_ZONE_DMA_FLAG=1
+CONFIG_BOUNCE=y
+CONFIG_VIRT_TO_BUS=y
+# CONFIG_UNEVICTABLE_LRU is not set
+CONFIG_ALIGNMENT_TRAP=y
+
+#
+# Boot options
+#
+CONFIG_ZBOOT_ROM_TEXT=0
+CONFIG_ZBOOT_ROM_BSS=0
+CONFIG_CMDLINE=""
+# CONFIG_XIP_KERNEL is not set
+# CONFIG_KEXEC is not set
+
+#
+# CPU Power Management
+#
+# CONFIG_CPU_FREQ is not set
+# CONFIG_CPU_IDLE is not set
+
+#
+# Floating point emulation
+#
+
+#
+# At least one emulation must be selected
+#
+CONFIG_FPE_NWFPE=y
+# CONFIG_FPE_NWFPE_XP is not set
+# CONFIG_FPE_FASTFPE is not set
+# CONFIG_VFP is not set
+
+#
+# Userspace binary formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_HAVE_AOUT=y
+# CONFIG_BINFMT_AOUT is not set
+# CONFIG_BINFMT_MISC is not set
+
+#
+# Power management options
+#
+# CONFIG_PM is not set
+CONFIG_ARCH_SUSPEND_POSSIBLE=y
+CONFIG_NET=y
+
+#
+# Networking options
+#
+# CONFIG_PACKET is not set
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+# CONFIG_IP_MULTICAST is not set
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_FIB_HASH=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+CONFIG_IP_PNP_RARP=y
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_ARPD is not set
+# CONFIG_SYN_COOKIES is not set
+# CONFIG_INET_AH is not set
+# CONFIG_INET_ESP is not set
+# CONFIG_INET_IPCOMP is not set
+# CONFIG_INET_XFRM_TUNNEL is not set
+# CONFIG_INET_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
+# CONFIG_INET_XFRM_MODE_TUNNEL is not set
+# CONFIG_INET_XFRM_MODE_BEET is not set
+# CONFIG_INET_LRO is not set
+# CONFIG_INET_DIAG is not set
+# CONFIG_TCP_CONG_ADVANCED is not set
+CONFIG_TCP_CONG_CUBIC=y
+CONFIG_DEFAULT_TCP_CONG="cubic"
+# CONFIG_TCP_MD5SIG is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETWORK_SECMARK is not set
+# CONFIG_NETFILTER is not set
+# CONFIG_IP_DCCP is not set
+# CONFIG_IP_SCTP is not set
+# CONFIG_TIPC is not set
+# CONFIG_ATM is not set
+# CONFIG_BRIDGE is not set
+# CONFIG_NET_DSA is not set
+# CONFIG_VLAN_8021Q is not set
+# CONFIG_DECNET is not set
+# CONFIG_LLC2 is not set
+# CONFIG_IPX is not set
+# CONFIG_ATALK is not set
+# CONFIG_X25 is not set
+# CONFIG_LAPB is not set
+# CONFIG_ECONET is not set
+# CONFIG_WAN_ROUTER is not set
+# CONFIG_NET_SCHED is not set
+
+#
+# Network testing
+#
+# CONFIG_NET_PKTGEN is not set
+# CONFIG_HAMRADIO is not set
+# CONFIG_CAN is not set
+# CONFIG_IRDA is not set
+# CONFIG_BT is not set
+# CONFIG_AF_RXRPC is not set
+# CONFIG_PHONET is not set
+# CONFIG_WIRELESS is not set
+# CONFIG_RFKILL is not set
+# CONFIG_NET_9P is not set
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_STANDALONE=y
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+CONFIG_FW_LOADER=y
+CONFIG_FIRMWARE_IN_KERNEL=y
+CONFIG_EXTRA_FIRMWARE=""
+# CONFIG_DEBUG_DRIVER is not set
+# CONFIG_DEBUG_DEVRES is not set
+# CONFIG_SYS_HYPERVISOR is not set
+# CONFIG_CONNECTOR is not set
+CONFIG_MTD=y
+# CONFIG_MTD_DEBUG is not set
+# CONFIG_MTD_CONCAT is not set
+CONFIG_MTD_PARTITIONS=y
+# CONFIG_MTD_REDBOOT_PARTS is not set
+CONFIG_MTD_CMDLINE_PARTS=y
+# CONFIG_MTD_AFS_PARTS is not set
+# CONFIG_MTD_AR7_PARTS is not set
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLKDEVS=y
+CONFIG_MTD_BLOCK=y
+# CONFIG_FTL is not set
+# CONFIG_NFTL is not set
+# CONFIG_INFTL is not set
+# CONFIG_RFD_FTL is not set
+# CONFIG_SSFDC is not set
+# CONFIG_MTD_OOPS is not set
+
+#
+# RAM/ROM/Flash chip drivers
+#
+# CONFIG_MTD_CFI is not set
+# CONFIG_MTD_JEDECPROBE is not set
+CONFIG_MTD_MAP_BANK_WIDTH_1=y
+CONFIG_MTD_MAP_BANK_WIDTH_2=y
+CONFIG_MTD_MAP_BANK_WIDTH_4=y
+# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
+# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
+CONFIG_MTD_CFI_I1=y
+CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CFI_I4 is not set
+# CONFIG_MTD_CFI_I8 is not set
+# CONFIG_MTD_RAM is not set
+# CONFIG_MTD_ROM is not set
+# CONFIG_MTD_ABSENT is not set
+
+#
+# Mapping drivers for chip access
+#
+# CONFIG_MTD_COMPLEX_MAPPINGS is not set
+# CONFIG_MTD_PLATRAM is not set
+
+#
+# Self-contained MTD device drivers
+#
+# CONFIG_MTD_SLRAM is not set
+# CONFIG_MTD_PHRAM is not set
+# CONFIG_MTD_MTDRAM is not set
+# CONFIG_MTD_BLOCK2MTD is not set
+
+#
+# Disk-On-Chip Device Drivers
+#
+# CONFIG_MTD_DOC2000 is not set
+# CONFIG_MTD_DOC2001 is not set
+# CONFIG_MTD_DOC2001PLUS is not set
+CONFIG_MTD_NAND=y
+# CONFIG_MTD_NAND_VERIFY_WRITE is not set
+# CONFIG_MTD_NAND_ECC_SMC is not set
+# CONFIG_MTD_NAND_MUSEUM_IDS is not set
+# CONFIG_MTD_NAND_GPIO is not set
+CONFIG_MTD_NAND_IDS=y
+CONFIG_MTD_NAND_S3C=y
+# CONFIG_MTD_NAND_S3C_DEBUG is not set
+CONFIG_MTD_NAND_S3C_HWECC=y
+# CONFIG_MTD_NAND_DISKONCHIP is not set
+# CONFIG_MTD_NAND_NANDSIM is not set
+# CONFIG_MTD_NAND_PLATFORM is not set
+# CONFIG_MTD_ALAUDA is not set
+# CONFIG_MTD_ONENAND is not set
+
+#
+# UBI - Unsorted block images
+#
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MTD_UBI_BEB_RESERVE=1
+# CONFIG_MTD_UBI_GLUEBI is not set
+
+#
+# UBI debugging options
+#
+# CONFIG_MTD_UBI_DEBUG is not set
+# CONFIG_PARPORT is not set
+CONFIG_BLK_DEV=y
+# CONFIG_BLK_DEV_COW_COMMON is not set
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_UB is not set
+# CONFIG_BLK_DEV_RAM is not set
+# CONFIG_CDROM_PKTCDVD is not set
+# CONFIG_ATA_OVER_ETH is not set
+CONFIG_MISC_DEVICES=y
+# CONFIG_EEPROM_93CX6 is not set
+# CONFIG_ICS932S401 is not set
+# CONFIG_ENCLOSURE_SERVICES is not set
+# CONFIG_C2PORT is not set
+CONFIG_HAVE_IDE=y
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_RAID_ATTRS is not set
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+# CONFIG_SCSI_TGT is not set
+# CONFIG_SCSI_NETLINK is not set
+CONFIG_SCSI_PROC_FS=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+CONFIG_BLK_DEV_SD=y
+# CONFIG_CHR_DEV_ST is not set
+# CONFIG_CHR_DEV_OSST is not set
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+# CONFIG_CHR_DEV_SCH is not set
+
+#
+# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
+#
+# CONFIG_SCSI_MULTI_LUN is not set
+# CONFIG_SCSI_CONSTANTS is not set
+# CONFIG_SCSI_LOGGING is not set
+# CONFIG_SCSI_SCAN_ASYNC is not set
+CONFIG_SCSI_WAIT_SCAN=m
+
+#
+# SCSI Transports
+#
+# CONFIG_SCSI_SPI_ATTRS is not set
+# CONFIG_SCSI_FC_ATTRS is not set
+# CONFIG_SCSI_ISCSI_ATTRS is not set
+# CONFIG_SCSI_SAS_LIBSAS is not set
+# CONFIG_SCSI_SRP_ATTRS is not set
+CONFIG_SCSI_LOWLEVEL=y
+# CONFIG_ISCSI_TCP is not set
+# CONFIG_SCSI_DEBUG is not set
+# CONFIG_SCSI_DH is not set
+# CONFIG_ATA is not set
+# CONFIG_MD is not set
+CONFIG_NETDEVICES=y
+# CONFIG_DUMMY is not set
+# CONFIG_BONDING is not set
+# CONFIG_MACVLAN is not set
+# CONFIG_EQUALIZER is not set
+# CONFIG_TUN is not set
+# CONFIG_VETH is not set
+# CONFIG_PHYLIB is not set
+CONFIG_NET_ETHERNET=y
+CONFIG_MII=y
+# CONFIG_AX88796 is not set
+# CONFIG_SMC91X is not set
+CONFIG_DM9000=y
+CONFIG_DM9000_DEBUGLEVEL=4
+# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
+# CONFIG_SMC911X is not set
+# CONFIG_IBM_NEW_EMAC_ZMII is not set
+# CONFIG_IBM_NEW_EMAC_RGMII is not set
+# CONFIG_IBM_NEW_EMAC_TAH is not set
+# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
+# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
+# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
+# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
+# CONFIG_B44 is not set
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+
+#
+# Wireless LAN
+#
+# CONFIG_WLAN_PRE80211 is not set
+# CONFIG_WLAN_80211 is not set
+# CONFIG_IWLWIFI_LEDS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_USB_CATC is not set
+# CONFIG_USB_KAWETH is not set
+# CONFIG_USB_PEGASUS is not set
+# CONFIG_USB_RTL8150 is not set
+# CONFIG_USB_USBNET is not set
+# CONFIG_WAN is not set
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+# CONFIG_NETCONSOLE is not set
+# CONFIG_NETPOLL is not set
+# CONFIG_NET_POLL_CONTROLLER is not set
+# CONFIG_ISDN is not set
+
+#
+# Input device support
+#
+CONFIG_INPUT=y
+# CONFIG_INPUT_FF_MEMLESS is not set
+# CONFIG_INPUT_POLLDEV is not set
+
+#
+# Userland interfaces
+#
+CONFIG_INPUT_MOUSEDEV=y
+# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
+CONFIG_INPUT_MOUSEDEV_SCREEN_X=800
+CONFIG_INPUT_MOUSEDEV_SCREEN_Y=600
+# CONFIG_INPUT_JOYDEV is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_INPUT_EVBUG is not set
+
+#
+# Input Device Drivers
+#
+# CONFIG_INPUT_KEYBOARD is not set
+# CONFIG_INPUT_MOUSE is not set
+# CONFIG_INPUT_JOYSTICK is not set
+# CONFIG_INPUT_TABLET is not set
+CONFIG_INPUT_TOUCHSCREEN=y
+# CONFIG_TOUCHSCREEN_S3C is not set
+# CONFIG_TOUCHSCREEN_FUJITSU is not set
+# CONFIG_TOUCHSCREEN_GUNZE is not set
+# CONFIG_TOUCHSCREEN_ELO is not set
+# CONFIG_TOUCHSCREEN_MTOUCH is not set
+# CONFIG_TOUCHSCREEN_INEXIO is not set
+# CONFIG_TOUCHSCREEN_MK712 is not set
+# CONFIG_TOUCHSCREEN_PENMOUNT is not set
+# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
+# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
+# CONFIG_TOUCHSCREEN_WM97XX is not set
+# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
+# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
+# CONFIG_INPUT_MISC is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO is not set
+# CONFIG_GAMEPORT is not set
+
+#
+# Character devices
+#
+CONFIG_VT=y
+CONFIG_CONSOLE_TRANSLATIONS=y
+CONFIG_VT_CONSOLE=y
+CONFIG_HW_CONSOLE=y
+# CONFIG_VT_HW_CONSOLE_BINDING is not set
+# CONFIG_DEVKMEM is not set
+CONFIG_LEDS_MINI6410=y
+CONFIG_MINI6410_HELLO_MODULE=m
+CONFIG_MINI6410_BUTTONS=y
+CONFIG_MINI6410_BUZZER=y
+# CONFIG_MINI6410_ADC is not set
+# CONFIG_SERIAL_NONSTANDARD is not set
+
+#
+# Serial drivers
+#
+# CONFIG_SERIAL_8250 is not set
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_SAMSUNG=y
+CONFIG_SERIAL_SAMSUNG_UARTS=4
+# CONFIG_SERIAL_SAMSUNG_DEBUG is not set
+CONFIG_SERIAL_SAMSUNG_CONSOLE=y
+CONFIG_SERIAL_S3C6400=y
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_CORE_CONSOLE=y
+CONFIG_UNIX98_PTYS=y
+# CONFIG_LEGACY_PTYS is not set
+# CONFIG_IPMI_HANDLER is not set
+# CONFIG_HW_RANDOM is not set
+# CONFIG_NVRAM is not set
+# CONFIG_R3964 is not set
+# CONFIG_RAW_DRIVER is not set
+# CONFIG_TCG_TPM is not set
+# CONFIG_S3C_MEM is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_CHARDEV=y
+# CONFIG_I2C_HELPER_AUTO is not set
+
+#
+# I2C Algorithms
+#
+# CONFIG_I2C_ALGOBIT is not set
+# CONFIG_I2C_ALGOPCF is not set
+# CONFIG_I2C_ALGOPCA is not set
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_S3C2410=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_DS1682 is not set
+# CONFIG_AT24 is not set
+# CONFIG_SENSORS_EEPROM is not set
+# CONFIG_SENSORS_PCF8574 is not set
+# CONFIG_PCF8575 is not set
+# CONFIG_SENSORS_PCA9539 is not set
+# CONFIG_SENSORS_PCF8591 is not set
+# CONFIG_TPS65010 is not set
+# CONFIG_SENSORS_MAX6875 is not set
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
+# CONFIG_SPI is not set
+CONFIG_ARCH_REQUIRE_GPIOLIB=y
+CONFIG_GPIOLIB=y
+# CONFIG_DEBUG_GPIO is not set
+# CONFIG_GPIO_SYSFS is not set
+
+#
+# Memory mapped GPIO expanders:
+#
+
+#
+# I2C GPIO expanders:
+#
+# CONFIG_GPIO_MAX732X is not set
+# CONFIG_GPIO_PCA953X is not set
+# CONFIG_GPIO_PCF857X is not set
+
+#
+# PCI GPIO expanders:
+#
+
+#
+# SPI GPIO expanders:
+#
+# CONFIG_W1 is not set
+# CONFIG_POWER_SUPPLY is not set
+# CONFIG_HWMON is not set
+# CONFIG_THERMAL is not set
+# CONFIG_THERMAL_HWMON is not set
+CONFIG_WATCHDOG=y
+# CONFIG_WATCHDOG_NOWAYOUT is not set
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_S3C2410_WATCHDOG=y
+
+#
+# USB-based Watchdog Cards
+#
+# CONFIG_USBPCWATCHDOG is not set
+CONFIG_SSB_POSSIBLE=y
+
+#
+# Sonics Silicon Backplane
+#
+# CONFIG_SSB is not set
+
+#
+# Multifunction device drivers
+#
+# CONFIG_MFD_CORE is not set
+# CONFIG_MFD_SM501 is not set
+# CONFIG_MFD_ASIC3 is not set
+# CONFIG_HTC_EGPIO is not set
+# CONFIG_HTC_PASIC3 is not set
+# CONFIG_UCB1400_CORE is not set
+# CONFIG_MFD_TMIO is not set
+# CONFIG_MFD_T7L66XB is not set
+# CONFIG_MFD_TC6387XB is not set
+# CONFIG_MFD_TC6393XB is not set
+# CONFIG_PMIC_DA903X is not set
+# CONFIG_MFD_WM8400 is not set
+# CONFIG_MFD_WM8350_I2C is not set
+
+#
+# Multimedia devices
+#
+
+#
+# Multimedia core support
+#
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_V4L2_COMMON=y
+# CONFIG_VIDEO_ALLOW_V4L1 is not set
+CONFIG_VIDEO_V4L1_COMPAT=y
+# CONFIG_DVB_CORE is not set
+CONFIG_VIDEO_MEDIA=y
+
+#
+# Multimedia drivers
+#
+# CONFIG_MEDIA_ATTACH is not set
+CONFIG_MEDIA_TUNER=y
+# CONFIG_MEDIA_TUNER_CUSTOMIZE is not set
+CONFIG_MEDIA_TUNER_SIMPLE=y
+CONFIG_MEDIA_TUNER_TDA8290=y
+CONFIG_MEDIA_TUNER_TDA9887=y
+CONFIG_MEDIA_TUNER_TEA5761=y
+CONFIG_MEDIA_TUNER_TEA5767=y
+CONFIG_MEDIA_TUNER_MT20XX=y
+CONFIG_MEDIA_TUNER_XC2028=y
+CONFIG_MEDIA_TUNER_XC5000=y
+CONFIG_VIDEO_V4L2=y
+CONFIG_VIDEOBUF_GEN=y
+CONFIG_VIDEOBUF_VMALLOC=y
+CONFIG_VIDEO_IR=y
+CONFIG_VIDEO_TVEEPROM=y
+CONFIG_VIDEO_TUNER=y
+CONFIG_VIDEO_CAPTURE_DRIVERS=y
+# CONFIG_VIDEO_ADV_DEBUG is not set
+CONFIG_VIDEO_FIXED_MINOR_RANGES=y
+# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
+CONFIG_VIDEO_IR_I2C=y
+
+#
+# Encoders/decoders and other helper chips
+#
+
+#
+# Audio decoders
+#
+# CONFIG_VIDEO_TVAUDIO is not set
+# CONFIG_VIDEO_TDA7432 is not set
+# CONFIG_VIDEO_TDA9840 is not set
+# CONFIG_VIDEO_TDA9875 is not set
+# CONFIG_VIDEO_TEA6415C is not set
+# CONFIG_VIDEO_TEA6420 is not set
+CONFIG_VIDEO_MSP3400=y
+# CONFIG_VIDEO_CS5345 is not set
+CONFIG_VIDEO_CS53L32A=y
+# CONFIG_VIDEO_M52790 is not set
+# CONFIG_VIDEO_TLV320AIC23B is not set
+CONFIG_VIDEO_WM8775=y
+# CONFIG_VIDEO_WM8739 is not set
+# CONFIG_VIDEO_VP27SMPX is not set
+
+#
+# Video decoders
+#
+# CONFIG_VIDEO_OV7670 is not set
+# CONFIG_VIDEO_TCM825X is not set
+CONFIG_VIDEO_SAA711X=y
+# CONFIG_VIDEO_SAA717X is not set
+# CONFIG_VIDEO_TVP5150 is not set
+
+#
+# Video and audio decoders
+#
+CONFIG_VIDEO_CX25840=y
+
+#
+# MPEG video encoders
+#
+CONFIG_VIDEO_CX2341X=y
+
+#
+# Video encoders
+#
+# CONFIG_VIDEO_SAA7127 is not set
+
+#
+# Video improvement chips
+#
+# CONFIG_VIDEO_UPD64031A is not set
+# CONFIG_VIDEO_UPD64083 is not set
+# CONFIG_VIDEO_VIVI is not set
+# CONFIG_VIDEO_SAA5246A is not set
+# CONFIG_VIDEO_SAA5249 is not set
+# CONFIG_SOC_CAMERA is not set
+CONFIG_V4L_USB_DRIVERS=y
+CONFIG_USB_VIDEO_CLASS=y
+CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
+CONFIG_USB_GSPCA=y
+CONFIG_USB_M5602=y
+CONFIG_USB_GSPCA_CONEX=y
+CONFIG_USB_GSPCA_ETOMS=y
+CONFIG_USB_GSPCA_FINEPIX=y
+CONFIG_USB_GSPCA_MARS=y
+CONFIG_USB_GSPCA_OV519=y
+CONFIG_USB_GSPCA_PAC207=y
+CONFIG_USB_GSPCA_PAC7311=y
+CONFIG_USB_GSPCA_SONIXB=y
+CONFIG_USB_GSPCA_SONIXJ=y
+CONFIG_USB_GSPCA_SPCA500=y
+CONFIG_USB_GSPCA_SPCA501=y
+CONFIG_USB_GSPCA_SPCA505=y
+CONFIG_USB_GSPCA_SPCA506=y
+CONFIG_USB_GSPCA_SPCA508=y
+CONFIG_USB_GSPCA_SPCA561=y
+CONFIG_USB_GSPCA_STK014=y
+CONFIG_USB_GSPCA_SUNPLUS=y
+CONFIG_USB_GSPCA_T613=y
+CONFIG_USB_GSPCA_TV8532=y
+CONFIG_USB_GSPCA_VC032X=y
+CONFIG_USB_GSPCA_ZC3XX=y
+CONFIG_VIDEO_PVRUSB2=y
+CONFIG_VIDEO_PVRUSB2_SYSFS=y
+# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not set
+CONFIG_VIDEO_EM28XX=y
+# CONFIG_VIDEO_EM28XX_ALSA is not set
+CONFIG_VIDEO_USBVISION=y
+CONFIG_USB_ET61X251=y
+CONFIG_USB_SN9C102=y
+CONFIG_USB_ZC0301=y
+CONFIG_USB_ZR364XX=y
+CONFIG_USB_STKWEBCAM=y
+CONFIG_USB_S2255=y
+CONFIG_VIDEO_SAMSUNG=y
+
+#
+# FIMC configurations
+#
+CONFIG_VIDEO_FIMC=y
+CONFIG_VIDEO_FIMC_DEBUG=y
+# CONFIG_S5K4BA is not set
+# CONFIG_S5K3BA is not set
+CONFIG_OV965X=y
+CONFIG_OV965X_VGA=y
+# CONFIG_OV965X_QVGA is not set
+# CONFIG_OV965X_SVGA is not set
+# CONFIG_OV965X_SXGA is not set
+CONFIG_VIDEO_FIMC_CAM_CH=0
+CONFIG_VIDEO_FIMC_CAM_RESET=1
+CONFIG_VIDEO_POST=y
+CONFIG_VIDEO_MFC10=y
+CONFIG_VIDEO_MFC_DEBUG=y
+CONFIG_VIDEO_JPEG=y
+CONFIG_VIDEO_TV=y
+CONFIG_VIDEO_ROTATOR=y
+CONFIG_VIDEO_G2D=y
+CONFIG_VIDEO_G3D=y
+CONFIG_VIDEO_CMM=y
+
+#
+# Reserved memory configurations
+#
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC=15360
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_TV=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC=6144
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_JPEG=8192
+CONFIG_VIDEO_SAMSUNG_MEMSIZE_CMM=8192
+# CONFIG_RADIO_ADAPTERS is not set
+# CONFIG_DAB is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGASTATE is not set
+# CONFIG_VIDEO_OUTPUT_CONTROL is not set
+CONFIG_FB=y
+# CONFIG_FIRMWARE_EDID is not set
+# CONFIG_FB_DDC is not set
+# CONFIG_FB_BOOT_VESA_SUPPORT is not set
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
+# CONFIG_FB_SYS_FILLRECT is not set
+# CONFIG_FB_SYS_COPYAREA is not set
+# CONFIG_FB_SYS_IMAGEBLIT is not set
+# CONFIG_FB_FOREIGN_ENDIAN is not set
+# CONFIG_FB_SYS_FOPS is not set
+# CONFIG_FB_SVGALIB is not set
+# CONFIG_FB_MACMODES is not set
+# CONFIG_FB_BACKLIGHT is not set
+# CONFIG_FB_MODE_HELPERS is not set
+# CONFIG_FB_TILEBLITTING is not set
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_S3C=y
+# CONFIG_FB_S3C_TFT480272 is not set
+# CONFIG_FB_S3C_TFT800480 is not set
+# CONFIG_FB_S3C_T240320 is not set
+# CONFIG_FB_S3C_TFT640480 is not set
+# CONFIG_FB_S3C_VGA1024768 is not set
+CONFIG_FB_S3C_VGA800600=y
+# CONFIG_FB_S3C_VGA640480 is not set
+# CONFIG_FB_S3C_EZVGA800600 is not set
+CONFIG_FB_S3C_BPP=y
+# CONFIG_FB_S3C_BPP_8 is not set
+CONFIG_FB_S3C_BPP_16=y
+# CONFIG_FB_S3C_BPP_24 is not set
+# CONFIG_FB_S3C_BPP_28 is not set
+# CONFIG_FB_S3C_BPP_32 is not set
+CONFIG_FB_S3C_NUM=4
+# CONFIG_FB_S3C_VIRTUAL_SCREEN is not set
+CONFIG_FB_S3C_DOUBLE_BUFFERING=y
+# CONFIG_FB_S1D13XXX is not set
+CONFIG_BACKLIGHT_FRIENDLY_ARM=y
+# CONFIG_FB_VIRTUAL is not set
+# CONFIG_FB_METRONOME is not set
+# CONFIG_FB_MB862XX is not set
+# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
+
+#
+# Display device support
+#
+# CONFIG_DISPLAY_SUPPORT is not set
+
+#
+# Console display driver support
+#
+# CONFIG_VGA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
+# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
+# CONFIG_FONTS is not set
+CONFIG_FONT_8x8=y
+CONFIG_FONT_8x16=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_LOGO_LINUX_CLUT224=y
+# CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224 is not set
+CONFIG_SOUND=y
+CONFIG_SOUND_OSS_CORE=y
+CONFIG_SND=y
+CONFIG_SND_TIMER=y
+CONFIG_SND_PCM=y
+# CONFIG_SND_SEQUENCER is not set
+CONFIG_SND_OSSEMUL=y
+CONFIG_SND_MIXER_OSS=y
+CONFIG_SND_PCM_OSS=y
+CONFIG_SND_PCM_OSS_PLUGINS=y
+# CONFIG_SND_DYNAMIC_MINORS is not set
+CONFIG_SND_SUPPORT_OLD_API=y
+CONFIG_SND_VERBOSE_PROCFS=y
+# CONFIG_SND_VERBOSE_PRINTK is not set
+# CONFIG_SND_DEBUG is not set
+CONFIG_SND_VMASTER=y
+CONFIG_SND_AC97_CODEC=y
+CONFIG_SND_DRIVERS=y
+# CONFIG_SND_DUMMY is not set
+# CONFIG_SND_MTPAV is not set
+# CONFIG_SND_SERIAL_U16550 is not set
+# CONFIG_SND_MPU401 is not set
+# CONFIG_SND_AC97_POWER_SAVE is not set
+CONFIG_SND_ARM=y
+CONFIG_SND_USB=y
+# CONFIG_SND_USB_AUDIO is not set
+# CONFIG_SND_USB_CAIAQ is not set
+CONFIG_SND_SOC=y
+CONFIG_SND_SOC_AC97_BUS=y
+
+#
+# SoC Audio for the Samsung S3C
+#
+CONFIG_SND_S3C64XX_SOC=y
+CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713=y
+# CONFIG_SOUND_WM9713_INPUT_STREAM_LINE is not set
+CONFIG_SOUND_WM9713_INPUT_STREAM_MIC=y
+CONFIG_SND_S3C6410_SOC_AC97=y
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990 is not set
+# CONFIG_SND_S3C64XX_SOC_SMDK6410_S5M8751 is not set
+# CONFIG_SND_SOC_ALL_CODECS is not set
+CONFIG_SND_SOC_WM9713=y
+# CONFIG_SOUND_PRIME is not set
+CONFIG_AC97_BUS=y
+CONFIG_HID_SUPPORT=y
+CONFIG_HID=y
+CONFIG_HID_DEBUG=y
+# CONFIG_HIDRAW is not set
+
+#
+# USB Input Devices
+#
+CONFIG_USB_HID=y
+# CONFIG_HID_PID is not set
+# CONFIG_USB_HIDDEV is not set
+
+#
+# Special HID drivers
+#
+# CONFIG_HID_COMPAT is not set
+CONFIG_HID_A4TECH=y
+CONFIG_HID_APPLE=y
+CONFIG_HID_BELKIN=y
+CONFIG_HID_BRIGHT=y
+CONFIG_HID_CHERRY=y
+CONFIG_HID_CHICONY=y
+CONFIG_HID_CYPRESS=y
+CONFIG_HID_DELL=y
+CONFIG_HID_EZKEY=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_LOGITECH=y
+# CONFIG_LOGITECH_FF is not set
+# CONFIG_LOGIRUMBLEPAD2_FF is not set
+CONFIG_HID_MICROSOFT=y
+CONFIG_HID_MONTEREY=y
+CONFIG_HID_PANTHERLORD=y
+# CONFIG_PANTHERLORD_FF is not set
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+# CONFIG_THRUSTMASTER_FF is not set
+# CONFIG_ZEROPLUS_FF is not set
+CONFIG_USB_SUPPORT=y
+CONFIG_USB_ARCH_HAS_HCD=y
+CONFIG_USB_ARCH_HAS_OHCI=y
+# CONFIG_USB_ARCH_HAS_EHCI is not set
+CONFIG_USB=y
+CONFIG_USB_DEBUG=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DEVICE_CLASS=y
+# CONFIG_USB_DYNAMIC_MINORS is not set
+# CONFIG_USB_OTG is not set
+# CONFIG_USB_MON is not set
+# CONFIG_USB_WUSB is not set
+# CONFIG_USB_WUSB_CBAF is not set
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_C67X00_HCD is not set
+# CONFIG_USB_ISP116X_HCD is not set
+CONFIG_USB_OHCI_HCD=y
+# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
+# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
+CONFIG_USB_OHCI_LITTLE_ENDIAN=y
+# CONFIG_USB_SL811_HCD is not set
+# CONFIG_USB_R8A66597_HCD is not set
+# CONFIG_USB_HWA_HCD is not set
+# CONFIG_USB_S3C_OTG_HOST is not set
+# CONFIG_USB_MUSB_HDRC is not set
+# CONFIG_USB_GADGET_MUSB_HDRC is not set
+
+#
+# USB Device Class drivers
+#
+# CONFIG_USB_ACM is not set
+# CONFIG_USB_PRINTER is not set
+# CONFIG_USB_WDM is not set
+# CONFIG_USB_TMC is not set
+
+#
+# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may also be needed;
+#
+
+#
+# see USB_STORAGE Help for more information
+#
+CONFIG_USB_STORAGE=y
+# CONFIG_USB_STORAGE_DEBUG is not set
+# CONFIG_USB_STORAGE_DATAFAB is not set
+# CONFIG_USB_STORAGE_FREECOM is not set
+# CONFIG_USB_STORAGE_ISD200 is not set
+# CONFIG_USB_STORAGE_DPCM is not set
+# CONFIG_USB_STORAGE_USBAT is not set
+# CONFIG_USB_STORAGE_SDDR09 is not set
+# CONFIG_USB_STORAGE_SDDR55 is not set
+# CONFIG_USB_STORAGE_JUMPSHOT is not set
+# CONFIG_USB_STORAGE_ALAUDA is not set
+# CONFIG_USB_STORAGE_ONETOUCH is not set
+# CONFIG_USB_STORAGE_KARMA is not set
+# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
+# CONFIG_USB_LIBUSUAL is not set
+
+#
+# USB Imaging devices
+#
+# CONFIG_USB_MDC800 is not set
+# CONFIG_USB_MICROTEK is not set
+
+#
+# USB port drivers
+#
+CONFIG_USB_SERIAL=y
+# CONFIG_USB_SERIAL_CONSOLE is not set
+# CONFIG_USB_EZUSB is not set
+# CONFIG_USB_SERIAL_GENERIC is not set
+# CONFIG_USB_SERIAL_AIRCABLE is not set
+# CONFIG_USB_SERIAL_ARK3116 is not set
+# CONFIG_USB_SERIAL_BELKIN is not set
+# CONFIG_USB_SERIAL_CH341 is not set
+# CONFIG_USB_SERIAL_WHITEHEAT is not set
+# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
+# CONFIG_USB_SERIAL_CP2101 is not set
+# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
+# CONFIG_USB_SERIAL_EMPEG is not set
+# CONFIG_USB_SERIAL_FTDI_SIO is not set
+# CONFIG_USB_SERIAL_FUNSOFT is not set
+# CONFIG_USB_SERIAL_VISOR is not set
+# CONFIG_USB_SERIAL_IPAQ is not set
+# CONFIG_USB_SERIAL_IR is not set
+# CONFIG_USB_SERIAL_EDGEPORT is not set
+# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
+# CONFIG_USB_SERIAL_GARMIN is not set
+# CONFIG_USB_SERIAL_IPW is not set
+# CONFIG_USB_SERIAL_IUU is not set
+# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
+# CONFIG_USB_SERIAL_KEYSPAN is not set
+# CONFIG_USB_SERIAL_KLSI is not set
+# CONFIG_USB_SERIAL_KOBIL_SCT is not set
+# CONFIG_USB_SERIAL_MCT_U232 is not set
+# CONFIG_USB_SERIAL_MOS7720 is not set
+# CONFIG_USB_SERIAL_MOS7840 is not set
+# CONFIG_USB_SERIAL_MOTOROLA is not set
+# CONFIG_USB_SERIAL_NAVMAN is not set
+CONFIG_USB_SERIAL_PL2303=y
+# CONFIG_USB_SERIAL_OTI6858 is not set
+# CONFIG_USB_SERIAL_SPCP8X5 is not set
+# CONFIG_USB_SERIAL_HP4X is not set
+# CONFIG_USB_SERIAL_SAFE is not set
+# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
+# CONFIG_USB_SERIAL_TI is not set
+# CONFIG_USB_SERIAL_CYBERJACK is not set
+# CONFIG_USB_SERIAL_XIRCOM is not set
+# CONFIG_USB_SERIAL_OPTION is not set
+# CONFIG_USB_SERIAL_OMNINET is not set
+# CONFIG_USB_SERIAL_DEBUG is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_EMI62 is not set
+# CONFIG_USB_EMI26 is not set
+# CONFIG_USB_ADUTUX is not set
+# CONFIG_USB_SEVSEG is not set
+# CONFIG_USB_RIO500 is not set
+# CONFIG_USB_LEGOTOWER is not set
+# CONFIG_USB_LCD is not set
+# CONFIG_USB_BERRY_CHARGE is not set
+# CONFIG_USB_LED is not set
+# CONFIG_USB_CYPRESS_CY7C63 is not set
+# CONFIG_USB_CYTHERM is not set
+# CONFIG_USB_PHIDGET is not set
+# CONFIG_USB_IDMOUSE is not set
+# CONFIG_USB_FTDI_ELAN is not set
+# CONFIG_USB_APPLEDISPLAY is not set
+# CONFIG_USB_LD is not set
+# CONFIG_USB_TRANCEVIBRATOR is not set
+# CONFIG_USB_IOWARRIOR is not set
+# CONFIG_USB_TEST is not set
+# CONFIG_USB_ISIGHTFW is not set
+# CONFIG_USB_VST is not set
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_DEBUG is not set
+# CONFIG_USB_GADGET_DEBUG_FILES is not set
+CONFIG_USB_GADGET_VBUS_DRAW=2
+CONFIG_USB_GADGET_SELECTED=y
+# CONFIG_USB_GADGET_AT91 is not set
+# CONFIG_USB_GADGET_ATMEL_USBA is not set
+# CONFIG_USB_GADGET_FSL_USB2 is not set
+# CONFIG_USB_GADGET_LH7A40X is not set
+# CONFIG_USB_GADGET_OMAP is not set
+# CONFIG_USB_GADGET_PXA25X is not set
+# CONFIG_USB_GADGET_PXA27X is not set
+# CONFIG_USB_GADGET_S3C2410 is not set
+CONFIG_USB_GADGET_S3C_OTGD=y
+# CONFIG_USB_GADGET_M66592 is not set
+# CONFIG_USB_GADGET_AMD5536UDC is not set
+# CONFIG_USB_GADGET_FSL_QE is not set
+# CONFIG_USB_GADGET_NET2280 is not set
+# CONFIG_USB_GADGET_GOKU is not set
+# CONFIG_USB_GADGET_DUMMY_HCD is not set
+
+#
+# NOTE: S3C OTG device role enables the controller driver below
+#
+CONFIG_USB_S3C_OTGD=y
+CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE=y
+# CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE is not set
+CONFIG_USB_GADGET_DUALSPEED=y
+# CONFIG_USB_ZERO is not set
+# CONFIG_USB_ETH is not set
+# CONFIG_USB_GADGETFS is not set
+# CONFIG_USB_FILE_STORAGE is not set
+# CONFIG_USB_G_SERIAL is not set
+# CONFIG_USB_MIDI_GADGET is not set
+# CONFIG_USB_G_PRINTER is not set
+# CONFIG_USB_CDC_COMPOSITE is not set
+CONFIG_MMC=y
+# CONFIG_MMC_DEBUG is not set
+# CONFIG_MMC_UNSAFE_RESUME is not set
+
+#
+# MMC/SD/SDIO Card Drivers
+#
+CONFIG_MMC_BLOCK=y
+CONFIG_MMC_BLOCK_BOUNCE=y
+CONFIG_SDIO_UART=y
+# CONFIG_MMC_TEST is not set
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_S3C=y
+# CONFIG_MEMSTICK is not set
+# CONFIG_ACCESSIBILITY is not set
+# CONFIG_NEW_LEDS is not set
+CONFIG_RTC_LIB=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
+# CONFIG_RTC_DEBUG is not set
+
+#
+# RTC interfaces
+#
+CONFIG_RTC_INTF_SYSFS=y
+CONFIG_RTC_INTF_PROC=y
+CONFIG_RTC_INTF_DEV=y
+# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
+# CONFIG_RTC_DRV_TEST is not set
+
+#
+# I2C RTC drivers
+#
+# CONFIG_RTC_DRV_DS1307 is not set
+# CONFIG_RTC_DRV_DS1374 is not set
+# CONFIG_RTC_DRV_DS1672 is not set
+# CONFIG_RTC_DRV_MAX6900 is not set
+# CONFIG_RTC_DRV_RS5C372 is not set
+# CONFIG_RTC_DRV_ISL1208 is not set
+# CONFIG_RTC_DRV_X1205 is not set
+# CONFIG_RTC_DRV_PCF8563 is not set
+# CONFIG_RTC_DRV_PCF8583 is not set
+# CONFIG_RTC_DRV_M41T80 is not set
+# CONFIG_RTC_DRV_S35390A is not set
+# CONFIG_RTC_DRV_FM3130 is not set
+# CONFIG_RTC_DRV_RX8581 is not set
+
+#
+# SPI RTC drivers
+#
+
+#
+# Platform RTC drivers
+#
+# CONFIG_RTC_DRV_CMOS is not set
+# CONFIG_RTC_DRV_DS1286 is not set
+# CONFIG_RTC_DRV_DS1511 is not set
+# CONFIG_RTC_DRV_DS1553 is not set
+# CONFIG_RTC_DRV_DS1742 is not set
+# CONFIG_RTC_DRV_STK17TA8 is not set
+# CONFIG_RTC_DRV_M48T86 is not set
+# CONFIG_RTC_DRV_M48T35 is not set
+# CONFIG_RTC_DRV_M48T59 is not set
+# CONFIG_RTC_DRV_BQ4802 is not set
+# CONFIG_RTC_DRV_V3020 is not set
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_S3C=y
+# CONFIG_DMADEVICES is not set
+# CONFIG_REGULATOR is not set
+# CONFIG_UIO is not set
+
+#
+# File systems
+#
+# CONFIG_EXT2_FS is not set
+CONFIG_EXT3_FS=y
+CONFIG_EXT3_FS_XATTR=y
+# CONFIG_EXT3_FS_POSIX_ACL is not set
+# CONFIG_EXT3_FS_SECURITY is not set
+# CONFIG_EXT4_FS is not set
+CONFIG_JBD=y
+CONFIG_FS_MBCACHE=y
+# CONFIG_REISERFS_FS is not set
+# CONFIG_JFS_FS is not set
+CONFIG_FS_POSIX_ACL=y
+CONFIG_FILE_LOCKING=y
+# CONFIG_XFS_FS is not set
+# CONFIG_OCFS2_FS is not set
+CONFIG_DNOTIFY=y
+CONFIG_INOTIFY=y
+CONFIG_INOTIFY_USER=y
+# CONFIG_QUOTA is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+# CONFIG_FUSE_FS is not set
+CONFIG_GENERIC_ACL=y
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# DOS/FAT/NT Filesystems
+#
+CONFIG_FAT_FS=y
+CONFIG_MSDOS_FS=y
+CONFIG_VFAT_FS=y
+CONFIG_FAT_DEFAULT_CODEPAGE=936
+CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
+# CONFIG_NTFS_FS is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_PROC_FS=y
+CONFIG_PROC_SYSCTL=y
+CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_SYSFS=y
+CONFIG_TMPFS=y
+CONFIG_TMPFS_POSIX_ACL=y
+# CONFIG_HUGETLB_PAGE is not set
+# CONFIG_CONFIGFS_FS is not set
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_ADFS_FS is not set
+# CONFIG_AFFS_FS is not set
+# CONFIG_HFS_FS is not set
+# CONFIG_HFSPLUS_FS is not set
+# CONFIG_BEFS_FS is not set
+# CONFIG_BFS_FS is not set
+# CONFIG_EFS_FS is not set
+CONFIG_YAFFS_FS=y
+CONFIG_YAFFS_YAFFS1=y
+# CONFIG_YAFFS_9BYTE_TAGS is not set
+# CONFIG_YAFFS_DOES_ECC is not set
+CONFIG_YAFFS_YAFFS2=y
+CONFIG_YAFFS_AUTO_YAFFS2=y
+# CONFIG_YAFFS_DISABLE_LAZY_LOAD is not set
+# CONFIG_YAFFS_DISABLE_WIDE_TNODES is not set
+# CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is not set
+CONFIG_YAFFS_SHORT_NAMES_IN_RAM=y
+# CONFIG_JFFS2_FS is not set
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+# CONFIG_UBIFS_FS_DEBUG is not set
+# CONFIG_CRAMFS is not set
+# CONFIG_VXFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_OMFS_FS is not set
+# CONFIG_HPFS_FS is not set
+# CONFIG_QNX4FS_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_SYSV_FS is not set
+# CONFIG_UFS_FS is not set
+CONFIG_NETWORK_FILESYSTEMS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+# CONFIG_NFS_V3_ACL is not set
+# CONFIG_NFS_V4 is not set
+CONFIG_ROOT_NFS=y
+# CONFIG_NFSD is not set
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_NFS_COMMON=y
+CONFIG_SUNRPC=y
+# CONFIG_SUNRPC_REGISTER_V4 is not set
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+# CONFIG_RPCSEC_GSS_SPKM3 is not set
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+# CONFIG_AFS_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="iso8859-1"
+CONFIG_NLS_CODEPAGE_437=y
+# CONFIG_NLS_CODEPAGE_737 is not set
+# CONFIG_NLS_CODEPAGE_775 is not set
+# CONFIG_NLS_CODEPAGE_850 is not set
+# CONFIG_NLS_CODEPAGE_852 is not set
+# CONFIG_NLS_CODEPAGE_855 is not set
+# CONFIG_NLS_CODEPAGE_857 is not set
+# CONFIG_NLS_CODEPAGE_860 is not set
+# CONFIG_NLS_CODEPAGE_861 is not set
+# CONFIG_NLS_CODEPAGE_862 is not set
+# CONFIG_NLS_CODEPAGE_863 is not set
+# CONFIG_NLS_CODEPAGE_864 is not set
+# CONFIG_NLS_CODEPAGE_865 is not set
+# CONFIG_NLS_CODEPAGE_866 is not set
+# CONFIG_NLS_CODEPAGE_869 is not set
+CONFIG_NLS_CODEPAGE_936=y
+# CONFIG_NLS_CODEPAGE_950 is not set
+# CONFIG_NLS_CODEPAGE_932 is not set
+# CONFIG_NLS_CODEPAGE_949 is not set
+# CONFIG_NLS_CODEPAGE_874 is not set
+# CONFIG_NLS_ISO8859_8 is not set
+# CONFIG_NLS_CODEPAGE_1250 is not set
+# CONFIG_NLS_CODEPAGE_1251 is not set
+CONFIG_NLS_ASCII=y
+CONFIG_NLS_ISO8859_1=y
+# CONFIG_NLS_ISO8859_2 is not set
+# CONFIG_NLS_ISO8859_3 is not set
+# CONFIG_NLS_ISO8859_4 is not set
+# CONFIG_NLS_ISO8859_5 is not set
+# CONFIG_NLS_ISO8859_6 is not set
+# CONFIG_NLS_ISO8859_7 is not set
+# CONFIG_NLS_ISO8859_9 is not set
+# CONFIG_NLS_ISO8859_13 is not set
+# CONFIG_NLS_ISO8859_14 is not set
+# CONFIG_NLS_ISO8859_15 is not set
+# CONFIG_NLS_KOI8_R is not set
+# CONFIG_NLS_KOI8_U is not set
+CONFIG_NLS_UTF8=y
+# CONFIG_DLM is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+CONFIG_ENABLE_WARN_DEPRECATED=y
+CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_FRAME_WARN=1024
+CONFIG_MAGIC_SYSRQ=y
+# CONFIG_UNUSED_SYMBOLS is not set
+# CONFIG_DEBUG_FS is not set
+# CONFIG_HEADERS_CHECK is not set
+CONFIG_DEBUG_KERNEL=y
+# CONFIG_DEBUG_SHIRQ is not set
+CONFIG_DETECT_SOFTLOCKUP=y
+# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
+CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
+CONFIG_SCHED_DEBUG=y
+# CONFIG_SCHEDSTATS is not set
+# CONFIG_TIMER_STATS is not set
+# CONFIG_DEBUG_OBJECTS is not set
+# CONFIG_SLUB_DEBUG_ON is not set
+# CONFIG_SLUB_STATS is not set
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+# CONFIG_RT_MUTEX_TESTER is not set
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+# CONFIG_DEBUG_LOCK_ALLOC is not set
+# CONFIG_PROVE_LOCKING is not set
+# CONFIG_LOCK_STAT is not set
+CONFIG_DEBUG_SPINLOCK_SLEEP=y
+# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
+# CONFIG_DEBUG_KOBJECT is not set
+CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DEBUG_INFO=y
+# CONFIG_DEBUG_VM is not set
+# CONFIG_DEBUG_WRITECOUNT is not set
+CONFIG_DEBUG_MEMORY_INIT=y
+# CONFIG_DEBUG_LIST is not set
+# CONFIG_DEBUG_SG is not set
+CONFIG_FRAME_POINTER=y
+# CONFIG_BOOT_PRINTK_DELAY is not set
+# CONFIG_RCU_TORTURE_TEST is not set
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+# CONFIG_BACKTRACE_SELF_TEST is not set
+# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
+# CONFIG_FAULT_INJECTION is not set
+# CONFIG_LATENCYTOP is not set
+CONFIG_SYSCTL_SYSCALL_CHECK=y
+CONFIG_HAVE_FUNCTION_TRACER=y
+
+#
+# Tracers
+#
+# CONFIG_FUNCTION_TRACER is not set
+# CONFIG_SCHED_TRACER is not set
+# CONFIG_CONTEXT_SWITCH_TRACER is not set
+# CONFIG_BOOT_TRACER is not set
+# CONFIG_STACK_TRACER is not set
+# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
+# CONFIG_SAMPLES is not set
+CONFIG_HAVE_ARCH_KGDB=y
+# CONFIG_KGDB is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+# CONFIG_DEBUG_STACK_USAGE is not set
+CONFIG_DEBUG_LL=y
+# CONFIG_DEBUG_ICEDCC is not set
+CONFIG_DEBUG_S3C_PORT=y
+CONFIG_DEBUG_S3C_UART=0
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+# CONFIG_SECURITYFS is not set
+# CONFIG_SECURITY_FILE_CAPABILITIES is not set
+CONFIG_CRYPTO=y
+
+#
+# Crypto core or helper
+#
+# CONFIG_CRYPTO_FIPS is not set
+CONFIG_CRYPTO_ALGAPI=y
+CONFIG_CRYPTO_ALGAPI2=y
+# CONFIG_CRYPTO_MANAGER is not set
+# CONFIG_CRYPTO_MANAGER2 is not set
+# CONFIG_CRYPTO_GF128MUL is not set
+# CONFIG_CRYPTO_NULL is not set
+# CONFIG_CRYPTO_CRYPTD is not set
+# CONFIG_CRYPTO_AUTHENC is not set
+# CONFIG_CRYPTO_TEST is not set
+
+#
+# Authenticated Encryption with Associated Data
+#
+# CONFIG_CRYPTO_CCM is not set
+# CONFIG_CRYPTO_GCM is not set
+# CONFIG_CRYPTO_SEQIV is not set
+
+#
+# Block modes
+#
+# CONFIG_CRYPTO_CBC is not set
+# CONFIG_CRYPTO_CTR is not set
+# CONFIG_CRYPTO_CTS is not set
+# CONFIG_CRYPTO_ECB is not set
+# CONFIG_CRYPTO_LRW is not set
+# CONFIG_CRYPTO_PCBC is not set
+# CONFIG_CRYPTO_XTS is not set
+
+#
+# Hash modes
+#
+# CONFIG_CRYPTO_HMAC is not set
+# CONFIG_CRYPTO_XCBC is not set
+
+#
+# Digest
+#
+# CONFIG_CRYPTO_CRC32C is not set
+# CONFIG_CRYPTO_MD4 is not set
+# CONFIG_CRYPTO_MD5 is not set
+# CONFIG_CRYPTO_MICHAEL_MIC is not set
+# CONFIG_CRYPTO_RMD128 is not set
+# CONFIG_CRYPTO_RMD160 is not set
+# CONFIG_CRYPTO_RMD256 is not set
+# CONFIG_CRYPTO_RMD320 is not set
+# CONFIG_CRYPTO_SHA1 is not set
+# CONFIG_CRYPTO_SHA256 is not set
+# CONFIG_CRYPTO_SHA512 is not set
+# CONFIG_CRYPTO_TGR192 is not set
+# CONFIG_CRYPTO_WP512 is not set
+
+#
+# Ciphers
+#
+# CONFIG_CRYPTO_AES is not set
+# CONFIG_CRYPTO_ANUBIS is not set
+# CONFIG_CRYPTO_ARC4 is not set
+# CONFIG_CRYPTO_BLOWFISH is not set
+# CONFIG_CRYPTO_CAMELLIA is not set
+# CONFIG_CRYPTO_CAST5 is not set
+# CONFIG_CRYPTO_CAST6 is not set
+# CONFIG_CRYPTO_DES is not set
+# CONFIG_CRYPTO_FCRYPT is not set
+# CONFIG_CRYPTO_KHAZAD is not set
+# CONFIG_CRYPTO_SALSA20 is not set
+# CONFIG_CRYPTO_SEED is not set
+# CONFIG_CRYPTO_SERPENT is not set
+# CONFIG_CRYPTO_TEA is not set
+# CONFIG_CRYPTO_TWOFISH is not set
+
+#
+# Compression
+#
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
+
+#
+# Random Number Generation
+#
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+CONFIG_CRYPTO_HW=y
+
+#
+# Library routines
+#
+CONFIG_BITREVERSE=y
+# CONFIG_CRC_CCITT is not set
+CONFIG_CRC16=y
+# CONFIG_CRC_T10DIF is not set
+# CONFIG_CRC_ITU_T is not set
+CONFIG_CRC32=y
+# CONFIG_CRC7 is not set
+# CONFIG_LIBCRC32C is not set
+CONFIG_ZLIB_INFLATE=y
+CONFIG_ZLIB_DEFLATE=y
+CONFIG_LZO_COMPRESS=y
+CONFIG_LZO_DECOMPRESS=y
+CONFIG_PLIST=y
+CONFIG_HAS_IOMEM=y
+CONFIG_HAS_DMA=y
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/char/Kconfig linux-2.6.28.6/drivers/char/Kconfig
--- linux-2.6.28/drivers/char/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/char/Kconfig	2010-04-01 07:47:50.000000000 +0200
@@ -97,6 +97,42 @@
 	  kind of kernel debugging operations.
 	  When in doubt, say "N".
 
+config LEDS_MINI6410
+	tristate "LED Support for Mini6410 GPIO LEDs"
+	depends on CPU_S3C6410
+	default y
+	help
+	  This option enables support for LEDs connected to GPIO lines
+	  on Mini6410 boards.
+
+config MINI6410_HELLO_MODULE
+	tristate "Mini6410 module sample"
+	depends on CPU_S3C6410
+	help
+	  Mini6410 module sample.
+
+config MINI6410_BUTTONS
+	tristate "Buttons driver for FriendlyARM Mini6410 development boards"
+	depends on CPU_S3C6410
+	default y
+	help
+	  this is buttons driver for FriendlyARM Mini6410 development boards
+
+config MINI6410_BUZZER
+	tristate "Buzzer driver for FriendlyARM Mini6410 development boards"
+	depends on CPU_S3C6410
+	default y
+	help
+	  this is buzzer driver for FriendlyARM Mini6410 development boards
+
+config MINI6410_ADC
+	bool "ADC driver for FriendlyARM Mini6410 development boards"
+	depends on CPU_S3C6410
+	default y
+	help
+	  this is ADC driver for FriendlyARM Mini6410 development boards
+	  Notes: the touch-screen-driver required this option
+
 config SERIAL_NONSTANDARD
 	bool "Non-standard serial port support"
 	depends on HAS_IOMEM
@@ -1073,5 +1109,14 @@
 
 source "drivers/s390/char/Kconfig"
 
+config S3C_MEM
+	bool "Support for /dev/s3c-mem"
+	default y
+	---help---
+	  If you do say Y here, you can allocate physically linear memories from system memory.
+	  And you can share the memory at the other process using re-allocation ioctl.
+
+	  If unsure, say Y.
+
 endmenu
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/char/Makefile linux-2.6.28.6/drivers/char/Makefile
--- linux-2.6.28/drivers/char/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/char/Makefile	2010-04-01 07:39:48.000000000 +0200
@@ -109,6 +109,14 @@
 obj-$(CONFIG_JS_RTC)		+= js-rtc.o
 js-rtc-y = rtc.o
 
+obj-$(CONFIG_S3C_MEM)		+= s3c_mem.o
+
+obj-$(CONFIG_LEDS_MINI6410)	+= mini6410_leds.o
+obj-$(CONFIG_MINI6410_HELLO_MODULE) += mini6410_hello_module.o
+obj-$(CONFIG_MINI6410_BUTTONS)	+= mini6410_buttons.o
+obj-$(CONFIG_MINI6410_BUZZER)	+= mini6410_pwm.o
+obj-$(CONFIG_MINI6410_ADC)	+= mini6410_adc.o
+
 # Files generated that shall be removed upon make clean
 clean-files := consolemap_deftbl.c defkeymap.c
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/char/mem.c linux-2.6.28.6/drivers/char/mem.c
--- linux-2.6.28/drivers/char/mem.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/char/mem.c	2009-04-30 09:36:38.000000000 +0200
@@ -866,6 +866,16 @@
 };
 #endif
 
+#ifdef CONFIG_S3C_MEM
+extern int s3c_mem_mmap(struct file* filp, struct vm_area_struct *vma);
+extern int s3c_mem_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg);
+
+static const struct file_operations s3c_mem_fops = {
+	.ioctl 	= s3c_mem_ioctl,
+	.mmap	= s3c_mem_mmap,
+};
+#endif
+
 static ssize_t kmsg_write(struct file * file, const char __user * buf,
 			  size_t count, loff_t *ppos)
 {
@@ -938,6 +948,12 @@
 			filp->f_op = &oldmem_fops;
 			break;
 #endif
+
+#ifdef CONFIG_S3C_MEM
+		case 13:
+			filp->f_op = &s3c_mem_fops;
+			break;
+#endif
 		default:
 			unlock_kernel();
 			return -ENXIO;
@@ -974,6 +990,9 @@
 #ifdef CONFIG_CRASH_DUMP
 	{12,"oldmem",    S_IRUSR | S_IWUSR | S_IRGRP, &oldmem_fops},
 #endif
+#ifdef CONFIG_S3C_MEM
+	{13,"s3c-mem", S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH, &s3c_mem_fops},
+#endif
 };
 
 static struct class *mem_class;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/char/mini6410_adc.c linux-2.6.28.6/drivers/char/mini6410_adc.c
--- linux-2.6.28/drivers/char/mini6410_adc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/char/mini6410_adc.c	2010-04-01 07:52:10.000000000 +0200
@@ -0,0 +1,198 @@
+#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/input.h>
+#include <linux/init.h>
+#include <linux/serio.h>
+#include <linux/delay.h>
+#include <linux/clk.h>
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <asm/uaccess.h>
+#include <mach/regs-clock.h>
+#include <plat/regs-timer.h>
+	 
+#include <plat/regs-adc.h>
+#include <mach/regs-gpio.h>
+#include <linux/cdev.h>
+#include <linux/miscdevice.h>
+
+#include "s3c24xx-adc.h"
+
+#undef DEBUG
+//#define DEBUG
+#ifdef DEBUG
+#define DPRINTK(x...) {printk(__FUNCTION__"(%d): ",__LINE__);printk(##x);}
+#else
+#define DPRINTK(x...) (void)(0)
+#endif
+
+#define DEVICE_NAME	"adc"
+
+static void __iomem *base_addr;
+
+typedef struct {
+	wait_queue_head_t wait;
+	int channel;
+	int prescale;
+}ADC_DEV;
+
+DECLARE_MUTEX(ADC_LOCK);
+static int OwnADC = 0;
+
+static ADC_DEV adcdev;
+static volatile int ev_adc = 0;
+static int adc_data;
+
+static struct clk	*adc_clock;
+
+#define ADCCON      (*(volatile unsigned long *)(base_addr + S3C2410_ADCCON))	//ADC control
+#define ADCTSC      (*(volatile unsigned long *)(base_addr + S3C2410_ADCTSC))	//ADC touch screen control
+#define ADCDLY      (*(volatile unsigned long *)(base_addr + S3C2410_ADCDLY))	//ADC start or Interval Delay
+#define ADCDAT0     (*(volatile unsigned long *)(base_addr + S3C2410_ADCDAT0))	//ADC conversion data 0
+#define ADCDAT1     (*(volatile unsigned long *)(base_addr + S3C2410_ADCDAT1))	//ADC conversion data 1
+#define ADCUPDN     (*(volatile unsigned long *)(base_addr + 0x14))	//Stylus Up/Down interrupt status
+
+#define PRESCALE_DIS        (0 << 14)
+#define PRESCALE_EN         (1 << 14)
+#define PRSCVL(x)           ((x) << 6)
+#define ADC_INPUT(x)        ((x) << 3)
+#define ADC_START           (1 << 0)
+#define ADC_ENDCVT          (1 << 15)
+
+#define START_ADC_AIN(ch, prescale) \
+	do{ \
+		ADCCON = PRESCALE_EN | PRSCVL(prescale) | ADC_INPUT((ch)) ; \
+		ADCCON |= ADC_START; \
+	}while(0)
+
+
+static irqreturn_t adcdone_int_handler(int irq, void *dev_id)
+{
+	if (OwnADC) {
+		adc_data = ADCDAT0 & 0x3ff;
+
+		ev_adc = 1;
+		wake_up_interruptible(&adcdev.wait);
+	}
+
+	return IRQ_HANDLED;
+}
+
+static ssize_t s3c2410_adc_read(struct file *filp, char *buffer, size_t count, loff_t *ppos)
+{
+	char str[20];
+	int value;
+	size_t len;
+	if (down_trylock(&ADC_LOCK) == 0) {
+		OwnADC = 1;
+		START_ADC_AIN(adcdev.channel, adcdev.prescale);
+		wait_event_interruptible(adcdev.wait, ev_adc);
+
+		ev_adc = 0;
+
+		DPRINTK("AIN[%d] = 0x%04x, %d\n", adcdev.channel, adc_data, ADCCON & 0x80 ? 1:0);
+
+		value = adc_data;
+		sprintf(str,"%5d", adc_data);
+		copy_to_user(buffer, (char *)&adc_data, sizeof(adc_data));
+
+		OwnADC = 0;
+		up(&ADC_LOCK);
+	} else {
+		value = -1;
+	}
+
+	len = sprintf(str, "%d\n", value);
+	if (count >= len) {
+		int r = copy_to_user(buffer, str, len);
+		return r ? r : len;
+	} else {
+		return -EINVAL;
+	}
+}
+
+static int s3c2410_adc_open(struct inode *inode, struct file *filp)
+{
+	init_waitqueue_head(&(adcdev.wait));
+
+	adcdev.channel=0;
+	adcdev.prescale=0xff;
+
+	DPRINTK( "adc opened\n");
+	return 0;
+}
+
+static int s3c2410_adc_release(struct inode *inode, struct file *filp)
+{
+	DPRINTK( "adc closed\n");
+	return 0;
+}
+
+
+static struct file_operations dev_fops = {
+	owner:	THIS_MODULE,
+	open:	s3c2410_adc_open,
+	read:	s3c2410_adc_read,	
+	release:	s3c2410_adc_release,
+};
+
+static struct miscdevice misc = {
+	.minor = MISC_DYNAMIC_MINOR,
+	.name = DEVICE_NAME,
+	.fops = &dev_fops,
+};
+
+static int __init dev_init(void)
+{
+	int ret;
+
+	base_addr=ioremap(S3C2410_PA_ADC,0x20);
+	if (base_addr == NULL) {
+		printk(KERN_ERR "Failed to remap register block\n");
+		return -ENOMEM;
+	}
+
+	adc_clock = clk_get(NULL, "adc");
+	if (!adc_clock) {
+		printk(KERN_ERR "failed to get adc clock source\n");
+		return -ENOENT;
+	}
+	clk_enable(adc_clock);
+	
+	/* normal ADC */
+	ADCTSC = 0;
+
+	ret = request_irq(IRQ_ADC, adcdone_int_handler, IRQF_SHARED, DEVICE_NAME, &adcdev);
+	if (ret) {
+		iounmap(base_addr);
+		return ret;
+	}
+
+	ret = misc_register(&misc);
+
+	printk (DEVICE_NAME"\tinitialized\n");
+	return ret;
+}
+
+static void __exit dev_exit(void)
+{
+	free_irq(IRQ_ADC, &adcdev);
+	iounmap(base_addr);
+
+	if (adc_clock) {
+		clk_disable(adc_clock);
+		clk_put(adc_clock);
+		adc_clock = NULL;
+	}
+
+	misc_deregister(&misc);
+}
+
+EXPORT_SYMBOL(ADC_LOCK);
+module_init(dev_init);
+module_exit(dev_exit);
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("FriendlyARM Inc.");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/char/mini6410_buttons.c linux-2.6.28.6/drivers/char/mini6410_buttons.c
--- linux-2.6.28/drivers/char/mini6410_buttons.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/char/mini6410_buttons.c	2010-05-17 07:20:14.000000000 +0200
@@ -0,0 +1,190 @@
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/fs.h>
+#include <linux/init.h>
+#include <linux/delay.h>
+#include <linux/poll.h>
+#include <linux/irq.h>
+#include <asm/irq.h>
+#include <asm/io.h>
+#include <linux/interrupt.h>
+#include <asm/uaccess.h>
+#include <mach/hardware.h>
+#include <linux/platform_device.h>
+#include <linux/cdev.h>
+#include <linux/miscdevice.h>
+
+#include <plat/gpio-cfg.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-gpio.h>
+
+#include <plat/gpio-bank-n.h>
+
+#define DEVICE_NAME     "buttons"
+
+struct button_irq_desc {
+    int irq;
+    int number;
+    char *name;	
+};
+
+static struct button_irq_desc button_irqs [] = {
+    {IRQ_EINT( 0), 0, "KEY0"},
+    {IRQ_EINT( 1), 1, "KEY1"},
+    {IRQ_EINT( 2), 2, "KEY2"},
+    {IRQ_EINT( 3), 3, "KEY3"},
+    {IRQ_EINT( 4), 4, "KEY4"},
+    {IRQ_EINT( 5), 5, "KEY5"},
+    {IRQ_EINT(19), 6, "KEY6"},
+    {IRQ_EINT(20), 7, "KEY7"},
+};
+static volatile char key_values [] = {'0', '0', '0', '0', '0', '0', '0', '0'};
+
+static DECLARE_WAIT_QUEUE_HEAD(button_waitq);
+
+static volatile int ev_press = 0;
+
+
+static irqreturn_t buttons_interrupt(int irq, void *dev_id)
+{
+	struct button_irq_desc *button_irqs = (struct button_irq_desc *)dev_id;
+	int down;
+	int number;
+	unsigned tmp;
+
+	udelay(0);
+	number = button_irqs->number;
+	switch(number) {
+	case 0: case 1: case 2: case 3: case 4: case 5:
+		tmp = readl(S3C64XX_GPNDAT);
+		down = !(tmp & (1<<number));
+		break;
+	case 6: case 7:
+		tmp = readl(S3C64XX_GPLDAT);
+		down = !(tmp & (1 << (number + 5)));
+		break;
+	default:
+		down = 0;
+	}
+
+	if (down != (key_values[number] & 1)) {
+		key_values[number] = '0' + down;
+
+        	ev_press = 1;
+        	wake_up_interruptible(&button_waitq);
+    	}
+
+    return IRQ_RETVAL(IRQ_HANDLED);
+}
+
+
+static int s3c64xx_buttons_open(struct inode *inode, struct file *file)
+{
+    int i;
+    int err = 0;
+    
+    for (i = 0; i < sizeof(button_irqs)/sizeof(button_irqs[0]); i++) {
+	if (button_irqs[i].irq < 0) {
+		continue;
+	}
+        err = request_irq(button_irqs[i].irq, buttons_interrupt, IRQ_TYPE_EDGE_BOTH, 
+                          button_irqs[i].name, (void *)&button_irqs[i]);
+        if (err)
+            break;
+    }
+
+    if (err) {
+        i--;
+        for (; i >= 0; i--) {
+	    if (button_irqs[i].irq < 0) {
+		continue;
+	    }
+	    disable_irq(button_irqs[i].irq);
+            free_irq(button_irqs[i].irq, (void *)&button_irqs[i]);
+        }
+        return -EBUSY;
+    }
+
+    ev_press = 1;
+    
+    return 0;
+}
+
+
+static int s3c64xx_buttons_close(struct inode *inode, struct file *file)
+{
+    int i;
+    
+    for (i = 0; i < sizeof(button_irqs)/sizeof(button_irqs[0]); i++) {
+	if (button_irqs[i].irq < 0) {
+	    continue;
+	}
+	free_irq(button_irqs[i].irq, (void *)&button_irqs[i]);
+    }
+
+    return 0;
+}
+
+
+static int s3c64xx_buttons_read(struct file *filp, char __user *buff, size_t count, loff_t *offp)
+{
+    unsigned long err;
+
+    if (!ev_press) {
+	if (filp->f_flags & O_NONBLOCK)
+	    return -EAGAIN;
+	else
+	    wait_event_interruptible(button_waitq, ev_press);
+    }
+    
+    ev_press = 0;
+
+    err = copy_to_user((void *)buff, (const void *)(&key_values), min(sizeof(key_values), count));
+
+    return err ? -EFAULT : min(sizeof(key_values), count);
+}
+
+static unsigned int s3c64xx_buttons_poll( struct file *file, struct poll_table_struct *wait)
+{
+    unsigned int mask = 0;
+    poll_wait(file, &button_waitq, wait);
+    if (ev_press)
+        mask |= POLLIN | POLLRDNORM;
+    return mask;
+}
+
+
+static struct file_operations dev_fops = {
+    .owner   =   THIS_MODULE,
+    .open    =   s3c64xx_buttons_open,
+    .release =   s3c64xx_buttons_close, 
+    .read    =   s3c64xx_buttons_read,
+    .poll    =   s3c64xx_buttons_poll,
+};
+
+static struct miscdevice misc = {
+	.minor = MISC_DYNAMIC_MINOR,
+	.name = DEVICE_NAME,
+	.fops = &dev_fops,
+};
+
+static int __init dev_init(void)
+{
+	int ret;
+
+	ret = misc_register(&misc);
+
+	printk (DEVICE_NAME"\tinitialized\n");
+
+	return ret;
+}
+
+static void __exit dev_exit(void)
+{
+	misc_deregister(&misc);
+}
+
+module_init(dev_init);
+module_exit(dev_exit);
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("FriendlyARM Inc.");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/char/mini6410_hello_module.c linux-2.6.28.6/drivers/char/mini6410_hello_module.c
--- linux-2.6.28/drivers/char/mini6410_hello_module.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/char/mini6410_hello_module.c	2010-04-01 07:54:11.000000000 +0200
@@ -0,0 +1,18 @@
+#include <linux/kernel.h>
+#include <linux/module.h>
+
+
+static int __init mini6410_hello_module_init(void)
+{
+    printk("Hello, Mini6410 module is installed !\n");
+    return 0;
+}
+
+static void __exit mini6410_hello_module_cleanup(void)
+{
+    printk("Good-bye, Mini6410 module was removed!\n");
+}
+
+module_init(mini6410_hello_module_init);
+module_exit(mini6410_hello_module_cleanup);
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/char/mini6410_leds.c linux-2.6.28.6/drivers/char/mini6410_leds.c
--- linux-2.6.28/drivers/char/mini6410_leds.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/char/mini6410_leds.c	2010-04-01 04:47:34.000000000 +0200
@@ -0,0 +1,99 @@
+#include <linux/miscdevice.h>
+#include <linux/delay.h>
+#include <asm/irq.h>
+//#include <mach/regs-gpio.h>
+#include <mach/hardware.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/mm.h>
+#include <linux/fs.h>
+#include <linux/types.h>
+#include <linux/delay.h>
+#include <linux/moduleparam.h>
+#include <linux/slab.h>
+#include <linux/errno.h>
+#include <linux/ioctl.h>
+#include <linux/cdev.h>
+#include <linux/string.h>
+#include <linux/list.h>
+#include <linux/pci.h>
+#include <asm/uaccess.h>
+#include <asm/atomic.h>
+#include <asm/unistd.h>
+
+#include <plat/gpio-cfg.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-gpio.h>
+
+#include <plat/gpio-bank-e.h>
+#include <plat/gpio-bank-k.h>
+
+#define DEVICE_NAME "leds"
+
+static int sbc2440_leds_ioctl(
+	struct inode *inode, 
+	struct file *file, 
+	unsigned int cmd, 
+	unsigned long arg)
+{
+	switch(cmd) {
+		unsigned tmp;
+	case 0:
+	case 1:
+		if (arg > 4) {
+			return -EINVAL;
+		}
+		tmp = readl(S3C64XX_GPKDAT);
+		tmp &= ~(1 << (4 + arg));
+		tmp |= ( (!cmd) << (4 + arg) );
+		writel(tmp, S3C64XX_GPKDAT);
+		//printk (DEVICE_NAME": %d %d\n", arg, cmd);
+		return 0;
+	default:
+		return -EINVAL;
+	}
+}
+
+static struct file_operations dev_fops = {
+	.owner	=	THIS_MODULE,
+	.ioctl	=	sbc2440_leds_ioctl,
+};
+
+static struct miscdevice misc = {
+	.minor = MISC_DYNAMIC_MINOR,
+	.name = DEVICE_NAME,
+	.fops = &dev_fops,
+};
+
+static int __init dev_init(void)
+{
+	int ret;
+
+	{
+		unsigned tmp;
+		tmp = readl(S3C64XX_GPKCON);
+		tmp = (tmp & ~(0xffffU<<16))|(0x1111U<<16);
+		writel(tmp, S3C64XX_GPKCON);
+		
+		tmp = readl(S3C64XX_GPKDAT);
+		tmp |= (0xF << 4);
+		writel(tmp, S3C64XX_GPKDAT);
+	}
+
+	ret = misc_register(&misc);
+
+	printk (DEVICE_NAME"\tinitialized\n");
+
+	return ret;
+}
+
+static void __exit dev_exit(void)
+{
+	misc_deregister(&misc);
+}
+
+module_init(dev_init);
+module_exit(dev_exit);
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("FriendlyARM Inc.");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/char/mini6410_pwm.c linux-2.6.28.6/drivers/char/mini6410_pwm.c
--- linux-2.6.28/drivers/char/mini6410_pwm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/char/mini6410_pwm.c	2010-04-01 09:24:09.000000000 +0200
@@ -0,0 +1,162 @@
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/fs.h>
+#include <linux/init.h>
+#include <linux/delay.h>
+#include <linux/poll.h>
+#include <asm/irq.h>
+#include <asm/io.h>
+#include <linux/interrupt.h>
+#include <asm/uaccess.h>
+#include <mach/hardware.h>
+#include <plat/regs-timer.h>
+#include <mach/regs-irq.h>
+#include <asm/mach/time.h>
+#include <linux/clk.h>
+#include <linux/cdev.h>
+#include <linux/device.h>
+#include <linux/miscdevice.h>
+
+#include <plat/gpio-cfg.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-gpio.h>
+
+#include <plat/gpio-bank-e.h>
+#include <plat/gpio-bank-f.h>
+#include <plat/gpio-bank-k.h>
+
+#define DEVICE_NAME     "pwm"
+
+#define PWM_IOCTL_SET_FREQ		1
+#define PWM_IOCTL_STOP			0
+
+static struct semaphore lock;
+
+/* freq:  pclk/50/16/65536 ~ pclk/50/16 
+  * if pclk = 50MHz, freq is 1Hz to 62500Hz
+  * human ear : 20Hz~ 20000Hz
+  */
+static void PWM_Set_Freq( unsigned long freq )
+{
+	unsigned long tcon;
+	unsigned long tcnt;
+	unsigned long tcfg1;
+	unsigned long tcfg0;
+
+	struct clk *clk_p;
+	unsigned long pclk;
+
+	unsigned tmp;
+
+	tmp = readl(S3C64XX_GPFCON);
+	tmp &= ~(0x3U << 28);
+	tmp |=  (0x2U << 28);
+	writel(tmp, S3C64XX_GPFCON);
+
+	tcon = __raw_readl(S3C_TCON);
+	tcfg1 = __raw_readl(S3C_TCFG1);
+	tcfg0 = __raw_readl(S3C_TCFG0);
+
+	//prescaler = 50
+	tcfg0 &= ~S3C_TCFG_PRESCALER0_MASK;
+	tcfg0 |= (50 - 1); 
+
+	//mux = 1/16
+	tcfg1 &= ~S3C_TCFG1_MUX0_MASK;
+	tcfg1 |= S3C_TCFG1_MUX0_DIV16;
+
+	__raw_writel(tcfg1, S3C_TCFG1);
+	__raw_writel(tcfg0, S3C_TCFG0);
+
+	clk_p = clk_get(NULL, "pclk");
+	pclk  = clk_get_rate(clk_p);
+	tcnt  = (pclk/50/16)/freq;
+	
+	__raw_writel(tcnt, S3C_TCNTB(0));
+	__raw_writel(tcnt/2, S3C_TCMPB(0));
+				
+	tcon &= ~0x1f;
+	tcon |= 0xb;		//disable deadzone, auto-reload, inv-off, update TCNTB0&TCMPB0, start timer 0
+	__raw_writel(tcon, S3C_TCON);
+	
+	tcon &= ~2;			//clear manual update bit
+	__raw_writel(tcon, S3C_TCON);
+}
+
+void PWM_Stop( void )
+{
+	unsigned tmp;
+	tmp = readl(S3C64XX_GPFCON);
+	tmp &= ~(0x3U << 28);
+	writel(tmp, S3C64XX_GPFCON);
+}
+
+static int s3c64xx_pwm_open(struct inode *inode, struct file *file)
+{
+	if (!down_trylock(&lock))
+		return 0;
+	else
+		return -EBUSY;
+}
+
+
+static int s3c64xx_pwm_close(struct inode *inode, struct file *file)
+{
+	up(&lock);
+	return 0;
+}
+
+
+static int s3c64xx_pwm_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
+{
+	switch (cmd) {
+		case PWM_IOCTL_SET_FREQ:
+			if (arg == 0)
+				return -EINVAL;
+			PWM_Set_Freq(arg);
+			break;
+
+		case PWM_IOCTL_STOP:
+		default:
+			PWM_Stop();
+			break;
+	}
+
+	return 0;
+}
+
+
+static struct file_operations dev_fops = {
+    .owner   =   THIS_MODULE,
+    .open    =   s3c64xx_pwm_open,
+    .release =   s3c64xx_pwm_close, 
+    .ioctl   =   s3c64xx_pwm_ioctl,
+};
+
+static struct miscdevice misc = {
+	.minor = MISC_DYNAMIC_MINOR,
+	.name = DEVICE_NAME,
+	.fops = &dev_fops,
+};
+
+static int __init dev_init(void)
+{
+	int ret;
+
+	init_MUTEX(&lock);
+	ret = misc_register(&misc);
+
+	printk (DEVICE_NAME"\tinitialized\n");
+    	return ret;
+}
+
+static void __exit dev_exit(void)
+{
+	misc_deregister(&misc);
+}
+
+module_init(dev_init);
+module_exit(dev_exit);
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("FriendlyARM Inc.");
+MODULE_DESCRIPTION("S3C6410 PWM Driver");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/char/s3c_mem.c linux-2.6.28.6/drivers/char/s3c_mem.c
--- linux-2.6.28/drivers/char/s3c_mem.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/char/s3c_mem.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,397 @@
+/*
+ * drivers/char/s3c_mem.c
+ *
+ * Revision 1.0
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file COPYING in the main directory of this archive for
+ * more details.
+ *
+ *	    S3C MEM driver for /dev/mem
+ */
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/types.h>
+#include <linux/timer.h>
+#include <linux/kernel.h>
+#include <linux/fs.h>
+#include <linux/interrupt.h>
+#include <linux/clk.h>
+#include <linux/delay.h>
+#include <asm/uaccess.h>
+#include <linux/errno.h> 	/* error codes */
+#include <asm/div64.h>
+#include <linux/mm.h>
+#include <linux/tty.h>
+#include <asm/io.h>
+#include <asm/irq.h>
+
+#include <asm/uaccess.h>
+#include <linux/mman.h>
+
+#include <linux/unistd.h>
+#include <linux/version.h>
+#include <mach/map.h>
+#include <mach/hardware.h>
+
+#include <linux/dma-mapping.h>
+
+#include <asm/dma.h>
+#include <mach/dma.h>
+#include <plat/dma.h>
+
+#include "s3c_mem.h"
+
+/*----------------------------------------------------------------------*/
+/*                      M2M DMA client 					*/
+/*--------------------------------------------------------------------- */
+
+static struct s3c2410_dma_client s3c_m2m_dma_client = {
+	.name		= "s3c-m2m-dma",
+};
+
+DECLARE_COMPLETION_ONSTACK(s3c_m2m_dma_complete);
+
+static void *s3c_m2m_dma_done = &s3c_m2m_dma_complete;			/* completion */
+
+static void s3c_m2m_dma_finish(struct s3c2410_dma_chan *dma_ch, void *buf_id,
+        int size, enum s3c2410_dma_buffresult result)
+{
+	//printk("s3c_m2m_dma_finish() called\n");
+	complete(s3c_m2m_dma_done);
+}
+/*----------------------------------------------------------------------*/
+
+static int flag = 0;
+
+static unsigned int physical_address;
+
+int s3c_mem_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
+{
+	unsigned long *virt_addr;
+	struct mm_struct *mm = current->mm;
+	struct s3c_mem_alloc param;
+	struct s3c_mem_dma_param dma_param;
+
+	switch (cmd) {
+		case S3C_MEM_ALLOC:
+			mutex_lock(&mem_alloc_lock);
+			if(copy_from_user(&param, (struct s3c_mem_alloc *)arg, sizeof(struct s3c_mem_alloc))){
+				mutex_unlock(&mem_alloc_lock);
+				return -EFAULT;
+			}
+			flag = MEM_ALLOC;
+			param.vir_addr = do_mmap(file, 0, param.size, PROT_READ|PROT_WRITE, MAP_SHARED, 0);
+			DEBUG("param.vir_addr = %08x, %d\n", param.vir_addr, __LINE__);
+			if(param.vir_addr == -EINVAL) {
+				printk("S3C_MEM_ALLOC FAILED\n");
+				flag = 0;
+				mutex_unlock(&mem_alloc_lock);
+				return -EFAULT;
+			}
+			param.phy_addr = physical_address;
+			DEBUG("KERNEL MALLOC : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X, %d\n", param.phy_addr, param.size, param.vir_addr, __LINE__);
+
+			if(copy_to_user((struct s3c_mem_alloc *)arg, &param, sizeof(struct s3c_mem_alloc))){
+				flag = 0;
+				mutex_unlock(&mem_alloc_lock);
+				return -EFAULT;
+			}
+			flag = 0;
+			mutex_unlock(&mem_alloc_lock);
+
+			break;
+
+		case S3C_MEM_CACHEABLE_ALLOC:
+			mutex_lock(&mem_cacheable_alloc_lock);
+			if(copy_from_user(&param, (struct s3c_mem_alloc *)arg, sizeof(struct s3c_mem_alloc))){
+				mutex_unlock(&mem_cacheable_alloc_lock);
+				return -EFAULT;
+			}
+			flag = MEM_ALLOC_CACHEABLE;
+			param.vir_addr = do_mmap(file, 0, param.size, PROT_READ|PROT_WRITE, MAP_SHARED, 0);
+			DEBUG("param.vir_addr = %08x, %d\n", param.vir_addr, __LINE__);
+			if(param.vir_addr == -EINVAL) {
+				printk("S3C_MEM_ALLOC FAILED\n");
+				flag = 0;
+				mutex_unlock(&mem_cacheable_alloc_lock);
+				return -EFAULT;
+			}
+			param.phy_addr = physical_address;
+			DEBUG("KERNEL MALLOC : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X, %d\n", param.phy_addr, param.size, param.vir_addr, __LINE__);
+
+			if(copy_to_user((struct s3c_mem_alloc *)arg, &param, sizeof(struct s3c_mem_alloc))){
+				flag = 0;
+				mutex_unlock(&mem_cacheable_alloc_lock);
+				return -EFAULT;
+			}
+			flag = 0;
+			mutex_unlock(&mem_cacheable_alloc_lock);
+
+			break;
+
+		case S3C_MEM_SHARE_ALLOC:
+			mutex_lock(&mem_share_alloc_lock);
+			if(copy_from_user(&param, (struct s3c_mem_alloc *)arg, sizeof(struct s3c_mem_alloc))){
+				mutex_unlock(&mem_share_alloc_lock);
+				return -EFAULT;
+			}
+			flag = MEM_ALLOC_SHARE;
+			physical_address = param.phy_addr;
+			DEBUG("param.phy_addr = %08x, %d\n", physical_address, __LINE__);
+			param.vir_addr = do_mmap(file, 0, param.size, PROT_READ|PROT_WRITE, MAP_SHARED, 0);
+			DEBUG("param.vir_addr = %08x, %d\n", param.vir_addr, __LINE__);
+			if(param.vir_addr == -EINVAL) {
+				printk("S3C_MEM_SHARE_ALLOC FAILED\n");
+				flag = 0;
+				mutex_unlock(&mem_share_alloc_lock);
+				return -EFAULT;
+			}
+			DEBUG("MALLOC_SHARE : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X, %d\n", param.phy_addr, param.size, param.vir_addr, __LINE__);
+
+			if(copy_to_user((struct s3c_mem_alloc *)arg, &param, sizeof(struct s3c_mem_alloc))){
+				flag = 0;
+				mutex_unlock(&mem_share_alloc_lock);
+				return -EFAULT;
+			}
+			flag = 0;
+			mutex_unlock(&mem_share_alloc_lock);
+
+			break;
+
+		case S3C_MEM_CACHEABLE_SHARE_ALLOC:
+			mutex_lock(&mem_cacheable_share_alloc_lock);
+			if(copy_from_user(&param, (struct s3c_mem_alloc *)arg, sizeof(struct s3c_mem_alloc))){
+				mutex_unlock(&mem_cacheable_share_alloc_lock);
+				return -EFAULT;
+			}
+			flag = MEM_ALLOC_CACHEABLE_SHARE;
+			physical_address = param.phy_addr;
+			DEBUG("param.phy_addr = %08x, %d\n", physical_address, __LINE__);
+			param.vir_addr = do_mmap(file, 0, param.size, PROT_READ|PROT_WRITE, MAP_SHARED, 0);
+			DEBUG("param.vir_addr = %08x, %d\n", param.vir_addr, __LINE__);
+			if(param.vir_addr == -EINVAL) {
+				printk("S3C_MEM_SHARE_ALLOC FAILED\n");
+			flag = 0;
+				mutex_unlock(&mem_cacheable_share_alloc_lock);
+				return -EFAULT;
+			}
+			DEBUG("MALLOC_SHARE : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X, %d\n", param.phy_addr, param.size, param.vir_addr, __LINE__);
+
+			if(copy_to_user((struct s3c_mem_alloc *)arg, &param, sizeof(struct s3c_mem_alloc))){
+				flag = 0;
+				mutex_unlock(&mem_cacheable_share_alloc_lock);
+				return -EFAULT;
+			}
+			flag = 0;
+			mutex_unlock(&mem_cacheable_share_alloc_lock);
+
+			break;
+
+		case S3C_MEM_FREE:
+			mutex_lock(&mem_free_lock);
+			if(copy_from_user(&param, (struct s3c_mem_alloc *)arg, sizeof(struct s3c_mem_alloc))){
+				mutex_unlock(&mem_free_lock);
+				return -EFAULT;
+			}
+
+			DEBUG("KERNEL FREE : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X, %d\n", param.phy_addr, param.size, param.vir_addr, __LINE__);
+
+			if (do_munmap(mm, param.vir_addr, param.size) < 0) {
+				printk("do_munmap() failed !!\n");
+				mutex_unlock(&mem_free_lock);
+				return -EINVAL;
+			}
+			virt_addr = (unsigned long *)phys_to_virt(param.phy_addr);
+
+			kfree(virt_addr);
+			param.size = 0;
+			DEBUG("do_munmap() succeed !!\n");
+
+			if(copy_to_user((struct s3c_mem_alloc *)arg, &param, sizeof(struct s3c_mem_alloc))){
+				mutex_unlock(&mem_free_lock);
+				return -EFAULT;
+			}
+
+			mutex_unlock(&mem_free_lock);
+
+			break;
+
+		case S3C_MEM_SHARE_FREE:
+			mutex_lock(&mem_share_free_lock);
+			if(copy_from_user(&param, (struct s3c_mem_alloc *)arg, sizeof(struct s3c_mem_alloc))){
+				mutex_unlock(&mem_share_free_lock);
+				return -EFAULT;
+			}
+
+			DEBUG("MEM_SHARE_FREE : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X, %d\n", param.phy_addr, param.size, param.vir_addr, __LINE__);
+
+			if (do_munmap(mm, param.vir_addr, param.size) < 0) {
+				printk("do_munmap() failed - MEM_SHARE_FREE!!\n");
+				mutex_unlock(&mem_share_free_lock);
+				return -EINVAL;
+			}
+
+			param.vir_addr = 0;
+			DEBUG("do_munmap() succeed !! - MEM_SHARE_FREE\n");
+
+			if(copy_to_user((struct s3c_mem_alloc *)arg, &param, sizeof(struct s3c_mem_alloc))){
+				mutex_unlock(&mem_share_free_lock);
+				return -EFAULT;
+			}
+
+			mutex_unlock(&mem_share_free_lock);
+
+			break;
+
+
+		case S3C_MEM_DMA_COPY:
+			if(copy_from_user(&dma_param, (struct s3c_mem_dma_param *)arg, sizeof(struct s3c_mem_dma_param))) {
+				return -EFAULT;
+			}
+			//printk("S3C_MEM_DMA_COPY called\n");
+
+			if (s3c2410_dma_request(DMACH_3D_M2M, &s3c_m2m_dma_client, NULL)) {
+				printk(KERN_WARNING "Unable to get DMA channel.\n");
+				return -1;
+			}
+
+			s3c2410_dma_set_buffdone_fn(DMACH_3D_M2M, s3c_m2m_dma_finish);
+
+			//dma_cache_maint(dma_param.src_addr,sizeof(unsigned long long), DMA_BIDIRECTIONAL);
+
+ //  		    	printk("MEMCPY src=%p,dst=%p,size=%d\n", dma_param.src_addr,dma_param.dst_addr, dma_param.size);
+
+			/* Source address */
+			s3c2410_dma_devconfig(DMACH_3D_M2M, S3C_DMA_MEM2MEM, 1, dma_param.src_addr);
+			s3c2410_dma_config(DMACH_3D_M2M, 8, 0);
+
+			/* Destination address : Data buffer address */
+			s3c2410_dma_enqueue(DMACH_3D_M2M, 0, dma_param.dst_addr, dma_param.size);
+			s3c2410_dma_ctrl(DMACH_3D_M2M, S3C2410_DMAOP_START);
+
+			wait_for_completion(&s3c_m2m_dma_complete);
+#if 0
+			/* Destination address : Data buffer address */
+			s3c2410_dma_enqueue(DMACH_3D_M2M, 0, 0x27a00000, 0x4000);
+			s3c2410_dma_enqueue(DMACH_3D_M2M, 0, 0x27a00000+0x10000, 0x4000);
+			s3c2410_dma_enqueue(DMACH_3D_M2M, 0, 0x27a00000+0x20000, 0x4000);
+			s3c2410_dma_ctrl(DMACH_3D_M2M, S3C2410_DMAOP_START);
+
+			wait_for_completion(&s3c_m2m_dma_complete);
+			//wait_for_completion(&s3c_m2m_dma_complete);
+			//wait_for_completion(&s3c_m2m_dma_complete);
+
+			s3c2410_dma_enqueue(DMACH_3D_M2M, 0, 0x27a00000+0x30000, 0x4000);
+			s3c2410_dma_enqueue(DMACH_3D_M2M, 0, 0x27a00000+0x40000, 0x4000);
+			s3c2410_dma_ctrl(DMACH_3D_M2M, S3C2410_DMAOP_START);
+			wait_for_completion(&s3c_m2m_dma_complete);
+			//wait_for_completion(&s3c_m2m_dma_complete);
+
+			s3c2410_dma_enqueue(DMACH_3D_M2M, 0, 0x27a00000+0x50000, 0x4000);
+			s3c2410_dma_ctrl(DMACH_3D_M2M, S3C2410_DMAOP_START);
+			wait_for_completion(&s3c_m2m_dma_complete);
+#endif
+
+			s3c2410_dma_free(DMACH_3D_M2M, &s3c_m2m_dma_client);
+
+			if(copy_to_user((struct s3c_mem_dma_param *)arg, &dma_param, sizeof(struct s3c_mem_dma_param))) {
+				return -EFAULT;
+			}
+
+			break;
+
+		case S3C_MEM_DMA_SET:
+			if(copy_from_user(&dma_param, (struct s3c_mem_dma_param *)arg, sizeof(struct s3c_mem_dma_param))) {
+				return -EFAULT;
+			}
+
+			if (s3c2410_dma_request(DMACH_3D_M2M, &s3c_m2m_dma_client, NULL)) {
+				printk(KERN_WARNING "Unable to get DMA channel.\n");
+				return -1;
+			}
+
+			s3c2410_dma_set_buffdone_fn(DMACH_3D_M2M, s3c_m2m_dma_finish);
+
+			//dma_cache_maint(dma_param.src_addr,sizeof(unsigned long long), DMA_BIDIRECTIONAL);
+
+//   		    	printk("MEMSET src=%p,dst=%p,size=%d\n", dma_param.src_addr,dma_param.dst_addr, dma_param.size);
+
+			/* Source address */
+			s3c2410_dma_devconfig(DMACH_3D_M2M, S3C_DMA_MEM2MEM_SET, 1,dma_param.src_addr); 
+			s3c2410_dma_config(DMACH_3D_M2M, 8, 0);
+			
+			/* Destination address : Data buffer address */
+			s3c2410_dma_enqueue(DMACH_3D_M2M, 0, dma_param.dst_addr, dma_param.size);
+			s3c2410_dma_ctrl(DMACH_3D_M2M, S3C2410_DMAOP_START);
+
+			wait_for_completion(&s3c_m2m_dma_complete);
+
+			s3c2410_dma_free(DMACH_3D_M2M, &s3c_m2m_dma_client);
+
+			if(copy_to_user((struct s3c_mem_dma_param *)arg, &dma_param, sizeof(struct s3c_mem_dma_param))) {
+				return -EFAULT;
+			}
+			break;
+
+		default:
+			DEBUG("s3c_mem_ioctl() : default !!\n");
+			return -EINVAL;
+	}
+
+	return 0;
+}
+
+int s3c_mem_mmap(struct file* filp, struct vm_area_struct *vma)
+{
+	unsigned long pageFrameNo=0, size, phys_addr;
+	unsigned long *virt_addr;
+
+	size = vma->vm_end - vma->vm_start;
+
+	switch (flag) {
+	case MEM_ALLOC :
+	case MEM_ALLOC_CACHEABLE :
+		virt_addr = (unsigned long *)kmalloc(size, GFP_DMA|GFP_ATOMIC);
+
+		if (virt_addr == NULL) {
+			printk("kmalloc() failed !\n");
+			return -EINVAL;
+		}
+		DEBUG("MMAP_KMALLOC : virt addr = 0x%08x, size = %d, %d\n", virt_addr, size, __LINE__);
+		phys_addr = virt_to_phys((unsigned long *)virt_addr);
+		physical_address = (unsigned int)phys_addr;
+
+		pageFrameNo = __phys_to_pfn(phys_addr);
+		break;
+
+	case MEM_ALLOC_SHARE :
+	case MEM_ALLOC_CACHEABLE_SHARE :
+		DEBUG("MMAP_KMALLOC_SHARE : phys addr = 0x%08x, %d\n", physical_address, __LINE__);
+
+		// page frame number of the address for the physical_address to be shared.
+		pageFrameNo = __phys_to_pfn(physical_address);
+		DEBUG("MMAP_KMALLOC_SHARE : vma->end = 0x%08x, vma->start = 0x%08x, size = %d, %d\n", vma->vm_end, vma->vm_start, size, __LINE__);
+		break;
+
+	default :
+		break;
+	}
+
+	if( (flag == MEM_ALLOC) || (flag == MEM_ALLOC_SHARE) )
+		vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+
+	vma->vm_flags |= VM_RESERVED;
+
+	if (remap_pfn_range(vma, vma->vm_start, pageFrameNo, size, vma->vm_page_prot)) {
+		printk("s3c_mem_mmap() : remap_pfn_range() failed !\n");
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+EXPORT_SYMBOL(s3c_mem_ioctl);
+EXPORT_SYMBOL(s3c_mem_mmap);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/char/s3c_mem.h linux-2.6.28.6/drivers/char/s3c_mem.h
--- linux-2.6.28/drivers/char/s3c_mem.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/char/s3c_mem.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,52 @@
+#define DEBUG_S3C_MEM
+#undef	DEBUG_S3C_MEM
+
+#ifdef DEBUG_S3C_MEM
+#define DEBUG(fmt,args...) 	printk(fmt, ##args)
+#else
+#define DEBUG(fmt,args...) 	do {} while(0)
+#endif
+
+#define MEM_IOCTL_MAGIC			'M'
+
+#define S3C_MEM_ALLOC			_IOWR(MEM_IOCTL_MAGIC, 310, struct s3c_mem_alloc)
+#define S3C_MEM_FREE			_IOWR(MEM_IOCTL_MAGIC, 311, struct s3c_mem_alloc)
+
+#define S3C_MEM_SHARE_ALLOC		_IOWR(MEM_IOCTL_MAGIC, 314, struct s3c_mem_alloc)
+#define S3C_MEM_SHARE_FREE		_IOWR(MEM_IOCTL_MAGIC, 315, struct s3c_mem_alloc)
+
+#define S3C_MEM_CACHEABLE_ALLOC		_IOWR(MEM_IOCTL_MAGIC, 316, struct s3c_mem_alloc)
+#define S3C_MEM_CACHEABLE_SHARE_ALLOC	_IOWR(MEM_IOCTL_MAGIC, 317, struct s3c_mem_alloc)
+
+#define S3C_MEM_DMA_COPY		_IOWR(MEM_IOCTL_MAGIC, 318, struct s3c_mem_dma_param)
+#define S3C_MEM_DMA_SET			_IOWR(MEM_IOCTL_MAGIC, 319, struct s3c_mem_dma_param)
+
+#define MEM_ALLOC			1
+#define MEM_ALLOC_SHARE			2
+#define MEM_ALLOC_CACHEABLE		3
+#define MEM_ALLOC_CACHEABLE_SHARE	4
+
+#define S3C_MEM_MINOR  			13
+
+static DEFINE_MUTEX(mem_alloc_lock);
+static DEFINE_MUTEX(mem_free_lock);
+
+static DEFINE_MUTEX(mem_share_alloc_lock);
+static DEFINE_MUTEX(mem_share_free_lock);
+
+static DEFINE_MUTEX(mem_cacheable_alloc_lock);
+static DEFINE_MUTEX(mem_cacheable_share_alloc_lock);
+
+struct s3c_mem_alloc {
+	int		size;
+	unsigned int 	vir_addr;
+	unsigned int 	phy_addr;
+};
+
+struct s3c_mem_dma_param {
+	int		size;
+	unsigned int 	src_addr;
+	unsigned int 	dst_addr;
+	int		cfg;
+};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/i2c/busses/Kconfig linux-2.6.28.6/drivers/i2c/busses/Kconfig
--- linux-2.6.28/drivers/i2c/busses/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/i2c/busses/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -455,11 +455,12 @@
 	  I2C bus.
 
 config I2C_S3C2410
-	tristate "S3C2410 I2C Driver"
-	depends on ARCH_S3C2410
+	tristate "Samsung SoC I2C Driver (S3C24XX, S3C64XX and S5PC1XX series)"
+	depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5PC1XX || ARCH_S5P64XX
 	help
 	  Say Y here to include support for I2C controller in the
-	  Samsung S3C2410 based System-on-Chip devices.
+	  Samsung S3C based System-on-Chip devices such as the S3C2410,
+	  S3C2440, S3C2442, S3C2443 and S3C6410.
 
 config I2C_SH7760
 	tristate "Renesas SH7760 I2C Controller"
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/i2c/busses/i2c-s3c2410.c linux-2.6.28.6/drivers/i2c/busses/i2c-s3c2410.c
--- linux-2.6.28/drivers/i2c/busses/i2c-s3c2410.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/i2c/busses/i2c-s3c2410.c	2009-04-30 09:36:38.000000000 +0200
@@ -34,14 +34,12 @@
 #include <linux/platform_device.h>
 #include <linux/clk.h>
 #include <linux/cpufreq.h>
+#include <linux/io.h>
 
-#include <mach/hardware.h>
 #include <asm/irq.h>
-#include <asm/io.h>
 
-#include <mach/regs-gpio.h>
-#include <asm/plat-s3c/regs-iic.h>
-#include <asm/plat-s3c/iic.h>
+#include <plat/regs-iic.h>
+#include <plat/iic.h>
 
 /* i2c controller state */
 
@@ -64,6 +62,7 @@
 	unsigned int		msg_ptr;
 
 	unsigned int		tx_setup;
+	unsigned int		irq;
 
 	enum s3c24xx_i2c_state	state;
 	unsigned long		clkrate;
@@ -71,7 +70,6 @@
 	void __iomem		*regs;
 	struct clk		*clk;
 	struct device		*dev;
-	struct resource		*irq;
 	struct resource		*ioarea;
 	struct i2c_adapter	adap;
 
@@ -80,16 +78,7 @@
 #endif
 };
 
-/* default platform data to use if not supplied in the platform_device
-*/
-
-static struct s3c2410_platform_i2c s3c24xx_i2c_default_platform = {
-	.flags		= 0,
-	.slave_addr	= 0x10,
-	.bus_freq	= 100*1000,
-	.max_freq	= 400*1000,
-	.sda_delay	= S3C2410_IICLC_SDA_DELAY5 | S3C2410_IICLC_FILTER_ON,
-};
+/* default platform data removed, dev should always carry data. */
 
 /* s3c24xx_i2c_is2440()
  *
@@ -103,21 +92,6 @@
 	return !strcmp(pdev->name, "s3c2440-i2c");
 }
 
-
-/* s3c24xx_i2c_get_platformdata
- *
- * get the platform data associated with the given device, or return
- * the default if there is none
-*/
-
-static inline struct s3c2410_platform_i2c *s3c24xx_i2c_get_platformdata(struct device *dev)
-{
-	if (dev->platform_data != NULL)
-		return (struct s3c2410_platform_i2c *)dev->platform_data;
-
-	return &s3c24xx_i2c_default_platform;
-}
-
 /* s3c24xx_i2c_master_complete
  *
  * complete the message and wake up the caller, using the given return code,
@@ -130,7 +104,7 @@
 
 	i2c->msg_ptr = 0;
 	i2c->msg = NULL;
-	i2c->msg_idx ++;
+	i2c->msg_idx++;
 	i2c->msg_num = 0;
 	if (ret)
 		i2c->msg_idx = ret;
@@ -199,7 +171,7 @@
 	if (msg->flags & I2C_M_REV_DIR_ADDR)
 		addr ^= 1;
 
-	// todo - check for wether ack wanted or not
+	/* todo - check for wether ack wanted or not */
 	s3c24xx_i2c_enable_ack(i2c);
 
 	iiccon = readl(i2c->regs + S3C2410_IICCON);
@@ -227,7 +199,7 @@
 	dev_dbg(i2c->dev, "STOP\n");
 
 	/* stop the transfer */
-	iicstat &= ~ S3C2410_IICSTAT_START;
+	iicstat &= ~S3C2410_IICSTAT_START;
 	writel(iicstat, i2c->regs + S3C2410_IICSTAT);
 	
 	i2c->state = STATE_STOP;
@@ -359,7 +331,7 @@
 			dev_dbg(i2c->dev, "WRITE: Next Message\n");
 
 			i2c->msg_ptr = 0;
-			i2c->msg_idx ++;
+			i2c->msg_idx++;
 			i2c->msg++;
 			
 			/* check to see if we need to do another message */
@@ -375,7 +347,6 @@
 
 				goto retry_write;
 			} else {
-			
 				/* send the new start */
 				s3c24xx_i2c_message_start(i2c, i2c->msg);
 				i2c->state = STATE_START;
@@ -450,7 +421,7 @@
 	status = readl(i2c->regs + S3C2410_IICSTAT);
 
 	if (status & S3C2410_IICSTAT_ARBITR) {
-		// deal with arbitration loss
+		/* deal with arbitration loss */
 		dev_err(i2c->dev, "deal with arbitration loss\n");
 	}
 
@@ -492,9 +463,6 @@
 		msleep(1);
 	}
 
-	dev_dbg(i2c->dev, "timeout: GPEDAT is %08x\n",
-		__raw_readl(S3C2410_GPEDAT));
-
 	return -ETIMEDOUT;
 }
 
@@ -503,7 +471,8 @@
  * this starts an i2c transfer
 */
 
-static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c, struct i2c_msg *msgs, int num)
+static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c,
+			      struct i2c_msg *msgs, int num)
 {
 	unsigned long timeout;
 	int ret;
@@ -591,19 +560,6 @@
 	.functionality		= s3c24xx_i2c_func,
 };
 
-static struct s3c24xx_i2c s3c24xx_i2c = {
-	.lock		= __SPIN_LOCK_UNLOCKED(s3c24xx_i2c.lock),
-	.wait		= __WAIT_QUEUE_HEAD_INITIALIZER(s3c24xx_i2c.wait),
-	.tx_setup	= 50,
-	.adap		= {
-		.name			= "s3c2410-i2c",
-		.owner			= THIS_MODULE,
-		.algo			= &s3c24xx_i2c_algorithm,
-		.retries		= 2,
-		.class			= I2C_CLASS_HWMON | I2C_CLASS_SPD,
-	},
-};
-
 /* s3c24xx_i2c_calcdivisor
  *
  * return the divisor settings for a given frequency
@@ -643,7 +599,7 @@
 {
 	int diff = freq - wanted;
 
-	return (diff >= -2 && diff <= 2);
+	return diff >= -2 && diff <= 2;
 }
 
 /* s3c24xx_i2c_clockrate
@@ -655,7 +611,7 @@
 
 static int s3c24xx_i2c_clockrate(struct s3c24xx_i2c *i2c, unsigned int *got)
 {
-	struct s3c2410_platform_i2c *pdata;
+	struct s3c2410_platform_i2c *pdata = i2c->dev->platform_data;
 	unsigned long clkin = clk_get_rate(i2c->clk);
 	unsigned int divs, div1;
 	u32 iiccon;
@@ -663,8 +619,6 @@
 	int start, end;
 
 	i2c->clkrate = clkin;
-
-	pdata = s3c24xx_i2c_get_platformdata(i2c->adap.dev.parent);
 	clkin /= 1000;		/* clkin now in KHz */
      
 	dev_dbg(i2c->dev, "pdata %p, freq %lu %lu..%lu\n",
@@ -785,12 +739,12 @@
 
 	/* get the plafrom data */
 
-	pdata = s3c24xx_i2c_get_platformdata(i2c->adap.dev.parent);
+	pdata = i2c->dev->platform_data;
 
 	/* inititalise the gpio */
 
-	s3c2410_gpio_cfgpin(S3C2410_GPE15, S3C2410_GPE15_IICSDA);
-	s3c2410_gpio_cfgpin(S3C2410_GPE14, S3C2410_GPE14_IICSCL);
+	if (pdata->cfg_gpio)
+		pdata->cfg_gpio(to_platform_device(i2c->dev));
 
 	/* write slave address */
 	
@@ -831,12 +785,32 @@
 
 static int s3c24xx_i2c_probe(struct platform_device *pdev)
 {
-	struct s3c24xx_i2c *i2c = &s3c24xx_i2c;
+	struct s3c24xx_i2c *i2c;
 	struct s3c2410_platform_i2c *pdata;
 	struct resource *res;
 	int ret;
 
-	pdata = s3c24xx_i2c_get_platformdata(&pdev->dev);
+	pdata = pdev->dev.platform_data;
+	if (!pdata) {
+		dev_err(&pdev->dev, "no platform data\n");
+		return -EINVAL;
+	}
+
+	i2c = kzalloc(sizeof(struct s3c24xx_i2c), GFP_KERNEL);
+	if (!i2c) {
+		dev_err(&pdev->dev, "no memory for state\n");
+		return -ENOMEM;
+	}
+
+	strlcpy(i2c->adap.name, "s3c2410-i2c", sizeof(i2c->adap.name));
+	i2c->adap.owner   = THIS_MODULE;
+	i2c->adap.algo    = &s3c24xx_i2c_algorithm;
+	i2c->adap.retries = 2;
+	i2c->adap.class   = I2C_CLASS_HWMON | I2C_CLASS_SPD;
+	i2c->tx_setup     = 50;
+
+	spin_lock_init(&i2c->lock);
+	init_waitqueue_head(&i2c->wait);
 
 	/* find the clock and enable it */
 
@@ -878,7 +852,8 @@
 		goto err_ioarea;
 	}
 
-	dev_dbg(&pdev->dev, "registers %p (%p, %p)\n", i2c->regs, i2c->ioarea, res);
+	dev_dbg(&pdev->dev, "registers %p (%p, %p)\n",
+		i2c->regs, i2c->ioarea, res);
 
 	/* setup info block for the i2c core */
 
@@ -895,26 +870,20 @@
 	 * ensure no current IRQs pending 
 	 */
 
-	res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
-	if (res == NULL) {
+	i2c->irq = ret = platform_get_irq(pdev, 0);
+	if (ret <= 0) {
 		dev_err(&pdev->dev, "cannot find IRQ\n");
-		ret = -ENOENT;
 		goto err_iomap;
 	}
 
-	ret = request_irq(res->start, s3c24xx_i2c_irq, IRQF_DISABLED,
-			  pdev->name, i2c);
+	ret = request_irq(i2c->irq, s3c24xx_i2c_irq, IRQF_DISABLED,
+			  dev_name(&pdev->dev), i2c);
 
 	if (ret != 0) {
-		dev_err(&pdev->dev, "cannot claim IRQ\n");
+		dev_err(&pdev->dev, "cannot claim IRQ %d\n", i2c->irq);
 		goto err_iomap;
 	}
 
-	i2c->irq = res;
-		
-	dev_dbg(&pdev->dev, "irq resource %p (%lu)\n", res,
-		(unsigned long)res->start);
-
 	ret = s3c24xx_i2c_register_cpufreq(i2c);
 	if (ret < 0) {
 		dev_err(&pdev->dev, "failed to register cpufreq notifier\n");
@@ -944,7 +913,7 @@
 	s3c24xx_i2c_deregister_cpufreq(i2c);
 
  err_irq:
-	free_irq(i2c->irq->start, i2c);
+	free_irq(i2c->irq, i2c);
 
  err_iomap:
 	iounmap(i2c->regs);
@@ -958,6 +927,7 @@
 	clk_put(i2c->clk);
 
  err_noclk:
+	kfree(i2c);
 	return ret;
 }
 
@@ -973,7 +943,7 @@
 	s3c24xx_i2c_deregister_cpufreq(i2c);
 
 	i2c_del_adapter(&i2c->adap);
-	free_irq(i2c->irq->start, i2c);
+	free_irq(i2c->irq, i2c);
 
 	clk_disable(i2c->clk);
 	clk_put(i2c->clk);
@@ -982,6 +952,7 @@
 
 	release_resource(i2c->ioarea);
 	kfree(i2c->ioarea);
+	kfree(i2c);
 
 	return 0;
 }
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/input/keyboard/Kconfig linux-2.6.28.6/drivers/input/keyboard/Kconfig
--- linux-2.6.28/drivers/input/keyboard/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/input/keyboard/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -295,6 +295,16 @@
 	  To compile this driver as a module, choose M here: the
 	  module will be called gpio-keys.
 
+config KEYPAD_S3C
+        tristate "S3C keypad support"
+        depends on (CPU_S3C6400 || CPU_S3C6410 || CPU_S5PC100)
+        default n
+        help
+          Say Y here if you want to use the S3C SMDK keypad.
+
+          To compile this driver as a module, choose M here: the
+          module will be called s3c-keypad.
+
 config KEYBOARD_MAPLE
 	tristate "Maple bus keyboard"
 	depends on SH_DREAMCAST && MAPLE
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/input/keyboard/Makefile linux-2.6.28.6/drivers/input/keyboard/Makefile
--- linux-2.6.28/drivers/input/keyboard/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/input/keyboard/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -27,3 +27,4 @@
 obj-$(CONFIG_KEYBOARD_MAPLE)		+= maple_keyb.o
 obj-$(CONFIG_KEYBOARD_BFIN)		+= bf54x-keys.o
 obj-$(CONFIG_KEYBOARD_SH_KEYSC)		+= sh_keysc.o
+obj-$(CONFIG_KEYPAD_S3C)                += s3c-keypad.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/input/keyboard/s3c-keypad.c linux-2.6.28.6/drivers/input/keyboard/s3c-keypad.c
--- linux-2.6.28/drivers/input/keyboard/s3c-keypad.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/input/keyboard/s3c-keypad.c	2009-10-24 17:20:48.000000000 +0200
@@ -0,0 +1,409 @@
+/* drivers/input/keyboard/s3c-keypad.c
+ *
+ * Driver core for Samsung SoC onboard UARTs.
+ *
+ * Kim Kyoungil, Copyright (c) 2006-2009 Samsung Electronics
+ *      http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/interrupt.h>
+#include <linux/input.h>
+#include <linux/platform_device.h>
+#include <linux/miscdevice.h>
+#include <linux/clk.h>
+
+#include <linux/io.h>
+#include <mach/hardware.h>
+#include <asm/delay.h>
+#include <asm/irq.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/regs-keypad.h>
+
+#include "s3c-keypad.h"
+
+#undef S3C_KEYPAD_DEBUG 
+//#define S3C_KEYPAD_DEBUG 
+
+#ifdef S3C_KEYPAD_DEBUG
+#define DPRINTK(x...) printk("S3C-Keypad " x)
+#else
+#define DPRINTK(x...)		/* !!!! */
+#endif
+
+#define DEVICE_NAME "s3c-keypad"
+
+#define TRUE 1
+#define FALSE 0
+
+static struct timer_list keypad_timer;
+static int is_timer_on = FALSE;
+static struct clk *keypad_clock;
+
+static int keypad_scan(u32 *keymask_low, u32 *keymask_high)
+{
+	int i,j = 0;
+	u32 cval,rval;
+	
+	for (i=0; i<KEYPAD_COLUMNS; i++) {
+		cval = readl(key_base+S3C_KEYIFCOL) | KEYCOL_DMASK;
+		cval &= ~(1 << i);
+		writel(cval, key_base+S3C_KEYIFCOL);
+
+		udelay(KEYPAD_DELAY);
+
+		rval = ~(readl(key_base+S3C_KEYIFROW)) & KEYROW_DMASK;
+		
+		//printk("[KEY]rval=%x\n",rval);
+		
+		//MAX is 64 buttons, so we can use 2 WORD to save the status of keyboards		
+		if ((i*KEYPAD_ROWS) < MAX_KEYMASK_NR)
+			*keymask_low |= (rval << (i * KEYPAD_ROWS));
+		else {
+			*keymask_high |= (rval << (j * KEYPAD_ROWS));
+			j = j + 1;
+		}
+	}
+
+	writel(KEYIFCOL_CLEAR, key_base+S3C_KEYIFCOL);
+
+	return 0;
+}
+
+static unsigned prevmask_low = 0, prevmask_high = 0;
+
+static void keypad_timer_handler(unsigned long data)
+{
+	u32 keymask_low = 0, keymask_high = 0;
+	u32 press_mask_low, press_mask_high;
+	u32 release_mask_low, release_mask_high;
+	int i;
+	struct s3c_keypad *pdata = (struct s3c_keypad *)data;
+	struct input_dev *dev = pdata->dev;
+
+	keypad_scan(&keymask_low, &keymask_high);
+
+	DPRINTK("[KEY]keypad_timer_handler.kl=%x,kh=%x\n",keymask_low, keymask_high);
+
+	if (keymask_low != prevmask_low) {
+		press_mask_low =
+			((keymask_low ^ prevmask_low) & keymask_low); 
+		release_mask_low =
+			((keymask_low ^ prevmask_low) & prevmask_low); 
+
+		i = 0;
+		while (press_mask_low) {
+			if (press_mask_low & 1) {
+				input_report_key(dev,pdata->keycodes[i],1);
+				DPRINTK("low Pressed  : %d\n",i);
+			}
+			press_mask_low >>= 1;
+			i++;
+		}
+
+		i = 0;
+		while (release_mask_low) {
+			if (release_mask_low & 1) {
+				input_report_key(dev,pdata->keycodes[i],0);
+				DPRINTK("low Released : %d\n",i);
+			}
+			release_mask_low >>= 1;
+			i++;
+		}
+		prevmask_low = keymask_low;
+	}
+
+	if (keymask_high != prevmask_high) {
+		press_mask_high =
+			((keymask_high ^ prevmask_high) & keymask_high); 
+		release_mask_high =
+			((keymask_high ^ prevmask_high) & prevmask_high);
+
+		i = 0;
+		while (press_mask_high) {
+			if (press_mask_high & 1) {
+				input_report_key(dev,pdata->keycodes[i+MAX_KEYMASK_NR],1);
+				DPRINTK("high Pressed  : %d %d\n",pdata->keycodes[i+MAX_KEYMASK_NR],i);
+			}
+			press_mask_high >>= 1;
+			i++;
+		}
+
+		i = 0;
+		while (release_mask_high) {
+			if (release_mask_high & 1) {
+				input_report_key(dev,pdata->keycodes[i+MAX_KEYMASK_NR],0);
+				DPRINTK("high Released : %d\n",pdata->keycodes[i+MAX_KEYMASK_NR]);
+			}
+			release_mask_high >>= 1;
+			i++;
+		}
+		prevmask_high = keymask_high;
+	}
+
+	if (keymask_low | keymask_high) {
+		mod_timer(&keypad_timer,jiffies + HZ/10);
+	} else {
+		writel(KEYIFCON_INIT, key_base+S3C_KEYIFCON);
+		is_timer_on = FALSE;
+	}	
+}
+
+static irqreturn_t s3c_keypad_isr(int irq, void *dev_id)
+{
+	//printk("[KEY]s3c_keypad_isr.\n");	
+	/* disable keypad interrupt and schedule for keypad timer handler */
+	writel(readl(key_base+S3C_KEYIFCON) & ~(INT_F_EN|INT_R_EN), key_base+S3C_KEYIFCON);
+
+	keypad_timer.expires = jiffies + (HZ/100);
+	if ( is_timer_on == FALSE) {
+		add_timer(&keypad_timer);
+		is_timer_on = TRUE;
+	} else {
+		mod_timer(&keypad_timer,keypad_timer.expires);
+	}
+	/*Clear the keypad interrupt status*/
+	writel(KEYIFSTSCLR_CLEAR, key_base+S3C_KEYIFSTSCLR);
+
+	return IRQ_HANDLED;
+}
+
+
+
+static int __init s3c_keypad_probe(struct platform_device *pdev)
+{
+	struct resource *res, *keypad_mem, *keypad_irq;
+	struct input_dev *input_dev;
+	struct s3c_keypad *s3c_keypad;
+	int ret, size;
+	int key, code;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (res == NULL) {
+		dev_err(&pdev->dev,"no memory resource specified\n");
+		return -ENOENT;
+	}
+
+	size = (res->end - res->start) + 1;
+
+	keypad_mem = request_mem_region(res->start, size, pdev->name);
+	if (keypad_mem == NULL) {
+		dev_err(&pdev->dev, "failed to get memory region\n");
+		ret = -ENOENT;
+		goto err_req;
+	}
+
+	key_base = ioremap(res->start, size);
+	if (key_base == NULL) {
+		printk(KERN_ERR "Failed to remap register block\n");
+		ret = -ENOMEM;
+		goto err_map;
+	}
+
+	keypad_clock = clk_get(&pdev->dev, "keypad");
+	if (IS_ERR(keypad_clock)) {
+		dev_err(&pdev->dev, "failed to find keypad clock source\n");
+		ret = PTR_ERR(keypad_clock);
+		goto err_clk;
+	}
+
+	clk_enable(keypad_clock);
+	
+	s3c_keypad = kzalloc(sizeof(struct s3c_keypad), GFP_KERNEL);
+	input_dev = input_allocate_device();
+
+	if (!s3c_keypad || !input_dev) {
+		ret = -ENOMEM;
+		goto err_alloc;
+	}
+
+	platform_set_drvdata(pdev, s3c_keypad);
+	s3c_keypad->dev = input_dev;
+	
+	writel(KEYIFCON_INIT, key_base+S3C_KEYIFCON);
+	writel(KEYIFFC_DIV, key_base+S3C_KEYIFFC);
+
+	/* Set GPIO Port for keypad mode and pull-up disable*/
+	s3c_setup_keypad_cfg_gpio(KEYPAD_ROWS, KEYPAD_COLUMNS);
+
+	writel(KEYIFCOL_CLEAR, key_base+S3C_KEYIFCOL);
+
+	/* create and register the input driver */
+	set_bit(EV_KEY, input_dev->evbit);
+	set_bit(EV_REP, input_dev->evbit);
+	s3c_keypad->nr_rows = KEYPAD_ROWS;
+	s3c_keypad->no_cols = KEYPAD_COLUMNS;
+	s3c_keypad->total_keys = MAX_KEYPAD_NR;
+
+	for(key = 0; key < s3c_keypad->total_keys; key++){
+		code = s3c_keypad->keycodes[key] = keypad_keycode[key];
+		if(code<=0)
+			continue;
+		set_bit(code & KEY_MAX, input_dev->keybit);
+	}
+
+	input_dev->name = DEVICE_NAME;
+	input_dev->phys = "s3c-keypad/input0";
+	
+	input_dev->id.bustype = BUS_HOST;
+	input_dev->id.vendor = 0x0001;
+	input_dev->id.product = 0x0001;
+	input_dev->id.version = 0x0001;
+
+	input_dev->keycode = keypad_keycode;
+
+	/* Scan timer init */
+	init_timer(&keypad_timer);
+	keypad_timer.function = keypad_timer_handler;
+	keypad_timer.data = (unsigned long)s3c_keypad;
+
+	/* For IRQ_KEYPAD */
+	keypad_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
+	if (keypad_irq == NULL) {
+		dev_err(&pdev->dev, "no irq resource specified\n");
+		ret = -ENOENT;
+		goto err_irq;
+	}
+
+	ret = request_irq(keypad_irq->start, s3c_keypad_isr, IRQF_SAMPLE_RANDOM,
+		DEVICE_NAME, (void *) pdev);
+	if (ret) {
+		printk("request_irq failed (IRQ_KEYPAD) !!!\n");
+		ret = -EIO;
+		goto err_irq;
+	}
+
+	ret = input_register_device(input_dev);
+	if (ret) {
+		printk("Unable to register s3c-keypad input device!!!\n");
+		goto out;
+	}
+
+/*	keypad_timer.expires = jiffies + (HZ/10);
+
+	if (is_timer_on == FALSE) {
+		add_timer(&keypad_timer);
+		is_timer_on = TRUE;
+	} else {
+		mod_timer(&keypad_timer,keypad_timer.expires);
+	}
+*/
+	printk( DEVICE_NAME " Initialized\n");
+	return 0;
+
+out:
+	free_irq(keypad_irq->start, input_dev);
+	free_irq(keypad_irq->end, input_dev);
+
+err_irq:
+	input_free_device(input_dev);
+	kfree(s3c_keypad);
+	
+err_alloc:
+	clk_disable(keypad_clock);
+	clk_put(keypad_clock);
+
+err_clk:
+	iounmap(key_base);
+
+err_map:
+	release_resource(keypad_mem);
+	kfree(keypad_mem);
+
+err_req:
+	return ret;
+}
+
+static int s3c_keypad_remove(struct platform_device *pdev)
+{
+	struct input_dev *input_dev = platform_get_drvdata(pdev);
+	writel(KEYIFCON_CLEAR, key_base+S3C_KEYIFCON);
+
+	if(keypad_clock) {
+		clk_disable(keypad_clock);
+		clk_put(keypad_clock);
+		keypad_clock = NULL;
+	}
+
+	input_unregister_device(input_dev);
+	iounmap(key_base);
+	kfree(pdev->dev.platform_data);
+	free_irq(IRQ_KEYPAD, (void *) pdev);
+
+	del_timer(&keypad_timer);	
+	printk(DEVICE_NAME " Removed.\n");
+	return 0;
+}
+
+#ifdef CONFIG_PM
+static unsigned int keyifcon, keyiffc;
+
+static int s3c_keypad_suspend(struct platform_device *dev, pm_message_t state)
+{
+	keyifcon = readl(key_base+S3C_KEYIFCON);
+	keyiffc = readl(key_base+S3C_KEYIFFC);
+	
+	disable_irq(IRQ_KEYPAD);
+
+	clk_disable(keypad_clock);
+
+	return 0;
+}
+
+static int s3c_keypad_resume(struct platform_device *dev)
+{
+	clk_enable(keypad_clock);
+
+	writel(keyifcon, key_base+S3C_KEYIFCON);
+	writel(keyiffc, key_base+S3C_KEYIFFC);
+
+	enable_irq(IRQ_KEYPAD);
+
+	return 0;
+}
+#else
+#define s3c_keypad_suspend NULL
+#define s3c_keypad_resume  NULL
+#endif /* CONFIG_PM */
+
+static struct platform_driver s3c_keypad_driver = {
+	.probe		= s3c_keypad_probe,
+	.remove		= s3c_keypad_remove,
+	.suspend	= s3c_keypad_suspend,
+	.resume		= s3c_keypad_resume,
+	.driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-keypad",
+	},
+};
+
+static int __init s3c_keypad_init(void)
+{
+	int ret;
+
+	ret = platform_driver_register(&s3c_keypad_driver);
+	
+	if(!ret)
+	   printk(KERN_INFO "S3C Keypad Driver\n");
+
+	return ret;
+}
+
+static void __exit s3c_keypad_exit(void)
+{
+	platform_driver_unregister(&s3c_keypad_driver);
+}
+
+module_init(s3c_keypad_init);
+module_exit(s3c_keypad_exit);
+
+MODULE_AUTHOR("Samsung");
+MODULE_LICENSE("GPL v2");
+MODULE_DESCRIPTION("KeyPad interface for Samsung S3C");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/input/keyboard/s3c-keypad.h linux-2.6.28.6/drivers/input/keyboard/s3c-keypad.h
--- linux-2.6.28/drivers/input/keyboard/s3c-keypad.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/input/keyboard/s3c-keypad.h	2010-04-21 06:37:01.000000000 +0200
@@ -0,0 +1,66 @@
+/* linux/drivers/input/keyboard/s3c-keypad.h 
+ *
+ * Driver header for Samsung SoC keypad.
+ *
+ * Kim Kyoungil, Copyright (c) 2006-2009 Samsung Electronics
+ *      http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+#ifndef _S3C_KEYPAD_H_
+#define _S3C_KEYPAD_H_
+
+static void __iomem *key_base;
+
+#define KEYPAD_COLUMNS	8
+#define KEYPAD_ROWS	8
+#define MAX_KEYPAD_NR	64	/* 8*8 */
+#define MAX_KEYMASK_NR	32
+
+/*int keypad_keycode[] = {
+		1, 2, KEY_1, KEY_Q, KEY_A, 6, 7, KEY_LEFT,
+		9, 10, KEY_2, KEY_W, KEY_S, KEY_Z, KEY_RIGHT, 16,
+		17, 18, KEY_3, KEY_E, KEY_D, KEY_X, 23, KEY_UP,
+		25, 26, KEY_4, KEY_R, KEY_F, KEY_C, 31, 32,
+		33, KEY_O, KEY_5, KEY_T, KEY_G, KEY_V, KEY_DOWN, KEY_BACKSPACE,
+		KEY_P, KEY_0, KEY_6, KEY_Y, KEY_H, KEY_SPACE, 47, 48,
+		KEY_M, KEY_L, KEY_7, KEY_U, KEY_J, KEY_N, 55, KEY_ENTER,
+		KEY_LEFTSHIFT, KEY_9, KEY_8, KEY_I, KEY_K, KEY_B, 63, KEY_COMMA
+	};
+*/
+int keypad_keycode[] = {
+		1, 2, KEY_1, KEY_Q, KEY_A, 6, 7, KEY_LEFT,
+		9, 10, KEY_2, KEY_W, KEY_S, KEY_Z, KEY_RIGHT, 16,
+		17, 18, KEY_3, KEY_E, KEY_D, KEY_X, 23, KEY_UP,
+		KEY_F1,	KEY_UP, KEY_4, KEY_R, KEY_F, KEY_C, 31, 32,
+		KEY_F2,	KEY_LEFT,KEY_5, KEY_T, KEY_G, KEY_V, KEY_DOWN, KEY_BACKSPACE,
+		KEY_F3,KEY_ENTER,KEY_6, KEY_Y, KEY_H, KEY_SPACE, 47, 48,
+		KEY_BACKSPACE,KEY_DOWN,KEY_7, KEY_U, KEY_J, KEY_N, 55, KEY_ENTER,
+		KEY_LEFT,KEY_RIGHT,KEY_9, KEY_8, KEY_I, KEY_K, KEY_B, 63, KEY_COMMA		
+	};
+
+#ifdef CONFIG_CPU_S3C6410
+#define KEYPAD_DELAY		(50)
+#elif CONFIG_CPU_S5PC100
+#define KEYPAD_DELAY		(600)
+#endif
+
+#define	KEYIFCOL_CLEAR		(readl(key_base+S3C_KEYIFCOL) & ~0xffff)
+#define	KEYIFCON_CLEAR		(readl(key_base+S3C_KEYIFCON) & ~0x1f)
+#define KEYIFFC_DIV		(readl(key_base+S3C_KEYIFFC) | 0x1)
+
+struct s3c_keypad {
+	struct input_dev *dev;
+	int nr_rows;	
+	int no_cols;
+	int total_keys; 
+	int keycodes[MAX_KEYPAD_NR];
+};
+
+extern void s3c_setup_keypad_cfg_gpio(int rows, int columns);
+
+#endif				/* _S3C_KEYIF_H_ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/input/touchscreen/Kconfig linux-2.6.28.6/drivers/input/touchscreen/Kconfig
--- linux-2.6.28/drivers/input/touchscreen/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/input/touchscreen/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -58,6 +58,30 @@
 	  NOTE: this driver is deprecated, try enable SPI and generic
 	  ADS7846-based touchscreen driver.
 
+config TOUCHSCREEN_S3C
+        tristate "S3C touchscreen driver"
+        depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5P64XX || ARCH_S5PC1XX
+        default y
+        help
+          Say Y here to enable the driver for the touchscreen on the
+          S3C SMDK board.
+
+          If unsure, say N.
+
+          To compile this driver as a module, choose M here: the
+          module will be called s3c_ts.
+
+config TOUCHSCREEN_NEW
+        bool "new flip touch"
+        depends on TOUCHSCREEN_S3C
+        default y
+        help
+          Say Y here to enable the driver for the new version touchscreen on the
+          S3C SMDK board.
+
+          Say N here to enable the driver for the old version touchscreen on the
+          S3C SMDK board.
+
 config TOUCHSCREEN_FUJITSU
 	tristate "Fujitsu serial touchscreen"
 	select SERIO
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/input/touchscreen/Makefile linux-2.6.28.6/drivers/input/touchscreen/Makefile
--- linux-2.6.28/drivers/input/touchscreen/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/input/touchscreen/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -31,3 +31,4 @@
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9712)	+= wm9712.o
 wm97xx-ts-$(CONFIG_TOUCHSCREEN_WM9713)	+= wm9713.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE)	+= mainstone-wm97xx.o
+obj-$(CONFIG_TOUCHSCREEN_S3C) 		+= s3c-ts.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/input/touchscreen/s3c-ts.c linux-2.6.28.6/drivers/input/touchscreen/s3c-ts.c
--- linux-2.6.28/drivers/input/touchscreen/s3c-ts.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/input/touchscreen/s3c-ts.c	2010-04-09 08:05:25.000000000 +0200
@@ -0,0 +1,519 @@
+/* linux/drivers/input/touchscreen/s3c-ts.c
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Copyright (c) 2004 Arnaud Patard <arnaud.patard@rtp-net.org>
+ * iPAQ H1940 touchscreen support
+ *
+ * ChangeLog
+ *
+ * 2004-09-05: Herbert Potzl <herbert@13thfloor.at>
+ *	- added clock (de-)allocation code
+ *
+ * 2005-03-06: Arnaud Patard <arnaud.patard@rtp-net.org>
+ *      - h1940_ -> s3c24xx (this driver is now also used on the n30
+ *        machines :P)
+ *      - Debug messages are now enabled with the config option
+ *        TOUCHSCREEN_S3C_DEBUG
+ *      - Changed the way the value are read
+ *      - Input subsystem should now work
+ *      - Use ioremap and readl/writel
+ *
+ * 2005-03-23: Arnaud Patard <arnaud.patard@rtp-net.org>
+ *      - Make use of some undocumented features of the touchscreen
+ *        controller
+ *
+ * 2006-09-05: Ryu Euiyoul <ryu.real@gmail.com>
+ *      - added power management suspend and resume code
+ *
+ */
+
+#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/input.h>
+#include <linux/init.h>
+#include <linux/serio.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/clk.h>
+
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <mach/hardware.h>
+
+#include <plat/regs-adc.h>
+#include <plat/ts.h>
+#include <mach/irqs.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-b.h>
+
+#define CONFIG_TOUCHSCREEN_S3C_DEBUG
+#undef CONFIG_TOUCHSCREEN_S3C_DEBUG
+
+/* For ts->dev.id.version */
+#define S3C_TSVERSION	0x0101
+
+#define WAIT4INT(x)  (((x)<<8) | \
+		     S3C_ADCTSC_YM_SEN | S3C_ADCTSC_YP_SEN | S3C_ADCTSC_XP_SEN | \
+		     S3C_ADCTSC_XY_PST(3))
+
+#define AUTOPST	     (S3C_ADCTSC_YM_SEN | S3C_ADCTSC_YP_SEN | S3C_ADCTSC_XP_SEN | \
+		     S3C_ADCTSC_AUTO_PST | S3C_ADCTSC_XY_PST(0))
+
+
+#define DEBUG_LVL    KERN_DEBUG
+
+
+/* Touchscreen default configuration */
+struct s3c_ts_mach_info s3c_ts_default_cfg __initdata = {
+                .delay = 		10000,
+                .presc = 		49,
+                .oversampling_shift = 	2,
+		.resol_bit = 		10
+};
+
+/*
+ * Definitions & global arrays.
+ */
+static char *s3c_ts_name = "S3C TouchScreen";
+static void __iomem 		*ts_base;
+static struct resource		*ts_mem;
+static struct resource		*ts_irq;
+static struct clk		*ts_clock;
+static struct s3c_ts_info 	*ts;
+
+static int downflag=0;
+
+static void touch_timer_fire(unsigned long data)
+{
+	unsigned long data0;
+	unsigned long data1;
+	int updown;
+
+	data0 = readl(ts_base+S3C_ADCDAT0);
+	data1 = readl(ts_base+S3C_ADCDAT1);
+
+	updown = (!(data0 & S3C_ADCDAT0_UPDOWN)) && (!(data1 & S3C_ADCDAT1_UPDOWN));
+
+	if (0) {
+		unsigned tmp;
+		tmp = readl(S3C64XX_GPBCON);
+		printk("GPBCON: 0x%X\n", tmp);
+	}
+
+	if (updown) {
+		if (ts->count) {
+
+#ifdef CONFIG_TOUCHSCREEN_S3C_DEBUG
+			{
+				struct timeval tv;
+				do_gettimeofday(&tv);
+				printk(KERN_INFO "T: %06d, X: %03ld, Y: %03ld\n", (int)tv.tv_usec, ts->xp, ts->yp);
+			}
+#endif
+		    if(downflag==0)
+                     {
+			input_report_abs(ts->dev, ABS_X, ts->xp);
+			input_report_abs(ts->dev, ABS_Y, ts->yp);
+
+			input_report_key(ts->dev, BTN_TOUCH, 1);
+			input_report_abs(ts->dev, ABS_PRESSURE, 1);
+			input_sync(ts->dev);
+                     }
+                    else
+                    {
+		    	downflag=0;
+                    }
+		}
+
+		ts->xp = 0;
+		ts->yp = 0;
+		ts->count = 0;
+
+		writel(S3C_ADCTSC_PULL_UP_DISABLE | AUTOPST, ts_base+S3C_ADCTSC);
+		writel(readl(ts_base+S3C_ADCCON) | S3C_ADCCON_ENABLE_START, ts_base+S3C_ADCCON);
+	}
+	else {
+
+		ts->xp = 0;
+		ts->yp = 0;
+		ts->count = 0;
+
+		input_report_key(ts->dev, BTN_TOUCH, 0);
+		input_report_abs(ts->dev, ABS_PRESSURE, 0);
+		input_sync(ts->dev);
+
+		writel(WAIT4INT(0), ts_base+S3C_ADCTSC);
+	}
+}
+
+static struct timer_list touch_timer =
+		TIMER_INITIALIZER(touch_timer_fire, 0, 0);
+
+static irqreturn_t stylus_updown(int irqno, void *param)
+{
+	unsigned long data0;
+	unsigned long data1;
+	int updown;
+
+	data0 = readl(ts_base+S3C_ADCDAT0);
+	data1 = readl(ts_base+S3C_ADCDAT1);
+
+	updown = (!(data0 & S3C_ADCDAT0_UPDOWN)) && (!(data1 & S3C_ADCDAT1_UPDOWN));
+
+#ifdef CONFIG_TOUCHSCREEN_S3C_DEBUG
+       printk(KERN_INFO "   %c\n",	updown ? 'D' : 'U');
+#endif
+
+	/* TODO we should never get an interrupt with updown set while
+	 * the timer is running, but maybe we ought to verify that the
+	 * timer isn't running anyways. */
+
+	if (updown)
+	{
+		downflag=1;		
+		touch_timer_fire(0);
+	}
+
+	if(ts->s3c_adc_con==ADC_TYPE_2) {
+       		__raw_writel(0x0, ts_base+S3C_ADCCLRWK);
+        	__raw_writel(0x0, ts_base+S3C_ADCCLRINT);
+	}
+        
+	return IRQ_HANDLED;
+}
+
+static irqreturn_t stylus_action(int irqno, void *param)
+{
+	unsigned long data0;
+	unsigned long data1;
+
+
+	data0 = readl(ts_base+S3C_ADCDAT0);
+	data1 = readl(ts_base+S3C_ADCDAT1);
+
+	if(ts->resol_bit==12) {
+#if defined(CONFIG_TOUCHSCREEN_NEW)
+		ts->yp += S3C_ADCDAT0_XPDATA_MASK_12BIT - (data0 & S3C_ADCDAT0_XPDATA_MASK_12BIT);
+		ts->xp += S3C_ADCDAT1_YPDATA_MASK_12BIT - (data1 & S3C_ADCDAT1_YPDATA_MASK_12BIT);
+#else 
+		ts->xp += data0 & S3C_ADCDAT0_XPDATA_MASK_12BIT;
+		ts->yp += data1 & S3C_ADCDAT1_YPDATA_MASK_12BIT;
+#endif
+	}
+	else {
+#if defined(CONFIG_TOUCHSCREEN_NEW)
+		ts->yp += S3C_ADCDAT0_XPDATA_MASK - (data0 & S3C_ADCDAT0_XPDATA_MASK);
+		ts->xp += S3C_ADCDAT1_YPDATA_MASK - (data1 & S3C_ADCDAT1_YPDATA_MASK);
+#else
+		ts->xp += data0 & S3C_ADCDAT0_XPDATA_MASK;
+		ts->yp += data1 & S3C_ADCDAT1_YPDATA_MASK;
+#endif	
+	}
+
+	ts->count++;
+
+	if (ts->count < (1<<ts->shift)) {
+		writel(S3C_ADCTSC_PULL_UP_DISABLE | AUTOPST, ts_base+S3C_ADCTSC);
+		writel(readl(ts_base+S3C_ADCCON) | S3C_ADCCON_ENABLE_START, ts_base+S3C_ADCCON);
+	} else {
+		mod_timer(&touch_timer, jiffies+1);
+		writel(WAIT4INT(1), ts_base+S3C_ADCTSC);
+	}
+
+	if(ts->s3c_adc_con==ADC_TYPE_2) {
+       		__raw_writel(0x0, ts_base+S3C_ADCCLRWK);
+        	__raw_writel(0x0, ts_base+S3C_ADCCLRINT);
+	}
+	
+	return IRQ_HANDLED;
+}
+
+
+static struct s3c_ts_mach_info *s3c_ts_get_platdata (struct device *dev)
+{
+	if (dev->platform_data != NULL)
+		return (struct s3c_ts_mach_info *)dev->platform_data;
+
+	return &s3c_ts_default_cfg;
+}
+
+/*
+ * The functions for inserting/removing us as a module.
+ */
+static int __init s3c_ts_probe(struct platform_device *pdev)
+{
+	struct resource *res;
+	struct device *dev;
+	struct input_dev *input_dev;
+	struct s3c_ts_mach_info * s3c_ts_cfg;
+	int ret, size;
+
+	dev = &pdev->dev;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (res == NULL) {
+		dev_err(dev,"no memory resource specified\n");
+		return -ENOENT;
+	}
+
+	size = (res->end - res->start) + 1;
+	ts_mem = request_mem_region(res->start, size, pdev->name);
+	if (ts_mem == NULL) {
+		dev_err(dev, "failed to get memory region\n");
+		ret = -ENOENT;
+		goto err_req;
+	}
+
+	ts_base = ioremap(res->start, size);
+	if (ts_base == NULL) {
+		dev_err(dev, "failed to ioremap() region\n");
+		ret = -EINVAL;
+		goto err_map;
+	}
+	
+	ts_clock = clk_get(&pdev->dev, "adc");
+	if (IS_ERR(ts_clock)) {
+		dev_err(dev, "failed to find watchdog clock source\n");
+		ret = PTR_ERR(ts_clock);
+		goto err_clk;
+	}
+
+	clk_enable(ts_clock);
+
+	s3c_ts_cfg = s3c_ts_get_platdata(&pdev->dev);
+		
+	if ((s3c_ts_cfg->presc&0xff) > 0)
+		writel(S3C_ADCCON_PRSCEN | S3C_ADCCON_PRSCVL(s3c_ts_cfg->presc&0xFF),\
+				ts_base+S3C_ADCCON);
+	else
+		writel(0, ts_base+S3C_ADCCON);
+
+
+	/* Initialise registers */
+	if ((s3c_ts_cfg->delay&0xffff) > 0)
+		writel(s3c_ts_cfg->delay & 0xffff, ts_base+S3C_ADCDLY);
+
+	if (s3c_ts_cfg->resol_bit==12) {
+		switch(s3c_ts_cfg->s3c_adc_con) {
+		case ADC_TYPE_2:
+			writel(readl(ts_base+S3C_ADCCON)|S3C_ADCCON_RESSEL_12BIT, ts_base+S3C_ADCCON);
+			break;
+
+		case ADC_TYPE_1:
+			writel(readl(ts_base+S3C_ADCCON)|S3C_ADCCON_RESSEL_12BIT_1, ts_base+S3C_ADCCON);
+			break;
+			
+		default:
+			dev_err(dev, "Touchscreen over this type of AP isn't supported !\n");
+			break;
+		}
+	}
+	
+	writel(WAIT4INT(0), ts_base+S3C_ADCTSC);
+
+	ts = kzalloc(sizeof(struct s3c_ts_info), GFP_KERNEL);
+	
+	input_dev = input_allocate_device();
+
+	if (!input_dev) {
+		ret = -ENOMEM;
+		goto err_alloc;
+	}
+	
+	ts->dev = input_dev;
+
+	ts->dev->evbit[0] = ts->dev->evbit[0] = BIT_MASK(EV_SYN) | BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
+	ts->dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
+
+	if (s3c_ts_cfg->resol_bit==12) {
+		input_set_abs_params(ts->dev, ABS_X, 0, 0xFFF, 0, 0);
+		input_set_abs_params(ts->dev, ABS_Y, 0, 0xFFF, 0, 0);
+	}
+	else {
+		input_set_abs_params(ts->dev, ABS_X, 0, 0x3FF, 0, 0);
+		input_set_abs_params(ts->dev, ABS_Y, 0, 0x3FF, 0, 0);
+	}
+
+	input_set_abs_params(ts->dev, ABS_PRESSURE, 0, 1, 0, 0);
+
+	sprintf(ts->phys, "input(ts)");
+
+	ts->dev->name = s3c_ts_name;
+	ts->dev->phys = ts->phys;
+	ts->dev->id.bustype = BUS_RS232;
+	ts->dev->id.vendor = 0xDEAD;
+	ts->dev->id.product = 0xBEEF;
+	ts->dev->id.version = S3C_TSVERSION;
+
+	ts->shift = s3c_ts_cfg->oversampling_shift;
+	ts->resol_bit = s3c_ts_cfg->resol_bit;
+	ts->s3c_adc_con = s3c_ts_cfg->s3c_adc_con;
+	
+	/* For IRQ_PENDUP */
+	ts_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
+	if (ts_irq == NULL) {
+		dev_err(dev, "no irq resource specified\n");
+		ret = -ENOENT;
+		goto err_irq;
+	}
+
+	ret = request_irq(ts_irq->start, stylus_updown, IRQF_SAMPLE_RANDOM, "s3c_updown", ts);
+	if (ret != 0) {
+		dev_err(dev,"s3c_ts.c: Could not allocate ts IRQ_PENDN !\n");
+		ret = -EIO;
+		goto err_irq;
+	}
+
+	/* For IRQ_ADC */
+	ts_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 1);
+	if (ts_irq == NULL) {
+		dev_err(dev, "no irq resource specified\n");
+		ret = -ENOENT;
+		goto err_irq;
+	}
+
+	ret = request_irq(ts_irq->start, stylus_action, IRQF_SAMPLE_RANDOM, "s3c_action", ts);
+	if (ret != 0) {
+		dev_err(dev, "s3c_ts.c: Could not allocate ts IRQ_ADC !\n");
+		ret =  -EIO;
+		goto err_irq;
+	}
+
+	printk(KERN_INFO "%s got loaded successfully : %d bits\n", s3c_ts_name, s3c_ts_cfg->resol_bit);
+
+	/* All went ok, so register to the input system */
+	ret = input_register_device(ts->dev);
+	
+	if(ret) {
+		dev_err(dev, "s3c_ts.c: Could not register input device(touchscreen)!\n");
+		ret = -EIO;
+		goto fail;
+	}
+
+	return 0;
+
+fail:
+	free_irq(ts_irq->start, ts->dev);
+	free_irq(ts_irq->end, ts->dev);
+	
+err_irq:
+	input_free_device(input_dev);
+	kfree(ts);
+
+err_alloc:
+	clk_disable(ts_clock);
+	clk_put(ts_clock);
+	
+err_clk:
+	iounmap(ts_base);
+
+err_map:
+	release_resource(ts_mem);
+	kfree(ts_mem);
+
+err_req:
+	return ret;
+}
+
+static int s3c_ts_remove(struct platform_device *dev)
+{
+	printk(KERN_INFO "s3c_ts_remove() of TS called !\n");
+
+	disable_irq(IRQ_ADC);
+	disable_irq(IRQ_PENDN);
+	
+	free_irq(IRQ_PENDN, ts->dev);
+	free_irq(IRQ_ADC, ts->dev);
+
+	if (ts_clock) {
+		clk_disable(ts_clock);
+		clk_put(ts_clock);
+		ts_clock = NULL;
+	}
+
+	input_unregister_device(ts->dev);
+	iounmap(ts_base);
+
+	return 0;
+}
+
+#ifdef CONFIG_PM
+static unsigned int adccon, adctsc, adcdly;
+
+static int s3c_ts_suspend(struct platform_device *dev, pm_message_t state)
+{
+	adccon = readl(ts_base+S3C_ADCCON);
+	adctsc = readl(ts_base+S3C_ADCTSC);
+	adcdly = readl(ts_base+S3C_ADCDLY);
+
+	disable_irq(IRQ_ADC);
+	disable_irq(IRQ_PENDN);
+	
+	clk_disable(ts_clock);
+
+	return 0;
+}
+
+static int s3c_ts_resume(struct platform_device *pdev)
+{
+	clk_enable(ts_clock);
+
+	writel(adccon, ts_base+S3C_ADCCON);
+	writel(adctsc, ts_base+S3C_ADCTSC);
+	writel(adcdly, ts_base+S3C_ADCDLY);
+	writel(WAIT4INT(0), ts_base+S3C_ADCTSC);
+
+	enable_irq(IRQ_ADC);
+	enable_irq(IRQ_PENDN);
+	return 0;
+}
+#else
+#define s3c_ts_suspend NULL
+#define s3c_ts_resume  NULL
+#endif
+
+static struct platform_driver s3c_ts_driver = {
+       .probe          = s3c_ts_probe,
+       .remove         = s3c_ts_remove,
+       .suspend        = s3c_ts_suspend,
+       .resume         = s3c_ts_resume,
+       .driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-ts",
+	},
+};
+
+static char banner[] __initdata = KERN_INFO "S3C Touchscreen driver, (c) 2008 Samsung Electronics\n";
+
+static int __init s3c_ts_init(void)
+{
+	printk(banner);
+	return platform_driver_register(&s3c_ts_driver);
+}
+
+static void __exit s3c_ts_exit(void)
+{
+	platform_driver_unregister(&s3c_ts_driver);
+}
+
+module_init(s3c_ts_init);
+module_exit(s3c_ts_exit);
+
+MODULE_AUTHOR("Samsung AP");
+MODULE_DESCRIPTION("S3C touchscreen driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/Kconfig linux-2.6.28.6/drivers/media/video/Kconfig
--- linux-2.6.28/drivers/media/video/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -893,4 +893,6 @@
 
 endif # V4L_USB_DRIVERS
 
+source "drivers/media/video/samsung/Kconfig"
+
 endif # VIDEO_CAPTURE_DRIVERS
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/Makefile linux-2.6.28.6/drivers/media/video/Makefile
--- linux-2.6.28/drivers/media/video/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -136,6 +136,7 @@
 obj-$(CONFIG_SOC_CAMERA_PLATFORM)	+= soc_camera_platform.o
 
 obj-$(CONFIG_VIDEO_AU0828) += au0828/
+obj-$(CONFIG_VIDEO_SAMSUNG)	+= samsung/
 
 obj-$(CONFIG_USB_VIDEO_CLASS)	+= uvc/
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/Kconfig linux-2.6.28.6/drivers/media/video/samsung/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,76 @@
+config VIDEO_SAMSUNG
+	bool "Samsung Multimedia Devices"
+	depends on VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2
+	select VIDEO_FIXED_MINOR_RANGES
+	default n
+	---help---
+	  This is a representative video4linux configuration for Samsung multimedia devices.
+
+source "drivers/media/video/samsung/fimc/Kconfig"
+source "drivers/media/video/samsung/post/Kconfig"
+
+if CPU_S3C6410
+source "drivers/media/video/samsung/mfc10/Kconfig"
+source "drivers/media/video/samsung/jpeg/Kconfig"
+endif
+
+if CPU_S5PC100
+source "drivers/media/video/samsung/mfc40/Kconfig"
+source "drivers/media/video/samsung/jpeg_v2/Kconfig"
+endif
+
+source "drivers/media/video/samsung/tv/Kconfig"
+source "drivers/media/video/samsung/rotator/Kconfig"
+source "drivers/media/video/samsung/g2d/Kconfig"
+source "drivers/media/video/samsung/g3d/Kconfig"
+source "drivers/media/video/samsung/cmm/Kconfig"
+
+if VIDEO_SAMSUNG
+
+comment "Reserved memory configurations"
+
+config VIDEO_SAMSUNG_MEMSIZE_FIMC
+	int "Memory size in kbytes for FIMC"
+	depends on VIDEO_FIMC
+	default "10240"
+
+config VIDEO_SAMSUNG_MEMSIZE_POST
+	int "Memory size in kbytes for Post Processor"
+	depends on VIDEO_POST
+	default "8192"
+
+config VIDEO_SAMSUNG_MEMSIZE_TV
+	int "Memory size in kbytes for TV"
+	depends on VIDEO_TV
+	default "8192"
+
+if CPU_S3C6410
+config VIDEO_SAMSUNG_MEMSIZE_MFC
+	int "Memory size in kbytes for MFC"
+	depends on VIDEO_MFC10
+	default "6144"
+
+config VIDEO_SAMSUNG_MEMSIZE_JPEG
+	int "Memory size in kbytes for JPEG"
+	depends on VIDEO_JPEG 
+	default "4096"
+endif
+
+if ARCH_S5PC1XX
+config VIDEO_SAMSUNG_MEMSIZE_MFC
+	int "Memory size in kbytes for MFC"
+	depends on VIDEO_MFC40
+	default "32768"
+
+config VIDEO_SAMSUNG_MEMSIZE_JPEG
+	int "Memory size in kbytes for JPEG"
+	depends on VIDEO_JPEG_V2 
+	default "32768"
+endif
+
+config VIDEO_SAMSUNG_MEMSIZE_CMM
+	int "Memory size in kbytes for CMM"
+	depends on VIDEO_CMM && CPU_S3C6410
+	default "0"
+endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/Makefile linux-2.6.28.6/drivers/media/video/samsung/Makefile
--- linux-2.6.28/drivers/media/video/samsung/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,14 @@
+obj-$(CONFIG_VIDEO_FIMC)	+= fimc/
+obj-$(CONFIG_VIDEO_MFC10)	+= mfc10/
+obj-$(CONFIG_VIDEO_MFC40)	+= mfc40/
+obj-$(CONFIG_VIDEO_POST)	+= post/
+obj-$(CONFIG_VIDEO_POST)	+= tv/
+obj-$(CONFIG_VIDEO_ROTATOR)	+= rotator/
+obj-$(CONFIG_VIDEO_JPEG)	+= jpeg/
+obj-$(CONFIG_VIDEO_JPEG_V2)	+= jpeg_v2/
+obj-$(CONFIG_VIDEO_G2D)		+= g2d/
+obj-$(CONFIG_VIDEO_G3D)		+= g3d/
+obj-$(CONFIG_VIDEO_CMM)		+= cmm/
+ 
+EXTRA_CFLAGS += -Idrivers/media/video
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/cmm/Kconfig linux-2.6.28.6/drivers/media/video/samsung/cmm/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/cmm/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/cmm/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,11 @@
+#
+# Configuration for CMM 
+#
+
+config VIDEO_CMM
+	bool "Samsung CMM Driver" 
+	depends on VIDEO_SAMSUNG && CPU_S3C6410
+	default n
+	---help---
+	  This is a CMM driver for Samsung S3C6410.
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/cmm/Makefile linux-2.6.28.6/drivers/media/video/samsung/cmm/Makefile
--- linux-2.6.28/drivers/media/video/samsung/cmm/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/cmm/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,10 @@
+#################################################
+# Makefile for CMM
+# 2009 (C) Samsung Electronics 
+# Author : satish <palli.satish@samsung.com>
+#################################################
+
+obj-$(CONFIG_VIDEO_CMM)	+= s3c_cmm.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/cmm/s3c_cmm.c linux-2.6.28.6/drivers/media/video/samsung/cmm/s3c_cmm.c
--- linux-2.6.28/drivers/media/video/samsung/cmm/s3c_cmm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/cmm/s3c_cmm.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,848 @@
+/* linux/driver/media/video/samsung/cmm/s3c_cmm.c
+ *
+ * C file for Samsung CMM (Codec Memory Management) driver 
+ *
+ * Satish, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <linux/version.h>
+#include <linux/module.h>
+#include <linux/delay.h>
+#include <linux/errno.h>
+#include <linux/fs.h>
+#include <linux/kernel.h>
+#include <linux/major.h>
+#include <linux/slab.h>
+#include <linux/mutex.h>
+#include <linux/poll.h>
+#include <linux/signal.h>
+#include <linux/ioport.h>
+#include <linux/sched.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/kmod.h>
+#include <linux/vmalloc.h>
+#include <linux/init.h>
+#include <asm/io.h>
+#include <asm/page.h>
+#include <linux/irq.h>
+#include <linux/semaphore.h>
+#include <linux/miscdevice.h>
+#include <linux/string.h>
+#include <linux/mm.h>
+#include <linux/platform_device.h>
+#include <asm/uaccess.h>
+
+#include <plat/media.h>
+#include <linux/bootmem.h>
+#include <linux/dma-mapping.h>
+#include <asm/cacheflush.h>
+#include <asm/memory.h>
+#include <linux/time.h>
+#include <linux/clk.h>
+
+#include "s3c_cmm.h"
+
+/*#define CMM_DEBUG */
+#ifdef CMM_DEBUG
+#define CMM_MSG printk
+#else
+#define CMM_MSG(format,args...)
+#endif
+
+static int			s3c_cmm_instanceNo[S3C_CMM_MAX_INSTANCE_NUM];
+static struct mutex	*s3c_cmm_mutex = NULL;
+
+dma_addr_t		s3c_cmm_buffer_start;
+
+s3c_cmm_alloc_mem_t	*s3c_cmm_allocmem_head;
+s3c_cmm_alloc_mem_t	*s3c_cmm_allocmem_tail;
+s3c_cmm_free_mem_t	*s3c_cmm_freemem_head;
+s3c_cmm_free_mem_t	*s3c_cmm_freemem_tail;
+
+unsigned char	*s3c_cmm_cached_vir_addr;
+unsigned char	*s3c_cmm_noncached_vir_addr;
+
+static void insertnode_alloclist(s3c_cmm_alloc_mem_t *node, int inst_no);
+static void insertnode_freelist(s3c_cmm_free_mem_t *node,  int inst_no);
+static void deletenode_alloclist(s3c_cmm_alloc_mem_t *node, int inst_no);
+static void deletenode_freelist( s3c_cmm_free_mem_t *node, int inst_no);
+static void release_alloc_mem(s3c_cmm_alloc_mem_t *node, 
+				s3c_cmm_codec_mem_ctx_t *CodecMem);
+static void merge_fragmented_mem(int inst_no);
+static unsigned int get_mem_area(int allocSize, int inst_no, char cache_flag);
+static s3c_cmm_alloc_mem_t * get_codec_virt_addr(int inst_no, 
+				s3c_cmm_codec_mem_alloc_arg_t *in_param);
+static int get_instance_num(void);
+static void return_instance_num(int inst_no);
+static void print_list(void);
+
+static int s3c_cmm_open(struct inode *inode, struct file *file)
+{
+	s3c_cmm_codec_mem_ctx_t	*CodecMem;
+	int			inst_no;
+
+
+	mutex_lock(s3c_cmm_mutex);
+
+	/* check the number of instance */
+	if((inst_no = get_instance_num()) < 0){
+		printk(KERN_ERR "\n%s: Instance Number error-too many instance\r\n"
+				, __FUNCTION__);
+		mutex_unlock(s3c_cmm_mutex);
+		return FALSE;
+	}
+	
+	CodecMem = (s3c_cmm_codec_mem_ctx_t *)
+			kmalloc(sizeof(s3c_cmm_codec_mem_ctx_t), GFP_KERNEL);
+	if(CodecMem == NULL){
+		printk(KERN_ERR "\n%s: CodecMem application failed\n", __FUNCTION__);
+		mutex_unlock(s3c_cmm_mutex);
+		return FALSE;
+	}
+	
+	memset(CodecMem, 0x00, sizeof(s3c_cmm_codec_mem_ctx_t));
+
+	CodecMem->inst_no = inst_no;
+	CMM_MSG(KERN_DEBUG "\n****************************\n[CMM_Open]"  
+			"s3c_cmm_instanceNo : %d\n****************************\n",
+			CodecMem->inst_no);
+	print_list();
+	
+	file->private_data = (s3c_cmm_codec_mem_ctx_t*)CodecMem;
+
+	mutex_unlock(s3c_cmm_mutex);
+
+	return 0;
+}
+
+
+static int s3c_cmm_release(struct inode *inode, struct file *file)
+{
+	s3c_cmm_codec_mem_ctx_t	*CodecMem;
+	s3c_cmm_alloc_mem_t 	*node, *tmp_node;
+
+
+	mutex_lock(s3c_cmm_mutex);
+	
+	CodecMem = (s3c_cmm_codec_mem_ctx_t *)file->private_data;
+	CMM_MSG(KERN_DEBUG "\n%s: [%d][CMM Close] \n", __FUNCTION__, 
+			CodecMem->inst_no);
+
+	if(!CodecMem){
+		printk(KERN_ERR "\n%s: CMM Invalid Input Handle\r\n", __FUNCTION__);
+		mutex_unlock(s3c_cmm_mutex);
+		return FALSE;
+	}
+
+	CMM_MSG(KERN_DEBUG "\n%s: CodecMem->inst_no : %d\n", __FUNCTION__
+				, CodecMem->inst_no);
+
+	/* release u_addr and v_addr accoring to inst_no */
+	for(node = s3c_cmm_allocmem_head; node != s3c_cmm_allocmem_tail; 
+		node = node->next){
+		if(node->inst_no == CodecMem->inst_no){
+			tmp_node = node;
+			node = node->prev;
+			release_alloc_mem(tmp_node, CodecMem);
+		}
+	}
+
+	CMM_MSG(KERN_DEBUG "\n%s: [%d]instance merge_fragmented_mem\n", 
+			__FUNCTION__, CodecMem->inst_no);
+	merge_fragmented_mem(CodecMem->inst_no);
+
+	return_instance_num(CodecMem->inst_no);
+
+	kfree(CodecMem);
+	mutex_unlock(s3c_cmm_mutex);
+
+	return 0;
+}
+
+
+static ssize_t s3c_cmm_write (struct file *file, const char *buf, size_t count, loff_t *pos)
+{
+	return 0;
+}
+
+static ssize_t s3c_cmm_read(struct file *file, char *buf, size_t count, loff_t *pos)
+{	
+	return 0;
+}
+
+static int s3c_cmm_ioctl(struct inode *inode, struct file *file, unsigned
+		int cmd, unsigned long arg)
+{
+	int				ret;
+	s3c_cmm_codec_mem_ctx_t		*CodecMem;
+	s3c_cmm_codec_mem_alloc_arg_t	codec_mem_alloc_arg;
+	s3c_cmm_codec_cache_flush_arg_t	codec_cache_flush_arg;
+	s3c_cmm_codec_get_phy_addr_arg_t	codec_get_phy_addr_arg;
+	BOOL				result = TRUE;
+	void				*start, *end;
+	s3c_cmm_alloc_mem_t		*node;
+	s3c_cmm_codec_mem_free_arg_t	codec_mem_free_arg;
+
+	CodecMem = (s3c_cmm_codec_mem_ctx_t *)file->private_data;
+	if (!CodecMem) {
+		printk(KERN_ERR "\n%s: CMM Invalid Input Handle\n", __FUNCTION__);
+		return FALSE;
+	}
+
+	mutex_lock(s3c_cmm_mutex);
+
+	switch (cmd){
+	case S3C_CMM_IOCTL_CODEC_MEM_ALLOC:
+		CMM_MSG(KERN_DEBUG"\n%s: S3C_CMM_IOCTL_CODEC_MEM_ALLOC\n",
+				__FUNCTION__);
+
+		ret = copy_from_user(&codec_mem_alloc_arg, 
+					(s3c_cmm_codec_mem_alloc_arg_t *)arg
+					, sizeof(s3c_cmm_codec_mem_alloc_arg_t));
+
+		node = get_codec_virt_addr(CodecMem->inst_no, 
+						&codec_mem_alloc_arg);
+		if(node == NULL){
+			result = FALSE;
+			break;
+		}
+		
+		ret = copy_to_user((void *)arg, (void *)&codec_mem_alloc_arg
+					, sizeof(s3c_cmm_codec_mem_alloc_arg_t));
+		break;
+
+	case S3C_CMM_IOCTL_CODEC_MEM_FREE:
+		CMM_MSG(KERN_DEBUG "\n%s: S3C_CMM_IOCTL_CODEC_MEM_FREE\n",
+				__FUNCTION__);
+
+		ret = copy_from_user(&codec_mem_free_arg, 
+					(s3c_cmm_codec_mem_free_arg_t *)arg
+					, sizeof(s3c_cmm_codec_mem_free_arg_t));
+
+		for(node = s3c_cmm_allocmem_head; 
+			node != s3c_cmm_allocmem_tail; node = node->next) {
+			if(node->u_addr == (unsigned char *)codec_mem_free_arg.u_addr)
+				break;
+		}
+
+		if(node  == s3c_cmm_allocmem_tail){
+			CMM_MSG(KERN_DEBUG "\n%s: invalid virtual address(0x%x)\r\n"
+					, __FUNCTION__,codec_mem_free_arg.u_addr);
+			result = FALSE;
+			break;
+		}
+
+		release_alloc_mem(node, CodecMem);
+		break;
+
+
+	case S3C_CMM_IOCTL_CODEC_GET_PHY_ADDR:
+		ret = copy_from_user(&codec_get_phy_addr_arg, 
+					(s3c_cmm_codec_get_phy_addr_arg_t *)arg
+					, sizeof(s3c_cmm_codec_get_phy_addr_arg_t));
+
+		for(node = s3c_cmm_allocmem_head;
+			node != s3c_cmm_allocmem_tail; node = node->next) {
+			if(node->u_addr == 
+				(unsigned char *)codec_get_phy_addr_arg.u_addr)
+				break;
+		}
+
+		if(node  == s3c_cmm_allocmem_tail){
+			CMM_MSG(KERN_DEBUG "\n%s: invalid virtual address(0x%x)\r\n"
+					, __FUNCTION__, codec_get_phy_addr_arg.u_addr);
+			result = FALSE;
+			break;
+		}
+
+		if(node->cacheFlag)
+			codec_get_phy_addr_arg.p_addr = node->cached_p_addr;
+		else
+			codec_get_phy_addr_arg.p_addr = node->uncached_p_addr;
+		
+		ret = copy_to_user((void *)arg, (void *)&codec_get_phy_addr_arg
+					, sizeof(s3c_cmm_codec_get_phy_addr_arg_t));
+
+		break;
+	case S3C_CMM_IOCTL_CODEC_MERGE_FRAGMENTATION:
+
+		merge_fragmented_mem(CodecMem->inst_no);
+
+		break;
+
+	case S3C_CMM_IOCTL_CODEC_CACHE_FLUSH:
+	case S3C_CMM_IOCTL_CODEC_CACHE_INVALIDATE:
+		CMM_MSG(KERN_DEBUG "\n%s: S3C_CMM_IOCTL_CODEC_CACHE_INVALIDATE\n",
+				__FUNCTION__);
+
+		ret = copy_from_user(&codec_cache_flush_arg, 
+					(s3c_cmm_codec_cache_flush_arg_t *)arg
+					, sizeof(s3c_cmm_codec_cache_flush_arg_t));
+
+		for(node = s3c_cmm_allocmem_head; 
+			node != s3c_cmm_allocmem_tail; node = node->next) {
+			if(node->u_addr == 
+				(unsigned char *)codec_cache_flush_arg.u_addr)
+				break;
+		}
+
+		if(node  == s3c_cmm_allocmem_tail){
+			CMM_MSG(KERN_DEBUG "\n%s: invalid virtual address(0x%x)\r\n"
+					, __FUNCTION__,codec_cache_flush_arg.u_addr);
+			result = FALSE;
+			break;
+		}
+
+		start = node->v_addr;
+		end = start + codec_cache_flush_arg.size;
+		dma_cache_maint(start,codec_cache_flush_arg.size,DMA_FROM_DEVICE);
+
+		break;
+
+	case S3C_CMM_IOCTL_CODEC_CACHE_CLEAN:
+		CMM_MSG(KERN_DEBUG "\n%s: S3C_CMM_IOCTL_CODEC_CACHE_CLEAN\n", 
+				__FUNCTION__);
+
+		ret = copy_from_user(&codec_cache_flush_arg, 
+					(s3c_cmm_codec_cache_flush_arg_t *)arg
+					, sizeof(s3c_cmm_codec_cache_flush_arg_t));
+
+		for(node = s3c_cmm_allocmem_head; 
+			node != s3c_cmm_allocmem_tail; node = node->next) {
+			if(node->u_addr == 
+				(unsigned char *)codec_cache_flush_arg.u_addr)
+				break;
+		}
+
+		if(node  == s3c_cmm_allocmem_tail){
+			CMM_MSG(KERN_DEBUG "\n%s: invalid virtual address(0x%x)\r\n"
+					, __FUNCTION__, codec_cache_flush_arg.u_addr);
+			result = FALSE;
+			break;
+		}
+
+		start = node->v_addr;
+		end = start + codec_cache_flush_arg.size;
+		dma_cache_maint(start,codec_cache_flush_arg.size,DMA_TO_DEVICE);
+		break;
+
+	case S3C_CMM_IOCTL_CODEC_CACHE_CLEAN_INVALIDATE:
+		CMM_MSG(KERN_DEBUG "\n%s: S3C_CMM_IOCTL_CODEC_CACHE_CLEAN_INVALIDATE\n",
+				__FUNCTION__);
+
+		ret = copy_from_user(&codec_cache_flush_arg, 
+					(s3c_cmm_codec_cache_flush_arg_t *)arg
+					, sizeof(s3c_cmm_codec_cache_flush_arg_t));
+
+		for(node = s3c_cmm_allocmem_head; 
+			node != s3c_cmm_allocmem_tail; node = node->next) {
+			if(node->u_addr == 
+				(unsigned char *)codec_cache_flush_arg.u_addr)
+				break;
+		}
+
+		if(node  == s3c_cmm_allocmem_tail){
+			CMM_MSG(KERN_DEBUG "\n%s: invalid virtual address(0x%x)\r\n"
+					, __FUNCTION__, codec_cache_flush_arg.u_addr);
+			result = FALSE;
+			break;
+		}
+
+		start = node->v_addr;
+		end = start + codec_cache_flush_arg.size;
+		dma_cache_maint(start,codec_cache_flush_arg.size,DMA_BIDIRECTIONAL);
+		
+		break;
+		
+	default : 
+		printk(KERN_ERR "\n%s: DD::CMM Invalid ioctl : 0x%X\r\n",
+				__FUNCTION__, cmd);
+	}
+
+	mutex_unlock(s3c_cmm_mutex);
+	return result;
+}
+
+
+int s3c_cmm_mmap(struct file *filp, struct vm_area_struct *vma)
+{
+	unsigned long offset	= vma->vm_pgoff << PAGE_SHIFT;
+	unsigned long size;
+	unsigned long maxSize;
+	unsigned long pageFrameNo = 0;
+
+
+	CMM_MSG(KERN_DEBUG "\n%s: vma->vm_end - vma->vm_start = %d\n",
+			__FUNCTION__, offset);
+
+	if(offset == 0) {
+		pageFrameNo = __phys_to_pfn(s3c_cmm_buffer_start);
+		maxSize = S3C_CMM_CODEC_CACHED_MEM_SIZE + PAGE_SIZE - 
+				(S3C_CMM_CODEC_CACHED_MEM_SIZE % PAGE_SIZE);		
+		vma->vm_flags |= VM_RESERVED | VM_IO;
+		size = S3C_CMM_CODEC_CACHED_MEM_SIZE;
+	}
+	else if(offset == S3C_CMM_CODEC_CACHED_MEM_SIZE) {
+		pageFrameNo = __phys_to_pfn(s3c_cmm_buffer_start + 
+						S3C_CMM_CODEC_CACHED_MEM_SIZE);
+		maxSize = S3C_CMM_CODEC_NON_CACHED_MEM_SIZE + PAGE_SIZE - 
+				(S3C_CMM_CODEC_NON_CACHED_MEM_SIZE % PAGE_SIZE);		
+		vma->vm_flags |= VM_RESERVED | VM_IO;
+		vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+		size = S3C_CMM_CODEC_NON_CACHED_MEM_SIZE;
+	}
+
+	if( remap_pfn_range(vma, vma->vm_start, pageFrameNo, size,	\
+				vma->vm_page_prot) ) {
+		printk(KERN_ERR "\n%s: cmm remap error \n", __FUNCTION__);
+		return -EAGAIN;
+	}
+
+	return 0;
+}
+
+
+static struct file_operations s3c_cmm_fops = {
+owner:		THIS_MODULE,
+			open:		s3c_cmm_open,
+			release:		s3c_cmm_release,
+			ioctl:		s3c_cmm_ioctl,
+			read:		s3c_cmm_read,
+			write:		s3c_cmm_write,
+			mmap:		s3c_cmm_mmap,
+};
+
+
+
+static struct miscdevice s3c_cmm_miscdev = {
+minor:		250, 		
+			name:		"s3c-cmm",
+			fops:		&s3c_cmm_fops
+};
+
+static char banner[] __initdata = KERN_INFO "S3C CMM Driver, (c) 2008 Samsung Electronics\n";
+
+static int __init s3c_cmm_init(void)
+{
+	int			ret;
+	s3c_cmm_free_mem_t	*node;
+	s3c_cmm_alloc_mem_t	*alloc_node;
+	
+	printk(banner);
+
+	/* mutex creation and initialization */
+	s3c_cmm_mutex = (struct mutex *)kmalloc(sizeof(struct mutex), GFP_KERNEL);
+	if (s3c_cmm_mutex == NULL) {
+		printk(KERN_ERR "\n%s: CMM mutex initialize error\n", __FUNCTION__);
+		return -ENOMEM;
+	}
+
+	mutex_init(s3c_cmm_mutex);
+
+	mutex_lock(s3c_cmm_mutex);
+
+	ret = misc_register(&s3c_cmm_miscdev);
+
+	s3c_cmm_buffer_start = s3c_get_media_memory(S3C_MDEV_CMM);
+
+	/* First 4MB will use cacheable memory */
+	s3c_cmm_cached_vir_addr = (unsigned char *)phys_to_virt(s3c_cmm_buffer_start);
+	CMM_MSG(KERN_DEBUG "\n%s: cached_vir_addr 0x%x\n", 
+			__FUNCTION__,s3c_cmm_cached_vir_addr);
+
+	/* Second 4MB will use non-cacheable memory */
+	s3c_cmm_noncached_vir_addr = (unsigned char *)
+					phys_to_virt (s3c_cmm_buffer_start + 
+						S3C_CMM_CODEC_CACHED_MEM_SIZE);
+
+	/* init alloc list, if(s3c_cmm_allocmem_head == s3c_cmm_allocmem_tail) 
+	 * then, the list is NULL */
+	alloc_node = (s3c_cmm_alloc_mem_t *)kmalloc(sizeof(s3c_cmm_alloc_mem_t),
+							GFP_KERNEL);
+	memset(alloc_node, 0x00, sizeof(s3c_cmm_alloc_mem_t));
+	alloc_node->next = alloc_node;
+	alloc_node->prev = alloc_node;
+	s3c_cmm_allocmem_head = alloc_node;
+	s3c_cmm_allocmem_tail = s3c_cmm_allocmem_head;
+
+	/* init free list, if(s3c_cmm_freemem_head == s3c_cmm_freemem_tail) 
+	 * then, the list is NULL */
+	node = (s3c_cmm_free_mem_t *)kmalloc(sizeof(s3c_cmm_free_mem_t),
+						GFP_KERNEL);
+	memset(node, 0x00, sizeof(s3c_cmm_free_mem_t));
+	node->next = node;
+	node->prev = node;
+	s3c_cmm_freemem_head = node;
+	s3c_cmm_freemem_tail = s3c_cmm_freemem_head;
+
+	node = (s3c_cmm_free_mem_t *)kmalloc(sizeof(s3c_cmm_free_mem_t), GFP_KERNEL);
+	memset(node, 0x00, sizeof(s3c_cmm_free_mem_t));
+	node->startAddr = s3c_cmm_buffer_start;
+	node->cacheFlag = 1;
+	node->size = S3C_CMM_CODEC_CACHED_MEM_SIZE;
+	insertnode_freelist(node, -1);
+
+	node = (s3c_cmm_free_mem_t *)kmalloc(sizeof(s3c_cmm_free_mem_t), GFP_KERNEL);
+	memset(node, 0x00, sizeof(s3c_cmm_free_mem_t));
+	node->startAddr = s3c_cmm_buffer_start + S3C_CMM_CODEC_CACHED_MEM_SIZE;
+	node->cacheFlag = 0;
+	node->size = S3C_CMM_CODEC_NON_CACHED_MEM_SIZE;
+	insertnode_freelist(node, -1);
+
+	mutex_unlock(s3c_cmm_mutex);
+
+	return 0;
+}
+
+static void __exit s3c_cmm_exit(void)
+{
+	
+	CMM_MSG(KERN_DEBUG "\n%s: CMM_Deinit\n", __FUNCTION__);
+
+	mutex_destroy(s3c_cmm_mutex);
+
+	misc_deregister(&s3c_cmm_miscdev);
+	
+	printk("S3C CMM driver module exit\n");
+}
+
+
+/* insert node ahead of s3c_cmm_allocmem_head */
+static void insertnode_alloclist(s3c_cmm_alloc_mem_t *node, int inst_no)
+{
+	CMM_MSG(KERN_DEBUG "\n%s: [%d]instance (cached_p_addr : 0x%08x uncached_p_addr"
+				" : 0x%08x size:%ld cacheflag : %d)\n", __FUNCTION__
+				,inst_no, node->cached_p_addr, node->uncached_p_addr
+				, node->size, node->cacheFlag);
+	node->next = s3c_cmm_allocmem_head;
+	node->prev = s3c_cmm_allocmem_head->prev;
+	s3c_cmm_allocmem_head->prev->next = node;
+	s3c_cmm_allocmem_head->prev = node;
+	s3c_cmm_allocmem_head = node;
+	CMM_MSG(KERN_DEBUG "\n%s: Finished insertnode_alloclist\n", __FUNCTION__);
+}
+
+/* insert node ahead of s3c_cmm_freemem_head */
+static void insertnode_freelist(s3c_cmm_free_mem_t *node,  int inst_no)
+{
+	CMM_MSG(KERN_DEBUG "\n%s: [%d]instance(startAddr : 0x%08x size:%ld"
+				" cached flag : %d)\n", __FUNCTION__,inst_no
+				, node->startAddr, node->size, node->cacheFlag);
+	node->next = s3c_cmm_freemem_head;
+	node->prev = s3c_cmm_freemem_head->prev;
+	s3c_cmm_freemem_head->prev->next = node;
+	s3c_cmm_freemem_head->prev = node;
+	s3c_cmm_freemem_head = node;
+
+	print_list();
+}
+
+static void deletenode_alloclist(s3c_cmm_alloc_mem_t *node, int inst_no)
+{
+	CMM_MSG(KERN_DEBUG "\n%s: [%d]instance (uncached_p_addr : 0x%08x cached_p_addr"
+				" : 0x%08x size:%ld cacheflag : %d)\n", __FUNCTION__
+				,inst_no,node->uncached_p_addr, node->cached_p_addr
+				, node->size, node->cacheFlag);
+	
+	if(node == s3c_cmm_allocmem_tail){
+		CMM_MSG(KERN_DEBUG "\n%s: InValid node\n", __FUNCTION__);
+		return;
+	}
+
+	if(node == s3c_cmm_allocmem_head)
+		s3c_cmm_allocmem_head = node->next;
+
+	node->prev->next = node->next;
+	node->next->prev = node->prev;
+
+	kfree(node);
+
+	print_list();
+}
+
+static void deletenode_freelist( s3c_cmm_free_mem_t *node, int inst_no)
+{
+	CMM_MSG(KERN_DEBUG "\n%s: [%d]deletenode_freelist(startAddr : 0x%08x size:%ld)\n"
+				, __FUNCTION__, inst_no, node->startAddr, node->size);
+	if(node == s3c_cmm_freemem_tail){
+		printk(KERN_ERR "\n%s: InValid node\n", __FUNCTION__);
+		return;
+	}
+
+	if(node == s3c_cmm_freemem_head)
+		s3c_cmm_freemem_head = node->next;
+
+	node->prev->next = node->next;
+	node->next->prev = node->prev;
+
+	kfree(node);
+}
+
+/* Releae cacheable memory */
+static void release_alloc_mem(	s3c_cmm_alloc_mem_t *node,
+				s3c_cmm_codec_mem_ctx_t *CodecMem)
+{
+	s3c_cmm_free_mem_t *free_node;
+	
+
+	free_node = (s3c_cmm_free_mem_t	*)kmalloc(sizeof(s3c_cmm_free_mem_t), GFP_KERNEL);
+
+	if(node->cacheFlag) {
+		free_node->startAddr = node->cached_p_addr;
+		free_node->cacheFlag = 1;
+	}
+	else {
+		free_node->startAddr = node->uncached_p_addr;
+		free_node->cacheFlag = 0;
+	}
+	
+	free_node->size = node->size;
+	insertnode_freelist(free_node, CodecMem->inst_no);
+	
+	/* Delete from AllocMem list */
+	deletenode_alloclist(node, CodecMem->inst_no);
+}
+
+
+
+/* Remove Fragmentation in FreeMemList */
+static void merge_fragmented_mem(int inst_no)
+{
+	s3c_cmm_free_mem_t *node1, *node2;
+
+	node1 = s3c_cmm_freemem_head;
+
+	while(node1 != s3c_cmm_freemem_tail){
+		node2 = s3c_cmm_freemem_head;
+		while(node2 != s3c_cmm_freemem_tail){
+			if( (node1->startAddr + node1->size == node2->startAddr) 
+				&& (node1->cacheFlag == node2->cacheFlag) ){
+				node1->size += node2->size;
+				CMM_MSG(KERN_DEBUG "\n%s: find merge area !! ( node1->startAddr +"
+						" node1->size == node2->startAddr)\n", __FUNCTION__);
+				deletenode_freelist(node2, inst_no);
+				break;
+			}
+			else if( (node1->startAddr == node2->startAddr + node2->size) 
+					&& (node1->cacheFlag == node2->cacheFlag) ){
+				CMM_MSG(KERN_DEBUG "\n%s: find merge area !! ( node1->startAddr == "
+						"node2->startAddr + node2->size)\n", __FUNCTION__);
+				node1->startAddr = node2->startAddr;
+				node1->size += node2->size;
+				deletenode_freelist(node2, inst_no);
+				break;
+			}
+			node2 = node2->next;
+		}
+		node1 = node1->next;
+	}
+}
+
+static unsigned int get_mem_area(int allocSize, int inst_no, char cache_flag)
+{
+	s3c_cmm_free_mem_t		*node, *match_node = NULL;
+	unsigned int	allocAddr = 0;
+
+
+	CMM_MSG(KERN_DEBUG "\n%s: request Size : %ld\n", __FUNCTION__, allocSize);
+	
+	if(s3c_cmm_freemem_head == s3c_cmm_freemem_tail){
+		printk(KERN_ERR "\n%s: all memory is gone\n", __FUNCTION__);
+		return(allocAddr);
+	}
+
+	/* find best chunk of memory */
+	for(node = s3c_cmm_freemem_head; 
+		node != s3c_cmm_freemem_tail; node = node->next)	{
+		if(match_node != NULL)
+		{
+			if(cache_flag)
+			{
+				if( (node->size >= allocSize) && 
+					(node->size < match_node->size) 
+					&& (node->cacheFlag) )
+					match_node = node;
+			}
+			else
+			{
+				if( (node->size >= allocSize) && 
+					(node->size < match_node->size) 
+					&& (!node->cacheFlag) )
+					match_node = node;
+			}
+		}
+		else
+		{
+			if(cache_flag)
+			{
+				if( (node->size >= allocSize) && (node->cacheFlag) )
+					match_node = node;
+			}
+			else
+			{
+				if( (node->size >= allocSize) && (!node->cacheFlag) )
+					match_node = node;
+			}
+		}
+	}
+
+	if(match_node != NULL) {
+		CMM_MSG(KERN_DEBUG "\n%s: match : startAddr(0x%08x) size(%ld) cache flag(%d)\n"
+					, __FUNCTION__,match_node->startAddr
+					,match_node->size, match_node->cacheFlag);
+	}
+	
+	/* rearange FreeMemArea */
+	if(match_node != NULL){
+		allocAddr = match_node->startAddr;
+		match_node->startAddr += allocSize;
+		match_node->size -= allocSize;
+		
+		if(match_node->size == 0)          /* delete match_node */
+		 	deletenode_freelist(match_node, inst_no);
+
+		return(allocAddr);
+	}else {
+		printk("there is no suitable chunk\n");
+		return 0;
+	}
+
+	return(allocAddr);
+}
+
+
+static s3c_cmm_alloc_mem_t * get_codec_virt_addr(int inst_no, 
+					s3c_cmm_codec_mem_alloc_arg_t *in_param)
+{
+
+	unsigned int			p_startAddr;
+	s3c_cmm_alloc_mem_t 			*p_allocMem;
+	
+
+	/* if user request cachable area, allocate from reserved area */
+	/* if user request uncachable area, allocate dynamically */	
+	p_startAddr = get_mem_area((int)in_param->buffSize, 
+					inst_no, in_param->cacheFlag);
+
+	if(!p_startAddr){
+		CMM_MSG(KERN_DEBUG "\n%s: There is no more memory\n\r",
+				__FUNCTION__);
+		in_param->out_addr = -1;
+		return NULL;
+	}
+
+	p_allocMem = (s3c_cmm_alloc_mem_t *)kmalloc(sizeof(s3c_cmm_alloc_mem_t), GFP_KERNEL);
+	memset(p_allocMem, 0x00, sizeof(s3c_cmm_alloc_mem_t));
+		
+
+	if(in_param->cacheFlag) {
+		p_allocMem->cached_p_addr = p_startAddr;
+		p_allocMem->v_addr = s3c_cmm_cached_vir_addr + 
+					(p_allocMem->cached_p_addr - 
+					s3c_cmm_buffer_start);
+		p_allocMem->u_addr = (unsigned char *)(in_param->cached_mapped_addr + 
+					(p_allocMem->cached_p_addr - s3c_cmm_buffer_start));
+		
+		if (p_allocMem->v_addr == NULL) {
+			CMM_MSG(KERN_DEBUG "\n%s: Mapping Failed [PA:0x%08x]\n\r"
+					, __FUNCTION__, p_allocMem->cached_p_addr);
+			return NULL;
+		}
+	}
+	else {
+		p_allocMem->uncached_p_addr = p_startAddr;
+		p_allocMem->v_addr = s3c_cmm_noncached_vir_addr + 
+					(p_allocMem->uncached_p_addr - s3c_cmm_buffer_start 
+					- S3C_CMM_CODEC_CACHED_MEM_SIZE);
+		p_allocMem->u_addr = (unsigned char *)(in_param->non_cached_mapped_addr + 
+					(p_allocMem->uncached_p_addr - s3c_cmm_buffer_start 
+					- S3C_CMM_CODEC_CACHED_MEM_SIZE));
+		
+		if (p_allocMem->v_addr == NULL)
+		{
+			CMM_MSG(KERN_DEBUG "\n%s: Mapping Failed [PA:0x%08x]\n\r"
+						, __FUNCTION__, p_allocMem->uncached_p_addr);
+			return NULL;
+		}
+	}
+
+	in_param->out_addr = (unsigned int)p_allocMem->u_addr;
+	CMM_MSG(KERN_DEBUG "\n%s: u_addr : 0x%x v_addr : 0x%x cached_p_addr : 0x%x,"
+			" uncached_p_addr : 0x%x\n", __FUNCTION__,p_allocMem->u_addr
+			, p_allocMem->v_addr, p_allocMem->cached_p_addr
+			, p_allocMem->uncached_p_addr);
+		
+
+	p_allocMem->size = (int)in_param->buffSize;
+	p_allocMem->inst_no = inst_no;
+	p_allocMem->cacheFlag = in_param->cacheFlag;
+	
+	insertnode_alloclist(p_allocMem, inst_no);
+
+	return(p_allocMem);
+}
+
+static int get_instance_num(void)
+{
+	int	i;
+
+	for(i = 0; i < S3C_CMM_MAX_INSTANCE_NUM; i++)
+	{
+		if(s3c_cmm_instanceNo[i] == FALSE){
+			s3c_cmm_instanceNo[i] = TRUE;
+			return i;
+		}
+	}
+	
+	if(i == S3C_CMM_MAX_INSTANCE_NUM)
+		return -1;
+
+	return i;
+}
+
+
+static void return_instance_num(int inst_no)
+{
+	s3c_cmm_instanceNo[inst_no] = FALSE;
+}
+
+
+static void print_list()
+{
+	s3c_cmm_alloc_mem_t		*node1;
+	s3c_cmm_free_mem_t		*node2;
+	int 			count = 0;
+	unsigned int	p_addr;
+
+	for(node1 = s3c_cmm_allocmem_head; 
+		node1 != s3c_cmm_allocmem_tail; node1 = node1->next){
+		if(node1->cacheFlag)
+			p_addr = node1->cached_p_addr;
+		else
+			p_addr = (unsigned int)node1->uncached_p_addr;
+		
+		CMM_MSG(KERN_DEBUG "\n%s: [AllocList][%d] inst_no : %d p_addr : 0x%08x "
+				"v_addr:0x%08x size:%ld cacheflag : %d\n", __FUNCTION__
+				,count++, node1->inst_no,  p_addr, node1->v_addr
+				, node1->size, node1->cacheFlag);
+	}
+				
+	count = 0;
+	for(node2 = s3c_cmm_freemem_head; 
+		node2 != s3c_cmm_freemem_tail; node2 = node2->next){
+		CMM_MSG(KERN_DEBUG "\n%s: [FreeList][%d] startAddr : 0x%08x size:%ld\n"
+				, __FUNCTION__, count++, node2->startAddr , node2->size);
+
+	}
+}
+
+module_init(s3c_cmm_init);
+module_exit(s3c_cmm_exit);
+
+MODULE_AUTHOR("Jiun, Yu");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/cmm/s3c_cmm.h linux-2.6.28.6/drivers/media/video/samsung/cmm/s3c_cmm.h
--- linux-2.6.28/drivers/media/video/samsung/cmm/s3c_cmm.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/cmm/s3c_cmm.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,90 @@
+/* linux/driver/media/video/cmm/s3c_cmm.h
+ *
+ * Header file for Samsung CMM (Codec Memory Management) driver 
+ *
+ * Satish, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_CMM_H
+#define _S3C_CMM_H
+
+
+#define S3C_CMM_MAX_INSTANCE_NUM			10
+
+#define S3C_CMM_CODEC_CACHED_MEM_SIZE		(4*1024*1024)
+#define S3C_CMM_CODEC_NON_CACHED_MEM_SIZE		(4*1024*1024) 
+#define S3C_CMM_CODEC_MEM_SIZE			(8*1024*1024)
+
+#define S3C_CMM_IOCTL_CODEC_MEM_ALLOC		0x0000001A	
+#define S3C_CMM_IOCTL_CODEC_MEM_FREE		0x0000001B
+#define S3C_CMM_IOCTL_CODEC_CACHE_FLUSH		0x0000001C
+#define S3C_CMM_IOCTL_CODEC_GET_PHY_ADDR		0x0000001D
+#define S3C_CMM_IOCTL_CODEC_MERGE_FRAGMENTATION	0x0000001E
+#define S3C_CMM_IOCTL_CODEC_CACHE_INVALIDATE	0x0000001F
+#define S3C_CMM_IOCTL_CODEC_CACHE_CLEAN		0x00000020
+#define S3C_CMM_IOCTL_CODEC_CACHE_CLEAN_INVALIDATE	0x00000021
+
+
+typedef enum {FALSE, TRUE} BOOL;
+
+typedef struct {
+	char			cacheFlag;	/* Cache or noncache flag */
+	int			size;       	/* memory size */
+}s3c_cmm_alloc_pram_t;
+
+typedef struct {
+	int			inst_no;
+	int			callerProcess;
+}s3c_cmm_codec_mem_ctx_t;
+
+typedef struct alloc_mem_t {
+	struct alloc_mem_t	*prev;
+	struct alloc_mem_t	*next;
+	union{
+		unsigned int	cached_p_addr;  /* physical address of cacheable area */
+		unsigned int	uncached_p_addr;/* physical address of non-cacheable area */
+	};
+	unsigned char		*v_addr;  	/* virtual address in cached area */
+	unsigned char		*u_addr;  	/* copyed virtual address for user mode process */
+	int			size;       	/* memory size */
+	int			inst_no;
+	char			cacheFlag;
+}s3c_cmm_alloc_mem_t;
+	
+typedef struct free_mem_t {
+	struct free_mem_t	*prev;
+	struct free_mem_t	*next;
+	unsigned int		startAddr;
+	unsigned int		size;
+	char			cacheFlag;
+}s3c_cmm_free_mem_t;
+
+/* ioctl arguments */
+typedef struct {
+	char			cacheFlag;
+	int			buffSize;
+	unsigned int		cached_mapped_addr;
+	unsigned int		non_cached_mapped_addr;
+	unsigned int		out_addr;
+}s3c_cmm_codec_mem_alloc_arg_t;
+
+typedef struct {
+	unsigned int	u_addr;
+}s3c_cmm_codec_mem_free_arg_t;
+
+typedef struct {
+	unsigned int	u_addr;
+	int		size;
+}s3c_cmm_codec_cache_flush_arg_t;
+
+typedef struct {
+	unsigned int 	u_addr;
+	unsigned int	p_addr;
+}s3c_cmm_codec_get_phy_addr_arg_t;
+
+#endif /* _S3C_CMM_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/Kconfig linux-2.6.28.6/drivers/media/video/samsung/fimc/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/fimc/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/Kconfig	2009-10-21 20:23:48.000000000 +0200
@@ -0,0 +1,57 @@
+
+if VIDEO_FIMC
+comment "FIMC configurations"
+endif
+
+config VIDEO_FIMC
+	bool "Samsung Camera Interface (FIMC) driver"
+	depends on VIDEO_SAMSUNG && (ARCH_S3C64XX || ARCH_S5PC1XX)
+	default n
+	---help---
+	  This is a video4linux driver for Samsung FIMC device.
+
+config VIDEO_FIMC_DEBUG
+	bool "FIMC driver debug messages"
+	depends on VIDEO_FIMC
+
+config VIDEO_FIMC_MIPI
+	bool "FIMC works with MIPI-CSI2 (Rx)"
+	depends on VIDEO_FIMC && ARCH_S5PC1XX
+
+source "drivers/media/video/samsung/fimc/Kconfig-camera"
+
+choice
+depends on OV965X
+prompt "Select source resolution"
+default OV965X_VGA
+config OV965X_VGA
+	bool "VGA(640X480)"
+	---help---
+	LIYUTAI OV965X camera module support.
+
+config OV965X_QVGA
+	bool "QVGA(320X240)"
+	---help---
+	LIYUTAI OV965X camera module support.
+
+config OV965X_SVGA
+	bool "SVGA(800X600)"
+	---help---
+	LIYUTAI OV965X camera module support.
+
+config OV965X_SXGA
+	bool "SXGA(1280X1024)"
+	---help---
+	LIYUTAI OV965X camera module support.
+endchoice
+
+config VIDEO_FIMC_CAM_CH
+	int "External Camera channel (0=A, 1=B)"
+	depends on VIDEO_FIMC
+	default "0"
+
+config VIDEO_FIMC_CAM_RESET
+	int "Reset Type (0=low, 1=high)"
+	depends on VIDEO_FIMC
+	default "0"
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/Kconfig-camera linux-2.6.28.6/drivers/media/video/samsung/fimc/Kconfig-camera
--- linux-2.6.28/drivers/media/video/samsung/fimc/Kconfig-camera	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/Kconfig-camera	2009-10-21 20:15:20.000000000 +0200
@@ -0,0 +1,23 @@
+choice
+	prompt "External Camera"
+	depends on VIDEO_FIMC
+
+config S5K4BA
+	bool "Samsung S5K4BA"
+	depends on VIDEO_FIMC
+	---help---
+	  Samsung S5K4BA mobile camera support
+
+config S5K3BA
+	bool "Samsung S5K3BA"
+	depends on VIDEO_FIMC
+	---help---
+	  Samsung S5K3BA mobile camera support
+
+config OV965X
+	bool "OVT OV965X"
+	depends on VIDEO_FIMC
+	---help---
+	  LYT OV965X camera module support
+
+endchoice
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/Makefile linux-2.6.28.6/drivers/media/video/samsung/fimc/Makefile
--- linux-2.6.28/drivers/media/video/samsung/fimc/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/Makefile	2009-10-21 20:27:50.000000000 +0200
@@ -0,0 +1,13 @@
+obj-$(CONFIG_VIDEO_FIMC)	+= s3c_fimc_core.o s3c_fimc_v4l2.o s3c_fimc_cfg.o
+obj-$(CONFIG_VIDEO_FIMC_MIPI)	+= s3c_csis.o
+obj-$(CONFIG_ARCH_S3C64XX)	+= s3c_fimc3x_regs.o
+obj-$(CONFIG_ARCH_S5PC1XX)	+= s3c_fimc4x_regs.o
+obj-$(CONFIG_S5K3BA)		+= s5k3ba.o
+obj-$(CONFIG_S5K4BA)		+= s5k4ba.o
+obj-$(CONFIG_OV965X)		+= ov965x.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
+ifeq ($(CONFIG_VIDEO_FIMC_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/ov965x.c linux-2.6.28.6/drivers/media/video/samsung/fimc/ov965x.c
--- linux-2.6.28/drivers/media/video/samsung/fimc/ov965x.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/ov965x.c	2009-10-23 17:06:20.000000000 +0200
@@ -0,0 +1,195 @@
+/* linux/drivers/media/video/samsung/ov965x.c
+ *
+ * Samsung ov965x CMOS Image Sensor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/i2c.h>
+#include <linux/i2c-id.h>
+#include <linux/slab.h>
+#include <linux/string.h>
+#include <linux/init.h>
+#include <asm/io.h>
+
+#include "s3c_fimc.h"
+#include "ov965x.h"
+
+#define OV965X_I2C_ADDR		0x60//0x5a
+
+const static u16 ignore[] = { I2C_CLIENT_END };
+const static u16 normal_addr[] = { (OV965X_I2C_ADDR >> 1), I2C_CLIENT_END };
+const static u16 *forces[] = { NULL };
+static struct i2c_driver ov965x_i2c_driver;
+
+static struct s3c_fimc_camera ov965x_data = {
+	.id 		= CONFIG_VIDEO_FIMC_CAM_CH,
+	.type		= CAM_TYPE_ITU,
+	.mode		= ITU_601_YCBCR422_8BIT,
+	.order422	= CAM_ORDER422_8BIT_YCBYCR,//YCRYCB,
+	.clockrate	= 24000000,
+	.width		= 640,//800,
+	.height		= 480,//600,
+	.offset		= {
+		.h1 = 0,
+		.h2 = 0,
+		.v1 = 0,
+		.v2 = 0,
+	},
+
+	.polarity	= {
+		.pclk	= 0,
+		.vsync	= 1,
+		.href	= 0,
+		.hsync	= 0,
+	},
+
+	.initialized	= 0,
+};
+
+static struct i2c_client_address_data addr_data = {
+	.normal_i2c	= normal_addr,
+	.probe		= ignore,
+	.ignore		= ignore,
+	.forces		= forces,
+};
+
+static void ov965x_start(struct i2c_client *client)
+{
+	int i;
+
+	//printk("[CAM] OV965X init reg start...\n");
+	for (i = 0; i < OV965X_INIT_REGS; i++) {
+		s3c_fimc_i2c_write(client, OV965X_init_reg[i].subaddr, \
+					OV965X_init_reg[i].value);
+	}
+	//printk("[CAM] OV965X init reg end.\n");
+}
+
+static int ov965x_attach(struct i2c_adapter *adap, int addr, int kind)
+{
+	struct i2c_client *c;
+
+	c = kmalloc(sizeof(*c), GFP_KERNEL);
+	if (!c)
+		return -ENOMEM;
+
+	memset(c, 0, sizeof(struct i2c_client));	
+
+	strcpy(c->name, "ov965x");
+	c->addr = addr;
+	c->adapter = adap;
+	c->driver = &ov965x_i2c_driver;
+
+	ov965x_data.client = c;
+
+	info("OV965X attached successfully\n");
+
+	return i2c_attach_client(c);
+}
+
+static int ov965x_attach_adapter(struct i2c_adapter *adap)
+{
+	int ret = 0;
+	//printk("[OV965X]ov965x_attach_adapter.\n");
+
+	s3c_fimc_register_camera(&ov965x_data);
+
+	ret = i2c_probe(adap, &addr_data, ov965x_attach);
+	if (ret) {
+		err("failed to attach ov965x driver\n");
+		ret = -ENODEV;
+	}
+
+	return ret;
+}
+
+static int ov965x_detach(struct i2c_client *client)
+{
+	i2c_detach_client(client);
+
+	return 0;
+}
+
+static int ov965x_change_resolution(struct i2c_client *client, int res)
+{
+	switch (res) {
+	case CAM_RES_DEFAULT:	/* fall through */
+	case CAM_RES_MAX:	/* fall through */
+		break;
+
+	default:
+		err("unexpect value\n");
+	}
+
+	return 0;
+}
+
+static int ov965x_change_whitebalance(struct i2c_client *client, enum s3c_fimc_wb_t type)
+{
+	//s3c_fimc_i2c_write(client, 0xfc, 0x0);
+	//s3c_fimc_i2c_write(client, 0x30, type);
+
+	return 0;
+}
+
+static int ov965x_command(struct i2c_client *client, u32 cmd, void *arg)
+{
+	switch (cmd) {
+	case I2C_CAM_INIT:
+		///s3c_fimc_reset_camera();
+		ov965x_start(client);
+		info("external camera initialized\n");
+		break;
+
+	case I2C_CAM_RESOLUTION:
+		ov965x_change_resolution(client, (int) arg);
+		break;
+
+	case I2C_CAM_WB:
+		ov965x_change_whitebalance(client, (enum s3c_fimc_wb_t) arg);
+        	break;
+
+	default:
+		err("unexpect command\n");
+		break;
+	}
+
+	return 0;
+}
+
+static struct i2c_driver ov965x_i2c_driver = {
+	.driver = {
+		.name = "ov965x",
+	},
+	.id = I2C_DRIVERID_OV965X,
+	.attach_adapter = ov965x_attach_adapter,
+	.detach_client = ov965x_detach,
+	.command = ov965x_command,
+};
+
+static __init int ov965x_init(void)
+{
+	return i2c_add_driver(&ov965x_i2c_driver);
+}
+
+static __init void ov965x_exit(void)
+{
+	i2c_del_driver(&ov965x_i2c_driver);
+}
+
+module_init(ov965x_init)
+module_exit(ov965x_exit)
+
+MODULE_AUTHOR("Jinsung, Yang <jsgood.yang@samsung.com>");
+MODULE_DESCRIPTION("Samsung ov965x I2C based CMOS Image Sensor driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/ov965x.h linux-2.6.28.6/drivers/media/video/samsung/fimc/ov965x.h
--- linux-2.6.28/drivers/media/video/samsung/fimc/ov965x.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/ov965x.h	2009-10-21 20:38:23.000000000 +0200
@@ -0,0 +1,360 @@
+/* linux/drivers/media/video/samsung/OV965X.h
+ *
+ * Header file for Samsung OV965X CMOS Image Sensor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+/*******************************************************************************************
+ #  Display resolution standards #
+
+	QCIF: 176 x 144
+	CIF: 352 x 288
+	QVGA: 320 x 240
+	VGA: 640 x 480 
+	SVGA: 800 x 600 
+	XGA: 1024 x 768 
+	WXGA: 1280 x 800 
+	QVGA: 1280 x 960 
+	SXGA: 1280 x 1024 
+	SXGA+: 1400 x 1050 
+	WSXGA+: 1680 x 1050 
+	UXGA: 1600 x 1200 
+	WUXGA: 1920 x 1200 
+	QXGA: 2048 x 1536
+********************************************************************************************/
+
+#ifndef _OV965X_H_
+#define _OV965X_H_
+
+#define CHIP_DELAY 0xFF
+
+typedef struct s3c_fimc_i2c_value {
+	u8 subaddr;
+	u8 value;
+} OV965X_t;
+
+/* init */
+#if defined(CONFIG_OV965X_VGA)
+OV965X_t OV965X_init_reg[] =
+{
+	{0x12, 0x80},	// Camera Soft reset. Self cleared after reset.
+	{CHIP_DELAY, 10},
+	//{0x11,0x80},
+	{0x6a,0x3e},
+	{0x3b,0x09},//09
+	{0x13,0x8f},//e0//8f
+	{0x01,0x80},
+	{0x02,0x80},
+	{0x00,0x00},
+	{0x10,0x00},	
+	{0x35,0x91},
+	{0x0e,0xa0},
+	{0x1e,0x34},//14
+	{0xA8,0x80},	
+	//////////////VGA//////////
+	{0x04,0x00},
+	{0x0c,0x04},
+	{0x0d,0x80},
+	{0x11,0x81},
+	{0x12,0x40},
+	{0x37,0x91},
+	{0x38,0x12},
+	{0x39,0x43},
+	/////////////END///Square_Chiu
+	{0x18,0xc6},
+	{0x17,0x26},
+	{0x32,0xad},
+	{0x03,0x00},
+	{0x1a,0x3d},
+	{0x19,0x01},
+	{0x3f,0xa6},
+	{0x14,0x2e},
+	{0x15,0x10},
+	{0x41,0x02},
+	{0x42,0x08},
+	{0x1b,0x00},
+	{0x16,0x06},
+	{0x33,0xe2},
+	{0x34,0xbf},
+	{0x96,0x04},
+	{0x3a,0x00},
+	{0x8e,0x00},
+	{0x3c,0x77},
+	{0x8B,0x06},
+	{0x94,0x88},
+	{0x95,0x88},
+	{0x40,0xc1},
+	{0x29,0x3f},
+	{0x0f,0x42},
+	{0x3d,0x92},
+	{0x69,0x40},
+	{0x5C,0xb9},
+	{0x5D,0x96},
+	{0x5E,0x10},
+	{0x59,0xc0},
+	{0x5A,0xaf},
+	{0x5B,0x55},
+	{0x43,0xf0},
+	{0x44,0x10},
+	{0x45,0x68},
+	{0x46,0x96},
+	{0x47,0x60},
+	{0x48,0x80},
+	{0x5F,0xe0},
+	{0x60,0x8c},
+	{0x61,0x20},
+	{0xa5,0xd9},
+	{0xa4,0x74},
+	{0x8d,0x02},
+	//{0x13,0xe7},
+	{0x4f,0x3a},
+	{0x50,0x3d},
+	{0x51,0x03},
+	{0x52,0x12},
+	{0x53,0x26},
+	{0x54,0x36},
+	{0x55,0x45},
+	{0x56,0x40},
+	{0x57,0x40},
+	{0x58,0x0d},
+	{0x8C,0x23},
+	{0x3E,0x02},
+	{0xa9,0xb8},
+	{0xaa,0x92},
+	{0xab,0x0a},
+	{0x8f,0xdf},
+	{0x90,0x00},
+	{0x91,0x00},
+	{0x9f,0x00},
+	{0xa0,0x00},
+	{0x3A,0x01},
+	{0x24,0x70},
+	{0x25,0x64},
+	{0x26,0xc3},
+	{0x2a,0x00},
+	{0x2b,0x00},
+	{0x6c,0x40},
+	{0x6d,0x30},
+	{0x6e,0x4b},
+	{0x6f,0x60},
+	{0x70,0x70},
+	{0x71,0x70},
+	{0x72,0x70},
+	{0x73,0x70},
+	{0x74,0x60},
+	{0x75,0x60},
+	{0x76,0x50},
+	{0x77,0x48},
+	{0x78,0x3a},
+	{0x79,0x2e},
+	{0x7a,0x28},
+	{0x7b,0x22},
+	{0x7c,0x04},
+	{0x7d,0x07},
+	{0x7e,0x10},
+	{0x7f,0x28},
+	{0x80,0x36},
+	{0x81,0x44},
+	{0x82,0x52},
+	{0x83,0x60},
+	{0x84,0x6c},
+	{0x85,0x78},
+	{0x86,0x8c},
+	{0x87,0x9e},
+	{0x88,0xbb},
+	{0x89,0xd2},
+	{0x8a,0xe6},
+	//{0x15, 0x12},	// PCLK reverse
+
+};
+#elif defined(CONFIG_OV965X_QVGA)
+OV965X_t OV965X_init_reg[] =
+{
+	{0x12, 0x80},	// Camera Soft reset. Self cleared after reset.
+	{CHIP_DELAY, 10},
+	{0x11,0x80},
+	{0x6a,0x3e},
+	{0x3b,0x09},//09
+	{0x13,0x8f},//e0//8f
+	{0x01,0x80},
+	{0x02,0x80},
+	{0x00,0x00},
+	{0x10,0x00},
+	{0x39,0x43},
+	{0x38,0x12},
+	{0x37,0x00},
+	{0x35,0x91},
+	{0x0e,0xa0},
+	{0x1e,0x14},
+	{0xA8,0x80},
+	{0x12,0x40},
+	{0x04,0x00},
+	{0x0c,0x04},
+	{0x0d,0x80},
+	{0x18,0xc6},
+	{0x17,0x26},
+	{0x32,0xad},
+	{0x03,0x00},
+	{0x1a,0x3d},
+	{0x19,0x01},
+	{0x3f,0xa6},
+	{0x14,0x2e},
+	{0x15,0x10},
+	{0x41,0x02},
+	{0x42,0x08},
+	{0x1b,0x00},
+	{0x16,0x06},
+	{0x33,0xe2},
+	{0x34,0xbf},
+	{0x96,0x04},
+	{0x3a,0x00},
+	{0x8e,0x00},
+	{0x3c,0x77},
+	{0x8B,0x06},
+	{0x94,0x88},
+	{0x95,0x88},
+	{0x40,0xc1},
+	{0x29,0x3f},
+	{0x0f,0x42},
+	{0x3d,0x92},
+	{0x69,0x40},
+	{0x5C,0xb9},
+	{0x5D,0x96},
+	{0x5E,0x10},
+	{0x59,0xc0},
+	{0x5A,0xaf},
+	{0x5B,0x55},
+	{0x43,0xf0},
+	{0x44,0x10},
+	{0x45,0x68},
+	{0x46,0x96},
+	{0x47,0x60},
+	{0x48,0x80},
+	{0x5F,0xe0},
+	{0x60,0x8c},
+	{0x61,0x20},
+	{0xa5,0xd9},
+	{0xa4,0x74},
+	{0x8d,0x02},
+	//{0x13,0xe7},
+	{0x4f,0x3a},
+	{0x50,0x3d},
+	{0x51,0x03},
+	{0x52,0x12},
+	{0x53,0x26},
+	{0x54,0x36},
+	{0x55,0x45},
+	{0x56,0x40},
+	{0x57,0x40},
+	{0x58,0x0d},
+	{0x8C,0x23},
+	{0x3E,0x02},
+	{0xa9,0xb8},
+	{0xaa,0x92},
+	{0xab,0x0a},
+	{0x8f,0xdf},
+	{0x90,0x00},
+	{0x91,0x00},
+	{0x9f,0x00},
+	{0xa0,0x00},
+	{0x3A,0x01},
+	{0x24,0x70},
+	{0x25,0x64},
+	{0x26,0xc3},
+	{0x2a,0x00},
+	{0x2b,0x00},
+	{0x6c,0x40},
+	{0x6d,0x30},
+	{0x6e,0x4b},
+	{0x6f,0x60},
+	{0x70,0x70},
+	{0x71,0x70},
+	{0x72,0x70},
+	{0x73,0x70},
+	{0x74,0x60},
+	{0x75,0x60},
+	{0x76,0x50},
+	{0x77,0x48},
+	{0x78,0x3a},
+	{0x79,0x2e},
+	{0x7a,0x28},
+	{0x7b,0x22},
+	{0x7c,0x04},
+	{0x7d,0x07},
+	{0x7e,0x10},
+	{0x7f,0x28},
+	{0x80,0x36},
+	{0x81,0x44},
+	{0x82,0x52},
+	{0x83,0x60},
+	{0x84,0x6c},
+	{0x85,0x78},
+	{0x86,0x8c},
+	{0x87,0x9e},
+	{0x88,0xbb},
+	{0x89,0xd2},
+	{0x8a,0xe6},
+	//{0x15, 0x12},	// PCLK reverse
+};
+#elif defined(CONFIG_OV965X_SVGA)
+OV965X_t OV965X_init_reg[] =
+{
+	/* Only for VGA Mode */
+	{0x25,0x64},
+	{0x26,0xc3},
+	{0x2a,0x00},
+	{0x2b,0x00},
+	{0x6c,0x40},
+	{0x6d,0x30},
+	{0x6e,0x4b},
+	{0x6f,0x60},
+	{0x70,0x70},
+	{0x71,0x70},
+	{0x72,0x70},
+	{0x73,0x70},
+	{0x74,0x60},
+	{0x75,0x60},
+	{0x76,0x50},
+	{0x77,0x48},
+	{0x78,0x3a},
+	{0x79,0x2e},
+	{0x7a,0x28},
+	{0x7b,0x22},
+		//YONGKAL
+};
+#elif defined(CONFIG_OV965X_SXGA)
+OV965X_t OV965X_init_reg[] =
+{
+	{0x25,0x64},
+	{0x26,0xc3},
+	{0x2a,0x00},
+	{0x2b,0x00},
+	{0x6c,0x40},
+	{0x6d,0x30},
+	{0x6e,0x4b},
+	{0x6f,0x60},
+	{0x70,0x70},
+	{0x71,0x70},
+	{0x72,0x70},
+	{0x73,0x70},
+	{0x74,0x60},
+	{0x75,0x60},
+	{0x76,0x50},
+	{0x77,0x48},
+	{0x78,0x3a},
+	{0x79,0x2e},
+	{0x7a,0x28},
+	{0x7b,0x22},
+};
+#endif
+
+#define OV965X_INIT_REGS	(sizeof(OV965X_init_reg) / sizeof(OV965X_init_reg[0]))
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s3c_csis.c linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_csis.c
--- linux-2.6.28/drivers/media/video/samsung/fimc/s3c_csis.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_csis.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,276 @@
+/* linux/drivers/media/video/samsung/s3c_csis.c
+ *
+ * MIPI-CSI2 Support file for FIMC driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/clk.h>
+#include <linux/fs.h>
+#include <linux/irq.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+
+#include <asm/io.h>
+#include <asm/memory.h>
+#include <plat/clock.h>
+#include <plat/regs-csis.h>
+#include <plat/csis.h>
+
+#include "s3c_csis.h"
+
+static struct s3c_csis_info *s3c_csis;
+
+static struct s3c_platform_csis *to_csis_plat(struct device *dev)
+{
+	struct platform_device *pdev = to_platform_device(dev);
+
+	return (struct s3c_platform_csis *) pdev->dev.platform_data;
+}
+
+static int s3c_csis_set_info(void)
+{
+	s3c_csis = (struct s3c_csis_info *) \
+			kmalloc(sizeof(struct s3c_csis_info), GFP_KERNEL);
+	if (!s3c_csis) {
+		err("no memory for configuration\n");
+		return -ENOMEM;
+	}
+
+	strcpy(s3c_csis->name, S3C_CSIS_NAME);
+	s3c_csis->nr_lanes = S3C_CSIS_NR_LANES;
+
+	return 0;
+}
+
+static void s3c_csis_reset(void)
+{
+	u32 cfg;
+
+	cfg = readl(s3c_csis->regs + S3C_CSIS_CONTROL);
+	cfg |= S3C_CSIS_CONTROL_RESET;
+	writel(cfg, s3c_csis->regs + S3C_CSIS_CONTROL);
+}
+
+static void s3c_csis_set_nr_lanes(int lanes)
+{
+	u32 cfg;
+
+	cfg = readl(s3c_csis->regs + S3C_CSIS_CONFIG);
+	cfg &= ~S3C_CSIS_CONFIG_NR_LANE_MASK;
+
+	if (lanes == 1)
+		cfg |= S3C_CSIS_CONFIG_NR_LANE_1;
+	else
+		cfg |= S3C_CSIS_CONFIG_NR_LANE_2;
+
+	writel(cfg, s3c_csis->regs + S3C_CSIS_CONFIG);
+}
+
+static void s3c_csis_enable_interrupt(void)
+{
+	u32 cfg = 0;
+
+	/* enable all interrupts */
+	cfg |= S3C_CSIS_INTMSK_EVEN_BEFORE_ENABLE | \
+		S3C_CSIS_INTMSK_EVEN_AFTER_ENABLE | \
+		S3C_CSIS_INTMSK_ODD_BEFORE_ENABLE | \
+		S3C_CSIS_INTMSK_ODD_AFTER_ENABLE | \
+		S3C_CSIS_INTMSK_ERR_SOT_HS_ENABLE | \
+		S3C_CSIS_INTMSK_ERR_ESC_ENABLE | \
+		S3C_CSIS_INTMSK_ERR_CTRL_ENABLE | \
+		S3C_CSIS_INTMSK_ERR_ECC_ENABLE | \
+		S3C_CSIS_INTMSK_ERR_CRC_ENABLE | \
+		S3C_CSIS_INTMSK_ERR_ID_ENABLE;
+
+	writel(cfg, s3c_csis->regs + S3C_CSIS_INTMSK);
+}
+
+static void s3c_csis_disable_interrupt(void)
+{
+	/* disable all interrupts */
+	writel(0, s3c_csis->regs + S3C_CSIS_INTMSK);
+}
+
+static void s3c_csis_system_on(void)
+{
+	u32 cfg;
+
+	cfg = readl(s3c_csis->regs + S3C_CSIS_CONTROL);
+	cfg |= S3C_CSIS_CONTROL_ENABLE;
+	writel(cfg, s3c_csis->regs + S3C_CSIS_CONTROL);
+}
+
+static void s3c_csis_system_off(void)
+{
+	u32 cfg;
+
+	cfg = readl(s3c_csis->regs + S3C_CSIS_CONTROL);
+	cfg &= ~S3C_CSIS_CONTROL_ENABLE;
+	writel(cfg, s3c_csis->regs + S3C_CSIS_CONTROL);
+}
+
+static void s3c_csis_phy_on(void)
+{
+	u32 cfg;
+
+	cfg = readl(s3c_csis->regs + S3C_CSIS_DPHYCTRL);
+	cfg |= S3C_CSIS_DPHYCTRL_ENABLE;
+	writel(cfg, s3c_csis->regs + S3C_CSIS_DPHYCTRL);
+}
+
+static void s3c_csis_phy_off(void)
+{
+	u32 cfg;
+
+	cfg = readl(s3c_csis->regs + S3C_CSIS_DPHYCTRL);
+	cfg &= ~S3C_CSIS_DPHYCTRL_ENABLE;
+	writel(cfg, s3c_csis->regs + S3C_CSIS_DPHYCTRL);
+}
+
+static void s3c_csis_start(struct platform_device *pdev)
+{
+	struct s3c_platform_csis *plat;
+
+	plat = to_csis_plat(&pdev->dev);
+	if (plat->cfg_phy_global)
+		plat->cfg_phy_global(pdev, 1);
+
+	s3c_csis_reset();
+	s3c_csis_set_nr_lanes(S3C_CSIS_NR_LANES);
+	s3c_csis_enable_interrupt();
+	s3c_csis_system_on();
+	s3c_csis_phy_on();
+}
+
+static void s3c_csis_stop(struct platform_device *pdev)
+{
+	struct s3c_platform_csis *plat;
+
+	s3c_csis_disable_interrupt();
+	s3c_csis_system_off();
+	s3c_csis_phy_off();
+
+	plat = to_csis_plat(&pdev->dev);
+	if (plat->cfg_phy_global)
+		plat->cfg_phy_global(pdev, 0);
+}
+
+static irqreturn_t s3c_csis_irq(int irq, void *dev_id)
+{
+	u32 cfg;
+
+	/* just clearing the pends */
+	cfg = readl(s3c_csis->regs + S3C_CSIS_INTSRC);
+	writel(cfg, s3c_csis->regs + S3C_CSIS_INTSRC);
+
+	return IRQ_HANDLED;
+}
+
+static int s3c_csis_probe(struct platform_device *pdev)
+{
+	struct s3c_platform_csis *pdata;
+	struct resource *res;
+
+	s3c_csis_set_info();
+
+	pdata = to_csis_plat(&pdev->dev);
+	if (pdata->cfg_gpio)
+		pdata->cfg_gpio(pdev);
+
+	s3c_csis->clock = clk_get(&pdev->dev, pdata->clk_name);
+	if (IS_ERR(s3c_csis->clock)) {
+		err("failed to get csis clock source\n");
+		return -EINVAL;
+	}
+
+	clk_enable(s3c_csis->clock);
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (!res) {
+		err("failed to get io memory region\n");
+		return -EINVAL;
+	}
+
+	res = request_mem_region(res->start, res->end - res->start + 1, pdev->name);
+	if (!res) {
+		err("failed to request io memory region\n");
+		return -EINVAL;
+	}
+
+	/* ioremap for register block */
+	s3c_csis->regs = ioremap(res->start, res->end - res->start + 1);
+	if (!s3c_csis->regs) {
+		err("failed to remap io region\n");
+		return -EINVAL;
+	}
+
+	/* irq */
+	s3c_csis->irq = platform_get_irq(pdev, 0);
+	if (request_irq(s3c_csis->irq, s3c_csis_irq, IRQF_DISABLED, \
+		s3c_csis->name, s3c_csis))
+		err("request_irq failed\n");
+
+	info("Samsung MIPI-CSI2 driver probed successfully\n");
+
+	s3c_csis_start(pdev);
+	info("Samsung MIPI-CSI2 operation started\n");
+	
+	return 0;	
+}
+
+static int s3c_csis_remove(struct platform_device *pdev)
+{
+	s3c_csis_stop(pdev);
+	kfree(s3c_csis);
+
+	return 0;
+}
+
+int s3c_csis_suspend(struct platform_device *dev, pm_message_t state)
+{
+	return 0;
+}
+
+int s3c_csis_resume(struct platform_device *dev)
+{
+	return 0;
+}
+
+static struct platform_driver s3c_csis_driver = {
+	.probe		= s3c_csis_probe,
+	.remove		= s3c_csis_remove,
+	.suspend	= s3c_csis_suspend,
+	.resume		= s3c_csis_resume,
+	.driver		= {
+		.name	= "s3c-csis",
+		.owner	= THIS_MODULE,
+	},
+};
+
+static int s3c_csis_register(void)
+{
+	platform_driver_register(&s3c_csis_driver);
+
+	return 0;
+}
+
+static void s3c_csis_unregister(void)
+{
+	platform_driver_unregister(&s3c_csis_driver);
+}
+
+module_init(s3c_csis_register);
+module_exit(s3c_csis_unregister);
+	
+MODULE_AUTHOR("Jinsung, Yang <jsgood.yang@samsung.com>");
+MODULE_DESCRIPTION("MIPI-CSI2 support for FIMC driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s3c_csis.h linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_csis.h
--- linux-2.6.28/drivers/media/video/samsung/fimc/s3c_csis.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_csis.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,32 @@
+/* linux/drivers/media/video/samsung/s3c_csis.h
+ *
+ * Header file for Samsung MIPI-CSI2 driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _S3C_CSIS_H
+#define _S3C_CSIS_H
+
+#define S3C_CSIS_NAME		"s3c-csis"
+#define S3C_CSIS_NR_LANES	2
+
+#define info(args...)	do { printk(KERN_INFO S3C_CSIS_NAME ": " args); } while (0)
+#define err(args...)	do { printk(KERN_ERR  S3C_CSIS_NAME ": " args); } while (0)
+
+
+struct s3c_csis_info {
+	char 		name[16];
+	struct device	*dev;
+	struct clk	*clock;	
+	void __iomem	*regs;
+	int		irq;
+	int		nr_lanes;
+};
+
+#endif /* _S3C_CSIS_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc.h linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc.h
--- linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,675 @@
+/* linux/drivers/media/video/samsung/s3c_fimc.h
+ *
+ * Header file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _S3C_FIMC_H
+#define _S3C_FIMC_H
+
+#ifdef __KERNEL__
+#include <linux/wait.h>
+#include <linux/mutex.h>
+#include <linux/i2c.h>
+#include <linux/videodev2.h>
+#include <media/v4l2-common.h>
+#include <media/v4l2-ioctl.h>
+#include <plat/fimc.h>
+#endif
+
+/*
+ * P I X E L   F O R M A T   G U I D E
+ *
+ * The 'x' means 'DO NOT CARE'
+ * The '*' means 'FIMC SPECIFIC'
+ * For some fimc formats, we couldn't find equivalent format in the V4L2 FOURCC.
+ *
+ * FIMC TYPE	PLANES	ORDER		V4L2_PIX_FMT
+ * ---------------------------------------------------------
+ * RGB565	x	x		V4L2_PIX_FMT_RGB565
+ * RGB888	x	x		V4L2_PIX_FMT_RGB24
+ * YUV420	2	LSB_CBCR	V4L2_PIX_FMT_NV12
+ * YUV420	2	LSB_CRCB	V4L2_PIX_FMT_NV21
+ * YUV420	2	MSB_CBCR	V4L2_PIX_FMT_NV21X*
+ * YUV420	2	MSB_CRCB	V4L2_PIX_FMT_NV12X*
+ * YUV420	3	x		V4L2_PIX_FMT_YUV420
+ * YUV422	1	YCBYCR		V4L2_PIX_FMT_YUYV
+ * YUV422	1	YCRYCB		V4L2_PIX_FMT_YVYU
+ * YUV422	1	CBYCRY		V4L2_PIX_FMT_UYVY
+ * YUV422	1	CRYCBY		V4L2_PIX_FMT_VYUY*
+ * YUV422	2	LSB_CBCR	V4L2_PIX_FMT_NV16*
+ * YUV422	2	LSB_CRCB	V4L2_PIX_FMT_NV61*
+ * YUV422	2	MSB_CBCR	V4L2_PIX_FMT_NV16X*
+ * YUV422	2	MSB_CRCB	V4L2_PIX_FMT_NV61X*
+ * YUV422	3	x		V4L2_PIX_FMT_YUV422P
+ *
+*/
+
+/*
+ * C O M M O N   D E F I N I T I O N S
+ *
+*/
+#define S3C_FIMC_NAME	"s3c-fimc"
+
+#define info(args...)	do { printk(KERN_INFO S3C_FIMC_NAME ": " args); } while (0)
+#define err(args...)	do { printk(KERN_ERR  S3C_FIMC_NAME ": " args); } while (0)
+
+#define S3C_FIMC_FRAME_SKIP		0
+#define S3C_FIMC_FRAME_TAKE		1
+
+#define S3C_FIMC_MAX_CTRLS		3
+#define S3C_FIMC_MAX_FRAMES		4
+
+/* including 1 more for test pattern */
+#define S3C_FIMC_MAX_CAMS		4
+#define S3C_FIMC_TPID			(S3C_FIMC_MAX_CAMS - 1)
+
+#define S3C_FIMC_ZOOM_PIXELS		32
+
+#define S3C_FIMC_CROP_DEF_WIDTH		352
+#define S3C_FIMC_CROP_DEF_HEIGHT	272
+
+/* S flag: global status flags */
+#define S3C_FIMC_FLAG_RUNNING		0x0001
+#define S3C_FIMC_FLAG_STOP		0x0002
+#define S3C_FIMC_FLAG_HANDLE_IRQ	0x0004
+#define S3C_FIMC_STA_MASK		0x000f
+
+/* U flag: use case flags */
+#define S3C_FIMC_FLAG_PREVIEW		0x0010
+#define S3C_FIMC_FLAG_CAPTURE		0x0020
+#define S3C_FIMC_USE_MASK		0x00f0
+
+/* I flag: IRQ flags */
+#define S3C_FIMC_FLAG_IRQ_NORMAL	0x0100	
+#define S3C_FIMC_FLAG_IRQ_X		0x0200
+#define S3C_FIMC_FLAG_IRQ_Y		0x0400
+#define S3C_FIMC_FLAG_IRQ_LAST		0x0800
+#define S3C_FIMC_IRQ_MASK		0x0f00
+
+#define UNMASK_STATUS(x)		(x->flag &= ~S3C_FIMC_STA_MASK)
+#define UNMASK_USAGE(x)			(x->flag &= ~S3C_FIMC_USE_MASK)
+#define UNMASK_IRQ(x)			(x->flag &= ~S3C_FIMC_IRQ_MASK)
+
+#define FSET_RUNNING(x)			UNMASK_STATUS(x); (x->flag |= S3C_FIMC_FLAG_RUNNING)
+#define FSET_STOP(x)			UNMASK_STATUS(x); (x->flag |= S3C_FIMC_FLAG_STOP)
+#define FSET_HANDLE_IRQ(x)		UNMASK_STATUS(x); (x->flag |= S3C_FIMC_FLAG_HANDLE_IRQ)
+
+#define FSET_PREVIEW(x)			UNMASK_USAGE(x); (x->flag |= S3C_FIMC_FLAG_PREVIEW)
+#define FSET_CAPTURE(x)			UNMASK_USAGE(x); (x->flag |= S3C_FIMC_FLAG_CAPTURE)
+
+#define FSET_IRQ_NORMAL(x)		UNMASK_IRQ(x); (x->flag |= S3C_FIMC_FLAG_IRQ_NORMAL)
+#define FSET_IRQ_X(x)			UNMASK_IRQ(x); (x->flag |= S3C_FIMC_FLAG_IRQ_X)
+#define FSET_IRQ_Y(x)			UNMASK_IRQ(x); (x->flag |= S3C_FIMC_FLAG_IRQ_Y)
+#define FSET_IRQ_LAST(x)		UNMASK_IRQ(x); (x->flag |= S3C_FIMC_FLAG_IRQ_LAST)
+
+#define IS_RUNNING(x)			(x->flag & S3C_FIMC_FLAG_RUNNING)
+#define IS_IRQ_HANDLING(x)		(x->flag & S3C_FIMC_FLAG_HANDLE_IRQ)
+
+#define IS_PREVIEW(x)			(x->flag & S3C_FIMC_FLAG_PREVIEW)
+#define IS_CAPTURE(x)			(x->flag & S3C_FIMC_FLAG_CAPTURE)
+
+#define IS_IRQ_NORMAL(x)		(x->flag & S3C_FIMC_FLAG_IRQ_NORMAL)
+#define IS_IRQ_X(x)			(x->flag & S3C_FIMC_FLAG_IRQ_X)
+#define IS_IRQ_Y(x)			(x->flag & S3C_FIMC_FLAG_IRQ_Y)
+#define IS_IRQ_LAST(x)			(x->flag & S3C_FIMC_FLAG_IRQ_LAST)
+
+#define PAT_CB(x)			((x >> 8) & 0xff)
+#define PAT_CR(x)			(x & 0xff)
+
+
+/*
+ * E N U M E R A T I O N S
+ *
+*/
+enum s3c_fimc_cam_t {
+	CAM_TYPE_ITU	= 0,
+	CAM_TYPE_MIPI	= 1,
+};
+
+enum s3c_fimc_cam_mode_t {
+	ITU_601_YCBCR422_8BIT = (1 << 31),
+	ITU_656_YCBCR422_8BIT = (0 << 31),
+	ITU_601_YCBCR422_16BIT = (1 << 29),
+	MIPI_CSI_YCBCR422_8BIT = 0x1e,
+	MIPI_CSI_RAW8 = 0x2a,
+	MIPI_CSI_RAW10 = 0x2b,
+	MIPI_CSI_RAW12 = 0x2c,
+};
+
+enum s3c_fimc_order422_cam_t {
+	CAM_ORDER422_8BIT_YCBYCR = (0 << 14),
+	CAM_ORDER422_8BIT_YCRYCB = (1 << 14),
+	CAM_ORDER422_8BIT_CBYCRY = (2 << 14),
+	CAM_ORDER422_8BIT_CRYCBY = (3 << 14),
+	CAM_ORDER422_16BIT_Y4CBCRCBCR = (0 << 14),
+	CAM_ORDER422_16BIT_Y4CRCBCRCB = (1 << 14),
+};
+
+enum s3c_fimc_order422_in_t {
+	IN_ORDER422_CRYCBY = (0 << 4),
+	IN_ORDER422_YCRYCB = (1 << 4),
+	IN_ORDER422_CBYCRY = (2 << 4),
+	IN_ORDER422_YCBYCR = (3 << 4),
+};
+
+enum s3c_fimc_order422_out_t {
+	OUT_ORDER422_YCBYCR = (0 << 0),
+	OUT_ORDER422_YCRYCB = (1 << 0),
+	OUT_ORDER422_CBYCRY = (2 << 0),
+	OUT_ORDER422_CRYCBY = (3 << 0),
+};
+
+enum s3c_fimc_2plane_order_t {
+	LSB_CBCR = 0,
+	LSB_CRCB = 1,
+	MSB_CRCB = 2,
+	MSB_CBCR = 3,
+};
+
+enum s3c_fimc_itu_cam_ch_t {
+	ITU_CAM_A = 1,
+	ITU_CAM_B = 0,
+};
+
+enum s3c_fimc_scan_t {
+	SCAN_TYPE_PROGRESSIVE	= 0,
+	SCAN_TYPE_INTERLACE	= 1,
+};
+
+enum s3c_fimc_format_t {
+	FORMAT_RGB565,
+	FORMAT_RGB666,
+	FORMAT_RGB888,
+	FORMAT_YCBCR420,
+	FORMAT_YCBCR422,
+};
+
+enum s3c_fimc_flip_t {
+	FLIP_ORIGINAL = 0,
+	FLIP_X_AXIS = 1,
+	FLIP_Y_AXIS = 2,
+	FLIP_XY_AXIS = 3,
+};
+
+enum s3c_fimc_path_in_t {
+	PATH_IN_ITU_CAMERA,
+	PATH_IN_MIPI_CAMERA,
+	PATH_IN_DMA,
+};
+
+enum s3c_fimc_path_out_t {
+	PATH_OUT_DMA,
+	PATH_OUT_LCDFIFO,
+};
+
+enum s3c_fimc_effect_t {
+	EFFECT_ORIGINAL = (0 << 26),
+	EFFECT_ARBITRARY = (1 << 26),
+	EFFECT_NEGATIVE = (2 << 26),
+	EFFECT_ARTFREEZE = (3 << 26),
+	EFFECT_EMBOSSING = (4 << 26),
+	EFFECT_SILHOUETTE = (5 << 26),
+};
+
+enum s3c_fimc_wb_t {
+	WB_AUTO = 0,
+	WB_INDOOR_3001 = 1,
+	WB_OUTDOOR_5100 = 2,
+	WB_INDOOR_2000 = 3,
+	WB_HALT = 4,
+	WB_CLOUDY = 5,
+	WB_SUNNY = 6,
+};
+
+enum s3c_fimc_i2c_cmd_t {
+	I2C_CAM_INIT,
+	I2C_CAM_RESOLUTION,	
+	I2C_CAM_WB,
+};
+
+enum s3c_fimc_cam_res_t {
+	CAM_RES_DEFAULT,
+	CAM_RES_QSVGA,
+	CAM_RES_VGA,
+	CAM_RES_SVGA,
+	CAM_RES_SXGA,
+	CAM_RES_UXGA,
+	CAM_RES_MAX,
+};
+
+
+/*
+ * F I M C   S T R U C T U R E S
+ *
+*/
+
+/*
+ * struct s3c_fimc_frame_addr
+ * @phys_rgb:	physical start address of rgb buffer
+ * @phys_y:	physical start address of y buffer
+ * @phys_cb:	physical start address of u buffer
+ * @phys_cr:	physical start address of v buffer
+ * @virt_y:	virtual start address of y buffer
+ * @virt_rgb:	virtual start address of rgb buffer
+ * @virt_cb:	virtual start address of u buffer
+ * @virt_cr:	virtual start address of v buffer
+*/
+struct s3c_fimc_frame_addr {
+	union {
+		dma_addr_t	phys_rgb;
+		dma_addr_t	phys_y;		
+	};
+
+	dma_addr_t		phys_cb;
+	dma_addr_t		phys_cr;
+
+	union {
+		u8		*virt_rgb;
+		u8		*virt_y;
+	};
+
+	u8			*virt_cb;
+	u8			*virt_cr;
+};
+
+/*
+ * struct s3c_fimc_window_offset
+ * @h1:	left side offset of source
+ * @h2: right side offset of source
+ * @v1: upper side offset of source
+ * @v2: lower side offset of source
+*/
+struct s3c_fimc_window_offset {
+	int	h1;
+	int	h2;
+	int	v1;
+	int	v2;
+};
+
+/*
+ * struct s3c_fimc_dma_offset
+ * @y_h:	y value horizontal offset
+ * @y_v:	y value vertical offset
+ * @cb_h:	cb value horizontal offset
+ * @cb_v:	cb value vertical offset
+ * @cr_h:	cr value horizontal offset
+ * @cr_v:	cr value vertical offset
+ *
+*/
+struct s3c_fimc_dma_offset {
+	int	y_h;
+	int	y_v;
+	int	cb_h;
+	int	cb_v;
+	int	cr_h;
+	int	cr_v;
+};
+
+/*
+ * struct s3c_fimc_polarity
+ * @pclk:	1 if PCLK polarity is inverse
+ * @vsync:	1 if VSYNC polarity is inverse
+ * @href:	1 if HREF polarity is inverse
+ * @hsync:	1 if HSYNC polarity is inverse
+*/
+struct s3c_fimc_polarity {
+	u32	pclk;
+	u32	vsync;
+	u32	href;
+	u32	hsync;
+};
+
+/*
+ * struct s3c_fimc_effect
+ * @type:	effect type
+ * @pat_cb:	cr value when type == arbitrary
+ * @pat_cR:	cr value when type == arbitrary
+ *
+*/
+struct s3c_fimc_effect {
+	enum s3c_fimc_effect_t	type;
+	u8			pat_cb;
+	u8			pat_cr;
+};
+
+/*
+ * struct s3c_fimc_scaler
+ * @bypass:		1 when pass the original source with no scaling
+ * @hfactor:		horizontal shift factor to scale up/down
+ * @vfactor:		vertical shift factor to scale up/down
+ * @pre_hratio:		horizontal ratio for pre-scaler
+ * @pre_vratio:		vertical ratio for pre-scaler
+ * @pre_dst_width:	destination width for pre-scaler
+ * @pre_dst_height:	destination height for pre-scaler
+ * @scaleup_h:		1 if we have to scale up for the horizontal
+ * @scaleup_v:		1 if we have to scale up for the vertical
+ * @main_hratio:	horizontal ratio for main scaler
+ * @main_vratio:	vertical ratio for main scaler
+ * @real_width:		src_width - offset
+ * @real_height:	src_height - offset
+ * @line_length:	line buffer length from platform_data
+ * @zoom_depth:		current zoom depth (0 = original)
+*/
+struct s3c_fimc_scaler {
+	u32		bypass;
+	u32		hfactor;
+	u32		vfactor;
+	u32		pre_hratio;
+	u32		pre_vratio;
+	u32		pre_dst_width;
+	u32		pre_dst_height;
+	u32		scaleup_h;
+	u32		scaleup_v;
+	u32		main_hratio;
+	u32		main_vratio;
+	u32		real_width;
+	u32		real_height;
+	u32		line_length;
+	u32		zoom_depth;
+};
+
+/*
+ * struct s3c_fimc_camera: abstraction for input camera
+ * @id:			cam id (0-2)
+ * @type:		type of camera (ITU or MIPI)
+ * @mode:		mode of input source
+ * @order422:		YCBCR422 order
+ * @clockrate:		camera clockrate
+ * @width:		source width
+ * @height:		source height
+ * @offset:		offset information
+ * @polarity		polarity information
+ * @reset_type:		reset type (high or low)
+ * @reset_delay:	delay time in microseconds (udelay)
+ * @client:		i2c client
+ * @initialized:	whether already initialized
+*/
+struct s3c_fimc_camera {
+	int				id;
+	enum s3c_fimc_cam_t		type;
+	enum s3c_fimc_cam_mode_t	mode;
+	enum s3c_fimc_order422_cam_t	order422;
+	u32				clockrate;
+	int				width;
+	int				height;
+	struct s3c_fimc_window_offset	offset;
+	struct s3c_fimc_polarity	polarity;
+	struct i2c_client		*client;
+	int				initialized;
+};
+
+/*
+ * struct s3c_fimc_in_frame: abstraction for frame data
+ * @addr:		address information of frame data
+ * @width:		width
+ * @height:		height
+ * @offset:		dma offset
+ * @format:		pixel format
+ * @planes:		YCBCR planes (1, 2 or 3)
+ * @order_1p		1plane YCBCR order
+ * @order_2p:		2plane YCBCR order
+ * @flip:		flip mode
+*/
+struct s3c_fimc_in_frame {
+	u32				buf_size;
+	struct s3c_fimc_frame_addr	addr;
+	int				width;
+	int				height;
+	struct s3c_fimc_dma_offset	offset;
+	enum s3c_fimc_format_t		format;
+	int				planes;
+	enum s3c_fimc_order422_in_t	order_1p;
+	enum s3c_fimc_2plane_order_t	order_2p;
+	enum s3c_fimc_flip_t		flip;
+};
+
+/*
+ * struct s3c_fimc_out_frame: abstraction for frame data
+ * @cfn:		current frame number
+ * @buf_size:		1 buffer size
+ * @addr[]:		address information of frames
+ * @nr_frams:		how many output frames used
+ * @skip_frames:	current streamed frames (for capture)
+ * @width:		width
+ * @height:		height
+ * @offset:		offset for output dma
+ * @format:		pixel format
+ * @planes:		YCBCR planes (1, 2 or 3)
+ * @order_1p		1plane YCBCR order
+ * @order_2p:		2plane YCBCR order
+ * @scan:		output scan method (progressive, interlace)
+ * @flip:		flip mode
+ * @effect:		output effect
+*/
+struct s3c_fimc_out_frame {
+	int				cfn;
+	u32				buf_size;
+	struct s3c_fimc_frame_addr	addr[S3C_FIMC_MAX_FRAMES];
+	int				nr_frames;
+	int				skip_frames;
+	int				width;
+	int				height;
+	struct s3c_fimc_dma_offset	offset;
+	enum s3c_fimc_format_t		format;
+	int				planes;
+	enum s3c_fimc_order422_out_t	order_1p;
+	enum s3c_fimc_2plane_order_t	order_2p;
+	enum s3c_fimc_scan_t		scan;
+	enum s3c_fimc_flip_t		flip;
+	struct s3c_fimc_effect		effect;
+};
+
+/*
+ * struct s3c_fimc_v4l2
+*/
+struct s3c_fimc_v4l2 {
+	struct v4l2_fmtdesc	*fmtdesc;
+	struct v4l2_framebuffer	frmbuf;
+	struct v4l2_input	*input;
+	struct v4l2_output	*output;
+	struct v4l2_rect	crop_bounds;
+	struct v4l2_rect	crop_defrect;
+	struct v4l2_rect	crop_current;
+};
+
+/*
+ * struct s3c_fimc_control: abstraction for FIMC controller
+ * @id:		id number (= minor number)
+ * @name:	name for video_device
+ * @flag:	status, usage, irq flag (S, U, I flag)
+ * @lock:	mutex lock
+ * @waitq:	waitqueue
+ * @pdata:	platform data
+ * @clock:	fimc clock
+ * @regs:	virtual address of SFR
+ * @in_use:	1 when resource is occupied
+ * @irq:	irq number
+ * @vd:		video_device
+ * @v4l2:	v4l2 info
+ * @scaler:	scaler related information
+ * @in_type:	type of input
+ * @in_cam:	camera structure pointer if input is camera else null
+ * @in_frame:	frame structure pointer if input is dma else null
+ * @out_type:	type of output
+ * @out_frame:	frame structure pointer if output is dma
+ * @rot90:	1 if clockwise 90 degree for output
+ *
+ * @open_lcdfifo:	function pointer to open lcd fifo path (display driver)
+ * @close_lcdfifo:	function pointer to close fifo path (display driver)
+*/
+struct s3c_fimc_control {
+	/* general */
+	int				id;
+	char				name[16];
+	u32				flag;
+	struct mutex			lock;
+	wait_queue_head_t		waitq;
+	struct device			*dev;
+	struct clk			*clock;	
+	void __iomem			*regs;
+	atomic_t			in_use;
+	int				irq;
+	struct video_device		*vd;
+	struct s3c_fimc_v4l2		v4l2;
+	struct s3c_fimc_scaler		scaler;
+
+	/* input */
+	enum s3c_fimc_path_in_t		in_type;
+	struct s3c_fimc_camera		*in_cam;
+	struct s3c_fimc_in_frame	in_frame;
+
+	/* output */
+	enum s3c_fimc_path_out_t	out_type;
+	struct s3c_fimc_out_frame	out_frame;
+	int				rot90;
+
+	/* functions */
+	void (*open_lcdfifo)(int win, int in_yuv, int sel);
+	void (*close_lcdfifo)(int win);
+};
+
+/*
+ * struct s3c_fimc_config
+*/
+struct s3c_fimc_config {
+	struct s3c_fimc_control	ctrl[S3C_FIMC_MAX_CTRLS];
+	struct s3c_fimc_camera	*camera[S3C_FIMC_MAX_CAMS];
+	struct clk		*cam_clock;
+	dma_addr_t		dma_start;
+	dma_addr_t		dma_current;
+	u32			dma_total;
+};
+
+
+/*
+ * V 4 L 2   F I M C   E X T E N S I O N S
+ *
+*/
+#define V4L2_INPUT_TYPE_MEMORY		10
+#define V4L2_OUTPUT_TYPE_MEMORY		20
+#define V4L2_OUTPUT_TYPE_LCDFIFO	21
+
+#define FORMAT_FLAGS_PACKED		1
+#define FORMAT_FLAGS_PLANAR		2
+
+#define V4L2_FMT_IN			0
+#define V4L2_FMT_OUT			1
+
+#define TPATTERN_COLORBAR		1
+#define TPATTERN_HORIZONTAL		2
+#define TPATTERN_VERTICAL		3
+
+/* FOURCC for FIMC specific */
+#define V4L2_PIX_FMT_NV12X		v4l2_fourcc('N', '1', '2', 'X')
+#define V4L2_PIX_FMT_NV21X		v4l2_fourcc('N', '2', '1', 'X')
+#define V4L2_PIX_FMT_VYUY		v4l2_fourcc('V', 'Y', 'U', 'Y')
+#define V4L2_PIX_FMT_NV16		v4l2_fourcc('N', 'V', '1', '6')
+#define V4L2_PIX_FMT_NV61		v4l2_fourcc('N', 'V', '6', '1')
+#define V4L2_PIX_FMT_NV16X		v4l2_fourcc('N', '1', '6', 'X')
+#define V4L2_PIX_FMT_NV61X		v4l2_fourcc('N', '6', '1', 'X')
+
+/* CID extensions */
+#define V4L2_CID_ACTIVE_CAMERA		(V4L2_CID_PRIVATE_BASE + 0)
+#define V4L2_CID_NR_FRAMES		(V4L2_CID_PRIVATE_BASE + 1)
+#define V4L2_CID_RESET			(V4L2_CID_PRIVATE_BASE + 2)
+#define V4L2_CID_TEST_PATTERN		(V4L2_CID_PRIVATE_BASE + 3)
+#define V4L2_CID_SCALER_BYPASS		(V4L2_CID_PRIVATE_BASE + 4)
+#define V4L2_CID_JPEG_INPUT		(V4L2_CID_PRIVATE_BASE + 5)
+#define V4L2_CID_OUTPUT_ADDR		(V4L2_CID_PRIVATE_BASE + 10)
+#define V4L2_CID_INPUT_ADDR		(V4L2_CID_PRIVATE_BASE + 20)
+#define V4L2_CID_INPUT_ADDR_RGB		(V4L2_CID_PRIVATE_BASE + 21)
+#define V4L2_CID_INPUT_ADDR_Y		(V4L2_CID_PRIVATE_BASE + 22)
+#define V4L2_CID_INPUT_ADDR_CB		(V4L2_CID_PRIVATE_BASE + 23)
+#define V4L2_CID_INPUT_ADDR_CBCR	(V4L2_CID_PRIVATE_BASE + 24)
+#define V4L2_CID_INPUT_ADDR_CR		(V4L2_CID_PRIVATE_BASE + 25)
+#define V4L2_CID_EFFECT_ORIGINAL	(V4L2_CID_PRIVATE_BASE + 30)
+#define V4L2_CID_EFFECT_ARBITRARY	(V4L2_CID_PRIVATE_BASE + 31)
+#define V4L2_CID_EFFECT_NEGATIVE 	(V4L2_CID_PRIVATE_BASE + 33)
+#define V4L2_CID_EFFECT_ARTFREEZE	(V4L2_CID_PRIVATE_BASE + 34)
+#define V4L2_CID_EFFECT_EMBOSSING	(V4L2_CID_PRIVATE_BASE + 35)
+#define V4L2_CID_EFFECT_SILHOUETTE	(V4L2_CID_PRIVATE_BASE + 36)
+#define V4L2_CID_ROTATE_ORIGINAL	(V4L2_CID_PRIVATE_BASE + 40)
+#define V4L2_CID_ROTATE_90		(V4L2_CID_PRIVATE_BASE + 41)
+#define V4L2_CID_ROTATE_180		(V4L2_CID_PRIVATE_BASE + 42)
+#define V4L2_CID_ROTATE_270		(V4L2_CID_PRIVATE_BASE + 43)
+#define V4L2_CID_ROTATE_90_HFLIP	(V4L2_CID_PRIVATE_BASE + 44)
+#define V4L2_CID_ROTATE_90_VFLIP	(V4L2_CID_PRIVATE_BASE + 45)
+#define	V4L2_CID_ZOOM_IN		(V4L2_CID_PRIVATE_BASE + 51)
+#define V4L2_CID_ZOOM_OUT		(V4L2_CID_PRIVATE_BASE + 52)
+
+
+/*
+ * E X T E R N S
+ *
+*/
+extern struct s3c_fimc_config s3c_fimc;
+extern const struct v4l2_ioctl_ops s3c_fimc_v4l2_ops;
+extern struct video_device s3c_fimc_video_device[];
+
+extern struct s3c_platform_fimc *to_fimc_plat(struct device *dev);
+extern u8 s3c_fimc_i2c_read(struct i2c_client *client, u8 subaddr);
+extern int s3c_fimc_i2c_write(struct i2c_client *client, u8 subaddr, u8 val);
+extern void s3c_fimc_i2c_command(struct s3c_fimc_control *ctrl, u32 cmd, int arg);
+extern void s3c_fimc_register_camera(struct s3c_fimc_camera *cam);
+extern void s3c_fimc_set_active_camera(struct s3c_fimc_control *ctrl, int id);
+extern void s3c_fimc_init_camera(struct s3c_fimc_control *ctrl);
+extern int s3c_fimc_alloc_input_memory(struct s3c_fimc_in_frame *info, dma_addr_t addr);
+extern int s3c_fimc_alloc_output_memory(struct s3c_fimc_out_frame *info);
+extern int s3c_fimc_alloc_y_memory(struct s3c_fimc_in_frame *info, dma_addr_t addr);
+extern int s3c_fimc_alloc_cb_memory(struct s3c_fimc_in_frame *info, dma_addr_t addr);
+extern int s3c_fimc_alloc_cr_memory(struct s3c_fimc_in_frame *info, dma_addr_t addr);
+extern void s3c_fimc_free_output_memory(struct s3c_fimc_out_frame *info);
+extern int s3c_fimc_set_input_frame(struct s3c_fimc_control *ctrl, struct v4l2_pix_format *fmt);
+extern int s3c_fimc_set_output_frame(struct s3c_fimc_control *ctrl, struct v4l2_pix_format *fmt);
+extern int s3c_fimc_frame_handler(struct s3c_fimc_control *ctrl);
+extern u8 *s3c_fimc_get_current_frame(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_nr_frames(struct s3c_fimc_control *ctrl, int nr);
+extern int s3c_fimc_set_scaler_info(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_start_dma(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_stop_dma(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_restart_dma(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_change_resolution(struct s3c_fimc_control *ctrl, enum s3c_fimc_cam_res_t res);
+extern int s3c_fimc_check_zoom(struct s3c_fimc_control *ctrl, int type);
+extern void s3c_fimc_clear_irq(struct s3c_fimc_control *ctrl);
+extern int s3c_fimc_check_fifo(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_select_camera(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_test_pattern(struct s3c_fimc_control *ctrl, int type);
+extern void s3c_fimc_set_source_format(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_window_offset(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_reset(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_polarity(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_target_format(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_output_dma(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_enable_lastirq(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_disable_lastirq(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_prescaler(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_scaler(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_start_scaler(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_stop_scaler(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_enable_capture(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_disable_capture(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_effect(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_input_dma(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_start_input_dma(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_stop_input_dma(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_input_path(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_output_path(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_input_address(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_set_output_address(struct s3c_fimc_control *ctrl);
+extern int s3c_fimc_get_frame_count(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_wait_frame_end(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_change_effect(struct s3c_fimc_control *ctrl);
+extern void s3c_fimc_change_rotate(struct s3c_fimc_control *ctrl);
+
+/* FIMD externs */
+extern void s3cfb_enable_local(int win, int in_yuv, int sel);
+extern void s3cfb_enable_dma(int win);
+
+#endif /* _S3C_FIMC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc3x_regs.c linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc3x_regs.c
--- linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc3x_regs.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc3x_regs.c	2009-10-23 13:12:44.000000000 +0200
@@ -0,0 +1,1196 @@
+/* linux/drivers/media/video/samsung/s3c_fimc4x_regs.c
+ *
+ * Register interface file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/delay.h>
+#include <linux/gpio.h>
+#include <asm/io.h>
+#include <mach/map.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#include <plat/regs-lcd.h>
+#include <plat/regs-fimc.h>
+#include <plat/fimc.h>
+
+#include "s3c_fimc.h"
+
+void s3c_fimc_clear_irq(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIGCTRL);
+
+	if (ctrl->id == 1)
+		cfg |= S3C_CIGCTRL_IRQ_CLR_P;
+	else
+		cfg |= S3C_CIGCTRL_IRQ_CLR_C;
+
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+}
+
+static int s3c_fimc_check_fifo_co(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg, status, flag;
+
+	status = readl(ctrl->regs + S3C_CICOSTATUS);
+	flag = S3C_CICOSTATUS_OVFIY | S3C_CICOSTATUS_OVFICB | S3C_CICOSTATUS_OVFICR;
+
+	if (status & flag) {
+		cfg = readl(ctrl->regs + S3C_CIWDOFST);
+		cfg |= (S3C_CIWDOFST_CLROVCOFIY | S3C_CIWDOFST_CLROVCOFICB | \
+			S3C_CIWDOFST_CLROVCOFICR);
+		writel(cfg, ctrl->regs + S3C_CIWDOFST);
+
+		cfg = readl(ctrl->regs + S3C_CIWDOFST);
+		cfg &= ~(S3C_CIWDOFST_CLROVCOFIY | S3C_CIWDOFST_CLROVCOFICB | \
+			S3C_CIWDOFST_CLROVCOFICR);
+		writel(cfg, ctrl->regs + S3C_CIWDOFST);
+	}
+
+	return 0;
+}
+
+static int s3c_fimc_check_fifo_pr(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg, status, flag;
+
+	status = readl(ctrl->regs + S3C_CIPRSTATUS);
+	flag = S3C_CIPRSTATUS_OVFIY | S3C_CIPRSTATUS_OVFICB | S3C_CIPRSTATUS_OVFICR;
+
+	if (status & flag) {
+		cfg = readl(ctrl->regs + S3C_CIWDOFST);
+		cfg |= (S3C_CIWDOFST_CLROVPRFIY | S3C_CIWDOFST_CLROVPRFICB | \
+			S3C_CIWDOFST_CLROVPRFICR);
+		writel(cfg, ctrl->regs + S3C_CIWDOFST);
+
+		cfg = readl(ctrl->regs + S3C_CIWDOFST);
+		cfg &= ~(S3C_CIWDOFST_CLROVPRFIY | S3C_CIWDOFST_CLROVPRFICB | \
+			S3C_CIWDOFST_CLROVPRFICR);
+		writel(cfg, ctrl->regs + S3C_CIWDOFST);
+	}
+
+	return 0;
+}
+
+int s3c_fimc_check_fifo(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		return s3c_fimc_check_fifo_pr(ctrl);
+	else
+		return s3c_fimc_check_fifo_co(ctrl);
+}
+
+void s3c_fimc_select_camera(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIGCTRL);
+
+	cfg &= ~S3C_CIGCTRL_TESTPATTERN_MASK;
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+}
+
+void s3c_fimc_set_test_pattern(struct s3c_fimc_control *ctrl, int type)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIGCTRL);
+
+	cfg &= ~S3C_CIGCTRL_TESTPATTERN_MASK;
+	cfg |= type << S3C_CIGCTRL_TESTPATTERN_SHIFT;
+
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+}
+
+void s3c_fimc_set_source_format(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_camera *cam = ctrl->in_cam;
+	u32 cfg = 0;
+	
+	cfg |= (cam->mode | cam->order422);
+
+	cfg |= S3C_CISRCFMT_SOURCEHSIZE(cam->width);
+	cfg |= S3C_CISRCFMT_SOURCEVSIZE(cam->height);
+
+	writel(cfg, ctrl->regs + S3C_CISRCFMT);
+
+}
+
+void s3c_fimc_set_window_offset(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_window_offset *offset = &ctrl->in_cam->offset;
+	u32 cfg;
+	
+	cfg = readl(ctrl->regs + S3C_CIWDOFST);
+	cfg &= ~(S3C_CIWDOFST_WINHOROFST_MASK | S3C_CIWDOFST_WINVEROFST_MASK);
+	cfg |= S3C_CIWDOFST_WINHOROFST(offset->h1);
+	cfg |= S3C_CIWDOFST_WINVEROFST(offset->v1);
+	cfg |= S3C_CIWDOFST_WINOFSEN;
+	writel(cfg, ctrl->regs + S3C_CIWDOFST);
+
+	cfg = 0;
+	cfg |= S3C_CIWDOFST2_WINHOROFST2(offset->h2);
+	cfg |= S3C_CIWDOFST2_WINVEROFST2(offset->v2);
+	writel(cfg, ctrl->regs + S3C_CIWDOFST2);
+}
+
+static void s3c_fimc_reset_cfg(struct s3c_fimc_control *ctrl)
+{
+	int i;
+	u32 cfg[][2] = {
+		{ 0x018, 0x00000000 }, { 0x01c, 0x00000000 },
+		{ 0x020, 0x00000000 }, { 0x024, 0x00000000 },
+		{ 0x028, 0x00000000 }, { 0x02c, 0x00000000 },
+		{ 0x030, 0x00000000 }, { 0x034, 0x00000000 },
+		{ 0x038, 0x00000000 }, { 0x03c, 0x00000000 },
+		{ 0x040, 0x00000000 }, { 0x044, 0x00000000 },
+		{ 0x048, 0x00000000 }, { 0x04c, 0x00000000 },
+		{ 0x050, 0x00000000 }, { 0x054, 0x00000000 },
+		{ 0x058, 0x18000000 }, { 0x05c, 0x00000000 },
+		{ 0x068, 0x00000000 }, { 0x06c, 0x00000000 },
+		{ 0x070, 0x00000000 }, { 0x074, 0x00000000 },
+		{ 0x078, 0x18000000 }, { 0x07c, 0x00000000 },
+		{ 0x080, 0x00000000 }, { 0x084, 0x00000000 },
+		{ 0x088, 0x00000000 }, { 0x08c, 0x00000000 },
+		{ 0x090, 0x00000000 }, { 0x094, 0x00000000 },
+		{ 0x098, 0x18000000 }, { 0x0a0, 0x00000000 },
+		{ 0x0a4, 0x00000000 }, { 0x0a8, 0x00000000 },
+		{ 0x0ac, 0x18000000 }, { 0x0b0, 0x00000000 },
+		{ 0x0c0, 0x00000000 }, { 0x0c4, 0xffffffff },
+		{ 0x0d0, 0x00100080 }, { 0x0d4, 0x00000000 },
+		{ 0x0d8, 0x00000000 }, { 0x0dc, 0x00000000 }, 
+		{ 0x0e0, 0x00000000 }, { 0x0e4, 0x00000000 },
+		{ 0x0e8, 0x00000000 }, { 0x0ec, 0x00000000 },
+		{ 0x0f0, 0x00000000 }, { 0x0f4, 0x00000000 },
+		{ 0x0f8, 0x00000000 }, { 0x0fc, 0x00000000 },
+		{ 0x100, 0x00000000 }, { 0x104, 0x00000000 },
+		{ 0x108, 0x00000000 }, { 0x10c, 0x00000000 },
+		{ 0x110, 0x00000000 }, { 0x114, 0x00000000 },
+		{ 0x118, 0x00000000 }, { 0x11c, 0x00000000 },
+		{ 0x120, 0x00000000 }, { 0x124, 0x00000000 },
+		{ 0x128, 0x00000000 }, { 0x12c, 0x00000000 },
+		{ 0x130, 0x00000000 }, { 0x134, 0x00000000 },
+		{ 0x138, 0x00000000 }, { 0x13c, 0x00000000 },
+		{ 0x140, 0x00000000 },
+	};
+
+	for (i = 0; i < sizeof(cfg) / 8; i++)
+		writel(cfg[i][1], ctrl->regs + cfg[i][0]);
+}
+
+void s3c_fimc_reset(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg;
+
+	/*
+	 * we have to write 1 to the CISRCFMT[31] before
+	 * getting started the sw reset
+	 *
+	 */
+	cfg = readl(ctrl->regs + S3C_CISRCFMT);
+	cfg |= S3C_CISRCFMT_ITU601_8BIT;
+	writel(cfg, ctrl->regs + S3C_CISRCFMT);
+
+	/* s/w reset */
+	cfg = readl(ctrl->regs + S3C_CIGCTRL);
+	cfg |= (S3C_CIGCTRL_SWRST | S3C_CIGCTRL_IRQ_LEVEL);
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+	mdelay(1);
+
+	cfg = readl(ctrl->regs + S3C_CIGCTRL);
+	cfg &= ~S3C_CIGCTRL_SWRST;
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+
+	/* in case of ITU656, CISRCFMT[31] should be 0 */
+	if (ctrl->in_cam && ctrl->in_cam->mode == ITU_656_YCBCR422_8BIT) {
+		cfg = readl(ctrl->regs + S3C_CISRCFMT);
+		cfg &= ~S3C_CISRCFMT_ITU601_8BIT;
+		writel(cfg, ctrl->regs + S3C_CISRCFMT);
+	}
+
+	s3c_fimc_reset_cfg(ctrl);
+}
+
+void s3c_fimc_reset_camera(void)
+{
+	void __iomem *regs = ioremap(S3C64XX_PA_FIMC, SZ_4K);
+	u32 cfg;
+
+#if (CONFIG_VIDEO_FIMC_CAM_RESET == 1)
+	printk("[CAM]RESET CAM.");//FIXME!can't be delete!!!
+	cfg = readl(regs + S3C_CIGCTRL);
+	cfg |= S3C_CIGCTRL_CAMRST;
+	writel(cfg, regs + S3C_CIGCTRL);
+	//udelay(200);
+	mdelay(200);
+
+	cfg = readl(regs + S3C_CIGCTRL);
+	cfg &= ~S3C_CIGCTRL_CAMRST;
+	writel(cfg, regs + S3C_CIGCTRL);
+	udelay(2000);
+#else
+	cfg = readl(regs + S3C_CIGCTRL);
+	cfg &= ~S3C_CIGCTRL_CAMRST;
+	writel(cfg, regs + S3C_CIGCTRL);
+	udelay(200);
+
+	cfg = readl(regs + S3C_CIGCTRL);
+	cfg |= S3C_CIGCTRL_CAMRST;
+	writel(cfg, regs + S3C_CIGCTRL);
+	udelay(2000);
+#endif
+
+	iounmap(regs);
+}
+
+void s3c_fimc_set_polarity(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_camera *cam = ctrl->in_cam;
+	u32 cfg;
+
+	cfg = readl(ctrl->regs + S3C_CIGCTRL);
+
+	cfg &= ~(S3C_CIGCTRL_INVPOLPCLK | S3C_CIGCTRL_INVPOLVSYNC | \
+		 S3C_CIGCTRL_INVPOLHREF);
+
+	if (cam->polarity.pclk)
+		cfg |= S3C_CIGCTRL_INVPOLPCLK;
+
+	if (cam->polarity.vsync)
+		cfg |= S3C_CIGCTRL_INVPOLVSYNC;
+
+	if (cam->polarity.href)
+		cfg |= S3C_CIGCTRL_INVPOLHREF;
+
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+}
+
+static void s3c_fimc_set_rot90(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = 0;
+
+	if (ctrl->id == 1) {
+		cfg = readl(ctrl->regs + S3C_CIPRCTRL);
+		cfg &= ~S3C_CIPRCTRL_BURST_MASK;
+		cfg |= S3C_CIPRCTRL_YBURST1(4) | S3C_CIPRCTRL_YBURST2(4);
+		writel(cfg, ctrl->regs + S3C_CIPRCTRL);
+
+		cfg = readl(ctrl->regs + S3C_CIPRTRGFMT);
+		cfg |= S3C_CIPRTRGFMT_ROT90_CLOCKWISE;
+		writel(cfg, ctrl->regs + S3C_CIPRTRGFMT);
+	}
+}
+
+static void s3c_fimc_set_target_format_pr(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	u32 cfg = 0;
+
+	switch (frame->format) {
+	case FORMAT_RGB565: /* fall through */
+	case FORMAT_RGB666: /* fall through */
+	case FORMAT_RGB888:
+		cfg |= S3C_CIPRTRGFMT_OUTFORMAT_RGB;
+		break;
+
+	case FORMAT_YCBCR420:
+		cfg |= S3C_CIPRTRGFMT_OUTFORMAT_YCBCR420;
+		break;
+
+	case FORMAT_YCBCR422:
+		if (frame->planes == 1)
+			cfg |= S3C_CIPRTRGFMT_OUTFORMAT_YCBCR422I;
+		else
+			cfg |= S3C_CIPRTRGFMT_OUTFORMAT_YCBCR422;
+
+		break;
+	}
+
+	cfg |= S3C_CIPRTRGFMT_TARGETHSIZE(frame->width);
+	cfg |= S3C_CIPRTRGFMT_TARGETVSIZE(frame->height);
+	cfg |= (frame->flip << S3C_CIPRTRGFMT_FLIP_SHIFT);
+
+	writel(cfg, ctrl->regs + S3C_CIPRTRGFMT);
+
+	if (ctrl->rot90)
+		s3c_fimc_set_rot90(ctrl);
+
+	cfg = S3C_CIPRTAREA_TARGET_AREA(frame->width * frame->height);
+	writel(cfg, ctrl->regs + S3C_CIPRTAREA);
+}
+
+static void s3c_fimc_set_target_format_co(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	u32 cfg = 0;
+
+	switch (frame->format) {
+	case FORMAT_RGB565: /* fall through */
+	case FORMAT_RGB666: /* fall through */
+	case FORMAT_RGB888:
+		cfg |= S3C_CICOTRGFMT_OUTFORMAT_RGB;
+		break;
+
+	case FORMAT_YCBCR420:
+		cfg |= S3C_CICOTRGFMT_OUTFORMAT_YCBCR420;
+		break;
+
+	case FORMAT_YCBCR422:
+		if (frame->planes == 1)
+			cfg |= S3C_CICOTRGFMT_OUTFORMAT_YCBCR422I;
+		else
+			cfg |= S3C_CICOTRGFMT_OUTFORMAT_YCBCR422;
+
+		break;
+	}
+
+	cfg |= S3C_CICOTRGFMT_TARGETHSIZE(frame->width);
+	cfg |= S3C_CICOTRGFMT_TARGETVSIZE(frame->height);
+	cfg |= (frame->flip << S3C_CICOTRGFMT_FLIP_SHIFT);
+
+	writel(cfg, ctrl->regs + S3C_CICOTRGFMT);
+
+	cfg = S3C_CICOTAREA_TARGET_AREA(frame->width * frame->height);
+	writel(cfg, ctrl->regs + S3C_CICOTAREA);
+}
+
+void s3c_fimc_set_target_format(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_set_target_format_pr(ctrl);
+	else
+		s3c_fimc_set_target_format_co(ctrl);
+}
+
+static void s3c_fimc_get_burst_422i(u32 width, u32 *mburst, u32 *rburst)
+{
+	unsigned int tmp, wanted;
+
+	tmp = (width / 2) & 0xf;
+
+	switch (tmp) {
+	case 0:
+		wanted = 16;
+		break;
+
+	case 4:
+		wanted = 4;
+		break;
+
+	case 8:
+		wanted = 8;
+		break;
+
+	default:
+		wanted = 4;
+		break;
+	}
+
+	*mburst = wanted / 2;
+	*rburst = wanted / 2;
+}
+
+static void s3c_fimc_get_burst(u32 width, u32 *mburst, u32 *rburst)
+{
+	unsigned int tmp;
+
+	tmp = (width / 4) & 0xf;
+
+	switch (tmp) {
+	case 0:
+		*mburst = 16;
+		*rburst = 16;
+		break;
+
+	case 4:
+		*mburst = 16;
+		*rburst = 4;
+		break;
+
+	case 8:
+		*mburst = 16;
+		*rburst = 8;
+		break;
+
+	default:
+		tmp = (width / 4) % 8;
+
+		if (tmp == 0) {
+			*mburst = 8;
+			*rburst = 8;
+		} else if (tmp == 4) {
+			*mburst = 8;
+			*rburst = 4;
+		} else {
+			tmp = (width / 4) % 4;
+			*mburst = 4;
+			*rburst = (tmp) ? tmp : 4;
+		}
+
+		break;
+	}
+}
+
+static void s3c_fimc_set_output_dma_pr(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	u32 cfg, yburst_m, yburst_r;
+
+	/* for output dma control */
+	cfg = readl(ctrl->regs + S3C_CIPRCTRL);
+
+	cfg &= ~(S3C_CIPRCTRL_BURST_MASK | S3C_CIPRCTRL_ORDER422_MASK);
+	cfg |= frame->order_1p;
+
+	if (ctrl->rot90) {
+		yburst_m = 4;
+		yburst_r = 4;
+	} else {
+		if (frame->format == FORMAT_RGB888)
+			s3c_fimc_get_burst(frame->width * 4, &yburst_m, &yburst_r);
+		else
+			s3c_fimc_get_burst(frame->width * 2, &yburst_m, &yburst_r);
+	}
+
+	cfg |= (S3C_CIPRCTRL_YBURST1(yburst_m) | S3C_CIPRCTRL_YBURST2(yburst_r));
+
+	writel(cfg, ctrl->regs + S3C_CIPRCTRL);
+}
+
+static void s3c_fimc_set_output_dma_co(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	u32 cfg, yburst_m, yburst_r, cburst_m, cburst_r;
+
+	/* for output dma control */
+	cfg = readl(ctrl->regs + S3C_CICOCTRL);
+
+	cfg &= ~(S3C_CICOCTRL_BURST_MASK | S3C_CICOCTRL_ORDER422_MASK);
+	cfg |= frame->order_1p;
+
+	if (frame->format == FORMAT_YCBCR422 && frame->planes == 1) {
+		s3c_fimc_get_burst_422i(frame->width, &yburst_m, &yburst_r);
+		cburst_m = yburst_m / 2;
+		cburst_r = yburst_r / 2;
+	} else {
+		s3c_fimc_get_burst(frame->width, &yburst_m, &yburst_r);
+		s3c_fimc_get_burst(frame->width / 2, &cburst_m, &cburst_r);
+	}
+
+	cfg |= (S3C_CICOCTRL_YBURST1(yburst_m) | S3C_CICOCTRL_YBURST2(yburst_r));
+	cfg |= (S3C_CICOCTRL_CBURST1(cburst_m) | S3C_CICOCTRL_CBURST2(cburst_r));
+
+	writel(cfg, ctrl->regs + S3C_CICOCTRL);
+}
+
+void s3c_fimc_set_output_dma(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_set_output_dma_pr(ctrl);
+	else
+		s3c_fimc_set_output_dma_co(ctrl);
+}
+
+static void s3c_fimc_enable_lastirq_pr(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIPRCTRL);
+
+	cfg |= S3C_CIPRCTRL_LASTIRQ_ENABLE;
+	writel(cfg, ctrl->regs + S3C_CIPRCTRL);
+}
+
+static void s3c_fimc_enable_lastirq_co(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CICOCTRL);
+
+	cfg |= S3C_CICOCTRL_LASTIRQ_ENABLE;
+	writel(cfg, ctrl->regs + S3C_CICOCTRL);
+}
+
+void s3c_fimc_enable_lastirq(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_enable_lastirq_pr(ctrl);
+	else
+		s3c_fimc_enable_lastirq_co(ctrl);
+}
+
+static void s3c_fimc_disable_lastirq_pr(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIPRCTRL);
+
+	cfg &= ~S3C_CIPRCTRL_LASTIRQ_ENABLE;
+	writel(cfg, ctrl->regs + S3C_CIPRCTRL);
+}
+
+static void s3c_fimc_disable_lastirq_co(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CICOCTRL);
+
+	cfg &= ~S3C_CICOCTRL_LASTIRQ_ENABLE;
+	writel(cfg, ctrl->regs + S3C_CICOCTRL);
+}
+
+void s3c_fimc_disable_lastirq(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_disable_lastirq_pr(ctrl);
+	else
+		s3c_fimc_disable_lastirq_co(ctrl);
+}
+
+static void s3c_fimc_set_prescaler_pr(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_scaler *sc = &ctrl->scaler;
+	u32 cfg = 0, shfactor;
+
+	shfactor = 10 - (sc->hfactor + sc->vfactor);
+
+	cfg |= S3C_CIPRSCPRERATIO_SHFACTOR(shfactor);
+	cfg |= S3C_CIPRSCPRERATIO_PREHORRATIO(sc->pre_hratio);
+	cfg |= S3C_CIPRSCPRERATIO_PREVERRATIO(sc->pre_vratio);
+
+	writel(cfg, ctrl->regs + S3C_CIPRSCPRERATIO);
+
+	cfg = 0;
+	cfg |= S3C_CIPRSCPREDST_PREDSTWIDTH(sc->pre_dst_width);
+	cfg |= S3C_CIPRSCPREDST_PREDSTHEIGHT(sc->pre_dst_height);
+
+	writel(cfg, ctrl->regs + S3C_CIPRSCPREDST);
+}
+
+static void s3c_fimc_set_prescaler_co(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_scaler *sc = &ctrl->scaler;
+	u32 cfg = 0, shfactor;
+
+	shfactor = 10 - (sc->hfactor + sc->vfactor);
+
+	cfg |= S3C_CICOSCPRERATIO_SHFACTOR(shfactor);
+	cfg |= S3C_CICOSCPRERATIO_PREHORRATIO(sc->pre_hratio);
+	cfg |= S3C_CICOSCPRERATIO_PREVERRATIO(sc->pre_vratio);
+
+	writel(cfg, ctrl->regs + S3C_CICOSCPRERATIO);
+
+	cfg = 0;
+	cfg |= S3C_CICOSCPREDST_PREDSTWIDTH(sc->pre_dst_width);
+	cfg |= S3C_CICOSCPREDST_PREDSTHEIGHT(sc->pre_dst_height);
+
+	writel(cfg, ctrl->regs + S3C_CICOSCPREDST);
+}
+
+void s3c_fimc_set_prescaler(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_set_prescaler_pr(ctrl);
+	else
+		s3c_fimc_set_prescaler_co(ctrl);
+}
+
+static void s3c_fimc_set_scaler_pr(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_scaler *sc = &ctrl->scaler;
+	u32 cfg = (S3C_CIPRSCCTRL_CSCR2Y_WIDE | S3C_CIPRSCCTRL_CSCY2R_WIDE);
+
+	if (sc->bypass)
+		cfg |= S3C_CIPRSCCTRL_SCALERBYPASS;
+
+	if (sc->scaleup_h)
+		cfg |= S3C_CIPRSCCTRL_SCALEUP_H;
+
+	if (sc->scaleup_v)
+		cfg |= S3C_CIPRSCCTRL_SCALEUP_V;
+
+	if (ctrl->in_type == PATH_IN_DMA) {
+		if (ctrl->in_frame.format == FORMAT_RGB565)
+			cfg |= S3C_CIPRSCCTRL_INRGB_FMT_RGB565;
+		else if (ctrl->in_frame.format == FORMAT_RGB666)
+			cfg |= S3C_CIPRSCCTRL_INRGB_FMT_RGB666;
+		else if (ctrl->in_frame.format == FORMAT_RGB888)
+			cfg |= S3C_CIPRSCCTRL_INRGB_FMT_RGB888;
+	}
+
+	if (ctrl->out_type == PATH_OUT_DMA) {
+		if (ctrl->out_frame.format == FORMAT_RGB565)
+			cfg |= S3C_CIPRSCCTRL_OUTRGB_FMT_RGB565;
+		else if (ctrl->out_frame.format == FORMAT_RGB666)
+			cfg |= S3C_CIPRSCCTRL_OUTRGB_FMT_RGB666;
+		else if (ctrl->out_frame.format == FORMAT_RGB888)
+			cfg |= S3C_CIPRSCCTRL_OUTRGB_FMT_RGB888;
+	} else {
+		cfg |= S3C_CIPRSCCTRL_OUTRGB_FMT_RGB888;
+
+		if (ctrl->out_frame.scan == SCAN_TYPE_INTERLACE)
+			cfg |= S3C_CIPRSCCTRL_INTERLACE;
+		else
+			cfg |= S3C_CIPRSCCTRL_PROGRESSIVE;
+	}
+
+	cfg |= S3C_CIPRSCCTRL_MAINHORRATIO(sc->main_hratio);
+	cfg |= S3C_CIPRSCCTRL_MAINVERRATIO(sc->main_vratio);
+
+	writel(cfg, ctrl->regs + S3C_CIPRSCCTRL);
+}
+
+static void s3c_fimc_set_scaler_co(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_scaler *sc = &ctrl->scaler;
+	u32 cfg = (S3C_CICOSCCTRL_CSCR2Y_WIDE | S3C_CICOSCCTRL_CSCY2R_WIDE);
+
+	if (sc->bypass)
+		cfg |= S3C_CICOSCCTRL_SCALERBYPASS;
+
+	if (sc->scaleup_h)
+		cfg |= S3C_CICOSCCTRL_SCALEUP_H;
+
+	if (sc->scaleup_v)
+		cfg |= S3C_CICOSCCTRL_SCALEUP_V;
+
+	if (ctrl->in_type == PATH_IN_DMA) {
+		if (ctrl->in_frame.format == FORMAT_RGB565)
+			cfg |= S3C_CICOSCCTRL_INRGB_FMT_RGB565;
+		else if (ctrl->in_frame.format == FORMAT_RGB666)
+			cfg |= S3C_CICOSCCTRL_INRGB_FMT_RGB666;
+		else if (ctrl->in_frame.format == FORMAT_RGB888)
+			cfg |= S3C_CICOSCCTRL_INRGB_FMT_RGB888;
+	}
+
+	if (ctrl->out_type == PATH_OUT_DMA) {
+		if (ctrl->out_frame.format == FORMAT_RGB565)
+			cfg |= S3C_CICOSCCTRL_OUTRGB_FMT_RGB565;
+		else if (ctrl->out_frame.format == FORMAT_RGB666)
+			cfg |= S3C_CICOSCCTRL_OUTRGB_FMT_RGB666;
+		else if (ctrl->out_frame.format == FORMAT_RGB888)
+			cfg |= S3C_CICOSCCTRL_OUTRGB_FMT_RGB888;
+	} else {
+		cfg |= S3C_CICOSCCTRL_OUTRGB_FMT_RGB888;
+
+		if (ctrl->out_frame.scan == SCAN_TYPE_INTERLACE)
+			cfg |= S3C_CICOSCCTRL_INTERLACE;
+		else
+			cfg |= S3C_CICOSCCTRL_PROGRESSIVE;
+	}
+
+	cfg |= S3C_CICOSCCTRL_MAINHORRATIO(sc->main_hratio);
+	cfg |= S3C_CICOSCCTRL_MAINVERRATIO(sc->main_vratio);
+
+	writel(cfg, ctrl->regs + S3C_CICOSCCTRL);
+}
+
+void s3c_fimc_set_scaler(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_set_scaler_pr(ctrl);
+	else
+		s3c_fimc_set_scaler_co(ctrl);
+}
+
+static void s3c_fimc_start_scaler_pr(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIPRSCCTRL);
+
+	cfg |= S3C_CIPRSCCTRL_SCALERSTART;
+	writel(cfg, ctrl->regs + S3C_CIPRSCCTRL);
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		ctrl->open_lcdfifo(1, 0, S3C_WINCON1_LOCALSEL_CAMERA);
+}
+
+static void s3c_fimc_start_scaler_co(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CICOSCCTRL);
+
+	cfg |= S3C_CICOSCCTRL_SCALERSTART;
+	writel(cfg, ctrl->regs + S3C_CICOSCCTRL);
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		ctrl->open_lcdfifo(2, 1, S3C_WINCON2_LOCALSEL_CAMERA);
+}
+
+void s3c_fimc_start_scaler(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_start_scaler_pr(ctrl);
+	else
+		s3c_fimc_start_scaler_co(ctrl);
+}
+
+static void s3c_fimc_stop_scaler_pr(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIPRSCCTRL);
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		ctrl->close_lcdfifo(ctrl->id);
+
+	cfg &= ~S3C_CIPRSCCTRL_SCALERSTART;
+	writel(cfg, ctrl->regs + S3C_CIPRSCCTRL);
+}
+
+static void s3c_fimc_stop_scaler_co(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CICOSCCTRL);
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		ctrl->close_lcdfifo(ctrl->id);
+
+	cfg &= ~S3C_CICOSCCTRL_SCALERSTART;
+	writel(cfg, ctrl->regs + S3C_CICOSCCTRL);
+}
+
+void s3c_fimc_stop_scaler(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_stop_scaler_pr(ctrl);
+	else
+		s3c_fimc_stop_scaler_co(ctrl);
+}
+
+void s3c_fimc_enable_capture(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIIMGCPT);
+
+	if (ctrl->id == 1) {
+		cfg &= ~S3C_CIIMGCPT_CPT_FREN_ENABLE_PR;
+		cfg |= S3C_CIIMGCPT_IMGCPTEN;
+
+		if (!ctrl->scaler.bypass)
+			cfg |= S3C_CIIMGCPT_IMGCPTEN_PRSC;
+	} else {
+		cfg &= ~S3C_CIIMGCPT_CPT_FREN_ENABLE_CO;
+		cfg |= S3C_CIIMGCPT_IMGCPTEN;
+
+		if (!ctrl->scaler.bypass)
+			cfg |= S3C_CIIMGCPT_IMGCPTEN_COSC;
+	}
+
+	writel(cfg, ctrl->regs + S3C_CIIMGCPT);
+}
+
+void s3c_fimc_disable_capture(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIIMGCPT);
+
+	if (ctrl->id == 1)
+		cfg &= ~S3C_CIIMGCPT_IMGCPTEN_PRSC;
+	else
+		cfg &= ~S3C_CIIMGCPT_IMGCPTEN_COSC;
+
+	if (!(cfg & (S3C_CIIMGCPT_IMGCPTEN_PRSC | S3C_CIIMGCPT_IMGCPTEN_COSC)))
+		cfg &= ~S3C_CIIMGCPT_IMGCPTEN;
+
+	writel(cfg, ctrl->regs + S3C_CIIMGCPT);
+}
+
+void s3c_fimc_set_effect(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_effect *effect = &ctrl->out_frame.effect;
+	u32 cfg = S3C_CIIMGEFF_IE_SC_AFTER;
+
+	if (ctrl->id == 1)
+		cfg |= S3C_CIIMGEFF_IE_ENABLE_PR;
+	else
+		cfg |= S3C_CIIMGEFF_IE_ENABLE_CO;
+
+	cfg |= effect->type;
+
+	if (effect->type == EFFECT_ARBITRARY) {
+		cfg |= S3C_CIIMGEFF_PAT_CB(effect->pat_cb);
+		cfg |= S3C_CIIMGEFF_PAT_CR(effect->pat_cr);
+	}
+
+	writel(cfg, ctrl->regs + S3C_CIIMGEFF);
+}
+
+static void s3c_fimc_set_input_dma_size_pr(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_in_frame *frame = &ctrl->in_frame;
+	int ofs_h = frame->offset.y_h * 2;
+	int ofs_v = frame->offset.y_v * 2;
+	u32 cfg = S3C_MSPRWIDTH_AUTOLOAD_ENABLE;
+
+	cfg |= S3C_MSPR_WIDTH(frame->width - ofs_h);
+	cfg |= S3C_MSPR_HEIGHT(frame->height - ofs_v);
+
+	writel(cfg, ctrl->regs + S3C_MSPRWIDTH);
+}
+
+static void s3c_fimc_set_input_dma_pr(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_in_frame *frame = &ctrl->in_frame;
+	u32 cfg;
+
+	/* for original & real size */
+	s3c_fimc_set_input_dma_size_pr(ctrl);
+
+	/* for input dma control */
+	cfg = S3C_MSPRCTRL_INPUT_MEMORY;
+
+	switch (frame->format) {
+	case FORMAT_RGB565: /* fall through */
+	case FORMAT_RGB666: /* fall through */
+	case FORMAT_RGB888:
+		cfg |= S3C_MSPRCTRL_INFORMAT_RGB;
+		break;
+
+	case FORMAT_YCBCR420:
+		cfg |= S3C_MSPRCTRL_INFORMAT_YCBCR420;
+		break;
+
+	case FORMAT_YCBCR422:
+		if (frame->planes == 1) {
+			cfg |= S3C_MSPRCTRL_INFORMAT_YCBCR422I;
+			cfg |= frame->order_1p;
+		} else
+			cfg |= S3C_MSPRCTRL_INFORMAT_YCBCR422;
+
+		break;
+	}
+
+	writel(cfg, ctrl->regs + S3C_MSPRCTRL);
+}
+
+static void s3c_fimc_set_input_dma_size_co(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_in_frame *frame = &ctrl->in_frame;
+	int ofs_h = frame->offset.y_h * 2;
+	int ofs_v = frame->offset.y_v * 2;
+	u32 cfg = S3C_MSCOWIDTH_AUTOLOAD_ENABLE;
+
+	cfg |= S3C_MSCO_WIDTH(frame->width - ofs_h);
+	cfg |= S3C_MSCO_HEIGHT(frame->height - ofs_v);
+
+	writel(cfg, ctrl->regs + S3C_MSCOWIDTH);
+}
+
+static void s3c_fimc_set_input_dma_co(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_in_frame *frame = &ctrl->in_frame;
+	u32 cfg;
+
+	/* for original & real size */
+	s3c_fimc_set_input_dma_size_co(ctrl);
+
+	/* for input dma control */
+	cfg = S3C_MSCOCTRL_INPUT_MEMORY;
+
+	switch (frame->format) {
+	case FORMAT_RGB565: /* fall through */
+	case FORMAT_RGB666: /* fall through */
+	case FORMAT_RGB888:
+		cfg |= S3C_MSCOCTRL_INFORMAT_RGB;
+		break;
+
+	case FORMAT_YCBCR420:
+		cfg |= S3C_MSCOCTRL_INFORMAT_YCBCR420;
+		break;
+
+	case FORMAT_YCBCR422:
+		if (frame->planes == 1)
+			cfg |= S3C_MSCOCTRL_INFORMAT_YCBCR422I;
+		else
+			cfg |= S3C_MSCOCTRL_INFORMAT_YCBCR422;
+
+		break;
+	}
+
+	writel(cfg, ctrl->regs + S3C_MSCOCTRL);
+}
+
+void s3c_fimc_set_input_dma(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_set_input_dma_pr(ctrl);
+	else
+		s3c_fimc_set_input_dma_co(ctrl);
+}
+
+static void s3c_fimc_start_input_dma_pr(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSPRCTRL);
+
+	cfg |= S3C_MSPRCTRL_ENVID;
+	writel(cfg, ctrl->regs + S3C_MSPRCTRL);
+}
+
+static void s3c_fimc_start_input_dma_co(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSCOCTRL);
+
+	cfg |= S3C_MSCOCTRL_ENVID;
+	writel(cfg, ctrl->regs + S3C_MSCOCTRL);
+}
+
+void s3c_fimc_start_input_dma(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_start_input_dma_pr(ctrl);
+	else
+		s3c_fimc_start_input_dma_co(ctrl);
+}
+
+static void s3c_fimc_stop_input_dma_pr(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSPRCTRL);
+
+	cfg &= ~S3C_MSPRCTRL_ENVID;
+	writel(cfg, ctrl->regs + S3C_MSPRCTRL);
+}
+
+static void s3c_fimc_stop_input_dma_co(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSCOCTRL);
+
+	cfg &= ~S3C_MSCOCTRL_ENVID;
+	writel(cfg, ctrl->regs + S3C_MSCOCTRL);
+}
+
+void s3c_fimc_stop_input_dma(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_stop_input_dma_pr(ctrl);
+	else
+		s3c_fimc_stop_input_dma_co(ctrl);
+}
+
+static void s3c_fimc_set_input_path_pr(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSPRCTRL);
+
+	cfg &= ~S3C_MSPRCTRL_INPUT_MASK;
+
+	if (ctrl->in_type == PATH_IN_DMA)
+		cfg |= S3C_MSPRCTRL_INPUT_MEMORY;
+	else
+		cfg |= S3C_MSPRCTRL_INPUT_EXTCAM;
+
+	writel(cfg, ctrl->regs + S3C_MSPRCTRL);
+}
+
+static void s3c_fimc_set_input_path_co(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSCOCTRL);
+
+	cfg &= ~S3C_MSCOCTRL_INPUT_MASK;
+
+	if (ctrl->in_type == PATH_IN_DMA)
+		cfg |= S3C_MSCOCTRL_INPUT_MEMORY;
+	else
+		cfg |= S3C_MSCOCTRL_INPUT_EXTCAM;
+
+	writel(cfg, ctrl->regs + S3C_MSCOCTRL);
+}
+
+void s3c_fimc_set_input_path(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_set_input_path_pr(ctrl);
+	else
+		s3c_fimc_set_input_path_co(ctrl);
+}
+
+static void s3c_fimc_set_output_path_pr(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIPRSCCTRL);
+
+	cfg &= ~S3C_CIPRSCCTRL_LCDPATHEN_FIFO;
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		cfg |= S3C_CIPRSCCTRL_LCDPATHEN_FIFO;
+
+	writel(cfg, ctrl->regs + S3C_CIPRSCCTRL);
+}
+
+static void s3c_fimc_set_output_path_co(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CICOSCCTRL);
+
+	cfg &= ~S3C_CICOSCCTRL_LCDPATHEN_FIFO;
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		cfg |= S3C_CICOSCCTRL_LCDPATHEN_FIFO;
+
+	writel(cfg, ctrl->regs + S3C_CICOSCCTRL);
+}
+
+void s3c_fimc_set_output_path(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_set_output_path_pr(ctrl);
+	else
+		s3c_fimc_set_output_path_co(ctrl);
+}
+
+void s3c_fimc_set_input_address(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_in_frame *frame = &ctrl->in_frame;
+	struct s3c_fimc_frame_addr *addr = &ctrl->in_frame.addr;
+	u32 width = frame->width;
+	u32 height = frame->height;
+	dma_addr_t start_y = addr->phys_y, start_cb = 0, start_cr = 0;
+	dma_addr_t end_y = 0, end_cb = 0, end_cr = 0;
+
+	if (frame->planes == 1)
+		end_y = start_y + frame->buf_size;
+	else {
+		start_cb = addr->phys_cb;
+		start_cr = addr->phys_cr;
+
+		if (frame->format == FORMAT_YCBCR420) {
+			end_y = start_y + (width * height);
+			end_cb = start_cb + (width * height / 4);
+			end_cr = start_cr + (width * height / 4);
+		} else {
+			end_y = start_y + (width * height);
+			end_cb = start_cb + (width * height / 2);
+			end_cr = start_cr + (width * height / 2);
+		}
+	}
+
+	addr->phys_y = start_y;
+	addr->phys_cb = start_cb;
+	addr->phys_cr = start_cr;
+
+	if (ctrl->id == 1) {
+		writel(start_y, ctrl->regs + S3C_MSPRY0SA);
+		writel(start_cb, ctrl->regs + S3C_MSPRCB0SA);
+		writel(start_cr, ctrl->regs + S3C_MSPRCR0SA);
+		writel(end_y, ctrl->regs + S3C_MSPRY0END);
+		writel(end_cb, ctrl->regs + S3C_MSPRCB0END);
+		writel(end_cr, ctrl->regs + S3C_MSPRCR0END);
+	} else {
+		writel(start_y, ctrl->regs + S3C_MSCOY0SA);
+		writel(start_cb, ctrl->regs + S3C_MSCOCB0SA);
+		writel(start_cr, ctrl->regs + S3C_MSCOCR0SA);
+		writel(end_y, ctrl->regs + S3C_MSCOY0END);
+		writel(end_cb, ctrl->regs + S3C_MSCOCB0END);
+		writel(end_cr, ctrl->regs + S3C_MSCOCR0END);
+	}
+}
+
+static void s3c_fimc_set_output_address_pr(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	struct s3c_fimc_frame_addr *addr;
+	int i;
+
+	for (i = 0; i < S3C_FIMC_MAX_FRAMES; i++) {
+		addr = &frame->addr[i];
+		writel(addr->phys_rgb, ctrl->regs + S3C_CIPRYSA(i));
+		writel(0, ctrl->regs + S3C_CIPRCBSA(i));
+		writel(0, ctrl->regs + S3C_CIPRCRSA(i));
+	}
+}
+
+static void s3c_fimc_set_output_address_co(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	struct s3c_fimc_frame_addr *addr;
+	int i;
+
+	for (i = 0; i < S3C_FIMC_MAX_FRAMES; i++) {
+		addr = &frame->addr[i];
+		writel(addr->phys_y, ctrl->regs + S3C_CICOYSA(i));
+		writel(addr->phys_cb, ctrl->regs + S3C_CICOCBSA(i));
+		writel(addr->phys_cr, ctrl->regs + S3C_CICOCRSA(i));
+	}
+}
+
+void s3c_fimc_set_output_address(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1)
+		s3c_fimc_set_output_address_pr(ctrl);
+	else
+		s3c_fimc_set_output_address_co(ctrl);
+}
+
+int s3c_fimc_get_frame_count(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->id == 1) {
+		return S3C_CIPRSTATUS_GET_FRAME_COUNT( \
+			readl(ctrl->regs + S3C_CIPRSTATUS));
+	} else {
+		return S3C_CICOSTATUS_GET_FRAME_COUNT( \
+			readl(ctrl->regs + S3C_CICOSTATUS));
+	}
+}
+
+void s3c_fimc_wait_frame_end(struct s3c_fimc_control *ctrl)
+{
+        unsigned long timeo = jiffies;
+	unsigned int frame_cnt = 0;
+	u32 cfg;
+
+        timeo += 20;    /* waiting for 100mS */
+
+	if (ctrl->id == 1) {
+		while (time_before(jiffies, timeo)) {
+			cfg = readl(ctrl->regs + S3C_CIPRSTATUS);
+			
+			if (S3C_CIPRSTATUS_GET_FRAME_END(cfg)) {
+				cfg &= ~S3C_CIPRSTATUS_FRAMEEND;
+				writel(cfg, ctrl->regs + S3C_CIPRSTATUS);
+
+				if (frame_cnt == 2)
+					break;
+				else
+					frame_cnt++;
+			}
+			cond_resched();
+		}
+	} else {
+		while (time_before(jiffies, timeo)) {
+			cfg = readl(ctrl->regs + S3C_CICOSTATUS);
+
+			if (S3C_CICOSTATUS_GET_FRAME_END(cfg)) {
+				cfg &= ~S3C_CICOSTATUS_FRAMEEND;
+				writel(cfg, ctrl->regs + S3C_CICOSTATUS);
+				
+				if (frame_cnt == 2)
+					break;
+				else
+					frame_cnt++;
+			}
+			cond_resched();
+		}
+	}
+}
+
+void s3c_fimc_change_effect(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_effect *effect = &ctrl->out_frame.effect;
+	u32 cfg = readl(ctrl->regs + S3C_CIIMGEFF);
+
+	cfg &= ~S3C_CIIMGEFF_FIN_MASK;
+	cfg |= effect->type;
+
+	if (ctrl->id == 1)
+		cfg |= S3C_CIIMGEFF_IE_ENABLE_PR;
+	else
+		cfg |= S3C_CIIMGEFF_IE_ENABLE_CO;
+
+	if (effect->type == EFFECT_ARBITRARY) {
+		cfg &= ~S3C_CIIMGEFF_PAT_CBCR_MASK;
+		cfg |= S3C_CIIMGEFF_PAT_CB(effect->pat_cb);
+		cfg |= S3C_CIIMGEFF_PAT_CR(effect->pat_cr);
+	}
+
+	writel(cfg, ctrl->regs + S3C_CIIMGEFF);
+}
+
+void s3c_fimc_change_rotate(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg;
+
+	if (ctrl->rot90)
+		s3c_fimc_set_rot90(ctrl);
+
+	if (ctrl->out_type == PATH_OUT_DMA) {
+		cfg = readl(ctrl->regs + S3C_CIPRTRGFMT);
+		cfg &= ~S3C_CIPRTRGFMT_FLIP_MASK;
+		cfg |= (ctrl->out_frame.flip << S3C_CIPRTRGFMT_FLIP_SHIFT);
+
+		writel(cfg, ctrl->regs + S3C_CIPRTRGFMT);
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc4x_regs.c linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc4x_regs.c
--- linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc4x_regs.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc4x_regs.c	2009-10-22 02:12:08.000000000 +0200
@@ -0,0 +1,715 @@
+/* linux/drivers/media/video/samsung/s3c_fimc4x_regs.c
+ *
+ * Register interface file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/delay.h>
+#include <linux/gpio.h>
+#include <asm/io.h>
+#include <mach/map.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-h3.h>
+#include <plat/regs-fimc.h>
+#include <plat/fimc.h>
+
+#include "s3c_fimc.h"
+
+void s3c_fimc_clear_irq(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIGCTRL);
+
+	cfg |= S3C_CIGCTRL_IRQ_CLR;
+
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+}
+
+int s3c_fimc_check_fifo(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg, status, flag;
+
+	status = readl(ctrl->regs + S3C_CISTATUS);
+	flag = S3C_CISTATUS_OVFIY | S3C_CISTATUS_OVFICB | S3C_CISTATUS_OVFICR;
+
+	if (status & flag) {
+		cfg = readl(ctrl->regs + S3C_CIWDOFST);
+		cfg |= (S3C_CIWDOFST_CLROVFIY | S3C_CIWDOFST_CLROVFICB | S3C_CIWDOFST_CLROVFICR);
+		writel(cfg, ctrl->regs + S3C_CIWDOFST);
+
+		cfg = readl(ctrl->regs + S3C_CIWDOFST);
+		cfg &= ~(S3C_CIWDOFST_CLROVFIY | S3C_CIWDOFST_CLROVFICB | S3C_CIWDOFST_CLROVFICR);
+		writel(cfg, ctrl->regs + S3C_CIWDOFST);
+	}
+
+	return 0;
+}
+
+void s3c_fimc_select_camera(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIGCTRL);
+
+	cfg &= ~(S3C_CIGCTRL_TESTPATTERN_MASK | S3C_CIGCTRL_SELCAM_ITU_MASK);
+
+	if (ctrl->in_cam->id == 0)
+		cfg |= S3C_CIGCTRL_SELCAM_ITU_A;
+	else
+		cfg |= S3C_CIGCTRL_SELCAM_ITU_B;
+
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+}
+
+void s3c_fimc_set_test_pattern(struct s3c_fimc_control *ctrl, int type)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIGCTRL);
+
+	cfg &= ~S3C_CIGCTRL_TESTPATTERN_MASK;
+	cfg |= type << S3C_CIGCTRL_TESTPATTERN_SHIFT;
+
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+}
+
+void s3c_fimc_set_source_format(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_camera *cam = ctrl->in_cam;
+	u32 cfg = 0;
+
+	cfg |= (cam->mode | cam->order422);
+	cfg |= S3C_CISRCFMT_SOURCEHSIZE(cam->width);
+	cfg |= S3C_CISRCFMT_SOURCEVSIZE(cam->height);
+
+	writel(cfg, ctrl->regs + S3C_CISRCFMT);
+
+}
+
+void s3c_fimc_set_window_offset(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_window_offset *offset = &ctrl->in_cam->offset;
+	u32 cfg;
+	
+	cfg = readl(ctrl->regs + S3C_CIWDOFST);
+	cfg &= ~(S3C_CIWDOFST_WINHOROFST_MASK | S3C_CIWDOFST_WINVEROFST_MASK);
+	cfg |= S3C_CIWDOFST_WINHOROFST(offset->h1);
+	cfg |= S3C_CIWDOFST_WINVEROFST(offset->v1);
+	cfg |= S3C_CIWDOFST_WINOFSEN;
+	writel(cfg, ctrl->regs + S3C_CIWDOFST);
+
+	cfg = 0;
+	cfg |= S3C_CIWDOFST2_WINHOROFST2(offset->h2);
+	cfg |= S3C_CIWDOFST2_WINVEROFST2(offset->v2);
+	writel(cfg, ctrl->regs + S3C_CIWDOFST2);
+}
+
+static void s3c_fimc_reset_cfg(struct s3c_fimc_control *ctrl)
+{
+	int i;
+	u32 cfg[][2] = {
+		{ 0x018, 0x00000000 }, { 0x01c, 0x00000000 },
+		{ 0x020, 0x00000000 }, { 0x024, 0x00000000 },
+		{ 0x028, 0x00000000 }, { 0x02c, 0x00000000 },
+		{ 0x030, 0x00000000 }, { 0x034, 0x00000000 },
+		{ 0x038, 0x00000000 }, { 0x03c, 0x00000000 },
+		{ 0x040, 0x00000000 }, { 0x044, 0x00000000 },
+		{ 0x048, 0x00000000 }, { 0x04c, 0x00000000 },
+		{ 0x050, 0x00000000 }, { 0x054, 0x00000000 },
+		{ 0x058, 0x18000000 }, { 0x05c, 0x00000000 },
+		{ 0x0c0, 0x00000000 }, { 0x0c4, 0xffffffff },
+		{ 0x0d0, 0x00100080 }, { 0x0d4, 0x00000000 },
+		{ 0x0d8, 0x00000000 }, { 0x0dc, 0x00000000 },
+		{ 0x0f8, 0x00000000 }, { 0x0fc, 0x04000000 },
+		{ 0x168, 0x00000000 }, { 0x16c, 0x00000000 },
+		{ 0x170, 0x00000000 }, { 0x174, 0x00000000 },
+		{ 0x178, 0x00000000 }, { 0x17c, 0x00000000 },
+		{ 0x180, 0x00000000 }, { 0x184, 0x00000000 },
+		{ 0x188, 0x00000000 }, { 0x18c, 0x00000000 },
+		{ 0x194, 0x0000001e },
+	};
+
+	for (i = 0; i < sizeof(cfg) / 8; i++)
+		writel(cfg[i][1], ctrl->regs + cfg[i][0]);
+}
+
+void s3c_fimc_reset(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg;
+
+	/*
+	 * we have to write 1 to the CISRCFMT[31] before
+	 * getting started the sw reset
+	 *
+	 */
+	cfg = readl(ctrl->regs + S3C_CISRCFMT);
+	cfg |= S3C_CISRCFMT_ITU601_8BIT;
+	writel(cfg, ctrl->regs + S3C_CISRCFMT);
+
+	/* s/w reset */
+	cfg = readl(ctrl->regs + S3C_CIGCTRL);
+	cfg |= (S3C_CIGCTRL_SWRST | S3C_CIGCTRL_IRQ_LEVEL);
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+	mdelay(1);
+
+	cfg = readl(ctrl->regs + S3C_CIGCTRL);
+	cfg &= ~S3C_CIGCTRL_SWRST;
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+
+	/* in case of ITU656, CISRCFMT[31] should be 0 */
+	if (ctrl->in_cam && ctrl->in_cam->mode == ITU_656_YCBCR422_8BIT) {
+		cfg = readl(ctrl->regs + S3C_CISRCFMT);
+		cfg &= ~S3C_CISRCFMT_ITU601_8BIT;
+		writel(cfg, ctrl->regs + S3C_CISRCFMT);
+	}
+
+	s3c_fimc_reset_cfg(ctrl);
+}
+
+void s3c_fimc_reset_camera(void)
+{
+	void __iomem *regs = ioremap(S5PC1XX_PA_FIMC0, SZ_4K);
+	u32 cfg;
+
+	
+#if (CONFIG_VIDEO_FIMC_CAM_RESET == 1)
+	printk("[CAM]Reset camera1.\n");
+	cfg = readl(regs + S3C_CIGCTRL);
+	cfg |= S3C_CIGCTRL_CAMRST_A;
+	writel(cfg, regs + S3C_CIGCTRL);
+	udelay(200);
+
+	cfg = readl(regs + S3C_CIGCTRL);
+	cfg &= ~S3C_CIGCTRL_CAMRST_A;
+	writel(cfg, regs + S3C_CIGCTRL);
+	udelay(2000);
+#else
+	printk("[CAM]Reset camera2.\n");
+	cfg = readl(regs + S3C_CIGCTRL);
+	cfg &= ~S3C_CIGCTRL_CAMRST_A;
+	writel(cfg, regs + S3C_CIGCTRL);
+	udelay(200);
+
+	cfg = readl(regs + S3C_CIGCTRL);
+	cfg |= S3C_CIGCTRL_CAMRST_A;
+	writel(cfg, regs + S3C_CIGCTRL);
+	udelay(2000);
+#endif
+
+#if (CONFIG_VIDEO_FIMC_CAM_CH == 1)
+	cfg = readl(S5PC1XX_GPH3CON);
+	cfg &= ~S5PC1XX_GPH3_CONMASK(6);
+	cfg |= S5PC1XX_GPH3_OUTPUT(6);
+	writel(cfg, S5PC1XX_GPH3CON);
+
+	cfg = readl(S5PC1XX_GPH3DAT);
+	cfg &= ~(0x1 << 6);
+	writel(cfg, S5PC1XX_GPH3DAT);
+	udelay(200);
+
+	cfg |= (0x1 << 6);
+	writel(cfg, S5PC1XX_GPH3DAT);
+	udelay(2000);
+#endif
+
+	iounmap(regs);
+}
+
+void s3c_fimc_set_polarity(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_camera *cam = ctrl->in_cam;
+	u32 cfg;
+
+	cfg = readl(ctrl->regs + S3C_CIGCTRL);
+
+	cfg &= ~(S3C_CIGCTRL_INVPOLPCLK | S3C_CIGCTRL_INVPOLVSYNC | \
+		 S3C_CIGCTRL_INVPOLHREF | S3C_CIGCTRL_INVPOLHSYNC);
+
+	if (cam->polarity.pclk)
+		cfg |= S3C_CIGCTRL_INVPOLPCLK;
+
+	if (cam->polarity.vsync)
+		cfg |= S3C_CIGCTRL_INVPOLVSYNC;
+
+	if (cam->polarity.href)
+		cfg |= S3C_CIGCTRL_INVPOLHREF;
+
+	if (cam->polarity.hsync)
+		cfg |= S3C_CIGCTRL_INVPOLHSYNC;
+
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+}
+
+static void s3c_fimc_set_rot90(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CITRGFMT);
+
+	cfg &= ~(S3C_CITRGFMT_INROT90_CLOCKWISE | \
+		S3C_CITRGFMT_OUTROT90_CLOCKWISE);
+
+	/*
+	 * We use Input Rotator when output is LCD FIFO only.
+	 * When LCD FIFO is enabled, input should be DMA.
+	*/
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		cfg |= S3C_CITRGFMT_INROT90_CLOCKWISE;
+	else
+		cfg |= S3C_CITRGFMT_OUTROT90_CLOCKWISE;
+
+	writel(cfg, ctrl->regs + S3C_CITRGFMT);
+}
+
+void s3c_fimc_set_target_format(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	u32 cfg = 0;
+
+	switch (frame->format) {
+	case FORMAT_RGB565: /* fall through */
+	case FORMAT_RGB666: /* fall through */
+	case FORMAT_RGB888:
+		cfg |= S3C_CITRGFMT_OUTFORMAT_RGB;
+		break;
+
+	case FORMAT_YCBCR420:
+		cfg |= S3C_CITRGFMT_OUTFORMAT_YCBCR420;
+		break;
+
+	case FORMAT_YCBCR422:
+		if (frame->planes == 1)
+			cfg |= S3C_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE;
+		else
+			cfg |= S3C_CITRGFMT_OUTFORMAT_YCBCR422;
+
+		break;
+	}
+
+	cfg |= S3C_CITRGFMT_TARGETHSIZE(frame->width);
+	cfg |= S3C_CITRGFMT_TARGETVSIZE(frame->height);
+	cfg |= (frame->flip << S3C_CITRGFMT_FLIP_SHIFT);
+
+	writel(cfg, ctrl->regs + S3C_CITRGFMT);
+
+	if (ctrl->rot90)
+		s3c_fimc_set_rot90(ctrl);
+
+	cfg = S3C_CITAREA_TARGET_AREA(frame->width * frame->height);
+	writel(cfg, ctrl->regs + S3C_CITAREA);
+}
+
+static void s3c_fimc_set_output_dma_size(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	int ofs_h = frame->offset.y_h * 2;
+	int ofs_v = frame->offset.y_v * 2;
+	u32 cfg = 0;
+
+	if (ctrl->rot90) {
+		cfg |= S3C_ORGOSIZE_HORIZONTAL(frame->height - ofs_v);
+		cfg |= S3C_ORGOSIZE_VERTICAL(frame->width - ofs_h);
+	} else {
+		cfg |= S3C_ORGOSIZE_HORIZONTAL(frame->width - ofs_h);
+		cfg |= S3C_ORGOSIZE_VERTICAL(frame->height - ofs_v);
+	}
+
+	writel(cfg, ctrl->regs + S3C_ORGOSIZE);
+}
+
+void s3c_fimc_set_output_dma(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	u32 cfg;
+
+	/* for offsets */
+	cfg = 0;
+	cfg |= S3C_CIOYOFF_HORIZONTAL(frame->offset.y_h);
+	cfg |= S3C_CIOYOFF_VERTICAL(frame->offset.y_v);
+	writel(cfg, ctrl->regs + S3C_CIOYOFF);
+
+	cfg = 0;
+	cfg |= S3C_CIOCBOFF_HORIZONTAL(frame->offset.cb_h);
+	cfg |= S3C_CIOCBOFF_VERTICAL(frame->offset.cb_v);
+	writel(cfg, ctrl->regs + S3C_CIOCBOFF);
+
+	cfg = 0;
+	cfg |= S3C_CIOCROFF_HORIZONTAL(frame->offset.cr_h);
+	cfg |= S3C_CIOCROFF_VERTICAL(frame->offset.cr_v);
+	writel(cfg, ctrl->regs + S3C_CIOCROFF);
+
+	/* for original size */
+	s3c_fimc_set_output_dma_size(ctrl);
+	
+	/* for output dma control */
+	cfg = readl(ctrl->regs + S3C_CIOCTRL);
+
+	cfg &= ~(S3C_CIOCTRL_ORDER2P_MASK | S3C_CIOCTRL_ORDER422_MASK | \
+		 S3C_CIOCTRL_YCBCR_PLANE_MASK);
+
+	if (frame->planes == 1)
+		cfg |= frame->order_1p;
+	else if (frame->planes == 2)
+		cfg |= (S3C_CIOCTRL_YCBCR_2PLANE | \
+			(frame->order_2p << S3C_CIOCTRL_ORDER2P_SHIFT));
+	else if (frame->planes == 3)
+		cfg |= S3C_CIOCTRL_YCBCR_3PLANE;
+
+	writel(cfg, ctrl->regs + S3C_CIOCTRL);
+}
+
+void s3c_fimc_enable_lastirq(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIOCTRL);
+
+	cfg |= S3C_CIOCTRL_LASTIRQ_ENABLE;
+	writel(cfg, ctrl->regs + S3C_CIOCTRL);
+}
+
+void s3c_fimc_disable_lastirq(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIOCTRL);
+
+	cfg &= ~S3C_CIOCTRL_LASTIRQ_ENABLE;
+	writel(cfg, ctrl->regs + S3C_CIOCTRL);
+}
+
+void s3c_fimc_set_prescaler(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_scaler *sc = &ctrl->scaler;
+	u32 cfg = 0, shfactor;
+
+	shfactor = 10 - (sc->hfactor + sc->vfactor);
+
+	cfg |= S3C_CISCPRERATIO_SHFACTOR(shfactor);
+	cfg |= S3C_CISCPRERATIO_PREHORRATIO(sc->pre_hratio);
+	cfg |= S3C_CISCPRERATIO_PREVERRATIO(sc->pre_vratio);
+
+	writel(cfg, ctrl->regs + S3C_CISCPRERATIO);
+
+	cfg = 0;
+	cfg |= S3C_CISCPREDST_PREDSTWIDTH(sc->pre_dst_width);
+	cfg |= S3C_CISCPREDST_PREDSTHEIGHT(sc->pre_dst_height);
+
+	writel(cfg, ctrl->regs + S3C_CISCPREDST);
+}
+
+void s3c_fimc_set_scaler(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_scaler *sc = &ctrl->scaler;
+	u32 cfg = (S3C_CISCCTRL_CSCR2Y_WIDE | S3C_CISCCTRL_CSCY2R_WIDE);
+
+	if (sc->bypass)
+		cfg |= S3C_CISCCTRL_SCALERBYPASS;
+
+	if (sc->scaleup_h)
+		cfg |= S3C_CISCCTRL_SCALEUP_H;
+
+	if (sc->scaleup_v)
+		cfg |= S3C_CISCCTRL_SCALEUP_V;
+
+	if (ctrl->in_type == PATH_IN_DMA) {
+		if (ctrl->in_frame.format == FORMAT_RGB565)
+			cfg |= S3C_CISCCTRL_INRGB_FMT_RGB565;
+		else if (ctrl->in_frame.format == FORMAT_RGB666)
+			cfg |= S3C_CISCCTRL_INRGB_FMT_RGB666;
+		else if (ctrl->in_frame.format == FORMAT_RGB888)
+			cfg |= S3C_CISCCTRL_INRGB_FMT_RGB888;
+	}
+
+	if (ctrl->out_type == PATH_OUT_DMA) {
+		if (ctrl->out_frame.format == FORMAT_RGB565)
+			cfg |= S3C_CISCCTRL_OUTRGB_FMT_RGB565;
+		else if (ctrl->out_frame.format == FORMAT_RGB666)
+			cfg |= S3C_CISCCTRL_OUTRGB_FMT_RGB666;
+		else if (ctrl->out_frame.format == FORMAT_RGB888)
+			cfg |= S3C_CISCCTRL_OUTRGB_FMT_RGB888;
+	} else {
+		cfg |= S3C_CISCCTRL_OUTRGB_FMT_RGB888;
+
+		if (ctrl->out_frame.scan == SCAN_TYPE_INTERLACE)
+			cfg |= S3C_CISCCTRL_INTERLACE;
+		else
+			cfg |= S3C_CISCCTRL_PROGRESSIVE;
+	}
+
+	cfg |= S3C_CISCCTRL_MAINHORRATIO(sc->main_hratio);
+	cfg |= S3C_CISCCTRL_MAINVERRATIO(sc->main_vratio);
+
+	writel(cfg, ctrl->regs + S3C_CISCCTRL);
+}
+
+void s3c_fimc_start_scaler(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CISCCTRL);
+
+	cfg |= S3C_CISCCTRL_SCALERSTART;
+	writel(cfg, ctrl->regs + S3C_CISCCTRL);
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		ctrl->open_lcdfifo(ctrl->id, 0, 0);
+}
+
+void s3c_fimc_stop_scaler(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CISCCTRL);
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		ctrl->close_lcdfifo(ctrl->id);
+
+	cfg &= ~S3C_CISCCTRL_SCALERSTART;
+	writel(cfg, ctrl->regs + S3C_CISCCTRL);
+}
+
+void s3c_fimc_enable_capture(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIIMGCPT);
+
+	cfg &= ~S3C_CIIMGCPT_CPT_FREN_ENABLE;
+	cfg |= S3C_CIIMGCPT_IMGCPTEN;
+
+	if (!ctrl->scaler.bypass)
+		cfg |= S3C_CIIMGCPT_IMGCPTEN_SC;
+
+	writel(cfg, ctrl->regs + S3C_CIIMGCPT);
+}
+
+void s3c_fimc_disable_capture(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIIMGCPT);
+
+	cfg &= ~(S3C_CIIMGCPT_IMGCPTEN | S3C_CIIMGCPT_IMGCPTEN_SC);
+	writel(cfg, ctrl->regs + S3C_CIIMGCPT);
+}
+
+void s3c_fimc_set_effect(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_effect *effect = &ctrl->out_frame.effect;
+	u32 cfg = (S3C_CIIMGEFF_IE_ENABLE | S3C_CIIMGEFF_IE_SC_AFTER);
+
+	cfg |= effect->type;
+
+	if (effect->type == EFFECT_ARBITRARY) {
+		cfg |= S3C_CIIMGEFF_PAT_CB(effect->pat_cb);
+		cfg |= S3C_CIIMGEFF_PAT_CR(effect->pat_cr);
+	}
+
+	writel(cfg, ctrl->regs + S3C_CIIMGEFF);
+}
+
+static void s3c_fimc_set_input_dma_size(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_in_frame *frame = &ctrl->in_frame;
+	int ofs_h = frame->offset.y_h * 2;
+	int ofs_v = frame->offset.y_v * 2;
+	u32 cfg_o = 0, cfg_r = S3C_CIREAL_ISIZE_AUTOLOAD_ENABLE;
+
+	cfg_o |= S3C_ORGISIZE_HORIZONTAL(frame->width - ofs_h);
+	cfg_o |= S3C_ORGISIZE_VERTICAL(frame->height - ofs_v);
+	cfg_r |= S3C_CIREAL_ISIZE_WIDTH(frame->width - ofs_h);
+	cfg_r |= S3C_CIREAL_ISIZE_HEIGHT(frame->height - ofs_v);
+
+	writel(cfg_o, ctrl->regs + S3C_ORGISIZE);
+	writel(cfg_r, ctrl->regs + S3C_CIREAL_ISIZE);
+}
+
+void s3c_fimc_set_input_dma(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_in_frame *frame = &ctrl->in_frame;
+	u32 cfg;
+
+	/* for offsets */
+	cfg = 0;
+	cfg |= S3C_CIIYOFF_HORIZONTAL(frame->offset.y_h);
+	cfg |= S3C_CIIYOFF_VERTICAL(frame->offset.y_v);
+	writel(cfg, ctrl->regs + S3C_CIIYOFF);
+
+	cfg = 0;
+	cfg |= S3C_CIICBOFF_HORIZONTAL(frame->offset.cb_h);
+	cfg |= S3C_CIICBOFF_VERTICAL(frame->offset.cb_v);
+	writel(cfg, ctrl->regs + S3C_CIICBOFF);
+
+	cfg = 0;
+	cfg |= S3C_CIICROFF_HORIZONTAL(frame->offset.cr_h);
+	cfg |= S3C_CIICROFF_VERTICAL(frame->offset.cr_v);
+	writel(cfg, ctrl->regs + S3C_CIICROFF);
+
+	/* for original & real size */
+	s3c_fimc_set_input_dma_size(ctrl);
+
+	/* for input dma control */
+	cfg = (S3C_MSCTRL_SUCCESSIVE_COUNT(4) | S3C_MSCTRL_INPUT_MEMORY);
+
+	switch (frame->format) {
+	case FORMAT_RGB565: /* fall through */
+	case FORMAT_RGB666: /* fall through */
+	case FORMAT_RGB888:
+		cfg |= S3C_MSCTRL_INFORMAT_RGB;
+		break;
+
+	case FORMAT_YCBCR420:
+		cfg |= S3C_MSCTRL_INFORMAT_YCBCR420;
+
+		if (frame->planes == 2)
+			cfg |= (S3C_MSCTRL_C_INT_IN_2PLANE | \
+				(frame->order_2p << S3C_MSCTRL_2PLANE_SHIFT));
+		else
+			cfg |= S3C_MSCTRL_C_INT_IN_3PLANE;
+
+		break;
+
+	case FORMAT_YCBCR422:
+		if (frame->planes == 1)
+			cfg |= (frame->order_1p | \
+				S3C_MSCTRL_INFORMAT_YCBCR422_1PLANE);
+		else {
+			cfg |= S3C_MSCTRL_INFORMAT_YCBCR422;
+
+			if (frame->planes == 2)
+				cfg |= (S3C_MSCTRL_C_INT_IN_2PLANE | \
+					(frame->order_2p << S3C_MSCTRL_2PLANE_SHIFT));
+			else
+				cfg |= S3C_MSCTRL_C_INT_IN_3PLANE;
+		}
+
+		break;
+	}
+
+	writel(cfg, ctrl->regs + S3C_MSCTRL);
+}
+
+void s3c_fimc_start_input_dma(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSCTRL);
+
+	cfg |= S3C_MSCTRL_ENVID;
+	writel(cfg, ctrl->regs + S3C_MSCTRL);
+}
+
+void s3c_fimc_stop_input_dma(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSCTRL);
+
+	cfg &= ~S3C_MSCTRL_ENVID;
+	writel(cfg, ctrl->regs + S3C_MSCTRL);
+}
+
+void s3c_fimc_set_input_path(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSCTRL);
+
+	cfg &= ~S3C_MSCTRL_INPUT_MASK;
+
+	if (ctrl->in_type == PATH_IN_DMA)
+		cfg |= S3C_MSCTRL_INPUT_MEMORY;
+	else
+		cfg |= S3C_MSCTRL_INPUT_EXTCAM;
+
+	writel(cfg, ctrl->regs + S3C_MSCTRL);
+}
+
+void s3c_fimc_set_output_path(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CISCCTRL);
+
+	cfg &= ~S3C_CISCCTRL_LCDPATHEN_FIFO;
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		cfg |= S3C_CISCCTRL_LCDPATHEN_FIFO;
+
+	writel(cfg, ctrl->regs + S3C_CISCCTRL);
+}
+
+void s3c_fimc_set_input_address(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_frame_addr *addr = &ctrl->in_frame.addr;
+	u32 cfg = 0;
+
+	cfg = readl(ctrl->regs + S3C_CIREAL_ISIZE);
+	cfg |= S3C_CIREAL_ISIZE_ADDR_CH_DISABLE;
+	writel(cfg, ctrl->regs + S3C_CIREAL_ISIZE);
+
+	writel(addr->phys_y, ctrl->regs + S3C_CIIYSA0);
+	writel(addr->phys_cb, ctrl->regs + S3C_CIICBSA0);
+	writel(addr->phys_cr, ctrl->regs + S3C_CIICRSA0);
+
+	cfg &= ~S3C_CIREAL_ISIZE_ADDR_CH_DISABLE;
+	writel(cfg, ctrl->regs + S3C_CIREAL_ISIZE);
+}
+
+void s3c_fimc_set_output_address(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	struct s3c_fimc_frame_addr *addr;
+	int i;
+
+	for (i = 0; i < S3C_FIMC_MAX_FRAMES; i++) {
+		addr = &frame->addr[i];
+		writel(addr->phys_y, ctrl->regs + S3C_CIOYSA(i));
+		writel(addr->phys_cb, ctrl->regs + S3C_CIOCBSA(i));
+		writel(addr->phys_cr, ctrl->regs + S3C_CIOCRSA(i));
+	}
+}
+
+int s3c_fimc_get_frame_count(struct s3c_fimc_control *ctrl)
+{
+	return S3C_CISTATUS_GET_FRAME_COUNT(readl(ctrl->regs + S3C_CISTATUS));
+}
+
+void s3c_fimc_wait_frame_end(struct s3c_fimc_control *ctrl)
+{
+        unsigned long timeo = jiffies;
+	unsigned int frame_cnt = 0;
+	u32 cfg;
+
+        timeo += 20;    /* waiting for 100mS */
+
+	while (time_before(jiffies, timeo)) {
+		cfg = readl(ctrl->regs + S3C_CISTATUS);
+		
+		if (S3C_CISTATUS_GET_FRAME_END(cfg)) {
+			cfg &= ~S3C_CISTATUS_FRAMEEND;
+			writel(cfg, ctrl->regs + S3C_CISTATUS);
+
+			if (frame_cnt == 2)
+				break;
+			else
+				frame_cnt++;
+		}
+		cond_resched();
+	}
+}
+
+void s3c_fimc_change_effect(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_effect *effect = &ctrl->out_frame.effect;
+	u32 cfg = readl(ctrl->regs + S3C_CIIMGEFF);
+
+	cfg &= ~S3C_CIIMGEFF_FIN_MASK;
+	cfg |= (effect->type | S3C_CIIMGEFF_IE_ENABLE);
+
+	if (effect->type == EFFECT_ARBITRARY) {
+		cfg &= ~S3C_CIIMGEFF_PAT_CBCR_MASK;
+		cfg |= S3C_CIIMGEFF_PAT_CB(effect->pat_cb);
+		cfg |= S3C_CIIMGEFF_PAT_CR(effect->pat_cr);
+	}
+
+	writel(cfg, ctrl->regs + S3C_CIIMGEFF);
+}
+
+void s3c_fimc_change_rotate(struct s3c_fimc_control *ctrl)
+{
+	u32 cfg;
+
+	if (ctrl->rot90)
+		s3c_fimc_set_rot90(ctrl);
+
+	if (ctrl->out_type == PATH_OUT_DMA) {
+		cfg = readl(ctrl->regs + S3C_CITRGFMT);
+		cfg &= ~S3C_CITRGFMT_FLIP_MASK;
+		cfg |= (ctrl->out_frame.flip << S3C_CITRGFMT_FLIP_SHIFT);
+
+		writel(cfg, ctrl->regs + S3C_CITRGFMT);
+		s3c_fimc_set_output_dma_size(ctrl);
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc_cfg.c linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc_cfg.c
--- linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc_cfg.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc_cfg.c	2009-10-23 11:06:16.000000000 +0200
@@ -0,0 +1,887 @@
+/* linux/drivers/media/video/samsung/s3c_fimc_cfg.c
+ *
+ * Configuration support file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/slab.h>
+#include <linux/bootmem.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+#include <asm/io.h>
+#include <asm/uaccess.h>
+#include <plat/media.h>
+
+#include "s3c_fimc.h"
+
+#if (CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC > 0)
+static dma_addr_t s3c_fimc_get_dma_region(u32 bytes)
+{
+	dma_addr_t end, addr, *curr;
+
+	end = s3c_fimc.dma_start + s3c_fimc.dma_total;
+	curr = &s3c_fimc.dma_current;
+
+	if (*curr + bytes > end) {
+		addr = 0;
+	} else {
+		addr = *curr;
+		*curr += bytes;
+	}
+
+	return addr;
+}
+
+static void s3c_fimc_put_dma_region(u32 bytes)
+{
+	s3c_fimc.dma_current -= bytes;
+}
+
+void s3c_fimc_free_output_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i;
+
+	for (i = 0; i < info->nr_frames; i++) {
+		frame = &info->addr[i];
+
+		if (frame->phys_y)
+			s3c_fimc_put_dma_region(info->buf_size);
+
+		memset(frame, 0, sizeof(*frame));
+	}
+
+	info->buf_size = 0;
+}
+
+static int s3c_fimc_alloc_rgb_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->phys_rgb = s3c_fimc_get_dma_region(info->buf_size);
+		if (frame->phys_rgb == 0) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+		
+		frame->virt_rgb = phys_to_virt(frame->phys_rgb);
+	}
+
+	for (i = nr_frames; i < S3C_FIMC_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->phys_rgb = info->addr[i - nr_frames].phys_rgb;
+		frame->virt_rgb = info->addr[i - nr_frames].virt_rgb;		
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_fimc_free_output_memory(info);
+	return ret;
+}
+
+static int s3c_fimc_alloc_yuv_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+	u32 size = info->width * info->height, cbcr_size;
+	
+	if (info->format == FORMAT_YCBCR420)
+		cbcr_size = size / 4;
+	else
+		cbcr_size = size / 2;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->phys_y = s3c_fimc_get_dma_region(info->buf_size);
+		if (frame->phys_y == 0) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+
+		frame->phys_cb = frame->phys_y + size;
+		frame->phys_cr = frame->phys_cb + cbcr_size;
+
+		frame->virt_y = phys_to_virt(frame->phys_y);
+		frame->virt_cb = frame->virt_y + size;
+		frame->virt_cr = frame->virt_cb + cbcr_size;
+	}
+
+	for (i = nr_frames; i < S3C_FIMC_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->phys_y = info->addr[i - nr_frames].phys_y;
+		frame->phys_cb = info->addr[i - nr_frames].phys_cb;
+		frame->phys_cr = info->addr[i - nr_frames].phys_cr;
+		frame->virt_y = info->addr[i - nr_frames].virt_y;
+		frame->virt_cb = info->addr[i - nr_frames].virt_cb;
+		frame->virt_cr = info->addr[i - nr_frames].virt_cr;
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_fimc_free_output_memory(info);
+	return ret;
+}
+
+#else
+void s3c_fimc_free_output_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i;
+
+	for (i = 0; i < info->nr_frames; i++) {
+		frame = &info->addr[i];
+
+		if (frame->virt_y)
+			kfree(frame->virt_y);
+
+		memset(frame, 0, sizeof(*frame));
+	}
+
+	info->buf_size = 0;
+}
+
+static int s3c_fimc_alloc_rgb_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->virt_rgb = kmalloc(info->buf_size, GFP_DMA);
+		if (frame->virt_rgb == NULL) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+		
+		frame->phys_rgb = virt_to_phys(frame->virt_rgb);
+	}
+
+	for (i = nr_frames; i < S3C_FIMC_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->virt_rgb = info->addr[i - nr_frames].virt_rgb;
+		frame->phys_rgb = info->addr[i - nr_frames].phys_rgb;
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_fimc_free_output_memory(info);
+	return ret;
+}
+
+static int s3c_fimc_alloc_yuv_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+	u32 size = info->width * info->height, cbcr_size;
+	
+	if (info->format == FORMAT_YCBCR420)
+		cbcr_size = size / 4;
+	else
+		cbcr_size = size / 2;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->virt_y = kmalloc(info->buf_size, GFP_DMA);
+		if (frame->virt_y == NULL) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+
+		frame->virt_cb = frame->virt_y + size;
+		frame->virt_cr = frame->virt_cb + cbcr_size;
+
+		frame->phys_y = virt_to_phys(frame->virt_y);
+		frame->phys_cb = frame->phys_y + size;
+		frame->phys_cr = frame->phys_cb + cbcr_size;
+	}
+
+	for (i = nr_frames; i < S3C_FIMC_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->phys_y = info->addr[i - nr_frames].phys_y;
+		frame->phys_cb = info->addr[i - nr_frames].phys_cb;
+		frame->phys_cr = info->addr[i - nr_frames].phys_cr;
+		frame->virt_y = info->addr[i - nr_frames].virt_y;
+		frame->virt_cb = info->addr[i - nr_frames].virt_cb;
+		frame->virt_cr = info->addr[i - nr_frames].virt_cr;
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_fimc_free_output_memory(info);
+	return ret;
+}
+#endif
+
+static u32 s3c_fimc_get_buffer_size(int width, int height, enum s3c_fimc_format_t fmt)
+{
+	u32 size = width * height;
+	u32 cbcr_size = 0, *buf_size = NULL, one_p_size;
+
+	switch (fmt) {
+	case FORMAT_RGB565:
+		size *= 2;
+		buf_size = &size;
+		break;
+
+	case FORMAT_RGB666:	/* fall through */
+	case FORMAT_RGB888:
+		size *= 4;
+		buf_size = &size;
+		break;
+
+	case FORMAT_YCBCR420:
+		cbcr_size = size / 4;
+		one_p_size = size + (2 * cbcr_size);
+		buf_size = &one_p_size;
+		break;
+
+	case FORMAT_YCBCR422:
+		cbcr_size = size / 2;
+		one_p_size = size + (2 * cbcr_size);
+		buf_size = &one_p_size;
+		break;
+	}
+
+	if (*buf_size % PAGE_SIZE != 0)
+		*buf_size = (*buf_size / PAGE_SIZE + 1) * PAGE_SIZE;
+
+	return *buf_size;
+}
+
+int s3c_fimc_alloc_output_memory(struct s3c_fimc_out_frame *info)
+{
+	int ret;
+
+	info->buf_size = s3c_fimc_get_buffer_size(info->width, info->height, \
+							info->format);
+
+	if (info->format == FORMAT_YCBCR420 || info->format == FORMAT_YCBCR422)
+		ret = s3c_fimc_alloc_yuv_memory(info);
+	else
+		ret = s3c_fimc_alloc_rgb_memory(info);
+
+	return ret;
+}
+
+int s3c_fimc_alloc_input_memory(struct s3c_fimc_in_frame *info, dma_addr_t addr)
+{
+	struct s3c_fimc_frame_addr *frame;
+	u32 size = info->width * info->height, cbcr_size;
+	
+	if (info->format == FORMAT_YCBCR420)
+		cbcr_size = size / 4;
+	else
+		cbcr_size = size / 2;
+
+	info->buf_size = s3c_fimc_get_buffer_size(info->width, info->height, \
+							info->format);
+
+	switch (info->format) {
+	case FORMAT_RGB565:	/* fall through */
+	case FORMAT_RGB666:	/* fall through */
+	case FORMAT_RGB888:
+		info->addr.phys_rgb = addr;
+		break;
+
+	case FORMAT_YCBCR420:	/* fall through */
+	case FORMAT_YCBCR422:
+		frame = &info->addr;
+		frame->phys_y = addr;
+		frame->phys_cb = frame->phys_y + size;
+		frame->phys_cr = frame->phys_cb + cbcr_size;
+		break;
+	}
+
+	return 0;
+}
+
+int s3c_fimc_alloc_y_memory(struct s3c_fimc_in_frame *info, 
+					dma_addr_t addr)
+{
+	info->addr.phys_y = addr;
+	info->buf_size = s3c_fimc_get_buffer_size(info->width, \
+					info->height, info->format);
+
+	return 0;
+}
+
+int s3c_fimc_alloc_cb_memory(struct s3c_fimc_in_frame *info, 
+					dma_addr_t addr)
+{
+	info->addr.phys_cb = addr;
+	info->buf_size = s3c_fimc_get_buffer_size(info->width, \
+					info->height, info->format);
+
+	return 0;
+}
+
+int s3c_fimc_alloc_cr_memory(struct s3c_fimc_in_frame *info, 
+					dma_addr_t addr)
+{
+	info->addr.phys_cr = addr;
+	info->buf_size = s3c_fimc_get_buffer_size(info->width, \
+					info->height, info->format);
+
+	return 0;
+}
+
+void s3c_fimc_set_nr_frames(struct s3c_fimc_control *ctrl, int nr)
+{
+	if (nr == 3)
+		ctrl->out_frame.nr_frames = 2;
+	else
+		ctrl->out_frame.nr_frames = nr;
+}
+
+static void s3c_fimc_set_input_format(struct s3c_fimc_control *ctrl,
+					struct v4l2_pix_format *fmt)
+{
+	struct s3c_fimc_in_frame *frame = &ctrl->in_frame;
+
+	frame->width = fmt->width;
+	frame->height = fmt->height;
+
+	switch (fmt->pixelformat) {
+	case V4L2_PIX_FMT_RGB565:
+		frame->format = FORMAT_RGB565;
+		frame->planes = 1;
+		break;
+
+	case V4L2_PIX_FMT_RGB24:
+		frame->format = FORMAT_RGB888;
+		frame->planes = 1;
+		break;
+
+	case V4L2_PIX_FMT_NV12:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV21:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_NV12X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV21X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_YUV420:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 3;
+		break;
+
+	case V4L2_PIX_FMT_YUYV:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_YCBYCR;
+		break;
+
+	case V4L2_PIX_FMT_YVYU:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_YCRYCB;
+		break;
+
+	case V4L2_PIX_FMT_UYVY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_CBYCRY;
+		break;
+
+	case V4L2_PIX_FMT_VYUY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_CRYCBY;
+		break;
+
+	case V4L2_PIX_FMT_NV16:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV61:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_NV16X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV61X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_YUV422P:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 3;
+		break;
+	}
+}
+
+int s3c_fimc_set_input_frame(struct s3c_fimc_control *ctrl,
+				struct v4l2_pix_format *fmt)
+{
+	s3c_fimc_set_input_format(ctrl, fmt);
+
+	return 0;
+}
+
+static int s3c_fimc_set_output_format(struct s3c_fimc_control *ctrl,
+					struct v4l2_pix_format *fmt)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	int depth = 0;
+
+	frame->width = fmt->width;
+	frame->height = fmt->height;
+
+	switch (fmt->pixelformat) {
+	case V4L2_PIX_FMT_RGB565:
+		frame->format = FORMAT_RGB565;
+		frame->planes = 1;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_RGB24:
+		frame->format = FORMAT_RGB888;
+		frame->planes = 1;
+		depth = 24;
+		break;
+
+	case V4L2_PIX_FMT_NV12:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CBCR;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_NV21:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CRCB;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_NV12X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CBCR;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_NV21X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CRCB;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_YUV420:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 3;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_YUYV:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_YCBYCR;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_YVYU:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_YCRYCB;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_UYVY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_CBYCRY;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_VYUY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_CRYCBY;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV16:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CBCR;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV61:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CRCB;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV16X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CBCR;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV61X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CRCB;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_YUV422P:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 3;
+		depth = 16;
+		break;
+	}
+
+	switch (fmt->field) {
+	case V4L2_FIELD_INTERLACED:
+	case V4L2_FIELD_INTERLACED_TB:
+	case V4L2_FIELD_INTERLACED_BT:
+		frame->scan = SCAN_TYPE_INTERLACE;
+		break;
+
+	default:
+		frame->scan = SCAN_TYPE_PROGRESSIVE;
+		break;
+	}
+
+	return depth;
+}
+
+int s3c_fimc_set_output_frame(struct s3c_fimc_control *ctrl,
+				struct v4l2_pix_format *fmt)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	int depth = 0;
+
+	depth = s3c_fimc_set_output_format(ctrl, fmt);
+
+	if (ctrl->out_type == PATH_OUT_DMA && frame->addr[0].virt_y == NULL) {
+		if (s3c_fimc_alloc_output_memory(frame))
+			err("cannot allocate memory\n");
+	}
+
+	return depth;
+}
+
+int s3c_fimc_frame_handler(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	int ret;
+
+	frame->skip_frames++;
+	dev_dbg(ctrl->dev, "irq is being handled by frame hander\n");
+
+	switch (ctrl->flag & S3C_FIMC_IRQ_MASK) {
+	case S3C_FIMC_FLAG_IRQ_NORMAL:
+		dev_dbg(ctrl->dev, "irq flag is normal\n");
+		FSET_RUNNING(ctrl);
+		FSET_IRQ_X(ctrl);
+		ret = S3C_FIMC_FRAME_SKIP;
+		break;
+
+	case S3C_FIMC_FLAG_IRQ_X:
+		dev_dbg(ctrl->dev, "irq flag is x\n");
+		s3c_fimc_enable_lastirq(ctrl);
+		s3c_fimc_disable_lastirq(ctrl);
+		FSET_HANDLE_IRQ(ctrl);
+		FSET_IRQ_LAST(ctrl);
+		ret = S3C_FIMC_FRAME_SKIP;
+		break;
+
+	case S3C_FIMC_FLAG_IRQ_LAST:
+		dev_dbg(ctrl->dev, "irq flag is last\n");
+		FSET_HANDLE_IRQ(ctrl);
+		FSET_IRQ_X(ctrl);
+		ret = S3C_FIMC_FRAME_TAKE;
+		break;
+
+	default:
+		dev_dbg(ctrl->dev, "unknown irq state\n");
+		ret = S3C_FIMC_FRAME_SKIP;
+		break;
+	}
+
+	return ret;
+}
+
+u8 *s3c_fimc_get_current_frame(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+
+	return frame->addr[frame->cfn].virt_y;
+}
+
+static int s3c_fimc_get_scaler_factor(u32 src, u32 tar, u32 *ratio, u32 *shift)
+{
+	if (src >= tar * 64) {
+		err("out of pre-scaler range\n");
+		return -EINVAL;
+	} else if (src >= tar * 32) {
+		*ratio = 32;
+		*shift = 5;
+	} else if (src >= tar * 16) {
+		*ratio = 16;
+		*shift = 4;
+	} else if (src >= tar * 8) {
+		*ratio = 8;
+		*shift = 3;
+	} else if (src >= tar * 4) {
+		*ratio = 4;
+		*shift = 2;
+	} else if (src >= tar * 2) {
+		*ratio = 2;
+		*shift = 1;
+	} else {
+		*ratio = 1;
+		*shift = 0;
+	}
+
+	return 0;
+}
+
+int s3c_fimc_set_scaler_info(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_scaler *sc = &ctrl->scaler;
+	struct s3c_fimc_window_offset *w_ofs = &ctrl->in_cam->offset;
+	struct s3c_fimc_dma_offset *d_ofs = &ctrl->in_frame.offset;
+	int ret, tx, ty, sx, sy;
+	int width, height, h_ofs, v_ofs;
+
+	if (ctrl->in_type == PATH_IN_DMA) {
+		/* input rotator case */
+		if (ctrl->rot90 && ctrl->out_type == PATH_OUT_LCDFIFO) {
+			width = ctrl->in_frame.height;
+			height = ctrl->in_frame.width;
+			h_ofs = d_ofs->y_v * 2;
+			v_ofs = d_ofs->y_h * 2;
+		} else {
+			width = ctrl->in_frame.width;
+			height = ctrl->in_frame.height;
+			h_ofs = d_ofs->y_h * 2;
+			v_ofs = d_ofs->y_v * 2;
+		}
+	} else {
+		width = ctrl->in_cam->width;
+		height = ctrl->in_cam->height;
+		h_ofs = w_ofs->h1 + w_ofs->h2;
+		v_ofs = w_ofs->v1 + w_ofs->v2;
+	}
+
+	tx = ctrl->out_frame.width;
+	ty = ctrl->out_frame.height;
+
+	if (tx <= 0 || ty <= 0) {
+		err("invalid target size\n");
+		ret = -EINVAL;
+		goto err_size;
+	}
+
+	sx = width - h_ofs;
+	sy = height - v_ofs;
+
+	sc->real_width = sx;
+	sc->real_height = sy;
+
+	if (sx <= 0 || sy <= 0) {
+		err("invalid source size\n");
+		ret = -EINVAL;
+		goto err_size;
+	}
+
+	s3c_fimc_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor);
+	s3c_fimc_get_scaler_factor(sy, ty, &sc->pre_vratio, &sc->vfactor);
+
+	if (IS_PREVIEW(ctrl) && (sx / sc->pre_hratio > sc->line_length))
+		info("line buffer size overflow\n");
+
+	sc->pre_dst_width = sx / sc->pre_hratio;
+	sc->pre_dst_height = sy / sc->pre_vratio;
+
+	sc->main_hratio = (sx << 8) / (tx << sc->hfactor);
+	sc->main_vratio = (sy << 8) / (ty << sc->vfactor);
+
+	sc->scaleup_h = (tx >= sx) ? 1 : 0;
+	sc->scaleup_v = (ty >= sy) ? 1 : 0;
+
+	s3c_fimc_set_prescaler(ctrl);
+	s3c_fimc_set_scaler(ctrl);
+
+	return 0;
+
+err_size:
+	return ret;
+}
+
+/* CAUTION: many sequence dependencies */
+void s3c_fimc_start_dma(struct s3c_fimc_control *ctrl)
+{
+	s3c_fimc_set_input_path(ctrl);
+
+	if (ctrl->in_type == PATH_IN_DMA) {
+		s3c_fimc_set_input_address(ctrl);
+		s3c_fimc_set_input_dma(ctrl);
+	} else {
+		s3c_fimc_set_source_format(ctrl);
+		s3c_fimc_set_window_offset(ctrl);
+		s3c_fimc_set_polarity(ctrl);
+	}
+
+	s3c_fimc_set_scaler_info(ctrl);
+	s3c_fimc_set_target_format(ctrl);
+	s3c_fimc_set_output_path(ctrl);
+
+	if (ctrl->out_type == PATH_OUT_DMA) {
+		s3c_fimc_set_output_address(ctrl);
+		s3c_fimc_set_output_dma(ctrl);
+	}
+
+	if (!ctrl->scaler.bypass)
+		s3c_fimc_start_scaler(ctrl);
+
+	s3c_fimc_enable_capture(ctrl);
+
+	if (ctrl->in_type == PATH_IN_DMA)
+		s3c_fimc_start_input_dma(ctrl);
+}
+
+void s3c_fimc_stop_dma(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->in_type == PATH_IN_DMA)
+		s3c_fimc_stop_input_dma(ctrl);
+
+	s3c_fimc_stop_scaler(ctrl);
+	s3c_fimc_disable_capture(ctrl);
+	s3c_fimc_wait_frame_end(ctrl);
+}
+
+void s3c_fimc_restart_dma(struct s3c_fimc_control *ctrl)
+{
+	s3c_fimc_stop_dma(ctrl);
+	s3c_fimc_start_dma(ctrl);
+}
+
+void s3c_fimc_change_resolution(struct s3c_fimc_control *ctrl,
+					enum s3c_fimc_cam_res_t res)
+{
+	struct s3c_fimc_camera *cam = ctrl->in_cam;
+
+	s3c_fimc_stop_scaler(ctrl);
+	s3c_fimc_i2c_command(ctrl, I2C_CAM_RESOLUTION, res);
+
+	switch (res) {
+	case CAM_RES_QSVGA:
+		info("resolution changed to QSVGA (400x300) mode\n");
+		cam->width = 400;
+		cam->height = 300;
+		break;
+
+	case CAM_RES_VGA:
+		info("resolution changed to VGA (640x480) mode\n");
+		cam->width = 640;
+		cam->height = 480;
+		break;
+
+	case CAM_RES_SVGA:
+		info("resolution changed to SVGA (800x600) mode\n");
+		cam->width = 800;
+		cam->height = 600;
+		break;
+
+	case CAM_RES_SXGA:
+		info("resolution changed to SXGA (1280x1024) mode\n");
+		cam->width = 1280;
+		cam->height = 1024;
+		break;
+
+	case CAM_RES_UXGA:
+		info("resolution changed to UXGA (1600x1200) mode\n");
+		cam->width = 1600;
+		cam->height = 1200;
+		break;
+
+	case CAM_RES_DEFAULT:	/* fall through */
+	case CAM_RES_MAX:
+		/* nothing to do */
+		break;
+	}
+}
+
+int s3c_fimc_check_zoom(struct s3c_fimc_control *ctrl, int type)
+{
+	struct s3c_fimc_scaler *sc = &ctrl->scaler;
+	struct s3c_fimc_window_offset *offset = &ctrl->in_cam->offset;
+	int sx = sc->real_width;
+	int zoom_pixels = S3C_FIMC_ZOOM_PIXELS * 2;
+	int zoom_size = sx - (offset->h1 + offset->h2 + zoom_pixels);
+	
+	switch (type) {
+	case V4L2_CID_ZOOM_IN:
+		if (zoom_size / sc->pre_hratio > sc->line_length) {
+			err("already reached to zoom-in boundary\n");
+			return -EINVAL;
+		}
+
+		sc->zoom_depth++;
+		break;
+
+	case V4L2_CID_ZOOM_OUT:
+		if (sc->zoom_depth > 0)
+			sc->zoom_depth--;
+		else {
+			err("already reached to zoom-out boundary\n");
+			return -EINVAL;
+		}
+
+		break;
+	}
+
+	return 0;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc_core.c linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc_core.c
--- linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc_core.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc_core.c	2010-04-21 06:37:12.000000000 +0200
@@ -0,0 +1,588 @@
+/* linux/drivers/media/video/samsung/s3c_fimc_core.c
+ *
+ * Core file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/clk.h>
+#include <linux/i2c.h>
+#include <linux/mutex.h>
+#include <linux/poll.h>
+#include <linux/wait.h>
+#include <linux/fs.h>
+#include <linux/irq.h>
+#include <linux/mm.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+
+#include <asm/io.h>
+#include <asm/memory.h>
+#include <plat/clock.h>
+#include <plat/media.h>
+
+#include "s3c_fimc.h"
+
+static struct s3c_fimc_camera test_pattern = {
+	.id 		= S3C_FIMC_TPID,
+	.type		= CAM_TYPE_ITU,
+	.mode		= ITU_601_YCBCR422_8BIT,
+	.order422	= CAM_ORDER422_8BIT_YCBYCR,
+	.clockrate	= 0,
+	.width		= 640,
+	.height		= 480,
+	.offset		= {
+		.h1 = 0,
+		.h2 = 0,
+		.v1 = 0,
+		.v2 = 0,
+	},
+
+	.polarity	= {
+		.pclk	= 0,
+		.vsync	= 0,
+		.href	= 0,
+		.hsync	= 0,
+	},
+
+	.initialized	= 0,	
+};
+
+struct s3c_fimc_config s3c_fimc;
+
+struct s3c_platform_fimc *to_fimc_plat(struct device *dev)
+{
+	struct platform_device *pdev = to_platform_device(dev);
+
+	return (struct s3c_platform_fimc *) pdev->dev.platform_data;
+}
+
+u8 s3c_fimc_i2c_read(struct i2c_client *client, u8 subaddr)
+{
+	u8 buf[1];
+	struct i2c_msg msg = {client->addr, 0, 1, buf};
+	int ret;
+	
+	buf[0] = subaddr;
+
+	ret = i2c_transfer(client->adapter, &msg, 1) == 1 ? 0 : -EIO;
+	if (ret == -EIO) {
+		err("i2c transfer error\n");
+		return -EIO;
+	}
+
+	msg.flags = I2C_M_RD;
+	ret = i2c_transfer(client->adapter, &msg, 1) == 1 ? 0 : -EIO;
+
+	return buf[0];
+}
+
+int s3c_fimc_i2c_write(struct i2c_client *client, u8 subaddr, u8 val)
+{
+	u8 buf[2];
+	struct i2c_msg msg = {client->addr, 0, 2, buf};
+
+	buf[0] = subaddr;
+	buf[1] = val;
+
+	return i2c_transfer(client->adapter, &msg, 1) == 1 ? 0 : -EIO;
+}
+
+void s3c_fimc_i2c_command(struct s3c_fimc_control *ctrl, u32 cmd, int arg)
+{
+	struct i2c_client *client = ctrl->in_cam->client;
+
+	if (client)
+		client->driver->command(client, cmd, (void *) arg);
+	else
+		err("i2c client is not registered\n");
+}
+
+void s3c_fimc_register_camera(struct s3c_fimc_camera *cam)
+{
+	int i;
+	static int once=0;	
+	//printk("[CAM]s3c_fimc_register_camera,cam->id=%d\n",cam->id);	
+	s3c_fimc.camera[cam->id] = cam;
+
+	for (i = 0; i < S3C_FIMC_MAX_CTRLS; i++) {
+		s3c_fimc.ctrl[i].in_cam = s3c_fimc.camera[cam->id];
+	}
+	clk_disable(s3c_fimc.cam_clock);
+	clk_set_rate(s3c_fimc.cam_clock, cam->clockrate);
+	clk_enable(s3c_fimc.cam_clock);
+
+	s3c_fimc_reset_camera();//comment by ur better
+	
+
+	//printk("[CAM]Reset and init reg!1cam->client=%x\n",cam->client);
+	/*printk("[CAM]Reset and init reg!1\n");		
+	if((once==0)&&(cam->client!=0))
+	{
+	printk("[CAM]Reset and init reg!2\n");	
+	//s3c_fimc_reset_camera();	
+	for (i = 0; i < S3C_FIMC_MAX_CTRLS; i++) {
+		s3c_fimc_init_camera(&s3c_fimc.ctrl[i]);
+	}
+	once = 1;
+	}
+	printk("[CAM]Reset and init reg!3\n");	
+	*/
+
+}
+
+void s3c_fimc_unregister_camera(struct s3c_fimc_camera *cam)
+{
+	int i = 0;
+
+	for (i = 0; i < S3C_FIMC_MAX_CTRLS; i++) {
+		if (s3c_fimc.ctrl[i].in_cam == cam)
+			s3c_fimc.ctrl[i].in_cam = NULL;
+	}
+	
+	s3c_fimc.camera[cam->id] = NULL;
+}
+
+void s3c_fimc_set_active_camera(struct s3c_fimc_control *ctrl, int id)
+{
+	//printk("[CAM]s3c_fimc_set_active_camera,id=%d\n",id);	
+	ctrl->in_cam = s3c_fimc.camera[id];
+	//printk("ctrl->in_cam=%x,s3c_fimc.camera[id]=%x.\n",ctrl->in_cam,s3c_fimc.camera[id]);
+	
+	if (ctrl->in_cam && id < S3C_FIMC_TPID)
+		s3c_fimc_select_camera(ctrl);
+}
+
+void s3c_fimc_init_camera(struct s3c_fimc_control *ctrl)
+{
+	//printk("[CAM]s3c_fimc_init_camera");	
+	struct s3c_fimc_camera *cam = ctrl->in_cam;
+	
+	if (cam && cam->id != S3C_FIMC_TPID && !cam->initialized) {
+		//printk("[CAM]I2C_CAM_INIT.\n");
+		s3c_fimc_i2c_command(ctrl, I2C_CAM_INIT, 0);
+		s3c_fimc_change_resolution(ctrl, CAM_RES_DEFAULT);
+		cam->initialized = 1;
+	}
+}
+
+static irqreturn_t s3c_fimc_irq(int irq, void *dev_id)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) dev_id;
+
+	s3c_fimc_clear_irq(ctrl);
+	s3c_fimc_check_fifo(ctrl);
+
+	if (IS_CAPTURE(ctrl)) {
+		dev_dbg(ctrl->dev, "irq is in capture state\n");
+
+		if (s3c_fimc_frame_handler(ctrl) == S3C_FIMC_FRAME_SKIP)
+			return IRQ_HANDLED;
+
+		wake_up_interruptible(&ctrl->waitq);
+	}
+
+	return IRQ_HANDLED;
+}
+
+static
+struct s3c_fimc_control *s3c_fimc_register_controller(struct platform_device *pdev)
+{
+	struct s3c_platform_fimc *pdata;
+	struct s3c_fimc_control *ctrl;
+	struct resource *res;
+	int i = S3C_FIMC_MAX_CTRLS - 1;
+	int id = pdev->id;
+
+	pdata = to_fimc_plat(&pdev->dev);
+
+	//printk("[CAM]s3c_fimc_register_controller.id=%d\n",id);
+
+	ctrl = &s3c_fimc.ctrl[id];
+	ctrl->id = id;
+	ctrl->dev = &pdev->dev;
+	ctrl->vd = &s3c_fimc_video_device[id];
+	ctrl->rot90 = 0;
+	ctrl->vd->minor = id;
+	ctrl->out_frame.nr_frames = pdata->nr_frames;
+	ctrl->out_frame.skip_frames = 0;
+	ctrl->scaler.line_length = pdata->line_length;
+
+	sprintf(ctrl->name, "%s%d", S3C_FIMC_NAME, id);
+	strcpy(ctrl->vd->name, ctrl->name);
+
+	ctrl->open_lcdfifo = s3cfb_enable_local;
+	ctrl->close_lcdfifo = s3cfb_enable_dma;
+
+	atomic_set(&ctrl->in_use, 0);
+	mutex_init(&ctrl->lock);
+	init_waitqueue_head(&ctrl->waitq);
+
+	/* get resource for io memory */
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (!res) {
+		err("failed to get io memory region\n");
+		return NULL;
+	}
+
+	if (!pdata->shared_io) {
+		/* request mem region */
+		res = request_mem_region(res->start, res->end - res->start + 1, pdev->name);
+		if (!res) {
+			err("failed to request io memory region\n");
+			return NULL;
+		}
+
+		/* ioremap for register block */
+		ctrl->regs = ioremap(res->start, res->end - res->start + 1);
+	} else {
+		while (i >= 0 && ctrl->regs == NULL) {
+			ctrl->regs = s3c_fimc.ctrl[i].regs;
+			i--;
+		}
+	}
+
+	if (!ctrl->regs) {
+		err("failed to remap io region\n");
+		return NULL;
+	}
+
+	/* irq */
+	ctrl->irq = platform_get_irq(pdev, 0);
+	if (request_irq(ctrl->irq, s3c_fimc_irq, IRQF_DISABLED, ctrl->name, ctrl))
+		err("request_irq failed\n");
+
+	s3c_fimc_reset(ctrl);
+	s3c_fimc_set_active_camera(ctrl, 0);//note: only one camera type
+
+	return ctrl;
+}
+
+static int s3c_fimc_unregister_controller(struct platform_device *pdev)
+{
+	struct s3c_fimc_control *ctrl;
+	struct s3c_platform_fimc *pdata;
+	int id = pdev->id;
+
+	ctrl = &s3c_fimc.ctrl[id];
+
+	s3c_fimc_free_output_memory(&ctrl->out_frame);
+
+	pdata = to_fimc_plat(ctrl->dev);
+
+	if (!pdata->shared_io)
+		iounmap(ctrl->regs);
+
+	memset(ctrl, 0, sizeof(*ctrl));
+	
+	return 0;
+}
+
+static int s3c_fimc_mmap(struct file* filp, struct vm_area_struct *vma)
+{
+	struct s3c_fimc_control *ctrl = filp->private_data;
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+
+	u32 size = vma->vm_end - vma->vm_start;
+	u32 pfn, total_size = frame->buf_size;
+
+	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+	vma->vm_flags |= VM_RESERVED;
+
+	/* page frame number of the address for a source frame to be stored at. */
+	pfn = __phys_to_pfn(frame->addr[vma->vm_pgoff].phys_y);
+
+	if (size > total_size) {
+		err("the size of mapping is too big\n");
+		return -EINVAL;
+	}
+
+	if ((vma->vm_flags & VM_WRITE) && !(vma->vm_flags & VM_SHARED)) {
+		err("writable mapping must be shared\n");
+		return -EINVAL;
+	}
+
+	if (remap_pfn_range(vma, vma->vm_start, pfn, size, vma->vm_page_prot)) {
+		err("mmap fail\n");
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+static u32 s3c_fimc_poll(struct file *filp, poll_table *wait)
+{
+	struct s3c_fimc_control *ctrl = filp->private_data;
+	u32 mask = 0;
+
+	poll_wait(filp, &ctrl->waitq, wait);
+
+	if (IS_IRQ_HANDLING(ctrl))
+		mask = POLLIN | POLLRDNORM;
+
+	FSET_STOP(ctrl);
+
+	return mask;
+}
+
+static
+ssize_t s3c_fimc_read(struct file *filp, char *buf, size_t count, loff_t *pos)
+{
+	struct s3c_fimc_control *ctrl = filp->private_data;
+	size_t end;
+
+	if (IS_CAPTURE(ctrl)) {
+		if (wait_event_interruptible(ctrl->waitq, IS_IRQ_HANDLING(ctrl)))
+				return -ERESTARTSYS;
+
+		FSET_STOP(ctrl);
+	}
+	//printk("[CAM]ctrl->out_frame.buf_size=%d,count=%d.\n",ctrl->out_frame.buf_size,count);
+
+	end = min_t(size_t, ctrl->out_frame.buf_size, count);
+
+	if (copy_to_user(buf, s3c_fimc_get_current_frame(ctrl), end))
+		return -EFAULT;
+
+	return end;
+}
+
+static
+ssize_t s3c_fimc_write(struct file *filp, const char *b, size_t c, loff_t *offset)
+{
+	return 0;
+}
+
+static int s3c_fimc_open(struct inode *inode, struct file *filp)
+{
+	struct s3c_fimc_control *ctrl;
+	int id, ret;
+
+	id = MINOR(inode->i_rdev);
+	//printk("[CAM]s3c_fimc_open.id=%d\n",id);
+	ctrl = &s3c_fimc.ctrl[id];
+	//printk("ctrl->in_cam=%x",ctrl->in_cam);
+	
+	//printk("[CAM]ctrl->in_cam->width=%d\n",ctrl->in_cam->width);
+
+	mutex_lock(&ctrl->lock);
+
+	if (atomic_read(&ctrl->in_use)) {
+		ret = -EBUSY;
+		goto resource_busy;
+	} else {
+		atomic_inc(&ctrl->in_use);
+		s3c_fimc_reset(ctrl);
+		filp->private_data = ctrl;
+	}
+
+	mutex_unlock(&ctrl->lock);
+
+	return 0;
+
+resource_busy:
+	mutex_unlock(&ctrl->lock);
+	return ret;
+}
+
+static int s3c_fimc_release(struct inode *inode, struct file *filp)
+{
+	struct s3c_fimc_control *ctrl;
+	int id;
+
+	id = MINOR(inode->i_rdev);
+	ctrl = &s3c_fimc.ctrl[id];
+
+	mutex_lock(&ctrl->lock);
+
+	atomic_dec(&ctrl->in_use);
+	filp->private_data = NULL;
+
+	mutex_unlock(&ctrl->lock);
+
+	return 0;
+}
+
+static const struct file_operations s3c_fimc_fops = {
+	.owner = THIS_MODULE,
+	.open = s3c_fimc_open,
+	.release = s3c_fimc_release,
+	.ioctl = video_ioctl2,
+	.read = s3c_fimc_read,
+	.write = s3c_fimc_write,
+	.mmap = s3c_fimc_mmap,
+	.poll = s3c_fimc_poll,
+};
+
+static void s3c_fimc_vdev_release(struct video_device *vdev)
+{
+	kfree(vdev);
+}
+
+struct video_device s3c_fimc_video_device[S3C_FIMC_MAX_CTRLS] = {
+	[0] = {
+		.vfl_type = VID_TYPE_OVERLAY | VID_TYPE_CAPTURE | VID_TYPE_CLIPPING | VID_TYPE_SCALES,
+		.fops = &s3c_fimc_fops,
+		.ioctl_ops = &s3c_fimc_v4l2_ops,
+		.release  = s3c_fimc_vdev_release,
+	},
+	[1] = {
+		.vfl_type = VID_TYPE_OVERLAY | VID_TYPE_CAPTURE | VID_TYPE_CLIPPING | VID_TYPE_SCALES,
+		.fops = &s3c_fimc_fops,
+		.ioctl_ops = &s3c_fimc_v4l2_ops,
+		.release  = s3c_fimc_vdev_release,
+	},
+	[2] = {
+		.vfl_type = VID_TYPE_OVERLAY | VID_TYPE_CAPTURE | VID_TYPE_CLIPPING | VID_TYPE_SCALES,
+		.fops = &s3c_fimc_fops,
+		.ioctl_ops = &s3c_fimc_v4l2_ops,
+		.release  = s3c_fimc_vdev_release,
+	},
+};
+
+static int s3c_fimc_init_global(struct platform_device *pdev)
+{
+	/* camera clock */
+	s3c_fimc.cam_clock = clk_get(&pdev->dev, "sclk_cam");
+	if (IS_ERR(s3c_fimc.cam_clock)) {
+		err("failed to get camera clock source\n");
+		return -EINVAL;
+	}
+
+	s3c_fimc.dma_start = s3c_get_media_memory(S3C_MDEV_FIMC);
+	s3c_fimc.dma_total = s3c_get_media_memsize(S3C_MDEV_FIMC);
+	s3c_fimc.dma_current = s3c_fimc.dma_start;
+
+	/* test pattern */
+	s3c_fimc.camera[test_pattern.id] = &test_pattern;
+
+	return 0;
+}
+
+static int s3c_fimc_probe(struct platform_device *pdev)
+{
+	struct s3c_platform_fimc *pdata;
+	struct s3c_fimc_control *ctrl;
+	struct clk *srclk;
+	int ret;
+
+	ctrl = s3c_fimc_register_controller(pdev);
+	if (!ctrl) {
+		err("cannot register fimc controller\n");
+		goto err_fimc;
+	}
+
+	pdata = to_fimc_plat(&pdev->dev);
+	if (pdata->cfg_gpio)
+		pdata->cfg_gpio(pdev);
+
+	/* fimc source clock */
+	srclk = clk_get(&pdev->dev, pdata->srclk_name);
+	if (IS_ERR(srclk)) {
+		err("failed to get source clock of fimc\n");
+		goto err_clk_io;
+	}
+
+	/* fimc clock */
+	ctrl->clock = clk_get(&pdev->dev, pdata->clk_name);
+	if (IS_ERR(ctrl->clock)) {
+		err("failed to get fimc clock source\n");
+		goto err_clk_io;
+	}
+
+	/* set parent clock */
+	if (ctrl->clock->set_parent)
+		ctrl->clock->set_parent(ctrl->clock, srclk);
+
+	/* set clockrate for FIMC interface block */
+	if (ctrl->clock->set_rate)
+		ctrl->clock->set_rate(ctrl->clock, pdata->clockrate);
+
+	clk_enable(ctrl->clock);
+
+	/* things to initialize once */
+	if (ctrl->id == 0) {
+		ret = s3c_fimc_init_global(pdev);
+		if (ret)
+			goto err_global;
+	}
+
+	ret = video_register_device(ctrl->vd, VFL_TYPE_GRABBER, ctrl->id);
+	if (ret) {
+		err("cannot register video driver\n");
+		goto err_video;
+	}
+
+	info("controller %d registered successfully\n", ctrl->id);
+
+	return 0;
+
+err_video:
+	clk_put(s3c_fimc.cam_clock);
+
+err_global:
+	clk_disable(ctrl->clock);
+	clk_put(ctrl->clock);
+
+err_clk_io:
+	s3c_fimc_unregister_controller(pdev);
+
+err_fimc:
+	return -EINVAL;
+	
+}
+
+static int s3c_fimc_remove(struct platform_device *pdev)
+{
+	s3c_fimc_unregister_controller(pdev);
+
+	return 0;
+}
+
+int s3c_fimc_suspend(struct platform_device *dev, pm_message_t state)
+{
+	return 0;
+}
+
+int s3c_fimc_resume(struct platform_device *dev)
+{
+	return 0;
+}
+
+static struct platform_driver s3c_fimc_driver = {
+	.probe		= s3c_fimc_probe,
+	.remove		= s3c_fimc_remove,
+	.suspend	= s3c_fimc_suspend,
+	.resume		= s3c_fimc_resume,
+	.driver		= {
+		.name	= "s3c-fimc",
+		.owner	= THIS_MODULE,
+	},
+};
+
+static int s3c_fimc_register(void)
+{
+	platform_driver_register(&s3c_fimc_driver);
+
+	return 0;
+}
+
+static void s3c_fimc_unregister(void)
+{
+	platform_driver_unregister(&s3c_fimc_driver);
+}
+
+module_init(s3c_fimc_register);
+module_exit(s3c_fimc_unregister);
+	
+MODULE_AUTHOR("Jinsung, Yang <jsgood.yang@samsung.com>");
+MODULE_DESCRIPTION("Samsung Camera Interface (FIMC) driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc_v4l2.c linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc_v4l2.c
--- linux-2.6.28/drivers/media/video/samsung/fimc/s3c_fimc_v4l2.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s3c_fimc_v4l2.c	2010-04-21 06:38:01.000000000 +0200
@@ -0,0 +1,763 @@
+/* linux/drivers/media/video/samsung/s3c_fimc_v4l2.c
+ *
+ * V4L2 interface support file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/fs.h>
+#include <linux/errno.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+#include <linux/dma-mapping.h>
+#include <linux/videodev2.h>
+#include <media/v4l2-ioctl.h>
+
+#include "s3c_fimc.h"
+
+static struct v4l2_input s3c_fimc_input_types[] = {
+	{
+		.index		= 0,
+		.name		= "External Camera Input",
+		.type		= V4L2_INPUT_TYPE_CAMERA,
+		.audioset	= 1,
+		.tuner		= 0,
+		.std		= V4L2_STD_PAL_BG | V4L2_STD_NTSC_M,
+		.status		= 0,
+	}, 
+	{
+		.index		= 1,
+		.name		= "Memory Input",
+		.type		= V4L2_INPUT_TYPE_MEMORY,
+		.audioset	= 2,
+		.tuner		= 0,
+		.std		= V4L2_STD_PAL_BG | V4L2_STD_NTSC_M,
+		.status		= 0,
+	}
+};
+
+static struct v4l2_output s3c_fimc_output_types[] = {
+	{
+		.index		= 0,
+		.name		= "Memory Output",
+		.type		= V4L2_OUTPUT_TYPE_MEMORY,
+		.audioset	= 0,
+		.modulator	= 0, 
+		.std		= 0,
+	}, 
+	{
+		.index		= 1,
+		.name		= "LCD FIFO Output",
+		.type		= V4L2_OUTPUT_TYPE_LCDFIFO,
+		.audioset	= 0,
+		.modulator	= 0,
+		.std		= 0,
+	} 
+};
+
+const static struct v4l2_fmtdesc s3c_fimc_capture_formats[] = {
+	{
+		.index		= 0,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PLANAR,
+		.description	= "4:2:0, planar, Y-Cb-Cr",
+		.pixelformat	= V4L2_PIX_FMT_YUV420,
+	},
+	{
+		.index		= 1,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PLANAR,
+		.description	= "4:2:2, planar, Y-Cb-Cr",
+		.pixelformat	= V4L2_PIX_FMT_YUV422P,
+
+	},	
+	{
+		.index		= 2,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PACKED,
+		.description	= "4:2:2, packed, YCBYCR",
+		.pixelformat	= V4L2_PIX_FMT_YUYV,
+	},
+	{
+		.index		= 3,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PACKED,
+		.description	= "4:2:2, packed, CBYCRY",
+		.pixelformat	= V4L2_PIX_FMT_UYVY,
+	}
+};
+
+const static struct v4l2_fmtdesc s3c_fimc_overlay_formats[] = {
+	{
+		.index		= 0,
+		.type		= V4L2_BUF_TYPE_VIDEO_OVERLAY,
+		.flags		= FORMAT_FLAGS_PACKED,
+		.description	= "16 bpp RGB, le",
+		.pixelformat	= V4L2_PIX_FMT_RGB565,		
+	},
+	{
+		.index		= 1,
+		.type		= V4L2_BUF_TYPE_VIDEO_OVERLAY,
+		.flags		= FORMAT_FLAGS_PACKED,
+		.description	= "24 bpp RGB, le",
+		.pixelformat	= V4L2_PIX_FMT_RGB24,		
+	},
+};
+
+#define S3C_FIMC_MAX_INPUT_TYPES	ARRAY_SIZE(s3c_fimc_input_types)
+#define S3C_FIMC_MAX_OUTPUT_TYPES	ARRAY_SIZE(s3c_fimc_output_types)
+#define S3C_FIMC_MAX_CAPTURE_FORMATS	ARRAY_SIZE(s3c_fimc_capture_formats)
+#define S3C_FIMC_MAX_OVERLAY_FORMATS	ARRAY_SIZE(s3c_fimc_overlay_formats)
+
+static int s3c_fimc_v4l2_querycap(struct file *filp, void *fh,
+					struct v4l2_capability *cap)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	strcpy(cap->driver, "Samsung FIMC Driver");
+	strlcpy(cap->card, ctrl->vd->name, sizeof(cap->card));
+	sprintf(cap->bus_info, "FIMC AHB-bus");
+
+	cap->version = 0;
+	cap->capabilities = (V4L2_CAP_VIDEO_OVERLAY | \
+				V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_fbuf(struct file *filp, void *fh,
+					struct v4l2_framebuffer *fb)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	*fb = ctrl->v4l2.frmbuf;
+
+	fb->base = ctrl->v4l2.frmbuf.base;
+	fb->capability = V4L2_FBUF_CAP_LIST_CLIPPING;
+
+	fb->fmt.pixelformat  = ctrl->v4l2.frmbuf.fmt.pixelformat;
+	fb->fmt.width = ctrl->v4l2.frmbuf.fmt.width;
+	fb->fmt.height = ctrl->v4l2.frmbuf.fmt.height;
+	fb->fmt.bytesperline = ctrl->v4l2.frmbuf.fmt.bytesperline;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_fbuf(struct file *filp, void *fh,
+					struct v4l2_framebuffer *fb)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	struct v4l2_framebuffer *frmbuf = &(ctrl->v4l2.frmbuf);
+	int i, bpp;
+
+	for (i = 0; i < S3C_FIMC_MAX_OVERLAY_FORMATS; i++) {
+		if (s3c_fimc_overlay_formats[i].pixelformat == fb->fmt.pixelformat)
+			break;
+	}
+
+	if (i == S3C_FIMC_MAX_OVERLAY_FORMATS)
+		return -EINVAL;
+
+	bpp = s3c_fimc_set_output_frame(ctrl, &fb->fmt);
+
+	frmbuf->base  = fb->base;
+	frmbuf->flags = fb->flags;
+	frmbuf->capability = fb->capability;
+	frmbuf->fmt.width = fb->fmt.width;
+	frmbuf->fmt.height = fb->fmt.height;
+	frmbuf->fmt.field = fb->fmt.field;
+	frmbuf->fmt.pixelformat = fb->fmt.pixelformat;
+	frmbuf->fmt.bytesperline = fb->fmt.width * bpp / 8;
+	frmbuf->fmt.sizeimage = fb->fmt.width * frmbuf->fmt.bytesperline;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_enum_fmt_vid_cap(struct file *filp, void *fh,
+					struct v4l2_fmtdesc *f)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	int index = f->index;
+
+	if (index >= S3C_FIMC_MAX_CAPTURE_FORMATS)
+		return -EINVAL;
+
+	memset(f, 0, sizeof(*f));
+	memcpy(f, ctrl->v4l2.fmtdesc + index, sizeof(*f));
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_fmt_vid_cap(struct file *filp, void *fh,
+					struct v4l2_format *f)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	int size = sizeof(struct v4l2_pix_format);
+
+	memset(&f->fmt.pix, 0, size);
+	memcpy(&f->fmt.pix, &(ctrl->v4l2.frmbuf.fmt), size);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_fmt_vid_cap(struct file *filp, void *fh,
+					struct v4l2_format *f)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	ctrl->v4l2.frmbuf.fmt = f->fmt.pix;
+
+	if (f->fmt.pix.priv == V4L2_FMT_IN)
+		s3c_fimc_set_input_frame(ctrl, &f->fmt.pix);
+	else
+		s3c_fimc_set_output_frame(ctrl, &f->fmt.pix);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_try_fmt_vid_cap(struct file *filp, void *fh,
+					  struct v4l2_format *f)
+{
+	return 0;
+}
+
+static int s3c_fimc_v4l2_try_fmt_overlay(struct file *filp, void *fh,
+					  struct v4l2_format *f)
+{
+	return 0;
+}
+
+static int s3c_fimc_v4l2_overlay(struct file *filp, void *fh, unsigned int i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	//printk("[CAM]s3c_fimc_v4l2_overlay.\n");
+
+	if (i) {
+		if (ctrl->in_type != PATH_IN_DMA)
+			s3c_fimc_init_camera(ctrl);
+
+		//printk("[CAM]s3c_fimc_init_camera(ctrl);.\n");
+		FSET_PREVIEW(ctrl);
+		//printk("[CAM]FSET_PREVIEW(ctrl);.\n");
+		s3c_fimc_start_dma(ctrl);
+		//printk("[CAM]s3c_fimc_start_dma(ctrl);.\n");
+	} else {
+		s3c_fimc_stop_dma(ctrl);
+
+		if (ctrl->out_type != PATH_OUT_LCDFIFO) {
+			s3c_fimc_free_output_memory(&ctrl->out_frame);
+			s3c_fimc_set_output_address(ctrl);
+		}
+	}
+	
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_ctrl(struct file *filp, void *fh,
+					struct v4l2_control *c)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+
+	switch (c->id) {
+	case V4L2_CID_OUTPUT_ADDR:
+		c->value = frame->addr[c->value].phys_y;
+		break;
+
+	default:
+		err("invalid control id: %d\n", c->id);
+		return -EINVAL;
+	}
+	
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_ctrl(struct file *filp, void *fh,
+					struct v4l2_control *c)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	struct s3c_fimc_window_offset *offset = &ctrl->in_cam->offset;
+
+	switch (c->id) {
+	case V4L2_CID_EFFECT_ORIGINAL:
+		frame->effect.type = EFFECT_ORIGINAL;
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_EFFECT_NEGATIVE:
+		frame->effect.type = EFFECT_NEGATIVE;
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_EFFECT_EMBOSSING:
+		frame->effect.type = EFFECT_EMBOSSING;
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_EFFECT_ARTFREEZE:
+		frame->effect.type = EFFECT_ARTFREEZE;
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_EFFECT_SILHOUETTE:
+		frame->effect.type = EFFECT_SILHOUETTE;
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_EFFECT_ARBITRARY:
+		frame->effect.type = EFFECT_ARBITRARY;
+		frame->effect.pat_cb = PAT_CB(c->value);
+		frame->effect.pat_cr = PAT_CR(c->value);
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_ORIGINAL:
+		frame->flip = FLIP_ORIGINAL;
+		ctrl->rot90 = 0;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_HFLIP:
+		frame->flip = FLIP_X_AXIS;
+		ctrl->rot90 = 0;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_VFLIP:
+		frame->flip = FLIP_Y_AXIS;
+		ctrl->rot90 = 0;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_180:
+		frame->flip = FLIP_XY_AXIS;
+		ctrl->rot90 = 0;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_90:
+		frame->flip = FLIP_ORIGINAL;
+		ctrl->rot90 = 1;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_270:
+		frame->flip = FLIP_XY_AXIS;
+		ctrl->rot90 = 1;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_90_HFLIP:
+		frame->flip = FLIP_X_AXIS;
+		ctrl->rot90 = 1;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_90_VFLIP:
+		frame->flip = FLIP_Y_AXIS;
+		ctrl->rot90 = 1;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ZOOM_IN:
+		if (s3c_fimc_check_zoom(ctrl, c->id) == 0) {
+			offset->h1 += S3C_FIMC_ZOOM_PIXELS;
+			offset->h2 += S3C_FIMC_ZOOM_PIXELS;
+			offset->v1 += S3C_FIMC_ZOOM_PIXELS;
+			offset->v2 += S3C_FIMC_ZOOM_PIXELS;
+			s3c_fimc_restart_dma(ctrl);
+		}
+
+		break;
+
+	case V4L2_CID_ZOOM_OUT:
+		if (s3c_fimc_check_zoom(ctrl, c->id) == 0) {
+			offset->h1 -= S3C_FIMC_ZOOM_PIXELS;
+			offset->h2 -= S3C_FIMC_ZOOM_PIXELS;
+			offset->v1 -= S3C_FIMC_ZOOM_PIXELS;
+			offset->v2 -= S3C_FIMC_ZOOM_PIXELS;
+			s3c_fimc_restart_dma(ctrl);
+		}
+
+		break;
+
+	case V4L2_CID_AUTO_WHITE_BALANCE:
+		s3c_fimc_i2c_command(ctrl, I2C_CAM_WB, c->value);
+		break;
+
+	case V4L2_CID_ACTIVE_CAMERA:
+		s3c_fimc_set_active_camera(ctrl, c->value);
+		s3c_fimc_i2c_command(ctrl, I2C_CAM_WB, WB_AUTO);
+		break;
+
+	case V4L2_CID_TEST_PATTERN:
+		s3c_fimc_set_active_camera(ctrl, S3C_FIMC_TPID);
+		s3c_fimc_set_test_pattern(ctrl, c->value);
+		break;
+
+	case V4L2_CID_NR_FRAMES:
+		s3c_fimc_set_nr_frames(ctrl, c->value);
+		break;
+
+	case V4L2_CID_INPUT_ADDR:
+		s3c_fimc_alloc_input_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_fimc_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_INPUT_ADDR_Y:
+	case V4L2_CID_INPUT_ADDR_RGB:
+		s3c_fimc_alloc_y_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_fimc_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_INPUT_ADDR_CB:	/* fall through */
+	case V4L2_CID_INPUT_ADDR_CBCR:
+		s3c_fimc_alloc_cb_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_fimc_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_INPUT_ADDR_CR:
+		s3c_fimc_alloc_cr_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_fimc_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_RESET:
+		ctrl->rot90 = 0;
+		ctrl->in_frame.flip = FLIP_ORIGINAL;
+		ctrl->out_frame.flip = FLIP_ORIGINAL;
+		ctrl->out_frame.effect.type = EFFECT_ORIGINAL;
+		ctrl->scaler.bypass = 0;
+		s3c_fimc_reset(ctrl);
+		break;
+
+	case V4L2_CID_JPEG_INPUT:	/* fall through */
+	case V4L2_CID_SCALER_BYPASS:
+		ctrl->scaler.bypass = 1;
+		break;
+
+	default:
+		err("invalid control id: %d\n", c->id);
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_streamon(struct file *filp, void *fh,
+					enum v4l2_buf_type i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	
+	if (i != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+		return -EINVAL;
+
+	if (ctrl->in_type != PATH_IN_DMA)
+		s3c_fimc_init_camera(ctrl);
+
+	ctrl->out_frame.skip_frames = 0;
+	FSET_CAPTURE(ctrl);
+	FSET_IRQ_NORMAL(ctrl);
+	s3c_fimc_start_dma(ctrl);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_streamoff(struct file *filp, void *fh,
+					enum v4l2_buf_type i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	
+	/*if (i != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+	{
+		printk("[CAM]s3c_fimc_v4l2_streamoff return -1.\n");
+		return -EINVAL;
+	}*///FIXME! for H.264 encode
+
+	FSET_STOP(ctrl);
+	UNMASK_USAGE(ctrl);
+	UNMASK_IRQ(ctrl);
+
+	s3c_fimc_stop_dma(ctrl);
+	s3c_fimc_free_output_memory(&ctrl->out_frame);
+	s3c_fimc_set_output_address(ctrl);
+	printk("[CAM]s3c_fimc_v4l2_streamoff return 0.\n");
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_input(struct file *filp, void *fh,
+					unsigned int *i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	*i = ctrl->v4l2.input->index;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_input(struct file *filp, void *fh,
+					unsigned int i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (i >= S3C_FIMC_MAX_INPUT_TYPES)
+		return -EINVAL;
+
+	ctrl->v4l2.input = &s3c_fimc_input_types[i];
+
+	if (s3c_fimc_input_types[i].type == V4L2_INPUT_TYPE_CAMERA)
+		ctrl->in_type = PATH_IN_ITU_CAMERA;
+	else
+		ctrl->in_type = PATH_IN_DMA;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_output(struct file *filp, void *fh,
+					unsigned int *i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	*i = ctrl->v4l2.output->index;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_output(struct file *filp, void *fh,
+					unsigned int i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (i >= S3C_FIMC_MAX_OUTPUT_TYPES)
+		return -EINVAL;
+
+	ctrl->v4l2.output = &s3c_fimc_output_types[i];
+
+	if (s3c_fimc_output_types[i].type == V4L2_OUTPUT_TYPE_MEMORY)
+		ctrl->out_type = PATH_OUT_DMA;
+	else
+		ctrl->out_type = PATH_OUT_LCDFIFO;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_enum_input(struct file *filp, void *fh,
+					struct v4l2_input *i)
+{
+	if (i->index >= S3C_FIMC_MAX_INPUT_TYPES)
+		return -EINVAL;
+
+	memcpy(i, &s3c_fimc_input_types[i->index], sizeof(struct v4l2_input));
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_enum_output(struct file *filp, void *fh,
+					struct v4l2_output *o)
+{
+	if ((o->index) >= S3C_FIMC_MAX_OUTPUT_TYPES)
+		return -EINVAL;
+
+	memcpy(o, &s3c_fimc_output_types[o->index], sizeof(struct v4l2_output));
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_reqbufs(struct file *filp, void *fh,
+					struct v4l2_requestbuffers *b)
+{
+	if (b->memory != V4L2_MEMORY_MMAP) {
+		err("V4L2_MEMORY_MMAP is only supported\n");
+		return -EINVAL;
+	}
+
+	/* control user input */
+	if (b->count > 4)
+		b->count = 4;
+	else if (b->count < 1)
+		b->count = 1;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_querybuf(struct file *filp, void *fh,
+					struct v4l2_buffer *b)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	
+	if (b->type != V4L2_BUF_TYPE_VIDEO_OVERLAY && \
+		b->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+		return -EINVAL;
+
+	if (b->memory != V4L2_MEMORY_MMAP)
+		return -EINVAL;
+
+	b->length = ctrl->out_frame.buf_size;
+
+	/*
+	 * NOTE: we use the m.offset as an index for multiple frames out.
+	 * Because all frames are not contiguous, we cannot use it as
+	 * original purpose.
+	 * The index value used to find out which frame user wants to mmap.
+	 */
+	b->m.offset = b->index * PAGE_SIZE;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_qbuf(struct file *filp, void *fh,
+				struct v4l2_buffer *b)
+{
+	return 0;
+}
+
+static int s3c_fimc_v4l2_dqbuf(struct file *filp, void *fh,
+				struct v4l2_buffer *b)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+
+	ctrl->out_frame.cfn = s3c_fimc_get_frame_count(ctrl);
+	b->index = (frame->cfn + 2) % frame->nr_frames;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_cropcap(struct file *filp, void *fh,
+					struct v4l2_cropcap *a)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE &&
+		a->type != V4L2_BUF_TYPE_VIDEO_OVERLAY)
+		return -EINVAL;
+
+	/* crop limitations */
+	ctrl->v4l2.crop_bounds.left = 0;
+	ctrl->v4l2.crop_bounds.top = 0;
+	ctrl->v4l2.crop_bounds.width = ctrl->in_cam->width;
+	ctrl->v4l2.crop_bounds.height = ctrl->in_cam->height;
+
+	/* crop default values */
+	ctrl->v4l2.crop_defrect.left = \
+			(ctrl->in_cam->width - S3C_FIMC_CROP_DEF_WIDTH) / 2;
+
+	ctrl->v4l2.crop_defrect.top = \
+			(ctrl->in_cam->height - S3C_FIMC_CROP_DEF_HEIGHT) / 2;
+
+	ctrl->v4l2.crop_defrect.width = S3C_FIMC_CROP_DEF_WIDTH;
+	ctrl->v4l2.crop_defrect.height = S3C_FIMC_CROP_DEF_HEIGHT;
+
+	a->bounds = ctrl->v4l2.crop_bounds;
+	a->defrect = ctrl->v4l2.crop_defrect;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_crop(struct file *filp, void *fh,
+				struct v4l2_crop *a)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE &&
+		a->type != V4L2_BUF_TYPE_VIDEO_OVERLAY)
+		return -EINVAL;
+
+	a->c = ctrl->v4l2.crop_current;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_crop(struct file *filp, void *fh,
+				struct v4l2_crop *a)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	struct s3c_fimc_camera *cam = ctrl->in_cam;
+
+	if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE &&
+		a->type != V4L2_BUF_TYPE_VIDEO_OVERLAY)
+		return -EINVAL;
+
+	if (a->c.height < 0)
+		return -EINVAL;
+
+	if (a->c.width < 0)
+		return -EINVAL;
+
+	if ((a->c.left + a->c.width > cam->width) || \
+		(a->c.top + a->c.height > cam->height))
+		return -EINVAL;
+
+	ctrl->v4l2.crop_current = a->c;
+
+	cam->offset.h1 = (cam->width - a->c.width) / 2;
+	cam->offset.v1 = (cam->height - a->c.height) / 2;
+
+	cam->offset.h2 = cam->offset.h1;
+	cam->offset.v2 = cam->offset.v1;
+
+	s3c_fimc_restart_dma(ctrl);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_parm(struct file *filp, void *fh,
+				struct v4l2_streamparm *a)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+		return -EINVAL;
+
+	if (a->parm.capture.capturemode == V4L2_MODE_HIGHQUALITY) {
+		info("changing to max resolution\n");
+		s3c_fimc_change_resolution(ctrl, CAM_RES_MAX);
+	} else {
+		info("changing to default resolution\n");
+		s3c_fimc_change_resolution(ctrl, CAM_RES_DEFAULT);
+	}
+
+	s3c_fimc_restart_dma(ctrl);
+
+	return 0;
+}
+
+const struct v4l2_ioctl_ops s3c_fimc_v4l2_ops = {
+	.vidioc_querycap		= s3c_fimc_v4l2_querycap,
+	.vidioc_g_fbuf			= s3c_fimc_v4l2_g_fbuf,
+	.vidioc_s_fbuf			= s3c_fimc_v4l2_s_fbuf,
+	.vidioc_enum_fmt_vid_cap	= s3c_fimc_v4l2_enum_fmt_vid_cap,
+	.vidioc_g_fmt_vid_cap		= s3c_fimc_v4l2_g_fmt_vid_cap,
+	.vidioc_s_fmt_vid_cap		= s3c_fimc_v4l2_s_fmt_vid_cap,
+	.vidioc_try_fmt_vid_cap		= s3c_fimc_v4l2_try_fmt_vid_cap,
+	.vidioc_try_fmt_vid_overlay	= s3c_fimc_v4l2_try_fmt_overlay,
+	.vidioc_overlay			= s3c_fimc_v4l2_overlay,
+	.vidioc_g_ctrl			= s3c_fimc_v4l2_g_ctrl,
+	.vidioc_s_ctrl			= s3c_fimc_v4l2_s_ctrl,
+	.vidioc_streamon		= s3c_fimc_v4l2_streamon,
+	.vidioc_streamoff		= s3c_fimc_v4l2_streamoff,
+	.vidioc_g_input			= s3c_fimc_v4l2_g_input,
+	.vidioc_s_input			= s3c_fimc_v4l2_s_input,
+	.vidioc_g_output		= s3c_fimc_v4l2_g_output,
+	.vidioc_s_output		= s3c_fimc_v4l2_s_output,
+	.vidioc_enum_input		= s3c_fimc_v4l2_enum_input,
+	.vidioc_enum_output		= s3c_fimc_v4l2_enum_output,
+	.vidioc_reqbufs			= s3c_fimc_v4l2_reqbufs,
+	.vidioc_querybuf		= s3c_fimc_v4l2_querybuf,
+	.vidioc_qbuf			= s3c_fimc_v4l2_qbuf,
+	.vidioc_dqbuf			= s3c_fimc_v4l2_dqbuf,
+	.vidioc_cropcap			= s3c_fimc_v4l2_cropcap,
+	.vidioc_g_crop			= s3c_fimc_v4l2_g_crop,
+	.vidioc_s_crop			= s3c_fimc_v4l2_s_crop,
+	.vidioc_s_parm			= s3c_fimc_v4l2_s_parm,
+};
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s5k3ba.c linux-2.6.28.6/drivers/media/video/samsung/fimc/s5k3ba.c
--- linux-2.6.28/drivers/media/video/samsung/fimc/s5k3ba.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s5k3ba.c	2009-10-21 19:53:15.000000000 +0200
@@ -0,0 +1,191 @@
+/* linux/drivers/media/video/samsung/s5k3ba.c
+ *
+ * Samsung S5K3BA CMOS Image Sensor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/i2c.h>
+#include <linux/i2c-id.h>
+#include <linux/slab.h>
+#include <linux/string.h>
+#include <linux/init.h>
+#include <asm/io.h>
+
+#include "s3c_fimc.h"
+#include "s5k3ba.h"
+
+#define S5K3BA_I2C_ADDR		0x5a
+
+const static u16 ignore[] = { I2C_CLIENT_END };
+const static u16 normal_addr[] = { (S5K3BA_I2C_ADDR >> 1), I2C_CLIENT_END };
+const static u16 *forces[] = { NULL };
+static struct i2c_driver s5k3ba_i2c_driver;
+
+static struct s3c_fimc_camera s5k3ba_data = {
+	.id 		= CONFIG_VIDEO_FIMC_CAM_CH,
+	.type		= CAM_TYPE_ITU,
+	.mode		= ITU_601_YCBCR422_8BIT,
+	.order422	= CAM_ORDER422_8BIT_YCRYCB,
+	.clockrate	= 24000000,
+	.width		= 800,
+	.height		= 600,
+	.offset		= {
+		.h1 = 0,
+		.h2 = 0,
+		.v1 = 0,
+		.v2 = 0,
+	},
+
+	.polarity	= {
+		.pclk	= 0,
+		.vsync	= 1,
+		.href	= 0,
+		.hsync	= 0,
+	},
+
+	.initialized	= 0,
+};
+
+static struct i2c_client_address_data addr_data = {
+	.normal_i2c	= normal_addr,
+	.probe		= ignore,
+	.ignore		= ignore,
+	.forces		= forces,
+};
+
+static void s5k3ba_start(struct i2c_client *client)
+{
+	int i;
+
+	for (i = 0; i < S5K3BA_INIT_REGS; i++) {
+		s3c_fimc_i2c_write(client, s5k3ba_init_reg[i].subaddr, \
+					s5k3ba_init_reg[i].value);
+	}
+}
+
+static int s5k3ba_attach(struct i2c_adapter *adap, int addr, int kind)
+{
+	struct i2c_client *c;
+
+	c = kmalloc(sizeof(*c), GFP_KERNEL);
+	if (!c)
+		return -ENOMEM;
+
+	memset(c, 0, sizeof(struct i2c_client));	
+
+	strcpy(c->name, "s5k3ba");
+	c->addr = addr;
+	c->adapter = adap;
+	c->driver = &s5k3ba_i2c_driver;
+
+	s5k3ba_data.client = c;
+
+	info("s5k3ba attached successfully\n");
+
+	return i2c_attach_client(c);
+}
+
+static int s5k3ba_attach_adapter(struct i2c_adapter *adap)
+{
+	int ret = 0;
+
+	s3c_fimc_register_camera(&s5k3ba_data);
+
+	ret = i2c_probe(adap, &addr_data, s5k3ba_attach);
+	if (ret) {
+		err("failed to attach s5k3ba driver\n");
+		ret = -ENODEV;
+	}
+
+	return ret;
+}
+
+static int s5k3ba_detach(struct i2c_client *client)
+{
+	i2c_detach_client(client);
+
+	return 0;
+}
+
+static int s5k3ba_change_resolution(struct i2c_client *client, int res)
+{
+	switch (res) {
+	case CAM_RES_DEFAULT:	/* fall through */
+	case CAM_RES_MAX:	/* fall through */
+		break;
+
+	default:
+		err("unexpect value\n");
+	}
+
+	return 0;
+}
+
+static int s5k3ba_change_whitebalance(struct i2c_client *client, enum s3c_fimc_wb_t type)
+{
+	s3c_fimc_i2c_write(client, 0xfc, 0x0);
+	s3c_fimc_i2c_write(client, 0x30, type);
+
+	return 0;
+}
+
+static int s5k3ba_command(struct i2c_client *client, u32 cmd, void *arg)
+{
+	switch (cmd) {
+	case I2C_CAM_INIT:
+		s5k3ba_start(client);
+		info("external camera initialized\n");
+		break;
+
+	case I2C_CAM_RESOLUTION:
+		s5k3ba_change_resolution(client, (int) arg);
+		break;
+
+	case I2C_CAM_WB:
+		s5k3ba_change_whitebalance(client, (enum s3c_fimc_wb_t) arg);
+        	break;
+
+	default:
+		err("unexpect command\n");
+		break;
+	}
+
+	return 0;
+}
+
+static struct i2c_driver s5k3ba_i2c_driver = {
+	.driver = {
+		.name = "s5k3ba",
+	},
+	.id = I2C_DRIVERID_S5K3BA,
+	.attach_adapter = s5k3ba_attach_adapter,
+	.detach_client = s5k3ba_detach,
+	.command = s5k3ba_command,
+};
+
+static __init int s5k3ba_init(void)
+{
+	return i2c_add_driver(&s5k3ba_i2c_driver);
+}
+
+static __init void s5k3ba_exit(void)
+{
+	i2c_del_driver(&s5k3ba_i2c_driver);
+}
+
+module_init(s5k3ba_init)
+module_exit(s5k3ba_exit)
+
+MODULE_AUTHOR("Jinsung, Yang <jsgood.yang@samsung.com>");
+MODULE_DESCRIPTION("Samsung S5K3BA I2C based CMOS Image Sensor driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s5k3ba.h linux-2.6.28.6/drivers/media/video/samsung/fimc/s5k3ba.h
--- linux-2.6.28/drivers/media/video/samsung/fimc/s5k3ba.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s5k3ba.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,811 @@
+/* linux/drivers/media/video/samsung/s5k3ba.h
+ *
+ * Header file for Samsung S5K3BA CMOS Image Sensor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _S5K3BA_H_
+#define _S5K3BA_H_
+
+typedef struct s3c_fimc_i2c_value {
+	u8 subaddr;
+	u8 value;
+} s5k3ba_t;
+
+/* init */
+s5k3ba_t s5k3ba_init_reg[] =
+{
+ //1. initial setting 
+    {0xfc, 0x01},                                
+    {0x04, 0x03},  //ARM Clock divider(1/4)     
+
+    //{0xfc, 0x02},                                
+    //{0x52, 0x80},    // PLL M                     
+    //{0x50, 0x14},    //1b    // PLL S,P (15fps)    
+    //In case of PCLK = 64MHz 
+
+    {0xfc, 0x02},
+    {0x52, 0x80},  //PLL M M= 128 setting. 
+        /*
+        //case 200:
+            {0xfc, 0x02},
+            {0x50, 0x19},      //PLL S= 0 , P = 25 PCLK=128/2=64Mhz 15 Frmae Setting 
+//            {0x50, 0x14},      //PLL S= 0 , P = 20 PCLK=128/2=64Mhz 15 Frmae Setting             
+//            {0x50, 0x59},      //PLL S= 1 , P = 25 PCLK=64/2=32Mhz , 7~8Frame Setting
+        */
+        //case 266:
+    {0xfc, 0x02},
+    {0x50, 0x1A},
+    
+    {0xfc, 0x07},
+    {0x58, 0x10},
+    {0x59, 0x00},
+    {0x5A, 0x00},
+    {0x5B, 0x6c},
+
+    {0xfc, 0xf0}, 
+    {0x00, 0x40}, 
+
+    {0xfc, 0x00},
+    {0x62, 0x02},
+    {0xbc, 0xe0},  // AWB_AE_DIFF
+
+    {0xfc, 0x03},  //************************************************* 
+    {0x2d, 0x03}, 
+    {0xfc, 0x01},  
+    {0x02, 0x02},   // YCbCr Order
+
+    {0xfc, 0x02},    
+    {0x4a, 0xc1},  // SC type selection
+    {0x37, 0x18},  //16    // SC type global gain 
+    {0x47, 0xc4},     // r-ramp  by chin
+
+    {0xfc, 0x01},  //AWB Window Area (except sky)     
+    {0xc4, 0x01},      
+    {0xc5, 0x4e},           
+    {0xc7, 0x6e},
+
+    {0xfc, 0x02},
+    {0x30, 0x84},  //Analog offset
+
+    {0xfc, 0x00},
+    {0x3d, 0x10},  //AWB Low Y limit 
+
+    {0xfc, 0x02},
+    {0x3d, 0x06},  //ADLC OFF 
+    {0x44, 0x5b},  //clamp enable
+    {0x55, 0x03},
+
+    {0xfc, 0x06}, 
+    {0x0c, 0x01}, 
+    {0x0d, 0x4e}, 
+    {0x0f, 0x6e},  
+
+    {0xfc, 0x00},
+    {0x78, 0x58},  //AGC MAX (30lux_Micron���Y=60code)
+
+    {0xfc, 0x02},
+    {0x45, 0x8c},  //CDS timing_������ greenish �ذ�(15fps)
+    {0x49, 0x80},  // APS Current 2uA
+
+    {0xfc, 0x01},
+    {0x25, 0x14},  //10    //Digital Clamp 
+
+    {0xfc, 0x00},
+    {0x6d, 0x01},   //AE target high (Macbeth white=240) 
+    {0x6c, 0x00},  //AE target (Macbeth white=240) 
+    //{0x6d, 0x00},
+
+    //2. ISP tuning //******************************************
+    //ISP_tuning
+//    {0xfc, 0x00},  
+//    {0x01, 0x00},    // I2C hold mode off 
+
+    {0xfc, 0x01},  
+    {0x00, 0x00},      // ISP BPR Off
+    {0x0c, 0x02},      // Full YC
+    {0xc8, 0x19},  // AWB Y Max
+
+    {0xfc, 0x00},
+    {0x81, 0x00},      // AWB G gain suppress disable
+    {0x29, 0x04},
+    {0x2a, 0x00},
+    {0x2b, 0x04},  // color level                  
+    {0x2c, 0x00},  
+
+    {0xfc, 0x07},  
+    {0x11, 0x00},      // G offset
+    {0x37, 0x00},      // Flicker Add
+
+    {0xfc, 0x00},  
+    {0x72, 0xa0},      // Flicker for 32MHz
+    {0x74, 0x18},      // Flicker
+    {0x73, 0x00},  // Frame AE
+
+    {0xfc, 0x05},                   
+    {0x64, 0x00},      // Darkslice R
+    {0x65, 0x00},      // Darkslice G
+    {0x66, 0x00},      // Darkslice B
+
+    //Edge                                  
+    {0xfc, 0x05}, 
+    {0x2c, 0x0a},  //14    // positive gain                   
+    {0x30, 0x0a},  //10    // negative edge gain
+    {0x34, 0x1a},   // APTCLP  
+    {0x35, 0x10},  //0a   // APTSC  
+    {0x36, 0x0b},   // ENHANCE 
+    {0x3f, 0x00},   // NON-LIN 
+    {0x45, 0x30},   // EGREF  
+    {0x47, 0x00},   // LLREF
+    {0x48, 0x08},   // by chin
+    {0x49, 0x39},   // CSSEL  EGSEL  CS_DLY by 
+    {0x40, 0x41},  // Y delay
+
+    ////////////////////////////////////
+    {0xfc, 0x00},  
+    {0x7e, 0xfc},  
+    //s7e8c  //NR GrGb off
+    // [7]: BPR [6]:Noise Filter(1D/NR) [4]: GrGb Enable [3]:BPR Data Threshold 
+    // [2]: color suppress [1]: Y gain suppress [0]: Digital Clamp
+    ///////////////////////////////////
+    ////////////////////////////////////
+    // GrGb Correction setting
+    {0xfc, 0x01},  
+    {0x44, 0x0c},       
+
+    //s4400      
+    /// [4]: GrGb full [3]: GrGb On
+    /// [2]: GrGb Rb On 
+    {0xfc, 0x0b},  
+    {0x21, 0x00},      // Start AGC
+    {0x22, 0x10},      // AGCMIN
+    {0x23, 0x50},      // AGCMAX
+    {0x24, 0x18},  // G Th AGCMIN(23d)
+    {0x25, 0x52},      // G Th AGCMAX(50d)
+    {0x26, 0x38},  // RB Th AGCMIN
+    {0x27, 0x52},      // RB Th AGCMAX
+    // GrGb Correction setting End
+
+    ///////////////////////////////////
+    // BPR Setting      
+    {0xfc, 0x01},         
+    {0x3f, 0x00},      // setting because S/W bug
+
+    {0xfc, 0x0b},  
+    {0x0b, 0x00},      // ISP BPR On Start
+    {0x0c, 0x00},      // Th13 AGC Min
+    {0x0d, 0x5a},  // Th13 AGC Max
+    {0x0e, 0x01},  //00    // Th1 Max H for AGCMIN
+    {0x0f, 0xff},  //c0    // Th1 Max L for AGCMIN
+    {0x10, 0x00},      // Th1 Min H for AGCMAX
+    {0x11, 0x10},      //00    // Th1 Min L for AGCMAX
+    {0x12, 0xff},      // Th3 Max H for AGCMIN
+    {0x13, 0xff},     // Th3 Max L for AGCMIN
+    {0x14, 0xff},     // Th3 Min H for AGCMAX
+    {0x15, 0xff},     // Th3 Min L for AGCMAX
+    ///////////////////////////////////////////
+
+    // NR Setting
+    {0xfc, 0x01},  
+    {0x4b, 0x01},      // NR Enable
+    //s4b00     // NR Enable
+
+    {0xfc, 0x0b},                             
+    {0x28, 0x00},      //NR Start AGC             
+    {0x29, 0x00},      // SIG Th AGCMIN H   
+    {0x2a, 0x0a},  //14    // SIG Th AGCMIN L   
+    {0x2b, 0x00},      // SIG Th AGCMAX H   
+    {0x2c, 0x0a},  //14    // SIG Th AGCMAX L   
+    {0x2d, 0x00},      // PRE Th AGCMIN H   
+    {0x2e, 0xc0},  //64    // PRE Th AGCMIN L(100d)   
+    {0x2f, 0x01},      // PRE Th AGCMAX H(300d)   
+    {0x30, 0x2c},      // PRE Th AGCMAX L   
+    {0x31, 0x00},      // POST Th AGCMIN H  
+    {0x32, 0xe0},  //64    // POST Th AGCMIN L(100d)  
+    {0x33, 0x01},      // POST Th AGCMAX H(300d)
+    {0x34, 0x2c},      // POST Th AGCMAX L  
+    // NR Setting End
+
+    ////////////////////////////////
+    // Color suppress setting
+    {0xfc, 0x0b},  
+    {0x08, 0x50},      // C suppress AGC MIN
+    {0x09, 0x03},      // C suppress MIN H
+    {0x0a, 0x80},      // C suppress MIN L
+    // C Suppress Setting End
+
+    {0xfc, 0x05},
+    {0x4a, 0x00},  //01    // Edge Color Suppress, 9/13
+    ///////////////////////////////
+
+    // 1D Y LPF Filter             
+    {0xfc, 0x01},                            
+    //s05e0     // Default s60        
+    {0x05, 0x60},      // Default s60        
+    //[7]: Y LPF filter On [6]: Clap On
+
+    {0xfc, 0x0b},                            
+    {0x35, 0x00},      // YLPF Start AGC      
+    {0x36, 0x50},      // YLPF01 AGCMIN       
+    {0x37, 0x50},      // YLPF01 AGCMAX       
+    {0x38, 0x00},      // YLPF SIG01 Th AGCMINH
+    {0x39, 0x90},  //00    // YLPF SIG01 Th AGCMINL   
+    {0x3a, 0x01},   // YLPF SIG01 Th AGCMAXH   
+    {0x3b, 0xa0},   // YLPF SIG01 Th AGCMAXL               
+    {0x3c, 0x50},      // YLPF02 AGCMIN           
+    {0x3d, 0x50},   // YLPF02 AGCMAX           
+    {0x3e, 0x00},   // YLPF SIG02 Th AGCMINH   
+    {0x3f, 0xa0},  //00   // YLPF SIG02 Th AGCMINL   
+    {0x40, 0x01},   // YLPF SIG02 Th AGCMAXH   s73
+    {0x41, 0xb0},   // YLPF SIG02 Th AGCMAXL   
+    // Y LPF Filter setting End 
+
+    // SET EDGE COLOR SUPPRESS AND Y-LPF(�� å�Ӵ� mail �߰�)************************************ 
+    {0xfc, 0x05},
+    {0x42, 0x1F},
+    {0x43, 0x1F},
+    {0x44, 0x0E},
+    {0x45, 0x8C},    //�� suppres�ϰ����ϸ� 5a, 0x �� ���ϴ� side effect ������ �ȵ�.
+    {0x46, 0x7A},
+    {0x47, 0x60},
+    {0x48, 0x0C},
+    {0x49, 0x39},
+    {0x4A, 0x01},
+    {0x4B, 0xB1},
+    {0x4C, 0x3B},
+    {0x4D, 0x14},
+    //*******************************************************************************************  
+    ///////////////////////////////////////////
+    // NR Setting
+    {0xfc, 0x01},  
+    {0x4b, 0x01},      // NR Enable
+    // Set multipliers (which are not suppressed)_(�� å�Ӵ� mail �߰�)**************************
+    {0xfc, 0x01},
+    {0x48, 0x11},
+    // Suppressed parameters
+
+    {0xfc, 0x0B},
+    {0x21, 0x00},
+    {0x22, 0x10},
+    {0x23, 0x60},
+    {0x24, 0x10},
+    {0x25, 0x28},
+    {0x26, 0x08},
+    {0x27, 0x20},
+    {0x28, 0x00},    //NR Start AGC                    
+    {0x29, 0x00},    // SIG Th AGCMIN H              
+    {0x2A, 0x02},    // SIG Th AGCMIN L      
+    {0x2B, 0x00},    // SIG Th AGCMAX H              
+    {0x2C, 0x14},    // SIG Th AGCMAX L      
+    {0x2D, 0x03},    // PRE Th AGCMIN H              
+    {0x2E, 0x84},    // PRE Th AGCMIN L
+    {0x2F, 0x03},    // PRE Th AGCMAX H        
+    {0x30, 0x84},    // PRE Th AGCMAX L              
+    {0x31, 0x00},    // POST Th AGCMIN H             
+    {0x32, 0x00},    // POST Th AGCMIN L
+    {0x33, 0x00},    // POST Th AGCMAX H      
+    {0x34, 0xC8},    // POST Th AGCMAX L             
+    {0x35, 0x00},  //1D Y filter setting 
+    {0x36, 0x10},
+    {0x37, 0x50},
+    {0x38, 0x00},
+    {0x39, 0x14},
+    {0x3A, 0x00},
+    {0x3B, 0x50},
+    {0x3C, 0x10},
+    {0x3D, 0x50},
+    {0x3E, 0x00},
+    {0x3F, 0x28},
+    {0x40, 0x00},
+    {0x41, 0xA0},
+    //*******************************************************************************************
+
+    //�� å�Ӵ� mail �߰� ***********************************************************************
+    // To avoid AWB tracking @ max AGC gain even though AE is unstable state
+    {0xfc, 0x00},
+    {0xba, 0x50},   // AE Target minus AE Average
+    {0xbb, 0x00},
+    {0xbc, 0x00},
+    //*******************************************************************************************
+
+    //3. AE weight & etc linear
+    // AE Window Weight linear(EVT1)0929   
+    {0xfc, 0x20},  // upper window weight zero
+    {0x60, 0x11},
+    {0x61, 0x11},
+    {0x62, 0x11},
+    {0x63, 0x11},
+    {0x64, 0x11},
+    {0x65, 0x11},
+    {0x66, 0x11},
+    {0x67, 0x11},
+    {0x68, 0x11},
+    {0x69, 0x11},
+    {0x6a, 0x11},
+    {0x6b, 0x11},
+    {0x6c, 0x11},
+    {0x6d, 0x11},
+    {0x6e, 0x11},
+    {0x6f, 0x11},
+    {0x70, 0x11},
+    {0x71, 0x11},
+    {0x72, 0x11},
+    {0x73, 0x11},
+    {0x74, 0x11},
+    {0x75, 0x11},
+    {0x76, 0x11},
+    {0x77, 0x11},
+    {0x78, 0x11},
+    {0x79, 0x11},
+    {0x7a, 0x11},
+    {0x7b, 0x11},
+    {0x7c, 0x11},
+    {0x7d, 0x11},
+    {0x7e, 0x11},
+    {0x7f, 0x11},
+
+    // AE window Weight setting End
+    //hue gain linear //
+    {0xfc, 0x00},                          
+    {0x48, 0x40},     
+    {0x49, 0x40},   
+    {0x4a, 0x00},     
+    {0x4b, 0x00},     
+    {0x4c, 0x40},     
+    {0x4d, 0x40},     
+    {0x4e, 0x00},     
+    {0x4f, 0x00},     
+    {0x50, 0x40},     
+    {0x51, 0x40},     
+    {0x52, 0x00},     
+    {0x53, 0x00},     
+    {0x54, 0x40},     
+    {0x55, 0x40},     
+    {0x56, 0x00},     
+    {0x57, 0x00},     
+    {0x58, 0x40},     
+    {0x59, 0x40},     
+    {0x5a, 0x00},     
+    {0x5b, 0x00},    
+    {0x5c, 0x40},     
+    {0x5d, 0x40},     
+    {0x5e, 0x00},     
+    {0x5f, 0x00}, 
+    {0x62, 0x00},  //hue enable OFF
+
+    //4. shading (Flex�� 3000K manual shading) 
+    {0xfc, 0x09},
+    // DSP9_SH_WIDTH_H 
+    {0x01, 0x06},
+    {0x02, 0x40},
+    // DSP9_SH_HEIGHT_H 
+    {0x03, 0x04},
+    {0x04, 0xB0},
+    {0x05, 0x03},
+    {0x06, 0x13},
+    {0x07, 0x02},
+    {0x08, 0x5A},
+    {0x09, 0x03},
+    {0x0A, 0x15},
+    {0x0B, 0x02},
+    {0x0C, 0x5B},
+    {0x0D, 0x03},
+    {0x0E, 0x0D},
+    {0x0F, 0x02},
+    {0x10, 0x5D},
+    {0x1D, 0x80},
+    {0x1E, 0x00},
+    {0x1F, 0x80},
+    {0x20, 0x00},
+    {0x23, 0x80},
+    {0x24, 0x00},
+    {0x21, 0x80},
+    {0x22, 0x00},
+    {0x25, 0x80},
+    {0x26, 0x00},
+    {0x27, 0x80},
+    {0x28, 0x00},
+    {0x2B, 0x80},
+    {0x2C, 0x00},
+    {0x29, 0x80},
+    {0x2A, 0x00},
+    {0x2D, 0x80},
+    {0x2E, 0x00},
+    {0x2F, 0x80},
+    {0x30, 0x00},
+    {0x33, 0x80},
+    {0x34, 0x00},
+    {0x31, 0x80},
+    {0x32, 0x00},
+    // DSP9_SH_VAL_R0H 
+    {0x35, 0x01},
+    {0x36, 0x00},
+    {0x37, 0x01},
+    {0x38, 0x0F},
+    {0x39, 0x01},
+    {0x3A, 0x42},
+    {0x3B, 0x01},
+    {0x3C, 0x9C},
+    {0x3D, 0x01},
+    {0x3E, 0xD0},
+    {0x3F, 0x02},
+    {0x40, 0x0F},
+    {0x41, 0x02},
+    {0x42, 0x3D},
+    {0x43, 0x02},
+    {0x44, 0x5E},
+    {0x45, 0x01},
+    {0x46, 0x00},
+    {0x47, 0x01},
+    {0x48, 0x0A},
+    {0x49, 0x01},
+    {0x4A, 0x2E},
+    {0x4B, 0x01},
+    {0x4C, 0x66},
+    {0x4D, 0x01},
+    {0x4E, 0x89},
+    {0x4F, 0x01},
+    {0x50, 0xB7},
+    {0x51, 0x01},
+    {0x52, 0xD8},
+    {0x53, 0x01},
+    {0x54, 0xFA},
+    // DS9_SH_VAL_B0H
+    {0x55, 0x01},
+    {0x56, 0x00},
+    {0x57, 0x01},
+    {0x58, 0x0A},
+    {0x59, 0x01},
+    {0x5A, 0x28},
+    {0x5B, 0x01},
+    {0x5C, 0x59},
+    {0x5D, 0x01},
+    {0x5E, 0x7A},
+    {0x5F, 0x01},
+    {0x60, 0xA1},
+    {0x61, 0x01},
+    {0x62, 0xC0},
+    {0x63, 0x01},
+    {0x64, 0xDC},
+    // DSP9_SH_M_R2_R1H 
+    {0x65, 0x00},
+    {0x66, 0x9F},
+    {0x67, 0xE6},
+    {0x68, 0x02},
+    {0x69, 0x7F},
+    {0x6A, 0x9B},
+    {0x6B, 0x05},
+    {0x6C, 0x9F},
+    {0x6D, 0x1E},
+    {0x6E, 0x07},
+    {0x6F, 0xA6},
+    {0x70, 0xCC},
+    {0x71, 0x09},
+    {0x72, 0xFE},
+    {0x73, 0x6E},
+    {0x74, 0x0C},
+    {0x75, 0xA6},
+    {0x76, 0x04},
+    {0x77, 0x0F},
+    {0x78, 0x9D},
+    {0x79, 0x8C},
+    // DSP9_SH_M_R2_G1H 
+    {0x7A, 0x00},
+    {0x7B, 0x9F},
+    {0x7C, 0x95},
+    {0x7D, 0x02},
+    {0x7E, 0x7E},
+    {0x7F, 0x54},
+    {0x80, 0x05},
+    {0x81, 0x9C},
+    {0x82, 0x3E},
+    {0x83, 0x07},
+    {0x84, 0xA2},
+    {0x85, 0xE3},
+    {0x86, 0x09},
+    {0x87, 0xF9},
+    {0x88, 0x53},
+    {0x89, 0x0C},
+    {0x8A, 0x9F},
+    {0x8B, 0x8D},
+    {0x8C, 0x0F},
+    {0x8D, 0x95},
+    {0x8E, 0x91},
+    // DSP9_SH_M_R2_B1H 
+    {0x8F, 0x00},
+    {0x90, 0xA1},
+    {0x91, 0xFF},
+    {0x92, 0x02},
+    {0x93, 0x87},
+    {0x94, 0xFD},
+    {0x95, 0x05},
+    {0x96, 0xB1},
+    {0x97, 0xFA},
+    {0x98, 0x07},
+    {0x99, 0xC0},
+    {0x9A, 0x79},
+    {0x9B, 0x0A},
+    {0x9C, 0x1F},
+    {0x9D, 0xF6},
+    {0x9E, 0x0C},
+    {0x9F, 0xD0},
+    {0xA0, 0x74},
+    {0xA1, 0x0F},
+    {0xA2, 0xD1},
+    {0xA3, 0xF1},
+    // DSP9_SH_SUB_RR0H 
+    {0xA4, 0x66},
+    {0xA5, 0x76},
+    {0xA6, 0x22},
+    {0xA7, 0x27},
+    {0xA8, 0x14},
+    {0xA9, 0x7E},
+    {0xAA, 0x1F},
+    {0xAB, 0x86},
+    {0xAC, 0x1B},
+    {0xAD, 0x52},
+    {0xAE, 0x18},
+    {0xAF, 0x1B},
+    {0xB0, 0x15},
+    {0xB1, 0x92},
+    // DSP9_SH_SUB_RG0H 
+    {0xB2, 0x66},
+    {0xB3, 0xAA},
+    {0xB4, 0x22},
+    {0xB5, 0x38},
+    {0xB6, 0x14},
+    {0xB7, 0x88},
+    {0xB8, 0x1F},
+    {0xB9, 0x97},
+    {0xBA, 0x1B},
+    {0xBB, 0x60},
+    {0xBC, 0x18},
+    {0xBD, 0x28},
+    {0xBE, 0x15},
+    {0xBF, 0x9D},
+    // DSP9_SH_SUB_RB0H 
+    {0xC0, 0x65},
+    {0xC1, 0x23},
+    {0xC2, 0x21},
+    {0xC3, 0xB6},
+    {0xC4, 0x14},
+    {0xC5, 0x3A},
+    {0xC6, 0x1F},
+    {0xC7, 0x1E},
+    {0xC8, 0x1A},
+    {0xC9, 0xF8},
+    {0xCA, 0x17},
+    {0xCB, 0xCC},
+    {0xCC, 0x15},
+    {0xCD, 0x4A},
+    {0x00, 0x02},  // shading on
+
+    {0xfc, 0x00},
+    {0x79, 0xf4},
+    {0x7a, 0x09},
+
+    //5.color correction
+    //1229 CCM
+    //2.0251    -1.0203 -0.0048 
+    //-0.7080   1.8970  -0.1889 
+    //-0.468    -0.444  1.912
+    {0xfc, 0x01},
+    {0x51, 0x08},  //R
+    {0x52, 0x18},
+    {0x53, 0xfb},
+    {0x54, 0xec},
+    {0x55, 0xff},
+    {0x56, 0xfc},
+    {0x57, 0xfd},  //G
+    {0x58, 0x2c},
+    {0x59, 0x07},
+    {0x5a, 0x95},
+    {0x5b, 0xff},
+    {0x5c, 0x3f},
+    {0x5d, 0xfe},  //B
+    {0x5e, 0x22},  
+    {0x5f, 0xfe},  
+    {0x60, 0x3a},  
+    {0x61, 0x07},  
+    {0x62, 0xa5},  
+
+    //6.gamma 
+    //Gamma 
+    {0xfc, 0x01},           
+    // R                                               
+    {0x6F, 0x05},  
+    {0x70, 0x14},  
+    {0x71, 0x3c},  
+    {0x72, 0x96},  
+    {0x73, 0x00},  
+    {0x74, 0x2c},  
+    {0x75, 0xa2},  
+    {0x76, 0xfc},  
+    {0x77, 0x44},  
+    {0x78, 0x56},  
+    {0x79, 0x80},  
+    {0x7A, 0xb7},  
+    {0x7B, 0xed},
+    {0x7C, 0x16},
+    {0x7D, 0xab},
+    {0x7E, 0x3c},
+    {0x7F, 0x61},
+    {0x80, 0x83},
+    {0x81, 0xa4},                            
+    {0x82, 0xff},                              
+    {0x83, 0xc4},                              
+    {0x84, 0xe2},                            
+    {0x85, 0xff},                              
+    {0x86, 0xff},                              
+    // G                                  
+    {0x87, 0x05},  
+    {0x88, 0x14},  
+    {0x89, 0x3c},        
+    {0x8A, 0x96},  
+    {0x8B, 0x00},  
+    {0x8C, 0x2c},  
+    {0x8D, 0xa2},  
+    {0x8E, 0xfc},  
+    {0x8F, 0x44},  
+    {0x90, 0x56},  
+    {0x91, 0x80},  
+    {0x92, 0xb7},  
+    {0x93, 0xed},        
+    {0x94, 0x16},          
+    {0x95, 0xab},          
+    {0x96, 0x3c},               
+    {0x97, 0x61},               
+    {0x98, 0x83},              
+    {0x99, 0xa4},               
+    {0x9A, 0xff},        
+    {0x9B, 0xc4},          
+    {0x9C, 0xe2},          
+    {0x9D, 0xff},          
+    {0x9E, 0xff},          
+    //B      
+    {0x9F, 0x05},  
+    {0xA0, 0x10},  
+    {0xA1, 0x30},  
+    {0xA2, 0x70},  
+    {0xA3, 0x00},  
+    {0xA4, 0x2c},  
+    {0xA5, 0xa2},  
+    {0xA6, 0xfc},  
+    {0xA7, 0x44},       
+    {0xA8, 0x56},       
+                    
+    {0xA9, 0x80},       
+    {0xAA, 0xb7},       
+    {0xAB, 0xed},  
+    {0xAC, 0x16},  
+    {0xAD, 0xab},  
+            
+    {0xAE, 0x3c},  
+    {0xAF, 0x61},  
+    {0xB0, 0x83},  
+    {0xB1, 0xa4},  
+    {0xB2, 0xff},  
+            
+    {0xB3, 0xc4},  
+    {0xB4, 0xe2},  
+    {0xB5, 0xff},  
+    {0xB6, 0xff},
+
+    //7.hue 
+    {0xFC, 0x00},
+    {0x62, 0x00},    // hue auto control off
+
+    {0xFC, 0x05},
+    {0x4E, 0x60},
+    {0x4F, 0xA0},
+    {0x50, 0x35},
+    {0x51, 0xA0},
+    {0x52, 0x20},
+    {0x53, 0x01},
+    {0x54, 0xE0},
+    {0x55, 0xE0},
+    {0x56, 0x54},
+    {0x57, 0x20},
+    {0x58, 0x20},
+    {0x59, 0xF0},
+
+    //8.white point 
+    //AWB Start Point
+    {0xfc, 0x07},
+    {0x05, 0x00},
+    {0x06, 0x08},
+    {0x07, 0x1b},
+    {0x08, 0xf0},
+    {0x09, 0x00},  // R
+    {0x0a, 0xa8},  
+    {0x0b, 0x00},  // B
+    {0x0c, 0xb0},
+    {0x0d, 0x00},  // G
+    {0x0e, 0x40},
+
+    {0xfc, 0x00},
+    {0x70, 0x02},
+
+    {0x40, 0x8a},  //2000K
+    {0x41, 0xe5},  
+    {0x42, 0x95},  //3100K
+    {0x43, 0xba},  
+    {0x44, 0xbc},  //5100K
+    {0x45, 0x99},        
+
+    {0x34, 0x24},
+    {0x35, 0x10},
+    {0x36, 0x13},
+    {0x37, 0x04},
+    {0x38, 0x10},
+    {0x39, 0x28},
+    {0x3a, 0x1e},
+    {0x3b, 0x2a},
+
+    {0x31, 0x00},  // skin tone[6], CW delete[5]  
+};
+
+#if 0
+s5k3ba_t s5k3ba_vga_reg[] =
+{
+	/* Only for VGA Mode */
+		{0xec,0x07},	//bpr by pyo
+		{0x21,0x9c},
+		{0x22,0x58},
+		{0xec,0x00},
+		{0x87,0x00},
+		{0x86,0x48},	//bpr by pyo
+
+		{0xec,0x02},
+		{0x02,0x0d},  //9bit
+		{0x1f,0x07},  //global gain
+
+		{0xec,0x01},
+		{0x21,0x40},
+		{0x22,0x40},
+		{0x23,0x00},
+		{0x24,0x00},
+
+		{0xec,0x00},
+		{0x7b,0x00},
+		{0x73,0x51},
+		{0x02,0x31},
+};
+
+/* SXGA */
+s5k3ba_t s5k3ba_sxga_reg[] =
+{
+	{0xec,0x07},
+	{0x21,0x90},
+	{0x22,0x60},
+	{0xec,0x00},
+	{0x87,0x00},
+	{0x86,0x20},
+
+	{0xec,0x02},
+	{0x02,0x0f},
+	{0x1f,0x0f},
+		{0xec,0x01},
+	{0x21,0x50},
+	{0x22,0x50},
+	{0x23,0x10},
+	{0x24,0x10},
+	{0xec,0x00},
+	{0x7b,0xff},
+	{0x73,0x00},
+	{0x02,0x00},
+};
+#endif
+
+#define S5K3BA_INIT_REGS	(sizeof(s5k3ba_init_reg) / sizeof(s5k3ba_init_reg[0]))
+#define S5K3BA_VGA_REGS		(sizeof(s5k3ba_vga_reg) / sizeof(s5k3ba_vga_reg[0]))
+#define S5K3BA_SXGA_REGS	(sizeof(s5k3ba_sxga_reg) / sizeof(s5k3ba_sxga_reg[0]))
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s5k4ba.c linux-2.6.28.6/drivers/media/video/samsung/fimc/s5k4ba.c
--- linux-2.6.28/drivers/media/video/samsung/fimc/s5k4ba.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s5k4ba.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,211 @@
+/* linux/drivers/media/video/samsung/s5k4ba.c
+ *
+ * Samsung S5K4BA CMOS Image Sensor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/i2c.h>
+#include <linux/i2c-id.h>
+#include <linux/slab.h>
+#include <linux/string.h>
+#include <linux/init.h>
+#include <asm/io.h>
+
+#include "s3c_fimc.h"
+#include "s5k4ba.h"
+
+#define S5K4BA_I2C_ADDR		0x5a
+
+const static u16 ignore[] = { I2C_CLIENT_END };
+const static u16 normal_addr[] = { (S5K4BA_I2C_ADDR >> 1), I2C_CLIENT_END };
+const static u16 *forces[] = { NULL };
+static struct i2c_driver s5k4ba_i2c_driver;
+
+static struct s3c_fimc_camera s5k4ba_data = {
+	.id 		= CONFIG_VIDEO_FIMC_CAM_CH,
+	.type		= CAM_TYPE_ITU,
+	.mode		= ITU_601_YCBCR422_8BIT,
+	.order422	= CAM_ORDER422_8BIT_YCBYCR,
+
+	/*
+	 * 20 fps: 44 MHz
+	 * 12 fps: 26 MHz (more stable)
+	 */
+	.clockrate	= 44000000,
+
+	.width		= 800,
+	.height		= 600,
+	.offset		= {
+		.h1 = 0,
+		.h2 = 0,
+		.v1 = 0,
+		.v2 = 0,
+	},
+
+	.polarity	= {
+		.pclk	= 0,
+		.vsync	= 1,
+		.href	= 0,
+		.hsync	= 0,
+	},
+
+	.initialized	= 0,
+};
+
+static struct i2c_client_address_data addr_data = {
+	.normal_i2c	= normal_addr,
+	.probe		= ignore,
+	.ignore		= ignore,
+	.forces		= forces,
+};
+
+static void s5k4ba_start(struct i2c_client *client)
+{
+	int i;
+
+	for (i = 0; i < S5K4BA_INIT_REGS; i++) {
+		s3c_fimc_i2c_write(client, s5k4ba_init_reg[i].subaddr, \
+					s5k4ba_init_reg[i].value);
+	}
+}
+
+static int s5k4ba_attach(struct i2c_adapter *adap, int addr, int kind)
+{
+	struct i2c_client *c;
+
+	c = kmalloc(sizeof(*c), GFP_KERNEL);
+	if (!c)
+		return -ENOMEM;
+
+	memset(c, 0, sizeof(struct i2c_client));	
+
+	strcpy(c->name, "s5k4ba");
+	c->addr = addr;
+	c->adapter = adap;
+	c->driver = &s5k4ba_i2c_driver;
+
+	s5k4ba_data.client = c;
+
+	info("s5k4ba attached successfully\n");
+
+	return i2c_attach_client(c);
+}
+
+static int s5k4ba_attach_adapter(struct i2c_adapter *adap)
+{
+	int ret = 0;
+
+	s3c_fimc_register_camera(&s5k4ba_data);
+
+	ret = i2c_probe(adap, &addr_data, s5k4ba_attach);
+	if (ret) {
+		err("failed to attach s5k4ba driver\n");
+		ret = -ENODEV;
+	}
+
+	return ret;
+}
+
+static int s5k4ba_detach(struct i2c_client *client)
+{
+	i2c_detach_client(client);
+
+	return 0;
+}
+
+static int s5k4ba_change_resolution(struct i2c_client *client, int res)
+{
+	int i;
+
+	switch (res) {
+	case CAM_RES_QSVGA:
+		for (i = 0; i < S5K4BA_QSVGA_REGS; i++) {
+			s3c_fimc_i2c_write(client, s5k4ba_qsvga_reg[i].subaddr,
+						s5k4ba_qsvga_reg[i].value);
+		}
+		break;
+
+	case CAM_RES_MAX:	/* fall through */
+	case CAM_RES_DEFAULT:	/* fall through */
+	case CAM_RES_SVGA:
+ 		for (i = 0; i < S5K4BA_SVGA_REGS; i++) {
+			s3c_fimc_i2c_write(client, s5k4ba_svga_reg[i].subaddr,
+						s5k4ba_svga_reg[i].value);
+		}
+		break;
+
+	default:
+		err("unexpect value\n");
+	}
+
+	return 0;
+}
+
+static int s5k4ba_change_whitebalance(struct i2c_client *client, enum s3c_fimc_wb_t type)
+{
+	s3c_fimc_i2c_write(client, 0xfc, 0x0);
+	s3c_fimc_i2c_write(client, 0x30, type);
+
+	return 0;
+}
+
+static int s5k4ba_command(struct i2c_client *client, u32 cmd, void *arg)
+{
+	switch (cmd) {
+	case I2C_CAM_INIT:
+		s5k4ba_start(client);
+		info("external camera initialized\n");
+		break;
+
+	case I2C_CAM_RESOLUTION:
+		s5k4ba_change_resolution(client, (int) arg);
+		break;
+
+	case I2C_CAM_WB:
+		s5k4ba_change_whitebalance(client, (enum s3c_fimc_wb_t) arg);
+        	break;
+
+	default:
+		err("unexpect command\n");
+		break;
+	}
+
+	return 0;
+}
+
+static struct i2c_driver s5k4ba_i2c_driver = {
+	.driver = {
+		.name = "s5k4ba",
+	},
+	.id = I2C_DRIVERID_S5K4BA,
+	.attach_adapter = s5k4ba_attach_adapter,
+	.detach_client = s5k4ba_detach,
+	.command = s5k4ba_command,
+};
+
+static __init int s5k4ba_init(void)
+{
+	return i2c_add_driver(&s5k4ba_i2c_driver);
+}
+
+static __init void s5k4ba_exit(void)
+{
+	i2c_del_driver(&s5k4ba_i2c_driver);
+}
+
+module_init(s5k4ba_init)
+module_exit(s5k4ba_exit)
+
+MODULE_AUTHOR("Jinsung, Yang <jsgood.yang@samsung.com>");
+MODULE_DESCRIPTION("Samsung S5K4BA I2C based CMOS Image Sensor driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimc/s5k4ba.h linux-2.6.28.6/drivers/media/video/samsung/fimc/s5k4ba.h
--- linux-2.6.28/drivers/media/video/samsung/fimc/s5k4ba.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimc/s5k4ba.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,2284 @@
+/* linux/drivers/media/video/samsung/s5k4ba.h
+ *
+ * Header file for Samsung S5K4BA CMOS Image Sensor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _S5K4BA_H_
+#define _S5K4BA_H_
+
+typedef struct s3c_fimc_i2c_value {
+	u8 subaddr;
+	u8 value;
+} s5k4ba_t;
+
+/* SVGA init */
+#if 1
+s5k4ba_t s5k4ba_init_reg[] =
+{
+	{0xfc,0x07},
+	{0x66,0x01},    // Watch Dog Time On
+	{0xfc,0x00},
+	{0x00,0xAA},	// For EDS Check
+	{0x21,0x03},	// peter0223
+	{0xfc,0x01},
+	{0x04,0x01},	// ARM Clock Divider
+
+	{0xfc,0x02},
+	{0x30,0x90},	// Analog offset
+	{0x37,0x0d}, 	// Global Gain
+	{0x2d,0x48},	// Double Shutter
+	{0x60,0x00},	// Blank_Adrs
+
+	{0x45,0x1e},	//0e// CDS Timing for Average Sub_Sampling
+	{0x47,0x2f},
+	{0x02,0x0e},	// ADC Resolution
+	{0x3d,0x06},	// Frame ADLC
+	{0x4d,0x08},	// Doubler Volatage
+	{0x54,0x02},	// Double Shutter
+	{0x55,0x1e},	// Line ADLC
+	{0x56,0x30},	//
+	{0x59,0x00},	// LineADLC offset
+	{0x5b,0x08},	// R_Ref_Ctrl
+	{0x44,0x63},	// CLP_EN
+	{0x4A,0x10},	// Clamp Control
+	{0x42,0x02},	//
+	{0x43,0xef},	//
+
+	//==========================================================
+	//	Table Set for Sub-Sampling
+	//==========================================================
+	{0xfc,0x03},
+	{0x2c,0x00},	// crcb_sel for Sub-Sampling Table
+	{0x05,0x46},	// Output Image Size Set for Capture
+	{0x07,0xb6},
+	{0x0e,0x04},
+	{0x12,0x03},
+
+	{0xfc,0x04},
+	{0x32,0x04},
+	{0x33,0xbc},
+
+	{0xfc,0x04},
+	{0xc5,0x26},	// Output Image Size Set for Preview
+	{0xc7,0x5e},
+	{0xce,0x04},
+	{0xd2,0x04},
+
+	{0xec,0x06},	//CrCb sel = YCBYCR(0x06) by jsgood
+	{0xc0,0x06},
+	{0xc1,0x70},
+	{0xc2,0x02},
+	{0xc3,0x87},
+
+	{0xfc,0x07},
+	{0x05,0x00},
+	{0x06,0x00},
+	{0x07,0x8b},
+	{0x08,0xf5},
+	{0x09,0x00},
+	{0x0a,0xb4},
+	{0x0b,0x00},
+	{0x0c,0xea},
+	{0x0d,0x00},
+	{0x0e,0x40},
+
+	{0xfc,0x00},
+	{0x70,0x02},
+
+	// Jeongyun added still shot cbcr_sel
+	{0xfc,0x03},
+	{0x2c,0x00},
+	{0x5c,0x00},
+	{0x8c,0x00},
+	{0xbc,0x00},
+	{0xfc,0x04},
+	{0x5c,0x00},
+
+
+	//==========================================================
+	//	COMMAND SET
+	//==========================================================
+	{0xfc,0x00},
+	{0x73,0x21},	// Frmae AE Enable peter
+	{0x20,0x02},	// Change AWB Mode
+
+	{0xfc,0x00},
+	{0x6c,0xb0},	// AE target
+	{0x6d,0x00},
+	
+	{0xfc,0x20},
+	{0x16,0x5a},	// for Prevating AE Hunting
+	
+	{0xfc,0x00},
+	{0x78,0x6a},	// AGC Max
+	{0xfc,0x20},
+	{0x16,0x60},	// Frame AE Start
+
+	{0xfc,0x20},
+	{0x57,0x18},	// Stable_Frame_AE
+	{0x2C,0x30},	// For Forbidden Area
+	{0x2E,0x00},	// For Forbidden Area
+	{0x14,0x70},
+	{0x01,0x00},	// Stepless_Off
+
+	{0xfc,0x07},
+	{0x11,0x02},	// AWB G Gain offset
+	
+	{0xfc,0x07},
+	{0x3e,0x0a},	// AWB Cut R max
+	
+	{0xfc,0x01},
+	{0xc8,0xd0},	// AWB Y Max e0
+	{0xfc,0x00},
+	{0x3e,0x20},	//30 AWB Y_min
+	{0x3d,0x10},	// AWB Y_min Low
+	{0xfc,0x22},
+	{0x8c,0x04},	// AWB Min Y Weight
+	{0x8d,0x16},	// AWB Max Y Weight
+
+	{0xfc,0x00},
+	{0x32,0x04},	// AWB moving average 8 frame
+	{0x81,0x10},	// AWB G gain suppress Disable
+	{0xbc,0xf0},
+	
+	{0x29,0x04},	// Y level H
+	{0x2a,0x00},	// Y level L
+	{0x2b,0x03},	// color level H
+	{0x2c,0xc8},	// color level L
+	
+	{0xfc,0x07},
+	{0x37,0x00},	// Flicker Add for 32Mhz
+	{0xfc,0x00},
+	{0x72,0xa0},	// Flicker for 32MHz
+	{0x74,0x08},	// flicker 60Hz Fix
+
+	{0xfc,0x20},
+	{0x02,0x02},	// Flicker Dgain Mode
+	
+	{0xfc,0x00},
+	//{0x23,0x40},  // Mirror Option
+	{0x62,0x0a},	// Mirror Option	 	
+	
+	{0xfc,0x02},
+	{0x4e,0x00},	// IO current 8mA set
+	{0x4e,0x00},	// IO current 8mA set
+	{0x4e,0x00},	// IO current 8mA set
+	{0x4e,0x00},	// IO current 8mA set
+	{0x4f,0x0a},	// 2a IO current 48mA set
+	{0x4f,0x0a},	// IO current 48mA set
+	{0x4f,0x0a},	// IO current 48mA set
+	{0x4f,0x0a},	// IO current 48mA set
+	
+	{0xfc,0x01},
+	{0x0c,0x03},	// Full YC Enable
+	//{0x0c,03},	// Full YC Enable
+	//{0x02,02},	// crcb_sel
+	//{0x02,02},	// crcb_sel  peter0222
+	//{0x01,01},	// pclk      peter0222
+	//{0x01,01},
+
+	//==========================================================
+	//	COLOR MATRIX
+	//==========================================================
+	{0xfc,0x01},	// color matrix
+	{0x51,0x0A},
+	{0x52,0x42},
+	{0x53,0xF9},
+	{0x54,0x80},
+	{0x55,0x00},
+	{0x56,0x3D},
+
+	{0x57,0xFE},
+	{0x58,0x0B},
+	{0x59,0x06},
+	{0x5A,0x9C},
+	{0x5B,0xFF},
+	{0x5C,0x59},
+
+	{0x5D,0xFF},
+	{0x5E,0xD8},
+	{0x5F,0xFC},
+	{0x60,0x2E},  	
+	{0x61,0x07},
+	{0x62,0xFA},
+
+	//==========================================================
+	//	EDGE ENHANCEMENT
+	//==========================================================
+	{0xfc,0x00},
+	{0x89,0x03},	// Edge Suppress On
+	{0xfc,0x0b},
+	{0x42,0x50},	// Edge AGC MIN
+	{0x43,0x60},	// Edge AGC MAX
+	{0x45,0x18},	// positive gain AGC MIN
+	{0x49,0x0a},	// positive gain AGC MAX
+	{0x4d,0x18},	// negative gain AGC MIN
+	{0x51,0x0a},	// negative gain AGC MAX
+	
+	{0xfc,0x05},
+	{0x34,0x20},	// APTCLP
+	{0x35,0x09},	// APTSC
+	{0x36,0x0b},	// ENHANCE
+	{0x3f,0x00},	// NON-LIN
+	{0x42,0x10},	// EGFALL
+	{0x43,0x00},	// HLFALL
+	{0x45,0xa0},	// EGREF
+	{0x46,0x7a},	// HLREF
+	{0x47,0x40},	// LLREF
+	{0x48,0x0c},
+	{0x49,0x31},	// CSSEL  EGSEL  CS_DLY
+	
+	{0x40,0x41},	// Y delay
+
+	//==========================================================
+	//	GAMMA
+	//==========================================================                                                                                                                                         -
+	{0xfc,0x01},
+
+	{0x6F,0x0A},	// R
+	{0x70,0x1A},
+	{0x71,0x7A},
+	{0x72,0xF8},
+	{0x73,0x00},
+
+	{0x74,0xA0},
+	{0x75,0x18},
+	{0x76,0x65},
+	{0x77,0xAD},
+	{0x78,0x6A},
+
+	{0x79,0xE2},
+	{0x7A,0x12},
+	{0x7B,0x3D},
+	{0x7C,0x5A},
+	{0x7D,0xBF},
+
+	{0x7E,0x72},
+	{0x7F,0x88},
+	{0x80,0x9D},
+	{0x81,0xB0},
+	{0x82,0xFF},
+
+	{0x83,0xC0},
+	{0x84,0xCF}, 		
+	{0x85,0xDA}, 		
+	{0x86,0xFC},
+
+	{0x87,0x08},	//G
+	{0x88,0x12},
+	{0x89,0x42}, 	
+	{0x8A,0xBA}, 	
+	{0x8B,0x00},
+
+	{0x8C,0x75},
+	{0x8D,0xED},
+	{0x8E,0x42},
+	{0x8F,0x80},
+	{0x90,0x5A},
+
+	{0x91,0xB5},
+	{0x92,0xE5},
+	{0x93,0x10},
+	{0x94,0x35},
+	{0x95,0xAF},
+
+	{0x96,0x55},
+	{0x97,0x70},
+	{0x98,0x88},
+	{0x99,0x9D},
+	{0x9A,0xFF},
+
+	{0x9B,0xB1},
+	{0x9C,0xC4},
+	{0x9D,0xD5},
+	{0x9E,0xFC},
+
+	{0x9F,0x05},	//B
+	{0xA0,0x18},
+	{0xA1,0x42},
+	{0xA2,0xd7}, 		
+	{0xA3,0x00},
+
+	{0xA4,0xB6},
+	{0xA5,0x3b},
+	{0xA6,0x88},
+	{0xA7,0xC8},
+	{0xA8,0x6A},
+
+	{0xA9,0x00},
+	{0xAA,0x30},
+	{0xAB,0x58},
+	{0xAC,0x78},
+	{0xAD,0xFF},
+
+	{0xAE,0x90},
+	{0xAF,0xA5},
+	{0xB0,0xB6},
+	{0xB1,0xC5},
+	{0xB2,0xFF},
+
+	{0xB3,0xD0},
+	{0xB4,0xD6},
+	{0xB5,0xDA},
+	{0xB6,0xFC},
+
+	//==========================================================
+	//	HUE CONTROL
+	//==========================================================
+	{0xfc,0x00},
+	{0x48,0x34},	// 2000K
+	{0x49,0x34},
+	{0x4a,0xf4},
+	{0x4b,0x00},
+	{0x4c,0x44},
+	{0x4d,0x3c},
+	{0x4e,0xf0},
+	{0x4f,0x0c},
+	
+	{0x50,0x34},	// 3000K
+	{0x51,0x34},
+	{0x52,0xf4},
+	{0x53,0x00},
+	{0x54,0x44},
+	{0x55,0x3c},
+	{0x56,0xf0},
+	{0x57,0x0c},
+	
+	{0x58,0x34},	// 5100K
+	{0x59,0x30},
+	{0x5a,0x00},
+	{0x5b,0x04},
+	{0x5c,0x40},
+	{0x5d,0x2c},
+	{0x5e,0xfc},
+	{0x5f,0x04},
+	//==========================================================
+	//	UPPRE0x0x FUNCTION
+	//==========================================================
+	{0xfc,0x00},
+	{0x7e,0xf4},
+	
+	//==========================================================
+	//	BPR
+	//==========================================================
+	{0xfc,0x01},
+	{0x3d,0x10},
+	
+	{0xfc,0x0b},
+	{0x0b,0x00},	// ISP BPR On start
+	{0x0c,0x20},	// Th13 AGC Min
+	{0x0d,0x40},	// Th13 AGC Max
+	{0x0e,0x00},	// Th1 Max H for AGCMIN
+	{0x0f,0x20},	// Th1 Max L for AGCMIN
+	{0x10,0x00},	// Th1 Min H for AGCMAX
+	{0x11,0x10},	// Th1 Min L for AGCMAX
+	{0x12,0x00},	// Th3 Max H for AGCMIN
+	{0x13,0x00},	// Th3 Max L for AGCMIN
+	{0x14,0xff},	// Th3 Min H for AGCMAX
+	{0x15,0xff},	// Th3 Min L for AGCMAX
+	{0x16,0x20},	// Th57 AGC Min
+	{0x17,0x40},	// Th57 AGC Max
+	{0x18,0x00},	// Th5 Max H for AGCMIN
+	{0x19,0x00},	// Th5 Max L for AGCMIN
+	{0x1a,0x00},	// Th5 Min H for AGCMAX
+	{0x1b,0x20},	// Th5 Min L for AGCMAX
+	{0x1c,0x00},	// Th7 Max H for AGCMIN
+	{0x1d,0x00},	// Th7 Max L for AGCMIN
+	{0x1e,0x00},	// Th7 Min H for AGCMAX
+	{0x1f,0x20},	// Th7 Min L for AGCMAX
+
+	//==========================================================
+	//	GR/GB CORRECTION
+	//==========================================================
+	{0xfc,0x01},
+	{0x45,0x0c},   	
+	
+	{0xfc,0x0b},
+	{0x21,0x00},	// start AGC
+	{0x22,0x18},	// AGCMIN
+	{0x23,0x58},	// AGCMAX
+	{0x24,0x0d}, 	// G Th AGCMIN
+	{0x25,0x30}, 	// G Th AGCMAX
+	{0x26,0x0d}, 	// RB Th AGCMIN
+	{0x27,0x30}, 	// RB Th AGCMAX
+	
+	//==========================================================
+	//	NR
+	//==========================================================
+	{0xfc,0x01},
+	{0x4C,0x01},	// NR Enable
+	{0x49,0x15},	// Sig_Th Mult
+	{0x4B,0x0A},	// Pre_Th Mult
+	
+	{0xfc,0x0b},
+	{0x28,0x00},	// NR start AGC	
+	{0x29,0x00},	// SIG Th AGCMIN H
+	{0x2a,0x14},	// SIG Th AGCMIN L
+	{0x2b,0x00},	// SIG Th AGCMAX H
+	{0x2c,0x14},	// SIG Th AGCMAX L
+	{0x2d,0x00},	// PRE Th AGCMIN H
+	{0x2e,0x90},	// PRE Th AGCMIN L
+	{0x2f,0x01},	// PRE Th AGCMAX H
+	{0x30,0x00},	// PRE Th AGCMAX L
+	{0x31,0x00},	// POST Th AGCMIN H
+	{0x32,0xa0},	// POST Th AGCMIN L
+	{0x33,0x01},	// POST Th AGCMAX H
+	{0x34,0x10},	// POST Th AGCMAX L
+	
+	//==========================================================
+	//	1D-Y/C-SIGMA-LPF
+	//==========================================================
+	{0xfc,0x01},
+	{0x05,0xc0},   	
+	
+	{0xfc,0x0b},
+	{0x35,0x00},	// YLPF start AGC
+	{0x36,0x40},	// YLPF01 AGCMIN
+	{0x37,0x60},	// YLPF01 AGCMAX
+	{0x38,0x00},	// YLPF SIG01 Th AGCMINH
+	{0x39,0x18},	// YLPF SIG01 Th AGCMINL
+	{0x3a,0x00},	// YLPF SIG01 Th AGCMAXH
+	{0x3b,0x40},	// YLPF SIG01 Th AGCMAXH
+	{0x3c,0x50},	// YLPF02 AGCMIN
+	{0x3d,0x60},	// YLPF02 AGCMAX
+	{0x3e,0x00},	// YLPF SIG02 Th AGCMINH
+	{0x3f,0x30},	// YLPF SIG02 Th AGCMINL
+	{0x40,0x00},	// YLPF SIG02 Th AGCMAXH
+	{0x41,0x40},	// YLPF SIG02 Th AGCMAXH
+	{0xd4,0x40},	// CLPF AGCMIN
+	{0xd5,0x60},	// CLPF AGCMAX
+	{0xd6,0xb0},	// CLPF SIG01 Th AGCMIN
+	{0xd7,0xf0},	// CLPF SIG01 Th AGCMAX
+	{0xd8,0xb0},	// CLPF SIG02 Th AGCMIN
+	{0xd9,0xf0},	// CLPF SIG02 Th AGCMAX
+
+	//==========================================================
+	//	COLOR SUPPRESS
+	//==========================================================
+	{0xfc,0x0b},
+	{0x08,0x58},	// Color suppress AGC MIN
+	{0x09,0x03},	// Color suppress MIN H
+	{0x0a,0x80},	// Color suppress MIN L
+	
+	//==========================================================
+	//	SHADING
+	//==========================================================
+	{0xfc,0x09},
+	 //Shading file for 3BAFX
+	//s90000// shading off
+	// DSP9_SH_WIDTH_H
+	{0x01,0x06},
+	{0x02,0x40},
+	// DSP9_SH_HEIGHT_H
+	{0x03,0x04},
+	{0x04,0xB0},
+	// DSP9_SH_XCH_R
+	{0x05,0x03},
+	{0x06,0x1A},
+	{0x07,0x02},
+	{0x08,0x4E},
+	// DSP9_SH_XCH_G
+	{0x09,0x03},
+	{0x0A,0x27},
+	{0x0B,0x02},
+	{0x0C,0x11},
+	// DSP9_SH_XCH_B
+	{0x0D,0x03},
+	{0x0E,0x15},
+	{0x0F,0x01},
+	{0x10,0xE3},
+	// DSP9_SH_Del_eH_R
+	{0x1D,0x85},
+	{0x1E,0x55},
+	{0x1F,0x77},
+	{0x20,0x9E},
+	{0x23,0x7F},
+	{0x24,0xE6},
+	{0x21,0x7F},
+	{0x22,0xE6},
+	// DSP9_SH_Del_eH_G
+	{0x25,0x82},
+	{0x26,0x9A},
+	{0x27,0x78},
+	{0x28,0xC0},
+	{0x2B,0x76},
+	{0x2C,0x07},
+	{0x29,0x86},
+	{0x2A,0x09},
+	// DSP9_SH_Del_eH_B
+	{0x2D,0x85},
+	{0x2E,0x55},
+	{0x2F,0x75},
+	{0x30,0x6D},
+	{0x33,0x74},
+	{0x34,0xA2},
+	{0x31,0x84},
+	{0x32,0xA2},
+	// DSP9_SH_VAL_R0H
+	{0x35,0x01},
+	{0x36,0x01},
+	{0x37,0x01},
+	{0x38,0x14},
+	{0x39,0x01},
+	{0x3A,0x45},
+	{0x3B,0x01},
+	{0x3C,0x8A},
+	{0x3D,0x01},
+	{0x3E,0xA3},
+	{0x3F,0x01},
+	{0x40,0xB9},
+	{0x41,0x01},
+	{0x42,0xD9},
+	{0x43,0x01},
+	{0x44,0xF6},
+	// DSP9_SH_VAL_G0H
+	{0x45,0x01},
+	{0x46,0x00},
+	{0x47,0x01},
+	{0x48,0x0E},
+	{0x49,0x01},
+	{0x4A,0x34},
+	{0x4B,0x01},
+	{0x4C,0x68},
+	{0x4D,0x01},
+	{0x4E,0x76},
+	{0x4F,0x01},
+	{0x50,0x94},
+	{0x51,0x01},
+	{0x52,0xAB},
+	{0x53,0x01},
+	{0x54,0xC3},
+	// DSP9_SH_VAL_B0H
+	{0x55,0x01},
+	{0x56,0x00},
+	{0x57,0x01},
+	{0x58,0x0C},
+	{0x59,0x01},
+	{0x5A,0x2B},
+	{0x5B,0x01},
+	{0x5C,0x5D},
+	{0x5D,0x01},
+	{0x5E,0x70},
+	{0x5F,0x01},
+	{0x60,0x8A},
+	{0x61,0x01},
+	{0x62,0xA1},
+	{0x63,0x01},
+	{0x64,0xB3},
+	// DSP9_SH_M_R2_R1H
+	{0x65,0x00},
+	{0x66,0x98},
+	{0x67,0x2C},
+	{0x68,0x02},
+	{0x69,0x60},
+	{0x6A,0xB0},
+	{0x6B,0x05},
+	{0x6C,0x59},
+	{0x6D,0x8C},
+	{0x6E,0x07},
+	{0x6F,0x48},
+	{0x70,0x1B},
+	{0x71,0x09},
+	{0x72,0x82},
+	{0x73,0xC0},
+	{0x74,0x0C},
+	{0x75,0x09},
+	{0x76,0x7B},
+	{0x77,0x0E},
+	{0x78,0xDC},
+	{0x79,0x4D},
+	// DSP9_SH_M_R2_G1H
+	{0x7A,0x00},
+	{0x7B,0xAD},
+	{0x7C,0x76},
+	{0x7D,0x02},
+	{0x7E,0xB5},
+	{0x7F,0xD7},
+	{0x80,0x06},
+	{0x81,0x19},
+	{0x82,0x23},
+	{0x83,0x08},
+	{0x84,0x4C},
+	{0x85,0xE2},
+	{0x86,0x0A},
+	{0x87,0xD7},
+	{0x88,0x5C},
+	{0x89,0x0D},
+	{0x8A,0xB8},
+	{0x8B,0x90},
+	{0x8C,0x10},
+	{0x8D,0xF0},
+	{0x8E,0x7F},
+	// DSP9_SH_M_R2_B1H
+	{0x8F,0x00},
+	{0x90,0xC1},
+	{0x91,0xD0},
+	{0x92,0x03},
+	{0x93,0x07},
+	{0x94,0x3F},
+	{0x95,0x06},
+	{0x96,0xD0},
+	{0x97,0x4F},
+	{0x98,0x09},
+	{0x99,0x46},
+	{0x9A,0x32},
+	{0x9B,0x0C},
+	{0x9C,0x1C},
+	{0x9D,0xFE},
+	{0x9E,0x0F},
+	{0x9F,0x54},
+	{0xA0,0xB1},
+	{0xA1,0x12},
+	{0xA2,0xED},
+	{0xA3,0x4C},
+	// DSP9_SH_SUB_RR0H
+	{0xA4,0x6B},
+	{0xA5,0xAA},
+	{0xA6,0x23},
+	{0xA7,0xE3},
+	{0xA8,0x15},
+	{0xA9,0x88},
+	{0xAA,0x21},
+	{0xAB,0x20},
+	{0xAC,0x1C},
+	{0xAD,0xB6},
+	{0xAE,0x19},
+	{0xAF,0x55},
+	{0xB0,0x16},
+	{0xB1,0xAA},
+	// DSP9_SH_SUB_RG0H
+	{0xB2,0x5E},
+	{0xB3,0x74},
+	{0xB4,0x1F},
+	{0xB5,0x7C},
+	{0xB6,0x12},
+	{0xB7,0xE4},
+	{0xB8,0x1D},
+	{0xB9,0x10},
+	{0xBA,0x19},
+	{0xBB,0x30},
+	{0xBC,0x16},
+	{0xBD,0x39},
+	{0xBE,0x13},
+	{0xBF,0xE2},
+	// DSP9_SH_SUB_RB0H
+	{0xC0,0x54},
+	{0xC1,0x89},
+	{0xC2,0x1C},
+	{0xC3,0x2D},
+	{0xC4,0x10},
+	{0xC5,0xE8},
+	{0xC6,0x1A},
+	{0xC7,0x02},
+	{0xC8,0x16},
+	{0xC9,0x8A},
+	{0xCA,0x13},
+	{0xCB,0xE4},
+	{0xCC,0x11},
+	{0xCD,0xCC},
+
+	{0x00,0x02},  // {0xhading on
+
+	//==========================================================
+	//	X-SHADING
+	//==========================================================
+	{0xfc,0x1B},
+	{0x80,0x01},
+	{0x81,0x00},
+	{0x82,0x4C},
+	{0x83,0x00},
+	{0x84,0x86},
+	{0x85,0x03},
+	{0x86,0x5E},
+	{0x87,0x00},
+	{0x88,0x07},
+	{0x89,0xA4},
+	{0x90,0x00},
+	{0x91,0x12},
+	{0x92,0x00},
+	{0x93,0x12},
+	{0x94,0x00},
+	{0x95,0x12},
+	{0x96,0x00},
+	{0x97,0x12},
+	{0x98,0x00},
+	{0x99,0x12},
+	{0x9A,0x00},
+	{0x9B,0x12},
+	{0x9C,0x00},
+	{0x9D,0x12},
+	{0x9E,0x00},
+	{0x9F,0x12},
+	{0xA0,0x00},
+	{0xA1,0x12},
+	{0xA2,0x00},
+	{0xA3,0x12},
+	{0xA4,0x00},
+	{0xA5,0x12},
+	{0xA6,0x00},
+	{0xA7,0x12},
+	{0xA8,0x00},
+	{0xA9,0x12},
+	{0xAA,0x00},
+	{0xAB,0x12},
+	{0xAC,0x00},
+	{0xAD,0x12},
+	{0xAE,0x00},
+	{0xAF,0x12},
+	{0xB0,0x00},
+	{0xB1,0x12},
+	{0xB2,0x00},
+	{0xB3,0x12},
+	{0xB4,0x00},
+	{0xB5,0x12},
+	{0xB6,0x00},
+	{0xB7,0x15},
+	{0xB8,0x00},
+	{0xB9,0x12},
+	{0xBA,0x00},
+	{0xBB,0x12},
+	{0xBC,0x00},
+	{0xBD,0x12},
+	{0xBE,0x00},
+	{0xBF,0x12},
+	{0xC0,0x00},
+	{0xC1,0x12},
+	{0xC2,0x00},
+	{0xC3,0x12},
+	{0xC4,0x00},
+	{0xC5,0x12},
+	{0xC6,0x00},
+	{0xC7,0x12},
+	{0xC8,0x00},
+	{0xC9,0x12},
+	{0xCA,0x00},
+	{0xCB,0x12},
+	{0xCC,0x00},
+	{0xCD,0x12},
+	{0xCE,0x00},
+	{0xCF,0x12},
+	{0xD0,0x00},
+	{0xD1,0x12},
+	{0xD2,0x00},
+	{0xD3,0x12},
+	{0xD4,0x00},
+	{0xD5,0x12},
+		 // x-shading temp. correlation factor
+	{0xfc,0x0b},
+	{0xda,0x00},	// t0(3100K)
+	{0xdb,0xac},
+	{0xdc,0x01},	// tc(5100K)
+	{0xdd,0x30},	// default eeh
+	
+	{0xfc,0x00},
+	{0x81,0x10}, 	// xshading tem
+	
+	{0xfc,0x1b},
+	{0x80,0x01},	// X-Shading On
+
+	//==========================================================
+	//	AE WINDOW WEIGHT
+	//==========================================================
+	{0xfc,0x00},
+	{0x03,0x4b},	// AE Suppress On
+	
+	{0xfc,0x06},
+	{0x01,0x35},	// UXGA AE Window
+	{0x03,0xc2},
+	{0x05,0x48},
+	{0x07,0xb8},
+	{0x31,0x2a},	// Subsampling AE Window
+	{0x33,0x61},
+	{0x35,0x28},
+	{0x37,0x5c},
+	{0x39,0x28},
+	{0x3B,0x5A},
+	{0x3D,0x10},	// 1c
+	{0x3F,0x44},
+	
+	{0xfc,0x20},
+	{0x60,0x11},
+	{0x61,0x11},
+	{0x62,0x11},
+	{0x63,0x11},
+	{0x64,0x11},
+	{0x65,0x22},
+	{0x66,0x22},
+	{0x67,0x11},
+	{0x68,0x11},
+	{0x69,0x33},
+	{0x6a,0x33},
+	{0x6b,0x11},
+	{0x6c,0x12},
+	{0x6d,0x55},
+	{0x6e,0x55},
+	{0x6f,0x21},
+	{0x70,0x13},
+	{0x71,0x55},
+	{0x72,0x55},
+	{0x73,0x31},
+	{0x74,0x33},
+	{0x75,0x33},
+	{0x76,0x33},
+	{0x77,0x33},
+
+	//==========================================================
+	//	SAIT AWB
+	//==========================================================
+	//=================================
+	// White Point
+	//=================================
+	{0xfc,0x22},	// White Point (For Hue Control & MWB)
+	{0x01,0xD0},	// D65
+	{0x03,0x9B},
+	{0x05,0xC0},	// 5000K
+	{0x07,0xB8},
+	{0x09,0xA7},	// CWF
+	{0x0b,0xDC},
+	{0x0d,0x98},	// 3000K
+	{0x0f,0xE0},
+	{0x11,0x85},	// A
+	{0x12,0x00},
+	{0x13,0xF6},
+	{0x15,0x80},	// 2000K
+	{0x16,0x01},
+	{0x17,0x00},
+
+	//=================================
+	// Basic Setting
+	//=================================
+	{0xfc,0x22},
+	{0xA0,0x01},
+	{0xA1,0x3F},
+	{0xA2,0x0E},
+	{0xA3,0x65},
+	{0xA4,0x07},
+	{0xA5,0xF4},
+	{0xA6,0x11},
+	{0xA7,0xC8},
+	{0xA9,0x02},
+	{0xAA,0x43},
+	{0xAB,0x26},
+	{0xAC,0x1F},
+	{0xAD,0x02},
+	{0xAE,0x2C},
+	{0xAF,0x19},
+	{0xB0,0x0F},
+	
+	{0x94,0x3C},
+	{0x95,0xCC},
+	{0x96,0x5C},
+	{0x97,0x4D},
+	{0xD0,0xA8},
+	{0xD1,0x29},
+	{0xD2,0x39},
+	{0xD3,0x22},
+	{0xD4,0x30},
+	{0xDB,0x29},
+	{0xDC,0x7E},
+	{0xDD,0x22},
+
+	{0xE7,0x00},
+	{0xE8,0xca},
+	{0xE9,0x00},
+	{0xEA,0x62},
+	{0xEB,0x00},
+	{0xEC,0x00},
+	{0xEE,0x97},
+	
+	//=================================
+	// Pixel Filter Setting
+	//=================================
+	{0xFC,0x07},
+	{0x95,0x8F},
+	
+	{0xfc,0x01},
+	{0xD3,0x4B},
+	{0xD4,0x00},
+	{0xD5,0x38},
+	{0xD6,0x00},
+	{0xD7,0x60},
+	{0xD8,0x00},
+	{0xD9,0x4E},
+	{0xDA,0x00},
+	{0xDB,0x27},
+	{0xDC,0x15},
+	{0xDD,0x23},
+	{0xDE,0xAD},
+	{0xDF,0x24},
+	{0xE0,0x01},
+	{0xE1,0x17},
+	{0xE2,0x4A},
+	{0xE3,0x36},
+	{0xE4,0x40},
+	{0xE5,0x40},
+	{0xE6,0x40},
+	{0xE7,0x40},
+	{0xE8,0x30},
+	{0xE9,0x3D},
+	{0xEA,0x17},
+	{0xEB,0x01},
+
+	//=================================
+	// Polygon AWB Region Tune
+	//=================================
+	{0xfc,0x22},
+	{0x18,0x00},	// 1
+	{0x19,0x5a},
+	{0x1a,0xf8},
+	{0x1b,0x00},	// 2
+	{0x1c,0x59},
+	{0x1d,0xCC},
+	{0x1e,0x00},	// 3
+	{0x1f,0x74},
+	{0x20,0xB3},
+	{0x21,0x00},	// 4
+	{0x22,0x86},
+	{0x23,0xA2},
+	{0x24,0x00},	// 5
+	{0x25,0x94},
+	{0x26,0x89},
+	{0x27,0x00},	// 6
+	{0x28,0xA6},
+	{0x29,0x76},
+	{0x2A,0x00},	// 7
+	{0x2B,0xd0},
+	{0x2C,0x5e},
+	{0x2D,0x00},	// 8
+	{0x2E,0xfa},
+	{0x2F,0x47},
+	{0x30,0x00},	// 9
+	{0x31,0xfD},
+	{0x32,0x5D},
+	{0x33,0x00},	// 10
+	{0x34,0xBB},
+	{0x35,0x7c},
+	{0x36,0x00},	// 11
+	{0x37,0xAD},
+	{0x38,0x88},
+	{0x39,0x00},	// 12
+	{0x3A,0x9A},
+	{0x3B,0xA3},
+	{0x3C,0x00},	// 13
+	{0x3D,0x7C},
+	{0x3E,0xDD},
+	{0x3F,0x00},	// 14
+	{0x40,0x00},
+	{0x41,0x00},
+
+	//=================================
+	// Moving Equation Weight
+	//=================================
+	{0xfc,0x22},
+	{0x98,0x07},
+
+	//=================================
+	// EIT Threshold
+	//=================================
+	{0xfc,0x22},
+	{0xb1,0x00},  	// {0xunny
+	{0xb2,0x03},
+	{0xb3,0x00},
+	{0xb4,0xc1},
+	
+	{0xb5,0x00},	// Cloudy
+	{0xb6,0x05},
+	{0xb7,0xc9},
+	{0xb9,0x81},
+	
+	{0xd7,0x00},	// Shade
+	{0xd8,0x35},
+	{0xd9,0x20},
+	{0xda,0x81},
+
+	//=================================
+	// Gain Offset
+	//=================================
+	{0xfc,0x00},
+	{0x79,0xF9},
+	{0x7A,0x02},	// Global AWB gain off{0xet
+	
+	{0xfc,0x22},
+	{0x58,0xf6}, 	// D65 R Off{0xet
+	{0x59,0xff}, 	// D65 B Off{0xet
+	{0x5A,0xfa}, 	// 5000K R Off{0xet
+	{0x5B,0xFe}, 	// 5000K B Off{0xet
+	{0x5C,0xfb}, 	// CWF R Off{0xet
+	{0x5D,0xFe}, 	// CWF B Off{0xet
+	{0x5E,0xfb},	// 3000K R Off{0xet
+	{0x5F,0xFb},	// 3000K B Off{0xet
+	{0x60,0xfb},	// A R Off0xet
+	{0x61,0xfb},	// A B Off0xet
+	{0x62,0xfb}, 	// 2000K R Off0xet
+	{0x63,0xfb}, 	// 2000K B Off0xet
+	
+	{0xde,0x00},	// LARGE OBJECT BUG FIX
+	{0xf0,0x6a},	// RB Ratio
+	//=================================
+	// Green Stablity Enhance
+	//=================================
+	{0xfc,0x22},
+	{0xb9,0x00},
+	{0xba,0x00},
+	{0xbb,0x00},
+	{0xbc,0x00},
+	{0xe5,0x01},
+	{0xe6,0xff},
+
+	{0xbd,0x90},
+
+	//==========================================================
+	//	Special Effect
+	//==========================================================
+	{0xfc,0x07},	// Special Effect
+	{0x30,0xc0},
+	{0x31,0x20},
+	{0x32,0x40},
+	{0x33,0xc0},
+	{0x34,0x00},
+	{0x35,0xb0},
+
+	{0xfc,0x00},
+	{0x73,0x21},	// Frmae AE Enable}, peter0223 ��ġ ����
+
+	{0xfc,0x04},
+	{0xc0,0x06},
+	{0xc1,0x70},
+	{0xFF,0xFF}	// REGISTER END
+};
+#else
+s5k4ba_t s5k4ba_svga[] =
+{
+//==========================================================
+//	CAMERA INITIAL (Analog & Clock Setting)
+//==========================================================
+	{0xfc, 0x07},
+	{0x66, 0x01},// WDT
+	{0xfc, 0x00},
+	{0x00, 0xaa},// For EDS Check
+	{0x21, 0x03},// peter0223 added
+
+	{0xfc, 0x01},
+	{0x04, 0x01},// ARM Clock Divider
+
+	{0xfc, 0x02},// Analog setting
+	{0x55, 0x1e},// LineADLC on(s551a), off(s550a)
+	{0x56, 0x10},// BPR 16code
+	{0x30, 0x82},// Analog offset (capture =?h)
+	{0x37, 0x25},// Global Gain (default:31)
+
+	{0x57, 0x80},// // LineADLC Roffset
+	{0x58, 0x80},//89	//90  // LineADLC Goffset
+	{0x59, 0x80},//90  // LineADLC offset don't care
+
+	{0x44, 0x64},//clamp en[6]=1 on
+	{0x4a, 0x30},//clamp level 0011h [7]~[4]
+
+	{0x2d, 0x48},// double shutter (default:00)
+	{0x4d, 0x08},// Voltage doubler (default:04)
+	{0x4e, 0x00},// IO current 8mA set
+	{0x4f, 0x8a},// IO current 48mA set
+
+	{0x66, 0x41},// 1st comp current 2uA
+	{0x43, 0xef},// ec_comp
+	{0x62, 0x60},// LD control , CFPN_EN off
+
+//==========================================================
+//	Table Set for Sub-Sampling
+//==========================================================
+	{0xfc, 0x03},
+	{0x01, 0x60},
+	//{0x2e, 0x00},
+	{0x2e, 0x03},//DHL
+	{0x05, 0x46},// Output Image Size Set for Capture
+	{0x07, 0xb6},
+	{0x0e, 0x04},
+	{0x12, 0x03},
+
+	{0xfc, 0x04},
+	{0xc5, 0x26},// Output Image Size Set for Preview
+	{0xc7, 0x5e},
+	{0xce, 0x04},
+	{0xd2, 0x04},
+	//{0xee, 0x00},//DHL
+	{0xee, 0x01},
+	{0xc0, 0x06},
+	{0xc1, 0x60},//frame_H
+	{0xc2, 0x02},
+	{0xc3, 0x8d},//frame_V
+
+	{0xfc, 0x07},
+	{0x05, 0x00},
+	{0x06, 0x00},
+	{0x07, 0x8b},
+	{0x08, 0xf5},
+	{0x09, 0x00},
+	{0x0a, 0xb4},
+	{0x0b, 0x00},
+	{0x0c, 0xea},
+	{0x0d, 0x00},
+	{0x0e, 0x40},
+
+#if 1
+//==========================================================
+//	COMMAND SET
+//==========================================================
+	{0xfc, 0x00},
+	{0x70, 0x02},
+
+	{0xfc, 0x00},
+	{0x73, 0x11},//21 Frmae AE Enable, peter0223
+	{0x20, 0x02},// Change AWB Mode
+
+	{0xfc, 0x00},
+	{0x78, 0x6a},// AGC Max
+
+	{0xfc, 0x00},
+	{0x6c, 0xa0},// AE target
+	{0x6d, 0x00},
+
+	{0xfc, 0x20},
+	{0x16, 0x5a},// AGC frame AE start _for Prevating AE Hunting
+	{0x57, 0x18},// Stable_Frame_AE
+
+	{0xfc, 0x00},
+	{0x83, 0x06},//low condition shutter off // Double shutter off
+
+	{0xfc, 0x0b},
+	{0x5c, 0x69},//70	//AGC value to start shutter on/off suppress
+	{0x5d, 0x65},//60   //AGC value to start double shutter on/off suppress
+
+	{0xfc, 0x20},
+	{0x25, 0x00},// CINTR Min
+	{0x2a, 0x01},// forbidden
+	{0x2b, 0x02},// For Forbidden Area
+	{0x2c, 0x0a},
+	{0x2d, 0x00},// For Forbidden Area
+	{0x2e, 0x00},
+	{0x2f, 0x05},// forbidden
+	{0x14, 0x78},//70
+	{0x01, 0x00},// Stepless_Off
+
+	{0xfc, 0x00},
+	{0x29, 0x04},// Y level
+	{0x2a, 0x00},
+	{0x2b, 0x03},// C level
+	{0x2c, 0x80},//60
+
+	{0xfc, 0x07},
+	{0x37, 0x00},// Flicker
+
+	{0xfc, 0x00},
+	{0x72, 0xa0},// Flicker for 32MHz
+	{0x74, 0x08},// flicker 60Hz fix
+	{0xfc, 0x20},
+	{0x02, 0x12},//02 Flicker Dgain Mode
+	{0xfc, 0x00},
+	{0x62, 0x02},// Hue Control Enable
+
+	{0xfc, 0x01},
+	//{0x0c, 0x02},// Full YC Enable
+	{0x0C, 0x03},//Donghoon
+
+
+//==========================================================
+//	COLOR MATRIX
+//==========================================================
+	{0xfc, 0x01},	//DL gain 60
+	{0x51, 0x08},	//06	//08  07
+	{0x52, 0xe8},	//df	//9B  E7
+	{0x53, 0xfc},	//fd	//FC  FB
+	{0x54, 0x33},	//09	//07  B9
+	{0x55, 0xfe},	//00	//FF  00
+	{0x56, 0xe6},	//17	//5E  5F
+	{0x57, 0xfe},	//fe	//FD  FD
+	{0x58, 0x3d},	//4f	//0E  46
+	{0x59, 0x08},	//06	//07  05
+	{0x5a, 0x21},	//9b	//EE  E6
+	{0x5b, 0xfd},	//ff	//FF  00
+	{0x5c, 0xa3},	//17	//05  D3
+	{0x5d, 0xff},	//ff	//FF  FF
+	{0x5e, 0xbc},	//81	//7A  53
+	{0x5f, 0xfc},	//fd	//FC  FB
+	{0x60, 0x96},	//5b	//23  B1
+	{0x61, 0x07},	//07	//08  08
+	{0x62, 0xaf},	//24	//64  FD	
+
+//==========================================================
+//	EDGE ENHANCEMENT
+//==========================================================
+	{0xfc, 0x05},
+	{0x12, 0x3d},
+	{0x13, 0x3b},
+	{0x14, 0x38},
+	{0x15, 0x3b},
+	{0x16, 0x3d},
+
+	{0x17, 0x3b},
+	{0x18, 0x05},
+	{0x19, 0x09},
+	{0x1a, 0x05},
+	{0x1b, 0x3b},
+
+	{0x1c, 0x38},
+	{0x1d, 0x09},
+	{0x1e, 0x1c},
+	{0x1f, 0x09},
+	{0x20, 0x38},
+
+	{0x21, 0x3b},
+	{0x22, 0x05},
+	{0x23, 0x09},
+	{0x24, 0x05},
+	{0x25, 0x3b},
+
+	{0x26, 0x3d},
+	{0x27, 0x3b},
+	{0x28, 0x38},
+	{0x29, 0x3b},
+	{0x2a, 0x3d},
+
+	{0xfc, 0x00},
+	{0x89, 0x00},// Edge Suppress On
+	{0xfc, 0x0b},
+	{0x42, 0x50},// Edge AGC MIN
+	{0x43, 0x60},// Edge AGC MAX
+	{0x45, 0x18},// positive gain AGC MIN
+	{0x49, 0x06},// positive gain AGC MAX
+	{0x4d, 0x18},// negative gain AGC MIN
+	{0x51, 0x06},// negative gain AGC MAX
+
+	{0xfc, 0x05},
+	{0x34, 0x28},// APTCLP
+	{0x35, 0x03},// APTSC
+	{0x36, 0x0b},// ENHANCE
+	{0x3f, 0x00},// NON-LIN
+	{0x42, 0x10},// EGFALL
+	{0x43, 0x00},// HLFALL
+	{0x45, 0xa0},// EGREF
+	{0x46, 0x7a},// HLREF
+	{0x47, 0x40},// LLREF
+	{0x48, 0x0c},
+	{0x49, 0x31},// CSSEL  EGSEL  CS_DLY
+
+	{0x40, 0x41},// Y delay
+
+	// New Wide Luma Edge
+	{0xfc, 0x1d},
+	{0x86, 0x00},
+	{0x87, 0x60},
+	{0x88, 0x01},
+	{0x89, 0x20},
+	{0x8a, 0x00},
+	{0x8b, 0x00},
+	{0x8c, 0x00},
+	{0x8d, 0x00},
+	{0x8e, 0x00},
+	{0x8f, 0x20},
+	{0x90, 0x00},
+	{0x91, 0x00},
+	{0x92, 0x00},
+	{0x93, 0x0a},
+	{0x94, 0x00},
+	{0x95, 0x00},
+	{0x96, 0x00},
+	{0x97, 0x20},
+	{0x98, 0x00},
+	{0x99, 0x00},
+	{0x9a, 0xff},
+	{0x9b, 0xea},
+	{0x9c, 0xaa},
+	{0x9d, 0xab},
+	{0x9e, 0xff},
+	{0x9f, 0xf1},
+	{0xa0, 0x55},
+	{0xa1, 0x56},
+	{0xa2, 0x07},
+
+	{0x85, 0x01},
+
+//==========================================================
+//	GAMMA
+//==========================================================
+	{0xfc, 0x1d},
+	{0x00, 0x0b},
+	{0x01, 0x18},
+	{0x02, 0x3d},
+	{0x03, 0x9c},
+	{0x04, 0x00},
+	{0x05, 0x0c},
+	{0x06, 0x76},
+	{0x07, 0xc2},
+	{0x08, 0x00},
+	{0x09, 0x56},
+	{0x0a, 0x34},
+	{0x0b, 0x60},
+	{0x0c, 0x85},
+	{0x0d, 0xa7},
+	{0x0e, 0xaa},
+	{0x0f, 0xc6},
+	{0x10, 0xe2},
+	{0x11, 0xfc},
+	{0x12, 0x13},
+	{0x13, 0xab},
+	{0x14, 0x29},
+	{0x15, 0x3c},
+	{0x16, 0x4b},
+	{0x17, 0x5a},
+	{0x18, 0xff},
+	{0x19, 0x69},
+	{0x1a, 0x78},
+	{0x1b, 0x84},
+	{0x1c, 0x91},
+	{0x1d, 0xff},
+	{0x1e, 0x9c},
+	{0x1f, 0xa7},
+	{0x20, 0xb2},
+	{0x21, 0xbd},
+	{0x22, 0xff},
+	{0x23, 0xc7},
+	{0x24, 0xd2},
+	{0x25, 0xdb},
+	{0x26, 0xe4},
+	{0x27, 0xff},
+	{0x28, 0xec},
+	{0x29, 0xf5},
+	{0x2a, 0xf0},
+	{0x2b, 0x0b},
+	{0x2c, 0x18},
+	{0x2d, 0x3d},
+	{0x2e, 0x9c},
+	{0x2f, 0x00},
+	{0x30, 0x0c},
+	{0x31, 0x76},
+	{0x32, 0xc2},
+	{0x33, 0x00},
+	{0x34, 0x56},
+	{0x35, 0x34},
+	{0x36, 0x60},
+	{0x37, 0x85},
+	{0x38, 0xa7},
+	{0x39, 0xaa},
+	{0x3a, 0xc6},
+	{0x3b, 0xe2},
+	{0x3c, 0xfc},
+	{0x3d, 0x13},
+	{0x3e, 0xab},
+	{0x3f, 0x29},
+	{0x40, 0x3c},
+	{0x41, 0x4b},
+	{0x42, 0x5a},
+	{0x43, 0xff},
+	{0x44, 0x69},
+	{0x45, 0x78},
+	{0x46, 0x84},
+	{0x47, 0x91},
+	{0x48, 0xff},
+	{0x49, 0x9c},
+	{0x4a, 0xa7},
+	{0x4b, 0xb2},
+	{0x4c, 0xbd},
+	{0x4d, 0xff},
+	{0x4e, 0xc7},
+	{0x4f, 0xd2},
+	{0x50, 0xdb},
+	{0x51, 0xe4},
+	{0x52, 0xff},
+	{0x53, 0xec},
+	{0x54, 0xf5},
+	{0x55, 0xf0},
+	{0x56, 0x0b},
+	{0x57, 0x18},
+	{0x58, 0x3d},
+	{0x59, 0x9c},
+	{0x5a, 0x00},
+	{0x5b, 0x0c},
+	{0x5c, 0x76},
+	{0x5d, 0xc2},
+	{0x5e, 0x00},
+	{0x5f, 0x56},
+	{0x60, 0x34},
+	{0x61, 0x60},
+	{0x62, 0x85},
+	{0x63, 0xa7},
+	{0x64, 0xaa},
+	{0x65, 0xc6},
+	{0x66, 0xe2},
+	{0x67, 0xfc},
+	{0x68, 0x13},
+	{0x69, 0xab},
+	{0x6a, 0x29},
+	{0x6b, 0x3c},
+	{0x6c, 0x4b},
+	{0x6d, 0x5a},
+	{0x6e, 0xff},
+	{0x6f, 0x69},
+	{0x70, 0x78},
+	{0x71, 0x84},
+	{0x72, 0x91},
+	{0x73, 0xff},
+	{0x74, 0x9c},
+	{0x75, 0xa7},
+	{0x76, 0xb2},
+	{0x77, 0xbd},
+	{0x78, 0xff},
+	{0x79, 0xc7},
+	{0x7a, 0xd2},
+	{0x7b, 0xdb},
+	{0x7c, 0xe4},
+	{0x7d, 0xff},
+	{0x7e, 0xec},
+	{0x7f, 0xf5},
+	{0x80, 0xf0},
+
+//==========================================================
+//	HUE CONTROL
+//==========================================================
+	{0xfc, 0x00},
+	{0x48, 0x40},// 2000K
+	{0x49, 0x30},
+	{0x4a, 0x00},
+	{0x4b, 0x00},
+	{0x4c, 0x30},
+	{0x4d, 0x38},
+	{0x4e, 0x00},
+	{0x4f, 0x00},
+
+	{0x50, 0x40},// 3000K
+	{0x51, 0x30},
+	{0x52, 0x00},
+	{0x53, 0x00},
+	{0x54, 0x30},
+	{0x55, 0x38},
+	{0x56, 0x00},
+	{0x57, 0x00},
+
+	{0x58, 0x3c},//40	              // 5100K
+	{0x59, 0x30},//4a                   //40
+	{0x5a, 0x00},//0c                   //00
+	{0x5b, 0x00},//00
+	{0x5c, 0x30},//4a
+	{0x5d, 0x38},//40
+	{0x5e, 0x00},//f6                   //15
+	{0x5f, 0xfc},//00
+
+//==========================================================
+//	SUPPRESS FUNCTION
+//==========================================================
+	{0xfc, 0x00},
+	{0x7e, 0xf4},
+
+//==========================================================
+//	BPR
+//==========================================================
+	{0xfc, 0x0b},
+	{0x3d, 0x10},
+
+	{0xfc, 0x0b},
+	{0x0b, 0x00},
+	{0x0c, 0x40},
+	{0x0d, 0x5a},
+	{0x0e, 0x00},
+	{0x0f, 0x20},
+	{0x10, 0x00},
+	{0x11, 0x10},
+	{0x12, 0x00},
+	{0x13, 0x7f},
+	{0x14, 0x03},
+	{0x15, 0xff},
+	{0x16, 0x48},
+	{0x17, 0x60},
+	{0x18, 0x00},
+	{0x19, 0x00},
+	{0x1a, 0x00},
+	{0x1b, 0x20},
+	{0x1c, 0x00},
+	{0x1d, 0x00},
+	{0x1e, 0x00},
+	{0x1f, 0x20},
+
+//==========================================================  	
+//	GR/GB CORRECTION
+//==========================================================
+	{0xfc, 0x01},
+	{0x45, 0x0c},
+	{0xfc, 0x0b},
+	{0x21, 0x00},
+	{0x22, 0x40},
+	{0x23, 0x60},
+	{0x24, 0x0d},
+	{0x25, 0x20},
+	{0x26, 0x0d},
+	{0x27, 0x20},
+
+//==========================================================
+//	NR
+//==========================================================
+	{0xfc, 0x01},
+	{0x4c, 0x01},
+	{0x49, 0x15},
+	{0x4b, 0x0a},
+
+	{0xfc, 0x0b},
+	{0x28, 0x00},
+	{0x29, 0x00},
+	{0x2a, 0x14},
+	{0x2b, 0x00},
+	{0x2c, 0x14},
+	{0x2d, 0x00},
+	{0x2e, 0xD0},
+	{0x2f, 0x02},
+	{0x30, 0x00},
+	{0x31, 0x00},
+	{0x32, 0xa0},
+	{0x33, 0x00},
+	{0x34, 0xe0},
+
+//==========================================================
+//	1D-Y/C-SIGMA-LPF
+//==========================================================
+	{0xfc, 0x01},
+	{0x05, 0xC0},
+	
+	{0xfc, 0x0b},
+	{0x35, 0x00},
+	{0x36, 0x40},
+	{0x37, 0x60},
+	{0x38, 0x00},
+	{0x39, 0x18},
+	{0x3a, 0x00},
+	{0x3b, 0x40},
+	{0x3c, 0x50},
+	{0x3d, 0x60},
+	{0x3e, 0x00},
+	{0x3f, 0x30},
+	{0x40, 0x00},
+	{0x41, 0x40},
+	{0xd4, 0x40},
+	{0xd5, 0x60},
+	{0xd6, 0xb0},
+	{0xd7, 0xf0},
+	{0xd8, 0xb0},
+	{0xd9, 0xf0},
+
+//==========================================================
+//	COLOR SUPPRESS
+//==========================================================
+	{0xfc, 0x0b},
+	{0x08, 0x58},
+	{0x09, 0x03},
+	{0x0a, 0x00},
+
+//==========================================================
+//	SHADING
+//==========================================================
+	{0xfc, 0x09},
+
+	{0x01, 0x06},
+	{0x02, 0x40},
+
+	{0x03, 0x04},
+	{0x04, 0xB0},
+	
+	{0x05, 0x03},
+	{0x06, 0x20},
+	{0x07, 0x02},
+	{0x08, 0x91},
+	
+	{0x09, 0x03},
+	{0x0A, 0x25},
+	{0x0B, 0x02},
+	{0x0C, 0x64},
+	
+	{0x0D, 0x03},
+	{0x0E, 0x0F},
+	{0x0F, 0x02},
+	{0x10, 0x4E},
+	
+	{0x1D, 0x80},
+	{0x1E, 0x00},
+	{0x1F, 0x80},
+	{0x20, 0x00},
+	{0x23, 0x85},
+	{0x24, 0x52},
+	{0x21, 0x79},
+	{0x22, 0xE6},
+	
+	{0x25, 0x80},
+	{0x26, 0x00},
+	{0x27, 0x80},
+	{0x28, 0x00},
+	{0x2B, 0x81},
+	{0x2C, 0x48},
+	{0x29, 0x81},
+	{0x2A, 0x48},
+	
+	{0x2D, 0x80},
+	{0x2E, 0x00},
+	{0x2F, 0x80},
+	{0x30, 0x00},
+	{0x33, 0x7C},
+	{0x34, 0x45},
+	{0x31, 0x7D},
+	{0x32, 0x7D},
+
+	{0x35, 0x01},
+	{0x36, 0x00},
+	{0x37, 0x01},
+	{0x38, 0x11},
+	{0x39, 0x01},
+	{0x3A, 0x4E},
+	{0x3B, 0x01},
+	{0x3C, 0xAB},
+	{0x3D, 0x01},
+	{0x3E, 0xDC},
+	{0x3F, 0x02},
+	{0x40, 0x1A},
+	{0x41, 0x02},
+	{0x42, 0x6A},
+	{0x43, 0x02},
+	{0x44, 0xD3},
+	
+	{0x45, 0x01},
+	{0x46, 0x00},
+	{0x47, 0x01},
+	{0x48, 0x0E},
+	{0x49, 0x01},
+	{0x4A, 0x40},
+	{0x4B, 0x01},
+	{0x4C, 0x8A},
+	{0x4D, 0x01},
+	{0x4E, 0xB5},
+	{0x4F, 0x01},
+	{0x50, 0xE8},
+	{0x51, 0x02},
+	{0x52, 0x27},
+	{0x53, 0x02},
+	{0x54, 0x84},
+
+	{0x55, 0x01},
+	{0x56, 0x00},
+	{0x57, 0x01},
+	{0x58, 0x0C},
+	{0x59, 0x01},
+	{0x5A, 0x37},
+	{0x5B, 0x01},
+	{0x5C, 0x74},
+	{0x5D, 0x01},
+	{0x5E, 0x96},
+	{0x5F, 0x01},
+	{0x60, 0xC9},
+	{0x61, 0x02},
+	{0x62, 0x04},
+	{0x63, 0x02},
+	{0x64, 0x4B},
+
+	{0x65, 0x00},
+	{0x66, 0x9A},
+	{0x67, 0x2D},
+	{0x68, 0x02},
+	{0x69, 0x68},
+	{0x6A, 0xB6},
+	{0x6B, 0x05},
+	{0x6C, 0x6B},
+	{0x6D, 0x99},
+	{0x6E, 0x07},
+	{0x6F, 0x60},
+	{0x70, 0xAD},
+	{0x71, 0x09},
+	{0x72, 0xA2},
+	{0x73, 0xD7},
+	{0x74, 0x0C},
+	{0x75, 0x32},
+	{0x76, 0x19},
+	{0x77, 0x0F},
+	{0x78, 0x0E},
+	{0x79, 0x70},
+
+	{0x7A, 0x00},
+	{0x7B, 0x9C},
+	{0x7C, 0x9F},
+	{0x7D, 0x02},
+	{0x7E, 0x72},
+	{0x7F, 0x7A},
+	{0x80, 0x05},
+	{0x81, 0x81},
+	{0x82, 0x94},
+	{0x83, 0x07},
+	{0x84, 0x7E},
+	{0x85, 0x97},
+	{0x86, 0x09},
+	{0x87, 0xC9},
+	{0x88, 0xEA},
+	{0x89, 0x0C},
+	{0x8A, 0x63},
+	{0x8B, 0x8C},
+	{0x8C, 0x0F},
+	{0x8D, 0x4B},
+	{0x8E, 0x7E},
+
+	{0x8F, 0x00},
+	{0x90, 0x9E},
+	{0x91, 0xBD},
+	{0x92, 0x02},
+	{0x93, 0x7A},
+	{0x94, 0xF5},
+	{0x95, 0x05},
+	{0x96, 0x94},
+	{0x97, 0xA8},
+	{0x98, 0x07},
+	{0x99, 0x98},
+	{0x9A, 0x8F},
+	{0x9B, 0x09},
+	{0x9C, 0xEB},
+	{0x9D, 0xD5},
+	{0x9E, 0x0C},
+	{0x9F, 0x8E},
+	{0xA0, 0x7A},
+	{0xA1, 0x0F},
+	{0xA2, 0x80},
+	{0xA3, 0x7D},
+
+	{0xA4, 0x6A},
+	{0xA5, 0x44},
+	{0xA6, 0x23},
+	{0xA7, 0x6C},
+	{0xA8, 0x15},
+	{0xA9, 0x40},
+	{0xAA, 0x20},
+	{0xAB, 0xB2},
+	{0xAC, 0x1C},
+	{0xAD, 0x56},
+	{0xAE, 0x19},
+	{0xAF, 0x01},
+	{0xB0, 0x16},
+	{0xB1, 0x5F},
+
+	{0xB2, 0x68},
+	{0xB3, 0x9C},
+	{0xB4, 0x22},
+	{0xB5, 0xDE},
+	{0xB6, 0x14},
+	{0xB7, 0xEC},
+	{0xB8, 0x20},
+	{0xB9, 0x30},
+	{0xBA, 0x1B},
+	{0xBB, 0xE5},
+	{0xBC, 0x18},
+	{0xBD, 0x9D},
+	{0xBE, 0x16},
+	{0xBF, 0x05},
+
+	{0xC0, 0x67},
+	{0xC1, 0x36},
+	{0xC2, 0x22},
+	{0xC3, 0x67},
+	{0xC4, 0x14},
+	{0xC5, 0xA4},
+	{0xC6, 0x1F},
+	{0xC7, 0xC2},
+	{0xC8, 0x1B},
+	{0xC9, 0x86},
+	{0xCA, 0x18},
+	{0xCB, 0x49},
+	{0xCC, 0x15},
+	{0xCD, 0xBA},
+	
+	{0x00, 0x02},// shading on
+
+//==========================================================
+//	X-SHADING
+//==========================================================
+	{0xfc, 0x1B},
+	{0x80, 0x01},
+	{0x81, 0x00},
+	{0x82, 0x4C},
+	{0x83, 0x00},
+	{0x84, 0x86},
+	{0x85, 0x03},
+	{0x86, 0x5E},
+	{0x87, 0x00},
+	{0x88, 0x07},
+	{0x89, 0xA4},
+	{0x90, 0x00},
+	{0x91, 0x88},
+	{0x92, 0x00},
+	{0x93, 0xC1},
+	{0x94, 0x00},
+	{0x95, 0xF7},
+	{0x96, 0x01},
+	{0x97, 0x21},
+	{0x98, 0x01},
+	{0x99, 0x37},
+	{0x9A, 0x01},
+	{0x9B, 0x0C},
+	{0x9C, 0x00},
+	{0x9D, 0xCE},
+	{0x9E, 0x00},
+	{0x9F, 0x3B},
+	{0xA0, 0x00},
+	{0xA1, 0x5B},
+	{0xA2, 0x00},
+	{0xA3, 0x7A},
+	{0xA4, 0x00},
+	{0xA5, 0x92},
+	{0xA6, 0x00},
+	{0xA7, 0x91},
+	{0xA8, 0x00},
+	{0xA9, 0x81},
+	{0xAA, 0x00},
+	{0xAB, 0x60},
+	{0xAC, 0x07},
+	{0xAD, 0xCB},
+	{0xAE, 0x07},
+	{0xAF, 0xC5},
+	{0xB0, 0x07},
+	{0xB1, 0xBB},
+	{0xB2, 0x07},
+	{0xB3, 0xAA},
+	{0xB4, 0x07},
+	{0xB5, 0xA9},
+	{0xB6, 0x07},
+	{0xB7, 0xB2},
+	{0xB8, 0x07},
+	{0xB9, 0xBF},
+	{0xBA, 0x07},
+	{0xBB, 0x5E},
+	{0xBC, 0x07},
+	{0xBD, 0x3C},
+	{0xBE, 0x06},
+	{0xBF, 0xF9},
+	{0xC0, 0x06},
+	{0xC1, 0xBD},
+	{0xC2, 0x06},
+	{0xC3, 0xB8},
+	{0xC4, 0x06},
+	{0xC5, 0xE2},
+	{0xC6, 0x07},
+	{0xC7, 0x1A},
+	{0xC8, 0x07},
+	{0xC9, 0x15},
+	{0xCA, 0x06},
+	{0xCB, 0xDE},
+	{0xCC, 0x06},
+	{0xCD, 0x9C},
+	{0xCE, 0x06},
+	{0xCF, 0x6F},
+	{0xD0, 0x06},
+	{0xD1, 0x5E},
+	{0xD2, 0x06},
+	{0xD3, 0x84},
+	{0xD4, 0x06},
+	{0xD5, 0xCA},
+	
+	{0xfc, 0x0b},
+	{0xda, 0x00},
+	{0xdb, 0x9c},
+	{0xdc, 0x00},
+	{0xdd, 0xd1},
+	
+	{0xfc, 0x1b},
+	{0x80, 0x01},
+
+//==========================================================
+//	AE WINDOW WEIGHT
+//==========================================================
+	{0xfc, 0x00},
+	{0x03, 0x4b},
+	{0xfc, 0x06},
+	{0x01, 0x35},
+	{0x03, 0xc2},
+	{0x05, 0x48},
+	{0x07, 0xb8},
+	{0x31, 0x2a},
+	{0x33, 0x61},
+	{0x35, 0x28},
+	{0x37, 0x5c},
+	
+	{0xfc, 0x20},
+	{0x60, 0x11},
+	{0x61, 0x11},
+	{0x62, 0x11},
+	{0x63, 0x11},
+	{0x64, 0x11},
+	{0x65, 0x22},
+	{0x66, 0x22},
+	{0x67, 0x11},
+	{0x68, 0x11},
+	{0x69, 0x33},
+	{0x6a, 0x33},
+	{0x6b, 0x11},
+	{0x6c, 0x12},
+	{0x6d, 0x55},
+	{0x6e, 0x55},
+	{0x6f, 0x21},
+	{0x70, 0x13},
+	{0x71, 0x55},
+	{0x72, 0x55},
+	{0x73, 0x31},
+	{0x74, 0x33},
+	{0x75, 0x33},
+	{0x76, 0x33},
+	{0x77, 0x33},
+
+//==========================================================
+//	SAIT AWB
+//==========================================================
+	{0xfc, 0x00},
+	{0x7b, 0x00},
+	
+	{0xfc, 0x07},
+	{0x3c, 0x10},
+	{0x3d, 0x10},
+	{0x3e, 0x10},
+	{0x3f, 0x10},
+	
+	{0xfc, 0x01},
+	{0xc8, 0xe0},
+	{0xfc, 0x00},
+	{0x3e, 0x10},
+	
+	{0xfc, 0x00},
+	{0x3e, 0x10},
+	{0x3d, 0x04},
+	{0x32, 0x02},
+	{0x81, 0x10},
+	{0xbc, 0xf0},
+	{0xfc, 0x22},
+	{0x8c, 0x04},
+	{0x8d, 0x06},
+	
+	{0xfc, 0x07},
+	{0x97, 0x00},
+
+//=================================
+// White Point
+//=================================
+	{0xfc, 0x22},
+	{0x01, 0xD8},
+	{0x03, 0xA1},
+	{0x05, 0xCA},
+	{0x07, 0xC8},
+	{0x09, 0xB3},
+	{0x0b, 0xE2},
+	{0x0d, 0xA0},
+	{0x0f, 0xF0},
+	{0x11, 0x94},
+	{0x12, 0x00},
+	{0x13, 0xFD},
+	{0x15, 0x88},
+	{0x16, 0x01},
+	{0x17, 0x10},
+
+//=================================
+// Basic Setting
+//=================================
+	{0xfc, 0x22},
+	{0xA8, 0xFF},
+	
+	{0xA0, 0x01},
+	{0xA1, 0x38},
+	{0xA2, 0x0E},
+	{0xA3, 0x6D},
+	{0xA4, 0x07},
+	{0xA5, 0xF5},
+	{0xA6, 0x11},
+	{0xA7, 0xBE},
+	{0xA9, 0x02},
+	{0xAA, 0xD2},
+	{0xAB, 0x00},
+	{0xAC, 0x00},
+	{0xAD, 0x02},
+	{0xAE, 0x3F},
+	{0xAF, 0x19},
+	{0xB0, 0x91},
+	{0x94, 0x3D},
+	{0x95, 0x00},
+	{0x96, 0x58},
+	{0x97, 0x80},
+	{0xD0, 0xA2},
+	{0xD1, 0x2E},
+	{0xD2, 0x4D},
+	{0xD3, 0x28},
+	{0xD4, 0x90},
+	{0xDB, 0x2E},
+	{0xDC, 0x7A},
+	{0xDD, 0x28},
+	{0xE7, 0x00},
+	{0xE8, 0xc7},
+	{0xE9, 0x00},
+	{0xEA, 0x62},
+	{0xEB, 0xD2},
+	{0xEC, 0xD9},
+	{0xEE, 0xA6},
+	
+	{0xfc, 0x00},
+	{0x8a, 0x02},
+
+//=================================
+// Pixel Filter Setting
+//=================================
+	{0xFC, 0x07},
+	{0x95, 0xCF},
+	
+	{0xfc, 0x01},
+	{0xd3, 0x4f},
+	{0xd4, 0x00},
+	{0xd5, 0x3c},
+	{0xd6, 0x80},
+	{0xd7, 0x61},
+	{0xd8, 0x00},
+	{0xd9, 0x49},
+	{0xda, 0x00},
+	{0xdb, 0x24},
+	{0xdc, 0x4b},
+	{0xdd, 0x23},
+	{0xde, 0xf2},
+	{0xdf, 0x20},
+	{0xe0, 0x73},
+	{0xe1, 0x18},
+	{0xe2, 0x69},
+	{0xe3, 0x31},
+	{0xe4, 0x40},
+	{0xe5, 0x34},
+	{0xe6, 0x40},
+	{0xe7, 0x40},
+	{0xe8, 0x32},
+	{0xe9, 0x40},
+	{0xea, 0x1c},
+	{0xeb, 0x00},
+
+//=================================
+// Polygon AWB Region Tune
+//=================================
+
+	// AWB3 - Polygon Region
+	{0xfc, 0x22},
+	{0x18, 0x00},
+	{0x19, 0x4b},
+	{0x1a, 0xfd},
+	{0x1b, 0x00},
+	{0x1c, 0x41},
+	{0x1d, 0xd9},
+	{0x1e, 0x00},
+	{0x1f, 0x66},
+	{0x20, 0xa9},
+	{0x21, 0x00},
+	{0x22, 0x8b},
+	{0x23, 0x82},
+	{0x24, 0x00},
+	{0x25, 0xa4},
+	{0x26, 0x6c},
+	{0x27, 0x00},
+	{0x28, 0xbd},
+	{0x29, 0x5d},
+	{0x2a, 0x00},
+	{0x2b, 0xdc},
+	{0x2c, 0x4d},
+	{0x2d, 0x00},
+	{0x2e, 0xdc},
+	{0x2f, 0x63},
+	{0x30, 0x00},
+	{0x31, 0xc1},
+	{0x32, 0x72},
+	{0x33, 0x00},
+	{0x34, 0xab},
+	{0x35, 0x84},
+	{0x36, 0x00},
+	{0x37, 0x99},
+	{0x38, 0xa0},
+	{0x39, 0x00},
+	{0x3a, 0x81},
+	{0x3b, 0xe9},
+	{0x3c, 0x00},
+	{0x3d, 0x00},
+	{0x3e, 0x00},
+	{0x3f, 0x00},
+	{0x40, 0x00},
+	{0x41, 0x00},
+
+//=================================
+// Moving Equation Weight
+//=================================
+	{0xfc, 0x22},
+	{0x98, 0x07},
+
+//=================================
+// EIT Threshold
+//=================================
+	{0xfc, 0x22},
+	{0xb1, 0x00},
+	{0xb2, 0x02},
+	{0xb3, 0x00},
+	{0xb4, 0xC1},
+	
+	{0xb5, 0x00},
+	{0xb6, 0x02},
+	{0xb7, 0x00},
+	{0xb9, 0xc2},
+	
+	{0xd7, 0x00},
+	{0xd8, 0x35},
+	{0xd9, 0x20},
+	{0xda, 0x81},
+
+//=================================
+// Gain Offset
+//=================================
+	{0xfc, 0x00},
+	{0x79, 0xf8},
+	{0x7a, 0x08},
+	
+	{0xfc, 0x07},
+	{0x11, 0x01},
+	
+	{0xfc, 0x22},
+	{0x58, 0xf8},
+	{0x59, 0x00},
+	{0x5A, 0xfc},
+	{0x5B, 0x00},
+	{0x5C, 0x00},
+	{0x5D, 0x00},
+	{0x5E, 0x00},
+	{0x5F, 0x00},
+	{0x60, 0x00},
+	{0x61, 0xf8},
+	{0x62, 0x00},
+	{0x63, 0xf0},
+	
+	{0xde, 0x00},
+	{0xf0, 0x6a},
+
+//=================================
+// Green Stablity Enhance
+//=================================
+	{0xfc, 0x22},
+	{0xb9, 0x00},
+	{0xba, 0x00},
+	{0xbb, 0x00},
+	{0xbc, 0x00},
+	{0xe5, 0x01},
+	{0xe6, 0xff},
+	{0xbd, 0x8c},
+
+//==========================================================
+//	Special Effect
+//==========================================================
+	{0xfc, 0x07},
+	{0x30, 0xc0},
+	{0x31, 0x20},
+	{0x32, 0x40},
+	{0x33, 0xc0},
+	{0x34, 0x00},
+	{0x35, 0xb0},
+#endif
+//==========================================================
+//	ETC
+//==========================================================
+	{0xfc, 0x01},
+	{0x01, 0x01},
+	{0x00, 0x90},
+	{0xfc, 0x02},
+	{0x03, 0x20},
+	
+	{0xfc, 0x20},
+	{0x0f, 0x00},
+	
+	{0xfc, 0x00},
+	{0x02, 0x09},
+	
+	{0xfc, 0x01},
+	//{0x02, 0x00},
+	{0x02, 0x02},//Donghoon
+};
+#endif
+
+// For SVGA ( 800 x 600) on 4BA module
+s5k4ba_t s5k4ba_svga_reg[] =
+{
+	{0xfc,0x02},
+	{0x2d,0x48},
+	{0x44,0x63},
+
+	{0xfc,0x03},
+	{0x02,0x04},
+	{0xfc,0x20},
+	{0x14,0x70},
+
+	{0xfc,0x00},
+	{0x03,0x4b},		// AE/AWB On
+	{0x7e,0xf4},		// Suppress On
+	{0x89,0x03},		// Edge Suppress On
+
+	{0xfc,0x02},
+	{0x02,0x0e},//sensor BPRoff
+
+	{0xfc,0x20},
+	{0x16,0x60},		// Frame AE Start
+
+	{0xfc,0x02},
+	{0x30,0x90},		// Analog offset
+	{0x37,0x0d},		// Global Gain
+	{0x60,0x00},		// Blank_Adrs
+	{0x45,0x0e},		// CDS Timing for Average Sub_Sampling
+	{0x47,0x2f},
+
+	{0xfc,0x01},
+	{0x9F,0x05},		//B
+	{0xA0,0x18},
+	{0xA1,0x42},
+	{0xA2,0xd7}, 		
+	{0xA3,0x00},
+	
+	{0xA4,0xB6},
+	{0xA5,0x3b},
+	{0xA6,0x88},
+	{0xA7,0xC8},
+	{0xA8,0x6A},
+
+	{0xfc,0x05},
+	{0x34,0x20},	// APTCLP
+	{0x35,0x08},	//9 //APTSC
+
+	{0xfc,0x00},  // flash 0821
+	{0x32,0x04},  // AWB moving average 8 frame
+
+	{0xfc,0x01},
+	{0x01,0x01}, // Pclk inversion
+
+	{0xfc,0x00},
+	{0x02,0x09},		// 800 x 600
+
+
+	{0xFF,0xFF} // REGISTER END
+};
+
+/* SQVGA */
+s5k4ba_t s5k4ba_qsvga_reg[] =
+{
+	// Pclk inversion
+	{0xfc,0x01},
+	{0x01,0x01},
+
+	// To setting CbCr selection on Table 14h
+	{0xfc, 0x14},
+	{0x5c, 0x00},
+
+	// To load table_11 H4V4
+	{0xfc, 0x00},
+	{0x02, 0x0B}
+};
+
+#define S5K4BA_INIT_REGS	(sizeof(s5k4ba_init_reg) / sizeof(s5k4ba_init_reg[0]))
+#define S5K4BA_SVGA_REGS	(sizeof(s5k4ba_svga_reg) / sizeof(s5k4ba_svga_reg[0]))
+#define S5K4BA_QSVGA_REGS	(sizeof(s5k4ba_qsvga_reg) / sizeof(s5k4ba_qsvga_reg[0]))
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimd/Kconfig linux-2.6.28.6/drivers/media/video/samsung/fimd/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/fimd/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimd/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,32 @@
+
+if VIDEO_FIMC
+comment "FIMC configurations"
+endif
+
+config VIDEO_FIMC
+	bool "Samsung Camera Interface (FIMC) driver"
+	depends on VIDEO_SAMSUNG
+	default n
+	---help---
+	  This is a video4linux driver for Samsung FIMC device.
+
+config VIDEO_FIMC_DEBUG
+	bool "FIMC driver debug messages"
+	depends on VIDEO_FIMC
+
+config VIDEO_FIMC_MIPI
+	bool "FIMC works with MIPI-CSI2 (Rx)"
+	depends on VIDEO_FIMC && ARCH_S5PC1XX
+
+source "drivers/media/video/samsung/fimc/Kconfig-camera"
+
+config VIDEO_FIMC_CAM_CH
+	int "External Camera channel (0=A, 1=B)"
+	depends on VIDEO_FIMC
+	default "0"
+
+config VIDEO_FIMC_CAM_RESET
+	int "Reset Type (0=low, 1=high)"
+	depends on VIDEO_FIMC
+	default "0"
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimd/Makefile linux-2.6.28.6/drivers/media/video/samsung/fimd/Makefile
--- linux-2.6.28/drivers/media/video/samsung/fimd/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimd/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,8 @@
+obj-$(CONFIG_VIDEO_FIMD)	+= s3c_fimd_core.o s3c_fimd_v4l2.o s3c_fimd_cfg.o
+obj-$(CONFIG_ARCH_S5PC1XX)	+= s3c_fimd4x_regs.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
+ifeq ($(CONFIG_VIDEO_FIMC_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimd/s3c_fimd.h linux-2.6.28.6/drivers/media/video/samsung/fimd/s3c_fimd.h
--- linux-2.6.28/drivers/media/video/samsung/fimd/s3c_fimd.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimd/s3c_fimd.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,284 @@
+/* linux/drivers/media/video/samsung/s3c_fimc.h
+ *
+ * Header file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _S3C_FIMD_H
+#define _S3C_FIMD_H
+
+#ifdef __KERNEL__
+#include <linux/wait.h>
+#include <linux/mutex.h>
+#include <linux/videodev2.h>
+#include <media/v4l2-common.h>
+#include <media/v4l2-ioctl.h>
+#include <plat/fimd.h>
+#endif
+
+/*
+ * C O M M O N   D E F I N I T I O N S
+ *
+*/
+#define S3C_FIMD_NAME	"s3c-fimd"
+
+#define info(args...)	do { printk(KERN_INFO S3C_FIMD_NAME ": " args); } while (0)
+#define err(args...)	do { printk(KERN_ERR  S3C_FIMD_NAME ": " args); } while (0)
+
+
+/*
+ * E N U M E R A T I O N S
+ *
+*/
+enum s3c_fimd_data_path_t {
+	DATA_PATH_DMA,
+	DATA_PATH_FIFO,
+};
+
+enum s3c_fimd_alpha_t {
+	PLANE_BLENDING,
+	PIXEL_BLENDING,
+};
+
+enum s3c_fimd_chroma_dir_t {
+	CHROMA_FG,
+	CHROMA_BG,
+};
+
+enum s3c_fimd_output_t {
+	OUTPUT_RGB,
+	OUTPUT_ITU,
+	OUTPUT_I80LDI0,
+	OUTPUT_I80LDI1,
+	OUTPUT_TV,
+	OUTPUT_TV_RGB,
+	OUTPUT_TV_I80LDI0,
+	OUTPUT_TV_I80LDI1,
+};
+
+enum s3c_fimd_rgb_mode_t {
+	MDOE_RGB_P = 0,
+	MODE_BGR_P = 1,
+	MODE_RGB_S = 2,
+	MODE_BGR_S = 3,
+};
+
+
+/*
+ * F I M D   S T R U C T U R E S
+ *
+*/
+
+/*
+ * struct s3c_fimd_buffer
+ * @width:	horizontal resolution
+ * @height:	vertical resolution
+ * @ofs_x:	left horizontal offset
+ * @ofs_y:	top vertical offset
+ * @auto_sel:	if auto buffer change enabled by hardware
+ * @vs:		if virtual screen enabled
+ * @current:	current activated buffer
+ * @paddr:	physical address of frame buffer
+*/
+struct s3c_fimd_buffer {
+	int	width;
+	int	height;
+	int	ofs_x;
+	int	ofs_y;
+	int	auto_sel;
+	int	vs;
+	int	current;
+	u8	**paddr;
+};
+
+/*
+ * struct s3c_fimd_alpha
+ * @mode:		blending method (plane/pixel)
+ * @channel:		alpha channel (0/1)
+ * @multiple:		if multiple alpha blending enabled
+ * @alpha_value:	alpha value
+*/
+struct s3c_fimd_alpha {
+	enum 	s3c_fimd_alpha_t mode;
+	int	channel;
+	int	multiple;
+	int	alpha_value;
+};
+
+/*
+ * struct s3c_fimd_chroma
+ * @enabled:		if chroma key function enabled
+ * @blended:		if chroma key alpha blending enabled
+ * @dir:		chroma key direction (fore/back)
+ * @chroma_key:		chroma value to be applied
+ * @alpha_value:	alpha value for chroma
+ *
+*/
+struct s3c_fimd_chroma {
+	int 	enabled;
+	int 	blended;
+	u32	comp_key;
+	u32	chroma_key;
+	u32	alpha_value;
+	enum 	s3c_fimd_chroma_dir_t dir;
+};
+
+/*
+ * struct s3c_fimd_lcd_polarity
+ * @vclk:	if VCLK polarity is inversed
+ * @hsync:	if HSYNC polarity is inversed
+ * @vsync:	if VSYNC polarity is inversed
+ * @vden:	if VDEN polarity is inversed
+*/
+struct s3c_fimd_lcd_polarity {
+	int	vclk;
+	int	hsync;
+	int	vsync;
+	int	vden;
+};
+
+/*
+ * struct s3c_fimd_lcd_timing
+ * @h_fp:	horizontal front porch
+ * @h_fpe:	horizontal front porch for even field
+ * @h_bp:	horizontal back porch
+ * @h_sw:	horizontal sync width
+ * @v_fp:	vertical front porch
+ * @v_fpe:	vertical front porch for even field
+ * @v_bp:	vertical back porch
+ * @v_bpe:	vertical back porch for even field
+*/
+struct s3c_fimd_lcd_timing {
+	int	h_fp;
+	int	h_fpe;
+	int	h_bp;
+	int	h_sw;
+	int	v_fp;
+	int	v_fpe;
+	int	v_bp;
+	int	v_bpe;
+};
+
+/*
+ * struct s3c_fimd_lcd
+ * @width:		horizontal resolution
+ * @height:		vertical resolution
+ * @bpp:		bits per pixel
+ * @freq:		vframe frequency
+ * @initialized:	if initialized
+ * @timing:		timing values
+ * @polarity:		polarity settings
+ * @init_ldi:		pointer to LDI init function
+ *
+*/
+struct s3c_fimd_lcd {
+	int	width;
+	int	height;
+	int	bpp;
+	int	freq;
+	int	initialized;
+	struct 	s3c_fimd_lcd_timing timing;
+	struct 	s3c_fimd_lcd_polarity polarity;
+
+	void 	(*init_ldi)(void);
+};
+
+/*
+ * struct s3c_fimd_window
+ * @id:			window id
+ * @enabled:		if enabled
+ * @shadow_lock:	current lock status for updating next frame
+ * @path:		data path (dma/fifo)
+ * @bit_swap:		if bit swap enabled
+ * @byte_swap:		if byte swap enabled
+ * @halfword_swap:	if halfword swap enabled
+ * @word_swap:		if word swap enabled
+ * @dma_burst:		dma burst length (4/8/16)
+ * @bpp:		bits per pixel
+ * @unpacked:		if unpacked format is
+ * @buffer:		frame buffer structure
+ * @alpha:		alpha blending structure
+ * @chroma:		chroma key structure
+*/
+struct s3c_fimd_window {
+	int	id;
+	int	enabled;
+	int	shadow_lock;
+	enum 	s3c_fimd_data_path_t path;
+	int	bit_swap;
+	int	byte_swap;
+	int	halfword_swap;
+	int	word_swap;
+	int	dma_burst;
+	int	bpp;
+	int	unpacked;
+	struct	s3c_fimd_buffer buffer;
+	struct	s3c_fimd_alpha alpha;
+	struct	s3c_fimd_chroma chroma;
+};
+
+/*
+ * struct s3c_fimd_v4l2
+*/
+struct s3c_fimd_v4l2 {
+	struct v4l2_fmtdesc	*fmtdesc;
+	struct v4l2_framebuffer	frmbuf;
+	struct v4l2_input	*input;
+	struct v4l2_output	*output;
+	struct v4l2_rect	crop_bounds;
+	struct v4l2_rect	crop_defrect;
+	struct v4l2_rect	crop_current;
+};
+
+/*
+ * struct s3c_fimd_global
+ *
+ * @enabled:		if signal output enabled
+ * @dsi:		if mipi-dsim enabled
+ * @interlace:		if interlace format is used
+ * @output:		output path (RGB/I80/Etc)
+ * @rgb_serial:		if RGB signal output is serialized
+ * @vclk_freerun:	if vclk is free-run mode
+ * @alps_enabled:	if ALPS enabled (over FIMD 6.0)
+ * @gamma_enabled:	if gamma control enabled (over FIMD 6.0)
+ * @gain_enabled:	if gain control enabled (over FIMD 6.0)
+ * @win:		pointer to window structure
+ * @lcd:		pointer to lcd structure
+*/
+struct s3c_fimd_global {
+	/* general */
+	void __iomem			*regs;
+	struct mutex			lock;
+	struct device			*dev;
+	struct clk			*clock;
+	int				irq;
+	struct video_device		*vd;
+	struct s3c_fimd_v4l2		v4l2;
+
+	/* fimd */
+	int				enabled;
+	int				dsi;
+	int				interlace;
+	enum s3c_fimd_output_t 		output;
+	enum s3c_fimd_rgb_mode_t	rgb_mode;
+	int				vclk_freerun;
+	int				alps_enabled;
+	int				gamma_enabled;
+	int				gain_enabled;
+	struct s3c_fimd_window 		**win;
+	struct s3c_fimd_lcd 		*lcd;
+};
+
+
+/*
+ * E X T E R N S
+ *
+*/
+
+#endif /* _S3C_FIMD_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimd/s3c_fimd5x_regs.c linux-2.6.28.6/drivers/media/video/samsung/fimd/s3c_fimd5x_regs.c
--- linux-2.6.28/drivers/media/video/samsung/fimd/s3c_fimd5x_regs.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimd/s3c_fimd5x_regs.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,137 @@
+/* linux/drivers/media/video/samsung/fimd/s3c_fimd5x_regs.c
+ *
+ * Register interface file for Samsung Display Controller (FIMD) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/delay.h>
+#include <linux/gpio.h>
+#include <asm/io.h>
+#include <mach/map.h>
+#include <plat/regs-fimd.h>
+#include <plat/fimd.h>
+
+#include "s3c_fimd.h"
+
+int s3c_fimd_set_output(struct s3c_fimd_global *ctrl)
+{
+	u32 cfg;
+
+	cfg = readl(ctrl->regs + S3C_VIDCON0);
+	cfg &= ~S3C_VIDCON0_VIDOUT_MASK;
+
+	if (ctrl->output == OUTPUT_RGB)
+		cfg |= S3C_VIDCON0_VIDOUT_RGB;
+	else if (ctrl->out == OUTPUT_ITU)
+		cfg |= S3C_VIDCON0_VIDOUT_ITU;
+	else if (ctrl->out == OUTPUT_I80LDI0)
+		cfg |= S3C_VIDCON0_VIDOUT_I80LDI0;
+	else if (ctrl->out == OUTPUT_I80LDI1)
+		cfg |= S3C_VIDCON0_VIDOUT_I80LDI1;
+	else {
+		err("invalid output type: %d\n", ctrl->output);
+		return -EINVAL;
+	}
+
+	writel(cfg, ctrl->regs + S3C_VIDCON0);
+
+	return 0;
+}
+
+int s3c_fimd_set_display_mode(struct s3c_fimd_global *ctrl)
+{
+	u32 cfg;
+
+	cfg = readl(ctrl->regs + S3C_VIDCON0);
+	cfg &= ~S3C_VIDCON0_PNRMODE_MASK;
+	cfg |= (ctrl->rgb_mode << S3C_VIDCON0_PNRMODE_SHIFT);
+
+	return 0;
+}
+
+int s3c_fimd_display_on(struct s3c_fimd_global *ctrl)
+{
+	u32 cfg;
+
+	cfg = readl(ctrl->regs + S3C_VIDCON0);
+	cfg |= (S3C_VIDCON0_ENVID_ENABLE | S3C_VIDCON0_ENVID_F_ENABLE);
+	writel(cfg, ctrl->regs + S3C_VIDCON0);
+
+	dev_dbg(ctrl->dev, "global display is on\n");
+
+	return 0;
+}
+
+int s3c_fimd_display_off(struct s3c_fimd_global *ctrl)
+{
+	u32 cfg;
+
+	cfg = readl(ctrl->regs + S3C_VIDCON0);
+	cfg &= ~S3C_VIDCON0_ENVID_ENABLE;
+	writel(cfg, ctrl->regs + S3C_VIDCON0);
+
+	cfg &= ~S3C_VIDCON0_ENVID_F_ENABLE;
+	writel(cfg, ctrl->regs + S3C_VIDCON0);
+
+	dev_dbg(ctrl->dev, "global display is off\n");
+
+	return 0;
+}
+
+int s3c_fimd_frame_off(struct s3c_fimd_global *ctrl)
+{
+	u32 cfg;
+
+	cfg = readl(ctrl->regs + S3C_VIDCON0);
+	cfg &= ~S3C_VIDCON0_ENVID_F_ENABLE;
+	writel(cfg, ctrl->regs + S3C_VIDCON0);
+
+	dev_dbg(ctrl->dev, "current frame display is off\n");
+
+	return 0;
+}
+
+int s3c_fimd_set_clock(struct s3c_fimd_global *ctrl)
+{
+	struct s3c_platform_fimd *plat;
+	u32 cfg, maxclk, src_clk, vclk, div;
+
+	plat = to_fimd_plat(ctrl->dev)
+	maxclk = 66 * 1000000;
+	
+	/* fixed clock source: hclk */
+	cfg = readl(ctrl->regs + S3C_VIDCON0);
+	cfg &= ~(S3C_VIDCON0_CLKSEL_MASK | S3C_VIDCON0_CLKVALUP_MASK | \
+		S3C_VIDCON0_VCLKEN_MASK | S3C_VIDCON0_CLKDIR_MASK);
+	cfg |= (S3C_VIDCON0_CLKSEL_HCLK | S3C_VIDCON0_CLKVALUP_ALWAYS | \
+		S3C_VIDCON0_VCLKEN_NORMAL | S3C_VIDCON0_CLKDIR_DIVIDED);
+	
+	src_clk = ctrl->clock->parent->rate;
+	vclk = plat->clockrate;
+
+	if (vclk > maxclk)
+		vclk = maxclk;
+
+	div = (int) (src_clk / vclk);
+
+	cfg |= S3C_VIDCON0_CLKVAL_F(div - 1);
+	writel(cfg, ctrl->regs + S3C_VIDCON0);
+
+	return 0;	
+}
+
+
+
+
+
+
+
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimd/s3c_fimd_cfg.c linux-2.6.28.6/drivers/media/video/samsung/fimd/s3c_fimd_cfg.c
--- linux-2.6.28/drivers/media/video/samsung/fimd/s3c_fimd_cfg.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimd/s3c_fimd_cfg.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,887 @@
+/* linux/drivers/media/video/samsung/s3c_fimc_cfg.c
+ *
+ * Configuration support file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/slab.h>
+#include <linux/bootmem.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+#include <asm/io.h>
+#include <asm/uaccess.h>
+#include <plat/media.h>
+
+#include "s3c_fimc.h"
+
+#if (CONFIG_VIDEO_SAMSUNG_MEMSIZE_FIMC > 0)
+static dma_addr_t s3c_fimc_get_dma_region(u32 bytes)
+{
+	dma_addr_t end, addr, *curr;
+
+	end = s3c_fimc.dma_start + s3c_fimc.dma_total;
+	curr = &s3c_fimc.dma_current;
+
+	if (*curr + bytes > end) {
+		addr = 0;
+	} else {
+		addr = *curr;
+		*curr += bytes;
+	}
+
+	return addr;
+}
+
+static void s3c_fimc_put_dma_region(u32 bytes)
+{
+	s3c_fimc.dma_current -= bytes;
+}
+
+void s3c_fimc_free_output_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i;
+
+	for (i = 0; i < info->nr_frames; i++) {
+		frame = &info->addr[i];
+
+		if (frame->phys_y)
+			s3c_fimc_put_dma_region(info->buf_size);
+
+		memset(frame, 0, sizeof(*frame));
+	}
+
+	info->buf_size = 0;
+}
+
+static int s3c_fimc_alloc_rgb_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->phys_rgb = s3c_fimc_get_dma_region(info->buf_size);
+		if (frame->phys_rgb == 0) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+		
+		frame->virt_rgb = phys_to_virt(frame->phys_rgb);
+	}
+
+	for (i = nr_frames; i < S3C_FIMC_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->phys_rgb = info->addr[i - nr_frames].phys_rgb;
+		frame->virt_rgb = info->addr[i - nr_frames].virt_rgb;		
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_fimc_free_output_memory(info);
+	return ret;
+}
+
+static int s3c_fimc_alloc_yuv_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+	u32 size = info->width * info->height, cbcr_size;
+	
+	if (info->format == FORMAT_YCBCR420)
+		cbcr_size = size / 4;
+	else
+		cbcr_size = size / 2;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->phys_y = s3c_fimc_get_dma_region(info->buf_size);
+		if (frame->phys_y == 0) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+
+		frame->phys_cb = frame->phys_y + size;
+		frame->phys_cr = frame->phys_cb + cbcr_size;
+
+		frame->virt_y = phys_to_virt(frame->phys_y);
+		frame->virt_cb = frame->virt_y + size;
+		frame->virt_cr = frame->virt_cb + cbcr_size;
+	}
+
+	for (i = nr_frames; i < S3C_FIMC_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->phys_y = info->addr[i - nr_frames].phys_y;
+		frame->phys_cb = info->addr[i - nr_frames].phys_cb;
+		frame->phys_cr = info->addr[i - nr_frames].phys_cr;
+		frame->virt_y = info->addr[i - nr_frames].virt_y;
+		frame->virt_cb = info->addr[i - nr_frames].virt_cb;
+		frame->virt_cr = info->addr[i - nr_frames].virt_cr;
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_fimc_free_output_memory(info);
+	return ret;
+}
+
+#else
+void s3c_fimc_free_output_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i;
+
+	for (i = 0; i < info->nr_frames; i++) {
+		frame = &info->addr[i];
+
+		if (frame->virt_y)
+			kfree(frame->virt_y);
+
+		memset(frame, 0, sizeof(*frame));
+	}
+
+	info->buf_size = 0;
+}
+
+static int s3c_fimc_alloc_rgb_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->virt_rgb = kmalloc(info->buf_size, GFP_DMA);
+		if (frame->virt_rgb == NULL) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+		
+		frame->phys_rgb = virt_to_phys(frame->virt_rgb);
+	}
+
+	for (i = nr_frames; i < S3C_FIMC_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->virt_rgb = info->addr[i - nr_frames].virt_rgb;
+		frame->phys_rgb = info->addr[i - nr_frames].phys_rgb;
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_fimc_free_output_memory(info);
+	return ret;
+}
+
+static int s3c_fimc_alloc_yuv_memory(struct s3c_fimc_out_frame *info)
+{
+	struct s3c_fimc_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+	u32 size = info->width * info->height, cbcr_size;
+	
+	if (info->format == FORMAT_YCBCR420)
+		cbcr_size = size / 4;
+	else
+		cbcr_size = size / 2;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->virt_y = kmalloc(info->buf_size, GFP_DMA);
+		if (frame->virt_y == NULL) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+
+		frame->virt_cb = frame->virt_y + size;
+		frame->virt_cr = frame->virt_cb + cbcr_size;
+
+		frame->phys_y = virt_to_phys(frame->virt_y);
+		frame->phys_cb = frame->phys_y + size;
+		frame->phys_cr = frame->phys_cb + cbcr_size;
+	}
+
+	for (i = nr_frames; i < S3C_FIMC_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->phys_y = info->addr[i - nr_frames].phys_y;
+		frame->phys_cb = info->addr[i - nr_frames].phys_cb;
+		frame->phys_cr = info->addr[i - nr_frames].phys_cr;
+		frame->virt_y = info->addr[i - nr_frames].virt_y;
+		frame->virt_cb = info->addr[i - nr_frames].virt_cb;
+		frame->virt_cr = info->addr[i - nr_frames].virt_cr;
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_fimc_free_output_memory(info);
+	return ret;
+}
+#endif
+
+static u32 s3c_fimc_get_buffer_size(int width, int height, enum s3c_fimc_format_t fmt)
+{
+	u32 size = width * height;
+	u32 cbcr_size = 0, *buf_size = NULL, one_p_size;
+
+	switch (fmt) {
+	case FORMAT_RGB565:
+		size *= 2;
+		buf_size = &size;
+		break;
+
+	case FORMAT_RGB666:	/* fall through */
+	case FORMAT_RGB888:
+		size *= 4;
+		buf_size = &size;
+		break;
+
+	case FORMAT_YCBCR420:
+		cbcr_size = size / 4;
+		one_p_size = size + (2 * cbcr_size);
+		buf_size = &one_p_size;
+		break;
+
+	case FORMAT_YCBCR422:
+		cbcr_size = size / 2;
+		one_p_size = size + (2 * cbcr_size);
+		buf_size = &one_p_size;
+		break;
+	}
+
+	if (*buf_size % PAGE_SIZE != 0)
+		*buf_size = (*buf_size / PAGE_SIZE + 1) * PAGE_SIZE;
+
+	return *buf_size;
+}
+
+int s3c_fimc_alloc_output_memory(struct s3c_fimc_out_frame *info)
+{
+	int ret;
+
+	info->buf_size = s3c_fimc_get_buffer_size(info->width, info->height, \
+							info->format);
+
+	if (info->format == FORMAT_YCBCR420 || info->format == FORMAT_YCBCR422)
+		ret = s3c_fimc_alloc_yuv_memory(info);
+	else
+		ret = s3c_fimc_alloc_rgb_memory(info);
+
+	return ret;
+}
+
+int s3c_fimc_alloc_input_memory(struct s3c_fimc_in_frame *info, dma_addr_t addr)
+{
+	struct s3c_fimc_frame_addr *frame;
+	u32 size = info->width * info->height, cbcr_size;
+	
+	if (info->format == FORMAT_YCBCR420)
+		cbcr_size = size / 4;
+	else
+		cbcr_size = size / 2;
+
+	info->buf_size = s3c_fimc_get_buffer_size(info->width, info->height, \
+							info->format);
+
+	switch (info->format) {
+	case FORMAT_RGB565:	/* fall through */
+	case FORMAT_RGB666:	/* fall through */
+	case FORMAT_RGB888:
+		info->addr.phys_rgb = addr;
+		break;
+
+	case FORMAT_YCBCR420:	/* fall through */
+	case FORMAT_YCBCR422:
+		frame = &info->addr;
+		frame->phys_y = addr;
+		frame->phys_cb = frame->phys_y + size;
+		frame->phys_cr = frame->phys_cb + cbcr_size;
+		break;
+	}
+
+	return 0;
+}
+
+int s3c_fimc_alloc_y_memory(struct s3c_fimc_in_frame *info, 
+					dma_addr_t addr)
+{
+	info->addr.phys_y = addr;
+	info->buf_size = s3c_fimc_get_buffer_size(info->width, \
+					info->height, info->format);
+
+	return 0;
+}
+
+int s3c_fimc_alloc_cb_memory(struct s3c_fimc_in_frame *info, 
+					dma_addr_t addr)
+{
+	info->addr.phys_cb = addr;
+	info->buf_size = s3c_fimc_get_buffer_size(info->width, \
+					info->height, info->format);
+
+	return 0;
+}
+
+int s3c_fimc_alloc_cr_memory(struct s3c_fimc_in_frame *info, 
+					dma_addr_t addr)
+{
+	info->addr.phys_cr = addr;
+	info->buf_size = s3c_fimc_get_buffer_size(info->width, \
+					info->height, info->format);
+
+	return 0;
+}
+
+void s3c_fimc_set_nr_frames(struct s3c_fimc_control *ctrl, int nr)
+{
+	if (nr == 3)
+		ctrl->out_frame.nr_frames = 2;
+	else
+		ctrl->out_frame.nr_frames = nr;
+}
+
+static void s3c_fimc_set_input_format(struct s3c_fimc_control *ctrl,
+					struct v4l2_pix_format *fmt)
+{
+	struct s3c_fimc_in_frame *frame = &ctrl->in_frame;
+
+	frame->width = fmt->width;
+	frame->height = fmt->height;
+
+	switch (fmt->pixelformat) {
+	case V4L2_PIX_FMT_RGB565:
+		frame->format = FORMAT_RGB565;
+		frame->planes = 1;
+		break;
+
+	case V4L2_PIX_FMT_RGB24:
+		frame->format = FORMAT_RGB888;
+		frame->planes = 1;
+		break;
+
+	case V4L2_PIX_FMT_NV12:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV21:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_NV12X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV21X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_YUV420:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 3;
+		break;
+
+	case V4L2_PIX_FMT_YUYV:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_YCBYCR;
+		break;
+
+	case V4L2_PIX_FMT_YVYU:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_YCRYCB;
+		break;
+
+	case V4L2_PIX_FMT_UYVY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_CBYCRY;
+		break;
+
+	case V4L2_PIX_FMT_VYUY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_CRYCBY;
+		break;
+
+	case V4L2_PIX_FMT_NV16:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV61:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_NV16X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV61X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_YUV422P:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 3;
+		break;
+	}
+}
+
+int s3c_fimc_set_input_frame(struct s3c_fimc_control *ctrl,
+				struct v4l2_pix_format *fmt)
+{
+	s3c_fimc_set_input_format(ctrl, fmt);
+
+	return 0;
+}
+
+static int s3c_fimc_set_output_format(struct s3c_fimc_control *ctrl,
+					struct v4l2_pix_format *fmt)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	int depth = 0;
+
+	frame->width = fmt->width;
+	frame->height = fmt->height;
+
+	switch (fmt->pixelformat) {
+	case V4L2_PIX_FMT_RGB565:
+		frame->format = FORMAT_RGB565;
+		frame->planes = 1;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_RGB24:
+		frame->format = FORMAT_RGB888;
+		frame->planes = 1;
+		depth = 24;
+		break;
+
+	case V4L2_PIX_FMT_NV12:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CBCR;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_NV21:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CRCB;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_NV12X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CBCR;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_NV21X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CRCB;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_YUV420:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 3;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_YUYV:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_YCBYCR;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_YVYU:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_YCRYCB;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_UYVY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_CBYCRY;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_VYUY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_CRYCBY;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV16:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CBCR;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV61:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CRCB;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV16X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CBCR;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV61X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CRCB;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_YUV422P:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 3;
+		depth = 16;
+		break;
+	}
+
+	switch (fmt->field) {
+	case V4L2_FIELD_INTERLACED:
+	case V4L2_FIELD_INTERLACED_TB:
+	case V4L2_FIELD_INTERLACED_BT:
+		frame->scan = SCAN_TYPE_INTERLACE;
+		break;
+
+	default:
+		frame->scan = SCAN_TYPE_PROGRESSIVE;
+		break;
+	}
+
+	return depth;
+}
+
+int s3c_fimc_set_output_frame(struct s3c_fimc_control *ctrl,
+				struct v4l2_pix_format *fmt)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	int depth = 0;
+
+	depth = s3c_fimc_set_output_format(ctrl, fmt);
+
+	if (ctrl->out_type == PATH_OUT_DMA && frame->addr[0].virt_y == NULL) {
+		if (s3c_fimc_alloc_output_memory(frame))
+			err("cannot allocate memory\n");
+	}
+
+	return depth;
+}
+
+int s3c_fimc_frame_handler(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	int ret;
+
+	frame->skip_frames++;
+	dev_dbg(ctrl->dev, "irq is being handled by frame hander\n");
+
+	switch (ctrl->flag & S3C_FIMC_IRQ_MASK) {
+	case S3C_FIMC_FLAG_IRQ_NORMAL:
+		dev_dbg(ctrl->dev, "irq flag is normal\n");
+		FSET_RUNNING(ctrl);
+		FSET_IRQ_X(ctrl);
+		ret = S3C_FIMC_FRAME_SKIP;
+		break;
+
+	case S3C_FIMC_FLAG_IRQ_X:
+		dev_dbg(ctrl->dev, "irq flag is x\n");
+		s3c_fimc_enable_lastirq(ctrl);
+		s3c_fimc_disable_lastirq(ctrl);
+		FSET_HANDLE_IRQ(ctrl);
+		FSET_IRQ_LAST(ctrl);
+		ret = S3C_FIMC_FRAME_SKIP;
+		break;
+
+	case S3C_FIMC_FLAG_IRQ_LAST:
+		dev_dbg(ctrl->dev, "irq flag is last\n");
+		FSET_HANDLE_IRQ(ctrl);
+		FSET_IRQ_X(ctrl);
+		ret = S3C_FIMC_FRAME_TAKE;
+		break;
+
+	default:
+		dev_dbg(ctrl->dev, "unknown irq state\n");
+		ret = S3C_FIMC_FRAME_SKIP;
+		break;
+	}
+
+	return ret;
+}
+
+u8 *s3c_fimc_get_current_frame(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+
+	return frame->addr[frame->cfn].virt_y;
+}
+
+static int s3c_fimc_get_scaler_factor(u32 src, u32 tar, u32 *ratio, u32 *shift)
+{
+	if (src >= tar * 64) {
+		err("out of pre-scaler range\n");
+		return -EINVAL;
+	} else if (src >= tar * 32) {
+		*ratio = 32;
+		*shift = 5;
+	} else if (src >= tar * 16) {
+		*ratio = 16;
+		*shift = 4;
+	} else if (src >= tar * 8) {
+		*ratio = 8;
+		*shift = 3;
+	} else if (src >= tar * 4) {
+		*ratio = 4;
+		*shift = 2;
+	} else if (src >= tar * 2) {
+		*ratio = 2;
+		*shift = 1;
+	} else {
+		*ratio = 1;
+		*shift = 0;
+	}
+
+	return 0;
+}
+
+int s3c_fimc_set_scaler_info(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_scaler *sc = &ctrl->scaler;
+	struct s3c_fimc_window_offset *w_ofs = &ctrl->in_cam->offset;
+	struct s3c_fimc_dma_offset *d_ofs = &ctrl->in_frame.offset;
+	int ret, tx, ty, sx, sy;
+	int width, height, h_ofs, v_ofs;
+
+	if (ctrl->in_type == PATH_IN_DMA) {
+		/* input rotator case */
+		if (ctrl->rot90 && ctrl->out_type == PATH_OUT_LCDFIFO) {
+			width = ctrl->in_frame.height;
+			height = ctrl->in_frame.width;
+			h_ofs = d_ofs->y_v * 2;
+			v_ofs = d_ofs->y_h * 2;
+		} else {
+			width = ctrl->in_frame.width;
+			height = ctrl->in_frame.height;
+			h_ofs = d_ofs->y_h * 2;
+			v_ofs = d_ofs->y_v * 2;
+		}
+	} else {
+		width = ctrl->in_cam->width;
+		height = ctrl->in_cam->height;
+		h_ofs = w_ofs->h1 + w_ofs->h2;
+		v_ofs = w_ofs->v1 + w_ofs->v2;
+	}
+
+	tx = ctrl->out_frame.width;
+	ty = ctrl->out_frame.height;
+
+	if (tx <= 0 || ty <= 0) {
+		err("invalid target size\n");
+		ret = -EINVAL;
+		goto err_size;
+	}
+
+	sx = width - h_ofs;
+	sy = height - v_ofs;
+
+	sc->real_width = sx;
+	sc->real_height = sy;
+
+	if (sx <= 0 || sy <= 0) {
+		err("invalid source size\n");
+		ret = -EINVAL;
+		goto err_size;
+	}
+
+	s3c_fimc_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor);
+	s3c_fimc_get_scaler_factor(sy, ty, &sc->pre_vratio, &sc->vfactor);
+
+	if (IS_PREVIEW(ctrl) && (sx / sc->pre_hratio > sc->line_length))
+		info("line buffer size overflow\n");
+
+	sc->pre_dst_width = sx / sc->pre_hratio;
+	sc->pre_dst_height = sy / sc->pre_vratio;
+
+	sc->main_hratio = (sx << 8) / (tx << sc->hfactor);
+	sc->main_vratio = (sy << 8) / (ty << sc->vfactor);
+
+	sc->scaleup_h = (tx >= sx) ? 1 : 0;
+	sc->scaleup_v = (ty >= sy) ? 1 : 0;
+
+	s3c_fimc_set_prescaler(ctrl);
+	s3c_fimc_set_scaler(ctrl);
+
+	return 0;
+
+err_size:
+	return ret;
+}
+
+/* CAUTION: many sequence dependencies */
+void s3c_fimc_start_dma(struct s3c_fimc_control *ctrl)
+{
+	s3c_fimc_set_input_path(ctrl);
+
+	if (ctrl->in_type == PATH_IN_DMA) {
+		s3c_fimc_set_input_address(ctrl);
+		s3c_fimc_set_input_dma(ctrl);
+	} else {
+		s3c_fimc_set_source_format(ctrl);
+		s3c_fimc_set_window_offset(ctrl);
+		s3c_fimc_set_polarity(ctrl);
+	}
+
+	s3c_fimc_set_scaler_info(ctrl);
+	s3c_fimc_set_target_format(ctrl);
+	s3c_fimc_set_output_path(ctrl);
+
+	if (ctrl->out_type == PATH_OUT_DMA) {
+		s3c_fimc_set_output_address(ctrl);
+		s3c_fimc_set_output_dma(ctrl);
+	}
+
+	if (!ctrl->scaler.bypass)
+		s3c_fimc_start_scaler(ctrl);
+
+	s3c_fimc_enable_capture(ctrl);
+
+	if (ctrl->in_type == PATH_IN_DMA)
+		s3c_fimc_start_input_dma(ctrl);
+}
+
+void s3c_fimc_stop_dma(struct s3c_fimc_control *ctrl)
+{
+	if (ctrl->in_type == PATH_IN_DMA)
+		s3c_fimc_stop_input_dma(ctrl);
+
+	s3c_fimc_stop_scaler(ctrl);
+	s3c_fimc_disable_capture(ctrl);
+	s3c_fimc_wait_frame_end(ctrl);
+}
+
+void s3c_fimc_restart_dma(struct s3c_fimc_control *ctrl)
+{
+	s3c_fimc_stop_dma(ctrl);
+	s3c_fimc_start_dma(ctrl);
+}
+
+void s3c_fimc_change_resolution(struct s3c_fimc_control *ctrl,
+					enum s3c_fimc_cam_res_t res)
+{
+	struct s3c_fimc_camera *cam = ctrl->in_cam;
+
+	s3c_fimc_stop_scaler(ctrl);
+	s3c_fimc_i2c_command(ctrl, I2C_CAM_RESOLUTION, res);
+
+	switch (res) {
+	case CAM_RES_QSVGA:
+		info("resolution changed to QSVGA (400x300) mode\n");
+		cam->width = 400;
+		cam->height = 300;
+		break;
+
+	case CAM_RES_VGA:
+		info("resolution changed to VGA (640x480) mode\n");
+		cam->width = 640;
+		cam->height = 480;
+		break;
+
+	case CAM_RES_SVGA:
+		info("resolution changed to SVGA (800x600) mode\n");
+		cam->width = 800;
+		cam->height = 600;
+		break;
+
+	case CAM_RES_SXGA:
+		info("resolution changed to SXGA (1280x1024) mode\n");
+		cam->width = 1280;
+		cam->height = 1024;
+		break;
+
+	case CAM_RES_UXGA:
+		info("resolution changed to UXGA (1600x1200) mode\n");
+		cam->width = 1600;
+		cam->height = 1200;
+		break;
+
+	case CAM_RES_DEFAULT:	/* fall through */
+	case CAM_RES_MAX:
+		/* nothing to do */
+		break;
+	}
+}
+
+int s3c_fimc_check_zoom(struct s3c_fimc_control *ctrl, int type)
+{
+	struct s3c_fimc_scaler *sc = &ctrl->scaler;
+	struct s3c_fimc_window_offset *offset = &ctrl->in_cam->offset;
+	int sx = sc->real_width;
+	int zoom_pixels = S3C_FIMC_ZOOM_PIXELS * 2;
+	int zoom_size = sx - (offset->h1 + offset->h2 + zoom_pixels);
+	
+	switch (type) {
+	case V4L2_CID_ZOOM_IN:
+		if (zoom_size / sc->pre_hratio > sc->line_length) {
+			err("already reached to zoom-in boundary\n");
+			return -EINVAL;
+		}
+
+		sc->zoom_depth++;
+		break;
+
+	case V4L2_CID_ZOOM_OUT:
+		if (sc->zoom_depth > 0)
+			sc->zoom_depth--;
+		else {
+			err("already reached to zoom-out boundary\n");
+			return -EINVAL;
+		}
+
+		break;
+	}
+
+	return 0;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimd/s3c_fimd_core.c linux-2.6.28.6/drivers/media/video/samsung/fimd/s3c_fimd_core.c
--- linux-2.6.28/drivers/media/video/samsung/fimd/s3c_fimd_core.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimd/s3c_fimd_core.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,555 @@
+/* linux/drivers/media/video/samsung/s3c_fimc_core.c
+ *
+ * Core file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/clk.h>
+#include <linux/i2c.h>
+#include <linux/mutex.h>
+#include <linux/poll.h>
+#include <linux/wait.h>
+#include <linux/fs.h>
+#include <linux/irq.h>
+#include <linux/mm.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+
+#include <asm/io.h>
+#include <asm/memory.h>
+#include <plat/clock.h>
+#include <plat/media.h>
+
+#include "s3c_fimc.h"
+
+static struct s3c_fimc_camera test_pattern = {
+	.id 		= S3C_FIMC_TPID,
+	.type		= CAM_TYPE_ITU,
+	.mode		= ITU_601_YCBCR422_8BIT,
+	.order422	= CAM_ORDER422_8BIT_YCBYCR,
+	.clockrate	= 0,
+	.width		= 640,
+	.height		= 480,
+	.offset		= {
+		.h1 = 0,
+		.h2 = 0,
+		.v1 = 0,
+		.v2 = 0,
+	},
+
+	.polarity	= {
+		.pclk	= 0,
+		.vsync	= 0,
+		.href	= 0,
+		.hsync	= 0,
+	},
+
+	.initialized	= 0,	
+};
+
+struct s3c_fimc_config s3c_fimc;
+
+struct s3c_platform_fimc *to_fimc_plat(struct device *dev)
+{
+	struct platform_device *pdev = to_platform_device(dev);
+
+	return (struct s3c_platform_fimc *) pdev->dev.platform_data;
+}
+
+u8 s3c_fimc_i2c_read(struct i2c_client *client, u8 subaddr)
+{
+	u8 buf[1];
+	struct i2c_msg msg = {client->addr, 0, 1, buf};
+	int ret;
+	
+	buf[0] = subaddr;
+
+	ret = i2c_transfer(client->adapter, &msg, 1) == 1 ? 0 : -EIO;
+	if (ret == -EIO) {
+		err("i2c transfer error\n");
+		return -EIO;
+	}
+
+	msg.flags = I2C_M_RD;
+	ret = i2c_transfer(client->adapter, &msg, 1) == 1 ? 0 : -EIO;
+
+	return buf[0];
+}
+
+int s3c_fimc_i2c_write(struct i2c_client *client, u8 subaddr, u8 val)
+{
+	u8 buf[2];
+	struct i2c_msg msg = {client->addr, 0, 2, buf};
+
+	buf[0] = subaddr;
+	buf[1] = val;
+
+	return i2c_transfer(client->adapter, &msg, 1) == 1 ? 0 : -EIO;
+}
+
+void s3c_fimc_i2c_command(struct s3c_fimc_control *ctrl, u32 cmd, int arg)
+{
+	struct i2c_client *client = ctrl->in_cam->client;
+
+	if (client)
+		client->driver->command(client, cmd, (void *) arg);
+	else
+		err("i2c client is not registered\n");
+}
+
+void s3c_fimc_register_camera(struct s3c_fimc_camera *cam)
+{
+	s3c_fimc.camera[cam->id] = cam;
+
+	clk_disable(s3c_fimc.cam_clock);
+	clk_set_rate(s3c_fimc.cam_clock, cam->clockrate);
+	clk_enable(s3c_fimc.cam_clock);
+
+	s3c_fimc_reset_camera();
+}
+
+void s3c_fimc_unregister_camera(struct s3c_fimc_camera *cam)
+{
+	int i = 0;
+
+	for (i = 0; i < S3C_FIMC_MAX_CTRLS; i++) {
+		if (s3c_fimc.ctrl[i].in_cam == cam)
+			s3c_fimc.ctrl[i].in_cam = NULL;
+	}
+	
+	s3c_fimc.camera[cam->id] = NULL;
+}
+
+void s3c_fimc_set_active_camera(struct s3c_fimc_control *ctrl, int id)
+{
+	ctrl->in_cam = s3c_fimc.camera[id];
+
+	if (ctrl->in_cam && id < S3C_FIMC_TPID)
+		s3c_fimc_select_camera(ctrl);
+}
+
+void s3c_fimc_init_camera(struct s3c_fimc_control *ctrl)
+{
+	struct s3c_fimc_camera *cam = ctrl->in_cam;
+
+	if (cam && cam->id != S3C_FIMC_TPID && !cam->initialized) {
+		s3c_fimc_i2c_command(ctrl, I2C_CAM_INIT, 0);
+		s3c_fimc_change_resolution(ctrl, CAM_RES_DEFAULT);
+		cam->initialized = 1;
+	}
+}
+
+static irqreturn_t s3c_fimc_irq(int irq, void *dev_id)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) dev_id;
+
+	s3c_fimc_clear_irq(ctrl);
+	s3c_fimc_check_fifo(ctrl);
+
+	if (IS_CAPTURE(ctrl)) {
+		dev_dbg(ctrl->dev, "irq is in capture state\n");
+
+		if (s3c_fimc_frame_handler(ctrl) == S3C_FIMC_FRAME_SKIP)
+			return IRQ_HANDLED;
+
+		wake_up_interruptible(&ctrl->waitq);
+	}
+
+	return IRQ_HANDLED;
+}
+
+static
+struct s3c_fimc_control *s3c_fimc_register_controller(struct platform_device *pdev)
+{
+	struct s3c_platform_fimc *pdata;
+	struct s3c_fimc_control *ctrl;
+	struct resource *res;
+	int i = S3C_FIMC_MAX_CTRLS - 1;
+	int id = pdev->id;
+
+	pdata = to_fimc_plat(&pdev->dev);
+
+	ctrl = &s3c_fimc.ctrl[id];
+	ctrl->id = id;
+	ctrl->dev = &pdev->dev;
+	ctrl->vd = &s3c_fimc_video_device[id];
+	ctrl->rot90 = 0;
+	ctrl->vd->minor = id;
+	ctrl->out_frame.nr_frames = pdata->nr_frames;
+	ctrl->out_frame.skip_frames = 0;
+	ctrl->scaler.line_length = pdata->line_length;
+
+	sprintf(ctrl->name, "%s%d", S3C_FIMC_NAME, id);
+	strcpy(ctrl->vd->name, ctrl->name);
+
+	ctrl->open_lcdfifo = s3cfb_enable_local;
+	ctrl->close_lcdfifo = s3cfb_enable_dma;
+
+	atomic_set(&ctrl->in_use, 0);
+	mutex_init(&ctrl->lock);
+	init_waitqueue_head(&ctrl->waitq);
+
+	/* get resource for io memory */
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (!res) {
+		err("failed to get io memory region\n");
+		return NULL;
+	}
+
+	if (!pdata->shared_io) {
+		/* request mem region */
+		res = request_mem_region(res->start, res->end - res->start + 1, pdev->name);
+		if (!res) {
+			err("failed to request io memory region\n");
+			return NULL;
+		}
+
+		/* ioremap for register block */
+		ctrl->regs = ioremap(res->start, res->end - res->start + 1);
+	} else {
+		while (i >= 0 && ctrl->regs == NULL) {
+			ctrl->regs = s3c_fimc.ctrl[i].regs;
+			i--;
+		}
+	}
+
+	if (!ctrl->regs) {
+		err("failed to remap io region\n");
+		return NULL;
+	}
+
+	/* irq */
+	ctrl->irq = platform_get_irq(pdev, 0);
+	if (request_irq(ctrl->irq, s3c_fimc_irq, IRQF_DISABLED, ctrl->name, ctrl))
+		err("request_irq failed\n");
+
+	s3c_fimc_reset(ctrl);
+	s3c_fimc_set_active_camera(ctrl, 0);
+
+	return ctrl;
+}
+
+static int s3c_fimc_unregister_controller(struct platform_device *pdev)
+{
+	struct s3c_fimc_control *ctrl;
+	struct s3c_platform_fimc *pdata;
+	int id = pdev->id;
+
+	ctrl = &s3c_fimc.ctrl[id];
+
+	s3c_fimc_free_output_memory(&ctrl->out_frame);
+
+	pdata = to_fimc_plat(ctrl->dev);
+
+	if (!pdata->shared_io)
+		iounmap(ctrl->regs);
+
+	memset(ctrl, 0, sizeof(*ctrl));
+	
+	return 0;
+}
+
+static int s3c_fimc_mmap(struct file* filp, struct vm_area_struct *vma)
+{
+	struct s3c_fimc_control *ctrl = filp->private_data;
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+
+	u32 size = vma->vm_end - vma->vm_start;
+	u32 pfn, total_size = frame->buf_size;
+
+	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+	vma->vm_flags |= VM_RESERVED;
+
+	/* page frame number of the address for a source frame to be stored at. */
+	pfn = __phys_to_pfn(frame->addr[vma->vm_pgoff].phys_y);
+
+	if (size > total_size) {
+		err("the size of mapping is too big\n");
+		return -EINVAL;
+	}
+
+	if ((vma->vm_flags & VM_WRITE) && !(vma->vm_flags & VM_SHARED)) {
+		err("writable mapping must be shared\n");
+		return -EINVAL;
+	}
+
+	if (remap_pfn_range(vma, vma->vm_start, pfn, size, vma->vm_page_prot)) {
+		err("mmap fail\n");
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+static u32 s3c_fimc_poll(struct file *filp, poll_table *wait)
+{
+	struct s3c_fimc_control *ctrl = filp->private_data;
+	u32 mask = 0;
+
+	poll_wait(filp, &ctrl->waitq, wait);
+
+	if (IS_IRQ_HANDLING(ctrl))
+		mask = POLLIN | POLLRDNORM;
+
+	FSET_STOP(ctrl);
+
+	return mask;
+}
+
+static
+ssize_t s3c_fimc_read(struct file *filp, char *buf, size_t count, loff_t *pos)
+{
+	struct s3c_fimc_control *ctrl = filp->private_data;
+	size_t end;
+
+	if (IS_CAPTURE(ctrl)) {
+		if (wait_event_interruptible(ctrl->waitq, IS_IRQ_HANDLING(ctrl)))
+				return -ERESTARTSYS;
+
+		FSET_STOP(ctrl);
+	}
+
+	end = min_t(size_t, ctrl->out_frame.buf_size, count);
+
+	if (copy_to_user(buf, s3c_fimc_get_current_frame(ctrl), end))
+		return -EFAULT;
+
+	return end;
+}
+
+static
+ssize_t s3c_fimc_write(struct file *filp, const char *b, size_t c, loff_t *offset)
+{
+	return 0;
+}
+
+static int s3c_fimc_open(struct inode *inode, struct file *filp)
+{
+	struct s3c_fimc_control *ctrl;
+	int id, ret;
+
+	id = MINOR(inode->i_rdev);
+	ctrl = &s3c_fimc.ctrl[id];
+
+	mutex_lock(&ctrl->lock);
+
+	if (atomic_read(&ctrl->in_use)) {
+		ret = -EBUSY;
+		goto resource_busy;
+	} else {
+		atomic_inc(&ctrl->in_use);
+		s3c_fimc_reset(ctrl);
+		filp->private_data = ctrl;
+	}
+
+	mutex_unlock(&ctrl->lock);
+
+	return 0;
+
+resource_busy:
+	mutex_unlock(&ctrl->lock);
+	return ret;
+}
+
+static int s3c_fimc_release(struct inode *inode, struct file *filp)
+{
+	struct s3c_fimc_control *ctrl;
+	int id;
+
+	id = MINOR(inode->i_rdev);
+	ctrl = &s3c_fimc.ctrl[id];
+
+	mutex_lock(&ctrl->lock);
+
+	atomic_dec(&ctrl->in_use);
+	filp->private_data = NULL;
+
+	mutex_unlock(&ctrl->lock);
+
+	return 0;
+}
+
+static const struct file_operations s3c_fimc_fops = {
+	.owner = THIS_MODULE,
+	.open = s3c_fimc_open,
+	.release = s3c_fimc_release,
+	.ioctl = video_ioctl2,
+	.read = s3c_fimc_read,
+	.write = s3c_fimc_write,
+	.mmap = s3c_fimc_mmap,
+	.poll = s3c_fimc_poll,
+};
+
+static void s3c_fimc_vdev_release(struct video_device *vdev)
+{
+	kfree(vdev);
+}
+
+struct video_device s3c_fimc_video_device[S3C_FIMC_MAX_CTRLS] = {
+	[0] = {
+		.vfl_type = VID_TYPE_OVERLAY | VID_TYPE_CAPTURE | VID_TYPE_CLIPPING | VID_TYPE_SCALES,
+		.fops = &s3c_fimc_fops,
+		.ioctl_ops = &s3c_fimc_v4l2_ops,
+		.release  = s3c_fimc_vdev_release,
+	},
+	[1] = {
+		.vfl_type = VID_TYPE_OVERLAY | VID_TYPE_CAPTURE | VID_TYPE_CLIPPING | VID_TYPE_SCALES,
+		.fops = &s3c_fimc_fops,
+		.ioctl_ops = &s3c_fimc_v4l2_ops,
+		.release  = s3c_fimc_vdev_release,
+	},
+	[2] = {
+		.vfl_type = VID_TYPE_OVERLAY | VID_TYPE_CAPTURE | VID_TYPE_CLIPPING | VID_TYPE_SCALES,
+		.fops = &s3c_fimc_fops,
+		.ioctl_ops = &s3c_fimc_v4l2_ops,
+		.release  = s3c_fimc_vdev_release,
+	},
+};
+
+static int s3c_fimc_init_global(struct platform_device *pdev)
+{
+	/* camera clock */
+	s3c_fimc.cam_clock = clk_get(&pdev->dev, "sclk_cam");
+	if (IS_ERR(s3c_fimc.cam_clock)) {
+		err("failed to get camera clock source\n");
+		return -EINVAL;
+	}
+
+	s3c_fimc.dma_start = s3c_get_media_memory(S3C_MDEV_FIMC);
+	s3c_fimc.dma_total = s3c_get_media_memsize(S3C_MDEV_FIMC);
+	s3c_fimc.dma_current = s3c_fimc.dma_start;
+
+	/* test pattern */
+	s3c_fimc.camera[test_pattern.id] = &test_pattern;
+
+	return 0;
+}
+
+static int s3c_fimc_probe(struct platform_device *pdev)
+{
+	struct s3c_platform_fimc *pdata;
+	struct s3c_fimc_control *ctrl;
+	struct clk *srclk;
+	int ret;
+
+	ctrl = s3c_fimc_register_controller(pdev);
+	if (!ctrl) {
+		err("cannot register fimc controller\n");
+		goto err_fimc;
+	}
+
+	pdata = to_fimc_plat(&pdev->dev);
+	if (pdata->cfg_gpio)
+		pdata->cfg_gpio(pdev);
+
+	/* fimc source clock */
+	srclk = clk_get(&pdev->dev, pdata->srclk_name);
+	if (IS_ERR(srclk)) {
+		err("failed to get source clock of fimc\n");
+		goto err_clk_io;
+	}
+
+	/* fimc clock */
+	ctrl->clock = clk_get(&pdev->dev, pdata->clk_name);
+	if (IS_ERR(ctrl->clock)) {
+		err("failed to get fimc clock source\n");
+		goto err_clk_io;
+	}
+
+	/* set parent clock */
+	if (ctrl->clock->set_parent)
+		ctrl->clock->set_parent(ctrl->clock, srclk);
+
+	/* set clockrate for FIMC interface block */
+	if (ctrl->clock->set_rate)
+		ctrl->clock->set_rate(ctrl->clock, pdata->clockrate);
+
+	clk_enable(ctrl->clock);
+
+	/* things to initialize once */
+	if (ctrl->id == 0) {
+		ret = s3c_fimc_init_global(pdev);
+		if (ret)
+			goto err_global;
+	}
+
+	ret = video_register_device(ctrl->vd, VFL_TYPE_GRABBER, ctrl->id);
+	if (ret) {
+		err("cannot register video driver\n");
+		goto err_video;
+	}
+
+	info("controller %d registered successfully\n", ctrl->id);
+
+	return 0;
+
+err_video:
+	clk_put(s3c_fimc.cam_clock);
+
+err_global:
+	clk_disable(ctrl->clock);
+	clk_put(ctrl->clock);
+
+err_clk_io:
+	s3c_fimc_unregister_controller(pdev);
+
+err_fimc:
+	return -EINVAL;
+	
+}
+
+static int s3c_fimc_remove(struct platform_device *pdev)
+{
+	s3c_fimc_unregister_controller(pdev);
+
+	return 0;
+}
+
+int s3c_fimc_suspend(struct platform_device *dev, pm_message_t state)
+{
+	return 0;
+}
+
+int s3c_fimc_resume(struct platform_device *dev)
+{
+	return 0;
+}
+
+static struct platform_driver s3c_fimc_driver = {
+	.probe		= s3c_fimc_probe,
+	.remove		= s3c_fimc_remove,
+	.suspend	= s3c_fimc_suspend,
+	.resume		= s3c_fimc_resume,
+	.driver		= {
+		.name	= "s3c-fimc",
+		.owner	= THIS_MODULE,
+	},
+};
+
+static int s3c_fimc_register(void)
+{
+	platform_driver_register(&s3c_fimc_driver);
+
+	return 0;
+}
+
+static void s3c_fimc_unregister(void)
+{
+	platform_driver_unregister(&s3c_fimc_driver);
+}
+
+module_init(s3c_fimc_register);
+module_exit(s3c_fimc_unregister);
+	
+MODULE_AUTHOR("Jinsung, Yang <jsgood.yang@samsung.com>");
+MODULE_DESCRIPTION("Samsung Camera Interface (FIMC) driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/fimd/s3c_fimd_v4l2.c linux-2.6.28.6/drivers/media/video/samsung/fimd/s3c_fimd_v4l2.c
--- linux-2.6.28/drivers/media/video/samsung/fimd/s3c_fimd_v4l2.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/fimd/s3c_fimd_v4l2.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,755 @@
+/* linux/drivers/media/video/samsung/s3c_fimc_v4l2.c
+ *
+ * V4L2 interface support file for Samsung Camera Interface (FIMC) driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/fs.h>
+#include <linux/errno.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+#include <linux/dma-mapping.h>
+#include <linux/videodev2.h>
+#include <media/v4l2-ioctl.h>
+
+#include "s3c_fimc.h"
+
+static struct v4l2_input s3c_fimc_input_types[] = {
+	{
+		.index		= 0,
+		.name		= "External Camera Input",
+		.type		= V4L2_INPUT_TYPE_CAMERA,
+		.audioset	= 1,
+		.tuner		= 0,
+		.std		= V4L2_STD_PAL_BG | V4L2_STD_NTSC_M,
+		.status		= 0,
+	}, 
+	{
+		.index		= 1,
+		.name		= "Memory Input",
+		.type		= V4L2_INPUT_TYPE_MEMORY,
+		.audioset	= 2,
+		.tuner		= 0,
+		.std		= V4L2_STD_PAL_BG | V4L2_STD_NTSC_M,
+		.status		= 0,
+	}
+};
+
+static struct v4l2_output s3c_fimc_output_types[] = {
+	{
+		.index		= 0,
+		.name		= "Memory Output",
+		.type		= V4L2_OUTPUT_TYPE_MEMORY,
+		.audioset	= 0,
+		.modulator	= 0, 
+		.std		= 0,
+	}, 
+	{
+		.index		= 1,
+		.name		= "LCD FIFO Output",
+		.type		= V4L2_OUTPUT_TYPE_LCDFIFO,
+		.audioset	= 0,
+		.modulator	= 0,
+		.std		= 0,
+	} 
+};
+
+const static struct v4l2_fmtdesc s3c_fimc_capture_formats[] = {
+	{
+		.index		= 0,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PLANAR,
+		.description	= "4:2:0, planar, Y-Cb-Cr",
+		.pixelformat	= V4L2_PIX_FMT_YUV420,
+	},
+	{
+		.index		= 1,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PLANAR,
+		.description	= "4:2:2, planar, Y-Cb-Cr",
+		.pixelformat	= V4L2_PIX_FMT_YUV422P,
+
+	},	
+	{
+		.index		= 2,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PACKED,
+		.description	= "4:2:2, packed, YCBYCR",
+		.pixelformat	= V4L2_PIX_FMT_YUYV,
+	},
+	{
+		.index		= 3,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PACKED,
+		.description	= "4:2:2, packed, CBYCRY",
+		.pixelformat	= V4L2_PIX_FMT_UYVY,
+	}
+};
+
+const static struct v4l2_fmtdesc s3c_fimc_overlay_formats[] = {
+	{
+		.index		= 0,
+		.type		= V4L2_BUF_TYPE_VIDEO_OVERLAY,
+		.flags		= FORMAT_FLAGS_PACKED,
+		.description	= "16 bpp RGB, le",
+		.pixelformat	= V4L2_PIX_FMT_RGB565,		
+	},
+	{
+		.index		= 1,
+		.type		= V4L2_BUF_TYPE_VIDEO_OVERLAY,
+		.flags		= FORMAT_FLAGS_PACKED,
+		.description	= "24 bpp RGB, le",
+		.pixelformat	= V4L2_PIX_FMT_RGB24,		
+	},
+};
+
+#define S3C_FIMC_MAX_INPUT_TYPES	ARRAY_SIZE(s3c_fimc_input_types)
+#define S3C_FIMC_MAX_OUTPUT_TYPES	ARRAY_SIZE(s3c_fimc_output_types)
+#define S3C_FIMC_MAX_CAPTURE_FORMATS	ARRAY_SIZE(s3c_fimc_capture_formats)
+#define S3C_FIMC_MAX_OVERLAY_FORMATS	ARRAY_SIZE(s3c_fimc_overlay_formats)
+
+static int s3c_fimc_v4l2_querycap(struct file *filp, void *fh,
+					struct v4l2_capability *cap)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	strcpy(cap->driver, "Samsung FIMC Driver");
+	strlcpy(cap->card, ctrl->vd->name, sizeof(cap->card));
+	sprintf(cap->bus_info, "FIMC AHB-bus");
+
+	cap->version = 0;
+	cap->capabilities = (V4L2_CAP_VIDEO_OVERLAY | \
+				V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_fbuf(struct file *filp, void *fh,
+					struct v4l2_framebuffer *fb)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	*fb = ctrl->v4l2.frmbuf;
+
+	fb->base = ctrl->v4l2.frmbuf.base;
+	fb->capability = V4L2_FBUF_CAP_LIST_CLIPPING;
+
+	fb->fmt.pixelformat  = ctrl->v4l2.frmbuf.fmt.pixelformat;
+	fb->fmt.width = ctrl->v4l2.frmbuf.fmt.width;
+	fb->fmt.height = ctrl->v4l2.frmbuf.fmt.height;
+	fb->fmt.bytesperline = ctrl->v4l2.frmbuf.fmt.bytesperline;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_fbuf(struct file *filp, void *fh,
+					struct v4l2_framebuffer *fb)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	struct v4l2_framebuffer *frmbuf = &(ctrl->v4l2.frmbuf);
+	int i, bpp;
+
+	for (i = 0; i < S3C_FIMC_MAX_OVERLAY_FORMATS; i++) {
+		if (s3c_fimc_overlay_formats[i].pixelformat == fb->fmt.pixelformat)
+			break;
+	}
+
+	if (i == S3C_FIMC_MAX_OVERLAY_FORMATS)
+		return -EINVAL;
+
+	bpp = s3c_fimc_set_output_frame(ctrl, &fb->fmt);
+
+	frmbuf->base  = fb->base;
+	frmbuf->flags = fb->flags;
+	frmbuf->capability = fb->capability;
+	frmbuf->fmt.width = fb->fmt.width;
+	frmbuf->fmt.height = fb->fmt.height;
+	frmbuf->fmt.field = fb->fmt.field;
+	frmbuf->fmt.pixelformat = fb->fmt.pixelformat;
+	frmbuf->fmt.bytesperline = fb->fmt.width * bpp / 8;
+	frmbuf->fmt.sizeimage = fb->fmt.width * frmbuf->fmt.bytesperline;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_enum_fmt_vid_cap(struct file *filp, void *fh,
+					struct v4l2_fmtdesc *f)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	int index = f->index;
+
+	if (index >= S3C_FIMC_MAX_CAPTURE_FORMATS)
+		return -EINVAL;
+
+	memset(f, 0, sizeof(*f));
+	memcpy(f, ctrl->v4l2.fmtdesc + index, sizeof(*f));
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_fmt_vid_cap(struct file *filp, void *fh,
+					struct v4l2_format *f)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	int size = sizeof(struct v4l2_pix_format);
+
+	memset(&f->fmt.pix, 0, size);
+	memcpy(&f->fmt.pix, &(ctrl->v4l2.frmbuf.fmt), size);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_fmt_vid_cap(struct file *filp, void *fh,
+					struct v4l2_format *f)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	ctrl->v4l2.frmbuf.fmt = f->fmt.pix;
+
+	if (f->fmt.pix.priv == V4L2_FMT_IN)
+		s3c_fimc_set_input_frame(ctrl, &f->fmt.pix);
+	else
+		s3c_fimc_set_output_frame(ctrl, &f->fmt.pix);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_try_fmt_vid_cap(struct file *filp, void *fh,
+					  struct v4l2_format *f)
+{
+	return 0;
+}
+
+static int s3c_fimc_v4l2_try_fmt_overlay(struct file *filp, void *fh,
+					  struct v4l2_format *f)
+{
+	return 0;
+}
+
+static int s3c_fimc_v4l2_overlay(struct file *filp, void *fh, unsigned int i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (i) {
+		if (ctrl->in_type != PATH_IN_DMA)
+			s3c_fimc_init_camera(ctrl);
+
+		FSET_PREVIEW(ctrl);
+		s3c_fimc_start_dma(ctrl);
+	} else {
+		s3c_fimc_stop_dma(ctrl);
+
+		if (ctrl->out_type != PATH_OUT_LCDFIFO) {
+			s3c_fimc_free_output_memory(&ctrl->out_frame);
+			s3c_fimc_set_output_address(ctrl);
+		}
+	}
+	
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_ctrl(struct file *filp, void *fh,
+					struct v4l2_control *c)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+
+	switch (c->id) {
+	case V4L2_CID_OUTPUT_ADDR:
+		c->value = frame->addr[c->value].phys_y;
+		break;
+
+	default:
+		err("invalid control id: %d\n", c->id);
+		return -EINVAL;
+	}
+	
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_ctrl(struct file *filp, void *fh,
+					struct v4l2_control *c)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+	struct s3c_fimc_window_offset *offset = &ctrl->in_cam->offset;
+
+	switch (c->id) {
+	case V4L2_CID_EFFECT_ORIGINAL:
+		frame->effect.type = EFFECT_ORIGINAL;
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_EFFECT_NEGATIVE:
+		frame->effect.type = EFFECT_NEGATIVE;
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_EFFECT_EMBOSSING:
+		frame->effect.type = EFFECT_EMBOSSING;
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_EFFECT_ARTFREEZE:
+		frame->effect.type = EFFECT_ARTFREEZE;
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_EFFECT_SILHOUETTE:
+		frame->effect.type = EFFECT_SILHOUETTE;
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_EFFECT_ARBITRARY:
+		frame->effect.type = EFFECT_ARBITRARY;
+		frame->effect.pat_cb = PAT_CB(c->value);
+		frame->effect.pat_cr = PAT_CR(c->value);
+		s3c_fimc_change_effect(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_ORIGINAL:
+		frame->flip = FLIP_ORIGINAL;
+		ctrl->rot90 = 0;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_HFLIP:
+		frame->flip = FLIP_X_AXIS;
+		ctrl->rot90 = 0;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_VFLIP:
+		frame->flip = FLIP_Y_AXIS;
+		ctrl->rot90 = 0;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_180:
+		frame->flip = FLIP_XY_AXIS;
+		ctrl->rot90 = 0;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_90:
+		frame->flip = FLIP_ORIGINAL;
+		ctrl->rot90 = 1;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_270:
+		frame->flip = FLIP_XY_AXIS;
+		ctrl->rot90 = 1;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_90_HFLIP:
+		frame->flip = FLIP_X_AXIS;
+		ctrl->rot90 = 1;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ROTATE_90_VFLIP:
+		frame->flip = FLIP_Y_AXIS;
+		ctrl->rot90 = 1;
+		s3c_fimc_change_rotate(ctrl);
+		break;
+
+	case V4L2_CID_ZOOM_IN:
+		if (s3c_fimc_check_zoom(ctrl, c->id) == 0) {
+			offset->h1 += S3C_FIMC_ZOOM_PIXELS;
+			offset->h2 += S3C_FIMC_ZOOM_PIXELS;
+			offset->v1 += S3C_FIMC_ZOOM_PIXELS;
+			offset->v2 += S3C_FIMC_ZOOM_PIXELS;
+			s3c_fimc_restart_dma(ctrl);
+		}
+
+		break;
+
+	case V4L2_CID_ZOOM_OUT:
+		if (s3c_fimc_check_zoom(ctrl, c->id) == 0) {
+			offset->h1 -= S3C_FIMC_ZOOM_PIXELS;
+			offset->h2 -= S3C_FIMC_ZOOM_PIXELS;
+			offset->v1 -= S3C_FIMC_ZOOM_PIXELS;
+			offset->v2 -= S3C_FIMC_ZOOM_PIXELS;
+			s3c_fimc_restart_dma(ctrl);
+		}
+
+		break;
+
+	case V4L2_CID_AUTO_WHITE_BALANCE:
+		s3c_fimc_i2c_command(ctrl, I2C_CAM_WB, c->value);
+		break;
+
+	case V4L2_CID_ACTIVE_CAMERA:
+		s3c_fimc_set_active_camera(ctrl, c->value);
+		s3c_fimc_i2c_command(ctrl, I2C_CAM_WB, WB_AUTO);
+		break;
+
+	case V4L2_CID_TEST_PATTERN:
+		s3c_fimc_set_active_camera(ctrl, S3C_FIMC_TPID);
+		s3c_fimc_set_test_pattern(ctrl, c->value);
+		break;
+
+	case V4L2_CID_NR_FRAMES:
+		s3c_fimc_set_nr_frames(ctrl, c->value);
+		break;
+
+	case V4L2_CID_INPUT_ADDR:
+		s3c_fimc_alloc_input_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_fimc_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_INPUT_ADDR_Y:
+	case V4L2_CID_INPUT_ADDR_RGB:
+		s3c_fimc_alloc_y_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_fimc_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_INPUT_ADDR_CB:	/* fall through */
+	case V4L2_CID_INPUT_ADDR_CBCR:
+		s3c_fimc_alloc_cb_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_fimc_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_INPUT_ADDR_CR:
+		s3c_fimc_alloc_cr_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_fimc_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_RESET:
+		ctrl->rot90 = 0;
+		ctrl->in_frame.flip = FLIP_ORIGINAL;
+		ctrl->out_frame.flip = FLIP_ORIGINAL;
+		ctrl->out_frame.effect.type = EFFECT_ORIGINAL;
+		ctrl->scaler.bypass = 0;
+		s3c_fimc_reset(ctrl);
+		break;
+
+	case V4L2_CID_JPEG_INPUT:	/* fall through */
+	case V4L2_CID_SCALER_BYPASS:
+		ctrl->scaler.bypass = 1;
+		break;
+
+	default:
+		err("invalid control id: %d\n", c->id);
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_streamon(struct file *filp, void *fh,
+					enum v4l2_buf_type i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	
+	if (i != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+		return -EINVAL;
+
+	if (ctrl->in_type != PATH_IN_DMA)
+		s3c_fimc_init_camera(ctrl);
+
+	ctrl->out_frame.skip_frames = 0;
+	FSET_CAPTURE(ctrl);
+	FSET_IRQ_NORMAL(ctrl);
+	s3c_fimc_start_dma(ctrl);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_streamoff(struct file *filp, void *fh,
+					enum v4l2_buf_type i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	
+	if (i != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+		return -EINVAL;
+
+	FSET_STOP(ctrl);
+	UNMASK_USAGE(ctrl);
+	UNMASK_IRQ(ctrl);
+
+	s3c_fimc_stop_dma(ctrl);
+	s3c_fimc_free_output_memory(&ctrl->out_frame);
+	s3c_fimc_set_output_address(ctrl);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_input(struct file *filp, void *fh,
+					unsigned int *i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	*i = ctrl->v4l2.input->index;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_input(struct file *filp, void *fh,
+					unsigned int i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (i >= S3C_FIMC_MAX_INPUT_TYPES)
+		return -EINVAL;
+
+	ctrl->v4l2.input = &s3c_fimc_input_types[i];
+
+	if (s3c_fimc_input_types[i].type == V4L2_INPUT_TYPE_CAMERA)
+		ctrl->in_type = PATH_IN_ITU_CAMERA;
+	else
+		ctrl->in_type = PATH_IN_DMA;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_output(struct file *filp, void *fh,
+					unsigned int *i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	*i = ctrl->v4l2.output->index;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_output(struct file *filp, void *fh,
+					unsigned int i)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (i >= S3C_FIMC_MAX_OUTPUT_TYPES)
+		return -EINVAL;
+
+	ctrl->v4l2.output = &s3c_fimc_output_types[i];
+
+	if (s3c_fimc_output_types[i].type == V4L2_OUTPUT_TYPE_MEMORY)
+		ctrl->out_type = PATH_OUT_DMA;
+	else
+		ctrl->out_type = PATH_OUT_LCDFIFO;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_enum_input(struct file *filp, void *fh,
+					struct v4l2_input *i)
+{
+	if (i->index >= S3C_FIMC_MAX_INPUT_TYPES)
+		return -EINVAL;
+
+	memcpy(i, &s3c_fimc_input_types[i->index], sizeof(struct v4l2_input));
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_enum_output(struct file *filp, void *fh,
+					struct v4l2_output *o)
+{
+	if ((o->index) >= S3C_FIMC_MAX_OUTPUT_TYPES)
+		return -EINVAL;
+
+	memcpy(o, &s3c_fimc_output_types[o->index], sizeof(struct v4l2_output));
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_reqbufs(struct file *filp, void *fh,
+					struct v4l2_requestbuffers *b)
+{
+	if (b->memory != V4L2_MEMORY_MMAP) {
+		err("V4L2_MEMORY_MMAP is only supported\n");
+		return -EINVAL;
+	}
+
+	/* control user input */
+	if (b->count > 4)
+		b->count = 4;
+	else if (b->count < 1)
+		b->count = 1;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_querybuf(struct file *filp, void *fh,
+					struct v4l2_buffer *b)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	
+	if (b->type != V4L2_BUF_TYPE_VIDEO_OVERLAY && \
+		b->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+		return -EINVAL;
+
+	if (b->memory != V4L2_MEMORY_MMAP)
+		return -EINVAL;
+
+	b->length = ctrl->out_frame.buf_size;
+
+	/*
+	 * NOTE: we use the m.offset as an index for multiple frames out.
+	 * Because all frames are not contiguous, we cannot use it as
+	 * original purpose.
+	 * The index value used to find out which frame user wants to mmap.
+	 */
+	b->m.offset = b->index * PAGE_SIZE;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_qbuf(struct file *filp, void *fh,
+				struct v4l2_buffer *b)
+{
+	return 0;
+}
+
+static int s3c_fimc_v4l2_dqbuf(struct file *filp, void *fh,
+				struct v4l2_buffer *b)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	struct s3c_fimc_out_frame *frame = &ctrl->out_frame;
+
+	ctrl->out_frame.cfn = s3c_fimc_get_frame_count(ctrl);
+	b->index = (frame->cfn + 2) % frame->nr_frames;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_cropcap(struct file *filp, void *fh,
+					struct v4l2_cropcap *a)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE &&
+		a->type != V4L2_BUF_TYPE_VIDEO_OVERLAY)
+		return -EINVAL;
+
+	/* crop limitations */
+	ctrl->v4l2.crop_bounds.left = 0;
+	ctrl->v4l2.crop_bounds.top = 0;
+	ctrl->v4l2.crop_bounds.width = ctrl->in_cam->width;
+	ctrl->v4l2.crop_bounds.height = ctrl->in_cam->height;
+
+	/* crop default values */
+	ctrl->v4l2.crop_defrect.left = \
+			(ctrl->in_cam->width - S3C_FIMC_CROP_DEF_WIDTH) / 2;
+
+	ctrl->v4l2.crop_defrect.top = \
+			(ctrl->in_cam->height - S3C_FIMC_CROP_DEF_HEIGHT) / 2;
+
+	ctrl->v4l2.crop_defrect.width = S3C_FIMC_CROP_DEF_WIDTH;
+	ctrl->v4l2.crop_defrect.height = S3C_FIMC_CROP_DEF_HEIGHT;
+
+	a->bounds = ctrl->v4l2.crop_bounds;
+	a->defrect = ctrl->v4l2.crop_defrect;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_g_crop(struct file *filp, void *fh,
+				struct v4l2_crop *a)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE &&
+		a->type != V4L2_BUF_TYPE_VIDEO_OVERLAY)
+		return -EINVAL;
+
+	a->c = ctrl->v4l2.crop_current;
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_crop(struct file *filp, void *fh,
+				struct v4l2_crop *a)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+	struct s3c_fimc_camera *cam = ctrl->in_cam;
+
+	if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE &&
+		a->type != V4L2_BUF_TYPE_VIDEO_OVERLAY)
+		return -EINVAL;
+
+	if (a->c.height < 0)
+		return -EINVAL;
+
+	if (a->c.width < 0)
+		return -EINVAL;
+
+	if ((a->c.left + a->c.width > cam->width) || \
+		(a->c.top + a->c.height > cam->height))
+		return -EINVAL;
+
+	ctrl->v4l2.crop_current = a->c;
+
+	cam->offset.h1 = (cam->width - a->c.width) / 2;
+	cam->offset.v1 = (cam->height - a->c.height) / 2;
+
+	cam->offset.h2 = cam->offset.h1;
+	cam->offset.v2 = cam->offset.v1;
+
+	s3c_fimc_restart_dma(ctrl);
+
+	return 0;
+}
+
+static int s3c_fimc_v4l2_s_parm(struct file *filp, void *fh,
+				struct v4l2_streamparm *a)
+{
+	struct s3c_fimc_control *ctrl = (struct s3c_fimc_control *) fh;
+
+	if (a->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+		return -EINVAL;
+
+	if (a->parm.capture.capturemode == V4L2_MODE_HIGHQUALITY) {
+		info("changing to max resolution\n");
+		s3c_fimc_change_resolution(ctrl, CAM_RES_MAX);
+	} else {
+		info("changing to default resolution\n");
+		s3c_fimc_change_resolution(ctrl, CAM_RES_DEFAULT);
+	}
+
+	s3c_fimc_restart_dma(ctrl);
+
+	return 0;
+}
+
+const struct v4l2_ioctl_ops s3c_fimc_v4l2_ops = {
+	.vidioc_querycap		= s3c_fimc_v4l2_querycap,
+	.vidioc_g_fbuf			= s3c_fimc_v4l2_g_fbuf,
+	.vidioc_s_fbuf			= s3c_fimc_v4l2_s_fbuf,
+	.vidioc_enum_fmt_vid_cap	= s3c_fimc_v4l2_enum_fmt_vid_cap,
+	.vidioc_g_fmt_vid_cap		= s3c_fimc_v4l2_g_fmt_vid_cap,
+	.vidioc_s_fmt_vid_cap		= s3c_fimc_v4l2_s_fmt_vid_cap,
+	.vidioc_try_fmt_vid_cap		= s3c_fimc_v4l2_try_fmt_vid_cap,
+	.vidioc_try_fmt_vid_overlay	= s3c_fimc_v4l2_try_fmt_overlay,
+	.vidioc_overlay			= s3c_fimc_v4l2_overlay,
+	.vidioc_g_ctrl			= s3c_fimc_v4l2_g_ctrl,
+	.vidioc_s_ctrl			= s3c_fimc_v4l2_s_ctrl,
+	.vidioc_streamon		= s3c_fimc_v4l2_streamon,
+	.vidioc_streamoff		= s3c_fimc_v4l2_streamoff,
+	.vidioc_g_input			= s3c_fimc_v4l2_g_input,
+	.vidioc_s_input			= s3c_fimc_v4l2_s_input,
+	.vidioc_g_output		= s3c_fimc_v4l2_g_output,
+	.vidioc_s_output		= s3c_fimc_v4l2_s_output,
+	.vidioc_enum_input		= s3c_fimc_v4l2_enum_input,
+	.vidioc_enum_output		= s3c_fimc_v4l2_enum_output,
+	.vidioc_reqbufs			= s3c_fimc_v4l2_reqbufs,
+	.vidioc_querybuf		= s3c_fimc_v4l2_querybuf,
+	.vidioc_qbuf			= s3c_fimc_v4l2_qbuf,
+	.vidioc_dqbuf			= s3c_fimc_v4l2_dqbuf,
+	.vidioc_cropcap			= s3c_fimc_v4l2_cropcap,
+	.vidioc_g_crop			= s3c_fimc_v4l2_g_crop,
+	.vidioc_s_crop			= s3c_fimc_v4l2_s_crop,
+	.vidioc_s_parm			= s3c_fimc_v4l2_s_parm,
+};
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/g2d/Kconfig linux-2.6.28.6/drivers/media/video/samsung/g2d/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/g2d/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/g2d/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,11 @@
+#
+# Configuration for FIMG-2D
+#
+
+config VIDEO_G2D
+	bool "Samsung FIMG-2D Driver" 
+	depends on VIDEO_SAMSUNG && (CPU_S3C6410 || CPU_S5PC100)
+	default n
+	---help---
+	  This is a FIMG-2D(2D accelerator) driver for Samsung S3C6410 and S5PC100.
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/g2d/Makefile linux-2.6.28.6/drivers/media/video/samsung/g2d/Makefile
--- linux-2.6.28/drivers/media/video/samsung/g2d/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/g2d/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,10 @@
+#################################################
+# Makefile for FIMG-2D 
+# 2009 (C) Samsung Electronics 
+# Author : Jonghun Han <jonghun.han@samsung.com>
+#################################################
+
+obj-$(CONFIG_VIDEO_G2D)	+= s3c_fimg2d2x.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/g2d/s3c_fimg2d2x.c linux-2.6.28.6/drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
--- linux-2.6.28/drivers/media/video/samsung/g2d/s3c_fimg2d2x.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/g2d/s3c_fimg2d2x.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,611 @@
+/* linux/drivers/media/video/samsung/g2d/s3c_fimg2d2x.c
+ *
+ * Driver file for Samsung 2D Accelerator(FIMG-2D)
+ *
+ * Jonghun Han, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/clk.h>
+#include <linux/poll.h>
+#include <linux/fs.h>
+#include <linux/irq.h>
+#include <linux/mm.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/miscdevice.h>
+#include <asm/io.h>
+#include <mach/map.h>
+#include <plat/regs-g2d.h>
+
+#include "s3c_fimg2d2x.h"
+
+static struct clk *s3c_g2d_clock;
+static struct clk *h_clk;
+
+static int s3c_g2d_irq_num = NO_IRQ;
+static struct resource *s3c_g2d_mem;
+static void __iomem *s3c_g2d_base;
+static wait_queue_head_t waitq_g2d;
+
+static struct mutex *h_rot_mutex;
+
+static u16 s3c_g2d_poll_flag = 0;
+
+void s3c_g2d_check_fifo(int empty_fifo)
+{
+	u32 val; 
+
+	val = __raw_readl(s3c_g2d_base + S3C_G2D_FIFO_STAT_REG);
+	while( S3C_G2D_FIFO_USED(val) > (FIFO_NUM - empty_fifo));
+}
+
+
+static int s3c_g2d_init_regs(s3c_g2d_params *params)
+{
+	u32 bpp_mode;
+	u32 tmp_reg;
+	s3c_g2d_check_fifo(25);
+
+
+	switch(params->bpp) {
+	case ARGB8:
+		bpp_mode = S3C_G2D_COLOR_MODE_REG_C0_15BPP;
+		break;
+		
+	case RGB16:
+		bpp_mode = S3C_G2D_COLOR_RGB_565;
+		break;
+
+	case RGB18:
+		bpp_mode = S3C_G2D_COLOR_MODE_REG_C2_18BPP;
+		break;
+
+	case RGB24:
+		bpp_mode = S3C_G2D_COLOR_XRGB_8888;
+		break;
+
+	default:
+		bpp_mode = S3C_G2D_COLOR_MODE_REG_C3_24BPP;
+		break;
+	}
+
+	/*set register for soruce image ===============================*/
+	__raw_writel(params->src_base_addr, s3c_g2d_base + S3C_G2D_SRC_BASE_ADDR);
+	__raw_writel(params->src_full_width, s3c_g2d_base + S3C_G2D_HORI_RES_REG);
+	__raw_writel(params->src_full_height, s3c_g2d_base + S3C_G2D_VERT_RES_REG);
+	__raw_writel((S3C_G2D_FULL_V(params->src_full_height) | 
+			S3C_G2D_FULL_H(params->src_full_width)), 
+			s3c_g2d_base+S3C_G2D_SRC_RES_REG);
+	__raw_writel(bpp_mode, s3c_g2d_base + S3C_G2D_SRC_COLOR_MODE);
+	
+	/*set register for destination image =============================*/
+	__raw_writel(params->dst_base_addr, s3c_g2d_base + S3C_G2D_DST_BASE_ADDR);
+	__raw_writel(params->dst_full_width, s3c_g2d_base + S3C_G2D_SC_HORI_REG);
+	__raw_writel(params->dst_full_height, s3c_g2d_base + S3C_G2D_SC_VERT_REG);
+	__raw_writel((S3C_G2D_FULL_V(params->dst_full_height) | 
+			S3C_G2D_FULL_H(params->dst_full_width)), 
+			s3c_g2d_base+S3C_G2D_SC_RES_REG);
+	__raw_writel(bpp_mode, s3c_g2d_base + S3C_G2D_DST_COLOR_MODE);
+
+	/*set register for clipping window===============================*/
+	__raw_writel(params->cw_x1, s3c_g2d_base + S3C_G2D_CW_LT_X_REG);
+	__raw_writel(params->cw_y1, s3c_g2d_base + S3C_G2D_CW_LT_Y_REG);
+	__raw_writel(params->cw_x2, s3c_g2d_base + S3C_G2D_CW_RB_X_REG);
+	__raw_writel(params->cw_y2, s3c_g2d_base + S3C_G2D_CW_RB_Y_REG);
+
+	/*set register for color=======================================*/
+	__raw_writel(params->color_val[G2D_WHITE], s3c_g2d_base + S3C_G2D_FG_COLOR_REG);	/* set color to both font and foreground color */
+	__raw_writel(params->color_val[G2D_BLACK], s3c_g2d_base + S3C_G2D_BG_COLOR_REG);
+	__raw_writel(params->color_val[G2D_BLUE], s3c_g2d_base + S3C_G2D_BS_COLOR_REG);		/* Set blue color to blue screen color */
+
+	/*set register for ROP & Alpha==================================*/
+	if(params->alpha_mode == TRUE) {
+		if(params->alpha_val > ALPHA_VALUE_MAX) {
+			printk(KERN_ALERT "s3c g2d dirver error: exceed alpha value range 0~255\n");
+ 	 		return -ENOENT;
+		}
+
+		__raw_writel(S3C_G2D_ROP_REG_OS_FG_COLOR | 
+				S3C_G2D_ROP_REG_ABM_REGISTER | 
+				S3C_G2D_ROP_REG_T_OPAQUE_MODE | 
+				G2D_ROP_SRC_ONLY, 
+				s3c_g2d_base + S3C_G2D_ROP_REG);
+		__raw_writel(S3C_G2D_ALPHA(params->alpha_val), s3c_g2d_base + S3C_G2D_ALPHA_REG);
+	} else {
+		__raw_writel(S3C_G2D_ROP_REG_OS_FG_COLOR | 
+				S3C_G2D_ROP_REG_ABM_NO_BLENDING | 
+				S3C_G2D_ROP_REG_T_OPAQUE_MODE | 
+				G2D_ROP_SRC_ONLY, 
+				s3c_g2d_base + S3C_G2D_ROP_REG);
+		__raw_writel(S3C_G2D_ALPHA(0x00), s3c_g2d_base + S3C_G2D_ALPHA_REG);		
+	}
+
+	/*set register for color key====================================*/
+	if(params->color_key_mode == TRUE) {
+		tmp_reg = __raw_readl(s3c_g2d_base + S3C_G2D_ROP_REG);
+		tmp_reg |= S3C_G2D_ROP_REG_T_TRANSP_MODE ;
+		__raw_writel(tmp_reg , s3c_g2d_base + S3C_G2D_ROP_REG);
+		__raw_writel(params->color_key_val, s3c_g2d_base + S3C_G2D_BS_COLOR_REG); 	
+	}
+
+	/*set register for rotation=====================================*/
+	__raw_writel(S3C_G2D_ROTATRE_REG_R0_0, s3c_g2d_base + S3C_G2D_ROT_OC_X_REG);
+	__raw_writel(S3C_G2D_ROTATRE_REG_R0_0, s3c_g2d_base + S3C_G2D_ROT_OC_Y_REG);
+	__raw_writel(S3C_G2D_ROTATRE_REG_R0_0, s3c_g2d_base + S3C_G2D_ROTATE_REG);
+	
+	return 0;
+}
+
+
+void s3c_g2d_bitblt(u16 src_x1, u16 src_y1, u16 src_x2, u16 src_y2,
+ 	 u16 dst_x1, u16 dst_y1, u16 dst_x2, u16 dst_y2)
+{
+	u32 cmd_reg_val;
+
+	s3c_g2d_check_fifo(25);
+
+ 	__raw_writel(src_x1, s3c_g2d_base + S3C_G2D_COORD0_X_REG);
+	__raw_writel(src_y1, s3c_g2d_base + S3C_G2D_COORD0_Y_REG);
+ 	__raw_writel(src_x2, s3c_g2d_base + S3C_G2D_COORD1_X_REG);
+	__raw_writel(src_y2, s3c_g2d_base + S3C_G2D_COORD1_Y_REG);
+
+ 	 __raw_writel(dst_x1, s3c_g2d_base + S3C_G2D_COORD2_X_REG);
+ 	__raw_writel(dst_y1, s3c_g2d_base + S3C_G2D_COORD2_Y_REG);
+ 	__raw_writel(dst_x2, s3c_g2d_base + S3C_G2D_COORD3_X_REG);
+ 	__raw_writel(dst_y2, s3c_g2d_base + S3C_G2D_COORD3_Y_REG);
+
+	cmd_reg_val = readl(s3c_g2d_base + S3C_G2D_CMD1_REG);
+	cmd_reg_val = ~(S3C_G2D_CMD1_REG_S|S3C_G2D_CMD1_REG_N);
+	cmd_reg_val |= S3C_G2D_CMD1_REG_N;
+	__raw_writel(cmd_reg_val, s3c_g2d_base + S3C_G2D_CMD1_REG);
+}
+
+
+static void s3c_g2d_rotate_with_bitblt(s3c_g2d_params *params, ROT_DEG rot_degree)
+{
+	u16 org_x=0, org_y=0;
+	u32 rot_reg_val = 0;
+	u32 src_x1, src_y1, src_x2, src_y2, dst_x1, dst_y1, dst_x2, dst_y2;
+
+	src_x1 = params->src_start_x;
+	src_y1 = params->src_start_y;
+	src_x2 = params->src_start_x + params->src_work_width;
+	src_y2 = params->src_start_y + params->src_work_height;
+	dst_x1 = params->dst_start_x;
+	dst_y1 = params->dst_start_y;
+	dst_x2 = params->dst_start_x + params->dst_work_width;
+	dst_y2 = params->dst_start_y + params->dst_work_height;
+	
+	s3c_g2d_check_fifo(25);
+	__raw_writel(S3C_G2D_INTEN_REG_CCF, s3c_g2d_base + S3C_G2D_INTEN_REG);	
+
+	s3c_g2d_get_rotation_origin(src_x1, src_y1, src_x2, src_y2, 
+					dst_x1, dst_y1, rot_degree, &org_x, &org_y);
+	if(rot_degree != (ROT_0||ROT_X_FLIP||ROT_Y_FLIP)){
+		org_x += 1;
+		org_y += 1;
+	}
+	__raw_writel(org_x, s3c_g2d_base + S3C_G2D_ROT_OC_X_REG);
+	__raw_writel(org_y, s3c_g2d_base + S3C_G2D_ROT_OC_Y_REG);
+
+	switch(rot_degree) {
+	case ROT_0:
+		rot_reg_val = S3C_G2D_ROTATRE_REG_R0_0;
+		break;
+		
+	case ROT_90:
+		rot_reg_val = S3C_G2D_ROTATRE_REG_R1_90;
+		break;
+
+	case ROT_180:
+		rot_reg_val = S3C_G2D_ROTATRE_REG_R2_180;
+		break;
+
+	case ROT_270:
+		rot_reg_val = S3C_G2D_ROTATRE_REG_R3_270;
+		break;
+		
+	case ROT_X_FLIP:
+		rot_reg_val = S3C_G2D_ROTATRE_REG_FX;
+		break;
+
+	case ROT_Y_FLIP:
+		rot_reg_val = S3C_G2D_ROTATRE_REG_FY;
+		break;
+
+	default:
+		printk(KERN_ERR "[%s : %d] Wrong rotation degree\n", __FUNCTION__, __LINE__);
+		break;
+	}
+	__raw_writel(rot_reg_val, s3c_g2d_base + S3C_G2D_ROTATE_REG);
+
+	switch(rot_degree) {
+	case ROT_0:		/* fall through */
+	case ROT_X_FLIP:	/* fall through */
+	case ROT_Y_FLIP:
+		s3c_g2d_bitblt(src_x1, src_y1, src_x2, src_y2, 
+				dst_x1, dst_y1, dst_x2, dst_y2);
+		break;
+		
+	case ROT_90:
+		s3c_g2d_bitblt(src_x1, src_y1, src_x2, src_y2, src_x1, 
+				src_y1+1, src_x2, src_y2+1);
+		break;
+
+	case ROT_180:
+		s3c_g2d_bitblt(src_x1, src_y1, src_x2, src_y2, src_x1+1, 
+				src_y1+1, src_x2+1, src_y2+1);
+		break;
+
+	case ROT_270:
+		s3c_g2d_bitblt(src_x1, src_y1, src_x2, src_y2, src_x1+1, 
+				src_y1, src_x2+1, src_y2);
+		break;
+		
+	default:
+		break;
+	}
+}
+
+
+static void s3c_g2d_get_rotation_origin(u16 src_x1, u16 src_y1, 
+					u16 src_x2, u16 src_y2, 
+					u16 dst_x1, u16 dst_y1, 
+					ROT_DEG rot_degree, 
+					u16* org_x, u16* org_y)
+{
+	s3c_g2d_check_fifo(25);
+
+	switch(rot_degree) {
+	case ROT_90:
+		*org_x = ((dst_x1 - dst_y1 + src_x1 + src_y2)>>1);
+		*org_y = ((dst_x1 + dst_y1 - src_x1 + src_y2)>>1);
+		break;
+
+	case ROT_180:		 /* fall through */
+	case ROT_X_FLIP:	 /* fall through */
+	case ROT_Y_FLIP:
+		*org_x = ((dst_x1 + src_x2)>>1);
+		*org_y = ((dst_y1 + src_y2)>>1);
+		break;
+
+	case ROT_270:
+		*org_x = ((dst_x1 + dst_y1 + src_x2 - src_y1)>>1);
+		*org_y = ((dst_y1 - dst_x1 + src_x2 + src_y1)>>1);
+		break;
+
+	case ROT_0: 		/* fall through */
+	default:
+		break;
+	}
+}
+
+
+static void s3c_g2d_rotator_start(s3c_g2d_params *params, ROT_DEG rot_degree)
+{
+
+	s3c_g2d_init_regs(params);
+	s3c_g2d_rotate_with_bitblt(params, rot_degree);
+}
+
+
+irqreturn_t s3c_g2d_irq(int irq, void *dev_id)
+{
+	if(__raw_readl(s3c_g2d_base + S3C_G2D_INTC_PEND_REG) & S3C_G2D_PEND_REG_INTP_CMD_FIN) {
+	 	__raw_writel ( S3C_G2D_PEND_REG_INTP_CMD_FIN, s3c_g2d_base + S3C_G2D_INTC_PEND_REG );
+		wake_up_interruptible(&waitq_g2d);
+		s3c_g2d_poll_flag = 1;
+	}
+
+	return IRQ_HANDLED;
+}
+
+
+int s3c_g2d_open(struct inode *inode, struct file *file)
+{
+	s3c_g2d_params *params;
+	params = (s3c_g2d_params *)kmalloc(sizeof(s3c_g2d_params), GFP_KERNEL);
+	if(params == NULL) {
+		printk(KERN_ERR "Instance memory allocation was failed\n");
+		return -1;
+	}
+
+	memset(params, 0, sizeof(s3c_g2d_params));
+
+	file->private_data	= (s3c_g2d_params *)params;
+	
+	printk("s3c_g2d_open() \n");
+
+	return 0;
+}
+
+
+int s3c_g2d_release(struct inode *inode, struct file *file)
+{
+	s3c_g2d_params *params;
+
+	params = (s3c_g2d_params *)file->private_data;
+	if (params == NULL) {
+		printk(KERN_ERR "Can't release s3c_rotator!!\n");
+		return -1;
+	}
+
+	kfree(params);
+	
+	printk("s3c_g2d_release() \n");
+
+	return 0;
+}
+
+
+int s3c_g2d_mmap(struct file* filp, struct vm_area_struct *vma) 
+{
+	unsigned long pageFrameNo = 0;
+	unsigned long size;
+	
+	size = vma->vm_end - vma->vm_start;
+
+	// page frame number of the address for a source G2D_SFR_SIZE to be stored at. 
+	pageFrameNo = __phys_to_pfn(s3c_g2d_mem->start);
+	
+	if(size > G2D_SFR_SIZE) {
+		printk("The size of G2D_SFR_SIZE mapping is too big!\n");
+		return -EINVAL;
+	}
+	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); 
+	
+	if((vma->vm_flags & VM_WRITE) && !(vma->vm_flags & VM_SHARED)) {
+		printk("Writable G2D_SFR_SIZE mapping must be shared !\n");
+		return -EINVAL;
+	}
+	
+	if(remap_pfn_range(vma, vma->vm_start, pageFrameNo, size, vma->vm_page_prot))
+		return -EINVAL;
+
+	return 0;
+}
+
+
+static int s3c_g2d_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
+{
+	s3c_g2d_params *params;
+	ROT_DEG rot_degree;
+
+	params	= (s3c_g2d_params*)file->private_data;
+	if (copy_from_user(params, (s3c_g2d_params*)arg, sizeof(s3c_g2d_params)))
+		return -EFAULT;
+
+	mutex_lock(h_rot_mutex);
+	
+	switch(cmd) {
+	case S3C_G2D_ROTATOR_0:
+		rot_degree = ROT_0;
+		s3c_g2d_rotator_start(params, rot_degree);
+		break;
+		
+	case S3C_G2D_ROTATOR_90:
+		rot_degree = ROT_90;
+		s3c_g2d_rotator_start(params, rot_degree);
+		break;
+
+	case S3C_G2D_ROTATOR_180:
+		rot_degree = ROT_180;
+		s3c_g2d_rotator_start(params, rot_degree);
+		break;
+		
+	case S3C_G2D_ROTATOR_270:
+		rot_degree = ROT_270;
+		s3c_g2d_rotator_start(params, rot_degree);
+		break;
+
+	case S3C_G2D_ROTATOR_X_FLIP:
+		rot_degree = ROT_X_FLIP;
+		s3c_g2d_rotator_start(params, rot_degree);
+		break;
+
+	case S3C_G2D_ROTATOR_Y_FLIP:
+		rot_degree = ROT_Y_FLIP;
+		s3c_g2d_rotator_start(params, rot_degree);
+		break;
+	
+	default:
+		mutex_unlock(h_rot_mutex);
+		return -EINVAL;
+	}
+	
+	if(!(file->f_flags & O_NONBLOCK)) {
+		if (interruptible_sleep_on_timeout(&waitq_g2d, G2D_TIMEOUT) == 0) {
+			printk(KERN_ERR "\n%s: Waiting for interrupt is timeout\n", __FUNCTION__);
+		}
+	}
+
+	mutex_unlock(h_rot_mutex);
+
+	return 0;
+	
+}
+
+
+static unsigned int s3c_g2d_poll(struct file *file, poll_table *wait)
+{
+	unsigned int mask = 0;
+
+	poll_wait(file, &waitq_g2d, wait);
+	if(s3c_g2d_poll_flag == 1) {
+		mask = POLLOUT|POLLWRNORM;
+		s3c_g2d_poll_flag = 0;
+	}
+
+	return mask;
+}
+
+
+struct file_operations s3c_g2d_fops = {
+	.owner 		= THIS_MODULE,
+	.open 		= s3c_g2d_open,
+	.release 	= s3c_g2d_release,
+	.mmap 		= s3c_g2d_mmap,
+	.ioctl		= s3c_g2d_ioctl,
+	.poll		= s3c_g2d_poll,
+};
+
+
+static struct miscdevice s3c_g2d_dev = {
+	.minor		= G2D_MINOR,
+	.name		= "s3c-g2d",
+	.fops		= &s3c_g2d_fops,
+};
+
+
+int s3c_g2d_probe(struct platform_device *pdev)
+{
+	struct resource *res;
+	int ret;
+	printk(KERN_ALERT"s3c_g2d_probe called\n");
+
+	/* find the IRQs */
+	s3c_g2d_irq_num = platform_get_irq(pdev, 0);
+	if(s3c_g2d_irq_num <= 0) {
+		printk(KERN_ERR "failed to get irq resouce\n");
+ 		return -ENOENT;
+	}
+
+	ret = request_irq(s3c_g2d_irq_num, s3c_g2d_irq, IRQF_DISABLED, pdev->name, NULL);
+	if (ret) {
+		printk("request_irq(g2d) failed.\n");
+		return ret;
+	}
+
+
+	/* get the memory region */
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if(res == NULL) {
+		printk(KERN_ERR "failed to get memory region resouce\n");
+		return -ENOENT;
+	}
+
+	s3c_g2d_mem = request_mem_region(res->start, res->end-res->start+1, pdev->name);
+	if(s3c_g2d_mem == NULL) {
+		printk(KERN_ERR "failed to reserve memory region\n");
+ 	return -ENOENT;
+	}
+
+
+	s3c_g2d_base = ioremap(s3c_g2d_mem->start, s3c_g2d_mem->end - res->start + 1);
+	if(s3c_g2d_base == NULL) {
+		printk(KERN_ERR "failed ioremap\n");
+ 	return -ENOENT;
+	}
+
+	s3c_g2d_clock = clk_get(&pdev->dev, "g2d");
+	if(s3c_g2d_clock == NULL) {
+		printk(KERN_ERR "failed to find g2d clock source\n");
+		return -ENOENT;
+	}
+
+	clk_enable(s3c_g2d_clock);
+
+	h_clk = clk_get(&pdev->dev, "hclk");
+	if(h_clk == NULL) {
+		printk(KERN_ERR "failed to find h_clk clock source\n");
+		return -ENOENT;
+	}
+
+	init_waitqueue_head(&waitq_g2d);
+
+	ret = misc_register(&s3c_g2d_dev);
+	if (ret) {
+		printk (KERN_ERR "cannot register miscdev on minor=%d (%d)\n",
+			G2D_MINOR, ret);
+		return ret;
+	}
+
+	h_rot_mutex = (struct mutex *)kmalloc(sizeof(struct mutex), GFP_KERNEL);
+	if (h_rot_mutex == NULL)
+		return -1;
+	
+	mutex_init(h_rot_mutex);
+
+	printk(KERN_ALERT" s3c_g2d_probe Success\n");
+
+	return 0;
+}
+
+
+static int s3c_g2d_remove(struct platform_device *dev)
+{
+	printk(KERN_INFO "s3c_g2d_remove called !\n");
+
+	free_irq(s3c_g2d_irq_num, NULL);
+	
+	if (s3c_g2d_mem != NULL) { 
+		printk(KERN_INFO "S3C Rotator Driver, releasing resource\n");
+		iounmap(s3c_g2d_base);
+		release_resource(s3c_g2d_mem);
+		kfree(s3c_g2d_mem);
+	}
+
+	misc_deregister(&s3c_g2d_dev);	
+	printk(KERN_INFO "s3c_g2d_remove Success !\n");
+	return 0;
+}
+
+
+static int s3c_g2d_suspend(struct platform_device *dev, pm_message_t state)
+{
+	clk_disable(s3c_g2d_clock);
+	return 0;
+}
+
+
+static int s3c_g2d_resume(struct platform_device *pdev)
+{
+	clk_enable(s3c_g2d_clock);
+	return 0;
+}
+
+
+static struct platform_driver s3c_g2d_driver = {
+	.probe		= s3c_g2d_probe,
+	.remove		= s3c_g2d_remove,
+	.suspend	= s3c_g2d_suspend,
+	.resume		= s3c_g2d_resume,
+	.driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-g2d",
+	},
+};
+
+
+int __init s3c_g2d_init(void)
+{
+ 	if(platform_driver_register(&s3c_g2d_driver) != 0) {
+ 		printk("platform device register Failed \n");
+ 		return -1;
+ 	}
+
+	printk(" S3C G2D Init : Done\n");
+ 	return 0;
+}
+
+
+void s3c_g2d_exit(void)
+{
+	platform_driver_unregister(&s3c_g2d_driver);
+	mutex_destroy(h_rot_mutex);
+}
+
+module_init(s3c_g2d_init);
+module_exit(s3c_g2d_exit);
+
+MODULE_AUTHOR("Jonghun Han <jonghun.han@samsung.com>");
+MODULE_DESCRIPTION("S3C FIMG-2D Device Driver");
+MODULE_LICENSE("GPL");
\ No newline at end of file
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/g2d/s3c_fimg2d2x.h linux-2.6.28.6/drivers/media/video/samsung/g2d/s3c_fimg2d2x.h
--- linux-2.6.28/drivers/media/video/samsung/g2d/s3c_fimg2d2x.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/g2d/s3c_fimg2d2x.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,147 @@
+/* linux/drivers/media/video/samsung/g2d/s3c_fimg2d2x.h
+ *
+ * Driver header file for Samsung 2D Accelerator(FIMG-2D)
+ *
+ * Jonghun Han, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_G2D_DRIVER_H_
+#define _S3C_G2D_DRIVER_H_
+
+#define G2D_SFR_SIZE	0x1000
+
+#define TRUE		1
+#define FALSE		0
+
+#define G2D_MINOR	220	// Just some number
+
+#define G2D_IOCTL_MAGIC 'G'
+
+#define S3C_G2D_ROTATOR_0			_IO(G2D_IOCTL_MAGIC,0)
+#define S3C_G2D_ROTATOR_90			_IO(G2D_IOCTL_MAGIC,1)
+#define S3C_G2D_ROTATOR_180			_IO(G2D_IOCTL_MAGIC,2)
+#define S3C_G2D_ROTATOR_270			_IO(G2D_IOCTL_MAGIC,3)
+#define S3C_G2D_ROTATOR_X_FLIP			_IO(G2D_IOCTL_MAGIC,4)
+#define S3C_G2D_ROTATOR_Y_FLIP			_IO(G2D_IOCTL_MAGIC,5)
+
+#define FIFO_NUM				32
+
+#define G2D_TIMEOUT				100
+#define ALPHA_VALUE_MAX				255
+
+#define G2D_MAX_WIDTH				(2048)
+#define G2D_MAX_HEIGHT				(2048)
+
+#define G2D_ROP_SRC_ONLY			(0xf0)
+#define G2D_ROP_3RD_OPRND_ONLY			(0xaa)
+#define G2D_ROP_DST_ONLY			(0xcc)
+#define G2D_ROP_SRC_OR_DST			(0xfc)
+#define G2D_ROP_SRC_OR_3RD_OPRND		(0xfa)
+#define G2D_ROP_SRC_AND_DST			(0xc0) //(pat==1)? src:dst
+#define G2D_ROP_SRC_AND_3RD_OPRND		(0xa0)
+#define G2D_ROP_SRC_XOR_3RD_OPRND		(0x5a)
+#define G2D_ROP_DST_OR_3RD_OPRND		(0xee)
+
+#define ABS(v) 	(((v)>=0) ? (v):(-(v)))
+
+typedef enum
+{
+	ROT_0, ROT_90, ROT_180, ROT_270, ROT_X_FLIP, ROT_Y_FLIP
+} ROT_DEG;
+
+
+typedef enum
+{
+	ROP_DST_ONLY,
+	ROP_SRC_ONLY, 
+	ROP_3RD_OPRND_ONLY,
+	ROP_SRC_AND_DST,
+	ROP_SRC_AND_3RD_OPRND,
+	ROP_SRC_OR_DST,
+	ROP_SRC_OR_3RD_OPRND,	
+	ROP_DST_OR_3RD,
+	ROP_SRC_XOR_3RD_OPRND
+
+} G2D_ROP_TYPE;
+
+typedef enum
+{
+	G2D_NO_ALPHA_MODE,
+	G2D_PP_ALPHA_SOURCE_MODE,
+	G2D_ALPHA_MODE,
+	G2D_FADING_MODE
+} G2D_ALPHA_BLENDING_MODE;
+
+typedef enum
+{
+	G2D_BLACK = 0, G2D_RED = 1, G2D_GREEN = 2, G2D_BLUE = 3, G2D_WHITE = 4, 
+	G2D_YELLOW = 5, G2D_CYAN = 6, G2D_MAGENTA = 7
+} G2D_COLOR;
+
+
+typedef enum
+{
+	PAL1, PAL2, PAL4, PAL8,
+	RGB8, ARGB8, RGB16, ARGB16, RGB18, RGB24, RGB30, ARGB24,RGBA16,RGBX24,RGBA24,
+	YC420, YC422, // Non-interleave
+	CRYCBY, CBYCRY, YCRYCB, YCBYCR, YUV444 // Interleave
+} G2D_COLOR_SPACE;
+
+typedef struct
+{
+	u32	src_base_addr;			//Base address of the source image
+	u32	src_full_width;			//source image full width
+	u32	src_full_height;		//source image full height
+	u32	src_start_x;			//coordinate start x of source image
+	u32	src_start_y;			//coordinate start y of source image
+	u32	src_work_width;			//source image width for work
+	u32 	src_work_height;		//source image height for work
+
+	u32	dst_base_addr;			//Base address of the destination image	
+	u32	dst_full_width;			//destination screen full width
+	u32	dst_full_height;		//destination screen full width
+	u32	dst_start_x;			//coordinate start x of destination screen
+	u32	dst_start_y;			//coordinate start y of destination screen
+	u32	dst_work_width;			//destination screen width for work
+	u32 	dst_work_height;		//destination screen height for work
+
+	// Coordinate (X, Y) of clipping window
+	u32 cw_x1, cw_y1;
+	u32 cw_x2, cw_y2;
+
+	u32 color_val[8];
+	G2D_COLOR_SPACE bpp;
+
+	u32	alpha_mode;			//true : enable, false : disable
+	u32	alpha_val;
+	u32	color_key_mode;			//treu : enable, false : disable
+	u32	color_key_val;			//transparent color value
+	
+}s3c_g2d_params;
+
+/**** function declearation***************************/
+static int s3c_g2d_init_regs(s3c_g2d_params *params);
+void s3c_g2d_bitblt(u16 src_x1, u16 src_y1, u16 src_x2, u16 src_y2,
+ 	 u16 dst_x1, u16 dst_y1, u16 dst_x2, u16 dst_y2);
+static void s3c_g2d_rotate_with_bitblt(s3c_g2d_params *params, ROT_DEG rot_degree);
+static void s3c_g2d_get_rotation_origin(u16 src_x1, u16 src_y1, 
+					u16 src_x2, u16 src_y2, 
+					u16 dst_x1, u16 dst_y1, 
+					ROT_DEG rot_degree, 
+					u16* org_x, u16* org_y);
+void s3c_g2d_set_xy_incr_format(u32 uDividend, u32 uDivisor, u32* uResult);
+static void s3c_g2d_rotator_start(s3c_g2d_params *params,ROT_DEG rot_degree);
+void s3c_g2d_check_fifo(int empty_fifo);
+int s3c_g2d_open(struct inode *inode, struct file *file);
+int s3c_g2d_release(struct inode *inode, struct file *file);
+int s3c_g2d_mmap(struct file* filp, struct vm_area_struct *vma) ;
+static int s3c_g2d_ioctl(struct inode *inode, struct file *file, 
+				unsigned int cmd, unsigned long arg);
+static unsigned int s3c_g2d_poll(struct file *file, poll_table *wait); 
+
+#endif /*_S3C_G2D_DRIVER_H_*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/g3d/Kconfig linux-2.6.28.6/drivers/media/video/samsung/g3d/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/g3d/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/g3d/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,11 @@
+#
+# Configuration for FIMG-3D
+#
+
+config VIDEO_G3D
+	bool "Samsung FIMG-3D Driver" 
+	depends on VIDEO_SAMSUNG && (CPU_S3C6410 || CPU_S5PC100)
+	default n
+	---help---
+	  This is a FIMG-3D(3D accelerator) driver for Samsung S3C6410 and S5PC100.
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/g3d/Makefile linux-2.6.28.6/drivers/media/video/samsung/g3d/Makefile
--- linux-2.6.28/drivers/media/video/samsung/g3d/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/g3d/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,10 @@
+#################################################
+# Makefile for FIMG-3D 
+# 2009 (C) Samsung Electronics 
+# Author : Jonghun Han <jonghun.han@samsung.com>
+#################################################
+
+obj-$(CONFIG_VIDEO_G3D)	+= s3c_fimg3d.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/g3d/s3c_fimg3d.c linux-2.6.28.6/drivers/media/video/samsung/g3d/s3c_fimg3d.c
--- linux-2.6.28/drivers/media/video/samsung/g3d/s3c_fimg3d.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/g3d/s3c_fimg3d.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,787 @@
+/* linux/drivers/video/samsung/g3d/s3c_fimg3d.c
+ *
+ * Driver file for Samsung 3D Accelerator(FIMG-3D)
+ *
+ * Jegeon Jung, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/clk.h>
+#include <linux/poll.h>
+#include <linux/fs.h>
+#include <linux/irq.h>
+#include <linux/mm.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/miscdevice.h>
+#include <linux/mman.h>
+#include <linux/vmalloc.h>
+#include <asm/io.h>
+#include <mach/map.h>
+
+#include "s3c_fimg3d.h"
+
+#define DEBUG_S3C_G3D
+#undef	DEBUG_S3C_G3D
+
+#ifdef DEBUG_S3C_G3D
+#define DEBUG(fmt,args...) printk(fmt, ##args)
+#else
+#define DEBUG(fmt,args...) do {} while(0)
+#endif
+
+static DWORD	BACKUP_FGHI_CONTROL;
+//static DWORD	BACKUP_FGHI_IDXOFFSET;
+//static DWORD	BACKUP_FGHI_VBADDR;
+static DWORD	BACKUP_FGHI_ATTRIBS[10];
+//static DWORD	BACKUP_FGHI_ATTRIBS_VBCTRL[10];
+//static DWORD	BACKUP_FGHI_ATTRIBS_VBBASE[10];
+
+static DWORD	BACKUP_FGVS_INSTMEM[2048];
+static DWORD	BACKUP_FGVS_CFLOAT[1024];
+static DWORD	BACKUP_FGVS_CINT[16];
+static DWORD	BACKUP_FGVS_CBOOL;
+static DWORD	BACKUP_FGVS_CONFIG;
+static DWORD	BACKUP_FGVS_PCRANGE_OUTATTR[8];
+
+static DWORD	BACKUP_FGPE[7];
+
+static DWORD	BACKUP_FGRA_PIXSAMP_YCLIP[7];
+static DWORD	BACKUP_FGRA_LODCTL;
+static DWORD	BACKUP_FGRA_CLIPX;
+static DWORD	BACKUP_FGRA_PWIDTH_LWIDTH[5];
+
+static DWORD	BACKUP_FGPS_INSTMEM[2048];
+static DWORD	BACKUP_FGPS_CFLOAT[1024];
+static DWORD	BACKUP_FGPS_CINT[16];
+static DWORD	BACKUP_FGPS_CBOOL;
+static DWORD	BACKUP_FGPS_EXEMODE_ATTRIBUTENUM[5];
+
+static DWORD	BACKUP_FGTU_TEXTURE0[18];
+static DWORD	BACKUP_FGTU_TEXTURE1[18];
+static DWORD	BACKUP_FGTU_TEXTURE2[18];
+static DWORD	BACKUP_FGTU_TEXTURE3[18];
+static DWORD	BACKUP_FGTU_TEXTURE4[18];
+static DWORD	BACKUP_FGTU_TEXTURE5[18];
+static DWORD	BACKUP_FGTU_TEXTURE6[18];
+static DWORD	BACKUP_FGTU_TEXTURE7[18];
+static DWORD	BACKUP_FGTU_COLORKEYS[6];
+static DWORD	BACKUP_FGVTU_STATUSES_VTBADDRS[8];
+
+static DWORD	BACKUP_FGPF[15];
+
+
+#define G3D_IOCTL_MAGIC			'S'
+#define GET_CONFIG			_IO(G3D_IOCTL_MAGIC, 101)
+#define WAIT_FOR_FLUSH			_IO(G3D_IOCTL_MAGIC, 100)
+
+#define S3C_3D_MEM_ALLOC		_IOWR(G3D_IOCTL_MAGIC, 310, struct s3c_3d_mem_alloc)
+#define S3C_3D_MEM_FREE			_IOWR(G3D_IOCTL_MAGIC, 311, struct s3c_3d_mem_alloc)
+#define S3C_3D_SFR_LOCK			_IO(G3D_IOCTL_MAGIC, 312)
+#define S3C_3D_SFR_UNLOCK		_IO(G3D_IOCTL_MAGIC, 313)
+#define S3C_3D_MEM_ALLOC_SHARE		_IOWR(G3D_IOCTL_MAGIC, 314, struct s3c_3d_mem_alloc)
+#define S3C_3D_MEM_SHARE_FREE		_IOWR(G3D_IOCTL_MAGIC, 315, struct s3c_3d_mem_alloc)
+
+#define MEM_ALLOC			1
+#define MEM_ALLOC_SHARE			2
+
+#define PFX				"s3c_g3d"
+#define G3D_MINOR			249
+
+static wait_queue_head_t waitq;
+static struct resource *s3c_g3d_mem;
+static void __iomem *s3c_g3d_base;
+static int s3c_g3d_irq;
+static struct clk *g3d_clock;
+static struct clk *h_clk;
+
+static DEFINE_MUTEX(mem_alloc_lock);
+static DEFINE_MUTEX(mem_free_lock);
+static DEFINE_MUTEX(mem_sfr_lock);
+
+static DEFINE_MUTEX(mem_alloc_share_lock);
+static DEFINE_MUTEX(mem_share_free_lock);
+
+void *dma_3d_done;
+
+struct s3c_3d_mem_alloc {
+	int		size;
+	unsigned int 	vir_addr;
+	unsigned int 	phy_addr;
+};
+
+static unsigned int mutex_lock_processID = 0;
+
+static int flag = 0;
+
+static unsigned int physical_address;
+
+int interrupt_already_recevied;
+
+unsigned int s3c_g3d_base_physical;
+
+
+///////////// for check memory leak
+//*-------------------------------------------------------------------------*/
+typedef struct _memalloc_desc
+{
+	int		size;
+	unsigned int 	vir_addr;
+	unsigned int 	phy_addr;	
+	struct _memalloc_desc*  next;
+} Memalloc_desc;
+
+typedef struct _openContext
+{
+    Memalloc_desc* allocatedList;
+} OpenContext;
+
+void grabageCollect(int *newid);
+/////////////////////////////////////
+
+
+irqreturn_t s3c_g3d_isr(int irq, void *dev_id)
+{
+	__raw_writel(0, s3c_g3d_base + FGGB_INTPENDING);
+
+	interrupt_already_recevied = 1;
+	wake_up_interruptible(&waitq);
+
+	return IRQ_HANDLED;
+}
+
+
+int s3c_g3d_open(struct inode *inode, struct file *file)
+{
+    int *newid;
+    newid = (int*)vmalloc(sizeof(OpenContext));
+    memset(newid, 0x0, sizeof(OpenContext));
+    
+    file->private_data = newid;
+	return 0;
+}
+
+int s3c_g3d_release(struct inode *inode, struct file *file)
+{
+    int *newid = file->private_data;
+    if(mutex_lock_processID != 0 && mutex_lock_processID == (unsigned int)file->private_data)
+    {
+        mutex_unlock(&mem_sfr_lock);
+        printk("Abnormal close of pid # %d\n", task_pid_nr(current));        
+    }
+    
+    grabageCollect(newid);
+    vfree((OpenContext*)newid);
+
+	return 0;
+}
+
+
+static int s3c_g3d_ioctl(struct inode *inode, struct file *file,
+		unsigned int cmd, unsigned long arg)
+{
+	u32 val;
+	DECLARE_COMPLETION_ONSTACK(complete);
+
+	unsigned long *virt_addr;
+	struct mm_struct *mm = current->mm;
+	struct s3c_3d_mem_alloc param;
+	
+	Memalloc_desc   *memdesc, *curDesc, *prevDesc;
+	OpenContext*    pOpenCtx = (OpenContext*)file->private_data;
+
+	switch (cmd) {
+	case WAIT_FOR_FLUSH:
+
+		//if fifo has already been flushed, return;
+		val = __raw_readl(s3c_g3d_base+FGGB_PIPESTATE);
+		//printk("read pipestate = 0x%x\n",val);
+		if((val & arg) ==0) break;
+
+		// enable interrupt
+		interrupt_already_recevied = 0;
+		__raw_writel(0x0001171f,s3c_g3d_base+FGGB_PIPEMASK);
+		__raw_writel(1,s3c_g3d_base+FGGB_INTMASK);
+
+		//printk("wait for flush (arg=0x%lx)\n",arg);
+
+
+		while(1) {
+			wait_event_interruptible(waitq, (interrupt_already_recevied>0));
+			__raw_writel(0,s3c_g3d_base+FGGB_INTMASK);
+			interrupt_already_recevied = 0;
+			//if(interrupt_already_recevied==0)interruptible_sleep_on(&waitq);
+			val = __raw_readl(s3c_g3d_base+FGGB_PIPESTATE);
+			//printk("in while read pipestate = 0x%x\n",val);
+			if(val & arg) {
+			} else {
+				break;
+			}
+			__raw_writel(1,s3c_g3d_base+FGGB_INTMASK);
+		}
+		break;
+
+	case GET_CONFIG:
+//		copy_to_user((void *)arg,&g3d_config,sizeof(G3D_CONFIG_STRUCT));
+		break;
+
+	case S3C_3D_MEM_ALLOC:		
+		mutex_lock(&mem_alloc_lock);
+		if(copy_from_user(&param, (struct s3c_3d_mem_alloc *)arg, sizeof(struct s3c_3d_mem_alloc))) {
+			mutex_unlock(&mem_alloc_lock);			
+			return -EFAULT;
+		}
+		flag = MEM_ALLOC;
+
+		param.vir_addr = do_mmap(file, 0, param.size, PROT_READ|PROT_WRITE, MAP_SHARED, 0);
+		DEBUG("param.vir_addr = %08x\n", param.vir_addr);
+
+		if(param.vir_addr == -EINVAL) {
+			printk("S3C_3D_MEM_ALLOC FAILED\n");
+			flag = 0;
+			mutex_unlock(&mem_alloc_lock);			
+			return -EFAULT;
+		}
+		param.phy_addr = physical_address;
+
+		// printk("alloc %d\n", param.size);
+		DEBUG("KERNEL MALLOC : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X\n", param.phy_addr, param.size, param.vir_addr);
+
+		if(copy_to_user((struct s3c_3d_mem_alloc *)arg, &param, sizeof(struct s3c_3d_mem_alloc))) {
+			flag = 0;
+			mutex_unlock(&mem_alloc_lock);
+			return -EFAULT;		
+		}
+
+		flag = 0;
+		
+		//////////////////////////////////
+		// for memory leak
+		memdesc = (Memalloc_desc*)vmalloc(sizeof(Memalloc_desc));
+		memdesc->size = param.size;
+		memdesc->vir_addr = param.vir_addr;
+		memdesc->phy_addr = param.phy_addr;
+		memdesc->next = NULL;
+		prevDesc = NULL;
+		for(curDesc = pOpenCtx->allocatedList; curDesc != NULL; curDesc = curDesc->next) {
+		    prevDesc = curDesc;
+		}
+		
+		if(prevDesc == NULL) pOpenCtx->allocatedList = memdesc;
+		else prevDesc->next = memdesc;
+		//////////////////////////////////
+		
+		mutex_unlock(&mem_alloc_lock);
+		
+		break;
+
+	case S3C_3D_MEM_FREE:	
+		mutex_lock(&mem_free_lock);
+		if(copy_from_user(&param, (struct s3c_3d_mem_alloc *)arg, sizeof(struct s3c_3d_mem_alloc))) {
+			mutex_unlock(&mem_free_lock);
+			return -EFAULT;
+		}
+
+		DEBUG("KERNEL FREE : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X\n", param.phy_addr, param.size, param.vir_addr);
+
+		if (do_munmap(mm, param.vir_addr, param.size) < 0) {
+			printk("do_munmap() failed !!\n");
+			mutex_unlock(&mem_free_lock);
+			return -EINVAL;
+		}
+		virt_addr = (unsigned long *)phys_to_virt(param.phy_addr);
+		//printk("KERNEL : virt_addr = 0x%X\n", virt_addr);
+		//printk("free %d\n", param.size);
+
+		kfree(virt_addr);
+		param.size = 0;
+		DEBUG("do_munmap() succeed !!\n");
+
+		if(copy_to_user((struct s3c_3d_mem_alloc *)arg, &param, sizeof(struct s3c_3d_mem_alloc))) {
+			mutex_unlock(&mem_free_lock);
+			return -EFAULT;
+		}
+		
+		//////////////////////////////////
+		// for memory leak
+		prevDesc = NULL;
+		for(curDesc = pOpenCtx->allocatedList; curDesc != NULL; curDesc = curDesc->next) {
+		    if(curDesc->vir_addr == param.vir_addr) break;
+		    prevDesc = curDesc;
+		}
+		
+	        if(prevDesc != NULL)
+			prevDesc->next = curDesc->next;    
+	        else 
+			pOpenCtx->allocatedList = NULL;	
+        
+		vfree(curDesc);
+		//////////////////////////////////		
+		
+		mutex_unlock(&mem_free_lock);
+		
+		break;
+
+	case S3C_3D_SFR_LOCK:
+		mutex_lock(&mem_sfr_lock);
+		mutex_lock_processID = (unsigned int)file->private_data;
+		DEBUG("s3c_g3d_ioctl() : You got a muxtex lock !!\n");
+		break;
+
+	case S3C_3D_SFR_UNLOCK:
+		mutex_lock_processID = 0;
+		mutex_unlock(&mem_sfr_lock);
+		DEBUG("s3c_g3d_ioctl() : The muxtex unlock called !!\n");
+		break;
+
+	case S3C_3D_MEM_ALLOC_SHARE:		
+		mutex_lock(&mem_alloc_share_lock);
+		if(copy_from_user(&param, (struct s3c_3d_mem_alloc *)arg, sizeof(struct s3c_3d_mem_alloc))) {
+			mutex_unlock(&mem_alloc_share_lock);
+			return -EFAULT;
+		}
+		flag = MEM_ALLOC_SHARE;
+
+		physical_address = param.phy_addr;
+		DEBUG("param.phy_addr = %08x\n", physical_address);
+
+		param.vir_addr = do_mmap(file, 0, param.size, PROT_READ|PROT_WRITE, MAP_SHARED, 0);
+		DEBUG("param.vir_addr = %08x\n", param.vir_addr);
+
+		if(param.vir_addr == -EINVAL) {
+			printk("S3C_3D_MEM_ALLOC_SHARE FAILED\n");
+			flag = 0;
+			mutex_unlock(&mem_alloc_share_lock);
+			return -EFAULT;
+		}
+
+		DEBUG("MALLOC_SHARE : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X\n", param.phy_addr, param.size, param.vir_addr);
+
+		if(copy_to_user((struct s3c_3d_mem_alloc *)arg, &param, sizeof(struct s3c_3d_mem_alloc))) {
+			flag = 0;
+			mutex_unlock(&mem_alloc_share_lock);
+			return -EFAULT;		
+		}
+
+		flag = 0;
+		
+		mutex_unlock(&mem_alloc_share_lock);
+		
+		break;
+
+	case S3C_3D_MEM_SHARE_FREE:	
+		mutex_lock(&mem_share_free_lock);
+		if(copy_from_user(&param, (struct s3c_3d_mem_alloc *)arg, sizeof(struct s3c_3d_mem_alloc))) {
+			mutex_unlock(&mem_share_free_lock);
+			return -EFAULT;		
+		}
+
+		DEBUG("MEM_SHARE_FREE : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X\n", param.phy_addr, param.size, param.vir_addr);
+
+		if (do_munmap(mm, param.vir_addr, param.size) < 0) {
+			printk("do_munmap() failed - MEM_SHARE_FREE!!\n");
+			mutex_unlock(&mem_share_free_lock);
+			return -EINVAL;
+		}
+
+		param.vir_addr = 0;
+		DEBUG("do_munmap() succeed !! - MEM_SHARE_FREE\n");
+
+		if(copy_to_user((struct s3c_3d_mem_alloc *)arg, &param, sizeof(struct s3c_3d_mem_alloc))) {
+			mutex_unlock(&mem_share_free_lock);
+			return -EFAULT;		
+		}
+
+		mutex_unlock(&mem_share_free_lock);
+		
+		break;
+		
+	default:
+		DEBUG("s3c_g3d_ioctl() : default !!\n");
+		return -EINVAL;
+	}
+	
+	return 0;
+}
+
+
+int s3c_g3d_mmap(struct file* filp, struct vm_area_struct *vma)
+{
+	unsigned long pageFrameNo, size, phys_addr;
+	unsigned long *virt_addr;
+
+	size = vma->vm_end - vma->vm_start;
+
+	switch (flag) { 
+	case MEM_ALLOC :
+		virt_addr = (unsigned long *)kmalloc(size, GFP_KERNEL);
+
+		if (virt_addr == NULL) {
+			printk("kmalloc() failed !\n");
+			return -EINVAL;
+		}
+		DEBUG("MMAP_KMALLOC : virt addr = 0x%p, size = %d\n", virt_addr, size);
+		phys_addr = virt_to_phys(virt_addr);
+		physical_address = (unsigned int)phys_addr;
+
+		//DEBUG("MMAP_KMALLOC : phys addr = 0x%p\n", phys_addr);
+		pageFrameNo = __phys_to_pfn(phys_addr);
+		//DEBUG("MMAP_KMALLOC : PFN = 0x%x\n", pageFrameNo);
+		break;
+		
+	case MEM_ALLOC_SHARE :
+		DEBUG("MMAP_KMALLOC_SHARE : phys addr = 0x%p\n", physical_address);
+		
+		// page frame number of the address for the physical_address to be shared.
+		pageFrameNo = __phys_to_pfn(physical_address);
+		//DEBUG("MMAP_KMALLOC_SHARE: PFN = 0x%x\n", pageFrameNo);
+		DEBUG("MMAP_KMALLOC_SHARE : vma->end = 0x%p, vma->start = 0x%p, size = %d\n", vma->vm_end, vma->vm_start, size);
+		break;
+		
+	default :
+		// page frame number of the address for a source G2D_SFR_SIZE to be stored at.
+		pageFrameNo = __phys_to_pfn(s3c_g3d_base_physical);
+		DEBUG("MMAP : vma->end = 0x%p, vma->start = 0x%p, size = %d\n", vma->vm_end, vma->vm_start, size);
+
+		if(size > (s3c_g3d_mem->end-s3c_g3d_mem->start+1)) {
+			printk("The size of G3D_SFR_SIZE mapping is too big!\n");
+			return -EINVAL;
+		}
+		break;
+	}
+	
+	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+
+	if ((vma->vm_flags & VM_WRITE) && !(vma->vm_flags & VM_SHARED)) {
+		printk("s3c_g3d_mmap() : Writable G3D_SFR_SIZE mapping must be shared !\n");
+		return -EINVAL;
+	}
+
+	if (remap_pfn_range(vma, vma->vm_start, pageFrameNo, size, vma->vm_page_prot)) {
+		printk("s3c_g3d_mmap() : remap_pfn_range() failed !\n");
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+
+void grabageCollect(int* newid)
+{
+    unsigned long *virt_addr;
+    struct mm_struct *mm = current->mm;
+    OpenContext*    pOpenCtx = (OpenContext*)newid;
+	Memalloc_desc   *curDesc, *nextDesc;    
+    
+    mutex_lock(&mem_free_lock);
+    for(curDesc = pOpenCtx->allocatedList;curDesc != NULL; ) {
+        nextDesc = curDesc->next;
+        printk("Deleting garbage address=0x%x size=%d\n", curDesc->vir_addr, curDesc->size);
+	if (do_munmap(mm, curDesc->vir_addr, curDesc->size) < 0) {
+		printk("do_munmap() failed !!\n");
+	}
+	
+	virt_addr = (unsigned long *)phys_to_virt(curDesc->phy_addr);
+	kfree(virt_addr);
+            
+        vfree(curDesc);
+        curDesc = 0;            
+        
+        curDesc = nextDesc;
+    }
+    
+    mutex_unlock(&mem_free_lock);       
+}
+
+
+static struct file_operations s3c_g3d_fops = {
+	.owner 	= THIS_MODULE,
+	.ioctl 	= s3c_g3d_ioctl,
+	.open 	= s3c_g3d_open,
+	.release = s3c_g3d_release,
+	.mmap	= s3c_g3d_mmap,
+};
+
+
+static struct miscdevice s3c_g3d_dev = {
+	.minor		= G3D_MINOR,
+	.name		= "s3c-g3d",
+	.fops		= &s3c_g3d_fops,
+};
+
+
+static int s3c_g3d_remove(struct platform_device *dev)
+{
+	//clk_disable(g3d_clock);
+	printk(KERN_INFO "s3c_g3d_remove called !\n");
+
+	free_irq(s3c_g3d_irq, NULL);
+
+	if (s3c_g3d_mem != NULL) {
+		pr_debug("s3c_g3d: releasing s3c_post_mem\n");
+		iounmap(s3c_g3d_base);
+		release_resource(s3c_g3d_mem);
+		kfree(s3c_g3d_mem);
+	}
+
+	misc_deregister(&s3c_g3d_dev);
+	printk(KERN_INFO "s3c_g3d_remove Success !\n");
+	return 0;
+}
+
+int s3c_g3d_probe(struct platform_device *pdev)
+{
+	struct resource *res;
+
+	int ret;
+	int i;
+
+	DEBUG("s3c_g3d probe() called\n");
+
+	s3c_g3d_irq = platform_get_irq(pdev, 0);
+	if(s3c_g3d_irq <= 0) {
+		printk(KERN_ERR PFX "failed to get irq resouce\n");
+		return -ENOENT;
+	}
+
+	ret = request_irq(s3c_g3d_irq, s3c_g3d_isr, IRQF_DISABLED, pdev->name, NULL);
+	if (ret) {
+		printk("request_irq(S3D) failed.\n");
+		return ret;
+	}
+
+	/* get the memory region for the post processor driver */
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if(res == NULL) {
+		printk(KERN_ERR PFX "failed to get memory region resouce\n");
+		return -ENOENT;
+	}
+
+	s3c_g3d_base_physical = (unsigned int)res->start;
+
+	s3c_g3d_mem = request_mem_region(res->start, res->end-res->start+1, pdev->name);
+	if(s3c_g3d_mem == NULL) {
+		printk(KERN_ERR PFX "failed to reserve memory region\n");
+		return -ENOENT;
+	}
+
+
+	s3c_g3d_base = ioremap(s3c_g3d_mem->start, s3c_g3d_mem->end - res->start + 1);
+	if(s3c_g3d_base == NULL) {
+		printk(KERN_ERR PFX "failed ioremap\n");
+		return -ENOENT;
+	}
+
+	g3d_clock = clk_get(&pdev->dev, "post");
+	if(g3d_clock == NULL) {
+		printk(KERN_ERR PFX "failed to find post clock source\n");
+		return -ENOENT;
+	}
+
+	clk_enable(g3d_clock);
+
+	h_clk = clk_get(&pdev->dev, "hclk");
+	if(h_clk == NULL) {
+		printk(KERN_ERR PFX "failed to find h_clk clock source\n");
+		return -ENOENT;
+	}
+
+	init_waitqueue_head(&waitq);
+
+	ret = misc_register(&s3c_g3d_dev);
+	if (ret) {
+		printk (KERN_ERR "cannot register miscdev on minor=%d (%d)\n",
+				G3D_MINOR, ret);
+		return ret;
+	}
+
+	// device reset
+	__raw_writel(1,s3c_g3d_base+FGGB_RST);
+	for(i=0;i<1000;i++);
+	__raw_writel(0,s3c_g3d_base+FGGB_RST);
+	for(i=0;i<1000;i++);
+
+	printk("s3c_g3d version : 0x%x\n",__raw_readl(s3c_g3d_base + FGGB_VERSION));
+
+	/* check to see if everything is setup correctly */
+	return 0;
+}
+
+static int s3c_g3d_suspend(struct platform_device *dev, pm_message_t state)
+{
+	// backup Registers 
+	// backup host interface registers.
+
+	BACKUP_FGHI_CONTROL = __raw_readl(s3c_g3d_base + FGHI_HI_CTRL);
+//	READREGP(FGHI_IDX_OFFSET, BACKUP_FGHI_IDXOFFSET);  // currently not used
+//	READREGP(FGHI_VTXBUF_ADDR, BACKUP_FGHI_VBADDR);	 // currently not used
+	memcpy(BACKUP_FGHI_ATTRIBS, (DWORD*)(s3c_g3d_base + FGHI_ATTR0), sizeof(DWORD)*10);
+//	memcpy(BACKUP_FGHI_ATTRIBS_VBCTRL, (DWORD*)FGHI_VTXBUF_CTRL0, sizeof(DWORD)*10);	// currently not used
+//	memcpy(BACKUP_FGHI_ATTRIBS_VBBASE, (DWORD*)BACKUP_FGHI_ATTRIBS_VBBASE, sizeof(DWORD)*10);	// currently not used
+
+
+	// backup vertex shader registers
+	memcpy(BACKUP_FGVS_INSTMEM, (DWORD*)(s3c_g3d_base + FGVS_INSTMEM_SADDR), sizeof(DWORD)*2048);	
+	memcpy(BACKUP_FGVS_CFLOAT, (DWORD*)(s3c_g3d_base + FGVS_CFLOAT_SADDR), sizeof(DWORD)*1024);	
+	memcpy(BACKUP_FGVS_CINT, (DWORD*)(s3c_g3d_base + FGVS_CINT_SADDR), sizeof(DWORD)*16);		
+	BACKUP_FGVS_CBOOL = __raw_readl(s3c_g3d_base + FGVS_CBOOL_SADDR);		
+	BACKUP_FGVS_CONFIG = __raw_readl(s3c_g3d_base + FGVS_CONFIG);
+	memcpy(BACKUP_FGVS_PCRANGE_OUTATTR, (DWORD*)(s3c_g3d_base + FGVS_PC_RANGE), sizeof(DWORD)*8);
+
+	
+	// backup primitive engine registers
+	memcpy(BACKUP_FGPE, (DWORD*)(s3c_g3d_base + FGPE_VTX_CONTEXT), sizeof(DWORD)*7);
+
+
+	// backup raster engine registers
+	memcpy(BACKUP_FGRA_PIXSAMP_YCLIP, (DWORD*)(s3c_g3d_base + FGRA_PIXEL_SAMPOS), sizeof(DWORD)*7);
+	BACKUP_FGRA_LODCTL = __raw_readl(s3c_g3d_base + FGRA_LOD_CTRL);		
+	BACKUP_FGRA_CLIPX = __raw_readl(s3c_g3d_base + FGRA_CLIP_XCORD);
+	memcpy(BACKUP_FGRA_PWIDTH_LWIDTH, (DWORD*)(s3c_g3d_base + FGRA_POINT_WIDTH), sizeof(DWORD)*5);
+
+	// backup pixel shader registers
+	memcpy(BACKUP_FGPS_INSTMEM, (DWORD*)(s3c_g3d_base + FGPS_INSTMEM_SADDR), sizeof(DWORD)*2048);
+	memcpy(BACKUP_FGPS_CFLOAT, (DWORD*)(s3c_g3d_base + FGPS_CFLOAT_SADDR), sizeof(DWORD)*1024);	
+	memcpy(BACKUP_FGPS_CINT, (DWORD*)(s3c_g3d_base + FGPS_CINT_SADDR), sizeof(DWORD)*16);		
+	BACKUP_FGPS_CBOOL = __raw_readl((s3c_g3d_base + FGPS_CBOOL_SADDR));	
+	memcpy(BACKUP_FGPS_EXEMODE_ATTRIBUTENUM, (DWORD*)(s3c_g3d_base + FGPS_EXE_MODE), sizeof(DWORD)*5);
+
+	// backup texture unit registers
+	memcpy(BACKUP_FGTU_TEXTURE0, (DWORD*)(s3c_g3d_base + FGTU_TEX0_CTRL), sizeof(DWORD)*18);
+	memcpy(BACKUP_FGTU_TEXTURE1, (DWORD*)(s3c_g3d_base + FGTU_TEX1_CTRL), sizeof(DWORD)*18);
+	memcpy(BACKUP_FGTU_TEXTURE2, (DWORD*)(s3c_g3d_base + FGTU_TEX2_CTRL), sizeof(DWORD)*18);
+	memcpy(BACKUP_FGTU_TEXTURE3, (DWORD*)(s3c_g3d_base + FGTU_TEX3_CTRL), sizeof(DWORD)*18);
+	memcpy(BACKUP_FGTU_TEXTURE4, (DWORD*)(s3c_g3d_base + FGTU_TEX4_CTRL), sizeof(DWORD)*18);
+	memcpy(BACKUP_FGTU_TEXTURE5, (DWORD*)(s3c_g3d_base + FGTU_TEX5_CTRL), sizeof(DWORD)*18);
+	memcpy(BACKUP_FGTU_TEXTURE6, (DWORD*)(s3c_g3d_base + FGTU_TEX6_CTRL), sizeof(DWORD)*18);
+	memcpy(BACKUP_FGTU_TEXTURE7, (DWORD*)(s3c_g3d_base + FGTU_TEX7_CTRL), sizeof(DWORD)*18);
+
+	memcpy(BACKUP_FGTU_COLORKEYS, (DWORD*)(s3c_g3d_base + FGTU_COLOR_KEY1), sizeof(DWORD)*6);
+	memcpy(BACKUP_FGVTU_STATUSES_VTBADDRS, (DWORD*)(s3c_g3d_base + FGTU_VTXTEX0_CTRL), sizeof(DWORD)*8);
+
+
+	// backup per-fragment unit registers	
+	memcpy(BACKUP_FGPF, (DWORD*)(s3c_g3d_base + FGPF_SCISSOR_XCORD), sizeof(DWORD)*15);	
+
+	return 0;
+}
+static int s3c_g3d_resume(struct platform_device *pdev)
+{
+	//clk_enable(g3d_clock);
+	int i;
+
+	// restore host interface registers.
+
+	__raw_writel(0, s3c_g3d_base+FGHI_HI_CTRL);
+
+//	WRITEREG(FGHI_IDX_OFFSET, BACKUP_FGHI_IDXOFFSET);  // currently not used
+//	WRITEREG(FGHI_VTXBUF_ADDR, BACKUP_FGHI_VBADDR);	 // currently not used
+	memcpy((DWORD*)(s3c_g3d_base+FGHI_ATTR0), BACKUP_FGHI_ATTRIBS, sizeof(DWORD)*10);
+//	memcpy((DWORD*)FGHI_VTXBUF_CTRL0, BACKUP_FGHI_ATTRIBS_VBCTRL, sizeof(DWORD)*10);	// currently not used
+//	memcpy((DWORD*)BACKUP_FGHI_ATTRIBS_VBBASE, BACKUP_FGHI_ATTRIBS_VBBASE, sizeof(DWORD)*10);	// currently not used
+
+
+	// restore vertex shader registers
+	memcpy((DWORD*)(s3c_g3d_base+FGVS_INSTMEM_SADDR), BACKUP_FGVS_INSTMEM, sizeof(DWORD)*2048);	
+	memcpy((DWORD*)(s3c_g3d_base+FGVS_CFLOAT_SADDR), BACKUP_FGVS_CFLOAT, sizeof(DWORD)*1024);	
+	memcpy((DWORD*)(s3c_g3d_base+FGVS_CINT_SADDR), BACKUP_FGVS_CINT, sizeof(DWORD)*16);		
+	__raw_writel(BACKUP_FGVS_CBOOL, s3c_g3d_base+FGVS_CBOOL_SADDR);		
+	__raw_writel(BACKUP_FGVS_CONFIG, s3c_g3d_base+FGVS_CONFIG);
+	memcpy((DWORD*)(s3c_g3d_base+FGVS_PC_RANGE), BACKUP_FGVS_PCRANGE_OUTATTR, sizeof(DWORD)*8);
+
+	
+	// restore primitive engine registers
+	memcpy((DWORD*)(s3c_g3d_base+FGPE_VTX_CONTEXT), BACKUP_FGPE, sizeof(DWORD)*7);
+
+
+	// restore raster engine registers
+	memcpy((DWORD*)(s3c_g3d_base+FGRA_PIXEL_SAMPOS), BACKUP_FGRA_PIXSAMP_YCLIP, sizeof(DWORD)*7);
+	__raw_writel(BACKUP_FGRA_LODCTL, s3c_g3d_base+FGRA_LOD_CTRL);		
+	__raw_writel(BACKUP_FGRA_CLIPX, s3c_g3d_base+FGRA_CLIP_XCORD);
+	memcpy((DWORD*)(s3c_g3d_base+FGRA_POINT_WIDTH), BACKUP_FGRA_PWIDTH_LWIDTH, sizeof(DWORD)*5);
+
+	// restore pixel shader registers
+	memcpy((DWORD*)(s3c_g3d_base+FGPS_INSTMEM_SADDR), BACKUP_FGPS_INSTMEM, sizeof(DWORD)*2048);
+	memcpy((DWORD*)(s3c_g3d_base+FGPS_CFLOAT_SADDR), BACKUP_FGPS_CFLOAT, sizeof(DWORD)*1024);	
+	memcpy((DWORD*)(s3c_g3d_base+FGPS_CINT_SADDR), BACKUP_FGPS_CINT, sizeof(DWORD)*16);		
+	__raw_writel(BACKUP_FGPS_CBOOL, s3c_g3d_base+FGPS_CBOOL_SADDR);	
+	memcpy((DWORD*)(s3c_g3d_base+FGPS_EXE_MODE), BACKUP_FGPS_EXEMODE_ATTRIBUTENUM, sizeof(DWORD)*5);
+
+
+	// backup texture unit registers
+	memcpy((DWORD*)(s3c_g3d_base+FGTU_TEX0_CTRL), BACKUP_FGTU_TEXTURE0, sizeof(DWORD)*18);
+	memcpy((DWORD*)(s3c_g3d_base+FGTU_TEX1_CTRL), BACKUP_FGTU_TEXTURE1, sizeof(DWORD)*18);
+	memcpy((DWORD*)(s3c_g3d_base+FGTU_TEX2_CTRL), BACKUP_FGTU_TEXTURE2, sizeof(DWORD)*18);
+	memcpy((DWORD*)(s3c_g3d_base+FGTU_TEX3_CTRL), BACKUP_FGTU_TEXTURE3, sizeof(DWORD)*18);
+	memcpy((DWORD*)(s3c_g3d_base+FGTU_TEX4_CTRL), BACKUP_FGTU_TEXTURE4, sizeof(DWORD)*18);
+	memcpy((DWORD*)(s3c_g3d_base+FGTU_TEX5_CTRL), BACKUP_FGTU_TEXTURE5, sizeof(DWORD)*18);
+	memcpy((DWORD*)(s3c_g3d_base+FGTU_TEX6_CTRL), BACKUP_FGTU_TEXTURE6, sizeof(DWORD)*18);
+	memcpy((DWORD*)(s3c_g3d_base+FGTU_TEX7_CTRL), BACKUP_FGTU_TEXTURE7, sizeof(DWORD)*18);
+
+	memcpy((DWORD*)(s3c_g3d_base+FGTU_COLOR_KEY1), BACKUP_FGTU_COLORKEYS, sizeof(DWORD)*6);
+	memcpy((DWORD*)(s3c_g3d_base+FGTU_VTXTEX0_CTRL), BACKUP_FGVTU_STATUSES_VTBADDRS, sizeof(DWORD)*8);
+
+
+
+	// backup per-fragment unit registers	
+	memcpy((DWORD*)(s3c_g3d_base+FGPF_SCISSOR_XCORD), BACKUP_FGPF, sizeof(DWORD)*15);	
+
+
+	__raw_writel(1,s3c_g3d_base+FGGB_RST);
+	for(i=0;i<1000;i++);
+	__raw_writel(0,s3c_g3d_base+FGGB_RST);
+	for(i=0;i<1000;i++);
+
+	
+	return 0;
+}
+
+static struct platform_driver s3c_g3d_driver = {
+	.probe          = s3c_g3d_probe,
+	.remove         = s3c_g3d_remove,
+	.suspend        = s3c_g3d_suspend,
+	.resume         = s3c_g3d_resume,
+	.driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-g3d",
+	},
+};
+
+static char banner[] __initdata = KERN_INFO "S3C G3D Driver, (c) 2007-2009 Samsung Electronics\n";
+
+static char init_error[] __initdata = KERN_ERR "Intialization of S3C G3D driver is failed\n";
+
+int __init  s3c_g3d_init(void)
+{
+	printk(banner);
+
+	if(platform_driver_register(&s3c_g3d_driver)!=0) {
+		printk(init_error);
+		return -1;
+	}
+
+	printk(" S3C G3D Init : Done\n");
+	return 0;
+}
+
+void  s3c_g3d_exit(void)
+{
+	platform_driver_unregister(&s3c_g3d_driver);
+
+	printk("S3C G3D module exit\n");
+}
+
+module_init(s3c_g3d_init);
+module_exit(s3c_g3d_exit);
+
+MODULE_AUTHOR("jegeon.jung@samsung.com");
+MODULE_DESCRIPTION("S3C G3D Device Driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/g3d/s3c_fimg3d.h linux-2.6.28.6/drivers/media/video/samsung/g3d/s3c_fimg3d.h
--- linux-2.6.28/drivers/media/video/samsung/g3d/s3c_fimg3d.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/g3d/s3c_fimg3d.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,60 @@
+/* linux/drivers/video/samsung/g3d/s3c_fimg3d.h
+ *
+ * Driver header file for Samsung 3D Accelerator(FIMG-3D)
+ *
+ * Jegeon Jung, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_G3D_DRIVER_H_
+#define _S3C_G3D_DRIVER_H_
+
+#define FIMG_PHY_SIZE			0x90000
+
+#define DWORD   unsigned int
+
+#define FGGB_CACHECTL			(0x04)
+#define FGGB_HOSTINTERFACE	        (0xc000)
+#define FGGB_PIPESTATE		        (0x00)
+#define FGHI_HI_CTRL			(0x8008)
+#define FGHI_ATTR0			(0x8040)
+#define FGVS_INSTMEM_SADDR		(0x10000)
+#define FGVS_CFLOAT_SADDR		(0x14000)
+#define FGVS_CINT_SADDR			(0x18000)
+#define FGVS_CBOOL_SADDR		(0x18400)
+#define FGVS_CONFIG			(0x1C800)
+#define FGVS_PC_RANGE			(0x20000)
+#define FGPE_VTX_CONTEXT		(0x30000)
+#define FGRA_PIXEL_SAMPOS		(0x38000)
+#define FGRA_LOD_CTRL			(0x3C000)
+#define FGRA_POINT_WIDTH		(0x3801C)
+#define FGPS_INSTMEM_SADDR		(0x40000)
+#define FGPS_CFLOAT_SADDR		(0x44000)
+#define FGPS_CINT_SADDR			(0x48000)
+#define FGPS_CBOOL_SADDR		(0x48400)
+#define FGPS_EXE_MODE			(0x4C800)
+#define FGTU_TEX0_CTRL			(0x60000) /* R/W */
+#define FGTU_TEX1_CTRL			(0x60050)
+#define FGTU_TEX2_CTRL			(0x600A0)
+#define FGTU_TEX3_CTRL			(0x600F0)
+#define FGTU_TEX4_CTRL			(0x60140)
+#define FGTU_TEX5_CTRL			(0x60190)
+#define FGTU_TEX6_CTRL			(0x601E0)
+#define FGTU_TEX7_CTRL			(0x60230)
+#define FGRA_CLIP_XCORD			(0x3C004)
+#define FGTU_COLOR_KEY1			(0x60280) /* R/W Color Key1 */
+#define FGTU_VTXTEX0_CTRL		(0x602C0)
+#define FGPF_SCISSOR_XCORD		(0x70000)
+#define FGPF_STENCIL_DEPTH_MASK		(0x70028)
+#define FGGB_PIPEMASK			(0x48)
+#define FGGB_INTMASK			(0x44)
+#define FGGB_INTPENDING			(0x40)
+#define FGGB_RST			(0x8)
+#define FGGB_VERSION			(0x10)
+#define FGGB_PIPEINTSTATE		(0x50)
+
+#endif /*_S3C_G2D_DRIVER_H_*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/Kconfig linux-2.6.28.6/drivers/media/video/samsung/jpeg/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/jpeg/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,10 @@
+#
+# Configuration for JPEG
+#
+
+config VIDEO_JPEG
+	bool "Samsung JPEG driver" 
+	depends on VIDEO_SAMSUNG && CPU_S3C6410
+	default n
+	---help---
+	  This is a JPEG for Samsung S3C6410.	  
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/Makefile linux-2.6.28.6/drivers/media/video/samsung/jpeg/Makefile
--- linux-2.6.28/drivers/media/video/samsung/jpeg/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,10 @@
+#################################################
+# Makefile for JPEG 
+# 2009 (C) Samsung Electronics 
+# Author : Jaeryul peter Oh <jaeryul.oh@samsung.com>
+#################################################
+
+obj-$(CONFIG_VIDEO_JPEG)	+= jpg_mem.o jpg_misc.o jpg_opr.o log_msg.o s3c-jpeg.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_conf.h linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_conf.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_conf.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_conf.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,281 @@
+/* linux/drivers/media/video/samsung/jpeg/jpg-conf.h
+ *
+ * Configuration file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __JPG_CONF_H__
+#define __JPG_CONF_H__
+
+
+const unsigned char QTBL_Luminance[4][64]=
+{
+	// level 1 - high quality
+	{
+		8, 6, 6, 8, 12, 14, 16, 17,
+		6, 6, 6, 8, 10, 13, 12, 15,
+		6, 6, 7, 8, 13, 14, 18, 24,
+		8, 8, 8, 14, 13, 19, 24, 35,
+		12, 10, 13, 13, 20, 26, 34, 39,
+		14, 13, 14, 19, 26, 34, 39, 39,
+		16, 12, 18, 24, 34, 39, 39, 39,
+		17, 15, 24, 35, 39, 39, 39, 39
+	},	
+
+	// level 2
+	{
+		12, 8, 8, 12, 17, 21, 24, 23, 
+		8, 9, 9, 11, 15, 19, 18, 23, 
+		8, 9, 10, 12, 19, 20, 27, 36, 
+		12, 11, 12, 21, 20, 28, 36, 53, 
+		17, 15, 19, 20, 30, 39, 51, 59, 
+		21, 19, 20, 28, 39, 51, 59, 59, 
+		24, 18, 27, 36, 51, 59, 59, 59, 
+		23, 23, 36, 53, 59, 59, 59, 59 
+	},
+
+	// level 3
+	{
+		16, 11, 11, 16, 23, 27, 31, 30, 
+		11, 12, 12, 15, 20, 23, 23, 30, 
+		11, 12, 13, 16, 23, 26, 35, 47, 
+		16, 15, 16, 23, 26, 37, 47, 64, 
+		23, 20, 23, 26, 39, 51, 64, 64, 
+		27, 23, 26, 37, 51, 64, 64, 64, 
+		31, 23, 35, 47, 64, 64, 64, 64, 
+		30, 30, 47, 64, 64, 64, 64, 64 
+
+	},
+
+	// level 4 - low quality
+	{
+		20, 16, 25, 39, 50, 46, 62, 68, 
+		16, 18, 23, 38, 38, 53, 65, 68, 
+		25, 23, 31, 38, 53, 65, 68, 68, 
+		39, 38, 38, 53, 65, 68, 68, 68, 
+		50, 38, 53, 65, 68, 68, 68, 68, 
+		46, 53, 65, 68, 68, 68, 68, 68, 
+		62, 65, 68, 68, 68, 68, 68, 68, 
+		68, 68, 68, 68, 68, 68, 68, 68 
+	}
+
+
+};
+
+const unsigned char QTBL_Chrominance[4][64]=
+{
+	// level 1 - high quality
+	{
+		9, 8, 9, 11, 14, 17, 19, 24, 
+		8, 10, 9, 11, 14, 13, 17, 22, 
+		9, 9, 13, 14, 13, 15, 23, 26, 
+		11, 11, 14, 14, 15, 20, 26, 33, 
+		14, 14, 13, 15, 20, 24, 33, 39, 
+		17, 13, 15, 20, 24, 32, 39, 39, 
+		19, 17, 23, 26, 33, 39, 39, 39, 
+		24, 22, 26, 33, 39, 39, 39, 39
+	},
+
+	// level 2
+	{
+		13, 11, 13, 16, 20, 20, 29, 37, 
+		11, 14, 14, 14, 16, 20, 26, 32, 
+		13, 14, 15, 17, 20, 23, 35, 40, 
+		16, 14, 17, 21, 23, 30, 40, 50, 
+		20, 16, 20, 23, 30, 37, 50, 59, 
+		20, 20, 23, 30, 37, 48, 59, 59, 
+		29, 26, 35, 40, 50, 59, 59, 59, 
+		37, 32, 40, 50, 59, 59, 59, 59 
+	},
+
+
+	// level 3
+	{
+		17, 15, 17, 21, 20, 26, 38, 48, 
+		15, 19, 18, 17, 20, 26, 35, 43, 
+		17, 18, 20, 22, 26, 30, 46, 53, 
+		21, 17, 22, 28, 30, 39, 53, 64, 
+		20, 20, 26, 30, 39, 48, 64, 64, 
+		26, 26, 30, 39, 48, 63, 64, 64, 
+		38, 35, 46, 53, 64, 64, 64, 64, 
+		48, 43, 53, 64, 64, 64, 64, 64 
+ 
+
+	},
+
+	// level 4 - low quality
+	{
+		21, 25, 32, 38, 54, 68, 68, 68, 
+		25, 28, 24, 38, 54, 68, 68, 68, 
+		32, 24, 32, 43, 66, 68, 68, 68, 
+		38, 38, 43, 53, 68, 68, 68, 68, 
+		54, 54, 66, 68, 68, 68, 68, 68, 
+		68, 68, 68, 68, 68, 68, 68, 68, 
+		68, 68, 68, 68, 68, 68, 68, 68, 
+		68, 68, 68, 68, 68, 68, 68, 68 
+ 
+	}
+
+};
+
+
+
+const unsigned char QTBL0[64]=
+{
+#if 1
+	0x10, 0x0B, 0x0A, 0x10, 0x18, 0x28, 0x33, 0x3D,
+	0x0C, 0x0C, 0x0E, 0x13, 0x1A, 0x3A, 0x3C, 0x37,
+	0x0E, 0x0D, 0x10, 0x18, 0x28, 0x39, 0x45, 0x38,
+	0x0E, 0x11, 0x16, 0x1D, 0x33, 0x57, 0x50, 0x3E,
+	0x12, 0x16, 0x25, 0x38, 0x44, 0x6D, 0x67, 0x4D,
+	0x18, 0x23, 0x37, 0x40, 0x51, 0x68, 0x71, 0x5C,
+	0x31, 0x40, 0x4E, 0x57, 0x67, 0x79, 0x78, 0x65,
+	0x48, 0x5C, 0x5F, 0x62, 0x70, 0x64, 0x67, 0x63
+#else
+	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
+	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
+	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
+	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
+	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
+	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
+	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
+	0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01
+#endif
+};
+
+//Added Quantization Table
+const unsigned char std_chrominance_quant_tbl_plus[64]=
+{
+	0x11, 0x12, 0x18, 0x2F, 0x63, 0x63, 0x63, 0x63,
+	0x12, 0x15, 0x1A, 0x42, 0x63, 0x63, 0x63, 0x63,
+	0x18, 0x1A, 0x38, 0x63, 0x63, 0x63, 0x63, 0x63,
+	0x2F, 0x42, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63,
+	0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63,
+	0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63,
+	0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63,
+	0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63
+};
+
+//Quantization Table0
+unsigned char std_luminance_quant_tbl[64] =
+{
+	1,   1,   2,   1,   1,   2,   2,   2,
+	2,   3,   2,   2,   3,   3,   6,   4,
+	3,   3,   3,   3,   7,   5,   8,   4,
+	6,   8,   8,  10,   9,   8,   7,  11,
+	8,  10,  14,  13,  11,  10,  10,  12,
+	10,   8,   8,  11,  16,  12,  12,  13,
+	15,  15,  15,  15,   9,  11,  16,  17,
+	15,  14,  17,  13,  14,  14,  14,   1
+ };
+
+//Quantization Table1
+unsigned char std_chrominance_quant_tbl[64] =
+{
+	4,   4,   4,   5,   4,   5,   9,   5,
+	5,   9,  15,  10,   8,  10,  15,  26,
+	19,   9,   9,  19,  26,  26,  26,  26,
+	13,  26,  26,  26,  26,  26,  26,  26,
+	26,  26,  26,  26,  26,  26,  26,  26,
+	26,  26,  26,  26,  26,  26,  26,  26,
+	26,  26,  26,  26,  26,  26,  26,  26,
+	26,  26,  26,  26,  26,  26,  26,  26
+};
+
+//Huffman Table
+unsigned char HDCTBL0[16]  = {0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0};
+unsigned char HDCTBLG0[12] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0xa, 0xb};
+
+unsigned char HACTBL0[16]= {0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 0x7d};
+const unsigned char HACTBLG0[162]=
+{
+	0x01, 0x02, 0x03, 0x00, 0x04, 0x11, 0x05, 0x12,
+	0x21, 0x31, 0x41, 0x06, 0x13, 0x51, 0x61, 0x07,
+	0x22, 0x71, 0x14, 0x32, 0x81, 0x91, 0xa1, 0x08,
+	0x23, 0x42, 0xb1, 0xc1, 0x15, 0x52, 0xd1, 0xf0,
+	0x24, 0x33, 0x62, 0x72, 0x82, 0x09, 0x0a, 0x16,
+	0x17, 0x18, 0x19, 0x1a, 0x25, 0x26, 0x27, 0x28,
+	0x29, 0x2a, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
+	0x3a, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49,
+	0x4a, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59,
+	0x5a, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69,
+	0x6a, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79,
+	0x7a, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89,
+	0x8a, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98,
+	0x99, 0x9a, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
+	0xa8, 0xa9, 0xaa, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6,
+	0xb7, 0xb8, 0xb9, 0xba, 0xc2, 0xc3, 0xc4, 0xc5,
+	0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xd2, 0xd3, 0xd4,
+	0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xe1, 0xe2,
+	0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea,
+	0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8,
+	0xf9, 0xfa
+};
+
+//Huffman Table0
+unsigned char len_dc_luminance[16] ={ 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 };
+unsigned char val_dc_luminance[12] ={ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 };
+
+unsigned char len_ac_luminance[16] ={ 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 0x7d };
+unsigned char val_ac_luminance[162] =
+{
+	0x01, 0x02, 0x03, 0x00, 0x04, 0x11, 0x05, 0x12,
+	0x21, 0x31, 0x41, 0x06, 0x13, 0x51, 0x61, 0x07,
+	0x22, 0x71, 0x14, 0x32, 0x81, 0x91, 0xa1, 0x08,
+	0x23, 0x42, 0xb1, 0xc1, 0x15, 0x52, 0xd1, 0xf0,
+	0x24, 0x33, 0x62, 0x72, 0x82, 0x09, 0x0a, 0x16,
+	0x17, 0x18, 0x19, 0x1a, 0x25, 0x26, 0x27, 0x28,
+	0x29, 0x2a, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
+	0x3a, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49,
+	0x4a, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59,
+	0x5a, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69,
+	0x6a, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79,
+	0x7a, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89,
+	0x8a, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98,
+	0x99, 0x9a, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
+	0xa8, 0xa9, 0xaa, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6,
+	0xb7, 0xb8, 0xb9, 0xba, 0xc2, 0xc3, 0xc4, 0xc5,
+	0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xd2, 0xd3, 0xd4,
+	0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xe1, 0xe2,
+	0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea,
+	0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8,
+	0xf9, 0xfa
+};
+
+//Huffman Table1
+unsigned char len_dc_chrominance[16] ={ 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 };
+unsigned char val_dc_chrominance[12] ={ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 };
+
+unsigned char len_ac_chrominance[16] ={ 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 0x77 };
+unsigned char val_ac_chrominance[162] =
+{
+	0x00, 0x01, 0x02, 0x03, 0x11, 0x04, 0x05, 0x21,
+	0x31, 0x06, 0x12, 0x41, 0x51, 0x07, 0x61, 0x71,
+	0x13, 0x22, 0x32, 0x81, 0x81, 0x08, 0x14, 0x42,
+	0x91, 0xa1, 0xb1, 0xc1, 0x09, 0x23, 0x33, 0x52,
+	0xf0, 0x15, 0x62, 0x72, 0xd1, 0x0a, 0x16, 0x24,
+	0x34, 0xe1, 0x25, 0xf1, 0x17, 0x18, 0x19, 0x1a,
+	0x26, 0x27, 0x28, 0x29, 0x2a, 0x35, 0x36, 0x37,
+	0x38, 0x39, 0x3a, 0x43, 0x44, 0x45, 0x46, 0x47,
+	0x48, 0x49, 0x4a, 0x53, 0x54, 0x55, 0x56, 0x57,
+	0x58, 0x59, 0x5a, 0x63, 0x64, 0x65, 0x66, 0x67,
+	0x68, 0x69, 0x6a, 0x73, 0x74, 0x75, 0x76, 0x77,
+	0x78, 0x79, 0x7a, 0x82, 0x83, 0x84, 0x85, 0x86,
+	0x87, 0x88, 0x89, 0x8a, 0x92, 0x93, 0x94, 0x95,
+	0x96, 0x97, 0x98, 0x99, 0x9a, 0xa2, 0xa3, 0xa4,
+	0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xb2, 0xb3,
+	0xb4, 0xb5, 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xc2,
+	0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca,
+	0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9,
+	0xda, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8,
+	0xe9, 0xea, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
+	0xf8, 0xf9
+};
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_mem.c linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_mem.c
--- linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_mem.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_mem.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,116 @@
+/* linux/drivers/media/video/samsung/jpeg/jpg_mem.c
+ *
+ * Driver file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <asm/io.h>
+#include <linux/string.h>
+#include <linux/kernel.h>
+#include <linux/slab.h>
+#include <asm/uaccess.h>
+#include <linux/types.h>
+
+#include "jpg_mem.h"
+#include "jpg_misc.h"
+#include "log_msg.h"
+
+
+/*----------------------------------------------------------------------------
+*Function: phy_to_vir_addr
+
+*Parameters: 		dwContext		:
+*Return Value:		True/False
+*Implementation Notes: memory mapping from physical addr to virtual addr 
+-----------------------------------------------------------------------------*/
+void *phy_to_vir_addr(UINT32 phy_addr, int mem_size)
+{
+	void	*reserved_mem;
+
+	reserved_mem = (void *)ioremap( (unsigned long)phy_addr, (int)mem_size );		
+
+	if (reserved_mem == NULL) {
+		log_msg(LOG_ERROR, "phy_to_vir_addr", "DD::Phyical to virtual memory mapping was failed!\r\n");
+		return NULL;
+	}
+
+	return reserved_mem;
+}
+
+/*----------------------------------------------------------------------------
+*Function: jpeg_mem_mapping
+
+*Parameters: 		dwContext		:
+*Return Value:		True/False
+*Implementation Notes: JPG register mapping from physical addr to virtual addr 
+-----------------------------------------------------------------------------*/
+BOOL jpeg_mem_mapping(s3c6400_jpg_ctx *base)
+{
+	// JPG HOST Register
+	base->v_pJPG_REG = (volatile S3C6400_JPG_HOSTIF_REG *)phy_to_vir_addr(JPG_REG_BASE_ADDR, sizeof(S3C6400_JPG_HOSTIF_REG));
+	if (base->v_pJPG_REG == NULL)
+	{
+		log_msg(LOG_ERROR, "jpeg_mem_mapping", "DD::v_pJPG_REG: VirtualAlloc failed!\r\n");
+		return FALSE;
+	}
+	
+	return TRUE;
+}
+
+
+void jpg_mem_free(s3c6400_jpg_ctx *base)
+{
+	iounmap((void *)base->v_pJPG_REG);
+	base->v_pJPG_REG = NULL;
+}
+
+/*----------------------------------------------------------------------------
+*Function: jpg_buff_mapping
+
+*Parameters: 		dwContext		:
+*Return Value:		True/False
+*Implementation Notes: JPG Buffer mapping from physical addr to virtual addr 
+-----------------------------------------------------------------------------*/
+BOOL jpg_buff_mapping(s3c6400_jpg_ctx *base)
+{    	
+    	// JPG Data Buffer
+	base->v_pJPGData_Buff = (UINT8 *)phy_to_vir_addr(jpg_data_base_addr, JPG_TOTAL_BUF_SIZE);
+
+	if (base->v_pJPGData_Buff == NULL)
+	{
+		log_msg(LOG_ERROR, "jpg_buff_mapping", "DD::v_pJPGData_Buff: VirtualAlloc failed!\r\n");
+		return FALSE;
+	}
+
+	return TRUE;
+}
+
+void jpg_buff_free(s3c6400_jpg_ctx *base)
+{
+	iounmap( (void *)base->v_pJPGData_Buff );
+	base->v_pJPGData_Buff = NULL;
+}
+
+void *mem_move(void *dst, const void *src, unsigned int size)
+{
+	return memmove(dst, src, size);
+}
+
+void *mem_alloc(unsigned int size)
+{
+	void	*alloc_mem;
+
+	alloc_mem = (void *)kmalloc((int)size, GFP_KERNEL);
+	if (alloc_mem == NULL) {
+		log_msg(LOG_ERROR, "Mem_Alloc", "memory allocation failed!\r\n");
+		return NULL;
+	}
+
+	return alloc_mem;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_mem.h linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_mem.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_mem.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_mem.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,125 @@
+/* linux/drivers/media/video/samsung/jpeg/jpg_mem.h
+ *
+ * Driver header file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __JPG_MEM_H__
+#define __JPG_MEM_H__
+
+#include "jpg_misc.h"
+
+#include <linux/version.h>
+#include <plat/media.h>
+
+#define JPG_REG_BASE_ADDR			(0x78800000)
+#define jpg_data_base_addr			(UINT32)s3c_get_media_memory(S3C_MDEV_JPEG)
+
+#define MAX_JPG_WIDTH				1600
+#define MAX_JPG_HEIGHT				1200
+
+#define MAX_JPG_THUMBNAIL_WIDTH		320
+#define MAX_JPG_THUMBNAIL_HEIGHT	240
+
+#define JPG_STREAM_BUF_SIZE			(MAX_JPG_WIDTH * MAX_JPG_HEIGHT)
+#define JPG_STREAM_THUMB_BUF_SIZE	(MAX_JPG_THUMBNAIL_WIDTH * MAX_JPG_THUMBNAIL_HEIGHT)
+#define JPG_FRAME_BUF_SIZE			(MAX_JPG_WIDTH * MAX_JPG_HEIGHT * 3)
+#define JPG_FRAME_THUMB_BUF_SIZE	(MAX_JPG_THUMBNAIL_WIDTH * MAX_JPG_THUMBNAIL_HEIGHT * 3)
+
+#define JPG_TOTAL_BUF_SIZE			(JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE \
+									+ JPG_FRAME_BUF_SIZE + JPG_FRAME_THUMB_BUF_SIZE)
+
+#define COEF1_RGB_2_YUV         0x4d971e
+#define COEF2_RGB_2_YUV         0x2c5783
+#define COEF3_RGB_2_YUV         0x836e13
+
+#define ENABLE_MOTION_ENC       (0x1<<3)
+#define DISABLE_MOTION_ENC      (0x0<<3)
+
+#define ENABLE_MOTION_DEC       (0x1<<0)
+#define DISABLE_MOTION_DEC      (0x0<<0)
+
+#define ENABLE_HW_DEC           (0x1<<2)
+#define DISABLE_HW_DEC          (0x0<<2)
+
+#define INCREMENTAL_DEC         (0x1<<3)
+#define NORMAL_DEC              (0x0<<3)
+#define YCBCR_MEMORY			(0x1<<5)
+
+#define	ENABLE_IRQ				(0xf<<3)
+
+typedef struct tagS3C6400_JPG_HOSTIF_REG
+{
+	UINT32		JPGMod;			//0x000
+	UINT32		JPGStatus;		//0x004
+	UINT32		JPGQTblNo;		//0x008
+	UINT32		JPGRSTPos;		//0x00C
+	UINT32		JPGY;			//0x010
+	UINT32		JPGX;			//0x014
+	UINT32		JPGDataSize;	//0x018
+	UINT32		JPGIRQ;			//0x01C
+	UINT32		JPGIRQStatus;	//0x020
+	UINT32		dummy0[247];
+
+	UINT32		JQTBL0[64];		//0x400
+	UINT32		JQTBL1[64];		//0x500
+	UINT32		JQTBL2[64];		//0x600
+	UINT32		JQTBL3[64];		//0x700
+	UINT32		JHDCTBL0[16];	//0x800
+	UINT32		JHDCTBLG0[12];	//0x840
+	UINT32		dummy1[4];
+	UINT32		JHACTBL0[16];	//0x880
+	UINT32		JHACTBLG0[162];	//0x8c0
+	UINT32		dummy2[46];
+	UINT32		JHDCTBL1[16];	//0xc00
+	UINT32		JHDCTBLG1[12];	//0xc40
+	UINT32		dummy3[4];
+	UINT32		JHACTBL1[16];	//0xc80
+	UINT32		JHACTBLG1[162];	//0xcc0
+	UINT32		dummy4[46];
+
+	UINT32		JPGYUVAddr0;	//0x1000
+	UINT32		JPGYUVAddr1;	//0x1004
+	UINT32		JPGFileAddr0;	//0x1008
+	UINT32		JPGFileAddr1;	//0x100c
+	UINT32		JPGStart;		//0x1010
+	UINT32		JPGReStart;		//0x1014
+	UINT32		JPGSoftReset;	//0x1018
+	UINT32		JPGCntl;		//0x101c
+	UINT32		JPGCOEF1;		//0x1020
+	UINT32		JPGCOEF2;		//0x1024
+	UINT32		JPGCOEF3;		//0x1028
+	UINT32		JPGMISC;		//0x102c
+	UINT32		JPGFrameIntv;	//0x1030
+}S3C6400_JPG_HOSTIF_REG;
+
+typedef struct tags3c6400_jpg_ctx
+{
+	volatile S3C6400_JPG_HOSTIF_REG	*v_pJPG_REG;
+	volatile UINT8					*v_pJPGData_Buff;
+	int								callerProcess;
+	unsigned char					*strUserBuf;
+	unsigned char					*frmUserBuf;
+	unsigned char					*strUserThumbBuf;
+	unsigned char					*frmUserThumbBuf;
+}s3c6400_jpg_ctx;
+
+//extern UINT32 jpg_data_base_addr;
+
+void *phy_to_vir_addr(UINT32 phy_addr, int mem_size);
+BOOL jpeg_mem_mapping(s3c6400_jpg_ctx *base);
+void jpg_mem_free(s3c6400_jpg_ctx *base);
+BOOL jpg_buff_mapping(s3c6400_jpg_ctx *base);
+void jpg_buff_free(s3c6400_jpg_ctx *base);
+BOOL HWPostMemMapping(void);
+void HWPostMemFree(void);
+void *mem_move(void *dst, const void *src, unsigned int size);
+void *mem_alloc(unsigned int size);
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_misc.c linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_misc.c
--- linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_misc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_misc.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,100 @@
+/* linux/drivers/media/video/samsung/jpeg/jpg_misc.c
+ *
+ * Driver file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <stdarg.h>
+#include <linux/kernel.h>
+#include <linux/mutex.h>
+#include <linux/slab.h>
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+
+#include <linux/version.h>
+#include <plat/regs-lcd.h>	
+
+#include <asm/io.h>
+#include <linux/interrupt.h>
+#include <linux/wait.h>
+
+#include "jpg_misc.h"
+#include "jpg_mem.h"
+
+static HANDLE hMutex	= NULL;
+extern wait_queue_head_t	WaitQueue_JPEG;
+
+/*----------------------------------------------------------------------------
+*Function: create_jpg_mutex
+*Implementation Notes: Create Mutex handle 
+-----------------------------------------------------------------------------*/
+HANDLE create_jpg_mutex(void)
+{
+	hMutex = (HANDLE)kmalloc(sizeof(struct mutex), GFP_KERNEL);
+	if (hMutex == NULL)
+		return NULL;
+	
+	mutex_init(hMutex);
+	
+	return hMutex;
+}
+
+/*----------------------------------------------------------------------------
+*Function: lock_jpg_mutex
+*Implementation Notes: lock mutex 
+-----------------------------------------------------------------------------*/
+DWORD lock_jpg_mutex(void)
+{
+    mutex_lock(hMutex);  
+    return 1;
+}
+
+/*----------------------------------------------------------------------------
+*Function: unlock_jpg_mutex
+*Implementation Notes: unlock mutex
+-----------------------------------------------------------------------------*/
+DWORD unlock_jpg_mutex(void)
+{
+	mutex_unlock(hMutex);
+	
+    return 1;
+}
+
+/*----------------------------------------------------------------------------
+*Function: delete_jpg_mutex
+*Implementation Notes: delete mutex handle 
+-----------------------------------------------------------------------------*/
+void delete_jpg_mutex(void)
+{
+	if (hMutex == NULL)
+		return;
+
+	mutex_destroy(hMutex);
+}
+
+unsigned int get_fb0_addr(void)
+{
+	return readl(S3C_VIDW00ADD0B0);
+}
+
+void get_lcd_size(int *width, int *height)
+{
+	unsigned int	tmp;
+	
+	tmp		= readl(S3C_VIDTCON2);
+	*height	= ((tmp >> 11) & 0x7FF) + 1;
+	*width	= (tmp & 0x7FF) + 1;
+}
+
+void wait_for_interrupt(void)
+{
+	interruptible_sleep_on_timeout(&WaitQueue_JPEG, 100);
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_misc.h linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_misc.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_misc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_misc.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,35 @@
+/* linux/drivers/media/video/samsung/jpeg/jpg_misc.h
+ *
+ * Driver header file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __JPG_MISC_H__
+#define __JPG_MISC_H__
+
+#include <linux/types.h>
+
+typedef	unsigned char	UCHAR;
+typedef unsigned long	ULONG;
+typedef	unsigned int	UINT;
+typedef struct mutex *	HANDLE;
+typedef unsigned long	DWORD;
+typedef unsigned int	UINT32;
+typedef unsigned char	UINT8;
+typedef enum {FALSE, TRUE} BOOL;
+
+HANDLE create_jpg_mutex(void);
+DWORD lock_jpg_mutex(void);
+DWORD unlock_jpg_mutex(void);
+void delete_jpg_mutex(void);
+unsigned int get_fb0_addr(void);
+void get_lcd_size(int *width, int *height);
+void wait_for_interrupt(void);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_opr.c linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_opr.c
--- linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_opr.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_opr.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,460 @@
+/* linux/drivers/media/video/samsung/jpeg/jpg_opr.c
+ *
+ * Driver file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "jpg_mem.h"
+#include "jpg_misc.h"
+#include "jpg_opr.h"
+#include "jpg_conf.h"
+#include "log_msg.h"
+
+extern int	jpg_irq_reason;
+
+enum{
+		UNKNOWN,
+		BASELINE = 0xC0,
+		EXTENDED_SEQ = 0xC1,
+		PROGRESSIVE = 0xC2
+}JPG_SOF_MARKER;
+
+
+/*----------------------------------------------------------------------------
+*Function: decode_jpg
+
+*Parameters:	jCTX:
+				input_buff:
+				input_size:
+				output_buff:
+				output_size
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+JPG_RETURN_STATUS decode_jpg(s3c6400_jpg_ctx *jCTX,
+							JPG_DEC_PROC_PARAM *decParam)
+{
+	volatile int		ret;
+	SAMPLE_MODE_T sampleMode;
+	UINT32	width, height, orgwidth, orgheight;
+	BOOL	headerFixed = FALSE;
+
+	log_msg(LOG_TRACE, "decode_jpg", "decode_jpg function\n");
+	reset_jpg(jCTX);
+
+	/////////////////////////////////////////////////////////
+	// Header Parsing									   //
+	/////////////////////////////////////////////////////////
+
+	decode_header(jCTX);
+	wait_for_interrupt();
+	ret = jpg_irq_reason;
+		
+	if(ret != OK_HD_PARSING){
+		log_msg(LOG_ERROR, "\ndecode_jpg", "DD::JPG Header Parsing Error(%d)\r\n", ret);
+		return JPG_FAIL;
+	}
+
+	sampleMode = get_sample_type(jCTX);
+	log_msg(LOG_TRACE, "decode_jpg", "sampleMode : %d\n", sampleMode);
+	if(sampleMode == JPG_SAMPLE_UNKNOWN){
+		log_msg(LOG_ERROR, "decode_jpg", "DD::JPG has invalid sampleMode\r\n");
+		return JPG_FAIL;
+	}
+	decParam->sampleMode = sampleMode;
+
+	getXY(jCTX, &width, &height);
+	log_msg(LOG_TRACE, "decode_jpg", "DD:: width : 0x%x height : 0x%x\n", width, height);
+	if(width <= 0 || width > MAX_JPG_WIDTH || height <= 0 || height > MAX_JPG_HEIGHT){
+		log_msg(LOG_ERROR, "decode_jpg", "DD::JPG has invalid width/height\n");
+		return JPG_FAIL;
+	}
+
+	/////////////////////////////////////////////////////////
+	// Header Correction								   //
+	/////////////////////////////////////////////////////////
+
+	orgwidth = width;
+	orgheight = height;
+	if(!is_correct_header(sampleMode, &width, &height)){
+		rewrite_header(jCTX, decParam->fileSize, width, height);
+		headerFixed = TRUE;
+	}
+	
+
+	/////////////////////////////////////////////////////////
+	// Body Decoding									   //
+	/////////////////////////////////////////////////////////
+
+	if(headerFixed){
+		reset_jpg(jCTX);
+		decode_header(jCTX);
+		wait_for_interrupt();
+		ret = jpg_irq_reason;
+				
+		if(ret != OK_HD_PARSING){
+			log_msg(LOG_ERROR, "decode_jpg", "JPG Header Parsing Error(%d)\r\n", ret);
+			return JPG_FAIL;
+		}
+		
+		decode_body(jCTX);
+		wait_for_interrupt();
+		ret = jpg_irq_reason;
+			
+		if(ret != OK_ENC_OR_DEC){
+			log_msg(LOG_ERROR, "decode_jpg", "JPG Body Decoding Error(%d)\n", ret);
+			return JPG_FAIL;
+		}
+
+		// for post processor, discard pixel
+		if(orgwidth % 4 != 0)  
+			orgwidth = (orgwidth/4)*4;
+
+		log_msg(LOG_TRACE, "decode_jpg", "orgwidth : %d orgheight : %d\n", orgwidth, orgheight);
+		rewrite_yuv(jCTX, width, orgwidth, height, orgheight);
+
+		// JPEG H/W IP always return YUV422
+		decParam->dataSize = getYUVSize(JPG_422, orgwidth, orgheight);
+		decParam->width = orgwidth;
+		decParam->height = orgheight;
+	}
+	else{
+		decode_body(jCTX);
+		wait_for_interrupt();
+		ret = jpg_irq_reason;
+		
+		if(ret != OK_ENC_OR_DEC){
+			log_msg(LOG_ERROR, "decode_jpg", "DD::JPG Body Decoding Error(%d)\n", ret);
+			return JPG_FAIL;
+		}
+
+		// JPEG H/W IP always return YUV422
+		decParam->dataSize = getYUVSize(JPG_422, width, height);
+		decParam->width = width;
+		decParam->height = height;
+	}
+	
+	return JPG_SUCCESS;	
+}
+
+/*----------------------------------------------------------------------------
+*Function: is_correct_header
+
+*Parameters:	sampleMode:
+				width:
+				height:
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+BOOL is_correct_header(SAMPLE_MODE_T sampleMode, UINT32 *width, UINT32 *height)
+{
+	BOOL result = FALSE;
+
+	log_msg(LOG_TRACE, "is_correct_header", "Header is not multiple of MCU\n");
+
+	switch(sampleMode){
+		case JPG_400 : 
+		case JPG_444 : if((*width % 8 == 0) && (*height % 8 == 0))
+						   result = TRUE;
+					   if(*width % 8 != 0)
+						   *width += 8 - (*width % 8);
+					   if(*height % 8 != 0)
+						   *height += 8 - (*height % 8);						
+						break;
+		case JPG_422 : if((*width % 16 == 0) && (*height % 8 == 0))
+						   result = TRUE;
+					   if(*width % 16 != 0)
+						   *width += 16 - (*width % 16);
+					   if(*height % 8 != 0)
+						   *height += 8 - (*height % 8);						
+						break; 
+		case JPG_420 : 
+		case JPG_411 : if((*width % 16 == 0) && (*height % 16 == 0))
+						   result = TRUE;
+					   if(*width % 16 != 0)
+						   *width += 16 - (*width % 16);
+					   if(*height % 16 != 0)
+						   *height += 16 - (*height % 16);						
+						break;
+		default : break;
+	}
+
+	log_msg(LOG_TRACE, "is_correct_header", "after error correction : width(%x) height(%x)\n", *width, *height);
+	return(result);
+}
+
+/*----------------------------------------------------------------------------
+*Function: rewrite_header
+
+*Parameters:	jCTX:
+				file_size:
+				width:
+				height:
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+void rewrite_header(s3c6400_jpg_ctx *jCTX, UINT32 file_size, UINT32 width, UINT32 height)
+{
+	UINT32	i;
+	UINT8	*ptr = (UINT8 *)jCTX->v_pJPGData_Buff;
+	UINT8	*SOF1 = NULL, *SOF2 = NULL;
+	UINT8	*header = NULL;
+
+	log_msg(LOG_TRACE, "rewrite_header", "file size : %d, v_pJPGData_Buff : 0x%X\n", file_size, ptr);
+	
+	for(i=0; i < file_size; i++){
+		if(*ptr++ == 0xFF){
+			if((*ptr == BASELINE) || (*ptr == EXTENDED_SEQ) || (*ptr == PROGRESSIVE)){
+				log_msg(LOG_TRACE, "rewrite_header", "match FFC0(i : %d)\n", i);
+				if(SOF1 == NULL)
+					SOF1 = ++ptr;
+				else{
+					SOF2 = ++ptr;
+					break;
+				}
+			}
+		}
+	}
+
+	log_msg(LOG_TRACE, "rewrite_header", "start header correction\n");
+	if(i <= file_size){
+		header = (SOF2 == NULL) ? (SOF1) : (SOF2);
+		header += 3; //length(2) + sampling bit(1)
+		*header = (height>>8) & 0xFF;
+		header++;
+		*header = height & 0xFF;
+		header++;
+		*header = (width>>8) & 0xFF;
+		header++;
+		*header = (width & 0xFF);
+
+	}
+}
+
+/*----------------------------------------------------------------------------
+*Function: reset_jpg
+
+*Parameters:	jCTX:
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+void reset_jpg(s3c6400_jpg_ctx *jCTX)
+{
+	log_msg(LOG_TRACE, "reset_jpg", "reset_jpg function\n");
+	jCTX->v_pJPG_REG->JPGSoftReset = 0; //ENABLE
+}
+
+/*----------------------------------------------------------------------------
+*Function: decode_header
+
+*Parameters:	jCTX:	
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+void decode_header(s3c6400_jpg_ctx *jCTX)
+{
+	log_msg(LOG_TRACE, "decode_header", "decode_header function\n");
+	jCTX->v_pJPG_REG->JPGFileAddr0 = jpg_data_base_addr;
+	jCTX->v_pJPG_REG->JPGFileAddr1 = jpg_data_base_addr;
+	
+	jCTX->v_pJPG_REG->JPGMod = 0x08; //decoding mode
+	jCTX->v_pJPG_REG->JPGIRQ = ENABLE_IRQ;
+	jCTX->v_pJPG_REG->JPGCntl = DISABLE_HW_DEC;
+	jCTX->v_pJPG_REG->JPGMISC = (NORMAL_DEC | YCBCR_MEMORY);
+	jCTX->v_pJPG_REG->JPGStart = 1;
+}
+
+/*----------------------------------------------------------------------------
+*Function: decode_body
+
+*Parameters:	jCTX:
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+void decode_body(s3c6400_jpg_ctx *jCTX)
+{
+	log_msg(LOG_TRACE, "decode_body", "decode_body function\n");
+	jCTX->v_pJPG_REG->JPGYUVAddr0 = jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE;
+	jCTX->v_pJPG_REG->JPGYUVAddr1 = jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE;
+
+	jCTX->v_pJPG_REG->JPGCntl = 0;
+	jCTX->v_pJPG_REG->JPGMISC = 0;
+	jCTX->v_pJPG_REG->JPGReStart = 1;
+}
+
+/*----------------------------------------------------------------------------
+*Function: rewrite_yuv
+
+*Parameters:	jCTX:
+				width:
+				orgwidth:
+				height:
+				orgheight:
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+void rewrite_yuv(s3c6400_jpg_ctx *jCTX, UINT32 width, UINT32 orgwidth, UINT32 height, UINT32 orgheight)
+{
+	UINT32	src, dst;
+	UINT32	i;
+	UINT8	*streamPtr;
+
+	log_msg(LOG_TRACE, "rewrite_yuv", "rewrite_yuv function\n");
+
+	streamPtr = (UINT8 *)(jCTX->v_pJPGData_Buff + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE);
+	src = 2*width;
+	dst = 2*orgwidth;
+	for(i = 1; i < orgheight; i++){
+		mem_move(&streamPtr[dst], &streamPtr[src], 2*orgwidth);
+		src += 2*width;
+		dst += 2*orgwidth;
+	}
+}
+
+/*----------------------------------------------------------------------------
+*Function:	get_sample_type
+
+*Parameters:	jCTX:
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+SAMPLE_MODE_T get_sample_type(s3c6400_jpg_ctx *jCTX)
+{	
+	ULONG	jpgMode;
+	SAMPLE_MODE_T	sampleMode;	
+
+	jpgMode = jCTX->v_pJPG_REG->JPGMod;
+
+	sampleMode = 
+		((jpgMode&0x7) == 0) ? JPG_444 :
+		((jpgMode&0x7) == 1) ? JPG_422 :
+		((jpgMode&0x7) == 2) ? JPG_420 :
+		((jpgMode&0x7) == 3) ? JPG_400 :
+		((jpgMode&0x7) == 6) ? JPG_411 : JPG_SAMPLE_UNKNOWN;
+
+	return(sampleMode);
+}
+
+/*----------------------------------------------------------------------------
+*Function:	getXY
+
+*Parameters:	jCTX:
+				x:
+				y:
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+void getXY(s3c6400_jpg_ctx *jCTX, UINT32 *x, UINT32 *y)
+{
+	*x = jCTX->v_pJPG_REG->JPGX;
+	*y = jCTX->v_pJPG_REG->JPGY;
+}
+
+/*----------------------------------------------------------------------------
+*Function: getYUVSize
+
+*Parameters:	sampleMode:
+				width:
+				height:
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+UINT32 getYUVSize(SAMPLE_MODE_T sampleMode, UINT32 width, UINT32 height)
+{
+	switch(sampleMode){
+		case JPG_444 : return(width*height*3);
+		case JPG_422 : return(width*height*2);
+		case JPG_420 : 
+		case JPG_411 : return((width*height*3)>>1);
+		case JPG_400 : return(width*height);
+		default : return(0);
+	}
+
+}
+
+/*----------------------------------------------------------------------------
+*Function: reset_jpg
+
+*Parameters:	jCTX:
+*Return Value:
+*Implementation Notes: 
+-----------------------------------------------------------------------------*/
+JPG_RETURN_STATUS encode_jpg(s3c6400_jpg_ctx *jCTX, 
+							JPG_ENC_PROC_PARAM	*EncParam)
+{
+	UINT	i, ret;
+
+	if(EncParam->width <= 0 || EncParam->width > MAX_JPG_WIDTH
+		|| EncParam->height <=0 || EncParam->height > MAX_JPG_HEIGHT){
+			log_msg(LOG_ERROR, "encode_jpg", "DD::Encoder : Invalid width/height\r\n");
+			return JPG_FAIL;
+	}
+
+	reset_jpg(jCTX);
+
+	jCTX->v_pJPG_REG->JPGMod = (EncParam->sampleMode == JPG_422) ? (0x1<<0) : (0x2<<0);
+	jCTX->v_pJPG_REG->JPGRSTPos = 2; // MCU inserts RST marker
+	jCTX->v_pJPG_REG->JPGQTblNo = (1<<12) | (1<<14);
+	jCTX->v_pJPG_REG->JPGX = EncParam->width;
+	jCTX->v_pJPG_REG->JPGY = EncParam->height;
+
+	log_msg(LOG_TRACE, "encode_jpg", "EncParam->encType : %d\n", EncParam->encType);
+	if(EncParam->encType == JPG_MAIN){
+		jCTX->v_pJPG_REG->JPGYUVAddr0 = jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE; // Address of input image
+		jCTX->v_pJPG_REG->JPGYUVAddr1 = jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE; // Address of input image
+		jCTX->v_pJPG_REG->JPGFileAddr0 = jpg_data_base_addr; // Address of JPEG stream
+		jCTX->v_pJPG_REG->JPGFileAddr1 = jpg_data_base_addr; // next address of motion JPEG stream
+	}
+	else{ // thumbnail encoding
+		jCTX->v_pJPG_REG->JPGYUVAddr0 = jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE + JPG_FRAME_BUF_SIZE; // Address of input image
+		jCTX->v_pJPG_REG->JPGYUVAddr1 = jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE + JPG_FRAME_BUF_SIZE; // Address of input image
+		jCTX->v_pJPG_REG->JPGFileAddr0 = jpg_data_base_addr + JPG_STREAM_BUF_SIZE; // Address of JPEG stream
+		jCTX->v_pJPG_REG->JPGFileAddr1 = jpg_data_base_addr + JPG_STREAM_BUF_SIZE; // next address of motion JPEG stream
+	}
+	jCTX->v_pJPG_REG->JPGCOEF1 = COEF1_RGB_2_YUV; // Coefficient value 1 for RGB to YCbCr
+	jCTX->v_pJPG_REG->JPGCOEF2 = COEF2_RGB_2_YUV; // Coefficient value 2 for RGB to YCbCr
+	jCTX->v_pJPG_REG->JPGCOEF3 = COEF3_RGB_2_YUV; // Coefficient value 3 for RGB to YCbCr
+
+	jCTX->v_pJPG_REG->JPGMISC = (1<<5) | (0<<2);
+	jCTX->v_pJPG_REG->JPGCntl = DISABLE_MOTION_ENC;
+
+
+	// Quantiazation and Huffman Table setting
+	for (i=0; i<64; i++)
+		jCTX->v_pJPG_REG->JQTBL0[i] = (UINT32)QTBL_Luminance[EncParam->quality][i];
+
+	for (i=0; i<64; i++)
+		jCTX->v_pJPG_REG->JQTBL1[i] = (UINT32)QTBL_Chrominance[EncParam->quality][i];
+
+	for (i=0; i<16; i++)
+		jCTX->v_pJPG_REG->JHDCTBL0[i] = (UINT32)HDCTBL0[i];
+
+	for (i=0; i<12; i++)
+		jCTX->v_pJPG_REG->JHDCTBLG0[i] = (UINT32)HDCTBLG0[i];
+
+	for (i=0; i<16; i++)
+		jCTX->v_pJPG_REG->JHACTBL0[i] = (UINT32)HACTBL0[i];
+
+	for (i=0; i<162; i++)
+		jCTX->v_pJPG_REG->JHACTBLG0[i] = (UINT32)HACTBLG0[i];
+
+	jCTX->v_pJPG_REG->JPGStart = 0;
+
+	wait_for_interrupt();
+	ret = jpg_irq_reason;
+
+	if(ret != OK_ENC_OR_DEC){
+		log_msg(LOG_ERROR, "encode_jpg", "DD::JPG Encoding Error(%d)\n", ret);
+		return JPG_FAIL;
+	}
+
+	EncParam->fileSize = jCTX->v_pJPG_REG->JPGDataSize;
+	return JPG_SUCCESS;
+
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_opr.h linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_opr.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg/jpg_opr.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/jpg_opr.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,85 @@
+/* linux/drivers/media/video/samsung/jpeg/jpg_opr.h
+ *
+ * Driver header file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __JPG_OPR_H__
+#define __JPG_OPR_H__
+
+
+typedef enum tagJPG_RETURN_STATUS{
+	JPG_FAIL,
+	JPG_SUCCESS,
+	OK_HD_PARSING,
+	ERR_HD_PARSING,
+	OK_ENC_OR_DEC,
+	ERR_ENC_OR_DEC,
+	ERR_UNKNOWN
+}JPG_RETURN_STATUS;
+
+typedef enum tagIMAGE_TYPE_T{
+	JPG_RGB16,
+	JPG_YCBYCR,
+	JPG_TYPE_UNKNOWN
+}IMAGE_TYPE_T;
+
+typedef enum tagSAMPLE_MODE_T{
+	JPG_444,
+	JPG_422,
+	JPG_420, 
+	JPG_411,
+	JPG_400,
+	JPG_SAMPLE_UNKNOWN
+}SAMPLE_MODE_T;
+
+typedef enum tagENCDEC_TYPE_T{
+	JPG_MAIN,
+	JPG_THUMBNAIL
+}ENCDEC_TYPE_T;
+
+typedef enum tagIMAGE_QUALITY_TYPE_T{
+	JPG_QUALITY_LEVEL_1 = 0, /*high quality*/
+	JPG_QUALITY_LEVEL_2,
+	JPG_QUALITY_LEVEL_3,
+	JPG_QUALITY_LEVEL_4     /*low quality*/
+}IMAGE_QUALITY_TYPE_T;
+
+typedef struct tagJPG_DEC_PROC_PARAM{
+	SAMPLE_MODE_T	sampleMode;
+	ENCDEC_TYPE_T	decType;
+	UINT32	width;
+	UINT32	height;
+	UINT32	dataSize;
+	UINT32	fileSize;
+} JPG_DEC_PROC_PARAM;
+
+typedef struct tagJPG_ENC_PROC_PARAM{
+	SAMPLE_MODE_T	sampleMode;
+	ENCDEC_TYPE_T	encType;
+	IMAGE_QUALITY_TYPE_T quality;
+	UINT32	width;
+	UINT32	height;
+	UINT32	dataSize;
+	UINT32	fileSize;
+} JPG_ENC_PROC_PARAM;
+
+JPG_RETURN_STATUS decode_jpg(s3c6400_jpg_ctx *jCTX, JPG_DEC_PROC_PARAM *decParam);
+void reset_jpg(s3c6400_jpg_ctx *jCTX);
+void decode_header(s3c6400_jpg_ctx *jCTX);
+void decode_body(s3c6400_jpg_ctx *jCTX);
+SAMPLE_MODE_T get_sample_type(s3c6400_jpg_ctx *jCTX);
+void getXY(s3c6400_jpg_ctx *jCTX, UINT32 *x, UINT32 *y);
+UINT32 getYUVSize(SAMPLE_MODE_T sampleMode, UINT32 width, UINT32 height);
+BOOL is_correct_header(SAMPLE_MODE_T sampleMode, UINT32 *width, UINT32 *height);
+void rewrite_header(s3c6400_jpg_ctx *jCTX, UINT32 file_size, UINT32 width, UINT32 height);
+void rewrite_yuv(s3c6400_jpg_ctx *jCTX, UINT32 width, UINT32 orgwidth, UINT32 height, UINT32 orgheight);
+JPG_RETURN_STATUS encode_jpg(s3c6400_jpg_ctx *jCTX, JPG_ENC_PROC_PARAM	*EncParam);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/log_msg.c linux-2.6.28.6/drivers/media/video/samsung/jpeg/log_msg.c
--- linux-2.6.28/drivers/media/video/samsung/jpeg/log_msg.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/log_msg.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,53 @@
+/* linux/drivers/media/video/samsung/jpeg/jpg_msg.c
+ *
+ * Driver file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <stdarg.h>
+#include <linux/string.h>
+#include <linux/kernel.h>
+#include <asm/param.h>
+#include <linux/delay.h>
+
+#include "log_msg.h"
+
+//#define DEBUG
+
+static const LOG_LEVEL log_level = LOG_TRACE;
+
+static const char *modulename = "JPEG_DRV";
+
+static const char *level_str[] = {"TRACE", "WARNING", "ERROR"};
+
+void log_msg(LOG_LEVEL level, const char *func_name, const char *msg, ...)
+{
+	
+	char buf[256];
+	va_list argptr;
+
+	if (level < log_level)
+		return;
+
+	sprintf(buf, "[%s: %s] %s: ", modulename, level_str[level], func_name);
+
+	va_start(argptr, msg);
+	vsprintf(buf + strlen(buf), msg, argptr);
+
+	if(level == LOG_TRACE){
+	#ifdef DEBUG
+		printk(buf);
+	#endif
+	} else {
+		printk(buf);
+	}
+	
+	va_end(argptr);
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/log_msg.h linux-2.6.28.6/drivers/media/video/samsung/jpeg/log_msg.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg/log_msg.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/log_msg.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,36 @@
+/* linux/drivers/media/video/samsung/jpeg/jpg_msg.h
+ *
+ * Driver header file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __SAMSUNG_SYSLSI_APDEV_log_msg_H__
+#define __SAMSUNG_SYSLSI_APDEV_log_msg_H__
+
+
+typedef enum
+{
+	LOG_TRACE   = 0,
+	LOG_WARNING = 1,
+	LOG_ERROR   = 2
+} LOG_LEVEL;
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+void log_msg(LOG_LEVEL level, const char *func_name, const char *msg, ...);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __SAMSUNG_SYSLSI_APDEV_log_msg_H__ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/s3c-jpeg.c linux-2.6.28.6/drivers/media/video/samsung/jpeg/s3c-jpeg.c
--- linux-2.6.28/drivers/media/video/samsung/jpeg/s3c-jpeg.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/s3c-jpeg.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,505 @@
+/* linux/drivers/media/video/samsung/jpeg/s3c-jpeg.c
+ *
+ * Driver file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/version.h>
+#include <linux/module.h>
+#include <linux/delay.h>
+#include <linux/errno.h>
+#include <linux/fs.h>
+#include <linux/kernel.h>
+#include <linux/major.h>
+#include <linux/slab.h>
+#include <linux/poll.h>
+#include <linux/signal.h>
+#include <linux/ioport.h>
+#include <linux/sched.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/kmod.h>
+#include <linux/vmalloc.h>
+#include <linux/init.h>
+#include <asm/io.h>
+#include <asm/page.h>
+#include <mach/irqs.h>		
+#include <linux/semaphore.h>		
+#include <plat/map.h>	
+#include <linux/miscdevice.h>
+#include <linux/vmalloc.h>
+#include <linux/string.h>
+#include <linux/mm.h>
+#include <linux/platform_device.h>
+
+#include <linux/version.h>
+#include <plat/regs-clock.h>		
+
+#include <linux/time.h>
+#include <linux/clk.h>
+
+#include "s3c-jpeg.h"
+#include "jpg_mem.h"
+#include "jpg_misc.h"
+#include "jpg_opr.h"
+#include "log_msg.h"
+
+
+static struct clk		*jpeg_hclk;
+static struct clk		*jpeg_sclk;
+static struct clk		*post;
+static struct resource	*jpeg_mem;
+static void __iomem		*jpeg_base;
+static s3c6400_jpg_ctx	JPGMem;
+static int				irq_no;
+static int				instanceNo = 0;
+volatile int			jpg_irq_reason;
+
+DECLARE_WAIT_QUEUE_HEAD(WaitQueue_JPEG);
+
+irqreturn_t s3c_jpeg_irq(int irq, void *dev_id, struct pt_regs *regs)
+{
+	unsigned int	intReason;
+	unsigned int	status;
+
+	status = JPGMem.v_pJPG_REG->JPGStatus;
+	intReason = JPGMem.v_pJPG_REG->JPGIRQStatus;
+
+	if(intReason) {
+		intReason &= ((1<<6)|(1<<4)|(1<<3));
+
+		switch(intReason) {
+			case 0x08 : 
+				jpg_irq_reason = OK_HD_PARSING; 
+				break;
+			case 0x00 : 
+				jpg_irq_reason = ERR_HD_PARSING; 
+				break;
+			case 0x40 : 
+				jpg_irq_reason = OK_ENC_OR_DEC; 
+				break;
+			case 0x10 : 
+				jpg_irq_reason = ERR_ENC_OR_DEC; 
+				break;
+			default : 
+				jpg_irq_reason = ERR_UNKNOWN;
+		}
+		wake_up_interruptible(&WaitQueue_JPEG);
+	}	
+	else {
+		jpg_irq_reason = ERR_UNKNOWN;
+		wake_up_interruptible(&WaitQueue_JPEG);
+	}
+
+	return IRQ_HANDLED;
+}
+
+static int s3c_jpeg_open(struct inode *inode, struct file *file)
+{
+	s3c6400_jpg_ctx *JPGRegCtx;
+	DWORD	ret;
+
+	clk_enable(jpeg_hclk);
+	clk_enable(jpeg_sclk);
+
+	log_msg(LOG_TRACE, "s3c_jpeg_open", "JPG_open \r\n");
+
+	JPGRegCtx = (s3c6400_jpg_ctx *)mem_alloc(sizeof(s3c6400_jpg_ctx));
+	memset(JPGRegCtx, 0x00, sizeof(s3c6400_jpg_ctx));
+
+	ret = lock_jpg_mutex();
+	if(!ret){
+		log_msg(LOG_ERROR, "s3c_jpeg_open", "DD::JPG Mutex Lock Fail\r\n");
+		unlock_jpg_mutex();
+		return FALSE;
+	}
+
+	JPGRegCtx->v_pJPG_REG = JPGMem.v_pJPG_REG;
+	JPGRegCtx->v_pJPGData_Buff = JPGMem.v_pJPGData_Buff;
+
+	if (instanceNo > MAX_INSTANCE_NUM){
+		log_msg(LOG_ERROR, "s3c_jpeg_open", "DD::Instance Number error-JPEG is running, instance number is %d\n", instanceNo);
+		unlock_jpg_mutex();
+		return FALSE;
+	}
+
+	instanceNo++;
+
+	unlock_jpg_mutex();
+
+	file->private_data = (s3c6400_jpg_ctx *)JPGRegCtx;
+
+	return 0;
+}
+
+
+static int s3c_jpeg_release(struct inode *inode, struct file *file)
+{
+	DWORD			ret;
+	s3c6400_jpg_ctx	*JPGRegCtx;
+
+	log_msg(LOG_TRACE, "s3c_jpeg_release", "JPG_Close\n");
+
+	JPGRegCtx = (s3c6400_jpg_ctx *)file->private_data;
+	if(!JPGRegCtx){
+		log_msg(LOG_ERROR, "s3c_jpeg_release", "DD::JPG Invalid Input Handle\r\n");
+		return FALSE;
+	}
+
+	ret = lock_jpg_mutex();
+	if(!ret){
+		log_msg(LOG_ERROR, "s3c_jpeg_release", "DD::JPG Mutex Lock Fail\r\n");
+		return FALSE;
+	}
+
+	//if((--instanceNo) < 0)
+		instanceNo = 0;
+
+	unlock_jpg_mutex();
+
+	clk_disable(jpeg_hclk);
+	clk_disable(jpeg_sclk);
+
+	return 0;
+}
+
+
+static ssize_t s3c_jpeg_write (struct file *file, const char *buf, size_t
+		count, loff_t *pos)
+{
+	return 0;
+}
+
+static ssize_t s3c_jpeg_read(struct file *file, char *buf, size_t count, loff_t *pos)
+{	
+	return 0;
+}
+
+static int s3c_jpeg_ioctl(struct inode *inode, struct file *file, unsigned
+		int cmd, unsigned long arg)
+{
+	static s3c6400_jpg_ctx		*JPGRegCtx;
+	JPG_DEC_PROC_PARAM	DecReturn;
+	JPG_ENC_PROC_PARAM	EncParam;
+	BOOL				result = TRUE;
+	DWORD				ret;
+	int out;
+	
+
+	JPGRegCtx = (s3c6400_jpg_ctx *)file->private_data;
+	if(!JPGRegCtx){
+		log_msg(LOG_ERROR, "s3c_jpeg_ioctl", "DD::JPG Invalid Input Handle\r\n");
+		return FALSE;
+	}
+
+	ret = lock_jpg_mutex();
+	if(!ret){
+		log_msg(LOG_ERROR, "s3c_jpeg_ioctl", "DD::JPG Mutex Lock Fail\r\n");
+		return FALSE;
+	}
+
+	switch (cmd) 
+	{
+		case IOCTL_JPG_DECODE:
+			
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPEG_DECODE\n");
+
+			out = copy_from_user(&DecReturn, (JPG_DEC_PROC_PARAM *)arg, sizeof(JPG_DEC_PROC_PARAM));
+			result = decode_jpg(JPGRegCtx, &DecReturn);
+
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "width : %d hegiht : %d size : %d\n", 
+					DecReturn.width, DecReturn.height, DecReturn.dataSize);
+
+			out = copy_to_user((void *)arg, (void *)&DecReturn, sizeof(JPG_DEC_PROC_PARAM));
+			break;
+
+		case IOCTL_JPG_ENCODE:
+		
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPEG_ENCODE\n");
+
+			out = copy_from_user(&EncParam, (JPG_ENC_PROC_PARAM *)arg, sizeof(JPG_ENC_PROC_PARAM));
+
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "width : %d hegiht : %d\n", 
+					EncParam.width, EncParam.height);
+
+			result = encode_jpg(JPGRegCtx, &EncParam);
+
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "encoded file size : %d\n", EncParam.fileSize);
+
+			out = copy_to_user((void *)arg, (void *)&EncParam,  sizeof(JPG_ENC_PROC_PARAM));
+
+			break;
+
+		case IOCTL_JPG_GET_STRBUF:
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_STRBUF\n");
+			unlock_jpg_mutex();
+			return arg;      
+
+		case IOCTL_JPG_GET_THUMB_STRBUF:
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_THUMB_STRBUF\n");
+			unlock_jpg_mutex();
+			return arg + JPG_STREAM_BUF_SIZE;
+
+		case IOCTL_JPG_GET_FRMBUF:
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_FRMBUF\n");
+			unlock_jpg_mutex();
+			return arg + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE;
+
+		case IOCTL_JPG_GET_THUMB_FRMBUF:
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_THUMB_FRMBUF\n");
+			unlock_jpg_mutex();
+			return arg + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE + JPG_FRAME_BUF_SIZE;
+
+		case IOCTL_JPG_GET_PHY_FRMBUF:
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_PHY_FRMBUF\n");
+			unlock_jpg_mutex();
+			return jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE;
+
+		case IOCTL_JPG_GET_PHY_THUMB_FRMBUF:
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_PHY_THUMB_FRMBUF\n");
+			unlock_jpg_mutex();
+			return jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE + JPG_FRAME_BUF_SIZE;
+
+		default : 
+			log_msg(LOG_ERROR, "s3c_jpeg_ioctl", "DD::JPG Invalid ioctl : 0x%X\r\n", cmd);
+	}
+
+	unlock_jpg_mutex();
+
+	return result;
+}
+
+
+int s3c_jpeg_mmap(struct file *filp, struct vm_area_struct *vma)
+{
+	unsigned long size	= vma->vm_end - vma->vm_start;
+	unsigned long maxSize;
+	unsigned long pageFrameNo;
+
+	pageFrameNo = __phys_to_pfn(jpg_data_base_addr);
+
+	maxSize = JPG_TOTAL_BUF_SIZE + PAGE_SIZE - (JPG_TOTAL_BUF_SIZE % PAGE_SIZE);
+
+	if(size > maxSize) {
+		return -EINVAL;
+	}
+
+	vma->vm_flags |= VM_RESERVED | VM_IO;
+	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+
+	if( remap_pfn_range(vma, vma->vm_start, pageFrameNo, size,	\
+				vma->vm_page_prot) ) {
+		log_msg(LOG_ERROR, "s3c_jpeg_mmap", "jpeg remap error");
+		return -EAGAIN;
+	}
+
+	return 0;
+}
+
+
+static struct file_operations jpeg_fops = {
+owner:		THIS_MODULE,
+			open:		s3c_jpeg_open,
+			release:	s3c_jpeg_release,
+			ioctl:		s3c_jpeg_ioctl,
+			read:		s3c_jpeg_read,
+			write:		s3c_jpeg_write,
+			mmap:		s3c_jpeg_mmap,
+};
+
+
+static struct miscdevice s3c_jpeg_miscdev = {
+minor:		254, 		
+			name:		"s3c-jpg",
+			fops:		&jpeg_fops
+};
+
+static BOOL s3c_jpeg_clock_setup(void)
+{
+	unsigned int	jpg_clk;
+	
+	// JPEG clock was set as 66 MHz
+	jpg_clk = readl(S3C_CLK_DIV0);
+	jpg_clk = (jpg_clk & ~(0xF << 24)) | (3 << 24);
+	__raw_writel(jpg_clk, S3C_CLK_DIV0);
+
+	return TRUE;
+
+}
+
+static int s3c_jpeg_probe(struct platform_device *pdev)
+{
+	struct resource *res;
+	static int		size;
+	static int		ret;
+	HANDLE 			h_Mutex;
+	unsigned int	jpg_clk;
+
+
+	// JPEG clock enable 
+	jpeg_hclk	= clk_get(&pdev->dev, "hclk_jpeg");
+	if (!jpeg_hclk || IS_ERR(jpeg_hclk)) {
+		printk(KERN_ERR "failed to get jpeg hclk source\n");
+		return -ENOENT;
+	}
+	clk_enable(jpeg_hclk);
+
+	jpeg_sclk	= clk_get(&pdev->dev, "sclk_jpeg");
+	if (!jpeg_sclk || IS_ERR(jpeg_sclk)) {
+		printk(KERN_ERR "failed to get jpeg scllk source\n");
+		return -ENOENT;
+	}
+	clk_enable(jpeg_sclk);
+/*
+	post	= clk_get(NULL, "post");
+	if (!post) {
+		printk(KERN_ERR "failed to get post clock source\n");
+		return -ENOENT;
+	}
+	clk_enable(post);
+*/
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (res == NULL) {
+		printk(KERN_INFO "failed to get memory region resouce\n");
+		return -ENOENT;
+	}
+
+	size = (res->end-res->start)+1;
+	jpeg_mem = request_mem_region(res->start, size, pdev->name);
+	if (jpeg_mem == NULL) {
+		printk(KERN_INFO "failed to get memory region\n");
+		return -ENOENT;
+	}
+
+	res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
+	if (res == NULL) {
+		printk(KERN_INFO "failed to get irq resource\n");
+		return -ENOENT;
+	}
+
+	irq_no = res->start;
+	ret = request_irq(res->start, s3c_jpeg_irq, 0, pdev->name, pdev);
+	if (ret != 0) {
+		printk(KERN_INFO "failed to install irq (%d)\n", ret);
+		return ret;
+	}
+
+	jpeg_base = ioremap(res->start, size);
+	if (jpeg_base == 0) {
+		printk(KERN_INFO "failed to ioremap() region\n");
+		return -EINVAL;
+	}
+
+	// JPEG clock was set as 66 MHz
+	if (s3c_jpeg_clock_setup() == FALSE)
+		return -ENODEV;
+	
+	log_msg(LOG_TRACE, "s3c_jpeg_probe", "JPG_Init\n");
+
+	// Mutex initialization
+	h_Mutex = create_jpg_mutex();
+	if (h_Mutex == NULL) 
+	{
+		log_msg(LOG_ERROR, "s3c_jpeg_probe", "DD::JPG Mutex Initialize error\r\n");
+		return FALSE;
+	}
+
+	ret = lock_jpg_mutex();
+	if (!ret){
+		log_msg(LOG_ERROR, "s3c_jpeg_probe", "DD::JPG Mutex Lock Fail\n");
+		return FALSE;
+	}
+
+	// Memory initialization
+	if( !jpeg_mem_mapping(&JPGMem) ){
+		log_msg(LOG_ERROR, "s3c_jpeg_probe", "DD::JPEG-HOST-MEMORY Initialize error\r\n");
+		unlock_jpg_mutex();
+		return FALSE;
+	}
+	else {
+		if (!jpg_buff_mapping(&JPGMem)){
+			log_msg(LOG_ERROR, "s3c_jpeg_probe", "DD::JPEG-DATA-MEMORY Initialize error : %d\n");
+			unlock_jpg_mutex();
+			return FALSE;	
+		}
+	}
+
+	instanceNo = 0;
+
+	unlock_jpg_mutex();
+
+	ret = misc_register(&s3c_jpeg_miscdev);
+
+	clk_disable(jpeg_hclk);
+	clk_disable(jpeg_sclk);
+
+	return 0;
+}
+
+static int s3c_jpeg_remove(struct platform_device *dev)
+{
+	if (jpeg_mem != NULL) {
+		release_resource(jpeg_mem);
+		kfree(jpeg_mem);
+		jpeg_mem = NULL;
+	}
+
+	free_irq(irq_no, dev);
+	misc_deregister(&s3c_jpeg_miscdev);
+	return 0;
+}
+
+
+static struct platform_driver s3c_jpeg_driver = {
+	.probe		= s3c_jpeg_probe,
+	.remove		= s3c_jpeg_remove,
+	.shutdown	= NULL,
+	.suspend	= NULL,
+	.resume		= NULL,
+	.driver		= {
+		.owner		= THIS_MODULE,
+		.name		= "s3c-jpeg",
+	},
+};
+
+static char banner[] __initdata = KERN_INFO "S3C JPEG Driver, (c) 2007 Samsung Electronics\n";
+
+static int __init s3c_jpeg_init(void)
+{
+	printk(banner);
+	return platform_driver_register(&s3c_jpeg_driver);
+}
+
+static void __exit s3c_jpeg_exit(void)
+{
+	DWORD	ret;
+
+	log_msg(LOG_TRACE, "s3c_jpeg_exit", "JPG_Deinit\n");
+
+	ret = lock_jpg_mutex();
+	if(!ret){
+		log_msg(LOG_ERROR, "s3c_jpeg_exit", "DD::JPG Mutex Lock Fail\r\n");
+	}
+
+	jpg_buff_free(&JPGMem);
+	jpg_mem_free(&JPGMem);
+	unlock_jpg_mutex();
+
+	delete_jpg_mutex();	
+
+	platform_driver_unregister(&s3c_jpeg_driver);	
+	printk("S3C JPEG driver module exit\n");
+}
+
+module_init(s3c_jpeg_init);
+module_exit(s3c_jpeg_exit);
+
+MODULE_AUTHOR("Peter, Oh");
+MODULE_DESCRIPTION("S3C JPEG Encoder/Decoder Device Driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg/s3c-jpeg.h linux-2.6.28.6/drivers/media/video/samsung/jpeg/s3c-jpeg.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg/s3c-jpeg.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg/s3c-jpeg.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,28 @@
+/* linux/drivers/media/video/samsung/jpeg/s3c-jpeg.h
+ *
+ * Driver header file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __JPEG_DRIVER_H__
+#define __JPEG_DRIVER_H__
+
+#define MAX_INSTANCE_NUM	1
+
+#define IOCTL_JPG_DECODE				0x00000002
+#define IOCTL_JPG_ENCODE				0x00000003
+#define IOCTL_JPG_GET_STRBUF			0x00000004
+#define IOCTL_JPG_GET_FRMBUF			0x00000005
+#define IOCTL_JPG_GET_THUMB_STRBUF		0x0000000A
+#define IOCTL_JPG_GET_THUMB_FRMBUF		0x0000000B
+#define IOCTL_JPG_GET_PHY_FRMBUF		0x0000000C
+#define IOCTL_JPG_GET_PHY_THUMB_FRMBUF	0x0000000D
+
+
+#endif /*__JPEG_DRIVER_H__*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/Kconfig linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,10 @@
+#
+# Configuration for JPEG
+#
+
+config VIDEO_JPEG_V2
+	bool "Samsung JPEG driver" 
+	depends on VIDEO_SAMSUNG && CPU_S5PC100
+	default n
+	---help---
+	  This is a JPEG for Samsung S5PC100
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/Makefile linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/Makefile
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,10 @@
+#################################################
+# Makefile for JPEG_V2 
+# 2009 (C) Samsung Electronics 
+# Author : Jaeryul peter Oh <jaeryul.oh@samsung.com>
+#################################################
+
+obj-$(CONFIG_VIDEO_JPEG_V2)	+= jpg_mem.o jpg_misc.o jpg_opr.o log_msg.o s3c-jpeg.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_conf.h linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_conf.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_conf.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_conf.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,259 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/jpg-conf.h
+ *
+ * Configuration file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __JPG_CONF_H__
+#define __JPG_CONF_H__
+
+
+const unsigned char qtbl_luminance[4][64] = {
+	// level 1 - high quality
+	{
+		8, 6, 6, 8, 12, 14, 16, 17,
+		6, 6, 6, 8, 10, 13, 12, 15,
+		6, 6, 7, 8, 13, 14, 18, 24,
+		8, 8, 8, 14, 13, 19, 24, 35,
+		12, 10, 13, 13, 20, 26, 34, 39,
+		14, 13, 14, 19, 26, 34, 39, 39,
+		16, 12, 18, 24, 34, 39, 39, 39,
+		17, 15, 24, 35, 39, 39, 39, 39
+	},
+
+	// level 2
+	{
+		12, 8, 8, 12, 17, 21, 24, 23,
+		8, 9, 9, 11, 15, 19, 18, 23,
+		8, 9, 10, 12, 19, 20, 27, 36,
+		12, 11, 12, 21, 20, 28, 36, 53,
+		17, 15, 19, 20, 30, 39, 51, 59,
+		21, 19, 20, 28, 39, 51, 59, 59,
+		24, 18, 27, 36, 51, 59, 59, 59,
+		23, 23, 36, 53, 59, 59, 59, 59
+	},
+
+	// level 3
+	{
+		16, 11, 11, 16, 23, 27, 31, 30,
+		11, 12, 12, 15, 20, 23, 23, 30,
+		11, 12, 13, 16, 23, 26, 35, 47,
+		16, 15, 16, 23, 26, 37, 47, 64,
+		23, 20, 23, 26, 39, 51, 64, 64,
+		27, 23, 26, 37, 51, 64, 64, 64,
+		31, 23, 35, 47, 64, 64, 64, 64,
+		30, 30, 47, 64, 64, 64, 64, 64
+
+	},
+
+	// level 4 - low quality
+	{
+		20, 16, 25, 39, 50, 46, 62, 68,
+		16, 18, 23, 38, 38, 53, 65, 68,
+		25, 23, 31, 38, 53, 65, 68, 68,
+		39, 38, 38, 53, 65, 68, 68, 68,
+		50, 38, 53, 65, 68, 68, 68, 68,
+		46, 53, 65, 68, 68, 68, 68, 68,
+		62, 65, 68, 68, 68, 68, 68, 68,
+		68, 68, 68, 68, 68, 68, 68, 68
+	}
+
+
+};
+
+const unsigned char qtbl_chrominance[4][64] = {
+	// level 1 - high quality
+	{
+		9, 8, 9, 11, 14, 17, 19, 24,
+		8, 10, 9, 11, 14, 13, 17, 22,
+		9, 9, 13, 14, 13, 15, 23, 26,
+		11, 11, 14, 14, 15, 20, 26, 33,
+		14, 14, 13, 15, 20, 24, 33, 39,
+		17, 13, 15, 20, 24, 32, 39, 39,
+		19, 17, 23, 26, 33, 39, 39, 39,
+		24, 22, 26, 33, 39, 39, 39, 39
+	},
+
+	// level 2
+	{
+		13, 11, 13, 16, 20, 20, 29, 37,
+		11, 14, 14, 14, 16, 20, 26, 32,
+		13, 14, 15, 17, 20, 23, 35, 40,
+		16, 14, 17, 21, 23, 30, 40, 50,
+		20, 16, 20, 23, 30, 37, 50, 59,
+		20, 20, 23, 30, 37, 48, 59, 59,
+		29, 26, 35, 40, 50, 59, 59, 59,
+		37, 32, 40, 50, 59, 59, 59, 59
+	},
+
+
+	// level 3
+	{
+		17, 15, 17, 21, 20, 26, 38, 48,
+		15, 19, 18, 17, 20, 26, 35, 43,
+		17, 18, 20, 22, 26, 30, 46, 53,
+		21, 17, 22, 28, 30, 39, 53, 64,
+		20, 20, 26, 30, 39, 48, 64, 64,
+		26, 26, 30, 39, 48, 63, 64, 64,
+		38, 35, 46, 53, 64, 64, 64, 64,
+		48, 43, 53, 64, 64, 64, 64, 64
+
+
+	},
+
+	// level 4 - low quality
+	{
+		21, 25, 32, 38, 54, 68, 68, 68,
+		25, 28, 24, 38, 54, 68, 68, 68,
+		32, 24, 32, 43, 66, 68, 68, 68,
+		38, 38, 43, 53, 68, 68, 68, 68,
+		54, 54, 66, 68, 68, 68, 68, 68,
+		68, 68, 68, 68, 68, 68, 68, 68,
+		68, 68, 68, 68, 68, 68, 68, 68,
+		68, 68, 68, 68, 68, 68, 68, 68
+
+	}
+
+};
+
+const unsigned char qtbl0[64] = {
+	0x10, 0x0B, 0x0A, 0x10, 0x18, 0x28, 0x33, 0x3D,
+	0x0C, 0x0C, 0x0E, 0x13, 0x1A, 0x3A, 0x3C, 0x37,
+	0x0E, 0x0D, 0x10, 0x18, 0x28, 0x39, 0x45, 0x38,
+	0x0E, 0x11, 0x16, 0x1D, 0x33, 0x57, 0x50, 0x3E,
+	0x12, 0x16, 0x25, 0x38, 0x44, 0x6D, 0x67, 0x4D,
+	0x18, 0x23, 0x37, 0x40, 0x51, 0x68, 0x71, 0x5C,
+	0x31, 0x40, 0x4E, 0x57, 0x67, 0x79, 0x78, 0x65,
+	0x48, 0x5C, 0x5F, 0x62, 0x70, 0x64, 0x67, 0x63
+};
+
+//Added Quantization Table
+const unsigned char std_chrominance_quant_tbl_plus[64] = {
+	0x11, 0x12, 0x18, 0x2F, 0x63, 0x63, 0x63, 0x63,
+	0x12, 0x15, 0x1A, 0x42, 0x63, 0x63, 0x63, 0x63,
+	0x18, 0x1A, 0x38, 0x63, 0x63, 0x63, 0x63, 0x63,
+	0x2F, 0x42, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63,
+	0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63,
+	0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63,
+	0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63,
+	0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63, 0x63
+};
+
+//Quantization Table0
+unsigned char std_luminance_quant_tbl[64] = {
+	1,   1,   2,   1,   1,   2,   2,   2,
+	2,   3,   2,   2,   3,   3,   6,   4,
+	3,   3,   3,   3,   7,   5,   8,   4,
+	6,   8,   8,  10,   9,   8,   7,  11,
+	8,  10,  14,  13,  11,  10,  10,  12,
+	10,   8,   8,  11,  16,  12,  12,  13,
+	15,  15,  15,  15,   9,  11,  16,  17,
+	15,  14,  17,  13,  14,  14,  14,   1
+};
+
+//Quantization Table1
+unsigned char std_chrominance_quant_tbl[64] = {
+	4,   4,   4,   5,   4,   5,   9,   5,
+	5,   9,  15,  10,   8,  10,  15,  26,
+	19,   9,   9,  19,  26,  26,  26,  26,
+	13,  26,  26,  26,  26,  26,  26,  26,
+	26,  26,  26,  26,  26,  26,  26,  26,
+	26,  26,  26,  26,  26,  26,  26,  26,
+	26,  26,  26,  26,  26,  26,  26,  26,
+	26,  26,  26,  26,  26,  26,  26,  26
+};
+
+//Huffman Table
+unsigned char hdctbl0[16]  = {0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0};
+unsigned char hdctblg0[12] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0xa, 0xb};
+
+unsigned char hactbl0[16] = {0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 0x7d};
+const unsigned char hactblg0[162] = {
+	0x01, 0x02, 0x03, 0x00, 0x04, 0x11, 0x05, 0x12,
+	0x21, 0x31, 0x41, 0x06, 0x13, 0x51, 0x61, 0x07,
+	0x22, 0x71, 0x14, 0x32, 0x81, 0x91, 0xa1, 0x08,
+	0x23, 0x42, 0xb1, 0xc1, 0x15, 0x52, 0xd1, 0xf0,
+	0x24, 0x33, 0x62, 0x72, 0x82, 0x09, 0x0a, 0x16,
+	0x17, 0x18, 0x19, 0x1a, 0x25, 0x26, 0x27, 0x28,
+	0x29, 0x2a, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
+	0x3a, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49,
+	0x4a, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59,
+	0x5a, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69,
+	0x6a, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79,
+	0x7a, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89,
+	0x8a, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98,
+	0x99, 0x9a, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
+	0xa8, 0xa9, 0xaa, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6,
+	0xb7, 0xb8, 0xb9, 0xba, 0xc2, 0xc3, 0xc4, 0xc5,
+	0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xd2, 0xd3, 0xd4,
+	0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xe1, 0xe2,
+	0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea,
+	0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8,
+	0xf9, 0xfa
+};
+
+//Huffman Table0
+unsigned char len_dc_luminance[16] = { 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 };
+unsigned char val_dc_luminance[12] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 };
+
+unsigned char len_ac_luminance[16] = { 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 0x7d };
+unsigned char val_ac_luminance[162] = {
+	0x01, 0x02, 0x03, 0x00, 0x04, 0x11, 0x05, 0x12,
+	0x21, 0x31, 0x41, 0x06, 0x13, 0x51, 0x61, 0x07,
+	0x22, 0x71, 0x14, 0x32, 0x81, 0x91, 0xa1, 0x08,
+	0x23, 0x42, 0xb1, 0xc1, 0x15, 0x52, 0xd1, 0xf0,
+	0x24, 0x33, 0x62, 0x72, 0x82, 0x09, 0x0a, 0x16,
+	0x17, 0x18, 0x19, 0x1a, 0x25, 0x26, 0x27, 0x28,
+	0x29, 0x2a, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
+	0x3a, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49,
+	0x4a, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59,
+	0x5a, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69,
+	0x6a, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79,
+	0x7a, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89,
+	0x8a, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98,
+	0x99, 0x9a, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
+	0xa8, 0xa9, 0xaa, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6,
+	0xb7, 0xb8, 0xb9, 0xba, 0xc2, 0xc3, 0xc4, 0xc5,
+	0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xd2, 0xd3, 0xd4,
+	0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xe1, 0xe2,
+	0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea,
+	0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8,
+	0xf9, 0xfa
+};
+
+//Huffman Table1
+unsigned char len_dc_chrominance[16] = { 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 };
+unsigned char val_dc_chrominance[12] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 };
+
+unsigned char len_ac_chrominance[16] = { 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 0x77 };
+unsigned char val_ac_chrominance[162] = {
+	0x00, 0x01, 0x02, 0x03, 0x11, 0x04, 0x05, 0x21,
+	0x31, 0x06, 0x12, 0x41, 0x51, 0x07, 0x61, 0x71,
+	0x13, 0x22, 0x32, 0x81, 0x81, 0x08, 0x14, 0x42,
+	0x91, 0xa1, 0xb1, 0xc1, 0x09, 0x23, 0x33, 0x52,
+	0xf0, 0x15, 0x62, 0x72, 0xd1, 0x0a, 0x16, 0x24,
+	0x34, 0xe1, 0x25, 0xf1, 0x17, 0x18, 0x19, 0x1a,
+	0x26, 0x27, 0x28, 0x29, 0x2a, 0x35, 0x36, 0x37,
+	0x38, 0x39, 0x3a, 0x43, 0x44, 0x45, 0x46, 0x47,
+	0x48, 0x49, 0x4a, 0x53, 0x54, 0x55, 0x56, 0x57,
+	0x58, 0x59, 0x5a, 0x63, 0x64, 0x65, 0x66, 0x67,
+	0x68, 0x69, 0x6a, 0x73, 0x74, 0x75, 0x76, 0x77,
+	0x78, 0x79, 0x7a, 0x82, 0x83, 0x84, 0x85, 0x86,
+	0x87, 0x88, 0x89, 0x8a, 0x92, 0x93, 0x94, 0x95,
+	0x96, 0x97, 0x98, 0x99, 0x9a, 0xa2, 0xa3, 0xa4,
+	0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xb2, 0xb3,
+	0xb4, 0xb5, 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xc2,
+	0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca,
+	0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9,
+	0xda, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8,
+	0xe9, 0xea, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
+	0xf8, 0xf9
+};
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_mem.c linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_mem.c
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_mem.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_mem.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,63 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/jpg_mem.c
+ *
+ * Driver file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <asm/io.h>
+#include <linux/string.h>
+#include <linux/kernel.h>
+#include <linux/slab.h>
+#include <asm/uaccess.h>
+#include <linux/types.h>
+
+#include "jpg_mem.h"
+#include "jpg_misc.h"
+#include "log_msg.h"
+
+
+/*----------------------------------------------------------------------------
+*Function: phy_to_vir_addr
+
+*Parameters: 		dwContext		:
+*Return Value:		True/False
+*Implementation Notes: memory mapping from physical addr to virtual addr
+-----------------------------------------------------------------------------*/
+void *phy_to_vir_addr(UINT32 phy_addr, int mem_size)
+{
+	void	*reserved_mem;
+
+	reserved_mem = (void *)ioremap((unsigned long)phy_addr, (int)mem_size);
+
+	if (reserved_mem == NULL) {
+		log_msg(LOG_ERROR, "phy_to_vir_addr", "DD::Phyical to virtual memory mapping was failed!\r\n");
+		return NULL;
+	}
+
+	return reserved_mem;
+}
+
+void *mem_move(void *dst, const void *src, unsigned int size)
+{
+	return memmove(dst, src, size);
+}
+
+void *mem_alloc(unsigned int size)
+{
+	void	*alloc_mem;
+
+	alloc_mem = (void *)kmalloc((int)size, GFP_KERNEL);
+
+	if (alloc_mem == NULL) {
+		log_msg(LOG_ERROR, "Mem_Alloc", "memory allocation failed!\r\n");
+		return NULL;
+	}
+
+	return alloc_mem;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_mem.h linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_mem.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_mem.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_mem.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,105 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/jpg_mem.h
+ *
+ * Driver header file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __JPG_MEM_H__
+#define __JPG_MEM_H__
+
+#include "jpg_misc.h"
+
+#include <linux/version.h>
+#include <plat/media.h>
+
+#define JPG_REG_BASE_ADDR    	(0xEE500000)
+#define jpg_data_base_addr	(UINT32)s3c_get_media_memory(S3C_MDEV_JPEG)
+
+#define MAX_JPG_WIDTH        3072//3264
+#define MAX_JPG_HEIGHT       2048//2448
+
+#define MAX_JPG_THUMBNAIL_WIDTH	 320
+#define MAX_JPG_THUMBNAIL_HEIGHT 240
+
+#define MAX_RGB_WIDTH        800
+#define MAX_RGB_HEIGHT       480
+      
+/*******************************************************************************/
+// define JPG & image memory 
+// memory area is 4k(PAGE_SIZE) aligned because of VirtualCopyEx()
+#define JPG_STREAM_BUF_SIZE        ((MAX_JPG_WIDTH * MAX_JPG_HEIGHT )/PAGE_SIZE + 1)*PAGE_SIZE
+#define JPG_STREAM_THUMB_BUF_SIZE  ((MAX_JPG_THUMBNAIL_WIDTH * MAX_JPG_THUMBNAIL_HEIGHT )/PAGE_SIZE + 1)*PAGE_SIZE
+#define JPG_FRAME_BUF_SIZE         ((MAX_JPG_WIDTH * MAX_JPG_HEIGHT * 3)/PAGE_SIZE + 1)*PAGE_SIZE
+#define JPG_FRAME_THUMB_BUF_SIZE   ((MAX_JPG_THUMBNAIL_WIDTH * MAX_JPG_THUMBNAIL_HEIGHT * 3)/PAGE_SIZE + 1)*PAGE_SIZE
+#define JPG_RGB_BUF_SIZE           ((MAX_RGB_WIDTH * MAX_RGB_HEIGHT*4)/PAGE_SIZE + 1)*PAGE_SIZE
+
+#define JPG_TOTAL_BUF_SIZE			(JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE \
+			      + JPG_FRAME_BUF_SIZE + JPG_FRAME_THUMB_BUF_SIZE + JPG_RGB_BUF_SIZE)
+
+#define JPG_MAIN_STRART		0x00
+#define JPG_THUMB_START		JPG_STREAM_BUF_SIZE
+#define IMG_MAIN_START		(JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE)
+#define IMG_THUMB_START		(JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE + JPG_FRAME_BUF_SIZE)
+
+/*******************************************************************************/
+#define COEF1_RGB_2_YUV         0x4d971e
+#define COEF2_RGB_2_YUV         0x2c5783
+#define COEF3_RGB_2_YUV         0x836e13
+
+/*
+ * JPEG HW Register Macro Definition
+ */
+#define JPG_1BIT_MASK           1
+#define JPG_4BIT_MASK           0xF
+
+#define JPG_SMPL_MODE_MASK	0x07	// SubSampling_Mode Mask is JPGMOD Register [2:0] bits mask
+
+#define JPG_RESTART_INTRAVEL    2	// Restart Interval value in JPGDRI Register is 2
+
+//#define JPG_JPEG_RATIO_BIT      24	// JPEG_RATIO is CLK_DIV0 Register 24th bit
+#define JPG_HCLK_JPEG_BIT       5	// HCLK_JPEG is CLK_GATE_D1_1 Register 5th bit
+#define JPG_SMPL_MODE_BIT       0	// SubSampling_Mode is JPGMOD Register 0th bit
+#define JPG_QUANT_TABLE1_BIT    8	// Quantization Table #1 is JPGQHNO Register 8th bit
+#define JPG_QUANT_TABLE2_BIT    10	// Quantization Table #2 is JPGQHNO Register 10th bit
+#define JPG_QUANT_TABLE3_BIT    12	// Quantization Table #3 is JPGQHNO Register 12th bit
+#define JPG_MODE_SEL_BIT        5	// Mode Sel is JPGCMOD Register 5th bit
+
+#define JPG_DECODE              (0x1 << 3)
+#define JPG_ENCODE              (0x0 << 3)
+
+#define JPG_RESERVE_ZERO        (0b000 << 2)
+
+#define ENABLE_MOTION_ENC       (0x1<<3)
+#define DISABLE_MOTION_ENC      (0x0<<3)
+
+#define ENABLE_MOTION_DEC       (0x1<<0)
+#define DISABLE_MOTION_DEC      (0x0<<0)
+
+#define ENABLE_HW_DEC           (0x1<<2)
+#define DISABLE_HW_DEC          (0x0<<2)
+
+#define INCREMENTAL_DEC         (0x1<<3)
+#define NORMAL_DEC              (0x0<<3)
+#define YCBCR_MEMORY			(0x1<<5)
+
+#define	ENABLE_IRQ				(0xf<<3)
+
+typedef struct __s5pc100_jpg_ctx {
+	volatile UINT32                  jpg_data_addr;
+	volatile UINT32                  img_data_addr;
+	volatile UINT32                  jpg_thumb_data_addr;
+	volatile UINT32                  img_thumb_data_addr;
+	int                          caller_process;
+} sspc100_jpg_ctx;
+
+void *phy_to_vir_addr(UINT32 phy_addr, int mem_size);
+void *mem_move(void *dst, const void *src, unsigned int size);
+void *mem_alloc(unsigned int size);
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_misc.c linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_misc.c
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_misc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_misc.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,96 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/jpg_misc.c
+ *
+ * Driver file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <stdarg.h>
+#include <linux/kernel.h>
+#include <linux/mutex.h>
+#include <linux/slab.h>
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+
+#include <linux/version.h>
+#include <plat/regs-lcd.h>
+
+#include <asm/io.h>
+#include <linux/interrupt.h>
+#include <linux/wait.h>
+
+#include "jpg_misc.h"
+#include "jpg_mem.h"
+
+static HANDLE h_mutex	= NULL;
+
+/*----------------------------------------------------------------------------
+*Function: create_jpg_mutex
+*Implementation Notes: Create Mutex handle
+-----------------------------------------------------------------------------*/
+HANDLE create_jpg_mutex(void)
+{
+	h_mutex = (HANDLE)kmalloc(sizeof(struct mutex), GFP_KERNEL);
+
+	if (h_mutex == NULL)
+		return NULL;
+
+	mutex_init(h_mutex);
+
+	return h_mutex;
+}
+
+/*----------------------------------------------------------------------------
+*Function: lock_jpg_mutex
+*Implementation Notes: lock mutex
+-----------------------------------------------------------------------------*/
+DWORD lock_jpg_mutex(void)
+{
+	mutex_lock(h_mutex);
+	return 1;
+}
+
+/*----------------------------------------------------------------------------
+*Function: unlock_jpg_mutex
+*Implementation Notes: unlock mutex
+-----------------------------------------------------------------------------*/
+DWORD unlock_jpg_mutex(void)
+{
+	mutex_unlock(h_mutex);
+
+	return 1;
+}
+
+/*----------------------------------------------------------------------------
+*Function: delete_jpg_mutex
+*Implementation Notes: delete mutex handle
+-----------------------------------------------------------------------------*/
+void delete_jpg_mutex(void)
+{
+	if (h_mutex == NULL)
+		return;
+
+	mutex_destroy(h_mutex);
+}
+
+unsigned int get_fb0_addr(void)
+{
+	return readl(S3C_VIDW00ADD0B0);
+}
+
+void get_lcd_size(int *width, int *height)
+{
+	unsigned int	tmp;
+
+	tmp		= readl(S3C_VIDTCON2);
+	*height	= ((tmp >> 11) & 0x7FF) + 1;
+	*width	= (tmp & 0x7FF) + 1;
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_misc.h linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_misc.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_misc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_misc.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,36 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/jpg_misc.h
+ *
+ * Driver header file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __JPG_MISC_H__
+#define __JPG_MISC_H__
+
+#include <linux/types.h>
+
+typedef	unsigned char	UCHAR;
+typedef unsigned long	ULONG;
+typedef	unsigned int	UINT;
+typedef struct mutex *	HANDLE;
+typedef unsigned long	DWORD;
+typedef unsigned int	UINT32;
+typedef unsigned char	UINT8;
+typedef enum {FALSE, TRUE} BOOL;
+
+#define INT_TIMEOUT			1000
+
+HANDLE create_jpg_mutex(void);
+DWORD lock_jpg_mutex(void);
+DWORD unlock_jpg_mutex(void);
+void delete_jpg_mutex(void);
+unsigned int get_fb0_addr(void);
+void get_lcd_size(int *width, int *height);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_opr.c linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_opr.c
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_opr.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_opr.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,346 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/jpg_opr.c
+ *
+ * Driver file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#include <linux/delay.h>
+#include <asm/io.h>
+
+#include "jpg_mem.h"
+#include "jpg_misc.h"
+#include "jpg_opr.h"
+#include "jpg_conf.h"
+#include "log_msg.h"
+
+#include "regs-jpeg.h"
+
+extern void __iomem		*s3c_jpeg_base;
+extern int			jpg_irq_reason;
+
+enum {
+	UNKNOWN,
+	BASELINE = 0xC0,
+	EXTENDED_SEQ = 0xC1,
+	PROGRESSIVE = 0xC2
+} jpg_sof_marker;
+
+/*----------------------------------------------------------------------------
+*Function: wait_for_interrupt
+
+*Parameters:	void
+*Return Value:
+*Implementation Notes:
+-----------------------------------------------------------------------------*/
+jpg_return_status wait_for_interrupt(void)
+{
+	if (interruptible_sleep_on_timeout(&wait_queue_jpeg, INT_TIMEOUT) == 0) {
+		log_msg(LOG_ERROR, "s3c_jpeg_ioctl", "Waiting for interrupt is timeout\n");
+	}
+
+	return jpg_irq_reason;
+}
+/*----------------------------------------------------------------------------
+*Function: decode_jpg
+
+*Parameters:	jpg_ctx:
+				input_buff:
+				input_size:
+				output_buff:
+				output_size
+*Return Value:
+*Implementation Notes:
+-----------------------------------------------------------------------------*/
+jpg_return_status decode_jpg(sspc100_jpg_ctx *jpg_ctx,
+			     jpg_dec_proc_param *dec_param)
+{
+	volatile int		ret;
+	sample_mode_t sample_mode;
+	UINT32	width, height;
+	log_msg(LOG_TRACE, "decode_jpg", "decode_jpg function\n");
+
+	if (jpg_ctx)
+		reset_jpg(jpg_ctx);
+	else {
+		log_msg(LOG_ERROR, "\ndecode_jpg", "DD::JPG CTX is NULL\n");
+		return JPG_FAIL;
+	}
+
+	////////////////////////////////////////
+	// Header Parsing				      //
+	////////////////////////////////////////
+
+	decode_header(jpg_ctx, dec_param);
+	ret = wait_for_interrupt();
+
+	if (ret != OK_HD_PARSING) {
+		log_msg(LOG_ERROR, "\ndecode_jpg", "DD::JPG Header Parsing Error(%d)\r\n", ret);
+		return JPG_FAIL;
+	}
+
+	sample_mode = get_sample_type(jpg_ctx);
+	log_msg(LOG_TRACE, "decode_jpg", "sample_mode : %d\n", sample_mode);
+
+	if (sample_mode == JPG_SAMPLE_UNKNOWN) {
+		log_msg(LOG_ERROR, "decode_jpg", "DD::JPG has invalid sample_mode\r\n");
+		return JPG_FAIL;
+	}
+
+	dec_param->sample_mode = sample_mode;
+
+	get_xy(jpg_ctx, &width, &height);
+	log_msg(LOG_TRACE, "decode_jpg", "DD:: width : %d height : %d\n", width, height);
+
+	if (width <= 0 || width > MAX_JPG_WIDTH || height <= 0 || height > MAX_JPG_HEIGHT) {
+		log_msg(LOG_ERROR, "decode_jpg", "DD::JPG has invalid width(%d)/height(%d)\n",width, height);
+		return JPG_FAIL;
+	}
+
+	////////////////////////////////////////
+	// Body Decoding									   //
+	////////////////////////////////////////
+
+	decode_body(jpg_ctx);
+
+	ret = wait_for_interrupt();
+
+	if (ret != OK_ENC_OR_DEC) {
+		log_msg(LOG_ERROR, "decode_jpg", "DD::JPG Body Decoding Error(%d)\n", ret);
+		return JPG_FAIL;
+	}
+
+	dec_param->data_size = get_yuv_size(dec_param->out_format, width, height);
+	dec_param->width = width;
+	dec_param->height = height;
+
+	return JPG_SUCCESS;
+}
+
+/*----------------------------------------------------------------------------
+*Function: reset_jpg
+
+*Parameters:	jpg_ctx:
+*Return Value:
+*Implementation Notes:
+-----------------------------------------------------------------------------*/
+void reset_jpg(sspc100_jpg_ctx *jpg_ctx)
+{
+	log_msg(LOG_TRACE, "reset_jpg", "s3c_jpeg_base 0x%08x \n", s3c_jpeg_base);
+	__raw_writel(S3C_JPEG_SW_RESET_REG_ENABLE, s3c_jpeg_base + S3C_JPEG_SW_RESET_REG);
+
+	do {
+		__raw_writel(S3C_JPEG_SW_RESET_REG_ENABLE, s3c_jpeg_base + S3C_JPEG_SW_RESET_REG);
+	} while (((readl(s3c_jpeg_base + S3C_JPEG_SW_RESET_REG)) & S3C_JPEG_SW_RESET_REG_ENABLE) == S3C_JPEG_SW_RESET_REG_ENABLE);
+}
+
+/*----------------------------------------------------------------------------
+*Function: decode_header
+
+*Parameters:	jpg_ctx:
+*Return Value:
+*Implementation Notes:
+-----------------------------------------------------------------------------*/
+void decode_header(sspc100_jpg_ctx *jpg_ctx, jpg_dec_proc_param *dec_param)
+{
+	log_msg(LOG_TRACE, "decode_header", "decode_header function\n");
+	__raw_writel(jpg_ctx->jpg_data_addr, s3c_jpeg_base + S3C_JPEG_JPGADR_REG);
+
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_MOD_REG) | (S3C_JPEG_MOD_REG_PROC_DEC), s3c_jpeg_base + S3C_JPEG_MOD_REG);	//decoding mode
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_CMOD_REG) & (~S3C_JPEG_CMOD_REG_MOD_HALF_EN_HALF), s3c_jpeg_base + S3C_JPEG_CMOD_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_CLKCON_REG) | (S3C_JPEG_CLKCON_REG_POWER_ON_ACTIVATE), s3c_jpeg_base + S3C_JPEG_CLKCON_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_INTSE_REG) & ~(0x7f << 0), s3c_jpeg_base + S3C_JPEG_INTSE_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_INTSE_REG) | (S3C_JPEG_INTSE_REG_ERR_INT_EN	| S3C_JPEG_INTSE_REG_HEAD_INT_EN_ENABLE | S3C_JPEG_INTSE_REG_INT_EN), s3c_jpeg_base + S3C_JPEG_INTSE_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_OUTFORM_REG) & ~(S3C_JPEG_OUTFORM_REG_YCBCY420), s3c_jpeg_base + S3C_JPEG_OUTFORM_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_OUTFORM_REG) | (dec_param->out_format << 0), s3c_jpeg_base + S3C_JPEG_OUTFORM_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_DEC_STREAM_SIZE_REG) & ~(S3C_JPEG_DEC_STREAM_SIZE_REG_PROHIBIT), s3c_jpeg_base + S3C_JPEG_DEC_STREAM_SIZE_REG);
+	//__raw_writel(dec_param->file_size, s3c_jpeg_base + S3C_JPEG_DEC_STREAM_SIZE_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_JSTART_REG) | S3C_JPEG_JSTART_REG_ENABLE, s3c_jpeg_base + S3C_JPEG_JSTART_REG);
+}
+
+/*----------------------------------------------------------------------------
+*Function: decode_body
+
+*Parameters:	jpg_ctx:
+*Return Value:
+*Implementation Notes:
+-----------------------------------------------------------------------------*/
+void decode_body(sspc100_jpg_ctx *jpg_ctx)
+{
+	log_msg(LOG_TRACE, "decode_body", "decode_body function\n");
+	__raw_writel(jpg_ctx->img_data_addr, s3c_jpeg_base + S3C_JPEG_IMGADR_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_JRSTART_REG) | S3C_JPEG_JRSTART_REG_ENABLE, s3c_jpeg_base + S3C_JPEG_JRSTART_REG);
+}
+
+/*----------------------------------------------------------------------------
+*Function:	get_sample_type
+
+*Parameters:	jpg_ctx:
+*Return Value:
+*Implementation Notes:
+-----------------------------------------------------------------------------*/
+sample_mode_t get_sample_type(sspc100_jpg_ctx *jpg_ctx)
+{
+	ULONG		jpgMode;
+	sample_mode_t   sample_mode = JPG_SAMPLE_UNKNOWN;
+
+	jpgMode = __raw_readl(s3c_jpeg_base + S3C_JPEG_MOD_REG);
+
+	sample_mode =
+		((jpgMode & JPG_SMPL_MODE_MASK) == JPG_444) ? JPG_444 :
+		((jpgMode & JPG_SMPL_MODE_MASK) == JPG_422) ? JPG_422 :
+		((jpgMode & JPG_SMPL_MODE_MASK) == JPG_420) ? JPG_420 :
+		((jpgMode & JPG_SMPL_MODE_MASK) == JPG_400) ? JPG_400 :
+		((jpgMode & JPG_SMPL_MODE_MASK) == JPG_411) ? JPG_411 : JPG_SAMPLE_UNKNOWN;
+
+	return(sample_mode);
+}
+
+/*----------------------------------------------------------------------------
+*Function:	get_xy
+
+*Parameters:	jpg_ctx:
+				x:
+				y:
+*Return Value:
+*Implementation Notes:
+-----------------------------------------------------------------------------*/
+void get_xy(sspc100_jpg_ctx *jpg_ctx, UINT32 *x, UINT32 *y)
+{
+	*x = __raw_readl(s3c_jpeg_base + S3C_JPEG_X_REG);
+	*y = __raw_readl(s3c_jpeg_base + S3C_JPEG_Y_REG);
+}
+
+/*----------------------------------------------------------------------------
+*Function: get_yuv_size
+
+*Parameters:	sample_mode:
+				width:
+				height:
+*Return Value:
+*Implementation Notes:
+-----------------------------------------------------------------------------*/
+UINT32 get_yuv_size(out_mode_t out_format, UINT32 width, UINT32 height)
+{
+	switch (out_format) {
+	case YCBCR_422 :
+
+		if (width % 16 != 0)
+			width += 16 - (width % 16);
+
+		if (height % 8 != 0)
+			height += 8 - (height % 8);
+
+		break;
+
+	case YCBCR_420 :
+
+		if (width % 16 != 0)
+			width += 16 - (width % 16);
+
+		if (height % 16 != 0)
+			height += 16 - (height % 16);
+
+		break;
+
+	case YCBCR_SAMPLE_UNKNOWN:
+		break;
+	}
+
+	log_msg(LOG_TRACE, "get_yuv_size", " width(%d) height(%d)\n", width, height);
+
+	switch (out_format) {
+	case YCBCR_422 :
+		return(width*height*2);
+	case YCBCR_420 :
+		return((width*height) + (width*height >> 1));
+	default :
+		return(0);
+	}
+}
+
+/*----------------------------------------------------------------------------
+*Function: reset_jpg
+
+*Parameters:	jpg_ctx:
+*Return Value:
+*Implementation Notes:
+-----------------------------------------------------------------------------*/
+jpg_return_status encode_jpg(sspc100_jpg_ctx *jpg_ctx,
+			     jpg_enc_proc_param	*enc_param)
+{
+
+	UINT	i, ret;
+	UINT32	cmd_val;
+
+	if (enc_param->width <= 0 || enc_param->width > MAX_JPG_WIDTH
+	    || enc_param->height <= 0 || enc_param->height > MAX_JPG_HEIGHT) {
+		log_msg(LOG_ERROR, "encode_jpg", "DD::Encoder : width: %d, height: %d \n", enc_param->width, enc_param->height);
+		log_msg(LOG_ERROR, "encode_jpg", "DD::Encoder : Invalid width/height \n");
+		return JPG_FAIL;
+	}
+
+	reset_jpg(jpg_ctx);
+	cmd_val = (enc_param->sample_mode == JPG_422) ? (S3C_JPEG_MOD_REG_SUBSAMPLE_422) : (S3C_JPEG_MOD_REG_SUBSAMPLE_420);
+	__raw_writel(cmd_val, s3c_jpeg_base + S3C_JPEG_MOD_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_CMOD_REG)& (~S3C_JPEG_CMOD_REG_MOD_HALF_EN_HALF), s3c_jpeg_base + S3C_JPEG_CMOD_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_CLKCON_REG) | (S3C_JPEG_CLKCON_REG_POWER_ON_ACTIVATE), s3c_jpeg_base + S3C_JPEG_CLKCON_REG);
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_CMOD_REG) | (enc_param->in_format << JPG_MODE_SEL_BIT), s3c_jpeg_base + S3C_JPEG_CMOD_REG);
+	__raw_writel(JPG_RESTART_INTRAVEL, s3c_jpeg_base + S3C_JPEG_DRI_REG);
+	__raw_writel(enc_param->width, s3c_jpeg_base + S3C_JPEG_X_REG);
+	__raw_writel(enc_param->height, s3c_jpeg_base + S3C_JPEG_Y_REG);
+
+	log_msg(LOG_TRACE, "encode_jpg", "enc_param->enc_type : %d\n", enc_param->enc_type);
+
+	if (enc_param->enc_type == JPG_MAIN) {
+		log_msg(LOG_TRACE, "encode_jpg", "encode image size width: %d, height: %d\n", enc_param->width, enc_param->height);
+		__raw_writel(jpg_ctx->img_data_addr, s3c_jpeg_base + S3C_JPEG_IMGADR_REG);
+		__raw_writel(jpg_ctx->jpg_data_addr, s3c_jpeg_base + S3C_JPEG_JPGADR_REG);
+	} else { // thumbnail encoding
+		log_msg(LOG_TRACE, "encode_jpg", "thumb image size width: %d, height: %d\n", enc_param->width, enc_param->height);
+		__raw_writel(jpg_ctx->img_thumb_data_addr, s3c_jpeg_base + S3C_JPEG_IMGADR_REG);
+		__raw_writel(jpg_ctx->jpg_thumb_data_addr, s3c_jpeg_base + S3C_JPEG_JPGADR_REG);
+	}
+
+	__raw_writel(COEF1_RGB_2_YUV, s3c_jpeg_base + S3C_JPEG_COEF1_REG); 	// Coefficient value 1 for RGB to YCbCr
+	__raw_writel(COEF2_RGB_2_YUV, s3c_jpeg_base + S3C_JPEG_COEF2_REG); 	// Coefficient value 2 for RGB to YCbCr
+	__raw_writel(COEF3_RGB_2_YUV, s3c_jpeg_base + S3C_JPEG_COEF3_REG);	// Coefficient value 3 for RGB to YCbCr
+
+	// Quantiazation and Huffman Table setting
+	for (i = 0; i < 64; i++)
+		__raw_writel((UINT32)qtbl_luminance[enc_param->quality][i], s3c_jpeg_base + S3C_JPEG_QTBL0_REG + (i*0x04));
+
+	for (i = 0; i < 64; i++)
+		__raw_writel((UINT32)qtbl_chrominance[enc_param->quality][i], s3c_jpeg_base + S3C_JPEG_QTBL1_REG + (i*0x04));
+
+	for (i = 0; i < 16; i++)
+		__raw_writel((UINT32)hdctbl0[i], s3c_jpeg_base + S3C_JPEG_HDCTBL0_REG + (i*0x04));
+
+	for (i = 0; i < 12; i++)
+		__raw_writel((UINT32)hdctblg0[i], s3c_jpeg_base + S3C_JPEG_HDCTBLG0_REG + (i*0x04));
+
+	for (i = 0; i < 16; i++)
+		__raw_writel((UINT32)hactbl0[i], s3c_jpeg_base + S3C_JPEG_HACTBL0_REG + (i*0x04));
+
+	for (i = 0; i < 162; i++)
+		__raw_writel((UINT32)hactblg0[i], s3c_jpeg_base + S3C_JPEG_HACTBLG0_REG + (i*0x04));
+
+	__raw_writel(S3C_JPEG_QHTBL_REG_QT_NUM2 | S3C_JPEG_QHTBL_REG_QT_NUM3, s3c_jpeg_base + S3C_JPEG_QHTBL_REG);
+
+	__raw_writel(__raw_readl(s3c_jpeg_base + S3C_JPEG_JSTART_REG) | S3C_JPEG_JSTART_REG_ENABLE, s3c_jpeg_base + S3C_JPEG_JSTART_REG);
+	ret = wait_for_interrupt();
+
+	if (ret != OK_ENC_OR_DEC) {
+		log_msg(LOG_ERROR, "encode_jpg", "DD::JPG Encoding Error(%d)\n", ret);
+		return JPG_FAIL;
+	}
+
+	enc_param->file_size = __raw_readl(s3c_jpeg_base + S3C_JPEG_CNT_REG);
+	log_msg(LOG_TRACE, "encode_jpg", "encoded file size : %d\n", enc_param->file_size);
+	return JPG_SUCCESS;
+
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_opr.h linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_opr.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/jpg_opr.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/jpg_opr.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,122 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/jpg_opr.h
+ *
+ * Driver header file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __JPG_OPR_H__
+#define __JPG_OPR_H__
+
+#include <linux/interrupt.h>
+
+extern wait_queue_head_t wait_queue_jpeg;
+
+typedef enum {
+	JPG_FAIL,
+	JPG_SUCCESS,
+	OK_HD_PARSING,
+	ERR_HD_PARSING,
+	OK_ENC_OR_DEC,
+	ERR_ENC_OR_DEC,
+	ERR_UNKNOWN
+} jpg_return_status;
+
+typedef enum {
+	JPG_RGB16,
+	JPG_YCBYCR,
+	JPG_TYPE_UNKNOWN
+} image_type_t;
+
+typedef enum {
+	JPG_444,
+	JPG_422,
+	JPG_420,
+	JPG_400,
+	RESERVED1,
+	RESERVED2,
+	JPG_411,
+	JPG_SAMPLE_UNKNOWN
+} sample_mode_t;
+
+typedef enum {
+	YCBCR_422,
+	YCBCR_420,
+	YCBCR_SAMPLE_UNKNOWN
+} out_mode_t;
+
+typedef enum {
+	JPG_MODESEL_YCBCR = 1,
+	JPG_MODESEL_RGB,
+	JPG_MODESEL_UNKNOWN
+} in_mode_t;
+
+typedef enum {
+	JPG_MAIN,
+	JPG_THUMBNAIL
+} encode_type_t;
+
+typedef enum {
+	JPG_QUALITY_LEVEL_1 = 0, /*high quality*/
+	JPG_QUALITY_LEVEL_2,
+	JPG_QUALITY_LEVEL_3,
+	JPG_QUALITY_LEVEL_4     /*low quality*/
+} image_quality_type_t;
+
+typedef struct {
+	sample_mode_t		sample_mode;
+	encode_type_t		dec_type;
+	out_mode_t       	out_format;
+	UINT32			width;
+	UINT32			height;
+	UINT32			data_size;
+	UINT32			file_size;
+} jpg_dec_proc_param;
+
+typedef struct {
+	sample_mode_t		sample_mode;
+	encode_type_t		enc_type;
+	in_mode_t      		in_format;
+	image_quality_type_t 	quality;
+	UINT32			width;
+	UINT32			height;
+	UINT32			data_size;
+	UINT32			file_size;
+} jpg_enc_proc_param;
+
+typedef struct {
+	char			*in_buf;
+	char			*phy_in_buf;
+	int			in_buf_size;
+	char			*out_buf;
+	char    		*phy_out_buf;
+	int			out_buf_size;
+	char			*in_thumb_buf;
+	char			*phy_in_thumb_buf;
+	int			in_thumb_buf_size;
+	char			*out_thumb_buf;
+	char			*phy_out_thumb_buf;
+	int			out_thumb_buf_size;
+	char			*mapped_addr;
+	jpg_dec_proc_param	*dec_param;
+	jpg_enc_proc_param	*enc_param;
+	jpg_enc_proc_param	*thumb_enc_param;
+} jpg_args;
+
+
+jpg_return_status decode_jpg(sspc100_jpg_ctx *jpg_ctx, jpg_dec_proc_param *dec_param);
+void reset_jpg(sspc100_jpg_ctx *jpg_ctx);
+void decode_header(sspc100_jpg_ctx *jpg_ctx, jpg_dec_proc_param *dec_param);
+void decode_body(sspc100_jpg_ctx *jpg_ctx);
+sample_mode_t get_sample_type(sspc100_jpg_ctx *jpg_ctx);
+void get_xy(sspc100_jpg_ctx *jpg_ctx, UINT32 *x, UINT32 *y);
+UINT32 get_yuv_size(out_mode_t out_format, UINT32 width, UINT32 height);
+jpg_return_status encode_jpg(sspc100_jpg_ctx *jpg_ctx, jpg_enc_proc_param    *enc_param);
+jpg_return_status wait_for_interrupt(void);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/log_msg.c linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/log_msg.c
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/log_msg.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/log_msg.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,53 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/jpg_msg.c
+ *
+ * Driver file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <stdarg.h>
+#include <linux/string.h>
+#include <linux/kernel.h>
+#include <asm/param.h>
+#include <linux/delay.h>
+
+#include "log_msg.h"
+
+//#define DEBUG 1
+
+static const log_level g_log_level = LOG_TRACE;
+
+static const char *module_name = "JPEG_DRV";
+
+static const char *level_str[] = {"TRACE", "WARNING", "ERROR"};
+
+void log_msg(log_level level, const char *func_name, const char *msg, ...)
+{
+
+	char buf[256];
+	va_list argptr;
+
+	if (level < g_log_level)
+		return;
+
+	sprintf(buf, "[%s: %s] %s: ", module_name, level_str[level], func_name);
+
+	va_start(argptr, msg);
+	vsprintf(buf + strlen(buf), msg, argptr);
+
+	if (level == LOG_TRACE) {
+#ifdef DEBUG
+		printk(buf);
+#endif
+	} else {
+		printk(buf);
+	}
+
+	va_end(argptr);
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/log_msg.h linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/log_msg.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/log_msg.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/log_msg.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,35 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/jpg_msg.h
+ *
+ * Driver header file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __SAMSUNG_SYSLSI_APDEV_log_msg_H__
+#define __SAMSUNG_SYSLSI_APDEV_log_msg_H__
+
+
+typedef enum {
+	LOG_TRACE   = 0,
+	LOG_WARNING = 1,
+	LOG_ERROR   = 2
+} log_level;
+
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+	void log_msg(log_level level, const char *func_name, const char *msg, ...);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __SAMSUNG_SYSLSI_APDEV_log_msg_H__ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/regs-jpeg.h linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/regs-jpeg.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/regs-jpeg.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/regs-jpeg.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,136 @@
+/* linux/drivers/media/video/samsung/jpeg/regs-jpeg.h
+ *
+ * Register definition file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARM_REGS_S3C_JPEG_H
+#define __ASM_ARM_REGS_S3C_JPEG_H
+
+/************************************************************************/
+/*JPEG Registers part											*/
+/************************************************************************/
+#define S3C_JPEG_REG(x)		((x))
+
+/* JPEG Codec Control Registers */
+
+#define S3C_JPEG_MOD_REG						S3C_JPEG_REG(0x00)			// Sub-sampling Mode Register
+#define S3C_JPEG_OPR_REG						S3C_JPEG_REG(0x04)			// Operation Status Register
+#define S3C_JPEG_QHTBL_REG						S3C_JPEG_REG(0x08)			// Quantization Table Number Register and Huffman Table Number Register
+#define S3C_JPEG_DRI_REG						S3C_JPEG_REG(0x0c)			// MCU which inserts RST marker
+#define S3C_JPEG_Y_REG							S3C_JPEG_REG(0x10)			// Vertical resolution
+#define S3C_JPEG_X_REG							S3C_JPEG_REG(0x14)			// Horizontal resolution
+#define S3C_JPEG_CNT_REG						S3C_JPEG_REG(0x18)			// The amount of the compressed data in bytes
+#define S3C_JPEG_INTSE_REG						S3C_JPEG_REG(0x1c)			// Interrupt setting register
+#define S3C_JPEG_INTST_REG						S3C_JPEG_REG(0x20)			// Interrupt status	
+
+#define S3C_JPEG_IMGADR_REG						S3C_JPEG_REG(0x50)			// Source or destination image addresss
+
+#define S3C_JPEG_JPGADR_REG						S3C_JPEG_REG(0x58)			// Source or destination JPEG file address
+#define S3C_JPEG_COEF1_REG						S3C_JPEG_REG(0x5c)			// Coefficient values for RGB <-> YCbCr converter
+#define S3C_JPEG_COEF2_REG						S3C_JPEG_REG(0x60)			// Coefficient values for RGB <-> YCbCr converter
+#define S3C_JPEG_COEF3_REG						S3C_JPEG_REG(0x64)			// Coefficient values for RGB <-> YCbCr converter
+
+#define S3C_JPEG_CMOD_REG						S3C_JPEG_REG(0x68)			// Mode selection and core clock setting
+#define S3C_JPEG_CLKCON_REG						S3C_JPEG_REG(0x6c)			// Power on/off and clock down control
+
+#define S3C_JPEG_JSTART_REG						S3C_JPEG_REG(0x70)			// Start compression or decompression
+#define S3C_JPEG_JRSTART_REG					S3C_JPEG_REG(0x74)			// Restart decompression after header analysis
+#define S3C_JPEG_SW_RESET_REG					S3C_JPEG_REG(0x78)			// S/W reset
+
+#define S3C_JPEG_TIMER_SE_REG					S3C_JPEG_REG(0x7c)			// Internal timer setting register
+#define S3C_JPEG_TIMER_ST_REG					S3C_JPEG_REG(0x80)			// Internal timer status register
+#define S3C_JPEG_COMSTAT_REG					S3C_JPEG_REG(0x84)			// Command status register
+#define S3C_JPEG_OUTFORM_REG					S3C_JPEG_REG(0x88)			// Output color format of decompression
+#define S3C_JPEG_VERSION_REG					S3C_JPEG_REG(0x8c)			// Version register
+
+#define S3C_JPEG_DEC_STREAM_SIZE_REG			S3C_JPEG_REG(0x94)			// Input jpeg stream byte size for decompression
+#define S3C_JPEG_ENC_STREAM_INTSE_REG			S3C_JPEG_REG(0x98)			// Compressed stream size interrupt setting register
+#define S3C_JPEG_ENC_STREAM_INTST_REG			S3C_JPEG_REG(0x9c)			// Compressed stream size interrupt status register
+
+#define S3C_JPEG_QTBL0_REG						S3C_JPEG_REG(0x400)			// Quantization table 0
+#define S3C_JPEG_QTBL1_REG						S3C_JPEG_REG(0x500)			// Quantization table 1
+#define S3C_JPEG_QTBL2_REG						S3C_JPEG_REG(0x600)			// Quantization table 2
+#define S3C_JPEG_QTBL3_REG						S3C_JPEG_REG(0x700)			// Quantization table 3
+#define S3C_JPEG_HDCTBL0_REG					S3C_JPEG_REG(0x800)			// DC huffman table 0
+#define S3C_JPEG_HDCTBLG0_REG					S3C_JPEG_REG(0x840)			// DC huffman table group 0
+#define S3C_JPEG_HACTBL0_REG					S3C_JPEG_REG(0x880)			// AC huffman table 0
+#define S3C_JPEG_HACTBLG0_REG					S3C_JPEG_REG(0x8c0)			// AC huffman table group 0
+#define S3C_JPEG_HDCTBL1_REG					S3C_JPEG_REG(0xc00)			// DC huffman table 1
+#define S3C_JPEG_HDCTBLG1_REG					S3C_JPEG_REG(0xc40)			// DC huffman table group 1
+#define S3C_JPEG_HACTBL1_REG					S3C_JPEG_REG(0xc80)			// AC huffman table 1
+#define S3C_JPEG_HACTBLG1_REG					S3C_JPEG_REG(0xcc0)			// AC huffman table group 1
+
+/************************************************************************/
+/* Bit definition part													*/
+/************************************************************************/
+
+/* JPEG Mode Register bit */
+#define S3C_JPEG_MOD_REG_PROC_ENC							(0<<3)
+#define S3C_JPEG_MOD_REG_PROC_DEC							(1<<3)
+
+#define S3C_JPEG_MOD_REG_SUBSAMPLE_444						(0<<0)
+#define S3C_JPEG_MOD_REG_SUBSAMPLE_422						(1<<0)
+#define S3C_JPEG_MOD_REG_SUBSAMPLE_420						(2<<0)
+#define S3C_JPEG_MOD_REG_SUBSAMPLE_GRAY						(3<<0)
+
+/* JPEG Operation Status Register bit */
+#define S3C_JPEG_OPR_REG_OPERATE							(1<<0)
+#define S3C_JPEG_OPR_REG_NO_OPERATE							(0<<0)
+
+/* Quantization Table And Huffman Table Number Register bit */
+#define S3C_JPEG_QHTBL_REG_QT_NUM3							(1<<12)
+#define S3C_JPEG_QHTBL_REG_QT_NUM2							(1<<10)
+#define S3C_JPEG_QHTBL_REG_QT_NUM1							(1<<8)
+
+#define S3C_JPEG_QHTBL_REG_HT_NUM3_AC						(1<<5)
+#define S3C_JPEG_QHTBL_REG_HT_NUM3_DC						(1<<4)
+#define S3C_JPEG_QHTBL_REG_HT_NUM2_AC						(1<<3)
+#define S3C_JPEG_QHTBL_REG_HT_NUM2_DC						(1<<2)
+#define S3C_JPEG_QHTBL_REG_HT_NUM1_AC						(1<<1)
+#define S3C_JPEG_QHTBL_REG_HT_NUM1_DC						(1<<0)
+
+
+/* JPEG Color Mode Register bit */
+#define S3C_JPEG_CMOD_REG_MOD_SEL_RGB						(2<<5)
+#define S3C_JPEG_CMOD_REG_MOD_SEL_YCBCR422					(1<<5)
+#define S3C_JPEG_CMOD_REG_MOD_MODE_Y16						(1<<1)
+#define S3C_JPEG_CMOD_REG_MOD_MODE_0						(0<<1)
+#define S3C_JPEG_CMOD_REG_MOD_HALF_EN_HALF					(1<<0)
+#define S3C_JPEG_CMOD_REG_MOD_FULL_EN_FULL					(0<<0)
+
+/* JPEG Clock Control Register bit */
+#define S3C_JPEG_CLKCON_REG_CLK_DOWN_READY_ENABLE			(0<<1)
+#define S3C_JPEG_CLKCON_REG_CLK_DOWN_READY_DISABLE			(1<<1)
+#define S3C_JPEG_CLKCON_REG_POWER_ON_ACTIVATE				(1<<0)
+#define S3C_JPEG_CLKCON_REG_POWER_ON_DISABLE				(0<<0)
+
+/* JPEG Start Register bit */
+#define S3C_JPEG_JSTART_REG_ENABLE							(1<<0)
+
+/* JPEG Rdstart Register bit */
+#define S3C_JPEG_JRSTART_REG_ENABLE							(1<<0)
+
+/* JPEG SW Reset Register bit */
+#define S3C_JPEG_SW_RESET_REG_ENABLE						(1<<0)
+
+/* JPEG Interrupt Setting Register bit */
+#define S3C_JPEG_INTSE_REG_ERR_INT_EN						(7<<4)
+#define S3C_JPEG_INTSE_REG_HEAD_INT_EN_ENABLE				(1<<3)
+#define S3C_JPEG_INTSE_REG_HEAD_INT_EN_DISABLE				(0<<3)
+#define S3C_JPEG_INTSE_REG_INT_EN							(0<<0)
+
+/* JPEG Decompression Output Format Register bit */
+#define S3C_JPEG_OUTFORM_REG_YCBCY422						(0<<0)
+#define S3C_JPEG_OUTFORM_REG_YCBCY420						(1<<0)
+
+/* JPEG Decompression Input Stream Size Register bit */
+#define S3C_JPEG_DEC_STREAM_SIZE_REG_PROHIBIT				(0x1FFFFFFF<<0)
+
+#endif //__ASM_ARM_REGS_S3C_JPEG_H
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/s3c-jpeg.c linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/s3c-jpeg.c
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/s3c-jpeg.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/s3c-jpeg.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,518 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/s3c-jpeg.c
+ *
+ * Driver file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/version.h>
+#include <linux/module.h>
+#include <linux/delay.h>
+#include <linux/errno.h>
+#include <linux/fs.h>
+#include <linux/kernel.h>
+#include <linux/major.h>
+#include <linux/slab.h>
+#include <linux/poll.h>
+#include <linux/signal.h>
+#include <linux/ioport.h>
+#include <linux/sched.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/kmod.h>
+#include <linux/vmalloc.h>
+#include <linux/init.h>
+#include <asm/io.h>
+#include <asm/page.h>
+#include <mach/irqs.h>
+#include <linux/semaphore.h>
+#include <plat/map.h>
+#include <linux/miscdevice.h>
+#include <linux/vmalloc.h>
+#include <linux/string.h>
+#include <linux/mm.h>
+#include <linux/platform_device.h>
+
+#include <linux/version.h>
+#include <plat/regs-clock.h>
+#include <plat/media.h>
+
+
+#include <linux/time.h>
+#include <linux/clk.h>
+
+#include "s3c-jpeg.h"
+#include "jpg_mem.h"
+#include "jpg_misc.h"
+#include "jpg_opr.h"
+#include "log_msg.h"
+#include "regs-jpeg.h"
+
+
+static struct clk		*jpeg_hclk;
+static struct clk		*jpeg_sclk;
+static struct clk		*post;
+static struct clk		*s3c_jpeg_clk;
+
+static struct resource		*s3c_jpeg_mem;
+void __iomem			*s3c_jpeg_base;
+static int			irq_no;
+static int			instanceNo = 0;
+volatile int			jpg_irq_reason;
+wait_queue_head_t 		wait_queue_jpeg;
+
+DECLARE_WAIT_QUEUE_HEAD(WaitQueue_JPEG);
+
+irqreturn_t s3c_jpeg_irq(int irq, void *dev_id, struct pt_regs *regs)
+{
+	unsigned int	int_status;
+	unsigned int	status;
+
+	log_msg(LOG_TRACE, "s3c_jpeg_irq", "=====enter s3c_jpeg_irq===== \r\n");
+
+	int_status = __raw_readl(s3c_jpeg_base + S3C_JPEG_INTST_REG);
+	status = __raw_readl(s3c_jpeg_base + S3C_JPEG_OPR_REG);
+	log_msg(LOG_TRACE, "s3c_jpeg_irq", "int_status : 0x%08x status : 0x%08x\n", int_status, status);
+
+	if (int_status) {
+		int_status &= ((1 << 6) | (1 << 4) | (1 << 3));
+
+		switch (int_status) {
+		case 0x08 :
+			jpg_irq_reason = OK_HD_PARSING;
+			break;
+		case 0x00 :
+			jpg_irq_reason = ERR_HD_PARSING;
+			break;
+		case 0x40 :
+			jpg_irq_reason = OK_ENC_OR_DEC;
+			break;
+		case 0x10 :
+			jpg_irq_reason = ERR_ENC_OR_DEC;
+			break;
+		default :
+			jpg_irq_reason = ERR_UNKNOWN;
+		}
+
+		wake_up_interruptible(&wait_queue_jpeg);
+	} else {
+		jpg_irq_reason = ERR_UNKNOWN;
+		wake_up_interruptible(&wait_queue_jpeg);
+	}
+
+	return IRQ_HANDLED;
+}
+
+static int s3c_jpeg_open(struct inode *inode, struct file *file)
+{
+	sspc100_jpg_ctx *jpg_reg_ctx;
+	DWORD	ret;
+
+	clk_enable(jpeg_hclk);
+	clk_enable(jpeg_sclk);
+
+	log_msg(LOG_TRACE, "s3c_jpeg_open", "JPG_open \r\n");
+
+	jpg_reg_ctx = (sspc100_jpg_ctx *)mem_alloc(sizeof(sspc100_jpg_ctx));
+	memset(jpg_reg_ctx, 0x00, sizeof(sspc100_jpg_ctx));
+
+	ret = lock_jpg_mutex();
+
+	if (!ret) {
+		log_msg(LOG_ERROR, "s3c_jpeg_open", "DD::JPG Mutex Lock Fail\r\n");
+		unlock_jpg_mutex();
+		return FALSE;
+	}
+
+	if (instanceNo > MAX_INSTANCE_NUM) {
+		log_msg(LOG_ERROR, "s3c_jpeg_open", "DD::Instance Number error-JPEG is running, instance number is %d\n", instanceNo);
+		unlock_jpg_mutex();
+		return FALSE;
+	}
+
+	instanceNo++;
+
+	unlock_jpg_mutex();
+
+	file->private_data = (sspc100_jpg_ctx *)jpg_reg_ctx;
+
+	return 0;
+}
+
+
+static int s3c_jpeg_release(struct inode *inode, struct file *file)
+{
+	DWORD			ret;
+	sspc100_jpg_ctx		*jpg_reg_ctx;
+
+	log_msg(LOG_TRACE, "s3c_jpeg_release", "JPG_Close\n");
+
+	jpg_reg_ctx = (sspc100_jpg_ctx *)file->private_data;
+
+	if (!jpg_reg_ctx) {
+		log_msg(LOG_ERROR, "s3c_jpeg_release", "DD::JPG Invalid Input Handle\r\n");
+		return FALSE;
+	}
+
+	ret = lock_jpg_mutex();
+
+	if (!ret) {
+		log_msg(LOG_ERROR, "s3c_jpeg_release", "DD::JPG Mutex Lock Fail\r\n");
+		return FALSE;
+	}
+
+	if ((--instanceNo) < 0)
+		instanceNo = 0;
+
+	unlock_jpg_mutex();
+
+	clk_disable(jpeg_hclk);
+	clk_disable(jpeg_sclk);
+	log_msg(LOG_TRACE, "s3c_jpeg_release end ", "JPG_Close\n");
+	return 0;
+}
+
+
+static ssize_t s3c_jpeg_write(struct file *file, const char *buf, size_t count, loff_t *pos)
+{
+	return 0;
+}
+
+static ssize_t s3c_jpeg_read(struct file *file, char *buf, size_t count, loff_t *pos)
+{
+	return 0;
+}
+
+static int s3c_jpeg_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
+{
+	static sspc100_jpg_ctx		*jpg_reg_ctx;
+	jpg_args			param;
+	BOOL				result = TRUE;
+	DWORD				ret;
+	int 				out;
+
+
+	jpg_reg_ctx = (sspc100_jpg_ctx *)file->private_data;
+
+	if (!jpg_reg_ctx) {
+		log_msg(LOG_ERROR, "s3c_jpeg_ioctl", "DD::JPG Invalid Input Handle\r\n");
+		return FALSE;
+	}
+
+	ret = lock_jpg_mutex();
+
+	if (!ret) {
+		log_msg(LOG_ERROR, "s3c_jpeg_ioctl", "DD::JPG Mutex Lock Fail\r\n");
+		return FALSE;
+	}
+
+	switch (cmd) {
+	case IOCTL_JPG_DECODE:
+
+		log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPEG_DECODE\n");
+
+		out = copy_from_user(&param, (jpg_args *)arg, sizeof(jpg_args));
+
+		jpg_reg_ctx->jpg_data_addr = (UINT32)jpg_data_base_addr;
+		jpg_reg_ctx->img_data_addr = (UINT32)jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE;
+		
+		result = decode_jpg(jpg_reg_ctx, param.dec_param);
+		out = copy_to_user((void *)arg, (void *) & param, sizeof(jpg_args));
+		break;
+
+	case IOCTL_JPG_ENCODE:
+
+		log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPEG_ENCODE\n");
+
+		out = copy_from_user(&param, (jpg_args *)arg, sizeof(jpg_args));
+
+		log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "width : %d hegiht : %d\n",
+			param.enc_param->width, param.enc_param->height);
+
+		if (param.enc_param->enc_type == JPG_MAIN) {
+			jpg_reg_ctx->jpg_data_addr = (UINT32)jpg_data_base_addr ;
+			jpg_reg_ctx->img_data_addr = (UINT32)jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE;
+			log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "enc_img_data_addr=0x%08x, enc_jpg_data_addr=0x%08x\n", jpg_reg_ctx->img_data_addr,jpg_reg_ctx->jpg_data_addr);
+
+			result = encode_jpg(jpg_reg_ctx, param.enc_param);
+		} else {
+			jpg_reg_ctx->img_thumb_data_addr = (UINT32)jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE + JPG_FRAME_BUF_SIZE;
+			jpg_reg_ctx->jpg_thumb_data_addr = (UINT32)jpg_data_base_addr + JPG_STREAM_BUF_SIZE;
+
+			result = encode_jpg(jpg_reg_ctx, param.thumb_enc_param);
+		}
+		out = copy_to_user((void *)arg, (void *) & param,  sizeof(jpg_args));
+		break;
+
+	case IOCTL_JPG_GET_STRBUF:
+		log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_STRBUF\n");
+		unlock_jpg_mutex();
+		return arg + JPG_MAIN_STRART;
+
+	case IOCTL_JPG_GET_THUMB_STRBUF:		
+		log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_THUMB_STRBUF\n");
+		unlock_jpg_mutex();
+		return arg + JPG_THUMB_START;
+
+	case IOCTL_JPG_GET_FRMBUF:
+		log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_FRMBUF\n");
+		unlock_jpg_mutex();
+		return arg + IMG_MAIN_START;
+
+	case IOCTL_JPG_GET_THUMB_FRMBUF:
+		log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_THUMB_FRMBUF\n");
+		unlock_jpg_mutex();
+		return arg + IMG_THUMB_START;
+
+	case IOCTL_JPG_GET_PHY_FRMBUF:
+		log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_PHY_FRMBUF\n");
+		unlock_jpg_mutex();
+		return jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE;
+
+	case IOCTL_JPG_GET_PHY_THUMB_FRMBUF:
+		log_msg(LOG_TRACE, "s3c_jpeg_ioctl", "IOCTL_JPG_GET_PHY_THUMB_FRMBUF\n");
+		unlock_jpg_mutex();
+		return jpg_data_base_addr + JPG_STREAM_BUF_SIZE + JPG_STREAM_THUMB_BUF_SIZE + JPG_FRAME_BUF_SIZE;
+	
+	default :
+		log_msg(LOG_ERROR, "s3c_jpeg_ioctl", "DD::JPG Invalid ioctl : 0x%X\n", cmd);
+	}
+
+	unlock_jpg_mutex();
+
+	return result;
+}
+
+static unsigned int s3c_jpeg_poll(struct file *file, poll_table *wait)
+{
+	unsigned int mask = 0;
+	
+	log_msg(LOG_TRACE, "s3c_jpeg_poll", "enter poll \n");
+	poll_wait(file, &wait_queue_jpeg, wait);
+	mask = POLLOUT | POLLWRNORM;
+	return mask;
+}
+int s3c_jpeg_mmap(struct file *filp, struct vm_area_struct *vma)
+{
+	unsigned long size	= vma->vm_end - vma->vm_start;
+	unsigned long max_size;
+	unsigned long page_frame_no;
+
+	page_frame_no = __phys_to_pfn(jpg_data_base_addr);
+
+	max_size = JPG_TOTAL_BUF_SIZE + PAGE_SIZE - (JPG_TOTAL_BUF_SIZE % PAGE_SIZE);
+
+	if (size > max_size) {
+		return -EINVAL;
+	}
+
+	vma->vm_flags |= VM_RESERVED | VM_IO;
+	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+
+	if (remap_pfn_range(vma, vma->vm_start, page_frame_no, size,	\
+			    vma->vm_page_prot)) {
+		log_msg(LOG_ERROR, "s3c_jpeg_mmap", "jpeg remap error");
+		return -EAGAIN;
+	}
+
+	return 0;
+}
+
+
+static struct file_operations jpeg_fops = {
+	owner:		THIS_MODULE,
+	open:		s3c_jpeg_open,
+	release:	s3c_jpeg_release,
+	ioctl:		s3c_jpeg_ioctl,
+	read:		s3c_jpeg_read,
+	write:		s3c_jpeg_write,
+	mmap:		s3c_jpeg_mmap,
+	poll:		s3c_jpeg_poll,
+};
+
+
+static struct miscdevice s3c_jpeg_miscdev = {
+	minor:		254,
+	name:		"s3c-jpg",
+	fops:		&jpeg_fops
+};
+
+
+static int s3c_jpeg_probe(struct platform_device *pdev)
+{
+	struct resource 	*res;
+	static int		size;
+	static int		ret;
+	HANDLE 			h_mutex;
+
+	// JPEG clock enable
+	jpeg_hclk = clk_get(NULL, "hclk_jpeg");
+
+	if (!jpeg_hclk) {
+		printk(KERN_ERR "failed to get jpeg hclk source\n");
+		return -ENOENT;
+	}
+
+	clk_enable(jpeg_hclk);
+
+	jpeg_sclk = clk_get(NULL, "sclk_jpeg");
+
+	if (!jpeg_sclk) {
+		printk(KERN_ERR "failed to get jpeg scllk source\n");
+		return -ENOENT;
+	}
+
+	clk_enable(jpeg_sclk);
+
+	post = clk_get(NULL, "post");
+
+	if (!post) {
+		printk(KERN_ERR "failed to get post clock source\n");
+		return -ENOENT;
+	}
+
+	clk_enable(post);
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+
+	if (res == NULL) {
+		printk(KERN_INFO "failed to get memory region resouce\n");
+		return -ENOENT;
+	}
+
+	size = (res->end - res->start) + 1;
+	s3c_jpeg_mem = request_mem_region(res->start, size, pdev->name);
+
+	if (s3c_jpeg_mem == NULL) {
+		printk(KERN_INFO "failed to get memory region\n");
+		return -ENOENT;
+	}
+
+	res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
+
+	if (res == NULL) {
+		printk(KERN_INFO "failed to get irq resource\n");
+		return -ENOENT;
+	}
+
+	irq_no = res->start;
+	ret = request_irq(res->start, s3c_jpeg_irq, 0, pdev->name, pdev);
+
+	if (ret != 0) {
+		printk(KERN_INFO "failed to install irq (%d)\n", ret);
+		return ret;
+	}
+
+	s3c_jpeg_base = ioremap(s3c_jpeg_mem->start, size);
+
+	if (s3c_jpeg_base == 0) {
+		printk(KERN_INFO "failed to ioremap() region\n");
+		return -EINVAL;
+	}
+
+	// JPEG clock was set as 66 MHz
+	s3c_jpeg_clk = clk_get(&pdev->dev, "jpeg");
+
+	if (s3c_jpeg_clk == NULL) {
+		printk(KERN_INFO "failed to find jpeg clock source\n");
+		return -ENOENT;
+	}
+
+	clk_enable(s3c_jpeg_clk);
+
+	init_waitqueue_head(&wait_queue_jpeg);
+
+	log_msg(LOG_TRACE, "s3c_jpeg_probe", "JPG_Init\n");
+
+	// Mutex initialization
+	h_mutex = create_jpg_mutex();
+
+	if (h_mutex == NULL) {
+		log_msg(LOG_ERROR, "s3c_jpeg_probe", "DD::JPG Mutex Initialize error\r\n");
+		return FALSE;
+	}
+
+	ret = lock_jpg_mutex();
+
+	if (!ret) {
+		log_msg(LOG_ERROR, "s3c_jpeg_probe", "DD::JPG Mutex Lock Fail\n");
+		return FALSE;
+	}
+
+	instanceNo = 0;
+
+	unlock_jpg_mutex();
+
+	ret = misc_register(&s3c_jpeg_miscdev);
+
+	clk_disable(jpeg_hclk);
+	clk_disable(jpeg_sclk);
+
+	return 0;
+}
+
+static int s3c_jpeg_remove(struct platform_device *dev)
+{
+	if (s3c_jpeg_mem != NULL) {
+		release_resource(s3c_jpeg_mem);
+		kfree(s3c_jpeg_mem);
+		s3c_jpeg_mem = NULL;
+	}
+
+	free_irq(irq_no, dev);
+	misc_deregister(&s3c_jpeg_miscdev);
+	return 0;
+}
+
+
+static struct platform_driver s3c_jpeg_driver = {
+	.probe		= s3c_jpeg_probe,
+	.remove		= s3c_jpeg_remove,
+	.shutdown	= NULL,
+	.suspend	= NULL,
+	.resume		= NULL,
+	.driver		= {
+			.owner	= THIS_MODULE,
+			.name	= "s3c-jpg",
+	},
+};
+
+static char banner[] __initdata = KERN_INFO "S3C JPEG Driver, (c) 2007 Samsung Electronics\n";
+
+static int __init s3c_jpeg_init(void)
+{
+	printk(banner);
+	return platform_driver_register(&s3c_jpeg_driver);
+}
+
+static void __exit s3c_jpeg_exit(void)
+{
+	DWORD	ret;
+
+	log_msg(LOG_TRACE, "s3c_jpeg_exit", "JPG_Deinit\n");
+
+	ret = lock_jpg_mutex();
+
+	if (!ret) {
+		log_msg(LOG_ERROR, "s3c_jpeg_exit", "DD::JPG Mutex Lock Fail\r\n");
+	}
+
+	unlock_jpg_mutex();
+
+	delete_jpg_mutex();
+
+	platform_driver_unregister(&s3c_jpeg_driver);
+	printk("S3C JPEG driver module exit\n");
+}
+
+module_init(s3c_jpeg_init);
+module_exit(s3c_jpeg_exit);
+
+MODULE_AUTHOR("Peter, Oh");
+MODULE_DESCRIPTION("S3C JPEG Encoder/Decoder Device Driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/jpeg_v2/s3c-jpeg.h linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/s3c-jpeg.h
--- linux-2.6.28/drivers/media/video/samsung/jpeg_v2/s3c-jpeg.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/jpeg_v2/s3c-jpeg.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,30 @@
+/* linux/drivers/media/video/samsung/jpeg_v2/s3c-jpeg.h
+ *
+ * Driver header file for Samsung JPEG Encoder/Decoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __JPEG_DRIVER_H__
+#define __JPEG_DRIVER_H__
+
+
+#define MAX_INSTANCE_NUM	1
+#define MAX_PROCESSING_THRESHOLD 1000	// 1Sec
+
+#define IOCTL_JPG_DECODE			0x00000002
+#define IOCTL_JPG_ENCODE			0x00000003
+#define IOCTL_JPG_GET_STRBUF			0x00000004
+#define IOCTL_JPG_GET_FRMBUF			0x00000005
+#define IOCTL_JPG_GET_THUMB_STRBUF		0x0000000A
+#define IOCTL_JPG_GET_THUMB_FRMBUF		0x0000000B
+#define IOCTL_JPG_GET_PHY_FRMBUF		0x0000000C
+#define IOCTL_JPG_GET_PHY_THUMB_FRMBUF	0x0000000D
+#define JPG_CLOCK_DIVIDER_RATIO_QUARTER	4
+
+#endif /*__JPEG_DRIVER_H__*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/Kconfig linux-2.6.28.6/drivers/media/video/samsung/mfc10/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/mfc10/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,15 @@
+#
+# Configuration for Multi Format Codecs (MFC)
+#
+
+config VIDEO_MFC10
+	bool "Samsung FIMV V1.0 - MFC (Multi Format Codec) Driver" 
+	depends on VIDEO_SAMSUNG && (CPU_S3C6410 || CPU_S3C6400)
+	default n
+	---help---
+	  This is a Multi Format Codecs (MFC) driver for Samsung S3C6400 and s3C6410.
+
+config VIDEO_MFC_DEBUG
+	bool "print MFC debug message"
+	depends on VIDEO_MFC10
+	default n
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/Makefile linux-2.6.28.6/drivers/media/video/samsung/mfc10/Makefile
--- linux-2.6.28/drivers/media/video/samsung/mfc10/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,8 @@
+obj-$(CONFIG_VIDEO_MFC10) += prism_s_v137.o s3c_mfc_bitproc_buf.o s3c_mfc.o s3c_mfc_databuf.o s3c_mfc_init_hw.o s3c_mfc_instance.o s3c_mfc_inst_pool.o s3c_mfc_set_config.o s3c_mfc_sfr.o s3c_mfc_yuv_buf_manager.o
+
+EXTRA_CFLAGS += -DLINUX
+EXTRA_CFLAGS += -DDIVX_ENABLE
+
+ifeq ($(CONFIG_VIDEO_MFC_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/prism_s.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/prism_s.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/prism_s.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/prism_s.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,18 @@
+/* linux/driver/media/video/mfc/prism_s.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_PRISM_S_H
+#define _S3C_PRISM_S_H
+
+extern const unsigned short s3c_mfc_bit_code[40960];
+
+#endif /* _S3C_PRISM_S_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/prism_s_v137.c linux-2.6.28.6/drivers/media/video/samsung/mfc10/prism_s_v137.c
--- linux-2.6.28/drivers/media/video/samsung/mfc10/prism_s_v137.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/prism_s_v137.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,5137 @@
+/* linux/driver/media/video/mfc/prism_s_v137.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ * 	BIT ASSEMBLY CODE TABLE 
+ * 		generated with <Prism.out> 
+ * 		generated at Mon Sep 08 21:36:59 2008
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+const unsigned short s3c_mfc_bit_code[40960] = {
+    0xe40e, 0x0022, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe40e, 0x0152, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xf202, 0x1307, 0xc001, 0xe168, 0xd027, 0x0001, 0xa202, 0xe0c2, 
+    0x0008, 0xe0c2, 0x0058, 0xa200, 0xe0c2, 0x005a, 0xa2fe, 0x4e71, 
+    0x4e72, 0xe0c0, 0x005c, 0xa802, 0xe0c2, 0x005d, 0xce00, 0xf11e, 
+    0xe0c0, 0x005c, 0xe0c1, 0x0059, 0x4f70, 0xa203, 0x3570, 0xe052, 
+    0xf08a, 0xe0c1, 0x005d, 0xe055, 0xe0c3, 0x005d, 0xa202, 0xce00, 
+    0xe41e, 0x0084, 0xe0c0, 0x005b, 0x0c72, 0xe418, 0x00b2, 0xe0c0, 
+    0x0059, 0xa114, 0xf18a, 0xa102, 0xf1da, 0xe0c0, 0x005a, 0x0c71, 
+    0xe418, 0x00ab, 0xe0c0, 0x0059, 0xae02, 0xe000, 0x0152, 0xc000, 
+    0xe67c, 0xc001, 0xe0c0, 0x005a, 0x4e71, 0xe0c0, 0x005b, 0x4e72, 
+    0xe40e, 0x0038, 0x1471, 0xe412, 0x010d, 0xa202, 0x4e73, 0xe40e, 
+    0x0061, 0xe41e, 0x00c6, 0xd101, 0x0001, 0xc71e, 0xa002, 0xa200, 
+    0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0xc71e, 0xa002, 0xd071, 
+    0x002a, 0xe181, 0xe40e, 0x0061, 0xa200, 0xe0c2, 0x0059, 0xe0c2, 
+    0x0058, 0xe0c2, 0x0008, 0xe0c0, 0x0059, 0xf7ea, 0xa11e, 0xf168, 
+    0xa202, 0xe0c2, 0x0008, 0xe0c2, 0x0058, 0xe004, 0xf202, 0xae20, 
+    0xe005, 0x1307, 0xe056, 0xe0c2, 0x0070, 0xa200, 0xe0c2, 0x0059, 
+    0xe0c2, 0x0058, 0xe0c2, 0x0008, 0xf67e, 0xa202, 0xe0c2, 0x0008, 
+    0xe0c2, 0x0058, 0xe42e, 0x1471, 0xe424, 0xe41e, 0x010d, 0xe41e, 
+    0x00c6, 0xe42e, 0xe0c0, 0x0040, 0xe0c1, 0x005b, 0xae1d, 0xe042, 
+    0xe000, 0x1000, 0xce20, 0xd111, 0x0800, 0xd112, 0x1000, 0xd113, 
+    0x000b, 0xca28, 0xf7f8, 0xe41e, 0x17e0, 0xe42e, 0xe0c0, 0x0041, 
+    0xe005, 0x0000, 0xae11, 0xe042, 0xe0c1, 0x005a, 0xae19, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0800, 0xd113, 0x0003, 0xca28, 
+    0xf7f8, 0xe0c0, 0x0041, 0xe005, 0x0080, 0xae11, 0xe042, 0xe0c1, 
+    0x005a, 0xae15, 0xe042, 0xce20, 0xd111, 0x0000, 0xd112, 0x0200, 
+    0xd113, 0x0013, 0xca28, 0xf7f8, 0xe161, 0x00f4, 0x8891, 0x0032, 
+    0x8891, 0x0033, 0x8891, 0x0034, 0x8891, 0x0035, 0x8891, 0x0036, 
+    0x8891, 0x0037, 0x1091, 0x2691, 0xcc60, 0x1091, 0x2691, 0xcc62, 
+    0x1091, 0x2691, 0xcc74, 0x1091, 0x2691, 0xcf68, 0x1091, 0x2691, 
+    0xcf64, 0x1091, 0x2691, 0xcf60, 0xe42e, 0xe161, 0x00f4, 0x8991, 
+    0x0032, 0x8991, 0x0033, 0x8991, 0x0034, 0x8991, 0x0035, 0x8991, 
+    0x0036, 0x8991, 0x0037, 0xc860, 0x4891, 0x4e91, 0xc862, 0x4891, 
+    0x4e91, 0xc874, 0x4891, 0x4e91, 0xcb68, 0x4891, 0x4e91, 0xcb64, 
+    0x4891, 0x4e91, 0xcb60, 0x4891, 0x4e91, 0xe0c0, 0x0041, 0xe005, 
+    0x0000, 0xae11, 0xe042, 0x1571, 0xae19, 0xe042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0800, 0xd113, 0x0002, 0xca28, 0xf7f8, 0xe0c0, 
+    0x0041, 0xe005, 0x0080, 0xae11, 0xe042, 0x1571, 0xae15, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0200, 0xd113, 0x0012, 0xca28, 
+    0xf7f8, 0xe42e, 0xe40e, 0x1212, 0xe40e, 0x0172, 0xe40e, 0x0176, 
+    0xe40e, 0x017a, 0xe40e, 0x017e, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe41e, 0x0182, 0xe40e, 0x0061, 0xe41e, 0x01dc, 
+    0xe40e, 0x0061, 0xe41e, 0x01dd, 0xe40e, 0x0061, 0xe41e, 0x028f, 
+    0xe40e, 0x0061, 0xa200, 0xcc74, 0x4e4e, 0xc401, 0xe188, 0x07ff, 
+    0x4e91, 0xe41e, 0x02a1, 0xc001, 0xe0c0, 0x0064, 0x4800, 0x4e01, 
+    0xe0c0, 0x0065, 0x4802, 0x4e03, 0xe0c0, 0x0066, 0x4804, 0x4e05, 
+    0xe0c0, 0x0047, 0x4e06, 0xc000, 0xa200, 0x4e6d, 0x4e4c, 0xc001, 
+    0x4e09, 0x4e0d, 0xc000, 0xe0c0, 0x0062, 0x4673, 0xaf04, 0xc001, 
+    0x4608, 0xc000, 0xaf02, 0xc001, 0x460c, 0xc000, 0xe41e, 0x0dec, 
+    0xe41e, 0x11c6, 0xe41e, 0x0a66, 0xf23a, 0xe41e, 0x11e2, 0xe128, 
+    0x1407, 0xae14, 0x260e, 0xe0c2, 0x0071, 0x1621, 0xa102, 0xae20, 
+    0x2620, 0xe0c2, 0x0072, 0x1435, 0xae02, 0x2630, 0xae02, 0x2623, 
+    0xae02, 0x2622, 0xe0c2, 0x0075, 0xa204, 0xe0c2, 0x0073, 0xa200, 
+    0x4e6d, 0xe0c2, 0x0074, 0xa202, 0xe0c2, 0x0070, 0xe42e, 0xa200, 
+    0x4e6d, 0xe0c2, 0x0070, 0xe42e, 0xe42e, 0xa200, 0xcc44, 0xe0c0, 
+    0x0068, 0xc001, 0x4610, 0xaf02, 0x460e, 0xaf02, 0x460f, 0xc000, 
+    0xa2fe, 0xe0c2, 0x0077, 0xc001, 0x1473, 0xf04a, 0xa200, 0x4e0d, 
+    0x4e73, 0xc000, 0xc001, 0x1408, 0xc000, 0xf05a, 0xe41e, 0x1197, 
+    0xe40e, 0x0206, 0xc001, 0x1408, 0xc000, 0xf098, 0xe41e, 0x13e5, 
+    0xf06a, 0xa2fe, 0xe0c2, 0x0071, 0xe40e, 0x027c, 0x1424, 0xf158, 
+    0xc001, 0x140d, 0xc000, 0xf118, 0xa202, 0xc001, 0x4e0d, 0xc000, 
+    0xd101, 0x0001, 0xc71e, 0xa002, 0xa200, 0xe0c2, 0x0083, 0xa202, 
+    0xe0c2, 0x0093, 0xc71e, 0xa002, 0xa200, 0xcc4a, 0xcc4c, 0xcc74, 
+    0xd180, 0x0000, 0xd147, 0x0000, 0xd03b, 0x0000, 0xd008, 0x0000, 
+    0xe16a, 0xa200, 0xcf06, 0xe0c2, 0x0286, 0x4e46, 0x1430, 0xf048, 
+    0xe41e, 0x0a95, 0xf03e, 0xe41e, 0x0aed, 0xe40a, 0x0280, 0xc001, 
+    0x1408, 0xc000, 0xf01a, 0xe41e, 0x0def, 0x142d, 0xf0c8, 0xa200, 
+    0x4e44, 0x1452, 0x4e43, 0xa202, 0x4e42, 0xe41e, 0x044e, 0xa200, 
+    0x4e46, 0xf0be, 0x1436, 0xe016, 0x2230, 0xf048, 0xe41e, 0x0328, 
+    0xf03e, 0xe41e, 0x0362, 0xf2da, 0xe41e, 0x0f6b, 0xe41e, 0x0fb6, 
+    0xe41e, 0x0ff0, 0xe41e, 0x1027, 0xe41e, 0x1053, 0xc875, 0xe0c0, 
+    0x006c, 0xae06, 0xe045, 0xe0c3, 0x007c, 0x164c, 0xa002, 0x4e4c, 
+    0xe0c2, 0x0070, 0x1424, 0xe0c2, 0x0073, 0x1446, 0xe0c2, 0x0072, 
+    0xc84a, 0xc84d, 0xae20, 0xe056, 0xe0c2, 0x0046, 0xc001, 0x1408, 
+    0xc000, 0xf038, 0xe41e, 0x13d4, 0xa202, 0xe0c2, 0x0076, 0xe42e, 
+    0xc875, 0xe0c3, 0x007c, 0xe41e, 0x13d4, 0x1424, 0xe0c2, 0x0073, 
+    0xa2fe, 0xe0c2, 0x0072, 0xa200, 0xe0c2, 0x0076, 0xe42e, 0xe0c0, 
+    0x0042, 0xce20, 0xd111, 0x03f0, 0xd112, 0x0030, 0xd113, 0x0003, 
+    0xca28, 0xf7f8, 0xe0c0, 0x0060, 0x4e4d, 0xe0c0, 0x0061, 0x4e70, 
+    0xe42e, 0xe0c0, 0x0040, 0xe000, 0x3000, 0xce20, 0xd111, 0x02a0, 
+    0xd112, 0x0100, 0xd113, 0x0003, 0xca28, 0xf7f8, 0xe42e, 0x1454, 
+    0xae06, 0xe000, 0x0420, 0xe09e, 0x1458, 0x2659, 0xf028, 0xf09e, 
+    0xd022, 0x0003, 0xe184, 0x02be, 0xa200, 0x4e97, 0x4e97, 0xf13e, 
+    0xe161, 0x03e1, 0x1581, 0x8891, 0x0022, 0xe184, 0x02ca, 0x1091, 
+    0x2691, 0x4897, 0x4e97, 0xf079, 0xd022, 0x0002, 0xe184, 0x02d1, 
+    0x4897, 0x4e97, 0x1454, 0xa002, 0x0c50, 0xe428, 0x1450, 0xae08, 
+    0x4e49, 0x8249, 0x8155, 0xe018, 0xe0c1, 0x006d, 0xe042, 0xce20, 
+    0xd111, 0x0420, 0x1449, 0xaf02, 0xce24, 0xd113, 0x0002, 0xca28, 
+    0xf7f8, 0xe42e, 0x1453, 0xa802, 0xf07a, 0x1559, 0xc001, 0x1411, 
+    0xc000, 0xe056, 0xf0ae, 0x1459, 0xae10, 0xc001, 0x4e11, 0xc000, 
+    0x1553, 0xa003, 0x0d52, 0xe429, 0x1553, 0xe009, 0x00ff, 0xaf03, 
+    0xe001, 0x05a0, 0xe09f, 0x4e87, 0x1453, 0xa002, 0x0c52, 0xf06a, 
+    0x1453, 0xa002, 0xe008, 0x00ff, 0xe428, 0x1453, 0xe008, 0xff00, 
+    0xe0c1, 0x006e, 0xe042, 0xce20, 0xe004, 0x0080, 0x1553, 0xa003, 
+    0x0d52, 0xf078, 0x1453, 0xe008, 0x00ff, 0xa006, 0xe008, 0x00fc, 
+    0xce24, 0xd111, 0x05a0, 0xd113, 0x0002, 0xca28, 0xf7f8, 0xe42e, 
+    0xa223, 0x1424, 0xf03a, 0x1528, 0xa021, 0x4f61, 0x1427, 0x4e42, 
+    0xa200, 0x4e2f, 0x4e43, 0x4e44, 0x1444, 0x262f, 0xf14a, 0x1436, 
+    0xf088, 0xe41e, 0x04dc, 0xf0da, 0xe41e, 0x0afa, 0x4e43, 0xf0be, 
+    0xe41e, 0x0516, 0xf06a, 0xa200, 0xe41e, 0x0b30, 0x4e43, 0xf03e, 
+    0x1452, 0x4e43, 0x1444, 0x0c43, 0xf680, 0xf07a, 0xe41e, 0x044e, 
+    0x1443, 0x4e44, 0x0c52, 0xf0da, 0xe41e, 0x1121, 0xa202, 0x4e2f, 
+    0xe41e, 0x03af, 0x1469, 0xa002, 0x4e69, 0x1444, 0x0c52, 0xf554, 
+    0xa202, 0xe42e, 0x1427, 0x4e42, 0xa200, 0x4e43, 0x4e44, 0x4e33, 
+    0xa2fe, 0x4e40, 0xe41e, 0x1121, 0x1444, 0x0c43, 0xf072, 0xe41e, 
+    0x044e, 0x1443, 0x4e44, 0x0c52, 0xf2fa, 0xe41e, 0x03af, 0x1443, 
+    0x0432, 0x4e43, 0x1433, 0xa002, 0x4e33, 0x1444, 0x0c52, 0xf24a, 
+    0x1444, 0x0c43, 0xf094, 0xba20, 0xa102, 0xf678, 0xe41e, 0x1121, 
+    0x1469, 0xa002, 0x4e69, 0xe41e, 0x04f5, 0x1441, 0xf12a, 0xba60, 
+    0xba48, 0x4e41, 0x1440, 0xba43, 0xf038, 0xe046, 0xf758, 0xba48, 
+    0x4e27, 0x1441, 0x4e33, 0x8233, 0x8132, 0xe018, 0x4e43, 0xf4de, 
+    0x1452, 0x4e43, 0xf4ae, 0xa22c, 0xe41e, 0x0479, 0xa17e, 0xf048, 
+    0xe41e, 0x0b63, 0xba6a, 0xe41e, 0x0b63, 0xa202, 0xe42e, 0x1427, 
+    0x4e62, 0x1432, 0x0443, 0x4e45, 0x1422, 0xf1ea, 0x1424, 0xf048, 
+    0xe41e, 0x063a, 0xf03e, 0xe41e, 0x06e4, 0xf048, 0x1443, 0x4e44, 
+    0xe42e, 0x1424, 0xf048, 0xe41e, 0x068e, 0xf03e, 0xe41e, 0x074a, 
+    0xf048, 0x1443, 0x4e44, 0xe42e, 0xe41e, 0x083a, 0xe41e, 0x0850, 
+    0xe12c, 0xa200, 0x4e47, 0x1443, 0x4e53, 0xc70f, 0x3c50, 0x4854, 
+    0x4e55, 0x1453, 0x0c52, 0xe40a, 0x0449, 0xe41e, 0x1141, 0x1453, 
+    0xe002, 0x004f, 0xf028, 0xe190, 0xe41e, 0x0535, 0xe40a, 0x044c, 
+    0x145d, 0x4e62, 0xc001, 0x1410, 0xf05a, 0x140f, 0xc000, 0xe418, 
+    0x02ea, 0xc000, 0xc001, 0x1410, 0xf05a, 0x140e, 0xc000, 0xe418, 
+    0x02af, 0xc000, 0xe41e, 0x0f5d, 0x1453, 0xa002, 0x4e53, 0xc001, 
+    0x1408, 0xc000, 0xf0da, 0x1453, 0x0c52, 0xf0aa, 0xc874, 0xc001, 
+    0x130a, 0x270b, 0xc000, 0xae07, 0xe045, 0xe405, 0x044c, 0xe41e, 
+    0x114d, 0x1422, 0xf168, 0x1436, 0xf1e8, 0x1430, 0xf238, 0xe41e, 
+    0x04c8, 0xe41e, 0x04af, 0xf05a, 0xba40, 0xe41e, 0x0b63, 0xf2ae, 
+    0xe41e, 0x0497, 0xe40a, 0x03d9, 0xba40, 0xe41e, 0x0b63, 0xf22e, 
+    0x1453, 0x0c45, 0xe408, 0x03d9, 0x1447, 0xf1c8, 0xba40, 0xe41e, 
+    0x0b63, 0xf18e, 0xe41e, 0x04d0, 0xe40a, 0x03d9, 0xe41e, 0x0b63, 
+    0xf11e, 0x1453, 0x0c45, 0xe408, 0x03d9, 0x1462, 0x4e27, 0xba20, 
+    0xa102, 0xf08a, 0xa222, 0xe41e, 0x0479, 0xa102, 0xf038, 0xe41e, 
+    0x0b63, 0x1453, 0x4e44, 0xe42e, 0xe16a, 0xf7ce, 0x164c, 0xe016, 
+    0x4e58, 0xe016, 0x4e59, 0x1442, 0x4e5d, 0xa200, 0x4e5b, 0x4e5f, 
+    0x4e5c, 0x1444, 0x4e53, 0xc70f, 0x3c50, 0x4854, 0x4e55, 0x1453, 
+    0x0c43, 0xf132, 0xe41e, 0x1141, 0x1458, 0xe418, 0x1165, 0x1458, 
+    0xe41a, 0x0a59, 0xe41e, 0x0ed9, 0xe41e, 0x0f5d, 0x1453, 0xa002, 
+    0x4e53, 0xe41e, 0x114d, 0xf6ce, 0x1443, 0x0c44, 0x0446, 0x4e46, 
+    0xe42e, 0x4e48, 0xc865, 0xa80f, 0xe042, 0x4e49, 0x5e49, 0xa203, 
+    0x3548, 0xa103, 0xe052, 0xe42e, 0xe41e, 0x04c8, 0xe005, 0x006b, 
+    0xae19, 0xa003, 0xba24, 0xe046, 0xe016, 0xe42e, 0xe41e, 0x04c8, 
+    0xa23f, 0xae19, 0xa003, 0xba20, 0xe046, 0xe016, 0xe42e, 0xc864, 
+    0xa80e, 0xa102, 0xb6e8, 0xa002, 0x4e48, 0x5e48, 0xa203, 0x3548, 
+    0xaf03, 0xa103, 0xe046, 0xe016, 0xe42a, 0xa22e, 0x0448, 0x4e48, 
+    0x5e48, 0xa203, 0xae2f, 0xa103, 0xe052, 0xe016, 0xe42e, 0xc864, 
+    0xa80e, 0xa102, 0xb6e8, 0xa002, 0x4e48, 0x5e48, 0xa203, 0x3548, 
+    0xaf03, 0xa103, 0xe046, 0xe016, 0xe42a, 0x1461, 0x0448, 0x4e48, 
+    0x5e48, 0xa203, 0x3561, 0xa103, 0xe052, 0xa102, 0xe016, 0xe42e, 
+    0x1424, 0xa012, 0x4e48, 0x5e48, 0xa102, 0xe428, 0x5648, 0xf7ce, 
+    0xc865, 0xa80f, 0x4f48, 0x5e48, 0xe016, 0xa023, 0x4f48, 0xe42a, 
+    0x5e48, 0xa102, 0xe016, 0xe42e, 0xe41e, 0x0b63, 0x5e61, 0xa102, 
+    0xe016, 0xe428, 0xba2c, 0xe42a, 0xba4e, 0xc001, 0x1408, 0xc000, 
+    0xf0ca, 0xc874, 0xc001, 0x130a, 0x270b, 0xc000, 0xae07, 0xe045, 
+    0xe403, 0x04f4, 0xa200, 0xe42e, 0xf6ae, 0xba20, 0xa102, 0xf12a, 
+    0xc001, 0x1408, 0xc000, 0xf0ca, 0xc874, 0xc001, 0x130a, 0x270b, 
+    0xc000, 0xae07, 0xe045, 0xe403, 0x0507, 0xa200, 0xe42e, 0xba40, 
+    0xf6de, 0xba2a, 0xa83e, 0x4e41, 0xe42a, 0xa13e, 0xe42a, 0x1441, 
+    0x0c33, 0xf674, 0x1441, 0x0c32, 0xf642, 0xe42e, 0xe41e, 0x0b63, 
+    0xba20, 0xa102, 0xf12a, 0xc001, 0x1408, 0xc000, 0xf0ca, 0xc874, 
+    0xc001, 0x130a, 0x270b, 0xc000, 0xae07, 0xe045, 0xe403, 0x052a, 
+    0xa200, 0xe42e, 0xba4e, 0xf6de, 0xba2a, 0xa83e, 0xe42a, 0xa13e, 
+    0xe42a, 0xa03e, 0xaf08, 0xf68a, 0xe42e, 0x1430, 0xe408, 0x05b2, 
+    0x1422, 0x1524, 0xf05a, 0xe40b, 0x06ab, 0xe40e, 0x07a1, 0xa200, 
+    0x0424, 0x4e00, 0x5624, 0x4e59, 0xe408, 0x059c, 0x5000, 0xa10e, 
+    0xe40d, 0x05a2, 0xf78a, 0xa00e, 0x4658, 0xaf02, 0x465a, 0xaf02, 
+    0x465b, 0xaf02, 0x4e01, 0x5658, 0x4e5c, 0xa20a, 0x0c58, 0x4e00, 
+    0x5000, 0xae04, 0x2601, 0x4e5e, 0xe40d, 0x05a2, 0x145a, 0x1562, 
+    0x4f5d, 0xe418, 0x0926, 0x1458, 0xe41a, 0x0988, 0xf3cd, 0x1458, 
+    0xe418, 0x1165, 0x1458, 0x1562, 0x0d26, 0xb606, 0x4e5f, 0xe41e, 
+    0x0ed9, 0xa214, 0x0c58, 0xe096, 0xa004, 0xe098, 0xe161, 0x03da, 
+    0xd022, 0x0005, 0x145e, 0xe184, 0x057e, 0x4689, 0xaf02, 0xe161, 
+    0x03d5, 0xa200, 0x4e60, 0xd022, 0x0005, 0xe184, 0x0599, 0x1460, 
+    0xce90, 0x145f, 0xd140, 0x0000, 0xf07a, 0xe41e, 0x0902, 0xe008, 
+    0x0fff, 0xf14d, 0xce82, 0x1491, 0xe418, 0x0866, 0xf0fd, 0x1460, 
+    0xa002, 0x4e60, 0xa202, 0xe42e, 0x1462, 0x4e5d, 0xe41e, 0x0631, 
+    0xa202, 0xe42e, 0xe16a, 0xa200, 0xe42e, 0xe16a, 0xe41e, 0x0f5d, 
+    0x1453, 0xa002, 0x4e53, 0xe41e, 0x114d, 0x1446, 0xa002, 0x4e46, 
+    0xa200, 0xe42e, 0xa200, 0x1524, 0xb452, 0x2335, 0xb432, 0x4e00, 
+    0x5624, 0x4e59, 0xe408, 0x061e, 0x5000, 0xa10e, 0xe40d, 0x0624, 
+    0xf78a, 0xa00e, 0x4658, 0xaf02, 0x465a, 0xaf02, 0x465b, 0xaf02, 
+    0x4e01, 0x1458, 0x2234, 0xf07a, 0xba40, 0x4e5c, 0x575c, 0x345c, 
+    0xe042, 0x4e5c, 0xa20a, 0x0c58, 0x4e00, 0x5000, 0xae04, 0x2601, 
+    0x4e5e, 0xe40d, 0x0624, 0x145a, 0x1562, 0x4f5d, 0xe418, 0x0930, 
+    0x1458, 0xf088, 0x1439, 0xf04a, 0xe41e, 0x09a8, 0xf03e, 0xe41e, 
+    0x0988, 0xf3bd, 0x1458, 0xe418, 0x1165, 0x1434, 0xe016, 0x2258, 
+    0x4e5f, 0xe41e, 0x0ed9, 0xa214, 0x1534, 0x2358, 0xb4b2, 0xe096, 
+    0xe161, 0x03da, 0xd022, 0x0005, 0x145e, 0xe184, 0x0600, 0x4689, 
+    0xaf02, 0xe161, 0x03d5, 0xa200, 0x4e60, 0xd022, 0x0005, 0xe184, 
+    0x061b, 0x1460, 0xce90, 0x145f, 0xd140, 0x0000, 0xf07a, 0xe41e, 
+    0x0918, 0xf16d, 0xe008, 0x0fff, 0xce82, 0x1491, 0xe418, 0x0866, 
+    0xf0fd, 0x1460, 0xa002, 0x4e60, 0xa202, 0xe42e, 0x1462, 0x4e5d, 
+    0xe41e, 0x0631, 0xa202, 0xe42e, 0xe16a, 0xa200, 0xe42e, 0xe16a, 
+    0xe41e, 0x0f5d, 0x1453, 0xa002, 0x4e53, 0xe41e, 0x114d, 0xa200, 
+    0xe42e, 0xe41e, 0x0a59, 0xa200, 0x4e5f, 0x4e58, 0x4e5c, 0xe41e, 
+    0x0ed9, 0xe42e, 0xe41e, 0x0816, 0x1443, 0x4e53, 0x1453, 0x0c52, 
+    0xf3b2, 0x1453, 0xe002, 0x0230, 0xf028, 0xe190, 0xe12c, 0xb800, 
+    0xa10e, 0xe40d, 0x0688, 0xf7ca, 0xa00e, 0x4658, 0xaf02, 0x465a, 
+    0xaf02, 0x465b, 0xaf02, 0x4e01, 0x145a, 0x1562, 0x4f5d, 0xe418, 
+    0x0926, 0xa202, 0x1562, 0x0d26, 0xb606, 0x4e5f, 0x145f, 0xe418, 
+    0x08f2, 0xf27d, 0xe12d, 0x1401, 0xba82, 0x145d, 0xba88, 0x145f, 
+    0xba80, 0xe161, 0x03db, 0xd022, 0x0005, 0xe184, 0x0670, 0x1491, 
+    0xba9e, 0xe12c, 0x145d, 0x4e62, 0x1453, 0xa002, 0x4e53, 0xe41e, 
+    0x0484, 0xe40a, 0x063e, 0xba64, 0xe12d, 0xbabe, 0xe190, 0xbabe, 
+    0x141a, 0xe418, 0x12b5, 0xe12c, 0x1453, 0x4e45, 0xa202, 0xe42e, 
+    0xe16a, 0xe12c, 0x1453, 0x4e45, 0xa200, 0xe42e, 0xe41e, 0x0828, 
+    0x1445, 0x0c43, 0xf12a, 0xa102, 0xcc44, 0xe184, 0x069d, 0xe12c, 
+    0xba40, 0xb809, 0xf0dd, 0xe12e, 0xba80, 0xba87, 0xbabe, 0xe190, 
+    0xbabe, 0x141b, 0xe418, 0x12d9, 0xe12c, 0xa202, 0xe42e, 0xe16a, 
+    0xe12c, 0xa200, 0xe42e, 0xa202, 0x4e58, 0xa212, 0x1523, 0xb492, 
+    0xe096, 0xa216, 0xe098, 0xe161, 0x03d5, 0xe12e, 0xba40, 0x4e5c, 
+    0xba40, 0x4e91, 0xba40, 0x4e91, 0xba40, 0x4e91, 0xba40, 0x4e91, 
+    0xe12d, 0xba40, 0x4e91, 0xba40, 0x4e91, 0xba48, 0x4e5d, 0xba40, 
+    0x4e5f, 0xe161, 0x03db, 0xd022, 0x0005, 0xe184, 0x06d0, 0xba5e, 
+    0x4e91, 0xe41e, 0x0ed9, 0x1447, 0xe12c, 0xe418, 0x0974, 0x1447, 
+    0xf078, 0xe41e, 0x0944, 0xf04c, 0xe16a, 0xa202, 0x4e47, 0x1446, 
+    0x0447, 0x4e46, 0xa202, 0xe42e, 0xe41e, 0x0816, 0x1443, 0x4e53, 
+    0x1453, 0x0c52, 0xe402, 0x0737, 0xe12c, 0xba40, 0xe408, 0x072d, 
+    0xb802, 0xa10e, 0xe40d, 0x0744, 0xf79a, 0xa00e, 0x4e01, 0xa80e, 
+    0x4658, 0xaf02, 0x465a, 0xaf02, 0x465b, 0x1401, 0xaf06, 0x4e01, 
+    0x1458, 0xe161, 0x03a0, 0xf108, 0x145b, 0xb670, 0xcc44, 0xe184, 
+    0x0712, 0xe41e, 0x0a34, 0xe40d, 0x0744, 0x4e91, 0xe41e, 0x0a34, 
+    0xe40d, 0x0744, 0x4e91, 0xe12d, 0xbac0, 0x145b, 0xae02, 0x265a, 
+    0xae02, 0x2658, 0xba84, 0x1401, 0xba82, 0x1458, 0xe161, 0x03a0, 
+    0xe408, 0x072f, 0x145b, 0xb670, 0xcc44, 0xe184, 0x072a, 0x1491, 
+    0xba9c, 0x1491, 0xba9c, 0xe40e, 0x072f, 0xe12d, 0xbae0, 0xe12c, 
+    0x1453, 0xa002, 0x4e53, 0xe41e, 0x048e, 0xe40a, 0x06e8, 0xba60, 
+    0xe12d, 0xbabe, 0xe190, 0xbabe, 0x141a, 0xe418, 0x12b5, 0xe12c, 
+    0x1453, 0x4e45, 0xa202, 0xe42e, 0xe16a, 0xe12c, 0x1453, 0x4e45, 
+    0xa200, 0xe42e, 0xe41e, 0x083a, 0xe41e, 0x0828, 0x1443, 0x4e53, 
+    0x1453, 0xe002, 0x0030, 0xf028, 0xe190, 0xe41e, 0x07fc, 0x1459, 
+    0xe408, 0x078e, 0xe12c, 0x5658, 0x4e5c, 0xa20a, 0x0c58, 0x4e00, 
+    0x5000, 0x4e02, 0xf3bd, 0x145a, 0x1562, 0x4f5d, 0xe418, 0x0926, 
+    0x1458, 0x1562, 0x0d26, 0xb606, 0x4e5f, 0x145f, 0xe418, 0x08f2, 
+    0xe40d, 0x079d, 0xe12e, 0x1402, 0xba86, 0x145d, 0xba88, 0x145f, 
+    0xba80, 0x1458, 0xf0ba, 0x145c, 0xba80, 0xe161, 0x03db, 0xd022, 
+    0x0005, 0xe184, 0x0784, 0x1491, 0xba9e, 0x145d, 0x4e62, 0x1453, 
+    0xa002, 0x4e53, 0x0c45, 0xe408, 0x0750, 0xf06e, 0xe12e, 0x1462, 
+    0x4e5d, 0xba88, 0xf73e, 0xe12e, 0xbabe, 0xe190, 0xbabe, 0x141b, 
+    0xe418, 0x12d9, 0xe12c, 0xa202, 0xe42e, 0xe16a, 0xe12c, 0xa200, 
+    0xe42e, 0xe41e, 0x07fc, 0x1459, 0xe408, 0x07f6, 0xe161, 0x03d5, 
+    0xe12e, 0xba40, 0x4e91, 0xba40, 0x4e91, 0xba40, 0x4e91, 0xba40, 
+    0x4e91, 0x1401, 0xaf02, 0x4e91, 0x1401, 0x4691, 0xba48, 0x4e5d, 
+    0xba40, 0x4e5f, 0x1458, 0xe40a, 0x07de, 0xba40, 0x4e5c, 0xe161, 
+    0x03db, 0xd022, 0x0005, 0xe184, 0x07c6, 0xba5e, 0x4e91, 0xe41e, 
+    0x1165, 0xe41e, 0x0ed9, 0xa212, 0x1523, 0xb492, 0xe096, 0xa216, 
+    0xe098, 0x1447, 0xe12c, 0xe418, 0x0974, 0x1447, 0xf1a8, 0xe41e, 
+    0x0944, 0xf17c, 0xe16a, 0xa202, 0x4e47, 0xf13e, 0xe41e, 0x0a1a, 
+    0xe41e, 0x0ed9, 0xa214, 0x1523, 0xb492, 0xe096, 0xa218, 0xe098, 
+    0xe12c, 0x1447, 0xe41a, 0x0960, 0xf04c, 0xe16a, 0xa202, 0x4e47, 
+    0xe12c, 0x1446, 0x0447, 0x4e46, 0xa202, 0xe42e, 0xe12e, 0xba48, 
+    0x4e5d, 0xe41e, 0x0631, 0xf75e, 0xe12d, 0xba40, 0x4e59, 0xe428, 
+    0xba40, 0x4e5b, 0xba40, 0x4e5a, 0xba40, 0x4e58, 0xba42, 0x4e01, 
+    0x1458, 0xe428, 0xe161, 0x03a0, 0x145b, 0xb670, 0xcc44, 0xe184, 
+    0x0814, 0xba5c, 0x4e91, 0xba5c, 0x4e91, 0xe42e, 0xe41e, 0x11f2, 
+    0xc001, 0x1406, 0xf06a, 0x1002, 0x2603, 0xc000, 0x487e, 0xf03e, 
+    0xe004, 0x0338, 0xc000, 0x4e18, 0xa200, 0x4e1a, 0x4e16, 0xe42e, 
+    0xe41e, 0x1202, 0xc001, 0x1406, 0xf06a, 0x1004, 0x2605, 0xc000, 
+    0x487f, 0xf03e, 0xe004, 0x03f8, 0xc000, 0x4e19, 0xa200, 0x4e1b, 
+    0x4e17, 0xe42e, 0xe41e, 0x11f2, 0xc001, 0x1406, 0xf06a, 0x1002, 
+    0x2603, 0xc000, 0x487e, 0xf03e, 0xe004, 0x0338, 0xc000, 0x4e18, 
+    0x141a, 0xe418, 0x1271, 0xa202, 0x4e16, 0xe12d, 0xe128, 0xe42e, 
+    0xe41e, 0x1202, 0xc001, 0x1406, 0xf06a, 0x1004, 0x2605, 0xc000, 
+    0x487f, 0xf03e, 0xe004, 0x03f8, 0xc000, 0x4e19, 0x141b, 0xe418, 
+    0x1293, 0xa202, 0x4e17, 0xe12e, 0xe128, 0xe42e, 0x9003, 0xe049, 
+    0xaf25, 0xe42d, 0xf04a, 0xce82, 0xf7ab, 0xe42e, 0x1423, 0x1530, 
+    0xe408, 0x08d6, 0xe409, 0x08a8, 0xba40, 0xba01, 0xf03a, 0xf0eb, 
+    0xf1ae, 0xe086, 0xa102, 0xcc90, 0x9003, 0xcc92, 0xe42d, 0xc892, 
+    0xe049, 0xaf25, 0xce82, 0xf63b, 0xe42e, 0xe086, 0xa102, 0xcc90, 
+    0xba40, 0x9003, 0xcc94, 0xe42d, 0xc894, 0xe049, 0xaf25, 0xce82, 
+    0xf56b, 0xe42e, 0xba40, 0xba40, 0xae24, 0xba4b, 0xae19, 0xe056, 
+    0xba41, 0xf0db, 0xba57, 0xe056, 0xe009, 0x07ff, 0xf08b, 0xba41, 
+    0xf06b, 0xce82, 0xaf24, 0xe40a, 0x0866, 0xe42e, 0xe16b, 0xe42e, 
+    0xba40, 0xae24, 0xba4b, 0xae19, 0xe056, 0xba4f, 0x4f6c, 0xf25b, 
+    0xe003, 0x0080, 0xe40b, 0x08c3, 0x156c, 0xaf0f, 0xf07b, 0x156c, 
+    0xe003, 0x0100, 0xe009, 0x0fff, 0x4f6c, 0x266c, 0xce82, 0xaf24, 
+    0xe40a, 0x0866, 0xe42e, 0x1537, 0xf10b, 0xba49, 0x4f6c, 0xba4b, 
+    0xae0b, 0x276c, 0x4f6c, 0xaf15, 0xf71b, 0x156c, 0xe003, 0x0800, 
+    0xe009, 0x0fff, 0x4f6c, 0xf6ae, 0xe16b, 0xe42e, 0xba40, 0xf19a, 
+    0xba40, 0xae24, 0xba4b, 0xae19, 0xe056, 0xba41, 0xf12b, 0xba55, 
+    0x4f6c, 0xba41, 0xf0eb, 0xba49, 0xf06b, 0x156c, 0xe013, 0xe009, 
+    0x0fff, 0x4f6c, 0x266c, 0xce82, 0xaf24, 0xe40a, 0x0866, 0xe42e, 
+    0xe16b, 0xe42e, 0xe161, 0x03db, 0xa200, 0x4e60, 0xd022, 0x0005, 
+    0xe184, 0x0900, 0xe41e, 0x0902, 0xe42d, 0x4e91, 0x1460, 0xa002, 
+    0x4e60, 0xe42e, 0x1460, 0xaf04, 0xa00e, 0x4e6c, 0x506c, 0xe42d, 
+    0xe42a, 0x4e6c, 0xba01, 0x566c, 0xf059, 0xa203, 0x356c, 0xe046, 
+    0xa002, 0x156c, 0xa111, 0xf047, 0xba41, 0xf029, 0xe16b, 0xe42e, 
+    0xba4e, 0xe049, 0xe003, 0x0080, 0xf08a, 0xf07b, 0xe003, 0x007f, 
+    0xe429, 0xe004, 0x0080, 0xe42e, 0xe16b, 0xe42e, 0xba42, 0xe000, 
+    0x02c8, 0xe09e, 0x1487, 0x0462, 0xa402, 0xa53e, 0x4e5d, 0xe42e, 
+    0x1437, 0xe40a, 0x0926, 0xba40, 0xf0da, 0xba40, 0xae0a, 0x0462, 
+    0xe000, 0x02cc, 0xe09e, 0x1487, 0x0462, 0xa402, 0xa53e, 0x4e5d, 
+    0xe42e, 0xba48, 0x4e5d, 0xe42e, 0xa200, 0x4e60, 0xe161, 0x03db, 
+    0xe162, 0x03d5, 0xd022, 0x0005, 0xe184, 0x095e, 0x1460, 0xce90, 
+    0x145f, 0xd140, 0x0000, 0xf05a, 0x1491, 0xe008, 0x0fff, 0xce82, 
+    0x1492, 0xe418, 0x0866, 0xe42d, 0x1460, 0xa002, 0x4e60, 0xe42e, 
+    0xa200, 0x4e60, 0xe161, 0x03d5, 0xd022, 0x0005, 0xe184, 0x0972, 
+    0xd140, 0x0000, 0x1491, 0x1560, 0xce91, 0xa003, 0x4f60, 0xe418, 
+    0x0866, 0xe42d, 0xe190, 0xe42e, 0x145f, 0xe42a, 0xa200, 0x4e60, 
+    0xe161, 0x03db, 0xd022, 0x0005, 0xe184, 0x0986, 0x1460, 0xe0c2, 
+    0x0103, 0x1491, 0xe0c2, 0x0140, 0x1460, 0xa002, 0x4e60, 0xe42e, 
+    0xe41e, 0x1174, 0xe161, 0x03e1, 0x155b, 0xe004, 0x06db, 0xb616, 
+    0xcf04, 0xb673, 0x4f91, 0xcc45, 0xe184, 0x09a4, 0xe41e, 0x0a34, 
+    0xe42d, 0x4e91, 0xe41e, 0x0a34, 0xe42d, 0x4e89, 0x1091, 0x2689, 
+    0xcf0a, 0xe190, 0xcb14, 0x4891, 0x4e91, 0xe41e, 0x1186, 0xe42e, 
+    0xe41e, 0x1174, 0xe161, 0x03e1, 0x155b, 0xe004, 0x06db, 0xb616, 
+    0xcf04, 0xb673, 0x4f91, 0xcc45, 0xe184, 0x0a16, 0x143a, 0xe408, 
+    0x0a02, 0xe41e, 0x0a34, 0xe42d, 0x4e91, 0xe41e, 0x0a34, 0xe42d, 
+    0x4e89, 0x896c, 0x0181, 0x1091, 0x2689, 0xcf0a, 0xe190, 0xcb14, 
+    0x4891, 0x4e89, 0xcb0c, 0xaf20, 0xa140, 0xf086, 0xcb14, 0xaf20, 
+    0xa17e, 0xf046, 0x1481, 0xa180, 0x4e81, 0xcb0c, 0xaf20, 0xa03e, 
+    0xf082, 0xcb14, 0xaf20, 0xa07e, 0xf042, 0x1481, 0xa080, 0x4e81, 
+    0xcb0c, 0xae28, 0xaf28, 0xa140, 0xf0a6, 0xcb14, 0xae28, 0xaf28, 
+    0xa17e, 0xf056, 0x8091, 0x1481, 0xa180, 0x4e89, 0xcb0c, 0xae28, 
+    0xaf28, 0xa03e, 0xf0a2, 0xcb14, 0xae28, 0xaf28, 0xa07e, 0xf052, 
+    0x8091, 0x1481, 0xa080, 0x4e89, 0x146c, 0xcf02, 0x1091, 0x2689, 
+    0xcf08, 0xf14e, 0xe41e, 0x0a40, 0xe42d, 0x4e91, 0xe41e, 0x0a40, 
+    0xe42d, 0x4e89, 0xa102, 0xf058, 0x1481, 0xa102, 0xf028, 0xba40, 
+    0x1091, 0x2689, 0xcf0a, 0xe190, 0xcb14, 0x4891, 0x4e91, 0xe41e, 
+    0x1186, 0xe42e, 0xe41e, 0x1174, 0xe161, 0x03e1, 0x155b, 0xe004, 
+    0x06db, 0xb616, 0xcf04, 0xb673, 0x4f91, 0xcc45, 0xe162, 0x03a0, 
+    0xe184, 0x0a30, 0x1092, 0x2692, 0xcf0a, 0xe190, 0xcb14, 0x4891, 
+    0x4e91, 0xe41e, 0x1186, 0xe42e, 0xb80c, 0xa140, 0xe42d, 0xe42a, 
+    0x3429, 0x5729, 0x0d2a, 0xf030, 0xe046, 0xe046, 0xe042, 0xe42e, 
+    0xba40, 0xe016, 0xe42a, 0xa200, 0x4e3c, 0xba41, 0x4f3d, 0xba41, 
+    0xf0ab, 0xae02, 0x043d, 0x153c, 0xa003, 0x4f3c, 0xa119, 0xf765, 
+    0xe16b, 0xe42e, 0xa203, 0x353c, 0xe042, 0x153d, 0xe42b, 0xe012, 
+    0xe42e, 0xe41e, 0x1174, 0xa200, 0xcf04, 0xcf08, 0xe161, 0x03e1, 
+    0x4e91, 0x4e91, 0x4e91, 0xe41e, 0x1186, 0xe42e, 0xe41e, 0x0b63, 
+    0xba2e, 0xa102, 0xf108, 0x146d, 0xf278, 0xba7e, 0xe002, 0x013f, 
+    0xf780, 0xe000, 0x001f, 0xf754, 0xe41e, 0x0b98, 0xf128, 0xe41e, 
+    0x0b63, 0xf6fe, 0x146d, 0xf188, 0xba2a, 0xa140, 0xf088, 0xba6a, 
+    0xe41e, 0x0cac, 0xf0e8, 0xe41e, 0x0b63, 0xf63e, 0xba4e, 0xf61e, 
+    0xa200, 0x4e30, 0x4e34, 0x4e35, 0x4e36, 0x4e37, 0xa202, 0xe42e, 
+    0xa202, 0x4e30, 0xe42e, 0xa200, 0xe42e, 0xe41e, 0x0b63, 0xc001, 
+    0x1408, 0xc000, 0xf068, 0xe41e, 0x13e5, 0xf03a, 0xa200, 0xe42e, 
+    0xc001, 0x1408, 0xc000, 0xf0ba, 0xc874, 0xc001, 0x130a, 0x270b, 
+    0xc000, 0xae07, 0xe045, 0xf031, 0xa200, 0xe42e, 0xe41e, 0x0b63, 
+    0xba2e, 0xa102, 0xf03a, 0xba4e, 0xf63e, 0xba7e, 0x4e04, 0xe002, 
+    0x01b0, 0xf048, 0xe41e, 0x0b68, 0xf5be, 0x1404, 0xe002, 0x01b5, 
+    0xf058, 0xe41e, 0x0b70, 0xe40e, 0x0a97, 0x1404, 0xe002, 0x0120, 
+    0xf084, 0xe002, 0x001f, 0xf050, 0xe41e, 0x0b98, 0xe40e, 0x0a97, 
+    0x1404, 0xe002, 0x01b3, 0xf0e8, 0xe41e, 0x0c3a, 0xe40e, 0x0a97, 
+    0x1404, 0xe002, 0x0100, 0xf064, 0xe002, 0x001f, 0xf030, 0xe40e, 
+    0x0a97, 0x1404, 0xe002, 0x01b6, 0xe408, 0x0a97, 0xe41e, 0x0c43, 
+    0xf03a, 0xa202, 0xe42e, 0xa200, 0xe42e, 0xe41e, 0x0b63, 0xba2a, 
+    0xa140, 0xf03a, 0xba4e, 0xf7ae, 0xba6a, 0xe41e, 0x0cac, 0xf76a, 
+    0xa202, 0xe42e, 0xba5e, 0x1461, 0xa120, 0x4e48, 0x5648, 0x1452, 
+    0xe41e, 0x0dd4, 0x4e48, 0x5648, 0x4e01, 0xba48, 0x4e27, 0xba40, 
+    0xe40a, 0x0b2e, 0xba40, 0xf7f8, 0xba40, 0xe40a, 0x0b2e, 0x1620, 
+    0xe41e, 0x0dd4, 0x4e48, 0x5648, 0x4e2b, 0xba40, 0xe40a, 0x0b2e, 
+    0xba42, 0x4e24, 0x4e2e, 0xba44, 0xe000, 0x02c0, 0xe09e, 0x1487, 
+    0x4e26, 0x1424, 0xf0ca, 0xba44, 0x4e28, 0xe0c2, 0x0078, 0xcf0e, 
+    0xa102, 0x4e29, 0xa202, 0x3429, 0xa102, 0x4e2a, 0x1401, 0xe42e, 
+    0x4e05, 0xf028, 0xba60, 0xba40, 0xf16a, 0x1452, 0xe41e, 0x0dd4, 
+    0x4e48, 0x5748, 0x4f01, 0xa116, 0xf036, 0xba40, 0xf0ca, 0x1405, 
+    0xf038, 0xba48, 0x4e27, 0xba40, 0xf06a, 0x1405, 0xf028, 0xba42, 
+    0x1401, 0xe42e, 0xa2fe, 0xe42e, 0x1452, 0xe41e, 0x0dd4, 0x4e48, 
+    0x5648, 0xe41e, 0x0b63, 0x5e61, 0xa102, 0xf088, 0xba5e, 0x1461, 
+    0xa120, 0x4e6c, 0x566c, 0x5648, 0xe42e, 0xba2c, 0xf038, 0x1452, 
+    0xe42e, 0xba4e, 0xf71e, 0xc864, 0xa80e, 0x4e49, 0x5649, 0xe42e, 
+    0xba4e, 0xa102, 0xe424, 0xa104, 0xe420, 0xe41e, 0x0daa, 0xe42e, 
+    0xba40, 0xf08a, 0xba46, 0xa102, 0xe424, 0xa102, 0xe420, 0xba46, 
+    0xe42a, 0xba46, 0xa102, 0xe428, 0xba40, 0xf08a, 0xba44, 0xba40, 
+    0xba40, 0xf04a, 0xba4e, 0xba4e, 0xba4e, 0xe41e, 0x0db6, 0xe42a, 
+    0xe41e, 0x0daa, 0xe41e, 0x0db6, 0xe42a, 0xba7e, 0xe42e, 0xa201, 
+    0xba4e, 0xa003, 0xf05a, 0xe04a, 0xa180, 0xf022, 0xf7ae, 0xe42e, 
+    0xa202, 0x4e00, 0xba40, 0xba4e, 0xba40, 0xf0ba, 0xba46, 0xa102, 
+    0xe404, 0x0c38, 0xa102, 0xe400, 0x0c38, 0xa004, 0x4e00, 0xba44, 
+    0xba46, 0xa11e, 0xf078, 0xba4e, 0xe40a, 0x0c38, 0xba4e, 0xe40a, 
+    0x0c38, 0xba40, 0xf1da, 0xba42, 0xa102, 0xe408, 0x0c38, 0xba40, 
+    0xba40, 0xf16a, 0xba5c, 0xba40, 0xe40a, 0x0c38, 0xba5c, 0xba40, 
+    0xe40a, 0x0c38, 0xba5c, 0xba40, 0xe40a, 0x0c38, 0xba44, 0xba54, 
+    0xba40, 0xe40a, 0x0c38, 0xba5c, 0xba40, 0xe40a, 0x0c38, 0xba42, 
+    0xe408, 0x0c38, 0xba40, 0xe40a, 0x0c38, 0xa202, 0x4e21, 0xba5e, 
+    0xe40a, 0x0c38, 0x4e20, 0xe0c2, 0x0076, 0xba40, 0xe40a, 0x0c38, 
+    0xba40, 0xe40a, 0x0beb, 0x1620, 0xe41e, 0x0dd4, 0x4e48, 0x5648, 
+    0xe40a, 0x0c38, 0x4e21, 0xba40, 0xe40a, 0x0c38, 0xba58, 0x4e07, 
+    0xa01e, 0xaf08, 0x4e50, 0xba40, 0xe40a, 0x0c38, 0xba58, 0x4e0e, 
+    0xa01e, 0xaf08, 0x4e51, 0xba40, 0xe40a, 0x0c38, 0xba40, 0xe408, 
+    0x0c38, 0xba40, 0xe40a, 0x0c38, 0x5600, 0xe408, 0x0c38, 0xba40, 
+    0xe408, 0x0c38, 0xba40, 0xf07a, 0xba40, 0xe418, 0x0b8f, 0xba40, 
+    0xe418, 0x0b8f, 0x1400, 0xa102, 0xe40a, 0x0c19, 0xba40, 0xe408, 
+    0x0c38, 0xba40, 0xe40a, 0x0c38, 0xba40, 0xba40, 0x4e22, 0xe40a, 
+    0x0c22, 0xba40, 0x4e23, 0x1400, 0xa102, 0xe40a, 0x0c29, 0xba40, 
+    0xba40, 0x4e2c, 0xba40, 0xe408, 0x0c38, 0xe41e, 0x0db6, 0xe42a, 
+    0xe41e, 0x0daa, 0x8250, 0x8151, 0xe018, 0x4e52, 0xa202, 0xe42e, 
+    0xa200, 0xe42e, 0xba62, 0xba40, 0xba40, 0xe41e, 0x0db6, 0xe42a, 
+    0xe41e, 0x0daa, 0xe42e, 0xa201, 0xc001, 0x4f17, 0xc000, 0xba42, 
+    0x4e24, 0x4e2e, 0xa104, 0xe402, 0x0caa, 0xba40, 0xb431, 0xf7e8, 
+    0xc001, 0x4f17, 0xc000, 0xba40, 0xe40a, 0x0caa, 0x1620, 0xe41e, 
+    0x0dd4, 0xa102, 0xf022, 0xa200, 0xa002, 0x4e48, 0x5648, 0x486c, 
+    0x4e2b, 0xc001, 0x1412, 0xe0c2, 0x007a, 0x0417, 0x4e12, 0x8212, 
+    0xc000, 0x1620, 0xe41e, 0x0dde, 0x116c, 0x272b, 0xe042, 0xc001, 
+    0x4813, 0x4e14, 0x1115, 0x2716, 0xe046, 0xe0c2, 0x0079, 0x1013, 
+    0x2614, 0x4815, 0x4e16, 0xe0c2, 0x007b, 0xc000, 0xba40, 0xe40a, 
+    0x0caa, 0xba40, 0x4e2d, 0xe40a, 0x0ca5, 0x1424, 0xa102, 0xf038, 
+    0xba40, 0x4e25, 0x142c, 0xf04a, 0xba40, 0xe408, 0x0caa, 0xba44, 
+    0xe000, 0x02c0, 0xe09e, 0x1487, 0x4e26, 0xba48, 0x4e27, 0x1424, 
+    0xe40a, 0x0ca5, 0xba44, 0x4e28, 0xcf0e, 0xe40a, 0x0caa, 0xa102, 
+    0x4e29, 0xa202, 0x3429, 0xa102, 0x4e2a, 0x1528, 0xe0c3, 0x0078, 
+    0xa202, 0xe42e, 0xa200, 0xe42e, 0xba4e, 0x4e2b, 0xba40, 0xe40a, 
+    0x0da8, 0xba40, 0xe408, 0x0da8, 0xba40, 0xba40, 0xba40, 0xba44, 
+    0x4e02, 0xa10e, 0xe40a, 0x0cd7, 0xba40, 0x4e24, 0x4e2e, 0xba40, 
+    0x4e39, 0xba44, 0xe408, 0x0da8, 0xba48, 0x4e27, 0xba40, 0xe408, 
+    0x0da8, 0xe41e, 0x0dc1, 0xe40a, 0x0da8, 0xa200, 0x4e34, 0x4e35, 
+    0x4e36, 0x4e37, 0x4e3a, 0x4e25, 0x4e38, 0xe40e, 0x0d60, 0xa202, 
+    0x4e3a, 0xa200, 0x4e02, 0xba44, 0x4e03, 0xa102, 0xe400, 0x0da8, 
+    0xe404, 0x0cff, 0xba44, 0x4e02, 0xa10c, 0xe418, 0x0dc1, 0xba40, 
+    0x4e38, 0xba40, 0x4e39, 0xba42, 0xe408, 0x0da8, 0xba40, 0x4e34, 
+    0xba40, 0x4e35, 0xba40, 0x4e36, 0xba44, 0xe408, 0x0da8, 0xba40, 
+    0x4e37, 0xba40, 0xe40a, 0x0da8, 0xba44, 0xe408, 0x0da8, 0xba44, 
+    0xa102, 0xe400, 0x0da8, 0xa002, 0x4e24, 0x4e2e, 0xba42, 0xe408, 
+    0x0da8, 0xba40, 0x4e25, 0xba44, 0xa102, 0xe408, 0x0da8, 0xba40, 
+    0xe408, 0x0da8, 0x1402, 0xa10c, 0xf228, 0x1403, 0xf20a, 0xba46, 
+    0xa10a, 0xe400, 0x0da8, 0xba50, 0xa002, 0xae04, 0x4e07, 0xaf04, 
+    0xaf04, 0x4e50, 0x4e32, 0xba40, 0xe40a, 0x0da8, 0xba50, 0xae04, 
+    0x4e0e, 0xaf04, 0xaf04, 0x4e51, 0x4e31, 0xa132, 0xe406, 0x0d36, 
+    0x1432, 0xae02, 0x4e32, 0x1431, 0xaf02, 0x4e31, 0x1438, 0x2203, 
+    0xf11a, 0xba40, 0xe000, 0x03e8, 0xba4d, 0xe40b, 0x0da8, 0x4e21, 
+    0x4f20, 0xe004, 0x1b77, 0xae20, 0xe00a, 0x0040, 0xc70f, 0x3c20, 
+    0x4e20, 0x1438, 0xf05a, 0xba42, 0xae10, 0x262b, 0x4e2b, 0x1439, 
+    0x2203, 0xf07a, 0xba40, 0x4e3b, 0xf048, 0xba40, 0xe40a, 0x0da8, 
+    0x1436, 0x2203, 0xf04a, 0xba42, 0xe408, 0x0da8, 0xba48, 0x4e27, 
+    0xba40, 0xf03a, 0xba4e, 0xf7de, 0x8250, 0x8151, 0xe018, 0x4e52, 
+    0x1436, 0xf05a, 0xa202, 0xe41e, 0x0b30, 0xf3b8, 0x1438, 0xf078, 
+    0xe004, 0x03e9, 0x4e21, 0xe004, 0x7530, 0x4e20, 0xa200, 0x4e22, 
+    0x4e23, 0xa202, 0x4e28, 0x4e2d, 0xcf0e, 0xa200, 0x4e29, 0x4e2a, 
+    0xe167, 0x02c0, 0x1487, 0x4e26, 0x1439, 0xf1fa, 0x143a, 0xf048, 
+    0xa200, 0xcf0e, 0xf1ae, 0x143b, 0xf16a, 0xa204, 0x1550, 0xa12d, 
+    0xf057, 0xa002, 0xa12d, 0xf027, 0xa002, 0x4e6c, 0xa204, 0x1551, 
+    0xa125, 0xf057, 0xa002, 0xa125, 0xf027, 0xa002, 0xae06, 0x266c, 
+    0xcf0e, 0xf03e, 0xd187, 0x0000, 0xa202, 0xe42e, 0xa202, 0xe42e, 
+    0xa200, 0xe42e, 0xba3e, 0xe002, 0x01b2, 0xe428, 0xba7e, 0xba2e, 
+    0xa102, 0xe42a, 0x146d, 0xe428, 0xba4e, 0xf7ae, 0xe41e, 0x0b63, 
+    0xba2e, 0xa102, 0xe016, 0xe428, 0xba4e, 0x146d, 0xf028, 0xf79e, 
+    0xe42e, 0x1402, 0xae04, 0xe000, 0x02a0, 0xe09e, 0x1497, 0x4e07, 
+    0xaf08, 0x4e50, 0x1497, 0x4e0e, 0xaf08, 0x4e51, 0x1497, 0x4e32, 
+    0x1487, 0x4e31, 0xe01a, 0xe42e, 0xa102, 0xa201, 0xf04a, 0xaf02, 
+    0xa003, 0xf7e8, 0xe04a, 0xf028, 0xa202, 0xe42e, 0xae02, 0xc001, 
+    0x4818, 0xe008, 0xffff, 0xaf02, 0x4e19, 0x8118, 0xe018, 0xae1e, 
+    0x8119, 0xc000, 0xe01c, 0xe42e, 0xa200, 0x4e4a, 0xe42e, 0xe004, 
+    0x0080, 0xe0c2, 0x0094, 0xc001, 0x1406, 0xf04a, 0x1000, 0x2601, 
+    0xf08e, 0xc000, 0xe0c0, 0x0041, 0xe005, 0x0320, 0xae11, 0xe042, 
+    0xc000, 0xe0c2, 0x0089, 0x1473, 0x1535, 0xb612, 0x4e73, 0xe0c0, 
+    0x0044, 0x4600, 0xe0c0, 0x0067, 0xe0c2, 0x00ff, 0x1470, 0xe0c2, 
+    0x009b, 0xe0c2, 0x009f, 0xe0c2, 0x018b, 0x1435, 0x2673, 0x4e01, 
+    0xa200, 0xe0c2, 0x0100, 0x1451, 0xae20, 0x2650, 0xae08, 0xe0c2, 
+    0x0084, 0x1400, 0xae04, 0x262e, 0xae10, 0x1537, 0xae03, 0x2736, 
+    0xae03, 0x2735, 0xae03, 0x2734, 0xae05, 0x2730, 0xe056, 0xe0c2, 
+    0x0080, 0x1401, 0xae02, 0xe0c1, 0x0060, 0xe009, 0x001f, 0xae0d, 
+    0xe056, 0x1573, 0xae19, 0xe056, 0x1535, 0xae1b, 0xe056, 0xe0c2, 
+    0x00fa, 0x1401, 0xae0a, 0xe0c1, 0x0060, 0xaf09, 0x4f72, 0xf04b, 
+    0xe0c1, 0x0060, 0xa81f, 0xe056, 0xe0c2, 0x00e7, 0xe0c0, 0x0061, 
+    0xe0c2, 0x00fc, 0xe0c0, 0x0062, 0xe0c2, 0x00fd, 0xe0c0, 0x0063, 
+    0xe0c2, 0x00fe, 0x1425, 0xae06, 0x2600, 0xae20, 0x2670, 0xe0c2, 
+    0x0282, 0x1450, 0xae20, 0x2651, 0xae08, 0xe0c2, 0x0283, 0x1450, 
+    0xae0c, 0x2651, 0xe0c2, 0x0183, 0x1473, 0xae02, 0x2601, 0xe0c2, 
+    0x018d, 0x1401, 0xae04, 0xa902, 0xae02, 0x2601, 0xae02, 0x2601, 
+    0xae02, 0xe0c2, 0x0182, 0xa202, 0xae3e, 0xa906, 0xe0c2, 0x00ec, 
+    0xa200, 0xe0c2, 0x0102, 0xa202, 0xe0c2, 0x0102, 0xa204, 0xe0c2, 
+    0x0102, 0x824a, 0xc786, 0xe018, 0xe000, 0x03f0, 0xe09e, 0x1097, 
+    0x2697, 0xe0c2, 0x009c, 0xe0c2, 0x0188, 0x1097, 0x2697, 0xe0c2, 
+    0x009d, 0xe0c2, 0x0189, 0x1097, 0x2697, 0xe0c2, 0x009e, 0xe0c2, 
+    0x018a, 0x1473, 0xf0da, 0xe0c0, 0x0064, 0xe0c2, 0x0188, 0xe0c0, 
+    0x0065, 0xe0c2, 0x0189, 0xe0c0, 0x0066, 0xe0c2, 0x018a, 0x824b, 
+    0xc786, 0xe018, 0xe000, 0x03f0, 0xe09e, 0x1097, 0x2697, 0xe0c2, 
+    0x02c0, 0x1097, 0x2697, 0xe0c2, 0x02c1, 0x1097, 0x2697, 0xe0c2, 
+    0x02c2, 0x144a, 0xe0c2, 0x0071, 0xe0c2, 0x0077, 0x4e4b, 0xa002, 
+    0x4e4a, 0x0c4d, 0xf028, 0x4e4a, 0xa200, 0x4e71, 0xa200, 0x4e56, 
+    0x4e57, 0xa200, 0xe0c2, 0x00a1, 0xa200, 0x4e69, 0xa202, 0x4e78, 
+    0xe42e, 0x1453, 0xe418, 0x1114, 0x1458, 0xe41a, 0x106e, 0x1454, 
+    0xae20, 0x2655, 0xe0c2, 0x0284, 0x1478, 0xae04, 0x2658, 0xaa0a, 
+    0xe0c2, 0x0280, 0x1471, 0xe0c2, 0x0102, 0xe0c2, 0x0101, 0x1435, 
+    0xe418, 0x10a6, 0x1473, 0xe418, 0x10d6, 0xe41e, 0x107e, 0x147c, 
+    0xe0c2, 0x0082, 0xa202, 0x1553, 0xb616, 0x4e77, 0xa103, 0xb616, 
+    0x4e74, 0xa103, 0xb616, 0x4e75, 0xa103, 0xb616, 0x4e05, 0xa103, 
+    0xb616, 0x4e06, 0x1435, 0x1573, 0xf038, 0xf049, 0xf04e, 0x1475, 
+    0xf02e, 0x1405, 0x4e00, 0x1435, 0x1573, 0xf058, 0x1472, 0xf059, 
+    0xf068, 0xf06e, 0x1405, 0xf04e, 0x1406, 0xf02e, 0x1475, 0x4e01, 
+    0x1435, 0x1573, 0xf038, 0xf049, 0xf04e, 0x1405, 0xf02e, 0x1406, 
+    0x4e04, 0x1573, 0x1472, 0x2205, 0xf02b, 0x2206, 0x4e02, 0x1435, 
+    0x2673, 0xe016, 0x2272, 0x2275, 0x4e03, 0xe418, 0x1105, 0x1404, 
+    0xae02, 0x2602, 0xae02, 0x2603, 0xae18, 0x2676, 0xe0c2, 0x00e6, 
+    0x1401, 0xae02, 0x1578, 0xe017, 0x2377, 0xe056, 0xae02, 0x2600, 
+    0xae02, 0x1558, 0xe017, 0xe056, 0xae04, 0x2675, 0xae04, 0x2674, 
+    0xae02, 0x1530, 0xe017, 0x2734, 0x2377, 0xe056, 0xae02, 0xe0c2, 
+    0x0083, 0xa202, 0xe0c2, 0x0093, 0xe42e, 0xe41e, 0x111a, 0x147b, 
+    0x4e7c, 0x1458, 0xae14, 0x265d, 0x4e7b, 0x1458, 0x4e78, 0xe0c0, 
+    0x0184, 0x4e76, 0xe42e, 0xe41e, 0x1114, 0x1478, 0xe016, 0xae04, 
+    0xe0c2, 0x0280, 0x1471, 0xe0c2, 0x0102, 0xe0c2, 0x0101, 0x1435, 
+    0xe418, 0x10a6, 0x1473, 0xe418, 0x10d6, 0xe41e, 0x107e, 0x1435, 
+    0x2673, 0x4e00, 0x1435, 0x2673, 0x2672, 0x4e01, 0x1435, 0x2673, 
+    0x4e04, 0x1472, 0x4e02, 0x1435, 0x2673, 0xe016, 0x2272, 0x4e03, 
+    0x1403, 0xe418, 0x1105, 0x1404, 0xae02, 0x2602, 0xae02, 0x2603, 
+    0xae18, 0x2676, 0xe0c2, 0x00e6, 0x147c, 0xe0c2, 0x0082, 0x1401, 
+    0xae02, 0x1578, 0xe017, 0x2377, 0xe056, 0xae02, 0x2600, 0xae0e, 
+    0xa928, 0x1530, 0xe017, 0x2734, 0xae03, 0xe056, 0xe0c2, 0x0083, 
+    0xa202, 0xe0c2, 0x0093, 0xe41e, 0x0f5d, 0xe42e, 0xe41e, 0x1114, 
+    0x1471, 0xe0c2, 0x0102, 0xe0c2, 0x0101, 0x1435, 0xe418, 0x10a6, 
+    0x1473, 0xe418, 0x10d6, 0x1435, 0x2673, 0x4e00, 0x1435, 0x2673, 
+    0x2672, 0x4e01, 0x1435, 0x2673, 0x4e04, 0x1472, 0x4e02, 0x1435, 
+    0x2673, 0xe016, 0x2272, 0x4e03, 0x1403, 0xe418, 0x1105, 0x1404, 
+    0xae02, 0x2602, 0xae02, 0x2603, 0xae18, 0x2676, 0xe0c2, 0x00e6, 
+    0x147c, 0xe0c2, 0x0082, 0x1401, 0xae04, 0x2600, 0xae0e, 0xa928, 
+    0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0xe41e, 0x0f5d, 0xe42e, 
+    0xe41e, 0x1114, 0x1471, 0xe0c2, 0x0102, 0xe0c2, 0x0101, 0x1435, 
+    0xe418, 0x10a6, 0x1473, 0xe418, 0x10d6, 0x1435, 0x2673, 0x4e00, 
+    0x1435, 0x2673, 0x2672, 0x4e01, 0x1435, 0x2673, 0x4e04, 0x1472, 
+    0x4e02, 0x1435, 0x2673, 0xe016, 0x2272, 0x4e03, 0x1403, 0xe418, 
+    0x1105, 0x1404, 0xae02, 0x2602, 0xae02, 0x2603, 0xae18, 0x2676, 
+    0xe0c2, 0x00e6, 0x1401, 0xae04, 0x2600, 0xae0e, 0xa920, 0xe0c2, 
+    0x0083, 0xa202, 0xe0c2, 0x0093, 0xe41e, 0x0f5d, 0xe42e, 0xe41e, 
+    0x1114, 0x1471, 0xe0c2, 0x0102, 0xe0c2, 0x0101, 0x1473, 0xe418, 
+    0x10d6, 0x1473, 0x4e00, 0x1435, 0x2673, 0x2672, 0x4e01, 0x1435, 
+    0x2673, 0x4e04, 0x1472, 0x4e02, 0xa200, 0x4e03, 0x1404, 0xae02, 
+    0x2602, 0xae02, 0x2603, 0xae18, 0x2676, 0xe0c2, 0x00e6, 0x1401, 
+    0xae04, 0x2600, 0xae0e, 0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 
+    0xe41e, 0x0f5d, 0xe42e, 0xe41e, 0x1114, 0x1471, 0xe0c2, 0x0102, 
+    0xe0c2, 0x0101, 0x1473, 0x2272, 0x4e02, 0x1473, 0xae02, 0x2602, 
+    0xae1a, 0x2676, 0xe0c2, 0x00e6, 0xe004, 0x0200, 0xe0c2, 0x0083, 
+    0xa202, 0xe0c2, 0x0093, 0xe41e, 0x1114, 0xe42e, 0xcb04, 0xe0c2, 
+    0x0285, 0xe161, 0x03e1, 0xe162, 0x02f0, 0xc420, 0x8891, 0x0022, 
+    0xe184, 0x107c, 0x1091, 0x2691, 0x9f32, 0xe42e, 0x1479, 0xe0c2, 
+    0x008a, 0x1469, 0x4e79, 0x1434, 0x1530, 0xf0d8, 0xe429, 0x147a, 
+    0xe0c2, 0x0088, 0x145d, 0xae04, 0x2658, 0xae06, 0x265c, 0xae02, 
+    0x4e7a, 0xe42e, 0x147d, 0xe0c2, 0x0104, 0x145c, 0xaf02, 0x2a5c, 
+    0x1558, 0xb616, 0x4e7d, 0x147a, 0xe0c2, 0x0088, 0x145c, 0xae0a, 
+    0x265d, 0xae04, 0x2658, 0xae08, 0x4e7a, 0xe42e, 0x1567, 0x1466, 
+    0x4e67, 0x1465, 0x4e66, 0x1459, 0xe016, 0xae0a, 0x265d, 0x4e65, 
+    0x1453, 0xa106, 0xe424, 0xe004, 0x03a8, 0x0456, 0xe09c, 0x1437, 
+    0xae0c, 0x2664, 0xae0c, 0x2663, 0xae0c, 0x2686, 0xae0c, 0xe056, 
+    0xe0c2, 0x018c, 0x1486, 0x4e64, 0x4f86, 0x4f63, 0x1456, 0xae0c, 
+    0x2657, 0xe0c2, 0x0184, 0x1456, 0xa002, 0x4e56, 0x0c50, 0xe408, 
+    0x10d5, 0x4e56, 0x1457, 0xa002, 0x4e57, 0xe42e, 0x1568, 0x1467, 
+    0x4e68, 0x1466, 0x4e67, 0x1465, 0x4e66, 0xa202, 0xae0a, 0x265d, 
+    0x4e65, 0x1453, 0xa108, 0xe424, 0xe004, 0x03a8, 0x0456, 0xe09c, 
+    0x1464, 0xae0c, 0x2663, 0xae0c, 0x2686, 0xae0c, 0xe056, 0xe0c2, 
+    0x018c, 0x1486, 0x4e64, 0x4f86, 0x4f63, 0x1456, 0xae0c, 0x2657, 
+    0xe0c2, 0x0184, 0x1456, 0xa002, 0x4e56, 0x0c50, 0xe408, 0x1104, 
+    0x4e56, 0x1457, 0xa002, 0x4e57, 0xe42e, 0x1456, 0xae0c, 0x2657, 
+    0x4e76, 0x1456, 0xa002, 0x4e56, 0x0c50, 0xe408, 0x1113, 0x4e56, 
+    0x1457, 0xa002, 0x4e57, 0xe42e, 0xe0c0, 0x0095, 0xf7ea, 0xe0c2, 
+    0x0095, 0xe42e, 0x1571, 0xa105, 0x1471, 0xa002, 0xb616, 0x4e71, 
+    0xe42e, 0xe161, 0x0268, 0xd022, 0x002d, 0xa2fc, 0x4e6c, 0xe184, 
+    0x112b, 0x1481, 0x226c, 0x4e91, 0xca40, 0x226c, 0xce40, 0xca46, 
+    0x226c, 0xce46, 0xe42e, 0xe004, 0x0268, 0x4e6a, 0xe004, 0x0100, 
+    0x4e6b, 0xa2fd, 0xca40, 0xe052, 0xce40, 0xca46, 0xe052, 0xce46, 
+    0xe42e, 0x1454, 0xe41a, 0x1133, 0x146a, 0xe09c, 0x1496, 0xce42, 
+    0x1486, 0xce44, 0xca4a, 0xcf34, 0xe42e, 0x146a, 0xe09c, 0x1458, 
+    0xae02, 0xa902, 0xce48, 0x4e96, 0xce40, 0xca42, 0xce46, 0xe08c, 
+    0x4e6a, 0x1454, 0xa002, 0x4e54, 0x0c50, 0xe428, 0xa200, 0x4e54, 
+    0x1455, 0xa002, 0x4e55, 0x0c51, 0xe42e, 0x1524, 0xa200, 0xe42b, 
+    0xcf20, 0xcf22, 0xcf24, 0xcf26, 0x146b, 0xe09c, 0xa200, 0xc707, 
+    0x4e96, 0xe08c, 0x4e6b, 0xe42e, 0x146b, 0xe09c, 0x1096, 0x2696, 
+    0xcf28, 0x1096, 0x2696, 0xcf2a, 0x1096, 0x2696, 0xcf2c, 0x1096, 
+    0x2696, 0xcf2e, 0x1096, 0x2696, 0xcf30, 0xe42e, 0x146b, 0xe09c, 
+    0xcb28, 0x4896, 0x4e96, 0xcb2a, 0x4896, 0x4e96, 0xcb2c, 0x4896, 
+    0x4e96, 0xcb2e, 0x4896, 0x4e96, 0xe08c, 0x4e6b, 0xe42e, 0xa200, 
+    0xc001, 0x4e09, 0xc000, 0x486f, 0x4e13, 0x4e6e, 0xe0c1, 0x006a, 
+    0xe0c0, 0x006c, 0xa806, 0xe041, 0xc001, 0x490a, 0x4f0b, 0xc000, 
+    0xc001, 0x140c, 0xc000, 0xf05a, 0xe0c0, 0x006b, 0x4810, 0x4e11, 
+    0x1010, 0x2611, 0xe042, 0xe0c1, 0x005a, 0xae03, 0xe001, 0x0049, 
+    0xe093, 0x9f01, 0xe004, 0xffff, 0x4e12, 0xe41e, 0x11e2, 0xe41e, 
+    0x12fe, 0xe12c, 0xe41e, 0x122b, 0xe128, 0xe42e, 0xa200, 0x4e3e, 
+    0x4e3f, 0x4e1e, 0x4e1f, 0x486f, 0x4e13, 0xe0c0, 0x0060, 0x4810, 
+    0x4e11, 0xe0c0, 0x0061, 0xae04, 0x486e, 0x4e12, 0xe41e, 0x11e2, 
+    0xe41e, 0x12fe, 0xe12c, 0xd071, 0x002a, 0xe181, 0xe41e, 0x122b, 
+    0xe128, 0xe42e, 0xe12c, 0xd030, 0x0000, 0xd032, 0x0000, 0xd033, 
+    0x0000, 0xd034, 0x0000, 0xd035, 0x007f, 0xd036, 0x0000, 0xd037, 
+    0x0000, 0xe42e, 0xe12d, 0xd030, 0x0000, 0xd032, 0x0000, 0xd033, 
+    0x0080, 0xd034, 0x0080, 0xd035, 0x00bf, 0xd036, 0x0080, 0xd037, 
+    0x0000, 0xe42e, 0xe12e, 0xd030, 0x0000, 0xd032, 0x0000, 0xd033, 
+    0x00c0, 0xd034, 0x00c0, 0xd035, 0x00ff, 0xd036, 0x00c0, 0xd037, 
+    0x0000, 0xe42e, 0xc872, 0xc000, 0xf06a, 0xa102, 0xf07a, 0xa102, 
+    0xf0ca, 0xe470, 0xe41e, 0x122b, 0xe470, 0x1416, 0xe41a, 0x12b5, 
+    0x1416, 0xe418, 0x1271, 0xe470, 0x1417, 0xe41a, 0x12d9, 0x1417, 
+    0xe418, 0x1293, 0xe470, 0xd111, 0x0000, 0xe082, 0x4e14, 0xe0c0, 
+    0x005a, 0xae02, 0xe000, 0x0048, 0xe092, 0xe41e, 0x130c, 0x146d, 
+    0xf368, 0x1010, 0x2611, 0x136f, 0x2713, 0xae11, 0xe042, 0xce20, 
+    0xd112, 0x0100, 0xa226, 0xe0c1, 0x0043, 0xa803, 0xf029, 0xa22e, 
+    0xce26, 0xca28, 0xf7f8, 0xc001, 0x1408, 0xc000, 0xf0d8, 0xe41e, 
+    0x136f, 0x154e, 0xa103, 0xf1b1, 0xe004, 0x1000, 0xf035, 0x141c, 
+    0xae06, 0xe41e, 0x13df, 0x126f, 0x2613, 0xe000, 0x0002, 0x486f, 
+    0x4e13, 0x136e, 0x2712, 0xe046, 0xf034, 0x486f, 0x4e13, 0x1010, 
+    0x2611, 0x136f, 0x2713, 0xae11, 0xe042, 0x9f01, 0x1414, 0xe092, 
+    0xe42e, 0xe0c0, 0x0047, 0xf04a, 0x107e, 0x2618, 0xf06e, 0xe0c0, 
+    0x0041, 0x1518, 0xae11, 0xe042, 0xce20, 0xd111, 0x0100, 0xd112, 
+    0x0080, 0xd113, 0x0013, 0xca28, 0xf7f8, 0xe0c0, 0x0047, 0xf07a, 
+    0x107e, 0x2618, 0xe000, 0x0100, 0x487e, 0xf04e, 0x1418, 0xe000, 
+    0x0001, 0x4e18, 0xe42e, 0xe0c0, 0x0047, 0xf04a, 0x107f, 0x2619, 
+    0xf06e, 0xe0c0, 0x0041, 0x1519, 0xae11, 0xe042, 0xce20, 0xd111, 
+    0x0180, 0xd112, 0x0080, 0xd113, 0x0013, 0xca28, 0xf7f8, 0xe0c0, 
+    0x0047, 0xf07a, 0x107f, 0x2619, 0xe000, 0x0100, 0x487f, 0xf04e, 
+    0x1419, 0xe000, 0x0001, 0x4e19, 0xe42e, 0xe0c0, 0x0047, 0xf04a, 
+    0x107e, 0x2618, 0xf06e, 0xe0c0, 0x0041, 0x1518, 0xae11, 0xe042, 
+    0xce20, 0xd111, 0x0100, 0xd112, 0x0080, 0xd113, 0x0012, 0xca28, 
+    0xf7f8, 0xe0c0, 0x0047, 0xf07a, 0x107e, 0x2618, 0xe000, 0x0100, 
+    0x487e, 0xf04e, 0x1418, 0xe000, 0x0001, 0x4e18, 0xa202, 0x4e1a, 
+    0xe42e, 0xe0c0, 0x0047, 0xf04a, 0x107f, 0x2619, 0xf06e, 0xe0c0, 
+    0x0041, 0x1519, 0xae11, 0xe042, 0xce20, 0xd111, 0x0180, 0xd112, 
+    0x0080, 0xd113, 0x0012, 0xca28, 0xe408, 0x12eb, 0xe0c0, 0x0047, 
+    0xf07a, 0x107f, 0x2619, 0xe000, 0x0100, 0x487f, 0xf04e, 0x1419, 
+    0xe000, 0x0001, 0x4e19, 0xa202, 0x4e1b, 0xe42e, 0x1010, 0x2611, 
+    0x136f, 0x2713, 0xae11, 0xe042, 0xe0c1, 0x005a, 0xae03, 0xe001, 
+    0x0048, 0xe093, 0x9f01, 0xe42e, 0xe0c1, 0x0043, 0xa805, 0xe429, 
+    0xc001, 0x1408, 0xc000, 0xf0aa, 0xe0c0, 0x0059, 0xa102, 0xf068, 
+    0xc001, 0x1409, 0xc000, 0xf02a, 0xf27e, 0xa200, 0x4e15, 0xc001, 
+    0x1408, 0xc000, 0xf038, 0x144e, 0xf358, 0x1010, 0x2611, 0x136f, 
+    0x2713, 0xae11, 0xe042, 0x8091, 0x9e89, 0xe045, 0xf053, 0x126e, 
+    0x2612, 0xae10, 0xe041, 0xe003, 0x0200, 0xe423, 0xc001, 0x1408, 
+    0xc000, 0xf0aa, 0xc001, 0x1409, 0xc000, 0xf068, 0xa202, 0xc001, 
+    0x4e09, 0xc000, 0xe42e, 0xe0c0, 0x0059, 0xa102, 0xf068, 0xe0c0, 
+    0x0045, 0x466d, 0x146d, 0xf238, 0xc001, 0x1408, 0xc000, 0xf0d8, 
+    0xe0c0, 0x0059, 0xa106, 0xf098, 0xe0c0, 0x0045, 0xa802, 0xf05a, 
+    0x144e, 0xa002, 0x4e4e, 0xe42e, 0x1415, 0xf488, 0xe0c0, 0x005c, 
+    0xe008, 0x4000, 0xf43a, 0xe0c0, 0x005d, 0xe00a, 0x4000, 0xe0c2, 
+    0x005d, 0xa202, 0xce00, 0x4e15, 0xe40e, 0x1325, 0xe42e, 0x144e, 
+    0xe42a, 0xe085, 0x4f1d, 0xa102, 0xf238, 0x8091, 0x9e09, 0x1110, 
+    0x2711, 0xe046, 0xe008, 0x01ff, 0x4e1c, 0xaf04, 0xe000, 0x0000, 
+    0xe094, 0x141c, 0xe005, 0x0200, 0xe045, 0xa121, 0xf0e3, 0xe41e, 
+    0x13a5, 0xe005, 0x0200, 0x0d1c, 0xe045, 0xe084, 0xcc7a, 0xa200, 
+    0xf12b, 0xcc7c, 0xa109, 0xf7de, 0xe41e, 0x13a5, 0xf03e, 0xe162, 
+    0x0000, 0xe084, 0xcc7a, 0xa200, 0xe005, 0x8000, 0xcc7c, 0xcc7d, 
+    0xcc7c, 0xcc7c, 0x141d, 0xe094, 0xe42e, 0xa806, 0xe42a, 0xa102, 
+    0xf12a, 0xa102, 0xf1da, 0xe084, 0xcc78, 0xcc7a, 0xcc7e, 0xc87c, 
+    0xe005, 0xffff, 0xae21, 0xe00b, 0xff00, 0xe052, 0xcc7c, 0x8092, 
+    0xa202, 0xe42e, 0xe084, 0xcc78, 0xcc7a, 0xcc7e, 0xc87c, 0xe005, 
+    0xff00, 0xae21, 0xe052, 0xcc7c, 0x8092, 0xa206, 0xe42e, 0xe084, 
+    0xcc78, 0xcc7a, 0xcc7e, 0xc87c, 0xe005, 0xffff, 0xae21, 0xe052, 
+    0xcc7c, 0x8092, 0xa204, 0xe42e, 0xc874, 0x111e, 0x271f, 0xe041, 
+    0x491e, 0x4f1f, 0xa201, 0xcc75, 0xe41e, 0x13ef, 0xe42e, 0x113e, 
+    0x273f, 0xe041, 0x493e, 0x4f3f, 0xe42e, 0x144e, 0xe42a, 0x101e, 
+    0x261f, 0x113e, 0x273f, 0xa012, 0xe046, 0xb60c, 0xe42e, 0xe004, 
+    0x4000, 0xae20, 0x111e, 0x271f, 0xe045, 0xe425, 0x113e, 0x273f, 
+    0xe045, 0xe425, 0x493e, 0x4f3f, 0x111e, 0x271f, 0xe045, 0x491e, 
+    0x4f1f, 0xe42e, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe0c0, 0x0040, 0xe0c1, 0x005b, 0xae1d, 0xe042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0800, 0xd113, 0x000b, 0xca28, 0xf7f8, 0xe42e, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0080, 0x0060, 0x0008, 0x0006, 
+    0x00b0, 0x0090, 0x000b, 0x0009, 0x0160, 0x0120, 0x0016, 0x0012, 
+    0x02c0, 0x0240, 0x0058, 0x0012, 0x0580, 0x0480, 0x0160, 0x0012, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0063, 0x000d, 0x000f, 0x0011, 0x0013, 0x0015, 0x0017, 0x0000, 
+    0xffff, 0xfffe, 0x0001, 0x0002, 0x0000, 0x0002, 0xffff, 0xffff, 
+    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xfffe, 
+    0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 
+    0xfffe, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 
+    0xfffd, 0xfffd, 0xfffd, 0xfffd, 0x0000, 0x0001, 0x0001, 0x0001, 
+    0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0002, 
+    0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 
+    0x0002, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 
+    0x0003, 0x0002, 0x0001, 0xfffb, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe40e, 0x0022, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe40e, 0x0152, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xf202, 0x1307, 0xc001, 0xe168, 0xd027, 0x0001, 0xa202, 0xe0c2, 
+    0x0008, 0xe0c2, 0x0058, 0xa200, 0xe0c2, 0x005a, 0xa2fe, 0x4e71, 
+    0x4e72, 0xe0c0, 0x005c, 0xa802, 0xe0c2, 0x005d, 0xce00, 0xf11e, 
+    0xe0c0, 0x005c, 0xe0c1, 0x0059, 0x4f70, 0xa203, 0x3570, 0xe052, 
+    0xf08a, 0xe0c1, 0x005d, 0xe055, 0xe0c3, 0x005d, 0xa202, 0xce00, 
+    0xe41e, 0x0084, 0xe0c0, 0x005b, 0x0c72, 0xe418, 0x00b2, 0xe0c0, 
+    0x0059, 0xa114, 0xf18a, 0xa102, 0xf1da, 0xe0c0, 0x005a, 0x0c71, 
+    0xe418, 0x00ab, 0xe0c0, 0x0059, 0xae02, 0xe000, 0x0152, 0xc000, 
+    0xe67c, 0xc001, 0xe0c0, 0x005a, 0x4e71, 0xe0c0, 0x005b, 0x4e72, 
+    0xe40e, 0x0038, 0x1471, 0xe412, 0x010d, 0xa202, 0x4e73, 0xe40e, 
+    0x0061, 0xe41e, 0x00c6, 0xd101, 0x0001, 0xc71e, 0xa002, 0xa200, 
+    0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0xc71e, 0xa002, 0xd071, 
+    0x002a, 0xe181, 0xe40e, 0x0061, 0xa200, 0xe0c2, 0x0059, 0xe0c2, 
+    0x0058, 0xe0c2, 0x0008, 0xe0c0, 0x0059, 0xf7ea, 0xa11e, 0xf168, 
+    0xa202, 0xe0c2, 0x0008, 0xe0c2, 0x0058, 0xe004, 0xf202, 0xae20, 
+    0xe005, 0x1307, 0xe056, 0xe0c2, 0x0070, 0xa200, 0xe0c2, 0x0059, 
+    0xe0c2, 0x0058, 0xe0c2, 0x0008, 0xf67e, 0xa202, 0xe0c2, 0x0008, 
+    0xe0c2, 0x0058, 0xe42e, 0x1471, 0xe424, 0xe41e, 0x010d, 0xe41e, 
+    0x00c6, 0xe42e, 0xe0c0, 0x0040, 0xe0c1, 0x005b, 0xae1d, 0xe042, 
+    0xe000, 0x1000, 0xce20, 0xd111, 0x0800, 0xd112, 0x1000, 0xd113, 
+    0x000b, 0xca28, 0xf7f8, 0xe41e, 0x17e0, 0xe42e, 0xe0c0, 0x0041, 
+    0xe005, 0x0000, 0xae11, 0xe042, 0xe0c1, 0x005a, 0xae19, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0800, 0xd113, 0x0003, 0xca28, 
+    0xf7f8, 0xe0c0, 0x0041, 0xe005, 0x0080, 0xae11, 0xe042, 0xe0c1, 
+    0x005a, 0xae15, 0xe042, 0xce20, 0xd111, 0x0000, 0xd112, 0x0200, 
+    0xd113, 0x0013, 0xca28, 0xf7f8, 0xe161, 0x00f4, 0x8891, 0x0032, 
+    0x8891, 0x0033, 0x8891, 0x0034, 0x8891, 0x0035, 0x8891, 0x0036, 
+    0x8891, 0x0037, 0x1091, 0x2691, 0xcc60, 0x1091, 0x2691, 0xcc62, 
+    0x1091, 0x2691, 0xcc74, 0x1091, 0x2691, 0xcf68, 0x1091, 0x2691, 
+    0xcf64, 0x1091, 0x2691, 0xcf60, 0xe42e, 0xe161, 0x00f4, 0x8991, 
+    0x0032, 0x8991, 0x0033, 0x8991, 0x0034, 0x8991, 0x0035, 0x8991, 
+    0x0036, 0x8991, 0x0037, 0xc860, 0x4891, 0x4e91, 0xc862, 0x4891, 
+    0x4e91, 0xc874, 0x4891, 0x4e91, 0xcb68, 0x4891, 0x4e91, 0xcb64, 
+    0x4891, 0x4e91, 0xcb60, 0x4891, 0x4e91, 0xe0c0, 0x0041, 0xe005, 
+    0x0000, 0xae11, 0xe042, 0x1571, 0xae19, 0xe042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0800, 0xd113, 0x0002, 0xca28, 0xf7f8, 0xe0c0, 
+    0x0041, 0xe005, 0x0080, 0xae11, 0xe042, 0x1571, 0xae15, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0200, 0xd113, 0x0012, 0xca28, 
+    0xf7f8, 0xe42e, 0xe40e, 0x1154, 0xe40e, 0x0172, 0xe40e, 0x0176, 
+    0xe40e, 0x017a, 0xe40e, 0x017e, 0xe40e, 0x0182, 0xe40e, 0x0186, 
+    0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x018a, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe41e, 0x018e, 0xe40e, 0x0061, 0xe41e, 0x01b7, 
+    0xe40e, 0x0061, 0xe41e, 0x01c4, 0xe40e, 0x0061, 0xe41e, 0x023c, 
+    0xe40e, 0x0061, 0xe41e, 0x024e, 0xe40e, 0x0061, 0xe41e, 0x045b, 
+    0xe40e, 0x0061, 0xe41e, 0x048b, 0xe40e, 0x0061, 0xe41e, 0x0280, 
+    0xe41e, 0x044d, 0xc001, 0xe0c0, 0x0074, 0x4851, 0x4e52, 0xe0c0, 
+    0x0075, 0x4853, 0x4e54, 0xe0c0, 0x0076, 0x4855, 0x4e56, 0xe0c0, 
+    0x0047, 0x4e57, 0xc000, 0xe41e, 0x028c, 0xf0ea, 0xe41e, 0x0bdd, 
+    0xe41e, 0x10fb, 0x1441, 0xe418, 0x0e54, 0xe41e, 0x1020, 0xa202, 
+    0xe0c2, 0x0070, 0xe42e, 0xa200, 0xe0c2, 0x0070, 0xe42e, 0x147d, 
+    0xe428, 0x147e, 0xf07a, 0xa200, 0x487b, 0x4e13, 0xe41e, 0x128b, 
+    0xe42e, 0xe41e, 0x1233, 0xe42e, 0xa200, 0xcc4a, 0xcc4c, 0xcc44, 
+    0xe0c2, 0x0074, 0x147e, 0xf11a, 0x147f, 0xf0aa, 0xe0c0, 0x0066, 
+    0x4810, 0x4e11, 0xe0c0, 0x0067, 0xae04, 0x487a, 0x4e12, 0xa200, 
+    0x487b, 0x4e13, 0xe41e, 0x128b, 0xd180, 0x0004, 0xd147, 0x0001, 
+    0xd03b, 0x0000, 0xd008, 0x0000, 0xe16a, 0xa200, 0xcf06, 0xe0c2, 
+    0x0286, 0xe41e, 0x0394, 0xe41e, 0x1027, 0x142c, 0xf07a, 0xc001, 
+    0x144a, 0xa002, 0xa802, 0x4e4a, 0xc000, 0xe41e, 0x0be0, 0xe41e, 
+    0x0d18, 0xe41e, 0x0d2d, 0x1430, 0xe41a, 0x0a03, 0x1430, 0xe418, 
+    0x0a6c, 0xe41e, 0x0568, 0xe41e, 0x0ddf, 0x1441, 0xe418, 0x0ef3, 
+    0x8221, 0x1620, 0xc001, 0xae02, 0x4831, 0xe008, 0xffff, 0xaf02, 
+    0x4e30, 0x8131, 0xe019, 0xae1e, 0x8130, 0xe01d, 0xc000, 0x162b, 
+    0x0421, 0xe045, 0xb616, 0x4e2b, 0x147e, 0xf06a, 0xe41e, 0x1233, 
+    0xe41e, 0x1124, 0xf05e, 0x147d, 0xf03a, 0xe41e, 0x1255, 0x163b, 
+    0xa002, 0x4e3b, 0xe0c2, 0x0070, 0x1424, 0xe0c2, 0x0071, 0x142f, 
+    0xe0c2, 0x0073, 0xd03a, 0x0000, 0xc84a, 0xc84d, 0xae20, 0xe056, 
+    0xe0c2, 0x0046, 0xa202, 0xe42e, 0xe0c0, 0x0042, 0xce20, 0xd111, 
+    0x03f0, 0xd112, 0x0030, 0xd113, 0x0003, 0xca28, 0xf7f8, 0xe0c0, 
+    0x0060, 0x4e3c, 0xe0c0, 0x0061, 0x4e70, 0xe42e, 0x1430, 0xe428, 
+    0x147e, 0xf10a, 0x147f, 0xf0aa, 0xe0c0, 0x0061, 0x4810, 0x4e11, 
+    0xe0c0, 0x0062, 0xae04, 0x487a, 0x4e12, 0xa200, 0x4e13, 0xe41e, 
+    0x128b, 0xe0c0, 0x0060, 0xf06a, 0xa102, 0xf09a, 0xa102, 0xf0aa, 
+    0xe42e, 0xe41e, 0x0987, 0xe41e, 0x098c, 0xf07e, 0xe41e, 0x09d2, 
+    0xf04e, 0xe41e, 0x09f5, 0xf01e, 0x147e, 0xf06a, 0xe41e, 0x1233, 
+    0xe41e, 0x1110, 0xf05e, 0x147d, 0xf03a, 0xe41e, 0x1255, 0xe42e, 
+    0xa200, 0xc401, 0xe188, 0x07ff, 0x4e91, 0xa200, 0x4e78, 0x4e79, 
+    0x4e2b, 0x4e3b, 0xcc74, 0xe42e, 0xe0c0, 0x0071, 0xc001, 0x4659, 
+    0xaf02, 0x4658, 0xc000, 0xe0c0, 0x0064, 0xe049, 0xe009, 0x03ff, 
+    0x4f0e, 0xa01f, 0xaf09, 0x4f51, 0xe049, 0xaf15, 0xe009, 0x03ff, 
+    0x4f0d, 0xa01f, 0xaf09, 0x4f50, 0xe0c0, 0x0065, 0x4821, 0x4e20, 
+    0x1421, 0xa002, 0x4e21, 0x1620, 0xc710, 0x3c21, 0xe008, 0xffff, 
+    0xa002, 0xaf02, 0x4e3d, 0xe0c0, 0x0062, 0x462d, 0xaf02, 0x462e, 
+    0xaf04, 0x467c, 0xaf04, 0xc001, 0x4643, 0xe0c0, 0x006f, 0x4e44, 
+    0xc000, 0xe0c0, 0x0063, 0x4630, 0xf198, 0xa200, 0x4e34, 0x4e35, 
+    0x4e36, 0x4e37, 0xe0c0, 0x0066, 0x4622, 0xaf02, 0x4623, 0x1523, 
+    0x2322, 0x4f23, 0xaf02, 0xa80e, 0x4e47, 0xe0c0, 0x0066, 0xaf0a, 
+    0x4649, 0xaf02, 0x460f, 0xe40e, 0x0336, 0xe167, 0x02a4, 0xc420, 
+    0xa202, 0x4e48, 0x1450, 0xae08, 0x0cb7, 0xe40a, 0x0302, 0x1448, 
+    0xa002, 0x4e48, 0xa10a, 0xe408, 0x02e2, 0xe0c0, 0x0067, 0xe40a, 
+    0x0390, 0xa20c, 0x4e48, 0x1450, 0x4e32, 0x1451, 0x4e31, 0xa132, 
+    0xe406, 0x0318, 0x1432, 0xae02, 0x4e32, 0x1431, 0xaf02, 0x4e31, 
+    0xe40e, 0x0318, 0x80af, 0x8097, 0x1451, 0xae08, 0x0c87, 0xe408, 
+    0x02e7, 0x1448, 0xae04, 0xe000, 0x02a0, 0xe09e, 0x1497, 0xaf08, 
+    0x4e50, 0x1497, 0xaf08, 0x4e51, 0x1497, 0x4e32, 0x1487, 0x4e31, 
+    0xe0c0, 0x0067, 0x4637, 0xaf02, 0x4636, 0xaf02, 0x4635, 0xaf02, 
+    0x4634, 0xe408, 0x0390, 0xa200, 0x1520, 0xe003, 0x7530, 0xb632, 
+    0x1521, 0xe003, 0x03e9, 0xb632, 0x4e38, 0xf09a, 0xe0c0, 0x0067, 
+    0xf068, 0x1421, 0xa102, 0xe408, 0x0390, 0x4e38, 0xe0c0, 0x0069, 
+    0x4608, 0xaf02, 0x4609, 0xaf02, 0x4e0a, 0xe0c0, 0x006a, 0x4e40, 
+    0xe0c0, 0x006b, 0x4641, 0xc001, 0x4801, 0xaf02, 0xe008, 0x7fff, 
+    0x4e00, 0xe0c0, 0x006b, 0x1401, 0xaf1e, 0x462c, 0x1401, 0xe008, 
+    0x7fff, 0x4e01, 0xe0c0, 0x006c, 0x4802, 0x4e03, 0xc000, 0xe0c0, 
+    0x006d, 0x4e42, 0x8250, 0x8151, 0xe018, 0x4e52, 0xa201, 0xe002, 
+    0x00c8, 0xb425, 0xe002, 0x0190, 0xb425, 0x4f45, 0xe0c0, 0x0043, 
+    0xaf04, 0x467d, 0xaf02, 0x467e, 0xaf02, 0x467f, 0x1450, 0x1551, 
+    0xaf06, 0xaf07, 0x4e01, 0x4f00, 0x8201, 0x8100, 0xe018, 0xc001, 
+    0x4e4b, 0xa104, 0xc000, 0xf052, 0xa204, 0xc001, 0x4e4b, 0xc000, 
+    0x1451, 0xaf02, 0x4e01, 0x8201, 0x8150, 0xe018, 0xc001, 0x4e4d, 
+    0x4e50, 0xa202, 0x4e4a, 0xc000, 0xa202, 0xe0c2, 0x0070, 0xe42e, 
+    0xa200, 0xe0c2, 0x0070, 0xe42e, 0xa200, 0x4e1f, 0xe0c0, 0x0065, 
+    0xa804, 0xf09a, 0xa200, 0x4e24, 0x4e2c, 0xc001, 0x4e41, 0xe016, 
+    0x4e0d, 0xc000, 0x1440, 0xf068, 0xc001, 0x1641, 0xc000, 0xf0ca, 
+    0xf13e, 0xc001, 0x1441, 0xc000, 0xf07a, 0xc001, 0x1441, 0xc000, 
+    0x1540, 0xe046, 0xf098, 0xa200, 0x4e24, 0x4e2c, 0xa202, 0xc001, 
+    0x4e41, 0xc000, 0xf08e, 0xa202, 0x4e24, 0x4e2c, 0xc001, 0x0441, 
+    0x4e41, 0xc000, 0xe0c0, 0x0065, 0xa802, 0xe418, 0x03d8, 0xe0c0, 
+    0x0063, 0x4e27, 0x1441, 0xf09a, 0x142c, 0xe41a, 0x0eb8, 0xe41e, 
+    0x0eb9, 0x4e27, 0xe419, 0x03d8, 0xa202, 0x4e28, 0xcf0e, 0xe42e, 
+    0xa202, 0x4e24, 0x4e2c, 0x4e1f, 0x823a, 0xc786, 0xe018, 0xe000, 
+    0x03f0, 0xe09e, 0x1097, 0x2697, 0xe0c2, 0x0060, 0x1097, 0x2697, 
+    0xe0c2, 0x0061, 0x1097, 0x2697, 0xe0c2, 0x0062, 0xe42e, 0x1454, 
+    0xe000, 0x0420, 0xe09e, 0xc874, 0x4e87, 0x1454, 0xa002, 0x0c50, 
+    0xe428, 0x1455, 0xae0e, 0xe005, 0x0000, 0xae11, 0xe042, 0xe0c1, 
+    0x0042, 0xe042, 0xce20, 0xd111, 0x0420, 0xd112, 0x002e, 0xd113, 
+    0x0002, 0xca28, 0xf7f8, 0xe42e, 0x1454, 0xe000, 0x046e, 0xe09e, 
+    0x145d, 0x4e87, 0x1454, 0xa002, 0x0c50, 0xe428, 0x1455, 0xae0e, 
+    0xe005, 0x0013, 0xae11, 0xe042, 0xe0c1, 0x0042, 0xe042, 0xce20, 
+    0xd111, 0x046e, 0xd112, 0x002e, 0xd113, 0x0002, 0xca28, 0xf7f8, 
+    0xe42e, 0x1010, 0x2611, 0x137b, 0x2713, 0xae11, 0xe041, 0xe162, 
+    0x0478, 0xc86e, 0xa010, 0x0c30, 0xaf06, 0xe008, 0x01ff, 0xe042, 
+    0x4892, 0x4e92, 0x142f, 0xae04, 0xe005, 0x0012, 0xae11, 0xe042, 
+    0xe0c1, 0x0042, 0xe042, 0xce20, 0xd111, 0x0478, 0xd112, 0x0020, 
+    0xd113, 0x0002, 0xca28, 0xf7f8, 0xe42e, 0xe0c0, 0x0040, 0xe000, 
+    0x7000, 0xce20, 0xd111, 0x02a0, 0xd112, 0x0100, 0xd113, 0x0003, 
+    0xca28, 0xf7f8, 0xe42e, 0xe41e, 0x1134, 0xe0c0, 0x0060, 0xf06a, 
+    0xa102, 0xf09a, 0xa102, 0xf0aa, 0xe42e, 0xe41e, 0x0987, 0xe41e, 
+    0x098c, 0xf06e, 0xe41e, 0x09d2, 0xf03e, 0xe41e, 0x09f5, 0xc864, 
+    0xaf06, 0xc867, 0xe003, 0x0080, 0xae05, 0xe042, 0x4e4c, 0xe0c2, 
+    0x0070, 0xc86c, 0xd036, 0x00c0, 0xbad7, 0xcc6c, 0xe0c0, 0x0042, 
+    0xce20, 0xd111, 0x0100, 0xd112, 0x0080, 0xd113, 0x0012, 0xca28, 
+    0xf7f8, 0xe12c, 0xe42e, 0xe0c1, 0x0060, 0xa803, 0xf05b, 0xe0c0, 
+    0x0061, 0xe41e, 0x0502, 0xe0c1, 0x0060, 0xa805, 0xf05b, 0xe0c0, 
+    0x0062, 0xe41e, 0x0559, 0xe0c1, 0x0060, 0xa809, 0xf05b, 0xe0c0, 
+    0x0063, 0xe41e, 0x052d, 0xe0c1, 0x0060, 0xa811, 0xf05b, 0xe0c0, 
+    0x0064, 0xe41e, 0x04c5, 0xe0c1, 0x0060, 0xa821, 0xf04b, 0xe0c0, 
+    0x0065, 0x4e42, 0xe0c1, 0x0060, 0xa841, 0xf08b, 0xe0c0, 0x0066, 
+    0x4608, 0xaf02, 0x4609, 0xaf02, 0x4e0a, 0xe0c1, 0x0060, 0xa881, 
+    0xf04b, 0xe0c0, 0x0067, 0x4e49, 0xe42e, 0xc001, 0x4848, 0x4e47, 
+    0x1448, 0xa002, 0x4e48, 0x1647, 0xc710, 0x3c48, 0xe008, 0xffff, 
+    0xa002, 0xaf02, 0x4e0b, 0x0c46, 0xe42a, 0x140b, 0x4e46, 0x1447, 
+    0x1548, 0xc000, 0x4e20, 0x4f21, 0xa200, 0x4e2b, 0x8221, 0xe182, 
+    0x7530, 0xe018, 0xae02, 0x1720, 0xc001, 0xe41e, 0x0fdd, 0x4e18, 
+    0x8218, 0x8100, 0xe018, 0xa279, 0xe41e, 0x0fc6, 0x4818, 0x4e19, 
+    0xae06, 0x1504, 0xe41e, 0x0fc6, 0x481e, 0x4e1f, 0xa200, 0x4e40, 
+    0x4822, 0x4e23, 0x1409, 0xe428, 0xe016, 0x4e0a, 0x140b, 0x4e09, 
+    0xc000, 0xe42e, 0xc001, 0x4e42, 0x1509, 0xe046, 0xf038, 0xc000, 
+    0xe42e, 0x1441, 0x1542, 0xe046, 0xf034, 0xa200, 0x4e41, 0x1442, 
+    0x4e09, 0xc000, 0x4e40, 0x1441, 0xe42a, 0xc001, 0x1409, 0xe016, 
+    0x4e0a, 0xf03a, 0x150b, 0x4f09, 0x1509, 0x1441, 0xe045, 0xf0c6, 
+    0x1026, 0x2627, 0xe41e, 0x0fc6, 0x482a, 0x4e2b, 0x0826, 0x0e27, 
+    0xe012, 0x4828, 0x4e29, 0xc000, 0xe42e, 0xc001, 0x4e45, 0xc000, 
+    0x1441, 0xe42a, 0xc001, 0x1400, 0x1545, 0xe046, 0xc000, 0xe42a, 
+    0xc001, 0x4f00, 0xc000, 0x8221, 0xe182, 0x7530, 0xe018, 0xae02, 
+    0x1720, 0xc001, 0xe41e, 0x0fdd, 0x4e18, 0x8218, 0x8100, 0xe018, 
+    0xa279, 0xe41e, 0x0fc6, 0x4818, 0x4e19, 0xae06, 0x1504, 0xe41e, 
+    0x0fc6, 0x481e, 0x4e1f, 0xa200, 0x4e40, 0x4822, 0x4e23, 0xc000, 
+    0xe42e, 0xc000, 0x1541, 0xe42b, 0xc001, 0xf052, 0xa201, 0x4f43, 
+    0xc000, 0xe42e, 0x4e44, 0x4e10, 0xa203, 0x4f43, 0xc000, 0xe42e, 
+    0xe41e, 0x1085, 0x1427, 0x4e62, 0xe41e, 0x079c, 0xe41e, 0x07a7, 
+    0xa200, 0x4e53, 0x4e54, 0x4e55, 0x4e2f, 0x1436, 0xe016, 0x2230, 
+    0xe408, 0x05dc, 0xa223, 0x1424, 0xe40a, 0x0580, 0x1528, 0xa021, 
+    0x4f61, 0xa200, 0x4e0b, 0xcc6e, 0xa202, 0x4e0c, 0x1422, 0xe418, 
+    0x0b17, 0x140b, 0xe418, 0x0646, 0xe41e, 0x10a5, 0x1453, 0xe002, 
+    0x0107, 0xe408, 0x0594, 0xe190, 0xe41e, 0x0620, 0xe41e, 0x07b2, 
+    0x1422, 0xf048, 0x896e, 0x003a, 0xf0de, 0xa201, 0xe12c, 0xc86e, 
+    0xe041, 0xe12d, 0xc86e, 0xe041, 0xe12e, 0xc86e, 0xe12c, 0xe041, 
+    0x4f6e, 0x142d, 0xe418, 0x03ef, 0x147c, 0xe418, 0x040c, 0xe41e, 
+    0x0662, 0x1422, 0xf038, 0xc875, 0xf0ce, 0xa201, 0xe12c, 0xc86e, 
+    0xe041, 0xe12d, 0xc86e, 0xe041, 0xe12e, 0xc86e, 0xe041, 0xe12c, 
+    0x0f6e, 0xe009, 0xffff, 0x4f6f, 0x1541, 0x145d, 0xe419, 0x0f41, 
+    0x1453, 0xa002, 0x4e53, 0xe41e, 0x10b1, 0xe408, 0x0589, 0x1422, 
+    0xe418, 0x0b36, 0xe41e, 0x065b, 0x1436, 0xf048, 0xe41e, 0x0afb, 
+    0xe42e, 0xe41e, 0x0b05, 0xe42e, 0xa200, 0x4e4b, 0xe40e, 0x05ed, 
+    0x1408, 0xf0ca, 0xbacf, 0xe190, 0xbae0, 0x144b, 0xba88, 0xbac1, 
+    0x145d, 0x4e27, 0xba88, 0xe41e, 0x1085, 0xa200, 0x4e4a, 0xe41e, 
+    0x10a5, 0x1453, 0xe002, 0x00e2, 0xe408, 0x05f7, 0xe190, 0xe41e, 
+    0x07b2, 0x896e, 0x003a, 0x142d, 0xe418, 0x03ef, 0x147c, 0xe418, 
+    0x040c, 0xe41e, 0x06ac, 0xc874, 0x0e6e, 0xe008, 0xffff, 0x4e6f, 
+    0x1541, 0x145d, 0xe419, 0x0f41, 0x1453, 0xa002, 0x4e53, 0xe41e, 
+    0x10b1, 0x144a, 0xa002, 0x4e4a, 0x0c32, 0xe408, 0x05ef, 0x144b, 
+    0xa002, 0x4e4b, 0x0c31, 0xe408, 0x05e0, 0xe41e, 0x0b05, 0xe42e, 
+    0x1408, 0x1509, 0xe42a, 0x1422, 0xe409, 0x0638, 0xe408, 0x062d, 
+    0xc86e, 0x0e0a, 0xe424, 0xe40e, 0x0640, 0xc86e, 0xe12d, 0xc86f, 
+    0xe042, 0xe12e, 0xc86f, 0xe042, 0x0e0a, 0xe424, 0xe40e, 0x0640, 
+    0x140c, 0x0c0a, 0x150c, 0xa003, 0x4f0c, 0xe428, 0xa202, 0x4e0c, 
+    0xa202, 0x4e0b, 0x1465, 0xa002, 0x4e65, 0xe42e, 0xe41e, 0x065b, 
+    0x1422, 0xf05a, 0xe41e, 0x0b36, 0xe41e, 0x0b17, 0x1409, 0xf038, 
+    0xd037, 0x0000, 0x145d, 0x4e27, 0xe41e, 0x0a39, 0xe41e, 0x1085, 
+    0xa200, 0x4e0b, 0xe42e, 0x142e, 0xe418, 0x0429, 0x142f, 0xa002, 
+    0x4e2f, 0xe42e, 0x1536, 0x1422, 0xe409, 0x06ac, 0x1524, 0xe40a, 
+    0x066d, 0xe40b, 0x06e6, 0xe40e, 0x071f, 0x1459, 0x5424, 0xe428, 
+    0x145b, 0xae02, 0x265a, 0xae02, 0x2658, 0x4e4f, 0xa200, 0x0424, 
+    0x4e00, 0x145e, 0xa806, 0xae06, 0x264f, 0x5200, 0x145c, 0x5458, 
+    0xa20a, 0x0c58, 0x4e00, 0x145e, 0xaf04, 0x5200, 0x145a, 0xe418, 
+    0x0762, 0x1458, 0xe41a, 0x0773, 0xa214, 0x0c58, 0xe096, 0xa004, 
+    0xe098, 0xa200, 0x4e60, 0xe161, 0x03d5, 0xe162, 0x03db, 0xd022, 
+    0x0005, 0xe184, 0x06aa, 0x1492, 0xce98, 0x8860, 0x0148, 0xd140, 
+    0x0000, 0x145f, 0xd142, 0x0001, 0xe418, 0x095f, 0xe41e, 0x08f1, 
+    0x1460, 0xa002, 0x4e60, 0xe42e, 0x1459, 0x5424, 0xe428, 0x145b, 
+    0xae02, 0x265a, 0xae02, 0x2658, 0x4e4f, 0xa200, 0x0424, 0x0424, 
+    0x0424, 0x4e00, 0x145e, 0xa806, 0xae06, 0x264f, 0x5200, 0xa20a, 
+    0x0c58, 0x4e00, 0x145e, 0xaf04, 0x5200, 0x145a, 0xe418, 0x0767, 
+    0x1458, 0xe41a, 0x0773, 0xa214, 0xe096, 0xa200, 0x4e60, 0xe161, 
+    0x03d5, 0xd022, 0x0005, 0xe184, 0x06e4, 0xa200, 0xce98, 0x8860, 
+    0x0148, 0xd140, 0x0000, 0x145f, 0xd142, 0x0001, 0xe418, 0x097b, 
+    0xe41e, 0x08f1, 0x1460, 0xa002, 0x4e60, 0xe42e, 0xe12c, 0x145b, 
+    0xae02, 0x265a, 0xae02, 0x2658, 0x4e4f, 0x145e, 0xa806, 0xae06, 
+    0x264f, 0xb900, 0x145a, 0xe418, 0x0762, 0xe12d, 0x145c, 0xba80, 
+    0x145e, 0xaf04, 0xb908, 0xa212, 0x1523, 0xb492, 0xe096, 0xa216, 
+    0xe098, 0xa200, 0x4e60, 0xe161, 0x03d5, 0xe162, 0x03db, 0xd022, 
+    0x0005, 0xe184, 0x071c, 0x1492, 0xce98, 0x8860, 0x0148, 0xd140, 
+    0x0000, 0x145f, 0xd142, 0x0001, 0xe12c, 0xe418, 0x095f, 0xe12e, 
+    0xe41e, 0x08f1, 0x1460, 0xa002, 0x4e60, 0xe12c, 0xe42e, 0xe12c, 
+    0x1459, 0xba80, 0xe428, 0x145b, 0xae02, 0x265a, 0xae02, 0x2658, 
+    0x4e4f, 0x145e, 0xa806, 0xae06, 0x264f, 0xb902, 0x1458, 0xe41a, 
+    0x0773, 0xe12d, 0x145c, 0x5458, 0xa20a, 0x0c58, 0x4e00, 0x145e, 
+    0xaf04, 0x5200, 0x145a, 0xe418, 0x0762, 0xa214, 0x0c58, 0x1523, 
+    0xb492, 0xe096, 0xa004, 0xe098, 0xa200, 0x4e60, 0xe161, 0x03d5, 
+    0xe162, 0x03db, 0xd022, 0x0005, 0xe184, 0x075f, 0x1492, 0xce98, 
+    0x8860, 0x0148, 0xd140, 0x0000, 0x145f, 0xd142, 0x0001, 0xe12d, 
+    0xe418, 0x095f, 0xe12e, 0xe41e, 0x08f1, 0x1460, 0xa002, 0x4e60, 
+    0xe12c, 0xe42e, 0x146c, 0xa002, 0xb628, 0xba82, 0xe42e, 0x1437, 
+    0xe40a, 0x0762, 0x146c, 0xa140, 0xe404, 0x0770, 0xba82, 0xe42e, 
+    0x146c, 0xba8a, 0xe42e, 0x145b, 0xb670, 0xcc44, 0xe161, 0x03a0, 
+    0xe184, 0x077f, 0x1491, 0xa040, 0xb90c, 0x1491, 0xa040, 0xb90c, 
+    0xe42e, 0xe40a, 0x0799, 0xe404, 0x078e, 0xa102, 0xe049, 0x3629, 
+    0xa002, 0xa040, 0xb90c, 0x232a, 0x5529, 0xe42e, 0xa002, 0xe012, 
+    0xe049, 0x3629, 0xa002, 0xe012, 0xa040, 0xb90c, 0x232a, 0x5529, 
+    0xe42e, 0xa040, 0xb90c, 0xe42e, 0xe41e, 0x0e40, 0xa2fc, 0x4e53, 
+    0xe41e, 0x07ce, 0xe41e, 0x0d41, 0xe41e, 0x0814, 0xe42e, 0xe41e, 
+    0x0e40, 0xa2fe, 0x4e53, 0xe41e, 0x07ce, 0xe41e, 0x0d6b, 0xe41e, 
+    0x081f, 0xe42e, 0xe41e, 0x0e40, 0xe41e, 0x07ce, 0xe41e, 0x0d6b, 
+    0xe41e, 0x082a, 0x146c, 0xe01a, 0x4e5a, 0x1424, 0xe418, 0x089b, 
+    0xe41e, 0x08d6, 0x1458, 0xe016, 0x226b, 0x226d, 0x155a, 0xe017, 
+    0xe052, 0x4e59, 0x1435, 0xe418, 0x0e0f, 0xe42e, 0x1452, 0x0c53, 
+    0xa104, 0xe426, 0x1424, 0xe016, 0xf0b8, 0xe0c1, 0x00f4, 0xe001, 
+    0x0200, 0x0f6a, 0xb62a, 0x1542, 0xf038, 0xe419, 0x102a, 0x4e58, 
+    0x1541, 0x232c, 0x1427, 0xf0cb, 0xe41e, 0x0f29, 0x1558, 0xe017, 
+    0x2372, 0xf02b, 0x1462, 0x0c62, 0xa504, 0xa4fc, 0x0462, 0x4e5d, 
+    0x1458, 0x1562, 0x0d26, 0xb606, 0x4e5f, 0x145d, 0x0c62, 0x4e6c, 
+    0x1537, 0xf18a, 0xf17b, 0x1462, 0xe000, 0x02cc, 0xe09e, 0xe160, 
+    0x0020, 0x146c, 0x0cb7, 0xe40a, 0x080c, 0x146c, 0x0c87, 0xe40a, 
+    0x080f, 0x145d, 0xe40e, 0x0810, 0xa244, 0xe40e, 0x0810, 0xa246, 
+    0x4e6c, 0x145d, 0x4e62, 0xe42e, 0xe161, 0x03e1, 0x1458, 0x4e91, 
+    0x145f, 0x4e91, 0x145d, 0x4e91, 0x146c, 0x4e91, 0xe42e, 0xe161, 
+    0x03e5, 0x1458, 0x4e91, 0x145f, 0x4e91, 0x145d, 0x4e91, 0x146c, 
+    0x4e91, 0xe42e, 0xe161, 0x03e9, 0x1458, 0x4e91, 0x145f, 0x4e91, 
+    0x145d, 0x4e91, 0x146c, 0x4e91, 0xe161, 0x03e1, 0x1491, 0x4e58, 
+    0x1491, 0x4e5f, 0x1491, 0x4e5d, 0x1491, 0x4e6c, 0xe162, 0x03e1, 
+    0xd022, 0x0007, 0xe184, 0x0845, 0x1491, 0x4e92, 0xe42e, 0x1424, 
+    0x4e5b, 0x4e72, 0xe42a, 0xe0c0, 0x0217, 0x4e6a, 0x1468, 0xe09a, 
+    0xe0c0, 0x0215, 0xe01a, 0x4e5b, 0x4e72, 0x4e95, 0x8095, 0xe162, 
+    0x02f0, 0xe408, 0x086a, 0xe0c0, 0x0214, 0xae28, 0xaf3a, 0x4e95, 
+    0xe0c1, 0x0214, 0xae39, 0xaf3b, 0x4f8d, 0x1095, 0x2695, 0x9f02, 
+    0xe40e, 0x0883, 0xc420, 0xa230, 0x4e4d, 0xd022, 0x0003, 0xe184, 
+    0x0882, 0xe0c0, 0x0211, 0x364d, 0xae38, 0xaf3a, 0x4e95, 0xe0c1, 
+    0x0212, 0x374d, 0xae39, 0xaf3b, 0x4f8d, 0x1095, 0x2695, 0x9f32, 
+    0x144d, 0xa110, 0x4e4d, 0xe08a, 0x4e68, 0xe004, 0x06db, 0x155b, 
+    0xb616, 0xe0c2, 0x0285, 0x1473, 0xae20, 0x2674, 0xe0c2, 0x0284, 
+    0x1473, 0xa002, 0x4e73, 0x0c50, 0xe428, 0xa200, 0x4e73, 0x1474, 
+    0xa002, 0x4e74, 0xe42e, 0x1458, 0xe408, 0x08c0, 0xe41e, 0x10d8, 
+    0xe161, 0x03a0, 0x1469, 0xe09a, 0x1595, 0x8095, 0x4f5b, 0x1095, 
+    0x268d, 0xe016, 0xb612, 0x4e6b, 0xe004, 0x06db, 0xb616, 0xcf04, 
+    0xb673, 0xcc45, 0xe184, 0x08ba, 0x1095, 0x2695, 0xcf08, 0xe190, 
+    0xcb0a, 0x4891, 0x4e91, 0xe08a, 0x4e69, 0xe41e, 0x10ea, 0xe42e, 
+    0xe41e, 0x10c9, 0x1469, 0xe09a, 0x1495, 0x8095, 0x8095, 0x8095, 
+    0xe40a, 0x08d0, 0x8095, 0x8095, 0x8095, 0x8095, 0x8095, 0x8095, 
+    0xe08a, 0x4e69, 0xa200, 0x4e5b, 0x4e6b, 0xe42e, 0x885f, 0x014b, 
+    0xa200, 0x4e60, 0xe161, 0x03d5, 0xe162, 0x03db, 0xa201, 0xd022, 
+    0x0005, 0xe184, 0x08ec, 0x8892, 0x014c, 0x1460, 0xce90, 0xa002, 
+    0x4e60, 0xca8c, 0x4e91, 0xae03, 0xe055, 0x4f5e, 0xe017, 0x4f6d, 
+    0xe42e, 0x1491, 0xe42a, 0xca86, 0x9103, 0xf04d, 0xaf24, 0xf7ca, 
+    0xe42e, 0xe16a, 0x1523, 0xe409, 0x094c, 0x1530, 0xe409, 0x0917, 
+    0xa207, 0xba8d, 0xe190, 0x9104, 0xe40d, 0x090a, 0xaf24, 0xe40a, 
+    0x08f3, 0xe42e, 0xe16a, 0xa207, 0xba83, 0xe049, 0xaf19, 0xba8d, 
+    0xbae0, 0xba96, 0xbae0, 0xaf0d, 0xe40b, 0x08f3, 0xe42e, 0xa207, 
+    0xba8d, 0xe049, 0xaf19, 0xba8d, 0xaf0d, 0x4f03, 0x8a37, 0x0000, 
+    0xae30, 0xaf30, 0xe40d, 0x092e, 0xe005, 0x007f, 0xe066, 0xe013, 
+    0xe062, 0x1503, 0xba8e, 0xe40b, 0x08f3, 0xe42e, 0xe16a, 0x4e02, 
+    0xe002, 0x007f, 0x1502, 0xe001, 0x007f, 0xe400, 0x093f, 0xe405, 
+    0x093f, 0x1503, 0x1402, 0xba8e, 0xe40b, 0x08f3, 0xe42e, 0xe004, 
+    0x0080, 0xba8e, 0x1402, 0xa83e, 0xba88, 0x1402, 0x1503, 0xaf0a, 
+    0xba8a, 0xe40b, 0x08f3, 0xe42e, 0xbac3, 0xbae0, 0xe049, 0xaf19, 
+    0xba8d, 0xbae0, 0xe049, 0xae31, 0xaf31, 0xe011, 0xba95, 0xbae0, 
+    0xbac3, 0xaf16, 0xba80, 0xaf0e, 0xe40a, 0x08f3, 0xe42e, 0xca86, 
+    0xae30, 0xaf30, 0x4e01, 0xe010, 0xa002, 0xe41e, 0x0b0e, 0x1560, 
+    0xaf05, 0xa00f, 0x4f4c, 0x524c, 0xe42a, 0x4e4c, 0x1401, 0xe400, 
+    0x0975, 0xa202, 0x344c, 0xa102, 0x0401, 0x544c, 0x144c, 0xa110, 
+    0xe426, 0xbae0, 0xe42e, 0xca86, 0xae30, 0xaf30, 0xe005, 0x00fe, 
+    0xe066, 0xe049, 0xe003, 0x0080, 0xb7f6, 0xba8e, 0xe42e, 0xbacf, 
+    0xe004, 0x0100, 0xba9e, 0xe42e, 0xa204, 0x150f, 0xf02b, 0xa202, 
+    0x4e00, 0xbacf, 0xe004, 0x0120, 0xba9e, 0xbac0, 0xbae7, 0xbae0, 
+    0x1400, 0xba86, 0xbae2, 0xbae3, 0xbac0, 0xbac1, 0xbae0, 0x1620, 
+    0xba9e, 0xe190, 0xbae0, 0x1421, 0xa102, 0xe01a, 0xba80, 0xf07a, 
+    0x1620, 0xe41e, 0x0b0e, 0x4e4e, 0x1421, 0x544e, 0xbae0, 0x140d, 
+    0xba98, 0xbae0, 0x140e, 0xba98, 0xbae0, 0xbac0, 0xbae0, 0xa200, 
+    0x5400, 0xbac0, 0xbac0, 0x1400, 0xa102, 0xe40a, 0x09c0, 0xbac0, 
+    0xbae0, 0xbac0, 0x1422, 0xba80, 0xe40a, 0x09c8, 0x1423, 0xba80, 
+    0x1400, 0xa102, 0xe40a, 0x09ce, 0xbac0, 0xbac0, 0xbac0, 0xe41e, 
+    0x0afb, 0xe42e, 0xbacf, 0xe004, 0x01b0, 0xba9e, 0x1450, 0xa116, 
+    0xf090, 0x1451, 0xa112, 0xf060, 0x143d, 0xa11e, 0xf030, 0xa202, 
+    0xf13e, 0x1450, 0xa12c, 0xf0f0, 0x1451, 0xa124, 0xf0c0, 0xa204, 
+    0xf0be, 0x143d, 0xa13c, 0xf070, 0xa01e, 0xf030, 0xa204, 0xf04e, 
+    0xa206, 0xf02e, 0xa208, 0xba8e, 0xe42e, 0xbacf, 0xe004, 0x01b5, 
+    0xba9e, 0xbae0, 0xa204, 0xba86, 0xa202, 0xba84, 0xbae3, 0xbac0, 
+    0xe41e, 0x0afb, 0xe42e, 0xbacf, 0xe004, 0x01b6, 0xba9e, 0x1424, 
+    0xba82, 0x163b, 0xf0aa, 0x162b, 0xf038, 0xbae0, 0xf06e, 0x0e20, 
+    0xf046, 0x0c21, 0xf022, 0xbae0, 0xbac0, 0xbae0, 0x1620, 0xe41e, 
+    0x0b0e, 0x4e4e, 0x162b, 0x544e, 0xbae0, 0xbae0, 0x1424, 0xa102, 
+    0xe408, 0x0a24, 0x1425, 0xba80, 0x1447, 0xba84, 0xe000, 0x02c0, 
+    0xe09e, 0x1487, 0x4e26, 0x1427, 0xba88, 0x1424, 0xe40a, 0x0a38, 
+    0x1428, 0xba84, 0xa102, 0x4e29, 0xa202, 0x3429, 0xa102, 0x4e2a, 
+    0xe42e, 0x1436, 0xe408, 0x0ada, 0xe41e, 0x0afb, 0xbacf, 0x1461, 
+    0xa120, 0x4e4e, 0x544e, 0x1452, 0xe41e, 0x0b0e, 0x4e4e, 0x1453, 
+    0x544e, 0x1427, 0xba88, 0x1449, 0xba80, 0xe42a, 0x163b, 0xf0aa, 
+    0x162b, 0xf038, 0xbae0, 0xf06e, 0x0e20, 0xf046, 0x0c21, 0xf022, 
+    0xbae0, 0xbac0, 0xbae0, 0x1620, 0xe41e, 0x0b0e, 0x4e4e, 0x162b, 
+    0x544e, 0xbae0, 0x1424, 0xba82, 0x1447, 0xba84, 0x1424, 0xe40a, 
+    0x0a6b, 0x1428, 0xba84, 0xe42e, 0xe41e, 0x0b05, 0xbacf, 0xa240, 
+    0xba8a, 0x163b, 0xe008, 0x00ff, 0xba8e, 0xbae0, 0xbac0, 0xbac0, 
+    0xbac0, 0xbac0, 0x1434, 0x2635, 0x2636, 0x2637, 0xe408, 0x0a8a, 
+    0x1448, 0xba84, 0x1424, 0xba80, 0xbac3, 0x1427, 0xba88, 0xbac0, 
+    0xe40e, 0x0ac7, 0xa20e, 0xba84, 0xbae2, 0x1448, 0xba84, 0x1438, 
+    0xba80, 0xbac2, 0x1434, 0xba80, 0x1435, 0xba80, 0x1436, 0xba80, 
+    0xbac2, 0x1437, 0xba80, 0xbae0, 0xbac2, 0x1424, 0xba84, 0xbac1, 
+    0x1425, 0xba80, 0xbae2, 0xbac0, 0x1448, 0xa10c, 0xf0b8, 0xa204, 
+    0xba86, 0x140d, 0xaf04, 0xa102, 0xba90, 0xbae0, 0x140e, 0xaf04, 
+    0xba90, 0x1438, 0xf10a, 0x1421, 0xe002, 0x03e9, 0xe016, 0xba80, 
+    0x8221, 0xe182, 0x0708, 0xe018, 0xc70f, 0x3c20, 0xba8c, 0x163b, 
+    0xaf10, 0xba82, 0xa200, 0x5436, 0x5436, 0x1427, 0xba88, 0xbac0, 
+    0xa200, 0x4e53, 0x1436, 0xe418, 0x0ada, 0x1447, 0xe000, 0x02c0, 
+    0xe09e, 0x1487, 0x4e26, 0xa202, 0x4e28, 0xcf0e, 0xa200, 0x4e29, 
+    0x4e2a, 0xe42e, 0x1453, 0xf0da, 0xc864, 0xa80e, 0xf06a, 0xa110, 
+    0xe012, 0x4e4e, 0xa200, 0x544e, 0xe190, 0xba9e, 0xe190, 0xbae0, 
+    0xbae0, 0x1452, 0xe41e, 0x0b0e, 0x4e4e, 0x1553, 0x554e, 0xa116, 
+    0xf026, 0xbae0, 0x1453, 0xf03a, 0x1427, 0xba88, 0xbae0, 0x1453, 
+    0xf02a, 0xbac1, 0xe42e, 0xbac0, 0xc864, 0xa80e, 0xe42a, 0xa110, 
+    0xe012, 0x4e4e, 0xa2fe, 0x544e, 0xe42e, 0xc864, 0xa80e, 0xe42a, 
+    0xa110, 0xe012, 0x4e4e, 0xa200, 0x544e, 0xe42e, 0xa102, 0xa201, 
+    0xf05a, 0xaf02, 0xa003, 0xe408, 0x0b11, 0xe04a, 0xe42e, 0xe41e, 
+    0x1134, 0xe41e, 0x1144, 0xc001, 0x1457, 0xf0ba, 0x1053, 0x2654, 
+    0x1155, 0x2756, 0xc000, 0x483e, 0x4e18, 0x493f, 0x4f19, 0xf08e, 
+    0xc000, 0xe004, 0x0338, 0x4e18, 0xe004, 0x03f8, 0x4e19, 0xa200, 
+    0x4e1a, 0x4e1b, 0x4e16, 0x4e17, 0xe12c, 0xe42e, 0x1424, 0xe12c, 
+    0xe408, 0x0b41, 0xe004, 0x006b, 0xba8c, 0xe190, 0xbaeb, 0xe40e, 
+    0x0b45, 0xa23e, 0xba88, 0xe190, 0xbaeb, 0xe41e, 0x0b4a, 0xe41e, 
+    0x0b86, 0xe42e, 0x141a, 0xe40a, 0x0b7b, 0xc001, 0x1457, 0xf09a, 
+    0x1153, 0x2754, 0xc000, 0x103e, 0x2618, 0xe046, 0xaf10, 0xf05e, 
+    0xc000, 0x1418, 0xe002, 0x0338, 0x4e1c, 0xe41e, 0x11eb, 0xc001, 
+    0x1457, 0xf07a, 0x1053, 0x2654, 0xc000, 0x483e, 0x4e18, 0xf05e, 
+    0xc000, 0xe004, 0x0338, 0x4e18, 0xe41e, 0x11a7, 0xe004, 0x0800, 
+    0x4e1e, 0xe161, 0x0080, 0xe41e, 0x0bc3, 0x141c, 0xa102, 0x4e1c, 
+    0xf748, 0xe41e, 0x11a7, 0xe12d, 0xc86e, 0xe008, 0x07ff, 0x4e1e, 
+    0xe161, 0x0080, 0xbadf, 0xe41e, 0x0bc3, 0xe42e, 0x141b, 0xe40a, 
+    0x0bb8, 0xc001, 0x1457, 0xf09a, 0x1155, 0x2756, 0xc000, 0x103f, 
+    0x2619, 0xe046, 0xaf10, 0xf05e, 0xc000, 0x1419, 0xe002, 0x03f8, 
+    0x4e1c, 0xe41e, 0x120f, 0xc001, 0x1457, 0xf07a, 0x1055, 0x2656, 
+    0xc000, 0x483f, 0x4e19, 0xf05e, 0xc000, 0xe004, 0x03f8, 0x4e19, 
+    0xe41e, 0x11c9, 0xe004, 0x0800, 0x4e1e, 0xe161, 0x00c0, 0xe41e, 
+    0x0bc3, 0x141c, 0xa102, 0x4e1c, 0xe408, 0x0ba8, 0xe41e, 0x11c9, 
+    0xe12e, 0xc86e, 0xe008, 0x07ff, 0x4e1e, 0xe161, 0x00c0, 0xbadf, 
+    0xe41e, 0x0bc3, 0xe42e, 0xe082, 0xcc78, 0xe12c, 0x141e, 0xaf0a, 
+    0xe40a, 0x0bd1, 0xa102, 0xcc44, 0xe184, 0x0bd0, 0xcc7e, 0xc87c, 
+    0xbabe, 0x141e, 0xa83e, 0xe42a, 0x4e1e, 0xa140, 0xe012, 0x4e1d, 
+    0xcc7e, 0xc87c, 0x361d, 0x541e, 0xe42e, 0xa200, 0x4e39, 0xe42e, 
+    0xe004, 0x0080, 0xe0c2, 0x0094, 0xc001, 0x1457, 0xf04a, 0x1051, 
+    0x2652, 0xf08e, 0xc000, 0xe0c0, 0x0041, 0xe005, 0x0320, 0xae11, 
+    0xe042, 0xc000, 0xe0c2, 0x0089, 0xe0c0, 0x0044, 0x4600, 0x1450, 
+    0xae08, 0xe0c2, 0x009f, 0xe0c2, 0x018b, 0xe0c2, 0x020a, 0x151f, 
+    0xf029, 0x1470, 0xe0c2, 0x009b, 0xe0c2, 0x0209, 0x1400, 0xe0c2, 
+    0x0219, 0xa204, 0xe0c2, 0x0100, 0x1451, 0xae20, 0x2650, 0xae08, 
+    0xe0c2, 0x0084, 0xa202, 0xae2a, 0x2600, 0xae04, 0x262c, 0xae10, 
+    0x1537, 0xae03, 0x2736, 0xae03, 0x2735, 0xae03, 0x2734, 0xae05, 
+    0x2730, 0xe056, 0xe0c2, 0x0080, 0x1435, 0xae02, 0xe0c1, 0x0064, 
+    0xa821, 0xf04b, 0xe0c1, 0x0064, 0xa81f, 0xae05, 0xe056, 0x1535, 
+    0xae19, 0xe056, 0x1535, 0xae1b, 0xe056, 0x151f, 0xf03b, 0xe008, 
+    0xffc3, 0xe0c2, 0x00fa, 0x1435, 0xae0a, 0xe0c2, 0x00e7, 0x1425, 
+    0xae06, 0x2600, 0xae20, 0x1550, 0xae09, 0xe056, 0xa203, 0xae2b, 
+    0xe056, 0xe0c2, 0x0282, 0x1450, 0xae20, 0x2651, 0xae08, 0xe0c2, 
+    0x0283, 0x1450, 0xae0c, 0x2651, 0xe0c2, 0x0183, 0x1435, 0xae02, 
+    0x2635, 0xe0c2, 0x018d, 0x1435, 0xae04, 0xa902, 0xae02, 0x2635, 
+    0xae02, 0x2635, 0xae02, 0xe0c2, 0x0182, 0xa202, 0xae3e, 0xa906, 
+    0xe0c2, 0x00ec, 0xa200, 0xe0c2, 0x0102, 0xa202, 0xe0c2, 0x0102, 
+    0xa204, 0xe0c2, 0x0102, 0xe0c0, 0x0060, 0xe0c2, 0x0098, 0xe0c0, 
+    0x0061, 0xe0c2, 0x0099, 0xe0c0, 0x0062, 0xe0c2, 0x009a, 0x8239, 
+    0xc786, 0xe018, 0xe000, 0x03f0, 0xe09e, 0x1097, 0x2697, 0xe0c2, 
+    0x009c, 0xe0c2, 0x0188, 0x1097, 0x2697, 0xe0c2, 0x0189, 0xe0c2, 
+    0x009d, 0x1097, 0x2697, 0xe0c2, 0x018a, 0xe0c2, 0x009e, 0x823a, 
+    0xc786, 0xe018, 0xe000, 0x03f0, 0xe09e, 0x1097, 0x2697, 0xe0c2, 
+    0x02c0, 0x1097, 0x2697, 0xe0c2, 0x02c1, 0x1097, 0x2697, 0xe0c2, 
+    0x02c2, 0x1439, 0xe0c2, 0x0072, 0x4e3a, 0xa002, 0x4e39, 0x0c3c, 
+    0xf028, 0x4e39, 0xe41e, 0x0cbd, 0xa200, 0x4e71, 0xa200, 0x4e56, 
+    0x4e57, 0xa200, 0x4e65, 0x4e71, 0xe42e, 0xa200, 0xe0c2, 0x0207, 
+    0x8250, 0xe182, 0x0340, 0xe018, 0xe0c2, 0x0208, 0x1451, 0xae08, 
+    0xa102, 0xae20, 0x1550, 0xae09, 0xa103, 0xe056, 0xe0c2, 0x0201, 
+    0xa240, 0xae20, 0xe0c2, 0x0204, 0xa220, 0xae20, 0xa020, 0xe0c2, 
+    0x0205, 0xe0c0, 0x0060, 0xe0c2, 0x0202, 0xe0c0, 0x02c0, 0xe0c2, 
+    0x0203, 0x1427, 0xaf02, 0x0445, 0xa51e, 0xe049, 0xae02, 0xe042, 
+    0xe000, 0x030c, 0xe09e, 0x8097, 0x8097, 0x108f, 0x2687, 0xe0c2, 
+    0x0204, 0xa200, 0xe0c2, 0x0205, 0x1497, 0xe0c2, 0x021a, 0xa200, 
+    0xe0c2, 0x021e, 0xe0c2, 0x021f, 0x142c, 0xe016, 0xe0c2, 0x0206, 
+    0xa224, 0x1535, 0xe017, 0x2330, 0xb612, 0xf02e, 0xa24c, 0x262c, 
+    0xe0c2, 0x0200, 0xa200, 0x4e73, 0x4e74, 0xe004, 0x0450, 0x4e68, 
+    0x4e69, 0xd008, 0x000d, 0xd009, 0x0450, 0xd00a, 0x0478, 0xe42e, 
+    0xa202, 0x0c24, 0xae30, 0xe0c2, 0x00a1, 0x1424, 0xe016, 0xae0a, 
+    0xe0c2, 0x0083, 0x1424, 0xf068, 0xa202, 0xe0c2, 0x0093, 0xe41e, 
+    0x0e40, 0x1424, 0xe418, 0x0e46, 0xe42e, 0xe41e, 0x0847, 0xa216, 
+    0x0c24, 0xae30, 0xe0c2, 0x00a1, 0x1424, 0xae0c, 0xa940, 0xe0c2, 
+    0x0083, 0xa202, 0xe0c2, 0x0093, 0x1424, 0xae02, 0xe0c2, 0x0280, 
+    0xe42e, 0x1424, 0xf06a, 0xa202, 0xe0c2, 0x020b, 0xe41e, 0x0e46, 
+    0xe41e, 0x0847, 0x1471, 0xe0c2, 0x0101, 0x145d, 0xae04, 0x2658, 
+    0xae08, 0x4e77, 0xa216, 0x0c24, 0xae30, 0xe0c2, 0x00a1, 0x1458, 
+    0xae14, 0x265d, 0xe0c2, 0x0082, 0x1424, 0xae0c, 0xa94a, 0xe0c2, 
+    0x0083, 0xa202, 0xe0c2, 0x0093, 0x1424, 0xae02, 0xe0c2, 0x0280, 
+    0xe41e, 0x0e4d, 0xe42e, 0xa202, 0x1553, 0xb60a, 0x4e01, 0xb616, 
+    0x4e02, 0xa103, 0xb616, 0x4e03, 0xa202, 0x0d52, 0xa007, 0xb602, 
+    0x4e04, 0xb616, 0x4e05, 0xa003, 0xb616, 0x4e06, 0x1405, 0x2224, 
+    0xf04a, 0xa202, 0xe0c2, 0x020b, 0x1406, 0x2224, 0xe418, 0x0e46, 
+    0x1406, 0x2224, 0xe418, 0x0847, 0x1430, 0xe016, 0x2201, 0xe418, 
+    0x0e01, 0x1430, 0xe016, 0x2204, 0xe418, 0x0df5, 0x1471, 0xe0c2, 
+    0x0101, 0xe0c0, 0x0184, 0x4e00, 0x1402, 0x2235, 0xae1c, 0x2600, 
+    0xe0c2, 0x00e6, 0x1552, 0xa109, 0x0d53, 0xa216, 0xb496, 0xb6aa, 
+    0x0c24, 0xae30, 0xe0c2, 0x00a1, 0x1458, 0xae14, 0x265d, 0xe0c2, 
+    0x0082, 0x1402, 0x2235, 0xae04, 0x1501, 0x2335, 0xe056, 0xae02, 
+    0x1524, 0x2306, 0xe056, 0xae02, 0x1524, 0xe017, 0x2305, 0x2706, 
+    0xe056, 0xae02, 0x2604, 0xae04, 0x2605, 0xae02, 0x1530, 0xe017, 
+    0x2734, 0x2304, 0xe056, 0xae02, 0x2605, 0xe0c2, 0x0083, 0xe41e, 
+    0x0e4d, 0x1435, 0x1553, 0xf03a, 0xf025, 0xe42e, 0xa202, 0xe0c2, 
+    0x0093, 0x1406, 0x2224, 0xae02, 0xe0c2, 0x0280, 0xe42e, 0xe41e, 
+    0x0e40, 0x1435, 0xe42a, 0xe0c0, 0x0184, 0x4e00, 0xa202, 0xae1c, 
+    0x2600, 0xe0c2, 0x00e6, 0xe004, 0x0200, 0xe0c2, 0x0083, 0xa202, 
+    0xe0c2, 0x0093, 0xe41e, 0x0e40, 0xe42e, 0x1465, 0xe0c2, 0x008a, 
+    0x1477, 0xe0c2, 0x0088, 0x145d, 0xae04, 0x2658, 0xae08, 0x4e77, 
+    0xe42e, 0xe0c0, 0x0092, 0x4e5c, 0xe161, 0x03db, 0xe162, 0x008c, 
+    0xd022, 0x0005, 0xe184, 0x0e0d, 0x9e12, 0x4e91, 0xe42e, 0x1559, 
+    0xe017, 0xae0b, 0x275d, 0xe004, 0x03a8, 0x0456, 0xe09c, 0x1437, 
+    0xae0c, 0x2664, 0xae0c, 0x2663, 0xae0c, 0x2686, 0xae0c, 0xe056, 
+    0xe0c2, 0x018c, 0x1486, 0x4e64, 0x4f86, 0x4f63, 0x1456, 0xae0c, 
+    0x2657, 0xe0c2, 0x0184, 0xa202, 0xe0c2, 0x0093, 0x1452, 0x0c53, 
+    0xa106, 0xf056, 0x1424, 0xae02, 0xe0c2, 0x0280, 0x1456, 0xa002, 
+    0x4e56, 0x0c50, 0xf058, 0x4e56, 0x1457, 0xa002, 0x4e57, 0xe42e, 
+    0xe0c0, 0x0095, 0xf7ea, 0xe0c2, 0x0095, 0xe42e, 0xe0c0, 0x0218, 
+    0xf7ea, 0xa200, 0xe0c2, 0x0218, 0xe42e, 0x1571, 0xa105, 0x1471, 
+    0xa002, 0xb616, 0x4e71, 0xe42e, 0xc001, 0xa240, 0x4e04, 0xa204, 
+    0x4e06, 0xa238, 0x1559, 0xf03b, 0xe0c0, 0x0072, 0x4e05, 0xa20c, 
+    0x4e07, 0xe004, 0x033c, 0x4e08, 0xc000, 0x1440, 0x1552, 0xc001, 
+    0x4e09, 0x4f0f, 0xc000, 0x1620, 0xc710, 0x3c21, 0xe008, 0xffff, 
+    0xa002, 0xaf02, 0xc001, 0x4e0b, 0x4e46, 0xe004, 0x1000, 0x1558, 
+    0xf03b, 0xe0c0, 0x0073, 0x4e0c, 0x1409, 0xe016, 0x4e0a, 0xf06a, 
+    0x140b, 0x4e09, 0xe004, 0x1000, 0x4e0c, 0xc000, 0x8221, 0xe182, 
+    0x7530, 0xe018, 0xae02, 0x1720, 0xc001, 0xe41e, 0x0fdd, 0x4e18, 
+    0x8218, 0x8100, 0xe018, 0xa279, 0xe41e, 0x0fc6, 0x4818, 0x4e19, 
+    0xae06, 0x1504, 0xe41e, 0x0fc6, 0x481e, 0x4e1f, 0xa202, 0x4e0d, 
+    0xa205, 0xc000, 0x0d45, 0xc001, 0xae03, 0xa011, 0x4f14, 0x150f, 
+    0x3514, 0xe013, 0x492e, 0x4f2f, 0x1444, 0x1543, 0xf039, 0xe41e, 
+    0x0f6e, 0x4e10, 0xa004, 0x4e11, 0xe41e, 0x0f94, 0xc000, 0xe42e, 
+    0xe42e, 0x142c, 0xc001, 0x4e0e, 0xa201, 0x4f2d, 0xe418, 0x0f50, 
+    0xa200, 0x4e20, 0x4e21, 0x140e, 0xf248, 0x140d, 0xf05a, 0xa200, 
+    0x4e0d, 0x1410, 0xf26e, 0x1409, 0xa102, 0xf7ca, 0x1543, 0xf03b, 
+    0x1410, 0xf1fe, 0x820f, 0x8140, 0xe019, 0xe04a, 0xaf02, 0x0022, 
+    0x0623, 0xe41e, 0x0fdd, 0xa21f, 0x4f14, 0x1509, 0xc70f, 0x3d14, 
+    0xe009, 0xffff, 0xa405, 0xe046, 0x3006, 0x3205, 0x4e10, 0xf09e, 
+    0xa200, 0x4e1c, 0x4e1d, 0x1411, 0x152d, 0xf02b, 0x1405, 0x4e13, 
+    0x152d, 0xc000, 0xe42e, 0xc001, 0xc874, 0xe41e, 0x0f9d, 0x140e, 
+    0xf0ea, 0x1020, 0x2621, 0xc710, 0x3c0f, 0xe008, 0xffff, 0xa002, 
+    0xaf02, 0x4e11, 0x1020, 0x2621, 0x0022, 0x0623, 0x4822, 0x4e23, 
+    0x1440, 0xa002, 0x4e40, 0x140e, 0xf028, 0x4e40, 0x140e, 0xf0f8, 
+    0x1509, 0xa103, 0x1026, 0x2627, 0xe41e, 0x0fc6, 0x482a, 0x4e2b, 
+    0x0826, 0x0e27, 0xe012, 0x4828, 0x4e29, 0xf0ae, 0x1128, 0x2729, 
+    0x092a, 0x0f2b, 0x140a, 0xb606, 0xb611, 0x4928, 0x4f29, 0xc000, 
+    0xe42e, 0xc001, 0x111c, 0x271d, 0x101e, 0x261f, 0xe041, 0xf097, 
+    0xe045, 0xe045, 0x1413, 0xf095, 0x491c, 0x4f1d, 0xa002, 0xf05e, 
+    0x491c, 0x4f1d, 0x1413, 0xa102, 0x3006, 0x3205, 0x4e13, 0xc000, 
+    0xe42e, 0xc001, 0x0020, 0x0621, 0x4820, 0x4e21, 0xc000, 0x146f, 
+    0xc001, 0x0c12, 0x001c, 0x061d, 0x481c, 0x4e1d, 0xc000, 0xe42e, 
+    0x1028, 0x2629, 0x0826, 0x0e27, 0x820c, 0xe41e, 0x1014, 0x0018, 
+    0x0619, 0xf052, 0x152c, 0xf039, 0xa203, 0x4f2d, 0xe41e, 0x0fac, 
+    0x1118, 0x2719, 0xaf07, 0xe062, 0x481a, 0x4e1b, 0xc710, 0x3c0f, 
+    0xe008, 0xffff, 0xa002, 0xaf02, 0x4e12, 0xe42e, 0x8209, 0x1018, 
+    0x2619, 0xe41e, 0x1008, 0x8207, 0xe41e, 0x1008, 0x1509, 0xa103, 
+    0x0507, 0xe41e, 0x0fc6, 0x481a, 0x4e1b, 0x140f, 0xae08, 0x4e30, 
+    0x101a, 0x261b, 0xae04, 0x001a, 0x061b, 0xae02, 0xc70f, 0x3c30, 
+    0xe008, 0xffff, 0xa010, 0xaf08, 0xc000, 0x0445, 0xc001, 0xa51e, 
+    0x0408, 0xe09e, 0x1487, 0xe42e, 0x8200, 0x8101, 0xe018, 0x4824, 
+    0x4e25, 0xa200, 0x4826, 0x4e27, 0xe42e, 0x0818, 0x0e19, 0x0026, 
+    0x0627, 0x4826, 0x4e27, 0x112e, 0x272f, 0xe046, 0xf032, 0x4926, 
+    0x4f27, 0x1026, 0x1427, 0xe42e, 0x1501, 0xe42b, 0x1124, 0x2725, 
+    0x0926, 0x0f27, 0xe066, 0xf051, 0x152c, 0xf039, 0xa203, 0x4f2d, 
+    0x1102, 0x2703, 0xe42b, 0x1124, 0x2725, 0x0926, 0x0f27, 0x0118, 
+    0x0719, 0x0902, 0x0f03, 0xa401, 0xe062, 0xe42e, 0x4f30, 0xa201, 
+    0xf032, 0xe012, 0xa203, 0x4f34, 0x4e31, 0xaf20, 0xc70f, 0x3c30, 
+    0x4e32, 0xaf20, 0xae20, 0x2631, 0xc70f, 0x3c30, 0x4e33, 0x1032, 
+    0x2633, 0x1534, 0xe42b, 0xe012, 0xe42e, 0x4930, 0x4f31, 0xa201, 
+    0x4f32, 0x1130, 0x2731, 0x3532, 0xe045, 0xf061, 0x1532, 0xa003, 
+    0x4f32, 0xa121, 0xf775, 0x1532, 0xf039, 0xa200, 0xe42e, 0xa103, 
+    0x4f32, 0xcc45, 0xa201, 0x4f33, 0xe184, 0x1005, 0x1533, 0xae03, 
+    0x4f33, 0x1130, 0x2731, 0x3532, 0xe045, 0xf061, 0xe013, 0xe04a, 
+    0x1533, 0xa003, 0x4f33, 0x1532, 0xa103, 0x4f32, 0x1433, 0xe42e, 
+    0xae02, 0x4831, 0xe008, 0xffff, 0xaf02, 0x4e30, 0x8131, 0xe018, 
+    0xae1e, 0x8130, 0xe01c, 0xe42e, 0xae02, 0x4831, 0xe008, 0xffff, 
+    0xaf02, 0x4e30, 0x8130, 0xe018, 0xaf1e, 0x8131, 0xe01c, 0xe42e, 
+    0xa200, 0xc001, 0x4e4c, 0x4e4f, 0x4e49, 0xc000, 0xe42e, 0xa200, 
+    0x4e43, 0xe42e, 0xc001, 0x144a, 0xc000, 0xf2a8, 0x1443, 0x0c42, 
+    0xe402, 0x1083, 0x1453, 0xa004, 0xc001, 0x0c4c, 0xc000, 0xe404, 
+    0x1083, 0xc001, 0x144c, 0x044b, 0x0c50, 0xc000, 0xf0d4, 0xc001, 
+    0x144f, 0xa002, 0xc70f, 0x3c4b, 0xaf20, 0x4e4f, 0x4e4c, 0xc000, 
+    0x1442, 0x4e43, 0xf37e, 0x1443, 0xa002, 0x4e43, 0xc001, 0x144c, 
+    0x044b, 0xc70f, 0x3c50, 0xaf20, 0x4e4c, 0xc000, 0xf2be, 0x1443, 
+    0x0c42, 0xf2a2, 0x1453, 0xa004, 0xc001, 0x0c4d, 0xc000, 0xf244, 
+    0xc001, 0x144d, 0x044b, 0xc000, 0x0c52, 0xf0e4, 0xc001, 0x1449, 
+    0xa002, 0xc70f, 0x3c4b, 0xaf20, 0x4e49, 0x0450, 0x4e4d, 0xc000, 
+    0x1442, 0x4e43, 0xf0fe, 0x1443, 0xa002, 0x4e43, 0xc001, 0x144d, 
+    0x044b, 0xc000, 0xc70f, 0x3c52, 0xaf20, 0xc001, 0x4e4d, 0xc000, 
+    0xf01e, 0xa202, 0xe42e, 0xa200, 0xe42e, 0xe161, 0x0268, 0xd022, 
+    0x002d, 0xa2fc, 0x4e4c, 0xe184, 0x108f, 0x1481, 0x224c, 0x4e91, 
+    0xca40, 0x224c, 0xce40, 0xca46, 0x224c, 0xce46, 0xe42e, 0xe004, 
+    0x0268, 0x4e66, 0xe004, 0x0100, 0x4e67, 0xa2fd, 0xca40, 0xe052, 
+    0xce40, 0xca46, 0xe052, 0xce46, 0xe42e, 0x1454, 0xe41a, 0x1097, 
+    0x1466, 0xe09c, 0x1496, 0xce42, 0x1486, 0xce44, 0xca4a, 0xcf34, 
+    0xe42e, 0x1466, 0xe09c, 0x1458, 0xae02, 0xa902, 0xce48, 0x4e96, 
+    0xce40, 0xca42, 0xce46, 0xe08c, 0x4e66, 0x1454, 0xa002, 0x4e54, 
+    0x0c50, 0xe428, 0xa200, 0x4e54, 0x1455, 0xa002, 0x4e55, 0x0c51, 
+    0xe42e, 0x1524, 0xa200, 0xe42b, 0xcf20, 0xcf22, 0xcf24, 0xcf26, 
+    0x1467, 0xe09c, 0xa200, 0xc707, 0x4e96, 0xe08c, 0x4e67, 0xe42e, 
+    0x1467, 0xe09c, 0x1096, 0x2696, 0xcf28, 0x1096, 0x2696, 0xcf2a, 
+    0x1096, 0x2696, 0xcf2c, 0x1096, 0x2696, 0xcf2e, 0x1096, 0x2696, 
+    0xcf30, 0xe42e, 0x1467, 0xe09c, 0xcb28, 0x4896, 0x4e96, 0xcb2a, 
+    0x4896, 0x4e96, 0xcb2c, 0x4896, 0x4e96, 0xcb2e, 0x4896, 0x4e96, 
+    0xe08c, 0x4e67, 0xe42e, 0xa200, 0x487b, 0x4e13, 0xe0c0, 0x0060, 
+    0x4810, 0x4e11, 0xe0c0, 0x0061, 0xae04, 0x487a, 0x4e12, 0xe41e, 
+    0x1124, 0xe41e, 0x128b, 0xe12c, 0xd071, 0x002a, 0xe181, 0xe42e, 
+    0xe12c, 0xd030, 0x0000, 0xd032, 0x0000, 0xd033, 0x0000, 0xd034, 
+    0x0000, 0xd035, 0x007f, 0xd036, 0x0000, 0xc874, 0xa130, 0xcc74, 
+    0xc86e, 0xa130, 0xcc6e, 0xe42e, 0xe12c, 0xd030, 0x0000, 0xd032, 
+    0x0000, 0xd033, 0x0000, 0xd034, 0x0000, 0xd035, 0x007f, 0xd036, 
+    0x0000, 0xd037, 0x0000, 0xe42e, 0xe12d, 0xd030, 0x0000, 0xd032, 
+    0x0000, 0xd033, 0x0080, 0xd034, 0x0080, 0xd035, 0x00bf, 0xd036, 
+    0x0080, 0xd037, 0x0000, 0xe42e, 0xe12e, 0xd030, 0x0000, 0xd032, 
+    0x0000, 0xd033, 0x00c0, 0xd034, 0x00c0, 0xd035, 0x00ff, 0xd036, 
+    0x00c0, 0xd037, 0x0000, 0xe42e, 0xc872, 0xc000, 0xf06a, 0xa102, 
+    0xf07a, 0xa102, 0xf0ca, 0xe470, 0xe41e, 0x116d, 0xe470, 0x1416, 
+    0xe41a, 0x11eb, 0x1416, 0xe418, 0x11a7, 0xe470, 0x1417, 0xe41a, 
+    0x120f, 0x1417, 0xe418, 0x11c9, 0xe470, 0xd111, 0x0000, 0xe082, 
+    0x4e14, 0xe0c0, 0x005a, 0xae02, 0xe000, 0x0048, 0xe092, 0xe41e, 
+    0x1299, 0x1010, 0x2611, 0x137b, 0x2713, 0xae11, 0xe042, 0xce20, 
+    0x8091, 0xd112, 0x0100, 0xa224, 0xe0c1, 0x0043, 0xa803, 0xf029, 
+    0xa22c, 0xce26, 0xca28, 0xf7f8, 0x127b, 0x2613, 0xe000, 0x0002, 
+    0x487b, 0x4e13, 0x137a, 0x2712, 0xe046, 0xf084, 0x157e, 0xf04b, 
+    0xa203, 0xe0c3, 0x0074, 0x4e13, 0x487b, 0x1010, 0x2611, 0x137b, 
+    0x2713, 0xae11, 0xe042, 0x9f01, 0x1414, 0xe092, 0xe42e, 0xe0c0, 
+    0x0047, 0xf04a, 0x103e, 0x2618, 0xf06e, 0xe0c0, 0x0041, 0x1518, 
+    0xae11, 0xe042, 0xce20, 0xd111, 0x0100, 0xd112, 0x0080, 0xd113, 
+    0x0013, 0xca28, 0xf7f8, 0xe0c0, 0x0047, 0xf07a, 0x103e, 0x2618, 
+    0xe000, 0x0100, 0x483e, 0xf04e, 0x1418, 0xe000, 0x0001, 0x4e18, 
+    0xe42e, 0xe0c0, 0x0047, 0xf04a, 0x103f, 0x2619, 0xf06e, 0xe0c0, 
+    0x0041, 0x1519, 0xae11, 0xe042, 0xce20, 0xd111, 0x0180, 0xd112, 
+    0x0080, 0xd113, 0x0013, 0xca28, 0xf7f8, 0xe0c0, 0x0047, 0xf07a, 
+    0x103f, 0x2619, 0xe000, 0x0100, 0x483f, 0xf04e, 0x1419, 0xe000, 
+    0x0001, 0x4e19, 0xe42e, 0xe0c0, 0x0047, 0xf04a, 0x103e, 0x2618, 
+    0xf06e, 0xe0c0, 0x0041, 0x1518, 0xae11, 0xe042, 0xce20, 0xd111, 
+    0x0100, 0xd112, 0x0080, 0xd113, 0x0012, 0xca28, 0xf7f8, 0xe0c0, 
+    0x0047, 0xf07a, 0x103e, 0x2618, 0xe000, 0x0100, 0x483e, 0xf04e, 
+    0x1418, 0xe000, 0x0001, 0x4e18, 0xa202, 0x4e1a, 0xe42e, 0xe0c0, 
+    0x0047, 0xf04a, 0x103f, 0x2619, 0xf06e, 0xe0c0, 0x0041, 0x1519, 
+    0xae11, 0xe042, 0xce20, 0xd111, 0x0180, 0xd112, 0x0080, 0xd113, 
+    0x0012, 0xca28, 0xf7f8, 0xe0c0, 0x0047, 0xf07a, 0x103f, 0x2619, 
+    0xe000, 0x0100, 0x483f, 0xf04e, 0x1419, 0xe000, 0x0001, 0x4e19, 
+    0xa202, 0x4e1b, 0xe42e, 0xc864, 0xaf06, 0xc867, 0xe003, 0x0000, 
+    0xae05, 0xe042, 0x4e4c, 0xc86c, 0xd036, 0x0080, 0xbad7, 0xcc6c, 
+    0xe41e, 0x116d, 0xe0c0, 0x005a, 0xae02, 0xe000, 0x0049, 0xe092, 
+    0x9e01, 0x1110, 0x2711, 0xe045, 0xf049, 0x1110, 0x2711, 0xe042, 
+    0x044c, 0xe002, 0x0200, 0x9f01, 0xe42e, 0xc866, 0xcc7a, 0xe092, 
+    0xc860, 0xcc7c, 0xd111, 0x0000, 0xe0c0, 0x005a, 0xae02, 0xe000, 
+    0x0048, 0xe092, 0xe41e, 0x1299, 0x1010, 0x2611, 0x137b, 0x2713, 
+    0xae11, 0xe042, 0xce20, 0x8091, 0xd112, 0x0100, 0xa224, 0xe0c1, 
+    0x0043, 0xa803, 0xf029, 0xa22c, 0xce26, 0xca28, 0xf7f8, 0xc864, 
+    0xaf06, 0xc867, 0xe003, 0x0000, 0xae05, 0xe042, 0x4e79, 0x1010, 
+    0x2611, 0x137b, 0x2713, 0xae11, 0xe042, 0x1779, 0xe042, 0x9f01, 
+    0xa202, 0x4e78, 0xe42e, 0x1010, 0x2611, 0x137b, 0x2713, 0xae11, 
+    0xe042, 0xe0c1, 0x005a, 0xae03, 0xe001, 0x0049, 0xe093, 0x9f01, 
+    0xe42e, 0xe0c1, 0x0043, 0xa805, 0xe429, 0x157e, 0xe429, 0xa200, 
+    0x4e15, 0x1010, 0x2611, 0x137b, 0x2713, 0xae11, 0xe042, 0x1778, 
+    0xf03b, 0x1779, 0xe042, 0x9e81, 0xe045, 0xf051, 0x127a, 0x2612, 
+    0xae10, 0xe041, 0xe003, 0x0200, 0x1678, 0xf06a, 0x1679, 0xe041, 
+    0xa200, 0x4e78, 0x4e79, 0xe421, 0x1415, 0xf648, 0xe0c0, 0x005c, 
+    0xe008, 0x8000, 0xf5fa, 0xe0c0, 0x005d, 0xe00a, 0x8000, 0xe0c2, 
+    0x005d, 0xa202, 0xce00, 0x4e15, 0xf55e, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe0c0, 0x0040, 0xe0c1, 0x005b, 0xae1d, 0xe042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0800, 0xd113, 0x000b, 0xca28, 0xf7f8, 0xe42e, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0080, 0x0060, 0x0008, 0x0006, 
+    0x00b0, 0x0090, 0x000b, 0x0009, 0x0160, 0x0120, 0x0016, 0x0012, 
+    0x02c0, 0x0240, 0x0058, 0x0012, 0x0580, 0x0480, 0x0160, 0x0012, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0063, 0x000d, 0x000f, 0x0011, 0x0013, 0x0015, 0x0017, 0x0000, 
+    0xffff, 0xfffe, 0x0001, 0x0002, 0x0000, 0x0002, 0xffff, 0xffff, 
+    0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xfffe, 
+    0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 0xfffe, 
+    0xfffe, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 
+    0xfffd, 0xfffd, 0xfffd, 0xfffd, 0x0000, 0x0001, 0x0001, 0x0001, 
+    0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0001, 0x0002, 
+    0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 0x0002, 
+    0x0002, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 0x0003, 
+    0x0003, 0x0002, 0x0001, 0xfffb, 0x0200, 0x0000, 0x0008, 0x0200, 
+    0x0000, 0x0010, 0x0200, 0x0008, 0x0020, 0x0200, 0x0010, 0x0040, 
+    0x0200, 0x0020, 0x0080, 0x0200, 0x0040, 0x00c0, 0x0200, 0x0060, 
+    0x0100, 0x0200, 0x0080, 0x0140, 0x0200, 0x00c0, 0x0180, 0x0200, 
+    0x0100, 0x01c0, 0x0200, 0x0140, 0x0200, 0x0200, 0x0180, 0x0280, 
+    0x0200, 0x0200, 0x0300, 0x0200, 0x0200, 0x0300, 0x0200, 0x0200, 
+    0x0300, 0x0200, 0x0200, 0x0300, 0x0014, 0x0012, 0x0010, 0x000e, 
+    0x000c, 0x000b, 0x000a, 0x0009, 0x0008, 0x0007, 0x0006, 0x0005, 
+    0x0004, 0x0004, 0x0003, 0x0003, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe40e, 0x0022, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe40e, 0x0152, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xf202, 0x1307, 0xc001, 0xe168, 0xd027, 0x0001, 0xa202, 0xe0c2, 
+    0x0008, 0xe0c2, 0x0058, 0xa200, 0xe0c2, 0x005a, 0xa2fe, 0x4e71, 
+    0x4e72, 0xe0c0, 0x005c, 0xa802, 0xe0c2, 0x005d, 0xce00, 0xf11e, 
+    0xe0c0, 0x005c, 0xe0c1, 0x0059, 0x4f70, 0xa203, 0x3570, 0xe052, 
+    0xf08a, 0xe0c1, 0x005d, 0xe055, 0xe0c3, 0x005d, 0xa202, 0xce00, 
+    0xe41e, 0x0084, 0xe0c0, 0x005b, 0x0c72, 0xe418, 0x00b2, 0xe0c0, 
+    0x0059, 0xa114, 0xf18a, 0xa102, 0xf1da, 0xe0c0, 0x005a, 0x0c71, 
+    0xe418, 0x00ab, 0xe0c0, 0x0059, 0xae02, 0xe000, 0x0152, 0xc000, 
+    0xe67c, 0xc001, 0xe0c0, 0x005a, 0x4e71, 0xe0c0, 0x005b, 0x4e72, 
+    0xe40e, 0x0038, 0x1471, 0xe412, 0x010d, 0xa202, 0x4e73, 0xe40e, 
+    0x0061, 0xe41e, 0x00c6, 0xd101, 0x0001, 0xc71e, 0xa002, 0xa200, 
+    0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0xc71e, 0xa002, 0xd071, 
+    0x002a, 0xe181, 0xe40e, 0x0061, 0xa200, 0xe0c2, 0x0059, 0xe0c2, 
+    0x0058, 0xe0c2, 0x0008, 0xe0c0, 0x0059, 0xf7ea, 0xa11e, 0xf168, 
+    0xa202, 0xe0c2, 0x0008, 0xe0c2, 0x0058, 0xe004, 0xf202, 0xae20, 
+    0xe005, 0x1307, 0xe056, 0xe0c2, 0x0070, 0xa200, 0xe0c2, 0x0059, 
+    0xe0c2, 0x0058, 0xe0c2, 0x0008, 0xf67e, 0xa202, 0xe0c2, 0x0008, 
+    0xe0c2, 0x0058, 0xe42e, 0x1471, 0xe424, 0xe41e, 0x010d, 0xe41e, 
+    0x00c6, 0xe42e, 0xe0c0, 0x0040, 0xe0c1, 0x005b, 0xae1d, 0xe042, 
+    0xe000, 0x1000, 0xce20, 0xd111, 0x0800, 0xd112, 0x1000, 0xd113, 
+    0x000b, 0xca28, 0xf7f8, 0xe41e, 0x17e0, 0xe42e, 0xe0c0, 0x0041, 
+    0xe005, 0x0000, 0xae11, 0xe042, 0xe0c1, 0x005a, 0xae19, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0800, 0xd113, 0x0003, 0xca28, 
+    0xf7f8, 0xe0c0, 0x0041, 0xe005, 0x0080, 0xae11, 0xe042, 0xe0c1, 
+    0x005a, 0xae15, 0xe042, 0xce20, 0xd111, 0x0000, 0xd112, 0x0200, 
+    0xd113, 0x0013, 0xca28, 0xf7f8, 0xe161, 0x00f4, 0x8891, 0x0032, 
+    0x8891, 0x0033, 0x8891, 0x0034, 0x8891, 0x0035, 0x8891, 0x0036, 
+    0x8891, 0x0037, 0x1091, 0x2691, 0xcc60, 0x1091, 0x2691, 0xcc62, 
+    0x1091, 0x2691, 0xcc74, 0x1091, 0x2691, 0xcf68, 0x1091, 0x2691, 
+    0xcf64, 0x1091, 0x2691, 0xcf60, 0xe42e, 0xe161, 0x00f4, 0x8991, 
+    0x0032, 0x8991, 0x0033, 0x8991, 0x0034, 0x8991, 0x0035, 0x8991, 
+    0x0036, 0x8991, 0x0037, 0xc860, 0x4891, 0x4e91, 0xc862, 0x4891, 
+    0x4e91, 0xc874, 0x4891, 0x4e91, 0xcb68, 0x4891, 0x4e91, 0xcb64, 
+    0x4891, 0x4e91, 0xcb60, 0x4891, 0x4e91, 0xe0c0, 0x0041, 0xe005, 
+    0x0000, 0xae11, 0xe042, 0x1571, 0xae19, 0xe042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0800, 0xd113, 0x0002, 0xca28, 0xf7f8, 0xe0c0, 
+    0x0041, 0xe005, 0x0080, 0xae11, 0xe042, 0x1571, 0xae15, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0200, 0xd113, 0x0012, 0xca28, 
+    0xf7f8, 0xe42e, 0xe40e, 0x0510, 0xe40e, 0x0172, 0xe40e, 0x0176, 
+    0xe40e, 0x017a, 0xe40e, 0x017e, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0182, 0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe41e, 0x0186, 0xe40e, 0x0061, 0xe41e, 0x0211, 
+    0xe40e, 0x0061, 0xe41e, 0x0212, 0xe40e, 0x0061, 0xe41e, 0x0336, 
+    0xe40e, 0x0061, 0xe41e, 0x034a, 0xe40e, 0x0061, 0xa200, 0xcc74, 
+    0x4e4f, 0x4e6e, 0xc401, 0xe188, 0x07ff, 0x4e91, 0xa202, 0xe0c2, 
+    0x0070, 0xe41e, 0x0366, 0xc00d, 0xe0c0, 0x0063, 0x486a, 0x4e6b, 
+    0xc000, 0xc00d, 0xe0c0, 0x0064, 0x4860, 0x4e61, 0xe0c0, 0x0065, 
+    0x4862, 0x4e63, 0xe0c0, 0x0066, 0x4864, 0x4e65, 0xe0c0, 0x0067, 
+    0x4866, 0x4e67, 0xe0c0, 0x0068, 0x4868, 0x4e69, 0xe0c0, 0x0047, 
+    0x4e6c, 0xc000, 0xa2fe, 0x4e21, 0x4e22, 0x4e3c, 0xa200, 0x4e6f, 
+    0xc00d, 0x4e75, 0xc000, 0x4e34, 0xe0c0, 0x0062, 0xaf02, 0x4633, 
+    0xaf02, 0xc00d, 0x4674, 0xaf02, 0x4676, 0xaf02, 0x4650, 0xc000, 
+    0xe41e, 0x04e2, 0xe41e, 0x0ad3, 0xe41e, 0x1100, 0xe41e, 0x03a2, 
+    0x146f, 0xf388, 0x1431, 0xa10e, 0xf7a8, 0xe41e, 0x0ae8, 0xe41e, 
+    0x0500, 0xe128, 0xe41e, 0x0844, 0xf72a, 0xa2fe, 0x4e21, 0x1450, 
+    0xae14, 0x2651, 0xae08, 0xe0c2, 0x0071, 0xa200, 0xe0c2, 0x0072, 
+    0x1433, 0xf0ea, 0x1411, 0xa104, 0xf0ba, 0xc001, 0x1466, 0xa004, 
+    0xe0c2, 0x0073, 0x1465, 0x4e64, 0xe0c2, 0x0074, 0xf0ae, 0x1413, 
+    0xa004, 0xe0c2, 0x0073, 0xa200, 0xe0c2, 0x0074, 0xc001, 0x4e64, 
+    0xc000, 0xa200, 0x4e6f, 0xe0c0, 0x0070, 0xa902, 0xe0c2, 0x0070, 
+    0xe42e, 0xa200, 0x4e6f, 0xe0c0, 0x0070, 0xa804, 0xe0c2, 0x0070, 
+    0xe42e, 0xe42e, 0xa200, 0xcc44, 0xa2fe, 0xe0c2, 0x0077, 0xc001, 
+    0x1473, 0xf04a, 0xa200, 0x4e1c, 0x4e73, 0xc000, 0xe0c0, 0x0045, 
+    0xa804, 0xc00d, 0x4e77, 0xc000, 0xe408, 0x02ee, 0xc00d, 0x1474, 
+    0xc000, 0xf0d8, 0x146e, 0xe408, 0x02ee, 0xe41e, 0x0642, 0xf07a, 
+    0x1447, 0xf058, 0xa202, 0x4e6e, 0xe40e, 0x02ee, 0xc00d, 0x1474, 
+    0xc000, 0xf04a, 0xe41e, 0x04b5, 0xf01e, 0xa200, 0xcc4a, 0xcc4c, 
+    0x4e35, 0xe41e, 0x1135, 0xe40a, 0x02ee, 0xd180, 0x0001, 0xd147, 
+    0x0002, 0xd03b, 0x0001, 0xd008, 0x0000, 0xe16a, 0xe004, 0x0123, 
+    0xae20, 0xe00a, 0x4567, 0xcf50, 0xe004, 0x89ab, 0xae20, 0xe00a, 
+    0xcdef, 0xcf52, 0x143d, 0xe002, 0x0029, 0xf028, 0xe190, 0x143d, 
+    0xa002, 0x4e3d, 0xa202, 0x4e2a, 0xe41e, 0x0663, 0xe41e, 0x03a2, 
+    0x1431, 0xf7da, 0xa102, 0xe40a, 0x02b3, 0xa108, 0xf784, 0xe40a, 
+    0x02b3, 0xa102, 0xf17a, 0xa102, 0xf0fa, 0xa102, 0xf10a, 0xa102, 
+    0xf14a, 0xa102, 0xf16a, 0xa102, 0xf14a, 0xa102, 0xf1ea, 0xa10e, 
+    0xf662, 0xe40e, 0x02a7, 0xe41e, 0x0ae8, 0xf22e, 0xe41e, 0x0b10, 
+    0xf1fe, 0xe41e, 0x151a, 0xf1ce, 0xba44, 0xe41e, 0x083b, 0xf18e, 
+    0xc00d, 0x1474, 0xc000, 0xf08a, 0x142a, 0xf06a, 0xa2fa, 0xe0c2, 
+    0x0071, 0xe40e, 0x032f, 0xf0ce, 0xba0e, 0xe002, 0x00ff, 0xf058, 
+    0xba4e, 0xe41e, 0x043e, 0xf798, 0xe41e, 0x083b, 0xf40e, 0x142a, 
+    0xe40a, 0x02d9, 0x1474, 0xf068, 0xe41e, 0x0642, 0xf03a, 0xe40e, 
+    0x02ee, 0xe40e, 0x0266, 0x142a, 0xf0ca, 0xe41e, 0x09c3, 0xe40a, 
+    0x0266, 0x1430, 0x4e2c, 0x1432, 0x4e2d, 0xa200, 0x4e2a, 0xf13e, 
+    0x1430, 0xe01a, 0x152c, 0xe01b, 0xe05a, 0xf118, 0x1432, 0x0c2d, 
+    0xf0e8, 0xe41e, 0x0a61, 0xe40a, 0x0266, 0x1401, 0xe408, 0x0266, 
+    0x1400, 0xf058, 0xe41e, 0x066a, 0xe40e, 0x0266, 0xe41e, 0x045d, 
+    0xf01e, 0xc00d, 0x1474, 0xc000, 0xf01a, 0x142c, 0x4e30, 0x142d, 
+    0x4e32, 0xe41e, 0x0382, 0xe41e, 0x0c22, 0xe41e, 0x0374, 0x1430, 
+    0xf048, 0x1438, 0xe41e, 0x1106, 0xe41e, 0x15e8, 0xc00d, 0x1474, 
+    0xf05a, 0x1477, 0xc000, 0xf0f8, 0xf0de, 0xc000, 0xc00d, 0x1477, 
+    0xc000, 0xf088, 0xe41e, 0x064e, 0xe41e, 0x0642, 0xf03a, 0x1447, 
+    0xe016, 0xf04a, 0xe41e, 0x1622, 0xf0ee, 0xe41e, 0x1622, 0xc00d, 
+    0x1574, 0xc000, 0xf06b, 0xf052, 0xa2fa, 0xe0c2, 0x0071, 0xf0be, 
+    0xe404, 0x025a, 0xe0c2, 0x0071, 0x143c, 0xe412, 0x1114, 0xe0c0, 
+    0x0071, 0x4e3c, 0x1420, 0xe0c2, 0x0073, 0x1435, 0xe0c2, 0x0072, 
+    0x1634, 0xa002, 0x4e34, 0xe0c2, 0x0070, 0xc84a, 0xc84d, 0xae20, 
+    0xe056, 0xe0c2, 0x0046, 0xa202, 0xe0c2, 0x0076, 0xe42e, 0xe0c0, 
+    0x0076, 0xaf02, 0xae02, 0xe0c2, 0x0076, 0xe42e, 0xe0c0, 0x0042, 
+    0xce20, 0xd111, 0x0600, 0xd112, 0x0080, 0xd113, 0x0003, 0xca28, 
+    0xf7f8, 0xe0c0, 0x0060, 0xc001, 0x4e42, 0xc000, 0xe0c0, 0x0061, 
+    0x4e70, 0xe42e, 0xe0c0, 0x0042, 0xce20, 0xd111, 0x0000, 0xd112, 
+    0x0100, 0xd113, 0x0013, 0xca28, 0xf7f8, 0xe0c0, 0x0061, 0x4e45, 
+    0xa202, 0x4e42, 0xe41e, 0x0500, 0xe128, 0xe0c0, 0x0060, 0xf048, 
+    0xe41e, 0x0ae8, 0xf03e, 0xe41e, 0x0b10, 0xe42e, 0xe0c0, 0x0040, 
+    0xe000, 0xb000, 0xce20, 0xd111, 0x03b0, 0xd112, 0x0100, 0xd113, 
+    0x0003, 0xca28, 0xf7f8, 0xe42e, 0xe0c0, 0x0040, 0xe000, 0xa200, 
+    0xce20, 0xd111, 0x1100, 0xd112, 0x0700, 0xd113, 0x000b, 0xca28, 
+    0xf7f8, 0xe42e, 0xe0c0, 0x0040, 0xe000, 0xb200, 0xce20, 0xd111, 
+    0x1100, 0xd112, 0x0700, 0xd113, 0x000b, 0xca28, 0xf7f8, 0xe42e, 
+    0xe164, 0x0700, 0x1294, 0x2694, 0xcf68, 0xa208, 0x4e40, 0xa200, 
+    0x4e47, 0xd1b2, 0x01ff, 0xd1b3, 0x01ff, 0xd1b0, 0x0700, 0xd1b1, 
+    0x0000, 0xe42e, 0x1447, 0xe408, 0x0487, 0x1440, 0xaf02, 0xe000, 
+    0x0700, 0xe098, 0x1440, 0xa802, 0x4e41, 0xcb68, 0xaf10, 0xa102, 
+    0xf06a, 0xe41e, 0x0421, 0x146f, 0xf268, 0xf78e, 0xcb68, 0xe008, 
+    0x00ff, 0x4e00, 0xaf0e, 0xf768, 0x1400, 0xaf0a, 0x4e30, 0x1400, 
+    0xa83e, 0x4e31, 0xa10a, 0xe016, 0x4e32, 0xe088, 0xe002, 0x0700, 
+    0xae02, 0x0441, 0x4e40, 0xa200, 0x4e46, 0x4e45, 0xd1b9, 0x0000, 
+    0x8840, 0x01b6, 0xe41e, 0x03e0, 0xe41e, 0x0500, 0xe128, 0xa200, 
+    0x4e39, 0xe42e, 0xe42e, 0x8844, 0x01b9, 0xe41e, 0x03e0, 0xe42e, 
+    0xd1b0, 0x0700, 0x8840, 0x01b6, 0xd1b3, 0x01ff, 0xd1b7, 0x0000, 
+    0xd1b8, 0x0000, 0xcb74, 0xf7fa, 0xa106, 0xf0b4, 0xe41e, 0x0524, 
+    0xd1b6, 0x0000, 0xd1b8, 0x0000, 0xcb74, 0xf7fa, 0xa106, 0xf77a, 
+    0xcb74, 0xa802, 0xcb6f, 0xa803, 0xf0f8, 0xf0eb, 0xcb6c, 0xe002, 
+    0x0200, 0xf068, 0xe41e, 0x0524, 0xa200, 0x4e40, 0xcf6c, 0xd1b8, 
+    0x0000, 0xcb74, 0xf7fa, 0xcb74, 0xa802, 0x4e42, 0xcb6c, 0x4e40, 
+    0xcb6e, 0x0046, 0x0645, 0x4846, 0x4e45, 0x8944, 0x01b9, 0x1440, 
+    0xe002, 0x0200, 0xe428, 0xe41e, 0x0524, 0xa200, 0x4e40, 0xcf6c, 
+    0xe42e, 0x1541, 0x1484, 0xf099, 0xaf10, 0xcb69, 0xae11, 0xe055, 
+    0xcf69, 0xa203, 0x4f41, 0xe42e, 0xe008, 0x00ff, 0xcb69, 0xae11, 
+    0xe055, 0xcf69, 0xa201, 0x4f41, 0x8094, 0xe089, 0xe003, 0x0800, 
+    0xe429, 0xe41e, 0x0524, 0xe164, 0x0700, 0xe42e, 0x1442, 0xe016, 
+    0xc86f, 0xa011, 0xe428, 0xaf07, 0xe009, 0x07ff, 0x1445, 0xe008, 
+    0x07ff, 0xe046, 0xf08a, 0xe049, 0xe011, 0xaf15, 0xe421, 0xe420, 
+    0xa200, 0xe42e, 0xc864, 0xa80e, 0xf028, 0xa210, 0x4e00, 0x5e00, 
+    0xa203, 0x3500, 0xaf03, 0xe046, 0xe42e, 0x1430, 0x1532, 0x4e48, 
+    0x4f49, 0x1445, 0x1542, 0x4e4a, 0x4f4b, 0xa202, 0x4e47, 0xe0c0, 
+    0x0047, 0xf0aa, 0xe0c0, 0x0041, 0xe0c1, 0x005a, 0xae19, 0xe042, 
+    0xe005, 0x00a0, 0xf09e, 0xe0c0, 0x0041, 0xe0c1, 0x005a, 0xae1b, 
+    0xe042, 0xe005, 0x00a0, 0xae11, 0xe042, 0xce20, 0xd111, 0x0000, 
+    0xd112, 0x0100, 0xd113, 0x0012, 0xca28, 0xf7f8, 0xe42e, 0x1448, 
+    0x1549, 0x4e30, 0x4f32, 0x144a, 0x154b, 0x4e45, 0x4f42, 0xa200, 
+    0x4e47, 0x4e46, 0xe0c0, 0x0047, 0xf0aa, 0xe0c0, 0x0041, 0xe0c1, 
+    0x005a, 0xae19, 0xe042, 0xe005, 0x00a0, 0xf09e, 0xe0c0, 0x0041, 
+    0xe0c1, 0x005a, 0xae1b, 0xe042, 0xe005, 0x00a0, 0xae11, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0100, 0xd113, 0x0013, 0xca28, 
+    0xf7f8, 0xe41e, 0x0500, 0xe128, 0xe42e, 0xa200, 0xc00d, 0x4e75, 
+    0xc000, 0x482f, 0x4e0b, 0x4e2e, 0xc00d, 0x1476, 0xc000, 0xf05a, 
+    0xe0c0, 0x006b, 0x4808, 0x4e09, 0x1008, 0x2609, 0xe0c1, 0x006a, 
+    0xe042, 0xe0c1, 0x006c, 0xa807, 0xf02b, 0xe042, 0xe0c1, 0x005a, 
+    0xae03, 0xe001, 0x0049, 0xe093, 0x9f01, 0xe004, 0xffff, 0x4e0a, 
+    0xe41e, 0x0500, 0xe41e, 0x057d, 0xe12c, 0xe41e, 0x0524, 0xe41e, 
+    0x0390, 0xe42e, 0xa2fe, 0x486c, 0x4e6d, 0xa200, 0x4e6a, 0x4e6b, 
+    0x482f, 0x4e0b, 0xe0c0, 0x0060, 0x4808, 0x4e09, 0xe0c0, 0x0061, 
+    0xae04, 0x482e, 0x4e0a, 0xe41e, 0x0500, 0xe41e, 0x057d, 0xe12c, 
+    0xd071, 0x002a, 0xe181, 0xe41e, 0x0524, 0xe41e, 0x0390, 0xe42e, 
+    0xe12c, 0xd030, 0x0000, 0xd032, 0x0000, 0xd033, 0x0000, 0xd034, 
+    0x0000, 0xd035, 0x007f, 0xd036, 0x0000, 0xd037, 0x0000, 0xe42e, 
+    0xc872, 0xf06a, 0xa102, 0xf0da, 0xa102, 0xf0ba, 0xf0ce, 0xc000, 
+    0x1442, 0xf068, 0x1439, 0xe408, 0x0749, 0xe41e, 0x03db, 0xe470, 
+    0xe40e, 0x0b32, 0xe40e, 0x075f, 0xd111, 0x0700, 0xe082, 0x4e0c, 
+    0xe0c0, 0x005a, 0xae02, 0xe000, 0x0048, 0xe092, 0xe41e, 0x058b, 
+    0x146f, 0xe408, 0x057a, 0x1008, 0x2609, 0x132f, 0x270b, 0xae11, 
+    0xe042, 0xce20, 0xd112, 0x0100, 0xa206, 0xe0c1, 0x0043, 0xa803, 
+    0xb6f6, 0xce26, 0xca28, 0xf7f8, 0xc00d, 0x1474, 0xc000, 0xf0ca, 
+    0xc00d, 0x1475, 0xc000, 0xf08a, 0xe41e, 0x05ed, 0xc00d, 0x1475, 
+    0xa002, 0x4e75, 0xc000, 0xc00d, 0x1474, 0xc000, 0xf0c8, 0xe41e, 
+    0x05ed, 0x154f, 0xa103, 0xf1a1, 0xe004, 0x0200, 0xf025, 0x140e, 
+    0xe41e, 0x063c, 0x122f, 0x260b, 0xe000, 0x0002, 0x482f, 0x4e0b, 
+    0x132e, 0x270a, 0xe046, 0xf034, 0x482f, 0x4e0b, 0x1008, 0x2609, 
+    0x132f, 0x270b, 0xae11, 0xe042, 0x9f01, 0x106c, 0x266d, 0xa002, 
+    0x486c, 0x4e6d, 0x140c, 0xe092, 0xe42e, 0x1008, 0x2609, 0x132f, 
+    0x270b, 0xae11, 0xe042, 0xe0c1, 0x005a, 0xae03, 0xe001, 0x0048, 
+    0xe093, 0x9f01, 0xe42e, 0xe0c1, 0x0043, 0xa805, 0xe429, 0xc00d, 
+    0x1474, 0xc000, 0xf0aa, 0xe0c0, 0x0059, 0xa102, 0xf068, 0xc00d, 
+    0x1475, 0xc000, 0xf02a, 0xf24e, 0xa200, 0x4e0d, 0xc00d, 0x1474, 
+    0xc000, 0xf038, 0x144f, 0xf348, 0x1008, 0x2609, 0x132f, 0x270b, 
+    0xae11, 0xe042, 0x8091, 0x9e89, 0xe045, 0xf053, 0x122e, 0x260a, 
+    0xae10, 0xe041, 0xe003, 0x0200, 0xe423, 0xc00d, 0x1474, 0xc000, 
+    0xf07a, 0xc00d, 0x1475, 0xa002, 0x4e75, 0xc000, 0xe42e, 0xe0c0, 
+    0x0059, 0xe002, 0x0001, 0xf068, 0xe0c0, 0x0045, 0x466f, 0x146f, 
+    0xf248, 0xc00d, 0x1474, 0xc000, 0xf0e8, 0xe0c0, 0x0059, 0xe002, 
+    0x0003, 0xf098, 0xe0c0, 0x0045, 0xa802, 0xf05a, 0x144f, 0xa002, 
+    0x4e4f, 0xe42e, 0x140d, 0xf498, 0xe0c0, 0x005c, 0xe008, 0x4000, 
+    0xf44a, 0xe0c0, 0x005d, 0xe00a, 0x4000, 0xe0c2, 0x005d, 0xa202, 
+    0xce00, 0x4e0d, 0xe40e, 0x05a4, 0xe42e, 0xc00d, 0x1574, 0xc000, 
+    0xf039, 0x144f, 0xe42a, 0xe085, 0x4f0f, 0xa102, 0xf218, 0x8091, 
+    0x9e09, 0x1108, 0x2709, 0xe046, 0xe008, 0x01ff, 0x4e0e, 0xaf02, 
+    0xe005, 0x0700, 0xe042, 0xe094, 0x140e, 0xe005, 0x0200, 0xe045, 
+    0xa121, 0xf0b3, 0xa021, 0xe41e, 0x0624, 0xe045, 0xa200, 0xf12b, 
+    0x4e92, 0x4e92, 0xa109, 0xf7ce, 0xe41e, 0x0624, 0xf03e, 0xe162, 
+    0x0700, 0xa200, 0xc702, 0x4e92, 0xe005, 0x010b, 0x4f92, 0xc703, 
+    0x4e92, 0x140f, 0xe094, 0xe42e, 0xa806, 0xe42a, 0xa102, 0xf09a, 
+    0xa102, 0xf0fa, 0x1482, 0xe008, 0xff00, 0x4e92, 0xa202, 0xe42e, 
+    0x1482, 0xe008, 0xff00, 0x4e92, 0xa200, 0x4e92, 0xa206, 0xe42e, 
+    0xa200, 0x4e92, 0xa204, 0xe42e, 0x116a, 0x276b, 0xe041, 0x496a, 
+    0x4f6b, 0xe42e, 0x144f, 0xe42a, 0x106c, 0x266d, 0xae12, 0x0440, 
+    0x116a, 0x276b, 0xa002, 0xe046, 0xb60c, 0xe42e, 0xe004, 0x4000, 
+    0xae20, 0x116a, 0x276b, 0xe045, 0xe425, 0xaf12, 0x116c, 0x276d, 
+    0xe045, 0xe425, 0x496c, 0x4f6d, 0xae12, 0x116a, 0x276b, 0xe045, 
+    0x496a, 0x4f6b, 0xe42e, 0xc001, 0xa200, 0x4e02, 0x4e00, 0x4e01, 
+    0xc000, 0xe42e, 0xe161, 0x05b0, 0x142b, 0x4e91, 0xc001, 0x1000, 
+    0x2601, 0xae10, 0x4891, 0x4e91, 0x1000, 0x2601, 0xc00d, 0x156c, 
+    0xf04b, 0x1168, 0x2769, 0xf08e, 0xc001, 0xe005, 0x0480, 0xae11, 
+    0xe042, 0xe0c1, 0x0041, 0xc001, 0xe042, 0xce20, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0100, 0xd113, 0x0012, 0xca28, 0xf7f8, 0x1000, 
+    0x2601, 0xe000, 0x0200, 0x4800, 0x4e01, 0xc000, 0x1442, 0xf058, 
+    0xe41e, 0x03db, 0xc001, 0xf59e, 0xe161, 0x05b2, 0x1446, 0xe008, 
+    0x00ff, 0x2681, 0x4e91, 0x1445, 0x4e81, 0xc001, 0x1402, 0xe41e, 
+    0x077d, 0x1402, 0xa002, 0x4e02, 0xc000, 0xe42e, 0xc001, 0x4e04, 
+    0x1402, 0xe40a, 0x0701, 0xa102, 0x4e03, 0xe161, 0x05b0, 0xe004, 
+    0x270f, 0x4e08, 0xa2fe, 0x4e0a, 0xe41e, 0x0797, 0x1481, 0x0c04, 
+    0xf11a, 0x1481, 0x0c08, 0xf052, 0x1481, 0x4e08, 0x1403, 0x4e0a, 
+    0x1403, 0xa102, 0x4e03, 0xf712, 0x140a, 0xf344, 0x4e03, 0xe41e, 
+    0x0797, 0x1481, 0xc000, 0x4e2b, 0xc001, 0xe004, 0x270f, 0x4e91, 
+    0x1091, 0x2689, 0xaf10, 0xe41e, 0x07bd, 0x1403, 0xe41e, 0x077d, 
+    0xe004, 0x0000, 0xe005, 0x007f, 0xe41e, 0x07b2, 0x1091, 0x2681, 
+    0xaf10, 0xe000, 0x0200, 0x480b, 0x4e0c, 0x1491, 0xe008, 0x00ff, 
+    0xae20, 0x2681, 0xc000, 0x4846, 0x4e45, 0xe002, 0x0200, 0xc001, 
+    0x480d, 0x4e0e, 0xc000, 0xb604, 0xb628, 0x4e42, 0xa202, 0x4e39, 
+    0xe42e, 0xc000, 0x1452, 0x4e2b, 0xe42e, 0xc001, 0x4e04, 0x4f05, 
+    0x4f07, 0x1402, 0xf0ea, 0xa102, 0x4e03, 0xe161, 0x05b0, 0xe41e, 
+    0x0797, 0x1481, 0x0c04, 0xf07a, 0x1403, 0xa102, 0x4e03, 0xf782, 
+    0xa200, 0xe42e, 0xe004, 0x270f, 0x4e91, 0x1091, 0x2689, 0xaf10, 
+    0x1505, 0xe41e, 0x07d6, 0x1403, 0xe41e, 0x077d, 0x1405, 0xae08, 
+    0xe000, 0x0080, 0xa21f, 0xe41e, 0x07b2, 0x1405, 0xae04, 0xe000, 
+    0x0700, 0xe094, 0x1091, 0x2681, 0xaf10, 0xa080, 0x4892, 0x4e92, 
+    0x1491, 0xe008, 0x00ff, 0xae20, 0x2681, 0xc000, 0x4846, 0x4e45, 
+    0xa180, 0x4892, 0x4e92, 0xb604, 0xb628, 0x4e42, 0xc001, 0xa202, 
+    0xe42e, 0xc001, 0x100b, 0x260c, 0xe41e, 0x07bd, 0x100b, 0x260c, 
+    0xe000, 0x0200, 0x480b, 0x4e0c, 0x100d, 0x260e, 0xe002, 0x0200, 
+    0x480d, 0x4e0e, 0xb604, 0xb628, 0xc000, 0x4e42, 0xe470, 0xe082, 
+    0x4e0c, 0xc001, 0x1407, 0xae04, 0xe000, 0x0700, 0xe092, 0x1091, 
+    0x2689, 0x1507, 0xe41e, 0x07d6, 0x1091, 0x2689, 0xa080, 0x4891, 
+    0x4e91, 0x1091, 0x2689, 0xa180, 0x4891, 0x4e91, 0xb604, 0xb628, 
+    0xc000, 0x4e42, 0x140c, 0xe092, 0xe470, 0xae06, 0xc00d, 0x156c, 
+    0xf04b, 0x1166, 0x2767, 0xf08e, 0xc001, 0xe005, 0x0456, 0xae11, 
+    0xe042, 0xe0c1, 0x0041, 0xc001, 0xe042, 0xce20, 0xd111, 0x05b0, 
+    0xd112, 0x0020, 0xd113, 0x0002, 0xca28, 0xf7f8, 0xe42e, 0x1403, 
+    0xae06, 0xc00d, 0x156c, 0xf04b, 0x1166, 0x2767, 0xf08e, 0xc001, 
+    0xe005, 0x0456, 0xae11, 0xe042, 0xe0c1, 0x0041, 0xc001, 0xe042, 
+    0xce20, 0xd111, 0x05b0, 0xd112, 0x0020, 0xd113, 0x0003, 0xca28, 
+    0xf7f8, 0xe42e, 0xcc66, 0xcc68, 0xcc6c, 0xe042, 0xcc6a, 0xa200, 
+    0xcc60, 0xcc64, 0xcc6e, 0xe128, 0xe42e, 0xc00d, 0x156c, 0xf04b, 
+    0x1168, 0x2769, 0xf08e, 0xc001, 0xe005, 0x0480, 0xae11, 0xe042, 
+    0xe0c1, 0x0041, 0xc001, 0xe042, 0xce20, 0xd111, 0x0000, 0xd112, 
+    0x0100, 0xd113, 0x0013, 0xca28, 0xf7f8, 0xe42e, 0xae09, 0xe001, 
+    0x0080, 0xae03, 0xce23, 0xc00d, 0x156c, 0xf04b, 0x1168, 0x2769, 
+    0xf08e, 0xc001, 0xe005, 0x0480, 0xae11, 0xe042, 0xe0c1, 0x0041, 
+    0xc001, 0xe042, 0xce20, 0xd112, 0x0020, 0xd113, 0x0013, 0xca28, 
+    0xf7f8, 0xe42e, 0xba0c, 0xf03a, 0xbcfc, 0xe42e, 0xba4c, 0xa20c, 
+    0x4e4c, 0x144c, 0xa002, 0x4e4c, 0xa140, 0xf0d2, 0xba40, 0xf7aa, 
+    0x344c, 0xa102, 0x4836, 0x4e37, 0x144c, 0xe41e, 0x082f, 0x0036, 
+    0x0637, 0xe42e, 0xe16b, 0xe42e, 0xba0c, 0xf03a, 0xbd7e, 0xe42e, 
+    0xba4c, 0xa20c, 0x4e4c, 0x144c, 0xa002, 0x4e4c, 0xa140, 0xf162, 
+    0xba40, 0xf7aa, 0x344c, 0xa102, 0x4836, 0x4e37, 0x144c, 0xe41e, 
+    0x082f, 0x0036, 0x0637, 0x4e37, 0x8a37, 0x0000, 0xa002, 0xaf02, 
+    0xe012, 0xe42c, 0xe012, 0xe16a, 0xe42e, 0xe16b, 0xe42e, 0xa120, 
+    0xf050, 0xa020, 0x4e4e, 0x564e, 0xe42e, 0x4e4e, 0xba5e, 0x344e, 
+    0x574e, 0xe056, 0xe42e, 0xba40, 0xc864, 0xa80e, 0x4e00, 0xe016, 
+    0xe428, 0x5600, 0xa202, 0xe42e, 0xba4e, 0xa184, 0xba41, 0xf03a, 
+    0xe40b, 0x08db, 0xba40, 0xba40, 0xba48, 0xe408, 0x08db, 0xba4e, 
+    0xbc3e, 0x4e21, 0xbc18, 0xe40d, 0x08db, 0xa008, 0x4e10, 0xbc04, 
+    0x4e11, 0xe40d, 0x08db, 0xa102, 0xf034, 0xf06a, 0xf2ce, 0xbc18, 
+    0xa008, 0x4e12, 0xf28e, 0xba40, 0x4e12, 0xe41e, 0x080c, 0xc001, 
+    0x4868, 0x4e69, 0xc000, 0xe41e, 0x080c, 0xc001, 0x486a, 0x4e6b, 
+    0xc000, 0xe41e, 0x07f2, 0xc001, 0x4e6c, 0xc000, 0xe002, 0x00ff, 
+    0xe400, 0x08db, 0xe000, 0x00ff, 0xf0ea, 0xa102, 0xcc44, 0xe162, 
+    0x0104, 0xe184, 0x0886, 0xe41e, 0x080c, 0x4892, 0x4e92, 0xe41e, 
+    0x091f, 0xf01e, 0xe40d, 0x08db, 0xbc20, 0xe40d, 0x08db, 0x4e13, 
+    0xba40, 0x4e14, 0xbc58, 0xe40d, 0x08db, 0xa002, 0x4e50, 0xe004, 
+    0x0654, 0xc70f, 0x3c50, 0xe008, 0xffff, 0xe005, 0x007e, 0xa003, 
+    0xe066, 0xa102, 0xe092, 0x9401, 0xf37d, 0xa002, 0x4e51, 0x8250, 
+    0x8151, 0xe018, 0x4e52, 0xba40, 0xf2fa, 0xba40, 0xba40, 0xf0aa, 
+    0xe41e, 0x07f2, 0xe41e, 0x07f2, 0xe41e, 0x07f2, 0xe41e, 0x07f2, 
+    0xf23d, 0xa200, 0x4e15, 0x4e16, 0xa220, 0xc001, 0x4e65, 0x4e66, 
+    0xc000, 0xba40, 0xe016, 0xe41a, 0x093f, 0xf16a, 0xe41e, 0x083b, 
+    0xf13a, 0xe004, 0x1fa4, 0xc70f, 0x3c52, 0xe008, 0xffff, 0xc001, 
+    0x1566, 0xe065, 0x4f66, 0x1466, 0x1565, 0xe065, 0x4f65, 0xc000, 
+    0xe16a, 0xa202, 0xe42e, 0xe16a, 0xa200, 0xe42e, 0xe41e, 0x07f2, 
+    0x4e22, 0xbc3e, 0xf3ad, 0x0c21, 0xf09a, 0x0421, 0x4e21, 0xe41e, 
+    0x0aff, 0xe12d, 0xa203, 0x4f3a, 0xf30a, 0xba40, 0xf2e8, 0xba40, 
+    0x4e18, 0xbc0e, 0xf2ad, 0x4e19, 0xf04a, 0xe41e, 0x1332, 0xf25d, 
+    0xbc3e, 0xf23d, 0x4e1a, 0xbc3e, 0xf20d, 0xba40, 0xf1e8, 0xba42, 
+    0xf1c8, 0xbd34, 0xf1ad, 0xa034, 0x4e1b, 0xf174, 0xa168, 0xf152, 
+    0xbd34, 0xf13d, 0xa034, 0xf114, 0xa168, 0xf0f2, 0xbd18, 0xf0dd, 
+    0x4e1c, 0xba40, 0x4e1d, 0xba40, 0x4e1e, 0xba40, 0x4e1f, 0xe41e, 
+    0x083b, 0xf03a, 0xa202, 0xe42e, 0xe16a, 0xa200, 0xe42e, 0xe0c0, 
+    0x0047, 0xf0aa, 0xe0c0, 0x0041, 0xe0c1, 0x005a, 0xae19, 0xe042, 
+    0xe005, 0x00a2, 0xf09e, 0xe0c0, 0x0041, 0xe0c1, 0x005a, 0xae1b, 
+    0xe042, 0xe005, 0x00a2, 0xae11, 0xe042, 0xce20, 0xd111, 0x0104, 
+    0xd112, 0x0200, 0xd113, 0x0002, 0xca28, 0xf7f8, 0xe42e, 0xc00d, 
+    0x1450, 0xc000, 0xf03a, 0xa202, 0xe42e, 0xba40, 0xf08a, 0xba4e, 
+    0xe002, 0x00ff, 0xf048, 0xba5e, 0xe190, 0xba5e, 0xba40, 0xf02a, 
+    0xba40, 0xba40, 0xf09a, 0xba44, 0xba40, 0xba40, 0xf05a, 0xba4e, 
+    0xba4e, 0xe190, 0xba4e, 0xba40, 0xf03a, 0xbc0a, 0xbc0a, 0xba40, 
+    0xf0aa, 0xba5e, 0xae20, 0xba5f, 0xe056, 0xba5e, 0xae20, 0xba5f, 
+    0xe056, 0xba40, 0xba40, 0x4e15, 0xe016, 0xe161, 0x05a6, 0xe41a, 
+    0x09a8, 0xf1ea, 0xba40, 0x4e16, 0xe016, 0xe161, 0x05ab, 0xe41a, 
+    0x09a8, 0xf16a, 0x1415, 0x2616, 0xf02a, 0xba40, 0xba40, 0x4e17, 
+    0xba40, 0xf0ca, 0xba40, 0xbc20, 0xbc20, 0xbc20, 0xbc20, 0xc001, 
+    0xbc20, 0x4e65, 0xbc20, 0x4e66, 0xc000, 0xa202, 0xe42e, 0xa200, 
+    0x4e15, 0x4e16, 0x4e17, 0xa220, 0xc001, 0x4e65, 0x4e66, 0xc000, 
+    0xe0c0, 0x0059, 0xa102, 0xf0b8, 0xe0c0, 0x0070, 0xa904, 0xe0c2, 
+    0x0070, 0xc00d, 0x1450, 0xc000, 0xf02a, 0xf68e, 0xa200, 0xe42e, 
+    0xe41e, 0x07f2, 0xcc44, 0xa002, 0x4e91, 0xba46, 0xba46, 0xe184, 
+    0x09b5, 0xe41e, 0x07f2, 0xe41e, 0x07f2, 0xba40, 0xba48, 0xa002, 
+    0x4e91, 0xba48, 0xa002, 0x4e91, 0xba48, 0xa002, 0x4e91, 0xba48, 
+    0x4e91, 0xa202, 0xe42e, 0xa2fe, 0x4e38, 0xe41e, 0x07f2, 0xe40d, 
+    0x0a54, 0x4e2b, 0x0c52, 0xe402, 0x0a54, 0xbc12, 0xe40d, 0x0a54, 
+    0xa10a, 0xb4a8, 0xf05a, 0xa104, 0xe408, 0x0a54, 0xa204, 0xe016, 
+    0x4e20, 0xe41e, 0x07f2, 0xe40d, 0x0a54, 0xe002, 0x00ff, 0xe400, 
+    0x0a54, 0xe000, 0x00ff, 0x0c22, 0xf0da, 0x0422, 0x4e22, 0xe41e, 
+    0x0b24, 0xf088, 0xe0c0, 0x0076, 0xa904, 0xe0c2, 0x0076, 0xe40e, 
+    0x0a54, 0x5610, 0x4e23, 0x1432, 0xf06a, 0xe41e, 0x07f2, 0xe40d, 
+    0x0a54, 0x4e24, 0x1411, 0xa102, 0xf034, 0xf11a, 0xf25e, 0x5612, 
+    0xc001, 0x4e1a, 0xc000, 0x1418, 0xe418, 0x080c, 0xe40d, 0x0a54, 
+    0xc001, 0x4818, 0x4e19, 0xc000, 0xe40e, 0x0a23, 0x1412, 0xe016, 
+    0xe418, 0x080c, 0xc001, 0x4818, 0x4e19, 0xc000, 0xe40d, 0x0a54, 
+    0x1412, 0xe016, 0x2218, 0xe418, 0x080c, 0xe40d, 0x0a54, 0xc001, 
+    0x481a, 0x4e1b, 0xc000, 0x141f, 0xf07a, 0xe41e, 0x07f2, 0xe40d, 
+    0x0a54, 0xe408, 0x0a54, 0xc00d, 0x1474, 0xc000, 0xf01a, 0x5620, 
+    0xf03a, 0xbc1e, 0xf22d, 0xe41e, 0x1143, 0x5620, 0xf09a, 0xbc06, 
+    0xf1cd, 0xa106, 0xf05a, 0xe41e, 0x07f2, 0xf17d, 0xf79e, 0xe41e, 
+    0x1171, 0xf13a, 0xe41e, 0x080c, 0xf10d, 0x141d, 0xf09a, 0xbc04, 
+    0xf0cd, 0xa102, 0xf05a, 0xbd0c, 0xf08d, 0xbd0c, 0xf06d, 0x1419, 
+    0xe418, 0x135e, 0xa202, 0xe42e, 0xe16a, 0x1438, 0xf094, 0xe41e, 
+    0x1106, 0x1438, 0xe41e, 0x110d, 0x1438, 0xe41e, 0x1114, 0xa200, 
+    0xe42e, 0xa200, 0x4e00, 0xe41e, 0x07f2, 0xe40d, 0x0ad0, 0x4e2b, 
+    0x0c52, 0xe402, 0x0ad0, 0xbc12, 0xe40d, 0x0ad0, 0xa10a, 0xb4a8, 
+    0xf04a, 0xa104, 0xe408, 0x0ad0, 0xe41e, 0x07f2, 0xe40d, 0x0ad0, 
+    0xe002, 0x00ff, 0xe400, 0x0ad0, 0xe000, 0x00ff, 0x0c22, 0xf03a, 
+    0xa202, 0x4e00, 0x5610, 0x0c23, 0xf03a, 0xa202, 0x4e00, 0x1432, 
+    0xf09a, 0xe41e, 0x07f2, 0xe40d, 0x0ad0, 0x0c24, 0xf03a, 0xa202, 
+    0x4e00, 0x1411, 0xa102, 0xf034, 0xf16a, 0xf2de, 0x5612, 0xc001, 
+    0x0e1a, 0xc000, 0xf03a, 0xa202, 0x4e00, 0x1418, 0xf24a, 0xe41e, 
+    0x080c, 0xf2fd, 0xc001, 0x0818, 0x0e19, 0xc000, 0xf03a, 0xa202, 
+    0x4e00, 0xf19e, 0x1412, 0xf178, 0xe41e, 0x080c, 0xf22d, 0xc001, 
+    0x0818, 0x0e19, 0xc000, 0xf03a, 0xa202, 0x4e00, 0x1418, 0xf0ba, 
+    0xe41e, 0x080c, 0xf16d, 0xc001, 0x081a, 0x0e1b, 0xc000, 0xf03a, 
+    0xa202, 0x4e00, 0x141f, 0xf0aa, 0xe41e, 0x07f2, 0xf0ad, 0xa1fe, 
+    0xf080, 0xa0fe, 0xf03a, 0xa201, 0x4f00, 0x4e01, 0xa202, 0xe42e, 
+    0xe16a, 0xa200, 0xe42e, 0xe161, 0x0100, 0xa200, 0x4e91, 0x4e02, 
+    0xd022, 0x011f, 0xe184, 0x0ae0, 0xe41e, 0x0bd9, 0x1402, 0xa002, 
+    0x4e02, 0xa200, 0x4e3a, 0xc001, 0x4e10, 0x4e11, 0xc000, 0xe42e, 
+    0xba4e, 0xba40, 0xba40, 0xba40, 0xba48, 0xba4e, 0xbc3e, 0xf0dd, 
+    0x4e00, 0x0c21, 0xf038, 0xa2fe, 0x4e21, 0x1400, 0xe000, 0x0100, 
+    0xe41e, 0x0b3c, 0xa202, 0xe42e, 0xe16a, 0xa200, 0xe42e, 0xa204, 
+    0x4e3a, 0x1421, 0xe000, 0x0100, 0xe41e, 0x0b9f, 0xe42a, 0xe41e, 
+    0x0844, 0xe42a, 0xe41e, 0x1166, 0xe41e, 0x15e0, 0xa202, 0xe42e, 
+    0xe41e, 0x07f2, 0xf0fd, 0x4e01, 0xe002, 0x00ff, 0xf0b0, 0x1401, 
+    0x0c22, 0xf038, 0xa2fe, 0x4e22, 0x1401, 0xe41e, 0x0b3c, 0xa202, 
+    0xe42e, 0xe16a, 0xa200, 0xe42e, 0xa202, 0x4e3a, 0x1422, 0xe41e, 
+    0x0b9f, 0xe42a, 0xe41e, 0x08de, 0xe12c, 0xa201, 0x4f3a, 0xe42a, 
+    0xa202, 0xe42e, 0xc001, 0x1012, 0x2613, 0xc873, 0xae09, 0xe001, 
+    0x0070, 0xe41e, 0x0c15, 0xe470, 0x4e02, 0xe41e, 0x0bcd, 0xa200, 
+    0x4e03, 0xa200, 0x1445, 0xa87e, 0xf05a, 0x1445, 0xa97e, 0xa002, 
+    0x4e45, 0xe161, 0x0100, 0x1481, 0xa203, 0x4f91, 0xc001, 0xf10a, 
+    0xc000, 0x1445, 0xa006, 0xaf04, 0x0c81, 0xc001, 0xf090, 0x8091, 
+    0x1091, 0x2691, 0x4814, 0x4e15, 0xa202, 0x4e03, 0xf08e, 0x1010, 
+    0x2611, 0x4814, 0x4e15, 0x8091, 0x4891, 0x4e91, 0xe41e, 0x0bff, 
+    0xce20, 0xd111, 0x0000, 0xc000, 0x1445, 0xc001, 0xa006, 0xaf04, 
+    0xae02, 0xce24, 0xd113, 0x0012, 0xca28, 0xf7f8, 0xc000, 0x1442, 
+    0xf158, 0xe41e, 0x03db, 0xc001, 0xa202, 0x1014, 0x2615, 0xe000, 
+    0x0200, 0x4814, 0x4e15, 0xc000, 0x1445, 0xa87e, 0xf05a, 0x1445, 
+    0xa97e, 0xa002, 0x4e45, 0xc001, 0xf5ae, 0x1403, 0xe428, 0xe161, 
+    0x0101, 0x1445, 0xa006, 0xaf04, 0x4e81, 0xae04, 0xc001, 0x0010, 
+    0x0611, 0x4810, 0x4e11, 0xc000, 0xe41e, 0x0bd9, 0xe42e, 0x4e02, 
+    0xe41e, 0x0bcd, 0xe161, 0x0100, 0x1491, 0xe42a, 0x8091, 0x1091, 
+    0x2691, 0xc001, 0x4814, 0x4e15, 0xe41e, 0x0bff, 0xc000, 0x153a, 
+    0xc001, 0xae09, 0xe001, 0x0070, 0xe41e, 0x0c15, 0xc000, 0x143a, 
+    0xa102, 0xf05a, 0xe12e, 0xe004, 0x0090, 0xf04e, 0xe12d, 0xe004, 
+    0x0080, 0xcc66, 0xcc68, 0xcc6c, 0xa01e, 0xcc6a, 0xa200, 0xcc60, 
+    0xcc64, 0xcc6e, 0xe128, 0xa202, 0xe42e, 0xe41e, 0x0be5, 0xce20, 
+    0xd111, 0x0100, 0xd112, 0x0020, 0xd113, 0x0003, 0xca28, 0xf7f8, 
+    0xe42e, 0xe41e, 0x0be5, 0xce20, 0xd111, 0x0100, 0xd112, 0x0020, 
+    0xd113, 0x0002, 0xca28, 0xf7f8, 0xe42e, 0xe0c0, 0x0047, 0xf0aa, 
+    0xe0c0, 0x0041, 0xe0c1, 0x005a, 0xae19, 0xe042, 0xe005, 0x00a6, 
+    0xf09e, 0xe0c0, 0x0041, 0xe0c1, 0x005a, 0xae1b, 0xe042, 0xe005, 
+    0x00a6, 0xae11, 0xe042, 0x1502, 0xae07, 0xe042, 0xe42e, 0xc00d, 
+    0x146c, 0xf04a, 0x106a, 0x266b, 0xf0ce, 0xc001, 0xe0c0, 0x0041, 
+    0xe0c1, 0x005a, 0xae1b, 0xe042, 0xe005, 0x00af, 0xae11, 0xe042, 
+    0xc001, 0x1114, 0x2715, 0xe042, 0xe42e, 0xae03, 0xce20, 0xce23, 
+    0xa080, 0x4812, 0x4e13, 0xd112, 0x0020, 0xd113, 0x0013, 0xca28, 
+    0xf7f8, 0xe42e, 0x1432, 0xf15a, 0xc001, 0x141c, 0xc000, 0xf118, 
+    0xc001, 0xa202, 0x4e1c, 0xc000, 0xd101, 0x0001, 0xc71e, 0xa002, 
+    0xa200, 0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0xc71e, 0xa002, 
+    0xe41e, 0x0d42, 0xe41e, 0x15a0, 0xe41e, 0x12db, 0x1419, 0xf04a, 
+    0xe41e, 0x13d2, 0xf19e, 0xa200, 0x4e53, 0x1453, 0x0c52, 0xf142, 
+    0x1453, 0xa201, 0xe41e, 0x06ae, 0x142b, 0x0c53, 0xf774, 0xf06a, 
+    0xe41e, 0x0d0c, 0x142b, 0x0c52, 0xf072, 0xe41e, 0x0c69, 0xf6ea, 
+    0xe41e, 0x0cd9, 0xf6be, 0xe41e, 0x16bd, 0xe41e, 0x16c6, 0xe41e, 
+    0x16ce, 0xe41e, 0x16d4, 0xa200, 0x4e54, 0x4e55, 0xe41e, 0x0d2a, 
+    0xe42e, 0xe41e, 0x07f2, 0x4e2b, 0xbc12, 0xa10a, 0xb4a8, 0xe016, 
+    0x4e20, 0xe41e, 0x07f2, 0x5610, 0x1432, 0xe418, 0x07f2, 0x1411, 
+    0xa102, 0xf034, 0xf07a, 0xf0de, 0x5612, 0x1418, 0xe418, 0x080c, 
+    0xf08e, 0x1412, 0xf068, 0xe41e, 0x080c, 0x1418, 0xe418, 0x080c, 
+    0x141f, 0xe418, 0x07f2, 0x1420, 0xf08a, 0xba41, 0x141a, 0xf04b, 
+    0xbc1e, 0xe40d, 0x0cd6, 0x4e25, 0x1420, 0xe016, 0xe41a, 0x12e1, 
+    0xf3ea, 0x1430, 0xf19a, 0x1432, 0xf04a, 0xba40, 0xba40, 0xf14e, 
+    0xba40, 0xf12a, 0xbc0c, 0xf33d, 0xf0fa, 0xa106, 0xf07a, 0xa104, 
+    0xf7aa, 0xe41e, 0x07f2, 0xf2bd, 0xf76e, 0xe41e, 0x07f2, 0xf27d, 
+    0xbc20, 0xf25d, 0xf70e, 0xe41e, 0x080c, 0xf21d, 0x041b, 0xa400, 
+    0xa566, 0x4e26, 0xa200, 0x4e27, 0x4e28, 0x4e29, 0x141d, 0xf10a, 
+    0xbc04, 0xf15d, 0x4e27, 0xa102, 0xf0ba, 0xbd0c, 0xf10d, 0xae02, 
+    0xa83e, 0x4e28, 0xbd0c, 0xf0bd, 0xae02, 0xa83e, 0x4e29, 0x1419, 
+    0xf04a, 0xc001, 0x562e, 0xc000, 0xa202, 0xe42e, 0xe16a, 0xa200, 
+    0xe42e, 0xa200, 0x4e5b, 0x1426, 0x4e61, 0x142b, 0x4e53, 0xc70f, 
+    0x3c50, 0x4854, 0x4e55, 0x1427, 0xae0a, 0x2628, 0xae0a, 0x2629, 
+    0xce4e, 0xe41e, 0x1225, 0x1453, 0x0c52, 0xf1a2, 0x1453, 0xe002, 
+    0x0007, 0xf028, 0xe190, 0xe41e, 0x124e, 0xe41e, 0x0d5a, 0xf13d, 
+    0xe41e, 0x0e03, 0xe41e, 0x1699, 0x1453, 0xa002, 0x4e53, 0xe41e, 
+    0x1262, 0x145b, 0xa102, 0xf680, 0xe41e, 0x043e, 0xf658, 0xe41e, 
+    0x083b, 0xe42e, 0xe16a, 0xe42e, 0x1426, 0x4e61, 0xa202, 0x4e3b, 
+    0x1453, 0xc70f, 0x3c50, 0x4854, 0x4e55, 0x1453, 0x0c2b, 0xf122, 
+    0xe41e, 0x124e, 0xe41e, 0x0de4, 0xe41e, 0x0e03, 0xe41e, 0x1699, 
+    0x1453, 0xa002, 0x4e53, 0xe41e, 0x1262, 0x1435, 0xa002, 0x4e35, 
+    0xf6de, 0xe42e, 0xe0c0, 0x0047, 0xf06a, 0xe0c0, 0x0041, 0xe005, 
+    0x0120, 0xf05e, 0xe0c0, 0x0041, 0xe005, 0x047e, 0xae11, 0xe042, 
+    0xce20, 0xd111, 0x0700, 0xd112, 0x0100, 0xd113, 0x0003, 0xca28, 
+    0xf7f8, 0xe42e, 0xe0c0, 0x0047, 0xf06a, 0xe0c0, 0x0041, 0xe005, 
+    0x0120, 0xf05e, 0xe0c0, 0x0041, 0xe005, 0x047e, 0xae11, 0xe042, 
+    0xce20, 0xd111, 0x0700, 0xd112, 0x0100, 0xd113, 0x0002, 0xca28, 
+    0xf7f8, 0xe42e, 0x1461, 0xe41e, 0x0e93, 0x1520, 0xa200, 0x4e58, 
+    0x4e5c, 0x4e5d, 0xf0b9, 0xbc32, 0xa203, 0x4f58, 0xe42d, 0xe40a, 
+    0x0da6, 0x4e59, 0xa132, 0xf13a, 0xf24e, 0x145b, 0xe049, 0xb5f0, 
+    0xe41b, 0x07f2, 0x4e5b, 0xe42d, 0xe408, 0x0dc4, 0xbc3c, 0x4e59, 
+    0xa10a, 0xe42d, 0xf3c4, 0xa203, 0x4f58, 0xf6ae, 0xa202, 0x4e5d, 
+    0xa200, 0x4e62, 0xe41e, 0x0e95, 0xa220, 0xe41e, 0x1277, 0xe41e, 
+    0x1293, 0xe41e, 0x129c, 0xe41e, 0x1640, 0xe41e, 0x1100, 0xe42e, 
+    0xa202, 0x4e5c, 0xe41e, 0x0e45, 0xbc06, 0x4e5e, 0xe42d, 0xe41e, 
+    0x0e6d, 0xe41e, 0x0e8a, 0xe42d, 0xe41e, 0x1293, 0xe41e, 0x129c, 
+    0xe41e, 0x1640, 0xe41e, 0x114a, 0xf2ad, 0xe42e, 0xe41e, 0x0e4f, 
+    0xbc06, 0x4e5e, 0xe42d, 0xe41e, 0x0e79, 0xe42d, 0xe41e, 0x129c, 
+    0xe41e, 0x1640, 0xe41e, 0x114a, 0xf1ad, 0xe42e, 0xe41e, 0x0e9e, 
+    0xe42d, 0xe41e, 0x0e79, 0xe42d, 0xe41e, 0x1293, 0xe41e, 0x1640, 
+    0xe41e, 0x114a, 0xf0cd, 0xe42e, 0xe41e, 0x0ef8, 0xa200, 0xe41e, 
+    0x1277, 0xe41e, 0x1293, 0xe41e, 0x1640, 0xe42e, 0x1473, 0xe0c2, 
+    0x0102, 0x1435, 0xa002, 0x4e35, 0x1419, 0xf098, 0xe41e, 0x0e03, 
+    0xe41e, 0x1699, 0x1453, 0xa002, 0x4e53, 0xe42e, 0xe16a, 0xa200, 
+    0xc001, 0x4e30, 0xc000, 0xe42e, 0x1461, 0xe41e, 0x0e93, 0xa200, 
+    0x4e5d, 0x4e5e, 0x1432, 0x4e58, 0x4e5c, 0xf0ca, 0x1453, 0xa802, 
+    0xae08, 0xe000, 0x051b, 0xe092, 0xa204, 0x4e81, 0xe41e, 0x129c, 
+    0xf03e, 0xe41e, 0x0ef8, 0xa200, 0xe41e, 0x1277, 0xe41e, 0x1293, 
+    0xe41e, 0x1640, 0xe42e, 0x1463, 0xae0c, 0x2662, 0xae02, 0x2658, 
+    0xae02, 0xa902, 0xce48, 0x4e5a, 0xcac6, 0xce60, 0xcb12, 0xce62, 
+    0x1454, 0xe01a, 0xe012, 0xe049, 0x147e, 0xe092, 0xd132, 0x0000, 
+    0xca66, 0xe052, 0x4e91, 0xca66, 0x4e91, 0xca66, 0x4e91, 0xca66, 
+    0x4e91, 0x1455, 0xe01a, 0xe012, 0xe049, 0xca66, 0xe052, 0x4e91, 
+    0xca66, 0x4e91, 0xca66, 0x4e91, 0xca66, 0x4e91, 0xd134, 0x0000, 
+    0xca6a, 0x4e91, 0xca6a, 0x4e91, 0xca6a, 0x4e91, 0xca6a, 0x4e91, 
+    0xca6a, 0x4e91, 0xca6a, 0x4e91, 0xe082, 0x4e7e, 0xe002, 0x0575, 
+    0xe005, 0x054b, 0xe428, 0x4f7e, 0xe42e, 0x1473, 0xae08, 0xe000, 
+    0x051b, 0xe092, 0x1459, 0xa102, 0xa806, 0x4e81, 0xe42e, 0x1465, 
+    0xe09c, 0x1486, 0xcece, 0xd160, 0x0000, 0x1473, 0xae08, 0xe000, 
+    0x051b, 0xe094, 0xd022, 0x000f, 0xe184, 0x0e67, 0xba40, 0xcac9, 
+    0xf068, 0xba44, 0xe045, 0xf021, 0xa002, 0xe049, 0xcecb, 0x4f92, 
+    0xcace, 0x4e96, 0xe08c, 0x4e65, 0xe42e, 0xa21e, 0x1559, 0xa119, 
+    0xb60e, 0x4e5f, 0x1459, 0xa102, 0xaf04, 0xa106, 0xb468, 0x4e60, 
+    0xe42e, 0xbc60, 0xe005, 0x03b0, 0xe041, 0xe041, 0x0558, 0xe09d, 
+    0x1486, 0xa81e, 0x4e5f, 0x1486, 0xe049, 0xaf08, 0x4e60, 0xe419, 
+    0x0e8a, 0xe42e, 0xbd34, 0x0461, 0xa269, 0xb605, 0xe042, 0xa168, 
+    0xa269, 0xb605, 0xe042, 0x4e62, 0x4e61, 0x041c, 0xa400, 0xa566, 
+    0xe000, 0x0410, 0xe09c, 0x1486, 0x4e63, 0xe42e, 0xe41e, 0x12b4, 
+    0x1459, 0x1525, 0xa061, 0xe095, 0xe40a, 0x0ef0, 0xa104, 0xe406, 
+    0x0edf, 0xa201, 0xd022, 0x0003, 0xe184, 0x0eb1, 0xbc06, 0xa006, 
+    0xae07, 0xe055, 0xe42d, 0xcf05, 0x1459, 0xa108, 0xe40a, 0x0ec2, 
+    0xa201, 0xd022, 0x0003, 0xe184, 0x0ebf, 0x9002, 0xae09, 0xe055, 
+    0xe42d, 0xe04a, 0xcf06, 0xcb10, 0xcc44, 0xe161, 0x0575, 0x4e91, 
+    0xe184, 0x0eda, 0xcb02, 0x4e91, 0xbd7e, 0xe41d, 0x0f1c, 0x4e91, 
+    0xbd7f, 0xe41d, 0x0f35, 0x4f89, 0x1091, 0x2689, 0xcf0a, 0xe190, 
+    0xcb14, 0x4891, 0x4e91, 0xe42d, 0xe41e, 0x12c8, 0xe42e, 0xe004, 
+    0x0124, 0x3459, 0x2659, 0xcf04, 0x9002, 0xae08, 0x9082, 0xe056, 
+    0xae08, 0xe056, 0xae08, 0xe056, 0xcf06, 0xa202, 0xe40e, 0x0ec4, 
+    0xa200, 0xcf04, 0x9002, 0xae18, 0xcf06, 0xa200, 0xe40e, 0x0ec4, 
+    0xe41e, 0x12b4, 0xa200, 0xcf04, 0xcf06, 0xca4a, 0xa806, 0xa106, 
+    0xe161, 0x0575, 0xf118, 0x1468, 0xe09c, 0x1096, 0x268e, 0xcb21, 
+    0xf0ba, 0xf0ab, 0xa200, 0xcf0a, 0x4e91, 0x4e91, 0xcb14, 0x4891, 
+    0x4e91, 0xe40e, 0x0f19, 0xa200, 0xcf08, 0x4e91, 0x4e91, 0x4891, 
+    0x4e91, 0xe41e, 0x12c8, 0xe42e, 0xba4c, 0xa20c, 0x4e4c, 0x144c, 
+    0xa002, 0x4e4c, 0xa11e, 0xe42a, 0xba40, 0xf7aa, 0x344c, 0xa102, 
+    0x4e4d, 0x564c, 0x044d, 0x4e4d, 0x8a4d, 0x0000, 0xa002, 0xaf02, 
+    0xe012, 0xe42c, 0xe012, 0xe16a, 0xe42e, 0xba4d, 0xa20d, 0x4f4c, 
+    0x154c, 0xa003, 0x4f4c, 0xa11b, 0xe42b, 0xba41, 0xf7ab, 0x354c, 
+    0xa103, 0x4f4d, 0x574c, 0x054d, 0x4f4d, 0x8a4d, 0x0000, 0xa003, 
+    0xaf03, 0xe013, 0xe42c, 0xe013, 0xe16a, 0xe42e, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe161, 0x0490, 0xa200, 0xc713, 0x4e91, 0xe42e, 0xe000, 0x0490, 
+    0xe09e, 0x1487, 0xa80c, 0x4e87, 0xe42e, 0xe000, 0x0490, 0xe09e, 
+    0x1487, 0xa80a, 0x4e87, 0xe42e, 0xc001, 0x4e4a, 0xe000, 0x0490, 
+    0xe09e, 0x1487, 0xa806, 0x4e87, 0x144a, 0xa002, 0x4e4a, 0x0c42, 
+    0xf038, 0xa200, 0x4e4a, 0xc000, 0xe42e, 0xe161, 0x0490, 0x1442, 
+    0xa102, 0xcc44, 0xa200, 0xe184, 0x1130, 0x1591, 0xa807, 0xe01b, 
+    0xe042, 0x0c66, 0xa102, 0xe01a, 0xe42e, 0xe161, 0x0490, 0xc001, 
+    0x1442, 0xc000, 0xa102, 0xcc44, 0xe184, 0x1141, 0x1491, 0xe016, 
+    0xe428, 0xe190, 0xe42e, 0xc001, 0x144a, 0x4e4b, 0x144b, 0xe000, 
+    0x0490, 0xe092, 0x1481, 0xf13a, 0x144b, 0xa002, 0x4e4b, 0x0c42, 
+    0xf038, 0xa200, 0x4e4b, 0x144b, 0x0c4a, 0xf718, 0xa200, 0x4e4a, 
+    0xc000, 0xa2fe, 0x4e38, 0xe0c2, 0x0077, 0xe42e, 0xa20e, 0x4e81, 
+    0x144b, 0xc000, 0x4e38, 0xe0c2, 0x0077, 0xe42e, 0xa202, 0x3410, 
+    0x1513, 0xa403, 0xc001, 0x4e40, 0x4f41, 0xa200, 0x4e4a, 0xc000, 
+    0xe42e, 0xe41e, 0x1214, 0x1438, 0xc001, 0x4e43, 0xa200, 0x4e4c, 
+    0x1444, 0x4e45, 0xc000, 0x1430, 0xe016, 0xe428, 0x1432, 0xc001, 
+    0xf15a, 0xe41e, 0x121f, 0xe161, 0x04a4, 0xba40, 0xba40, 0xb7f0, 
+    0xb634, 0x4e91, 0xa200, 0x4e91, 0x1443, 0x4e91, 0xa200, 0x4e46, 
+    0xa202, 0x4e44, 0xc000, 0xa202, 0xe42e, 0xc000, 0x1414, 0xc001, 
+    0xe418, 0x11f8, 0xc000, 0x1423, 0xc001, 0x4e46, 0x4e49, 0xa202, 
+    0x4e48, 0xba40, 0xe40a, 0x11e7, 0xbc0c, 0xe40a, 0x11e7, 0xa102, 
+    0xf0aa, 0xa102, 0xf15a, 0xa102, 0xf18a, 0xa102, 0xf23a, 0xa102, 
+    0xf26a, 0xf2de, 0xc000, 0xe41e, 0x07f2, 0xa002, 0x0e23, 0xc001, 
+    0xe012, 0xf022, 0x0640, 0xa203, 0xe41e, 0x1237, 0xf66e, 0xbc20, 
+    0xa2ff, 0xe41e, 0x1237, 0xf61e, 0xc000, 0xe41e, 0x07f2, 0xa002, 
+    0x0e23, 0xc001, 0xe012, 0xf022, 0x0640, 0xbc21, 0xe41e, 0x1252, 
+    0xf54e, 0xbc20, 0xa102, 0xe41e, 0x1275, 0xf4fe, 0xe41e, 0x121f, 
+    0xa202, 0x4e4c, 0xa200, 0x4e46, 0x4e49, 0xf47e, 0xbc20, 0x4e49, 
+    0xa2ff, 0xe41e, 0x1237, 0xa2fe, 0x4e48, 0xe40e, 0x11a4, 0x1444, 
+    0x0444, 0x0444, 0xe000, 0x04a4, 0xe09e, 0x1448, 0x4e97, 0x1449, 
+    0x4e97, 0x1443, 0x4e97, 0xe41e, 0x128d, 0xc000, 0xa202, 0xe42e, 
+    0x1446, 0x4e47, 0x1447, 0xa002, 0xc70f, 0x3c40, 0xaf20, 0x4e47, 
+    0xc000, 0x0e23, 0xc001, 0xe42a, 0x1444, 0x0444, 0x0444, 0xe000, 
+    0x04a4, 0xe09e, 0xa202, 0x4e97, 0x1447, 0x4e97, 0xa2fe, 0x4e97, 
+    0xe41e, 0x128d, 0xf68e, 0xe42e, 0xe161, 0x04a4, 0xe162, 0x0460, 
+    0xd022, 0x002f, 0xe184, 0x121d, 0x1491, 0x4e92, 0xe42e, 0xe161, 
+    0x04a4, 0x1444, 0xf0ea, 0xa102, 0xcc44, 0xe184, 0x122e, 0x1491, 
+    0xf05a, 0x8091, 0x1489, 0xe412, 0x1106, 0x8091, 0x8091, 0xe190, 
+    0xa200, 0x4e44, 0xe161, 0x04a4, 0xc732, 0x4e91, 0xe42e, 0x4e50, 
+    0x4f51, 0x1444, 0xe42a, 0xa102, 0xcc44, 0xe161, 0x04a4, 0xe184, 
+    0x1250, 0x1491, 0x1791, 0x0c51, 0x0f50, 0xf0b8, 0xf0a9, 0x8089, 
+    0x8089, 0xa200, 0x4e91, 0x8091, 0x1481, 0xe412, 0x1106, 0xe42e, 
+    0x8091, 0xe42e, 0x4e50, 0x4f51, 0x1444, 0xe42a, 0xa102, 0xcc44, 
+    0xe161, 0x04a4, 0xe184, 0x1273, 0x1491, 0x1789, 0x0f50, 0xf076, 
+    0xf069, 0xa2fe, 0x4e91, 0x1451, 0x4e91, 0xf0ee, 0x1491, 0x1591, 
+    0x0d51, 0xf0a2, 0xf099, 0x8089, 0x8089, 0xa200, 0x4e91, 0x8091, 
+    0x1481, 0xe41e, 0x1106, 0x8091, 0xe42e, 0x4e50, 0x1444, 0xe42a, 
+    0xa102, 0xcc44, 0xe161, 0x04a4, 0xe184, 0x128b, 0x1491, 0x1591, 
+    0x0d50, 0xf0a2, 0xf097, 0x8089, 0x8089, 0xa200, 0x4e91, 0x8091, 
+    0x1481, 0xe41e, 0x1106, 0x8091, 0xe42e, 0xe161, 0x04a4, 0xe162, 
+    0x018a, 0xd022, 0x0032, 0xe184, 0x1296, 0x1491, 0x4e92, 0xe162, 
+    0x04a4, 0x1444, 0xa002, 0x4e44, 0xa200, 0x4e52, 0x4e50, 0x1640, 
+    0xa002, 0xe012, 0x4854, 0x4e55, 0xa2fe, 0x4e56, 0xa200, 0x4e53, 
+    0xe161, 0x018a, 0x1491, 0xf136, 0x1681, 0xc000, 0x0e23, 0xc001, 
+    0xf026, 0x0e40, 0xc000, 0x0623, 0xc001, 0x0854, 0x0e55, 0xf076, 
+    0x0054, 0x0655, 0x4854, 0x4e55, 0x1453, 0x4e56, 0x8091, 0x8091, 
+    0x1453, 0xa002, 0x4e53, 0x0c44, 0xf668, 0x1456, 0xf164, 0x0456, 
+    0x0456, 0xe000, 0x018a, 0xe09e, 0x1487, 0x4e92, 0xa200, 0x4e97, 
+    0x1497, 0x4e92, 0x1497, 0x4e92, 0x1450, 0xa002, 0x4e50, 0x1452, 
+    0xa002, 0x4e52, 0x0c44, 0xf448, 0xa200, 0x4e52, 0x4e51, 0xa220, 
+    0x4e54, 0xa2fe, 0x4e55, 0xa200, 0x4e53, 0xe161, 0x018a, 0x1491, 
+    0xf082, 0x1481, 0x0c54, 0xf052, 0x0454, 0x4e54, 0x1453, 0x4e55, 
+    0x8091, 0x8091, 0x1453, 0xa002, 0x4e53, 0x0c44, 0xf718, 0x1455, 
+    0xf164, 0x0455, 0x0455, 0xe000, 0x018a, 0xe09e, 0x1487, 0x4e92, 
+    0xa200, 0x4e97, 0x1497, 0x4e92, 0x1497, 0x4e92, 0x1451, 0xa002, 
+    0x4e51, 0x1452, 0xa002, 0x4e52, 0x0c44, 0xf528, 0x1450, 0x0451, 
+    0x4e44, 0x0c41, 0xa102, 0xf1e4, 0x1444, 0xa102, 0x4e44, 0x1450, 
+    0x0450, 0x0450, 0xe000, 0x04a4, 0xe094, 0xa106, 0xe092, 0xa004, 
+    0xe09e, 0x1487, 0xe412, 0x1106, 0x1451, 0xf0ca, 0xa102, 0xcc44, 
+    0xe184, 0x132f, 0x1492, 0x4e91, 0x1492, 0x4e91, 0x1492, 0x4e91, 
+    0xe190, 0xe42e, 0x1552, 0xc001, 0x4e22, 0xa002, 0x4e21, 0x4f23, 
+    0xc000, 0x1450, 0x1551, 0xc001, 0x4e24, 0x4f25, 0xbc0c, 0x4e20, 
+    0xc000, 0xe42d, 0xe40a, 0x1381, 0xa102, 0xe40a, 0x13bd, 0xa102, 
+    0xe40a, 0x13dc, 0xa106, 0xe406, 0x1352, 0xa102, 0xe40a, 0x14c6, 
+    0xe16b, 0xe42e, 0xc001, 0xba40, 0x4e2a, 0xc000, 0xe41e, 0x07f2, 
+    0xe42d, 0xc001, 0xa002, 0x4e2b, 0xc000, 0xe42e, 0xc001, 0xa200, 
+    0x4e2e, 0x1420, 0xc000, 0xa106, 0xe424, 0xa104, 0xe420, 0xc001, 
+    0x1423, 0x042b, 0xa102, 0xc70f, 0x3c2b, 0xe008, 0xffff, 0xe41e, 
+    0x1503, 0x4e2e, 0x562e, 0x4e2c, 0x822c, 0x812b, 0xe018, 0x3223, 
+    0x4e2c, 0x1420, 0xa108, 0xe404, 0x1430, 0xe40a, 0x149b, 0xe40e, 
+    0x149b, 0xe161, 0x05b0, 0xc001, 0x8822, 0x0022, 0xc000, 0xe184, 
+    0x138d, 0xe41e, 0x07f2, 0xe42d, 0xa002, 0x4e91, 0xc001, 0xe161, 
+    0x05b0, 0xe162, 0x05c0, 0xa200, 0x4e27, 0x4e37, 0x4e28, 0x4e29, 
+    0x1437, 0xa002, 0x4e37, 0x0c81, 0xf0e6, 0xa200, 0x4e37, 0x1427, 
+    0xa002, 0x4e27, 0x8091, 0x0c22, 0xf746, 0xa200, 0x4e27, 0xe161, 
+    0x05b0, 0xf6fe, 0x1427, 0x4e92, 0x1428, 0xa002, 0x4e28, 0x0c24, 
+    0xf684, 0x4e28, 0xe41e, 0x14e6, 0x1429, 0xa002, 0x4e29, 0x0c25, 
+    0xe162, 0x05c0, 0xf5e4, 0xc000, 0xe42e, 0xc001, 0xa200, 0x4e29, 
+    0xe162, 0x05c0, 0x8229, 0x8121, 0xe018, 0xaf02, 0xc70f, 0x3c21, 
+    0xaf20, 0x1524, 0xa103, 0xcc45, 0xe184, 0x13d2, 0x4e92, 0xa002, 
+    0xe049, 0x0d21, 0xb616, 0xe41e, 0x14e6, 0x1429, 0xa002, 0x4e29, 
+    0x0c25, 0xf674, 0xc000, 0xe42e, 0xe167, 0x05b0, 0xc001, 0x1422, 
+    0xc000, 0xa102, 0xcc44, 0xe184, 0x13ec, 0xe41e, 0x07f2, 0xe42d, 
+    0x4e97, 0xe41e, 0x07f2, 0xe42d, 0x4e97, 0xc001, 0xe162, 0x05c0, 
+    0x1424, 0xa102, 0x4e3b, 0x1421, 0xa102, 0x833b, 0x4e92, 0xa200, 
+    0x4e29, 0xe41e, 0x14e6, 0x1429, 0xa002, 0x4e29, 0x0c25, 0xf7a4, 
+    0x1421, 0xa104, 0x4e27, 0x1427, 0xae02, 0xe000, 0x05b0, 0xe092, 
+    0x1491, 0xc70f, 0x3c24, 0x4837, 0x4e39, 0x1491, 0xc70f, 0x3c24, 
+    0x4838, 0x4e3a, 0x1439, 0x4e29, 0x0c3a, 0xf150, 0xe41e, 0x14e8, 
+    0x1437, 0xe000, 0x05c0, 0xe094, 0x1438, 0x0c37, 0xf054, 0x4e3b, 
+    0x1427, 0x833b, 0x4e92, 0xe41e, 0x14e6, 0x1429, 0xa002, 0x4e29, 
+    0x0c3a, 0xf6d6, 0x1427, 0xa102, 0x4e27, 0xf562, 0xc000, 0xe42e, 
+    0xe162, 0x0124, 0xa2fe, 0xc765, 0x4e92, 0x8224, 0x142c, 0xe40a, 
+    0x1483, 0x1424, 0x0c2a, 0xaf02, 0x4e28, 0x1425, 0x0c2a, 0xaf02, 
+    0x4e29, 0x1424, 0xa102, 0x4e3e, 0x1425, 0xa102, 0x4e3f, 0xa2fe, 
+    0x042a, 0x4e3b, 0xa200, 0x042a, 0x4e3c, 0xa200, 0x4e37, 0x4e38, 
+    0x4e39, 0xa202, 0x4e3a, 0xe41e, 0x150a, 0xf0aa, 0x1481, 0xe05a, 
+    0x4e81, 0x1437, 0xa002, 0x4e37, 0x1437, 0x0c2c, 0xf25a, 0x1428, 
+    0x043b, 0xa400, 0x323e, 0x4e28, 0x1429, 0x043c, 0xa400, 0x323f, 
+    0x4e29, 0x1439, 0xa002, 0x4e39, 0x0c3a, 0xf668, 0x4e39, 0x143a, 
+    0x0438, 0x4e3a, 0xa202, 0x0c38, 0x4e38, 0x142a, 0xf078, 0x143b, 
+    0x153c, 0xe013, 0x4f3b, 0x4e3c, 0xf57e, 0x143b, 0x153c, 0xe012, 
+    0x4f3b, 0x4e3c, 0xf51e, 0xa200, 0x4e29, 0xe162, 0x05c0, 0xa200, 
+    0x4e28, 0xe41e, 0x150a, 0xe01a, 0x4e92, 0x1428, 0xa002, 0x4e28, 
+    0x0c24, 0xf784, 0xe41e, 0x14e6, 0x1429, 0xa002, 0x4e29, 0x0c25, 
+    0xf6d4, 0xc000, 0xe42e, 0x142a, 0xf038, 0x142c, 0xf03e, 0x1423, 
+    0x0c2c, 0x4e37, 0xa200, 0x4e29, 0xe162, 0x05c0, 0xa200, 0x4e28, 
+    0x8224, 0x8129, 0xe018, 0x0428, 0x1520, 0xa109, 0xf05b, 0x8225, 
+    0x8128, 0xe018, 0x0429, 0x0c37, 0x152a, 0xf024, 0xe017, 0x4f92, 
+    0x1428, 0xa002, 0x4e28, 0x0c24, 0xf6c4, 0xe41e, 0x14e6, 0x1429, 
+    0xa002, 0x4e29, 0x0c25, 0xf614, 0xc000, 0xe42e, 0xe41e, 0x07f2, 
+    0xe42d, 0xc001, 0xa002, 0x0c23, 0xe408, 0x1350, 0x1422, 0xe41e, 
+    0x1503, 0x4e37, 0xa200, 0x4e29, 0xe162, 0x05c0, 0x1424, 0xa102, 
+    0xcc44, 0xe184, 0x14dc, 0x5637, 0x4e92, 0xe41e, 0x14e6, 0x1429, 
+    0xa002, 0x4e29, 0x0c25, 0xf714, 0xc000, 0xe42e, 0xa204, 0xf02e, 
+    0xa206, 0x4e35, 0x1429, 0xae0e, 0xe0c1, 0x0047, 0xf04b, 0xe005, 
+    0x0126, 0xf03e, 0xe005, 0x0444, 0xae11, 0xe042, 0xe0c1, 0x0041, 
+    0xe042, 0xce20, 0xd111, 0x05c0, 0xd112, 0x0040, 0x8835, 0x0113, 
+    0xca28, 0xf7f8, 0xe42e, 0xa201, 0xf04a, 0xaf02, 0xa003, 0xf7e8, 
+    0xe04a, 0xe42e, 0x8129, 0xe018, 0x0428, 0x4e26, 0xaf08, 0xe000, 
+    0x0124, 0xe092, 0x1426, 0xa81e, 0x4e3d, 0xa203, 0x353d, 0x1481, 
+    0xe052, 0xe42e, 0xa200, 0xba4f, 0xe042, 0xe003, 0x00ff, 0xf7cb, 
+    0x4e00, 0xa200, 0xba4f, 0xe042, 0xe003, 0x00ff, 0xf7cb, 0x4e01, 
+    0xe41e, 0x1531, 0xe42a, 0xe41e, 0x043e, 0xf6d8, 0xe41e, 0x083b, 
+    0xe42e, 0x1400, 0xf0ba, 0xa102, 0xf0ca, 0xa104, 0xf0da, 0xa102, 
+    0xf0ea, 0xa102, 0xf0fa, 0xa200, 0xe42e, 0xe41e, 0x1554, 0xf0de, 
+    0xe41e, 0x1578, 0xf0ae, 0xe41e, 0x15b8, 0xf07e, 0xe41e, 0x15c8, 
+    0xf04e, 0xe41e, 0x15d6, 0xf01e, 0xe42a, 0xc864, 0xa80e, 0xe016, 
+    0xe428, 0xe41e, 0x083b, 0xe42e, 0xe41e, 0x07f2, 0x0c21, 0xf09a, 
+    0x0421, 0x4e21, 0xe41e, 0x0aff, 0xe12c, 0xa201, 0x4f3a, 0xe42a, 
+    0x1415, 0xe161, 0x05a6, 0xe418, 0x156c, 0x1416, 0xe161, 0x05ab, 
+    0xe418, 0x156c, 0xa202, 0xe42e, 0x1491, 0xa102, 0xcc44, 0xe184, 
+    0x1576, 0x1481, 0xe41e, 0x082f, 0x1481, 0xe41e, 0x082f, 0xe42e, 
+    0x1415, 0xe161, 0x05a8, 0xf038, 0xe161, 0x05ad, 0x2616, 0xf09a, 
+    0x1491, 0xe41e, 0x082f, 0x1491, 0xe41e, 0x082f, 0x1491, 0xf02e, 
+    0xa230, 0x4e02, 0x1417, 0xe016, 0xe428, 0xba46, 0xa112, 0xb604, 
+    0xe42a, 0xe000, 0x044d, 0xe092, 0x1481, 0xa102, 0xcc44, 0xe184, 
+    0x15b5, 0xba40, 0xf1ba, 0xba42, 0xba40, 0xba48, 0xba40, 0x4e03, 
+    0xba40, 0xba40, 0xba4e, 0x1403, 0xf058, 0xba4a, 0xba4a, 0xba48, 
+    0xf0ae, 0xba40, 0xf08a, 0xba4a, 0xba40, 0xf05a, 0xba4a, 0xba40, 
+    0xf02a, 0xba48, 0x1402, 0xe41e, 0x082f, 0xe190, 0xa202, 0xe42e, 
+    0x1401, 0xf0da, 0xa102, 0xcc44, 0xe004, 0x00ff, 0xe184, 0x15c1, 
+    0xba4f, 0xe052, 0xe002, 0x00ff, 0xe016, 0xe42a, 0xa202, 0xe42e, 
+    0xa202, 0xba4f, 0xe003, 0x00ff, 0xf039, 0xba4f, 0xa204, 0xba4f, 
+    0xa002, 0x1501, 0xe045, 0xf7c1, 0xa202, 0xe42e, 0x1401, 0xa420, 
+    0xa102, 0xcc44, 0xe184, 0x15dd, 0xba4e, 0xe190, 0xa202, 0xe42e, 
+    0x1411, 0xa104, 0xe428, 0xc001, 0xe41e, 0x1706, 0xc000, 0xe42e, 
+    0x1433, 0xf05a, 0x1411, 0xa102, 0xf0b4, 0xf0da, 0x1438, 0xc001, 
+    0x4e51, 0xe41e, 0x110d, 0xe41e, 0x1741, 0xc000, 0xe42e, 0xe41e, 
+    0x1641, 0xf03e, 0xe41e, 0x1681, 0x1432, 0xc001, 0x154c, 0xf058, 
+    0xf06b, 0xa200, 0x4856, 0x4e57, 0xe41e, 0x1706, 0x1460, 0xae02, 
+    0xe000, 0x04d7, 0xe092, 0x1056, 0x2657, 0x4891, 0x4e91, 0x1460, 
+    0xe000, 0x04f9, 0xe092, 0xc000, 0x1438, 0xc001, 0x4e91, 0x1460, 
+    0xa002, 0x4e60, 0xe41e, 0x1125, 0xf048, 0xe41e, 0x170b, 0xf7be, 
+    0xc000, 0xe42e, 0xc001, 0xf04a, 0xe41e, 0x1706, 0xf06e, 0x1464, 
+    0xf04a, 0xa102, 0x4e64, 0xf13e, 0x1463, 0xf11a, 0x1462, 0xe000, 
+    0x050a, 0xe092, 0x1462, 0xa002, 0x4e62, 0xa122, 0xf028, 0x4e62, 
+    0x1463, 0xa102, 0x4e63, 0x1481, 0xc000, 0xe42e, 0xa2fe, 0xc000, 
+    0xe42e, 0xa203, 0x3512, 0xaf03, 0x1432, 0xc001, 0x4f68, 0x1569, 
+    0xf078, 0xf099, 0x106a, 0x266b, 0x116c, 0x276d, 0xf07e, 0xa200, 
+    0xa201, 0xf04e, 0xa200, 0x116e, 0x276f, 0x4850, 0x4e51, 0x4952, 
+    0x4f53, 0x171a, 0x0952, 0x0f53, 0xf071, 0xe013, 0x0f68, 0xf085, 
+    0x0668, 0x0668, 0xf05e, 0x0f68, 0xf037, 0x0e68, 0x0e68, 0x4854, 
+    0x4e55, 0x061a, 0xe049, 0x0118, 0x0719, 0xe065, 0x4956, 0x4f57, 
+    0xc000, 0x1530, 0xc001, 0xf0ab, 0x486e, 0x4e6f, 0x1054, 0x2655, 
+    0x486a, 0x4e6b, 0x161a, 0x486c, 0x4e6d, 0x144c, 0x4e69, 0xc000, 
+    0xe42e, 0x1423, 0xa203, 0x3510, 0xc001, 0x4e50, 0x4f51, 0xc000, 
+    0x1432, 0xe016, 0x1530, 0xc001, 0x4f52, 0xf07a, 0x106e, 0x266f, 
+    0x176d, 0x0f50, 0xf027, 0x0651, 0x486e, 0x4e6f, 0x146c, 0xf30a, 
+    0x106e, 0x266f, 0x0650, 0xf2c6, 0x1552, 0xe017, 0xe046, 0xa102, 
+    0xf274, 0xe188, 0x000f, 0x3c6c, 0x4853, 0x4e54, 0xe41e, 0x16e6, 
+    0x146c, 0xa102, 0xcc44, 0xe161, 0x0104, 0xa200, 0xe184, 0x16b1, 
+    0x0091, 0x0691, 0xae02, 0x4856, 0xe008, 0xffff, 0xaf02, 0x4e57, 
+    0x8254, 0x8156, 0xe018, 0xae1e, 0x8157, 0xe01c, 0xe161, 0x0104, 
+    0x8853, 0x0022, 0xe184, 0x16c5, 0x0091, 0x0691, 0xf02e, 0xa200, 
+    0x1552, 0xf039, 0x0068, 0x0669, 0x0018, 0x0619, 0xe049, 0x016a, 
+    0x076b, 0x011a, 0x071b, 0x4956, 0x4f57, 0x1156, 0x2757, 0xe066, 
+    0x4856, 0x4e57, 0x1450, 0x4e6d, 0x144c, 0xc000, 0xe42a, 0xc001, 
+    0xa200, 0x486e, 0x4e6f, 0x4e6d, 0xc000, 0xe42e, 0xe0c0, 0x0047, 
+    0xf0aa, 0xe0c0, 0x0041, 0xe0c1, 0x005a, 0xae19, 0xe042, 0xe005, 
+    0x00a2, 0xf09e, 0xe0c0, 0x0041, 0xe0c1, 0x005a, 0xae1b, 0xe042, 
+    0xe005, 0x00a2, 0xae11, 0xe042, 0xce20, 0xd111, 0x0104, 0xd112, 
+    0x0200, 0xd113, 0x0003, 0xca28, 0xf7f8, 0xe42e, 0x1460, 0xe42a, 
+    0xe41e, 0x170b, 0xf7ce, 0xe161, 0x04d7, 0xe162, 0x04d7, 0x1091, 
+    0x2691, 0xa201, 0x4f50, 0xa203, 0x1460, 0xa104, 0xf0e4, 0xcc44, 
+    0xe184, 0x1723, 0x1092, 0x268a, 0x0891, 0x0e91, 0xf054, 0xe082, 
+    0xa104, 0xe094, 0x4f50, 0xa003, 0xe084, 0xa004, 0xe092, 0x1450, 
+    0xe000, 0x04f9, 0xe098, 0xa002, 0xe096, 0x1484, 0x4e51, 0xe41e, 
+    0x110d, 0x1460, 0x0c50, 0xa104, 0xf0a4, 0xcc44, 0xe184, 0x173d, 
+    0x1491, 0x4e92, 0x1491, 0x4e92, 0x1493, 0x4e94, 0x1460, 0xa102, 
+    0x4e60, 0x1461, 0xe000, 0x050a, 0xe092, 0x1451, 0x4e81, 0x1461, 
+    0xa002, 0x4e61, 0xa122, 0xf028, 0x4e61, 0x1463, 0xa002, 0x4e63, 
+    0xe42e, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe0c0, 0x0040, 0xe0c1, 0x005b, 0xae1d, 0xe042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0800, 0xd113, 0x000b, 0xca28, 0xf7f8, 0xe42e, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0x0000, 0x002f, 0x0010, 0x001f, 0x0001, 0x000f, 0x0002, 0x0000, 
+    0x0004, 0x0017, 0x0008, 0x001b, 0x0020, 0x001d, 0x0003, 0x001e, 
+    0x0005, 0x0007, 0x000a, 0x000b, 0x000c, 0x000d, 0x000f, 0x000e, 
+    0x002f, 0x0027, 0x0007, 0x002b, 0x000b, 0x002d, 0x000d, 0x002e, 
+    0x000e, 0x0010, 0x0006, 0x0003, 0x0009, 0x0005, 0x001f, 0x000a, 
+    0x0023, 0x000c, 0x0025, 0x0013, 0x002a, 0x0015, 0x002c, 0x001a, 
+    0x0021, 0x001c, 0x0022, 0x0023, 0x0024, 0x0025, 0x0028, 0x002a, 
+    0x0027, 0x002c, 0x002b, 0x0001, 0x002d, 0x0002, 0x002e, 0x0004, 
+    0x0011, 0x0008, 0x0012, 0x0011, 0x0014, 0x0012, 0x0018, 0x0014, 
+    0x0013, 0x0018, 0x0015, 0x0006, 0x001a, 0x0009, 0x001c, 0x0016, 
+    0x0017, 0x0019, 0x001b, 0x0020, 0x001d, 0x0021, 0x001e, 0x0022, 
+    0x0016, 0x0024, 0x0019, 0x0028, 0x0026, 0x0026, 0x0029, 0x0029, 
+    0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 
+    0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 
+    0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, 
+    0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001d, 0x001e, 
+    0x001f, 0x0020, 0x0020, 0x0021, 0x0022, 0x0022, 0x0023, 0x0023, 
+    0x0024, 0x0024, 0x0025, 0x0025, 0x0025, 0x0026, 0x0026, 0x0026, 
+    0x0027, 0x0027, 0x0027, 0x0027, 0x0001, 0x0001, 0x0001, 0x0002, 
+    0x0002, 0x0003, 0x0003, 0x0002, 0x0003, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0xc864, 0xa80e, 0x4e4e, 0x564e, 0xa200, 0x4e00, 0x1400, 0xaf06, 
+    0xa802, 0xae0c, 0x1500, 0xaf05, 0xa803, 0xae09, 0xe042, 0x1500, 
+    0xaf0f, 0xae0f, 0xe042, 0x1500, 0xaf0d, 0xa803, 0xae0b, 0xe042, 
+    0x1500, 0xaf09, 0xa807, 0xae05, 0xe042, 0xce92, 0xd022, 0x0003, 
+    0xe184, 0x1123, 0xba4e, 0xce94, 0x1400, 0xa008, 0x4e00, 0xe002, 
+    0x0100, 0xf5d8, 0x1400, 0xaf04, 0xa802, 0xae08, 0x1500, 0xaf0d, 
+    0xae0d, 0xe042, 0x1500, 0xaf0b, 0xa803, 0xae0b, 0xe042, 0x1500, 
+    0xaf07, 0xa807, 0xae05, 0xe042, 0xce92, 0xd022, 0x0003, 0xe184, 
+    0x1142, 0xba4e, 0xce94, 0x1400, 0xa008, 0x4e00, 0xe002, 0x0180, 
+    0xf628, 0xe42e, 0x145c, 0xe418, 0x1158, 0xe42d, 0xe41e, 0x116b, 
+    0xe42d, 0x1460, 0xe418, 0x11a7, 0xe42d, 0xe41e, 0x11b9, 0xe42e, 
+    0x1466, 0xe09c, 0x1096, 0x268e, 0xced6, 0xd160, 0x0000, 0xcad0, 
+    0xa000, 0x4e03, 0xa2fe, 0xce90, 0xd151, 0x0000, 0xd040, 0x0010, 
+    0xe41e, 0x11ea, 0xe42e, 0x1466, 0xe09c, 0x1096, 0x268e, 0xced6, 
+    0xd160, 0x0000, 0xa220, 0x0c5c, 0xcc80, 0xa200, 0x4e04, 0x4e00, 
+    0x145f, 0xa802, 0xf18a, 0xa200, 0x4e05, 0x1404, 0xce90, 0x885c, 
+    0x0151, 0xcad0, 0xa000, 0x4e03, 0xe41e, 0x11ea, 0xe42d, 0x1401, 
+    0xced2, 0x1405, 0xa002, 0x4e05, 0xa108, 0x1504, 0xa003, 0x4f04, 
+    0xf6d8, 0xf08e, 0xced2, 0xced2, 0xced2, 0xced2, 0x1404, 0xa008, 
+    0x4e04, 0x1400, 0xa002, 0x4e00, 0xa108, 0x155f, 0xaf03, 0x4f5f, 
+    0xf588, 0xcad6, 0x4896, 0x4e96, 0xe08c, 0x4e66, 0xe42e, 0xa208, 
+    0x4e03, 0xd040, 0x0004, 0xa220, 0xce90, 0xd151, 0x0000, 0xe41e, 
+    0x11ea, 0xe42d, 0xa222, 0xce90, 0xd151, 0x0000, 0xe41e, 0x11ea, 
+    0xe42e, 0x1460, 0xa104, 0x1567, 0xe09d, 0xf268, 0x1096, 0x268e, 
+    0xcede, 0xd160, 0x0000, 0xd040, 0x000f, 0xa224, 0x4e04, 0xa200, 
+    0x4e05, 0x1404, 0xce90, 0xd151, 0x0001, 0xcad8, 0xa000, 0x4e03, 
+    0xe41e, 0x11ea, 0xe42d, 0x1401, 0xceda, 0x1405, 0xa002, 0x4e05, 
+    0xa110, 0x1504, 0xa003, 0x4f04, 0xf6d8, 0xcade, 0x4896, 0x4e96, 
+    0xe08c, 0x4e67, 0xe42e, 0xa200, 0xcedc, 0x4e96, 0x4e96, 0xe08c, 
+    0x4e67, 0xe42e, 0xe41e, 0x1200, 0xe42d, 0xbf08, 0x1401, 0xd158, 
+    0x0000, 0xe42d, 0xe42a, 0xa104, 0xcc44, 0xf064, 0xe184, 0x11f9, 
+    0xbf04, 0xcea6, 0xe42d, 0xc88c, 0xcea6, 0xd150, 0x0000, 0xe42e, 
+    0x5003, 0xcea8, 0xe42d, 0xaf04, 0x4e01, 0xcc82, 0xe42a, 0xcaa8, 
+    0xa806, 0x4e02, 0xcc84, 0xe090, 0xd158, 0x0000, 0x1401, 0x0c02, 
+    0x9280, 0xceab, 0xe42a, 0xcaac, 0xcc86, 0xbf00, 0xe42d, 0xbf06, 
+    0xcea4, 0x1401, 0x0c02, 0xa104, 0xcc44, 0xe424, 0xe184, 0x1223, 
+    0xbf02, 0xe42d, 0xbf06, 0xcea4, 0xe42e, 0xe161, 0x0376, 0xd022, 
+    0x002d, 0xa2fc, 0x4e00, 0xe184, 0x122f, 0x1481, 0x2200, 0x4e91, 
+    0xca40, 0x2200, 0xce40, 0xca46, 0x2200, 0xce46, 0xe42e, 0xe004, 
+    0x0376, 0x4e64, 0xe004, 0x0100, 0x4e65, 0xe004, 0x012d, 0x4e66, 
+    0xe004, 0x0187, 0x4e67, 0xe004, 0x01e1, 0x4e68, 0xa2fd, 0xca40, 
+    0xe052, 0xce40, 0xca46, 0xe052, 0xce46, 0xe42e, 0x1454, 0xe41a, 
+    0x1237, 0x1464, 0xe09c, 0x1496, 0xce42, 0x1486, 0xce44, 0xca4a, 
+    0xcec4, 0xcf34, 0xca4c, 0x151e, 0xb7f6, 0xca4b, 0xe052, 0xcec2, 
+    0x4e69, 0xe42e, 0x1464, 0xe09c, 0x145a, 0x4e96, 0xce40, 0xca42, 
+    0xce46, 0xe08c, 0x4e64, 0x1454, 0xa002, 0x4e54, 0x0c50, 0xe428, 
+    0xa200, 0x4e54, 0x1455, 0xa002, 0x4e55, 0x0c51, 0xe42e, 0xe049, 
+    0x1466, 0xe09c, 0x1096, 0x268e, 0xced6, 0xa200, 0xcec0, 0xd022, 
+    0x000f, 0xe184, 0x1284, 0xced3, 0xe190, 0xcad6, 0x4896, 0x4e96, 
+    0xe08c, 0x4e66, 0x1467, 0xe09c, 0xcad6, 0xcedc, 0x4896, 0x4e96, 
+    0xe08c, 0x4e67, 0xe42e, 0x1465, 0xe09c, 0xe004, 0x2222, 0x4e96, 
+    0xcecc, 0xe08c, 0x4e65, 0xe42e, 0x1468, 0xe09c, 0xa220, 0xae34, 
+    0x4896, 0x4e96, 0x4896, 0x4e96, 0x4896, 0x4e96, 0x1196, 0x278e, 
+    0xcf33, 0x4896, 0x4e96, 0xcf20, 0xcf22, 0xcf24, 0xcf26, 0xa200, 
+    0x4e96, 0xe08c, 0x4e68, 0xe42e, 0x1468, 0xe09c, 0x1096, 0x2696, 
+    0xcf28, 0x1096, 0x2696, 0xcf2a, 0x1096, 0x2696, 0xcf2c, 0x1096, 
+    0x2696, 0xcf2e, 0x8896, 0x01ab, 0x1096, 0x2696, 0xcf30, 0xe42e, 
+    0x1468, 0xe09c, 0xcb28, 0x4896, 0x4e96, 0xcb2a, 0x4896, 0x4e96, 
+    0xcb2c, 0x4896, 0x4e96, 0xcb2e, 0x4896, 0x4e96, 0x8996, 0x01ab, 
+    0xe08c, 0x4e68, 0xe42e, 0xe41e, 0x137c, 0xe41e, 0x1390, 0xc000, 
+    0xe42e, 0xc001, 0xba40, 0xf098, 0xe41e, 0x136e, 0xc000, 0xe41e, 
+    0x13ac, 0xa202, 0x4e3b, 0xe42e, 0xc000, 0x1423, 0x1525, 0xc001, 
+    0x4e50, 0x4f53, 0xa200, 0xe163, 0x05b0, 0xc70f, 0x4e93, 0xe162, 
+    0x0450, 0xbc06, 0xe40d, 0x1350, 0xf06a, 0xa102, 0xf12a, 0xa102, 
+    0xf18a, 0xf39e, 0xc000, 0xe41e, 0x07f2, 0xe40d, 0x1350, 0xc001, 
+    0xa002, 0x0e50, 0xe012, 0xf022, 0x0640, 0x4e50, 0xa203, 0xf0be, 
+    0xc000, 0xe41e, 0x07f2, 0xa002, 0xc001, 0x0650, 0x0e40, 0xf74e, 
+    0xbc20, 0xa2ff, 0x4e51, 0x4f52, 0x1445, 0xf33a, 0xa102, 0xcc44, 
+    0xc410, 0xe161, 0x0460, 0xe163, 0x05b0, 0xe184, 0x1338, 0x1491, 
+    0x1791, 0x0c52, 0x0f51, 0xf0c8, 0xf0b9, 0x80a9, 0x80b1, 0x1481, 
+    0x4e92, 0xa202, 0x4e83, 0x1453, 0xa102, 0x4e53, 0xf43e, 0x8091, 
+    0x8093, 0xf17e, 0xc418, 0xe161, 0x045f, 0xe163, 0x05b0, 0x1453, 
+    0xf0a4, 0x1493, 0x80b1, 0xf7e8, 0x1481, 0x4e92, 0x1453, 0xa102, 
+    0x4e53, 0xf76e, 0xc000, 0xe41e, 0x13ac, 0xa202, 0x4e3b, 0xe42e, 
+    0xe16a, 0xc000, 0xa200, 0xe42e, 0x8825, 0x0022, 0xe162, 0x0450, 
+    0xe163, 0x02c0, 0xe184, 0x136c, 0x1482, 0xae04, 0x0482, 0x0492, 
+    0xa400, 0xe000, 0x0600, 0xe09e, 0x1097, 0x2697, 0x9f13, 0x1097, 
+    0x2697, 0x9f13, 0x1097, 0x2697, 0x9f13, 0xe42e, 0x1445, 0xe42a, 
+    0xa102, 0xcc44, 0xc418, 0xe161, 0x0462, 0xe162, 0x0450, 0xe184, 
+    0x137a, 0x14b1, 0x4e92, 0xe42e, 0x1438, 0xae04, 0x0438, 0x0438, 
+    0xe000, 0x0600, 0xe09e, 0x1097, 0x2697, 0xe0c2, 0x0188, 0x1097, 
+    0x2697, 0xe0c2, 0x0189, 0x1097, 0x2697, 0xe0c2, 0x018a, 0xe42e, 
+    0xc001, 0xe41e, 0x136e, 0xe163, 0x078e, 0xa2fe, 0xc71f, 0x4e93, 
+    0x1445, 0xe42a, 0xa102, 0xcc44, 0xe162, 0x0450, 0xa201, 0xe184, 
+    0x13aa, 0x1492, 0xa400, 0xe000, 0x078e, 0xe096, 0x1483, 0xf032, 
+    0x4f83, 0xa003, 0xe190, 0xe42e, 0xe164, 0x05c0, 0xa200, 0xc70f, 
+    0x4e94, 0x8825, 0x0022, 0xe162, 0x0450, 0xe164, 0x05c0, 0xa201, 
+    0xe184, 0x13c0, 0x1492, 0xe000, 0x078e, 0xe096, 0x1483, 0xa81e, 
+    0x4e94, 0xe164, 0x05c0, 0xd022, 0x0007, 0xe184, 0x13c8, 0xae08, 
+    0x2694, 0xcf50, 0xd022, 0x0007, 0xe184, 0x13cf, 0xae08, 0x2694, 
+    0xcf52, 0xe42e, 0xc001, 0xe12f, 0xa200, 0x4e30, 0x4e31, 0xe41e, 
+    0x144c, 0x1431, 0xa002, 0x4e31, 0x0c21, 0xf7a4, 0xa200, 0x4e26, 
+    0x4e28, 0x4e29, 0xe41e, 0x1443, 0x4e31, 0xc001, 0x1426, 0x0c23, 
+    0xe402, 0x143d, 0x1426, 0xe002, 0x000a, 0xf028, 0xe190, 0xc001, 
+    0xe41e, 0x1443, 0x4e27, 0x0c31, 0xe418, 0x1503, 0x1427, 0x4e31, 
+    0x1430, 0xe41a, 0x1508, 0x1426, 0xc000, 0x4e53, 0xc001, 0x1428, 
+    0x1529, 0xc000, 0x4e54, 0x4f55, 0xc001, 0xe41e, 0x153a, 0x1430, 
+    0xc000, 0xf09a, 0xe41e, 0x0d5a, 0xf0bc, 0xe16a, 0xa200, 0xc001, 
+    0x4e30, 0xc000, 0xe41e, 0x0de4, 0x1435, 0xa002, 0x4e35, 0xe41e, 
+    0x0e03, 0xe41e, 0x1699, 0xc001, 0xe41e, 0x1571, 0x1426, 0xa002, 
+    0x4e26, 0x1428, 0xa002, 0x4e28, 0x0c24, 0xf058, 0x4e28, 0x1429, 
+    0xa002, 0x4e29, 0x1430, 0xe40a, 0x13e5, 0xc000, 0x145b, 0xa102, 
+    0xe400, 0x13e5, 0xe41e, 0x043e, 0xe408, 0x13e5, 0xe41e, 0x083b, 
+    0xc001, 0xa200, 0x4e30, 0xe40e, 0x13e5, 0x1426, 0xc000, 0x4e53, 
+    0xe12c, 0xc000, 0xe42e, 0x1428, 0xe41a, 0x1587, 0xe004, 0x074e, 
+    0x0428, 0xe094, 0x1482, 0xe42e, 0xc000, 0xe161, 0x05b0, 0x4e91, 
+    0x1420, 0x4e91, 0x1425, 0x4e91, 0x1426, 0x4e91, 0x1427, 0x4e91, 
+    0x1428, 0x4e91, 0x1429, 0x4e91, 0x145b, 0x4e91, 0x1461, 0x4e91, 
+    0xc001, 0x1430, 0xc000, 0x4e91, 0x1445, 0x4e91, 0x1442, 0x4e91, 
+    0xe162, 0x0450, 0xd022, 0x000f, 0xe184, 0x146f, 0x1492, 0x4e91, 
+    0xcb50, 0x4891, 0x4e91, 0xcb52, 0x4891, 0x4e91, 0x8991, 0x0032, 
+    0x8991, 0x0033, 0xc860, 0x4891, 0x4e91, 0xc862, 0x4891, 0x4e91, 
+    0x8991, 0x0034, 0x8991, 0x0035, 0x8991, 0x0036, 0x8991, 0x0037, 
+    0xc001, 0x1431, 0xae0e, 0xe0c1, 0x0047, 0xf04b, 0xe005, 0x0122, 
+    0xf03e, 0xe005, 0x0440, 0xae11, 0xe042, 0xe0c1, 0x0041, 0xe042, 
+    0xce20, 0xd111, 0x05b0, 0xd112, 0x0040, 0xd113, 0x0002, 0xca28, 
+    0xf7f8, 0xc001, 0xe42e, 0x1427, 0xae0e, 0xe0c1, 0x0047, 0xf04b, 
+    0xe005, 0x0122, 0xf03e, 0xe005, 0x0440, 0xae11, 0xe042, 0xe0c1, 
+    0x0041, 0xe042, 0xce20, 0xd111, 0x05b0, 0xd112, 0x0040, 0xd113, 
+    0x0003, 0xca28, 0xf7f8, 0xe161, 0x05b0, 0xc000, 0x1491, 0x1491, 
+    0x4e20, 0x1491, 0x4e25, 0x1491, 0x4e26, 0x1491, 0x4e27, 0x1491, 
+    0x4e28, 0x1491, 0x4e29, 0x1491, 0x4e5b, 0x1491, 0x4e61, 0x1491, 
+    0xc001, 0x4e30, 0xc000, 0x1491, 0x4e45, 0x1491, 0x4e42, 0xe162, 
+    0x0450, 0xd022, 0x000f, 0xe184, 0x14de, 0x1491, 0x4e92, 0xa202, 
+    0x4e3b, 0x1091, 0x2691, 0xcf50, 0x1091, 0x2691, 0xcf52, 0x1427, 
+    0xae0a, 0x2628, 0xae0a, 0x2629, 0xce4e, 0xc001, 0x1427, 0x4e07, 
+    0x8891, 0x0032, 0x8891, 0x0033, 0x1091, 0x2691, 0xcc60, 0x1091, 
+    0x2691, 0xcc62, 0x8891, 0x0034, 0x8891, 0x0035, 0x8891, 0x0036, 
+    0x8891, 0x0037, 0xe42e, 0xe41e, 0x144c, 0xe41e, 0x14a3, 0xe42e, 
+    0x1426, 0x1527, 0xe41e, 0x0705, 0xe42a, 0xc000, 0xe41e, 0x0c69, 
+    0xe16a, 0xe42a, 0x1426, 0x4e61, 0xa200, 0x4e5b, 0x1427, 0xae0a, 
+    0x2628, 0xae0a, 0x2629, 0xce4e, 0xc001, 0xe41e, 0x1522, 0xa202, 
+    0x4e30, 0xe42e, 0xa203, 0x3527, 0xe00d, 0x00ff, 0xe161, 0x0720, 
+    0x8824, 0x0022, 0xe184, 0x152e, 0x1481, 0xe052, 0x4e91, 0x1432, 
+    0xe052, 0x4e32, 0x1433, 0xe052, 0x4e33, 0xe42e, 0xa200, 0x4e32, 
+    0x4e33, 0xe42e, 0x1428, 0xe41a, 0x1536, 0xc000, 0xe41e, 0x124e, 
+    0xc001, 0x1428, 0xe000, 0x0720, 0xe092, 0xe004, 0xfffe, 0x4e34, 
+    0x1532, 0x3727, 0xa803, 0xca40, 0x2234, 0xe056, 0xce40, 0x1591, 
+    0x3727, 0xa803, 0xca42, 0x2234, 0xe056, 0xce42, 0x1591, 0x3727, 
+    0xa803, 0xca44, 0x2234, 0xe056, 0xce44, 0x1533, 0x3727, 0xa803, 
+    0xca46, 0x2234, 0xe056, 0xce46, 0xca4a, 0xcec4, 0xcf34, 0xc000, 
+    0xca4c, 0x151e, 0xb7f6, 0xca4b, 0xe052, 0xcec2, 0x4e69, 0xc001, 
+    0xe42e, 0x1428, 0xe000, 0x0720, 0xe092, 0x1481, 0x4e33, 0xa202, 
+    0x3427, 0x4e81, 0x4e32, 0xc000, 0x1464, 0xe09c, 0x145a, 0x4e96, 
+    0xce40, 0xca42, 0xce46, 0xe08c, 0x4e64, 0xc001, 0xe42e, 0x1429, 
+    0xae0e, 0xe0c1, 0x0047, 0xf04b, 0xe005, 0x0126, 0xf03e, 0xe005, 
+    0x0444, 0xae11, 0xe042, 0xe0c1, 0x0041, 0xe042, 0xce20, 0xd111, 
+    0x074e, 0xd112, 0x0040, 0xd113, 0x0003, 0xca28, 0xf7f8, 0xe42e, 
+    0xe004, 0x0080, 0xe0c2, 0x0094, 0xe0c0, 0x0044, 0x4600, 0xe0c0, 
+    0x0067, 0xe0c2, 0x00ff, 0x1470, 0xe0c2, 0x009b, 0xe0c2, 0x009f, 
+    0xe0c2, 0x018b, 0xa202, 0xe0c2, 0x0100, 0x1451, 0xae20, 0x2650, 
+    0xae08, 0xe0c2, 0x0084, 0x1400, 0xae04, 0x2620, 0xae10, 0xa904, 
+    0xe0c2, 0x0080, 0xa204, 0xe0c1, 0x0060, 0xa83f, 0xae0d, 0xe056, 
+    0xe00a, 0x0800, 0xe0c2, 0x00fa, 0xe0c0, 0x0061, 0xe0c2, 0x00fc, 
+    0xe0c0, 0x0062, 0xe0c2, 0x00fd, 0xe0c0, 0x0063, 0xe0c2, 0x00fe, 
+    0xa202, 0xae0a, 0xe0c1, 0x0060, 0xaf09, 0x4f71, 0xf04b, 0xe0c1, 
+    0x0060, 0xa81f, 0xe056, 0xe0c2, 0x00e7, 0xa204, 0x2600, 0xae20, 
+    0x2670, 0xe0c2, 0x0282, 0x1450, 0xae20, 0x2651, 0xae08, 0xe0c2, 
+    0x0283, 0x1450, 0xae0c, 0x2651, 0xe0c2, 0x0183, 0xa202, 0xe0c2, 
+    0x018d, 0xa258, 0xe0c2, 0x0182, 0xa202, 0xae3e, 0xa906, 0xe0c2, 
+    0x00ec, 0xa200, 0xe0c2, 0x0102, 0xa202, 0xe0c2, 0x0102, 0xa204, 
+    0xe0c2, 0x0102, 0xc00d, 0x146c, 0xf0ea, 0x1060, 0x2661, 0xe0c2, 
+    0x009c, 0x1062, 0x2663, 0xe0c2, 0x009d, 0x1064, 0x2665, 0xe0c2, 
+    0x009e, 0xf16e, 0xc000, 0xe0c1, 0x0041, 0xe004, 0x0320, 0xae10, 
+    0xe042, 0xe0c2, 0x009c, 0xe004, 0x03b0, 0xae10, 0xe042, 0xe0c2, 
+    0x009d, 0xe004, 0x03f8, 0xae10, 0xe042, 0xe0c2, 0x009e, 0xc000, 
+    0xa200, 0x4e73, 0x4e56, 0x4e57, 0x4e3b, 0xe0c2, 0x00a1, 0xe0c2, 
+    0x00a2, 0xa202, 0x4e7c, 0xe004, 0x054b, 0x4e7e, 0x4e7f, 0xe42e, 
+    0xa202, 0x1553, 0xb616, 0x4e03, 0xa103, 0xb616, 0x4e05, 0xa103, 
+    0xb616, 0x4e06, 0xa103, 0xb616, 0x4e04, 0x1405, 0x227d, 0x4e00, 
+    0x1406, 0x4e01, 0x147c, 0xae02, 0x2658, 0xaa06, 0x4e02, 0x1453, 
+    0xe418, 0x1751, 0x1458, 0xe41a, 0x1764, 0x1454, 0xae20, 0x2655, 
+    0xe0c2, 0x0284, 0x147c, 0xae04, 0x2658, 0xaa0a, 0xe0c2, 0x0280, 
+    0x1400, 0xe418, 0x1716, 0x1401, 0xe418, 0x172e, 0x1473, 0xe0c2, 
+    0x0102, 0xe0c2, 0x0101, 0x1404, 0xae02, 0x1504, 0x2371, 0xe056, 
+    0xae1a, 0x2672, 0xe0c2, 0x00e6, 0x107a, 0x267b, 0xe0c2, 0x0082, 
+    0x1404, 0xae02, 0x157c, 0xe017, 0x2303, 0xe056, 0xae02, 0x2606, 
+    0xae02, 0x1558, 0xe017, 0xe056, 0xae04, 0x2606, 0xae02, 0x2605, 
+    0xae02, 0x2605, 0xae04, 0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 
+    0xe42e, 0xe41e, 0x1784, 0x1078, 0x2679, 0x487a, 0x4e7b, 0x145d, 
+    0xae04, 0x1558, 0xe017, 0xe056, 0xae02, 0x265c, 0xae10, 0x2662, 
+    0x1563, 0xae19, 0xe056, 0x4878, 0x4e79, 0x1474, 0x4e75, 0x145e, 
+    0x4e74, 0x1476, 0x4e77, 0x1469, 0x4e76, 0x147c, 0x4e7d, 0x1458, 
+    0x4e7c, 0xe0c0, 0x0184, 0x4e72, 0xe42e, 0x147c, 0xe016, 0x4e03, 
+    0x147d, 0x4e07, 0xa202, 0x4e05, 0xe40e, 0x16eb, 0xa200, 0x4e03, 
+    0x147d, 0x4e07, 0xa202, 0x4e05, 0xe40e, 0x16eb, 0xa200, 0x4e03, 
+    0x4e07, 0x4e05, 0xe40e, 0x16eb, 0xe41e, 0x177e, 0x1473, 0xe0c2, 
+    0x0102, 0xe0c2, 0x0101, 0xa204, 0x2671, 0xae1a, 0x2672, 0xe0c2, 
+    0x00e6, 0xe004, 0x0200, 0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 
+    0xe41e, 0x177e, 0xe42e, 0xe41e, 0x177e, 0x1403, 0xae04, 0xe0c2, 
+    0x0280, 0x1407, 0xe418, 0x1716, 0xe41e, 0x172e, 0x1473, 0xe0c2, 
+    0x0102, 0xe0c2, 0x0101, 0xa204, 0x2671, 0xae1a, 0x2672, 0xe0c2, 
+    0x00e6, 0x107a, 0x267b, 0xe0c2, 0x0082, 0x1403, 0xae10, 0xe00a, 
+    0x0290, 0x1505, 0xae03, 0x2705, 0xae05, 0xe056, 0xe0c2, 0x0083, 
+    0xa202, 0xe0c2, 0x0093, 0xe41e, 0x1699, 0xe42e, 0x1473, 0xa104, 
+    0xb468, 0xae08, 0xe000, 0x051b, 0xe092, 0xe162, 0x00c0, 0xd022, 
+    0x000f, 0xe184, 0x1724, 0x1491, 0x9f12, 0x1475, 0xe0c2, 0x00e4, 
+    0x1477, 0xe0c2, 0x00a0, 0xa200, 0x4e00, 0xe42e, 0xe162, 0x0190, 
+    0x147f, 0xe092, 0xd022, 0x000d, 0xe184, 0x1737, 0x1491, 0x9f12, 
+    0x1456, 0xae0c, 0x2657, 0xe0c2, 0x0184, 0x1456, 0xa002, 0x4e56, 
+    0x0c50, 0xa201, 0x4f01, 0xf058, 0x4e56, 0x1457, 0xa002, 0x4e57, 
+    0xe082, 0x4e7f, 0xe002, 0x0575, 0xe005, 0x054b, 0xe428, 0x4f7f, 
+    0xe42e, 0xe0c0, 0x0095, 0xf0e8, 0xe0c0, 0x0096, 0xaf0e, 0x2201, 
+    0xe418, 0x172e, 0xe0c0, 0x0096, 0xaf06, 0x2200, 0xe418, 0x1716, 
+    0xf71e, 0xe0c2, 0x0095, 0xe42e, 0xcb04, 0xe0c2, 0x0285, 0xcb06, 
+    0xe0c2, 0x0286, 0xe161, 0x0575, 0x8891, 0x0022, 0xe184, 0x1776, 
+    0x1491, 0xe000, 0x02f0, 0xe094, 0x1091, 0x2691, 0x9f02, 0x153b, 
+    0xa200, 0x4e02, 0x4e3b, 0xe419, 0x1354, 0xe42e, 0xe0c0, 0x0095, 
+    0xf7ea, 0xe0c2, 0x0095, 0xe42e, 0x1573, 0xa105, 0x1473, 0xa002, 
+    0xb616, 0x4e73, 0xe42e, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe40e, 0x0022, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe40e, 0x0152, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xf202, 0x1307, 0xc001, 0xe168, 0xd027, 0x0001, 0xa202, 0xe0c2, 
+    0x0008, 0xe0c2, 0x0058, 0xa200, 0xe0c2, 0x005a, 0xa2fe, 0x4e71, 
+    0x4e72, 0xe0c0, 0x005c, 0xa802, 0xe0c2, 0x005d, 0xce00, 0xf11e, 
+    0xe0c0, 0x005c, 0xe0c1, 0x0059, 0x4f70, 0xa203, 0x3570, 0xe052, 
+    0xf08a, 0xe0c1, 0x005d, 0xe055, 0xe0c3, 0x005d, 0xa202, 0xce00, 
+    0xe41e, 0x0084, 0xe0c0, 0x005b, 0x0c72, 0xe418, 0x00b2, 0xe0c0, 
+    0x0059, 0xa114, 0xf18a, 0xa102, 0xf1da, 0xe0c0, 0x005a, 0x0c71, 
+    0xe418, 0x00ab, 0xe0c0, 0x0059, 0xae02, 0xe000, 0x0152, 0xc000, 
+    0xe67c, 0xc001, 0xe0c0, 0x005a, 0x4e71, 0xe0c0, 0x005b, 0x4e72, 
+    0xe40e, 0x0038, 0x1471, 0xe412, 0x010d, 0xa202, 0x4e73, 0xe40e, 
+    0x0061, 0xe41e, 0x00c6, 0xd101, 0x0001, 0xc71e, 0xa002, 0xa200, 
+    0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0xc71e, 0xa002, 0xd071, 
+    0x002a, 0xe181, 0xe40e, 0x0061, 0xa200, 0xe0c2, 0x0059, 0xe0c2, 
+    0x0058, 0xe0c2, 0x0008, 0xe0c0, 0x0059, 0xf7ea, 0xa11e, 0xf168, 
+    0xa202, 0xe0c2, 0x0008, 0xe0c2, 0x0058, 0xe004, 0xf202, 0xae20, 
+    0xe005, 0x1307, 0xe056, 0xe0c2, 0x0070, 0xa200, 0xe0c2, 0x0059, 
+    0xe0c2, 0x0058, 0xe0c2, 0x0008, 0xf67e, 0xa202, 0xe0c2, 0x0008, 
+    0xe0c2, 0x0058, 0xe42e, 0x1471, 0xe424, 0xe41e, 0x010d, 0xe41e, 
+    0x00c6, 0xe42e, 0xe0c0, 0x0040, 0xe0c1, 0x005b, 0xae1d, 0xe042, 
+    0xe000, 0x1000, 0xce20, 0xd111, 0x0800, 0xd112, 0x1000, 0xd113, 
+    0x000b, 0xca28, 0xf7f8, 0xe41e, 0x17e0, 0xe42e, 0xe0c0, 0x0041, 
+    0xe005, 0x0000, 0xae11, 0xe042, 0xe0c1, 0x005a, 0xae19, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0800, 0xd113, 0x0003, 0xca28, 
+    0xf7f8, 0xe0c0, 0x0041, 0xe005, 0x0080, 0xae11, 0xe042, 0xe0c1, 
+    0x005a, 0xae15, 0xe042, 0xce20, 0xd111, 0x0000, 0xd112, 0x0200, 
+    0xd113, 0x0013, 0xca28, 0xf7f8, 0xe161, 0x00f4, 0x8891, 0x0032, 
+    0x8891, 0x0033, 0x8891, 0x0034, 0x8891, 0x0035, 0x8891, 0x0036, 
+    0x8891, 0x0037, 0x1091, 0x2691, 0xcc60, 0x1091, 0x2691, 0xcc62, 
+    0x1091, 0x2691, 0xcc74, 0x1091, 0x2691, 0xcf68, 0x1091, 0x2691, 
+    0xcf64, 0x1091, 0x2691, 0xcf60, 0xe42e, 0xe161, 0x00f4, 0x8991, 
+    0x0032, 0x8991, 0x0033, 0x8991, 0x0034, 0x8991, 0x0035, 0x8991, 
+    0x0036, 0x8991, 0x0037, 0xc860, 0x4891, 0x4e91, 0xc862, 0x4891, 
+    0x4e91, 0xc874, 0x4891, 0x4e91, 0xcb68, 0x4891, 0x4e91, 0xcb64, 
+    0x4891, 0x4e91, 0xcb60, 0x4891, 0x4e91, 0xe0c0, 0x0041, 0xe005, 
+    0x0000, 0xae11, 0xe042, 0x1571, 0xae19, 0xe042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0800, 0xd113, 0x0002, 0xca28, 0xf7f8, 0xe0c0, 
+    0x0041, 0xe005, 0x0080, 0xae11, 0xe042, 0x1571, 0xae15, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0200, 0xd113, 0x0012, 0xca28, 
+    0xf7f8, 0xe42e, 0xe40e, 0x11e3, 0xe40e, 0x0172, 0xe40e, 0x0176, 
+    0xe40e, 0x017a, 0xe40e, 0x0186, 0xe40e, 0x018a, 0xe40e, 0x018e, 
+    0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0192, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe41e, 0x0196, 0xe40e, 0x0061, 0xe41e, 0x01db, 
+    0xe40e, 0x0061, 0xc001, 0x145d, 0xc000, 0xf058, 0xe41e, 0x01ed, 
+    0xe40e, 0x0061, 0xe41e, 0x12c5, 0xe40e, 0x0061, 0xe41e, 0x0282, 
+    0xe40e, 0x0061, 0xe41e, 0x0294, 0xe40e, 0x0061, 0xe41e, 0x0311, 
+    0xe40e, 0x0061, 0xe41e, 0x0330, 0xe40e, 0x0061, 0xe41e, 0x0396, 
+    0xe41e, 0x055c, 0xc001, 0xe0c0, 0x0074, 0x4840, 0x4e41, 0xe0c0, 
+    0x0075, 0x4842, 0x4e43, 0xe0c0, 0x0076, 0x4844, 0x4e45, 0xe0c0, 
+    0x0077, 0x4846, 0x4e47, 0xe0c0, 0x0047, 0x4e48, 0xc000, 0xc001, 
+    0xe0c0, 0x006e, 0xa802, 0x4e5d, 0xe0c0, 0x006e, 0xaf02, 0xa81e, 
+    0x4e59, 0xe0c0, 0x006e, 0xaf0a, 0xa80e, 0x4e5e, 0xe0c0, 0x006e, 
+    0xaf10, 0xe008, 0xffff, 0x4e69, 0xc000, 0xe41e, 0x056a, 0xe41e, 
+    0x03a7, 0xf0ea, 0xe41e, 0x0b75, 0xe41e, 0x11b8, 0x1415, 0xe418, 
+    0x0ebe, 0xe41e, 0x1153, 0xa202, 0xe0c2, 0x0070, 0xe42e, 0xa200, 
+    0xe0c2, 0x0070, 0xe42e, 0x147c, 0xe428, 0x147d, 0xf09a, 0xa200, 
+    0xc001, 0x484a, 0xc000, 0x4e4d, 0xe41e, 0x1279, 0xe42e, 0xc001, 
+    0x145d, 0xc000, 0xe41a, 0x1235, 0xe42e, 0xa200, 0xcc4a, 0xcc4c, 
+    0xcc44, 0xe0c2, 0x0074, 0xc001, 0x1473, 0xf05a, 0xa200, 0xe41e, 
+    0x056a, 0x4e73, 0xc000, 0x147b, 0xaa02, 0x4e7b, 0x147d, 0xf15a, 
+    0x147e, 0xf0ca, 0xe0c0, 0x0066, 0x484a, 0x4e4b, 0xe0c0, 0x0067, 
+    0xae04, 0xc001, 0x4849, 0xc000, 0x4e4c, 0xa200, 0xc001, 0x484a, 
+    0xc000, 0x4e4d, 0xe41e, 0x1279, 0xd180, 0x0005, 0xd147, 0x0003, 
+    0xd03b, 0x0001, 0xd008, 0x0000, 0xe16a, 0xe004, 0x0123, 0xae20, 
+    0xe00a, 0x4567, 0xcf50, 0xe004, 0x89ab, 0xae20, 0xe00a, 0xcdef, 
+    0xcf52, 0xa200, 0xcf06, 0xe0c2, 0x0286, 0x141b, 0xe418, 0x0507, 
+    0xe41e, 0x0459, 0xe41e, 0x115a, 0x1428, 0xf07a, 0xc001, 0x143f, 
+    0xa002, 0xa802, 0x4e3f, 0xc000, 0xe41e, 0x0b78, 0xe41e, 0x0cab, 
+    0xe41e, 0x0cbd, 0xe41e, 0x07a4, 0xa200, 0x4e53, 0x4e54, 0x4e55, 
+    0x4e1f, 0xe41e, 0x0367, 0x1453, 0x0c52, 0xf7c4, 0xe41e, 0x0d4f, 
+    0x1415, 0xe418, 0x0f5d, 0x147d, 0xf06a, 0xe41e, 0x1235, 0xe41e, 
+    0x0ae5, 0xf05e, 0x147c, 0xf03a, 0xe41e, 0x124a, 0x162a, 0xa002, 
+    0x4e2a, 0x1633, 0xa002, 0x4e33, 0xe0c2, 0x0070, 0x1428, 0xe0c2, 
+    0x0071, 0x141f, 0xe0c2, 0x0073, 0xc001, 0x1461, 0xf09a, 0x1461, 
+    0xa102, 0x4e61, 0x1462, 0xa002, 0x4e62, 0xa200, 0x4e63, 0xc000, 
+    0xd03a, 0x0000, 0xc84a, 0xc84d, 0xae20, 0xe056, 0xe0c2, 0x0046, 
+    0xa202, 0xe42e, 0xe0c0, 0x0042, 0xce20, 0xd111, 0x0570, 0xd112, 
+    0x0030, 0xd113, 0x0003, 0xca28, 0xf7f8, 0xe0c0, 0x0060, 0x4e32, 
+    0xe0c0, 0x0061, 0x4e70, 0xe42e, 0x147d, 0xf15a, 0x147e, 0xf0ca, 
+    0xe0c0, 0x0061, 0x484a, 0x4e4b, 0xe0c0, 0x0062, 0xae04, 0xc001, 
+    0x4849, 0xc000, 0x4e4c, 0xa200, 0xc001, 0x484a, 0xc000, 0x4e4d, 
+    0xe41e, 0x1279, 0xe0c0, 0x0060, 0xf0aa, 0xa102, 0xf0ba, 0xa102, 
+    0xf28a, 0xa102, 0xf28a, 0xa102, 0xf08a, 0xe42e, 0xe41e, 0x04f1, 
+    0xf2ae, 0xe41e, 0x04fc, 0xf27e, 0xe0c0, 0x0063, 0xc001, 0xa102, 
+    0x4e61, 0xc000, 0x1452, 0xc001, 0xc70f, 0x3c61, 0x4862, 0x4e64, 
+    0x1562, 0x1464, 0xf029, 0xa102, 0x4e64, 0x1461, 0xa002, 0x4e61, 
+    0xa200, 0x4e62, 0x4e63, 0x4e65, 0xc000, 0xe41e, 0x0514, 0xf0be, 
+    0xa214, 0xf02e, 0xa216, 0x4e30, 0xa200, 0x4e2f, 0xe41e, 0x0aee, 
+    0xe41e, 0x0b15, 0xc001, 0x145d, 0xc000, 0xf20a, 0x1440, 0xa006, 
+    0xaf04, 0xae04, 0x0c40, 0xf1aa, 0x4e00, 0x1440, 0xaf02, 0xe000, 
+    0x0700, 0xe098, 0x1440, 0xa802, 0x4e41, 0xc874, 0xa010, 0xcc74, 
+    0xa200, 0xe41e, 0x0b5d, 0x1400, 0xa102, 0x4e00, 0xf778, 0xe088, 
+    0xe002, 0x0700, 0xae02, 0x0441, 0x4e40, 0x147d, 0xf06a, 0xe41e, 
+    0x1235, 0xe41e, 0x0ae5, 0xf05e, 0x147c, 0xf03a, 0xe41e, 0x124a, 
+    0xe42e, 0xe41e, 0x11d3, 0xe0c0, 0x0060, 0xf048, 0xe41e, 0x09fe, 
+    0xf03e, 0xe41e, 0x0a22, 0xc86e, 0xaf06, 0x4e45, 0xe0c2, 0x0070, 
+    0xe004, 0x0040, 0xcc6c, 0xbadf, 0xe0c0, 0x0042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0100, 0xd113, 0x0012, 0xca28, 0xf7f8, 0xe42e, 
+    0xe0c1, 0x0060, 0xa803, 0xf05b, 0xe0c0, 0x0061, 0xe41e, 0x05d6, 
+    0xe0c1, 0x0060, 0xa805, 0xf05b, 0xe0c0, 0x0062, 0xe41e, 0x062d, 
+    0xe0c1, 0x0060, 0xa809, 0xf05b, 0xe0c0, 0x0063, 0xe41e, 0x0601, 
+    0xe0c1, 0x0060, 0xa811, 0xf05b, 0xe0c0, 0x0064, 0xe41e, 0x059b, 
+    0xe0c1, 0x0060, 0xa821, 0xf04b, 0xe0c0, 0x0065, 0x4e1c, 0xe0c1, 
+    0x0060, 0xa841, 0xf0cb, 0xc001, 0x155d, 0xc000, 0xf089, 0xe0c0, 
+    0x0066, 0x4637, 0xaf02, 0x4638, 0xaf02, 0x4e39, 0xe42e, 0x1531, 
+    0xa20a, 0xb636, 0x4e30, 0xe41e, 0x0aee, 0xc001, 0x1461, 0xf10a, 
+    0x1463, 0x1562, 0xe046, 0xf068, 0xa200, 0x4e65, 0xa204, 0x4e66, 
+    0xf07e, 0xc000, 0x1428, 0x1529, 0xc001, 0x4e65, 0x4f66, 0xc000, 
+    0xe41e, 0x0a71, 0xe41e, 0x063c, 0xe41e, 0x0ab9, 0xe41e, 0x0b15, 
+    0x141a, 0xe418, 0x04d1, 0x141f, 0xa002, 0x4e1f, 0xc001, 0x1461, 
+    0xf04a, 0x1463, 0xa002, 0x4e63, 0xc000, 0xe42e, 0xa200, 0xc401, 
+    0xe188, 0x07ff, 0x4e91, 0xa200, 0xc001, 0x4e4e, 0x4e4f, 0xc000, 
+    0x4e2a, 0x4e33, 0xd03a, 0x0000, 0xa202, 0x4e7b, 0xe42e, 0xe0c0, 
+    0x0064, 0xe049, 0xe009, 0x03ff, 0xaf09, 0x4f51, 0xe049, 0xaf15, 
+    0xe009, 0x03ff, 0xaf09, 0x4f50, 0xe0c0, 0x0065, 0x4818, 0x4e17, 
+    0x1418, 0xa002, 0x4e18, 0xe0c0, 0x0062, 0x4619, 0xaf02, 0x461a, 
+    0xaf02, 0x461b, 0xc001, 0xaf06, 0x4638, 0xe0c0, 0x006f, 0x4e39, 
+    0xe0c0, 0x0071, 0x466d, 0xaf02, 0x466c, 0xc000, 0xe0c0, 0x0068, 
+    0xe049, 0xa83f, 0xae3f, 0xaf3f, 0x4f24, 0xe049, 0xaf0b, 0x4726, 
+    0xe049, 0xaf0d, 0xa807, 0x4f2c, 0xe049, 0xaf11, 0xa81f, 0xaf41, 
+    0xae41, 0xae03, 0x4f2d, 0xe049, 0xaf19, 0xa81f, 0xaf41, 0xae41, 
+    0xae03, 0x4f2e, 0x142c, 0x262d, 0x262e, 0xe01a, 0x4e25, 0xc001, 
+    0x145d, 0xc000, 0xf088, 0xe0c0, 0x0069, 0x4637, 0xaf02, 0x4638, 
+    0xaf02, 0x4e39, 0xe0c0, 0x006a, 0x4e14, 0xe0c0, 0x006b, 0x4615, 
+    0xc001, 0x4801, 0xaf02, 0xe008, 0x7fff, 0x4e00, 0xe0c0, 0x006b, 
+    0x1401, 0xaf1e, 0x462c, 0x1401, 0xe008, 0x7fff, 0x4e01, 0xe0c0, 
+    0x006c, 0x4802, 0x4e03, 0xc000, 0xe0c0, 0x006d, 0x4e1c, 0xa20a, 
+    0x4e10, 0xa002, 0x4e12, 0xa202, 0x4e13, 0xa102, 0x4e22, 0xa200, 
+    0x4e21, 0x4e20, 0x4e27, 0xa204, 0x4e11, 0xa234, 0x4e23, 0x8250, 
+    0x8151, 0xe018, 0x4e52, 0xa201, 0xe002, 0x00c8, 0xb425, 0xe002, 
+    0x0190, 0xb425, 0x4f36, 0x1450, 0x1551, 0xaf06, 0xaf07, 0x4e07, 
+    0x4f01, 0x8207, 0x8101, 0xe018, 0xc001, 0x4e4b, 0xa104, 0xf032, 
+    0xa204, 0x4e4b, 0xc000, 0x1451, 0xaf02, 0x4e07, 0x8207, 0x8150, 
+    0xe018, 0xc001, 0x4e4d, 0x4e6b, 0xa202, 0x4e3f, 0xc000, 0xe0c0, 
+    0x0043, 0xaf04, 0x467c, 0xaf02, 0x467d, 0xaf02, 0x467e, 0xa202, 
+    0xe42e, 0xa200, 0x4e49, 0xe0c0, 0x0065, 0xa804, 0xf08a, 0xa200, 
+    0x4e2a, 0xc001, 0x4e36, 0xe016, 0x4e0d, 0xc000, 0x1414, 0xf048, 
+    0x162a, 0xf0ca, 0xf12e, 0xc001, 0x1436, 0xc000, 0xf07a, 0xc001, 
+    0x1436, 0xc000, 0x1514, 0xe046, 0xf088, 0xa200, 0x4e28, 0xa202, 
+    0xc001, 0x4e36, 0xc000, 0xf07e, 0xa202, 0x4e28, 0xc001, 0x0436, 
+    0x4e36, 0xc000, 0xe0c0, 0x0065, 0xa802, 0xe418, 0x049e, 0xe0c0, 
+    0x0063, 0x4e2b, 0x1415, 0xf09a, 0x1428, 0xe41a, 0x0f22, 0xe41e, 
+    0x0f23, 0x4e2b, 0xe419, 0x049e, 0x1428, 0xe016, 0xae02, 0x4e29, 
+    0x162a, 0xe016, 0x4e31, 0xa004, 0x4e2f, 0xe42e, 0xa202, 0x4e28, 
+    0x4e49, 0x8235, 0xc786, 0xe018, 0xe000, 0x0570, 0xe09e, 0x1097, 
+    0x2697, 0xe0c2, 0x0060, 0x1097, 0x2697, 0xe0c2, 0x0061, 0x1097, 
+    0x2697, 0xe0c2, 0x0062, 0xe42e, 0x1454, 0xe000, 0x0540, 0xe09e, 
+    0xc874, 0x4e87, 0x1454, 0xa002, 0x0c50, 0xe428, 0x1455, 0xae0e, 
+    0xe005, 0x0000, 0xae11, 0xe042, 0xe0c1, 0x0042, 0xe042, 0xce20, 
+    0xd111, 0x0540, 0xd112, 0x002e, 0xd113, 0x0002, 0xca28, 0xf7f8, 
+    0xe42e, 0x104a, 0x264b, 0xc001, 0x134a, 0xc000, 0x274d, 0xae11, 
+    0xe042, 0x0440, 0xe161, 0x04e4, 0x4891, 0x4e91, 0x141f, 0xae04, 
+    0xe005, 0x0012, 0xae11, 0xe042, 0xe0c1, 0x0042, 0xe042, 0xce20, 
+    0xd111, 0x04e4, 0xd112, 0x0020, 0xd113, 0x0002, 0xca28, 0xf7f8, 
+    0xe42e, 0xa206, 0x4e2f, 0xa20e, 0x4e30, 0xe41e, 0x0aee, 0xe41e, 
+    0x09fe, 0xe41e, 0x0b15, 0xe42e, 0xa206, 0x4e2f, 0xa210, 0x4e30, 
+    0xe41e, 0x0aee, 0xe41e, 0x0a22, 0xe41e, 0x0b15, 0xe42e, 0xa200, 
+    0x4e2f, 0xa212, 0x4e30, 0xe41e, 0x0aee, 0x1429, 0xba84, 0xe41e, 
+    0x0ab9, 0xe41e, 0x0b15, 0xe42e, 0xe41e, 0x11d3, 0xa2fe, 0x4e43, 
+    0xc001, 0x1461, 0xc000, 0xbffc, 0xa200, 0xba80, 0xba80, 0xba82, 
+    0xe41e, 0x0ab9, 0xe41e, 0x0ab9, 0xc866, 0xa100, 0xae04, 0x4e45, 
+    0xc864, 0xaf06, 0x0445, 0x4e45, 0xa200, 0x4e2f, 0xa20c, 0x4e30, 
+    0xc874, 0xa070, 0xcc74, 0x1440, 0xaf02, 0xe000, 0x0700, 0xe098, 
+    0x1440, 0xa802, 0x4e41, 0xa200, 0xe41e, 0x0b5d, 0xa200, 0xe41e, 
+    0x0b5d, 0xa200, 0xe41e, 0x0b5d, 0xa202, 0xe41e, 0x0b5d, 0x142f, 
+    0xae0a, 0x2630, 0xe41e, 0x0b5d, 0xa20c, 0xe41e, 0x0b5d, 0x1445, 
+    0xa102, 0xe41e, 0x0b5d, 0xe088, 0xe002, 0x0700, 0xae02, 0x0441, 
+    0x4e40, 0xe41e, 0x0b15, 0xe42e, 0xe0c0, 0x0040, 0xe000, 0xf000, 
+    0xce20, 0xd111, 0x03b4, 0xd112, 0x0100, 0xd113, 0x0003, 0xca28, 
+    0xf7f8, 0xe42e, 0xe0c0, 0x0040, 0xe000, 0xf200, 0xce20, 0xd111, 
+    0x0700, 0xd112, 0x0100, 0xd113, 0x0003, 0xca28, 0xf7f8, 0xe167, 
+    0x0700, 0xa200, 0x4e00, 0xa200, 0x4e01, 0xd022, 0x0008, 0xe184, 
+    0x058c, 0x1400, 0xae08, 0x2601, 0xe0c2, 0x00f0, 0x1097, 0x2697, 
+    0xe0c2, 0x00f1, 0x1401, 0xa002, 0x4e01, 0x1400, 0xa002, 0x4e00, 
+    0xa112, 0xf6a8, 0xe161, 0x05a0, 0xd022, 0x002f, 0xe184, 0x0599, 
+    0x1497, 0x4e91, 0xe42e, 0xc001, 0x483d, 0x4e3c, 0x143d, 0xa002, 
+    0x4e3d, 0x163c, 0xc710, 0x3c3d, 0xe008, 0xffff, 0xa002, 0xaf02, 
+    0x4e0b, 0x0c3b, 0xe42a, 0x140b, 0x4e3b, 0x143c, 0x153d, 0xc000, 
+    0x4e17, 0x4f18, 0x8218, 0xe182, 0x7530, 0xe018, 0xae02, 0x1717, 
+    0xc001, 0xe41e, 0x1047, 0x4e18, 0x8218, 0x8100, 0xe018, 0xa279, 
+    0xe41e, 0x1030, 0x4818, 0x4e19, 0xae06, 0x1504, 0xe41e, 0x1030, 
+    0x481e, 0x4e1f, 0xa200, 0x4e35, 0x4822, 0x4e23, 0x1409, 0xe428, 
+    0xe016, 0x4e0a, 0x140b, 0x4e09, 0xc000, 0xe42e, 0xc001, 0x4e37, 
+    0x1509, 0xe046, 0xf038, 0xc000, 0xe42e, 0x1436, 0x1537, 0xe046, 
+    0xf034, 0xa200, 0x4e36, 0x1437, 0x4e09, 0xc000, 0x4e14, 0x1415, 
+    0xe42a, 0xc001, 0x1409, 0xe016, 0x4e0a, 0xf03a, 0x150b, 0x4f09, 
+    0x1509, 0x1436, 0xe045, 0xf0c6, 0x1026, 0x2627, 0xe41e, 0x1030, 
+    0x482a, 0x4e2b, 0x0826, 0x0e27, 0xe012, 0x4828, 0x4e29, 0xc000, 
+    0xe42e, 0xc001, 0x4e3a, 0xc000, 0x1415, 0xe42a, 0xc001, 0x1400, 
+    0x153a, 0xe046, 0xc000, 0xe42a, 0xc001, 0x4f00, 0xc000, 0x8218, 
+    0xe182, 0x7530, 0xe018, 0xae02, 0x1717, 0xc001, 0xe41e, 0x1047, 
+    0x4e18, 0x8218, 0x8100, 0xe018, 0xa279, 0xe41e, 0x1030, 0x4818, 
+    0x4e19, 0xae06, 0x1504, 0xe41e, 0x1030, 0x481e, 0x4e1f, 0xa200, 
+    0x4e35, 0x4822, 0x4e23, 0xc000, 0xe42e, 0xc000, 0x1515, 0xe42b, 
+    0xc001, 0xf052, 0xa201, 0x4f38, 0xc000, 0xe42e, 0x4e39, 0x4e10, 
+    0xa203, 0x4f38, 0xc000, 0xe42e, 0x142b, 0x4e61, 0x142c, 0xae0a, 
+    0x152d, 0xa83f, 0xe056, 0xae0a, 0x152e, 0xa83f, 0xe056, 0xce4e, 
+    0xe41e, 0x109d, 0xa200, 0x4e5b, 0x4e3a, 0xa202, 0x4e3b, 0xe41e, 
+    0x10c6, 0xc001, 0x1461, 0xc000, 0xf04a, 0xe41e, 0x0688, 0xf03e, 
+    0xe41e, 0x06aa, 0xe41e, 0x07b1, 0x145b, 0x045a, 0x4e5b, 0x896b, 
+    0x003a, 0x1419, 0xe418, 0x04b4, 0xe41e, 0x06fb, 0xc874, 0x0e6b, 
+    0xe008, 0xffff, 0x4e6c, 0x145a, 0xe012, 0x225b, 0x4e5b, 0xe41e, 
+    0x06c1, 0x1515, 0x1462, 0x4e61, 0xe419, 0x0fab, 0x1453, 0xa002, 
+    0x4e53, 0xe41e, 0x10da, 0xf04a, 0x143a, 0xe40a, 0x064f, 0x145b, 
+    0xe418, 0x0ac3, 0x1515, 0x1462, 0xf02b, 0x4e2b, 0xa202, 0xe42e, 
+    0x143b, 0xc001, 0x0c64, 0xc000, 0x153b, 0xa003, 0x4f3b, 0xe428, 
+    0xa202, 0x4e3b, 0xd12a, 0x0001, 0xa202, 0x4e3a, 0xc001, 0x1463, 
+    0x1562, 0xa002, 0xe046, 0xf078, 0xa200, 0x4e67, 0xa204, 0x4e68, 
+    0xc000, 0xe42e, 0xc000, 0x1428, 0x1529, 0xc001, 0x4e67, 0x4f68, 
+    0xc000, 0xe42e, 0x1437, 0x1538, 0xe42a, 0xe409, 0x06b4, 0xc86e, 
+    0x0e39, 0xe424, 0xe40e, 0x06bc, 0x143b, 0x0c39, 0x153b, 0xa003, 
+    0x4f3b, 0xe428, 0xa202, 0x4e3b, 0xd12a, 0x0001, 0xa202, 0x4e3a, 
+    0xe42e, 0x1463, 0xae0c, 0x2662, 0xae02, 0x2658, 0xae02, 0xa902, 
+    0xce48, 0x4e59, 0xcac6, 0xce60, 0xcb12, 0xce62, 0x1454, 0xe01a, 
+    0xe012, 0xe049, 0xe161, 0x04f0, 0xd132, 0x0000, 0xca66, 0xe052, 
+    0x4e91, 0xca66, 0x4e91, 0xca66, 0x4e91, 0xca66, 0x4e91, 0x1455, 
+    0xe01a, 0xe012, 0xe049, 0xca66, 0xe052, 0x4e91, 0xca66, 0x4e91, 
+    0xca66, 0x4e91, 0xca66, 0x4e91, 0xd134, 0x0000, 0xca6a, 0x4e91, 
+    0xca6a, 0x4e91, 0xca6a, 0x4e91, 0xca6a, 0x4e91, 0xca6a, 0x4e91, 
+    0xca6a, 0x4e91, 0xe42e, 0xc001, 0x1561, 0xf049, 0xc000, 0x1529, 
+    0xf03e, 0x1566, 0xc000, 0xe40b, 0x0713, 0x155c, 0xa200, 0xe40b, 
+    0x0730, 0xa202, 0x045d, 0x1560, 0xae05, 0xe042, 0x155f, 0xb5b3, 
+    0xe042, 0xe40e, 0x0743, 0x155a, 0x145b, 0xe409, 0x075c, 0xe41e, 
+    0x0ac3, 0x1558, 0x143d, 0xe409, 0x0722, 0xe049, 0xa107, 0xb436, 
+    0xe40e, 0x074a, 0x155c, 0xa20a, 0xe40b, 0x0730, 0xa20c, 0x045d, 
+    0x1560, 0xae05, 0xe042, 0x155f, 0xb5b3, 0xe042, 0xe40e, 0x0743, 
+    0xbffc, 0xe41e, 0x0760, 0x145e, 0xbffc, 0xe004, 0x03b5, 0x043f, 
+    0x043f, 0xe09c, 0x1486, 0xbffc, 0x146f, 0x156e, 0xe408, 0x0759, 
+    0xbfff, 0xe40e, 0x0759, 0xbffc, 0x145e, 0xbffc, 0x146e, 0xbffe, 
+    0xe40e, 0x0759, 0xbffc, 0xe41e, 0x0791, 0xe004, 0x03b4, 0x043f, 
+    0x043f, 0xe09c, 0x1486, 0xbffc, 0x146f, 0x156e, 0xe408, 0x0759, 
+    0xbfff, 0xe41e, 0x091b, 0xe42e, 0xa200, 0xe41e, 0x10ef, 0xe42e, 
+    0xe161, 0x04d0, 0xe162, 0x04b0, 0xd022, 0x000f, 0xe184, 0x0771, 
+    0x1491, 0x0c82, 0xe049, 0xe016, 0xba80, 0xf048, 0x1482, 0xb5ee, 
+    0xba84, 0x8092, 0xe42e, 0x1465, 0xe09c, 0x1486, 0xcece, 0xe162, 
+    0x04b0, 0xd160, 0x0000, 0xd022, 0x000f, 0xe184, 0x078b, 0xcac8, 
+    0x0c82, 0xe049, 0xe01a, 0xe016, 0xba80, 0xe408, 0x078a, 0x1482, 
+    0xb5ee, 0xba84, 0x1492, 0xceca, 0xcace, 0x4e96, 0xe08c, 0x4e65, 
+    0xe42e, 0x143c, 0xcc44, 0xa106, 0xe161, 0x04e8, 0xe408, 0x079a, 
+    0xa21e, 0xba86, 0xe184, 0x07a2, 0x1491, 0xe41e, 0x0add, 0x1491, 
+    0xe41e, 0x0add, 0xe190, 0xe42e, 0xc001, 0xa200, 0x4e5f, 0xc000, 
+    0xd12a, 0x0001, 0xa2fe, 0x4e53, 0xe41e, 0x0cd5, 0xe41e, 0x0843, 
+    0xe42e, 0xe41e, 0x0cd5, 0xe41e, 0x084e, 0x1462, 0x0c61, 0xa269, 
+    0xa034, 0xb605, 0xe042, 0xa269, 0xa168, 0xb609, 0xe046, 0xa034, 
+    0x4e6e, 0x1428, 0xe418, 0x08df, 0xa200, 0x4e5a, 0xe41e, 0x07d2, 
+    0x1460, 0xae08, 0x265f, 0x4e3f, 0xe01a, 0xe016, 0x4e6f, 0xe418, 
+    0x0825, 0xe42e, 0x885c, 0x014b, 0xa200, 0x4e5f, 0x4e00, 0xd022, 
+    0x0003, 0xe184, 0x07f1, 0x1400, 0xae04, 0xce90, 0xa002, 0xcab3, 
+    0xce90, 0xf0a9, 0xcab3, 0xa002, 0xce90, 0xf069, 0xcab3, 0xa002, 
+    0xce90, 0xf029, 0xcab3, 0xe01b, 0x3500, 0x275f, 0x4f5f, 0x1400, 
+    0xa002, 0x4e00, 0xa224, 0xce90, 0xd022, 0x0006, 0xcab3, 0xe184, 
+    0x07fc, 0xa002, 0xce90, 0xf039, 0xcab3, 0xe190, 0xa204, 0xe409, 
+    0x080a, 0xa220, 0xce90, 0xa002, 0xcab3, 0xce90, 0xe190, 0xcab2, 
+    0xe056, 0xe01a, 0x4e60, 0x146e, 0x155c, 0x275f, 0xf10a, 0x2760, 
+    0xf0e9, 0xa200, 0x4e6e, 0x1461, 0x4e62, 0x0424, 0xa400, 0xa566, 
+    0xe000, 0x0414, 0xe09c, 0x1486, 0x4e63, 0xe42e, 0x155c, 0x145f, 
+    0xe42b, 0xe42a, 0xa21e, 0x4e5f, 0xe42e, 0x1458, 0x156e, 0x273d, 
+    0xe428, 0xe429, 0xca4a, 0xc001, 0x155d, 0xf03b, 0x155b, 0xe052, 
+    0xc000, 0xa806, 0xa106, 0xe161, 0x04e8, 0x153e, 0xe408, 0x0840, 
+    0xe40b, 0x0840, 0x1491, 0x2691, 0xe428, 0xa202, 0x4e5a, 0xe42e, 
+    0x146d, 0x4e5a, 0xe42e, 0xe161, 0x04e0, 0x1458, 0x4e91, 0x145c, 
+    0x4e91, 0x1462, 0x4e91, 0x1463, 0x4e91, 0xe42e, 0xe161, 0x04e0, 
+    0x1481, 0x1558, 0x4f91, 0x4e58, 0x1481, 0x155c, 0x4f91, 0x4e5c, 
+    0x1481, 0x1562, 0x4f91, 0x4e62, 0x1481, 0x1563, 0x4f91, 0x4e63, 
+    0xe42e, 0xa200, 0x4e07, 0xe41e, 0x0eaa, 0xe0c0, 0x0217, 0x4e77, 
+    0x1478, 0xe09a, 0xe0c0, 0x0215, 0x4e3d, 0x4e95, 0xa104, 0xb5f4, 
+    0xa004, 0x4e3c, 0x4e95, 0xa102, 0xe162, 0x02f0, 0xe404, 0x087c, 
+    0xe40a, 0x088b, 0xe40e, 0x08ab, 0xe0c0, 0x0214, 0xae28, 0xaf38, 
+    0x4e95, 0xe0c1, 0x0214, 0xae39, 0xaf39, 0x4f8d, 0x1095, 0x2695, 
+    0x9f02, 0xe40e, 0x08c4, 0xa206, 0x0c3d, 0xae04, 0xe090, 0xe0c0, 
+    0x0213, 0xae08, 0xaf38, 0x4e95, 0xe0c1, 0x0213, 0xae29, 0xaf39, 
+    0x4f8d, 0x1095, 0x2695, 0x9f32, 0xe0c0, 0x0213, 0xae18, 0xaf38, 
+    0x4e95, 0xe0c1, 0x0213, 0xae39, 0xaf39, 0x4f8d, 0x1095, 0x2695, 
+    0x9f02, 0xe40e, 0x08c4, 0xc420, 0xa230, 0x4e6a, 0xd022, 0x0003, 
+    0xe184, 0x08c3, 0xe0c0, 0x0211, 0x366a, 0xae38, 0xaf38, 0x4e95, 
+    0xe0c1, 0x0212, 0x376a, 0xae39, 0xaf39, 0x4f8d, 0x1095, 0x2695, 
+    0x9f32, 0x146a, 0xa110, 0x4e6a, 0xe08a, 0x4e78, 0x143d, 0xae06, 
+    0x263d, 0xae06, 0x263d, 0xae06, 0x263d, 0xe0c2, 0x0285, 0x1472, 
+    0xae20, 0x2673, 0xe0c2, 0x0284, 0x1472, 0xa002, 0x4e72, 0x0c50, 
+    0xe428, 0xa200, 0x4e72, 0x1473, 0xa002, 0x4e73, 0xe42e, 0x1458, 
+    0xe408, 0x090d, 0xe41e, 0x112c, 0xe161, 0x04e8, 0x1479, 0xe09a, 
+    0x1495, 0x4e3d, 0x1495, 0x4e3c, 0xcc44, 0xcb20, 0xe01a, 0xcb29, 
+    0xe01b, 0xe052, 0x4e3e, 0x1095, 0x268d, 0xe016, 0x4e6d, 0x143d, 
+    0xae06, 0x263d, 0xae06, 0x263d, 0xae06, 0x263d, 0xcf04, 0xe184, 
+    0x0907, 0x1095, 0x2695, 0xcf08, 0xe190, 0xcb0a, 0x4891, 0x4e91, 
+    0xe08a, 0x4e79, 0xe41e, 0x1140, 0xe42e, 0xe41e, 0x1114, 0x1479, 
+    0xe09a, 0x8095, 0x1495, 0xcc44, 0xe184, 0x0917, 0x8095, 0x8095, 
+    0xe08a, 0x4e79, 0xe42e, 0x145c, 0xe418, 0x0926, 0xe41e, 0x093d, 
+    0x1460, 0xe418, 0x097c, 0xe41e, 0x0992, 0xe42e, 0x1466, 0xe09c, 
+    0x1096, 0x268e, 0xced6, 0xd160, 0x0000, 0xcad0, 0xa000, 0x4e02, 
+    0xa2fe, 0xce90, 0xd151, 0x0000, 0xd150, 0x0001, 0xd040, 0x0010, 
+    0xe41e, 0x09c8, 0xa202, 0xb61a, 0xe42e, 0x1466, 0xe09c, 0x1096, 
+    0x268e, 0xced6, 0xd160, 0x0000, 0xa220, 0x0c5c, 0xcc80, 0xe164, 
+    0x04c0, 0x145f, 0xc703, 0x4694, 0xaf02, 0xc703, 0x4694, 0xaf02, 
+    0xc703, 0x4694, 0xaf02, 0xc703, 0x4694, 0xe164, 0x04c0, 0xa200, 
+    0x4e03, 0x1494, 0x1503, 0xce91, 0xe40a, 0x096a, 0x885c, 0x0151, 
+    0xd150, 0x0001, 0xcad0, 0xa000, 0x4e02, 0xe41e, 0x09c8, 0xe40d, 
+    0x0978, 0x1400, 0x1503, 0xa003, 0x4f03, 0xa121, 0xced2, 0xe409, 
+    0x0959, 0xcad6, 0x4896, 0x4e96, 0xe08c, 0x4e66, 0xa202, 0xe42e, 
+    0xe16a, 0xa200, 0xe42e, 0xe42e, 0xa208, 0x4e02, 0xd040, 0x0004, 
+    0xa220, 0xce90, 0xd151, 0x0000, 0xd150, 0x0001, 0xe41e, 0x09c8, 
+    0xa222, 0xce90, 0xd151, 0x0000, 0xd150, 0x0001, 0xe41e, 0x09c8, 
+    0xa202, 0xe42e, 0x1460, 0xa104, 0x1567, 0xe09d, 0xe408, 0x09bd, 
+    0x1096, 0x268e, 0xcede, 0xd160, 0x0000, 0xd040, 0x000f, 0xa224, 
+    0x4e03, 0x1403, 0xce90, 0xd151, 0x0001, 0xd150, 0x0001, 0xcad8, 
+    0xa000, 0x4e02, 0xe41e, 0x09c8, 0xe40d, 0x09c5, 0x1503, 0xa003, 
+    0x4f03, 0xa135, 0x1400, 0xceda, 0xe409, 0x09a1, 0xcade, 0x4896, 
+    0x4e96, 0xe08c, 0x4e67, 0xa202, 0xe42e, 0xa200, 0xcedc, 0x4e96, 
+    0x4e96, 0xe08c, 0x4e67, 0xa202, 0xe42e, 0xe16a, 0xa200, 0xe42e, 
+    0xe41e, 0x09d8, 0xcaae, 0xcc8c, 0xbf28, 0x1400, 0xa104, 0xcc44, 
+    0xe424, 0xd158, 0x0000, 0xe184, 0x09d6, 0xcaa6, 0xbf24, 0xe42e, 
+    0xcab4, 0xd158, 0x0000, 0xf7d8, 0xcaa8, 0x5202, 0xaf04, 0x4e00, 
+    0xcc82, 0xe42a, 0xcaa8, 0xa806, 0x4e01, 0xcc84, 0xe090, 0x1400, 
+    0x0c01, 0xcaab, 0x9380, 0xe42a, 0xcaac, 0xcc86, 0xcaa4, 0xbf20, 
+    0xe190, 0xbf26, 0x1400, 0x0c01, 0xa104, 0xcc44, 0xe424, 0xe184, 
+    0x09fc, 0xcaa4, 0xbf22, 0xe190, 0xbf26, 0xe42e, 0xe004, 0x0042, 
+    0xba8e, 0xbac0, 0xbac0, 0xbac0, 0xbac4, 0xa23c, 0xba8e, 0xa200, 
+    0xbffc, 0x1410, 0xa108, 0xbffc, 0x1411, 0xbffc, 0x1413, 0xbffc, 
+    0xbac0, 0x1450, 0xa102, 0xbffc, 0x1451, 0xa102, 0xbffc, 0xbae0, 
+    0xbae0, 0xbac0, 0xbac0, 0xe41e, 0x0ab9, 0xa202, 0xe42e, 0xe16a, 
+    0xa200, 0xe42e, 0xa200, 0xe41e, 0x0ac3, 0xa200, 0xbffc, 0xbac0, 
+    0x1420, 0xba80, 0xc001, 0x145d, 0xc000, 0xf068, 0x1421, 0xbffc, 
+    0xe408, 0x0a6e, 0xf25e, 0xc001, 0x1459, 0xa102, 0xbffc, 0x145e, 
+    0xbffc, 0xc000, 0xf1b8, 0xe161, 0x00e1, 0x1450, 0x4e91, 0x4e91, 
+    0x4e91, 0x4e91, 0x4e91, 0x4e91, 0x4e91, 0x4e91, 0xe161, 0x00e1, 
+    0xc001, 0x1459, 0xa102, 0xcc44, 0xc000, 0xe184, 0x0a54, 0x1491, 
+    0xa102, 0xe41e, 0x0ac3, 0xe190, 0xe190, 0xe41e, 0x155e, 0x1422, 
+    0xbffc, 0xa200, 0xbffc, 0xbac0, 0xbac1, 0x1423, 0xa134, 0xbffe, 
+    0xa200, 0xbffe, 0x1424, 0xbffe, 0x1425, 0xba80, 0x1426, 0xba80, 
+    0x1427, 0xba80, 0xe41e, 0x0ab9, 0xa202, 0xe42e, 0xe16a, 0xa200, 
+    0xe42e, 0x1453, 0xe41e, 0x0ac3, 0xc001, 0x1561, 0xf04b, 0x1466, 
+    0xc000, 0xf04e, 0xc000, 0x1429, 0xa00a, 0xbffc, 0xa200, 0xe41e, 
+    0x0ac3, 0x162a, 0x5410, 0x1431, 0xe40a, 0x0a89, 0x147b, 0xe41e, 
+    0x0ac3, 0x1427, 0xe408, 0x0ab7, 0xc001, 0x1561, 0xf04b, 0x1466, 
+    0xc000, 0xf03e, 0xc000, 0x1429, 0xe408, 0x0a98, 0xbac0, 0xbac0, 
+    0x142f, 0xe40a, 0x0aa3, 0x1431, 0xe40a, 0x0aa2, 0xbac0, 0xbac0, 
+    0xe40e, 0x0aa3, 0xbac0, 0x142b, 0x0c23, 0xe41e, 0x0add, 0x1425, 
+    0xe40a, 0x0ab5, 0x142c, 0xbffc, 0xa102, 0xe40a, 0x0ab5, 0x142d, 
+    0xaf02, 0xbffe, 0x142e, 0xaf02, 0xbffe, 0xa202, 0xe42e, 0xa200, 
+    0xe42e, 0xbae0, 0xc864, 0xa80e, 0xe42a, 0xa110, 0xe012, 0x4e48, 
+    0xa200, 0x5448, 0xe42e, 0xe002, 0x007e, 0xe400, 0x0acb, 0xe000, 
+    0x007e, 0xbffc, 0xe42e, 0xe000, 0x007f, 0x4e47, 0xaf0e, 0xa20d, 
+    0xaf02, 0xa003, 0xe408, 0x0ad0, 0x4f46, 0x5446, 0xbae0, 0x1447, 
+    0xa203, 0x3546, 0xe046, 0x5446, 0xe42e, 0xe049, 0xae02, 0xb5e0, 
+    0xe401, 0x0ac3, 0xe012, 0xe40e, 0x0ac3, 0xa200, 0x4e40, 0xd1b2, 
+    0x00ff, 0xd1b0, 0x0700, 0xd1b1, 0x0000, 0xe42e, 0xc874, 0xa050, 
+    0xcc74, 0x1440, 0xaf02, 0xe000, 0x0700, 0xe098, 0x1440, 0xa802, 
+    0x4e41, 0xa200, 0xe41e, 0x0b5d, 0xa200, 0xe41e, 0x0b5d, 0xa200, 
+    0xe41e, 0x0b5d, 0xa202, 0xe41e, 0x0b5d, 0x142f, 0xae0a, 0x2630, 
+    0xe41e, 0x0b5d, 0xe088, 0xe002, 0x0700, 0xae02, 0x0441, 0x4e40, 
+    0xe41e, 0x11d3, 0xa2fe, 0x4e43, 0xe42e, 0xc866, 0xe002, 0x0000, 
+    0xae04, 0x4e45, 0xc864, 0xaf06, 0x0445, 0x4e45, 0xe42a, 0xe004, 
+    0x0040, 0xcc6c, 0xbadf, 0xc86e, 0xa140, 0xcc6e, 0xc874, 0xa140, 
+    0xcc74, 0xe41e, 0x0b32, 0xe42e, 0xe004, 0x0100, 0x4e45, 0xe41e, 
+    0x0b32, 0xe42e, 0xd1b7, 0x0000, 0x8840, 0x01b6, 0x8843, 0x01b5, 
+    0x1445, 0xa102, 0xcf66, 0xd1b9, 0x0000, 0xd1b8, 0x0001, 0xcb74, 
+    0xf7fa, 0xa106, 0xf0e4, 0xe004, 0x0100, 0x4e40, 0xe41e, 0x11e7, 
+    0xd1b6, 0x0000, 0xd1b8, 0x0001, 0xcb74, 0xf7fa, 0xa106, 0xf74a, 
+    0x8940, 0x01b6, 0x8943, 0x01b5, 0x1440, 0xe002, 0x0100, 0xe428, 
+    0xe41e, 0x11e7, 0xa200, 0x4e40, 0xe42e, 0x1541, 0xe409, 0x0b65, 
+    0xae10, 0x4e84, 0xe017, 0x4f41, 0xe42e, 0x2684, 0x4e94, 0xe017, 
+    0x4f41, 0xe089, 0xe003, 0x0780, 0xe429, 0xe004, 0x0100, 0x4e40, 
+    0xe41e, 0x11e7, 0xe164, 0x0700, 0xe42e, 0xa200, 0x4e34, 0xe42e, 
+    0xe004, 0x0080, 0xe0c2, 0x0094, 0xe41e, 0x0e8c, 0xe0c0, 0x0044, 
+    0x4600, 0x1450, 0xae08, 0xe0c2, 0x009f, 0xe0c2, 0x018b, 0xe0c2, 
+    0x020a, 0x1549, 0xf029, 0x1470, 0xe0c2, 0x009b, 0xe0c2, 0x0209, 
+    0x1400, 0xe0c2, 0x0219, 0xa206, 0xe0c2, 0x0100, 0x1451, 0xae20, 
+    0x2650, 0xae08, 0xe0c2, 0x0084, 0xa202, 0xae2a, 0x2600, 0xae04, 
+    0x2628, 0xae10, 0xa904, 0xe0c2, 0x0080, 0xa204, 0xe0c1, 0x0064, 
+    0xa821, 0xf04b, 0xe0c1, 0x0064, 0xa81f, 0xae05, 0xe056, 0xe00a, 
+    0x1800, 0x1549, 0xf03b, 0xe008, 0xffc3, 0xe0c2, 0x00fa, 0xa202, 
+    0xae0a, 0xe0c2, 0x00e7, 0xa204, 0x2600, 0xae20, 0x1550, 0xae09, 
+    0xe056, 0xa203, 0xae2b, 0xe056, 0xe0c2, 0x0282, 0x1450, 0xae20, 
+    0x2651, 0xae08, 0xe0c2, 0x0283, 0x1450, 0xae0c, 0x2651, 0xe0c2, 
+    0x0183, 0xa206, 0xe0c2, 0x018d, 0xa258, 0xe0c2, 0x0182, 0xa202, 
+    0xae3e, 0xa906, 0xe0c2, 0x00ec, 0xa200, 0xe0c2, 0x0102, 0xa202, 
+    0xe0c2, 0x0102, 0xa204, 0xe0c2, 0x0102, 0xe0c0, 0x0060, 0xe0c2, 
+    0x0098, 0xe0c0, 0x0061, 0xe0c2, 0x0099, 0xe0c0, 0x0062, 0xe0c2, 
+    0x009a, 0xc001, 0x1448, 0xf0ea, 0x1040, 0x2641, 0xe0c2, 0x009c, 
+    0x1042, 0x2643, 0xe0c2, 0x009d, 0x1044, 0x2645, 0xe0c2, 0x009e, 
+    0xf16e, 0xc000, 0xe0c1, 0x0041, 0xe004, 0x0350, 0xae10, 0xe042, 
+    0xe0c2, 0x009c, 0xe004, 0x03e0, 0xae10, 0xe042, 0xe0c2, 0x009d, 
+    0xe004, 0x0428, 0xae10, 0xe042, 0xe0c2, 0x009e, 0xc000, 0x8234, 
+    0xc786, 0xe018, 0xe000, 0x0570, 0xe09e, 0x1097, 0x2697, 0xe0c2, 
+    0x0188, 0x1097, 0x2697, 0xe0c2, 0x0189, 0x1097, 0x2697, 0xe0c2, 
+    0x018a, 0x8235, 0xc786, 0xe018, 0xe000, 0x0570, 0xe09e, 0x1097, 
+    0x2697, 0xe0c2, 0x02c0, 0x1097, 0x2697, 0xe0c2, 0x02c1, 0x1097, 
+    0x2697, 0xe0c2, 0x02c2, 0x1434, 0xe0c2, 0x0072, 0x4e35, 0xa002, 
+    0x4e34, 0x0c32, 0xf028, 0x4e34, 0xe41e, 0x0c56, 0xa200, 0x4e71, 
+    0x4e56, 0x4e57, 0xa228, 0xae20, 0xe00a, 0x1111, 0xe0c2, 0x00a2, 
+    0xa200, 0x4e74, 0xce52, 0x1450, 0xce50, 0xe42e, 0xa200, 0xe0c2, 
+    0x0207, 0x8250, 0xe182, 0x0340, 0xe018, 0xe0c2, 0x0208, 0x1451, 
+    0xae08, 0xa102, 0xae20, 0x1550, 0xae09, 0xa103, 0xe056, 0xe0c2, 
+    0x0201, 0xe0c0, 0x0060, 0xe0c2, 0x0202, 0xe0c0, 0x02c0, 0xe0c2, 
+    0x0203, 0x142b, 0xa558, 0xa41c, 0xaf02, 0xa10e, 0x0436, 0xa51e, 
+    0x4e01, 0xae04, 0xe000, 0x0448, 0xe09e, 0x1097, 0x2697, 0xe0c2, 
+    0x0204, 0x1087, 0x2697, 0xe0c2, 0x0205, 0x1497, 0xe0c2, 0x021a, 
+    0x1401, 0xae02, 0x0401, 0xe000, 0x05a0, 0xe09e, 0x1697, 0xe0c2, 
+    0x021f, 0x1097, 0x2697, 0xe0c2, 0x021e, 0x1428, 0xe016, 0xe0c2, 
+    0x0206, 0xa24c, 0x2628, 0xe0c2, 0x0200, 0xa200, 0x4e72, 0x4e73, 
+    0xe004, 0x051a, 0x4e78, 0x4e79, 0xd008, 0x000d, 0xd009, 0x051a, 
+    0xd00a, 0x0542, 0xe42e, 0xa202, 0x0c28, 0xae30, 0xe0c2, 0x00a1, 
+    0x1428, 0xe016, 0xae0a, 0xe0c2, 0x0083, 0x1428, 0xe428, 0xa202, 
+    0xe0c2, 0x0093, 0xe41e, 0x0eb1, 0xe42e, 0x1428, 0xf05a, 0xe41e, 
+    0x0861, 0x1477, 0x4e76, 0xa216, 0x0c28, 0xae30, 0xe0c2, 0x00a1, 
+    0x1428, 0xae0c, 0xa940, 0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 
+    0x1428, 0xae02, 0xe0c2, 0x0280, 0xe42e, 0xe161, 0x04e0, 0x1491, 
+    0x4e00, 0x1481, 0x4e01, 0xa202, 0x1553, 0xb60a, 0x4e0b, 0xb616, 
+    0x4e0c, 0xa103, 0xb616, 0x4e0d, 0xa202, 0x0d52, 0xa007, 0xb602, 
+    0x4e0e, 0xb616, 0x4e0f, 0x140f, 0x2228, 0x4e07, 0x4e08, 0x140e, 
+    0x4e02, 0x4e04, 0x2228, 0x4e06, 0x140b, 0x4e03, 0x140c, 0x4e05, 
+    0xe41e, 0x0d76, 0x1406, 0xe418, 0x0e86, 0x1405, 0xe418, 0x0dfa, 
+    0x1402, 0xe418, 0x0db2, 0x1403, 0xe418, 0x0e2b, 0x1404, 0xe418, 
+    0x0e18, 0x1407, 0xe418, 0x0861, 0x1401, 0xae08, 0x2671, 0xe0c2, 
+    0x0101, 0x140d, 0xae1c, 0x260a, 0xe0c2, 0x00e6, 0x1552, 0xa107, 
+    0x0d53, 0xa216, 0xb496, 0xb6aa, 0x0c28, 0xae30, 0xe0c2, 0x00a1, 
+    0x1458, 0xe016, 0xae02, 0x265c, 0xae10, 0x2662, 0x1563, 0xae19, 
+    0xe056, 0xe0c2, 0x0082, 0x140d, 0xae04, 0x260c, 0xae02, 0x1528, 
+    0x230f, 0xe056, 0xae02, 0x1528, 0xe017, 0x230e, 0x270f, 0xe056, 
+    0xae02, 0x260b, 0xae02, 0x260e, 0xae02, 0x260e, 0xae04, 0x260e, 
+    0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0x1408, 0xae02, 0xe0c2, 
+    0x0280, 0x1471, 0xe016, 0x4e71, 0x1477, 0x4e76, 0xe42e, 0xe41e, 
+    0x0eb1, 0xe41e, 0x0dfa, 0xa200, 0xe0c2, 0x00a1, 0xa202, 0xae1c, 
+    0x260a, 0xe0c2, 0x00e6, 0xe004, 0x0280, 0xe0c2, 0x0083, 0xa202, 
+    0xe0c2, 0x0093, 0xe41e, 0x0eb1, 0xe0c0, 0x0184, 0x4e0a, 0xa202, 
+    0xae1c, 0x260a, 0xe0c2, 0x00e6, 0xe004, 0x0200, 0xe0c2, 0x0083, 
+    0xa202, 0xe0c2, 0x0093, 0xe41e, 0x0eb1, 0xe42e, 0xe0c0, 0x0095, 
+    0xf378, 0xe0c0, 0x0281, 0xaf02, 0x2206, 0xe0c1, 0x0096, 0xe052, 
+    0xe0c1, 0x0096, 0xaf05, 0xe052, 0xe0c1, 0x0096, 0xaf0b, 0xe052, 
+    0xe418, 0x0e86, 0xe0c0, 0x0096, 0xaf0a, 0x2202, 0xe418, 0x0db2, 
+    0xe0c0, 0x0096, 0xaf0e, 0x2205, 0xe418, 0x0dfa, 0xe0c0, 0x0096, 
+    0xaf06, 0x2204, 0x1503, 0x2702, 0xe017, 0xe052, 0xe418, 0x0e18, 
+    0xe0c0, 0x0096, 0xaf06, 0x2203, 0xe418, 0x0e2b, 0xe0c0, 0x0218, 
+    0x2207, 0x1506, 0xe017, 0xe052, 0xe418, 0x0861, 0xf48e, 0xe0c2, 
+    0x0095, 0xe42e, 0xa200, 0x4e02, 0x1515, 0x2328, 0x142b, 0xe419, 
+    0x0f93, 0x4e62, 0x0424, 0xa400, 0xa566, 0xe000, 0x0414, 0xe09c, 
+    0x1486, 0x4e63, 0xe0c0, 0x00f5, 0xe049, 0xaf20, 0xe009, 0xffff, 
+    0xe066, 0xe0c1, 0x00f4, 0xe065, 0x1462, 0xaf04, 0xe000, 0x0488, 
+    0xe09e, 0x0d87, 0xa200, 0xb62a, 0x4e5c, 0xc001, 0x1461, 0xc000, 
+    0xf0ba, 0x143a, 0xf058, 0xc001, 0x1465, 0xc000, 0xf06e, 0xc001, 
+    0x1467, 0xc000, 0xf02e, 0x1428, 0xe016, 0x0587, 0xe408, 0x0df3, 
+    0xe001, 0x0280, 0x0f76, 0xb62a, 0x151c, 0xf068, 0xe419, 0x115d, 
+    0x155c, 0xb615, 0x4f5c, 0x4e58, 0x145c, 0x1562, 0xa109, 0xb60e, 
+    0x4e5c, 0xe42e, 0xe161, 0x04f0, 0xe162, 0x0190, 0xd022, 0x000d, 
+    0xe184, 0x0e03, 0x1491, 0x9f12, 0xe0c0, 0x0184, 0x4e0a, 0x1456, 
+    0xae0c, 0x2657, 0xe0c2, 0x0184, 0x1456, 0xa002, 0x4e56, 0x0c50, 
+    0xa201, 0x4f05, 0xe428, 0x4e56, 0x1457, 0xa002, 0x4e57, 0xe42e, 
+    0x1474, 0xce52, 0x1458, 0xe418, 0x0e5b, 0x1426, 0xe016, 0x2658, 
+    0xce56, 0x1474, 0xa002, 0x4e74, 0x0c50, 0xa201, 0x4f04, 0xe428, 
+    0xa200, 0x4e74, 0xe42e, 0x1400, 0xa201, 0x4f03, 0xe40a, 0x0e58, 
+    0x1401, 0xe408, 0x0e50, 0x1465, 0xe09c, 0x1486, 0xcece, 0xe160, 
+    0x04d0, 0xe161, 0x04b0, 0xe162, 0x00c0, 0xd160, 0x0000, 0xd022, 
+    0x000f, 0xe184, 0x0e47, 0xcac8, 0x4e90, 0x9e12, 0x4e91, 0xceca, 
+    0xcace, 0x4e96, 0xe08c, 0x4e65, 0xe0c0, 0x00e4, 0x4e5e, 0xe42e, 
+    0x1475, 0x4e5d, 0xe0c0, 0x00e4, 0x4e5e, 0xe41e, 0x110b, 0xe42e, 
+    0xe41e, 0x110b, 0xe42e, 0xca58, 0xc001, 0x155d, 0xf02b, 0x225f, 
+    0xc000, 0xe0c2, 0x00a0, 0xca58, 0xc001, 0x155d, 0xf02b, 0x225f, 
+    0xc000, 0x4e09, 0xcacc, 0xe0c2, 0x00a3, 0xe004, 0x0100, 0x0474, 
+    0xe09c, 0x1486, 0xe0c2, 0x00a4, 0xe0c0, 0x00f9, 0xaf20, 0x2209, 
+    0x155c, 0xe0c2, 0x00e4, 0xe42b, 0xe0c0, 0x00f8, 0xaf20, 0x2209, 
+    0xa104, 0xe012, 0xe0c2, 0x00c0, 0x4e75, 0xe42e, 0xa202, 0xe0c2, 
+    0x020b, 0xa200, 0x4e06, 0xe42e, 0xe004, 0x3211, 0xae20, 0xe00a, 
+    0x2100, 0xe0c2, 0x00ee, 0xe004, 0x9211, 0xae20, 0xe00a, 0x2100, 
+    0xe0c2, 0x00d8, 0xe004, 0x1000, 0xae20, 0xe00a, 0x0000, 0xe0c2, 
+    0x00ef, 0xe0c2, 0x00d9, 0xe004, 0x0104, 0xe0c2, 0x00f2, 0xe0c2, 
+    0x00da, 0xe42e, 0xe0c0, 0x0218, 0xf7ea, 0xa200, 0xe0c2, 0x0218, 
+    0xe42e, 0xe0c0, 0x0095, 0xf7ea, 0xe0c2, 0x0095, 0xe42e, 0x1571, 
+    0xa105, 0x1471, 0xa002, 0xb616, 0x4e71, 0xe42e, 0xc001, 0xa268, 
+    0x4e04, 0xa218, 0x4e06, 0xa250, 0x156d, 0xf03b, 0xe0c0, 0x0072, 
+    0x4e05, 0xa210, 0x4e07, 0xe004, 0x0495, 0x4e08, 0xc000, 0x1414, 
+    0x1552, 0xc001, 0x4e09, 0x4f0f, 0xc000, 0x1617, 0xc710, 0x3c18, 
+    0xe008, 0xffff, 0xa002, 0xaf02, 0xc001, 0x4e0b, 0x4e3b, 0xe004, 
+    0x1000, 0x156c, 0xf03b, 0xe0c0, 0x0073, 0x4e0c, 0x1409, 0xe016, 
+    0x4e0a, 0xf06a, 0x140b, 0x4e09, 0xe004, 0x1000, 0x4e0c, 0xc000, 
+    0x8218, 0xe182, 0x7530, 0xe018, 0xae02, 0x1717, 0xc001, 0xe41e, 
+    0x1047, 0x4e18, 0x8218, 0x8100, 0xe018, 0xa279, 0xe41e, 0x1030, 
+    0x4818, 0x4e19, 0xae06, 0x1504, 0xe41e, 0x1030, 0x481e, 0x4e1f, 
+    0xa202, 0x4e0d, 0xa205, 0xc000, 0x0d36, 0xc001, 0xae03, 0xa011, 
+    0x4f14, 0x150f, 0x3514, 0xe013, 0x492e, 0x4f2f, 0x1439, 0x1538, 
+    0xf039, 0xe41e, 0x0fd8, 0x4e10, 0xa004, 0x4e11, 0xe41e, 0x0ffe, 
+    0xc000, 0xe42e, 0xe42e, 0x1428, 0xc001, 0x4e0e, 0xa201, 0x4f2d, 
+    0xe418, 0x0fba, 0xa200, 0x4e20, 0x4e21, 0x140e, 0xf248, 0x140d, 
+    0xf05a, 0xa200, 0x4e0d, 0x1410, 0xf26e, 0x1409, 0xa102, 0xf7ca, 
+    0x1538, 0xf03b, 0x1410, 0xf1fe, 0x820f, 0x8135, 0xe019, 0xe04a, 
+    0xaf02, 0x0022, 0x0623, 0xe41e, 0x1047, 0xa21f, 0x4f14, 0x1509, 
+    0xc70f, 0x3d14, 0xe009, 0xffff, 0xa405, 0xe046, 0x3006, 0x3205, 
+    0x4e10, 0xf09e, 0xa200, 0x4e1c, 0x4e1d, 0x1411, 0x152d, 0xf02b, 
+    0x1405, 0x4e13, 0x152d, 0xc000, 0xe42e, 0xc001, 0xc874, 0xe41e, 
+    0x1007, 0x140e, 0xf0ea, 0x1020, 0x2621, 0xc710, 0x3c0f, 0xe008, 
+    0xffff, 0xa002, 0xaf02, 0x4e11, 0x1020, 0x2621, 0x0022, 0x0623, 
+    0x4822, 0x4e23, 0x1435, 0xa002, 0x4e35, 0x140e, 0xf028, 0x4e35, 
+    0x140e, 0xf0f8, 0x1509, 0xa103, 0x1026, 0x2627, 0xe41e, 0x1030, 
+    0x482a, 0x4e2b, 0x0826, 0x0e27, 0xe012, 0x4828, 0x4e29, 0xf0ae, 
+    0x1128, 0x2729, 0x092a, 0x0f2b, 0x140a, 0xb606, 0xb611, 0x4928, 
+    0x4f29, 0xc000, 0xe42e, 0xc001, 0x111c, 0x271d, 0x101e, 0x261f, 
+    0xe041, 0xf097, 0xe045, 0xe045, 0x1413, 0xf095, 0x491c, 0x4f1d, 
+    0xa002, 0xf05e, 0x491c, 0x4f1d, 0x1413, 0xa102, 0x3006, 0x3205, 
+    0x4e13, 0xc000, 0xe42e, 0xc001, 0x0020, 0x0621, 0x4820, 0x4e21, 
+    0xc000, 0x146c, 0xc001, 0x0c12, 0x001c, 0x061d, 0x481c, 0x4e1d, 
+    0xc000, 0xe42e, 0x1028, 0x2629, 0x0826, 0x0e27, 0x820c, 0xe41e, 
+    0x107e, 0x0018, 0x0619, 0xf052, 0x152c, 0xf039, 0xa203, 0x4f2d, 
+    0xe41e, 0x1016, 0x1118, 0x2719, 0xaf07, 0xe062, 0x481a, 0x4e1b, 
+    0xc710, 0x3c0f, 0xe008, 0xffff, 0xa002, 0xaf02, 0x4e12, 0xe42e, 
+    0x8209, 0x1018, 0x2619, 0xe41e, 0x1072, 0x8207, 0xe41e, 0x1072, 
+    0x1509, 0xa103, 0x0507, 0xe41e, 0x1030, 0x481a, 0x4e1b, 0x140f, 
+    0xae08, 0x4e30, 0x101a, 0x261b, 0xae04, 0x001a, 0x061b, 0xae02, 
+    0xc70f, 0x3c30, 0xe008, 0xffff, 0xa010, 0xaf08, 0xc000, 0x0436, 
+    0xc001, 0xa51e, 0x0408, 0xe09e, 0x1487, 0xe42e, 0x8200, 0x8101, 
+    0xe018, 0x4824, 0x4e25, 0xa200, 0x4826, 0x4e27, 0xe42e, 0x0818, 
+    0x0e19, 0x0026, 0x0627, 0x4826, 0x4e27, 0x112e, 0x272f, 0xe046, 
+    0xf032, 0x4926, 0x4f27, 0x1026, 0x1427, 0xe42e, 0x1501, 0xe42b, 
+    0x1124, 0x2725, 0x0926, 0x0f27, 0xe066, 0xf051, 0x152c, 0xf039, 
+    0xa203, 0x4f2d, 0x1102, 0x2703, 0xe42b, 0x1124, 0x2725, 0x0926, 
+    0x0f27, 0x0118, 0x0719, 0x0902, 0x0f03, 0xa401, 0xe062, 0xe42e, 
+    0x4f30, 0xa201, 0xf032, 0xe012, 0xa203, 0x4f34, 0x4e31, 0xaf20, 
+    0xc70f, 0x3c30, 0x4e32, 0xaf20, 0xae20, 0x2631, 0xc70f, 0x3c30, 
+    0x4e33, 0x1032, 0x2633, 0x1534, 0xe42b, 0xe012, 0xe42e, 0x4930, 
+    0x4f31, 0xa201, 0x4f32, 0x1130, 0x2731, 0x3532, 0xe045, 0xf061, 
+    0x1532, 0xa003, 0x4f32, 0xa121, 0xf775, 0x1532, 0xf039, 0xa200, 
+    0xe42e, 0xa103, 0x4f32, 0xcc45, 0xa201, 0x4f33, 0xe184, 0x106f, 
+    0x1533, 0xae03, 0x4f33, 0x1130, 0x2731, 0x3532, 0xe045, 0xf061, 
+    0xe013, 0xe04a, 0x1533, 0xa003, 0x4f33, 0x1532, 0xa103, 0x4f32, 
+    0x1433, 0xe42e, 0xae02, 0x4831, 0xe008, 0xffff, 0xaf02, 0x4e30, 
+    0x8131, 0xe018, 0xae1e, 0x8130, 0xe01c, 0xe42e, 0xae02, 0x4831, 
+    0xe008, 0xffff, 0xaf02, 0x4e30, 0x8130, 0xe018, 0xaf1e, 0x8131, 
+    0xe01c, 0xe42e, 0xae02, 0x4831, 0xe008, 0xffff, 0xaf02, 0x4e30, 
+    0x8131, 0xe018, 0xa103, 0x4f32, 0x3432, 0x8130, 0xa11f, 0xe013, 
+    0x4f32, 0xe019, 0x3732, 0xe042, 0xe42e, 0xe161, 0x0376, 0xd022, 
+    0x002d, 0xa2fc, 0x4e00, 0xe184, 0x10a7, 0x1481, 0x2200, 0x4e91, 
+    0xca40, 0x2200, 0xce40, 0xca46, 0x2200, 0xce46, 0xe42e, 0xe004, 
+    0x0376, 0x4e64, 0xe004, 0x0100, 0x4e65, 0xe004, 0x012d, 0x4e66, 
+    0xe004, 0x0187, 0x4e67, 0xe004, 0x01e1, 0x4e68, 0xa2fd, 0xca40, 
+    0xe052, 0xce40, 0xca46, 0xe052, 0xce46, 0xe42e, 0x1454, 0xe41a, 
+    0x10af, 0x1464, 0xe09c, 0x1496, 0xce42, 0x1486, 0xce44, 0xca4a, 
+    0xcec4, 0xcf34, 0xca4c, 0x1526, 0xb7f6, 0xca4b, 0xe052, 0xcec2, 
+    0x4e69, 0xe42e, 0x1464, 0xe09c, 0x1459, 0x4e96, 0xce40, 0xca42, 
+    0xce46, 0xe08c, 0x4e64, 0x1454, 0xa002, 0x4e54, 0x0c50, 0xe428, 
+    0xa200, 0x4e54, 0x1455, 0xa002, 0x4e55, 0x0c51, 0xe42e, 0xe049, 
+    0x1466, 0xe09c, 0x1096, 0x268e, 0xced6, 0xa200, 0xcec0, 0xd022, 
+    0x000f, 0xe184, 0x10fc, 0xced3, 0xe190, 0xcad6, 0x4896, 0x4e96, 
+    0xe08c, 0x4e66, 0x1467, 0xe09c, 0xcad6, 0xcedc, 0x4896, 0x4e96, 
+    0xe08c, 0x4e67, 0xe42e, 0x1465, 0xe09c, 0xe004, 0x2222, 0x4e96, 
+    0xcecc, 0xe08c, 0x4e65, 0xe42e, 0x1468, 0xe09c, 0xa220, 0xae34, 
+    0x4896, 0x4e96, 0x4896, 0x4e96, 0x4896, 0x4e96, 0x1196, 0x278e, 
+    0xcf33, 0x4896, 0x4e96, 0xcf20, 0xcf22, 0xcf24, 0xcf26, 0xa200, 
+    0x4e96, 0xe08c, 0x4e68, 0xe42e, 0x1468, 0xe09c, 0x1096, 0x2696, 
+    0xcf28, 0x1096, 0x2696, 0xcf2a, 0x1096, 0x2696, 0xcf2c, 0x1096, 
+    0x2696, 0xcf2e, 0x8896, 0x01ab, 0x1096, 0x2696, 0xcf30, 0xe42e, 
+    0x1468, 0xe09c, 0xcb28, 0x4896, 0x4e96, 0xcb2a, 0x4896, 0x4e96, 
+    0xcb2c, 0x4896, 0x4e96, 0xcb2e, 0x4896, 0x4e96, 0x8996, 0x01ab, 
+    0xe08c, 0x4e68, 0xe42e, 0xa200, 0xc001, 0x4e4c, 0x4e6a, 0x4e3e, 
+    0xc000, 0xe42e, 0xa200, 0x4e1d, 0xe42e, 0xc001, 0x143f, 0xc000, 
+    0xf2a8, 0x141d, 0x0c1c, 0xe402, 0x11b6, 0x1453, 0xa002, 0xc001, 
+    0x0c4c, 0xc000, 0xe404, 0x11b6, 0xc001, 0x144c, 0x044b, 0x0c6b, 
+    0xc000, 0xf0d4, 0xc001, 0x146a, 0xa002, 0xc70f, 0x3c4b, 0xaf20, 
+    0x4e6a, 0x4e4c, 0xc000, 0x141c, 0x4e1d, 0xf37e, 0x141d, 0xa002, 
+    0x4e1d, 0xc001, 0x144c, 0x044b, 0xc70f, 0x3c6b, 0xaf20, 0x4e4c, 
+    0xc000, 0xf2be, 0x141d, 0x0c1c, 0xf2a2, 0x1453, 0xa002, 0xc001, 
+    0x0c4d, 0xc000, 0xf244, 0xc001, 0x144d, 0x044b, 0xc000, 0x0c52, 
+    0xf0e4, 0xc001, 0x143e, 0xa002, 0xc70f, 0x3c4b, 0xaf20, 0x4e3e, 
+    0x046b, 0x4e4d, 0xc000, 0x141c, 0x4e1d, 0xf0fe, 0x141d, 0xa002, 
+    0x4e1d, 0xc001, 0x144d, 0x044b, 0xc000, 0xc70f, 0x3c52, 0xaf20, 
+    0xc001, 0x4e4d, 0xc000, 0xf01e, 0xa202, 0xe42e, 0xa200, 0xe42e, 
+    0xa200, 0xc001, 0x484a, 0xc000, 0x4e4d, 0xe0c0, 0x0060, 0x484a, 
+    0x4e4b, 0xe0c0, 0x0061, 0xae04, 0xc001, 0x4849, 0xc000, 0x4e4c, 
+    0xe41e, 0x11d3, 0xe41e, 0x1279, 0xe12c, 0xd071, 0x002a, 0xe181, 
+    0xe41e, 0x0ae5, 0xe42e, 0xe12c, 0xd030, 0x0000, 0xd032, 0x0000, 
+    0xd033, 0x0000, 0xd034, 0x0000, 0xd035, 0x003f, 0xd036, 0x0000, 
+    0xd037, 0x0000, 0xe42e, 0xc000, 0xe41e, 0x0b2c, 0xe470, 0xc001, 
+    0x145d, 0xc000, 0xf06a, 0xe0c0, 0x0059, 0xa106, 0xe40a, 0x1759, 
+    0xd111, 0x0700, 0xe082, 0x4e4e, 0xe0c0, 0x005a, 0xae02, 0xe000, 
+    0x0048, 0xe092, 0xe41e, 0x1289, 0x104a, 0x264b, 0xc001, 0x134a, 
+    0xc000, 0x274d, 0xae11, 0xe042, 0xce20, 0x8091, 0xd112, 0x0080, 
+    0xa204, 0xe0c1, 0x0043, 0xa803, 0xb6d6, 0xce26, 0xca28, 0xf7f8, 
+    0xc001, 0x124a, 0xc000, 0x264d, 0xe000, 0x0001, 0xc001, 0x484a, 
+    0xc000, 0x4e4d, 0xc001, 0x1349, 0xc000, 0x274c, 0xe046, 0xf0a4, 
+    0x157d, 0xf04b, 0xa203, 0xe0c3, 0x0074, 0xc001, 0x484a, 0xc000, 
+    0x4e4d, 0x104a, 0x264b, 0xc001, 0x134a, 0xc000, 0x274d, 0xae11, 
+    0xe042, 0x9f01, 0x144e, 0xe092, 0xe42e, 0xe41e, 0x11e7, 0xe0c0, 
+    0x005a, 0xae02, 0xe000, 0x0049, 0xe092, 0x9e01, 0x114a, 0x274b, 
+    0xe045, 0xf049, 0x114a, 0x274b, 0xe042, 0x0440, 0xe002, 0x0100, 
+    0x9f01, 0xe42e, 0xd111, 0x0700, 0xe0c0, 0x005a, 0xae02, 0xe000, 
+    0x0048, 0xe092, 0xe41e, 0x1289, 0x104a, 0x264b, 0xc001, 0x134a, 
+    0xc000, 0x274d, 0xae11, 0xe042, 0xce20, 0x8091, 0xd112, 0x0080, 
+    0xa204, 0xe0c1, 0x0043, 0xa803, 0xb6d6, 0xce26, 0xca28, 0xf7f8, 
+    0x104a, 0x264b, 0xc001, 0x134a, 0xc000, 0x274d, 0xae11, 0xe042, 
+    0x0440, 0x9f01, 0x1640, 0xc001, 0x4e4f, 0xa202, 0x4e4e, 0xc000, 
+    0xe42e, 0x104a, 0x264b, 0xc001, 0x134a, 0xc000, 0x274d, 0xae11, 
+    0xe042, 0xe0c1, 0x005a, 0xae03, 0xe001, 0x0049, 0xe093, 0x9f01, 
+    0xe42e, 0xe0c1, 0x0043, 0xa805, 0xe429, 0x157d, 0xe429, 0xa200, 
+    0x4e4f, 0x104a, 0x264b, 0xc001, 0x134a, 0xc000, 0x274d, 0xae11, 
+    0xe042, 0xc001, 0x174e, 0xf03b, 0x174f, 0xe042, 0xc000, 0x9e81, 
+    0xe045, 0xf071, 0xc001, 0x1249, 0xc000, 0x264c, 0xae10, 0xe041, 
+    0xe003, 0x0100, 0xc001, 0x164e, 0xf06a, 0x164f, 0xe041, 0xa200, 
+    0x4e4e, 0x4e4f, 0xc000, 0xe421, 0x144f, 0xf5c8, 0xe0c0, 0x005c, 
+    0xe008, 0x8000, 0xf57a, 0xe0c0, 0x005d, 0xe00a, 0x8000, 0xe0c2, 
+    0x005d, 0xa202, 0xce00, 0x4e4f, 0xf4de, 0xa200, 0xcc4a, 0xcc4c, 
+    0xe0c2, 0x0074, 0x157d, 0x277c, 0xf02b, 0x4e40, 0x147b, 0xaa02, 
+    0x4e7b, 0x147d, 0xf15a, 0x147e, 0xf0ca, 0xe0c0, 0x0066, 0x484a, 
+    0x4e4b, 0xe0c0, 0x0067, 0xae04, 0xc001, 0x4849, 0xc000, 0x4e4c, 
+    0xa200, 0xc001, 0x484a, 0xc000, 0x4e4d, 0xe41e, 0x1279, 0xd180, 
+    0x0005, 0xd147, 0x0003, 0xd03b, 0x0001, 0xd008, 0x0000, 0xe16a, 
+    0xe004, 0x0123, 0xae20, 0xe00a, 0x4567, 0xcf50, 0xe004, 0x89ab, 
+    0xae20, 0xe00a, 0xcdef, 0xcf52, 0xa200, 0xcf06, 0xe0c2, 0x0286, 
+    0x141b, 0xe418, 0x0507, 0xe41e, 0x0459, 0xe41e, 0x115a, 0x1428, 
+    0xf07a, 0xc001, 0x143f, 0xa002, 0xa802, 0x4e3f, 0xc000, 0xe41e, 
+    0x0b78, 0xe41e, 0x0cab, 0xe41e, 0x0cbd, 0xe41e, 0x07a4, 0xa200, 
+    0x4e53, 0x4e54, 0x4e55, 0x4e1f, 0xe41e, 0x155e, 0xe41e, 0x14a0, 
+    0xe41e, 0x15ea, 0xe41e, 0x134a, 0x1453, 0x0c52, 0xf7c4, 0xe41e, 
+    0x0d4f, 0x1415, 0xe418, 0x0f5d, 0xe41e, 0x11e7, 0xe41e, 0x171a, 
+    0x162a, 0xa002, 0x4e2a, 0x1633, 0xa002, 0x4e33, 0xe0c2, 0x0070, 
+    0x1428, 0xe0c2, 0x0071, 0xc001, 0x1459, 0xc000, 0xe0c2, 0x0073, 
+    0xd03a, 0x0000, 0xc84a, 0xc84d, 0xae20, 0xe056, 0xe0c2, 0x0046, 
+    0xa202, 0xe42e, 0xe41e, 0x1408, 0xc001, 0xa200, 0x4e57, 0x4e58, 
+    0xc000, 0x1531, 0xa20a, 0xb636, 0x4e30, 0xe41e, 0x0aee, 0xe41e, 
+    0x1781, 0xe41e, 0x11e7, 0xe41e, 0x143f, 0xc001, 0x1458, 0xa002, 
+    0x4e58, 0x4e57, 0x1559, 0xe046, 0xc000, 0xf6c8, 0xc001, 0xa200, 
+    0x4e58, 0x4e57, 0xc000, 0xe41e, 0x146f, 0xe41e, 0x17a4, 0xe41e, 
+    0x1372, 0xe42e, 0x142c, 0xae0a, 0x152d, 0xa83f, 0xe056, 0xae0a, 
+    0x152e, 0xa83f, 0xe056, 0xce4e, 0xe41e, 0x109d, 0xa200, 0x4e5b, 
+    0x4e3a, 0xa202, 0x4e3b, 0xc001, 0x1457, 0x4e58, 0xc000, 0xe41e, 
+    0x13f5, 0xc001, 0x145a, 0xc000, 0xf078, 0xe41e, 0x0a71, 0xc001, 
+    0xa202, 0x4e5a, 0xc000, 0xe41e, 0x153f, 0xe41e, 0x06aa, 0xe41e, 
+    0x07b1, 0x145b, 0x045a, 0x4e5b, 0x896b, 0x003a, 0x1419, 0xe418, 
+    0x04b4, 0xe41e, 0x06fb, 0xe41e, 0x17c3, 0xe41e, 0x1781, 0xe41e, 
+    0x11e7, 0xc874, 0x0e6b, 0xe008, 0xffff, 0x4e6c, 0x145a, 0xe012, 
+    0x225b, 0x4e5b, 0xe41e, 0x06c1, 0x1515, 0x1462, 0x4e61, 0xe419, 
+    0x0fab, 0x1453, 0xa002, 0x4e53, 0xe41e, 0x14b8, 0xe41e, 0x10da, 
+    0xf03a, 0xe40e, 0x1387, 0xc001, 0x1457, 0x4e58, 0xa200, 0x4e57, 
+    0xc000, 0xe41e, 0x143f, 0xa200, 0xe161, 0x0700, 0xd022, 0x00ff, 
+    0x4e91, 0x4e91, 0x4e91, 0x4e91, 0x4e91, 0x4e91, 0x4e91, 0x4e91, 
+    0x4e91, 0x4e91, 0xe41e, 0x146f, 0xe41e, 0x17a4, 0x145b, 0xe418, 
+    0x0ac3, 0xe41e, 0x0ab9, 0xe41e, 0x17cd, 0xe41e, 0x11e7, 0xc001, 
+    0x1457, 0xa002, 0x4e57, 0x1559, 0xc000, 0xe045, 0xf5d1, 0x1515, 
+    0x1462, 0xf02b, 0x4e2b, 0xa202, 0xe42e, 0xc001, 0x1457, 0x4e58, 
+    0xc000, 0xe41e, 0x15db, 0xc001, 0x1457, 0x1558, 0xc000, 0xe046, 
+    0xf05a, 0xe41e, 0x143f, 0xe41e, 0x146f, 0xe41e, 0x17a4, 0xe42e, 
+    0xc001, 0xe161, 0x07ae, 0xc000, 0xa2fe, 0x4e43, 0xa200, 0x4e5b, 
+    0x4e91, 0xc001, 0x4e50, 0x4e91, 0x4e51, 0x4e91, 0x4e52, 0x4e91, 
+    0x4e5a, 0x4e91, 0xc000, 0x142b, 0x4e61, 0x4e91, 0xc001, 0xa200, 
+    0x4e91, 0x4e91, 0x4e91, 0x4e91, 0x4e91, 0x4e58, 0x1458, 0xae0e, 
+    0xe005, 0x0340, 0xae11, 0xe042, 0xe0c1, 0x0041, 0xe042, 0xce20, 
+    0xd111, 0x07ae, 0xd112, 0x002a, 0xd113, 0x0002, 0xca28, 0xf7f8, 
+    0x1458, 0xa002, 0x4e58, 0xa110, 0xf6a4, 0xc000, 0xe42e, 0xc000, 
+    0xe161, 0x07ae, 0x145b, 0x4e91, 0x1443, 0x4e91, 0xc001, 0x1450, 
+    0x4e91, 0x1451, 0x4e91, 0x1452, 0x4e91, 0x145a, 0x4e91, 0xc000, 
+    0x1461, 0x4e91, 0xc001, 0x8991, 0x0032, 0xc860, 0x4891, 0x4e91, 
+    0xc862, 0x4891, 0x4e91, 0x1458, 0xae0e, 0xe005, 0x0340, 0xae11, 
+    0xe042, 0xe0c1, 0x0041, 0xe042, 0xce20, 0xd111, 0x07ae, 0xd112, 
+    0x002a, 0xd113, 0x0002, 0xca28, 0xf7f8, 0xc000, 0xe42e, 0xc001, 
+    0x1457, 0xae0e, 0xe005, 0x0340, 0xae11, 0xe042, 0xe0c1, 0x0041, 
+    0xe042, 0xce20, 0xd111, 0x07ae, 0xd112, 0x002a, 0xd113, 0x0003, 
+    0xca28, 0xf7f8, 0xe161, 0x07ae, 0xc000, 0x1491, 0x4e5b, 0x1491, 
+    0x4e43, 0xc001, 0x1491, 0x4e50, 0x1491, 0x4e51, 0x1491, 0x4e52, 
+    0x1491, 0x4e5a, 0xc000, 0x1491, 0x4e61, 0xc001, 0x8891, 0x0032, 
+    0x1091, 0x2691, 0xcc60, 0x1091, 0x2691, 0xcc62, 0xc000, 0xe42e, 
+    0xe41e, 0x14a3, 0xe42e, 0xa220, 0xe161, 0x0780, 0xd022, 0x002d, 
+    0xe184, 0x14aa, 0x4e91, 0xc001, 0x4e53, 0x4e54, 0x4e55, 0x4e56, 
+    0xc000, 0xe42e, 0xa220, 0xc001, 0x4e53, 0x4e56, 0xc000, 0xe42e, 
+    0xc001, 0x1457, 0xc000, 0xe005, 0x0780, 0x0554, 0xe093, 0x1581, 
+    0xc001, 0x4f56, 0x4e81, 0x4e81, 0x4e53, 0xc000, 0xe42e, 0xc001, 
+    0x1457, 0xe005, 0x0780, 0xc000, 0x0554, 0xc001, 0xe093, 0x1591, 
+    0x4f54, 0x1591, 0x4f55, 0x1556, 0xe045, 0xe017, 0xae07, 0x4f56, 
+    0x1555, 0xe045, 0xe017, 0xae05, 0x4f55, 0x1554, 0xe045, 0xe017, 
+    0xae03, 0x4f54, 0x1553, 0xe045, 0xe017, 0xae01, 0x4f53, 0x1456, 
+    0x2655, 0x2654, 0x2653, 0x4e5b, 0xc000, 0x1454, 0xa002, 0x0c50, 
+    0xc001, 0xf2aa, 0xe005, 0x05d0, 0xc000, 0x0554, 0xa003, 0xc001, 
+    0xe093, 0x1491, 0xe005, 0x0780, 0xc000, 0x0554, 0xc001, 0xe093, 
+    0x1591, 0xe045, 0xe017, 0xae07, 0x4f56, 0x1591, 0xe045, 0xe017, 
+    0xae03, 0x4f54, 0x1591, 0xe045, 0xe017, 0xae05, 0x4f55, 0x1557, 
+    0xe045, 0xe017, 0xae01, 0x4f53, 0x1456, 0x2655, 0x2654, 0x2653, 
+    0x4e5f, 0xc000, 0xe42e, 0xc000, 0x1455, 0xa002, 0x4e00, 0xe41e, 
+    0x15c6, 0xc001, 0xe005, 0x05d0, 0xe093, 0x1491, 0x4e60, 0xc000, 
+    0x1555, 0x4f00, 0xe41e, 0x15c6, 0xc001, 0xe005, 0x0780, 0xe093, 
+    0x1491, 0x0c60, 0xe016, 0xae02, 0x4e54, 0x1491, 0x0c60, 0xe016, 
+    0xae04, 0x4e55, 0x1455, 0x2654, 0x4e5f, 0xc000, 0xe42e, 0x1454, 
+    0xe41a, 0x10af, 0x1454, 0xe41a, 0x14b2, 0xe41e, 0x14c7, 0x1464, 
+    0xe09c, 0x1496, 0xce42, 0x1486, 0xce44, 0xca4a, 0xc001, 0x225b, 
+    0xc000, 0xcec4, 0xcf34, 0xca4c, 0x1526, 0xb7f6, 0xca4b, 0xe052, 
+    0x4e69, 0xc001, 0x225b, 0xc000, 0xcec2, 0xe42e, 0xc000, 0x1450, 
+    0x1551, 0x4e02, 0x4f03, 0xc001, 0x145e, 0xc000, 0xe40a, 0x156b, 
+    0xa102, 0xe40a, 0x15a1, 0xc001, 0xe161, 0x00e1, 0xe162, 0x05d0, 
+    0xa200, 0x4e57, 0xc000, 0x4e05, 0x4e01, 0x4e00, 0xc000, 0x1405, 
+    0xa002, 0x4e05, 0x0c81, 0xf106, 0xa200, 0x4e05, 0xc001, 0x1457, 
+    0xa002, 0x4e57, 0x8091, 0x0c59, 0xf724, 0xa200, 0xc001, 0x4e57, 
+    0xe161, 0x00e1, 0xf6ce, 0xc001, 0x1457, 0x4e92, 0xc000, 0x1401, 
+    0xa002, 0x4e01, 0x0c02, 0xf634, 0x4e01, 0xe41e, 0x15c4, 0xc000, 
+    0x1400, 0xa002, 0x4e00, 0x0c03, 0xe162, 0x05d0, 0xf584, 0xc000, 
+    0xe42e, 0xa200, 0x4e00, 0xe162, 0x05d0, 0x8200, 0xc001, 0x8159, 
+    0xe018, 0xaf02, 0xc70f, 0xc001, 0x3c59, 0xaf20, 0xc000, 0x1502, 
+    0xa103, 0xcc45, 0xe184, 0x15ba, 0x4e92, 0xa002, 0xe049, 0xc001, 
+    0x0d59, 0xc000, 0xb616, 0xe41e, 0x15c4, 0x1400, 0xa002, 0x4e00, 
+    0x0c03, 0xf624, 0xc000, 0xe42e, 0xa204, 0xf02e, 0xa206, 0x4e04, 
+    0x1400, 0xae0e, 0xe005, 0x0320, 0xae11, 0xe042, 0xe0c1, 0x0041, 
+    0xe042, 0xce20, 0xd111, 0x05d0, 0xd112, 0x002e, 0x8804, 0x0113, 
+    0xca28, 0xf7f8, 0xe42e, 0x1454, 0xf058, 0x1455, 0x4e00, 0xe41e, 
+    0x15c6, 0xe004, 0x05d0, 0x0454, 0xe092, 0x1491, 0xc001, 0x4e57, 
+    0xc000, 0xe42e, 0xe082, 0x4e4e, 0xc001, 0x1448, 0xf04a, 0x1046, 
+    0x2647, 0xf07e, 0xe0c0, 0x0041, 0xe005, 0x0470, 0xae11, 0xe042, 
+    0xc000, 0xe161, 0x03a4, 0xc001, 0x1769, 0xae15, 0xc000, 0xd022, 
+    0x0007, 0xe184, 0x1605, 0x4891, 0x4e91, 0xe042, 0x144e, 0xe092, 
+    0xe42e, 0xc000, 0xe082, 0x4e4e, 0x100b, 0x2602, 0xe406, 0x16b0, 
+    0xe0c0, 0x005a, 0xae02, 0xe000, 0x0048, 0xe092, 0x9e11, 0x4808, 
+    0x4e09, 0x1003, 0x2604, 0xe0c1, 0x005a, 0xae03, 0xe001, 0x0048, 
+    0xe093, 0x8091, 0x9f01, 0xe41e, 0x16c0, 0x1000, 0x2601, 0xce20, 
+    0xd111, 0x0700, 0xd112, 0x0080, 0xd113, 0x0003, 0xca29, 0xf7f9, 
+    0x104a, 0x264b, 0xc001, 0x1149, 0xc000, 0x274c, 0xae11, 0xe041, 
+    0x1003, 0x2604, 0xe000, 0x0100, 0xe046, 0xf164, 0x104a, 0x264b, 
+    0xc001, 0x1149, 0xc000, 0x274c, 0xae11, 0xe041, 0x1003, 0x2604, 
+    0x000b, 0x0602, 0xe046, 0xf084, 0x4e06, 0x100b, 0x2602, 0x0c06, 
+    0x4e05, 0x1406, 0xf2de, 0x1003, 0x2604, 0xce20, 0xd111, 0x0700, 
+    0x100b, 0x2602, 0xe005, 0x0100, 0xe046, 0xf044, 0xd112, 0x0080, 
+    0xf07e, 0x100b, 0x2602, 0xa006, 0xaf04, 0xae02, 0xce24, 0xd113, 
+    0x0002, 0xca28, 0xf7f8, 0x100b, 0x2602, 0xe005, 0x0100, 0xe046, 
+    0xf084, 0x1003, 0x2604, 0xe000, 0x0100, 0x4803, 0x4e04, 0xf2be, 
+    0x1003, 0x2604, 0x000b, 0x0602, 0x4803, 0x4e04, 0xf24e, 0x1405, 
+    0xf0da, 0x1103, 0x2704, 0xce21, 0xd111, 0x0700, 0x1405, 0xaf02, 
+    0xce24, 0xd113, 0x0002, 0xca28, 0xf7f8, 0x157d, 0xf04b, 0xa203, 
+    0xe0c3, 0x0074, 0x104a, 0x264b, 0x4803, 0x4e04, 0x100b, 0x2602, 
+    0x0c05, 0x4e02, 0x480b, 0x1000, 0x2601, 0x0405, 0x4800, 0x4e01, 
+    0xe40e, 0x160c, 0x100b, 0x2602, 0xe002, 0x0100, 0x4e02, 0x480b, 
+    0x1000, 0x2601, 0xe000, 0x0100, 0x4800, 0x4e01, 0xe40e, 0x160c, 
+    0x1003, 0x2604, 0xa006, 0xaf04, 0xae04, 0xe0c1, 0x005a, 0xae03, 
+    0xe001, 0x0048, 0xe093, 0x8091, 0x9f01, 0x144e, 0xe092, 0xe42e, 
+    0xe0c1, 0x0043, 0xa805, 0xe429, 0x157d, 0xe429, 0xa200, 0x4e4f, 
+    0xe0c0, 0x005a, 0xae02, 0xe000, 0x0048, 0xe092, 0x9e11, 0x4808, 
+    0x4e09, 0x1003, 0x2604, 0x1108, 0x2709, 0xe046, 0xf114, 0x1003, 
+    0x2604, 0x1108, 0x2709, 0xe046, 0xc001, 0x1149, 0xc000, 0x274c, 
+    0xae11, 0xe045, 0xe004, 0x0100, 0xe045, 0xe421, 0xf0ae, 0x1003, 
+    0x2604, 0x1108, 0x2709, 0xe045, 0xe004, 0x0100, 0xe045, 0xe421, 
+    0x144f, 0xf578, 0xe0c0, 0x005c, 0xe008, 0x8000, 0xf52a, 0xe0c0, 
+    0x005d, 0xe00a, 0x8000, 0xe0c2, 0x005d, 0xa202, 0xce00, 0x4e4f, 
+    0xf48e, 0x100b, 0x2602, 0xe161, 0x04e4, 0x4891, 0x4e91, 0x1407, 
+    0xae04, 0xe005, 0x0012, 0xae11, 0xe042, 0xe0c1, 0x0042, 0xe042, 
+    0xce20, 0xd111, 0x04e4, 0xd112, 0x0020, 0xd113, 0x0002, 0xca28, 
+    0xf7f8, 0xe42e, 0xe082, 0x4e4e, 0xa200, 0x4e07, 0xe0c0, 0x005a, 
+    0xae02, 0xe000, 0x0048, 0xe092, 0xe162, 0x03a4, 0xd022, 0x0007, 
+    0xe184, 0x1755, 0x9e11, 0x4808, 0x4e09, 0x9e09, 0x4803, 0x4e04, 
+    0xc001, 0x1448, 0xf04a, 0x1046, 0x2647, 0xf07e, 0xe0c0, 0x0041, 
+    0xe005, 0x0470, 0xae11, 0xe042, 0xc000, 0xc001, 0x8269, 0xc000, 
+    0x8107, 0xe019, 0xae15, 0xe042, 0x4800, 0x4e01, 0x1192, 0x2792, 
+    0xe045, 0xa007, 0xaf05, 0xae05, 0x4f02, 0x490b, 0x141a, 0xe418, 
+    0x1701, 0xe41e, 0x1609, 0xa202, 0x0407, 0x4e07, 0x144e, 0xe092, 
+    0xe42e, 0xe082, 0x4e4e, 0xd111, 0x0700, 0xc001, 0x1457, 0xc000, 
+    0xae02, 0xe005, 0x03a4, 0xe042, 0xe092, 0x1091, 0x2689, 0xce20, 
+    0x1440, 0xf15a, 0xa006, 0xaf04, 0xae02, 0xce24, 0xa204, 0xe0c1, 
+    0x0043, 0xa803, 0xb6d6, 0xce26, 0xca28, 0xf7f8, 0x1091, 0x2689, 
+    0x1540, 0xe042, 0x4891, 0x4e89, 0xa200, 0x4e40, 0x144e, 0xe092, 
+    0xe42e, 0x1440, 0xa806, 0xc001, 0x4e52, 0xc000, 0x1540, 0xe045, 
+    0x4f40, 0xe004, 0x0700, 0x1540, 0xaf03, 0xe042, 0xe092, 0xc001, 
+    0xe004, 0x0004, 0x1552, 0xe046, 0xae06, 0x4e50, 0xe005, 0xffff, 
+    0xae21, 0xe00b, 0xffff, 0x3550, 0x1491, 0xae20, 0x2691, 0xe052, 
+    0x4850, 0x4e51, 0xc000, 0xe42e, 0xc001, 0xa208, 0x1552, 0xe046, 
+    0xae06, 0x4e5c, 0xe005, 0xffff, 0xae21, 0xe00b, 0xffff, 0x355c, 
+    0xe004, 0x0700, 0xe092, 0x1050, 0x2651, 0xe052, 0x4891, 0x4e91, 
+    0x1452, 0xc000, 0x4e40, 0xe42e, 0xc001, 0xa200, 0x4e50, 0x4e51, 
+    0x4e52, 0xc000, 0xe42e, 0xc866, 0xa100, 0xae04, 0x4e45, 0xe42a, 
+    0xe41e, 0x0b32, 0xa200, 0xcc66, 0xe42e, 0xc866, 0xa100, 0xae04, 
+    0x4e45, 0xc864, 0xaf06, 0x0445, 0x4e45, 0xe42a, 0xa2fe, 0xbabe, 
+    0xc86e, 0xa180, 0xcc74, 0xe41e, 0x0b32, 0xa200, 0xcc66, 0xe42e, 
+    0xe0c0, 0x0040, 0xe0c1, 0x005b, 0xae1d, 0xe042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0800, 0xd113, 0x000b, 0xca28, 0xf7f8, 0xe42e, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0x0000, 0x0003, 0x0002, 0x001d, 0x0003, 0x001e, 0x0007, 0x0011, 
+    0x0004, 0x001f, 0x0008, 0x0012, 0x0011, 0x0025, 0x000d, 0x0008, 
+    0x0005, 0x0020, 0x0012, 0x0026, 0x0009, 0x0013, 0x000e, 0x0009, 
+    0x000a, 0x0014, 0x000f, 0x000a, 0x0010, 0x000b, 0x000b, 0x0002, 
+    0x0001, 0x0010, 0x0020, 0x0021, 0x0021, 0x0022, 0x0024, 0x0015, 
+    0x0022, 0x0023, 0x0025, 0x0016, 0x002c, 0x0027, 0x0028, 0x0004, 
+    0x0023, 0x0024, 0x002d, 0x0028, 0x0026, 0x0017, 0x0029, 0x0005, 
+    0x0027, 0x0018, 0x002a, 0x0006, 0x002b, 0x0007, 0x0013, 0x0001, 
+    0x0006, 0x0029, 0x0018, 0x002a, 0x0019, 0x002b, 0x0014, 0x0019, 
+    0x001a, 0x002c, 0x0015, 0x001a, 0x002e, 0x002e, 0x001c, 0x000c, 
+    0x001b, 0x002d, 0x002f, 0x002f, 0x0016, 0x001b, 0x001d, 0x000d, 
+    0x0017, 0x001c, 0x001e, 0x000e, 0x001f, 0x000f, 0x000c, 0x0000, 
+    0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 
+    0x0008, 0x0009, 0x000a, 0x000b, 0x000c, 0x000d, 0x000e, 0x000f, 
+    0x0010, 0x0011, 0x0012, 0x0013, 0x0014, 0x0015, 0x0016, 0x0017, 
+    0x0018, 0x0019, 0x001a, 0x001b, 0x001c, 0x001d, 0x001d, 0x001e, 
+    0x001f, 0x0020, 0x0020, 0x0021, 0x0022, 0x0022, 0x0023, 0x0023, 
+    0x0024, 0x0024, 0x0025, 0x0025, 0x0025, 0x0026, 0x0026, 0x0026, 
+    0x0027, 0x0027, 0x0027, 0x0027, 0x0020, 0x0008, 0x0008, 0x0008, 
+    0x0030, 0x0008, 0x0010, 0x0008, 0x0030, 0x0008, 0x0010, 0x0008, 
+    0x0040, 0x0008, 0x0018, 0x0008, 0x0050, 0x0010, 0x0018, 0x0010, 
+    0x0060, 0x0018, 0x0020, 0x0018, 0x0080, 0x0018, 0x0040, 0x0018, 
+    0x00a0, 0x0020, 0x0060, 0x0020, 0x00c0, 0x0030, 0x0080, 0x0030, 
+    0x0100, 0x0040, 0x00c0, 0x0040, 0x0140, 0x0060, 0x0100, 0x0060, 
+    0x0180, 0x0070, 0x0140, 0x0070, 0x01c0, 0x0080, 0x0180, 0x0080, 
+    0x0200, 0x00a0, 0x01c0, 0x00a0, 0x0300, 0x0180, 0x0200, 0x0180, 
+    0x0400, 0x0200, 0x0240, 0x0200, 0x0080, 0x00a0, 0x00c0, 0x0100, 
+    0x0180, 0x0200, 0x0300, 0x0400, 0x0500, 0x0600, 0x0800, 0x0a00, 
+    0x0c00, 0x0023, 0x0022, 0x0021, 0x0020, 0x001f, 0x001f, 0x001e, 
+    0x001e, 0x001d, 0x001d, 0x001c, 0x001c, 0x001b, 0x001a, 0x0019, 
+    0x0018, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0715, 0x4236, 0x0127, 0x5836, 0x0217, 0x5346, 0x0712, 0x3548, 
+    0x0215, 0x4736, 0x0574, 0x1236, 0x0127, 0x6584, 0x0753, 0x1428, 
+    0x7012, 0x3856, 0x1087, 0x6452, 0x1680, 0x2734, 0x1620, 0x8347, 
+    0x1687, 0x3205, 0x1602, 0x4587, 0x1054, 0x7683, 0x1680, 0x2475, 
+    0x1078, 0x3654, 0x1862, 0x0734, 0x0157, 0x4236, 0x2106, 0x8753, 
+    0x2107, 0x3658, 0x1270, 0x3856, 0x2104, 0x5673, 0x5014, 0x7623, 
+    0x1260, 0x4375, 0x0712, 0x5348, 0x1238, 0x7065, 0x0712, 0x3568, 
+    0x1230, 0x8674, 0x1203, 0x7864, 0x3172, 0x0586, 0x3127, 0x0564, 
+    0x0713, 0x5624, 0x1236, 0x5087, 0x7301, 0x2586, 0x3182, 0x7065, 
+    0x0154, 0x7638, 0x1260, 0x4853, 0x1204, 0x6538, 0x3102, 0x7645, 
+    0x4156, 0x0378, 0x5401, 0x7638, 0x6415, 0x0238, 0x1075, 0x6342, 
+    0x1326, 0x4087, 0x0517, 0x4632, 0x1205, 0x6378, 0x2057, 0x1463, 
+    0x0152, 0x7458, 0x5401, 0x6732, 0x5047, 0x1263, 0x1026, 0x5473, 
+    0x0751, 0x4236, 0x1026, 0x5783, 0x0186, 0x4351, 0x1680, 0x2347, 
+    0x1620, 0x8435, 0x1683, 0x7045, 0x1645, 0x0287, 0x1504, 0x7632, 
+    0x1642, 0x8307, 0x1076, 0x3845, 0x1683, 0x0247, 0x0721, 0x3584, 
+    0x1270, 0x3865, 0x2071, 0x3856, 0x7320, 0x1854, 0x7320, 0x1854, 
+    0x0751, 0x2348, 0x1072, 0x6358, 0x7032, 0x1854, 0x1730, 0x8256, 
+    0x1087, 0x2653, 0x1860, 0x2537, 0x1820, 0x3674, 0x1837, 0x2065, 
+    0x1820, 0x5367, 0x1807, 0x5264, 0x1863, 0x2705, 0x1837, 0x0526, 
+    0x1832, 0x6705, 0x0d0b, 0x0907, 0x0501, 0x0d0b, 0x0907, 0x0501, 
+    0x1a16, 0x120e, 0x0a02, 0x1a16, 0x120e, 0x0a02, 0x2721, 0x1b15, 
+    0x0f03, 0x342c, 0x241c, 0x1404, 0x4137, 0x2d23, 0x1905, 0x4e42, 
+    0x362a, 0x1e06, 0x5b4d, 0x3f31, 0x2307, 0x6858, 0x4838, 0x2808, 
+    0x7563, 0x513f, 0x2d09, 0x8f79, 0x634d, 0x370b, 0xa98f, 0x755b, 
+    0x410d, 0xc3a5, 0x8769, 0x4b0f, 0xc3a5, 0x8769, 0x4b0f, 0xc3a5, 
+    0x8769, 0x4b0f, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe40e, 0x0022, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe40e, 0x0152, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 0xe470, 0xe190, 
+    0xf202, 0x1307, 0xc001, 0xe168, 0xd027, 0x0001, 0xa202, 0xe0c2, 
+    0x0008, 0xe0c2, 0x0058, 0xa200, 0xe0c2, 0x005a, 0xa2fe, 0x4e71, 
+    0x4e72, 0xe0c0, 0x005c, 0xa802, 0xe0c2, 0x005d, 0xce00, 0xf11e, 
+    0xe0c0, 0x005c, 0xe0c1, 0x0059, 0x4f70, 0xa203, 0x3570, 0xe052, 
+    0xf08a, 0xe0c1, 0x005d, 0xe055, 0xe0c3, 0x005d, 0xa202, 0xce00, 
+    0xe41e, 0x0084, 0xe0c0, 0x005b, 0x0c72, 0xe418, 0x00b2, 0xe0c0, 
+    0x0059, 0xa114, 0xf18a, 0xa102, 0xf1da, 0xe0c0, 0x005a, 0x0c71, 
+    0xe418, 0x00ab, 0xe0c0, 0x0059, 0xae02, 0xe000, 0x0152, 0xc000, 
+    0xe67c, 0xc001, 0xe0c0, 0x005a, 0x4e71, 0xe0c0, 0x005b, 0x4e72, 
+    0xe40e, 0x0038, 0x1471, 0xe412, 0x010d, 0xa202, 0x4e73, 0xe40e, 
+    0x0061, 0xe41e, 0x00c6, 0xd101, 0x0001, 0xc71e, 0xa002, 0xa200, 
+    0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0xc71e, 0xa002, 0xd071, 
+    0x002a, 0xe181, 0xe40e, 0x0061, 0xa200, 0xe0c2, 0x0059, 0xe0c2, 
+    0x0058, 0xe0c2, 0x0008, 0xe0c0, 0x0059, 0xf7ea, 0xa11e, 0xf168, 
+    0xa202, 0xe0c2, 0x0008, 0xe0c2, 0x0058, 0xe004, 0xf202, 0xae20, 
+    0xe005, 0x1307, 0xe056, 0xe0c2, 0x0070, 0xa200, 0xe0c2, 0x0059, 
+    0xe0c2, 0x0058, 0xe0c2, 0x0008, 0xf67e, 0xa202, 0xe0c2, 0x0008, 
+    0xe0c2, 0x0058, 0xe42e, 0x1471, 0xe424, 0xe41e, 0x010d, 0xe41e, 
+    0x00c6, 0xe42e, 0xe0c0, 0x0040, 0xe0c1, 0x005b, 0xae1d, 0xe042, 
+    0xe000, 0x1000, 0xce20, 0xd111, 0x0800, 0xd112, 0x1000, 0xd113, 
+    0x000b, 0xca28, 0xf7f8, 0xe41e, 0x17e0, 0xe42e, 0xe0c0, 0x0041, 
+    0xe005, 0x0000, 0xae11, 0xe042, 0xe0c1, 0x005a, 0xae19, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0800, 0xd113, 0x0003, 0xca28, 
+    0xf7f8, 0xe0c0, 0x0041, 0xe005, 0x0080, 0xae11, 0xe042, 0xe0c1, 
+    0x005a, 0xae15, 0xe042, 0xce20, 0xd111, 0x0000, 0xd112, 0x0200, 
+    0xd113, 0x0013, 0xca28, 0xf7f8, 0xe161, 0x00f4, 0x8891, 0x0032, 
+    0x8891, 0x0033, 0x8891, 0x0034, 0x8891, 0x0035, 0x8891, 0x0036, 
+    0x8891, 0x0037, 0x1091, 0x2691, 0xcc60, 0x1091, 0x2691, 0xcc62, 
+    0x1091, 0x2691, 0xcc74, 0x1091, 0x2691, 0xcf68, 0x1091, 0x2691, 
+    0xcf64, 0x1091, 0x2691, 0xcf60, 0xe42e, 0xe161, 0x00f4, 0x8991, 
+    0x0032, 0x8991, 0x0033, 0x8991, 0x0034, 0x8991, 0x0035, 0x8991, 
+    0x0036, 0x8991, 0x0037, 0xc860, 0x4891, 0x4e91, 0xc862, 0x4891, 
+    0x4e91, 0xc874, 0x4891, 0x4e91, 0xcb68, 0x4891, 0x4e91, 0xcb64, 
+    0x4891, 0x4e91, 0xcb60, 0x4891, 0x4e91, 0xe0c0, 0x0041, 0xe005, 
+    0x0000, 0xae11, 0xe042, 0x1571, 0xae19, 0xe042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0800, 0xd113, 0x0002, 0xca28, 0xf7f8, 0xe0c0, 
+    0x0041, 0xe005, 0x0080, 0xae11, 0xe042, 0x1571, 0xae15, 0xe042, 
+    0xce20, 0xd111, 0x0000, 0xd112, 0x0200, 0xd113, 0x0012, 0xca28, 
+    0xf7f8, 0xe42e, 0xe40e, 0x046a, 0xe40e, 0x0172, 0xe40e, 0x0176, 
+    0xe40e, 0x017a, 0xe40e, 0x017e, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 0xe40e, 0x0061, 
+    0xe40e, 0x0061, 0xe41e, 0x0182, 0xe40e, 0x0061, 0xe41e, 0x01e7, 
+    0xe40e, 0x0061, 0xe41e, 0x02ae, 0xe40e, 0x0061, 0xe41e, 0x029c, 
+    0xe40e, 0x0061, 0xa200, 0xc001, 0x4e06, 0xc000, 0xc001, 0xe0c0, 
+    0x0063, 0x4810, 0x4e11, 0xe0c0, 0x0064, 0x4812, 0x4e13, 0xe0c0, 
+    0x0065, 0x4814, 0x4e15, 0xe0c0, 0x0047, 0x4e16, 0xc000, 0xe41e, 
+    0x01ed, 0xe41e, 0x03ff, 0xa200, 0xc001, 0x4e1a, 0xc000, 0xe0c0, 
+    0x0062, 0xaf04, 0xc001, 0x4619, 0xaf02, 0x461e, 0xc000, 0xe41e, 
+    0x059c, 0xe41e, 0x043b, 0xc001, 0x1419, 0xc000, 0xf08a, 0xe0c0, 
+    0x0069, 0xa806, 0xae06, 0xf03a, 0xe092, 0x9201, 0xe41e, 0x01f8, 
+    0xe41e, 0x0266, 0xe0c0, 0x0062, 0xaf0c, 0x4666, 0x1004, 0x2605, 
+    0xe008, 0x03ff, 0xae14, 0x1102, 0x2703, 0xe009, 0x03ff, 0xe056, 
+    0xe0c2, 0x0071, 0x100a, 0x260b, 0xe008, 0xffff, 0xe0c2, 0x0072, 
+    0x1453, 0xaf0a, 0xa80e, 0xe0c2, 0x0073, 0x1453, 0xaf06, 0xa806, 
+    0xe0c2, 0x0074, 0xc001, 0x4e0d, 0xc000, 0xa202, 0xe0c2, 0x0070, 
+    0xc001, 0x1419, 0xc000, 0xf038, 0xe41e, 0x0568, 0xe42e, 0xa202, 
+    0xe42e, 0xa200, 0xe0c2, 0x0070, 0xe42e, 0xa200, 0xc401, 0xe188, 
+    0x07ff, 0x4e91, 0xc001, 0x4e1f, 0xc000, 0xd03a, 0x0000, 0xe42e, 
+    0xe41e, 0x03fa, 0xe41e, 0x025e, 0xf068, 0xe004, 0x00ff, 0xae20, 
+    0xe00a, 0xffff, 0x4800, 0x4e01, 0xba4e, 0xc001, 0x4e18, 0xc000, 
+    0xe002, 0x0085, 0xf08a, 0xc001, 0x1418, 0xc000, 0xe002, 0x00c5, 
+    0xe408, 0x0251, 0xe41e, 0x0253, 0xa108, 0xe408, 0x0251, 0xba5e, 
+    0x4e0c, 0xba5e, 0x4e0d, 0xe41e, 0x0253, 0x4802, 0x4e03, 0xe41e, 
+    0x0253, 0x4804, 0x4e05, 0xc001, 0x1418, 0xc000, 0xe002, 0x0085, 
+    0xf26a, 0xe41e, 0x0253, 0xc001, 0x4e17, 0xc000, 0xa118, 0xf138, 
+    0xba4e, 0xe092, 0xe41e, 0x025e, 0xe083, 0xae31, 0xe056, 0x4806, 
+    0x4e07, 0xe41e, 0x0253, 0x4808, 0x4e09, 0xe41e, 0x0253, 0x480a, 
+    0x4e0b, 0xf0de, 0xc001, 0x1417, 0xf0aa, 0xa110, 0xf030, 0x5617, 
+    0xf06e, 0xba4e, 0x1417, 0xa110, 0x4e17, 0xf75e, 0xc000, 0xa202, 
+    0xe42e, 0xa200, 0xe42e, 0xba4e, 0xba4f, 0xae11, 0xe056, 0xba4f, 
+    0xae21, 0xe056, 0xba4f, 0xae31, 0xe056, 0xe42e, 0xba4e, 0xba4f, 
+    0xae11, 0xe056, 0xba4f, 0xae21, 0xe056, 0xe42e, 0xa200, 0x140c, 
+    0xaf02, 0xa802, 0xae04, 0xa904, 0x150d, 0xaf09, 0xa80f, 0xb432, 
+    0x4e53, 0xa204, 0x8a53, 0x0000, 0x1553, 0xa80d, 0xb45a, 0xb452, 
+    0x1553, 0xa10d, 0xb436, 0xae0a, 0x2653, 0x4e53, 0x140d, 0xaf08, 
+    0xa80e, 0xb630, 0xae06, 0x2653, 0x4e53, 0x8a53, 0x0000, 0xe004, 
+    0x1235, 0xae20, 0xe00a, 0x4067, 0xf06c, 0xe004, 0x1243, 0xae20, 
+    0xe00a, 0x5067, 0x4854, 0x4e55, 0x1463, 0x1553, 0xaf07, 0xa807, 
+    0xe046, 0x4e63, 0x4e3a, 0xe42e, 0xe0c0, 0x0042, 0xce20, 0xd111, 
+    0x0140, 0xd112, 0x0070, 0xd113, 0x0003, 0xca28, 0xf7f8, 0xe0c0, 
+    0x0060, 0x4e64, 0xe0c0, 0x0061, 0x4e50, 0xe42e, 0xa200, 0xcc44, 
+    0xa2fe, 0xe0c2, 0x0077, 0xc001, 0x1473, 0xf04a, 0xa200, 0x4e1f, 
+    0x4e73, 0xc000, 0xe0c0, 0x0045, 0xa804, 0xf17a, 0xc001, 0x140d, 
+    0xc000, 0xf0ea, 0xa102, 0xc001, 0x4e0d, 0xc000, 0xa003, 0x493b, 
+    0x4f62, 0x1456, 0xaf18, 0xe0c2, 0x0071, 0xe40e, 0x0367, 0xa2fe, 
+    0xe0c2, 0x0071, 0xe40e, 0x0367, 0xc001, 0x1419, 0xc000, 0xf398, 
+    0xe0c0, 0x0045, 0xf36a, 0xe41e, 0x0b95, 0xf1aa, 0x1453, 0xaf06, 
+    0xa806, 0x113b, 0x2762, 0xa003, 0xe045, 0x1000, 0x2601, 0xe046, 
+    0xf0a4, 0xa003, 0x493b, 0x4f62, 0x1456, 0xaf18, 0xe0c2, 0x0071, 
+    0xe40e, 0x0367, 0xa2fe, 0xe0c2, 0x0071, 0xe40e, 0x0367, 0xe41e, 
+    0x057b, 0xf17a, 0xc001, 0x140d, 0xc000, 0xf0ea, 0xa102, 0xc001, 
+    0x4e0d, 0xc000, 0xa003, 0x493b, 0x4f62, 0x1456, 0xaf18, 0xe0c2, 
+    0x0071, 0xe40e, 0x0367, 0xa2fe, 0xe0c2, 0x0071, 0xe40e, 0x0367, 
+    0xa200, 0xcc4a, 0xcc4c, 0xc001, 0x1419, 0xc000, 0xf10a, 0x103b, 
+    0x2662, 0xf03a, 0xe41e, 0x040f, 0xe0c0, 0x006a, 0xe0c1, 0x006c, 
+    0xa807, 0xe042, 0xc001, 0x481b, 0x4e1c, 0xc000, 0xd180, 0x0002, 
+    0xd147, 0x0004, 0xd03b, 0x0002, 0xd008, 0x0000, 0xe16a, 0xa200, 
+    0xcf06, 0xe0c2, 0x0286, 0xc001, 0x1419, 0xc000, 0xf048, 0xe0c0, 
+    0x0045, 0xf038, 0xe41e, 0x037e, 0xe41e, 0x039b, 0xc001, 0x1419, 
+    0xf01a, 0xc000, 0x103b, 0x2662, 0xa002, 0x483b, 0x4e62, 0x1463, 
+    0xa114, 0xf03a, 0xa016, 0x4e63, 0xc001, 0x1419, 0xc000, 0xf07a, 
+    0x1663, 0xa102, 0xf042, 0xa2fa, 0xe0c2, 0x0071, 0x143a, 0xa002, 
+    0x4e3a, 0xe0c2, 0x0070, 0x1414, 0xe0c2, 0x0073, 0xa200, 0xe0c2, 
+    0x0072, 0xc84a, 0xc84d, 0xae20, 0xe056, 0xe0c2, 0x0046, 0xc001, 
+    0x1419, 0xc000, 0xf05a, 0xa202, 0xe0c2, 0x0076, 0xe42e, 0x1466, 
+    0x1563, 0xb622, 0xe40a, 0x02ae, 0xc001, 0x1419, 0xc000, 0xf038, 
+    0xe41e, 0x0568, 0xa202, 0xe0c2, 0x0076, 0xe42e, 0xe005, 0x00ff, 
+    0xae21, 0xe00b, 0xffff, 0x1000, 0x2601, 0xe045, 0xe42b, 0x113b, 
+    0x2762, 0xe046, 0xe420, 0xe41e, 0x03fa, 0xba3e, 0xe008, 0x00ff, 
+    0xe002, 0x00c5, 0xf03a, 0xba4e, 0xf79e, 0xe41e, 0x01f8, 0xa200, 
+    0x493b, 0x4f62, 0xe42e, 0xe41e, 0x0b95, 0xe408, 0x03f4, 0xe41e, 
+    0x0b74, 0xe41e, 0x0ba6, 0x1414, 0xf188, 0xc001, 0x141f, 0xc000, 
+    0xf148, 0xa202, 0xc001, 0x4e1f, 0xc000, 0xd101, 0x0001, 0xc71e, 
+    0xa002, 0xa200, 0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0xc71e, 
+    0xa002, 0xa200, 0xe0c2, 0x0286, 0xc001, 0x1419, 0xc000, 0xf038, 
+    0xe41e, 0x0568, 0xe41e, 0x0b82, 0x1010, 0x2611, 0xa102, 0xf2d6, 
+    0xe41e, 0x0bb9, 0xc001, 0x1419, 0xc000, 0xf01a, 0xe41e, 0x0c1f, 
+    0xe41e, 0x0c4d, 0xe41e, 0x05b1, 0x1514, 0xa101, 0xe41b, 0x1321, 
+    0x1514, 0xa107, 0xe41b, 0x1321, 0x1514, 0xa103, 0xe41b, 0x134c, 
+    0x1514, 0xa105, 0xe41b, 0x134c, 0xe41e, 0x087d, 0xe41e, 0x08d4, 
+    0xe41e, 0x0920, 0xe41e, 0x094d, 0x1417, 0xaf16, 0xa806, 0xe418, 
+    0x074f, 0xe41e, 0x0c4c, 0xf01e, 0xe41e, 0x06be, 0xe41e, 0x0b85, 
+    0xa202, 0xe42e, 0xc864, 0xa80e, 0x4e68, 0x5668, 0xe42e, 0xe0c0, 
+    0x0040, 0xe005, 0x9800, 0xae03, 0xe042, 0xce20, 0xd111, 0x0540, 
+    0xd112, 0x0100, 0xd113, 0x0003, 0xca28, 0xf7f8, 0xe42e, 0xa200, 
+    0xc001, 0x4e1a, 0x480f, 0x4e03, 0x4e0e, 0x141e, 0xf05a, 0xe0c0, 
+    0x006b, 0x4800, 0x4e01, 0x1000, 0x2601, 0xe0c1, 0x006a, 0xe042, 
+    0xe0c1, 0x005a, 0xae03, 0xe001, 0x0049, 0xe093, 0x9f01, 0xe004, 
+    0xffff, 0x4e02, 0xc000, 0xe41e, 0x045a, 0xe41e, 0x04b1, 0xe12c, 
+    0xe41e, 0x046d, 0xe128, 0xe0c0, 0x006c, 0xa806, 0xae06, 0xf03a, 
+    0xe092, 0x9201, 0xe42e, 0xc001, 0xa200, 0x4e09, 0x4e0a, 0x4e0b, 
+    0x4e0c, 0x4e0d, 0x480f, 0x4e03, 0xe0c0, 0x0060, 0x4800, 0x4e01, 
+    0xe0c0, 0x0061, 0xae04, 0x480e, 0x4e02, 0xc000, 0xe41e, 0x045a, 
+    0xe41e, 0x04b1, 0xe12c, 0xd071, 0x002a, 0xe181, 0xe41e, 0x046d, 
+    0xe128, 0xe42e, 0xe12c, 0xd030, 0x0000, 0xd032, 0x0000, 0xd033, 
+    0x0000, 0xd034, 0x0000, 0xd035, 0x007f, 0xd036, 0x0000, 0xd037, 
+    0x0000, 0xe42e, 0xe41e, 0x046d, 0xe470, 0xd111, 0x0000, 0xc001, 
+    0xe082, 0x4e04, 0xe0c0, 0x005a, 0xae02, 0xe000, 0x0048, 0xe092, 
+    0xe41e, 0x04c1, 0x1000, 0x2601, 0x130f, 0x2703, 0xae11, 0xe042, 
+    0xce20, 0xd112, 0x0100, 0xa226, 0xe0c1, 0x0043, 0xa803, 0xf029, 
+    0xa22e, 0xce26, 0xca28, 0xf7f8, 0x1419, 0xf0d8, 0xe41e, 0x0503, 
+    0x1506, 0xa103, 0xf1b1, 0xe004, 0x1000, 0xf035, 0x1407, 0xae06, 
+    0xe41e, 0x0575, 0x120f, 0x2603, 0xe000, 0x0002, 0x480f, 0x4e03, 
+    0x130e, 0x2702, 0xe046, 0xf034, 0x480f, 0x4e03, 0x1000, 0x2601, 
+    0x130f, 0x2703, 0xae11, 0xe042, 0x9f01, 0x1404, 0xe092, 0xc000, 
+    0xe42e, 0xc001, 0x1000, 0x2601, 0x130f, 0x2703, 0xae11, 0xe042, 
+    0xc000, 0xe0c1, 0x005a, 0xae03, 0xe001, 0x0048, 0xe093, 0x9f01, 
+    0xe42e, 0xe0c1, 0x0043, 0xa805, 0xe429, 0xa200, 0x4e05, 0x1419, 
+    0xf038, 0x1406, 0xf258, 0x1000, 0x2601, 0x130f, 0x2703, 0xae11, 
+    0xe042, 0x8091, 0x9e89, 0xe045, 0xf053, 0x120e, 0x2602, 0xae10, 
+    0xe041, 0xe003, 0x0200, 0xe423, 0x1419, 0xf06a, 0x141a, 0xf048, 
+    0xa202, 0x4e1a, 0xe42e, 0x1419, 0xf0e8, 0xe0c0, 0x0059, 0xe002, 
+    0x0003, 0xf098, 0xe0c0, 0x0045, 0xa802, 0xf05a, 0x1406, 0xa002, 
+    0x4e06, 0xe42e, 0x1405, 0xf588, 0xe0c0, 0x005c, 0xe008, 0x4000, 
+    0xf53a, 0xe0c0, 0x005d, 0xe00a, 0x4000, 0xe0c2, 0x005d, 0xa202, 
+    0xce00, 0x4e05, 0xf49e, 0x1406, 0xe42a, 0xe085, 0x4f08, 0xa102, 
+    0xf238, 0x8091, 0x9e09, 0x1100, 0x2701, 0xe046, 0xe008, 0x01ff, 
+    0x4e07, 0xaf04, 0xe000, 0x0000, 0xe094, 0x1407, 0xe005, 0x0200, 
+    0xe045, 0xa121, 0xf0e3, 0xe41e, 0x0539, 0xe005, 0x0200, 0x0d07, 
+    0xe045, 0xe084, 0xcc7a, 0xa200, 0xf12b, 0xcc7c, 0xa109, 0xf7de, 
+    0xe41e, 0x0539, 0xf03e, 0xe162, 0x0000, 0xe084, 0xcc7a, 0xa200, 
+    0xe005, 0x0000, 0xcc7c, 0xcc7d, 0xcc7c, 0xcc7c, 0x1408, 0xe094, 
+    0xe42e, 0xa806, 0xe42a, 0xa102, 0xf12a, 0xa102, 0xf1da, 0xe084, 
+    0xcc78, 0xcc7a, 0xcc7e, 0xc87c, 0xe005, 0xffff, 0xae21, 0xe00b, 
+    0xff00, 0xe052, 0xcc7c, 0x8092, 0xa202, 0xe42e, 0xe084, 0xcc78, 
+    0xcc7a, 0xcc7e, 0xc87c, 0xe005, 0xff00, 0xae21, 0xe052, 0xcc7c, 
+    0x8092, 0xa206, 0xe42e, 0xe084, 0xcc78, 0xcc7a, 0xcc7e, 0xc87c, 
+    0xe005, 0xffff, 0xae21, 0xe052, 0xcc7c, 0x8092, 0xa204, 0xe42e, 
+    0xc874, 0xc001, 0x1109, 0x270a, 0xe041, 0x4909, 0x4f0a, 0xa201, 
+    0xcc75, 0xe41e, 0x0589, 0xc000, 0xe42e, 0x110b, 0x270c, 0xe041, 
+    0x490b, 0x4f0c, 0xe42e, 0xc001, 0x1406, 0xc000, 0xe42a, 0xc001, 
+    0x1009, 0x260a, 0x110b, 0x270c, 0xa002, 0xe046, 0xb60c, 0xc000, 
+    0xe42e, 0xe004, 0x4000, 0xae20, 0x1109, 0x270a, 0xe045, 0xe425, 
+    0x110b, 0x270c, 0xe045, 0xe425, 0x490b, 0x4f0c, 0x1109, 0x270a, 
+    0xe045, 0x4909, 0x4f0a, 0xe42e, 0xe004, 0x0080, 0xe0c2, 0x0094, 
+    0xc001, 0x1416, 0xf04a, 0x1012, 0x2613, 0xf08e, 0xc000, 0xe0c0, 
+    0x0041, 0xe005, 0x0320, 0xae11, 0xe042, 0xc000, 0xe0c2, 0x0089, 
+    0xe42e, 0xe41e, 0x059c, 0xa200, 0xe0c2, 0x00a1, 0xe0c0, 0x0044, 
+    0x4651, 0x1451, 0xe0c2, 0x0219, 0x1450, 0xe0c2, 0x009b, 0xe0c2, 
+    0x009f, 0xe0c2, 0x018b, 0xe0c2, 0x0209, 0xe0c2, 0x020a, 0xa200, 
+    0xe0c2, 0x0100, 0x1416, 0xae20, 0x2615, 0xae08, 0xe0c2, 0x0084, 
+    0xa200, 0xae02, 0xae18, 0x1517, 0xaf15, 0xa803, 0xe056, 0xae02, 
+    0x1517, 0xaf11, 0xa803, 0xe056, 0xae02, 0x1519, 0xaf15, 0xa803, 
+    0xe056, 0xae0a, 0x1519, 0xaf0b, 0xa83f, 0xe056, 0xae02, 0x2651, 
+    0xae04, 0x1514, 0xa807, 0xe056, 0xae10, 0xa906, 0xe0c2, 0x0080, 
+    0xa200, 0xa201, 0xe0c0, 0x0060, 0xe049, 0xaf09, 0xa803, 0xa81e, 
+    0xb616, 0x4e59, 0x1417, 0xaf14, 0xa802, 0xe055, 0x4f58, 0x140c, 
+    0xaf06, 0xa802, 0x1517, 0xaf11, 0xa803, 0xe056, 0x4e57, 0xa200, 
+    0x150c, 0xaf07, 0xa803, 0xe056, 0xae02, 0x1517, 0xaf11, 0xa803, 
+    0xe056, 0xae08, 0x2659, 0xe0c2, 0x00e7, 0xa200, 0xe0c0, 0x0060, 
+    0xe008, 0x001f, 0xae0c, 0x1557, 0xae03, 0xe056, 0xe0c2, 0x00fa, 
+    0xa200, 0x150e, 0xaf05, 0xa803, 0xe056, 0xae04, 0xa904, 0xae02, 
+    0x2651, 0xae20, 0x2650, 0xe0c2, 0x0282, 0x1415, 0xae20, 0x2616, 
+    0xae08, 0xe0c2, 0x0283, 0x140f, 0xa87e, 0xae10, 0x150f, 0xaf0d, 
+    0xa87f, 0xe056, 0xae1c, 0x150e, 0xaf1b, 0xa803, 0xe056, 0xae02, 
+    0x150f, 0xaf1b, 0xa803, 0xe056, 0xae02, 0x150f, 0xaf19, 0xa803, 
+    0xe056, 0xe0c2, 0x0287, 0x1415, 0xae0c, 0x2616, 0xe0c2, 0x0183, 
+    0xa202, 0xe0c2, 0x018d, 0xa200, 0x150c, 0xaf07, 0xa803, 0xe056, 
+    0xae02, 0x1517, 0xaf11, 0xa803, 0xe056, 0xae02, 0x2657, 0xae06, 
+    0xe0c2, 0x0182, 0x1419, 0xaf0a, 0xa83e, 0xe0c2, 0x019f, 0xa202, 
+    0xae3e, 0xa906, 0xe0c2, 0x00ec, 0xa200, 0xe0c2, 0x0102, 0xa202, 
+    0xe0c2, 0x0102, 0xa204, 0xe0c2, 0x0102, 0xc001, 0x1416, 0xf04a, 
+    0x1014, 0x2615, 0xf08e, 0xc000, 0xe0c0, 0x0041, 0xe005, 0x0338, 
+    0xae11, 0xe042, 0xc000, 0xe0c2, 0x01a8, 0xe41e, 0x06cb, 0x1414, 
+    0xa102, 0xe41a, 0x06fa, 0x1414, 0xa104, 0xe41a, 0x06fa, 0x1458, 
+    0xe418, 0x071b, 0xa200, 0x4e5a, 0xa200, 0x4e5c, 0xa200, 0xe166, 
+    0x0584, 0xc715, 0x4e96, 0xe166, 0x05be, 0x4e96, 0x1414, 0xa102, 
+    0xf19a, 0xe004, 0x0f0f, 0xae20, 0xe00a, 0x0f0f, 0xe0c2, 0x01a0, 
+    0xe0c2, 0x01a1, 0xe0c2, 0x01a2, 0xe0c2, 0x01a3, 0xe004, 0x3333, 
+    0xe0c2, 0x01a4, 0xe0c2, 0x01a5, 0xe0c2, 0x01a6, 0xe0c2, 0x01a7, 
+    0xe42e, 0xe004, 0x059a, 0x4e29, 0x4e2a, 0xe42e, 0x1456, 0xaf18, 
+    0xa81e, 0x1553, 0xaf07, 0xa807, 0xf04b, 0x1456, 0xaf10, 0xa81e, 
+    0xe0c2, 0x0071, 0xe42e, 0x1454, 0xaf18, 0xa81e, 0x1514, 0xa101, 
+    0xf10b, 0x1514, 0xa103, 0xf0db, 0xa201, 0x1517, 0xaf17, 0xa807, 
+    0xb633, 0x2b58, 0x1455, 0xaf18, 0xa81e, 0xf039, 0x1454, 0xa81e, 
+    0xe0c2, 0x0077, 0xe41e, 0x0a2a, 0xe000, 0x0140, 0xe092, 0x1091, 
+    0x2691, 0xe0c2, 0x009c, 0xe0c2, 0x0188, 0x1091, 0x2691, 0xe0c2, 
+    0x009d, 0xe0c2, 0x0189, 0x1091, 0x2691, 0xe0c2, 0x009e, 0xe0c2, 
+    0x018a, 0xe42e, 0xe162, 0x02c0, 0x1454, 0xaf10, 0xa81e, 0xe41e, 
+    0x0a2a, 0xe000, 0x0140, 0xe092, 0xd022, 0x0002, 0xe184, 0x070a, 
+    0x1091, 0x2691, 0x9f12, 0x1454, 0xaf18, 0xa81e, 0xe41e, 0x0a2a, 
+    0xe000, 0x0140, 0xe092, 0xd022, 0x0002, 0xe184, 0x0719, 0x1091, 
+    0x2691, 0x9f12, 0xe42e, 0xe0c0, 0x0060, 0xaf08, 0xa802, 0xf06a, 
+    0xe0c0, 0x0067, 0xe0c2, 0x00ff, 0xf04e, 0x1450, 0xe0c2, 0x00ff, 
+    0x1455, 0xaf18, 0xa81e, 0xa201, 0x1517, 0xaf17, 0xa807, 0xb633, 
+    0x2b58, 0xf0cb, 0x1454, 0xa81e, 0x1514, 0xa105, 0xf07b, 0x1514, 
+    0xa107, 0xf04b, 0x1454, 0xaf08, 0xa81e, 0xe41e, 0x0a2a, 0xe000, 
+    0x0140, 0xe092, 0x1091, 0x2691, 0xe0c2, 0x00fc, 0x1091, 0x2691, 
+    0xe0c2, 0x00fd, 0x1091, 0x2691, 0xe0c2, 0x00fe, 0xe42e, 0x1450, 
+    0xe0c2, 0x0303, 0xe0c2, 0x0307, 0x1004, 0x2605, 0xe008, 0x07ff, 
+    0xae16, 0x1102, 0x2703, 0xe009, 0x07ff, 0xe056, 0xe0c2, 0x0308, 
+    0x8a59, 0x0000, 0xf0dd, 0x1451, 0xae02, 0x1517, 0xaf17, 0xa803, 
+    0xe056, 0xae02, 0x1517, 0xaf19, 0xa803, 0xe056, 0xf07e, 0x1451, 
+    0xae04, 0x1517, 0xaf17, 0xa807, 0xe056, 0xe0c2, 0x0309, 0x1455, 
+    0xaf18, 0xa81e, 0x1514, 0xa105, 0xf09b, 0x1514, 0xa107, 0xf06b, 
+    0x1558, 0xf049, 0x1454, 0xaf18, 0xa81e, 0xe41e, 0x0a2a, 0xe000, 
+    0x0140, 0xe092, 0x1091, 0x2691, 0xe0c2, 0x0300, 0x1091, 0x2691, 
+    0xe0c2, 0x0301, 0x1091, 0x2691, 0xe0c2, 0x0302, 0x1454, 0xaf08, 
+    0xa81e, 0x1514, 0xa101, 0xf06b, 0x1514, 0xa103, 0xf03b, 0x1454, 
+    0xa81e, 0xe41e, 0x0a2a, 0xe000, 0x0140, 0xe092, 0x1091, 0x2691, 
+    0xe0c2, 0x0304, 0x1091, 0x2691, 0xe0c2, 0x0305, 0x1091, 0x2691, 
+    0xe0c2, 0x0306, 0xa202, 0xe0c2, 0x030a, 0xe0c0, 0x030b, 0xf7ea, 
+    0xe42e, 0x1442, 0xe418, 0x0a1d, 0xa202, 0x1549, 0xa17f, 0xb616, 
+    0x4e5b, 0x145b, 0xe418, 0x0968, 0x1440, 0xae20, 0x2641, 0xe0c2, 
+    0x0284, 0x145c, 0xae04, 0x265b, 0xe0c2, 0x0280, 0xa202, 0x1542, 
+    0xb616, 0x4e5d, 0xa103, 0xb616, 0x4e5e, 0xa103, 0xb616, 0x4e5f, 
+    0x4e60, 0xa103, 0xb616, 0x4e61, 0x1457, 0x2260, 0x4e60, 0x1457, 
+    0xe016, 0x225f, 0x4e5f, 0x1457, 0x2658, 0x2261, 0x4e61, 0xe41e, 
+    0x0a07, 0x1460, 0xe418, 0x09dd, 0xe41e, 0x09c5, 0x145a, 0xe0c2, 
+    0x0102, 0xe0c2, 0x0101, 0xe167, 0x058a, 0x1097, 0x2697, 0xe049, 
+    0xe009, 0x003f, 0xe0c3, 0x010a, 0xaf0c, 0xe0c2, 0x010b, 0xe166, 
+    0x0588, 0x1096, 0x2696, 0xe0c2, 0x0082, 0x1097, 0x2697, 0xe0c2, 
+    0x00ed, 0x1458, 0x225f, 0x2661, 0xae02, 0x155c, 0x235d, 0xe056, 
+    0xae02, 0x2660, 0xae02, 0x265b, 0xae04, 0x265f, 0xae04, 0x265e, 
+    0xae02, 0x265d, 0xae02, 0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 
+    0xe42e, 0xe41e, 0x0a23, 0xe166, 0x0586, 0x1096, 0x2696, 0x4896, 
+    0x4e96, 0xe167, 0x058a, 0x1097, 0x2697, 0x4897, 0x4e97, 0xa202, 
+    0x1549, 0xa17f, 0xb616, 0x4e5b, 0x1445, 0xae02, 0x2646, 0xae18, 
+    0x155b, 0xe017, 0xae15, 0xe056, 0x2645, 0xe166, 0x0586, 0x4896, 
+    0x4e96, 0xe166, 0x056c, 0xd022, 0x0005, 0xa200, 0xe184, 0x0849, 
+    0xae04, 0x2696, 0xae0c, 0x2649, 0xe167, 0x058a, 0x4897, 0x4e97, 
+    0x145b, 0x4e5c, 0xe166, 0x05be, 0xe167, 0x0594, 0x1487, 0x4e86, 
+    0xe166, 0x0593, 0xe167, 0x0596, 0xd022, 0x0005, 0xe184, 0x0861, 
+    0x148e, 0x4e8f, 0xe166, 0x058e, 0x1440, 0xae0c, 0x2641, 0x4e96, 
+    0x8a17, 0x0008, 0xe42c, 0x1523, 0xe09f, 0xa200, 0x1587, 0xae21, 
+    0xe056, 0xe167, 0x022d, 0x1597, 0xae31, 0xe056, 0x1587, 0xae11, 
+    0xe056, 0x2649, 0x4896, 0x4e96, 0xe42e, 0xe41e, 0x0a1d, 0x145c, 
+    0xae04, 0xe0c2, 0x0280, 0xa202, 0x4e5d, 0xa202, 0x1542, 0xa103, 
+    0xb616, 0x4e5e, 0xa103, 0xb616, 0x4e5f, 0x4e60, 0xa103, 0xb616, 
+    0x4e61, 0x1457, 0x2260, 0x4e60, 0x1457, 0xe016, 0x225f, 0x4e5f, 
+    0x1457, 0x2658, 0x2261, 0x4e61, 0xe41e, 0x0a07, 0x1460, 0xe418, 
+    0x09dd, 0xe41e, 0x09c5, 0x145a, 0xe0c2, 0x0102, 0xe0c2, 0x0101, 
+    0xe167, 0x058a, 0x1097, 0x2697, 0xe049, 0xe009, 0x003f, 0xe0c3, 
+    0x010a, 0xaf0c, 0xe0c2, 0x010b, 0xe166, 0x0588, 0x1096, 0x2696, 
+    0xe0c2, 0x0082, 0x1097, 0x2697, 0xe0c2, 0x00ed, 0x1458, 0x225f, 
+    0x2661, 0xae02, 0x265c, 0xae02, 0x2660, 0xae06, 0x265f, 0xae04, 
+    0x265e, 0xae02, 0x265d, 0xae02, 0xe0c2, 0x0083, 0xa202, 0xe0c2, 
+    0x0093, 0xe41e, 0x0821, 0xe42e, 0xe41e, 0x0a1d, 0xa200, 0x4e5d, 
+    0xa202, 0x4e5e, 0xa202, 0x1542, 0xa105, 0xb616, 0x4e5f, 0x4e60, 
+    0xa103, 0xb616, 0x4e61, 0x1457, 0x2260, 0x4e60, 0x1457, 0xe016, 
+    0x225f, 0x4e5f, 0x1457, 0x2658, 0x2261, 0x4e61, 0xe41e, 0x0a07, 
+    0x1460, 0xe418, 0x09dd, 0x145a, 0xe0c2, 0x0102, 0xe0c2, 0x0101, 
+    0xe167, 0x058a, 0x1097, 0x2697, 0xe049, 0xe009, 0x003f, 0xe0c3, 
+    0x010a, 0xaf0c, 0xe0c2, 0x010b, 0xe166, 0x0588, 0x1096, 0x2696, 
+    0xe0c2, 0x0082, 0x1097, 0x2697, 0xe0c2, 0x00ed, 0x1458, 0x225f, 
+    0x2661, 0xae04, 0x2660, 0xae06, 0x265f, 0xae04, 0x265e, 0xae04, 
+    0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0xe41e, 0x0821, 0xe42e, 
+    0xe41e, 0x0a1d, 0xa200, 0x4e5d, 0x4e5e, 0xa202, 0x1542, 0xa107, 
+    0xb616, 0x4e61, 0x1457, 0x4e60, 0x1457, 0xe016, 0x4e5f, 0x1457, 
+    0x2658, 0x2261, 0x4e61, 0xe41e, 0x0a07, 0x1460, 0xe418, 0x09dd, 
+    0x145a, 0xe0c2, 0x0102, 0xe0c2, 0x0101, 0x1458, 0x225f, 0x2661, 
+    0xae04, 0x2660, 0xae06, 0x265f, 0xae08, 0xe0c2, 0x0083, 0xa202, 
+    0xe0c2, 0x0093, 0xe41e, 0x0821, 0xe42e, 0xe41e, 0x0a1d, 0xa200, 
+    0x4e5d, 0x4e5e, 0x4e5f, 0x4e60, 0x1457, 0x2658, 0x4e61, 0xe41e, 
+    0x0a07, 0x145a, 0xe0c2, 0x0102, 0xe0c2, 0x0101, 0x1461, 0xae12, 
+    0xe0c2, 0x0083, 0xa202, 0xe0c2, 0x0093, 0xe41e, 0x0a1d, 0xe42e, 
+    0xa200, 0x1517, 0xaf05, 0xa807, 0xb656, 0xa803, 0xe056, 0xae02, 
+    0x2643, 0xe049, 0xae0c, 0xe056, 0xae06, 0xe0c2, 0x0285, 0xa200, 
+    0x1514, 0xa105, 0xb636, 0xae02, 0x1544, 0xa103, 0xb432, 0xae02, 
+    0x1544, 0xa101, 0xb432, 0xae20, 0x1549, 0xe015, 0xe009, 0x003f, 
+    0xe056, 0xe0c2, 0x0288, 0xc420, 0xe161, 0x0578, 0xe162, 0x057e, 
+    0xe163, 0x02f0, 0x1444, 0x1543, 0xf1ea, 0xa102, 0xf11a, 0x1091, 
+    0x2692, 0x9f33, 0xc418, 0xe164, 0x02f8, 0x11b1, 0x27b2, 0x1091, 
+    0x2692, 0x9f03, 0x9f94, 0x1081, 0x2682, 0x9f14, 0xe42e, 0x8091, 
+    0x8092, 0xe163, 0x02f8, 0x10b1, 0x26b2, 0x9f13, 0x1081, 0x2682, 
+    0x9f03, 0xe42e, 0xf089, 0x10b1, 0x26b2, 0x9f33, 0x1081, 0x2682, 
+    0x9f03, 0xe42e, 0xd022, 0x0003, 0xe184, 0x09c0, 0x1091, 0x2692, 
+    0x9f13, 0x1081, 0x2682, 0x9f03, 0xe42e, 0xa200, 0xe0c2, 0x008a, 
+    0xe165, 0x0584, 0x1095, 0x2695, 0xe0c2, 0x0088, 0x1449, 0xae0a, 
+    0x2645, 0xae02, 0x2646, 0xae0e, 0x2645, 0xae0a, 0x2648, 0xae02, 
+    0xe165, 0x0584, 0x4895, 0x4e95, 0xe42e, 0xe166, 0x0594, 0x1496, 
+    0xe0c2, 0x0184, 0x8a17, 0x0008, 0xf05c, 0x1096, 0x2696, 0xe0c2, 
+    0x019e, 0x8a0c, 0x0003, 0xe42c, 0x1414, 0xa102, 0xe162, 0x01a0, 
+    0xe428, 0xe163, 0x01a4, 0x1429, 0xe092, 0xd022, 0x0003, 0xe184, 
+    0x09fd, 0x1091, 0x2691, 0x9f12, 0x1491, 0x9f13, 0xe082, 0x4e29, 
+    0xe002, 0x05be, 0xe005, 0x059a, 0xe428, 0x4f29, 0xe42e, 0x1457, 
+    0xe166, 0x05be, 0xf058, 0x1458, 0xe166, 0x0594, 0xe42a, 0x1457, 
+    0xae02, 0x1558, 0x2361, 0xe056, 0xae02, 0x1558, 0x235f, 0xe056, 
+    0xae18, 0x2686, 0xe0c2, 0x00e6, 0xe42e, 0xe0c0, 0x0095, 0xf7ea, 
+    0xe0c2, 0x0095, 0xe42e, 0x155a, 0xa105, 0x145a, 0xa002, 0xb616, 
+    0x4e5a, 0xe42e, 0xe049, 0xae03, 0xe042, 0xae02, 0xe42e, 0xa200, 
+    0xe166, 0x0200, 0xe188, 0x002e, 0x4e96, 0xe166, 0x022f, 0xe188, 
+    0x0059, 0x4e96, 0xe166, 0x0289, 0xe188, 0x00b5, 0x4e96, 0xe166, 
+    0x033f, 0xe188, 0x005b, 0x4e96, 0xa2fc, 0xe166, 0x039b, 0xc72d, 
+    0x4e96, 0xa200, 0xe166, 0x03c9, 0xe188, 0x0086, 0x4e96, 0xa202, 
+    0xcf94, 0xa2fd, 0xca40, 0xe052, 0xce40, 0xca46, 0xe052, 0xce46, 
+    0xe42e, 0xe004, 0x0200, 0x4e23, 0xe004, 0x022f, 0x4e24, 0xe004, 
+    0x0289, 0x4e25, 0xe004, 0x033f, 0x4e26, 0xe004, 0x039b, 0x4e27, 
+    0xa200, 0xcf94, 0xcf20, 0xcf22, 0xcf24, 0xcf26, 0xcf38, 0xe166, 
+    0x0450, 0xc705, 0x4e96, 0xa2fd, 0xca40, 0xe052, 0xce40, 0xca46, 
+    0xe052, 0xce46, 0xe42e, 0x1423, 0xe09c, 0x1496, 0xcf82, 0x1424, 
+    0xe09c, 0x1096, 0x2696, 0xcf8a, 0x1427, 0xe09c, 0x1496, 0xce42, 
+    0x1486, 0xce44, 0xca4a, 0xcf34, 0x1425, 0xe09c, 0x1096, 0x2696, 
+    0xcf28, 0xcf2a, 0x1096, 0x2696, 0xcf2c, 0xcf2e, 0x1096, 0x2696, 
+    0xcf30, 0x1096, 0x2696, 0xcf3c, 0x1426, 0xe09c, 0x1096, 0x2696, 
+    0xcf3a, 0xe42e, 0x1423, 0xe09c, 0xe167, 0x022d, 0x1486, 0x4e97, 
+    0xcb82, 0x4e87, 0x4e96, 0xe08c, 0x4e23, 0x1424, 0xe09c, 0xcb8a, 
+    0x4896, 0x4e96, 0xe08c, 0x4e24, 0x1425, 0xe09c, 0xcb28, 0x4896, 
+    0x4e96, 0xcb2c, 0x4896, 0x4e96, 0xe08c, 0x4e25, 0x1426, 0xe09c, 
+    0xcb3a, 0x4896, 0x4e96, 0xe08c, 0x4e26, 0x1427, 0xe09c, 0xa202, 
+    0x4e96, 0xce40, 0xca42, 0xce46, 0xe08c, 0x4e27, 0xe42e, 0xa202, 
+    0xae32, 0x1533, 0xae31, 0xe056, 0x151b, 0xaf0d, 0xae21, 0xe056, 
+    0x150d, 0xaf1f, 0xa803, 0xae1f, 0xe056, 0x1514, 0xa803, 0xe017, 
+    0xae1d, 0xe056, 0x1517, 0xa807, 0xae19, 0xe056, 0x1515, 0xae0d, 
+    0xe056, 0x2616, 0xcf16, 0x1443, 0xae18, 0x1540, 0xae0d, 0xe056, 
+    0x2641, 0xcf18, 0xe42e, 0x1449, 0xcf80, 0x144a, 0xcf88, 0xe42e, 
+    0xcf92, 0xe190, 0xcb88, 0xe42e, 0xcb90, 0xe42e, 0x1580, 0xf0b9, 
+    0xba01, 0xcf1b, 0xcf0a, 0xe190, 0xcb1b, 0xa803, 0xcb46, 0xe42b, 
+    0xba41, 0xe42e, 0xa201, 0xcf09, 0xe42e, 0x1449, 0xae02, 0xcf1a, 
+    0xa200, 0xcf40, 0xe190, 0xcb42, 0xcb1b, 0xaf03, 0x4f49, 0xcb47, 
+    0x4984, 0x4f85, 0xcf37, 0xe42e, 0x8a0c, 0x0003, 0xe42c, 0x1542, 
+    0x1443, 0xe016, 0xf049, 0x1549, 0xaf0b, 0x4f28, 0x2228, 0xcfa2, 
+    0xcb12, 0xcfa6, 0xe161, 0x056c, 0xe162, 0x0572, 0xd1d0, 0x0000, 
+    0xd022, 0x0005, 0xe184, 0x0b37, 0x1491, 0xae08, 0x2692, 0xcfa4, 
+    0xe004, 0x03c9, 0x0440, 0x0440, 0x0440, 0xe092, 0x142a, 0xe094, 
+    0xe163, 0x0450, 0xd022, 0x0002, 0xe184, 0x0b47, 0x1493, 0x4e92, 
+    0xe163, 0x0450, 0xd022, 0x0002, 0xe184, 0x0b50, 0x1491, 0x4e92, 
+    0x4e93, 0x8089, 0x8089, 0x8089, 0xe163, 0x0453, 0xd022, 0x0002, 
+    0xe184, 0x0b5b, 0x1493, 0x4e92, 0xe163, 0x0453, 0xcba8, 0x4892, 
+    0x4e92, 0x4893, 0x4e93, 0x4891, 0x4e91, 0xcbaa, 0x4e92, 0x4e93, 
+    0x4e91, 0xe084, 0x4e2a, 0xe002, 0x05be, 0xe005, 0x059a, 0xe428, 
+    0x4f2a, 0xe42e, 0xcf96, 0xe42e, 0xa200, 0xe166, 0x0010, 0xc712, 
+    0x4e96, 0xe166, 0x0460, 0xc76b, 0x4e96, 0xe166, 0x04cc, 0xc76b, 
+    0x4e96, 0xe42e, 0xd03a, 0x0000, 0xe42e, 0x1110, 0x2711, 0xae07, 
+    0xc874, 0xe012, 0xe042, 0xa83e, 0xf03a, 0x4e68, 0x5668, 0xc874, 
+    0xe046, 0xe422, 0xba7e, 0xf7ce, 0xe42e, 0xe005, 0x00ff, 0xae21, 
+    0xe00b, 0xffff, 0x1000, 0x2601, 0xe045, 0xf07b, 0x113b, 0x2762, 
+    0xe046, 0xf030, 0xa202, 0xe42e, 0xa200, 0xe42e, 0xe41e, 0x03fa, 
+    0xe41e, 0x025e, 0x4810, 0x4e11, 0xba4e, 0xc001, 0x1418, 0xc000, 
+    0xe002, 0x0085, 0xf05a, 0xe41e, 0x0253, 0x4812, 0x4e13, 0xa202, 
+    0xe42e, 0x8a0d, 0x0001, 0xf02c, 0xba40, 0xba42, 0x8a0d, 0x0007, 
+    0xf04c, 0xba40, 0xae14, 0x4e17, 0xe41e, 0x0d5a, 0x1514, 0xa103, 
+    0xf05b, 0x1514, 0xa105, 0xf02b, 0xba4c, 0xe41e, 0x0d7c, 0x8a0d, 
+    0x000e, 0xf05c, 0xb802, 0x1517, 0xe055, 0x4f17, 0xe41e, 0x0db1, 
+    0x1514, 0xa101, 0xf0ab, 0x1514, 0xa107, 0xf07b, 0xe41e, 0x0ddc, 
+    0xe41e, 0x0e29, 0xe41e, 0x0e6f, 0xe41e, 0x0e8b, 0x1417, 0xa806, 
+    0xae04, 0x4e6c, 0xe004, 0xdca9, 0x366c, 0xa81e, 0x0c33, 0x4e34, 
+    0xe004, 0xba98, 0x366c, 0xa81e, 0x0c33, 0x4e35, 0x140d, 0xaf12, 
+    0xa802, 0x1514, 0xa105, 0xb616, 0x1519, 0xaf0b, 0xa83f, 0xa113, 
+    0xb60a, 0xae10, 0x2617, 0x4e17, 0x140e, 0xaf04, 0xa802, 0x1514, 
+    0xa101, 0xb636, 0x1514, 0xa107, 0xb636, 0x1514, 0xa103, 0xf029, 
+    0xe016, 0xa203, 0xae05, 0xe015, 0x230e, 0x4f0e, 0xe049, 0xae05, 
+    0x270e, 0x4f0e, 0xae12, 0x2617, 0x4e17, 0xa202, 0xe42e, 0x1414, 
+    0xa104, 0xe42a, 0x1414, 0xa106, 0xe42a, 0x140e, 0xe008, 0x0037, 
+    0x150f, 0xaf1b, 0xa80f, 0xae1b, 0xe056, 0x4e0e, 0x1417, 0xaf14, 
+    0xa80e, 0xae1a, 0x261c, 0x4e0f, 0x1417, 0xaf14, 0xa802, 0xe0c1, 
+    0x0060, 0xaf09, 0xa803, 0xe056, 0x1517, 0xaf17, 0xa807, 0xb632, 
+    0xae12, 0x1553, 0xaf13, 0xa803, 0xae11, 0xe056, 0x1553, 0xe009, 
+    0x00ff, 0xe056, 0x4e53, 0xe42e, 0xe42e, 0x8a53, 0x0000, 0xf08d, 
+    0x1553, 0xa80d, 0xf19b, 0xa809, 0xf2ab, 0xe40e, 0x0c9e, 0x1553, 
+    0xa80d, 0x1414, 0xa104, 0xf0ca, 0x1414, 0xa106, 0xf09a, 0xe40b, 
+    0x0c6b, 0x8a53, 0x0008, 0xe40d, 0x0cbe, 0xe40e, 0x0cd9, 0xe40b, 
+    0x0cfc, 0xe40e, 0x0d16, 0x1454, 0xaf10, 0xa81e, 0xae38, 0x1554, 
+    0xaf19, 0xa81f, 0xae31, 0xe056, 0x1554, 0xe009, 0x00ff, 0xae21, 
+    0xe056, 0x2655, 0x4854, 0x4e55, 0xe40e, 0x0d30, 0x1455, 0xaf10, 
+    0xa81e, 0xae38, 0x1554, 0xaf11, 0xe009, 0x00ff, 0xae29, 0xe056, 
+    0x1554, 0xa81f, 0xae21, 0xe056, 0x1555, 0xaf19, 0xa81f, 0xae19, 
+    0xe056, 0x1554, 0xaf09, 0xa81f, 0xae11, 0xe056, 0x1555, 0xe009, 
+    0x00ff, 0xe056, 0x4854, 0x4e55, 0xe40e, 0x0d30, 0x1455, 0xaf18, 
+    0xa81e, 0xae38, 0x1554, 0xaf11, 0xe009, 0x00ff, 0xae29, 0xe056, 
+    0x1554, 0xa81f, 0xae21, 0xe056, 0x1555, 0xaf11, 0xa81f, 0xae19, 
+    0xe056, 0x1554, 0xaf09, 0xa81f, 0xae11, 0xe056, 0x1555, 0xe009, 
+    0x00ff, 0xe056, 0x4854, 0x4e55, 0xe40e, 0x0d30, 0x1455, 0xaf18, 
+    0xa81e, 0xae38, 0x1554, 0xaf09, 0xe009, 0x0fff, 0xae21, 0xe056, 
+    0x1555, 0xaf11, 0xa81f, 0xae19, 0xe056, 0x1554, 0xa81f, 0xae11, 
+    0xe056, 0x1555, 0xe009, 0x00ff, 0xe056, 0x4854, 0x4e55, 0xe40e, 
+    0x0d30, 0x1455, 0xaf18, 0xa81e, 0xae38, 0x1554, 0xaf19, 0xa81f, 
+    0xae31, 0xe056, 0x1554, 0xa81f, 0xae29, 0xe056, 0x1554, 0xaf09, 
+    0xa81f, 0xae21, 0xe056, 0x1555, 0xaf11, 0xa81f, 0xae19, 0xe056, 
+    0x1554, 0xaf11, 0xa81f, 0xae11, 0xe056, 0x1555, 0xe009, 0x00ff, 
+    0xe056, 0x4854, 0x4e55, 0xf35e, 0x1454, 0xaf08, 0xe008, 0x0fff, 
+    0xae28, 0x1555, 0xaf11, 0xa81f, 0xae21, 0xe056, 0x1555, 0xaf19, 
+    0xa81f, 0xae19, 0xe056, 0x1554, 0xa81f, 0xae11, 0xe056, 0x1555, 
+    0xe009, 0x00ff, 0xe056, 0x4854, 0x4e55, 0xf36e, 0x1454, 0xaf08, 
+    0xe008, 0x0fff, 0xae28, 0x1555, 0xaf19, 0xa81f, 0xae21, 0xe056, 
+    0x1555, 0xaf11, 0xa81f, 0xae19, 0xe056, 0x1554, 0xa81f, 0xae11, 
+    0xe056, 0x1555, 0xe009, 0x00ff, 0xe056, 0x4854, 0x4e55, 0xf1ce, 
+    0x8a53, 0x0009, 0x1454, 0xaf18, 0xa81e, 0xf04c, 0x1454, 0xaf08, 
+    0xa81e, 0xae18, 0x1556, 0xaf09, 0xe009, 0x0fff, 0xe056, 0x4e56, 
+    0x1563, 0xe423, 0xe049, 0xe008, 0xf0ff, 0xaf19, 0xa81f, 0xae11, 
+    0xe056, 0x4e56, 0xe42e, 0x1456, 0xaf18, 0xa81e, 0xae18, 0x1554, 
+    0xa81f, 0xae11, 0xe056, 0x1556, 0xaf09, 0xe009, 0x00ff, 0xe056, 
+    0x4e56, 0xe42e, 0x140d, 0xaf08, 0xa80e, 0xf038, 0xba40, 0xf02e, 
+    0xb800, 0xe049, 0xa105, 0x4e14, 0xf069, 0xb807, 0x4f1b, 0xa12d, 
+    0xb676, 0x4e14, 0xe004, 0x0019, 0xae20, 0xe00a, 0xc595, 0x361b, 
+    0xa802, 0xae0a, 0x151b, 0xe001, 0x0540, 0xe09d, 0x1586, 0xae0d, 
+    0xe056, 0x261b, 0x4e1b, 0xe42e, 0xba48, 0x4e69, 0xa110, 0xf040, 
+    0xba40, 0xae16, 0x4e19, 0x150d, 0xaf05, 0xa807, 0xf1b9, 0x1469, 
+    0xe049, 0xa111, 0xb5a2, 0xe049, 0xa133, 0xb422, 0xe049, 0xa137, 
+    0xb422, 0xe049, 0xa13b, 0xb422, 0xae0a, 0x2619, 0x4e19, 0xa202, 
+    0x1569, 0xa111, 0xb602, 0x1569, 0xb616, 0xae14, 0x2619, 0x4e19, 
+    0xe42e, 0xa103, 0x1469, 0xae0a, 0x2619, 0x4e19, 0xf069, 0xba40, 
+    0xae14, 0x2619, 0x4e19, 0xe42e, 0xa103, 0xae15, 0x2719, 0x4f19, 
+    0xe42e, 0xe051, 0x140f, 0xaf1c, 0xa806, 0x1514, 0xa107, 0xf08b, 
+    0x1514, 0xa105, 0xf05b, 0x8a0c, 0x0001, 0xf02c, 0xba42, 0xae16, 
+    0x2617, 0x4e17, 0x1405, 0xa01e, 0xaf08, 0x1517, 0xaf17, 0xa803, 
+    0xf04b, 0xae06, 0xa01e, 0xaf08, 0x4e15, 0xa006, 0xaf04, 0x4e1e, 
+    0x1403, 0xa01e, 0xaf08, 0x1517, 0xaf17, 0xa805, 0xf04b, 0xae06, 
+    0xa01e, 0xaf08, 0x4e16, 0xe42e, 0xa202, 0x1514, 0xa103, 0xf1d9, 
+    0xb808, 0xe049, 0xa809, 0xae02, 0x4e6b, 0xf0cb, 0xb80a, 0xae02, 
+    0x4e6b, 0xa202, 0xae18, 0xba4b, 0xae0d, 0xe056, 0xba4b, 0xe056, 
+    0x4e1c, 0xe004, 0xe42d, 0x1519, 0xaf0b, 0xa83f, 0xa119, 0xf027, 
+    0xaf10, 0x366b, 0xa806, 0xf02e, 0xba40, 0xae04, 0x1517, 0xe055, 
+    0x4f17, 0x1417, 0xaf04, 0xa806, 0xa802, 0xe016, 0x4e33, 0x1517, 
+    0xaf05, 0xa807, 0xa107, 0xf079, 0xe161, 0x0460, 0xe41e, 0x0eca, 
+    0xae0c, 0x4e1a, 0x1514, 0xa105, 0xf079, 0xe161, 0x0460, 0xe41e, 
+    0x0eca, 0x261a, 0x4e1a, 0xe161, 0x04cc, 0xe41e, 0x0eca, 0xae06, 
+    0x261a, 0x4e1a, 0xba42, 0xa052, 0x4e2d, 0xba42, 0xa032, 0x4e2c, 
+    0xe42e, 0xa200, 0x4e18, 0x140d, 0xaf18, 0xa806, 0xa102, 0xf04a, 
+    0xa102, 0xf0da, 0xe42e, 0xba40, 0xe42a, 0xba42, 0xf08a, 0xa102, 
+    0xf0aa, 0xa102, 0xf14a, 0xa102, 0xf1ea, 0xe42e, 0xe004, 0x008f, 
+    0x4e18, 0xf1fe, 0xba42, 0xae04, 0x4e6a, 0xe005, 0x936c, 0x376a, 
+    0xa81f, 0xe004, 0x00a0, 0xe056, 0x4e18, 0xf13e, 0xba42, 0xae04, 
+    0x4e6a, 0xe005, 0x1248, 0x376a, 0xa81f, 0xe004, 0x00c0, 0xe056, 
+    0x4e18, 0xf07e, 0xba40, 0xe049, 0xa91c, 0xae08, 0x4e18, 0xe42b, 
+    0x1419, 0xaf0a, 0xa83e, 0xba45, 0xe042, 0xa10f, 0xa002, 0xf029, 
+    0xba48, 0x1519, 0xaf0b, 0xae0b, 0xe055, 0x4f19, 0xe42e, 0xe004, 
+    0x0006, 0x1519, 0xaf0b, 0xa83f, 0xa10b, 0xb426, 0x1519, 0xaf0b, 
+    0xa83f, 0xa11b, 0xb426, 0x4e2b, 0x8a0d, 0x000b, 0xa202, 0xa201, 
+    0xf04c, 0xba40, 0xf02a, 0xba43, 0xae0e, 0xae09, 0xe056, 0x1517, 
+    0xe055, 0x4f17, 0xe42e, 0x1469, 0xa110, 0xa201, 0xb66d, 0xb804, 
+    0xb611, 0xe042, 0xa042, 0x4e31, 0x1514, 0xa103, 0xf0db, 0x1514, 
+    0xa105, 0xf0ab, 0x1469, 0xa110, 0xa201, 0xb66d, 0xb804, 0xb611, 
+    0xe042, 0xa042, 0x4e32, 0xba40, 0xa03a, 0x4e30, 0xa21a, 0x1519, 
+    0xaf0b, 0xa83f, 0xa10b, 0xb426, 0xa111, 0xb426, 0x4e2e, 0xa200, 
+    0x1519, 0xaf0b, 0xa83f, 0xa10b, 0xb426, 0xa111, 0xb426, 0x4e2f, 
+    0xa202, 0x4e36, 0xa200, 0x4e38, 0x4e39, 0xa202, 0x1519, 0xaf0b, 
+    0xa83f, 0xa10f, 0xb60e, 0x1518, 0xaf0f, 0xa803, 0xb612, 0xa016, 
+    0x4e37, 0xe42e, 0xba40, 0xb7f0, 0xe008, 0x003f, 0x4e6d, 0xb82a, 
+    0x4e6b, 0xa100, 0xf31a, 0x146d, 0x4e6c, 0x146b, 0xa102, 0xe41a, 
+    0x0f05, 0xa200, 0x4e6c, 0x146b, 0xa104, 0xe41a, 0x0f05, 0x146d, 
+    0x4e6c, 0x146b, 0xa104, 0xe41a, 0x1131, 0x146d, 0x4e6c, 0x146b, 
+    0xa106, 0xe41a, 0x0f5f, 0xa200, 0x4e6c, 0x146b, 0xa108, 0xe41a, 
+    0x0f5f, 0x146d, 0x4e6c, 0x146b, 0xa108, 0xe41a, 0x1131, 0x146d, 
+    0x4e6c, 0x146b, 0xa10a, 0xe41a, 0x10b9, 0x146d, 0x4e6c, 0x146b, 
+    0xa10c, 0xe41a, 0x10f5, 0x146b, 0xe42e, 0xa200, 0x4e78, 0x4e79, 
+    0xa21e, 0x4e7c, 0x4e7d, 0xa200, 0x4e75, 0x4e76, 0x1415, 0x1516, 
+    0xa802, 0xa803, 0xe052, 0xf11a, 0xba41, 0x2b6c, 0xa803, 0x357d, 
+    0xe082, 0x0479, 0xe09c, 0x1486, 0xe056, 0x4e86, 0x147d, 0xa102, 
+    0x4e7d, 0x1475, 0xa002, 0x4e75, 0xb82d, 0x2b6c, 0xa807, 0x4f72, 
+    0xa202, 0x4e77, 0x1572, 0x3777, 0xa803, 0x357d, 0xe082, 0x0479, 
+    0xe09c, 0x1486, 0xe056, 0x4e86, 0x1475, 0xa002, 0x4e75, 0x0c15, 
+    0xf0e2, 0x157d, 0xa807, 0x1479, 0xb436, 0x4e79, 0x147d, 0xe049, 
+    0xa818, 0xa007, 0xa807, 0xe056, 0x4e7d, 0xf12e, 0x157c, 0xa819, 
+    0x141e, 0xb612, 0x0478, 0x4e78, 0x4e79, 0x147c, 0xa018, 0xa81e, 
+    0x4e7c, 0x4e7d, 0xa200, 0x4e75, 0x1476, 0xa002, 0x4e76, 0x1477, 
+    0xa102, 0x4e77, 0xf502, 0x1476, 0x0c16, 0xf474, 0xe42e, 0x1415, 
+    0xa106, 0xf7f2, 0xa006, 0x4e70, 0x1516, 0xa107, 0xf7f3, 0xa007, 
+    0x4f71, 0xe40a, 0x0fdc, 0xe409, 0x0fdc, 0x1415, 0xa802, 0x4e70, 
+    0xa200, 0x4e78, 0x4e79, 0xa21e, 0x0c70, 0x4e7c, 0x4e7d, 0x1471, 
+    0x4e76, 0x1470, 0x4e75, 0x1479, 0x4e7a, 0x4e7b, 0x147d, 0x4e7e, 
+    0x4e7f, 0xb82e, 0x2a6c, 0xa87e, 0x4e72, 0xa200, 0x4e77, 0x1572, 
+    0xa803, 0x357f, 0xe082, 0x047b, 0xe09c, 0x1486, 0xe056, 0x4e86, 
+    0x1572, 0xaf03, 0x4f72, 0x1477, 0xa802, 0xf0e8, 0x157f, 0xa807, 
+    0x147b, 0xb436, 0x4e7b, 0x147f, 0xe049, 0xa818, 0xa007, 0xa807, 
+    0xe056, 0x4e7f, 0xf0de, 0x157e, 0xa819, 0x141e, 0xb612, 0x047a, 
+    0x4e7a, 0x4e7b, 0x147e, 0xa018, 0xa81e, 0x4e7e, 0x4e7f, 0x1477, 
+    0xa002, 0x4e77, 0xa10c, 0xf544, 0x157d, 0xa807, 0xa105, 0x1479, 
+    0xb42a, 0x4e79, 0x147d, 0xe049, 0xa818, 0xa005, 0xa807, 0xe056, 
+    0x4e7d, 0x1475, 0xa004, 0x4e75, 0x0c15, 0xe404, 0x0f7b, 0x157c, 
+    0xa819, 0xa119, 0x141e, 0xb606, 0x0478, 0x4e78, 0x4e79, 0x147c, 
+    0xa008, 0xa81e, 0x4e7c, 0x4e7d, 0x1476, 0xa006, 0x4e76, 0x0c16, 
+    0xe404, 0x0f79, 0xe40e, 0x104e, 0x1416, 0xa802, 0x4e71, 0xa200, 
+    0x4e78, 0x4e79, 0xa21e, 0x1571, 0xb592, 0x0c70, 0x4e7c, 0x4e7d, 
+    0x1471, 0x4e76, 0x1470, 0x4e75, 0x1479, 0x4e7a, 0x4e7b, 0x147d, 
+    0x4e7e, 0x4e7f, 0xb82e, 0x2a6c, 0xa87e, 0x4e72, 0xa200, 0x4e77, 
+    0x1572, 0xa803, 0x357f, 0xe082, 0x047b, 0xe09c, 0x1486, 0xe056, 
+    0x4e86, 0x1572, 0xaf03, 0x4f72, 0x1477, 0xa104, 0xf11a, 0x1477, 
+    0xa10a, 0xf0ea, 0x157f, 0xa807, 0x147b, 0xb436, 0x4e7b, 0x147f, 
+    0xe049, 0xa818, 0xa007, 0xa807, 0xe056, 0x4e7f, 0xf0de, 0x157e, 
+    0xa819, 0x141e, 0xb612, 0x047a, 0x4e7a, 0x4e7b, 0x147e, 0xa018, 
+    0xa81e, 0x4e7e, 0x4e7f, 0x1477, 0xa002, 0x4e77, 0xa10c, 0xf514, 
+    0x157d, 0xa807, 0xa107, 0x1479, 0xb42a, 0x4e79, 0x147d, 0xe049, 
+    0xa818, 0xa003, 0xa807, 0xe056, 0x4e7d, 0x1475, 0xa006, 0x4e75, 
+    0x0c15, 0xe404, 0x0fec, 0x157c, 0xa819, 0xa111, 0x141e, 0xb606, 
+    0x0478, 0x4e78, 0x4e79, 0x147c, 0xa010, 0xa81e, 0x4e7c, 0x4e7d, 
+    0x1476, 0xa004, 0x4e76, 0x0c16, 0xe404, 0x0fea, 0x1470, 0xe406, 
+    0x108d, 0xa200, 0x4e78, 0x4e79, 0xa21e, 0x4e7c, 0x4e7d, 0xa200, 
+    0x4e75, 0xa200, 0x4e76, 0xba40, 0x4e6e, 0xa201, 0x146e, 0xf02a, 
+    0xba41, 0x2b6c, 0xa803, 0x357d, 0xe082, 0x0479, 0xe09c, 0x1486, 
+    0xe056, 0x4e86, 0x157d, 0xa819, 0x141e, 0xb612, 0x0479, 0x4e79, 
+    0x147d, 0xa018, 0xa81e, 0x4e7d, 0x1476, 0xa002, 0x4e76, 0x0c16, 
+    0xe404, 0x105d, 0x157c, 0xa807, 0x1478, 0xb436, 0x4e78, 0x4e79, 
+    0x147c, 0xe049, 0xa818, 0xa007, 0xa807, 0xe056, 0x4e7c, 0x4e7d, 
+    0x1475, 0xa002, 0x4e75, 0x0c70, 0xf4d4, 0x1471, 0xf2aa, 0xa200, 
+    0x4e78, 0x4e79, 0xa21e, 0x0c70, 0x4e7c, 0x4e7d, 0x1470, 0x4e75, 
+    0xba40, 0x4e6f, 0xa201, 0x146f, 0xf02a, 0xba41, 0x2b6c, 0xa803, 
+    0x357d, 0xe082, 0x0479, 0xe09c, 0x1486, 0xe056, 0x4e86, 0x157d, 
+    0xa807, 0x1479, 0xb436, 0x4e79, 0x147d, 0xe049, 0xa819, 0xa006, 
+    0xa806, 0xe056, 0x4e7d, 0x1475, 0xa002, 0x4e75, 0x0c15, 0xf634, 
+    0xe42e, 0xa200, 0x4e78, 0x4e79, 0xa21e, 0x4e7c, 0x4e7d, 0xa200, 
+    0x4e76, 0xba40, 0x4e6f, 0xa200, 0x4e75, 0xa201, 0x146f, 0xf02a, 
+    0xba41, 0x2b6c, 0xa803, 0x357d, 0xe082, 0x0479, 0xe09c, 0x1486, 
+    0xe056, 0x4e86, 0x157d, 0xa807, 0x1479, 0xb436, 0x4e79, 0x147d, 
+    0xe049, 0xa818, 0xa007, 0xa807, 0xe056, 0x4e7d, 0x1475, 0xa002, 
+    0x4e75, 0x0c15, 0xf634, 0x157c, 0xa819, 0x141e, 0xb612, 0x0478, 
+    0x4e78, 0x4e79, 0x147c, 0xa018, 0xa81e, 0x4e7c, 0x4e7d, 0x1476, 
+    0xa002, 0x4e76, 0x0c16, 0xf4e4, 0xe42e, 0xa200, 0x4e78, 0x4e79, 
+    0xa21e, 0x4e7c, 0x4e7d, 0xa200, 0x4e75, 0xba40, 0x4e6e, 0xa200, 
+    0x4e76, 0xa201, 0x146e, 0xf02a, 0xba41, 0x2b6c, 0xa803, 0x357d, 
+    0xe082, 0x0479, 0xe09c, 0x1486, 0xe056, 0x4e86, 0x157d, 0xa819, 
+    0x141e, 0xb612, 0x0479, 0x4e79, 0x147d, 0xa018, 0xa81e, 0x4e7d, 
+    0x1476, 0xa002, 0x4e76, 0x0c16, 0xf654, 0x157c, 0xa807, 0x1478, 
+    0xb436, 0x4e78, 0x4e79, 0x147c, 0xe049, 0xa818, 0xa007, 0xa807, 
+    0xe056, 0x4e7c, 0x4e7d, 0x1475, 0xa002, 0x4e75, 0x0c15, 0xf4e4, 
+    0xe42e, 0xa200, 0x4e78, 0x4e79, 0xa21e, 0x4e7c, 0x4e7d, 0xa200, 
+    0x4e76, 0xa200, 0x4e75, 0x157d, 0xa807, 0xa107, 0x1479, 0xb5f6, 
+    0xe083, 0xe041, 0xe09d, 0x147d, 0xe049, 0xa818, 0xa003, 0xa807, 
+    0xe056, 0x4e7e, 0x1486, 0x367e, 0xa802, 0x4e73, 0x157d, 0xa819, 
+    0xa119, 0x141e, 0xb612, 0x1579, 0xe045, 0xe082, 0xe042, 0xe09c, 
+    0x147d, 0xa008, 0xa81e, 0x4e7e, 0x1486, 0x367e, 0xa802, 0x4e74, 
+    0x1475, 0x2676, 0xf048, 0x146c, 0x4e72, 0xf10e, 0x1475, 0xf048, 
+    0x1474, 0x4e72, 0xf0be, 0x1476, 0xf076, 0x1473, 0x0c74, 0xf04a, 
+    0x146c, 0x4e72, 0xf03e, 0x1473, 0x4e72, 0xe082, 0x0479, 0xe09c, 
+    0x1486, 0xe049, 0x377d, 0x2b72, 0xa803, 0x357d, 0x4f72, 0xa203, 
+    0x357d, 0xe015, 0xe052, 0x2672, 0x4e86, 0x157d, 0xa807, 0x1479, 
+    0xb436, 0x4e79, 0x147d, 0xe049, 0xa818, 0xa007, 0xa807, 0xe056, 
+    0x4e7d, 0x1475, 0xa002, 0x4e75, 0x0c15, 0xe404, 0x113b, 0x157c, 
+    0xa819, 0x141e, 0xb612, 0x0478, 0x4e78, 0x4e79, 0x147c, 0xa018, 
+    0xa81e, 0x4e7c, 0x4e7d, 0x1476, 0xa002, 0x4e76, 0x0c16, 0xe404, 
+    0x1139, 0xe42e, 0x1414, 0xa102, 0x1543, 0xe41a, 0x11b4, 0x1414, 
+    0xa104, 0xe41a, 0x1213, 0xe42e, 0xf259, 0xd182, 0x0000, 0xe160, 
+    0x0560, 0xe161, 0x0566, 0xa200, 0x4e80, 0x144a, 0xaf0a, 0x4e81, 
+    0xe164, 0x0578, 0xe165, 0x057e, 0xe418, 0x129d, 0xe41e, 0x0afe, 
+    0x4884, 0x4e85, 0x1481, 0x4e70, 0xa27e, 0x1580, 0xb616, 0x4e49, 
+    0xe164, 0x057c, 0xe165, 0x0582, 0xe41e, 0x0b0d, 0xe41e, 0x12c4, 
+    0xe42e, 0xe160, 0x0565, 0xe161, 0x056b, 0x1449, 0x154a, 0xd022, 
+    0x0005, 0xe184, 0x11e6, 0x4688, 0xaf02, 0x4789, 0xaf03, 0xe160, 
+    0x0560, 0xe161, 0x0566, 0xe164, 0x0578, 0xe165, 0x057e, 0xd182, 
+    0x06db, 0xd022, 0x0003, 0xe184, 0x11fd, 0x1481, 0xe418, 0x129d, 
+    0xe41e, 0x0afe, 0x4894, 0x4e95, 0x8090, 0x8091, 0xe161, 0x0560, 
+    0xe162, 0x0566, 0xa200, 0xa201, 0xd022, 0x0005, 0xe184, 0x120b, 
+    0xae02, 0x2691, 0xae03, 0x2792, 0x4e49, 0x4f4a, 0xe41e, 0x0b0d, 
+    0xe41e, 0x12c4, 0xe42e, 0xd182, 0x06db, 0xe41e, 0x12f3, 0x1444, 
+    0xa106, 0xe40a, 0x126d, 0xe160, 0x0561, 0xe161, 0x0567, 0xa200, 
+    0x4e80, 0x144a, 0xaf08, 0x4681, 0xe164, 0x0579, 0xe165, 0x057f, 
+    0xe418, 0x129d, 0x1580, 0x4884, 0x4e85, 0xe409, 0x127c, 0xb812, 
+    0xae02, 0x151b, 0xaf0b, 0xa803, 0xb4d2, 0x4e6d, 0xe004, 0x0864, 
+    0x366d, 0xa806, 0x4e44, 0xf16a, 0xa102, 0xf24a, 0x1489, 0x4e81, 
+    0x8088, 0xe418, 0x129d, 0xcf0a, 0x118c, 0x278d, 0xe190, 0xcb46, 
+    0xcf0b, 0x4894, 0x4e95, 0xe190, 0xcb47, 0x4994, 0x4f95, 0x8090, 
+    0xf34e, 0x1488, 0x4e90, 0x108c, 0x268d, 0xcf0a, 0xe190, 0xe190, 
+    0xe190, 0xcb46, 0x4894, 0x4e95, 0xcb4c, 0xcf08, 0x4894, 0x4e95, 
+    0xf24e, 0xcb4a, 0xcf08, 0x118c, 0x278d, 0xcf0b, 0x4894, 0x4e95, 
+    0xe190, 0xcb47, 0x4994, 0x4f95, 0xf18e, 0xe164, 0x0578, 0xe165, 
+    0x057e, 0xcb4a, 0xcf08, 0x4894, 0x4e95, 0xcb4c, 0xcf08, 0x4894, 
+    0x4e95, 0x144a, 0x4e70, 0xf0fe, 0x1481, 0x4e70, 0xa200, 0xcf08, 
+    0xa27f, 0x4f49, 0xcf08, 0xe42e, 0x1481, 0x4e70, 0xa27e, 0x1580, 
+    0xb616, 0x4e49, 0xe164, 0x057c, 0xe165, 0x0582, 0xa200, 0xcf40, 
+    0xe190, 0xe190, 0xcb46, 0x4894, 0x4e95, 0xa202, 0xcf40, 0xe190, 
+    0xe190, 0xcb46, 0x4894, 0x4e95, 0xe42e, 0xa200, 0x4e80, 0x502d, 
+    0xa002, 0xa14a, 0xf042, 0xa04a, 0xa201, 0x4f81, 0xe049, 0xa147, 
+    0xe42a, 0xae02, 0x2633, 0xf035, 0xf0bb, 0xf13e, 0xcc8e, 0xe190, 
+    0xbf40, 0x4e71, 0xbf42, 0x4e72, 0x1071, 0x2672, 0xe42e, 0x5634, 
+    0x3433, 0x4e71, 0x5635, 0x3433, 0x4e72, 0x1071, 0x2672, 0xe42e, 
+    0xa202, 0x4e80, 0xa200, 0xe42e, 0x1542, 0xe009, 0x007f, 0xae03, 
+    0xe001, 0x0600, 0xe09d, 0x4896, 0x4e96, 0x1542, 0xe009, 0x007f, 
+    0xe003, 0x007f, 0xe429, 0xc001, 0x1416, 0xf04a, 0x1010, 0x2611, 
+    0xf0ce, 0xc000, 0xe0c0, 0x0041, 0xe005, 0x00a0, 0xae11, 0xe042, 
+    0xe0c1, 0x005a, 0xae1b, 0xe042, 0xc000, 0x1542, 0xaf0f, 0xae13, 
+    0xe042, 0xce20, 0xd111, 0x0600, 0xd112, 0x0100, 0xd113, 0x0002, 
+    0xca28, 0xf7f8, 0xe42e, 0x1542, 0xe009, 0x007f, 0xf1f9, 0xc001, 
+    0x1416, 0xf04a, 0x1010, 0x2611, 0xf0ce, 0xc000, 0xe0c0, 0x0041, 
+    0xe005, 0x00a0, 0xae11, 0xe042, 0xe0c1, 0x005a, 0xae1b, 0xe042, 
+    0xc000, 0x1542, 0xae05, 0xe042, 0xce20, 0xd111, 0x0600, 0xd112, 
+    0x0100, 0xd113, 0x0003, 0xca28, 0xf7f8, 0x1542, 0xe009, 0x007f, 
+    0xae03, 0xe001, 0x0600, 0xe09d, 0x1096, 0x2696, 0xcf48, 0xe190, 
+    0xe42e, 0xa200, 0x4e40, 0x4e41, 0x4e42, 0xe41e, 0x0a2f, 0xe41e, 
+    0x1377, 0x1442, 0xe002, 0x0117, 0xf028, 0xe190, 0x1440, 0xe41a, 
+    0x0a59, 0xe41e, 0x13c9, 0xe41e, 0x138a, 0x1442, 0xa002, 0x4e42, 
+    0x1440, 0xa002, 0x4e40, 0x0c15, 0xf6d4, 0xa200, 0x4e40, 0x1441, 
+    0xa002, 0x4e41, 0x0c16, 0xf042, 0xe41e, 0x13a8, 0xf63e, 0x1414, 
+    0xa106, 0xe418, 0x12d3, 0xe42e, 0xa200, 0x4e40, 0x4e41, 0x4e42, 
+    0xe41e, 0x0a2f, 0xe41e, 0x1377, 0x1442, 0xe002, 0x0040, 0xf028, 
+    0xe190, 0x1440, 0xe41a, 0x0a59, 0xe41e, 0x13f2, 0xe41e, 0x138a, 
+    0x1442, 0xa002, 0x4e42, 0x1440, 0xa002, 0x4e40, 0x0c15, 0xf6d4, 
+    0xa200, 0x4e40, 0x1441, 0xa002, 0x4e41, 0x0c16, 0xf042, 0xe41e, 
+    0x13a8, 0xf63e, 0x1414, 0xa104, 0xe418, 0x12d3, 0xe42e, 0xa200, 
+    0x4e1f, 0x4e20, 0xa21e, 0x4e21, 0x4e22, 0xe42e, 0xe085, 0xa101, 
+    0xf08b, 0xe083, 0x0520, 0xe09d, 0x1486, 0x3622, 0xa802, 0xe42e, 
+    0xba40, 0xe42e, 0x1440, 0xa002, 0x0c15, 0xf0e2, 0x1522, 0xa807, 
+    0x1420, 0xb436, 0x4e20, 0x1422, 0xe049, 0xa818, 0xa007, 0xa807, 
+    0xe056, 0x4e22, 0xe42e, 0x1521, 0xa819, 0x141e, 0xb612, 0x041f, 
+    0x4e1f, 0x4e20, 0x1421, 0xa018, 0xa81e, 0x4e21, 0x4e22, 0xe42e, 
+    0x8a0d, 0x0008, 0xf1dc, 0xba40, 0xf1b8, 0xe41e, 0x03fa, 0xa200, 
+    0xba4f, 0xae10, 0xe056, 0xba4f, 0xae10, 0xe056, 0xe002, 0x00aa, 
+    0xf0aa, 0xa102, 0xf03a, 0xa200, 0xe42e, 0xba4e, 0xba4e, 0xba4e, 
+    0xba4e, 0xba4e, 0xba4e, 0xba4e, 0xba4e, 0xba4e, 0xba4e, 0xa202, 
+    0xe42e, 0xe41e, 0x1425, 0xe41e, 0x0a7b, 0xe41e, 0x1486, 0xa27e, 
+    0x4e49, 0xb830, 0xe41e, 0x0af8, 0x4e4a, 0x1514, 0xa107, 0xa200, 
+    0xe419, 0x12c4, 0xba40, 0x4e48, 0xe162, 0x056b, 0x154a, 0xd022, 
+    0x0005, 0xe184, 0x13e4, 0x478a, 0xaf03, 0xe41e, 0x07b9, 0xe41e, 
+    0x14ee, 0xe41e, 0x0af3, 0xe41e, 0x0b72, 0xe41e, 0x0821, 0xe41e, 
+    0x0aa2, 0xe42e, 0xe41e, 0x1425, 0xe41e, 0x0a7b, 0xe41e, 0x1486, 
+    0xe41e, 0x14c5, 0xe41e, 0x142f, 0xe41e, 0x0acf, 0xe41e, 0x0af3, 
+    0xe41e, 0x11aa, 0xe41e, 0x0af3, 0xe41e, 0x1460, 0xe161, 0x0565, 
+    0xe162, 0x056b, 0x1449, 0x154a, 0xd022, 0x0005, 0xe184, 0x1413, 
+    0x4689, 0xaf02, 0x478a, 0xaf03, 0xe41e, 0x07b9, 0xe41e, 0x1537, 
+    0xe41e, 0x0af3, 0x1414, 0xa102, 0xe41a, 0x0b1c, 0xe41e, 0x0b72, 
+    0xe41e, 0x0821, 0xe41e, 0x0aa2, 0xe42e, 0xa200, 0xe166, 0x0043, 
+    0xc70c, 0x4e96, 0xe166, 0x0560, 0xc723, 0x4e96, 0xe42e, 0xa200, 
+    0x4e43, 0xa200, 0x4e44, 0xa200, 0x4e49, 0x1517, 0xaf05, 0xa807, 
+    0xa107, 0xf0a9, 0xe161, 0x0460, 0x151a, 0xaf0d, 0xa80f, 0xe095, 
+    0xe41e, 0x137e, 0x4e43, 0x1514, 0xa105, 0xf0a9, 0xe161, 0x0460, 
+    0x151a, 0xa80f, 0xe095, 0xe41e, 0x137e, 0xb670, 0x4e44, 0xe161, 
+    0x04cc, 0x151a, 0xaf07, 0xa80f, 0xe095, 0xe41e, 0x137e, 0xa27f, 
+    0xb611, 0x4f4a, 0x1443, 0xe42b, 0xe42a, 0x502c, 0x4e4a, 0xe42e, 
+    0x1443, 0xf178, 0x1470, 0x1549, 0xf098, 0xf05b, 0xe41e, 0x1494, 
+    0xba40, 0x4e48, 0xa200, 0x4e4a, 0xe42e, 0xf03b, 0xba40, 0x4e48, 
+    0x502c, 0x4e4a, 0xe41e, 0x1494, 0xa202, 0xe41e, 0x14d0, 0xe42e, 
+    0x1449, 0x264a, 0xe418, 0x1494, 0x1449, 0xe418, 0x0afc, 0xf03a, 
+    0xba40, 0x4e48, 0x144a, 0xe41e, 0x14d0, 0xe42e, 0x1519, 0xe04a, 
+    0xaf0a, 0xa83e, 0x4e45, 0xe04a, 0xaf16, 0xa802, 0x4e46, 0xe04a, 
+    0xaf14, 0xa802, 0x4e47, 0xe42e, 0x8a18, 0x0007, 0xe42c, 0x1418, 
+    0xaf0a, 0xa806, 0xa106, 0xf15a, 0xa200, 0x1540, 0xb496, 0x0d15, 
+    0xa003, 0xb436, 0xae02, 0x1541, 0xb496, 0x0d16, 0xa003, 0xb436, 
+    0x2218, 0xe42a, 0x1419, 0xa83e, 0x4e45, 0xa200, 0x4e46, 0xe42e, 
+    0x8a18, 0x0004, 0xf09c, 0xba40, 0xe42a, 0x1419, 0xa83e, 0x4e45, 
+    0xa200, 0x4e46, 0xe42e, 0xba45, 0xe04a, 0xa10f, 0x0445, 0xf029, 
+    0xba48, 0x4e45, 0xa200, 0x4e46, 0xe42e, 0x1417, 0xaf0e, 0xa802, 
+    0x4e4d, 0x1417, 0xaf08, 0xa806, 0x4e4c, 0xa200, 0x4e4e, 0xe42e, 
+    0x8a17, 0x0007, 0x1549, 0xe015, 0xe051, 0xe42d, 0xe42b, 0x512b, 
+    0xe04a, 0xaf06, 0x4e4d, 0xa80f, 0xae03, 0x4f6e, 0xe004, 0xea54, 
+    0x366e, 0xa806, 0x4e4c, 0xae03, 0x4f6e, 0xe004, 0x0a82, 0xae20, 
+    0xe00a, 0xa828, 0x366e, 0xa81e, 0x4e4e, 0xe42e, 0xa200, 0x1545, 
+    0xa103, 0xb456, 0xa103, 0xb436, 0x4e74, 0xa010, 0x4e73, 0xe166, 
+    0x056c, 0xe167, 0x0572, 0xa200, 0xc705, 0x4e96, 0xc705, 0x4e97, 
+    0xa200, 0x4e75, 0xe162, 0x0566, 0x1430, 0xe096, 0x1432, 0xe098, 
+    0xa202, 0x4e4b, 0xd022, 0x0003, 0xe184, 0x151c, 0x1475, 0xce90, 
+    0xd140, 0x0000, 0xe41e, 0x15cc, 0xe008, 0x0fff, 0xce82, 0x1492, 
+    0xe418, 0x15e5, 0x1475, 0xa002, 0x4e75, 0x1430, 0xa004, 0xe096, 
+    0x1431, 0xa008, 0xe098, 0xd022, 0x0001, 0xe184, 0x1535, 0x1475, 
+    0xce90, 0xd140, 0x0000, 0xe41e, 0x15cc, 0xe008, 0x0fff, 0xce82, 
+    0x1492, 0xe418, 0x15e5, 0x1475, 0xa002, 0x4e75, 0xe42e, 0xa200, 
+    0x1545, 0xa103, 0xb456, 0xa103, 0xb436, 0x4e74, 0xa010, 0x4e73, 
+    0xe166, 0x056c, 0xe167, 0x0572, 0xa200, 0xc705, 0x4e96, 0xc705, 
+    0x4e97, 0xa200, 0x4e75, 0xe161, 0x0560, 0xe162, 0x0566, 0xe166, 
+    0x056c, 0xe167, 0x0572, 0x1430, 0xe096, 0x1431, 0xe098, 0xa008, 
+    0xe09a, 0xa202, 0x4e4b, 0xd022, 0x0003, 0xe184, 0x158f, 0x1475, 
+    0xce90, 0x1491, 0x1582, 0xf0ca, 0xd140, 0x0000, 0xe41e, 0x15cc, 
+    0x1582, 0xe008, 0x0fff, 0xce82, 0xe419, 0x15e5, 0xf1ce, 0xf1bb, 
+    0xe41e, 0x1669, 0x8a87, 0x0003, 0xd140, 0x0000, 0xe41d, 0x1627, 
+    0x8a87, 0x0002, 0xd140, 0x0010, 0xe41d, 0x1627, 0x8a87, 0x0001, 
+    0xd140, 0x0020, 0xe41d, 0x1627, 0x8a87, 0x0000, 0xd140, 0x0030, 
+    0xe41d, 0x1627, 0x8092, 0x8096, 0x8097, 0x1475, 0xa002, 0x4e75, 
+    0x1430, 0xa004, 0xe096, 0x1431, 0xa008, 0xe098, 0xd022, 0x0001, 
+    0xe184, 0x15ca, 0x1475, 0xce90, 0x1491, 0x1582, 0xf0ca, 0xd140, 
+    0x0000, 0xe41e, 0x15cc, 0x1582, 0xe008, 0x0fff, 0xce82, 0xe419, 
+    0x15e5, 0xf1ce, 0xf1bb, 0xe41e, 0x1669, 0x8a87, 0x0003, 0xd140, 
+    0x0000, 0xe41d, 0x15e5, 0x8a87, 0x0002, 0xd140, 0x0010, 0xe41d, 
+    0x15e5, 0x8a87, 0x0001, 0xd140, 0x0020, 0xe41d, 0x15e5, 0x8a87, 
+    0x0000, 0xd140, 0x0030, 0xe41d, 0x15e5, 0x8092, 0x8096, 0x8097, 
+    0x1475, 0xa002, 0x4e75, 0xe42e, 0x9003, 0xe049, 0xa1ff, 0xe42a, 
+    0xf10b, 0x1574, 0xf059, 0xba41, 0xe42b, 0xe012, 0xe42e, 0xa102, 
+    0x3474, 0xa002, 0x5774, 0xe042, 0xba41, 0xe42b, 0xe012, 0xe42e, 
+    0x5673, 0xba41, 0xe42b, 0xe012, 0xe42e, 0x9004, 0xe049, 0xaf25, 
+    0xf04a, 0xce82, 0xf7bb, 0xe42e, 0xba40, 0xba01, 0xf038, 0xf0e9, 
+    0xf1ae, 0x9004, 0xe089, 0xa143, 0xcc91, 0xcc92, 0xe190, 0xc892, 
+    0xe049, 0xaf25, 0xce82, 0xf6ab, 0xe42e, 0xba40, 0x9004, 0xe089, 
+    0xa143, 0xcc91, 0xcc94, 0xe190, 0xc894, 0xe049, 0xaf25, 0xce82, 
+    0xf5db, 0xe42e, 0xba40, 0x1536, 0xba40, 0xae24, 0xf08b, 0xa201, 
+    0x4f36, 0x5137, 0x4f38, 0xba43, 0xa007, 0x4f39, 0x5739, 0xae19, 
+    0xe056, 0xba41, 0xf06b, 0x5738, 0xe013, 0xe009, 0x0fff, 0xf02e, 
+    0x5738, 0xe056, 0xe049, 0xaf25, 0xce82, 0xf40b, 0xe42e, 0x9005, 
+    0xe049, 0xaf25, 0xf04a, 0xce82, 0xf7bb, 0xe42e, 0xba40, 0xba01, 
+    0xf038, 0xf0e9, 0xf1ae, 0x9005, 0xe08b, 0xa143, 0xcc91, 0xcc92, 
+    0xe190, 0xc892, 0xe049, 0xaf25, 0xce82, 0xf6ab, 0xe42e, 0xba40, 
+    0x9005, 0xe08b, 0xa143, 0xcc91, 0xcc94, 0xe190, 0xc894, 0xe049, 
+    0xaf25, 0xce82, 0xf5db, 0xe42e, 0xba40, 0x1536, 0xba40, 0xae24, 
+    0xf08b, 0xa201, 0x4f36, 0x5137, 0x4f38, 0xba43, 0xa007, 0x4f39, 
+    0x5739, 0xae19, 0xe056, 0xba41, 0xf06b, 0x5738, 0xe013, 0xe009, 
+    0x0fff, 0xf02e, 0x5738, 0xe056, 0xe049, 0xaf25, 0xce82, 0xf40b, 
+    0xe42e, 0x144c, 0x154d, 0x274b, 0xb696, 0x4e86, 0x144e, 0x154b, 
+    0xb616, 0x4e87, 0xa200, 0x4e4b, 0x1486, 0xa108, 0x1587, 0xf148, 
+    0x502e, 0xae02, 0x4e6f, 0xe005, 0xea54, 0x376f, 0xa807, 0x4f86, 
+    0xae02, 0x4e6f, 0xe005, 0x0a82, 0xae21, 0xe00b, 0xa828, 0x376f, 
+    0xa81f, 0x4f87, 0x1486, 0xe429, 0x1486, 0xa211, 0xf0aa, 0x142f, 
+    0x1586, 0xa107, 0xb612, 0xe000, 0x000f, 0x0486, 0xe090, 0x9080, 
+    0x4f87, 0xe42e, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe0c0, 0x0040, 0xe0c1, 0x005b, 0xae1d, 0xe042, 0xce20, 0xd111, 
+    0x0000, 0xd112, 0x0800, 0xd113, 0x000b, 0xca28, 0xf7f8, 0xe42e, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0x0080, 0x0055, 0x00aa, 0x0040, 0x00c0, 0x0033, 0x0066, 0x0099, 
+    0x00cc, 0x002b, 0x00d7, 0x0025, 0x004a, 0x006f, 0x0094, 0x00b9, 
+    0x00de, 0x0020, 0x0060, 0x00a0, 0x00e0, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+    0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 0xe190, 
+};
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc.c linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc.c
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc.c	2009-10-21 16:06:52.000000000 +0200
@@ -0,0 +1,969 @@
+/* linux/driver/media/video/mfc/s3c_mfc.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/version.h>
+#include <linux/module.h>
+#include <linux/delay.h>
+#include <linux/errno.h>
+#include <linux/fs.h>
+#include <linux/kernel.h>
+#include <linux/major.h>
+#include <linux/slab.h>
+#include <linux/poll.h>
+#include <linux/signal.h>
+#include <linux/ioport.h>
+#include <linux/sched.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/kmod.h>
+#include <linux/vmalloc.h>
+#include <linux/init.h>
+#include <linux/miscdevice.h>
+#include <linux/vmalloc.h>
+#include <linux/string.h>
+#include <linux/mm.h>
+#include <linux/platform_device.h>
+#include <linux/time.h>
+#include <linux/clk.h>
+#include <linux/dma-mapping.h>
+#include <linux/mutex.h>
+#include <linux/wait.h>
+
+#include <asm/cacheflush.h>
+#include <asm/memory.h>
+#include <asm/io.h>
+#include <asm/page.h>
+#include <asm/pgtable.h>
+
+#include <plat/regs-clock.h>
+#include <plat/regs-mfc.h>
+#include <plat/map.h>
+#include <plat/media.h>
+
+
+#ifdef CONFIG_S3C6400_PDFW
+#include <asm/arch/pd.h>
+#if defined(CONFIG_S3C6400_KDPMD) || defined(CONFIG_S3C6400_KDPMD_MODULE)
+#include <asm/arch/kdpmd.h>
+#endif
+#endif
+
+#define S3C_MFC_PHYS_BUFFER_SET
+
+#include "s3c_mfc_base.h"
+#include "s3c_mfc_config.h"
+#include "s3c_mfc_init_hw.h"
+#include "s3c_mfc_instance.h"
+#include "s3c_mfc_inst_pool.h"
+#include "s3c_mfc.h"
+#include "s3c_mfc_yuv_buf_manager.h"
+#include "s3c_mfc_databuf.h"
+#include "s3c_mfc_sfr.h"
+#include "s3c_mfc_intr_noti.h"
+#include "s3c_mfc_params.h"
+
+static struct clk	*s3c_mfc_hclk;
+static struct clk	*s3c_mfc_sclk;
+static struct clk	*s3c_mfc_pclk;
+
+static int s3c_mfc_openhandle_count = 0;
+
+static struct mutex *s3c_mfc_mutex = NULL;
+unsigned int s3c_mfc_intr_type = 0;
+
+#define S3C_MFC_SAVE_START_ADDR 0x100
+#define S3C_MFC_SAVE_END_ADDR	0x200
+static unsigned int s3c_mfc_save[S3C_MFC_SAVE_END_ADDR - S3C_MFC_SAVE_START_ADDR];
+
+extern int s3c_mfc_get_config_params(s3c_mfc_inst_context_t *pMfcInst, s3c_mfc_args_t *args);
+extern int s3c_mfc_set_config_params(s3c_mfc_inst_context_t *pMfcInst, s3c_mfc_args_t *args);
+
+typedef struct _MFC_HANDLE {
+	s3c_mfc_inst_context_t *mfc_inst;
+
+#if (defined(DIVX_ENABLE) && (DIVX_ENABLE == 1))
+	unsigned char *pMV;
+	unsigned char *pMBType;
+#endif
+} s3c_mfc_handle_t;
+
+
+#ifdef CONFIG_S3C6400_PDFW
+int s3c_mfc_before_pdoff(void)
+{
+	mfc_debug("mfc context saving before pdoff\n");
+	return 0;
+}
+
+int s3c_mfc_after_pdon(void)
+{
+	mfc_debug("mfc initialization after pdon\n");
+	return 0;
+}
+
+struct pm_devtype s3c_mfc_pmdev = {
+	name:		"mfc",
+	state:		DEV_IDLE,
+	before_pdoff:	s3c_mfc_before_pdoff,
+	after_pdon:	s3c_mfc_after_pdon,
+};
+#endif
+
+
+DECLARE_WAIT_QUEUE_HEAD(s3c_mfc_wait_queue);
+
+static struct resource *s3c_mfc_mem;
+void __iomem *s3c_mfc_sfr_base_virt_addr;
+
+dma_addr_t s3c_mfc_phys_buffer;
+
+static irqreturn_t s3c_mfc_irq(int irq, void *dev_id)
+{
+	unsigned int	intReason;
+	s3c_mfc_inst_context_t		*pMfcInst;
+
+
+	pMfcInst = (s3c_mfc_inst_context_t *)dev_id;
+
+	intReason	= s3c_mfc_intr_reason();
+
+	/* if PIC_RUN, buffer full and buffer empty interrupt */
+	if (intReason & S3C_MFC_INTR_ENABLE_RESET) {
+		s3c_mfc_intr_type = intReason;
+		wake_up_interruptible(&s3c_mfc_wait_queue);
+	}
+
+	s3c_mfc_clear_intr();
+
+	return IRQ_HANDLED;
+}
+
+static int s3c_mfc_open(struct inode *inode, struct file *file)
+{
+	s3c_mfc_handle_t		*handle;
+
+	/* 
+	 * Mutex Lock
+	 */
+	mutex_lock(s3c_mfc_mutex);
+
+	clk_enable(s3c_mfc_hclk);
+	clk_enable(s3c_mfc_sclk);
+	clk_enable(s3c_mfc_pclk);
+
+	s3c_mfc_openhandle_count++;
+	if (s3c_mfc_openhandle_count == 1) {
+#if defined(CONFIG_S3C6400_KDPMD) || defined(CONFIG_S3C6400_KDPMD_MODULE)
+		kdpmd_set_event(s3c_mfc_pmdev.devid, KDPMD_DRVOPEN);
+		kdpmd_wakeup();
+		kdpmd_wait(s3c_mfc_pmdev.devid);
+		s3c_mfc_pmdev.state = DEV_RUNNING;
+		mfc_debug("mfc_open woke up\n");
+#endif
+
+		/*
+		 * 3. MFC Hardware Initialization
+		 */
+		if (s3c_mfc_init_hw() == FALSE) 
+			return -ENODEV;	
+	}
+
+
+	handle = (s3c_mfc_handle_t *)kmalloc(sizeof(s3c_mfc_handle_t), GFP_KERNEL);
+	if (!handle) {
+		mfc_debug("mfc open error\n");
+		mutex_unlock(s3c_mfc_mutex);
+		return -ENOMEM;
+	}
+	memset(handle, 0, sizeof(s3c_mfc_handle_t));
+
+
+	/* 
+	 * MFC Instance creation
+	 */
+	handle->mfc_inst = s3c_mfc_inst_create();
+	if (handle->mfc_inst == NULL) {
+		mfc_err("fail to mfc instance allocation\n");
+		mutex_unlock(s3c_mfc_mutex);
+		return -EPERM;
+	}
+
+	/*
+	 * MFC supports multi-instance. so each instance have own data structure
+	 * It saves file->private_data
+	 */
+	file->private_data = (s3c_mfc_handle_t *)handle;
+
+	mutex_unlock(s3c_mfc_mutex);
+
+	mfc_debug("mfc open success\n");
+
+	return 0;
+}
+
+
+static int s3c_mfc_release(struct inode *inode, struct file *file)
+{
+	s3c_mfc_handle_t *handle = NULL;
+
+	mutex_lock(s3c_mfc_mutex);
+
+	handle = (s3c_mfc_handle_t *)file->private_data;
+	if (handle->mfc_inst == NULL) {
+		mutex_unlock(s3c_mfc_mutex);
+		return -EPERM;
+	};
+
+	mfc_debug("deleting instance number = %d\n", handle->mfc_inst->inst_no);
+
+	s3c_mfc_inst_del(handle->mfc_inst);
+
+	s3c_mfc_openhandle_count--;
+	if (s3c_mfc_openhandle_count == 0) {
+
+#if defined(CONFIG_S3C6400_KDPMD) || defined(CONFIG_S3C6400_KDPMD_MODULE)
+		s3c_mfc_pmdev.state = DEV_IDLE;
+		kdpmd_set_event(s3c_mfc_pmdev.devid, KDPMD_DRVCLOSE);
+		kdpmd_wakeup();
+		kdpmd_wait(s3c_mfc_pmdev.devid);
+#endif
+
+		clk_disable(s3c_mfc_hclk);
+		clk_disable(s3c_mfc_sclk);
+		clk_disable(s3c_mfc_pclk);		
+	}
+
+	mutex_unlock(s3c_mfc_mutex);
+
+	return 0;
+}
+
+
+static ssize_t s3c_mfc_write(struct file *file, const char *buf, size_t count, loff_t *pos)
+{
+	return 0;
+}
+
+static ssize_t s3c_mfc_read(struct file *file, char *buf, size_t count, loff_t *pos)
+{	
+	return 0;
+}
+
+static int s3c_mfc_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
+{
+	int ret = 0;
+	int buf_size;
+	int nStrmLen, nHdrLen;
+	int out;
+	int yuv_size;
+	int size;
+	
+	void		*temp;
+	unsigned int	vir_mv_addr;
+	unsigned int	vir_mb_type_addr;
+	unsigned int	tmp;
+	unsigned int	in_usr_data, yuv_buffer, run_index, out_buf_size, databuf_vaddr, offset;
+	unsigned int	yuv_buff_cnt, databuf_paddr;
+	unsigned char	*OutBuf	= NULL;
+	unsigned char	*start, *end;
+	
+	s3c_mfc_inst_context_t	*pMfcInst;
+	s3c_mfc_handle_t		*handle;
+	s3c_mfc_codec_mode_t	codec_mode = 0;
+	s3c_mfc_args_t		args;
+	s3c_mfc_enc_info_t		enc_info;
+
+	/* 
+	 * Parameter Check
+	 */
+	handle = (s3c_mfc_handle_t *)file->private_data;
+	if (handle->mfc_inst == NULL) {
+		return -EFAULT;
+	}
+
+	pMfcInst = handle->mfc_inst;
+
+	switch (cmd) {
+	case S3C_MFC_IOCTL_MFC_MPEG4_ENC_INIT:
+	case S3C_MFC_IOCTL_MFC_H264_ENC_INIT:
+	case S3C_MFC_IOCTL_MFC_H263_ENC_INIT:
+		mutex_lock(s3c_mfc_mutex);
+
+		mfc_debug("cmd = %d\n", cmd);
+
+		out = copy_from_user(&args.enc_init, (s3c_mfc_enc_init_arg_t *)arg, 
+						sizeof(s3c_mfc_enc_init_arg_t));
+
+		if ( cmd == S3C_MFC_IOCTL_MFC_MPEG4_ENC_INIT )
+			codec_mode = MP4_ENC;
+		else if ( cmd == S3C_MFC_IOCTL_MFC_H264_ENC_INIT )
+			codec_mode = AVC_ENC;
+		else if ( cmd == S3C_MFC_IOCTL_MFC_H263_ENC_INIT )
+			codec_mode = H263_ENC;
+
+		/* 
+		 * Initialize MFC Instance
+		 */
+		enc_info.width			= args.enc_init.in_width;
+		enc_info.height			= args.enc_init.in_height;
+		enc_info.bitrate		= args.enc_init.in_bitrate;
+		enc_info.gop_number		= args.enc_init.in_gopNum;
+		enc_info.frame_rate_residual	= args.enc_init.in_frameRateRes;
+		enc_info.frame_rate_division	= args.enc_init.in_frameRateDiv;
+
+		/*
+		enc_info.intraqp	= args.enc_init.in_intraqp;
+		enc_info.qpmax		= args.enc_init.in_qpmax;
+		enc_info.gamma		= args.enc_init.in_gamma;
+		*/
+
+		ret = s3c_mfc_instance_init_enc(pMfcInst, codec_mode, &enc_info);
+
+		args.enc_init.ret_code = ret;
+		out = copy_to_user((s3c_mfc_enc_init_arg_t *)arg, &args.enc_init, 
+						sizeof(s3c_mfc_enc_init_arg_t));
+
+		mutex_unlock(s3c_mfc_mutex);
+		break;
+
+	case S3C_MFC_IOCTL_MFC_MPEG4_ENC_EXE:
+	case S3C_MFC_IOCTL_MFC_H264_ENC_EXE:
+	case S3C_MFC_IOCTL_MFC_H263_ENC_EXE:
+		mutex_lock(s3c_mfc_mutex);
+
+		out = copy_from_user(&args.enc_exe, (s3c_mfc_enc_exe_arg_t *)arg, 
+							sizeof(s3c_mfc_enc_exe_arg_t));
+
+		tmp = (pMfcInst->width * pMfcInst->height * 3) >> 1;
+
+		start = pMfcInst->yuv_buffer;
+		size = tmp * pMfcInst->yuv_buffer_count; 
+		dma_cache_maint(start, size, DMA_TO_DEVICE);
+
+		/* 
+		 * Encode MFC Instance
+		 */
+		ret = s3c_mfc_inst_enc(pMfcInst, &nStrmLen, &nHdrLen);
+
+		start = pMfcInst->stream_buffer;
+		size = pMfcInst->stream_buffer_size;
+		dma_cache_maint(start, size, DMA_FROM_DEVICE);
+
+		args.enc_exe.ret_code	= ret;
+		if (ret == S3C_MFC_INST_RET_OK) {
+			args.enc_exe.out_encoded_size = nStrmLen;
+			args.enc_exe.out_header_size  = nHdrLen;
+		}
+		out = copy_to_user((s3c_mfc_enc_exe_arg_t *)arg, &args.enc_exe, 
+						sizeof(s3c_mfc_enc_exe_arg_t));
+
+		mutex_unlock(s3c_mfc_mutex);
+		break;
+
+	case S3C_MFC_IOCTL_MFC_MPEG4_DEC_INIT:
+	case S3C_MFC_IOCTL_MFC_H264_DEC_INIT:
+	case S3C_MFC_IOCTL_MFC_H263_DEC_INIT:
+	case S3C_MFC_IOCTL_MFC_VC1_DEC_INIT:
+		mutex_lock(s3c_mfc_mutex);
+
+		out = copy_from_user(&args.dec_init, (s3c_mfc_dec_init_arg_t *)arg, 
+							sizeof(s3c_mfc_dec_init_arg_t));
+
+		if ( cmd == S3C_MFC_IOCTL_MFC_MPEG4_DEC_INIT )
+			codec_mode = MP4_DEC;
+		else if ( cmd == S3C_MFC_IOCTL_MFC_H264_DEC_INIT )
+			codec_mode = AVC_DEC;
+		else if ( cmd == S3C_MFC_IOCTL_MFC_H263_DEC_INIT)
+			codec_mode = H263_DEC;
+		else {
+			codec_mode = VC1_DEC;
+		}
+
+		/* 
+		 * Initialize MFC Instance
+		 */
+		ret = s3c_mfc_inst_init_dec(pMfcInst, codec_mode, 
+						args.dec_init.in_strmSize);
+
+		args.dec_init.ret_code	= ret;
+		if (ret == S3C_MFC_INST_RET_OK) {
+			args.dec_init.out_width	     = pMfcInst->width;
+			args.dec_init.out_height     = pMfcInst->height;
+			args.dec_init.out_buf_width  = pMfcInst->buf_width;
+			args.dec_init.out_buf_height = pMfcInst->buf_height;
+		}
+		out = copy_to_user((s3c_mfc_dec_init_arg_t *)arg, &args.dec_init, 
+							sizeof(s3c_mfc_dec_init_arg_t));
+
+		mutex_unlock(s3c_mfc_mutex);
+		break;
+
+	case S3C_MFC_IOCTL_MFC_MPEG4_DEC_EXE:
+	case S3C_MFC_IOCTL_MFC_H264_DEC_EXE:
+	case S3C_MFC_IOCTL_MFC_H263_DEC_EXE:
+	case S3C_MFC_IOCTL_MFC_VC1_DEC_EXE:
+		mutex_lock(s3c_mfc_mutex);
+
+		out = copy_from_user(&args.dec_exe, (s3c_mfc_dec_exe_arg_t *)arg, 
+							sizeof(s3c_mfc_dec_exe_arg_t));
+
+		tmp = (pMfcInst->width * pMfcInst->height * 3) >> 1;
+
+		start = pMfcInst->stream_buffer;
+		size = pMfcInst->stream_buffer_size;
+		dma_cache_maint(start, size, DMA_TO_DEVICE);
+
+		ret = s3c_mfc_inst_dec(pMfcInst, args.dec_exe.in_strmSize);
+
+		start = pMfcInst->yuv_buffer;
+		size = tmp * pMfcInst->yuv_buffer_count;
+		dma_cache_maint(start, size, DMA_FROM_DEVICE);	
+
+		args.dec_exe.ret_code = ret;
+		out = copy_to_user((s3c_mfc_dec_exe_arg_t *)arg, &args.dec_exe,
+						 sizeof(s3c_mfc_dec_exe_arg_t));
+
+		mutex_unlock(s3c_mfc_mutex);
+		break;
+
+	case S3C_MFC_IOCTL_MFC_GET_LINE_BUF_ADDR:
+		mutex_lock(s3c_mfc_mutex);
+
+		out = copy_from_user(&args.get_buf_addr, 
+			(s3c_mfc_get_buf_addr_arg_t *)arg, sizeof(s3c_mfc_get_buf_addr_arg_t));
+
+		ret = s3c_mfc_inst_get_line_buff(pMfcInst, &OutBuf, &buf_size);
+
+		args.get_buf_addr.out_buf_size	= buf_size;
+		args.get_buf_addr.out_buf_addr	= args.get_buf_addr.in_usr_data + (OutBuf - s3c_mfc_get_databuf_virt_addr());
+		args.get_buf_addr.ret_code	= ret;
+
+		out = copy_to_user((s3c_mfc_get_buf_addr_arg_t *)arg, 
+			&args.get_buf_addr, sizeof(s3c_mfc_get_buf_addr_arg_t));
+
+		mutex_unlock(s3c_mfc_mutex);
+		break;
+
+	case S3C_MFC_IOCTL_MFC_GET_YUV_BUF_ADDR:
+		mutex_lock(s3c_mfc_mutex);
+
+		out = copy_from_user(&args.get_buf_addr, 
+			(s3c_mfc_get_buf_addr_arg_t *)arg, 
+			sizeof(s3c_mfc_get_buf_addr_arg_t));
+
+		if (pMfcInst->yuv_buffer == NULL) {
+			mfc_err("mfc frame buffer is not internally allocated yet\n");
+			mutex_unlock(s3c_mfc_mutex);
+			return -EFAULT;
+		}
+
+		/* FRAM_BUF address is calculated differently for Encoder and Decoder. */
+		switch (pMfcInst->codec_mode) {
+		case MP4_DEC:
+		case AVC_DEC:
+		case VC1_DEC:
+		case H263_DEC:
+			/* Decoder case */
+			yuv_size = (pMfcInst->buf_width * pMfcInst->buf_height * 3) >> 1;
+			args.get_buf_addr.out_buf_size = yuv_size;
+
+			in_usr_data = (unsigned int)args.get_buf_addr.in_usr_data;
+			yuv_buffer = (unsigned int)pMfcInst->yuv_buffer;
+			run_index = pMfcInst->run_index;
+			out_buf_size = args.get_buf_addr.out_buf_size;
+			databuf_vaddr = (unsigned int)s3c_mfc_get_databuf_virt_addr();
+			offset = yuv_buffer + run_index * out_buf_size - databuf_vaddr;
+			
+#if (S3C_MFC_ROTATE_ENABLE == 1)
+			if ((pMfcInst->codec_mode != VC1_DEC) && 
+				(pMfcInst->post_rotation_mode & 0x0010)) {
+				yuv_buff_cnt = pMfcInst->yuv_buffer_count;
+				offset = yuv_buffer + yuv_buff_cnt * out_buf_size - databuf_vaddr;
+			}
+#endif
+			args.get_buf_addr.out_buf_addr = in_usr_data + offset;
+			break;
+
+		case MP4_ENC:
+		case AVC_ENC:
+		case H263_ENC:
+			/* Encoder case */
+			yuv_size = (pMfcInst->width * pMfcInst->height * 3) >> 1;
+			in_usr_data = args.get_buf_addr.in_usr_data;
+			run_index = pMfcInst->run_index;
+			yuv_buffer = (unsigned int)pMfcInst->yuv_buffer;
+			databuf_vaddr = (unsigned int)s3c_mfc_get_databuf_virt_addr();
+			offset = run_index * yuv_size + (yuv_buffer - databuf_vaddr);
+			
+			args.get_buf_addr.out_buf_addr = in_usr_data + offset;			
+			break;
+		} /* end of switch (codec_mode) */
+
+		args.get_buf_addr.ret_code = S3C_MFC_INST_RET_OK;
+		out = copy_to_user((s3c_mfc_get_buf_addr_arg_t *)arg, &args.get_buf_addr, sizeof(s3c_mfc_get_buf_addr_arg_t));
+
+		mutex_unlock(s3c_mfc_mutex);
+		break;
+
+	case S3C_MFC_IOCTL_MFC_GET_PHY_FRAM_BUF_ADDR:
+		mutex_lock(s3c_mfc_mutex);
+
+		out = copy_from_user(&args.get_buf_addr, 
+			(s3c_mfc_get_buf_addr_arg_t *)arg, 
+			sizeof(s3c_mfc_get_buf_addr_arg_t));
+
+		yuv_size = (pMfcInst->buf_width * pMfcInst->buf_height * 3) >> 1;
+		args.get_buf_addr.out_buf_size = yuv_size;
+		yuv_buffer = (unsigned int)pMfcInst->yuv_buffer;
+		run_index = pMfcInst->run_index;
+		out_buf_size = args.get_buf_addr.out_buf_size;
+		databuf_vaddr = (unsigned int)s3c_mfc_get_databuf_virt_addr();
+		databuf_paddr = (unsigned int)S3C_MFC_BASEADDR_DATA_BUF;
+		offset = yuv_buffer + run_index * out_buf_size - databuf_vaddr;		
+		
+#if (S3C_MFC_ROTATE_ENABLE == 1)
+		if ((pMfcInst->codec_mode != VC1_DEC) && (pMfcInst->post_rotation_mode & 0x0010)) {
+			yuv_buff_cnt = pMfcInst->yuv_buffer_count;
+			offset = yuv_buffer + yuv_buff_cnt * out_buf_size - databuf_vaddr;
+		}
+#endif
+		args.get_buf_addr.out_buf_addr = databuf_paddr + offset;
+		args.get_buf_addr.ret_code = S3C_MFC_INST_RET_OK;
+
+		out = copy_to_user((s3c_mfc_get_buf_addr_arg_t *)arg, 
+			&args.get_buf_addr, sizeof(s3c_mfc_get_buf_addr_arg_t));
+
+		mutex_unlock(s3c_mfc_mutex);
+		break;
+
+	case S3C_MFC_IOCTL_MFC_GET_MPEG4_ASP_PARAM:
+#if (defined(DIVX_ENABLE) && (DIVX_ENABLE == 1))
+
+		out = copy_from_user(&args.mpeg4_asp_param, (s3c_mfc_get_mpeg4asp_arg_t *)arg, \
+							sizeof(s3c_mfc_get_mpeg4asp_arg_t));
+
+		ret = S3C_MFC_INST_RET_OK;
+		args.mpeg4_asp_param.ret_code = S3C_MFC_INST_RET_OK;
+		args.mpeg4_asp_param.mp4asp_vop_time_res = pMfcInst->RET_DEC_SEQ_INIT_BAK_MP4ASP_VOP_TIME_RES;
+		args.mpeg4_asp_param.byte_consumed = pMfcInst->RET_DEC_PIC_RUN_BAK_BYTE_CONSUMED;
+		args.mpeg4_asp_param.mp4asp_fcode = pMfcInst->RET_DEC_PIC_RUN_BAK_MP4ASP_FCODE;
+		args.mpeg4_asp_param.mp4asp_time_base_last = pMfcInst->RET_DEC_PIC_RUN_BAK_MP4ASP_TIME_BASE_LAST;
+		args.mpeg4_asp_param.mp4asp_nonb_time_last = pMfcInst->RET_DEC_PIC_RUN_BAK_MP4ASP_NONB_TIME_LAST;
+		args.mpeg4_asp_param.mp4asp_trd = pMfcInst->RET_DEC_PIC_RUN_BAK_MP4ASP_MP4ASP_TRD;
+
+		args.mpeg4_asp_param.mv_addr = (args.mpeg4_asp_param.in_usr_mapped_addr + S3C_MFC_STREAM_BUF_SIZE) 	\
+							+ (pMfcInst->mv_mbyte_addr - pMfcInst->phys_addr_yuv_buffer);
+		args.mpeg4_asp_param.mb_type_addr = args.mpeg4_asp_param.mv_addr + S3C_MFC_MAX_MV_SIZE;	
+		args.mpeg4_asp_param.mv_size = S3C_MFC_MAX_MV_SIZE;
+		args.mpeg4_asp_param.mb_type_size = S3C_MFC_MAX_MBYTE_SIZE;
+
+		vir_mv_addr = (unsigned int)((pMfcInst->stream_buffer + S3C_MFC_STREAM_BUF_SIZE) + \
+					(pMfcInst->mv_mbyte_addr - pMfcInst->phys_addr_yuv_buffer));
+		vir_mb_type_addr = vir_mv_addr + S3C_MFC_MAX_MV_SIZE;
+
+		out = copy_to_user((s3c_mfc_get_mpeg4asp_arg_t *)arg, &args.mpeg4_asp_param, \
+							sizeof(s3c_mfc_get_mpeg4asp_arg_t));
+#endif	
+		break;
+
+	case S3C_MFC_IOCTL_MFC_GET_CONFIG:
+		mutex_lock(s3c_mfc_mutex);
+
+		out = copy_from_user(&args, (s3c_mfc_args_t *)arg, sizeof(s3c_mfc_args_t));
+
+		ret = s3c_mfc_get_config_params(pMfcInst, &args);
+
+		out = copy_to_user((s3c_mfc_args_t *)arg, &args, sizeof(s3c_mfc_args_t));
+
+		mutex_unlock(s3c_mfc_mutex);
+		break;
+
+	case S3C_MFC_IOCTL_MFC_SET_CONFIG:
+		mutex_lock(s3c_mfc_mutex);
+
+		out = copy_from_user(&args, (s3c_mfc_args_t *)arg, sizeof(s3c_mfc_args_t));
+
+		ret = s3c_mfc_set_config_params(pMfcInst, &args);
+
+		out = copy_to_user((s3c_mfc_args_t *)arg, &args, sizeof(s3c_mfc_args_t));
+
+		mutex_unlock(s3c_mfc_mutex);
+		break;
+
+	case S3C_MFC_IOCTL_VIRT_TO_PHYS:
+		temp = __virt_to_phys((void *)arg);
+		return (int)temp;
+		break;
+
+	default:
+		mutex_lock(s3c_mfc_mutex);
+		mfc_debug("requested ioctl command is not defined (ioctl cmd = 0x%x)\n", cmd);
+		mutex_unlock(s3c_mfc_mutex);
+		return -ENOIOCTLCMD;
+	}
+
+	switch (ret) {
+	case S3C_MFC_INST_RET_OK:
+		return 0;
+	default:
+		return -EPERM;
+	}
+	return -EPERM;
+}
+
+int s3c_mfc_mmap(struct file *filp, struct vm_area_struct *vma)
+{
+	unsigned long size	= vma->vm_end - vma->vm_start;
+	unsigned long maxSize;
+	unsigned long pageFrameNo;
+
+	pageFrameNo = __phys_to_pfn(S3C_MFC_BASEADDR_DATA_BUF);
+
+	maxSize = S3C_MFC_DATA_BUF_SIZE + PAGE_SIZE - (S3C_MFC_DATA_BUF_SIZE % PAGE_SIZE);
+
+	if (size > maxSize) {
+		return -EINVAL;
+	}
+
+	vma->vm_flags |= VM_RESERVED | VM_IO;
+
+	/* nocached setup.
+	 * vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+	 */
+
+	if (remap_pfn_range(vma, vma->vm_start, pageFrameNo, size, vma->vm_page_prot)) {
+		mfc_err("fail to remap\n");
+		return -EAGAIN;
+	}
+
+	return 0;
+}
+
+
+static struct file_operations s3c_mfc_fops = {
+	owner:		THIS_MODULE,
+	open:		s3c_mfc_open,
+	release:	s3c_mfc_release,
+	ioctl:		s3c_mfc_ioctl,
+	read:		s3c_mfc_read,
+	write:		s3c_mfc_write,
+	mmap:		s3c_mfc_mmap,
+};
+
+
+static struct miscdevice s3c_mfc_miscdev = {
+	minor:		252, 		
+	name:		"s3c-mfc",
+	fops:		&s3c_mfc_fops
+};
+
+static BOOL s3c_mfc_setup_clock(void)
+{
+	unsigned int	mfc_clk;
+	
+	/* mfc clock set 133 Mhz */
+	mfc_clk = readl(S3C_CLK_DIV0);
+	mfc_clk |= (1 << 28);
+	__raw_writel(mfc_clk, S3C_CLK_DIV0);
+
+	return TRUE;
+
+}
+
+static int s3c_mfc_probe(struct platform_device *pdev)
+{
+	int	size;
+	int	ret;
+	struct resource *res;	
+	unsigned int mfc_clk;
+
+	/* mfc clock enable  */
+	s3c_mfc_hclk = clk_get(&pdev->dev, "hclk_mfc");
+	if (!s3c_mfc_hclk || IS_ERR(s3c_mfc_hclk)) {
+		mfc_err("failed to get mfc hclk source\n");
+		return -ENOENT;
+	}	
+	clk_enable(s3c_mfc_hclk);
+
+	s3c_mfc_sclk = clk_get(&pdev->dev, "sclk_mfc");
+	if (!s3c_mfc_sclk || IS_ERR(s3c_mfc_sclk)) {
+		mfc_err("failed to get mfc sclk source\n");
+		return -ENOENT;
+	}
+	clk_enable(s3c_mfc_sclk);
+
+	s3c_mfc_pclk = clk_get(&pdev->dev, "pclk_mfc");
+	if (!s3c_mfc_pclk || IS_ERR(s3c_mfc_pclk)) {
+		mfc_err("failed to get mfc pclk source\n");
+		return -ENOENT;
+	}
+	clk_enable(s3c_mfc_pclk);
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (res == NULL) {
+		mfc_err("failed to get memory region resouce\n");
+		return -ENOENT;
+	}
+
+	size = (res->end-res->start)+1;
+	s3c_mfc_mem = request_mem_region(res->start, size, pdev->name);
+	if (s3c_mfc_mem == NULL) {
+		mfc_err("failed to get memory region\n");
+		return -ENOENT;
+	}
+
+	s3c_mfc_sfr_base_virt_addr = ioremap_nocache(res->start, size);
+	if (s3c_mfc_sfr_base_virt_addr == 0) {
+		mfc_err("failed to ioremap() region\n");
+		return -EINVAL;
+	}
+
+	res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
+	if (res == NULL) {
+		mfc_err("failed to get irq resource\n");
+		return -ENOENT;
+	}
+
+	ret = request_irq(res->start, s3c_mfc_irq, IRQF_DISABLED, pdev->name, pdev);
+	if (ret != 0) {
+		mfc_err("failed to install irq (%d)\n", ret);
+		return ret;
+	}
+
+	s3c_mfc_phys_buffer = s3c_get_media_memory(S3C_MDEV_MFC);
+
+	/* mutex creation and initialization */
+	s3c_mfc_mutex = (struct mutex *)kmalloc(sizeof(struct mutex), GFP_KERNEL);
+	if (s3c_mfc_mutex == NULL)
+		return -ENOMEM;
+
+	mutex_init(s3c_mfc_mutex);
+
+	/* mfc clock set 133 Mhz */
+	if (s3c_mfc_setup_clock() == FALSE)
+		return -ENODEV;
+	
+	/*
+	 * 2. MFC Memory Setup
+	 */
+	if (s3c_mfc_setup_memory() == FALSE)
+		return -ENOMEM;
+
+	/*
+	 * 3. MFC Hardware Initialization
+	 */
+	if (s3c_mfc_init_hw() == FALSE)
+		return -ENODEV;
+
+	ret = misc_register(&s3c_mfc_miscdev);
+
+	clk_disable(s3c_mfc_hclk);
+	clk_disable(s3c_mfc_sclk);
+	clk_disable(s3c_mfc_pclk);
+
+	return 0;
+}
+
+static int s3c_mfc_remove(struct platform_device *dev)
+{
+	if (s3c_mfc_mem != NULL) {
+		release_resource(s3c_mfc_mem);
+		kfree(s3c_mfc_mem);
+		s3c_mfc_mem = NULL;
+	}
+
+	free_irq(IRQ_MFC, dev);
+
+	misc_deregister(&s3c_mfc_miscdev);
+	return 0;
+}
+
+static int s3c_mfc_suspend(struct platform_device *dev, pm_message_t state)
+{
+
+	int	inst_no;
+	int	is_mfc_on = 0;
+	int	i, index = 0;
+
+	s3c_mfc_inst_context_t *mfcinst_ctx;
+	unsigned int	dwMfcBase;
+
+	mutex_lock(s3c_mfc_mutex);
+
+	is_mfc_on = 0;
+
+	/* 
+	 * 1. Power Off state 
+	 * Invalidate all the MFC Instances
+	 */
+	for (inst_no = 0; inst_no < S3C_MFC_NUM_INSTANCES_MAX; inst_no++) {
+		mfcinst_ctx = s3c_mfc_inst_get_context(inst_no);
+		if (mfcinst_ctx) {
+			is_mfc_on = 1;
+
+	/* 
+	 * On Power Down, the MFC instance is invalidated.
+	 * Then the MFC operations (DEC_EXE, ENC_EXE, etc.) will not be performed 
+	 * until it is validated by entering Power up state transition
+	 */
+			s3c_mfc_inst_pow_off_state(mfcinst_ctx);
+			mfc_err("mfc suspend %d-th instance is invalidated\n", inst_no);
+		}
+	}
+
+	/* 2. Command MFC sleep and save MFC SFR */
+	if (is_mfc_on) {
+		dwMfcBase = s3c_mfc_sfr_base_virt_addr;
+
+		for (i = S3C_MFC_SAVE_START_ADDR; i <= S3C_MFC_SAVE_END_ADDR; i += 4) {
+			s3c_mfc_save[index] = readl(dwMfcBase + i);
+			index++;	
+		}
+
+		s3c_mfc_sleep();
+	}
+
+
+	/* 3. Disable MFC clock */
+	clk_disable(s3c_mfc_hclk);
+	clk_disable(s3c_mfc_sclk);
+	clk_disable(s3c_mfc_pclk);
+
+	mutex_unlock(s3c_mfc_mutex);
+
+	return 0;
+}
+
+static int s3c_mfc_resume(struct platform_device *pdev)
+{
+
+	int 		i, index = 0;
+	int         	inst_no;
+	int		is_mfc_on = 0;
+	unsigned int	mfc_pwr, dwMfcBase;
+	unsigned int	domain_v_ready;
+	
+	s3c_mfc_inst_context_t *mfcinst_ctx;
+
+	mutex_lock(s3c_mfc_mutex);
+
+	clk_enable(s3c_mfc_hclk);
+	clk_enable(s3c_mfc_sclk);
+	clk_enable(s3c_mfc_pclk);
+
+	/* 1. MFC Power On(Domain V) */
+	mfc_pwr = readl(S3C_NORMAL_CFG);
+	mfc_pwr |= (1 << 9);
+	__raw_writel(mfc_pwr, S3C_NORMAL_CFG);
+
+	/* 2. Check MFC power on */
+	do {
+		domain_v_ready = readl(S3C_BLK_PWR_STAT);
+		mfc_debug("domain v ready = 0x%X\n", domain_v_ready);
+		msleep(1);
+	} while (!(domain_v_ready & (1 << 1)));
+
+	/* 3. MFC clock set 133 Mhz */
+	if (s3c_mfc_setup_clock() == FALSE)
+		return -ENODEV;
+
+	/* 4. Firmware download */
+	s3c_mfc_download_boot_firmware();
+
+	/* 
+	 * 5. Power On state
+	 * Validate all the MFC Instances
+	 */
+	for (inst_no = 0; inst_no < S3C_MFC_NUM_INSTANCES_MAX; inst_no++) {
+		mfcinst_ctx = s3c_mfc_inst_get_context(inst_no);
+		if (mfcinst_ctx) {
+			is_mfc_on = 1;
+
+	/* 
+	 * When MFC Power On, the MFC instance is validated.
+	 * Then the MFC operations (DEC_EXE, ENC_EXE, etc.) will be performed again
+	 */
+			s3c_mfc_inst_pow_on_state(mfcinst_ctx);
+			mfc_debug("mfc resume %d-th instance is validated\n", inst_no);
+		}
+	}
+
+	if (is_mfc_on) {
+		/* 5. Restore MFC SFR */
+		dwMfcBase = s3c_mfc_sfr_base_virt_addr;
+		for (i = S3C_MFC_SAVE_START_ADDR; i <= S3C_MFC_SAVE_END_ADDR; i += 4 ) {
+			writel(s3c_mfc_save[index], dwMfcBase + i);
+			index++;
+		}
+
+		/* 6. Command MFC wakeup */
+		s3c_mfc_wakeup();
+	}
+
+	mutex_unlock(s3c_mfc_mutex);
+
+	return 0;
+}
+
+static struct platform_driver s3c_mfc_driver = {
+	.probe		= s3c_mfc_probe,
+	.remove		= s3c_mfc_remove,
+	.shutdown	= NULL,
+	.suspend	= s3c_mfc_suspend,
+	.resume		= s3c_mfc_resume,
+	.driver		= {
+		.owner		= THIS_MODULE,
+		.name		= "s3c-mfc",
+	},
+};
+
+
+static char banner[] __initdata = "S3C6400 MFC Driver, (c) 2007 Samsung Electronics\n";
+
+static int __init s3c_mfc_init(void)
+{
+	printk(banner);
+
+#ifdef CONFIG_S3C6400_PDFW
+	pd_register_dev(&s3c_mfc_pmdev, "domain_v");
+	mfc_info("mfc devid = %d\n", s3c_mfc_pmdev.devid);
+#endif
+
+	if (platform_driver_register(&s3c_mfc_driver) != 0) {
+		mfc_err("fail to register platform device\n");
+		return -EPERM;
+	}
+
+	mfc_info("%s", banner);
+
+	return 0;
+}
+
+static void __exit s3c_mfc_exit(void)
+{
+	mutex_destroy(s3c_mfc_mutex);
+
+#ifdef CONFIG_S3C6400_PDFW
+	pd_unregister_dev(&s3c_mfc_pmdev);
+#endif
+
+	platform_driver_unregister(&s3c_mfc_driver);
+	mfc_debug("S3C64XX MFC driver exit.\n");
+}
+
+
+module_init(s3c_mfc_init);
+module_exit(s3c_mfc_exit);
+
+MODULE_AUTHOR("Jiun, Yu");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,120 @@
+/* linux/driver/media/video/mfc/s3c_mfc.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_H
+#define _S3C_MFC_H
+
+#include <linux/wait.h>
+#include <linux/interrupt.h>
+
+#define S3C_MFC_IOCTL_MFC_MPEG4_DEC_INIT		(0x00800001)
+#define S3C_MFC_IOCTL_MFC_MPEG4_ENC_INIT		(0x00800002)
+#define S3C_MFC_IOCTL_MFC_MPEG4_DEC_EXE			(0x00800003)
+#define S3C_MFC_IOCTL_MFC_MPEG4_ENC_EXE			(0x00800004)
+
+#define S3C_MFC_IOCTL_MFC_H264_DEC_INIT			(0x00800005)
+#define S3C_MFC_IOCTL_MFC_H264_ENC_INIT			(0x00800006)
+#define S3C_MFC_IOCTL_MFC_H264_DEC_EXE			(0x00800007)
+#define S3C_MFC_IOCTL_MFC_H264_ENC_EXE			(0x00800008)
+
+#define S3C_MFC_IOCTL_MFC_H263_DEC_INIT			(0x00800009)
+#define S3C_MFC_IOCTL_MFC_H263_ENC_INIT			(0x0080000A)
+#define S3C_MFC_IOCTL_MFC_H263_DEC_EXE			(0x0080000B)
+#define S3C_MFC_IOCTL_MFC_H263_ENC_EXE			(0x0080000C)
+
+#define S3C_MFC_IOCTL_MFC_VC1_DEC_INIT			(0x0080000D)
+#define S3C_MFC_IOCTL_MFC_VC1_DEC_EXE			(0x0080000E)
+
+#define S3C_MFC_IOCTL_MFC_GET_LINE_BUF_ADDR		(0x0080000F)
+#define S3C_MFC_IOCTL_MFC_GET_RING_BUF_ADDR		(0x00800010)
+#define S3C_MFC_IOCTL_MFC_GET_YUV_BUF_ADDR		(0x00800011)
+#define S3C_MFC_IOCTL_MFC_GET_POST_BUF_ADDR		(0x00800012)
+#define S3C_MFC_IOCTL_MFC_GET_PHY_FRAM_BUF_ADDR		(0x00800013)
+#define S3C_MFC_IOCTL_MFC_GET_CONFIG			(0x00800016)
+#define S3C_MFC_IOCTL_MFC_GET_MPEG4_ASP_PARAM		(0x00800017)
+
+#define S3C_MFC_IOCTL_MFC_SET_H263_MULTIPLE_SLICE	(0x00800014)
+#define S3C_MFC_IOCTL_MFC_SET_CONFIG			(0x00800015)
+
+#define S3C_MFC_IOCTL_MFC_SET_DISP_CONFIG		(0x00800111)
+#define S3C_MFC_IOCTL_MFC_GET_YUV_SIZE			(0x00800112)
+#define S3C_MFC_IOCTL_MFC_SET_PP_DISP_SIZE		(0x00800113)
+#define S3C_MFC_IOCTL_MFC_SET_DEC_INBUF_TYPE		(0x00800114)
+
+#define S3C_MFC_IOCTL_VIRT_TO_PHYS			0x12345678
+
+#if (defined(DIVX_ENABLE) && (DIVX_ENABLE == 1))
+#define S3C_MFC_IOCTL_CACHE_FLUSH_B_YUV			(0x00800115)
+#define S3C_MFC_IOCTL_MFC_GET_PHY_B_YUV_BUF_ADDR	(0x00800116)
+#define S3C_MFC_IOCTL_MFC_GET_B_YUV_BUF_ADDR		(0x00800117)
+#endif
+
+typedef struct
+{
+	int  rotate;
+	int  deblockenable;
+} s3c_mfc_decode_options_t;
+
+#define S3C_MFC_DRV_RET_OK				(0)
+#define S3C_MFC_DRV_RET_ERR_INVALID_PARAM		(-1001)
+#define S3C_MFC_DRV_RET_ERR_HANDLE_INVALIDATED		(-1004)
+#define S3C_MFC_DRV_RET_ERR_OTHERS			(-9001)
+
+/* '25920' is the maximum MV size (=45*36*16) */
+#define S3C_MFC_MAX_MV_SIZE				(45 * 36 * 16)
+/* '1620' is the maximum MBTYE size (=45*36*1) */
+#define S3C_MFC_MAX_MBYTE_SIZE				(45 * 36 * 1)
+
+/* debug macros */
+#define MFC_DEBUG(fmt, ...)					\
+	do {							\
+		printk(KERN_DEBUG				\
+			"%s: " fmt, __func__, ##__VA_ARGS__);	\
+	} while(0)
+
+#define MFC_ERROR(fmt, ...)					\
+	do {							\
+		printk(KERN_ERR					\
+			"%s: " fmt, __func__, ##__VA_ARGS__);	\
+	} while (0)
+
+#define MFC_NOTICE(fmt, ...)					\
+	do {							\
+		printk(KERN_NOTICE				\
+			"%s: " fmt, __func__, ##__VA_ARGS__);	\
+	} while (0)
+
+#define MFC_INFO(fmt, ...)					\
+	do {							\
+		printk(KERN_INFO				\
+			fmt, ##__VA_ARGS__);			\
+	} while (0)
+
+#define MFC_WARN(fmt, ...)					\
+	do {							\
+		printk(KERN_WARNING				\
+			fmt, ##__VA_ARGS__);			\
+	} while (0)
+
+
+#ifdef VIDEO_MFC_DEBUG
+#define mfc_debug(fmt, ...)		MFC_DEBUG(fmt, ##__VA_ARGS__)
+#else
+#define mfc_debug(fmt, ...)
+#endif
+
+#define mfc_err(fmt, ...)		MFC_ERROR(fmt, ##__VA_ARGS__)
+#define mfc_notice(fmt, ...)		MFC_NOTICE(fmt, ##__VA_ARGS__)
+#define mfc_info(fmt, ...)		MFC_INFO(fmt, ##__VA_ARGS__)
+#define mfc_warn(fmt, ...)		MFC_WARN(fmt, ##__VA_ARGS__)
+
+#endif /* _S3C_MFC_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_base.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_base.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_base.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_base.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,136 @@
+/* linux/driver/media/video/mfc/s3c_mfc_base.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_BASE_H
+#define _S3C_MFC_BASE_H
+
+
+/* SDRAM buffer control options */
+#define S3C_MFC_STREAM_ENDIAN_LITTLE              (0<<0)
+#define S3C_MFC_STREAM_ENDIAN_BIG                 (1<<0)
+#define S3C_MFC_BUF_STATUS_FULL_EMPTY_CHECK_BIT   (0<<1)
+#define S3C_MFC_BUF_STATUS_NO_CHECK_BIT           (1<<1)
+
+/* FRAME_BUF_CTRL (0x110) */
+#define S3C_MFC_YUV_MEM_ENDIAN_LITTLE           (0<<0)
+#define S3C_MFC_YUV_MEM_ENDIAN_BIG              (1<<0)
+
+/*
+ *    PRiSM-CX Video Codec IP's Register
+ *    V178
+ */
+
+/* 
+ * DEC_SEQ_INIT Parameter Register 
+ * DEC_SEQ_OPTION (0x18c)
+ */
+#define S3C_MFC_MP4_DBK_DISABLE                   (0<<0)
+#define S3C_MFC_MP4_DBK_ENABLE                    (1<<0)
+#define S3C_MFC_REORDER_DISABLE                   (0<<1)
+#define S3C_MFC_REORDER_ENABLE                    (1<<1)
+#define S3C_MFC_FILEPLAY_ENABLE                   (1<<2)
+#define S3C_MFC_FILEPLAY_DISABLE                  (0<<2)
+#define S3C_MFC_DYNBUFALLOC_ENABLE                (1<<3)
+#define S3C_MFC_DYNBUFALLOC_DISABLE               (0<<3)
+
+/* 
+ * ENC_SEQ_INIT Parameter Register 
+ * ENC_SEQ_OPTION (0x188)
+ */
+#define S3C_MFC_MB_BIT_REPORT_DISABLE             (0<<0)
+#define S3C_MFC_MB_BIT_REPORT_ENABLE              (1<<0)
+#define S3C_MFC_SLICE_INFO_REPORT_DISABLE         (0<<1)
+#define S3C_MFC_SLICE_INFO_REPORT_ENABLE          (1<<1)
+#define S3C_MFC_AUD_DISABLE                       (0<<2)
+#define S3C_MFC_AUD_ENABLE                        (1<<2)
+#define S3C_MFC_MB_QP_REPORT_DISABLE              (0<<3)
+#define S3C_MFC_MB_QP_REPORT_ENBLE                (1<<3)
+#define S3C_MFC_CONST_QP_DISABLE                  (0<<5)
+#define S3C_MFC_CONST_QP_ENBLE                    (1<<5)
+
+/* ENC_SEQ_COD_STD (0x18C) */
+#define S3C_MFC_MPEG4_ENCODE                      0
+#define S3C_MFC_H263_ENCODE                       1
+#define S3C_MFC_H264_ENCODE                       2
+
+/* ENC_SEQ_MP4_PARA (0x198) */
+#define S3C_MFC_DATA_PART_DISABLE                 (0<<0)
+#define S3C_MFC_DATA_PART_ENABLE                  (1<<0)
+
+/* ENC_SEQ_263_PARA (0x19C) */
+#define S3C_MFC_ANNEX_T_OFF                       (0<<0)
+#define S3C_MFC_ANNEX_T_ON                        (1<<0)
+#define S3C_MFC_ANNEX_K_OFF                       (0<<1)
+#define S3C_MFC_ANNEX_K_ON                        (1<<1)
+#define S3C_MFC_ANNEX_J_OFF                       (0<<2)
+#define S3C_MFC_ANNEX_J_ON                        (1<<2)
+#define S3C_MFC_ANNEX_I_OFF                       (0<<3)
+#define S3C_MFC_ANNEX_I_ON                        (1<<3)
+
+/* ENC_SEQ_SLICE_MODE (0x1A4) */
+#define S3C_MFC_SLICE_MODE_ONE                    (0<<0)
+#define S3C_MFC_SLICE_MODE_MULTIPLE               (1<<0)
+
+/* ENC_SEQ_RC_PARA (0x1AC) */
+#define S3C_MFC_RC_DISABLE                        (0<<0)    /* RC means rate control */
+#define S3C_MFC_RC_ENABLE                         (1<<0)
+#define S3C_MFC_SKIP_DISABLE                      (1<<31)
+#define S3C_MFC_SKIP_ENABLE                       (0<<31)
+
+/* ENC_SEQ_FMO (0x1B8) */
+#define S3C_MFC_FMO_DISABLE                       (0<<0)
+#define S3C_MFC_FMO_ENABLE                        (1<<0)
+
+/* ENC_SEQ_RC_OPTION (0x1C4) */
+#define S3C_MFC_USER_QP_MAX_DISABLE               (0<<0)
+#define S3C_MFC_USER_QP_MAX_ENABLE                (1<<0)
+#define S3C_MFC_USE_GAMMA_DISABLE                 (0<<1)
+#define S3C_MFC_USE_GAMMA_ENABLE                  (1<<1)
+
+
+typedef enum __MFC_CODEC_MODE {
+	MP4_DEC    = 0,
+	MP4_ENC    = 1,
+	AVC_DEC    = 2,
+	AVC_ENC    = 3,
+	VC1_DEC    = 4,
+	H263_DEC   = 5,
+	H263_ENC   = 6
+} s3c_mfc_codec_mode_t;
+
+typedef enum __MFC_COMMAND {
+	SEQ_INIT         = 0x01,
+	SEQ_END          = 0x02,
+	PIC_RUN          = 0x03,
+	SET_FRAME_BUF    = 0x04,
+	ENC_HEADER       = 0x05,
+	ENC_PARA_SET     = 0x06,
+	DEC_PARA_SET     = 0x07,
+	ENC_PARAM_CHANGE = 0x09,
+	SLEEP            = 0x0A,
+	WAKEUP           = 0x0B,
+	GET_FW_VER       = 0x0F
+} s3c_mfc_command_t;
+
+/* 
+ * Because SW_RESET register is located apart(address 0xe00), unlike other MFC_SFR registers, 
+ * I have excluded it in S3C6400_MFC_SFR struct and defined relative address only.  
+ * When do virtual memory mapping in setting up memory, we have to map until this SW_RESET register.  
+ *
+ * #define S3C6400_MFC_SFR_SW_RESET_ADDR    (0x0e00)
+ * #define S3C6400_MFC_SFR_SIZE             (0x0e00)
+ */
+
+
+#endif /* _S3C_MFC_BASE_H */
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_bitproc_buf.c linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_bitproc_buf.c
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_bitproc_buf.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_bitproc_buf.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,84 @@
+/* linux/driver/media/video/mfc/s3c_mfc_bitproc_buf.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <asm/io.h>
+#include <linux/kernel.h>
+
+#include "s3c_mfc_base.h"
+#include "s3c_mfc_bitproc_buf.h"
+#include "s3c_mfc_config.h"
+#include "prism_s.h"
+#include "s3c_mfc.h"
+
+static volatile unsigned char     *s3c_mfc_virt_bitproc_buff  = NULL;
+static unsigned int                s3c_mfc_phys_bitproc_buff  = 0;
+
+
+BOOL s3c_mfc_memmap_bitproc_buff()
+{
+	BOOL	ret = FALSE;
+
+	/* FIRWARE/WORKING/PARAMETER BUFFER  <-- virtual bitprocessor buffer address mapping */
+	s3c_mfc_virt_bitproc_buff = (volatile unsigned char *)ioremap_nocache(S3C_MFC_BASEADDR_BITPROC_BUF, 	\
+												S3C_MFC_BITPROC_BUF_SIZE);
+	if (s3c_mfc_virt_bitproc_buff == NULL) {
+		mfc_err("fail to mapping bitprocessor buffer\n");
+		return ret;
+	}
+
+	/* Physical register address mapping */
+	s3c_mfc_phys_bitproc_buff = S3C_MFC_BASEADDR_BITPROC_BUF;
+
+	ret = TRUE;
+
+	return ret;
+}
+
+volatile unsigned char *s3c_mfc_get_bitproc_buff_virt_addr()
+{
+	volatile unsigned char	*pBitProcBuf;
+
+	pBitProcBuf = s3c_mfc_virt_bitproc_buff;
+
+	return pBitProcBuf;
+}
+
+unsigned char *s3c_mfc_get_param_buff_virt_addr()
+{
+	unsigned char	*pParamBuf;
+
+	pParamBuf = (unsigned char *)(s3c_mfc_virt_bitproc_buff +
+			S3C_MFC_CODE_BUF_SIZE + S3C_MFC_WORK_BUF_SIZE);
+
+	return pParamBuf;
+}
+
+void s3c_mfc_put_firmware_into_codebuff()
+{
+	unsigned int  i, j;
+	unsigned int  data;
+
+	unsigned int *uAddrFirmwareCode;
+
+	uAddrFirmwareCode = (unsigned int *)s3c_mfc_virt_bitproc_buff;
+
+	/* 
+	 * Putting the Boot & Firmware code into SDRAM 
+	 * Boot code(1KB) + Codec Firmware (79KB)
+	 *
+	 */
+	for (i = j = 0 ; i < sizeof(s3c_mfc_bit_code) / sizeof(s3c_mfc_bit_code[0]); i += 2, j++) {
+		data = (s3c_mfc_bit_code[i] << 16) | s3c_mfc_bit_code[i + 1];
+
+		*(uAddrFirmwareCode + j) = data;
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_bitproc_buf.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_bitproc_buf.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_bitproc_buf.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_bitproc_buf.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,24 @@
+/* linux/driver/media/video/mfc/s3c_mfc_bitproc_buf.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_BITPROC_BUF_H
+#define _S3C_MFC_BITPROC_BUF_H
+
+#include "s3c_mfc_types.h"
+
+BOOL s3c_mfc_memmap_bitproc_buff(void);
+volatile unsigned char *s3c_mfc_get_bitproc_buff_virt_addr(void);
+unsigned char *s3c_mfc_get_param_buff_virt_addr(void);
+
+void s3c_mfc_put_firmware_into_codebuff(void);
+
+#endif /* _S3C_MFC_BITPROC_BUF_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_config.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_config.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_config.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_config.h	2009-10-21 16:21:34.000000000 +0200
@@ -0,0 +1,92 @@
+/* linux/driver/media/video/mfc/s3c_mfc_config.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_CONFIG_H
+#define _S3C_MFC_CONFIG_H
+
+#include <asm/types.h>
+
+/* Physical Base Address for the MFC Host I/F Registers */
+/* #define S3C6400_BASEADDR_MFC_SFR			0x7e002000 */
+/* #define MFC_RESERVED_MEM_START			0x57800000 */
+
+#ifndef S3C_MFC_PHYS_BUFFER_SET
+extern dma_addr_t s3c_mfc_phys_buffer;
+#endif
+
+#define MFC_RESERVED_MEM_START			s3c_mfc_phys_buffer
+
+/* 
+ * Physical Base Address for the MFC Shared Buffer 
+ * Shared Buffer = {CODE_BUF, WORK_BUF, PARA_BUF}
+ */
+#define S3C_MFC_BASEADDR_BITPROC_BUF	MFC_RESERVED_MEM_START
+
+/* Physical Base Address for the MFC Data Buffer 
+ * Data Buffer = {STRM_BUF, FRME_BUF}
+ */
+#define S3C_MFC_BASEADDR_DATA_BUF		(MFC_RESERVED_MEM_START + 0x116000)
+
+/* Physical Base Address for the MFC Host I/F Registers */
+#define S3C_MFC_BASEADDR_POST_SFR			0x77000000
+
+
+/* 
+ * MFC BITPROC_BUF
+ *
+ * the following three buffers have fixed size
+ * firware buffer is to download boot code and firmware code
+ */
+#define S3C_MFC_CODE_BUF_SIZE	81920	/* It is fixed depending on the MFC'S FIRMWARE CODE (refer to 'Prism_S_V133.h' file) */
+
+/* working buffer is uded for video codec operations by MFC */
+#define S3C_MFC_WORK_BUF_SIZE	1048576 /* 1024KB = 1024 * 1024 */
+
+
+/* Parameter buffer is allocated to store yuv frame address of output frame buffer. */
+#define S3C_MFC_PARA_BUF_SIZE	8192  /* Stores the base address of Y , Cb , Cr for each decoded frame */
+
+#define S3C_MFC_BITPROC_BUF_SIZE			 \
+				(S3C_MFC_CODE_BUF_SIZE + \
+				 S3C_MFC_PARA_BUF_SIZE + \
+				 S3C_MFC_WORK_BUF_SIZE)
+
+
+/* 
+ * MFC DATA_BUF
+ */
+#define S3C_MFC_NUM_INSTANCES_MAX	4//2	/* MFC Driver supports 4 instances MAX. */
+
+/* 
+ * Determine if 'Post Rotate Mode' is enabled.
+ * If it is enabled, the memory size of SD YUV420(720x576x1.5 bytes) is required more.
+ * In case of linux driver, reserved buffer size will be changed.
+ */
+	
+#define S3C_MFC_ROTATE_ENABLE		0
+
+/*
+ * stream buffer size must be a multiple of 512bytes 
+ * becasue minimun data transfer unit between stream buffer and internal bitstream handling block 
+ * in MFC core is 512bytes
+ */
+#define S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE		(614400)
+
+
+#define S3C_MFC_LINE_BUF_SIZE		(S3C_MFC_NUM_INSTANCES_MAX * S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE)
+
+#define S3C_MFC_YUV_BUF_SIZE		(720*480*3*4)
+
+#define S3C_MFC_STREAM_BUF_SIZE		(S3C_MFC_LINE_BUF_SIZE)
+#define S3C_MFC_DATA_BUF_SIZE		(S3C_MFC_STREAM_BUF_SIZE + S3C_MFC_YUV_BUF_SIZE)
+
+#endif /* _S3C_MFC_CONFIG_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_databuf.c linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_databuf.c
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_databuf.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_databuf.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,82 @@
+/* linux/driver/media/video/mfc/s3c_mfc_databuf.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <asm/io.h>
+#include <linux/kernel.h>
+
+#include "s3c_mfc_base.h"
+#include "s3c_mfc_types.h"
+#include "s3c_mfc_databuf.h"
+#include "s3c_mfc_config.h"
+#include "s3c_mfc.h"
+
+static volatile unsigned char     *s3c_mfc_virt_data_buf = NULL;
+static unsigned int                s3c_mfc_phys_data_buf = 0;
+
+
+BOOL s3c_mfc_memmap_databuf()
+{
+	BOOL	ret = FALSE;
+
+	s3c_mfc_virt_data_buf = phys_to_virt(s3c_mfc_phys_buffer + S3C_MFC_BITPROC_BUF_SIZE);
+	if (s3c_mfc_virt_data_buf == NULL) {
+		mfc_err("fail to mapping data buffer\n");
+		return ret;
+	}
+
+	mfc_debug("virtual address of data buffer = 0x%x\n", \
+			(unsigned int)s3c_mfc_virt_data_buf);
+	
+
+	/* Physical register address mapping */
+	s3c_mfc_phys_data_buf = S3C_MFC_BASEADDR_DATA_BUF;
+
+	ret = TRUE;
+
+	return ret;
+}
+
+volatile unsigned char *s3c_mfc_get_databuf_virt_addr()
+{
+	volatile unsigned char	*data_buf;
+
+	data_buf	= s3c_mfc_virt_data_buf;
+
+	return data_buf;	
+}
+
+volatile unsigned char *s3c_mfc_get_yuvbuff_virt_addr()
+{
+	volatile unsigned char	*yuv_buff;
+
+	yuv_buff	= s3c_mfc_virt_data_buf + S3C_MFC_STREAM_BUF_SIZE;
+
+	return yuv_buff;	
+}
+
+unsigned int s3c_mfc_get_databuf_phys_addr()
+{
+	unsigned int	phys_data_buf;
+
+	phys_data_buf	= s3c_mfc_phys_data_buf;
+
+	return phys_data_buf;
+}
+
+unsigned int s3c_mfc_get_yuvbuff_phys_addr()
+{
+	unsigned int	phys_yuv_buff;
+
+	phys_yuv_buff	= s3c_mfc_phys_data_buf + S3C_MFC_STREAM_BUF_SIZE;
+
+	return phys_yuv_buff;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_databuf.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_databuf.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_databuf.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_databuf.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,25 @@
+/* linux/driver/media/video/mfc/s3c_mfc_databuf.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_DATABUF_H
+#define _S3C_MFC_DATABUF_H
+
+#include "s3c_mfc_types.h"
+
+BOOL s3c_mfc_memmap_databuf(void);
+
+volatile unsigned char *s3c_mfc_get_databuf_virt_addr(void);
+volatile unsigned char *s3c_mfc_get_yuvbuff_virt_addr(void);
+unsigned int s3c_mfc_get_databuf_phys_addr(void);
+unsigned int s3c_mfc_get_yuvbuff_phys_addr(void);
+
+#endif /* _S3C_MFC_DATABUF_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_init_hw.c linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_init_hw.c
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_init_hw.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_init_hw.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,94 @@
+/* linux/driver/media/video/mfc/s3c_mfc_init_hw.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ * This source file is for initializing the MFC's H/W setting.
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/kernel.h>
+
+#include "s3c_mfc_base.h"
+#include "s3c_mfc_sfr.h"
+#include "s3c_mfc_bitproc_buf.h"
+#include "s3c_mfc_databuf.h"
+#include "s3c_mfc_types.h"
+#include "s3c_mfc_config.h"
+#include "s3c_mfc_yuv_buf_manager.h"
+#include "s3c_mfc.h"
+
+BOOL s3c_mfc_setup_memory(void)
+{
+	BOOL ret_bit, ret_dat;
+	unsigned char *pDataBuf;
+
+	/* 
+	 * MFC SFR(Special Function Registers), Bitprocessor buffer, Data buffer�� 
+	 * physical address �� virtual address�� mapping �Ѵ� 
+	 */
+
+	ret_bit = s3c_mfc_memmap_bitproc_buff();
+	if (ret_bit == FALSE) {
+		mfc_err("fail to mapping bitprocessor buffer memory\n");
+		return FALSE;
+	}
+
+	ret_dat	= s3c_mfc_memmap_databuf();
+	if (ret_dat == FALSE) {
+		mfc_err("fail to mapping data buffer memory \n");
+		return FALSE;
+	}
+
+	/* FramBufMgr Module Initialization */
+	pDataBuf = (unsigned char *)s3c_mfc_get_databuf_virt_addr();
+	s3c_mfc_init_yuvbuf_mgr(pDataBuf + S3C_MFC_STREAM_BUF_SIZE, S3C_MFC_YUV_BUF_SIZE);
+
+
+	return TRUE;
+}
+
+
+BOOL s3c_mfc_init_hw(void)
+{
+	/* 
+	 * 1. Reset the MFC IP
+	 */
+	s3c_mfc_reset();
+
+	/*
+	 * 2. Download Firmware code into MFC
+	 */
+	s3c_mfc_put_firmware_into_codebuff();
+	s3c_mfc_download_boot_firmware();
+	mfc_debug("downloading firmware into bitprocessor\n");
+
+	/* 
+	 * 3. Start Bit Processor
+	 */
+	s3c_mfc_start_bit_processor();
+
+	/* 
+	 * 4. Set the Base Address Registers for the following 3 buffers
+	 * (CODE_BUF, WORKING_BUF, PARAMETER_BUF)
+	 */
+	s3c_mfc_config_sfr_bitproc_buffer();
+
+	/* 
+	 * 5. Set the Control Registers
+	 * 	- STRM_BUF_CTRL
+	 * 	- FRME_BUF_CTRL
+	 * 	- DEC_FUNC_CTRL
+	 * 	- WORK_BUF_CTRL
+	 */
+	s3c_mfc_config_sfr_ctrl_opts();
+
+	s3c_mfc_get_firmware_ver();
+
+	return TRUE;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_init_hw.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_init_hw.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_init_hw.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_init_hw.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,21 @@
+/* linux/driver/media/video/mfc/s3c_mfc_init_hw.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_HW_INIT_H
+#define _S3C_MFC_HW_INIT_H
+
+#include "s3c_mfc_types.h"
+
+BOOL s3c_mfc_setup_memory(void);
+BOOL s3c_mfc_init_hw(void);
+
+#endif /* _S3C_MFC_HW_INIT_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_inst_pool.c linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_inst_pool.c
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_inst_pool.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_inst_pool.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,98 @@
+/* linux/driver/media/video/mfc/s3c_mfc_inst_pool.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ * This file stores information about different instancesof MFC.
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "s3c_mfc_config.h"
+#include "s3c_mfc_inst_pool.h"
+
+#if !defined(S3C_MFC_NUM_INSTANCES_MAX)
+#error "S3C_MFC_NUM_INSTANCES_MAX should be defined."
+#endif
+#if ((S3C_MFC_NUM_INSTANCES_MAX <= 0) || (S3C_MFC_NUM_INSTANCES_MAX > 8))
+#error "S3C_MFC_NUM_INSTANCES_MAX should be in the range of 1 ~ 8."
+#endif
+
+static int s3c_mfc_inst_no = 0;
+static int s3c_mfc_inst_status[S3C_MFC_NUM_INSTANCES_MAX] = {0, };
+static int s3c_mfc_num_inst_avail = S3C_MFC_NUM_INSTANCES_MAX;
+
+int s3c_mfc_get_avail_inst_pool_num(void)
+{
+	return s3c_mfc_num_inst_avail;
+}
+
+int s3c_mfc_occupy_inst_pool(void)
+{
+	int  i;
+
+	if (s3c_mfc_num_inst_avail == 0)
+		return -1;
+
+	for (i = 0; i < S3C_MFC_NUM_INSTANCES_MAX; i++) {
+		if (s3c_mfc_inst_status[s3c_mfc_inst_no] == 0) {
+			s3c_mfc_num_inst_avail--;
+			s3c_mfc_inst_status[s3c_mfc_inst_no] = 1;
+			return s3c_mfc_inst_no;
+		}
+
+		s3c_mfc_inst_no = (s3c_mfc_inst_no + 1) % S3C_MFC_NUM_INSTANCES_MAX;
+	}
+
+	return -1;
+}
+
+
+int s3c_mfc_release_inst_pool(int instance_no)
+{
+	if (instance_no >= S3C_MFC_NUM_INSTANCES_MAX || instance_no < 0) {
+		return -1;
+	}
+
+	if (s3c_mfc_inst_status[instance_no] == 0)
+		return -1;
+
+	s3c_mfc_num_inst_avail++;
+	s3c_mfc_inst_status[instance_no] = 0;
+
+	return instance_no;
+}
+
+
+void s3c_mfc_occupy_all_inst_pool(void)
+{
+	int  i;
+
+	if (s3c_mfc_num_inst_avail == 0)
+		return;
+
+	for (i = 0; i < S3C_MFC_NUM_INSTANCES_MAX; i++) {
+		if (s3c_mfc_inst_status[i] == 0) {
+			s3c_mfc_num_inst_avail--;
+			s3c_mfc_inst_status[i] = 1;
+		}
+	}
+}
+
+void s3c_mfc_release_all_inst_pool(void)
+{
+	int  i;
+
+	if (s3c_mfc_num_inst_avail == S3C_MFC_NUM_INSTANCES_MAX)
+		return;
+
+	for (i = 0; i < S3C_MFC_NUM_INSTANCES_MAX; i++) {
+		if (s3c_mfc_inst_status[i] == 1) {
+			s3c_mfc_num_inst_avail++;
+			s3c_mfc_inst_status[i] = 0;
+		}
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_inst_pool.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_inst_pool.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_inst_pool.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_inst_pool.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,24 @@
+/* linux/driver/media/video/mfc/s3c_mfc_inst_pool.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_INST_POOL_H
+#define _S3C_MFC_INST_POOL_H
+
+int s3c_mfc_get_avail_inst_pool_num(void);
+
+int s3c_mfc_occupy_inst_pool(void);
+int s3c_mfc_release_inst_pool(int instance_no);
+
+void s3c_mfc_occupy_all_inst_pool(void);
+void s3c_mfc_release_all_inst_pool(void);
+
+#endif /* _S3C_MFC_INST_POOL_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_instance.c linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_instance.c
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_instance.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_instance.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,1239 @@
+/* linux/driver/media/video/mfc/s3c_mfc_instance.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <asm/io.h>
+#include <asm/uaccess.h>
+#include <asm/cacheflush.h>
+#include <asm/memory.h>
+
+#include <linux/kernel.h>
+#include <linux/slab.h>
+#include <linux/string.h>
+#include <linux/dma-mapping.h>
+
+#include <plat/regs-mfc.h>
+
+#include "s3c_mfc_base.h"
+#include "s3c_mfc_instance.h"
+#include "s3c_mfc_databuf.h"
+#include "s3c_mfc_yuv_buf_manager.h"
+#include "s3c_mfc_config.h"
+#include "s3c_mfc_sfr.h"
+#include "s3c_mfc_bitproc_buf.h"
+#include "s3c_mfc_inst_pool.h"
+#include "s3c_mfc.h"
+
+
+extern void __iomem *s3c_mfc_sfr_base_virt_addr;
+static s3c_mfc_inst_context_t _mfcinst_ctx[S3C_MFC_NUM_INSTANCES_MAX];
+
+
+s3c_mfc_inst_context_t *s3c_mfc_inst_get_context(int inst_no)
+{
+	if ((inst_no < 0) || (inst_no >= S3C_MFC_NUM_INSTANCES_MAX))
+		return NULL;
+
+	if (S3C_MFC_INST_STATE(&(_mfcinst_ctx[inst_no])) >= S3C_MFC_INST_STATE_CREATED)
+		return &(_mfcinst_ctx[inst_no]);
+	else
+		return NULL;
+}
+
+static void s3c_mfc_get_stream_buffer_addr(s3c_mfc_inst_context_t *ctx)
+{
+	ctx->stream_buffer = (unsigned char *)(s3c_mfc_get_databuf_virt_addr() + 	\
+				(ctx->inst_no * S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE));
+	ctx->phys_addr_stream_buffer = (unsigned int)(s3c_mfc_get_databuf_phys_addr() +	\
+					(ctx->inst_no * S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE));
+	ctx->stream_buffer_size = S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE;
+
+	mfc_debug("ctx->stream_buffer address 0x%08x\n", \
+			(unsigned int)ctx->stream_buffer);
+	mfc_debug("ctx->phys_addr_stream_buffer address 0x%08x\n", \
+					ctx->phys_addr_stream_buffer);
+}
+
+static BOOL s3c_mfc_get_yuv_buffer_addr(s3c_mfc_inst_context_t *ctx, int buf_size)
+{
+	unsigned char	*instance_yuv_buffer;
+
+
+	instance_yuv_buffer = s3c_mfc_commit_yuv_buffer_mgr(ctx->inst_no, buf_size);
+	if (instance_yuv_buffer == NULL) {
+		mfc_err("fail to allocate frame buffer\n");
+		return FALSE;
+	}
+
+	s3c_mfc_print_commit_yuv_buffer_info();
+
+	ctx->yuv_buffer = instance_yuv_buffer; /* virtual address of frame buffer */
+	ctx->phys_addr_yuv_buffer = S3C_MFC_BASEADDR_DATA_BUF +					\
+				((int)instance_yuv_buffer - (int)s3c_mfc_get_databuf_virt_addr());
+	ctx->yuv_buffer_size  = buf_size;
+	
+	mfc_debug("ctx->inst_no : %d\n", ctx->inst_no);
+	mfc_debug("ctx->yuv_buffer : 0x%x\n", (unsigned int)ctx->yuv_buffer);
+	mfc_debug("ctx->phys_addr_yuv_buffer : 0x%x\n", ctx->phys_addr_yuv_buffer);
+
+	return TRUE;
+}
+
+int s3c_mfc_inst_get_line_buff(s3c_mfc_inst_context_t *ctx, unsigned char **buffer, int *size)
+{
+	if (S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_DELETED)) {
+		mfc_err("mfc instance is deleted\n");
+		return S3C_MFC_INST_ERR_STATE_DELETED;
+	}
+
+	*buffer = ctx->stream_buffer;
+	*size  = S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE;
+
+	return S3C_MFC_INST_RET_OK;
+}
+
+int s3c_mfc_inst_get_yuv_buff(s3c_mfc_inst_context_t *ctx, unsigned char **buffer, int *size)
+{
+	/* checking state */
+	if (S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_DELETED)) {
+		mfc_err("mfc instance is deleted\n");
+		return S3C_MFC_INST_ERR_STATE_DELETED;
+	}
+	if (S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_CREATED)) {
+		mfc_err("mfc instance is not initialized\n");
+		return S3C_MFC_INST_ERR_STATE_CHK;
+	}
+
+	if (ctx->yuv_buffer == NULL) {
+		mfc_err("mfc frame buffer is not internally allocated yet\n");
+		return S3C_MFC_INST_ERR_ETC;
+	}
+
+	*size  = (ctx->buf_width * ctx->buf_height * 3) >> 1;	/* YUV420 frame size */
+
+	if (ctx->run_index < 0)	/* RET_DEC_PIC_IDX == -3  (No picture to be displayed) */
+		*buffer = NULL;
+	else {
+		*buffer = ctx->yuv_buffer + (ctx->run_index) * (*size);
+#if (S3C_MFC_ROTATE_ENABLE == 1)
+		if (ctx->post_rotation_mode & 0x0010)
+			*buffer = ctx->yuv_buffer + (ctx->yuv_buffer_count) * (*size);
+#endif
+	}
+
+
+	return S3C_MFC_INST_RET_OK;
+}
+
+/* it returns the instance number of the 6410 mfc instance context */
+int s3c_mfc_inst_get_no(s3c_mfc_inst_context_t *ctx)
+{
+	return ctx->inst_no;
+}
+
+/* It returns the virtual address of read pointer and write pointer */
+BOOL s3c_mfc_inst_get_stream_buff_rw_ptrs(s3c_mfc_inst_context_t *ctx, unsigned char **read_ptr, \
+									unsigned char **write_ptr)
+{
+	int diff_vir_phy;
+	unsigned int read_pointer = 0;
+	unsigned int write_pointer = 0;
+
+
+	if (S3C_MFC_INST_STATE(ctx) < S3C_MFC_INST_STATE_CREATED)
+		return FALSE;
+
+	if (S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_CREATED)) {
+		/* 
+		 * if s3c_mfc_inst_context_t is just created and not initialized by s3c_mfc_instance_init,
+		 * then the initial read pointer and write pointer are the start address of stream buffer
+		 */
+		*read_ptr = ctx->stream_buffer;
+		*write_ptr = ctx->stream_buffer;
+	} else {
+		/* the physical to virtual address conversion of read pointer and write pointer */
+		diff_vir_phy = (int)(ctx->stream_buffer - ctx->phys_addr_stream_buffer);
+		
+		switch(ctx->inst_no) {
+		case 0:
+			read_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR0);
+			write_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR0);
+			break;
+		case 1:
+			read_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR1);
+			write_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR1);
+			break;
+		case 2:
+			read_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR2);
+			write_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR2);
+			break;
+		case 3:
+			read_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR3);
+			write_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR3);
+			break;
+		case 4:
+			read_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR4);
+			write_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR4);
+			break;
+		case 5:
+			read_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR5);
+			write_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR5);
+			break;
+		case 6:
+			read_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR6);
+			write_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR6);
+			break;
+		case 7:
+			read_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR7);
+			write_pointer = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR7);
+			break;
+		}
+
+		*read_ptr = (unsigned char *)(diff_vir_phy + read_pointer);
+		*write_ptr = (unsigned char *)(diff_vir_phy + write_pointer);
+	}
+
+	return TRUE;
+}
+
+unsigned int s3c_mfc_inst_set_post_rotate(s3c_mfc_inst_context_t *ctx, unsigned int post_rotmode)
+{
+	unsigned int old_post_rotmode;
+
+	old_post_rotmode = ctx->post_rotation_mode;
+
+	if (post_rotmode & 0x0010) {
+		ctx->post_rotation_mode = post_rotmode;
+	} else
+		ctx->post_rotation_mode = 0;
+
+
+	return old_post_rotmode;
+}
+
+s3c_mfc_inst_context_t *s3c_mfc_inst_create(void)
+{
+	int inst_no;
+	s3c_mfc_inst_context_t *ctx;
+
+
+	/* occupy the 'inst_no' */
+	/* if it fails, it returns NULL */
+	inst_no = s3c_mfc_occupy_inst_pool();
+	if (inst_no == -1)
+		return NULL;
+
+	ctx = &(_mfcinst_ctx[inst_no]);
+
+	memset(ctx, 0, sizeof(s3c_mfc_inst_context_t));
+
+	ctx->inst_no     = inst_no;
+	S3C_MFC_INST_STATE_TRANSITION(ctx, S3C_MFC_INST_STATE_CREATED);
+
+	s3c_mfc_get_stream_buffer_addr(ctx);
+
+	mfc_debug("state = %d\n", ctx->state_var);
+
+	return ctx;
+}
+
+/* it deletes the 6410 mfc instance */
+void s3c_mfc_inst_del(s3c_mfc_inst_context_t *ctx)
+{
+	/* checking state */
+	if (S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_DELETED)) {
+		mfc_err("mfc instance is already deleted\n");
+		return;
+	}
+
+	s3c_mfc_release_inst_pool(ctx->inst_no);
+	s3c_mfc_free_yuv_buffer_mgr(ctx->inst_no);
+
+	S3C_MFC_INST_STATE_TRANSITION(ctx, S3C_MFC_INST_STATE_DELETED);
+}
+
+/* it turns on the flag indicating 6410 mfc's power-off */
+void s3c_mfc_inst_pow_off_state(s3c_mfc_inst_context_t *ctx)
+{
+	S3C_MFC_INST_STATE_PWR_OFF_FLAG_SET(ctx);
+}
+
+/* it turns on the flag indicating 6410 mfc's power-off */
+void s3c_mfc_inst_pow_on_state(s3c_mfc_inst_context_t *ctx)
+{
+	S3C_MFC_INST_STATE_PWR_OFF_FLAG_CLEAR(ctx);
+}
+
+/*
+ * it initializes the 6410 mfc instance with the appropriate config stream
+ * the config stream must be copied into stream buffer before this function
+ */
+int s3c_mfc_inst_init_dec(s3c_mfc_inst_context_t *ctx, s3c_mfc_codec_mode_t codec_mode, unsigned long strm_leng)
+{
+	int i;
+	int yuv_buf_size; /* required size in yuv buffer */
+	int frame_size;   /* width * height */
+	int frame_need_count;
+	unsigned char *param_buf; /* PARAM_BUF in BITPROC_BUF */
+	
+	
+	/* checking state */
+	if (!S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_CREATED)) {
+		mfc_err("sequence init function was called at an incorrect point\n");
+		return S3C_MFC_INST_ERR_STATE_CHK;
+	}
+
+	/* codec_mode */
+	ctx->codec_mode = codec_mode;
+
+	/* stream size checking */
+	if (strm_leng > S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE) {
+		mfc_err("Input buffer size is too small to hold the input stream.\n");
+		return S3C_MFC_INST_ERR_ETC;
+	}
+
+	/* 
+	 * Copy the Config Stream into stream buffer
+	 * config stream needs to be in the stream buffer a priori.
+	 * read pointer and write pointer are set to point the start and end address of stream buffer
+	 * if write pointer is set to [start + config_leng] instead of [end address of stream buffer],
+	 * then mfc is not initialized when MPEG4 decoding.
+	 */
+	mfc_debug("strm_leng = %d\n", (int)strm_leng);
+
+	strm_leng = S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE;
+	
+	switch(ctx->inst_no) {
+	case 0:
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR0);
+		writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR0);
+		break;
+	case 1:
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR1);
+		writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR1);
+		break;
+	case 2:
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR2);
+		writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR2);
+		break;
+	case 3:
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR3);
+		writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR3);
+		break;
+	case 4:
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR4);
+		writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR4);
+		break;
+	case 5:
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR5);
+		writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR5);
+		break;
+	case 6:
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR6);
+		writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR6);
+		break;
+	case 7:
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR7);
+		writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR7);
+		break;
+	}
+	
+	/*
+	 * issue the SEQ_INIT command 
+	 * width/height of frame will be obtained
+	 * set the Parameters for SEQ_INIT command
+	 */
+	writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_SEQ_BIT_BUF_ADDR);
+	writel(S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE / 1024, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_SEQ_BIT_BUF_SIZE);
+	writel(S3C_MFC_FILEPLAY_ENABLE | S3C_MFC_DYNBUFALLOC_ENABLE, s3c_mfc_sfr_base_virt_addr + 	\
+											S3C_MFC_PARAM_DEC_SEQ_OPTION);
+	writel(0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_SEQ_START_BYTE);
+
+	mfc_debug("ctx->inst_no = %d\n", ctx->inst_no);
+	mfc_debug("ctx->codec_mode = %d\n", ctx->codec_mode);
+	mfc_debug("sequece bit buffer size = %d (kb)\n",			\
+		readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_SEQ_BIT_BUF_SIZE));
+
+	s3c_mfc_set_eos(0);
+
+	/* SEQ_INIT command */
+	if (s3c_mfc_issue_command(ctx->inst_no, ctx->codec_mode, SEQ_INIT) == FALSE) {
+		mfc_err("sequence init failed\n");
+		s3c_mfc_stream_end();
+		return S3C_MFC_INST_ERR_DEC_INIT_CMD_FAIL;
+	}
+
+	s3c_mfc_stream_end();
+
+	if (readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_SUCCESS) == TRUE) {
+		mfc_debug("RET_DEC_SEQ_SRC_SIZE = %d\n", 			\
+			readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_SRC_SIZE));
+		mfc_debug("RET_DEC_SEQ_SRC_FRAME_RATE   = %d\n",		\
+			readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_SRC_FRAME_RATE));
+		mfc_debug("RET_DEC_SEQ_FRAME_NEED_COUNT = %d\n",		\
+			readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_FRAME_NEED_COUNT));
+		mfc_debug("RET_DEC_SEQ_FRAME_DELAY = %d\n",			\
+			readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_FRAME_DELAY));
+	} else {
+		mfc_err("sequece init failed = %d\n",				\
+			readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_SUCCESS));
+		return S3C_MFC_INST_ERR_DEC_INIT_CMD_FAIL;
+	}
+
+	frame_need_count = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_FRAME_NEED_COUNT);
+	
+	/* 
+	 * width and height are obtained from return value of SEQ_INIT command
+	 * stride value is multiple of 16
+	 */
+	ctx->height = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_SRC_SIZE) & 0x03FF;
+	ctx->width = (readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_SRC_SIZE) >> 10) & 0x03FF;
+
+	/*
+	 * if codec mode is VC1_DEC,
+	 * width & height value are not from return value of SEQ_INIT command
+	 * but extracting from config stream
+	 */
+	if (ctx->codec_mode == VC1_DEC) {
+		memcpy(&(ctx->height), ctx->stream_buffer + 12, 4);
+		memcpy(&(ctx->width), ctx->stream_buffer + 16, 4);
+	}
+	
+	if ((ctx->width & 0x0F) == 0)	/* 16 aligned (ctx->width%16 == 0) */
+		ctx->buf_width  = ctx->width;
+	else
+		ctx->buf_width  = (ctx->width  & 0xFFFFFFF0) + 16;
+
+	if ((ctx->height & 0x0F) == 0)	/* 16 aligned (ctx->height%16 == 0) */
+		ctx->buf_height = ctx->height;
+	else
+		ctx->buf_height = (ctx->height & 0xFFFFFFF0) + 16;
+
+#if (defined(DIVX_ENABLE) && (DIVX_ENABLE == 1))
+	ctx->buf_width += 2 * ctx->padding_size;
+	ctx->buf_height += 2 * ctx->padding_size;
+	ctx->RET_DEC_SEQ_INIT_BAK_MP4ASP_VOP_TIME_RES = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_TIME_RES);
+#endif
+	mfc_debug("width = %d, height = %d, buf_width = %d, buf_height = %d\n",	\
+			ctx->width, ctx->height, ctx->buf_width, ctx->buf_height);
+
+	/*
+	 * getting yuv buffer for this instance
+	 * yuv_buf_size is (YUV420 frame size) * (required frame buffer count)
+	 */
+#if (S3C_MFC_ROTATE_ENABLE == 1)
+	/* If rotation is enabled, one more YUV buffer is required */
+	yuv_buf_size = ((ctx->buf_width * ctx->buf_height * 3) >> 1) * (frame_need_count + 1);
+#else
+	yuv_buf_size = ((ctx->buf_width * ctx->buf_height * 3) >> 1) * frame_need_count;
+#endif
+	yuv_buf_size += 60000;
+	if ( s3c_mfc_get_yuv_buffer_addr(ctx, yuv_buf_size) == FALSE ) {
+		mfc_err("mfc instance init failed (required frame buffer size = %d)\n",		\
+										yuv_buf_size);
+		return S3C_MFC_INST_ERR_ETC;
+	}
+	
+	ctx->yuv_buffer_allocated = 1;
+	ctx->yuv_buffer_count = frame_need_count;
+	ctx->mv_mbyte_addr = ctx->phys_addr_yuv_buffer + (yuv_buf_size - 60000);
+
+	/*
+	 * set the parameters in the parameters buffer for SET_FRAME_BUF command. 
+	 * buffer address of y, cb, cr will be set in parameters buffer before issuing SET_FRAME_BUF command
+	 */
+	param_buf = (unsigned char *)s3c_mfc_get_param_buff_virt_addr();
+	frame_size = ctx->buf_width * ctx->buf_height;
+#if (defined(DIVX_ENABLE) && (DIVX_ENABLE == 1))
+	/* s/w divx use padding area, so mfc frame buffer must have stride */
+	for (i=0; i < frame_need_count; i++) {
+		*((int *)(param_buf + i * 3 * 4)) = ctx->phys_addr_yuv_buffer + i * ((frame_size * 3) >> 1) + 		\
+								(ctx->buf_width)*ctx->padding_size+ ctx->padding_size;
+		*((int *)(param_buf + i * 3 * 4 + 4)) = ctx->phys_addr_yuv_buffer + i * ((frame_size * 3) >> 1) + 	\
+				frame_size + ((ctx->buf_width) / 2) * (ctx->padding_size / 2) + (ctx->padding_size / 2);
+		*((int *)(param_buf + i * 3 * 4 + 8)) = ctx->phys_addr_yuv_buffer + i * ((frame_size * 3) >> 1) + 	\
+		frame_size + (frame_size >> 2) + ((ctx->buf_width) / 2) * (ctx->padding_size / 2) + (ctx->padding_size / 2);
+	}
+#else	
+	for (i=0; i < frame_need_count; i++) {
+		*((int *)(param_buf + i * 3 * 4)) = ctx->phys_addr_yuv_buffer + i * ((frame_size * 3) >> 1);
+		*((int *)(param_buf + i * 3 * 4 + 4)) = ctx->phys_addr_yuv_buffer + i * ((frame_size * 3) >> 1) + frame_size;
+		*((int *)(param_buf + i * 3 * 4 + 8)) = ctx->phys_addr_yuv_buffer + i * ((frame_size * 3) >> 1) + 	\
+											frame_size + (frame_size >> 2);
+	}
+#endif
+
+	/*
+	 * issue the SET_FRAME_BUF command
+	 * 'SET_FRAME_BUF_NUM' must be greater than or equal to RET_DEC_SEQ_FRAME_NEED_COUNT
+	 */
+	writel(frame_need_count, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_SET_FRAME_BUF_NUM);
+	writel(ctx->buf_width, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_SET_FRAME_BUF_STRIDE);
+
+	s3c_mfc_issue_command(ctx->inst_no, ctx->codec_mode, SET_FRAME_BUF);
+
+	/*
+	 * changing state
+	 * change the state to S3C_MFC_INST_STATE_DEC_INITIALIZED
+	 * if the input stream data is less than the 2 PARTUNITs size,
+	 * then the state is changed to MFCINST_STATE_DEC_PIC_RUN_RING_BUF_LAST_UNITS
+	 */
+	S3C_MFC_INST_STATE_TRANSITION(ctx, S3C_MFC_INST_STATE_DEC_INITIALIZED);
+
+
+	return S3C_MFC_INST_RET_OK;
+}
+
+
+int s3c_mfc_instance_init_enc(s3c_mfc_inst_context_t *ctx, s3c_mfc_codec_mode_t codec_mode, s3c_mfc_enc_info_t *enc_info)
+{
+	int i;
+	int yuv_buffer_size;	/* required size in yuv buffer */
+	int frame_size;		/* width * height */
+	int num_mbs;		/* number of MBs */
+	int slices_mb;		/* MB number of slice (only if S3C_MFC_SLICE_MODE_MULTIPLE is selected.) */
+	unsigned char *param_buf;	/* PARAM_BUF in BITPROC_BUF */
+
+
+	/* check parameters from user application */
+	if ((enc_info->width & 0x0F) || (enc_info->height & 0x0F)) {
+		mfc_err("source picture width and height must be a multiple of 16. width : %d, height : %d\n", \
+										enc_info->width, enc_info->height);
+
+		return S3C_MFC_INST_ERR_INVALID_PARAM;
+	}
+
+	if (codec_mode < 0 || codec_mode > 6) {
+		mfc_err("mfc encoder supports MPEG4, H.264 and H.263\n");
+		return S3C_MFC_INST_ERR_INVALID_PARAM;
+	}
+
+	if (enc_info->gop_number > 60) {
+		mfc_err("maximum gop number is 60.  GOP number = %d\n", enc_info->gop_number);
+		return S3C_MFC_INST_ERR_INVALID_PARAM;
+	}
+
+	ctx->width = enc_info->width;
+	ctx->height = enc_info->height;
+	ctx->frame_rate_residual = enc_info->frame_rate_residual;
+	ctx->frame_rate_division = enc_info->frame_rate_division;
+	ctx->gop_number = enc_info->gop_number;
+	ctx->bitrate = enc_info->bitrate;
+
+	/*
+	 * At least 2 frame buffers are needed. 
+	 * These buffers are used for input buffer in encoder case
+	 */
+	ctx->yuv_buffer_count = 2;
+
+	/*
+	 * this part is not required since the width and the height are checked to be multiples of 16
+	 * in the beginning of this function
+	 */
+	if ((ctx->width & 0x0F) == 0)	/* 16 aligned (ctx->width%16 == 0) */
+		ctx->buf_width = ctx->width;
+	else
+		ctx->buf_width = (ctx->width & 0xFFFFFFF0) + 16;
+
+	/* codec_mode */
+	ctx->codec_mode = codec_mode;
+
+	mfc_debug("ctx->inst_no = %d\n", ctx->inst_no);
+	mfc_debug("ctx->codec_mode = %d\n", ctx->codec_mode);
+
+	/*
+	 * set stream buffer read/write pointer
+	 * At first, stream buffer is empty. so write pointer points start of buffer and read pointer points end of buffer
+	 */
+	switch(ctx->inst_no) {
+	case 0:
+		writel(ctx->phys_addr_stream_buffer + S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE, 		\
+								s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR0);
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR0);
+		break;
+	case 1:
+		writel(ctx->phys_addr_stream_buffer + S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE, 		\
+								s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR1);
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR1);
+		break;
+	case 2:
+		writel(ctx->phys_addr_stream_buffer + S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE, 		\
+								s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR2);
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR2);
+		break;
+	case 3:
+		writel(ctx->phys_addr_stream_buffer + S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE, 		\
+								s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR3);
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR3);
+		break;
+	case 4:
+		writel(ctx->phys_addr_stream_buffer + S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE, 		\
+								s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR4);
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR4);
+		break;
+	case 5:
+		writel(ctx->phys_addr_stream_buffer + S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE, 		\
+								s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR5);
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR5);
+		break;
+	case 6:
+		writel(ctx->phys_addr_stream_buffer + S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE, 		\
+								s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR6);
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR6);
+		break;
+	case 7:
+		writel(ctx->phys_addr_stream_buffer + S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE, 		\
+								s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR7);
+		writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR7);
+		break;
+	}
+
+	writel(0x1C, s3c_mfc_sfr_base_virt_addr + S3C_MFC_STRM_BUF_CTRL);
+
+	/*
+	 * issue the SEQ_INIT command
+	 * frame width/height will be returned
+	 * set the parameters for SEQ_INIT command
+	 */
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_BIT_BUF_ADDR);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_BIT_BUF_SIZE);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_OPTION);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_COD_STD);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_SRC_SIZE);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_SRC_F_RATE);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_MP4_PARA);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_263_PARA);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_264_PARA);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_SLICE_MODE);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_GOP_NUM);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_RC_PARA);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_RC_BUF_SIZE);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_INTRA_MB);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_FMO);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_INTRA_QP);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_ENC_SEQ_SUCCESS);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_RC_OPTION);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_RC_QP_MAX);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_RC_GAMMA);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_TMP_BUF1);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_TMP_BUF2);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_TMP_BUF3);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_TMP_BUF4);
+
+	writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_BIT_BUF_ADDR);
+	writel(S3C_MFC_LINE_BUF_SIZE_PER_INSTANCE / 1024, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_BIT_BUF_SIZE);
+	writel(S3C_MFC_MB_BIT_REPORT_DISABLE | S3C_MFC_SLICE_INFO_REPORT_DISABLE | S3C_MFC_AUD_DISABLE | \
+	   S3C_MFC_MB_QP_REPORT_DISABLE | S3C_MFC_CONST_QP_DISABLE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_OPTION);
+	writel((ctx->width << 10) | ctx->height, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_SRC_SIZE);
+	writel((ctx->frame_rate_division << 16) | ctx->frame_rate_residual, 				 \
+						s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_SRC_F_RATE);
+	writel(S3C_MFC_SLICE_MODE_ONE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_SLICE_MODE);
+	writel(ctx->gop_number, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_GOP_NUM);
+	writel(S3C_MFC_RC_ENABLE | (ctx->bitrate << 1) | (SKIP_ENABLE << 31), 				 \
+						s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_RC_PARA);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_INTRA_MB);
+	writel(FMO_DISABLE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_FMO);
+	writel(S3C_MFC_USE_GAMMA_DISABLE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_RC_OPTION);
+
+	switch(ctx->codec_mode) {
+		case MP4_ENC:
+			writel(S3C_MFC_MPEG4_ENCODE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_COD_STD);
+			writel(S3C_MFC_DATA_PART_DISABLE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_MP4_PARA);	
+			break;
+
+		case H263_ENC:
+			writel(S3C_MFC_H263_ENCODE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_COD_STD);
+			writel(ctx->h263_annex, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_263_PARA);
+			
+			if (ctx->enc_num_slices){
+				/*
+				 * MB size is 16x16 -> width & height are divided by 16 to get number of MBs
+				 * division by 16 == shift right by 4-bit
+				 */
+				num_mbs = (enc_info->width >> 4) * (enc_info->height >> 4);
+				slices_mb = (num_mbs / ctx->enc_num_slices);
+				writel(S3C_MFC_SLICE_MODE_MULTIPLE | (1 << 1) | (slices_mb << 2), 	\
+							s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_SLICE_MODE);
+			} else if (ctx->h263_annex == 0) {
+				if (((enc_info->width == 704) && (enc_info->height == 576)) || 		\
+					((enc_info->width == 352) && (enc_info->height == 288))|| 	\
+					((enc_info->width == 176) && (enc_info->height == 144)) ||	\
+					((enc_info->width == 128) && (enc_info->height == 96))) {
+					mfc_debug("ENC_SEQ_263_PARA = 0x%X\n", 	\
+						readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_263_PARA));
+				} else {	
+					mfc_err("h.263 encoder supports 4cif, cif, qcif and sub-qcif\n");
+					mfc_err("when all Annex were off\n");
+					return S3C_MFC_INST_ERR_INVALID_PARAM;
+				}
+			}
+
+			break;
+
+		case AVC_ENC:
+			writel(S3C_MFC_H264_ENCODE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_COD_STD);
+			writel(~(0xFFFF), s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_264_PARA);
+			if (ctx->enc_num_slices) {
+				/* 
+				 * MB size is 16x16 -> width & height are divided by 16 to get number of MBs
+				 * division by 16 == shift right by 4-bit
+				 */
+				num_mbs = (enc_info->width >> 4) * (enc_info->height >> 4);
+				slices_mb = (num_mbs / ctx->enc_num_slices);
+				writel(S3C_MFC_SLICE_MODE_MULTIPLE | (1 << 1) | (slices_mb<< 2), 		\
+							s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_SLICE_MODE);
+			}
+
+			break;
+
+		default:
+			mfc_err("mfc encoder supports mpeg4, h.264 and h.263\n");
+			return S3C_MFC_INST_ERR_INVALID_PARAM;
+	}
+
+	writel(USER_QP_MAX_DISABLE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_SEQ_RC_OPTION);
+	
+	/* SEQ_INIT command */
+	s3c_mfc_issue_command(ctx->inst_no, ctx->codec_mode, SEQ_INIT);
+
+	if (readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_ENC_SEQ_SUCCESS) == TRUE) {
+		mfc_debug("encoding sequence init success\n");
+	} else {
+		mfc_err("fail to encoding sequence init\n");
+		return S3C_MFC_INST_ERR_ENC_INIT_CMD_FAIL;
+	}
+
+	yuv_buffer_size = ((ctx->width * ctx->height * 3) >> 1) * (ctx->yuv_buffer_count + 1);
+	if (s3c_mfc_get_yuv_buffer_addr(ctx, yuv_buffer_size) == FALSE) {
+		mfc_err("fail to Initialization of MFC instance\n");
+		mfc_err("fail to mfc instance inititialization (required frame buffer size = %d)\n", 	\
+											yuv_buffer_size);
+		return S3C_MFC_INST_ERR_ETC;
+	}
+	ctx->yuv_buffer_allocated = 1;
+
+	/*
+	 * set the parameters in the parameters buffer for SET_FRAME_BUF command
+	 * buffer address of y, cb, cr will be set in parameters buffer
+	 */
+	param_buf = (unsigned char *)s3c_mfc_get_param_buff_virt_addr();
+	frame_size = ctx->width * ctx->height;
+	for (i=0; i < ctx->yuv_buffer_count; i++) {
+		*((int *)(param_buf + i * 3 * 4)) = ctx->phys_addr_yuv_buffer + (i + 1) * ((frame_size * 3) >> 1);
+		*((int *)(param_buf + i * 3 * 4 + 4)) = ctx->phys_addr_yuv_buffer + (i + 1) * ((frame_size * 3) >> 1) + \
+														frame_size;
+		*((int *)(param_buf + i * 3 * 4 + 8)) = ctx->phys_addr_yuv_buffer + (i + 1) * ((frame_size * 3) >> 1) + \
+												frame_size + (frame_size >> 2);
+	}
+
+	/*
+	 * issue the SET_FRAME_BUF command
+	 * 'SET_FRAME_BUF_NUM' must be greater than or equal to RET_DEC_SEQ_FRAME_NEED_COUNT
+	 */
+	writel(ctx->yuv_buffer_count, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_SET_FRAME_BUF_NUM);
+	writel(ctx->buf_width, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_SET_FRAME_BUF_STRIDE);
+	
+	s3c_mfc_issue_command(ctx->inst_no, ctx->codec_mode, SET_FRAME_BUF);
+
+	/*
+	 * changing state
+	 * state change to S3C_MFC_INST_STATE_ENC_INITIALIZED
+	 */
+	S3C_MFC_INST_STATE_TRANSITION(ctx, S3C_MFC_INST_STATE_ENC_INITIALIZED);
+
+
+	return S3C_MFC_INST_RET_OK;
+}
+
+/* this function decodes the input stream and put the decoded frame into the yuv buffer */
+int s3c_mfc_inst_dec(s3c_mfc_inst_context_t *ctx, unsigned long strm_leng)
+{
+#if (S3C_MFC_ROTATE_ENABLE == 1)
+	int frame_size;	// width * height
+#endif
+	int frm_size;
+
+	/* checking state */
+	if (S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_DELETED)) {
+		mfc_err("mfc instance is deleted\n");
+		return S3C_MFC_INST_ERR_STATE_DELETED;
+	}
+	if (S3C_MFC_INST_STATE_PWR_OFF_FLAG_CHECK(ctx)) {
+		mfc_err("mfc instance is in Power-Off state.\n");
+		return S3C_MFC_INST_ERR_STATE_POWER_OFF;
+	}
+	if (S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_CREATED)) {
+		mfc_err("mfc instance is not initialized\n");
+		return S3C_MFC_INST_ERR_STATE_CHK;
+	}
+
+	/*
+	 * (strm_leng > 0) means that the video stream is waiting for being decoded in the STRM_LINE_BUF
+	 * otherwise, no more video streams are available and the decode command will flush the decoded YUV data
+	 * which are postponed because of B-frame (VC-1) or reordering (H.264).
+	 */
+	if (strm_leng > 0) {		
+		switch(ctx->inst_no) {
+		case 0:
+			writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR0);
+			writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR0);
+			break;
+		case 1:
+			writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR1);
+			writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR1);
+			break;
+		case 2:
+			writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR2);
+			writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR2);
+			break;
+		case 3:
+			writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR3);
+			writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR3);
+			break;
+		case 4:
+			writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR4);
+			writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR4);
+			break;
+		case 5:
+			writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR5);
+			writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR5);
+			break;
+		case 6:
+			writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR6);
+			writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR6);
+			break;
+		case 7:
+			writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_RD_PTR7);
+			writel(ctx->phys_addr_stream_buffer + strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR7);
+			break;
+		}
+
+		/* set the parameters in the parameters buffer for PIC_RUN command */
+		writel(ctx->post_rotation_mode, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_RUN);
+		
+#if (S3C_MFC_ROTATE_ENABLE == 1)
+		if (ctx->post_rotation_mode & 0x0010) {	/* the bit of 'post_rotataion_enable' is 1 */
+			unsigned int dec_pic_rot_addr_y;
+
+			frame_size = ctx->buf_width * ctx->buf_height;
+
+			dec_pic_rot_addr_y = ctx->phys_addr_yuv_buffer + ctx->yuv_buffer_count * ((frame_size * 3) >> 1);
+			writel(dec_pic_rot_addr_y, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_ROT_ADDR_Y);
+			writel(dec_pic_rot_addr_y + frame_size, s3c_mfc_sfr_base_virt_addr + 	\
+										S3C_MFC_PARAM_DEC_PIC_ROT_ADDR_CB);
+			writel(dec_pic_rot_addr_y + frame_size + (frame_size >> 2), 		\
+							s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_ROT_ADDR_CR);
+
+			/* rotate angle */
+			switch (ctx->post_rotation_mode & 0x0003) {
+				case 0:	/* 0   degree counterclockwise rotate */
+				case 2:	/* 180 degree counterclockwise rotate */
+					writel(ctx->buf_width, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_ROT_STRIDE);
+					
+					break;
+
+				case 1:	/* 90  degree counterclockwise rotate */
+				case 3:	/* 270 degree counterclockwise rotate */
+					writel(ctx->buf_height, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_ROT_STRIDE);
+					break;
+			}
+		}
+#endif
+
+#if 1
+		/* DEC_PIC_OPTION was newly added for MP4ASP */
+		frm_size = ctx->buf_width * ctx->buf_height;
+		writel(0x7, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_OPTION);
+		writel(ctx->mv_mbyte_addr, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_MV_ADDR);
+		writel(ctx->mv_mbyte_addr + 25920, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_MBTYPE_ADDR);
+#endif
+		writel(ctx->phys_addr_stream_buffer & 0xFFFFFFFC, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_BB_START);
+		writel(ctx->phys_addr_stream_buffer & 0x00000003, 		\
+							s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_START_BYTE);
+		writel(strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_CHUNK_SIZE);
+	} else {
+		writel(strm_leng, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_DEC_PIC_RUN);
+		s3c_mfc_set_eos(1);
+	}
+
+	/* issue the PIC_RUN command */
+	if (!s3c_mfc_issue_command(ctx->inst_no, ctx->codec_mode, PIC_RUN)) {
+		return S3C_MFC_INST_ERR_DEC_PIC_RUN_CMD_FAIL;
+	}
+	
+	if (readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_PIC_SUCCESS) != 1) {
+		mfc_warn("RET_DEC_PIC_SUCCESS is not value of 1(=SUCCESS) value is %d\n", \
+			readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_PIC_SUCCESS));
+		
+	}
+	ctx->run_index = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_PIC_IDX);
+
+	if (ctx->run_index > 30) {
+		if (ctx->run_index == 0xFFFFFFFF) {		/* RET_DEC_PIC_IDX == -1 */
+			mfc_warn("end of stream\n");
+			return S3C_MFC_INST_ERR_DEC_EOS;
+		} else if (ctx->run_index == 0xFFFFFFFD) {	/* RET_DEC_PIC_IDX == -3 */
+			mfc_debug("no picture to be displayed\n");
+		} else {
+			mfc_err("fail to decoding, ret = %d\n", ctx->run_index);
+			return S3C_MFC_INST_ERR_DEC_DECODE_FAIL_ETC;
+		}
+	}
+
+#if (defined(DIVX_ENABLE) && (DIVX_ENABLE == 1))
+	ctx->RET_DEC_PIC_RUN_BAK_BYTE_CONSUMED = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_PIC_BCNT);
+	ctx->RET_DEC_PIC_RUN_BAK_MP4ASP_FCODE = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_PIC_FCODE_FWD);
+	ctx->RET_DEC_PIC_RUN_BAK_MP4ASP_TIME_BASE_LAST = 	\
+					readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_PIC_TIME_BASE_LAST);
+	ctx->RET_DEC_PIC_RUN_BAK_MP4ASP_NONB_TIME_LAST = 	\
+					readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_PIC_NONB_TIME_LAST);
+	ctx->RET_DEC_PIC_RUN_BAK_MP4ASP_MP4ASP_TRD = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_PIC_TRD);
+#endif
+
+	/* 
+	 * changing state 
+	 * state change to S3C_MFC_INST_STATE_DEC_PIC_RUN_LINE_BUF
+	 */
+	S3C_MFC_INST_STATE_TRANSITION(ctx, S3C_MFC_INST_STATE_DEC_PIC_RUN_LINE_BUF);
+
+	return S3C_MFC_INST_RET_OK;
+}
+
+int s3c_mfc_inst_enc(s3c_mfc_inst_context_t *ctx, int *enc_data_size, int *header_size)
+{
+	int hdr_size, hdr_size2;
+	int size;
+	unsigned int bits_wr_ptr_value = 0;
+	unsigned char *hdr_buf_tmp=NULL;
+	unsigned char	*start, *end;
+
+	/* checking state */
+	if (!S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_ENC_INITIALIZED) && 	\
+					!S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_ENC_PIC_RUN_LINE_BUF)) {
+		mfc_err("mfc encoder instance is not initialized or not using the line buffer\n");
+		return S3C_MFC_INST_ERR_STATE_CHK;
+	}
+
+	/* the 1st call of this function (s3c_mfc_inst_enc) will generate the stream header (mpeg4:VOL, h264:SPS/PPS) */
+	if (S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_ENC_INITIALIZED)) {
+		if (ctx->codec_mode == MP4_ENC) {
+			/*  ENC_HEADER command  */
+			s3c_mfc_inst_enc_header(ctx, 0, 0, ctx->phys_addr_stream_buffer, ctx->stream_buffer_size, \
+												&hdr_size);	// VOL
+
+			/* Backup the stream header in the temporary header buffer */
+			hdr_buf_tmp = (unsigned char *)kmalloc(hdr_size, GFP_KERNEL);
+			if (hdr_buf_tmp) {
+				memcpy(hdr_buf_tmp, ctx->stream_buffer, hdr_size);
+
+				start = ctx->stream_buffer;
+				size = hdr_size;
+				dma_cache_maint(start, size, DMA_FROM_DEVICE);
+			} else {
+				return S3C_MFC_INST_ERR_MEMORY_ALLOCATION_FAIL;
+			}
+		} else if (ctx->codec_mode == AVC_ENC) {
+			/*  ENC_HEADER command  */
+			s3c_mfc_inst_enc_header(ctx, 0, 0, ctx->phys_addr_stream_buffer, ctx->stream_buffer_size,	\
+								&hdr_size); /* SPS */
+			s3c_mfc_inst_enc_header(ctx, 1, 0, ctx->phys_addr_stream_buffer + (hdr_size + 3), 		\
+								ctx->stream_buffer_size-(hdr_size+3), &hdr_size2); /* PPS */
+
+			/* backup the stream header in the temporary header buffer */
+			hdr_buf_tmp = (unsigned char *)kmalloc(hdr_size + 3 + hdr_size2, GFP_KERNEL);
+			if (hdr_buf_tmp) {
+				memcpy(hdr_buf_tmp, ctx->stream_buffer, hdr_size);
+
+				start = ctx->stream_buffer;
+				size = hdr_size;
+				dma_cache_maint(start, size, DMA_FROM_DEVICE);				
+			
+				memcpy(hdr_buf_tmp + hdr_size, (unsigned char *)((unsigned int)(ctx->stream_buffer + 	\
+								(hdr_size + 3)) & 0xFFFFFFFC), hdr_size2);
+
+				start = ((unsigned int)(ctx->stream_buffer + (hdr_size + 3)) & 0xFFFFFFFC);
+				size = hdr_size2;
+				dma_cache_maint(start, size, DMA_FROM_DEVICE);				
+	
+				hdr_size += hdr_size2;
+			} else {
+                		return S3C_MFC_INST_ERR_MEMORY_ALLOCATION_FAIL;
+            		}
+		}
+	}
+
+	// Dynamic Change for fps of MPEG4 Encoder
+	if ( (ctx->codec_mode == MP4_ENC) && 
+		S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_ENC_PIC_RUN_LINE_BUF) &&
+		(ctx->enc_change_framerate == 1) ) { 
+			
+    		//  ENC_HEADER command  //
+    		s3c_mfc_inst_enc_header(ctx, 0, 0, ctx->phys_addr_stream_buffer, ctx->stream_buffer_size, \
+											&hdr_size);	// VOL
+
+    		// Backup the stream header in the temporary header buffer.
+    		hdr_buf_tmp = (unsigned char *)kmalloc(hdr_size, GFP_KERNEL);
+    		if (hdr_buf_tmp) {
+			memcpy(hdr_buf_tmp, ctx->stream_buffer, hdr_size);
+
+			start = ctx->stream_buffer;
+			size = hdr_size;
+			dma_cache_maint(start, size, DMA_FROM_DEVICE);	
+		} else 
+			return S3C_MFC_INST_ERR_MEMORY_ALLOCATION_FAIL;            							
+    	}
+
+	/* SEI message with recovery point */
+	if ((ctx->enc_pic_option & 0x0F000000) && (ctx->codec_mode == AVC_ENC)) {
+		/* ENC_HEADER command */
+		s3c_mfc_inst_enc_header(ctx, 4, ((ctx->enc_pic_option & 0x0F000000) >> 24), 	\
+						ctx->phys_addr_stream_buffer, ctx->stream_buffer_size, &hdr_size); /* SEI */
+		/* Backup the stream header in the temporary header buffer */
+		hdr_buf_tmp = (unsigned char *)kmalloc(hdr_size, GFP_KERNEL);
+		if (hdr_buf_tmp) {
+			memcpy(hdr_buf_tmp, ctx->stream_buffer, hdr_size);
+
+			start = ctx->stream_buffer;
+			size = hdr_size;
+			dma_cache_maint(start, size, DMA_FROM_DEVICE);
+		
+		} else {
+			return S3C_MFC_INST_ERR_MEMORY_ALLOCATION_FAIL;
+		}
+	}
+
+	/* Set the address of each component of YUV420 */
+	writel(ctx->phys_addr_yuv_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_PIC_SRC_ADDR_Y);
+	writel(ctx->phys_addr_yuv_buffer + ctx->buf_width * ctx->height, s3c_mfc_sfr_base_virt_addr + 	\
+										S3C_MFC_PARAM_ENC_PIC_SRC_ADDR_CB);
+	writel(ctx->phys_addr_yuv_buffer + ((ctx->buf_width * ctx->height * 5) >> 2), 			\
+							s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_PIC_SRC_ADDR_CR);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_PIC_ROT_MODE);
+	writel((ctx->enc_pic_option & 0x0000FFFF), s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_PIC_OPTION);
+	writel(ctx->phys_addr_stream_buffer, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_PIC_BB_START);
+	writel(ctx->stream_buffer_size, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_PIC_BB_SIZE);
+
+	if (!s3c_mfc_issue_command(ctx->inst_no, ctx->codec_mode, PIC_RUN)) {
+		return S3C_MFC_INST_ERR_ENC_PIC_RUN_CMD_FAIL;
+	}
+
+	ctx->enc_pic_option = 0; /* reset the encoding picture option at every picture */
+	ctx->run_index = 0;
+	ctx->enc_change_framerate = 0;	
+	
+	switch(ctx->inst_no) {
+	case 0:
+		bits_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR0);
+		break;
+	case 1:
+		bits_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR1);
+		break;
+	case 2:
+		bits_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR2);
+		break;
+	case 3:
+		bits_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR3);
+		break;
+	case 4:
+		bits_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR4);
+		break;
+	case 5:
+		bits_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR5);
+		break;
+	case 6:
+		bits_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR6);
+		break;
+	case 7:
+		bits_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR7);
+		break;
+	}
+
+	*enc_data_size = bits_wr_ptr_value - ctx->phys_addr_stream_buffer;	
+	*header_size = 0;
+
+	if (hdr_buf_tmp) {
+		memmove(ctx->stream_buffer + hdr_size, ctx->stream_buffer, *enc_data_size);
+
+		start = ctx->stream_buffer;
+		size = hdr_size + (*enc_data_size);
+		dma_cache_maint(start, size, DMA_TO_DEVICE);
+		
+		memcpy(ctx->stream_buffer, hdr_buf_tmp, hdr_size);
+
+		start = ctx->stream_buffer;
+		size = hdr_size;
+		dma_cache_maint(start, size, DMA_TO_DEVICE);		
+
+		kfree(hdr_buf_tmp);
+
+		*enc_data_size += hdr_size;
+		*header_size    = hdr_size;
+	}
+
+	/* changing state */
+	/* state change to S3C_MFC_INST_STATE_ENC_PIC_RUN_LINE_BUF */
+	S3C_MFC_INST_STATE_TRANSITION(ctx, S3C_MFC_INST_STATE_ENC_PIC_RUN_LINE_BUF);
+
+
+	return S3C_MFC_INST_RET_OK;
+}
+
+/* hdr_code == 0: SPS */
+/* hdr_code == 1: PPS */
+/* hdr_code == 4: SEI */
+int s3c_mfc_inst_enc_header(s3c_mfc_inst_context_t *ctx, int hdr_code, int hdr_num, unsigned int outbuf_physical_addr,\
+												int outbuf_size, int *hdr_size)
+{
+	unsigned int bit_wr_ptr_value = 0;
+
+
+	if (!S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_ENC_INITIALIZED) && 		\
+						!S3C_MFC_INST_STATE_CHECK(ctx, S3C_MFC_INST_STATE_ENC_PIC_RUN_LINE_BUF)) {
+		mfc_err("mfc encoder instance is not initialized or not using the line buffer\n");
+		return S3C_MFC_INST_ERR_STATE_CHK;
+	}
+
+	if ((ctx->codec_mode != MP4_ENC) && (ctx->codec_mode != AVC_ENC)) {
+		return S3C_MFC_INST_ERR_WRONG_CODEC_MODE;
+	}
+
+	/* Set the address of each component of YUV420 */
+	writel(hdr_code, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_HEADER_CODE);
+	writel(outbuf_physical_addr & 0xFFFFFFFC, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_HEADER_BB_START);
+	writel(outbuf_size, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_HEADER_BB_SIZE);
+	
+	if (hdr_code == 4) /* SEI recovery point */
+		writel(hdr_num, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_HEADER_NUM);
+
+	if (!s3c_mfc_issue_command(ctx->inst_no, ctx->codec_mode, ENC_HEADER)) {
+		return S3C_MFC_INST_ERR_ENC_HEADER_CMD_FAIL;
+	}
+
+	switch (ctx->inst_no) {
+	case 0:
+		bit_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR0);
+		break;
+	case 1:
+		bit_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR1);
+		break;
+	case 2:
+		bit_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR2);
+		break;
+	case 3:
+		bit_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR3);
+		break;
+	case 4:
+		bit_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR4);
+		break;
+	case 5:
+		bit_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR5);
+		break;
+	case 6:
+		bit_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR6);
+		break;
+	case 7:
+		bit_wr_ptr_value = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BIT_STR_WR_PTR7);
+		break;
+	}
+
+	*hdr_size = bit_wr_ptr_value - readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_HEADER_BB_START);
+	
+
+	return S3C_MFC_INST_RET_OK;
+}
+
+
+int s3c_mfc_inst_enc_param_change(s3c_mfc_inst_context_t *ctx, unsigned int param_change_enable, 	\
+											unsigned int param_change_val)
+{
+	int num_mbs; /* number of MBs */
+	int slices_mb; /* MB number of slice (only if S3C_MFC_SLICE_MODE_MULTIPLE is selected) */
+
+
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_ENABLE);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_GOP_NUM);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_INTRA_QP);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_BITRATE);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_F_RATE);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_INTRA_REFRESH);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_SLICE_MODE);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_HEC_MODE);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_RESERVED0);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_RESERVED1);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_RESERVED2);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_RESERVED3);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_RESERVED4);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_RESERVED5);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_RESERVED6);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_RESERVED7);
+	writel(0x0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_ENC_CHANGE_SUCCESS);
+	writel(param_change_enable, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_ENABLE);
+
+	if (param_change_enable == (1 << 0)) { /* gop number */
+		if (param_change_val > 60) {
+			mfc_err("mfc encoder parameter change value is invalid\n");
+			return S3C_MFC_INST_ERR_ENC_PARAM_CHANGE_INVALID_VALUE;
+		}
+		writel(param_change_val, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_GOP_NUM);
+	} else if (param_change_enable == (1 << 1)) { /* intra qp */
+		if (((ctx->codec_mode == MP4_DEC || ctx->codec_mode == H263_DEC) && 		\
+					(param_change_val == 0 || param_change_val > 31))	\
+					|| (ctx->codec_mode == AVC_DEC && param_change_val > 51)) {
+			mfc_err("mfc encoder parameter change value is invalid\n");
+			return S3C_MFC_INST_ERR_ENC_PARAM_CHANGE_INVALID_VALUE;
+		}
+		writel(param_change_val, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_INTRA_QP);
+	} else if (param_change_enable == (1 << 2)) { /* bitrate */
+		if (param_change_val > 0x07FFF) {
+			mfc_err("mfc encoder parameter change value is invalid\n");
+			return S3C_MFC_INST_ERR_ENC_PARAM_CHANGE_INVALID_VALUE;
+		}
+		writel(param_change_val, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_BITRATE);
+	} else if (param_change_enable == (1 << 3)) { /* frame rate */
+		writel(param_change_val, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_F_RATE);
+		ctx->enc_change_framerate = 1;	
+	} else if (param_change_enable == (1 << 4)) { /* intra refresh */
+		if (param_change_val > ((ctx->width * ctx->height) >> 8)) {
+			mfc_err("mfc encoder parameter change value is invalid\n");
+			return S3C_MFC_INST_ERR_ENC_PARAM_CHANGE_INVALID_VALUE;
+		}
+		writel(param_change_val, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_INTRA_REFRESH);
+	} else if (param_change_enable == (1 << 5)) { /* slice mode */
+		/* 
+		 * MB size is 16x16 -> width & height are divided by 16 to get number of MBs
+		 * division by 16 == shift right by 4-bit
+		 */
+		num_mbs = (ctx->width >> 4) * (ctx->height >> 4);
+
+		if (param_change_val > 256 || param_change_val > num_mbs) {
+			mfc_err("mfc encoder parameter change value is invalid\n");
+			return S3C_MFC_INST_ERR_ENC_PARAM_CHANGE_INVALID_VALUE;
+		}
+
+		if (param_change_val == 0) {
+			writel(S3C_MFC_SLICE_MODE_ONE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_SLICE_MODE);
+		} else {
+			slices_mb = (num_mbs / param_change_val);
+			ctx->enc_num_slices = param_change_val;
+
+			writel(S3C_MFC_SLICE_MODE_MULTIPLE | (1 << 1) | (slices_mb<< 2), 	\
+						s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_ENC_CHANGE_SLICE_MODE);
+		}
+	}
+
+	if (!s3c_mfc_issue_command(ctx->inst_no, ctx->codec_mode, ENC_PARAM_CHANGE)) {
+		return S3C_MFC_INST_ERR_ENC_HEADER_CMD_FAIL;
+	}
+
+
+	return S3C_MFC_INST_RET_OK;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_instance.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_instance.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_instance.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_instance.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,182 @@
+/* linux/driver/media/video/mfc/s3c_mfc_instance.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_INSTANCE_H
+#define _S3C_MFC_INSTANCE_H
+
+
+#include "s3c_mfc_base.h"
+#include "s3c_mfc_types.h"
+
+
+typedef enum
+{
+	S3C_MFC_INST_STATE_DELETED = 0,			/* instance is deleted */
+	S3C_MFC_INST_STATE_CREATED         = 10,	/* instance is created but not initialized */
+	S3C_MFC_INST_STATE_DEC_INITIALIZED = 20,	/* instance is initialized for decoding */
+	S3C_MFC_INST_STATE_DEC_PIC_RUN_LINE_BUF,
+	S3C_MFC_INST_STATE_ENC_INITIALIZED = 30,	/* instance is initialized for encoding */
+	S3C_MFC_INST_STATE_ENC_PIC_RUN_LINE_BUF,
+} s3c_mfc_instance_state_t;
+
+
+#define S3C_MFC_INST_STATE_PWR_OFF_FLAG		0x40000000
+#define S3C_MFC_INST_STATE_BUF_FILL_REQ		0x80000000
+
+#define S3C_MFC_INST_STATE_TRANSITION(inst_ctx, state)	((inst_ctx)->state_var =  (state))
+#define S3C_MFC_INST_STATE(inst_ctx)			((inst_ctx)->state_var & 0x0FFFFFFF)
+#define S3C_MFC_INST_STATE_CHECK(inst_ctx, state)	(((inst_ctx)->state_var & 0x0FFFFFFF) == (state))
+
+#define S3C_MFC_INST_STATE_PWR_OFF_FLAG_SET(inst_ctx)	((inst_ctx)->state_var |= S3C_MFC_INST_STATE_PWR_OFF_FLAG)
+#define S3C_MFC_INST_STATE_PWR_OFF_FLAG_CLEAR(inst_ctx)	((inst_ctx)->state_var &= ~S3C_MFC_INST_STATE_PWR_OFF_FLAG)
+#define S3C_MFC_INST_STATE_PWR_OFF_FLAG_CHECK(inst_ctx)	((inst_ctx)->state_var & S3C_MFC_INST_STATE_PWR_OFF_FLAG)
+#define S3C_MFC_INST_STATE_BUF_FILL_REQ_SET(inst_ctx)	((inst_ctx)->state_var |= S3C_MFC_INST_STATE_BUF_FILL_REQ)
+#define S3C_MFC_INST_STATE_BUF_FILL_REQ_CLEAR(inst_ctx)	((inst_ctx)->state_var &= ~S3C_MFC_INST_STATE_BUF_FILL_REQ)
+#define S3C_MFC_INST_STATE_BUF_FILL_REQ_CHECK(inst_ctx)	((inst_ctx)->state_var & S3C_MFC_INST_STATE_BUF_FILL_REQ)
+
+
+typedef struct
+{
+	int		inst_no;
+
+	s3c_mfc_codec_mode_t	codec_mode;
+
+	unsigned char	*stream_buffer;			/* stream buffer pointer (virtual address) */
+	unsigned int	phys_addr_stream_buffer;	/* stream buffer physical address */
+	unsigned int	stream_buffer_size;		/* stream buffer size */
+
+	unsigned char	*yuv_buffer;			/* yuv buffer pointer (virtual address) */
+	unsigned int	phys_addr_yuv_buffer;		/* yuv buffer physical address */
+	unsigned int	yuv_buffer_size;		/* yuv buffer size */
+	unsigned int	mv_mbyte_addr;       		/* phyaical address of MV and MByte tables */
+
+
+	int		yuv_buffer_allocated;
+
+	int		width, height;
+	int		buf_width, buf_height;		/* buf_width is stride. */
+	
+	int		yuv_buffer_count;		/* decoding case: RET_DEC_SEQ_FRAME_NEED_COUNT */
+	                              			/* encoding case: fixed at 2 (at lease 2 frame buffers) */
+
+	unsigned int    post_rotation_mode;
+
+	unsigned int    dec_pic_option;			/* 0-th bit : MP4ASP FLAG, */
+							/* 1-st bit : MV REPORT ENABLE, */
+							/* 2-nd bit : MBTYPE REPORT ENABLE */
+	/* encoding configuration info */
+	int		frame_rate_residual;
+	int		frame_rate_division;
+	int		gop_number;
+	int		bitrate;
+
+	/* encoding configuration info (misc.) */
+	int		h263_annex;
+	int		enc_num_slices;
+
+	/* encoding picture option */
+	unsigned int	enc_pic_option;			/* 0-th bit : S3C_ENC_PIC_OPT_SKIP, */
+							/* 1-st bit : S3C_ENC_PIC_OPT_IDR, */
+							/* 24-th bit: S3C_ENC_PIC_OPT_RECOVERY */
+	unsigned int	enc_change_framerate;  		/* when Frame Rate changing */							
+	int		frame_num;			/* DEC_PIC_FRAME_NUM */
+	int		run_index;			/* DEC_PIC_RUN_IDX */
+
+	s3c_mfc_instance_state_t   state_var;		/* State Variable */
+
+#if (defined(DIVX_ENABLE) && (DIVX_ENABLE == 1))
+
+	unsigned int	padding_size;
+
+	/* RET_DEC_PIC_RUN_BAK_XXXXX : MP4ASP(DivX) related values that is returned        */
+	/*                         on DEC_PIC_RUN command.                                 */
+	/* RET_DEC_SEQ_INIT_BAK_XXXXX : MP4ASP(DivX) related values that is returned       */
+	/*                         on DEC_SEQ_INIT command.                                */
+	/* They are maintained in the context structure variable.                          */
+	unsigned int	RET_DEC_SEQ_INIT_BAK_MP4ASP_VOP_TIME_RES;
+	unsigned int	RET_DEC_PIC_RUN_BAK_BYTE_CONSUMED;
+	unsigned int	RET_DEC_PIC_RUN_BAK_MP4ASP_FCODE;
+	unsigned int	RET_DEC_PIC_RUN_BAK_MP4ASP_TIME_BASE_LAST;
+	unsigned int	RET_DEC_PIC_RUN_BAK_MP4ASP_NONB_TIME_LAST;
+	unsigned int	RET_DEC_PIC_RUN_BAK_MP4ASP_MP4ASP_TRD;
+#endif
+} s3c_mfc_inst_context_t;
+
+
+typedef struct {
+	int width;
+	int height;
+	int frame_rate_residual;
+	int frame_rate_division;
+	int gop_number;
+	int bitrate;
+} s3c_mfc_enc_info_t;
+
+/* future work
+#define MFCINST_MP4_QPMAX	31
+#define MFCINST_MP4_QPMIN	1
+#define MFCINST_H264_QPMAX	51
+#define MFCINST_H264_QPMIN	0
+
+#define MFCINST_GAMMA_FACTOR	0.75
+#define MFCINST_GAMMA_FACTEE	32768
+*/
+
+s3c_mfc_inst_context_t *s3c_mfc_inst_get_context(int inst_no);
+int  s3c_mfc_inst_get_no(s3c_mfc_inst_context_t *ctx);
+BOOL s3c_mfc_inst_get_stream_buff_rw_ptrs(s3c_mfc_inst_context_t *ctx, unsigned char **read_ptr, unsigned char **write_ptr);
+
+s3c_mfc_inst_context_t *s3c_mfc_inst_create(void);
+void s3c_mfc_inst_del(s3c_mfc_inst_context_t *ctx);
+
+void s3c_mfc_inst_pow_off_state(s3c_mfc_inst_context_t *ctx);
+void s3c_mfc_inst_pow_on_state(s3c_mfc_inst_context_t *ctx);
+
+int  s3c_mfc_inst_init_dec(s3c_mfc_inst_context_t *ctx, s3c_mfc_codec_mode_t codec_mode, unsigned long strm_leng);
+int  s3c_mfc_inst_dec(s3c_mfc_inst_context_t *ctx, unsigned long arg);
+
+int  s3c_mfc_instance_init_enc(s3c_mfc_inst_context_t *ctx, s3c_mfc_codec_mode_t codec_mode, s3c_mfc_enc_info_t *enc_info);
+int  s3c_mfc_inst_enc(s3c_mfc_inst_context_t *ctx, int *enc_data_size, int *header_size);
+int  s3c_mfc_inst_enc_header(s3c_mfc_inst_context_t *ctx, int hdr_code, int hdr_num, unsigned int outbuf_physical_addr, int outbuf_size, int *hdr_size);
+int  s3c_mfc_inst_enc_param_change(s3c_mfc_inst_context_t *ctx, unsigned int param_change_enable, unsigned int param_change_val);
+
+unsigned int s3c_mfc_inst_set_post_rotate(s3c_mfc_inst_context_t *ctx, unsigned int post_rotmode);
+
+int  s3c_mfc_inst_get_line_buff(s3c_mfc_inst_context_t *ctx, unsigned char **buffer, int *size);
+int  s3c_mfc_inst_get_yuv_buff(s3c_mfc_inst_context_t *ctx, unsigned char **buffer, int *size);
+
+#define S3C_MFC_INST_RET_OK				(0)
+
+#define S3C_MFC_INST_ERR_INVALID_PARAM			(-1001)
+#define S3C_MFC_INST_ERR_STATE_CHK			(-1002)
+#define S3C_MFC_INST_ERR_STATE_DELETED			(-1003)
+#define S3C_MFC_INST_ERR_STATE_POWER_OFF		(-1004)
+#define S3C_MFC_INST_ERR_WRONG_CODEC_MODE		(-1005)
+
+#define S3C_MFC_INST_ERR_DEC_INIT_CMD_FAIL		(-2001)
+#define S3C_MFC_INST_ERR_DEC_PIC_RUN_CMD_FAIL		(-2002)
+#define S3C_MFC_INST_ERR_DEC_DECODE_FAIL_ETC		(-2011)
+#define S3C_MFC_INST_ERR_DEC_INVALID_STRM		(-2012)
+#define S3C_MFC_INST_ERR_DEC_EOS			(-2013)
+#define S3C_MFC_INST_ERR_DEC_BUF_FILL_SIZE_WRONG	(-2014)
+
+#define S3C_MFC_INST_ERR_ENC_INIT_CMD_FAIL		(-3001)
+#define S3C_MFC_INST_ERR_ENC_PIC_RUN_CMD_FAIL		(-3002)
+#define S3C_MFC_INST_ERR_ENC_HEADER_CMD_FAIL		(-3003)
+#define S3C_MFC_INST_ERR_ENC_PARAM_CHANGE_INVALID_VALUE	(-3011)
+
+#define S3C_MFC_INST_ERR_MEMORY_ALLOCATION_FAIL		(-4001)
+
+#define S3C_MFC_INST_ERR_ETC				(-9001)
+
+
+#endif /* _S3C_MFC_INSTANCE_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_intr_noti.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_intr_noti.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_intr_noti.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_intr_noti.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,32 @@
+/* linux/driver/media/video/mfc/s3c_mfc_intr_noti.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_INTR_NOTI_H
+#define _S3C_MFC_INTR_NOTI_H
+
+#define S3C_MFC_INTR_NOTI_TIMEOUT    1000
+
+/*
+ * MFC Interrupt Enable Macro Definition
+ */
+#define S3C_MFC_INTR_ENABLE_ALL    0xCCFF
+#define S3C_MFC_INTR_ENABLE_RESET  0xC00E
+
+/*
+ * MFC Interrupt Reason Macro Definition
+ */
+#define S3C_MFC_INTR_REASON_NULL		0x0000
+#define S3C_MFC_INTR_REASON_BUFFER_EMPTY        0xC000
+#define S3C_MFC_INTR_REASON_INTRNOTI_TIMEOUT    (-99)
+
+
+#endif /* _S3C_MFC_INTR_NOTI_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_params.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_params.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_params.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_params.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,143 @@
+/* linux/driver/media/video/mfc/s3c_mfc_params.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_PARAMS_H
+#define _S3C_MFC_PARAMS_H
+
+typedef struct {
+	int ret_code;		/* [OUT] Return code */
+	int in_width;		/* [IN]  width  of YUV420 frame to be encoded */
+	int in_height;		/* [IN]  height of YUV420 frame to be encoded */
+	int in_bitrate;		/* [IN]  Encoding parameter: Bitrate (kbps) */
+	int in_gopNum;		/* [IN]  Encoding parameter: GOP Number (interval of I-frame) */
+	int in_frameRateRes;	/* [IN]  Encoding parameter: Frame rate (Res) */
+	int in_frameRateDiv;	/* [IN]  Encoding parameter: Frame rate (Divider) */
+	int in_intraqp;         /* [IN] Encoding Parameter: Intra Quantization Parameter */
+	int in_qpmax;           /* [IN] Encoding Paramter: Maximum Quantization Paramter */
+	float in_gamma;         /* [IN] Encoding Paramter: Gamma Factor for Motion Estimation */
+} s3c_mfc_enc_init_arg_t;
+
+typedef struct {
+	int ret_code;		/* [OUT] Return code */
+	int out_encoded_size;	/* [OUT] Length of Encoded video stream */
+	int out_header_size;	/* [OUT] Length of video stream header */
+} s3c_mfc_enc_exe_arg_t;
+
+typedef struct {
+	int ret_code;		/* [OUT] Return code */
+	int in_strmSize;	/* [IN]  Size of video stream filled in STRM_BUF */
+	int out_width;		/* [OUT] width  of YUV420 frame */
+	int out_height;		/* [OUT] height of YUV420 frame */
+	int out_buf_width;	/* [OUT] buffer's width of YUV420 frame */
+	int out_buf_height;	/* [OUT] buffer's height of YUV420 frame */
+} s3c_mfc_dec_init_arg_t;
+
+typedef struct {
+	int ret_code;		/* [OUT] Return code */
+	int in_strmSize;	/* [IN]  Size of video stream filled in STRM_BUF */
+} s3c_mfc_dec_exe_arg_t;
+
+typedef struct {
+	int ret_code;		/* [OUT] Return code */
+	int in_usr_data;	/* [IN]  User data for translating Kernel-mode address to User-mode address */
+	int in_usr_data2;
+	int out_buf_addr;	/* [OUT] Buffer address */
+	int out_buf_size;	/* [OUT] Size of buffer address */
+} s3c_mfc_get_buf_addr_arg_t;
+
+typedef struct {
+	int ret_code;			/* [OUT] Return code */
+	int in_config_param;		/* [IN]  Configurable parameter type */
+	int in_config_param2;
+	int out_config_value[2];	/* [IN]  Values to get for the configurable parameter. */
+	/*       Maximum two integer values can be obtained; */
+} s3c_mfc_get_config_arg_t;
+
+typedef struct {
+	int ret_code;			/* [OUT] Return code */
+	int in_config_param;		/* [IN]  Configurable parameter type */
+	int in_config_value[3];		/* [IN]  Values to be set for the configurable parameter. */
+	/*       Maximum two integer values can be set. */
+	int out_config_value_old[2];	/* [OUT] Old values of the configurable parameters */
+} s3c_mfc_set_config_arg_t;
+
+typedef struct {
+	int		in_usr_mapped_addr;
+	int   		ret_code;            /* [OUT] Return code */
+	int   		mv_addr;
+	int		mb_type_addr;
+	unsigned int  	mv_size;
+	unsigned int  	mb_type_size;
+	unsigned int  	mp4asp_vop_time_res;
+	unsigned int  	byte_consumed;
+	unsigned int  	mp4asp_fcode;
+	unsigned int  	mp4asp_time_base_last;
+	unsigned int  	mp4asp_nonb_time_last;
+	unsigned int  	mp4asp_trd;
+} s3c_mfc_get_mpeg4asp_arg_t;
+
+
+typedef union {
+	s3c_mfc_enc_init_arg_t		enc_init;
+	s3c_mfc_enc_exe_arg_t		enc_exe;
+	s3c_mfc_dec_init_arg_t		dec_init;
+	s3c_mfc_dec_exe_arg_t		dec_exe;
+	s3c_mfc_get_buf_addr_arg_t		get_buf_addr;
+	s3c_mfc_get_config_arg_t		get_config;
+	s3c_mfc_set_config_arg_t		set_config;
+	s3c_mfc_get_mpeg4asp_arg_t		mpeg4_asp_param;
+} s3c_mfc_args_t;
+
+
+#define S3C_MFC_GET_CONFIG_DEC_YUV_NEED_COUNT           (0x0AA0C001)
+#define S3C_MFC_GET_CONFIG_DEC_MP4ASP_MV                (0x0AA0C002)
+#define S3C_MFC_GET_CONFIG_DEC_MP4ASP_MBTYPE            (0x0AA0C003)
+
+#if (defined(DIVX_ENABLE) && (DIVX_ENABLE == 1))
+#define S3C_MFC_GET_CONFIG_DEC_MP4ASP_FCODE             (0x0AA0C011)
+#define S3C_MFC_GET_CONFIG_DEC_MP4ASP_VOP_TIME_RES      (0x0AA0C012)
+#define S3C_MFC_GET_CONFIG_DEC_MP4ASP_TIME_BASE_LAST    (0x0AA0C013)
+#define S3C_MFC_GET_CONFIG_DEC_MP4ASP_NONB_TIME_LAST    (0x0AA0C014)
+#define S3C_MFC_GET_CONFIG_DEC_MP4ASP_TRD               (0x0AA0C015)
+#define S3C_MFC_GET_CONFIG_DEC_BYTE_CONSUMED            (0x0AA0C016)
+#endif
+
+#define S3C_MFC_SET_CONFIG_DEC_ROTATE                   (0x0ABDE001)
+#define S3C_MFC_SET_CONFIG_DEC_OPTION                   (0x0ABDE002)
+
+#define S3C_MFC_SET_CONFIG_ENC_H263_PARAM               (0x0ABDC001)
+#define S3C_MFC_SET_CONFIG_ENC_SLICE_MODE               (0x0ABDC002)
+#define S3C_MFC_SET_CONFIG_ENC_PARAM_CHANGE             (0x0ABDC003)
+#define S3C_MFC_SET_CONFIG_ENC_CUR_PIC_OPT              (0x0ABDC004)
+
+#define S3C_MFC_SET_CACHE_CLEAN                         (0x0ABDD001)
+#define S3C_MFC_SET_CACHE_INVALIDATE                    (0x0ABDD002)
+#define S3C_MFC_SET_CACHE_CLEAN_INVALIDATE              (0x0ABDD003)
+
+#define S3C_MFC_SET_PADDING_SIZE                        (0x0ABDE003)
+
+#define S3C_ENC_PARAM_GOP_NUM                           (0x7000A001)
+#define S3C_ENC_PARAM_INTRA_QP                          (0x7000A002)
+#define S3C_ENC_PARAM_BITRATE                           (0x7000A003)
+#define S3C_ENC_PARAM_F_RATE                            (0x7000A004)
+#define S3C_ENC_PARAM_INTRA_REF                         (0x7000A005)
+#define S3C_ENC_PARAM_SLICE_MODE                        (0x7000A006)
+
+#define S3C_ENC_PIC_OPT_IDR                             (0x7000B001)
+#define S3C_ENC_PIC_OPT_SKIP                            (0x7000B002)
+#define S3C_ENC_PIC_OPT_RECOVERY                        (0x7000B003)
+
+#define S3C_MFC_DEC_PIC_OPT_MP4ASP                      (0x7000C001)
+
+
+#endif /* _S3C_MFC_PARAMS_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_set_config.c linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_set_config.c
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_set_config.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_set_config.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,281 @@
+/* linux/driver/media/video/mfc/s3c_mfc_set_config.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/dma-mapping.h>
+#include <asm/cacheflush.h>
+#include <asm/memory.h>
+#include <linux/kernel.h>
+
+#include "s3c_mfc_params.h"
+#include "s3c_mfc_instance.h"
+#include "s3c_mfc_config.h"
+#include "s3c_mfc_sfr.h"
+#include "s3c_mfc.h"
+
+/* Input arguments for S3C_MFC_IOCTL_MFC_SET_CONFIG */
+int s3c_mfc_get_config_params(s3c_mfc_inst_context_t *mfc_inst, s3c_mfc_args_t *args )
+{
+	int             ret;
+
+
+	switch (args->get_config.in_config_param) {
+	case S3C_MFC_GET_CONFIG_DEC_YUV_NEED_COUNT:
+		args->get_config.out_config_value[0] = mfc_inst->yuv_buffer_count;
+		ret = S3C_MFC_INST_RET_OK;
+
+		break;
+
+	case S3C_MFC_GET_CONFIG_DEC_MP4ASP_MV:
+	case S3C_MFC_GET_CONFIG_DEC_MP4ASP_MBTYPE:
+		/* "S3C_MFC_GET_CONFIG_DEC_MP4ASP_MV" and "S3C_MFC_GET_CONFIG_DEC_MP4ASP_MBTYPE" are processed in the upper function. */
+		ret = S3C_MFC_INST_RET_OK;
+
+		break;
+
+#if (defined(DIVX_ENABLE) && (DIVX_ENABLE == 1))
+	case S3C_MFC_GET_CONFIG_DEC_BYTE_CONSUMED:
+		args->get_config.out_config_value[0] = (int)mfc_inst->RET_DEC_PIC_RUN_BAK_BYTE_CONSUMED; 
+		mfc_debug("S3C_MFC_GET_CONFIG_DEC_BYTE_CONSUMED = %d\n", \
+			(int)mfc_inst->RET_DEC_PIC_RUN_BAK_BYTE_CONSUMED);
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_GET_CONFIG_DEC_MP4ASP_FCODE:
+		args->get_config.out_config_value[0] = (int)mfc_inst->RET_DEC_PIC_RUN_BAK_MP4ASP_FCODE;
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_GET_CONFIG_DEC_MP4ASP_VOP_TIME_RES:
+		args->get_config.out_config_value[0] = (int)mfc_inst->RET_DEC_SEQ_INIT_BAK_MP4ASP_VOP_TIME_RES;
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_GET_CONFIG_DEC_MP4ASP_TIME_BASE_LAST:
+		args->get_config.out_config_value[0] = (int)mfc_inst->RET_DEC_PIC_RUN_BAK_MP4ASP_TIME_BASE_LAST;
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_GET_CONFIG_DEC_MP4ASP_NONB_TIME_LAST:
+		args->get_config.out_config_value[0] = (int)mfc_inst->RET_DEC_PIC_RUN_BAK_MP4ASP_NONB_TIME_LAST;
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_GET_CONFIG_DEC_MP4ASP_TRD:
+		args->get_config.out_config_value[0] = (int)mfc_inst->RET_DEC_PIC_RUN_BAK_MP4ASP_MP4ASP_TRD;
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+#endif
+
+	default:
+		ret = -1;
+	}
+
+
+	/* Output arguments for S3C_MFC_IOCTL_MFC_SET_CONFIG */
+	args->get_config.ret_code = ret;
+
+	return S3C_MFC_INST_RET_OK;
+}
+
+/* Input arguments for S3C_MFC_IOCTL_MFC_SET_CONFIG */
+int s3c_mfc_set_config_params(s3c_mfc_inst_context_t *mfc_inst, s3c_mfc_args_t *args)		
+{
+	int             ret, size;
+	unsigned int    param_change_enable = 0, param_change_val;
+	unsigned char	*start;
+	unsigned int	end, offset;
+	
+	switch (args->set_config.in_config_param) {
+	case S3C_MFC_SET_CONFIG_DEC_ROTATE:
+#if (S3C_MFC_ROTATE_ENABLE == 1)
+		args->set_config.out_config_value_old[0]
+			= s3c_mfc_inst_set_post_rotate(mfc_inst, args->set_config.in_config_value[0]);
+#else
+		mfc_err("S3C_MFC_IOCTL_MFC_SET_CONFIG with S3C_MFC_SET_CONFIG_DEC_ROTATE is not supported\n");
+		mfc_err("please check if S3C_MFC_ROTATE_ENABLE is defined as 1 in MfcConfig.h file\n");
+#endif
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_SET_CONFIG_ENC_H263_PARAM:
+		args->set_config.out_config_value_old[0] = mfc_inst->h263_annex;
+		mfc_inst->h263_annex = args->set_config.in_config_value[0];
+		mfc_debug("parameter = 0x%x\n", mfc_inst->h263_annex);
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_SET_CONFIG_ENC_SLICE_MODE:
+		if (mfc_inst->enc_num_slices) {
+			args->set_config.out_config_value_old[0] = 1;
+			args->set_config.out_config_value_old[1] = mfc_inst->enc_num_slices;
+		} else {
+			args->set_config.out_config_value_old[0] = 0;
+			args->set_config.out_config_value_old[1] = 0;
+		}
+
+		if (args->set_config.in_config_value[0])
+			mfc_inst->enc_num_slices = args->set_config.in_config_value[1];
+		else
+			mfc_inst->enc_num_slices = 0;
+
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_SET_CONFIG_ENC_PARAM_CHANGE:
+
+		switch (args->set_config.in_config_value[0]) {
+		case S3C_ENC_PARAM_GOP_NUM:
+			param_change_enable = (1 << 0);
+			break;
+
+		case S3C_ENC_PARAM_INTRA_QP:
+			param_change_enable = (1 << 1);
+			break;
+
+		case S3C_ENC_PARAM_BITRATE:
+			param_change_enable = (1 << 2);
+			break;
+
+		case S3C_ENC_PARAM_F_RATE:
+			param_change_enable = (1 << 3);
+			break;
+
+		case S3C_ENC_PARAM_INTRA_REF:
+			param_change_enable = (1 << 4);
+			break;
+
+		case S3C_ENC_PARAM_SLICE_MODE:
+			param_change_enable = (1 << 5);
+			break;
+
+		default:
+			break;
+		}
+
+		param_change_val  = args->set_config.in_config_value[1];
+		ret = s3c_mfc_inst_enc_param_change(mfc_inst, param_change_enable, param_change_val);
+
+		break;
+
+	case S3C_MFC_SET_CONFIG_ENC_CUR_PIC_OPT:
+
+		switch (args->set_config.in_config_value[0]) {
+		case S3C_ENC_PIC_OPT_IDR:
+			mfc_inst->enc_pic_option ^= (args->set_config.in_config_value[1] << 1);
+			break;
+
+		case S3C_ENC_PIC_OPT_SKIP:
+			mfc_inst->enc_pic_option ^= (args->set_config.in_config_value[1] << 0);
+			break;
+
+		case S3C_ENC_PIC_OPT_RECOVERY:
+			mfc_inst->enc_pic_option ^= (args->set_config.in_config_value[1] << 24);
+			break;
+
+		default:
+			break;
+		}
+
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_SET_CACHE_CLEAN:
+		/* 
+		 * in_config_value[0] : start address in user layer 
+		 * in_config_value[1] : offset 
+		 * in_config_value[2] : start address of stream buffer in user layer
+		 */
+		offset = args->set_config.in_config_value[0] - args->set_config.in_config_value[2];
+		start = mfc_inst->stream_buffer + offset;
+		size = args->set_config.in_config_value[1];
+		dma_cache_maint(start, size, DMA_TO_DEVICE);
+		/*
+		offset = args->set_config.in_config_value[0] - args->set_config.in_config_value[2];
+		start = (unsigned int)mfc_inst->stream_buffer + offset;
+		end   = start + args->set_config.in_config_value[1];
+		dmac_clean_range((void *)start, (void *)end);
+
+		start = (unsigned int)mfc_inst->phys_addr_stream_buffer + offset;
+		end   = start + args->set_config.in_config_value[1];
+		outer_clean_range((unsigned long)start, (unsigned long)end);
+		*/
+		
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_SET_CACHE_INVALIDATE:
+		/* 
+		 * in_config_value[0] : start address in user layer 
+		 * in_config_value[1] : offset 
+		 * in_config_value[2] : start address of stream buffer in user layer
+		 */
+		offset = args->set_config.in_config_value[0] - args->set_config.in_config_value[2];
+		start = mfc_inst->stream_buffer + offset;
+		size = args->set_config.in_config_value[1];
+		dma_cache_maint(start, size, DMA_FROM_DEVICE);
+
+		/*
+		offset = args->set_config.in_config_value[0] - args->set_config.in_config_value[2];
+		start = (unsigned int)mfc_inst->stream_buffer + offset;
+		end   = start + args->set_config.in_config_value[1];
+		dmac_inv_range((void *)start, (void *)end);
+
+		start = (unsigned int)mfc_inst->phys_addr_stream_buffer + offset;
+		end = start + args->set_config.in_config_value[1];
+		outer_inv_range((unsigned long)start, (unsigned long)end);
+		*/
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+	case S3C_MFC_SET_CACHE_CLEAN_INVALIDATE:
+		/* 
+		 * in_config_value[0] : start address in user layer 
+		 * in_config_value[1] : offset 
+		 * in_config_value[2] : start address of stream buffer in user layer
+		 */
+		offset = args->set_config.in_config_value[0] - args->set_config.in_config_value[2];
+		start = mfc_inst->stream_buffer + offset;
+		size = args->set_config.in_config_value[1];
+		dma_cache_maint(start, size, DMA_BIDIRECTIONAL);
+
+		/*
+		offset = args->set_config.in_config_value[0] - args->set_config.in_config_value[2];
+		start = (unsigned int)mfc_inst->stream_buffer + offset;
+		end   = start + args->set_config.in_config_value[1];
+		dmac_flush_range((void *)start, (void *)end);
+
+		start = (unsigned int)mfc_inst->phys_addr_stream_buffer + offset;
+		end = start + args->set_config.in_config_value[1];
+		outer_flush_range((unsigned long)start, (unsigned long)end);
+		*/
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+
+#if (defined(DIVX_ENABLE) && (DIVX_ENABLE == 1))
+	case S3C_MFC_SET_PADDING_SIZE:
+		mfc_debug("padding size = %d\n", 		\
+			args->set_config.in_config_value[0]);
+		mfc_inst->padding_size = args->set_config.in_config_value[0];
+		ret = S3C_MFC_INST_RET_OK;
+		break;
+#endif
+
+	default:
+		ret = -1;
+	}
+
+	/* Output arguments for S3C_MFC_IOCTL_MFC_SET_CONFIG */
+	args->set_config.ret_code = ret;
+
+	return S3C_MFC_INST_RET_OK;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_sfr.c linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_sfr.c
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_sfr.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_sfr.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,311 @@
+/* linux/driver/media/video/mfc/s3c_mfc_sfr.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ * This source file is for setting the MFC's registers.
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/delay.h>
+#include <linux/kernel.h>
+#include <linux/wait.h>
+#include <asm/io.h>
+#include <plat/regs-mfc.h>
+
+#include "s3c_mfc_sfr.h"
+#include "s3c_mfc_config.h"
+#include "prism_s.h"
+#include "s3c_mfc_intr_noti.h"
+#include "s3c_mfc.h"
+
+extern wait_queue_head_t	s3c_mfc_wait_queue;
+extern unsigned int		s3c_mfc_intr_type;
+extern void __iomem		*s3c_mfc_sfr_base_virt_addr;
+
+
+int s3c_mfc_sleep()
+{
+	/* Wait until finish executing command. */
+	while (readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BUSY_FLAG) != 0)
+		udelay(1);
+
+	/* Issue Sleep Command. */
+	writel(0x01, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BUSY_FLAG);
+	writel(0x0A, s3c_mfc_sfr_base_virt_addr + S3C_MFC_RUN_CMD);
+
+	while (readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BUSY_FLAG) != 0)
+		udelay(1);
+
+	return 1;
+}
+
+int s3c_mfc_wakeup()
+{
+	/* Bit processor gets started. */
+	writel(0x01, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BUSY_FLAG);
+	writel(0x01, s3c_mfc_sfr_base_virt_addr + S3C_MFC_CODE_RUN);
+
+	while (readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BUSY_FLAG) != 0)
+		udelay(1);
+
+	/* Bit processor wakes up. */
+	writel(0x01, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BUSY_FLAG);
+	writel(0x0B, s3c_mfc_sfr_base_virt_addr + S3C_MFC_RUN_CMD);
+
+	while (readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BUSY_FLAG) != 0)
+		udelay(1);
+
+	return 1;
+}
+
+
+static char *s3c_mfc_get_cmd_string(s3c_mfc_command_t mfc_cmd)
+{
+	switch ((int)mfc_cmd) {
+	case SEQ_INIT:
+		return "SEQ_INIT";
+
+	case SEQ_END:
+		return "SEQ_END";
+
+	case PIC_RUN:
+		return "PIC_RUN";
+
+	case SET_FRAME_BUF:
+		return "SET_FRAME_BUF";
+
+	case ENC_HEADER:
+		return "ENC_HEADER";
+
+	case ENC_PARA_SET:
+		return "ENC_PARA_SET";
+
+	case DEC_PARA_SET:
+		return "DEC_PARA_SET";
+
+	case GET_FW_VER:
+		return "GET_FW_VER";
+
+	}
+
+	return "UNDEF CMD";
+}
+
+static int s3c_mfc_wait_for_ready(void)
+{
+	int   i;
+
+	for (i = 0; i < 1000; i++) {
+		if (readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BUSY_FLAG) == 0) {
+			return TRUE;
+		}
+		udelay(100);	/* 1/1000 second */
+	}
+
+	mfc_debug("timeout in waiting for the bitprocessor available\n");
+
+	return FALSE;
+}
+
+
+int s3c_mfc_get_firmware_ver(void)
+{
+	unsigned int prd_no, ver_no;
+
+	s3c_mfc_wait_for_ready();
+
+	writel(GET_FW_VER, s3c_mfc_sfr_base_virt_addr + S3C_MFC_RUN_CMD);
+
+	mfc_debug("GET_FW_VER command was issued\n");
+
+	s3c_mfc_wait_for_ready();
+
+	prd_no = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_SUCCESS) >> 16;
+	ver_no = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_SUCCESS) & 0x00FFFF;
+
+	mfc_debug("GET_FW_VER => 0x%x, 0x%x\n", prd_no, ver_no);
+	mfc_debug("BUSY_FLAG => %d\n", 					\
+		readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_BUSY_FLAG));
+
+	return readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARAM_RET_DEC_SEQ_SUCCESS);
+}
+
+
+BOOL s3c_mfc_issue_command(int inst_no, s3c_mfc_codec_mode_t codec_mode, s3c_mfc_command_t mfc_cmd)
+{
+	unsigned int intr_reason;
+
+	writel(inst_no, s3c_mfc_sfr_base_virt_addr + S3C_MFC_RUN_INDEX);
+
+	if (codec_mode == H263_DEC) {
+		writel(MP4_DEC, s3c_mfc_sfr_base_virt_addr + S3C_MFC_RUN_COD_STD);
+	} else if (codec_mode == H263_ENC) {
+		writel(MP4_ENC, s3c_mfc_sfr_base_virt_addr + S3C_MFC_RUN_COD_STD);
+	} else {
+		writel(codec_mode, s3c_mfc_sfr_base_virt_addr + S3C_MFC_RUN_COD_STD);
+	}
+
+	switch (mfc_cmd) {
+	case PIC_RUN:
+	case SEQ_INIT:
+	case SEQ_END:
+		writel(mfc_cmd, s3c_mfc_sfr_base_virt_addr + S3C_MFC_RUN_CMD);
+
+		if(interruptible_sleep_on_timeout(&s3c_mfc_wait_queue, 500) == 0) {
+			s3c_mfc_stream_end();
+			return FALSE; 
+		}
+
+		intr_reason = s3c_mfc_intr_type;
+
+		if (intr_reason == S3C_MFC_INTR_REASON_INTRNOTI_TIMEOUT) {
+			mfc_err("command = %s, WaitInterruptNotification returns TIMEOUT\n", \
+								s3c_mfc_get_cmd_string(mfc_cmd));
+			return FALSE;
+		}
+		if (intr_reason & S3C_MFC_INTR_REASON_BUFFER_EMPTY) {
+			mfc_err("command = %s, BUFFER EMPTY interrupt was raised\n", \
+							s3c_mfc_get_cmd_string(mfc_cmd));
+			return FALSE;
+		}
+		break;
+
+	default:
+		if (s3c_mfc_wait_for_ready() == FALSE) {
+			mfc_err("command = %s, bitprocessor is busy before issuing the command\n",	\
+									s3c_mfc_get_cmd_string(mfc_cmd));
+			return FALSE;
+		}
+
+		writel(mfc_cmd, s3c_mfc_sfr_base_virt_addr + S3C_MFC_RUN_CMD);
+		s3c_mfc_wait_for_ready();
+
+	} 
+
+	return TRUE;
+}
+
+
+/* Perform the SW_RESET */
+void s3c_mfc_reset(void)
+{
+	writel(0x00, s3c_mfc_sfr_base_virt_addr + S3C_MFC_SFR_SW_RESET_ADDR);
+	writel(0x01, s3c_mfc_sfr_base_virt_addr + S3C_MFC_SFR_SW_RESET_ADDR);
+
+	/* Interrupt is enabled for PIC_RUN command and empty/full STRM_BUF status. */
+	writel(S3C_MFC_INTR_ENABLE_RESET, s3c_mfc_sfr_base_virt_addr + S3C_MFC_INT_ENABLE);
+	writel(S3C_MFC_INTR_REASON_NULL, s3c_mfc_sfr_base_virt_addr + S3C_MFC_INT_REASON);
+	writel(0x1, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BITS_INT_CLEAR);
+}
+
+/* 
+ * Clear the MFC Interrupt
+ * After catching the MFC Interrupt,
+ * it is required to call this functions for clearing the interrupt-related register.
+ */
+void s3c_mfc_clear_intr(void)
+{
+	writel(0x1, s3c_mfc_sfr_base_virt_addr + S3C_MFC_BITS_INT_CLEAR);
+	writel(S3C_MFC_INTR_REASON_NULL, s3c_mfc_sfr_base_virt_addr + S3C_MFC_INT_REASON);
+}
+
+/* Check INT_REASON register of MFC (the interrupt reason register) */
+unsigned int s3c_mfc_intr_reason(void)
+{
+	return readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_INT_REASON);
+}
+
+/* 
+ * Set the MFC's SFR of DEC_FUNC_CTRL to 1.
+ * It means that the data will not be added more to the STRM_BUF.
+ * It is required in RING_BUF mode (VC-1 DEC).
+ */
+void s3c_mfc_set_eos(int buffer_mode)
+{
+	if (buffer_mode == 1) {
+		writel(1 << 1, s3c_mfc_sfr_base_virt_addr + S3C_MFC_DEC_FUNC_CTRL);
+	} else {
+		writel(1, s3c_mfc_sfr_base_virt_addr + S3C_MFC_DEC_FUNC_CTRL);
+	}
+}
+
+void s3c_mfc_stream_end()
+{
+	writel(0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_DEC_FUNC_CTRL);
+}
+
+void s3c_mfc_download_boot_firmware(void)
+{
+	unsigned int  i;
+	unsigned int  data;
+
+	/* Download the Boot code into MFC's internal memory */
+	for (i = 0; i < 512; i++) {
+		data = s3c_mfc_bit_code[i];
+		writel(((i<<16) | data), s3c_mfc_sfr_base_virt_addr + S3C_MFC_CODE_DN_LOAD);
+	}
+
+}
+
+void s3c_mfc_start_bit_processor(void)
+{
+	writel(0x01, s3c_mfc_sfr_base_virt_addr + S3C_MFC_CODE_RUN);
+}
+
+
+void s3c_mfc_stop_bit_processor(void)
+{
+	writel(0x00, s3c_mfc_sfr_base_virt_addr + S3C_MFC_CODE_RUN);
+}
+
+void s3c_mfc_config_sfr_bitproc_buffer(void)
+{
+	unsigned int code;
+
+	/* 
+	 * CODE BUFFER ADDRESS (BASE + 0x100)
+	 * 	: Located from the Base address of the BIT PROCESSOR'S Firmware code segment
+	 */
+	writel(S3C_MFC_BASEADDR_BITPROC_BUF, s3c_mfc_sfr_base_virt_addr + S3C_MFC_CODE_BUF_ADDR);
+
+
+	/* 
+	 * WORKING BUFFER ADDRESS (BASE + 0x104)
+	 * 	: Located from the next to the BIT PROCESSOR'S Firmware code segment
+	 */
+	code = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_CODE_BUF_ADDR);
+	writel(code + S3C_MFC_CODE_BUF_SIZE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_WORK_BUF_ADDR);
+
+
+	/* PARAMETER BUFFER ADDRESS (BASE + 0x108)
+	 * 	: Located from the next to the WORKING BUFFER
+	 */
+	code = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_WORK_BUF_ADDR);
+	writel(code + S3C_MFC_WORK_BUF_SIZE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_PARA_BUF_ADDR);
+}
+
+void s3c_mfc_config_sfr_ctrl_opts(void)
+{
+	unsigned int  uRegData;
+
+	/* BIT STREAM BUFFER CONTROL (BASE + 0x10C) */
+	uRegData = readl(s3c_mfc_sfr_base_virt_addr + S3C_MFC_STRM_BUF_CTRL);
+	writel((uRegData & ~(0x03)) | S3C_MFC_BUF_STATUS_FULL_EMPTY_CHECK_BIT | S3C_MFC_STREAM_ENDIAN_LITTLE, 	\
+								s3c_mfc_sfr_base_virt_addr + S3C_MFC_STRM_BUF_CTRL);
+
+	/* FRAME MEMORY CONTROL  (BASE + 0x110) */
+	writel(S3C_MFC_YUV_MEM_ENDIAN_LITTLE, s3c_mfc_sfr_base_virt_addr + S3C_MFC_FRME_BUF_CTRL);
+
+
+	/* DECODER FUNCTION CONTROL (BASE + 0x114) */
+	writel(0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_DEC_FUNC_CTRL);
+
+	/* WORK BUFFER CONTROL (BASE + 0x11C) */
+	writel(0, s3c_mfc_sfr_base_virt_addr + S3C_MFC_WORK_BUF_CTRL);
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_sfr.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_sfr.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_sfr.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_sfr.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,36 @@
+/* linux/driver/media/video/mfc/s3c_mfc_sfr.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_SFR_H
+#define _S3C_MFC_SFR_H
+
+#include "s3c_mfc_types.h"
+#include "s3c_mfc_base.h"
+
+int s3c_mfc_sleep(void);
+int s3c_mfc_wakeup(void);
+BOOL s3c_mfc_issue_command(int inst_no, s3c_mfc_codec_mode_t codec_mode, s3c_mfc_command_t mfc_cmd);
+int  s3c_mfc_get_firmware_ver(void);
+
+void s3c_mfc_reset(void);
+void s3c_mfc_clear_intr(void);
+unsigned int s3c_mfc_intr_reason(void);
+void s3c_mfc_set_eos(int buffer_mode);
+void s3c_mfc_stream_end(void);
+void s3c_mfc_download_boot_firmware(void);
+void s3c_mfc_start_bit_processor(void);
+void s3c_mfc_stop_bit_processor(void);
+void s3c_mfc_config_sfr_bitproc_buffer(void);
+void s3c_mfc_config_sfr_ctrl_opts(void);
+
+
+#endif /* _S3C_MFC_SFR_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_types.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_types.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_types.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_types.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,21 @@
+/* linux/driver/media/video/mfc/s3c_mfc_types.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_TYPES_H
+#define _S3C_MFC_TYPES_H
+
+#include <linux/types.h>
+
+typedef enum {FALSE, TRUE} BOOL;
+
+
+#endif /* _S3C_MFC_TYPES_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_yuv_buf_manager.c linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_yuv_buf_manager.c
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_yuv_buf_manager.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_yuv_buf_manager.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,300 @@
+/* linux/driver/media/video/mfc/s3c_mfc_yuv_buf_manager.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ * This source file is for managing the YUV buffer.
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/slab.h>
+#include <linux/kernel.h>
+
+#include "s3c_mfc_yuv_buf_manager.h"
+#include "s3c_mfc_types.h"
+#include "s3c_mfc.h"
+
+/* 
+ * The size in bytes of the BUF_SEGMENT. 
+ * The buffers are fragemented into the segment unit of this size.
+ */
+#define S3C_MFC_BUF_SEGMENT_SIZE	1024
+
+
+typedef struct {
+	unsigned char *pBaseAddr;
+	int            idx_commit;
+} s3c_mfc_segment_info_t;
+
+
+typedef struct {
+	int index_base_seg;
+	int num_segs;
+} s3c_mfc_commit_info_t;
+
+
+static s3c_mfc_segment_info_t  *s3c_mfc_segment_info = NULL;
+static s3c_mfc_commit_info_t   *s3c_mfc_commit_info  = NULL;
+
+static unsigned char *s3c_mfc_buffer_base  = NULL;
+static int            s3c_mfc_buffer_size  = 0;
+static int            s3c_mfc_num_segments		= 0;
+
+
+/* 
+ * int s3c_mfc_init_yuvbuf_mgr(unsigned char *pBufBase, int nBufSize) 
+ *
+ * Description 
+ * 		This function initializes the MfcFramBufMgr(Buffer Segment Manager)
+ * Parameters
+ * 		pBufBase [IN]: pointer to the buffer which will be managed by this MfcFramBufMgr functions. 
+ * 		nBufSize [IN]: buffer size in bytes
+ * Return Value 
+ * 		1 : Success
+ * 		0 : Fail
+ */
+BOOL s3c_mfc_init_yuvbuf_mgr(unsigned char *buffer_base, int buffer_size)
+{
+	int   i;
+
+	if (buffer_base == NULL || buffer_size == 0)
+		return FALSE;
+
+	if ((s3c_mfc_buffer_base != NULL) && (s3c_mfc_buffer_size != 0)) {
+		if ((buffer_base == s3c_mfc_buffer_base) && (buffer_size == s3c_mfc_buffer_size))
+			return TRUE;
+
+		s3c_mfc_yuv_buffer_mgr_final();
+	}
+
+	s3c_mfc_buffer_base = buffer_base;
+	s3c_mfc_buffer_size = buffer_size;
+	s3c_mfc_num_segments = buffer_size / S3C_MFC_BUF_SEGMENT_SIZE;
+
+	s3c_mfc_segment_info = (s3c_mfc_segment_info_t *)kmalloc(s3c_mfc_num_segments * sizeof(s3c_mfc_segment_info_t),  \
+													GFP_KERNEL);
+	for (i = 0; i < s3c_mfc_num_segments; i++) {
+		s3c_mfc_segment_info[i].pBaseAddr   = buffer_base  +  (i * S3C_MFC_BUF_SEGMENT_SIZE);
+		s3c_mfc_segment_info[i].idx_commit  = 0;
+	}
+
+	s3c_mfc_commit_info  = (s3c_mfc_commit_info_t *)kmalloc(s3c_mfc_num_segments * sizeof(s3c_mfc_commit_info_t),    \
+													GFP_KERNEL);
+	for (i = 0; i < s3c_mfc_num_segments; i++) {
+		s3c_mfc_commit_info[i].index_base_seg  = -1;
+		s3c_mfc_commit_info[i].num_segs        = 0;
+	}
+
+	return TRUE;
+}
+
+
+void s3c_mfc_yuv_buffer_mgr_final()
+{
+	if (s3c_mfc_segment_info != NULL) {
+		kfree(s3c_mfc_segment_info);
+		s3c_mfc_segment_info = NULL;
+	}
+
+	if (s3c_mfc_commit_info != NULL) {
+		kfree(s3c_mfc_commit_info);
+		s3c_mfc_commit_info = NULL;
+	}
+
+	s3c_mfc_buffer_base  = NULL;
+	s3c_mfc_buffer_size  = 0;
+	s3c_mfc_num_segments = 0;
+}
+
+/* 
+ * unsigned char *s3c_mfc_commit_yuv_buffer_mgr(int idx_commit, int commit_size)
+ *
+ * Description
+ * 	This function requests the commit for commit_size buffer to be reserved.
+ * Parameters
+ * 	idx_commit  [IN]: pointer to the buffer which will be managed by this MfcFramBufMgr functions.
+ * 	commit_size [IN]: commit size in bytes
+ * Return Value
+ * 	NULL : Failed to commit (Wrong parameters, commit_size too big, and so on.)
+ * 	Otherwise it returns the pointer which was committed.
+ */
+unsigned char *s3c_mfc_commit_yuv_buffer_mgr(int idx_commit, int commit_size)
+{
+	int  i, j;
+	int  num_yuv_buf_seg;
+
+	if (s3c_mfc_segment_info == NULL || s3c_mfc_commit_info == NULL) {
+		return NULL;
+	}
+
+	/* check parameters */
+	if (idx_commit < 0 || idx_commit >= s3c_mfc_num_segments)
+		return NULL;
+	if (commit_size <= 0 || commit_size > s3c_mfc_buffer_size)
+		return NULL;
+
+	if (s3c_mfc_commit_info[idx_commit].index_base_seg != -1)
+		return NULL;
+
+
+	if ((commit_size % S3C_MFC_BUF_SEGMENT_SIZE) == 0)
+		num_yuv_buf_seg = commit_size / S3C_MFC_BUF_SEGMENT_SIZE;
+	else
+		num_yuv_buf_seg = (commit_size / S3C_MFC_BUF_SEGMENT_SIZE)  +  1;
+
+	for (i=0; i<(s3c_mfc_num_segments - num_yuv_buf_seg); i++) {
+		if (s3c_mfc_segment_info[i].idx_commit != 0)
+			continue;
+
+		for (j=0; j<num_yuv_buf_seg; j++) {
+			if (s3c_mfc_segment_info[i+j].idx_commit != 0)
+				break;
+		}
+
+		if (j == num_yuv_buf_seg) {
+
+			for (j=0; j<num_yuv_buf_seg; j++) {
+				s3c_mfc_segment_info[i+j].idx_commit = 1;
+			}
+
+			s3c_mfc_commit_info[idx_commit].index_base_seg  = i;
+			s3c_mfc_commit_info[idx_commit].num_segs        = num_yuv_buf_seg;
+
+			return s3c_mfc_segment_info[i].pBaseAddr;
+		} else {
+			i = i + j - 1;
+		}
+	}
+
+	return NULL;
+}
+
+
+/*
+ * void s3c_mfc_free_yuv_buffer_mgr(int idx_commit)
+ *
+ * Description
+ * 	This function frees the committed region of buffer.
+ * Parameters
+ * 	idx_commit  [IN]: pointer to the buffer which will be managed by this MfcFramBufMgr functions.
+ * Return Value
+ * 	None
+ */
+void s3c_mfc_free_yuv_buffer_mgr(int idx_commit)
+{
+	int  i;
+
+	int  index_base_seg;
+	int  num_yuv_buf_seg;
+
+	if (s3c_mfc_segment_info == NULL || s3c_mfc_commit_info == NULL)
+		return;
+
+	if (idx_commit < 0 || idx_commit >= s3c_mfc_num_segments)
+		return;
+
+	if (s3c_mfc_commit_info[idx_commit].index_base_seg == -1)
+		return;
+
+
+	index_base_seg    =  s3c_mfc_commit_info[idx_commit].index_base_seg;
+	num_yuv_buf_seg  =  s3c_mfc_commit_info[idx_commit].num_segs;
+
+	for (i = 0; i < num_yuv_buf_seg; i++) {
+		s3c_mfc_segment_info[index_base_seg + i].idx_commit = 0;
+	}
+
+
+	s3c_mfc_commit_info[idx_commit].index_base_seg  =  -1;
+	s3c_mfc_commit_info[idx_commit].num_segs        =  0;
+
+}
+
+/* 
+ * unsigned char *s3c_mfc_get_yuv_buffer(int idx_commit)
+ *
+ * Description
+ * 	This function obtains the committed buffer of 'idx_commit'.
+ * Parameters
+ * 	idx_commit  [IN]: commit index of the buffer which will be obtained
+ * Return Value
+ * 	NULL : Failed to get the indicated buffer (Wrong parameters, not committed, and so on.)
+ * 	Otherwise it returns the pointer which was committed.
+ */
+unsigned char *s3c_mfc_get_yuv_buffer(int idx_commit)
+{
+	int index_base_seg;
+
+	if (s3c_mfc_segment_info == NULL || s3c_mfc_commit_info == NULL)
+		return NULL;
+
+	if (idx_commit < 0 || idx_commit >= s3c_mfc_num_segments)
+		return NULL;
+
+	if (s3c_mfc_commit_info[idx_commit].index_base_seg == -1)
+		return NULL;
+
+	index_base_seg  =  s3c_mfc_commit_info[idx_commit].index_base_seg;
+
+	return s3c_mfc_segment_info[index_base_seg].pBaseAddr;
+}
+
+/* 
+ * int s3c_mfc_get_yuv_buffer_size(int idx_commit)
+ *
+ * Description
+ * 	This function obtains the size of the committed buffer of 'idx_commit'.
+ * Parameters
+ * 	idx_commit  [IN]: commit index of the buffer which will be obtained
+ * Return Value
+ * 	0 : Failed to get the size of indicated buffer (Wrong parameters, not committed, and so on.)
+ * 	Otherwise it returns the size of the buffer.
+ * 	Note that the size is multiples of the S3C_MFC_BUF_SEGMENT_SIZE.
+ */
+int s3c_mfc_get_yuv_buffer_size(int idx_commit)
+{
+	if (s3c_mfc_segment_info == NULL || s3c_mfc_commit_info == NULL)
+		return 0;
+
+	if (idx_commit < 0 || idx_commit >= s3c_mfc_num_segments)
+		return 0;
+
+	if (s3c_mfc_commit_info[idx_commit].index_base_seg == -1)
+		return 0;
+
+	return (s3c_mfc_commit_info[idx_commit].num_segs * S3C_MFC_BUF_SEGMENT_SIZE);
+}
+
+/*
+ * void s3c_mfc_print_commit_yuv_buffer_info()
+ *
+ * Description
+ * 	This function prints the commited information on the console screen.
+ * Parameters
+ * 	None
+ * Return Value
+ * 	None
+ */
+void s3c_mfc_print_commit_yuv_buffer_info()
+{
+	int  i;
+
+	if (s3c_mfc_segment_info == NULL || s3c_mfc_commit_info == NULL) {
+		mfc_err("fram buffer manager is not initialized\n");
+		return;
+	}
+
+
+	for (i = 0; i < s3c_mfc_num_segments; i++) {
+		if (s3c_mfc_commit_info[i].index_base_seg != -1)  {
+			mfc_debug("commit index = %03d, base segment index = %d\n",	\
+						i, s3c_mfc_commit_info[i].index_base_seg);
+			mfc_debug("commit index = %03d, number of segment = %d\n", \
+						i, s3c_mfc_commit_info[i].num_segs);
+		}
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_yuv_buf_manager.h linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_yuv_buf_manager.h
--- linux-2.6.28/drivers/media/video/samsung/mfc10/s3c_mfc_yuv_buf_manager.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc10/s3c_mfc_yuv_buf_manager.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,30 @@
+/* linux/driver/media/video/mfc/s3c_mfc_yuv_buf_manager.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver 
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics 
+ * http://www.samsungsemi.com/ 
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_YUV_BUF_MANAGER_H
+#define _S3C_MFC_YUV_BUF_MANAGER_H
+
+#include "s3c_mfc_types.h"
+
+BOOL            s3c_mfc_init_yuvbuf_mgr(unsigned char *pBufBase, int nBufSize);
+void            s3c_mfc_yuv_buffer_mgr_final(void);
+
+unsigned char  *s3c_mfc_commit_yuv_buffer_mgr(int idx_commit, int commit_size);
+void            s3c_mfc_free_yuv_buffer_mgr(int idx_commit);
+
+unsigned char  *s3c_mfc_get_yuv_buffer(int idx_commit);
+int             s3c_mfc_get_yuv_buffer_size(int idx_commit);
+
+void            s3c_mfc_print_commit_yuv_buffer_info(void);
+
+
+#endif /* _S3C_MFC_YUV_BUF_MANAGER_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/Kconfig linux-2.6.28.6/drivers/media/video/samsung/mfc40/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/mfc40/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,21 @@
+#
+# Configuration for Multi Format Codecs (MFC)
+#
+#
+config VIDEO_MFC40
+	bool "Samsung MFC (Multi Format Codec - FIMV 4.0) Driver" 
+	depends on VIDEO_SAMSUNG && CPU_S5PC100
+	default n
+	---help---
+	  This is a Samsung Multi Format Codecs (MFC) FIMV V4.0 - driver for Samsung S5PC100
+
+config VIDEO_MFC_MAX_INSTANCE
+	int "Maximum size of MFC instance (1-4)"
+	range 1 4
+	depends on VIDEO_MFC40 && ARCH_S5PC1XX
+	default 1
+
+config VIDEO_MFC40_DEBUG
+	bool "print MFC debug message"
+	depends on VIDEO_MFC40
+	default n
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/Makefile linux-2.6.28.6/drivers/media/video/samsung/mfc40/Makefile
--- linux-2.6.28/drivers/media/video/samsung/mfc40/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,8 @@
+obj-$(CONFIG_VIDEO_MFC40) += h263_dec_fw.o h264_dec_fw.o h264_enc_fw.o mp2_dec_fw.o mp4_dec_fw.o mp4_enc_fw.o s3c-mfc.o s3c_mfc_buffer_manager.o s3c_mfc_common.o s3c_mfc_intr.o s3c_mfc_memory.o s3c_mfc_opr.o vc1_dec_fw.o command_control_fw.o
+
+EXTRA_CFLAGS += -DLINUX
+EXTRA_CFLAGS += -DDIVX_ENABLE
+
+ifeq ($(CONFIG_VIDEO_MFC40_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/command_control_fw.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/command_control_fw.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/command_control_fw.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/command_control_fw.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,388 @@
+/*
+ * drivers/media/video/samsung/mfc40/command_control_fw.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+const unsigned char cmd_ctrl_fw[7432] = {
+0x31, 0x00, 0x00, 0xea, 0x06, 0x00, 0x00, 0xea, 0x0b, 0x00, 0x00, 0xea, 0x10, 0x00, 0x00, 0xea, 0x15, 0x00, 0x00, 0xea, 
+0xfe, 0xff, 0xff, 0xea, 0x19, 0x00, 0x00, 0xea, 0x1e, 0x00, 0x00, 0xea, 0x23, 0x00, 0x00, 0xea, 0x04, 0xd0, 0x4d, 0xe2, 
+0x01, 0x00, 0x2d, 0xe9, 0xa0, 0x00, 0x9f, 0xe5, 0x00, 0x00, 0x90, 0xe5, 0x04, 0x00, 0x8d, 0xe5, 0x01, 0x80, 0xbd, 0xe8, 
+0x04, 0xd0, 0x4d, 0xe2, 0x01, 0x00, 0x2d, 0xe9, 0x8c, 0x00, 0x9f, 0xe5, 0x00, 0x00, 0x90, 0xe5, 0x04, 0x00, 0x8d, 0xe5, 
+0x01, 0x80, 0xbd, 0xe8, 0x04, 0xd0, 0x4d, 0xe2, 0x01, 0x00, 0x2d, 0xe9, 0x78, 0x00, 0x9f, 0xe5, 0x00, 0x00, 0x90, 0xe5, 
+0x04, 0x00, 0x8d, 0xe5, 0x01, 0x80, 0xbd, 0xe8, 0x04, 0xd0, 0x4d, 0xe2, 0x01, 0x00, 0x2d, 0xe9, 0x64, 0x00, 0x9f, 0xe5, 
+0x00, 0x00, 0x90, 0xe5, 0x04, 0x00, 0x8d, 0xe5, 0x01, 0x80, 0xbd, 0xe8, 0x04, 0xd0, 0x4d, 0xe2, 0x01, 0x00, 0x2d, 0xe9, 
+0x50, 0x00, 0x9f, 0xe5, 0x00, 0x00, 0x90, 0xe5, 0x04, 0x00, 0x8d, 0xe5, 0x01, 0x80, 0xbd, 0xe8, 0x04, 0xd0, 0x4d, 0xe2, 
+0x01, 0x00, 0x2d, 0xe9, 0x3c, 0x00, 0x9f, 0xe5, 0x00, 0x00, 0x90, 0xe5, 0x04, 0x00, 0x8d, 0xe5, 0x01, 0x80, 0xbd, 0xe8, 
+0x04, 0xd0, 0x4d, 0xe2, 0x01, 0x00, 0x2d, 0xe9, 0x28, 0x00, 0x9f, 0xe5, 0x00, 0x00, 0x90, 0xe5, 0x04, 0x00, 0x8d, 0xe5, 
+0x01, 0x80, 0xbd, 0xe8, 0x07, 0x00, 0x00, 0xeb, 0xfe, 0xff, 0xff, 0xea, 0x04, 0x3f, 0x01, 0x00, 0x08, 0x3f, 0x01, 0x00, 
+0x0c, 0x3f, 0x01, 0x00, 0x10, 0x3f, 0x01, 0x00, 0x18, 0x3f, 0x01, 0x00, 0x1c, 0x3f, 0x01, 0x00, 0x20, 0x3f, 0x01, 0x00, 
+0x00, 0x00, 0x00, 0xea, 0xa5, 0x04, 0x00, 0xea, 0x28, 0x00, 0x8f, 0xe2, 0x00, 0x0c, 0x90, 0xe8, 0x00, 0xa0, 0x8a, 0xe0, 
+0x01, 0x70, 0x4a, 0xe2, 0x00, 0xb0, 0x8b, 0xe0, 0x0b, 0x00, 0x5a, 0xe1, 0x9e, 0x04, 0x00, 0x0a, 0x0f, 0x00, 0xba, 0xe8, 
+0x14, 0xe0, 0x4f, 0xe2, 0x01, 0x00, 0x13, 0xe3, 0x03, 0xf0, 0x47, 0x10, 0x03, 0xf0, 0xa0, 0xe1, 0xd0, 0x1b, 0x00, 0x00, 
+0xe0, 0x1b, 0x00, 0x00, 0x00, 0x30, 0xa0, 0xe3, 0x00, 0x40, 0xa0, 0xe3, 0x00, 0x50, 0xa0, 0xe3, 0x00, 0x60, 0xa0, 0xe3, 
+0x10, 0x20, 0x52, 0xe2, 0x78, 0x00, 0xa1, 0x28, 0xfc, 0xff, 0xff, 0x8a, 0x82, 0x2e, 0xb0, 0xe1, 0x30, 0x00, 0xa1, 0x28, 
+0x00, 0x30, 0x81, 0x45, 0x0e, 0xf0, 0xa0, 0xe1, 0x04, 0x30, 0x9f, 0xe5, 0x03, 0x30, 0x8f, 0xe0, 0x03, 0xf0, 0xa0, 0xe1, 
+0x34, 0x1a, 0x00, 0x00, 0x10, 0x40, 0x2d, 0xe9, 0x52, 0x00, 0x00, 0xeb, 0x00, 0x00, 0xa0, 0xe3, 0x10, 0x80, 0xbd, 0xe8, 
+0x70, 0x40, 0x2d, 0xe9, 0x00, 0x40, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 0x30, 0x02, 0x90, 0xe5, 0xb4, 0x01, 0x84, 0xe5, 
+0xb4, 0x01, 0x94, 0xe5, 0x0f, 0x0b, 0x80, 0xe2, 0x88, 0x01, 0x84, 0xe5, 0x88, 0x01, 0x94, 0xe5, 0x0f, 0x0b, 0x80, 0xe2, 
+0x8c, 0x01, 0x84, 0xe5, 0x8c, 0x01, 0x94, 0xe5, 0x0f, 0x0b, 0x80, 0xe2, 0x90, 0x01, 0x84, 0xe5, 0x90, 0x01, 0x94, 0xe5, 
+0x0f, 0x0b, 0x80, 0xe2, 0x94, 0x01, 0x84, 0xe5, 0x1a, 0x0b, 0xa0, 0xe3, 0x8c, 0x00, 0x84, 0xe5, 0x25, 0x0b, 0xa0, 0xe3, 
+0x90, 0x00, 0x84, 0xe5, 0x1a, 0x0b, 0xa0, 0xe3, 0x94, 0x00, 0x84, 0xe5, 0x98, 0x00, 0x84, 0xe5, 0x0a, 0x0b, 0xa0, 0xe3, 
+0x9c, 0x00, 0x84, 0xe5, 0x15, 0x0b, 0xa0, 0xe3, 0xa0, 0x00, 0x84, 0xe5, 0x07, 0x0a, 0xa0, 0xe3, 0xa4, 0x00, 0x84, 0xe5, 
+0x00, 0x00, 0xa0, 0xe3, 0xa8, 0x00, 0x84, 0xe5, 0xac, 0x00, 0x84, 0xe5, 0xb0, 0x00, 0x84, 0xe5, 0xb4, 0x00, 0x84, 0xe5, 
+0xb8, 0x00, 0x84, 0xe5, 0xbc, 0x00, 0x84, 0xe5, 0xc0, 0x00, 0x84, 0xe5, 0xc4, 0x00, 0x84, 0xe5, 0xc8, 0x00, 0x84, 0xe5, 
+0x03, 0x0a, 0xa0, 0xe3, 0xcc, 0x00, 0x84, 0xe5, 0x15, 0x0b, 0xa0, 0xe3, 0xd0, 0x00, 0x84, 0xe5, 0x00, 0x00, 0xa0, 0xe3, 
+0xd4, 0x00, 0x84, 0xe5, 0xd8, 0x00, 0x84, 0xe5, 0x0a, 0x0b, 0xa0, 0xe3, 0xdc, 0x00, 0x84, 0xe5, 0x00, 0x50, 0xa0, 0xe3, 
+0x03, 0x00, 0x00, 0xea, 0x00, 0x00, 0xe0, 0xe3, 0xe0, 0x10, 0x84, 0xe2, 0x05, 0x01, 0x81, 0xe7, 0x01, 0x50, 0x85, 0xe2, 
+0x15, 0x00, 0x55, 0xe3, 0xf9, 0xff, 0xff, 0xba, 0x0a, 0x1a, 0xa0, 0xe3, 0x01, 0x00, 0xa0, 0xe3, 0x87, 0x03, 0x00, 0xeb, 
+0x80, 0x00, 0x84, 0xe5, 0x80, 0x00, 0x94, 0xe5, 0x00, 0x00, 0x50, 0xe3, 0x00, 0x00, 0x00, 0x1a, 0x70, 0x80, 0xbd, 0xe8, 
+0x0f, 0x1b, 0xa0, 0xe3, 0x01, 0x00, 0xa0, 0xe3, 0x7f, 0x03, 0x00, 0xeb, 0x88, 0x00, 0x84, 0xe5, 0x88, 0x00, 0x94, 0xe5, 
+0x00, 0x00, 0x50, 0xe3, 0x00, 0x00, 0x00, 0x1a, 0xf6, 0xff, 0xff, 0xea, 0x80, 0x00, 0x94, 0xe5, 0xff, 0x10, 0x00, 0xe2, 
+0x01, 0x1c, 0x61, 0xe2, 0x01, 0x00, 0x80, 0xe0, 0x84, 0x00, 0x84, 0xe5, 0x84, 0x00, 0x94, 0xe5, 0x98, 0x01, 0x84, 0xe5, 
+0xee, 0xff, 0xff, 0xea, 0x70, 0x40, 0x2d, 0xe9, 0x00, 0x50, 0xa0, 0xe3, 0x07, 0x1d, 0xa0, 0xe3, 0x01, 0x00, 0xa0, 0xe3, 
+0x6d, 0x03, 0x00, 0xeb, 0x00, 0x40, 0xa0, 0xe1, 0x04, 0x00, 0xa0, 0xe1, 0xa6, 0xff, 0xff, 0xeb, 0x01, 0x00, 0xa0, 0xe3, 
+0x52, 0x18, 0xa0, 0xe3, 0xd0, 0x00, 0x81, 0xe5, 0x89, 0x00, 0x00, 0xea, 0x04, 0x00, 0x00, 0xea, 0x05, 0x06, 0xa0, 0xe3, 
+0x14, 0x01, 0x90, 0xe5, 0x01, 0x00, 0x50, 0xe3, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xea, 0xf9, 0xff, 0xff, 0xea, 
+0x00, 0x00, 0xa0, 0xe1, 0x04, 0x00, 0x00, 0xea, 0x05, 0x06, 0xa0, 0xe3, 0x14, 0x01, 0x90, 0xe5, 0x00, 0x00, 0x50, 0xe3, 
+0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xea, 0xf9, 0xff, 0xff, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 
+0x00, 0x0d, 0x90, 0xe5, 0xa0, 0x01, 0x84, 0xe5, 0xa0, 0x01, 0x94, 0xe5, 0x06, 0x00, 0x50, 0xe3, 0x06, 0x00, 0x00, 0x0a, 
+0xa0, 0x01, 0x94, 0xe5, 0x07, 0x00, 0x50, 0xe3, 0x03, 0x00, 0x00, 0x0a, 0x05, 0x06, 0xa0, 0xe3, 0x04, 0x01, 0x90, 0xe5, 
+0xa4, 0x01, 0x84, 0xe5, 0x01, 0x00, 0x00, 0xea, 0xa8, 0x01, 0x94, 0xe5, 0xa4, 0x01, 0x84, 0xe5, 0xbc, 0x01, 0x94, 0xe5, 
+0x00, 0x00, 0x50, 0xe3, 0x12, 0x00, 0x00, 0x1a, 0x69, 0x1f, 0x84, 0xe2, 0x03, 0x00, 0x91, 0xe8, 0x01, 0x00, 0x50, 0xe1, 
+0x0e, 0x00, 0x00, 0x0a, 0xa0, 0x01, 0x94, 0xe5, 0x02, 0x00, 0x50, 0xe3, 0x0b, 0x00, 0x00, 0x0a, 0xa8, 0x21, 0x94, 0xe5, 
+0x62, 0x3f, 0x84, 0xe2, 0x02, 0x11, 0x93, 0xe7, 0x0f, 0x2b, 0xa0, 0xe3, 0x88, 0x00, 0x94, 0xe5, 0xd4, 0x02, 0x00, 0xeb, 
+0x88, 0x10, 0x94, 0xe5, 0xa4, 0x21, 0x94, 0xe5, 0x62, 0x3f, 0x84, 0xe2, 0x02, 0x01, 0x93, 0xe7, 0x0f, 0x2b, 0xa0, 0xe3, 
+0x7f, 0x02, 0x00, 0xeb, 0x01, 0x00, 0xa0, 0xe3, 0xa4, 0x11, 0x94, 0xe5, 0x01, 0x11, 0x81, 0xe0, 0x10, 0x20, 0x84, 0xe2, 
+0x01, 0x11, 0x82, 0xe0, 0x04, 0x00, 0x81, 0xe5, 0xbc, 0x01, 0x94, 0xe5, 0x01, 0x00, 0x50, 0xe3, 0x05, 0x00, 0x00, 0x1a, 
+0x88, 0x10, 0x94, 0xe5, 0xa4, 0x21, 0x94, 0xe5, 0x62, 0x3f, 0x84, 0xe2, 0x02, 0x01, 0x93, 0xe7, 0x0f, 0x2b, 0xa0, 0xe3, 
+0x70, 0x02, 0x00, 0xeb, 0xa0, 0x01, 0x94, 0xe5, 0x07, 0x00, 0x50, 0xe3, 0x00, 0xf1, 0x8f, 0x90, 0x24, 0x00, 0x00, 0xea, 
+0x06, 0x00, 0x00, 0xea, 0x09, 0x00, 0x00, 0xea, 0x0c, 0x00, 0x00, 0xea, 0x0f, 0x00, 0x00, 0xea, 0x12, 0x00, 0x00, 0xea, 
+0x1e, 0x00, 0x00, 0xea, 0x14, 0x00, 0x00, 0xea, 0x18, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x04, 0x00, 0xa0, 0xe1, 
+0x39, 0x00, 0x00, 0xeb, 0x1a, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x04, 0x00, 0xa0, 0xe1, 0xaa, 0x00, 0x00, 0xeb, 
+0x16, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x04, 0x00, 0xa0, 0xe1, 0xcb, 0x00, 0x00, 0xeb, 0x12, 0x00, 0x00, 0xea, 
+0x00, 0x00, 0xa0, 0xe1, 0x04, 0x00, 0xa0, 0xe1, 0xf4, 0x00, 0x00, 0xeb, 0x0e, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 
+0x04, 0x00, 0xa0, 0xe1, 0x7b, 0x01, 0x00, 0xeb, 0x0a, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x04, 0x00, 0xa0, 0xe1, 
+0x16, 0x02, 0x00, 0xeb, 0x01, 0x50, 0xa0, 0xe3, 0x05, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x04, 0x00, 0xa0, 0xe1, 
+0x30, 0x02, 0x00, 0xeb, 0x01, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 
+0xa0, 0x01, 0x94, 0xe5, 0x07, 0x00, 0x50, 0xe3, 0x01, 0x00, 0x00, 0x0a, 0x00, 0x00, 0xa0, 0xe3, 0xbc, 0x01, 0x84, 0xe5, 
+0xa4, 0x01, 0x94, 0xe5, 0xa8, 0x01, 0x84, 0xe5, 0x00, 0x00, 0xa0, 0xe3, 0x05, 0x16, 0xa0, 0xe3, 0x0c, 0x04, 0x81, 0xe5, 
+0xa0, 0x01, 0x94, 0xe5, 0x04, 0x00, 0x50, 0xe3, 0x01, 0x00, 0x00, 0x0a, 0x01, 0x00, 0xa0, 0xe3, 0x0c, 0x05, 0x81, 0xe5, 
+0x00, 0x00, 0xe0, 0xe3, 0xa0, 0x01, 0x84, 0xe5, 0x00, 0x00, 0x55, 0xe3, 0x06, 0x00, 0x00, 0x0a, 0x88, 0x00, 0x94, 0xe5, 
+0xd8, 0x02, 0x00, 0xeb, 0x98, 0x01, 0x94, 0xe5, 0xd6, 0x02, 0x00, 0xeb, 0x04, 0x00, 0xa0, 0xe1, 0xd4, 0x02, 0x00, 0xeb, 
+0x00, 0x00, 0x00, 0xea, 0x74, 0xff, 0xff, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x70, 0x80, 0xbd, 0xe8, 0xf0, 0x47, 0x2d, 0xe9, 
+0x00, 0x40, 0xa0, 0xe1, 0xa4, 0x61, 0x94, 0xe5, 0x00, 0x80, 0xa0, 0xe3, 0x00, 0x70, 0xa0, 0xe3, 0x00, 0x90, 0xa0, 0xe3, 
+0x05, 0x06, 0xa0, 0xe3, 0x00, 0x01, 0x90, 0xe5, 0x1f, 0x00, 0x00, 0xe2, 0x06, 0x01, 0x84, 0xe7, 0x01, 0x00, 0xa0, 0xe3, 
+0x06, 0x11, 0x86, 0xe0, 0x10, 0x20, 0x84, 0xe2, 0x01, 0x01, 0x82, 0xe7, 0x00, 0x00, 0xa0, 0xe3, 0x06, 0x11, 0x86, 0xe0, 
+0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 0x08, 0x00, 0x81, 0xe5, 0x06, 0x51, 0x94, 0xe7, 0xb0, 0x01, 0x94, 0xe5, 
+0x00, 0x00, 0x50, 0xe3, 0x02, 0x00, 0x00, 0x0a, 0xac, 0x01, 0x94, 0xe5, 0x05, 0x00, 0x50, 0xe1, 0x50, 0x00, 0x00, 0x0a, 
+0xb0, 0x01, 0x94, 0xe5, 0x02, 0x00, 0x50, 0xe3, 0x4d, 0x00, 0x00, 0xaa, 0x05, 0x00, 0x55, 0xe3, 0x2c, 0x00, 0x00, 0x0a, 
+0x06, 0x00, 0x00, 0xca, 0x00, 0x00, 0x55, 0xe3, 0x11, 0x00, 0x00, 0x0a, 0x01, 0x00, 0x55, 0xe3, 0x1b, 0x00, 0x00, 0x0a, 
+0x04, 0x00, 0x55, 0xe3, 0x31, 0x00, 0x00, 0x1a, 0x2a, 0x00, 0x00, 0xea, 0x06, 0x00, 0x55, 0xe3, 0x1c, 0x00, 0x00, 0x0a, 
+0x10, 0x00, 0x55, 0xe3, 0x02, 0x00, 0x00, 0x0a, 0x11, 0x00, 0x55, 0xe3, 0x2a, 0x00, 0x00, 0x1a, 0x0b, 0x00, 0x00, 0xea, 
+0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 0x00, 0x02, 0x90, 0xe5, 0x4d, 0x1f, 0x84, 0xe2, 0x05, 0x01, 0x81, 0xe7, 
+0x25, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 0x04, 0x02, 0x90, 0xe5, 0x4d, 0x1f, 0x84, 0xe2, 
+0x05, 0x01, 0x81, 0xe7, 0x1f, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 0x08, 0x02, 0x90, 0xe5, 
+0x4d, 0x1f, 0x84, 0xe2, 0x05, 0x01, 0x81, 0xe7, 0x19, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 
+0x0c, 0x02, 0x90, 0xe5, 0x4d, 0x1f, 0x84, 0xe2, 0x05, 0x01, 0x81, 0xe7, 0x13, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 
+0x05, 0x06, 0xa0, 0xe3, 0x10, 0x02, 0x90, 0xe5, 0x4d, 0x1f, 0x84, 0xe2, 0x05, 0x01, 0x81, 0xe7, 0x0d, 0x00, 0x00, 0xea, 
+0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 0x14, 0x02, 0x90, 0xe5, 0x4d, 0x1f, 0x84, 0xe2, 0x05, 0x01, 0x81, 0xe7, 
+0x07, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 0x18, 0x02, 0x90, 0xe5, 0x4d, 0x1f, 0x84, 0xe2, 
+0x05, 0x01, 0x81, 0xe7, 0x01, 0x00, 0x00, 0xea, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 
+0x0f, 0x1b, 0xa0, 0xe3, 0x88, 0x00, 0x94, 0xe5, 0xce, 0x02, 0x00, 0xeb, 0x8c, 0x00, 0x84, 0xe2, 0x05, 0x81, 0x90, 0xe7, 
+0x4d, 0x0f, 0x84, 0xe2, 0x05, 0x71, 0x90, 0xe7, 0x98, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 0x06, 0x01, 0x81, 0xe7, 
+0x60, 0x00, 0x84, 0xe2, 0x06, 0x11, 0x90, 0xe7, 0x08, 0x20, 0xa0, 0xe1, 0x07, 0x00, 0xa0, 0xe1, 0xbd, 0x01, 0x00, 0xeb, 
+0x06, 0x00, 0x00, 0xea, 0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x4d, 0x1f, 0x84, 0xe2, 0x00, 0x71, 0x91, 0xe7, 
+0x98, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 0x06, 0x01, 0x81, 0xe7, 0xac, 0x51, 0x84, 0xe5, 0x01, 0x00, 0xa0, 0xe3, 
+0xf0, 0x87, 0xbd, 0xe8, 0xf0, 0x47, 0x2d, 0xe9, 0x00, 0x40, 0xa0, 0xe1, 0xa4, 0x61, 0x94, 0xe5, 0xa8, 0x71, 0x94, 0xe5, 
+0x62, 0x0f, 0x84, 0xe2, 0x06, 0x81, 0x90, 0xe7, 0x62, 0x0f, 0x84, 0xe2, 0x07, 0x91, 0x90, 0xe7, 0x06, 0x00, 0x57, 0xe1, 
+0x07, 0x00, 0x00, 0x0a, 0x0f, 0x2b, 0xa0, 0xe3, 0x09, 0x10, 0xa0, 0xe1, 0x88, 0x00, 0x94, 0xe5, 0xf3, 0x01, 0x00, 0xeb, 
+0x0f, 0x2b, 0xa0, 0xe3, 0x08, 0x00, 0xa0, 0xe1, 0x88, 0x10, 0x94, 0xe5, 0xa0, 0x01, 0x00, 0xeb, 0x01, 0x00, 0xa0, 0xe3, 
+0x06, 0x11, 0x86, 0xe0, 0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 0x04, 0x00, 0x81, 0xe5, 0x00, 0x50, 0xa0, 0xe3, 
+0x07, 0x00, 0x00, 0xea, 0x06, 0x00, 0x55, 0xe1, 0x04, 0x00, 0x00, 0x0a, 0x00, 0x00, 0xa0, 0xe3, 0x05, 0x11, 0x85, 0xe0, 
+0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 0x04, 0x00, 0x81, 0xe5, 0x01, 0x50, 0x85, 0xe2, 0x04, 0x00, 0x55, 0xe3, 
+0xf5, 0xff, 0xff, 0xba, 0x01, 0x00, 0xa0, 0xe3, 0xf0, 0x87, 0xbd, 0xe8, 0xf0, 0x41, 0x2d, 0xe9, 0x00, 0x40, 0xa0, 0xe1, 
+0xa4, 0x51, 0x94, 0xe5, 0xa8, 0x61, 0x94, 0xe5, 0x62, 0x0f, 0x84, 0xe2, 0x05, 0x71, 0x90, 0xe7, 0x62, 0x0f, 0x84, 0xe2, 
+0x06, 0x81, 0x90, 0xe7, 0x05, 0x00, 0x56, 0xe1, 0x07, 0x00, 0x00, 0x0a, 0x0f, 0x2b, 0xa0, 0xe3, 0x08, 0x10, 0xa0, 0xe1, 
+0x88, 0x00, 0x94, 0xe5, 0xce, 0x01, 0x00, 0xeb, 0x0f, 0x2b, 0xa0, 0xe3, 0x07, 0x00, 0xa0, 0xe1, 0x88, 0x10, 0x94, 0xe5, 
+0x7b, 0x01, 0x00, 0xeb, 0x00, 0x00, 0xa0, 0xe3, 0x05, 0x11, 0x85, 0xe0, 0x10, 0x20, 0x84, 0xe2, 0x01, 0x01, 0x82, 0xe7, 
+0x05, 0x11, 0x85, 0xe0, 0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 0x0c, 0x00, 0x81, 0xe5, 0x05, 0x11, 0x85, 0xe0, 
+0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 0x04, 0x00, 0x81, 0xe5, 0x01, 0x00, 0xa0, 0xe3, 0x05, 0x11, 0x85, 0xe0, 
+0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 0x08, 0x00, 0x81, 0xe5, 0x00, 0x00, 0xa0, 0xe3, 0x05, 0x11, 0x85, 0xe0, 
+0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 0x10, 0x00, 0x81, 0xe5, 0x0f, 0x1b, 0xa0, 0xe3, 0x88, 0x00, 0x94, 0xe5, 
+0x67, 0x02, 0x00, 0xeb, 0x01, 0x00, 0xa0, 0xe3, 0xf0, 0x81, 0xbd, 0xe8, 0xf0, 0x41, 0x2d, 0xe9, 0x00, 0x40, 0xa0, 0xe1, 
+0x88, 0x80, 0x94, 0xe5, 0x00, 0x60, 0xa0, 0xe3, 0x00, 0x70, 0xa0, 0xe3, 0x69, 0x1f, 0x84, 0xe2, 0x03, 0x00, 0x91, 0xe8, 
+0x01, 0x00, 0x50, 0xe1, 0x02, 0x00, 0x00, 0x1a, 0xbc, 0x01, 0x94, 0xe5, 0x00, 0x00, 0x50, 0xe3, 0x0d, 0x00, 0x00, 0x0a, 
+0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x8c, 0x10, 0x84, 0xe2, 0x00, 0x61, 0x91, 0xe7, 0xa4, 0x01, 0x94, 0xe5, 
+0x00, 0x01, 0x94, 0xe7, 0x4d, 0x1f, 0x84, 0xe2, 0x00, 0x71, 0x91, 0xe7, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x20, 0x84, 0xe2, 
+0x00, 0x11, 0x92, 0xe7, 0x06, 0x20, 0xa0, 0xe1, 0x07, 0x00, 0xa0, 0xe1, 0x46, 0x01, 0x00, 0xeb, 0x01, 0x00, 0xa0, 0xe3, 
+0xa4, 0x11, 0x94, 0xe5, 0x01, 0x11, 0x81, 0xe0, 0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 0x0c, 0x00, 0x81, 0xe5, 
+0x00, 0x00, 0xa0, 0xe3, 0x05, 0x16, 0xa0, 0xe3, 0x0c, 0x04, 0x81, 0xe5, 0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 
+0x11, 0x00, 0x50, 0xe3, 0x0d, 0x00, 0x00, 0x1a, 0x00, 0x00, 0xa0, 0xe3, 0x52, 0x18, 0xa0, 0xe3, 0x44, 0x00, 0x81, 0xe5, 
+0xb4, 0x00, 0x81, 0xe5, 0x02, 0x0c, 0xa0, 0xe3, 0x04, 0x00, 0x81, 0xe5, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 
+0x00, 0x01, 0x91, 0xe7, 0x02, 0x5a, 0x80, 0xe2, 0x61, 0x5e, 0x85, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 
+0x15, 0xff, 0x2f, 0xe1, 0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x01, 0x00, 0x50, 0xe3, 0x07, 0x00, 0x00, 0x1a, 
+0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 0x00, 0x01, 0x91, 0xe7, 0x02, 0x59, 0x80, 0xe2, 0xa9, 0x5f, 0x85, 0xe2, 
+0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 
+0x10, 0x00, 0x50, 0xe3, 0x0c, 0x00, 0x00, 0x1a, 0x00, 0x00, 0xa0, 0xe3, 0x52, 0x18, 0xa0, 0xe3, 0x44, 0x00, 0x81, 0xe5, 
+0xb4, 0x00, 0x81, 0xe5, 0x02, 0x0c, 0xa0, 0xe3, 0x04, 0x00, 0x81, 0xe5, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 
+0x00, 0x01, 0x91, 0xe7, 0x47, 0x5d, 0x80, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 
+0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x00, 0x00, 0x50, 0xe3, 0x03, 0x00, 0x00, 0x0a, 0xa4, 0x01, 0x94, 0xe5, 
+0x00, 0x01, 0x94, 0xe7, 0x02, 0x00, 0x50, 0xe3, 0x06, 0x00, 0x00, 0x1a, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 
+0x00, 0x01, 0x91, 0xe7, 0x8f, 0x5e, 0x80, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 
+0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x06, 0x00, 0x50, 0xe3, 0x07, 0x00, 0x00, 0x1a, 0xa4, 0x01, 0x94, 0xe5, 
+0x60, 0x10, 0x84, 0xe2, 0x00, 0x01, 0x91, 0xe7, 0x01, 0x5b, 0x80, 0xe2, 0xbc, 0x50, 0x85, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 
+0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x04, 0x00, 0x50, 0xe3, 
+0x07, 0x00, 0x00, 0x1a, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 0x00, 0x01, 0x91, 0xe7, 0x03, 0x5b, 0x80, 0xe2, 
+0x83, 0x5f, 0x85, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 0xa4, 0x01, 0x94, 0xe5, 
+0x00, 0x01, 0x94, 0xe7, 0x05, 0x00, 0x50, 0xe3, 0x06, 0x00, 0x00, 0x1a, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 
+0x00, 0x01, 0x91, 0xe7, 0xe3, 0x5f, 0x80, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 
+0x01, 0x00, 0xa0, 0xe3, 0xa4, 0x11, 0x94, 0xe5, 0x01, 0x11, 0x81, 0xe0, 0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 
+0x0c, 0x00, 0x81, 0xe5, 0xf0, 0x81, 0xbd, 0xe8, 0xf0, 0x47, 0x2d, 0xe9, 0x00, 0x40, 0xa0, 0xe1, 0x88, 0x80, 0x94, 0xe5, 
+0x00, 0x60, 0xa0, 0xe3, 0x00, 0x70, 0xa0, 0xe3, 0x01, 0x00, 0xa0, 0xe3, 0xa4, 0x11, 0x94, 0xe5, 0x01, 0x11, 0x81, 0xe0, 
+0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 0x10, 0x00, 0x81, 0xe5, 0x69, 0x1f, 0x84, 0xe2, 0x03, 0x00, 0x91, 0xe8, 
+0x01, 0x00, 0x50, 0xe1, 0x02, 0x00, 0x00, 0x1a, 0xbc, 0x01, 0x94, 0xe5, 0x00, 0x00, 0x50, 0xe3, 0x0d, 0x00, 0x00, 0x0a, 
+0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x8c, 0x10, 0x84, 0xe2, 0x00, 0x61, 0x91, 0xe7, 0xa4, 0x01, 0x94, 0xe5, 
+0x00, 0x01, 0x94, 0xe7, 0x4d, 0x1f, 0x84, 0xe2, 0x00, 0x71, 0x91, 0xe7, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x20, 0x84, 0xe2, 
+0x00, 0x11, 0x92, 0xe7, 0x06, 0x20, 0xa0, 0xe1, 0x07, 0x00, 0xa0, 0xe1, 0xb5, 0x00, 0x00, 0xeb, 0xa4, 0x01, 0x94, 0xe5, 
+0x00, 0x01, 0x94, 0xe7, 0x11, 0x00, 0x50, 0xe3, 0x14, 0x00, 0x00, 0x1a, 0x00, 0x00, 0xa0, 0xe3, 0x52, 0x18, 0xa0, 0xe3, 
+0x44, 0x00, 0x81, 0xe5, 0xb4, 0x00, 0x81, 0xe5, 0x02, 0x0c, 0xa0, 0xe3, 0x04, 0x00, 0x81, 0xe5, 0x00, 0x00, 0xa0, 0xe3, 
+0x56, 0x18, 0xa0, 0xe3, 0x0c, 0x00, 0x81, 0xe5, 0x10, 0x00, 0x81, 0xe5, 0x02, 0x16, 0xa0, 0xe3, 0x04, 0x00, 0x81, 0xe5, 
+0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 0x00, 0x01, 0x91, 0xe7, 0x06, 0x5b, 0x80, 0xe2, 0xb1, 0x5f, 0x85, 0xe2, 
+0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 0x00, 0x90, 0xa0, 0xe1, 0xa4, 0x01, 0x94, 0xe5, 
+0x00, 0x01, 0x94, 0xe7, 0x01, 0x00, 0x50, 0xe3, 0x0b, 0x00, 0x00, 0x1a, 0x02, 0x00, 0xa0, 0xe3, 0x52, 0x18, 0xa0, 0xe3, 
+0x08, 0x00, 0x81, 0xe5, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 0x00, 0x01, 0x91, 0xe7, 0x01, 0x59, 0x80, 0xe2, 
+0xea, 0x5d, 0x85, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 0x00, 0x90, 0xa0, 0xe1, 
+0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x10, 0x00, 0x50, 0xe3, 0x14, 0x00, 0x00, 0x1a, 0x00, 0x00, 0xa0, 0xe3, 
+0x52, 0x18, 0xa0, 0xe3, 0x44, 0x00, 0x81, 0xe5, 0xb4, 0x00, 0x81, 0xe5, 0x02, 0x0c, 0xa0, 0xe3, 0x04, 0x00, 0x81, 0xe5, 
+0x00, 0x00, 0xa0, 0xe3, 0x56, 0x18, 0xa0, 0xe3, 0x0c, 0x00, 0x81, 0xe5, 0x10, 0x00, 0x81, 0xe5, 0x02, 0x16, 0xa0, 0xe3, 
+0x04, 0x00, 0x81, 0xe5, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 0x00, 0x01, 0x91, 0xe7, 0x01, 0x5b, 0x80, 0xe2, 
+0x64, 0x50, 0x85, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 0x00, 0x90, 0xa0, 0xe1, 
+0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x00, 0x00, 0x50, 0xe3, 0x03, 0x00, 0x00, 0x0a, 0xa4, 0x01, 0x94, 0xe5, 
+0x00, 0x01, 0x94, 0xe7, 0x02, 0x00, 0x50, 0xe3, 0x08, 0x00, 0x00, 0x1a, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 
+0x00, 0x01, 0x91, 0xe7, 0x05, 0x5b, 0x80, 0xe2, 0x55, 0x5f, 0x85, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 
+0x15, 0xff, 0x2f, 0xe1, 0x00, 0x90, 0xa0, 0xe1, 0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x06, 0x00, 0x50, 0xe3, 
+0x07, 0x00, 0x00, 0x1a, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 0x00, 0x01, 0x91, 0xe7, 0x66, 0x5e, 0x80, 0xe2, 
+0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 0x00, 0x90, 0xa0, 0xe1, 0xa4, 0x01, 0x94, 0xe5, 
+0x00, 0x01, 0x94, 0xe7, 0x04, 0x00, 0x50, 0xe3, 0x07, 0x00, 0x00, 0x1a, 0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 
+0x00, 0x01, 0x91, 0xe7, 0x81, 0x5f, 0x80, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 
+0x00, 0x90, 0xa0, 0xe1, 0xa4, 0x01, 0x94, 0xe5, 0x00, 0x01, 0x94, 0xe7, 0x05, 0x00, 0x50, 0xe3, 0x07, 0x00, 0x00, 0x1a, 
+0xa4, 0x01, 0x94, 0xe5, 0x60, 0x10, 0x84, 0xe2, 0x00, 0x01, 0x91, 0xe7, 0x42, 0x5f, 0x80, 0xe2, 0x08, 0x00, 0xa0, 0xe1, 
+0x0f, 0xe0, 0xa0, 0xe1, 0x15, 0xff, 0x2f, 0xe1, 0x00, 0x90, 0xa0, 0xe1, 0x01, 0x00, 0xa0, 0xe3, 0xa4, 0x11, 0x94, 0xe5, 
+0x01, 0x11, 0x81, 0xe0, 0x10, 0x20, 0x84, 0xe2, 0x01, 0x11, 0x82, 0xe0, 0x10, 0x00, 0x81, 0xe5, 0x09, 0x00, 0xa0, 0xe1, 
+0xf0, 0x87, 0xbd, 0xe8, 0xf0, 0x41, 0x2d, 0xe9, 0x00, 0x40, 0xa0, 0xe1, 0xa4, 0x61, 0x94, 0xe5, 0xa4, 0x01, 0x94, 0xe5, 
+0x00, 0x71, 0x94, 0xe7, 0x62, 0x0f, 0x84, 0xe2, 0x06, 0x81, 0x90, 0xe7, 0x0f, 0x2b, 0xa0, 0xe3, 0x08, 0x10, 0xa0, 0xe1, 
+0x88, 0x00, 0x94, 0xe5, 0x7a, 0x00, 0x00, 0xeb, 0x01, 0x00, 0xa0, 0xe3, 0xb8, 0x01, 0x84, 0xe5, 0x00, 0x00, 0xa0, 0xe3, 
+0xa8, 0x01, 0x84, 0xe5, 0xa4, 0x01, 0x84, 0xe5, 0xa0, 0x01, 0x84, 0xe5, 0xac, 0x01, 0x84, 0xe5, 0x07, 0x5d, 0xa0, 0xe3, 
+0xc5, 0x1f, 0xa0, 0xe1, 0xa1, 0x1c, 0x85, 0xe0, 0xc1, 0x13, 0xa0, 0xe1, 0x81, 0x13, 0x45, 0xe0, 0x80, 0x10, 0x61, 0xe2, 
+0x05, 0x00, 0xa0, 0xe1, 0x05, 0x50, 0x81, 0xe0, 0x05, 0x20, 0xa0, 0xe1, 0xb4, 0x11, 0x94, 0xe5, 0x04, 0x00, 0xa0, 0xe1, 
+0x67, 0x00, 0x00, 0xeb, 0xf0, 0x81, 0xbd, 0xe8, 0x70, 0x40, 0x2d, 0xe9, 0x00, 0x40, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 
+0x30, 0x02, 0x90, 0xe5, 0x00, 0x60, 0xa0, 0xe1, 0x07, 0x5d, 0xa0, 0xe3, 0xc5, 0x1f, 0xa0, 0xe1, 0xa1, 0x1c, 0x85, 0xe0, 
+0xc1, 0x13, 0xa0, 0xe1, 0x81, 0x13, 0x45, 0xe0, 0x80, 0x10, 0x61, 0xe2, 0x05, 0x00, 0xa0, 0xe1, 0x05, 0x50, 0x81, 0xe0, 
+0x05, 0x20, 0xa0, 0xe1, 0x04, 0x10, 0xa0, 0xe1, 0x06, 0x00, 0xa0, 0xe1, 0x06, 0x00, 0x00, 0xeb, 0x07, 0x00, 0xa0, 0xe3, 
+0xa0, 0x01, 0x84, 0xe5, 0x00, 0x00, 0xa0, 0xe3, 0xb8, 0x01, 0x84, 0xe5, 0x01, 0x00, 0xa0, 0xe3, 0xbc, 0x01, 0x84, 0xe5, 
+0x70, 0x80, 0xbd, 0xe8, 0xf7, 0x4f, 0x2d, 0xe9, 0x02, 0x40, 0xa0, 0xe1, 0x06, 0xb6, 0xa0, 0xe3, 0xa4, 0x93, 0xa0, 0xe1, 
+0x7f, 0x80, 0x04, 0xe2, 0x00, 0x70, 0xa0, 0xe3, 0x00, 0x60, 0xa0, 0xe3, 0x00, 0x50, 0xa0, 0xe3, 0x24, 0x00, 0x00, 0xea, 
+0x00, 0x00, 0x55, 0xe3, 0x0d, 0x00, 0x00, 0x0a, 0x0c, 0x10, 0xa0, 0xe3, 0x05, 0x00, 0xa0, 0xe1, 0x07, 0x01, 0x00, 0xeb, 
+0x00, 0x00, 0x51, 0xe3, 0x08, 0x00, 0x00, 0x1a, 0x00, 0x60, 0xa0, 0xe3, 0x06, 0x0c, 0xa0, 0xe3, 0x04, 0x10, 0x9d, 0xe5, 
+0x97, 0x10, 0x2a, 0xe0, 0x06, 0x2c, 0xa0, 0xe3, 0x0b, 0x10, 0xa0, 0xe1, 0x0a, 0x00, 0xa0, 0xe1, 0xa9, 0x00, 0x00, 0xeb, 
+0x01, 0x70, 0x87, 0xe2, 0x06, 0x16, 0xa0, 0xe3, 0x86, 0x03, 0x81, 0xe0, 0x05, 0x16, 0xa0, 0xe3, 0x20, 0x00, 0x81, 0xe5, 
+0x00, 0x10, 0x9d, 0xe5, 0x85, 0x03, 0x81, 0xe0, 0x05, 0x16, 0xa0, 0xe3, 0x14, 0x00, 0x81, 0xe5, 0x20, 0x00, 0xa0, 0xe3, 
+0x0c, 0x00, 0x81, 0xe5, 0x04, 0x00, 0xa0, 0xe3, 0x08, 0x00, 0x81, 0xe5, 0x01, 0x00, 0xa0, 0xe3, 0x00, 0x00, 0x81, 0xe5, 
+0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 0x30, 0x00, 0x90, 0xe5, 0x01, 0x00, 0x50, 0xe3, 0xfb, 0xff, 0xff, 0x1a, 
+0x01, 0x60, 0x86, 0xe2, 0x01, 0x50, 0x85, 0xe2, 0x09, 0x00, 0x55, 0xe1, 0xd8, 0xff, 0xff, 0x3a, 0x06, 0x0c, 0xa0, 0xe3, 
+0x04, 0x10, 0x9d, 0xe5, 0x97, 0x10, 0x2a, 0xe0, 0x00, 0x00, 0x58, 0xe3, 0x12, 0x00, 0x00, 0x0a, 0x06, 0x16, 0xa0, 0xe3, 
+0x86, 0x03, 0x81, 0xe0, 0x05, 0x16, 0xa0, 0xe3, 0x20, 0x00, 0x81, 0xe5, 0x00, 0x10, 0x9d, 0xe5, 0x85, 0x03, 0x81, 0xe0, 
+0x05, 0x16, 0xa0, 0xe3, 0x14, 0x00, 0x81, 0xe5, 0x28, 0x01, 0xa0, 0xe1, 0x0c, 0x00, 0x81, 0xe5, 0x04, 0x00, 0xa0, 0xe3, 
+0x08, 0x00, 0x81, 0xe5, 0x01, 0x00, 0xa0, 0xe3, 0x00, 0x00, 0x81, 0xe5, 0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 
+0x30, 0x00, 0x90, 0xe5, 0x01, 0x00, 0x50, 0xe3, 0xfb, 0xff, 0xff, 0x1a, 0x06, 0xb6, 0xa0, 0xe3, 0x86, 0x23, 0x88, 0xe0, 
+0x0b, 0x10, 0xa0, 0xe1, 0x0a, 0x00, 0xa0, 0xe1, 0x74, 0x00, 0x00, 0xeb, 0x00, 0x00, 0xa0, 0xe3, 0xfe, 0x8f, 0xbd, 0xe8, 
+0xf7, 0x4f, 0x2d, 0xe9, 0x08, 0xd0, 0x4d, 0xe2, 0x06, 0xb6, 0xa0, 0xe3, 0x10, 0x00, 0x9d, 0xe5, 0xa0, 0x03, 0xa0, 0xe1, 
+0x04, 0x00, 0x8d, 0xe5, 0x10, 0x00, 0x9d, 0xe5, 0x7f, 0x70, 0x00, 0xe2, 0x00, 0x80, 0xa0, 0xe3, 0x00, 0x60, 0xa0, 0xe3, 
+0x04, 0x50, 0x9d, 0xe5, 0x00, 0x40, 0xa0, 0xe3, 0x2b, 0x00, 0x00, 0xea, 0x0c, 0x10, 0xa0, 0xe3, 0x04, 0x00, 0xa0, 0xe1, 
+0xb6, 0x00, 0x00, 0xeb, 0x00, 0x00, 0x51, 0xe3, 0x11, 0x00, 0x00, 0x1a, 0x00, 0x60, 0xa0, 0xe3, 0x80, 0x00, 0xa0, 0xe3, 
+0x08, 0x10, 0x9d, 0xe5, 0x94, 0x10, 0x29, 0xe0, 0x06, 0x1c, 0xa0, 0xe3, 0x0b, 0x00, 0xa0, 0xe1, 0x86, 0x00, 0x00, 0xeb, 
+0x0c, 0x00, 0x55, 0xe3, 0x01, 0x00, 0x00, 0x2a, 0x85, 0xa3, 0xa0, 0xe1, 0x01, 0x00, 0x00, 0xea, 0x06, 0xac, 0xa0, 0xe3, 
+0x0c, 0x50, 0x45, 0xe2, 0x0a, 0x20, 0xa0, 0xe1, 0x09, 0x10, 0xa0, 0xe1, 0x0b, 0x00, 0xa0, 0xe1, 0x4f, 0x00, 0x00, 0xeb, 
+0x01, 0x80, 0x88, 0xe2, 0x06, 0x16, 0xa0, 0xe3, 0x86, 0x03, 0x81, 0xe0, 0x05, 0x16, 0xa0, 0xe3, 0x20, 0x00, 0x81, 0xe5, 
+0x0c, 0x10, 0x9d, 0xe5, 0x84, 0x03, 0x81, 0xe0, 0x05, 0x16, 0xa0, 0xe3, 0x14, 0x00, 0x81, 0xe5, 0x20, 0x00, 0xa0, 0xe3, 
+0x0c, 0x00, 0x81, 0xe5, 0x05, 0x00, 0xa0, 0xe3, 0x08, 0x00, 0x81, 0xe5, 0x01, 0x00, 0xa0, 0xe3, 0x00, 0x00, 0x81, 0xe5, 
+0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 0x30, 0x00, 0x90, 0xe5, 0x01, 0x00, 0x50, 0xe3, 0xfb, 0xff, 0xff, 0x1a, 
+0x01, 0x60, 0x86, 0xe2, 0x01, 0x40, 0x84, 0xe2, 0x04, 0x00, 0x9d, 0xe5, 0x00, 0x00, 0x54, 0xe1, 0xd0, 0xff, 0xff, 0x3a, 
+0x80, 0x00, 0xa0, 0xe3, 0x08, 0x10, 0x9d, 0xe5, 0x94, 0x10, 0x29, 0xe0, 0x00, 0x00, 0x57, 0xe3, 0x15, 0x00, 0x00, 0x0a, 
+0x07, 0x20, 0xa0, 0xe1, 0x09, 0x10, 0xa0, 0xe1, 0x0b, 0x00, 0xa0, 0xe1, 0x2d, 0x00, 0x00, 0xeb, 0x06, 0x06, 0xa0, 0xe3, 
+0x05, 0x16, 0xa0, 0xe3, 0x20, 0x00, 0x81, 0xe5, 0x0c, 0x10, 0x9d, 0xe5, 0x84, 0x03, 0x81, 0xe0, 0x05, 0x16, 0xa0, 0xe3, 
+0x14, 0x00, 0x81, 0xe5, 0x27, 0x01, 0xa0, 0xe1, 0x0c, 0x00, 0x81, 0xe5, 0x05, 0x00, 0xa0, 0xe3, 0x08, 0x00, 0x81, 0xe5, 
+0x01, 0x00, 0xa0, 0xe3, 0x00, 0x00, 0x81, 0xe5, 0x00, 0x00, 0xa0, 0xe1, 0x05, 0x06, 0xa0, 0xe3, 0x30, 0x00, 0x90, 0xe5, 
+0x01, 0x00, 0x50, 0xe3, 0xfb, 0xff, 0xff, 0x1a, 0x00, 0x00, 0xa0, 0xe3, 0x14, 0xd0, 0x8d, 0xe2, 0xf0, 0x8f, 0xbd, 0xe8, 
+0x00, 0x00, 0x50, 0xe3, 0x0e, 0xf0, 0xa0, 0x01, 0x10, 0x40, 0x2d, 0xe9, 0x00, 0x40, 0xa0, 0xe1, 0xc0, 0x00, 0x00, 0xeb, 
+0x04, 0x10, 0xa0, 0xe1, 0x08, 0x00, 0x90, 0xe5, 0x1a, 0x01, 0x00, 0xeb, 0x10, 0x80, 0xbd, 0xe8, 0x70, 0x40, 0x2d, 0xe9, 
+0x90, 0x41, 0x81, 0xe0, 0x01, 0x22, 0xa0, 0xe3, 0x04, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0x51, 0xe3, 0x02, 0x00, 0x50, 0x01, 
+0x00, 0x00, 0xa0, 0x23, 0x70, 0x80, 0xbd, 0x28, 0x04, 0x00, 0xa0, 0xe1, 0x06, 0x01, 0x00, 0xeb, 0x00, 0x50, 0xb0, 0xe1, 
+0x04, 0x10, 0xa0, 0x11, 0x05, 0x00, 0xa0, 0x11, 0x44, 0x00, 0x00, 0x1b, 0x05, 0x00, 0xa0, 0xe1, 0x70, 0x80, 0xbd, 0xe8, 
+0x03, 0x00, 0x52, 0xe3, 0x35, 0x01, 0x00, 0x9a, 0x03, 0xc0, 0x10, 0xe2, 0x08, 0x00, 0x00, 0x0a, 0x01, 0x30, 0xd1, 0xe4, 
+0x02, 0x00, 0x5c, 0xe3, 0x0c, 0x20, 0x82, 0xe0, 0x01, 0xc0, 0xd1, 0x94, 0x01, 0x30, 0xc0, 0xe4, 0x01, 0x30, 0xd1, 0x34, 
+0x01, 0xc0, 0xc0, 0x94, 0x04, 0x20, 0x42, 0xe2, 0x01, 0x30, 0xc0, 0x34, 0x03, 0x30, 0x11, 0xe2, 0x15, 0x01, 0x00, 0x0a, 
+0x04, 0x20, 0x52, 0xe2, 0x26, 0x01, 0x00, 0x3a, 0x03, 0xc0, 0x31, 0xe7, 0x02, 0x00, 0x53, 0xe3, 0x08, 0x00, 0x00, 0x0a, 
+0x0f, 0x00, 0x00, 0x8a, 0x2c, 0x34, 0xa0, 0xe1, 0x04, 0xc0, 0xb1, 0xe5, 0x04, 0x20, 0x52, 0xe2, 0x0c, 0x3c, 0x83, 0xe1, 
+0x04, 0x30, 0x80, 0xe4, 0xf9, 0xff, 0xff, 0x2a, 0x01, 0x10, 0x81, 0xe2, 0x1a, 0x01, 0x00, 0xea, 0x2c, 0x38, 0xa0, 0xe1, 
+0x04, 0xc0, 0xb1, 0xe5, 0x04, 0x20, 0x52, 0xe2, 0x0c, 0x38, 0x83, 0xe1, 0x04, 0x30, 0x80, 0xe4, 0xf9, 0xff, 0xff, 0x2a, 
+0x02, 0x10, 0x81, 0xe2, 0x12, 0x01, 0x00, 0xea, 0x2c, 0x3c, 0xa0, 0xe1, 0x04, 0xc0, 0xb1, 0xe5, 0x04, 0x20, 0x52, 0xe2, 
+0x0c, 0x34, 0x83, 0xe1, 0x04, 0x30, 0x80, 0xe4, 0xf9, 0xff, 0xff, 0x2a, 0x03, 0x10, 0x81, 0xe2, 0x0a, 0x01, 0x00, 0xea, 
+0x00, 0x20, 0xa0, 0xe3, 0x20, 0x10, 0x51, 0xe2, 0x00, 0x40, 0x2d, 0xe9, 0x02, 0xe0, 0xa0, 0xe1, 0x02, 0x30, 0xa0, 0xe1, 
+0x02, 0xc0, 0xa0, 0xe1, 0x0c, 0x50, 0xa0, 0x28, 0x0c, 0x50, 0xa0, 0x28, 0x20, 0x10, 0x51, 0x22, 0xfb, 0xff, 0xff, 0x2a, 
+0x01, 0x1e, 0xb0, 0xe1, 0x0c, 0x50, 0xa0, 0x28, 0x0c, 0x00, 0xa0, 0x48, 0x01, 0x11, 0xb0, 0xe1, 0x00, 0x40, 0xbd, 0xe8, 
+0x04, 0x20, 0x80, 0x24, 0x0e, 0xf0, 0xa0, 0x01, 0x01, 0x20, 0xc0, 0x44, 0x01, 0x20, 0xc0, 0x44, 0x01, 0x01, 0x11, 0xe3, 
+0x01, 0x20, 0xc0, 0x14, 0x0e, 0xf0, 0xa0, 0xe1, 0x00, 0x20, 0xa0, 0xe3, 0x04, 0x00, 0x51, 0xe3, 0x08, 0x00, 0x00, 0x3a, 
+0x03, 0xc0, 0x10, 0xe2, 0xe5, 0xff, 0xff, 0x0a, 0x04, 0xc0, 0x6c, 0xe2, 0x01, 0x20, 0xc0, 0xe4, 0x02, 0x00, 0x5c, 0xe3, 
+0x01, 0x20, 0xc0, 0xa4, 0x0c, 0x10, 0x41, 0xe0, 0x01, 0x20, 0xc0, 0xc4, 0xde, 0xff, 0xff, 0xea, 0x81, 0xcf, 0xb0, 0xe1, 
+0x01, 0x20, 0xc0, 0x24, 0x01, 0x20, 0xc0, 0x24, 0x01, 0x20, 0xc0, 0x44, 0x0e, 0xf0, 0xa0, 0xe1, 0x01, 0xc0, 0x90, 0xe1, 
+0x21, 0x00, 0x00, 0x4a, 0xa0, 0xc0, 0x71, 0xe0, 0x00, 0x20, 0xa0, 0xe3, 0x1a, 0x00, 0x00, 0x3a, 0x20, 0xc2, 0x71, 0xe0, 
+0x0f, 0x00, 0x00, 0x3a, 0x20, 0xc4, 0x71, 0xe0, 0x01, 0x00, 0x00, 0x3a, 0x00, 0x30, 0xa0, 0xe3, 0x20, 0x00, 0x00, 0xea, 
+0xa0, 0xc3, 0x71, 0xe0, 0x81, 0x03, 0x40, 0x20, 0x02, 0x20, 0xa2, 0xe0, 0x20, 0xc3, 0x71, 0xe0, 0x01, 0x03, 0x40, 0x20, 
+0x02, 0x20, 0xa2, 0xe0, 0xa0, 0xc2, 0x71, 0xe0, 0x81, 0x02, 0x40, 0x20, 0x02, 0x20, 0xa2, 0xe0, 0x20, 0xc2, 0x71, 0xe0, 
+0x01, 0x02, 0x40, 0x20, 0x02, 0x20, 0xa2, 0xe0, 0xa0, 0xc1, 0x71, 0xe0, 0x81, 0x01, 0x40, 0x20, 0x02, 0x20, 0xa2, 0xe0, 
+0x20, 0xc1, 0x71, 0xe0, 0x01, 0x01, 0x40, 0x20, 0x02, 0x20, 0xb2, 0xe0, 0xa0, 0xc0, 0x71, 0xe0, 0x81, 0x00, 0x40, 0x20, 
+0x02, 0x20, 0xa2, 0xe0, 0x01, 0x10, 0x50, 0xe0, 0x00, 0x10, 0xa0, 0x31, 0x02, 0x00, 0xa2, 0xe0, 0x0e, 0xf0, 0xa0, 0xe1, 
+0x02, 0x21, 0x11, 0xe2, 0x00, 0x10, 0x61, 0x42, 0x40, 0x30, 0x32, 0xe0, 0x00, 0x00, 0x60, 0x22, 0x20, 0xc2, 0x71, 0xe0, 
+0x1d, 0x00, 0x00, 0x3a, 0x20, 0xc4, 0x71, 0xe0, 0x0f, 0x00, 0x00, 0x3a, 0x01, 0x13, 0xa0, 0xe1, 0x20, 0xc4, 0x71, 0xe0, 
+0x3f, 0x23, 0x82, 0xe3, 0x0b, 0x00, 0x00, 0x3a, 0x01, 0x13, 0xa0, 0xe1, 0x20, 0xc4, 0x71, 0xe0, 0x3f, 0x26, 0x82, 0xe3, 
+0x07, 0x00, 0x00, 0x3a, 0x01, 0x13, 0xa0, 0xe1, 0x20, 0xc4, 0x71, 0xe0, 0x3f, 0x29, 0x82, 0xe3, 0x3f, 0x2c, 0x82, 0x23, 
+0x01, 0x13, 0xa0, 0x21, 0x00, 0xc0, 0x71, 0xe2, 0x33, 0x00, 0x00, 0x2a, 0x21, 0x13, 0xa0, 0x21, 0xa0, 0xc3, 0x71, 0xe0, 
+0x81, 0x03, 0x40, 0x20, 0x02, 0x20, 0xa2, 0xe0, 0x20, 0xc3, 0x71, 0xe0, 0x01, 0x03, 0x40, 0x20, 0x02, 0x20, 0xa2, 0xe0, 
+0xa0, 0xc2, 0x71, 0xe0, 0x81, 0x02, 0x40, 0x20, 0x02, 0x20, 0xa2, 0xe0, 0x20, 0xc2, 0x71, 0xe0, 0x01, 0x02, 0x40, 0x20, 
+0x02, 0x20, 0xa2, 0xe0, 0xa0, 0xc1, 0x71, 0xe0, 0x81, 0x01, 0x40, 0x20, 0x02, 0x20, 0xa2, 0xe0, 0x20, 0xc1, 0x71, 0xe0, 
+0x01, 0x01, 0x40, 0x20, 0x02, 0x20, 0xb2, 0xe0, 0xeb, 0xff, 0xff, 0x2a, 0xa0, 0xc0, 0x71, 0xe0, 0x81, 0x00, 0x40, 0x20, 
+0x02, 0x20, 0xa2, 0xe0, 0x01, 0x10, 0x50, 0xe0, 0x00, 0x10, 0xa0, 0x31, 0x02, 0x00, 0xa2, 0xe0, 0xc3, 0x3f, 0xb0, 0xe1, 
+0x00, 0x00, 0x60, 0x42, 0x00, 0x10, 0x61, 0x22, 0x0e, 0xf0, 0xa0, 0xe1, 0x04, 0x00, 0x9f, 0xe5, 0x00, 0x00, 0x8f, 0xe0, 
+0x0e, 0xf0, 0xa0, 0xe1, 0x7c, 0x09, 0x00, 0x00, 0x78, 0x01, 0x00, 0xeb, 0xf6, 0x00, 0x00, 0xeb, 0x03, 0x00, 0x2d, 0xe9, 
+0x76, 0x01, 0x00, 0xeb, 0x03, 0x00, 0xbd, 0xe8, 0x31, 0x01, 0x00, 0xeb, 0x0f, 0x00, 0x2d, 0xe9, 0x75, 0x01, 0x00, 0xeb, 
+0x0f, 0x00, 0xbd, 0xe8, 0x6c, 0xfb, 0xff, 0xeb, 0xdc, 0x00, 0x00, 0xea, 0x01, 0x40, 0x2d, 0xe9, 0x73, 0x01, 0x00, 0xeb, 
+0x65, 0x01, 0x00, 0xeb, 0x01, 0x40, 0xbd, 0xe8, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0xe0, 0xe3, 0x7c, 0x00, 0x00, 0xea, 
+0x81, 0x00, 0x00, 0xea, 0x0e, 0xf0, 0xa0, 0xe1, 0x0e, 0xf0, 0xa0, 0xe1, 0x10, 0x40, 0x2d, 0xe9, 0x00, 0x40, 0xa0, 0xe1, 
+0x01, 0x00, 0xa0, 0xe1, 0x08, 0xd0, 0x4d, 0xe2, 0x04, 0x10, 0x8d, 0xe2, 0xda, 0x00, 0x00, 0xeb, 0x00, 0x00, 0x50, 0xe3, 
+0x08, 0xd0, 0x8d, 0x02, 0x10, 0x80, 0xbd, 0x08, 0x00, 0x20, 0xa0, 0xe1, 0x04, 0x10, 0x9d, 0xe5, 0x04, 0x00, 0xa0, 0xe1, 
+0xaf, 0x00, 0x00, 0xeb, 0x08, 0xd0, 0x8d, 0xe2, 0x01, 0x00, 0xa0, 0xe3, 0x10, 0x80, 0xbd, 0xe8, 0x01, 0x10, 0xa0, 0xe3, 
+0x10, 0x40, 0x2d, 0xe9, 0x09, 0x00, 0xa0, 0xe3, 0x6e, 0x00, 0x00, 0xeb, 0x10, 0x80, 0xbd, 0xe8, 0xf0, 0x40, 0x2d, 0xe9, 
+0x00, 0x50, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe3, 0x01, 0x40, 0xa0, 0xe1, 0x04, 0x30, 0x2d, 0xe5, 0x72, 0x00, 0x00, 0xeb, 
+0x00, 0x60, 0xa0, 0xe1, 0x00, 0x00, 0x85, 0xe0, 0x04, 0x00, 0x50, 0xe1, 0x0a, 0x00, 0x00, 0x9a, 0x0d, 0x10, 0xa0, 0xe1, 
+0x06, 0x00, 0xa0, 0xe1, 0xbe, 0x00, 0x00, 0xeb, 0x00, 0x70, 0xb0, 0xe1, 0x00, 0x10, 0xa0, 0x03, 0x09, 0x00, 0xa0, 0x03, 
+0x5c, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x9d, 0xe5, 0x04, 0x00, 0x50, 0xe1, 0x00, 0x50, 0xa0, 0x11, 0x07, 0x40, 0x80, 0xe0, 
+0xbb, 0xff, 0xff, 0xeb, 0x07, 0x10, 0x86, 0xe2, 0x07, 0x10, 0xc1, 0xe3, 0x00, 0x70, 0xa0, 0xe1, 0x08, 0x50, 0x80, 0xe5, 
+0x05, 0x00, 0xa0, 0xe1, 0x05, 0x60, 0x81, 0xe0, 0x56, 0x00, 0x00, 0xeb, 0x06, 0x00, 0x54, 0xe1, 0xf8, 0x00, 0xbd, 0x08, 
+0x04, 0xf0, 0x9d, 0x04, 0x06, 0x10, 0xa0, 0xe1, 0x06, 0x20, 0x44, 0xe0, 0x08, 0x00, 0x97, 0xe5, 0x83, 0x00, 0x00, 0xeb, 
+0xf8, 0x00, 0xbd, 0xe8, 0x04, 0xf0, 0x9d, 0xe4, 0x10, 0x40, 0x2d, 0xe9, 0x00, 0x40, 0xa0, 0xe1, 0xa8, 0xff, 0xff, 0xeb, 
+0x04, 0x10, 0xa0, 0xe1, 0x08, 0x00, 0x90, 0xe5, 0x4e, 0x00, 0x00, 0xeb, 0x10, 0x80, 0xbd, 0xe8, 0x0e, 0xf0, 0xa0, 0xe1, 
+0x0e, 0xf0, 0xa0, 0xe1, 0x04, 0x10, 0x41, 0xe2, 0x00, 0x20, 0xa0, 0xe1, 0x04, 0x00, 0x90, 0xe5, 0x00, 0x00, 0x50, 0xe3, 
+0x01, 0x00, 0x50, 0x11, 0xfa, 0xff, 0xff, 0x3a, 0x00, 0x30, 0x92, 0xe5, 0x02, 0xc0, 0x83, 0xe0, 0x01, 0x00, 0x5c, 0xe1, 
+0x04, 0x10, 0x82, 0x15, 0x03, 0x00, 0x00, 0x1a, 0x00, 0x10, 0x91, 0xe5, 0x01, 0x10, 0x83, 0xe0, 0x00, 0x10, 0x82, 0xe5, 
+0x02, 0x10, 0xa0, 0xe1, 0x00, 0x20, 0x91, 0xe5, 0x01, 0x30, 0x82, 0xe0, 0x00, 0x00, 0x53, 0xe1, 0x04, 0x00, 0x81, 0x15, 
+0x0e, 0xf0, 0xa0, 0x11, 0x04, 0x30, 0x90, 0xe5, 0x04, 0x30, 0x81, 0xe5, 0x00, 0x00, 0x90, 0xe5, 0x00, 0x00, 0x82, 0xe0, 
+0x00, 0x00, 0x81, 0xe5, 0x0e, 0xf0, 0xa0, 0xe1, 0x79, 0x00, 0x00, 0xeb, 0x20, 0x20, 0x52, 0xe2, 0x10, 0x40, 0x2d, 0xe9, 
+0x05, 0x00, 0x00, 0x3a, 0x18, 0x50, 0xb1, 0x28, 0x18, 0x50, 0xa0, 0x28, 0x18, 0x50, 0xb1, 0x28, 0x18, 0x50, 0xa0, 0x28, 
+0x20, 0x20, 0x52, 0x22, 0xf9, 0xff, 0xff, 0x2a, 0x02, 0xce, 0xb0, 0xe1, 0x18, 0x50, 0xb1, 0x28, 0x18, 0x50, 0xa0, 0x28, 
+0x18, 0x00, 0xb1, 0x48, 0x18, 0x00, 0xa0, 0x48, 0x02, 0xcf, 0xb0, 0xe1, 0x10, 0x40, 0xbd, 0xe8, 0x04, 0x30, 0x91, 0x24, 
+0x04, 0x30, 0x80, 0x24, 0x0e, 0xf0, 0xa0, 0x01, 0x82, 0x2f, 0xb0, 0xe1, 0x01, 0x20, 0xd1, 0x44, 0x01, 0x30, 0xd1, 0x24, 
+0x01, 0xc0, 0xd1, 0x24, 0x01, 0x20, 0xc0, 0x44, 0x01, 0x30, 0xc0, 0x24, 0x01, 0xc0, 0xc0, 0x24, 0x0e, 0xf0, 0xa0, 0xe1, 
+0x0c, 0x10, 0x9f, 0xe5, 0x18, 0x00, 0xa0, 0xe3, 0x56, 0x34, 0x12, 0xef, 0x0e, 0xf0, 0xa0, 0xe1, 0xbc, 0x03, 0x00, 0x00, 
+0x26, 0x00, 0x02, 0x00, 0x02, 0x00, 0xa0, 0xe3, 0x02, 0x10, 0xa0, 0xe3, 0x00, 0x00, 0xa0, 0xe1, 0x10, 0x40, 0x2d, 0xe9, 
+0xe8, 0x00, 0x00, 0xeb, 0x00, 0x00, 0x50, 0xe3, 0x10, 0x80, 0xbd, 0x08, 0x10, 0x40, 0xbd, 0xe8, 0xf0, 0xff, 0xff, 0xea, 
+0x00, 0x10, 0xa0, 0xe3, 0x00, 0x10, 0x80, 0xe5, 0x04, 0x10, 0x80, 0xe5, 0x08, 0x00, 0x80, 0xe5, 0x0e, 0xf0, 0xa0, 0xe1, 
+0x10, 0x00, 0xa0, 0xe3, 0x0e, 0xf0, 0xa0, 0xe1, 0x70, 0x40, 0x2d, 0xe9, 0x00, 0x50, 0xa0, 0xe1, 0x04, 0x00, 0x81, 0xe2, 
+0x08, 0x00, 0x50, 0xe3, 0x08, 0x00, 0xa0, 0x33, 0x07, 0x00, 0x80, 0xe2, 0x07, 0x40, 0xc0, 0xe3, 0x01, 0x00, 0x41, 0xe2, 
+0x00, 0x00, 0x54, 0xe1, 0x1f, 0x00, 0x00, 0x9a, 0x04, 0x00, 0x95, 0xe5, 0x05, 0x10, 0xa0, 0xe1, 0x00, 0x00, 0x50, 0xe3, 
+0x16, 0x00, 0x00, 0x0a, 0x00, 0x20, 0x90, 0xe5, 0x04, 0x00, 0x52, 0xe1, 0x0f, 0x00, 0x00, 0x3a, 0x00, 0x20, 0x90, 0xe5, 
+0x08, 0x30, 0x84, 0xe2, 0x03, 0x00, 0x52, 0xe1, 0x04, 0x20, 0x90, 0x35, 0x04, 0x20, 0x81, 0x35, 0x07, 0x00, 0x00, 0x3a, 
+0x04, 0x30, 0x90, 0xe5, 0x04, 0x20, 0x80, 0xe0, 0x04, 0x30, 0x82, 0xe5, 0x00, 0x30, 0x90, 0xe5, 0x04, 0x30, 0x43, 0xe0, 
+0x00, 0x30, 0x82, 0xe5, 0x04, 0x20, 0x81, 0xe5, 0x00, 0x40, 0x80, 0xe5, 0x04, 0x00, 0x80, 0xe2, 0x70, 0x80, 0xbd, 0xe8, 
+0x00, 0x10, 0xa0, 0xe1, 0x04, 0x00, 0x90, 0xe5, 0x00, 0x00, 0x50, 0xe3, 0xe8, 0xff, 0xff, 0x1a, 0x04, 0x10, 0xa0, 0xe1, 
+0x05, 0x00, 0xa0, 0xe1, 0x47, 0xff, 0xff, 0xeb, 0x00, 0x00, 0x50, 0xe3, 0xdf, 0xff, 0xff, 0x1a, 0x00, 0x00, 0xa0, 0xe3, 
+0x70, 0x80, 0xbd, 0xe8, 0x1b, 0x00, 0x00, 0xeb, 0x00, 0xc0, 0xa0, 0xe1, 0x10, 0x40, 0x2d, 0xe9, 0x04, 0x30, 0x90, 0xe5, 
+0x01, 0x00, 0x00, 0xea, 0x03, 0xc0, 0xa0, 0xe1, 0x04, 0x30, 0x93, 0xe5, 0x00, 0x00, 0x53, 0xe3, 0x01, 0x00, 0x53, 0x11, 
+0xfa, 0xff, 0xff, 0x3a, 0x00, 0x30, 0x9c, 0xe5, 0x0c, 0x30, 0x83, 0xe0, 0x01, 0x00, 0x53, 0xe1, 0x05, 0x00, 0x00, 0x0a, 
+0x01, 0x30, 0xa0, 0xe1, 0x03, 0x10, 0x81, 0xe2, 0x07, 0x10, 0xc1, 0xe3, 0x04, 0x10, 0x81, 0xe2, 0x03, 0x30, 0x41, 0xe0, 
+0x03, 0x20, 0x42, 0xe0, 0x04, 0x20, 0x81, 0xe4, 0x71, 0xff, 0xff, 0xeb, 0x10, 0x80, 0xbd, 0xe8, 0x10, 0x40, 0x2d, 0xe9, 
+0x00, 0x40, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 0x04, 0x00, 0xa0, 0xe1, 0x1d, 0xff, 0xff, 0xeb, 0x10, 0x80, 0xbd, 0xe8, 
+0x00, 0x10, 0xa0, 0xe3, 0x10, 0x40, 0x2d, 0xe9, 0x01, 0x00, 0xa0, 0xe3, 0xa5, 0xff, 0xff, 0xeb, 0x80, 0x00, 0x00, 0xeb, 
+0x01, 0x00, 0xa0, 0xe3, 0x99, 0xff, 0xff, 0xeb, 0x10, 0x80, 0xbd, 0xe8, 0x10, 0x40, 0x2d, 0xe9, 0x24, 0x00, 0x00, 0xeb, 
+0x10, 0x80, 0xbd, 0xe8, 0x0e, 0x50, 0xa0, 0xe1, 0x00, 0xff, 0xff, 0xeb, 0x00, 0x40, 0xa0, 0xe1, 0x07, 0x00, 0xc0, 0xe3, 
+0x0d, 0x10, 0xa0, 0xe1, 0x60, 0xd0, 0x80, 0xe2, 0x05, 0xe0, 0xa0, 0xe1, 0x10, 0x40, 0x2d, 0xe9, 0x0a, 0x30, 0xa0, 0xe1, 
+0xf1, 0x00, 0x00, 0xeb, 0x00, 0x60, 0xa0, 0xe3, 0x00, 0x70, 0xa0, 0xe3, 0x00, 0x80, 0xa0, 0xe3, 0x00, 0xb0, 0xa0, 0xe3, 
+0x10, 0x40, 0xbd, 0xe8, 0x07, 0xd0, 0xc1, 0xe3, 0x04, 0xc0, 0xa0, 0xe1, 0xc0, 0x09, 0xac, 0xe8, 0xc0, 0x09, 0xac, 0xe8, 
+0xc0, 0x09, 0xac, 0xe8, 0xc0, 0x09, 0xac, 0xe8, 0x13, 0x40, 0x2d, 0xe9, 0x00, 0x10, 0xa0, 0xe3, 0x00, 0x00, 0xa0, 0xe3, 
+0x00, 0x00, 0xa0, 0xe1, 0x40, 0x10, 0x81, 0xe2, 0x01, 0x20, 0x80, 0xe0, 0x11, 0x2e, 0x82, 0xe2, 0x1c, 0x20, 0x84, 0xe5, 
+0x01, 0x00, 0xa0, 0xe3, 0x18, 0x10, 0x84, 0xe5, 0x10, 0x00, 0x84, 0xe5, 0x13, 0x40, 0xbd, 0xe8, 0x00, 0x10, 0xa0, 0xe1, 
+0x14, 0x00, 0x84, 0xe5, 0x0e, 0xf0, 0xa0, 0xe1, 0x10, 0x40, 0x2d, 0xe9, 0x03, 0x00, 0x2d, 0xe9, 0xdb, 0xfe, 0xff, 0xeb, 
+0x00, 0x40, 0xa0, 0xe1, 0x03, 0x00, 0xbd, 0xe8, 0x14, 0x20, 0x94, 0xe5, 0x1c, 0x30, 0x94, 0xe5, 0x00, 0xe0, 0x82, 0xe0, 
+0x03, 0x30, 0x4d, 0xe0, 0x03, 0x00, 0x5e, 0xe1, 0x00, 0x20, 0x81, 0xe5, 0x0a, 0x00, 0x00, 0x8a, 0x0e, 0x30, 0x93, 0xe0, 
+0x01, 0x1a, 0x8e, 0xe2, 0x07, 0x10, 0x81, 0xe2, 0x63, 0x30, 0xa0, 0xe1, 0x07, 0x30, 0xc3, 0xe3, 0x07, 0x10, 0xc1, 0xe3, 
+0x03, 0x00, 0x51, 0xe1, 0x03, 0x10, 0xa0, 0x81, 0x02, 0x00, 0x41, 0xe0, 0x14, 0x10, 0x84, 0xe5, 0x10, 0x80, 0xbd, 0xe8, 
+0x00, 0x20, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe3, 0x00, 0x00, 0xa0, 0xe1, 0x10, 0x80, 0xbd, 0xe8, 0xc0, 0x43, 0x2d, 0xe9, 
+0x3e, 0x00, 0x2d, 0xe9, 0x01, 0x50, 0xa0, 0xe1, 0x00, 0x40, 0xa0, 0xe1, 0xc6, 0x00, 0x00, 0xeb, 0x00, 0x00, 0xa0, 0xe3, 
+0x00, 0x40, 0x8d, 0xe5, 0x04, 0x50, 0x8d, 0xe5, 0x61, 0xff, 0xff, 0xeb, 0x08, 0x00, 0x8d, 0xe5, 0x0d, 0x00, 0xa0, 0xe1, 
+0x2e, 0xfa, 0xff, 0xeb, 0x00, 0x40, 0xa0, 0xe1, 0x01, 0x50, 0xa0, 0xe1, 0x03, 0x00, 0x9d, 0xe8, 0x02, 0x60, 0xa0, 0xe1, 
+0x03, 0x70, 0xa0, 0xe1, 0xdf, 0xfe, 0xff, 0xeb, 0xc8, 0xfe, 0xff, 0xeb, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x10, 0xa0, 0xe3, 
+0x00, 0x00, 0xa0, 0xe3, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x80, 0xa0, 0xe1, 0xaa, 0xfe, 0xff, 0xeb, 0x00, 0x90, 0xa0, 0xe1, 
+0x20, 0x80, 0x80, 0xe5, 0x00, 0x00, 0xa0, 0xe3, 0x00, 0x10, 0xa0, 0xe3, 0x00, 0x00, 0xa0, 0xe1, 0x01, 0x10, 0x80, 0xe2, 
+0x24, 0x10, 0x89, 0xe5, 0x00, 0x10, 0xa0, 0xe3, 0x00, 0x00, 0xa0, 0xe3, 0x00, 0x00, 0xa0, 0xe1, 0x28, 0x00, 0x89, 0xe5, 
+0x00, 0x00, 0xa0, 0xe3, 0x00, 0x10, 0xa0, 0xe3, 0x00, 0x00, 0xa0, 0xe1, 0x2c, 0x00, 0x89, 0xe5, 0x00, 0x00, 0xa0, 0xe3, 
+0x00, 0x10, 0xa0, 0xe3, 0x00, 0x00, 0xa0, 0xe1, 0x30, 0x00, 0x89, 0xe5, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 
+0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 
+0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 0x0c, 0xd0, 0x8d, 0xe2, 0x04, 0x00, 0xa0, 0xe1, 0x05, 0x10, 0xa0, 0xe1, 
+0x06, 0x20, 0xa0, 0xe1, 0x07, 0x30, 0xa0, 0xe1, 0xf0, 0x01, 0xbd, 0xe8, 0x00, 0x82, 0xbd, 0xe8, 0x00, 0x00, 0xa0, 0xe3, 
+0x10, 0x40, 0x2d, 0xe9, 0x00, 0x00, 0xa0, 0xe1, 0x00, 0x00, 0xa0, 0xe1, 0x99, 0xfe, 0xff, 0xeb, 0x10, 0x80, 0xbd, 0xe8, 
+0x0e, 0xf0, 0xa0, 0xe1, 0x00, 0x00, 0xe0, 0xe3, 0x02, 0x10, 0xe0, 0xe3, 0x0e, 0xf0, 0xa0, 0xe1, 0x10, 0x40, 0x2d, 0xe9, 
+0x16, 0x00, 0x00, 0xeb, 0x10, 0x80, 0xbd, 0xe8, 0x0e, 0xf0, 0xa0, 0xe1, 0x0e, 0xf0, 0xa0, 0xe1, 0x70, 0x40, 0x2d, 0xe9, 
+0x01, 0x50, 0xa0, 0xe1, 0x00, 0x10, 0xa0, 0xe1, 0x00, 0x40, 0xa0, 0xe1, 0x00, 0x00, 0xe0, 0xe3, 0x00, 0x00, 0xa0, 0xe1, 
+0x01, 0x00, 0x70, 0xe3, 0x00, 0x20, 0xa0, 0xe1, 0x03, 0x00, 0x00, 0x1a, 0x05, 0x10, 0xa0, 0xe1, 0x04, 0x00, 0xa0, 0xe1, 
+0x0c, 0x00, 0x00, 0xeb, 0x70, 0x80, 0xbd, 0xe8, 0x03, 0x00, 0x72, 0xe3, 0x05, 0x10, 0xa0, 0x11, 0x04, 0x00, 0xa0, 0x11, 
+0x0f, 0xe0, 0xa0, 0x11, 0x02, 0xf0, 0xa0, 0x11, 0x00, 0x00, 0xa0, 0xe3, 0x70, 0x80, 0xbd, 0xe8, 0x0e, 0xf0, 0xa0, 0xe1, 
+0x10, 0x40, 0x2d, 0xe9, 0x61, 0xfe, 0xff, 0xeb, 0x04, 0x00, 0x80, 0xe2, 0x10, 0x80, 0xbd, 0xe8, 0x01, 0x20, 0x40, 0xe2, 
+0x70, 0x40, 0x2d, 0xe9, 0x0e, 0x00, 0x52, 0xe3, 0xc0, 0x50, 0x8f, 0x22, 0xb8, 0x40, 0x8f, 0xe2, 0x1c, 0x00, 0x00, 0x2a, 
+0x17, 0x20, 0xa0, 0xe3, 0xc0, 0x30, 0x9f, 0xe5, 0x90, 0x02, 0x02, 0xe0, 0x03, 0x30, 0x8f, 0xe0, 0x02, 0x00, 0x50, 0xe3, 
+0x03, 0x20, 0x82, 0xe0, 0x17, 0x50, 0x42, 0xe2, 0x0e, 0x00, 0x00, 0x1a, 0x01, 0x03, 0x11, 0xe3, 0xa4, 0x40, 0x8f, 0x12, 
+0x11, 0x00, 0x00, 0x1a, 0x82, 0x03, 0x11, 0xe3, 0xac, 0x40, 0x8f, 0x12, 0x0e, 0x00, 0x00, 0x1a, 0x01, 0x02, 0x11, 0xe3, 
+0xb0, 0x40, 0x8f, 0x12, 0x0b, 0x00, 0x00, 0x1a, 0x02, 0x02, 0x11, 0xe3, 0xb0, 0x40, 0x8f, 0x12, 0x08, 0x00, 0x00, 0x1a, 
+0x01, 0x01, 0x11, 0xe3, 0xb0, 0x40, 0x8f, 0x12, 0x05, 0x00, 0x00, 0xea, 0x08, 0x00, 0x50, 0xe3, 0x01, 0x40, 0xa0, 0x01, 
+0x02, 0x00, 0x00, 0x0a, 0x09, 0x00, 0x50, 0xe3, 0x01, 0x00, 0x51, 0x03, 0xa4, 0x50, 0x8f, 0x02, 0x0a, 0x00, 0xa0, 0xe3, 
+0x00, 0x00, 0x00, 0xea, 0x01, 0x50, 0x85, 0xe2, 0x2b, 0x00, 0x00, 0xeb, 0x00, 0x00, 0xd5, 0xe5, 0x00, 0x00, 0x50, 0xe3, 
+0xfa, 0xff, 0xff, 0x1a, 0x01, 0x00, 0x00, 0xea, 0x01, 0x40, 0x84, 0xe2, 0x25, 0x00, 0x00, 0xeb, 0x00, 0x00, 0xd4, 0xe5, 
+0x00, 0x00, 0x50, 0xe3, 0xfa, 0xff, 0xff, 0x1a, 0x0a, 0x00, 0xa0, 0xe3, 0x20, 0x00, 0x00, 0xeb, 0x01, 0x00, 0xa0, 0xe3, 
+0x70, 0x80, 0xbd, 0xe8, 0x00, 0x00, 0x00, 0x00, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x20, 0x73, 0x69, 0x67, 0x6e, 
+0x61, 0x6c, 0x00, 0x00, 0x88, 0x01, 0x00, 0x00, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x20, 0x4f, 0x70, 0x65, 0x72, 
+0x61, 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x00, 0x00, 0x44, 0x69, 0x76, 0x69, 0x64, 0x65, 0x20, 0x42, 0x79, 0x20, 0x5a, 0x65, 
+0x72, 0x6f, 0x00, 0x00, 0x4f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x00, 0x00, 0x00, 0x00, 0x55, 0x6e, 0x64, 0x65, 
+0x72, 0x66, 0x6c, 0x6f, 0x77, 0x00, 0x00, 0x00, 0x49, 0x6e, 0x65, 0x78, 0x61, 0x63, 0x74, 0x20, 0x52, 0x65, 0x73, 0x75, 
+0x6c, 0x74, 0x00, 0x00, 0x3a, 0x20, 0x48, 0x65, 0x61, 0x70, 0x20, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x20, 0x63, 0x6f, 
+0x72, 0x72, 0x75, 0x70, 0x74, 0x65, 0x64, 0x00, 0x08, 0x40, 0x2d, 0xe9, 0x0d, 0x10, 0xa0, 0xe1, 0x00, 0x00, 0x8d, 0xe5, 
+0x03, 0x00, 0xa0, 0xe3, 0x56, 0x34, 0x12, 0xef, 0x00, 0x90, 0xbd, 0xe8, 0x13, 0x0a, 0xa0, 0xe3, 0xd1, 0xf0, 0x21, 0xe3, 
+0x00, 0xd0, 0x40, 0xe2, 0xd2, 0xf0, 0x21, 0xe3, 0x01, 0xdc, 0x40, 0xe2, 0xd7, 0xf0, 0x21, 0xe3, 0x02, 0xdc, 0x40, 0xe2, 
+0xdb, 0xf0, 0x21, 0xe3, 0x03, 0xdc, 0x40, 0xe2, 0xd3, 0xf0, 0x21, 0xe3, 0x01, 0x1b, 0x40, 0xe2, 0x00, 0x00, 0x9f, 0xe5, 
+0x0e, 0xf0, 0xa0, 0xe1, 0x68, 0x1d, 0x00, 0x00, 0x1e, 0xff, 0x2f, 0xe1, 0x10, 0x40, 0x2d, 0xe9, 0x91, 0xff, 0xff, 0xeb, 
+0x00, 0x10, 0xa0, 0xe3, 0x00, 0x10, 0x80, 0xe5, 0x10, 0x80, 0xbd, 0xe8, 0x41, 0x62, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 
+0x20, 0x74, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x00, 0x00, 0x41, 0x72, 0x69, 0x74, 0x68, 
+0x6d, 0x65, 0x74, 0x69, 0x63, 0x20, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x00, 0x49, 0x6c, 
+0x6c, 0x65, 0x67, 0x61, 0x6c, 0x20, 0x69, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x00, 0x00, 
+0x00, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x20, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x00, 
+0x00, 0x00, 0x00, 0x00, 0x49, 0x6c, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x20, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x00, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x72, 
+0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x00, 0x00, 0x00, 0x00, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x20, 0x6f, 0x76, 0x65, 0x72, 
+0x66, 0x6c, 0x6f, 0x77, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 
+0x74, 0x3a, 0x20, 0x63, 0x61, 0x6e, 0x27, 0x74, 0x20, 0x6f, 0x70, 0x65, 0x6e, 0x3a, 0x20, 0x00, 0x4f, 0x75, 0x74, 0x20, 
+0x6f, 0x66, 0x20, 0x68, 0x65, 0x61, 0x70, 0x20, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 
+0x73, 0x65, 0x72, 0x2d, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x20, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x20, 0x31, 
+0x00, 0x00, 0x55, 0x73, 0x65, 0x72, 0x2d, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x20, 0x73, 0x69, 0x67, 0x6e, 0x61, 
+0x6c, 0x20, 0x32, 0x00, 0x00, 0x50, 0x75, 0x72, 0x65, 0x20, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x20, 0x66, 0x6e, 
+0x20, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x00, 0x43, 0x2b, 0x2b, 0x20, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x20, 
+0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x00, 0x00, 0x4f, 0x75, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x68, 0x65, 
+0x61, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x1d, 0x00, 0x00, 
+0x08, 0x1d, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x30, 0x01, 0x00, 0x00};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/h263_dec_fw.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/h263_dec_fw.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/h263_dec_fw.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/h263_dec_fw.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,259 @@
+/*
+ * drivers/media/video/samsung/mfc40/h263_dec_fw.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+
+const unsigned char h263_dec_mc_fw[9672] = {
+0xea, 0x00, 0x00, 0x31, 0xea, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x0b, 0xea, 0x00, 0x00, 0x10, 0xea, 0x00, 0x00, 0x15, 0xea, 0xff, 0xff, 0xfe, 0xea, 0x00, 0x00, 0x19, 0xea, 0x00, 0x00, 0x1e, 0xea, 0x00, 0x00, 0x23, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0xa0, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x8c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x78, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x64, 
+0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x50, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x3c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x28, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xeb, 0x00, 0x00, 0x07, 0xea, 0xff, 0xff, 0xfe, 0x00, 0x07, 0xff, 0x04, 0x00, 0x07, 0xff, 0x08, 0x00, 0x07, 0xff, 0x0c, 0x00, 0x07, 0xff, 0x10, 0x00, 0x07, 0xff, 0x18, 0x00, 0x07, 0xff, 0x1c, 0x00, 0x07, 0xff, 0x20, 
+0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x07, 0x2a, 0xe5, 0x9f, 0x30, 0x04, 0xe0, 0x8f, 0x30, 0x03, 0xe1, 0xa0, 0xf0, 0x03, 0x00, 0x00, 0x23, 0x20, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 
+0xeb, 0x00, 0x03, 0x6d, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfe, 0xe1, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x10, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x82, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x1c, 0xe1, 0x2f, 0xff, 0x1e, 
+0xe1, 0xa0, 0x10, 0x00, 0xe2, 0x41, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x2f, 0xca, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x06, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0x51, 0x00, 0x62, 0xca, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x07, 0xea, 0xff, 0xff, 0xfa, 
+0xe3, 0x51, 0x0f, 0x63, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x09, 0xea, 0xff, 0xff, 0xf6, 0xe3, 0x51, 0x0e, 0x63, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0b, 0xea, 0xff, 0xff, 0xf2, 0xe3, 0x51, 0x0d, 0x63, 0xaa, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x0d, 0xea, 0xff, 0xff, 0xee, 0xe3, 0x51, 0x0b, 0x09, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0e, 0xea, 0xff, 0xff, 0xea, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xe8, 0xe9, 0x2d, 0x40, 0x10, 0xea, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x06, 0x7b, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0x00, 0x06, 0x6b, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xf8, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x4f, 0xf1, 
+0xe2, 0x4d, 0xd0, 0x08, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x00, 0x5c, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x00, 0x5c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x02, 0x43, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x60, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x04, 0xe5, 0x81, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x20, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x24, 0xe5, 0x81, 0x00, 0x24, 0xe3, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x10, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x5c, 0xe2, 0x60, 0x00, 0x08, 0xe5, 0x8d, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x06, 0x43, 0xe5, 0x9d, 0x00, 0x04, 0xe2, 0x40, 0x00, 0x01, 
+0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf7, 0xeb, 0xff, 0xff, 0xbc, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0x00, 0x03, 0x3a, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0x58, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x8f, 0xfe, 0xe5, 0x9d, 0x10, 0x08, 0xe2, 0x81, 0x10, 0x4c, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x07, 0x81, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x00, 0x4c, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x18, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x50, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x1c, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x60, 0xe3, 0xa0, 0x18, 0x55, 
+0xe5, 0x81, 0x01, 0x90, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x10, 0x08, 0xe2, 0x81, 0x00, 0x64, 0xe7, 0x90, 0x01, 0x04, 0xe3, 0xa0, 0x18, 0x55, 0xe2, 0x81, 0x1c, 0x02, 0xe7, 0x81, 0x01, 0x04, 0xe2, 0x84, 0x40, 0x01, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x54, 0xe1, 0x50, 0x00, 0x04, 0xca, 0xff, 0xff, 0xf4, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x10, 0x08, 0xe2, 0x81, 0x00, 0xb4, 0xe7, 0x90, 0x01, 0x04, 0xe3, 0xa0, 0x18, 0x55, 
+0xe2, 0x81, 0x1d, 0x0a, 0xe7, 0x81, 0x01, 0x04, 0xe2, 0x84, 0x40, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x54, 0xe1, 0x50, 0x00, 0x04, 0xca, 0xff, 0xff, 0xf4, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x04, 0xe5, 0x81, 0x01, 0x5c, 
+0xe5, 0x9d, 0x10, 0x08, 0xe2, 0x81, 0x10, 0x4c, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x05, 0x81, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x14, 0xe1, 0x80, 0x0c, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x18, 0xe1, 0x80, 0x0c, 0x81, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x20, 0xe1, 0x80, 0x0d, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x24, 0xe1, 0x80, 0x0d, 0x81, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x28, 0xe1, 0x80, 0x0e, 0x01, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x10, 0x2c, 0xe1, 0x80, 0x0e, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x44, 0xe5, 0x91, 0x10, 0x40, 0xe1, 0x80, 0x04, 0x01, 0xe3, 0x80, 0x0c, 0x02, 0xe3, 0xa0, 0x18, 0x56, 
+0xe5, 0x81, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x5c, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x38, 0xe1, 0xa0, 0x01, 0x00, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x0c, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x58, 0xe1, 0xa0, 0x08, 0x00, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x10, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x5c, 0xe5, 0x81, 0x01, 0x58, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x20, 0xe3, 0xa0, 0x10, 0x02, 0xe1, 0x81, 0x01, 0x80, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x2c, 0xe1, 0x80, 0x02, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x81, 0x00, 0xdc, 0xe5, 0x9f, 0x0a, 0xb0, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9f, 0x0a, 0x78, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x02, 0xe7, 0x81, 0x01, 0x04, 0xe2, 0x84, 0x40, 0x01, 0xe3, 0x54, 0x00, 0x28, 0xba, 0xff, 0xff, 0xf9, 0xe2, 0x8b, 0xb0, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 
+0xe3, 0x5b, 0x00, 0x02, 0xba, 0xff, 0xff, 0xe6, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 0xe5, 0x9d, 0x10, 0x08, 0xe2, 0x81, 0x10, 0x4c, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x05, 0x81, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x14, 0xe1, 0x80, 0x0c, 0x01, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x18, 0xe1, 0x80, 0x0c, 0x81, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x20, 0xe1, 0x80, 0x0d, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x24, 0xe1, 0x80, 0x0d, 0x81, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x10, 0x28, 0xe1, 0x80, 0x0e, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x2c, 0xe1, 0x80, 0x0e, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x60, 0x00, 
+0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0xa0, 0x00, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0xdb, 0xe3, 0x56, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x18, 0xea, 0x00, 0x00, 0x11, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0x00, 0x05, 0x6d, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x10, 0xeb, 0x00, 0x05, 0x69, 0xe5, 0x8d, 0x00, 0x04, 0xea, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xb8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0xff, 
+0xe5, 0x8d, 0x00, 0x04, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x05, 0x6b, 0xe5, 0x8d, 0x00, 0x04, 0xea, 0xff, 0xff, 0xec, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0xff, 0x1a, 0x00, 0x00, 0x03, 
+0xea, 0x00, 0x00, 0xc1, 0xe3, 0xa0, 0x00, 0x10, 0xeb, 0x00, 0x05, 0x55, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x91, 0xeb, 0xff, 0xfe, 0xdd, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0x21, 0xe3, 0xa0, 0x00, 0x16, 0xeb, 0x00, 0x05, 0x48, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x3f, 0x0a, 0x00, 0x00, 0x02, 
+0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0xaa, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0x00, 0x05, 0x4b, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x58, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x15, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x05, 0x44, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x54, 0xeb, 0xff, 0xfe, 0xa4, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xeb, 0x00, 0x05, 0x3d, 
+0xe1, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x05, 0x3a, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x05, 0x36, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x05, 0x33, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x00, 0x0c, 0xea, 0x00, 0x00, 0x31, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x05, 0x2e, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x05, 0x2b, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x00, 0x0c, 
+0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x05, 0x27, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x0c, 0xe5, 0x91, 0x10, 0x08, 0xe1, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x19, 0xe3, 0x5a, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x17, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x00, 0x44, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x00, 0x44, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x44, 0xe5, 0x91, 0x10, 0x40, 0xe1, 0x80, 0x04, 0x01, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x10, 0x34, 0xe1, 0x80, 0x04, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0xa0, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x0c, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x00, 0x4c, 0xe1, 0xa0, 0x02, 0x40, 0xe0, 0x07, 0x00, 0x98, 0xe3, 0x56, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x15, 0xea, 0x00, 0x00, 0x11, 0xe1, 0x55, 0x00, 0x07, 0xba, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x0f, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 
+0xe5, 0x81, 0x00, 0xa4, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe2, 0x85, 0x50, 0x01, 0xea, 0xff, 0xff, 0xec, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0xa0, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x56, 
+0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x50, 0x10, 0xe1, 0xa0, 0x10, 0x05, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0x00, 0x03, 0x3f, 0xe1, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x90, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x60, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x81, 0x00, 0xa4, 0xe3, 0xa0, 0x00, 0x40, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe1, 0x55, 0x00, 0x07, 
+0x1a, 0x00, 0x00, 0x05, 0xe3, 0x59, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe0, 0x85, 0x50, 0x09, 0xe0, 0x87, 0x70, 0x09, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x54, 
+0xe1, 0x50, 0x00, 0x05, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0x22, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x56, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x16, 0xea, 0x00, 0x00, 0x13, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x54, 0xe1, 0x50, 0x00, 0x05, 
+0xca, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x81, 0x00, 0xa4, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe2, 0x85, 0x50, 0x01, 0xea, 0xff, 0xff, 0xea, 
+0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x3c, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x00, 
+0xe2, 0x80, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x00, 0x10, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x5c, 0xe2, 0x81, 0x10, 0x64, 0xe7, 0x91, 0x01, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x00, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x01, 0x5c, 0xe2, 0x81, 0x10, 0xb4, 0xe7, 0x91, 0x01, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe1, 0xa0, 0x01, 0xa0, 0xe5, 0x81, 0x0c, 0x08, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x81, 0x04, 0x08, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x11, 0xe5, 0x9d, 0x10, 0x08, 0xe2, 0x81, 0x0f, 0x41, 0xe2, 0x84, 0x10, 0x01, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe2, 0x81, 0x1f, 0x41, 
+0xe7, 0x81, 0x01, 0x04, 0xe5, 0x9d, 0x10, 0x08, 0xe2, 0x81, 0x0f, 0x41, 0xe7, 0x90, 0x01, 0x04, 0xe3, 0x70, 0x01, 0x06, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x5c, 0xe2, 0x81, 0x1f, 0x41, 0xe7, 0x81, 0x01, 0x04, 
+0xea, 0x00, 0x00, 0x02, 0xe2, 0x84, 0x40, 0x01, 0xe3, 0x54, 0x00, 0x13, 0xba, 0xff, 0xff, 0xeb, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x0c, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x0e, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x00, 0x5c, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x05, 0x0c, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xfd, 0xec, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x04, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 
+0xe3, 0x50, 0x0f, 0xfa, 0xba, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x00, 0x03, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x05, 0x10, 0xe3, 0xa0, 0x00, 0x02, 0xea, 0xff, 0xfd, 0xdc, 0xe9, 0x2d, 0x47, 0xf0, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x76, 0x05, 0xe5, 0x97, 0x71, 0x2c, 0xe3, 0x57, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x76, 0x05, 0xe5, 0x97, 0x7d, 0x04, 
+0xe2, 0x87, 0x70, 0x02, 0xe5, 0x80, 0x71, 0x54, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x90, 0x71, 0x54, 0xe1, 0x57, 0x00, 0x01, 0xda, 0x00, 0x00, 0x02, 0xe2, 0x80, 0x7f, 0x41, 0xe7, 0x87, 0x11, 0x01, 0xea, 0x00, 0x00, 0x02, 
+0xe3, 0xe0, 0x71, 0x02, 0xe2, 0x80, 0x8f, 0x41, 0xe7, 0x88, 0x71, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x14, 0xba, 0xff, 0xff, 0xf3, 0xe3, 0xa0, 0x76, 0x05, 0xe5, 0x97, 0x72, 0x34, 0xe5, 0x80, 0x71, 0x60, 0xe3, 0xa0, 0x76, 0x05, 
+0xe5, 0x97, 0x29, 0x00, 0xe5, 0x97, 0x76, 0x00, 0xe5, 0x80, 0x70, 0x60, 0xe5, 0x90, 0x50, 0x4c, 0xe5, 0x90, 0x40, 0x50, 0xe5, 0x90, 0x70, 0x60, 0xe3, 0x17, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x14, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x03, 
+0xe2, 0x80, 0x70, 0x64, 0xe7, 0x87, 0x21, 0x01, 0xe0, 0x22, 0x25, 0x94, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x71, 0x54, 0xe1, 0x57, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf8, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe2, 0x80, 0x70, 0xb4, 
+0xe7, 0x87, 0x21, 0x01, 0xe0, 0x07, 0x05, 0x94, 0xe0, 0x87, 0x8f, 0xa7, 0xe0, 0x82, 0x20, 0xc8, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x71, 0x54, 0xe1, 0x57, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf6, 0xea, 0x00, 0x00, 0x42, 0xe1, 0xa0, 0x26, 0xc2, 
+0xe3, 0xa0, 0x30, 0x00, 0xea, 0x00, 0x00, 0x3d, 0xe2, 0x45, 0xc0, 0x01, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x44, 0x70, 0x01, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x70, 0x01, 0xe0, 0x67, 0x70, 0xc4, 0xe1, 0xa0, 0xe0, 0x07, 
+0xe1, 0xa0, 0x80, 0x0c, 0xe1, 0xa0, 0xaf, 0xcc, 0xe0, 0x8c, 0xae, 0x2a, 0xe1, 0xa0, 0x72, 0x4a, 0xe1, 0xa0, 0xaf, 0xc7, 0xe0, 0x87, 0xae, 0xaa, 0xe1, 0xa0, 0xa1, 0xca, 0xe2, 0x8a, 0x60, 0x01, 0xe1, 0xa0, 0x80, 0x0e, 0xe1, 0xa0, 0xaf, 0xce, 
+0xe0, 0x8e, 0xae, 0x2a, 0xe1, 0xa0, 0x72, 0x4a, 0xe1, 0xa0, 0xaf, 0xc7, 0xe0, 0x87, 0xaf, 0x2a, 0xe1, 0xa0, 0xa1, 0x4a, 0xe2, 0x8a, 0x90, 0x01, 0xe3, 0x1e, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x14, 0xe3, 0xa0, 0x70, 0x7f, 0xe0, 0x07, 0xc4, 0x4c, 
+0xe1, 0x87, 0x71, 0x07, 0xe0, 0x07, 0xe3, 0x4e, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x0a, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe2, 0x80, 0x70, 0x64, 0xe7, 0x87, 0x21, 0x01, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x80, 0x70, 0xb4, 
+0xe7, 0x87, 0x21, 0x01, 0xe0, 0x27, 0xce, 0x96, 0xe2, 0x87, 0x70, 0x01, 0xe0, 0x87, 0x20, 0x02, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x71, 0x54, 0xe1, 0x57, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf1, 0xea, 0x00, 0x00, 0x0d, 0xe3, 0xa0, 0x10, 0x00, 
+0xea, 0x00, 0x00, 0x08, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe2, 0x80, 0x70, 0x64, 0xe7, 0x87, 0x21, 0x01, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x80, 0x70, 0xb4, 0xe7, 0x87, 0x21, 0x01, 0xe0, 0x22, 0x26, 0x99, 0xe2, 0x81, 0x10, 0x01, 
+0xe5, 0x90, 0x71, 0x54, 0xe1, 0x57, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf3, 0xe2, 0x83, 0x30, 0x01, 0xe3, 0x53, 0x00, 0x02, 0xba, 0xff, 0xff, 0xbf, 0xe8, 0xbd, 0x87, 0xf0, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x04, 
+0xe5, 0x80, 0x10, 0x08, 0xe5, 0x80, 0x10, 0x0c, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x80, 0x10, 0x10, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x14, 0xe5, 0x80, 0x10, 0x18, 0xe5, 0x80, 0x10, 0x1c, 0xe5, 0x80, 0x10, 0x20, 0xe5, 0x80, 0x10, 0x24, 
+0xe5, 0x80, 0x10, 0x28, 0xe5, 0x80, 0x10, 0x2c, 0xe5, 0x80, 0x10, 0x30, 0xe5, 0x80, 0x10, 0x34, 0xe5, 0x80, 0x10, 0x38, 0xe5, 0x80, 0x10, 0x3c, 0xe5, 0x80, 0x10, 0x40, 0xe5, 0x80, 0x10, 0x44, 0xe5, 0x80, 0x10, 0x48, 0xe5, 0x80, 0x10, 0x4c, 
+0xe5, 0x80, 0x10, 0x50, 0xe5, 0x80, 0x10, 0x54, 0xe5, 0x80, 0x11, 0x5c, 0xe5, 0x80, 0x11, 0x58, 0xe5, 0x80, 0x10, 0x58, 0xe5, 0x80, 0x10, 0x5c, 0xe5, 0x80, 0x10, 0x60, 0xe5, 0x80, 0x11, 0x60, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x70, 
+0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xd8, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x02, 
+0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x10, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x5c, 
+0xe2, 0x60, 0x50, 0x08, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x03, 0x59, 0xe2, 0x45, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xeb, 0xff, 0xfc, 0xd5, 0xe1, 0xa0, 0x50, 0x00, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0x00, 0x00, 0x53, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x0c, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x04, 
+0xe5, 0x94, 0x00, 0x4c, 0xe5, 0x81, 0x01, 0x18, 0xe5, 0x94, 0x00, 0x50, 0xe5, 0x81, 0x01, 0x1c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x04, 0x0c, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x2e, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 
+0xe3, 0xa0, 0x0f, 0x59, 0xeb, 0x00, 0x03, 0x8a, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xd0, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x2c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xb4, 0xea, 0x00, 0x00, 0x07, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0xaf, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x55, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 
+0xe3, 0x55, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf6, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0x00, 0x00, 0x80, 0x20, 0xe9, 0x2d, 0x47, 0xf0, 0xe1, 0xa0, 0x50, 0x00, 
+0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfc, 0x79, 0xe1, 0xa0, 0x60, 0x00, 0xe2, 0x86, 0x00, 0x02, 0xeb, 0x00, 0x03, 0x05, 0xe1, 0xa0, 0x40, 0x00, 0xe2, 0x86, 0x00, 0x01, 0xe1, 0xa0, 0x80, 0x54, 0xe2, 0x66, 0x00, 0x20, 0xe2, 0x80, 0x00, 0x01, 
+0xe1, 0xa0, 0x00, 0x14, 0xe2, 0x66, 0x10, 0x20, 0xe2, 0x81, 0x10, 0x02, 0xe1, 0xa0, 0x71, 0x50, 0xe2, 0x04, 0x90, 0x01, 0xe3, 0x58, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0x59, 0x00, 0x01, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x87, 0xf0, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xfc, 0xe9, 0x2d, 0x4f, 0xf1, 0xe2, 0x4d, 0xd0, 0x38, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0xb0, 0x00, 0xe3, 0xa0, 0x70, 0x00, 
+0xe3, 0xa0, 0xa0, 0x00, 0xe3, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x20, 0x1c, 0xe5, 0x9f, 0x15, 0x58, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x1c, 0xeb, 0x00, 0x03, 0x45, 0xe3, 0xa0, 0x20, 0x1c, 0xe5, 0x9f, 0x15, 0x48, 
+0xe0, 0x8f, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0x00, 0x03, 0x40, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0x00, 0x02, 0xea, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x02, 0xe7, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0x54, 0x00, 0x1f, 
+0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x3c, 0xe8, 0xbd, 0x8f, 0xf0, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x01, 0x3f, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x02, 0xdc, 0xe1, 0xa0, 0x50, 0x00, 
+0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x02, 0xd9, 0xe1, 0xa0, 0xb0, 0x00, 0xe2, 0x0b, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x07, 0x1a, 0x00, 0x00, 0xce, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x40, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x02, 0xcc, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0x56, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x2b, 0xe3, 0xa0, 0x00, 0x12, 0xeb, 0x00, 0x02, 0xc7, 
+0xe1, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x00, 0x07, 0xe0, 0x00, 0x07, 0xc7, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x3c, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x06, 0xc7, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x01, 
+0xe0, 0x00, 0x05, 0xc7, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x05, 0x47, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x20, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x04, 0xc7, 0xe5, 0x9d, 0x10, 0x38, 
+0xe5, 0x81, 0x00, 0x24, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x04, 0x47, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x28, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x02, 0xc7, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x30, 0xe3, 0xa0, 0x00, 0x01, 
+0xe0, 0x00, 0x02, 0x47, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x2c, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x1c, 0xe3, 0x56, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0f, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x04, 
+0xe5, 0x81, 0x00, 0x3c, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0x00, 0x02, 0x92, 0xe1, 0xa0, 0xa0, 0x00, 0xe3, 0xa0, 0x00, 0x07, 0xe0, 0x00, 0x03, 0x4a, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x44, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x01, 0xca, 
+0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x38, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x02, 0x87, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x1a, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x06, 
+0x1a, 0x00, 0x00, 0x16, 0xe3, 0xa0, 0x00, 0x17, 0xeb, 0x00, 0x02, 0x7e, 0xe1, 0xa0, 0x90, 0x00, 0xe5, 0x9f, 0x03, 0x80, 0xe0, 0x00, 0x05, 0x49, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0xa0, 0x01, 0x00, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x4c, 
+0xe1, 0xa0, 0x0b, 0x89, 0xe1, 0xa0, 0x0a, 0xa0, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x50, 0xe3, 0xa0, 0x00, 0x0f, 0xe0, 0x00, 0x09, 0xc9, 0xe3, 0x50, 0x00, 0x0f, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x02, 0x6d, 
+0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x02, 0x6a, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x06, 0x0a, 0x00, 0x00, 0x09, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x3c, 
+0xe2, 0x8d, 0x10, 0x1c, 0xe7, 0x91, 0x01, 0x00, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x3c, 0xe7, 0x9d, 0x01, 0x00, 0xe5, 0x81, 0x00, 0x50, 0xe3, 0x17, 0x09, 0x01, 0x0a, 0x00, 0x00, 0x07, 
+0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x02, 0x55, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x02, 0x52, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x10, 
+0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x1c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x02, 0x49, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x38, 
+0xe5, 0x81, 0x00, 0x34, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x02, 0x41, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x34, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x10, 0x38, 
+0xe5, 0x91, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x02, 0x36, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x07, 
+0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x05, 0x1a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x02, 0x27, 
+0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x02, 0x22, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x17, 0x00, 0x80, 0x0a, 0x00, 0x00, 0x17, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x02, 0x1b, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x02, 0x18, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x55, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x02, 0x13, 
+0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x02, 0x03, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x02, 0x0c, 0xe1, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 
+0xeb, 0x00, 0x02, 0x08, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x02, 0x05, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x48, 0xea, 0x00, 0x00, 0x22, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x40, 
+0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x3c, 0xe2, 0x8d, 0x10, 0x1c, 0xe7, 0x91, 0x01, 0x00, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x3c, 0xe7, 0x9d, 0x01, 0x00, 0xe5, 0x81, 0x00, 0x50, 
+0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x01, 0xf3, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x02, 0x48, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x44, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x01, 0xc8, 0xe5, 0x9d, 0x10, 0x38, 
+0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x00, 0xc8, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x01, 0xe4, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0x00, 0x01, 0xe0, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x18, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0b, 0xe3, 0x17, 0x09, 0x01, 0x0a, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x01, 0xd5, 0xe1, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x01, 0xd1, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x01, 0xce, 0xe1, 0xa0, 0x50, 0x00, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0xcb, 0xe1, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0x00, 0x01, 0xc7, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x15, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfa, 0xe5, 0x9d, 0x10, 0x38, 
+0xe2, 0x81, 0x10, 0x4c, 0xe8, 0x91, 0x00, 0x03, 0xe0, 0x00, 0x00, 0x91, 0xe1, 0xa0, 0x04, 0x40, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x54, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 
+0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x54, 0xeb, 0xff, 0xfe, 0x9c, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x81, 0x00, 0x58, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x38, 
+0xe5, 0x91, 0x00, 0x58, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0xaa, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x10, 0x38, 0xe5, 0x91, 0x00, 0x54, 0xeb, 0xff, 0xfb, 0x0a, 0xe1, 0xa0, 0x50, 0x00, 
+0xe1, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x01, 0xa3, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0xa0, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x84, 0x00, 0x01, 0xea, 0xff, 0xfe, 0xb9, 0x00, 0x00, 0x14, 0x30, 0x00, 0x00, 0x14, 0x38, 
+0x00, 0x00, 0x01, 0xff, 0xe9, 0x2d, 0x40, 0x70, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x97, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x91, 
+0xe2, 0x80, 0x40, 0x02, 0xea, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x40, 0x84, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x8c, 0xe0, 0x80, 0x40, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x89, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf7, 
+0xe2, 0x04, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0xc4, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xea, 0xff, 0xff, 0xec, 0xe2, 0x64, 0x00, 0x00, 0xea, 0xff, 0xff, 0xea, 0xe9, 0x2d, 0x4f, 0xf3, 0xe2, 0x4d, 0xd0, 0x1c, 
+0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0xb0, 0x00, 0xe3, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe5, 0x9f, 0x15, 0x70, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x04, 0xe8, 0x91, 0x00, 0x5c, 0xe8, 0x80, 0x00, 0x5c, 
+0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x6d, 0xe1, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0x54, 0x00, 0x00, 
+0x1a, 0x00, 0x01, 0x2c, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfa, 0xb5, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xfa, 0xb1, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x07, 0xe5, 0x9d, 0x20, 0x14, 0xe0, 0x00, 0x52, 0x42, 0xe3, 0x55, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x24, 0xe8, 0xbd, 0x8f, 0xf0, 
+0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0f, 0xe3, 0x55, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x3e, 
+0xe1, 0xa0, 0x70, 0x00, 0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x46, 0xe1, 0xa0, 0x70, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x01, 0x42, 0xe1, 0xa0, 0x70, 0x00, 
+0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x00, 0x14, 0xe2, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x60, 0x01, 0xea, 0x00, 0x00, 0x00, 
+0xe3, 0xa0, 0x60, 0x00, 0xe3, 0x55, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x55, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x56, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xfa, 0x81, 0xe1, 0xa0, 0x60, 0x00, 
+0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfa, 0x7d, 0xe1, 0xa0, 0x60, 0x00, 0xe5, 0x9d, 0x00, 0x14, 0xe2, 0x00, 0x00, 0x03, 0xe1, 0x80, 0xb1, 0x06, 0xe3, 0x55, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x55, 0x00, 0x04, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x05, 0x1a, 0x00, 0x00, 0xa0, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x01, 0x1a, 0xe5, 0x8d, 0x00, 0x14, 
+0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe2, 0x8d, 0x10, 0x04, 0xe5, 0x9d, 0x20, 0x14, 0xe7, 0x91, 0x11, 0x02, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x81, 0x00, 0x48, 0xea, 0x00, 0x00, 0x72, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0x00, 0x01, 0x0e, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x68, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x08, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xe1, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x54, 
+0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x02, 0xba, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x0a, 0xca, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x44, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x0b, 0xba, 0x00, 0x00, 0x0b, 
+0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x14, 0xca, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x02, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x01, 
+0xe1, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x34, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x15, 0xba, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x1c, 0xca, 0x00, 0x00, 0x07, 
+0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x03, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x02, 0xe1, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x24, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 
+0xe3, 0x50, 0x00, 0x1d, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x02, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x02, 0xe1, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x18, 
+0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x1e, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x02, 
+0xe1, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x0c, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x1f, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x04, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x02, 0xe1, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe0, 0x80, 0x00, 0x06, 0xe5, 0x81, 0x00, 0x48, 0xea, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x00, 0x9f, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x81, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x1f, 0xca, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 
+0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x15, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 
+0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x01, 
+0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x81, 0x00, 0x48, 0xe3, 0x55, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x55, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x55, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x01, 
+0xe3, 0x55, 0x00, 0x05, 0x1a, 0x00, 0x00, 0x32, 0xe3, 0x55, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x05, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x60, 0x04, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x60, 0x01, 0xe3, 0xa0, 0x20, 0x00, 
+0xe5, 0x8d, 0x20, 0x18, 0xea, 0x00, 0x00, 0x25, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x40, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0e, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x1c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 
+0xeb, 0xff, 0xfe, 0xc9, 0xe1, 0xa0, 0x90, 0x00, 0xeb, 0xff, 0xfe, 0xc7, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0x59, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 0xe3, 0x58, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x00, 0x5b, 
+0xea, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf9, 0xab, 0xe1, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf9, 0xa8, 0xe1, 0xa0, 0x80, 0x00, 0xe1, 0xa0, 0x09, 0x88, 0xe1, 0xa0, 0x09, 0xa0, 0xe5, 0x8d, 0x00, 0x14, 
+0xe1, 0xa0, 0x08, 0x89, 0xe1, 0xa0, 0x08, 0xa0, 0xe1, 0x80, 0x07, 0x88, 0xe3, 0xa0, 0x16, 0x02, 0xe2, 0x81, 0x10, 0x20, 0xe5, 0x9d, 0x20, 0x18, 0xe7, 0x81, 0x01, 0x02, 0xe5, 0x9d, 0x20, 0x18, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x18, 
+0xe5, 0x9d, 0x20, 0x18, 0xe1, 0x52, 0x00, 0x06, 0xba, 0xff, 0xff, 0xd6, 0xe3, 0x55, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0xa0, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0xa0, 0x00, 0xe3, 0x55, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x05, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x8d, 0x00, 0x14, 0xe3, 0x57, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x70, 0x01, 0xe1, 0xa0, 0x03, 0x0a, 0xe1, 0x80, 0x04, 0x84, 0xe1, 0x80, 0x05, 0x04, 0xe5, 0x9d, 0x20, 0x14, 0xe1, 0x80, 0x0a, 0x02, 0xe3, 0xa0, 0x16, 0x02, 
+0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x91, 0x00, 0x48, 0xe1, 0xa0, 0x07, 0x00, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe1, 0xa0, 0x0c, 0x07, 0xe5, 0x81, 0x00, 0x10, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 
+0xe1, 0xa0, 0x10, 0x0b, 0xe1, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xfe, 0xc2, 0x00, 0x00, 0x0e, 0x74, 0xe1, 0x80, 0x20, 0x81, 0xe3, 0xa0, 0x38, 0x52, 0xe5, 0x83, 0x20, 0x58, 0xe3, 0xa0, 0x20, 0x10, 
+0xe5, 0x83, 0x20, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x92, 0x20, 0x20, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0x2f, 0xff, 0x1e, 0xe1, 0xa0, 0x10, 0x00, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x10, 0x3c, 
+0xe5, 0x90, 0x00, 0x28, 0xe1, 0x2f, 0xff, 0x1e, 0xe1, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x92, 0x20, 0x34, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x82, 0x10, 0x3c, 0xe5, 0x92, 0x00, 0x28, 0xe3, 0xa0, 0x20, 0x01, 0xe3, 0xa0, 0x38, 0x52, 0xe5, 0x83, 0x20, 0x38, 0xe1, 0x2f, 0xff, 0x1e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x01, 0xe2, 0x4d, 0xd0, 0x08, 0xe2, 0x8d, 0x10, 0x04, 0xeb, 0x00, 0x00, 0xbe, 0xe3, 0x50, 0x00, 0x00, 0x02, 0x8d, 0xd0, 0x08, 0x08, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 
+0xe5, 0x9d, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0xa1, 0xe2, 0x8d, 0xd0, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x01, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0x00, 0x00, 0x5e, 
+0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x40, 0x01, 0xe5, 0x2d, 0x30, 0x04, 0xeb, 0x00, 0x00, 0x64, 0xe1, 0xa0, 0x60, 0x00, 0xe0, 0x85, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 
+0x9a, 0x00, 0x00, 0x0a, 0xe1, 0xa0, 0x10, 0x0d, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x00, 0xa2, 0xe1, 0xb0, 0x70, 0x00, 0x03, 0xa0, 0x10, 0x00, 0x03, 0xa0, 0x00, 0x09, 0x0b, 0x00, 0x00, 0x4c, 0xe5, 0x9d, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 
+0x11, 0xa0, 0x50, 0x00, 0xe0, 0x80, 0x40, 0x07, 0xeb, 0x00, 0x00, 0x31, 0xe2, 0x86, 0x10, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0xa0, 0x70, 0x00, 0xe5, 0x80, 0x50, 0x08, 0xe1, 0xa0, 0x00, 0x05, 0xe0, 0x81, 0x60, 0x05, 0xeb, 0x00, 0x00, 0x48, 
+0xe1, 0x54, 0x00, 0x06, 0x08, 0xbd, 0x00, 0xf8, 0x04, 0x9d, 0xf0, 0x04, 0xe1, 0xa0, 0x10, 0x06, 0xe0, 0x44, 0x20, 0x06, 0xe5, 0x97, 0x00, 0x08, 0xeb, 0x00, 0x00, 0x75, 0xe8, 0xbd, 0x00, 0xf8, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x10, 
+0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x00, 0x1e, 0xe1, 0xa0, 0x10, 0x04, 0xe5, 0x90, 0x00, 0x08, 0xeb, 0x00, 0x00, 0x40, 0xe8, 0xbd, 0x80, 0x10, 0xe2, 0x52, 0x20, 0x20, 0xe9, 0x2d, 0x40, 0x10, 0x3a, 0x00, 0x00, 0x05, 0x28, 0xb1, 0x50, 0x18, 
+0x28, 0xa0, 0x50, 0x18, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x22, 0x52, 0x20, 0x20, 0x2a, 0xff, 0xff, 0xf9, 0xe1, 0xb0, 0xce, 0x02, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x48, 0xb1, 0x00, 0x18, 0x48, 0xa0, 0x00, 0x18, 
+0xe1, 0xb0, 0xcf, 0x02, 0xe8, 0xbd, 0x40, 0x10, 0x24, 0x91, 0x30, 0x04, 0x24, 0x80, 0x30, 0x04, 0x01, 0xa0, 0xf0, 0x0e, 0xe1, 0xb0, 0x2f, 0x82, 0x44, 0xd1, 0x20, 0x01, 0x24, 0xd1, 0x30, 0x01, 0x24, 0xd1, 0xc0, 0x01, 0x44, 0xc0, 0x20, 0x01, 
+0x24, 0xc0, 0x30, 0x01, 0x24, 0xc0, 0xc0, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe5, 0x9f, 0x00, 0x04, 0xe0, 0x8f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x08, 0x28, 0xeb, 0x00, 0x01, 0x29, 0xeb, 0x00, 0x00, 0xa7, 0xe9, 0x2d, 0x00, 0x03, 
+0xeb, 0x00, 0x01, 0x27, 0xe8, 0xbd, 0x00, 0x03, 0xeb, 0x00, 0x00, 0xe2, 0xe9, 0x2d, 0x00, 0x0f, 0xeb, 0x00, 0x01, 0x26, 0xe8, 0xbd, 0x00, 0x0f, 0xeb, 0xff, 0xf8, 0xce, 0xea, 0x00, 0x00, 0x7c, 0xe9, 0x2d, 0x40, 0x01, 0xeb, 0x00, 0x01, 0x24, 
+0xeb, 0x00, 0x01, 0x16, 0xe8, 0xbd, 0x40, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x54, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x81, 0xe3, 0x50, 0x00, 0x00, 0x08, 0xbd, 0x80, 0x10, 0xe8, 0xbd, 0x40, 0x10, 
+0xea, 0x00, 0x00, 0x4e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x04, 0xe5, 0x80, 0x00, 0x08, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x00, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x81, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x08, 0x33, 0xa0, 0x00, 0x08, 0xe2, 0x80, 0x00, 0x07, 0xe3, 0xc0, 0x40, 0x07, 0xe2, 0x41, 0x00, 0x01, 0xe1, 0x54, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x1f, 
+0xe5, 0x95, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x16, 0xe5, 0x90, 0x20, 0x00, 0xe1, 0x52, 0x00, 0x04, 0x3a, 0x00, 0x00, 0x0f, 0xe5, 0x90, 0x20, 0x00, 0xe2, 0x84, 0x30, 0x08, 0xe1, 0x52, 0x00, 0x03, 
+0x35, 0x90, 0x20, 0x04, 0x35, 0x81, 0x20, 0x04, 0x3a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x30, 0x04, 0xe0, 0x80, 0x20, 0x04, 0xe5, 0x82, 0x30, 0x04, 0xe5, 0x90, 0x30, 0x00, 0xe0, 0x43, 0x30, 0x04, 0xe5, 0x82, 0x30, 0x00, 0xe5, 0x81, 0x20, 0x04, 
+0xe5, 0x80, 0x40, 0x00, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xe8, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x55, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xdf, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xeb, 0x00, 0x00, 0x3f, 0xe1, 0xa0, 0xc0, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe5, 0x90, 0x30, 0x04, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0xc0, 0x03, 
+0xe5, 0x93, 0x30, 0x04, 0xe3, 0x53, 0x00, 0x00, 0x11, 0x53, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x9c, 0x30, 0x00, 0xe0, 0x83, 0x30, 0x0c, 0xe1, 0x53, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x30, 0x01, 0xe2, 0x81, 0x10, 0x03, 
+0xe3, 0xc1, 0x10, 0x07, 0xe2, 0x81, 0x10, 0x04, 0xe0, 0x41, 0x30, 0x03, 0xe0, 0x42, 0x20, 0x03, 0xe4, 0x81, 0x20, 0x04, 0xeb, 0x00, 0x00, 0x09, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x67, 0xe8, 0xbd, 0x80, 0x10, 
+0xe5, 0x9f, 0x10, 0x0c, 0xe3, 0xa0, 0x00, 0x18, 0xef, 0x12, 0x34, 0x56, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x03, 0x20, 0x00, 0x02, 0x00, 0x26, 0xe2, 0x41, 0x10, 0x04, 0xe1, 0xa0, 0x20, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 
+0x11, 0x50, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x92, 0x30, 0x00, 0xe0, 0x83, 0xc0, 0x02, 0xe1, 0x5c, 0x00, 0x01, 0x15, 0x82, 0x10, 0x04, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x91, 0x10, 0x00, 0xe0, 0x83, 0x10, 0x01, 0xe5, 0x82, 0x10, 0x00, 
+0xe1, 0xa0, 0x10, 0x02, 0xe5, 0x91, 0x20, 0x00, 0xe0, 0x82, 0x30, 0x01, 0xe1, 0x53, 0x00, 0x00, 0x15, 0x81, 0x00, 0x04, 0x11, 0xa0, 0xf0, 0x0e, 0xe5, 0x90, 0x30, 0x04, 0xe5, 0x81, 0x30, 0x04, 0xe5, 0x90, 0x00, 0x00, 0xe0, 0x82, 0x00, 0x00, 
+0xe5, 0x81, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xeb, 0x00, 0x00, 0x05, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x7d, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x00, 
+0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x7f, 0xeb, 0x00, 0x00, 0x91, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xd1, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x10, 0x00, 
+0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x70, 0x00, 0x01, 0xe1, 0xa0, 0x20, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x91, 0xe8, 0xbd, 0x80, 0x70, 
+0xe3, 0x72, 0x00, 0x03, 0x11, 0xa0, 0x10, 0x05, 0x11, 0xa0, 0x00, 0x04, 0x11, 0xa0, 0xe0, 0x0f, 0x11, 0xa0, 0xf0, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x50, 0x0e, 0xeb, 0xff, 0xff, 0x4f, 0xe1, 0xa0, 0x40, 0x00, 
+0xe3, 0xc0, 0x00, 0x07, 0xe1, 0xa0, 0x10, 0x0d, 0xe2, 0x80, 0xd0, 0x60, 0xe1, 0xa0, 0xe0, 0x05, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x30, 0x0a, 0xeb, 0x00, 0x00, 0xdd, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x80, 0x00, 
+0xe3, 0xa0, 0xb0, 0x00, 0xe8, 0xbd, 0x40, 0x10, 0xe3, 0xc1, 0xd0, 0x07, 0xe1, 0xa0, 0xc0, 0x04, 0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe9, 0x2d, 0x40, 0x13, 0xe3, 0xa0, 0x10, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x81, 0x10, 0x40, 0xe0, 0x80, 0x20, 0x01, 0xe2, 0x82, 0x2e, 0x11, 0xe5, 0x84, 0x20, 0x1c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x10, 0x18, 0xe5, 0x84, 0x00, 0x10, 0xe8, 0xbd, 0x40, 0x13, 
+0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x00, 0x14, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe9, 0x2d, 0x00, 0x03, 0xeb, 0xff, 0xff, 0x2a, 0xe1, 0xa0, 0x40, 0x00, 0xe8, 0xbd, 0x00, 0x03, 0xe5, 0x94, 0x20, 0x14, 0xe5, 0x94, 0x30, 0x1c, 
+0xe0, 0x82, 0xe0, 0x00, 0xe0, 0x4d, 0x30, 0x03, 0xe1, 0x5e, 0x00, 0x03, 0xe5, 0x81, 0x20, 0x00, 0x8a, 0x00, 0x00, 0x0a, 0xe0, 0x93, 0x30, 0x0e, 0xe2, 0x8e, 0x1a, 0x01, 0xe2, 0x81, 0x10, 0x07, 0xe1, 0xa0, 0x30, 0x63, 0xe3, 0xc3, 0x30, 0x07, 
+0xe3, 0xc1, 0x10, 0x07, 0xe1, 0x51, 0x00, 0x03, 0x81, 0xa0, 0x10, 0x03, 0xe0, 0x41, 0x00, 0x02, 0xe5, 0x84, 0x10, 0x14, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 
+0xe9, 0x2d, 0x43, 0xc0, 0xe9, 0x2d, 0x00, 0x3e, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x00, 0xb2, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x40, 0x00, 0xe5, 0x8d, 0x50, 0x04, 0xeb, 0xff, 0xff, 0x2c, 0xe5, 0x8d, 0x00, 0x08, 
+0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xf7, 0xdf, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe8, 0x9d, 0x00, 0x03, 0xe1, 0xa0, 0x60, 0x02, 0xe1, 0xa0, 0x70, 0x03, 0xeb, 0xff, 0xfe, 0xb8, 0xeb, 0xff, 0xfe, 0xa1, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x80, 0x00, 0xeb, 0xff, 0xfe, 0xf9, 0xe1, 0xa0, 0x90, 0x00, 0xe5, 0x80, 0x80, 0x20, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe2, 0x80, 0x10, 0x01, 0xe5, 0x89, 0x10, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x28, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x2c, 
+0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x0c, 0xe1, 0xa0, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x20, 0x06, 0xe1, 0xa0, 0x30, 0x07, 0xe8, 0xbd, 0x01, 0xf0, 0xe8, 0xbd, 0x82, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x72, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xe0, 0x00, 0x00, 0xe3, 0xe0, 0x10, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x55, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe2, 0x40, 0x20, 0x01, 0xe9, 0x2d, 0x40, 0x70, 0xe3, 0x52, 0x00, 0x0e, 0x22, 0x8f, 0x50, 0xc0, 0xe2, 0x8f, 0x40, 0xb8, 
+0x2a, 0x00, 0x00, 0x1c, 0xe3, 0xa0, 0x20, 0x17, 0xe5, 0x9f, 0x30, 0xc0, 0xe0, 0x02, 0x02, 0x90, 0xe0, 0x8f, 0x30, 0x03, 0xe3, 0x50, 0x00, 0x02, 0xe0, 0x82, 0x20, 0x03, 0xe2, 0x42, 0x50, 0x17, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x03, 0x01, 
+0x12, 0x8f, 0x40, 0xa4, 0x1a, 0x00, 0x00, 0x11, 0xe3, 0x11, 0x03, 0x82, 0x12, 0x8f, 0x40, 0xac, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x02, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0x11, 0x02, 0x02, 0x12, 0x8f, 0x40, 0xb0, 
+0x1a, 0x00, 0x00, 0x08, 0xe3, 0x11, 0x01, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0xea, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x08, 0x01, 0xa0, 0x40, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x50, 0x00, 0x09, 0x03, 0x51, 0x00, 0x01, 0x02, 0x8f, 0x50, 0xa4, 
+0xe3, 0xa0, 0x00, 0x0a, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x85, 0x50, 0x01, 0xeb, 0x00, 0x00, 0x2c, 0xe5, 0xd5, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x84, 0x40, 0x01, 0xeb, 0x00, 0x00, 0x26, 
+0xe5, 0xd4, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x00, 0x21, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x70, 0x00, 0x00, 0x00, 0x00, 0x6e, 0x6b, 0x6e, 0x55, 0x20, 0x6e, 0x77, 0x6f, 
+0x6e, 0x67, 0x69, 0x73, 0x00, 0x00, 0x6c, 0x61, 0x00, 0x00, 0x01, 0xe4, 0x61, 0x76, 0x6e, 0x49, 0x20, 0x64, 0x69, 0x6c, 0x72, 0x65, 0x70, 0x4f, 0x6f, 0x69, 0x74, 0x61, 0x00, 0x00, 0x00, 0x6e, 0x69, 0x76, 0x69, 0x44, 0x42, 0x20, 0x65, 0x64, 
+0x65, 0x5a, 0x20, 0x79, 0x00, 0x00, 0x6f, 0x72, 0x72, 0x65, 0x76, 0x4f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x65, 0x64, 0x6e, 0x55, 0x6f, 0x6c, 0x66, 0x72, 0x00, 0x00, 0x00, 0x77, 0x78, 0x65, 0x6e, 0x49, 0x20, 0x74, 0x63, 0x61, 
+0x75, 0x73, 0x65, 0x52, 0x00, 0x00, 0x74, 0x6c, 0x65, 0x48, 0x20, 0x3a, 0x6d, 0x20, 0x70, 0x61, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x63, 0x20, 0x79, 0x70, 0x75, 0x72, 0x72, 0x00, 0x64, 0x65, 0x74, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x08, 
+0xe1, 0xa0, 0x10, 0x0d, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xef, 0x12, 0x34, 0x56, 0xe8, 0xbd, 0x90, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0xff, 0xfe, 0x6b, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x0a, 0x7e, 
+0xe3, 0x21, 0xf0, 0xd1, 0xe2, 0x40, 0xd0, 0x00, 0xe3, 0x21, 0xf0, 0xd2, 0xe2, 0x40, 0xdc, 0x01, 0xe3, 0x21, 0xf0, 0xd7, 0xe2, 0x40, 0xdc, 0x02, 0xe3, 0x21, 0xf0, 0xdb, 0xe2, 0x40, 0xdc, 0x03, 0xe3, 0x21, 0xf0, 0xd3, 0xe2, 0x40, 0x1b, 0x01, 
+0xe5, 0x9f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x26, 0x28, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0xff, 0xff, 0xea, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xff, 0xff, 0xff, 0xff, 
+0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0xb0, 0x00, 0x00, 0x01, 0x60, 0x00, 0x00, 0x02, 0xc0, 0x00, 0x00, 0x05, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x90, 0x00, 0x00, 0x01, 0x20, 
+0x00, 0x00, 0x02, 0x40, 0x00, 0x00, 0x04, 0x80, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x6f, 0x6e, 0x62, 0x41, 0x6c, 0x61, 0x6d, 0x72, 0x72, 0x65, 0x74, 0x20, 
+0x61, 0x6e, 0x69, 0x6d, 0x6e, 0x6f, 0x69, 0x74, 0x41, 0x00, 0x00, 0x00, 0x68, 0x74, 0x69, 0x72, 0x69, 0x74, 0x65, 0x6d, 0x78, 0x65, 0x20, 0x63, 0x74, 0x70, 0x65, 0x63, 0x3a, 0x6e, 0x6f, 0x69, 0x6c, 0x49, 0x00, 0x20, 0x61, 0x67, 0x65, 0x6c, 
+0x6e, 0x69, 0x20, 0x6c, 0x75, 0x72, 0x74, 0x73, 0x6f, 0x69, 0x74, 0x63, 0x00, 0x00, 0x00, 0x6e, 0x74, 0x6e, 0x49, 0x00, 0x75, 0x72, 0x72, 0x65, 0x72, 0x20, 0x74, 0x70, 0x69, 0x65, 0x63, 0x65, 0x00, 0x64, 0x65, 0x76, 0x00, 0x00, 0x00, 0x00, 
+0x65, 0x6c, 0x6c, 0x49, 0x20, 0x6c, 0x61, 0x67, 0x72, 0x64, 0x64, 0x61, 0x00, 0x73, 0x73, 0x65, 0x00, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x69, 0x6d, 0x72, 0x65, 0x69, 0x74, 0x61, 0x6e, 0x72, 0x20, 0x6e, 0x6f, 0x65, 0x75, 0x71, 0x65, 
+0x00, 0x00, 0x74, 0x73, 0x74, 0x53, 0x00, 0x00, 0x20, 0x6b, 0x63, 0x61, 0x72, 0x65, 0x76, 0x6f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x65, 0x52, 0x00, 0x63, 0x65, 0x72, 0x69, 0x63, 0x20, 0x3a, 0x74, 
+0x74, 0x27, 0x6e, 0x61, 0x65, 0x70, 0x6f, 0x20, 0x00, 0x20, 0x3a, 0x6e, 0x20, 0x74, 0x75, 0x4f, 0x68, 0x20, 0x66, 0x6f, 0x20, 0x70, 0x61, 0x65, 0x6f, 0x6d, 0x65, 0x6d, 0x00, 0x00, 0x79, 0x72, 0x55, 0x00, 0x00, 0x00, 0x2d, 0x72, 0x65, 0x73, 
+0x69, 0x66, 0x65, 0x64, 0x20, 0x64, 0x65, 0x6e, 0x6e, 0x67, 0x69, 0x73, 0x31, 0x20, 0x6c, 0x61, 0x73, 0x55, 0x00, 0x00, 0x64, 0x2d, 0x72, 0x65, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x20, 0x64, 0x65, 0x61, 0x6e, 0x67, 0x69, 0x00, 0x32, 0x20, 0x6c, 
+0x72, 0x75, 0x50, 0x00, 0x69, 0x76, 0x20, 0x65, 0x61, 0x75, 0x74, 0x72, 0x6e, 0x66, 0x20, 0x6c, 0x6c, 0x61, 0x63, 0x20, 0x00, 0x64, 0x65, 0x6c, 0x20, 0x2b, 0x2b, 0x43, 0x72, 0x62, 0x69, 0x6c, 0x20, 0x79, 0x72, 0x61, 0x65, 0x63, 0x78, 0x65, 
+0x6f, 0x69, 0x74, 0x70, 0x4f, 0x00, 0x00, 0x6e, 0x6f, 0x20, 0x74, 0x75, 0x65, 0x68, 0x20, 0x66, 0x00, 0x00, 0x70, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/h264_dec_fw.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/h264_dec_fw.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/h264_dec_fw.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/h264_dec_fw.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,1000 @@
+/*
+ * drivers/media/video/samsung/mfc40/h264_dec_fw.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+
+const unsigned char h264_dec_mc_fw[39296] = {
+0xea, 0x00, 0x00, 0x31, 0xea, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x0b, 0xea, 0x00, 0x00, 0x10, 0xea, 0x00, 0x00, 0x15, 0xea, 0xff, 0xff, 0xfe, 0xea, 0x00, 0x00, 0x19, 0xea, 0x00, 0x00, 0x1e, 0xea, 0x00, 0x00, 0x23, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0xa0, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x8c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x78, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x64, 
+0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x50, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x3c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x28, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xeb, 0x00, 0x00, 0x07, 0xea, 0xff, 0xff, 0xfe, 0x00, 0x01, 0x3f, 0x04, 0x00, 0x01, 0x3f, 0x08, 0x00, 0x01, 0x3f, 0x0c, 0x00, 0x01, 0x3f, 0x10, 0x00, 0x01, 0x3f, 0x18, 0x00, 0x01, 0x3f, 0x1c, 0x00, 0x01, 0x3f, 0x20, 
+0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x22, 0xc0, 0xe5, 0x9f, 0x30, 0x04, 0xe0, 0x8f, 0x30, 0x03, 0xe1, 0xa0, 0xf0, 0x03, 0x00, 0x00, 0x92, 0xe0, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x20, 0x99, 0xea, 0xff, 0xff, 0xfe, 0xe5, 0x90, 0x10, 0x00, 
+0xe3, 0x51, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x92, 0x30, 0x28, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x92, 0x20, 0x14, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 
+0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0x11, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x90, 0x20, 0x30, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x92, 0x30, 0x28, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x92, 0x20, 0x14, 
+0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf1, 0xe3, 0x11, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x10, 0x28, 
+0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xe4, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xe2, 0xe9, 0x2d, 0x40, 0x70, 
+0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x95, 0x00, 0x00, 0xe7, 0x90, 0x01, 0x06, 0xeb, 0xff, 0xff, 0xcf, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x95, 0x00, 0x00, 
+0xe5, 0x95, 0x20, 0x08, 0xe7, 0x90, 0x11, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xe2, 0x84, 0x40, 0x01, 0xe7, 0x82, 0x11, 0x00, 0xe2, 0x86, 0x60, 0x01, 0xe5, 0x95, 0x00, 0x10, 0xe1, 0x50, 0x00, 0x06, 0x8a, 0xff, 0xff, 0xf0, 0xe5, 0x85, 0x40, 0x18, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x95, 0x10, 0x0c, 0xe1, 0x51, 0x00, 0x04, 0x9a, 0x00, 0x00, 0x04, 0xe5, 0x95, 0x20, 0x08, 0xe1, 0xa0, 0x10, 0x04, 0xe2, 0x84, 0x40, 0x01, 0xe7, 0x82, 0x01, 0x01, 0xea, 0xff, 0xff, 0xf7, 0xe8, 0xbd, 0x80, 0x70, 
+0xe5, 0x90, 0x10, 0x00, 0xe3, 0x51, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x92, 0x30, 0x28, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x92, 0x20, 0x14, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0x11, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x90, 0x20, 0x30, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x92, 0x30, 0x28, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 
+0xe5, 0x92, 0x20, 0x14, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf1, 0xe3, 0x11, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 
+0xe5, 0x90, 0x10, 0x28, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xe4, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xe2, 
+0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x95, 0x00, 0x00, 0xe7, 0x90, 0x01, 0x06, 0xeb, 0xff, 0xff, 0xcf, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 
+0xe5, 0x95, 0x00, 0x00, 0xe5, 0x95, 0x20, 0x04, 0xe7, 0x90, 0x11, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xe2, 0x84, 0x40, 0x01, 0xe7, 0x82, 0x11, 0x00, 0xe2, 0x86, 0x60, 0x01, 0xe5, 0x95, 0x00, 0x10, 0xe1, 0x50, 0x00, 0x06, 0x8a, 0xff, 0xff, 0xf0, 
+0xe5, 0x85, 0x40, 0x14, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x95, 0x10, 0x0c, 0xe1, 0x51, 0x00, 0x04, 0x9a, 0x00, 0x00, 0x04, 0xe5, 0x95, 0x20, 0x04, 0xe1, 0xa0, 0x10, 0x04, 0xe2, 0x84, 0x40, 0x01, 0xe7, 0x82, 0x01, 0x01, 0xea, 0xff, 0xff, 0xf7, 
+0xe8, 0xbd, 0x80, 0x70, 0xe5, 0x91, 0x20, 0x00, 0xe7, 0x92, 0x21, 0x00, 0xe5, 0x92, 0xc0, 0x28, 0xe3, 0xa0, 0x30, 0x00, 0xe0, 0x81, 0xc1, 0x0c, 0xe5, 0x8c, 0x32, 0x54, 0xe5, 0x82, 0x30, 0x00, 0xe5, 0x82, 0x30, 0x08, 0xe5, 0x82, 0x30, 0x04, 
+0xe5, 0x82, 0x30, 0x0c, 0xe5, 0x91, 0x20, 0x00, 0xe7, 0x92, 0x21, 0x00, 0xe5, 0x91, 0x30, 0x10, 0xe2, 0x43, 0x30, 0x01, 0xe1, 0x53, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x05, 0xe5, 0x91, 0x30, 0x00, 0xe2, 0x80, 0xc0, 0x01, 0xe7, 0x93, 0xc1, 0x0c, 
+0xe7, 0x83, 0xc1, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf5, 0xe5, 0x91, 0x30, 0x10, 0xe5, 0x91, 0x00, 0x00, 0xe2, 0x43, 0x30, 0x01, 0xe7, 0x80, 0x21, 0x03, 0xe5, 0x91, 0x00, 0x10, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x10, 
+0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x90, 0x10, 0x04, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x51, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x90, 0x20, 0x2c, 
+0xe5, 0x92, 0x20, 0x28, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf5, 0xe3, 0x11, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x20, 0x30, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 
+0xe5, 0x92, 0x20, 0x28, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xeb, 0xe3, 0x11, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 
+0xe5, 0x90, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xe1, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xdf, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0x00, 0x21, 0x52, 
+0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x60, 0x01, 0xe1, 0xa0, 0x50, 0x02, 0xe5, 0x95, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x01, 0x2a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xff, 0xf2, 
+0xe3, 0xe0, 0x00, 0x00, 0xe5, 0x86, 0x00, 0x00, 0xe3, 0xa0, 0x02, 0x02, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x95, 0x10, 0x00, 0xe5, 0x94, 0x30, 0x00, 0xe7, 0x91, 0x21, 0x00, 0xe5, 0x92, 0x10, 0x24, 
+0xe1, 0x51, 0x00, 0x03, 0xaa, 0x00, 0x00, 0x04, 0xe5, 0x92, 0x20, 0x20, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x84, 0x10, 0x00, 0xe5, 0x86, 0x00, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x95, 0x10, 0x10, 0xe1, 0x51, 0x00, 0x00, 
+0x8a, 0xff, 0xff, 0xf0, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x1c, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x01, 0x2a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xd5, 0xe1, 0xa0, 0x20, 0x04, 
+0xe1, 0xa0, 0x10, 0x0d, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xd5, 0xe5, 0x9d, 0x00, 0x00, 0xe3, 0x70, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1a, 0xeb, 0xff, 0xff, 0xcc, 0xe5, 0x94, 0x10, 0x00, 0xe5, 0x9d, 0x00, 0x00, 
+0xe7, 0x91, 0x11, 0x00, 0xe5, 0x91, 0x20, 0x28, 0xe5, 0x94, 0x12, 0xdc, 0xe2, 0x81, 0x30, 0x01, 0xe0, 0x84, 0x11, 0x01, 0xe5, 0x84, 0x32, 0xdc, 0xe5, 0x81, 0x21, 0xd4, 0xe5, 0x94, 0x12, 0xdc, 0xe3, 0x51, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x12, 0xdc, 0xe5, 0x94, 0x20, 0x00, 0xe3, 0xa0, 0x10, 0x01, 0xe7, 0x92, 0x21, 0x00, 0xe5, 0x82, 0x10, 0x20, 0xe5, 0x9d, 0x10, 0x04, 0xe5, 0x84, 0x10, 0x1c, 0xe5, 0x94, 0x10, 0x00, 0xe7, 0x91, 0x01, 0x00, 
+0xeb, 0xff, 0xff, 0x91, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x00, 0xe1, 0xa0, 0x10, 0x04, 0xeb, 0xff, 0xff, 0x6e, 0xe8, 0xbd, 0x80, 0x1c, 0xe9, 0x2d, 0x40, 0x30, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x40, 0x00, 
+0xea, 0x00, 0x00, 0x0d, 0xe5, 0x95, 0x00, 0x00, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x20, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xeb, 0xff, 0xff, 0x81, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x5e, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x30, 0xe2, 0x84, 0x40, 0x01, 0xe5, 0x95, 0x00, 0x10, 0xe1, 0x50, 0x00, 0x04, 0x8a, 0xff, 0xff, 0xee, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf8, 
+0xe5, 0x90, 0x10, 0x00, 0xe3, 0x11, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x90, 0x20, 0x30, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x20, 0x00, 0xe3, 0x12, 0x00, 0x02, 
+0x0a, 0x00, 0x00, 0x03, 0xe5, 0x90, 0x20, 0x34, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x90, 0x20, 0x30, 0xe3, 0x52, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x05, 0xe5, 0x90, 0x30, 0x34, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x80, 0x10, 0x04, 
+0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe5, 0x95, 0x00, 0x00, 0xe7, 0x90, 0x01, 0x04, 0xeb, 0xff, 0xff, 0xd9, 0xe2, 0x84, 0x40, 0x01, 0xe5, 0x95, 0x00, 0x10, 
+0xe1, 0x50, 0x00, 0x04, 0x8a, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0xbc, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfb, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x8a, 0xe5, 0x95, 0x00, 0x10, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x01, 0x03, 0xe5, 0x85, 0x00, 0x1c, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x04, 0xdc, 0xe3, 0xa0, 0x50, 0x00, 0xe5, 0x90, 0x00, 0x44, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x2e, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x0f, 0xe5, 0x94, 0x10, 0x00, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x81, 0x50, 0x00, 0xe5, 0x94, 0x10, 0x00, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x81, 0x50, 0x04, 
+0xe5, 0x94, 0x10, 0x00, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x81, 0x50, 0x08, 0xe5, 0x94, 0x10, 0x00, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x81, 0x50, 0x0c, 0xe5, 0x94, 0x10, 0x00, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x81, 0x50, 0x20, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x94, 0x10, 0x10, 0xe1, 0x51, 0x00, 0x00, 0x8a, 0xff, 0xff, 0xec, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x10, 0x14, 0xe1, 0x51, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x10, 0x04, 0xe7, 0x81, 0x51, 0x00, 0xe2, 0x80, 0x00, 0x01, 
+0xea, 0xff, 0xff, 0xf8, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x10, 0x18, 0xe1, 0x51, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x10, 0x08, 0xe7, 0x81, 0x51, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x10, 0x05, 
+0xe5, 0x84, 0x50, 0x10, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x22, 0xe4, 0xe1, 0x52, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x05, 0xe0, 0x84, 0x21, 0x00, 0xe5, 0x82, 0x12, 0x54, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xff, 0xaf, 0xe5, 0x84, 0x50, 0x2c, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0xc5, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0x7c, 0xe3, 0xa0, 0x01, 0x03, 0xe5, 0x84, 0x00, 0x1c, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x10, 0x40, 
+0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x84, 0x50, 0x20, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x80, 0x10, 0x10, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x50, 0x08, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0xe0, 0x10, 0x00, 0xe5, 0x84, 0x10, 0x20, 
+0xe5, 0x80, 0x50, 0x10, 0xea, 0xff, 0xff, 0xfa, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0x54, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x11, 0xe5, 0x94, 0x00, 0x2c, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xeb, 0x00, 0x1f, 0x2f, 0xe5, 0x84, 0x50, 0x2c, 0xe5, 0x94, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xeb, 0x00, 0x1f, 0x2a, 0xe5, 0x84, 0x50, 0x30, 0xe5, 0x94, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xeb, 0x00, 0x1f, 0x25, 0xe5, 0x84, 0x50, 0x34, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x1f, 0x22, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x10, 0x38, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x1f, 0x26, 0xe1, 0xa0, 0x40, 0x00, 
+0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0xf4, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x04, 0xe5, 0x84, 0x00, 0x08, 0xe5, 0x84, 0x00, 0x0c, 0xe5, 0x84, 0x00, 0x20, 
+0xe5, 0x84, 0x00, 0x2c, 0xe5, 0x84, 0x00, 0x30, 0xe5, 0x84, 0x00, 0x34, 0xe1, 0xa0, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x00, 0x28, 0xe5, 0x94, 0x10, 0x18, 0xe0, 0x40, 0x00, 0x01, 
+0xe5, 0x94, 0x10, 0x14, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x11, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x94, 0x30, 0x10, 0xea, 0x00, 0x00, 0x0c, 0xe5, 0x94, 0x00, 0x00, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x90, 0x20, 0x04, 0xe3, 0x52, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x06, 0xe5, 0x90, 0x20, 0x08, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xeb, 0xff, 0xff, 0x3c, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0x72, 0xea, 0x00, 0x00, 0x02, 0xe2, 0x81, 0x10, 0x01, 0xe1, 0x53, 0x00, 0x01, 
+0x8a, 0xff, 0xff, 0xf0, 0xe5, 0x94, 0x14, 0xdc, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x10, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xe5, 0x90, 0x10, 0x18, 0xe5, 0x90, 0x20, 0x14, 0xe5, 0x90, 0x00, 0x28, 0xe0, 0x81, 0x10, 0x02, 
+0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x51, 0x00, 0x00, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfe, 0xbf, 0xe8, 0xbd, 0x80, 0x10, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x11, 0x00, 0x01, 
+0xe3, 0xa0, 0x10, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x90, 0x20, 0x30, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x14, 0xe5, 0x90, 0x20, 0x00, 0xe3, 0x12, 0x00, 0x02, 
+0x0a, 0x00, 0x00, 0x05, 0xe5, 0x90, 0x20, 0x34, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x14, 0xe5, 0x90, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x10, 
+0xe5, 0x90, 0x20, 0x30, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe5, 0x90, 0x30, 0x34, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x14, 0xe5, 0x90, 0x20, 0x34, 
+0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x14, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x14, 0xe5, 0x80, 0x10, 0x04, 0xe5, 0x80, 0x10, 0x08, 0xe1, 0x2f, 0xff, 0x1e, 
+0xe9, 0x2d, 0x47, 0xf0, 0xe5, 0x9d, 0x40, 0x24, 0xe5, 0x9d, 0x60, 0x20, 0xe1, 0xa0, 0xa0, 0x01, 0xe1, 0xa0, 0x90, 0x03, 0xe1, 0xa0, 0x80, 0x02, 0xe1, 0xa0, 0x70, 0x00, 0xe3, 0x56, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x04, 0xe8, 
+0xe5, 0x90, 0x04, 0x48, 0xe0, 0x86, 0x60, 0x80, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x43, 0xe5, 0x94, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x05, 0xe5, 0x90, 0x10, 0x1c, 0xe1, 0x51, 0x00, 0x0a, 0x1a, 0x00, 0x00, 0x3d, 0xe3, 0x57, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x1b, 0xe5, 0x90, 0x10, 0x08, 0xe3, 0x51, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xbc, 0xea, 0x00, 0x00, 0x16, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xb8, 0xea, 0x00, 0x00, 0x12, 
+0xe3, 0x58, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0b, 0xe5, 0x94, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x91, 0x10, 0x14, 0xe1, 0x51, 0x00, 0x09, 0x0a, 0x00, 0x00, 0x08, 
+0xeb, 0xff, 0xff, 0xac, 0xea, 0x00, 0x00, 0x06, 0xeb, 0xff, 0xff, 0xaa, 0xea, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x10, 0x14, 0xe0, 0x86, 0x2f, 0xa6, 0xe1, 0x51, 0x00, 0xc2, 0x0a, 0x00, 0x00, 0x00, 0xeb, 0xff, 0xff, 0xa4, 0xe3, 0x57, 0x00, 0x02, 
+0x1a, 0x00, 0x00, 0x1d, 0xe5, 0x94, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x05, 0xe5, 0x90, 0x10, 0x08, 0xe3, 0x51, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x9c, 0xea, 0x00, 0x00, 0x16, 0xe3, 0x51, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0x98, 0xea, 0x00, 0x00, 0x12, 0xe3, 0x58, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0b, 0xe5, 0x94, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x91, 0x10, 0x14, 
+0xe1, 0x51, 0x00, 0x09, 0x0a, 0x00, 0x00, 0x08, 0xeb, 0xff, 0xff, 0x8c, 0xea, 0x00, 0x00, 0x06, 0xeb, 0xff, 0xff, 0x8a, 0xea, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x10, 0x14, 0xe0, 0x86, 0x2f, 0xa6, 0xe1, 0x51, 0x00, 0xc2, 0x0a, 0x00, 0x00, 0x00, 
+0xeb, 0xff, 0xff, 0x84, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x94, 0x00, 0x18, 0xe1, 0x50, 0x00, 0x05, 0x8a, 0xff, 0xff, 0xb8, 0xe8, 0xbd, 0x87, 0xf0, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe3, 0xa0, 0x40, 0x00, 
+0xea, 0x00, 0x00, 0x06, 0xe5, 0x95, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x1c, 0xe1, 0x51, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x74, 0xe2, 0x84, 0x40, 0x01, 0xe5, 0x95, 0x00, 0x18, 0xe1, 0x50, 0x00, 0x04, 
+0x8a, 0xff, 0xff, 0xf5, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x3c, 0xe1, 0xa0, 0x50, 0x00, 0xe1, 0xa0, 0x40, 0x01, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x91, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x10, 0x04, 
+0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0xe5, 0xea, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x20, 0x00, 0xe8, 0x8d, 0x00, 0x14, 0xe5, 0x91, 0x30, 0x00, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x20, 0x01, 0xeb, 0xff, 0xff, 0x88, 0xe5, 0x94, 0x14, 0xdc, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x10, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x50, 0x08, 0xe8, 0xbd, 0x80, 0x3c, 0xe9, 0x2d, 0x40, 0x30, 0xe1, 0xa0, 0x50, 0x01, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x85, 0x00, 0x20, 0xe3, 0xa0, 0x40, 0x00, 
+0xea, 0x00, 0x00, 0x07, 0xe5, 0x95, 0x00, 0x08, 0xe5, 0x95, 0x20, 0x20, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x1c, 0xe1, 0x51, 0x00, 0x02, 0xda, 0x00, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x4b, 0xe2, 0x84, 0x40, 0x01, 0xe5, 0x95, 0x00, 0x18, 
+0xe1, 0x50, 0x00, 0x04, 0x8a, 0xff, 0xff, 0xf4, 0xe8, 0xbd, 0x80, 0x30, 0xe5, 0x2d, 0xe0, 0x04, 0xe1, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0xe9, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x30, 0xe1, 0xa0, 0x50, 0x00, 
+0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe5, 0x95, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x04, 0xeb, 0xff, 0xfe, 0x60, 0xe2, 0x84, 0x40, 0x01, 0xe5, 0x95, 0x00, 0x14, 0xe1, 0x50, 0x00, 0x04, 0x8a, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xfd, 0x92, 0xe8, 0xbd, 0x80, 0x30, 0xe9, 0x2d, 0x43, 0xf0, 0xe5, 0x92, 0x34, 0xdc, 0xe5, 0x92, 0xe0, 0x14, 0xe5, 0x93, 0x30, 0x38, 0xe3, 0xa0, 0x90, 0x01, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x42, 0xe3, 0xa0, 0x30, 0x00, 
+0xea, 0x00, 0x00, 0x3d, 0xe5, 0x92, 0xc0, 0x04, 0xe7, 0x9c, 0xc1, 0x03, 0xe5, 0x9c, 0x40, 0x04, 0xe3, 0x54, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x37, 0xe5, 0x9c, 0xc0, 0x2c, 0xe5, 0x9c, 0x40, 0x14, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x33, 
+0xe5, 0x9c, 0xc0, 0x04, 0xe1, 0x5c, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x30, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x81, 0x00, 0x0c, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x81, 0x00, 0x1c, 
+0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x81, 0x90, 0x14, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 
+0xe5, 0x91, 0xc0, 0x30, 0xe3, 0x5c, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x17, 0xe5, 0x91, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x14, 0xe5, 0x81, 0x00, 0x0c, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x30, 
+0xe5, 0x81, 0x00, 0x0c, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x30, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x34, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x92, 0x00, 0x04, 
+0xe7, 0x90, 0x01, 0x03, 0xe5, 0x90, 0x00, 0x34, 0xe5, 0x80, 0x90, 0x14, 0xe5, 0x92, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x03, 0xe5, 0x90, 0x00, 0x30, 0xe5, 0x80, 0x90, 0x14, 0xe5, 0x92, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x03, 0xe7, 0x91, 0x11, 0x03, 
+0xe5, 0x81, 0x00, 0x08, 0xe8, 0xbd, 0x83, 0xf0, 0xe2, 0x83, 0x30, 0x01, 0xe1, 0x5e, 0x00, 0x03, 0x8a, 0xff, 0xff, 0xbf, 0xea, 0xff, 0xff, 0xfa, 0xe3, 0x53, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x70, 0x01, 0xe3, 0xa0, 0x80, 0x00, 
+0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x80, 0x01, 0xe3, 0xa0, 0x30, 0x00, 0xea, 0x00, 0x00, 0x5d, 0xe5, 0x92, 0xc0, 0x04, 0xe7, 0x9c, 0xc1, 0x03, 0xe5, 0x9c, 0x40, 0x04, 0xe3, 0x14, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x2a, 
+0xe5, 0x9c, 0x50, 0x30, 0xe5, 0x95, 0x60, 0x14, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x26, 0xe5, 0x95, 0x50, 0x04, 0xe1, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x23, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x30, 
+0xe5, 0x81, 0x00, 0x0c, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x81, 0x00, 0x1c, 0xe5, 0x92, 0xc0, 0x04, 0xe0, 0x87, 0x10, 0x80, 0xe7, 0x9c, 0xc1, 0x03, 0xe5, 0x9c, 0xc0, 0x30, 0xe5, 0x8c, 0x10, 0x08, 0xe5, 0x92, 0x10, 0x04, 
+0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x30, 0xe5, 0x81, 0x90, 0x14, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0xc1, 0x03, 0xe5, 0x9c, 0x10, 0x08, 0xe3, 0x81, 0x10, 0x01, 0xe5, 0x8c, 0x10, 0x08, 0xe5, 0x92, 0xc0, 0x04, 0xe3, 0x51, 0x00, 0x03, 
+0xe7, 0x9c, 0xc1, 0x03, 0x1a, 0xff, 0xff, 0xcc, 0xe5, 0x9c, 0x10, 0x2c, 0xe5, 0x81, 0x90, 0x14, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 
+0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x81, 0x00, 0x0c, 0xea, 0xff, 0xff, 0xc1, 0xe3, 0x14, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x2a, 0xe5, 0x9c, 0xc0, 0x34, 0xe5, 0x9c, 0x40, 0x14, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x26, 0xe5, 0x9c, 0xc0, 0x04, 
+0xe1, 0x5c, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x23, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x34, 0xe5, 0x81, 0x00, 0x0c, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x81, 0x00, 0x1c, 0xe5, 0x92, 0xc0, 0x04, 
+0xe0, 0x88, 0x10, 0x80, 0xe7, 0x9c, 0xc1, 0x03, 0xe5, 0x9c, 0xc0, 0x34, 0xe5, 0x8c, 0x10, 0x08, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x34, 0xe5, 0x81, 0x90, 0x14, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0xc1, 0x03, 
+0xe5, 0x9c, 0x10, 0x08, 0xe3, 0x81, 0x10, 0x02, 0xe5, 0x8c, 0x10, 0x08, 0xe5, 0x92, 0xc0, 0x04, 0xe3, 0x51, 0x00, 0x03, 0xe7, 0x9c, 0xc1, 0x03, 0x1a, 0xff, 0xff, 0x9f, 0xe5, 0x9c, 0x10, 0x2c, 0xe5, 0x81, 0x90, 0x14, 0xe5, 0x92, 0x10, 0x04, 
+0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x92, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x03, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x81, 0x00, 0x0c, 0xea, 0xff, 0xff, 0x94, 0xe2, 0x83, 0x30, 0x01, 0xe1, 0x5e, 0x00, 0x03, 
+0x8a, 0xff, 0xff, 0x9f, 0xea, 0xff, 0xff, 0x90, 0xe5, 0x91, 0x14, 0xdc, 0xe5, 0x91, 0x20, 0x38, 0xe5, 0x91, 0x10, 0x0c, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x20, 0x01, 0xe0, 0x82, 0x10, 0x81, 0xe0, 0x41, 0x00, 0x00, 
+0xe2, 0x40, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x41, 0xfc, 0xe1, 0xa0, 0x70, 0x01, 0xe1, 0xa0, 0x50, 0x02, 0xe1, 0xa0, 0x10, 0x05, 0xeb, 0xff, 0xff, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x95, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x38, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfe, 0xe8, 0xea, 0x00, 0x00, 0x23, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x95, 0xc0, 0x14, 0xea, 0x00, 0x00, 0x13, 
+0xe5, 0x95, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x91, 0x20, 0x04, 0xe3, 0x12, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x91, 0x30, 0x30, 0xe5, 0x93, 0x30, 0x04, 0xe1, 0x53, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x60, 0x01, 
+0xea, 0x00, 0x00, 0x0a, 0xe3, 0x12, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x91, 0x10, 0x34, 0xe5, 0x91, 0x10, 0x04, 0xe1, 0x51, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x60, 0x02, 0xea, 0x00, 0x00, 0x02, 0xe2, 0x80, 0x00, 0x01, 
+0xe1, 0x5c, 0x00, 0x00, 0x8a, 0xff, 0xff, 0xe9, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x08, 0xe3, 0xa0, 0x30, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe1, 0xa0, 0x10, 0x07, 0xe1, 0xa0, 0x00, 0x06, 
+0xe8, 0x8d, 0x00, 0x30, 0xeb, 0xff, 0xfe, 0x6d, 0xe1, 0xa0, 0x20, 0x05, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xff, 0x0b, 0xe8, 0xbd, 0x81, 0xfc, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x50, 0x01, 
+0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xea, 0x00, 0x00, 0x65, 0xe5, 0x95, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0d, 0xe5, 0x95, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x04, 
+0xe3, 0x51, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x5b, 0xe5, 0x90, 0x10, 0x08, 0xe3, 0x51, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x58, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x91, 0x10, 0x08, 0xe1, 0x51, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x54, 0xeb, 0xff, 0xfe, 0x27, 
+0xea, 0x00, 0x00, 0x52, 0xe5, 0x95, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x04, 0xe3, 0x11, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x25, 0xe5, 0x90, 0x20, 0x08, 0xe3, 0x12, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x22, 0xe5, 0x90, 0x20, 0x30, 
+0xe5, 0x92, 0x20, 0x08, 0xe1, 0x52, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x1e, 0xe5, 0x95, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x07, 0xe7, 0x91, 0x11, 0x04, 0xe5, 0x91, 0x10, 0x30, 0xe5, 0x81, 0x70, 0x28, 0xe5, 0x95, 0x10, 0x08, 0xe7, 0x91, 0x11, 0x04, 
+0xe5, 0x91, 0x10, 0x30, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x95, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x04, 0xe2, 0x01, 0x10, 0x02, 0xe5, 0x80, 0x10, 0x04, 0xe5, 0x95, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x08, 
+0xe2, 0x01, 0x10, 0x02, 0xe5, 0x80, 0x10, 0x08, 0xe5, 0x95, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x51, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x90, 0x00, 0x2c, 0xe5, 0x80, 0x70, 0x28, 0xe5, 0x95, 0x00, 0x08, 
+0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x00, 0x2c, 0xe5, 0x80, 0x70, 0x14, 0xe8, 0xbd, 0x80, 0xf0, 0xe3, 0x11, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x25, 0xe5, 0x90, 0x10, 0x08, 0xe3, 0x11, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x22, 0xe5, 0x90, 0x00, 0x34, 
+0xe5, 0x90, 0x00, 0x08, 0xe1, 0x50, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x1e, 0xe5, 0x95, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x07, 0xe7, 0x91, 0x11, 0x04, 0xe5, 0x91, 0x10, 0x34, 0xe5, 0x81, 0x70, 0x28, 0xe5, 0x95, 0x10, 0x08, 0xe7, 0x91, 0x11, 0x04, 
+0xe5, 0x91, 0x10, 0x34, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x95, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x04, 0xe2, 0x01, 0x10, 0x01, 0xe5, 0x80, 0x10, 0x04, 0xe5, 0x95, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x08, 
+0xe2, 0x01, 0x10, 0x01, 0xe5, 0x80, 0x10, 0x08, 0xe5, 0x95, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x51, 0x00, 0x03, 0x1a, 0xff, 0xff, 0xdd, 0xe5, 0x90, 0x00, 0x2c, 0xe5, 0x80, 0x70, 0x28, 0xe5, 0x95, 0x00, 0x08, 
+0xe7, 0x90, 0x01, 0x04, 0xe5, 0x90, 0x00, 0x2c, 0xe5, 0x80, 0x70, 0x14, 0xea, 0xff, 0xff, 0xd6, 0xe2, 0x84, 0x40, 0x01, 0xe5, 0x95, 0x00, 0x18, 0xe1, 0x50, 0x00, 0x04, 0x8a, 0xff, 0xff, 0x96, 0xea, 0xff, 0xff, 0xd1, 0xe9, 0x2d, 0x40, 0x30, 
+0xe1, 0xa0, 0x40, 0x01, 0xe1, 0xa0, 0x10, 0x04, 0xeb, 0xff, 0xff, 0x4a, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x94, 0xe0, 0x14, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x4a, 0xe5, 0x94, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x38, 0xe3, 0x52, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x0e, 0xe5, 0x94, 0x20, 0x04, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0x30, 0x04, 0xe3, 0x53, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x40, 0xe5, 0x92, 0x30, 0x08, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x3d, 0xe5, 0x92, 0x30, 0x2c, 
+0xe5, 0x93, 0x30, 0x04, 0xe1, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x39, 0xe1, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xfc, 0xda, 0xe8, 0xbd, 0x80, 0x30, 0xe5, 0x94, 0x20, 0x04, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0x30, 0x04, 0xe3, 0x13, 0x00, 0x01, 
+0x0a, 0x00, 0x00, 0x17, 0xe5, 0x92, 0xc0, 0x08, 0xe3, 0x1c, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x14, 0xe5, 0x92, 0xc0, 0x30, 0xe5, 0x9c, 0xc0, 0x04, 0xe1, 0x5c, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x10, 0xe5, 0x94, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x01, 
+0xe5, 0x90, 0x00, 0x30, 0xe5, 0x80, 0x50, 0x28, 0xe5, 0x94, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x90, 0x20, 0x04, 0xe2, 0x02, 0x20, 0x02, 0xe5, 0x80, 0x20, 0x04, 0xe5, 0x94, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x90, 0x10, 0x00, 
+0xe3, 0x51, 0x00, 0x03, 0x1a, 0xff, 0xff, 0xe4, 0xe5, 0x90, 0x00, 0x2c, 0xe5, 0x80, 0x50, 0x28, 0xea, 0xff, 0xff, 0xe1, 0xe3, 0x13, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x17, 0xe5, 0x92, 0x30, 0x08, 0xe3, 0x13, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x14, 
+0xe5, 0x92, 0x20, 0x34, 0xe5, 0x92, 0x20, 0x04, 0xe1, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x10, 0xe5, 0x94, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x90, 0x00, 0x34, 0xe5, 0x80, 0x50, 0x28, 0xe5, 0x94, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x01, 
+0xe5, 0x90, 0x20, 0x04, 0xe2, 0x02, 0x20, 0x01, 0xe5, 0x80, 0x20, 0x04, 0xe5, 0x94, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x51, 0x00, 0x03, 0x1a, 0xff, 0xff, 0xca, 0xe5, 0x90, 0x00, 0x2c, 0xe5, 0x80, 0x50, 0x28, 
+0xea, 0xff, 0xff, 0xc7, 0xe2, 0x81, 0x10, 0x01, 0xe1, 0x5e, 0x00, 0x01, 0x8a, 0xff, 0xff, 0xb2, 0xea, 0xff, 0xff, 0xc3, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x04, 0xec, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x80, 0x60, 0x04, 
+0xe3, 0xa0, 0x50, 0x00, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x3c, 0xe7, 0x90, 0x01, 0x05, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x37, 0xe3, 0x51, 0x00, 0x06, 0x90, 0x8f, 0xf1, 0x01, 0xea, 0x00, 0x00, 0x2f, 
+0xea, 0x00, 0x00, 0x2e, 0xea, 0x00, 0x00, 0x04, 0xea, 0x00, 0x00, 0x09, 0xea, 0x00, 0x00, 0x0e, 0xea, 0x00, 0x00, 0x16, 0xea, 0x00, 0x00, 0x1b, 0xea, 0x00, 0x00, 0x22, 0xe5, 0x90, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x04, 0xeb, 0xff, 0xff, 0x90, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0xbb, 0xea, 0x00, 0x00, 0x24, 0xe5, 0x90, 0x00, 0x08, 0xe1, 0xa0, 0x10, 0x04, 0xeb, 0xff, 0xff, 0x1a, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0x6e, 0xea, 0x00, 0x00, 0x1e, 0xe5, 0x90, 0x10, 0x0c, 
+0xe5, 0x90, 0x00, 0x04, 0xe1, 0xa0, 0x20, 0x04, 0xeb, 0xff, 0xfe, 0xdc, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0xae, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0x65, 0xea, 0x00, 0x00, 0x15, 0xe5, 0x90, 0x00, 0x10, 0xe1, 0xa0, 0x10, 0x04, 
+0xeb, 0xff, 0xfd, 0xf1, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0x5f, 0xea, 0x00, 0x00, 0x0f, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0x03, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0xfc, 0xe5, 0x94, 0x14, 0xec, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x00, 0x0c, 0xe1, 0xa0, 0x10, 0x04, 0xeb, 0xff, 0xfd, 0xcc, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x2d, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfb, 0xf6, 
+0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x10, 0xba, 0xff, 0xff, 0xc1, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x39, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x60, 0x0c, 0xe5, 0x94, 0x04, 0xdc, 
+0xe5, 0x80, 0x60, 0x00, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x10, 0x38, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x11, 0xe3, 0x51, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x51, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x27, 0xe5, 0x94, 0x04, 0xec, 
+0xe5, 0x80, 0x60, 0x18, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x60, 0x1c, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x60, 0x14, 0xea, 0x00, 0x00, 0x20, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x80, 0x60, 0x14, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x60, 0x18, 
+0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x60, 0x14, 0xea, 0x00, 0x00, 0x19, 0xe5, 0x90, 0x10, 0x18, 0xe5, 0x90, 0x20, 0x14, 0xe0, 0x41, 0x10, 0x02, 0xe5, 0x80, 0x10, 0x18, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x10, 0x1c, 0xe5, 0x90, 0x20, 0x14, 
+0xe0, 0x41, 0x10, 0x02, 0xe5, 0x80, 0x10, 0x1c, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x90, 0x00, 0x18, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x90, 0x00, 0x1c, 0xe5, 0x81, 0x00, 0x18, 
+0xe5, 0x94, 0x24, 0xdc, 0xe2, 0x82, 0x10, 0x18, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x50, 0x00, 0x01, 0xba, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x01, 0xe5, 0x82, 0x00, 0x14, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x1c, 0xe5, 0x94, 0x04, 0xdc, 
+0xe5, 0x94, 0x14, 0xec, 0xe5, 0x90, 0x00, 0x14, 0xe5, 0x81, 0x00, 0x4c, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0x3b, 0xe8, 0xbd, 0x80, 0x70, 0xe5, 0x90, 0x10, 0x2c, 0xe3, 0xa0, 0x30, 0x00, 0xe5, 0x81, 0x30, 0x04, 0xe5, 0x90, 0x10, 0x2c, 
+0xe5, 0x81, 0x30, 0x10, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x81, 0x30, 0x0c, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x81, 0x30, 0x08, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x81, 0x30, 0x28, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x81, 0x30, 0x14, 0xe5, 0x90, 0x10, 0x2c, 
+0xe5, 0x81, 0x30, 0x2c, 0xe5, 0x90, 0x10, 0x30, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x91, 0x10, 0x18, 0xe5, 0x92, 0x20, 0x18, 0xe1, 0x51, 0x00, 0x02, 0xba, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x10, 0x02, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x24, 
+0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x18, 0xe5, 0x80, 0x10, 0x24, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x91, 0x10, 0x18, 0xe5, 0x82, 0x10, 0x24, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x24, 0xe5, 0x90, 0x10, 0x30, 
+0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x91, 0x10, 0x18, 0xe5, 0x82, 0x10, 0x1c, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x1c, 0xe5, 0x90, 0x10, 0x34, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x91, 0x10, 0x18, 0xe5, 0x82, 0x10, 0x20, 0xe5, 0x90, 0x20, 0x30, 
+0xe5, 0x82, 0x10, 0x20, 0xe5, 0x90, 0x10, 0x30, 0xe5, 0x91, 0x10, 0x28, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x90, 0x10, 0x34, 0xe5, 0x91, 0x10, 0x28, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x01, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x10, 0x30, 0xe5, 0x91, 0x10, 0x14, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x90, 0x10, 0x34, 0xe5, 0x91, 0x10, 0x14, 
+0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x14, 0xe5, 0x90, 0x20, 0x2c, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xe5, 0x90, 0x10, 0x1c, 0xe5, 0x82, 0x10, 0x0c, 0xe5, 0x90, 0x10, 0x30, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x3c, 0xe5, 0x90, 0x10, 0x34, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x40, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 
+0xe5, 0x82, 0x10, 0x44, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x44, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x81, 0x30, 0x00, 0xe5, 0x90, 0x10, 0x34, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x91, 0x10, 0x30, 0xe5, 0x82, 0x10, 0x30, 0xe5, 0x90, 0x00, 0x2c, 
+0xe5, 0x80, 0x30, 0x38, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x2d, 0xe0, 0x04, 0xeb, 0xff, 0xff, 0x9d, 0xe4, 0x9d, 0xf0, 0x04, 0xe5, 0x91, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x00, 0xe5, 0x80, 0x20, 0x04, 0xe5, 0x91, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x04, 
+0xe5, 0x80, 0x20, 0x08, 0xe5, 0x91, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x08, 0xe5, 0x80, 0x20, 0x0c, 0xe5, 0x91, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x0c, 0xe5, 0x80, 0x20, 0x10, 0xe5, 0x91, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x10, 0xe5, 0x80, 0x20, 0x14, 
+0xe5, 0x91, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x14, 0xe5, 0x80, 0x20, 0x18, 0xe5, 0x91, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x18, 0xe5, 0x80, 0x20, 0x1c, 0xe5, 0x91, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x1c, 0xe5, 0x80, 0x20, 0x20, 0xe5, 0x91, 0x24, 0xdc, 
+0xe5, 0x92, 0x20, 0x20, 0xe5, 0x80, 0x20, 0x24, 0xe5, 0x91, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x24, 0xe5, 0x80, 0x20, 0x28, 0xe5, 0x91, 0x24, 0xdc, 0xe5, 0x92, 0x20, 0x28, 0xe5, 0x80, 0x20, 0x2c, 0xe5, 0x91, 0x14, 0xdc, 0xe5, 0x91, 0x10, 0x4c, 
+0xe5, 0x80, 0x10, 0x34, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x92, 0x30, 0x18, 0xe5, 0x80, 0x30, 0x24, 0xe5, 0x91, 0x14, 0xdc, 0xe5, 0x91, 0x30, 0x48, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x70, 
+0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x04, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x10, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x0c, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x08, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x28, 
+0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x14, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x04, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x10, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x0c, 
+0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x08, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x14, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x82, 0x10, 0x2c, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x30, 
+0xe5, 0x91, 0x10, 0x1c, 0xe5, 0x82, 0x10, 0x18, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x91, 0x10, 0x20, 0xe5, 0x82, 0x10, 0x18, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x91, 0x10, 0x24, 0xe5, 0x82, 0x10, 0x24, 
+0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x91, 0x10, 0x20, 0xe5, 0x82, 0x10, 0x20, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x20, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x91, 0x10, 0x1c, 0xe5, 0x82, 0x10, 0x1c, 
+0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x1c, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x91, 0x10, 0x24, 0xe5, 0x82, 0x10, 0x24, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x91, 0x10, 0x28, 0xe5, 0x82, 0x10, 0x28, 
+0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x28, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x91, 0x10, 0x14, 0xe5, 0x82, 0x10, 0x14, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x14, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 
+0xe5, 0x91, 0x10, 0x0c, 0xe5, 0x82, 0x10, 0x0c, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x0c, 0xe5, 0x80, 0x10, 0x1c, 0xe5, 0x90, 0x10, 0x30, 0xe3, 0xa0, 0x30, 0x01, 0xe5, 0x81, 0x30, 0x00, 0xe5, 0x90, 0x20, 0x34, 0xe3, 0xa0, 0x10, 0x02, 
+0xe5, 0x82, 0x10, 0x00, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x91, 0x10, 0x30, 0xe5, 0x82, 0x10, 0x30, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x30, 0xe5, 0x90, 0x10, 0x34, 0xe5, 0x81, 0x30, 0x38, 0xe5, 0x90, 0x10, 0x30, 
+0xe5, 0x81, 0x30, 0x38, 0xe5, 0x90, 0x10, 0x2c, 0xe5, 0x90, 0x20, 0x34, 0xe5, 0x91, 0x10, 0x34, 0xe5, 0x82, 0x10, 0x34, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x34, 0xe5, 0x90, 0x10, 0x30, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x3c, 
+0xe5, 0x90, 0x10, 0x34, 0xe5, 0x90, 0x20, 0x2c, 0xe5, 0x82, 0x10, 0x40, 0xe5, 0x90, 0x10, 0x34, 0xe5, 0x90, 0x20, 0x30, 0xe5, 0x82, 0x10, 0x40, 0xe2, 0x80, 0x20, 0x30, 0xe8, 0x92, 0x00, 0x06, 0xe5, 0x82, 0x10, 0x3c, 0xe5, 0x90, 0x10, 0x2c, 
+0xe5, 0x90, 0x00, 0x34, 0xe5, 0x80, 0x10, 0x44, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x82, 0x10, 0x3c, 0xe5, 0x90, 0x00, 0x2c, 0xe5, 0x80, 0x10, 0x40, 0xea, 0xff, 0xff, 0xfa, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 
+0xe5, 0x95, 0x04, 0xdc, 0xe3, 0xa0, 0x70, 0x01, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x27, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x40, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x6c, 
+0xe5, 0x94, 0x00, 0x34, 0xe1, 0xa0, 0x10, 0x05, 0xeb, 0xff, 0xff, 0x4d, 0xe5, 0x94, 0x10, 0x34, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x94, 0x00, 0x34, 0xe5, 0x80, 0x60, 0x38, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x80, 0x00, 0x02, 
+0xe5, 0x84, 0x00, 0x00, 0xe5, 0x95, 0x14, 0xdc, 0xe5, 0x91, 0x10, 0x24, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0f, 0xe5, 0x94, 0x10, 0x04, 0xe3, 0x81, 0x10, 0x02, 0xe5, 0x84, 0x10, 0x04, 0xe5, 0x94, 0x10, 0x0c, 0xe3, 0x81, 0x10, 0x02, 
+0xe5, 0x84, 0x10, 0x0c, 0xe5, 0x95, 0x14, 0xdc, 0xe5, 0x91, 0x10, 0x10, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x10, 0x08, 0xe3, 0x81, 0x10, 0x02, 0xe5, 0x84, 0x10, 0x08, 0xe5, 0x95, 0x14, 0xdc, 0xe5, 0x91, 0x10, 0x08, 
+0xe5, 0x84, 0x10, 0x1c, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x46, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x2a, 0xea, 0x00, 0x00, 0x46, 0xe5, 0x94, 0x00, 0x2c, 0xe1, 0xa0, 0x10, 0x05, 0xeb, 0xff, 0xff, 0x29, 0xe5, 0x94, 0x00, 0x2c, 
+0xe5, 0x80, 0x60, 0x00, 0xe5, 0x94, 0x00, 0x2c, 0xe5, 0x80, 0x70, 0x38, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x84, 0x00, 0x00, 0xe5, 0x95, 0x14, 0xdc, 0xe5, 0x91, 0x10, 0x24, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe5, 0x84, 0x00, 0x04, 
+0xe5, 0x84, 0x00, 0x0c, 0xe5, 0x95, 0x14, 0xdc, 0xe5, 0x91, 0x10, 0x10, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x84, 0x00, 0x08, 0xe5, 0x95, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x08, 0xe5, 0x84, 0x00, 0x1c, 0xe1, 0xa0, 0x10, 0x05, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x37, 0xea, 0x00, 0x00, 0x2d, 0xe5, 0x94, 0x00, 0x30, 0xe1, 0xa0, 0x10, 0x05, 0xeb, 0xff, 0xff, 0x0e, 0xe5, 0x94, 0x00, 0x30, 0xe5, 0x80, 0x70, 0x00, 0xe5, 0x94, 0x00, 0x30, 0xe5, 0x80, 0x60, 0x38, 
+0xe5, 0x94, 0x00, 0x00, 0xe3, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x00, 0xe5, 0x95, 0x14, 0xdc, 0xe5, 0x91, 0x10, 0x24, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0f, 0xe5, 0x94, 0x10, 0x04, 0xe3, 0x81, 0x10, 0x01, 0xe5, 0x84, 0x10, 0x04, 
+0xe5, 0x94, 0x10, 0x0c, 0xe3, 0x81, 0x10, 0x01, 0xe5, 0x84, 0x10, 0x0c, 0xe5, 0x95, 0x14, 0xdc, 0xe5, 0x91, 0x10, 0x10, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x10, 0x08, 0xe3, 0x81, 0x10, 0x01, 0xe5, 0x84, 0x10, 0x08, 
+0xe5, 0x95, 0x14, 0xdc, 0xe5, 0x91, 0x10, 0x08, 0xe5, 0x84, 0x10, 0x1c, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0xec, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x95, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x14, 
+0xe5, 0x84, 0x00, 0x24, 0xe5, 0x94, 0x00, 0x2c, 0xe5, 0x80, 0x60, 0x34, 0xea, 0x00, 0x00, 0x04, 0xe5, 0x95, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x14, 0xe5, 0x84, 0x00, 0x24, 0xe5, 0x94, 0x00, 0x2c, 0xe5, 0x80, 0x60, 0x34, 0xe5, 0x95, 0x04, 0xdc, 
+0xe5, 0x90, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x14, 0xe5, 0x95, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x28, 0xe5, 0x84, 0x00, 0x20, 0xe8, 0xbd, 0x80, 0xf0, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xeb, 0x00, 0x1a, 0x4e, 
+0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x11, 0x03, 0xe5, 0x80, 0x10, 0x1c, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x24, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x00, 0x24, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xf3, 0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x90, 0x14, 0x10, 0xe5, 0x84, 0x10, 0x28, 0xe5, 0x94, 0x10, 0x0c, 0xe5, 0x90, 0x04, 0x10, 0xe1, 0x51, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfa, 0x14, 0xe3, 0xa0, 0x30, 0x00, 0xe5, 0x84, 0x30, 0x10, 0xe5, 0x84, 0x30, 0x2c, 0xe5, 0x84, 0x30, 0x14, 0xe5, 0x84, 0x30, 0x18, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe0, 0x84, 0x21, 0x01, 
+0xe5, 0x92, 0xc5, 0x08, 0xe7, 0x8c, 0x31, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x21, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x82, 0x31, 0xbc, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x02, 0x3a, 0xff, 0xff, 0xf4, 0xe3, 0xa0, 0x01, 0x03, 
+0xe5, 0x84, 0x00, 0x1c, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x80, 0x30, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x24, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe3, 0xa0, 0x3d, 0x06, 0xe0, 0x05, 0x00, 0x93, 0xe3, 0xa0, 0x40, 0x00, 
+0xe5, 0x9f, 0x0e, 0x0c, 0xe3, 0x52, 0x00, 0x1e, 0x0a, 0x00, 0x00, 0x33, 0xca, 0x00, 0x00, 0x11, 0xe2, 0x42, 0x20, 0x0a, 0xe5, 0x9f, 0x1d, 0xfc, 0xe3, 0x52, 0x00, 0x0c, 0x90, 0x8f, 0xf1, 0x02, 0xea, 0x00, 0x00, 0x43, 0xea, 0x00, 0x00, 0x1e, 
+0xea, 0x00, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x20, 0xea, 0x00, 0x00, 0x21, 0xea, 0x00, 0x00, 0x3e, 0xea, 0x00, 0x00, 0x3d, 0xea, 0x00, 0x00, 0x3c, 0xea, 0x00, 0x00, 0x3b, 0xea, 0x00, 0x00, 0x3a, 0xea, 0x00, 0x00, 0x39, 0xea, 0x00, 0x00, 0x1c, 
+0xea, 0x00, 0x00, 0x1d, 0xea, 0x00, 0x00, 0x1e, 0xe3, 0x52, 0x00, 0x29, 0x0a, 0x00, 0x00, 0x24, 0xca, 0x00, 0x00, 0x07, 0xe3, 0x52, 0x00, 0x1f, 0x0a, 0x00, 0x00, 0x1d, 0xe3, 0x52, 0x00, 0x20, 0x0a, 0x00, 0x00, 0x1d, 0xe3, 0x52, 0x00, 0x28, 
+0x1a, 0x00, 0x00, 0x2d, 0xe3, 0xa0, 0x45, 0x03, 0xea, 0x00, 0x00, 0x2d, 0xe3, 0x52, 0x00, 0x2a, 0x0a, 0x00, 0x00, 0x1b, 0xe3, 0x52, 0x00, 0x32, 0x0a, 0x00, 0x00, 0x25, 0xe3, 0x52, 0x00, 0x33, 0x1a, 0x00, 0x00, 0x25, 0xe5, 0x9f, 0x4d, 0x78, 
+0xea, 0x00, 0x00, 0x25, 0xe5, 0x9f, 0x4d, 0x74, 0xea, 0x00, 0x00, 0x23, 0xe5, 0x9f, 0x4d, 0x70, 0xea, 0x00, 0x00, 0x21, 0xe1, 0xa0, 0x40, 0x01, 0xea, 0x00, 0x00, 0x1f, 0xe1, 0xa0, 0x40, 0x01, 0xea, 0x00, 0x00, 0x1d, 0xe1, 0xa0, 0x40, 0x01, 
+0xea, 0x00, 0x00, 0x1b, 0xe5, 0x9f, 0x4d, 0x54, 0xea, 0x00, 0x00, 0x19, 0xe1, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x17, 0xe1, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x15, 0xe5, 0x9f, 0x4d, 0x40, 0xea, 0x00, 0x00, 0x13, 0xe3, 0xa0, 0x47, 0x1e, 
+0xea, 0x00, 0x00, 0x11, 0xe3, 0xa0, 0x45, 0x03, 0xea, 0x00, 0x00, 0x0f, 0xe3, 0x51, 0x00, 0x64, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x51, 0x00, 0x6e, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x51, 0x00, 0x7a, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x51, 0x00, 0x90, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x47, 0x33, 0xea, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x45, 0x03, 0xea, 0x00, 0x00, 0x03, 0xe5, 0x9f, 0x4c, 0xfc, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xf9, 0xa9, 0xe1, 0xa0, 0x10, 0x05, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x1b, 0x33, 0xe3, 0x50, 0x00, 0x10, 0xba, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x10, 0xe8, 0xbd, 0x80, 0x70, 0xe5, 0x90, 0x10, 0x28, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x00, 0x14, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfc, 0xe5, 0x90, 0x10, 0x28, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x00, 0x14, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfc, 0xe9, 0x2d, 0x4f, 0xf8, 0xe1, 0xa0, 0xb0, 0x00, 0xe5, 0x9d, 0x00, 0x2c, 0xe5, 0x9d, 0x60, 0x28, 
+0xe1, 0xa0, 0xa0, 0x03, 0xe1, 0xa0, 0x80, 0x02, 0xe1, 0xa0, 0x70, 0x01, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe2, 0x4f, 0x90, 0x5c, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x4f, 0x90, 0x8c, 
+0xe3, 0x5b, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x2f, 0xea, 0x00, 0x00, 0x2a, 0xe7, 0x97, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x11, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0d, 0xe5, 0x90, 0x00, 0x30, 0xe1, 0xa0, 0xe0, 0x0f, 0xe1, 0x2f, 0xff, 0x19, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe7, 0x97, 0x01, 0x04, 0xe5, 0x96, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x30, 0xe7, 0x8a, 0x01, 0x01, 0xe5, 0x96, 0x00, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x86, 0x00, 0x00, 0xe2, 0x84, 0x40, 0x01, 
+0xea, 0x00, 0x00, 0x16, 0xe2, 0x84, 0x40, 0x01, 0xe1, 0x54, 0x00, 0x08, 0xba, 0xff, 0xff, 0xea, 0xea, 0x00, 0x00, 0x12, 0xe7, 0x97, 0x01, 0x05, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x11, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x0d, 0xe5, 0x90, 0x00, 0x34, 
+0xe1, 0xa0, 0xe0, 0x0f, 0xe1, 0x2f, 0xff, 0x19, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe7, 0x97, 0x01, 0x05, 0xe5, 0x96, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x34, 0xe7, 0x8a, 0x01, 0x01, 0xe5, 0x96, 0x00, 0x00, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x86, 0x00, 0x00, 0xe2, 0x85, 0x50, 0x01, 0xea, 0x00, 0x00, 0x02, 0xe2, 0x85, 0x50, 0x01, 0xe1, 0x55, 0x00, 0x08, 0xba, 0xff, 0xff, 0xea, 0xe1, 0x54, 0x00, 0x08, 0xba, 0xff, 0xff, 0xe5, 0xe1, 0x55, 0x00, 0x08, 0xba, 0xff, 0xff, 0xe3, 
+0xe3, 0x5b, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x2f, 0xea, 0x00, 0x00, 0x2a, 0xe7, 0x97, 0x01, 0x05, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x11, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x0d, 0xe5, 0x90, 0x00, 0x34, 0xe1, 0xa0, 0xe0, 0x0f, 0xe1, 0x2f, 0xff, 0x19, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe7, 0x97, 0x01, 0x05, 0xe5, 0x96, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x34, 0xe7, 0x8a, 0x01, 0x01, 0xe5, 0x96, 0x00, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x86, 0x00, 0x00, 0xe2, 0x85, 0x50, 0x01, 
+0xea, 0x00, 0x00, 0x16, 0xe2, 0x85, 0x50, 0x01, 0xe1, 0x55, 0x00, 0x08, 0xba, 0xff, 0xff, 0xea, 0xea, 0x00, 0x00, 0x12, 0xe7, 0x97, 0x01, 0x04, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x11, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0d, 0xe5, 0x90, 0x00, 0x30, 
+0xe1, 0xa0, 0xe0, 0x0f, 0xe1, 0x2f, 0xff, 0x19, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe7, 0x97, 0x01, 0x04, 0xe5, 0x96, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x30, 0xe7, 0x8a, 0x01, 0x01, 0xe5, 0x96, 0x00, 0x00, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x86, 0x00, 0x00, 0xe2, 0x84, 0x40, 0x01, 0xea, 0x00, 0x00, 0x02, 0xe2, 0x84, 0x40, 0x01, 0xe1, 0x54, 0x00, 0x08, 0xba, 0xff, 0xff, 0xea, 0xe1, 0x54, 0x00, 0x08, 0xba, 0xff, 0xff, 0xe5, 0xe1, 0x55, 0x00, 0x08, 0xba, 0xff, 0xff, 0xe3, 
+0xe8, 0xbd, 0x8f, 0xf8, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x91, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x1c, 0xe5, 0x91, 0x10, 0x1c, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0xda, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xfb, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x91, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x24, 0xe5, 0x91, 0x10, 0x24, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 
+0xe3, 0xe0, 0x00, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xfb, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x91, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x24, 
+0xe5, 0x91, 0x10, 0x24, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfb, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 
+0xe5, 0x90, 0x00, 0x00, 0xe5, 0x91, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x08, 0xe5, 0x91, 0x10, 0x08, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 
+0xea, 0xff, 0xff, 0xfb, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x91, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x18, 0xe5, 0x91, 0x10, 0x18, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 
+0xe1, 0x2f, 0xff, 0x1e, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xfb, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x91, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x18, 0xe5, 0x91, 0x10, 0x18, 
+0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfb, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe5, 0x90, 0x00, 0x00, 
+0xe5, 0x91, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x18, 0xe5, 0x91, 0x10, 0x18, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfb, 
+0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x91, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe5, 0x91, 0x10, 0x04, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 
+0xda, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfb, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe9, 0x2d, 0x47, 0xfc, 0xe1, 0xa0, 0x70, 0x01, 0xe1, 0xa0, 0x40, 0x02, 0xe3, 0xa0, 0x30, 0x00, 0xe3, 0xa0, 0xc0, 0x00, 
+0xe5, 0x94, 0x14, 0xe8, 0xe3, 0xa0, 0xa0, 0x01, 0xe5, 0x91, 0x13, 0xf4, 0xe2, 0x81, 0x10, 0x04, 0xe1, 0xa0, 0x81, 0x1a, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x31, 0xe3, 0xa0, 0x10, 0x00, 
+0xea, 0x00, 0x00, 0x1a, 0xe5, 0x94, 0x20, 0x04, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0x30, 0x00, 0xe3, 0x53, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x14, 0xe5, 0x92, 0x30, 0x2c, 0xe5, 0x93, 0xc0, 0x28, 0xe3, 0x5c, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x10, 
+0xe5, 0x93, 0x30, 0x14, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0d, 0xe5, 0x94, 0xc4, 0xf4, 0xe5, 0x92, 0x30, 0x14, 0xe5, 0x9c, 0xc0, 0x10, 0xe1, 0x53, 0x00, 0x0c, 0x9a, 0x00, 0x00, 0x02, 0xe0, 0x43, 0x30, 0x08, 0xe5, 0x82, 0x30, 0x18, 
+0xea, 0x00, 0x00, 0x00, 0xe5, 0x82, 0x30, 0x18, 0xe5, 0x94, 0x20, 0x04, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0x30, 0x18, 0xe5, 0x92, 0x20, 0x2c, 0xe5, 0x82, 0x30, 0x04, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x94, 0x20, 0x14, 0xe1, 0x52, 0x00, 0x01, 
+0x8a, 0xff, 0xff, 0xe1, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x94, 0x20, 0x08, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0x30, 0x00, 0xe3, 0x53, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x92, 0x20, 0x2c, 0xe5, 0x92, 0x30, 0x14, 
+0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x92, 0x30, 0x0c, 0xe5, 0x82, 0x30, 0x08, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x94, 0x20, 0x18, 0xe1, 0x52, 0x00, 0x01, 0x8a, 0xff, 0xff, 0xf0, 0xea, 0x00, 0x00, 0x42, 0xe3, 0x57, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0xc0, 0x01, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x20, 0xe5, 0x94, 0x20, 0x04, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0xe0, 0x04, 0xe3, 0x5e, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x1a, 0xe5, 0x94, 0x94, 0xf4, 0xe5, 0x92, 0xe0, 0x14, 0xe5, 0x99, 0x90, 0x10, 0xe1, 0x5e, 0x00, 0x09, 0x9a, 0x00, 0x00, 0x02, 0xe0, 0x4e, 0xe0, 0x08, 0xe5, 0x82, 0xe0, 0x18, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x82, 0xe0, 0x18, 
+0xe5, 0x94, 0x20, 0x04, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0xe0, 0x04, 0xe3, 0x1e, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x92, 0xe0, 0x18, 0xe5, 0x92, 0x20, 0x30, 0xe0, 0x83, 0xe0, 0x8e, 0xe5, 0x82, 0xe0, 0x04, 0xe5, 0x94, 0x20, 0x04, 
+0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0xe0, 0x04, 0xe3, 0x1e, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x92, 0xe0, 0x18, 0xe5, 0x92, 0x20, 0x34, 0xe0, 0x8c, 0xe0, 0x8e, 0xe5, 0x82, 0xe0, 0x04, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x94, 0x20, 0x14, 
+0xe1, 0x52, 0x00, 0x01, 0x8a, 0xff, 0xff, 0xdb, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x12, 0xe5, 0x94, 0x20, 0x08, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0xe0, 0x08, 0xe3, 0x1e, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x92, 0x20, 0x30, 
+0xe5, 0x92, 0xe0, 0x0c, 0xe0, 0x83, 0xe0, 0x8e, 0xe5, 0x82, 0xe0, 0x08, 0xe5, 0x94, 0x20, 0x08, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0xe0, 0x08, 0xe3, 0x1e, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x92, 0x20, 0x34, 0xe5, 0x92, 0xe0, 0x0c, 
+0xe0, 0x8c, 0xe0, 0x8e, 0xe5, 0x82, 0xe0, 0x08, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x94, 0x20, 0x18, 0xe1, 0x52, 0x00, 0x01, 0x8a, 0xff, 0xff, 0xe9, 0xe3, 0x50, 0x00, 0x02, 0xe3, 0xa0, 0x80, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x04, 
+0x1a, 0x00, 0x00, 0x02, 0xe5, 0x84, 0x81, 0xbc, 0xe5, 0x84, 0x81, 0xc0, 0xe8, 0xbd, 0x87, 0xfc, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x73, 0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x38, 
+0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x10, 0xe5, 0x94, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x91, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x91, 0x20, 0x28, 0xe3, 0x52, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x06, 0xe5, 0x91, 0x20, 0x14, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x35, 0x08, 0xe1, 0xa0, 0x20, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe7, 0x83, 0x11, 0x02, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x14, 
+0xe1, 0x51, 0x00, 0x00, 0x8a, 0xff, 0xff, 0xeb, 0xe5, 0x94, 0x05, 0x08, 0xe2, 0x4f, 0x3f, 0xb7, 0xe3, 0xa0, 0x20, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xeb, 0x00, 0x19, 0x1d, 0xe5, 0x84, 0x51, 0xbc, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x0d, 
+0xe5, 0x94, 0x10, 0x08, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x91, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x91, 0x20, 0x14, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x35, 0x08, 
+0xe1, 0xa0, 0x20, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe7, 0x83, 0x11, 0x02, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x18, 0xe1, 0x51, 0x00, 0x00, 0x8a, 0xff, 0xff, 0xee, 0xe5, 0x94, 0x05, 0x08, 0xe5, 0x94, 0x11, 0xbc, 0xe2, 0x4f, 0x3f, 0xfe, 
+0xe0, 0x80, 0x01, 0x01, 0xe0, 0x45, 0x10, 0x01, 0xe2, 0x43, 0x30, 0x1c, 0xe3, 0xa0, 0x20, 0x04, 0xeb, 0x00, 0x19, 0x01, 0xe5, 0x84, 0x51, 0xbc, 0xea, 0x00, 0x00, 0x36, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x10, 0x04, 
+0xe7, 0x91, 0x11, 0x00, 0xe5, 0x91, 0x20, 0x04, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x34, 0xfc, 0xe1, 0xa0, 0x20, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe7, 0x83, 0x11, 0x02, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x14, 
+0xe1, 0x51, 0x00, 0x00, 0x8a, 0xff, 0xff, 0xf2, 0xe5, 0x94, 0x04, 0xfc, 0xe2, 0x4f, 0x3f, 0xf6, 0xe3, 0xa0, 0x20, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xeb, 0x00, 0x18, 0xeb, 0xe5, 0x84, 0x81, 0xbc, 0xe3, 0xa0, 0x30, 0x00, 0xe2, 0x84, 0x2f, 0x6f, 
+0xe8, 0x8d, 0x00, 0x0c, 0xe5, 0x94, 0x14, 0xfc, 0xe5, 0x94, 0x35, 0x08, 0xe1, 0xa0, 0x20, 0x05, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfe, 0x3d, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x10, 0x18, 0xe1, 0x51, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x07, 
+0xe5, 0x94, 0x10, 0x08, 0xe5, 0x94, 0x35, 0x04, 0xe7, 0x91, 0x21, 0x00, 0xe1, 0xa0, 0x10, 0x06, 0xe2, 0x86, 0x60, 0x01, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf4, 0xe2, 0x4f, 0x3b, 0x01, 0xe5, 0x94, 0x05, 0x04, 
+0xe2, 0x43, 0x3f, 0x5d, 0xe3, 0xa0, 0x20, 0x04, 0xe1, 0xa0, 0x10, 0x06, 0xeb, 0x00, 0x18, 0xd0, 0xe3, 0xa0, 0x30, 0x01, 0xe2, 0x84, 0x2f, 0x6f, 0xe8, 0x8d, 0x00, 0x0c, 0xe2, 0x84, 0x3c, 0x05, 0xe9, 0x93, 0x00, 0x0a, 0xe1, 0xa0, 0x20, 0x06, 
+0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfe, 0x23, 0xe5, 0x84, 0x81, 0xc0, 0xea, 0x00, 0x01, 0x06, 0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x84, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x15, 0xe5, 0x94, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x00, 
+0xe5, 0x91, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x91, 0x20, 0x28, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0b, 0xe5, 0x91, 0x20, 0x14, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 
+0xe5, 0x94, 0x34, 0xec, 0xe5, 0x91, 0x20, 0x18, 0xe5, 0x93, 0x30, 0x1c, 0xe1, 0x52, 0x00, 0x03, 0xca, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x35, 0x08, 0xe1, 0xa0, 0x20, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe7, 0x83, 0x11, 0x02, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x94, 0x10, 0x14, 0xe1, 0x51, 0x00, 0x00, 0x8a, 0xff, 0xff, 0xe6, 0xe2, 0x4f, 0x3b, 0x01, 0xe5, 0x94, 0x05, 0x08, 0xe2, 0x43, 0x3f, 0x49, 0xe3, 0xa0, 0x20, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xeb, 0x00, 0x18, 0xa3, 0xe1, 0xa0, 0x60, 0x05, 
+0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x15, 0xe5, 0x94, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x91, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x91, 0x20, 0x28, 0xe3, 0x52, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x0b, 0xe5, 0x91, 0x20, 0x14, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x94, 0x34, 0xec, 0xe5, 0x91, 0x20, 0x18, 0xe5, 0x93, 0x30, 0x1c, 0xe1, 0x52, 0x00, 0x03, 0xda, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x35, 0x08, 
+0xe1, 0xa0, 0x20, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe7, 0x83, 0x11, 0x02, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x14, 0xe1, 0x51, 0x00, 0x00, 0x8a, 0xff, 0xff, 0xe6, 0xe5, 0x94, 0x05, 0x08, 0xe0, 0x45, 0x10, 0x06, 0xe0, 0x80, 0x01, 0x06, 
+0xe1, 0xa0, 0x70, 0x01, 0xe2, 0x4f, 0x3e, 0x5f, 0xe3, 0xa0, 0x20, 0x04, 0xeb, 0x00, 0x18, 0x80, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x06, 0xaa, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x15, 0x08, 0xe5, 0x94, 0x25, 0x0c, 0xe7, 0x91, 0x11, 0x00, 
+0xe0, 0x87, 0x30, 0x00, 0xe7, 0x82, 0x11, 0x03, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf6, 0xe1, 0xa0, 0x00, 0x06, 0xe1, 0x50, 0x00, 0x05, 0xaa, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x15, 0x08, 0xe5, 0x94, 0x25, 0x0c, 0xe7, 0x91, 0x11, 0x00, 
+0xe0, 0x40, 0x30, 0x06, 0xe7, 0x82, 0x11, 0x03, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf6, 0xe5, 0x84, 0x51, 0xc0, 0xe5, 0x84, 0x51, 0xbc, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x12, 0xe5, 0x94, 0x10, 0x08, 0xe7, 0x91, 0x11, 0x00, 
+0xe5, 0x91, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0c, 0xe5, 0x91, 0x10, 0x2c, 0xe5, 0x91, 0x20, 0x14, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe5, 0x94, 0x25, 0x08, 0xe7, 0x82, 0x11, 0x05, 0xe5, 0x94, 0x10, 0x08, 
+0xe5, 0x94, 0x35, 0x0c, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x91, 0x20, 0x2c, 0xe1, 0xa0, 0x10, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x18, 0xe1, 0x51, 0x00, 0x00, 0x8a, 0xff, 0xff, 0xe9, 
+0xe5, 0x94, 0x05, 0x08, 0xe5, 0x94, 0x11, 0xbc, 0xe2, 0x4f, 0x3f, 0xfe, 0xe0, 0x80, 0x01, 0x01, 0xe0, 0x45, 0x10, 0x01, 0xe2, 0x43, 0x3f, 0xbe, 0xe3, 0xa0, 0x20, 0x04, 0xeb, 0x00, 0x18, 0x4a, 0xe5, 0x94, 0x05, 0x0c, 0xe5, 0x94, 0x11, 0xbc, 
+0xe2, 0x4f, 0x3f, 0xfe, 0xe0, 0x80, 0x01, 0x01, 0xe0, 0x45, 0x10, 0x01, 0xe2, 0x43, 0x3f, 0xc6, 0xe3, 0xa0, 0x20, 0x04, 0xeb, 0x00, 0x18, 0x42, 0xe5, 0x84, 0x51, 0xc0, 0xe5, 0x84, 0x51, 0xbc, 0xea, 0x00, 0x00, 0x7f, 0xe5, 0x84, 0x81, 0xbc, 
+0xe5, 0x84, 0xa1, 0xc0, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x0e, 0xe5, 0x94, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x00, 0xe5, 0x91, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe5, 0x94, 0x34, 0xec, 0xe5, 0x91, 0x20, 0x24, 
+0xe5, 0x93, 0x30, 0x4c, 0xe1, 0x52, 0x00, 0x03, 0xca, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x34, 0xfc, 0xe1, 0xa0, 0x20, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe7, 0x83, 0x11, 0x02, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x14, 0xe1, 0x51, 0x00, 0x00, 
+0x8a, 0xff, 0xff, 0xed, 0xe2, 0x4f, 0x3d, 0x1f, 0xe3, 0xa0, 0x20, 0x04, 0xe5, 0x94, 0x04, 0xfc, 0xe1, 0xa0, 0x10, 0x05, 0xeb, 0x00, 0x18, 0x24, 0xe1, 0xa0, 0x90, 0x05, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x0e, 0xe5, 0x94, 0x10, 0x04, 
+0xe7, 0x91, 0x11, 0x00, 0xe5, 0x91, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe5, 0x94, 0x34, 0xec, 0xe5, 0x91, 0x20, 0x24, 0xe5, 0x93, 0x30, 0x4c, 0xe1, 0x52, 0x00, 0x03, 0xda, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x34, 0xfc, 
+0xe1, 0xa0, 0x20, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe7, 0x83, 0x11, 0x02, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x14, 0xe1, 0x51, 0x00, 0x00, 0x8a, 0xff, 0xff, 0xed, 0xe5, 0x94, 0x04, 0xfc, 0xe0, 0x80, 0x01, 0x09, 0xe0, 0x45, 0x10, 0x09, 
+0xe1, 0xa0, 0xa0, 0x01, 0xe2, 0x4f, 0x3b, 0x02, 0xe2, 0x43, 0x30, 0x6c, 0xe3, 0xa0, 0x20, 0x04, 0xeb, 0x00, 0x18, 0x07, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x09, 0xaa, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x14, 0xfc, 0xe5, 0x94, 0x25, 0x00, 
+0xe7, 0x91, 0x11, 0x00, 0xe0, 0x8a, 0x30, 0x00, 0xe7, 0x82, 0x11, 0x03, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf6, 0xe1, 0xa0, 0x00, 0x09, 0xe1, 0x50, 0x00, 0x05, 0xaa, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x14, 0xfc, 0xe5, 0x94, 0x25, 0x00, 
+0xe7, 0x91, 0x11, 0x00, 0xe0, 0x40, 0x30, 0x09, 0xe7, 0x82, 0x11, 0x03, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf6, 0xe5, 0x84, 0x81, 0xbc, 0xe5, 0x84, 0x81, 0xc0, 0xe3, 0xa0, 0x30, 0x00, 0xe2, 0x84, 0x2f, 0x6f, 0xe8, 0x8d, 0x00, 0x0c, 
+0xe5, 0x94, 0x14, 0xfc, 0xe5, 0x94, 0x35, 0x08, 0xe1, 0xa0, 0x20, 0x05, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfd, 0x44, 0xe3, 0xa0, 0x30, 0x00, 0xe2, 0x84, 0x2d, 0x07, 0xe8, 0x8d, 0x00, 0x0c, 0xe5, 0x94, 0x15, 0x00, 0xe5, 0x94, 0x35, 0x0c, 
+0xe1, 0xa0, 0x20, 0x05, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfd, 0x3c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x10, 0x18, 0xe1, 0x51, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x07, 0xe5, 0x94, 0x10, 0x08, 0xe5, 0x94, 0x35, 0x04, 0xe7, 0x91, 0x21, 0x00, 
+0xe1, 0xa0, 0x10, 0x06, 0xe2, 0x86, 0x60, 0x01, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf4, 0xe2, 0x4f, 0x3b, 0x02, 0xe5, 0x94, 0x05, 0x04, 0xe2, 0x43, 0x3f, 0x5e, 0xe3, 0xa0, 0x20, 0x04, 0xe1, 0xa0, 0x10, 0x06, 
+0xeb, 0x00, 0x17, 0xcf, 0xe3, 0xa0, 0x30, 0x01, 0xe2, 0x84, 0x2f, 0x6f, 0xe8, 0x8d, 0x00, 0x0c, 0xe2, 0x84, 0x3c, 0x05, 0xe9, 0x93, 0x00, 0x0a, 0xe1, 0xa0, 0x20, 0x06, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfd, 0x22, 0xe3, 0xa0, 0x30, 0x01, 
+0xe2, 0x84, 0x2d, 0x07, 0xe8, 0x8d, 0x00, 0x0c, 0xe5, 0x94, 0x15, 0x04, 0xe5, 0x94, 0x35, 0x0c, 0xe1, 0xa0, 0x20, 0x06, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfd, 0x1a, 0xe5, 0x94, 0x01, 0xc0, 0xe5, 0x94, 0x21, 0xbc, 0xe1, 0x52, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x16, 0xe3, 0x52, 0x00, 0x01, 0xda, 0x00, 0x00, 0x14, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x07, 0xe5, 0x94, 0x35, 0x08, 0xe5, 0x94, 0xc5, 0x0c, 0xe7, 0x93, 0x31, 0x00, 0xe7, 0x9c, 0xc1, 0x00, 
+0xe1, 0x53, 0x00, 0x0c, 0x0a, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x01, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0x52, 0x00, 0x00, 0xca, 0xff, 0xff, 0xf5, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x05, 0x0c, 0xe5, 0x90, 0x10, 0x00, 
+0xe5, 0x90, 0x20, 0x04, 0xe5, 0x80, 0x20, 0x00, 0xe5, 0x94, 0x05, 0x0c, 0xe5, 0x80, 0x10, 0x04, 0xe5, 0x94, 0x24, 0xf4, 0xe5, 0x94, 0x01, 0xbc, 0xe5, 0x92, 0x10, 0x48, 0xe1, 0x50, 0x00, 0x01, 0xba, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x01, 
+0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x01, 0xbc, 0xe5, 0x94, 0x01, 0xc0, 0xe5, 0x92, 0x20, 0x4c, 0xe1, 0x50, 0x00, 0x02, 0xba, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x02, 0xe5, 0x84, 0x01, 0xc0, 0xe3, 0x51, 0x00, 0x21, 0x2a, 0x00, 0x00, 0x03, 
+0xe5, 0x94, 0x05, 0x08, 0xe7, 0x80, 0x81, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xea, 0xff, 0xff, 0xf9, 0xe5, 0x94, 0x01, 0xc0, 0xe3, 0x50, 0x00, 0x21, 0x2a, 0xff, 0xfe, 0x4d, 0xe5, 0x94, 0x15, 0x0c, 0xe7, 0x81, 0x81, 0x00, 0xe2, 0x80, 0x00, 0x01, 
+0xea, 0xff, 0xff, 0xf9, 0x00, 0x2f, 0x76, 0x00, 0x00, 0x0d, 0xec, 0x00, 0x04, 0x38, 0x00, 0x00, 0x00, 0x02, 0x52, 0x00, 0x00, 0x05, 0x46, 0x00, 0x00, 0x1b, 0xd8, 0x00, 0x00, 0x69, 0x78, 0x00, 0x02, 0x86, 0xe0, 0x00, 0xe9, 0x2d, 0x40, 0x30, 
+0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x91, 0x50, 0x18, 0xea, 0x00, 0x00, 0x31, 0xe5, 0x91, 0x34, 0xf4, 0xe5, 0x93, 0x30, 0x1c, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x91, 0x30, 0x08, 0xe7, 0x93, 0x31, 0x02, 0xe5, 0x93, 0xc0, 0x04, 
+0xe3, 0x5c, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x27, 0xe5, 0x93, 0x30, 0x2c, 0xe5, 0x93, 0xc0, 0x14, 0xe3, 0x5c, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x23, 0xe5, 0x93, 0x30, 0x08, 0xe1, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x20, 0xe5, 0x91, 0x00, 0x08, 
+0xe7, 0x90, 0x01, 0x02, 0xe5, 0x90, 0x00, 0x2c, 0xe8, 0xbd, 0x80, 0x30, 0xe5, 0x91, 0x30, 0x08, 0xe7, 0x93, 0x31, 0x02, 0xe5, 0x93, 0xc0, 0x04, 0xe3, 0x1c, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x93, 0xe0, 0x30, 0xe5, 0x9e, 0x40, 0x14, 
+0xe3, 0x54, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x9e, 0xe0, 0x08, 0xe1, 0x5e, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x91, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x02, 0xe5, 0x90, 0x00, 0x30, 0xea, 0xff, 0xff, 0xee, 0xe3, 0x1c, 0x00, 0x02, 
+0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x93, 0x30, 0x34, 0xe5, 0x93, 0xc0, 0x14, 0xe3, 0x5c, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x93, 0x30, 0x08, 0xe1, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x91, 0x00, 0x08, 0xe7, 0x90, 0x01, 0x02, 
+0xe5, 0x90, 0x00, 0x34, 0xea, 0xff, 0xff, 0xe1, 0xe2, 0x82, 0x20, 0x01, 0xe1, 0x55, 0x00, 0x02, 0x8a, 0xff, 0xff, 0xcb, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xdc, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x60, 0x01, 0xe5, 0x9d, 0x10, 0x14, 
+0xe1, 0xa0, 0x70, 0x02, 0xe1, 0xa0, 0x50, 0x03, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xff, 0xbd, 0xe2, 0x86, 0x10, 0x01, 0xe5, 0x95, 0x20, 0x00, 0xe1, 0x52, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x04, 0xe2, 0x41, 0x20, 0x01, 
+0xe7, 0x94, 0x21, 0x02, 0xe7, 0x84, 0x21, 0x01, 0xe2, 0x41, 0x10, 0x01, 0xea, 0xff, 0xff, 0xf7, 0xe5, 0x95, 0x10, 0x00, 0xe2, 0x81, 0x20, 0x01, 0xe5, 0x85, 0x20, 0x00, 0xe7, 0x84, 0x01, 0x01, 0xe5, 0x95, 0x00, 0x00, 0xe1, 0xa0, 0x10, 0x00, 
+0xe2, 0x86, 0xc0, 0x01, 0xea, 0x00, 0x00, 0x0c, 0xe7, 0x94, 0x21, 0x00, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe5, 0x92, 0x30, 0x14, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x92, 0x30, 0x08, 0xe1, 0x53, 0x00, 0x07, 
+0x0a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x30, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe7, 0x84, 0x21, 0x03, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0x50, 0x00, 0x0c, 0xda, 0xff, 0xff, 0xf0, 0xe8, 0xbd, 0x80, 0xf0, 0xe9, 0x2d, 0x40, 0x30, 0xe3, 0xa0, 0x20, 0x00, 
+0xe5, 0x91, 0x50, 0x14, 0xea, 0x00, 0x00, 0x31, 0xe5, 0x91, 0x34, 0xf4, 0xe5, 0x93, 0x30, 0x1c, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x91, 0x30, 0x04, 0xe7, 0x93, 0x31, 0x02, 0xe5, 0x93, 0xc0, 0x04, 0xe3, 0x5c, 0x00, 0x03, 
+0x1a, 0x00, 0x00, 0x27, 0xe5, 0x93, 0x30, 0x2c, 0xe5, 0x93, 0xc0, 0x14, 0xe3, 0x5c, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x23, 0xe5, 0x93, 0x30, 0x04, 0xe1, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x20, 0xe5, 0x91, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x02, 
+0xe5, 0x90, 0x00, 0x2c, 0xe8, 0xbd, 0x80, 0x30, 0xe5, 0x91, 0x30, 0x04, 0xe7, 0x93, 0x31, 0x02, 0xe5, 0x93, 0xc0, 0x04, 0xe3, 0x1c, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x93, 0xe0, 0x30, 0xe5, 0x9e, 0x40, 0x14, 0xe3, 0x54, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9e, 0xe0, 0x04, 0xe1, 0x5e, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x91, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x02, 0xe5, 0x90, 0x00, 0x30, 0xea, 0xff, 0xff, 0xee, 0xe3, 0x1c, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x0a, 
+0xe5, 0x93, 0x30, 0x34, 0xe5, 0x93, 0xc0, 0x14, 0xe3, 0x5c, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x93, 0x30, 0x04, 0xe1, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x91, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x02, 0xe5, 0x90, 0x00, 0x34, 
+0xea, 0xff, 0xff, 0xe1, 0xe2, 0x82, 0x20, 0x01, 0xe1, 0x55, 0x00, 0x02, 0x8a, 0xff, 0xff, 0xcb, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xdc, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x60, 0x01, 0xe5, 0x9d, 0x10, 0x14, 0xe1, 0xa0, 0x70, 0x02, 
+0xe1, 0xa0, 0x50, 0x03, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xff, 0xbd, 0xe2, 0x86, 0x10, 0x01, 0xe5, 0x95, 0x20, 0x00, 0xe1, 0x52, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x04, 0xe2, 0x41, 0x20, 0x01, 0xe7, 0x94, 0x21, 0x02, 
+0xe7, 0x84, 0x21, 0x01, 0xe2, 0x41, 0x10, 0x01, 0xea, 0xff, 0xff, 0xf7, 0xe5, 0x95, 0x10, 0x00, 0xe2, 0x81, 0x20, 0x01, 0xe5, 0x85, 0x20, 0x00, 0xe7, 0x84, 0x01, 0x01, 0xe5, 0x95, 0x00, 0x00, 0xe1, 0xa0, 0x10, 0x00, 0xe2, 0x86, 0xc0, 0x01, 
+0xea, 0x00, 0x00, 0x0c, 0xe7, 0x94, 0x21, 0x00, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe5, 0x92, 0x30, 0x14, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x92, 0x30, 0x04, 0xe1, 0x53, 0x00, 0x07, 0x0a, 0x00, 0x00, 0x02, 
+0xe1, 0xa0, 0x30, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe7, 0x84, 0x21, 0x03, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0x50, 0x00, 0x0c, 0xda, 0xff, 0xff, 0xf0, 0xe8, 0xbd, 0x80, 0xf0, 0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x0c, 0xe2, 0x8d, 0xb0, 0x40, 
+0xe8, 0x9b, 0x0a, 0x00, 0xe5, 0x9d, 0xa0, 0x48, 0xe1, 0xa0, 0x80, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x08, 0xe5, 0x9a, 0x14, 0xf4, 0xe5, 0x91, 0x00, 0x1c, 0xe5, 0x91, 0x70, 0x10, 0xe5, 0x9a, 0x14, 0xe8, 0xe3, 0x50, 0x00, 0x00, 
+0xe5, 0x91, 0x54, 0x48, 0x0a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x50, 0x85, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x80, 0x70, 0x87, 0xe1, 0xa0, 0x60, 0x07, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x2a, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0a, 
+0xeb, 0xff, 0xf5, 0x8d, 0xe7, 0x98, 0x01, 0x04, 0xe3, 0x50, 0x00, 0x02, 0xaa, 0x00, 0x00, 0x1d, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 0xe7, 0x99, 0x01, 0x04, 0xe0, 0x46, 0x00, 0x00, 0xe2, 0x50, 0x10, 0x01, 0x5a, 0x00, 0x00, 0x02, 
+0xe0, 0x80, 0x00, 0x05, 0xe2, 0x40, 0x20, 0x01, 0xea, 0x00, 0x00, 0x0a, 0xe2, 0x40, 0x20, 0x01, 0xea, 0x00, 0x00, 0x08, 0xe7, 0x99, 0x01, 0x04, 0xe0, 0x80, 0x00, 0x06, 0xe2, 0x80, 0x10, 0x01, 0xe1, 0x51, 0x00, 0x05, 0xba, 0x00, 0x00, 0x02, 
+0xe0, 0x40, 0x00, 0x05, 0xe2, 0x80, 0x20, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x80, 0x20, 0x01, 0xe1, 0xa0, 0x60, 0x02, 0xe1, 0x52, 0x00, 0x07, 0xda, 0x00, 0x00, 0x00, 0xe0, 0x42, 0x20, 0x05, 0xe5, 0x8d, 0xa0, 0x00, 0xe5, 0x9d, 0x10, 0x14, 
+0xe5, 0x9d, 0x00, 0x0c, 0xe2, 0x8d, 0x30, 0x08, 0xeb, 0xff, 0xff, 0x9e, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x8d, 0xa0, 0x00, 0xe7, 0x9b, 0x21, 0x04, 0xe5, 0x9d, 0x10, 0x14, 0xe5, 0x9d, 0x00, 0x0c, 0xe2, 0x8d, 0x30, 0x08, 0xeb, 0xff, 0xff, 0x34, 
+0xe2, 0x84, 0x40, 0x01, 0xe7, 0x98, 0x01, 0x04, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0xff, 0xff, 0xd1, 0xe5, 0x9d, 0x00, 0x14, 0xe5, 0x9d, 0x10, 0x10, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x1c, 0xe8, 0xbd, 0x8f, 0xf0, 
+0xe9, 0x2d, 0x40, 0x3e, 0xe1, 0xa0, 0x50, 0x00, 0xe1, 0xa0, 0x40, 0x01, 0xe3, 0x55, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x1a, 0xe3, 0x55, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x18, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x10, 0x50, 0xe3, 0x51, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x08, 0xe2, 0x80, 0x2f, 0x57, 0xe2, 0x80, 0x10, 0xd8, 0xe8, 0x8d, 0x00, 0x16, 0xe2, 0x80, 0x30, 0x54, 0xe5, 0x90, 0x00, 0x48, 0xe2, 0x84, 0x1f, 0x6f, 0xe2, 0x40, 0x20, 0x01, 0xe5, 0x94, 0x05, 0x08, 0xeb, 0xff, 0xff, 0xa2, 
+0xe5, 0x94, 0x14, 0xf4, 0xe5, 0x94, 0x05, 0x08, 0xe5, 0x91, 0x10, 0x48, 0xe2, 0x41, 0x10, 0x01, 0xe7, 0x90, 0x01, 0x01, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf5, 0x3f, 0xe5, 0x94, 0x04, 0xf4, 
+0xe5, 0x90, 0x00, 0x48, 0xe5, 0x84, 0x01, 0xbc, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x18, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x11, 0xe0, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe2, 0x80, 0x2f, 0xbb, 0xe2, 0x80, 0x1f, 0x9a, 
+0xe8, 0x8d, 0x00, 0x16, 0xe2, 0x80, 0x3f, 0x79, 0xe5, 0x90, 0x00, 0x4c, 0xe2, 0x84, 0x1d, 0x07, 0xe2, 0x40, 0x20, 0x01, 0xe5, 0x94, 0x05, 0x0c, 0xeb, 0xff, 0xff, 0x87, 0xe5, 0x94, 0x14, 0xf4, 0xe5, 0x94, 0x05, 0x0c, 0xe5, 0x91, 0x10, 0x4c, 
+0xe2, 0x41, 0x10, 0x01, 0xe7, 0x90, 0x01, 0x01, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xf5, 0x24, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x00, 0x4c, 0xe5, 0x84, 0x01, 0xc0, 0xe8, 0xbd, 0x80, 0x3e, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x20, 0x34, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x91, 0x00, 0x28, 0xe3, 0xa0, 0x20, 0x01, 0xe5, 0x81, 0x20, 0x38, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x28, 0x52, 
+0xe5, 0x92, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x82, 0x00, 0x3c, 0xe5, 0x92, 0x00, 0x28, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xe2, 0x4d, 0xd0, 0x80, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x20, 0x80, 
+0xe5, 0x9f, 0x11, 0xf8, 0xe0, 0x8f, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0x00, 0x16, 0x64, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x40, 0x0c, 0xe3, 0xa0, 0x10, 0x02, 0xe5, 0x80, 0x10, 0x04, 0xe5, 0x90, 0x10, 0x18, 0xe3, 0x51, 0x00, 0x00, 
+0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x90, 0x00, 0x1c, 0xe5, 0x9d, 0x10, 0x38, 0xe2, 0x8d, 0xd0, 0x80, 0xe0, 0x00, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x10, 0xe5, 0x2d, 0xe0, 0x04, 0xe3, 0x50, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0xd6, 0xe4, 0x9d, 0xf0, 0x04, 0xe3, 0x50, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xd1, 0xea, 0xff, 0xff, 0xf9, 0xe3, 0x50, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0xcc, 0xe2, 0x60, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf3, 0xe5, 0x92, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x82, 0x00, 0x0c, 0xe5, 0x92, 0x00, 0x1c, 0xea, 0xff, 0xff, 0xed, 0xe3, 0xa0, 0x28, 0x52, 
+0xea, 0xff, 0xff, 0xf7, 0xe9, 0x2d, 0x40, 0x10, 0xe2, 0x4d, 0xd0, 0x28, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xbd, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x84, 0x40, 0x01, 0xea, 0xff, 0xff, 0xf9, 
+0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x28, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xb2, 0xe1, 0xa0, 0x1f, 0xc0, 0xe2, 0x8d, 0x20, 0x20, 0xe8, 0x82, 0x00, 0x03, 
+0xe1, 0xa0, 0x20, 0x04, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x15, 0x09, 0xe2, 0x8d, 0x20, 0x08, 0xe2, 0x8d, 0x30, 0x20, 0xe8, 0x82, 0x00, 0x03, 0xe8, 0x93, 0x00, 0x0c, 0xe0, 0x90, 0x00, 0x02, 0xe0, 0xa1, 0x10, 0x03, 
+0xe3, 0xe0, 0x20, 0x00, 0xe8, 0x8d, 0x00, 0x03, 0xe0, 0x90, 0x00, 0x02, 0xe0, 0xa1, 0x1f, 0xc2, 0xe2, 0x8d, 0x20, 0x18, 0xe8, 0x82, 0x00, 0x03, 0xe2, 0x8d, 0x10, 0x18, 0xe8, 0x91, 0x00, 0x03, 0xe2, 0x90, 0x00, 0x01, 0xe2, 0xa1, 0x10, 0x00, 
+0xe2, 0x8d, 0x20, 0x08, 0xe8, 0x82, 0x00, 0x03, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x9d, 0x00, 0x0c, 0xe1, 0xa0, 0x10, 0xa1, 0xe1, 0x81, 0x1f, 0x80, 0xe1, 0xa0, 0x00, 0xa0, 0xe5, 0x8d, 0x00, 0x24, 0xe5, 0x8d, 0x10, 0x20, 0xe2, 0x8d, 0x10, 0x20, 
+0xe8, 0x91, 0x00, 0x03, 0xe2, 0x8d, 0x20, 0x10, 0xe8, 0x82, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0xa0, 0x10, 0x00, 0xe2, 0x00, 0x00, 0x01, 0xe2, 0x8d, 0x30, 0x08, 0xe3, 0x51, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0x01, 0x50, 0x00, 0x02, 
+0xe8, 0x83, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe2, 0x8d, 0x10, 0x10, 0xe8, 0x91, 0x00, 0x03, 0xe2, 0x70, 0x00, 0x00, 0xe2, 0xe1, 0x10, 0x00, 0xe5, 0x8d, 0x10, 0x14, 0xe5, 0x8d, 0x00, 0x10, 0xe5, 0x9d, 0x00, 0x10, 0xea, 0xff, 0xff, 0xc6, 
+0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x79, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x84, 0x40, 0x01, 0xea, 0xff, 0xff, 0xf9, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x6f, 0xe3, 0xa0, 0x10, 0x01, 0xe0, 0x80, 0x04, 0x11, 0xe2, 0x40, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf8, 0x00, 0x00, 0x63, 0xd0, 0xe9, 0x2d, 0x40, 0x10, 
+0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x0e, 0x41, 0xeb, 0x00, 0x14, 0xb4, 0xe1, 0xb0, 0x40, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xf4, 0x83, 0xe1, 0xa0, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 
+0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x0e, 0x86, 0xeb, 0x00, 0x14, 0xa9, 0xe1, 0xb0, 0x50, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0c, 0xeb, 0xff, 0xf4, 0x78, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x0e, 0x86, 
+0xeb, 0x00, 0x14, 0xa2, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x04, 0xe0, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x70, 0xeb, 0xff, 0xf4, 0x70, 0xe1, 0xa0, 0x00, 0x05, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x60, 0x00, 
+0xe1, 0xa0, 0x70, 0x01, 0xe1, 0xa0, 0x80, 0x02, 0xe3, 0xa0, 0x50, 0x08, 0xe3, 0xa0, 0x00, 0x08, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x15, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0x64, 0xe0, 0x85, 0x00, 0x00, 0xe2, 0x80, 0x0c, 0x01, 0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x1c, 0x21, 0xe3, 0xc1, 0x10, 0xff, 0xe0, 0x40, 0x00, 0x01, 0xe1, 0x94, 0x10, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x01, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x88, 0x10, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x50, 0x00, 0xe7, 0x86, 0x51, 0x04, 0xe2, 0x84, 0x40, 0x01, 0xe1, 0x54, 0x00, 0x07, 0xba, 0xff, 0xff, 0xe7, 
+0xe8, 0xbd, 0x81, 0xf0, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x40, 0x01, 0xe3, 0xa0, 0x66, 0x06, 0xe3, 0xa0, 0x1e, 0x41, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x15, 0xbe, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x47, 
+0xe5, 0x86, 0x00, 0x04, 0xe5, 0x94, 0x13, 0x2c, 0xe3, 0xa0, 0x70, 0x01, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x73, 0x34, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x3e, 0xe5, 0x86, 0x00, 0x08, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xff, 0x3a, 0xe5, 0x86, 0x00, 0x0c, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xff, 0x36, 0xe5, 0x86, 0x03, 0xd8, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xeb, 0xff, 0xff, 0x32, 0xe5, 0x86, 0x03, 0xdc, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x2e, 0xe5, 0x86, 0x03, 0xe4, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x2a, 0xe5, 0x86, 0x03, 0xe8, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xff, 0x26, 0xe5, 0x86, 0x03, 0xec, 0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xff, 0x22, 0xe5, 0x86, 0x03, 0xf0, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0x1e, 0xe5, 0x86, 0x03, 0xf4, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x1a, 0xe5, 0x86, 0x03, 0xf8, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x16, 0xe5, 0x86, 0x03, 0xfc, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xff, 0x12, 0xe5, 0x86, 0x04, 0x04, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xff, 0x0e, 0xe5, 0x86, 0x04, 0x08, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 
+0xeb, 0xff, 0xff, 0x0a, 0xe5, 0x86, 0x04, 0x0c, 0xeb, 0x00, 0x0e, 0xeb, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x2c, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xff, 0x03, 0xe5, 0x86, 0x00, 0x10, 0xe3, 0xa0, 0x10, 0x00, 
+0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0xff, 0xe5, 0x86, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x1d, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x80, 0x06, 0xea, 0x00, 0x00, 0x16, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 
+0xeb, 0xff, 0xfe, 0xf6, 0xe0, 0x86, 0x11, 0x05, 0xe5, 0x81, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0e, 0xe3, 0x55, 0x00, 0x06, 0x2a, 0x00, 0x00, 0x05, 0xe2, 0x81, 0x2f, 0xee, 0xe0, 0x86, 0x03, 0x05, 0xe2, 0x80, 0x00, 0x38, 
+0xe3, 0xa0, 0x10, 0x10, 0xeb, 0xff, 0xff, 0x79, 0xea, 0x00, 0x00, 0x06, 0xe2, 0x45, 0x00, 0x06, 0xe0, 0x86, 0x11, 0x00, 0xe2, 0x81, 0x2e, 0x3d, 0xe0, 0x86, 0x04, 0x00, 0xe2, 0x80, 0x0f, 0x6e, 0xe3, 0xa0, 0x10, 0x40, 0xeb, 0xff, 0xff, 0x71, 
+0xe2, 0x85, 0x50, 0x01, 0xe5, 0x96, 0x00, 0x10, 0xe0, 0x88, 0x00, 0x80, 0xe1, 0x50, 0x00, 0x05, 0x8a, 0xff, 0xff, 0xe4, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0xdb, 0xe5, 0x86, 0x04, 0x00, 0xea, 0x00, 0x00, 0x01, 
+0xe5, 0x96, 0x03, 0xfc, 0xe5, 0x86, 0x04, 0x00, 0xe1, 0xa0, 0x50, 0x07, 0xe5, 0x86, 0x70, 0x00, 0xe5, 0x96, 0x20, 0x04, 0xe3, 0xa0, 0xc0, 0x08, 0xe3, 0xa0, 0x70, 0x10, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0xe0, 0x05, 0xe3, 0xa0, 0x66, 0x06, 
+0xe3, 0xa0, 0x16, 0x05, 0xe3, 0xa0, 0x80, 0x20, 0xe0, 0x82, 0x23, 0x02, 0xea, 0x00, 0x00, 0x0d, 0xe0, 0x86, 0x33, 0x80, 0xe5, 0x81, 0x30, 0x20, 0xe5, 0x94, 0x33, 0x20, 0xe0, 0x83, 0x32, 0x02, 0xe0, 0x83, 0x33, 0x80, 0xe2, 0x83, 0x3b, 0x43, 
+0xe5, 0x81, 0x30, 0x14, 0xe5, 0x81, 0x80, 0x0c, 0xe5, 0x81, 0xe0, 0x08, 0xe5, 0x81, 0x50, 0x00, 0xe5, 0x91, 0x30, 0x30, 0xe3, 0x53, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0x50, 0x00, 0x0c, 0x3a, 0xff, 0xff, 0xef, 
+0xe0, 0x86, 0x33, 0x80, 0xe5, 0x81, 0x30, 0x20, 0xe5, 0x94, 0x33, 0x20, 0xe0, 0x83, 0x22, 0x02, 0xe0, 0x82, 0x03, 0x80, 0xe2, 0x80, 0x0b, 0x43, 0xe5, 0x81, 0x00, 0x14, 0xe1, 0xa0, 0x0f, 0xc7, 0xe0, 0x87, 0x0f, 0x20, 0xe1, 0xa0, 0x01, 0x40, 
+0xe5, 0x81, 0x00, 0x0c, 0xe5, 0x81, 0xe0, 0x08, 0xe5, 0x81, 0x50, 0x00, 0xe5, 0x91, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe8, 0xbd, 0x81, 0xf0, 0xe9, 0x2d, 0x4f, 0xfe, 0xe1, 0xa0, 0x50, 0x01, 0xe5, 0x95, 0x44, 0xe0, 
+0xe3, 0xa0, 0x1e, 0x86, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x15, 0x18, 0xe3, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfe, 0xa1, 0xe5, 0x84, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x42, 0x0a, 0x00, 0x00, 0x0b, 0xe3, 0x50, 0x00, 0x4d, 
+0x0a, 0x00, 0x00, 0x09, 0xe3, 0x50, 0x00, 0x58, 0x0a, 0x00, 0x00, 0x07, 0xe3, 0x50, 0x00, 0x64, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x6e, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x7a, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x90, 
+0x1a, 0x00, 0x01, 0xd8, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x8f, 0xe5, 0x84, 0x00, 0x08, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x8b, 0xe5, 0x84, 0x00, 0x0c, 0xe3, 0xa0, 0x10, 0x01, 
+0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x87, 0xe5, 0x84, 0x00, 0x10, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x83, 0xe5, 0x84, 0x00, 0x14, 0xe3, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfe, 0x7f, 
+0xe3, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfe, 0x7c, 0xe5, 0x84, 0x00, 0x18, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x78, 0xe5, 0x84, 0x00, 0x1c, 0xe5, 0x95, 0x13, 0x28, 0xe3, 0xa0, 0x80, 0x01, 
+0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x85, 0x83, 0x30, 0xe5, 0x84, 0x80, 0x20, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x84, 0x63, 0xec, 0xe5, 0x84, 0x63, 0xf0, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x64, 0x0a, 0x00, 0x00, 0x05, 
+0xe3, 0x50, 0x00, 0x6e, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x7a, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x90, 0x1a, 0x00, 0x00, 0x35, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x62, 0xe5, 0x84, 0x00, 0x20, 
+0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x5c, 0xe5, 0x84, 0x00, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x58, 0xe5, 0x84, 0x03, 0xec, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x54, 0xe5, 0x84, 0x03, 0xf0, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x50, 0xe5, 0x84, 0x04, 0x44, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 
+0xeb, 0xff, 0xfe, 0x4c, 0xe5, 0x84, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x19, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x45, 0xe0, 0x84, 0x11, 0x07, 0xe5, 0x81, 0x00, 0x2c, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0e, 0xe3, 0x57, 0x00, 0x06, 0x2a, 0x00, 0x00, 0x05, 0xe2, 0x81, 0x2f, 0xf3, 0xe0, 0x84, 0x03, 0x07, 0xe2, 0x80, 0x00, 0x4c, 0xe3, 0xa0, 0x10, 0x10, 0xeb, 0xff, 0xfe, 0xc8, 0xea, 0x00, 0x00, 0x06, 
+0xe2, 0x47, 0x00, 0x06, 0xe0, 0x84, 0x11, 0x00, 0xe2, 0x81, 0x2f, 0xf9, 0xe0, 0x84, 0x04, 0x00, 0xe2, 0x80, 0x0f, 0x73, 0xe3, 0xa0, 0x10, 0x40, 0xeb, 0xff, 0xfe, 0xc0, 0xe2, 0x87, 0x70, 0x01, 0xe3, 0x57, 0x00, 0x08, 0x3a, 0xff, 0xff, 0xe6, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x2c, 0xe5, 0x84, 0x03, 0xf4, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x28, 0xe5, 0x84, 0x03, 0xf8, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x22, 0xe5, 0x84, 0x03, 0xfc, 0xea, 0x00, 0x00, 0x16, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x14, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x1b, 
+0xe5, 0x84, 0x04, 0x00, 0xeb, 0xff, 0xfe, 0x32, 0xe5, 0x84, 0x04, 0x04, 0xeb, 0xff, 0xfe, 0x30, 0xe5, 0x84, 0x04, 0x08, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x13, 0xe5, 0x84, 0x04, 0x0c, 0xe3, 0xa0, 0x70, 0x00, 
+0xea, 0x00, 0x00, 0x03, 0xeb, 0xff, 0xfe, 0x28, 0xe0, 0x84, 0x11, 0x07, 0xe5, 0x81, 0x04, 0x60, 0xe2, 0x87, 0x70, 0x01, 0xe5, 0x94, 0x04, 0x0c, 0xe1, 0x50, 0x00, 0x07, 0x8a, 0xff, 0xff, 0xf8, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xeb, 0xff, 0xfe, 0x06, 0xe5, 0x84, 0x04, 0x10, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x02, 0xe5, 0x84, 0x04, 0x14, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0xfe, 0xe5, 0x84, 0x04, 0x18, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0xfa, 0xe5, 0x84, 0x04, 0x1c, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfd, 0xf6, 0xe5, 0x84, 0x04, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfd, 0xf0, 0xe5, 0x84, 0x04, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfd, 0xec, 0xe5, 0x84, 0x04, 0x28, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 
+0xeb, 0xff, 0xfd, 0xe8, 0xe5, 0x84, 0x04, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0f, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0xe2, 0xe5, 0x84, 0x04, 0x30, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xeb, 0xff, 0xfd, 0xde, 0xe5, 0x84, 0x04, 0x34, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0xda, 0xe5, 0x84, 0x04, 0x38, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0xd6, 0xe5, 0x84, 0x04, 0x3c, 
+0xe5, 0x94, 0x04, 0x30, 0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x84, 0x04, 0x30, 0xe5, 0x94, 0x04, 0x34, 0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x84, 0x04, 0x34, 0xe5, 0x94, 0x04, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x04, 0x38, 
+0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x84, 0x04, 0x38, 0xe5, 0x94, 0x04, 0x3c, 0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x84, 0x04, 0x3c, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x04, 0x38, 0xe1, 0xa0, 0x01, 0x00, 0xe5, 0x84, 0x04, 0x38, 0xe5, 0x94, 0x04, 0x3c, 
+0xe1, 0xa0, 0x01, 0x00, 0xe5, 0x84, 0x04, 0x3c, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfd, 0xbc, 0xe5, 0x84, 0x04, 0x40, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x0e, 0x9f, 
+0xe5, 0x94, 0x03, 0xf4, 0xe2, 0x80, 0x00, 0x04, 0xe1, 0xa0, 0x00, 0x18, 0xe5, 0x84, 0x04, 0x48, 0xe5, 0x94, 0x04, 0x18, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x04, 0x4c, 0xe5, 0x94, 0x14, 0x1c, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x84, 0x14, 0x50, 
+0xe5, 0x94, 0x24, 0x20, 0xe2, 0x62, 0x20, 0x02, 0xe0, 0x01, 0x01, 0x92, 0xe5, 0x84, 0x14, 0x54, 0xe0, 0x02, 0x00, 0x91, 0xe5, 0x84, 0x24, 0x58, 0xe5, 0x84, 0x80, 0x00, 0xe5, 0x95, 0x22, 0xec, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0xa9, 
+0xe1, 0xa0, 0x02, 0x00, 0xe1, 0x80, 0x0a, 0x01, 0xe3, 0xa0, 0xa8, 0x52, 0xe5, 0x8a, 0x00, 0x14, 0xe5, 0x94, 0x04, 0x4c, 0xe3, 0xa0, 0xb6, 0x05, 0xe1, 0xa0, 0x02, 0x00, 0xe5, 0x8b, 0x01, 0x18, 0xe5, 0x94, 0x04, 0x54, 0xe1, 0xa0, 0x02, 0x00, 
+0xe5, 0x8b, 0x01, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x85, 0x02, 0xec, 0xe5, 0x94, 0x14, 0x54, 0xe5, 0x94, 0x24, 0x4c, 0xe0, 0x00, 0x01, 0x92, 0xe1, 0xa0, 0x94, 0x00, 0xe1, 0xa0, 0x72, 0x02, 0xe1, 0xa0, 0x62, 0x01, 0xe5, 0x94, 0x10, 0x04, 
+0xe5, 0x94, 0x20, 0x18, 0xeb, 0xff, 0xf8, 0x8d, 0xe5, 0x85, 0x00, 0x0c, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x95, 0x13, 0x38, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x85, 0x02, 0xe4, 0xe5, 0x8b, 0x09, 0x0c, 0xe5, 0x95, 0x00, 0x0c, 0xe5, 0x95, 0x14, 0x44, 
+0xe1, 0x51, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x00, 0xe5, 0x85, 0x04, 0x44, 0xe5, 0x95, 0x14, 0x44, 0xe1, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x85, 0x84, 0x48, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x85, 0x04, 0x48, 
+0xe2, 0x84, 0x1e, 0x43, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x08, 0x01, 0xe5, 0x8b, 0x0c, 0x00, 0xe2, 0x84, 0x1d, 0x11, 0xe9, 0x11, 0x00, 0x03, 0xe1, 0x80, 0x08, 0x01, 0xe5, 0x8b, 0x0c, 0x04, 0xe5, 0x8b, 0x84, 0x0c, 0xe5, 0x9b, 0x01, 0x2c, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x09, 0x00, 0xe5, 0x91, 0x19, 0x04, 0xe5, 0x85, 0x13, 0x24, 0xe5, 0x9a, 0x10, 0xd8, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x9f, 0x1f, 0x14, 
+0xe7, 0x91, 0x10, 0x05, 0xe3, 0x11, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x17, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x9f, 0x2f, 0x04, 0xe5, 0x95, 0x32, 0xe4, 0xe1, 0x53, 0x00, 0x01, 0xda, 0x00, 0x00, 0x05, 0xe7, 0x82, 0x01, 0x01, 0xe0, 0x85, 0x31, 0x01, 
+0xe5, 0x83, 0x00, 0xac, 0xe0, 0x80, 0x00, 0x09, 0xe2, 0x81, 0x10, 0x01, 0xea, 0xff, 0xff, 0xf6, 0xe3, 0xa0, 0x10, 0x00, 0xe0, 0x89, 0x2f, 0xa9, 0xe1, 0xa0, 0x30, 0xc2, 0xe5, 0x9f, 0x2e, 0xd4, 0xe5, 0x95, 0xc2, 0xe4, 0xe1, 0x5c, 0x00, 0x01, 
+0xda, 0x00, 0x00, 0x46, 0xe7, 0x82, 0x01, 0x01, 0xe0, 0x85, 0xc1, 0x01, 0xe5, 0x8c, 0x01, 0x2c, 0xe0, 0x83, 0x00, 0x00, 0xe2, 0x81, 0x10, 0x01, 0xea, 0xff, 0xff, 0xf6, 0xe1, 0xa0, 0x06, 0xa0, 0xe3, 0xa0, 0x20, 0x00, 0xe2, 0x47, 0x10, 0x01, 
+0xe0, 0x88, 0x93, 0xa1, 0xe2, 0x47, 0xa0, 0x01, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x46, 0x10, 0x01, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x10, 0xa6, 0xe2, 0x41, 0x10, 0x01, 0xe1, 0xa0, 0x30, 0x09, 0xe0, 0x88, 0xe3, 0x21, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xc0, 0x80, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0xc0, 0xa0, 0xe3, 0x11, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x18, 0xe1, 0xa0, 0xe8, 0x8a, 0xe1, 0xa0, 0xec, 0xae, 0xe1, 0xa0, 0x18, 0x81, 0xe1, 0xa0, 0xab, 0xa1, 
+0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0xc1, 0x0c, 0xe0, 0x23, 0xe3, 0x9a, 0xea, 0x00, 0x00, 0x0c, 0xe0, 0x8c, 0xe1, 0x01, 0xe2, 0x8e, 0xe8, 0x55, 0xe5, 0x8e, 0x00, 0x00, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe0, 0x85, 0xe1, 0x01, 
+0xe5, 0x8e, 0x01, 0x2c, 0xea, 0x00, 0x00, 0x01, 0xe0, 0x85, 0xe1, 0x01, 0xe5, 0x8e, 0x00, 0xac, 0xe0, 0x83, 0x00, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x95, 0xe2, 0xe4, 0xe1, 0x5e, 0x00, 0x01, 0x8a, 0xff, 0xff, 0xef, 
+0xea, 0x00, 0x00, 0x11, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0xc1, 0x0c, 0xea, 0x00, 0x00, 0x0b, 0xe0, 0x8c, 0xa1, 0x01, 0xe2, 0x8a, 0xa8, 0x55, 0xe5, 0x8a, 0x00, 0x00, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe0, 0x85, 0xa1, 0x01, 
+0xe5, 0x8a, 0x01, 0x2c, 0xea, 0x00, 0x00, 0x01, 0xe0, 0x85, 0xa1, 0x01, 0xe5, 0x8a, 0x00, 0xac, 0xe0, 0x20, 0x03, 0x9e, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x95, 0xa2, 0xe4, 0xe1, 0x5a, 0x00, 0x01, 0x8a, 0xff, 0xff, 0xf0, 0xe2, 0x82, 0x20, 0x01, 
+0xe3, 0x52, 0x00, 0x02, 0x3a, 0xff, 0xff, 0xc2, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9f, 0x3d, 0xa8, 0xe5, 0x95, 0x12, 0xe4, 0xe1, 0x51, 0x00, 0x00, 0xda, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x14, 0x4c, 0xe5, 0x94, 0x24, 0x54, 0xe1, 0xa0, 0x13, 0x81, 
+0xe2, 0x82, 0x20, 0x01, 0xe0, 0x01, 0x01, 0x92, 0xe5, 0x95, 0x23, 0x24, 0xe0, 0x21, 0x21, 0x90, 0xe7, 0x83, 0x11, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf2, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x0c, 
+0xe3, 0xa0, 0x06, 0x06, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0xa0, 0x2c, 0x06, 0xe1, 0xa0, 0x10, 0x04, 0xeb, 0x00, 0x13, 0x4c, 0xe2, 0x84, 0x0c, 0x06, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x90, 0x10, 0xe3, 0xa0, 0x00, 0x60, 
+0xe5, 0x8d, 0x00, 0x08, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x80, 0x05, 0xe3, 0xa0, 0xa0, 0x43, 0xe3, 0xa0, 0xb6, 0x05, 0xea, 0x00, 0x00, 0x18, 0xe3, 0x56, 0x00, 0x0c, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x7c, 0x06, 
+0xe5, 0x9d, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x00, 0xe3, 0xa0, 0x2e, 0x26, 0xeb, 0x00, 0x13, 0x3a, 0xe0, 0x67, 0x03, 0x86, 0xe2, 0x80, 0x06, 0x06, 0xe5, 0x8b, 0x00, 0x20, 0xe5, 0x94, 0x10, 0x1c, 0xe5, 0x95, 0x03, 0x20, 0xe0, 0x01, 0x01, 0x9a, 
+0xe0, 0x80, 0x02, 0x81, 0xe0, 0x80, 0x03, 0x86, 0xe5, 0x8b, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x20, 0xe5, 0x8b, 0x00, 0x0c, 0xe5, 0x8b, 0x80, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8b, 0x00, 0x00, 0xe5, 0x9b, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0xff, 0xff, 0xfc, 0xe2, 0x86, 0x60, 0x01, 0xe1, 0x56, 0x00, 0x09, 0x3a, 0xff, 0xff, 0xe4, 0xe0, 0x67, 0x03, 0x86, 0xe2, 0x80, 0x06, 0x06, 0xe5, 0x8b, 0x00, 0x20, 0xe5, 0x94, 0x10, 0x1c, 0xe5, 0x95, 0x03, 0x20, 0xe0, 0x01, 0x01, 0x9a, 
+0xe0, 0x80, 0x02, 0x81, 0xe0, 0x80, 0x03, 0x86, 0xe5, 0x8b, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x08, 0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x0f, 0x21, 0xe1, 0xa0, 0x01, 0x40, 0xe5, 0x8b, 0x00, 0x0c, 0xe5, 0x8b, 0x80, 0x08, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x8b, 0x00, 0x00, 0xe5, 0x9b, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe8, 0xbd, 0x8f, 0xfe, 0xe5, 0x90, 0x14, 0xf4, 0xe5, 0x91, 0x20, 0x08, 0xe5, 0x80, 0x20, 0xa8, 0xe5, 0x91, 0x20, 0x10, 0xe5, 0x80, 0x20, 0x88, 
+0xe5, 0x91, 0x20, 0x14, 0xe5, 0x80, 0x20, 0x80, 0xe5, 0x91, 0x20, 0x14, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x91, 0x20, 0x18, 0xe5, 0x80, 0x20, 0x84, 0xe5, 0x91, 0x23, 0xa4, 0xe5, 0x80, 0x20, 0x8c, 0xe5, 0x91, 0x23, 0xa0, 
+0xe5, 0x80, 0x20, 0xa0, 0xe5, 0x91, 0x23, 0xa0, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x91, 0x20, 0x20, 0xe5, 0x80, 0x20, 0xa4, 0xe5, 0x90, 0x24, 0xe8, 0xe5, 0x92, 0x33, 0xf8, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 
+0xe5, 0x91, 0x30, 0x24, 0xe5, 0x80, 0x30, 0x90, 0xe5, 0x91, 0x30, 0x28, 0xe5, 0x80, 0x30, 0x94, 0xe5, 0x92, 0x23, 0xf8, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x90, 0x22, 0xe8, 0xe5, 0x80, 0x20, 0x98, 0xe5, 0x91, 0x10, 0x30, 
+0xe5, 0x80, 0x10, 0x9c, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x41, 0xfc, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x94, 0x14, 0xd8, 0xe5, 0x90, 0x20, 0x04, 0xe1, 0x81, 0x10, 0x02, 0xe5, 0x84, 0x14, 0xd8, 0xe3, 0xa0, 0x60, 0x00, 
+0xe5, 0x80, 0x60, 0x04, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x10, 
+0xe2, 0x84, 0x1e, 0x4e, 0xe9, 0x11, 0x00, 0x03, 0xe5, 0x91, 0x10, 0x34, 0xe1, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x04, 0xd8, 0xe5, 0x94, 0x02, 0xfc, 0xe3, 0xa0, 0x70, 0x01, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x37, 0xe5, 0x94, 0x04, 0x48, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x34, 0xe5, 0x94, 0x14, 0xec, 0xe2, 0x81, 0x10, 0x14, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x50, 0x00, 0x01, 0xba, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x01, 0xe5, 0x94, 0x12, 0xd8, 0xe0, 0x84, 0x11, 0x01, 
+0xe5, 0x81, 0x03, 0xc4, 0xe5, 0x94, 0x04, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x11, 0xea, 0x00, 0x00, 0x0d, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x0e, 0x92, 0xe5, 0x94, 0x14, 0x50, 0xe2, 0x81, 0x20, 0x01, 0xe0, 0x84, 0x11, 0x01, 
+0xe5, 0x84, 0x24, 0x50, 0xe5, 0x81, 0x04, 0x58, 0xe5, 0x94, 0x04, 0x50, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x64, 0x50, 0xe5, 0x94, 0x04, 0x4c, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x84, 0x04, 0x4c, 0xe5, 0x94, 0x04, 0x4c, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xee, 0xe5, 0x94, 0x02, 0xd8, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x80, 0x73, 0x44, 0xe5, 0x94, 0x04, 0x4c, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x04, 0x4c, 0xe5, 0x94, 0x14, 0x44, 0xe1, 0x50, 0x00, 0x01, 
+0x9a, 0x00, 0x00, 0x0d, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x0e, 0x78, 0xe5, 0x94, 0x14, 0x50, 0xe2, 0x81, 0x20, 0x01, 0xe0, 0x84, 0x11, 0x01, 0xe5, 0x84, 0x24, 0x50, 0xe5, 0x81, 0x04, 0x58, 0xe5, 0x94, 0x04, 0x50, 0xe3, 0x50, 0x00, 0x20, 
+0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x64, 0x50, 0xe5, 0x94, 0x04, 0x4c, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x84, 0x04, 0x4c, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xf1, 0xd5, 0xea, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x10, 0x24, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf4, 0xf6, 
+0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x91, 0x20, 0x38, 0xe3, 0x52, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x52, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x35, 0xe5, 0x94, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x32, 0xe5, 0x90, 0x30, 0x14, 
+0xe5, 0x91, 0xc0, 0x00, 0xe1, 0x53, 0x00, 0x0c, 0x1a, 0x00, 0x00, 0x2e, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x90, 0x30, 0x00, 0xe3, 0x53, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x04, 0xe3, 0x52, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x27, 
+0xe5, 0x90, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x24, 0xe5, 0x91, 0x20, 0x24, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x90, 0x30, 0x0c, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0x52, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x1c, 0xe5, 0x90, 0x20, 0x0c, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x19, 0xe1, 0xa0, 0x10, 0x04, 0xeb, 0xff, 0xf6, 0x5a, 0xe5, 0x94, 0x10, 0x2c, 0xe5, 0x91, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xe5, 0x91, 0x10, 0x28, 0xe5, 0x80, 0x10, 0x30, 0xe5, 0x94, 0x10, 0x2c, 0xe5, 0x91, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x91, 0x10, 0x28, 0xe5, 0x80, 0x10, 0x30, 0xe5, 0x94, 0x10, 0x2c, 0xe5, 0x91, 0x00, 0x34, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x91, 0x10, 0x28, 0xe5, 0x80, 0x10, 0x30, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf0, 0x95, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf0, 0x4c, 0xe5, 0x84, 0x60, 0x2c, 0xe8, 0xbd, 0x81, 0xfc, 
+0xe5, 0x91, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x91, 0x00, 0x24, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x91, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xf1, 0xfd, 0xe5, 0x94, 0x00, 0x10, 0xe5, 0x94, 0x10, 0x0c, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x2e, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf1, 0x31, 0xea, 0x00, 0x00, 0x2b, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x24, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x25, 0xe1, 0xa0, 0x20, 0x04, 0xe1, 0xa0, 0x10, 0x0d, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xf0, 0xdc, 0xe5, 0x9d, 0x00, 0x00, 0xe3, 0x70, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x04, 0xdc, 
+0xe5, 0x9d, 0x10, 0x04, 0xe5, 0x90, 0x00, 0x14, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x19, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x94, 0x02, 0xdc, 0xe5, 0x94, 0x12, 0xd8, 
+0xe2, 0x80, 0x20, 0x01, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x84, 0x22, 0xdc, 0xe5, 0x80, 0x11, 0xd4, 0xe5, 0x94, 0x02, 0xdc, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0xff, 0xff, 0xcf, 0xe5, 0x84, 0x62, 0xdc, 0xea, 0xff, 0xff, 0xcd, 0xe5, 0x94, 0x02, 0xdc, 
+0xe5, 0x94, 0x12, 0xd8, 0xe2, 0x80, 0x20, 0x01, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x84, 0x22, 0xdc, 0xe5, 0x80, 0x11, 0xd4, 0xe5, 0x94, 0x02, 0xdc, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0xff, 0xff, 0xc4, 0xe5, 0x84, 0x62, 0xdc, 0xea, 0xff, 0xff, 0xc2, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf0, 0xd7, 0xe5, 0x94, 0x00, 0x10, 0xe5, 0x94, 0x10, 0x0c, 0xe1, 0x50, 0x00, 0x01, 0x0a, 0xff, 0xff, 0xcf, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x10, 0x24, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x11, 
+0xe5, 0x90, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x00, 0x04, 0xe5, 0x94, 0x14, 0xdc, 0xe7, 0x90, 0x01, 0x05, 0xe5, 0x91, 0x10, 0x0c, 0xe5, 0x90, 0x00, 0x14, 
+0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xf0, 0x9e, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x94, 0x00, 0x14, 0xe1, 0x50, 0x00, 0x05, 0x8a, 0xff, 0xff, 0xf2, 0xe5, 0x94, 0x00, 0x00, 0xe5, 0x94, 0x10, 0x10, 
+0xe7, 0x90, 0x01, 0x01, 0xe1, 0xa0, 0x10, 0x04, 0xeb, 0xff, 0xf5, 0xe5, 0xe5, 0x94, 0x10, 0x00, 0xe5, 0x94, 0x20, 0x10, 0xe5, 0x94, 0x02, 0xd8, 0xe7, 0x91, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x28, 0xe5, 0x94, 0x00, 0x00, 0xe5, 0x94, 0x10, 0x10, 
+0xe7, 0x90, 0x01, 0x01, 0xe5, 0x90, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x94, 0x12, 0xd8, 0xe5, 0x80, 0x10, 0x30, 0xe5, 0x94, 0x00, 0x00, 0xe5, 0x94, 0x10, 0x10, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x90, 0x00, 0x30, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x94, 0x12, 0xd8, 0xe5, 0x80, 0x10, 0x30, 0xe5, 0x94, 0x00, 0x00, 0xe5, 0x94, 0x10, 0x10, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xe5, 0x94, 0x12, 0xd8, 0xe5, 0x80, 0x10, 0x30, 0xe5, 0x94, 0x02, 0xd8, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x80, 0x72, 0x54, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x00, 0x00, 
+0xe5, 0x94, 0x10, 0x10, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x84, 0x00, 0x2c, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x60, 0x2c, 0xe5, 0x94, 0x00, 0x10, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x10, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf0, 0x05, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xef, 0xbc, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf1, 0x96, 0xe1, 0xa0, 0x00, 0x06, 0xe5, 0x84, 0x64, 0xdc, 0xe1, 0xa0, 0x60, 0x00, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x80, 0x63, 0xb4, 0xe5, 0x94, 0x04, 0xec, 
+0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0x65, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x80, 0x60, 0x0c, 0xea, 0xff, 0xff, 0x62, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x04, 0xf0, 0xe3, 0xa0, 0x58, 0x52, 
+0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe5, 0x95, 0x00, 0x44, 0xe3, 0x10, 0x00, 0x07, 0x0a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x1e, 0xa1, 0xe3, 0xc1, 0x10, 0x07, 0xe0, 0x40, 0x00, 0x01, 
+0xe2, 0x60, 0x00, 0x08, 0xeb, 0xff, 0xfb, 0x25, 0xe5, 0x94, 0x04, 0xf0, 0xe5, 0x94, 0x24, 0xe8, 0xe5, 0x90, 0x10, 0x28, 0xe5, 0x92, 0x20, 0x20, 0xe1, 0x81, 0x10, 0x82, 0xe5, 0x90, 0x20, 0x38, 0xe1, 0x81, 0x11, 0x82, 0xe5, 0x90, 0x20, 0x0c, 
+0xe1, 0x81, 0x12, 0x02, 0xe5, 0x90, 0x20, 0x04, 0xe1, 0x81, 0x22, 0x82, 0xe5, 0x94, 0x14, 0xf4, 0xe5, 0x91, 0x30, 0x14, 0xe5, 0x91, 0x13, 0x94, 0xe1, 0x82, 0x25, 0x83, 0xe5, 0x90, 0x30, 0x40, 0xe5, 0x90, 0x00, 0x2c, 0xe1, 0x82, 0x26, 0x03, 
+0xe1, 0x82, 0x16, 0x81, 0xe1, 0x81, 0x07, 0x00, 0xe5, 0x85, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x85, 0x00, 0x04, 0xe5, 0x95, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x85, 0x00, 0xcc, 
+0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x13, 0x90, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x80, 0x13, 0x90, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x41, 0xf0, 0xe2, 0x8d, 0xe0, 0x18, 0xe8, 0x9e, 0x40, 0x10, 0xe5, 0x9d, 0xc0, 0x20, 0xe3, 0x54, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x00, 0xe2, 0x44, 0x60, 0x01, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0x5e, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe2, 0x4e, 0xe0, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0xe0, 0x00, 0xe5, 0x9c, 0x74, 0xe8, 
+0xe5, 0x9c, 0x44, 0xf4, 0xe5, 0x97, 0x54, 0x24, 0xe3, 0x55, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x50, 0x14, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x50, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x50, 0x00, 
+0xe5, 0x9c, 0x82, 0xf8, 0xe1, 0x82, 0x21, 0x88, 0xe1, 0x82, 0x22, 0x05, 0xe1, 0x82, 0x02, 0x80, 0xe1, 0x80, 0x05, 0x86, 0xe1, 0x80, 0x08, 0x0e, 0xe1, 0x80, 0x0a, 0x83, 0xe1, 0x80, 0x0b, 0x01, 0xe5, 0x94, 0x13, 0xd0, 0xe1, 0x80, 0x0b, 0x81, 
+0xe5, 0x9c, 0x14, 0xf0, 0xe5, 0x91, 0x10, 0x28, 0xe1, 0x80, 0x0e, 0x81, 0xe5, 0x97, 0x10, 0x20, 0xe1, 0x80, 0x0f, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x4c, 0xe3, 0xa0, 0x00, 0x40, 0xe5, 0x81, 0x00, 0x04, 0xe1, 0xa0, 0x00, 0x01, 
+0xe5, 0x90, 0x20, 0x50, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x90, 0x10, 0x54, 0xe5, 0x9c, 0x24, 0xf0, 0xe2, 0x01, 0x10, 0x3f, 0xe5, 0x82, 0x10, 0x00, 0xe5, 0x90, 0x10, 0x54, 0xe5, 0x9c, 0x24, 0xf0, 0xe1, 0xa0, 0x1c, 0x81, 
+0xe1, 0xa0, 0x1f, 0xa1, 0xe5, 0x82, 0x10, 0x38, 0xe5, 0x90, 0x10, 0x54, 0xe5, 0x9c, 0x24, 0xf0, 0xe1, 0xa0, 0x1c, 0x01, 0xe1, 0xa0, 0x1f, 0xa1, 0xe5, 0x82, 0x10, 0x2c, 0xe5, 0x90, 0x10, 0x54, 0xe5, 0x9c, 0x24, 0xf0, 0xe1, 0xa0, 0x19, 0x01, 
+0xe1, 0xa0, 0x1d, 0x21, 0xe5, 0x82, 0x10, 0x04, 0xe5, 0x90, 0x00, 0x54, 0xe5, 0x9c, 0x14, 0xf0, 0xe1, 0xa0, 0x08, 0x80, 0xe1, 0xa0, 0x0f, 0xa0, 0xe5, 0x81, 0x00, 0x0c, 0xe8, 0xbd, 0x81, 0xf0, 0xe9, 0x2d, 0x40, 0x3e, 0xe1, 0xa0, 0x40, 0x00, 
+0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x03, 0x90, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x10, 0xe5, 0x91, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x94, 0x04, 0xf4, 0xe2, 0x80, 0x20, 0x48, 0xe8, 0x92, 0x00, 0x06, 
+0xe8, 0x8d, 0x00, 0x16, 0xe5, 0x94, 0x14, 0xf0, 0xe5, 0x90, 0x20, 0x04, 0xe5, 0x94, 0x04, 0xe4, 0xe5, 0x91, 0x30, 0x40, 0xe5, 0x90, 0x10, 0x10, 0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x90, 0x04, 0x28, 0xeb, 0xff, 0xff, 0xa1, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xff, 0x6e, 0xe8, 0xbd, 0x80, 0x3e, 0xe9, 0x2d, 0x43, 0xf0, 0xe5, 0x90, 0x34, 0xf4, 0xe5, 0x90, 0xc4, 0xe4, 0xe5, 0x90, 0xe4, 0xe8, 0xe5, 0x90, 0x24, 0xec, 0xe3, 0xa0, 0x48, 0x52, 0xe5, 0x94, 0x10, 0xd8, 0xe3, 0x51, 0x00, 0x01, 
+0x1a, 0xff, 0xff, 0xfc, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x93, 0x43, 0xcc, 0xe5, 0x9e, 0x64, 0x54, 0xe1, 0xa0, 0x42, 0x04, 0xe1, 0x84, 0x47, 0x86, 0xe5, 0x81, 0x40, 0x00, 0xe5, 0x93, 0x40, 0x04, 0xe3, 0x54, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x08, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x40, 0x01, 0xea, 0x00, 0x00, 0x04, 0xe3, 0x54, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x40, 0x02, 0xea, 0x00, 0x00, 0x00, 
+0xe3, 0xa0, 0x40, 0x03, 0xe5, 0x9e, 0x60, 0x04, 0xe3, 0x56, 0x00, 0x42, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe3, 0x56, 0x00, 0x4d, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x50, 0x01, 0xea, 0x00, 0x00, 0x02, 
+0xe3, 0x56, 0x00, 0x64, 0x1a, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x50, 0x02, 0xe5, 0x9e, 0x84, 0x24, 0xe3, 0x58, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x93, 0x60, 0x14, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x60, 0x01, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x93, 0x90, 0x14, 0xe1, 0x99, 0x70, 0x06, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x70, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe1, 0x84, 0x42, 0x05, 0xe5, 0x93, 0x50, 0x18, 
+0xe1, 0x84, 0x44, 0x07, 0xe1, 0x84, 0x44, 0x89, 0xe1, 0x84, 0x45, 0x05, 0xe5, 0x9e, 0x54, 0x20, 0xe1, 0x84, 0x45, 0x85, 0xe1, 0x84, 0x46, 0x08, 0xe1, 0x84, 0x56, 0x86, 0xe5, 0x9e, 0x40, 0x28, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x04, 
+0xe5, 0x9c, 0x40, 0x14, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x40, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe1, 0x85, 0x47, 0x04, 0xe5, 0x9c, 0x50, 0x10, 0xe1, 0x84, 0x47, 0x85, 0xe5, 0x9e, 0x50, 0x20, 
+0xe2, 0x05, 0x50, 0x03, 0xe1, 0x84, 0x48, 0x05, 0xe5, 0x9c, 0x53, 0xfc, 0xe2, 0x05, 0x50, 0x1f, 0xe1, 0x84, 0x49, 0x05, 0xe5, 0x9c, 0x54, 0x00, 0xe2, 0x05, 0x50, 0x1f, 0xe1, 0x84, 0x4b, 0x85, 0xe5, 0x81, 0x40, 0x04, 0xe5, 0x90, 0x41, 0xc0, 
+0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x90, 0x45, 0x0c, 0xe5, 0x94, 0x40, 0x00, 0xe5, 0x94, 0x40, 0x30, 0xe5, 0x90, 0x52, 0xd8, 0xe5, 0x93, 0x63, 0x80, 0xe5, 0x93, 0x73, 0x84, 
+0xe1, 0x85, 0x65, 0x06, 0xe2, 0x07, 0x70, 0x1f, 0xe1, 0x86, 0x66, 0x07, 0xe5, 0x93, 0x73, 0x88, 0xe2, 0x07, 0x70, 0x1f, 0xe1, 0x86, 0x68, 0x87, 0xe1, 0x86, 0x5b, 0x05, 0xe1, 0x85, 0x4d, 0x84, 0xe5, 0x81, 0x40, 0x08, 0xe5, 0x9c, 0x44, 0x08, 
+0xe5, 0x93, 0x50, 0x38, 0xe5, 0x9e, 0xe4, 0x28, 0xe1, 0x84, 0x40, 0x85, 0xe1, 0x84, 0xe1, 0x0e, 0xe5, 0x90, 0x44, 0xdc, 0xe5, 0x94, 0x40, 0x24, 0xe1, 0x8e, 0xe1, 0x84, 0xe5, 0x9c, 0x43, 0xec, 0xe1, 0x8e, 0xe2, 0x04, 0xe5, 0x9c, 0x43, 0xf0, 
+0xe1, 0x8e, 0xe2, 0x84, 0xe5, 0x92, 0x40, 0x54, 0xe2, 0x04, 0x40, 0x07, 0xe1, 0x8e, 0xe3, 0x84, 0xe5, 0x92, 0x40, 0x58, 0xe2, 0x04, 0x40, 0x07, 0xe1, 0x8e, 0xe5, 0x04, 0xe5, 0x81, 0xe0, 0x0c, 0xe3, 0xa0, 0xe0, 0x00, 0xe5, 0x81, 0xe0, 0x10, 
+0xe5, 0x93, 0x40, 0x00, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x40, 0x03, 0xe5, 0x81, 0x40, 0x14, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x40, 0x02, 0xe5, 0x81, 0x40, 0x14, 0xe5, 0x93, 0x40, 0x1c, 0xe5, 0x93, 0x53, 0xa0, 
+0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x40, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe1, 0x85, 0x40, 0x84, 0xe5, 0x90, 0x54, 0xdc, 0xe5, 0x95, 0x50, 0x38, 0xe1, 0x84, 0x41, 0x05, 0xe5, 0x90, 0x50, 0x0c, 
+0xe1, 0x84, 0x44, 0x05, 0xe5, 0x81, 0x40, 0x20, 0xe5, 0x90, 0x44, 0xdc, 0xe5, 0x92, 0x50, 0x4c, 0xe5, 0x94, 0x40, 0x14, 0xe1, 0xa0, 0x48, 0x04, 0xe1, 0xa0, 0x48, 0x24, 0xe1, 0x84, 0x48, 0x05, 0xe5, 0x81, 0x40, 0x24, 0xe5, 0x90, 0x44, 0xdc, 
+0xe5, 0x94, 0x50, 0x18, 0xe5, 0x94, 0x40, 0x1c, 0xe1, 0xa0, 0x58, 0x05, 0xe1, 0xa0, 0x58, 0x25, 0xe1, 0x85, 0x48, 0x04, 0xe5, 0x81, 0x40, 0x28, 0xe5, 0x92, 0x40, 0x14, 0xe5, 0x92, 0x50, 0x18, 0xe1, 0xa0, 0x48, 0x04, 0xe1, 0xa0, 0x48, 0x24, 
+0xe1, 0x84, 0x48, 0x05, 0xe5, 0x81, 0x40, 0x2c, 0xe2, 0x83, 0x50, 0x48, 0xe8, 0x95, 0x00, 0x30, 0xe1, 0x84, 0x44, 0x05, 0xe5, 0x81, 0x40, 0x30, 0xe5, 0x9c, 0x43, 0xec, 0xe3, 0x54, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x93, 0x40, 0x04, 
+0xe3, 0x54, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe3, 0x54, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x9c, 0xc3, 0xf0, 0xe3, 0x5c, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x49, 0xe5, 0x93, 0x30, 0x04, 0xe3, 0x53, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x46, 
+0xe5, 0x92, 0x36, 0x64, 0xe5, 0x81, 0x30, 0x34, 0xe5, 0x92, 0x36, 0x68, 0xe5, 0x81, 0x30, 0x38, 0xe5, 0x92, 0x36, 0x6c, 0xe5, 0x81, 0x30, 0x3c, 0xe5, 0x92, 0x36, 0x70, 0xe5, 0x81, 0x30, 0x40, 0xe3, 0xa0, 0x30, 0x00, 0xe0, 0x83, 0xc0, 0x83, 
+0xe0, 0x82, 0xc1, 0x0c, 0xe5, 0x9c, 0x40, 0x5c, 0xe5, 0x9c, 0xc3, 0x5c, 0xe2, 0x04, 0x40, 0xff, 0xe2, 0x0c, 0xc0, 0xff, 0xe1, 0x84, 0xc4, 0x0c, 0xe0, 0x81, 0x41, 0x03, 0xe5, 0x84, 0xc4, 0x00, 0xe2, 0x83, 0x30, 0x01, 0xe3, 0x53, 0x00, 0x20, 
+0xba, 0xff, 0xff, 0xf3, 0xe3, 0xa0, 0x30, 0x00, 0xe0, 0x83, 0xc0, 0x83, 0xe0, 0x82, 0xc1, 0x0c, 0xe5, 0x9c, 0x40, 0x60, 0xe5, 0x9c, 0x53, 0x60, 0xe2, 0x04, 0x40, 0xff, 0xe2, 0x05, 0x50, 0xff, 0xe1, 0x84, 0x44, 0x05, 0xe5, 0x9c, 0x50, 0x64, 
+0xe5, 0x9c, 0xc3, 0x64, 0xe2, 0x05, 0x50, 0xff, 0xe1, 0x84, 0x48, 0x05, 0xe1, 0x84, 0xcc, 0x0c, 0xe0, 0x81, 0x41, 0x03, 0xe5, 0x84, 0xc4, 0x80, 0xe2, 0x83, 0x30, 0x01, 0xe3, 0x53, 0x00, 0x20, 0xba, 0xff, 0xff, 0xee, 0xe3, 0xa0, 0x30, 0x00, 
+0xe0, 0x83, 0xc0, 0x83, 0xe0, 0x82, 0xc1, 0x0c, 0xe5, 0x9c, 0x41, 0xdc, 0xe5, 0x9c, 0xc4, 0xdc, 0xe2, 0x04, 0x40, 0xff, 0xe2, 0x0c, 0xc0, 0xff, 0xe1, 0x84, 0xc4, 0x0c, 0xe0, 0x81, 0x41, 0x03, 0xe5, 0x84, 0xc5, 0x00, 0xe2, 0x83, 0x30, 0x01, 
+0xe3, 0x53, 0x00, 0x20, 0xba, 0xff, 0xff, 0xf3, 0xe3, 0xa0, 0x30, 0x00, 0xe0, 0x83, 0xc0, 0x83, 0xe0, 0x82, 0xc1, 0x0c, 0xe5, 0x9c, 0x41, 0xe0, 0xe5, 0x9c, 0x54, 0xe0, 0xe2, 0x04, 0x40, 0xff, 0xe2, 0x05, 0x50, 0xff, 0xe1, 0x84, 0x44, 0x05, 
+0xe5, 0x9c, 0x51, 0xe4, 0xe5, 0x9c, 0xc4, 0xe4, 0xe2, 0x05, 0x50, 0xff, 0xe1, 0x84, 0x48, 0x05, 0xe1, 0x84, 0xcc, 0x0c, 0xe0, 0x81, 0x41, 0x03, 0xe5, 0x84, 0xc5, 0x80, 0xe2, 0x83, 0x30, 0x01, 0xe3, 0x53, 0x00, 0x20, 0xba, 0xff, 0xff, 0xee, 
+0xea, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x20, 0x0d, 0xe1, 0xa0, 0x30, 0x0e, 0xe7, 0x81, 0x31, 0x02, 0xe2, 0x82, 0x20, 0x01, 0xe3, 0x52, 0x00, 0x10, 0xda, 0xff, 0xff, 0xfb, 0xe3, 0xa0, 0x2c, 0x01, 0xe7, 0x81, 0x31, 0x02, 0xe2, 0x82, 0x20, 0x01, 
+0xe3, 0x52, 0x0d, 0x06, 0xba, 0xff, 0xff, 0xfb, 0xe5, 0x90, 0x21, 0xc0, 0xe3, 0x52, 0x00, 0x00, 0xda, 0x00, 0x00, 0x18, 0xe5, 0x90, 0x25, 0x0c, 0xe5, 0x92, 0x20, 0x00, 0xe5, 0x92, 0x30, 0x38, 0xe5, 0x92, 0xc0, 0x34, 0xe1, 0x83, 0x30, 0x8c, 
+0xe5, 0x92, 0xc0, 0x14, 0xe1, 0x83, 0x31, 0x0c, 0xe5, 0x92, 0xc0, 0x00, 0xe5, 0x92, 0x20, 0x18, 0xe1, 0x83, 0x31, 0x8c, 0xe1, 0x83, 0x28, 0x02, 0xe5, 0x81, 0x20, 0x44, 0xe5, 0x90, 0x25, 0x0c, 0xe5, 0x92, 0x20, 0x00, 0xe5, 0x92, 0x30, 0x1c, 
+0xe5, 0x92, 0x20, 0x20, 0xe1, 0xa0, 0x38, 0x03, 0xe1, 0xa0, 0x38, 0x23, 0xe1, 0x83, 0x28, 0x02, 0xe5, 0x81, 0x20, 0x48, 0xea, 0x00, 0x00, 0x05, 0x00, 0x00, 0x3b, 0xc8, 0x00, 0x55, 0x02, 0x00, 0x00, 0x55, 0x02, 0x80, 0x00, 0x55, 0x03, 0x40, 
+0xe5, 0x81, 0xe0, 0x44, 0xe5, 0x81, 0xe0, 0x48, 0xe2, 0x80, 0x3f, 0x6f, 0xe8, 0x93, 0x00, 0x0c, 0xe1, 0x82, 0x24, 0x03, 0xe5, 0x90, 0x31, 0xc4, 0xe1, 0x82, 0x28, 0x03, 0xe5, 0x90, 0x31, 0xcc, 0xe1, 0x82, 0x2c, 0x03, 0xe5, 0x81, 0x20, 0x4c, 
+0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x90, 0x35, 0x08, 0xe7, 0x93, 0x31, 0x02, 0xe5, 0x93, 0x40, 0x00, 0xe5, 0x93, 0xc0, 0x14, 0xe1, 0x8c, 0xc0, 0x84, 0xe5, 0x93, 0x40, 0x30, 0xe5, 0x93, 0x30, 0x18, 0xe1, 0x8c, 0xc1, 0x84, 
+0xe1, 0x8c, 0x38, 0x03, 0xe0, 0x81, 0xc1, 0x02, 0xe5, 0x8c, 0x30, 0x80, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x90, 0x31, 0xbc, 0xe1, 0x53, 0x00, 0x02, 0xca, 0xff, 0xff, 0xf0, 0xe5, 0x90, 0x21, 0xbc, 0xe3, 0x52, 0x00, 0x20, 0xaa, 0x00, 0x00, 0x03, 
+0xe0, 0x81, 0x31, 0x02, 0xe5, 0x83, 0xe0, 0x80, 0xe2, 0x82, 0x20, 0x01, 0xea, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x90, 0x35, 0x0c, 0xe7, 0x93, 0x31, 0x02, 0xe5, 0x93, 0x40, 0x00, 0xe5, 0x93, 0xc0, 0x14, 
+0xe1, 0x8c, 0xc0, 0x84, 0xe5, 0x93, 0x40, 0x30, 0xe5, 0x93, 0x30, 0x18, 0xe1, 0x8c, 0xc1, 0x84, 0xe1, 0x8c, 0x38, 0x03, 0xe0, 0x81, 0xc1, 0x02, 0xe5, 0x8c, 0x31, 0x00, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x90, 0x31, 0xc0, 0xe1, 0x53, 0x00, 0x02, 
+0xca, 0xff, 0xff, 0xf0, 0xe5, 0x90, 0x21, 0xc0, 0xe3, 0x52, 0x00, 0x20, 0xaa, 0x00, 0x00, 0x03, 0xe0, 0x81, 0x31, 0x02, 0xe5, 0x83, 0xe1, 0x00, 0xe2, 0x82, 0x20, 0x01, 0xea, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x0c, 
+0xe5, 0x90, 0x35, 0x10, 0xe7, 0x93, 0x31, 0x02, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x93, 0xc0, 0x14, 0xe5, 0x93, 0x30, 0x18, 0xe1, 0x8c, 0x38, 0x03, 0xe0, 0x81, 0xc1, 0x02, 0xe5, 0x8c, 0x31, 0x80, 0xea, 0x00, 0x00, 0x01, 
+0xe0, 0x81, 0x31, 0x02, 0xe5, 0x83, 0xe1, 0x80, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x90, 0x31, 0xc4, 0xe1, 0x53, 0x00, 0x02, 0xca, 0xff, 0xff, 0xef, 0xe5, 0x90, 0x21, 0xc4, 0xe3, 0x52, 0x00, 0x20, 0xaa, 0x00, 0x00, 0x03, 0xe0, 0x81, 0x31, 0x02, 
+0xe5, 0x83, 0xe1, 0x80, 0xe2, 0x82, 0x20, 0x01, 0xea, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x0c, 0xe5, 0x90, 0x35, 0x14, 0xe7, 0x93, 0x31, 0x02, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x93, 0xc0, 0x14, 
+0xe5, 0x93, 0x30, 0x18, 0xe1, 0x8c, 0x38, 0x03, 0xe0, 0x81, 0xc1, 0x02, 0xe5, 0x8c, 0x32, 0x00, 0xea, 0x00, 0x00, 0x01, 0xe0, 0x81, 0x31, 0x02, 0xe5, 0x83, 0xe2, 0x00, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x90, 0x31, 0xc8, 0xe1, 0x53, 0x00, 0x02, 
+0xca, 0xff, 0xff, 0xef, 0xe5, 0x90, 0x21, 0xc8, 0xe3, 0x52, 0x00, 0x20, 0xaa, 0x00, 0x00, 0x03, 0xe0, 0x81, 0x31, 0x02, 0xe5, 0x83, 0xe2, 0x00, 0xe2, 0x82, 0x20, 0x01, 0xea, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x0c, 
+0xe5, 0x90, 0x35, 0x18, 0xe7, 0x93, 0x31, 0x02, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x93, 0xc0, 0x14, 0xe5, 0x93, 0x30, 0x18, 0xe1, 0x8c, 0x38, 0x03, 0xe0, 0x81, 0xc1, 0x02, 0xe5, 0x8c, 0x32, 0x80, 0xea, 0x00, 0x00, 0x01, 
+0xe0, 0x81, 0x31, 0x02, 0xe5, 0x83, 0xe2, 0x80, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x90, 0x31, 0xcc, 0xe1, 0x53, 0x00, 0x02, 0xca, 0xff, 0xff, 0xef, 0xe5, 0x90, 0x21, 0xcc, 0xe3, 0x52, 0x00, 0x20, 0xaa, 0x00, 0x00, 0x03, 0xe0, 0x81, 0x31, 0x02, 
+0xe5, 0x83, 0xe2, 0x80, 0xe2, 0x82, 0x20, 0x01, 0xea, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x0c, 0xe5, 0x90, 0x35, 0x1c, 0xe7, 0x93, 0x31, 0x02, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x93, 0xc0, 0x14, 
+0xe5, 0x93, 0x30, 0x18, 0xe1, 0x8c, 0x38, 0x03, 0xe0, 0x81, 0xc1, 0x02, 0xe5, 0x8c, 0x33, 0x00, 0xea, 0x00, 0x00, 0x01, 0xe0, 0x81, 0x31, 0x02, 0xe5, 0x83, 0xe3, 0x00, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x90, 0x31, 0xd0, 0xe1, 0x53, 0x00, 0x02, 
+0xca, 0xff, 0xff, 0xef, 0xe5, 0x90, 0x21, 0xd0, 0xe3, 0x52, 0x00, 0x20, 0xaa, 0x00, 0x00, 0x03, 0xe0, 0x81, 0x31, 0x02, 0xe5, 0x83, 0xe3, 0x00, 0xe2, 0x82, 0x20, 0x01, 0xea, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x38, 0x56, 0xe3, 0xa0, 0x10, 0x00, 
+0xe5, 0x90, 0x25, 0x20, 0xe7, 0x92, 0xc1, 0x01, 0xe0, 0x83, 0x21, 0x01, 0xe5, 0x82, 0xc8, 0x04, 0xe5, 0x90, 0xc5, 0x24, 0xe7, 0x9c, 0xc1, 0x01, 0xe5, 0x82, 0xc8, 0x44, 0xe5, 0x90, 0xc5, 0x28, 0xe7, 0x9c, 0xc1, 0x01, 0xe5, 0x82, 0xc8, 0x84, 
+0xe5, 0x90, 0xc5, 0x2c, 0xe7, 0x9c, 0xc1, 0x01, 0xe5, 0x82, 0xc8, 0xc4, 0xe5, 0x90, 0xc5, 0x30, 0xe7, 0x9c, 0xc1, 0x01, 0xe5, 0x82, 0xc9, 0x04, 0xe5, 0x90, 0xc5, 0x34, 0xe7, 0x9c, 0xc1, 0x01, 0xe5, 0x82, 0xc9, 0x44, 0xe2, 0x81, 0x10, 0x01, 
+0xe3, 0x51, 0x00, 0x10, 0xba, 0xff, 0xff, 0xe9, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x90, 0x25, 0x38, 0xe7, 0x92, 0xc1, 0x01, 0xe0, 0x83, 0x21, 0x01, 0xe5, 0x82, 0xc9, 0x84, 0xe5, 0x90, 0xc5, 0x3c, 0xe7, 0x9c, 0xc1, 0x01, 0xe5, 0x82, 0xca, 0x84, 
+0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf5, 0xe8, 0xbd, 0x83, 0xf0, 0xe5, 0x2d, 0xe0, 0x04, 0xe3, 0xa0, 0x20, 0x02, 0xe3, 0xa0, 0xc0, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe0, 0x80, 0x31, 0x02, 0xe5, 0x93, 0xe5, 0x08, 
+0xe7, 0x8e, 0xc1, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x21, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x83, 0xc1, 0xbc, 0xe2, 0x82, 0x20, 0x01, 0xe3, 0x52, 0x00, 0x06, 0xba, 0xff, 0xff, 0xf4, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0xe0, 0x01, 
+0xea, 0x00, 0x00, 0x15, 0xe5, 0x90, 0x25, 0x08, 0xe5, 0x90, 0x35, 0x10, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0x20, 0x3c, 0xe7, 0x83, 0x21, 0x81, 0xe5, 0x90, 0x25, 0x08, 0xe5, 0x90, 0xc5, 0x10, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0x30, 0x40, 
+0xe0, 0x8e, 0x20, 0x81, 0xe7, 0x8c, 0x31, 0x02, 0xe5, 0x90, 0x35, 0x08, 0xe5, 0x90, 0xc5, 0x18, 0xe7, 0x93, 0x31, 0x01, 0xe5, 0x93, 0x30, 0x40, 0xe7, 0x8c, 0x31, 0x81, 0xe5, 0x90, 0x35, 0x08, 0xe5, 0x90, 0xc5, 0x18, 0xe7, 0x93, 0x31, 0x01, 
+0xe5, 0x93, 0x30, 0x3c, 0xe7, 0x8c, 0x31, 0x02, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x21, 0xbc, 0xe1, 0x52, 0x00, 0x01, 0xca, 0xff, 0xff, 0xe6, 0xe5, 0x90, 0x11, 0xbc, 0xe1, 0xa0, 0x10, 0x81, 0xe5, 0x80, 0x11, 0xcc, 0xe5, 0x80, 0x11, 0xc4, 
+0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x15, 0xe5, 0x90, 0x25, 0x0c, 0xe5, 0x90, 0x35, 0x14, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x92, 0x20, 0x3c, 0xe7, 0x83, 0x21, 0x81, 0xe5, 0x90, 0x25, 0x0c, 0xe5, 0x90, 0xc5, 0x14, 0xe7, 0x92, 0x21, 0x01, 
+0xe5, 0x92, 0x30, 0x40, 0xe0, 0x8e, 0x20, 0x81, 0xe7, 0x8c, 0x31, 0x02, 0xe5, 0x90, 0x35, 0x0c, 0xe5, 0x90, 0xc5, 0x1c, 0xe7, 0x93, 0x31, 0x01, 0xe5, 0x93, 0x30, 0x40, 0xe7, 0x8c, 0x31, 0x81, 0xe5, 0x90, 0x35, 0x0c, 0xe5, 0x90, 0xc5, 0x1c, 
+0xe7, 0x93, 0x31, 0x01, 0xe5, 0x93, 0x30, 0x3c, 0xe7, 0x8c, 0x31, 0x02, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x21, 0xc0, 0xe1, 0x52, 0x00, 0x01, 0xca, 0xff, 0xff, 0xe6, 0xe5, 0x90, 0x11, 0xc0, 0xe1, 0xa0, 0x10, 0x81, 0xe5, 0x80, 0x11, 0xd0, 
+0xe5, 0x80, 0x11, 0xc8, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x04, 0xe8, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x90, 0x03, 0xfc, 0xe2, 0x80, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x11, 0xe5, 0x94, 0x24, 0xec, 
+0xe5, 0x92, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x82, 0x00, 0x08, 0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x90, 0x23, 0xf8, 0xe3, 0xa0, 0x00, 0x00, 
+0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x12, 0xe3, 0x52, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x7f, 0xe3, 0x52, 0x00, 0x02, 0x1a, 0x00, 0x01, 0x71, 0xe5, 0x94, 0x14, 0xf4, 0xe5, 0x91, 0x13, 0xa0, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x01, 0x25, 
+0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x40, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x18, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x1c, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x4c, 
+0xea, 0x00, 0x01, 0x5a, 0xe5, 0x94, 0x24, 0xf4, 0xe5, 0x92, 0x23, 0xa0, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x24, 0xec, 0xe5, 0x82, 0x00, 0x20, 0xe5, 0x94, 0x24, 0xec, 0xe5, 0x82, 0x00, 0x24, 0xea, 0x00, 0x00, 0x0e, 
+0xe5, 0x94, 0x24, 0xec, 0xe5, 0x92, 0x30, 0x04, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x92, 0x30, 0x10, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x82, 0x00, 0x20, 0xe5, 0x94, 0x24, 0xec, 0xe5, 0x82, 0x00, 0x24, 
+0xea, 0x00, 0x00, 0x03, 0xe5, 0x82, 0x00, 0x20, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x20, 0x14, 0xe5, 0x80, 0x20, 0x24, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x20, 0x24, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x30, 0x24, 0xe1, 0x52, 0x00, 0x03, 
+0x2a, 0x00, 0x00, 0x06, 0xe0, 0x43, 0xc0, 0x02, 0xe1, 0x5c, 0x00, 0xa1, 0x3a, 0x00, 0x00, 0x03, 0xe5, 0x90, 0x20, 0x20, 0xe0, 0x82, 0x10, 0x01, 0xe5, 0x80, 0x10, 0x28, 0xea, 0x00, 0x00, 0x0a, 0xe1, 0x52, 0x00, 0x03, 0x9a, 0x00, 0x00, 0x06, 
+0xe0, 0x42, 0x20, 0x03, 0xe1, 0x52, 0x00, 0xa1, 0x9a, 0x00, 0x00, 0x03, 0xe5, 0x90, 0x20, 0x20, 0xe0, 0x42, 0x10, 0x01, 0xe5, 0x80, 0x10, 0x28, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x90, 0x10, 0x20, 0xe5, 0x80, 0x10, 0x28, 0xe5, 0x94, 0x04, 0xf4, 
+0xe5, 0x90, 0x10, 0x14, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x13, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x90, 0x00, 0x24, 0xe5, 0x91, 0x20, 0x28, 0xe0, 0x82, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x14, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x94, 0x24, 0xf4, 
+0xe5, 0x94, 0x04, 0xec, 0xe5, 0x92, 0x20, 0x28, 0xe0, 0x81, 0x10, 0x02, 0xe5, 0x80, 0x10, 0x18, 0xe5, 0x94, 0x24, 0xec, 0xe5, 0x92, 0x00, 0x14, 0xe1, 0x50, 0x00, 0x01, 0xba, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x01, 0xe5, 0x82, 0x00, 0x1c, 
+0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x4c, 0xea, 0x00, 0x00, 0x11, 0xe5, 0x90, 0x10, 0x18, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x90, 0x00, 0x24, 0xe5, 0x91, 0x20, 0x28, 0xe0, 0x82, 0x00, 0x00, 
+0xe5, 0x81, 0x00, 0x14, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x4c, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x90, 0x00, 0x24, 0xe5, 0x91, 0x20, 0x28, 0xe0, 0x82, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x18, 0xe5, 0x94, 0x14, 0xec, 
+0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x4c, 0xe5, 0x80, 0x10, 0x1c, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x90, 0x00, 0x10, 0xe5, 0x91, 0x20, 0x3c, 0xe1, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x00, 
+0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x08, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x14, 0xf4, 0xe5, 0x91, 0x10, 0x24, 0xe5, 0x80, 0x10, 0x24, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x28, 
+0xe5, 0x80, 0x10, 0x20, 0xe8, 0xbd, 0x80, 0x70, 0xe5, 0x94, 0x14, 0xf4, 0xe5, 0x91, 0x13, 0xa0, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x40, 0xea, 0x00, 0x00, 0x14, 0xe5, 0x94, 0x14, 0xec, 
+0xe5, 0x91, 0x20, 0x04, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x81, 0x00, 0x50, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x94, 0x14, 0xf4, 0xe5, 0x91, 0x20, 0x10, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x30, 0x3c, 
+0xe1, 0x52, 0x00, 0x03, 0x2a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x34, 0xe8, 0xe5, 0x91, 0x20, 0x50, 0xe5, 0x93, 0x34, 0x48, 0xe0, 0x82, 0x20, 0x03, 0xe5, 0x81, 0x20, 0x40, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x91, 0x20, 0x50, 0xe5, 0x81, 0x20, 0x40, 
+0xe5, 0x94, 0x14, 0xe8, 0xe5, 0x91, 0x14, 0x0c, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x94, 0x34, 0xf4, 0xe5, 0x91, 0x20, 0x40, 0xe5, 0x93, 0x30, 0x10, 0xe0, 0x82, 0x20, 0x03, 0xe5, 0x81, 0x20, 0x2c, 
+0xea, 0x00, 0x00, 0x01, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x2c, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x20, 0x08, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x91, 0x20, 0x2c, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xe2, 0x42, 0x20, 0x01, 0xe5, 0x81, 0x20, 0x2c, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x44, 0xe5, 0x94, 0x14, 0xe8, 0xe5, 0x91, 0x14, 0x0c, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x94, 0x24, 0xe8, 
+0xe5, 0x92, 0x34, 0x0c, 0xe1, 0x53, 0x00, 0x01, 0xda, 0x00, 0x00, 0x07, 0xe0, 0x82, 0x21, 0x01, 0xe5, 0x92, 0x34, 0x60, 0xe5, 0x94, 0x24, 0xec, 0xe5, 0x92, 0xc0, 0x44, 0xe0, 0x83, 0x30, 0x0c, 0xe5, 0x82, 0x30, 0x44, 0xe2, 0x81, 0x10, 0x01, 
+0xea, 0xff, 0xff, 0xf3, 0xe5, 0x94, 0x54, 0xec, 0xe5, 0x95, 0x20, 0x2c, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x1d, 0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x90, 0x14, 0x0c, 0xe2, 0x42, 0x00, 0x01, 0xeb, 0x00, 0x10, 0x76, 0xe5, 0x85, 0x00, 0x34, 
+0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x94, 0x54, 0xec, 0xe5, 0x90, 0x14, 0x0c, 0xe5, 0x95, 0x00, 0x2c, 0xe2, 0x40, 0x00, 0x01, 0xeb, 0x00, 0x10, 0x6f, 0xe5, 0x85, 0x10, 0x38, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x34, 0xe5, 0x90, 0x20, 0x44, 
+0xe0, 0x01, 0x01, 0x92, 0xe5, 0x80, 0x10, 0x30, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x20, 0x38, 0xe1, 0x52, 0x00, 0x00, 0xba, 0x00, 0x00, 0x08, 0xe5, 0x94, 0x24, 0xe8, 0xe5, 0x91, 0x30, 0x30, 0xe0, 0x82, 0x21, 0x00, 
+0xe5, 0x92, 0x24, 0x60, 0xe0, 0x82, 0x20, 0x03, 0xe5, 0x81, 0x20, 0x30, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf3, 0xe5, 0x85, 0x00, 0x30, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x08, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 
+0xe5, 0x94, 0x24, 0xe8, 0xe5, 0x90, 0x10, 0x30, 0xe5, 0x92, 0x24, 0x04, 0xe0, 0x81, 0x10, 0x02, 0xe5, 0x80, 0x10, 0x30, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x10, 0x14, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x16, 0xe5, 0x94, 0x14, 0xec, 
+0xe5, 0x90, 0x00, 0x2c, 0xe5, 0x91, 0x20, 0x30, 0xe0, 0x82, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x14, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x94, 0x24, 0xe8, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x92, 0x24, 0x08, 0xe0, 0x81, 0x10, 0x02, 0xe5, 0x94, 0x24, 0xf4, 
+0xe5, 0x92, 0x20, 0x30, 0xe0, 0x81, 0x10, 0x02, 0xe5, 0x80, 0x10, 0x18, 0xe5, 0x94, 0x24, 0xec, 0xe5, 0x92, 0x00, 0x14, 0xe1, 0x50, 0x00, 0x01, 0xba, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x01, 0xe5, 0x82, 0x00, 0x1c, 0xe5, 0x94, 0x14, 0xec, 
+0xe5, 0x81, 0x00, 0x4c, 0xea, 0x00, 0x00, 0x14, 0xe5, 0x90, 0x10, 0x18, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x90, 0x00, 0x2c, 0xe5, 0x91, 0x20, 0x30, 0xe0, 0x82, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x14, 
+0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x4c, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x94, 0x34, 0xe8, 0xe5, 0x91, 0x20, 0x30, 0xe5, 0x93, 0x34, 0x08, 0xe5, 0x90, 0x00, 0x2c, 0xe0, 0x82, 0x20, 0x03, 0xe0, 0x82, 0x00, 0x00, 
+0xe5, 0x81, 0x00, 0x18, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x4c, 0xe5, 0x80, 0x10, 0x1c, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x90, 0x00, 0x10, 0xe5, 0x81, 0x00, 0x3c, 
+0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x40, 0xe5, 0x80, 0x10, 0x50, 0xea, 0xff, 0xff, 0x52, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x20, 0x04, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x94, 0x14, 0xec, 
+0xe5, 0x81, 0x00, 0x50, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x10, 0x10, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x20, 0x3c, 0xe1, 0x51, 0x00, 0x02, 0x2a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x24, 0xe8, 0xe5, 0x90, 0x10, 0x50, 0xe5, 0x92, 0x24, 0x48, 
+0xe0, 0x81, 0x10, 0x02, 0xe5, 0x80, 0x10, 0x40, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x90, 0x10, 0x50, 0xe5, 0x80, 0x10, 0x40, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x94, 0x24, 0xf4, 0xe5, 0x90, 0x10, 0x40, 0xe5, 0x92, 0x20, 0x10, 0xe0, 0x81, 0x10, 0x02, 
+0xe5, 0x80, 0x10, 0x2c, 0xe1, 0xa0, 0x00, 0x01, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x20, 0x08, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0xe0, 0x20, 0x00, 0xe0, 0x82, 0x00, 0x80, 0xe5, 0x81, 0x00, 0x4c, 0xea, 0x00, 0x00, 0x01, 
+0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x10, 0x14, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x00, 0x4c, 0xe5, 0x81, 0x00, 0x1c, 0xe5, 0x94, 0x14, 0xec, 
+0xe5, 0x81, 0x00, 0x18, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x14, 0xea, 0x00, 0x00, 0x0d, 0xe5, 0x90, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x00, 0x4c, 0xe5, 0x81, 0x00, 0x1c, 
+0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x14, 0xea, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x00, 0x4c, 0xe5, 0x81, 0x00, 0x1c, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x18, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x94, 0x14, 0xec, 
+0xe5, 0x90, 0x00, 0x10, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x40, 0xe5, 0x80, 0x10, 0x50, 0xea, 0xff, 0xff, 0x0a, 0xe3, 0xa0, 0x00, 0x0e, 0xeb, 0xff, 0xeb, 0xfe, 0xea, 0xff, 0xff, 0x07, 0xe9, 0x2d, 0x40, 0x70, 
+0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x04, 0xec, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x80, 0x60, 0x04, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x10, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x10, 0x24, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 
+0xe5, 0x90, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xec, 0xf9, 0xe5, 0x94, 0x00, 0x10, 0xe5, 0x94, 0x10, 0x0c, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xec, 0x2d, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xeb, 0xfd, 0xe5, 0x94, 0x00, 0x10, 0xe5, 0x94, 0x10, 0x0c, 0xe1, 0x50, 0x00, 0x01, 0x0a, 0xff, 0xff, 0xf9, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x90, 0x10, 0x24, 
+0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x11, 0xe5, 0x90, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x00, 0x04, 0xe5, 0x94, 0x14, 0xdc, 0xe7, 0x90, 0x01, 0x05, 
+0xe5, 0x91, 0x10, 0x0c, 0xe5, 0x90, 0x00, 0x14, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xeb, 0xc4, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x94, 0x00, 0x14, 0xe1, 0x50, 0x00, 0x05, 0x8a, 0xff, 0xff, 0xf2, 
+0xe5, 0x94, 0x00, 0x00, 0xe5, 0x94, 0x10, 0x10, 0xe7, 0x90, 0x01, 0x01, 0xe1, 0xa0, 0x10, 0x04, 0xeb, 0xff, 0xf1, 0x0b, 0xe5, 0x94, 0x10, 0x00, 0xe5, 0x94, 0x20, 0x10, 0xe3, 0xa0, 0x00, 0x20, 0xe7, 0x91, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x28, 
+0xe5, 0x94, 0x10, 0x00, 0xe5, 0x94, 0x20, 0x10, 0xe7, 0x91, 0x11, 0x02, 0xe5, 0x91, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x30, 0xe5, 0x94, 0x10, 0x00, 0xe5, 0x94, 0x20, 0x10, 0xe7, 0x91, 0x11, 0x02, 
+0xe5, 0x91, 0x10, 0x30, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x30, 0xe5, 0x94, 0x10, 0x00, 0xe5, 0x94, 0x20, 0x10, 0xe7, 0x91, 0x11, 0x02, 0xe5, 0x91, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 
+0xe5, 0x81, 0x00, 0x30, 0xe5, 0x84, 0x60, 0x2c, 0xe5, 0x94, 0x00, 0x10, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x10, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xeb, 0x3a, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xea, 0xf1, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xec, 0xcb, 0xe5, 0x84, 0x64, 0xdc, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x80, 0x63, 0xb4, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x80, 0x60, 0x0c, 
+0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x64, 0xf4, 0xe5, 0x96, 0x70, 0x2c, 0xe5, 0x96, 0x80, 0x30, 0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x90, 0x14, 0x48, 0xe5, 0x96, 0x00, 0x0c, 0xe2, 0x80, 0x00, 0x01, 
+0xeb, 0x00, 0x0d, 0x10, 0xe1, 0xa0, 0x50, 0x01, 0xe5, 0x96, 0x60, 0x10, 0xea, 0x00, 0x00, 0x34, 0xe2, 0x84, 0x00, 0x30, 0xe5, 0x84, 0x04, 0xdc, 0xe3, 0xa0, 0x10, 0x50, 0xeb, 0x00, 0x0c, 0xf3, 0xe5, 0x94, 0x04, 0xdc, 0xe3, 0xa0, 0x20, 0x00, 
+0xe5, 0x80, 0x20, 0x38, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x50, 0x00, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x50, 0x0c, 0xe5, 0x94, 0x14, 0xdc, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x2c, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x81, 0x00, 0x28, 
+0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x81, 0x00, 0x24, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x20, 0x30, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x80, 0x50, 0x10, 0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x90, 0x03, 0xf8, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0xd9, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x14, 0xe5, 0x81, 0x00, 0x18, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x18, 0xe5, 0x81, 0x00, 0x1c, 
+0xe5, 0x94, 0x04, 0xec, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x1c, 0xe5, 0x81, 0x00, 0x20, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x1c, 0xe5, 0x81, 0x00, 0x14, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x54, 
+0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x80, 0x50, 0x0c, 0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x90, 0x14, 0x48, 0xe2, 0x85, 0x00, 0x01, 0xeb, 0x00, 0x0c, 0xd9, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0x56, 0x00, 0x05, 0x1a, 0xff, 0xff, 0xc8, 0xe5, 0x94, 0x04, 0xf4, 
+0xe5, 0x80, 0x70, 0x2c, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x80, 0x80, 0x30, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x80, 0x60, 0x10, 0xe8, 0xbd, 0x81, 0xf0, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x54, 0xe8, 0xe3, 0xa0, 0x10, 0x01, 
+0xe5, 0x95, 0x03, 0xf4, 0xe2, 0x80, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x11, 0xe5, 0x94, 0x04, 0xf4, 0xe2, 0x80, 0x60, 0x0c, 0xe8, 0x96, 0x00, 0x41, 0xe1, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe2, 0x80, 0x00, 0x01, 0xeb, 0x00, 0x0c, 0xc1, 
+0xe1, 0x51, 0x00, 0x06, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x95, 0x04, 0x14, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x9f, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x13, 0xa4, 0xe3, 0x51, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x01, 0xe5, 0x90, 0x10, 0x10, 0xe5, 0x80, 0x10, 0x0c, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x9a, 0xe2, 0x84, 0x00, 0x30, 0xe5, 0x84, 0x04, 0xdc, 0xe3, 0xa0, 0x10, 0x50, 0xeb, 0x00, 0x0c, 0x98, 0xe5, 0x94, 0x04, 0xec, 
+0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x14, 0xe5, 0x81, 0x00, 0x18, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x18, 0xe5, 0x81, 0x00, 0x1c, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x1c, 
+0xe5, 0x81, 0x00, 0x20, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x1c, 0xe5, 0x81, 0x00, 0x38, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x10, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x94, 0x04, 0xf4, 
+0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x10, 0xe5, 0x81, 0x00, 0x0c, 0xe5, 0x94, 0x04, 0xdc, 0xe3, 0xa0, 0x50, 0x00, 0xe5, 0x80, 0x50, 0x08, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x50, 0x04, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x00, 0x0c, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x81, 0x00, 0x24, 0xe5, 0x94, 0x04, 0xdc, 0xe5, 0x80, 0x50, 0x10, 0xe5, 0x94, 0x04, 0xdc, 
+0xe5, 0x80, 0x50, 0x28, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x00, 0x1c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x15, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x16, 0xe5, 0x94, 0x04, 0xec, 
+0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x18, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x00, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x80, 0x10, 0x00, 0xea, 0x00, 0x00, 0x0f, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x94, 0x14, 0xdc, 
+0xe5, 0x90, 0x00, 0x14, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x00, 0xe1, 0xa0, 0x10, 0x81, 0xe5, 0x80, 0x10, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x00, 0x1c, 
+0xe5, 0x81, 0x00, 0x14, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0x00, 0x0c, 0x2c, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x03, 0xa8, 0xe5, 0x81, 0x00, 0x30, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x94, 0x14, 0xdc, 
+0xe5, 0x90, 0x03, 0xa0, 0xe5, 0x81, 0x00, 0x34, 0xe5, 0x94, 0x04, 0xf8, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x03, 0xac, 0xe5, 0x81, 0x00, 0x40, 0xe5, 0x94, 0x04, 0xf4, 
+0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x03, 0xb0, 0xe5, 0x81, 0x00, 0x44, 0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x04, 0x20, 0xe5, 0x81, 0x00, 0x48, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x94, 0x14, 0xdc, 0xe5, 0x90, 0x03, 0x94, 
+0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x80, 0x53, 0xb4, 0xe8, 0xbd, 0x80, 0x70, 0xe5, 0x2d, 0xe0, 0x04, 0xe5, 0x90, 0x14, 0xf4, 0xe5, 0x90, 0x20, 0xa8, 0xe5, 0x91, 0x30, 0x08, 0xe1, 0x52, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x20, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x90, 0x30, 0x88, 0xe5, 0x91, 0xc0, 0x10, 0xe1, 0x53, 0x00, 0x0c, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x30, 0x00, 
+0xe1, 0x83, 0xc0, 0x02, 0xe5, 0x90, 0x20, 0x80, 0xe5, 0x91, 0x30, 0x14, 0xe1, 0x52, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xe0, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0xe0, 0x00, 0xe1, 0x8e, 0xc0, 0x0c, 0xe3, 0x53, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x09, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x20, 0x84, 0xe5, 0x91, 0x30, 0x18, 0xe1, 0x52, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x20, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x00, 
+0xe1, 0x82, 0xc0, 0x0c, 0xe5, 0x90, 0x20, 0x8c, 0xe5, 0x91, 0x33, 0xa4, 0xe1, 0x52, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x20, 0x01, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe1, 0x82, 0xc0, 0x0c, 0xe5, 0x90, 0x20, 0xa0, 0xe5, 0x91, 0x33, 0xa0, 0xe1, 0x52, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xe0, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0xe0, 0x00, 
+0xe1, 0x8e, 0xc0, 0x0c, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x20, 0xa4, 0xe5, 0x91, 0x30, 0x20, 0xe1, 0x52, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x20, 0x01, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe1, 0x82, 0xc0, 0x0c, 0xe5, 0x90, 0x24, 0xe8, 0xe5, 0x92, 0x23, 0xf8, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x90, 0x30, 0x90, 0xe5, 0x91, 0xe0, 0x24, 0xe1, 0x53, 0x00, 0x0e, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x30, 0x00, 0xe1, 0x83, 0x30, 0x0c, 0xe5, 0x90, 0xc0, 0x94, 0xe5, 0x91, 0xe0, 0x28, 0xe1, 0x5c, 0x00, 0x0e, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xc0, 0x01, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0xc0, 0x00, 0xe1, 0x8c, 0xc0, 0x03, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x90, 0x20, 0x98, 0xe5, 0x90, 0x32, 0xe8, 0xe1, 0x52, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x20, 0x01, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe1, 0x82, 0x20, 0x0c, 0xe5, 0x90, 0x00, 0x9c, 0xe5, 0x91, 0x10, 0x30, 0xe1, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xe1, 0x80, 0xc0, 0x02, 0xe1, 0xa0, 0x00, 0x0c, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0xf0, 0xe2, 0x4d, 0xdf, 0xf9, 0xe1, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0x02, 0xe3, 0xa0, 0x20, 0x40, 0xe5, 0x9f, 0x1f, 0x2c, 
+0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0xe9, 0xeb, 0x00, 0x0b, 0x9d, 0xe3, 0xa0, 0x20, 0x40, 0xe5, 0x9f, 0x1f, 0x1c, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0xd9, 0xeb, 0x00, 0x0b, 0x98, 0xe3, 0xa0, 0x2c, 0x01, 0xe5, 0x9f, 0x1f, 0x0c, 
+0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0x99, 0xeb, 0x00, 0x0b, 0x93, 0xe3, 0xa0, 0x2c, 0x01, 0xe5, 0x9f, 0x1e, 0xfc, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0x59, 0xeb, 0x00, 0x0b, 0x8e, 0xe3, 0xa0, 0x20, 0x40, 0xe5, 0x9f, 0x1e, 0xec, 
+0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0x49, 0xeb, 0x00, 0x0b, 0x89, 0xe3, 0xa0, 0x2c, 0x01, 0xe5, 0x9f, 0x1e, 0xdc, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x24, 0xeb, 0x00, 0x0b, 0x84, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x00, 
+0xe2, 0x8d, 0x10, 0x04, 0xe7, 0x81, 0x21, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x08, 0xba, 0xff, 0xff, 0xfb, 0xe5, 0x96, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0e, 0xe5, 0x95, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x0b, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x06, 0xaa, 0x00, 0x00, 0x01, 0xe2, 0x8d, 0x1f, 0x49, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x8d, 0x10, 0x24, 0xe0, 0x84, 0x21, 0x00, 0xe5, 0x82, 0x15, 0x20, 0xe2, 0x80, 0x00, 0x01, 
+0xe3, 0x50, 0x00, 0x08, 0xba, 0xff, 0xff, 0xf5, 0xea, 0x00, 0x00, 0xa5, 0xe5, 0x95, 0x00, 0x28, 0xe3, 0xa0, 0x30, 0x01, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x47, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x06, 0xaa, 0x00, 0x00, 0x2a, 
+0xe0, 0x85, 0xc1, 0x00, 0xe5, 0x9c, 0xe0, 0x2c, 0xe3, 0x5e, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 
+0xe2, 0x8d, 0xcf, 0xe9, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x8d, 0xcf, 0xd9, 0xe0, 0x84, 0xe1, 0x00, 0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x21, 0x00, 0xea, 0x00, 0x00, 0x30, 0xe2, 0x40, 0xc0, 0x01, 0xe0, 0x84, 0xe1, 0x0c, 0xe5, 0x9e, 0xe5, 0x20, 
+0xe0, 0x84, 0x71, 0x00, 0xe5, 0x87, 0xe5, 0x20, 0xe7, 0x91, 0xc1, 0x0c, 0xe7, 0x81, 0xc1, 0x00, 0xea, 0x00, 0x00, 0x28, 0xe5, 0x9c, 0xc3, 0xcc, 0xe3, 0x5c, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x03, 0xaa, 0x00, 0x00, 0x01, 
+0xe2, 0x8d, 0xcf, 0xe9, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x8d, 0xcf, 0xd9, 0xe0, 0x84, 0xe1, 0x00, 0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x21, 0x00, 0xea, 0x00, 0x00, 0x1c, 0xe0, 0x85, 0xc3, 0x00, 0xe2, 0x8c, 0xc0, 0x4c, 0xe0, 0x84, 0xe1, 0x00, 
+0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x31, 0x00, 0xea, 0x00, 0x00, 0x16, 0xe0, 0x85, 0xc1, 0x00, 0xe5, 0x9c, 0xc0, 0x2c, 0xe3, 0x5c, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe2, 0x40, 0xc0, 0x06, 0xe0, 0x85, 0xe1, 0x0c, 0xe5, 0x9e, 0xe3, 0xe4, 
+0xe3, 0x5e, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x8d, 0xcf, 0x99, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x8d, 0xcf, 0x59, 0xe0, 0x84, 0xe1, 0x00, 0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x21, 0x00, 
+0xea, 0x00, 0x00, 0x04, 0xe0, 0x85, 0xc4, 0x0c, 0xe2, 0x8c, 0xcf, 0x73, 0xe0, 0x84, 0xe1, 0x00, 0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x31, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x08, 0xba, 0xff, 0xff, 0xb8, 0xe5, 0x96, 0x00, 0x14, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x56, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x06, 0xaa, 0x00, 0x00, 0x2d, 0xe0, 0x86, 0xc1, 0x00, 0xe5, 0x9c, 0xe0, 0x18, 0xe3, 0x5e, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x17, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0b, 0xe5, 0x95, 0xc0, 0x28, 0xe3, 0x5c, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x45, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x8d, 0xcf, 0xe9, 0xea, 0x00, 0x00, 0x00, 
+0xe2, 0x8d, 0xcf, 0xd9, 0xe0, 0x84, 0xe1, 0x00, 0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x21, 0x00, 0xea, 0x00, 0x00, 0x3c, 0xe2, 0x40, 0xc0, 0x01, 0xe0, 0x84, 0xe1, 0x0c, 0xe5, 0x9e, 0xe5, 0x20, 0xe0, 0x84, 0x71, 0x00, 0xe5, 0x87, 0xe5, 0x20, 
+0xe7, 0x91, 0xc1, 0x0c, 0xe7, 0x81, 0xc1, 0x00, 0xea, 0x00, 0x00, 0x34, 0xe5, 0x9c, 0xc3, 0xb8, 0xe3, 0x5c, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x03, 0xaa, 0x00, 0x00, 0x01, 0xe2, 0x8d, 0xcf, 0xe9, 0xea, 0x00, 0x00, 0x00, 
+0xe2, 0x8d, 0xcf, 0xd9, 0xe0, 0x84, 0xe1, 0x00, 0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x21, 0x00, 0xea, 0x00, 0x00, 0x28, 0xe0, 0x86, 0xc3, 0x00, 0xe2, 0x8c, 0xc0, 0x38, 0xe0, 0x84, 0xe1, 0x00, 0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x31, 0x00, 
+0xea, 0x00, 0x00, 0x22, 0xe0, 0x86, 0xc1, 0x00, 0xe5, 0x9c, 0xc0, 0x18, 0xe3, 0x5c, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0b, 0xe5, 0x95, 0xc0, 0x28, 0xe3, 0x5c, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x1b, 0xe3, 0x50, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x01, 
+0xe2, 0x8d, 0xcf, 0x99, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x8d, 0xcf, 0x59, 0xe0, 0x84, 0xe1, 0x00, 0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x21, 0x00, 0xea, 0x00, 0x00, 0x12, 0xe2, 0x40, 0xc0, 0x06, 0xe0, 0x86, 0xe1, 0x0c, 0xe5, 0x9e, 0xe3, 0xd0, 
+0xe3, 0x5e, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x8d, 0xcf, 0x99, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x8d, 0xcf, 0x59, 0xe0, 0x84, 0xe1, 0x00, 0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x21, 0x00, 
+0xea, 0x00, 0x00, 0x04, 0xe0, 0x86, 0xc4, 0x0c, 0xe2, 0x8c, 0xcf, 0x6e, 0xe0, 0x84, 0xe1, 0x00, 0xe5, 0x8e, 0xc5, 0x20, 0xe7, 0x81, 0x31, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x08, 0xba, 0xff, 0xff, 0xa9, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x91, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe3, 0xa0, 0x08, 0x56, 0xe5, 0x9d, 0x10, 0x04, 0xe5, 0x9d, 0x20, 0x08, 0xe2, 0x01, 0x10, 0x01, 0xe2, 0x02, 0x20, 0x01, 0xe0, 0x81, 0x10, 0x82, 0xe5, 0x9d, 0x20, 0x0c, 
+0xe2, 0x02, 0x20, 0x01, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x9d, 0x20, 0x10, 0xe2, 0x02, 0x20, 0x01, 0xe0, 0x81, 0x11, 0x82, 0xe5, 0x9d, 0x20, 0x14, 0xe2, 0x02, 0x20, 0x01, 0xe0, 0x81, 0x12, 0x02, 0xe5, 0x9d, 0x20, 0x18, 0xe2, 0x02, 0x20, 0x01, 
+0xe0, 0x81, 0x12, 0x82, 0xe5, 0x9d, 0x20, 0x1c, 0xe2, 0x02, 0x20, 0x01, 0xe0, 0x81, 0x13, 0x02, 0xe5, 0x9d, 0x20, 0x20, 0xe2, 0x02, 0x20, 0x01, 0xe0, 0x81, 0x13, 0x82, 0xe5, 0x80, 0x18, 0x00, 0xe2, 0x8d, 0xdf, 0xf9, 0xe8, 0xbd, 0x80, 0xf0, 
+0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x60, 0x00, 0xe5, 0x96, 0x04, 0xf4, 0xe5, 0x90, 0x03, 0xa0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf4, 0x44, 0xe5, 0x96, 0x14, 0xf4, 
+0xe5, 0x81, 0x03, 0xb0, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf4, 0x3f, 0xe5, 0x96, 0x14, 0xf4, 0xe5, 0x81, 0x03, 0xac, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf4, 0x39, 
+0xe5, 0x96, 0x14, 0xf4, 0xe5, 0x81, 0x03, 0xa8, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xf7, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf4, 0x31, 0xe5, 0x96, 0x14, 0xf8, 0xe1, 0xa0, 0x50, 0x00, 
+0xe7, 0x91, 0x11, 0x04, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0x55, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xed, 0xe3, 0x55, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xeb, 0xff, 0xf4, 0x24, 0xe5, 0x96, 0x14, 0xf8, 0xe7, 0x91, 0x11, 0x04, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0x55, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf4, 0x1c, 0xe5, 0x96, 0x14, 0xf8, 
+0xe7, 0x91, 0x11, 0x04, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0x55, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf4, 0x12, 0xe5, 0x96, 0x14, 0xf8, 
+0xe7, 0x91, 0x11, 0x04, 0xe5, 0x81, 0x00, 0x0c, 0xe3, 0x55, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf4, 0x0a, 0xe5, 0x96, 0x14, 0xf8, 0xe7, 0x91, 0x11, 0x04, 0xe5, 0x81, 0x00, 0x10, 
+0xe2, 0x84, 0x40, 0x01, 0xe3, 0x54, 0x00, 0x10, 0xba, 0xff, 0xff, 0xcf, 0xea, 0xff, 0xff, 0xc5, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x24, 
+0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x22, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf3, 0xf8, 0xe5, 0x94, 0x14, 0xf4, 0xe5, 0x81, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x1b, 0xe3, 0xa0, 0x50, 0x00, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf3, 0xf0, 0xe5, 0x94, 0x14, 0xf4, 0xe1, 0xa0, 0x60, 0x00, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x00, 0x54, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x56, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x04, 0xeb, 0xff, 0xf4, 0x45, 0xe5, 0x94, 0x14, 0xf4, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x00, 0xd8, 0xea, 0x00, 0x00, 0x07, 0xe3, 0x56, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xeb, 0xff, 0xf3, 0xde, 0xe5, 0x94, 0x14, 0xf4, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x01, 0x5c, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x56, 0x00, 0x03, 0x1a, 0xff, 0xff, 0xe4, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x22, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf3, 0xd1, 0xe5, 0x94, 0x14, 0xf4, 0xe5, 0x81, 0x01, 0xe0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x1b, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x10, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf3, 0xc9, 0xe5, 0x94, 0x14, 0xf4, 0xe1, 0xa0, 0x60, 0x00, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x01, 0xe4, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x56, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 
+0xeb, 0xff, 0xf4, 0x1e, 0xe5, 0x94, 0x14, 0xf4, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x02, 0x68, 0xea, 0x00, 0x00, 0x07, 0xe3, 0x56, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf3, 0xb7, 
+0xe5, 0x94, 0x14, 0xf4, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x02, 0xec, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x56, 0x00, 0x03, 0x1a, 0xff, 0xff, 0xe4, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x4f, 0xf3, 0xe2, 0x4d, 0xd0, 0x2c, 0xe1, 0xa0, 0x50, 0x01, 
+0xe5, 0x95, 0x44, 0xf4, 0xe5, 0x95, 0x64, 0xe4, 0xe5, 0x95, 0x74, 0xe8, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x20, 0xe3, 0xa0, 0xa0, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x8d, 0x20, 0x0c, 0xe5, 0x9d, 0x00, 0x2c, 0xe5, 0x90, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x05, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x03, 0xa0, 0xe5, 0x9d, 0x00, 0x2c, 0xe5, 0x90, 0x00, 0x04, 0xe5, 0x84, 0x03, 0xa4, 0xe3, 0xa0, 0x10, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf3, 0x97, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf3, 0x93, 0xe3, 0x50, 0x00, 0x04, 0xda, 0x00, 0x00, 0x00, 0xe2, 0x40, 0x00, 0x05, 0xe5, 0x84, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x09, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x95, 0x03, 0x40, 0xe3, 0x80, 0x00, 0x01, 0xe5, 0x85, 0x03, 0x40, 0xea, 0x00, 0x00, 0x06, 
+0xe5, 0x95, 0x03, 0x40, 0xe3, 0x80, 0x00, 0x02, 0xe5, 0x85, 0x03, 0x40, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x95, 0x03, 0x40, 0xe3, 0x80, 0x00, 0x03, 0xe5, 0x85, 0x03, 0x40, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf3, 0x7b, 
+0xe5, 0x84, 0x00, 0x08, 0xe5, 0x95, 0x13, 0x2c, 0xe3, 0xa0, 0x80, 0x00, 0xe1, 0x50, 0x00, 0x01, 0xe3, 0xa0, 0x90, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x95, 0x13, 0x34, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x33, 0xe5, 0x85, 0x03, 0x2c, 
+0xe5, 0x85, 0x83, 0x34, 0xe3, 0xa0, 0x30, 0x08, 0xe3, 0xa0, 0x00, 0x10, 0xe5, 0x8d, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0xc6, 0x06, 0xe3, 0xa0, 0xb0, 0x04, 0xe3, 0xa0, 0xe6, 0x05, 0xea, 0x00, 0x00, 0x10, 0xe0, 0x8c, 0x13, 0x80, 
+0xe5, 0x8e, 0x10, 0x20, 0xe5, 0x94, 0x20, 0x08, 0xe5, 0x95, 0x13, 0x20, 0xe0, 0x82, 0x23, 0x02, 0xe0, 0x81, 0x12, 0x02, 0xe0, 0x81, 0x13, 0x80, 0xe2, 0x81, 0x1b, 0x43, 0xe5, 0x8e, 0x10, 0x14, 0xe3, 0xa0, 0x10, 0x20, 0xe5, 0x8e, 0x10, 0x0c, 
+0xe5, 0x8e, 0xb0, 0x08, 0xe5, 0x8e, 0x90, 0x00, 0xe5, 0x9e, 0x10, 0x30, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0x50, 0x00, 0x03, 0xba, 0xff, 0xff, 0xec, 0xe0, 0x8c, 0x13, 0x80, 0xe5, 0x8e, 0x10, 0x20, 
+0xe5, 0x94, 0x20, 0x08, 0xe5, 0x95, 0x13, 0x20, 0xe0, 0x82, 0x23, 0x02, 0xe0, 0x81, 0x12, 0x02, 0xe0, 0x81, 0x03, 0x80, 0xe2, 0x80, 0x0b, 0x43, 0xe5, 0x8e, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x18, 0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x0f, 0x21, 
+0xe1, 0xa0, 0x01, 0x40, 0xe5, 0x8e, 0x00, 0x0c, 0xe5, 0x8e, 0xb0, 0x08, 0xe5, 0x8e, 0x90, 0x00, 0xe5, 0x9e, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe3, 0xa0, 0x16, 0x06, 0xe5, 0x95, 0x04, 0xe4, 0xe3, 0xa0, 0x2e, 0x41, 
+0xeb, 0x00, 0x09, 0x97, 0xe5, 0x96, 0x00, 0x08, 0xe5, 0x95, 0x13, 0x28, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x95, 0x13, 0x30, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x46, 0xe5, 0x85, 0x03, 0x28, 0xe5, 0x85, 0x83, 0x30, 
+0xe3, 0xa0, 0x06, 0x06, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x10, 0x10, 0xe5, 0x8d, 0x10, 0x1c, 0xe3, 0xa0, 0x10, 0x60, 0xe5, 0x8d, 0x10, 0x18, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x95, 0x14, 0xe8, 0xe2, 0x81, 0x1c, 0x06, 0xe5, 0x8d, 0x10, 0x10, 
+0xe3, 0xa0, 0xb0, 0x00, 0xe3, 0xa0, 0xc0, 0x43, 0xea, 0x00, 0x00, 0x1a, 0xe3, 0x5b, 0x00, 0x0c, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x95, 0x04, 0xe8, 0xe5, 0x9d, 0x10, 0x14, 0xe3, 0xa0, 0x2c, 0x06, 0xeb, 0x00, 0x09, 0x7b, 0xe3, 0xa0, 0x0c, 0x06, 
+0xe0, 0x60, 0x13, 0x8b, 0xe2, 0x81, 0x16, 0x06, 0xe3, 0xa0, 0x36, 0x05, 0xe5, 0x83, 0x10, 0x20, 0xe5, 0x96, 0x20, 0x08, 0xe3, 0xa0, 0xc0, 0x43, 0xe5, 0x95, 0x13, 0x20, 0xe0, 0x02, 0x02, 0x9c, 0xe0, 0x81, 0x12, 0x82, 0xe0, 0x81, 0x13, 0x8b, 
+0xe5, 0x83, 0x10, 0x14, 0xe3, 0xa0, 0x10, 0x20, 0xe5, 0x83, 0x10, 0x0c, 0xe3, 0xa0, 0x10, 0x04, 0xe5, 0x83, 0x10, 0x08, 0xe5, 0x83, 0x90, 0x00, 0xe5, 0x93, 0x10, 0x30, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe2, 0x8b, 0xb0, 0x01, 
+0xe5, 0x9d, 0x10, 0x1c, 0xe1, 0x5b, 0x00, 0x01, 0xba, 0xff, 0xff, 0xe1, 0xe5, 0x9f, 0x06, 0x4c, 0xe0, 0x80, 0x13, 0x8b, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x80, 0x10, 0x20, 0xe5, 0x96, 0x20, 0x08, 0xe3, 0xa0, 0xc0, 0x43, 0xe5, 0x95, 0x13, 0x20, 
+0xe0, 0x02, 0x02, 0x9c, 0xe0, 0x81, 0x12, 0x82, 0xe0, 0x81, 0x13, 0x8b, 0xe5, 0x80, 0x10, 0x14, 0xe5, 0x9d, 0x10, 0x18, 0xe1, 0xa0, 0x2f, 0xc1, 0xe0, 0x81, 0x1f, 0x22, 0xe1, 0xa0, 0x11, 0x41, 0xe5, 0x80, 0x10, 0x0c, 0xe3, 0xa0, 0x10, 0x04, 
+0xe5, 0x80, 0x10, 0x08, 0xe5, 0x80, 0x90, 0x00, 0xe5, 0x90, 0x10, 0x30, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe3, 0xa0, 0x16, 0x06, 0xe5, 0x9d, 0x00, 0x10, 0xe3, 0xa0, 0x2e, 0x26, 0xeb, 0x00, 0x09, 0x49, 0xe5, 0x96, 0x00, 0x08, 
+0xe5, 0x95, 0x12, 0xf0, 0xe1, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0b, 0xe5, 0x95, 0x02, 0xf4, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x03, 0xb0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xe8, 0x67, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x85, 0x82, 0xf4, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xed, 0xb8, 0xe5, 0x96, 0x00, 0x08, 0xe5, 0x85, 0x02, 0xf0, 0xe5, 0x96, 0x00, 0x0c, 0xe3, 0xa0, 0xb8, 0x52, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x8b, 0x00, 0x08, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x08, 0xe5, 0x8b, 0x00, 0x08, 0xe5, 0x96, 0x00, 0x10, 0xe5, 0x84, 0x03, 0x98, 0xe5, 0x97, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x00, 0x19, 0xe3, 0xc0, 0x00, 0x01, 0xe5, 0x84, 0x03, 0xb8, 0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x84, 0x03, 0xbc, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x84, 0x83, 0xb8, 0xe5, 0x84, 0x83, 0xbc, 0xe5, 0x97, 0x03, 0xf4, 
+0xe2, 0x80, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xf2, 0xc4, 0xe5, 0x84, 0x00, 0x10, 0xe5, 0x94, 0x13, 0xa0, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x0c, 0xe5, 0x97, 0x04, 0x20, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x02, 0xe5, 0x84, 0x80, 0x1c, 0xe5, 0x84, 0x80, 0x14, 0xea, 0x00, 0x00, 0x12, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf2, 0xb6, 0xe5, 0x84, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0a, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf2, 0xb0, 0xe5, 0x84, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x84, 0x00, 0x1c, 0xea, 0x00, 0x00, 0x03, 0xe5, 0x84, 0x90, 0x1c, 
+0xea, 0x00, 0x00, 0x01, 0xe5, 0x84, 0x80, 0x1c, 0xe5, 0x84, 0x80, 0x18, 0xe5, 0x94, 0x00, 0x14, 0xe2, 0x80, 0x10, 0x01, 0xe5, 0x97, 0x04, 0x54, 0xeb, 0x00, 0x09, 0x2c, 0xe5, 0x84, 0x03, 0xc0, 0xe5, 0x97, 0x14, 0x4c, 0xe5, 0x84, 0x13, 0xcc, 
+0xe5, 0x97, 0x24, 0x4c, 0xe0, 0x02, 0x02, 0x90, 0xe5, 0x84, 0x23, 0xc4, 0xe5, 0x97, 0x24, 0x4c, 0xe5, 0x97, 0x34, 0x54, 0xe0, 0x02, 0x02, 0x93, 0xe5, 0x84, 0x23, 0xc8, 0xe5, 0x96, 0x20, 0x0c, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 
+0xe1, 0xa0, 0x12, 0x01, 0xe1, 0x81, 0x0a, 0x00, 0xe5, 0x8b, 0x00, 0x14, 0xe5, 0x97, 0x04, 0x24, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x03, 0x94, 0xe5, 0x9d, 0x00, 0x2c, 0xe5, 0x90, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x05, 0x1a, 0x00, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0xe1, 0xe5, 0x84, 0x00, 0x20, 0xe5, 0x97, 0x03, 0xf8, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0e, 0xe5, 0x97, 0x03, 0xfc, 0xe2, 0x80, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xf2, 0x7b, 0xe5, 0x84, 0x00, 0x24, 0xe5, 0x96, 0x03, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 
+0xe5, 0x94, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xeb, 0xff, 0xf2, 0x8c, 0xe5, 0x84, 0x00, 0x28, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x80, 0x28, 0xe5, 0x97, 0x03, 0xf8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0e, 
+0xe5, 0x97, 0x14, 0x00, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0b, 0xeb, 0xff, 0xf2, 0x82, 0xe5, 0x84, 0x00, 0x2c, 0xe5, 0x85, 0x02, 0xe8, 0xe5, 0x96, 0x03, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x94, 0x00, 0x14, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x07, 0xeb, 0xff, 0xf2, 0x79, 0xe5, 0x84, 0x00, 0x30, 0xea, 0x00, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x84, 0x80, 0x2c, 0xe5, 0x85, 0x82, 0xe8, 0xe5, 0x84, 0x80, 0x30, 
+0xe5, 0x96, 0x04, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf2, 0x53, 0xe5, 0x84, 0x00, 0x34, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf2, 0x4c, 0xe5, 0x84, 0x00, 0x38, 0xe5, 0x96, 0x03, 0xe4, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x48, 0xe5, 0x96, 0x03, 0xe8, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x4c, 
+0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x11, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf2, 0x3b, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf2, 0x36, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x48, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf2, 0x2e, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x4c, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x80, 0x4c, 0xe1, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xfe, 0x22, 0xe5, 0x96, 0x03, 0xec, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x96, 0x03, 0xf0, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x02, 0x28, 0xe5, 0x94, 0x03, 0xa4, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfd, 0xc3, 0xe5, 0x96, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x06, 0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf2, 0x06, 0xe5, 0x84, 0x03, 0x70, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x83, 0x70, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0x00, 0xe5, 0x84, 0x03, 0x74, 
+0xe5, 0x96, 0x13, 0xf4, 0xe0, 0x81, 0x00, 0x00, 0xe2, 0x80, 0x00, 0x1a, 0xe5, 0x84, 0x03, 0xd0, 0xe5, 0x95, 0x14, 0xf0, 0xe5, 0x81, 0x00, 0x34, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x04, 
+0x1a, 0x00, 0x00, 0x09, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf1, 0xef, 0xe5, 0x84, 0x03, 0x78, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf1, 0xeb, 
+0xe5, 0x84, 0x03, 0x7c, 0xe5, 0x96, 0x04, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x13, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf1, 0xe4, 0xe5, 0x84, 0x03, 0x80, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf1, 0xde, 0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x84, 0x03, 0x84, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf1, 0xd9, 0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x84, 0x03, 0x88, 
+0xea, 0x00, 0x00, 0x05, 0xe5, 0x84, 0x83, 0x88, 0xe5, 0x84, 0x83, 0x84, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x84, 0x83, 0x88, 0xe5, 0x84, 0x83, 0x84, 0xe5, 0x84, 0x83, 0x80, 0xe2, 0x85, 0x1e, 0x4e, 0xe9, 0x91, 0x00, 0x03, 0xe1, 0xa0, 0x20, 0x05, 
+0xeb, 0xff, 0xfc, 0x7d, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfc, 0x0e, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x38, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x35, 0xe5, 0x84, 0x83, 0xb4, 0xe5, 0x95, 0x02, 0xfc, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x2f, 0xe5, 0x85, 0x84, 0xd8, 0xe5, 0x95, 0x04, 0x48, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x48, 0xe5, 0x95, 0x02, 0xe4, 0xe5, 0x8d, 0x00, 0x28, 0xe5, 0x95, 0x02, 0xd8, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x9d, 0x10, 0x28, 0xeb, 0x00, 0x08, 0x41, 0xe5, 0x85, 0x12, 0xd8, 0xe0, 0x85, 0x01, 0x01, 0xe5, 0x90, 0x02, 0x54, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf6, 0xe3, 0xa0, 0x00, 0x00, 0xe0, 0x85, 0x21, 0x00, 0xe5, 0x92, 0x21, 0xd4, 
+0xe1, 0x52, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe2, 0x80, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x20, 0xba, 0xff, 0xff, 0xf8, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0xff, 0xff, 0xec, 0xea, 0x00, 0x00, 0x15, 0xe5, 0x95, 0x02, 0xd8, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x9d, 0x10, 0x24, 0xeb, 0x00, 0x08, 0x2d, 0xe5, 0x85, 0x12, 0xd8, 0xe0, 0x85, 0x01, 0x01, 0xe5, 0x90, 0x22, 0x54, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf6, 0xe5, 0x90, 0x03, 0x44, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf3, 
+0xe3, 0xa0, 0x00, 0x00, 0xe0, 0x85, 0x21, 0x00, 0xe5, 0x92, 0x24, 0x58, 0xe1, 0x52, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe2, 0x80, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x20, 0xba, 0xff, 0xff, 0xf8, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0xff, 0xff, 0xe9, 
+0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfb, 0x49, 0xe5, 0x94, 0x00, 0x04, 0xe5, 0x94, 0x10, 0x1c, 0xe1, 0xa0, 0x20, 0x05, 0xeb, 0xff, 0xed, 0xd4, 0xe5, 0x94, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xeb, 0xff, 0xf1, 0x28, 0xe5, 0x94, 0x00, 0x1c, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf8, 0xa7, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf6, 0xb9, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x10, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x16, 0x00, 0x00, 0x39, 0x34, 0x00, 0x00, 0x39, 0x60, 0x00, 0x00, 0x39, 0x8c, 0x00, 0x00, 0x3a, 0x78, 0x00, 0x00, 0x3b, 0x64, 0x00, 0x00, 0x3b, 0x90, 0x00, 0x5f, 0xfa, 0x00, 0xe5, 0x95, 0x02, 0xe4, 
+0xe5, 0x8d, 0x00, 0x24, 0xea, 0xff, 0xff, 0xc9, 0xe5, 0x97, 0x14, 0x24, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x10, 0x14, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x97, 0x14, 0x4c, 0xeb, 0x00, 0x07, 0xf3, 
+0xe1, 0xa0, 0x00, 0x80, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x97, 0x14, 0x4c, 0xe5, 0x94, 0x03, 0x90, 0xeb, 0x00, 0x07, 0xee, 0xe5, 0x94, 0x20, 0x14, 0xe5, 0x97, 0x34, 0x24, 0xe1, 0x82, 0x20, 0x83, 0xe5, 0x96, 0x34, 0x08, 0xe1, 0x82, 0x21, 0x03, 
+0xe5, 0x96, 0x30, 0x0c, 0xe1, 0x82, 0x31, 0x83, 0xe5, 0x97, 0x20, 0x04, 0xe3, 0x52, 0x00, 0x64, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x20, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe1, 0x83, 0x22, 0x02, 0xe5, 0x97, 0x30, 0x20, 
+0xe1, 0x82, 0x22, 0x83, 0xe5, 0x96, 0x30, 0x10, 0xe1, 0x82, 0x23, 0x83, 0xe1, 0x82, 0x14, 0x01, 0xe1, 0x81, 0x07, 0x80, 0xe5, 0x8b, 0x00, 0x48, 0xe5, 0x94, 0x00, 0x48, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x04, 0xe3, 0x51, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x20, 0x4c, 0xe2, 0x42, 0x20, 0x01, 0xe5, 0x8d, 0x20, 0x0c, 0xe5, 0x94, 0x23, 0xd0, 0xe5, 0x94, 0x33, 0x70, 0xe1, 0x82, 0x23, 0x03, 0xe1, 0x82, 0x14, 0x01, 0xe5, 0x9d, 0x20, 0x0c, 0xe1, 0x81, 0x06, 0x00, 
+0xe5, 0x97, 0x14, 0x28, 0xe1, 0x80, 0x08, 0x82, 0xe1, 0x80, 0x0b, 0x01, 0xe5, 0x97, 0x14, 0x20, 0xe1, 0x80, 0x0b, 0x81, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x94, 0x13, 0x94, 0xe5, 0x94, 0x00, 0x00, 0xe2, 0x81, 0x10, 0x01, 
+0xe0, 0x00, 0x00, 0x91, 0xe5, 0x84, 0x03, 0x90, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x6c, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x95, 0x04, 0xe8, 0xe5, 0x90, 0x04, 0x24, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x95, 0x04, 0xf4, 
+0xe5, 0x90, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x20, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x95, 0x04, 0xf4, 0xe5, 0x90, 0x00, 0x14, 0xe1, 0x90, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x30, 0x01, 0xe5, 0x8d, 0x30, 0x08, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x00, 0xe5, 0x8d, 0x30, 0x08, 0xe3, 0xa0, 0xe8, 0x52, 0xe5, 0x8e, 0x80, 0xdc, 0xe5, 0x9f, 0xe3, 0xf0, 0xe5, 0x9f, 0x03, 0xf0, 0xe3, 0x52, 0x00, 0x00, 
+0xe3, 0xa0, 0xc8, 0x56, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x8c, 0xe0, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x8c, 0x00, 0x00, 0xe3, 0xa0, 0x30, 0x03, 0xe5, 0x8c, 0x30, 0x14, 0xe5, 0x9d, 0x30, 0x08, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x11, 
+0xe2, 0x85, 0x3a, 0x03, 0xe5, 0x93, 0xbb, 0xc8, 0xe3, 0x1b, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x93, 0x3b, 0xc0, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x93, 0x3b, 0xc0, 0xe1, 0xa0, 0x36, 0xc3, 0xe3, 0xa0, 0xb8, 0x55, 0xe5, 0x8b, 0x32, 0x00, 
+0xe5, 0x8b, 0x32, 0x80, 0xe5, 0x8b, 0x33, 0x40, 0xe5, 0x9c, 0x30, 0x08, 0xe5, 0x8d, 0x30, 0x04, 0xe5, 0x9d, 0x30, 0x04, 0xe3, 0xc3, 0x30, 0x1f, 0xe3, 0xc3, 0x35, 0x1f, 0xe5, 0x8c, 0x30, 0x08, 0xe1, 0xa0, 0xb0, 0x0e, 0xe3, 0xa0, 0xe8, 0x52, 
+0xe1, 0xa0, 0x30, 0x08, 0xe5, 0x9e, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0xc8, 0x56, 0xe5, 0x8c, 0xb0, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x9f, 0x03, 0x4c, 
+0xe3, 0xa0, 0xc8, 0x56, 0xe5, 0x8c, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0xc6, 0x02, 0xe7, 0x8c, 0x31, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x28, 0xba, 0xff, 0xff, 0xfb, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x8e, 0x90, 0xcc, 
+0xe3, 0x51, 0x00, 0x02, 0xba, 0xff, 0xff, 0xea, 0xe5, 0x9e, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x9e, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x8e, 0x30, 0xdc, 0xe5, 0x9e, 0x00, 0xd8, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x9d, 0x30, 0x08, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x09, 0xe5, 0x95, 0x00, 0xac, 0xe3, 0xa0, 0xb8, 0x55, 0xe5, 0x8b, 0x02, 0x00, 0xe5, 0x95, 0x01, 0x2c, 0xe5, 0x8b, 0x02, 0x80, 
+0xe5, 0x95, 0x03, 0x24, 0xe5, 0x8b, 0x03, 0x40, 0xe5, 0x9d, 0x30, 0x04, 0xe3, 0xa0, 0xc8, 0x56, 0xe5, 0x8c, 0x30, 0x08, 0xe5, 0x94, 0x03, 0xcc, 0xe5, 0x97, 0x14, 0x54, 0xe1, 0xa0, 0x02, 0x00, 0xe1, 0x80, 0x07, 0x81, 0xe3, 0xa0, 0x18, 0x56, 
+0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x30, 0x03, 0xe5, 0x81, 0x30, 0x14, 0xe5, 0x96, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x1b, 0xe3, 0xa0, 0xb8, 0x52, 0xe5, 0x9b, 0x00, 0x44, 0xe3, 0x10, 0x00, 0x07, 0x0a, 0x00, 0x00, 0x05, 
+0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x1e, 0xa1, 0xe3, 0xc1, 0x10, 0x07, 0xe0, 0x40, 0x00, 0x01, 0xe2, 0x60, 0x00, 0x08, 0xeb, 0xff, 0xf0, 0x95, 0xe3, 0xa0, 0x10, 0x08, 0xe5, 0x8b, 0x10, 0x00, 0xea, 0x00, 0x00, 0x0a, 0xe5, 0x9b, 0x00, 0xd8, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x8b, 0x10, 0x04, 0xe5, 0x9b, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x8b, 0x90, 0xcc, 0xe5, 0x94, 0x03, 0x90, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x90, 
+0xe5, 0x9b, 0x00, 0x54, 0xe3, 0x10, 0x00, 0x01, 0x0a, 0xff, 0xff, 0xf1, 0xea, 0x00, 0x00, 0x5c, 0xe5, 0x95, 0x04, 0xf0, 0xe5, 0x80, 0x80, 0x40, 0xe5, 0x95, 0x04, 0xf0, 0xe5, 0x80, 0x80, 0x28, 0xea, 0x00, 0x00, 0x50, 0xe5, 0x94, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x2d, 0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x2b, 0xe5, 0x96, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x28, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf0, 0x97, 
+0xe1, 0xa0, 0xb0, 0x00, 0xe3, 0x5b, 0x00, 0x00, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xa0, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0xa0, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xea, 0x00, 0x00, 0x19, 0xe2, 0x4b, 0x00, 0x01, 0xe1, 0x57, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x10, 0xe5, 0x94, 0x03, 0x94, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0b, 0xe5, 0x94, 0x03, 0x90, 0xe3, 0x10, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x91, 0x00, 0x40, 0xe1, 0xa0, 0x0f, 0xc0, 0xe2, 0x00, 0x00, 0x01, 0xe5, 0x95, 0x14, 0xf0, 0xe5, 0x81, 0x00, 0x40, 0xe5, 0x85, 0x82, 0xf8, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x85, 0x92, 0xf8, 0xe5, 0x95, 0x04, 0xf0, 
+0xe5, 0x80, 0x90, 0x28, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf5, 0x96, 0xe2, 0x87, 0x70, 0x01, 0xe1, 0x57, 0x00, 0x0b, 0xba, 0xff, 0xff, 0xe3, 0xeb, 0x00, 0x00, 0x55, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x9d, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x17, 0xe5, 0x94, 0x03, 0x90, 0xe5, 0x94, 0x13, 0xc4, 0xe1, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x13, 0xe5, 0x94, 0x13, 0x94, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0b, 0xe3, 0x10, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x04, 
+0xe2, 0x00, 0x01, 0x06, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0x5a, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf0, 0x5d, 0xe5, 0x95, 0x14, 0xf0, 0xe5, 0x81, 0x00, 0x40, 
+0xe5, 0x95, 0x04, 0xf0, 0xe5, 0x80, 0x80, 0x28, 0xe5, 0x85, 0x82, 0xf8, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf5, 0x76, 0xe5, 0x96, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xeb, 0x00, 0x00, 0x35, 0xe5, 0x8d, 0x00, 0x20, 
+0xe5, 0x9d, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x03, 0x90, 0xe5, 0x94, 0x13, 0xc4, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xa7, 0xe5, 0x94, 0x03, 0x90, 0xe5, 0x94, 0x13, 0xc4, 0xe1, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x0c, 0xe5, 0x94, 0x00, 0x1c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x85, 0x02, 0xfc, 0xea, 0x00, 0x00, 0x04, 0xe5, 0x85, 0x93, 0x00, 0xe5, 0x95, 0x02, 0xfc, 0xe5, 0x94, 0x10, 0x1c, 
+0xe1, 0x80, 0x00, 0x01, 0xe5, 0x85, 0x02, 0xfc, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf3, 0xa5, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x94, 0x03, 0x90, 0xe5, 0x94, 0x23, 0xc4, 
+0xe1, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x06, 0x02, 0xe5, 0x80, 0x90, 0xa0, 0xe5, 0x81, 0x90, 0xcc, 0xe5, 0x91, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x81, 0x80, 0xdc, 0xe1, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xf3, 0x6f, 0xe2, 0x8d, 0xd0, 0x34, 0xe8, 0xbd, 0x8f, 0xf0, 0xe2, 0x40, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x10, 0xa1, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xfa, 
+0xe1, 0x2f, 0xff, 0x1e, 0x00, 0x01, 0x00, 0x10, 0x00, 0x00, 0x80, 0x20, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x84, 0xe3, 0x10, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x00, 0x01, 
+0xea, 0xff, 0xff, 0xfc, 0xe9, 0x2d, 0x40, 0x30, 0xe3, 0xa0, 0x50, 0x20, 0xe5, 0x90, 0x24, 0xec, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x82, 0x16, 0x68, 0xe5, 0x90, 0x24, 0xec, 0xe5, 0x82, 0x16, 0x70, 0xe5, 0x90, 0x24, 0xec, 0xe5, 0x82, 0x16, 0x64, 
+0xe5, 0x90, 0x24, 0xec, 0xe5, 0x82, 0x16, 0x6c, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x16, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x40, 0x01, 0xe0, 0x82, 0xc0, 0x82, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x90, 0x34, 0xec, 
+0xe5, 0x93, 0x30, 0x54, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x90, 0x34, 0xec, 0xe5, 0x93, 0x30, 0x58, 0xe5, 0x90, 0xe4, 0xec, 0xe1, 0xa0, 0x33, 0x14, 0xe0, 0x8e, 0xe1, 0x0c, 0xe0, 0x8e, 0xe1, 0x01, 0xe5, 0x8e, 0x30, 0x5c, 0xe5, 0x90, 0xe4, 0xec, 
+0xe0, 0x8e, 0xe1, 0x0c, 0xe0, 0x8e, 0xe1, 0x01, 0xe5, 0x8e, 0x31, 0xdc, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x03, 0xba, 0xff, 0xff, 0xec, 0xe2, 0x82, 0x20, 0x01, 0xe1, 0x52, 0x00, 0x05, 0xba, 0xff, 0xff, 0xe6, 0xe8, 0xbd, 0x80, 0x30, 
+0xe9, 0x2d, 0x47, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xef, 0xe8, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x54, 0xe5, 0x94, 0x14, 0xec, 0xe3, 0x50, 0x00, 0x00, 0xe3, 0xa0, 0x90, 0x01, 
+0x0a, 0x00, 0x00, 0x02, 0xe2, 0x40, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x19, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x06, 0x5c, 0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x90, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0c, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xef, 0xd6, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x58, 0xe5, 0x94, 0x14, 0xec, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe2, 0x40, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x19, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x06, 0x60, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xb5, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0xa0, 0x00, 0xea, 0x00, 0x00, 0x4c, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 
+0xeb, 0xff, 0xef, 0xc4, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x26, 0x64, 0xe1, 0x82, 0x26, 0x10, 0xe5, 0x81, 0x26, 0x64, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0d, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xef, 0xbb, 
+0xe5, 0x94, 0x14, 0xec, 0xe0, 0x86, 0x50, 0x86, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x00, 0x5c, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xef, 0xb4, 0xe5, 0x94, 0x14, 0xec, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x03, 0x5c, 
+0xea, 0x00, 0x00, 0x08, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x00, 0x54, 0xe1, 0xa0, 0x20, 0x19, 0xe0, 0x86, 0x00, 0x86, 0xe0, 0x81, 0x11, 0x00, 0xe5, 0x81, 0x20, 0x5c, 0xe5, 0x94, 0x14, 0xec, 0xe0, 0x81, 0x01, 0x00, 0xe5, 0x80, 0xa3, 0x5c, 
+0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x90, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x27, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xef, 0xa0, 0xe1, 0xa0, 0x80, 0x00, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x26, 0x68, 
+0xe1, 0x82, 0x06, 0x18, 0xe5, 0x81, 0x06, 0x68, 0xe3, 0xa0, 0x50, 0x01, 0xe0, 0x86, 0x70, 0x86, 0xe3, 0x58, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xef, 0x94, 0xe5, 0x94, 0x14, 0xec, 
+0xe0, 0x81, 0x11, 0x07, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x00, 0x5c, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xef, 0x8d, 0xe5, 0x94, 0x14, 0xec, 0xe0, 0x81, 0x11, 0x07, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x03, 0x5c, 
+0xea, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x58, 0xe0, 0x80, 0x01, 0x07, 0xe0, 0x80, 0x01, 0x05, 0xe1, 0xa0, 0x11, 0x19, 0xe5, 0x80, 0x10, 0x5c, 0xe5, 0x94, 0x04, 0xec, 0xe0, 0x80, 0x01, 0x07, 0xe0, 0x80, 0x01, 0x05, 
+0xe5, 0x80, 0xa3, 0x5c, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x03, 0xba, 0xff, 0xff, 0xe1, 0xe2, 0x86, 0x60, 0x01, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x00, 0x48, 0xe1, 0x50, 0x00, 0x06, 0xca, 0xff, 0xff, 0xae, 0xe5, 0x94, 0x04, 0xf4, 
+0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x52, 0xe3, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x4c, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xef, 0x6d, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x26, 0x6c, 
+0xe1, 0x82, 0x26, 0x10, 0xe5, 0x81, 0x26, 0x6c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0d, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xef, 0x64, 0xe5, 0x94, 0x14, 0xec, 0xe0, 0x86, 0x50, 0x86, 0xe0, 0x81, 0x11, 0x05, 
+0xe5, 0x81, 0x01, 0xdc, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xef, 0x5d, 0xe5, 0x94, 0x14, 0xec, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x04, 0xdc, 0xea, 0x00, 0x00, 0x08, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x00, 0x54, 
+0xe1, 0xa0, 0x20, 0x19, 0xe0, 0x86, 0x00, 0x86, 0xe0, 0x81, 0x11, 0x00, 0xe5, 0x81, 0x21, 0xdc, 0xe5, 0x94, 0x14, 0xec, 0xe0, 0x81, 0x01, 0x00, 0xe5, 0x80, 0xa4, 0xdc, 0xe5, 0x94, 0x04, 0xe8, 0xe5, 0x90, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x27, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xef, 0x49, 0xe1, 0xa0, 0x80, 0x00, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x91, 0x26, 0x70, 0xe1, 0x82, 0x06, 0x18, 0xe5, 0x81, 0x06, 0x70, 0xe3, 0xa0, 0x50, 0x01, 
+0xe0, 0x86, 0x70, 0x86, 0xe3, 0x58, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xef, 0x3d, 0xe5, 0x94, 0x14, 0xec, 0xe0, 0x81, 0x11, 0x07, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x01, 0xdc, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xef, 0x36, 0xe5, 0x94, 0x14, 0xec, 0xe0, 0x81, 0x11, 0x07, 0xe0, 0x81, 0x11, 0x05, 0xe5, 0x81, 0x04, 0xdc, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x04, 0xec, 0xe5, 0x90, 0x10, 0x58, 
+0xe0, 0x80, 0x01, 0x07, 0xe0, 0x80, 0x01, 0x05, 0xe1, 0xa0, 0x11, 0x19, 0xe5, 0x80, 0x11, 0xdc, 0xe5, 0x94, 0x04, 0xec, 0xe0, 0x80, 0x01, 0x07, 0xe0, 0x80, 0x01, 0x05, 0xe5, 0x80, 0xa4, 0xdc, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x03, 
+0xba, 0xff, 0xff, 0xe1, 0xe2, 0x86, 0x60, 0x01, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x00, 0x4c, 0xe1, 0x50, 0x00, 0x06, 0xca, 0xff, 0xff, 0xae, 0xe8, 0xbd, 0x87, 0xf0, 0xe2, 0x80, 0x0e, 0x1b, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xeb, 0x00, 0x04, 0x39, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x58, 0x52, 0xe5, 0x95, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x95, 0x00, 0x44, 0xe3, 0x10, 0x00, 0x07, 0x0a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x1e, 0xa1, 0xe3, 0xc1, 0x10, 0x07, 0xe0, 0x40, 0x00, 0x01, 0xe2, 0x60, 0x00, 0x08, 0xeb, 0xff, 0xee, 0xe3, 
+0xe3, 0xa0, 0x00, 0x04, 0xe5, 0x85, 0x00, 0x30, 0xe5, 0x95, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x95, 0x00, 0x40, 0xe1, 0xa0, 0x04, 0x40, 0xe3, 0xc0, 0x04, 0xff, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x40, 0x01, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xee, 0xd5, 0xe3, 0x54, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xf1, 0xe3, 0xa0, 0x00, 0x24, 0xe5, 0x85, 0x00, 0x30, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x86, 0x03, 0x10, 
+0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x58, 0x52, 0xe5, 0x95, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x95, 0x00, 0x44, 0xe3, 0x10, 0x00, 0x07, 
+0x0a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x1e, 0xa1, 0xe3, 0xc1, 0x10, 0x07, 0xe0, 0x40, 0x00, 0x01, 0xe2, 0x60, 0x00, 0x08, 0xeb, 0xff, 0xee, 0xbe, 0xe3, 0xa0, 0x00, 0x04, 0xe5, 0x85, 0x00, 0x30, 0xe3, 0xa0, 0x10, 0x00, 
+0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x95, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x95, 0x00, 0x40, 0xe1, 0xa0, 0x34, 0x20, 0xe3, 0x53, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x10, 0x01, 0xe2, 0x00, 0x00, 0x1f, 
+0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x05, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x07, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x01, 0xe3, 0x51, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x03, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x40, 0x01, 0xea, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xee, 0xa0, 0xe5, 0x95, 0x00, 0x98, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x86, 0x03, 0x0c, 0xea, 0x00, 0x00, 0x01, 0xe3, 0x54, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xdb, 0xe3, 0xa0, 0x00, 0x24, 0xe5, 0x85, 0x00, 0x30, 0xe3, 0xa0, 0x00, 0x18, 0xeb, 0xff, 0xee, 0x94, 0xe8, 0xbd, 0x80, 0x70, 
+0xe5, 0x9f, 0x1d, 0xe0, 0xe5, 0x80, 0x12, 0xe8, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x20, 0x80, 0xe5, 0x80, 0x10, 0xa8, 0xe5, 0x80, 0x10, 0x88, 0xe5, 0x80, 0x10, 0x8c, 0xe5, 0x80, 0x20, 0xa0, 0xe3, 0xe0, 0x20, 0x00, 0xe5, 0x80, 0x20, 0x90, 
+0xe5, 0x80, 0x10, 0x94, 0xe5, 0x80, 0x10, 0x98, 0xe5, 0x80, 0x10, 0x9c, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x2d, 0xe0, 0x04, 0xe2, 0x80, 0x1b, 0x09, 0xe2, 0x81, 0x10, 0x9c, 0xe5, 0x80, 0x10, 0x00, 0xe2, 0x80, 0x1b, 0x09, 0xe2, 0x81, 0x10, 0xdc, 
+0xe5, 0x80, 0x10, 0x04, 0xe2, 0x80, 0x1b, 0x09, 0xe2, 0x81, 0x1f, 0x47, 0xe5, 0x80, 0x10, 0x08, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe0, 0x61, 0x31, 0x81, 0xe0, 0x80, 0x31, 0x83, 0xe5, 0x90, 0xc0, 0x00, 0xe2, 0x83, 0x3b, 0x09, 
+0xe2, 0x83, 0x3f, 0x57, 0xe7, 0x8c, 0x31, 0x01, 0xe5, 0x83, 0x20, 0x00, 0xe5, 0x90, 0x30, 0x00, 0xe7, 0x93, 0x31, 0x01, 0xe5, 0x83, 0x20, 0x04, 0xe5, 0x90, 0x30, 0x00, 0xe7, 0x93, 0x31, 0x01, 0xe5, 0x83, 0x20, 0x08, 0xe5, 0x90, 0x30, 0x00, 
+0xe7, 0x93, 0x31, 0x01, 0xe5, 0x83, 0x20, 0x0c, 0xe5, 0x90, 0x30, 0x00, 0xe7, 0x93, 0x31, 0x01, 0xe5, 0x83, 0x20, 0x20, 0xe5, 0x90, 0xe0, 0x00, 0xe0, 0x81, 0x31, 0x81, 0xe0, 0x80, 0x31, 0x83, 0xe7, 0x9e, 0xe1, 0x01, 0xe2, 0x83, 0xcb, 0x0a, 
+0xe2, 0x8c, 0xc0, 0xdc, 0xe5, 0x8e, 0xc0, 0x2c, 0xe5, 0x90, 0xe0, 0x00, 0xe2, 0x83, 0xcb, 0x0b, 0xe7, 0x9e, 0xe1, 0x01, 0xe2, 0x8c, 0xcf, 0x57, 0xe5, 0x8e, 0xc0, 0x30, 0xe5, 0x90, 0xc0, 0x00, 0xe2, 0x83, 0x3a, 0x03, 0xe7, 0x9c, 0xc1, 0x01, 
+0xe2, 0x83, 0x3f, 0x77, 0xe5, 0x8c, 0x30, 0x34, 0xe5, 0x90, 0x30, 0x04, 0xe7, 0x83, 0x21, 0x01, 0xe5, 0x90, 0x30, 0x08, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x10, 0xba, 0xff, 0xff, 0xd4, 0xe3, 0xa0, 0x10, 0x00, 
+0xe0, 0x81, 0x22, 0x81, 0xe0, 0x80, 0x21, 0x02, 0xe2, 0x82, 0x2b, 0x0d, 0xe2, 0x82, 0x2f, 0x97, 0xe0, 0x80, 0x31, 0x01, 0xe5, 0x83, 0x25, 0x08, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x06, 0xba, 0xff, 0xff, 0xf6, 0xe2, 0x80, 0x1b, 0x0e, 
+0xe2, 0x81, 0x1f, 0x5d, 0xe5, 0x80, 0x14, 0xfc, 0xe2, 0x80, 0x1b, 0x0e, 0xe2, 0x81, 0x1f, 0x6d, 0xe5, 0x80, 0x15, 0x00, 0xe2, 0x80, 0x1b, 0x0e, 0xe2, 0x81, 0x1f, 0x7d, 0xe5, 0x80, 0x15, 0x04, 0xe2, 0x80, 0x1b, 0x0e, 0xe2, 0x81, 0x1f, 0x8d, 
+0xe5, 0x80, 0x14, 0xf8, 0xe3, 0xa0, 0x10, 0x00, 0xe0, 0x81, 0x21, 0x01, 0xe0, 0x80, 0x21, 0x02, 0xe5, 0x90, 0x34, 0xf8, 0xe2, 0x82, 0x2b, 0x0e, 0xe2, 0x82, 0x2f, 0x9d, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x10, 
+0xba, 0xff, 0xff, 0xf6, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x50, 0x01, 0xe5, 0x84, 0x53, 0x14, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x84, 0x63, 0x18, 0xe5, 0x84, 0x53, 0x1c, 0xe5, 0x84, 0x63, 0x10, 
+0xe5, 0x84, 0x63, 0x0c, 0xe2, 0x84, 0x1d, 0x15, 0xe5, 0x84, 0x14, 0xec, 0xe2, 0x84, 0x0b, 0x02, 0xe2, 0x80, 0x0f, 0xed, 0xe5, 0x84, 0x04, 0xe4, 0xe2, 0x84, 0x0b, 0x03, 0xe2, 0x80, 0x0f, 0xf1, 0xe5, 0x84, 0x04, 0xe8, 0xe2, 0x84, 0x0b, 0x06, 
+0xe2, 0x80, 0x00, 0x24, 0xe5, 0x84, 0x04, 0xe0, 0xe2, 0x84, 0x0a, 0x02, 0xe2, 0x80, 0x00, 0x84, 0xe5, 0x84, 0x04, 0xf4, 0xe2, 0x84, 0x2b, 0x09, 0xe2, 0x82, 0x20, 0x58, 0xe5, 0x84, 0x24, 0xf0, 0xe5, 0x80, 0x63, 0x90, 0xe5, 0x80, 0x63, 0xb4, 
+0xe5, 0x81, 0x60, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x88, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xe0, 0x21, 0x02, 0xe3, 0xe0, 0x10, 0x00, 0xe0, 0x84, 0x31, 0x00, 0xe5, 0x83, 0x11, 0xd4, 0xe5, 0x83, 0x62, 0x54, 0xe5, 0x83, 0x63, 0x44, 
+0xe5, 0x83, 0x23, 0xc4, 0xe5, 0x83, 0x14, 0x58, 0xe2, 0x80, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x20, 0xba, 0xff, 0xff, 0xf6, 0xe5, 0x84, 0x12, 0xd8, 0xe5, 0x84, 0x62, 0xdc, 0xe5, 0x84, 0x62, 0xe0, 0xe5, 0x84, 0x62, 0xfc, 0xe5, 0x84, 0x63, 0x00, 
+0xe3, 0xa0, 0x00, 0x64, 0xe5, 0x84, 0x02, 0xf0, 0xe5, 0x84, 0x52, 0xf4, 0xe5, 0x84, 0x63, 0x04, 0xe5, 0x84, 0x52, 0xec, 0xe5, 0x84, 0x63, 0x08, 0xe5, 0x94, 0x24, 0xe4, 0xe3, 0xa0, 0x0f, 0xfa, 0xe5, 0x82, 0x00, 0x04, 0xe5, 0x94, 0x24, 0xf4, 
+0xe5, 0x82, 0x00, 0x08, 0xe5, 0x84, 0x13, 0x28, 0xe5, 0x84, 0x13, 0x2c, 0xe5, 0x84, 0x63, 0x30, 0xe5, 0x84, 0x63, 0x34, 0xe5, 0x84, 0x63, 0x3c, 0xe5, 0x84, 0x64, 0xd8, 0xe5, 0x84, 0x64, 0x54, 0xe5, 0x84, 0x64, 0x50, 0xe5, 0x84, 0x64, 0x4c, 
+0xe5, 0x9f, 0x0b, 0x3c, 0xe7, 0x80, 0x60, 0x04, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x51, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfe, 0xe4, 
+0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x0d, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xed, 0xda, 0xe5, 0x84, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xed, 0xd7, 0xe5, 0x84, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xed, 0xd4, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x1e, 0xe3, 0xa0, 0x60, 0x01, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xef, 0x46, 0xe5, 0x95, 0x03, 0x10, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x15, 0xe5, 0x95, 0x04, 0xe4, 0xe5, 0x90, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x08, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xed, 0xbf, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe3, 0x10, 0x00, 0x07, 0x0a, 0x00, 0x00, 0x08, 0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x1e, 0xa1, 0xe3, 0xc1, 0x10, 0x07, 0xe0, 0x40, 0x00, 0x01, 
+0xe2, 0x60, 0x00, 0x08, 0xeb, 0xff, 0xed, 0xb5, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x85, 0x03, 0x10, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xd1, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0xc0, 0x00, 
+0xe3, 0xe0, 0x31, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x9c, 0xe2, 0xe4, 0xea, 0x00, 0x00, 0x09, 0xe0, 0x8c, 0x21, 0x01, 0xe5, 0x92, 0x43, 0x44, 0xe3, 0x54, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x92, 0x23, 0xc4, 
+0xe1, 0x52, 0x00, 0x03, 0xaa, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x30, 0x02, 0xe1, 0xa0, 0x00, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe1, 0x5e, 0x00, 0x01, 0x8a, 0xff, 0xff, 0xf3, 0xe3, 0xa0, 0x10, 0x00, 0xe0, 0x8c, 0x21, 0x00, 0xe5, 0x82, 0x13, 0x44, 
+0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0xc0, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x90, 0xe2, 0xe4, 0xea, 0x00, 0x00, 0x16, 0xe0, 0x80, 0x11, 0x02, 0xe5, 0x91, 0x32, 0x54, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x11, 
+0xe5, 0x91, 0x13, 0x44, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x30, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe0, 0x80, 0x41, 0x01, 0xe5, 0x94, 0x44, 0x58, 0xe1, 0x54, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x01, 
+0xea, 0x00, 0x00, 0x02, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x20, 0x3a, 0xff, 0xff, 0xf6, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xc0, 0x01, 0xea, 0x00, 0x00, 0x02, 0xe2, 0x82, 0x20, 0x01, 0xe1, 0x5e, 0x00, 0x02, 
+0x8a, 0xff, 0xff, 0xe6, 0xe1, 0xa0, 0x00, 0x0c, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0xc0, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x90, 0xe2, 0xe4, 0xea, 0x00, 0x00, 0x13, 0xe0, 0x80, 0x11, 0x02, 0xe5, 0x91, 0x12, 0x54, 
+0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x30, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe0, 0x80, 0x41, 0x01, 0xe5, 0x94, 0x41, 0xd4, 0xe1, 0x54, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x01, 0xea, 0x00, 0x00, 0x02, 
+0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x20, 0x3a, 0xff, 0xff, 0xf6, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xc0, 0x01, 0xea, 0x00, 0x00, 0x02, 0xe2, 0x82, 0x20, 0x01, 0xe1, 0x5e, 0x00, 0x02, 0x8a, 0xff, 0xff, 0xe9, 
+0xe1, 0xa0, 0x00, 0x0c, 0xe8, 0xbd, 0x80, 0x10, 0xe5, 0x2d, 0xe0, 0x04, 0xe5, 0x90, 0x14, 0x48, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xdd, 0xe4, 0x9d, 0xf0, 0x04, 0xeb, 0xff, 0xff, 0xbb, 0xea, 0xff, 0xff, 0xfc, 
+0xe9, 0x2d, 0x4f, 0xf8, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x10, 0x24, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x10, 0x30, 0xe3, 0xa0, 0xa0, 0x02, 0xe5, 0x80, 0xa0, 0x08, 0xe2, 0x84, 0x6a, 0x03, 0xe5, 0x96, 0x1b, 0xc8, 0xe3, 0xa0, 0x08, 0x55, 
+0xe5, 0x80, 0x10, 0x00, 0xe3, 0xa0, 0x90, 0x00, 0xe5, 0x80, 0x90, 0x1c, 0xe5, 0x80, 0x90, 0x20, 0xe5, 0x96, 0x1b, 0xc0, 0xe5, 0x80, 0x11, 0x90, 0xe5, 0x94, 0x03, 0x20, 0xe3, 0xa0, 0x86, 0x05, 0xe5, 0x88, 0x02, 0x30, 0xe3, 0xa0, 0x70, 0x01, 
+0xe5, 0x94, 0x03, 0x1c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x96, 0x0b, 0xb8, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x03, 0x3c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x4b, 0xe5, 0x84, 0x93, 0x1c, 
+0xe5, 0x98, 0x01, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x88, 0x75, 0x10, 0xe8, 0xbd, 0x8f, 0xf8, 0xe5, 0x84, 0x93, 0x40, 0xe5, 0x98, 0x0e, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x86, 0x7b, 0xcc, 
+0xe5, 0x96, 0x0b, 0xb8, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x01, 0x23, 0xe5, 0x84, 0x93, 0x3c, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xc9, 0xe5, 0x94, 0x12, 0xfc, 0xe1, 0x91, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x84, 0x73, 0x3c, 
+0xea, 0x00, 0x01, 0x83, 0xe5, 0x9e, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x94, 0x54, 0xe0, 0xe5, 0x95, 0x04, 0x4c, 0xe5, 0x95, 0x14, 0x54, 0xe1, 0xa0, 0x02, 0x00, 0xe1, 0x80, 0x0a, 0x01, 0xe5, 0x8e, 0x00, 0x14, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9f, 0xb7, 0xf4, 0xe2, 0x4b, 0xc0, 0xc0, 0xe2, 0x4b, 0x3d, 0x05, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xe8, 0x52, 0xea, 0xff, 0xff, 0xef, 0xe0, 0x84, 0x11, 0x00, 0xe5, 0x91, 0x20, 0xac, 0xe7, 0x83, 0x21, 0x00, 
+0xe5, 0x91, 0x11, 0x2c, 0xe7, 0x8c, 0x11, 0x00, 0xe5, 0x95, 0x14, 0x4c, 0xe5, 0x95, 0x24, 0x54, 0xe1, 0xa0, 0x13, 0x81, 0xe2, 0x82, 0x20, 0x01, 0xe0, 0x01, 0x01, 0x92, 0xe5, 0x94, 0x23, 0x24, 0xe0, 0x21, 0x21, 0x90, 0xe7, 0x8b, 0x11, 0x00, 
+0xe2, 0x80, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x20, 0xba, 0xff, 0xff, 0xef, 0xe5, 0x88, 0x91, 0x10, 0xe5, 0x88, 0xa0, 0x08, 0xe5, 0x88, 0x70, 0x00, 0xe3, 0xa0, 0xe8, 0x52, 0xe5, 0x8e, 0x70, 0x00, 0xe5, 0x84, 0x93, 0x1c, 0xe3, 0xa0, 0x00, 0x04, 
+0xe5, 0x8e, 0x00, 0x30, 0xe5, 0x98, 0x00, 0x5c, 0xe2, 0x60, 0xb0, 0x08, 0xe5, 0x94, 0x03, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xec, 0xf0, 0xe2, 0x4b, 0xb0, 0x01, 
+0xe3, 0x5b, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x00, 0x24, 0xe3, 0xa0, 0xe8, 0x52, 0xe5, 0x8e, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0xed, 0xe1, 0xa0, 0xb0, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0x16, 
+0xe5, 0x94, 0x03, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x86, 0x7b, 0xbc, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xec, 0xdf, 0xe5, 0x8b, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xec, 0xdc, 0xe5, 0x8b, 0x00, 0x04, 
+0xe3, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xec, 0xd9, 0xe5, 0x8b, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x08, 0x90, 0x8f, 0xf1, 0x00, 0xea, 0x00, 0x00, 0x97, 0xea, 0x00, 0x00, 0x96, 0xea, 0x00, 0x00, 0x1a, 0xea, 0x00, 0x00, 0x94, 0xea, 0x00, 0x00, 0x93, 
+0xea, 0x00, 0x00, 0x92, 0xea, 0x00, 0x00, 0x16, 0xea, 0x00, 0x00, 0x11, 0xea, 0x00, 0x00, 0x04, 0xea, 0xff, 0xff, 0xff, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xed, 0x9c, 0xea, 0x00, 0x00, 0x8d, 0xe5, 0x94, 0x03, 0x14, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0xcf, 0xe5, 0x84, 0x73, 0x10, 0xea, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xee, 0x37, 0xe5, 0x84, 0x93, 0x14, 
+0xea, 0x00, 0x00, 0x81, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0xc6, 0xe5, 0x84, 0x73, 0x10, 0xea, 0x00, 0x00, 0x7d, 0xe5, 0x9b, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x9b, 0x00, 0x04, 0xe5, 0x94, 0x14, 0xec, 0xe5, 0x81, 0x00, 0x0c, 0xe3, 0xa0, 0xe8, 0x52, 0xe5, 0x8e, 0x90, 0xdc, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x03, 0x90, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x8e, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x8e, 0xa0, 0x00, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xf9, 0x13, 0xe5, 0x94, 0x02, 0xfc, 
+0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x5a, 0xe5, 0x84, 0x93, 0x00, 0xe5, 0x84, 0x73, 0x18, 0xe5, 0x84, 0x92, 0xfc, 0xe5, 0x94, 0x04, 0x48, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x29, 0xe5, 0x94, 0x03, 0x08, 0xe5, 0x94, 0x10, 0x0c, 
+0xe1, 0x50, 0x00, 0x01, 0x8a, 0x00, 0x00, 0x01, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x08, 0xe5, 0x94, 0x03, 0x08, 0xe2, 0x81, 0x10, 0x01, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x11, 0xe5, 0x94, 0x02, 0xe0, 0xe0, 0x84, 0x11, 0x00, 
+0xe5, 0x91, 0x01, 0xd4, 0xe3, 0x70, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x84, 0x01, 0xac, 0xe3, 0xe0, 0x00, 0x00, 0xe5, 0x81, 0x01, 0xd4, 0xe5, 0x94, 0x02, 0xe0, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x02, 0xe0, 0xe3, 0x50, 0x00, 0x20, 
+0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x92, 0xe0, 0xe5, 0x84, 0x73, 0x04, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x84, 0x93, 0x04, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x93, 0x04, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x00, 0xac, 
+0xe5, 0x88, 0x04, 0x00, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x01, 0x2c, 0xe5, 0x88, 0x04, 0x04, 0xe5, 0x94, 0x03, 0x04, 0xe5, 0x95, 0x14, 0x2c, 0xe1, 0x80, 0x01, 0x81, 0xe5, 0x88, 0x04, 0x08, 0xea, 0x00, 0x00, 0x28, 
+0xe5, 0x94, 0x03, 0x08, 0xe5, 0x94, 0x14, 0x44, 0xe1, 0x50, 0x00, 0x01, 0x8a, 0x00, 0x00, 0x01, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x08, 0xe5, 0x94, 0x03, 0x08, 0xe2, 0x81, 0x10, 0x01, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x11, 
+0xe5, 0x94, 0x04, 0x54, 0xe0, 0x84, 0x11, 0x00, 0xe5, 0x91, 0x04, 0x58, 0xe3, 0x70, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x84, 0x01, 0xac, 0xe3, 0xe0, 0x00, 0x00, 0xe5, 0x81, 0x04, 0x58, 0xe5, 0x94, 0x04, 0x54, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x84, 0x04, 0x54, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x94, 0x54, 0xe5, 0x84, 0x73, 0x04, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x84, 0x93, 0x04, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x93, 0x04, 0xe5, 0x94, 0x01, 0xac, 
+0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x00, 0xac, 0xe5, 0x88, 0x04, 0x00, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x01, 0x2c, 0xe5, 0x88, 0x04, 0x04, 0xe5, 0x94, 0x03, 0x04, 0xe5, 0x95, 0x14, 0x2c, 0xe1, 0x80, 0x01, 0x81, 
+0xe5, 0x88, 0x04, 0x08, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x80, 0x93, 0x90, 0xe5, 0x94, 0x04, 0xf4, 0xe5, 0x90, 0x13, 0xb4, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x80, 0x13, 0xb4, 0xea, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x47, 
+0xe5, 0x84, 0x73, 0x10, 0xe5, 0x94, 0x03, 0x10, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x15, 0xe5, 0x94, 0x04, 0xe4, 0xe5, 0x90, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x9b, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x08, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xec, 0x2c, 0xe3, 0xa0, 0xe8, 0x52, 0xe5, 0x9e, 0x00, 0x44, 0xe3, 0x10, 0x00, 0x07, 0x0a, 0x00, 0x00, 0x07, 0xe1, 0xa0, 0x1f, 0xc0, 
+0xe0, 0x80, 0x1e, 0xa1, 0xe3, 0xc1, 0x10, 0x07, 0xe0, 0x40, 0x00, 0x01, 0xe2, 0x60, 0x00, 0x08, 0xeb, 0xff, 0xec, 0x22, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x93, 0x10, 0xe5, 0x94, 0x03, 0x18, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 
+0xe5, 0x94, 0x03, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x7d, 0xe5, 0x94, 0x03, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x95, 0x04, 0x2c, 0xe1, 0xa0, 0x01, 0x80, 0xe5, 0x88, 0x04, 0x08, 0xe5, 0x84, 0x93, 0x00, 
+0xe5, 0x84, 0x93, 0x18, 0xe5, 0x84, 0x73, 0x1c, 0xe3, 0xa0, 0x0c, 0x02, 0xe3, 0xa0, 0xe8, 0x52, 0xe5, 0x8e, 0x00, 0x04, 0xe1, 0xa0, 0x00, 0x08, 0xe5, 0x88, 0x91, 0x10, 0xe5, 0x80, 0x70, 0x04, 0xe5, 0x98, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x96, 0x0b, 0xcc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x86, 0x7b, 0xb8, 0xe5, 0x96, 0x0b, 0xb8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x60, 0xe5, 0x84, 0x73, 0x18, 0xe5, 0x96, 0x0b, 0xb4, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x1b, 0xe5, 0x86, 0x7b, 0xb4, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xe1, 0xa1, 0xe5, 0x94, 0x04, 0x48, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x11, 0xea, 0x00, 0x00, 0x0d, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xfe, 0x44, 0xe5, 0x94, 0x14, 0x50, 0xe2, 0x81, 0x20, 0x01, 0xe0, 0x84, 0x11, 0x01, 0xe5, 0x84, 0x24, 0x50, 0xe5, 0x81, 0x04, 0x58, 0xe5, 0x94, 0x04, 0x50, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x94, 0x50, 
+0xe5, 0x94, 0x04, 0x4c, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x84, 0x04, 0x4c, 0xe5, 0x94, 0x04, 0x4c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xee, 0xe5, 0x94, 0x03, 0x40, 0xe5, 0x88, 0x0c, 0x0c, 0xe5, 0x88, 0x75, 0x0c, 0xea, 0xff, 0xfe, 0xaf, 
+0xe5, 0x94, 0x04, 0x48, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x1e, 0xe5, 0x94, 0x02, 0xe0, 0xe0, 0x84, 0x11, 0x00, 0xe5, 0x91, 0x01, 0xd4, 0xe3, 0x70, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x16, 0xe5, 0x84, 0x01, 0xac, 0xe3, 0xe0, 0x00, 0x00, 
+0xe5, 0x81, 0x01, 0xd4, 0xe5, 0x94, 0x02, 0xe0, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x02, 0xe0, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x92, 0xe0, 0xe5, 0x84, 0xa3, 0x04, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 
+0xe5, 0x90, 0x00, 0xac, 0xe5, 0x88, 0x04, 0x00, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x01, 0x2c, 0xe5, 0x88, 0x04, 0x04, 0xe5, 0x95, 0x04, 0x2c, 0xe1, 0x8a, 0x01, 0x80, 0xe5, 0x88, 0x04, 0x08, 0xe5, 0x88, 0x75, 0x0c, 
+0xea, 0xff, 0xfe, 0x90, 0xe5, 0x86, 0x7b, 0xc4, 0xe5, 0x88, 0x75, 0x10, 0xea, 0xff, 0xfe, 0x8d, 0xe5, 0x94, 0x04, 0x54, 0xe0, 0x84, 0x11, 0x00, 0xe5, 0x91, 0x04, 0x58, 0xe3, 0x70, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x84, 0x01, 0xac, 
+0xe3, 0xe0, 0x00, 0x00, 0xe5, 0x81, 0x04, 0x58, 0xe5, 0x94, 0x04, 0x54, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x04, 0x54, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x94, 0x54, 0xe5, 0x84, 0xa3, 0x04, 0xea, 0x00, 0x00, 0x01, 
+0xe5, 0x86, 0x7b, 0xc4, 0xe5, 0x88, 0x75, 0x10, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x00, 0xac, 0xe5, 0x88, 0x04, 0x00, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x01, 0x2c, 0xe5, 0x88, 0x04, 0x04, 
+0xe5, 0x95, 0x04, 0x2c, 0xe1, 0x8a, 0x01, 0x80, 0xe5, 0x88, 0x04, 0x08, 0xe5, 0x88, 0x75, 0x0c, 0xea, 0xff, 0xfe, 0x6e, 0xe5, 0x94, 0x03, 0x40, 0xe5, 0x88, 0x0c, 0x0c, 0xe5, 0x88, 0x75, 0x0c, 0xea, 0xff, 0xfe, 0x6a, 0xe5, 0x94, 0x03, 0x3c, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x1c, 0xe5, 0x94, 0x14, 0x48, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x19, 0xe5, 0x94, 0x02, 0xe0, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x11, 0xd4, 0xe5, 0x84, 0x11, 0xac, 0xe3, 0xe0, 0x10, 0x00, 
+0xe5, 0x80, 0x11, 0xd4, 0xe5, 0x94, 0x02, 0xe0, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x02, 0xe0, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x92, 0xe0, 0xe5, 0x84, 0xa3, 0x04, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 
+0xe5, 0x90, 0x00, 0xac, 0xe5, 0x88, 0x04, 0x00, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x01, 0x2c, 0xe5, 0x88, 0x04, 0x04, 0xe5, 0x95, 0x04, 0x2c, 0xe1, 0x8a, 0x01, 0x80, 0xe5, 0x88, 0x04, 0x08, 0xe5, 0x88, 0x75, 0x0c, 
+0xea, 0xff, 0xfe, 0x4a, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xfe, 0x3a, 0xe5, 0x94, 0x04, 0x48, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xfe, 0x37, 0xe5, 0x94, 0x04, 0x54, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x04, 0x58, 0xe3, 0x70, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x0d, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0xc0, 0xe5, 0x94, 0x14, 0x50, 0xe2, 0x81, 0x20, 0x01, 0xe0, 0x84, 0x11, 0x01, 0xe5, 0x84, 0x24, 0x50, 0xe5, 0x81, 0x04, 0x58, 0xe5, 0x94, 0x04, 0x50, 0xe3, 0x50, 0x00, 0x20, 
+0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x94, 0x50, 0xe5, 0x94, 0x04, 0x4c, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x84, 0x04, 0x4c, 0xe5, 0x94, 0x04, 0x54, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x14, 0x58, 0xe5, 0x84, 0x11, 0xac, 0xe3, 0xe0, 0x10, 0x00, 
+0xe5, 0x80, 0x14, 0x58, 0xe5, 0x94, 0x04, 0x54, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x04, 0x54, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x94, 0x54, 0xe5, 0x84, 0xa3, 0x04, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 
+0xe5, 0x90, 0x00, 0xac, 0xe5, 0x88, 0x04, 0x00, 0xe5, 0x94, 0x01, 0xac, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x01, 0x2c, 0xe5, 0x88, 0x04, 0x04, 0xe5, 0x95, 0x04, 0x2c, 0xe1, 0x8a, 0x01, 0x80, 0xe5, 0x88, 0x04, 0x08, 0xe5, 0x88, 0x75, 0x0c, 
+0xea, 0xff, 0xfe, 0x18, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x9f, 0x10, 0xc0, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0xdd, 0xe3, 0xa0, 0x56, 0x05, 0xe5, 0x95, 0x0d, 0x04, 0xe1, 0xa0, 0x08, 0x00, 0xe1, 0xa0, 0x08, 0x20, 
+0xe5, 0x84, 0x03, 0x38, 0xe5, 0x95, 0x0d, 0x04, 0xe1, 0xa0, 0x08, 0x20, 0xe5, 0x84, 0x04, 0x44, 0xe3, 0xa0, 0x00, 0x24, 0xe3, 0xa0, 0x88, 0x52, 0xe5, 0x88, 0x00, 0x30, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x88, 0x00, 0x08, 0xe3, 0xa0, 0x60, 0x00, 
+0xe5, 0x85, 0x61, 0x10, 0xe5, 0x85, 0x00, 0x08, 0xe3, 0xa0, 0x70, 0x01, 0xe5, 0x85, 0x70, 0x00, 0xe5, 0x98, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x95, 0x26, 0x00, 0xe2, 0x84, 0x1a, 0x03, 0xe5, 0x81, 0x2b, 0xc8, 
+0xe3, 0xa0, 0x08, 0x55, 0xe5, 0x80, 0x20, 0x00, 0xe5, 0x80, 0x60, 0x1c, 0xe5, 0x80, 0x60, 0x20, 0xe5, 0x95, 0x22, 0x34, 0xe5, 0x81, 0x2b, 0xc0, 0xe5, 0x95, 0x12, 0x34, 0xe5, 0x80, 0x11, 0x90, 0xe5, 0x95, 0x02, 0x30, 0xe5, 0x84, 0x03, 0x20, 
+0xe5, 0x88, 0x70, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0xf2, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x39, 0xe5, 0x85, 0x61, 0x10, 0xe5, 0x85, 0x70, 0x04, 0xe3, 0xa0, 0x0c, 0x02, 0xe5, 0x88, 0x00, 0x04, 0xe8, 0xbd, 0x81, 0xf0, 
+0x00, 0x01, 0xff, 0xff, 0x00, 0x00, 0x3b, 0xcc, 0x00, 0x55, 0x03, 0x40, 0x00, 0x00, 0x3b, 0xd0, 0xe9, 0x2d, 0x40, 0x70, 0xe5, 0x1f, 0x10, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x00, 0x5f, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x10, 0x00, 
+0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x80, 0x14, 0x0c, 0xe5, 0x90, 0x11, 0x2c, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0xbd, 0xe2, 0x85, 0x4a, 0x03, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfd, 0xb1, 
+0xe5, 0x94, 0x0b, 0xc4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x40, 0x01, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 
+0xeb, 0x00, 0x00, 0x3f, 0xe5, 0x94, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xeb, 0x00, 0x00, 0x3b, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x1a, 0xe3, 0xa0, 0x50, 0x00, 0xe5, 0x94, 0x00, 0x00, 
+0xe7, 0x90, 0x01, 0x05, 0xe5, 0x90, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xeb, 0x00, 0x00, 0x31, 0xe5, 0x94, 0x00, 0x00, 0xe7, 0x90, 0x01, 0x05, 0xe5, 0x90, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 
+0xeb, 0x00, 0x00, 0x2b, 0xe5, 0x94, 0x00, 0x00, 0xe7, 0x90, 0x01, 0x05, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xeb, 0x00, 0x00, 0x25, 0xe5, 0x94, 0x00, 0x00, 0xe7, 0x90, 0x01, 0x05, 0xeb, 0x00, 0x00, 0x22, 
+0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x10, 0xba, 0xff, 0xff, 0xe7, 0xe5, 0x94, 0x00, 0x00, 0xeb, 0x00, 0x00, 0x1d, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe0, 0x84, 0x61, 0x05, 0xe5, 0x96, 0x05, 0x08, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x01, 0xeb, 0x00, 0x00, 0x16, 0xe5, 0x86, 0x75, 0x08, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x06, 0xba, 0xff, 0xff, 0xf6, 0xe5, 0x94, 0x04, 0xfc, 0xeb, 0x00, 0x00, 0x10, 0xe5, 0x94, 0x05, 0x00, 0xeb, 0x00, 0x00, 0x0e, 
+0xe5, 0x94, 0x05, 0x04, 0xeb, 0x00, 0x00, 0x0c, 0xe5, 0x94, 0x04, 0xf8, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x50, 0x00, 0xe5, 0x94, 0x04, 0xf8, 0xe7, 0x90, 0x01, 0x05, 0xeb, 0x00, 0x00, 0x05, 0xe2, 0x85, 0x50, 0x01, 
+0xe3, 0x55, 0x00, 0x10, 0xba, 0xff, 0xff, 0xf9, 0xe5, 0x94, 0x04, 0xf8, 0xeb, 0x00, 0x00, 0x00, 0xe8, 0xbd, 0x81, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0x01, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x01, 0xbc, 
+0xe1, 0xa0, 0x10, 0x04, 0xe5, 0x90, 0x00, 0x08, 0xeb, 0x00, 0x02, 0x16, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe0, 0x81, 0x41, 0x90, 0xe3, 0xa0, 0x22, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xe3, 0x51, 0x00, 0x00, 0x01, 0x50, 0x00, 0x02, 
+0x23, 0xa0, 0x00, 0x00, 0x28, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x02, 0x02, 0xe1, 0xb0, 0x50, 0x00, 0x11, 0xa0, 0x10, 0x04, 0x11, 0xa0, 0x00, 0x05, 0x1b, 0x00, 0x02, 0x22, 0xe1, 0xa0, 0x00, 0x05, 0xe8, 0xbd, 0x80, 0x70, 
+0xe2, 0x52, 0x30, 0x20, 0x5a, 0x00, 0x00, 0x04, 0xe2, 0x62, 0x30, 0x20, 0xe1, 0xa0, 0x12, 0x11, 0xe1, 0x81, 0x13, 0x30, 0xe1, 0xa0, 0x02, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0x13, 0x10, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe9, 0x2d, 0x4f, 0x00, 0xe1, 0xa0, 0xb0, 0x03, 0xe9, 0x2d, 0x00, 0xf0, 0xe2, 0x4d, 0xdf, 0x41, 0xe1, 0xa0, 0x60, 0x02, 0xe3, 0xa0, 0x90, 0x01, 0xe5, 0x8d, 0x00, 0x84, 0xe5, 0x8d, 0x10, 0x04, 0xe2, 0x49, 0x90, 0x01, 0xe2, 0x8d, 0x10, 0x84, 
+0xe2, 0x8d, 0x20, 0x04, 0xe7, 0x92, 0xa1, 0x09, 0xe7, 0x91, 0x51, 0x09, 0xe1, 0xa0, 0x00, 0xca, 0xe3, 0x1a, 0x00, 0x01, 0xe0, 0x00, 0x00, 0x96, 0xe2, 0x8f, 0xe0, 0x14, 0xe0, 0x85, 0x40, 0x00, 0x00, 0x40, 0x00, 0x06, 0xe0, 0x84, 0x70, 0x00, 
+0xe1, 0xa0, 0x00, 0x05, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0xf0, 0x0b, 0xe3, 0x50, 0x00, 0x00, 0xda, 0x00, 0x00, 0x12, 0xe1, 0x86, 0x10, 0x05, 0xe3, 0x11, 0x00, 0x03, 0xe1, 0xa0, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x20, 0x00, 
+0xe5, 0x95, 0x10, 0x00, 0xe2, 0x50, 0x00, 0x04, 0xe4, 0x85, 0x20, 0x04, 0xe4, 0x84, 0x10, 0x04, 0x1a, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x05, 0xe5, 0xd4, 0x20, 0x00, 0xe5, 0xd5, 0x10, 0x00, 0xe2, 0x50, 0x00, 0x01, 0xe4, 0xc5, 0x20, 0x01, 
+0xe4, 0xc4, 0x10, 0x01, 0x1a, 0xff, 0xff, 0xf9, 0xe0, 0x45, 0x50, 0x06, 0xe0, 0x44, 0x40, 0x06, 0xe1, 0xa0, 0x10, 0x07, 0xe1, 0xa0, 0x00, 0x04, 0xe1, 0xa0, 0xe0, 0x0f, 0xe1, 0xa0, 0xf0, 0x0b, 0xe3, 0x50, 0x00, 0x00, 0xda, 0x00, 0x00, 0x2b, 
+0xe1, 0xa0, 0x10, 0x07, 0xe1, 0xa0, 0x00, 0x05, 0xe1, 0xa0, 0xe0, 0x0f, 0xe1, 0xa0, 0xf0, 0x0b, 0xe3, 0x50, 0x00, 0x00, 0xda, 0x00, 0x00, 0x12, 0xe1, 0x86, 0x10, 0x05, 0xe3, 0x11, 0x00, 0x03, 0xe1, 0xa0, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x06, 
+0xe5, 0x97, 0x20, 0x00, 0xe5, 0x95, 0x10, 0x00, 0xe2, 0x50, 0x00, 0x04, 0xe4, 0x85, 0x20, 0x04, 0xe4, 0x87, 0x10, 0x04, 0x1a, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x05, 0xe5, 0xd7, 0x20, 0x00, 0xe5, 0xd5, 0x10, 0x00, 0xe2, 0x50, 0x00, 0x01, 
+0xe4, 0xc5, 0x20, 0x01, 0xe4, 0xc7, 0x10, 0x01, 0x1a, 0xff, 0xff, 0xf9, 0xe0, 0x45, 0x50, 0x06, 0xe0, 0x47, 0x70, 0x06, 0xe1, 0x86, 0x10, 0x04, 0xe3, 0x11, 0x00, 0x03, 0xe1, 0xa0, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x97, 0x20, 0x00, 
+0xe5, 0x94, 0x10, 0x00, 0xe2, 0x50, 0x00, 0x04, 0xe4, 0x84, 0x20, 0x04, 0xe4, 0x87, 0x10, 0x04, 0x1a, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x05, 0xe5, 0xd7, 0x20, 0x00, 0xe5, 0xd4, 0x10, 0x00, 0xe2, 0x50, 0x00, 0x01, 0xe4, 0xc4, 0x20, 0x01, 
+0xe4, 0xc7, 0x10, 0x01, 0x1a, 0xff, 0xff, 0xf9, 0xe0, 0x44, 0x40, 0x06, 0xe0, 0x47, 0x70, 0x06, 0xe1, 0x86, 0x20, 0x04, 0xe3, 0x12, 0x00, 0x03, 0xe0, 0x47, 0x00, 0x06, 0xe1, 0xa0, 0x10, 0x06, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x90, 0x30, 0x00, 
+0xe5, 0x94, 0x20, 0x00, 0xe2, 0x51, 0x10, 0x04, 0xe4, 0x84, 0x30, 0x04, 0xe4, 0x80, 0x20, 0x04, 0x1a, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x05, 0xe5, 0xd0, 0x30, 0x00, 0xe5, 0xd4, 0x20, 0x00, 0xe2, 0x51, 0x10, 0x01, 0xe4, 0xc4, 0x30, 0x01, 
+0xe4, 0xc0, 0x20, 0x01, 0x1a, 0xff, 0xff, 0xf9, 0xe0, 0x40, 0x70, 0x06, 0xe1, 0xa0, 0x80, 0x07, 0xe1, 0xa0, 0x40, 0x05, 0xe0, 0x84, 0x40, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x08, 0xe1, 0xa0, 0xe0, 0x0f, 0xe1, 0xa0, 0xf0, 0x0b, 
+0xe3, 0x50, 0x00, 0x00, 0xba, 0xff, 0xff, 0xf8, 0xe0, 0x47, 0x70, 0x06, 0xe1, 0xa0, 0x00, 0x07, 0xe1, 0xa0, 0x10, 0x08, 0xe1, 0xa0, 0xe0, 0x0f, 0xe1, 0xa0, 0xf0, 0x0b, 0xe3, 0x50, 0x00, 0x00, 0xca, 0xff, 0xff, 0xf8, 0xe1, 0x86, 0x10, 0x04, 
+0xe1, 0x57, 0x00, 0x04, 0xe2, 0x01, 0x10, 0x03, 0xe1, 0xa0, 0x00, 0x06, 0x9a, 0x00, 0x00, 0x11, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x97, 0x20, 0x00, 0xe5, 0x94, 0x10, 0x00, 0xe2, 0x50, 0x00, 0x04, 0xe4, 0x84, 0x20, 0x04, 
+0xe4, 0x87, 0x10, 0x04, 0x1a, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x05, 0xe5, 0xd7, 0x20, 0x00, 0xe5, 0xd4, 0x10, 0x00, 0xe2, 0x50, 0x00, 0x01, 0xe4, 0xc4, 0x20, 0x01, 0xe4, 0xc7, 0x10, 0x01, 0x1a, 0xff, 0xff, 0xf9, 0xe0, 0x44, 0x40, 0x06, 
+0xe0, 0x47, 0x70, 0x06, 0xea, 0xff, 0xff, 0xda, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x98, 0x20, 0x00, 0xe5, 0x94, 0x10, 0x00, 0xe2, 0x50, 0x00, 0x04, 0xe4, 0x84, 0x20, 0x04, 0xe4, 0x88, 0x10, 0x04, 0x1a, 0xff, 0xff, 0xf9, 
+0xea, 0x00, 0x00, 0x05, 0xe5, 0xd8, 0x20, 0x00, 0xe5, 0xd4, 0x10, 0x00, 0xe2, 0x50, 0x00, 0x01, 0xe4, 0xc4, 0x20, 0x01, 0xe4, 0xc8, 0x10, 0x01, 0x1a, 0xff, 0xff, 0xf9, 0xe0, 0x44, 0x40, 0x06, 0xe0, 0x44, 0x00, 0x05, 0xe1, 0xa0, 0x10, 0x06, 
+0xeb, 0x00, 0x02, 0xdc, 0xe2, 0x40, 0x00, 0x01, 0xe0, 0x4a, 0x10, 0x00, 0xe2, 0x41, 0xa0, 0x01, 0xe1, 0x50, 0x00, 0x0a, 0xda, 0x00, 0x00, 0x0c, 0xe3, 0x5a, 0x00, 0x0a, 0xda, 0x00, 0x00, 0x06, 0xe2, 0x8d, 0x10, 0x84, 0xe7, 0x81, 0x51, 0x09, 
+0xe1, 0xa0, 0x10, 0x09, 0xe2, 0x8d, 0x20, 0x04, 0xe2, 0x89, 0x90, 0x01, 0xe7, 0x82, 0x01, 0x01, 0xea, 0x00, 0x00, 0x0e, 0xe3, 0x50, 0x00, 0x0a, 0xda, 0x00, 0x00, 0x0e, 0xe1, 0xa0, 0xa0, 0x00, 0xea, 0xff, 0xff, 0x4f, 0xe3, 0x50, 0x00, 0x0a, 
+0xda, 0x00, 0x00, 0x06, 0xe2, 0x8d, 0x10, 0x84, 0xe7, 0x81, 0x41, 0x09, 0xe1, 0xa0, 0x10, 0x09, 0xe2, 0x8d, 0x20, 0x04, 0xe2, 0x89, 0x90, 0x01, 0xe7, 0x82, 0xa1, 0x01, 0xea, 0xff, 0xff, 0xf4, 0xe3, 0x5a, 0x00, 0x0a, 0xda, 0x00, 0x00, 0x01, 
+0xe1, 0xa0, 0x50, 0x04, 0xea, 0xff, 0xff, 0x42, 0xe3, 0x59, 0x00, 0x00, 0x1a, 0xff, 0xff, 0x3b, 0xe2, 0x8d, 0xdf, 0x41, 0xe8, 0xbd, 0x01, 0xf0, 0xe8, 0xbd, 0x8e, 0x00, 0xe9, 0x2d, 0x47, 0x80, 0xe1, 0xa0, 0x80, 0x03, 0xe9, 0x2d, 0x00, 0x70, 
+0xe1, 0xb0, 0x40, 0x02, 0xe1, 0xa0, 0x60, 0x01, 0xe1, 0xa0, 0x70, 0x00, 0x0a, 0x00, 0x00, 0x36, 0xe3, 0x56, 0x00, 0x0a, 0x81, 0xa0, 0x30, 0x08, 0x81, 0xa0, 0x20, 0x04, 0x81, 0xa0, 0x10, 0x06, 0x81, 0xa0, 0x00, 0x07, 0x8b, 0xff, 0xff, 0x23, 
+0xe2, 0x46, 0x00, 0x01, 0xe1, 0xa0, 0x50, 0x07, 0xe0, 0x29, 0x70, 0x94, 0xea, 0x00, 0x00, 0x2a, 0xe1, 0xa0, 0x60, 0x05, 0xe0, 0x85, 0x50, 0x04, 0xea, 0x00, 0x00, 0x00, 0xe0, 0x46, 0x60, 0x04, 0xe1, 0x56, 0x00, 0x07, 0x3a, 0x00, 0x00, 0x05, 
+0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x06, 0xe1, 0xa0, 0xe0, 0x0f, 0xe1, 0xa0, 0xf0, 0x08, 0xe3, 0x50, 0x00, 0x00, 0xca, 0xff, 0xff, 0xf6, 0xe1, 0x84, 0x00, 0x05, 0xe3, 0x10, 0x00, 0x03, 0xe0, 0x86, 0x20, 0x04, 0xe3, 0xa0, 0x10, 0x00, 
+0x1a, 0x00, 0x00, 0x17, 0xea, 0x00, 0x00, 0x09, 0xe0, 0x85, 0x00, 0x01, 0xe5, 0x90, 0xc0, 0x00, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x90, 0x30, 0x00, 0xe7, 0x80, 0x30, 0x04, 0xe0, 0x40, 0x00, 0x04, 0xe1, 0x50, 0x00, 0x02, 0x2a, 0xff, 0xff, 0xfa, 
+0xe2, 0x81, 0x10, 0x04, 0xe7, 0x80, 0xc0, 0x04, 0xe1, 0x51, 0x00, 0x04, 0x3a, 0xff, 0xff, 0xf3, 0xea, 0x00, 0x00, 0x0b, 0xe0, 0x85, 0x00, 0x01, 0xe5, 0xd0, 0xc0, 0x00, 0xea, 0x00, 0x00, 0x01, 0xe5, 0xd0, 0x30, 0x00, 0xe7, 0xc0, 0x30, 0x04, 
+0xe0, 0x40, 0x00, 0x04, 0xe1, 0x50, 0x00, 0x02, 0x2a, 0xff, 0xff, 0xfa, 0xe2, 0x81, 0x10, 0x01, 0xe7, 0xc0, 0xc0, 0x04, 0xe1, 0x51, 0x00, 0x04, 0x3a, 0xff, 0xff, 0xf3, 0xe1, 0x55, 0x00, 0x09, 0x3a, 0xff, 0xff, 0xd2, 0xe8, 0xbd, 0x01, 0xf0, 
+0xe8, 0xbd, 0x86, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x99, 0xe8, 0xbd, 0x80, 0x10, 0xe2, 0x52, 0x20, 0x20, 0xe9, 0x2d, 0x40, 0x10, 0x3a, 0x00, 0x00, 0x05, 
+0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x22, 0x52, 0x20, 0x20, 0x2a, 0xff, 0xff, 0xf9, 0xe1, 0xb0, 0xce, 0x02, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x48, 0xb1, 0x00, 0x18, 
+0x48, 0xa0, 0x00, 0x18, 0xe1, 0xb0, 0xcf, 0x02, 0xe8, 0xbd, 0x40, 0x10, 0x24, 0x91, 0x30, 0x04, 0x24, 0x80, 0x30, 0x04, 0x01, 0xa0, 0xf0, 0x0e, 0xe1, 0xb0, 0x2f, 0x82, 0x44, 0xd1, 0x20, 0x01, 0x24, 0xd1, 0x30, 0x01, 0x24, 0xd1, 0xc0, 0x01, 
+0x44, 0xc0, 0x20, 0x01, 0x24, 0xc0, 0x30, 0x01, 0x24, 0xc0, 0xc0, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x20, 0x00, 0xe2, 0x51, 0x10, 0x20, 0xe9, 0x2d, 0x40, 0x00, 0xe1, 0xa0, 0xe0, 0x02, 0xe1, 0xa0, 0x30, 0x02, 0xe1, 0xa0, 0xc0, 0x02, 
+0x28, 0xa0, 0x50, 0x0c, 0x28, 0xa0, 0x50, 0x0c, 0x22, 0x51, 0x10, 0x20, 0x2a, 0xff, 0xff, 0xfb, 0xe1, 0xb0, 0x1e, 0x01, 0x28, 0xa0, 0x50, 0x0c, 0x48, 0xa0, 0x00, 0x0c, 0xe1, 0xb0, 0x11, 0x01, 0xe8, 0xbd, 0x40, 0x00, 0x24, 0x80, 0x20, 0x04, 
+0x01, 0xa0, 0xf0, 0x0e, 0x44, 0xc0, 0x20, 0x01, 0x44, 0xc0, 0x20, 0x01, 0xe3, 0x11, 0x01, 0x01, 0x14, 0xc0, 0x20, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x90, 0xc0, 0x01, 0x4a, 0x00, 0x00, 0x21, 0xe0, 0x71, 0xc0, 0xa0, 0xe3, 0xa0, 0x20, 0x00, 
+0x3a, 0x00, 0x00, 0x1a, 0xe0, 0x71, 0xc2, 0x20, 0x3a, 0x00, 0x00, 0x0f, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x00, 0xea, 0x00, 0x00, 0x20, 0xe0, 0x71, 0xc3, 0xa0, 0x20, 0x40, 0x03, 0x81, 0xe0, 0xa2, 0x20, 0x02, 
+0xe0, 0x71, 0xc3, 0x20, 0x20, 0x40, 0x03, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0xa0, 0x20, 0x40, 0x02, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0x20, 0x20, 0x40, 0x02, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0xa0, 
+0x20, 0x40, 0x01, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0x20, 0x20, 0x40, 0x01, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0xe0, 0x71, 0xc0, 0xa0, 0x20, 0x40, 0x00, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x50, 0x10, 0x01, 0x31, 0xa0, 0x10, 0x00, 
+0xe0, 0xa2, 0x00, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe2, 0x11, 0x21, 0x02, 0x42, 0x61, 0x10, 0x00, 0xe0, 0x32, 0x30, 0x40, 0x22, 0x60, 0x00, 0x00, 0xe0, 0x71, 0xc2, 0x20, 0x3a, 0x00, 0x00, 0x1d, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0x00, 0x00, 0x0f, 
+0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x23, 0x3f, 0x3a, 0x00, 0x00, 0x0b, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x26, 0x3f, 0x3a, 0x00, 0x00, 0x07, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 
+0xe3, 0x82, 0x29, 0x3f, 0x23, 0x82, 0x2c, 0x3f, 0x21, 0xa0, 0x13, 0x01, 0xe2, 0x71, 0xc0, 0x00, 0x2a, 0x00, 0x00, 0x33, 0x21, 0xa0, 0x13, 0x21, 0xe0, 0x71, 0xc3, 0xa0, 0x20, 0x40, 0x03, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc3, 0x20, 
+0x20, 0x40, 0x03, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0xa0, 0x20, 0x40, 0x02, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0x20, 0x20, 0x40, 0x02, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0xa0, 0x20, 0x40, 0x01, 0x81, 
+0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0x20, 0x20, 0x40, 0x01, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0x2a, 0xff, 0xff, 0xeb, 0xe0, 0x71, 0xc0, 0xa0, 0x20, 0x40, 0x00, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x50, 0x10, 0x01, 0x31, 0xa0, 0x10, 0x00, 
+0xe0, 0xa2, 0x00, 0x02, 0xe1, 0xb0, 0x3f, 0xc3, 0x42, 0x60, 0x00, 0x00, 0x22, 0x61, 0x10, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe5, 0x9f, 0x00, 0x04, 0xe0, 0x8f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x0d, 0x88, 0xeb, 0x00, 0x01, 0x68, 
+0xeb, 0x00, 0x00, 0xe6, 0xe9, 0x2d, 0x00, 0x03, 0xeb, 0x00, 0x01, 0x66, 0xe8, 0xbd, 0x00, 0x03, 0xeb, 0x00, 0x01, 0x21, 0xe9, 0x2d, 0x00, 0x0f, 0xeb, 0x00, 0x01, 0x65, 0xe8, 0xbd, 0x00, 0x0f, 0xeb, 0xff, 0xdd, 0x38, 0xea, 0xff, 0xff, 0x60, 
+0xe9, 0x2d, 0x40, 0x01, 0xeb, 0x00, 0x01, 0x63, 0xeb, 0x00, 0x01, 0x55, 0xe8, 0xbd, 0x40, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x72, 0xea, 0x00, 0x00, 0x77, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x01, 0xe2, 0x4d, 0xd0, 0x08, 0xe2, 0x8d, 0x10, 0x04, 0xeb, 0x00, 0x00, 0xca, 0xe3, 0x50, 0x00, 0x00, 0x02, 0x8d, 0xd0, 0x08, 0x08, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 
+0xe5, 0x9d, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0xa5, 0xe2, 0x8d, 0xd0, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x01, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0x00, 0x00, 0x64, 
+0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x40, 0x01, 0xe5, 0x2d, 0x30, 0x04, 0xeb, 0x00, 0x00, 0x68, 0xe1, 0xa0, 0x60, 0x00, 0xe0, 0x85, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 
+0x9a, 0x00, 0x00, 0x0a, 0xe1, 0xa0, 0x10, 0x0d, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x00, 0xae, 0xe1, 0xb0, 0x70, 0x00, 0x03, 0xa0, 0x10, 0x00, 0x03, 0xa0, 0x00, 0x09, 0x0b, 0x00, 0x00, 0x52, 0xe5, 0x9d, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 
+0x11, 0xa0, 0x50, 0x00, 0xe0, 0x80, 0x40, 0x07, 0xeb, 0xff, 0xff, 0xbb, 0xe2, 0x86, 0x10, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0xa0, 0x70, 0x00, 0xe5, 0x80, 0x50, 0x08, 0xe1, 0xa0, 0x00, 0x05, 0xe0, 0x81, 0x60, 0x05, 0xeb, 0x00, 0x00, 0x4c, 
+0xe1, 0x54, 0x00, 0x06, 0x08, 0xbd, 0x00, 0xf8, 0x04, 0x9d, 0xf0, 0x04, 0xe1, 0xa0, 0x10, 0x06, 0xe0, 0x44, 0x20, 0x06, 0xe5, 0x97, 0x00, 0x08, 0xeb, 0x00, 0x00, 0x79, 0xe8, 0xbd, 0x00, 0xf8, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x10, 
+0xe1, 0xa0, 0x40, 0x00, 0xeb, 0xff, 0xff, 0xa8, 0xe1, 0xa0, 0x10, 0x04, 0xe5, 0x90, 0x00, 0x08, 0xeb, 0x00, 0x00, 0x44, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe2, 0x41, 0x10, 0x04, 0xe1, 0xa0, 0x20, 0x00, 
+0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x11, 0x50, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x92, 0x30, 0x00, 0xe0, 0x83, 0xc0, 0x02, 0xe1, 0x5c, 0x00, 0x01, 0x15, 0x82, 0x10, 0x04, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x91, 0x10, 0x00, 
+0xe0, 0x83, 0x10, 0x01, 0xe5, 0x82, 0x10, 0x00, 0xe1, 0xa0, 0x10, 0x02, 0xe5, 0x91, 0x20, 0x00, 0xe0, 0x82, 0x30, 0x01, 0xe1, 0x53, 0x00, 0x00, 0x15, 0x81, 0x00, 0x04, 0x11, 0xa0, 0xf0, 0x0e, 0xe5, 0x90, 0x30, 0x04, 0xe5, 0x81, 0x30, 0x04, 
+0xe5, 0x90, 0x00, 0x00, 0xe0, 0x82, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xeb, 0x00, 0x00, 0x69, 0xe3, 0xa0, 0x20, 0x00, 0xe3, 0x51, 0x00, 0x04, 0x3a, 0x00, 0x00, 0x08, 0xe2, 0x10, 0xc0, 0x03, 0x0a, 0xff, 0xff, 0x14, 
+0xe2, 0x6c, 0xc0, 0x04, 0xe4, 0xc0, 0x20, 0x01, 0xe3, 0x5c, 0x00, 0x02, 0xa4, 0xc0, 0x20, 0x01, 0xe0, 0x41, 0x10, 0x0c, 0xc4, 0xc0, 0x20, 0x01, 0xea, 0xff, 0xff, 0x0d, 0xe1, 0xb0, 0xcf, 0x81, 0x24, 0xc0, 0x20, 0x01, 0x24, 0xc0, 0x20, 0x01, 
+0x44, 0xc0, 0x20, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe5, 0x9f, 0x10, 0x0c, 0xe3, 0xa0, 0x00, 0x18, 0xef, 0x12, 0x34, 0x56, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x03, 0xa4, 0x00, 0x02, 0x00, 0x26, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x02, 
+0xe1, 0xa0, 0x00, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0xe2, 0xe3, 0x50, 0x00, 0x00, 0x08, 0xbd, 0x80, 0x10, 0xe8, 0xbd, 0x40, 0x10, 0xea, 0xff, 0xff, 0xf0, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x04, 
+0xe5, 0x80, 0x00, 0x08, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x00, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x81, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x08, 0x33, 0xa0, 0x00, 0x08, 0xe2, 0x80, 0x00, 0x07, 
+0xe3, 0xc0, 0x40, 0x07, 0xe2, 0x41, 0x00, 0x01, 0xe1, 0x54, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x1f, 0xe5, 0x95, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x16, 0xe5, 0x90, 0x20, 0x00, 0xe1, 0x52, 0x00, 0x04, 
+0x3a, 0x00, 0x00, 0x0f, 0xe5, 0x90, 0x20, 0x00, 0xe2, 0x84, 0x30, 0x08, 0xe1, 0x52, 0x00, 0x03, 0x35, 0x90, 0x20, 0x04, 0x35, 0x81, 0x20, 0x04, 0x3a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x30, 0x04, 0xe0, 0x80, 0x20, 0x04, 0xe5, 0x82, 0x30, 0x04, 
+0xe5, 0x90, 0x30, 0x00, 0xe0, 0x43, 0x30, 0x04, 0xe5, 0x82, 0x30, 0x00, 0xe5, 0x81, 0x20, 0x04, 0xe5, 0x80, 0x40, 0x00, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0xff, 0xff, 0xe8, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x51, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xdf, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xeb, 0x00, 0x00, 0x15, 0xe1, 0xa0, 0xc0, 0x00, 
+0xe9, 0x2d, 0x40, 0x10, 0xe5, 0x90, 0x30, 0x04, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0xc0, 0x03, 0xe5, 0x93, 0x30, 0x04, 0xe3, 0x53, 0x00, 0x00, 0x11, 0x53, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x9c, 0x30, 0x00, 0xe0, 0x83, 0x30, 0x0c, 
+0xe1, 0x53, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x30, 0x01, 0xe2, 0x81, 0x10, 0x03, 0xe3, 0xc1, 0x10, 0x07, 0xe2, 0x81, 0x10, 0x04, 0xe0, 0x41, 0x30, 0x03, 0xe0, 0x42, 0x20, 0x03, 0xe4, 0x81, 0x20, 0x04, 0xeb, 0xff, 0xff, 0x7b, 
+0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xab, 0xeb, 0x00, 0x00, 0x80, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x9f, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 
+0xeb, 0x00, 0x00, 0x24, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x50, 0x0e, 0xeb, 0xff, 0xff, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xc0, 0x00, 0x07, 0xe1, 0xa0, 0x10, 0x0d, 0xe2, 0x80, 0xd0, 0x60, 0xe1, 0xa0, 0xe0, 0x05, 0xe9, 0x2d, 0x40, 0x10, 
+0xe1, 0xa0, 0x30, 0x0a, 0xeb, 0x00, 0x00, 0xf8, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0xb0, 0x00, 0xe8, 0xbd, 0x40, 0x10, 0xe3, 0xc1, 0xd0, 0x07, 0xe1, 0xa0, 0xc0, 0x04, 0xe8, 0xac, 0x09, 0xc0, 
+0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe9, 0x2d, 0x40, 0x13, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x81, 0x10, 0x40, 0xe0, 0x80, 0x20, 0x01, 0xe2, 0x82, 0x2e, 0x11, 
+0xe5, 0x84, 0x20, 0x1c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x10, 0x18, 0xe5, 0x84, 0x00, 0x10, 0xe8, 0xbd, 0x40, 0x13, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x00, 0x14, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe9, 0x2d, 0x00, 0x03, 
+0xeb, 0xff, 0xfe, 0xeb, 0xe1, 0xa0, 0x40, 0x00, 0xe8, 0xbd, 0x00, 0x03, 0xe5, 0x94, 0x20, 0x14, 0xe5, 0x94, 0x30, 0x1c, 0xe0, 0x82, 0xe0, 0x00, 0xe0, 0x4d, 0x30, 0x03, 0xe1, 0x5e, 0x00, 0x03, 0xe5, 0x81, 0x20, 0x00, 0x8a, 0x00, 0x00, 0x0a, 
+0xe0, 0x93, 0x30, 0x0e, 0xe2, 0x8e, 0x1a, 0x01, 0xe2, 0x81, 0x10, 0x07, 0xe1, 0xa0, 0x30, 0x63, 0xe3, 0xc3, 0x30, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0x51, 0x00, 0x03, 0x81, 0xa0, 0x10, 0x03, 0xe0, 0x41, 0x00, 0x02, 0xe5, 0x84, 0x10, 0x14, 
+0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x43, 0xc0, 0xe9, 0x2d, 0x00, 0x3e, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x00, 0xcd, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x40, 0x00, 0xe5, 0x8d, 0x50, 0x04, 0xeb, 0xff, 0xff, 0x67, 0xe5, 0x8d, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xdc, 0x0a, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe8, 0x9d, 0x00, 0x03, 
+0xe1, 0xa0, 0x60, 0x02, 0xe1, 0xa0, 0x70, 0x03, 0xeb, 0xff, 0xfe, 0xef, 0xeb, 0xff, 0xfe, 0xd8, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x80, 0x00, 0xeb, 0xff, 0xfe, 0xba, 
+0xe1, 0xa0, 0x90, 0x00, 0xe5, 0x80, 0x80, 0x20, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x80, 0x10, 0x01, 0xe5, 0x89, 0x10, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe5, 0x89, 0x00, 0x28, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x0c, 0xe1, 0xa0, 0x00, 0x04, 
+0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x20, 0x06, 0xe1, 0xa0, 0x30, 0x07, 0xe8, 0xbd, 0x01, 0xf0, 0xe8, 0xbd, 0x82, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0xa9, 
+0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xe0, 0x00, 0x00, 0xe3, 0xe0, 0x10, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x16, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x70, 0x00, 0x01, 0xe1, 0xa0, 0x20, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x10, 0x05, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x0c, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0x72, 0x00, 0x03, 0x11, 0xa0, 0x10, 0x05, 0x11, 0xa0, 0x00, 0x04, 0x11, 0xa0, 0xe0, 0x0f, 0x11, 0xa0, 0xf0, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0xff, 0xfe, 0x71, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x10, 0xe2, 0x40, 0x20, 0x01, 0xe9, 0x2d, 0x40, 0x70, 0xe3, 0x52, 0x00, 0x0e, 0x22, 0x8f, 0x50, 0xc0, 0xe2, 0x8f, 0x40, 0xb8, 
+0x2a, 0x00, 0x00, 0x1c, 0xe3, 0xa0, 0x20, 0x17, 0xe5, 0x9f, 0x30, 0xc0, 0xe0, 0x02, 0x02, 0x90, 0xe0, 0x8f, 0x30, 0x03, 0xe3, 0x50, 0x00, 0x02, 0xe0, 0x82, 0x20, 0x03, 0xe2, 0x42, 0x50, 0x17, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x03, 0x01, 
+0x12, 0x8f, 0x40, 0xa4, 0x1a, 0x00, 0x00, 0x11, 0xe3, 0x11, 0x03, 0x82, 0x12, 0x8f, 0x40, 0xac, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x02, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0x11, 0x02, 0x02, 0x12, 0x8f, 0x40, 0xb0, 
+0x1a, 0x00, 0x00, 0x08, 0xe3, 0x11, 0x01, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0xea, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x08, 0x01, 0xa0, 0x40, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x50, 0x00, 0x09, 0x03, 0x51, 0x00, 0x01, 0x02, 0x8f, 0x50, 0xa4, 
+0xe3, 0xa0, 0x00, 0x0a, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x85, 0x50, 0x01, 0xeb, 0x00, 0x00, 0x2b, 0xe5, 0xd5, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x84, 0x40, 0x01, 0xeb, 0x00, 0x00, 0x25, 
+0xe5, 0xd4, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x00, 0x20, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x70, 0x00, 0x00, 0x00, 0x00, 0x6e, 0x6b, 0x6e, 0x55, 0x20, 0x6e, 0x77, 0x6f, 
+0x6e, 0x67, 0x69, 0x73, 0x00, 0x00, 0x6c, 0x61, 0x00, 0x00, 0x05, 0xe4, 0x61, 0x76, 0x6e, 0x49, 0x20, 0x64, 0x69, 0x6c, 0x72, 0x65, 0x70, 0x4f, 0x6f, 0x69, 0x74, 0x61, 0x00, 0x00, 0x00, 0x6e, 0x69, 0x76, 0x69, 0x44, 0x42, 0x20, 0x65, 0x64, 
+0x65, 0x5a, 0x20, 0x79, 0x00, 0x00, 0x6f, 0x72, 0x72, 0x65, 0x76, 0x4f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x65, 0x64, 0x6e, 0x55, 0x6f, 0x6c, 0x66, 0x72, 0x00, 0x00, 0x00, 0x77, 0x78, 0x65, 0x6e, 0x49, 0x20, 0x74, 0x63, 0x61, 
+0x75, 0x73, 0x65, 0x52, 0x00, 0x00, 0x74, 0x6c, 0x65, 0x48, 0x20, 0x3a, 0x6d, 0x20, 0x70, 0x61, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x63, 0x20, 0x79, 0x70, 0x75, 0x72, 0x72, 0x00, 0x64, 0x65, 0x74, 0xe9, 0x2d, 0x40, 0x08, 0xe1, 0xa0, 0x10, 0x0d, 
+0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xef, 0x12, 0x34, 0x56, 0xe8, 0xbd, 0x90, 0x00, 0xe0, 0x71, 0xc2, 0x20, 0xe3, 0xa0, 0x20, 0x00, 0x3a, 0xff, 0xfd, 0xd1, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0xff, 0xfd, 0xc3, 0xe3, 0xa0, 0x30, 0x00, 
+0xea, 0xff, 0xfd, 0xe2, 0xe3, 0xa0, 0x0a, 0x13, 0xe3, 0x21, 0xf0, 0xd1, 0xe2, 0x40, 0xd0, 0x00, 0xe3, 0x21, 0xf0, 0xd2, 0xe2, 0x40, 0xdc, 0x01, 0xe3, 0x21, 0xf0, 0xd7, 0xe2, 0x40, 0xdc, 0x02, 0xe3, 0x21, 0xf0, 0xdb, 0xe2, 0x40, 0xdc, 0x03, 
+0xe3, 0x21, 0xf0, 0xd3, 0xe2, 0x40, 0x1b, 0x01, 0xe5, 0x9f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x99, 0xe0, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0xff, 0xff, 0x8a, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 
+0xe8, 0xbd, 0x80, 0x10, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x01, 0xff, 
+0x00, 0x00, 0x03, 0xff, 0x00, 0x00, 0x07, 0xff, 0x00, 0x00, 0x0f, 0xff, 0x00, 0x00, 0x1f, 0xff, 0x00, 0x00, 0x3f, 0xff, 0x00, 0x00, 0x7f, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x01, 0xff, 0xff, 0x00, 0x03, 0xff, 0xff, 0x00, 0x07, 0xff, 0xff, 
+0x00, 0x0f, 0xff, 0xff, 0x00, 0x1f, 0xff, 0xff, 0x00, 0x3f, 0xff, 0xff, 0x00, 0x7f, 0xff, 0xff, 0x00, 0xff, 0xff, 0xff, 0x01, 0xff, 0xff, 0xff, 0x03, 0xff, 0xff, 0xff, 0x07, 0xff, 0xff, 0xff, 0x0f, 0xff, 0xff, 0xff, 0x1f, 0xff, 0xff, 0xff, 
+0x3f, 0xff, 0xff, 0xff, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x1c, 
+0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x25, 0x00, 0x00, 0x00, 0x25, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x0a, 
+0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x1b, 
+0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x0b, 
+0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x12, 
+0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 
+0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 
+0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x1f, 
+0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00, 0x24, 
+0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x00, 0x09, 
+0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x13, 
+0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x15, 
+0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 
+0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 
+0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x1c, 
+0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x1e, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x20, 
+0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 
+0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 
+0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 
+0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 
+0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 
+0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 
+0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 
+0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 
+0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x6f, 0x6e, 0x62, 0x41, 0x6c, 0x61, 0x6d, 0x72, 0x72, 0x65, 0x74, 0x20, 0x61, 0x6e, 0x69, 0x6d, 0x6e, 0x6f, 0x69, 0x74, 0x41, 0x00, 0x00, 0x00, 0x68, 0x74, 0x69, 0x72, 
+0x69, 0x74, 0x65, 0x6d, 0x78, 0x65, 0x20, 0x63, 0x74, 0x70, 0x65, 0x63, 0x3a, 0x6e, 0x6f, 0x69, 0x6c, 0x49, 0x00, 0x20, 0x61, 0x67, 0x65, 0x6c, 0x6e, 0x69, 0x20, 0x6c, 0x75, 0x72, 0x74, 0x73, 0x6f, 0x69, 0x74, 0x63, 0x00, 0x00, 0x00, 0x6e, 
+0x74, 0x6e, 0x49, 0x00, 0x75, 0x72, 0x72, 0x65, 0x72, 0x20, 0x74, 0x70, 0x69, 0x65, 0x63, 0x65, 0x00, 0x64, 0x65, 0x76, 0x00, 0x00, 0x00, 0x00, 0x65, 0x6c, 0x6c, 0x49, 0x20, 0x6c, 0x61, 0x67, 0x72, 0x64, 0x64, 0x61, 0x00, 0x73, 0x73, 0x65, 
+0x00, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x69, 0x6d, 0x72, 0x65, 0x69, 0x74, 0x61, 0x6e, 0x72, 0x20, 0x6e, 0x6f, 0x65, 0x75, 0x71, 0x65, 0x00, 0x00, 0x74, 0x73, 0x74, 0x53, 0x00, 0x00, 0x20, 0x6b, 0x63, 0x61, 0x72, 0x65, 0x76, 0x6f, 
+0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x65, 0x52, 0x00, 0x63, 0x65, 0x72, 0x69, 0x63, 0x20, 0x3a, 0x74, 0x74, 0x27, 0x6e, 0x61, 0x65, 0x70, 0x6f, 0x20, 0x00, 0x20, 0x3a, 0x6e, 0x20, 0x74, 0x75, 0x4f, 
+0x68, 0x20, 0x66, 0x6f, 0x20, 0x70, 0x61, 0x65, 0x6f, 0x6d, 0x65, 0x6d, 0x00, 0x00, 0x79, 0x72, 0x55, 0x00, 0x00, 0x00, 0x2d, 0x72, 0x65, 0x73, 0x69, 0x66, 0x65, 0x64, 0x20, 0x64, 0x65, 0x6e, 0x6e, 0x67, 0x69, 0x73, 0x31, 0x20, 0x6c, 0x61, 
+0x73, 0x55, 0x00, 0x00, 0x64, 0x2d, 0x72, 0x65, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x20, 0x64, 0x65, 0x61, 0x6e, 0x67, 0x69, 0x00, 0x32, 0x20, 0x6c, 0x72, 0x75, 0x50, 0x00, 0x69, 0x76, 0x20, 0x65, 0x61, 0x75, 0x74, 0x72, 0x6e, 0x66, 0x20, 0x6c, 
+0x6c, 0x61, 0x63, 0x20, 0x00, 0x64, 0x65, 0x6c, 0x20, 0x2b, 0x2b, 0x43, 0x72, 0x62, 0x69, 0x6c, 0x20, 0x79, 0x72, 0x61, 0x65, 0x63, 0x78, 0x65, 0x6f, 0x69, 0x74, 0x70, 0x4f, 0x00, 0x00, 0x6e, 0x6f, 0x20, 0x74, 0x75, 0x65, 0x68, 0x20, 0x66, 
+0x00, 0x00, 0x70, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/h264_enc_fw.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/h264_enc_fw.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/h264_enc_fw.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/h264_enc_fw.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,546 @@
+/*
+ * drivers/media/video/samsung/mfc40/h264_enc_fw.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+const unsigned char h264_enc_mc_fw[21180] = {
+0xea, 0x00, 0x00, 0x31, 0xea, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x0b, 0xea, 0x00, 0x00, 0x10, 0xea, 0x00, 0x00, 0x15, 0xea, 0xff, 0xff, 0xfe, 0xea, 0x00, 0x00, 0x19, 0xea, 0x00, 0x00, 0x1e, 0xea, 0x00, 0x00, 0x23, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0xa0, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x8c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x78, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x64, 
+0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x50, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x3c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x28, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xeb, 0x00, 0x00, 0x07, 0xea, 0xff, 0xff, 0xfe, 0x00, 0x00, 0xff, 0x04, 0x00, 0x00, 0xff, 0x08, 0x00, 0x00, 0xff, 0x0c, 0x00, 0x00, 0xff, 0x10, 0x00, 0x00, 0xff, 0x18, 0x00, 0x00, 0xff, 0x1c, 0x00, 0x00, 0xff, 0x20, 
+0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x0e, 0x59, 0xe5, 0x9f, 0x30, 0x04, 0xe0, 0x8f, 0x30, 0x03, 0xe1, 0xa0, 0xf0, 0x03, 0x00, 0x00, 0x40, 0x14, 0xe9, 0x2d, 0x40, 0x70, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x14, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xeb, 0x00, 0x09, 0x46, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe2, 0x00, 0x40, 0x1f, 0xe2, 0x84, 0x00, 0x07, 0xe1, 0xa0, 0x51, 0xc0, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x80, 0x50, 0x10, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x08, 0x2a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x07, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x81, 0x05, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfe, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x38, 0x52, 0xe5, 0x93, 0x30, 0x34, 
+0xe1, 0xa0, 0x20, 0x03, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x38, 0x52, 0xe5, 0x83, 0x00, 0x40, 0xe5, 0x83, 0x10, 0x3c, 0xe3, 0xa0, 0x30, 0x01, 
+0xe3, 0xa0, 0xc8, 0x52, 0xe5, 0x8c, 0x30, 0x38, 0xe1, 0x2f, 0xff, 0x1e, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0x81, 0x18, 0x00, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x82, 0x10, 0x0c, 0xe1, 0x2f, 0xff, 0x1e, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0x81, 0x18, 0x00, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x82, 0x10, 0x0c, 0xe1, 0x2f, 0xff, 0x1e, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x02, 0xe1, 0x81, 0x18, 0x00, 0xe3, 0xa0, 0x28, 0x52, 
+0xe5, 0x82, 0x10, 0x0c, 0xe1, 0x2f, 0xff, 0x1e, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x10, 0x03, 0xe1, 0x81, 0x18, 0x00, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x82, 0x10, 0x0c, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x30, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x05, 0x40, 0x07, 
+0xe3, 0x54, 0x00, 0x07, 0x90, 0x8f, 0xf1, 0x04, 0xea, 0x00, 0x00, 0x2a, 0xea, 0x00, 0x00, 0x29, 0xea, 0x00, 0x00, 0x05, 0xea, 0x00, 0x00, 0x09, 0xea, 0x00, 0x00, 0x0d, 0xea, 0x00, 0x00, 0x11, 0xea, 0x00, 0x00, 0x15, 0xea, 0x00, 0x00, 0x19, 
+0xea, 0x00, 0x00, 0x1d, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x07, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0xa6, 0xea, 0x00, 0x00, 0x1d, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x06, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0xa1, 
+0xea, 0x00, 0x00, 0x18, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x9c, 0xea, 0x00, 0x00, 0x13, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x97, 
+0xea, 0x00, 0x00, 0x0e, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x92, 0xea, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x8d, 
+0xea, 0x00, 0x00, 0x04, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x88, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x30, 0xe9, 0x2d, 0x40, 0x30, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x90, 0x00, 0x6c, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x55, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x11, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x30, 0xe2, 0x00, 0x00, 0x1f, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe3, 0xa0, 0x40, 0x00, 
+0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x18, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xff, 0x75, 0xe2, 0x84, 0x40, 0x03, 0xe1, 0x54, 0x00, 0x05, 0x3a, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x30, 0xe3, 0x80, 0x00, 0x20, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe8, 0xbd, 0x80, 0x30, 0xe9, 0x2d, 0x40, 0x30, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x05, 0x40, 0x07, 0xe3, 0x54, 0x00, 0x07, 0x90, 0x8f, 0xf1, 0x04, 
+0xea, 0x00, 0x00, 0x2f, 0xea, 0x00, 0x00, 0x29, 0xea, 0x00, 0x00, 0x05, 0xea, 0x00, 0x00, 0x09, 0xea, 0x00, 0x00, 0x0d, 0xea, 0x00, 0x00, 0x11, 0xea, 0x00, 0x00, 0x15, 0xea, 0x00, 0x00, 0x19, 0xea, 0x00, 0x00, 0x1d, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x10, 0x07, 0xe3, 0xa0, 0x00, 0x40, 0xeb, 0xff, 0xff, 0x58, 0xea, 0x00, 0x00, 0x22, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x06, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0xff, 0xff, 0x53, 0xea, 0x00, 0x00, 0x1d, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x00, 0x10, 0xeb, 0xff, 0xff, 0x4e, 0xea, 0x00, 0x00, 0x18, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xff, 0x49, 0xea, 0x00, 0x00, 0x13, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x10, 0x03, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x44, 0xea, 0x00, 0x00, 0x0e, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xff, 0x3f, 0xea, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x3a, 0xea, 0x00, 0x00, 0x04, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x80, 0xeb, 0xff, 0xff, 0x35, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe8, 0xbd, 0x80, 0x30, 0xe9, 0x2d, 0x40, 0x70, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x88, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0x54, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x18, 0xe3, 0xe0, 0x04, 0xff, 0xeb, 0xff, 0xff, 0x29, 
+0xea, 0x00, 0x00, 0x0a, 0xe3, 0x54, 0x00, 0x10, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x10, 0xe5, 0x9f, 0x0e, 0xd8, 0xeb, 0xff, 0xff, 0x23, 0xea, 0x00, 0x00, 0x04, 0xe3, 0x54, 0x00, 0x18, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x08, 
+0xe3, 0xa0, 0x00, 0xff, 0xeb, 0xff, 0xff, 0x1d, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe5, 0x81, 0x00, 0x10, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x08, 
+0x2a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x80, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x06, 0x05, 
+0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf5, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x19, 
+0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe2, 0x60, 0x50, 0x08, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x20, 0xe3, 0xe0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0xfa, 0xe2, 0x45, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf9, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 
+0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x80, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 0xe2, 0x8d, 0xe0, 0x10, 
+0xe8, 0x9e, 0x50, 0x00, 0xe5, 0x90, 0x51, 0x24, 0xe1, 0xa0, 0x5a, 0x05, 0xe5, 0x90, 0x61, 0x20, 0xe1, 0x85, 0x52, 0x06, 0xe3, 0xa0, 0x68, 0x52, 0xe5, 0x86, 0x50, 0x14, 0xe3, 0xa0, 0x58, 0x52, 0xe5, 0x85, 0x20, 0x10, 0xe3, 0x51, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0x51, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x50, 0x0c, 0xe3, 0x55, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x50, 0x0c, 0xe3, 0x55, 0x00, 0x19, 0x2a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x40, 0x01, 
+0xea, 0x00, 0x00, 0x0a, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x50, 0x0c, 0xe3, 0x55, 0x00, 0x05, 0x9a, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x50, 0x0c, 0xe3, 0x55, 0x00, 0x1e, 0x2a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x40, 0x01, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe5, 0x90, 0x50, 0xd4, 0xe1, 0xa0, 0x53, 0x85, 0xe5, 0x90, 0x60, 0x00, 0xe1, 0x85, 0x50, 0x86, 0xe1, 0x85, 0x50, 0x04, 0xe3, 0xa0, 0x68, 0x52, 0xe5, 0x86, 0x50, 0x48, 0xe3, 0xa0, 0x50, 0x04, 
+0xe5, 0x86, 0x50, 0x08, 0xe5, 0x86, 0x50, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x58, 0x52, 0xe5, 0x95, 0x50, 0x20, 0xe3, 0x55, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 
+0xe8, 0xbd, 0x80, 0x70, 0xe3, 0xa0, 0x1b, 0x02, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x82, 0x10, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x10, 0x50, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x47, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x60, 0x02, 0xe3, 0xa0, 0x70, 0x00, 0xe5, 0x94, 0x80, 0x10, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 
+0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0xa2, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x17, 0xe3, 0x55, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x1a, 0xe3, 0x58, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0b, 0xe5, 0x94, 0x00, 0x00, 
+0xe3, 0x10, 0x00, 0x0f, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0d, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x94, 0x10, 0xd0, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x00, 0xe2, 0x01, 0x10, 0x30, 0xe0, 0x80, 0x71, 0x21, 
+0xea, 0x00, 0x00, 0x0c, 0xe3, 0x58, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x70, 0x00, 0xea, 0x00, 0x00, 0x08, 0xe3, 0x58, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x70, 0x01, 0xea, 0x00, 0x00, 0x04, 0xe3, 0x58, 0x00, 0x03, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x70, 0x04, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x70, 0x08, 0xe3, 0x55, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x90, 0x07, 0xea, 0x00, 0x00, 0x05, 
+0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x94, 0x90, 0x0c, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x90, 0x07, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfe, 0x74, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x08, 
+0xe5, 0x94, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x0f, 0xeb, 0xff, 0xfe, 0x58, 0xe3, 0x55, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x06, 0xe3, 0x55, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x04, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x19, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x16, 0xe5, 0x94, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x05, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x00, 0x80, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x00, 0xcc, 
+0xeb, 0xff, 0xfe, 0x49, 0xe8, 0xbd, 0x87, 0xf0, 0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x0c, 0xe2, 0x8d, 0xb0, 0x40, 0xe8, 0x9b, 0x0c, 0x20, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x90, 0x00, 0xe5, 0x9d, 0x10, 0x0c, 
+0xe5, 0x91, 0x40, 0x0c, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x91, 0x00, 0xd4, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x6c, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x40, 0x4c, 
+0xe1, 0xa0, 0x20, 0x0a, 0xe1, 0xa0, 0x10, 0x05, 0xe5, 0x9d, 0x00, 0x0c, 0xeb, 0xff, 0xff, 0x85, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x00, 0x0c, 0xeb, 0xff, 0xff, 0x76, 0xe3, 0x55, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 
+0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x16, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x91, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0f, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0x54, 0x00, 0x06, 0xba, 0x00, 0x00, 0x07, 
+0xe3, 0x55, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0x54, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x91, 0x00, 0x00, 
+0xeb, 0xff, 0xfe, 0x31, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x91, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x3a, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0x55, 0x00, 0x02, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0x54, 0x00, 0x00, 0xca, 0x00, 0x00, 0x05, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0x54, 0x00, 0x06, 0xba, 0x00, 0x00, 0x0a, 0xe3, 0x54, 0x00, 0x1e, 
+0xaa, 0x00, 0x00, 0x08, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x91, 0x60, 0x24, 0xe3, 0x56, 0x00, 0x20, 0xba, 0x00, 0x00, 0x02, 0xe2, 0x26, 0x00, 0x3f, 0xe2, 0x80, 0x60, 0x01, 0xe2, 0x66, 0x60, 0x00, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x07, 
+0xe5, 0x9d, 0x20, 0x14, 0xe8, 0x8d, 0x08, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xe2, 0x8d, 0x30, 0x0c, 0xe8, 0x93, 0x00, 0x09, 0xe5, 0x9d, 0x20, 0x18, 0xeb, 0xff, 0xff, 0x06, 0xea, 0x00, 0x00, 0x12, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x9d, 0x10, 0x18, 
+0xe5, 0x80, 0x10, 0x10, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x80, 0xe1, 0x81, 0x00, 0x80, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x04, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x1c, 0xe8, 0xbd, 0x8f, 0xf0, 0xe3, 0xa0, 0x36, 0x02, 
+0xe5, 0x93, 0x30, 0x00, 0xe1, 0xa0, 0x20, 0x03, 0xe2, 0x02, 0x30, 0x3f, 0xe5, 0x80, 0x30, 0x0c, 0xe3, 0xa0, 0x30, 0x01, 0xe0, 0x03, 0x33, 0x22, 0xe5, 0x80, 0x30, 0x04, 0xe3, 0xa0, 0x30, 0x07, 0xe0, 0x03, 0x33, 0xa2, 0xe5, 0x80, 0x30, 0x10, 
+0xe3, 0xa0, 0x30, 0x03, 0xe0, 0x03, 0x36, 0x22, 0xe5, 0x80, 0x30, 0xd0, 0xe3, 0xa0, 0x30, 0x03, 0xe0, 0x03, 0x37, 0x22, 0xe5, 0x80, 0x30, 0xcc, 0xe3, 0xa0, 0x30, 0x01, 0xe0, 0x03, 0x35, 0x22, 0xe5, 0x80, 0x30, 0xd4, 0xe3, 0xa0, 0x36, 0x02, 
+0xe5, 0x93, 0x30, 0x04, 0xe1, 0xa0, 0x20, 0x03, 0xe3, 0xa0, 0x30, 0x3f, 0xe0, 0x03, 0x37, 0x22, 0xe5, 0x80, 0x30, 0x24, 0xe3, 0xa0, 0x30, 0x3f, 0xe0, 0x03, 0x3a, 0x22, 0xe5, 0x80, 0x30, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x4f, 0xff, 
+0xe2, 0x4d, 0xd0, 0x04, 0xe2, 0x8d, 0xb0, 0x38, 0xe8, 0x9b, 0x0c, 0x00, 0xe3, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x04, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x20, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfd, 0xa1, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x65, 0xeb, 0xff, 0xfd, 0x9b, 0xe5, 0x9d, 0x00, 0x10, 0xeb, 0xff, 0xfd, 0xaa, 
+0xe3, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfd, 0x96, 0xea, 0x00, 0x00, 0x13, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x61, 0xeb, 0xff, 0xfd, 0x8f, 
+0xe5, 0x9d, 0x00, 0x10, 0xeb, 0xff, 0xfd, 0x9e, 0xe3, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfd, 0x8a, 0xea, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x61, 0xeb, 0xff, 0xfd, 0x86, 0xe5, 0x9d, 0x00, 0x10, 
+0xeb, 0xff, 0xfd, 0x95, 0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfd, 0x81, 0xe3, 0xa0, 0x10, 0x10, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0xff, 0xfd, 0x7e, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 
+0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x01, 0x8c, 0xe0, 0x80, 0x1f, 0xa0, 0xe1, 0xa0, 0x10, 0xc1, 0xe0, 0x40, 0x90, 0x81, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfd, 0x85, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0x6e, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0x68, 0xea, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0x64, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x00, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x05, 
+0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x01, 0x00, 0xeb, 0xff, 0xfd, 0x68, 0xe5, 0x9d, 0x20, 0x04, 0xe2, 0x82, 0x2f, 0x41, 0xe8, 0x92, 0x00, 0x06, 0xe0, 0x41, 0x00, 0x02, 
+0xeb, 0xff, 0xfd, 0x70, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x71, 0xb0, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfd, 0x5f, 0xe3, 0x57, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x15, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x51, 0xb4, 0xe3, 0x55, 0x00, 0x10, 
+0xba, 0x00, 0x00, 0x03, 0xe2, 0x25, 0x00, 0x1f, 0xe2, 0x80, 0x40, 0x01, 0xe2, 0x64, 0x40, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x40, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x5f, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x61, 0xb8, 
+0xe3, 0x56, 0x00, 0x10, 0xba, 0x00, 0x00, 0x03, 0xe2, 0x26, 0x00, 0x1f, 0xe2, 0x80, 0x40, 0x01, 0xe2, 0x64, 0x40, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x40, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x54, 0xe3, 0xa0, 0x0d, 0x3e, 
+0xe0, 0x00, 0x04, 0x05, 0xe1, 0x80, 0x00, 0x07, 0xe3, 0xa0, 0x10, 0x7c, 0xe0, 0x01, 0x11, 0x86, 0xe1, 0x80, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x80, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x82, 0x71, 0x1c, 0xe5, 0x9d, 0x20, 0x04, 
+0xe5, 0x92, 0x00, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x15, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x01, 0x2c, 0xe1, 0xa0, 0x02, 0x80, 0xe5, 0x92, 0x10, 0xf0, 0xe1, 0x80, 0x01, 0x81, 0xe1, 0x80, 0x07, 0x8b, 0xe1, 0x80, 0x04, 0x0a, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x48, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x81, 0x04, 0xe3, 0xa0, 0x05, 0x02, 0xe5, 0x9d, 0x10, 0x0c, 0xe1, 0x80, 0x04, 0x01, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x11, 0x00, 0xe1, 0x80, 0x03, 0x01, 
+0xe1, 0x80, 0x00, 0x08, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x4c, 0xe3, 0xa0, 0x00, 0x10, 0xe5, 0x81, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x14, 0xe8, 0xbd, 0x8f, 0xf0, 0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x4c, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x8d, 0x00, 0x44, 0xe5, 0x8d, 0x00, 0x38, 0xe5, 0x8d, 0x00, 0x34, 0xe5, 0x8d, 0x00, 0x30, 0xe5, 0x8d, 0x00, 0x2c, 0xe5, 0x8d, 0x00, 0x28, 0xe5, 0x8d, 0x00, 0x24, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x8d, 0x00, 0x1c, 
+0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0xa0, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x00, 0xf0, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x04, 0xe5, 0x81, 0x00, 0x08, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x80, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x40, 0xe3, 0xa0, 0x10, 0x00, 
+0xe5, 0x8d, 0x10, 0x3c, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x00, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x54, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x24, 
+0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x91, 0x11, 0x20, 0xe0, 0x00, 0x00, 0x91, 0xe5, 0x8d, 0x00, 0x10, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x10, 0xe1, 0xa0, 0x0a, 0x00, 0xe1, 0xa0, 0x0a, 0x20, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x01, 0xa8, 
+0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0xa8, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x91, 0x11, 0xbc, 0xe1, 0x80, 0x08, 0x01, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x06, 
+0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0xbc, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x91, 0x11, 0xa8, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x01, 0xbc, 0xe5, 0x9d, 0x00, 0x10, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x4c, 
+0xe5, 0x91, 0x11, 0xbc, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x01, 0xbc, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x0c, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x17, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe5, 0x8d, 0x00, 0x20, 0xe2, 0x8d, 0x30, 0x3c, 0xe8, 0x93, 0x00, 0x0c, 0xe8, 0x8d, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x4c, 0xe3, 0xa0, 0x30, 0x00, 
+0xe5, 0x90, 0x11, 0x84, 0xe5, 0x9d, 0x20, 0x50, 0xeb, 0xff, 0xff, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xc8, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x40, 0x00, 0x01, 
+0xe2, 0x40, 0x00, 0x28, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x9d, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x61, 0x0c, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x70, 0xf0, 
+0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x83, 0xea, 0x00, 0x00, 0x7d, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe5, 0x8d, 0x00, 0x20, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x00, 0xd4, 0xe5, 0x8d, 0x00, 0x38, 
+0xe5, 0x8d, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xc8, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xc8, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x9d, 0x10, 0x44, 0xe5, 0x80, 0x10, 0x10, 0xe3, 0x57, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x15, 
+0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x24, 0xe1, 0xa0, 0x0a, 0x00, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x91, 0x11, 0x20, 0xe1, 0x80, 0x02, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x9d, 0x10, 0x10, 
+0xe5, 0x80, 0x10, 0x58, 0xe3, 0xa0, 0x08, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x14, 0xe2, 0x8d, 0x10, 0x4c, 0xe8, 0x91, 0x00, 0x03, 0xeb, 0xff, 0xfe, 0x9b, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x00, 0xd4, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x48, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x9d, 0x20, 0x48, 0xe5, 0x9d, 0x30, 0x34, 0xe8, 0x8d, 0x00, 0x0e, 0xe5, 0x9d, 0x00, 0x4c, 
+0xe2, 0x8d, 0x30, 0x3c, 0xe8, 0x93, 0x00, 0x0e, 0xeb, 0xff, 0xfe, 0x1e, 0xe5, 0x9d, 0x10, 0x44, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x44, 0xe3, 0x57, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x44, 
+0xe1, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x54, 0xe3, 0xa0, 0x08, 0x01, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x20, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x3c, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x20, 
+0xe5, 0x9d, 0x10, 0x3c, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x40, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x40, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x00, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe0, 0x80, 0xa0, 0x0a, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x40, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x9d, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x00, 0x10, 
+0xe5, 0x9d, 0x10, 0x44, 0xe1, 0x51, 0x00, 0x00, 0xba, 0xff, 0xff, 0x7d, 0xea, 0x00, 0x01, 0xb1, 0xea, 0x00, 0x01, 0xac, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x00, 0xd4, 0xe3, 0x56, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x19, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x68, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x10, 0x44, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x01, 0x68, 0xe2, 0x8d, 0x30, 0x3c, 0xe8, 0x93, 0x00, 0x0c, 
+0xe8, 0x8d, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x11, 0x84, 0xe5, 0x9d, 0x20, 0x50, 0xe5, 0x9d, 0x30, 0x44, 0xeb, 0xff, 0xfe, 0x54, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x44, 0xe3, 0x51, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xc8, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x38, 0xe5, 0x8d, 0x00, 0x2c, 
+0xea, 0x00, 0x01, 0x19, 0xe3, 0x56, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0e, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x10, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe5, 0x8d, 0x00, 0x28, 
+0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x14, 0xe5, 0x9d, 0x10, 0x28, 0xe1, 0x50, 0x01, 0xc1, 0xaa, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0xa0, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0xc8, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xc8, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x24, 0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x22, 0xe3, 0xa0, 0x06, 0x02, 0xe5, 0x90, 0x00, 0x00, 0xe3, 0x70, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x06, 0x02, 0xe5, 0x90, 0x00, 0x04, 0xe1, 0xa0, 0x0d, 0x20, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x06, 0x02, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x30, 0xe5, 0x9d, 0x00, 0x30, 0xe3, 0x70, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 
+0xea, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x2c, 0xe5, 0x8d, 0x00, 0x38, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf6, 
+0xea, 0x00, 0x00, 0x77, 0xe5, 0x9d, 0x00, 0x10, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x44, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x72, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x38, 
+0xea, 0x00, 0x00, 0x6d, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x6b, 0xe3, 0xa0, 0x06, 0x02, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x30, 0xe5, 0x9d, 0x00, 0x30, 0xe3, 0x70, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x5c, 0xe3, 0xa0, 0x00, 0x01, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x54, 0xe3, 0xa0, 0x08, 0x01, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x54, 0xea, 0x00, 0x00, 0x49, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x2c, 0xe5, 0x8d, 0x00, 0x38, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x42, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x60, 0xe1, 0xa0, 0x50, 0x00, 
+0xe3, 0xc5, 0x44, 0xff, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x8c, 0x45, 0xe0, 0x00, 0x9c, 0xc5, 0xe3, 0x54, 0x00, 0x1d, 0xda, 0x00, 0x00, 0x34, 0xe3, 0x59, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x19, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x00, 
+0xeb, 0xff, 0xfb, 0x7c, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x20, 0xe3, 0xe0, 0x00, 0x00, 0xeb, 0xff, 0xfb, 0x78, 0xe2, 0x44, 0x40, 0x20, 0xe3, 0x54, 0x00, 0x20, 0xaa, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x04, 
+0xe3, 0xa0, 0x00, 0x0f, 0xeb, 0xff, 0xfb, 0x71, 0xe2, 0x44, 0x40, 0x04, 0xe3, 0x54, 0x00, 0x04, 0xaa, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x04, 0x00, 0x00, 0xff, 0xff, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x69, 
+0xe2, 0x44, 0x40, 0x01, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x0f, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x62, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x10, 0xe3, 0xa0, 0x00, 0x00, 
+0xeb, 0xff, 0xfb, 0x5e, 0xe2, 0x44, 0x40, 0x10, 0xe3, 0x54, 0x00, 0x10, 0xaa, 0xff, 0xff, 0xf9, 0xe3, 0x54, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfb, 0x56, 0xe3, 0xa0, 0x40, 0x00, 
+0xe3, 0x58, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x50, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfb, 0x4c, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xb4, 0xea, 0x00, 0x00, 0x08, 0xe5, 0x9d, 0x00, 0x10, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x44, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x8d, 0x00, 0x38, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x38, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x9d, 0x10, 0x44, 0xe5, 0x80, 0x10, 0x10, 0xe5, 0x9d, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x58, 0xe3, 0x57, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x15, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x24, 0xe1, 0xa0, 0x0a, 0x00, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x91, 0x11, 0x20, 0xe1, 0x80, 0x02, 0x01, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x80, 0x10, 0x58, 0xe3, 0xa0, 0x08, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x20, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x14, 0xe2, 0x8d, 0x10, 0x4c, 0xe8, 0x91, 0x00, 0x03, 0xeb, 0xff, 0xfd, 0x4e, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x00, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x48, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x9d, 0x20, 0x48, 
+0xe5, 0x9d, 0x30, 0x34, 0xe8, 0x8d, 0x00, 0x0e, 0xe5, 0x9d, 0x00, 0x4c, 0xe2, 0x8d, 0x30, 0x3c, 0xe8, 0x93, 0x00, 0x0e, 0xeb, 0xff, 0xfc, 0xd1, 0xe5, 0x9d, 0x10, 0x44, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x44, 0xe3, 0x57, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x44, 0xe1, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x54, 0xe3, 0xa0, 0x08, 0x01, 0xe5, 0x81, 0x00, 0x04, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x3c, 0xe2, 0x81, 0x00, 0x01, 
+0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x20, 0xe5, 0x9d, 0x10, 0x3c, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x40, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x40, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x00, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x48, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe0, 0x80, 0xa0, 0x0a, 0xe5, 0x9d, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xfe, 0xe2, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x5a, 0xe5, 0x9d, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x00, 0x48, 0xeb, 0xff, 0xfa, 0xde, 0xe3, 0x57, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x46, 0xe5, 0x9d, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x44, 
+0xe1, 0x51, 0x00, 0x00, 0xba, 0x00, 0x00, 0x40, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x60, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xc5, 0x44, 0xff, 
+0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0x8c, 0x45, 0xe0, 0x00, 0x9c, 0xc5, 0xe3, 0x54, 0x00, 0x1d, 0xda, 0x00, 0x00, 0x33, 0xe3, 0x59, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x18, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfa, 0xb5, 
+0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x20, 0xe3, 0xe0, 0x00, 0x00, 0xeb, 0xff, 0xfa, 0xb1, 0xe2, 0x44, 0x40, 0x20, 0xe3, 0x54, 0x00, 0x20, 0xaa, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x0f, 
+0xeb, 0xff, 0xfa, 0xaa, 0xe2, 0x44, 0x40, 0x04, 0xe3, 0x54, 0x00, 0x04, 0xaa, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfa, 0xa3, 0xe2, 0x44, 0x40, 0x01, 0xe3, 0x54, 0x00, 0x00, 
+0x1a, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x0f, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfa, 0x9c, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x10, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfa, 0x98, 0xe2, 0x44, 0x40, 0x10, 
+0xe3, 0x54, 0x00, 0x10, 0xaa, 0xff, 0xff, 0xf9, 0xe3, 0x54, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfa, 0x90, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0x58, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfa, 0x8a, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfa, 0x86, 0xeb, 0xff, 0xfa, 0xca, 0xea, 0x00, 0x00, 0x00, 0xeb, 0xff, 0xfb, 0x16, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xb4, 0xe5, 0x8d, 0x00, 0x30, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x68, 0xe5, 0x9d, 0x10, 0x30, 0xe0, 0x80, 0x01, 0x81, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x01, 0x68, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x90, 0x00, 0x44, 0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x20, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x30, 0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x81, 0x01, 0x80, 0xe5, 0x8d, 0x00, 0x20, 
+0xe5, 0x9d, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x44, 0xe1, 0x51, 0x00, 0x00, 0xba, 0xff, 0xfe, 0x4e, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x00, 0xf0, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x13, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0f, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe1, 0xa0, 0xb0, 0x00, 0xeb, 0xff, 0xfa, 0xd5, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe0, 0x40, 0xb0, 0x0b, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x38, 0xe0, 0x80, 0x00, 0x0b, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x01, 0x38, 0xe5, 0x9d, 0x00, 0x18, 0xe0, 0x80, 0x00, 0x0b, 
+0xe5, 0x8d, 0x00, 0x18, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x16, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe1, 0xa0, 0xb0, 0x00, 0xe5, 0x9d, 0x00, 0x48, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x00, 0x48, 0xeb, 0xff, 0xfa, 0x51, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe0, 0x40, 0xb0, 0x0b, 
+0xe5, 0x9d, 0x00, 0x4c, 0xe5, 0x90, 0x01, 0x38, 0xe0, 0x80, 0x00, 0x0b, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x01, 0x38, 0xe5, 0x9d, 0x00, 0x18, 0xe0, 0x80, 0x00, 0x0b, 0xe5, 0x8d, 0x00, 0x18, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x18, 
+0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x01, 0x3c, 0xe5, 0x9d, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x01, 0x34, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x4c, 0xe5, 0x81, 0x01, 0x80, 0xe5, 0x9d, 0x00, 0x44, 0xe2, 0x8d, 0xd0, 0x5c, 
+0xe8, 0xbd, 0x8f, 0xf0, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x91, 0x01, 0x84, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x01, 0x90, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x91, 0x00, 0xe4, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x01, 0x90, 0xea, 0xff, 0xff, 0xf8, 0xe5, 0x91, 0x01, 0x90, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x91, 0x20, 0xe4, 0xe1, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x01, 0x90, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xef, 0xe5, 0x91, 0x01, 0x90, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x81, 0x01, 0x90, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xea, 0xe9, 0x2d, 0x40, 0x10, 
+0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x04, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x20, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfa, 0x04, 0xe3, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x68, 0xeb, 0xff, 0xfa, 0x01, 
+0xe5, 0x94, 0x00, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x0a, 0xe3, 0xa0, 0x0f, 0xce, 0xeb, 0xff, 0xf9, 0xfb, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x0a, 0xe3, 0xa0, 0x0f, 0xee, 0xeb, 0xff, 0xf9, 0xf7, 
+0xe5, 0x94, 0x11, 0x04, 0xe2, 0x41, 0x00, 0x1a, 0xeb, 0xff, 0xfa, 0x12, 0xe5, 0x94, 0x01, 0x04, 0xe5, 0x84, 0x01, 0x08, 0xe3, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x00, 0x1c, 0xeb, 0xff, 0xf9, 0xef, 0xeb, 0xff, 0xfa, 0x81, 0xe8, 0xbd, 0x80, 0x10, 
+0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x04, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x20, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0xe5, 0xe3, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x67, 
+0xeb, 0xff, 0xf9, 0xe2, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x03, 0x00, 0xe2, 0x00, 0x50, 0x03, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x10, 0xe3, 0xa0, 0x0c, 0x42, 0xeb, 0xff, 0xf9, 0xda, 0xea, 0x00, 0x00, 0x0a, 
+0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x10, 0xe3, 0xa0, 0x0c, 0x4d, 0xeb, 0xff, 0xf9, 0xd4, 0xea, 0x00, 0x00, 0x04, 0xe3, 0x55, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x10, 0xe3, 0xa0, 0x0b, 0x19, 
+0xeb, 0xff, 0xf9, 0xce, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x03, 0x00, 0xe2, 0x00, 0x6c, 0xff, 0xe1, 0xa0, 0x64, 0x46, 0xe3, 0xa0, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf9, 0xc7, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xf9, 0xc4, 0xe3, 0x55, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x07, 0xe3, 0xa0, 0x00, 0x2c, 0xeb, 0xff, 0xf9, 0xbf, 0xe3, 0xa0, 0x10, 0x0e, 0xe5, 0x9f, 0x0e, 0xe4, 0xeb, 0xff, 0xf9, 0xbc, 0xe5, 0x9f, 0x0e, 0xe0, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x04, 0xe5, 0x94, 0x11, 0x20, 0xe2, 0x41, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0xc7, 0xe5, 0x94, 0x11, 0x24, 0xe2, 0x41, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0xc4, 0xe3, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x0c, 
+0xeb, 0xff, 0xf9, 0xb0, 0xeb, 0xff, 0xfa, 0x42, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x4f, 0xf1, 0xe2, 0x4d, 0xd0, 0x08, 0xe3, 0xa0, 0xa0, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0xb0, 0x00, 
+0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0xc4, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0xc4, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xe8, 0xbd, 0x8f, 0xfe, 0xe3, 0xa0, 0x00, 0x14, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0xa4, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x00, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x18, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x20, 0xe5, 0x81, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x81, 0x00, 0x20, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x24, 0xe5, 0x81, 0x00, 0x24, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0xa8, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0xac, 
+0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x90, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x94, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x98, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x40, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x9c, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x44, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0xa0, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x80, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x74, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x70, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 
+0xe5, 0x9d, 0x00, 0x08, 0xeb, 0x00, 0x03, 0xc0, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0x00, 0x03, 0x5b, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0xec, 0xe3, 0x80, 0x00, 0x30, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x01, 0x80, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x17, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 
+0xe5, 0x9d, 0x00, 0x08, 0xeb, 0xff, 0xff, 0x5d, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0xff, 0xff, 0x39, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe0, 0x80, 0x00, 0x04, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x10, 0xb4, 0xe0, 0x80, 0x40, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x44, 0xe5, 0x81, 0x00, 0xb4, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x80, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x0d, 0x08, 
+0xe1, 0xa0, 0x90, 0x00, 0xe2, 0x09, 0x90, 0x01, 0xe3, 0x59, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x84, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0xff, 0xfe, 0xfd, 0xe1, 0xa0, 0x70, 0x00, 
+0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x84, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x00, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x30, 0xe3, 0xa0, 0x06, 0x05, 
+0xe5, 0x90, 0x08, 0x04, 0xe5, 0x81, 0x00, 0x34, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x08, 0xe5, 0x81, 0x00, 0x38, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0xac, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x90, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x01, 0x20, 0xe1, 0xa0, 0x02, 0x00, 0xe5, 0x91, 0x11, 0x24, 0xe1, 0x80, 0x07, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x56, 0xe5, 0x80, 0x70, 0x04, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x88, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x04, 0x01, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x08, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x01, 0x04, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x70, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x01, 0x04, 0xe5, 0x81, 0x01, 0x04, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0xd0, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x40, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0xd4, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x4c, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0xd8, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x54, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x74, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x70, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0c, 0xe1, 0xa0, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x08, 0xeb, 0x00, 0x04, 0x37, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x70, 0xe1, 0xa0, 0x04, 0x80, 0xe5, 0x91, 0x11, 0x74, 0xe1, 0x80, 0x04, 0x01, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x11, 0x04, 0xe1, 0x80, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x40, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x30, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x38, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x40, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x44, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x48, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x3c, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x68, 
+0xe5, 0x9d, 0x10, 0x08, 0xe1, 0xa0, 0x20, 0x0a, 0xe5, 0x91, 0x31, 0x88, 0xe1, 0xa0, 0x10, 0x07, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0xff, 0xfb, 0xaa, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x55, 0xe5, 0x90, 0x01, 0x74, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x0a, 0x34, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0xc0, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0a, 0x18, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x0c, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xeb, 0xff, 0xf8, 0xeb, 0xeb, 0xff, 0xf9, 0x1f, 0xea, 0x00, 0x00, 0x00, 0xeb, 0xff, 0xf9, 0x36, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x68, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x10, 0x44, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x68, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x0c, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xb4, 0xe1, 0xa0, 0x60, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x68, 0xe0, 0x80, 0x01, 0x86, 0xe5, 0x81, 0x01, 0x68, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x90, 0x00, 0x44, 0xe0, 0x80, 0x01, 0x86, 0xe0, 0x40, 0x50, 0x05, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x38, 0xe0, 0x80, 0x00, 0x05, 0xe5, 0x81, 0x01, 0x38, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x3c, 0xe0, 0x80, 0x00, 0x05, 
+0xe5, 0x81, 0x01, 0x3c, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x3c, 0xe2, 0x80, 0x00, 0x28, 0xe5, 0x81, 0x01, 0x3c, 0xe5, 0x9d, 0x10, 0x08, 
+0xe5, 0x91, 0x01, 0x70, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x08, 0xeb, 0x00, 0x05, 0x4c, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x68, 0xe0, 0x80, 0x80, 0x04, 0xe1, 0xa0, 0x01, 0xc8, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x00, 0x58, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x80, 0x40, 0x60, 0xeb, 0xff, 0xf9, 0x39, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x44, 
+0xe5, 0x81, 0x00, 0xb4, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x80, 0x7c, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x05, 0x0c, 0xe3, 0xa0, 0x0c, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x04, 
+0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x88, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x81, 0x01, 0x88, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x84, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x81, 0x01, 0x84, 
+0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x01, 0x8c, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x81, 0x01, 0x8c, 0xea, 0xff, 0xfe, 0x9e, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x20, 0x00, 0xe5, 0x80, 0x20, 0x04, 0xe5, 0x80, 0x20, 0x08, 0xe5, 0x80, 0x20, 0x0c, 
+0xe5, 0x80, 0x20, 0x10, 0xe5, 0x80, 0x20, 0x14, 0xe5, 0x80, 0x20, 0x18, 0xe5, 0x80, 0x20, 0x1c, 0xe5, 0x80, 0x20, 0x20, 0xe5, 0x80, 0x20, 0x24, 0xe5, 0x80, 0x20, 0x2c, 0xe5, 0x80, 0x20, 0x30, 0xe5, 0x80, 0x20, 0x34, 0xe5, 0x80, 0x20, 0x38, 
+0xe5, 0x80, 0x20, 0x3c, 0xe5, 0x80, 0x20, 0x40, 0xe5, 0x80, 0x20, 0x44, 0xe5, 0x80, 0x20, 0x48, 0xe5, 0x80, 0x20, 0xd0, 0xe5, 0x80, 0x20, 0xd4, 0xe5, 0x80, 0x21, 0xc8, 0xe5, 0x80, 0x21, 0xcc, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x05, 
+0xe3, 0xa0, 0x20, 0x00, 0xe2, 0x80, 0x30, 0x4c, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x80, 0x30, 0x8c, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x10, 0xba, 0xff, 0xff, 0xf7, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x20, 0xcc, 
+0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x47, 0xf0, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x91, 0x18, 0xe1, 0xa0, 0x92, 0x29, 0xe5, 0x80, 0x91, 0x20, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x91, 0x1c, 0xe1, 0xa0, 0x92, 0x29, 0xe5, 0x80, 0x91, 0x24, 
+0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x93, 0x08, 0xe5, 0x80, 0x90, 0xe4, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x00, 0xe2, 0x09, 0x90, 0x3f, 0xe5, 0x80, 0x91, 0x04, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x93, 0x10, 0xe2, 0x09, 0x90, 0x01, 
+0xe5, 0x80, 0x90, 0xf0, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x93, 0x10, 0xe1, 0xa0, 0x91, 0x29, 0xe5, 0x80, 0x91, 0x00, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x93, 0x14, 0xe2, 0x09, 0x90, 0x03, 0xe5, 0x80, 0x91, 0xb0, 0xe3, 0xa0, 0x96, 0x05, 
+0xe5, 0x99, 0x93, 0x14, 0xe2, 0x09, 0x9d, 0x3e, 0xe1, 0xa0, 0x93, 0xa9, 0xe5, 0x80, 0x91, 0xb4, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x93, 0x14, 0xe2, 0x09, 0x90, 0x7c, 0xe1, 0xa0, 0x91, 0x29, 0xe5, 0x80, 0x91, 0xb8, 0xe3, 0xa0, 0x96, 0x05, 
+0xe5, 0x99, 0x93, 0x1c, 0xe5, 0x80, 0x91, 0x0c, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x93, 0x20, 0xe5, 0x80, 0x91, 0x10, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x93, 0x28, 0xe2, 0x49, 0x9d, 0x1e, 0xe5, 0x80, 0x91, 0x14, 0xe3, 0xa0, 0x96, 0x05, 
+0xe5, 0x99, 0x93, 0x24, 0xe5, 0x80, 0x91, 0x18, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x00, 0xe3, 0xa0, 0xa8, 0x55, 0xe5, 0x8a, 0x91, 0x40, 0xe5, 0x80, 0x91, 0xd0, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x04, 0xe5, 0x8a, 0x91, 0x44, 
+0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x08, 0xe5, 0x8a, 0x91, 0x48, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x0c, 0xe5, 0x8a, 0x91, 0x4c, 0xe5, 0x80, 0x91, 0xd4, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x10, 0xe5, 0x8a, 0x91, 0x50, 
+0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x14, 0xe5, 0x8a, 0x91, 0x54, 0xe5, 0x80, 0x91, 0xd8, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x1c, 0xe5, 0x8a, 0x91, 0x5c, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x20, 0xe5, 0x8a, 0x91, 0x60, 
+0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x24, 0xe5, 0x8a, 0x91, 0x64, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x28, 0xe5, 0x8a, 0x91, 0x68, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x2c, 0xe5, 0x8a, 0x91, 0x6c, 0xe3, 0xa0, 0x96, 0x05, 
+0xe5, 0x99, 0x9a, 0x30, 0xe5, 0x8a, 0x91, 0x70, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x38, 0xe5, 0x8a, 0x91, 0x78, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x3c, 0xe5, 0x8a, 0x91, 0x7c, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x40, 
+0xe5, 0x8a, 0x91, 0x80, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x44, 0xe5, 0x8a, 0x91, 0x84, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x00, 0xe1, 0xa0, 0x94, 0xa9, 0xe5, 0x80, 0x91, 0x70, 0xe5, 0x90, 0x91, 0x70, 0xe2, 0x09, 0x90, 0x01, 
+0xe5, 0x80, 0x91, 0x70, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9a, 0x00, 0xe1, 0xa0, 0x94, 0x29, 0xe5, 0x80, 0x91, 0x74, 0xe5, 0x90, 0x91, 0x74, 0xe2, 0x09, 0x90, 0x01, 0xe5, 0x80, 0x91, 0x74, 0xe5, 0x90, 0x91, 0x0c, 0xe3, 0x59, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x90, 0x00, 0xe5, 0x80, 0x91, 0x18, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x18, 0x00, 0xe3, 0xa0, 0xa8, 0x55, 0xe5, 0x90, 0x91, 0xa4, 0xe5, 0x8a, 0x90, 0x00, 0xe5, 0x90, 0x91, 0x0c, 0xe3, 0x59, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x02, 0xe5, 0x90, 0x91, 0x10, 0xe3, 0x59, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x90, 0x00, 0xe5, 0x80, 0x91, 0x18, 0xe3, 0xa0, 0xa8, 0x55, 0xe5, 0x90, 0x91, 0x18, 0xe5, 0x8a, 0x90, 0x14, 0xe3, 0xa0, 0x96, 0x05, 
+0xe5, 0x99, 0x91, 0x20, 0xe5, 0x8a, 0x90, 0x18, 0xe3, 0xa0, 0x90, 0x00, 0xe5, 0x8a, 0x90, 0x1c, 0xe3, 0xa0, 0x90, 0x01, 0xe5, 0x8a, 0x90, 0x20, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x91, 0x24, 0xe5, 0x8a, 0x90, 0x24, 0xe3, 0xa0, 0x96, 0x05, 
+0xe5, 0x99, 0x98, 0x10, 0xe1, 0xa0, 0x9a, 0x09, 0xe1, 0xa0, 0x9a, 0x29, 0xe5, 0x80, 0x91, 0xa8, 0xe5, 0x8a, 0x90, 0x4c, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x92, 0x34, 0xe5, 0x80, 0x91, 0xac, 0xe5, 0x8a, 0x91, 0x90, 0xe3, 0xa0, 0x96, 0x05, 
+0xe5, 0x99, 0x98, 0x0c, 0xe1, 0xa0, 0x10, 0x09, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x96, 0x00, 0xe5, 0x80, 0x91, 0xa4, 0xe5, 0x90, 0x91, 0x20, 0xe1, 0xa0, 0x92, 0x09, 0xe5, 0x90, 0xa1, 0x24, 0xe1, 0xa0, 0xa2, 0x0a, 0xe0, 0x05, 0x09, 0x9a, 
+0xe5, 0x90, 0x91, 0x20, 0xe1, 0xa0, 0x82, 0x09, 0xe5, 0x90, 0x91, 0x24, 0xe1, 0xa0, 0x72, 0x09, 0xe5, 0x90, 0x91, 0xa4, 0xe3, 0x59, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x98, 0x55, 0xe5, 0x89, 0x10, 0x3c, 0xe5, 0x80, 0x11, 0x94, 
+0xe0, 0x81, 0x90, 0x05, 0xe3, 0xa0, 0xa8, 0x55, 0xe5, 0x8a, 0x90, 0x40, 0xe5, 0x80, 0x91, 0x98, 0xe0, 0x81, 0x90, 0x85, 0xe5, 0x8a, 0x90, 0x44, 0xe5, 0x80, 0x91, 0x9c, 0xe0, 0x85, 0x91, 0x05, 0xe0, 0x81, 0x90, 0xa9, 0xe5, 0x8a, 0x90, 0x48, 
+0xe5, 0x80, 0x91, 0xa0, 0xea, 0x00, 0x00, 0x41, 0xe1, 0xa0, 0x16, 0xa1, 0xe3, 0xa0, 0x30, 0x00, 0xea, 0x00, 0x00, 0x3c, 0xe2, 0x48, 0xc0, 0x01, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x47, 0x90, 0x01, 0xea, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x90, 0x01, 0xe0, 0x69, 0x90, 0xa7, 0xe1, 0xa0, 0xe0, 0x09, 0xe3, 0xa0, 0xa0, 0x01, 0xe0, 0x8a, 0x43, 0xac, 0xe0, 0x8a, 0x63, 0x2e, 0xe3, 0xb0, 0x90, 0x00, 0x0a, 0x00, 0x00, 0x1b, 0xe3, 0xa0, 0x90, 0x7f, 0xe0, 0x09, 0xc4, 0x2c, 
+0xe1, 0x89, 0x91, 0x09, 0xe0, 0x09, 0xe3, 0x2e, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe2, 0x80, 0x9f, 0x65, 0xe7, 0x89, 0x11, 0x02, 0xe0, 0x29, 0xce, 0x94, 0xe2, 0x89, 0x90, 0x01, 
+0xe0, 0x89, 0x10, 0x01, 0xe2, 0x82, 0x20, 0x01, 0xe3, 0x52, 0x00, 0x02, 0x3a, 0xff, 0xff, 0xf7, 0xea, 0x00, 0x00, 0x1d, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe2, 0x80, 0x9f, 0x67, 0xe7, 0x89, 0x11, 0x02, 0xe0, 0x29, 0xce, 0x94, 
+0xe2, 0x89, 0x90, 0x01, 0xe0, 0x89, 0x10, 0x01, 0xe2, 0x82, 0x20, 0x01, 0xe3, 0x52, 0x00, 0x02, 0x3a, 0xff, 0xff, 0xf7, 0xea, 0x00, 0x00, 0x12, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x03, 
+0xe2, 0x80, 0x9f, 0x65, 0xe7, 0x89, 0x11, 0x02, 0xe0, 0x21, 0x14, 0x96, 0xe2, 0x82, 0x20, 0x01, 0xe3, 0x52, 0x00, 0x02, 0x3a, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x80, 0x9f, 0x67, 
+0xe7, 0x89, 0x11, 0x02, 0xe0, 0x21, 0x14, 0x96, 0xe2, 0x82, 0x20, 0x01, 0xe3, 0x52, 0x00, 0x02, 0x3a, 0xff, 0xff, 0xf9, 0xe2, 0x83, 0x30, 0x01, 0xe3, 0x53, 0x00, 0x02, 0x3a, 0xff, 0xff, 0xc0, 0xe8, 0xbd, 0x87, 0xf0, 0xe3, 0xa0, 0x1e, 0x16, 
+0xe5, 0x80, 0x10, 0xdc, 0xe3, 0xa0, 0x1e, 0x12, 0xe5, 0x80, 0x10, 0xe0, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0xe4, 0xe3, 0xa0, 0x10, 0x42, 0xe5, 0x80, 0x10, 0xe8, 0xe3, 0xa0, 0x10, 0x04, 0xe5, 0x80, 0x10, 0xec, 0xe3, 0xa0, 0x10, 0x00, 
+0xe5, 0x80, 0x10, 0xf4, 0xe5, 0x80, 0x10, 0xf8, 0xe5, 0x80, 0x11, 0x00, 0xe5, 0x80, 0x11, 0xb4, 0xe5, 0x80, 0x11, 0xb8, 0xe5, 0x80, 0x10, 0xf0, 0xe5, 0x80, 0x10, 0xfc, 0xe3, 0xa0, 0x10, 0x1a, 0xe5, 0x80, 0x11, 0x04, 0xe3, 0xa0, 0x10, 0x00, 
+0xe5, 0x80, 0x11, 0x0c, 0xe3, 0xa0, 0x10, 0x0f, 0xe5, 0x80, 0x11, 0x18, 0xe3, 0xa0, 0x10, 0x0b, 0xe5, 0x80, 0x11, 0x20, 0xe3, 0xa0, 0x10, 0x09, 0xe5, 0x80, 0x11, 0x24, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x80, 0x11, 0x2c, 0xe3, 0xa0, 0x10, 0x00, 
+0xe5, 0x80, 0x11, 0x5c, 0xe5, 0x80, 0x11, 0x60, 0xe5, 0x80, 0x11, 0x64, 0xe3, 0xa0, 0x10, 0x04, 0xe5, 0x80, 0x11, 0x28, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x11, 0x30, 0xe5, 0x80, 0x11, 0x38, 0xe5, 0x80, 0x11, 0x40, 0xe5, 0x80, 0x11, 0x44, 
+0xe5, 0x80, 0x11, 0x48, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x80, 0x11, 0x80, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x11, 0x84, 0xe5, 0x80, 0x11, 0x8c, 0xe5, 0x80, 0x11, 0x90, 0xe5, 0x80, 0x11, 0x88, 0xe5, 0x80, 0x11, 0x94, 0xe5, 0x80, 0x11, 0x98, 
+0xe5, 0x80, 0x11, 0x9c, 0xe5, 0x80, 0x11, 0xa0, 0xe5, 0x80, 0x11, 0xc4, 0xe5, 0x80, 0x11, 0xb0, 0xe5, 0x80, 0x11, 0xbc, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x14, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xbf, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0xbb, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0x95, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x0f, 0x9f, 0xeb, 0x00, 0x04, 0x74, 0xe1, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xff, 0xec, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x44, 0xe5, 0x81, 0x00, 0xb4, 0xe3, 0xa0, 0x0c, 0x02, 
+0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfd, 0x10, 0xe5, 0x96, 0x01, 0xc4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x08, 0x2a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x30, 
+0xe2, 0x20, 0x00, 0x20, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x50, 0x68, 0xe3, 0x55, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x00, 0x10, 
+0xe3, 0xa0, 0x10, 0x18, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf6, 0xa2, 0xea, 0x00, 0x00, 0x14, 0xe3, 0x55, 0x00, 0x10, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x00, 0x10, 0xe3, 0xa0, 0x10, 0x10, 
+0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf6, 0x99, 0xea, 0x00, 0x00, 0x0b, 0xe3, 0x55, 0x00, 0x18, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x03, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x00, 0x10, 0xe3, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x00, 
+0xeb, 0xff, 0xf6, 0x90, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x00, 0x10, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x30, 0xe2, 0x20, 0x00, 0x20, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe2, 0x00, 0x40, 0x1f, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x08, 0x2a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x38, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x2b, 0xe3, 0xa0, 0x06, 0x05, 
+0xe5, 0x90, 0x00, 0x34, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x10, 0x24, 0xe1, 0x50, 0x00, 0x01, 0x2a, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x24, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x91, 0x10, 0x34, 0xe0, 0x40, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x20, 0x3a, 0xff, 0xff, 0xf7, 0xea, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x10, 0x1c, 0xe1, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x24, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x10, 0x18, 0xe0, 0x40, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x20, 0x3a, 0xff, 0xff, 0xf7, 
+0xe3, 0xa0, 0x00, 0x07, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x2b, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x91, 0x10, 0x24, 0xe1, 0x50, 0x00, 0x01, 0x2a, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x24, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x10, 0x34, 0xe0, 0x40, 0x00, 0x01, 
+0xe3, 0x50, 0x00, 0x20, 0x3a, 0xff, 0xff, 0xf7, 0xea, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x10, 0x1c, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x24, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x10, 0x18, 0xe0, 0x40, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x20, 0x3a, 0xff, 0xff, 0xf7, 0xe3, 0xa0, 0x00, 0x07, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 
+0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x05, 0x10, 
+0xe1, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x06, 0xb4, 0x00, 0x00, 0x77, 0x77, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x80, 0x11, 0xdc, 0xe3, 0xa0, 0x10, 0x02, 0xe5, 0x80, 0x11, 0xe4, 0xe3, 0xa0, 0x10, 0x40, 0xe5, 0x80, 0x11, 0xe0, 
+0xe3, 0xa0, 0x10, 0x08, 0xe5, 0x80, 0x11, 0xe8, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x80, 0x11, 0xec, 0xe3, 0xa0, 0x10, 0x18, 0xe5, 0x80, 0x12, 0x00, 0xe3, 0xa0, 0x10, 0x64, 0xe5, 0x80, 0x12, 0x10, 0xe5, 0x80, 0x12, 0x20, 0xe3, 0xa0, 0x10, 0x18, 
+0xe5, 0x80, 0x12, 0x1c, 0xe3, 0xa0, 0x10, 0x36, 0xe5, 0x80, 0x12, 0x18, 0xe3, 0xa0, 0x10, 0x32, 0xe5, 0x80, 0x12, 0x28, 0xe3, 0xa0, 0x10, 0x20, 0xe5, 0x80, 0x12, 0x24, 0xe3, 0xa0, 0x10, 0x64, 0xe5, 0x80, 0x12, 0x3c, 0xe3, 0xa0, 0x10, 0x20, 
+0xe5, 0x80, 0x12, 0x2c, 0xe5, 0x80, 0x12, 0x30, 0xe5, 0x80, 0x12, 0x34, 0xe3, 0xa0, 0x10, 0x3a, 0xe5, 0x80, 0x12, 0x38, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x1a, 0x10, 0xe5, 0x80, 0x11, 0xf8, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x1a, 0x0c, 
+0xe3, 0xa0, 0x20, 0x3f, 0xe0, 0x02, 0x14, 0x21, 0xe5, 0x80, 0x12, 0x40, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x1a, 0x0c, 0xe2, 0x01, 0x10, 0x3f, 0xe5, 0x80, 0x12, 0x44, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x80, 0x12, 0x4c, 0xe5, 0x90, 0x12, 0x14, 
+0xe5, 0x90, 0x22, 0x08, 0xe1, 0x81, 0x18, 0x02, 0xe3, 0xa0, 0x28, 0x55, 0xe5, 0x82, 0x11, 0x5c, 0xe5, 0x90, 0x11, 0xe8, 0xe1, 0xa0, 0x1e, 0x01, 0xe5, 0x90, 0x22, 0x00, 0xe1, 0x81, 0x18, 0x02, 0xe5, 0x90, 0x22, 0x4c, 0xe1, 0x81, 0x16, 0x02, 
+0xe5, 0x90, 0x22, 0x1c, 0xe1, 0x81, 0x10, 0x02, 0xe3, 0xa0, 0x28, 0x55, 0xe5, 0x82, 0x11, 0x68, 0xe5, 0x90, 0x12, 0x28, 0xe5, 0x90, 0x22, 0x20, 0xe1, 0x81, 0x18, 0x02, 0xe3, 0xa0, 0x28, 0x55, 0xe5, 0x82, 0x11, 0x6c, 0xe5, 0x90, 0x12, 0x38, 
+0xe5, 0x90, 0x22, 0x34, 0xe1, 0x81, 0x18, 0x02, 0xe3, 0xa0, 0x28, 0x55, 0xe5, 0x82, 0x11, 0x70, 0xe5, 0x90, 0x11, 0xe4, 0xe1, 0xa0, 0x14, 0x01, 0xe5, 0x90, 0x21, 0xdc, 0xe1, 0x81, 0x13, 0x82, 0xe5, 0x90, 0x22, 0x30, 0xe1, 0x81, 0x10, 0x02, 
+0xe3, 0xa0, 0x28, 0x55, 0xe5, 0x82, 0x11, 0x78, 0xe5, 0x90, 0x11, 0xec, 0xe1, 0xa0, 0x18, 0x01, 0xe5, 0x90, 0x22, 0x3c, 0xe1, 0x81, 0x14, 0x02, 0xe5, 0x90, 0x22, 0x2c, 0xe1, 0x81, 0x10, 0x02, 0xe3, 0xa0, 0x28, 0x55, 0xe5, 0x82, 0x11, 0x7c, 
+0xe5, 0x90, 0x12, 0x18, 0xe5, 0x90, 0x22, 0x10, 0xe1, 0x81, 0x14, 0x02, 0xe3, 0xa0, 0x28, 0x55, 0xe5, 0x82, 0x11, 0x80, 0xe5, 0x90, 0x11, 0xe0, 0xe5, 0x90, 0x22, 0x24, 0xe1, 0x81, 0x14, 0x02, 0xe3, 0xa0, 0x28, 0x55, 0xe5, 0x82, 0x11, 0x84, 
+0xe5, 0x90, 0x11, 0xf8, 0xe5, 0x82, 0x11, 0x50, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x4f, 0xf1, 0xe2, 0x4d, 0xd0, 0x28, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x0a, 0x04, 0xe5, 0x8d, 0x00, 0x24, 0xe3, 0xa0, 0x08, 0x55, 0xe5, 0x9d, 0x10, 0x24, 
+0xe5, 0x80, 0x11, 0x44, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x0a, 0x08, 0xe5, 0x8d, 0x00, 0x20, 0xe3, 0xa0, 0x08, 0x55, 0xe5, 0x9d, 0x10, 0x20, 0xe5, 0x80, 0x11, 0x48, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x0a, 0x10, 0xe5, 0x9d, 0x10, 0x28, 
+0xe5, 0x81, 0x01, 0xf8, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x01, 0xf8, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x50, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x00, 0xe4, 0xe5, 0x8d, 0x00, 0x1c, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x18, 
+0xe5, 0x8d, 0x00, 0x0c, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x1c, 0xe5, 0x8d, 0x00, 0x08, 0xe5, 0x9d, 0x00, 0x1c, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x10, 0xe3, 0xa0, 0x10, 0x73, 0xe5, 0x9d, 0x00, 0x20, 0xeb, 0x00, 0x05, 0x47, 
+0xe3, 0xa0, 0x10, 0xa0, 0xe0, 0x00, 0x00, 0x91, 0xe5, 0x8d, 0x00, 0x18, 0xe3, 0xa0, 0x10, 0x73, 0xe5, 0x9d, 0x00, 0x20, 0xeb, 0x00, 0x05, 0x41, 0xe3, 0xa0, 0x10, 0x3c, 0xe0, 0x00, 0x00, 0x91, 0xe5, 0x8d, 0x00, 0x14, 0xe2, 0x8d, 0x10, 0x20, 
+0xe8, 0x91, 0x00, 0x03, 0xeb, 0x00, 0x05, 0x3b, 0xe1, 0xa0, 0x60, 0x00, 0xe5, 0x9d, 0x10, 0x10, 0xe0, 0x00, 0x01, 0x96, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x24, 0xe1, 0xa0, 0x11, 0x80, 0xe5, 0x9d, 0x00, 0x20, 0xeb, 0x00, 0x05, 0x33, 
+0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x10, 0x00, 0x0f, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x0c, 0xe1, 0xa0, 0x02, 0xa0, 0xe1, 0xa0, 0x02, 0x00, 0xe5, 0x8d, 0x00, 0x0c, 0xe5, 0x9d, 0x10, 0x08, 0xe3, 0x11, 0x00, 0x0f, 
+0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x08, 0xe1, 0xa0, 0x02, 0xa1, 0xe1, 0xa0, 0x02, 0x00, 0xe5, 0x8d, 0x00, 0x08, 0xe5, 0x9d, 0x00, 0x0c, 0xe1, 0xa0, 0x02, 0x20, 0xe5, 0x9d, 0x10, 0x08, 0xe1, 0xa0, 0x12, 0x21, 0xe0, 0x00, 0x00, 0x91, 
+0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x64, 0xe5, 0x9d, 0x10, 0x10, 0xe2, 0x41, 0x10, 0x01, 0xe5, 0x9d, 0x20, 0x14, 0xe0, 0x00, 0x01, 0x92, 0xe5, 0x9d, 0x10, 0x18, 0xeb, 0x00, 0x05, 0x17, 0xe2, 0x80, 0x90, 0x01, 0xe1, 0xa0, 0x10, 0x09, 
+0xe5, 0x9d, 0x00, 0x04, 0xeb, 0x00, 0x05, 0x13, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x5c, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x02, 0x5c, 0xe1, 0x50, 0x00, 0x04, 0x2a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x20, 0x28, 0xe1, 0xa0, 0x00, 0x04, 
+0xe5, 0x92, 0x12, 0x64, 0xeb, 0x00, 0x05, 0x09, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x54, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x20, 0x28, 0xe5, 0x92, 0x02, 0x5c, 0xe5, 0x92, 0x12, 0x64, 0xeb, 0x00, 0x05, 0x02, 0xe5, 0x9d, 0x10, 0x28, 
+0xe5, 0x81, 0x02, 0x54, 0xe5, 0x9d, 0x10, 0x10, 0xe2, 0x51, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x23, 0xe5, 0x9d, 0x20, 0x10, 0xe2, 0x42, 0x10, 0x01, 0xe5, 0x9d, 0x20, 0x28, 0xe5, 0x92, 0x22, 0x5c, 0xe5, 0x9d, 0x30, 0x04, 0xe0, 0x43, 0x00, 0x02, 
+0xeb, 0x00, 0x04, 0xf6, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x60, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x02, 0x60, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x02, 0x5c, 0xe3, 0xa0, 0x10, 0x03, 
+0xeb, 0x00, 0x04, 0xec, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x60, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x02, 0x60, 0xe1, 0x50, 0x00, 0x04, 0x2a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x20, 0x28, 0xe1, 0xa0, 0x00, 0x04, 0xe5, 0x92, 0x12, 0x64, 
+0xeb, 0x00, 0x04, 0xe2, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x58, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x20, 0x28, 0xe2, 0x82, 0x1e, 0x26, 0xe8, 0x91, 0x00, 0x03, 0xeb, 0x00, 0x04, 0xdb, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x58, 
+0xe5, 0x9d, 0x10, 0x20, 0xe5, 0x9f, 0x06, 0x04, 0xe1, 0x51, 0x00, 0x00, 0x2a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x10, 0x24, 0xe0, 0x00, 0x06, 0x91, 0xe5, 0x9f, 0x15, 0xf4, 0xeb, 0x00, 0x02, 0xb3, 0xe2, 0x60, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x28, 
+0xe5, 0x81, 0x02, 0x68, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x68, 0xe5, 0x9d, 0x20, 0x28, 0xe1, 0xa0, 0x00, 0x06, 0xe5, 0x92, 0x12, 0x64, 0xeb, 0x00, 0x04, 0xc6, 0xe1, 0xa0, 0x80, 0xa0, 
+0xe1, 0xa0, 0x70, 0xc8, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe0, 0x47, 0x70, 0x05, 0xe3, 0x57, 0x00, 0x00, 0xca, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe2, 0x85, 0x50, 0x01, 0xe1, 0x55, 0x00, 0x07, 0xba, 0xff, 0xff, 0xf8, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x55, 0x00, 0x01, 0xda, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x05, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0xa0, 0xb0, 0x00, 0xe1, 0xa0, 0x00, 0xc6, 0xe5, 0x9d, 0x10, 0x10, 0xe0, 0x00, 0x00, 0x91, 
+0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x11, 0xf8, 0xe0, 0x01, 0x01, 0x96, 0xe0, 0x80, 0x02, 0xa1, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x01, 0xfc, 0xe1, 0xa0, 0x10, 0x0b, 0xe3, 0xa0, 0x00, 0x78, 0xeb, 0x00, 0x02, 0x8a, 0xe3, 0x50, 0x00, 0x01, 
+0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x10, 0x0b, 0xe3, 0xa0, 0x00, 0x78, 0xeb, 0x00, 0x02, 0x83, 0xe3, 0x50, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x02, 
+0xe1, 0xa0, 0x10, 0x0b, 0xe3, 0xa0, 0x00, 0x78, 0xeb, 0x00, 0x02, 0x7c, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x11, 0xfc, 0xe0, 0x00, 0x00, 0x91, 0xe1, 0xa0, 0xa1, 0x80, 0xe3, 0xa0, 0x10, 0x1f, 0xe1, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x04, 0x93, 
+0xe1, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x10, 0x0f, 0xeb, 0x00, 0x04, 0x90, 0xe1, 0xa0, 0x00, 0xa0, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x01, 0xf4, 0xe3, 0xa0, 0x00, 0x09, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x0c, 0xe3, 0xa0, 0x00, 0x06, 
+0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x08, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x02, 0x60, 0xe5, 0x81, 0x02, 0x74, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x02, 0x60, 0xe0, 0x80, 0x00, 0x80, 0xe5, 0x81, 0x02, 0x70, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x6c, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x01, 0xfc, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x64, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x91, 0x01, 0xf4, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x60, 
+0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x28, 0xe5, 0x81, 0x02, 0x78, 0xe2, 0x8d, 0xd0, 0x2c, 0xe8, 0xbd, 0x8f, 0xf0, 0xe5, 0x2d, 0xe0, 0x04, 0xe5, 0x91, 0xc1, 0x70, 0xe3, 0x5c, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x5a, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x0a, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x18, 0xe5, 0x91, 0xc2, 0x54, 0xe5, 0x81, 0xc2, 0x14, 0xe5, 0x91, 0xc2, 0x5c, 0xe5, 0x81, 0xc2, 0x50, 0xe5, 0x91, 0xc2, 0x08, 
+0xe5, 0x81, 0xc2, 0x04, 0xea, 0x00, 0x00, 0x13, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x91, 0xc2, 0x54, 0xe5, 0x81, 0xc2, 0x14, 0xe5, 0x91, 0xc2, 0x5c, 0xe5, 0x81, 0xc2, 0x50, 0xe5, 0x91, 0xc2, 0x08, 0xe5, 0x81, 0xc2, 0x04, 0xea, 0x00, 0x00, 0x0b, 
+0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x91, 0xc2, 0x58, 0xe5, 0x81, 0xc2, 0x14, 0xe5, 0x91, 0xc2, 0x60, 0xe5, 0x81, 0xc2, 0x50, 0xe5, 0x91, 0xc2, 0x0c, 0xe5, 0x81, 0xc2, 0x04, 0xe3, 0xa0, 0xc0, 0x01, 0xe5, 0x81, 0xc2, 0x78, 0xea, 0x00, 0x00, 0x01, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x91, 0xc1, 0x8c, 0xe3, 0x5c, 0x00, 0x00, 0xda, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0xc8, 0x55, 0xe5, 0x9c, 0xc1, 0x58, 0xe2, 0x0c, 0x30, 0x3f, 0xe5, 0x91, 0xc2, 0x44, 
+0xe1, 0x5c, 0x00, 0x03, 0xda, 0x00, 0x00, 0x01, 0xe5, 0x91, 0xc2, 0x44, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x91, 0xc2, 0x40, 0xe1, 0x5c, 0x00, 0x03, 0xaa, 0x00, 0x00, 0x01, 0xe5, 0x91, 0xc2, 0x40, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0xc0, 0x03, 
+0xe5, 0x81, 0xc1, 0x04, 0xe5, 0x91, 0xc1, 0x04, 0xe3, 0x5c, 0x00, 0x05, 0xda, 0x00, 0x00, 0x12, 0xe5, 0x91, 0xc1, 0x04, 0xe2, 0x4c, 0xc0, 0x01, 0xe5, 0x91, 0xe2, 0x68, 0xe1, 0x5c, 0x00, 0x0e, 0x2a, 0x00, 0x00, 0x02, 0xe5, 0x91, 0xc1, 0x04, 
+0xe2, 0x4c, 0xc0, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x91, 0xc2, 0x68, 0xe5, 0x81, 0xc2, 0x44, 0xe5, 0x91, 0xc2, 0x44, 0xe5, 0x91, 0xe2, 0x40, 0xe1, 0x5c, 0x00, 0x0e, 0x2a, 0x00, 0x00, 0x01, 0xe5, 0x91, 0xc2, 0x44, 0xea, 0x00, 0x00, 0x00, 
+0xe5, 0x91, 0xc2, 0x40, 0xe5, 0x81, 0xc2, 0x44, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x91, 0xc2, 0x40, 0xe3, 0x5c, 0x00, 0x04, 0x9a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xc0, 0x04, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x91, 0xc2, 0x40, 0xe5, 0x81, 0xc2, 0x44, 
+0xe5, 0x91, 0xc2, 0x14, 0xe5, 0x91, 0xe2, 0x04, 0xe1, 0x8c, 0xc8, 0x0e, 0xe3, 0xa0, 0xe8, 0x55, 0xe5, 0x8e, 0xc1, 0x5c, 0xe5, 0x91, 0xc2, 0x44, 0xe5, 0x91, 0xe2, 0x40, 0xe1, 0x8c, 0xc4, 0x0e, 0xe3, 0xa0, 0xe8, 0x55, 0xe5, 0x8e, 0xc1, 0x4c, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x91, 0xc1, 0x74, 0xe3, 0x5c, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0xc0, 0x00, 0xe5, 0x81, 0xc2, 0x4c, 0xe5, 0x81, 0xc1, 0xdc, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0xc0, 0x01, 
+0xe5, 0x81, 0xc1, 0xdc, 0xe5, 0x81, 0xc2, 0x4c, 0xe3, 0xa0, 0xc8, 0x55, 0xe5, 0x9c, 0xc1, 0x68, 0xe3, 0xcc, 0xca, 0x01, 0xe3, 0xa0, 0xe8, 0x55, 0xe5, 0x8e, 0xc1, 0x68, 0xe3, 0xa0, 0xc8, 0x55, 0xe5, 0x9c, 0xc1, 0x68, 0xe5, 0x91, 0xe2, 0x4c, 
+0xe1, 0x8c, 0xc6, 0x0e, 0xe3, 0xa0, 0xe8, 0x55, 0xe5, 0x8e, 0xc1, 0x68, 0xe5, 0x91, 0xc1, 0xe4, 0xe1, 0xa0, 0xc4, 0x0c, 0xe5, 0x91, 0xe1, 0xdc, 0xe1, 0x8c, 0xc3, 0x8e, 0xe5, 0x91, 0xe2, 0x30, 0xe1, 0x8c, 0xc0, 0x0e, 0xe3, 0xa0, 0xe8, 0x55, 
+0xe5, 0x8e, 0xc1, 0x78, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x7c, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0xce, 0xe5, 0x9f, 0x02, 0x5c, 0xe0, 0x8f, 0x00, 0x00, 0xe7, 0xb0, 0x11, 0x81, 
+0xe5, 0x90, 0x00, 0x04, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x8d, 0x10, 0x00, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe2, 0x8f, 0x0d, 0x09, 0xe8, 0x90, 0x00, 0x0c, 0xe8, 0x9d, 0x00, 0x03, 0xeb, 0x00, 0x06, 0x4e, 0xe8, 0x8d, 0x00, 0x03, 
+0xe2, 0x85, 0x50, 0x01, 0xe3, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0xbd, 0xe1, 0x50, 0x00, 0x05, 0xca, 0xff, 0xff, 0xf4, 0xe8, 0x9d, 0x00, 0x03, 0xe8, 0xbd, 0x80, 0x7c, 0xe9, 0x2d, 0x40, 0x73, 0xe2, 0x4d, 0xd0, 0x28, 
+0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0xdf, 0xe2, 0x8d, 0x20, 0x20, 0xe8, 0x82, 0x00, 0x03, 0xe2, 0x8d, 0x30, 0x28, 0xe8, 0x93, 0x00, 0x0c, 0xeb, 0x00, 0x06, 0xba, 0x2a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x30, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0xa0, 0x00, 0x33, 0xeb, 0xff, 0xff, 0xd4, 0xe2, 0x8d, 0x20, 0x20, 0xe8, 0x82, 0x00, 0x03, 0xe2, 0x8d, 0x30, 0x28, 0xe8, 0x93, 0x00, 0x0c, 0xeb, 0x00, 0x06, 0x0d, 
+0x2a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x33, 0xea, 0xff, 0xff, 0xf3, 0xea, 0x00, 0x00, 0x07, 0xe2, 0x8f, 0x0f, 0x69, 0xe8, 0x90, 0x00, 0x0c, 0xe2, 0x8d, 0x10, 0x28, 0xe8, 0x91, 0x00, 0x03, 0xeb, 0x00, 0x04, 0x7b, 0xe2, 0x8d, 0x20, 0x28, 
+0xe8, 0x82, 0x00, 0x03, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0xc1, 0xe2, 0x8d, 0x20, 0x20, 0xe8, 0x82, 0x00, 0x03, 0xe2, 0x8f, 0x0f, 0x5d, 0xe8, 0x90, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x20, 0xeb, 0x00, 0x06, 0x1b, 
+0xe2, 0x8d, 0x20, 0x18, 0xe8, 0x82, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0xb7, 0xe2, 0x8d, 0x20, 0x10, 0xe8, 0x82, 0x00, 0x03, 0xe2, 0x8d, 0x30, 0x18, 0xe8, 0x93, 0x00, 0x0c, 0xeb, 0x00, 0x03, 0xbd, 0xe2, 0x8d, 0x20, 0x08, 
+0xe8, 0x82, 0x00, 0x03, 0xe2, 0x8f, 0x0f, 0x4e, 0xe8, 0x90, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0x00, 0x04, 0x61, 0xe8, 0x8d, 0x00, 0x03, 0xe2, 0x8d, 0x30, 0x28, 0xe8, 0x93, 0x00, 0x0c, 0xeb, 0x00, 0x05, 0xe6, 0x9a, 0xff, 0xff, 0xdb, 
+0xe2, 0x8f, 0x0f, 0x47, 0xe8, 0x90, 0x00, 0x0c, 0xe2, 0x8d, 0x10, 0x28, 0xe8, 0x91, 0x00, 0x03, 0xeb, 0x00, 0x05, 0xe0, 0x2a, 0x00, 0x00, 0x05, 0xe2, 0x8f, 0x0f, 0x43, 0xe8, 0x90, 0x00, 0x03, 0xe2, 0x8d, 0x20, 0x28, 0xe8, 0x82, 0x00, 0x03, 
+0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x34, 0xe2, 0x8f, 0x00, 0xfc, 0xe8, 0x90, 0x00, 0x0c, 0xe2, 0x8d, 0x10, 0x28, 0xe8, 0x91, 0x00, 0x03, 0xeb, 0x00, 0x05, 0xd4, 0x2a, 0x00, 0x00, 0x05, 0xe2, 0x8f, 0x00, 0xec, 0xe8, 0x90, 0x00, 0x03, 
+0xe2, 0x8d, 0x20, 0x28, 0xe8, 0x82, 0x00, 0x03, 0xe3, 0xa0, 0x40, 0x01, 0xea, 0x00, 0x00, 0x28, 0xe2, 0x8f, 0x00, 0xdc, 0xe8, 0x90, 0x00, 0x0c, 0xe2, 0x8d, 0x10, 0x28, 0xe8, 0x91, 0x00, 0x03, 0xeb, 0x00, 0x05, 0xc8, 0x2a, 0x00, 0x00, 0x05, 
+0xe2, 0x8f, 0x00, 0xcc, 0xe8, 0x90, 0x00, 0x03, 0xe2, 0x8d, 0x20, 0x28, 0xe8, 0x82, 0x00, 0x03, 0xe3, 0xa0, 0x40, 0x02, 0xea, 0x00, 0x00, 0x1c, 0xe2, 0x8f, 0x00, 0xbc, 0xe8, 0x90, 0x00, 0x0c, 0xe2, 0x8d, 0x10, 0x28, 0xe8, 0x91, 0x00, 0x03, 
+0xeb, 0x00, 0x05, 0xbc, 0x2a, 0x00, 0x00, 0x05, 0xe2, 0x8f, 0x00, 0xac, 0xe8, 0x90, 0x00, 0x03, 0xe2, 0x8d, 0x20, 0x28, 0xe8, 0x82, 0x00, 0x03, 0xe3, 0xa0, 0x40, 0x03, 0xea, 0x00, 0x00, 0x10, 0xe2, 0x8f, 0x00, 0x9c, 0xe8, 0x90, 0x00, 0x0c, 
+0xe2, 0x8d, 0x10, 0x28, 0xe8, 0x91, 0x00, 0x03, 0xeb, 0x00, 0x05, 0xb0, 0x2a, 0x00, 0x00, 0x05, 0xe2, 0x8f, 0x00, 0x8c, 0xe8, 0x90, 0x00, 0x03, 0xe2, 0x8d, 0x20, 0x28, 0xe8, 0x82, 0x00, 0x03, 0xe3, 0xa0, 0x40, 0x04, 0xea, 0x00, 0x00, 0x04, 
+0xe2, 0x8f, 0x00, 0x7c, 0xe8, 0x90, 0x00, 0x03, 0xe2, 0x8d, 0x20, 0x28, 0xe8, 0x82, 0x00, 0x03, 0xe3, 0xa0, 0x40, 0x05, 0xe0, 0x85, 0x00, 0x85, 0xe0, 0x84, 0x00, 0x80, 0xea, 0xff, 0xff, 0x8a, 0x00, 0x98, 0x96, 0x80, 0x00, 0x0f, 0x42, 0x40, 
+0x00, 0x00, 0x20, 0x38, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xe5, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xe4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xe8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+0x3f, 0xe6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xeb, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xea, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xee, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xec, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+0x3f, 0xf1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xf2, 0x00, 0x00, 0xe9, 0x2d, 0x40, 0x70, 0xe2, 0x4d, 0xd0, 0x38, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x01, 0xfc, 0xeb, 0x00, 0x05, 0x7e, 
+0xe2, 0x8d, 0x20, 0x30, 0xe8, 0x82, 0x00, 0x03, 0xe5, 0x94, 0x01, 0xf4, 0xeb, 0x00, 0x05, 0x64, 0xe2, 0x8d, 0x20, 0x28, 0xe8, 0x82, 0x00, 0x03, 0xe5, 0x94, 0x02, 0x04, 0xeb, 0x00, 0x05, 0x76, 0xe2, 0x8d, 0x20, 0x20, 0xe8, 0x82, 0x00, 0x03, 
+0xe2, 0x8d, 0x30, 0x28, 0xe8, 0x93, 0x00, 0x0c, 0xeb, 0x00, 0x05, 0x96, 0xe2, 0x8d, 0x20, 0x18, 0xe8, 0x82, 0x00, 0x03, 0xe2, 0x8f, 0x0f, 0xbd, 0xe8, 0x90, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x18, 0xeb, 0x00, 0x05, 0x90, 0xe2, 0x8d, 0x20, 0x10, 
+0xe8, 0x82, 0x00, 0x03, 0xe2, 0x8f, 0x0f, 0xb9, 0xe8, 0x90, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x10, 0xeb, 0x00, 0x03, 0xdf, 0xe2, 0x8d, 0x20, 0x08, 0xe8, 0x82, 0x00, 0x03, 0xe2, 0x8d, 0x30, 0x30, 0xe8, 0x93, 0x00, 0x0c, 0xeb, 0x00, 0x03, 0xda, 
+0xe8, 0x8d, 0x00, 0x03, 0xeb, 0x00, 0x05, 0x1c, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x55, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0x55, 0x00, 0xff, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0xff, 
+0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x05, 0xe1, 0xa0, 0x50, 0x00, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x30, 0xe5, 0x94, 0x12, 0x44, 0xe1, 0x50, 0x00, 0x01, 0x2a, 0x00, 0x00, 0x01, 0xe5, 0x94, 0x02, 0x44, 0xea, 0x00, 0x00, 0x08, 
+0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x29, 0xe5, 0x94, 0x12, 0x40, 0xe1, 0x50, 0x00, 0x01, 0x9a, 0x00, 0x00, 0x01, 0xe5, 0x94, 0x02, 0x40, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x22, 0xe1, 0xa0, 0x60, 0x00, 
+0xe1, 0xa0, 0x00, 0x06, 0xe2, 0x8d, 0xd0, 0x38, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x80, 0x00, 0xe1, 0xa0, 0x40, 0x01, 0xe3, 0xa0, 0x08, 0x55, 0xe5, 0x90, 0x01, 0x74, 0xe1, 0xa0, 0x70, 0x00, 0xe1, 0xa0, 0x00, 0x07, 
+0xe5, 0x94, 0x12, 0x64, 0xeb, 0x00, 0x02, 0xed, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x55, 0x00, 0x10, 0xda, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x05, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x10, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x55, 0x00, 0x00, 
+0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0x55, 0x0b, 0x01, 0xba, 0x00, 0x00, 0x01, 0xe5, 0x9f, 0x01, 0xec, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x05, 0xe5, 0x84, 0x02, 0x1c, 0xe5, 0x84, 0x02, 0x00, 
+0xe3, 0x55, 0x00, 0x10, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x64, 0xe5, 0x84, 0x02, 0x20, 0xe3, 0xa0, 0x00, 0x32, 0xe5, 0x84, 0x02, 0x28, 0xea, 0x00, 0x00, 0x23, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x0a, 0x02, 0xeb, 0x00, 0x00, 0xb3, 
+0xe3, 0x50, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x0a, 0x02, 0xeb, 0x00, 0x00, 0xac, 0xe3, 0x50, 0x0c, 0x02, 0xba, 0x00, 0x00, 0x01, 0xe5, 0x9f, 0x01, 0x90, 
+0xea, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x0a, 0x02, 0xeb, 0x00, 0x00, 0xa5, 0xe5, 0x84, 0x02, 0x20, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x0a, 0x01, 0xeb, 0x00, 0x00, 0xa1, 0xe3, 0x50, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x0a, 0x01, 0xeb, 0x00, 0x00, 0x9a, 0xe3, 0x50, 0x0c, 0x02, 0xba, 0x00, 0x00, 0x01, 0xe5, 0x9f, 0x01, 0x48, 0xea, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x10, 0x05, 
+0xe3, 0xa0, 0x0a, 0x01, 0xeb, 0x00, 0x00, 0x93, 0xe5, 0x84, 0x02, 0x28, 0xe5, 0x94, 0x01, 0xf4, 0xe5, 0x94, 0x11, 0x3c, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x12, 0x50, 0xe0, 0x40, 0x60, 0x01, 0xe3, 0x56, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x06, 0xe5, 0x84, 0x01, 0xf4, 0xe5, 0x94, 0x01, 0xf4, 0xe5, 0x94, 0x12, 0x74, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x08, 0xe5, 0x94, 0x02, 0x74, 0xe5, 0x94, 0x11, 0xf4, 
+0xe0, 0x40, 0x00, 0x01, 0xe5, 0x94, 0x12, 0x6c, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x02, 0x6c, 0xe5, 0x94, 0x02, 0x74, 0xe5, 0x84, 0x01, 0xf4, 0xea, 0x00, 0x00, 0x1b, 0xe5, 0x94, 0x01, 0xf4, 0xe5, 0x94, 0x12, 0x70, 0xe1, 0x50, 0x00, 0x01, 
+0xda, 0x00, 0x00, 0x17, 0xe5, 0x94, 0x02, 0x6c, 0xe3, 0x50, 0x00, 0x00, 0xda, 0x00, 0x00, 0x14, 0xe5, 0x94, 0x01, 0xf4, 0xe5, 0x94, 0x12, 0x70, 0xe0, 0x40, 0x00, 0x01, 0xe5, 0x94, 0x12, 0x6c, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x08, 
+0xe5, 0x94, 0x01, 0xf4, 0xe5, 0x94, 0x12, 0x70, 0xe0, 0x40, 0x00, 0x01, 0xe5, 0x94, 0x12, 0x6c, 0xe0, 0x41, 0x00, 0x00, 0xe5, 0x84, 0x02, 0x6c, 0xe5, 0x94, 0x02, 0x70, 0xe5, 0x84, 0x01, 0xf4, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x01, 0xf4, 
+0xe5, 0x94, 0x12, 0x6c, 0xe0, 0x40, 0x00, 0x01, 0xe5, 0x84, 0x01, 0xf4, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x02, 0x6c, 0xe5, 0x94, 0x01, 0xe8, 0xe1, 0xa0, 0x0e, 0x00, 0xe5, 0x94, 0x12, 0x00, 0xe1, 0x80, 0x08, 0x01, 0xe5, 0x94, 0x12, 0x4c, 
+0xe1, 0x80, 0x06, 0x01, 0xe5, 0x94, 0x12, 0x1c, 0xe1, 0x80, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x68, 0xe5, 0x94, 0x02, 0x28, 0xe5, 0x94, 0x12, 0x20, 0xe1, 0x80, 0x08, 0x01, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x6c, 
+0xe5, 0x94, 0x01, 0xf4, 0xe5, 0x81, 0x01, 0x60, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x2e, 0xe5, 0x84, 0x01, 0xc0, 0xe8, 0xbd, 0x81, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x40, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x20, 0x00, 0x00, 
+0x00, 0x00, 0x03, 0xff, 0x00, 0x00, 0x01, 0xff, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x01, 0xe2, 0x4d, 0xd0, 0x08, 0xe2, 0x8d, 0x10, 0x04, 0xeb, 0x00, 0x01, 0x28, 
+0xe3, 0x50, 0x00, 0x00, 0x02, 0x8d, 0xd0, 0x08, 0x08, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 0xe5, 0x9d, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0x0b, 0xe2, 0x8d, 0xd0, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x10, 
+0xe3, 0xa0, 0x10, 0x01, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0x00, 0x00, 0xc7, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x40, 0x01, 0xe5, 0x2d, 0x30, 0x04, 
+0xeb, 0x00, 0x00, 0xce, 0xe1, 0xa0, 0x60, 0x00, 0xe0, 0x85, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 0x9a, 0x00, 0x00, 0x0a, 0xe1, 0xa0, 0x10, 0x0d, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x01, 0x0c, 0xe1, 0xb0, 0x70, 0x00, 0x03, 0xa0, 0x10, 0x00, 
+0x03, 0xa0, 0x00, 0x09, 0x0b, 0x00, 0x00, 0xb5, 0xe5, 0x9d, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 0x11, 0xa0, 0x50, 0x00, 0xe0, 0x80, 0x40, 0x07, 0xeb, 0x00, 0x00, 0x9a, 0xe2, 0x86, 0x10, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0xa0, 0x70, 0x00, 
+0xe5, 0x80, 0x50, 0x08, 0xe1, 0xa0, 0x00, 0x05, 0xe0, 0x81, 0x60, 0x05, 0xeb, 0x00, 0x00, 0xb2, 0xe1, 0x54, 0x00, 0x06, 0x08, 0xbd, 0x00, 0xf8, 0x04, 0x9d, 0xf0, 0x04, 0xe1, 0xa0, 0x10, 0x06, 0xe0, 0x44, 0x20, 0x06, 0xe5, 0x97, 0x00, 0x08, 
+0xeb, 0x00, 0x00, 0xdf, 0xe8, 0xbd, 0x00, 0xf8, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x00, 0x87, 0xe1, 0xa0, 0x10, 0x04, 0xe5, 0x90, 0x00, 0x08, 0xeb, 0x00, 0x00, 0xaa, 0xe8, 0xbd, 0x80, 0x10, 
+0xe1, 0x90, 0xc0, 0x01, 0x4a, 0x00, 0x00, 0x4c, 0xe0, 0x71, 0xc0, 0xa0, 0x3a, 0x00, 0x00, 0x44, 0xe0, 0x71, 0xc2, 0x20, 0xe3, 0xa0, 0x20, 0x00, 0x3a, 0x00, 0x00, 0x34, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0x00, 0x00, 0x26, 0xe0, 0x71, 0xc6, 0x20, 
+0x3a, 0x00, 0x00, 0x17, 0xe0, 0x71, 0xc8, 0x20, 0x3a, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x14, 0x01, 0xe0, 0x71, 0xc8, 0x20, 0xe3, 0x82, 0x24, 0xff, 0x23, 0x82, 0x28, 0xff, 0x21, 0xa0, 0x14, 0x01, 0xe0, 0x71, 0xc6, 0x20, 0x3a, 0x00, 0x00, 0x0e, 
+0xe2, 0x71, 0xc0, 0x00, 0x2a, 0x00, 0x00, 0x89, 0x21, 0xa0, 0x14, 0x21, 0xe0, 0x71, 0xc7, 0xa0, 0x20, 0x40, 0x07, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc7, 0x20, 0x20, 0x40, 0x07, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc6, 0xa0, 
+0x20, 0x40, 0x06, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc6, 0x20, 0x20, 0x40, 0x06, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc5, 0xa0, 0x20, 0x40, 0x05, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc5, 0x20, 0x20, 0x40, 0x05, 0x01, 
+0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc4, 0xa0, 0x20, 0x40, 0x04, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc4, 0x20, 0x20, 0x40, 0x04, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0x2a, 0xff, 0xff, 0xe5, 0xe0, 0x71, 0xc3, 0xa0, 0x20, 0x40, 0x03, 0x81, 
+0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc3, 0x20, 0x20, 0x40, 0x03, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0xa0, 0x20, 0x40, 0x02, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0x20, 0x20, 0x40, 0x02, 0x01, 0xe0, 0xa2, 0x20, 0x02, 
+0xe0, 0x71, 0xc1, 0xa0, 0x20, 0x40, 0x01, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0x20, 0x20, 0x40, 0x01, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0xe0, 0x71, 0xc0, 0xa0, 0x20, 0x40, 0x00, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x50, 0x10, 0x01, 
+0x31, 0xa0, 0x10, 0x00, 0xe0, 0xa2, 0x00, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe0, 0x50, 0x10, 0x01, 0x23, 0xa0, 0x00, 0x01, 0x21, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe2, 0x11, 0x21, 0x02, 
+0x42, 0x61, 0x10, 0x00, 0xe0, 0x32, 0x30, 0x40, 0x22, 0x60, 0x00, 0x00, 0xe0, 0x71, 0xc2, 0x20, 0x3a, 0x00, 0x00, 0x1d, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0x00, 0x00, 0x0f, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x23, 0x3f, 
+0x3a, 0x00, 0x00, 0x0b, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x26, 0x3f, 0x3a, 0x00, 0x00, 0x07, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x29, 0x3f, 0x23, 0x82, 0x2c, 0x3f, 0x21, 0xa0, 0x13, 0x01, 
+0xe2, 0x71, 0xc0, 0x00, 0x2a, 0x00, 0x00, 0x39, 0x21, 0xa0, 0x13, 0x21, 0xe0, 0x71, 0xc3, 0xa0, 0x20, 0x40, 0x03, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc3, 0x20, 0x20, 0x40, 0x03, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0xa0, 
+0x20, 0x40, 0x02, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0x20, 0x20, 0x40, 0x02, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0xa0, 0x20, 0x40, 0x01, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0x20, 0x20, 0x40, 0x01, 0x01, 
+0xe0, 0xb2, 0x20, 0x02, 0x2a, 0xff, 0xff, 0xeb, 0xe0, 0x71, 0xc0, 0xa0, 0x20, 0x40, 0x00, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x50, 0x10, 0x01, 0x31, 0xa0, 0x10, 0x00, 0xe0, 0xa2, 0x00, 0x02, 0xe1, 0xb0, 0x3f, 0xc3, 0x42, 0x60, 0x00, 0x00, 
+0x22, 0x61, 0x10, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe5, 0x9f, 0x00, 0x04, 0xe0, 0x8f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x18, 0x60, 0xeb, 0x00, 0x01, 0x2d, 0xeb, 0x00, 0x00, 0xab, 0xe9, 0x2d, 0x00, 0x03, 0xeb, 0x00, 0x01, 0x2b, 
+0xe8, 0xbd, 0x00, 0x03, 0xeb, 0x00, 0x00, 0xe6, 0xe9, 0x2d, 0x00, 0x0f, 0xeb, 0x00, 0x01, 0x2a, 0xe8, 0xbd, 0x00, 0x0f, 0xeb, 0xff, 0xf1, 0x9f, 0xea, 0x00, 0x00, 0x80, 0xe9, 0x2d, 0x40, 0x01, 0xeb, 0x00, 0x01, 0x28, 0xeb, 0x00, 0x01, 0x1a, 
+0xe8, 0xbd, 0x40, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x55, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x85, 0xe3, 0x50, 0x00, 0x00, 0x08, 0xbd, 0x80, 0x10, 0xe8, 0xbd, 0x40, 0x10, 0xea, 0x00, 0x00, 0x4f, 
+0xea, 0x00, 0x00, 0x54, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x04, 0xe5, 0x80, 0x00, 0x08, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x00, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x81, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x08, 0x33, 0xa0, 0x00, 0x08, 0xe2, 0x80, 0x00, 0x07, 0xe3, 0xc0, 0x40, 0x07, 0xe2, 0x41, 0x00, 0x01, 0xe1, 0x54, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x1f, 
+0xe5, 0x95, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x16, 0xe5, 0x90, 0x20, 0x00, 0xe1, 0x52, 0x00, 0x04, 0x3a, 0x00, 0x00, 0x0f, 0xe5, 0x90, 0x20, 0x00, 0xe2, 0x84, 0x30, 0x08, 0xe1, 0x52, 0x00, 0x03, 
+0x35, 0x90, 0x20, 0x04, 0x35, 0x81, 0x20, 0x04, 0x3a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x30, 0x04, 0xe0, 0x80, 0x20, 0x04, 0xe5, 0x82, 0x30, 0x04, 0xe5, 0x90, 0x30, 0x00, 0xe0, 0x43, 0x30, 0x04, 0xe5, 0x82, 0x30, 0x00, 0xe5, 0x81, 0x20, 0x04, 
+0xe5, 0x80, 0x40, 0x00, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xe8, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfe, 0xeb, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xdf, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xeb, 0x00, 0x00, 0x42, 0xe1, 0xa0, 0xc0, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe5, 0x90, 0x30, 0x04, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0xc0, 0x03, 
+0xe5, 0x93, 0x30, 0x04, 0xe3, 0x53, 0x00, 0x00, 0x11, 0x53, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x9c, 0x30, 0x00, 0xe0, 0x83, 0x30, 0x0c, 0xe1, 0x53, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x30, 0x01, 0xe2, 0x81, 0x10, 0x03, 
+0xe3, 0xc1, 0x10, 0x07, 0xe2, 0x81, 0x10, 0x04, 0xe0, 0x41, 0x30, 0x03, 0xe0, 0x42, 0x20, 0x03, 0xe4, 0x81, 0x20, 0x04, 0xeb, 0x00, 0x00, 0x0c, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x6a, 0xe8, 0xbd, 0x80, 0x10, 
+0xe5, 0x9f, 0x10, 0x0c, 0xe3, 0xa0, 0x00, 0x18, 0xef, 0x12, 0x34, 0x56, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x03, 0x2c, 0x00, 0x02, 0x00, 0x26, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x02, 0xea, 0xff, 0xff, 0xa0, 0xe2, 0x41, 0x10, 0x04, 
+0xe1, 0xa0, 0x20, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x11, 0x50, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x92, 0x30, 0x00, 0xe0, 0x83, 0xc0, 0x02, 0xe1, 0x5c, 0x00, 0x01, 0x15, 0x82, 0x10, 0x04, 0x1a, 0x00, 0x00, 0x03, 
+0xe5, 0x91, 0x10, 0x00, 0xe0, 0x83, 0x10, 0x01, 0xe5, 0x82, 0x10, 0x00, 0xe1, 0xa0, 0x10, 0x02, 0xe5, 0x91, 0x20, 0x00, 0xe0, 0x82, 0x30, 0x01, 0xe1, 0x53, 0x00, 0x00, 0x15, 0x81, 0x00, 0x04, 0x11, 0xa0, 0xf0, 0x0e, 0xe5, 0x90, 0x30, 0x04, 
+0xe5, 0x81, 0x30, 0x04, 0xe5, 0x90, 0x00, 0x00, 0xe0, 0x82, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xeb, 0x00, 0x00, 0x05, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xff, 0x79, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x7b, 0xeb, 0x00, 0x00, 0x91, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xce, 0xe8, 0xbd, 0x80, 0x10, 
+0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x70, 0x00, 0x01, 0xe1, 0xa0, 0x20, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x10, 0x05, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x91, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0x72, 0x00, 0x03, 0x11, 0xa0, 0x10, 0x05, 0x11, 0xa0, 0x00, 0x04, 0x11, 0xa0, 0xe0, 0x0f, 0x11, 0xa0, 0xf0, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 
+0xe1, 0xa0, 0x50, 0x0e, 0xeb, 0xff, 0xff, 0x4b, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xc0, 0x00, 0x07, 0xe1, 0xa0, 0x10, 0x0d, 0xe2, 0x80, 0xd0, 0x60, 0xe1, 0xa0, 0xe0, 0x05, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x30, 0x0a, 0xeb, 0x00, 0x00, 0xe7, 
+0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0xb0, 0x00, 0xe8, 0xbd, 0x40, 0x10, 0xe3, 0xc1, 0xd0, 0x07, 0xe1, 0xa0, 0xc0, 0x04, 0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 
+0xe8, 0xac, 0x09, 0xc0, 0xe9, 0x2d, 0x40, 0x13, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x81, 0x10, 0x40, 0xe0, 0x80, 0x20, 0x01, 0xe2, 0x82, 0x2e, 0x11, 0xe5, 0x84, 0x20, 0x1c, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x84, 0x10, 0x18, 0xe5, 0x84, 0x00, 0x10, 0xe8, 0xbd, 0x40, 0x13, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x00, 0x14, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe9, 0x2d, 0x00, 0x03, 0xeb, 0xff, 0xff, 0x26, 0xe1, 0xa0, 0x40, 0x00, 
+0xe8, 0xbd, 0x00, 0x03, 0xe5, 0x94, 0x20, 0x14, 0xe5, 0x94, 0x30, 0x1c, 0xe0, 0x82, 0xe0, 0x00, 0xe0, 0x4d, 0x30, 0x03, 0xe1, 0x5e, 0x00, 0x03, 0xe5, 0x81, 0x20, 0x00, 0x8a, 0x00, 0x00, 0x0a, 0xe0, 0x93, 0x30, 0x0e, 0xe2, 0x8e, 0x1a, 0x01, 
+0xe2, 0x81, 0x10, 0x07, 0xe1, 0xa0, 0x30, 0x63, 0xe3, 0xc3, 0x30, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0x51, 0x00, 0x03, 0x81, 0xa0, 0x10, 0x03, 0xe0, 0x41, 0x00, 0x02, 0xe5, 0x84, 0x10, 0x14, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x43, 0xc0, 0xe9, 0x2d, 0x00, 0x3e, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x04, 0x9c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x40, 0x00, 
+0xe5, 0x8d, 0x50, 0x04, 0xeb, 0xff, 0xff, 0x29, 0xe5, 0x8d, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xf0, 0xac, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe8, 0x9d, 0x00, 0x03, 0xe1, 0xa0, 0x60, 0x02, 0xe1, 0xa0, 0x70, 0x03, 
+0xeb, 0xff, 0xfe, 0x4b, 0xeb, 0xff, 0xfe, 0x34, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x80, 0x00, 0xeb, 0xff, 0xfe, 0xf5, 0xe1, 0xa0, 0x90, 0x00, 0xe5, 0x80, 0x80, 0x20, 
+0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x80, 0x10, 0x01, 0xe5, 0x89, 0x10, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x28, 0xe3, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x0c, 0xe1, 0xa0, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x20, 0x06, 
+0xe1, 0xa0, 0x30, 0x07, 0xe8, 0xbd, 0x01, 0xf0, 0xe8, 0xbd, 0x82, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x05, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe3, 0xe0, 0x00, 0x00, 0xe3, 0xe0, 0x10, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x55, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe2, 0x40, 0x20, 0x01, 0xe9, 0x2d, 0x40, 0x70, 
+0xe3, 0x52, 0x00, 0x0e, 0x22, 0x8f, 0x50, 0xc0, 0xe2, 0x8f, 0x40, 0xb8, 0x2a, 0x00, 0x00, 0x1c, 0xe3, 0xa0, 0x20, 0x17, 0xe5, 0x9f, 0x30, 0xc0, 0xe0, 0x02, 0x02, 0x90, 0xe0, 0x8f, 0x30, 0x03, 0xe3, 0x50, 0x00, 0x02, 0xe0, 0x82, 0x20, 0x03, 
+0xe2, 0x42, 0x50, 0x17, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x03, 0x01, 0x12, 0x8f, 0x40, 0xa4, 0x1a, 0x00, 0x00, 0x11, 0xe3, 0x11, 0x03, 0x82, 0x12, 0x8f, 0x40, 0xac, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x02, 0x01, 0x12, 0x8f, 0x40, 0xb0, 
+0x1a, 0x00, 0x00, 0x0b, 0xe3, 0x11, 0x02, 0x02, 0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0x11, 0x01, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0xea, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x08, 0x01, 0xa0, 0x40, 0x01, 0x0a, 0x00, 0x00, 0x02, 
+0xe3, 0x50, 0x00, 0x09, 0x03, 0x51, 0x00, 0x01, 0x02, 0x8f, 0x50, 0xa4, 0xe3, 0xa0, 0x00, 0x0a, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x85, 0x50, 0x01, 0xeb, 0x00, 0x00, 0x2c, 0xe5, 0xd5, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 
+0xea, 0x00, 0x00, 0x01, 0xe2, 0x84, 0x40, 0x01, 0xeb, 0x00, 0x00, 0x26, 0xe5, 0xd4, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x00, 0x21, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x70, 
+0x00, 0x00, 0x00, 0x00, 0x6e, 0x6b, 0x6e, 0x55, 0x20, 0x6e, 0x77, 0x6f, 0x6e, 0x67, 0x69, 0x73, 0x00, 0x00, 0x6c, 0x61, 0x00, 0x00, 0x12, 0x0c, 0x61, 0x76, 0x6e, 0x49, 0x20, 0x64, 0x69, 0x6c, 0x72, 0x65, 0x70, 0x4f, 0x6f, 0x69, 0x74, 0x61, 
+0x00, 0x00, 0x00, 0x6e, 0x69, 0x76, 0x69, 0x44, 0x42, 0x20, 0x65, 0x64, 0x65, 0x5a, 0x20, 0x79, 0x00, 0x00, 0x6f, 0x72, 0x72, 0x65, 0x76, 0x4f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x65, 0x64, 0x6e, 0x55, 0x6f, 0x6c, 0x66, 0x72, 
+0x00, 0x00, 0x00, 0x77, 0x78, 0x65, 0x6e, 0x49, 0x20, 0x74, 0x63, 0x61, 0x75, 0x73, 0x65, 0x52, 0x00, 0x00, 0x74, 0x6c, 0x65, 0x48, 0x20, 0x3a, 0x6d, 0x20, 0x70, 0x61, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x63, 0x20, 0x79, 0x70, 0x75, 0x72, 0x72, 
+0x00, 0x64, 0x65, 0x74, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x08, 0xe1, 0xa0, 0x10, 0x0d, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xef, 0x12, 0x34, 0x56, 0xe8, 0xbd, 0x90, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0xff, 0xfe, 0x67, 
+0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x10, 0xe0, 0x71, 0xc2, 0x20, 0xe3, 0xa0, 0x20, 0x00, 0x3a, 0xff, 0xfe, 0x1a, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0xff, 0xfe, 0x0c, 0xe0, 0x71, 0xc6, 0x20, 0x3a, 0xff, 0xfd, 0xfd, 0xe0, 0x71, 0xc8, 0x20, 
+0x3a, 0xff, 0xfd, 0xef, 0xea, 0xff, 0xfd, 0xe4, 0xe3, 0xa0, 0x0a, 0x0e, 0xe3, 0x21, 0xf0, 0xd1, 0xe2, 0x40, 0xd0, 0x00, 0xe3, 0x21, 0xf0, 0xd2, 0xe2, 0x40, 0xdc, 0x01, 0xe3, 0x21, 0xf0, 0xd7, 0xe2, 0x40, 0xdc, 0x02, 0xe3, 0x21, 0xf0, 0xdb, 
+0xe2, 0x40, 0xdc, 0x03, 0xe3, 0x21, 0xf0, 0xd3, 0xe2, 0x40, 0x1b, 0x01, 0xe5, 0x9f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x53, 0x1c, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x9f, 0xc1, 0xf0, 0xe9, 0x2d, 0x40, 0x10, 0xe2, 0x91, 0xe6, 0x01, 
+0xe2, 0x93, 0x46, 0x01, 0xe1, 0x1c, 0x00, 0x8e, 0x11, 0x1c, 0x00, 0x84, 0x0a, 0x00, 0x00, 0x48, 0xe1, 0x31, 0x00, 0x03, 0x42, 0x23, 0x31, 0x02, 0x4a, 0x00, 0x02, 0xfc, 0xe0, 0x50, 0x40, 0x02, 0xe0, 0xd1, 0xe0, 0x03, 0x2a, 0x00, 0x00, 0x03, 
+0xe0, 0x92, 0x20, 0x04, 0xe0, 0xa3, 0x30, 0x0e, 0xe0, 0x50, 0x00, 0x04, 0xe0, 0xc1, 0x10, 0x0e, 0xe1, 0xa0, 0x4a, 0x21, 0xe0, 0x44, 0xea, 0x23, 0xe1, 0xc3, 0x30, 0xcc, 0xe3, 0x83, 0x36, 0x01, 0xe1, 0xc1, 0x1a, 0x04, 0xe2, 0x7e, 0xc0, 0x20, 
+0x3a, 0x00, 0x00, 0x17, 0xe0, 0x90, 0x0e, 0x32, 0xe0, 0xa1, 0x1e, 0x33, 0xe0, 0x90, 0x0c, 0x13, 0xe2, 0xb1, 0x10, 0x00, 0xe3, 0x51, 0x06, 0x01, 0x2a, 0x00, 0x00, 0x1b, 0xe0, 0x81, 0x1a, 0x04, 0xe8, 0xbd, 0x40, 0x10, 0xe1, 0xb0, 0x2c, 0x12, 
+0x51, 0xa0, 0xf0, 0x0e, 0xe2, 0x90, 0x00, 0x01, 0x31, 0xb0, 0x20, 0x82, 0x11, 0xa0, 0xf0, 0x0e, 0xe3, 0x50, 0x00, 0x00, 0x13, 0xc0, 0x00, 0x01, 0x02, 0xa1, 0x10, 0x00, 0xe1, 0xa0, 0x30, 0x81, 0xe3, 0x73, 0x06, 0x02, 0x31, 0xa0, 0xf0, 0x0e, 
+0x22, 0x51, 0x12, 0x06, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9f, 0x11, 0x40, 0x43, 0x81, 0x11, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0x52, 0x00, 0x01, 0xe0, 0xa3, 0x20, 0x03, 0xe2, 0x4e, 0xe0, 0x20, 0xe2, 0x7e, 0xc0, 0x1f, 0x33, 0xa0, 0xc0, 0x00, 
+0x20, 0x90, 0x0e, 0x33, 0xe0, 0xa1, 0x1a, 0x04, 0xe1, 0x54, 0x0a, 0x21, 0x0a, 0xff, 0xff, 0xe5, 0xe0, 0x41, 0x1a, 0x04, 0xe2, 0x81, 0x16, 0x01, 0xe1, 0xb0, 0x10, 0xa1, 0xe0, 0x81, 0x1a, 0x04, 0xe8, 0xbd, 0x40, 0x10, 0xe1, 0xb0, 0x00, 0x60, 
+0x3a, 0x00, 0x00, 0x07, 0xe2, 0xb0, 0x00, 0x00, 0x31, 0xb0, 0xcc, 0x12, 0x1a, 0x00, 0x00, 0x04, 0xea, 0xff, 0xff, 0xe0, 0xe2, 0x90, 0x00, 0x01, 0x31, 0xb0, 0x20, 0x82, 0x1a, 0xff, 0xff, 0xe0, 0xea, 0xff, 0xff, 0xdc, 0xe1, 0xa0, 0x30, 0x81, 
+0xe3, 0x73, 0x06, 0x02, 0x31, 0xa0, 0xf0, 0x0e, 0x22, 0x51, 0x12, 0x06, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9f, 0x10, 0xc0, 0x43, 0x81, 0x11, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0x8c, 0xc6, 0x02, 0xe1, 0xdc, 0x40, 0x81, 0x11, 0xdc, 0x40, 0x83, 
+0x0a, 0x00, 0x00, 0x0d, 0xe8, 0xbd, 0x40, 0x10, 0xe1, 0x1c, 0x00, 0x81, 0x11, 0xa0, 0xf0, 0x0e, 0xe1, 0x1c, 0x00, 0x83, 0x11, 0xa0, 0x10, 0x03, 0x11, 0xa0, 0x00, 0x02, 0x11, 0xa0, 0xf0, 0x0e, 0xe1, 0x90, 0xc0, 0x02, 0x03, 0x51, 0x01, 0x02, 
+0x03, 0x53, 0x01, 0x02, 0x01, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0x50, 0x00, 0x01, 0xe0, 0xa1, 0x40, 0x01, 0xe3, 0x52, 0x00, 0x01, 0xe0, 0xa3, 0xe0, 0x03, 0xe1, 0x54, 0x00, 0x0c, 
+0x91, 0x5e, 0x00, 0x0c, 0xe8, 0xbd, 0x40, 0x10, 0xe5, 0x9f, 0xc0, 0x54, 0x8a, 0x00, 0x00, 0x16, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0xe0, 0xa1, 0x00, 0x01, 0xe3, 0x52, 0x00, 0x01, 0xe0, 0xa3, 0x20, 0x03, 0xe1, 0x50, 0x00, 0x02, 
+0x0a, 0x00, 0x00, 0x05, 0xe3, 0x70, 0x06, 0x02, 0x03, 0xa0, 0x00, 0x00, 0x01, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0x10, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x31, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0x51, 0xa0, 0xf0, 0x0e, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9f, 0x10, 0x0c, 0xe1, 0xa0, 0xf0, 0x0e, 0xff, 0xc0, 0x00, 0x00, 0x7f, 0xf0, 0x00, 0x00, 0x04, 0x00, 0x00, 0x11, 0x7f, 0xf8, 0x00, 0x00, 0xe5, 0x9f, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x03, 0x5f, 
+0x7f, 0xf8, 0x00, 0x00, 0xe5, 0x9f, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x03, 0x5b, 0x7f, 0xf8, 0x00, 0x00, 0xe9, 0x2d, 0x40, 0x00, 0xe3, 0xa0, 0xe6, 0x02, 0xe1, 0x7e, 0x00, 0x81, 0x03, 0x50, 0x00, 0x00, 0x91, 0x7e, 0x00, 0x83, 
+0x03, 0x52, 0x00, 0x00, 0x8a, 0x00, 0x00, 0x14, 0xe8, 0xbd, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0x91, 0xc0, 0x03, 0x4a, 0x00, 0x00, 0x04, 0xe1, 0x51, 0x00, 0x03, 0x01, 0x50, 0x00, 0x02, 0x6a, 0x00, 0x00, 0x08, 0xe1, 0x0f, 0x00, 0x00, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x53, 0x00, 0x01, 0x01, 0x52, 0x00, 0x00, 0xe1, 0x0f, 0x00, 0x00, 0xe3, 0xc0, 0x02, 0x09, 0x33, 0x80, 0x01, 0x02, 0xe1, 0x28, 0xf0, 0x00, 0x71, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0xc0, 0x01, 0x33, 0x5c, 0x00, 0x02, 
+0x63, 0x5c, 0x00, 0x00, 0xe1, 0x0f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe8, 0xbd, 0x40, 0x00, 0xe3, 0x1c, 0x08, 0x0d, 0x0a, 0xff, 0xff, 0xd8, 0xea, 0x00, 0x03, 0x51, 0xe9, 0x2d, 0x40, 0x70, 0xe5, 0x9f, 0xc4, 0xf0, 0xe1, 0xdc, 0x42, 0x21, 
+0x11, 0xdc, 0x42, 0x23, 0x0a, 0x00, 0x00, 0x60, 0xe0, 0x21, 0x50, 0x03, 0xe0, 0x0c, 0x42, 0x21, 0xe1, 0x84, 0x4f, 0xa5, 0xe0, 0x1c, 0x52, 0x23, 0x11, 0x11, 0x02, 0x0c, 0x0a, 0x00, 0x00, 0x39, 0xe1, 0xa0, 0x15, 0x81, 0xe1, 0xa0, 0x35, 0x83, 
+0xe1, 0x83, 0x3a, 0xa2, 0xe1, 0x81, 0x1a, 0xa0, 0xe0, 0x44, 0x40, 0x05, 0xe2, 0x84, 0x47, 0xff, 0xe3, 0x81, 0x11, 0x02, 0xe1, 0xa0, 0x05, 0x80, 0xe3, 0x83, 0x31, 0x02, 0xe1, 0xa0, 0x25, 0x82, 0xeb, 0x00, 0x00, 0x72, 0xe1, 0xb0, 0x6a, 0x80, 
+0xe1, 0xa0, 0x05, 0xa0, 0xe1, 0x80, 0x0a, 0x81, 0xe0, 0x83, 0x38, 0x44, 0xe1, 0xa0, 0x15, 0xa1, 0xe0, 0x81, 0x2a, 0x03, 0xe0, 0x22, 0x1f, 0x84, 0x0a, 0x00, 0x00, 0x0a, 0xe1, 0xb0, 0xe0, 0x86, 0x33, 0xa0, 0x61, 0x03, 0x3a, 0x00, 0x00, 0x07, 
+0x13, 0xa0, 0x30, 0x00, 0x03, 0xa0, 0x31, 0x02, 0xe2, 0xb0, 0x00, 0x00, 0xe2, 0xa1, 0x10, 0x00, 0xe1, 0x10, 0x0f, 0xa3, 0xe3, 0xa0, 0x61, 0x01, 0x13, 0xa0, 0x61, 0x03, 0xe1, 0xc0, 0x0f, 0xa3, 0xe5, 0x9f, 0xe4, 0x54, 0xe1, 0x31, 0x0f, 0x84, 
+0x4a, 0x00, 0x00, 0x0b, 0xe1, 0x12, 0x00, 0x0e, 0x11, 0xde, 0xe0, 0x01, 0x0a, 0x00, 0x00, 0x08, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xb0, 0x5f, 0x84, 0x53, 0x1e, 0x05, 0x02, 0x43, 0x1e, 0x05, 0x01, 0x03, 0xa0, 0x61, 0x01, 0x13, 0xa0, 0x61, 0x03, 
+0x02, 0x90, 0x00, 0x01, 0xe2, 0xa1, 0x10, 0x00, 0xea, 0xff, 0xff, 0xf0, 0xe3, 0x54, 0x03, 0x01, 0xd3, 0xa0, 0x10, 0x00, 0xd3, 0xa0, 0x00, 0x00, 0xd8, 0xbd, 0x80, 0x70, 0xe3, 0xe0, 0x00, 0x00, 0xa2, 0x41, 0x12, 0x06, 0xe1, 0x81, 0x10, 0xa0, 
+0xe3, 0x86, 0xc0, 0x14, 0xe8, 0xbd, 0x40, 0x70, 0xe0, 0x21, 0x16, 0x20, 0xe3, 0xa0, 0x00, 0x00, 0xa3, 0x8c, 0xc2, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x11, 0x02, 0x0c, 0x0a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x0e, 0xe1, 0x13, 0x02, 0x0c, 
+0x0a, 0x00, 0x00, 0x3a, 0xe5, 0x9f, 0xc3, 0xd4, 0xe1, 0x90, 0x06, 0x01, 0x13, 0x81, 0x17, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0x5c, 0x09, 0xa1, 0x02, 0x21, 0x11, 0x02, 0xe1, 0x92, 0x26, 0x03, 0x13, 0x83, 0x37, 0x02, 0xe1, 0x5c, 0x09, 0xa3, 
+0x02, 0x23, 0x31, 0x02, 0xe0, 0x21, 0x10, 0x03, 0xe2, 0x01, 0x11, 0x02, 0xe8, 0xbd, 0x80, 0x70, 0xe5, 0x9f, 0xc3, 0xa0, 0xe1, 0x90, 0x06, 0x01, 0x13, 0x81, 0x17, 0x02, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0x5c, 0x09, 0xa1, 0x02, 0x21, 0x11, 0x02, 
+0xe1, 0x92, 0x26, 0x03, 0x13, 0x83, 0x37, 0x02, 0xe1, 0x5c, 0x09, 0xa3, 0x02, 0x23, 0x31, 0x02, 0xe0, 0x21, 0x10, 0x03, 0xe1, 0x81, 0x10, 0xa0, 0xe0, 0x21, 0x16, 0x20, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0xe0, 0x81, 
+0xe1, 0x5e, 0x02, 0x8c, 0x03, 0x50, 0x00, 0x00, 0xe1, 0xa0, 0x50, 0x83, 0x91, 0x55, 0x02, 0x8c, 0xe5, 0x9f, 0xc3, 0x54, 0xe8, 0xbd, 0x40, 0x70, 0x03, 0x52, 0x00, 0x00, 0x8a, 0xff, 0xff, 0x68, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0xc6, 0x02, 
+0xe1, 0x7c, 0x00, 0x81, 0x1a, 0x00, 0x00, 0x08, 0xe1, 0x7c, 0x00, 0x83, 0x0a, 0x00, 0x00, 0x10, 0xe1, 0x92, 0x2a, 0x03, 0x13, 0x83, 0x37, 0x02, 0xe3, 0x53, 0x06, 0x01, 0xe3, 0x33, 0x01, 0x02, 0xa2, 0x21, 0x11, 0x02, 0x02, 0x21, 0x11, 0x02, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x90, 0x0a, 0x01, 0x13, 0x81, 0x17, 0x02, 0xe3, 0x51, 0x06, 0x01, 0xe3, 0x31, 0x01, 0x02, 0xe2, 0x03, 0x11, 0x02, 0xa2, 0x21, 0x11, 0x02, 0x02, 0x21, 0x11, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe8, 0xbd, 0x40, 0x70, 0xe5, 0x9f, 0x12, 0xec, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x49, 0x80, 0xe2, 0x8f, 0x7f, 0x73, 0xe9, 0x2d, 0x00, 0x70, 0xe1, 0xa0, 0x48, 0x23, 0xe1, 0xa0, 0x68, 0x22, 0xe7, 0xd7, 0x74, 0x24, 
+0xe1, 0xc2, 0xe8, 0x06, 0xe1, 0xc3, 0x58, 0x04, 0xe0, 0x2c, 0x77, 0x94, 0xe1, 0xb0, 0x10, 0xa1, 0xe1, 0xb0, 0x00, 0x60, 0xe2, 0x6c, 0xc5, 0x02, 0x33, 0xa0, 0xb0, 0x00, 0xe0, 0x07, 0x07, 0x9c, 0xe1, 0xa0, 0xc6, 0xa3, 0x23, 0xa0, 0xb1, 0x02, 
+0xe1, 0xa0, 0x79, 0xa7, 0xe2, 0x87, 0x70, 0x02, 0xe0, 0x28, 0x77, 0x9c, 0xe2, 0x68, 0x82, 0x02, 0xe1, 0xa0, 0xc8, 0x28, 0xe1, 0xc8, 0x88, 0x0c, 0xe0, 0x03, 0x07, 0x9c, 0xe0, 0x02, 0x07, 0x98, 0xe1, 0xa0, 0xc7, 0xa1, 0xe0, 0x83, 0x78, 0x22, 
+0xe1, 0xa0, 0x73, 0x27, 0xe0, 0x08, 0x0c, 0x97, 0xe1, 0xa0, 0x88, 0x28, 0xe0, 0x0c, 0x06, 0x98, 0xe1, 0xa0, 0x38, 0x08, 0xe0, 0x50, 0x00, 0x0c, 0xe0, 0x0c, 0x08, 0x94, 0xe0, 0xc1, 0x10, 0x0c, 0xe0, 0x0c, 0x0e, 0x98, 0xe0, 0x5b, 0xb8, 0x0c, 
+0xe0, 0xd0, 0x08, 0x2c, 0xe0, 0x0c, 0x05, 0x98, 0x30, 0x40, 0x08, 0x0c, 0x20, 0x50, 0x08, 0x0c, 0xe0, 0xc1, 0x18, 0x2c, 0xe1, 0xa0, 0xc1, 0x21, 0xe0, 0x08, 0x0c, 0x97, 0xe1, 0xa0, 0x88, 0x28, 0xe0, 0x0c, 0x06, 0x98, 0xe0, 0x5b, 0xb9, 0x8c, 
+0xe0, 0xd0, 0x06, 0xac, 0xe0, 0x0c, 0x08, 0x94, 0x30, 0x40, 0x09, 0x8c, 0x20, 0x50, 0x09, 0x8c, 0xe0, 0xc1, 0x16, 0xac, 0xe0, 0x0c, 0x0e, 0x98, 0xe0, 0x83, 0x31, 0x88, 0xe0, 0x5b, 0xb1, 0x8c, 0xe0, 0xd0, 0x0e, 0xac, 0xe0, 0x0c, 0x05, 0x98, 
+0x30, 0x40, 0x01, 0x8c, 0x20, 0x50, 0x01, 0x8c, 0xe0, 0xc1, 0x1e, 0xac, 0xe1, 0xa0, 0x1d, 0x01, 0xe1, 0x81, 0x13, 0x20, 0xe1, 0xa0, 0x0d, 0x00, 0xe1, 0xa0, 0xc7, 0xa1, 0xe1, 0x80, 0x03, 0x2b, 0xe0, 0x08, 0x0c, 0x97, 0xe1, 0xa0, 0xbd, 0x0b, 
+0xe1, 0xa0, 0x88, 0x28, 0xe0, 0x0c, 0x06, 0x98, 0xe1, 0xa0, 0x2b, 0x08, 0xe0, 0x83, 0x35, 0x28, 0xe0, 0x50, 0x00, 0x0c, 0xe0, 0x0c, 0x08, 0x94, 0xe0, 0xc1, 0x10, 0x0c, 0xe0, 0x0c, 0x0e, 0x98, 0xe0, 0x5b, 0xb8, 0x0c, 0xe0, 0xd0, 0x08, 0x2c, 
+0xe0, 0x0c, 0x05, 0x98, 0x30, 0x40, 0x08, 0x0c, 0x20, 0x50, 0x08, 0x0c, 0xe0, 0xc1, 0x18, 0x2c, 0xe1, 0xa0, 0xc1, 0x21, 0xe0, 0x08, 0x0c, 0x97, 0xe1, 0xa0, 0x88, 0x28, 0xe0, 0x0c, 0x06, 0x98, 0xe0, 0x5b, 0xb9, 0x8c, 0xe0, 0xd0, 0x06, 0xac, 
+0xe0, 0x0c, 0x08, 0x94, 0x30, 0x40, 0x09, 0x8c, 0x20, 0x50, 0x09, 0x8c, 0xe0, 0xc1, 0x16, 0xac, 0xe0, 0x0c, 0x0e, 0x98, 0xe0, 0x5b, 0xb1, 0x8c, 0xe0, 0xd0, 0x0e, 0xac, 0xe0, 0x0c, 0x05, 0x98, 0x30, 0x40, 0x01, 0x8c, 0x20, 0x50, 0x01, 0x8c, 
+0xe0, 0xc1, 0x1e, 0xac, 0xe1, 0xa0, 0x1d, 0x01, 0xe1, 0x81, 0x13, 0x20, 0xe1, 0xa0, 0x0d, 0x00, 0xe0, 0x92, 0x24, 0x88, 0xe1, 0x80, 0x03, 0x2b, 0xe1, 0xa0, 0xbd, 0x0b, 0xe2, 0xa3, 0x30, 0x00, 0xe1, 0x85, 0x48, 0x04, 0xe0, 0x9b, 0xb0, 0x0b, 
+0xe1, 0x8e, 0x58, 0x06, 0xe0, 0xb0, 0x00, 0x00, 0xe0, 0xa1, 0x10, 0x01, 0xe0, 0x50, 0x80, 0x05, 0xe0, 0xd1, 0xc0, 0x04, 0xe3, 0xa0, 0xe0, 0x00, 0xe0, 0xae, 0xe0, 0x0e, 0x21, 0xa0, 0x00, 0x08, 0x21, 0xa0, 0x10, 0x0c, 0xe0, 0x9b, 0xb0, 0x0b, 
+0xe0, 0xb0, 0x00, 0x00, 0xe0, 0xb1, 0x10, 0x01, 0xe3, 0xa0, 0x60, 0x00, 0xe0, 0xa6, 0x60, 0x06, 0xe0, 0x50, 0x80, 0x05, 0xe0, 0xd1, 0xc0, 0x04, 0xe2, 0xd6, 0x60, 0x00, 0x21, 0xa0, 0x00, 0x08, 0x21, 0xa0, 0x10, 0x0c, 0xe0, 0xae, 0xe0, 0x0e, 
+0xe0, 0x9b, 0xb0, 0x0b, 0xe0, 0xb0, 0x00, 0x00, 0xe0, 0xb1, 0x10, 0x01, 0xe3, 0xa0, 0x60, 0x00, 0xe0, 0xa6, 0x60, 0x06, 0xe0, 0x50, 0x80, 0x05, 0xe0, 0xd1, 0xc0, 0x04, 0xe2, 0xd6, 0x60, 0x00, 0x21, 0xa0, 0x00, 0x08, 0x21, 0xa0, 0x10, 0x0c, 
+0xe1, 0x91, 0x70, 0x00, 0xe0, 0xae, 0xe0, 0x0e, 0x13, 0xa0, 0x70, 0x01, 0xe0, 0x92, 0x04, 0x8e, 0xe2, 0xb3, 0x10, 0x00, 0xe1, 0x80, 0x00, 0x07, 0x48, 0xbd, 0x00, 0xf0, 0x43, 0xa0, 0x30, 0x02, 0x53, 0xa0, 0x30, 0x01, 0x48, 0xbd, 0x89, 0x00, 
+0xe0, 0x90, 0x00, 0x00, 0xe8, 0xbd, 0x00, 0xf0, 0xe0, 0xa1, 0x10, 0x01, 0xe8, 0xbd, 0x89, 0x00, 0x7e, 0x7f, 0x80, 0x80, 0x7a, 0x7b, 0x7c, 0x7d, 0x76, 0x77, 0x78, 0x79, 0x73, 0x74, 0x75, 0x76, 0x70, 0x71, 0x71, 0x72, 0x6d, 0x6e, 0x6e, 0x6f, 
+0x6a, 0x6b, 0x6c, 0x6c, 0x68, 0x68, 0x69, 0x6a, 0x65, 0x66, 0x66, 0x67, 0x63, 0x63, 0x64, 0x64, 0x60, 0x61, 0x61, 0x62, 0x5e, 0x5f, 0x5f, 0x60, 0x5c, 0x5d, 0x5d, 0x5e, 0x5a, 0x5b, 0x5b, 0x5c, 0x58, 0x59, 0x59, 0x5a, 0x56, 0x57, 0x57, 0x58, 
+0x55, 0x55, 0x55, 0x56, 0x53, 0x53, 0x54, 0x54, 0x51, 0x52, 0x52, 0x52, 0x50, 0x50, 0x50, 0x51, 0x4e, 0x4f, 0x4f, 0x4f, 0x4d, 0x4d, 0x4d, 0x4e, 0x4b, 0x4c, 0x4c, 0x4c, 0x4a, 0x4a, 0x4b, 0x4b, 0x49, 0x49, 0x49, 0x4a, 0x47, 0x48, 0x48, 0x48, 
+0x46, 0x47, 0x47, 0x47, 0x45, 0x45, 0x46, 0x46, 0x44, 0x44, 0x44, 0x45, 0x43, 0x43, 0x43, 0x44, 0x42, 0x42, 0x42, 0x43, 0x41, 0x41, 0x41, 0x42, 0x07, 0xff, 0x00, 0x00, 0x7f, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x10, 0x01, 0x04, 0x00, 0x00, 0x14, 
+0x7f, 0xf8, 0x00, 0x00, 0xe1, 0xa0, 0x35, 0x81, 0xe9, 0x2d, 0x00, 0x03, 0xe1, 0xb0, 0x2a, 0x41, 0xe1, 0x83, 0x3a, 0xa0, 0x13, 0x83, 0x31, 0x02, 0x4a, 0x00, 0x00, 0x08, 0xe2, 0x42, 0x2d, 0x0e, 0xe2, 0x72, 0x20, 0x9e, 0xda, 0x00, 0x00, 0x13, 
+0xe3, 0x52, 0x00, 0xff, 0xc3, 0xa0, 0x10, 0x00, 0xd1, 0xa0, 0x12, 0x33, 0xe1, 0xa0, 0x00, 0x01, 0xe2, 0x8d, 0xd0, 0x08, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0x2a, 0x82, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xb0, 0x2a, 0xa2, 0x03, 0xc3, 0x31, 0x02, 
+0xe2, 0x42, 0x2d, 0x0e, 0xe2, 0x72, 0x20, 0x9e, 0xba, 0x00, 0x00, 0x06, 0xe3, 0x52, 0x00, 0xff, 0xd0, 0x41, 0x12, 0x33, 0xe3, 0x51, 0x00, 0x00, 0xd2, 0x8d, 0xd0, 0x08, 0xd1, 0xa0, 0x00, 0x01, 0xd1, 0xa0, 0xf0, 0x0e, 0xea, 0xff, 0xff, 0xff, 
+0xe8, 0xbd, 0x00, 0x03, 0xe5, 0x9f, 0xc0, 0x2c, 0xe3, 0x50, 0x00, 0x01, 0xe0, 0xa1, 0x30, 0x01, 0xe3, 0x73, 0x06, 0x02, 0x83, 0x8c, 0xc8, 0x01, 0x8a, 0xff, 0xfe, 0x73, 0x31, 0xe0, 0x0f, 0xc1, 0x32, 0x20, 0x01, 0x02, 0x31, 0xa0, 0xf0, 0x0e, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xe0, 0x0f, 0xc1, 0xe2, 0x20, 0x01, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0x04, 0x02, 0x00, 0xc8, 0xe2, 0x10, 0x31, 0x02, 0x12, 0x60, 0x10, 0x00, 0x01, 0xa0, 0x10, 0x00, 0xe3, 0x83, 0x31, 0x01, 0xe1, 0xb0, 0x08, 0x21, 
+0x12, 0x83, 0x34, 0x01, 0x01, 0xb0, 0x18, 0x01, 0x01, 0xa0, 0xf0, 0x0e, 0xe3, 0x11, 0x04, 0xff, 0x12, 0x83, 0x35, 0x02, 0x01, 0xa0, 0x14, 0x01, 0xe3, 0x11, 0x02, 0x0f, 0x12, 0x83, 0x35, 0x01, 0x01, 0xa0, 0x12, 0x01, 0xe3, 0x11, 0x01, 0x03, 
+0x12, 0x83, 0x36, 0x02, 0x01, 0xb0, 0x11, 0x01, 0x42, 0x83, 0x36, 0x01, 0x51, 0xa0, 0x10, 0x81, 0xe1, 0xa0, 0x0a, 0x81, 0xe0, 0x83, 0x15, 0xc1, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x31, 0x01, 0xe1, 0xa0, 0x10, 0x00, 0xea, 0xff, 0xff, 0xea, 
+0xe1, 0x91, 0xc0, 0x03, 0x4a, 0x00, 0x00, 0x0e, 0xe3, 0x7c, 0x06, 0x01, 0x53, 0x5c, 0x06, 0x01, 0x4a, 0x00, 0x00, 0x03, 0xe1, 0x51, 0x00, 0x03, 0x11, 0xa0, 0xf0, 0x0e, 0x01, 0x50, 0x00, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0x7a, 0x00, 0x00, 0x04, 
+0xe3, 0x71, 0x06, 0x01, 0x53, 0x73, 0x06, 0x01, 0x4a, 0x00, 0x00, 0x11, 0xe1, 0x51, 0x00, 0x03, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x51, 0x00, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0x7c, 0x06, 0x01, 0x5a, 0x00, 0x00, 0x05, 0xe3, 0x5c, 0x06, 0x01, 
+0x5a, 0xff, 0xff, 0xf9, 0xe1, 0x53, 0x00, 0x01, 0x11, 0xa0, 0xf0, 0x0e, 0x01, 0x52, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0xc6, 0x02, 0xe1, 0x7c, 0x00, 0x81, 0x31, 0x7c, 0x00, 0x83, 0x2a, 0x00, 0x00, 0x01, 0xe1, 0x53, 0x00, 0x01, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe5, 0x9f, 0xc0, 0x00, 0xea, 0xff, 0xfe, 0x35, 0x04, 0x16, 0x00, 0x19, 0xe5, 0x9f, 0xc1, 0xe4, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xdc, 0xe2, 0x21, 0x11, 0xdc, 0xe2, 0x23, 0x0a, 0x00, 0x00, 0x5e, 0xe0, 0x21, 0x50, 0x03, 
+0xe0, 0x0c, 0xe2, 0x21, 0xe1, 0x8e, 0xef, 0xa5, 0xe0, 0x1c, 0x52, 0x23, 0x11, 0x11, 0x02, 0x0c, 0x0a, 0x00, 0x00, 0x49, 0xe0, 0x8e, 0xe0, 0x05, 0xe1, 0xc1, 0x12, 0x8c, 0xe1, 0xc3, 0x32, 0x8c, 0xe3, 0x83, 0x36, 0x01, 0xe3, 0x81, 0x16, 0x01, 
+0xe2, 0x4e, 0xe7, 0xff, 0xe0, 0x8c, 0x42, 0x91, 0xe0, 0x85, 0x63, 0x90, 0xe0, 0x96, 0x60, 0x04, 0xe0, 0xb5, 0x50, 0x0c, 0xe0, 0x8c, 0x43, 0x91, 0xe2, 0xac, 0x30, 0x00, 0xe0, 0x8c, 0x12, 0x90, 0xe3, 0xe0, 0x20, 0x03, 0xe0, 0x96, 0x60, 0x0c, 
+0xe0, 0xb5, 0x50, 0x04, 0xe2, 0xb3, 0x30, 0x00, 0xe1, 0x11, 0x00, 0x01, 0x13, 0x86, 0x60, 0x01, 0xe3, 0x53, 0x0c, 0x02, 0xe3, 0xa0, 0xc0, 0x14, 0xe2, 0xac, 0xc0, 0x00, 0xe2, 0x6c, 0x40, 0x20, 0xe0, 0xa2, 0x28, 0x4e, 0xe1, 0xa0, 0x14, 0x13, 
+0xe1, 0xa0, 0x04, 0x15, 0xe1, 0x81, 0x1c, 0x35, 0xe0, 0x81, 0x5a, 0x02, 0xe1, 0xb0, 0x44, 0x16, 0xe0, 0x25, 0x1f, 0x8e, 0xe1, 0x80, 0x0c, 0x36, 0x0a, 0x00, 0x00, 0x09, 0xe1, 0xb0, 0xc0, 0x84, 0x33, 0xa0, 0x41, 0x03, 0x3a, 0x00, 0x00, 0x06, 
+0x03, 0x83, 0x31, 0x02, 0xe2, 0xb0, 0x00, 0x00, 0xe2, 0xa1, 0x10, 0x00, 0xe1, 0x10, 0x0f, 0xa3, 0xe3, 0xa0, 0x41, 0x01, 0x13, 0xa0, 0x41, 0x03, 0xe1, 0xc0, 0x0f, 0xa3, 0xe5, 0x9f, 0xc1, 0x14, 0xe1, 0x31, 0x0f, 0x8e, 0x4a, 0x00, 0x00, 0x0b, 
+0xe1, 0x15, 0x00, 0x0c, 0x11, 0xdc, 0xc0, 0x01, 0x0a, 0x00, 0x00, 0x08, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xb0, 0x4f, 0x8e, 0x53, 0x1c, 0x05, 0x02, 0x43, 0x1c, 0x05, 0x01, 0x03, 0xa0, 0x41, 0x01, 0x13, 0xa0, 0x41, 0x03, 0x02, 0x90, 0x00, 0x01, 
+0xe2, 0xa1, 0x10, 0x00, 0xea, 0xff, 0xff, 0xf0, 0xe3, 0x5e, 0x03, 0x01, 0xa3, 0x84, 0xc0, 0x13, 0xe8, 0xbd, 0x40, 0x70, 0xa3, 0x8c, 0xc2, 0x01, 0xa2, 0x41, 0x12, 0x06, 0xaa, 0x00, 0x00, 0x05, 0xa3, 0xe0, 0x00, 0x00, 0xa1, 0x81, 0x10, 0xa0, 
+0xa0, 0x21, 0x16, 0x20, 0xb3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0x81, 0x10, 0xa0, 0xe0, 0x21, 0x16, 0x20, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x90, 0x06, 0x01, 
+0xe5, 0x9f, 0x50, 0x94, 0x13, 0x81, 0x17, 0x02, 0xe1, 0x92, 0x26, 0x03, 0x13, 0x83, 0x37, 0x02, 0xe1, 0x55, 0x09, 0xa1, 0x02, 0x2e, 0xe0, 0x01, 0xe1, 0x55, 0x09, 0xa3, 0x02, 0x2e, 0xe0, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x1f, 0x8e, 
+0xe8, 0xbd, 0x80, 0x70, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x1f, 0x8e, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x50, 0x81, 0xe1, 0x55, 0x02, 0x8c, 0x03, 0x50, 0x00, 0x00, 0xe1, 0xa0, 0x60, 0x83, 0x91, 0x56, 0x02, 0x8c, 0xe5, 0x9f, 0xc0, 0x4c, 
+0xe8, 0xbd, 0x40, 0x70, 0x03, 0x52, 0x00, 0x00, 0x8a, 0xff, 0xfd, 0xbf, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0xc6, 0x02, 0xe1, 0x5c, 0x00, 0x81, 0x91, 0x5c, 0x00, 0x83, 0x8a, 0x00, 0x00, 0x05, 0xe0, 0x21, 0x10, 0x03, 0xe2, 0x01, 0x11, 0x02, 
+0xe3, 0x81, 0x14, 0x7f, 0xe3, 0x81, 0x16, 0x0f, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe5, 0x9f, 0x10, 0x14, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0x07, 0xff, 0x00, 0x00, 0x7f, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x10, 0x01, 
+0x04, 0x00, 0x00, 0x13, 0x7f, 0xf8, 0x00, 0x00, 0xe1, 0x93, 0xc0, 0x01, 0x4a, 0x00, 0x00, 0x0e, 0xe3, 0x7c, 0x06, 0x01, 0x53, 0x5c, 0x06, 0x01, 0x4a, 0x00, 0x00, 0x03, 0xe1, 0x53, 0x00, 0x01, 0x11, 0xa0, 0xf0, 0x0e, 0x01, 0x52, 0x00, 0x00, 
+0xe1, 0xa0, 0xf0, 0x0e, 0x7a, 0x00, 0x00, 0x04, 0xe3, 0x73, 0x06, 0x01, 0x53, 0x71, 0x06, 0x01, 0x4a, 0x00, 0x00, 0x11, 0xe1, 0x53, 0x00, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x53, 0x00, 0x03, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0x7c, 0x06, 0x01, 
+0x5a, 0x00, 0x00, 0x05, 0xe3, 0x5c, 0x06, 0x01, 0x5a, 0xff, 0xff, 0xf9, 0xe1, 0x51, 0x00, 0x03, 0x11, 0xa0, 0xf0, 0x0e, 0x01, 0x50, 0x00, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0xc6, 0x02, 0xe1, 0x7c, 0x00, 0x83, 0x31, 0x7c, 0x00, 0x81, 
+0x2a, 0x00, 0x00, 0x01, 0xe1, 0x51, 0x00, 0x03, 0xe1, 0xa0, 0xf0, 0x0e, 0xe0, 0x23, 0x10, 0x01, 0xe0, 0x22, 0x00, 0x00, 0xe0, 0x20, 0x20, 0x02, 0xe0, 0x21, 0x30, 0x03, 0xe5, 0x9f, 0xc0, 0x08, 0xe0, 0x23, 0x10, 0x01, 0xe0, 0x22, 0x00, 0x00, 
+0xea, 0xff, 0xfd, 0x8d, 0x04, 0x16, 0x00, 0x19, 0xe5, 0x9f, 0xc2, 0x64, 0xe9, 0x2d, 0x40, 0x10, 0xe2, 0x91, 0xe6, 0x01, 0xe2, 0x93, 0x46, 0x01, 0xe1, 0x1c, 0x00, 0x8e, 0x11, 0x1c, 0x00, 0x84, 0x0a, 0x00, 0x00, 0x64, 0xe1, 0x31, 0x00, 0x03, 
+0x42, 0x23, 0x31, 0x02, 0x4a, 0xff, 0xfd, 0x02, 0xe0, 0x50, 0x40, 0x02, 0xe0, 0xd1, 0xe0, 0x03, 0x2a, 0x00, 0x00, 0x04, 0xe0, 0x92, 0x20, 0x04, 0xe2, 0x2e, 0xe1, 0x02, 0xe0, 0xa3, 0x30, 0x0e, 0xe0, 0x50, 0x00, 0x04, 0xe0, 0xc1, 0x10, 0x0e, 
+0xe1, 0xa0, 0x4a, 0x21, 0xe0, 0x44, 0xea, 0x23, 0xe2, 0x72, 0x20, 0x00, 0xe1, 0xc3, 0x31, 0x4c, 0xe0, 0xe3, 0x31, 0x4c, 0xe1, 0xc1, 0x1a, 0x04, 0xe2, 0x7e, 0xc0, 0x20, 0x3a, 0x00, 0x00, 0x10, 0xe0, 0x90, 0x0e, 0x32, 0xe0, 0xa1, 0x1e, 0x53, 
+0xe0, 0x90, 0x0c, 0x13, 0xe2, 0xb1, 0x10, 0x00, 0x4a, 0x00, 0x00, 0x15, 0xe0, 0x81, 0x1a, 0x04, 0xe8, 0xbd, 0x40, 0x10, 0xe1, 0xb0, 0x2c, 0x12, 0xe3, 0xa0, 0xc1, 0x49, 0x51, 0xa0, 0xf0, 0x0e, 0xe2, 0x90, 0x00, 0x01, 0x13, 0x52, 0x01, 0x02, 
+0x11, 0xa0, 0xf0, 0x0e, 0xe3, 0x50, 0x00, 0x00, 0x02, 0x81, 0x10, 0x01, 0x13, 0xc0, 0x00, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe0, 0x92, 0xc0, 0x02, 0xe0, 0xa3, 0x20, 0x03, 0x13, 0xa0, 0xc0, 0x01, 0xe1, 0x8c, 0x20, 0x82, 0xe2, 0x4e, 0xe0, 0x20, 
+0xe2, 0x7e, 0xc0, 0x1e, 0x9a, 0x00, 0x00, 0x27, 0xe0, 0x90, 0x0e, 0x53, 0xe2, 0xd1, 0x10, 0x00, 0x5a, 0xff, 0xff, 0xe9, 0xe2, 0x8c, 0xc0, 0x01, 0xe1, 0xb0, 0xcc, 0x12, 0xe0, 0xb0, 0x00, 0x00, 0xe0, 0xa1, 0x10, 0x01, 0xe0, 0x81, 0xea, 0x84, 
+0xe1, 0xb0, 0xea, 0xae, 0x9a, 0x00, 0x00, 0x08, 0xe0, 0x81, 0x1a, 0x04, 0xe8, 0xbd, 0x40, 0x10, 0xe0, 0x90, 0x0f, 0xac, 0x33, 0x5c, 0x01, 0x02, 0x11, 0xa0, 0xf0, 0x0e, 0xe3, 0x50, 0x00, 0x00, 0x02, 0x81, 0x10, 0x01, 0x13, 0xc0, 0x00, 0x01, 
+0xe1, 0xa0, 0xf0, 0x0e, 0x2a, 0x00, 0x00, 0x15, 0xe2, 0x91, 0x16, 0x02, 0x03, 0x50, 0x00, 0x00, 0x08, 0xbd, 0x40, 0x10, 0x0a, 0x00, 0x00, 0x16, 0xe1, 0xa0, 0xe5, 0xa4, 0xe3, 0xc4, 0x4b, 0x02, 0xe2, 0x44, 0x40, 0x02, 0xe0, 0x90, 0x00, 0x00, 
+0xe0, 0xa1, 0x10, 0x01, 0xe3, 0x11, 0x06, 0x01, 0xe2, 0x44, 0x40, 0x01, 0x0a, 0xff, 0xff, 0xfa, 0xe0, 0x81, 0x1f, 0x8e, 0xe3, 0x54, 0x00, 0x00, 0xe0, 0x81, 0x1a, 0x04, 0xe8, 0xbd, 0x40, 0x10, 0xc1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe0, 0x81, 0x1a, 0x04, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xb0, 0x10, 0xc1, 0xe0, 0x81, 0x1a, 0x04, 0xe8, 0xbd, 0x40, 0x10, 0xe1, 0xa0, 0x00, 0x60, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x00, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0xc0, 0x12, 0xe1, 0xb0, 0x20, 0x81, 0x01, 0x10, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xf9, 0xe3, 0x52, 0x06, 0x02, 0x21, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe3, 0x8c, 0xc6, 0x02, 0xe1, 0xdc, 0x40, 0x81, 0x11, 0xdc, 0x40, 0x83, 0x0a, 0x00, 0x00, 0x0e, 0xe8, 0xbd, 0x40, 0x10, 0xe1, 0x1c, 0x00, 0x81, 0x11, 0xa0, 0xf0, 0x0e, 0xe1, 0x1c, 0x00, 0x83, 0x12, 0x23, 0x11, 0x02, 0x11, 0xa0, 0x00, 0x02, 
+0x11, 0xa0, 0xf0, 0x0e, 0xe3, 0x50, 0x00, 0x00, 0x03, 0x51, 0x01, 0x02, 0x13, 0xa0, 0x10, 0x00, 0x13, 0xa0, 0x00, 0x00, 0xe3, 0x52, 0x00, 0x00, 0x03, 0x53, 0x01, 0x02, 0x03, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0x50, 0x00, 0x01, 
+0xe0, 0xa1, 0x40, 0x01, 0xe3, 0x52, 0x00, 0x01, 0xe0, 0xa3, 0xe0, 0x03, 0xe1, 0x54, 0x00, 0x0c, 0x91, 0x5e, 0x00, 0x0c, 0xe8, 0xbd, 0x40, 0x10, 0xe5, 0x9f, 0xc0, 0x50, 0x8a, 0xff, 0xfc, 0xfc, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 
+0xe0, 0xa1, 0x00, 0x01, 0xe3, 0x52, 0x00, 0x01, 0xe0, 0xa3, 0x20, 0x03, 0xe1, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x70, 0x06, 0x02, 0x03, 0xa0, 0x00, 0x00, 0x01, 0xa0, 0xf0, 0x0e, 0xe2, 0x23, 0x11, 0x02, 0xe3, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x31, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0x41, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9f, 0x10, 0x08, 0xe1, 0xa0, 0xf0, 0x0e, 0xff, 0xc0, 0x00, 0x00, 0x04, 0x00, 0x00, 0x12, 0x7f, 0xf8, 0x00, 0x00, 
+0xe1, 0x11, 0x00, 0x01, 0xe1, 0xa0, 0x2a, 0x21, 0xe3, 0xa0, 0x3c, 0x06, 0xe1, 0xc1, 0x1a, 0x02, 0xe3, 0xc2, 0x2b, 0x02, 0xe2, 0x83, 0x30, 0x01, 0xe0, 0x43, 0x20, 0x02, 0x43, 0x8c, 0xc8, 0x01, 0xe3, 0x52, 0x00, 0x35, 0xe3, 0x81, 0x16, 0x01, 
+0x8a, 0x00, 0x00, 0x22, 0x0a, 0x00, 0x00, 0x1b, 0xe3, 0x52, 0x00, 0x15, 0x3a, 0x00, 0x00, 0x10, 0xe2, 0x52, 0x20, 0x20, 0x9a, 0x00, 0x00, 0x06, 0xe3, 0x50, 0x00, 0x00, 0xe2, 0x62, 0x30, 0x20, 0xe1, 0xa0, 0x02, 0x31, 0xe1, 0xa0, 0x23, 0x11, 
+0x13, 0x82, 0x20, 0x01, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x19, 0xe2, 0x62, 0x30, 0x00, 0xe2, 0x82, 0x20, 0x20, 0xe1, 0xa0, 0x13, 0x11, 0xe1, 0x81, 0x12, 0x30, 0xe1, 0xa0, 0x23, 0x10, 0xe1, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x00, 
+0xea, 0x00, 0x00, 0x11, 0xe2, 0x62, 0x30, 0x20, 0xe9, 0x2d, 0x00, 0x10, 0xe1, 0xa0, 0x43, 0x10, 0xe1, 0xa0, 0x33, 0x11, 0xe1, 0x83, 0x02, 0x30, 0xe1, 0xa0, 0x12, 0x31, 0xe1, 0xa0, 0x20, 0x04, 0xe8, 0xbd, 0x00, 0x10, 0xea, 0x00, 0x00, 0x08, 
+0xe1, 0x90, 0x26, 0x01, 0xe3, 0xa0, 0x21, 0x02, 0x12, 0x82, 0x20, 0x01, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x20, 0x01, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0x1c, 0x08, 0x01, 
+0x13, 0x81, 0x11, 0x02, 0xe1, 0x12, 0x00, 0x02, 0xe3, 0xcc, 0xc8, 0x01, 0x01, 0xa0, 0xf0, 0x0e, 0xe1, 0xb0, 0x20, 0x82, 0x3a, 0x00, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe2, 0x90, 0x00, 0x01, 0xe2, 0xa1, 0x10, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe1, 0xb0, 0x2f, 0x4c, 0x4a, 0xff, 0xff, 0xfa, 0x1a, 0xff, 0xff, 0xfb, 0xe2, 0x90, 0x00, 0x01, 0xe2, 0xa1, 0x10, 0x00, 0xe3, 0xc0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf7, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 
+0xeb, 0xff, 0xfc, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe2, 0x0c, 0x30, 0x0f, 0xe3, 0x53, 0x00, 0x09, 0x03, 0xa0, 0x00, 0x08, 0x0a, 0x00, 0x00, 0x12, 0xe3, 0x53, 0x00, 0x0a, 0x0a, 0x00, 0x00, 0x06, 
+0xe3, 0x53, 0x00, 0x08, 0x11, 0xa0, 0xf0, 0x0e, 0x03, 0x1c, 0x00, 0x40, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0x1c, 0x00, 0x40, 0x13, 0xa0, 0x01, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe3, 0x1c, 0x00, 0x10, 0x05, 0x9f, 0x00, 0x08, 0x15, 0x9f, 0x10, 0x08, 0x13, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x7f, 0xc0, 0x00, 0x00, 0x7f, 0xf8, 0x00, 0x00, 0xe3, 0x1c, 0x06, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xe3, 0x1c, 0x08, 0x07, 
+0x0a, 0x00, 0x00, 0x02, 0xe1, 0xe0, 0x17, 0x8c, 0xe1, 0xb0, 0x10, 0x81, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x02, 0x03, 0xe1, 0x0f, 0x20, 0x00, 0xe3, 0xc2, 0x22, 0x0f, 0xe1, 0x82, 0x20, 0x00, 0xe1, 0x28, 0xf0, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xe4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xe6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xea, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xec, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x00, 0x3f, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xf2, 0x00, 0x00, 0x6f, 0x6e, 0x62, 0x41, 0x6c, 0x61, 0x6d, 0x72, 0x72, 0x65, 0x74, 0x20, 0x61, 0x6e, 0x69, 0x6d, 0x6e, 0x6f, 0x69, 0x74, 0x41, 0x00, 0x00, 0x00, 
+0x68, 0x74, 0x69, 0x72, 0x69, 0x74, 0x65, 0x6d, 0x78, 0x65, 0x20, 0x63, 0x74, 0x70, 0x65, 0x63, 0x3a, 0x6e, 0x6f, 0x69, 0x6c, 0x49, 0x00, 0x20, 0x61, 0x67, 0x65, 0x6c, 0x6e, 0x69, 0x20, 0x6c, 0x75, 0x72, 0x74, 0x73, 0x6f, 0x69, 0x74, 0x63, 
+0x00, 0x00, 0x00, 0x6e, 0x74, 0x6e, 0x49, 0x00, 0x75, 0x72, 0x72, 0x65, 0x72, 0x20, 0x74, 0x70, 0x69, 0x65, 0x63, 0x65, 0x00, 0x64, 0x65, 0x76, 0x00, 0x00, 0x00, 0x00, 0x65, 0x6c, 0x6c, 0x49, 0x20, 0x6c, 0x61, 0x67, 0x72, 0x64, 0x64, 0x61, 
+0x00, 0x73, 0x73, 0x65, 0x00, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x69, 0x6d, 0x72, 0x65, 0x69, 0x74, 0x61, 0x6e, 0x72, 0x20, 0x6e, 0x6f, 0x65, 0x75, 0x71, 0x65, 0x00, 0x00, 0x74, 0x73, 0x74, 0x53, 0x00, 0x00, 0x20, 0x6b, 0x63, 0x61, 
+0x72, 0x65, 0x76, 0x6f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x65, 0x52, 0x00, 0x63, 0x65, 0x72, 0x69, 0x63, 0x20, 0x3a, 0x74, 0x74, 0x27, 0x6e, 0x61, 0x65, 0x70, 0x6f, 0x20, 0x00, 0x20, 0x3a, 0x6e, 
+0x20, 0x74, 0x75, 0x4f, 0x68, 0x20, 0x66, 0x6f, 0x20, 0x70, 0x61, 0x65, 0x6f, 0x6d, 0x65, 0x6d, 0x00, 0x00, 0x79, 0x72, 0x55, 0x00, 0x00, 0x00, 0x2d, 0x72, 0x65, 0x73, 0x69, 0x66, 0x65, 0x64, 0x20, 0x64, 0x65, 0x6e, 0x6e, 0x67, 0x69, 0x73, 
+0x31, 0x20, 0x6c, 0x61, 0x73, 0x55, 0x00, 0x00, 0x64, 0x2d, 0x72, 0x65, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x20, 0x64, 0x65, 0x61, 0x6e, 0x67, 0x69, 0x00, 0x32, 0x20, 0x6c, 0x72, 0x75, 0x50, 0x00, 0x69, 0x76, 0x20, 0x65, 0x61, 0x75, 0x74, 0x72, 
+0x6e, 0x66, 0x20, 0x6c, 0x6c, 0x61, 0x63, 0x20, 0x00, 0x64, 0x65, 0x6c, 0x20, 0x2b, 0x2b, 0x43, 0x72, 0x62, 0x69, 0x6c, 0x20, 0x79, 0x72, 0x61, 0x65, 0x63, 0x78, 0x65, 0x6f, 0x69, 0x74, 0x70, 0x4f, 0x00, 0x00, 0x6e, 0x6f, 0x20, 0x74, 0x75, 
+0x65, 0x68, 0x20, 0x66, 0x00, 0x00, 0x70, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/mp2_dec_fw.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/mp2_dec_fw.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/mp2_dec_fw.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/mp2_dec_fw.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,382 @@
+/*
+ * drivers/media/video/samsung/mfc40/mp2_dec_fw.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+const unsigned char mp2_dec_mc_fw[14636] = {
+0xea, 0x00, 0x00, 0x31, 0xea, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x0b, 0xea, 0x00, 0x00, 0x10, 0xea, 0x00, 0x00, 0x15, 0xea, 0xff, 0xff, 0xfe, 0xea, 0x00, 0x00, 0x19, 0xea, 0x00, 0x00, 0x1e, 0xea, 0x00, 0x00, 0x23, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0xa0, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x8c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x78, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x64, 
+0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x50, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x3c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x28, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xeb, 0x00, 0x00, 0x07, 0xea, 0xff, 0xff, 0xfe, 0x00, 0x00, 0xff, 0x04, 0x00, 0x00, 0xff, 0x08, 0x00, 0x00, 0xff, 0x0c, 0x00, 0x00, 0xff, 0x10, 0x00, 0x00, 0xff, 0x18, 0x00, 0x00, 0xff, 0x1c, 0x00, 0x00, 0xff, 0x20, 
+0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x0b, 0xd5, 0xe5, 0x9f, 0x30, 0x04, 0xe0, 0x8f, 0x30, 0x03, 0xe1, 0xa0, 0xf0, 0x03, 0x00, 0x00, 0x35, 0xcc, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x02, 0xa0, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x08, 0xb5, 0xe5, 0x94, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf7, 0xe8, 0xbd, 0x80, 0x10, 
+0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x02, 0xa0, 0xe5, 0x84, 0x03, 0x74, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xe9, 0xe5, 0x94, 0x03, 0x78, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0xff, 0xff, 0xfa, 0xe5, 0x94, 0x03, 0x7c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xf7, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x50, 0x00, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xff, 0xea, 0xe1, 0xa0, 0x60, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x30, 0xe2, 0x4d, 0xdf, 0x41, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x2c, 0x01, 0xe5, 0x9f, 0x13, 0x38, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x04, 
+0xeb, 0x00, 0x0b, 0x85, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x10, 0xe5, 0x84, 0x00, 0x0c, 0xe5, 0x84, 0x00, 0x1c, 0xe5, 0x84, 0x00, 0x14, 0xe5, 0x84, 0x02, 0x14, 0xe5, 0x84, 0x03, 0x08, 
+0xe5, 0x84, 0x03, 0x0c, 0xe5, 0x84, 0x00, 0x24, 0xe5, 0x84, 0x00, 0x28, 0xe5, 0x84, 0x00, 0x2c, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe3, 0xe0, 0x01, 0x02, 0xe2, 0x84, 0x10, 0x30, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x84, 0x10, 0x80, 
+0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x14, 0xba, 0xff, 0xff, 0xf7, 0xe3, 0xe0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x08, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x20, 0xe5, 0x84, 0x02, 0x98, 0xe5, 0x84, 0x02, 0x9c, 0xe5, 0x84, 0x02, 0xa0, 0xe5, 0x84, 0x02, 0xa4, 0xe5, 0x84, 0x02, 0xa8, 0xe5, 0x84, 0x02, 0xac, 0xe5, 0x84, 0x02, 0xb0, 0xe5, 0x84, 0x02, 0xb4, 
+0xe5, 0x84, 0x02, 0xb8, 0xe5, 0x84, 0x02, 0xbc, 0xe5, 0x84, 0x02, 0xc0, 0xe5, 0x84, 0x02, 0xc4, 0xe5, 0x84, 0x02, 0xc8, 0xe5, 0x84, 0x02, 0xcc, 0xe5, 0x84, 0x02, 0xd0, 0xe5, 0x84, 0x02, 0xd4, 0xe5, 0x84, 0x02, 0xe8, 0xe5, 0x84, 0x02, 0xec, 
+0xe5, 0x84, 0x02, 0xf0, 0xe5, 0x84, 0x02, 0xf4, 0xe5, 0x84, 0x02, 0xf8, 0xe5, 0x84, 0x02, 0xfc, 0xe5, 0x84, 0x03, 0x00, 0xe5, 0x84, 0x03, 0x04, 0xe5, 0x84, 0x03, 0x08, 0xe5, 0x84, 0x03, 0x0c, 0xe5, 0x84, 0x03, 0x10, 0xe5, 0x84, 0x03, 0x14, 
+0xe5, 0x84, 0x03, 0x18, 0xe5, 0x84, 0x03, 0x1c, 0xe5, 0x84, 0x03, 0x20, 0xe5, 0x84, 0x03, 0x24, 0xe5, 0x84, 0x03, 0x28, 0xe5, 0x84, 0x03, 0x2c, 0xe5, 0x84, 0x03, 0x30, 0xe5, 0x84, 0x03, 0x34, 0xe5, 0x84, 0x03, 0x38, 0xe5, 0x84, 0x03, 0x3c, 
+0xe5, 0x84, 0x03, 0x40, 0xe5, 0x84, 0x03, 0x44, 0xe5, 0x84, 0x03, 0x48, 0xe5, 0x84, 0x03, 0x4c, 0xe5, 0x84, 0x03, 0x50, 0xe5, 0x84, 0x03, 0x54, 0xe5, 0x84, 0x03, 0x58, 0xe5, 0x84, 0x03, 0x5c, 0xe5, 0x84, 0x03, 0x70, 0xe3, 0xa0, 0x50, 0x00, 
+0xea, 0x00, 0x00, 0x04, 0xe2, 0x8d, 0x00, 0x04, 0xe7, 0x90, 0x01, 0x05, 0xe2, 0x84, 0x1e, 0x39, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf8, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x00, 0x10, 0xe2, 0x84, 0x1e, 0x49, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x03, 0x60, 0xe5, 0x84, 0x01, 0x70, 0xe5, 0x84, 0x03, 0x64, 
+0xe3, 0xe0, 0x00, 0x00, 0xe5, 0x84, 0x03, 0x68, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x03, 0x6c, 0xe5, 0x84, 0x03, 0x70, 0xe5, 0x84, 0x03, 0x74, 0xe5, 0x84, 0x03, 0x78, 0xe5, 0x84, 0x03, 0x7c, 0xe5, 0x84, 0x03, 0x80, 0xe5, 0x84, 0x03, 0x84, 
+0xe5, 0x84, 0x03, 0x88, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x8c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x05, 0x90, 0xe2, 0x8d, 0xdf, 0x41, 0xe8, 0xbd, 0x80, 0x30, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x05, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x06, 0x00, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x20, 0xe5, 0x81, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x05, 
+0xe5, 0x81, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x20, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x24, 0xe5, 0x81, 0x00, 0x24, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x6e, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x0c, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 
+0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x5c, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe2, 0x66, 0x50, 0x08, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x09, 0x20, 0xe2, 0x45, 0x50, 0x01, 
+0xe3, 0x55, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x04, 0xa6, 0xe3, 0xa0, 0x0c, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 0xe5, 0x9f, 0x00, 0x78, 0xeb, 0x00, 0x0a, 0xcf, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xd0, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 
+0xe5, 0x90, 0x01, 0x2c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xae, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x29, 
+0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x08, 0xe8, 0xbd, 0x80, 0x70, 0x00, 0x00, 0x35, 0x30, 0x00, 0x00, 0x05, 0x98, 0xe5, 0x90, 0x12, 0xd4, 0xe3, 0x51, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x18, 
+0xe5, 0x90, 0x12, 0xd0, 0xe5, 0x90, 0x23, 0x84, 0xe1, 0x51, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x14, 0xe5, 0x90, 0x13, 0x80, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x13, 0x64, 0xe2, 0x81, 0x1b, 0x01, 0xe5, 0x80, 0x13, 0x64, 
+0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x13, 0x80, 0xe5, 0x90, 0x12, 0xd0, 0xe5, 0x90, 0x23, 0x84, 0xe1, 0x51, 0x00, 0x02, 0xaa, 0x00, 0x00, 0x04, 0xe5, 0x90, 0x13, 0x6c, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x01, 
+0xe5, 0x80, 0x13, 0x80, 0xe5, 0x90, 0x12, 0xd0, 0xe5, 0x80, 0x13, 0x84, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x13, 0x6c, 0xe5, 0x90, 0x13, 0x64, 0xe5, 0x90, 0x22, 0xd0, 0xe0, 0x81, 0x10, 0x02, 0xe5, 0x80, 0x13, 0x30, 0xe5, 0x90, 0x13, 0x80, 
+0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x90, 0x12, 0xd0, 0xe5, 0x90, 0x23, 0x84, 0xe1, 0x51, 0x00, 0x02, 0xca, 0x00, 0x00, 0x02, 0xe5, 0x90, 0x13, 0x30, 0xe2, 0x81, 0x1b, 0x01, 0xe5, 0x80, 0x13, 0x30, 0xe5, 0x90, 0x13, 0x30, 
+0xe5, 0x90, 0x23, 0x68, 0xe1, 0x51, 0x00, 0x02, 0xda, 0x00, 0x00, 0x01, 0xe5, 0x90, 0x13, 0x30, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x90, 0x13, 0x68, 0xe5, 0x80, 0x13, 0x68, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x08, 0xe0, 
+0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0xb7, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x08, 0xb5, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0xb3, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0x00, 0x08, 0xb1, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0xaf, 0xe3, 0xa0, 0x00, 0x14, 0xeb, 0x00, 0x08, 0xad, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0xab, 0xe3, 0xa0, 0x00, 0x16, 0xeb, 0x00, 0x08, 0xa9, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0xa7, 
+0xe3, 0xa0, 0x00, 0x16, 0xeb, 0x00, 0x08, 0xa5, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x08, 0xa0, 0xe5, 0x84, 0x02, 0xd8, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x08, 0x9d, 
+0xe5, 0x84, 0x02, 0xdc, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x08, 0x9a, 0xe5, 0x84, 0x02, 0xe0, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x08, 0x97, 0xe5, 0x84, 0x02, 0xe4, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x08, 0x94, 0xe5, 0x84, 0x02, 0xe8, 
+0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x08, 0x91, 0xe5, 0x84, 0x02, 0xec, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x8e, 0xe5, 0x84, 0x02, 0xf0, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x8b, 0xe5, 0x84, 0x02, 0xf4, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0x00, 0x08, 0x88, 0xe5, 0x84, 0x02, 0xf8, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x85, 0xe5, 0x84, 0x03, 0x24, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x82, 0xe5, 0x84, 0x02, 0xfc, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x7f, 
+0xe5, 0x84, 0x03, 0x28, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x7c, 0xe5, 0x84, 0x03, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x79, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x77, 0xe5, 0x84, 0x03, 0x04, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0x00, 0x08, 0x74, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x72, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x6e, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x08, 0x6c, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0x00, 0x08, 0x6a, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0x00, 0x08, 0x68, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x08, 0x66, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x02, 0xbc, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x0b, 0xe5, 0x94, 0x03, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x02, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x50, 0x03, 0xea, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x50, 0x02, 
+0xea, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x50, 0x01, 0xea, 0x00, 0x00, 0x0a, 0xe5, 0x94, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x50, 0x01, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x03, 0x00, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x50, 0x03, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x50, 0x02, 0xe3, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x10, 0xeb, 0x00, 0x08, 0x45, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x43, 
+0xe3, 0xa0, 0x00, 0x10, 0xeb, 0x00, 0x08, 0x41, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x3f, 0xe2, 0x86, 0x60, 0x01, 0xe1, 0x56, 0x00, 0x05, 0xba, 0xff, 0xff, 0xf4, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x37, 0xe5, 0x84, 0x03, 0x10, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x08, 0x30, 0xe2, 0x84, 0x1e, 0x39, 
+0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf8, 0xea, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe2, 0x84, 0x0e, 0x39, 0xe7, 0x90, 0x01, 0x05, 0xe3, 0xa0, 0x18, 0x56, 
+0xe2, 0x81, 0x1b, 0x02, 0xe2, 0x81, 0x1f, 0x61, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf6, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x1d, 0xe5, 0x84, 0x03, 0x14, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x08, 0x16, 0xe2, 0x84, 0x1e, 0x49, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf8, 
+0xea, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x10, 0xe3, 0xa0, 0x18, 0x56, 0xe2, 0x81, 0x1b, 0x02, 0xe2, 0x81, 0x1f, 0xa1, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 
+0xba, 0xff, 0xff, 0xf7, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x08, 0x02, 0xe5, 0x94, 0x03, 0x08, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x03, 0x10, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x10, 0xe5, 0x94, 0x03, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x03, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x84, 0x03, 0x14, 0xe5, 0x94, 0x03, 0x10, 0xe1, 0xa0, 0x03, 0x00, 0xe5, 0x94, 0x13, 0x14, 0xe1, 0x80, 0x03, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x08, 0x00, 0xe5, 0x94, 0x03, 0x10, 0xe5, 0x84, 0x03, 0x08, 0xe5, 0x94, 0x03, 0x14, 
+0xe5, 0x84, 0x03, 0x0c, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x07, 0xe4, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x07, 0xe2, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x08, 
+0xeb, 0x00, 0x07, 0xde, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x07, 0xdc, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x07, 0xda, 0xe3, 0xa0, 0x00, 0x0e, 0xeb, 0x00, 0x07, 0xd8, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x07, 0xd6, 0xe3, 0xa0, 0x00, 0x0e, 
+0xeb, 0x00, 0x07, 0xd4, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x07, 0xcf, 0xe5, 0x84, 0x02, 0xb8, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x07, 0xcc, 0xe5, 0x84, 0x02, 0xbc, 
+0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x07, 0xc9, 0xe5, 0x84, 0x02, 0xc0, 0xe5, 0x94, 0x02, 0xc0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x06, 0xe5, 0x84, 0x02, 0x9c, 0xea, 0x00, 0x00, 0x0a, 0xe5, 0x94, 0x02, 0xc0, 
+0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xe5, 0x84, 0x02, 0x9c, 0xea, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x02, 0xc0, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0c, 0xe5, 0x84, 0x02, 0x9c, 
+0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x07, 0xb5, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x07, 0xb2, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x00, 0x0c, 0xeb, 0x00, 0x07, 0xaf, 0xe1, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0x00, 0x07, 0xac, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x07, 0xaa, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x07, 0xa7, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x07, 0xa5, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x07, 0xa3, 
+0xe3, 0xa0, 0x10, 0x07, 0xe5, 0x94, 0x02, 0xb8, 0xe0, 0x01, 0x02, 0x40, 0xe3, 0x50, 0x00, 0x05, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x02, 0xb8, 0xe0, 0x01, 0x02, 0x40, 0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x00, 0xe8, 0xbd, 0x81, 0xf0, 
+0xe5, 0x94, 0x02, 0xa4, 0xe1, 0xa0, 0x0a, 0x00, 0xe1, 0xa0, 0x0a, 0x20, 0xe1, 0x80, 0x06, 0x05, 0xe5, 0x84, 0x02, 0xa4, 0xe5, 0x94, 0x02, 0xa8, 0xe1, 0xa0, 0x0a, 0x00, 0xe1, 0xa0, 0x0a, 0x20, 0xe1, 0x80, 0x06, 0x06, 0xe5, 0x84, 0x02, 0xac, 
+0xe5, 0x94, 0x03, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x94, 0x02, 0xbc, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x94, 0x12, 0xac, 0xe2, 0x81, 0x00, 0x1f, 0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x1d, 0xa1, 
+0xe1, 0xa0, 0x12, 0xc1, 0xe1, 0xa0, 0x12, 0x81, 0xe5, 0x84, 0x12, 0xa8, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x94, 0x02, 0xac, 0xe5, 0x84, 0x02, 0xa8, 0xe2, 0x84, 0x1f, 0xa9, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x07, 0x81, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x94, 0x02, 0xa4, 0xe5, 0x81, 0x01, 0x18, 0xe5, 0x94, 0x02, 0xac, 0xe5, 0x81, 0x01, 0x1c, 0xea, 0xff, 0xff, 0xd9, 0xe9, 0x2d, 0x4f, 0xf1, 0xe2, 0x4d, 0xd0, 0x20, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x03, 0x20, 0xe3, 0xa0, 0x00, 0x05, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x07, 0x68, 0xe5, 0x9d, 0x20, 0x20, 
+0xe5, 0x82, 0x02, 0xb8, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x07, 0x64, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x02, 0xbc, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x07, 0x60, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x02, 0xc0, 0xe5, 0x9d, 0x00, 0x20, 
+0xe5, 0x90, 0x02, 0xc0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x06, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x02, 0x9c, 0xea, 0x00, 0x00, 0x0e, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xc0, 0xe3, 0x50, 0x00, 0x02, 
+0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x08, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x02, 0x9c, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xc0, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x0c, 
+0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x02, 0x9c, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x07, 0x45, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x07, 0x42, 0xe1, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x00, 0x0c, 0xeb, 0x00, 0x07, 0x3f, 
+0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x07, 0x3c, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x07, 0x3a, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x07, 0x37, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x07, 0x35, 
+0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x07, 0x33, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xb8, 0xe3, 0xa0, 0x10, 0x07, 0xe0, 0x01, 0x02, 0x40, 0xe3, 0x50, 0x00, 0x05, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xb8, 
+0xe0, 0x01, 0x02, 0x40, 0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x01, 0xe2, 0x8d, 0xd0, 0x24, 0xe8, 0xbd, 0x8f, 0xf0, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xa4, 0xe1, 0xa0, 0x0a, 0x00, 0xe1, 0xa0, 0x0a, 0x20, 0xe1, 0x80, 0x06, 0x08, 
+0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x02, 0xa4, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xa8, 0xe1, 0xa0, 0x0a, 0x00, 0xe1, 0xa0, 0x0a, 0x20, 0xe1, 0x80, 0x06, 0x09, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x02, 0xac, 0xe5, 0x9d, 0x00, 0x20, 
+0xe5, 0x90, 0x03, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xbc, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x92, 0x12, 0xac, 0xe2, 0x81, 0x00, 0x1f, 
+0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x1d, 0xa1, 0xe1, 0xa0, 0x12, 0xc1, 0xe1, 0xa0, 0x12, 0x81, 0xe5, 0x82, 0x12, 0xa8, 0xea, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xac, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x02, 0xa8, 
+0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xa4, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x92, 0x12, 0xa8, 0xe1, 0x80, 0x07, 0x81, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xa4, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x01, 0x18, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xac, 0xe5, 0x81, 0x01, 0x1c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x04, 0x0c, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x8d, 0x20, 0x14, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x20, 0x14, 
+0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x20, 0x14, 0xe2, 0x52, 0xc9, 0x7a, 0xa2, 0x5c, 0xcd, 0x12, 0xba, 0xff, 0xff, 0xf8, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x0d, 0x04, 0xe2, 0x80, 0x00, 0x03, 0xe5, 0x9d, 0x20, 0x20, 
+0xe5, 0x82, 0x01, 0x70, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x11, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x01, 0x70, 0xe5, 0x9d, 0x20, 0x14, 0xe1, 0x50, 0x00, 0x02, 0x9a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x20, 
+0xe2, 0x80, 0x0e, 0x12, 0xe5, 0x9d, 0x20, 0x14, 0xe7, 0x80, 0x21, 0x02, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xe0, 0x01, 0x02, 0xe5, 0x9d, 0x20, 0x20, 0xe2, 0x82, 0x1e, 0x12, 0xe5, 0x9d, 0x20, 0x14, 0xe7, 0x81, 0x01, 0x02, 0xe5, 0x9d, 0x20, 0x14, 
+0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x20, 0x14, 0xe3, 0x52, 0x00, 0x14, 0xba, 0xff, 0xff, 0xea, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xa4, 0xe2, 0x80, 0x00, 0x0f, 0xe1, 0xa0, 0x02, 0x40, 0xe5, 0x8d, 0x00, 0x10, 
+0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x02, 0xa8, 0xe2, 0x80, 0x00, 0x0f, 0xe1, 0xa0, 0x52, 0x40, 0xe5, 0x9d, 0x00, 0x10, 0xe1, 0xa0, 0x02, 0x00, 0xe5, 0x8d, 0x00, 0x10, 0xe1, 0xa0, 0x52, 0x05, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 
+0xe5, 0x90, 0x01, 0x2c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x02, 0x34, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x03, 0x60, 
+0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x03, 0x60, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x90, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x09, 0x00, 0xe5, 0x8d, 0x00, 0x1c, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x19, 0x08, 0xe5, 0x8d, 0x10, 0x18, 
+0xe5, 0x90, 0x06, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x40, 0xe2, 0x8d, 0x20, 0x1c, 0xe8, 0x92, 0x00, 0x05, 0xe5, 0x82, 0x03, 0x38, 0xe5, 0x9d, 0x00, 0x1c, 0xe5, 0x9d, 0x10, 0x10, 0xe0, 0x20, 0x01, 0x95, 0xe5, 0x9d, 0x20, 0x20, 
+0xe5, 0x82, 0x03, 0x3c, 0xe5, 0x9d, 0x00, 0x10, 0xe0, 0x00, 0x00, 0x95, 0xe5, 0x9d, 0x20, 0x1c, 0xe0, 0x82, 0x00, 0x80, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x03, 0x40, 0xe5, 0x9d, 0x10, 0x10, 0xe0, 0x01, 0x01, 0x95, 0xe0, 0x81, 0x01, 0x01, 
+0xe0, 0x80, 0x1f, 0xa0, 0xe5, 0x9d, 0x20, 0x1c, 0xe0, 0x82, 0x10, 0xc1, 0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x82, 0x13, 0x44, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0x00, 0x20, 0xe2, 0x80, 0x0f, 0x5d, 
+0xe5, 0x9d, 0x10, 0x18, 0xe5, 0x9d, 0x20, 0x14, 0xe7, 0x80, 0x11, 0x02, 0xe5, 0x9d, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x18, 0xe0, 0x20, 0x10, 0x95, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x20, 0x14, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 
+0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x01, 0x70, 0xe5, 0x9d, 0x20, 0x14, 0xe1, 0x50, 0x00, 0x02, 0x8a, 0xff, 0xff, 0xee, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x0d, 0xe5, 0x9d, 0x00, 0x20, 0xe2, 0x80, 0x0f, 0x71, 
+0xe5, 0x9d, 0x10, 0x18, 0xe5, 0x9d, 0x20, 0x14, 0xe7, 0x80, 0x11, 0x02, 0xe5, 0x9d, 0x10, 0x10, 0xe0, 0x00, 0x01, 0x95, 0xe0, 0x80, 0x1f, 0xa0, 0xe5, 0x9d, 0x20, 0x18, 0xe0, 0x82, 0x10, 0xc1, 0xe5, 0x8d, 0x10, 0x18, 0xe5, 0x9d, 0x20, 0x14, 
+0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x01, 0x70, 0xe5, 0x9d, 0x20, 0x14, 0xe1, 0x50, 0x00, 0x02, 0x8a, 0xff, 0xff, 0xec, 0xea, 0x00, 0x00, 0xe0, 0xe5, 0x9d, 0x00, 0x1c, 0xe1, 0xa0, 0x06, 0xc0, 
+0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x9d, 0x10, 0x18, 0xe1, 0xa0, 0x06, 0xc1, 0xe5, 0x8d, 0x00, 0x18, 0xe3, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0xd6, 0xe5, 0x9d, 0x00, 0x10, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x0c, 0xe3, 0x56, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x01, 0xe2, 0x45, 0x00, 0x01, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x60, 0x00, 0xc5, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x9d, 0x10, 0x0c, 0xe1, 0xa0, 0x2f, 0xc1, 0xe0, 0x81, 0x2e, 0x22, 0xe1, 0xa0, 0x02, 0x42, 
+0xe1, 0xa0, 0x2f, 0xc0, 0xe0, 0x80, 0x2e, 0xa2, 0xe1, 0xa0, 0x21, 0xc2, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x8d, 0x20, 0x08, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x2f, 0xc4, 0xe0, 0x84, 0x2e, 0x22, 0xe1, 0xa0, 0x02, 0x42, 0xe1, 0xa0, 0x2f, 0xc0, 
+0xe0, 0x80, 0x2f, 0x22, 0xe1, 0xa0, 0x21, 0x42, 0xe2, 0x82, 0x70, 0x01, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x80, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0xa0, 0xe1, 0xa0, 0xa0, 0x00, 0xe3, 0x56, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe1, 0xa0, 0xb0, 0x00, 0xe3, 0x14, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x5f, 0xe3, 0xa0, 0x00, 0x7f, 0xe5, 0x9d, 0x10, 0x0c, 0xe0, 0x00, 0x04, 0x41, 
+0xe5, 0x8d, 0x00, 0x0c, 0xe5, 0x9f, 0x08, 0x48, 0xe0, 0x00, 0x43, 0x44, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x2b, 0xe2, 0x8d, 0x20, 0x1c, 0xe8, 0x92, 0x00, 0x05, 0xe5, 0x82, 0x03, 0x38, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x9d, 0x20, 0x08, 
+0xe0, 0x20, 0x14, 0x92, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x20, 0x1c, 0xe0, 0x80, 0x00, 0x02, 0xe5, 0x8d, 0x00, 0x1c, 0xe2, 0x8d, 0x20, 0x1c, 0xe8, 0x92, 0x00, 0x05, 0xe5, 0x82, 0x03, 0x3c, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x9d, 0x20, 0x08, 
+0xe0, 0x20, 0x14, 0x92, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x20, 0x1c, 0xe0, 0x80, 0x00, 0x02, 0xe5, 0x8d, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x0e, 0xe5, 0x9d, 0x00, 0x20, 0xe2, 0x80, 0x0f, 0x5d, 
+0xe5, 0x9d, 0x10, 0x18, 0xe5, 0x9d, 0x20, 0x14, 0xe7, 0x80, 0x11, 0x02, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x20, 0x14, 0x92, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x18, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x18, 
+0xe5, 0x9d, 0x20, 0x14, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x01, 0x70, 0xe5, 0x9d, 0x20, 0x14, 0xe1, 0x50, 0x00, 0x02, 0x8a, 0xff, 0xff, 0xeb, 0xea, 0x00, 0x00, 0x78, 0xe2, 0x8d, 0x20, 0x1c, 
+0xe8, 0x92, 0x00, 0x05, 0xe5, 0x82, 0x03, 0x40, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x20, 0x14, 0x92, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x20, 0x1c, 0xe0, 0x80, 0x00, 0x02, 0xe5, 0x8d, 0x00, 0x1c, 0xe2, 0x8d, 0x20, 0x1c, 
+0xe8, 0x92, 0x00, 0x05, 0xe5, 0x82, 0x03, 0x44, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x20, 0x14, 0x92, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x20, 0x1c, 0xe0, 0x80, 0x00, 0x02, 0xe5, 0x8d, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x0e, 0xe5, 0x9d, 0x00, 0x20, 0xe2, 0x80, 0x0f, 0x71, 0xe5, 0x9d, 0x10, 0x18, 0xe5, 0x9d, 0x20, 0x14, 0xe7, 0x80, 0x11, 0x02, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x20, 0x14, 0x92, 
+0xe2, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x18, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x20, 0x14, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x01, 0x70, 0xe5, 0x9d, 0x20, 0x14, 
+0xe1, 0x50, 0x00, 0x02, 0x8a, 0xff, 0xff, 0xeb, 0xea, 0x00, 0x00, 0x4c, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x25, 0xe2, 0x8d, 0x20, 0x1c, 0xe8, 0x92, 0x00, 0x05, 0xe5, 0x82, 0x03, 0x38, 0xe5, 0x9d, 0x00, 0x1c, 0xe5, 0x9d, 0x20, 0x08, 
+0xe0, 0x20, 0x02, 0x97, 0xe5, 0x8d, 0x00, 0x1c, 0xe2, 0x8d, 0x20, 0x1c, 0xe8, 0x92, 0x00, 0x05, 0xe5, 0x82, 0x03, 0x3c, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x20, 0x14, 0x92, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x20, 0x1c, 
+0xe0, 0x80, 0x00, 0x02, 0xe5, 0x8d, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0x00, 0x20, 0xe2, 0x80, 0x0f, 0x5d, 0xe5, 0x9d, 0x10, 0x18, 0xe5, 0x9d, 0x20, 0x14, 0xe7, 0x80, 0x11, 0x02, 
+0xe5, 0x9d, 0x10, 0x18, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x20, 0x12, 0x97, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x20, 0x14, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x01, 0x70, 0xe5, 0x9d, 0x20, 0x14, 
+0xe1, 0x50, 0x00, 0x02, 0x8a, 0xff, 0xff, 0xee, 0xea, 0x00, 0x00, 0x24, 0xe2, 0x8d, 0x20, 0x1c, 0xe8, 0x92, 0x00, 0x05, 0xe5, 0x82, 0x03, 0x40, 0xe5, 0x9d, 0x00, 0x1c, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x20, 0x02, 0x97, 0xe5, 0x8d, 0x00, 0x1c, 
+0xe2, 0x8d, 0x20, 0x1c, 0xe8, 0x92, 0x00, 0x05, 0xe5, 0x82, 0x03, 0x44, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x20, 0x14, 0x92, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x20, 0x1c, 0xe0, 0x80, 0x00, 0x02, 0xe5, 0x8d, 0x00, 0x1c, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0x00, 0x20, 0xe2, 0x80, 0x0f, 0x71, 0xe5, 0x9d, 0x10, 0x18, 0xe5, 0x9d, 0x20, 0x14, 0xe7, 0x80, 0x11, 0x02, 0xe5, 0x9d, 0x10, 0x18, 0xe5, 0x9d, 0x20, 0x08, 
+0xe0, 0x20, 0x12, 0x97, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x20, 0x14, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x20, 0xe5, 0x90, 0x01, 0x70, 0xe5, 0x9d, 0x20, 0x14, 0xe1, 0x50, 0x00, 0x02, 0x8a, 0xff, 0xff, 0xee, 
+0xe2, 0x86, 0x60, 0x01, 0xe3, 0x56, 0x00, 0x02, 0xba, 0xff, 0xff, 0x26, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x0c, 0xea, 0xff, 0xfe, 0x57, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x05, 0xa2, 
+0xea, 0x00, 0x00, 0x39, 0xe2, 0x45, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb5, 0x1a, 0x00, 0x00, 0x33, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x05, 0x77, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x05, 0x75, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0x56, 0x00, 0x08, 
+0x90, 0x8f, 0xf1, 0x06, 0xea, 0x00, 0x00, 0x26, 0xea, 0x00, 0x00, 0x25, 0xea, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x11, 0xea, 0x00, 0x00, 0x13, 0xea, 0x00, 0x00, 0x1e, 0xea, 0x00, 0x00, 0x20, 0xea, 0x00, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x13, 
+0xea, 0x00, 0x00, 0x16, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0xed, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x8b, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x08, 0xea, 0x00, 0x00, 0x13, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0x72, 0xea, 0x00, 0x00, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x1a, 0xea, 0x00, 0x00, 0x0c, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0xec, 0xea, 0x00, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0xa9, 0xea, 0x00, 0x00, 0x04, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfc, 0x90, 
+0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0x00, 0x05, 0x6b, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x05, 0x43, 0xeb, 0xff, 0xfc, 0x84, 0xe3, 0xa0, 0x00, 0x20, 
+0xeb, 0x00, 0x05, 0x50, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb5, 0x0a, 0xff, 0xff, 0xbf, 0xe2, 0x45, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb2, 0x0a, 0xff, 0xff, 0xbc, 0xea, 0xff, 0xff, 0xee, 0xe9, 0x2d, 0x40, 0x10, 
+0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x05, 0x33, 0xe2, 0x84, 0x40, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x05, 0x30, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x0c, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x05, 0x23, 
+0xe5, 0x84, 0x02, 0xd0, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x05, 0x20, 0xe5, 0x84, 0x02, 0xd4, 0xe3, 0xa0, 0x00, 0x10, 0xeb, 0x00, 0x05, 0x1d, 0xe5, 0x94, 0x02, 0xd4, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x02, 0xd4, 
+0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x05, 0x15, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x05, 0x13, 0xe5, 0x94, 0x02, 0xd4, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0x00, 0x05, 0x0e, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x05, 0x0c, 0xe5, 0x94, 0x02, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x09, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 
+0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x14, 0xea, 0x00, 0x00, 0x0e, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x13, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x02, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x0e, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x04, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x04, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x05, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xff, 0xae, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x64, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0xf2, 0xe5, 0x94, 0x03, 0x30, 0xe5, 0x84, 0x00, 0x1c, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x03, 0x68, 
+0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x64, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x6c, 0xeb, 0x00, 0x04, 0xd8, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x04, 0xd6, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x04, 0xd4, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0x00, 0x04, 0xd2, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x04, 0xd0, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x04, 0xce, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x04, 0xcc, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x04, 0xca, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xff, 0x47, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x0c, 0xeb, 0x00, 0x04, 0xc1, 0xe5, 0x84, 0x02, 0xa4, 0xe3, 0xa0, 0x00, 0x0c, 
+0xeb, 0x00, 0x04, 0xbe, 0xe5, 0x84, 0x02, 0xa8, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x04, 0xbb, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x04, 0xb9, 0xe3, 0xa0, 0x00, 0x12, 0xeb, 0x00, 0x04, 0xb7, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x04, 0xb5, 
+0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x04, 0xb3, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x04, 0xb1, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x04, 0xaf, 0xe5, 0x84, 0x03, 0x10, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x50, 0x00, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x04, 0xa8, 0xe2, 0x84, 0x1e, 0x39, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf8, 0xea, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x50, 0x00, 
+0xea, 0x00, 0x00, 0x06, 0xe2, 0x84, 0x0e, 0x39, 0xe7, 0x90, 0x01, 0x05, 0xe3, 0xa0, 0x18, 0x56, 0xe2, 0x81, 0x1b, 0x02, 0xe2, 0x81, 0x1f, 0x61, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf6, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x04, 0x95, 0xe5, 0x84, 0x03, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x04, 0x8e, 0xe2, 0x84, 0x1e, 0x49, 
+0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf8, 0xea, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe2, 0x84, 0x0e, 0x49, 0xe7, 0x90, 0x01, 0x05, 0xe3, 0xa0, 0x18, 0x56, 
+0xe2, 0x81, 0x1b, 0x02, 0xe2, 0x81, 0x1f, 0xa1, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf6, 0xe5, 0x94, 0x03, 0x10, 0xe1, 0xa0, 0x03, 0x00, 0xe5, 0x94, 0x13, 0x14, 0xe1, 0x80, 0x03, 0x81, 
+0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x08, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0xf4, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0x00, 0x04, 0x94, 
+0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x04, 0x6d, 0xe1, 0xa0, 0x40, 0x00, 0xe2, 0x86, 0x60, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xe3, 0x54, 0x0c, 0x01, 0x0a, 0x00, 0x00, 0x10, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb3, 0x0a, 0x00, 0x00, 0x05, 
+0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb7, 0x0a, 0x00, 0x00, 0x0f, 0xe3, 0x50, 0x0f, 0x6e, 0x1a, 0x00, 0x00, 0x10, 0xea, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x94, 0xea, 0x00, 0x00, 0x11, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x77, 0xea, 0x00, 0x00, 0x0d, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x27, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfb, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x56, 0x0f, 0xfa, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf6, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xd6, 
+0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x03, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x02, 0xa8, 0xe3, 0x50, 0x0e, 0xaf, 0xda, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x04, 0x3d, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x04, 0x38, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x94, 0x03, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x94, 0x03, 0x24, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe2, 0x84, 0x0f, 0x86, 0xe7, 0x90, 0x01, 0x05, 0xea, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x85, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x05, 0xe5, 0x84, 0x03, 0x2c, 0xe5, 0x84, 0x50, 0x20, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x04, 0x27, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x04, 0x23, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x04, 0x21, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x04, 0x1f, 
+0xeb, 0xff, 0xfe, 0xe5, 0xe1, 0xa0, 0x00, 0x06, 0xe8, 0xbd, 0x80, 0x70, 0x00, 0x00, 0x01, 0xff, 0xe9, 0x2d, 0x40, 0x7c, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x60, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x86, 0x00, 0x10, 
+0xe3, 0xa0, 0x0b, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x96, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 
+0xe5, 0x84, 0x00, 0x00, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x00, 0xe5, 0x95, 0x00, 0x00, 0xe3, 0xc0, 0x00, 0x01, 0xe5, 0x85, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x01, 0xe3, 0xa0, 0x30, 0x00, 0xe8, 0x8d, 0x00, 0x44, 
+0xe3, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0x00, 0x04, 0x61, 0xe8, 0xbd, 0x80, 0x7c, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe5, 0x95, 0x02, 0xd4, 0xe3, 0x50, 0x00, 0x01, 
+0x0a, 0x00, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x07, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0f, 0xea, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0x00, 0x04, 0x28, 0xe1, 0xa0, 0x40, 0x00, 
+0xea, 0x00, 0x00, 0x0b, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x04, 0x23, 0xe1, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x04, 0x1e, 0xe1, 0xa0, 0x40, 0x00, 
+0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x04, 0xe1, 0xa0, 0x50, 0x03, 0xe5, 0x9d, 0x90, 0x3c, 
+0xe5, 0x9d, 0xa0, 0x38, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xff, 0xd6, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x99, 0x02, 0x98, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xe2, 0x8d, 0xd0, 0x14, 0xe8, 0xbd, 0x8f, 0xf0, 0xe3, 0x14, 0x00, 0x0c, 0x0a, 0x00, 0x00, 0x2f, 0xe5, 0x99, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x18, 0xe5, 0x99, 0x02, 0xf4, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x02, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x03, 0xc1, 0xe1, 0xa0, 0x70, 0x00, 0xe3, 0x57, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x60, 0x01, 0xe3, 0xa0, 0x80, 0x01, 0xea, 0x00, 0x00, 0x2b, 
+0xe3, 0x57, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xea, 0x00, 0x00, 0x26, 0xe3, 0x57, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x60, 0x03, 0xe3, 0xa0, 0x80, 0x01, 0xea, 0x00, 0x00, 0x21, 
+0xe3, 0xa0, 0x60, 0x04, 0xea, 0x00, 0x00, 0x1f, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x03, 0xad, 0xe1, 0xa0, 0x70, 0x00, 0xe3, 0x57, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x60, 0x01, 0xe3, 0xa0, 0x80, 0x01, 0xea, 0x00, 0x00, 0x17, 
+0xe3, 0x57, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x60, 0x02, 0xe3, 0xa0, 0x80, 0x01, 0xea, 0x00, 0x00, 0x12, 0xe3, 0x57, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x60, 0x03, 0xe3, 0xa0, 0x80, 0x01, 0xea, 0x00, 0x00, 0x0d, 
+0xe3, 0xa0, 0x60, 0x04, 0xea, 0x00, 0x00, 0x0b, 0xe3, 0x14, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x09, 0xe5, 0x99, 0x02, 0xf8, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x99, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x02, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0xa0, 0x70, 0x00, 0xe5, 0x99, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x99, 0x02, 0xf4, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x04, 
+0xe3, 0x14, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x03, 0x85, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xb0, 0x00, 0xe5, 0x9d, 0x00, 0x04, 0xe5, 0x80, 0x40, 0x00, 0xe5, 0x9d, 0x00, 0x08, 
+0xe5, 0x80, 0x70, 0x00, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x81, 0xb0, 0x00, 0xe5, 0x85, 0x60, 0x00, 0xe5, 0x8a, 0x80, 0x00, 0xea, 0xff, 0xff, 0xa9, 0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x1c, 0xe1, 0xa0, 0x50, 0x02, 0xe1, 0xa0, 0x40, 0x03, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x10, 0xe2, 0x8d, 0x20, 0x14, 0xe8, 0x8d, 0x00, 0x14, 0xe2, 0x8d, 0x30, 0x18, 0xe1, 0xa0, 0x20, 0x05, 0xe2, 0x8d, 0x10, 0x1c, 0xe8, 0x91, 0x00, 0x03, 0xeb, 0xff, 0xff, 0x8e, 0xe5, 0x9d, 0xc0, 0x1c, 
+0xe5, 0x9c, 0x00, 0x00, 0xe2, 0x00, 0xa0, 0x01, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 0xe2, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x10, 0x01, 0xe0, 0x01, 0x81, 0xc0, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 0xe2, 0x00, 0x00, 0x04, 
+0xe0, 0x01, 0x91, 0x40, 0xe1, 0x88, 0x00, 0x89, 0xe2, 0x40, 0x70, 0x01, 0xe3, 0x57, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe5, 0x9d, 0x00, 0x18, 0xe2, 0x00, 0x00, 0x03, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x95, 0x00, 0x00, 
+0xe2, 0x00, 0x00, 0x01, 0xe5, 0x85, 0x00, 0x00, 0xe5, 0x94, 0x02, 0x98, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x2c, 0xe8, 0xbd, 0x8f, 0xf0, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 
+0xe3, 0x10, 0x00, 0x10, 0x0a, 0x00, 0x00, 0x10, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x03, 0x49, 0xe1, 0xa0, 0x60, 0x00, 0xe5, 0x84, 0x60, 0x20, 0xe5, 0x94, 0x03, 0x20, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe5, 0x94, 0x03, 0x24, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe2, 0x84, 0x0f, 0x86, 0xe7, 0x90, 0x01, 0x06, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x86, 0xe5, 0x84, 0x03, 0x2c, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x63, 0x2c, 0xe5, 0x9d, 0xc0, 0x1c, 
+0xe5, 0x9c, 0x00, 0x00, 0xe3, 0x10, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 0xe3, 0x10, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 0xe3, 0x10, 0x00, 0x01, 
+0x0a, 0x00, 0x00, 0x0f, 0xe5, 0x94, 0x02, 0xf8, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0c, 0xe5, 0x9d, 0x10, 0x20, 0xe5, 0x91, 0x30, 0x00, 0xe2, 0x84, 0x1e, 0x2e, 0xe8, 0x91, 0x00, 0x03, 0xe5, 0x94, 0x22, 0xec, 0xe8, 0x8d, 0x00, 0x0f, 
+0xe5, 0x94, 0x12, 0xf8, 0xe2, 0x84, 0x3f, 0xb6, 0xe8, 0x93, 0x00, 0x0c, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 0xeb, 0x00, 0x03, 0x6a, 0xea, 0x00, 0x00, 0x11, 0xe3, 0x5a, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0f, 0xe3, 0x58, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x0d, 0xe3, 0x59, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0x10, 0x20, 0xe5, 0x91, 0x30, 0x00, 0xe2, 0x84, 0x1e, 0x2e, 0xe8, 0x91, 0x00, 0x03, 0xe5, 0x94, 0x22, 0xec, 0xe8, 0x8d, 0x00, 0x0f, 0xe5, 0x94, 0x12, 0xf8, 
+0xe2, 0x84, 0x3f, 0xb6, 0xe8, 0x93, 0x00, 0x0c, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 0xeb, 0x00, 0x03, 0x57, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 0xe3, 0x10, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x02, 0xf8, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x03, 0x03, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 0xe3, 0x10, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x03, 0x37, 
+0xe1, 0xa0, 0xb0, 0x00, 0xea, 0x00, 0x00, 0x0a, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 0xe3, 0x10, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x94, 0x02, 0x9c, 0xe1, 0xa0, 0x00, 0x11, 0xe2, 0x40, 0x00, 0x01, 
+0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xb0, 0x00, 0xe5, 0x94, 0x03, 0x20, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x14, 0xe5, 0x94, 0x03, 0x24, 0xe1, 0xa0, 0x0d, 0x00, 0xe1, 0x80, 0x0b, 0x89, 0xe1, 0x80, 0x0b, 0x08, 
+0xe5, 0x9d, 0x10, 0x18, 0xe1, 0x80, 0x0a, 0x01, 0xe1, 0x80, 0x09, 0x07, 0xe5, 0x9d, 0x10, 0x14, 0xe1, 0x80, 0x05, 0x81, 0xe5, 0x94, 0x10, 0x10, 0xe1, 0x80, 0x05, 0x01, 0xe1, 0x80, 0x03, 0x0a, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x00, 
+0xe5, 0x95, 0x00, 0x00, 0xe1, 0xa0, 0x0d, 0x80, 0xe5, 0x94, 0x10, 0x20, 0xe1, 0x80, 0x07, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x0d, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0x80, 0x0b, 0x89, 0xe1, 0x80, 0x0b, 0x08, 
+0xe1, 0x80, 0x09, 0x07, 0xe5, 0x94, 0x10, 0x10, 0xe1, 0x80, 0x05, 0x01, 0xe1, 0x80, 0x03, 0x0a, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x94, 0x00, 0x20, 0xe1, 0x81, 0x07, 0x00, 0xe3, 0xa0, 0x16, 0x02, 
+0xe5, 0x81, 0x00, 0x04, 0xe5, 0x94, 0x20, 0x10, 0xe8, 0x8d, 0x00, 0x14, 0xe1, 0xa0, 0x10, 0x0b, 0xe1, 0xa0, 0x00, 0x0a, 0xe5, 0x94, 0x22, 0xe8, 0xe5, 0x94, 0x32, 0xfc, 0xeb, 0x00, 0x03, 0x27, 0xe5, 0x94, 0x02, 0xd4, 0xe3, 0x50, 0x00, 0x02, 
+0x1a, 0x00, 0x00, 0x0d, 0xe5, 0x9d, 0xc0, 0x1c, 0xe5, 0x9c, 0x00, 0x00, 0xe3, 0x10, 0x00, 0x09, 0x1a, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x20, 
+0xe5, 0x81, 0x00, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x20, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0x5e, 0xe9, 0x2d, 0x47, 0xf0, 0xe1, 0xa0, 0x90, 0x00, 0xe1, 0xa0, 0x60, 0x01, 
+0xe1, 0xa0, 0x40, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x02, 0x98, 0xe5, 0x84, 0x00, 0x0c, 0xeb, 0x00, 0x02, 0xcd, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x02, 0xb6, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x55, 0x0c, 0x01, 0x9a, 0x00, 0x00, 0x01, 
+0xe3, 0x55, 0x0e, 0x1b, 0x3a, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0xe8, 0xbd, 0x87, 0xf0, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x02, 0x9d, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0x53, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x70, 0x00, 
+0xea, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x0b, 0xeb, 0x00, 0x02, 0xa6, 0xe3, 0x50, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x00, 0xe2, 0x87, 0x70, 0x21, 0xe3, 0xa0, 0x00, 0x0b, 0xeb, 0x00, 0x02, 0x91, 0xe3, 0xa0, 0x00, 0x0b, 0xeb, 0x00, 0x02, 0x9f, 
+0xe3, 0x50, 0x00, 0x08, 0x0a, 0xff, 0xff, 0xf4, 0xe3, 0xa0, 0x00, 0x0b, 0xeb, 0x00, 0x02, 0x9b, 0xe3, 0x50, 0x00, 0x0f, 0x0a, 0xff, 0xff, 0xf0, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x02, 0xc1, 0xe0, 0x80, 0x00, 0x07, 0xe5, 0x86, 0x00, 0x00, 
+0xe5, 0x94, 0x02, 0x98, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xdf, 0xe2, 0x05, 0x00, 0xff, 0xe0, 0x80, 0x03, 0x88, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x94, 0x12, 0xb0, 0xe5, 0x96, 0x20, 0x00, 
+0xe0, 0x20, 0x20, 0x91, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x86, 0x00, 0x00, 0xea, 0xff, 0xff, 0xd4, 0xe9, 0x2d, 0x41, 0xff, 0xe1, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x40, 0x01, 0xe3, 0xa0, 0x80, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x0c, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x00, 0x0c, 0xe5, 0x94, 0x10, 0x00, 0xe1, 0x50, 0x00, 0x01, 0xda, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x20, 0x04, 0xe2, 0x8d, 0x10, 0x0c, 0xe1, 0xa0, 0x00, 0x06, 
+0xeb, 0xff, 0xff, 0xb5, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x05, 0xe2, 0x8d, 0xd0, 0x10, 0xe8, 0xbd, 0x81, 0xf0, 0xe5, 0x94, 0x00, 0x0c, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x90, 0x00, 0x90, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x00, 0x04, 0xe5, 0x94, 0x10, 0x0c, 0xe1, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x2a, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x00, 0x0c, 0xe1, 0x50, 0x00, 0x06, 
+0xba, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xed, 0xe5, 0x94, 0x00, 0x04, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x94, 0x00, 0x04, 0xe5, 0x94, 0x10, 0x0c, 0xe1, 0x50, 0x00, 0x01, 
+0xba, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0xa0, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0xa4, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0xcc, 0xe5, 0x94, 0x00, 0x04, 0xe5, 0x94, 0x10, 0x0c, 0xe1, 0x50, 0x00, 0x01, 0xba, 0xff, 0xff, 0xda, 0xe3, 0xa0, 0x00, 0x40, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xc8, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x90, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0c, 0xe5, 0x94, 0x00, 0x04, 0xe5, 0x94, 0x10, 0x0c, 0xe1, 0x50, 0x00, 0x01, 0xda, 0x00, 0x00, 0x08, 0xe5, 0x94, 0x00, 0x0c, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x84, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x0c, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x40, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x00, 0x0c, 0xe1, 0x50, 0x00, 0x06, 
+0xba, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xb1, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x1f, 0xe3, 0xa0, 0x00, 0x17, 0xeb, 0x00, 0x02, 0x1f, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 
+0xe5, 0x94, 0x02, 0x98, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x02, 0x98, 0xea, 0xff, 0xff, 0xa3, 0xe3, 0xa0, 0x70, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x0b, 
+0xeb, 0x00, 0x02, 0x12, 0xe3, 0x50, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x00, 0xe2, 0x87, 0x70, 0x21, 0xe3, 0xa0, 0x00, 0x0b, 0xeb, 0x00, 0x01, 0xfd, 0xe3, 0xa0, 0x00, 0x0b, 0xeb, 0x00, 0x02, 0x0b, 0xe3, 0x50, 0x00, 0x08, 0x0a, 0xff, 0xff, 0xf4, 
+0xe3, 0xa0, 0x00, 0x0b, 0xeb, 0x00, 0x02, 0x07, 0xe3, 0x50, 0x00, 0x0f, 0x0a, 0xff, 0xff, 0xf0, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x02, 0x2d, 0xe0, 0x80, 0x00, 0x07, 0xe5, 0x8d, 0x00, 0x0c, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x94, 0x00, 0x0c, 
+0xe5, 0x81, 0x02, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x94, 0x00, 0x0c, 0xe5, 0x81, 0x00, 0x10, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0c, 0xe1, 0xa0, 0x30, 0x04, 0xe1, 0xa0, 0x20, 0x0d, 0xe2, 0x8d, 0x10, 0x04, 0xe2, 0x8d, 0x00, 0x08, 0xeb, 0xff, 0xfe, 0x61, 
+0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x75, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0xff, 0xff, 0x73, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x04, 0xea, 0xff, 0xff, 0xc9, 0xe1, 0xa0, 0x20, 0x04, 0xe2, 0x8d, 0x10, 0x08, 
+0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0xb3, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x90, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0x5b, 0xe5, 0x94, 0x00, 0x0c, 0xe5, 0x94, 0x10, 0x04, 0xe1, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe5, 0x94, 0x00, 0x0c, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x0c, 0xe5, 0x94, 0x00, 0x04, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x04, 
+0xe5, 0x9d, 0x00, 0x0c, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x0c, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x00, 0x0c, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x0c, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x0c, 
+0xe5, 0x94, 0x00, 0x0c, 0xe1, 0x50, 0x00, 0x06, 0xba, 0xff, 0xff, 0x96, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0xff, 0xff, 0x4b, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x05, 0x94, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x04, 0xe3, 0xe0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x0c, 0xe2, 0x84, 0x1e, 0x2b, 0xe8, 0x91, 0x00, 0x03, 0xe0, 0x06, 0x00, 0x91, 0xe5, 0x94, 0x02, 0xec, 
+0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x60, 0xc6, 0xe1, 0xa0, 0x10, 0x04, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x02, 0x45, 0xe5, 0x94, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x39, 0xe3, 0xa0, 0x00, 0x02, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0xdc, 0xe5, 0x9f, 0x06, 0x3c, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 0xe1, 0xa0, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9f, 0x06, 0x04, 0xe3, 0xa0, 0x18, 0x56, 
+0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x02, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x28, 0xba, 0xff, 0xff, 0xf9, 0xe2, 0x87, 0x70, 0x01, 
+0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe3, 0x57, 0x00, 0x02, 0xba, 0xff, 0xff, 0xe6, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 0xe5, 0x94, 0x02, 0xa4, 0xe1, 0xa0, 0x0a, 0x80, 0xe1, 0xa0, 0x0a, 0xa0, 0xe5, 0x94, 0x12, 0xa8, 
+0xe1, 0xa0, 0x1a, 0x81, 0xe1, 0xa0, 0x1a, 0xa1, 0xe1, 0x80, 0x05, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0x00, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0xdf, 0xe1, 0xa0, 0x80, 0x00, 0xe5, 0x94, 0x00, 0x0c, 0xe1, 0x50, 0x00, 0x06, 0x0a, 0x00, 0x00, 0x0e, 0xe3, 0x78, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x0c, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 
+0xe5, 0x81, 0x00, 0xa0, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0x58, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x00, 0xe8, 0xbd, 0x81, 0xf0, 0xe1, 0xa0, 0x10, 0x04, 
+0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x01, 0xdb, 0xea, 0xff, 0xff, 0xd2, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x05, 0x90, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x81, 0xf0, 0xe3, 0xa0, 0x18, 0x55, 
+0xe5, 0x94, 0x03, 0x38, 0xe5, 0x81, 0x02, 0x00, 0xe5, 0x94, 0x03, 0x3c, 0xe5, 0x81, 0x02, 0x04, 0xe5, 0x94, 0x03, 0x40, 0xe5, 0x81, 0x02, 0x80, 0xe5, 0x94, 0x03, 0x44, 0xe5, 0x81, 0x02, 0x84, 0xe5, 0x94, 0x03, 0x60, 0xe5, 0x81, 0x01, 0x90, 
+0xe3, 0xa0, 0x00, 0x05, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x06, 0x00, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x20, 0xe5, 0x81, 0x00, 0x18, 
+0xe3, 0xa0, 0x00, 0x05, 0xe5, 0x81, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x20, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x24, 0xe5, 0x81, 0x00, 0x24, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x5c, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x5c, 0xe5, 0x94, 0x03, 0x78, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x03, 0x78, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0xbf, 0xe5, 0x94, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0xbc, 0xe5, 0x94, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x16, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 
+0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x10, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 
+0xe5, 0x90, 0x70, 0x5c, 0xe3, 0x57, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe2, 0x67, 0x50, 0x08, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x00, 0xda, 0xe2, 0x45, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0x60, 0xe3, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe2, 0x84, 0x0e, 0x39, 0xe7, 0x90, 0x01, 0x06, 0xe3, 0xa0, 0x18, 0x56, 0xe2, 0x81, 0x1b, 0x02, 0xe2, 0x81, 0x1f, 0x61, 0xe7, 0x81, 0x01, 0x06, 
+0xe2, 0x86, 0x60, 0x01, 0xe3, 0x56, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf6, 0xe3, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe2, 0x84, 0x0e, 0x49, 0xe7, 0x90, 0x01, 0x06, 0xe3, 0xa0, 0x18, 0x56, 0xe2, 0x81, 0x1b, 0x02, 0xe2, 0x81, 0x1f, 0xa1, 
+0xe7, 0x81, 0x01, 0x06, 0xe2, 0x86, 0x60, 0x01, 0xe3, 0x56, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf6, 0xe5, 0x94, 0x03, 0x10, 0xe1, 0xa0, 0x03, 0x00, 0xe5, 0x94, 0x13, 0x14, 0xe1, 0x80, 0x03, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x08, 0x00, 
+0xe5, 0x94, 0x12, 0xa4, 0xe2, 0x81, 0x00, 0x0f, 0xe1, 0xa0, 0x1f, 0xc0, 0xe0, 0x80, 0x1e, 0x21, 0xe1, 0xa0, 0x12, 0x41, 0xe5, 0x84, 0x12, 0xb0, 0xe5, 0x94, 0x23, 0x20, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x22, 0xbc, 
+0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x22, 0xa8, 0xe2, 0x82, 0x10, 0x1f, 0xe1, 0xa0, 0x2f, 0xc1, 0xe0, 0x81, 0x2d, 0xa2, 0xe1, 0xa0, 0x22, 0xc2, 0xe1, 0xa0, 0x20, 0x82, 0xea, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x22, 0xa8, 
+0xe2, 0x82, 0x00, 0x0f, 0xe1, 0xa0, 0x2f, 0xc0, 0xe0, 0x80, 0x2e, 0x22, 0xe1, 0xa0, 0x22, 0x42, 0xe5, 0x84, 0x22, 0xb4, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x0e, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x84, 0x03, 0x78, 0xe5, 0x94, 0x03, 0x20, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x05, 0xe5, 0x94, 0x02, 0xfc, 0xe1, 0x81, 0x01, 0x80, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x48, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x10, 0x06, 0xe5, 0x94, 0x02, 0xfc, 0xe1, 0x81, 0x01, 0x80, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x48, 0xe5, 0x94, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x94, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x02, 0xa0, 0xe5, 0x94, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x2c, 0xe5, 0x94, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 
+0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0xef, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0xc6, 0xe5, 0x94, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 
+0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x23, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x18, 0xe5, 0x94, 0x00, 0x14, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x14, 0xe5, 0x94, 0x00, 0x14, 
+0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x28, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0x97, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x94, 0x00, 0x28, 0xe5, 0x81, 0x04, 0x08, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x81, 0x05, 0x0c, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x60, 0xe5, 0x84, 0x03, 0x34, 0xe3, 0xa0, 0x0c, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 
+0xe5, 0x94, 0x02, 0xec, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x02, 0xa0, 
+0xe5, 0x94, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x3c, 0xe5, 0x94, 0x03, 0x70, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x70, 0xe5, 0x94, 0x03, 0x74, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x74, 0xea, 0x00, 0x00, 0x35, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0x69, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x08, 0xe3, 0xe0, 0x01, 0x02, 0xe5, 0x94, 0x10, 0x24, 0xe2, 0x84, 0x20, 0x80, 0xe7, 0x82, 0x01, 0x01, 0xe5, 0x94, 0x10, 0x24, 
+0xe2, 0x84, 0x20, 0x30, 0xe7, 0x82, 0x01, 0x01, 0xe5, 0x94, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x2c, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe2, 0x84, 0x00, 0x80, 
+0xe7, 0x90, 0x01, 0x05, 0xe3, 0x70, 0x01, 0x06, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x2c, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x03, 0xba, 0xff, 0xff, 0xf6, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x05, 0x90, 
+0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe2, 0x84, 0x00, 0x30, 0xe7, 0x90, 0x01, 0x05, 0xe3, 0x70, 0x01, 0x06, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x05, 0x90, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x94, 0x01, 0x70, 
+0xe1, 0x50, 0x00, 0x05, 0x8a, 0xff, 0xff, 0xf5, 0xe5, 0x94, 0x05, 0x90, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x7c, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x05, 0x0c, 0xe5, 0x81, 0x05, 0x10, 
+0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x05, 0x0c, 0xea, 0xff, 0xfe, 0xe0, 0x00, 0x00, 0x80, 0x20, 0xe1, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x92, 0x20, 0x34, 
+0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x82, 0x10, 0x3c, 0xe5, 0x92, 0x00, 0x28, 0xe3, 0xa0, 0x20, 0x01, 0xe3, 0xa0, 0x38, 0x52, 
+0xe5, 0x83, 0x20, 0x38, 0xe1, 0x2f, 0xff, 0x1e, 0xe1, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x10, 0x3c, 0xe5, 0x90, 0x00, 0x28, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe3, 0x10, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 
+0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfc, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xd5, 0xeb, 0xff, 0xff, 0xf1, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0xff, 0xff, 0xfa, 0xea, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xff, 0xcf, 0xe2, 0x84, 0x40, 0x01, 0xe5, 0x9f, 0x01, 0x10, 0xe1, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x00, 0x18, 
+0xeb, 0xff, 0xff, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xf4, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x10, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x82, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x1c, 
+0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0xf0, 0xe2, 0x8d, 0x50, 0x1c, 0xe8, 0x95, 0x00, 0x30, 0xe2, 0x8d, 0xe0, 0x14, 0xe8, 0x9e, 0x50, 0x00, 0xe1, 0xa0, 0x6c, 0x04, 0xe1, 0x86, 0x69, 0x80, 0xe1, 0x86, 0x69, 0x01, 0xe1, 0x86, 0x68, 0x05, 
+0xe1, 0x86, 0x66, 0x02, 0xe1, 0x86, 0x64, 0x03, 0xe1, 0x86, 0x62, 0x0c, 0xe1, 0x86, 0x60, 0x0e, 0xe3, 0xa0, 0x78, 0x52, 0xe5, 0x87, 0x60, 0x4c, 0xe3, 0xa0, 0x68, 0x02, 0xe5, 0x87, 0x60, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x68, 0x52, 
+0xe5, 0x96, 0x60, 0x50, 0xe3, 0x56, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe8, 0xbd, 0x80, 0xf0, 0xe9, 0x2d, 0x40, 0x30, 0xe2, 0x8d, 0xe0, 0x0c, 0xe8, 0x9e, 0x50, 0x00, 0xe1, 0x80, 0x40, 0x81, 
+0xe1, 0x84, 0x43, 0x8c, 0xe5, 0x9e, 0x53, 0x28, 0xe1, 0x84, 0x44, 0x05, 0xe3, 0xa0, 0x58, 0x52, 0xe5, 0x85, 0x40, 0x58, 0xe3, 0xa0, 0x40, 0x10, 0xe5, 0x85, 0x40, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x48, 0x52, 0xe5, 0x94, 0x40, 0x20, 
+0xe3, 0x54, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe8, 0xbd, 0x80, 0x30, 0x00, 0x98, 0x96, 0x80, 0xe5, 0x90, 0x20, 0x18, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x10, 0x00, 
+0xea, 0x00, 0x00, 0x04, 0xe2, 0x80, 0x20, 0x30, 0xe7, 0x92, 0x21, 0x01, 0xe2, 0x80, 0x30, 0x80, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x21, 0x70, 0xe1, 0x52, 0x00, 0x01, 0x8a, 0xff, 0xff, 0xf7, 0xe5, 0x90, 0x11, 0x20, 
+0xe5, 0x90, 0x20, 0x1c, 0xe2, 0x80, 0x30, 0x30, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x80, 0x2f, 0x5d, 0xe7, 0x92, 0x21, 0x01, 0xe3, 0xa0, 0x38, 0x55, 0xe5, 0x83, 0x20, 0x28, 0xe2, 0x80, 0x2f, 0x71, 0xe7, 0x92, 0x21, 0x01, 0xe5, 0x83, 0x20, 0x2c, 
+0xe5, 0x90, 0x20, 0x28, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe3, 0xe0, 0x21, 0x02, 0xe5, 0x90, 0x30, 0x24, 0xe2, 0x80, 0xc0, 0x80, 0xe7, 0x8c, 0x21, 0x03, 0xe5, 0x90, 0x30, 0x24, 0xe2, 0x80, 0xc0, 0x30, 0xe7, 0x8c, 0x21, 0x03, 
+0xe5, 0x90, 0x20, 0x2c, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0d, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x20, 0x2c, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe2, 0x80, 0x20, 0x80, 0xe7, 0x92, 0x21, 0x01, 0xe3, 0x72, 0x01, 0x06, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x20, 0x01, 0xe5, 0x80, 0x20, 0x2c, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x21, 0x70, 0xe1, 0x52, 0x00, 0x01, 0x8a, 0xff, 0xff, 0xf5, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0xf0, 0xe3, 0xe0, 0x61, 0x02, 
+0xe5, 0x91, 0xe3, 0x88, 0xe0, 0x06, 0x40, 0xce, 0xe5, 0x91, 0xe3, 0x88, 0xe2, 0x0e, 0x20, 0x01, 0xe5, 0x91, 0xe3, 0x8c, 0xe0, 0x06, 0x50, 0xce, 0xe5, 0x91, 0xe3, 0x8c, 0xe2, 0x0e, 0x30, 0x01, 0xe5, 0x91, 0xe2, 0xa4, 0xe0, 0x0e, 0xea, 0x46, 
+0xe5, 0x91, 0x62, 0xa8, 0xe1, 0xa0, 0x6a, 0x86, 0xe1, 0xa0, 0x6a, 0xa6, 0xe1, 0x8e, 0xe5, 0x86, 0xe3, 0xa0, 0x68, 0x56, 0xe5, 0x86, 0xe0, 0x00, 0xe5, 0x91, 0x62, 0xe8, 0xe1, 0xa0, 0x6f, 0x06, 0xe1, 0xa0, 0x63, 0xa6, 0xe5, 0x91, 0x72, 0xf4, 
+0xe2, 0x07, 0x70, 0x0f, 0xe1, 0x86, 0x69, 0x07, 0xe5, 0x91, 0x72, 0xa0, 0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x70, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe2, 0x07, 0x70, 0x01, 0xe1, 0x86, 0x66, 0x87, 
+0xe5, 0x91, 0x72, 0xec, 0xe2, 0x87, 0xe0, 0x01, 0xe1, 0xa0, 0x7f, 0xce, 0xe0, 0x8e, 0x7f, 0x27, 0xe1, 0xa0, 0x71, 0x47, 0xe0, 0x4e, 0x71, 0x07, 0xe2, 0x07, 0x70, 0x03, 0xe1, 0x86, 0x65, 0x87, 0xe5, 0x91, 0x72, 0xf0, 0xe2, 0x07, 0x70, 0x01, 
+0xe1, 0x86, 0x65, 0x07, 0xe5, 0x91, 0x72, 0xd4, 0xe2, 0x47, 0x70, 0x01, 0xe2, 0x07, 0x70, 0x0f, 0xe1, 0x86, 0x60, 0x07, 0xe3, 0xa0, 0x78, 0x56, 0xe5, 0x87, 0x60, 0x04, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xe8, 0x56, 
+0xe5, 0x8e, 0x20, 0x08, 0xe5, 0x91, 0xe2, 0xd4, 0xe3, 0x5e, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0xc0, 0x02, 0xe1, 0xa0, 0x20, 0x03, 0xe1, 0xa0, 0x30, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x1c, 0xe5, 0x91, 0xe2, 0x14, 
+0xe3, 0x5e, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0xe0, 0x00, 0xe1, 0xa0, 0x20, 0x0e, 0xe1, 0xa0, 0x30, 0x0e, 0xe5, 0x91, 0xe0, 0x14, 0xe3, 0x5e, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x91, 0xe2, 0xd4, 0xe3, 0x5e, 0x00, 0x03, 
+0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0xe0, 0x00, 0xe1, 0xa0, 0x20, 0x0e, 0xe1, 0xa0, 0x30, 0x0e, 0xe5, 0x91, 0xe0, 0x14, 0xe3, 0x5e, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x91, 0xe2, 0xec, 0xe3, 0x5e, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x05, 
+0xe5, 0x91, 0xe2, 0xd4, 0xe3, 0x5e, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0xe0, 0x01, 0xe5, 0x81, 0xe2, 0x14, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xe0, 0x00, 0xe5, 0x81, 0xe2, 0x14, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x03, 
+0xe1, 0xa0, 0xea, 0x83, 0xe1, 0x8e, 0xe8, 0x02, 0xe3, 0xa0, 0x68, 0x56, 0xe5, 0x86, 0xe0, 0x10, 0xe3, 0xa0, 0x68, 0x56, 0xe5, 0x91, 0xe2, 0xf8, 0xe5, 0x86, 0xe0, 0x18, 0xe5, 0x91, 0xe2, 0xe4, 0xe1, 0xa0, 0xee, 0x0e, 0xe1, 0xa0, 0xe2, 0x2e, 
+0xe5, 0x91, 0x62, 0xe0, 0xe2, 0x06, 0x60, 0x0f, 0xe1, 0x8e, 0xe8, 0x06, 0xe5, 0x91, 0x62, 0xdc, 0xe2, 0x06, 0x60, 0x0f, 0xe1, 0x8e, 0xe4, 0x06, 0xe5, 0x91, 0x62, 0xd8, 0xe2, 0x06, 0x60, 0x0f, 0xe1, 0x8e, 0xe0, 0x06, 0xe3, 0xa0, 0x68, 0x56, 
+0xe5, 0x86, 0xe0, 0x1c, 0xe3, 0xa0, 0xe8, 0x56, 0xe5, 0x8e, 0x00, 0x14, 0xe5, 0x91, 0xe2, 0xec, 0xe3, 0x5e, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x91, 0xe2, 0xa0, 0xe3, 0x5e, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0d, 0xe5, 0x91, 0xe2, 0xd4, 
+0xe3, 0x5e, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x0a, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x91, 0xe3, 0x88, 0xe2, 0x0e, 0xe0, 0x01, 0xe5, 0x91, 0x60, 0x1c, 0xe1, 0x8e, 0xe0, 0x86, 0xe5, 0x81, 0xe3, 0x88, 0xe5, 0x91, 0xc3, 0x88, 
+0xe5, 0x91, 0xe3, 0x8c, 0xe5, 0x81, 0xe3, 0x88, 0xe5, 0x81, 0xc3, 0x8c, 0xe8, 0xbd, 0x80, 0xf0, 0xe5, 0x90, 0x30, 0x2c, 0xe3, 0x53, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x80, 0x20, 0x80, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x80, 0x20, 0x30, 
+0xe3, 0xa0, 0x30, 0x00, 0xe5, 0x80, 0x30, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x90, 0x30, 0x24, 0xe7, 0x92, 0x31, 0x03, 0xe7, 0x92, 0xc1, 0x01, 0xe1, 0x53, 0x00, 0x0c, 0xda, 0x00, 0x00, 0x00, 0xe5, 0x80, 0x10, 0x24, 
+0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x31, 0x70, 0xe1, 0x53, 0x00, 0x01, 0x8a, 0xff, 0xff, 0xf5, 0xe5, 0x90, 0x33, 0x70, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x30, 0x00, 0xe5, 0x80, 0x30, 0x24, 0xe5, 0x90, 0x30, 0x24, 
+0xe2, 0x80, 0xcf, 0x5d, 0xe7, 0x9c, 0x31, 0x03, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x8c, 0x34, 0x00, 0xe5, 0x90, 0x30, 0x24, 0xe2, 0x80, 0xcf, 0x71, 0xe7, 0x9c, 0x31, 0x03, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x8c, 0x34, 0x04, 0xe3, 0xa0, 0x10, 0x00, 
+0xea, 0x00, 0x00, 0x05, 0xe2, 0x80, 0x3e, 0x12, 0xe2, 0x81, 0xc0, 0x01, 0xe7, 0x93, 0x31, 0x0c, 0xe2, 0x80, 0xce, 0x12, 0xe7, 0x8c, 0x31, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x13, 0xba, 0xff, 0xff, 0xf7, 0xe3, 0xa0, 0x10, 0x00, 
+0xea, 0x00, 0x00, 0x11, 0xe2, 0x80, 0x3e, 0x12, 0xe7, 0x93, 0x31, 0x01, 0xe3, 0x73, 0x01, 0x06, 0x0a, 0x00, 0x00, 0x08, 0xe2, 0x80, 0x3e, 0x12, 0xe7, 0x93, 0x31, 0x01, 0xe5, 0x90, 0xc0, 0x24, 0xe1, 0x53, 0x00, 0x0c, 0x0a, 0x00, 0x00, 0x03, 
+0xe2, 0x80, 0x3e, 0x12, 0xe7, 0x93, 0x31, 0x01, 0xe3, 0x73, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x90, 0x30, 0x24, 0xe2, 0x80, 0xce, 0x12, 0xe7, 0x8c, 0x31, 0x01, 0xea, 0x00, 0x00, 0x02, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x13, 
+0xba, 0xff, 0xff, 0xeb, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x05, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xeb, 0xff, 0xf5, 0x6e, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x05, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfe, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x01, 0xe2, 0x4d, 0xd0, 0x08, 0xe2, 0x8d, 0x10, 0x04, 
+0xeb, 0x00, 0x00, 0xbe, 0xe3, 0x50, 0x00, 0x00, 0x02, 0x8d, 0xd0, 0x08, 0x08, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 0xe5, 0x9d, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0xa1, 0xe2, 0x8d, 0xd0, 0x08, 0xe3, 0xa0, 0x00, 0x01, 
+0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x01, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0x00, 0x00, 0x5e, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x40, 0x01, 
+0xe5, 0x2d, 0x30, 0x04, 0xeb, 0x00, 0x00, 0x64, 0xe1, 0xa0, 0x60, 0x00, 0xe0, 0x85, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 0x9a, 0x00, 0x00, 0x0a, 0xe1, 0xa0, 0x10, 0x0d, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x00, 0xa2, 0xe1, 0xb0, 0x70, 0x00, 
+0x03, 0xa0, 0x10, 0x00, 0x03, 0xa0, 0x00, 0x09, 0x0b, 0x00, 0x00, 0x4c, 0xe5, 0x9d, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 0x11, 0xa0, 0x50, 0x00, 0xe0, 0x80, 0x40, 0x07, 0xeb, 0x00, 0x00, 0x31, 0xe2, 0x86, 0x10, 0x07, 0xe3, 0xc1, 0x10, 0x07, 
+0xe1, 0xa0, 0x70, 0x00, 0xe5, 0x80, 0x50, 0x08, 0xe1, 0xa0, 0x00, 0x05, 0xe0, 0x81, 0x60, 0x05, 0xeb, 0x00, 0x00, 0x48, 0xe1, 0x54, 0x00, 0x06, 0x08, 0xbd, 0x00, 0xf8, 0x04, 0x9d, 0xf0, 0x04, 0xe1, 0xa0, 0x10, 0x06, 0xe0, 0x44, 0x20, 0x06, 
+0xe5, 0x97, 0x00, 0x08, 0xeb, 0x00, 0x00, 0x75, 0xe8, 0xbd, 0x00, 0xf8, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x00, 0x1e, 0xe1, 0xa0, 0x10, 0x04, 0xe5, 0x90, 0x00, 0x08, 0xeb, 0x00, 0x00, 0x40, 
+0xe8, 0xbd, 0x80, 0x10, 0xe2, 0x52, 0x20, 0x20, 0xe9, 0x2d, 0x40, 0x10, 0x3a, 0x00, 0x00, 0x05, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x22, 0x52, 0x20, 0x20, 0x2a, 0xff, 0xff, 0xf9, 
+0xe1, 0xb0, 0xce, 0x02, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x48, 0xb1, 0x00, 0x18, 0x48, 0xa0, 0x00, 0x18, 0xe1, 0xb0, 0xcf, 0x02, 0xe8, 0xbd, 0x40, 0x10, 0x24, 0x91, 0x30, 0x04, 0x24, 0x80, 0x30, 0x04, 0x01, 0xa0, 0xf0, 0x0e, 
+0xe1, 0xb0, 0x2f, 0x82, 0x44, 0xd1, 0x20, 0x01, 0x24, 0xd1, 0x30, 0x01, 0x24, 0xd1, 0xc0, 0x01, 0x44, 0xc0, 0x20, 0x01, 0x24, 0xc0, 0x30, 0x01, 0x24, 0xc0, 0xc0, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe5, 0x9f, 0x00, 0x04, 0xe0, 0x8f, 0x00, 0x00, 
+0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x08, 0xe0, 0xeb, 0x00, 0x01, 0x29, 0xeb, 0x00, 0x00, 0xa7, 0xe9, 0x2d, 0x00, 0x03, 0xeb, 0x00, 0x01, 0x27, 0xe8, 0xbd, 0x00, 0x03, 0xeb, 0x00, 0x00, 0xe2, 0xe9, 0x2d, 0x00, 0x0f, 0xeb, 0x00, 0x01, 0x26, 
+0xe8, 0xbd, 0x00, 0x0f, 0xeb, 0xff, 0xff, 0x88, 0xea, 0x00, 0x00, 0x7c, 0xe9, 0x2d, 0x40, 0x01, 0xeb, 0x00, 0x01, 0x24, 0xeb, 0x00, 0x01, 0x16, 0xe8, 0xbd, 0x40, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x54, 
+0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x81, 0xe3, 0x50, 0x00, 0x00, 0x08, 0xbd, 0x80, 0x10, 0xe8, 0xbd, 0x40, 0x10, 0xea, 0x00, 0x00, 0x4e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 
+0xe5, 0x80, 0x10, 0x04, 0xe5, 0x80, 0x00, 0x08, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x00, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x81, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x08, 0x33, 0xa0, 0x00, 0x08, 
+0xe2, 0x80, 0x00, 0x07, 0xe3, 0xc0, 0x40, 0x07, 0xe2, 0x41, 0x00, 0x01, 0xe1, 0x54, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x1f, 0xe5, 0x95, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x16, 0xe5, 0x90, 0x20, 0x00, 
+0xe1, 0x52, 0x00, 0x04, 0x3a, 0x00, 0x00, 0x0f, 0xe5, 0x90, 0x20, 0x00, 0xe2, 0x84, 0x30, 0x08, 0xe1, 0x52, 0x00, 0x03, 0x35, 0x90, 0x20, 0x04, 0x35, 0x81, 0x20, 0x04, 0x3a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x30, 0x04, 0xe0, 0x80, 0x20, 0x04, 
+0xe5, 0x82, 0x30, 0x04, 0xe5, 0x90, 0x30, 0x00, 0xe0, 0x43, 0x30, 0x04, 0xe5, 0x82, 0x30, 0x00, 0xe5, 0x81, 0x20, 0x04, 0xe5, 0x80, 0x40, 0x00, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xe8, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xff, 0x55, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xdf, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xeb, 0x00, 0x00, 0x3f, 
+0xe1, 0xa0, 0xc0, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe5, 0x90, 0x30, 0x04, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0xc0, 0x03, 0xe5, 0x93, 0x30, 0x04, 0xe3, 0x53, 0x00, 0x00, 0x11, 0x53, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x9c, 0x30, 0x00, 
+0xe0, 0x83, 0x30, 0x0c, 0xe1, 0x53, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x30, 0x01, 0xe2, 0x81, 0x10, 0x03, 0xe3, 0xc1, 0x10, 0x07, 0xe2, 0x81, 0x10, 0x04, 0xe0, 0x41, 0x30, 0x03, 0xe0, 0x42, 0x20, 0x03, 0xe4, 0x81, 0x20, 0x04, 
+0xeb, 0x00, 0x00, 0x09, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x67, 0xe8, 0xbd, 0x80, 0x10, 0xe5, 0x9f, 0x10, 0x0c, 0xe3, 0xa0, 0x00, 0x18, 0xef, 0x12, 0x34, 0x56, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x03, 0x20, 
+0x00, 0x02, 0x00, 0x26, 0xe2, 0x41, 0x10, 0x04, 0xe1, 0xa0, 0x20, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x11, 0x50, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x92, 0x30, 0x00, 0xe0, 0x83, 0xc0, 0x02, 0xe1, 0x5c, 0x00, 0x01, 
+0x15, 0x82, 0x10, 0x04, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x91, 0x10, 0x00, 0xe0, 0x83, 0x10, 0x01, 0xe5, 0x82, 0x10, 0x00, 0xe1, 0xa0, 0x10, 0x02, 0xe5, 0x91, 0x20, 0x00, 0xe0, 0x82, 0x30, 0x01, 0xe1, 0x53, 0x00, 0x00, 0x15, 0x81, 0x00, 0x04, 
+0x11, 0xa0, 0xf0, 0x0e, 0xe5, 0x90, 0x30, 0x04, 0xe5, 0x81, 0x30, 0x04, 0xe5, 0x90, 0x00, 0x00, 0xe0, 0x82, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xeb, 0x00, 0x00, 0x05, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x7d, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x7f, 0xeb, 0x00, 0x00, 0x91, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0xd1, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x70, 0x00, 0x01, 0xe1, 0xa0, 0x20, 0x00, 
+0x1a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x91, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0x72, 0x00, 0x03, 0x11, 0xa0, 0x10, 0x05, 0x11, 0xa0, 0x00, 0x04, 0x11, 0xa0, 0xe0, 0x0f, 0x11, 0xa0, 0xf0, 0x02, 
+0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x50, 0x0e, 0xeb, 0xff, 0xff, 0x4f, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xc0, 0x00, 0x07, 0xe1, 0xa0, 0x10, 0x0d, 0xe2, 0x80, 0xd0, 0x60, 0xe1, 0xa0, 0xe0, 0x05, 0xe9, 0x2d, 0x40, 0x10, 
+0xe1, 0xa0, 0x30, 0x0a, 0xeb, 0x00, 0x00, 0xdd, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0xb0, 0x00, 0xe8, 0xbd, 0x40, 0x10, 0xe3, 0xc1, 0xd0, 0x07, 0xe1, 0xa0, 0xc0, 0x04, 0xe8, 0xac, 0x09, 0xc0, 
+0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe9, 0x2d, 0x40, 0x13, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x81, 0x10, 0x40, 0xe0, 0x80, 0x20, 0x01, 0xe2, 0x82, 0x2e, 0x11, 
+0xe5, 0x84, 0x20, 0x1c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x10, 0x18, 0xe5, 0x84, 0x00, 0x10, 0xe8, 0xbd, 0x40, 0x13, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x00, 0x14, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe9, 0x2d, 0x00, 0x03, 
+0xeb, 0xff, 0xff, 0x2a, 0xe1, 0xa0, 0x40, 0x00, 0xe8, 0xbd, 0x00, 0x03, 0xe5, 0x94, 0x20, 0x14, 0xe5, 0x94, 0x30, 0x1c, 0xe0, 0x82, 0xe0, 0x00, 0xe0, 0x4d, 0x30, 0x03, 0xe1, 0x5e, 0x00, 0x03, 0xe5, 0x81, 0x20, 0x00, 0x8a, 0x00, 0x00, 0x0a, 
+0xe0, 0x93, 0x30, 0x0e, 0xe2, 0x8e, 0x1a, 0x01, 0xe2, 0x81, 0x10, 0x07, 0xe1, 0xa0, 0x30, 0x63, 0xe3, 0xc3, 0x30, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0x51, 0x00, 0x03, 0x81, 0xa0, 0x10, 0x03, 0xe0, 0x41, 0x00, 0x02, 0xe5, 0x84, 0x10, 0x14, 
+0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x43, 0xc0, 0xe9, 0x2d, 0x00, 0x3e, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x00, 0xb2, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x40, 0x00, 0xe5, 0x8d, 0x50, 0x04, 0xeb, 0xff, 0xff, 0x2c, 0xe5, 0x8d, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xf3, 0x34, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe8, 0x9d, 0x00, 0x03, 
+0xe1, 0xa0, 0x60, 0x02, 0xe1, 0xa0, 0x70, 0x03, 0xeb, 0xff, 0xfe, 0xb8, 0xeb, 0xff, 0xfe, 0xa1, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x80, 0x00, 0xeb, 0xff, 0xfe, 0xf9, 
+0xe1, 0xa0, 0x90, 0x00, 0xe5, 0x80, 0x80, 0x20, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x80, 0x10, 0x01, 0xe5, 0x89, 0x10, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe5, 0x89, 0x00, 0x28, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x0c, 0xe1, 0xa0, 0x00, 0x04, 
+0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x20, 0x06, 0xe1, 0xa0, 0x30, 0x07, 0xe8, 0xbd, 0x01, 0xf0, 0xe8, 0xbd, 0x82, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfe, 0x72, 
+0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xe0, 0x00, 0x00, 0xe3, 0xe0, 0x10, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x55, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe2, 0x40, 0x20, 0x01, 0xe9, 0x2d, 0x40, 0x70, 0xe3, 0x52, 0x00, 0x0e, 0x22, 0x8f, 0x50, 0xc0, 0xe2, 0x8f, 0x40, 0xb8, 0x2a, 0x00, 0x00, 0x1c, 0xe3, 0xa0, 0x20, 0x17, 0xe5, 0x9f, 0x30, 0xc0, 0xe0, 0x02, 0x02, 0x90, 0xe0, 0x8f, 0x30, 0x03, 
+0xe3, 0x50, 0x00, 0x02, 0xe0, 0x82, 0x20, 0x03, 0xe2, 0x42, 0x50, 0x17, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x03, 0x01, 0x12, 0x8f, 0x40, 0xa4, 0x1a, 0x00, 0x00, 0x11, 0xe3, 0x11, 0x03, 0x82, 0x12, 0x8f, 0x40, 0xac, 0x1a, 0x00, 0x00, 0x0e, 
+0xe3, 0x11, 0x02, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0x11, 0x02, 0x02, 0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0x11, 0x01, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0xea, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x08, 
+0x01, 0xa0, 0x40, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x50, 0x00, 0x09, 0x03, 0x51, 0x00, 0x01, 0x02, 0x8f, 0x50, 0xa4, 0xe3, 0xa0, 0x00, 0x0a, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x85, 0x50, 0x01, 0xeb, 0x00, 0x00, 0x2c, 0xe5, 0xd5, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x84, 0x40, 0x01, 0xeb, 0x00, 0x00, 0x26, 0xe5, 0xd4, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x00, 0x21, 
+0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x70, 0x00, 0x00, 0x00, 0x00, 0x6e, 0x6b, 0x6e, 0x55, 0x20, 0x6e, 0x77, 0x6f, 0x6e, 0x67, 0x69, 0x73, 0x00, 0x00, 0x6c, 0x61, 0x00, 0x00, 0x02, 0x9c, 0x61, 0x76, 0x6e, 0x49, 0x20, 0x64, 0x69, 0x6c, 
+0x72, 0x65, 0x70, 0x4f, 0x6f, 0x69, 0x74, 0x61, 0x00, 0x00, 0x00, 0x6e, 0x69, 0x76, 0x69, 0x44, 0x42, 0x20, 0x65, 0x64, 0x65, 0x5a, 0x20, 0x79, 0x00, 0x00, 0x6f, 0x72, 0x72, 0x65, 0x76, 0x4f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 
+0x65, 0x64, 0x6e, 0x55, 0x6f, 0x6c, 0x66, 0x72, 0x00, 0x00, 0x00, 0x77, 0x78, 0x65, 0x6e, 0x49, 0x20, 0x74, 0x63, 0x61, 0x75, 0x73, 0x65, 0x52, 0x00, 0x00, 0x74, 0x6c, 0x65, 0x48, 0x20, 0x3a, 0x6d, 0x20, 0x70, 0x61, 0x72, 0x6f, 0x6d, 0x65, 
+0x6f, 0x63, 0x20, 0x79, 0x70, 0x75, 0x72, 0x72, 0x00, 0x64, 0x65, 0x74, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x08, 0xe1, 0xa0, 0x10, 0x0d, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xef, 0x12, 0x34, 0x56, 0xe8, 0xbd, 0x90, 0x00, 
+0xe9, 0x2d, 0x40, 0x10, 0xeb, 0xff, 0xfe, 0x6b, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x0a, 0x0e, 0xe3, 0x21, 0xf0, 0xd1, 0xe2, 0x40, 0xd0, 0x00, 0xe3, 0x21, 0xf0, 0xd2, 0xe2, 0x40, 0xdc, 0x01, 0xe3, 0x21, 0xf0, 0xd7, 
+0xe2, 0x40, 0xdc, 0x02, 0xe3, 0x21, 0xf0, 0xdb, 0xe2, 0x40, 0xdc, 0x03, 0xe3, 0x21, 0xf0, 0xd3, 0xe2, 0x40, 0x1b, 0x01, 0xe5, 0x9f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x39, 0x8c, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 
+0xeb, 0xff, 0xff, 0xea, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1b, 
+0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x25, 
+0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16, 
+0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x25, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1d, 
+0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, 0x28, 
+0x00, 0x00, 0x00, 0x30, 0x00, 0x00, 0x00, 0x3a, 0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x22, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x2e, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x45, 
+0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x23, 0x00, 0x00, 0x00, 0x26, 0x00, 0x00, 0x00, 0x2e, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x45, 0x00, 0x00, 0x00, 0x53, 0x6f, 0x6e, 0x62, 0x41, 0x6c, 0x61, 0x6d, 0x72, 
+0x72, 0x65, 0x74, 0x20, 0x61, 0x6e, 0x69, 0x6d, 0x6e, 0x6f, 0x69, 0x74, 0x41, 0x00, 0x00, 0x00, 0x68, 0x74, 0x69, 0x72, 0x69, 0x74, 0x65, 0x6d, 0x78, 0x65, 0x20, 0x63, 0x74, 0x70, 0x65, 0x63, 0x3a, 0x6e, 0x6f, 0x69, 0x6c, 0x49, 0x00, 0x20, 
+0x61, 0x67, 0x65, 0x6c, 0x6e, 0x69, 0x20, 0x6c, 0x75, 0x72, 0x74, 0x73, 0x6f, 0x69, 0x74, 0x63, 0x00, 0x00, 0x00, 0x6e, 0x74, 0x6e, 0x49, 0x00, 0x75, 0x72, 0x72, 0x65, 0x72, 0x20, 0x74, 0x70, 0x69, 0x65, 0x63, 0x65, 0x00, 0x64, 0x65, 0x76, 
+0x00, 0x00, 0x00, 0x00, 0x65, 0x6c, 0x6c, 0x49, 0x20, 0x6c, 0x61, 0x67, 0x72, 0x64, 0x64, 0x61, 0x00, 0x73, 0x73, 0x65, 0x00, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x69, 0x6d, 0x72, 0x65, 0x69, 0x74, 0x61, 0x6e, 0x72, 0x20, 0x6e, 0x6f, 
+0x65, 0x75, 0x71, 0x65, 0x00, 0x00, 0x74, 0x73, 0x74, 0x53, 0x00, 0x00, 0x20, 0x6b, 0x63, 0x61, 0x72, 0x65, 0x76, 0x6f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x65, 0x52, 0x00, 0x63, 0x65, 0x72, 0x69, 
+0x63, 0x20, 0x3a, 0x74, 0x74, 0x27, 0x6e, 0x61, 0x65, 0x70, 0x6f, 0x20, 0x00, 0x20, 0x3a, 0x6e, 0x20, 0x74, 0x75, 0x4f, 0x68, 0x20, 0x66, 0x6f, 0x20, 0x70, 0x61, 0x65, 0x6f, 0x6d, 0x65, 0x6d, 0x00, 0x00, 0x79, 0x72, 0x55, 0x00, 0x00, 0x00, 
+0x2d, 0x72, 0x65, 0x73, 0x69, 0x66, 0x65, 0x64, 0x20, 0x64, 0x65, 0x6e, 0x6e, 0x67, 0x69, 0x73, 0x31, 0x20, 0x6c, 0x61, 0x73, 0x55, 0x00, 0x00, 0x64, 0x2d, 0x72, 0x65, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x20, 0x64, 0x65, 0x61, 0x6e, 0x67, 0x69, 
+0x00, 0x32, 0x20, 0x6c, 0x72, 0x75, 0x50, 0x00, 0x69, 0x76, 0x20, 0x65, 0x61, 0x75, 0x74, 0x72, 0x6e, 0x66, 0x20, 0x6c, 0x6c, 0x61, 0x63, 0x20, 0x00, 0x64, 0x65, 0x6c, 0x20, 0x2b, 0x2b, 0x43, 0x72, 0x62, 0x69, 0x6c, 0x20, 0x79, 0x72, 0x61, 
+0x65, 0x63, 0x78, 0x65, 0x6f, 0x69, 0x74, 0x70, 0x4f, 0x00, 0x00, 0x6e, 0x6f, 0x20, 0x74, 0x75, 0x65, 0x68, 0x20, 0x66, 0x00, 0x00, 0x70, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/mp4_dec_fw.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/mp4_dec_fw.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/mp4_dec_fw.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/mp4_dec_fw.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,670 @@
+/*
+ * drivers/media/video/samsung/mfc40/mp4_dec_fw.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+const unsigned char mp4_dec_mc_fw[26148] = {
+0xea, 0x00, 0x00, 0x31, 0xea, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x0b, 0xea, 0x00, 0x00, 0x10, 0xea, 0x00, 0x00, 0x15, 0xea, 0xff, 0xff, 0xfe, 0xea, 0x00, 0x00, 0x19, 0xea, 0x00, 0x00, 0x1e, 0xea, 0x00, 0x00, 0x23, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0xa0, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x8c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x78, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x64, 
+0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x50, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x3c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x28, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xeb, 0x00, 0x00, 0x07, 0xea, 0xff, 0xff, 0xfe, 0x00, 0x01, 0x3f, 0x04, 0x00, 0x01, 0x3f, 0x08, 0x00, 0x01, 0x3f, 0x0c, 0x00, 0x01, 0x3f, 0x10, 0x00, 0x01, 0x3f, 0x18, 0x00, 0x01, 0x3f, 0x1c, 0x00, 0x01, 0x3f, 0x20, 
+0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x17, 0x39, 0xe5, 0x9f, 0x30, 0x04, 0xe0, 0x8f, 0x30, 0x03, 0xe1, 0xa0, 0xf0, 0x03, 0x00, 0x00, 0x63, 0x6c, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x02, 0x27, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfe, 
+0xe9, 0x2d, 0x4f, 0xf0, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x91, 0x2c, 0xe3, 0x59, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x96, 0x05, 
+0xe5, 0x99, 0x91, 0x00, 0xe5, 0x80, 0x90, 0x04, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x9d, 0x04, 0xe2, 0x89, 0x90, 0x03, 0xe5, 0x80, 0x91, 0x6c, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x90, 0x91, 0x6c, 0xe1, 0x59, 0x00, 0x01, 
+0xda, 0x00, 0x00, 0x02, 0xe2, 0x80, 0x9f, 0x47, 0xe7, 0x89, 0x11, 0x01, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xe0, 0x91, 0x02, 0xe2, 0x80, 0xaf, 0x47, 0xe7, 0x8a, 0x91, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x14, 0xba, 0xff, 0xff, 0xf3, 
+0xe5, 0x90, 0x91, 0x70, 0xe2, 0x89, 0x90, 0x0f, 0xe1, 0xa0, 0xe2, 0x49, 0xe5, 0x90, 0x91, 0x74, 0xe2, 0x89, 0x90, 0x0f, 0xe1, 0xa0, 0xc2, 0x49, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x92, 0x34, 0xe5, 0x80, 0x96, 0x9c, 0xe3, 0xa0, 0x96, 0x05, 
+0xe5, 0x99, 0x99, 0x04, 0xe1, 0xa0, 0x20, 0x09, 0xe5, 0x80, 0x22, 0x8c, 0xe1, 0xa0, 0x90, 0x0c, 0xe0, 0x8c, 0xaf, 0xac, 0xe1, 0xa0, 0xa0, 0xca, 0xe2, 0x8a, 0xa0, 0x01, 0xe1, 0xa0, 0xb4, 0x0e, 0xe0, 0x2a, 0x2a, 0x9b, 0xe5, 0x80, 0xa2, 0x90, 
+0xe1, 0xa0, 0xe2, 0x0e, 0xe1, 0xa0, 0xc2, 0x0c, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x96, 0x00, 0xe5, 0x80, 0x91, 0xd8, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x99, 0x00, 0xe1, 0xa0, 0x20, 0x09, 0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x99, 0x39, 0x08, 
+0xe5, 0x90, 0x91, 0xd8, 0xe3, 0x19, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x1f, 0xe5, 0x80, 0x21, 0xdc, 0xe0, 0x29, 0x2e, 0x9c, 0xe5, 0x80, 0x91, 0xe0, 0xe0, 0x09, 0x0e, 0x9c, 0xe0, 0x82, 0x90, 0x89, 0xe5, 0x80, 0x91, 0xe4, 0xe0, 0x0a, 0x0e, 0x9c, 
+0xe0, 0x8a, 0x91, 0x0a, 0xe0, 0x89, 0xaf, 0xa9, 0xe0, 0x82, 0xa0, 0xca, 0xe5, 0x80, 0xa1, 0xe8, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x80, 0x9f, 0x7b, 0xe7, 0x89, 0x31, 0x01, 0xe0, 0x23, 0x3e, 0x9c, 0xe2, 0x81, 0x10, 0x01, 
+0xe5, 0x90, 0x91, 0x6c, 0xe1, 0x59, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf8, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe2, 0x80, 0x9f, 0x8f, 0xe7, 0x89, 0x31, 0x01, 0xe0, 0x09, 0x0e, 0x9c, 0xe0, 0x89, 0xaf, 0xa9, 0xe0, 0x83, 0x30, 0xca, 
+0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x91, 0x6c, 0xe1, 0x59, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf6, 0xea, 0x00, 0x00, 0x77, 0xe1, 0xa0, 0x26, 0xc2, 0xe1, 0xa0, 0x36, 0xc3, 0xe3, 0xa0, 0x70, 0x00, 0xea, 0x00, 0x00, 0x71, 0xe2, 0x4e, 0x40, 0x01, 
+0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x4c, 0x90, 0x01, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x90, 0x01, 0xe0, 0x69, 0x90, 0xcc, 0xe1, 0xa0, 0x50, 0x09, 0xe1, 0xa0, 0xa0, 0x04, 0xe1, 0xa0, 0xbf, 0xc4, 0xe0, 0x84, 0xbe, 0x2b, 
+0xe1, 0xa0, 0x92, 0x4b, 0xe1, 0xa0, 0xbf, 0xc9, 0xe0, 0x89, 0xbe, 0xab, 0xe1, 0xa0, 0xb1, 0xcb, 0xe2, 0x8b, 0x60, 0x01, 0xe1, 0xa0, 0xa0, 0x05, 0xe1, 0xa0, 0xbf, 0xc5, 0xe0, 0x85, 0xbe, 0x2b, 0xe1, 0xa0, 0x92, 0x4b, 0xe1, 0xa0, 0xbf, 0xc9, 
+0xe0, 0x89, 0xbf, 0x2b, 0xe1, 0xa0, 0xb1, 0x4b, 0xe2, 0x8b, 0x80, 0x01, 0xe3, 0x15, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x31, 0xe3, 0xa0, 0x90, 0x7f, 0xe0, 0x09, 0x44, 0x44, 0xe1, 0x89, 0x91, 0x09, 0xe0, 0x09, 0x53, 0x45, 0xe3, 0x57, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x15, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe2, 0x80, 0x9f, 0x77, 0xe7, 0x89, 0x21, 0x01, 0xe0, 0x29, 0x45, 0x96, 0xe2, 0x89, 0x90, 0x01, 0xe0, 0x89, 0x20, 0x02, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x02, 
+0xba, 0xff, 0xff, 0xf7, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe2, 0x80, 0x9f, 0x7b, 0xe7, 0x89, 0x31, 0x01, 0xe0, 0x29, 0x45, 0x96, 0xe2, 0x89, 0x90, 0x01, 0xe0, 0x89, 0x30, 0x03, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x91, 0x6c, 
+0xe1, 0x59, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf6, 0xea, 0x00, 0x00, 0x3a, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe2, 0x80, 0x9f, 0x79, 0xe7, 0x89, 0x21, 0x01, 0xe0, 0x29, 0x45, 0x96, 0xe2, 0x89, 0x90, 0x01, 0xe0, 0x89, 0x20, 0x02, 
+0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x02, 0xba, 0xff, 0xff, 0xf7, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe2, 0x80, 0x9f, 0x8f, 0xe7, 0x89, 0x31, 0x01, 0xe0, 0x29, 0x45, 0x96, 0xe2, 0x89, 0x90, 0x01, 0xe0, 0x89, 0x30, 0x03, 
+0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x91, 0x6c, 0xe1, 0x59, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf6, 0xea, 0x00, 0x00, 0x24, 0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x11, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x80, 0x9f, 0x77, 
+0xe7, 0x89, 0x21, 0x01, 0xe0, 0x22, 0x26, 0x98, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x02, 0xba, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x80, 0x9f, 0x7b, 0xe7, 0x89, 0x31, 0x01, 0xe0, 0x23, 0x36, 0x98, 
+0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x91, 0x6c, 0xe1, 0x59, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf8, 0xea, 0x00, 0x00, 0x10, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x80, 0x9f, 0x79, 0xe7, 0x89, 0x21, 0x01, 0xe0, 0x22, 0x26, 0x98, 
+0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x02, 0xba, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x80, 0x9f, 0x8f, 0xe7, 0x89, 0x31, 0x01, 0xe0, 0x23, 0x36, 0x98, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x90, 0x91, 0x6c, 
+0xe1, 0x59, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf8, 0xe2, 0x87, 0x70, 0x01, 0xe3, 0x57, 0x00, 0x02, 0xba, 0xff, 0xff, 0x8b, 0xe8, 0xbd, 0x8f, 0xf0, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe3, 0x10, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfc, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0xea, 0xe5, 0x84, 0x00, 0x00, 0xea, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0xe6, 0xe5, 0x84, 0x00, 0x00, 0xeb, 0xff, 0xff, 0xed, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xf9, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x50, 0x00, 
+0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x01, 0xdc, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x00, 0xea, 0x00, 0x00, 0x2d, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x01, 0xd6, 0xe1, 0xa0, 0x60, 0x00, 0xe5, 0x94, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x26, 0xe3, 0x55, 0x00, 0x05, 0xaa, 0x00, 0x00, 0x24, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0x56, 0x00, 0x44, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x1d, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0x56, 0x00, 0x69, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x00, 0xea, 0x00, 0x00, 0x16, 0xe3, 0x55, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x04, 
+0xe3, 0x56, 0x00, 0x76, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x00, 0xea, 0x00, 0x00, 0x0f, 0xe3, 0x55, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0x56, 0x00, 0x58, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x84, 0x00, 0x00, 0xea, 0x00, 0x00, 0x08, 0xe3, 0x55, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0x56, 0x00, 0x35, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x00, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x84, 0x00, 0x00, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0xa0, 0x00, 0x18, 0xeb, 0x00, 0x01, 0x9b, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xcd, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0xf8, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x60, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x01, 0x92, 0xe5, 0x8d, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x00, 0xe3, 0x50, 0x0e, 0x1b, 0x0a, 0x00, 0x00, 0x03, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb5, 0x1a, 0x00, 0x00, 0x45, 
+0xea, 0x00, 0x00, 0x0f, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x01, 0x94, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x01, 0x91, 0xe5, 0x8d, 0x00, 0x00, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x0d, 
+0xeb, 0xff, 0xff, 0xab, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x01, 0x7e, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb2, 0x0a, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x01, 0x85, 0xe5, 0x8d, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x82, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0x7e, 0xe5, 0x84, 0x00, 0x10, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x01, 0x7b, 0xe5, 0x84, 0x00, 0x14, 
+0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0x78, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x16, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x74, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x12, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x01, 0x70, 
+0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x6d, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x6a, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x01, 0x66, 
+0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x01, 0x63, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x01, 0x60, 0xe5, 0x8d, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xff, 0x6e, 0xea, 0x00, 0x00, 0x03, 
+0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xff, 0x78, 0xe5, 0x9d, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x01, 0x49, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb2, 0x0a, 0xff, 0xff, 0xf6, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x1b, 0xeb, 0x00, 0x01, 0x43, 0xe5, 0x8d, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x1b, 0xeb, 0x00, 0x01, 0x4a, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x05, 
+0xeb, 0x00, 0x01, 0x47, 0xe1, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x16, 0xeb, 0x00, 0x01, 0x36, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x1c, 0xeb, 0x00, 0x01, 0x33, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x08, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x20, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x12, 0x1a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0x45, 0xe3, 0xa0, 0x60, 0x01, 
+0xe3, 0xa0, 0x00, 0x18, 0xeb, 0x00, 0x01, 0x25, 0xe5, 0x8d, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xff, 0x3d, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0x56, 0x00, 0x00, 0x0a, 0xff, 0xff, 0x86, 0xe8, 0xbd, 0x80, 0xf8, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x20, 0x00, 0xe5, 0x80, 0x20, 0x04, 0xe5, 0x80, 0x20, 0x0c, 0xe3, 0xa0, 0x20, 0x01, 0xe5, 0x80, 0x20, 0x10, 0xe3, 0xa0, 0x20, 0x00, 
+0xe5, 0x80, 0x20, 0x14, 0xe3, 0xa0, 0x20, 0x01, 0xe5, 0x80, 0x20, 0x18, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x20, 0x1c, 0xe5, 0x80, 0x20, 0x20, 0xe5, 0x80, 0x20, 0x24, 0xe5, 0x80, 0x20, 0x28, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x08, 
+0xe3, 0xe0, 0x21, 0x02, 0xe2, 0x80, 0x30, 0x2c, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x80, 0x30, 0x7c, 0xe7, 0x83, 0x21, 0x01, 0xe3, 0xa0, 0x20, 0x00, 0xe2, 0x80, 0x30, 0xcc, 0xe7, 0x83, 0x21, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x14, 
+0xba, 0xff, 0xff, 0xf4, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x22, 0x98, 0xe5, 0x80, 0x22, 0x9c, 0xe5, 0x80, 0x22, 0xa0, 0xe5, 0x80, 0x22, 0xa4, 0xe5, 0x80, 0x22, 0x94, 0xe5, 0x80, 0x22, 0xa8, 0xe3, 0xa0, 0x20, 0x01, 0xe5, 0x80, 0x22, 0xac, 
+0xe5, 0x80, 0x22, 0xb0, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x21, 0xa8, 0xe5, 0x80, 0x21, 0xd0, 0xe5, 0x80, 0x21, 0xd4, 0xe5, 0x80, 0x21, 0x8c, 0xe5, 0x80, 0x21, 0x94, 0xe5, 0x80, 0x21, 0x88, 0xe5, 0x80, 0x21, 0x90, 0xe3, 0xa0, 0x20, 0x01, 
+0xe5, 0x80, 0x22, 0xb4, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x21, 0x80, 0xe5, 0x80, 0x21, 0x98, 0xe5, 0x80, 0x21, 0x9c, 0xe3, 0xa0, 0x20, 0x01, 0xe5, 0x80, 0x21, 0x84, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x21, 0xac, 0xe5, 0x80, 0x21, 0xb0, 
+0xe5, 0x80, 0x21, 0xb4, 0xe5, 0x80, 0x21, 0xb8, 0xe5, 0x80, 0x21, 0xbc, 0xe5, 0x80, 0x21, 0xc0, 0xe5, 0x80, 0x21, 0xc4, 0xe5, 0x80, 0x21, 0xa0, 0xe5, 0x80, 0x21, 0xa4, 0xe5, 0x80, 0x21, 0xc8, 0xe5, 0x80, 0x21, 0xcc, 0xe5, 0x80, 0x21, 0x70, 
+0xe5, 0x80, 0x21, 0x74, 0xe5, 0x80, 0x21, 0xd8, 0xe5, 0x80, 0x22, 0x8c, 0xe5, 0x80, 0x22, 0x90, 0xe5, 0x80, 0x20, 0x08, 0xe5, 0x80, 0x24, 0x88, 0xe5, 0x80, 0x26, 0x9c, 0xe5, 0x80, 0x26, 0xa0, 0xe5, 0x80, 0x26, 0xa4, 0xe5, 0x80, 0x26, 0xa8, 
+0xe5, 0x80, 0x26, 0xac, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xa9, 0xe3, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x10, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x5c, 0xe2, 0x60, 0x50, 0x08, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x00, 0xbf, 0xe2, 0x45, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x14, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x94, 0x01, 0x70, 0xe5, 0x81, 0x01, 0x18, 0xe5, 0x94, 0x01, 0x74, 0xe5, 0x81, 0x01, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x0c, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x0c, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0xda, 0xe8, 0xbd, 0x80, 0x70, 
+0xe9, 0x2d, 0x40, 0x10, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x2c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xd0, 0xe3, 0xa0, 0x0e, 0x6b, 0xeb, 0x00, 0x14, 0x53, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xbe, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x02, 0xd4, 
+0xe5, 0x94, 0x06, 0xa0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe2, 0x00, 0x00, 0x07, 0xe2, 0x60, 0x50, 0x08, 0xe2, 0x64, 0x00, 0x20, 0xe3, 0xe0, 0x10, 0x00, 0xe1, 0xa0, 0x60, 0x31, 0xe0, 0x85, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x74, 0xe0, 0x00, 0x00, 0x06, 
+0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x10, 0xe2, 0x4d, 0xd0, 0x28, 0xe3, 0xa0, 0x20, 0x24, 0xe5, 0x9f, 0x11, 0xb4, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0x00, 0x14, 0x38, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 
+0xe2, 0x00, 0x00, 0x07, 0xe2, 0x60, 0x40, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x65, 0xe2, 0x8d, 0x10, 0x04, 0xe7, 0x91, 0x11, 0x04, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe2, 0x8d, 0xd0, 0x28, 
+0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfb, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe2, 0x00, 0x40, 0x07, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x40, 0x08, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x60, 0xe8, 0xbd, 0x80, 0x10, 0xe2, 0x40, 0x20, 0x01, 0xe3, 0x52, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x00, 0xe3, 0x12, 0x09, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x10, 
+0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x47, 0xe3, 0x12, 0x09, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0f, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x42, 0xe3, 0x12, 0x0a, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0e, 
+0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x3d, 0xe3, 0x12, 0x0a, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0d, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x38, 0xe3, 0x12, 0x0b, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0c, 
+0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x33, 0xe3, 0x12, 0x0b, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0b, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x2e, 0xe3, 0x12, 0x0c, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0a, 
+0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x29, 0xe3, 0x12, 0x0c, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x09, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x24, 0xe3, 0x12, 0x00, 0x80, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x08, 
+0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x1f, 0xe3, 0x12, 0x00, 0x40, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x07, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x1a, 0xe3, 0x12, 0x00, 0x20, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x06, 
+0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x15, 0xe3, 0x12, 0x00, 0x10, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x05, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x10, 0xe3, 0x12, 0x00, 0x08, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x04, 
+0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x0b, 0xe3, 0x12, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x03, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe3, 0x12, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x02, 
+0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x01, 0xe5, 0x81, 0x30, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0x00, 0x00, 0x5a, 0x1c, 0xe1, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x34, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x10, 0x3c, 0xe5, 0x90, 0x00, 0x28, 0xe1, 0x2f, 0xff, 0x1e, 0xe1, 0xa0, 0x10, 0x00, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x92, 0x20, 0x34, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x82, 0x10, 0x3c, 
+0xe5, 0x92, 0x00, 0x28, 0xe3, 0xa0, 0x20, 0x01, 0xe3, 0xa0, 0x38, 0x52, 0xe5, 0x83, 0x20, 0x38, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x7c, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x1c, 0xeb, 0xff, 0xff, 0xde, 0xe5, 0x8d, 0x00, 0x04, 
+0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x12, 0x1a, 0x00, 0x01, 0xaf, 0xe3, 0xa0, 0x00, 0x1c, 0xeb, 0xff, 0xff, 0xe5, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xe2, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0xdf, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xff, 0xdc, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xd9, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xff, 0xd5, 0xe5, 0x84, 0x00, 0x10, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xff, 0xd2, 0xe5, 0x84, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xcf, 0xe3, 0x50, 0x00, 0x0f, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x08, 
+0xeb, 0xff, 0xff, 0xcb, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xff, 0xc8, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xc5, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x2a, 0xe3, 0xa0, 0x00, 0x02, 
+0xeb, 0xff, 0xff, 0xc1, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xbe, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xbb, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x20, 0xe3, 0xa0, 0x00, 0x0f, 
+0xeb, 0xff, 0xff, 0xb7, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xb4, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x0f, 0xeb, 0xff, 0xff, 0xb1, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xae, 
+0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x0f, 0xeb, 0xff, 0xff, 0xab, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xa8, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xff, 0xa5, 0xe5, 0x8d, 0x00, 0x04, 
+0xe3, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xff, 0xa2, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x9f, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x0f, 0xeb, 0xff, 0xff, 0x9c, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0x99, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xff, 0x96, 0xe5, 0x84, 0x01, 0x78, 0xe5, 0x94, 0x01, 0x78, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x01, 
+0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x8d, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x8a, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x10, 0xeb, 0xff, 0xff, 0x87, 0xe5, 0x84, 0x01, 0x7c, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x84, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x81, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x10, 0x0d, 0xe5, 0x94, 0x01, 0x7c, 0xeb, 0xff, 0xff, 0x1c, 
+0xe5, 0x9d, 0x00, 0x00, 0xeb, 0xff, 0xff, 0x7a, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x94, 0x01, 0x78, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x01, 0x24, 0xe5, 0x94, 0x01, 0x78, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0x71, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xff, 0x6e, 0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x6b, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xff, 0x68, 
+0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x65, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x62, 0xe5, 0x84, 0x01, 0x80, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x5f, 0xe5, 0x84, 0x01, 0x84, 
+0xe5, 0x94, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x59, 0xe5, 0x84, 0x01, 0x88, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xff, 0x55, 0xe5, 0x84, 0x01, 0x88, 
+0xe5, 0x94, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x29, 0xe5, 0x94, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x17, 0xe3, 0xa0, 0x00, 0x0d, 
+0xeb, 0xff, 0xff, 0x49, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x46, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xff, 0x43, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x40, 
+0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xff, 0x3d, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x3a, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xff, 0x37, 0xe5, 0x8d, 0x00, 0x04, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x34, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xff, 0x31, 0xe5, 0x84, 0x01, 0x8c, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xff, 0x2e, 0xe5, 0x84, 0x01, 0x90, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0x2b, 0xe5, 0x84, 0x01, 0x94, 0xe5, 0x94, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x25, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x94, 0x01, 0x78, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x1c, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x19, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x15, 0xe5, 0x84, 0x01, 0x98, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x12, 0xe5, 0x8d, 0x00, 0x04, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x05, 0xe5, 0x84, 0x01, 0x98, 
+0xe5, 0x94, 0x01, 0x78, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x09, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x06, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0x03, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x00, 0xe5, 0x84, 0x01, 0x9c, 0xe5, 0x94, 0x01, 0x9c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x41, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0xfa, 
+0xe5, 0x84, 0x01, 0xa0, 0xe5, 0x94, 0x01, 0xa0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x1a, 0xe3, 0xa0, 0x50, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x60, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfe, 0xf1, 0xe5, 0x8d, 0x00, 0x04, 
+0xe2, 0x84, 0x1b, 0x01, 0xe2, 0x81, 0x10, 0x9c, 0xe5, 0x9d, 0x00, 0x04, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf1, 
+0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xe2, 0x45, 0x50, 0x01, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x84, 0x0b, 0x01, 0xe2, 0x80, 0x00, 0x9c, 0xe7, 0x80, 0x61, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 
+0xba, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0xd9, 0xe5, 0x84, 0x01, 0xa4, 0xe5, 0x94, 0x01, 0xa4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x1a, 0xe3, 0xa0, 0x50, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x60, 0x04, 
+0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfe, 0xd0, 0xe5, 0x8d, 0x00, 0x04, 0xe2, 0x84, 0x1b, 0x01, 0xe2, 0x81, 0x1f, 0x67, 0xe5, 0x9d, 0x00, 0x04, 0xe7, 0x81, 0x01, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf1, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xe2, 0x45, 0x50, 0x01, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x84, 0x0b, 0x01, 0xe2, 0x80, 0x0f, 0x67, 
+0xe7, 0x80, 0x61, 0x05, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf9, 0xe5, 0x94, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0xb5, 0xe5, 0x84, 0x01, 0xa8, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0xb2, 0xe5, 0x84, 0x01, 0xac, 0xe5, 0x94, 0x01, 0xac, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x3a, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xfe, 0xac, 0xe5, 0x84, 0x01, 0xb0, 0xe5, 0x94, 0x01, 0xb0, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x01, 0xb0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x31, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x01, 0xb4, 0xe5, 0x84, 0x01, 0xb8, 0xe5, 0x84, 0x01, 0xbc, 0xe5, 0x84, 0x01, 0xc0, 
+0xe5, 0x84, 0x01, 0xc4, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x9d, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfe, 0x99, 0xe5, 0x84, 0x01, 0xb4, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x96, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0x92, 0xe5, 0x84, 0x01, 0xb8, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x8f, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x8c, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0x88, 0xe5, 0x84, 0x01, 0xbc, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x85, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x06, 
+0xeb, 0xff, 0xfe, 0x81, 0xe5, 0x84, 0x01, 0xc0, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x7e, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x94, 0x01, 0xb0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x78, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xfe, 0x74, 0xe5, 0x84, 0x01, 0xc4, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x71, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x6e, 
+0xe5, 0x84, 0x01, 0xc8, 0xe5, 0x94, 0x01, 0xc8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x68, 0xe5, 0x84, 0x01, 0xcc, 0xe5, 0x94, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0e, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x62, 0xe5, 0x84, 0x01, 0xd0, 0xe5, 0x94, 0x01, 0xd0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xfe, 0x5c, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xfe, 0x59, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x56, 0xe5, 0x84, 0x01, 0xd4, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x53, 0xe5, 0x8d, 0x00, 0x04, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xfe, 0x4f, 0xe5, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0x56, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfe, 0x3c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xeb, 0xff, 0xfc, 0x4f, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0x53, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0x5d, 0xe5, 0x9d, 0x00, 0x04, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x20, 
+0xeb, 0xff, 0xfe, 0x2e, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb2, 0x0a, 0xff, 0xff, 0xf6, 0xea, 0x00, 0x00, 0x5d, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x16, 0xeb, 0xff, 0xfe, 0x33, 0xe5, 0x8d, 0x00, 0x04, 
+0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfe, 0x30, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x2d, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x2a, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xfe, 0x27, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x24, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0x21, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfe, 0x1e, 
+0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x05, 0x90, 0x8f, 0xf1, 0x00, 0xea, 0x00, 0x00, 0x37, 0xea, 0x00, 0x00, 0x36, 0xea, 0x00, 0x00, 0x03, 0xea, 0x00, 0x00, 0x0c, 0xea, 0x00, 0x00, 0x15, 0xea, 0x00, 0x00, 0x1e, 
+0xea, 0x00, 0x00, 0x27, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x80, 0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x00, 0x60, 0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x00, 0x08, 0xe5, 0x84, 0x06, 0xa8, 0xe3, 0xa0, 0x00, 0x06, 0xe5, 0x84, 0x06, 0xac, 
+0xea, 0x00, 0x00, 0x2e, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0xb0, 0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x00, 0x90, 0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x00, 0x0b, 0xe5, 0x84, 0x06, 0xa8, 0xe3, 0xa0, 0x00, 0x09, 0xe5, 0x84, 0x06, 0xac, 
+0xea, 0x00, 0x00, 0x24, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x0e, 0x16, 0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x0e, 0x12, 0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x00, 0x16, 0xe5, 0x84, 0x06, 0xa8, 0xe3, 0xa0, 0x00, 0x12, 0xe5, 0x84, 0x06, 0xac, 
+0xea, 0x00, 0x00, 0x1a, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x0d, 0x0b, 0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x0d, 0x09, 0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x00, 0x58, 0xe5, 0x84, 0x06, 0xa8, 0xe3, 0xa0, 0x00, 0x12, 0xe5, 0x84, 0x06, 0xac, 
+0xea, 0x00, 0x00, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9f, 0x08, 0x94, 0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x0d, 0x12, 0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x0e, 0x16, 0xe5, 0x84, 0x06, 0xa8, 0xe3, 0xa0, 0x00, 0x12, 0xe5, 0x84, 0x06, 0xac, 
+0xea, 0x00, 0x00, 0x06, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x10, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x05, 0x14, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x05, 0x0c, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xe8, 0xbd, 0x80, 0x7c, 0xe9, 0x2d, 0x40, 0x08, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0xff, 0xfd, 0xd4, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x12, 0xeb, 0xff, 0xfd, 0xd1, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfd, 0xce, 
+0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfd, 0xcb, 0xe5, 0x8d, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xfb, 0xd9, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xfb, 0xe3, 0xe3, 0xa0, 0x00, 0x20, 
+0xeb, 0xff, 0xfd, 0xb6, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb2, 0x0a, 0xff, 0xff, 0xf8, 0xe8, 0xbd, 0x90, 0x00, 0xe9, 0x2d, 0x41, 0xfc, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x0c, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x06, 0xa0, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x94, 0x01, 0x80, 0xe1, 0x81, 0x01, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x08, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x81, 0x05, 0x10, 0xe8, 0xbd, 0x81, 0xfc, 0xe5, 0x94, 0x06, 0xa4, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x01, 0x9b, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x30, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x94, 0x01, 0xd8, 
+0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x18, 0xe5, 0x94, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x1c, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x11, 
+0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x1c, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x94, 0x00, 0x00, 
+0xe1, 0x81, 0x00, 0x80, 0xe5, 0x8d, 0x00, 0x04, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x9d, 0x00, 0x04, 0xe5, 0x81, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x20, 
+0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x24, 0xe5, 0x81, 0x00, 0x24, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x10, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x5c, 0xe2, 0x60, 0x00, 0x08, 0xe5, 0x8d, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfd, 0x72, 0xe5, 0x9d, 0x00, 0x04, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf7, 0xe2, 0x84, 0x1e, 0x17, 0xe8, 0x91, 0x00, 0x03, 
+0xe1, 0x80, 0x07, 0x81, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x94, 0x01, 0x70, 0xe5, 0x81, 0x01, 0x18, 0xe5, 0x94, 0x01, 0x74, 0xe5, 0x81, 0x01, 0x1c, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x94, 0x06, 0x9c, 
+0xe5, 0x81, 0x01, 0x90, 0xe5, 0x94, 0x02, 0x8c, 0xe5, 0x81, 0x03, 0x40, 0xe5, 0x94, 0x02, 0x90, 0xe5, 0x81, 0x03, 0x44, 0xe5, 0x94, 0x01, 0xdc, 0xe5, 0x81, 0x02, 0x00, 0xe5, 0x94, 0x01, 0xe0, 0xe5, 0x81, 0x02, 0x04, 0xe5, 0x94, 0x01, 0xe4, 
+0xe5, 0x81, 0x02, 0x80, 0xe5, 0x94, 0x01, 0xe8, 0xe5, 0x81, 0x02, 0x84, 0xe5, 0x94, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0xf1, 0xe3, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0xec, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0xff, 0xfd, 0x3f, 
+0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x0e, 0x1b, 0x0a, 0x00, 0x00, 0x09, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb3, 0x0a, 0x00, 0x00, 0x4c, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb5, 0x0a, 0x00, 0x00, 0x13, 
+0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb6, 0x1a, 0x00, 0x00, 0xb2, 0xea, 0x00, 0x00, 0x49, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0xff, 0xfd, 0x3b, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfd, 0x38, 
+0xe5, 0x8d, 0x00, 0x04, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0x52, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0xff, 0xfd, 0x25, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb2, 0x0a, 0xff, 0xff, 0xf8, 0xea, 0x00, 0x00, 0xc0, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0xff, 0xfd, 0x2b, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfd, 0x28, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x24, 
+0xe5, 0x84, 0x00, 0x10, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfd, 0x21, 0xe5, 0x84, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x1e, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x16, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfd, 0x1a, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x12, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfd, 0x16, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfd, 0x13, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfd, 0x10, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfd, 0x0c, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfd, 0x09, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfd, 0x06, 
+0xe5, 0x8d, 0x00, 0x04, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0x14, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0x1e, 0xe5, 0x9d, 0x00, 0x04, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0xff, 0xfc, 0xef, 
+0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xb2, 0x0a, 0xff, 0xff, 0xf6, 0xea, 0x00, 0x00, 0x8a, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x70, 0x01, 0xeb, 0xff, 0xff, 0x1d, 0xea, 0x00, 0x00, 0x86, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x20, 0x0d, 
+0xe1, 0xa0, 0x10, 0x07, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x06, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x60, 0x01, 0xe5, 0x94, 0x00, 0x1c, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x02, 0xb4, 
+0xe3, 0xa0, 0x70, 0x00, 0xe5, 0x9d, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0xff, 0xfc, 0xd5, 0xe2, 0x40, 0xcc, 0x01, 0xe2, 0x5c, 0xc0, 0xc3, 0x1a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x00, 0x20, 
+0xeb, 0xff, 0xfc, 0xdd, 0xe5, 0x8d, 0x00, 0x04, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfc, 0xd9, 0xe3, 0xa0, 0x00, 0x18, 0xeb, 0xff, 0xfc, 0xca, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xf9, 0xe5, 0x94, 0x00, 0x1c, 
+0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x24, 0xe5, 0x94, 0x00, 0x1c, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x24, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0x00, 0x05, 0xb5, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe1, 0xa0, 0x01, 0xa0, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x08, 0xe5, 0x94, 0x02, 0xb8, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x9d, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x03, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xe5, 0x94, 0x00, 0x24, 
+0xe5, 0x94, 0x11, 0x80, 0xe1, 0x80, 0x01, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x08, 0xe3, 0xa0, 0x0c, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x0e, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x06, 0xa4, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x05, 0x0c, 0xea, 0x00, 0x00, 0x1e, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x1b, 0xeb, 0xff, 0xfc, 0x7c, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x1b, 
+0xeb, 0xff, 0xfc, 0x83, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfc, 0x80, 0xe1, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x16, 0xeb, 0xff, 0xfc, 0x6f, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x1c, 
+0xeb, 0xff, 0xfc, 0x6c, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x08, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x20, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x55, 0x00, 0x12, 0x1a, 0x00, 0x00, 0x01, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0x7e, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x56, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x00, 0x18, 0xeb, 0xff, 0xfc, 0x5a, 0xe5, 0x8d, 0x00, 0x04, 
+0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xfa, 0x72, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0xff, 0xff, 0x10, 0xea, 0x00, 0x00, 0x99, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x02, 0xb8, 
+0xe3, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x47, 0xe3, 0xa0, 0x00, 0x16, 0xeb, 0xff, 0xfc, 0x4b, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x40, 0xe1, 0xa0, 0x10, 0x0d, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0x00, 0x00, 0xe5, 0xe3, 0xa0, 0x60, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x18, 0xe5, 0x94, 0x00, 0x1c, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x1c, 0xe5, 0x94, 0x00, 0x1c, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x24, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x05, 0x30, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe1, 0xa0, 0x01, 0xa0, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x08, 0xe5, 0x9d, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x9d, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x03, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x94, 0x00, 0x24, 0xe5, 0x81, 0x04, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x05, 0x0c, 
+0xe3, 0xa0, 0x0c, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 
+0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x0e, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x06, 0xa4, 0xea, 0x00, 0x00, 0x00, 0xeb, 0xff, 0xfb, 0xa8, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xb5, 0xea, 0x00, 0x00, 0x4a, 0xe5, 0x94, 0x00, 0x24, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x12, 
+0xe5, 0x94, 0x00, 0x20, 0xe2, 0x84, 0x10, 0xcc, 0xe7, 0x91, 0x01, 0x00, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x20, 0xe2, 0x84, 0x20, 0xcc, 0xe7, 0x82, 0x01, 0x01, 0xe5, 0x94, 0x00, 0x20, 0xe2, 0x84, 0x10, 0xcc, 0xe7, 0x91, 0x01, 0x00, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xe0, 0x01, 0x02, 0xe5, 0x94, 0x10, 0x20, 0xe2, 0x84, 0x20, 0x7c, 0xe7, 0x82, 0x01, 0x01, 0xe5, 0x94, 0x10, 0x20, 0xe2, 0x84, 0x20, 0x2c, 0xe7, 0x82, 0x01, 0x01, 0xe5, 0x94, 0x00, 0x28, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0d, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x28, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe2, 0x84, 0x00, 0x7c, 0xe7, 0x90, 0x01, 0x05, 0xe3, 0x70, 0x01, 0x06, 0x0a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x28, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x94, 0x01, 0x6c, 0xe1, 0x50, 0x00, 0x05, 0xca, 0xff, 0xff, 0xf5, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x06, 0xa0, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x06, 
+0xe2, 0x84, 0x00, 0x2c, 0xe7, 0x90, 0x01, 0x05, 0xe3, 0x70, 0x01, 0x06, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x06, 0xa0, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x94, 0x01, 0x6c, 0xe1, 0x50, 0x00, 0x05, 0xca, 0xff, 0xff, 0xf5, 
+0xe5, 0x94, 0x06, 0xa0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x94, 0x01, 0x80, 0xe1, 0x81, 0x01, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x05, 0x10, 
+0xea, 0x00, 0x00, 0x0a, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x04, 0xb9, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x84, 0x00, 0x24, 0xe3, 0xa0, 0x10, 0x02, 0xe5, 0x94, 0x01, 0x80, 0xe1, 0x81, 0x01, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x08, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x05, 0x0c, 0xea, 0xff, 0xfe, 0x13, 0x00, 0x00, 0x04, 0x18, 0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x24, 0xe1, 0xa0, 0x70, 0x01, 0xe1, 0xa0, 0x60, 0x02, 0xe1, 0xa0, 0x50, 0x03, 0xe5, 0x9d, 0x90, 0x5c, 
+0xe5, 0x9d, 0xb0, 0x58, 0xe3, 0x55, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x9b, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x9d, 0x00, 0x1c, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x00, 0x1c, 
+0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x80, 0x00, 0xea, 0x00, 0x00, 0x2e, 0xe5, 0x9d, 0x00, 0x24, 0xe5, 0x90, 0x06, 0xa8, 0xe0, 0x2a, 0x80, 0x95, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0xa0, 0x10, 0xe5, 0x99, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x11, 0xe2, 0x8d, 0x30, 0x14, 
+0xe2, 0x8d, 0x20, 0x18, 0xe2, 0x8d, 0x10, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0x8d, 0x00, 0x0f, 0xe1, 0xa0, 0x30, 0x07, 0xe1, 0xa0, 0x20, 0x0a, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x9d, 0x00, 0x24, 0xeb, 0x00, 0x01, 0x84, 0xe1, 0xa0, 0x40, 0x00, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x90, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x89, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x40, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 
+0xe5, 0x81, 0x00, 0x04, 0xe5, 0x81, 0x00, 0xa4, 0xe3, 0x54, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x48, 0x80, 0x01, 0xe2, 0x88, 0x80, 0x01, 
+0xe5, 0x9d, 0x00, 0x24, 0xe5, 0x90, 0x06, 0xa8, 0xe1, 0x50, 0x00, 0x08, 0xca, 0xff, 0xff, 0xcc, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0xff, 0xfb, 0x6d, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0xff, 0xfa, 0xe9, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x71, 0xe5, 0x8d, 0x00, 0x20, 0xeb, 0xff, 0xf9, 0x78, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xf9, 0xe2, 0x8d, 0xd0, 0x34, 
+0xe8, 0xbd, 0x8f, 0xf0, 0xe9, 0x2d, 0x43, 0xf0, 0xe2, 0x4d, 0xd0, 0x1c, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x60, 0x01, 0xe3, 0xa0, 0x00, 0x16, 0xeb, 0xff, 0xfb, 0x65, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfb, 0x62, 
+0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x5f, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x5c, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x59, 0xe1, 0xa0, 0x50, 0x00, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x56, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x53, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfb, 0x50, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x55, 0x00, 0x05, 
+0x90, 0x8f, 0xf1, 0x05, 0xea, 0x00, 0x00, 0x37, 0xea, 0x00, 0x00, 0x36, 0xea, 0x00, 0x00, 0x03, 0xea, 0x00, 0x00, 0x0c, 0xea, 0x00, 0x00, 0x15, 0xea, 0x00, 0x00, 0x1e, 0xea, 0x00, 0x00, 0x27, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x80, 
+0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x00, 0x60, 0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x00, 0x08, 0xe5, 0x84, 0x06, 0xa8, 0xe3, 0xa0, 0x00, 0x06, 0xe5, 0x84, 0x06, 0xac, 0xea, 0x00, 0x00, 0x2e, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0xb0, 
+0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x00, 0x90, 0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x00, 0x0b, 0xe5, 0x84, 0x06, 0xa8, 0xe3, 0xa0, 0x00, 0x09, 0xe5, 0x84, 0x06, 0xac, 0xea, 0x00, 0x00, 0x24, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x0e, 0x16, 
+0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x0e, 0x12, 0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x00, 0x16, 0xe5, 0x84, 0x06, 0xa8, 0xe3, 0xa0, 0x00, 0x12, 0xe5, 0x84, 0x06, 0xac, 0xea, 0x00, 0x00, 0x1a, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x0d, 0x0b, 
+0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x0d, 0x09, 0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x00, 0x58, 0xe5, 0x84, 0x06, 0xa8, 0xe3, 0xa0, 0x00, 0x12, 0xe5, 0x84, 0x06, 0xac, 0xea, 0x00, 0x00, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9f, 0x04, 0x24, 
+0xe5, 0x84, 0x01, 0x70, 0xe3, 0xa0, 0x0d, 0x12, 0xe5, 0x84, 0x01, 0x74, 0xe3, 0xa0, 0x0e, 0x16, 0xe5, 0x84, 0x06, 0xa8, 0xe3, 0xa0, 0x00, 0x12, 0xe5, 0x84, 0x06, 0xac, 0xea, 0x00, 0x00, 0x06, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x10, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x05, 0x14, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x05, 0x0c, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x0a, 0xe5, 0x86, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xfb, 0x07, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfb, 0x04, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfb, 0x01, 0xe1, 0xa0, 0x50, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xfa, 0xfd, 0xe1, 0xa0, 0x70, 0x00, 0xe3, 0x57, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfa, 0xf8, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x57, 0x00, 0x01, 0x0a, 0xff, 0xff, 0xf5, 0xe5, 0x94, 0x71, 0x1c, 
+0xe5, 0x94, 0x00, 0x1c, 0xe2, 0x84, 0x10, 0x2c, 0xe7, 0x81, 0x01, 0x07, 0xe2, 0x84, 0x00, 0xcc, 0xe7, 0x90, 0x01, 0x07, 0xe2, 0x80, 0x00, 0x01, 0xe2, 0x84, 0x10, 0xcc, 0xe7, 0x81, 0x01, 0x07, 0xe2, 0x84, 0x0f, 0x7b, 0xe7, 0x90, 0x01, 0x07, 
+0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x28, 0xe2, 0x84, 0x0f, 0x8f, 0xe7, 0x90, 0x01, 0x07, 0xe5, 0x81, 0x00, 0x2c, 0xe5, 0x94, 0x00, 0x24, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x94, 0x00, 0x20, 0xe2, 0x84, 0x10, 0xcc, 
+0xe7, 0x91, 0x01, 0x00, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x20, 0xe2, 0x84, 0x20, 0xcc, 0xe7, 0x82, 0x01, 0x01, 0xe3, 0xe0, 0x01, 0x02, 0xe5, 0x94, 0x10, 0x20, 0xe2, 0x84, 0x20, 0x2c, 0xe7, 0x82, 0x01, 0x01, 0xe3, 0xa0, 0x10, 0x08, 
+0xe5, 0x96, 0x00, 0x00, 0xe1, 0x81, 0x07, 0x80, 0xe3, 0x80, 0x07, 0x09, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x48, 0xe3, 0xa0, 0x30, 0x03, 0xe3, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x8d, 0x10, 0x04, 0xe2, 0x8d, 0x00, 0x08, 
+0xe8, 0x80, 0x00, 0x0e, 0xe3, 0xa0, 0x30, 0x00, 0xe5, 0x8d, 0x30, 0x00, 0xe5, 0x96, 0x20, 0x00, 0xe5, 0x94, 0x10, 0x1c, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x02, 0xde, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 
+0xe5, 0x9f, 0x02, 0xbc, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x50, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9f, 0x02, 0x80, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xea, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x02, 0xe7, 0x81, 0x01, 0x07, 0xe2, 0x87, 0x70, 0x01, 0xe3, 0x57, 0x00, 0x28, 0xba, 0xff, 0xff, 0xf9, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 
+0xe3, 0x55, 0x00, 0x02, 0xba, 0xff, 0xff, 0xe6, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 0xe2, 0x84, 0x1e, 0x17, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x05, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 
+0xe3, 0xa0, 0x90, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x18, 0xe3, 0xa0, 0x80, 0x00, 0xea, 0x00, 0x00, 0x65, 0xe2, 0x8d, 0x30, 0x18, 0xe2, 0x8d, 0x20, 0x14, 0xe8, 0x8d, 0x00, 0x0c, 0xe1, 0xa0, 0x30, 0x08, 0xe1, 0xa0, 0x20, 0x09, 
+0xe1, 0xa0, 0x00, 0x04, 0xe5, 0x96, 0x10, 0x00, 0xeb, 0xff, 0xfe, 0xc0, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x12, 0xea, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0xff, 0xfa, 0x70, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xb8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfa, 0x73, 0xe1, 0xa0, 0x50, 0x00, 
+0xea, 0xff, 0xff, 0xf1, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x40, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x94, 0x06, 0xac, 0xe2, 0x40, 0x00, 0x01, 0xe1, 0x50, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x0b, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 
+0xea, 0x00, 0x00, 0x36, 0xe3, 0xa0, 0x90, 0x01, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0xff, 0xfa, 0x4d, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x31, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0xa0, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 
+0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x18, 0xe3, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0xff, 0xfa, 0x36, 
+0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfa, 0x33, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xfa, 0x30, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfa, 0x2d, 0xe5, 0x8d, 0x00, 0x14, 
+0xe3, 0xa0, 0x10, 0x08, 0xe5, 0x96, 0x00, 0x00, 0xe1, 0x81, 0x07, 0x80, 0xe3, 0x80, 0x07, 0x09, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x48, 0xe2, 0x88, 0x80, 0x01, 0xe5, 0x94, 0x06, 0xac, 0xe1, 0x50, 0x00, 0x08, 0xca, 0xff, 0xff, 0x96, 
+0xe3, 0xa0, 0x00, 0x16, 0xeb, 0xff, 0xfa, 0x13, 0xe3, 0x50, 0x00, 0x3f, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x16, 0xeb, 0xff, 0xfa, 0x1c, 0xe1, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfa, 0x18, 
+0xe1, 0xa0, 0x50, 0x00, 0xeb, 0xff, 0xf8, 0x1f, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xf9, 0xe2, 0x8d, 0xd0, 0x1c, 0xe8, 0xbd, 0x83, 0xf0, 0x00, 0x00, 0x04, 0x18, 0x00, 0x00, 0x80, 0x20, 0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x44, 
+0xe3, 0xa0, 0x20, 0x14, 0xe5, 0x9f, 0x17, 0xd0, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x28, 0xeb, 0x00, 0x0d, 0xc9, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x0c, 0xe5, 0x8d, 0x00, 0x08, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x50, 0x00, 
+0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0xa0, 0x00, 0xe3, 0xa0, 0xb0, 0x00, 0xe5, 0x9d, 0x00, 0x4c, 0xe2, 0x00, 0x00, 0x1f, 0xe5, 0x8d, 0x00, 0x40, 
+0xe5, 0x9d, 0x00, 0x4c, 0xe1, 0xa0, 0x02, 0xc0, 0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x01, 0x38, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x8d, 0x00, 0x1c, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0xec, 0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x12, 0xe5, 0x9d, 0x20, 0x40, 0xe3, 0x52, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x44, 0xe5, 0x81, 0x04, 0x88, 0xe5, 0x9d, 0x10, 0x44, 0xe5, 0x91, 0x04, 0x88, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x9d, 0x20, 0x40, 0xe1, 0x80, 0x02, 0x11, 0xe5, 0x9d, 0x10, 0x44, 
+0xe5, 0x81, 0x04, 0x88, 0xe5, 0x9d, 0x10, 0x44, 0xe5, 0x91, 0x04, 0x88, 0xe2, 0x81, 0x1f, 0xaf, 0xe5, 0x9d, 0x20, 0x3c, 0xe7, 0x81, 0x01, 0x02, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x44, 0xe2, 0x81, 0x1f, 0xaf, 
+0xe5, 0x9d, 0x20, 0x3c, 0xe7, 0x81, 0x01, 0x02, 0xe5, 0x9d, 0x00, 0x1c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x0c, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x8d, 0x10, 0x24, 0xea, 0x00, 0x00, 0xeb, 
+0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0x00, 0x01, 0xbe, 0xe5, 0x8d, 0x00, 0x18, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0xba, 0xe5, 0x8d, 0x00, 0x18, 
+0xe3, 0xa0, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x18, 0xe0, 0x00, 0x02, 0x41, 0xe5, 0x8d, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0c, 0xe5, 0x9d, 0x10, 0x44, 0xe5, 0x91, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x02, 
+0x1a, 0x00, 0x00, 0x08, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0xab, 0xe1, 0xa0, 0x50, 0x00, 
+0xe5, 0x9d, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xf9, 0x9f, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x07, 0x0a, 0x00, 0x00, 0x0d, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x04, 
+0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x01, 0x8e, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x01, 0x8a, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 
+0xe2, 0x8d, 0xd0, 0x54, 0xe8, 0xbd, 0x8f, 0xf0, 0xe5, 0x9d, 0x00, 0x18, 0xe2, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x14, 0xe1, 0x80, 0x01, 0x01, 0xe5, 0x8d, 0x00, 0x08, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 
+0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x30, 0xe5, 0x9d, 0x10, 0x84, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xf9, 0x79, 0xe5, 0x8d, 0x00, 0x3c, 
+0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe2, 0x8d, 0x10, 0x28, 0xe5, 0x9d, 0x20, 0x3c, 0xe7, 0x91, 0x11, 0x02, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x1f, 0xca, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x15, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 
+0xe5, 0x9d, 0x10, 0x84, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x44, 0xe5, 0x91, 0x01, 0x80, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x2d, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x00, 0x0c, 
+0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x08, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0x3f, 0xe1, 0xa0, 0x70, 0x00, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x07, 
+0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x02, 0xaa, 0x00, 0x00, 0x04, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0x2b, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0x54, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0b, 
+0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0x20, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xf9, 0x1d, 0xe1, 0xa0, 0x90, 0x00, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x02, 
+0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x10, 0x04, 
+0xe5, 0x9d, 0x00, 0x0c, 0xeb, 0x00, 0x01, 0x14, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x78, 0xe3, 0x51, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x20, 0xea, 0x00, 0x00, 0x14, 0xe5, 0x9d, 0x10, 0x78, 0xe3, 0x51, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x20, 0xea, 0x00, 0x00, 0x0e, 
+0xe5, 0x9d, 0x10, 0x7c, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0xa0, 0x20, 0x0b, 0xe5, 0x9d, 0x10, 0x78, 0xe0, 0x82, 0x10, 0x81, 0xe1, 0x50, 0x00, 0x01, 0xba, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x20, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x20, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x04, 
+0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x8d, 0x10, 0x24, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x8d, 0x10, 0x24, 0xe5, 0x9d, 0x00, 0x0c, 0xe5, 0x9d, 0x10, 0x24, 0xe1, 0x80, 0x03, 0x01, 0xe5, 0x9d, 0x10, 0x1c, 
+0xe1, 0x80, 0x05, 0x01, 0xe1, 0x80, 0x05, 0x84, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe1, 0xa0, 0x07, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe1, 0x80, 0x0a, 0x01, 0xe1, 0x80, 0x0d, 0x87, 
+0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe1, 0x88, 0x00, 0x89, 0xe1, 0x80, 0x04, 0x05, 0xe1, 0x80, 0x08, 0x06, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x9d, 0x00, 0x04, 0xe1, 0xa0, 0x0c, 0x00, 0xe5, 0x81, 0x00, 0x10, 0xe5, 0x9d, 0x00, 0x1c, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0xa4, 0xe3, 0xa0, 0x30, 0x00, 0xe5, 0x8d, 0x30, 0x00, 0xe2, 0x8d, 0x10, 0x20, 0xe8, 0x91, 0x00, 0x03, 0xe5, 0x9d, 0x20, 0x08, 0xeb, 0x00, 0x00, 0xa5, 0xea, 0x00, 0x00, 0x9d, 0xe5, 0x9d, 0x10, 0x44, 
+0xe2, 0x81, 0x0f, 0xaf, 0xe5, 0x9d, 0x20, 0x3c, 0xe7, 0x90, 0x01, 0x02, 0xe5, 0x9d, 0x20, 0x40, 0xe1, 0xa0, 0x02, 0x50, 0xe2, 0x00, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x9d, 0x00, 0x1c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x72, 
+0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x00, 0xa9, 0xe5, 0x8d, 0x00, 0x10, 0xe5, 0x9d, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x6a, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x00, 0xa3, 0xe5, 0x8d, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x10, 
+0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf8, 0xa2, 0xe5, 0x8d, 0x00, 0x08, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x08, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 
+0x0a, 0x00, 0x00, 0x33, 0xe5, 0x9d, 0x10, 0x08, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x30, 0xe5, 0x9d, 0x10, 0x84, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0x00, 0x00, 0x8d, 
+0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe2, 0x8d, 0x10, 0x28, 0xe5, 0x9d, 0x20, 0x3c, 0xe7, 0x91, 0x11, 0x02, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x80, 
+0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x1f, 0xca, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x15, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x1f, 
+0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x80, 
+0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x80, 
+0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x84, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x44, 0xe5, 0x91, 0x01, 0x80, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x1f, 0xe5, 0x9d, 0x10, 0x08, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf8, 0x5e, 0xe1, 0xa0, 0x70, 0x00, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf8, 0x58, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0x54, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x11, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf8, 0x50, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf8, 0x4d, 0xe1, 0xa0, 0x90, 0x00, 
+0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf8, 0x47, 0xe1, 0xa0, 0xa0, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf8, 0x44, 0xe1, 0xa0, 0xb0, 0x00, 0xe1, 0xa0, 0x10, 0x04, 
+0xe5, 0x9d, 0x00, 0x0c, 0xeb, 0x00, 0x00, 0x4c, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x60, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x60, 0x01, 0xe5, 0x9d, 0x00, 0x1c, 0xe1, 0xa0, 0x05, 0x00, 0xe1, 0x80, 0x05, 0x84, 0xe5, 0x9d, 0x10, 0x0c, 
+0xe1, 0x80, 0x09, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe1, 0xa0, 0x07, 0x00, 0xe5, 0x9d, 0x10, 0x08, 0xe1, 0x80, 0x0a, 0x01, 0xe1, 0x80, 0x0d, 0x87, 0xe3, 0xa0, 0x16, 0x02, 
+0xe5, 0x81, 0x00, 0x04, 0xe1, 0x88, 0x00, 0x89, 0xe1, 0x80, 0x01, 0x0a, 0xe1, 0x80, 0x01, 0x8b, 0xe1, 0x80, 0x08, 0x06, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x08, 0xe3, 0x51, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x30, 0x00, 0xe5, 0x8d, 0x30, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0x20, 0x08, 0xeb, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x10, 0x80, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x7c, 
+0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xfe, 0x8a, 0x00, 0x00, 0x40, 0x84, 0xe9, 0x2d, 0x40, 0x10, 0xe5, 0x9d, 0xc0, 0x08, 0xe1, 0x81, 0xe0, 0x82, 0xe1, 0x8e, 0xe3, 0x80, 0xe1, 0x8e, 0xe4, 0x03, 0xe1, 0x8e, 0xe4, 0x8c, 
+0xe3, 0xa0, 0x48, 0x52, 0xe5, 0x84, 0xe0, 0x58, 0xe3, 0xa0, 0xe0, 0x10, 0xe5, 0x84, 0xe0, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0xe8, 0x52, 0xe5, 0x9e, 0xe0, 0x20, 0xe3, 0x5e, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x10, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x82, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x1c, 0xe1, 0x2f, 0xff, 0x1e, 0xe1, 0x80, 0x22, 0x01, 
+0xe3, 0xa0, 0x38, 0x52, 0xe5, 0x83, 0x20, 0x4c, 0xe3, 0xa0, 0x2c, 0x01, 0xe5, 0x83, 0x20, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x92, 0x20, 0x50, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x04, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x71, 0x9c, 0xe5, 0x9d, 0x20, 0x04, 0xe3, 0xe0, 0x11, 0x02, 0xe5, 0x92, 0x02, 0xa8, 0xe0, 0x01, 0x80, 0xc0, 
+0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x02, 0xa8, 0xe2, 0x00, 0x50, 0x01, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x02, 0xac, 0xe0, 0x01, 0xb0, 0xc0, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x02, 0xac, 0xe2, 0x00, 0x60, 0x01, 0xe5, 0x9d, 0x20, 0x04, 
+0xe5, 0x92, 0x02, 0xa4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x42, 0x00, 0x08, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x82, 0x02, 0xb0, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x02, 0xb0, 0xe1, 0xa0, 0x40, 0xc0, 
+0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x12, 0xb0, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x42, 0x20, 0x08, 0xe0, 0x82, 0x00, 0x04, 0xeb, 0x00, 0x0b, 0x9f, 0xe1, 0xa0, 0x90, 0x00, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x12, 0xb0, 0xe0, 0x4b, 0x20, 0x08, 
+0xe0, 0x82, 0x00, 0x04, 0xeb, 0x00, 0x0b, 0x99, 0xe1, 0xa0, 0xa0, 0x00, 0xe2, 0x09, 0x90, 0xff, 0xe2, 0x0a, 0xa0, 0xff, 0xe5, 0x9d, 0x20, 0x04, 0xe2, 0x82, 0x1e, 0x17, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x05, 0x81, 0xe3, 0xa0, 0x18, 0x56, 
+0xe5, 0x81, 0x00, 0x00, 0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x70, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x80, 0x09, 0x02, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x11, 0x80, 
+0xe1, 0x80, 0x04, 0x01, 0xe5, 0x9d, 0x10, 0x38, 0xe1, 0x80, 0x05, 0x01, 0xe1, 0x80, 0x07, 0x07, 0xe5, 0x9d, 0x10, 0x44, 0xe1, 0x80, 0x0e, 0x01, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x48, 0xe3, 0x51, 0x00, 0x03, 
+0x1a, 0x00, 0x00, 0x03, 0xe1, 0x85, 0x0b, 0x05, 0xe1, 0x80, 0x0d, 0x86, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x01, 0xa8, 0xe3, 0x80, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x10, 0xe1, 0x80, 0x01, 0x01, 
+0xe5, 0x9d, 0x10, 0x3c, 0xe1, 0x80, 0x03, 0x81, 0xe5, 0x9d, 0x10, 0x40, 0xe1, 0x80, 0x05, 0x01, 0xe5, 0x92, 0x11, 0x8c, 0xe1, 0x80, 0x06, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x02, 
+0x0a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x40, 0x05, 0xe1, 0xa0, 0x50, 0x06, 0xe1, 0xa0, 0x60, 0x04, 0xe5, 0x9d, 0x10, 0x48, 0xe3, 0x51, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x04, 0xe1, 0x89, 0x04, 0x0a, 0xe1, 0x80, 0x08, 0x05, 0xe1, 0x80, 0x0a, 0x86, 
+0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x10, 0xe3, 0xa0, 0x08, 0x56, 0xe5, 0x9d, 0x10, 0x48, 0xe5, 0x80, 0x10, 0x14, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x48, 0xe3, 0x51, 0x00, 0x03, 
+0x1a, 0x00, 0x00, 0x0d, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x02, 0xa8, 0xe2, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x20, 0x08, 0xe1, 0x80, 0x00, 0x82, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x82, 0x02, 0xa8, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x42, 0xa8, 
+0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x92, 0x02, 0xac, 0xe5, 0x82, 0x02, 0xa8, 0xe5, 0x9d, 0x20, 0x04, 0xe5, 0x82, 0x42, 0xac, 0xe2, 0x8d, 0xd0, 0x14, 0xe8, 0xbd, 0x8f, 0xf0, 0xe5, 0x2d, 0xe0, 0x04, 0xe5, 0x90, 0x32, 0xb4, 0xe3, 0x53, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe2, 0x80, 0x30, 0x2c, 0xe7, 0x93, 0x31, 0x02, 0xe2, 0x80, 0xc0, 0x7c, 0xe7, 0x8c, 0x31, 0x02, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x90, 0x31, 0x6c, 0xe1, 0x53, 0x00, 0x02, 
+0xca, 0xff, 0xff, 0xf7, 0xe5, 0x90, 0x32, 0xb8, 0xe3, 0x53, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x90, 0x21, 0x1c, 0xe2, 0x80, 0x30, 0x2c, 0xe7, 0x83, 0x11, 0x02, 0xea, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x06, 
+0xe2, 0x80, 0x30, 0x2c, 0xe7, 0x93, 0x31, 0x02, 0xe5, 0x90, 0xc2, 0x94, 0xe1, 0x53, 0x00, 0x0c, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x90, 0x31, 0x6c, 0xe1, 0x53, 0x00, 0x02, 0xca, 0xff, 0xff, 0xf5, 
+0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x80, 0x30, 0xcc, 0xe7, 0x93, 0x31, 0x02, 0xe2, 0x83, 0x30, 0x01, 0xe2, 0x80, 0xc0, 0xcc, 0xe7, 0x8c, 0x31, 0x02, 0xe2, 0x80, 0x3f, 0x7b, 0xe7, 0x93, 0x31, 0x02, 0xe3, 0xa0, 0xc8, 0x55, 0xe5, 0x8c, 0x30, 0x28, 
+0xe2, 0x80, 0x3f, 0x8f, 0xe7, 0x93, 0x31, 0x02, 0xe5, 0x8c, 0x30, 0x2c, 0xe5, 0x90, 0x30, 0x24, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x12, 0xe5, 0x90, 0x30, 0x20, 0xe2, 0x80, 0xc0, 0xcc, 0xe7, 0x9c, 0x31, 0x03, 0xe2, 0x43, 0x30, 0x01, 
+0xe5, 0x90, 0xc0, 0x20, 0xe2, 0x80, 0xe0, 0xcc, 0xe7, 0x8e, 0x31, 0x0c, 0xe5, 0x90, 0x30, 0x20, 0xe2, 0x80, 0xc0, 0xcc, 0xe7, 0x9c, 0x31, 0x03, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xe0, 0x31, 0x02, 0xe5, 0x90, 0xc0, 0x20, 
+0xe2, 0x80, 0xe0, 0x7c, 0xe7, 0x8e, 0x31, 0x0c, 0xe5, 0x90, 0xc0, 0x20, 0xe2, 0x80, 0xe0, 0x2c, 0xe7, 0x8e, 0x31, 0x0c, 0xe5, 0x90, 0x30, 0x28, 0xe3, 0x53, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0d, 0xe3, 0xa0, 0x30, 0x00, 0xe5, 0x80, 0x30, 0x28, 
+0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe2, 0x80, 0x30, 0x7c, 0xe7, 0x93, 0x31, 0x02, 0xe3, 0x73, 0x01, 0x06, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x01, 0xe5, 0x80, 0x30, 0x28, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x90, 0x31, 0x6c, 
+0xe1, 0x53, 0x00, 0x02, 0xca, 0xff, 0xff, 0xf5, 0xe4, 0x9d, 0xf0, 0x04, 0xe5, 0x90, 0x30, 0x28, 0xe3, 0x53, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x80, 0x20, 0x7c, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x80, 0x20, 0x2c, 0xe3, 0xa0, 0x30, 0x00, 
+0xe5, 0x80, 0x30, 0x20, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x90, 0x30, 0x20, 0xe7, 0x92, 0x31, 0x03, 0xe7, 0x92, 0xc1, 0x01, 0xe1, 0x53, 0x00, 0x0c, 0xda, 0x00, 0x00, 0x00, 0xe5, 0x80, 0x10, 0x20, 0xe2, 0x81, 0x10, 0x01, 
+0xe5, 0x90, 0x31, 0x6c, 0xe1, 0x53, 0x00, 0x01, 0xca, 0xff, 0xff, 0xf5, 0xe5, 0x90, 0x30, 0x20, 0xe2, 0x80, 0xcf, 0x7b, 0xe7, 0x9c, 0x31, 0x03, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x8c, 0x34, 0x00, 0xe5, 0x90, 0x30, 0x20, 0xe2, 0x80, 0xcf, 0x8f, 
+0xe7, 0x9c, 0x31, 0x03, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x8c, 0x34, 0x04, 0xe5, 0x90, 0x32, 0xb8, 0xe3, 0x53, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe2, 0x80, 0x3f, 0x47, 0xe2, 0x81, 0xc0, 0x01, 
+0xe7, 0x93, 0x31, 0x0c, 0xe2, 0x80, 0xcf, 0x47, 0xe7, 0x8c, 0x31, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x13, 0xba, 0xff, 0xff, 0xf7, 0xe3, 0xa0, 0x10, 0x00, 0xea, 0x00, 0x00, 0x0d, 0xe2, 0x80, 0x3f, 0x47, 0xe7, 0x93, 0x31, 0x01, 
+0xe3, 0x73, 0x01, 0x06, 0x0a, 0x00, 0x00, 0x04, 0xe2, 0x80, 0x3f, 0x47, 0xe7, 0x93, 0x31, 0x01, 0xe5, 0x90, 0xc0, 0x20, 0xe1, 0x53, 0x00, 0x0c, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x90, 0x30, 0x20, 0xe2, 0x80, 0xcf, 0x47, 0xe7, 0x8c, 0x31, 0x01, 
+0xea, 0x00, 0x00, 0x02, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x13, 0xba, 0xff, 0xff, 0xef, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x1c, 0xe1, 0xa0, 0x50, 0x02, 0xe1, 0xa0, 0x60, 0x03, 
+0xe5, 0x9d, 0x70, 0x5c, 0xe5, 0x9d, 0x90, 0x58, 0xe2, 0x8d, 0xb0, 0x50, 0xe8, 0x9b, 0x0c, 0x00, 0xe5, 0x8d, 0xa0, 0x18, 0xe5, 0x9d, 0x00, 0x18, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x18, 0xe5, 0x8d, 0x00, 0x10, 0xe5, 0x9d, 0x80, 0x20, 
+0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x97, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x10, 0xe2, 0x8d, 0x30, 0x10, 0xe2, 0x8d, 0x20, 0x14, 0xe2, 0x8d, 0x10, 0x18, 0xe9, 0x8d, 0x00, 0x0e, 0xe5, 0x8d, 0x60, 0x00, 0xe1, 0xa0, 0x30, 0x05, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x97, 0x20, 0x00, 
+0xe5, 0x9d, 0x00, 0x1c, 0xeb, 0xff, 0xfc, 0x9f, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x90, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe2, 0x8d, 0xd0, 0x2c, 0xe8, 0xbd, 0x8f, 0xf0, 
+0xe5, 0x97, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x07, 0xe3, 0x54, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe5, 0x97, 0x00, 0x00, 0xe0, 0x80, 0x00, 0x04, 
+0xe5, 0x87, 0x00, 0x00, 0xe0, 0x88, 0x80, 0x04, 0xe5, 0x97, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x09, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x06, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xf6, 0x09, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xce, 
+0xeb, 0xff, 0xf6, 0x13, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xcb, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x97, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x09, 0x0a, 0x00, 0x00, 0x0c, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0xa0, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 
+0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xd3, 0xe9, 0x2d, 0x4f, 0xf7, 0xe2, 0x4d, 0xd0, 0x50, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x24, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x8d, 0x00, 0x18, 0xe3, 0xa0, 0xa0, 0x00, 
+0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x50, 0x00, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x90, 0x01, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x9c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x15, 
+0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xa0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x11, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x8d, 0x20, 0x4c, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0x00, 0x50, 0xe2, 0x80, 0x0b, 0x01, 0xe2, 0x80, 0x00, 0x9c, 
+0xe5, 0x9d, 0x20, 0x4c, 0xe7, 0x90, 0x01, 0x02, 0xe3, 0xa0, 0x18, 0x56, 0xe2, 0x81, 0x1b, 0x02, 0xe2, 0x81, 0x1f, 0x61, 0xe7, 0x81, 0x01, 0x02, 0xe5, 0x9d, 0x20, 0x4c, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x4c, 0xe5, 0x9d, 0x20, 0x4c, 
+0xe3, 0x52, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf0, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x9c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x15, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xa4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x11, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x4c, 0xea, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0x00, 0x50, 0xe2, 0x80, 0x0b, 0x01, 0xe2, 0x80, 0x0f, 0x67, 0xe5, 0x9d, 0x20, 0x4c, 0xe7, 0x90, 0x01, 0x02, 0xe3, 0xa0, 0x18, 0x56, 0xe2, 0x81, 0x1b, 0x02, 
+0xe2, 0x81, 0x1f, 0xa1, 0xe7, 0x81, 0x01, 0x02, 0xe5, 0x9d, 0x20, 0x4c, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x4c, 0xe5, 0x9d, 0x20, 0x4c, 0xe3, 0x52, 0x00, 0x40, 0xba, 0xff, 0xff, 0xf0, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xa0, 
+0xe1, 0xa0, 0x03, 0x00, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x11, 0xa4, 0xe1, 0x80, 0x03, 0x81, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x9d, 0x00, 0x48, 0xe5, 0x81, 0x08, 0x00, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0xff, 0xf6, 0x30, 
+0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xf6, 0x2d, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x81, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf6, 0x28, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x48, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x24, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x24, 0xe5, 0x9d, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf3, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf6, 0x1c, 
+0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x01, 0x7c, 0xe2, 0x8d, 0x10, 0x44, 0xeb, 0xff, 0xf5, 0xb7, 0xe5, 0x9d, 0x00, 0x44, 0xeb, 0xff, 0xf6, 0x15, 0xe5, 0x8d, 0x00, 0x34, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf6, 0x12, 
+0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf6, 0x0f, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x81, 0x02, 0xb8, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x00, 0x1c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x17, 0xe5, 0x9d, 0x10, 0x58, 
+0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0c, 0xe5, 0x9d, 0x10, 0x24, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x09, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0x98, 0xe5, 0x9d, 0x10, 0x34, 0xe1, 0x50, 0x00, 0x01, 
+0xba, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0xa0, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x81, 0x02, 0xa0, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 
+0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x9d, 0x10, 0x34, 0xe5, 0x80, 0x12, 0x98, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0xb4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x81, 0x02, 0xa4, 
+0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0xa0, 0xe3, 0x50, 0x00, 0x0a, 0xaa, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x81, 0x02, 0xb4, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0xb4, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x81, 0x02, 0xa0, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x81, 0x00, 0x28, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 
+0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0xa4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0xa4, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x81, 0x02, 0xa4, 
+0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x09, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0xa0, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x81, 0x02, 0x9c, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0xa0, 
+0xe5, 0x9d, 0x10, 0x24, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x81, 0x02, 0xa0, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0x9c, 
+0xe5, 0x9d, 0x10, 0x24, 0xe0, 0x80, 0x80, 0x01, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x82, 0xa0, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x7c, 0xe5, 0x9d, 0x10, 0x34, 0xe0, 0x2b, 0x18, 0x90, 0xe5, 0x9d, 0x10, 0x58, 
+0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0xb8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x80, 0xb2, 0x94, 0xe1, 0xa0, 0x10, 0x0b, 
+0xe5, 0x9d, 0x00, 0x50, 0xeb, 0xff, 0xfe, 0x38, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x02, 0xb8, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x04, 0xe2, 0x8d, 0x00, 0x48, 0xeb, 0xff, 0xf3, 0xad, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x5c, 
+0xe8, 0xbd, 0x8f, 0xf0, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xd0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x1c, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x01, 0x7c, 0xe2, 0x8d, 0x10, 0x44, 0xeb, 0xff, 0xf5, 0x31, 0xe5, 0x9d, 0x00, 0x44, 
+0xe2, 0x80, 0x00, 0x03, 0xe5, 0x8d, 0x00, 0x44, 0xe5, 0x9d, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x0f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0f, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x44, 0xe5, 0x8d, 0x00, 0x44, 0xe5, 0x9d, 0x00, 0x44, 
+0xeb, 0xff, 0xf5, 0x85, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x82, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x44, 0xeb, 0xff, 0xf5, 0x7c, 
+0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x79, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x6e, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x9d, 0x10, 0x58, 
+0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x5f, 0xe5, 0x8d, 0x00, 0x1c, 
+0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x78, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x2b, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x17, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xf5, 0x50, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x4d, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xf5, 0x4a, 
+0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x47, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xf5, 0x44, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x41, 0xe5, 0x8d, 0x00, 0x48, 
+0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xf5, 0x3e, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x3b, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x38, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xf5, 0x35, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x2f, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xac, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0xc1, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0xb9, 
+0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0xad, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb4, 0xe3, 0x10, 0x00, 0x20, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf5, 0x10, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 
+0xe5, 0x90, 0x01, 0xb4, 0xe3, 0x10, 0x00, 0x10, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf5, 0x09, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb4, 0xe3, 0x10, 0x00, 0x08, 0x0a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf5, 0x02, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb4, 0xe3, 0x10, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xfb, 0xe5, 0x8d, 0x00, 0x48, 
+0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb4, 0xe3, 0x10, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xf4, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb4, 0xe3, 0x10, 0x00, 0x01, 
+0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xed, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb8, 0xe3, 0x10, 0x00, 0x08, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xe6, 
+0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb8, 0xe3, 0x10, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xdf, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xbc, 
+0xe3, 0x10, 0x00, 0x08, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xd8, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xbc, 0xe3, 0x10, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 
+0xeb, 0xff, 0xf4, 0xd1, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xbc, 0xe3, 0x10, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xca, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 
+0xe5, 0x90, 0x01, 0xbc, 0xe3, 0x10, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf4, 0xc3, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 
+0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x3b, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb8, 0xe3, 0x10, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xb4, 
+0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xb8, 0xe3, 0x10, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xad, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xc0, 
+0xe3, 0x10, 0x00, 0x20, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xa6, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xc0, 0xe3, 0x10, 0x00, 0x10, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 
+0xeb, 0xff, 0xf4, 0x9f, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xc0, 0xe3, 0x10, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0x98, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 
+0xe5, 0x90, 0x01, 0xc0, 0xe3, 0x10, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0x91, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xc0, 0xe3, 0x10, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0x8a, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xc0, 0xe3, 0x10, 0x00, 0x08, 
+0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0x7f, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xc4, 0xe3, 0x10, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0x78, 
+0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x00, 0x50, 
+0xe5, 0x90, 0x01, 0xc4, 0xe3, 0x10, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0x69, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xf4, 0x66, 0xe5, 0x8d, 0x00, 0x30, 0xe5, 0x9d, 0x00, 0x50, 
+0xe5, 0x90, 0x01, 0x80, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf4, 0x5f, 0xe5, 0x8d, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf4, 0x5c, 0xe1, 0xa0, 0xa0, 0x00, 0xe5, 0x9d, 0x00, 0x50, 
+0xe5, 0x90, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x30, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x03, 
+0x1a, 0x00, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x4c, 0xea, 0x00, 0x00, 0x1a, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfc, 0x45, 0xe5, 0x8d, 0x00, 0x44, 0xe5, 0x9d, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 
+0xe5, 0x9d, 0x00, 0x44, 0xeb, 0xff, 0xf4, 0x44, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf4, 0x41, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfc, 0x39, 0xe5, 0x8d, 0x00, 0x44, 0xe5, 0x9d, 0x00, 0x44, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x44, 0xeb, 0xff, 0xf4, 0x38, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf4, 0x35, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x20, 0x4c, 0xe2, 0x82, 0x00, 0x01, 
+0xe5, 0x8d, 0x00, 0x4c, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x8c, 0xe5, 0x9d, 0x20, 0x4c, 0xe1, 0x50, 0x00, 0x02, 0xca, 0xff, 0xff, 0xdf, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x94, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 
+0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xfc, 0x21, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x48, 0xeb, 0xff, 0xf4, 0x23, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x01, 0x98, 0xeb, 0xff, 0xf4, 0x1f, 0xe5, 0x8d, 0x00, 0x2c, 
+0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xf4, 0x18, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xa8, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xe2, 0x44, 0x40, 0x01, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xf4, 0x0c, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x00, 0x50, 
+0xe5, 0x90, 0x01, 0xa8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xe2, 0x45, 0x50, 0x01, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x78, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf3, 0xfc, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x8d, 0x00, 0x48, 0xea, 0x00, 0x02, 0x1e, 0xe1, 0x54, 0x00, 0x05, 0xda, 0x00, 0x00, 0x01, 
+0xe1, 0xa0, 0x00, 0x04, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x05, 0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x11, 0xe5, 0x8d, 0x00, 0x40, 
+0xea, 0x00, 0x00, 0x19, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 0xe2, 0x84, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x11, 0xa8, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x10, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x40, 0xea, 0x00, 0x00, 0x0a, 0xe5, 0x9d, 0x00, 0x3c, 0xe2, 0x80, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x11, 0xa8, 
+0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x40, 0xe5, 0x9d, 0x00, 0x1c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0a, 
+0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x70, 0xe2, 0x80, 0x00, 0x0f, 0xe1, 0xa0, 0x02, 0x40, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x11, 0x74, 0xe2, 0x81, 0x10, 0x0f, 0xe1, 0xa0, 0x12, 0x41, 0xe0, 0x00, 0x00, 0x91, 0xe5, 0x8d, 0x00, 0x38, 
+0xea, 0x00, 0x00, 0x09, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x70, 0xe2, 0x80, 0x00, 0x1f, 0xe1, 0xa0, 0x02, 0xc0, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x11, 0x74, 0xe2, 0x81, 0x10, 0x1f, 0xe1, 0xa0, 0x12, 0xc1, 0xe0, 0x00, 0x00, 0x91, 
+0xe5, 0x8d, 0x00, 0x38, 0xe5, 0x9d, 0x30, 0x48, 0xe5, 0x8d, 0x30, 0x10, 0xe9, 0x8d, 0x04, 0x30, 0xe5, 0x9d, 0x30, 0x18, 0xe5, 0x8d, 0x30, 0x00, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x20, 0x00, 0xe1, 0xa0, 0x10, 0x0b, 0xe5, 0x9d, 0x00, 0x50, 
+0xe5, 0x9d, 0x30, 0x20, 0xeb, 0xff, 0xfb, 0xc7, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xc8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x13, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0b, 
+0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x88, 
+0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xcc, 0xe5, 0x8d, 0x00, 0x48, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x9d, 0x00, 0x48, 
+0xe1, 0x81, 0x02, 0x00, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x10, 0x00, 0xe1, 0x80, 0x07, 0x81, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x11, 0xa8, 0xe1, 0x80, 0x08, 0x81, 0xe1, 0x80, 0x09, 0x04, 0xe1, 0x80, 0x0a, 0x85, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0x48, 0xe3, 0x59, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x3a, 0xe3, 0xa0, 0x90, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0xdc, 0xe5, 0x9f, 0x06, 0xac, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 
+0xe5, 0x81, 0x00, 0x14, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 
+0xe5, 0x9f, 0x06, 0x74, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x4c, 0xea, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x9d, 0x20, 0x4c, 0xe7, 0x81, 0x01, 0x02, 
+0xe5, 0x9d, 0x20, 0x4c, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x4c, 0xe5, 0x9d, 0x20, 0x4c, 0xe3, 0x52, 0x00, 0x28, 0xba, 0xff, 0xff, 0xf5, 0xe2, 0x87, 0x70, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 
+0xe3, 0x57, 0x00, 0x02, 0xba, 0xff, 0xff, 0xe1, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x70, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x11, 0x74, 0xe1, 0x80, 0x05, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xc8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0c, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 
+0xe2, 0x8d, 0x30, 0x14, 0xe5, 0x8d, 0x30, 0x00, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x9d, 0x10, 0x30, 0xe5, 0x9d, 0x20, 0x2c, 0xe5, 0x9d, 0x30, 0x38, 0xeb, 0x00, 0x01, 0x7e, 0xe5, 0x8d, 0x00, 0x28, 0xea, 0x00, 0x00, 0x26, 0xe5, 0x9d, 0x00, 0x50, 
+0xe5, 0x90, 0x01, 0xc8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x16, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x03, 
+0x1a, 0x00, 0x00, 0x0e, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x9d, 0x10, 0x58, 0xe2, 0x8d, 0x20, 0x14, 0xe5, 0x91, 0x30, 0x00, 0xe8, 0x8d, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x50, 
+0xe5, 0x9d, 0x10, 0x30, 0xe5, 0x9d, 0x20, 0x2c, 0xe5, 0x9d, 0x30, 0x38, 0xeb, 0x00, 0x03, 0x71, 0xe5, 0x8d, 0x00, 0x28, 0xea, 0x00, 0x00, 0x0b, 0xe2, 0x8d, 0x30, 0x14, 0xe5, 0x9d, 0x00, 0x2c, 0xe5, 0x9d, 0x10, 0x40, 0xe5, 0x9d, 0x20, 0x38, 
+0xe8, 0x8d, 0x00, 0x0f, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x20, 0x00, 0xe1, 0xa0, 0x10, 0x06, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x9d, 0x30, 0x30, 0xeb, 0xff, 0xfc, 0x3e, 0xe5, 0x8d, 0x00, 0x28, 0xe5, 0x9d, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x10, 0xeb, 0xff, 0xf2, 0xa4, 0xea, 0x00, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x40, 0xeb, 0xff, 0xf2, 0x7e, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xb8, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf3, 0x01, 0xe5, 0x8d, 0x00, 0x48, 0xea, 0xff, 0xff, 0xf1, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x40, 0xeb, 0xff, 0xf2, 0x6f, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0xf5, 0xe5, 0x9d, 0x00, 0x14, 0xe5, 0x9d, 0x10, 0x38, 0xe1, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0xf1, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x24, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0x00, 0xe2, 0x8d, 0x00, 0x48, 0xeb, 0xff, 0xf1, 0x00, 0xe5, 0x9d, 0x00, 0x40, 0xeb, 0xff, 0xf2, 0xed, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x38, 0xe2, 0x41, 0x00, 0x01, 0xe2, 0x8d, 0x10, 0x44, 0xeb, 0xff, 0xf2, 0x88, 
+0xe5, 0x9d, 0x00, 0x44, 0xeb, 0xff, 0xf2, 0xe6, 0xe1, 0xa0, 0x60, 0x00, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x01, 0x98, 0xeb, 0xff, 0xf2, 0xe2, 0xe5, 0x8d, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0xdf, 0xe5, 0x8d, 0x00, 0x48, 
+0xe5, 0x9d, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x80, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0xd8, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 
+0xe5, 0x9d, 0x10, 0x24, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x24, 0xe5, 0x9d, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf3, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0xcc, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x50, 
+0xe5, 0x91, 0x01, 0x7c, 0xe2, 0x8d, 0x10, 0x44, 0xeb, 0xff, 0xf2, 0x67, 0xe5, 0x9d, 0x00, 0x44, 0xeb, 0xff, 0xf2, 0xc5, 0xe5, 0x8d, 0x00, 0x34, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0xc2, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x02, 
+0xeb, 0xff, 0xf2, 0xbf, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x78, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0xb7, 0xe5, 0x8d, 0x00, 0x48, 
+0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0xb0, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xf2, 0xad, 0xe5, 0x8d, 0x00, 0x30, 
+0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x26, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x22, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x4c, 
+0xea, 0x00, 0x00, 0x1a, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfa, 0x9a, 0xe5, 0x8d, 0x00, 0x44, 0xe5, 0x9d, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x44, 0xeb, 0xff, 0xf2, 0x99, 0xe5, 0x8d, 0x00, 0x48, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0x96, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfa, 0x8e, 0xe5, 0x8d, 0x00, 0x44, 0xe5, 0x9d, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x44, 
+0xeb, 0xff, 0xf2, 0x8d, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0x8a, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x20, 0x4c, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x4c, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0x8c, 
+0xe5, 0x9d, 0x20, 0x4c, 0xe1, 0x50, 0x00, 0x02, 0xca, 0xff, 0xff, 0xdf, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0x73, 0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xf2, 0x6c, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xa8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xe2, 0x44, 0x40, 0x01, 
+0xe5, 0x9d, 0x10, 0x58, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xf2, 0x60, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xa8, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xe2, 0x45, 0x50, 0x01, 0xe5, 0x9d, 0x00, 0x50, 0xe5, 0x90, 0x01, 0xd0, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x1c, 0xe5, 0x9d, 0x10, 0x50, 0xe5, 0x91, 0x01, 0x7c, 0xe2, 0x8d, 0x10, 0x44, 0xeb, 0xff, 0xf1, 0xf2, 
+0xe5, 0x9d, 0x00, 0x44, 0xe2, 0x80, 0x00, 0x03, 0xe5, 0x8d, 0x00, 0x44, 0xe5, 0x9d, 0x00, 0x44, 0xe3, 0x50, 0x00, 0x0f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0f, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x44, 0xe5, 0x8d, 0x00, 0x44, 
+0xe5, 0x9d, 0x00, 0x44, 0xeb, 0xff, 0xf2, 0x46, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0x43, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x44, 
+0xeb, 0xff, 0xf2, 0x3d, 0xe5, 0x8d, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf2, 0x3a, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x23, 0xea, 0x00, 0x00, 0x1d, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 
+0xe5, 0x9d, 0x00, 0x14, 0xe1, 0x50, 0x00, 0x06, 0xba, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0xa0, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0xa4, 0xe3, 0xa0, 0x00, 0x01, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe5, 0x9d, 0x00, 0x14, 0xe1, 0x50, 0x00, 0x06, 0xba, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x14, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0xff, 0xff, 0xe0, 
+0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x40, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x8d, 0x00, 0x48, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 0xea, 0x00, 0x00, 0x2a, 0xe5, 0x9d, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x1b, 0xea, 0x00, 0x00, 0x15, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 
+0xe5, 0x9d, 0x00, 0x14, 0xe5, 0x9d, 0x10, 0x38, 0xe1, 0x50, 0x00, 0x01, 0xba, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x81, 0x00, 0xa4, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0xcc, 0xe5, 0x9d, 0x00, 0x14, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0xff, 0xff, 0xe8, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x40, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xdc, 
+0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xfd, 0xdf, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xfc, 0x39, 0x00, 0x00, 0x80, 0x20, 0xe5, 0x2d, 0xe0, 0x04, 0xe1, 0xa0, 0x30, 0x00, 0xe3, 0x53, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 
+0xe3, 0x53, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x0f, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x0c, 0xe3, 0x51, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x08, 
+0xe3, 0xa0, 0xe0, 0x0b, 0xe0, 0x8e, 0xc0, 0x81, 0xe1, 0x5c, 0x00, 0x02, 0xca, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe4, 0x9d, 0xf0, 0x04, 
+0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x3c, 0xe5, 0x9f, 0x1f, 0x94, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x2c, 0xe8, 0x91, 0x00, 0x3c, 0xe8, 0x80, 0x00, 0x3c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x28, 0xe5, 0x9d, 0x00, 0x44, 
+0xe5, 0x8d, 0x00, 0x0c, 0xe3, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x8d, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf9, 0xa4, 0xe5, 0x8d, 0x00, 0x20, 
+0xe3, 0xa0, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x00, 0x42, 0x41, 0xe3, 0x74, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe2, 0x8d, 0xd0, 0x4c, 0xe8, 0xbd, 0x8f, 0xf0, 0xe3, 0x54, 0x00, 0x07, 0x0a, 0x00, 0x00, 0x8f, 
+0xe3, 0x54, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x1e, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xf1, 0x9a, 0xe1, 0xa0, 0x60, 0x00, 0xe2, 0x8d, 0x00, 0x2c, 0xe7, 0x90, 0x01, 0x06, 0xe5, 0x9d, 0x10, 0x0c, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x0c, 
+0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x1f, 0xca, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 
+0xea, 0x00, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 
+0xea, 0x00, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x0c, 0xe5, 0x8d, 0x00, 0x0c, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x8d, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x40, 0xe5, 0x9d, 0x20, 0x08, 
+0xeb, 0xff, 0xff, 0xa0, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x03, 0xeb, 0x00, 0x05, 0x4b, 0xe5, 0x8d, 0x10, 0x24, 0xe3, 0xa0, 0x00, 0x0a, 0xe5, 0x9d, 0x20, 0x24, 0xe0, 0x02, 0x02, 0x90, 
+0xe5, 0x8d, 0x20, 0x18, 0xe5, 0x9d, 0x20, 0x18, 0xe2, 0x82, 0x00, 0x08, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x20, 0x24, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x20, 0x3c, 0xe5, 0x82, 0x04, 0x8c, 
+0xe5, 0x9d, 0x00, 0x14, 0xe1, 0xa0, 0x00, 0x16, 0xe5, 0x9d, 0x10, 0x20, 0xe5, 0x9d, 0x20, 0x18, 0xe1, 0x80, 0x02, 0x11, 0xe5, 0x9d, 0x20, 0x3c, 0xe5, 0x92, 0x14, 0x8c, 0xe1, 0x80, 0x00, 0x01, 0xe5, 0x82, 0x04, 0x8c, 0xe5, 0x9d, 0x10, 0x70, 
+0xe5, 0x91, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x03, 0xeb, 0x00, 0x05, 0x30, 0xe3, 0xa0, 0x17, 0x16, 0xe5, 0x9d, 0x20, 0x3c, 0xe5, 0x92, 0x24, 0x8c, 0xe7, 0x81, 0x21, 0x00, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe1, 0xa0, 0x02, 0xc0, 
+0xe5, 0x8d, 0x00, 0x24, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x20, 0x3c, 0xe2, 0x82, 0x1f, 0xaf, 0xe5, 0x9d, 0x20, 0x24, 0xe7, 0x81, 0x01, 0x02, 0xe5, 0x9d, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x36, 0xe3, 0xa0, 0x30, 0x00, 
+0xe5, 0x8d, 0x30, 0x00, 0xe3, 0xa0, 0x30, 0x01, 0xe3, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf9, 0x27, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x7e, 0xda, 0x00, 0x00, 0x17, 
+0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe2, 0x40, 0x10, 0x7f, 0xe5, 0x8d, 0x10, 0x1c, 0xe5, 0x9d, 0x10, 0x1c, 0xe0, 0x81, 0x00, 0x81, 0xe5, 0x8d, 0x00, 0x20, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x64, 0xe3, 0xa0, 0x18, 0x57, 
+0xe5, 0x9d, 0x20, 0x20, 0xe7, 0x81, 0x01, 0x02, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x68, 0xe5, 0x9d, 0x20, 0x20, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x6c, 0xe3, 0xa0, 0x18, 0x57, 
+0xe5, 0x9d, 0x20, 0x20, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xea, 0x00, 0x00, 0x13, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe0, 0x80, 0x00, 0x80, 0xe5, 0x8d, 0x00, 0x20, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x64, 
+0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x9f, 0x1d, 0x1c, 0xe7, 0x81, 0x01, 0x02, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x68, 0xe5, 0x9d, 0x20, 0x20, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x6c, 
+0xe5, 0x9d, 0x20, 0x20, 0xe5, 0x9f, 0x1c, 0xf4, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0x54, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x13, 0xeb, 0xff, 0xf0, 0xfd, 0xe2, 0x40, 0xca, 0x6b, 0xe2, 0x5c, 0xc0, 0x01, 
+0x1a, 0xff, 0xff, 0x58, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0x54, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x28, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x28, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 
+0xe2, 0x80, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x13, 0xeb, 0xff, 0xf0, 0xed, 0xe2, 0x40, 0xca, 0x6b, 0xe2, 0x5c, 0xc0, 0x01, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x48, 
+0xe1, 0x50, 0x00, 0x01, 0xba, 0xff, 0xff, 0x42, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x48, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0xa0, 0x00, 0x13, 0xeb, 0xff, 0xf0, 0xdd, 
+0xe2, 0x40, 0xca, 0x6b, 0xe2, 0x5c, 0xc0, 0x01, 0x0a, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xf0, 0xe4, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xf0, 0xd5, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0xff, 0xff, 0xf9, 
+0xe3, 0xa0, 0x00, 0x13, 0xeb, 0xff, 0xf0, 0xde, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x28, 0xe0, 0x40, 0x10, 0x01, 0xe5, 0x8d, 0x10, 0x10, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x28, 
+0xea, 0x00, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf0, 0xd3, 0xe1, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xf8, 0xcb, 0xe5, 0x8d, 0x00, 0x20, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x10, 0xeb, 0x00, 0x04, 0xa7, 
+0xe5, 0x8d, 0x10, 0x24, 0xe3, 0xa0, 0x00, 0x0a, 0xe5, 0x9d, 0x20, 0x24, 0xe0, 0x00, 0x00, 0x92, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x20, 0x18, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x20, 0x24, 0xe3, 0x52, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x20, 0x3c, 0xe5, 0x82, 0x04, 0x90, 0xe5, 0x9d, 0x00, 0x14, 0xe5, 0x9d, 0x10, 0x20, 0xe1, 0xa0, 0x00, 0x11, 0xe5, 0x9d, 0x20, 0x18, 0xe1, 0x80, 0x02, 0x17, 0xe5, 0x9d, 0x20, 0x3c, 
+0xe5, 0x92, 0x14, 0x90, 0xe1, 0x80, 0x00, 0x01, 0xe5, 0x82, 0x04, 0x90, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x10, 0xeb, 0x00, 0x04, 0x8d, 0xe3, 0xa0, 0x18, 0x59, 0xe5, 0x9d, 0x20, 0x3c, 0xe5, 0x92, 0x24, 0x90, 0xe7, 0x81, 0x21, 0x00, 
+0xe5, 0x9d, 0x10, 0x28, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x28, 0xe5, 0x9d, 0x10, 0x10, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x10, 0xe1, 0x50, 0x00, 0x01, 
+0xca, 0xff, 0xff, 0xcd, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x28, 0xe0, 0x40, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x10, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x28, 0xe5, 0x9d, 0x00, 0x44, 0xe5, 0x8d, 0x00, 0x0c, 
+0xe3, 0xa0, 0x50, 0x01, 0xea, 0x00, 0x00, 0xc9, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x8d, 0x10, 0x08, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x10, 0xeb, 0x00, 0x04, 0x6e, 0xe5, 0x8d, 0x10, 0x24, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x10, 
+0xeb, 0x00, 0x04, 0x6a, 0xe3, 0xa0, 0x17, 0x16, 0xe7, 0x91, 0x81, 0x00, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x10, 0xeb, 0x00, 0x04, 0x65, 0xe3, 0xa0, 0x18, 0x59, 0xe7, 0x91, 0x91, 0x00, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x10, 
+0xeb, 0x00, 0x04, 0x60, 0xe3, 0x51, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x10, 0xeb, 0x00, 0x04, 0x5b, 0xe3, 0xa0, 0x17, 0x16, 0xe3, 0xa0, 0x20, 0x00, 0xe7, 0x81, 0x21, 0x00, 0xe3, 0xa0, 0x00, 0x0a, 
+0xe5, 0x9d, 0x20, 0x24, 0xe0, 0x00, 0x00, 0x92, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x20, 0x18, 0xe2, 0x82, 0x00, 0x08, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x20, 0x18, 0xe1, 0xa0, 0x02, 0x58, 0xe2, 0x00, 0x00, 0xff, 0xe5, 0x8d, 0x00, 0x20, 
+0xe5, 0x9d, 0x00, 0x14, 0xe1, 0xa0, 0x00, 0x58, 0xe2, 0x00, 0x60, 0x03, 0xe5, 0x9d, 0x20, 0x18, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x20, 0x18, 0xe1, 0xa0, 0x02, 0x59, 0xe2, 0x00, 0x70, 0x01, 0xe5, 0x9d, 0x00, 0x14, 
+0xe1, 0xa0, 0x00, 0x59, 0xe2, 0x00, 0x00, 0x0f, 0xe5, 0x8d, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x00, 0x42, 0x41, 0xe5, 0x9d, 0x10, 0x20, 0xe2, 0x01, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x1c, 0xe1, 0x80, 0xa1, 0x01, 
+0xe3, 0x54, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x1b, 0xe2, 0x8d, 0x00, 0x2c, 0xe7, 0x90, 0x01, 0x06, 0xe5, 0x9d, 0x10, 0x0c, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x0c, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x1f, 0xca, 0x00, 0x00, 0x02, 
+0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x01, 
+0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x10, 0x0c, 0xe3, 0x51, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x0c, 0xe5, 0x8d, 0x00, 0x0c, 
+0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x0c, 0xe5, 0x8d, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x40, 0xe5, 0x9d, 0x20, 0x08, 0xeb, 0xff, 0xfe, 0x63, 0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xb0, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x80, 0x10, 0x10, 0xe3, 0x84, 0x00, 0x40, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x00, 
+0xe5, 0x9d, 0x10, 0x0c, 0xe1, 0xa0, 0x07, 0x01, 0xe1, 0x80, 0x0a, 0x0a, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe1, 0xa0, 0x0c, 0x07, 0xe5, 0x81, 0x00, 0x10, 0xe3, 0x5b, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x2e, 0xe5, 0x9d, 0x10, 0x10, 
+0xe3, 0x51, 0x00, 0x7e, 0xda, 0x00, 0x00, 0x17, 0xe5, 0x9d, 0x10, 0x10, 0xe2, 0x41, 0x00, 0x7f, 0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x9d, 0x10, 0x1c, 0xe0, 0x81, 0x00, 0x81, 0xe5, 0x8d, 0x00, 0x20, 0xe3, 0xa0, 0x08, 0x57, 0xe5, 0x9d, 0x10, 0x20, 
+0xe7, 0x90, 0x01, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x64, 0xe3, 0xa0, 0x08, 0x57, 0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x80, 0x01, 0x01, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x68, 0xe3, 0xa0, 0x08, 0x57, 
+0xe5, 0x9d, 0x10, 0x20, 0xe0, 0x80, 0x01, 0x01, 0xe5, 0x90, 0x00, 0x08, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x6c, 0xea, 0x00, 0x00, 0x13, 0xe5, 0x9d, 0x10, 0x10, 0xe0, 0x81, 0x00, 0x81, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x9d, 0x10, 0x20, 
+0xe5, 0x9f, 0x08, 0x98, 0xe7, 0x90, 0x01, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x64, 0xe5, 0x9d, 0x10, 0x20, 0xe5, 0x9f, 0x08, 0x84, 0xe0, 0x80, 0x01, 0x01, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x68, 
+0xe5, 0x9d, 0x10, 0x20, 0xe5, 0x9f, 0x08, 0x6c, 0xe0, 0x80, 0x01, 0x01, 0xe5, 0x90, 0x00, 0x08, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x6c, 0xe3, 0xa0, 0x30, 0x00, 0xe1, 0xa0, 0x20, 0x0a, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x8d, 0xb0, 0x00, 
+0xe5, 0x9d, 0x00, 0x04, 0xeb, 0xff, 0xf7, 0xcd, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x90, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x28, 0xe0, 0x40, 0x00, 0x01, 
+0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xfe, 0x35, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe3, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x10, 0x28, 0xe2, 0x81, 0x00, 0x01, 
+0xe5, 0x8d, 0x00, 0x28, 0xe5, 0x9d, 0x10, 0x10, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x10, 0xe1, 0x50, 0x00, 0x01, 0xca, 0xff, 0xff, 0x30, 0xe5, 0x9d, 0x10, 0x70, 
+0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x48, 0xe1, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0c, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0xa0, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe5, 0x9d, 0x10, 0x70, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x10, 
+0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xfe, 0x0d, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xfe, 0x0b, 0xe9, 0x2d, 0x4f, 0xff, 0xe2, 0x4d, 0xd0, 0x64, 0xe5, 0x9f, 0x17, 0x64, 0xe0, 0x8f, 0x10, 0x01, 
+0xe2, 0x8d, 0x00, 0x54, 0xe8, 0x91, 0x00, 0x3c, 0xe8, 0x80, 0x00, 0x3c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x08, 0xe5, 0x8d, 0x00, 0x50, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x48, 
+0xe5, 0x8d, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xef, 0x9d, 0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x9d, 0x10, 0x1c, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf7, 0x92, 0xe5, 0x8d, 0x00, 0x48, 
+0xe3, 0xa0, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x48, 0xe0, 0x00, 0x02, 0x41, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x48, 0xe3, 0x71, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe2, 0x8d, 0xd0, 0x74, 0xe8, 0xbd, 0x8f, 0xf0, 
+0xe5, 0x9d, 0x10, 0x1c, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0xff, 0xef, 0x77, 0xe2, 0x40, 0xca, 0x1f, 0xe2, 0x5c, 0xc0, 0x01, 
+0x1a, 0xff, 0xff, 0xde, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0xba, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x1c, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x5b, 
+0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x92, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x9d, 0x00, 0x9c, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x02, 0xaa, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xef, 0x6c, 0xe5, 0x8d, 0x00, 0x10, 0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x92, 0x01, 0x88, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x00, 0x9c, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x02, 
+0xe5, 0x9d, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x02, 0xba, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x3e, 0xe3, 0xa0, 0x10, 0x00, 
+0xe5, 0x9d, 0x00, 0x18, 0xeb, 0xff, 0xf7, 0x64, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x5f, 0xda, 0x00, 0x00, 0x1d, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe2, 0x40, 0x10, 0x60, 0xe5, 0x8d, 0x10, 0x44, 
+0xe5, 0x9d, 0x10, 0x44, 0xe1, 0xa0, 0x01, 0x01, 0xe5, 0x8d, 0x00, 0x40, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x70, 0xe3, 0xa0, 0x18, 0x57, 0xe5, 0x9d, 0x20, 0x40, 0xe7, 0x81, 0x01, 0x02, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x74, 
+0xe5, 0x9d, 0x20, 0x40, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x78, 0xe3, 0xa0, 0x18, 0x57, 0xe5, 0x9d, 0x20, 0x40, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x90, 0x00, 0x7c, 0xe3, 0xa0, 0x18, 0x57, 0xe5, 0x9d, 0x20, 0x40, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x0c, 0xea, 0x00, 0x00, 0x19, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe1, 0xa0, 0x01, 0x00, 0xe5, 0x8d, 0x00, 0x40, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x70, 0xe5, 0x9d, 0x20, 0x40, 0xe5, 0x9f, 0x15, 0x6c, 0xe7, 0x81, 0x01, 0x02, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x74, 0xe5, 0x9d, 0x20, 0x40, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x04, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x78, 0xe5, 0x9d, 0x20, 0x40, 0xe5, 0x9f, 0x15, 0x44, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x7c, 0xe5, 0x9d, 0x20, 0x40, 0xe5, 0x9f, 0x15, 0x2c, 
+0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x0c, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x03, 0xeb, 0x00, 0x02, 0xf3, 0xe5, 0x8d, 0x10, 0x4c, 0xe3, 0xa0, 0x00, 0x0a, 0xe5, 0x9d, 0x20, 0x4c, 0xe0, 0x00, 0x00, 0x92, 
+0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x20, 0x3c, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x8d, 0x20, 0x38, 0xe5, 0x9d, 0x20, 0x3c, 0xe2, 0x82, 0x00, 0x09, 0xe5, 0x8d, 0x00, 0x34, 0xe5, 0x9d, 0x20, 0x4c, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x82, 0x04, 0x94, 0xe5, 0x9d, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x34, 0xe1, 0xa0, 0x01, 0x10, 0xe5, 0x9d, 0x10, 0x48, 0xe5, 0x9d, 0x20, 0x38, 0xe1, 0x80, 0x02, 0x11, 0xe5, 0x9d, 0x10, 0x1c, 
+0xe5, 0x9d, 0x20, 0x3c, 0xe1, 0x80, 0x02, 0x11, 0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x92, 0x14, 0x94, 0xe1, 0x80, 0x00, 0x01, 0xe5, 0x82, 0x04, 0x94, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x03, 0xeb, 0x00, 0x02, 0xd1, 
+0xe3, 0xa0, 0x17, 0x16, 0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x92, 0x24, 0x94, 0xe7, 0x81, 0x21, 0x00, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe1, 0xa0, 0x02, 0xc0, 0xe5, 0x8d, 0x00, 0x4c, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 
+0xe2, 0x00, 0x00, 0x1f, 0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x00, 0x9c, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x9d, 0x20, 0x3c, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x82, 0x04, 0x88, 0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x92, 0x04, 0x88, 0xe5, 0x9d, 0x10, 0x1c, 0xe5, 0x9d, 0x20, 0x3c, 0xe1, 0x80, 0x02, 0x11, 0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x82, 0x04, 0x88, 
+0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x92, 0x04, 0x88, 0xe2, 0x82, 0x1f, 0xaf, 0xe5, 0x9d, 0x20, 0x4c, 0xe7, 0x81, 0x01, 0x02, 0xe5, 0x9d, 0x10, 0x50, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x50, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 
+0xe2, 0x80, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0xff, 0xee, 0xbd, 0xe2, 0x40, 0xca, 0x1f, 0xe2, 0x5c, 0xc0, 0x01, 0x0a, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x70, 
+0xe1, 0x50, 0x00, 0x01, 0xba, 0xff, 0xff, 0x1e, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x70, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0xff, 0xee, 0xad, 
+0xe2, 0x40, 0xca, 0x1f, 0xe2, 0x5c, 0xc0, 0x01, 0x0a, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0xff, 0xee, 0xb4, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0xff, 0xee, 0xa5, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0xff, 0xff, 0xf9, 
+0xe3, 0xa0, 0x00, 0x11, 0xeb, 0xff, 0xee, 0xae, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x50, 0xe0, 0x40, 0x10, 0x01, 0xe5, 0x8d, 0x10, 0x30, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x50, 
+0xe5, 0x9d, 0x00, 0x6c, 0xe5, 0x8d, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x20, 0xea, 0x00, 0x00, 0xd1, 0xe5, 0x9d, 0x10, 0x2c, 0xe5, 0x8d, 0x10, 0x28, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x30, 0xeb, 0x00, 0x02, 0x77, 
+0xe5, 0x8d, 0x10, 0x4c, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x30, 0xeb, 0x00, 0x02, 0x73, 0xe3, 0xa0, 0x17, 0x16, 0xe7, 0x91, 0x41, 0x00, 0xe3, 0xa0, 0x00, 0x0a, 0xe5, 0x9d, 0x20, 0x4c, 0xe0, 0x00, 0x00, 0x92, 0xe5, 0x8d, 0x00, 0x3c, 
+0xe5, 0x9d, 0x20, 0x3c, 0xe2, 0x82, 0x00, 0x05, 0xe5, 0x8d, 0x00, 0x38, 0xe5, 0x9d, 0x20, 0x3c, 0xe1, 0xa0, 0x02, 0x54, 0xe2, 0x00, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x9d, 0x20, 0x38, 0xe1, 0xa0, 0x02, 0x54, 0xe2, 0x00, 0x00, 0x07, 
+0xe5, 0x8d, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x0c, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x10, 0x1c, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x7c, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x03, 
+0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xee, 0x78, 0xe5, 0x8d, 0x00, 0x0c, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 
+0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xf6, 0x6a, 0xe5, 0x8d, 0x00, 0x48, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xf6, 0x66, 0xe5, 0x8d, 0x00, 0x48, 
+0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x1f, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xee, 0x62, 0xe5, 0x8d, 0x00, 0x14, 0xe2, 0x8d, 0x00, 0x54, 
+0xe5, 0x9d, 0x10, 0x14, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x9d, 0x10, 0x2c, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x2c, 0xe5, 0x9d, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x1f, 0xca, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x01, 
+0xaa, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 
+0xea, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x2c, 0xe5, 0x8d, 0x00, 0x2c, 0xe5, 0x9d, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x2c, 0xe5, 0x8d, 0x10, 0x28, 0xe5, 0x9d, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x68, 0xe5, 0x9d, 0x20, 0x28, 0xeb, 0xff, 0xfc, 0x66, 0xe5, 0x8d, 0x00, 0x24, 0xe5, 0x9d, 0x00, 0x24, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x33, 0xe3, 0xa0, 0x30, 0x00, 0xe5, 0x8d, 0x30, 0x00, 0xe3, 0xa0, 0x30, 0x01, 0xe3, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xf6, 0x19, 0xe5, 0x9d, 0x10, 0x30, 0xe3, 0x51, 0x00, 0x5f, 
+0xda, 0x00, 0x00, 0x16, 0xe5, 0x9d, 0x10, 0x30, 0xe2, 0x41, 0x00, 0x60, 0xe5, 0x8d, 0x00, 0x44, 0xe5, 0x9d, 0x10, 0x44, 0xe1, 0xa0, 0x01, 0x01, 0xe5, 0x8d, 0x00, 0x40, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x64, 0xe3, 0xa0, 0x18, 0x57, 
+0xe5, 0x9d, 0x20, 0x40, 0xe7, 0x81, 0x01, 0x02, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x68, 0xe5, 0x9d, 0x20, 0x40, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x6c, 0xe3, 0xa0, 0x18, 0x57, 
+0xe5, 0x9d, 0x20, 0x40, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xea, 0x00, 0x00, 0x12, 0xe5, 0x9d, 0x10, 0x30, 0xe1, 0xa0, 0x01, 0x01, 0xe5, 0x8d, 0x00, 0x40, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x64, 0xe5, 0x9d, 0x20, 0x40, 
+0xe5, 0x9f, 0x10, 0xf0, 0xe7, 0x81, 0x01, 0x02, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x68, 0xe5, 0x9d, 0x20, 0x40, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x6c, 0xe5, 0x9d, 0x20, 0x40, 
+0xe5, 0x9f, 0x10, 0xc8, 0xe0, 0x81, 0x11, 0x02, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x30, 0xeb, 0x00, 0x01, 0xdb, 0xe5, 0x8d, 0x10, 0x4c, 0xe3, 0xa0, 0x00, 0x0a, 0xe5, 0x9d, 0x20, 0x4c, 0xe0, 0x00, 0x00, 0x92, 
+0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x20, 0x3c, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x38, 0xe5, 0x9d, 0x20, 0x3c, 0xe2, 0x82, 0x00, 0x05, 0xe5, 0x8d, 0x00, 0x34, 0xe5, 0x9d, 0x20, 0x4c, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x82, 0x04, 0x98, 0xe5, 0x9d, 0x00, 0x34, 0xe5, 0x9d, 0x10, 0x14, 0xe1, 0xa0, 0x00, 0x11, 0xe5, 0x9d, 0x10, 0x48, 0xe5, 0x9d, 0x20, 0x38, 0xe1, 0x80, 0x02, 0x11, 0xe5, 0x9d, 0x10, 0x0c, 
+0xe5, 0x9d, 0x20, 0x3c, 0xe1, 0x80, 0x02, 0x11, 0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x92, 0x14, 0x98, 0xe1, 0x80, 0x00, 0x01, 0xe5, 0x82, 0x04, 0x98, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x30, 0xeb, 0x00, 0x01, 0xba, 0xe3, 0xa0, 0x18, 0x59, 
+0xe5, 0x9d, 0x20, 0x64, 0xe5, 0x92, 0x24, 0x98, 0xe7, 0x81, 0x21, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x9d, 0x10, 0x30, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x30, 0xe5, 0x9d, 0x10, 0x50, 0xe2, 0x81, 0x00, 0x01, 
+0xea, 0x00, 0x00, 0x02, 0x00, 0x00, 0x1f, 0x4c, 0x00, 0x60, 0x00, 0x50, 0x00, 0x00, 0x17, 0x24, 0xe5, 0x8d, 0x00, 0x50, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x30, 0xe1, 0x50, 0x00, 0x01, 0xca, 0xff, 0xff, 0x28, 
+0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x50, 0xe0, 0x40, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x30, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x50, 0xe5, 0x9d, 0x00, 0x6c, 0xe5, 0x8d, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x01, 
+0xe5, 0x8d, 0x00, 0x20, 0xea, 0x00, 0x01, 0x19, 0xe5, 0x9d, 0x10, 0x2c, 0xe5, 0x8d, 0x10, 0x28, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x30, 0xeb, 0x00, 0x01, 0x94, 0xe5, 0x8d, 0x10, 0x4c, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x30, 
+0xeb, 0x00, 0x01, 0x90, 0xe3, 0xa0, 0x17, 0x16, 0xe7, 0x91, 0x01, 0x00, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x30, 0xeb, 0x00, 0x01, 0x8a, 0xe3, 0xa0, 0x18, 0x59, 0xe7, 0x91, 0x91, 0x00, 0xe5, 0x9d, 0x00, 0x9c, 
+0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x30, 0xeb, 0x00, 0x01, 0x82, 0xe3, 0x51, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x30, 0xeb, 0x00, 0x01, 0x7d, 
+0xe3, 0xa0, 0x17, 0x16, 0xe5, 0x9f, 0x24, 0x6c, 0xe1, 0xc4, 0x20, 0x02, 0xe7, 0x81, 0x21, 0x00, 0xe3, 0xa0, 0x00, 0x0a, 0xe5, 0x9d, 0x20, 0x4c, 0xe0, 0x00, 0x00, 0x92, 0xe5, 0x8d, 0x00, 0x3c, 0xe5, 0x9d, 0x20, 0x3c, 0xe2, 0x82, 0x00, 0x01, 
+0xe5, 0x8d, 0x00, 0x38, 0xe5, 0x9d, 0x20, 0x3c, 0xe2, 0x82, 0x00, 0x09, 0xe5, 0x8d, 0x00, 0x34, 0xe5, 0x9d, 0x20, 0x3c, 0xe1, 0xa0, 0x02, 0x54, 0xe2, 0x00, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x1c, 0xe5, 0x9d, 0x20, 0x38, 0xe1, 0xa0, 0x02, 0x54, 
+0xe2, 0x00, 0x00, 0xff, 0xe5, 0x8d, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x34, 0xe1, 0xa0, 0x00, 0x54, 0xe2, 0x00, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x10, 0xe5, 0x9d, 0x20, 0x3c, 0xe2, 0x82, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x38, 0xe5, 0x9d, 0x20, 0x3c, 
+0xe2, 0x82, 0x00, 0x05, 0xe5, 0x8d, 0x00, 0x34, 0xe5, 0x9d, 0x20, 0x3c, 0xe1, 0xa0, 0x02, 0x59, 0xe2, 0x00, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x0c, 0xe5, 0x9d, 0x20, 0x38, 0xe1, 0xa0, 0x02, 0x59, 0xe2, 0x00, 0x00, 0x0f, 0xe5, 0x8d, 0x00, 0x44, 
+0xe5, 0x9d, 0x00, 0x34, 0xe1, 0xa0, 0x00, 0x59, 0xe2, 0x00, 0x00, 0x03, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x48, 0xe0, 0x00, 0x02, 0x41, 0xe5, 0x8d, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x48, 0xe2, 0x01, 0x00, 0x03, 
+0xe5, 0x9d, 0x10, 0x44, 0xe1, 0x80, 0x01, 0x01, 0xe5, 0x8d, 0x00, 0x08, 0xe5, 0x9d, 0x10, 0x1c, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x3d, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x18, 
+0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x1c, 0xe2, 0x8d, 0x00, 0x54, 0xe5, 0x9d, 0x10, 0x14, 0xe7, 0x90, 0x01, 0x01, 0xe5, 0x9d, 0x10, 0x2c, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x2c, 0xe5, 0x9d, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x1f, 
+0xca, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x2c, 
+0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x10, 0x2c, 0xe3, 0x51, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x2c, 
+0xe5, 0x8d, 0x00, 0x2c, 0xe5, 0x9d, 0x00, 0x20, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x2c, 0xe5, 0x8d, 0x10, 0x28, 0xe5, 0x9d, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x68, 0xe5, 0x9d, 0x20, 0x28, 0xeb, 0xff, 0xfb, 0x69, 
+0xe5, 0x8d, 0x00, 0x24, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x50, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x50, 0x00, 
+0xe5, 0x9d, 0x00, 0x24, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xb0, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x8d, 0x00, 0x08, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x9d, 0x10, 0x30, 0xe5, 0x80, 0x10, 0x10, 0xe5, 0x9d, 0x10, 0x1c, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x10, 0x2c, 0xe5, 0x8d, 0x10, 0x48, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0x00, 0x6c, 0xe5, 0x8d, 0x00, 0x48, 
+0xe5, 0x9d, 0x00, 0x18, 0xe1, 0x80, 0x03, 0x05, 0xe5, 0x9d, 0x10, 0x1c, 0xe1, 0x80, 0x05, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x48, 0xe1, 0xa0, 0x07, 0x01, 0xe5, 0x9d, 0x10, 0x08, 0xe1, 0x80, 0x0a, 0x01, 
+0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x9d, 0x00, 0x10, 0xe1, 0xa0, 0x04, 0x00, 0xe5, 0x81, 0x00, 0x08, 0xe5, 0x9d, 0x10, 0x0c, 0xe1, 0xa0, 0x0c, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0x10, 0xe5, 0x9d, 0x10, 0x1c, 
+0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x50, 0xe5, 0x9d, 0x10, 0x30, 0xe3, 0x51, 0x00, 0x5f, 0xda, 0x00, 0x00, 0x19, 0xe5, 0x9d, 0x10, 0x30, 0xe2, 0x41, 0x00, 0x60, 0xe5, 0x8d, 0x00, 0x44, 0xe5, 0x9d, 0x10, 0x44, 0xe1, 0xa0, 0x01, 0x01, 
+0xe5, 0x8d, 0x00, 0x40, 0xe3, 0xa0, 0x08, 0x57, 0xe5, 0x9d, 0x20, 0x40, 0xe7, 0x90, 0x01, 0x02, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x08, 0x57, 0xe5, 0x9d, 0x20, 0x40, 0xe0, 0x80, 0x01, 0x02, 0xe5, 0x90, 0x00, 0x04, 0xe1, 0xa0, 0x70, 0x00, 
+0xe3, 0xa0, 0x08, 0x57, 0xe5, 0x9d, 0x20, 0x40, 0xe0, 0x80, 0x01, 0x02, 0xe5, 0x90, 0x00, 0x08, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x08, 0x57, 0xe5, 0x9d, 0x20, 0x40, 0xe0, 0x80, 0x01, 0x02, 0xe5, 0x90, 0x00, 0x0c, 0xe1, 0xa0, 0xa0, 0x00, 
+0xea, 0x00, 0x00, 0x15, 0xe5, 0x9d, 0x10, 0x30, 0xe1, 0xa0, 0x01, 0x01, 0xe5, 0x8d, 0x00, 0x40, 0xe5, 0x9d, 0x20, 0x40, 0xe5, 0x1f, 0x03, 0xd4, 0xe7, 0x90, 0x01, 0x02, 0xe1, 0xa0, 0x60, 0x00, 0xe5, 0x9d, 0x20, 0x40, 0xe5, 0x1f, 0x03, 0xe4, 
+0xe0, 0x80, 0x01, 0x02, 0xe5, 0x90, 0x00, 0x04, 0xe1, 0xa0, 0x70, 0x00, 0xe5, 0x9d, 0x20, 0x40, 0xe5, 0x1f, 0x03, 0xf8, 0xe0, 0x80, 0x01, 0x02, 0xe5, 0x90, 0x00, 0x08, 0xe1, 0xa0, 0x80, 0x00, 0xe5, 0x9d, 0x20, 0x40, 0xe5, 0x1f, 0x04, 0x0c, 
+0xe0, 0x80, 0x01, 0x02, 0xe5, 0x90, 0x00, 0x0c, 0xe1, 0xa0, 0xa0, 0x00, 0xe3, 0x5b, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x80, 0x60, 0x64, 0xe5, 0x80, 0x70, 0x68, 0xe5, 0x80, 0x80, 0x6c, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x06, 0x02, 0xe5, 0x80, 0x60, 0x20, 0xe5, 0x80, 0x70, 0x24, 0xe5, 0x80, 0x80, 0x28, 0xe5, 0x80, 0xa0, 0x2c, 0xe3, 0xa0, 0x30, 0x00, 0xe5, 0x8d, 0xb0, 0x00, 0xe1, 0xa0, 0x10, 0x05, 0xe5, 0x9d, 0x00, 0x24, 0xe5, 0x9d, 0x20, 0x08, 
+0xeb, 0xff, 0xf4, 0xa4, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x90, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x50, 0xe0, 0x40, 0x00, 0x01, 0xe5, 0x9d, 0x10, 0x98, 
+0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xfd, 0x20, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x20, 0xe5, 0x9d, 0x10, 0x30, 0xe2, 0x81, 0x00, 0x01, 
+0xe5, 0x8d, 0x00, 0x30, 0xe5, 0x9d, 0x10, 0x50, 0xe2, 0x81, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x50, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x30, 0xe1, 0x50, 0x00, 0x01, 0xca, 0xff, 0xfe, 0xe0, 0xe5, 0x9d, 0x10, 0x98, 
+0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x70, 0xe1, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0c, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0xa0, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xcc, 0xe5, 0x9d, 0x10, 0x98, 0xe5, 0x91, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x30, 
+0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xfc, 0xf7, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xfc, 0xf5, 0xc0, 0x10, 0x04, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 
+0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x01, 0xe2, 0x4d, 0xd0, 0x08, 0xe2, 0x8d, 0x10, 0x04, 0xeb, 0x00, 0x01, 0x43, 0xe3, 0x50, 0x00, 0x00, 0x02, 0x8d, 0xd0, 0x08, 0x08, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 0xe5, 0x9d, 0x10, 0x04, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0x26, 0xe2, 0x8d, 0xd0, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x01, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0x00, 0x00, 0xe2, 0xe8, 0xbd, 0x80, 0x10, 
+0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x40, 0x01, 0xe5, 0x2d, 0x30, 0x04, 0xeb, 0x00, 0x00, 0xe9, 0xe1, 0xa0, 0x60, 0x00, 0xe0, 0x85, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 0x9a, 0x00, 0x00, 0x0a, 
+0xe1, 0xa0, 0x10, 0x0d, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x01, 0x27, 0xe1, 0xb0, 0x70, 0x00, 0x03, 0xa0, 0x10, 0x00, 0x03, 0xa0, 0x00, 0x09, 0x0b, 0x00, 0x00, 0xd0, 0xe5, 0x9d, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 0x11, 0xa0, 0x50, 0x00, 
+0xe0, 0x80, 0x40, 0x07, 0xeb, 0x00, 0x00, 0xb5, 0xe2, 0x86, 0x10, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0xa0, 0x70, 0x00, 0xe5, 0x80, 0x50, 0x08, 0xe1, 0xa0, 0x00, 0x05, 0xe0, 0x81, 0x60, 0x05, 0xeb, 0x00, 0x00, 0xcd, 0xe1, 0x54, 0x00, 0x06, 
+0x08, 0xbd, 0x00, 0xf8, 0x04, 0x9d, 0xf0, 0x04, 0xe1, 0xa0, 0x10, 0x06, 0xe0, 0x44, 0x20, 0x06, 0xe5, 0x97, 0x00, 0x08, 0xeb, 0x00, 0x00, 0xfa, 0xe8, 0xbd, 0x00, 0xf8, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 
+0xeb, 0x00, 0x00, 0xa2, 0xe1, 0xa0, 0x10, 0x04, 0xe5, 0x90, 0x00, 0x08, 0xeb, 0x00, 0x00, 0xc5, 0xe8, 0xbd, 0x80, 0x10, 0xe2, 0x52, 0x20, 0x20, 0xe9, 0x2d, 0x40, 0x10, 0x3a, 0x00, 0x00, 0x05, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 
+0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x22, 0x52, 0x20, 0x20, 0x2a, 0xff, 0xff, 0xf9, 0xe1, 0xb0, 0xce, 0x02, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x48, 0xb1, 0x00, 0x18, 0x48, 0xa0, 0x00, 0x18, 0xe1, 0xb0, 0xcf, 0x02, 
+0xe8, 0xbd, 0x40, 0x10, 0x24, 0x91, 0x30, 0x04, 0x24, 0x80, 0x30, 0x04, 0x01, 0xa0, 0xf0, 0x0e, 0xe1, 0xb0, 0x2f, 0x82, 0x44, 0xd1, 0x20, 0x01, 0x24, 0xd1, 0x30, 0x01, 0x24, 0xd1, 0xc0, 0x01, 0x44, 0xc0, 0x20, 0x01, 0x24, 0xc0, 0x30, 0x01, 
+0x24, 0xc0, 0xc0, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x90, 0xc0, 0x01, 0x4a, 0x00, 0x00, 0x4c, 0xe0, 0x71, 0xc0, 0xa0, 0x3a, 0x00, 0x00, 0x44, 0xe0, 0x71, 0xc2, 0x20, 0xe3, 0xa0, 0x20, 0x00, 0x3a, 0x00, 0x00, 0x34, 0xe0, 0x71, 0xc4, 0x20, 
+0x3a, 0x00, 0x00, 0x26, 0xe0, 0x71, 0xc6, 0x20, 0x3a, 0x00, 0x00, 0x17, 0xe0, 0x71, 0xc8, 0x20, 0x3a, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x14, 0x01, 0xe0, 0x71, 0xc8, 0x20, 0xe3, 0x82, 0x24, 0xff, 0x23, 0x82, 0x28, 0xff, 0x21, 0xa0, 0x14, 0x01, 
+0xe0, 0x71, 0xc6, 0x20, 0x3a, 0x00, 0x00, 0x0e, 0xe2, 0x71, 0xc0, 0x00, 0x2a, 0x00, 0x00, 0x89, 0x21, 0xa0, 0x14, 0x21, 0xe0, 0x71, 0xc7, 0xa0, 0x20, 0x40, 0x07, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc7, 0x20, 0x20, 0x40, 0x07, 0x01, 
+0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc6, 0xa0, 0x20, 0x40, 0x06, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc6, 0x20, 0x20, 0x40, 0x06, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc5, 0xa0, 0x20, 0x40, 0x05, 0x81, 0xe0, 0xa2, 0x20, 0x02, 
+0xe0, 0x71, 0xc5, 0x20, 0x20, 0x40, 0x05, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc4, 0xa0, 0x20, 0x40, 0x04, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc4, 0x20, 0x20, 0x40, 0x04, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0x2a, 0xff, 0xff, 0xe5, 
+0xe0, 0x71, 0xc3, 0xa0, 0x20, 0x40, 0x03, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc3, 0x20, 0x20, 0x40, 0x03, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0xa0, 0x20, 0x40, 0x02, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0x20, 
+0x20, 0x40, 0x02, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0xa0, 0x20, 0x40, 0x01, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0x20, 0x20, 0x40, 0x01, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0xe0, 0x71, 0xc0, 0xa0, 0x20, 0x40, 0x00, 0x81, 
+0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x50, 0x10, 0x01, 0x31, 0xa0, 0x10, 0x00, 0xe0, 0xa2, 0x00, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe0, 0x50, 0x10, 0x01, 0x23, 0xa0, 0x00, 0x01, 0x21, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe2, 0x11, 0x21, 0x02, 0x42, 0x61, 0x10, 0x00, 0xe0, 0x32, 0x30, 0x40, 0x22, 0x60, 0x00, 0x00, 0xe0, 0x71, 0xc2, 0x20, 0x3a, 0x00, 0x00, 0x1d, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0x00, 0x00, 0x0f, 0xe1, 0xa0, 0x13, 0x01, 
+0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x23, 0x3f, 0x3a, 0x00, 0x00, 0x0b, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x26, 0x3f, 0x3a, 0x00, 0x00, 0x07, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x29, 0x3f, 
+0x23, 0x82, 0x2c, 0x3f, 0x21, 0xa0, 0x13, 0x01, 0xe2, 0x71, 0xc0, 0x00, 0x2a, 0x00, 0x00, 0x39, 0x21, 0xa0, 0x13, 0x21, 0xe0, 0x71, 0xc3, 0xa0, 0x20, 0x40, 0x03, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc3, 0x20, 0x20, 0x40, 0x03, 0x01, 
+0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0xa0, 0x20, 0x40, 0x02, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0x20, 0x20, 0x40, 0x02, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0xa0, 0x20, 0x40, 0x01, 0x81, 0xe0, 0xa2, 0x20, 0x02, 
+0xe0, 0x71, 0xc1, 0x20, 0x20, 0x40, 0x01, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0x2a, 0xff, 0xff, 0xeb, 0xe0, 0x71, 0xc0, 0xa0, 0x20, 0x40, 0x00, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x50, 0x10, 0x01, 0x31, 0xa0, 0x10, 0x00, 0xe0, 0xa2, 0x00, 0x02, 
+0xe1, 0xb0, 0x3f, 0xc3, 0x42, 0x60, 0x00, 0x00, 0x22, 0x61, 0x10, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe5, 0x9f, 0x00, 0x04, 0xe0, 0x8f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x08, 0x48, 0xeb, 0x00, 0x01, 0x2d, 0xeb, 0x00, 0x00, 0xab, 
+0xe9, 0x2d, 0x00, 0x03, 0xeb, 0x00, 0x01, 0x2b, 0xe8, 0xbd, 0x00, 0x03, 0xeb, 0x00, 0x00, 0xe6, 0xe9, 0x2d, 0x00, 0x0f, 0xeb, 0x00, 0x01, 0x2a, 0xe8, 0xbd, 0x00, 0x0f, 0xeb, 0xff, 0xe8, 0xbf, 0xea, 0x00, 0x00, 0x80, 0xe9, 0x2d, 0x40, 0x01, 
+0xeb, 0x00, 0x01, 0x28, 0xeb, 0x00, 0x01, 0x1a, 0xe8, 0xbd, 0x40, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x55, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x85, 0xe3, 0x50, 0x00, 0x00, 0x08, 0xbd, 0x80, 0x10, 
+0xe8, 0xbd, 0x40, 0x10, 0xea, 0x00, 0x00, 0x4f, 0xea, 0x00, 0x00, 0x54, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x04, 0xe5, 0x80, 0x00, 0x08, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe3, 0xa0, 0x00, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x81, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x08, 0x33, 0xa0, 0x00, 0x08, 0xe2, 0x80, 0x00, 0x07, 0xe3, 0xc0, 0x40, 0x07, 0xe2, 0x41, 0x00, 0x01, 
+0xe1, 0x54, 0x00, 0x00, 0x9a, 0x00, 0x00, 0x1f, 0xe5, 0x95, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x16, 0xe5, 0x90, 0x20, 0x00, 0xe1, 0x52, 0x00, 0x04, 0x3a, 0x00, 0x00, 0x0f, 0xe5, 0x90, 0x20, 0x00, 
+0xe2, 0x84, 0x30, 0x08, 0xe1, 0x52, 0x00, 0x03, 0x35, 0x90, 0x20, 0x04, 0x35, 0x81, 0x20, 0x04, 0x3a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x30, 0x04, 0xe0, 0x80, 0x20, 0x04, 0xe5, 0x82, 0x30, 0x04, 0xe5, 0x90, 0x30, 0x00, 0xe0, 0x43, 0x30, 0x04, 
+0xe5, 0x82, 0x30, 0x00, 0xe5, 0x81, 0x20, 0x04, 0xe5, 0x80, 0x40, 0x00, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xe8, 0xe1, 0xa0, 0x10, 0x04, 
+0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfe, 0xd0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xdf, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xeb, 0x00, 0x00, 0x42, 0xe1, 0xa0, 0xc0, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe5, 0x90, 0x30, 0x04, 
+0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0xc0, 0x03, 0xe5, 0x93, 0x30, 0x04, 0xe3, 0x53, 0x00, 0x00, 0x11, 0x53, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x9c, 0x30, 0x00, 0xe0, 0x83, 0x30, 0x0c, 0xe1, 0x53, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x05, 
+0xe1, 0xa0, 0x30, 0x01, 0xe2, 0x81, 0x10, 0x03, 0xe3, 0xc1, 0x10, 0x07, 0xe2, 0x81, 0x10, 0x04, 0xe0, 0x41, 0x30, 0x03, 0xe0, 0x42, 0x20, 0x03, 0xe4, 0x81, 0x20, 0x04, 0xeb, 0x00, 0x00, 0x0c, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 
+0xeb, 0x00, 0x00, 0x6a, 0xe8, 0xbd, 0x80, 0x10, 0xe5, 0x9f, 0x10, 0x0c, 0xe3, 0xa0, 0x00, 0x18, 0xef, 0x12, 0x34, 0x56, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x03, 0x2c, 0x00, 0x02, 0x00, 0x26, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x02, 
+0xea, 0xff, 0xff, 0xa0, 0xe2, 0x41, 0x10, 0x04, 0xe1, 0xa0, 0x20, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x11, 0x50, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x92, 0x30, 0x00, 0xe0, 0x83, 0xc0, 0x02, 0xe1, 0x5c, 0x00, 0x01, 
+0x15, 0x82, 0x10, 0x04, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x91, 0x10, 0x00, 0xe0, 0x83, 0x10, 0x01, 0xe5, 0x82, 0x10, 0x00, 0xe1, 0xa0, 0x10, 0x02, 0xe5, 0x91, 0x20, 0x00, 0xe0, 0x82, 0x30, 0x01, 0xe1, 0x53, 0x00, 0x00, 0x15, 0x81, 0x00, 0x04, 
+0x11, 0xa0, 0xf0, 0x0e, 0xe5, 0x90, 0x30, 0x04, 0xe5, 0x81, 0x30, 0x04, 0xe5, 0x90, 0x00, 0x00, 0xe0, 0x82, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xeb, 0x00, 0x00, 0x05, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x79, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x7b, 0xeb, 0x00, 0x00, 0x91, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0xce, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x70, 0x00, 0x01, 0xe1, 0xa0, 0x20, 0x00, 
+0x1a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x91, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0x72, 0x00, 0x03, 0x11, 0xa0, 0x10, 0x05, 0x11, 0xa0, 0x00, 0x04, 0x11, 0xa0, 0xe0, 0x0f, 0x11, 0xa0, 0xf0, 0x02, 
+0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x50, 0x0e, 0xeb, 0xff, 0xff, 0x4b, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xc0, 0x00, 0x07, 0xe1, 0xa0, 0x10, 0x0d, 0xe2, 0x80, 0xd0, 0x60, 0xe1, 0xa0, 0xe0, 0x05, 0xe9, 0x2d, 0x40, 0x10, 
+0xe1, 0xa0, 0x30, 0x0a, 0xeb, 0x00, 0x00, 0xdd, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0xb0, 0x00, 0xe8, 0xbd, 0x40, 0x10, 0xe3, 0xc1, 0xd0, 0x07, 0xe1, 0xa0, 0xc0, 0x04, 0xe8, 0xac, 0x09, 0xc0, 
+0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe9, 0x2d, 0x40, 0x13, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x81, 0x10, 0x40, 0xe0, 0x80, 0x20, 0x01, 0xe2, 0x82, 0x2e, 0x11, 
+0xe5, 0x84, 0x20, 0x1c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x10, 0x18, 0xe5, 0x84, 0x00, 0x10, 0xe8, 0xbd, 0x40, 0x13, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x00, 0x14, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe9, 0x2d, 0x00, 0x03, 
+0xeb, 0xff, 0xff, 0x26, 0xe1, 0xa0, 0x40, 0x00, 0xe8, 0xbd, 0x00, 0x03, 0xe5, 0x94, 0x20, 0x14, 0xe5, 0x94, 0x30, 0x1c, 0xe0, 0x82, 0xe0, 0x00, 0xe0, 0x4d, 0x30, 0x03, 0xe1, 0x5e, 0x00, 0x03, 0xe5, 0x81, 0x20, 0x00, 0x8a, 0x00, 0x00, 0x0a, 
+0xe0, 0x93, 0x30, 0x0e, 0xe2, 0x8e, 0x1a, 0x01, 0xe2, 0x81, 0x10, 0x07, 0xe1, 0xa0, 0x30, 0x63, 0xe3, 0xc3, 0x30, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0x51, 0x00, 0x03, 0x81, 0xa0, 0x10, 0x03, 0xe0, 0x41, 0x00, 0x02, 0xe5, 0x84, 0x10, 0x14, 
+0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x43, 0xc0, 0xe9, 0x2d, 0x00, 0x3e, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x00, 0xb2, 
+0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x40, 0x00, 0xe5, 0x8d, 0x50, 0x04, 0xeb, 0xff, 0xff, 0x29, 0xe5, 0x8d, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xe7, 0xcc, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe8, 0x9d, 0x00, 0x03, 
+0xe1, 0xa0, 0x60, 0x02, 0xe1, 0xa0, 0x70, 0x03, 0xeb, 0xff, 0xfe, 0x30, 0xeb, 0xff, 0xfe, 0x19, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x80, 0x00, 0xeb, 0xff, 0xfe, 0xf5, 
+0xe1, 0xa0, 0x90, 0x00, 0xe5, 0x80, 0x80, 0x20, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x80, 0x10, 0x01, 0xe5, 0x89, 0x10, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe5, 0x89, 0x00, 0x28, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x0c, 0xe1, 0xa0, 0x00, 0x04, 
+0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x20, 0x06, 0xe1, 0xa0, 0x30, 0x07, 0xe8, 0xbd, 0x01, 0xf0, 0xe8, 0xbd, 0x82, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0xea, 
+0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xe0, 0x00, 0x00, 0xe3, 0xe0, 0x10, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x55, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe2, 0x40, 0x20, 0x01, 0xe9, 0x2d, 0x40, 0x70, 0xe3, 0x52, 0x00, 0x0e, 0x22, 0x8f, 0x50, 0xc0, 0xe2, 0x8f, 0x40, 0xb8, 0x2a, 0x00, 0x00, 0x1c, 0xe3, 0xa0, 0x20, 0x17, 0xe5, 0x9f, 0x30, 0xc0, 0xe0, 0x02, 0x02, 0x90, 0xe0, 0x8f, 0x30, 0x03, 
+0xe3, 0x50, 0x00, 0x02, 0xe0, 0x82, 0x20, 0x03, 0xe2, 0x42, 0x50, 0x17, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x03, 0x01, 0x12, 0x8f, 0x40, 0xa4, 0x1a, 0x00, 0x00, 0x11, 0xe3, 0x11, 0x03, 0x82, 0x12, 0x8f, 0x40, 0xac, 0x1a, 0x00, 0x00, 0x0e, 
+0xe3, 0x11, 0x02, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0x11, 0x02, 0x02, 0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0x11, 0x01, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0xea, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x08, 
+0x01, 0xa0, 0x40, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x50, 0x00, 0x09, 0x03, 0x51, 0x00, 0x01, 0x02, 0x8f, 0x50, 0xa4, 0xe3, 0xa0, 0x00, 0x0a, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x85, 0x50, 0x01, 0xeb, 0x00, 0x00, 0x2c, 0xe5, 0xd5, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x84, 0x40, 0x01, 0xeb, 0x00, 0x00, 0x26, 0xe5, 0xd4, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x00, 0x21, 
+0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x70, 0x00, 0x00, 0x00, 0x00, 0x6e, 0x6b, 0x6e, 0x55, 0x20, 0x6e, 0x77, 0x6f, 0x6e, 0x67, 0x69, 0x73, 0x00, 0x00, 0x6c, 0x61, 0x00, 0x00, 0x01, 0xf4, 0x61, 0x76, 0x6e, 0x49, 0x20, 0x64, 0x69, 0x6c, 
+0x72, 0x65, 0x70, 0x4f, 0x6f, 0x69, 0x74, 0x61, 0x00, 0x00, 0x00, 0x6e, 0x69, 0x76, 0x69, 0x44, 0x42, 0x20, 0x65, 0x64, 0x65, 0x5a, 0x20, 0x79, 0x00, 0x00, 0x6f, 0x72, 0x72, 0x65, 0x76, 0x4f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 
+0x65, 0x64, 0x6e, 0x55, 0x6f, 0x6c, 0x66, 0x72, 0x00, 0x00, 0x00, 0x77, 0x78, 0x65, 0x6e, 0x49, 0x20, 0x74, 0x63, 0x61, 0x75, 0x73, 0x65, 0x52, 0x00, 0x00, 0x74, 0x6c, 0x65, 0x48, 0x20, 0x3a, 0x6d, 0x20, 0x70, 0x61, 0x72, 0x6f, 0x6d, 0x65, 
+0x6f, 0x63, 0x20, 0x79, 0x70, 0x75, 0x72, 0x72, 0x00, 0x64, 0x65, 0x74, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x08, 0xe1, 0xa0, 0x10, 0x0d, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xef, 0x12, 0x34, 0x56, 0xe8, 0xbd, 0x90, 0x00, 
+0xe9, 0x2d, 0x40, 0x10, 0xeb, 0xff, 0xfe, 0x67, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x0a, 0x13, 0xe3, 0x21, 0xf0, 0xd1, 0xe2, 0x40, 0xd0, 0x00, 0xe3, 0x21, 0xf0, 0xd2, 0xe2, 0x40, 0xdc, 0x01, 0xe3, 0x21, 0xf0, 0xd7, 
+0xe2, 0x40, 0xdc, 0x02, 0xe3, 0x21, 0xf0, 0xdb, 0xe2, 0x40, 0xdc, 0x03, 0xe3, 0x21, 0xf0, 0xd3, 0xe2, 0x40, 0x1b, 0x01, 0xe5, 0x9f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x66, 0x84, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 
+0xeb, 0xff, 0xff, 0xea, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0f, 
+0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x3f, 0x00, 0x00, 0x00, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x6f, 0x6e, 0x62, 0x41, 0x6c, 0x61, 0x6d, 0x72, 0x72, 0x65, 0x74, 0x20, 0x61, 0x6e, 0x69, 0x6d, 
+0x6e, 0x6f, 0x69, 0x74, 0x41, 0x00, 0x00, 0x00, 0x68, 0x74, 0x69, 0x72, 0x69, 0x74, 0x65, 0x6d, 0x78, 0x65, 0x20, 0x63, 0x74, 0x70, 0x65, 0x63, 0x3a, 0x6e, 0x6f, 0x69, 0x6c, 0x49, 0x00, 0x20, 0x61, 0x67, 0x65, 0x6c, 0x6e, 0x69, 0x20, 0x6c, 
+0x75, 0x72, 0x74, 0x73, 0x6f, 0x69, 0x74, 0x63, 0x00, 0x00, 0x00, 0x6e, 0x74, 0x6e, 0x49, 0x00, 0x75, 0x72, 0x72, 0x65, 0x72, 0x20, 0x74, 0x70, 0x69, 0x65, 0x63, 0x65, 0x00, 0x64, 0x65, 0x76, 0x00, 0x00, 0x00, 0x00, 0x65, 0x6c, 0x6c, 0x49, 
+0x20, 0x6c, 0x61, 0x67, 0x72, 0x64, 0x64, 0x61, 0x00, 0x73, 0x73, 0x65, 0x00, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x69, 0x6d, 0x72, 0x65, 0x69, 0x74, 0x61, 0x6e, 0x72, 0x20, 0x6e, 0x6f, 0x65, 0x75, 0x71, 0x65, 0x00, 0x00, 0x74, 0x73, 
+0x74, 0x53, 0x00, 0x00, 0x20, 0x6b, 0x63, 0x61, 0x72, 0x65, 0x76, 0x6f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x65, 0x52, 0x00, 0x63, 0x65, 0x72, 0x69, 0x63, 0x20, 0x3a, 0x74, 0x74, 0x27, 0x6e, 0x61, 
+0x65, 0x70, 0x6f, 0x20, 0x00, 0x20, 0x3a, 0x6e, 0x20, 0x74, 0x75, 0x4f, 0x68, 0x20, 0x66, 0x6f, 0x20, 0x70, 0x61, 0x65, 0x6f, 0x6d, 0x65, 0x6d, 0x00, 0x00, 0x79, 0x72, 0x55, 0x00, 0x00, 0x00, 0x2d, 0x72, 0x65, 0x73, 0x69, 0x66, 0x65, 0x64, 
+0x20, 0x64, 0x65, 0x6e, 0x6e, 0x67, 0x69, 0x73, 0x31, 0x20, 0x6c, 0x61, 0x73, 0x55, 0x00, 0x00, 0x64, 0x2d, 0x72, 0x65, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x20, 0x64, 0x65, 0x61, 0x6e, 0x67, 0x69, 0x00, 0x32, 0x20, 0x6c, 0x72, 0x75, 0x50, 0x00, 
+0x69, 0x76, 0x20, 0x65, 0x61, 0x75, 0x74, 0x72, 0x6e, 0x66, 0x20, 0x6c, 0x6c, 0x61, 0x63, 0x20, 0x00, 0x64, 0x65, 0x6c, 0x20, 0x2b, 0x2b, 0x43, 0x72, 0x62, 0x69, 0x6c, 0x20, 0x79, 0x72, 0x61, 0x65, 0x63, 0x78, 0x65, 0x6f, 0x69, 0x74, 0x70, 
+0x4f, 0x00, 0x00, 0x6e, 0x6f, 0x20, 0x74, 0x75, 0x65, 0x68, 0x20, 0x66, 0x00, 0x00, 0x70, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/mp4_enc_fw.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/mp4_enc_fw.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/mp4_enc_fw.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/mp4_enc_fw.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,307 @@
+/*
+ * drivers/media/video/samsung/mfc40/mp4_enc_fw.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+const unsigned char mp4_enc_mc_fw[11628] = {
+0xea, 0x00, 0x00, 0x31, 0xea, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x0b, 0xea, 0x00, 0x00, 0x10, 0xea, 0x00, 0x00, 0x15, 0xea, 0xff, 0xff, 0xfe, 0xea, 0x00, 0x00, 0x19, 0xea, 0x00, 0x00, 0x1e, 0xea, 0x00, 0x00, 0x23, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0xa0, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x8c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x78, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x64, 
+0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x50, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 
+0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x3c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x28, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 
+0xe8, 0xbd, 0x80, 0x01, 0xeb, 0x00, 0x00, 0x07, 0xea, 0xff, 0xff, 0xfe, 0x00, 0x01, 0x3f, 0x04, 0x00, 0x01, 0x3f, 0x08, 0x00, 0x01, 0x3f, 0x0c, 0x00, 0x01, 0x3f, 0x10, 0x00, 0x01, 0x3f, 0x18, 0x00, 0x01, 0x3f, 0x1c, 0x00, 0x01, 0x3f, 0x20, 
+0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x09, 0x14, 0xe5, 0x9f, 0x30, 0x04, 0xe0, 0x8f, 0x30, 0x03, 0xe1, 0xa0, 0xf0, 0x03, 0x00, 0x00, 0x2b, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x05, 0x06, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfe, 
+0xe9, 0x2d, 0x40, 0x70, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x88, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0x54, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xe0, 0x14, 0xff, 0xe3, 0xa0, 0x00, 0x18, 0xeb, 0x00, 0x06, 0x55, 0xea, 0x00, 0x00, 0x0a, 
+0xe3, 0x54, 0x00, 0x10, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9f, 0x1f, 0x28, 0xe3, 0xa0, 0x00, 0x10, 0xeb, 0x00, 0x06, 0x4f, 0xea, 0x00, 0x00, 0x04, 0xe3, 0x54, 0x00, 0x18, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0xff, 0xe3, 0xa0, 0x00, 0x08, 
+0xeb, 0x00, 0x06, 0x49, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe5, 0x81, 0x00, 0x10, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x08, 0x2a, 0x00, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x80, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x38, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf5, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x19, 0xe3, 0xa0, 0x06, 0x05, 
+0xe5, 0x90, 0x00, 0x3c, 0xe2, 0x60, 0x50, 0x08, 0xea, 0x00, 0x00, 0x03, 0xe3, 0xe0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x06, 0x26, 0xe2, 0x45, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x04, 
+0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x3c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x00, 0x38, 
+0xe3, 0x50, 0x00, 0x80, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x00, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x90, 0x00, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe3, 0x10, 0x00, 0x07, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xff, 0xfc, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x05, 0xfb, 0xea, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x05, 0xf7, 0xeb, 0xff, 0xff, 0xee, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xf9, 0xe8, 0xbd, 0x80, 0x10, 0xe2, 0x40, 0x20, 0x01, 0xe3, 0x52, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x00, 
+0xe3, 0xa0, 0x20, 0x00, 0xe3, 0x12, 0x09, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x10, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x47, 0xe3, 0x12, 0x09, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0f, 0xe5, 0x81, 0x30, 0x00, 
+0xea, 0x00, 0x00, 0x42, 0xe3, 0x12, 0x0a, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0e, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x3d, 0xe3, 0x12, 0x0a, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0d, 0xe5, 0x81, 0x30, 0x00, 
+0xea, 0x00, 0x00, 0x38, 0xe3, 0x12, 0x0b, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0c, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x33, 0xe3, 0x12, 0x0b, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0b, 0xe5, 0x81, 0x30, 0x00, 
+0xea, 0x00, 0x00, 0x2e, 0xe3, 0x12, 0x0c, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x0a, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x29, 0xe3, 0x12, 0x0c, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x09, 0xe5, 0x81, 0x30, 0x00, 
+0xea, 0x00, 0x00, 0x24, 0xe3, 0x12, 0x00, 0x80, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x08, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x1f, 0xe3, 0x12, 0x00, 0x40, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x07, 0xe5, 0x81, 0x30, 0x00, 
+0xea, 0x00, 0x00, 0x1a, 0xe3, 0x12, 0x00, 0x20, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x06, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x15, 0xe3, 0x12, 0x00, 0x10, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x05, 0xe5, 0x81, 0x30, 0x00, 
+0xea, 0x00, 0x00, 0x10, 0xe3, 0x12, 0x00, 0x08, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x04, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x0b, 0xe3, 0x12, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x03, 0xe5, 0x81, 0x30, 0x00, 
+0xea, 0x00, 0x00, 0x06, 0xe3, 0x12, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x30, 0x02, 0xe5, 0x81, 0x30, 0x00, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x01, 0xe5, 0x81, 0x30, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x10, 0x00, 
+0xea, 0x00, 0x00, 0x10, 0xe3, 0xa0, 0x26, 0x06, 0xe3, 0xa0, 0x36, 0x05, 0xe5, 0x83, 0x20, 0x20, 0xe0, 0x80, 0x23, 0x81, 0xe5, 0x83, 0x20, 0x14, 0xe3, 0xa0, 0x20, 0x20, 0xe5, 0x83, 0x20, 0x0c, 0xe3, 0xa0, 0x20, 0x05, 0xe5, 0x83, 0x20, 0x08, 
+0xe3, 0xa0, 0x20, 0x01, 0xe5, 0x83, 0x20, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x26, 0x05, 0xe5, 0x92, 0x20, 0x30, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfb, 0xe2, 0x81, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x02, 0xba, 0xff, 0xff, 0xec, 
+0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x4f, 0xf1, 0xe2, 0x4d, 0xd0, 0x18, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x01, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x00, 0x60, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x05, 0x10, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x1c, 0xe8, 0xbd, 0x8f, 0xf0, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x1c, 0xe2, 0x40, 0xcc, 0xff, 0xe2, 0x5c, 0xc0, 0xff, 0x1a, 0x00, 0x00, 0x0b, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x58, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x00, 0x04, 0xea, 0x00, 0x00, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0xc0, 0x18, 
+0xe5, 0x8c, 0x00, 0x04, 0xea, 0x00, 0x00, 0x0c, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x5c, 0xe5, 0x9c, 0x10, 0x1c, 0xeb, 0x00, 0x07, 0x8e, 0xe3, 0x51, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0xc0, 0x18, 
+0xe5, 0x8c, 0x00, 0x04, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x00, 0x04, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x0d, 0x08, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x14, 
+0xe2, 0x00, 0x00, 0x01, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x01, 0x34, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x01, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x00, 0x04, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x00, 0x5c, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x9d, 0x00, 0x14, 0xe0, 0x01, 0x40, 0xc0, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x18, 0x55, 
+0xe5, 0x9c, 0x00, 0x7c, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x18, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x11, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x9d, 0x00, 0x14, 0xe5, 0x81, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x20, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x80, 0xe5, 0x81, 0x00, 0x24, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x01, 0x2c, 0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x20, 0xe5, 0x9c, 0x10, 0x84, 0xe1, 0x80, 0x04, 0x81, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x40, 0xe5, 0x9d, 0xc0, 0x18, 
+0xe5, 0x9c, 0x00, 0x54, 0xe5, 0x9c, 0x10, 0x38, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x38, 0xe2, 0x80, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x14, 0xea, 0x00, 0x00, 0x03, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x9c, 0x00, 0x38, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x9c, 0x00, 0x6c, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x70, 
+0xe5, 0x81, 0x00, 0x40, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x74, 0xe5, 0x81, 0x00, 0x44, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x78, 0xe5, 0x81, 0x00, 0x48, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x00, 0xe5, 0x81, 0x00, 0x30, 
+0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x04, 0xe5, 0x81, 0x00, 0x34, 0xe5, 0x9d, 0xc0, 0x18, 0xe2, 0x8c, 0x10, 0x08, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x05, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0xc0, 0x18, 
+0xe5, 0x9c, 0x00, 0x04, 0xe5, 0x9c, 0x10, 0x2c, 0xe1, 0x80, 0x04, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x9d, 0xc0, 0x18, 0xe2, 0x8c, 0x10, 0x4c, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x0c, 0x01, 0xe3, 0xa0, 0x18, 0x56, 
+0xe5, 0x81, 0x00, 0x08, 0xe5, 0x9d, 0xc0, 0x18, 0xe2, 0x8c, 0x10, 0x08, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x07, 0x81, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x9c, 0x00, 0x2c, 
+0xe1, 0x81, 0x01, 0x80, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x10, 0xe5, 0x81, 0x00, 0x30, 0xe3, 0xa0, 0x00, 0x20, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x81, 0x00, 0x44, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x01, 0x24, 0xe5, 0x9c, 0x10, 0x04, 0xe1, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x01, 0x30, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8c, 0x01, 0x30, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x04, 0xe5, 0x8c, 0x01, 0x24, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x75, 0xe3, 0xa0, 0xb6, 0x06, 0xe3, 0xa0, 0x1c, 0x02, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0x00, 0x06, 0xd5, 0xe5, 0x9d, 0xc0, 0x18, 
+0xe5, 0x9c, 0x00, 0x4c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x6c, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x70, 0xe5, 0x8d, 0x00, 0x14, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x7c, 0xe3, 0x10, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x14, 0xe1, 0xa0, 0x06, 0x80, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x14, 
+0xe0, 0x81, 0x64, 0x05, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xff, 0x0b, 0xe2, 0x85, 0x50, 0x01, 0xe3, 0x55, 0x00, 0x02, 0xba, 0xff, 0xff, 0xf8, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x9d, 0x00, 0x14, 0xe5, 0x81, 0x00, 0x30, 0xe5, 0x9d, 0x00, 0x14, 
+0xe5, 0x81, 0x00, 0x34, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x10, 0x1f, 0xe5, 0x9c, 0x00, 0x84, 0xe1, 0x81, 0x04, 0x80, 0xe3, 0xa0, 0x18, 0x55, 
+0xe5, 0x81, 0x01, 0x40, 0xe5, 0x9f, 0x08, 0x50, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x10, 
+0xe3, 0xa0, 0x60, 0x02, 0xea, 0x00, 0x00, 0x11, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xc8, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x10, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x10, 0xe5, 0x9d, 0x00, 0x10, 0xe1, 0x50, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 
+0xea, 0xff, 0xff, 0xec, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x00, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x30, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x04, 0xe5, 0x81, 0x00, 0x34, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x11, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x9d, 0x00, 0x14, 0xe5, 0x81, 0x00, 0x1c, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x01, 0x2c, 
+0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x9d, 0xc0, 0x18, 0xe2, 0x8c, 0x10, 0x08, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x05, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x04, 0xe5, 0x9c, 0x10, 0x2c, 
+0xe1, 0x80, 0x04, 0x81, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x01, 0x10, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x01, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x84, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x18, 0xeb, 0x00, 0x04, 0x75, 0xe5, 0x9d, 0x00, 0x18, 0xeb, 0x00, 0x05, 0x3d, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x17, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0e, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x18, 0xeb, 0x00, 0x02, 0xe9, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x18, 0xeb, 0x00, 0x02, 0xe7, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x20, 0x30, 0xe5, 0x9c, 0x30, 0x18, 0xe8, 0x8d, 0x00, 0x0c, 0xe5, 0x9c, 0x00, 0x44, 0xe2, 0x8c, 0x20, 0x08, 0xe8, 0x92, 0x00, 0x06, 0xe5, 0x9c, 0x30, 0x28, 0xeb, 0x00, 0x02, 0xe4, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x90, 0x00, 0x44, 0xe1, 0xa0, 0x01, 0xa0, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x00, 0x64, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x84, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x18, 0x55, 
+0xe5, 0x9c, 0x00, 0xa8, 0xe5, 0x81, 0x01, 0x50, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0xac, 0xe5, 0x81, 0x01, 0x64, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x01, 0x28, 0xe5, 0x81, 0x01, 0x5c, 0xe5, 0x9d, 0x00, 0x18, 0xeb, 0x00, 0x05, 0x16, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x20, 0xe5, 0x9c, 0x10, 0x84, 0xe1, 0x80, 0x04, 0x81, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x01, 0x40, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x09, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x58, 0xe5, 0x9c, 0x10, 0x44, 0xeb, 0x00, 0x06, 0x28, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x10, 0x00, 0xe1, 0xa0, 0x10, 0x04, 0xe5, 0x9d, 0x00, 0x18, 0xeb, 0x00, 0x02, 0xf5, 0xea, 0x00, 0x00, 0x93, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x58, 0xe2, 0x00, 0x00, 0xff, 0xe5, 0x8c, 0x00, 0x00, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x14, 
+0xe3, 0x50, 0x00, 0x06, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x2d, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x0b, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0xc0, 0x18, 
+0xe5, 0x9c, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x09, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x22, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x16, 0x1a, 0x00, 0x00, 0x06, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x12, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x17, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x58, 
+0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x12, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x04, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x0c, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x10, 
+0xe3, 0x50, 0x0e, 0x16, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x12, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x05, 0xe5, 0x8d, 0x00, 0x14, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x07, 
+0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x10, 0x20, 0xe3, 0xa0, 0x00, 0x16, 0xeb, 0x00, 0x03, 0xbc, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x00, 0x08, 0xe5, 0x9c, 0x10, 0x00, 0xeb, 0x00, 0x03, 0xb8, 0xe3, 0xa0, 0x10, 0x10, 0xe3, 0xa0, 0x00, 0x05, 
+0xeb, 0x00, 0x03, 0xb5, 0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x38, 0xe3, 0xa0, 0x10, 0x07, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x03, 0xaf, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x03, 0xa8, 0xe5, 0x9f, 0x14, 0x88, 0xe3, 0xa0, 0x00, 0x12, 0xeb, 0x00, 0x03, 0xa5, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x03, 
+0xeb, 0x00, 0x03, 0xa1, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x9c, 0x10, 0x04, 0xeb, 0x00, 0x03, 0x9d, 0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0x00, 0x03, 0x9a, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x14, 0xe3, 0xa0, 0x10, 0x02, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x03, 0x93, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x9c, 0x00, 0x08, 0xe0, 0x61, 0x01, 0x40, 0xe5, 0x8d, 0x00, 0x14, 
+0xe3, 0xa0, 0x00, 0x09, 0xe5, 0x9d, 0x10, 0x14, 0xeb, 0x00, 0x03, 0x8b, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x03, 0x88, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x0c, 0xe1, 0xa0, 0x01, 0x40, 0xe5, 0x8d, 0x00, 0x14, 
+0xe3, 0xa0, 0x00, 0x09, 0xe5, 0x9d, 0x10, 0x14, 0xeb, 0x00, 0x03, 0x81, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x00, 0x05, 0xe5, 0x9c, 0x10, 0x20, 0xeb, 0x00, 0x03, 0x7d, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x03, 0x7a, 
+0xea, 0x00, 0x00, 0x10, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x14, 0xeb, 0x00, 0x03, 0x76, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x9c, 0x10, 0x04, 0xeb, 0x00, 0x03, 0x72, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x04, 
+0xeb, 0x00, 0x03, 0x6f, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x00, 0x05, 0xe5, 0x9c, 0x10, 0x20, 0xeb, 0x00, 0x03, 0x6b, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x03, 0x68, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x91, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x4c, 0xe5, 0x8d, 0x00, 0x14, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x50, 0xe5, 0x8c, 0x00, 0x4c, 0xe2, 0x8d, 0xc0, 0x14, 0xe8, 0x9c, 0x10, 0x01, 0xe5, 0x8c, 0x00, 0x50, 0xe3, 0xa0, 0x00, 0x03, 
+0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x0c, 0xe3, 0xa0, 0x80, 0x00, 0xe5, 0x8d, 0x00, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x49, 
+0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x32, 0xe5, 0x9d, 0xc0, 0x18, 
+0xe5, 0x9c, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xa0, 0x11, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x40, 0xe2, 0x80, 0x00, 0x10, 0xe5, 0x9c, 0x10, 0x28, 0xe3, 0x51, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe0, 0x80, 0xa0, 0x01, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x54, 0xe5, 0x9c, 0x10, 0x38, 0xe5, 0x9d, 0x20, 0x10, 0xe0, 0x81, 0x10, 0x02, 
+0xe1, 0x50, 0x00, 0x01, 0xca, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x38, 0xe2, 0x80, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x14, 0xea, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x18, 0x55, 
+0xe5, 0x9c, 0x00, 0x38, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x9d, 0xc0, 0x18, 0xe2, 0x8d, 0x10, 0x14, 0xe5, 0x9c, 0x00, 0x54, 0xeb, 0xff, 0xfd, 0x30, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x03, 0x21, 0xe5, 0x9d, 0x00, 0x14, 
+0xe5, 0x9d, 0x10, 0x10, 0xeb, 0x00, 0x03, 0x1e, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x00, 0x05, 0xe5, 0x9c, 0x10, 0x20, 0xeb, 0x00, 0x03, 0x1a, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x03, 0x17, 0xea, 0x00, 0x00, 0x0d, 
+0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x11, 0xeb, 0x00, 0x03, 0x13, 0xe1, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x03, 0x10, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x9c, 0x10, 0x04, 0xeb, 0x00, 0x03, 0x0c, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x00, 0x05, 0xe5, 0x9c, 0x10, 0x20, 0xeb, 0x00, 0x03, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xc8, 0xe2, 0x8d, 0x20, 0x0c, 0xe2, 0x8d, 0x10, 0x10, 0xe5, 0x9d, 0x00, 0x18, 
+0xeb, 0x00, 0x02, 0xc2, 0xe1, 0xa0, 0x90, 0x00, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xeb, 0xff, 0xfc, 0xfb, 0xea, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x00, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x02, 0xf6, 0xeb, 0xff, 0xfc, 0xed, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0xf9, 0xe2, 0x88, 0x80, 0x01, 0xe3, 0x59, 0x00, 0x00, 0x0a, 0xff, 0xff, 0x9a, 0xe3, 0xa0, 0x08, 0x55, 0xe5, 0x90, 0x01, 0x74, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0a, 0x34, 0xe3, 0xa0, 0x08, 0x55, 0xe5, 0x90, 0x01, 0x58, 0xe2, 0x00, 0x00, 0x3f, 0xe5, 0x81, 0x0a, 0x18, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x84, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x07, 
+0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x10, 0x64, 0xe0, 0x40, 0x01, 0x81, 0xe5, 0x8c, 0x00, 0x88, 0xe5, 0x9d, 0x00, 0x18, 0xeb, 0x00, 0x04, 0x3d, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x00, 0xeb, 0xff, 0xfc, 0xd3, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x5c, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x8c, 0x00, 0x5c, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x58, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8c, 0x00, 0x58, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x00, 0x48, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x44, 
+0xe1, 0xa0, 0x01, 0xa0, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x00, 0x68, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x9c, 0x00, 0x68, 0xe5, 0x81, 0x00, 0x58, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x64, 0xe5, 0x81, 0x00, 0x60, 
+0xeb, 0xff, 0xfc, 0x5c, 0xe3, 0x54, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x65, 0xe3, 0xa0, 0x10, 0x03, 0xe5, 0x9d, 0x00, 0x0c, 0xeb, 0x00, 0x04, 0xdc, 0xe5, 0x8d, 0x10, 0x14, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x5d, 0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x5a, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x1c, 0xe5, 0x81, 0x00, 0x4c, 0xe5, 0x9f, 0x00, 0x84, 
+0xe5, 0x81, 0x01, 0x8c, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x4c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x6c, 0xe5, 0x81, 0x01, 0x90, 0xea, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0xc0, 0x18, 
+0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x9c, 0x00, 0x70, 0xe5, 0x81, 0x01, 0x90, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x00, 0xe3, 0xa0, 0x18, 0x55, 0xe5, 0x81, 0x00, 0x3c, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x00, 0xe5, 0x81, 0x00, 0x40, 
+0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x04, 0xe5, 0x81, 0x00, 0x44, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x90, 0x08, 0x04, 0xe5, 0x81, 0x00, 0x48, 0xe5, 0x9d, 0x00, 0x14, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x9f, 0x00, 0x18, 
+0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x70, 0x08, 0xea, 0x00, 0x00, 0x07, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0x80, 0x20, 0x00, 0x03, 0x00, 0x08, 0x00, 0x01, 0x00, 0x40, 0xe5, 0x9f, 0x04, 0xe0, 0xe3, 0xa0, 0x18, 0x56, 
+0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x70, 0x04, 0xe5, 0x9d, 0xc0, 0x18, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x9c, 0x00, 0x04, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x9d, 0xc0, 0x18, 0xe2, 0x8c, 0x10, 0x4c, 0xe8, 0x91, 0x00, 0x03, 0xe1, 0x80, 0x0c, 0x01, 
+0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x81, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x10, 0xea, 0x00, 0x00, 0x11, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xc8, 
+0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x10, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x8d, 0x00, 0x10, 0xe5, 0x9d, 0x00, 0x10, 0xe1, 0x50, 0x00, 0x07, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xec, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xdc, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x00, 0x64, 0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x8c, 0x00, 0x68, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0x44, 0xe3, 0xa0, 0x0c, 0x02, 0xe5, 0x81, 0x00, 0x04, 0xe3, 0x54, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x0a, 
+0xe5, 0x9d, 0xc0, 0x18, 0xe5, 0x9c, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x0c, 0x0c, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x16, 0x05, 
+0xe5, 0x81, 0x0c, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x05, 0x0c, 0xe3, 0xa0, 0x00, 0x00, 0xea, 0xff, 0xfc, 0xb4, 0xe9, 0x2d, 0x47, 0xf0, 0xe3, 0xa0, 0xc0, 0x00, 0xe5, 0x80, 0xc0, 0x00, 0xe3, 0xa0, 0xc6, 0x05, 
+0xe5, 0x9c, 0xc1, 0x18, 0xe5, 0x80, 0xc0, 0x08, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xc1, 0x1c, 0xe5, 0x80, 0xc0, 0x0c, 0xe5, 0x90, 0xc0, 0x08, 0xe2, 0x8c, 0xc0, 0x0f, 0xe1, 0xa0, 0xc2, 0x4c, 0xe5, 0x80, 0xc0, 0x10, 0xe5, 0x90, 0xc0, 0x0c, 
+0xe2, 0x8c, 0xc0, 0x0f, 0xe1, 0xa0, 0xc2, 0x4c, 0xe5, 0x80, 0xc0, 0x14, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xc3, 0x00, 0xe2, 0x0c, 0xc0, 0x03, 0xe5, 0x80, 0xc0, 0x18, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xc3, 0x08, 0xe5, 0x80, 0xc0, 0x1c, 
+0xe5, 0x90, 0x90, 0x1c, 0xe2, 0x49, 0xcc, 0xff, 0xe2, 0x5c, 0xc0, 0xff, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x90, 0xc0, 0x1c, 0xe2, 0x8c, 0xc0, 0x01, 0xe5, 0x80, 0xc0, 0x1c, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xca, 0x00, 0xe2, 0x0c, 0xc0, 0x3f, 
+0xe5, 0x80, 0xc0, 0x20, 0xe3, 0xa0, 0xc0, 0x00, 0xe5, 0x80, 0xc0, 0x28, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xc1, 0x00, 0xe3, 0x5c, 0x00, 0x14, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xc3, 0x18, 0xe3, 0x5c, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0xc0, 0x01, 0xe5, 0x80, 0xc0, 0x2c, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xc0, 0x00, 0xe5, 0x80, 0xc0, 0x2c, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xc3, 0x1c, 0xe5, 0x80, 0xc0, 0x30, 0xe3, 0xa0, 0xc6, 0x05, 
+0xe5, 0x9c, 0xc3, 0x20, 0xe5, 0x80, 0xc0, 0x34, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xc3, 0x24, 0xe5, 0x80, 0xc0, 0x38, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xc3, 0x28, 0xe2, 0x4c, 0xcd, 0x1e, 0xe5, 0x80, 0xc0, 0x3c, 0xe5, 0x90, 0xc0, 0x2c, 
+0xe3, 0x5c, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xc0, 0x03, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0xc0, 0x01, 0xe5, 0x80, 0xc0, 0x40, 0xe5, 0x90, 0xc0, 0x30, 0xe3, 0x5c, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x90, 0xc0, 0x34, 
+0xe3, 0x5c, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xc0, 0x00, 0xe5, 0x80, 0xc0, 0x38, 0xe3, 0xa0, 0xc0, 0x1e, 0xe5, 0x80, 0xc0, 0x44, 0xe3, 0xa0, 0xc0, 0x01, 0xe5, 0x80, 0xc0, 0x48, 0xe3, 0xa0, 0xc0, 0x00, 0xe5, 0x80, 0xc0, 0x4c, 
+0xe3, 0xa0, 0xc0, 0x01, 0xe5, 0x80, 0xc0, 0x50, 0xe5, 0x90, 0x90, 0x14, 0xe5, 0x90, 0xc0, 0x10, 0xe0, 0x0c, 0x0c, 0x99, 0xe5, 0x80, 0xc0, 0x54, 0xe3, 0xa0, 0xc0, 0x00, 0xe5, 0x80, 0xc0, 0x58, 0xe5, 0x80, 0xc0, 0x5c, 0xe5, 0x80, 0xc0, 0x60, 
+0xe5, 0x80, 0xc0, 0x64, 0xe5, 0x80, 0xc0, 0x68, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xc1, 0x24, 0xe5, 0x80, 0xc0, 0x80, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xc8, 0x10, 0xe5, 0x80, 0xc1, 0x2c, 0xe3, 0xa0, 0xc0, 0x00, 0xe5, 0x80, 0xc1, 0x30, 
+0xe5, 0x80, 0xc1, 0x24, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xca, 0x00, 0xe3, 0xa0, 0x90, 0x01, 0xe0, 0x09, 0xc4, 0xac, 0xe5, 0x80, 0xc0, 0x84, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xca, 0x04, 0xe5, 0x80, 0xc1, 0x1c, 0xe3, 0xa0, 0xc6, 0x05, 
+0xe5, 0x9c, 0xca, 0x08, 0xe5, 0x80, 0xc1, 0x20, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xca, 0x10, 0xe5, 0x80, 0xc0, 0xa8, 0xe3, 0xa0, 0xc0, 0x01, 0xe5, 0x80, 0xc0, 0x8c, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xca, 0x0c, 0xe3, 0xa0, 0x90, 0x3f, 
+0xe0, 0x09, 0xc4, 0x2c, 0xe5, 0x80, 0xc0, 0xf0, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0xca, 0x0c, 0xe2, 0x0c, 0xc0, 0x3f, 0xe5, 0x80, 0xc0, 0xf4, 0xe3, 0xa0, 0xc0, 0x00, 0xe5, 0x80, 0xc1, 0x28, 0xe5, 0x90, 0x60, 0x08, 0xe5, 0x90, 0x50, 0x0c, 
+0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x9c, 0x18, 0x0c, 0xe5, 0x9c, 0xc6, 0x00, 0xe5, 0x80, 0xc0, 0x7c, 0xe5, 0x90, 0xc0, 0x7c, 0xe3, 0x1c, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0b, 0xe5, 0x80, 0x10, 0x6c, 0xe0, 0x2c, 0x16, 0x95, 0xe5, 0x80, 0xc0, 0x70, 
+0xe0, 0x0c, 0x06, 0x95, 0xe0, 0x81, 0xc0, 0x8c, 0xe5, 0x80, 0xc0, 0x74, 0xe0, 0x09, 0x06, 0x95, 0xe0, 0x89, 0xc1, 0x09, 0xe0, 0x8c, 0x9f, 0xac, 0xe0, 0x81, 0x90, 0xc9, 0xe5, 0x80, 0x90, 0x78, 0xea, 0x00, 0x00, 0x40, 0xe1, 0xa0, 0x16, 0xc1, 
+0xe3, 0xa0, 0x30, 0x00, 0xea, 0x00, 0x00, 0x3b, 0xe2, 0x46, 0xe0, 0x01, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x01, 0xe2, 0x45, 0xc0, 0x01, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0xc0, 0x01, 0xe0, 0x6c, 0xc0, 0xc5, 0xe1, 0xa0, 0x40, 0x0c, 
+0xe1, 0xa0, 0x90, 0x0e, 0xe1, 0xa0, 0xaf, 0xce, 0xe0, 0x8e, 0xae, 0x2a, 0xe1, 0xa0, 0xc2, 0x4a, 0xe1, 0xa0, 0xaf, 0xcc, 0xe0, 0x8c, 0xae, 0xaa, 0xe1, 0xa0, 0xa1, 0xca, 0xe2, 0x8a, 0x70, 0x01, 0xe1, 0xa0, 0x90, 0x04, 0xe1, 0xa0, 0xaf, 0xc4, 
+0xe0, 0x84, 0xae, 0x2a, 0xe1, 0xa0, 0xc2, 0x4a, 0xe1, 0xa0, 0xaf, 0xcc, 0xe0, 0x8c, 0xaf, 0x2a, 0xe1, 0xa0, 0xa1, 0x4a, 0xe2, 0x8a, 0x80, 0x01, 0xe3, 0xb0, 0xc0, 0x00, 0x0a, 0x00, 0x00, 0x13, 0xe3, 0xa0, 0xc0, 0x7f, 0xe0, 0x0c, 0xe4, 0x4e, 
+0xe1, 0x8c, 0xc1, 0x0c, 0xe0, 0x0c, 0x43, 0x44, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x0a, 0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe2, 0x80, 0xc0, 0x6c, 0xe7, 0x8c, 0x11, 0x02, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x80, 0xc0, 0x74, 
+0xe7, 0x8c, 0x11, 0x02, 0xe0, 0x2c, 0xe4, 0x97, 0xe2, 0x8c, 0xc0, 0x01, 0xe0, 0x8c, 0x10, 0x01, 0xe2, 0x82, 0x20, 0x01, 0xe3, 0x52, 0x00, 0x02, 0xba, 0xff, 0xff, 0xf2, 0xea, 0x00, 0x00, 0x0c, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x08, 
+0xe3, 0x53, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe2, 0x80, 0xc0, 0x6c, 0xe7, 0x8c, 0x11, 0x02, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x80, 0xc0, 0x74, 0xe7, 0x8c, 0x11, 0x02, 0xe0, 0x21, 0x17, 0x98, 0xe2, 0x82, 0x20, 0x01, 0xe3, 0x52, 0x00, 0x02, 
+0xba, 0xff, 0xff, 0xf4, 0xe2, 0x83, 0x30, 0x01, 0xe3, 0x53, 0x00, 0x02, 0xba, 0xff, 0xff, 0xc1, 0xe8, 0xbd, 0x87, 0xf0, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x0f, 0x4e, 0xeb, 0x00, 0x03, 0x5f, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xff, 0x1e, 0xea, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0xc4, 0xe5, 0x94, 0x00, 0x60, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0x00, 0x01, 0x00, 0x20, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x1c, 0x01, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x01, 0x41, 0xe8, 0xbd, 0x80, 0x10, 
+0xe9, 0x2d, 0x47, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x60, 0x02, 0xe1, 0xa0, 0x70, 0x03, 0xe2, 0x8d, 0x90, 0x20, 0xe8, 0x99, 0x03, 0x00, 0xe3, 0xa0, 0x1e, 0x12, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x01, 0x36, 
+0xe3, 0x59, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9f, 0x11, 0xc8, 0xe3, 0xa0, 0x00, 0x19, 0xeb, 0x00, 0x01, 0x31, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x9f, 0x11, 0xbc, 0xe3, 0xa0, 0x00, 0x19, 0xeb, 0x00, 0x01, 0x2d, 0xe1, 0xa0, 0x10, 0x04, 
+0xe3, 0xa0, 0x00, 0x10, 0xeb, 0x00, 0x01, 0x2a, 0xe3, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x01, 0x27, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0x00, 0x01, 0x24, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0x00, 0x01, 0x21, 0xe1, 0xa0, 0x10, 0x06, 0xe3, 0xa0, 0x00, 0x0d, 0xeb, 0x00, 0x01, 0x1e, 0xe3, 0xa0, 0x10, 0x50, 0xe3, 0xa0, 0x00, 0x07, 0xeb, 0x00, 0x01, 0x1b, 0xe1, 0xa0, 0x10, 0x07, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x18, 
+0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x15, 0xe3, 0x58, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x10, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x00, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x01, 0x0c, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0x09, 0xeb, 0xff, 0xfb, 0x08, 0xe8, 0xbd, 0x87, 0xf0, 0xe9, 0x2d, 0x40, 0x38, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 
+0xe5, 0x9f, 0x11, 0x10, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x01, 0x01, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x94, 0x10, 0x04, 0xeb, 0x00, 0x00, 0xfe, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x00, 0x48, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x00, 0xf5, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x00, 0xf1, 0xe1, 0xa0, 0x10, 0x0d, 
+0xe5, 0x94, 0x00, 0x44, 0xeb, 0xff, 0xfa, 0xfa, 0xe5, 0x94, 0x10, 0x00, 0xe5, 0x9d, 0x00, 0x00, 0xeb, 0x00, 0x00, 0xeb, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x00, 0xe8, 0xe3, 0x55, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x00, 0xe3, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x00, 0xdf, 0xe3, 0x55, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x1a, 0xe5, 0x94, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x00, 0xd7, 0xe3, 0xa0, 0x10, 0x07, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x00, 0xd4, 0xe3, 0xa0, 0x00, 0x05, 0xe5, 0x94, 0x10, 0x20, 
+0xeb, 0x00, 0x00, 0xd1, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0b, 0xe5, 0x94, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x00, 0x40, 0xe5, 0x8d, 0x00, 0x00, 0xea, 0x00, 0x00, 0x02, 
+0xe5, 0x94, 0x00, 0x40, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x00, 0xeb, 0x00, 0x00, 0xc2, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x38, 0x00, 0x01, 0x91, 0x11, 0x00, 0x11, 0x91, 0x11, 
+0x00, 0x00, 0x01, 0xb6, 0xe9, 0x2d, 0x4f, 0xf3, 0xe2, 0x4d, 0xd0, 0x04, 0xe3, 0xa0, 0x06, 0x02, 0xe5, 0x90, 0x00, 0x00, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x05, 0x40, 0x1f, 0xe3, 0xa0, 0x00, 0x01, 0xe0, 0x00, 0xa5, 0x45, 0xe5, 0x9d, 0x00, 0x04, 
+0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x10, 0x0a, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x00, 0xae, 0xe3, 0xa0, 0x06, 0x02, 0xe5, 0x90, 0x00, 0x04, 0xe1, 0xa0, 0x50, 0x00, 0xe5, 0x9d, 0x00, 0x04, 
+0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x5a, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x60, 0xe3, 0xa0, 0x00, 0x3f, 0xe0, 0x00, 0xb7, 0x45, 0xe0, 0x00, 0x9a, 0x45, 0xe2, 0x09, 0x70, 0x03, 0xe1, 0xa0, 0x81, 0x49, 
+0xe5, 0x9d, 0x00, 0x04, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x03, 0xe0, 0x00, 0x00, 0xc4, 0xe2, 0x07, 0x10, 0x03, 0xe1, 0x80, 0x51, 0x01, 0xe3, 0xa0, 0x60, 0x00, 0xea, 0x00, 0x00, 0x03, 
+0xe2, 0x04, 0x00, 0x07, 0xe2, 0x07, 0x10, 0x03, 0xe1, 0x80, 0x51, 0x81, 0xe3, 0xa0, 0x60, 0x01, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x00, 0x9e, 0xe5, 0x9d, 0x00, 0x04, 0xe5, 0x90, 0x00, 0x2c, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x06, 0xe3, 0x54, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x54, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0x00, 0x00, 0x84, 0xe3, 0x54, 0x00, 0x07, 0x0a, 0x00, 0x00, 0x08, 
+0xe3, 0x54, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x54, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x00, 0xe2, 0x68, 0x80, 0x0f, 0xe1, 0xa0, 0x10, 0x08, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0x00, 0x00, 0x89, 0xea, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 
+0xe8, 0xbd, 0x8f, 0xfe, 0xe3, 0x54, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x54, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x14, 0xe3, 0x5b, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x5b, 0x00, 0x3e, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x5b, 0x00, 0x3f, 
+0x1a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x50, 0x01, 0xea, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x50, 0x02, 0xea, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0xa0, 0x50, 0x03, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0x00, 0x00, 0x6d, 0xe3, 0x54, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x54, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x03, 
+0xe5, 0x9d, 0x00, 0x04, 0xe5, 0x90, 0x10, 0x40, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x73, 0xe3, 0x54, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x01, 0xe3, 0x54, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x10, 0x09, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x00, 0x75, 0xe3, 0x56, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x00, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x81, 0x00, 0x00, 0xea, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x10, 0x08, 0xe5, 0x91, 0x00, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xea, 0xff, 0xff, 0xc5, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 
+0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x60, 0x02, 0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0xd4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 
+0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x94, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0xa0, 0x06, 0x02, 0xe5, 0x90, 0x80, 0x00, 0xe3, 0x78, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x07, 0xea, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x90, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x81, 0xf0, 0xea, 0xff, 0xff, 0xf8, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x95, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x10, 0xe1, 0xa0, 0x10, 0x06, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x5e, 0xe5, 0x95, 0x10, 0x00, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x85, 0x00, 0x00, 0xe5, 0x94, 0x00, 0x54, 0xe5, 0x95, 0x10, 0x00, 0xe1, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x11, 
+0xe5, 0x94, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x94, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x70, 0x44, 0xe5, 0x94, 0x00, 0x3c, 0xe1, 0x50, 0x01, 0xc7, 
+0xaa, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x16, 0x02, 0xe5, 0x81, 0x00, 0xa0, 0xe3, 0xa0, 0x00, 0x01, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x00, 0xc8, 0xea, 0xff, 0xff, 0xc8, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 
+0xea, 0xff, 0xff, 0xda, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x92, 0x20, 0x34, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x28, 0x52, 
+0xe5, 0x82, 0x10, 0x40, 0xe5, 0x82, 0x00, 0x3c, 0xe3, 0xa0, 0x20, 0x01, 0xe3, 0xa0, 0x38, 0x52, 0xe5, 0x83, 0x20, 0x38, 0xe1, 0x2f, 0xff, 0x1e, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x92, 0x20, 0x34, 0xe3, 0x52, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0x80, 0x28, 0x01, 0xe3, 0xa0, 0x38, 0x52, 0xe5, 0x83, 0x20, 0x0c, 0xe3, 0xa0, 0x20, 0x01, 0xe5, 0x83, 0x20, 0x04, 0xe1, 0x2f, 0xff, 0x1e, 
+0xe1, 0x80, 0x22, 0x01, 0xe3, 0xa0, 0x38, 0x52, 0xe5, 0x83, 0x20, 0x4c, 0xe3, 0xa0, 0x29, 0x02, 0xe5, 0x83, 0x20, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x92, 0x20, 0x50, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0x2f, 0xff, 0x1e, 0xe1, 0x80, 0x20, 0x81, 0xe3, 0xa0, 0x38, 0x52, 0xe5, 0x83, 0x20, 0x58, 0xe3, 0xa0, 0x20, 0x20, 0xe5, 0x83, 0x20, 0x04, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x28, 0x52, 
+0xe5, 0x92, 0x20, 0x20, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0xff, 0xff, 0xf9, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x4f, 0xf1, 0xe2, 0x4d, 0xd0, 0x10, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x00, 0x1c, 
+0xe5, 0x8d, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x01, 0x20, 0xe3, 0xa0, 0x10, 0x73, 0xeb, 0x00, 0x04, 0x03, 0xe3, 0xa0, 0x10, 0xa0, 0xe0, 0x00, 0x00, 0x91, 0xe5, 0x8d, 0x00, 0x0c, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x01, 0x20, 
+0xe3, 0xa0, 0x10, 0x73, 0xeb, 0x00, 0x03, 0xfc, 0xe3, 0xa0, 0x10, 0x3c, 0xe0, 0x00, 0x00, 0x91, 0xe5, 0x8d, 0x00, 0x08, 0xe5, 0x9d, 0x20, 0x10, 0xe5, 0x92, 0x01, 0x20, 0xe5, 0x92, 0x11, 0x1c, 0xeb, 0x00, 0x03, 0xf5, 0xe1, 0xa0, 0x50, 0x00, 
+0xe5, 0x9d, 0x10, 0x04, 0xe0, 0x00, 0x01, 0x95, 0xe5, 0x8d, 0x00, 0x00, 0xe5, 0x9d, 0x20, 0x10, 0xe5, 0x92, 0x21, 0x1c, 0xe1, 0xa0, 0x11, 0x82, 0xe5, 0x9d, 0x20, 0x10, 0xe5, 0x92, 0x01, 0x20, 0xeb, 0x00, 0x03, 0xeb, 0xe1, 0xa0, 0x70, 0x00, 
+0xe5, 0x9d, 0x10, 0x04, 0xe2, 0x41, 0x10, 0x01, 0xe5, 0x9d, 0x20, 0x08, 0xe0, 0x00, 0x01, 0x92, 0xe5, 0x9d, 0x10, 0x0c, 0xeb, 0x00, 0x03, 0xe4, 0xe2, 0x80, 0x90, 0x01, 0xe1, 0xa0, 0x10, 0x09, 0xe5, 0x9d, 0x00, 0x00, 0xeb, 0x00, 0x03, 0xe0, 
+0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x81, 0x01, 0x10, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x01, 0x10, 0xe1, 0x50, 0x00, 0x07, 0x2a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x20, 0x10, 0xe1, 0xa0, 0x00, 0x07, 0xe5, 0x92, 0x10, 0x54, 0xeb, 0x00, 0x03, 0xd6, 
+0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x81, 0x01, 0x08, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x20, 0x10, 0xe5, 0x92, 0x01, 0x10, 0xe5, 0x92, 0x10, 0x54, 0xeb, 0x00, 0x03, 0xcf, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x81, 0x01, 0x08, 0xe5, 0x9d, 0x10, 0x04, 
+0xe2, 0x51, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x23, 0xe5, 0x9d, 0x20, 0x04, 0xe2, 0x42, 0x10, 0x01, 0xe5, 0x9d, 0x20, 0x10, 0xe5, 0x92, 0x21, 0x10, 0xe5, 0x9d, 0x30, 0x00, 0xe0, 0x43, 0x00, 0x02, 0xeb, 0x00, 0x03, 0xc3, 0xe5, 0x9d, 0x10, 0x10, 
+0xe5, 0x81, 0x01, 0x14, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x01, 0x14, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x01, 0x10, 0xe3, 0xa0, 0x10, 0x03, 0xeb, 0x00, 0x03, 0xb9, 0xe5, 0x9d, 0x10, 0x10, 
+0xe5, 0x81, 0x01, 0x14, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x01, 0x14, 0xe1, 0x50, 0x00, 0x07, 0x2a, 0x00, 0x00, 0x06, 0xe5, 0x9d, 0x20, 0x10, 0xe1, 0xa0, 0x00, 0x07, 0xe5, 0x92, 0x10, 0x54, 0xeb, 0x00, 0x03, 0xaf, 0xe5, 0x9d, 0x10, 0x10, 
+0xe5, 0x81, 0x01, 0x0c, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x20, 0x10, 0xe5, 0x92, 0x01, 0x14, 0xe5, 0x92, 0x10, 0x54, 0xeb, 0x00, 0x03, 0xa8, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x81, 0x01, 0x0c, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x01, 0x20, 
+0xe5, 0x9f, 0x14, 0x5c, 0xe1, 0x50, 0x00, 0x01, 0x2a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x10, 0x24, 0xe0, 0x00, 0x05, 0x91, 0xe5, 0x9f, 0x14, 0x4c, 0xeb, 0x00, 0x01, 0x7f, 0xe2, 0x60, 0x00, 0x18, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x81, 0x01, 0x18, 
+0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x81, 0x01, 0x18, 0xe5, 0x9d, 0x20, 0x10, 0xe1, 0xa0, 0x00, 0x05, 0xe5, 0x92, 0x10, 0x54, 0xeb, 0x00, 0x01, 0x74, 0xe1, 0xa0, 0x80, 0xc0, 0xe1, 0xa0, 0x60, 0xc8, 
+0xe3, 0xa0, 0x40, 0x00, 0xea, 0x00, 0x00, 0x04, 0xe0, 0x46, 0x60, 0x04, 0xe3, 0x56, 0x00, 0x00, 0xca, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x02, 0xe2, 0x84, 0x40, 0x01, 0xe1, 0x54, 0x00, 0x06, 0xba, 0xff, 0xff, 0xf8, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0x54, 0x00, 0x01, 0xda, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x04, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xe1, 0xa0, 0xb0, 0x00, 0xe1, 0xa0, 0x00, 0xc5, 0xe5, 0x9d, 0x10, 0x04, 0xe0, 0x00, 0x00, 0x91, 0xe5, 0x9d, 0x10, 0x10, 
+0xe5, 0x91, 0x10, 0xa8, 0xe0, 0x01, 0x01, 0x95, 0xe0, 0x80, 0x02, 0xa1, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x81, 0x00, 0xac, 0xe1, 0xa0, 0x10, 0x0b, 0xe3, 0xa0, 0x00, 0x78, 0xeb, 0x00, 0x01, 0x56, 0xe3, 0x50, 0x00, 0x01, 0xaa, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x10, 0x0b, 0xe3, 0xa0, 0x00, 0x78, 0xeb, 0x00, 0x01, 0x4f, 0xe3, 0x50, 0x00, 0x1f, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x1f, 0xea, 0x00, 0x00, 0x02, 0xe1, 0xa0, 0x10, 0x0b, 
+0xe3, 0xa0, 0x00, 0x78, 0xeb, 0x00, 0x01, 0x48, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x10, 0xac, 0xe0, 0x00, 0x00, 0x91, 0xe1, 0xa0, 0xa1, 0x80, 0xe3, 0xa0, 0x10, 0x1f, 0xe1, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x03, 0x5f, 0xe1, 0xa0, 0x90, 0x00, 
+0xe3, 0xa0, 0x10, 0x0f, 0xeb, 0x00, 0x03, 0x5c, 0xe1, 0xa0, 0x00, 0xa0, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x81, 0x00, 0xa4, 0xe3, 0xa0, 0x00, 0x09, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x81, 0x00, 0xbc, 0xe3, 0xa0, 0x00, 0x06, 0xe5, 0x9d, 0x10, 0x10, 
+0xe5, 0x81, 0x00, 0xb8, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x01, 0x14, 0xe5, 0x9f, 0x13, 0x18, 0xe0, 0x8f, 0x10, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9d, 0x10, 0x10, 0xe5, 0x91, 0x01, 0x14, 0xe0, 0x80, 0x00, 0x80, 0xe5, 0x9f, 0x13, 0x04, 
+0xe0, 0x8f, 0x10, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x9f, 0x12, 0xf8, 0xe0, 0x8f, 0x10, 0x01, 0xe5, 0x81, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x14, 0xe8, 0xbd, 0x8f, 0xf0, 0xe5, 0x90, 0x10, 0xc4, 0xe5, 0x90, 0x20, 0xb8, 
+0xe1, 0x81, 0x18, 0x02, 0xe5, 0x80, 0x11, 0x28, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x90, 0x20, 0x84, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x42, 0xe5, 0x90, 0x20, 0x04, 0xe3, 0x52, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x52, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x10, 0xea, 0x00, 0x00, 0x07, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x90, 0x21, 0x08, 0xe5, 0x80, 0x20, 0xc4, 0xe5, 0x90, 0x21, 0x10, 0xe5, 0x80, 0x21, 0x00, 0xe5, 0x90, 0x20, 0xb8, 0xe5, 0x80, 0x20, 0xb4, 0xea, 0x00, 0x00, 0x09, 
+0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x90, 0x21, 0x0c, 0xe5, 0x80, 0x20, 0xc4, 0xe5, 0x90, 0x21, 0x14, 0xe5, 0x80, 0x21, 0x00, 0xe5, 0x90, 0x20, 0xbc, 0xe5, 0x80, 0x20, 0xb4, 0xea, 0x00, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x90, 0x20, 0x58, 0xe3, 0x52, 0x00, 0x00, 0xda, 0x00, 0x00, 0x1a, 0xe5, 0x90, 0x20, 0x24, 0xe5, 0x90, 0x31, 0x04, 0xe0, 0x42, 0x10, 0x03, 0xe3, 0x51, 0x00, 0x02, 0xda, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x10, 0x02, 
+0xea, 0x00, 0x00, 0x02, 0xe3, 0x71, 0x00, 0x02, 0xaa, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x10, 0x01, 0xe5, 0x90, 0x21, 0x04, 0xe0, 0x82, 0x20, 0x01, 0xe5, 0x80, 0x20, 0x24, 0xe5, 0x90, 0x20, 0x24, 0xe5, 0x90, 0x30, 0xf4, 0xe1, 0x52, 0x00, 0x03, 
+0xaa, 0x00, 0x00, 0x01, 0xe5, 0x90, 0x20, 0xf4, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x90, 0x20, 0x24, 0xe5, 0x90, 0x30, 0xf0, 0xe1, 0x52, 0x00, 0x03, 0xda, 0x00, 0x00, 0x01, 0xe5, 0x90, 0x20, 0xf0, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x90, 0x20, 0x24, 
+0xe5, 0x80, 0x20, 0x20, 0xe5, 0x90, 0x20, 0x20, 0xe5, 0x80, 0x21, 0x04, 0xe5, 0x90, 0x20, 0xc4, 0xe5, 0x90, 0x30, 0xb4, 0xe1, 0x82, 0x28, 0x03, 0xe3, 0xa0, 0x38, 0x55, 0xe5, 0x83, 0x21, 0x5c, 0xe5, 0x90, 0x20, 0xf4, 0xe5, 0x90, 0x30, 0xf0, 
+0xe1, 0x82, 0x24, 0x03, 0xe3, 0xa0, 0x38, 0x55, 0xe5, 0x83, 0x21, 0x4c, 0xe5, 0x90, 0x20, 0x04, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x80, 0x20, 0xfc, 0xe5, 0x80, 0x20, 0x8c, 0xea, 0x00, 0x00, 0x02, 
+0xe3, 0xa0, 0x20, 0x01, 0xe5, 0x80, 0x20, 0x8c, 0xe5, 0x80, 0x20, 0xfc, 0xe5, 0x90, 0x20, 0x94, 0xe1, 0xa0, 0x24, 0x02, 0xe5, 0x90, 0x30, 0x8c, 0xe1, 0x82, 0x23, 0x83, 0xe5, 0x90, 0x30, 0xe0, 0xe1, 0x82, 0x20, 0x03, 0xe3, 0xa0, 0x38, 0x55, 
+0xe5, 0x83, 0x21, 0x78, 0xe5, 0x90, 0x20, 0xa4, 0xe5, 0x83, 0x21, 0x60, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x90, 0x20, 0xa4, 0xe5, 0x90, 0x30, 0x88, 0xe0, 0x82, 0x20, 0x03, 0xe5, 0x90, 0x31, 0x00, 0xe0, 0x42, 0x10, 0x03, 0xe3, 0x51, 0x00, 0x00, 
+0xaa, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x20, 0x00, 0xea, 0x00, 0x00, 0x00, 0xe1, 0xa0, 0x20, 0x01, 0xe5, 0x80, 0x20, 0xa4, 0xe5, 0x9f, 0x31, 0x3c, 0xe0, 0x8f, 0x30, 0x03, 0xe5, 0x90, 0x20, 0xa4, 0xe5, 0x93, 0x30, 0x00, 0xe1, 0x52, 0x00, 0x03, 
+0xaa, 0x00, 0x00, 0x10, 0xe5, 0x9f, 0x31, 0x28, 0xe0, 0x8f, 0x30, 0x03, 0xe5, 0x90, 0x20, 0xa4, 0xe5, 0x93, 0x30, 0x00, 0xe0, 0x43, 0x20, 0x02, 0xe5, 0x9f, 0x31, 0x18, 0xe0, 0x8f, 0x30, 0x03, 0xe5, 0x93, 0x30, 0x00, 0xe0, 0x82, 0x20, 0x03, 
+0xe5, 0x9f, 0x31, 0x0c, 0xe0, 0x8f, 0x30, 0x03, 0xe5, 0x83, 0x20, 0x00, 0xe5, 0x9f, 0x21, 0x04, 0xe0, 0x8f, 0x20, 0x02, 0xe5, 0x92, 0x20, 0x00, 0xe5, 0x80, 0x20, 0xa4, 0xea, 0x00, 0x00, 0x2f, 0xe5, 0x9f, 0x30, 0xf4, 0xe0, 0x8f, 0x30, 0x03, 
+0xe5, 0x90, 0x20, 0xa4, 0xe5, 0x93, 0x30, 0x00, 0xe1, 0x52, 0x00, 0x03, 0xda, 0x00, 0x00, 0x29, 0xe5, 0x9f, 0x20, 0xe0, 0xe0, 0x8f, 0x20, 0x02, 0xe5, 0x92, 0x20, 0x00, 0xe3, 0x52, 0x00, 0x00, 0xda, 0x00, 0x00, 0x24, 0xe5, 0x9f, 0x30, 0xd0, 
+0xe0, 0x8f, 0x30, 0x03, 0xe5, 0x90, 0x20, 0xa4, 0xe5, 0x93, 0x30, 0x00, 0xe0, 0x42, 0x20, 0x03, 0xe5, 0x9f, 0x30, 0xc0, 0xe0, 0x8f, 0x30, 0x03, 0xe5, 0x93, 0x30, 0x00, 0xe1, 0x52, 0x00, 0x03, 0xaa, 0x00, 0x00, 0x10, 0xe5, 0x9f, 0x30, 0xb0, 
+0xe0, 0x8f, 0x30, 0x03, 0xe5, 0x90, 0x20, 0xa4, 0xe5, 0x93, 0x30, 0x00, 0xe0, 0x42, 0x20, 0x03, 0xe5, 0x9f, 0x30, 0xa0, 0xe0, 0x8f, 0x30, 0x03, 0xe5, 0x93, 0x30, 0x00, 0xe0, 0x43, 0x20, 0x02, 0xe5, 0x9f, 0x30, 0x94, 0xe0, 0x8f, 0x30, 0x03, 
+0xe5, 0x83, 0x20, 0x00, 0xe5, 0x9f, 0x20, 0x8c, 0xe0, 0x8f, 0x20, 0x02, 0xe5, 0x92, 0x20, 0x00, 0xe5, 0x80, 0x20, 0xa4, 0xea, 0x00, 0x00, 0x09, 0xe5, 0x9f, 0x30, 0x7c, 0xe0, 0x8f, 0x30, 0x03, 0xe5, 0x90, 0x20, 0xa4, 0xe5, 0x93, 0x30, 0x00, 
+0xe0, 0x42, 0x20, 0x03, 0xe5, 0x80, 0x20, 0xa4, 0xe3, 0xa0, 0x20, 0x00, 0xe5, 0x9f, 0x30, 0x64, 0xe0, 0x8f, 0x30, 0x03, 0xe5, 0x83, 0x20, 0x00, 0xe3, 0xa0, 0x28, 0x55, 0xe5, 0x92, 0x21, 0x58, 0xe2, 0x02, 0x20, 0x3f, 0xe5, 0x80, 0x20, 0x24, 
+0xe1, 0x2f, 0xff, 0x1e, 0x00, 0x98, 0x96, 0x80, 0x00, 0x0f, 0x42, 0x40, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x0e, 0xe4, 0x00, 0x00, 0x0e, 0xd0, 0x00, 0x00, 0x0d, 0x18, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x0c, 0xe4, 0x00, 0x00, 0x0c, 0xd4, 
+0x00, 0x00, 0x0c, 0xd0, 0x00, 0x00, 0x0c, 0xb8, 0x00, 0x00, 0x0c, 0x9c, 0x00, 0x00, 0x0c, 0x8c, 0x00, 0x00, 0x0c, 0x74, 0x00, 0x00, 0x0c, 0x64, 0x00, 0x00, 0x0c, 0x4c, 0x00, 0x00, 0x0c, 0x3c, 0x00, 0x00, 0x0c, 0x34, 0x00, 0x00, 0x0c, 0x1c, 
+0x00, 0x00, 0x0c, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x01, 0xe2, 0x4d, 0xd0, 0x08, 0xe2, 0x8d, 0x10, 0x04, 0xeb, 0x00, 0x01, 0x3e, 0xe3, 0x50, 0x00, 0x00, 
+0x02, 0x8d, 0xd0, 0x08, 0x08, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x20, 0x00, 0xe5, 0x9d, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x01, 0x21, 0xe2, 0x8d, 0xd0, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x01, 
+0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x09, 0xeb, 0x00, 0x00, 0xdd, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x40, 0x01, 0xe5, 0x2d, 0x30, 0x04, 0xeb, 0x00, 0x00, 0xe4, 
+0xe1, 0xa0, 0x60, 0x00, 0xe0, 0x85, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 0x9a, 0x00, 0x00, 0x0a, 0xe1, 0xa0, 0x10, 0x0d, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x01, 0x22, 0xe1, 0xb0, 0x70, 0x00, 0x03, 0xa0, 0x10, 0x00, 0x03, 0xa0, 0x00, 0x09, 
+0x0b, 0x00, 0x00, 0xcb, 0xe5, 0x9d, 0x00, 0x00, 0xe1, 0x50, 0x00, 0x04, 0x11, 0xa0, 0x50, 0x00, 0xe0, 0x80, 0x40, 0x07, 0xeb, 0x00, 0x00, 0xb0, 0xe2, 0x86, 0x10, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0xa0, 0x70, 0x00, 0xe5, 0x80, 0x50, 0x08, 
+0xe1, 0xa0, 0x00, 0x05, 0xe0, 0x81, 0x60, 0x05, 0xeb, 0x00, 0x00, 0xc8, 0xe1, 0x54, 0x00, 0x06, 0x08, 0xbd, 0x00, 0xf8, 0x04, 0x9d, 0xf0, 0x04, 0xe1, 0xa0, 0x10, 0x06, 0xe0, 0x44, 0x20, 0x06, 0xe5, 0x97, 0x00, 0x08, 0xeb, 0x00, 0x00, 0xf5, 
+0xe8, 0xbd, 0x00, 0xf8, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x00, 0x9d, 0xe1, 0xa0, 0x10, 0x04, 0xe5, 0x90, 0x00, 0x08, 0xeb, 0x00, 0x00, 0xc0, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x20, 0x00, 
+0xe2, 0x51, 0x10, 0x20, 0xe9, 0x2d, 0x40, 0x00, 0xe1, 0xa0, 0xe0, 0x02, 0xe1, 0xa0, 0x30, 0x02, 0xe1, 0xa0, 0xc0, 0x02, 0x28, 0xa0, 0x50, 0x0c, 0x28, 0xa0, 0x50, 0x0c, 0x22, 0x51, 0x10, 0x20, 0x2a, 0xff, 0xff, 0xfb, 0xe1, 0xb0, 0x1e, 0x01, 
+0x28, 0xa0, 0x50, 0x0c, 0x48, 0xa0, 0x00, 0x0c, 0xe1, 0xb0, 0x11, 0x01, 0xe8, 0xbd, 0x40, 0x00, 0x24, 0x80, 0x20, 0x04, 0x01, 0xa0, 0xf0, 0x0e, 0x44, 0xc0, 0x20, 0x01, 0x44, 0xc0, 0x20, 0x01, 0xe3, 0x11, 0x01, 0x01, 0x14, 0xc0, 0x20, 0x01, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x90, 0xc0, 0x01, 0x4a, 0x00, 0x00, 0x4c, 0xe0, 0x71, 0xc0, 0xa0, 0x3a, 0x00, 0x00, 0x44, 0xe0, 0x71, 0xc2, 0x20, 0xe3, 0xa0, 0x20, 0x00, 0x3a, 0x00, 0x00, 0x34, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0x00, 0x00, 0x26, 
+0xe0, 0x71, 0xc6, 0x20, 0x3a, 0x00, 0x00, 0x17, 0xe0, 0x71, 0xc8, 0x20, 0x3a, 0x00, 0x00, 0x09, 0xe1, 0xa0, 0x14, 0x01, 0xe0, 0x71, 0xc8, 0x20, 0xe3, 0x82, 0x24, 0xff, 0x23, 0x82, 0x28, 0xff, 0x21, 0xa0, 0x14, 0x01, 0xe0, 0x71, 0xc6, 0x20, 
+0x3a, 0x00, 0x00, 0x0e, 0xe2, 0x71, 0xc0, 0x00, 0x2a, 0x00, 0x00, 0x89, 0x21, 0xa0, 0x14, 0x21, 0xe0, 0x71, 0xc7, 0xa0, 0x20, 0x40, 0x07, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc7, 0x20, 0x20, 0x40, 0x07, 0x01, 0xe0, 0xa2, 0x20, 0x02, 
+0xe0, 0x71, 0xc6, 0xa0, 0x20, 0x40, 0x06, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc6, 0x20, 0x20, 0x40, 0x06, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc5, 0xa0, 0x20, 0x40, 0x05, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc5, 0x20, 
+0x20, 0x40, 0x05, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc4, 0xa0, 0x20, 0x40, 0x04, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc4, 0x20, 0x20, 0x40, 0x04, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0x2a, 0xff, 0xff, 0xe5, 0xe0, 0x71, 0xc3, 0xa0, 
+0x20, 0x40, 0x03, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc3, 0x20, 0x20, 0x40, 0x03, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0xa0, 0x20, 0x40, 0x02, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0x20, 0x20, 0x40, 0x02, 0x01, 
+0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0xa0, 0x20, 0x40, 0x01, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0x20, 0x20, 0x40, 0x01, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0xe0, 0x71, 0xc0, 0xa0, 0x20, 0x40, 0x00, 0x81, 0xe0, 0xa2, 0x20, 0x02, 
+0xe0, 0x50, 0x10, 0x01, 0x31, 0xa0, 0x10, 0x00, 0xe0, 0xa2, 0x00, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe0, 0x50, 0x10, 0x01, 0x23, 0xa0, 0x00, 0x01, 0x21, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe2, 0x11, 0x21, 0x02, 0x42, 0x61, 0x10, 0x00, 0xe0, 0x32, 0x30, 0x40, 0x22, 0x60, 0x00, 0x00, 0xe0, 0x71, 0xc2, 0x20, 0x3a, 0x00, 0x00, 0x1d, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0x00, 0x00, 0x0f, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 
+0xe3, 0x82, 0x23, 0x3f, 0x3a, 0x00, 0x00, 0x0b, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x26, 0x3f, 0x3a, 0x00, 0x00, 0x07, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x29, 0x3f, 0x23, 0x82, 0x2c, 0x3f, 
+0x21, 0xa0, 0x13, 0x01, 0xe2, 0x71, 0xc0, 0x00, 0x2a, 0x00, 0x00, 0x39, 0x21, 0xa0, 0x13, 0x21, 0xe0, 0x71, 0xc3, 0xa0, 0x20, 0x40, 0x03, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc3, 0x20, 0x20, 0x40, 0x03, 0x01, 0xe0, 0xa2, 0x20, 0x02, 
+0xe0, 0x71, 0xc2, 0xa0, 0x20, 0x40, 0x02, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0x20, 0x20, 0x40, 0x02, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0xa0, 0x20, 0x40, 0x01, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0x20, 
+0x20, 0x40, 0x01, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0x2a, 0xff, 0xff, 0xeb, 0xe0, 0x71, 0xc0, 0xa0, 0x20, 0x40, 0x00, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x50, 0x10, 0x01, 0x31, 0xa0, 0x10, 0x00, 0xe0, 0xa2, 0x00, 0x02, 0xe1, 0xb0, 0x3f, 0xc3, 
+0x42, 0x60, 0x00, 0x00, 0x22, 0x61, 0x10, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xe5, 0x9f, 0x00, 0x04, 0xe0, 0x8f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x08, 0x24, 0xeb, 0x00, 0x01, 0x2d, 0xeb, 0x00, 0x00, 0xab, 0xe9, 0x2d, 0x00, 0x03, 
+0xeb, 0x00, 0x01, 0x2b, 0xe8, 0xbd, 0x00, 0x03, 0xeb, 0x00, 0x00, 0xe6, 0xe9, 0x2d, 0x00, 0x0f, 0xeb, 0x00, 0x01, 0x2a, 0xe8, 0xbd, 0x00, 0x0f, 0xeb, 0xff, 0xf6, 0xe4, 0xea, 0x00, 0x00, 0x80, 0xe9, 0x2d, 0x40, 0x01, 0xeb, 0x00, 0x01, 0x28, 
+0xeb, 0x00, 0x01, 0x1a, 0xe8, 0xbd, 0x40, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x55, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x85, 0xe3, 0x50, 0x00, 0x00, 0x08, 0xbd, 0x80, 0x10, 0xe8, 0xbd, 0x40, 0x10, 
+0xea, 0x00, 0x00, 0x4f, 0xea, 0x00, 0x00, 0x54, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x04, 0xe5, 0x80, 0x00, 0x08, 0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xa0, 0x00, 0x10, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x00, 0xe2, 0x81, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x08, 0x33, 0xa0, 0x00, 0x08, 0xe2, 0x80, 0x00, 0x07, 0xe3, 0xc0, 0x40, 0x07, 0xe2, 0x41, 0x00, 0x01, 0xe1, 0x54, 0x00, 0x00, 
+0x9a, 0x00, 0x00, 0x1f, 0xe5, 0x95, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x16, 0xe5, 0x90, 0x20, 0x00, 0xe1, 0x52, 0x00, 0x04, 0x3a, 0x00, 0x00, 0x0f, 0xe5, 0x90, 0x20, 0x00, 0xe2, 0x84, 0x30, 0x08, 
+0xe1, 0x52, 0x00, 0x03, 0x35, 0x90, 0x20, 0x04, 0x35, 0x81, 0x20, 0x04, 0x3a, 0x00, 0x00, 0x07, 0xe5, 0x90, 0x30, 0x04, 0xe0, 0x80, 0x20, 0x04, 0xe5, 0x82, 0x30, 0x04, 0xe5, 0x90, 0x30, 0x00, 0xe0, 0x43, 0x30, 0x04, 0xe5, 0x82, 0x30, 0x00, 
+0xe5, 0x81, 0x20, 0x04, 0xe5, 0x80, 0x40, 0x00, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xe8, 0xe1, 0xa0, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xfe, 0xd5, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xdf, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xeb, 0x00, 0x00, 0x42, 0xe1, 0xa0, 0xc0, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe5, 0x90, 0x30, 0x04, 0xea, 0x00, 0x00, 0x01, 
+0xe1, 0xa0, 0xc0, 0x03, 0xe5, 0x93, 0x30, 0x04, 0xe3, 0x53, 0x00, 0x00, 0x11, 0x53, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x9c, 0x30, 0x00, 0xe0, 0x83, 0x30, 0x0c, 0xe1, 0x53, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x30, 0x01, 
+0xe2, 0x81, 0x10, 0x03, 0xe3, 0xc1, 0x10, 0x07, 0xe2, 0x81, 0x10, 0x04, 0xe0, 0x41, 0x30, 0x03, 0xe0, 0x42, 0x20, 0x03, 0xe4, 0x81, 0x20, 0x04, 0xeb, 0x00, 0x00, 0x0c, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x6a, 
+0xe8, 0xbd, 0x80, 0x10, 0xe5, 0x9f, 0x10, 0x0c, 0xe3, 0xa0, 0x00, 0x18, 0xef, 0x12, 0x34, 0x56, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x03, 0x2c, 0x00, 0x02, 0x00, 0x26, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x02, 0xea, 0xff, 0xff, 0xa0, 
+0xe2, 0x41, 0x10, 0x04, 0xe1, 0xa0, 0x20, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x11, 0x50, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xfa, 0xe5, 0x92, 0x30, 0x00, 0xe0, 0x83, 0xc0, 0x02, 0xe1, 0x5c, 0x00, 0x01, 0x15, 0x82, 0x10, 0x04, 
+0x1a, 0x00, 0x00, 0x03, 0xe5, 0x91, 0x10, 0x00, 0xe0, 0x83, 0x10, 0x01, 0xe5, 0x82, 0x10, 0x00, 0xe1, 0xa0, 0x10, 0x02, 0xe5, 0x91, 0x20, 0x00, 0xe0, 0x82, 0x30, 0x01, 0xe1, 0x53, 0x00, 0x00, 0x15, 0x81, 0x00, 0x04, 0x11, 0xa0, 0xf0, 0x0e, 
+0xe5, 0x90, 0x30, 0x04, 0xe5, 0x81, 0x30, 0x04, 0xe5, 0x90, 0x00, 0x00, 0xe0, 0x82, 0x00, 0x00, 0xe5, 0x81, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xeb, 0x00, 0x00, 0x05, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x79, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x10, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x7b, 0xeb, 0x00, 0x00, 0x91, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0xce, 
+0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0x70, 0x00, 0x01, 0xe1, 0xa0, 0x20, 0x00, 0x1a, 0x00, 0x00, 0x03, 
+0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x91, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0x72, 0x00, 0x03, 0x11, 0xa0, 0x10, 0x05, 0x11, 0xa0, 0x00, 0x04, 0x11, 0xa0, 0xe0, 0x0f, 0x11, 0xa0, 0xf0, 0x02, 0xe3, 0xa0, 0x00, 0x00, 
+0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x50, 0x0e, 0xeb, 0xff, 0xff, 0x4b, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xc0, 0x00, 0x07, 0xe1, 0xa0, 0x10, 0x0d, 0xe2, 0x80, 0xd0, 0x60, 0xe1, 0xa0, 0xe0, 0x05, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x30, 0x0a, 
+0xeb, 0x00, 0x00, 0xe7, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0xb0, 0x00, 0xe8, 0xbd, 0x40, 0x10, 0xe3, 0xc1, 0xd0, 0x07, 0xe1, 0xa0, 0xc0, 0x04, 0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 
+0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe9, 0x2d, 0x40, 0x13, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x81, 0x10, 0x40, 0xe0, 0x80, 0x20, 0x01, 0xe2, 0x82, 0x2e, 0x11, 0xe5, 0x84, 0x20, 0x1c, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x10, 0x18, 0xe5, 0x84, 0x00, 0x10, 0xe8, 0xbd, 0x40, 0x13, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x00, 0x14, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe9, 0x2d, 0x00, 0x03, 0xeb, 0xff, 0xff, 0x26, 
+0xe1, 0xa0, 0x40, 0x00, 0xe8, 0xbd, 0x00, 0x03, 0xe5, 0x94, 0x20, 0x14, 0xe5, 0x94, 0x30, 0x1c, 0xe0, 0x82, 0xe0, 0x00, 0xe0, 0x4d, 0x30, 0x03, 0xe1, 0x5e, 0x00, 0x03, 0xe5, 0x81, 0x20, 0x00, 0x8a, 0x00, 0x00, 0x0a, 0xe0, 0x93, 0x30, 0x0e, 
+0xe2, 0x8e, 0x1a, 0x01, 0xe2, 0x81, 0x10, 0x07, 0xe1, 0xa0, 0x30, 0x63, 0xe3, 0xc3, 0x30, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0x51, 0x00, 0x03, 0x81, 0xa0, 0x10, 0x03, 0xe0, 0x41, 0x00, 0x02, 0xe5, 0x84, 0x10, 0x14, 0xe8, 0xbd, 0x80, 0x10, 
+0xe1, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x43, 0xc0, 0xe9, 0x2d, 0x00, 0x3e, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x00, 0xbc, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x8d, 0x40, 0x00, 0xe5, 0x8d, 0x50, 0x04, 0xeb, 0xff, 0xff, 0x29, 0xe5, 0x8d, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xf5, 0xf1, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe8, 0x9d, 0x00, 0x03, 0xe1, 0xa0, 0x60, 0x02, 
+0xe1, 0xa0, 0x70, 0x03, 0xeb, 0xff, 0xfe, 0x35, 0xeb, 0xff, 0xfe, 0x1e, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x80, 0x00, 0xeb, 0xff, 0xfe, 0xf5, 0xe1, 0xa0, 0x90, 0x00, 
+0xe5, 0x80, 0x80, 0x20, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x80, 0x10, 0x01, 0xe5, 0x89, 0x10, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x28, 
+0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x0c, 0xe1, 0xa0, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 
+0xe1, 0xa0, 0x20, 0x06, 0xe1, 0xa0, 0x30, 0x07, 0xe8, 0xbd, 0x01, 0xf0, 0xe8, 0xbd, 0x82, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xeb, 0xff, 0xfd, 0xef, 0xe8, 0xbd, 0x80, 0x10, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xe0, 0x00, 0x00, 0xe3, 0xe0, 0x10, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x55, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0xa0, 0xf0, 0x0e, 0xe2, 0x40, 0x20, 0x01, 
+0xe9, 0x2d, 0x40, 0x70, 0xe3, 0x52, 0x00, 0x0e, 0x22, 0x8f, 0x50, 0xc0, 0xe2, 0x8f, 0x40, 0xb8, 0x2a, 0x00, 0x00, 0x1c, 0xe3, 0xa0, 0x20, 0x17, 0xe5, 0x9f, 0x30, 0xc0, 0xe0, 0x02, 0x02, 0x90, 0xe0, 0x8f, 0x30, 0x03, 0xe3, 0x50, 0x00, 0x02, 
+0xe0, 0x82, 0x20, 0x03, 0xe2, 0x42, 0x50, 0x17, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x03, 0x01, 0x12, 0x8f, 0x40, 0xa4, 0x1a, 0x00, 0x00, 0x11, 0xe3, 0x11, 0x03, 0x82, 0x12, 0x8f, 0x40, 0xac, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x02, 0x01, 
+0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0x11, 0x02, 0x02, 0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0x11, 0x01, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0xea, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x08, 0x01, 0xa0, 0x40, 0x01, 
+0x0a, 0x00, 0x00, 0x02, 0xe3, 0x50, 0x00, 0x09, 0x03, 0x51, 0x00, 0x01, 0x02, 0x8f, 0x50, 0xa4, 0xe3, 0xa0, 0x00, 0x0a, 0xea, 0x00, 0x00, 0x00, 0xe2, 0x85, 0x50, 0x01, 0xeb, 0x00, 0x00, 0x2c, 0xe5, 0xd5, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0xff, 0xff, 0xfa, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x84, 0x40, 0x01, 0xeb, 0x00, 0x00, 0x26, 0xe5, 0xd4, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x00, 0x21, 0xe3, 0xa0, 0x00, 0x01, 
+0xe8, 0xbd, 0x80, 0x70, 0x00, 0x00, 0x00, 0x00, 0x6e, 0x6b, 0x6e, 0x55, 0x20, 0x6e, 0x77, 0x6f, 0x6e, 0x67, 0x69, 0x73, 0x00, 0x00, 0x6c, 0x61, 0x00, 0x00, 0x01, 0xc4, 0x61, 0x76, 0x6e, 0x49, 0x20, 0x64, 0x69, 0x6c, 0x72, 0x65, 0x70, 0x4f, 
+0x6f, 0x69, 0x74, 0x61, 0x00, 0x00, 0x00, 0x6e, 0x69, 0x76, 0x69, 0x44, 0x42, 0x20, 0x65, 0x64, 0x65, 0x5a, 0x20, 0x79, 0x00, 0x00, 0x6f, 0x72, 0x72, 0x65, 0x76, 0x4f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x65, 0x64, 0x6e, 0x55, 
+0x6f, 0x6c, 0x66, 0x72, 0x00, 0x00, 0x00, 0x77, 0x78, 0x65, 0x6e, 0x49, 0x20, 0x74, 0x63, 0x61, 0x75, 0x73, 0x65, 0x52, 0x00, 0x00, 0x74, 0x6c, 0x65, 0x48, 0x20, 0x3a, 0x6d, 0x20, 0x70, 0x61, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x63, 0x20, 0x79, 
+0x70, 0x75, 0x72, 0x72, 0x00, 0x64, 0x65, 0x74, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x08, 0xe1, 0xa0, 0x10, 0x0d, 0xe5, 0x8d, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xef, 0x12, 0x34, 0x56, 0xe8, 0xbd, 0x90, 0x00, 0xe9, 0x2d, 0x40, 0x10, 
+0xeb, 0xff, 0xfe, 0x67, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x10, 0xe0, 0x71, 0xc2, 0x20, 0xe3, 0xa0, 0x20, 0x00, 0x3a, 0xff, 0xfe, 0x1a, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0xff, 0xfe, 0x0c, 0xe0, 0x71, 0xc6, 0x20, 0x3a, 0xff, 0xfd, 0xfd, 
+0xe0, 0x71, 0xc8, 0x20, 0x3a, 0xff, 0xfd, 0xef, 0xea, 0xff, 0xfd, 0xe4, 0xe3, 0xa0, 0x0a, 0x13, 0xe3, 0x21, 0xf0, 0xd1, 0xe2, 0x40, 0xd0, 0x00, 0xe3, 0x21, 0xf0, 0xd2, 0xe2, 0x40, 0xdc, 0x01, 0xe3, 0x21, 0xf0, 0xd7, 0xe2, 0x40, 0xdc, 0x02, 
+0xe3, 0x21, 0xf0, 0xdb, 0xe2, 0x40, 0xdc, 0x03, 0xe3, 0x21, 0xf0, 0xd3, 0xe2, 0x40, 0x1b, 0x01, 0xe5, 0x9f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x2d, 0xcc, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0xff, 0xff, 0xe0, 
+0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0x6f, 0x6e, 0x62, 0x41, 0x6c, 0x61, 0x6d, 0x72, 0x72, 0x65, 0x74, 0x20, 0x61, 0x6e, 0x69, 0x6d, 0x6e, 0x6f, 0x69, 0x74, 0x41, 0x00, 0x00, 0x00, 0x68, 0x74, 0x69, 0x72, 
+0x69, 0x74, 0x65, 0x6d, 0x78, 0x65, 0x20, 0x63, 0x74, 0x70, 0x65, 0x63, 0x3a, 0x6e, 0x6f, 0x69, 0x6c, 0x49, 0x00, 0x20, 0x61, 0x67, 0x65, 0x6c, 0x6e, 0x69, 0x20, 0x6c, 0x75, 0x72, 0x74, 0x73, 0x6f, 0x69, 0x74, 0x63, 0x00, 0x00, 0x00, 0x6e, 
+0x74, 0x6e, 0x49, 0x00, 0x75, 0x72, 0x72, 0x65, 0x72, 0x20, 0x74, 0x70, 0x69, 0x65, 0x63, 0x65, 0x00, 0x64, 0x65, 0x76, 0x00, 0x00, 0x00, 0x00, 0x65, 0x6c, 0x6c, 0x49, 0x20, 0x6c, 0x61, 0x67, 0x72, 0x64, 0x64, 0x61, 0x00, 0x73, 0x73, 0x65, 
+0x00, 0x00, 0x00, 0x00, 0x54, 0x00, 0x00, 0x00, 0x69, 0x6d, 0x72, 0x65, 0x69, 0x74, 0x61, 0x6e, 0x72, 0x20, 0x6e, 0x6f, 0x65, 0x75, 0x71, 0x65, 0x00, 0x00, 0x74, 0x73, 0x74, 0x53, 0x00, 0x00, 0x20, 0x6b, 0x63, 0x61, 0x72, 0x65, 0x76, 0x6f, 
+0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x65, 0x52, 0x00, 0x63, 0x65, 0x72, 0x69, 0x63, 0x20, 0x3a, 0x74, 0x74, 0x27, 0x6e, 0x61, 0x65, 0x70, 0x6f, 0x20, 0x00, 0x20, 0x3a, 0x6e, 0x20, 0x74, 0x75, 0x4f, 
+0x68, 0x20, 0x66, 0x6f, 0x20, 0x70, 0x61, 0x65, 0x6f, 0x6d, 0x65, 0x6d, 0x00, 0x00, 0x79, 0x72, 0x55, 0x00, 0x00, 0x00, 0x2d, 0x72, 0x65, 0x73, 0x69, 0x66, 0x65, 0x64, 0x20, 0x64, 0x65, 0x6e, 0x6e, 0x67, 0x69, 0x73, 0x31, 0x20, 0x6c, 0x61, 
+0x73, 0x55, 0x00, 0x00, 0x64, 0x2d, 0x72, 0x65, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x20, 0x64, 0x65, 0x61, 0x6e, 0x67, 0x69, 0x00, 0x32, 0x20, 0x6c, 0x72, 0x75, 0x50, 0x00, 0x69, 0x76, 0x20, 0x65, 0x61, 0x75, 0x74, 0x72, 0x6e, 0x66, 0x20, 0x6c, 
+0x6c, 0x61, 0x63, 0x20, 0x00, 0x64, 0x65, 0x6c, 0x20, 0x2b, 0x2b, 0x43, 0x72, 0x62, 0x69, 0x6c, 0x20, 0x79, 0x72, 0x61, 0x65, 0x63, 0x78, 0x65, 0x6f, 0x69, 0x74, 0x70, 0x4f, 0x00, 0x00, 0x6e, 0x6f, 0x20, 0x74, 0x75, 0x65, 0x68, 0x20, 0x66, 
+0x00, 0x00, 0x70, 0x61, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c-mfc.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c-mfc.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c-mfc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c-mfc.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,617 @@
+/*
+ * drivers/media/video/samsung/mfc40/s3c-mfc.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/fs.h>
+#include <linux/mm.h>
+#include <linux/interrupt.h>
+#include <linux/miscdevice.h>
+#include <linux/platform_device.h>
+#include <linux/wait.h>
+#include <linux/mutex.h>
+#include <linux/slab.h>
+
+#include <asm/io.h>
+#include <asm/uaccess.h>
+
+#include <plat/media.h>
+
+#include "s3c_mfc_interface.h"
+#include "s3c_mfc_common.h"
+#include "s3c_mfc_logmsg.h"
+#include "s3c_mfc_opr.h"
+#include "s3c_mfc_intr.h"
+#include "s3c_mfc_memory.h"
+#include "s3c_mfc_buffer_manager.h"
+
+int isMFCRunning = 0;
+
+static struct resource	*s3c_mfc_mem;
+void __iomem		*s3c_mfc_sfr_virt_base;
+volatile unsigned char	*s3c_mfc_virt_fw_buf= NULL;
+unsigned int  		s3c_mfc_int_type = 0;
+
+static struct mutex	s3c_mfc_mutex;
+
+dma_addr_t		s3c_mfc_phys_data_buf;
+unsigned char		*s3c_mfc_virt_data_buf;
+
+DECLARE_WAIT_QUEUE_HEAD(s3c_mfc_wait_queue);
+
+static int s3c_mfc_open(struct inode *inode, struct file *file)
+{
+	s3c_mfc_inst_ctx *MfcCtx;
+	int ret;
+
+	mutex_lock(&s3c_mfc_mutex);
+
+	MfcCtx = (s3c_mfc_inst_ctx *) kmalloc(sizeof(s3c_mfc_inst_ctx), GFP_KERNEL);
+	if (MfcCtx == NULL) {
+		mfc_err("MFCINST_MEMORY_ALLOC_FAIL\n");
+		ret = -ENOMEM;
+		goto out_open;
+	}
+	memset(MfcCtx, 0, sizeof(s3c_mfc_inst_ctx));
+
+	s3c_mfc_init_hw();
+
+	MfcCtx->InstNo = s3c_mfc_get_inst_no();
+	if (MfcCtx->InstNo < 0) {
+		kfree(MfcCtx);
+		mfc_err("MFCINST_INST_NUM_EXCEEDED\n");
+		ret = -EPERM;
+		goto out_open;
+	}
+
+	if (s3c_mfc_set_state(MfcCtx, MFCINST_STATE_OPENED) == 0) {
+		mfc_err("MFCINST_ERR_STATE_INVALID\n");
+		kfree(MfcCtx);
+		ret = -ENODEV;
+		goto out_open;
+	}
+
+	MfcCtx->extraDPB = MFC_MAX_EXTRA_DPB;
+	MfcCtx->FrameType = MFC_RET_FRAME_NOT_SET;
+
+	file->private_data = (s3c_mfc_inst_ctx *)MfcCtx;
+	ret = 0;
+
+out_open:
+	mutex_unlock(&s3c_mfc_mutex);
+	return ret;
+}
+
+static int s3c_mfc_release(struct inode *inode, struct file *file)
+{
+	s3c_mfc_inst_ctx *MfcCtx;
+	int ret;
+
+	mfc_debug("MFC Release..\n");
+	mutex_lock(&s3c_mfc_mutex);
+
+	MfcCtx = (s3c_mfc_inst_ctx *)file->private_data;
+	if (MfcCtx == NULL) {
+		mfc_err("MFCINST_ERR_INVALID_PARAM\n");
+		ret = -EIO;
+		goto out_release;
+	}
+
+	s3c_mfc_merge_frag(MfcCtx->InstNo);
+	
+	s3c_mfc_return_inst_no(MfcCtx->InstNo);
+	kfree(MfcCtx);
+
+	ret = 0;
+
+out_release:
+	mutex_unlock(&s3c_mfc_mutex);
+	return ret;
+}
+
+static int s3c_mfc_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
+{
+	int 			ret, ex_ret;
+	int 			frameBufSize;
+	int			frame_size;
+	s3c_mfc_inst_ctx	*MfcCtx = NULL;
+	s3c_mfc_common_args	InParm;
+	s3c_mfc_args		local_param;
+	
+
+	mutex_lock(&s3c_mfc_mutex);
+
+	ret = copy_from_user(&InParm, (s3c_mfc_common_args *)arg, sizeof(s3c_mfc_common_args));
+	if (ret < 0) {
+		mfc_err("Inparm copy error\n");
+		ret = -EIO;
+		InParm.ret_code = MFCINST_ERR_INVALID_PARAM;
+		goto out_ioctl;
+	}
+
+	MfcCtx = (s3c_mfc_inst_ctx *)file->private_data;
+	mutex_unlock(&s3c_mfc_mutex);
+	
+	switch (cmd) {
+	case IOCTL_MFC_ENC_INIT:
+		mutex_lock(&s3c_mfc_mutex);
+		if (!s3c_mfc_set_state(MfcCtx, MFCINST_STATE_ENC_INITIALIZE)) {
+			mfc_err("MFCINST_ERR_STATE_INVALID\n");
+			InParm.ret_code = MFCINST_ERR_STATE_INVALID;
+			ret = -EINVAL;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		InParm.ret_code = s3c_mfc_init_encode(MfcCtx, &(InParm.args));
+		mfc_debug("InParm->ret_code : %d\n", InParm.ret_code);
+		ret = InParm.ret_code;
+		mutex_unlock(&s3c_mfc_mutex);
+		break;
+
+	case IOCTL_MFC_ENC_EXE:
+		mutex_lock(&s3c_mfc_mutex);
+		if (!s3c_mfc_set_state(MfcCtx, MFCINST_STATE_ENC_EXE)) {
+			mfc_err("MFCINST_ERR_STATE_INVALID\n");
+			InParm.ret_code = MFCINST_ERR_STATE_INVALID;
+			ret = -EINVAL;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		InParm.ret_code = s3c_mfc_exe_encode(MfcCtx, &(InParm.args));
+		mfc_debug("InParm->ret_code : %d\n", InParm.ret_code);
+		ret = InParm.ret_code;
+		mutex_unlock(&s3c_mfc_mutex);
+		break;
+
+	case IOCTL_MFC_DEC_INIT:
+		mutex_lock(&s3c_mfc_mutex);
+		mfc_debug("IOCTL_MFC_DEC_INIT\n");
+		if (!s3c_mfc_set_state(MfcCtx, MFCINST_STATE_DEC_INITIALIZE)) {
+			mfc_err("MFCINST_ERR_STATE_INVALID\n");
+			InParm.ret_code = MFCINST_ERR_STATE_INVALID;
+			ret = -EINVAL;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		memset(&local_param, 0, sizeof(local_param));
+
+		local_param.dec_init.in_codec_type = InParm.args.dec_super_init.in_codec_type;
+		local_param.dec_init.in_strm_size = InParm.args.dec_super_init.in_strm_size;		
+		local_param.dec_init.in_strm_buf = InParm.args.dec_super_init.in_strm_buf;
+		local_param.dec_init.in_packed_PB = InParm.args.dec_super_init.in_packed_PB;
+
+		/* MFC decode init */
+		InParm.ret_code = s3c_mfc_init_decode(MfcCtx, &local_param);
+		if (InParm.ret_code < 0) {
+			ret = InParm.ret_code;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		InParm.args.dec_super_init.out_img_width = local_param.dec_init.out_img_width;
+		InParm.args.dec_super_init.out_img_height = local_param.dec_init.out_img_height;
+		InParm.args.dec_super_init.out_buf_width = local_param.dec_init.out_buf_width;
+		InParm.args.dec_super_init.out_buf_height = local_param.dec_init.out_buf_height;
+		InParm.args.dec_super_init.out_dpb_cnt = local_param.dec_init.out_dpb_cnt;
+		if (local_param.dec_init.out_dpb_cnt <=0 ) {
+			mfc_err("MFC out_dpb_cnt error\n");
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		frame_size = (local_param.dec_init.out_buf_width * 
+				local_param.dec_init.out_buf_height * 3) >> 1;
+		frameBufSize = local_param.dec_init.out_dpb_cnt * frame_size;
+		InParm.args.dec_super_init.out_frame_buf_size = frameBufSize;
+		
+		memset(&local_param, 0, sizeof(local_param));
+		local_param.mem_alloc.buff_size = (frameBufSize + 63) / 64 * 64;
+		local_param.mem_alloc.cached_mapped_addr = InParm.args.dec_super_init.in_cached_mapped_addr;
+		local_param.mem_alloc.non_cached_mapped_addr = InParm.args.dec_super_init.in_non_cached_mapped_addr;
+		local_param.mem_alloc.cache_flag = InParm.args.dec_super_init.in_cache_flag;
+
+		/* mfc yuv buffer allocation */
+		InParm.ret_code = s3c_mfc_get_virt_addr(MfcCtx, &local_param);
+		if (InParm.ret_code < 0) {
+			ret = InParm.ret_code;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		InParm.args.dec_super_init.out_u_addr = local_param.mem_alloc.out_addr;
+
+		memset(&local_param, 0, sizeof(local_param));
+
+		/* get physical yuv buffer address */
+		local_param.get_phys_addr.u_addr = InParm.args.dec_super_init.out_u_addr;
+		InParm.ret_code = s3c_mfc_get_phys_addr(MfcCtx, &local_param);
+		if (InParm.ret_code < 0) {
+			ret = InParm.ret_code;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		InParm.args.dec_super_init.out_p_addr = local_param.get_phys_addr.p_addr;
+
+		if (!s3c_mfc_set_state(MfcCtx, MFCINST_STATE_DEC_SEQ_START)) {
+			mfc_err("MFCINST_STATE_DEC_SEQ_START\n");
+			InParm.ret_code = MFCINST_ERR_STATE_INVALID;
+			ret = -EINVAL;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		memset(&local_param, 0, sizeof(local_param));
+
+		local_param.dec_seq_start.in_codec_type = InParm.args.dec_super_init.in_codec_type;
+		local_param.dec_seq_start.in_frm_buf = InParm.args.dec_super_init.out_p_addr;
+		local_param.dec_seq_start.in_frm_size = frameBufSize;
+		local_param.dec_seq_start.in_strm_buf = InParm.args.dec_super_init.in_strm_buf;
+		local_param.dec_seq_start.in_strm_size = InParm.args.dec_super_init.in_strm_size;
+		
+		InParm.ret_code = s3c_mfc_start_decode_seq(MfcCtx, &local_param);
+		if (InParm.ret_code < 0) {
+			ret = InParm.ret_code;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+		
+		mutex_unlock(&s3c_mfc_mutex);
+		
+		
+		/*
+		 * !!! CAUTION !!!
+		 * Don't release mutex at the end of IOCTL_MFC_DEC_INIT. and, 
+		 * don't lock mutex at the begining of IOCTL_MFC_DEC_SEQ_START
+		 * because IOCTL_MFC_DEC_INIT and IOCTL_MFC_DEC_SEQ_START 
+		 * are atomic operation. 
+		 * other operation is not allowed between them.
+		 */
+
+		break;
+
+	case IOCTL_MFC_DEC_SEQ_START:
+		mfc_debug("IOCTL_MFC_DEC_SEQ_START\n");
+		if (!s3c_mfc_set_state(MfcCtx, MFCINST_STATE_DEC_SEQ_START)) {
+			mfc_err("MFCINST_STATE_DEC_SEQ_START\n");
+			InParm.ret_code = MFCINST_ERR_STATE_INVALID;
+			ret = -EINVAL;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		InParm.ret_code = s3c_mfc_start_decode_seq(MfcCtx, &(InParm.args));
+		mutex_unlock(&s3c_mfc_mutex);
+		break;	
+
+	case IOCTL_MFC_DEC_EXE:
+		mutex_lock(&s3c_mfc_mutex);
+		mfc_debug("IOCTL_MFC_DEC_EXE\n");
+		if (!s3c_mfc_set_state(MfcCtx, MFCINST_STATE_DEC_EXE)) {
+			mfc_err("MFCINST_ERR_STATE_INVALID\n");
+			InParm.ret_code = MFCINST_ERR_STATE_INVALID;
+			ret = -EINVAL;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		InParm.ret_code = s3c_mfc_exe_decode(MfcCtx, &(InParm.args));
+		ret = InParm.ret_code;
+		mutex_unlock(&s3c_mfc_mutex);
+		break;
+
+	case IOCTL_MFC_GET_CONFIG:
+		mutex_lock(&s3c_mfc_mutex);
+		if (MfcCtx->MfcState < MFCINST_STATE_DEC_SEQ_START) {
+			mfc_err("MFCINST_ERR_STATE_INVALID\n");
+			InParm.ret_code = MFCINST_ERR_STATE_INVALID;
+			ret = -EINVAL;
+			mutex_unlock(&s3c_mfc_mutex);
+			break;
+		}
+
+		InParm.ret_code = s3c_mfc_get_config(MfcCtx, &(InParm.args));
+		ret = InParm.ret_code;
+		mutex_unlock(&s3c_mfc_mutex);
+		break;
+
+	case IOCTL_MFC_SET_CONFIG:
+		mutex_lock(&s3c_mfc_mutex);
+		InParm.ret_code = s3c_mfc_set_config(MfcCtx, &(InParm.args));
+		ret = InParm.ret_code;
+		mutex_unlock(&s3c_mfc_mutex);
+		break;
+
+	case IOCTL_MFC_REQ_BUF:
+	
+		if (MfcCtx->MfcState < MFCINST_STATE_OPENED) {
+			mfc_err("MFCINST_ERR_STATE_INVALID\n");
+			InParm.ret_code = MFCINST_ERR_STATE_INVALID;
+			ret = -EINVAL;
+
+			break;
+		}
+
+		InParm.args.mem_alloc.buff_size = (InParm.args.mem_alloc.buff_size + 63) / 64 * 64;
+		InParm.ret_code = s3c_mfc_get_virt_addr(MfcCtx, &(InParm.args));
+		ret = InParm.ret_code;
+
+		break;
+
+	case IOCTL_MFC_FREE_BUF:
+
+
+		if (MfcCtx->MfcState < MFCINST_STATE_OPENED) {
+			mfc_err("MFCINST_ERR_STATE_INVALID\n");
+			InParm.ret_code = MFCINST_ERR_STATE_INVALID;
+			ret = -EINVAL;
+
+			break;
+		}
+		InParm.ret_code = s3c_mfc_release_alloc_mem(MfcCtx, &(InParm.args));
+		ret = InParm.ret_code;
+
+		break;
+
+	case IOCTL_MFC_GET_PHYS_ADDR:
+
+		if (MfcCtx->MfcState < MFCINST_STATE_OPENED) {
+			mfc_err("MFCINST_ERR_STATE_INVALID\n");
+			InParm.ret_code = MFCINST_ERR_STATE_INVALID;
+			ret = -EINVAL;
+	
+			break;
+		}
+
+		InParm.ret_code = s3c_mfc_get_phys_addr(MfcCtx, &(InParm.args));
+		ret = InParm.ret_code;
+
+		break;
+
+	default:
+		mfc_err("Requested ioctl command is not defined. (ioctl cmd=0x%08x)\n", cmd);
+		InParm.ret_code  = MFCINST_ERR_INVALID_PARAM;
+		ret = -EINVAL;
+
+	}
+
+
+out_ioctl:
+	ex_ret = copy_to_user((s3c_mfc_common_args *)arg, &InParm, sizeof(s3c_mfc_common_args));
+	if (ex_ret < 0) {
+		mfc_err("Outparm copy to user error\n");
+		ret = -EIO;
+	}
+
+	mfc_debug("---------------IOCTL return--------------------------%d\n", ret);
+	return ret;
+}
+
+static int s3c_mfc_mmap(struct file *filp, struct vm_area_struct *vma)
+{
+	unsigned long offset	= vma->vm_pgoff << PAGE_SHIFT;
+	unsigned long size = 0;
+	unsigned long pageFrameNo = 0;
+
+	mfc_debug("vma->vm_end - vma->vm_start = %d\n", offset);
+
+	pageFrameNo = __phys_to_pfn(s3c_mfc_phys_data_buf);
+	vma->vm_flags |= VM_RESERVED | VM_IO;
+	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+	size = s3c_get_media_memsize(S3C_MDEV_MFC);
+
+	if( remap_pfn_range(vma, vma->vm_start, pageFrameNo, size, vma->vm_page_prot) ) {
+		mfc_err("mfc remap error\n");
+		return -EAGAIN;
+	}
+
+	return 0;
+
+}
+
+static struct file_operations s3c_mfc_fops = {
+	.owner		= THIS_MODULE,
+	.open		= s3c_mfc_open,
+	.release	= s3c_mfc_release,
+	.ioctl		= s3c_mfc_ioctl,
+	.mmap		= s3c_mfc_mmap
+};
+
+
+static struct miscdevice s3c_mfc_miscdev = {
+	.minor		= 252,
+	.name		= "s3c-mfc",
+	.fops		= &s3c_mfc_fops,
+};
+
+static irqreturn_t s3c_mfc_irq(int irq, void *dev_id)
+{
+	unsigned int	intReason;
+
+	intReason = readl(s3c_mfc_sfr_virt_base + S3C_FIMV_INT_STATUS) & 0x1FF;
+
+	if (((intReason & MFC_INTR_FRAME_DONE) == MFC_INTR_FRAME_DONE)
+			||((intReason & MFC_INTR_FW_DONE) == MFC_INTR_FW_DONE)
+			||((intReason & MFC_INTR_DMA_DONE) == MFC_INTR_DMA_DONE)) {
+		writel(1, s3c_mfc_sfr_virt_base + S3C_FIMV_INT_DONE_CLEAR);
+		s3c_mfc_int_type = intReason;
+		wake_up_interruptible(&s3c_mfc_wait_queue);
+		mfc_debug("Interrupt !! : %d\n", intReason);
+	} else
+		mfc_err("Undefined interrupt : %d\n", intReason);
+
+	writel(1, s3c_mfc_sfr_virt_base + S3C_FIMV_INT_DONE_CLEAR);
+
+	return IRQ_HANDLED;
+}
+
+
+static int s3c_mfc_probe(struct platform_device *pdev)
+{
+	struct resource *res;
+	size_t		size;
+	int 		ret;
+
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (res == NULL) {
+		dev_err(&pdev->dev, "failed to get memory region resource\n");
+		ret = -ENOENT;
+		goto probe_out;
+	}
+
+	size = (res->end - res->start) + 1;
+	s3c_mfc_mem = request_mem_region(res->start, size, pdev->name);
+	if (s3c_mfc_mem == NULL) {
+		dev_err(&pdev->dev, "failed to get memory region\n");
+		ret = -ENOENT;
+		goto probe_out;
+	}
+
+	s3c_mfc_sfr_virt_base = ioremap(s3c_mfc_mem->start, s3c_mfc_mem->end - s3c_mfc_mem->start + 1);
+	if (s3c_mfc_sfr_virt_base == NULL) {
+		dev_err(&pdev->dev, "failed to ioremap address region\n");
+		ret = -ENOENT;
+		goto probe_out;
+	}
+
+
+	res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
+	if (res == NULL) {
+		dev_err(&pdev->dev, "failed to get irq resource\n");
+		ret = -ENOENT;
+		goto probe_out;
+	}
+
+	ret = request_irq(res->start, s3c_mfc_irq, IRQF_DISABLED, pdev->name, pdev);
+	if (ret != 0) {
+		dev_err(&pdev->dev, "failed to install irq (%d)\n", ret);
+		goto probe_out;
+	}
+
+	mutex_init(&s3c_mfc_mutex);
+
+	/*
+	 * buffer memory secure
+	 */
+	s3c_mfc_phys_data_buf = s3c_get_media_memory(S3C_MDEV_MFC);
+	s3c_mfc_virt_data_buf = ioremap_nocache(s3c_mfc_phys_data_buf, s3c_get_media_memsize(S3C_MDEV_MFC));
+
+	/*
+	 * firmware load
+	 */
+	s3c_mfc_virt_fw_buf = kmalloc(MFC_FW_BUF_SIZE, GFP_DMA);
+	if (s3c_mfc_virt_fw_buf == NULL) {
+		mfc_err("firmware buffer allocation was failed\n");
+		ret = -ENOENT;
+		goto probe_out;
+	}
+
+	if (s3c_mfc_load_firmware() == FALSE){
+		mfc_err("MFCINST_ERR_FW_INIT_FAIL\n");
+		ret = -EPERM;
+		goto probe_out;
+	}
+
+	s3c_mfc_init_inst_no();
+
+	s3c_mfc_init_buffer_manager();
+
+	ret = misc_register(&s3c_mfc_miscdev);
+	return 0;
+
+probe_out:
+	dev_err(&pdev->dev, "not found (%d). \n", ret);
+	return ret;
+}
+
+static int s3c_mfc_remove(struct platform_device *pdev)
+{
+	kfree((void *)s3c_mfc_virt_fw_buf);
+
+	iounmap(s3c_mfc_sfr_virt_base);
+	iounmap(s3c_mfc_virt_data_buf);
+
+	/* remove memory region */
+	if (s3c_mfc_mem != NULL) {
+		release_resource(s3c_mfc_mem);
+		kfree(s3c_mfc_mem);
+		s3c_mfc_mem = NULL;
+	}
+
+	free_irq(IRQ_MFC, pdev);
+
+	mutex_destroy(&s3c_mfc_mutex);
+
+	misc_deregister(&s3c_mfc_miscdev);
+
+	return 0;
+}
+
+static int s3c_mfc_suspend(struct platform_device *pdev, pm_message_t state)
+{
+	return 0;
+}
+
+static int s3c_mfc_resume(struct platform_device *pdev)
+{
+	return 0;
+}
+
+static struct platform_driver s3c_mfc_driver = {
+	.probe		= s3c_mfc_probe,
+	.remove		= s3c_mfc_remove,
+	.shutdown	= NULL,
+	.suspend	= s3c_mfc_suspend,
+	.resume		= s3c_mfc_resume,
+
+	.driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-mfc",
+	},
+};
+
+static char banner[] __initdata = KERN_INFO "S5PC100 MFC Driver, (c) 2009 Samsung Electronics\n";
+
+static int __init s3c_mfc_init(void)
+{
+	printk(banner);
+
+	if (platform_driver_register(&s3c_mfc_driver) != 0) {
+		printk(KERN_ERR "platform device registration failed.. \n");
+		return -1;
+	}
+
+	return 0;
+}
+
+static void __exit s3c_mfc_exit(void)
+{
+	platform_driver_unregister( &s3c_mfc_driver);
+	printk("S5PC100 MFC Driver exit.\n");
+}
+
+module_init( s3c_mfc_init );
+module_exit( s3c_mfc_exit );
+
+MODULE_AUTHOR("Jiun, Yu");
+MODULE_AUTHOR("PyoungJae, Jung");
+MODULE_DESCRIPTION("S3C MFC (Multi Function Codec - FIMV) Device Driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,434 @@
+/*
+ * drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/types.h>
+#include <linux/slab.h>
+#include <plat/media.h>
+
+#include "s3c_mfc_buffer_manager.h"
+#include "s3c_mfc_errorno.h"
+#include "s3c_mfc_logmsg.h"
+
+s3c_mfc_alloc_mem_t *s3c_mfc_alloc_mem_head;
+s3c_mfc_alloc_mem_t *s3c_mfc_alloc_mem_tail;
+s3c_mfc_free_mem_t *s3c_mfc_free_mem_head;
+s3c_mfc_free_mem_t *s3c_mfc_free_mem_tail;
+
+extern dma_addr_t s3c_mfc_phys_data_buf;
+extern unsigned char *s3c_mfc_virt_data_buf;
+
+
+/* insert node ahead of s3c_mfc_alloc_mem_head */
+static void s3c_mfc_insert_node_to_alloc_list(s3c_mfc_alloc_mem_t *node, int inst_no)
+{
+	mfc_debug("[%d]instance (cached_p_addr : 0x%08x uncached_p_addr : 0x%08x size:%d cacheflag : %d)\n",
+			inst_no, node->cached_p_addr, node->uncached_p_addr, node->size, node->cache_flag);
+	node->next = s3c_mfc_alloc_mem_head;
+	node->prev = s3c_mfc_alloc_mem_head->prev;
+	s3c_mfc_alloc_mem_head->prev->next = node;
+	s3c_mfc_alloc_mem_head->prev = node;
+	s3c_mfc_alloc_mem_head = node;
+}
+
+void s3c_mfc_print_list(void)
+{
+	s3c_mfc_alloc_mem_t *node1;
+	s3c_mfc_free_mem_t *node2;
+	int count = 0;
+	unsigned int p_addr;
+
+	for (node1 = s3c_mfc_alloc_mem_head; node1 != s3c_mfc_alloc_mem_tail; node1 = node1->next) {
+		if(node1->cache_flag)
+			p_addr = node1->cached_p_addr;
+		else
+			p_addr = (unsigned int)node1->uncached_p_addr;
+
+ 		printk("s3c_mfc_print_list [AllocList][%d] inst_no : %d p_addr : 0x%08x v_addr:0x%08x size:%d cacheflag : %d\n", 
+				count++, node1->inst_no,  p_addr, (unsigned int)node1->v_addr, node1->size, node1->cache_flag);
+
+	}
+
+	count = 0;
+	for (node2 = s3c_mfc_free_mem_head; node2 != s3c_mfc_free_mem_tail; node2 = node2->next) {
+		printk("s3c_mfc_print_list [FreeList][%d] startAddr : 0x%08x size:%d\n", 
+				count++, node2->start_addr , node2->size);
+	}
+}
+
+int list_count()
+{
+	int count = 0;
+	s3c_mfc_free_mem_t *node;
+
+	node = s3c_mfc_free_mem_head;
+	
+	while (node != s3c_mfc_free_mem_tail) {	
+		node = node->next;
+		count++;
+	}
+
+	return count;
+}
+
+static void s3c_mfc_insert_first_node_to_free_list(s3c_mfc_free_mem_t *node,  int inst_no)
+{
+	mfc_debug("[%d]instance(startAddr : 0x%08x size:%d  cached flag : %d)\n",
+			inst_no, node->start_addr, node->size, node->cache_flag);	
+
+	node->next = s3c_mfc_free_mem_head;
+	node->prev = s3c_mfc_free_mem_head->prev;
+	s3c_mfc_free_mem_head->prev->next = node;
+	s3c_mfc_free_mem_head->prev = node;
+	s3c_mfc_free_mem_head = node;
+	
+}
+
+/* insert node ahead of s3c_mfc_free_mem_head */
+static void s3c_mfc_insert_node_to_free_list(s3c_mfc_free_mem_t *node,  int inst_no)
+{
+	s3c_mfc_free_mem_t *itr_node;
+	
+	mfc_debug("[%d]instance(startAddr : 0x%08x size:%d  cached flag : %d)\n",
+			inst_no, node->start_addr, node->size, node->cache_flag);	
+
+	itr_node = s3c_mfc_free_mem_head;
+	
+	while (itr_node != s3c_mfc_free_mem_tail) {
+		
+		if (itr_node->start_addr >= node->start_addr) {
+			/* head */
+			if (itr_node == s3c_mfc_free_mem_head) {
+				node->next = s3c_mfc_free_mem_head;
+				node->prev = s3c_mfc_free_mem_head->prev;
+				s3c_mfc_free_mem_head->prev->next = node;
+				s3c_mfc_free_mem_head->prev = node;
+				s3c_mfc_free_mem_head = node;
+				break;
+			} else { /* mid */
+				node->next = itr_node;
+				node->prev = itr_node->prev;
+				itr_node->prev->next = node;
+				itr_node->prev = node;
+				break;
+			}
+		
+		}
+
+		itr_node = itr_node->next;
+	}
+
+	/* tail */
+	if (itr_node == s3c_mfc_free_mem_tail) {
+		node->next = s3c_mfc_free_mem_tail;
+		node->prev = s3c_mfc_free_mem_tail->prev;
+		s3c_mfc_free_mem_tail->prev->next = node;
+		s3c_mfc_free_mem_tail->prev = node;
+	}
+	
+}
+
+static void s3c_mfc_del_node_from_alloc_list(s3c_mfc_alloc_mem_t *node, int inst_no)
+{
+	mfc_debug("[%d]instance (uncached_p_addr : 0x%08x cached_p_addr : 0x%08x size:%d cacheflag : %d)\n",
+			inst_no, node->uncached_p_addr, node->cached_p_addr, node->size, node->cache_flag);
+
+	if(node == s3c_mfc_alloc_mem_tail){
+		mfc_info("InValid node\n");
+		return;
+	}
+
+	if(node == s3c_mfc_alloc_mem_head)
+		s3c_mfc_alloc_mem_head = node->next;
+
+	node->prev->next = node->next;
+	node->next->prev = node->prev;
+
+	kfree(node);
+}
+
+
+
+static void s3c_mfc_del_node_from_free_list( s3c_mfc_free_mem_t *node, int inst_no)
+{
+	mfc_debug("[%d]s3c_mfc_del_node_from_free_list(startAddr : 0x%08x size:%d)\n", 
+						inst_no, node->start_addr, node->size);
+	if(node == s3c_mfc_free_mem_tail){
+		mfc_err("InValid node\n");
+		return;
+	}
+
+	if(node == s3c_mfc_free_mem_head)
+		s3c_mfc_free_mem_head = node->next;
+
+	node->prev->next = node->next;
+	node->next->prev = node->prev;
+
+	kfree(node);
+}
+
+/* Remove Fragmentation in FreeMemList */
+void s3c_mfc_merge_frag(int inst_no)
+{
+	s3c_mfc_free_mem_t *node1, *node2;
+
+	node1 = s3c_mfc_free_mem_head;
+
+	while (node1 != s3c_mfc_free_mem_tail) {
+		node2 = s3c_mfc_free_mem_head;
+		while (node2 != s3c_mfc_free_mem_tail) {
+			if ((node1->start_addr + node1->size == node2->start_addr) && (node1->cache_flag == node2->cache_flag)) {
+				node1->size += node2->size;
+				mfc_debug("find merge area !! ( node1->start_addr + node1->size == node2->start_addr)\n");
+				s3c_mfc_del_node_from_free_list(node2, inst_no);
+				break;
+			} else if((node1->start_addr == node2->start_addr + node2->size) && 
+						(node1->cache_flag == node2->cache_flag) ) {
+				mfc_debug("find merge area !! ( node1->start_addr == node2->start_addr + node2->size)\n");
+				node1->start_addr = node2->start_addr;
+				node1->size += node2->size;
+				s3c_mfc_del_node_from_free_list(node2, inst_no);
+				break;
+			}
+			node2 = node2->next;
+		}
+		node1 = node1->next;
+	}
+}
+
+static unsigned int s3c_mfc_get_mem_area(int allocSize, int inst_no, char cache_flag)
+{
+	s3c_mfc_free_mem_t	*node, *match_node = NULL;
+	unsigned int	allocAddr = 0;
+
+
+	mfc_debug("request Size : %ld\n", allocSize);
+
+	if (s3c_mfc_free_mem_head == s3c_mfc_free_mem_tail) {
+		mfc_err("all memory is gone\n");
+		return(allocAddr);
+	}
+
+	/* find best chunk of memory */
+	for (node = s3c_mfc_free_mem_head; node != s3c_mfc_free_mem_tail; node = node->next) {
+		if (match_node != NULL) {
+			if (cache_flag) {
+				if ((node->size >= allocSize) && (node->size < match_node->size) && (node->cache_flag))
+					match_node = node;
+			} else {
+				if ((node->size >= allocSize) && (node->size < match_node->size) && (!node->cache_flag))
+					match_node = node;
+			}
+		} else {
+			if (cache_flag) {
+				if ((node->size >= allocSize) && (node->cache_flag))
+					match_node = node;
+			} else {
+				if ((node->size >= allocSize) && (!node->cache_flag))
+					match_node = node;
+			}
+		}
+	}
+
+	if (match_node != NULL) {
+		mfc_debug("match : startAddr(0x%08x) size(%ld) cache flag(%d)\n", 
+			match_node->start_addr, match_node->size, match_node->cache_flag);
+	}
+
+	/* rearange FreeMemArea */
+	if (match_node != NULL) {
+		allocAddr = match_node->start_addr;
+		match_node->start_addr += allocSize;
+		match_node->size -= allocSize;
+
+		if(match_node->size == 0)          /* delete match_node. */
+			s3c_mfc_del_node_from_free_list(match_node, inst_no);
+
+		return(allocAddr);
+	} else {
+		printk("there is no suitable chunk\n");
+		return 0;
+	}
+
+	return(allocAddr);
+}
+
+
+int s3c_mfc_init_buffer_manager(void)
+{
+	s3c_mfc_free_mem_t	*free_node;
+	s3c_mfc_alloc_mem_t	*alloc_node;
+
+	/* init alloc list, if(s3c_mfc_alloc_mem_head == s3c_mfc_alloc_mem_tail) then, the list is NULL */
+	alloc_node = (s3c_mfc_alloc_mem_t *)kmalloc(sizeof(s3c_mfc_alloc_mem_t), GFP_KERNEL);
+	memset(alloc_node, 0x00, sizeof(s3c_mfc_alloc_mem_t));
+	alloc_node->next = alloc_node;
+	alloc_node->prev = alloc_node;
+	s3c_mfc_alloc_mem_head = alloc_node;
+	s3c_mfc_alloc_mem_tail = s3c_mfc_alloc_mem_head;
+
+	/* init free list, if(s3c_mfc_free_mem_head == s3c_mfc_free_mem_tail) then, the list is NULL */
+	free_node = (s3c_mfc_free_mem_t *)kmalloc(sizeof(s3c_mfc_free_mem_t), GFP_KERNEL);
+	memset(free_node, 0x00, sizeof(s3c_mfc_free_mem_t));
+	free_node->next = free_node;
+	free_node->prev = free_node;
+	s3c_mfc_free_mem_head = free_node;
+	s3c_mfc_free_mem_tail = s3c_mfc_free_mem_head;
+
+	/* init free head node */
+	free_node = (s3c_mfc_free_mem_t *)kmalloc(sizeof(s3c_mfc_free_mem_t), GFP_KERNEL);
+	memset(free_node, 0x00, sizeof(s3c_mfc_free_mem_t));
+	free_node->start_addr = s3c_mfc_phys_data_buf;
+	free_node->cache_flag = 0;
+	free_node->size = s3c_get_media_memsize(S3C_MDEV_MFC);
+	s3c_mfc_insert_first_node_to_free_list(free_node, -1);
+
+	return 0;
+}
+
+
+/* Releae cacheable memory */
+MFC_ERROR_CODE s3c_mfc_release_alloc_mem(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_args *args)
+{		
+	int ret;
+
+	s3c_mfc_free_mem_t *free_node;
+	s3c_mfc_alloc_mem_t *node;
+
+	for(node = s3c_mfc_alloc_mem_head; node != s3c_mfc_alloc_mem_tail; node = node->next) {
+		if(node->u_addr == (unsigned char *)args->mem_free.u_addr)
+			break;
+	}
+
+	if (node == s3c_mfc_alloc_mem_tail) {
+		mfc_err("invalid virtual address(0x%x)\r\n", args->mem_free.u_addr);
+		ret = MFCINST_MEMORY_INVAILD_ADDR;
+		goto out_releaseallocmem;
+	}
+
+	free_node = (s3c_mfc_free_mem_t	*)kmalloc(sizeof(s3c_mfc_free_mem_t), GFP_KERNEL);
+
+	if(node->cache_flag) {
+		free_node->start_addr = node->cached_p_addr;
+		free_node->cache_flag = 1;
+	} else {
+		free_node->start_addr = node->uncached_p_addr;
+		free_node->cache_flag = 0;
+	}
+
+	free_node->size = node->size;
+	s3c_mfc_insert_node_to_free_list(free_node, MfcCtx->InstNo);
+
+	/* Delete from AllocMem list */
+	s3c_mfc_del_node_from_alloc_list(node, MfcCtx->InstNo);
+
+	ret = MFCINST_RET_OK;
+
+out_releaseallocmem:
+	return ret;
+}
+
+MFC_ERROR_CODE s3c_mfc_get_phys_addr(s3c_mfc_inst_ctx *MfcCtx, s3c_mfc_args *args)
+{
+	int ret;
+	s3c_mfc_alloc_mem_t *node;
+	s3c_mfc_get_phys_addr_arg_t *codec_get_phy_addr_arg = (s3c_mfc_get_phys_addr_arg_t *)args;
+
+	for(node = s3c_mfc_alloc_mem_head; node != s3c_mfc_alloc_mem_tail; node = node->next) {
+		if(node->u_addr == (unsigned char *)codec_get_phy_addr_arg->u_addr)
+			break;
+	}
+
+	if(node  == s3c_mfc_alloc_mem_tail){
+		mfc_err("invalid virtual address(0x%x)\r\n", codec_get_phy_addr_arg->u_addr);
+		ret = MFCINST_MEMORY_INVAILD_ADDR;
+		goto out_getphysaddr;
+	}
+
+	if(node->cache_flag == MFC_MEM_CACHED)
+		codec_get_phy_addr_arg->p_addr = node->cached_p_addr;
+	else
+		codec_get_phy_addr_arg->p_addr = node->uncached_p_addr;
+
+	ret = MFCINST_RET_OK;
+
+out_getphysaddr:
+	return ret;
+
+}
+
+MFC_ERROR_CODE s3c_mfc_get_virt_addr(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_args *args)
+{
+	int ret;
+	int inst_no = MfcCtx->InstNo;
+	unsigned int p_startAddr;
+	s3c_mfc_mem_alloc_arg_t *in_param;	
+	s3c_mfc_alloc_mem_t *p_allocMem;
+	
+
+	in_param = (s3c_mfc_mem_alloc_arg_t *)args;
+
+	/* if user request cachable area, allocate from reserved area */
+	/* if user request uncachable area, allocate dynamically */
+	p_startAddr = s3c_mfc_get_mem_area((int)in_param->buff_size, inst_no, in_param->cache_flag);
+	mfc_debug("p_startAddr = 0x%X\n\r", p_startAddr);
+
+	if (!p_startAddr) {
+		mfc_debug("There is no more memory\n\r");
+		in_param->out_addr = -1;
+		ret = MFCINST_MEMORY_ALLOC_FAIL;
+		goto out_getcodecviraddr;
+	}
+
+	p_allocMem = (s3c_mfc_alloc_mem_t *)kmalloc(sizeof(s3c_mfc_alloc_mem_t), GFP_KERNEL);
+	memset(p_allocMem, 0x00, sizeof(s3c_mfc_alloc_mem_t));
+
+	if (in_param->cache_flag == MFC_MEM_CACHED) {
+		p_allocMem->cached_p_addr = p_startAddr;
+		p_allocMem->v_addr = s3c_mfc_virt_data_buf + (p_allocMem->cached_p_addr - s3c_mfc_phys_data_buf);
+		p_allocMem->u_addr = (unsigned char *)(in_param->cached_mapped_addr + 
+				(p_allocMem->cached_p_addr - s3c_mfc_phys_data_buf));
+
+		if (p_allocMem->v_addr == NULL) {
+			mfc_debug("Mapping Failed [PA:0x%08x]\n\r", p_allocMem->cached_p_addr);
+			ret = MFCINST_MEMORY_MAPPING_FAIL;
+			goto out_getcodecviraddr;
+		}
+	} else {
+		p_allocMem->uncached_p_addr = p_startAddr;
+		p_allocMem->v_addr = s3c_mfc_virt_data_buf + (p_allocMem->uncached_p_addr - s3c_mfc_phys_data_buf);
+		p_allocMem->u_addr = (unsigned char *)(in_param->non_cached_mapped_addr + 
+				(p_allocMem->uncached_p_addr - s3c_mfc_phys_data_buf));
+		mfc_debug("in_param->non_cached_mapped_addr = 0x%X, s3c_mfc_phys_data_buf = 0x%X, data buffer size = 0x%X\n", 
+				in_param->non_cached_mapped_addr, s3c_mfc_phys_data_buf, s3c_get_media_memsize(S3C_MDEV_MFC));
+		if (p_allocMem->v_addr == NULL) {
+			mfc_debug("Mapping Failed [PA:0x%08x]\n\r", p_allocMem->uncached_p_addr);
+			ret = MFCINST_MEMORY_MAPPING_FAIL;
+			goto out_getcodecviraddr;
+		}
+	}
+
+	in_param->out_addr = (unsigned int)p_allocMem->u_addr;
+	mfc_debug("u_addr : 0x%x v_addr : 0x%x cached_p_addr : 0x%x, uncached_p_addr : 0x%x\n",
+		p_allocMem->u_addr, p_allocMem->v_addr, p_allocMem->cached_p_addr, p_allocMem->uncached_p_addr);
+
+	p_allocMem->size = (int)in_param->buff_size;
+	p_allocMem->inst_no = inst_no;
+	p_allocMem->cache_flag = in_param->cache_flag;
+
+	s3c_mfc_insert_node_to_alloc_list(p_allocMem, inst_no);
+	ret = MFCINST_RET_OK;
+
+out_getcodecviraddr:	
+	return ret;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.h linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.h
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,55 @@
+/* 
+ * drivers/media/video/samsung/mfc40/s3c_mfc_buffer_manager.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_BUFFER_MANAGER_H_
+#define _S3C_MFC_BUFFER_MANAGER_H_
+
+#include "s3c_mfc_interface.h"
+#include "s3c_mfc_common.h"
+
+
+typedef struct tag_alloc_mem_t
+{
+	struct tag_alloc_mem_t *prev;
+	struct tag_alloc_mem_t *next;
+	union {
+		unsigned int cached_p_addr;	/* physical address of cacheable area */
+		unsigned int uncached_p_addr;	/* physical address of non-cacheable area */
+	};
+	unsigned char *v_addr;	/*  virtual address in cached area */
+	unsigned char *u_addr;	/*  copyed virtual address for user mode process */
+	int size;		/*  memory size */	
+	int inst_no;
+	char cache_flag;
+} s3c_mfc_alloc_mem_t;
+
+
+typedef struct tag_free_mem_t
+{
+	struct tag_free_mem_t *prev;
+	struct tag_free_mem_t *next;
+	unsigned int start_addr;
+	unsigned int size;
+	char cache_flag;
+} s3c_mfc_free_mem_t;
+
+int list_count(void);
+void s3c_mfc_print_list(void);
+int s3c_mfc_init_buffer_manager(void);
+void s3c_mfc_merge_frag(int inst_no);
+MFC_ERROR_CODE s3c_mfc_release_alloc_mem(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_args *args);
+MFC_ERROR_CODE s3c_mfc_get_phys_addr(s3c_mfc_inst_ctx *MfcCtx, s3c_mfc_args *args);
+MFC_ERROR_CODE s3c_mfc_get_virt_addr(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_args *args);
+
+#endif /* _S3C_MFC_BUFFER_MANAGER_H_ */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_common.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_common.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_common.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_common.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,213 @@
+/*
+ * drivers/media/video/samsung/mfc40/s3c_mfc_common.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+#include <linux/mm.h>
+
+#include "s3c_mfc_common.h"
+#include "s3c_mfc_interface.h"
+#include "s3c_mfc_memory.h"
+#include "s3c_mfc_logmsg.h"
+#include "s3c_mfc_fw.h"
+
+static int s3c_mfc_inst_no[MFC_MAX_INSTANCE_NUM];
+
+unsigned int s3c_mfc_get_codec_type(MFC_CODEC_TYPE codec_type)
+{
+	unsigned int standardSel = 0;
+
+	switch(codec_type) {
+	case MPEG4_DEC: 
+	case DIVX_DEC:
+	case XVID_DEC:
+		standardSel = ((0 << 4) | (0 << 0)); 
+		break;
+
+	case H263_ENC:
+	case MPEG4_ENC: 
+		standardSel = ((1 << 4) | (0 << 0)); 
+		break;
+
+	case H264_DEC: 
+		standardSel = ((0 << 4) | (1 << 0)); 
+		break;
+
+	case H264_ENC: 
+		standardSel = ((1 << 4) | (1 << 0)); 
+		break;
+
+	case H263_DEC: 
+		standardSel = ((0 << 4) | (4 << 0)); 
+		break;
+
+	case MPEG2_DEC: 
+		standardSel = ((0 << 4) | (5 << 0)); 
+		break;
+
+	case VC1_DEC: 
+		standardSel = ((0 << 4) | ( 6 << 0)); 
+		break;
+
+	default:
+		break;
+	}
+
+	return standardSel;
+
+}
+
+int s3c_mfc_get_fw_buf_offset(MFC_CODEC_TYPE codecType)
+{
+	int offset;
+
+	switch(codecType) {
+	case MPEG4_ENC:
+	case H263_ENC:
+		offset = 0; 
+		break;
+
+	case DIVX_DEC:
+	case XVID_DEC:
+	case MPEG4_DEC:
+		offset = FIRMWARE_CODE_SIZE; 
+		break;
+
+	case H264_ENC: 
+		offset = 2 * FIRMWARE_CODE_SIZE; 
+		break;
+
+	case H264_DEC: 
+		offset = 3 * FIRMWARE_CODE_SIZE; 
+		break;
+
+	case VC1_DEC: 
+		offset = 4 * FIRMWARE_CODE_SIZE; 
+		break;
+
+	case MPEG2_DEC:
+		offset = 5 * FIRMWARE_CODE_SIZE; 
+		break;
+
+	case H263_DEC: 
+		offset = 6 * FIRMWARE_CODE_SIZE; 
+		break;
+
+	case COM_CTRL: 
+		offset = 7 * FIRMWARE_CODE_SIZE; 
+		break;
+
+	default: 
+		offset = -1;
+		mfc_err("unknown codec type\n");
+	}
+
+	return offset;
+}
+
+int s3c_mfc_get_fw_buf_size(MFC_CODEC_TYPE codecType)
+{
+	int bufSize;
+
+	switch(codecType) {
+	case MPEG4_ENC:
+	case H263_ENC: 
+		bufSize = sizeof(mp4_enc_mc_fw); 
+		break;
+
+	case DIVX_DEC:
+	case XVID_DEC:
+	case MPEG4_DEC: 
+		bufSize = sizeof(mp4_dec_mc_fw); 
+		break;
+
+	case H264_ENC:
+		bufSize = sizeof(h264_enc_mc_fw); 
+		break;
+
+	case H264_DEC: 
+		bufSize = sizeof(h264_dec_mc_fw); 
+		break;
+
+	case VC1_DEC: 
+		bufSize = sizeof(vc1_dec_mc_fw); 
+		break;
+
+	case MPEG2_DEC: 
+		bufSize = sizeof(mp2_dec_mc_fw); 
+		break;
+
+	case H263_DEC: 
+		bufSize = sizeof(h263_dec_mc_fw); 
+		break;
+
+	case COM_CTRL: 
+		bufSize = sizeof(cmd_ctrl_fw); 
+		break;
+
+	default: bufSize = -1;
+		 mfc_err("unknown codec type\n");
+	}
+
+	return bufSize;
+}
+
+void  s3c_mfc_init_inst_no(void)
+{
+	memset(&s3c_mfc_inst_no, 0x00, sizeof(s3c_mfc_inst_no));
+}
+
+int s3c_mfc_get_inst_no(void)
+{
+	unsigned int i;
+
+	for(i = 0; i < MFC_MAX_INSTANCE_NUM; i++)
+		if (s3c_mfc_inst_no[i] == 0) {
+			s3c_mfc_inst_no[i] = 1;
+			return i;
+		}
+
+	return -1;   
+}
+
+
+void s3c_mfc_return_inst_no(int inst_no)
+{
+	if ((inst_no >= 0) && (inst_no < MFC_MAX_INSTANCE_NUM))
+		s3c_mfc_inst_no[inst_no] = 0;
+
+}
+
+
+BOOL s3c_mfc_is_running(void)
+{
+	unsigned int    i;
+	BOOL ret = FALSE;
+
+	for(i = 1; i < MFC_MAX_INSTANCE_NUM; i++)
+		if(s3c_mfc_inst_no[i] == 1)
+			ret = TRUE;
+
+	return ret;  
+}
+
+int s3c_mfc_set_state(s3c_mfc_inst_ctx *ctx, s3c_mfc_inst_state state)
+{
+
+	if(ctx->MfcState > state)
+		return 0;
+
+	ctx->MfcState = state;
+	return  1;
+
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_common.h linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_common.h
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_common.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_common.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,114 @@
+/* 
+ * drivers/media/video/samsung/mfc40/s3c_mfc_common.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_COMMON_H_
+#define _S3C_MFC_COMMON_H_
+
+#include <plat/regs-mfc.h>
+
+#include "s3c_mfc_interface.h"
+
+#define BUF_ALIGN_UNIT (64)
+#define Align(x, alignbyte) (((x)+(alignbyte)-1)/(alignbyte)*(alignbyte))
+
+typedef enum
+{
+	MFCINST_STATE_NULL = 0,
+
+	/* Instance is created */
+	MFCINST_STATE_OPENED = 10,
+
+	/* channel_set and init_codec is completed */
+	MFCINST_STATE_DEC_INITIALIZE = 20,
+
+	/* seq_start is completed */
+	MFCINST_STATE_DEC_SEQ_START  = 30,
+	
+	MFCINST_STATE_DEC_EXE,
+	MFCINST_STATE_DEC_EXE_DONE,
+	
+	/* Instance is initialized for encoding */
+	MFCINST_STATE_ENC_INITIALIZE = 40, 
+	MFCINST_STATE_ENC_EXE,
+	MFCINST_STATE_ENC_EXE_DONE
+} s3c_mfc_inst_state;
+
+typedef enum
+{
+	MEM_STRUCT_LINEAR = 0,
+	MEM_STRUCT_TILE_ENC  = 2, /* 16x16 */
+	MEM_STRUCT_TILE_DEC  = 3  /* 64x32 */
+} s3c_mfc_mem_type;
+
+typedef enum
+{
+	MFC_POLLING_DMA_DONE = 1,
+	MFC_POLLING_HEADER_DONE = 2,
+	MFC_POLLING_OPERATION_DONE = 3,
+	MFC_POLLING_FW_DONE = 4,
+	MFC_INTR_FW_DONE = (1 << 5),
+	MFC_INTR_DMA_DONE = (1 << 7),
+	MFC_INTR_FRAME_DONE = (1 << 8),
+	MFC_INTR_FRAME_FW_DONE = ((1 << 8) | (1 << 5))
+} s3c_mfc_wait_done_type;
+
+
+typedef enum
+{
+	DECODING_ONLY = 0,
+	DECODING_DISPLAY = 1,
+	DISPLAY_ONLY = 2
+} s3c_mfc_display_status;
+
+typedef enum
+{
+	MFC_RET_FRAME_NOT_SET = -1,
+	MFC_RET_FRAME_NOT_CODED = 0,
+	MFC_RET_FRAME_I_FRAME = 1,
+	MFC_RET_FRAME_P_FRAME = 2,
+	MFC_RET_FRAME_B_FRAME = 3
+} s3c_mfc_frame_type;
+
+typedef struct tag_mfc_inst_ctx
+{
+	unsigned int MfcSfr[S3C_FIMV_REG_COUNT];
+
+	int InstNo;
+	unsigned int DPBCnt;
+	unsigned int totalDPBCnt;
+	unsigned int extraDPB;
+	unsigned int displayDelay;
+	unsigned int postEnable;
+	unsigned int endOfFrame;
+	unsigned int forceSetFrameType;
+	unsigned int img_width;
+	unsigned int img_height;
+	unsigned int dwAccess;  // for Power Management.
+	unsigned int IsPackedPB;
+	
+	s3c_mfc_frame_type FrameType;
+	MFC_CODEC_TYPE MfcCodecType;
+	s3c_mfc_inst_state MfcState;
+} s3c_mfc_inst_ctx;
+
+unsigned int s3c_mfc_get_codec_type(MFC_CODEC_TYPE    codec_type);
+int s3c_mfc_get_fw_buf_offset(MFC_CODEC_TYPE codecType);
+int s3c_mfc_get_fw_buf_size(MFC_CODEC_TYPE codecType);
+int s3c_mfc_wait_for_done(s3c_mfc_wait_done_type command);
+void s3c_mfc_init_inst_no(void);
+int s3c_mfc_get_inst_no(void);
+void s3c_mfc_return_inst_no(int inst_no);
+int s3c_mfc_set_state(s3c_mfc_inst_ctx *ctx, s3c_mfc_inst_state state);
+
+#endif /* _S3C_MFC_COMMON_H_ */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_errorno.h linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_errorno.h
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_errorno.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_errorno.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,71 @@
+/* 
+ * drivers/media/video/samsung/mfc40/s3c_mfc_errorno.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_ERRORNO_H_
+#define _S3C_MFC_ERRORNO_H_
+
+typedef enum
+{
+	MFCINST_RET_OK = 1,
+	MFCINST_ERR_INVALID_PARAM = -1001,
+	MFCINST_ERR_STATE_INVALID = -1002,
+	MFCINST_ERR_POWER_OFF = -1003,
+	MFCINST_ERR_WRONG_CODEC_MODE = -1004,
+	MFCINST_ERR_INIT_FAIL = -1005,
+	MFCINST_ERR_FILE_OPEN_FAIL = -1006,
+	MFCINST_ERR_INTR_TIME_OUT = -1007,
+	MFCINST_ERR_INTR_INIT_FAIL = -1008,
+
+
+	MFCINST_ERR_DEC_INIT_CMD_FAIL = -2001,
+	MFCINST_ERR_DEC_HEADER_DECODE_FAIL = -2002,
+	MFCINST_ERR_DEC_DECODE_CMD_FAIL = -2003,
+	MFCINST_ERR_DEC_DECODE_DONE_FAIL = -2004,
+	MFCINST_ERR_DEC_INVALID_STRM  = -2005,
+	MFCINST_ERR_DEC_STRM_SIZE_INVALID  = -2006,
+
+	MFCINST_ERR_ENC_INIT_CMD_FAIL = -3001,
+	MFCINST_ERR_ENC_ENCODE_CMD_FAIL = -3002,
+	MFCINST_ERR_ENC_ENCODE_DONE_FAIL = -3003,
+	MFCINST_ERR_ENC_PARAM_INVALID_VALUE = -3004,
+
+	MFCINST_ERR_STRM_BUF_INVALID = -4001,
+	MFCINST_ERR_FRM_BUF_INVALID = -4002,
+	MFCINST_ERR_FRM_BUF_SIZE = -4003,
+
+	MFCINST_ERR_FW_LOAD_FAIL = -5001,
+	MFCINST_ERR_FW_MEMORY_INVALID = -5002,
+	MFCINST_ERR_FW_DMA_SET_FAIL = -5003,
+	MFCINST_ERR_FW_INIT_FAIL = -5004,
+	MFCINST_ERR_SEQ_START_FAIL = -5005,
+
+	MFCINST_INST_NUM_INVALID = -6001,
+	MFCINST_INST_NUM_EXCEEDED = -6002,
+	MFCINST_ERR_SET_CONF = -6003,
+
+
+	MFCINST_MEMORY_ALLOC_FAIL = -8001,
+	MFCINST_MUTEX_CREATE_FAIL = -8002,
+	MFCINST_POWER_INIT_FAIL = -8003,
+	MFCINST_POWER_ON_OFF_FAIL = -8004,
+	MFCINST_POWER_STATE_INVALID = -8005,
+	MFCINST_POWER_MANAGER_ERR = -8006,
+
+	MFCINST_MEMORY_INVAILD_ADDR = -8101,
+	MFCINST_MEMORY_MAPPING_FAIL = -8102,
+
+	MFCAPI_RET_FAIL = -9001,
+} MFC_ERROR_CODE;
+
+#endif /* _S3C_MFC_ERRORNO_H_ */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_fw.h linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_fw.h
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_fw.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_fw.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,27 @@
+/* 
+ * drivers/media/video/samsung/mfc40/s3c_mfc_fw.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_FW_H_
+#define _S3C_MFC_FW_H_
+
+extern unsigned char mp4_dec_mc_fw[26148];
+extern unsigned char mp4_enc_mc_fw[11628];
+extern unsigned char h264_dec_mc_fw[39296];
+extern unsigned char h264_enc_mc_fw[21180];
+extern unsigned char h263_dec_mc_fw[9672];
+extern unsigned char mp2_dec_mc_fw[14636];
+extern unsigned char vc1_dec_mc_fw[22652];
+extern unsigned char cmd_ctrl_fw[7432] ;
+
+#endif /* _S3C_MFC_FW_H_ */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_interface.h linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_interface.h
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_interface.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_interface.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,323 @@
+/* 
+ * drivers/media/video/samsung/mfc40/s3c_mfc_interface.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_INTERFACE_H_
+#define _S3C_MFC_INTERFACE_H_
+
+#include "s3c_mfc_errorno.h"
+
+#define IOCTL_MFC_DEC_INIT		(0x00800001)
+#define IOCTL_MFC_ENC_INIT		(0x00800002)
+#define IOCTL_MFC_DEC_EXE		(0x00800003)
+#define IOCTL_MFC_ENC_EXE		(0x00800004)
+#define IOCTL_MFC_DEC_SEQ_START		(0x00800005)
+
+#define IOCTL_MFC_REQ_BUF		(0x00800010)
+#define IOCTL_MFC_FREE_BUF		(0x00800011)
+#define IOCTL_MFC_GET_PHYS_ADDR		(0x00800012)
+
+#define IOCTL_MFC_SET_CONFIG		(0x00800101)
+#define IOCTL_MFC_GET_CONFIG		(0x00800102)
+
+#define MFC_CODEC_TYPE_ISENC(x)		((x) & (0x100))
+#define MFC_CODEC_TYPE_ISDEC(x)		((x) & (0x200))
+
+/* MFC H/W support maximum 15 extra DPB. */
+#define MFC_MAX_EXTRA_DPB		(5) 
+
+typedef enum
+{
+	UNKNOWN_TYPE = 0x0,
+	COM_CTRL = 0x001,
+	MPEG4_ENC = 0x100,
+	H263_ENC,
+	H264_ENC,
+
+	MPEG4_DEC = 0x200,
+	H264_DEC,
+	H263_DEC,
+	MPEG2_DEC,
+	DIVX_DEC,
+	XVID_DEC,
+	VC1_DEC
+} MFC_CODEC_TYPE;
+
+typedef enum
+{
+	DONT_CARE = 0, 	/* (0<<1)|(0<<0) */
+	I_FRAME = 1, 	/* (0<<1)|(1<<0) */
+	NOT_CODED = 2 	/* (1<<1)|(0<<0) */
+} MFC_FORCE_SET_FRAME_TYPE;
+
+typedef enum
+{
+	MFC_DEC_SETCONF_POST_ENABLE = 1,
+	MFC_DEC_SETCONF_EXTRA_BUFFER_NUM,
+	MFC_DEC_SETCONF_DISPLAY_DELAY,
+	MFC_DEC_SETCONF_IS_LAST_FRAME,
+	MFC_DEC_GETCONF_IMG_RESOLUTION,
+	MFC_DEC_GETCONF_PHYS_ADDR
+}SSBSIP_MFC_DEC_CONF;
+
+typedef enum
+{
+	MFC_ENC_SETCONF_FRAME_TYPE = 100,	
+}SSBSIP_MFC_ENC_CONF;
+
+/* but, due to lack of memory, MFC driver use 5 as maximum */
+#define MFC_MEM_NONCACHED		0 
+#define MFC_MEM_CACHED			1
+
+typedef struct {
+	MFC_CODEC_TYPE in_codec_type;	/* [IN]  codec type */
+	unsigned int in_dpb_addr;	/* [IN]  DPB buffer address */
+	int in_width;		/* [IN] width of YUV420 frame to be encoded */
+	int in_height;		/* [IN] height of YUV420 frame to be encoded */
+	int in_profile_level;	/* [IN]  profile & level */
+	int in_gop_num;		/* [IN]  GOP Number (interval of I-frame) */
+	int in_vop_quant;	/* [IN]  VOP quant */
+
+	int in_RC_enable;    /* [IN]  RC enable (0:disable, 1:frame level RC) */
+	int in_RC_framerate; /* [IN]  RC parameter (framerate) */
+	int in_RC_bitrate;   /* [IN]  RC parameter (bitrate in kbps) */
+	int in_RC_qbound;    /* [IN]  RC parameter (Q bound) */
+	int in_RC_rpara;     /* [IN]  RC parameter (Reaction Coefficient) */
+
+	/* [IN] MB level rate control dark region adaptive feature */
+	int in_RC_mb_dark_disable;	/* (0:enable,1:disable) */ 
+	/* [IN] MB level rate control smooth region adaptive feature */ 
+	int in_RC_mb_smooth_disable;	/* (0:enable,1:disable) */
+	/* [IN] MB level rate control static region adaptive feature */
+	int in_RC_mb_static_disable;	/* (0:enable,1:disable) */
+	/* [IN] MB level rate control activity region adaptive feature */
+	int in_RC_mb_activity_disable;	/* (0:enable,1:disable) */
+
+	int in_MS_mode;	     /* [IN] Multi-slice mode (0:single, 1:multiple) */
+	int in_MS_size_mode; /* [IN] Multislice size mode(0:mb number,1:byte) */
+	int in_MS_size;      /* [IN] Multi-slice size (in num. of mb or byte) */
+
+	int in_mb_refresh;     		/* [IN]  Macroblock refresh */
+
+} s3c_mfc_enc_init_mpeg4_arg_t;
+
+typedef s3c_mfc_enc_init_mpeg4_arg_t s3c_mfc_enc_init_h263_arg_t;
+
+typedef struct {
+	MFC_CODEC_TYPE in_codec_type;	/* [IN] codec type */
+	unsigned int in_dpb_addr;	/* [IN]  DPB buffer address */
+	int in_width;		/* [IN] width  of YUV420 frame to be encoded */
+	int in_height;		/* [IN] height of YUV420 frame to be encoded */
+	int in_profile_level;	/* [IN] profile & level */
+	int in_gop_num;		/* [IN] GOP Number (interval of I-frame) */
+	int in_vopQuant;	/* [IN] VOP quant */
+
+	/* [IN]  RC enable */
+	int in_RC_enable;	/* (0:disable,1:MB level RC,2:frame level RC) */
+	int in_RC_framerate;	/* [IN]  RC parameter (framerate) */
+	int in_RC_bitrate;	/* [IN]  RC parameter (bitrate in kbps) */
+	int in_RC_qbound;	/* [IN]  RC parameter (Q bound) */
+	int in_RC_rpara;	/* [IN]  RC parameter (Reaction Coefficient) */
+
+	/* [IN] MB level rate control dark region adaptive feature */
+	int in_RC_mb_dark_disable;	/* (0:enable, 1:disable) */
+	/* [IN] MB level rate control smooth region adaptive feature */
+	int in_RC_mb_smooth_disable;	/* (0:enable, 1:disable) */
+	/* [IN] MB level rate control static region adaptive feature */
+	int in_RC_mb_static_disable;	/* (0:enable, 1:disable) */
+	/* [IN] MB level rate control activity region adaptive feature */
+	int in_RC_mb_activity_disable;	/* (0:enable, 1:disable) */
+
+	int in_MS_mode;      /* [IN] Multi-slice mode (0:single, 1:multiple) */
+	int in_MS_size_mode; /* [IN] Multi-slice size mode(0:mb number,1:byte)*/
+	int in_MS_size;      /* [IN] Multi-slice size (in num. of mb or byte) */
+
+	int in_mb_refresh;   /* [IN] Macroblock refresh */
+
+	/* [IN]  ( 0 : CAVLC, 1 : CABAC ) */
+	int in_symbolmode;
+	/* [IN]  model number for fixed decision for inter slices (0,1,2) */
+	int in_model_number;
+	/* [IN]  disable deblocking filter idc */
+	int in_deblock_filt; /* (0: all,1: disable,2: except slice boundary) */
+	/* [IN]  slice alpha C0 offset of deblocking filter */
+	int in_deblock_alpha_C0;
+	/* [IN]  slice beta offset of deblocking filter */
+	int in_deblock_beta;		
+
+} s3c_mfc_enc_init_h264_arg_t;
+
+typedef struct {
+	MFC_CODEC_TYPE in_codec_type; /* [IN] codec type */
+	unsigned int in_Y_addr;   /*[IN]In-buffer addr of Y component */
+	unsigned int in_CbCr_addr;/*[IN]In-buffer addr of CbCr component */
+	unsigned int in_strm_st;  /*[IN]Out-buffer start addr of encoded strm*/
+	unsigned int in_strm_end; /*[IN]Out-buffer end addr of encoded strm */
+	unsigned int out_frame_type; /* [OUT] frame type  */
+	int out_encoded_size;        /* [OUT] Length of Encoded video stream */
+	int out_header_size;         /* [OUT] Length of video stream header */
+} s3c_mfc_enc_exe_arg;
+
+typedef struct {
+	MFC_CODEC_TYPE in_codec_type; /* [IN] codec type */
+	int in_strm_buf;  /* [IN] the physical address of STRM_BUF */
+	int in_strm_size; /* [IN] Size of video stream filled in STRM_BUF */
+
+	/* [IN]  Is packed PB frame or not, 1: packedPB  0: unpacked */
+	int in_packed_PB;
+	
+	int out_img_width;	/* [OUT] width  of YUV420 frame */
+	int out_img_height;	/* [OUT] height of YUV420 frame */
+	int out_buf_width;	/* [OUT] width  of YUV420 frame */
+	int out_buf_height;	/* [OUT] height of YUV420 frame */
+
+	/* [OUT] the number of buffers which is nessary during decoding. */
+	int out_dpb_cnt; 
+} s3c_mfc_dec_init_arg_t;
+
+typedef struct {
+	MFC_CODEC_TYPE in_codec_type; /* [IN]  codec type */
+	int in_strm_buf;  /* [IN] the physical address of STRM_BUF */
+	int in_strm_size; /* [IN] Size of video stream filled in STRM_BUF */
+	int in_frm_buf;   /* [IN] the address of STRM_BUF */
+	int in_frm_size;  /* [IN] Size of video stream filled in STRM_BUF */
+} s3c_mfc_dec_seq_start_arg_t;
+
+typedef struct {
+	MFC_CODEC_TYPE in_codec_type; /* [IN] codec type */
+	int in_strm_buf;  /* [IN] the physical address of STRM_BUF */
+	int in_strm_size; /* [IN] Size of video stream filled in STRM_BUF */
+
+	/* [IN]  Is packed PB frame or not, 1: packedPB  0: unpacked */
+	int in_packed_PB;
+	
+	int out_img_width;	/* [OUT] width  of YUV420 frame */
+	int out_img_height;	/* [OUT] height of YUV420 frame */
+	int out_buf_width;	/* [OUT] width  of YUV420 frame */
+	int out_buf_height;	/* [OUT] height of YUV420 frame */
+
+	/* [OUT] the number of buffers which is nessary during decoding. */
+	int out_dpb_cnt; 
+
+	int in_frm_buf;   /* [IN] the address of STRM_BUF */
+	int in_frm_size;  /* [IN] Size of video stream filled in STRM_BUF */
+
+	char in_cache_flag;
+	//int in_buff_size;
+	unsigned int in_cached_mapped_addr;
+	unsigned int in_non_cached_mapped_addr;
+	unsigned int out_u_addr;
+
+	unsigned int out_p_addr;
+
+	int out_frame_buf_size;
+} s3c_mfc_dec_super_init_arg_t;
+
+typedef struct {
+	MFC_CODEC_TYPE in_codec_type;/* [IN]  codec type */
+	int in_strm_buf;  /* [IN]  the physical address of STRM_BUF */
+	int in_strm_size; /* [IN]  Size of video stream filled in STRM_BUF */
+	int in_frm_buf;   /* [IN]  the address of STRM_BUF */
+	int in_frm_size;  /* [IN]  Size of video stream filled in STRM_BUF */
+	int out_display_Y_addr; /* [OUT]  the physical address of display buf */
+	int out_display_C_addr; /* [OUT]  the physical address of display buf */
+
+	/*
+	 * [OUT] whether display frame exist or not.
+	 * (0:no more frame, 1:frame exist)
+	 */
+	int out_display_status; 
+} s3c_mfc_dec_exe_arg_t;
+
+typedef struct {
+	int in_config_param;	/* [IN] Configurable parameter type */
+
+	/* [IN] Values to get for the configurable parameter. */
+	int out_config_value[2];
+	/* Maximum two integer values can be obtained; */
+} s3c_mfc_get_config_arg_t;
+
+typedef struct {
+	int in_config_param; /* [IN] Configurable parameter type */
+
+	/* [IN]  Values to be set for the configurable parameter. */
+	int in_config_value[2];
+	/* Maximum two integer values can be set. */
+
+	/* [OUT] Old values of the configurable parameters */
+	int out_config_value_old[2];
+} s3c_mfc_set_config_arg_t;
+
+typedef struct tag_get_phys_addr_arg
+{
+	unsigned int u_addr;
+	unsigned int p_addr;
+} s3c_mfc_get_phys_addr_arg_t;
+
+typedef struct tag_mem_alloc_arg
+{
+	char cache_flag;
+	int buff_size;
+	unsigned int cached_mapped_addr;
+	unsigned int non_cached_mapped_addr;
+	unsigned int out_addr;
+} s3c_mfc_mem_alloc_arg_t;
+
+typedef struct tag_mem_free_arg_t
+{
+	unsigned int u_addr;
+} s3c_mfc_mem_free_arg_t;
+
+typedef union {
+	s3c_mfc_enc_init_mpeg4_arg_t enc_init_mpeg4;
+	s3c_mfc_enc_init_h263_arg_t enc_init_h263;
+	s3c_mfc_enc_init_h264_arg_t enc_init_h264;
+
+	s3c_mfc_enc_exe_arg enc_exe;
+	s3c_mfc_dec_init_arg_t dec_init;
+	s3c_mfc_dec_seq_start_arg_t dec_seq_start;
+	s3c_mfc_dec_super_init_arg_t dec_super_init;
+	s3c_mfc_dec_exe_arg_t dec_exe;
+	s3c_mfc_get_config_arg_t get_config;
+	s3c_mfc_set_config_arg_t set_config;
+
+	s3c_mfc_mem_alloc_arg_t mem_alloc;
+	s3c_mfc_mem_free_arg_t mem_free;
+	s3c_mfc_get_phys_addr_arg_t get_phys_addr;
+} s3c_mfc_args;
+
+typedef struct tag_mfc_args{
+	MFC_ERROR_CODE ret_code; /* [OUT] error code */
+	s3c_mfc_args args;
+} s3c_mfc_common_args;
+
+#define ENC_PROFILE_LEVEL(profile, level)      ((profile) | ((level) << 8))
+
+#define ENC_PROFILE_MPEG4_SP                   0
+#define ENC_PROFILE_MPEG4_ASP                  1
+#define ENC_PROFILE_H264_BP                    0
+#define ENC_PROFILE_H264_MAIN                  1
+#define ENC_PROFILE_H264_HIGH                  2
+
+
+#define ENC_RC_DISABLE                         0
+#define ENC_RC_ENABLE_MACROBLOCK               1
+#define ENC_RC_ENABLE_FRAME                    2
+
+#define ENC_RC_QBOUND(min_qp, max_qp)          ((min_qp) | ((max_qp) << 8))
+#define ENC_RC_MB_CTRL_DARK_DISABLE            (1 << 3)
+#define ENC_RC_MB_CTRL_SMOOTH_DISABLE          (1 << 2)
+#define ENC_RC_MB_CTRL_STATIC_DISABLE          (1 << 1)
+#define ENC_RC_MB_CTRL_ACTIVITY_DISABLE        (1 << 0)
+
+
+#endif /* _S3C_MFC_INTERFACE_H_ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_intr.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_intr.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_intr.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_intr.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,96 @@
+/*
+ * drivers/media/video/samsung/mfc40/s3c_mfc_intr.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/delay.h>
+#include <linux/errno.h>
+#include <linux/wait.h>
+#include <linux/sched.h>
+#include <linux/io.h>
+
+#include <plat/regs-mfc.h>
+
+#include "s3c_mfc_intr.h"
+#include "s3c_mfc_logmsg.h"
+#include "s3c_mfc_common.h"
+#include "s3c_mfc_types.h"
+#include "s3c_mfc_memory.h"
+
+extern wait_queue_head_t	s3c_mfc_wait_queue;
+extern unsigned int  		s3c_mfc_int_type;
+
+extern void __iomem		*s3c_mfc_sfr_virt_base;
+
+static int s3c_mfc_wait_polling(unsigned int PollingRegAddress)
+{
+	int i;
+	volatile unsigned int uRegData=0;
+	unsigned int waitLoop = 1000; /* 1000msec */
+
+
+	for (i = 0; (i < waitLoop) && (uRegData == 0) ;i++) {
+		mdelay(1);
+		uRegData = readl(s3c_mfc_sfr_virt_base + PollingRegAddress);
+	}
+
+	if (uRegData == 0) {
+		mfc_err("Polling Time Out(Reg : 0x%x)\n", PollingRegAddress);
+		return 0;
+	}
+
+	return 1;
+
+}
+
+int s3c_mfc_wait_for_done(s3c_mfc_wait_done_type command)
+{
+	unsigned int retVal = 1; 
+
+	switch(command){
+	case MFC_POLLING_DMA_DONE :
+		retVal = s3c_mfc_wait_polling(S3C_FIMV_DONE_M);
+		break;
+
+	case MFC_POLLING_HEADER_DONE :
+		retVal = s3c_mfc_wait_polling(S3C_FIMV_HEADER_DONE);
+		break;
+
+	case MFC_POLLING_OPERATION_DONE :
+		retVal = s3c_mfc_wait_polling(S3C_FIMV_OPERATION_DONE);
+		break;
+
+	case MFC_POLLING_FW_DONE :
+		retVal = s3c_mfc_wait_polling(S3C_FIMV_FW_DONE);
+		break;
+
+	case MFC_INTR_FRAME_DONE :
+	case MFC_INTR_DMA_DONE :
+	case MFC_INTR_FW_DONE :
+	case MFC_INTR_FRAME_FW_DONE:
+		if (interruptible_sleep_on_timeout(&s3c_mfc_wait_queue, 1000) == 0) {
+			retVal = 0;
+			mfc_err("Interrupt Time Out(%d)\n", command);
+			break;
+		}
+
+		retVal = s3c_mfc_int_type;
+		s3c_mfc_int_type = 0;
+		break;		
+
+	default : 
+			mfc_err("undefined command\n");
+			retVal = 0;
+	}
+
+	return retVal;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_intr.h linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_intr.h
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_intr.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_intr.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,21 @@
+/* 
+ * drivers/media/video/samsung/mfc40/s3c_mfc_intr.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_INTR_H_
+#define _S3C_MFC_INTR_H_
+
+#include "s3c_mfc_common.h"
+
+int s3c_mfc_wait_for_done(s3c_mfc_wait_done_type command);
+
+#endif /* _S3C_MFC_INTR_H_ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.h linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.h
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,60 @@
+/* 
+ * drivers/media/video/samsung/mfc40/s3c_mfc_logmsg.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_LOGMSG_H_
+#define _S3C_MFC_LOGMSG_H_
+
+/* debug macros */
+#define MFC_DEBUG(fmt, ...)					\
+	do {							\
+		printk(KERN_DEBUG				\
+			"%s: " fmt, __func__, ##__VA_ARGS__);	\
+	} while(0)
+
+#define MFC_ERROR(fmt, ...)					\
+	do {							\
+		printk(KERN_ERR					\
+			"%s: " fmt, __func__, ##__VA_ARGS__);	\
+	} while (0)
+
+#define MFC_NOTICE(fmt, ...)					\
+	do {							\
+		printk(KERN_NOTICE				\
+			fmt, ##__VA_ARGS__);			\
+	} while (0)
+
+#define MFC_INFO(fmt, ...)					\
+	do {							\
+		printk(KERN_INFO				\
+			fmt, ##__VA_ARGS__);			\
+	} while (0)
+
+#define MFC_WARN(fmt, ...)					\
+	do {							\
+		printk(KERN_WARNING				\
+			fmt, ##__VA_ARGS__);			\
+	} while (0)
+
+
+#ifdef CONFIG_VIDEO_MFC40_DEBUG
+#define mfc_debug(fmt, ...)		MFC_DEBUG(fmt, ##__VA_ARGS__)
+#else
+#define mfc_debug(fmt, ...)
+#endif
+
+#define mfc_err(fmt, ...)		MFC_ERROR(fmt, ##__VA_ARGS__)
+#define mfc_notice(fmt, ...)		MFC_NOTICE(fmt, ##__VA_ARGS__)
+#define mfc_info(fmt, ...)		MFC_INFO(fmt, ##__VA_ARGS__)
+#define mfc_warn(fmt, ...)		MFC_WARN(fmt, ##__VA_ARGS__)
+
+#endif /* _S3C_MFC_LOGMSG_H_ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_memory.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_memory.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_memory.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_memory.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,70 @@
+/*
+ * drivers/media/video/samsung/mfc40/s3c_mfc_memory.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/mm.h>
+#include <linux/slab.h>
+#include <linux/string.h>
+#include <mach/map.h>
+#include <asm/io.h>
+#include <asm/uaccess.h>
+#include <asm/sizes.h>
+#include <asm/memory.h>
+
+#include "s3c_mfc_memory.h"
+#include "s3c_mfc_logmsg.h"
+#include "s3c_mfc_types.h"
+#include "s3c_mfc_interface.h"
+
+extern volatile unsigned char	*s3c_mfc_virt_fw_buf;
+extern void __iomem		*s3c_mfc_sfr_virt_base;
+
+volatile unsigned char *s3c_mfc_get_fw_buf_virt_addr()
+{
+	return (volatile unsigned char *)s3c_mfc_virt_fw_buf;      
+}
+
+volatile unsigned char *s3c_mfc_get_vsp_buf_virt_addr(int instNo)	
+{
+	volatile unsigned char *virAddr;
+
+	virAddr = s3c_mfc_virt_fw_buf + MFC_MAX_FW_NUM*FIRMWARE_CODE_SIZE + instNo*VSP_BUF_SIZE;
+	return virAddr; 
+}
+
+unsigned int s3c_mfc_get_sfr_phys_addr()
+{
+	return (unsigned int)S5PC1XX_PA_MFC;
+}
+
+unsigned int s3c_mfc_get_fw_buf_phys_addr()
+{
+	return (unsigned int)__virt_to_phys((unsigned int)s3c_mfc_virt_fw_buf); /* IMAGE_MFC_BUFFER_PA_START; */
+}
+
+unsigned int s3c_mfc_get_vsp_buf_phys_addr(int instNo)
+{
+	unsigned int phyAddr;
+
+	phyAddr = s3c_mfc_get_fw_buf_phys_addr() + MFC_MAX_FW_NUM*FIRMWARE_CODE_SIZE + instNo * VSP_BUF_SIZE+DB_STT_SIZE;
+	return phyAddr; 
+}
+
+unsigned int s3c_mfc_get_data_buffer_size(void)
+{
+	unsigned int out = 0;
+#ifdef CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC
+	out = CONFIG_VIDEO_SAMSUNG_MEMSIZE_MFC * SZ_1K;
+#endif
+	return out;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_memory.h linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_memory.h
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_memory.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_memory.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,44 @@
+/* 
+ * drivers/media/video/samsung/mfc40/s3c_mfc_memory.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_MEMORY_H_
+#define _S3C_MFC_MEMORY_H_
+
+#include "s3c_mfc_common.h"
+#include "s3c_mfc_types.h"
+
+#ifdef CONFIG_VIDEO_MFC_MAX_INSTANCE
+#define MFC_MAX_INSTANCE_NUM (CONFIG_VIDEO_MFC_MAX_INSTANCE + 1)
+#endif
+
+#define MFC_MAX_FW_NUM		(8)
+#define MFC_MAX_WIDTH		(1280)
+#define MFC_MAX_HEIGHT		(720)
+
+/* All buffer size have to be aligned to 64 */
+#define FIRMWARE_CODE_SIZE	(98304) /* 98,304 byte */
+#define VSP_BUF_SIZE		(393216) /* 393,216 byte */
+#define DB_STT_SIZE		(MFC_MAX_WIDTH*4*32) /* 163,840 byte */
+
+
+#define MFC_SFR_BUF_SIZE	sizeof(S5PC100_MFC_SFR)
+#define MFC_FW_BUF_SIZE		((MFC_MAX_FW_NUM * FIRMWARE_CODE_SIZE) + (MFC_MAX_INSTANCE_NUM + 1) * (VSP_BUF_SIZE + DB_STT_SIZE)) /* 3,014,656 */
+
+volatile unsigned char *s3c_mfc_get_fw_buf_virt_addr(void);
+volatile unsigned char *s3c_mfc_get_vsp_buf_virt_addr(int instNo);
+unsigned int s3c_mfc_get_sfr_phys_addr(void);
+unsigned int s3c_mfc_get_fw_buf_phys_addr(void);
+unsigned int s3c_mfc_get_vsp_buf_phys_addr(int instNo);
+unsigned int s3c_mfc_get_data_buffer_size(void);
+
+#endif /* _S3C_MFC_MEMORY_H_ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_opr.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_opr.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_opr.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_opr.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,820 @@
+/*
+ * drivers/media/video/samsung/mfc40/s3c_mfc_opr.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/delay.h>
+#include <linux/mm.h>
+#include <linux/io.h>
+#include <plat/regs-mfc.h>
+
+#include "s3c_mfc_common.h"
+#include "s3c_mfc_opr.h"
+#include "s3c_mfc_logmsg.h"
+#include "s3c_mfc_memory.h"
+#include "s3c_mfc_fw.h"
+#include "s3c_mfc_buffer_manager.h"
+#include "s3c_mfc_interface.h"
+
+extern void __iomem *s3c_mfc_sfr_virt_base;
+extern dma_addr_t s3c_mfc_phys_data_buf;
+extern unsigned char *s3c_mfc_virt_data_buf;
+
+#define READL(offset)		readl(s3c_mfc_sfr_virt_base + (offset))
+#define WRITEL(data, offset)	writel((data), s3c_mfc_sfr_virt_base + (offset))
+
+static void s3c_mfc_cmd_reset(void);
+static void s3c_mfc_cmd_fw_start(void);
+static void s3c_mfc_cmd_dma_start(void);
+static void s3c_mfc_cmd_seq_start(void);
+static void s3c_mfc_cmd_frame_start(void);
+static void s3c_mfc_cmd_sleep(void);
+static void s3c_mfc_cmd_wakeup(void);
+static void s3c_mfc_backup_context(s3c_mfc_inst_ctx  *MfcCtx);
+static void s3c_mfc_restore_context(s3c_mfc_inst_ctx  *MfcCtx);
+static void s3c_mfc_set_codec_firmware(s3c_mfc_inst_ctx  *MfcCtx);
+static void s3c_mfc_set_encode_init_param(int inst_no, MFC_CODEC_TYPE mfc_codec_type, s3c_mfc_args *args);
+static MFC_ERROR_CODE s3c_mfc_set_dec_stream_buffer(int buf_addr, unsigned int buf_size);
+static MFC_ERROR_CODE s3c_mfc_set_dec_frame_buffer(s3c_mfc_inst_ctx  *MfcCtx, int buf_addr, unsigned int buf_size);
+static MFC_ERROR_CODE s3c_mfc_set_vsp_buffer(int InstNo);
+static MFC_ERROR_CODE s3c_mfc_decode_one_frame(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_dec_exe_arg_t *DecArg, unsigned int *consumedStrmSize);
+
+
+static void s3c_mfc_cmd_reset(void)
+{
+	WRITEL(1, S3C_FIMV_SW_RESET);
+	mdelay(10);
+	WRITEL(0, S3C_FIMV_SW_RESET);
+	WRITEL(0, S3C_FIMV_LAST_DEC);
+}
+
+static void s3c_mfc_cmd_fw_start(void)
+{
+	WRITEL(1, S3C_FIMV_FW_START);
+	WRITEL(1, S3C_FIMV_CPU_RESET);
+	mdelay(100);
+}
+
+static void s3c_mfc_cmd_dma_start(void)
+{
+	WRITEL(1, S3C_FIMV_DMA_START);
+}
+
+static void s3c_mfc_cmd_seq_start(void)
+{
+	WRITEL(1, S3C_FIMV_SEQ_START);
+}
+
+static void s3c_mfc_cmd_frame_start(void)
+{
+	WRITEL(1, S3C_FIMV_FRAME_START);
+}
+
+static void s3c_mfc_cmd_sleep()
+{
+	WRITEL(-1, S3C_FIMV_CH_ID);
+	WRITEL(MFC_SLEEP, S3C_FIMV_COMMAND_TYPE);
+}
+
+static void s3c_mfc_cmd_wakeup()
+{
+	WRITEL(-1, S3C_FIMV_CH_ID);
+	WRITEL(MFC_WAKEUP, S3C_FIMV_COMMAND_TYPE);
+	mdelay(100);
+}
+
+static void s3c_mfc_backup_context(s3c_mfc_inst_ctx  *MfcCtx)
+{
+	memcpy(MfcCtx->MfcSfr, s3c_mfc_sfr_virt_base, S3C_FIMV_REG_SIZE);
+}
+
+static void s3c_mfc_restore_context(s3c_mfc_inst_ctx  *MfcCtx)
+{
+	/*
+	memcpy(s3c_mfc_sfr_virt_base, MfcCtx->MfcSfr, S3C_FIMV_REG_SIZE);
+	*/
+}
+
+static MFC_ERROR_CODE s3c_mfc_set_dec_stream_buffer(int buf_addr, unsigned int buf_size)
+{
+	mfc_debug("buf_addr : 0x%08x  buf_size : %d\n", buf_addr, buf_size);
+
+	WRITEL(buf_addr & 0xfffffff8, S3C_FIMV_EXT_BUF_START_ADDR);
+	WRITEL(buf_addr + buf_size + 0x200, S3C_FIMV_EXT_BUF_END_ADDR);
+	WRITEL(buf_addr + buf_size + 0x200, S3C_FIMV_HOST_PTR);
+	WRITEL(8 - (buf_addr & 0x7), S3C_FIMV_START_BYTE_NUM);
+	WRITEL(buf_size, S3C_FIMV_DEC_UNIT_SIZE);
+
+	return MFCINST_RET_OK;
+}
+
+
+static MFC_ERROR_CODE s3c_mfc_set_dec_frame_buffer(s3c_mfc_inst_ctx  *MfcCtx, int buf_addr, unsigned int buf_size)
+{
+	unsigned int    Width, Height, FrameSize, dec_dpb_addr;
+
+
+	mfc_debug("buf_addr : 0x%08x  buf_size : %d\n", buf_addr, buf_size);
+
+	Width = (MfcCtx->img_width + 15)/16*16;
+	Height = (MfcCtx->img_height + 31)/32*32;
+	FrameSize = (Width*Height*3)>>1;
+
+	mfc_debug("width : %d height : %d framesize : %d buf_size : %d MfcCtx->DPBCnt :%d\n", \
+								Width, Height, FrameSize, buf_size, MfcCtx->DPBCnt);
+	if(buf_size < FrameSize*MfcCtx->totalDPBCnt){
+		mfc_err("MFCINST_ERR_FRM_BUF_SIZE\n");
+		return MFCINST_ERR_FRM_BUF_SIZE;
+	}
+
+	WRITEL(Align(buf_addr, BUF_ALIGN_UNIT), S3C_FIMV_DEC_DPB_ADR);
+	dec_dpb_addr = READL(S3C_FIMV_DEC_DPB_ADR);
+	WRITEL(Align(dec_dpb_addr + FrameSize*MfcCtx->DPBCnt, BUF_ALIGN_UNIT), S3C_FIMV_DPB_COMV_ADR);
+
+	if((MfcCtx->MfcCodecType == MPEG4_DEC) 
+			||(MfcCtx->MfcCodecType == MPEG2_DEC) 
+			||(MfcCtx->MfcCodecType == XVID_DEC) 
+			||(MfcCtx->MfcCodecType == DIVX_DEC) ) {
+		dec_dpb_addr = READL(S3C_FIMV_DEC_DPB_ADR);
+		WRITEL(Align(dec_dpb_addr + ((3*FrameSize*MfcCtx->DPBCnt)>>1), BUF_ALIGN_UNIT), S3C_FIMV_POST_ADR);
+	}
+
+	mfc_debug("DEC_DPB_ADR : 0x%08x DPB_COMV_ADR : 0x%08x POST_ADR : 0x%08x\n",	\
+		READL(S3C_FIMV_DEC_DPB_ADR), READL(S3C_FIMV_DPB_COMV_ADR), READL(S3C_FIMV_POST_ADR));
+
+
+	return MFCINST_RET_OK;
+}
+
+static MFC_ERROR_CODE s3c_mfc_set_vsp_buffer(int InstNo)
+{
+	unsigned int VSPPhyBuf;
+
+	VSPPhyBuf = s3c_mfc_get_vsp_buf_phys_addr(InstNo);
+	WRITEL(Align(VSPPhyBuf, BUF_ALIGN_UNIT), S3C_FIMV_VSP_BUF_ADDR);
+	WRITEL(Align(VSPPhyBuf + VSP_BUF_SIZE, BUF_ALIGN_UNIT), S3C_FIMV_DB_STT_ADDR);
+
+	mfc_debug("InstNo : %d VSP_BUF_ADDR : 0x%08x DB_STT_ADDR : 0x%08x\n",	\
+			InstNo, READL(S3C_FIMV_VSP_BUF_ADDR), READL(S3C_FIMV_DB_STT_ADDR));
+
+	return MFCINST_RET_OK;
+}
+
+
+static void s3c_mfc_set_codec_firmware(s3c_mfc_inst_ctx  *MfcCtx)
+{
+	unsigned int FWPhyBuf;
+
+	FWPhyBuf = s3c_mfc_get_fw_buf_phys_addr();
+
+	WRITEL(FWPhyBuf + s3c_mfc_get_fw_buf_offset(MPEG4_ENC), S3C_FIMV_FW_STT_ADR_0);
+	WRITEL(FWPhyBuf + s3c_mfc_get_fw_buf_offset(MPEG4_DEC), S3C_FIMV_FW_STT_ADR_1);
+	WRITEL(FWPhyBuf + s3c_mfc_get_fw_buf_offset(H264_ENC), S3C_FIMV_FW_STT_ADR_2);
+	WRITEL(FWPhyBuf + s3c_mfc_get_fw_buf_offset(H264_DEC), S3C_FIMV_FW_STT_ADR_3);
+	WRITEL(FWPhyBuf + s3c_mfc_get_fw_buf_offset(VC1_DEC), S3C_FIMV_FW_STT_ADR_4);
+	WRITEL(FWPhyBuf + s3c_mfc_get_fw_buf_offset(MPEG2_DEC), S3C_FIMV_FW_STT_ADR_5);
+	WRITEL(FWPhyBuf + s3c_mfc_get_fw_buf_offset(H263_DEC), S3C_FIMV_FW_STT_ADR_6);
+	WRITEL(s3c_mfc_get_fw_buf_size(MfcCtx->MfcCodecType), S3C_FIMV_BOOTCODE_SIZE);
+}
+
+
+/* This function sets the MFC SFR values according to the input arguments. */
+static void s3c_mfc_set_encode_init_param(int inst_no, MFC_CODEC_TYPE mfc_codec_type, s3c_mfc_args *args)
+{
+	unsigned int		ms_size;
+
+	s3c_mfc_enc_init_mpeg4_arg_t   *EncInitMpeg4Arg;
+	s3c_mfc_enc_init_h264_arg_t    *EncInitH264Arg;
+
+	EncInitMpeg4Arg = (s3c_mfc_enc_init_mpeg4_arg_t *) args;
+	EncInitH264Arg  = (s3c_mfc_enc_init_h264_arg_t  *) args;
+
+	mfc_debug("mfc_codec_type : %d\n", mfc_codec_type);
+
+	s3c_mfc_set_vsp_buffer(inst_no);
+
+	/* Set the other SFR */
+	WRITEL(EncInitMpeg4Arg->in_dpb_addr, S3C_FIMV_ENC_DPB_ADR);
+	WRITEL(EncInitMpeg4Arg->in_width, S3C_FIMV_IMG_SIZE_X);
+	WRITEL(EncInitMpeg4Arg->in_height, S3C_FIMV_IMG_SIZE_Y);
+	WRITEL(EncInitMpeg4Arg->in_profile_level, S3C_FIMV_PROFILE);
+	WRITEL(EncInitMpeg4Arg->in_gop_num, S3C_FIMV_IDR_PERIOD);
+	WRITEL(EncInitMpeg4Arg->in_gop_num, S3C_FIMV_I_PERIOD);
+	WRITEL(EncInitMpeg4Arg->in_vop_quant, S3C_FIMV_FRAME_QP_INIT);
+	WRITEL(0, S3C_FIMV_POST_ON);
+	WRITEL(EncInitMpeg4Arg->in_mb_refresh, S3C_FIMV_CIR_MB_NUM);
+
+	/* Rate Control options */
+	WRITEL((EncInitMpeg4Arg->in_RC_enable << 8) | (EncInitMpeg4Arg->in_vop_quant & 0x3F), S3C_FIMV_RC_CONFIG);
+
+	if (READL(S3C_FIMV_RC_CONFIG) & 0x0300) {
+		WRITEL(EncInitMpeg4Arg->in_RC_framerate, S3C_FIMV_RC_FRAME_RATE);
+		WRITEL(EncInitMpeg4Arg->in_RC_bitrate, S3C_FIMV_RC_BIT_RATE);
+		WRITEL(EncInitMpeg4Arg->in_RC_qbound, S3C_FIMV_RC_QBOUND);
+		WRITEL(EncInitMpeg4Arg->in_RC_rpara, S3C_FIMV_RC_RPARA);
+		WRITEL(0, S3C_FIMV_RC_MB_CTRL);
+	}
+
+	/* Multi-slice options */
+	WRITEL(EncInitMpeg4Arg->in_MS_mode, S3C_FIMV_MSLICE_ENA);
+
+	if (EncInitMpeg4Arg->in_MS_mode) {
+		WRITEL(EncInitMpeg4Arg->in_MS_size_mode, S3C_FIMV_MSLICE_SEL);
+		if (EncInitMpeg4Arg->in_MS_size_mode == 0) {
+			WRITEL(EncInitMpeg4Arg->in_MS_size, S3C_FIMV_MSLICE_MB);
+			WRITEL(0, S3C_FIMV_MSLICE_BYTE);
+		} else {
+			ms_size = (mfc_codec_type == H264_ENC) ? EncInitMpeg4Arg->in_MS_size : 0;
+			WRITEL(ms_size, S3C_FIMV_MSLICE_MB);
+			WRITEL(EncInitMpeg4Arg->in_MS_size, S3C_FIMV_MSLICE_BYTE);
+		}
+	}
+
+	switch (mfc_codec_type) {
+	case MPEG4_ENC:
+		/* MPEG4 encoder */
+		WRITEL(0, S3C_FIMV_ENTROPY_CON);
+		WRITEL(0, S3C_FIMV_DEBLOCK_FILTER_OPTION);
+		WRITEL(0, S3C_FIMV_SHORT_HD_ON);
+		break;
+
+	case H263_ENC:
+		/* H263 encoder */
+		WRITEL(0, S3C_FIMV_ENTROPY_CON);
+		WRITEL(0, S3C_FIMV_DEBLOCK_FILTER_OPTION);
+		WRITEL(1, S3C_FIMV_SHORT_HD_ON);
+
+		break;
+
+	case H264_ENC:
+		/* H.264 encoder */
+		WRITEL((EncInitH264Arg->in_symbolmode & 0x1) | (EncInitH264Arg->in_model_number << 2), S3C_FIMV_ENTROPY_CON);
+		WRITEL((EncInitH264Arg->in_deblock_filt & 0x3)
+				| ((EncInitH264Arg->in_deblock_alpha_C0 & 0x1f) << 7)
+				| ((EncInitH264Arg->in_deblock_beta     & 0x1f) << 2), S3C_FIMV_DEBLOCK_FILTER_OPTION);
+		WRITEL(0, S3C_FIMV_SHORT_HD_ON);
+		break;
+
+	default:
+		mfc_err("Invalid MFC codec type\n");
+	}
+
+}
+
+BOOL s3c_mfc_load_firmware()
+{
+	volatile unsigned char *FWVirBuf;
+
+	mfc_debug("s3c_mfc_load_firmware++\n");
+
+	FWVirBuf = s3c_mfc_get_fw_buf_virt_addr();
+	memcpy((void *)FWVirBuf + s3c_mfc_get_fw_buf_offset(MPEG4_ENC), mp4_enc_mc_fw, sizeof(mp4_enc_mc_fw));
+	memcpy((void *)FWVirBuf + s3c_mfc_get_fw_buf_offset(MPEG4_DEC), mp4_dec_mc_fw, sizeof(mp4_dec_mc_fw));
+	memcpy((void *)FWVirBuf + s3c_mfc_get_fw_buf_offset(H264_ENC), h264_enc_mc_fw, sizeof(h264_enc_mc_fw));
+	memcpy((void *)FWVirBuf + s3c_mfc_get_fw_buf_offset(H264_DEC), h264_dec_mc_fw, sizeof(h264_dec_mc_fw));
+	memcpy((void *)FWVirBuf + s3c_mfc_get_fw_buf_offset(VC1_DEC), vc1_dec_mc_fw, sizeof(vc1_dec_mc_fw));
+	memcpy((void *)FWVirBuf + s3c_mfc_get_fw_buf_offset(MPEG2_DEC), mp2_dec_mc_fw, sizeof(mp2_dec_mc_fw));
+	memcpy((void *)FWVirBuf + s3c_mfc_get_fw_buf_offset(H263_DEC), h263_dec_mc_fw, sizeof(h263_dec_mc_fw));
+	memcpy((void *)FWVirBuf + s3c_mfc_get_fw_buf_offset(COM_CTRL), cmd_ctrl_fw, sizeof(cmd_ctrl_fw));
+
+	mfc_debug("s3c_mfc_load_firmware--\n");
+	return TRUE;
+}
+
+MFC_ERROR_CODE s3c_mfc_init_hw()
+{
+	unsigned int FWPhyBuf;
+	unsigned int VSPPhyBuf;
+
+	mfc_debug("++\n");
+
+	FWPhyBuf = s3c_mfc_get_fw_buf_phys_addr();
+
+	/*
+	 * 0. MFC reset
+	 */
+	s3c_mfc_cmd_reset();
+
+	/* 1. DMA start
+	 * 	- load command contrl firmware
+	 */
+	WRITEL(0, S3C_FIMV_BITS_ENDIAN);
+	WRITEL(0, S3C_FIMV_ARM_ENDIAN);
+	WRITEL(1, S3C_FIMV_BUS_MASTER);
+
+	WRITEL(FWPhyBuf + s3c_mfc_get_fw_buf_offset(COM_CTRL), S3C_FIMV_DMA_EXTADDR);
+	WRITEL(s3c_mfc_get_fw_buf_size(COM_CTRL)/4, S3C_FIMV_BOOTCODE_SIZE);
+	WRITEL(0, S3C_FIMV_DMA_INTADDR);
+
+	WRITEL(INT_LEVEL_BIT, S3C_FIMV_INT_MODE);
+	WRITEL(0, S3C_FIMV_INT_OFF);
+	WRITEL(1, S3C_FIMV_INT_DONE_CLEAR);
+	WRITEL(INT_MFC_DMA_DONE, S3C_FIMV_INT_MASK);
+
+
+	s3c_mfc_cmd_dma_start();
+
+	if(s3c_mfc_wait_for_done(MFC_INTR_DMA_DONE) == 0){
+		mfc_err("MFCINST_ERR_FW_DMA_SET_FAIL\n");
+		return MFCINST_ERR_FW_DMA_SET_FAIL;
+	}
+
+	/* 2. FW start
+	 * 	- set VSP buffer for command control
+	 * 	- set memory structure
+	 */
+	VSPPhyBuf = s3c_mfc_get_vsp_buf_phys_addr(MFC_MAX_INSTANCE_NUM);
+	WRITEL(Align(VSPPhyBuf, BUF_ALIGN_UNIT), S3C_FIMV_VSP_BUF_ADDR);
+
+	WRITEL(0, S3C_FIMV_BUS_MASTER);
+	WRITEL(1, S3C_FIMV_BITS_ENDIAN);
+	WRITEL(1, S3C_FIMV_INT_DONE_CLEAR);
+	WRITEL(INT_MFC_FRAME_DONE | INT_MFC_FW_DONE, S3C_FIMV_INT_MASK);
+	WRITEL(MEM_STRUCT_LINEAR, S3C_FIMV_TILE_MODE);
+
+	s3c_mfc_cmd_fw_start();
+
+	mfc_debug("--", "VSP_BUF_ADDR : 0x%08x DB_STT_ADDR : 0x%08x\n", \
+			READL(S3C_FIMV_VSP_BUF_ADDR), READL(S3C_FIMV_DB_STT_ADDR));
+
+	return MFCINST_RET_OK;
+}
+
+MFC_ERROR_CODE s3c_mfc_init_encode(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_args *args)
+{
+	mfc_debug("++\n");
+
+	MfcCtx->MfcCodecType = ((MFC_CODEC_TYPE *) args)[0];
+
+	/* 3. CHANNEL SET
+	 * 	- set codec firmware
+	 * 	- set codec_type/channel_id/post_on
+	 */
+
+	s3c_mfc_set_codec_firmware(MfcCtx);
+
+	WRITEL(s3c_mfc_get_codec_type(MfcCtx->MfcCodecType), S3C_FIMV_STANDARD_SEL);
+	WRITEL(MFC_CHANNEL_SET, S3C_FIMV_COMMAND_TYPE);
+	WRITEL(MfcCtx->InstNo, S3C_FIMV_CH_ID);
+	WRITEL(0, S3C_FIMV_POST_ON);
+	WRITEL(1, S3C_FIMV_BITS_ENDIAN);
+
+	WRITEL(INT_LEVEL_BIT, S3C_FIMV_INT_MODE);
+	WRITEL(0, S3C_FIMV_INT_OFF);
+	WRITEL(1, S3C_FIMV_INT_DONE_CLEAR);
+	WRITEL((INT_MFC_FRAME_DONE|INT_MFC_FW_DONE), S3C_FIMV_INT_MASK);
+
+	s3c_mfc_cmd_frame_start();
+
+	if(s3c_mfc_wait_for_done(MFC_INTR_FRAME_DONE) == 0){
+		mfc_err("MFCINST_ERR_FW_LOAD_FAIL\n");
+		return MFCINST_ERR_FW_LOAD_FAIL;
+	}
+
+	/* 4. INIT CODEC
+	 * 	- change Endian(important!!!)
+	 * 	- set Encoder Init SFR
+	 */
+
+	s3c_mfc_set_encode_init_param(MfcCtx->InstNo, MfcCtx->MfcCodecType, args);
+
+	WRITEL(s3c_mfc_get_codec_type(MfcCtx->MfcCodecType), S3C_FIMV_STANDARD_SEL);
+	WRITEL(MfcCtx->InstNo, S3C_FIMV_CH_ID);
+	WRITEL(MFC_INIT_CODEC, S3C_FIMV_COMMAND_TYPE);
+	WRITEL(1, S3C_FIMV_BITS_ENDIAN);
+	WRITEL(INT_LEVEL_BIT, S3C_FIMV_INT_MODE);
+	WRITEL(0, S3C_FIMV_INT_OFF);
+	WRITEL(1, S3C_FIMV_INT_DONE_CLEAR);
+	WRITEL((INT_MFC_FRAME_DONE|INT_MFC_FW_DONE), S3C_FIMV_INT_MASK);
+
+	s3c_mfc_cmd_frame_start();
+
+	if(s3c_mfc_wait_for_done(MFC_INTR_FRAME_DONE) == 0){
+		mfc_err("MFCINST_ERR_FW_LOAD_FAIL\n");
+		return MFCINST_ERR_FW_LOAD_FAIL;
+	}
+
+	s3c_mfc_backup_context(MfcCtx);
+	mfc_debug("--\n");
+	return MFCINST_RET_OK;
+}
+
+
+MFC_ERROR_CODE s3c_mfc_exe_encode(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_args *args)
+{
+	s3c_mfc_enc_exe_arg          *EncExeArg;
+
+	/* 
+	 * 5. Encode Frame
+	 */
+
+	EncExeArg = (s3c_mfc_enc_exe_arg *) args;
+	mfc_debug("++ EncExeArg->in_strm_st : 0x%08x EncExeArg->in_strm_end :0x%08x \r\n", \
+								EncExeArg->in_strm_st, EncExeArg->in_strm_end);
+	mfc_debug("EncExeArg->in_Y_addr : 0x%08x EncExeArg->in_CbCr_addr :0x%08x \r\n",   \
+								EncExeArg->in_Y_addr, EncExeArg->in_CbCr_addr);
+
+	s3c_mfc_restore_context(MfcCtx);
+
+	s3c_mfc_set_vsp_buffer(MfcCtx->InstNo);
+
+	if ((MfcCtx->forceSetFrameType > DONT_CARE) && 		\
+		(MfcCtx->forceSetFrameType <= NOT_CODED)) {
+		WRITEL(MfcCtx->forceSetFrameType, S3C_FIMV_CODEC_COMMAND);
+		MfcCtx->forceSetFrameType = DONT_CARE;
+	} else 
+		WRITEL(DONT_CARE, S3C_FIMV_CODEC_COMMAND);
+	/*
+	if((EncExeArg->in_ForceSetFrameType >= DONT_CARE) && (EncExeArg->in_ForceSetFrameType <= NOT_CODED))
+		WRITEL(EncExeArg->in_ForceSetFrameType, S3C_FIMV_CODEC_COMMAND);
+	*/
+	/*
+	 * Set Interrupt
+	 */
+
+	WRITEL(EncExeArg->in_Y_addr, S3C_FIMV_ENC_CUR_Y_ADR);
+	WRITEL(EncExeArg->in_CbCr_addr, S3C_FIMV_ENC_CUR_CBCR_ADR);
+	WRITEL(EncExeArg->in_strm_st, S3C_FIMV_EXT_BUF_START_ADDR);
+	WRITEL(EncExeArg->in_strm_end, S3C_FIMV_EXT_BUF_END_ADDR);
+	WRITEL(EncExeArg->in_strm_st, S3C_FIMV_HOST_PTR);
+
+	WRITEL(MFC_FRAME_RUN, S3C_FIMV_COMMAND_TYPE);
+	WRITEL(MfcCtx->InstNo, S3C_FIMV_CH_ID);
+	WRITEL(s3c_mfc_get_codec_type(MfcCtx->MfcCodecType), S3C_FIMV_STANDARD_SEL);
+
+	WRITEL(INT_LEVEL_BIT, S3C_FIMV_INT_MODE);
+	WRITEL(0, S3C_FIMV_INT_OFF);
+	WRITEL(1, S3C_FIMV_INT_DONE_CLEAR);
+	WRITEL(1, S3C_FIMV_BITS_ENDIAN);
+	WRITEL((INT_MFC_FRAME_DONE|INT_MFC_FW_DONE), S3C_FIMV_INT_MASK);
+
+	s3c_mfc_cmd_frame_start();
+
+	if (s3c_mfc_wait_for_done(MFC_INTR_FRAME_DONE) == 0) {
+		mfc_err("MFCINST_ERR_ENC_ENCODE_DONE_FAIL\n");
+		return MFCINST_ERR_ENC_ENCODE_DONE_FAIL;
+	}
+
+	EncExeArg->out_frame_type = READL(S3C_FIMV_RET_VALUE);
+	EncExeArg->out_encoded_size = READL(S3C_FIMV_ENC_UNIT_SIZE);
+	EncExeArg->out_header_size  = READL(S3C_FIMV_ENC_HEADER_SIZE);
+
+
+	mfc_debug("-- frame type(%d) encodedSize(%d)\r\n", \
+		EncExeArg->out_frame_type, EncExeArg->out_encoded_size);
+	return MFCINST_RET_OK;
+}
+
+
+MFC_ERROR_CODE s3c_mfc_init_decode(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_args *args)
+{
+	MFC_ERROR_CODE   ret;
+	s3c_mfc_dec_init_arg_t *InitArg;
+	unsigned int FWPhyBuf;
+
+	mfc_debug("++\n");
+	InitArg = (s3c_mfc_dec_init_arg_t *)args;
+	FWPhyBuf = s3c_mfc_get_fw_buf_phys_addr();
+
+	/* Context setting from input param */
+	MfcCtx->MfcCodecType = InitArg->in_codec_type;
+	MfcCtx->IsPackedPB = InitArg->in_packed_PB;
+	
+	/* 3. CHANNEL SET
+	 * 	- set codec firmware
+	 * 	- set codec_type/channel_id/post_on
+	 */
+
+	s3c_mfc_set_codec_firmware(MfcCtx);
+
+	WRITEL(s3c_mfc_get_codec_type(MfcCtx->MfcCodecType), S3C_FIMV_STANDARD_SEL);
+	WRITEL(MFC_CHANNEL_SET, S3C_FIMV_COMMAND_TYPE);
+	WRITEL(MfcCtx->InstNo, S3C_FIMV_CH_ID);
+	WRITEL(MfcCtx->postEnable, S3C_FIMV_POST_ON);
+	WRITEL(INT_LEVEL_BIT, S3C_FIMV_INT_MODE);
+	WRITEL(0, S3C_FIMV_INT_OFF);
+	WRITEL(1, S3C_FIMV_INT_DONE_CLEAR);
+	WRITEL(INT_MFC_FRAME_DONE | INT_MFC_FW_DONE, S3C_FIMV_INT_MASK);
+	WRITEL(1, S3C_FIMV_BITS_ENDIAN);
+
+	s3c_mfc_cmd_frame_start();
+	
+	if((ret = s3c_mfc_wait_for_done(MFC_INTR_FRAME_DONE)) == 0){
+		mfc_err("MFCINST_ERR_FW_LOAD_FAIL\n");
+		return MFCINST_ERR_FW_LOAD_FAIL;
+	}
+
+	/* 4. INIT CODEC
+	 * 	- change Endian(important!!)
+	 * 	- set VSP buffer
+	 * 	- set Input Stream buffer
+	 * 	- set NUM_EXTRA_DPB
+	 */
+	s3c_mfc_set_vsp_buffer(MfcCtx->InstNo);
+	s3c_mfc_set_dec_stream_buffer(InitArg->in_strm_buf, InitArg->in_strm_size);
+
+	WRITEL(1, S3C_FIMV_BITS_ENDIAN);
+	WRITEL(MfcCtx->InstNo, S3C_FIMV_CH_ID);
+	WRITEL(s3c_mfc_get_codec_type(MfcCtx->MfcCodecType), S3C_FIMV_STANDARD_SEL);
+	WRITEL(MFC_INIT_CODEC, S3C_FIMV_COMMAND_TYPE);
+	WRITEL((MfcCtx->displayDelay<<16)|(0xFFFF & MfcCtx->extraDPB), S3C_FIMV_NUM_EXTRA_BUF);
+	
+	s3c_mfc_cmd_frame_start();
+
+	if(s3c_mfc_wait_for_done(MFC_POLLING_HEADER_DONE) == 0){
+		mfc_err("MFCINST_ERR_DEC_HEADER_DECODE_FAIL\n");
+		return MFCINST_ERR_DEC_HEADER_DECODE_FAIL;
+	}
+
+	/* out param & context setting from header decoding result */
+	MfcCtx->img_width = READL(S3C_FIMV_IMG_SIZE_X);
+	MfcCtx->img_height = READL(S3C_FIMV_IMG_SIZE_Y);
+
+	InitArg->out_img_width = READL(S3C_FIMV_IMG_SIZE_X);
+	InitArg->out_img_height = READL(S3C_FIMV_IMG_SIZE_Y);
+
+	/* in the case of VC1 interlace, height will be the multiple of 32
+	 * otherwise, height and width is the mupltiple of 16
+	 */
+	InitArg->out_buf_width = (READL(S3C_FIMV_IMG_SIZE_X)+ 15)/16*16;
+	InitArg->out_buf_height = (READL(S3C_FIMV_IMG_SIZE_Y) + 31)/32*32;
+
+
+	switch (MfcCtx->MfcCodecType) {
+	case H264_DEC: 
+		InitArg->out_dpb_cnt = (READL(S3C_FIMV_DPB_SIZE)*3)>>1; 
+		MfcCtx->DPBCnt = READL(S3C_FIMV_DPB_SIZE);
+		break;
+
+	case MPEG4_DEC:
+	case MPEG2_DEC: 
+	case DIVX_DEC: 
+	case XVID_DEC:
+		InitArg->out_dpb_cnt = ((NUM_MPEG4_DPB * 3) >> 1) + NUM_POST_DPB + MfcCtx->extraDPB;
+		MfcCtx->DPBCnt = NUM_MPEG4_DPB;
+		break;
+
+	case VC1_DEC:
+		InitArg->out_dpb_cnt = ((NUM_VC1_DPB * 3) >> 1)+ MfcCtx->extraDPB;
+		MfcCtx->DPBCnt = NUM_VC1_DPB + MfcCtx->extraDPB;
+		break;
+
+	default:
+		InitArg->out_dpb_cnt = ((NUM_MPEG4_DPB * 3) >> 1)+ NUM_POST_DPB + MfcCtx->extraDPB;
+		MfcCtx->DPBCnt = NUM_MPEG4_DPB;
+	}
+
+	MfcCtx->totalDPBCnt = InitArg->out_dpb_cnt;
+
+	mfc_debug("buf_width : %d buf_height : %d out_dpb_cnt : %d MfcCtx->DPBCnt : %d\n", \
+				InitArg->out_img_width, InitArg->out_img_height, InitArg->out_dpb_cnt, MfcCtx->DPBCnt);
+	mfc_debug("img_width : %d img_height : %d\n", \
+				InitArg->out_img_width, InitArg->out_img_height);
+
+	s3c_mfc_backup_context(MfcCtx);
+
+	mfc_debug("--\n");
+	return MFCINST_RET_OK;
+}
+
+
+MFC_ERROR_CODE s3c_mfc_start_decode_seq(s3c_mfc_inst_ctx *MfcCtx, s3c_mfc_args *args)
+{
+	int ret;
+	s3c_mfc_dec_seq_start_arg_t *seq_arg;
+	
+	/*
+	 * 5. SEQ start
+	 *    - set DPB buffer
+	 */
+	mfc_debug("++\n");
+
+	seq_arg = (s3c_mfc_dec_seq_start_arg_t *)args;
+
+	if ((ret = s3c_mfc_set_dec_frame_buffer(MfcCtx, seq_arg->in_frm_buf, seq_arg->in_frm_size)) != MFCINST_RET_OK)
+		return ret;
+
+	WRITEL(INT_LEVEL_BIT, S3C_FIMV_INT_MODE);
+	WRITEL(0, S3C_FIMV_INT_OFF);
+	WRITEL(1, S3C_FIMV_INT_DONE_CLEAR);
+	WRITEL(1, S3C_FIMV_BITS_ENDIAN);
+	WRITEL(INT_MFC_FRAME_DONE | INT_MFC_FW_DONE, S3C_FIMV_INT_MASK);
+
+	s3c_mfc_cmd_seq_start();
+
+	ret = s3c_mfc_wait_for_done(MFC_INTR_FRAME_DONE);
+	if(ret == 0)
+		return MFCINST_ERR_SEQ_START_FAIL;
+
+
+	return MFCINST_RET_OK;
+}
+
+static MFC_ERROR_CODE s3c_mfc_decode_one_frame(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_dec_exe_arg_t *DecArg, unsigned int *consumedStrmSize)
+{
+	int ret;
+	unsigned int frame_type;
+	static int count = 0;
+
+	count++;
+	
+	mfc_debug("++ IntNo%d(%d)\r\n", MfcCtx->InstNo, count);
+
+	s3c_mfc_restore_context(MfcCtx);
+
+	if(MfcCtx->endOfFrame) {
+		WRITEL(1, S3C_FIMV_LAST_DEC);
+		MfcCtx->endOfFrame = 0;
+	} else {
+		WRITEL(0, S3C_FIMV_LAST_DEC);
+		//s3c_mfc_set_dec_stream_buffer(DecArg->in_strm_buf, DecArg->in_strm_size);
+	}
+
+	s3c_mfc_set_dec_stream_buffer(DecArg->in_strm_buf, DecArg->in_strm_size);
+
+	s3c_mfc_set_dec_frame_buffer(MfcCtx, DecArg->in_frm_buf, DecArg->in_frm_size);
+
+	/* Set VSP */
+	s3c_mfc_set_vsp_buffer(MfcCtx->InstNo);
+
+	WRITEL( MfcCtx->InstNo, S3C_FIMV_CH_ID);
+	WRITEL(s3c_mfc_get_codec_type( MfcCtx->MfcCodecType), S3C_FIMV_STANDARD_SEL);
+	WRITEL(s3c_mfc_get_fw_buf_size(MfcCtx->MfcCodecType), S3C_FIMV_BOOTCODE_SIZE);
+	WRITEL(MFC_FRAME_RUN, S3C_FIMV_COMMAND_TYPE);
+	WRITEL(INT_LEVEL_BIT, S3C_FIMV_INT_MODE);
+	WRITEL(0, S3C_FIMV_INT_OFF);
+	WRITEL(1, S3C_FIMV_INT_DONE_CLEAR);
+	WRITEL(1, S3C_FIMV_BITS_ENDIAN);
+	WRITEL((INT_MFC_FRAME_DONE|MFC_INTR_FW_DONE), S3C_FIMV_INT_MASK);
+
+	s3c_mfc_cmd_frame_start();
+
+
+	if ((ret = s3c_mfc_wait_for_done(MFC_INTR_FRAME_FW_DONE)) == 0) {
+		mfc_err("MFCINST_ERR_DEC_DECODE_DONE_FAIL\n");
+		return MFCINST_ERR_DEC_DECODE_DONE_FAIL;
+	}
+
+	if ((READL(S3C_FIMV_DISPLAY_STATUS) & 0x3) == DECODING_ONLY) {
+		DecArg->out_display_Y_addr = 0;
+		DecArg->out_display_C_addr = 0;
+	} else {
+		DecArg->out_display_Y_addr = READL(S3C_FIMV_DISPLAY_Y_ADR);
+		DecArg->out_display_C_addr = READL(S3C_FIMV_DISPLAY_C_ADR);
+	}
+
+
+	if ((ret & MFC_INTR_FW_DONE) == MFC_INTR_FW_DONE) {
+		DecArg->out_display_status = 0; /* no more frame to display */
+	} else
+		DecArg->out_display_status = 1; /* There exist frame to display */
+
+	frame_type = READL(S3C_FIMV_FRAME_TYPE);
+	MfcCtx->FrameType = (s3c_mfc_frame_type)(frame_type & 0x3);
+
+	s3c_mfc_backup_context(MfcCtx);
+
+	mfc_debug("(Y_ADDR : 0x%08x  C_ADDR : 0x%08x)\r\n", \
+		DecArg->out_display_Y_addr , DecArg->out_display_C_addr);  
+	mfc_debug("(in_strmsize : 0x%08x  consumed byte : 0x%08x)\r\n", \
+			DecArg->in_strm_size, READL(S3C_FIMV_RET_VALUE));      
+
+	*consumedStrmSize = READL(S3C_FIMV_RET_VALUE);
+	return MFCINST_RET_OK;
+}
+
+
+MFC_ERROR_CODE s3c_mfc_exe_decode(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_args *args)
+{
+	MFC_ERROR_CODE ret;
+	s3c_mfc_dec_exe_arg_t *DecArg;
+	unsigned int consumedStrmSize;
+	
+	/* 6. Decode Frame */
+	mfc_debug("++\n");
+
+	DecArg = (s3c_mfc_dec_exe_arg_t *)args;
+	ret = s3c_mfc_decode_one_frame(MfcCtx,  DecArg, &consumedStrmSize);
+
+	if((MfcCtx->IsPackedPB) && (MfcCtx->FrameType == MFC_RET_FRAME_P_FRAME) \
+		&& (DecArg->in_strm_size - consumedStrmSize > 4)) {
+		mfc_debug("Packed PB\n");
+		DecArg->in_strm_buf += consumedStrmSize;
+		DecArg->in_strm_size -= consumedStrmSize;
+
+		ret = s3c_mfc_decode_one_frame(MfcCtx,  DecArg, &consumedStrmSize);
+	}
+	mfc_debug("--\n");
+
+	return ret; 
+}
+
+MFC_ERROR_CODE s3c_mfc_deinit_hw(s3c_mfc_inst_ctx  *MfcCtx)
+{
+	s3c_mfc_restore_context(MfcCtx);
+
+	return MFCINST_RET_OK;
+}
+
+MFC_ERROR_CODE s3c_mfc_get_config(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_args *args)
+{
+	return MFCINST_RET_OK;
+}
+
+
+MFC_ERROR_CODE s3c_mfc_set_config(s3c_mfc_inst_ctx  *MfcCtx,  s3c_mfc_args *args)
+{
+	s3c_mfc_set_config_arg_t *set_cnf_arg;
+	set_cnf_arg = (s3c_mfc_set_config_arg_t *)args;
+
+	switch (set_cnf_arg->in_config_param) {
+	case MFC_DEC_SETCONF_POST_ENABLE:
+		if (MfcCtx->MfcState >= MFCINST_STATE_DEC_SEQ_START) {
+			mfc_err("MFC_DEC_SETCONF_POST_ENABLE : state is invalid\n");
+			return MFCINST_ERR_STATE_INVALID;
+		}
+
+		if((set_cnf_arg->in_config_value[0] == 0) || (set_cnf_arg->in_config_value[0] == 1))
+			MfcCtx->postEnable = set_cnf_arg->in_config_value[0];
+		else {
+			mfc_warn("POST_ENABLE should be 0 or 1\n");
+			MfcCtx->postEnable = 0;
+		}
+		break;
+	
+		
+	case MFC_DEC_SETCONF_EXTRA_BUFFER_NUM:
+		if (MfcCtx->MfcState >= MFCINST_STATE_DEC_SEQ_START) {
+			mfc_err("MFC_DEC_SETCONF_EXTRA_BUFFER_NUM : state is invalid\n");
+			return MFCINST_ERR_STATE_INVALID;
+		}
+		if ((set_cnf_arg->in_config_value[0] >= 0) || (set_cnf_arg->in_config_value[0] <= MFC_MAX_EXTRA_DPB))
+			MfcCtx->extraDPB = set_cnf_arg->in_config_value[0];
+		else {
+			mfc_warn("EXTRA_BUFFER_NUM should be between 0 and 5...It will be set 5 by default\n");
+			MfcCtx->extraDPB = MFC_MAX_EXTRA_DPB;
+		}
+		break;
+		
+	case MFC_DEC_SETCONF_DISPLAY_DELAY:
+		if (MfcCtx->MfcState >= MFCINST_STATE_DEC_SEQ_START) {
+			mfc_err("MFC_DEC_SETCONF_DISPLAY_DELAY : state is invalid\n");
+			return MFCINST_ERR_STATE_INVALID;
+		}
+		if (MfcCtx->MfcCodecType == H264_DEC) {
+			if ((set_cnf_arg->in_config_value[0] >= 0) || (set_cnf_arg->in_config_value[0] < 16))
+				MfcCtx->displayDelay = set_cnf_arg->in_config_value[0];
+			else {
+				mfc_warn("DISPLAY_DELAY should be between 0 and 16\n");
+				MfcCtx->displayDelay = 0;
+			}
+		} else {
+			mfc_warn("MFC_DEC_SETCONF_DISPLAY_DELAY is only valid for H.264\n");
+			MfcCtx->displayDelay = 0;
+		}
+		break;
+		
+	case MFC_DEC_SETCONF_IS_LAST_FRAME:
+		if (MfcCtx->MfcState != MFCINST_STATE_DEC_EXE) {
+			mfc_err("MFC_DEC_SETCONF_IS_LAST_FRAME : state is invalid\n");
+			return MFCINST_ERR_STATE_INVALID;
+		}
+
+		if ((set_cnf_arg->in_config_value[0] == 0) || (set_cnf_arg->in_config_value[0] == 1))
+			MfcCtx->endOfFrame = set_cnf_arg->in_config_value[0];
+		else {
+			mfc_warn("IS_LAST_FRAME should be 0 or 1\n");
+			MfcCtx->endOfFrame = 0;
+		}
+		break;
+			
+	case MFC_ENC_SETCONF_FRAME_TYPE:
+		if ((MfcCtx->MfcState < MFCINST_STATE_ENC_INITIALIZE) || (MfcCtx->MfcState > MFCINST_STATE_ENC_EXE)) {
+			mfc_err("MFC_ENC_SETCONF_FRAME_TYPE : state is invalid\n");
+			return MFCINST_ERR_STATE_INVALID;
+		}
+
+		if ((set_cnf_arg->in_config_value[0] < DONT_CARE) || (set_cnf_arg->in_config_value[0] > NOT_CODED))
+			MfcCtx->forceSetFrameType = set_cnf_arg->in_config_value[0];
+		else {
+			mfc_warn("FRAME_TYPE should be between 0 and 2\n");
+			MfcCtx->forceSetFrameType = DONT_CARE;
+		}
+		break;
+		
+	default:
+		mfc_err("invalid config param\n");
+		return MFCINST_ERR_SET_CONF;
+	}
+	
+	return MFCINST_RET_OK;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_opr.h linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_opr.h
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_opr.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_opr.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,59 @@
+/* 
+ * drivers/media/video/samsung/mfc40/s3c_mfc_opr.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _S3C_MFC_OPR_H_ 
+#define _S3C_MFC_OPR_H_
+
+#include "s3c_mfc_errorno.h"
+#include "s3c_mfc_interface.h"
+#include "s3c_mfc_types.h"
+
+#define     INT_MFC_FW_DONE		(0x1 << 5)
+#define     INT_MFC_DMA_DONE		(0x1 << 7)
+#define     INT_MFC_FRAME_DONE		(0x1 << 8)
+/* Interrupt on/off (0x500) */
+#define     INT_ENABLE_BIT		(0 << 0)
+#define     INT_DISABLE_BIT		(1 << 0)
+/* Interrupt mode (0x504) */
+#define     INT_LEVEL_BIT		(0 << 0)
+#define     INT_PULSE_BIT		(1 << 0)
+
+/* Command Types */
+#define 	MFC_CHANNEL_SET		0
+#define 	MFC_CHANNEL_READ	1
+#define 	MFC_CHANNEL_END		2
+#define 	MFC_INIT_CODEC		3
+#define 	MFC_FRAME_RUN		4
+#define 	MFC_SLEEP		6
+#define 	MFC_WAKEUP		7
+
+/* DPB Count */
+#define		NUM_MPEG4_DPB		(2)
+#define		NUM_POST_DPB		(3)
+#define		NUM_VC1_DPB		(4)
+
+BOOL s3c_mfc_load_firmware(void);
+MFC_ERROR_CODE s3c_mfc_init_hw(void);
+MFC_ERROR_CODE s3c_mfc_init_encode(s3c_mfc_inst_ctx *MfcCtx, s3c_mfc_args *args);
+MFC_ERROR_CODE s3c_mfc_exe_encode(s3c_mfc_inst_ctx *MfcCtx, s3c_mfc_args *args);
+MFC_ERROR_CODE s3c_mfc_init_decode(s3c_mfc_inst_ctx *MfcCtx, s3c_mfc_args *args);
+MFC_ERROR_CODE s3c_mfc_start_decode_seq(s3c_mfc_inst_ctx *MfcCtx, s3c_mfc_args *args);
+MFC_ERROR_CODE s3c_mfc_exe_decode(s3c_mfc_inst_ctx *MfcCtx, s3c_mfc_args *args);
+MFC_ERROR_CODE s3c_mfc_get_config(s3c_mfc_inst_ctx *MfcCtx, s3c_mfc_args *args);
+MFC_ERROR_CODE s3c_mfc_set_config(s3c_mfc_inst_ctx *MfcCtx, s3c_mfc_args *args);
+MFC_ERROR_CODE s3c_mfc_deinit_hw(s3c_mfc_inst_ctx *MfcCtx);
+MFC_ERROR_CODE s3c_mfc_set_sleep(s3c_mfc_inst_ctx *MfcCtx);
+MFC_ERROR_CODE s3c_mfc_set_wakeup(s3c_mfc_inst_ctx *MfcCtx);
+
+#endif /* _S3C_MFC_OPR_H_ */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_types.h linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_types.h
--- linux-2.6.28/drivers/media/video/samsung/mfc40/s3c_mfc_types.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/s3c_mfc_types.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,21 @@
+/* 
+ * drivers/media/video/samsung/mfc40/s3c_mfc_types.h
+ *
+ * Header file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __SAMSUNG_SYSLSI_APDEV_MFC_TYPE_H__
+#define __SAMSUNG_SYSLSI_APDEV_MFC_TYPE_H__
+
+#include <linux/types.h>
+
+typedef enum {FALSE, TRUE} BOOL;
+
+#endif /* __SAMSUNG_SYSLSI_APDEV_MFC_TYPE_H__ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/mfc40/vc1_dec_fw.c linux-2.6.28.6/drivers/media/video/samsung/mfc40/vc1_dec_fw.c
--- linux-2.6.28/drivers/media/video/samsung/mfc40/vc1_dec_fw.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/mfc40/vc1_dec_fw.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,584 @@
+/*
+ * drivers/media/video/samsung/mfc40/vc1_dec_fw.c
+ *
+ * C file for Samsung MFC (Multi Function Codec - FIMV) driver
+ *
+ * PyoungJae Jung, Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+
+
+const unsigned char vc1_dec_mc_fw[22652] = {
+0xe1, 0xa0, 0x00, 0x00, 0xea, 0x00, 0x11, 0x3e, 0xe5, 0x9f, 0x30, 0x04, 0xe0, 0x8f, 0x30, 0x03, 0xe1, 0xa0, 0xf0, 0x03, 0x00, 0x00, 0x4a, 0xb8, 0xe9, 0x2d, 0x4f, 0xf3, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x94, 0x10, 0x38, 0xe5, 0x90, 0x00, 0x3c, 
+0xe2, 0x4d, 0xd0, 0x04, 0xe0, 0x08, 0x00, 0x91, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x06, 0xe0, 0xe5, 0x84, 0x00, 0x30, 0xe5, 0x94, 0x10, 0x34, 0xe3, 0xa0, 0xa8, 0x52, 0xe3, 0x51, 0x00, 0x00, 0x15, 0x9a, 0x00, 0x90, 0x11, 0xa0, 0x20, 0x0a, 
+0xe2, 0x84, 0x5a, 0x01, 0xe3, 0xa0, 0xb6, 0x02, 0xe3, 0xa0, 0x90, 0x01, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x60, 0x00, 0x13, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x0c, 0xe5, 0x95, 0x00, 0x2c, 0xe5, 0x92, 0x30, 0xd8, 0xe3, 0x53, 0x00, 0x01, 
+0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x8b, 0x90, 0x04, 0xe1, 0x50, 0x00, 0x01, 0xb5, 0x8b, 0x90, 0xa4, 0xa5, 0x8b, 0x90, 0xa0, 0xe5, 0x82, 0x90, 0xcc, 0xb2, 0x80, 0x00, 0x01, 0xba, 0xff, 0xff, 0xf5, 0xe3, 0xa0, 0x00, 0x40, 0xe5, 0x82, 0x00, 0x00, 
+0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x79, 0xea, 0x00, 0x00, 0x2e, 0xe5, 0x94, 0x00, 0xe4, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0x00, 0x04, 0xca, 0xe3, 0x50, 0x00, 0x01, 
+0x0a, 0x00, 0x00, 0x2d, 0xe5, 0x94, 0x03, 0xd0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0e, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0xca, 0x00, 0x00, 0x0b, 0xe5, 0x94, 0x00, 0x30, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 
+0xe5, 0x9d, 0x00, 0x08, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0x00, 0x04, 0x82, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0x00, 0x0a, 0xd3, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x5b, 0xe3, 0xa0, 0x00, 0x00, 
+0xea, 0x00, 0x00, 0x0a, 0xe5, 0x9d, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x06, 0x3d, 0xe5, 0x9a, 0x00, 0x90, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x94, 0x00, 0x2c, 0x02, 0x86, 0x60, 0x01, 0x02, 0x80, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x01, 
+0xe3, 0xa0, 0x70, 0x01, 0xea, 0x00, 0x00, 0x03, 0xe5, 0x84, 0x00, 0x2c, 0xe5, 0x94, 0x10, 0x38, 0xe1, 0x50, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xf0, 0xe5, 0x94, 0x00, 0x30, 0xe3, 0x57, 0x00, 0x01, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x30, 
+0x0a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x00, 0x34, 0xe5, 0x94, 0x10, 0x30, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x3c, 0xe1, 0x50, 0x00, 0x01, 0x3a, 0xff, 0xff, 0xca, 0xe3, 0xa0, 0x00, 0x40, 0xe5, 0x8a, 0x00, 0x00, 0xe3, 0x57, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x18, 0xe5, 0x94, 0x00, 0xe4, 0xe3, 0x50, 0x00, 0x03, 0x11, 0xa0, 0x00, 0x0b, 0x1a, 0x00, 0x00, 0x1b, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0x00, 0x04, 0x69, 0xe5, 0x9a, 0x00, 0xb8, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x67, 
+0xe5, 0x9d, 0x00, 0x08, 0xe3, 0xa0, 0x10, 0x20, 0xeb, 0x00, 0x04, 0x54, 0xe2, 0x00, 0x00, 0xff, 0xe3, 0x50, 0x00, 0x0b, 0x0a, 0x00, 0x00, 0x08, 0xe5, 0x9a, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x05, 0x8b, 0x90, 0x04, 0x05, 0x8b, 0x90, 0xa4, 
+0x05, 0x8a, 0x90, 0xcc, 0x02, 0x86, 0x60, 0x01, 0x01, 0x56, 0x00, 0x08, 0x1a, 0xff, 0xff, 0xf7, 0xea, 0x00, 0x00, 0x0f, 0xe5, 0x85, 0x60, 0x2c, 0xe5, 0x94, 0x00, 0x34, 0xe5, 0x94, 0x10, 0x30, 0xe0, 0x80, 0x00, 0x01, 0xe5, 0x94, 0x10, 0x3c, 
+0xe1, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0a, 0xea, 0x00, 0x00, 0x0d, 0xe5, 0x9a, 0x10, 0xd8, 0xe3, 0x51, 0x00, 0x01, 0x05, 0x80, 0x90, 0x04, 0x05, 0x80, 0x90, 0xa4, 0x05, 0x8a, 0x90, 0xcc, 0x02, 0x86, 0x60, 0x01, 0x01, 0x56, 0x00, 0x08, 
+0x1a, 0xff, 0xff, 0xf7, 0xe3, 0xa0, 0x00, 0x40, 0xe5, 0x8a, 0x00, 0x00, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x12, 0xea, 0x00, 0x00, 0x0e, 0xe5, 0x9a, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 
+0xe5, 0x8b, 0x90, 0xa0, 0xe5, 0x8a, 0x90, 0xcc, 0xe5, 0x9a, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x18, 0x56, 0xe5, 0x81, 0x00, 0x14, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0x00, 0x04, 0x29, 
+0xe3, 0xa0, 0x00, 0x03, 0xe8, 0xbd, 0x8f, 0xfe, 0xe5, 0x9a, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x8a, 0x60, 0xdc, 0xe5, 0x9d, 0x00, 0x08, 0xeb, 0x00, 0x04, 0x20, 0xe5, 0x94, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x02, 0x05, 0x94, 0x00, 0x18, 0x03, 0x50, 0x00, 0x00, 0x03, 0xa0, 0x00, 0x04, 0x08, 0xbd, 0x8f, 0xfe, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x01, 0xda, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x04, 0x15, 0x95, 0x00, 0x20, 
+0x15, 0x85, 0x00, 0x1c, 0x15, 0x95, 0x00, 0x14, 0x15, 0x85, 0x00, 0x20, 0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x85, 0x00, 0x28, 0xe5, 0x95, 0x00, 0x20, 0xe5, 0x85, 0x00, 0x1c, 0xe5, 0x95, 0x00, 0x10, 0xe5, 0x85, 0x00, 0x20, 0xe5, 0x94, 0x10, 0x00, 
+0xe5, 0x95, 0x00, 0x18, 0xe3, 0x51, 0x00, 0x04, 0x15, 0x95, 0x10, 0x14, 0x05, 0x95, 0x10, 0x24, 0xe5, 0x85, 0x10, 0x18, 0x05, 0x85, 0x10, 0x14, 0x05, 0x85, 0x10, 0x10, 0xe5, 0x95, 0x10, 0x14, 0xe5, 0x85, 0x00, 0x14, 0xe5, 0x85, 0x10, 0x24, 
+0xe5, 0x95, 0x00, 0x1c, 0xe3, 0x70, 0x00, 0x01, 0x15, 0x95, 0x10, 0x20, 0x11, 0x50, 0x00, 0x01, 0x15, 0x80, 0x90, 0x20, 0xe5, 0x94, 0x06, 0xf0, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x84, 0x66, 0xf0, 0xe5, 0x94, 0x00, 0xd0, 
+0xe3, 0x50, 0x00, 0x00, 0x03, 0xa0, 0x00, 0x01, 0x13, 0xa0, 0x00, 0x02, 0xe8, 0xbd, 0x8f, 0xfe, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x8f, 0xfe, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x40, 0x00, 
+0xe1, 0xa0, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x09, 0xeb, 0x00, 0x03, 0xe2, 0xe5, 0x94, 0x10, 0x18, 0xe3, 0x51, 0x00, 0x00, 0x15, 0x94, 0x10, 0x3c, 0x10, 0x40, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x34, 0xe1, 0xa0, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x01, 
+0xeb, 0x00, 0x03, 0xda, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0x00, 0x0b, 0xca, 0xe3, 0x50, 0x00, 0x00, 0x18, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x06, 
+0xeb, 0xff, 0xff, 0x14, 0xe3, 0x50, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x00, 0x03, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x2d, 0xe0, 0x04, 0xe5, 0x81, 0x00, 0x30, 0xeb, 0xff, 0xff, 0xf9, 0xe4, 0x9d, 0xf0, 0x04, 
+0xe5, 0x90, 0x10, 0x00, 0xe1, 0xa0, 0x34, 0x01, 0xe1, 0xa0, 0x3c, 0x23, 0xe1, 0xa0, 0x2c, 0x21, 0xe1, 0xa0, 0xc8, 0x01, 0xe1, 0xa0, 0xcc, 0x2c, 0xe1, 0x82, 0x24, 0x03, 0xe1, 0x82, 0x28, 0x0c, 0xe1, 0x82, 0x1c, 0x01, 0xe5, 0x80, 0x10, 0x00, 
+0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x38, 0xe3, 0x51, 0x00, 0x00, 0xe1, 0xa0, 0x40, 0x00, 0x0a, 0x00, 0x00, 0x0f, 0xe3, 0xa0, 0x10, 0x20, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x03, 0xb5, 0xe5, 0x8d, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x0d, 
+0xeb, 0xff, 0xff, 0xea, 0xea, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x03, 0xae, 0xe5, 0x9d, 0x00, 0x00, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x8d, 0x00, 0x00, 0xe5, 0x9d, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0xff, 0xff, 0xf6, 0xe8, 0xbd, 0x80, 0x38, 0xe9, 0x2d, 0x40, 0x38, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x10, 0x18, 0xeb, 0x00, 0x03, 0xa3, 0xe3, 0xa0, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x03, 0xa0, 0xe3, 0xc0, 0x10, 0x40, 
+0xe3, 0x51, 0x00, 0x85, 0x13, 0xa0, 0x00, 0x0a, 0x1a, 0x00, 0x00, 0x08, 0xe2, 0x00, 0x00, 0x40, 0xe1, 0xa0, 0x43, 0x20, 0xe1, 0xa0, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x20, 0xeb, 0x00, 0x03, 0x97, 0xe5, 0x8d, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x0d, 
+0xeb, 0xff, 0xff, 0xcc, 0xe1, 0xa0, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x38, 0xe9, 0x2d, 0x4f, 0xf0, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe2, 0x4d, 0xd0, 0x2c, 0xe3, 0xa0, 0x68, 0x52, 0xe5, 0x86, 0x00, 0x30, 0xe3, 0xa0, 0x50, 0x00, 
+0xe3, 0xa0, 0x96, 0x05, 0xe5, 0x89, 0x51, 0x10, 0xe3, 0xa0, 0xa0, 0x02, 0xe5, 0x89, 0xa0, 0x08, 0xe3, 0xa0, 0x70, 0x01, 0xe5, 0x89, 0x70, 0x00, 0xe5, 0x96, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x99, 0x16, 0x00, 
+0xe3, 0xa0, 0x08, 0x55, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x99, 0x11, 0x20, 0xe5, 0x80, 0x10, 0x18, 0xe3, 0xa0, 0x10, 0x07, 0xe5, 0x80, 0x10, 0x1c, 0xe5, 0x80, 0x50, 0x20, 0xe5, 0x80, 0x50, 0x24, 0xe3, 0xa0, 0x00, 0x40, 0xe5, 0x86, 0x00, 0x08, 
+0xe5, 0x86, 0x50, 0xdc, 0xe5, 0x86, 0x70, 0x00, 0xe3, 0xa0, 0x10, 0x20, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0x00, 0x03, 0x76, 0xe1, 0xa0, 0xb0, 0x00, 0xe2, 0x88, 0x4a, 0x01, 0xe2, 0x84, 0x00, 0x40, 0xe8, 0x80, 0x00, 0xa0, 0xe5, 0x84, 0x50, 0x48, 
+0xe5, 0x84, 0x50, 0x38, 0xe5, 0x88, 0x50, 0xd0, 0xe5, 0x84, 0x50, 0x4c, 0xe5, 0x84, 0x50, 0x50, 0xe5, 0x84, 0x50, 0x54, 0xe1, 0xa0, 0x00, 0x08, 0xe5, 0x84, 0xa0, 0x5c, 0xeb, 0x00, 0x02, 0xc9, 0xe2, 0x0b, 0x00, 0xff, 0xe3, 0x50, 0x00, 0x0f, 
+0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x10, 0x20, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0x00, 0x03, 0x5f, 0xe5, 0x96, 0x00, 0x30, 0xe3, 0x80, 0x00, 0x20, 0xe5, 0x86, 0x00, 0x30, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xb1, 
+0xe5, 0x84, 0x00, 0x3c, 0xe5, 0x84, 0x70, 0x50, 0xe2, 0x8d, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x02, 0xe5, 0xe1, 0xa0, 0xa0, 0x00, 0xe5, 0x94, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x00, 0x15, 0x94, 0x10, 0x3c, 0x12, 0x8d, 0x00, 0x04, 
+0x1b, 0xff, 0xff, 0x91, 0xe1, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x0e, 0xbd, 0xe3, 0xa0, 0x0c, 0x02, 0xe5, 0x84, 0x70, 0x48, 0xe5, 0x86, 0x00, 0x04, 0xe5, 0x89, 0x51, 0x10, 0xe5, 0x89, 0x70, 0x04, 0xe1, 0xa0, 0x00, 0x0a, 0xe2, 0x8d, 0xd0, 0x2c, 
+0xe8, 0xbd, 0x8f, 0xf0, 0xe9, 0x2d, 0x40, 0xf8, 0xe1, 0xa0, 0x40, 0x01, 0xe3, 0xa0, 0x10, 0x20, 0xe1, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x50, 0x02, 0xeb, 0x00, 0x03, 0x3e, 0xe5, 0x8d, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xff, 0x73, 
+0xe3, 0x54, 0x00, 0x00, 0x15, 0x9d, 0x00, 0x00, 0x13, 0xa0, 0x10, 0x20, 0x13, 0xc0, 0x02, 0x0f, 0x15, 0x8d, 0x00, 0x00, 0x11, 0xa0, 0x00, 0x06, 0x1b, 0x00, 0x03, 0x34, 0xe5, 0x9d, 0x00, 0x00, 0xe5, 0x85, 0x00, 0x00, 0xe3, 0xa0, 0x06, 0x05, 
+0xe5, 0x90, 0x0e, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x03, 0xa0, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x9d, 0x00, 0x00, 0xe1, 0xb0, 0x00, 0x00, 0x13, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0xf8, 0xe9, 0x2d, 0x4f, 0xf0, 0xe2, 0x80, 0x4a, 0x01, 
+0xe5, 0x94, 0x10, 0x4c, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0x51, 0x00, 0x00, 0xe3, 0xa0, 0x00, 0x03, 0xe2, 0x4d, 0xdf, 0x4f, 0xe3, 0xa0, 0xb6, 0x05, 0xe3, 0xa0, 0xa0, 0x00, 0xe3, 0xa0, 0x90, 0xff, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x70, 0xff, 
+0xe3, 0xa0, 0x60, 0x01, 0x1a, 0x00, 0x01, 0x23, 0xe5, 0x84, 0x80, 0x54, 0xe5, 0x94, 0x10, 0x40, 0xe3, 0x51, 0x00, 0x00, 0x05, 0x94, 0x10, 0x44, 0x03, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x3d, 0xe5, 0x84, 0x80, 0x44, 0xe5, 0x84, 0x80, 0x40, 
+0xe5, 0x9b, 0x11, 0x0c, 0xe1, 0xa0, 0xa0, 0x0b, 0xe3, 0x51, 0x00, 0x01, 0x0a, 0x00, 0x01, 0x3b, 0xe3, 0xa0, 0xe8, 0x52, 0xe5, 0x8e, 0x00, 0x30, 0xe5, 0x94, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x9e, 0x00, 0x30, 0x03, 0x80, 0x00, 0x20, 
+0x05, 0x8e, 0x00, 0x30, 0xe5, 0x9f, 0xc4, 0xe0, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8c, 0x2d, 0x05, 0xe5, 0x94, 0x10, 0x60, 0xe2, 0x81, 0x10, 0x04, 0xe1, 0x51, 0x00, 0x00, 0xda, 0x00, 0x00, 0x0a, 0xe0, 0x80, 0x11, 0x80, 0xe0, 0x85, 0x11, 0x81, 
+0xe5, 0x91, 0x37, 0x24, 0xe7, 0x82, 0x31, 0x00, 0xe5, 0x91, 0x37, 0x1c, 0xe7, 0x8c, 0x31, 0x00, 0xe5, 0x91, 0x17, 0x20, 0xe5, 0x9f, 0x34, 0xac, 0xe7, 0x83, 0x11, 0x00, 0xe2, 0x80, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf0, 0xe5, 0x94, 0x10, 0x58, 
+0xe3, 0xa0, 0x08, 0x55, 0xe5, 0x80, 0x11, 0x90, 0xe5, 0x9a, 0x16, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x9a, 0x11, 0x20, 0xe5, 0x80, 0x10, 0x18, 0xe3, 0xa0, 0x10, 0x07, 0xe5, 0x80, 0x10, 0x1c, 0xe5, 0x80, 0x80, 0x20, 0xe5, 0x80, 0x80, 0x24, 
+0xe5, 0x8a, 0x81, 0x10, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x8a, 0x00, 0x08, 0xe5, 0x8a, 0x60, 0x00, 0xe3, 0xa0, 0x00, 0x40, 0xe5, 0x8e, 0x00, 0x08, 0xe5, 0x8e, 0x80, 0xdc, 0xe5, 0x8e, 0x60, 0x00, 0xe5, 0x9a, 0x00, 0x5c, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x08, 0xe2, 0x60, 0xa0, 0x08, 0xea, 0x00, 0x00, 0x04, 0xe1, 0xa0, 0x90, 0x07, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0x00, 0x02, 0xc9, 0xe1, 0xa0, 0x70, 0x00, 0xe2, 0x4a, 0xa0, 0x01, 0xe3, 0x5a, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xf8, 
+0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x91, 0x0e, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x05, 0x84, 0x60, 0x4c, 0xe5, 0x94, 0x00, 0x50, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x75, 0xe3, 0x57, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0x59, 0x00, 0x00, 
+0xe2, 0x8d, 0x0f, 0x45, 0x1a, 0x00, 0x00, 0x02, 0xeb, 0x00, 0x02, 0xea, 0xe3, 0xa0, 0x00, 0x10, 0xea, 0x00, 0x00, 0x01, 0xeb, 0x00, 0x02, 0xf4, 0xe3, 0xa0, 0x00, 0x18, 0xeb, 0x00, 0x02, 0xb3, 0xe2, 0x00, 0x00, 0xff, 0xe3, 0xa0, 0x70, 0xff, 
+0xe3, 0xa0, 0x90, 0xff, 0xea, 0x00, 0x00, 0x04, 0xe2, 0x8d, 0x0f, 0x45, 0xeb, 0x00, 0x02, 0xd2, 0xe3, 0xa0, 0x00, 0x20, 0xeb, 0x00, 0x02, 0xab, 0xe2, 0x00, 0x00, 0xff, 0xe2, 0x40, 0x00, 0x0a, 0xe3, 0x50, 0x00, 0x15, 0x90, 0x8f, 0xf1, 0x00, 
+0xea, 0x00, 0x00, 0x5b, 0xea, 0x00, 0x00, 0x4b, 0xea, 0x00, 0x00, 0x39, 0xea, 0x00, 0x00, 0x40, 0xea, 0x00, 0x00, 0x21, 0xea, 0x00, 0x00, 0x19, 0xea, 0x00, 0x00, 0x0f, 0xea, 0x00, 0x00, 0x54, 0xea, 0x00, 0x00, 0x53, 0xea, 0x00, 0x00, 0x52, 
+0xea, 0x00, 0x00, 0x51, 0xea, 0x00, 0x00, 0x50, 0xea, 0x00, 0x00, 0x4f, 0xea, 0x00, 0x00, 0x4e, 0xea, 0x00, 0x00, 0x4d, 0xea, 0x00, 0x00, 0x4c, 0xea, 0x00, 0x00, 0x4b, 0xea, 0x00, 0x00, 0x4a, 0xea, 0x00, 0x00, 0x47, 0xea, 0x00, 0x00, 0x46, 
+0xea, 0x00, 0x00, 0x45, 0xea, 0x00, 0x00, 0x44, 0xea, 0x00, 0x00, 0x43, 0xe5, 0x94, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe2, 0x8d, 0x1f, 0x45, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x02, 0x2d, 0xe5, 0x84, 0x00, 0x38, 
+0xe5, 0x84, 0x80, 0x48, 0xea, 0x00, 0x00, 0x3c, 0xe2, 0x8d, 0x1f, 0x45, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x02, 0x7a, 0xe5, 0x84, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x84, 0x60, 0x38, 0xea, 0x00, 0x00, 0x29, 0xe5, 0x94, 0x00, 0x38, 
+0xe3, 0x50, 0x00, 0x03, 0x13, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x08, 0xe5, 0x84, 0x00, 0x38, 0xea, 0x00, 0x00, 0x22, 0xe1, 0xa0, 0x20, 0x0d, 0xe2, 0x8d, 0x1f, 0x45, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x02, 0x24, 
+0xe3, 0x50, 0x00, 0x02, 0xe5, 0x84, 0x00, 0x38, 0x05, 0x84, 0x60, 0x54, 0x05, 0x84, 0x60, 0x40, 0xe5, 0x95, 0x10, 0xd0, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x17, 0xe3, 0x50, 0x00, 0x03, 0x15, 0x84, 0x60, 0x40, 0x15, 0x84, 0x80, 0x54, 
+0xea, 0x00, 0x00, 0x13, 0xe5, 0x94, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0xff, 0xff, 0xea, 0xe1, 0xa0, 0x20, 0x0d, 0xe2, 0x8d, 0x1f, 0x45, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x02, 0x48, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x00, 0x38, 
+0xe3, 0x50, 0x00, 0x04, 0x1a, 0xff, 0xff, 0xe2, 0xe1, 0xa0, 0x20, 0x0d, 0xe2, 0x8d, 0x1f, 0x45, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0x00, 0x02, 0x27, 0xe5, 0x84, 0x00, 0x38, 0xea, 0xff, 0xff, 0xe7, 0xe3, 0xa0, 0x00, 0x0a, 0xe5, 0x84, 0x00, 0x38, 
+0xe5, 0x84, 0x60, 0x4c, 0xe5, 0x94, 0xa0, 0x38, 0xe3, 0x5a, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x3e, 0xe3, 0x5a, 0x00, 0x01, 0x13, 0x5a, 0x00, 0x04, 0x13, 0x5a, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x41, 0xe3, 0x5a, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x8e, 
+0xea, 0x00, 0x00, 0x37, 0xe2, 0x8d, 0x0f, 0x45, 0xeb, 0x00, 0x02, 0x6f, 0xe5, 0x94, 0x00, 0x38, 0xea, 0xff, 0xff, 0xc4, 0xe5, 0x95, 0x00, 0xd0, 0xe3, 0x50, 0x00, 0x13, 0x0a, 0x00, 0x00, 0x0a, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x08, 
+0xe2, 0x8d, 0x0f, 0x45, 0xeb, 0xff, 0xfe, 0xab, 0xe5, 0x84, 0x00, 0x3c, 0xe1, 0xa0, 0x00, 0x05, 0xe2, 0x8d, 0x1f, 0x45, 0xeb, 0x00, 0x01, 0xe0, 0xe5, 0x94, 0x10, 0x3c, 0xe2, 0x8d, 0x0f, 0x45, 0xeb, 0xff, 0xfe, 0x8f, 0xe2, 0x85, 0x2b, 0x01, 
+0xe5, 0x94, 0x10, 0x3c, 0xe2, 0x82, 0x2f, 0xc3, 0xe2, 0x8d, 0x0f, 0x45, 0xeb, 0xff, 0xff, 0x02, 0xe3, 0x50, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x05, 0xe1, 0xa0, 0x20, 0x0d, 0xe2, 0x8d, 0x1f, 0x45, 0x15, 0x84, 0x60, 0x4c, 0xeb, 0x00, 0x01, 0xde, 
+0xe1, 0xa0, 0xa0, 0x00, 0xe2, 0x85, 0x1e, 0x71, 0xe9, 0x11, 0x00, 0x03, 0xe0, 0x60, 0xb1, 0x81, 0xe3, 0x5b, 0x00, 0x00, 0xda, 0x00, 0x00, 0x0a, 0xe3, 0x5b, 0x00, 0x20, 0xaa, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x10, 0x0b, 0xe2, 0x8d, 0x0f, 0x45, 
+0xeb, 0x00, 0x02, 0x36, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x10, 0x20, 0xe2, 0x8d, 0x0f, 0x45, 0xeb, 0x00, 0x02, 0x32, 0xe2, 0x5b, 0xb0, 0x20, 0x1a, 0xff, 0xff, 0xf4, 0xe3, 0x5a, 0x00, 0x00, 0x13, 0x5a, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x5c, 
+0xe5, 0x95, 0x00, 0xd0, 0xe3, 0x50, 0x00, 0x01, 0x05, 0x84, 0x60, 0x40, 0x05, 0x84, 0x80, 0x54, 0xe3, 0x5a, 0x00, 0x00, 0x13, 0x5a, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x84, 0x80, 0x54, 0xe5, 0x95, 0x00, 0xd0, 0xe3, 0xa0, 0xa0, 0x00, 
+0xe3, 0x50, 0x00, 0x02, 0xc5, 0x84, 0x60, 0x54, 0xe5, 0x84, 0x60, 0x40, 0xe5, 0x84, 0x60, 0x38, 0xe5, 0x95, 0x00, 0xd0, 0xe3, 0x50, 0x00, 0x01, 0xda, 0x00, 0x00, 0x03, 0xe3, 0x5a, 0x00, 0x04, 0x05, 0x84, 0x60, 0x40, 0x05, 0x84, 0x80, 0x54, 
+0x0a, 0x00, 0x00, 0x09, 0xe5, 0x94, 0x00, 0x54, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x00, 0x1c, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x90, 0x00, 0x0c, 0xe5, 0x81, 0x04, 0x00, 0xe5, 0x94, 0x00, 0x1c, 0xe5, 0x90, 0x00, 0x10, 
+0xe5, 0x81, 0x04, 0x04, 0xe5, 0x94, 0x00, 0x54, 0xe3, 0xa0, 0x16, 0x05, 0xe5, 0x81, 0x04, 0x08, 0xe5, 0x94, 0x00, 0x40, 0xe5, 0x81, 0x05, 0x0c, 0xe5, 0x94, 0x00, 0x40, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0x32, 0xe3, 0xa0, 0x0c, 0x02, 
+0xe3, 0xa0, 0xe8, 0x52, 0xe5, 0x8e, 0x00, 0x04, 0xe5, 0x81, 0x81, 0x10, 0xe5, 0x81, 0x60, 0x04, 0xe5, 0x91, 0x00, 0x38, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x94, 0x00, 0x40, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0xff, 0xff, 0x27, 
+0xe5, 0x94, 0x00, 0x4c, 0xe3, 0x50, 0x00, 0x01, 0x03, 0xa0, 0xa0, 0x18, 0xea, 0x00, 0x00, 0x26, 0xe5, 0x9b, 0x11, 0x0c, 0xe1, 0xa0, 0x20, 0x0b, 0xe3, 0x51, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x1f, 0xe5, 0x94, 0x10, 0x5c, 0xe3, 0x51, 0x00, 0x00, 
+0x05, 0x82, 0x04, 0x08, 0x05, 0x82, 0x65, 0x10, 0x0a, 0x00, 0x00, 0x1a, 0xe3, 0x51, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x0e, 0xe3, 0x51, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x19, 0xe5, 0x94, 0x00, 0x20, 0xe5, 0x90, 0x00, 0x0c, 0xe5, 0x82, 0x04, 0x00, 
+0xe5, 0x94, 0x00, 0x20, 0xe5, 0x90, 0x00, 0x10, 0xe5, 0x82, 0x04, 0x04, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x82, 0x04, 0x08, 0xe5, 0x82, 0x65, 0x0c, 0xe5, 0x94, 0x00, 0x5c, 0xe2, 0x40, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x5c, 0xea, 0x00, 0x00, 0x09, 
+0xe5, 0x94, 0x00, 0x18, 0xe5, 0x90, 0x00, 0x0c, 0xe5, 0x82, 0x04, 0x00, 0xe5, 0x94, 0x00, 0x18, 0xe5, 0x90, 0x00, 0x10, 0xe5, 0x82, 0x04, 0x04, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x82, 0x04, 0x08, 0xe5, 0x82, 0x65, 0x0c, 0xe5, 0x84, 0x80, 0x5c, 
+0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xdf, 0x4f, 0xe8, 0xbd, 0x8f, 0xf0, 0xe1, 0xa0, 0x00, 0x0a, 0xea, 0xff, 0xff, 0xfb, 0x00, 0x55, 0x02, 0x00, 0x00, 0x55, 0x02, 0x80, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x04, 
+0xe5, 0x80, 0x10, 0x08, 0xe5, 0x80, 0x10, 0x0c, 0xe5, 0x80, 0x10, 0x10, 0xe5, 0x80, 0x10, 0x14, 0xe5, 0x80, 0x10, 0x18, 0xe5, 0x80, 0x10, 0x1c, 0xe5, 0x80, 0x10, 0x20, 0xe5, 0x80, 0x10, 0x24, 0xe5, 0x80, 0x10, 0x28, 0xe5, 0x80, 0x10, 0x2c, 
+0xe5, 0x80, 0x10, 0x30, 0xe5, 0x80, 0x10, 0x34, 0xe5, 0x80, 0x10, 0x38, 0xe5, 0x80, 0x10, 0x40, 0xe5, 0x80, 0x10, 0x48, 0xe5, 0x80, 0x10, 0x4c, 0xe5, 0x80, 0x10, 0x58, 0xe5, 0x80, 0x10, 0x5c, 0xe5, 0x80, 0x10, 0x60, 0xe5, 0x80, 0x10, 0x64, 
+0xe5, 0x80, 0x10, 0x68, 0xe5, 0x80, 0x10, 0x74, 0xe5, 0x80, 0x10, 0x78, 0xe5, 0x80, 0x10, 0x7c, 0xe5, 0x80, 0x10, 0x84, 0xe5, 0x80, 0x10, 0x88, 0xe5, 0x80, 0x10, 0x8c, 0xe5, 0x80, 0x10, 0x90, 0xe5, 0x80, 0x10, 0x94, 0xe5, 0x80, 0x10, 0x50, 
+0xe5, 0x80, 0x10, 0x54, 0xe5, 0x80, 0x10, 0x98, 0xe5, 0x80, 0x10, 0x9c, 0xe5, 0x80, 0x10, 0xa0, 0xe5, 0x80, 0x10, 0xa4, 0xe5, 0x80, 0x10, 0xa8, 0xe5, 0x80, 0x10, 0xac, 0xe5, 0x80, 0x10, 0xb0, 0xe5, 0x80, 0x10, 0xb4, 0xe5, 0x80, 0x10, 0xb8, 
+0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x2d, 0xe0, 0x04, 0xe5, 0x90, 0x30, 0x00, 0xe5, 0x90, 0xc0, 0x04, 0xe1, 0xa0, 0x3a, 0x83, 0xe1, 0xa0, 0xca, 0x8c, 0xe1, 0xa0, 0xca, 0xac, 0xe1, 0xa0, 0x3a, 0xa3, 0xe1, 0x83, 0x35, 0x8c, 0xe5, 0x90, 0xc0, 0x08, 
+0xe2, 0x0c, 0xc0, 0x01, 0xe1, 0x83, 0x3c, 0x0c, 0xe5, 0x90, 0xc0, 0x0c, 0xe2, 0x0c, 0xc0, 0x01, 0xe1, 0x83, 0xcd, 0x8c, 0xe3, 0xa0, 0x38, 0x56, 0xe5, 0x83, 0xc0, 0x00, 0xe5, 0x90, 0xc0, 0x10, 0xe5, 0x90, 0xe0, 0x14, 0xe2, 0x0c, 0xc0, 0x0f, 
+0xe2, 0x0e, 0xe0, 0x0f, 0xe1, 0x8c, 0xc2, 0x0e, 0xe5, 0x90, 0xe0, 0x18, 0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc4, 0x8e, 0xe5, 0x90, 0xe0, 0x1c, 0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc5, 0x0e, 0xe5, 0x90, 0xe0, 0x20, 0xe2, 0x0e, 0xe0, 0x03, 
+0xe1, 0x8c, 0xc5, 0x8e, 0xe5, 0x90, 0xe0, 0x24, 0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc6, 0x8e, 0xe5, 0x90, 0xe0, 0x28, 0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc7, 0x0e, 0xe5, 0x90, 0xe0, 0x2c, 0xe2, 0x0e, 0xe0, 0x1f, 0xe1, 0x8c, 0xc9, 0x0e, 
+0xe5, 0x90, 0xe0, 0x30, 0xe2, 0x0e, 0xe0, 0x1f, 0xe1, 0x8c, 0xcb, 0x8e, 0xe5, 0x83, 0xc0, 0x04, 0xe3, 0x51, 0x00, 0x03, 0x05, 0x90, 0xc0, 0x44, 0x05, 0x90, 0xe0, 0x38, 0x02, 0x0c, 0xc0, 0x1f, 0x01, 0x8c, 0xcd, 0x8e, 0x05, 0x83, 0xc0, 0x08, 
+0xe5, 0x90, 0xc0, 0x3c, 0xe5, 0x90, 0xe0, 0x40, 0xe1, 0xa0, 0xc8, 0x0c, 0xe1, 0xa0, 0xc8, 0x2c, 0xe1, 0x8c, 0xc8, 0x0e, 0xe5, 0x83, 0xc0, 0x0c, 0xe5, 0x90, 0xc0, 0x58, 0xe5, 0x90, 0xe0, 0x5c, 0xe2, 0x0c, 0xc0, 0x01, 0xe2, 0x0e, 0xe0, 0x03, 
+0xe1, 0x8c, 0xc0, 0x8e, 0xe5, 0x90, 0xe0, 0x60, 0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc1, 0x8e, 0xe5, 0x90, 0xe0, 0x64, 0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc2, 0x0e, 0xe5, 0x90, 0xe0, 0x68, 0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc2, 0x8e, 
+0xe5, 0x90, 0xe0, 0x6c, 0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc3, 0x0e, 0xe5, 0x90, 0xe0, 0x74, 0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc3, 0x8e, 0xe5, 0x90, 0xe0, 0x78, 0xe2, 0x0e, 0xe0, 0x7f, 0xe1, 0x8c, 0xc4, 0x0e, 0xe5, 0x90, 0xe0, 0x7c, 
+0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc7, 0x8e, 0xe5, 0x90, 0xe0, 0x80, 0xe2, 0x0e, 0xe0, 0x03, 0xe1, 0x8c, 0xc8, 0x0e, 0xe5, 0x90, 0xe0, 0x84, 0xe2, 0x0e, 0xe0, 0x01, 0xe1, 0x8c, 0xc9, 0x0e, 0xe5, 0x90, 0xe0, 0x70, 0xe2, 0x0e, 0xe0, 0x01, 
+0xe1, 0x8c, 0xc9, 0x8e, 0xe5, 0x83, 0xc0, 0x18, 0xe5, 0x90, 0xc0, 0x88, 0xe5, 0x90, 0xe0, 0x8c, 0xe2, 0x0c, 0xc0, 0x3f, 0xe2, 0x0e, 0xe0, 0x3f, 0xe1, 0x8c, 0xc4, 0x0e, 0xe5, 0x90, 0xe0, 0x90, 0xe2, 0x0e, 0xe0, 0x3f, 0xe1, 0x8c, 0xc8, 0x0e, 
+0xe5, 0x90, 0xe0, 0x94, 0xe2, 0x0e, 0xe0, 0x3f, 0xe1, 0x8c, 0xcc, 0x0e, 0xe5, 0x83, 0xc0, 0x1c, 0xe3, 0x51, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x90, 0xc0, 0x48, 0xe5, 0x90, 0xe0, 0x4c, 0xe1, 0xa0, 0xcd, 0x8c, 0xe1, 0xa0, 0xc5, 0xac, 
+0xe2, 0x0e, 0xe0, 0x1f, 0xe1, 0x8c, 0xca, 0x8e, 0xe5, 0x83, 0xc0, 0x10, 0xe5, 0x90, 0xc0, 0x50, 0xe5, 0x90, 0xe0, 0x54, 0xe1, 0xa0, 0xcf, 0x0c, 0xe1, 0xa0, 0xc2, 0x2c, 0xe2, 0x0e, 0xe0, 0x03, 0xe1, 0x8c, 0xce, 0x0e, 0xe5, 0x93, 0xe0, 0x10, 
+0xe1, 0x8c, 0xc0, 0x0e, 0xe5, 0x83, 0xc0, 0x10, 0xe5, 0x83, 0x10, 0x14, 0xe5, 0x90, 0x10, 0x9c, 0xe5, 0x90, 0x20, 0x98, 0xe2, 0x01, 0x10, 0x03, 0xe2, 0x02, 0x20, 0x03, 0xe1, 0x81, 0x11, 0x02, 0xe5, 0x90, 0x20, 0xa0, 0xe2, 0x02, 0x20, 0x01, 
+0xe1, 0x81, 0x12, 0x02, 0xe5, 0x90, 0x20, 0xa4, 0xe2, 0x02, 0x20, 0x01, 0xe1, 0x81, 0x12, 0x82, 0xe5, 0x90, 0x20, 0xa8, 0xe2, 0x02, 0x20, 0x03, 0xe1, 0x81, 0x13, 0x02, 0xe5, 0x90, 0x20, 0xac, 0xe2, 0x02, 0x20, 0x3f, 0xe1, 0x81, 0x14, 0x02, 
+0xe5, 0x90, 0x20, 0xb0, 0xe2, 0x02, 0x20, 0x3f, 0xe1, 0x81, 0x17, 0x02, 0xe5, 0x90, 0x20, 0xb4, 0xe5, 0x90, 0x00, 0xb8, 0xe2, 0x02, 0x20, 0x3f, 0xe1, 0x81, 0x1a, 0x02, 0xe1, 0x81, 0x0d, 0x00, 0xe5, 0x83, 0x00, 0x50, 0xe4, 0x9d, 0xf0, 0x04, 
+0xe2, 0x80, 0x2b, 0x01, 0xe2, 0x82, 0x20, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x82, 0x11, 0xd0, 0xe5, 0x82, 0x11, 0xd4, 0xe5, 0x82, 0x11, 0xd8, 0xe5, 0x82, 0x11, 0xdc, 0xe5, 0x82, 0x11, 0xe0, 0xe5, 0x82, 0x11, 0xe4, 0xe5, 0x82, 0x11, 0xe8, 
+0xe5, 0x82, 0x11, 0xec, 0xe5, 0x82, 0x11, 0xf0, 0xe5, 0x82, 0x11, 0xf4, 0xe5, 0x82, 0x11, 0xf8, 0xe5, 0x82, 0x11, 0xfc, 0xe5, 0x82, 0x11, 0x34, 0xe5, 0x82, 0x11, 0x38, 0xe2, 0x82, 0x0e, 0x13, 0xe5, 0x82, 0x11, 0x3c, 0xe5, 0x80, 0x10, 0x20, 
+0xe5, 0x80, 0x10, 0x24, 0xe5, 0x80, 0x10, 0x1c, 0xe5, 0x80, 0x10, 0x18, 0xe5, 0x80, 0x10, 0x2c, 0xe5, 0x80, 0x10, 0x38, 0xe5, 0x80, 0x10, 0x3c, 0xe5, 0x80, 0x10, 0x40, 0xe5, 0x80, 0x10, 0x44, 0xe5, 0x80, 0x10, 0x48, 0xe5, 0x80, 0x10, 0x4c, 
+0xe5, 0x80, 0x10, 0x50, 0xe5, 0x80, 0x10, 0x74, 0xe5, 0x80, 0x10, 0x78, 0xe5, 0x80, 0x10, 0x7c, 0xe5, 0x80, 0x10, 0x80, 0xe5, 0x80, 0x10, 0x84, 0xe5, 0x80, 0x10, 0x88, 0xe5, 0x80, 0x10, 0x8c, 0xe5, 0x80, 0x10, 0x90, 0xe5, 0x80, 0x10, 0x94, 
+0xe5, 0x80, 0x10, 0x54, 0xe5, 0x80, 0x10, 0x58, 0xe5, 0x80, 0x10, 0x5c, 0xe5, 0x80, 0x10, 0x60, 0xe5, 0x80, 0x10, 0x64, 0xe5, 0x80, 0x10, 0x68, 0xe5, 0x80, 0x10, 0x6c, 0xe5, 0x80, 0x10, 0x70, 0xe5, 0x80, 0x10, 0x98, 0xe5, 0x80, 0x10, 0x9c, 
+0xe5, 0x80, 0x10, 0x10, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x13, 0xc4, 0xe5, 0x80, 0x10, 0xe4, 0xe5, 0x80, 0x11, 0x0c, 0xe5, 0x80, 0x13, 0xc8, 0xe5, 0x80, 0x10, 0x6c, 0xe5, 0x80, 0x16, 0x60, 0xe1, 0x2f, 0xff, 0x1e, 
+0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x14, 0x28, 0xe5, 0x80, 0x14, 0xe4, 0xe5, 0x80, 0x14, 0xd8, 0xe5, 0x80, 0x14, 0xfc, 0xe5, 0x80, 0x15, 0x20, 0xe5, 0x80, 0x15, 0x14, 0xe5, 0x80, 0x14, 0xf0, 0xe5, 0x80, 0x15, 0x08, 0xe5, 0x80, 0x14, 0x98, 
+0xe5, 0x80, 0x15, 0x3c, 0xe5, 0x80, 0x14, 0x88, 0xe5, 0x80, 0x14, 0x8c, 0xe5, 0x80, 0x14, 0x44, 0xe5, 0x80, 0x14, 0x48, 0xe5, 0x80, 0x14, 0x4c, 0xe5, 0x80, 0x14, 0x34, 0xe5, 0x80, 0x14, 0x3c, 0xe5, 0x80, 0x15, 0x40, 0xe5, 0x80, 0x15, 0x44, 
+0xe5, 0x80, 0x10, 0x04, 0xe5, 0x80, 0x10, 0x10, 0xe5, 0x80, 0x10, 0x54, 0xe5, 0x80, 0x10, 0x58, 0xe5, 0x80, 0x10, 0x14, 0xe5, 0x80, 0x10, 0x18, 0xe5, 0x80, 0x16, 0x60, 0xe5, 0x80, 0x16, 0xa4, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x2d, 0xe0, 0x04, 
+0xe2, 0x80, 0xea, 0x01, 0xe5, 0x9e, 0x20, 0x60, 0xe5, 0x9e, 0x10, 0x64, 0xe2, 0x82, 0x30, 0x04, 0xe2, 0x81, 0x10, 0x01, 0xe1, 0x51, 0x00, 0x03, 0x00, 0x41, 0x10, 0x03, 0xe0, 0x81, 0x21, 0x81, 0xe0, 0x80, 0x21, 0x82, 0xe5, 0x92, 0xc7, 0x2c, 
+0xe3, 0x5c, 0x00, 0x00, 0x05, 0x92, 0xc7, 0x30, 0x03, 0x5c, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xf5, 0xe0, 0x81, 0x11, 0x81, 0xe0, 0x80, 0x01, 0x81, 0xe5, 0x90, 0x07, 0x18, 0xe5, 0x8e, 0x00, 0x64, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x82, 0x07, 0x30, 
+0xe2, 0x82, 0x0e, 0x71, 0xe4, 0x9d, 0xf0, 0x04, 0xe3, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0xc0, 0x01, 0xe3, 0xa0, 0x30, 0x00, 0xe0, 0x82, 0x11, 0x82, 0xe0, 0x80, 0x11, 0x81, 0xe5, 0x81, 0x37, 0x10, 0xe5, 0x81, 0x27, 0x18, 0xe5, 0x81, 0x37, 0x14, 
+0xe5, 0x81, 0x37, 0x28, 0xe5, 0x81, 0x37, 0x2c, 0xe5, 0x81, 0xc7, 0x30, 0xe5, 0x81, 0x37, 0x34, 0xe5, 0x81, 0x37, 0x38, 0xe5, 0x81, 0x37, 0x3c, 0xe5, 0x81, 0x27, 0x44, 0xe5, 0x81, 0x37, 0x40, 0xe5, 0x81, 0x37, 0x48, 0xe5, 0x81, 0x37, 0x4c, 
+0xe2, 0x82, 0x20, 0x01, 0xe5, 0x81, 0x37, 0x50, 0xe3, 0x52, 0x00, 0x20, 0xe5, 0x81, 0x37, 0x54, 0xba, 0xff, 0xff, 0xeb, 0xe3, 0xe0, 0x10, 0x00, 0xe2, 0x80, 0x0a, 0x01, 0xe5, 0x80, 0x10, 0x10, 0xe5, 0x80, 0x10, 0x14, 0xe5, 0x80, 0x10, 0x18, 
+0xe5, 0x80, 0x10, 0x20, 0xe5, 0x80, 0x10, 0x24, 0xe5, 0xa0, 0x30, 0x28, 0xe5, 0x80, 0x10, 0x3c, 0xe1, 0x2f, 0xff, 0x1e, 0xe5, 0x80, 0x10, 0xe8, 0xe5, 0x80, 0x20, 0xec, 0xe5, 0x80, 0x10, 0xf0, 0xe5, 0x80, 0x20, 0xf4, 0xe5, 0x80, 0x10, 0xf8, 
+0xe5, 0x80, 0x20, 0xfc, 0xe5, 0x80, 0x10, 0x40, 0xe5, 0x80, 0x20, 0x44, 0xe2, 0x80, 0x00, 0x48, 0xe8, 0x80, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0x00, 
+0xeb, 0xff, 0xff, 0x92, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x0a, 0xcd, 0xe3, 0x50, 0x00, 0x00, 0x03, 0xa0, 0x00, 0x01, 0x05, 0x84, 0x06, 0xf0, 0x03, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 
+0xe1, 0xa0, 0x60, 0x01, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x80, 0x20, 0xcc, 0xe3, 0xa0, 0x08, 0x52, 0xe3, 0xa0, 0x10, 0x40, 0xe5, 0x80, 0x10, 0x08, 0xe3, 0xa0, 0x50, 0x00, 0xe5, 0x80, 0x50, 0xdc, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x80, 0x10, 0x00, 
+0xe5, 0x90, 0x10, 0x00, 0xe3, 0x81, 0x10, 0x02, 0xe5, 0x80, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x82, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x44, 0xe2, 0x84, 0x0b, 0x01, 0xe2, 0x80, 0x0f, 0x89, 0xeb, 0xff, 0xfe, 0x80, 
+0xe1, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xe5, 0x84, 0x57, 0x08, 0xeb, 0x00, 0x0a, 0x8e, 0xe5, 0x94, 0x10, 0xd0, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x84, 0x10, 0xd0, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x60, 0x01, 
+0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe3, 0xa0, 0x10, 0x40, 0xe5, 0x80, 0x10, 0x08, 0xe3, 0xa0, 0x50, 0x00, 0xe5, 0x80, 0x50, 0xdc, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x90, 0x30, 0x00, 0xe3, 0x83, 0x30, 0x02, 
+0xe5, 0x80, 0x30, 0x00, 0xe5, 0x84, 0x10, 0x18, 0xe1, 0xa0, 0x00, 0x04, 0xe5, 0x84, 0x20, 0xcc, 0xeb, 0xff, 0xff, 0x28, 0xe2, 0x84, 0x0b, 0x01, 0xe2, 0x80, 0x0f, 0x89, 0xeb, 0xff, 0xfe, 0x64, 0xe1, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x04, 
+0xe5, 0x84, 0x57, 0x08, 0xeb, 0x00, 0x08, 0xbc, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x80, 0x20, 0xcc, 0xe3, 0xa0, 0x00, 0x40, 0xe3, 0xa0, 0x58, 0x52, 0xe5, 0x85, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x85, 0x00, 0xdc, 0xe3, 0xa0, 0x00, 0x02, 0xe5, 0x85, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0x36, 0xe5, 0x94, 0x17, 0x08, 0xe5, 0x95, 0x20, 0x44, 0xe0, 0x81, 0x10, 0x02, 0xe5, 0x84, 0x17, 0x08, 0xe8, 0xbd, 0x80, 0x70, 
+0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0xbc, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x28, 0x52, 0xe5, 0x92, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x82, 0x00, 0x3c, 0xe5, 0x92, 0x00, 0x28, 0xe1, 0x2f, 0xff, 0x1e, 
+0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x91, 0x20, 0x34, 0xe3, 0x52, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x91, 0x00, 0x28, 0xe3, 0xa0, 0x20, 0x01, 0xe5, 0x81, 0x20, 0x38, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x28, 0x52, 
+0xe5, 0x92, 0x10, 0x34, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x82, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x82, 0x00, 0x04, 0xe5, 0x92, 0x00, 0x1c, 0xe1, 0x2f, 0xff, 0x1e, 0xe1, 0xa0, 0x00, 0x01, 0xe5, 0x2d, 0xe0, 0x04, 
+0xeb, 0xff, 0xff, 0xea, 0xe4, 0x9d, 0xf0, 0x04, 0xe1, 0xa0, 0x00, 0x01, 0xe5, 0x2d, 0xe0, 0x04, 0xeb, 0xff, 0xff, 0xdf, 0xe4, 0x9d, 0xf0, 0x04, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x2d, 0xe0, 0x04, 0xe5, 0x91, 0x00, 0x34, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x91, 0x00, 0x44, 0xe2, 0x10, 0x00, 0x07, 0x12, 0x60, 0x00, 0x08, 0x1b, 0xff, 0xff, 0xdc, 0xe3, 0xa0, 0x00, 0x00, 0xe4, 0x9d, 0xf0, 0x04, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0xff, 0xff, 0xf1, 
+0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xe5, 0xe3, 0xa0, 0x10, 0x18, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xe6, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xf7, 0xe8, 0xbd, 0x80, 0x10, 
+0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0xff, 0xff, 0xe4, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xd8, 0xe3, 0xa0, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xd9, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xf7, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0xff, 0xff, 0xd7, 0xea, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xcb, 
+0xe3, 0xa0, 0x10, 0x10, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xcc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xf7, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x08, 0x52, 0xe5, 0x90, 0x00, 0x84, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xd0, 0xe3, 0xa0, 0x10, 0x20, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xbe, 0xe2, 0x00, 0x00, 0xff, 0xe3, 0x50, 0x00, 0x0b, 0x03, 0xa0, 0x00, 0x01, 
+0x08, 0xbd, 0x80, 0x10, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x40, 0x01, 0xe5, 0xb1, 0x60, 0x04, 0xe5, 0x91, 0x50, 0x04, 0xe1, 0xa0, 0x70, 0x00, 0xe1, 0xa0, 0x10, 0x05, 0xeb, 0xff, 0xff, 0xb1, 
+0xe3, 0xa0, 0x10, 0x01, 0xe2, 0x86, 0xc0, 0x01, 0xea, 0x00, 0x00, 0x0e, 0xe0, 0x81, 0x20, 0x81, 0xe7, 0x94, 0x31, 0x02, 0xe0, 0x84, 0x21, 0x02, 0xe5, 0x92, 0x20, 0x04, 0xe0, 0x45, 0x20, 0x02, 0xe1, 0x53, 0x02, 0x30, 0x1a, 0x00, 0x00, 0x06, 
+0xe0, 0x81, 0x00, 0x81, 0xe0, 0x84, 0x41, 0x00, 0xe5, 0x94, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xff, 0x9e, 0xe5, 0x94, 0x00, 0x08, 0xe8, 0xbd, 0x80, 0xf0, 0xe2, 0x81, 0x10, 0x01, 0xe1, 0x51, 0x00, 0x0c, 0x3a, 0xff, 0xff, 0xee, 
+0xe3, 0xe0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0xf0, 0xe9, 0x2d, 0x43, 0xf0, 0xe2, 0x80, 0x70, 0x38, 0xe8, 0x97, 0x00, 0xa0, 0xe3, 0xa0, 0x00, 0x04, 0xe2, 0x4d, 0xd0, 0x1c, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x08, 0xe5, 0x8d, 0x00, 0x08, 
+0xe3, 0xa0, 0x00, 0x10, 0xe5, 0x8d, 0x00, 0x0c, 0xe3, 0xa0, 0x00, 0x20, 0xe5, 0x8d, 0x00, 0x10, 0xe3, 0xa0, 0x00, 0x40, 0xe5, 0x8d, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x80, 0xe1, 0xa0, 0x60, 0x01, 0xe5, 0x8d, 0x00, 0x18, 0xe1, 0xa0, 0x00, 0x05, 
+0xe3, 0xa0, 0x10, 0x03, 0xe1, 0xa0, 0x90, 0x02, 0xe3, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x0b, 0xa7, 0xe1, 0xa0, 0x80, 0x01, 0xe3, 0xa0, 0x10, 0x03, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0x00, 0x0b, 0xa3, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x86, 0x00, 0x08, 
+0xe5, 0x86, 0x00, 0x04, 0xe0, 0x00, 0x05, 0x97, 0xe3, 0x51, 0x00, 0x00, 0xe1, 0x89, 0x03, 0x80, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0x58, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe3, 0x15, 0x00, 0x01, 0x03, 0xa0, 0x40, 0x01, 0x0a, 0x00, 0x00, 0x07, 
+0xe2, 0x05, 0x11, 0x06, 0xe3, 0x51, 0x00, 0x01, 0x03, 0xa0, 0x40, 0x02, 0xea, 0x00, 0x00, 0x03, 0xe2, 0x07, 0x10, 0x01, 0xe1, 0x81, 0x10, 0x88, 0xe2, 0x8d, 0x20, 0x04, 0xe7, 0x92, 0x41, 0x01, 0xe1, 0x80, 0x09, 0x84, 0xe3, 0xa0, 0x18, 0x52, 
+0xe5, 0x81, 0x00, 0x48, 0xe3, 0xa0, 0x0a, 0x01, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x91, 0x00, 0x54, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x91, 0x00, 0x4c, 0xe5, 0x86, 0x00, 0x04, 0xe2, 0x8d, 0xd0, 0x1c, 0xe3, 0xa0, 0x00, 0x00, 
+0xe8, 0xbd, 0x83, 0xf0, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x60, 0x00, 0xe2, 0x80, 0x40, 0xe4, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x45, 0xe5, 0x84, 0x03, 0x2c, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x42, 0xe5, 0x84, 0x03, 0x30, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x3f, 0xe5, 0x84, 0x03, 0x14, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x3c, 0xe5, 0x84, 0x03, 0x34, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x39, 0xe5, 0x84, 0x02, 0xcc, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0x36, 0xe5, 0x84, 0x02, 0xd4, 0xe5, 0x86, 0x00, 0x6c, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x32, 0xe5, 0x84, 0x02, 0xd8, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xff, 0x2f, 0xe5, 0x84, 0x02, 0xe0, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xff, 0x2c, 0xe5, 0x84, 0x02, 0xe4, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x29, 0xe5, 0x84, 0x02, 0xe8, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xff, 0x26, 0xe5, 0x84, 0x02, 0xf8, 0xe5, 0x94, 0x00, 0x48, 0xe3, 0x50, 0x00, 0x00, 
+0x0a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xff, 0x1e, 0xe0, 0x85, 0x11, 0x05, 0xe0, 0x84, 0x11, 0x01, 0xe5, 0x91, 0x20, 0x50, 0xe2, 0x80, 0x00, 0x01, 0xe0, 0x00, 0x00, 0x92, 
+0xe1, 0xa0, 0x04, 0x20, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x81, 0x00, 0x54, 0xe5, 0x94, 0x00, 0x48, 0xe1, 0x50, 0x00, 0x05, 0x8a, 0xff, 0xff, 0xf2, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xff, 0x11, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x11, 
+0xe3, 0xa0, 0x00, 0x0c, 0xeb, 0xff, 0xff, 0x0d, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x84, 0x00, 0x0c, 0xe5, 0x94, 0x10, 0x04, 0xe1, 0x50, 0x00, 0x01, 0x8a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x0c, 0xeb, 0xff, 0xff, 0x05, 
+0xe2, 0x80, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x84, 0x00, 0x10, 0xe5, 0x94, 0x10, 0x08, 0xe1, 0x50, 0x00, 0x01, 0x9a, 0x00, 0x00, 0x01, 0xe3, 0xe0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x70, 0xe5, 0x94, 0x02, 0xd8, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0xf8, 0xe5, 0x84, 0x02, 0xdc, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0xf5, 0xe3, 0x50, 0x00, 0x01, 0xe3, 0xa0, 0x50, 0x08, 0x15, 0x86, 0x50, 0x64, 0x1a, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfe, 0xef, 0xe2, 0x80, 0x00, 0x09, 0xe5, 0x86, 0x00, 0x64, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfe, 0xeb, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x86, 0x50, 0x68, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x03, 
+0xeb, 0xff, 0xfe, 0xe6, 0xe2, 0x80, 0x00, 0x09, 0xe5, 0x86, 0x00, 0x68, 0xe5, 0x94, 0x00, 0x0c, 0xe5, 0x86, 0x00, 0x38, 0xe5, 0x94, 0x00, 0x10, 0xe5, 0x86, 0x00, 0x3c, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x20, 0x00, 
+0xe5, 0x92, 0x30, 0x34, 0xe5, 0x92, 0xc0, 0x30, 0xe2, 0x80, 0x1b, 0x01, 0xe0, 0x83, 0x30, 0x0c, 0xe5, 0x92, 0xc0, 0x38, 0xe5, 0x92, 0x20, 0x2c, 0xe2, 0x81, 0x10, 0x24, 0xe0, 0x23, 0x23, 0x9c, 0xe3, 0xa0, 0x28, 0x52, 0xe2, 0x81, 0x0e, 0x13, 
+0xe5, 0x82, 0x30, 0x10, 0xe5, 0x92, 0x30, 0x10, 0xe3, 0xa0, 0xc6, 0x05, 0xe5, 0x8c, 0x32, 0x00, 0xe2, 0x81, 0xce, 0x1d, 0xe8, 0x9c, 0x10, 0x08, 0xe2, 0x0c, 0xc0, 0x01, 0xe1, 0x83, 0x31, 0x0c, 0xe5, 0x91, 0xc1, 0xd8, 0xe2, 0x0c, 0xc0, 0x01, 
+0xe1, 0x83, 0x31, 0x8c, 0xe5, 0x91, 0xc1, 0xdc, 0xe2, 0x0c, 0xc0, 0x03, 0xe1, 0x83, 0x32, 0x0c, 0xe5, 0x91, 0xc1, 0xe0, 0xe2, 0x0c, 0xc0, 0x01, 0xe1, 0x83, 0x33, 0x0c, 0xe5, 0x91, 0xc1, 0xe4, 0xe2, 0x0c, 0xc0, 0x01, 0xe1, 0x83, 0x33, 0x8c, 
+0xe5, 0x91, 0xc1, 0xe8, 0xe2, 0x0c, 0xc0, 0x03, 0xe1, 0x83, 0x34, 0x0c, 0xe5, 0x91, 0xc1, 0xec, 0xe2, 0x0c, 0xc0, 0x01, 0xe1, 0x83, 0x35, 0x0c, 0xe5, 0x91, 0xc1, 0xf0, 0xe2, 0x0c, 0xc0, 0x03, 0xe1, 0x83, 0x35, 0x8c, 0xe5, 0x91, 0xc1, 0xf4, 
+0xe2, 0x0c, 0xc0, 0x03, 0xe1, 0x83, 0x36, 0x8c, 0xe5, 0x91, 0xc1, 0xf8, 0xe5, 0x91, 0x11, 0xfc, 0xe2, 0x0c, 0xc0, 0x1f, 0xe1, 0x83, 0x37, 0x8c, 0xe2, 0x01, 0x10, 0x1f, 0xe1, 0x83, 0x1a, 0x01, 0xe5, 0x82, 0x10, 0x58, 0xe5, 0x90, 0x10, 0x04, 
+0xe5, 0x90, 0x30, 0x08, 0xe2, 0x01, 0x10, 0x07, 0xe2, 0x03, 0x30, 0x03, 0xe1, 0x81, 0x11, 0x83, 0xe5, 0x90, 0x30, 0x0c, 0xe2, 0x03, 0x30, 0x03, 0xe1, 0x81, 0x12, 0x83, 0xe5, 0x90, 0x30, 0x10, 0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x13, 0x83, 
+0xe5, 0x90, 0x30, 0x14, 0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x14, 0x03, 0xe5, 0x82, 0x10, 0x64, 0xe5, 0x90, 0x10, 0x20, 0xe5, 0x90, 0x30, 0x24, 0xe2, 0x01, 0x10, 0x01, 0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x10, 0x83, 0xe5, 0x90, 0x30, 0x1c, 
+0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x11, 0x03, 0xe5, 0x90, 0x30, 0x18, 0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x11, 0x83, 0xe5, 0x90, 0x30, 0x2c, 0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x12, 0x03, 0xe5, 0x90, 0x30, 0x38, 0xe2, 0x03, 0x30, 0x01, 
+0xe1, 0x81, 0x12, 0x83, 0xe5, 0x90, 0x30, 0x3c, 0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x13, 0x03, 0xe5, 0x82, 0x10, 0x68, 0xe5, 0x90, 0x10, 0x40, 0xe5, 0x90, 0x30, 0x44, 0xe2, 0x01, 0x10, 0x01, 0xe2, 0x03, 0x30, 0x03, 0xe1, 0x81, 0x10, 0x83, 
+0xe5, 0x90, 0x30, 0x48, 0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x11, 0x83, 0xe5, 0x90, 0x30, 0x4c, 0xe2, 0x03, 0x30, 0x1f, 0xe1, 0x81, 0x12, 0x03, 0xe5, 0x90, 0x30, 0x50, 0xe2, 0x03, 0x30, 0x1f, 0xe1, 0x81, 0x14, 0x83, 0xe5, 0x82, 0x10, 0x6c, 
+0xe5, 0x90, 0x10, 0x74, 0xe5, 0x90, 0x30, 0x78, 0xe2, 0x01, 0x10, 0x03, 0xe2, 0x03, 0x30, 0x03, 0xe1, 0x81, 0x11, 0x03, 0xe5, 0x90, 0x30, 0x7c, 0xe2, 0x03, 0x30, 0x07, 0xe1, 0x81, 0x13, 0x03, 0xe5, 0x90, 0x30, 0x80, 0xe2, 0x03, 0x30, 0x03, 
+0xe1, 0x81, 0x14, 0x83, 0xe5, 0x90, 0x30, 0x84, 0xe2, 0x03, 0x30, 0x03, 0xe1, 0x81, 0x15, 0x83, 0xe5, 0x90, 0x30, 0x88, 0xe2, 0x03, 0x30, 0x03, 0xe1, 0x81, 0x16, 0x83, 0xe5, 0x90, 0x30, 0x8c, 0xe2, 0x03, 0x30, 0x03, 0xe1, 0x81, 0x17, 0x83, 
+0xe5, 0x90, 0x30, 0x90, 0xe2, 0x03, 0x30, 0x03, 0xe1, 0x81, 0x18, 0x83, 0xe5, 0x90, 0x30, 0x94, 0xe2, 0x03, 0x30, 0x07, 0xe1, 0x81, 0x19, 0x83, 0xe5, 0x90, 0x30, 0x98, 0xe2, 0x03, 0x30, 0x07, 0xe1, 0x81, 0x1b, 0x03, 0xe5, 0x90, 0x30, 0x9c, 
+0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x1c, 0x83, 0xe5, 0x82, 0x10, 0x70, 0xe5, 0x90, 0x10, 0x54, 0xe5, 0x90, 0x30, 0x58, 0xe2, 0x01, 0x10, 0x03, 0xe2, 0x03, 0x30, 0x03, 0xe1, 0x81, 0x11, 0x83, 0xe5, 0x90, 0x30, 0x5c, 0xe2, 0x03, 0x30, 0x07, 
+0xe1, 0x81, 0x12, 0x03, 0xe5, 0x90, 0x30, 0x60, 0xe2, 0x03, 0x30, 0x03, 0xe1, 0x81, 0x13, 0x83, 0xe5, 0x90, 0x30, 0x64, 0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x14, 0x83, 0xe5, 0x90, 0x30, 0x68, 0xe2, 0x03, 0x30, 0x1f, 0xe1, 0x81, 0x15, 0x03, 
+0xe5, 0x90, 0x30, 0x6c, 0xe5, 0x90, 0x00, 0x70, 0xe2, 0x03, 0x30, 0x01, 0xe1, 0x81, 0x17, 0x83, 0xe2, 0x00, 0x00, 0x01, 0xe1, 0x81, 0x08, 0x00, 0xe5, 0x82, 0x00, 0x74, 0xe1, 0x2f, 0xff, 0x1e, 0xe3, 0xa0, 0x19, 0x01, 0xe3, 0xa0, 0x08, 0x52, 
+0xe5, 0x80, 0x10, 0x04, 0xe5, 0x90, 0x10, 0x00, 0xe3, 0x81, 0x10, 0x40, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x90, 0x10, 0x50, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe3, 0xa0, 0x1a, 0x02, 0xe5, 0x80, 0x10, 0x04, 0xe5, 0x90, 0x10, 0x00, 
+0xe3, 0x81, 0x10, 0x40, 0xe5, 0x80, 0x10, 0x00, 0xe5, 0x90, 0x10, 0x20, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x90, 0x10, 0x78, 0xe1, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x06, 0x02, 0xe5, 0x80, 0x10, 0x0c, 0xe5, 0x92, 0x10, 0x7c, 
+0xe5, 0x80, 0x10, 0x10, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xe3, 0xa0, 0x48, 0x52, 0xe5, 0x94, 0x10, 0xd8, 0xe3, 0x51, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xeb, 0xff, 0xff, 0x42, 0xeb, 0xff, 0xff, 0xe0, 0xe5, 0x94, 0x00, 0x90, 
+0xe3, 0x50, 0x00, 0x00, 0x03, 0xa0, 0x00, 0x01, 0x05, 0x84, 0x00, 0xcc, 0x03, 0xa0, 0x00, 0x00, 0x13, 0xe0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x50, 0x01, 0xe5, 0x9f, 0x1f, 0x20, 0xe1, 0xa0, 0x70, 0x02, 
+0xe3, 0xa0, 0x20, 0x80, 0xe2, 0x4d, 0xd0, 0x84, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x40, 0x00, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0x00, 0x0a, 0x2b, 0xe3, 0x57, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x57, 0x00, 0x02, 
+0x1a, 0x00, 0x00, 0x05, 0xea, 0x00, 0x00, 0x03, 0xe3, 0x55, 0x00, 0x09, 0xba, 0x00, 0x00, 0x02, 0xe2, 0x8d, 0x00, 0x04, 0xe7, 0x90, 0x51, 0x05, 0xe3, 0xa0, 0x40, 0x01, 0xe5, 0x86, 0x40, 0x08, 0xe5, 0x86, 0x50, 0x00, 0xe2, 0x8d, 0xd0, 0x84, 
+0xe8, 0xbd, 0x80, 0xf0, 0xe5, 0x90, 0x20, 0xf4, 0xe5, 0x90, 0x30, 0xf0, 0xe5, 0x90, 0x00, 0xe4, 0xe3, 0x50, 0x00, 0x00, 0x13, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x91, 0x00, 0x70, 0xe3, 0x10, 0x00, 0x01, 0x10, 0x83, 0x3f, 0xa3, 
+0x11, 0xa0, 0x30, 0xc3, 0xe3, 0x10, 0x00, 0x02, 0x10, 0x82, 0x0f, 0xa2, 0x11, 0xa0, 0x20, 0xc0, 0xe5, 0x81, 0x20, 0x44, 0xe5, 0x81, 0x30, 0x40, 0xe5, 0x91, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x00, 0x82, 0x0f, 0xa2, 0x01, 0xa0, 0x20, 0xc0, 
+0xe2, 0x83, 0x00, 0x0f, 0xe1, 0xa0, 0xc2, 0x40, 0xe2, 0x82, 0x00, 0x0f, 0xe1, 0xa0, 0x02, 0x40, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x81, 0xc0, 0x38, 0xe0, 0x00, 0x00, 0x9c, 0xe5, 0x81, 0x00, 0x28, 0xe3, 0xa0, 0x06, 0x05, 0xe5, 0x80, 0x3c, 0x04, 
+0xe5, 0x80, 0x2c, 0x08, 0xe1, 0x83, 0x28, 0x02, 0xe3, 0xa0, 0x18, 0x52, 0xe5, 0x81, 0x20, 0x14, 0xe5, 0x91, 0x10, 0x14, 0xe5, 0x80, 0x1c, 0x0c, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0xf0, 0xe1, 0xa0, 0x70, 0x01, 0xe5, 0x9f, 0x1e, 0x30, 
+0xe1, 0xa0, 0x50, 0x02, 0xe3, 0xa0, 0x20, 0x48, 0xe2, 0x4d, 0xdf, 0x55, 0xe1, 0xa0, 0x40, 0x00, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0x43, 0xeb, 0x00, 0x09, 0xef, 0xe5, 0x9f, 0x1e, 0x14, 0xe3, 0xa0, 0x20, 0x48, 0xe0, 0x8f, 0x10, 0x01, 
+0xe2, 0x8d, 0x00, 0xc4, 0xeb, 0x00, 0x09, 0xea, 0xe5, 0x9f, 0x1e, 0x04, 0xe3, 0xa0, 0x20, 0x48, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x7c, 0xeb, 0x00, 0x09, 0xe5, 0xe5, 0x9f, 0x1d, 0xf4, 0xe3, 0xa0, 0x20, 0x48, 0xe0, 0x8f, 0x10, 0x01, 
+0xe2, 0x8d, 0x00, 0x34, 0xeb, 0x00, 0x09, 0xe0, 0xe5, 0x9f, 0x1d, 0xe4, 0xe3, 0xa0, 0x20, 0x30, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0x00, 0x09, 0xdb, 0xe5, 0x95, 0x10, 0x00, 0xe5, 0x94, 0x00, 0x18, 0xe3, 0x51, 0x00, 0x02, 
+0x1a, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x0c, 0x92, 0x8d, 0x10, 0x34, 0x82, 0x8d, 0x10, 0x7c, 0xea, 0x00, 0x00, 0x02, 0xe3, 0x50, 0x00, 0x0c, 0x92, 0x8d, 0x10, 0xc4, 0x82, 0x8d, 0x1f, 0x43, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfe, 0x0e, 
+0xe3, 0x50, 0x00, 0x04, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x84, 0x01, 0x8c, 0x1a, 0x00, 0x00, 0x38, 0xe5, 0x94, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x0c, 0x92, 0x8d, 0x10, 0x34, 0x82, 0x8d, 0x10, 0x7c, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfe, 0x04, 
+0xe5, 0x85, 0x00, 0x0c, 0xe5, 0x84, 0x01, 0x90, 0xe1, 0xa0, 0x00, 0x07, 0xe2, 0x8d, 0x10, 0x04, 0xeb, 0xff, 0xfd, 0xff, 0xe3, 0x50, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x01, 0x03, 0xa0, 0x00, 0x02, 0x05, 0x84, 0x11, 0x18, 0x05, 0x84, 0x02, 0x80, 
+0x05, 0x84, 0x11, 0x24, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x01, 0x05, 0x84, 0x11, 0x18, 0x05, 0x84, 0x61, 0x24, 0x05, 0x84, 0x62, 0x80, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x02, 0x05, 0x84, 0x11, 0x24, 0x05, 0x84, 0x61, 0x18, 
+0x05, 0x84, 0x12, 0x80, 0xe3, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfd, 0xa1, 0xe5, 0x94, 0x11, 0x18, 0xe3, 0x51, 0x00, 0x01, 0x15, 0x84, 0x01, 0x28, 0x05, 0x84, 0x01, 0x1c, 0xe5, 0x84, 0x02, 0x88, 0xe1, 0xa0, 0x00, 0x07, 
+0xe3, 0xa0, 0x10, 0x06, 0xeb, 0xff, 0xfd, 0x99, 0xe5, 0x94, 0x11, 0x18, 0xe3, 0x51, 0x00, 0x01, 0x15, 0x84, 0x01, 0x2c, 0x05, 0x84, 0x01, 0x20, 0xe5, 0x84, 0x02, 0x8c, 0x05, 0x94, 0x01, 0x24, 0x03, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x11, 
+0xe3, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfd, 0x8e, 0xe5, 0x84, 0x01, 0x28, 0xe5, 0x84, 0x02, 0x90, 0xe1, 0xa0, 0x00, 0x07, 0xe3, 0xa0, 0x10, 0x06, 0xeb, 0xff, 0xfd, 0x89, 0xe5, 0x84, 0x01, 0x2c, 0xe5, 0x84, 0x02, 0x94, 
+0xea, 0x00, 0x00, 0x06, 0xe5, 0x85, 0x00, 0x0c, 0xe5, 0x84, 0x61, 0x18, 0xe5, 0x84, 0x61, 0x24, 0xe5, 0x84, 0x61, 0x1c, 0xe5, 0x84, 0x61, 0x28, 0xe5, 0x84, 0x61, 0x20, 0xe5, 0x84, 0x61, 0x2c, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xdf, 0x55, 
+0xe8, 0xbd, 0x80, 0xf0, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x70, 0x01, 0xe5, 0x90, 0x10, 0x28, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0x51, 0x00, 0x00, 0x15, 0x94, 0x13, 0x08, 0xe5, 0x90, 0x03, 0x04, 0x13, 0x51, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x00, 0x15, 0x97, 0x00, 0x6c, 0x12, 0x80, 0x00, 0x01, 0x03, 0xa0, 0x00, 0x01, 0xea, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x00, 0x15, 0x97, 0x00, 0x34, 0x12, 0x80, 0x00, 0x02, 0x03, 0xa0, 0x00, 0x02, 0xe5, 0x84, 0x03, 0x28, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfd, 0x55, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x12, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x0d, 0xe3, 0xa0, 0x00, 0x12, 0xeb, 0xff, 0xfd, 0x4f, 0xe0, 0x87, 0x62, 0x05, 0xe5, 0x86, 0x00, 0x7c, 
+0xe3, 0xa0, 0x00, 0x12, 0xeb, 0xff, 0xfd, 0x4b, 0xe5, 0x86, 0x00, 0x80, 0xe3, 0xa0, 0x00, 0x0e, 0xeb, 0xff, 0xfd, 0x48, 0xe5, 0x86, 0x00, 0x84, 0xe3, 0xa0, 0x00, 0x0e, 0xeb, 0xff, 0xfd, 0x45, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x86, 0x00, 0x88, 
+0xe5, 0x94, 0x03, 0x28, 0xe1, 0x50, 0x00, 0x05, 0x8a, 0xff, 0xff, 0xee, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x81, 0xf0, 0xe9, 0x2d, 0x40, 0xfe, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x00, 0x05, 0xe1, 0xa0, 0x50, 0x01, 0xeb, 0xff, 0xfd, 0x39, 
+0xe5, 0x84, 0x00, 0x10, 0xe5, 0x95, 0x12, 0xf8, 0xe3, 0xa0, 0x60, 0x02, 0xe3, 0x51, 0x00, 0x01, 0xe3, 0xa0, 0x70, 0x03, 0x0a, 0x00, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x00, 0x03, 0xe0, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x2c, 0xe1, 0xa0, 0x10, 0x00, 
+0xe5, 0x95, 0x22, 0xf8, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xff, 0x12, 0xe5, 0x9d, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x18, 0xe5, 0x9d, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x84, 0x70, 0x14, 0x15, 0x84, 0x60, 0x14, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x84, 0x00, 0x1c, 0xe5, 0x94, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x08, 0x8a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfd, 0x1f, 0xe5, 0x84, 0x00, 0x1c, 0xe5, 0x95, 0x02, 0xf8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x12, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfd, 0x19, 0xe5, 0x84, 0x02, 0x28, 0xe5, 0x94, 0x10, 0x10, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x20, 0x02, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xfe, 0xf8, 0xe5, 0x9d, 0x00, 0x00, 
+0xe5, 0x84, 0x00, 0x18, 0xe5, 0x84, 0x60, 0x14, 0xea, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x20, 0x03, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xfe, 0xf1, 0xe5, 0x9d, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x18, 0xe5, 0x84, 0x70, 0x14, 0xe5, 0x94, 0x00, 0x18, 
+0xe5, 0x84, 0x01, 0x7c, 0xe5, 0x94, 0x00, 0x1c, 0xe5, 0x84, 0x01, 0x9c, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0xfe, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x91, 0x02, 0xe0, 0xe3, 0xa0, 0x70, 0x01, 0xe3, 0x50, 0x00, 0x01, 
+0x13, 0x50, 0x00, 0x03, 0xe3, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0x1a, 0x00, 0x00, 0x3a, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfc, 0xf7, 0xe5, 0x84, 0x00, 0xac, 0xe3, 0x50, 0x00, 0x01, 0xe5, 0x84, 0x01, 0x70, 0x15, 0x84, 0x60, 0x40, 
+0x1a, 0x00, 0x00, 0x39, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xfc, 0xf0, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x01, 0x74, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x84, 0x70, 0x40, 0xea, 0x00, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 
+0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xfc, 0xe7, 0xe2, 0x80, 0x10, 0x02, 0xe5, 0x84, 0x01, 0xc0, 0xe5, 0x84, 0x10, 0x40, 0xea, 0x00, 0x00, 0x10, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xfc, 0xdf, 
+0xe2, 0x80, 0x10, 0x06, 0xe5, 0x84, 0x01, 0xbc, 0xe5, 0x84, 0x10, 0x40, 0xea, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xfc, 0xd7, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x01, 0x78, 
+0x03, 0xa0, 0x00, 0x0b, 0x13, 0xa0, 0x00, 0x0a, 0xe5, 0x84, 0x00, 0x40, 0xe5, 0x95, 0x02, 0xe0, 0xe3, 0x50, 0x00, 0x01, 0x13, 0x50, 0x00, 0x02, 0x13, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x10, 0xe5, 0x94, 0x00, 0x40, 0xe3, 0x50, 0x00, 0x00, 
+0x13, 0x50, 0x00, 0x0b, 0x0a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xfc, 0xc7, 0xe3, 0x50, 0x00, 0x07, 0x15, 0x94, 0x10, 0x18, 0x10, 0x81, 0x00, 0x00, 0x12, 0x80, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xfc, 0xc0, 0xe5, 0x84, 0x00, 0x44, 0xea, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0xff, 0xff, 0xce, 0xe5, 0x84, 0x60, 0x44, 0xe5, 0x84, 0x60, 0x40, 0xe5, 0x94, 0x00, 0x44, 0xe5, 0x84, 0x01, 0x80, 0xe3, 0xa0, 0x00, 0x00, 
+0xe8, 0xbd, 0x81, 0xf0, 0xe9, 0x2d, 0x4f, 0xf3, 0xe5, 0x9f, 0x19, 0xb0, 0xe2, 0x80, 0x4b, 0x01, 0xe2, 0x84, 0x40, 0x24, 0xe2, 0x4d, 0xdf, 0xaf, 0xe1, 0xa0, 0x60, 0x00, 0xe2, 0x80, 0x50, 0xe4, 0xe3, 0xa0, 0x2f, 0x45, 0xe0, 0x8f, 0x10, 0x01, 
+0xe2, 0x8d, 0x0f, 0x6a, 0xeb, 0x00, 0x08, 0xc8, 0xe5, 0x9f, 0x19, 0x8c, 0xe3, 0xa0, 0x20, 0x48, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0e, 0x16, 0xeb, 0x00, 0x08, 0xc3, 0xe5, 0x9f, 0x19, 0x7c, 0xe3, 0xa0, 0x2e, 0x12, 0xe0, 0x8f, 0x10, 0x01, 
+0xe2, 0x8d, 0x00, 0x40, 0xeb, 0x00, 0x08, 0xbe, 0xe5, 0x9f, 0x19, 0x6c, 0xe3, 0xa0, 0x20, 0x40, 0xe0, 0x8f, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0x00, 0x08, 0xb9, 0xe5, 0x96, 0x00, 0x04, 0xe3, 0xa0, 0xa0, 0x03, 0xe3, 0x50, 0x00, 0x02, 
+0xe3, 0xa0, 0xb0, 0x02, 0xe3, 0xa0, 0x86, 0x05, 0xe3, 0xa0, 0x90, 0x01, 0xe3, 0xa0, 0x70, 0x00, 0x1a, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x02, 0xc0, 0xe3, 0xa0, 0x10, 0x03, 0xeb, 0xff, 0xfc, 0xa3, 0xe7, 0x9d, 0x21, 0x80, 0xe0, 0x8d, 0x11, 0x80, 
+0xe5, 0x84, 0x20, 0x04, 0xe5, 0x91, 0x10, 0x04, 0xe3, 0x50, 0x00, 0x01, 0xe5, 0x84, 0x10, 0x08, 0x0a, 0x00, 0x00, 0x0d, 0xe2, 0x40, 0x10, 0x01, 0xe3, 0x51, 0x00, 0x02, 0x9a, 0x00, 0x00, 0x0e, 0xe2, 0x40, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x03, 
+0x8a, 0x00, 0x00, 0x12, 0xea, 0x00, 0x00, 0x0f, 0xe5, 0x9d, 0x02, 0xc0, 0xe2, 0x8d, 0x1e, 0x16, 0xeb, 0xff, 0xfc, 0xdd, 0xe5, 0x84, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x00, 0x08, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x88, 0x9c, 0x0c, 
+0xea, 0x00, 0x00, 0x09, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x88, 0xbc, 0x0c, 0xea, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x02, 0x13, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x88, 0xac, 0x0c, 0xea, 0x00, 0x00, 0x00, 
+0xe5, 0x88, 0x7c, 0x0c, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x95, 0x03, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x02, 0xc0, 0xe3, 0xa0, 0x10, 0x08, 0xeb, 0xff, 0xfc, 0x79, 
+0xe5, 0x84, 0x00, 0x2c, 0xe5, 0x95, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x01, 0x05, 0x95, 0x03, 0x08, 0x03, 0x50, 0x00, 0x00, 0xe5, 0x95, 0x03, 0x04, 0x1a, 0x00, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x84, 0x70, 0x34, 0x15, 0x84, 0x90, 0x30, 
+0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x9d, 0x02, 0xc0, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xfc, 0x6b, 0xe5, 0x84, 0x00, 0x30, 0xe5, 0x9d, 0x02, 0xc0, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xfc, 0x67, 0xe5, 0x84, 0x00, 0x34, 0xea, 0x00, 0x00, 0x06, 
+0xe3, 0x50, 0x00, 0x01, 0x15, 0x84, 0x70, 0x6c, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x02, 0xc0, 0xe3, 0xa0, 0x10, 0x02, 0xeb, 0xff, 0xfc, 0x5f, 0xe5, 0x84, 0x00, 0x6c, 0xe5, 0x94, 0x00, 0x30, 0xe5, 0x84, 0x02, 0x1c, 0xe5, 0x95, 0x03, 0x14, 
+0xe3, 0x50, 0x00, 0x01, 0x15, 0x86, 0x74, 0x0c, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x22, 0xc0, 0xe1, 0xa0, 0x10, 0x04, 0xe2, 0x86, 0x00, 0xe4, 0xeb, 0xff, 0xfe, 0xd7, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x4a, 0xe5, 0x94, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x46, 0xe5, 0x9d, 0x02, 0xc0, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xfc, 0x4c, 0xe5, 0x84, 0x00, 0x58, 0xe5, 0x94, 0x10, 0x04, 0xe5, 0x84, 0x02, 0x84, 0xe5, 0x95, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x01, 
+0x15, 0x84, 0x70, 0x38, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x02, 0xc0, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xfc, 0x42, 0xe5, 0x84, 0x00, 0x38, 0xe5, 0x95, 0x03, 0x1c, 0xe3, 0x50, 0x00, 0x01, 0x05, 0x96, 0x00, 0x04, 0x03, 0x50, 0x00, 0x00, 
+0x15, 0x84, 0x70, 0x70, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x02, 0xc0, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xfc, 0x38, 0xe5, 0x84, 0x00, 0x70, 0xe5, 0x96, 0x10, 0x04, 0xe3, 0x51, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x10, 0xe5, 0x94, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x51, 0x00, 0x02, 0x03, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x9d, 0x02, 0xc0, 0xe2, 0x8d, 0x10, 0x40, 0xeb, 0xff, 0xfc, 0x76, 0xe5, 0x86, 0x00, 0x54, 0xe0, 0x80, 0x00, 0x80, 
+0xe2, 0x8d, 0x1f, 0x6a, 0xe0, 0x81, 0x01, 0x00, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x03, 0xe0, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x1b, 0xe5, 0x96, 0x00, 0x54, 0xe5, 0x84, 0x02, 0x78, 0xe5, 0x96, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 
+0x05, 0x95, 0x03, 0x34, 0x03, 0x50, 0x00, 0x01, 0x15, 0x84, 0x72, 0x3c, 0x1a, 0x00, 0x00, 0x12, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0xc5, 0x94, 0x00, 0x08, 0xc3, 0x50, 0x00, 0x01, 0xca, 0x00, 0x00, 0x0d, 0xe5, 0x9d, 0x02, 0xc0, 
+0xe3, 0xa0, 0x10, 0x02, 0xeb, 0xff, 0xfc, 0x13, 0xe3, 0x50, 0x00, 0x03, 0xb5, 0x84, 0x02, 0x3c, 0xba, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x50, 0x02, 0xe5, 0x9d, 0x02, 0xc0, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xfc, 0x0c, 0xe3, 0x50, 0x00, 0x01, 
+0xe2, 0x85, 0x50, 0x01, 0x0a, 0xff, 0xff, 0xf9, 0xe5, 0x84, 0x52, 0x3c, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xdf, 0xb1, 0xe8, 0xbd, 0x8f, 0xf0, 0xe9, 0x2d, 0x47, 0xf0, 0xe1, 0xa0, 0x90, 0x01, 0xe5, 0x9f, 0x16, 0xb0, 0xe2, 0x80, 0x4b, 0x01, 
+0xe2, 0x84, 0x40, 0x24, 0xe2, 0x4d, 0xde, 0x16, 0xe1, 0xa0, 0xa0, 0x00, 0xe2, 0x80, 0x60, 0xe4, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x20, 0x48, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0x46, 0xeb, 0x00, 0x08, 0x03, 0xe5, 0x9f, 0x16, 0x88, 
+0xe3, 0xa0, 0x20, 0x48, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0xd0, 0xeb, 0x00, 0x07, 0xfe, 0xe5, 0x9f, 0x16, 0x78, 0xe3, 0xa0, 0x20, 0x48, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x88, 0xeb, 0x00, 0x07, 0xf9, 0xe5, 0x9f, 0x16, 0x68, 
+0xe3, 0xa0, 0x20, 0x48, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x40, 0xeb, 0x00, 0x07, 0xf4, 0xe5, 0x9f, 0x16, 0x58, 0xe3, 0xa0, 0x20, 0x3c, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0x00, 0x07, 0xef, 0xe1, 0xa0, 0x20, 0x09, 
+0xe1, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0x8f, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x97, 0xe5, 0x96, 0x02, 0xfc, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x84, 0x70, 0x3c, 0x1a, 0x00, 0x00, 0x03, 
+0xe3, 0xa0, 0x10, 0x02, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0xd6, 0xe5, 0x84, 0x00, 0x3c, 0xe5, 0x96, 0x02, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x85, 0x70, 0x10, 0x1a, 0x00, 0x00, 0x03, 0xe2, 0x8d, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x09, 
+0xeb, 0xff, 0xfc, 0x19, 0xe5, 0x85, 0x00, 0x10, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x0c, 0x92, 0x8d, 0x10, 0xd0, 0x82, 0x8d, 0x1f, 0x46, 0xe1, 0xa0, 0x00, 0x09, 
+0xeb, 0xff, 0xfc, 0x0f, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0xc0, 0xe3, 0x50, 0x00, 0x00, 0x13, 0xa0, 0x00, 0x02, 0xe3, 0x50, 0x00, 0x04, 0xe5, 0x84, 0x01, 0x8c, 0x15, 0x85, 0x00, 0x0c, 
+0xe3, 0xa0, 0x80, 0x01, 0x15, 0x84, 0x71, 0x18, 0x1a, 0x00, 0x00, 0x12, 0xe5, 0x84, 0x81, 0x18, 0xe5, 0x94, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x0c, 0x92, 0x8d, 0x10, 0x40, 0x82, 0x8d, 0x10, 0x88, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0xfc, 
+0xe5, 0x85, 0x00, 0x0c, 0xe5, 0x84, 0x01, 0x90, 0xe1, 0xa0, 0x00, 0x09, 0xe3, 0xa0, 0x10, 0x06, 0xeb, 0xff, 0xfb, 0xac, 0xe5, 0x84, 0x01, 0x1c, 0xe5, 0x84, 0x02, 0x88, 0xe1, 0xa0, 0x00, 0x09, 0xe3, 0xa0, 0x10, 0x06, 0xeb, 0xff, 0xfb, 0xa7, 
+0xe5, 0x84, 0x01, 0x20, 0xe5, 0x84, 0x02, 0x8c, 0xe5, 0x95, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x20, 0x04, 0xe2, 0x84, 0x10, 0xc8, 0xe1, 0xa0, 0x00, 0x0a, 0xeb, 0xff, 0xfc, 0x06, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x55, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x20, 0x20, 0xe2, 0x84, 0x10, 0xd4, 0xe1, 0xa0, 0x00, 0x0a, 0xeb, 0xff, 0xfb, 0xfd, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x4c, 
+0xe3, 0xa0, 0x20, 0x01, 0xe2, 0x84, 0x10, 0xbc, 0xe1, 0xa0, 0x00, 0x0a, 0xeb, 0xff, 0xfb, 0xf7, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x46, 0xe3, 0xa0, 0x10, 0x02, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0x8a, 0xe5, 0x84, 0x01, 0xa4, 
+0xe1, 0xa0, 0x00, 0x09, 0xe3, 0xa0, 0x10, 0x02, 0xeb, 0xff, 0xfb, 0x86, 0xe5, 0x84, 0x01, 0xa8, 0xe1, 0xa0, 0x00, 0x04, 0xe1, 0xa0, 0x20, 0x09, 0xe1, 0xa0, 0x10, 0x06, 0xeb, 0xff, 0xfe, 0x6c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x38, 
+0xe5, 0x96, 0x02, 0xe4, 0xe3, 0xa0, 0x50, 0x02, 0xe5, 0x84, 0x01, 0xe0, 0xe5, 0x96, 0x02, 0xe4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x18, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0x76, 0xe5, 0x84, 0x00, 0x64, 
+0xe3, 0x50, 0x00, 0x01, 0xe5, 0x84, 0x01, 0xe4, 0x13, 0xa0, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x10, 0x02, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0x6e, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x01, 0xe8, 0x0a, 0x00, 0x00, 0x0a, 
+0xe3, 0x50, 0x00, 0x01, 0x05, 0x84, 0x80, 0x68, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x02, 0x05, 0x84, 0x50, 0x68, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x03, 0xe5, 0x84, 0x00, 0x68, 
+0xea, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x70, 0x68, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0x5c, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x01, 0xf0, 0x05, 0x84, 0x70, 0x20, 0x0a, 0x00, 0x00, 0x06, 0xe3, 0xa0, 0x10, 0x01, 
+0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0x55, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x01, 0xf4, 0x15, 0x84, 0x50, 0x20, 0x05, 0x84, 0x80, 0x20, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0x4e, 0xe5, 0x84, 0x00, 0x28, 
+0xe5, 0x84, 0x01, 0xec, 0xe5, 0x94, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x09, 0x25, 0x96, 0x02, 0xe8, 0x35, 0x84, 0x70, 0x74, 0x25, 0x84, 0x00, 0x74, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xde, 0x16, 0xe8, 0xbd, 0x87, 0xf0, 0xe9, 0x2d, 0x43, 0xf0, 
+0xe1, 0xa0, 0x90, 0x01, 0xe5, 0x9f, 0x13, 0xc0, 0xe2, 0x80, 0x4b, 0x01, 0xe2, 0x84, 0x40, 0x24, 0xe2, 0x4d, 0xd0, 0x34, 0xe2, 0x80, 0x70, 0xe4, 0xe1, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x20, 0x30, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x04, 
+0xeb, 0x00, 0x07, 0x43, 0xe3, 0xa0, 0x50, 0x00, 0xe1, 0xa0, 0x20, 0x09, 0xe1, 0xa0, 0x10, 0x07, 0xe1, 0xa0, 0x00, 0x04, 0xe5, 0x86, 0x50, 0x10, 0xeb, 0xff, 0xfd, 0xe1, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x56, 0xe5, 0x97, 0x02, 0xfc, 
+0xe3, 0x50, 0x00, 0x01, 0x15, 0x84, 0x50, 0x3c, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x02, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0x29, 0xe5, 0x84, 0x00, 0x3c, 0xe5, 0x96, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x05, 
+0xe3, 0xa0, 0x20, 0x02, 0xe2, 0x84, 0x10, 0xf8, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfb, 0x89, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x45, 0xe5, 0x96, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x13, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 
+0xe3, 0xa0, 0x20, 0x10, 0xe2, 0x84, 0x10, 0xb0, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfb, 0x7f, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x3b, 0xe5, 0x97, 0x02, 0xe8, 0xe3, 0xa0, 0x80, 0x01, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x84, 0x50, 0x74, 
+0x1a, 0x00, 0x00, 0x0f, 0xe5, 0x94, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x08, 0x85, 0x84, 0x80, 0x74, 0x8a, 0x00, 0x00, 0x0b, 0xe2, 0x8d, 0x10, 0x04, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfb, 0x54, 0xe3, 0x50, 0x00, 0x02, 0xe5, 0x84, 0x00, 0x74, 
+0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x20, 0x08, 0xe2, 0x84, 0x10, 0xe0, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xfb, 0x6a, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x26, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfa, 0xfd, 
+0xe3, 0x50, 0x00, 0x00, 0xe3, 0xa0, 0x60, 0x02, 0x05, 0x84, 0x50, 0x20, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfa, 0xf6, 0xe3, 0x50, 0x00, 0x00, 0x15, 0x84, 0x60, 0x20, 0x05, 0x84, 0x80, 0x20, 
+0xe5, 0x94, 0x00, 0x20, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x84, 0x01, 0xf0, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfa, 0xee, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x84, 0x50, 0x24, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x09, 
+0xeb, 0xff, 0xfa, 0xe8, 0xe3, 0x50, 0x00, 0x00, 0x15, 0x84, 0x60, 0x24, 0x05, 0x84, 0x80, 0x24, 0xe5, 0x94, 0x00, 0x24, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x84, 0x01, 0xf4, 0xe1, 0xa0, 0x00, 0x09, 0xeb, 0xff, 0xfa, 0xe0, 0xe5, 0x84, 0x00, 0x28, 
+0xe5, 0x84, 0x01, 0xec, 0xe1, 0xa0, 0x00, 0x04, 0xe1, 0xa0, 0x20, 0x09, 0xe1, 0xa0, 0x10, 0x07, 0xeb, 0xff, 0xfd, 0xc5, 0xe3, 0x50, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x34, 0xe8, 0xbd, 0x83, 0xf0, 0xe9, 0x2d, 0x4f, 0xf0, 0xe1, 0xa0, 0xb0, 0x01, 
+0xe5, 0x9f, 0x12, 0x10, 0xe2, 0x80, 0x4b, 0x01, 0xe2, 0x84, 0x40, 0x24, 0xe2, 0x4d, 0xdf, 0x63, 0xe2, 0x80, 0x60, 0xe4, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x2f, 0x45, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x78, 0xeb, 0x00, 0x06, 0xd6, 
+0xe5, 0x9f, 0x11, 0xec, 0xe3, 0xa0, 0x20, 0x3c, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x3c, 0xeb, 0x00, 0x06, 0xd1, 0xe5, 0x9f, 0x11, 0xdc, 0xe3, 0xa0, 0x20, 0x3c, 0xe0, 0x8f, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0x00, 0x06, 0xcc, 
+0xe1, 0xa0, 0x20, 0x0b, 0xe1, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfd, 0x6c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x01, 0x0d, 0xe5, 0x96, 0x02, 0xfc, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x84, 0x70, 0x3c, 
+0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x02, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xfa, 0xb3, 0xe5, 0x84, 0x00, 0x3c, 0xe5, 0x95, 0x00, 0x04, 0xe3, 0xa0, 0x80, 0x01, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0e, 0xe5, 0x94, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x23, 0xe5, 0x9f, 0x11, 0x74, 0xe0, 0x8f, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xfa, 0xf2, 0xe5, 0x85, 0x00, 0x54, 0xe0, 0x80, 0x00, 0x80, 0xe2, 0x8d, 0x10, 0x78, 0xe0, 0x81, 0x01, 0x00, 
+0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x03, 0xe0, 0x00, 0x01, 0x0a, 0x00, 0x00, 0xf1, 0xe5, 0x95, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x14, 0xe5, 0x95, 0x00, 0x18, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0a, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xfa, 0x94, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x85, 0x00, 0x58, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0b, 
+0xeb, 0xff, 0xfa, 0x8e, 0xe5, 0x85, 0x00, 0x5c, 0xea, 0x00, 0x00, 0x06, 0xe3, 0x50, 0x00, 0x02, 0xe1, 0xa0, 0x00, 0x05, 0x15, 0x80, 0x70, 0x58, 0x05, 0x80, 0x80, 0x58, 0xea, 0x00, 0x00, 0x01, 0xe5, 0x85, 0x70, 0x58, 0xe5, 0x85, 0x70, 0x5c, 
+0xe5, 0x96, 0x02, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x85, 0x70, 0x10, 0x1a, 0x00, 0x00, 0x03, 0xe2, 0x8d, 0x10, 0x3c, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xfa, 0xc9, 0xe5, 0x85, 0x00, 0x10, 0xe5, 0x84, 0x71, 0x04, 0xe5, 0x84, 0x71, 0x08, 
+0xe5, 0x96, 0x02, 0xdc, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0e, 0xe1, 0xa0, 0x10, 0x0d, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xfa, 0xc0, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x01, 0x88, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x01, 
+0x0a, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x02, 0x05, 0x84, 0x81, 0x04, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x84, 0x81, 0x04, 0xe5, 0x84, 0x81, 0x08, 0xe5, 0x95, 0x00, 0x04, 0xe3, 0xa0, 0xa0, 0x03, 
+0xe3, 0x50, 0x00, 0x02, 0xe3, 0xa0, 0x90, 0x02, 0x1a, 0x00, 0x00, 0x18, 0xe1, 0xa0, 0x20, 0x05, 0xe1, 0xa0, 0x10, 0x0b, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0x71, 0xea, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x30, 0x64, 0x00, 0x00, 0x2f, 0xf4, 
+0x00, 0x00, 0x30, 0x28, 0x00, 0x00, 0x30, 0x5c, 0x00, 0x00, 0x30, 0x90, 0x00, 0x00, 0x30, 0xc4, 0x00, 0x00, 0x2c, 0xa8, 0x00, 0x00, 0x2d, 0xa8, 0x00, 0x00, 0x2d, 0xdc, 0x00, 0x00, 0x2e, 0xe8, 0x00, 0x00, 0x2c, 0x50, 0x00, 0x00, 0x2c, 0x84, 
+0x00, 0x00, 0x2c, 0xb8, 0x00, 0x00, 0x2c, 0xec, 0x00, 0x00, 0x2d, 0x20, 0x00, 0x00, 0x2a, 0xac, 0x00, 0x00, 0x2a, 0x48, 0x00, 0x00, 0x2b, 0x48, 0x00, 0x00, 0x2b, 0x70, 0x00, 0x00, 0x28, 0x98, 0xe5, 0x95, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x01, 
+0xe3, 0x50, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x0b, 0x1a, 0x00, 0x00, 0x14, 0xeb, 0xff, 0xfa, 0x45, 0xe3, 0x50, 0x00, 0x01, 0xe5, 0x84, 0x01, 0xcc, 0xe1, 0xa0, 0x00, 0x05, 0x15, 0x80, 0x90, 0x0c, 0x05, 0x80, 0xa0, 0x0c, 0xe1, 0xa0, 0x00, 0x0b, 
+0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xfa, 0x3d, 0xe3, 0x50, 0x00, 0x01, 0xe5, 0x84, 0x01, 0x18, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xfa, 0x37, 0xe5, 0x84, 0x01, 0x1c, 0xe1, 0xa0, 0x00, 0x0b, 
+0xe3, 0xa0, 0x10, 0x06, 0xeb, 0xff, 0xfa, 0x33, 0xe5, 0x84, 0x01, 0x20, 0xea, 0x00, 0x00, 0x02, 0xeb, 0xff, 0xfa, 0x30, 0xe5, 0x85, 0x90, 0x0c, 0xe5, 0x84, 0x71, 0x18, 0xe5, 0x95, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x06, 
+0xe2, 0x85, 0x1b, 0x01, 0xe2, 0x81, 0x10, 0xf8, 0xe3, 0xa0, 0x20, 0x20, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfa, 0x8e, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x76, 0xe3, 0xa0, 0x20, 0x01, 0xe2, 0x85, 0x1e, 0x4e, 0xe1, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xfa, 0x88, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x70, 0xe5, 0x95, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x08, 0xe5, 0x95, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x20, 0x40, 
+0xe2, 0x85, 0x1e, 0x51, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfa, 0x7c, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x64, 0xe5, 0x95, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x0a, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x10, 0x03, 0xe1, 0xa0, 0x00, 0x0b, 
+0xeb, 0xff, 0xfa, 0x0c, 0xe5, 0x84, 0x01, 0xac, 0xea, 0x00, 0x00, 0x04, 0xe3, 0xa0, 0x10, 0x02, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xfa, 0x07, 0xe5, 0x84, 0x01, 0xac, 0xe5, 0x95, 0x00, 0x0c, 0xe5, 0x95, 0x00, 0x58, 0xe3, 0x50, 0x00, 0x00, 
+0x13, 0xa0, 0x10, 0x03, 0x03, 0xa0, 0x10, 0x02, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xf9, 0xff, 0xe5, 0x84, 0x01, 0xa4, 0xe1, 0xa0, 0x00, 0x0b, 0xe3, 0xa0, 0x10, 0x03, 0xeb, 0xff, 0xf9, 0xfb, 0xe5, 0x84, 0x01, 0xc8, 0xe5, 0x95, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x01, 0x15, 0x84, 0x71, 0x14, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x02, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xf9, 0xf3, 0xe5, 0x84, 0x01, 0xb0, 0xe5, 0x95, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x05, 
+0xe5, 0x95, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 0x05, 0x95, 0x00, 0x04, 0x03, 0x50, 0x00, 0x01, 0x15, 0x84, 0x71, 0x10, 0x1a, 0x00, 0x00, 0x03, 0xe3, 0xa0, 0x10, 0x02, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xf9, 0xe6, 0xe5, 0x84, 0x01, 0xb4, 
+0xe1, 0xa0, 0x20, 0x0b, 0xe1, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfc, 0xcc, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x31, 0xe5, 0x96, 0x02, 0xe4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x17, 0xe3, 0xa0, 0x10, 0x01, 
+0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xf9, 0xd9, 0xe5, 0x84, 0x00, 0x64, 0xe3, 0x50, 0x00, 0x01, 0xe5, 0x84, 0x01, 0xe4, 0x13, 0xa0, 0x00, 0x04, 0x15, 0x84, 0x00, 0x68, 0x1a, 0x00, 0x00, 0x0f, 0xe3, 0xa0, 0x10, 0x02, 0xe1, 0xa0, 0x00, 0x0b, 
+0xeb, 0xff, 0xf9, 0xd0, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x01, 0xe8, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x01, 0x05, 0x84, 0x80, 0x68, 0x0a, 0x00, 0x00, 0x06, 0xe3, 0x50, 0x00, 0x02, 0x05, 0x84, 0x90, 0x68, 0x0a, 0x00, 0x00, 0x03, 
+0xe3, 0x50, 0x00, 0x03, 0x05, 0x84, 0xa0, 0x68, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x70, 0x68, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xf9, 0xc0, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x84, 0x70, 0x20, 0x0a, 0x00, 0x00, 0x05, 
+0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xf9, 0xba, 0xe3, 0x50, 0x00, 0x00, 0x15, 0x84, 0x90, 0x20, 0x05, 0x84, 0x80, 0x20, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x0b, 0xeb, 0xff, 0xf9, 0xb4, 0xe5, 0x84, 0x00, 0x28, 
+0xe5, 0x94, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x09, 0x25, 0x96, 0x02, 0xe8, 0x35, 0x84, 0x70, 0x74, 0x25, 0x84, 0x00, 0x74, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xdf, 0x63, 0xe8, 0xbd, 0x8f, 0xf0, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x70, 
+0xe1, 0xa0, 0x50, 0x00, 0xeb, 0xff, 0xf9, 0xaf, 0xe3, 0xa0, 0x10, 0x18, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf9, 0xa4, 0xe3, 0x50, 0x00, 0xaa, 0x1a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xf9, 0x9e, 0xe2, 0x84, 0x40, 0x01, 0xe3, 0x54, 0x00, 0x05, 0xba, 0xff, 0xff, 0xf9, 0xea, 0x00, 0x00, 0x09, 0xe3, 0x50, 0x00, 0xab, 0x13, 0xe0, 0x00, 0x01, 0x18, 0xbd, 0x80, 0x70, 0xe3, 0xa0, 0x40, 0x00, 0xe3, 0xa0, 0x10, 0x08, 
+0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf9, 0x93, 0xe2, 0x84, 0x40, 0x01, 0xe3, 0x54, 0x00, 0x0b, 0xba, 0xff, 0xff, 0xf9, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe9, 0x2d, 0x4f, 0xf3, 0xe5, 0x9f, 0x1f, 0x24, 0xe2, 0x80, 0x4b, 0x01, 
+0xe2, 0x84, 0x40, 0x24, 0xe2, 0x4d, 0xdf, 0x9d, 0xe2, 0x80, 0x60, 0xe4, 0xe1, 0xa0, 0x50, 0x00, 0xe3, 0xa0, 0x20, 0x48, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0x8b, 0xeb, 0x00, 0x05, 0x8e, 0xe5, 0x9f, 0x1f, 0x00, 0xe3, 0xa0, 0x20, 0x48, 
+0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0x79, 0xeb, 0x00, 0x05, 0x89, 0xe5, 0x9f, 0x1e, 0xf0, 0xe3, 0xa0, 0x20, 0x48, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0x67, 0xeb, 0x00, 0x05, 0x84, 0xe5, 0x9f, 0x1e, 0xe0, 0xe3, 0xa0, 0x20, 0x48, 
+0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x0f, 0x55, 0xeb, 0x00, 0x05, 0x7f, 0xe5, 0x9f, 0x1e, 0xd0, 0xe3, 0xa0, 0x2f, 0x45, 0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x40, 0xeb, 0x00, 0x05, 0x7a, 0xe5, 0x9f, 0x1e, 0xc0, 0xe3, 0xa0, 0x20, 0x3c, 
+0xe0, 0x8f, 0x10, 0x01, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0x00, 0x05, 0x75, 0xe5, 0x95, 0x07, 0x0c, 0xe3, 0xa0, 0x96, 0x05, 0xe3, 0x50, 0x00, 0x01, 0x93, 0xa0, 0x00, 0x04, 0xe3, 0xa0, 0x70, 0x00, 0x95, 0x84, 0x00, 0x04, 0x95, 0x89, 0x7c, 0x0c, 
+0x9a, 0x00, 0x01, 0x0a, 0xe5, 0x85, 0x76, 0xf4, 0xe5, 0x96, 0x03, 0x1c, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x84, 0x70, 0x70, 0x1a, 0x00, 0x00, 0x02, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0x49, 0xe5, 0x84, 0x00, 0x70, 0xe5, 0x96, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x00, 0x13, 0x50, 0x00, 0x01, 0x03, 0xa0, 0x00, 0x02, 0x0b, 0xff, 0xf9, 0x43, 0xe5, 0x96, 0x02, 0xf0, 0xe3, 0xa0, 0x80, 0x08, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x85, 0x80, 0x64, 0x15, 0x85, 0x80, 0x68, 0x1a, 0x00, 0x00, 0x05, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0x3b, 0xe0, 0x88, 0x11, 0x80, 0xe5, 0x84, 0x02, 0x68, 0xe5, 0x85, 0x10, 0x64, 0xe5, 0x85, 0x10, 0x68, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0x35, 0xe3, 0x50, 0x00, 0x01, 0xe3, 0xa0, 0x80, 0x01, 
+0xe3, 0xa0, 0xa0, 0x02, 0x05, 0x84, 0x80, 0x04, 0xe3, 0xa0, 0xb0, 0x03, 0x05, 0x89, 0xac, 0x0c, 0x0a, 0x00, 0x00, 0x0a, 0xe5, 0x96, 0x02, 0xf4, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf9, 0x29, 
+0xe3, 0x50, 0x00, 0x00, 0x05, 0x84, 0xa0, 0x04, 0x05, 0x89, 0xbc, 0x0c, 0x0a, 0x00, 0x00, 0x01, 0xe5, 0x84, 0x70, 0x04, 0xe5, 0x89, 0x8c, 0x0c, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x11, 0xe5, 0x9f, 0x1d, 0xd0, 
+0xe0, 0x8f, 0x10, 0x01, 0xe5, 0x9d, 0x02, 0x78, 0xeb, 0xff, 0xf9, 0x79, 0xe5, 0x85, 0x00, 0x54, 0xe0, 0x80, 0x00, 0x80, 0xe2, 0x8d, 0x10, 0x40, 0xe0, 0x81, 0x21, 0x00, 0xe5, 0x92, 0x20, 0x04, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x06, 
+0xe7, 0x91, 0x01, 0x00, 0xe3, 0x50, 0x00, 0x01, 0x03, 0xe0, 0x00, 0x01, 0x0a, 0x00, 0x00, 0xcc, 0xe3, 0x50, 0x00, 0x02, 0x05, 0x84, 0xb0, 0x04, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x13, 0x50, 0x00, 0x03, 
+0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x07, 0xeb, 0xff, 0xf9, 0x19, 0xe5, 0x84, 0x00, 0x0c, 0xe5, 0x9d, 0x22, 0x78, 0xe1, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0xc3, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0xbb, 0xe5, 0x96, 0x02, 0xd8, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x85, 0x70, 0x10, 0x0a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x02, 0x78, 0xe2, 0x8d, 0x10, 0x04, 0xeb, 0xff, 0xf9, 0x56, 0xe5, 0x85, 0x00, 0x10, 0xe5, 0x94, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x00, 0x13, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x07, 0xe5, 0x96, 0x02, 0xd0, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x85, 0x70, 0x70, 0x1a, 0x00, 0x00, 0x03, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x02, 0xeb, 0xff, 0xf8, 0xff, 
+0xe5, 0x85, 0x00, 0x70, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xfa, 0xe8, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x1f, 0xe5, 0x94, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x0c, 0xe5, 0x9d, 0x02, 0x78, 
+0x92, 0x8d, 0x1f, 0x79, 0x82, 0x8d, 0x1f, 0x8b, 0xeb, 0xff, 0xf9, 0x3d, 0xe3, 0x50, 0x00, 0x04, 0xe5, 0x84, 0x01, 0x8c, 0x15, 0x85, 0x00, 0x0c, 0x1a, 0x00, 0x00, 0x1e, 0xe5, 0x84, 0x81, 0x18, 0xe5, 0x95, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x00, 
+0x03, 0xa0, 0x00, 0x11, 0x0a, 0x00, 0x00, 0x92, 0xe5, 0x94, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x0c, 0xe5, 0x9d, 0x02, 0x78, 0x92, 0x8d, 0x1f, 0x55, 0x82, 0x8d, 0x1f, 0x67, 0xeb, 0xff, 0xf9, 0x2e, 0xe5, 0x85, 0x00, 0x0c, 0xe5, 0x84, 0x01, 0x90, 
+0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x06, 0xeb, 0xff, 0xf8, 0xde, 0xe5, 0x84, 0x01, 0x1c, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x06, 0xeb, 0xff, 0xf8, 0xda, 0xe5, 0x84, 0x01, 0x20, 0xea, 0x00, 0x00, 0x09, 0xe3, 0x50, 0x00, 0x02, 
+0x1a, 0x00, 0x00, 0x52, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xf8, 0xd3, 0xe3, 0x50, 0x00, 0x00, 0x13, 0xa0, 0x00, 0x02, 0xe5, 0x85, 0x00, 0x0c, 0xe5, 0x84, 0x01, 0x8c, 0xe5, 0x84, 0x71, 0x18, 0xe5, 0x94, 0x00, 0x04, 
+0xe3, 0x50, 0x00, 0x02, 0x13, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x46, 0xe5, 0x95, 0x00, 0x0c, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe3, 0xa0, 0x20, 0x04, 0xe2, 0x84, 0x10, 0xc8, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf9, 0x2b, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x6a, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x20, 0x20, 0xe2, 0x84, 0x10, 0xd4, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf9, 0x22, 0xe3, 0x50, 0x00, 0x00, 
+0x1a, 0x00, 0x00, 0x61, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x2e, 0xe3, 0xa0, 0x20, 0x01, 0xe2, 0x84, 0x10, 0xbc, 0xe1, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xf9, 0x16, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x55, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x02, 0xeb, 0xff, 0xf8, 0xa9, 0xe5, 0x84, 0x01, 0xa4, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x02, 0xeb, 0xff, 0xf8, 0xa5, 
+0xe5, 0x84, 0x01, 0xa8, 0xe5, 0x9d, 0x22, 0x78, 0xe1, 0xa0, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x06, 0xeb, 0xff, 0xfb, 0x8b, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x47, 0xe5, 0x96, 0x02, 0xe4, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x15, 
+0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xf8, 0x98, 0xe3, 0x50, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x64, 0x13, 0xa0, 0x00, 0x04, 0x15, 0x84, 0x00, 0x68, 0x1a, 0x00, 0x00, 0x10, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x02, 
+0xeb, 0xff, 0xf8, 0x90, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x01, 0x05, 0x84, 0x80, 0x68, 0x0a, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x02, 0x05, 0x84, 0xa0, 0x68, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x03, 
+0x05, 0x84, 0xb0, 0x68, 0xea, 0x00, 0x00, 0x02, 0xe5, 0x84, 0x70, 0x68, 0xea, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x70, 0x40, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xf8, 0x7f, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x84, 0x70, 0x20, 
+0x0a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xf8, 0x79, 0xe3, 0x50, 0x00, 0x00, 0x15, 0x84, 0xa0, 0x20, 0x05, 0x84, 0x80, 0x20, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x13, 0x50, 0x00, 0x03, 
+0x1a, 0x00, 0x00, 0x0b, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xf8, 0x6f, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x84, 0x70, 0x24, 0x0a, 0x00, 0x00, 0x05, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xf8, 0x69, 
+0xe3, 0x50, 0x00, 0x00, 0x15, 0x84, 0xa0, 0x24, 0x05, 0x84, 0x80, 0x24, 0xe5, 0x9d, 0x02, 0x78, 0xe3, 0xa0, 0x10, 0x01, 0xeb, 0xff, 0xf8, 0x63, 0xe5, 0x84, 0x00, 0x28, 0xe5, 0x85, 0x84, 0x98, 0xe5, 0x94, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 
+0x0a, 0x00, 0x00, 0x05, 0xe5, 0x94, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x09, 0x3a, 0x00, 0x00, 0x02, 0xe5, 0x96, 0x02, 0xe8, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0xe5, 0x85, 0x74, 0x98, 0xe3, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xdf, 0x9f, 
+0xe8, 0xbd, 0x8f, 0xf0, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x90, 0x00, 0xe4, 0xe1, 0xa0, 0x50, 0x01, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x1b, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x86, 0x00, 0x04, 
+0xe5, 0x84, 0x06, 0x44, 0xe5, 0x94, 0x01, 0x0c, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x10, 0x01, 0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf8, 0x44, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x09, 0xe3, 0xa0, 0x10, 0x01, 
+0xe1, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf8, 0x3f, 0xe3, 0x50, 0x00, 0x01, 0x13, 0xa0, 0x00, 0x01, 0x03, 0xa0, 0x00, 0x02, 0xe5, 0x86, 0x00, 0x04, 0x13, 0xa0, 0x00, 0x03, 0x05, 0x84, 0x07, 0x04, 0xe5, 0x84, 0x06, 0x44, 0xe1, 0xa0, 0x10, 0x06, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfa, 0x22, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfb, 0x69, 0xe8, 0xbd, 0x80, 0x70, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xfe, 0x9f, 0xe8, 0xbd, 0x80, 0x70, 
+0xe9, 0x2d, 0x40, 0x10, 0xe5, 0x90, 0x30, 0xe4, 0xe3, 0xa0, 0x20, 0x00, 0xe3, 0x53, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x19, 0xe5, 0x90, 0x30, 0x04, 0xe3, 0x53, 0x00, 0x00, 0xe5, 0x90, 0x30, 0x00, 0x0a, 0x00, 0x00, 0x0b, 0xe3, 0x53, 0x00, 0x04, 
+0x90, 0x8f, 0xf1, 0x03, 0xea, 0x00, 0x00, 0x14, 0xea, 0x00, 0x00, 0x03, 0xea, 0x00, 0x00, 0x04, 0xea, 0x00, 0x00, 0x03, 0xea, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x0d, 0xeb, 0xff, 0xfc, 0xd6, 0xea, 0x00, 0x00, 0x0a, 0xeb, 0xff, 0xfd, 0x41, 
+0xea, 0x00, 0x00, 0x08, 0xe3, 0x53, 0x00, 0x04, 0x90, 0x8f, 0xf1, 0x03, 0xea, 0x00, 0x00, 0x08, 0xea, 0xff, 0xff, 0xf7, 0xea, 0x00, 0x00, 0x02, 0xea, 0x00, 0x00, 0x01, 0xea, 0xff, 0xff, 0xf4, 0xea, 0x00, 0x00, 0x01, 0xeb, 0xff, 0xfc, 0x09, 
+0xe1, 0xa0, 0x20, 0x00, 0xe1, 0xa0, 0x00, 0x02, 0xe8, 0xbd, 0x80, 0x10, 0xe3, 0xe0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x47, 0xf0, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0xff, 0xff, 0xb1, 0xe3, 0x50, 0x00, 0x00, 
+0x18, 0xbd, 0x87, 0xf0, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xd3, 0xe5, 0x94, 0x14, 0x28, 0xe3, 0xa0, 0xa0, 0x00, 0xe5, 0x84, 0x15, 0x58, 0xe5, 0x94, 0x10, 0x04, 0xe3, 0xa0, 0xc0, 0x01, 0xe3, 0x51, 0x00, 0x02, 
+0x05, 0x94, 0x20, 0x18, 0x03, 0x52, 0x00, 0x01, 0x05, 0x94, 0x24, 0x2c, 0x05, 0x84, 0x25, 0x58, 0xe5, 0x84, 0x15, 0x5c, 0xe5, 0x94, 0x53, 0xc8, 0xe5, 0x84, 0x55, 0x64, 0xe5, 0x94, 0x60, 0x10, 0xe5, 0x84, 0x65, 0xa8, 0xe5, 0x94, 0x20, 0x54, 
+0xe5, 0x84, 0x25, 0xbc, 0xe5, 0x94, 0x70, 0x58, 0xe5, 0x84, 0x75, 0xc4, 0xe5, 0x94, 0x34, 0xe4, 0xe5, 0x84, 0x35, 0x74, 0xe5, 0x94, 0x34, 0xd8, 0xe5, 0x84, 0x35, 0x6c, 0xe5, 0x94, 0x34, 0xfc, 0xe5, 0x84, 0x35, 0x80, 0xe5, 0x94, 0x35, 0x20, 
+0xe5, 0x84, 0x35, 0x78, 0xe5, 0x94, 0x35, 0x14, 0xe5, 0x84, 0x35, 0x90, 0xe5, 0x94, 0x34, 0xf0, 0xe5, 0x84, 0x35, 0x8c, 0xe5, 0x84, 0xa5, 0x70, 0xe5, 0x94, 0x35, 0x08, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x34, 0x98, 
+0xe3, 0x53, 0x00, 0x02, 0x05, 0x84, 0xc5, 0x70, 0xe5, 0x84, 0xa5, 0x7c, 0xe5, 0x94, 0x80, 0x0c, 0xe3, 0x58, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x35, 0x3c, 0xe3, 0x53, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0xc5, 0x7c, 
+0xe5, 0x94, 0x94, 0x88, 0xe3, 0x51, 0x00, 0x01, 0xe5, 0x84, 0x95, 0xb8, 0xe5, 0x94, 0x35, 0xc8, 0xe5, 0x84, 0x35, 0xe8, 0xe5, 0x94, 0x33, 0xc4, 0xe5, 0x84, 0x35, 0xdc, 0xe5, 0x94, 0xe0, 0xe4, 0xe5, 0x84, 0xe5, 0xf4, 0xe5, 0x94, 0x31, 0x0c, 
+0xe5, 0x84, 0x35, 0xf8, 0xe5, 0x84, 0xa5, 0xfc, 0x05, 0x84, 0xc5, 0xfc, 0xe5, 0x94, 0x35, 0x58, 0xe5, 0x84, 0x36, 0x00, 0xe5, 0x84, 0x56, 0x04, 0xe5, 0x84, 0x96, 0x08, 0xe5, 0x94, 0x54, 0x8c, 0xe3, 0x53, 0x00, 0x01, 0xe5, 0x84, 0x56, 0x0c, 
+0xe5, 0x94, 0x54, 0x44, 0xe5, 0x84, 0x56, 0x14, 0xe5, 0x94, 0x54, 0x48, 0xe5, 0x84, 0x56, 0x18, 0xe5, 0x94, 0x54, 0x4c, 0xe5, 0x84, 0x56, 0x10, 0xe5, 0x94, 0x54, 0x34, 0xe5, 0x84, 0x56, 0x1c, 0xe5, 0x94, 0x54, 0x3c, 0xe5, 0x84, 0x36, 0x34, 
+0xe5, 0x84, 0x56, 0x20, 0xe5, 0x84, 0x36, 0x44, 0x02, 0x83, 0x30, 0x02, 0x05, 0x84, 0x36, 0x44, 0xe3, 0x5e, 0x00, 0x03, 0x03, 0xa0, 0x30, 0x02, 0xe5, 0x84, 0xe6, 0x38, 0x05, 0x84, 0x36, 0x38, 0xe3, 0x51, 0x00, 0x02, 0x05, 0x94, 0x10, 0x14, 
+0x13, 0xa0, 0x10, 0x00, 0x02, 0x01, 0x10, 0x01, 0xe5, 0x84, 0x16, 0x3c, 0xe5, 0x94, 0x10, 0x18, 0xe2, 0x84, 0x3e, 0x65, 0xe2, 0x71, 0x10, 0x01, 0x33, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0x48, 0xe5, 0x94, 0x14, 0x38, 0xe3, 0x51, 0x00, 0x02, 
+0x13, 0xa0, 0x10, 0x00, 0x03, 0xa0, 0x10, 0x01, 0xe8, 0x03, 0x00, 0x22, 0xe5, 0x94, 0x14, 0x98, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x51, 0x00, 0x01, 0x03, 0xa0, 0x10, 0x02, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x51, 0x00, 0x02, 
+0x13, 0xe0, 0x10, 0x00, 0x03, 0xa0, 0x10, 0x03, 0xe5, 0x84, 0x16, 0x54, 0xe2, 0x84, 0x1d, 0x1a, 0xe8, 0x81, 0x00, 0xc0, 0xe5, 0x94, 0x10, 0x5c, 0xe3, 0x52, 0x00, 0x07, 0xe5, 0x84, 0x16, 0x88, 0xe5, 0x94, 0x14, 0x7c, 0xe5, 0x84, 0x26, 0x9c, 
+0xe5, 0x84, 0x16, 0xa8, 0x22, 0x82, 0x10, 0x69, 0x25, 0x84, 0x16, 0x9c, 0xe5, 0x94, 0x15, 0x3c, 0xe3, 0x58, 0x00, 0x03, 0xe5, 0x84, 0x16, 0xa0, 0xe5, 0x94, 0x15, 0x40, 0xe5, 0x84, 0x16, 0xac, 0xe5, 0x94, 0x15, 0x44, 0xe5, 0x84, 0x16, 0xb0, 
+0xe5, 0x94, 0x15, 0x4c, 0xe5, 0x84, 0x16, 0xb4, 0xe5, 0x94, 0x15, 0x50, 0xe5, 0x84, 0x16, 0xb8, 0xe5, 0x84, 0xa6, 0x98, 0x05, 0x84, 0xc6, 0x98, 0xe5, 0x94, 0x10, 0x6c, 0xe5, 0x84, 0x16, 0x7c, 0xe5, 0x94, 0x10, 0x40, 0xe5, 0x84, 0x16, 0x24, 
+0xe5, 0x94, 0x10, 0x44, 0xe5, 0x84, 0x16, 0x28, 0xe5, 0x94, 0x14, 0x54, 0xe5, 0x84, 0x16, 0x40, 0xe5, 0x94, 0x13, 0xcc, 0xe5, 0x84, 0x16, 0x2c, 0xe5, 0x94, 0x13, 0xb0, 0xe5, 0x84, 0x16, 0x30, 0xe8, 0xbd, 0x87, 0xf0, 0xe9, 0x2d, 0x4f, 0xf3, 
+0xe2, 0x4d, 0xd0, 0x04, 0xe3, 0xa0, 0x60, 0x00, 0xe1, 0xa0, 0x90, 0x00, 0xe1, 0xa0, 0x40, 0x00, 0xe5, 0x80, 0x60, 0x14, 0xe5, 0x90, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x06, 0xe5, 0x99, 0x00, 0x18, 0xe5, 0x89, 0x00, 0x14, 
+0xe5, 0x94, 0x04, 0x54, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x99, 0x00, 0x18, 0x02, 0x60, 0x00, 0x01, 0x05, 0x89, 0x00, 0x14, 0xe5, 0x99, 0x00, 0x18, 0xe0, 0x84, 0x01, 0x00, 0xe5, 0x90, 0x04, 0x28, 0xe5, 0x89, 0x00, 0x00, 0xe5, 0x94, 0x00, 0xe4, 
+0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 0xe5, 0x84, 0x66, 0xf4, 0xe5, 0x9d, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0x27, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x01, 0x8f, 0xe5, 0x99, 0x00, 0x00, 0xe3, 0xa0, 0x50, 0x01, 
+0xe3, 0x50, 0x00, 0x01, 0xe2, 0x84, 0xaa, 0x01, 0xda, 0x00, 0x00, 0x01, 0xe3, 0x50, 0x00, 0x04, 0x1a, 0x00, 0x00, 0x13, 0xe5, 0x99, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x19, 0xe5, 0x9a, 0x00, 0x28, 0xe3, 0x50, 0x00, 0x04, 
+0x15, 0x9a, 0x00, 0x10, 0x13, 0x70, 0x00, 0x01, 0x15, 0x80, 0x60, 0x1c, 0xe5, 0x9a, 0x00, 0x10, 0xe5, 0x9a, 0x10, 0x18, 0xe5, 0x8a, 0x00, 0x18, 0xe5, 0x8a, 0x10, 0x10, 0xe5, 0x99, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x0d, 
+0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf6, 0x88, 0xe5, 0x8a, 0x00, 0x14, 0xe5, 0x80, 0x50, 0x1c, 0xea, 0x00, 0x00, 0x06, 0xe5, 0x99, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf6, 0x80, 
+0xe5, 0x8a, 0x00, 0x14, 0xe5, 0x80, 0x60, 0x1c, 0xe5, 0x9a, 0x00, 0x14, 0xe5, 0x80, 0x60, 0x20, 0xe5, 0x94, 0x00, 0xe4, 0xe3, 0x50, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x08, 0xe5, 0x99, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x13, 0x50, 0x00, 0x03, 
+0x05, 0x84, 0x54, 0x7c, 0x0a, 0x00, 0x00, 0x03, 0xe3, 0x50, 0x00, 0x01, 0x05, 0x94, 0x04, 0x7c, 0x02, 0x60, 0x00, 0x01, 0x05, 0x84, 0x04, 0x7c, 0xe5, 0x99, 0x00, 0x18, 0xe3, 0x50, 0x00, 0x00, 0x05, 0x94, 0x07, 0x00, 0x05, 0x89, 0x00, 0x24, 
+0xe5, 0x94, 0x34, 0x28, 0xe5, 0x84, 0x35, 0x58, 0xe5, 0x99, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x05, 0x99, 0x10, 0x18, 0x03, 0x51, 0x00, 0x01, 0x05, 0x94, 0x14, 0x2c, 0x05, 0x84, 0x15, 0x58, 0xe5, 0x84, 0x05, 0x5c, 0xe5, 0x94, 0x10, 0xe4, 
+0xe5, 0x84, 0x15, 0x60, 0xe5, 0x94, 0xc3, 0xc8, 0xe5, 0x84, 0xc5, 0x64, 0xe5, 0x94, 0xe0, 0x10, 0xe5, 0x84, 0xe5, 0xa8, 0xe5, 0x94, 0x20, 0x54, 0xe5, 0x84, 0x25, 0xbc, 0xe5, 0x94, 0x70, 0x58, 0xe5, 0x84, 0x75, 0xc4, 0xe5, 0x94, 0x84, 0xe4, 
+0xe5, 0x84, 0x85, 0x74, 0xe5, 0x94, 0x84, 0xd8, 0xe5, 0x84, 0x85, 0x6c, 0xe5, 0x94, 0x84, 0xfc, 0xe5, 0x84, 0x85, 0x80, 0xe5, 0x94, 0x85, 0x20, 0xe5, 0x84, 0x85, 0x78, 0xe5, 0x94, 0x85, 0x14, 0xe5, 0x84, 0x85, 0x90, 0xe5, 0x94, 0x84, 0xf0, 
+0xe5, 0x84, 0x65, 0x70, 0xe5, 0x84, 0x85, 0x8c, 0xe5, 0x94, 0x85, 0x08, 0xe3, 0x58, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x84, 0x98, 0xe3, 0x58, 0x00, 0x02, 0x05, 0x84, 0x55, 0x70, 0xe3, 0xa0, 0x60, 0x00, 0xe5, 0x84, 0x65, 0x7c, 
+0xe5, 0x94, 0x80, 0x0c, 0xe3, 0x58, 0x00, 0x03, 0x0a, 0x00, 0x00, 0x02, 0xe5, 0x94, 0x65, 0x3c, 0xe3, 0x56, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0xe5, 0x84, 0x55, 0x7c, 0xe5, 0x94, 0x64, 0x88, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x65, 0xb8, 
+0xe5, 0x94, 0xb5, 0xc8, 0xe5, 0x84, 0xb5, 0xe8, 0xe5, 0x94, 0xb3, 0xc4, 0xe5, 0x84, 0xb5, 0xdc, 0xe3, 0xa0, 0xb0, 0x00, 0xe5, 0x84, 0x15, 0xf4, 0xe5, 0x84, 0xb5, 0xf8, 0x15, 0x84, 0x55, 0xf8, 0xe3, 0x50, 0x00, 0x01, 0xe5, 0x84, 0xb5, 0xfc, 
+0x05, 0x84, 0x55, 0xfc, 0xe3, 0x50, 0x00, 0x02, 0xe5, 0x84, 0x36, 0x00, 0x05, 0x99, 0x30, 0x18, 0x03, 0x53, 0x00, 0x01, 0x05, 0x94, 0x34, 0x2c, 0x05, 0x84, 0x36, 0x00, 0xe5, 0x84, 0x66, 0x08, 0xe5, 0x84, 0xc6, 0x04, 0xe5, 0x94, 0x34, 0x8c, 
+0xe5, 0x84, 0x36, 0x0c, 0xe5, 0x94, 0x34, 0x44, 0xe5, 0x84, 0x36, 0x14, 0xe5, 0x94, 0x34, 0x48, 0xe5, 0x84, 0x36, 0x18, 0xe5, 0x94, 0x34, 0x4c, 0xe5, 0x84, 0x36, 0x10, 0xe5, 0x94, 0x34, 0x34, 0xe5, 0x84, 0x36, 0x1c, 0xe5, 0x94, 0xc4, 0x3c, 
+0xe5, 0x84, 0xc6, 0x20, 0xe5, 0x94, 0x36, 0x00, 0xe3, 0x53, 0x00, 0x02, 0xe5, 0x84, 0x36, 0x34, 0xc5, 0x84, 0xb6, 0x34, 0xe3, 0x51, 0x00, 0x03, 0xe5, 0x84, 0x16, 0x38, 0x03, 0xa0, 0x10, 0x02, 0x05, 0x84, 0x16, 0x38, 0xe3, 0x50, 0x00, 0x02, 
+0x05, 0x94, 0x10, 0x14, 0x13, 0xa0, 0x10, 0x00, 0x02, 0x01, 0x10, 0x01, 0xe5, 0x84, 0x16, 0x3c, 0xe5, 0x99, 0x10, 0x18, 0xe2, 0x84, 0x3e, 0x65, 0xe2, 0x71, 0x10, 0x01, 0x33, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0x48, 0xe5, 0x94, 0x14, 0x38, 
+0xe3, 0x51, 0x00, 0x02, 0x13, 0xa0, 0x10, 0x00, 0x03, 0xa0, 0x10, 0x01, 0xe8, 0x03, 0x10, 0x02, 0xe5, 0x94, 0x14, 0x98, 0xe3, 0x51, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x05, 0xe3, 0x51, 0x00, 0x01, 0x03, 0xa0, 0x10, 0x02, 0x0a, 0x00, 0x00, 0x02, 
+0xe3, 0x51, 0x00, 0x02, 0x13, 0xe0, 0x10, 0x00, 0x03, 0xa0, 0x10, 0x03, 0xe5, 0x84, 0x16, 0x54, 0xe5, 0x84, 0x76, 0x84, 0xe5, 0x84, 0xe6, 0x80, 0xe5, 0x94, 0x10, 0x5c, 0xe3, 0x52, 0x00, 0x07, 0xe5, 0x84, 0x16, 0x88, 0xe5, 0x94, 0x14, 0x7c, 
+0xe5, 0x84, 0x26, 0x9c, 0xe5, 0x84, 0x16, 0xa8, 0x22, 0x82, 0x10, 0x69, 0x25, 0x84, 0x16, 0x9c, 0xe5, 0x94, 0x25, 0x3c, 0xe3, 0x50, 0x00, 0x02, 0xe5, 0x84, 0x26, 0xa0, 0xe5, 0x94, 0x15, 0x40, 0x03, 0x52, 0x00, 0x00, 0xe5, 0x84, 0x16, 0xac, 
+0xe5, 0x94, 0x15, 0x44, 0xe1, 0xa0, 0x70, 0x0b, 0xe5, 0x84, 0x16, 0xb0, 0xe5, 0x94, 0x35, 0x4c, 0xe3, 0xa0, 0x68, 0x52, 0xe5, 0x84, 0x36, 0xb4, 0xe5, 0x94, 0x15, 0x50, 0xe5, 0x84, 0x16, 0xb8, 0x05, 0x94, 0x25, 0x48, 0x03, 0x52, 0x00, 0x01, 
+0x05, 0x84, 0x16, 0xb0, 0x05, 0x84, 0x36, 0xac, 0x05, 0x84, 0x56, 0xa0, 0xe3, 0x58, 0x00, 0x03, 0xe5, 0x84, 0xb6, 0x98, 0x05, 0x84, 0x56, 0x98, 0xe5, 0x94, 0x10, 0x6c, 0xe3, 0x50, 0x00, 0x01, 0xe5, 0x84, 0x16, 0x7c, 0xe5, 0x99, 0x10, 0x40, 
+0xe5, 0x84, 0x16, 0x24, 0xe5, 0x99, 0x10, 0x44, 0xe5, 0x84, 0x16, 0x28, 0xe5, 0x94, 0x14, 0x54, 0xe5, 0x84, 0x06, 0x44, 0x02, 0x80, 0x00, 0x02, 0xe5, 0x84, 0x16, 0x40, 0x05, 0x84, 0x06, 0x44, 0xe5, 0x94, 0x03, 0xcc, 0xe5, 0x84, 0x06, 0x2c, 
+0xe5, 0x94, 0x03, 0xb0, 0xe5, 0x84, 0x06, 0x30, 0xe5, 0x94, 0x06, 0x44, 0xe5, 0x9a, 0x10, 0x14, 0xe5, 0x81, 0x00, 0x04, 0xe5, 0x94, 0x06, 0x60, 0xe5, 0x9a, 0x10, 0x14, 0xe5, 0x81, 0x00, 0x00, 0xe5, 0x9a, 0x00, 0x18, 0xe3, 0x70, 0x00, 0x01, 
+0x15, 0x90, 0x10, 0x00, 0x03, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0x64, 0xe5, 0x9a, 0x10, 0x10, 0xe3, 0x71, 0x00, 0x01, 0x15, 0x91, 0x20, 0x04, 0x03, 0xa0, 0x20, 0x00, 0xe3, 0x70, 0x00, 0x01, 0xe5, 0x84, 0x26, 0x74, 0x15, 0x90, 0x20, 0x04, 
+0x03, 0xa0, 0x20, 0x00, 0xe5, 0x84, 0x26, 0x78, 0xe5, 0x9a, 0x20, 0x14, 0xe3, 0x71, 0x00, 0x01, 0xe5, 0x92, 0x30, 0x08, 0xe5, 0x84, 0x36, 0x68, 0x15, 0x91, 0x10, 0x08, 0x03, 0xe0, 0x10, 0x00, 0xe3, 0x70, 0x00, 0x01, 0xe5, 0x84, 0x16, 0x6c, 
+0x15, 0x90, 0x10, 0x08, 0x03, 0xe0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0x70, 0x15, 0x90, 0x00, 0x08, 0x03, 0xe0, 0x00, 0x00, 0xe5, 0x84, 0x06, 0x5c, 0xe5, 0x94, 0x03, 0xcc, 0xe5, 0x84, 0x05, 0x68, 0xe5, 0x94, 0x06, 0x8c, 0xe5, 0x82, 0x00, 0x18, 
+0xe5, 0x9a, 0x00, 0x10, 0xe3, 0x70, 0x00, 0x01, 0x15, 0x90, 0x00, 0x18, 0x03, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x06, 0x90, 0xe5, 0x9a, 0x00, 0x18, 0xe3, 0x70, 0x00, 0x01, 0x15, 0x90, 0x00, 0x18, 0x03, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x06, 0x94, 
+0xe5, 0x94, 0x06, 0x34, 0xe5, 0x9a, 0x10, 0x14, 0xe5, 0x81, 0x00, 0x24, 0xe5, 0x94, 0x06, 0x44, 0xe5, 0x9a, 0x10, 0x14, 0xe5, 0x81, 0x00, 0x28, 0xe5, 0x94, 0x06, 0x40, 0xe5, 0x9a, 0x10, 0x14, 0xe5, 0x81, 0x00, 0x2c, 0xe5, 0x94, 0x06, 0xa0, 
+0xe5, 0x9a, 0x10, 0x14, 0xe5, 0x81, 0x00, 0x30, 0xe5, 0x94, 0x06, 0xa4, 0xe5, 0x9a, 0x10, 0x14, 0xe5, 0x81, 0x00, 0x34, 0xe5, 0x94, 0x06, 0xac, 0xe5, 0x9a, 0x10, 0x14, 0xe5, 0x81, 0x00, 0x38, 0xe5, 0x94, 0x06, 0xb4, 0xe5, 0x9a, 0x10, 0x14, 
+0xe5, 0x81, 0x00, 0x40, 0xe5, 0x94, 0x06, 0xb0, 0xe5, 0x9a, 0x10, 0x14, 0xe5, 0x81, 0x00, 0x3c, 0xe5, 0x94, 0x06, 0xb8, 0xe5, 0x9a, 0x10, 0x14, 0xe5, 0x81, 0x00, 0x44, 0xe5, 0x9a, 0x00, 0x18, 0xe3, 0x70, 0x00, 0x01, 0x15, 0x90, 0x10, 0x24, 
+0x03, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0xbc, 0x15, 0x90, 0x10, 0x28, 0x03, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0xc0, 0x15, 0x90, 0x10, 0x2c, 0x03, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0xc4, 0x15, 0x90, 0x10, 0x30, 0x03, 0xa0, 0x10, 0x00, 
+0xe5, 0x84, 0x16, 0xc8, 0x15, 0x90, 0x10, 0x34, 0x03, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0xcc, 0x15, 0x90, 0x10, 0x38, 0x03, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0xd0, 0x15, 0x90, 0x10, 0x3c, 0x03, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0xd4, 
+0x15, 0x90, 0x10, 0x40, 0x03, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x16, 0xd8, 0x15, 0x90, 0x00, 0x44, 0x03, 0xa0, 0x00, 0x00, 0xe5, 0x84, 0x06, 0xdc, 0xe5, 0x89, 0x70, 0x34, 0xe5, 0x86, 0x70, 0xdc, 0xe2, 0x84, 0x2b, 0x01, 0xe2, 0x84, 0x0b, 0x01, 
+0xe2, 0x80, 0x0f, 0x89, 0xe2, 0x82, 0x20, 0x28, 0xe5, 0x94, 0x30, 0xd0, 0xe1, 0xa0, 0xb0, 0x02, 0xe1, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0x10, 0x03, 0xeb, 0xff, 0xf4, 0x69, 0xe5, 0x99, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x04, 0x0a, 0x00, 0x00, 0x3b, 
+0xe5, 0x99, 0x00, 0x04, 0xe3, 0xa0, 0x38, 0x55, 0xe3, 0x50, 0x00, 0x02, 0xe3, 0xa0, 0x28, 0x56, 0x1a, 0x00, 0x00, 0x0a, 0xe5, 0x9a, 0x00, 0x68, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x9a, 0x00, 0x58, 0x11, 0xa0, 0x06, 0xa0, 0xe5, 0x83, 0x02, 0x00, 
+0xe5, 0x83, 0x02, 0x80, 0xe5, 0x83, 0x03, 0x40, 0xe5, 0x92, 0x10, 0x08, 0xe3, 0xc1, 0x00, 0x1f, 0xe3, 0xc0, 0x05, 0x1f, 0xe5, 0x82, 0x00, 0x08, 0xe5, 0x9f, 0xc0, 0xe8, 0xe3, 0xa0, 0x00, 0x00, 0xe5, 0x82, 0xc0, 0x00, 0xe3, 0xa0, 0xe0, 0x03, 
+0xe5, 0x82, 0xe0, 0x14, 0xe3, 0xa0, 0xe6, 0x02, 0xe5, 0x96, 0xa0, 0xd8, 0xe3, 0x5a, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x82, 0xc0, 0x00, 0xe3, 0xa0, 0xa0, 0x00, 0xe7, 0x8e, 0x71, 0x0a, 0xe2, 0x8a, 0xa0, 0x01, 0xe3, 0x5a, 0x00, 0x28, 
+0xba, 0xff, 0xff, 0xfb, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x86, 0x50, 0xcc, 0xe3, 0x50, 0x00, 0x02, 0x3a, 0xff, 0xff, 0xf2, 0xe5, 0x96, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x96, 0x00, 0xdc, 0xe3, 0x50, 0x00, 0x01, 
+0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x86, 0x70, 0xdc, 0xe5, 0x96, 0x00, 0xd8, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe5, 0x99, 0x00, 0x04, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x06, 0xe5, 0x94, 0x07, 0x1c, 0xe5, 0x83, 0x02, 0x00, 
+0xe5, 0x94, 0x07, 0x20, 0xe5, 0x83, 0x02, 0x80, 0xe5, 0x94, 0x07, 0x24, 0xe5, 0x83, 0x03, 0x40, 0xe5, 0x82, 0x10, 0x08, 0xe5, 0x94, 0x30, 0xd0, 0xe1, 0xa0, 0x20, 0x0b, 0xe3, 0xa0, 0x10, 0x03, 0xe1, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0x2a, 
+0xe5, 0x9d, 0x10, 0x08, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf1, 0x0c, 0xe5, 0x94, 0x17, 0x08, 0xe5, 0x96, 0x20, 0x44, 0xe0, 0x81, 0x10, 0x02, 0xe3, 0x50, 0x00, 0x00, 0xe5, 0x84, 0x17, 0x08, 0xe8, 0xbd, 0x8f, 0xfe, 0x00, 0x00, 0x27, 0xd4, 
+0x00, 0x00, 0x28, 0x08, 0x00, 0x00, 0x28, 0x3c, 0x00, 0x00, 0x28, 0x70, 0x00, 0x00, 0x28, 0xa4, 0x00, 0x00, 0x29, 0xa4, 0x00, 0x00, 0x25, 0x60, 0x00, 0x00, 0x80, 0x20, 0xe9, 0x2d, 0x41, 0xf0, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x70, 0x00, 
+0xe5, 0x90, 0x00, 0xd4, 0xe3, 0xa0, 0x50, 0x00, 0xe5, 0x84, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x50, 0x04, 0xe5, 0x87, 0x04, 0x54, 0xe5, 0x87, 0x07, 0x04, 0xe5, 0x97, 0x06, 0x8c, 0xe1, 0xa0, 0x40, 0x07, 0xe5, 0x87, 0x06, 0x90, 
+0xe1, 0xa0, 0x00, 0x07, 0xe1, 0xa0, 0x60, 0x01, 0xeb, 0xff, 0xfd, 0x55, 0xe3, 0x50, 0x00, 0x00, 0x18, 0xbd, 0x81, 0xf0, 0xe5, 0x84, 0x50, 0x18, 0xea, 0x00, 0x00, 0x07, 0xe1, 0xa0, 0x10, 0x06, 0xe1, 0xa0, 0x00, 0x07, 0xeb, 0xff, 0xfe, 0x32, 
+0xe3, 0x50, 0x00, 0x00, 0x18, 0xbd, 0x81, 0xf0, 0xe5, 0x94, 0x10, 0x18, 0xe2, 0x81, 0x10, 0x01, 0xe5, 0x84, 0x10, 0x18, 0xe5, 0x94, 0x10, 0x18, 0xe5, 0x97, 0x27, 0x04, 0xe1, 0x51, 0x00, 0x02, 0x3a, 0xff, 0xff, 0xf3, 0xe8, 0xbd, 0x81, 0xf0, 
+0xe9, 0x2d, 0x47, 0xfc, 0xe1, 0xa0, 0x60, 0x00, 0xe2, 0x80, 0x40, 0xe4, 0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x03, 0x34, 0xe3, 0xa0, 0x00, 0x02, 0xe1, 0xa0, 0xa0, 0x01, 0xeb, 0xff, 0xf5, 0x7f, 0xe5, 0x84, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x02, 
+0xe5, 0x86, 0x00, 0x08, 0x03, 0xe0, 0x00, 0x01, 0x0a, 0x00, 0x00, 0xfc, 0xe3, 0x50, 0x00, 0x00, 0x13, 0x50, 0x00, 0x01, 0x03, 0xa0, 0x00, 0x02, 0x0b, 0xff, 0xf5, 0x76, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x05, 
+0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xf5, 0x71, 0xe5, 0x84, 0x00, 0x24, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xf5, 0x6e, 0xe5, 0x84, 0x00, 0x38, 0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xf5, 0x6b, 0xe5, 0x84, 0x03, 0x0c, 0xe3, 0xa0, 0x00, 0x05, 
+0xeb, 0xff, 0xf5, 0x68, 0xe5, 0x84, 0x03, 0x10, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x13, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x2f, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x61, 0xe5, 0x84, 0x02, 0xcc, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xf5, 0x5e, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x5c, 0xe5, 0x84, 0x02, 0xd0, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x59, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x57, 0xe5, 0x84, 0x02, 0xd4, 0xe5, 0x86, 0x00, 0x6c, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x53, 0xe5, 0x84, 0x02, 0xd8, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xf5, 0x50, 0xe5, 0x84, 0x02, 0xe0, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x4d, 0xe5, 0x84, 0x02, 0xe4, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xf5, 0x4a, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x48, 0xe5, 0x84, 0x02, 0xe8, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x45, 0xe5, 0x84, 0x02, 0xec, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x42, 0xe5, 0x84, 0x02, 0xf0, 
+0xe3, 0xa0, 0x00, 0x03, 0xeb, 0xff, 0xf5, 0x3f, 0xe5, 0x84, 0x02, 0xf4, 0xe3, 0xa0, 0x00, 0x02, 0xeb, 0xff, 0xf5, 0x3c, 0xe5, 0x84, 0x02, 0xf8, 0xe1, 0xa0, 0x00, 0x06, 0xe3, 0xa0, 0x2e, 0x2d, 0xe3, 0xa0, 0x1c, 0x05, 0xeb, 0xff, 0xf4, 0xce, 
+0xe3, 0xa0, 0x0c, 0x05, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x0e, 0x2d, 0xe5, 0x8d, 0x00, 0x00, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x18, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x2e, 0xe5, 0x84, 0x02, 0xfc, 
+0xe3, 0xa0, 0x00, 0x0c, 0xeb, 0xff, 0xf5, 0x2b, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0xa0, 0x00, 0x80, 0xe5, 0x8d, 0x00, 0x04, 0xe3, 0xa0, 0x00, 0x0c, 0xeb, 0xff, 0xf5, 0x26, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0xa0, 0x20, 0x80, 0xe5, 0x9d, 0x10, 0x04, 
+0xe1, 0xa0, 0x00, 0x06, 0xe5, 0x8d, 0x20, 0x00, 0xeb, 0xff, 0xf4, 0xb7, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x1e, 0xe5, 0x84, 0x03, 0x04, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x1b, 0xe5, 0x84, 0x00, 0x28, 0xe3, 0xa0, 0x00, 0x01, 
+0xeb, 0xff, 0xf5, 0x18, 0xe5, 0x84, 0x03, 0x00, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x15, 0xe5, 0x84, 0x03, 0x1c, 0xe5, 0x94, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x03, 0x1a, 0x00, 0x00, 0x6e, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x0f, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x0d, 0xe5, 0x84, 0x03, 0x08, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf5, 0x0a, 0xe3, 0x50, 0x00, 0x01, 0xe3, 0xa0, 0x50, 0x00, 0x15, 0x84, 0x50, 0x1c, 0x15, 0x84, 0x50, 0x20, 0x15, 0x84, 0x50, 0x2c, 
+0x15, 0x84, 0x50, 0x30, 0x1a, 0x00, 0x00, 0x3a, 0xe3, 0xa0, 0x00, 0x0e, 0xeb, 0xff, 0xf5, 0x01, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x0e, 0xeb, 0xff, 0xf4, 0xfd, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x18, 
+0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf4, 0xf9, 0xe3, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf4, 0xf5, 0xe3, 0x50, 0x00, 0x0f, 0x1a, 0x00, 0x00, 0x07, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xf1, 
+0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x1c, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xed, 0xe2, 0x80, 0x00, 0x01, 0xe5, 0x84, 0x00, 0x20, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf4, 0xe9, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x84, 0x50, 0x2c, 
+0x15, 0x84, 0x50, 0x30, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf4, 0xe3, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x28, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xdf, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf4, 0xdd, 
+0xe3, 0x50, 0x00, 0x01, 0x03, 0xa0, 0x0f, 0xfa, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x50, 0x00, 0x02, 0x1a, 0x00, 0x00, 0x01, 0xe5, 0x9f, 0x03, 0xc4, 0xe5, 0x84, 0x00, 0x30, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf4, 0xd4, 0xe3, 0x50, 0x00, 0x01, 
+0xe5, 0x84, 0x00, 0x34, 0x1a, 0x00, 0x00, 0x08, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xcf, 0xe5, 0x84, 0x00, 0x3c, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xcc, 0xe5, 0x84, 0x00, 0x40, 0xe3, 0xa0, 0x00, 0x08, 0xeb, 0xff, 0xf4, 0xc9, 
+0xe5, 0x84, 0x00, 0x44, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf4, 0xc6, 0xe3, 0x50, 0x00, 0x01, 0x15, 0x84, 0x50, 0x48, 0x1a, 0x00, 0x00, 0x20, 0xe3, 0xa0, 0x00, 0x05, 0xeb, 0xff, 0xf4, 0xc1, 0xe5, 0x84, 0x00, 0x48, 0xe3, 0xa0, 0x00, 0x04, 
+0xeb, 0xff, 0xf4, 0xbe, 0xe2, 0x80, 0x80, 0x06, 0xe3, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xf4, 0xbb, 0xe2, 0x80, 0x90, 0x04, 0xe3, 0xa0, 0x50, 0x00, 0xea, 0x00, 0x00, 0x12, 0xe3, 0xa0, 0x00, 0x10, 0xeb, 0xff, 0xf4, 0xb6, 0xe2, 0x80, 0x00, 0x01, 
+0xe5, 0x84, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x20, 0xea, 0xff, 0xff, 0xda, 0xe3, 0xa0, 0x00, 0x10, 0xeb, 0xff, 0xf4, 0xb0, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0xa0, 0x08, 0x10, 0xe0, 0x85, 0x11, 0x05, 0xe0, 0x84, 0x71, 0x01, 0xe5, 0x87, 0x00, 0x4c, 
+0xe3, 0xa0, 0x00, 0x10, 0xeb, 0xff, 0xf4, 0xa9, 0xe2, 0x80, 0x00, 0x01, 0xe1, 0xa0, 0x09, 0x10, 0xe2, 0x85, 0x50, 0x01, 0xe5, 0x87, 0x00, 0x50, 0xe5, 0x94, 0x00, 0x48, 0xe1, 0x50, 0x00, 0x05, 0x8a, 0xff, 0xff, 0xef, 0xe5, 0x94, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x00, 0x13, 0x50, 0x00, 0x01, 0x1a, 0x00, 0x00, 0x14, 0xe3, 0xa0, 0x00, 0x01, 0xeb, 0xff, 0xf4, 0x9c, 0xe5, 0x84, 0x03, 0x18, 0xe1, 0xa0, 0x00, 0x0a, 0xeb, 0xff, 0xf4, 0xb3, 0xe3, 0xa0, 0x10, 0x20, 0xe1, 0xa0, 0x00, 0x0a, 
+0xeb, 0xff, 0xf4, 0xa8, 0xe5, 0x8d, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xf0, 0xdd, 0xe3, 0xa0, 0x10, 0x20, 0xe1, 0xa0, 0x00, 0x0a, 0xeb, 0xff, 0xf4, 0xa2, 0xe5, 0x8d, 0x00, 0x04, 0xe2, 0x8d, 0x00, 0x04, 0xeb, 0xff, 0xf0, 0xd7, 
+0xe5, 0x9d, 0x10, 0x04, 0xe5, 0x9d, 0x20, 0x00, 0xe1, 0xa0, 0x00, 0x06, 0xeb, 0xff, 0xf4, 0x20, 0xe5, 0x9d, 0x00, 0x04, 0xe5, 0x9d, 0x10, 0x00, 0xe3, 0xa0, 0x38, 0x52, 0xe1, 0x80, 0x28, 0x01, 0xe5, 0x83, 0x20, 0x14, 0xe3, 0xa0, 0x26, 0x05, 
+0xe5, 0x82, 0x01, 0x18, 0xe5, 0x82, 0x11, 0x1c, 0xe2, 0x86, 0x2a, 0x01, 0xe2, 0x82, 0x30, 0x30, 0xe8, 0x83, 0x00, 0x03, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x87, 0xfc, 0xe9, 0x2d, 0x4f, 0xf0, 0xe2, 0x80, 0x3a, 0x01, 0xe2, 0x83, 0xc0, 0x30, 
+0xe8, 0x9c, 0x10, 0x10, 0xe3, 0xa0, 0x10, 0x01, 0xe3, 0xa0, 0x26, 0x05, 0xe5, 0x82, 0x14, 0x0c, 0xe5, 0x92, 0xe1, 0x2c, 0xe3, 0x5e, 0x00, 0x01, 0x1a, 0xff, 0xff, 0xfc, 0xe2, 0x8c, 0xe0, 0x0f, 0xe1, 0xa0, 0x52, 0x4e, 0xe5, 0x92, 0xed, 0x04, 
+0xe2, 0x84, 0x90, 0x0f, 0xe1, 0xa0, 0x42, 0x49, 0xe5, 0x83, 0xe0, 0x60, 0xe5, 0x92, 0xe9, 0x04, 0xe3, 0xa0, 0x88, 0x55, 0xe5, 0x80, 0xe7, 0x24, 0xe5, 0x88, 0xe3, 0x40, 0xe2, 0x85, 0x60, 0x01, 0xe1, 0xa0, 0x52, 0x84, 0xe3, 0xa0, 0xe0, 0x01, 
+0xe2, 0x88, 0xad, 0x0d, 0xe5, 0x93, 0x40, 0x60, 0xe2, 0x84, 0x40, 0x04, 0xe1, 0x54, 0x00, 0x0e, 0xda, 0x00, 0x00, 0x07, 0xe0, 0x8e, 0x41, 0x8e, 0xe0, 0x80, 0x41, 0x84, 0xe5, 0x94, 0x76, 0xdc, 0xe0, 0x27, 0x75, 0x96, 0xe5, 0x84, 0x77, 0x24, 
+0xe7, 0x8a, 0x71, 0x0e, 0xe2, 0x8e, 0xe0, 0x01, 0xea, 0xff, 0xff, 0xf3, 0xe2, 0x8c, 0xc0, 0x1f, 0xe3, 0xcc, 0xe0, 0x1f, 0xe5, 0x92, 0xc9, 0x00, 0xe3, 0xc9, 0x40, 0x0f, 0xe5, 0x92, 0x59, 0x08, 0xe5, 0x92, 0x52, 0x34, 0xe5, 0x88, 0x51, 0x90, 
+0xe5, 0x92, 0x52, 0x34, 0xe5, 0x83, 0x50, 0x58, 0xe5, 0x92, 0x26, 0x00, 0xe3, 0x52, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x28, 0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x83, 0x10, 0x68, 0xe5, 0x80, 0xc7, 0x1c, 0xe5, 0x88, 0xc2, 0x00, 0xe5, 0x9f, 0x51, 0x88, 
+0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x93, 0x20, 0x60, 0xe2, 0x82, 0x20, 0x04, 0xe1, 0x52, 0x00, 0x01, 0xc0, 0x81, 0x21, 0x81, 0xc0, 0x80, 0x21, 0x82, 0xc5, 0x92, 0xc6, 0xd4, 0xc0, 0x2c, 0xc4, 0x9e, 0xc5, 0x82, 0xc7, 0x1c, 0xc7, 0x85, 0xc1, 0x01, 
+0xc2, 0x81, 0x10, 0x01, 0xca, 0xff, 0xff, 0xf4, 0xe5, 0x93, 0x10, 0x60, 0xe0, 0x81, 0x11, 0x81, 0xe0, 0x80, 0x11, 0x81, 0xe5, 0x91, 0x17, 0xf4, 0xe0, 0x21, 0x14, 0x9e, 0xe5, 0x80, 0x17, 0x20, 0xe5, 0x88, 0x12, 0x80, 0xe0, 0x0c, 0x04, 0x9e, 
+0xe5, 0x9f, 0x21, 0x38, 0xe0, 0x8c, 0xcf, 0xac, 0xe1, 0xa0, 0xe0, 0xcc, 0xe3, 0xa0, 0x10, 0x01, 0xe5, 0x93, 0xc0, 0x60, 0xe2, 0x8c, 0xc0, 0x04, 0xe1, 0x5c, 0x00, 0x01, 0xd8, 0xbd, 0x8f, 0xf0, 0xe0, 0x81, 0xc1, 0x81, 0xe0, 0x80, 0xc1, 0x8c, 
+0xe5, 0x9c, 0x46, 0xd8, 0xe0, 0x8e, 0x40, 0x04, 0xe5, 0x8c, 0x47, 0x20, 0xe7, 0x82, 0x41, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xea, 0xff, 0xff, 0xf3, 0xe2, 0x44, 0x20, 0x01, 0xe1, 0xa0, 0x5f, 0xc2, 0xe5, 0x83, 0x10, 0x68, 0xe1, 0xa0, 0x16, 0xcc, 
+0xe0, 0x82, 0x2c, 0xa5, 0xe3, 0xa0, 0x70, 0x01, 0xe0, 0x87, 0x93, 0xc2, 0xe3, 0xa0, 0xc0, 0x00, 0xe3, 0x5c, 0x00, 0x00, 0x11, 0xa0, 0x20, 0xce, 0x12, 0x42, 0x20, 0x01, 0x02, 0x4e, 0x20, 0x01, 0xe1, 0xa0, 0x5f, 0xc2, 0xe0, 0x82, 0x5d, 0x25, 
+0xe3, 0xa0, 0x70, 0x01, 0xe0, 0x87, 0x73, 0x45, 0x03, 0xa0, 0x50, 0x80, 0x13, 0xa0, 0x50, 0xa0, 0xe3, 0x12, 0x00, 0x20, 0x13, 0xa0, 0x20, 0x00, 0xe2, 0x44, 0xa0, 0x01, 0xe1, 0xa0, 0x60, 0x09, 0x1a, 0x00, 0x00, 0x1e, 0xe1, 0xa0, 0x78, 0x8a, 
+0xe1, 0xa0, 0x28, 0x82, 0xe1, 0xa0, 0xab, 0xa2, 0xe1, 0xa0, 0x7c, 0xa7, 0xe3, 0xa0, 0x20, 0x00, 0xe0, 0x26, 0x76, 0x9a, 0xea, 0x00, 0x00, 0x09, 0xe0, 0x85, 0x70, 0x02, 0xe7, 0x88, 0x11, 0x07, 0xe0, 0x82, 0x71, 0x82, 0xe3, 0x5c, 0x00, 0x00, 
+0xe0, 0x80, 0x71, 0x87, 0x15, 0x87, 0x17, 0x20, 0x05, 0x87, 0x17, 0x1c, 0xe0, 0x86, 0x10, 0x01, 0xe2, 0x81, 0x10, 0x01, 0xe2, 0x82, 0x20, 0x01, 0xe5, 0x93, 0x70, 0x60, 0xe2, 0x87, 0x70, 0x04, 0xe1, 0x57, 0x00, 0x02, 0xca, 0xff, 0xff, 0xf1, 
+0xea, 0x00, 0x00, 0x0c, 0xe0, 0x85, 0xa0, 0x02, 0xe7, 0x88, 0x11, 0x0a, 0xe0, 0x82, 0xa1, 0x82, 0xe3, 0x5c, 0x00, 0x00, 0xe0, 0x80, 0xa1, 0x8a, 0x15, 0x8a, 0x17, 0x20, 0x05, 0x8a, 0x17, 0x1c, 0xe2, 0x82, 0x20, 0x01, 0xe0, 0x21, 0x16, 0x97, 
+0xe5, 0x93, 0xa0, 0x60, 0xe2, 0x8a, 0xa0, 0x04, 0xe1, 0x5a, 0x00, 0x02, 0xca, 0xff, 0xff, 0xf2, 0xe2, 0x8c, 0xc0, 0x01, 0xe3, 0x5c, 0x00, 0x02, 0xba, 0xff, 0xff, 0xca, 0xe8, 0xbd, 0x8f, 0xf0, 0x00, 0x00, 0x03, 0xe9, 0x00, 0x55, 0x02, 0x00, 
+0x00, 0x55, 0x02, 0x80, 0xe2, 0x52, 0x20, 0x20, 0xe9, 0x2d, 0x40, 0x10, 0x3a, 0x00, 0x00, 0x05, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x22, 0x52, 0x20, 0x20, 0x2a, 0xff, 0xff, 0xf9, 
+0xe1, 0xb0, 0xce, 0x02, 0x28, 0xb1, 0x50, 0x18, 0x28, 0xa0, 0x50, 0x18, 0x48, 0xb1, 0x00, 0x18, 0x48, 0xa0, 0x00, 0x18, 0xe1, 0xb0, 0xcf, 0x02, 0xe8, 0xbd, 0x40, 0x10, 0x24, 0x91, 0x30, 0x04, 0x24, 0x80, 0x30, 0x04, 0x01, 0xa0, 0xf0, 0x0e, 
+0xe1, 0xb0, 0x2f, 0x82, 0x44, 0xd1, 0x20, 0x01, 0x24, 0xd1, 0x30, 0x01, 0x24, 0xd1, 0xc0, 0x01, 0x44, 0xc0, 0x20, 0x01, 0x24, 0xc0, 0x30, 0x01, 0x24, 0xc0, 0xc0, 0x01, 0xe1, 0xa0, 0xf0, 0x0e, 0xe1, 0x90, 0xc0, 0x01, 0x4a, 0x00, 0x00, 0x21, 
+0xe0, 0x71, 0xc0, 0xa0, 0xe3, 0xa0, 0x20, 0x00, 0x3a, 0x00, 0x00, 0x1a, 0xe0, 0x71, 0xc2, 0x20, 0x3a, 0x00, 0x00, 0x0f, 0xe0, 0x71, 0xc4, 0x20, 0x3a, 0x00, 0x00, 0x01, 0xe3, 0xa0, 0x30, 0x00, 0xea, 0x00, 0x00, 0x20, 0xe0, 0x71, 0xc3, 0xa0, 
+0x20, 0x40, 0x03, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc3, 0x20, 0x20, 0x40, 0x03, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0xa0, 0x20, 0x40, 0x02, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0x20, 0x20, 0x40, 0x02, 0x01, 
+0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0xa0, 0x20, 0x40, 0x01, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0x20, 0x20, 0x40, 0x01, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0xe0, 0x71, 0xc0, 0xa0, 0x20, 0x40, 0x00, 0x81, 0xe0, 0xa2, 0x20, 0x02, 
+0xe0, 0x50, 0x10, 0x01, 0x31, 0xa0, 0x10, 0x00, 0xe0, 0xa2, 0x00, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe2, 0x11, 0x21, 0x02, 0x42, 0x61, 0x10, 0x00, 0xe0, 0x32, 0x30, 0x40, 0x22, 0x60, 0x00, 0x00, 0xe0, 0x71, 0xc2, 0x20, 0x3a, 0x00, 0x00, 0x1d, 
+0xe0, 0x71, 0xc4, 0x20, 0x3a, 0x00, 0x00, 0x0f, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x23, 0x3f, 0x3a, 0x00, 0x00, 0x0b, 0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x26, 0x3f, 0x3a, 0x00, 0x00, 0x07, 
+0xe1, 0xa0, 0x13, 0x01, 0xe0, 0x71, 0xc4, 0x20, 0xe3, 0x82, 0x29, 0x3f, 0x23, 0x82, 0x2c, 0x3f, 0x21, 0xa0, 0x13, 0x01, 0xe2, 0x71, 0xc0, 0x00, 0x2a, 0x00, 0x00, 0x2f, 0x21, 0xa0, 0x13, 0x21, 0xe0, 0x71, 0xc3, 0xa0, 0x20, 0x40, 0x03, 0x81, 
+0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc3, 0x20, 0x20, 0x40, 0x03, 0x01, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0xa0, 0x20, 0x40, 0x02, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc2, 0x20, 0x20, 0x40, 0x02, 0x01, 0xe0, 0xa2, 0x20, 0x02, 
+0xe0, 0x71, 0xc1, 0xa0, 0x20, 0x40, 0x01, 0x81, 0xe0, 0xa2, 0x20, 0x02, 0xe0, 0x71, 0xc1, 0x20, 0x20, 0x40, 0x01, 0x01, 0xe0, 0xb2, 0x20, 0x02, 0x2a, 0xff, 0xff, 0xeb, 0xe0, 0x71, 0xc0, 0xa0, 0x20, 0x40, 0x00, 0x81, 0xe0, 0xa2, 0x20, 0x02, 
+0xe0, 0x50, 0x10, 0x01, 0x31, 0xa0, 0x10, 0x00, 0xe0, 0xa2, 0x00, 0x02, 0xe1, 0xb0, 0x3f, 0xc3, 0x42, 0x60, 0x00, 0x00, 0x22, 0x61, 0x10, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0xeb, 0x00, 0x00, 0xa1, 0xeb, 0x00, 0x00, 0x1f, 0xe9, 0x2d, 0x00, 0x03, 
+0xeb, 0x00, 0x00, 0x9f, 0xe8, 0xbd, 0x00, 0x03, 0xeb, 0x00, 0x00, 0x5a, 0xe9, 0x2d, 0x00, 0x0f, 0xeb, 0x00, 0x00, 0x9e, 0xe8, 0xbd, 0x00, 0x0f, 0xeb, 0xff, 0xef, 0xa8, 0xea, 0x00, 0x00, 0x10, 0xe9, 0x2d, 0x40, 0x01, 0xeb, 0x00, 0x00, 0x9c, 
+0xeb, 0x00, 0x00, 0x8e, 0xe8, 0xbd, 0x40, 0x01, 0xea, 0x00, 0x00, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xea, 0x00, 0x00, 0x00, 0xea, 0x00, 0x00, 0x05, 0xe5, 0x9f, 0x10, 0x0c, 0xe3, 0xa0, 0x00, 0x18, 0xef, 0x12, 0x34, 0x56, 0xe1, 0xa0, 0xf0, 0x0e, 
+0x00, 0x00, 0x02, 0x60, 0x00, 0x02, 0x00, 0x26, 0xe3, 0xa0, 0x00, 0x02, 0xe3, 0xa0, 0x10, 0x02, 0xea, 0x00, 0x00, 0x93, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0xff, 0xff, 0xe9, 
+0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0x50, 0x0e, 0xeb, 0x00, 0x00, 0x86, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xc0, 0x00, 0x07, 0xe1, 0xa0, 0x10, 0x0d, 0xe2, 0x80, 0xd0, 0x60, 0xe1, 0xa0, 0xe0, 0x05, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x30, 0x0a, 
+0xeb, 0x00, 0x00, 0xfb, 0xe3, 0xa0, 0x60, 0x00, 0xe3, 0xa0, 0x70, 0x00, 0xe3, 0xa0, 0x80, 0x00, 0xe3, 0xa0, 0xb0, 0x00, 0xe8, 0xbd, 0x40, 0x10, 0xe3, 0xc1, 0xd0, 0x07, 0xe1, 0xa0, 0xc0, 0x04, 0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 
+0xe8, 0xac, 0x09, 0xc0, 0xe8, 0xac, 0x09, 0xc0, 0xe9, 0x2d, 0x40, 0x13, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x81, 0x10, 0x40, 0xe0, 0x80, 0x20, 0x01, 0xe2, 0x82, 0x2e, 0x11, 0xe5, 0x84, 0x20, 0x1c, 
+0xe3, 0xa0, 0x00, 0x01, 0xe5, 0x84, 0x10, 0x18, 0xe5, 0x84, 0x00, 0x10, 0xe8, 0xbd, 0x40, 0x13, 0xe1, 0xa0, 0x10, 0x00, 0xe5, 0x84, 0x00, 0x14, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xe9, 0x2d, 0x00, 0x03, 0xeb, 0x00, 0x00, 0x61, 
+0xe1, 0xa0, 0x40, 0x00, 0xe8, 0xbd, 0x00, 0x03, 0xe5, 0x94, 0x20, 0x14, 0xe5, 0x94, 0x30, 0x1c, 0xe0, 0x82, 0xe0, 0x00, 0xe0, 0x4d, 0x30, 0x03, 0xe1, 0x5e, 0x00, 0x03, 0xe5, 0x81, 0x20, 0x00, 0x8a, 0x00, 0x00, 0x0a, 0xe0, 0x93, 0x30, 0x0e, 
+0xe2, 0x8e, 0x1a, 0x01, 0xe2, 0x81, 0x10, 0x07, 0xe1, 0xa0, 0x30, 0x63, 0xe3, 0xc3, 0x30, 0x07, 0xe3, 0xc1, 0x10, 0x07, 0xe1, 0x51, 0x00, 0x03, 0x81, 0xa0, 0x10, 0x03, 0xe0, 0x41, 0x00, 0x02, 0xe5, 0x84, 0x10, 0x14, 0xe8, 0xbd, 0x80, 0x10, 
+0xe1, 0xa0, 0x20, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x43, 0xc0, 0xe9, 0x2d, 0x00, 0x3e, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x40, 0x00, 0xeb, 0x00, 0x01, 0x0c, 0xe3, 0xa0, 0x00, 0x00, 
+0xe5, 0x8d, 0x40, 0x00, 0xe5, 0x8d, 0x50, 0x04, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x08, 0xe1, 0xa0, 0x00, 0x0d, 0xeb, 0xff, 0xee, 0x53, 0xe1, 0xa0, 0x40, 0x00, 0xe1, 0xa0, 0x50, 0x01, 0xe8, 0x9d, 0x00, 0x03, 0xe1, 0xa0, 0x60, 0x02, 
+0xe1, 0xa0, 0x70, 0x03, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x80, 0x00, 0xeb, 0x00, 0x00, 0x30, 0xe1, 0xa0, 0x90, 0x00, 
+0xe5, 0x80, 0x80, 0x20, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x80, 0x10, 0x01, 0xe5, 0x89, 0x10, 0x24, 0xe3, 0xa0, 0x10, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x28, 
+0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x2c, 0xe3, 0xa0, 0x00, 0x00, 0xe3, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe5, 0x89, 0x00, 0x30, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe2, 0x8d, 0xd0, 0x0c, 0xe1, 0xa0, 0x00, 0x04, 0xe1, 0xa0, 0x10, 0x05, 
+0xe1, 0xa0, 0x20, 0x06, 0xe1, 0xa0, 0x30, 0x07, 0xe8, 0xbd, 0x01, 0xf0, 0xe8, 0xbd, 0x82, 0x00, 0xe3, 0xa0, 0x00, 0x00, 0xe9, 0x2d, 0x40, 0x10, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x10, 
+0xe1, 0xa0, 0xf0, 0x0e, 0xe3, 0xe0, 0x00, 0x00, 0xe3, 0xe0, 0x10, 0x02, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x0c, 0xe8, 0xbd, 0x80, 0x10, 0xe1, 0xa0, 0xf0, 0x0e, 0xe5, 0x9f, 0x00, 0x04, 0xe0, 0x8f, 0x00, 0x00, 
+0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x10, 0xc0, 0xe1, 0xa0, 0xf0, 0x0e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0x00, 0x00, 0x08, 0xe3, 0x50, 0x00, 0x00, 0x08, 0xbd, 0x80, 0x10, 0xe8, 0xbd, 0x40, 0x10, 0xea, 0xff, 0xff, 0x5c, 0xe1, 0xa0, 0xf0, 0x0e, 
+0xe9, 0x2d, 0x40, 0x10, 0xeb, 0xff, 0xff, 0xf1, 0xe2, 0x80, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x10, 0xe9, 0x2d, 0x40, 0x70, 0xe1, 0xa0, 0x50, 0x01, 0xe1, 0xa0, 0x10, 0x00, 0xe1, 0xa0, 0x40, 0x00, 0xe3, 0xe0, 0x00, 0x00, 0xe1, 0xa0, 0x00, 0x00, 
+0xe3, 0x70, 0x00, 0x01, 0xe1, 0xa0, 0x20, 0x00, 0x1a, 0x00, 0x00, 0x03, 0xe1, 0xa0, 0x10, 0x05, 0xe1, 0xa0, 0x00, 0x04, 0xeb, 0x00, 0x00, 0x07, 0xe8, 0xbd, 0x80, 0x70, 0xe3, 0x72, 0x00, 0x03, 0x11, 0xa0, 0x10, 0x05, 0x11, 0xa0, 0x00, 0x04, 
+0x11, 0xa0, 0xe0, 0x0f, 0x11, 0xa0, 0xf0, 0x02, 0xe3, 0xa0, 0x00, 0x00, 0xe8, 0xbd, 0x80, 0x70, 0xe2, 0x40, 0x20, 0x01, 0xe9, 0x2d, 0x40, 0x70, 0xe3, 0x52, 0x00, 0x0e, 0x22, 0x8f, 0x50, 0xc0, 0xe2, 0x8f, 0x40, 0xb8, 0x2a, 0x00, 0x00, 0x1c, 
+0xe3, 0xa0, 0x20, 0x17, 0xe5, 0x9f, 0x30, 0xc0, 0xe0, 0x02, 0x02, 0x90, 0xe0, 0x8f, 0x30, 0x03, 0xe3, 0x50, 0x00, 0x02, 0xe0, 0x82, 0x20, 0x03, 0xe2, 0x42, 0x50, 0x17, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x03, 0x01, 0x12, 0x8f, 0x40, 0xa4, 
+0x1a, 0x00, 0x00, 0x11, 0xe3, 0x11, 0x03, 0x82, 0x12, 0x8f, 0x40, 0xac, 0x1a, 0x00, 0x00, 0x0e, 0xe3, 0x11, 0x02, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x0b, 0xe3, 0x11, 0x02, 0x02, 0x12, 0x8f, 0x40, 0xb0, 0x1a, 0x00, 0x00, 0x08, 
+0xe3, 0x11, 0x01, 0x01, 0x12, 0x8f, 0x40, 0xb0, 0xea, 0x00, 0x00, 0x05, 0xe3, 0x50, 0x00, 0x08, 0x01, 0xa0, 0x40, 0x01, 0x0a, 0x00, 0x00, 0x02, 0xe3, 0x50, 0x00, 0x09, 0x03, 0x51, 0x00, 0x01, 0x02, 0x8f, 0x50, 0xa4, 0xe3, 0xa0, 0x00, 0x0a, 
+0xea, 0x00, 0x00, 0x00, 0xe2, 0x85, 0x50, 0x01, 0xeb, 0x00, 0x00, 0x2b, 0xe5, 0xd5, 0x00, 0x00, 0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xea, 0x00, 0x00, 0x01, 0xe2, 0x84, 0x40, 0x01, 0xeb, 0x00, 0x00, 0x25, 0xe5, 0xd4, 0x00, 0x00, 
+0xe3, 0x50, 0x00, 0x00, 0x1a, 0xff, 0xff, 0xfa, 0xe3, 0xa0, 0x00, 0x0a, 0xeb, 0x00, 0x00, 0x20, 0xe3, 0xa0, 0x00, 0x01, 0xe8, 0xbd, 0x80, 0x70, 0x00, 0x00, 0x00, 0x00, 0x6e, 0x6b, 0x6e, 0x55, 0x20, 0x6e, 0x77, 0x6f, 0x6e, 0x67, 0x69, 0x73, 
+0x00, 0x00, 0x6c, 0x61, 0x00, 0x00, 0x0e, 0xcc, 0x61, 0x76, 0x6e, 0x49, 0x20, 0x64, 0x69, 0x6c, 0x72, 0x65, 0x70, 0x4f, 0x6f, 0x69, 0x74, 0x61, 0x00, 0x00, 0x00, 0x6e, 0x69, 0x76, 0x69, 0x44, 0x42, 0x20, 0x65, 0x64, 0x65, 0x5a, 0x20, 0x79, 
+0x00, 0x00, 0x6f, 0x72, 0x72, 0x65, 0x76, 0x4f, 0x77, 0x6f, 0x6c, 0x66, 0x00, 0x00, 0x00, 0x00, 0x65, 0x64, 0x6e, 0x55, 0x6f, 0x6c, 0x66, 0x72, 0x00, 0x00, 0x00, 0x77, 0x78, 0x65, 0x6e, 0x49, 0x20, 0x74, 0x63, 0x61, 0x75, 0x73, 0x65, 0x52, 
+0x00, 0x00, 0x74, 0x6c, 0x65, 0x48, 0x20, 0x3a, 0x6d, 0x20, 0x70, 0x61, 0x72, 0x6f, 0x6d, 0x65, 0x6f, 0x63, 0x20, 0x79, 0x70, 0x75, 0x72, 0x72, 0x00, 0x64, 0x65, 0x74, 0xe9, 0x2d, 0x40, 0x08, 0xe1, 0xa0, 0x10, 0x0d, 0xe5, 0x8d, 0x00, 0x00, 
+0xe3, 0xa0, 0x00, 0x03, 0xef, 0x12, 0x34, 0x56, 0xe8, 0xbd, 0x90, 0x00, 0xe3, 0xa0, 0x0a, 0x0e, 0xe3, 0x21, 0xf0, 0xd1, 0xe2, 0x40, 0xd0, 0x00, 0xe3, 0x21, 0xf0, 0xd2, 0xe2, 0x40, 0xdc, 0x01, 0xe3, 0x21, 0xf0, 0xd7, 0xe2, 0x40, 0xdc, 0x02, 
+0xe3, 0x21, 0xf0, 0xdb, 0xe2, 0x40, 0xdc, 0x03, 0xe3, 0x21, 0xf0, 0xd3, 0xe2, 0x40, 0x1b, 0x01, 0xe5, 0x9f, 0x00, 0x00, 0xe1, 0xa0, 0xf0, 0x0e, 0x00, 0x00, 0x58, 0xdc, 0xea, 0x00, 0x00, 0x31, 0xea, 0x00, 0x00, 0x06, 0xea, 0x00, 0x00, 0x0b, 
+0xea, 0x00, 0x00, 0x10, 0xea, 0x00, 0x00, 0x15, 0xea, 0xff, 0xff, 0xfe, 0xea, 0x00, 0x00, 0x19, 0xea, 0x00, 0x00, 0x1e, 0xea, 0x00, 0x00, 0x23, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0xa0, 0xe5, 0x90, 0x00, 0x00, 
+0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x8c, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 
+0xe5, 0x9f, 0x00, 0x78, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x64, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 
+0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x50, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x3c, 0xe5, 0x90, 0x00, 0x00, 
+0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xe2, 0x4d, 0xd0, 0x04, 0xe9, 0x2d, 0x00, 0x01, 0xe5, 0x9f, 0x00, 0x28, 0xe5, 0x90, 0x00, 0x00, 0xe5, 0x8d, 0x00, 0x04, 0xe8, 0xbd, 0x80, 0x01, 0xeb, 0xff, 0xed, 0x54, 0xea, 0xff, 0xff, 0xfe, 
+0x00, 0x00, 0xff, 0x04, 0x00, 0x00, 0xff, 0x08, 0x00, 0x00, 0xff, 0x0c, 0x00, 0x00, 0xff, 0x10, 0x00, 0x00, 0xff, 0x18, 0x00, 0x00, 0xff, 0x1c, 0x00, 0x00, 0xff, 0x20, 0xe1, 0x2f, 0xff, 0x1e, 0xe9, 0x2d, 0x40, 0x10, 0xeb, 0xff, 0xff, 0x41, 
+0xe3, 0xa0, 0x10, 0x00, 0xe5, 0x80, 0x10, 0x00, 0xe8, 0xbd, 0x80, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0d, 
+0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x17, 
+0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x1b, 0x00, 0x00, 0x00, 0x1d, 0x00, 0x00, 0x00, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 
+0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x55, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 
+0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x66, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x99, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x05, 
+0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0xd7, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x25, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x4a, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x07, 
+0x00, 0x00, 0x00, 0x6f, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x94, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0xb9, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0xde, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x07, 
+0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 
+0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x06, 
+0x00, 0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x71, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x72, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x73, 
+0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x74, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x75, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x07, 
+0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x77, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x79, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x10, 
+0x00, 0x00, 0x00, 0x7a, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x7b, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x7d, 
+0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x07, 
+0x00, 0x00, 0x00, 0x71, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x72, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x73, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x74, 
+0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x75, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x77, 0x00, 0x00, 0x00, 0x07, 
+0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x79, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x7a, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x11, 
+0x00, 0x00, 0x00, 0x7b, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x7d, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, 0x7e, 
+0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x55, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xc0, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x66, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x99, 0x00, 0x00, 0x00, 0x04, 
+0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0xd7, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x07, 
+0x00, 0x00, 0x00, 0x25, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x4a, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x6f, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x94, 
+0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0xb9, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0xde, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x07, 
+0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x71, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x72, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x73, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0a, 
+0x00, 0x00, 0x00, 0x74, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00, 0x75, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x76, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x77, 
+0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x78, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x79, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x7a, 0x00, 0x00, 0x00, 0x07, 
+0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x7b, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x12, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00, 0x00, 0x7d, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x14, 
+0x00, 0x00, 0x00, 0x7e, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x15, 0x00, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 
+0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 
+0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02, 
+0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x55, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0xaa, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x40, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x66, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x99, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0xcc, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x2b, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x06, 
+0x00, 0x00, 0x00, 0xd7, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x25, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x4a, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x6f, 
+0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x94, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0xb9, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0xde, 0x00, 0x00, 0x00, 0x01, 
+0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00, 0x08, 
+0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x07, 
+0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x03, 0x6f, 0x6e, 0x62, 0x41, 0x6c, 0x61, 0x6d, 0x72, 0x72, 0x65, 0x74, 0x20, 0x61, 0x6e, 0x69, 0x6d, 0x6e, 0x6f, 0x69, 0x74, 0x41, 0x00, 0x00, 0x00, 0x68, 0x74, 0x69, 0x72, 0x69, 0x74, 0x65, 0x6d, 
+0x78, 0x65, 0x20, 0x63, 0x74, 0x70, 0x65, 0x63, 0x3a, 0x6e, 0x6f, 0x69, 0x6c, 0x49, 0x00, 0x20, 0x61, 0x67, 0x65, 0x6c, 0x6e, 0x69, 0x20, 0x6c, 0x75, 0x72, 0x74, 0x73, 0x6f, 0x69, 0x74, 0x63, 0x00, 0x00, 0x00, 0x6e, 0x74, 0x6e, 0x49, 0x00, 
+0x75, 0x72, 0x72, 0x65, 0x72, 0x20, 0x74, 0x70, 0x69, 0x65, 0x63, 0x65, 0x00, 0x64, 0x65, 0x76, 0x00, 0x00, 0x00, 0x00, 0x65, 0x6c, 0x6c, 0x49, 0x20, 0x6c, 0x61, 0x67, 0x72, 0x64, 0x64, 0x61, 0x00, 0x73, 0x73, 0x65, 0x00, 0x00, 0x00, 0x00, 
+0x54, 0x00, 0x00, 0x00, 0x69, 0x6d, 0x72, 0x65, 0x69, 0x74, 0x61, 0x6e, 0x72, 0x20, 0x6e, 0x6f, 0x65, 0x75, 0x71, 0x65, 0x00, 0x00, 0x74, 0x73, 0x74, 0x53, 0x00, 0x00, 0x20, 0x6b, 0x63, 0x61, 0x72, 0x65, 0x76, 0x6f, 0x77, 0x6f, 0x6c, 0x66, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x64, 0x65, 0x52, 0x00, 0x63, 0x65, 0x72, 0x69, 0x63, 0x20, 0x3a, 0x74, 0x74, 0x27, 0x6e, 0x61, 0x65, 0x70, 0x6f, 0x20, 0x00, 0x20, 0x3a, 0x6e, 0x20, 0x74, 0x75, 0x4f, 0x68, 0x20, 0x66, 0x6f, 
+0x20, 0x70, 0x61, 0x65, 0x6f, 0x6d, 0x65, 0x6d, 0x00, 0x00, 0x79, 0x72, 0x55, 0x00, 0x00, 0x00, 0x2d, 0x72, 0x65, 0x73, 0x69, 0x66, 0x65, 0x64, 0x20, 0x64, 0x65, 0x6e, 0x6e, 0x67, 0x69, 0x73, 0x31, 0x20, 0x6c, 0x61, 0x73, 0x55, 0x00, 0x00, 
+0x64, 0x2d, 0x72, 0x65, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x20, 0x64, 0x65, 0x61, 0x6e, 0x67, 0x69, 0x00, 0x32, 0x20, 0x6c, 0x72, 0x75, 0x50, 0x00, 0x69, 0x76, 0x20, 0x65, 0x61, 0x75, 0x74, 0x72, 0x6e, 0x66, 0x20, 0x6c, 0x6c, 0x61, 0x63, 0x20, 
+0x00, 0x64, 0x65, 0x6c, 0x20, 0x2b, 0x2b, 0x43, 0x72, 0x62, 0x69, 0x6c, 0x20, 0x79, 0x72, 0x61, 0x65, 0x63, 0x78, 0x65, 0x6f, 0x69, 0x74, 0x70, 0x4f, 0x00, 0x00, 0x6e, 0x6f, 0x20, 0x74, 0x75, 0x65, 0x68, 0x20, 0x66, 0x00, 0x00, 0x70, 0x61, 
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/Kconfig linux-2.6.28.6/drivers/media/video/samsung/post/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/post/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,11 @@
+#
+# Configuration for Post Porcessor
+#
+
+config VIDEO_POST
+	bool "Samsung Post Processor Driver" 
+	depends on VIDEO_SAMSUNG && (ARCH_S3C64XX || ARCH_S5P64XX)
+	default n
+	---help---
+	  This is a post processor driver for Samsung S3C6410 and S5P6440.
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/Makefile linux-2.6.28.6/drivers/media/video/samsung/post/Makefile
--- linux-2.6.28/drivers/media/video/samsung/post/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,17 @@
+#################################################
+# Makefile for Post Processor 
+# 2007 (C) Samsung Electronics 
+# Author : SungJun Bae <june.bae@samsung.com>
+#################################################
+
+ifeq ($(CONFIG_ARCH_S5P64XX),y)
+obj-$(CONFIG_VIDEO_POST)	+= s3c_post_core.o s3c_post_v4l2.o s3c_post_cfg.o s3c_post_regs.o
+else
+obj-$(CONFIG_VIDEO_POST)	+= s3c_pp_common.o s3c_pp_6400.o
+endif
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
+ifeq ($(CONFIG_VIDEO_POST_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/s3c_post.h linux-2.6.28.6/drivers/media/video/samsung/post/s3c_post.h
--- linux-2.6.28/drivers/media/video/samsung/post/s3c_post.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/s3c_post.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,403 @@
+/* linux/drivers/media/video/samsung/s3c_post.h
+ *
+ * Header file for Samsung Post Processor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef _S3C_CAMIF_H
+#define _S3C_CAMIF_H
+
+#ifdef __KERNEL__
+#include <linux/wait.h>
+#include <linux/mutex.h>
+#include <linux/i2c.h>
+#include <linux/videodev2.h>
+#include <media/v4l2-common.h>
+#include <media/v4l2-ioctl.h>
+#include <plat/post.h>
+#endif
+
+/*
+ * P I X E L   F O R M A T   G U I D E
+ *
+ * The 'x' means 'DO NOT CARE'
+ * The '*' means 'POST SPECIFIC'
+ * For some post formats, we couldn't find equivalent format in the V4L2 FOURCC.
+ *
+ * POST TYPE	PLANES	ORDER		V4L2_PIX_FMT
+ * ---------------------------------------------------------
+ * RGB565	x	x		V4L2_PIX_FMT_RGB565
+ * RGB888	x	x		V4L2_PIX_FMT_RGB24
+ * YUV420	2	LSB_CBCR	V4L2_PIX_FMT_NV12
+ * YUV420	2	LSB_CRCB	V4L2_PIX_FMT_NV21
+ * YUV420	2	MSB_CBCR	V4L2_PIX_FMT_NV21X*
+ * YUV420	2	MSB_CRCB	V4L2_PIX_FMT_NV12X*
+ * YUV420	3	x		V4L2_PIX_FMT_YUV420
+ * YUV422	1	YCBYCR		V4L2_PIX_FMT_YUYV
+ * YUV422	1	YCRYCB		V4L2_PIX_FMT_YVYU
+ * YUV422	1	CBYCRY		V4L2_PIX_FMT_UYVY
+ * YUV422	1	CRYCBY		V4L2_PIX_FMT_VYUY*
+ * YUV422	2	LSB_CBCR	V4L2_PIX_FMT_NV16*
+ * YUV422	2	LSB_CRCB	V4L2_PIX_FMT_NV61*
+ * YUV422	2	MSB_CBCR	V4L2_PIX_FMT_NV16X*
+ * YUV422	2	MSB_CRCB	V4L2_PIX_FMT_NV61X*
+ * YUV422	3	x		V4L2_PIX_FMT_YUV422P
+ *
+*/
+
+/*
+ * C O M M O N   D E F I N I T I O N S
+ *
+*/
+#define S3C_POST_NAME	"s3c-post"
+
+#define info(args...)	do { printk(KERN_INFO S3C_POST_NAME ": " args); } while (0)
+#define err(args...)	do { printk(KERN_ERR  S3C_POST_NAME ": " args); } while (0)
+
+#define S3C_POST_MINOR			15
+#define S3C_POST_MAX_FRAMES		4
+
+/*
+ * E N U M E R A T I O N S
+ *
+*/
+enum s3c_post_order422_in_t {
+	IN_ORDER422_CRYCBY = (0 << 4),
+	IN_ORDER422_YCRYCB = (1 << 4),
+	IN_ORDER422_CBYCRY = (2 << 4),
+	IN_ORDER422_YCBYCR = (3 << 4),
+};
+
+enum s3c_post_order422_out_t {
+	OUT_ORDER422_YCBYCR = (0 << 0),
+	OUT_ORDER422_YCRYCB = (1 << 0),
+	OUT_ORDER422_CBYCRY = (2 << 0),
+	OUT_ORDER422_CRYCBY = (3 << 0),
+};
+
+enum s3c_post_2plane_order_t {
+	LSB_CBCR = 0,
+	LSB_CRCB = 1,
+	MSB_CRCB = 2,
+	MSB_CBCR = 3,
+};
+
+enum s3c_post_scan_t {
+	SCAN_TYPE_PROGRESSIVE	= 0,
+	SCAN_TYPE_INTERLACE	= 1,
+};
+
+enum s3c_post_format_t {
+	FORMAT_RGB565,
+	FORMAT_RGB666,
+	FORMAT_RGB888,
+	FORMAT_YCBCR420,
+	FORMAT_YCBCR422,
+};
+
+enum s3c_post_path_out_t {
+	PATH_OUT_DMA,
+	PATH_OUT_LCDFIFO,
+};
+
+/*
+ * P O S T   S T R U C T U R E S
+ *
+*/
+
+/*
+ * struct s3c_post_frame_addr
+ * @phys_rgb:	physical start address of rgb buffer
+ * @phys_y:	physical start address of y buffer
+ * @phys_cb:	physical start address of u buffer
+ * @phys_cr:	physical start address of v buffer
+ * @virt_y:	virtual start address of y buffer
+ * @virt_rgb:	virtual start address of rgb buffer
+ * @virt_cb:	virtual start address of u buffer
+ * @virt_cr:	virtual start address of v buffer
+*/
+struct s3c_post_frame_addr {
+	union {
+		dma_addr_t	phys_rgb;
+		dma_addr_t	phys_y;		
+	};
+
+	dma_addr_t		phys_cb;
+	dma_addr_t		phys_cr;
+
+	union {
+		u8		*virt_rgb;
+		u8		*virt_y;
+	};
+
+	u8			*virt_cb;
+	u8			*virt_cr;
+};
+
+/*
+ * struct s3c_post_dma_offset
+ * @y_h:	y value horizontal offset
+ * @y_v:	y value vertical offset
+ * @cb_h:	cb value horizontal offset
+ * @cb_v:	cb value vertical offset
+ * @cr_h:	cr value horizontal offset
+ * @cr_v:	cr value vertical offset
+ *
+*/
+struct s3c_post_dma_offset {
+	int	y_h;
+	int	y_v;
+	int	cb_h;
+	int	cb_v;
+	int	cr_h;
+	int	cr_v;
+};
+
+/*
+ * struct s3c_post_scaler
+ * @hfactor:		horizontal shift factor to scale up/down
+ * @vfactor:		vertical shift factor to scale up/down
+ * @pre_hratio:		horizontal ratio for pre-scaler
+ * @pre_vratio:		vertical ratio for pre-scaler
+ * @pre_dst_width:	destination width for pre-scaler
+ * @pre_dst_height:	destination height for pre-scaler
+ * @scaleup_h:		1 if we have to scale up for the horizontal
+ * @scaleup_v:		1 if we have to scale up for the vertical
+ * @main_hratio:	horizontal ratio for main scaler
+ * @main_vratio:	vertical ratio for main scaler
+ * @real_width:		src_width - offset
+ * @real_height:	src_height - offset
+ * @line_length:	line buffer length from platform_data
+*/
+struct s3c_post_scaler {
+	u32		hfactor;
+	u32		vfactor;
+	u32		pre_hratio;
+	u32		pre_vratio;
+	u32		pre_dst_width;
+	u32		pre_dst_height;
+	u32		scaleup_h;
+	u32		scaleup_v;
+	u32		main_hratio;
+	u32		main_vratio;
+	u32		real_width;
+	u32		real_height;
+	u32		line_length;
+};
+
+/*
+ * struct s3c_post_in_frame: abstraction for frame data
+ * @addr:		address information of frame data
+ * @width:		width
+ * @height:		height
+ * @offset:		dma offset
+ * @format:		pixel format
+ * @planes:		YCBCR planes (1, 2 or 3)
+ * @order_1p		1plane YCBCR order
+ * @order_2p:		2plane YCBCR order
+*/
+struct s3c_post_in_frame {
+	u32				buf_size;
+	struct s3c_post_frame_addr	addr;
+	int				width;
+	int				height;
+	struct s3c_post_dma_offset	offset;
+	enum s3c_post_format_t		format;
+	int				planes;
+	enum s3c_post_order422_in_t	order_1p;
+	enum s3c_post_2plane_order_t	order_2p;
+};
+
+/*
+ * struct s3c_post_out_frame: abstraction for frame data
+ * @cfn:		current frame number
+ * @buf_size:		1 buffer size
+ * @addr[]:		address information of frames
+ * @nr_frams:		how many output frames used
+ * @width:		width
+ * @height:		height
+ * @offset:		offset for output dma
+ * @format:		pixel format
+ * @planes:		YCBCR planes (1, 2 or 3)
+ * @order_1p		1plane YCBCR order
+ * @order_2p:		2plane YCBCR order
+ * @scan:		output scan method (progressive, interlace)
+*/
+struct s3c_post_out_frame {
+	int				cfn;
+	u32				buf_size;
+	struct s3c_post_frame_addr	addr[S3C_POST_MAX_FRAMES];
+	int				nr_frames;
+	int				width;
+	int				height;
+	struct s3c_post_dma_offset	offset;
+	enum s3c_post_format_t		format;
+	int				planes;
+	enum s3c_post_order422_out_t	order_1p;
+	enum s3c_post_2plane_order_t	order_2p;
+	enum s3c_post_scan_t		scan;
+};
+
+/*
+ * struct s3c_post_v4l2
+*/
+struct s3c_post_v4l2 {
+	struct v4l2_fmtdesc	*fmtdesc;
+	struct v4l2_framebuffer	frmbuf;
+	struct v4l2_input	*input;
+	struct v4l2_output	*output;
+	struct v4l2_rect	crop_bounds;
+	struct v4l2_rect	crop_defrect;
+	struct v4l2_rect	crop_current;
+};
+
+/*
+ * struct s3c_post_control: abstraction for POST controller
+ * @id:		id number (= minor number)
+ * @name:	name for video_device
+ * @flag:	status, usage, irq flag (S, U, I flag)
+ * @lock:	mutex lock
+ * @waitq:	waitqueue
+ * @pdata:	platform data
+ * @clock:	post clock
+ * @regs:	virtual address of SFR
+ * @in_use:	1 when resource is occupied
+ * @irq:	irq number
+ * @vd:		video_device
+ * @v4l2:	v4l2 info
+ * @scaler:	scaler related information
+ * @in_frame:	frame structure pointer if input is dma else null
+ * @out_type:	type of output
+ * @out_frame:	frame structure pointer if output is dma
+ *
+ * @open_lcdfifo:	function pointer to open lcd fifo path (display driver)
+ * @close_lcdfifo:	function pointer to close fifo path (display driver)
+*/
+struct s3c_post_control {
+	/* general */
+	int				id;
+	char				name[16];
+	u32				flag;
+	struct mutex			lock;
+	wait_queue_head_t		waitq;
+	struct device			*dev;
+	struct clk			*clock;	
+	void __iomem			*regs;
+	atomic_t			in_use;
+	int				irq;
+	struct video_device		*vd;
+	struct s3c_post_v4l2		v4l2;
+	struct s3c_post_scaler		scaler;
+
+	struct s3c_post_in_frame	in_frame;
+
+	/* output */
+	enum s3c_post_path_out_t	out_type;
+	struct s3c_post_out_frame	out_frame;
+
+	/* functions */
+	void (*open_lcdfifo)(int win, int in_yuv, int sel);
+	void (*close_lcdfifo)(int win);
+};
+
+/*
+ * struct s3c_post_config
+*/
+struct s3c_post_config {
+	struct s3c_post_control	ctrl;
+	dma_addr_t		dma_start;
+	dma_addr_t		dma_current;
+	u32			dma_total;
+};
+
+
+/*
+ * V 4 L 2   F I M C   E X T E N S I O N S
+ *
+*/
+#define V4L2_INPUT_TYPE_MEMORY		10
+#define V4L2_OUTPUT_TYPE_MEMORY		20
+#define V4L2_OUTPUT_TYPE_LCDFIFO	21
+
+#define FORMAT_FLAGS_PACKED		1
+#define FORMAT_FLAGS_PLANAR		2
+
+#define V4L2_FMT_IN			0
+#define V4L2_FMT_OUT			1
+
+/* FOURCC for POST specific */
+#define V4L2_PIX_FMT_NV12X		v4l2_fourcc('N', '1', '2', 'X')
+#define V4L2_PIX_FMT_NV21X		v4l2_fourcc('N', '2', '1', 'X')
+#define V4L2_PIX_FMT_VYUY		v4l2_fourcc('V', 'Y', 'U', 'Y')
+#define V4L2_PIX_FMT_NV16		v4l2_fourcc('N', 'V', '1', '6')
+#define V4L2_PIX_FMT_NV61		v4l2_fourcc('N', 'V', '6', '1')
+#define V4L2_PIX_FMT_NV16X		v4l2_fourcc('N', '1', '6', 'X')
+#define V4L2_PIX_FMT_NV61X		v4l2_fourcc('N', '6', '1', 'X')
+
+/* CID extensions */
+#define V4L2_CID_NR_FRAMES		(V4L2_CID_PRIVATE_BASE + 1)
+#define V4L2_CID_RESET			(V4L2_CID_PRIVATE_BASE + 2)
+#define V4L2_CID_OUTPUT_ADDR		(V4L2_CID_PRIVATE_BASE + 10)
+#define V4L2_CID_INPUT_ADDR		(V4L2_CID_PRIVATE_BASE + 20)
+#define V4L2_CID_INPUT_ADDR_RGB		(V4L2_CID_PRIVATE_BASE + 21)
+#define V4L2_CID_INPUT_ADDR_Y		(V4L2_CID_PRIVATE_BASE + 22)
+#define V4L2_CID_INPUT_ADDR_CB		(V4L2_CID_PRIVATE_BASE + 23)
+#define V4L2_CID_INPUT_ADDR_CBCR	(V4L2_CID_PRIVATE_BASE + 24)
+#define V4L2_CID_INPUT_ADDR_CR		(V4L2_CID_PRIVATE_BASE + 25)
+
+/*
+ * E X T E R N S
+ *
+*/
+extern struct s3c_post_config s3c_post;
+extern const struct v4l2_ioctl_ops s3c_post_v4l2_ops;
+extern struct video_device s3c_post_video_device;
+
+extern struct s3c_platform_post *to_post_plat(struct device *dev);
+extern int s3c_post_alloc_input_memory(struct s3c_post_in_frame *info, dma_addr_t addr);
+extern int s3c_post_alloc_output_memory(struct s3c_post_out_frame *info);
+extern int s3c_post_alloc_y_memory(struct s3c_post_in_frame *info, dma_addr_t addr);
+extern int s3c_post_alloc_cb_memory(struct s3c_post_in_frame *info, dma_addr_t addr);
+extern int s3c_post_alloc_cr_memory(struct s3c_post_in_frame *info, dma_addr_t addr);
+extern void s3c_post_free_output_memory(struct s3c_post_out_frame *info);
+extern int s3c_post_set_input_frame(struct s3c_post_control *ctrl, struct v4l2_pix_format *fmt);
+extern int s3c_post_set_output_frame(struct s3c_post_control *ctrl, struct v4l2_pix_format *fmt);
+extern int s3c_post_frame_handler(struct s3c_post_control *ctrl);
+extern u8 *s3c_post_get_current_frame(struct s3c_post_control *ctrl);
+extern void s3c_post_set_nr_frames(struct s3c_post_control *ctrl, int nr);
+extern int s3c_post_set_scaler_info(struct s3c_post_control *ctrl);
+extern void s3c_post_start_dma(struct s3c_post_control *ctrl);
+extern void s3c_post_stop_dma(struct s3c_post_control *ctrl);
+extern void s3c_post_restart_dma(struct s3c_post_control *ctrl);
+extern void s3c_post_clear_irq(struct s3c_post_control *ctrl);
+extern int s3c_post_check_fifo(struct s3c_post_control *ctrl);
+extern void s3c_post_reset(struct s3c_post_control *ctrl);
+extern void s3c_post_set_target_format(struct s3c_post_control *ctrl);
+extern void s3c_post_set_output_dma(struct s3c_post_control *ctrl);
+extern void s3c_post_set_prescaler(struct s3c_post_control *ctrl);
+extern void s3c_post_set_scaler(struct s3c_post_control *ctrl);
+extern void s3c_post_start_scaler(struct s3c_post_control *ctrl);
+extern void s3c_post_stop_scaler(struct s3c_post_control *ctrl);
+extern void s3c_post_enable_capture(struct s3c_post_control *ctrl);
+extern void s3c_post_disable_capture(struct s3c_post_control *ctrl);
+extern void s3c_post_set_input_dma(struct s3c_post_control *ctrl);
+extern void s3c_post_start_input_dma(struct s3c_post_control *ctrl);
+extern void s3c_post_stop_input_dma(struct s3c_post_control *ctrl);
+extern void s3c_post_set_input_path(struct s3c_post_control *ctrl);
+extern void s3c_post_set_output_path(struct s3c_post_control *ctrl);
+extern void s3c_post_set_input_address(struct s3c_post_control *ctrl);
+extern void s3c_post_set_output_address(struct s3c_post_control *ctrl);
+extern int s3c_post_get_frame_count(struct s3c_post_control *ctrl);
+extern void s3c_post_wait_frame_end(struct s3c_post_control *ctrl);
+
+/* FIMD externs */
+extern void s3cfb_enable_local(int win, int in_yuv, int sel);
+extern void s3cfb_enable_dma(int win);
+
+#endif /* _S3C_CAMIF_H */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/s3c_post_cfg.c linux-2.6.28.6/drivers/media/video/samsung/post/s3c_post_cfg.c
--- linux-2.6.28/drivers/media/video/samsung/post/s3c_post_cfg.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/s3c_post_cfg.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,736 @@
+/* linux/drivers/media/video/samsung/s3c_post_cfg.c
+ *
+ * Configuration support file for Samsung Post Processor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/slab.h>
+#include <linux/bootmem.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+#include <asm/io.h>
+#include <asm/uaccess.h>
+#include <plat/media.h>
+
+#include "s3c_post.h"
+
+#if (CONFIG_VIDEO_SAMSUNG_MEMSIZE_POST > 0)
+static dma_addr_t s3c_post_get_dma_region(u32 bytes)
+{
+	dma_addr_t end, addr, *curr;
+
+	end = s3c_post.dma_start + s3c_post.dma_total;
+	curr = &s3c_post.dma_current;
+
+	if (*curr + bytes > end) {
+		addr = 0;
+	} else {
+		addr = *curr;
+		*curr += bytes;
+	}
+
+	return addr;
+}
+
+static void s3c_post_put_dma_region(u32 bytes)
+{
+	s3c_post.dma_current -= bytes;
+}
+
+void s3c_post_free_output_memory(struct s3c_post_out_frame *info)
+{
+	struct s3c_post_frame_addr *frame;
+	int i;
+
+	for (i = 0; i < info->nr_frames; i++) {
+		frame = &info->addr[i];
+
+		if (frame->phys_y)
+			s3c_post_put_dma_region(info->buf_size);
+
+		memset(frame, 0, sizeof(*frame));
+	}
+
+	info->buf_size = 0;
+}
+
+static int s3c_post_alloc_rgb_memory(struct s3c_post_out_frame *info)
+{
+	struct s3c_post_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->phys_rgb = s3c_post_get_dma_region(info->buf_size);
+		if (frame->phys_rgb == 0) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+		
+		frame->virt_rgb = phys_to_virt(frame->phys_rgb);
+	}
+
+	for (i = nr_frames; i < S3C_POST_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->phys_rgb = info->addr[i - nr_frames].phys_rgb;
+		frame->virt_rgb = info->addr[i - nr_frames].virt_rgb;		
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_post_free_output_memory(info);
+	return ret;
+}
+
+static int s3c_post_alloc_yuv_memory(struct s3c_post_out_frame *info)
+{
+	struct s3c_post_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+	u32 size = info->width * info->height, cbcr_size;
+	
+	if (info->format == FORMAT_YCBCR420)
+		cbcr_size = size / 4;
+	else
+		cbcr_size = size / 2;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->phys_y = s3c_post_get_dma_region(info->buf_size);
+		if (frame->phys_y == 0) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+
+		frame->phys_cb = frame->phys_y + size;
+		frame->phys_cr = frame->phys_cb + cbcr_size;
+
+		frame->virt_y = phys_to_virt(frame->phys_y);
+		frame->virt_cb = frame->virt_y + size;
+		frame->virt_cr = frame->virt_cb + cbcr_size;
+	}
+
+	for (i = nr_frames; i < S3C_POST_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->phys_y = info->addr[i - nr_frames].phys_y;
+		frame->phys_cb = info->addr[i - nr_frames].phys_cb;
+		frame->phys_cr = info->addr[i - nr_frames].phys_cr;
+		frame->virt_y = info->addr[i - nr_frames].virt_y;
+		frame->virt_cb = info->addr[i - nr_frames].virt_cb;
+		frame->virt_cr = info->addr[i - nr_frames].virt_cr;
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_post_free_output_memory(info);
+	return ret;
+}
+
+#else
+void s3c_post_free_output_memory(struct s3c_post_out_frame *info)
+{
+	struct s3c_post_frame_addr *frame;
+	int i;
+
+	for (i = 0; i < info->nr_frames; i++) {
+		frame = &info->addr[i];
+
+		if (frame->virt_y)
+			kfree(frame->virt_y);
+
+		memset(frame, 0, sizeof(*frame));
+	}
+
+	info->buf_size = 0;
+}
+
+static int s3c_post_alloc_rgb_memory(struct s3c_post_out_frame *info)
+{
+	struct s3c_post_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->virt_rgb = kmalloc(info->buf_size, GFP_DMA);
+		if (frame->virt_rgb == NULL) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+		
+		frame->phys_rgb = virt_to_phys(frame->virt_rgb);
+	}
+
+	for (i = nr_frames; i < S3C_POST_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->virt_rgb = info->addr[i - nr_frames].virt_rgb;
+		frame->phys_rgb = info->addr[i - nr_frames].phys_rgb;
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_post_free_output_memory(info);
+	return ret;
+}
+
+static int s3c_post_alloc_yuv_memory(struct s3c_post_out_frame *info)
+{
+	struct s3c_post_frame_addr *frame;
+	int i, ret, nr_frames = info->nr_frames;
+	u32 size = info->width * info->height, cbcr_size;
+	
+	if (info->format == FORMAT_YCBCR420)
+		cbcr_size = size / 4;
+	else
+		cbcr_size = size / 2;
+
+	for (i = 0; i < nr_frames; i++) {
+		frame = &info->addr[i];
+
+		frame->virt_y = kmalloc(info->buf_size, GFP_DMA);
+		if (frame->virt_y == NULL) {
+			ret = -ENOMEM;
+			goto alloc_fail;
+		}
+
+		frame->virt_cb = frame->virt_y + size;
+		frame->virt_cr = frame->virt_cb + cbcr_size;
+
+		frame->phys_y = virt_to_phys(frame->virt_y);
+		frame->phys_cb = frame->phys_y + size;
+		frame->phys_cr = frame->phys_cb + cbcr_size;
+	}
+
+	for (i = nr_frames; i < S3C_POST_MAX_FRAMES; i++) {
+		frame = &info->addr[i];
+		frame->phys_y = info->addr[i - nr_frames].phys_y;
+		frame->phys_cb = info->addr[i - nr_frames].phys_cb;
+		frame->phys_cr = info->addr[i - nr_frames].phys_cr;
+		frame->virt_y = info->addr[i - nr_frames].virt_y;
+		frame->virt_cb = info->addr[i - nr_frames].virt_cb;
+		frame->virt_cr = info->addr[i - nr_frames].virt_cr;
+	}
+
+	return 0;
+
+alloc_fail:
+	s3c_post_free_output_memory(info);
+	return ret;
+}
+#endif
+
+static u32 s3c_post_get_buffer_size(int width, int height, enum s3c_post_format_t fmt)
+{
+	u32 size = width * height;
+	u32 cbcr_size = 0, *buf_size = NULL, one_p_size;
+
+	switch (fmt) {
+	case FORMAT_RGB565:
+		size *= 2;
+		buf_size = &size;
+		break;
+
+	case FORMAT_RGB666:	/* fall through */
+	case FORMAT_RGB888:
+		size *= 4;
+		buf_size = &size;
+		break;
+
+	case FORMAT_YCBCR420:
+		cbcr_size = size / 4;
+		one_p_size = size + (2 * cbcr_size);
+		buf_size = &one_p_size;
+		break;
+
+	case FORMAT_YCBCR422:
+		cbcr_size = size / 2;
+		one_p_size = size + (2 * cbcr_size);
+		buf_size = &one_p_size;
+		break;
+	}
+
+	if (*buf_size % PAGE_SIZE != 0)
+		*buf_size = (*buf_size / PAGE_SIZE + 1) * PAGE_SIZE;
+
+	return *buf_size;
+}
+
+int s3c_post_alloc_output_memory(struct s3c_post_out_frame *info)
+{
+	int ret;
+
+	info->buf_size = s3c_post_get_buffer_size(info->width, info->height, \
+							info->format);
+
+	if (info->format == FORMAT_YCBCR420 || info->format == FORMAT_YCBCR422)
+		ret = s3c_post_alloc_yuv_memory(info);
+	else
+		ret = s3c_post_alloc_rgb_memory(info);
+
+	return ret;
+}
+
+int s3c_post_alloc_input_memory(struct s3c_post_in_frame *info, dma_addr_t addr)
+{
+	struct s3c_post_frame_addr *frame;
+	u32 size = info->width * info->height, cbcr_size;
+	
+	if (info->format == FORMAT_YCBCR420)
+		cbcr_size = size / 4;
+	else
+		cbcr_size = size / 2;
+
+	info->buf_size = s3c_post_get_buffer_size(info->width, info->height, \
+							info->format);
+
+	switch (info->format) {
+	case FORMAT_RGB565:	/* fall through */
+	case FORMAT_RGB666:	/* fall through */
+	case FORMAT_RGB888:
+		info->addr.phys_rgb = addr;
+		break;
+
+	case FORMAT_YCBCR420:	/* fall through */
+	case FORMAT_YCBCR422:
+		frame = &info->addr;
+		frame->phys_y = addr;
+		frame->phys_cb = frame->phys_y + size;
+		frame->phys_cr = frame->phys_cb + cbcr_size;
+		break;
+	}
+
+	return 0;
+}
+
+int s3c_post_alloc_y_memory(struct s3c_post_in_frame *info, 
+					dma_addr_t addr)
+{
+	info->addr.phys_y = addr;
+	info->buf_size = s3c_post_get_buffer_size(info->width, \
+					info->height, info->format);
+
+	return 0;
+}
+
+int s3c_post_alloc_cb_memory(struct s3c_post_in_frame *info, 
+					dma_addr_t addr)
+{
+	info->addr.phys_cb = addr;
+	info->buf_size = s3c_post_get_buffer_size(info->width, \
+					info->height, info->format);
+
+	return 0;
+}
+
+int s3c_post_alloc_cr_memory(struct s3c_post_in_frame *info, 
+					dma_addr_t addr)
+{
+	info->addr.phys_cr = addr;
+	info->buf_size = s3c_post_get_buffer_size(info->width, \
+					info->height, info->format);
+
+	return 0;
+}
+
+void s3c_post_set_nr_frames(struct s3c_post_control *ctrl, int nr)
+{
+	if (nr == 3)
+		ctrl->out_frame.nr_frames = 2;
+	else
+		ctrl->out_frame.nr_frames = nr;
+}
+
+static void s3c_post_set_input_format(struct s3c_post_control *ctrl,
+					struct v4l2_pix_format *fmt)
+{
+	struct s3c_post_in_frame *frame = &ctrl->in_frame;
+
+	frame->width = fmt->width;
+	frame->height = fmt->height;
+
+	switch (fmt->pixelformat) {
+	case V4L2_PIX_FMT_RGB565:
+		frame->format = FORMAT_RGB565;
+		frame->planes = 1;
+		break;
+
+	case V4L2_PIX_FMT_RGB24:
+		frame->format = FORMAT_RGB888;
+		frame->planes = 1;
+		break;
+
+	case V4L2_PIX_FMT_NV12:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV21:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_NV12X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV21X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_YUV420:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 3;
+		break;
+
+	case V4L2_PIX_FMT_YUYV:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_YCBYCR;
+		break;
+
+	case V4L2_PIX_FMT_YVYU:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_YCRYCB;
+		break;
+
+	case V4L2_PIX_FMT_UYVY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_CBYCRY;
+		break;
+
+	case V4L2_PIX_FMT_VYUY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = IN_ORDER422_CRYCBY;
+		break;
+
+	case V4L2_PIX_FMT_NV16:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV61:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_NV16X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CBCR;
+		break;
+
+	case V4L2_PIX_FMT_NV61X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CRCB;
+		break;
+
+	case V4L2_PIX_FMT_YUV422P:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 3;
+		break;
+	}
+}
+
+int s3c_post_set_input_frame(struct s3c_post_control *ctrl,
+				struct v4l2_pix_format *fmt)
+{
+	s3c_post_set_input_format(ctrl, fmt);
+
+	return 0;
+}
+
+static int s3c_post_set_output_format(struct s3c_post_control *ctrl,
+					struct v4l2_pix_format *fmt)
+{
+	struct s3c_post_out_frame *frame = &ctrl->out_frame;
+	int depth = 0;
+
+	frame->width = fmt->width;
+	frame->height = fmt->height;
+
+	switch (fmt->pixelformat) {
+	case V4L2_PIX_FMT_RGB565:
+		frame->format = FORMAT_RGB565;
+		frame->planes = 1;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_RGB24:
+		frame->format = FORMAT_RGB888;
+		frame->planes = 1;
+		depth = 24;
+		break;
+
+	case V4L2_PIX_FMT_NV12:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CBCR;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_NV21:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = LSB_CRCB;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_NV12X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CBCR;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_NV21X:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 2;
+		frame->order_2p = MSB_CRCB;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_YUV420:
+		frame->format = FORMAT_YCBCR420;
+		frame->planes = 3;
+		depth = 12;
+		break;
+
+	case V4L2_PIX_FMT_YUYV:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_YCBYCR;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_YVYU:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_YCRYCB;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_UYVY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_CBYCRY;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_VYUY:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 1;
+		frame->order_1p = OUT_ORDER422_CRYCBY;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV16:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CBCR;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV61:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = LSB_CRCB;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV16X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CBCR;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_NV61X:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 2;
+		frame->order_1p = MSB_CRCB;
+		depth = 16;
+		break;
+
+	case V4L2_PIX_FMT_YUV422P:
+		frame->format = FORMAT_YCBCR422;
+		frame->planes = 3;
+		depth = 16;
+		break;
+	}
+
+	switch (fmt->field) {
+	case V4L2_FIELD_INTERLACED:
+	case V4L2_FIELD_INTERLACED_TB:
+	case V4L2_FIELD_INTERLACED_BT:
+		frame->scan = SCAN_TYPE_INTERLACE;
+		break;
+
+	default:
+		frame->scan = SCAN_TYPE_PROGRESSIVE;
+		break;
+	}
+
+	return depth;
+}
+
+int s3c_post_set_output_frame(struct s3c_post_control *ctrl,
+				struct v4l2_pix_format *fmt)
+{
+	struct s3c_post_out_frame *frame = &ctrl->out_frame;
+	int depth = 0;
+
+	depth = s3c_post_set_output_format(ctrl, fmt);
+
+	if (ctrl->out_type == PATH_OUT_DMA && frame->addr[0].virt_y == NULL) {
+		if (s3c_post_alloc_output_memory(frame))
+			err("cannot allocate memory\n");
+	}
+
+	return depth;
+}
+
+u8 *s3c_post_get_current_frame(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_out_frame *frame = &ctrl->out_frame;
+
+	return frame->addr[frame->cfn].virt_y;
+}
+
+static int s3c_post_get_scaler_factor(u32 src, u32 tar, u32 *ratio, u32 *shift)
+{
+	if (src >= tar * 64) {
+		err("out of pre-scaler range\n");
+		return -EINVAL;
+	} else if (src >= tar * 32) {
+		*ratio = 32;
+		*shift = 5;
+	} else if (src >= tar * 16) {
+		*ratio = 16;
+		*shift = 4;
+	} else if (src >= tar * 8) {
+		*ratio = 8;
+		*shift = 3;
+	} else if (src >= tar * 4) {
+		*ratio = 4;
+		*shift = 2;
+	} else if (src >= tar * 2) {
+		*ratio = 2;
+		*shift = 1;
+	} else {
+		*ratio = 1;
+		*shift = 0;
+	}
+
+	return 0;
+}
+
+int s3c_post_set_scaler_info(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_scaler *sc = &ctrl->scaler;
+	struct s3c_post_dma_offset *d_ofs = &ctrl->in_frame.offset;
+	int ret, tx, ty, sx, sy;
+	int width, height, h_ofs, v_ofs;
+
+	width = ctrl->in_frame.width;
+	height = ctrl->in_frame.height;
+	h_ofs = d_ofs->y_h * 2;
+	v_ofs = d_ofs->y_v * 2;
+	tx = ctrl->out_frame.width;
+	ty = ctrl->out_frame.height;
+
+	if (tx <= 0 || ty <= 0) {
+		err("invalid target size\n");
+		ret = -EINVAL;
+		goto err_size;
+	}
+
+	sx = width - h_ofs;
+	sy = height - v_ofs;
+
+	sc->real_width = sx;
+	sc->real_height = sy;
+
+	if (sx <= 0 || sy <= 0) {
+		err("invalid source size\n");
+		ret = -EINVAL;
+		goto err_size;
+	}
+
+	s3c_post_get_scaler_factor(sx, tx, &sc->pre_hratio, &sc->hfactor);
+	s3c_post_get_scaler_factor(sy, ty, &sc->pre_vratio, &sc->vfactor);
+
+	if (sx / sc->pre_hratio > sc->line_length)
+		info("line buffer size overflow\n");
+
+	sc->pre_dst_width = sx / sc->pre_hratio;
+	sc->pre_dst_height = sy / sc->pre_vratio;
+
+	sc->main_hratio = (sx << 8) / (tx << sc->hfactor);
+	sc->main_vratio = (sy << 8) / (ty << sc->vfactor);
+
+	sc->scaleup_h = (tx >= sx) ? 1 : 0;
+	sc->scaleup_v = (ty >= sy) ? 1 : 0;
+
+	s3c_post_set_prescaler(ctrl);
+	s3c_post_set_scaler(ctrl);
+
+	return 0;
+
+err_size:
+	return ret;
+}
+
+/* CAUTION: many sequence dependencies */
+void s3c_post_start_dma(struct s3c_post_control *ctrl)
+{
+	s3c_post_set_input_address(ctrl);
+	s3c_post_set_input_dma(ctrl);
+	s3c_post_set_scaler_info(ctrl);
+	s3c_post_set_target_format(ctrl);
+	s3c_post_set_output_path(ctrl);
+
+	if (ctrl->out_type == PATH_OUT_DMA) {
+		s3c_post_set_output_address(ctrl);
+		s3c_post_set_output_dma(ctrl);
+	}
+
+	s3c_post_start_scaler(ctrl);
+	s3c_post_enable_capture(ctrl);
+	s3c_post_start_input_dma(ctrl);
+}
+
+void s3c_post_stop_dma(struct s3c_post_control *ctrl)
+{
+	s3c_post_stop_input_dma(ctrl);
+	s3c_post_stop_scaler(ctrl);
+	s3c_post_disable_capture(ctrl);
+	s3c_post_wait_frame_end(ctrl);
+}
+
+void s3c_post_restart_dma(struct s3c_post_control *ctrl)
+{
+	s3c_post_stop_dma(ctrl);
+	s3c_post_start_dma(ctrl);
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/s3c_post_core.c linux-2.6.28.6/drivers/media/video/samsung/post/s3c_post_core.c
--- linux-2.6.28/drivers/media/video/samsung/post/s3c_post_core.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/s3c_post_core.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,369 @@
+/* linux/drivers/media/video/samsung/s3c_post_core.c
+ *
+ * Core file for Samsung Post Processor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/clk.h>
+#include <linux/i2c.h>
+#include <linux/mutex.h>
+#include <linux/poll.h>
+#include <linux/wait.h>
+#include <linux/fs.h>
+#include <linux/irq.h>
+#include <linux/mm.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+
+#include <asm/io.h>
+#include <asm/memory.h>
+#include <plat/clock.h>
+#include <plat/media.h>
+
+#include "s3c_post.h"
+
+struct s3c_post_config s3c_post;
+
+struct s3c_platform_post *to_post_plat(struct device *dev)
+{
+	struct platform_device *pdev = to_platform_device(dev);
+
+	return (struct s3c_platform_post *) pdev->dev.platform_data;
+}
+
+static irqreturn_t s3c_post_irq(int irq, void *dev_id)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) dev_id;
+
+	s3c_post_clear_irq(ctrl);
+
+	return IRQ_HANDLED;
+}
+
+static
+struct s3c_post_control *s3c_post_register_controller(struct platform_device *pdev)
+{
+	struct s3c_platform_post *pdata;
+	struct s3c_post_control *ctrl;
+	struct resource *res;
+	int id = pdev->id;
+
+	pdata = to_post_plat(&pdev->dev);
+
+	ctrl = &s3c_post.ctrl;
+	ctrl->id = id;
+	ctrl->dev = &pdev->dev;
+	ctrl->vd = &s3c_post_video_device;
+	ctrl->vd->minor = S3C_POST_MINOR;
+	ctrl->out_frame.nr_frames = pdata->nr_frames;
+	ctrl->scaler.line_length = pdata->line_length;
+
+	sprintf(ctrl->name, "%s", S3C_POST_NAME);
+	strcpy(ctrl->vd->name, ctrl->name);
+
+	ctrl->open_lcdfifo = s3cfb_enable_local;
+	ctrl->close_lcdfifo = s3cfb_enable_dma;
+
+	atomic_set(&ctrl->in_use, 0);
+	mutex_init(&ctrl->lock);
+	init_waitqueue_head(&ctrl->waitq);
+
+	/* get resource for io memory */
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (!res) {
+		err("failed to get io memory region\n");
+		return NULL;
+	}
+
+	/* request mem region */
+	res = request_mem_region(res->start, res->end - res->start + 1, pdev->name);
+	if (!res) {
+		err("failed to request io memory region\n");
+		return NULL;
+	}
+
+	/* ioremap for register block */
+	ctrl->regs = ioremap(res->start, res->end - res->start + 1);
+	if (!ctrl->regs) {
+		err("failed to remap io region\n");
+		return NULL;
+	}
+
+	/* irq */
+	ctrl->irq = platform_get_irq(pdev, 0);
+	if (request_irq(ctrl->irq, s3c_post_irq, IRQF_DISABLED, ctrl->name, ctrl))
+		err("request_irq failed\n");
+
+	s3c_post_reset(ctrl);
+
+	return ctrl;
+}
+
+static int s3c_post_unregister_controller(struct platform_device *pdev)
+{
+	struct s3c_post_control *ctrl;
+	struct s3c_platform_post *pdata;
+
+	ctrl = &s3c_post.ctrl;
+
+	s3c_post_free_output_memory(&ctrl->out_frame);
+
+	pdata = to_post_plat(ctrl->dev);
+
+	iounmap(ctrl->regs);
+	memset(ctrl, 0, sizeof(*ctrl));
+	
+	return 0;
+}
+
+static int s3c_post_mmap(struct file* filp, struct vm_area_struct *vma)
+{
+	struct s3c_post_control *ctrl = filp->private_data;
+	struct s3c_post_out_frame *frame = &ctrl->out_frame;
+
+	u32 size = vma->vm_end - vma->vm_start;
+	u32 pfn, total_size = frame->buf_size;
+
+	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+	vma->vm_flags |= VM_RESERVED;
+
+	/* page frame number of the address for a source frame to be stored at. */
+	pfn = __phys_to_pfn(frame->addr[vma->vm_pgoff].phys_y);
+
+	if (size > total_size) {
+		err("the size of mapping is too big\n");
+		return -EINVAL;
+	}
+
+	if ((vma->vm_flags & VM_WRITE) && !(vma->vm_flags & VM_SHARED)) {
+		err("writable mapping must be shared\n");
+		return -EINVAL;
+	}
+
+	if (remap_pfn_range(vma, vma->vm_start, pfn, size, vma->vm_page_prot)) {
+		err("mmap fail\n");
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+static u32 s3c_post_poll(struct file *filp, poll_table *wait)
+{
+	struct s3c_post_control *ctrl = filp->private_data;
+	u32 mask = 0;
+
+	poll_wait(filp, &ctrl->waitq, wait);
+
+	/* fixme */
+	mask = POLLIN | POLLRDNORM;
+
+	return mask;
+}
+
+static
+ssize_t s3c_post_read(struct file *filp, char *buf, size_t count, loff_t *pos)
+{
+	struct s3c_post_control *ctrl = filp->private_data;
+	size_t end;
+
+	end = min_t(size_t, ctrl->out_frame.buf_size, count);
+
+	if (copy_to_user(buf, s3c_post_get_current_frame(ctrl), end))
+		return -EFAULT;
+
+	return end;
+}
+
+static
+ssize_t s3c_post_write(struct file *filp, const char *b, size_t c, loff_t *offset)
+{
+	return 0;
+}
+
+static int s3c_post_open(struct inode *inode, struct file *filp)
+{
+	struct s3c_post_control *ctrl;
+	int ret;
+
+	ctrl = &s3c_post.ctrl;
+
+	mutex_lock(&ctrl->lock);
+
+	if (atomic_read(&ctrl->in_use)) {
+		ret = -EBUSY;
+		goto resource_busy;
+	} else {
+		atomic_inc(&ctrl->in_use);
+		s3c_post_reset(ctrl);
+		filp->private_data = ctrl;
+	}
+
+	mutex_unlock(&ctrl->lock);
+
+	return 0;
+
+resource_busy:
+	mutex_unlock(&ctrl->lock);
+	return ret;
+}
+
+static int s3c_post_release(struct inode *inode, struct file *filp)
+{
+	struct s3c_post_control *ctrl;
+
+	ctrl = &s3c_post.ctrl;
+
+	mutex_lock(&ctrl->lock);
+
+	atomic_dec(&ctrl->in_use);
+	filp->private_data = NULL;
+
+	mutex_unlock(&ctrl->lock);
+
+	return 0;
+}
+
+static const struct file_operations s3c_post_fops = {
+	.owner = THIS_MODULE,
+	.open = s3c_post_open,
+	.release = s3c_post_release,
+	.ioctl = video_ioctl2,
+	.read = s3c_post_read,
+	.write = s3c_post_write,
+	.mmap = s3c_post_mmap,
+	.poll = s3c_post_poll,
+};
+
+static void s3c_post_vdev_release(struct video_device *vdev)
+{
+	kfree(vdev);
+}
+
+struct video_device s3c_post_video_device = {
+	.vfl_type = VID_TYPE_CAPTURE | VID_TYPE_CLIPPING | VID_TYPE_SCALES,
+	.fops = &s3c_post_fops,
+	.ioctl_ops = &s3c_post_v4l2_ops,
+	.release  = s3c_post_vdev_release,
+};
+
+static int s3c_post_init_global(struct platform_device *pdev)
+{
+	s3c_post.dma_start = s3c_get_media_memory(S3C_MDEV_POST);
+	s3c_post.dma_total = s3c_get_media_memsize(S3C_MDEV_POST);
+	s3c_post.dma_current = s3c_post.dma_start;
+
+	return 0;
+}
+
+static int s3c_post_probe(struct platform_device *pdev)
+{
+	struct s3c_platform_post *pdata;
+	struct s3c_post_control *ctrl;
+	int ret;
+
+	ctrl = s3c_post_register_controller(pdev);
+	if (!ctrl) {
+		err("cannot register post controller\n");
+		goto err_post;
+	}
+
+	pdata = to_post_plat(&pdev->dev);
+	if (pdata->cfg_gpio)
+		pdata->cfg_gpio(pdev);
+
+	/* post clock */
+	ctrl->clock = clk_get(&pdev->dev, pdata->clk_name);
+	if (IS_ERR(ctrl->clock)) {
+		err("failed to get post clock source\n");
+		goto err_clk_io;
+	}
+	/* set clockrate for POST interface block */
+	if (ctrl->clock->set_rate)
+		ctrl->clock->set_rate(ctrl->clock, pdata->clockrate);
+
+	clk_enable(ctrl->clock);
+
+	/* things to initialize once */
+	ret = s3c_post_init_global(pdev);
+	if (ret)
+		goto err_global;
+
+	ret = video_register_device(ctrl->vd, VFL_TYPE_GRABBER, pdev->id);
+	if (ret) {
+		err("cannot register video driver\n");
+		goto err_video;
+	}
+
+	info("registered successfully\n");
+
+	return 0;
+
+err_video:
+err_global:
+	clk_disable(ctrl->clock);
+	clk_put(ctrl->clock);
+
+err_clk_io:
+	s3c_post_unregister_controller(pdev);
+
+err_post:
+	return -EINVAL;
+	
+}
+
+static int s3c_post_remove(struct platform_device *pdev)
+{
+	s3c_post_unregister_controller(pdev);
+
+	return 0;
+}
+
+int s3c_post_suspend(struct platform_device *dev, pm_message_t state)
+{
+	return 0;
+}
+
+int s3c_post_resume(struct platform_device *dev)
+{
+	return 0;
+}
+
+static struct platform_driver s3c_post_driver = {
+	.probe		= s3c_post_probe,
+	.remove		= s3c_post_remove,
+	.suspend	= s3c_post_suspend,
+	.resume		= s3c_post_resume,
+	.driver		= {
+		.name	= "s3c-post",
+		.owner	= THIS_MODULE,
+	},
+};
+
+static int s3c_post_register(void)
+{
+	platform_driver_register(&s3c_post_driver);
+
+	return 0;
+}
+
+static void s3c_post_unregister(void)
+{
+	platform_driver_unregister(&s3c_post_driver);
+}
+
+module_init(s3c_post_register);
+module_exit(s3c_post_unregister);
+	
+MODULE_AUTHOR("Jinsung, Yang <jsgood.yang@samsung.com>");
+MODULE_DESCRIPTION("Samsung Post Processor driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/s3c_post_regs.c linux-2.6.28.6/drivers/media/video/samsung/post/s3c_post_regs.c
--- linux-2.6.28/drivers/media/video/samsung/post/s3c_post_regs.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/s3c_post_regs.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,434 @@
+/* linux/drivers/media/video/samsung/s3c_post_regs.c
+ *
+ * Register interface file for Samsung Post Processor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/delay.h>
+#include <linux/gpio.h>
+#include <asm/io.h>
+#include <mach/map.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-post.h>
+#include <plat/post.h>
+
+#include "s3c_post.h"
+
+void s3c_post_clear_irq(struct s3c_post_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIGCTRL);
+
+	cfg |= S3C_CIGCTRL_IRQ_CLR;
+
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+}
+
+static void s3c_post_reset_cfg(struct s3c_post_control *ctrl)
+{
+	int i;
+	u32 cfg[][2] = {
+		{ 0x018, 0x00000000 }, { 0x01c, 0x00000000 },
+		{ 0x020, 0x00000000 }, { 0x024, 0x00000000 },
+		{ 0x028, 0x00000000 }, { 0x02c, 0x00000000 },
+		{ 0x030, 0x00000000 }, { 0x034, 0x00000000 },
+		{ 0x038, 0x00000000 }, { 0x03c, 0x00000000 },
+		{ 0x040, 0x00000000 }, { 0x044, 0x00000000 },
+		{ 0x048, 0x00000000 }, { 0x04c, 0x00000000 },
+		{ 0x050, 0x00000000 }, { 0x054, 0x00000000 },
+		{ 0x058, 0x18000000 }, { 0x05c, 0x00000000 },
+		{ 0x0c0, 0x00000000 }, { 0x0c4, 0xffffffff },
+		{ 0x0d0, 0x00100080 }, { 0x0d4, 0x00000000 },
+		{ 0x0d8, 0x00000000 }, { 0x0dc, 0x00000000 },
+		{ 0x0f8, 0x00000000 }, { 0x0fc, 0x04000000 },
+		{ 0x144, 0x00000000 }, { 0x148, 0x00000000 },
+		{ 0x14c, 0x00000000 }, { 0x168, 0x00000000 },
+		{ 0x16c, 0x00000000 }, { 0x170, 0x00000000 },
+		{ 0x174, 0x00000000 }, { 0x178, 0x00000000 },
+		{ 0x17c, 0x00000000 }, { 0x180, 0x00000000 },
+		{ 0x184, 0x00000000 }, { 0x188, 0x00000000 },
+		{ 0x18c, 0x00000000 },
+	};
+
+	for (i = 0; i < sizeof(cfg) / 8; i++)
+		writel(cfg[i][1], ctrl->regs + cfg[i][0]);
+}
+
+void s3c_post_reset(struct s3c_post_control *ctrl)
+{
+	u32 cfg;
+
+	/* s/w reset */
+	cfg = readl(ctrl->regs + S3C_CIGCTRL);
+	cfg |= (S3C_CIGCTRL_SWRST | S3C_CIGCTRL_IRQ_LEVEL);
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+	mdelay(1);
+
+	cfg = readl(ctrl->regs + S3C_CIGCTRL);
+	cfg &= ~S3C_CIGCTRL_SWRST;
+	writel(cfg, ctrl->regs + S3C_CIGCTRL);
+
+	s3c_post_reset_cfg(ctrl);
+}
+
+void s3c_post_set_target_format(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_out_frame *frame = &ctrl->out_frame;
+	u32 cfg = 0;
+
+	switch (frame->format) {
+	case FORMAT_RGB565: /* fall through */
+	case FORMAT_RGB666: /* fall through */
+	case FORMAT_RGB888:
+		cfg |= S3C_CITRGFMT_OUTFORMAT_RGB;
+		break;
+
+	case FORMAT_YCBCR420:
+		cfg |= S3C_CITRGFMT_OUTFORMAT_YCBCR420;
+		break;
+
+	case FORMAT_YCBCR422:
+		if (frame->planes == 1)
+			cfg |= S3C_CITRGFMT_OUTFORMAT_YCBCR422_1PLANE;
+		else
+			cfg |= S3C_CITRGFMT_OUTFORMAT_YCBCR422;
+
+		break;
+	}
+
+	cfg |= S3C_CITRGFMT_TARGETHSIZE(frame->width);
+	cfg |= S3C_CITRGFMT_TARGETVSIZE(frame->height);
+
+	writel(cfg, ctrl->regs + S3C_CITRGFMT);
+
+	cfg = S3C_CITAREA_TARGET_AREA(frame->width * frame->height);
+	writel(cfg, ctrl->regs + S3C_CITAREA);
+}
+
+static void s3c_post_set_output_dma_size(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_out_frame *frame = &ctrl->out_frame;
+	int ofs_h = frame->offset.y_h * 2;
+	int ofs_v = frame->offset.y_v * 2;
+	u32 cfg = 0;
+
+	cfg |= S3C_ORGOSIZE_HORIZONTAL(frame->width - ofs_h);
+	cfg |= S3C_ORGOSIZE_VERTICAL(frame->height - ofs_v);
+
+	writel(cfg, ctrl->regs + S3C_ORGOSIZE);
+}
+
+void s3c_post_set_output_dma(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_out_frame *frame = &ctrl->out_frame;
+	u32 cfg;
+
+	/* for offsets */
+	cfg = 0;
+	cfg |= S3C_CIOYOFF_HORIZONTAL(frame->offset.y_h);
+	cfg |= S3C_CIOYOFF_VERTICAL(frame->offset.y_v);
+	writel(cfg, ctrl->regs + S3C_CIOYOFF);
+
+	cfg = 0;
+	cfg |= S3C_CIOCBOFF_HORIZONTAL(frame->offset.cb_h);
+	cfg |= S3C_CIOCBOFF_VERTICAL(frame->offset.cb_v);
+	writel(cfg, ctrl->regs + S3C_CIOCBOFF);
+
+	cfg = 0;
+	cfg |= S3C_CIOCROFF_HORIZONTAL(frame->offset.cr_h);
+	cfg |= S3C_CIOCROFF_VERTICAL(frame->offset.cr_v);
+	writel(cfg, ctrl->regs + S3C_CIOCROFF);
+
+	/* for original size */
+	s3c_post_set_output_dma_size(ctrl);
+	
+	/* for output dma control */
+	cfg = readl(ctrl->regs + S3C_CIOCTRL);
+
+	cfg &= ~(S3C_CIOCTRL_ORDER2P_MASK | S3C_CIOCTRL_ORDER422_MASK | \
+		 S3C_CIOCTRL_YCBCR_PLANE_MASK);
+
+	if (frame->planes == 1)
+		cfg |= frame->order_1p;
+	else if (frame->planes == 2)
+		cfg |= (S3C_CIOCTRL_YCBCR_2PLANE | \
+			(frame->order_2p << S3C_CIOCTRL_ORDER2P_SHIFT));
+	else if (frame->planes == 3)
+		cfg |= S3C_CIOCTRL_YCBCR_3PLANE;
+
+	writel(cfg, ctrl->regs + S3C_CIOCTRL);
+}
+
+void s3c_post_set_prescaler(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_scaler *sc = &ctrl->scaler;
+	u32 cfg = 0, shfactor;
+
+	shfactor = 10 - (sc->hfactor + sc->vfactor);
+
+	cfg |= S3C_CISCPRERATIO_SHFACTOR(shfactor);
+	cfg |= S3C_CISCPRERATIO_PREHORRATIO(sc->pre_hratio);
+	cfg |= S3C_CISCPRERATIO_PREVERRATIO(sc->pre_vratio);
+
+	writel(cfg, ctrl->regs + S3C_CISCPRERATIO);
+
+	cfg = 0;
+	cfg |= S3C_CISCPREDST_PREDSTWIDTH(sc->pre_dst_width);
+	cfg |= S3C_CISCPREDST_PREDSTHEIGHT(sc->pre_dst_height);
+
+	writel(cfg, ctrl->regs + S3C_CISCPREDST);
+}
+
+void s3c_post_set_scaler(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_scaler *sc = &ctrl->scaler;
+	u32 cfg = (S3C_CISCCTRL_CSCR2Y_WIDE | S3C_CISCCTRL_CSCY2R_WIDE);
+
+	if (sc->scaleup_h)
+		cfg |= S3C_CISCCTRL_SCALEUP_H;
+
+	if (sc->scaleup_v)
+		cfg |= S3C_CISCCTRL_SCALEUP_V;
+
+	if (ctrl->in_frame.format == FORMAT_RGB565)
+		cfg |= S3C_CISCCTRL_INRGB_FMT_RGB565;
+	else if (ctrl->in_frame.format == FORMAT_RGB666)
+		cfg |= S3C_CISCCTRL_INRGB_FMT_RGB666;
+	else if (ctrl->in_frame.format == FORMAT_RGB888)
+		cfg |= S3C_CISCCTRL_INRGB_FMT_RGB888;
+
+	if (ctrl->out_type == PATH_OUT_DMA) {
+		if (ctrl->out_frame.format == FORMAT_RGB565)
+			cfg |= S3C_CISCCTRL_OUTRGB_FMT_RGB565;
+		else if (ctrl->out_frame.format == FORMAT_RGB666)
+			cfg |= S3C_CISCCTRL_OUTRGB_FMT_RGB666;
+		else if (ctrl->out_frame.format == FORMAT_RGB888)
+			cfg |= S3C_CISCCTRL_OUTRGB_FMT_RGB888;
+	} else {
+		cfg |= S3C_CISCCTRL_OUTRGB_FMT_RGB888;
+
+		if (ctrl->out_frame.scan == SCAN_TYPE_INTERLACE)
+			cfg |= S3C_CISCCTRL_INTERLACE;
+		else
+			cfg |= S3C_CISCCTRL_PROGRESSIVE;
+	}
+
+	cfg |= S3C_CISCCTRL_MAINHORRATIO(sc->main_hratio);
+	cfg |= S3C_CISCCTRL_MAINVERRATIO(sc->main_vratio);
+
+	writel(cfg, ctrl->regs + S3C_CISCCTRL);
+}
+
+void s3c_post_start_scaler(struct s3c_post_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CISCCTRL);
+
+	cfg |= S3C_CISCCTRL_SCALERSTART;
+	writel(cfg, ctrl->regs + S3C_CISCCTRL);
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		ctrl->open_lcdfifo(ctrl->id, 0, 0);
+}
+
+void s3c_post_stop_scaler(struct s3c_post_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CISCCTRL);
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		ctrl->close_lcdfifo(ctrl->id);
+
+	cfg &= ~S3C_CISCCTRL_SCALERSTART;
+	writel(cfg, ctrl->regs + S3C_CISCCTRL);
+}
+
+void s3c_post_enable_capture(struct s3c_post_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIIMGCPT);
+
+	cfg &= ~S3C_CIIMGCPT_CPT_FREN_ENABLE;
+	cfg |= (S3C_CIIMGCPT_IMGCPTEN | S3C_CIIMGCPT_IMGCPTEN_SC);
+
+	writel(cfg, ctrl->regs + S3C_CIIMGCPT);
+}
+
+void s3c_post_disable_capture(struct s3c_post_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CIIMGCPT);
+
+	cfg &= ~(S3C_CIIMGCPT_IMGCPTEN | S3C_CIIMGCPT_IMGCPTEN_SC);
+	writel(cfg, ctrl->regs + S3C_CIIMGCPT);
+}
+
+static void s3c_post_set_input_dma_size(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_in_frame *frame = &ctrl->in_frame;
+	int ofs_h = frame->offset.y_h * 2;
+	int ofs_v = frame->offset.y_v * 2;
+	u32 cfg_o = 0, cfg_r = S3C_CIREAL_ISIZE_AUTOLOAD_ENABLE;
+
+	cfg_o |= S3C_ORGISIZE_HORIZONTAL(frame->width - ofs_h);
+	cfg_o |= S3C_ORGISIZE_VERTICAL(frame->height - ofs_v);
+	cfg_r |= S3C_CIREAL_ISIZE_WIDTH(frame->width - ofs_h);
+	cfg_r |= S3C_CIREAL_ISIZE_HEIGHT(frame->height - ofs_v);
+
+	writel(cfg_o, ctrl->regs + S3C_ORGISIZE);
+	writel(cfg_r, ctrl->regs + S3C_CIREAL_ISIZE);
+}
+
+void s3c_post_set_input_dma(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_in_frame *frame = &ctrl->in_frame;
+	u32 cfg;
+
+	/* for offsets */
+	cfg = 0;
+	cfg |= S3C_CIIYOFF_HORIZONTAL(frame->offset.y_h);
+	cfg |= S3C_CIIYOFF_VERTICAL(frame->offset.y_v);
+	writel(cfg, ctrl->regs + S3C_CIIYOFF);
+
+	cfg = 0;
+	cfg |= S3C_CIICBOFF_HORIZONTAL(frame->offset.cb_h);
+	cfg |= S3C_CIICBOFF_VERTICAL(frame->offset.cb_v);
+	writel(cfg, ctrl->regs + S3C_CIICBOFF);
+
+	cfg = 0;
+	cfg |= S3C_CIICROFF_HORIZONTAL(frame->offset.cr_h);
+	cfg |= S3C_CIICROFF_VERTICAL(frame->offset.cr_v);
+	writel(cfg, ctrl->regs + S3C_CIICROFF);
+
+	/* for original & real size */
+	s3c_post_set_input_dma_size(ctrl);
+
+	/* for input dma control */
+	cfg = S3C_MSCTRL_SUCCESSIVE_COUNT(4);
+
+	switch (frame->format) {
+	case FORMAT_RGB565: /* fall through */
+	case FORMAT_RGB666: /* fall through */
+	case FORMAT_RGB888:
+		cfg |= S3C_MSCTRL_INFORMAT_RGB;
+		break;
+
+	case FORMAT_YCBCR420:
+		cfg |= S3C_MSCTRL_INFORMAT_YCBCR420;
+
+		if (frame->planes == 2)
+			cfg |= (S3C_MSCTRL_C_INT_IN_2PLANE | \
+				(frame->order_2p << S3C_MSCTRL_2PLANE_SHIFT));
+		else
+			cfg |= S3C_MSCTRL_C_INT_IN_3PLANE;
+
+		break;
+
+	case FORMAT_YCBCR422:
+		if (frame->planes == 1)
+			cfg |= (frame->order_1p | \
+				S3C_MSCTRL_INFORMAT_YCBCR422_1PLANE);
+		else {
+			cfg |= S3C_MSCTRL_INFORMAT_YCBCR422;
+
+			if (frame->planes == 2)
+				cfg |= (S3C_MSCTRL_C_INT_IN_2PLANE | \
+					(frame->order_2p << S3C_MSCTRL_2PLANE_SHIFT));
+			else
+				cfg |= S3C_MSCTRL_C_INT_IN_3PLANE;
+		}
+
+		break;
+	}
+
+	writel(cfg, ctrl->regs + S3C_MSCTRL);
+}
+
+void s3c_post_start_input_dma(struct s3c_post_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSCTRL);
+
+	cfg |= S3C_MSCTRL_ENVID;
+	writel(cfg, ctrl->regs + S3C_MSCTRL);
+}
+
+void s3c_post_stop_input_dma(struct s3c_post_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_MSCTRL);
+
+	cfg &= ~S3C_MSCTRL_ENVID;
+	writel(cfg, ctrl->regs + S3C_MSCTRL);
+}
+
+void s3c_post_set_output_path(struct s3c_post_control *ctrl)
+{
+	u32 cfg = readl(ctrl->regs + S3C_CISCCTRL);
+
+	cfg &= ~S3C_CISCCTRL_LCDPATHEN_FIFO;
+
+	if (ctrl->out_type == PATH_OUT_LCDFIFO)
+		cfg |= S3C_CISCCTRL_LCDPATHEN_FIFO;
+
+	writel(cfg, ctrl->regs + S3C_CISCCTRL);
+}
+
+void s3c_post_set_input_address(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_frame_addr *addr = &ctrl->in_frame.addr;
+	u32 cfg = 0;
+
+	cfg = readl(ctrl->regs + S3C_CIREAL_ISIZE);
+	cfg |= S3C_CIREAL_ISIZE_ADDR_CH_DISABLE;
+	writel(cfg, ctrl->regs + S3C_CIREAL_ISIZE);
+
+	writel(addr->phys_y, ctrl->regs + S3C_CIIYSA0);
+	writel(addr->phys_cb, ctrl->regs + S3C_CIICBSA0);
+	writel(addr->phys_cr, ctrl->regs + S3C_CIICRSA0);
+
+	cfg &= ~S3C_CIREAL_ISIZE_ADDR_CH_DISABLE;
+	writel(cfg, ctrl->regs + S3C_CIREAL_ISIZE);
+}
+
+void s3c_post_set_output_address(struct s3c_post_control *ctrl)
+{
+	struct s3c_post_out_frame *frame = &ctrl->out_frame;
+	struct s3c_post_frame_addr *addr;
+	int i;
+
+	for (i = 0; i < S3C_POST_MAX_FRAMES; i++) {
+		addr = &frame->addr[i];
+		writel(addr->phys_y, ctrl->regs + S3C_CIOYSA(i));
+		writel(addr->phys_cb, ctrl->regs + S3C_CIOCBSA(i));
+		writel(addr->phys_cr, ctrl->regs + S3C_CIOCRSA(i));
+	}
+}
+
+int s3c_post_get_frame_count(struct s3c_post_control *ctrl)
+{
+	return S3C_CISTATUS_GET_FRAME_COUNT(readl(ctrl->regs + S3C_CISTATUS));
+}
+
+void s3c_post_wait_frame_end(struct s3c_post_control *ctrl)
+{
+        unsigned long timeo = jiffies;
+	unsigned int frame_cnt = 0;
+	u32 cfg;
+
+        timeo += 20;    /* waiting for 100mS */
+
+	while (time_before(jiffies, timeo)) {
+		cfg = readl(ctrl->regs + S3C_CISTATUS);
+		
+		if (S3C_CISTATUS_GET_FRAME_END(cfg)) {
+			cfg &= ~S3C_CISTATUS_FRAMEEND;
+			writel(cfg, ctrl->regs + S3C_CISTATUS);
+
+			if (frame_cnt == 2)
+				break;
+			else
+				frame_cnt++;
+		}
+		cond_resched();
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/s3c_post_v4l2.c linux-2.6.28.6/drivers/media/video/samsung/post/s3c_post_v4l2.c
--- linux-2.6.28/drivers/media/video/samsung/post/s3c_post_v4l2.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/s3c_post_v4l2.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,400 @@
+/* linux/drivers/media/video/samsung/s3c_post_v4l2.c
+ *
+ * V4L2 interface support file for Samsung Post Processor driver
+ *
+ * Jinsung Yang, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/fs.h>
+#include <linux/errno.h>
+#include <linux/string.h>
+#include <linux/platform_device.h>
+#include <linux/dma-mapping.h>
+#include <linux/videodev2.h>
+#include <media/v4l2-ioctl.h>
+
+#include "s3c_post.h"
+
+static struct v4l2_input s3c_post_input_types[] = {
+	{
+		.index		= 0,
+		.name		= "Memory Input",
+		.type		= V4L2_INPUT_TYPE_MEMORY,
+		.audioset	= 2,
+		.tuner		= 0,
+		.std		= V4L2_STD_PAL_BG | V4L2_STD_NTSC_M,
+		.status		= 0,
+	}
+};
+
+static struct v4l2_output s3c_post_output_types[] = {
+	{
+		.index		= 0,
+		.name		= "Memory Output",
+		.type		= V4L2_OUTPUT_TYPE_MEMORY,
+		.audioset	= 0,
+		.modulator	= 0, 
+		.std		= 0,
+	}, 
+	{
+		.index		= 1,
+		.name		= "LCD FIFO Output",
+		.type		= V4L2_OUTPUT_TYPE_LCDFIFO,
+		.audioset	= 0,
+		.modulator	= 0,
+		.std		= 0,
+	} 
+};
+
+const static struct v4l2_fmtdesc s3c_post_capture_formats[] = {
+	{
+		.index		= 0,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PLANAR,
+		.description	= "4:2:0, planar, Y-Cb-Cr",
+		.pixelformat	= V4L2_PIX_FMT_YUV420,
+	},
+	{
+		.index		= 1,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PLANAR,
+		.description	= "4:2:2, planar, Y-Cb-Cr",
+		.pixelformat	= V4L2_PIX_FMT_YUV422P,
+
+	},	
+	{
+		.index		= 2,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PACKED,
+		.description	= "4:2:2, packed, YCBYCR",
+		.pixelformat	= V4L2_PIX_FMT_YUYV,
+	},
+	{
+		.index		= 3,
+		.type		= V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags		= FORMAT_FLAGS_PACKED,
+		.description	= "4:2:2, packed, CBYCRY",
+		.pixelformat	= V4L2_PIX_FMT_UYVY,
+	}
+};
+
+#define S3C_POST_MAX_INPUT_TYPES	ARRAY_SIZE(s3c_post_input_types)
+#define S3C_POST_MAX_OUTPUT_TYPES	ARRAY_SIZE(s3c_post_output_types)
+#define S3C_POST_MAX_CAPTURE_FORMATS	ARRAY_SIZE(s3c_post_capture_formats)
+
+static int s3c_post_v4l2_querycap(struct file *filp, void *fh,
+					struct v4l2_capability *cap)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+
+	strcpy(cap->driver, "Samsung Post Processor Driver");
+	strlcpy(cap->card, ctrl->vd->name, sizeof(cap->card));
+	sprintf(cap->bus_info, "AHB-bus");
+
+	cap->version = 0;
+	cap->capabilities = (V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING);
+
+	return 0;
+}
+
+static int s3c_post_v4l2_enum_fmt_vid_cap(struct file *filp, void *fh,
+					struct v4l2_fmtdesc *f)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+	int index = f->index;
+
+	if (index >= S3C_POST_MAX_CAPTURE_FORMATS)
+		return -EINVAL;
+
+	memset(f, 0, sizeof(*f));
+	memcpy(f, ctrl->v4l2.fmtdesc + index, sizeof(*f));
+
+	return 0;
+}
+
+static int s3c_post_v4l2_g_fmt_vid_cap(struct file *filp, void *fh,
+					struct v4l2_format *f)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+	int size = sizeof(struct v4l2_pix_format);
+
+	memset(&f->fmt.pix, 0, size);
+	memcpy(&f->fmt.pix, &(ctrl->v4l2.frmbuf.fmt), size);
+
+	return 0;
+}
+
+static int s3c_post_v4l2_s_fmt_vid_cap(struct file *filp, void *fh,
+					struct v4l2_format *f)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+
+	ctrl->v4l2.frmbuf.fmt = f->fmt.pix;
+
+	if (f->fmt.pix.priv == V4L2_FMT_IN)
+		s3c_post_set_input_frame(ctrl, &f->fmt.pix);
+	else
+		s3c_post_set_output_frame(ctrl, &f->fmt.pix);
+
+	return 0;
+}
+
+static int s3c_post_v4l2_try_fmt_vid_cap(struct file *filp, void *fh,
+					  struct v4l2_format *f)
+{
+	return 0;
+}
+
+static int s3c_post_v4l2_g_ctrl(struct file *filp, void *fh,
+					struct v4l2_control *c)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+	struct s3c_post_out_frame *frame = &ctrl->out_frame;
+
+	switch (c->id) {
+	case V4L2_CID_OUTPUT_ADDR:
+		c->value = frame->addr[c->value].phys_y;
+		break;
+
+	default:
+		err("invalid control id: %d\n", c->id);
+		return -EINVAL;
+	}
+	
+	return 0;
+}
+
+static int s3c_post_v4l2_s_ctrl(struct file *filp, void *fh,
+					struct v4l2_control *c)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+
+	switch (c->id) {
+	case V4L2_CID_NR_FRAMES:
+		s3c_post_set_nr_frames(ctrl, c->value);
+		break;
+
+	case V4L2_CID_INPUT_ADDR:
+		s3c_post_alloc_input_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_post_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_INPUT_ADDR_Y:
+	case V4L2_CID_INPUT_ADDR_RGB:
+		s3c_post_alloc_y_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_post_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_INPUT_ADDR_CB:	/* fall through */
+	case V4L2_CID_INPUT_ADDR_CBCR:
+		s3c_post_alloc_cb_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_post_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_INPUT_ADDR_CR:
+		s3c_post_alloc_cr_memory(&ctrl->in_frame, \
+						(dma_addr_t) c->value);
+		s3c_post_set_input_address(ctrl);
+		break;
+
+	case V4L2_CID_RESET:
+		s3c_post_reset(ctrl);
+		break;
+
+	default:
+		err("invalid control id: %d\n", c->id);
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+static int s3c_post_v4l2_streamon(struct file *filp, void *fh,
+					enum v4l2_buf_type i)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+	
+	if (i != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+		return -EINVAL;
+
+	s3c_post_start_dma(ctrl);
+
+	return 0;
+}
+
+static int s3c_post_v4l2_streamoff(struct file *filp, void *fh,
+					enum v4l2_buf_type i)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+	
+	if (i != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+		return -EINVAL;
+
+	s3c_post_stop_dma(ctrl);
+	s3c_post_free_output_memory(&ctrl->out_frame);
+	s3c_post_set_output_address(ctrl);
+
+	return 0;
+}
+
+static int s3c_post_v4l2_g_input(struct file *filp, void *fh,
+					unsigned int *i)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+
+	*i = ctrl->v4l2.input->index;
+
+	return 0;
+}
+
+static int s3c_post_v4l2_s_input(struct file *filp, void *fh,
+					unsigned int i)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+
+	if (i >= S3C_POST_MAX_INPUT_TYPES)
+		return -EINVAL;
+
+	ctrl->v4l2.input = &s3c_post_input_types[i];
+
+	return 0;
+}
+
+static int s3c_post_v4l2_g_output(struct file *filp, void *fh,
+					unsigned int *i)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+
+	*i = ctrl->v4l2.output->index;
+
+	return 0;
+}
+
+static int s3c_post_v4l2_s_output(struct file *filp, void *fh,
+					unsigned int i)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+
+	if (i >= S3C_POST_MAX_OUTPUT_TYPES)
+		return -EINVAL;
+
+	ctrl->v4l2.output = &s3c_post_output_types[i];
+
+	if (s3c_post_output_types[i].type == V4L2_OUTPUT_TYPE_MEMORY)
+		ctrl->out_type = PATH_OUT_DMA;
+	else
+		ctrl->out_type = PATH_OUT_LCDFIFO;
+
+	return 0;
+}
+
+static int s3c_post_v4l2_enum_input(struct file *filp, void *fh,
+					struct v4l2_input *i)
+{
+	if (i->index >= S3C_POST_MAX_INPUT_TYPES)
+		return -EINVAL;
+
+	memcpy(i, &s3c_post_input_types[i->index], sizeof(struct v4l2_input));
+
+	return 0;
+}
+
+static int s3c_post_v4l2_enum_output(struct file *filp, void *fh,
+					struct v4l2_output *o)
+{
+	if ((o->index) >= S3C_POST_MAX_OUTPUT_TYPES)
+		return -EINVAL;
+
+	memcpy(o, &s3c_post_output_types[o->index], sizeof(struct v4l2_output));
+
+	return 0;
+}
+
+static int s3c_post_v4l2_reqbufs(struct file *filp, void *fh,
+					struct v4l2_requestbuffers *b)
+{
+	if (b->memory != V4L2_MEMORY_MMAP) {
+		err("V4L2_MEMORY_MMAP is only supported\n");
+		return -EINVAL;
+	}
+
+	if (b->count > 4)
+		b->count = 4;
+	else if (b->count < 1)
+		b->count = 1;
+
+	return 0;
+}
+
+static int s3c_post_v4l2_querybuf(struct file *filp, void *fh,
+					struct v4l2_buffer *b)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+	
+	if (b->type != V4L2_BUF_TYPE_VIDEO_OVERLAY && \
+		b->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
+		return -EINVAL;
+
+	if (b->memory != V4L2_MEMORY_MMAP)
+		return -EINVAL;
+
+	b->length = ctrl->out_frame.buf_size;
+
+	/*
+	 * NOTE: we use the m.offset as an index for multiple frames out.
+	 * Because all frames are not contiguous, we cannot use it as
+	 * original purpose.
+	 * The index value used to find out which frame user wants to mmap.
+	 */
+	b->m.offset = b->index * PAGE_SIZE;
+
+	return 0;
+}
+
+static int s3c_post_v4l2_qbuf(struct file *filp, void *fh,
+				struct v4l2_buffer *b)
+{
+	return 0;
+}
+
+static int s3c_post_v4l2_dqbuf(struct file *filp, void *fh,
+				struct v4l2_buffer *b)
+{
+	struct s3c_post_control *ctrl = (struct s3c_post_control *) fh;
+	struct s3c_post_out_frame *frame = &ctrl->out_frame;
+
+	ctrl->out_frame.cfn = s3c_post_get_frame_count(ctrl);
+	b->index = (frame->cfn + 2) % frame->nr_frames;
+
+	return 0;
+}
+
+const struct v4l2_ioctl_ops s3c_post_v4l2_ops = {
+	.vidioc_querycap		= s3c_post_v4l2_querycap,
+	.vidioc_enum_fmt_vid_cap	= s3c_post_v4l2_enum_fmt_vid_cap,
+	.vidioc_g_fmt_vid_cap		= s3c_post_v4l2_g_fmt_vid_cap,
+	.vidioc_s_fmt_vid_cap		= s3c_post_v4l2_s_fmt_vid_cap,
+	.vidioc_try_fmt_vid_cap		= s3c_post_v4l2_try_fmt_vid_cap,
+	.vidioc_g_ctrl			= s3c_post_v4l2_g_ctrl,
+	.vidioc_s_ctrl			= s3c_post_v4l2_s_ctrl,
+	.vidioc_streamon		= s3c_post_v4l2_streamon,
+	.vidioc_streamoff		= s3c_post_v4l2_streamoff,
+	.vidioc_g_input			= s3c_post_v4l2_g_input,
+	.vidioc_s_input			= s3c_post_v4l2_s_input,
+	.vidioc_g_output		= s3c_post_v4l2_g_output,
+	.vidioc_s_output		= s3c_post_v4l2_s_output,
+	.vidioc_enum_input		= s3c_post_v4l2_enum_input,
+	.vidioc_enum_output		= s3c_post_v4l2_enum_output,
+	.vidioc_reqbufs			= s3c_post_v4l2_reqbufs,
+	.vidioc_querybuf		= s3c_post_v4l2_querybuf,
+	.vidioc_qbuf			= s3c_post_v4l2_qbuf,
+	.vidioc_dqbuf			= s3c_post_v4l2_dqbuf,
+};
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/s3c_pp.h linux-2.6.28.6/drivers/media/video/samsung/post/s3c_pp.h
--- linux-2.6.28/drivers/media/video/samsung/post/s3c_pp.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/s3c_pp.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,70 @@
+#ifndef _S3C_PP_H_
+#define _S3C_PP_H_
+
+typedef enum {
+	DMA_ONESHOT,
+    FIFO_FREERUN
+} s3c_pp_out_path_t;
+
+typedef enum {
+	PAL1, PAL2, PAL4, PAL8,
+	RGB8, ARGB8, RGB16, ARGB16, RGB18, RGB24, RGB30, ARGB24,
+	YC420, YC422, // Non-interleave
+	CRYCBY, CBYCRY, YCRYCB, YCBYCR, YUV444 // Interleave
+} s3c_color_space_t;
+
+typedef enum {
+	INTERLACE_MODE,
+	PROGRESSIVE_MODE
+} s3c_pp_scan_mode_t;
+
+
+// Structure type for IOCTL commands S3C_PP_SET_PARAMS, S3C_PP_SET_INPUT_BUF_START_ADDR_PHY, 
+//      S3C_PP_SET_INPUT_BUF_NEXT_START_ADDR_PHY, S3C_PP_SET_OUTPUT_BUF_START_ADDR_PHY.
+typedef struct {
+	unsigned int src_full_width;		// Source Image Full Width (Virtual screen size)
+	unsigned int src_full_height;		// Source Image Full Height (Virtual screen size)
+	unsigned int src_start_x; 			// Source Image Start width offset
+	unsigned int src_start_y; 			// Source Image Start height offset
+	unsigned int src_width;				// Source Image Width
+	unsigned int src_height; 			// Source Image Height
+	unsigned int src_buf_addr_phy; 		// Base Address of the Source Image : Physical Address
+	unsigned int src_next_buf_addr_phy; // Base Address of Source Image to be displayed next time in FIFO_FREERUN Mode
+	s3c_color_space_t src_color_space; 	// Color Space of the Source Image
+
+	unsigned int dst_full_width; 		// Destination Image Full Width (Virtual screen size)
+	unsigned int dst_full_height; 		// Destination Image Full Height (Virtual screen size)
+	unsigned int dst_start_x; 			// Destination Image Start width offset
+	unsigned int dst_start_y; 			// Destination Image Start height offset
+	unsigned int dst_width; 			// Destination Image Width
+	unsigned int dst_height; 			// Destination Image Height
+	unsigned int dst_buf_addr_phy;		// Base Address of the Destination Image : Physical Address
+	s3c_color_space_t dst_color_space; 	// Color Space of the Destination Image
+
+	s3c_pp_out_path_t out_path; 	    // output and run mode (DMA_ONESHOT or FIFO_FREERUN)
+    s3c_pp_scan_mode_t scan_mode;       // INTERLACE_MODE, PROGRESSIVE_MODE
+} s3c_pp_params_t;
+
+// Structure type for IOCTL commands S3C_PP_ALLOC_KMEM, S3C_PP_FREE_KMEM.
+typedef struct {
+	int		        size;
+	unsigned int 	vir_addr;
+	unsigned int 	phy_addr;
+} s3c_pp_mem_alloc_t;
+
+#define PP_IOCTL_MAGIC 'P'
+
+#define S3C_PP_SET_PARAMS			        _IO(PP_IOCTL_MAGIC, 0)
+#define S3C_PP_START					    _IO(PP_IOCTL_MAGIC, 1)
+#define S3C_PP_GET_SRC_BUF_SIZE  		    _IO(PP_IOCTL_MAGIC, 2)
+#define S3C_PP_SET_SRC_BUF_ADDR_PHY         _IO(PP_IOCTL_MAGIC, 3)
+#define S3C_PP_SET_SRC_BUF_NEXT_ADDR_PHY    _IO(PP_IOCTL_MAGIC, 4)
+#define S3C_PP_GET_DST_BUF_SIZE  		    _IO(PP_IOCTL_MAGIC, 5)
+#define S3C_PP_SET_DST_BUF_ADDR_PHY	        _IO(PP_IOCTL_MAGIC, 6)
+#define S3C_PP_ALLOC_KMEM                   _IO(PP_IOCTL_MAGIC, 7)
+#define S3C_PP_FREE_KMEM                    _IO(PP_IOCTL_MAGIC, 8)
+#define S3C_PP_GET_RESERVED_MEM_SIZE        _IO(PP_IOCTL_MAGIC, 9)
+#define S3C_PP_GET_RESERVED_MEM_ADDR_PHY    _IO(PP_IOCTL_MAGIC, 10)
+
+#endif // _S3C_PP_H_
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/s3c_pp_6400.c linux-2.6.28.6/drivers/media/video/samsung/post/s3c_pp_6400.c
--- linux-2.6.28/drivers/media/video/samsung/post/s3c_pp_6400.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/s3c_pp_6400.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,1455 @@
+/* linux/drivers/media/video/samsung/post/s3c_pp_6400.c
+ *
+ * Driver file for Samsung Post processor
+ *
+ * Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/types.h>
+#include <linux/timer.h>
+#include <linux/kernel.h>
+#include <linux/fs.h>
+#include <linux/platform_device.h>
+#include <linux/interrupt.h>
+#include <linux/clk.h>
+#include <linux/delay.h>
+#include <asm/uaccess.h>
+#include <linux/errno.h> /* error codes */
+#include <asm/div64.h>
+#include <linux/mm.h>
+#include <linux/tty.h>
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <mach/hardware.h>
+#include <asm/uaccess.h>
+#include <mach/map.h>
+#include <linux/miscdevice.h>
+#include <linux/poll.h>
+#include <linux/mutex.h>
+#include <linux/init.h>
+#include <linux/mman.h>
+#include <linux/version.h>
+
+#include <plat/regs-pp.h>
+#include <plat/regs-lcd.h>
+#include <plat/clock.h>
+#include <plat/regs-clock.h>
+#include <plat/pm.h>
+
+#include "s3c_pp.h"   // ioctl
+#include "s3c_pp_common.h" // internal used struct & type
+#include "plat/media.h"
+
+//#define DEBUG
+
+#ifdef DEBUG
+#define dprintk printk
+#else
+#define dprintk(format,args...)
+#endif
+
+#define PFX "s3c_pp"
+
+typedef unsigned int UINT32;
+
+// if you want to modify src/dst buffer size, modify below defined size 
+#define PP_RESERVED_MEM_SIZE 	    8*1024*1024	// 8mb
+#define pp_reserved_mem_addr_phy	0x57800000	
+#define PP_RESERVED_MEM_ADDR_PHY	(UINT32)s3c_get_media_memory(S3C_MDEV_POST)    
+
+#define ALLOC_KMEM		        1
+
+#define PP_MAX_NO_OF_INSTANCES  4
+
+#define PP_VALUE_CHANGED_NONE               0x00
+#define PP_VALUE_CHANGED_PARAMS             0x01
+#define PP_VALUE_CHANGED_SRC_BUF_ADDR_PHY   0x02
+#define PP_VALUE_CHANGED_DST_BUF_ADDR_PHY   0x04
+
+#define PP_INSTANCE_FREE                0
+#define PP_INSTANCE_READY               1
+#define PP_INSTANCE_INUSE_DMA_ONESHOT   2
+#define PP_INSTANCE_INUSE_FIFO_FREERUN  3
+
+#define S3C_PP_SAVE_START_ADDR 0x0
+#define S3C_PP_SAVE_END_ADDR	0xA0
+static unsigned int s3c_pp_save[S3C_PP_SAVE_END_ADDR - S3C_PP_SAVE_START_ADDR];
+
+typedef struct {
+    int             running_instance_no;
+    int             last_running_instance_no;
+    int             fifo_mode_instance_no;
+    unsigned int    wincon0_value_before_fifo_mode;
+    int             dma_mode_instance_count;
+    int             in_use_instance_count;
+    unsigned char   instance_state[PP_MAX_NO_OF_INSTANCES]; 
+} s3c_pp_instance_info_t;
+
+static s3c_pp_instance_info_t s3c_pp_instance_info;
+
+static struct resource *s3c_pp_mem;
+
+static void __iomem *s3c_pp_base;
+static int s3c_pp_irq = NO_IRQ;
+
+static struct clk *pp_clock;
+static struct clk *h_clk;
+
+static struct mutex *h_mutex;
+static struct mutex *mem_alloc_mutex;
+
+static wait_queue_head_t waitq;
+
+static int flag = 0;
+
+static unsigned int physical_address;
+
+// int FIFO_mode_down_sequence = 0;  //. d: sichoi 090112 (FIFO_FREERUN mode relase without using interrupt)
+
+void set_scaler_register(s3c_pp_scaler_info_t * scaler_info, s3c_pp_instance_context_t *pp_instance)
+{
+	__raw_writel((scaler_info->pre_v_ratio<<7)|(scaler_info->pre_h_ratio<<0), s3c_pp_base + S3C_VPP_PRESCALE_RATIO);
+	__raw_writel((scaler_info->pre_dst_height<<12)|(scaler_info->pre_dst_width<<0), s3c_pp_base + S3C_VPP_PRESCALEIMGSIZE);
+	__raw_writel(scaler_info->sh_factor, s3c_pp_base + S3C_VPP_PRESCALE_SHFACTOR);
+	__raw_writel(scaler_info->dx, s3c_pp_base + S3C_VPP_MAINSCALE_H_RATIO);
+	__raw_writel(scaler_info->dy, s3c_pp_base + S3C_VPP_MAINSCALE_V_RATIO);
+	__raw_writel((pp_instance->src_height<<12)|(pp_instance->src_width), s3c_pp_base + S3C_VPP_SRCIMGSIZE);
+	__raw_writel((pp_instance->dst_height<<12)|(pp_instance->dst_width), s3c_pp_base + S3C_VPP_DSTIMGSIZE);
+}
+
+
+void set_src_addr_register ( s3c_pp_buf_addr_t *buf_addr, s3c_pp_instance_context_t *pp_instance )
+{
+    __raw_writel(buf_addr->src_start_y, s3c_pp_base + S3C_VPP_ADDRSTART_Y);
+    __raw_writel(buf_addr->offset_y, s3c_pp_base + S3C_VPP_OFFSET_Y);
+    __raw_writel(buf_addr->src_end_y, s3c_pp_base + S3C_VPP_ADDREND_Y);
+
+	if (pp_instance->src_color_space == YC420) 
+    {
+        __raw_writel(buf_addr->src_start_cb, s3c_pp_base + S3C_VPP_ADDRSTART_CB);
+        __raw_writel(buf_addr->offset_cr, s3c_pp_base + S3C_VPP_OFFSET_CB);
+        __raw_writel(buf_addr->src_end_cb, s3c_pp_base + S3C_VPP_ADDREND_CB);
+        __raw_writel(buf_addr->src_start_cr, s3c_pp_base + S3C_VPP_ADDRSTART_CR);
+        __raw_writel(buf_addr->offset_cb, s3c_pp_base + S3C_VPP_OFFSET_CR);
+        __raw_writel(buf_addr->src_end_cr, s3c_pp_base + S3C_VPP_ADDREND_CR);  
+	}
+}
+
+void set_dest_addr_register ( s3c_pp_buf_addr_t *buf_addr, s3c_pp_instance_context_t *pp_instance )
+{
+	if ( PP_INSTANCE_INUSE_DMA_ONESHOT == s3c_pp_instance_info.instance_state[pp_instance->instance_no] )
+    {
+		__raw_writel(buf_addr->dst_start_rgb, s3c_pp_base + S3C_VPP_ADDRSTART_RGB);
+		__raw_writel(buf_addr->offset_rgb, s3c_pp_base + S3C_VPP_OFFSET_RGB);
+		__raw_writel(buf_addr->dst_end_rgb, s3c_pp_base + S3C_VPP_ADDREND_RGB);
+
+		if ( pp_instance->dst_color_space == YC420 ) 
+        {
+            __raw_writel(buf_addr->out_src_start_cb, s3c_pp_base + S3C_VPP_ADDRSTART_OCB);
+            __raw_writel(buf_addr->out_offset_cb, s3c_pp_base + S3C_VPP_OFFSET_OCB);
+            __raw_writel(buf_addr->out_src_end_cb, s3c_pp_base + S3C_VPP_ADDREND_OCB);
+            __raw_writel(buf_addr->out_src_start_cr, s3c_pp_base + S3C_VPP_ADDRSTART_OCR);
+            __raw_writel(buf_addr->out_offset_cr, s3c_pp_base + S3C_VPP_OFFSET_OCR);
+            __raw_writel(buf_addr->out_src_end_cr, s3c_pp_base + S3C_VPP_ADDREND_OCR);
+		}
+	}
+}
+
+void set_src_next_addr_register(s3c_pp_buf_addr_t *buf_addr, s3c_pp_instance_context_t *pp_instance)
+{
+	__raw_writel(buf_addr->src_start_y, s3c_pp_base + S3C_VPP_NXTADDRSTART_Y);
+	__raw_writel(buf_addr->src_end_y, s3c_pp_base + S3C_VPP_NXTADDREND_Y);
+
+	if(pp_instance->src_color_space == YC420) {
+		__raw_writel(buf_addr->src_start_cb, s3c_pp_base + S3C_VPP_NXTADDRSTART_CB);
+		__raw_writel(buf_addr->src_end_cb, s3c_pp_base + S3C_VPP_NXTADDREND_CB);
+		__raw_writel(buf_addr->src_start_cr, s3c_pp_base + S3C_VPP_NXTADDRSTART_CR);
+		__raw_writel(buf_addr->src_end_cr, s3c_pp_base + S3C_VPP_NXTADDREND_CR);	
+	}
+}
+
+void set_data_format_register(s3c_pp_instance_context_t *pp_instance)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);
+	tmp |= (0x1<<16);
+	tmp |= (0x2<<10);
+
+	// set the source color space
+	switch(pp_instance->src_color_space) {
+		case YC420:
+			tmp &=~((0x1<<3)|(0x1<<2));
+			tmp |= (0x1<<8)|(0x1<<1);
+			break;
+		case CRYCBY:
+			tmp &= ~((0x1<<15)|(0x1<<8)|(0x1<<3)|(0x1<<0));
+			tmp |= (0x1<<2)|(0x1<<1);
+			break;
+		case CBYCRY:
+			tmp &= ~((0x1<<8)|(0x1<<3)|(0x1<<0));
+			tmp |= (0x1<<15)|(0x1<<2)|(0x1<<1);
+			break;
+		case YCRYCB:
+			tmp &= ~((0x1<<15)|(0x1<<8)|(0x1<<3));
+			tmp |= (0x1<<2)|(0x1<<1)|(0x1<<0);
+			break;
+		case YCBYCR:
+			tmp &= ~((0x1<<8)|(0x1<<3));
+			tmp |= (0x1<<15)|(0x1<<2)|(0x1<<1)|(0x1<<0);	
+			break;
+		case RGB24:
+			tmp &= ~(0x1<<8);
+			tmp |=  (0x1<<3)|(0x1<<2)|(0x1<<1);
+			break;
+		case RGB16:
+			tmp &= ~((0x1<<8)|(0x1<<1));
+			tmp |=  (0x1<<3)|(0x1<<2);
+			break;
+		default:
+			break;
+	}
+
+	// set the destination color space
+	if ( PP_INSTANCE_INUSE_DMA_ONESHOT == s3c_pp_instance_info.instance_state[pp_instance->instance_no] ) 
+    {
+		switch ( pp_instance->dst_color_space ) 
+        {
+			case YC420:
+				tmp &= ~(0x1<<18);
+				tmp |= (0x1<<17);
+				break;
+			case CRYCBY:
+				tmp &= ~((0x1<<20)|(0x1<<19)|(0x1<<18)|(0x1<<17));
+				break;
+			case CBYCRY:
+				tmp &= ~((0x1<<19)|(0x1<<18)|(0x1<<17));
+				tmp |= (0x1<<20);
+				break;
+			case YCRYCB:
+				tmp &= ~((0x1<<20)|(0x1<<18)|(0x1<<17));
+				tmp |= (0x1<<19);
+				break;
+			case YCBYCR:
+				tmp &= ~((0x1<<18)|(0x1<<17));
+				tmp |= (0x1<<20)|(0x1<<19);	
+				break;
+			case RGB24:
+				tmp |= (0x1<<18)|(0x1<<4);
+				break;
+			case RGB16:
+				tmp &= ~(0x1<<4);
+				tmp |= (0x1<<18);
+				break;
+			default:
+				break;
+		}
+	}
+	else if ( PP_INSTANCE_INUSE_FIFO_FREERUN == s3c_pp_instance_info.instance_state[pp_instance->instance_no]) 
+    {
+		if (pp_instance->dst_color_space == RGB30) 
+        {
+			tmp |= (0x1<<18)|(0x1<<13); 
+
+		} 
+        else if(pp_instance->dst_color_space == YUV444) 
+        {
+			tmp |= (0x1<<13);
+			tmp &= ~(0x1<<18)|(0x1<<17);
+		} 	
+	}
+
+	__raw_writel ( tmp, s3c_pp_base + S3C_VPP_MODE );
+}
+
+static void set_clock_src ( s3c_pp_clk_src_t clk_src )
+{
+	u32 tmp;
+
+	tmp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);
+
+	if ( clk_src == HCLK ) 
+    {
+		if ( (unsigned int)h_clk > 66000000 ) 
+        {
+			tmp &= ~(0x7f<<23);
+			tmp |= (1<<24);
+			tmp |= (1<<23);
+		} 
+        else 
+        {
+			tmp &=~ (0x7f<<23);
+		}
+
+	} 
+    else if(clk_src == PLL_EXT) 
+    {
+	} 
+    else 
+    {
+		tmp &=~(0x7f<<23);
+	}
+
+	tmp = (tmp &~ (0x3<<21)) | (clk_src<<21);
+
+	__raw_writel(tmp, s3c_pp_base + S3C_VPP_MODE);
+}
+
+
+static void post_int_enable(u32 int_type)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);
+
+	if(int_type == 0) {		//Edge triggering
+		tmp &= ~(S3C_MODE_IRQ_LEVEL);
+	} else if(int_type == 1) {	//level triggering
+		tmp |= S3C_MODE_IRQ_LEVEL;
+	}
+
+	tmp |= S3C_MODE_POST_INT_ENABLE;
+
+	__raw_writel(tmp, s3c_pp_base + S3C_VPP_MODE);
+}
+
+static void post_int_disable(void)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);
+
+	tmp &=~ S3C_MODE_POST_INT_ENABLE;
+
+	__raw_writel(tmp, s3c_pp_base + S3C_VPP_MODE);
+}
+
+static void start_processing(void)
+{
+	__raw_writel(0x1<<31, s3c_pp_base + S3C_VPP_POSTENVID);
+}
+
+s3c_pp_state_t post_get_processing_state(void)
+{
+	s3c_pp_state_t	state;
+	u32 tmp;
+
+	tmp = __raw_readl(s3c_pp_base + S3C_VPP_POSTENVID);
+	if (tmp & S3C_VPP_POSTENVID)
+	{
+		state = POST_BUSY;
+	}
+	else
+	{
+		state = POST_IDLE;
+	}
+
+	dprintk("Post processing state = %d\n", state);
+
+	return state;
+}
+
+static void s3c_dma_mode ( void )
+{
+    unsigned int temp;
+
+    temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);  
+    temp &=~(0x1<<13);  // dma
+    __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE);
+
+#if 1
+/*
+    temp = __raw_readl ( S3C_WINCON0 );
+    temp &= ~(S3C_WINCONx_BPPMODE_F_MASK | (0x3<<9));
+    temp &= ~(S3C_WINCONx_ENLOCAL_POST | S3C_WINCONx_INRGB_MASK);
+    temp &= ~( S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BYTSWP_ENABLE | S3C_WINCONx_BITSWP_ENABLE ); //swap disable
+    temp |= S3C_WINCONx_HAWSWP_ENABLE;
+    temp |= S3C_WINCONx_BPPMODE_F_16BPP_565;  
+    temp |= S3C_WINCONx_ENWIN_F_ENABLE;  
+    __raw_writel ( temp, S3C_WINCON0 );
+
+    temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);  
+    temp &=~(0x1<<12);  // 0: progressive mode, 1: interlace mode
+    temp &=~(0x1<<13);  // dma
+    __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE);
+*/
+#else
+    __raw_writel(0x0<<31, s3c_pp_base + S3C_VPP_POSTENVID);
+
+    // PP shot mode first
+    temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);  
+    temp &=~(1<<14);    // one shot
+    __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE);
+
+    //.[ display controller setting (DMA mode)
+    temp = __raw_readl ( S3C_VIDCON0 );
+    temp &= ~( S3C_VIDCON0_ENVID_F_ENABLE | S3C_VIDCON0_ENVID_ENABLE );
+    __raw_writel ( temp, S3C_VIDCON0 );
+
+    temp = __raw_readl ( S3C_WINCON0 );
+    temp &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+    __raw_writel ( temp, S3C_WINCON0 );
+
+    temp = __raw_readl ( S3C_WINCON0 );
+    temp &= ~(S3C_WINCONx_BPPMODE_F_MASK | (0x3<<9));
+    temp &= ~(S3C_WINCONx_ENLOCAL_POST | S3C_WINCONx_INRGB_MASK);
+    temp &= ~( S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BYTSWP_ENABLE | S3C_WINCONx_BITSWP_ENABLE ); //swap disable
+    temp |= S3C_WINCONx_HAWSWP_ENABLE;
+    temp |= S3C_WINCONx_BPPMODE_F_16BPP_565;  
+    temp |= S3C_WINCONx_ENWIN_F_ENABLE;  
+    __raw_writel ( temp, S3C_WINCON0 );
+
+    temp = __raw_readl ( S3C_VIDCON0 );
+    temp |= ( S3C_VIDCON0_ENVID_F_ENABLE | S3C_VIDCON0_ENVID_ENABLE );
+    __raw_writel ( temp, S3C_VIDCON0 );
+    //.] display controller setting (DMA mode)
+
+    i=0;
+    while ( (temp = __raw_readl ( s3c_pp_base + S3C_VPP_POSTENVID )) )
+    {
+        i++; 
+        __raw_writel(0x0<<31, s3c_pp_base + S3C_VPP_POSTENVID);
+    }
+
+    temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);  
+
+    temp &=~(0x1<<12);   // 0: progressive mode, 1: interlace mode
+    temp &=~(0x1<<31);
+
+    temp &=~(0x1<<13);  // dma
+
+    __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE);
+#endif
+}
+
+static void pp_dma_mode_set_and_start ( void )
+{
+    unsigned int temp;
+
+    __raw_writel(0x0<<31, s3c_pp_base + S3C_VPP_POSTENVID);
+
+    temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);  
+    
+    temp &= ~(0x1<<31);     // must be 0
+    temp &= ~(0x1<<13);     // dma
+    temp &= ~(0x1<<14);     // per frame mode
+
+    __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE);
+
+    __raw_writel(0x1<<31, s3c_pp_base + S3C_VPP_POSTENVID); // PP start
+}
+
+static void pp_fifo_mode_set_and_start ( s3c_pp_instance_context_t *current_instance )
+{
+    unsigned int temp;
+
+#if 1
+    // line count check
+    while ( __raw_readl ( S3C_VIDCON1 ) & 0x07FF0000 )
+    {
+    }
+
+    //.[ i: sichoi 090112 (FIFO_FREERUN mode relase without using interrupt)
+    temp = __raw_readl ( S3C_WINCON0 );
+    temp &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+    __raw_writel ( temp, S3C_WINCON0 );
+    //.] sichoi 090112 (FIFO_FREERUN mode relase without using interrupt)
+
+    __raw_writel(0x0<<31, s3c_pp_base + S3C_VPP_POSTENVID);
+
+    temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);  
+    
+    temp &= ~(0x1<<31);
+    if ( PROGRESSIVE_MODE == current_instance->scan_mode )
+    {
+        temp &= ~(0x1<<12);     // 0: progressive mode, 1: interlace mode
+    }
+    else
+    {
+        temp |= (0x1<<12);      // 0: progressive mode, 1: interlace mode
+    }
+
+    temp |= (0x1<<13);          // fifo
+    temp |= (0x1<<14);          // free run
+
+    __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE);
+
+    __raw_writel(0x1<<31, s3c_pp_base + S3C_VPP_POSTENVID); // PP start
+
+
+    temp = __raw_readl ( S3C_WINCON0 ); //. i: sichoi 090112 (FIFO_FREERUN mode relase without using interrupt)
+
+    //.[ d: sichoi 090112 (FIFO_FREERUN mode relase without using interrupt)
+    /*
+    temp &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+    __raw_writel ( temp, S3C_WINCON0 );
+    */
+    //.] sichoi 090112 (FIFO_FREERUN mode relase without using interrupt)
+
+    temp = current_instance->dst_width * current_instance->dst_height;
+    __raw_writel ( temp, S3C_VIDOSD0C );
+
+    temp = __raw_readl ( S3C_WINCON0 );
+    temp &= ~(S3C_WINCONx_BPPMODE_F_MASK | (0x3<<9));
+    temp &= ~(S3C_WINCONx_ENLOCAL_POST | S3C_WINCONx_INRGB_MASK);
+    temp &= ~( S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BYTSWP_ENABLE | S3C_WINCONx_BITSWP_ENABLE ); //swap disable
+    temp |= S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BURSTLEN_4WORD;
+    temp |= S3C_WINCONx_ENLOCAL_POST | S3C_WINCONx_ENWIN_F_ENABLE;
+
+    __raw_writel ( temp, S3C_WINCON0 );
+
+#else
+    //.[ display controller setting (FIFO mode)
+    // line count check
+    while ( __raw_readl ( S3C_VIDCON1 ) & 0x07FF0000 )
+    {
+    }
+
+    __raw_writel(0x0<<31, s3c_pp_base + S3C_VPP_POSTENVID);
+    
+    temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);  
+    
+    temp &=~(0x1<<12);   // 0: progressive mode, 1: interlace mode
+    temp &=~(0x1<<31);
+    
+    temp |= (0x1<<13);      // fifo
+    temp |= (1<<14);        // free run
+    
+    __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE);
+    
+    __raw_writel(0x1<<31, s3c_pp_base + S3C_VPP_POSTENVID); // PP start
+
+    temp = __raw_readl ( S3C_VIDCON0 );
+    temp &= ~( S3C_VIDCON0_ENVID_F_ENABLE | S3C_VIDCON0_ENVID_ENABLE );
+    __raw_writel ( temp, S3C_VIDCON0 );
+
+    temp = __raw_readl ( S3C_WINCON0 );
+    temp &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+    __raw_writel ( temp, S3C_WINCON0 );
+
+    temp = __raw_readl ( S3C_WINCON0 );
+    temp &= ~(S3C_WINCONx_BPPMODE_F_MASK | (0x3<<9));
+    temp &= ~(S3C_WINCONx_ENLOCAL_POST | S3C_WINCONx_INRGB_MASK);
+    temp &= ~( S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BYTSWP_ENABLE | S3C_WINCONx_BITSWP_ENABLE ); //swap disable
+    temp |= S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BURSTLEN_4WORD;
+    temp |= S3C_WINCONx_ENLOCAL_POST | S3C_WINCONx_ENWIN_F_ENABLE;
+
+    __raw_writel ( temp, S3C_WINCON0 );
+
+    temp = current_instance->dst_width * current_instance->dst_height;
+    __raw_writel ( temp, S3C_VIDOSD0C );
+
+    temp = __raw_readl ( S3C_VIDCON0 );
+    temp |= S3C_VIDCON0_ENVID_F_ENABLE | S3C_VIDCON0_ENVID_ENABLE;
+    __raw_writel ( temp, S3C_VIDCON0 );
+    //.] display controller setting (FIFO mode)
+#endif
+}
+
+static irqreturn_t s3c_pp_isr (int irq, void *dev_id, struct pt_regs *regs)
+{
+	u32 temp;
+
+	temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE);
+	temp &= ~(S3C_MODE_POST_PENDING | S3C_MODE_POST_INT_ENABLE); // int disable & pending bit clear
+	__raw_writel(temp, s3c_pp_base + S3C_VPP_MODE);
+
+//.[ d: sichoi 090112 (FIFO_FREERUNmode relase without using interrupt)
+#if 0
+    switch ( FIFO_mode_down_sequence )
+    {
+        case 1: 
+            temp &= ~S3C_MODE_AUTOLOAD_ENABLE; // set Per Frame mode
+            __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE);
+            break;
+        case 2:
+#if 1
+            temp = s3c_pp_instance_info.wincon0_value_before_fifo_mode & ~S3C_WINCONx_ENWIN_F_ENABLE;
+            __raw_writel ( temp, S3C_WINCON0 );
+#else
+            temp = __raw_readl ( S3C_WINCON0 );
+            temp &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+            temp &= ~(S3C_WINCONx_BPPMODE_F_MASK | (0x3<<9));
+            temp &= ~(S3C_WINCONx_ENLOCAL_POST | S3C_WINCONx_INRGB_MASK);
+            temp &= ~( S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BYTSWP_ENABLE | S3C_WINCONx_BITSWP_ENABLE ); //swap disable
+            temp |= S3C_WINCONx_HAWSWP_ENABLE;
+            temp |= S3C_WINCONx_BPPMODE_F_16BPP_565;  
+            __raw_writel ( temp, S3C_WINCON0 );
+#endif
+
+            break;
+        default:
+            break;
+    }
+#endif
+//.] sichoi 090112 (FIFO_FREERUN mode relase without using interrupt)
+   
+    s3c_pp_instance_info.running_instance_no = -1;
+
+	wake_up_interruptible(&waitq);
+
+	return IRQ_HANDLED;
+}
+
+
+int s3c_pp_open(struct inode *inode, struct file *file) 
+{ 	
+	s3c_pp_instance_context_t *current_instance;
+    int i;
+
+    mutex_lock(h_mutex);
+
+    // fifo mode�� �Ǿ� ������ �ٸ� instance Open �Ұ�
+    if ( s3c_pp_instance_info.fifo_mode_instance_no != -1 )
+    {
+        printk(KERN_ERR "PP instance allocation is fail: Fifo Mode was already opened.\n");
+        mutex_unlock(h_mutex);
+        return -1;
+    }
+
+    // check instance pool 
+    if (PP_MAX_NO_OF_INSTANCES <= s3c_pp_instance_info.in_use_instance_count)
+    {
+        printk(KERN_ERR "PP instance allocation is fail: No more instance.\n");
+        mutex_unlock(h_mutex);
+        return -1;
+    }
+
+	// allocating the post processor instance
+	current_instance = (s3c_pp_instance_context_t *) kmalloc(sizeof(s3c_pp_instance_context_t), GFP_DMA|GFP_ATOMIC );
+	if (current_instance == NULL) {
+		printk(KERN_ERR "PP instance allocation is fail: Kmalloc failed.\n");
+        mutex_unlock(h_mutex);
+        return -1;
+	}
+
+    // Find free instance
+    for (i=0; i < PP_MAX_NO_OF_INSTANCES; i++)
+    {
+        if (PP_INSTANCE_FREE == s3c_pp_instance_info.instance_state[i])
+        {
+            s3c_pp_instance_info.instance_state[i] = PP_INSTANCE_READY;
+            s3c_pp_instance_info.in_use_instance_count++;
+            break;
+        }
+    }
+    if (PP_MAX_NO_OF_INSTANCES == i)
+    {
+        kfree (current_instance);
+        printk(KERN_ERR "PP instance allocation is fail: No more instance.\n");
+        mutex_unlock(h_mutex);
+        return -1;
+    }
+
+ 	memset (current_instance, 0, sizeof(s3c_pp_instance_context_t));
+    current_instance->instance_no = i;
+
+    // check first time
+    if (1 == s3c_pp_instance_info.in_use_instance_count)
+    {
+        // PP HW Initalize or clock enable; for Power Saving
+    }
+    
+    dprintk ( KERN_DEBUG "%s PP instance allocation is success. (%d)\n", __FUNCTION__, i );
+
+	file->private_data = (s3c_pp_instance_context_t *) current_instance;
+	
+    mutex_unlock(h_mutex);
+
+	return 0;
+}
+
+
+int s3c_pp_read ( struct file *file, char *buf, size_t count, loff_t *f_pos )
+{
+	return 0;
+}
+
+int s3c_pp_write ( struct file *file, const char *buf, size_t count, loff_t *f_pos )
+{
+	return 0;
+}
+
+int s3c_pp_mmap ( struct file *file, struct vm_area_struct *vma )
+{
+	u32 page_frame_no, size, phys_addr, max_size;
+    void *virt_addr;
+
+    mutex_lock ( mem_alloc_mutex );
+
+	size = vma->vm_end - vma->vm_start;
+
+	switch (flag) 
+    { 
+        case ALLOC_KMEM :
+            virt_addr = kmalloc ( size, GFP_DMA|GFP_ATOMIC ); // old setting is GFP_KERNEL
+        
+            if ( virt_addr == NULL) 
+            {
+                printk ( KERN_ERR "%s kmalloc() failed !\n", __FUNCTION__ );
+                mutex_unlock(mem_alloc_mutex);
+                return -EINVAL;
+            }
+
+            dprintk (KERN_DEBUG "MMAP_KMALLOC : virt addr = 0x%p, size = %d\n", virt_addr, (unsigned int) size);
+
+            phys_addr = virt_to_phys(virt_addr);
+            physical_address = (unsigned int) phys_addr;
+        
+            page_frame_no = __phys_to_pfn(phys_addr);
+
+            vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+            
+            if ((vma->vm_flags & VM_WRITE) && !(vma->vm_flags & VM_SHARED)) 
+            {
+                printk ( KERN_ERR "%s: Writable G3D_SFR_SIZE mapping must be shared !\n", __FUNCTION__ );
+                mutex_unlock(mem_alloc_mutex);
+                return -EINVAL;
+            }
+            
+            if (remap_pfn_range(vma, vma->vm_start, page_frame_no, size, vma->vm_page_prot)) 
+            {
+                printk ( KERN_ERR "%s: remap_pfn_range() failed !\n", __FUNCTION__ );
+                mutex_unlock(mem_alloc_mutex);
+                return -EINVAL;
+            }
+            break;
+
+        default :
+            page_frame_no = __phys_to_pfn(PP_RESERVED_MEM_ADDR_PHY);
+            
+            max_size = PP_RESERVED_MEM_SIZE + PAGE_SIZE - (PP_RESERVED_MEM_SIZE % PAGE_SIZE);
+            
+            if ( max_size < size ) 
+            {
+                mutex_unlock(mem_alloc_mutex);
+                return -EINVAL;
+            }
+            
+            vma->vm_flags |= VM_RESERVED;
+             
+            if ( remap_pfn_range(vma, vma->vm_start, page_frame_no, size, vma->vm_page_prot) ) 
+            {
+                printk(KERN_ERR "%s: mmap_error\n", __FUNCTION__);
+                mutex_unlock(mem_alloc_mutex);
+                return -EAGAIN;
+            }
+            break;
+    } // switch (flag)
+
+    mutex_unlock(mem_alloc_mutex);
+
+    return 0;
+}
+
+
+int s3c_pp_release ( struct inode *inode, struct file *file ) 
+{
+	s3c_pp_instance_context_t *current_instance;
+
+    mutex_lock(h_mutex);
+
+    dprintk ( "%s: Enterance\n", __FUNCTION__ );
+
+	current_instance = (s3c_pp_instance_context_t *) file->private_data;
+	if (NULL == current_instance) 
+    {
+        mutex_unlock(h_mutex);
+		return -1;
+	}
+
+    if ( PP_INSTANCE_INUSE_DMA_ONESHOT == s3c_pp_instance_info.instance_state[current_instance->instance_no] )
+    {
+        s3c_pp_instance_info.dma_mode_instance_count--;
+    }
+    else if ( PP_INSTANCE_INUSE_FIFO_FREERUN == s3c_pp_instance_info.instance_state[current_instance->instance_no] )
+    {
+
+        s3c_pp_instance_info.fifo_mode_instance_no = -1;
+
+        // change Display Controller WIN0 mode to DMA Mode
+        // change Post Processor mode to DMA Mode & turn off Free Run Mode
+
+//.[ i: sichoi 090112 (FIFO_FREERUN mode relase without using interrupt)
+#if 1
+        do 
+        {
+            unsigned int temp;
+
+            temp = __raw_readl ( S3C_VIDCON0 ) & ~S3C_VIDCON0_ENVID_ENABLE;
+            __raw_writel ( temp, S3C_VIDCON0 );
+
+            while ( __raw_readl ( S3C_VIDCON1 ) & 0x07FF0000 )
+            {
+            }
+
+            temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE) & ~S3C_MODE_AUTOLOAD_ENABLE; // set Per Frame mode
+            __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE);
+
+            temp = s3c_pp_instance_info.wincon0_value_before_fifo_mode & ~S3C_WINCONx_ENWIN_F_ENABLE;
+            __raw_writel ( temp, S3C_WINCON0 );
+
+            temp = __raw_readl ( S3C_VIDCON0 ) | S3C_VIDCON0_ENVID_ENABLE | S3C_VIDCON0_ENVID_F_ENABLE;
+            __raw_writel ( temp, S3C_VIDCON0 );
+        } while ( 0 );
+#else
+        //.[ i: sichoi 081027 (Safety FIFO Mode Down)
+        FIFO_mode_down_sequence = 1;
+
+        while ( FIFO_mode_down_sequence < 4 )
+        { 
+            post_int_enable(1);
+            interruptible_sleep_on_timeout(&waitq, 20);
+
+            FIFO_mode_down_sequence++;
+        }
+        //.] sichoi 081027
+
+        FIFO_mode_down_sequence = 0;
+#endif
+//.] sichoi 090112 (FIFO_FREERUN mode relase without using interrupt)
+    }
+
+    if ( current_instance->instance_no == s3c_pp_instance_info.last_running_instance_no ) 
+    { 
+        s3c_pp_instance_info.last_running_instance_no = -1;
+    }
+
+    s3c_pp_instance_info.instance_state[current_instance->instance_no] = PP_INSTANCE_FREE;
+    if ( 0 < s3c_pp_instance_info.in_use_instance_count && s3c_pp_instance_info.in_use_instance_count <= PP_MAX_NO_OF_INSTANCES )
+    {
+        s3c_pp_instance_info.in_use_instance_count--;
+        if ( 0 == s3c_pp_instance_info.in_use_instance_count )
+        {
+            s3c_pp_instance_info.last_running_instance_no = -1;
+
+            // TO DO: PP H/W Deinitialize (optional)
+        }
+    }
+
+    dprintk ( "%s: handle=%d, count=%d\n", __FUNCTION__, current_instance->instance_no, s3c_pp_instance_info.in_use_instance_count );
+
+	kfree(current_instance);
+
+	mutex_unlock(h_mutex);
+
+	return 0;
+}
+
+
+static int s3c_pp_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
+{
+	s3c_pp_instance_context_t *current_instance;
+	s3c_pp_params_t *parg;
+
+	unsigned int temp = 0;
+
+    mutex_lock(h_mutex);
+
+	current_instance	= (s3c_pp_instance_context_t *) file->private_data;
+	parg	            = (s3c_pp_params_t *) arg;
+
+	switch ( cmd )
+    {
+		case S3C_PP_SET_PARAMS:
+            {
+                s3c_pp_out_path_t temp_out_path; 
+                unsigned int temp_src_width, temp_src_height, temp_dst_width, temp_dst_height;
+                s3c_color_space_t temp_src_color_space, temp_dst_color_space;
+
+                get_user(temp_out_path, &parg->out_path);
+
+                if ( (-1 != s3c_pp_instance_info.fifo_mode_instance_no )
+                     || ((s3c_pp_instance_info.dma_mode_instance_count) && (FIFO_FREERUN == temp_out_path)) )
+                {
+                    printk ( KERN_ERR "\n%s: S3C_PP_SET_PARAMS can't be executed.\n", __FUNCTION__ );
+                    mutex_unlock(h_mutex);
+    			    return -EINVAL; 
+                }
+
+    			get_user(temp_src_width,       &parg->src_width);
+    			get_user(temp_src_height,      &parg->src_height);
+    			get_user(temp_dst_width,       &parg->dst_width);
+    			get_user(temp_dst_height,      &parg->dst_height);
+
+                // S3C6410 support that the source image is up to 4096 x 4096
+                //     and the destination image is up to 2048 x 2048.
+    			if (    (temp_src_width > 4096) || (temp_src_height > 4096) 
+                     || (temp_dst_width > 2048) || (temp_dst_height > 2048) )
+    			{
+    				printk(KERN_ERR "\n%s: Size is too big to be supported.\n", __FUNCTION__);
+    				mutex_unlock(h_mutex);
+    				return -EINVAL;
+    			}
+                
+                get_user(temp_src_color_space, &parg->src_color_space);
+                get_user(temp_dst_color_space, &parg->dst_color_space);
+
+                if (    ( (temp_src_color_space == YC420) && (temp_src_width % 8) )
+                     || ( (temp_src_color_space == RGB16) && (temp_src_width % 2) ) 
+                     || ( (temp_out_path == DMA_ONESHOT) && (    ((temp_dst_color_space == YC420) && (temp_dst_width % 8))
+                                                              || ((temp_dst_color_space == RGB16) && (temp_dst_width % 2)))) )
+                {
+    				printk(KERN_ERR "\n%s: YUV420 image width must be a multiple of 8.\n", __FUNCTION__);
+                    printk(KERN_ERR "%s: RGB16 must be a multiple of 2.\n", __FUNCTION__);
+    				mutex_unlock(h_mutex);
+    				return -EINVAL;
+                } 
+                
+                
+    			get_user(current_instance->src_full_width,  &parg->src_full_width);
+    			get_user(current_instance->src_full_height, &parg->src_full_height);
+    			get_user(current_instance->src_start_x,     &parg->src_start_x);
+    			get_user(current_instance->src_start_y,     &parg->src_start_y);
+    			current_instance->src_width                 = temp_src_width;
+    			current_instance->src_height                = temp_src_height;
+                current_instance->src_color_space           = temp_src_color_space;
+
+    			get_user(current_instance->dst_full_width,  &parg->dst_full_width);
+                get_user(current_instance->dst_full_height, &parg->dst_full_height);
+                get_user(current_instance->dst_start_x,     &parg->dst_start_x);
+    			get_user(current_instance->dst_start_y,     &parg->dst_start_y);
+    			current_instance->dst_width                 = temp_dst_width;
+    			current_instance->dst_height                = temp_dst_height;
+                current_instance->dst_color_space           = temp_dst_color_space;
+
+                current_instance->out_path                  = temp_out_path;
+
+                if ( DMA_ONESHOT == current_instance->out_path )
+                {
+                    s3c_pp_instance_info.instance_state[current_instance->instance_no] = PP_INSTANCE_INUSE_DMA_ONESHOT;
+                    s3c_pp_instance_info.dma_mode_instance_count++;               
+                }
+                else
+                {
+                    get_user(current_instance->scan_mode, &parg->scan_mode);
+
+                    current_instance->dst_color_space = RGB30;
+
+                    s3c_pp_instance_info.instance_state[current_instance->instance_no] = PP_INSTANCE_INUSE_FIFO_FREERUN;
+                    s3c_pp_instance_info.fifo_mode_instance_no = current_instance->instance_no;
+                    s3c_pp_instance_info.wincon0_value_before_fifo_mode = __raw_readl ( S3C_WINCON0 );
+                
+                    //.[ REDUCE_VCLK_SYOP_TIME
+                    if ( current_instance->src_height > current_instance->dst_height )
+                    {
+                        int i;
+
+                        for ( i=2; (current_instance->src_height >= (i * current_instance->dst_height)) && (i<8); i++ )
+                        {
+                        }
+
+                        current_instance->src_full_width  *= i;
+                        current_instance->src_full_height /= i;
+                        current_instance->src_height      /= i;
+                    }
+                    //.] REDUCE_VCLK_SYOP_TIME
+                }
+
+                current_instance->value_changed |= PP_VALUE_CHANGED_PARAMS;
+            }
+			break;
+
+		case S3C_PP_START:
+            dprintk ( "%s: S3C_PP_START last_instance=%d, curr_instance=%d\n", __FUNCTION__, 
+                        s3c_pp_instance_info.last_running_instance_no, current_instance->instance_no );
+
+            if ( PP_INSTANCE_READY == s3c_pp_instance_info.instance_state[current_instance->instance_no] )
+            {
+                printk ( KERN_ERR "%s: S3C_PP_START must be executed after running S3C_PP_SET_PARAMS.\n", __FUNCTION__ );
+                mutex_unlock(h_mutex);
+			    return -EINVAL;
+            }
+
+            if ( current_instance->instance_no != s3c_pp_instance_info.last_running_instance_no )
+            {
+                __raw_writel(0x0<<31, s3c_pp_base + S3C_VPP_POSTENVID);
+            
+                temp = S3C_MODE2_ADDR_CHANGE_DISABLE | S3C_MODE2_CHANGE_AT_FRAME_END | S3C_MODE2_SOFTWARE_TRIGGER;
+                __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE_2);
+                   
+                set_clock_src(HCLK);
+            
+                // setting the src/dst color space
+                set_data_format(current_instance);
+            
+                // setting the src/dst size 
+                set_scaler(current_instance);
+            
+                // setting the src/dst buffer address
+                set_src_addr(current_instance);
+                set_dest_addr(current_instance);
+
+                current_instance->value_changed = PP_VALUE_CHANGED_NONE;
+
+                s3c_pp_instance_info.last_running_instance_no = current_instance->instance_no;
+                s3c_pp_instance_info.running_instance_no = current_instance->instance_no;
+
+                if ( PP_INSTANCE_INUSE_DMA_ONESHOT == s3c_pp_instance_info.instance_state[current_instance->instance_no] )
+                { // DMA OneShot Mode
+                    dprintk ( "%s: DMA_ONESHOT mode\n", __FUNCTION__ );
+
+                    post_int_enable(1);
+                    pp_dma_mode_set_and_start();
+
+
+                    if ( !(file->f_flags & O_NONBLOCK) )
+                    {
+                        if (interruptible_sleep_on_timeout(&waitq, 500) == 0) 
+                        {
+                            printk(KERN_ERR "\n%s: Waiting for interrupt is timeout\n", __FUNCTION__);
+                        }
+                    }
+                }
+                else
+                { // FIFO freerun Mode
+                    dprintk ( "%s: FIFO_freerun mode\n", __FUNCTION__ );
+                    s3c_pp_instance_info.fifo_mode_instance_no = current_instance->instance_no;
+
+                    post_int_enable(1);
+                    pp_fifo_mode_set_and_start(current_instance); 
+                }
+            }
+            else
+            {
+                if ( current_instance->value_changed != PP_VALUE_CHANGED_NONE )
+                {
+                    __raw_writel(0x0<<31, s3c_pp_base + S3C_VPP_POSTENVID);
+
+                    if ( current_instance->value_changed & PP_VALUE_CHANGED_PARAMS )
+                    {
+                        set_data_format(current_instance);
+                        set_scaler(current_instance);
+                    }
+
+                    if ( current_instance->value_changed & PP_VALUE_CHANGED_SRC_BUF_ADDR_PHY )
+                    {
+                        set_src_addr(current_instance);
+                    }
+
+                    if ( current_instance->value_changed & PP_VALUE_CHANGED_DST_BUF_ADDR_PHY )
+                    {
+                        set_dest_addr(current_instance);
+                    }
+
+                    current_instance->value_changed = PP_VALUE_CHANGED_NONE;
+                }
+
+                s3c_pp_instance_info.running_instance_no = current_instance->instance_no;
+
+                post_int_enable(1);
+                start_processing();
+
+                if ( !(file->f_flags & O_NONBLOCK) )
+                {
+                    if (interruptible_sleep_on_timeout(&waitq, 500) == 0) 
+                    {
+                        printk(KERN_ERR "\n%s: Waiting for interrupt is timeout\n", __FUNCTION__);
+                    }
+                }
+            }
+			break;
+
+		case S3C_PP_GET_SRC_BUF_SIZE:
+
+            if ( PP_INSTANCE_READY == s3c_pp_instance_info.instance_state[current_instance->instance_no] )
+            {
+                dprintk ( "%s: S3C_PP_GET_SRC_BUF_SIZE must be executed after running S3C_PP_SET_PARAMS.\n", __FUNCTION__ );
+                mutex_unlock(h_mutex);
+			    return -EINVAL;
+            }
+
+            temp = cal_data_size ( current_instance->src_color_space, current_instance->src_full_width, current_instance->src_full_height );
+
+			mutex_unlock(h_mutex);
+			return temp;
+
+
+		case S3C_PP_SET_SRC_BUF_ADDR_PHY:
+
+            get_user(current_instance->src_buf_addr_phy, &parg->src_buf_addr_phy);
+            current_instance->value_changed |= PP_VALUE_CHANGED_SRC_BUF_ADDR_PHY;
+			break;
+
+        case S3C_PP_SET_SRC_BUF_NEXT_ADDR_PHY:
+
+            if ( current_instance->instance_no != s3c_pp_instance_info.fifo_mode_instance_no )
+            { // if FIFO Mode is not Active
+                dprintk (KERN_DEBUG "%s: S3C_PP_SET_SRC_BUF_NEXT_ADDR_PHY can't be executed.\n", __FUNCTION__ );
+                mutex_unlock(h_mutex);
+                return -EINVAL;
+            }            
+
+            get_user(current_instance->src_next_buf_addr_phy, &parg->src_next_buf_addr_phy);
+
+            temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE_2);
+            temp |= (0x1<<4);
+            __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE_2);
+    
+            set_src_next_buf_addr(current_instance);
+
+            temp = __raw_readl(s3c_pp_base + S3C_VPP_MODE_2);
+            temp &= ~(0x1<<4);
+            __raw_writel(temp, s3c_pp_base + S3C_VPP_MODE_2);
+            break;
+
+		case S3C_PP_GET_DST_BUF_SIZE:
+            
+            if ( PP_INSTANCE_READY == s3c_pp_instance_info.instance_state[current_instance->instance_no] )
+            {
+                dprintk ( "%s: S3C_PP_GET_DST_BUF_SIZE must be executed after running S3C_PP_SET_PARAMS.\n", __FUNCTION__ );
+                mutex_unlock(h_mutex);
+			    return -EINVAL;
+            }
+
+            temp = cal_data_size ( current_instance->dst_color_space, current_instance->dst_full_width, current_instance->dst_full_height );
+
+			mutex_unlock(h_mutex);
+			return temp;
+
+		case S3C_PP_SET_DST_BUF_ADDR_PHY:
+
+            get_user(current_instance->dst_buf_addr_phy, &parg->dst_buf_addr_phy);
+            current_instance->value_changed |= PP_VALUE_CHANGED_DST_BUF_ADDR_PHY;
+			break;
+
+
+        case S3C_PP_ALLOC_KMEM:
+            {
+                s3c_pp_mem_alloc_t param;
+                
+                if (copy_from_user(&param, (s3c_pp_mem_alloc_t *)arg, sizeof(s3c_pp_mem_alloc_t)))
+                {
+                    mutex_unlock(h_mutex);
+                    return -EFAULT;
+                }
+                
+                flag = ALLOC_KMEM;
+                
+                param.vir_addr = do_mmap(file, 0, param.size, PROT_READ|PROT_WRITE, MAP_SHARED, 0);
+                dprintk (KERN_DEBUG "param.vir_addr = %08x\n", param.vir_addr);
+                            
+                flag = 0;
+
+                if(param.vir_addr == -EINVAL) {
+                    printk(KERN_ERR "%s: PP_MEM_ALLOC FAILED\n", __FUNCTION__);
+                    mutex_unlock(h_mutex);
+                    return -EFAULT;
+                }
+                param.phy_addr = physical_address;
+                
+                dprintk (KERN_DEBUG "KERNEL MALLOC : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X\n", param.phy_addr, param.size, param.vir_addr);
+                
+                if (copy_to_user((s3c_pp_mem_alloc_t *)arg, &param, sizeof(s3c_pp_mem_alloc_t)))
+                {
+                    mutex_unlock(h_mutex);
+                    return -EFAULT;
+                }
+            }
+            break;
+
+        case S3C_PP_FREE_KMEM:
+            {
+                s3c_pp_mem_alloc_t param;
+                struct mm_struct *mm = current->mm;
+                void *virt_addr;
+
+                if ( copy_from_user(&param, (s3c_pp_mem_alloc_t *)arg, sizeof(s3c_pp_mem_alloc_t)) )
+                {
+                    mutex_unlock(h_mutex);
+                    return -EFAULT;
+                }
+            
+                dprintk (KERN_DEBUG "KERNEL FREE : param.phy_addr = 0x%X \t size = %d \t param.vir_addr = 0x%X\n", param.phy_addr, param.size, param.vir_addr);
+            
+                if ( do_munmap(mm, param.vir_addr, param.size ) < 0 ) 
+                {
+                    dprintk("do_munmap() failed !!\n");
+                    mutex_unlock(h_mutex);
+                    return -EINVAL;
+                }
+                virt_addr = phys_to_virt(param.phy_addr);
+                dprintk ( "KERNEL : virt_addr = 0x%X\n", (unsigned int) virt_addr );
+            
+                kfree(virt_addr);
+                param.size = 0;
+
+                dprintk(KERN_DEBUG "do_munmap() succeed !!\n");
+            }
+            break;
+
+        case S3C_PP_GET_RESERVED_MEM_SIZE:
+            mutex_unlock(h_mutex);
+            return PP_RESERVED_MEM_SIZE;
+
+        case S3C_PP_GET_RESERVED_MEM_ADDR_PHY:
+            mutex_unlock(h_mutex);
+            return PP_RESERVED_MEM_ADDR_PHY;
+
+		default:
+			mutex_unlock(h_mutex);
+			return -EINVAL;
+	}
+
+	mutex_unlock(h_mutex);
+	
+	return 0;
+}
+
+static unsigned int s3c_pp_poll(struct file *file, poll_table *wait)
+{
+	unsigned int	mask = 0;
+    s3c_pp_instance_context_t *current_instance;
+
+	mutex_lock(h_mutex);
+
+    current_instance = (s3c_pp_instance_context_t *) file->private_data;
+
+    poll_wait(file, &waitq, wait);
+
+    if ( -1 == s3c_pp_instance_info.fifo_mode_instance_no ) 
+    {
+        if ( -1 == s3c_pp_instance_info.running_instance_no )
+        {
+            dprintk ( "nw(%d) ", current_instance->instance_no );
+
+            mask = POLLOUT|POLLWRNORM;
+        }
+        else
+        {
+            dprintk ( "w(%d) ", current_instance->instance_no );
+        }
+    }
+    else
+    {
+        dprintk ( "%s : error\n", __FUNCTION__ );
+        mask = POLLERR;
+    }
+
+    mutex_unlock(h_mutex);
+
+	return mask;
+}
+
+
+static struct file_operations s3c_pp_fops = {
+	.owner 	    = THIS_MODULE,
+	.ioctl 	    = s3c_pp_ioctl,
+	.open 	    = s3c_pp_open,
+	.read 	    = s3c_pp_read,
+	.write 	    = s3c_pp_write,
+	.mmap	    = s3c_pp_mmap,
+	.poll	    = s3c_pp_poll,
+	.release 	= s3c_pp_release
+};
+
+
+static struct miscdevice s3c_pp_dev = {
+	.minor		= PP_MINOR,
+	.name		= "s3c-pp",
+	.fops		= &s3c_pp_fops,
+};
+
+static int s3c_pp_remove(struct platform_device *dev)
+{
+	clk_disable(pp_clock);
+
+	free_irq(s3c_pp_irq, NULL);
+	if (s3c_pp_mem != NULL) {
+		pr_debug("s3c_post: releasing s3c_post_mem\n");
+		iounmap(s3c_pp_base);
+		release_resource(s3c_pp_mem);
+		kfree(s3c_pp_mem);
+	}
+	misc_deregister(&s3c_pp_dev);
+	return 0;
+}
+
+
+
+static int s3c_pp_probe(struct platform_device *pdev)
+{
+
+	struct resource *res;
+
+	int ret;
+
+	int tmp;
+    	int i;
+
+	// Use DOUTmpll source clock as a scaler clock
+	tmp = __raw_readl(S3C_CLK_SRC);
+
+	tmp &=~(0x3<<28);
+	tmp |= (0x1<<28);
+	__raw_writel(tmp, S3C_CLK_SRC);
+
+	/* find the IRQs */
+	s3c_pp_irq = platform_get_irq(pdev, 0);
+
+
+	if(s3c_pp_irq <= 0) {
+		printk(KERN_ERR PFX "failed to get irq resouce\n");
+		return -ENOENT;
+	}
+
+	/* get the memory region for the post processor driver */
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if(res == NULL) {
+		printk(KERN_ERR PFX "failed to get memory region resouce\n");
+		return -ENOENT;
+	}
+
+	s3c_pp_mem = request_mem_region(res->start, res->end-res->start+1, pdev->name);
+	if(s3c_pp_mem == NULL) {
+		printk(KERN_ERR PFX "failed to reserve memory region\n");
+		return -ENOENT;
+	}
+
+
+	s3c_pp_base = ioremap(s3c_pp_mem->start, s3c_pp_mem->end - res->start + 1);
+	if(s3c_pp_base == NULL) {
+		printk(KERN_ERR PFX "failed ioremap\n");
+		return -ENOENT;
+	}
+
+	pp_clock = clk_get(&pdev->dev, "post");
+	if(pp_clock == NULL) {
+		printk(KERN_ERR PFX "failed to find post clock source\n");
+		return -ENOENT;
+	}
+
+	clk_enable(pp_clock);
+
+	h_clk = clk_get(&pdev->dev, "hclk");
+	if(h_clk == NULL) {
+		printk(KERN_ERR PFX "failed to find h_clk clock source\n");
+		return -ENOENT;
+	}
+
+	init_waitqueue_head(&waitq);
+
+	ret = misc_register(&s3c_pp_dev);
+	if (ret) {
+		printk (KERN_ERR "cannot register miscdev on minor=%d (%d)\n",
+				PP_MINOR, ret);
+		return ret;
+	}
+
+	ret = request_irq(s3c_pp_irq, (irq_handler_t) s3c_pp_isr,IRQF_DISABLED,
+			pdev->name, NULL);
+	if (ret) {
+		printk(KERN_ERR "request_irq(PP) failed.\n");
+		return ret;
+	}
+
+	h_mutex = (struct mutex *) kmalloc(sizeof(struct mutex), GFP_DMA|GFP_ATOMIC );
+	if (h_mutex == NULL)
+		return -1;
+	
+	mutex_init(h_mutex);
+
+	mem_alloc_mutex = (struct mutex *) kmalloc(sizeof(struct mutex), GFP_DMA|GFP_ATOMIC );
+	if (mem_alloc_mutex == NULL)
+		return -1;
+
+	mutex_init(mem_alloc_mutex);
+
+    // initialzie instance infomation 
+    s3c_pp_instance_info.running_instance_no = -1;
+    s3c_pp_instance_info.last_running_instance_no = -1;
+    s3c_pp_instance_info.in_use_instance_count = 0;
+    s3c_pp_instance_info.dma_mode_instance_count = 0;
+    s3c_pp_instance_info.fifo_mode_instance_no = -1;
+    for ( i=0; i < PP_MAX_NO_OF_INSTANCES; i++ )
+        s3c_pp_instance_info.instance_state[i] = PP_INSTANCE_FREE;
+
+	/* check to see if everything is setup correctly */	
+	return 0;
+}
+
+static int s3c_pp_suspend(struct platform_device *dev, pm_message_t state)
+{
+	int	post_state;
+	unsigned int	dw_pp_base;
+	int	i, index = 0;
+
+	post_state = post_get_processing_state();
+	while (post_state == POST_BUSY)
+		msleep(1);
+
+	dw_pp_base = s3c_pp_base;
+	for (i = S3C_PP_SAVE_START_ADDR; i <= S3C_PP_SAVE_END_ADDR; i += 4) {
+		s3c_pp_save[index] = readl(dw_pp_base + i);
+		index++;	
+	}
+
+	clk_disable(pp_clock);
+	return 0;
+}
+
+static int s3c_pp_resume(struct platform_device *pdev)
+{
+	unsigned int	dw_pp_base;
+	int	i, index = 0;
+
+	dw_pp_base = s3c_pp_base;
+	for (i = S3C_PP_SAVE_START_ADDR; i <= S3C_PP_SAVE_END_ADDR; i += 4) {
+		writel(s3c_pp_save[index], dw_pp_base + i);
+		index++;	
+	}
+	
+	clk_enable(pp_clock);
+	return 0;
+}
+
+static struct platform_driver s3c_pp_driver = {
+	.probe          = s3c_pp_probe,
+	.remove         = s3c_pp_remove,
+	.suspend        = s3c_pp_suspend,
+	.resume         = s3c_pp_resume,
+	.driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-vpp",
+	},
+};
+
+static char version[] __initdata = "3.12";
+static char banner[] __initdata = KERN_INFO "S3C PostProcessor Driver v%s, (c) 2009 Samsung Electronics\n";
+
+static int __init  s3c_pp_init(void)
+{
+
+	printk(banner, version);
+	if(platform_driver_register(&s3c_pp_driver)!=0)
+	{
+		printk(KERN_ERR "platform device register Failed \n");
+		return -1;
+	}
+
+	return 0;
+}
+
+static void  __exit s3c_pp_exit(void)
+{
+	platform_driver_unregister(&s3c_pp_driver);
+	mutex_destroy(h_mutex);
+	mutex_destroy(mem_alloc_mutex);
+	printk("S3C PostProcessor module exit\n");
+}
+
+module_init(s3c_pp_init);
+module_exit(s3c_pp_exit);
+
+MODULE_AUTHOR("jiun.yu@samsung.com");
+MODULE_DESCRIPTION("S3C PostProcessor Device Driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/s3c_pp_common.c linux-2.6.28.6/drivers/media/video/samsung/post/s3c_pp_common.c
--- linux-2.6.28/drivers/media/video/samsung/post/s3c_pp_common.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/s3c_pp_common.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,332 @@
+/* linux/drivers/media/video/samsung/post/s3c_pp_common.c
+ *
+ * Driver file for Samsung Post processor
+ *
+ * Jiun Yu, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/types.h>
+#include <linux/timer.h>
+#include <linux/kernel.h>
+#include <linux/fs.h>
+#include <linux/platform_device.h>
+#include <linux/interrupt.h>
+#include <linux/clk.h>
+#include <linux/delay.h>
+#include <asm/uaccess.h>
+#include <linux/errno.h> /* error codes */
+#include <asm/div64.h>
+#include <linux/mm.h>
+#include <linux/tty.h>
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <mach/hardware.h>
+#include <asm/uaccess.h>
+#include <mach/map.h>
+#include <linux/miscdevice.h>
+
+#include <linux/version.h>
+#include <plat/regs-pp.h>
+
+#include "s3c_pp_common.h"
+
+#define PFX "s3c_pp"
+
+// setting the source/destination color space
+void set_data_format(s3c_pp_instance_context_t *pp_instance)
+{
+	// set the source color space
+	switch(pp_instance->src_color_space) {
+		case YC420:
+			pp_instance->in_pixel_size	= 1;
+			break;
+		case YCBYCR:
+			pp_instance->in_pixel_size	= 2;
+			break;
+		case YCRYCB:
+			pp_instance->in_pixel_size	= 2;
+			break;
+		case CBYCRY:
+			pp_instance->in_pixel_size	= 2;
+			break;
+		case CRYCBY:
+			pp_instance->in_pixel_size	= 2;
+			break;
+		case RGB24:
+			pp_instance->in_pixel_size	= 4;
+			break;
+		case RGB16:
+			pp_instance->in_pixel_size	= 2;
+			break;
+		default:
+			break;
+	}
+
+	// set the destination color space
+	if ( DMA_ONESHOT == pp_instance->out_path ) 
+    {
+		switch(pp_instance->dst_color_space) {
+			case YC420:
+				pp_instance->out_pixel_size	= 1;
+				break;
+			case YCBYCR:
+				pp_instance->out_pixel_size	= 2;
+				break;
+			case YCRYCB:
+				pp_instance->out_pixel_size	= 2;
+				break;
+			case CBYCRY:
+				pp_instance->out_pixel_size	= 2;
+				break;
+			case CRYCBY:
+				pp_instance->out_pixel_size	= 2;
+				break;
+			case RGB24:
+				pp_instance->out_pixel_size	= 4;
+				break;
+			case RGB16:
+				pp_instance->out_pixel_size	= 2;
+				break;
+			default:
+				break;
+		}
+	}
+	else if ( FIFO_FREERUN == pp_instance->out_path ) 
+	{
+		if(pp_instance->dst_color_space == RGB30) 
+		{
+			pp_instance->out_pixel_size	= 4;
+		} 
+		else if(pp_instance->dst_color_space == YUV444) 
+		{
+			pp_instance->out_pixel_size	= 4;
+		} 
+	}
+
+	// setting the register about src/dst data format
+	set_data_format_register(pp_instance);
+}
+
+
+void set_src_addr(s3c_pp_instance_context_t *pp_instance)
+{
+	s3c_pp_buf_addr_t	buf_addr;
+
+	buf_addr.offset_y			= (pp_instance->src_full_width - pp_instance->src_width) * pp_instance->in_pixel_size;
+	buf_addr.start_pos_y		= (pp_instance->src_full_width*pp_instance->src_start_y+pp_instance->src_start_x)*pp_instance->in_pixel_size;
+	buf_addr.end_pos_y			= pp_instance->src_width*pp_instance->src_height*pp_instance->in_pixel_size + buf_addr.offset_y*(pp_instance->src_height-1);
+	buf_addr.src_frm_start_addr	= pp_instance->src_buf_addr_phy;
+	buf_addr.src_start_y		= pp_instance->src_buf_addr_phy + buf_addr.start_pos_y;
+	buf_addr.src_end_y			= buf_addr.src_start_y + buf_addr.end_pos_y;
+
+	if (pp_instance->src_color_space == YC420) 
+    {
+		buf_addr.offset_cb		= buf_addr.offset_cr = ((pp_instance->src_full_width - pp_instance->src_width) / 2) * pp_instance->in_pixel_size;
+		buf_addr.start_pos_cb	= pp_instance->src_full_width * pp_instance->src_full_height * 1	\
+								+ (pp_instance->src_full_width * pp_instance->src_start_y / 2 + pp_instance->src_start_x) /2 * 1;
+
+		buf_addr.end_pos_cb		= pp_instance->src_width/2*pp_instance->src_height/2*pp_instance->in_pixel_size \
+					 			+ (pp_instance->src_height/2 -1)*buf_addr.offset_cb;
+		buf_addr.start_pos_cr	= pp_instance->src_full_width * pp_instance->src_full_height *1 \
+					   			+ pp_instance->src_full_width*pp_instance->src_full_height/4 *1 \
+					   			+ (pp_instance->src_full_width*pp_instance->src_start_y/2 + pp_instance->src_start_x)/2*1;
+		buf_addr.end_pos_cr		= pp_instance->src_width/2*pp_instance->src_height/2*pp_instance->in_pixel_size \
+					 			+ (pp_instance->src_height/2-1)*buf_addr.offset_cr;
+
+		buf_addr.src_start_cb	= pp_instance->src_buf_addr_phy + buf_addr.start_pos_cb;		
+		buf_addr.src_end_cb		= buf_addr.src_start_cb + buf_addr.end_pos_cb;
+
+		buf_addr.src_start_cr	= pp_instance->src_buf_addr_phy + buf_addr.start_pos_cr;
+		buf_addr.src_end_cr		= buf_addr.src_start_cr + buf_addr.end_pos_cr;
+	}
+
+    set_src_addr_register ( &buf_addr, pp_instance );
+}
+
+void set_dest_addr(s3c_pp_instance_context_t *pp_instance)
+{
+	s3c_pp_buf_addr_t	buf_addr;
+
+	if ( DMA_ONESHOT == pp_instance->out_path ) 
+    {
+		buf_addr.offset_rgb		= (pp_instance->dst_full_width - pp_instance->dst_width)*pp_instance->out_pixel_size;
+		buf_addr.start_pos_rgb	= (pp_instance->dst_full_width*pp_instance->dst_start_y + pp_instance->dst_start_x)*pp_instance->out_pixel_size;
+		buf_addr.end_pos_rgb	= pp_instance->dst_width*pp_instance->dst_height*pp_instance->out_pixel_size 	\
+								+ buf_addr.offset_rgb*(pp_instance->dst_height - 1);
+		buf_addr.dst_start_rgb 	= pp_instance->dst_buf_addr_phy + buf_addr.start_pos_rgb;
+		buf_addr.dst_end_rgb 	= buf_addr.dst_start_rgb + buf_addr.end_pos_rgb;
+
+		if (pp_instance->dst_color_space == YC420) 
+        {
+			buf_addr.out_offset_cb		= buf_addr.out_offset_cr = ((pp_instance->dst_full_width - pp_instance->dst_width)/2)*pp_instance->out_pixel_size;
+			buf_addr.out_start_pos_cb 	= pp_instance->dst_full_width*pp_instance->dst_full_height*1 \
+							  	 		+ (pp_instance->dst_full_width*pp_instance->dst_start_y/2 + pp_instance->dst_start_x)/2*1;
+			buf_addr.out_end_pos_cb 	= pp_instance->dst_width/2*pp_instance->dst_height/2*pp_instance->out_pixel_size \
+							 			+ (pp_instance->dst_height/2 -1)*buf_addr.out_offset_cr;
+
+			buf_addr.out_start_pos_cr 	= pp_instance->dst_full_width*pp_instance->dst_full_height*1 \
+							   			+ (pp_instance->dst_full_width*pp_instance->dst_full_height/4)*1 \
+							   			+ (pp_instance->dst_full_width*pp_instance->dst_start_y/2 +pp_instance->dst_start_x)/2*1;
+			buf_addr.out_end_pos_cr 	= pp_instance->dst_width/2*pp_instance->dst_height/2*pp_instance->out_pixel_size \
+							 			+ (pp_instance->dst_height/2 -1)*buf_addr.out_offset_cb;
+
+			buf_addr.out_src_start_cb 	= pp_instance->dst_buf_addr_phy + buf_addr.out_start_pos_cb;
+			buf_addr.out_src_end_cb 	= buf_addr.out_src_start_cb + buf_addr.out_end_pos_cb;
+			buf_addr.out_src_start_cr 	= pp_instance->dst_buf_addr_phy + buf_addr.out_start_pos_cr;
+			buf_addr.out_src_end_cr 	= buf_addr.out_src_start_cr + buf_addr.out_end_pos_cr;
+		}
+
+        set_dest_addr_register ( &buf_addr, pp_instance );
+	}
+}
+
+void set_src_next_buf_addr(s3c_pp_instance_context_t *pp_instance)
+{
+	s3c_pp_buf_addr_t	buf_addr;
+
+
+	buf_addr.offset_y			= (pp_instance->src_full_width - pp_instance->src_width) * pp_instance->in_pixel_size;
+	buf_addr.start_pos_y		= (pp_instance->src_full_width*pp_instance->src_start_y+pp_instance->src_start_x)*pp_instance->in_pixel_size;
+	buf_addr.end_pos_y			= pp_instance->src_width*pp_instance->src_height*pp_instance->in_pixel_size + buf_addr.offset_y*(pp_instance->src_height-1);
+	buf_addr.src_frm_start_addr	= pp_instance->src_next_buf_addr_phy;
+	
+	buf_addr.src_start_y		= pp_instance->src_next_buf_addr_phy + buf_addr.start_pos_y;
+	buf_addr.src_end_y			= buf_addr.src_start_y + buf_addr.end_pos_y;
+
+
+	if(pp_instance->src_color_space == YC420) {
+		buf_addr.offset_cb		= buf_addr.offset_cr = ((pp_instance->src_full_width - pp_instance->src_width) / 2) * pp_instance->in_pixel_size;
+		buf_addr.start_pos_cb	= pp_instance->src_full_width * pp_instance->src_full_height * 1	\
+								+ (pp_instance->src_full_width * pp_instance->src_start_y / 2 + pp_instance->src_start_x) /2 * 1;
+
+		buf_addr.end_pos_cb		= pp_instance->src_width/2*pp_instance->src_height/2*pp_instance->in_pixel_size \
+					 			+ (pp_instance->src_height/2 -1)*buf_addr.offset_cb;
+		buf_addr.start_pos_cr	= pp_instance->src_full_width * pp_instance->src_full_height *1 \
+					   			+ pp_instance->src_full_width*pp_instance->src_full_height/4 *1 \
+					   			+ (pp_instance->src_full_width*pp_instance->src_start_y/2 + pp_instance->src_start_x)/2*1;
+		buf_addr.end_pos_cr		= pp_instance->src_width/2*pp_instance->src_height/2*pp_instance->in_pixel_size \
+					 			+ (pp_instance->src_height/2-1)*buf_addr.offset_cr;
+
+	
+		buf_addr.src_start_cb	= pp_instance->src_next_buf_addr_phy + buf_addr.start_pos_cb;
+		buf_addr.src_end_cb		= buf_addr.src_start_cb + buf_addr.end_pos_cb;
+		buf_addr.src_start_cr	= pp_instance->src_next_buf_addr_phy + buf_addr.start_pos_cr;
+		buf_addr.src_end_cr		= buf_addr.src_start_cr + buf_addr.end_pos_cr;
+
+	}
+
+
+	set_src_next_addr_register(&buf_addr, pp_instance);	
+}
+
+
+
+// setting the scaling information(source/destination size)
+void set_scaler(s3c_pp_instance_context_t *pp_instance)
+{
+	s3c_pp_scaler_info_t	scaler_info;
+
+	
+	if (pp_instance->src_width >= (pp_instance->dst_width<<6)) {
+		printk(KERN_ERR "Out of PreScalar range !!!\n");
+		return;
+	}
+	if(pp_instance->src_width >= (pp_instance->dst_width<<5)) {
+		scaler_info.pre_h_ratio = 32;
+		scaler_info.h_shift = 5;		
+	} else if(pp_instance->src_width >= (pp_instance->dst_width<<4)) {
+		scaler_info.pre_h_ratio = 16;
+		scaler_info.h_shift = 4;		
+	} else if(pp_instance->src_width >= (pp_instance->dst_width<<3)) {
+		scaler_info.pre_h_ratio = 8;
+		scaler_info.h_shift = 3;		
+	} else if(pp_instance->src_width >= (pp_instance->dst_width<<2)) {
+		scaler_info.pre_h_ratio = 4;
+		scaler_info.h_shift = 2;		
+	} else if(pp_instance->src_width >= (pp_instance->dst_width<<1)) {
+		scaler_info.pre_h_ratio = 2;
+		scaler_info.h_shift = 1;		
+	} else {
+		scaler_info.pre_h_ratio = 1;
+		scaler_info.h_shift = 0;		
+	}
+
+	scaler_info.pre_dst_width = pp_instance->src_width / scaler_info.pre_h_ratio;
+	scaler_info.dx = (pp_instance->src_width<<8) / (pp_instance->dst_width<<scaler_info.h_shift);
+
+
+	if (pp_instance->src_height >= (pp_instance->dst_height<<6)) {
+		printk(KERN_ERR "Out of PreScalar range !!!\n");
+		return;
+	}
+	if(pp_instance->src_height >= (pp_instance->dst_height<<5)) {
+		scaler_info.pre_v_ratio = 32;
+		scaler_info.v_shift = 5;		
+	} else if(pp_instance->src_height >= (pp_instance->dst_height<<4)) {
+		scaler_info.pre_v_ratio = 16;
+		scaler_info.v_shift = 4;		
+	} else if(pp_instance->src_height >= (pp_instance->dst_height<<3)) {
+		scaler_info.pre_v_ratio = 8;
+		scaler_info.v_shift = 3;		
+	} else if(pp_instance->src_height >= (pp_instance->dst_height<<2)) {
+		scaler_info.pre_v_ratio = 4;
+		scaler_info.v_shift = 2;		
+	} else if(pp_instance->src_height >= (pp_instance->dst_height<<1)) {
+		scaler_info.pre_v_ratio = 2;
+		scaler_info.v_shift = 1;		
+	} else {
+		scaler_info.pre_v_ratio = 1;
+		scaler_info.v_shift = 0;		
+	}	
+
+	scaler_info.pre_dst_height = pp_instance->src_height / scaler_info.pre_v_ratio;
+	scaler_info.dy = (pp_instance->src_height<<8) / (pp_instance->dst_height<<scaler_info.v_shift);
+	scaler_info.sh_factor = 10 - (scaler_info.h_shift + scaler_info.v_shift);
+
+
+	// setting the register about scaling information
+	set_scaler_register(&scaler_info, pp_instance);
+}
+
+int cal_data_size(s3c_color_space_t color_space, unsigned int width, unsigned int height)
+{
+	switch(color_space) {
+		case YC420:
+			return (width * height * 3) >> 1;
+		case YCBYCR:
+			return (width * height * 2);
+		case YCRYCB:
+			return (width * height * 2);
+		case CBYCRY:
+			return (width * height * 2);
+		case CRYCBY:
+			return (width * height * 2);
+		case RGB24:
+			return (width * height * 4);
+		case RGB16:
+			return (width * height * 2);
+		default:
+			printk(KERN_ERR "Input parameter is wrong\n");
+			return -EINVAL;
+	}
+}
+
+int get_src_data_size(s3c_pp_instance_context_t *pp_instance)
+{
+    return cal_data_size ( pp_instance->src_color_space, pp_instance->src_full_width, pp_instance->src_full_height );
+}
+
+int get_dest_data_size(s3c_pp_instance_context_t *pp_instance)
+{
+    return cal_data_size ( pp_instance->dst_color_space, pp_instance->dst_full_width, pp_instance->dst_full_height );
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/post/s3c_pp_common.h linux-2.6.28.6/drivers/media/video/samsung/post/s3c_pp_common.h
--- linux-2.6.28/drivers/media/video/samsung/post/s3c_pp_common.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/post/s3c_pp_common.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,95 @@
+#ifndef _S3C_PP_COMMON_H_
+#define _S3C_PP_COMMON_H_
+
+#include "s3c_pp.h"
+
+#define PP_MINOR    253		            // post processor is misc device driver
+
+typedef enum {
+	HCLK        = 0, 
+    PLL_EXT     = 1, 
+    EXT_27MHZ   = 3
+} s3c_pp_clk_src_t;
+
+typedef enum {
+	POST_IDLE   = 0,
+	POST_BUSY
+} s3c_pp_state_t;
+
+typedef struct {
+    unsigned int src_full_width;		// Source Image Full Width (Virtual screen size)
+	unsigned int src_full_height;		// Source Image Full Height (Virtual screen size)
+	unsigned int src_start_x; 			// Source Image Start width offset
+	unsigned int src_start_y; 			// Source Image Start height offset
+	unsigned int src_width;				// Source Image Width
+	unsigned int src_height; 			// Source Image Height
+	unsigned int src_buf_addr_phy; 		// Base Address of the Source Image : Physical Address
+	unsigned int src_next_buf_addr_phy; // Base Address of Source Image to be displayed next time in FIFO_FREERUN Mode
+	s3c_color_space_t src_color_space; 	// Color Space of the Source Image
+
+	unsigned int dst_full_width; 		// Destination Image Full Width (Virtual screen size)
+	unsigned int dst_full_height; 		// Destination Image Full Height (Virtual screen size)
+	unsigned int dst_start_x; 			// Destination Image Start width offset
+	unsigned int dst_start_y; 			// Destination Image Start height offset
+	unsigned int dst_width; 			// Destination Image Width
+	unsigned int dst_height; 			// Destination Image Height
+	unsigned int dst_buf_addr_phy;		// Base Address of the Destination Image : Physical Address
+	s3c_color_space_t dst_color_space; 	// Color Space of the Destination Image
+
+	s3c_pp_out_path_t out_path; 	    // output and run mode to be used internally
+    s3c_pp_scan_mode_t scan_mode;       // INTERLACE_MODE, PROGRESSIVE_MODE
+
+	unsigned int in_pixel_size;			    // source format size per pixel
+	unsigned int out_pixel_size;		    // destination format size per pixel
+
+    unsigned int instance_no;               // Instance No
+    unsigned int value_changed;             // 0: Parameter is not changed, 1: Parameter is changed 
+    //unsigned int RegisterContext[164];    // Register Context
+} s3c_pp_instance_context_t;
+
+typedef struct {
+	unsigned int pre_h_ratio, pre_v_ratio, h_shift, v_shift, sh_factor;
+	unsigned int pre_dst_width, pre_dst_height, dx, dy;
+} s3c_pp_scaler_info_t;
+
+typedef struct {
+	unsigned int offset_y, offset_cb, offset_cr;
+	unsigned int src_start_y, src_start_cb, src_start_cr;
+	unsigned int src_end_y, src_end_cb, src_end_cr;
+	unsigned int start_pos_y, end_pos_y;
+	unsigned int start_pos_cb, end_pos_cb;
+	unsigned int start_pos_cr, end_pos_cr;
+	unsigned int start_pos_rgb, end_pos_rgb;
+	unsigned int dst_start_rgb, dst_end_rgb;
+	unsigned int src_frm_start_addr;
+
+	unsigned int offset_rgb, out_offset_cb, out_offset_cr;
+	unsigned int out_start_pos_cb, out_start_pos_cr;
+	unsigned int out_end_pos_cb, out_end_pos_cr;
+	unsigned int out_src_start_cb, out_src_start_cr;
+	unsigned int out_src_end_cb, out_src_end_cr;
+} s3c_pp_buf_addr_t;
+
+
+
+
+
+// below functions are used for Post Processor commonly
+void set_data_format(s3c_pp_instance_context_t *pp_instance);
+void set_src_addr(s3c_pp_instance_context_t *pp_instance);
+void set_dest_addr(s3c_pp_instance_context_t *pp_instance);
+void set_src_next_buf_addr(s3c_pp_instance_context_t *pp_instance);
+void set_scaler(s3c_pp_instance_context_t *pp_instance);
+int cal_data_size(s3c_color_space_t color_space, unsigned int width, unsigned int height);
+
+// below functions'body is implemented in each post processor IP file(ex. s3c_pp_6400.c)
+void set_scaler_register(s3c_pp_scaler_info_t *scaler_info, s3c_pp_instance_context_t *pp_instance);
+void set_src_addr_register(s3c_pp_buf_addr_t *buf_addr, s3c_pp_instance_context_t *pp_instance);
+void set_dest_addr_register(s3c_pp_buf_addr_t *buf_addr, s3c_pp_instance_context_t *pp_instance);
+void set_src_next_addr_register(s3c_pp_buf_addr_t *buf_addr, s3c_pp_instance_context_t *pp_instance);
+void set_data_format_register(s3c_pp_instance_context_t *pp_instance);
+
+s3c_pp_state_t post_get_processing_state(void);
+
+#endif // _S3C_PP_COMMON_H_
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/rotator/Kconfig linux-2.6.28.6/drivers/media/video/samsung/rotator/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/rotator/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/rotator/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,13 @@
+#
+# Configuration for rotator
+#
+
+config VIDEO_ROTATOR
+	bool "Samsung Image Rotator Driver" 
+	depends on VIDEO_SAMSUNG && (CPU_S3C6410 || CPU_S5PC100)
+	default n
+	---help---
+	  This is a Rotator for Samsung S3C6410 and S5PC100.
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/rotator/Makefile linux-2.6.28.6/drivers/media/video/samsung/rotator/Makefile
--- linux-2.6.28/drivers/media/video/samsung/rotator/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/rotator/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,10 @@
+#################################################
+# Makefile for Post Processor 
+# 2009 (C) Samsung Electronics 
+# Author : Jaeryul peter Oh <jaeryul.oh@samsung.com>
+#################################################
+
+obj-$(CONFIG_VIDEO_ROTATOR)	+= s3c_rotator.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/rotator/s3c_rotator.c linux-2.6.28.6/drivers/media/video/samsung/rotator/s3c_rotator.c
--- linux-2.6.28/drivers/media/video/samsung/rotator/s3c_rotator.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/rotator/s3c_rotator.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,444 @@
+/* linux/drivers/media/video/samsung/rotator/s3c_rotator.c
+ *
+ * Driver file for Samsung Image Rotator
+ *
+ * Jonghun Han, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/init.h>
+#include <linux/moduleparam.h>
+#include <linux/timer.h>
+#include <linux/platform_device.h>
+#include <linux/interrupt.h>
+#include <linux/clk.h>
+#include <linux/mm.h>
+#include <linux/moduleparam.h>
+#include <linux/errno.h> /* error codes */
+#include <linux/tty.h>
+#include <linux/miscdevice.h>
+#include <linux/version.h>
+#include <linux/module.h>
+#include <linux/delay.h>
+#include <linux/errno.h>
+#include <linux/fs.h>
+#include <linux/kernel.h>
+#include <linux/major.h>
+#include <linux/slab.h>
+#include <linux/poll.h>
+#include <linux/signal.h>
+#include <linux/ioport.h>
+#include <linux/sched.h>
+#include <linux/types.h>
+#include <linux/interrupt.h>
+#include <linux/kmod.h>
+#include <linux/vmalloc.h>
+#include <linux/init.h>
+#include <linux/mutex.h>
+#include <mach/hardware.h>	
+#include <asm/uaccess.h>
+#include <mach/map.h>	
+#include <asm/uaccess.h>
+#include <asm/io.h>
+#include <asm/page.h>
+#include <asm/irq.h>
+#include <linux/semaphore.h>	
+#include <asm/div64.h>
+#include <plat/regs-rotator.h>
+
+#include "s3c_rotator_common.h"
+
+static int s3c_rotator_irq_num = NO_IRQ;
+static struct resource *s3c_rotator_mem;
+static void __iomem *s3c_rotator_base;
+
+static wait_queue_head_t waitq_rotator;
+
+static struct mutex *h_rot_mutex;
+
+static inline void s3c_rotator_set_source(ro_params *params)
+{
+	__raw_writel(S3C_ROT_SRC_HEIGHT(params->src_height) | 
+			S3C_ROT_SRC_WIDTH( params->src_width) , s3c_rotator_base + S3C_ROTATOR_SRCSIZEREG);
+	__raw_writel(params->src_addr_rgb_y, s3c_rotator_base + S3C_ROTATOR_SRCADDRREG0);
+	__raw_writel(params->src_addr_cb, s3c_rotator_base + S3C_ROTATOR_SRCADDRREG1);
+	__raw_writel(params->src_addr_cr, s3c_rotator_base + S3C_ROTATOR_SRCADDRREG2);    
+}
+
+
+static inline void s3c_rotator_set_dest(ro_params *params)
+{
+	__raw_writel(params->dst_addr_rgb_y, s3c_rotator_base + S3C_ROTATOR_DESTADDRREG0);
+	__raw_writel(params->dst_addr_cb, s3c_rotator_base + S3C_ROTATOR_DESTADDRREG1);
+	__raw_writel(params->dst_addr_cr, s3c_rotator_base + S3C_ROTATOR_DESTADDRREG2);    
+}
+
+
+static inline void s3c_rotator_start(ro_params *params, unsigned mode)
+{
+	u32 cfg = 0;
+
+	cfg = __raw_readl(s3c_rotator_base + S3C_ROTATOR_CTRLCFG);
+	cfg &= ~S3C_ROTATOR_CTRLREG_MASK;
+	cfg |= params->src_format | mode;
+
+	__raw_writel(cfg|S3C_ROTATOR_CTRLCFG_START_ROTATE, s3c_rotator_base + S3C_ROTATOR_CTRLCFG);
+}
+
+
+static inline unsigned int s3c_rotator_get_status(void)
+{
+	unsigned int cfg = 0;
+	
+	cfg = __raw_readl(s3c_rotator_base + S3C_ROTATOR_STATCFG);
+	cfg &= S3C_ROTATOR_STATCFG_STATUS_BUSY_MORE;
+
+	return cfg;
+}
+
+
+static void s3c_rotator_enable_int(void)
+{
+	unsigned int cfg;
+
+	cfg = __raw_readl(s3c_rotator_base + S3C_ROTATOR_CTRLCFG);
+	cfg |= S3C_ROTATOR_CTRLCFG_ENABLE_INT;
+
+	__raw_writel(cfg, s3c_rotator_base + S3C_ROTATOR_CTRLCFG);
+}
+
+
+static void s3c_rotator_disable_int(void)
+{
+	unsigned int cfg;
+
+	cfg = __raw_readl(s3c_rotator_base + S3C_ROTATOR_CTRLCFG);
+	cfg &=~ S3C_ROTATOR_CTRLCFG_ENABLE_INT;
+
+	__raw_writel(cfg, s3c_rotator_base + S3C_ROTATOR_CTRLCFG);
+}
+
+
+#if defined(CONFIG_CPU_S3C6410)
+irqreturn_t s3c_rotator_irq(int irq, void *dev_id)
+{
+	__raw_readl(s3c_rotator_base + S3C_ROTATOR_STATCFG);
+
+	wake_up_interruptible(&waitq_rotator);
+
+	return IRQ_HANDLED;
+}
+#elif defined(CONFIG_CPU_S5PC100)
+irqreturn_t s3c_rotator_irq(int irq, void *dev_id)
+{
+	unsigned int cfg;
+
+	cfg = __raw_readl(s3c_rotator_base + S3C_ROTATOR_STATCFG);
+	cfg |= S3C_ROTATOR_STATCFG_INT_PEND;
+
+	__raw_writel(cfg, s3c_rotator_base + S3C_ROTATOR_STATCFG);
+
+	wake_up_interruptible(&waitq_rotator);
+
+	return IRQ_HANDLED;
+}
+#endif
+
+int s3c_rotator_open(struct inode *inode, struct file *file)
+{
+	ro_params	*params;
+
+	// allocating the rotator instance
+	params	= (ro_params *)kmalloc(sizeof(ro_params), GFP_KERNEL);
+	if (params == NULL) {
+		printk(KERN_ERR "Instance memory allocation was failed\n");
+		return -ENOMEM;
+	}
+
+	memset(params, 0, sizeof(ro_params));
+
+	file->private_data	= (ro_params *)params;
+
+	return 0;
+}
+
+
+int s3c_rotator_release(struct inode *inode, struct file *file)
+{
+	ro_params	*params;
+
+	params	= (ro_params *)file->private_data;
+	if (params == NULL) {
+		printk(KERN_ERR "Can't release s3c_rotator!!\n");
+		return -1;
+	}
+
+	kfree(params);
+
+	return 0;
+}
+
+
+static int s3c_rotator_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)
+{
+	ro_params *params;
+	ro_params *parg;
+	unsigned int mode, divisor = 0;
+
+	mutex_lock(h_rot_mutex);
+
+	params	        = (ro_params *)file->private_data;
+	parg	        = (ro_params *)arg;    
+
+	get_user(params->src_width,     &parg->src_width);
+	get_user(params->src_height,    &parg->src_height);
+
+	get_user(params->src_format,    &parg->src_format);
+	get_user(params->src_addr_rgb_y,&parg->src_addr_rgb_y);
+	get_user(params->src_addr_cb,   &parg->src_addr_cb);
+	get_user(params->src_addr_cr,   &parg->src_addr_cr);    
+
+	get_user(params->dst_addr_rgb_y,&parg->dst_addr_rgb_y);    
+	get_user(params->dst_addr_cb,   &parg->dst_addr_cb);    
+	get_user(params->dst_addr_cr,   &parg->dst_addr_cr);    
+
+	if( (params->src_width > 2048) || (params->src_height > 2048)) {
+		printk(KERN_ERR "\n%s: maximum width and height size are 2048\n", __FUNCTION__);
+		return -EINVAL;
+	}
+
+	switch(params->src_format) {
+	case S3C_ROTATOR_CTRLCFG_INPUT_YUV420:
+		divisor = 8;
+		break;
+
+	case S3C_ROTATOR_CTRLCFG_INPUT_YUV422:	/* fall through */
+	case S3C_ROTATOR_CTRLCFG_INPUT_RGB565:	
+		divisor = 2;
+		break;
+
+	case S3C_ROTATOR_CTRLCFG_INPUT_RGB888:
+		divisor = 1;
+		break;
+
+	default :
+		printk(KERN_ERR "requested src type is not supported!! plz check src format!!\n");
+		break;
+	}
+	
+	if((params->src_width % divisor) || (params->src_height % divisor)) {
+		printk(KERN_ERR "\n%s: src & dst size is aligned to %d pixel boundary\n", __FUNCTION__, divisor);
+		mutex_unlock(h_rot_mutex);
+		return -EINVAL;
+	}
+
+	switch(cmd) {
+	case ROTATOR_90:   
+		mode = S3C_ROTATOR_CTRLCFG_DEGREE_90    | S3C_ROTATOR_CTRLCFG_FLIP_BYPASS;
+		break;
+
+	case ROTATOR_180:   
+		mode = S3C_ROTATOR_CTRLCFG_DEGREE_180   | S3C_ROTATOR_CTRLCFG_FLIP_BYPASS;
+		break;
+
+	case ROTATOR_270:   
+		mode = S3C_ROTATOR_CTRLCFG_DEGREE_270   | S3C_ROTATOR_CTRLCFG_FLIP_BYPASS;
+		break;
+
+	case HFLIP:   
+		mode = S3C_ROTATOR_CTRLCFG_DEGREE_BYPASS| S3C_ROTATOR_CTRLCFG_FLIP_HOR;
+		break;
+
+	case VFLIP:   
+		mode = S3C_ROTATOR_CTRLCFG_DEGREE_BYPASS| S3C_ROTATOR_CTRLCFG_FLIP_VER;
+		break;
+
+	default:
+		return -EINVAL;
+	}
+
+	s3c_rotator_set_source(params);
+	s3c_rotator_set_dest(params);
+	s3c_rotator_start(params, mode);
+
+	if(!(file->f_flags & O_NONBLOCK)) {
+		if (interruptible_sleep_on_timeout(&waitq_rotator, ROTATOR_TIMEOUT) == 0) {
+			printk(KERN_ERR "\n%s: Waiting for interrupt is timeout\n", __FUNCTION__);
+		}
+	}
+
+	mutex_unlock(h_rot_mutex);
+
+	return 0;
+}
+
+
+static unsigned int s3c_rotator_poll(struct file *file, poll_table *wait)
+{
+	unsigned int mask = 0;
+
+	poll_wait(file, &waitq_rotator, wait);
+
+	if (S3C_ROTATOR_IDLE == s3c_rotator_get_status()) {
+		mask = POLLOUT|POLLWRNORM;
+	}
+
+	return mask;
+}
+
+
+struct file_operations s3c_rotator_fops = {
+	.owner      = THIS_MODULE,
+	.open       = s3c_rotator_open,
+	.release    = s3c_rotator_release,
+	.ioctl      = s3c_rotator_ioctl,
+	.poll       = s3c_rotator_poll,
+};
+
+
+static struct miscdevice s3c_rotator_dev = {
+	.minor		= ROTATOR_MINOR,
+	.name		= "s3c-rotator",
+	.fops		= &s3c_rotator_fops,
+};
+
+
+int s3c_rotator_probe(struct platform_device *pdev)
+{
+	struct resource *res;
+        	int ret;
+
+	printk(KERN_INFO "s3c_rotator_probe called\n");
+
+	/* find the IRQs */
+	s3c_rotator_irq_num = platform_get_irq(pdev, 0);
+	if(s3c_rotator_irq_num <= 0) {
+		printk(KERN_ERR "failed to get irq resource\n");
+		return -ENOENT;
+	}
+
+	ret = request_irq(s3c_rotator_irq_num, s3c_rotator_irq, IRQF_DISABLED, pdev->name, NULL);
+	if (ret) {
+		printk("request_irq(Rotator) failed.\n");
+		return ret;
+	}
+
+	/* get the memory region */
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if(res == NULL) {
+		printk(KERN_ERR "failed to get memory region resouce\n");
+		return -ENOENT;
+	}
+
+	s3c_rotator_mem = request_mem_region(res->start, res->end - res->start + 1, pdev->name);
+	if(s3c_rotator_mem == NULL) {
+		printk(KERN_ERR "failed to reserved memory region\n");
+		return -ENOENT;
+	}
+
+	s3c_rotator_base = ioremap(s3c_rotator_mem->start, s3c_rotator_mem->end - res->start + 1);
+	if(s3c_rotator_base == NULL) {
+		printk(KERN_ERR "failed ioremap\n");
+		return -ENOENT;
+	}
+
+	s3c_rotator_enable_int();
+
+	init_waitqueue_head(&waitq_rotator);
+
+	ret = misc_register(&s3c_rotator_dev);
+	if (ret) {
+		printk (KERN_ERR "cannot register miscdev on minor=%d (%d)\n", ROTATOR_MINOR, ret);
+		return ret;
+	}
+
+	h_rot_mutex = (struct mutex *)kmalloc(sizeof(struct mutex), GFP_KERNEL);
+	if (h_rot_mutex == NULL) {
+		printk (KERN_ERR "cannot allocate rotator mutex\n");
+		return -ENOENT;
+	}
+	
+	mutex_init(h_rot_mutex);
+
+	printk("s3c_rotator_probe success\n");
+    
+	return 0;  
+}
+
+
+static int s3c_rotator_remove(struct platform_device *dev)
+{
+	free_irq(s3c_rotator_irq_num, NULL);
+	
+	if (s3c_rotator_mem != NULL) {   
+		printk(KERN_INFO "S3C Rotator Driver, releasing resource\n");
+		iounmap(s3c_rotator_base);
+		release_resource(s3c_rotator_mem);
+		kfree(s3c_rotator_mem);
+	}
+	
+	misc_deregister(&s3c_rotator_dev);
+
+	return 0;
+}
+
+
+static int s3c_rotator_suspend(struct platform_device *dev, pm_message_t state)
+{
+	return 0;
+}
+
+
+static int s3c_rotator_resume(struct platform_device *pdev)
+{
+	return 0;
+}
+
+
+static struct platform_driver s3c_rotator_driver = {
+       .probe		= s3c_rotator_probe,
+       .remove		= s3c_rotator_remove,
+       .suspend		= s3c_rotator_suspend,
+       .resume		= s3c_rotator_resume,
+       .driver		= {
+		    .owner	= THIS_MODULE,
+		    .name	= "s3c-rotator",
+	},
+};
+
+
+static char banner[] __initdata = KERN_INFO "S3C Rotator Driver, (c) 2008 Samsung Electronics\n";
+
+int __init s3c_rotator_init(void)
+{
+ 	unsigned int ret;
+	printk(banner);
+	
+	ret = platform_driver_register(&s3c_rotator_driver);
+	if( ret != 0) {
+		printk(KERN_ERR "s3c_rotator_driver platform device register failed\n");
+		return -1;
+	}
+
+	return 0;
+}
+
+
+void  s3c_rotator_exit(void)
+{
+	platform_driver_unregister(&s3c_rotator_driver);
+	mutex_destroy(h_rot_mutex);
+	
+	printk("s3c rotator module exit\n");
+}
+
+module_init(s3c_rotator_init);
+module_exit(s3c_rotator_exit);
+
+MODULE_AUTHOR("Jonghun Han <jonghun.han@samsung.com>");
+MODULE_DESCRIPTION("S3C Rotator Device Driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/rotator/s3c_rotator_common.h linux-2.6.28.6/drivers/media/video/samsung/rotator/s3c_rotator_common.h
--- linux-2.6.28/drivers/media/video/samsung/rotator/s3c_rotator_common.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/rotator/s3c_rotator_common.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,31 @@
+#ifndef _S3C_ROTATOR_COMMON_H_
+#define _S3C_ROTATOR_COMMON_H_
+
+#define ROTATOR_IOCTL_MAGIC 'R'
+
+#define ROTATOR_MINOR			230
+#define ROTATOR_TIMEOUT			100	// normally 800 * 480 * 2 rotation takes about 20ms
+
+
+#define ROTATOR_90			_IO(ROTATOR_IOCTL_MAGIC, 0)
+#define ROTATOR_180			_IO(ROTATOR_IOCTL_MAGIC, 1)
+#define ROTATOR_270			_IO(ROTATOR_IOCTL_MAGIC, 2)
+#define HFLIP				_IO(ROTATOR_IOCTL_MAGIC, 3)
+#define VFLIP				_IO(ROTATOR_IOCTL_MAGIC, 4)
+
+
+typedef struct{
+	unsigned int src_width;			// Source Image Full Width
+	unsigned int src_height;		// Source Image Full Height
+	unsigned int src_addr_rgb_y; 		// Base Address of the Source Image (RGB or Y) : Physical Address
+	unsigned int src_addr_cb;		// Base Address of the Source Image (CB Component) : Physical Address
+	unsigned int src_addr_cr;		// Base Address of the Source Image (CR Component) : Physical Address	
+	unsigned int src_format;		// Color Space of the Source Image YUV420(non-interleave)/YUV422(interleave)/RGB565/RGB888
+
+	unsigned int dst_addr_rgb_y;		// Base Address of the Destination Image (RGB or Y) : Physical Address
+	unsigned int dst_addr_cb;		// Base Address of the Destination Image (CB Component) : Physical Address
+	unsigned int dst_addr_cr;		// Base Address of the Destination Image (CR Component) : Physical Address		
+}ro_params;
+
+#endif // _S3C_ROTATOR_COMMON_H_
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/tv/Kconfig linux-2.6.28.6/drivers/media/video/samsung/tv/Kconfig
--- linux-2.6.28/drivers/media/video/samsung/tv/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/tv/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,11 @@
+#
+# Configuration for Post Porcessor
+#
+
+config VIDEO_TV
+	bool "Samsung TV Driver" 
+	depends on VIDEO_SAMSUNG && CPU_S3C6410
+	default n
+	---help---
+	  This is a TV driver for Samsung S3C6410.
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/tv/Makefile linux-2.6.28.6/drivers/media/video/samsung/tv/Makefile
--- linux-2.6.28/drivers/media/video/samsung/tv/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/tv/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,13 @@
+#################################################
+# Makefile for Post Processor 
+# 2007 (C) Samsung Electronics 
+# Author : SungJun Bae <june.bae@samsung.com>
+#################################################
+
+obj-$(CONFIG_VIDEO_TV)	+= s3c-tvenc.o s3c-tvscaler.o
+
+EXTRA_CFLAGS += -Idrivers/media/video
+
+ifeq ($(CONFIG_VIDEO_TV_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/tv/s3c-tvenc.c linux-2.6.28.6/drivers/media/video/samsung/tv/s3c-tvenc.c
--- linux-2.6.28/drivers/media/video/samsung/tv/s3c-tvenc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/tv/s3c-tvenc.c	2010-05-19 05:17:26.000000000 +0200
@@ -0,0 +1,1497 @@
+/* linux/drivers/media/video/samsung/tv/s3c-tvenc.c
+ *
+ * Driver file for Samsung TV Encoder
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/types.h>
+#include <linux/timer.h>
+#include <linux/kernel.h>
+#include <linux/fs.h>
+#include <linux/platform_device.h>
+#include <linux/interrupt.h>
+#include <linux/clk.h>
+#include <linux/delay.h>
+#include <asm/uaccess.h>
+#include <linux/errno.h> /* error codes */
+#include <asm/div64.h>
+#include <linux/mm.h>
+#include <linux/tty.h>
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <mach/hardware.h>
+#include <asm/uaccess.h>
+#include <mach/map.h>
+
+#include <plat/regs-tvenc.h>
+#include <plat/regs-lcd.h>
+#include <media/v4l2-common.h>
+
+#include <linux/videodev.h>
+
+#include "s3c-tvenc.h"
+
+#define PFX "s3c_tvenc"
+
+static struct clk *tvenc_clock;
+static struct clk *h_clk;
+static int s3c_tvenc_irq = NO_IRQ;
+static struct resource *s3c_tvenc_mem;
+static void __iomem *base;
+static wait_queue_head_t waitq;
+static tv_out_params_t tv_param = {0,};
+
+/* Backup SFR value */
+static u32 backup_reg[2];
+
+
+/* Structure that declares the access functions*/
+
+static void s3c_tvenc_switch(tv_enc_switch_t sw)
+{
+	if(sw == OFF) {
+		__raw_writel(__raw_readl(base + S3C_TVCTRL)
+			&~ S3C_TVCTRL_ON, base + S3C_TVCTRL);
+	} else if(sw == ON) {
+		__raw_writel(__raw_readl(base + S3C_TVCTRL)
+			| S3C_TVCTRL_ON, base + S3C_TVCTRL);
+	} else
+		printk("Error func:%s line:%d\n", __FUNCTION__, __LINE__);
+}
+
+static void s3c_tvenc_set_image_size(u32 width, u32 height)
+{
+	__raw_writel(IIS_WIDTH(width)| IIS_HEIGHT(height), 
+		base + S3C_INIMAGESIZE);
+}
+
+#if 0
+static void s3c_tvenc_enable_macrovision(tv_standard_t tvmode, macro_pattern_t pattern)
+{
+	switch(pattern) {
+	case AGC4L :
+		break;
+	case AGC2L :
+		break;
+	case N01 :
+		break;
+	case N02 :
+		break;
+	case P01 :
+		break;
+	case P02 :	
+		break;
+	default :
+		break;
+	}
+}
+
+static void s3c_tvenc_disable_macrovision(void)
+{
+	__raw_writel(__raw_readl(base + S3C_MACROVISION0) 
+		&~0xff, base + S3C_MACROVISION0);
+}
+#endif
+
+static void s3c_tvenc_set_tv_mode(tv_standard_t mode, tv_conn_type_t out)
+{
+	u32 signal_type = 0, output_type = 0;
+	
+	switch(mode) {
+	case PAL_N :
+		__raw_writel(VBP_VEFBPD_PAL|VBP_VOFBPD_PAL, 
+			base + S3C_VBPORCH);
+		__raw_writel(HBP_HSPW_PAL|HBP_HBPD_PAL, 
+			base + S3C_HBPORCH);
+		__raw_writel(HEO_DTO_PAL|HEO_HEOV_PAL, 
+			base + S3C_HENHOFFSET);
+		__raw_writel(EPC_PED_ON, 
+			base + S3C_PEDCTRL);
+		__raw_writel(YFB_YBW_26|YFB_CBW_06,
+			base + S3C_YCFILTERBW);
+		__raw_writel(SSC_HSYNC_PAL, 
+			base + S3C_SYNCSIZECTRL);
+		__raw_writel(BSC_BEND_PAL|BSC_BSTART_PAL, 
+			base + S3C_BURSTCTRL);
+		__raw_writel(MBS_BSTART_PAL, 
+			base + S3C_MACROBURSTCTRL);
+		__raw_writel(AVP_AVEND_PAL|AVP_AVSTART_PAL, 
+			base + S3C_ACTVIDPOCTRL);
+		break;
+	case PAL_NC :
+	case PAL_BGHID :
+		__raw_writel(VBP_VEFBPD_PAL|VBP_VOFBPD_PAL, 
+			base + S3C_VBPORCH);
+		__raw_writel(HBP_HSPW_PAL|HBP_HBPD_PAL, 
+			base + S3C_HBPORCH);
+		__raw_writel(HEO_DTO_PAL|HEO_HEOV_PAL, 
+			base + S3C_HENHOFFSET);
+		__raw_writel(EPC_PED_OFF, 
+			base + S3C_PEDCTRL);
+		__raw_writel(YFB_YBW_26|YFB_CBW_06,
+			base + S3C_YCFILTERBW);
+		__raw_writel(SSC_HSYNC_PAL, 
+			base + S3C_SYNCSIZECTRL);
+		__raw_writel(BSC_BEND_PAL|BSC_BSTART_PAL, 
+			base + S3C_BURSTCTRL);
+		__raw_writel(MBS_BSTART_PAL, 
+			base + S3C_MACROBURSTCTRL);
+		__raw_writel(AVP_AVEND_PAL|AVP_AVSTART_PAL, 
+			base + S3C_ACTVIDPOCTRL);
+		break;
+	case NTSC_443 :
+		__raw_writel(VBP_VEFBPD_NTSC|VBP_VOFBPD_NTSC, 
+			base + S3C_VBPORCH);
+		__raw_writel(HBP_HSPW_NTSC|HBP_HBPD_NTSC, 
+			base + S3C_HBPORCH);
+		__raw_writel(HEO_DTO_NTSC|HEO_HEOV_NTSC, 
+			base + S3C_HENHOFFSET);
+		__raw_writel(EPC_PED_ON, 
+			base + S3C_PEDCTRL);
+		__raw_writel(YFB_YBW_26|YFB_CBW_06, 
+			base + S3C_YCFILTERBW);
+		__raw_writel(SSC_HSYNC_NTSC, 
+			base + S3C_SYNCSIZECTRL);
+		__raw_writel(BSC_BEND_NTSC|BSC_BSTART_NTSC, 
+			base + S3C_BURSTCTRL);
+		__raw_writel(MBS_BSTART_NTSC, 
+			base + S3C_MACROBURSTCTRL);
+		__raw_writel(AVP_AVEND_NTSC|AVP_AVSTART_NTSC, 
+			base + S3C_ACTVIDPOCTRL);
+		break;
+	case NTSC_J :
+		__raw_writel(VBP_VEFBPD_NTSC|VBP_VOFBPD_NTSC, 
+			base + S3C_VBPORCH);
+		__raw_writel(HBP_HSPW_NTSC|HBP_HBPD_NTSC, 
+			base + S3C_HBPORCH);
+		__raw_writel(HEO_DTO_NTSC|HEO_HEOV_NTSC, 
+			base + S3C_HENHOFFSET);
+		__raw_writel(EPC_PED_OFF, 
+			base + S3C_PEDCTRL);
+		__raw_writel(YFB_YBW_21|YFB_CBW_06, 
+			base + S3C_YCFILTERBW);
+		__raw_writel(SSC_HSYNC_NTSC, 
+			base + S3C_SYNCSIZECTRL);
+		__raw_writel(BSC_BEND_NTSC|BSC_BSTART_NTSC, 
+			base + S3C_BURSTCTRL);
+		__raw_writel(MBS_BSTART_NTSC, 
+			base + S3C_MACROBURSTCTRL);
+		__raw_writel(AVP_AVEND_NTSC|AVP_AVSTART_NTSC, 
+			base + S3C_ACTVIDPOCTRL);
+		break;
+	case PAL_M 	:	
+	case NTSC_M	:
+	default :			
+		__raw_writel(VBP_VEFBPD_NTSC|VBP_VOFBPD_NTSC, 
+			base + S3C_VBPORCH);
+		__raw_writel(HBP_HSPW_NTSC|HBP_HBPD_NTSC, 
+			base + S3C_HBPORCH);
+		__raw_writel(HEO_DTO_NTSC|HEO_HEOV_NTSC, 
+			base + S3C_HENHOFFSET);
+		__raw_writel(EPC_PED_ON, 
+			base + S3C_PEDCTRL);
+		__raw_writel(YFB_YBW_21|YFB_CBW_06, 
+			base + S3C_YCFILTERBW);
+		__raw_writel(SSC_HSYNC_NTSC, 
+			base + S3C_SYNCSIZECTRL);
+		__raw_writel(BSC_BEND_NTSC|BSC_BSTART_NTSC, 
+			base + S3C_BURSTCTRL);
+		__raw_writel(MBS_BSTART_NTSC, 
+			base + S3C_MACROBURSTCTRL);
+		__raw_writel(AVP_AVEND_NTSC|AVP_AVSTART_NTSC, 
+			base + S3C_ACTVIDPOCTRL);
+		break;			
+	}
+
+	if(out == S_VIDEO) {
+		__raw_writel(YFB_YBW_60|YFB_CBW_06, 
+			base + S3C_YCFILTERBW);
+		output_type = S3C_TVCTRL_OUTTYPE_S;
+	} else
+		output_type = S3C_TVCTRL_OUTTYPE_C;
+
+	switch(mode) {
+	case NTSC_M :
+		signal_type = S3C_TVCTRL_OUTFMT_NTSC_M;
+		break;
+	case NTSC_J :
+		signal_type = S3C_TVCTRL_OUTFMT_NTSC_J;
+		break;
+	case PAL_BGHID :
+		signal_type = S3C_TVCTRL_OUTFMT_PAL_BDG;
+		break;
+	case PAL_M :
+		signal_type = S3C_TVCTRL_OUTFMT_PAL_M;
+		break;
+	case PAL_NC :
+		signal_type = S3C_TVCTRL_OUTFMT_PAL_NC;
+		break;
+	default:
+		printk("s3c_tvenc_set_tv_mode : No matching signal_type!\n");
+		break;
+	}
+
+	__raw_writel((__raw_readl(base + S3C_TVCTRL)
+		&~(0x1f<<4))| output_type | signal_type, 
+		base + S3C_TVCTRL);
+
+	__raw_writel(0x01, base + S3C_FSCAUXCTRL);
+}
+
+#if 0
+static void s3c_tvenc_set_pedestal(tv_enc_switch_t sw)
+{
+	if(sw)
+		__raw_writel(EPC_PED_ON, base + S3C_PEDCTRL);
+	else
+		__raw_writel(EPC_PED_OFF, base + S3C_PEDCTRL);
+}
+
+static void s3c_tvenc_set_sub_carrier_freq(u32 freq)
+{
+	__raw_writel(FSC_CTRL(freq), base + S3C_FSCCTRL);
+}
+
+static void s3c_tvenc_set_fsc_dto(u32 val)
+{
+	unsigned int temp;
+
+	temp = (0x1<<31)|(val&0x7fffffff);
+	__raw_writel(temp, base + S3C_FSCDTOMANCTRL);
+}
+
+static void s3c_tvenc_disable_fsc_dto(void)
+{
+	__raw_writel(__raw_readl(base + S3C_FSCDTOMANCTRL)&~(1<<31), 
+		base + S3C_FSCDTOMANCTRL);
+}
+
+static void s3c_tvenc_set_bg(u32 soft_mix, u32 color, u32 lum_offset)
+{
+	unsigned int bg_color;
+	switch(color) {
+	case 0 :
+		bg_color = BGC_BGCS_BLACK;
+		break;
+	case 1 :
+		bg_color = BGC_BGCS_BLUE;
+		break;
+	case 2 :
+		bg_color = BGC_BGCS_RED;
+		break;
+	case 3 :
+		bg_color = BGC_BGCS_MAGENTA;
+		break;
+	case 4 :
+		bg_color = BGC_BGCS_GREEN;
+		break;
+	case 5 :
+		bg_color = BGC_BGCS_CYAN;
+		break;
+	case 6 :
+		bg_color = BGC_BGCS_YELLOW;
+		break;
+	case 7 :
+		bg_color = BGC_BGCS_WHITE;
+		break;	
+	}
+	if(soft_mix)
+		__raw_writel(BGC_SME_ENA|bg_color|BGC_BGYOFS(lum_offset), 
+		base + S3C_BGCTRL);
+	else
+		__raw_writel(BGC_SME_DIS|bg_color|BGC_BGYOFS(lum_offset), 
+		base + S3C_BGCTRL);
+		
+}
+
+static void s3c_tvenc_set_bg_vav_hav(u32 hav_len, u32 vav_len, u32 hav_st, u32 vav_st)
+{
+	__raw_writel(BVH_BG_HL(hav_len)|BVH_BG_HS(hav_st)|BVH_BG_VL(vav_len)|BVH_BG_VS(vav_st), 
+		base + S3C_BGHVAVCTRL);
+}
+#endif
+
+static void s3c_tvenc_set_hue_phase(u32 phase_val)
+{
+	__raw_writel(HUE_CTRL(phase_val), 
+		base + S3C_HUECTRL);
+}
+
+#if 0
+static u32 s3c_tvenc_get_hue_phase(void)
+{
+	return __raw_readl(base + S3C_HUECTRL)&0xff;
+}
+#endif
+
+static void s3c_tvenc_set_contrast(u32 contrast)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_CONTRABRIGHT);
+
+	__raw_writel((temp &~0xff)|contrast, 
+		base + S3C_CONTRABRIGHT);
+}
+
+#if 0
+static u32 s3c_tvenc_get_contrast(void)
+{
+	return (__raw_readl(base + S3C_CONTRABRIGHT)&0xff);
+}
+#endif
+
+static void s3c_tvenc_set_bright(u32 bright)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_CONTRABRIGHT);
+
+	__raw_writel((temp &~(0xff<<16))| (bright<<16), 
+		base + S3C_CONTRABRIGHT);
+}
+
+#if 0
+static u32 s3c_tvenc_get_bright(void)
+{
+	return ((__raw_readl(base + S3C_CONTRABRIGHT)&(0xff<<16))>>16);
+}
+
+
+static void s3c_tvenc_set_cbgain(u32 cbgain)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_CBCRGAINCTRL);
+
+	__raw_writel((temp &~0xff)|cbgain, 
+		base + S3C_CBCRGAINCTRL);
+}
+
+
+static u32 s3c_tvenc_get_cbgain(void)
+{
+	return (__raw_readl(base + S3C_CBCRGAINCTRL)&0xff);
+}
+
+static void s3c_tvenc_set_crgain(u32 crgain)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_CBCRGAINCTRL);
+
+	__raw_writel((temp &~(0xff<<16))| (crgain<<16), 
+		base + S3C_CBCRGAINCTRL);
+}
+
+static u32 s3c_tvenc_get_crgain(void)
+{
+	return ((__raw_readl(base + S3C_CBCRGAINCTRL)&(0xff<<16))>>16);
+}
+#endif
+
+static void s3c_tvenc_enable_gamma_control(tv_enc_switch_t enable)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_GAMMACTRL);
+	if(enable == ON)
+		temp |= (1<<12);
+	else
+		temp &= ~(1<<12);
+
+	__raw_writel(temp, base + S3C_GAMMACTRL);
+}
+
+static void s3c_tvenc_set_gamma_gain(u32 ggain)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_GAMMACTRL);
+
+	__raw_writel((temp &~(0x7<<8))| (ggain<<8), 
+		base + S3C_GAMMACTRL);
+}
+
+#if 0
+static u32 s3c_tvenc_get_gamma_gain(void)
+{
+	return ((__raw_readl(base + S3C_GAMMACTRL)&(0x7<<8))>>8);
+}
+
+static void s3c_tvenc_enable_mute_control(tv_enc_switch_t enable)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_GAMMACTRL);
+	if(enable == ON)
+		temp |= (1<<12);
+	else
+		temp &= ~(1<<12);
+
+	__raw_writel(temp, base + S3C_GAMMACTRL);
+}
+
+static void s3c_tvenc_set_mute(u32 y, u32 cb, u32 cr)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_MUTECTRL);
+
+	temp &=~(0xffffff<<8);
+	temp |= (cr & 0xff)<<24;
+	temp |= (cb & 0xff)<<16;
+	temp |= (y & 0xff)<<8;
+
+	__raw_writel(temp, base + S3C_MUTECTRL);
+}
+
+static void s3c_tvenc_get_mute(u32 *y, u32 *cb, u32 *cr)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_MUTECTRL);
+
+	*y = (temp&(0xff<<8))>>8;	
+	*cb = (temp&(0xff<<16))>>16;	
+	*cr = (temp&(0xff<<24))>>24;	
+}
+#endif
+
+static void s3c_tvenc_get_active_win_center(u32 *vert, u32 *horz)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_HENHOFFSET);
+
+	*vert = (temp&(0x3f<<24))>>24;
+	*horz = (temp&(0xff<<16))>>16;
+}
+
+static void s3c_tvenc_set_active_win_center(u32 vert, u32 horz)
+{
+	u32 temp;
+
+	temp = __raw_readl(base + S3C_HENHOFFSET);
+
+	temp &=~(0x3ffff<<16);
+	temp |= (vert&0x3f)<<24;
+	temp |= (horz&0xff)<<16;
+
+	__raw_writel(temp, base + S3C_HENHOFFSET);
+}
+
+// LCD display controller configuration functions
+static void s3c_lcd_set_output_path(lcd_local_output_t out)
+{
+#if 0	// peter for 2.6.21 kernel	
+	s3c_fb_set_output_path(out);
+#else	// peter for 2.6.24 kernel
+	s3cfb_set_output_path(out);
+#endif
+}
+
+static void s3c_lcd_set_clkval(u32 clkval)
+{
+#if 0	// peter for 2.6.21 kernel	
+	s3c_fb_set_clkval(clkval);
+#else	// peter for 2.6.24 kernel
+	s3cfb_set_clock(clkval);
+#endif
+}
+
+static void s3c_lcd_enable_rgbport(u32 on_off)
+{
+#if 0	// peter for 2.6.21 kernel	
+	s3c_fb_enable_rgbport(on_off);
+#else	// peter for 2.6.24 kernel
+	s3cfb_enable_rgbport(on_off);
+#endif
+}
+
+static void s3c_lcd_start(void)
+{
+#if 0	// peter for 2.6.21 kernel	
+	s3c_fb_start_lcd();
+#else	// peter for 2.6.24 kernel
+	s3cfb_start_lcd();
+#endif
+}
+
+static void s3c_lcd_stop(void)
+{
+#if 0	// peter for 2.6.21 kernel		
+	s3c_fb_stop_lcd();
+#else	// peter for 2.6.24 kernel
+	s3cfb_stop_lcd();
+#endif
+}
+
+
+static void s3c_lcd_set_config(void)
+{
+	backup_reg[0] = __raw_readl(S3C_VIDCON0);
+	backup_reg[1] = __raw_readl(S3C_VIDCON2);
+
+	s3c_lcd_set_output_path(LCD_TVRGB);
+	tv_param.lcd_output_mode = LCD_TVRGB;
+	
+	s3c_lcd_set_clkval(4);
+	s3c_lcd_enable_rgbport(1);	
+}
+
+static void s3c_lcd_exit_config(void)
+{
+	__raw_writel(backup_reg[0], S3C_VIDCON0);
+	__raw_writel(backup_reg[1], S3C_VIDCON2);
+	tv_param.lcd_output_mode = LCD_RGB;
+}
+
+static int scaler_test_start(void)
+{
+	tv_param.sp.DstFullWidth = 640;
+	tv_param.sp.DstFullHeight= 480;
+	tv_param.sp.DstCSpace = RGB16;
+	
+	s3c_tvscaler_config(&tv_param.sp);
+
+	s3c_tvscaler_int_enable(1);
+
+	s3c_tvscaler_start();
+
+	return 0;
+}
+
+static int scaler_test_stop(void)
+{
+	s3c_tvscaler_int_disable();
+
+	return 0;
+}
+
+
+static int tvout_start(void)
+{
+	u32 width, height;
+	tv_standard_t type;
+	tv_conn_type_t conn;
+
+	tv_param.sp.DstFullWidth *= 2;		// For TV OUT
+	
+	width = tv_param.sp.DstFullWidth;
+	height = tv_param.sp.DstFullHeight;
+	type = tv_param.sig_type;
+	conn = tv_param.connect;
+
+	/* Set TV-SCALER parameter */
+	switch(tv_param.v2.input->type) {
+	case V4L2_INPUT_TYPE_FIFO:		// LCD FIFO-OUT
+		tv_param.sp.Mode = FREE_RUN;
+		tv_param.sp.DstCSpace = YCBYCR;
+		/* Display controller setting */
+		s3c_lcd_stop();
+		s3c_lcd_set_config();
+		break;
+	case V4L2_INPUT_TYPE_MSDMA:		// MSDMA		
+		tv_param.sp.Mode = FREE_RUN;		
+		tv_param.sp.DstCSpace = YCBYCR;			
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	s3c_tvenc_set_tv_mode(type, conn);	
+	s3c_tvenc_set_image_size(width, height);	
+	s3c_tvenc_switch(ON);
+	
+	s3c_tvscaler_config(&tv_param.sp);	// for setting DstStartX/Y, DstWidth/Height
+	s3c_tvscaler_set_interlace(1);
+	if(tv_param.v2.input->type == V4L2_INPUT_TYPE_FIFO)
+		s3c_tvscaler_int_disable();
+	else
+		s3c_tvscaler_int_enable(1);
+	s3c_tvscaler_start();
+
+	if(tv_param.v2.input->type == V4L2_INPUT_TYPE_FIFO)
+		s3c_lcd_start();
+	
+	return 0;
+}
+
+static int tvout_stop(void)
+{
+
+	s3c_tvscaler_set_interlace(0);
+	s3c_tvscaler_stop_freerun();
+	s3c_tvscaler_int_disable();
+	s3c_tvenc_switch(OFF);
+	
+	switch(tv_param.v2.input->type) {
+	case V4L2_INPUT_TYPE_FIFO:	// LCD FIFO-OUT
+		/* Display controller setting */
+		s3c_lcd_stop();
+		s3c_lcd_exit_config();
+		s3c_lcd_start();
+		break;
+	default:
+		break;
+	}
+	return 0;
+}
+
+/* ------------------------------------------ V4L2 SUPPORT ----------------------------------------------*/
+/* ------------- In FIFO and MSDMA, v4l2_input supported by S3C TVENC controller ------------------*/
+static struct v4l2_input tvenc_inputs[] = {
+	{
+		.index		= 0,
+		.name		= "LCD FIFO_OUT",
+		.type		= V4L2_INPUT_TYPE_FIFO,
+		.audioset		= 1,
+		.tuner		= 0, /* ignored */
+		.std			= 0,
+		.status		= 0,
+	}, 
+	{
+		.index		= 1,
+		.name		= "Memory input (MSDMA)",
+		.type		= V4L2_INPUT_TYPE_MSDMA,
+		.audioset		= 2,
+		.tuner		= 0,
+		.std			= 0,
+		.status		= 0,
+	} 
+};
+
+/* ------------ Out FIFO and MADMA, v4l2_output supported by S3C TVENC controller ----------------*/
+static struct v4l2_output tvenc_outputs[] = {
+	{
+		.index		= 0,
+		.name		= "TV-OUT",
+		.type		= V4L2_OUTPUT_TYPE_ANALOG,
+		.audioset		= 0,
+		.modulator	= 0,
+		.std			= V4L2_STD_PAL | V4L2_STD_NTSC_M,
+	}, 
+	{
+		.index		= 1,
+		.name		= "Memory output (MSDMA)",
+		.type		= V4L2_OUTPUT_TYPE_MSDMA,
+		.audioset		= 0,
+		.modulator	= 0, 
+		.std			= 0,
+	}, 
+
+};
+
+const struct v4l2_fmtdesc tvenc_input_formats[] = {
+	{
+		.index    = 0,
+		.type     = V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.description = "16 bpp RGB, le",
+		.pixelformat   = V4L2_PIX_FMT_RGB565,
+		.flags    = FORMAT_FLAGS_PACKED,
+	},
+	{
+		.index    = 1,
+		.type     = V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags    = FORMAT_FLAGS_PACKED,
+		.description = "24 bpp RGB, le",
+		.pixelformat   = V4L2_PIX_FMT_RGB24,
+	},
+	{
+		.index     = 2,
+		.type      = V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags     = FORMAT_FLAGS_PLANAR,
+		.description = "4:2:2, planar, Y-Cb-Cr",
+		.pixelformat = V4L2_PIX_FMT_YUV422P,
+
+	},
+	{
+		.index    = 3,
+		.type     = V4L2_BUF_TYPE_VIDEO_CAPTURE,
+		.flags    = FORMAT_FLAGS_PLANAR,
+		.description     = "4:2:0, planar, Y-Cb-Cr",
+		.pixelformat   = V4L2_PIX_FMT_YUV420,
+	}
+};
+
+
+const struct v4l2_fmtdesc tvenc_output_formats[] = {
+	{
+		.index    = 0,
+		.type     = V4L2_BUF_TYPE_VIDEO_OUTPUT,
+		.description = "16 bpp RGB, le",
+		.pixelformat   = V4L2_PIX_FMT_RGB565,
+		.flags    = FORMAT_FLAGS_PACKED,
+	},
+	{
+		.index    = 1,
+		.type     = V4L2_BUF_TYPE_VIDEO_OUTPUT,
+		.flags    = FORMAT_FLAGS_PACKED,
+		.description = "24 bpp RGB, le",
+		.pixelformat   = V4L2_PIX_FMT_RGB24,
+	},
+	{
+		.index     = 2,
+		.type      = V4L2_BUF_TYPE_VIDEO_OUTPUT,
+		.flags     = FORMAT_FLAGS_PLANAR,
+		.description = "4:2:2, planar, Y-Cb-Cr",
+		.pixelformat = V4L2_PIX_FMT_YUV422P,
+
+	},
+	{
+		.index    = 3,
+		.type     = V4L2_BUF_TYPE_VIDEO_OUTPUT,
+		.flags    = FORMAT_FLAGS_PLANAR,
+		.description     = "4:2:0, planar, Y-Cb-Cr",
+		.pixelformat   = V4L2_PIX_FMT_YUV420,
+	}
+};
+
+const struct v4l2_standard tvout_standards[] = {
+	{
+		.index    = 0,
+		.id     = V4L2_STD_NTSC_M,
+		.name = "NTSC type",
+	},
+	{
+		.index    = 1,
+		.id     = V4L2_STD_PAL,
+		.name = "PAL type",
+	}	
+};
+
+#define NUMBER_OF_INPUT_FORMATS  	ARRAY_SIZE(tvenc_input_formats)
+#define NUMBER_OF_OUTPUT_FORMATS  	ARRAY_SIZE(tvenc_output_formats)
+#define NUMBER_OF_INPUTS	        ARRAY_SIZE(tvenc_inputs)
+#define NUMBER_OF_OUTPUTS	        ARRAY_SIZE(tvenc_outputs)
+#define NUMBER_OF_STANDARDS	        ARRAY_SIZE(tvout_standards)
+
+static int s3c_tvenc_g_fmt(struct v4l2_format *f)
+{
+	int size = sizeof(struct v4l2_pix_format);
+
+	memset(&f->fmt.pix, 0, size);
+	memcpy(&f->fmt.pix, &tv_param.v2.pixfmt, size);
+
+	return 0;	
+}
+
+static int s3c_tvenc_s_fmt(struct v4l2_format *f)
+{	
+	/* update our state informations */
+	tv_param.v2.pixfmt= f->fmt.pix;
+
+	// peter LCD output related operation
+	if (tv_param.v2.pixfmt.pixelformat == V4L2_PIX_FMT_RGB565 ) {	
+	
+	tv_param.sp.SrcFullWidth = tv_param.v2.pixfmt.width;
+	tv_param.sp.SrcFullHeight = tv_param.v2.pixfmt.height;
+	tv_param.sp.SrcStartX = 0;
+	tv_param.sp.SrcStartY = 0;	
+	tv_param.sp.SrcWidth = tv_param.sp.SrcFullWidth;
+	tv_param.sp.SrcHeight = tv_param.sp.SrcFullHeight;	
+	
+	printk("TV-OUT: LCD path operation set\n");
+
+	// peter for padded data of mfc output		
+	} else if (tv_param.v2.pixfmt.pixelformat == V4L2_PIX_FMT_YUV420) { 	
+	
+#ifdef DIVX_TEST		// padded output 	
+	tv_param.sp.SrcFullWidth = tv_param.v2.pixfmt.width + 2*16;
+	tv_param.sp.SrcFullHeight = tv_param.v2.pixfmt.height + 2*16;
+	tv_param.sp.SrcStartX = 16;
+	tv_param.sp.SrcStartY = 16;
+	tv_param.sp.SrcWidth = tv_param.sp.SrcFullWidth - 2*tv_param.sp.SrcStartX;
+	tv_param.sp.SrcHeight = tv_param.sp.SrcFullHeight - 2*tv_param.sp.SrcStartY;
+#else	// not padded output 		
+	tv_param.sp.SrcFullWidth = tv_param.v2.pixfmt.width;
+	tv_param.sp.SrcFullHeight = tv_param.v2.pixfmt.height;
+	tv_param.sp.SrcStartX = 0;
+	tv_param.sp.SrcStartY = 0;
+	tv_param.sp.SrcWidth = tv_param.sp.SrcFullWidth;
+	tv_param.sp.SrcHeight = tv_param.sp.SrcFullHeight;
+#endif	
+	
+	printk("TV-OUT: MFC path operation set\n");
+	
+	}	
+	
+	switch(tv_param.v2.pixfmt.pixelformat) {
+	case V4L2_PIX_FMT_RGB565:
+		tv_param.sp.SrcCSpace = RGB16;
+		break;
+	case V4L2_PIX_FMT_RGB24:
+		tv_param.sp.SrcCSpace = RGB24;
+		break;
+	case V4L2_PIX_FMT_YUV420:
+		tv_param.sp.SrcCSpace = YC420;
+		break;
+	case V4L2_PIX_FMT_YUV422P:
+		tv_param.sp.SrcCSpace = YC422;
+		break;
+	default:
+		return -EINVAL;
+	}
+	
+//	camif_convert_into_camif_cfg_t(cfg, 1);
+	return 0;
+}
+
+static int s3c_tvenc_s_input(int index)
+{
+	
+	tv_param.v2.input = &tvenc_inputs[index];	
+	switch(tv_param.v2.input->type) {
+	case V4L2_INPUT_TYPE_FIFO:		// LCD FIFO-OUT
+		tv_param.sp.InPath = POST_FIFO;
+		break;
+	case V4L2_INPUT_TYPE_MSDMA:		// MSDMA
+		tv_param.sp.InPath = POST_DMA;
+		break;
+	default:
+		return -EINVAL;
+	}
+	return 0;
+}
+
+static int s3c_tvenc_s_output(int index)
+{
+	tv_param.v2.output = &tvenc_outputs[index];
+	switch(tv_param.v2.output->type) {
+	case V4L2_OUTPUT_TYPE_ANALOG:	// TV-OUT (FIFO-OUT)
+		tv_param.sp.OutPath = POST_FIFO;
+		break;
+	case V4L2_OUTPUT_TYPE_MSDMA:	// MSDMA
+		tv_param.sp.OutPath = POST_DMA;
+		break;
+	default:
+		return -EINVAL;
+	}
+	return 0;
+}
+
+static int s3c_tvenc_s_std(v4l2_std_id *id)
+{
+//	printk("s3c_tvenc_s_std: *id=0x%x",*id);
+	switch(*id) {
+	case V4L2_STD_NTSC_M:
+		tv_param.sig_type = NTSC_M;		
+		tv_param.sp.DstFullWidth = 720;		
+		tv_param.sp.DstFullHeight = 480;					
+		break;
+	case V4L2_STD_PAL:
+		tv_param.sig_type = PAL_M;
+		tv_param.sp.DstFullWidth = 720;
+		tv_param.sp.DstFullHeight = 576;		
+		break;
+	default:
+		return -EINVAL;
+	}
+	return 0;
+}
+
+static int s3c_tvenc_v4l2_control(struct v4l2_control *ctrl)
+{
+	switch(ctrl->id) {
+		
+	// peter added for MFC related op.
+	case V4L2_CID_MPEG_STREAM_PID_VIDEO:
+	{
+		//printk("[TV]SRCFRMST=%x\n",ctrl->value);
+		tv_param.sp.SrcFrmSt = ctrl->value;
+		return 0;
+	}
+	
+	case V4L2_CID_CONNECT_TYPE:
+	{
+		if(ctrl->value == 0) { // COMPOSITE
+			tv_param.connect = COMPOSITE;
+		} else if(ctrl->value == 1) {	//S-VIDEO
+			tv_param.connect = S_VIDEO;
+		} else {
+			return -EINVAL;
+		}
+		return 0;
+	}
+
+	case V4L2_CID_BRIGHTNESS:
+	{
+		s32 val = ctrl->value;	
+		if((val > 0xff)||(val < 0))
+			return -EINVAL;
+		else
+			s3c_tvenc_set_bright(val);
+
+		return 0;
+	}
+
+	case V4L2_CID_CONTRAST:
+	{
+		s32 val = ctrl->value;	
+		if((val > 0xff)||(val < 0))
+			return -EINVAL;
+		else
+			s3c_tvenc_set_contrast(val);
+
+		return 0;
+	}
+
+	case V4L2_CID_GAMMA:
+	{
+		s32 val = ctrl->value;	
+		if((val > 0x3)||(val < 0)) {
+			return -EINVAL;
+		} else {
+			s3c_tvenc_enable_gamma_control(ON);
+			s3c_tvenc_set_gamma_gain(val);
+			s3c_tvenc_enable_gamma_control(OFF);
+		}
+		return 0;
+	}		
+
+	case V4L2_CID_HUE:
+	{
+		s32 val = ctrl->value;	
+		if((val > 0xff)||(val < 0))
+			return -EINVAL;
+		else
+			s3c_tvenc_set_hue_phase(val);
+
+		return 0;		
+	}
+
+	case V4L2_CID_HCENTER:
+	{
+		s32 val = ctrl->value;
+		u32 curr_horz, curr_vert;
+		
+		if((val > 0xff)||(val < 0)) {
+			return -EINVAL;
+		} else {
+			s3c_tvenc_get_active_win_center(&curr_vert, &curr_horz);
+			s3c_tvenc_set_active_win_center(curr_vert, val);
+		}
+
+		return 0;				
+	}
+
+	case V4L2_CID_VCENTER:
+	{
+		s32 val = ctrl->value;
+		u32 curr_horz, curr_vert;
+		
+		if((val > 0x3f)||(val < 0)) {
+			return -EINVAL;
+		} else {
+			s3c_tvenc_get_active_win_center(&curr_vert, &curr_horz);
+			s3c_tvenc_set_active_win_center(val, curr_horz);
+		}
+
+		return 0;				
+	}
+	
+	default:
+		return -EINVAL;
+	}
+	return 0;
+}
+
+int s3c_tvenc_open(struct inode *inode, struct file *filp) 
+{ 
+	int err;
+
+	err = video_exclusive_open(inode, filp);	// One function of V4l2 driver
+
+	if(err < 0) 
+		return err;
+	filp->private_data = &tv_param;
+
+	s3c_tvscaler_init();
+	
+	/* Success */
+	return 0;
+}
+
+int s3c_tvenc_release(struct inode *inode, struct file *filp) 
+{
+	video_exclusive_release(inode, filp);
+	
+	/* Success */
+	return 0;
+}
+
+static int s3c_tvenc_do_ioctl(struct inode *inode,struct file *filp,unsigned int cmd,void *arg)
+{
+	int ret;
+	
+	switch(cmd){
+	case VIDIOC_QUERYCAP:
+		{
+			struct v4l2_capability *cap = arg;
+			strcpy(cap->driver, "S3C TV-OUT driver");
+			strlcpy(cap->card, tv_param.v->name, sizeof(cap->card));
+			sprintf(cap->bus_info, "ARM AHB BUS");
+			cap->version = 0;
+			cap->capabilities = tv_param.v->type2;
+			return 0;
+		}
+	
+	case VIDIOC_OVERLAY:
+		{
+			int on = *(int *)arg;
+			
+			printk("TV-OUT: VIDIOC_OVERLAY on:%d\n", on);
+			if (on != 0) {
+				ret = tvout_start();
+			} else {
+				ret = tvout_stop();
+			}
+			return ret;
+		}	
+
+	case VIDIOC_ENUMINPUT:
+		{
+			struct v4l2_input *i = arg;
+			printk("TV-OUT: VIDIOC_ENUMINPUT : index = %d\n", i->index);
+			
+			if ((i->index) >= NUMBER_OF_INPUTS) {
+				return -EINVAL;
+			}
+			memcpy(i, &tvenc_inputs[i->index], sizeof(struct v4l2_input));
+			return 0;
+		}
+
+	case VIDIOC_S_INPUT:	// 0 -> LCD FIFO-OUT, 1 -> MSDMA
+		{
+			int index = *((int *)arg);
+			printk("TV-OUT: VIDIOC_S_INPUT \n");
+				
+			if (index >= NUMBER_OF_INPUTS) {
+				return -EINVAL;
+			}
+			else {
+				s3c_tvenc_s_input(index);
+				return 0;
+			}
+		}
+	
+	case VIDIOC_G_INPUT:
+		{
+			u32 *i = arg;
+			printk("TV-OUT: VIDIOC_G_INPUT \n");
+			*i = tv_param.v2.input->type;
+			return 0;
+		}	
+	
+	case VIDIOC_ENUMOUTPUT:
+		{
+			struct v4l2_output *i = arg;
+			printk("TV-OUT: VIDIOC_ENUMOUTPUT : index = %d\n", i->index);
+			
+			if ((i->index) >= NUMBER_OF_OUTPUTS) {
+				return -EINVAL;
+			}
+			memcpy(i, &tvenc_outputs[i->index], sizeof(struct v4l2_output));
+			return 0;
+		}	
+
+	case VIDIOC_S_OUTPUT:	// 0 -> TV / FIFO , 1 -> MSDMA
+		{
+			int index = *((int *)arg);
+			printk("TV-OUT: VIDIOC_S_OUTPUT \n");
+		
+			if (index >= NUMBER_OF_OUTPUTS) {
+				return -EINVAL;
+			}
+			else {
+				s3c_tvenc_s_output(index);
+				return 0;
+			}
+		}
+
+	case VIDIOC_G_OUTPUT:
+		{
+			u32 *i = arg;
+			printk("VIDIOC_G_OUTPUT \n");
+			*i = tv_param.v2.output->type;
+			return 0;
+		}
+
+	case VIDIOC_ENUM_FMT:
+		{	struct v4l2_fmtdesc *f = arg;
+			enum v4l2_buf_type type = f->type;
+			int index = f->index;
+
+			printk("C: VIDIOC_ENUM_FMT : index = %d\n", index);
+			if (index >= NUMBER_OF_INPUT_FORMATS) 
+				return -EINVAL;
+			
+			switch (type) {
+				case V4L2_BUF_TYPE_VIDEO_CAPTURE:
+					break;
+				case V4L2_BUF_TYPE_VIDEO_OUTPUT:
+				default:
+					return -EINVAL;
+			}
+			memset(f, 0, sizeof(*f));
+			memcpy(f, tv_param.v2.fmtdesc+index, sizeof(*f));			
+			return 0;
+		}	
+	
+	case VIDIOC_G_FMT:
+		{
+			struct v4l2_format *f = arg;
+			printk("C: VIDIOC_G_FMT \n");
+			ret = s3c_tvenc_g_fmt(f);
+			return ret;		
+		}
+	
+	case VIDIOC_S_FMT:
+		{	
+			struct v4l2_format *f = arg;
+			printk("C: VIDIOC_S_FMT \n");
+			ret = s3c_tvenc_s_fmt(f);
+			if(ret != 0) {
+				printk("s3c_tvenc_set_fmt() failed !\n");
+				return -EINVAL;
+			}
+			return ret;
+		}
+	
+	case VIDIOC_S_CTRL:
+		{
+			struct v4l2_control *ctrl = arg;
+			//printk("P: VIDIOC_S_CTRL \n");
+			ret = s3c_tvenc_v4l2_control(ctrl);
+			return ret;
+		}
+
+	case VIDIOC_ENUMSTD:
+		{
+			struct v4l2_standard *e = arg;
+			unsigned int index = e->index;
+
+			if (index >= NUMBER_OF_STANDARDS)
+				return -EINVAL;
+			v4l2_video_std_construct(e, tvout_standards[e->index].id,
+						 tvout_standards[e->index].name);
+			e->index = index;
+			return 0;
+		}
+	
+	case VIDIOC_G_STD:
+		{
+			v4l2_std_id *id = arg;
+			*id = tvout_standards[0].id;
+			return 0;
+		}
+	
+	case VIDIOC_S_STD:
+		{
+			v4l2_std_id *id = arg;
+			unsigned int i;
+
+			for (i = 0; i < NUMBER_OF_STANDARDS; i++) {
+				//printk("P: *id = %d,  tvout_standards[i].id = %d\n", *id, tvout_standards[i].id);
+				if (*id & tvout_standards[i].id)
+					break;
+			}
+			if (i == NUMBER_OF_STANDARDS)
+				return -EINVAL;
+
+			ret = s3c_tvenc_s_std(id);
+			return ret;
+		}
+
+	case VIDIOC_S_TVOUT_ON:
+		{
+			//int *SrcFrmSt = arg;
+			//printk("---peter VIDIOC_S_TVOUT_ON : SrcFrmSt = 0x%08x\n", *SrcFrmSt);
+			ret = tvout_start();
+			return ret;
+		}
+
+	case VIDIOC_S_TVOUT_OFF:
+		{
+			ret = tvout_stop();
+			return ret;
+		}
+	
+	case VIDIOC_S_SCALER_TEST:
+		{
+			ret = scaler_test_start();
+			mdelay(1);
+			ret = scaler_test_stop();
+			return ret;
+		}
+
+	default:
+ 		return -EINVAL;
+	}
+	return 0;
+}
+
+static int s3c_tvenc_ioctl_v4l2(struct inode *inode, struct file *filp, unsigned int cmd,
+		    unsigned long arg)
+{
+	return video_usercopy(inode, filp, cmd, arg, s3c_tvenc_do_ioctl);
+}
+
+int s3c_tvenc_read(struct file *filp, char *buf, size_t count,
+			loff_t *f_pos)
+{
+	return 0;
+}
+
+int s3c_tvenc_write(struct file *filp, const char *buf, size_t 
+			count, loff_t *f_pos)
+{
+	return 0;
+}
+
+int s3c_tvenc_mmap(struct file *filp, struct vm_area_struct *vma)
+{
+	u32 size = vma->vm_end - vma->vm_start;
+	u32 max_size;
+	u32 page_frame_no;
+
+	page_frame_no = __phys_to_pfn(POST_BUFF_BASE_ADDR);
+
+	max_size = RESERVE_POST_MEM + PAGE_SIZE - (RESERVE_POST_MEM % PAGE_SIZE);
+
+	if(size > max_size) {
+		return -EINVAL;
+	}
+
+	vma->vm_flags |= VM_RESERVED;
+
+	if( remap_pfn_range(vma, vma->vm_start, page_frame_no,
+		size, vma->vm_page_prot)) {
+		printk(KERN_ERR "%s: mmap_error\n", __FUNCTION__);
+		return -EAGAIN;
+
+	}
+
+	return 0;
+}
+
+struct file_operations s3c_tvenc_fops = {
+	.owner = THIS_MODULE,
+	.open = s3c_tvenc_open,
+	.ioctl = s3c_tvenc_ioctl_v4l2,
+	.release = s3c_tvenc_release,
+	.read = s3c_tvenc_read,
+	.write = s3c_tvenc_write,
+	.mmap = s3c_tvenc_mmap,
+};
+
+void s3c_tvenc_vdev_release (struct video_device *vdev) {
+	kfree(vdev);
+}
+
+struct video_device tvencoder = {
+	.name = "TVENCODER",
+	.vfl_type = VID_TYPE_OVERLAY | VID_TYPE_CAPTURE | VID_TYPE_SCALES,
+	.type2 = V4L2_CAP_VIDEO_OUTPUT| V4L2_CAP_VIDEO_CAPTURE,		/* V4L2 */
+	//.hardware = 0x01,	// peter for 2.6.24 kernel
+	.fops = &s3c_tvenc_fops,
+	.release  = s3c_tvenc_vdev_release,
+	.minor = TVENC_MINOR,
+};
+
+irqreturn_t s3c_tvenc_isr(int irq, void *dev_id,
+				struct pt_regs *regs)
+{
+	u32 mode;
+
+	mode = __raw_readl(base + S3C_TVCTRL);
+
+	// Clear FIFO under-run status pending bit
+	mode |= (1<<12);
+
+	__raw_writel(mode, base + S3C_TVCTRL);
+
+	wake_up_interruptible(&waitq);
+	return IRQ_HANDLED;
+}
+
+static int s3c_tvenc_probe(struct platform_device *pdev)
+{
+   
+	struct resource *res;
+
+        int ret;
+
+	/* find the IRQs */
+	s3c_tvenc_irq = platform_get_irq(pdev, 0);
+	if(s3c_tvenc_irq <= 0) {
+		printk(KERN_ERR PFX "failed to get irq resouce\n");
+                return -ENOENT;
+	}
+
+        /* get the memory region for the tv scaler driver */
+
+        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+        if(res == NULL) {
+                printk(KERN_ERR PFX "failed to get memory region resouce\n");
+                return -ENOENT;
+        }
+
+	s3c_tvenc_mem = request_mem_region(res->start, res->end-res->start+1, pdev->name);
+	if(s3c_tvenc_mem == NULL) {
+		printk(KERN_ERR PFX "failed to reserve memory region\n");
+                return -ENOENT;
+	}
+
+
+	base = ioremap(s3c_tvenc_mem->start, s3c_tvenc_mem->end - res->start + 1);
+	if(s3c_tvenc_mem == NULL) {
+		printk(KERN_ERR PFX "failed ioremap\n");
+                return -ENOENT;
+	}
+
+	tvenc_clock = clk_get(&pdev->dev, "tv_encoder");
+        if(tvenc_clock == NULL) {
+                printk(KERN_ERR PFX "failed to find tvenc clock source\n");
+                return -ENOENT;
+        }
+
+        clk_enable(tvenc_clock);
+
+	h_clk = clk_get(&pdev->dev, "hclk");
+        if(h_clk == NULL) {
+                printk(KERN_ERR PFX "failed to find h_clk clock source\n");
+                return -ENOENT;
+        }
+
+	init_waitqueue_head(&waitq);
+
+	tv_param.v = video_device_alloc();
+	if(!tv_param.v) {
+		printk(KERN_ERR "s3c-tvenc: video_device_alloc() failed\n");
+		return -ENOMEM;
+	}
+	memcpy(tv_param.v, &tvencoder, sizeof(tvencoder));
+	if(video_register_device(tv_param.v, VFL_TYPE_GRABBER, TVENC_MINOR) != 0) {
+		printk("s3c_camera_driver.c : Couldn't register this codec driver.\n");
+		return 0;
+	}
+
+	ret = request_irq(s3c_tvenc_irq, (irq_handler_t) s3c_tvenc_isr, IRQF_DISABLED,
+			"TV_ENCODER", NULL);
+	if (ret) {
+		printk("request_irq(TV_ENCODER) failed.\n");
+		return ret;
+	}
+	
+        return 0;
+}
+
+static int s3c_tvenc_remove(struct platform_device *dev)
+{
+	printk(KERN_INFO "s3c_tvenc_remove called !\n");
+        clk_disable(tvenc_clock);
+	free_irq(s3c_tvenc_irq, NULL);
+	if (s3c_tvenc_mem != NULL) {
+		pr_debug("s3-tvenc: releasing s3c_tvenc_mem\n");
+		iounmap(base);
+		release_resource(s3c_tvenc_mem);
+		kfree(s3c_tvenc_mem);
+	}
+//	video_unregister_device(tv_param.v);
+	return 0;
+}
+
+static int s3c_tvenc_suspend(struct platform_device *dev, pm_message_t state)
+{
+       clk_disable(tvenc_clock);
+	return 0;
+}
+
+static int s3c_tvenc_resume(struct platform_device *pdev)
+{
+	clk_enable(tvenc_clock);
+	return 0;
+}
+
+static struct platform_driver s3c_tvenc_driver = {
+       .probe           	= s3c_tvenc_probe,
+       .remove        	= s3c_tvenc_remove,
+       .suspend       	= s3c_tvenc_suspend,
+       .resume         = s3c_tvenc_resume,
+       .driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-tvenc",
+	},
+};
+
+static char banner[] __initdata = KERN_INFO "S3C6410 TV encoder Driver, (c) 2008 Samsung Electronics\n";
+
+static int __init  s3c_tvenc_init(void)
+{
+
+	printk(banner);
+	
+ 	if(platform_driver_register(&s3c_tvenc_driver) != 0)
+  	{
+   		printk("Platform Device Register Failed \n");
+   		return -1;
+  	}
+	
+	printk(" S3C6410 TV encoder Driver init OK. \n");
+      	return 0;
+}
+
+static void __exit  s3c_tvenc_exit(void)
+{
+
+	video_unregister_device(tv_param.v);
+       platform_driver_unregister(&s3c_tvenc_driver);
+	   
+ 	printk("S3C6410 TV encoder Driver module exit. \n");
+}
+
+/*
+ * open/release helper functions -- handle exclusive opens
+ * Should be removed soon
+ */
+int video_exclusive_open(struct inode *inode, struct file *file)
+{
+	struct  video_device *vfl = video_devdata(file);
+	int retval = 0;
+
+//	mutex_lock(&vfl->lock);
+	if (vfl->users) {
+		retval = -EBUSY;
+	} else {
+		vfl->users++;
+	}
+//	mutex_unlock(&vfl->lock);
+	return retval;
+}
+
+int video_exclusive_release(struct inode *inode, struct file *file)
+{
+	struct  video_device *vfl = video_devdata(file);
+
+	vfl->users--;
+	return 0;
+}
+
+module_init(s3c_tvenc_init);
+module_exit(s3c_tvenc_exit);
+
+
+MODULE_AUTHOR("Peter, Oh");
+MODULE_DESCRIPTION("S3C TV Encoder Device Driver");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/tv/s3c-tvenc.h linux-2.6.28.6/drivers/media/video/samsung/tv/s3c-tvenc.h
--- linux-2.6.28/drivers/media/video/samsung/tv/s3c-tvenc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/tv/s3c-tvenc.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,171 @@
+#ifndef __S3CTVENC_H_
+#define __S3CTVENC_H_
+
+#include "s3c-tvscaler.h"
+
+
+#define TVENC_IOCTL_MAGIC 'T'
+
+typedef struct {
+
+} s3c_tvenc_info;
+
+#define TV_ON			_IO(TVENC_IOCTL_MAGIC, 0)
+#define TV_OFF			_IO(TVENC_IOCTL_MAGIC, 1)
+#define SELECT_TV_OUT_FORMAT	_IO(TVENC_IOCTL_MAGIC, 2)
+
+#define TVENC_IOCTL_MAXNR	6
+
+#define TVENC_MINOR  14		// Just some number
+
+typedef enum {
+	OFF,
+	ON
+} tv_enc_switch_t;
+
+typedef enum {
+	NTSC_M,
+	PAL_M,
+	PAL_BGHID,
+	PAL_N,
+	PAL_NC,
+	PAL_60,
+	NTSC_443,
+	NTSC_J
+} tv_standard_t;
+
+typedef enum {
+	QCIF, CIF/*352x288*/, 
+	QQVGA, QVGA, VGA, SVGA/*800x600*/, SXGA/*1280x1024*/, UXGA/*1600x1200*/, QXGA/*2048x1536*/,
+	WVGA/*854x480*/, HD720/*1280x720*/, HD1080/*1920x1080*/
+} img_size_t;
+
+typedef enum {
+	BLACKSTRETCH, WHITESTRETCH, BLUESTRETCH
+} stretch_color_t;
+
+typedef enum {
+	COMPOSITE, S_VIDEO
+} tv_conn_type_t;
+
+typedef enum {
+	BLACK, BLUE, RED, MAGENTA, GREEN, CYAN, YELLOW, WHITE
+} bg_color_t;
+
+typedef enum {
+	MUTE_Y, MUTE_CB, MUTE_CR
+} mute_type_t;
+
+typedef enum {
+	AGC4L, AGC2L, N01, N02, P01, P02
+} macro_pattern_t;
+
+typedef enum {
+	LCD_RGB, LCD_TV, LCD_I80F, LCD_I80S,
+	LCD_TVRGB, LCD_TVI80F, LCD_TVI80S	
+} lcd_local_output_t;
+
+/* when  App want to change v4l2 parameter,
+ * we instantly store it into v4l2_t v2 
+ * and then reflect it to hardware
+ */	
+typedef struct v4l2 {
+	struct v4l2_fmtdesc     *fmtdesc;
+//	struct v4l2_framebuffer  frmbuf; /* current frame buffer */
+	struct v4l2_pix_format	pixfmt;
+	struct v4l2_input        *input;
+	struct v4l2_output        *output;
+//	enum v4l2_status         status;
+} v4l2_t;
+
+
+typedef struct {
+	tv_standard_t sig_type;
+	tv_conn_type_t connect;
+	/* Width of input image. The input value is twice original output image
+	*  width. For example, you must set 1440 when the image width is 720.
+	*  Max value is 1440
+	*/
+	unsigned int in_width;
+	/* Height of input image
+	*  Max value is 576
+	*/
+	unsigned int in_height;
+
+	// Setting value of VIDOUT[28:26] in Display
+	// controller(VIDCON0)
+	lcd_local_output_t lcd_output_mode;
+	// Set CLKVAL_F[13:6] of VIDCON0 with
+	// this value
+	unsigned int lcd_clkval_f;
+
+	// Flag of lcd rgb port
+	// 0 : disable, 1 : enable
+	unsigned int lcd_rgb_port_flag;
+
+	scaler_params_t sp;
+
+	struct video_device      *v;
+	v4l2_t v2;
+		
+} tv_out_params_t;
+
+#define V4L2_INPUT_TYPE_MSDMA		3
+#define V4L2_INPUT_TYPE_FIFO		4
+#define V4L2_OUTPUT_TYPE_MSDMA		4
+
+#define FORMAT_FLAGS_DITHER       0x01
+#define FORMAT_FLAGS_PACKED       0x02
+#define FORMAT_FLAGS_PLANAR       0x04
+#define FORMAT_FLAGS_RAW          0x08
+#define FORMAT_FLAGS_CrCb         0x10
+
+/****************************************************************
+* struct v4l2_control
+* Control IDs defined by S3C
+*****************************************************************/
+
+/* TV-OUT connector type */
+#define V4L2_CID_CONNECT_TYPE		(V4L2_CID_PRIVATE_BASE+0)
+
+/****************************************************************
+*	I O C T L   C O D E S   F O R   V I D E O   D E V I C E S
+*    	 It's only for S3C
+*****************************************************************/
+#define VIDIOC_S_TVOUT_ON 		_IO ('V', BASE_VIDIOC_PRIVATE+0)
+#define VIDIOC_S_TVOUT_OFF		_IO ('V', BASE_VIDIOC_PRIVATE+1)
+#define VIDIOC_S_SCALER_TEST 		_IO ('V', BASE_VIDIOC_PRIVATE+3)
+
+
+extern void s3c_tvscaler_config(scaler_params_t * sp);
+extern void s3c_tvscaler_int_enable(unsigned int int_type);
+extern void s3c_tvscaler_int_disable(void);
+extern void s3c_tvscaler_start(void);
+extern void s3c_tvscaler_stop_freerun(void);
+extern void s3c_tvscaler_init(void);
+extern void s3c_tvscaler_set_interlace(unsigned int on_off);
+extern int video_exclusive_release(struct inode * inode, struct file * file);
+extern int video_exclusive_open(struct inode * inode, struct file * file);
+
+#if 0	// peter for 2.6.21 kernel
+extern void s3c_fb_start_lcd(void);
+extern void s3c_fb_stop_lcd(void);
+extern void s3c_fb_set_output_path(int out);
+extern void s3c_fb_set_clkval(unsigned int clkval);
+extern void s3c_fb_enable_rgbport(unsigned int on_off);
+#else	// peter for 2.6.24 kernel
+extern void s3cfb_start_lcd(void);
+extern void s3cfb_stop_lcd(void);
+extern void s3cfb_set_output_path(int out);
+extern void s3cfb_set_clock(unsigned int clkval);
+extern void s3cfb_enable_rgbport(unsigned int on_off);
+extern int v4l2_video_std_construct(struct v4l2_standard *vs,
+			     int id, const char *name);
+extern	int	video_usercopy(struct inode *inode, struct file *file,
+	       unsigned int cmd, unsigned long arg,
+	       int (*func)(struct inode *inode, struct file *file,
+			   unsigned int cmd, void *arg));
+#endif
+
+
+#endif // __S3CTVENC_H_
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/tv/s3c-tvscaler.c linux-2.6.28.6/drivers/media/video/samsung/tv/s3c-tvscaler.c
--- linux-2.6.28/drivers/media/video/samsung/tv/s3c-tvscaler.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/tv/s3c-tvscaler.c	2009-10-23 22:44:15.000000000 +0200
@@ -0,0 +1,791 @@
+/* linux/drivers/video/samsung/tv/s3c-tvscaler.c
+ *
+ * Driver file for Samsung TV Controller
+ *
+ * Peter Oh, Copyright (c) 2009 Samsung Electronics
+ * 	http://www.samsungsemi.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/types.h>
+#include <linux/timer.h>
+#include <linux/kernel.h>
+#include <linux/fs.h>
+#include <linux/platform_device.h>
+#include <linux/interrupt.h>
+#include <linux/clk.h>
+#include <linux/delay.h>
+#include <asm/uaccess.h>
+#include <linux/errno.h> /* error codes */
+#include <asm/div64.h>
+#include <linux/mm.h>
+#include <linux/tty.h>
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <mach/hardware.h>
+#include <asm/uaccess.h>
+#include <mach/map.h>
+#include <linux/miscdevice.h>
+
+#include <plat/regs-tvscaler.h>
+#include <plat/clock.h>
+#include <plat/regs-clock.h>
+
+#include "s3c-tvscaler.h"
+
+#define PFX "s3c_tv_scaler"
+
+#define SINGLE_BUF	1		// Single buffer mode
+
+
+static struct clk *h_clk;
+static struct clk *tvscaler_clock;
+static void __iomem *base;
+static int s3c_tvscaler_irq = NO_IRQ;
+static struct resource *s3c_tvscaler_mem;
+
+
+//static unsigned char *addr_start_y;
+//static unsigned char *addr_start_rgb;
+
+static wait_queue_head_t waitq;
+
+irqreturn_t s3c_tvscaler_isr(int irq, void *dev_id,
+				struct pt_regs *regs)
+{
+	u32 mode;
+	mode = __raw_readl(base + S3C_MODE);
+	mode &= ~(1 << 6);			/* Clear Source in POST Processor */
+	__raw_writel(mode, base + S3C_MODE);
+
+//	wake_up_interruptible(&waitq);
+	return IRQ_HANDLED;
+}
+
+#if 0
+static buff_addr_t buf_addr = { NULL };
+
+
+static u32 post_alloc_pre_buff(scaler_params_t *sp)
+{
+	u32 size;
+
+#ifdef USE_DEDICATED_MEM
+	
+	buf_addr.pre_phy_addr = PHYS_OFFSET + (SYSTEM_RAM - RESERVE_POST_MEM);
+	buf_addr.pre_virt_addr = ioremap_nocache(buf_addr.pre_phy_addr, PRE_BUFF_SIZE);
+	if( !buf_addr.pre_virt_addr ) {
+		printk(KERN_ERR "%s: Failed to allocate pre buffer \n",__FUNCTION__);
+		return -ENOMEM;
+	}
+
+	sp->SrcFrmSt = buf_addr.pre_phy_addr;
+#else
+	size = sp->SrcWidth * sp->SrcHeight * 2;
+	addr_start_y = kmalloc(size, GFP_DMA);
+	if(addr_start_y != NULL) return -ENOMEM;
+#endif
+	return 0;
+}
+
+static u32 post_alloc_post_buff(scaler_params_t *sp)
+{
+	u32 size;
+	
+#ifdef USE_DEDICATED_MEM
+	
+	buf_addr.post_phy_addr = PHYS_OFFSET + (SYSTEM_RAM - RESERVE_POST_MEM + PRE_BUFF_SIZE);
+	buf_addr.post_virt_addr = ioremap_nocache(buf_addr.post_phy_addr, POST_BUFF_SIZE);
+	if( !buf_addr.post_virt_addr ) {
+		printk(KERN_ERR "%s: Failed to allocate post buffer \n",__FUNCTION__);
+		return -ENOMEM;
+	}
+
+	sp->DstFrmSt = buf_addr.post_phy_addr;
+#else
+	size = sp->DstWidth * sp->DstHeight * 2;
+	addr_start_rgb = kmalloc(size, GFP_DMA);
+	if(addr_start_rgb != NULL) return -ENOMEM;
+#endif
+	return 0;
+}
+
+static u32 post_free_all_buffer(void)
+{
+#ifdef USE_DEDICATED_MEM	
+	if( buf_addr.pre_virt_addr ) {
+		iounmap(buf_addr.pre_virt_addr);
+	}
+	if( buf_addr.post_virt_addr ) {
+		iounmap(buf_addr.post_virt_addr);
+	}
+#endif	
+	return 0;
+}
+#endif
+
+static void s3c_tvscaler_set_clk_src(scaler_clk_src_t clk_src)
+{
+	u32 tmp, rate;
+
+	tmp = __raw_readl(base + S3C_MODE);
+
+	h_clk = clk_get(NULL, "hclk");
+
+	rate = clk_get_rate(h_clk);
+	
+	if(clk_src == HCLK) {
+		if(rate > 66000000) {
+			tmp &= ~(0x7f<<23);
+			tmp |= (1<<24);
+			tmp |= (1<<23);
+		} else {
+			tmp &=~ (0x7f<<23);
+		}
+		
+	} else if(clk_src == PLL_EXT) {
+	} else {
+		tmp &=~(0x7f<<23);
+	}
+
+	tmp = (tmp &~ (0x3<<21)) | (clk_src<<21);
+
+	__raw_writel(tmp, base + S3C_MODE);
+}
+
+static void s3c_tvscaler_set_fmt(cspace_t src, cspace_t dst, s3c_scaler_path_t in,
+				s3c_scaler_path_t out, u32 *in_pixel_size,
+				u32 *out_pixel_size)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(base + S3C_MODE);
+	tmp |= (0x1<<16);
+	tmp |= (0x2<<10);
+
+	if(in == POST_DMA) {
+
+		switch(src) {
+		case YC420:
+			tmp &=~((0x1<<3)|(0x1<<2));
+			tmp |= (0x1<<8)|(0x1<<1);
+			*in_pixel_size = 1;
+			break;
+		case CRYCBY:
+			tmp &= ~((0x1<<15)|(0x1<<8)|(0x1<<3)|(0x1<<0));
+			tmp |= (0x1<<2)|(0x1<<1);
+			*in_pixel_size = 2;		
+			break;
+		case CBYCRY:
+			tmp &= ~((0x1<<8)|(0x1<<3)|(0x1<<0));
+			tmp |= (0x1<<15)|(0x1<<2)|(0x1<<1);
+			*in_pixel_size = 2;	
+			break;
+		case YCRYCB:
+			tmp &= ~((0x1<<15)|(0x1<<8)|(0x1<<3));
+			tmp |= (0x1<<2)|(0x1<<1)|(0x1<<0);
+			*in_pixel_size = 2;			
+			break;
+		case YCBYCR:
+			tmp &= ~((0x1<<8)|(0x1<<3));
+			tmp |= (0x1<<15)|(0x1<<2)|(0x1<<1)|(0x1<<0);	
+			*in_pixel_size = 2;			
+			break;
+		case RGB24:
+			tmp &= ~(0x1<<8);
+			tmp |=  (0x1<<3)|(0x1<<2)|(0x1<<1);
+			*in_pixel_size = 4;
+			break;
+		case RGB16:
+			tmp &= ~((0x1<<8)|(0x1<<1));
+			tmp |=  (0x1<<3)|(0x1<<2);
+			*in_pixel_size = 2;			
+			break;
+		default:
+			break;
+		}
+
+	} 
+	else if(in == POST_FIFO) {
+	}
+
+	if(out == POST_DMA) {
+		switch(dst) {
+		case YC420:
+			tmp &= ~(0x1<<18);
+			tmp |= (0x1<<17);
+			*out_pixel_size = 1;			
+			break;
+		case CRYCBY:
+			tmp &= ~((0x1<<20)|(0x1<<19)|(0x1<<18)|(0x1<<17));
+			*out_pixel_size = 2;
+			break;
+		case CBYCRY:
+			tmp &= ~((0x1<<19)|(0x1<<18)|(0x1<<17));
+			tmp |= (0x1<<20);
+			*out_pixel_size = 2;			
+			break;
+		case YCRYCB:
+			tmp &= ~((0x1<<20)|(0x1<<18)|(0x1<<17));
+			tmp |= (0x1<<19);
+			*out_pixel_size = 2;			
+			break;
+		case YCBYCR:
+			tmp &= ~((0x1<<18)|(0x1<<17));
+			tmp |= (0x1<<20)|(0x1<<19);	
+			*out_pixel_size = 2;			
+			break;
+		case RGB24:
+			tmp |= (0x1<<18)|(0x1<<4);
+			*out_pixel_size = 4;			
+			break;
+		case RGB16:
+			tmp &= ~(0x1<<4);
+			tmp |= (0x1<<18);
+			*out_pixel_size = 2;			
+			break;
+		default:
+			break;
+		}
+	}
+	else if(out == POST_FIFO) {
+		if(dst == RGB24) {
+			tmp |= (0x1<<18)|(0x1<<13); 
+			
+		} else if(dst == YCBYCR) {
+			tmp |= (0x1<<13);
+			tmp &= ~(0x1<<18)|(0x1<<17);
+		} else {
+		}
+	}
+
+	__raw_writel(tmp, base + S3C_MODE);
+}
+
+static void s3c_tvscaler_set_path(s3c_scaler_path_t in, s3c_scaler_path_t out)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(base + S3C_MODE);	
+	
+	tmp &=~(0x1<<12);	// 0: progressive mode, 1: interlace mode
+
+	if(in == POST_FIFO) {
+		tmp |= (0x1<<31);
+	} else if(in == POST_DMA) {
+		tmp &=~(0x1<<31);
+	}
+
+	if(out == POST_FIFO) {
+		tmp |= (0x1<<13);
+	} else if(out == POST_DMA) {
+		tmp &=~(0x1<<13);
+	}
+
+	__raw_writel(tmp, base + S3C_MODE);
+}
+
+static void s3c_tvscaler_set_addr(scaler_params_t *sp, u32 in_pixel_size, u32 out_pixel_size)
+{
+	u32 offset_y, offset_cb, offset_cr;
+	u32 src_start_y, src_start_cb, src_start_cr;
+	u32 src_end_y, src_end_cb, src_end_cr;
+	u32 start_pos_y, end_pos_y;
+	u32 start_pos_cb, end_pos_cb;
+	u32 start_pos_cr, end_pos_cr;
+	u32 start_pos_rgb, end_pos_rgb;
+	u32 dst_start_rgb, dst_end_rgb;
+	u32 src_frm_start_addr;
+	
+	u32 offset_rgb, out_offset_cb, out_offset_cr;
+	u32 out_start_pos_cb, out_start_pos_cr;
+	u32 out_end_pos_cb, out_end_pos_cr;
+	u32 out_src_start_cb, out_src_start_cr;
+	u32 out_src_end_cb, out_src_end_cr;
+
+	if(sp->InPath == POST_DMA) {
+		offset_y = (sp->SrcFullWidth - sp->SrcWidth) * in_pixel_size;
+		start_pos_y = (sp->SrcFullWidth*sp->SrcStartY+sp->SrcStartX)*in_pixel_size;
+		end_pos_y = sp->SrcWidth*sp->SrcHeight*in_pixel_size + offset_y*(sp->SrcHeight-1);
+		src_frm_start_addr = sp->SrcFrmSt;
+		src_start_y = sp->SrcFrmSt + start_pos_y;
+		src_end_y = src_start_y + end_pos_y;
+
+		__raw_writel(src_start_y, base + S3C_ADDRSTART_Y);
+		__raw_writel(offset_y, base + S3C_OFFSET_Y);
+		__raw_writel(src_end_y, base + S3C_ADDREND_Y);	
+
+		if(sp->SrcCSpace == YC420) {
+			offset_cb = offset_cr = ((sp->SrcFullWidth - sp->SrcWidth) / 2) * in_pixel_size;
+			start_pos_cb = sp->SrcFullWidth * sp->SrcFullHeight * 1 \
+					+ (sp->SrcFullWidth * sp->SrcStartY / 2 + sp->SrcStartX) /2 * 1;
+					
+			end_pos_cb = sp->SrcWidth/2*sp->SrcHeight/2*in_pixel_size \
+					+ (sp->SrcHeight/2 -1)*offset_cb;
+			start_pos_cr = sp->SrcFullWidth * sp->SrcFullHeight *1 \
+					+ sp->SrcFullWidth*sp->SrcFullHeight/4 *1 \
+					+ (sp->SrcFullWidth*sp->SrcStartY/2 + sp->SrcStartX)/2*1;
+			end_pos_cr = sp->SrcWidth/2*sp->SrcHeight/2*in_pixel_size \
+					+ (sp->SrcHeight/2-1)*offset_cr;
+
+			src_start_cb = sp->SrcFrmSt + start_pos_cb;
+			src_end_cb = src_start_cb + end_pos_cb;
+
+			src_start_cr = sp->SrcFrmSt + start_pos_cr;
+			src_end_cr = src_start_cr + end_pos_cr;
+
+			__raw_writel(src_start_cb, base + S3C_ADDRSTART_CB);
+			__raw_writel(offset_cr, base + S3C_OFFSET_CB);
+			__raw_writel(src_end_cb, base + S3C_ADDREND_CB);
+			__raw_writel(src_start_cr, base + S3C_ADDRSTART_CR);
+			__raw_writel(offset_cb, base + S3C_OFFSET_CR);
+			__raw_writel(src_end_cr, base + S3C_ADDREND_CR);		
+		}
+	}
+	if(sp->OutPath == POST_DMA) {
+		offset_rgb = (sp->DstFullWidth - sp->DstWidth)*out_pixel_size;
+		start_pos_rgb = (sp->DstFullWidth*sp->DstStartY + sp->DstStartX)*out_pixel_size;
+		end_pos_rgb = sp->DstWidth*sp->DstHeight*out_pixel_size + offset_rgb*(sp->DstHeight - 1);
+		dst_start_rgb = sp->DstFrmSt + start_pos_rgb;
+		dst_end_rgb = dst_start_rgb + end_pos_rgb;
+
+		__raw_writel(dst_start_rgb, base + S3C_ADDRSTART_RGB);
+		__raw_writel(offset_rgb, base + S3C_OFFSET_RGB);
+		__raw_writel(dst_end_rgb, base + S3C_ADDREND_RGB);
+
+		if(sp->DstCSpace == YC420) {
+			out_offset_cb = out_offset_cr = ((sp->DstFullWidth - sp->DstWidth)/2)*out_pixel_size;
+			out_start_pos_cb = sp->DstFullWidth*sp->DstFullHeight*1 \
+					+ (sp->DstFullWidth*sp->DstStartY/2 + sp->DstStartX)/2*1;
+			out_end_pos_cb = sp->DstWidth/2*sp->DstHeight/2*out_pixel_size \
+					+ (sp->DstHeight/2 -1)*out_offset_cr;
+
+			out_start_pos_cr = sp->DstFullWidth*sp->DstFullHeight*1 \
+					+ (sp->DstFullWidth*sp->DstFullHeight/4)*1 \
+					+ (sp->DstFullWidth*sp->DstStartY/2 +sp->DstStartX)/2*1;
+			out_end_pos_cr = sp->DstWidth/2*sp->DstHeight/2*out_pixel_size \
+					+ (sp->DstHeight/2 -1)*out_offset_cb;
+
+			out_src_start_cb = sp->DstFrmSt + out_start_pos_cb;
+			out_src_end_cb = out_src_start_cb + out_end_pos_cb;
+			out_src_start_cr = sp->DstFrmSt + out_start_pos_cr;
+			out_src_end_cr = out_src_start_cr + out_end_pos_cr;
+
+			__raw_writel(out_src_start_cb, base + S3C_ADDRSTART_OCB);
+			__raw_writel(out_offset_cb, base + S3C_OFFSET_OCB);
+			__raw_writel(out_src_end_cb, base + S3C_ADDREND_OCB);
+			__raw_writel(out_src_start_cr, base + S3C_ADDRSTART_OCR);
+			__raw_writel(out_offset_cr, base + S3C_OFFSET_OCR);
+			__raw_writel(out_src_end_cr, base + S3C_ADDREND_OCR);
+			
+		}
+	}
+
+	
+}
+
+#if 0
+static void s3c_tvscaler_set_fifo_in(s3c_scaler_path_t in_path)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(base + S3C_MODE);
+
+	if(in_path == POST_FIFO) tmp |= (0x1<<31);
+	else tmp &=~(0x1<<31);
+	
+	__raw_writel(tmp, base + S3C_MODE);
+	
+}
+#endif
+
+void s3c_tvscaler_set_interlace(u32 on_off)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(base + S3C_MODE);
+
+	if(on_off == 1) tmp |=(1<<12);
+	else tmp &=~(1<<12);
+
+	__raw_writel(tmp, base + S3C_MODE);
+}
+EXPORT_SYMBOL(s3c_tvscaler_set_interlace);
+
+static void s3c_tvscaler_set_size(scaler_params_t *sp)
+{
+	u32 pre_h_ratio, pre_v_ratio, h_shift, v_shift, sh_factor;
+	u32 pre_dst_width, pre_dst_height, dx, dy;
+
+	if (sp->SrcWidth >= (sp->DstWidth<<6)) {
+		printk("Out of PreScalar range !!!\n");
+		return;
+	}
+	if(sp->SrcWidth >= (sp->DstWidth<<5)) {
+		pre_h_ratio = 32;
+		h_shift = 5;		
+	} else if(sp->SrcWidth >= (sp->DstWidth<<4)) {
+		pre_h_ratio = 16;
+		h_shift = 4;		
+	} else if(sp->SrcWidth >= (sp->DstWidth<<3)) {
+		pre_h_ratio = 8;
+		h_shift = 3;		
+	} else if(sp->SrcWidth >= (sp->DstWidth<<2)) {
+		pre_h_ratio = 4;
+		h_shift = 2;		
+	} else if(sp->SrcWidth >= (sp->DstWidth<<1)) {
+		pre_h_ratio = 2;
+		h_shift = 1;		
+	} else {
+		pre_h_ratio = 1;
+		h_shift = 0;		
+	}
+
+	pre_dst_width = sp->SrcWidth / pre_h_ratio;
+	dx = (sp->SrcWidth<<8) / (sp->DstWidth<<h_shift);
+
+
+	if (sp->SrcHeight >= (sp->DstHeight<<6)) {
+		printk("Out of PreScalar range !!!\n");
+		return;
+	}
+	if(sp->SrcHeight>= (sp->DstHeight<<5)) {
+		pre_v_ratio = 32;
+		v_shift = 5;		
+	} else if(sp->SrcHeight >= (sp->DstHeight<<4)) {
+		pre_v_ratio = 16;
+		v_shift = 4;		
+	} else if(sp->SrcHeight >= (sp->DstHeight<<3)) {
+		pre_v_ratio = 8;
+		v_shift = 3;		
+	} else if(sp->SrcHeight >= (sp->DstHeight<<2)) {
+		pre_v_ratio = 4;
+		v_shift = 2;		
+	} else if(sp->SrcHeight >= (sp->DstHeight<<1)) {
+		pre_v_ratio = 2;
+		v_shift = 1;		
+	} else {
+		pre_v_ratio = 1;
+		v_shift = 0;		
+	}	
+
+	pre_dst_height = sp->SrcHeight / pre_v_ratio;
+	dy = (sp->SrcHeight<<8) / (sp->DstHeight<<v_shift);
+	sh_factor = 10 - (h_shift + v_shift);
+
+	__raw_writel((pre_v_ratio<<7)|(pre_h_ratio<<0), base + S3C_PRESCALE_RATIO);
+	__raw_writel((pre_dst_height<<12)|(pre_dst_width<<0), base + S3C_PRESCALEIMGSIZE);
+	__raw_writel(sh_factor, base + S3C_PRESCALE_SHFACTOR);
+	__raw_writel(dx, base + S3C_MAINSCALE_H_RATIO);
+	__raw_writel(dy, base + S3C_MAINSCALE_V_RATIO);
+	__raw_writel((sp->SrcHeight<<12)|(sp->SrcWidth), base + S3C_SRCIMGSIZE);
+	__raw_writel((sp->DstHeight<<12)|(sp->DstWidth), base + S3C_DSTIMGSIZE);
+
+}
+
+
+static void s3c_tvscaler_set_auto_load(scaler_params_t *sp)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(base + S3C_MODE);
+
+	if(sp->Mode == FREE_RUN) {
+		tmp |= (1<<14);
+	} else if(sp->Mode == ONE_SHOT) {
+		tmp &=~(1<<14);
+	}
+
+	__raw_writel(tmp, base + S3C_MODE);
+	
+}
+
+void s3c_tvscaler_set_base_addr(void __iomem * base_addr)
+{
+	base = base_addr;
+}
+EXPORT_SYMBOL(s3c_tvscaler_set_base_addr);
+
+void s3c_tvscaler_free_base_addr(void)
+{
+	base = NULL;
+}
+EXPORT_SYMBOL(s3c_tvscaler_free_base_addr);
+
+void s3c_tvscaler_int_enable(u32 int_type)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(base + S3C_MODE);
+
+	if(int_type == 0) {		//Edge triggering
+		tmp &= ~(S3C_MODE_IRQ_LEVEL);
+	} else if(int_type == 1) {	//level triggering
+		tmp |= S3C_MODE_IRQ_LEVEL;
+	}
+
+	tmp |= S3C_MODE_POST_INT_ENABLE;
+
+	__raw_writel(tmp, base + S3C_MODE);
+}
+EXPORT_SYMBOL(s3c_tvscaler_int_enable);
+
+void s3c_tvscaler_int_disable(void)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(base + S3C_MODE);
+
+	tmp &=~ (S3C_MODE_POST_INT_ENABLE);
+
+	__raw_writel(tmp, base + S3C_MODE);
+
+}
+EXPORT_SYMBOL(s3c_tvscaler_int_disable);
+
+
+void s3c_tvscaler_start(void)
+{
+	__raw_writel(S3C_POSTENVID_ENABLE, base + S3C_POSTENVID);
+
+}
+EXPORT_SYMBOL(s3c_tvscaler_start);
+
+void s3c_tvscaler_stop_freerun(void)
+{
+	u32 tmp;
+
+	tmp = __raw_readl(base + S3C_MODE);
+
+	tmp &=~(1<<14);
+
+	__raw_writel(tmp, base + S3C_MODE);
+}
+EXPORT_SYMBOL(s3c_tvscaler_stop_freerun);
+
+
+void s3c_tvscaler_config(scaler_params_t *sp)
+{
+	u32 tmp = 0; 
+	u32 in_pixel_size = 0; 
+	u32 out_pixel_size = 0;
+	u32 loop = 0;
+
+	tmp = __raw_readl(base + S3C_POSTENVID);
+	tmp &= ~S3C_POSTENVID_ENABLE;
+	__raw_writel(tmp, base + S3C_POSTENVID);
+#ifdef SINGLE_BUF
+	tmp = S3C_MODE2_ADDR_CHANGE_DISABLE |S3C_MODE2_CHANGE_AT_FRAME_END |S3C_MODE2_SOFTWARE_TRIGGER;
+#else
+	tmp = S3C_MODE2_ADDR_CHANGE_ENABLE |S3C_MODE2_CHANGE_AT_FRAME_END |S3C_MODE2_SOFTWARE_TRIGGER;
+#endif
+	__raw_writel(tmp, base + S3C_MODE2);
+
+// peter mod.	start	
+	sp->DstStartX = sp->DstStartY = 0;	
+	sp->DstWidth = sp->DstFullWidth;
+	sp->DstHeight = sp->DstFullHeight;	
+// peter mod. end		
+
+	sp->DstFrmSt = ( POST_BUFF_BASE_ADDR + PRE_BUFF_SIZE );
+	printk("\n---peter s3c_tvscaler_config : SrcFrmSt = 0x%08x\n", sp->SrcFrmSt);
+	printk("---peter s3c_tvscaler_config : DstFrmSt = 0x%08x\n", sp->DstFrmSt);
+
+	s3c_tvscaler_set_clk_src(HCLK);
+
+	s3c_tvscaler_set_path(sp->InPath, sp->OutPath);
+
+	s3c_tvscaler_set_fmt(sp->SrcCSpace, sp->DstCSpace, sp->InPath, 
+						sp->OutPath, &in_pixel_size, &out_pixel_size);
+
+	s3c_tvscaler_set_size(sp);
+
+	s3c_tvscaler_set_addr(sp, in_pixel_size, out_pixel_size);
+
+	s3c_tvscaler_set_auto_load(sp);
+
+}
+EXPORT_SYMBOL(s3c_tvscaler_config);
+
+void s3c_tvscaler_set_param(scaler_params_t *sp)
+{
+#if 0	
+	param.SrcFullWidth	= sp->SrcFullWidth;
+	param.SrcFullHeight	= sp->SrcFullHeight;
+	param.SrcStartX		= sp->SrcStartX;	
+	param.SrcStartY		= sp->SrcStartY;
+	param.SrcWidth		= sp->SrcWidth;
+	param.SrcHeight		= sp->SrcHeight;
+	param.SrcFrmSt		= sp->SrcFrmSt;
+	param.SrcCSpace		= sp->SrcCSpace;
+	param.DstFullWidth	= sp->DstFullWidth;
+	param.DstFullHeight	= sp->DstFullHeight;
+	param.DstStartX		= sp->DstStartX;
+	param.DstStartY		= sp->DstStartY;
+	param.DstWidth		= sp->DstWidth;
+	param.DstHeight		= sp->DstHeight;
+	param.DstFrmSt		= sp->DstFrmSt;
+	param.DstCSpace		= sp->DstCSpace;
+	param.SrcFrmBufNum	= sp->SrcFrmBufNum;
+	param.DstFrmSt		= sp->DstFrmSt;
+	param.Mode		= sp->Mode;	
+	param.InPath		= sp->InPath;
+	param.OutPath		= sp->OutPath;
+#endif	
+}
+EXPORT_SYMBOL(s3c_tvscaler_set_param);
+
+void s3c_tvscaler_init(void)
+{
+
+	int tmp;
+
+	// Use DOUTmpll source clock as a scaler clock
+	tmp = __raw_readl(S3C_CLK_SRC);
+
+	tmp &=~(0x3<<28);
+	tmp |= (0x1<<28);
+	__raw_writel(tmp, S3C_CLK_SRC);
+ 
+       	printk(" %s \n", __FUNCTION__);
+
+}
+EXPORT_SYMBOL(s3c_tvscaler_init);
+
+
+static int s3c_tvscaler_probe(struct platform_device *pdev)
+{
+   
+	struct resource *res;
+
+        int ret;
+
+	/* find the IRQs */
+	s3c_tvscaler_irq = platform_get_irq(pdev, 0);
+	if(s3c_tvscaler_irq <= 0) {
+		printk(KERN_ERR PFX "failed to get irq resouce\n");
+              return -ENOENT;
+	}
+
+        /* get the memory region for the tv scaler driver */
+       res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+       if(res == NULL) {
+               printk(KERN_ERR PFX "failed to get memory region resouce\n");
+               return -ENOENT;
+       }
+
+	s3c_tvscaler_mem = request_mem_region(res->start, res->end-res->start+1, pdev->name);
+	if(s3c_tvscaler_mem == NULL) {
+		printk(KERN_ERR PFX "failed to reserve memory region\n");
+              return -ENOENT;
+	}
+
+	base = ioremap(s3c_tvscaler_mem->start, s3c_tvscaler_mem->end - res->start + 1);
+	if(s3c_tvscaler_mem == NULL) {
+		printk(KERN_ERR PFX "failed ioremap\n");
+                return -ENOENT;
+	}
+
+	tvscaler_clock = clk_get(&pdev->dev, "tv_encoder");
+        if(tvscaler_clock == NULL) {
+                printk(KERN_ERR PFX "failed to find tvscaler clock source\n");
+                return -ENOENT;
+        }
+
+        clk_enable(tvscaler_clock);
+
+	h_clk = clk_get(&pdev->dev, "hclk");
+        if(h_clk == NULL) {
+                printk(KERN_ERR PFX "failed to find h_clk clock source\n");
+                return -ENOENT;
+        }
+
+	init_waitqueue_head(&waitq);
+
+	ret = request_irq(s3c_tvscaler_irq, s3c_tvscaler_isr, IRQF_DISABLED,
+			"TV_SCALER", NULL);
+	if (ret) {
+		printk("request_irq(TV_SCALER) failed.\n");
+		return ret;
+	}
+	
+       return 0;
+}
+
+static int s3c_tvscaler_remove(struct platform_device *dev)
+{
+	printk(KERN_INFO "s3c_tvscaler_remove called !\n");
+       clk_disable(tvscaler_clock);
+	free_irq(s3c_tvscaler_irq, NULL);
+	if (s3c_tvscaler_mem != NULL) {
+		pr_debug("s3-tvscaler: releasing s3c_tvscaler_mem\n");
+		iounmap(base);
+		release_resource(s3c_tvscaler_mem);
+		kfree(s3c_tvscaler_mem);
+	}
+
+	return 0;
+}
+
+static int s3c_tvscaler_suspend(struct platform_device *dev, pm_message_t state)
+{
+       clk_disable(tvscaler_clock);
+	return 0;
+}
+
+static int s3c_tvscaler_resume(struct platform_device *pdev)
+{
+       clk_enable(tvscaler_clock);
+	return 0;
+}
+
+static struct platform_driver s3c_tvscaler_driver = {
+       .probe          = s3c_tvscaler_probe,
+       .remove         = s3c_tvscaler_remove,
+       .suspend        = s3c_tvscaler_suspend,
+       .resume         = s3c_tvscaler_resume,
+       .driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-tvscaler",
+	},
+};
+
+static char banner[] __initdata = KERN_INFO "S3C6410 TV scaler Driver, (c) 2008 Samsung Electronics\n";
+
+
+int __init  s3c_tvscaler_pre_init(void)
+{
+
+	printk(banner);
+	
+ 	if(platform_driver_register(&s3c_tvscaler_driver) != 0)
+  	{
+   		printk("platform device register Failed \n");
+   		return -1;
+  	}
+	
+	printk(" S3C6410 TV scaler Driver init OK. \n");
+
+       return 0;
+}
+
+void  s3c_tvscaler_exit(void)
+{
+       platform_driver_unregister(&s3c_tvscaler_driver);
+ 	printk("S3C: tvscaler module exit\n");
+}
+
+module_init(s3c_tvscaler_pre_init);
+module_exit(s3c_tvscaler_exit);
+
+
+MODULE_AUTHOR("Peter, Oh");
+MODULE_DESCRIPTION("S3C TV Controller Device Driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/samsung/tv/s3c-tvscaler.h linux-2.6.28.6/drivers/media/video/samsung/tv/s3c-tvscaler.h
--- linux-2.6.28/drivers/media/video/samsung/tv/s3c-tvscaler.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/samsung/tv/s3c-tvscaler.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,95 @@
+#ifndef __S3CTVSCALER_H_
+#define __S3CTVSCALER_H_
+
+#include "plat/media.h"
+
+#define TVSCALER_IOCTL_MAGIC 'S'
+
+#define PPROC_SET_PARAMS	_IO(TVSCALER_IOCTL_MAGIC, 0)
+#define PPROC_START		_IO(TVSCALER_IOCTL_MAGIC, 1)
+#define PPROC_STOP		_IO(TVSCALER_IOCTL_MAGIC, 2)
+#define PPROC_INTERLACE_MODE	_IO(TVSCALER_IOCTL_MAGIC, 3)
+#define PPROC_PROGRESSIVE_MODE	_IO(TVSCALER_IOCTL_MAGIC, 4)
+
+
+#define QVGA_XSIZE      320
+#define QVGA_YSIZE      240
+
+#define LCD_XSIZE       320
+#define LCD_YSIZE       240
+
+#define SCALER_MINOR  251                     // Just some number
+
+//#define SYSTEM_RAM		0x08000000	// 128mb
+#define SYSTEM_RAM		0x07800000	// 120mb
+#define RESERVE_POST_MEM	8*1024*1024	// 8mb
+#define PRE_BUFF_SIZE		4*1024*1024	//4 // 4mb
+#define POST_BUFF_SIZE		( RESERVE_POST_MEM - PRE_BUFF_SIZE )
+
+typedef unsigned int UINT32;
+
+#define post_buff_base_addr	0x55B00000
+#define POST_BUFF_BASE_ADDR	(UINT32)s3c_get_media_memory(S3C_MDEV_TV)
+
+#define USE_DEDICATED_MEM	1
+
+typedef enum {
+	INTERLACE_MODE,
+	PROGRESSIVE_MODE
+} s3c_scaler_scan_mode_t;
+
+typedef enum {
+	POST_DMA, POST_FIFO
+} s3c_scaler_path_t;
+
+typedef enum {
+	ONE_SHOT, FREE_RUN
+} s3c_scaler_run_mode_t;
+
+typedef enum {
+	PAL1, PAL2, PAL4, PAL8,
+	RGB8, ARGB8, RGB16, ARGB16, RGB18, RGB24, RGB30, ARGB24,
+	YC420, YC422, // Non-interleave
+	CRYCBY, CBYCRY, YCRYCB, YCBYCR, YUV444 // Interleave
+} cspace_t;
+
+typedef enum
+{
+	HCLK = 0, PLL_EXT = 1, EXT_27MHZ = 3
+} scaler_clk_src_t;
+
+typedef struct{
+	unsigned int SrcFullWidth; 		// Source Image Full Width(Virtual screen size)
+	unsigned int SrcFullHeight; 		// Source Image Full Height(Virtual screen size)
+	unsigned int SrcStartX; 			// Source Image Start width offset
+	unsigned int SrcStartY; 			// Source Image Start height offset
+	unsigned int SrcWidth;			// Source Image Width
+	unsigned int SrcHeight; 			// Source Image Height
+	unsigned int SrcFrmSt; 			// Base Address of the Source Image : Physical Address
+	cspace_t SrcCSpace; 		// Color Space ot the Source Image
+	
+	unsigned int DstFullWidth; 		// Source Image Full Width(Virtual screen size)
+	unsigned int DstFullHeight; 		// Source Image Full Height(Virtual screen size)
+	unsigned int DstStartX; 			// Source Image Start width offset
+	unsigned int DstStartY; 			// Source Image Start height offset
+	unsigned int DstWidth; 			// Source Image Width
+	unsigned int DstHeight; 			// Source Image Height
+	unsigned int DstFrmSt; 			// Base Address of the Source Image : Physical Address
+	cspace_t DstCSpace; 		// Color Space ot the Source Image
+	
+	unsigned int SrcFrmBufNum; 		// Frame buffer number
+	s3c_scaler_run_mode_t Mode; 	// POST running mode(PER_FRAME or FREE_RUN)
+	s3c_scaler_path_t InPath; 	// Data path of the source image
+	s3c_scaler_path_t OutPath; 	// Data path of the desitination image
+
+}scaler_params_t;
+
+typedef struct{
+	unsigned int pre_phy_addr;
+	unsigned char *pre_virt_addr;
+
+	unsigned int post_phy_addr;
+	unsigned char *post_virt_addr;
+} buff_addr_t;
+
+#endif //__S3CTVSCALER_H_
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/v4l2-dev.c linux-2.6.28.6/drivers/media/video/v4l2-dev.c
--- linux-2.6.28/drivers/media/video/v4l2-dev.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/v4l2-dev.c	2009-04-30 09:36:38.000000000 +0200
@@ -34,6 +34,8 @@
 #define VIDEO_NUM_DEVICES	256
 #define VIDEO_NAME              "video4linux"
 
+/*#define	CONFIG_VIDEO_FIXED_MINOR_RANGES */
+
 /*
  *	sysfs stuff
  */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/media/video/v4l2-ioctl.c linux-2.6.28.6/drivers/media/video/v4l2-ioctl.c
--- linux-2.6.28/drivers/media/video/v4l2-ioctl.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/media/video/v4l2-ioctl.c	2009-10-23 16:36:42.000000000 +0200
@@ -1012,6 +1012,7 @@
 		if (!ops->vidioc_overlay)
 			break;
 		dbgarg(cmd, "value=%d\n", *i);
+		//printk("[V4L2]VIDIOC_OVERLAY...\N");
 		ret = ops->vidioc_overlay(file, fh, *i);
 		break;
 	}
@@ -1057,8 +1058,12 @@
 		enum v4l2_buf_type i = *(int *)arg;
 
 		if (!ops->vidioc_streamoff)
+		{
+			printk("[V4L2]break\n");			
 			break;
+		}
 		dbgarg(cmd, "type=%s\n", prt_names(i, v4l2_type_names));
+		
 		ret = ops->vidioc_streamoff(file, fh, i);
 		break;
 	}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mmc/core/core.c linux-2.6.28.6/drivers/mmc/core/core.c
--- linux-2.6.28/drivers/mmc/core/core.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mmc/core/core.c	2009-04-30 09:36:38.000000000 +0200
@@ -726,6 +726,9 @@
 void mmc_start_host(struct mmc_host *host)
 {
 	mmc_power_off(host);
+	if (host->caps & MMC_CAP_BOOT_ONTHEFLY)
+		mmc_rescan(&host->detect.work);
+	else
 	mmc_detect_change(host, 0);
 }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mmc/core/mmc.c linux-2.6.28.6/drivers/mmc/core/mmc.c
--- linux-2.6.28/drivers/mmc/core/mmc.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mmc/core/mmc.c	2009-04-30 09:36:38.000000000 +0200
@@ -208,7 +208,7 @@
 	}
 
 	ext_csd_struct = ext_csd[EXT_CSD_REV];
-	if (ext_csd_struct > 2) {
+	if (ext_csd_struct > 3) {
 		printk(KERN_ERR "%s: unrecognised EXT_CSD structure "
 			"version %d\n", mmc_hostname(card->host),
 			ext_csd_struct);
@@ -434,13 +434,24 @@
 	 * Activate wide bus (if supported).
 	 */
 	if ((card->csd.mmca_vsn >= CSD_SPEC_VER_4) &&
-		(host->caps & MMC_CAP_4_BIT_DATA)) {
+	    (host->caps & (MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA))) {
+		unsigned ext_csd_bit, bus_width;
+
+		if (host->caps & MMC_CAP_8_BIT_DATA) {
+			ext_csd_bit = EXT_CSD_BUS_WIDTH_8;
+			bus_width = MMC_BUS_WIDTH_8;
+		} else {
+			ext_csd_bit = EXT_CSD_BUS_WIDTH_4;
+			bus_width = MMC_BUS_WIDTH_4;
+		}
+
 		err = mmc_switch(card, EXT_CSD_CMD_SET_NORMAL,
-			EXT_CSD_BUS_WIDTH, EXT_CSD_BUS_WIDTH_4);
+				 EXT_CSD_BUS_WIDTH, ext_csd_bit);
+
 		if (err)
 			goto free_card;
 
-		mmc_set_bus_width(card->host, MMC_BUS_WIDTH_4);
+		mmc_set_bus_width(card->host, bus_width);
 	}
 
 	if (!oldcard)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mmc/host/Kconfig linux-2.6.28.6/drivers/mmc/host/Kconfig
--- linux-2.6.28/drivers/mmc/host/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mmc/host/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -48,6 +48,18 @@
 
 	  If unsure, say N.
 
+config MMC_SDHCI_S3C
+	tristate "SDHCI support on Samsung S3C SoC"
+	depends on MMC_SDHCI && (PLAT_S3C24XX || PLAT_S3C64XX || PLAT_S5PC1XX || PLAT_S5P64XX )
+	help
+	  This selects the Secure Digital Host Controller Interface (SDHCI)
+	  often referrered to as the HSMMC block in some of the Samsung S3C
+	  range of SoC.
+
+	  If you have a controller with this interface, say Y or M here.
+
+	  If unsure, say N.
+
 config MMC_RICOH_MMC
 	tristate "Ricoh MMC Controller Disabler  (EXPERIMENTAL)"
 	depends on MMC_SDHCI_PCI
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mmc/host/Makefile linux-2.6.28.6/drivers/mmc/host/Makefile
--- linux-2.6.28/drivers/mmc/host/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mmc/host/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -11,6 +11,7 @@
 obj-$(CONFIG_MMC_IMX)		+= imxmmc.o
 obj-$(CONFIG_MMC_SDHCI)		+= sdhci.o
 obj-$(CONFIG_MMC_SDHCI_PCI)	+= sdhci-pci.o
+obj-$(CONFIG_MMC_SDHCI_S3C)	+= sdhci-s3c.o
 obj-$(CONFIG_MMC_RICOH_MMC)	+= ricoh_mmc.o
 obj-$(CONFIG_MMC_WBSD)		+= wbsd.o
 obj-$(CONFIG_MMC_AU1X)		+= au1xmmc.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mmc/host/s3c-hsmmc.c linux-2.6.28.6/drivers/mmc/host/s3c-hsmmc.c
--- linux-2.6.28/drivers/mmc/host/s3c-hsmmc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/mmc/host/s3c-hsmmc.c	2010-04-21 06:36:32.000000000 +0200
@@ -0,0 +1,1177 @@
+/*
+ *  linux/drivers/mmc/s3c-hsmmc.c - Samsung S5PC1XX HS-MMC driver
+ *
+ * $Id: s3c-hsmmc.c,v 1.54 2008/08/26 01:18:29 ihlee215 Exp $
+ *
+ *  Copyright (C) 2006 Samsung Electronics, All Rights Reserved.
+ *  by Suh, Seung-Chull<sc.suh@samsung.com>
+ *
+ *  This driver is made for High Speed MMC interface. This interface
+ *  is adopted and implemented since s3c2443 was made.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ *  Modified by Ryu,Euiyoul <steven.ryu@samsung.com>
+ *
+ */
+
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/ioport.h>
+#include <linux/platform_device.h>
+#include <linux/delay.h>
+#include <linux/interrupt.h>
+#include <linux/highmem.h>
+#include <linux/dma-mapping.h>
+#include <linux/mmc/host.h>
+#include <linux/mmc/mmc.h>
+#include <linux/mmc/sd.h>
+#include <linux/mmc/card.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/proc_fs.h>
+#include <linux/irq.h>
+
+#include <asm/dma.h>
+#include <asm/dma-mapping.h>
+
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <asm/scatterlist.h>
+#include <asm/sizes.h>
+
+#include <plat/clock.h>
+
+#include <plat/regs-hsmmc.h>
+#include <plat/hsmmc.h>
+#include <mach/dma.h>
+#if defined(CONFIG_CPU_S3C6410)
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-n.h>
+static int card_detect = 0;
+#endif
+
+#ifdef CONFIG_S3CMMC_DEBUG
+#define DBG(x...)       printk(PFX x)
+#else
+#define DBG(x...)       do { } while (0)
+#endif
+
+#include "s3c-hsmmc.h"
+
+#define DRIVER_NAME "s3c-hsmmc"
+#define PFX DRIVER_NAME ": "
+
+#define RESSIZE(ressource) (((ressource)->end - (ressource)->start)+1)
+
+#if defined(CONFIG_PM)
+struct s3c_hsmmc_host *global_host[3];
+#endif
+
+/*****************************************************************************\
+ *                                                                           *
+ * Low level functions                                                       *
+ *                                                                           *
+\*****************************************************************************/
+
+static struct s3c_hsmmc_cfg s3c_hsmmc_platform = {
+	.hwport = 0,
+        .enabled = 0,
+	.host_caps = MMC_CAP_4_BIT_DATA,
+	.base = NULL,
+	.highspeed = 0,
+
+	/* ctrl for mmc */
+	.fd_ctrl[0] = {
+		.ctrl2    = 0xC0004100,	/* ctrl2 for mmc */
+		.ctrl3[0] = 0x80808080,	/* ctrl3 for low speed */
+		.ctrl3[1] = 0x00000080,	/* ctrl3 for high speed */
+		.ctrl4 = 0,
+	},
+
+	/* ctrl for sd */
+	.fd_ctrl[1] = {
+		.ctrl2    = 0xC0000100,	/* ctrl2 for sd */
+		.ctrl3[0] = 0,		/* ctrl3 for low speed */
+		.ctrl3[1] = 0,		/* ctrl3 for high speed */
+		.ctrl4 = 0,
+	},
+};
+
+/* s3c_hsmmc_get_platdata
+ *
+ * get the platform data associated with the given device, or return
+ * the default if there is none
+ */
+
+static struct s3c_hsmmc_cfg *s3c_hsmmc_get_platdata (struct device *dev)
+{
+	if (dev->platform_data != NULL)
+		return (struct s3c_hsmmc_cfg *)dev->platform_data;
+
+	return &s3c_hsmmc_platform;
+}
+
+static void s3c_hsmmc_reset (struct s3c_hsmmc_host *host, u8 mask)
+{
+	unsigned long timeout;
+
+	s3c_hsmmc_writeb(mask, S3C_HSMMC_SWRST);
+
+	if (mask & S3C_HSMMC_RESET_ALL)
+		host->clock = (uint)-1;
+
+	/* Wait max 100 ms */
+	timeout = 100;
+
+	/* hw clears the bit when it's done */
+	while (s3c_hsmmc_readb(S3C_HSMMC_SWRST) & mask) {
+		if (timeout == 0) {
+			printk("%s: Reset 0x%x never completed. \n",
+				mmc_hostname(host->mmc), (int)mask);
+			return;
+		}
+		timeout--;
+		mdelay(1);
+	}
+
+}
+
+static void s3c_hsmmc_ios_init (struct s3c_hsmmc_host *host)
+{
+	u32 intmask;
+
+	s3c_hsmmc_reset(host, S3C_HSMMC_RESET_ALL);
+
+	intmask = S3C_HSMMC_INT_BUS_POWER | S3C_HSMMC_INT_DATA_END_BIT |
+		S3C_HSMMC_INT_DATA_CRC | S3C_HSMMC_INT_DATA_TIMEOUT | S3C_HSMMC_INT_INDEX |
+		S3C_HSMMC_INT_END_BIT | S3C_HSMMC_INT_CRC | S3C_HSMMC_INT_TIMEOUT |
+		S3C_HSMMC_INT_CARD_REMOVE | S3C_HSMMC_INT_CARD_INSERT |
+		S3C_HSMMC_INT_DATA_AVAIL | S3C_HSMMC_INT_SPACE_AVAIL |
+		S3C_HSMMC_INT_DATA_END | S3C_HSMMC_INT_RESPONSE;
+
+#ifdef CONFIG_HSMMC_SCATTERGATHER
+	intmask |= S3C_HSMMC_INT_DMA_END;
+#endif
+	s3c_hsmmc_writel(intmask, S3C_HSMMC_NORINTSTSEN);
+	s3c_hsmmc_writel(intmask, S3C_HSMMC_NORINTSIGEN);
+}
+
+/*****************************************************************************\
+ *                                                                           *
+ * Tasklets                                                                  *
+ *                                                                           *
+\*****************************************************************************/
+
+static void s3c_hsmmc_tasklet_card (ulong param)
+{
+	struct s3c_hsmmc_host *host;
+	unsigned long iflags;
+
+	host = (struct s3c_hsmmc_host*)param;
+	spin_lock_irqsave(&host->lock, iflags);
+
+	if (!(s3c_hsmmc_readl(S3C_HSMMC_PRNSTS) & S3C_HSMMC_CARD_PRESENT)) {
+		if (host->mrq) {
+			printk(KERN_ERR "%s: Card removed during transfer!\n",
+				mmc_hostname(host->mmc));
+			printk(KERN_ERR "%s: Resetting controller.\n",
+				mmc_hostname(host->mmc));
+
+			s3c_hsmmc_reset(host, S3C_HSMMC_RESET_CMD);
+			s3c_hsmmc_reset(host, S3C_HSMMC_RESET_DATA);
+
+			host->mrq->cmd->error = -ENOMEDIUM;
+			tasklet_schedule(&host->finish_tasklet);
+		}
+	}
+
+	spin_unlock_irqrestore(&host->lock, iflags);
+
+	mmc_detect_change(host->mmc, msecs_to_jiffies(500));
+}
+
+/*****************************************************************************\
+ *                                                                           *
+ * Core functions                                                            *
+ *                                                                           *
+\*****************************************************************************/
+
+#ifdef CONFIG_HSMMC_SCATTERGATHER
+static inline uint s3c_hsmmc_build_dma_table (struct s3c_hsmmc_host *host,
+						struct mmc_data *data)
+{
+	uint i;
+	struct scatterlist * sg = data->sg;
+
+	/* build dma table except the last one */
+	for (i=0; i<(host->sg_len-1); i++) {
+		host->sdma_descr_tbl[i].dma_address = sg[i].dma_address;
+		host->sdma_descr_tbl[i].length_attr = (sg[i].length << 16) | (S3C_HSMMC_ADMA_ATTR_ACT_TRAN) |
+			(S3C_HSMMC_ADMA_ATTR_VALID);
+
+		DBG("  ADMA2 descr table[%d] - addr: %08x, size+attr: %08x\n", i, host->sdma_descr_tbl[i].dma_address,
+										host->sdma_descr_tbl[i].length_attr);
+	}
+
+	/* the last one */
+	host->sdma_descr_tbl[i].dma_address = sg[i].dma_address;
+	host->sdma_descr_tbl[i].length_attr = (sg[i].length << 16) | (S3C_HSMMC_ADMA_ATTR_ACT_TRAN) |
+			(S3C_HSMMC_ADMA_ATTR_END | S3C_HSMMC_ADMA_ATTR_VALID);
+
+	DBG("  ADMA2 descr table[%d] - addr: %08x, size+attr: %08x\n", i, host->sdma_descr_tbl[i].dma_address,
+										host->sdma_descr_tbl[i].length_attr);
+
+ 	return (i);
+
+}
+#endif
+
+static inline void s3c_hsmmc_prepare_data (struct s3c_hsmmc_host *host,
+						struct mmc_command *cmd)
+{
+	u8 reg8;
+	u32 reg;
+	struct mmc_data *data = cmd->data;
+
+	if (data == NULL) {
+		reg = s3c_hsmmc_readl(S3C_HSMMC_NORINTSTSEN) | S3C_HSMMC_NIS_CMDCMP;
+		s3c_hsmmc_writel(reg, S3C_HSMMC_NORINTSTSEN);
+		return;
+	}
+
+	reg = s3c_hsmmc_readl(S3C_HSMMC_NORINTSTSEN) & ~S3C_HSMMC_NIS_CMDCMP;
+	s3c_hsmmc_writel(reg, S3C_HSMMC_NORINTSTSEN);
+
+	host->dma_dir = (data->flags & MMC_DATA_READ)
+				? DMA_FROM_DEVICE : DMA_TO_DEVICE;
+
+#ifdef CONFIG_HSMMC_SCATTERGATHER
+	host->sg_len = dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len,
+				host->dma_dir);
+
+	reg = s3c_hsmmc_readl(S3C_HSMMC_NORINTSTSEN);
+	if (host->sg_len == 1) {
+		reg &= ~S3C_HSMMC_NIS_DMA;
+	} else {
+		reg |= S3C_HSMMC_NIS_DMA;
+	}
+	s3c_hsmmc_writel(reg, S3C_HSMMC_NORINTSTSEN);
+
+	reg8 = s3c_hsmmc_readb(S3C_HSMMC_HOSTCTL);
+	reg8 |= S3C_HSMMC_CTRL_ADMA2_32;
+	s3c_hsmmc_writeb(reg8, S3C_HSMMC_HOSTCTL);
+	DBG("HOSTCTL(0x28) = 0x%02x\n", s3c_hsmmc_readb(S3C_HSMMC_HOSTCTL));
+	DBG("data->flags(direction) =  0x%x\n", data->flags);
+	DBG("data->blksz: %d\n", data->blksz);
+	DBG("data->blocks: %d\n", data->blocks);
+	DBG("data->sg_len: %d\n", data->sg_len);
+
+	DBG("data->sg->addr: 0x%x\n", data->sg->dma_address);
+	DBG("data->sg->length: 0x%x\n", data->sg->length);
+
+	host->dma_blk = s3c_hsmmc_build_dma_table(host, data);
+	host->next_blk = 0;
+#else
+	DBG("data->flags(direction) =  0x%x\n", data->flags);
+	DBG("data->blksz: %d\n", data->blksz);
+	DBG("data->blocks: %d\n", data->blocks);
+	DBG("data->sg_len: %d\n", data->sg_len);
+	dma_map_sg(mmc_dev(host->mmc), data->sg, data->sg_len,
+				host->dma_dir);
+#endif
+}
+
+static inline void s3c_hsmmc_set_transfer_mode (struct s3c_hsmmc_host *host,
+					struct mmc_data *data)
+{
+	u16 mode;
+
+	mode = S3C_HSMMC_TRNS_DMA;
+
+	if (data->stop)
+		mode |= S3C_HSMMC_TRNS_ACMD12;
+
+	if (data->blocks > 1)
+		mode |= S3C_HSMMC_TRNS_MULTI | S3C_HSMMC_TRNS_BLK_CNT_EN;
+	if (data->flags & MMC_DATA_READ)
+		mode |= S3C_HSMMC_TRNS_READ;
+
+	s3c_hsmmc_writew(mode, S3C_HSMMC_TRNMOD);
+}
+
+static inline void s3c_hsmmc_send_register (struct s3c_hsmmc_host *host)
+{
+	struct mmc_command *cmd = host->cmd;
+	struct mmc_data *data = cmd->data;
+
+	u32 cmd_val;
+
+	if (data) {
+
+#ifdef CONFIG_HSMMC_SCATTERGATHER
+		s3c_hsmmc_writew(S3C_HSMMC_MAKE_BLKSZ(0x7, data->blksz), S3C_HSMMC_BLKSIZE);
+		s3c_hsmmc_writel(virt_to_phys(host->sdma_descr_tbl), S3C_HSMMC_ADMASYSADDR);
+		DBG("S3C_HSMMC_ADMASYSADDR(0x58) = 0x%08x\n", s3c_hsmmc_readl(S3C_HSMMC_ADMASYSADDR));
+#else
+		s3c_hsmmc_writew(S3C_HSMMC_MAKE_BLKSZ(0x7, data->blksz), S3C_HSMMC_BLKSIZE);
+		s3c_hsmmc_writel(sg_dma_address(data->sg), S3C_HSMMC_SYSAD);
+#endif
+		s3c_hsmmc_writew(data->blocks, S3C_HSMMC_BLKCNT);
+		s3c_hsmmc_set_transfer_mode(host, data);
+	}
+
+	s3c_hsmmc_writel(cmd->arg, S3C_HSMMC_ARGUMENT);
+
+	cmd_val = (cmd->opcode << 8);
+	if (cmd_val == (12<<8))
+		cmd_val |= (3 << 6);
+
+	if (cmd->flags & MMC_RSP_136)		/* Long RSP */
+		cmd_val |= S3C_HSMMC_CMD_RESP_LONG;
+	else if (cmd->flags & MMC_RSP_BUSY)	/* R1B */
+		cmd_val |= S3C_HSMMC_CMD_RESP_SHORT_BUSY;
+	else if (cmd->flags & MMC_RSP_PRESENT)	/* Normal RSP */
+		cmd_val |= S3C_HSMMC_CMD_RESP_SHORT;
+
+	if (cmd->flags & MMC_RSP_OPCODE)
+		cmd_val |= S3C_HSMMC_CMD_INDEX;
+
+	if (cmd->flags & MMC_RSP_CRC)
+		cmd_val |= S3C_HSMMC_CMD_CRC;
+
+	if (data)
+		cmd_val |= S3C_HSMMC_CMD_DATA;
+
+	s3c_hsmmc_writew(cmd_val, S3C_HSMMC_CMDREG);
+}
+
+static inline void s3c_hsmmc_send_command (struct s3c_hsmmc_host *host,
+						struct mmc_command *cmd)
+{
+	u32 mask=1;
+	ulong timeout;
+
+	while (s3c_hsmmc_readl(S3C_HSMMC_CONTROL4) & mask);
+
+	DBG("Sending cmd=(%d), arg=0x%x\n", cmd->opcode, cmd->arg);
+
+	/* Wait max 10 ms */
+	timeout = 10;
+
+	mask = S3C_HSMMC_CMD_INHIBIT;
+	if ((cmd->data != NULL) || (cmd->flags & MMC_RSP_BUSY))
+		mask |= S3C_HSMMC_DATA_INHIBIT;
+
+	while (s3c_hsmmc_readl(S3C_HSMMC_PRNSTS) & mask) {
+		printk("########### waiting controller wakeup\n");
+		if (timeout == 0) {
+			printk(KERN_ERR "%s: Controller never released "
+				"inhibit bit(s).\n", mmc_hostname(host->mmc));
+			cmd->error = -EIO;
+			tasklet_schedule(&host->finish_tasklet);
+			return;
+		}
+		timeout--;
+		mdelay(1);
+	}
+
+	mod_timer(&host->timer, jiffies + 10 * HZ);
+
+	host->cmd = cmd;
+
+	s3c_hsmmc_prepare_data(host, cmd);
+	s3c_hsmmc_send_register(host);
+}
+
+static void s3c_hsmmc_finish_data (struct s3c_hsmmc_host *host)
+{
+	struct mmc_data *data;
+	u16 blocks;
+
+	if(!host->data) return;
+
+	data = host->data;
+	host->data = NULL;
+
+	dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len,
+			(data->flags & MMC_DATA_READ)
+			? DMA_FROM_DEVICE : DMA_TO_DEVICE);
+
+	/*
+	 * Controller doesn't count down when in single block mode.
+	 */
+	if (data->blocks == 1)
+		blocks = (data->error == 0) ? 0 : 1;
+	else {
+		blocks = s3c_hsmmc_readw(S3C_HSMMC_BLKCNT);
+	}
+	data->bytes_xfered = data->blksz * (data->blocks - blocks);
+
+	if (!data->error && blocks) {
+		printk(KERN_ERR "%s: Controller signalled completion even "
+			"though there were blocks left. : %d\n",
+			mmc_hostname(host->mmc), blocks);
+		data->error = -EIO;
+	}
+	DBG("data->flags(direction) FINISHED =  %d\n", data->flags);
+	DBG("data->blksz FINISHED =  %d\n", data->blksz);
+	DBG("data->blocks FINISHED =  %d\n", data->blocks);
+	DBG("Not FINISHED blocks =  %d\n", blocks);
+	DBG("Ending data transfer (%d bytes)\n", data->bytes_xfered);
+	DBG("\n");
+
+	tasklet_schedule(&host->finish_tasklet);
+}
+
+static void s3c_hsmmc_finish_command (struct s3c_hsmmc_host *host)
+{
+	int i;
+
+	if(!host->cmd) return;
+
+	if (host->cmd->flags & MMC_RSP_PRESENT) {
+		if (host->cmd->flags & MMC_RSP_136) {
+			/* CRC is stripped so we need to do some shifting. */
+			for (i=0; i<4; i++) {
+				host->cmd->resp[i] = s3c_hsmmc_readl(S3C_HSMMC_RSPREG0+ (3-i)*4) << 8;
+				if (i != 3)
+					host->cmd->resp[i] |= s3c_hsmmc_readb(S3C_HSMMC_RSPREG0 + (3-i)*4-1);
+					DBG("cmd (%d) resp[%d] = 0x%x\n", host->cmd->opcode, i, host->cmd->resp[i]);
+			}
+		} else {
+			host->cmd->resp[0] = s3c_hsmmc_readl(S3C_HSMMC_RSPREG0);
+			DBG("cmd (%d) resp[%d] = 0x%x\n", host->cmd->opcode, 0, host->cmd->resp[0]);
+		}
+	}
+
+	host->cmd->error = 0;
+
+	DBG("Ending cmd (%d)\n", host->cmd->opcode);
+	DBG("\n");
+
+	if (host->cmd->data)
+		host->data = host->cmd->data;
+	else
+		tasklet_schedule(&host->finish_tasklet);
+
+	host->cmd = NULL;
+}
+
+static void s3c_hsmmc_tasklet_finish (unsigned long param)
+{
+	struct s3c_hsmmc_host *host;
+	unsigned long iflags;
+	struct mmc_request *mrq;
+
+	host = (struct s3c_hsmmc_host*)param;
+
+	if(!host->mrq) return;
+
+	spin_lock_irqsave(&host->lock, iflags);
+
+	del_timer(&host->timer);
+
+	mrq = host->mrq;
+
+	/*
+	 * The controller needs a reset of internal state machines
+	 * upon error conditions.
+	 */
+	if ((mrq->cmd->error) || (mrq->data && (mrq->data->error)) ) {
+		s3c_hsmmc_reset(host, S3C_HSMMC_RESET_CMD);
+		s3c_hsmmc_reset(host, S3C_HSMMC_RESET_DATA);
+	}
+
+	host->mrq = NULL;
+	host->cmd = NULL;
+	host->data = NULL;
+
+	mmiowb();
+	spin_unlock_irqrestore(&host->lock, iflags);
+
+	mmc_request_done(host->mmc, mrq);
+}
+
+/*****************************************************************************
+ *                                                                           *
+ * Interrupt handling                                                        *
+ *                                                                           *
+ *****************************************************************************/
+
+static void s3c_hsmmc_cmd_irq (struct s3c_hsmmc_host *host, u32 intmask)
+{
+	if (!host->cmd) {
+		printk(KERN_ERR "%s: Got command interrupt 0x%08x even "
+			"though no command operation was in progress.\n",
+			mmc_hostname(host->mmc), (unsigned)intmask);
+		return;
+	}
+
+	if (intmask & S3C_HSMMC_INT_TIMEOUT)
+		host->cmd->error = -ETIMEDOUT;
+	else if (intmask & (S3C_HSMMC_INT_CRC | S3C_HSMMC_INT_END_BIT | S3C_HSMMC_INT_INDEX))
+		host->cmd->error = -EILSEQ;
+
+	if (host->cmd->error)
+		tasklet_schedule(&host->finish_tasklet);
+}
+
+static void s3c_hsmmc_data_irq (struct s3c_hsmmc_host *host, u32 intmask)
+{
+	if (!host->data) {
+		/*
+		 * A data end interrupt is sent together with the response
+		 * for the stop command.
+		 */
+		if (intmask & S3C_HSMMC_INT_DATA_END)
+			return;
+
+		printk(KERN_ERR "%s: Got data interrupt even though no "
+			"data operation was in progress.\n",
+			mmc_hostname(host->mmc));
+		return;
+	}
+
+	if (intmask & S3C_HSMMC_INT_DATA_TIMEOUT)
+		host->data->error =  -ETIMEDOUT;
+	else if (intmask & (S3C_HSMMC_INT_DATA_CRC|S3C_HSMMC_INT_DATA_END_BIT))
+		host->data->error = -EILSEQ;
+
+	if (host->data->error)
+		s3c_hsmmc_finish_data(host);
+}
+
+
+/*****************************************************************************\
+ *                                                                           *
+ * Interrupt handling                                                        *
+ *                                                                           *
+\*****************************************************************************/
+
+/*
+ * ISR for SDI Interface IRQ
+ * Communication between driver and ISR works as follows:
+ *   host->mrq 			points to current request
+ *   host->complete_what	tells the ISR when the request is considered done
+ *
+ * 1) Driver sets up host->mrq and host->complete_what
+ * 2) Driver prepares the transfer
+ * 3) Driver enables interrupts
+ * 4) Driver starts transfer
+ * 5) Driver waits for host->complete_rquest
+ * 6) ISR checks for request status (errors and success)
+ * 6) ISR sets host->mrq->cmd->error and host->mrq->data->error
+ * 7) ISR completes host->complete_request
+ * 8) ISR disables interrupts
+ * 9) Driver wakes up and takes care of the request
+ */
+
+static irqreturn_t s3c_hsmmc_irq (int irq, void *dev_id)
+{
+	irqreturn_t result = 0;
+	struct s3c_hsmmc_host *host = dev_id;
+	struct mmc_request *mrq;
+	u32 intsts;
+
+	uint i, org_irq_sts;
+
+	spin_lock(&host->lock);
+
+	mrq = host->mrq;
+
+	intsts = s3c_hsmmc_readw(S3C_HSMMC_NORINTSTS);
+
+	/* Sometimes, hsmmc does not update its status bit immediately
+	 * when it generates irqs.
+	 */
+	for (i=0; i<0x1000; i++) {
+		if ((intsts = s3c_hsmmc_readw(S3C_HSMMC_NORINTSTS)))
+			break;
+	}
+
+	if (unlikely(!intsts)) {
+		result = IRQ_NONE;
+		goto out;
+	}
+	intsts = s3c_hsmmc_readl(S3C_HSMMC_NORINTSTS);
+	org_irq_sts = intsts;
+
+	DBG(PFX "Got interrupt = 0x%08x\n", intsts);
+
+	if (unlikely(intsts & S3C_HSMMC_INT_CARD_CHANGE)) {
+		u32 reg16;
+
+		reg16 = s3c_hsmmc_readw(S3C_HSMMC_NORINTSTSEN);
+		s3c_hsmmc_writew(reg16 & ~S3C_HSMMC_INT_CARD_CHANGE,
+							S3C_HSMMC_NORINTSTSEN);
+		s3c_hsmmc_writew(S3C_HSMMC_INT_CARD_CHANGE, S3C_HSMMC_NORINTSTS);
+		s3c_hsmmc_writew(reg16, S3C_HSMMC_NORINTSTSEN);
+
+		intsts &= ~S3C_HSMMC_INT_CARD_CHANGE;
+
+		tasklet_schedule(&host->card_tasklet);
+		goto insert;
+	}
+
+	if (likely(!(intsts & S3C_HSMMC_NIS_ERR))) {
+		s3c_hsmmc_writel(intsts, S3C_HSMMC_NORINTSTS);
+
+		if (intsts & S3C_HSMMC_NIS_CMDCMP) {
+			DBG("command done\n");
+			s3c_hsmmc_finish_command(host);
+		}
+
+		if (intsts & S3C_HSMMC_NIS_TRSCMP) {
+			DBG("transfer done\n\n");
+			s3c_hsmmc_finish_command(host);
+			s3c_hsmmc_finish_data(host);
+			intsts &= ~S3C_HSMMC_NIS_DMA;
+		}
+
+	} else {
+		DBG("command FAIL : found bad irq [0x%8x]\n", intsts);
+		DBG("\n");
+		if (intsts & S3C_HSMMC_INT_CMD_MASK) {
+			s3c_hsmmc_writel(intsts & S3C_HSMMC_INT_CMD_MASK, S3C_HSMMC_NORINTSTS);
+			s3c_hsmmc_cmd_irq(host, intsts & S3C_HSMMC_INT_CMD_MASK);
+		}
+
+		if (intsts & S3C_HSMMC_INT_DATA_MASK) {
+			s3c_hsmmc_writel(intsts & S3C_HSMMC_INT_DATA_MASK, S3C_HSMMC_NORINTSTS);
+			s3c_hsmmc_finish_command(host);
+			s3c_hsmmc_data_irq(host, intsts & S3C_HSMMC_INT_DATA_MASK);
+		}
+
+		intsts &= ~(S3C_HSMMC_INT_CMD_MASK | S3C_HSMMC_INT_DATA_MASK);
+	}
+
+	for (i=0; i<0x1000; i++) {
+		if (org_irq_sts != s3c_hsmmc_readl(S3C_HSMMC_NORINTSTS))
+			break;
+	}
+
+insert:
+	result = IRQ_HANDLED;
+	mmiowb();
+
+out:
+	spin_unlock(&host->lock);
+
+	return result;
+}
+
+#if defined(CONFIG_CPU_S3C6410)
+static irqreturn_t s3c_hsmmc_irq_cd (int irq, void *dev_id)
+{
+        struct s3c_hsmmc_host *host = dev_id;
+        int ext_CD_int = 0;
+
+        ext_CD_int = readl(S3C64XX_GPNDAT);
+	//ext_CD_int &= 0x2000;   /* GPN13 */
+	ext_CD_int &= 0x40;
+
+        if(ext_CD_int && card_detect) {
+                printk("s3c-hsmmc channel-0(EXT): card removed.\n");
+                set_irq_type(host->irq_cd, IRQ_TYPE_EDGE_FALLING);
+                card_detect = 0;
+        }
+        else if(!ext_CD_int && !card_detect) {
+                printk("s3c-hsmmc channel-0(EXT): card inserted.\n");
+                set_irq_type(host->irq_cd, IRQ_TYPE_EDGE_RISING);
+                card_detect = 1;
+        }
+        else
+                return IRQ_HANDLED;
+
+
+        tasklet_schedule(&host->card_tasklet);
+        mmiowb();
+
+        spin_unlock(&host->lock);
+
+        return IRQ_HANDLED;
+}
+#endif
+
+static void s3c_hsmmc_check_status (unsigned long data)
+{
+        struct s3c_hsmmc_host *host = (struct s3c_hsmmc_host *)data;
+
+	s3c_hsmmc_irq(0, host);
+}
+
+static void s3c_hsmmc_request (struct mmc_host *mmc, struct mmc_request *mrq)
+{
+	struct s3c_hsmmc_host *host = mmc_priv(mmc);
+	unsigned long flags;
+
+	DBG("hsmmc request: [CMD] opcode:%d arg:0x%08x flags:0x%02x retries:%u\n",
+		mrq->cmd->opcode, mrq->cmd->arg, mrq->cmd->flags, mrq->cmd->retries);
+
+	spin_lock_irqsave(&host->lock, flags);
+
+	WARN_ON(host->mrq != NULL);
+
+	host->mrq = mrq;
+
+	if ((s3c_hsmmc_readl(S3C_HSMMC_PRNSTS) & S3C_HSMMC_CARD_PRESENT)) {
+		s3c_hsmmc_send_command(host, mrq->cmd);
+	} else {
+		host->mrq->cmd->error = -ENOMEDIUM;
+		tasklet_schedule(&host->finish_tasklet);
+	}
+
+	mmiowb();
+	spin_unlock_irqrestore(&host->lock, flags);
+}
+
+/* return 0: OK
+ * return -1: error
+ */
+static int s3c_set_bus_width (struct s3c_hsmmc_host *host, uint width)
+{
+	u8 reg;
+
+	reg = s3c_hsmmc_readb(S3C_HSMMC_HOSTCTL);
+
+	switch (width) {
+	case MMC_BUS_WIDTH_1:
+		reg &= ~(S3C_HSMMC_CTRL_4BIT | S3C_HSMMC_CTRL_8BIT);
+		DBG("bus width: 1 bit\n");
+		break;
+
+	case MMC_BUS_WIDTH_4:
+		DBG("bus width: 4 bit\n");
+		reg &= ~(S3C_HSMMC_CTRL_8BIT);
+		reg |= S3C_HSMMC_CTRL_4BIT;
+		break;
+
+	case MMC_BUS_WIDTH_8:
+		reg |= S3C_HSMMC_CTRL_8BIT;
+		DBG("bus width: 8 bit\n");
+		break;
+
+	default:
+		DBG("bus width: Error\n");
+		return -1;
+	}
+
+	s3c_hsmmc_writeb(reg, S3C_HSMMC_HOSTCTL);
+
+	DBG("HOSTCTL(0x28) = 0x%02x\n", s3c_hsmmc_readb(S3C_HSMMC_HOSTCTL));
+
+	return 0;
+}
+
+static void s3c_hsmmc_set_clock (struct s3c_hsmmc_host *host, ulong clock)
+{
+	struct s3c_hsmmc_cfg *cfg = host->plat_data;
+	int cardtype = 0;
+	u32 val = 0, tmp_clk = 0, sel_clk = 0, i, j;
+	u16 div = (u16)-1;
+	ulong timeout;
+	u8 ctrl;
+
+	if(host->mmc->card != NULL)
+		 cardtype = host->mmc->card->type;
+
+	/* if we already set, just out. */
+	if (clock == host->clock) {
+		printk("%p:host->clock0 : %d Hz\n", host->base, host->clock);
+		return;
+	}
+
+	/* before setting clock, clkcon must be disabled. */
+	s3c_hsmmc_writew(0, S3C_HSMMC_CLKCON);
+
+	s3c_hsmmc_writeb(S3C_HSMMC_TIMEOUT_MAX, S3C_HSMMC_TIMEOUTCON);
+
+	/* change the edge type according to frequency */
+	ctrl = s3c_hsmmc_readb(S3C_HSMMC_HOSTCTL);
+
+	if (cfg->highspeed)
+		ctrl |= S3C_HSMMC_CTRL_HIGHSPEED;
+	else
+		ctrl &= ~S3C_HSMMC_CTRL_HIGHSPEED;
+
+	s3c_hsmmc_writeb(ctrl, S3C_HSMMC_HOSTCTL);
+
+	if (clock == 0) {
+		DBG(" In case of 0 Hz of clock, I'm afraid DO NOTHING ..\n");
+		return;
+	}
+
+	/* calculate optimal clock. by scsuh */
+	DBG("Requested clock is  %ld Hz\n", clock);
+
+	for (i = 0; i < NUM_OF_HSMMC_CLKSOURCES; i++) {
+		if ((tmp_clk = clk_get_rate(host->clk[i])) <= clock) {
+			if (tmp_clk >= val) {
+				val = tmp_clk;
+				div = 0;
+				sel_clk = i;
+			}
+		}
+
+		for (j = 0x1; j <= 0x80; j <<= 1) {
+			tmp_clk = clk_get_rate(host->clk[i]) / (j << 1);
+			if ((val < tmp_clk) && (tmp_clk <= clock)) {
+				val = tmp_clk;
+				div = j;
+				sel_clk = i;
+				break;
+			}
+		}
+		DBG("   tmp_val[%d]: %d\n", sel_clk, val);
+	}
+
+	DBG("Optimal clock : %d Hz, div: 0x%x, SelBaseclk_src: %s(%d)\n", val, div, cfg->clocks[sel_clk].name, cfg->clocks[sel_clk].src);
+
+	/* CONTROL2 */
+	s3c_hsmmc_writel(cfg->fd_ctrl[cardtype].ctrl2 | (cfg->clocks[sel_clk].src << 4), S3C_HSMMC_CONTROL2);
+
+	/* CONTROL3 */
+	if (clock > 25000000)
+		s3c_hsmmc_writel(cfg->fd_ctrl[cardtype].ctrl3[SPEED_HIGH], S3C_HSMMC_CONTROL3);
+	else
+		s3c_hsmmc_writel(cfg->fd_ctrl[cardtype].ctrl3[SPEED_NORMAL], S3C_HSMMC_CONTROL3);
+
+	s3c_hsmmc_writel(cfg->fd_ctrl[cardtype].ctrl4 << 16, S3C_HSMMC_CONTROL4);
+
+	s3c_hsmmc_writew(((div<<8) | S3C_HSMMC_CLOCK_INT_EN), S3C_HSMMC_CLKCON);
+
+	timeout = 10;
+	while (!((val = s3c_hsmmc_readw(S3C_HSMMC_CLKCON))
+				& S3C_HSMMC_CLOCK_INT_STABLE)) {
+		if (!timeout) {
+			printk("HSMMC: Error in INTERNAL clock stabilization: %08x\n", val);
+			return;
+		}
+		timeout--;
+		mdelay(1);
+	}
+
+	s3c_hsmmc_writew(val | S3C_HSMMC_CLOCK_CARD_EN, S3C_HSMMC_CLKCON);
+
+}
+
+
+static void s3c_hsmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
+{
+	struct s3c_hsmmc_host *host = mmc_priv(mmc);
+
+	unsigned long iflags;
+
+	spin_lock_irqsave(&host->lock, iflags);
+
+	/*
+	 * Reset the chip on each power off.
+	 * Should clear out any weird states.
+	 */
+	if (ios->power_mode == MMC_POWER_OFF) {
+		s3c_hsmmc_writew(0, S3C_HSMMC_NORINTSIGEN);
+		s3c_hsmmc_ios_init(host);
+	}
+
+        if (host->plat_data->enabled)
+                hsmmc_set_gpio(host->plat_data->hwport, host->plat_data->bus_width);
+
+	DBG("\nios->clock: %d Hz\n", ios->clock);
+	s3c_hsmmc_set_clock(host, ios->clock);
+
+	DBG("\nios->bus_width: %d\n", ios->bus_width);
+	s3c_set_bus_width(host, ios->bus_width);
+
+	DBG("S3C_HSMMC_CONTROL2(0x80) = 0x%08x\n", s3c_hsmmc_readl(S3C_HSMMC_CONTROL2));
+	DBG("S3C_HSMMC_CONTROL3(0x84) = 0x%08x\n", s3c_hsmmc_readl(S3C_HSMMC_CONTROL3));
+	DBG("S3C_HSMMC_CLKCON  (0x2c) = 0x%04x\n", s3c_hsmmc_readw(S3C_HSMMC_CLKCON));
+
+	if (ios->power_mode == MMC_POWER_OFF)
+		s3c_hsmmc_writeb(S3C_HSMMC_POWER_OFF, S3C_HSMMC_PWRCON);
+	else
+		s3c_hsmmc_writeb(S3C_HSMMC_POWER_ON_ALL, S3C_HSMMC_PWRCON);
+
+	udelay(1000);
+	spin_unlock_irqrestore(&host->lock, iflags);
+}
+
+static struct mmc_host_ops s3c_hsmmc_ops = {
+	.request	= s3c_hsmmc_request,
+	.set_ios	= s3c_hsmmc_set_ios,
+};
+
+static int s3c_hsmmc_probe (struct platform_device *pdev)
+{
+	struct mmc_host *mmc;
+	struct s3c_hsmmc_host *host;
+	struct s3c_hsmmc_cfg *plat_data;
+	uint i;
+	int ret;
+
+	mmc = mmc_alloc_host(sizeof(struct s3c_hsmmc_host), &pdev->dev);
+
+	if (mmc==NULL) {
+		ret = -ENOMEM;
+		printk("Failed to get mmc_alloc_host.\n");
+		return ret;
+	}
+
+	plat_data = s3c_hsmmc_get_platdata(&pdev->dev);
+
+	host = mmc_priv(mmc);
+
+	host->mmc = mmc;
+
+	host->plat_data = plat_data;
+
+	host->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (!host->mem) {
+		printk("Failed to get io memory region resouce.\n");
+		ret = -ENOENT;
+		goto probe_free_host;
+	}
+
+	host->mem = request_mem_region(host->mem->start,
+		RESSIZE(host->mem), pdev->name);
+	if (!host->mem) {
+		printk("Failed to request io memory region.\n");
+		ret = -ENOENT;
+		goto probe_free_host;
+	}
+
+	host->base = ioremap(host->mem->start, (host->mem->end - host->mem->start)+1);
+	if (host->base == NULL) {
+		printk(KERN_ERR "Failed to remap register block\n");
+		return -ENOMEM;
+	}
+
+	host->irq = platform_get_irq(pdev, 0);
+	if (host->irq == 0) {
+		printk("Failed to get interrupt resouce.\n");
+		ret = -EINVAL;
+		goto untasklet;
+	}
+
+#if defined(CONFIG_CPU_S3C6410)
+        /* To detect a card inserted on channel 0,  an external interrupt is used. */
+        if ((plat_data->enabled == 1) && (plat_data->hwport == 0)) {
+                host->irq_cd = platform_get_irq(pdev, 1);
+                if (host->irq_cd == 0) {
+                        printk("Failed to get interrupt resouce.\n");
+                        ret = -EINVAL;
+                        goto untasklet;
+                }
+               set_irq_type(host->irq_cd, IRQ_TYPE_LEVEL_LOW);
+        }
+#endif
+
+	host->flags |= S3C_HSMMC_USE_DMA;
+
+	s3c_hsmmc_reset(host, S3C_HSMMC_RESET_ALL);
+
+	clk_enable(clk_get(&pdev->dev, "hsmmc"));
+
+	/* register some clock sources if exist */
+	for (i=0; i<NUM_OF_HSMMC_CLKSOURCES; i++) {
+		host->clk[i] = clk_get(&pdev->dev, plat_data->clocks[i].name);
+		if (IS_ERR(host->clk[i])) {
+			ret = PTR_ERR(host->clk[i]);
+			host->clk[i] = ERR_PTR(-ENOENT);
+		}
+
+		if (clk_enable(host->clk[i])) {
+			host->clk[i] = ERR_PTR(-ENOENT);
+		}
+
+		if (!IS_ERR(host->clk[i])) {
+			DBG("MMC clock source[%d], %s is %ld Hz\n",i, plat_data->clocks[i].name, clk_get_rate(host->clk[i]));
+		}
+	}
+
+	mmc->ops = &s3c_hsmmc_ops;
+	mmc->ocr_avail = MMC_VDD_32_33|MMC_VDD_33_34;
+	mmc->f_min = 400 * 1000; /* at least 400kHz */
+
+	/* you must make sure that our hsmmc block can support
+	 * up to 52MHz.
+	 */
+	mmc->f_max = 100 * MHZ;
+	mmc->caps = plat_data->host_caps;
+	DBG("mmc->caps: %08x\n", mmc->caps);
+
+	spin_lock_init(&host->lock);
+
+	/*
+	 * Maximum number of segments. Hardware cannot do scatter lists.
+	 * XXX: must modify later.
+	 */
+#ifdef CONFIG_HSMMC_SCATTERGATHER
+	mmc->max_hw_segs = CONFIG_S3C_HSMMC_MAX_HW_SEGS;
+	mmc->max_phys_segs = CONFIG_S3C_HSMMC_MAX_HW_SEGS;
+#else
+	mmc->max_hw_segs = 1;
+#endif
+
+	/*
+	 * Maximum segment size. Could be one segment with the maximum number
+	 * of sectors.
+	 */
+	mmc->max_blk_size = 512;
+	mmc->max_seg_size = 128 * mmc->max_blk_size;
+
+	mmc->max_blk_count = 128;
+	mmc->max_req_size = mmc->max_seg_size;
+
+
+	init_timer(&host->timer);
+        host->timer.data = (unsigned long)host;
+        host->timer.function = s3c_hsmmc_check_status;
+        host->timer.expires = jiffies + HZ;
+
+	/*
+	 * Init tasklets.
+	 */
+	tasklet_init(&host->card_tasklet,
+		s3c_hsmmc_tasklet_card, (unsigned long)host);
+	tasklet_init(&host->finish_tasklet,
+		s3c_hsmmc_tasklet_finish, (unsigned long)host);
+
+	ret = request_irq(host->irq, s3c_hsmmc_irq, 0, DRIVER_NAME, host);
+	if (ret)
+		goto untasklet;
+
+#if defined(CONFIG_CPU_S3C6410)
+        if ((plat_data->enabled == 1) && (plat_data->hwport == 0)) {
+                ret = request_irq(host->irq_cd, s3c_hsmmc_irq_cd, 0, DRIVER_NAME, host);
+                if (ret)
+                        goto untasklet;
+        }
+#endif
+
+	s3c_hsmmc_ios_init(host);
+
+	mmc_add_host(mmc);
+
+#if defined(CONFIG_PM)
+	global_host[plat_data->hwport] = host;
+#endif
+
+	printk(KERN_INFO "[s3c_hsmmc_probe]: %s.%d: at 0x%p with irq %d. clk src:",
+			pdev->name, pdev->id, host->base, host->irq);
+
+	for (i=0; i<NUM_OF_HSMMC_CLKSOURCES; i++) {
+		if (!IS_ERR(host->clk[i]))
+			printk(" %s", host->clk[i]->name);
+	}
+	printk("\n");
+
+	return 0;
+
+untasklet:
+	tasklet_kill(&host->card_tasklet);
+	tasklet_kill(&host->finish_tasklet);
+
+	for (i=0; i<NUM_OF_HSMMC_CLKSOURCES; i++) {
+		if (host->clk[i] != ERR_PTR(-ENOENT)) {
+			clk_disable(host->clk[i]);
+			clk_put(host->clk[i]);
+		}
+	}
+
+probe_free_host:
+	mmc_free_host(mmc);
+
+	return ret;
+}
+
+static int s3c_hsmmc_remove(struct platform_device *dev)
+{
+	struct mmc_host *mmc  = platform_get_drvdata(dev);
+	struct s3c_hsmmc_host *host = mmc_priv(mmc);
+	int i;
+
+	mmc = host->mmc;
+
+	mmc_remove_host(mmc);
+
+	s3c_hsmmc_reset(host, S3C_HSMMC_RESET_ALL);
+
+	clk_disable(clk_get(&dev->dev, "hsmmc"));
+
+	for (i=0; i<NUM_OF_HSMMC_CLKSOURCES; i++) {
+		clk_disable(host->clk[i]);
+		clk_put(host->clk[i]);
+	}
+
+	free_irq(host->irq, host);
+
+	del_timer_sync(&host->timer);
+
+	tasklet_kill(&host->card_tasklet);
+	tasklet_kill(&host->finish_tasklet);
+
+	mmc_free_host(mmc);
+
+	return 0;
+}
+
+#ifdef CONFIG_PM
+static int s3c_hsmmc_suspend(struct platform_device *pdev, pm_message_t state)
+{
+	struct s3c_hsmmc_host *s3c_host = global_host[pdev->id];
+	struct mmc_host *host = s3c_host->mmc;
+
+	mmc_suspend_host(host, state);
+
+	return 0;
+}
+
+static int s3c_hsmmc_resume(struct platform_device *pdev)
+{
+	struct s3c_hsmmc_host *s3c_host = global_host[pdev->id];
+	struct mmc_host *host = s3c_host->mmc;
+
+	s3c_hsmmc_ios_init(s3c_host);
+	mmc_resume_host(host);
+
+	return 0;
+}
+#else
+#define s3c_hsmmc_suspend NULL
+#define s3c_hsmmc_resume NULL
+#endif
+
+
+static struct platform_driver s3c_hsmmc_driver =
+{
+        .probe          = s3c_hsmmc_probe,
+        .remove         = s3c_hsmmc_remove,
+        .suspend 	= s3c_hsmmc_suspend,
+	.resume		= s3c_hsmmc_resume,
+	.driver		= {
+		.name	= "s3c-hsmmc",
+		.owner	= THIS_MODULE,
+	},
+};
+
+static int __init s3c_hsmmc_drv_init(void)
+{
+	return platform_driver_register(&s3c_hsmmc_driver);
+}
+
+static void __exit s3c_hsmmc_drv_exit(void)
+{
+	platform_driver_unregister(&s3c_hsmmc_driver);
+}
+
+
+module_init(s3c_hsmmc_drv_init);
+module_exit(s3c_hsmmc_drv_exit);
+
+
+MODULE_DESCRIPTION("S3C SD HOST I/F 1.0 and 2.0 Driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mmc/host/s3cmci.c linux-2.6.28.6/drivers/mmc/host/s3cmci.c
--- linux-2.6.28/drivers/mmc/host/s3cmci.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mmc/host/s3cmci.c	2009-04-30 09:36:38.000000000 +0200
@@ -25,7 +25,7 @@
 #include <mach/regs-sdi.h>
 #include <mach/regs-gpio.h>
 
-#include <asm/plat-s3c24xx/mci.h>
+#include <plat/mci.h>
 
 #include "s3cmci.h"
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mmc/host/sdhci-pci.c linux-2.6.28.6/drivers/mmc/host/sdhci-pci.c
--- linux-2.6.28/drivers/mmc/host/sdhci-pci.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mmc/host/sdhci-pci.c	2009-04-30 09:36:38.000000000 +0200
@@ -391,6 +391,7 @@
 
 static struct sdhci_ops sdhci_pci_ops = {
 	.enable_dma	= sdhci_pci_enable_dma,
+	.change_clock	= sdhci_change_clock,
 };
 
 /*****************************************************************************\
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mmc/host/sdhci-s3c.c linux-2.6.28.6/drivers/mmc/host/sdhci-s3c.c
--- linux-2.6.28/drivers/mmc/host/sdhci-s3c.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/mmc/host/sdhci-s3c.c	2009-10-14 08:54:58.000000000 +0200
@@ -0,0 +1,440 @@
+/* linux/drivers/mmc/host/sdhci-s3c.c
+ *
+ * Copyright 2008 Openmoko Inc.
+ * Copyright 2008 Simtec Electronics
+ *      Ben Dooks <ben@simtec.co.uk>
+ *      http://armlinux.simtec.co.uk/
+ *
+ * SDHCI (HSMMC) support for Samsung SoC
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <linux/delay.h>
+#include <linux/dma-mapping.h>
+#include <linux/platform_device.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+
+#include <linux/mmc/host.h>
+
+#include <plat/regs-sdhci.h>
+#include <plat/sdhci.h>
+
+#include "sdhci.h"
+
+#define MAX_BUS_CLK	(4)
+
+struct sdhci_s3c {
+	struct sdhci_host	*host;
+	struct platform_device	*pdev;
+	struct resource		*ioarea;
+	struct s3c_sdhci_platdata *pdata;
+	unsigned int		cur_clk;
+
+	struct clk		*clk_io;	/* clock for io bus */
+	struct clk		*clk_bus[MAX_BUS_CLK];
+};
+
+static inline struct sdhci_s3c *to_s3c(struct sdhci_host *host)
+{
+	return sdhci_priv(host);
+}
+
+static u32 get_curclk(u32 ctrl2)
+{
+	ctrl2 &= S3C_SDHCI_CTRL2_SELBASECLK_MASK;
+	ctrl2 >>= S3C_SDHCI_CTRL2_SELBASECLK_SHIFT;
+
+	return ctrl2;
+}
+
+static void sdhci_s3c_check_sclk(struct sdhci_host *host)
+{
+	struct sdhci_s3c *ourhost = to_s3c(host);
+	u32 tmp = readl(host->ioaddr + S3C_SDHCI_CONTROL2);
+
+	if (get_curclk(tmp) != ourhost->cur_clk) {
+		dev_dbg(&ourhost->pdev->dev, "restored ctrl2 clock setting\n");
+
+		tmp &= ~S3C_SDHCI_CTRL2_SELBASECLK_MASK;
+		tmp |= ourhost->cur_clk << S3C_SDHCI_CTRL2_SELBASECLK_SHIFT;
+		writel(tmp, host->ioaddr + S3C_SDHCI_CONTROL2);
+	}
+}
+
+static unsigned int sdhci_s3c_get_max_clk(struct sdhci_host *host)
+{
+	struct sdhci_s3c *ourhost = to_s3c(host);
+	struct clk *busclk;
+	unsigned int rate, max;
+	int clk;
+
+	/* note, a reset will reset the clock source */
+
+	sdhci_s3c_check_sclk(host);
+
+	for (max = 0, clk = 0; clk < MAX_BUS_CLK; clk++) {
+		busclk = ourhost->clk_bus[clk];
+		if (!busclk)
+			continue;
+
+		rate = clk_get_rate(busclk);
+		if (rate > max)
+			max = rate;
+	}
+
+	return max;
+}
+
+static unsigned int sdhci_s3c_get_timeout_clk(struct sdhci_host *host)
+{
+#if defined (CONFIG_CPU_S5PC100)
+        return sdhci_s3c_get_max_clk(host) / 3000000;
+#else
+        return sdhci_s3c_get_max_clk(host) / 1000000;
+#endif
+}
+
+static void sdhci_s3c_set_ios(struct sdhci_host *host,
+			      struct mmc_ios *ios)
+{
+	struct sdhci_s3c *ourhost = to_s3c(host);
+	struct s3c_sdhci_platdata *pdata = ourhost->pdata;
+	int width;
+
+	sdhci_s3c_check_sclk(host);
+
+	if (ios->power_mode != MMC_POWER_OFF) {
+		switch (ios->bus_width) {
+		case MMC_BUS_WIDTH_4:
+			width = 4;
+			break;
+		case MMC_BUS_WIDTH_1:
+			width = 1;
+			break;
+		default:
+			BUG();
+		}
+
+		if (pdata->cfg_gpio)
+			pdata->cfg_gpio(ourhost->pdev, width);
+	}
+
+	if (pdata->cfg_card)
+		pdata->cfg_card(ourhost->pdev, host->ioaddr,
+				ios, host->mmc->card);
+}
+
+static unsigned int sdhci_s3c_consider_clock(struct sdhci_s3c *ourhost,
+					     unsigned int src,
+					     unsigned int wanted)
+{
+	unsigned long rate;
+	struct clk *clksrc = ourhost->clk_bus[src];
+	int div;
+
+	if (!clksrc)
+		return UINT_MAX;
+
+	rate = clk_get_rate(clksrc);
+
+	for (div = 1; div < 256; div *= 2) {
+		if ((rate / div) <= wanted)
+			break;
+	}
+
+	dev_dbg(&ourhost->pdev->dev, "clk %d: rate %ld, want %d, got %ld\n",
+		src, rate, wanted, rate / div);
+
+	return (wanted - (rate / div));
+}
+
+static void sdhci_s3c_change_clock(struct sdhci_host *host, unsigned int clock)
+{
+	struct sdhci_s3c *ourhost = to_s3c(host);
+	unsigned int best = UINT_MAX;
+	unsigned int delta;
+	int best_src = 0;
+	int src;
+	u32 ctrl;
+
+	for (src = 0; src < MAX_BUS_CLK; src++) {
+		delta = sdhci_s3c_consider_clock(ourhost, src, clock);
+		if (delta < best) {
+			best = delta;
+			best_src = src;
+		}
+	}
+
+	dev_dbg(&ourhost->pdev->dev,
+		"selected source %d, clock %d, delta %d\n",
+		 best_src, clock, best);
+
+	/* turn clock off to card before changing clock source */
+	writew(0, host->ioaddr + SDHCI_CLOCK_CONTROL);
+
+	/* select the new clock source */
+
+	if (ourhost->cur_clk != best_src) {
+		struct clk *clk = ourhost->clk_bus[best_src];
+
+		ourhost->cur_clk = best_src;
+		host->max_clk = clk_get_rate(clk);
+		host->timeout_clk = host->max_clk / 1000;
+
+		ctrl = readl(host->ioaddr + S3C_SDHCI_CONTROL2);
+		ctrl &= ~S3C_SDHCI_CTRL2_SELBASECLK_MASK;
+		ctrl |= best_src << S3C_SDHCI_CTRL2_SELBASECLK_SHIFT;
+		writel(ctrl, host->ioaddr + S3C_SDHCI_CONTROL2);
+	}
+
+	sdhci_change_clock(host, clock);
+}
+
+static struct sdhci_ops sdhci_s3c_ops = {
+	.get_max_clock		= sdhci_s3c_get_max_clk,
+	.get_timeout_clock	= sdhci_s3c_get_timeout_clk,
+	.change_clock		= sdhci_s3c_change_clock,
+	.set_ios		= sdhci_s3c_set_ios,
+};
+
+irqreturn_t sdhci_irq_cd (int irq, void *dev_id)
+{
+	struct sdhci_s3c* sc = dev_id;
+	uint detect = sc->pdata->detect_ext_cd();
+
+	if (detect) {
+		printk("sdhci: card inserted.\n");
+		sc->host->flags |= SDHCI_DEVICE_ALIVE;
+	} else {
+		printk("sdhci: card removed.\n");
+		sc->host->flags &= ~SDHCI_DEVICE_ALIVE;
+	}
+	tasklet_schedule(&sc->host->card_tasklet);
+
+	return IRQ_HANDLED;
+}
+
+static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
+{
+	struct s3c_sdhci_platdata *pdata = pdev->dev.platform_data;
+	struct device *dev = &pdev->dev;
+	struct sdhci_host *host;
+	struct sdhci_s3c *sc;
+	struct resource *res;
+	int ret, irq, ptr, clks;
+
+	if (!pdata) {
+		dev_err(dev, "no device data specified\n");
+		return -ENOENT;
+	}
+
+	irq = platform_get_irq(pdev, 0);
+	if (irq < 0) {
+		dev_err(dev, "no irq specified\n");
+		return irq;
+	}
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (!res) {
+		dev_err(dev, "no memory specified\n");
+		return -ENOENT;
+	}
+
+	host = sdhci_alloc_host(dev, sizeof(struct sdhci_s3c));
+	if (IS_ERR(host)) {
+		dev_err(dev, "sdhci_alloc_host() failed\n");
+		return PTR_ERR(host);
+	}
+
+	sc = sdhci_priv(host);
+
+        platform_set_drvdata(pdev, host);
+
+	sc->host = host;
+	sc->pdev = pdev;
+	sc->pdata = pdata;
+
+	sc->clk_io = clk_get(dev, "hsmmc");
+	if (IS_ERR(sc->clk_io)) {
+		dev_err(dev, "failed to get io clock\n");
+		ret = PTR_ERR(sc->clk_io);
+		goto err_io_clk;
+	}
+
+	/* enable the local io clock and keep it running for the moment. */
+	clk_enable(sc->clk_io);
+
+	for (clks = 0, ptr = 0; ptr < MAX_BUS_CLK; ptr++) {
+		struct clk *clk;
+		char *name = pdata->clocks[ptr];
+
+		if (name == NULL)
+			continue;
+
+		clk = clk_get(dev, name);
+		if (IS_ERR(clk)) {
+			dev_err(dev, "failed to get clock %s\n", name);
+			continue;
+		}
+
+		clks++;
+		sc->clk_bus[ptr] = clk;
+		clk_enable(clk);
+
+		dev_info(dev, "clock source %d: %s (%ld Hz)\n",
+			 ptr, name, clk_get_rate(clk));
+	}
+
+	if (clks == 0) {
+		dev_err(dev, "failed to find any bus clocks\n");
+		ret = -ENOENT;
+		goto err_no_busclks;
+	}
+
+	sc->ioarea = request_mem_region(res->start, resource_size(res),
+					mmc_hostname(host->mmc));
+	if (!sc->ioarea) {
+		dev_err(dev, "failed to reserve register area\n");
+		ret = -ENXIO;
+		goto err_req_regs;
+	}
+
+	host->ioaddr = ioremap_nocache(res->start, resource_size(res));
+	if (!host->ioaddr) {
+		dev_err(dev, "failed to map registers\n");
+		ret = -ENXIO;
+		goto err_req_regs;
+	}
+
+	/* Ensure we have minimal gpio selected CMD/CLK/Detect */
+	if (pdata->cfg_gpio)
+		pdata->cfg_gpio(pdev, 0);
+
+	sdhci_s3c_check_sclk(host);
+
+	host->hw_name = "samsung-hsmmc";
+	host->ops = &sdhci_s3c_ops;
+	host->quirks = 0;
+	host->irq = irq;
+
+	/* Setup quirks for the controller */
+
+	host->flags = SDHCI_USE_DMA;
+
+	/* It seems we do not get an DATA transfer complete on non-busy
+	 * transfers, not sure if this is a problem with this specific
+	 * SDHCI block, or a missing configuration that needs to be set. */
+	host->quirks |= SDHCI_QUIRK_NO_TCIRQ_ON_NOT_BUSY;
+
+	host->quirks |= (SDHCI_QUIRK_32BIT_DMA_ADDR |
+			 SDHCI_QUIRK_32BIT_DMA_SIZE);
+
+	if (pdata->host_caps)
+		host->mmc->caps = pdata->host_caps;
+	else
+		host->mmc->caps = 0;
+
+	/* to add external irq as a card detect signal */
+	printk("[SDHCI]to add external irq as a card detect signal......\n");
+	if (pdata->cfg_ext_cd) {
+	printk("[SDHCI]if (pdata->cfg_ext_cd)......\n");
+		pdata->cfg_ext_cd();
+		if (pdata->detect_ext_cd())
+			host->flags |= SDHCI_DEVICE_ALIVE;
+	}
+
+	ret = sdhci_add_host(host);
+	if (ret) {
+		dev_err(dev, "sdhci_add_host() failed\n");
+		goto err_add_host;
+	}
+
+	/* register external irq here (after all init is done) */
+	if (pdata->cfg_ext_cd) {
+	printk("[SDHCI]request_irq......\n");
+		ret = request_irq(pdata->ext_cd, sdhci_irq_cd,
+				IRQF_SHARED, mmc_hostname(host->mmc), sc);
+	}
+
+	return 0;
+
+ err_add_host:
+	release_resource(sc->ioarea);
+	kfree(sc->ioarea);
+
+ err_req_regs:
+	for (ptr = 0; ptr < MAX_BUS_CLK; ptr++) {
+		clk_disable(sc->clk_bus[ptr]);
+		clk_put(sc->clk_bus[ptr]);
+	}
+
+ err_no_busclks:
+	clk_disable(sc->clk_io);
+	clk_put(sc->clk_io);
+
+ err_io_clk:
+	sdhci_free_host(host);
+
+	return ret;
+}
+
+static int __devexit sdhci_s3c_remove(struct platform_device *pdev)
+{
+	return 0;
+}
+
+#ifdef CONFIG_PM
+
+static int sdhci_s3c_suspend(struct platform_device *dev, pm_message_t pm)
+{
+        struct sdhci_host *host = platform_get_drvdata(dev);
+
+        sdhci_suspend_host(host, pm);
+        return 0;
+}
+
+static int sdhci_s3c_resume(struct platform_device *dev)
+{
+        struct sdhci_host *host = platform_get_drvdata(dev);
+
+        sdhci_resume_host(host);
+        return 0;
+}
+
+#else
+#define sdhci_s3c_suspend NULL
+#define sdhci_s3c_resume NULL
+#endif
+
+static struct platform_driver sdhci_s3c_driver = {
+	.probe		= sdhci_s3c_probe,
+	.remove		= __devexit_p(sdhci_s3c_remove),
+        .suspend        = sdhci_s3c_suspend,
+        .resume         = sdhci_s3c_resume,
+	.driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-sdhci",
+	},
+};
+
+static int __init sdhci_s3c_init(void)
+{
+	return platform_driver_register(&sdhci_s3c_driver);
+}
+
+static void __exit sdhci_s3c_exit(void)
+{
+	platform_driver_unregister(&sdhci_s3c_driver);
+}
+
+module_init(sdhci_s3c_init);
+module_exit(sdhci_s3c_exit);
+
+MODULE_DESCRIPTION("Samsung SDHCI (HSMMC) glue");
+MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>");
+MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:s3c-sdhci");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mmc/host/sdhci.c linux-2.6.28.6/drivers/mmc/host/sdhci.c
--- linux-2.6.28/drivers/mmc/host/sdhci.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mmc/host/sdhci.c	2009-04-30 09:36:38.000000000 +0200
@@ -73,6 +73,11 @@
 		readl(host->ioaddr + SDHCI_CAPABILITIES),
 		readl(host->ioaddr + SDHCI_MAX_CURRENT));
 
+	if (host->flags & SDHCI_USE_ADMA)
+		printk(KERN_DEBUG DRIVER_NAME ": ADMA Err: 0x%08x | ADMA Ptr: 0x%08x\n",
+		       readl(host->ioaddr + SDHCI_ADMA_ERROR),
+		       readl(host->ioaddr + SDHCI_ADMA_ADDRESS));
+
 	printk(KERN_DEBUG DRIVER_NAME ": ===========================================\n");
 }
 
@@ -318,16 +323,25 @@
 {
 	int direction;
 
+#if !defined(CONFIG_MMC_SDHCI_S3C) && !defined(CONFIG_MMC_SDHCI_MODULE)
 	u8 *desc;
+#else
+	struct sdhci_adma2_desc *descriptor;
+#endif
 	u8 *align;
 	dma_addr_t addr;
 	dma_addr_t align_addr;
-	int len, offset;
+	uint len;
+#if !defined(CONFIG_MMC_SDHCI_S3C) && !defined(CONFIG_MMC_SDHCI_MODULE)
+	int offset;
+#endif
 
 	struct scatterlist *sg;
 	int i;
+#if !defined(CONFIG_MMC_SDHCI_S3C) && !defined(CONFIG_MMC_SDHCI_MODULE)
 	char *buffer;
 	unsigned long flags;
+#endif
 
 	/*
 	 * The spec does not specify endianness of descriptor table.
@@ -355,7 +369,11 @@
 	if (host->sg_count == 0)
 		goto unmap_align;
 
+#if !defined(CONFIG_MMC_SDHCI_S3C) && !defined(CONFIG_MMC_SDHCI_MODULE)
 	desc = host->adma_desc;
+#else
+	descriptor = (struct sdhci_adma2_desc *)host->adma_desc;
+#endif
 	align = host->align_buffer;
 
 	align_addr = host->align_addr;
@@ -364,6 +382,7 @@
 		addr = sg_dma_address(sg);
 		len = sg_dma_len(sg);
 
+#if !defined(CONFIG_MMC_SDHCI_S3C) && !defined(CONFIG_MMC_SDHCI_MODULE)
 		/*
 		 * The SDHCI specification states that ADMA
 		 * addresses must be 32-bit aligned. If they
@@ -422,8 +441,14 @@
 		 * somewhere. :/
 		 */
 		WARN_ON((desc - host->adma_desc) > (128 * 2 + 1) * 4);
+#else
+		descriptor->dma_addr = addr;
+		descriptor->len_attr = (len << 16) | 0x21;
+		descriptor++;
+#endif
 	}
 
+#if !defined(CONFIG_MMC_SDHCI_S3C) && !defined(CONFIG_MMC_SDHCI_MODULE)
 	/*
 	 * Add a terminating entry.
 	 */
@@ -437,6 +462,10 @@
 
 	desc[1] = 0x00;
 	desc[0] = 0x03; /* nop, end, valid */
+#else
+	descriptor--;
+	descriptor->len_attr |= 0x2;
+#endif
 
 	/*
 	 * Resync align buffer as we might have changed it.
@@ -547,6 +576,12 @@
 			break;
 	}
 
+#if defined(CONFIG_MMC_SDHCI_S3C) || defined(CONFIG_MMC_SDHCI_MODULE)
+	/* workaround for some MMCplus cards. */
+	if (count == 0x0)
+		count = 0x7;
+#endif
+
 	if (count >= 0xF) {
 		printk(KERN_WARNING "%s: Too large timeout requested!\n",
 			mmc_hostname(host->mmc));
@@ -698,6 +733,7 @@
 		writeb(ctrl, host->ioaddr + SDHCI_HOST_CONTROL);
 	}
 
+	/* when using PIO mode sg_miter should be initialized. */
 	if (!(host->flags & SDHCI_REQ_USE_DMA)) {
 		sg_miter_start(&host->sg_miter,
 			data->sg, data->sg_len, SG_MITER_ATOMIC);
@@ -731,6 +767,23 @@
 	writew(mode, host->ioaddr + SDHCI_TRANSFER_MODE);
 }
 
+static void shdci_check_dma_overrun(struct sdhci_host *host, struct mmc_data *data)
+{
+	u32 dma_pos = readl(host->ioaddr + SDHCI_DMA_ADDRESS);
+	u32 dma_start = sg_dma_address(data->sg);
+	u32 dma_end = dma_start + data->sg->length;
+
+	/* Test whether we ended up moving more data than
+	 * was originally requested. */
+
+	if (dma_pos <= dma_end)
+		return;
+
+	printk(KERN_ERR "%s: dma overrun, dma %08x, req %08x..%08x\n",
+	       mmc_hostname(host->mmc), dma_pos,
+	       dma_start, dma_end);
+}
+
 static void sdhci_finish_data(struct sdhci_host *host)
 {
 	struct mmc_data *data;
@@ -744,6 +797,8 @@
 		if (host->flags & SDHCI_USE_ADMA)
 			sdhci_adma_table_post(host, data);
 		else {
+			shdci_check_dma_overrun(host, data);
+
 			dma_unmap_sg(mmc_dev(host->mmc), data->sg,
 				data->sg_len, (data->flags & MMC_DATA_READ) ?
 					DMA_FROM_DEVICE : DMA_TO_DEVICE);
@@ -883,13 +938,18 @@
 
 static void sdhci_set_clock(struct sdhci_host *host, unsigned int clock)
 {
+	if (clock == host->clock)
+		return;
+
+	host->ops->change_clock(host, clock);
+}
+
+void sdhci_change_clock(struct sdhci_host *host, unsigned int clock)
+{
 	int div;
 	u16 clk;
 	unsigned long timeout;
 
-	if (clock == host->clock)
-		return;
-
 	writew(0, host->ioaddr + SDHCI_CLOCK_CONTROL);
 
 	if (clock == 0)
@@ -926,6 +986,8 @@
 	host->clock = clock;
 }
 
+EXPORT_SYMBOL_GPL(sdhci_change_clock);
+
 static void sdhci_set_power(struct sdhci_host *host, unsigned short power)
 {
 	u8 pwr;
@@ -1000,13 +1062,16 @@
 
 	host->mrq = mrq;
 
+	if ((mmc->caps & MMC_CAP_ON_BOARD) || (host->flags & SDHCI_DEVICE_ALIVE))
+		sdhci_send_command(host, mrq->cmd);
+	else {
 	if (!(readl(host->ioaddr + SDHCI_PRESENT_STATE) & SDHCI_CARD_PRESENT)
 		|| (host->flags & SDHCI_DEVICE_DEAD)) {
 		host->mrq->cmd->error = -ENOMEDIUM;
 		tasklet_schedule(&host->finish_tasklet);
 	} else
 		sdhci_send_command(host, mrq->cmd);
-
+	}
 	mmiowb();
 	spin_unlock_irqrestore(&host->lock, flags);
 }
@@ -1033,6 +1098,9 @@
 		sdhci_init(host);
 	}
 
+	if (host->ops->set_ios)
+		host->ops->set_ios(host, ios);
+
 	sdhci_set_clock(host, ios->clock);
 
 	if (ios->power_mode == MMC_POWER_OFF)
@@ -1283,11 +1351,24 @@
 	 *       controllers.
 	 */
 	if (host->cmd->flags & MMC_RSP_BUSY) {
+		u32 present;
+
 		if (host->cmd->data)
 			DBG("Cannot wait for busy signal when also "
 				"doing a data transfer");
-		else
+		else if (!(host->quirks & SDHCI_QUIRK_NO_TCIRQ_ON_NOT_BUSY))
 			return;
+
+		/* The Samsung SDHCI does not seem to provide an INT_DATA_END
+		 * when the system goes non-busy, so check the state of the
+		 * transfer by reading SDHCI_PRESENT_STATE to see if the
+		 * controller is ready
+		 */
+
+		present = readl(host->ioaddr + SDHCI_PRESENT_STATE);
+		DBG("busy? present %08x, intstat %08x\n", present, intmask);
+
+		/* fall through and take the SDHCI_INT_RESPONSE */
 	}
 
 	if (intmask & SDHCI_INT_RESPONSE)
@@ -1384,6 +1465,18 @@
 	intmask &= ~(SDHCI_INT_CARD_INSERT | SDHCI_INT_CARD_REMOVE);
 
 	if (intmask & SDHCI_INT_CMD_MASK) {
+#if defined(CONFIG_MMC_SDHCI_S3C) || defined(CONFIG_MMC_SDHCI_MODULE)
+		/* read until all status bit is up. by scsuh */
+		int i;
+		for (i=0; i<0x1000000; i++) {
+			intmask = readl(host->ioaddr + SDHCI_INT_STATUS);
+			if (intmask & SDHCI_INT_RESPONSE)
+				break;
+		}
+		if (0x1000000 == i) {
+			printk("FAIL: waiting for status update.\n");
+		}
+#endif
 		writel(intmask & SDHCI_INT_CMD_MASK,
 			host->ioaddr + SDHCI_INT_STATUS);
 		sdhci_cmd_irq(host, intmask & SDHCI_INT_CMD_MASK);
@@ -1604,15 +1697,21 @@
 		mmc_dev(host->mmc)->dma_mask = &host->dma_mask;
 	}
 
-	host->max_clk =
-		(caps & SDHCI_CLOCK_BASE_MASK) >> SDHCI_CLOCK_BASE_SHIFT;
+	if (host->ops->get_max_clock)
+		host->max_clk = host->ops->get_max_clock(host);
+	else {
+		host->max_clk =	(caps & SDHCI_CLOCK_BASE_MASK) >> SDHCI_CLOCK_BASE_SHIFT;
+		host->max_clk *= 1000000;
+	}
 	if (host->max_clk == 0) {
 		printk(KERN_ERR "%s: Hardware doesn't specify base clock "
 			"frequency.\n", mmc_hostname(mmc));
 		return -ENODEV;
 	}
-	host->max_clk *= 1000000;
 
+	if (host->ops->get_timeout_clock)
+		host->timeout_clk = host->ops->get_timeout_clock(host);
+	else
 	host->timeout_clk =
 		(caps & SDHCI_TIMEOUT_CLK_MASK) >> SDHCI_TIMEOUT_CLK_SHIFT;
 	if (host->timeout_clk == 0) {
@@ -1629,11 +1728,14 @@
 	mmc->ops = &sdhci_ops;
 	mmc->f_min = host->max_clk / 256;
 	mmc->f_max = host->max_clk;
+#if defined(CONFIG_MMC_SDHCI_S3C) || defined(CONFIG_MMC_SDHCI_MODULE)
+	mmc->caps |= MMC_CAP_4_BIT_DATA | MMC_CAP_SDIO_IRQ;
+#else
 	mmc->caps = MMC_CAP_4_BIT_DATA | MMC_CAP_SDIO_IRQ;
-
+#endif
 	if ((caps & SDHCI_CAN_DO_HISPD) ||
 		(host->quirks & SDHCI_QUIRK_FORCE_HIGHSPEED))
-		mmc->caps |= MMC_CAP_SD_HIGHSPEED;
+		mmc->caps |= (MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED);
 
 	mmc->ocr_avail = 0;
 	if (caps & SDHCI_CAN_VDD_330)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mmc/host/sdhci.h linux-2.6.28.6/drivers/mmc/host/sdhci.h
--- linux-2.6.28/drivers/mmc/host/sdhci.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mmc/host/sdhci.h	2009-04-30 09:36:38.000000000 +0200
@@ -57,6 +57,7 @@
 #define  SDHCI_DATA_AVAILABLE	0x00000800
 #define  SDHCI_CARD_PRESENT	0x00010000
 #define  SDHCI_WRITE_PROTECT	0x00080000
+#define  SDHCI_DATA_BIT(x)	(1 << ((x) + 20))
 
 #define SDHCI_HOST_CONTROL 	0x28
 #define  SDHCI_CTRL_LED		0x01
@@ -210,6 +211,8 @@
 #define SDHCI_QUIRK_BROKEN_SMALL_PIO			(1<<13)
 /* Controller supports high speed but doesn't have the caps bit set */
 #define SDHCI_QUIRK_FORCE_HIGHSPEED			(1<<14)
+/* Controller does not provide transfer-complete interrupt when not busy */
+#define SDHCI_QUIRK_NO_TCIRQ_ON_NOT_BUSY		(1<<15)
 
 	int			irq;		/* Device IRQ */
 	void __iomem *		ioaddr;		/* Mapped address */
@@ -231,6 +234,7 @@
 #define SDHCI_USE_ADMA		(1<<1)		/* Host is ADMA capable */
 #define SDHCI_REQ_USE_DMA	(1<<2)		/* Use DMA for this req. */
 #define SDHCI_DEVICE_DEAD	(1<<3)		/* Device unresponsive */
+#define SDHCI_DEVICE_ALIVE	(1<<4)		/* used on ext card detect */
 
 	unsigned int		version;	/* SDHCI spec. version */
 
@@ -264,9 +268,22 @@
 	unsigned long		private[0] ____cacheline_aligned;
 };
 
+/* For ADMA2 */
+struct sdhci_adma2_desc {
+	u32	len_attr;	/* length + attribute	*/
+	u32	dma_addr;	/* dma address	        */
+};
 
 struct sdhci_ops {
 	int		(*enable_dma)(struct sdhci_host *host);
+	unsigned int	(*get_max_clock)(struct sdhci_host *host);
+	unsigned int	(*get_timeout_clock)(struct sdhci_host *host);
+
+	void		(*change_clock)(struct sdhci_host *host,
+					unsigned int clock);
+
+	void		(*set_ios)(struct sdhci_host *host,
+				   struct mmc_ios *ios);
 };
 
 
@@ -274,6 +291,8 @@
 	size_t priv_size);
 extern void sdhci_free_host(struct sdhci_host *host);
 
+extern void sdhci_change_clock(struct sdhci_host *host, unsigned int clock);
+
 static inline void *sdhci_priv(struct sdhci_host *host)
 {
 	return (void *)host->private;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mtd/nand/Kconfig linux-2.6.28.6/drivers/mtd/nand/Kconfig
--- linux-2.6.28/drivers/mtd/nand/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mtd/nand/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -173,6 +173,34 @@
 	  when the is NAND chip selected or released, but will save
 	  approximately 5mA of power when there is nothing happening.
 
+config MTD_NAND_S3C
+	tristate "NAND Flash support for S3C SoC"
+	depends on (ARCH_S3C64XX || ARCH_S5P64XX || ARCH_S5PC1XX) && MTD_NAND
+	help
+	  This enables the NAND flash controller on the S3C.
+
+	  No board specfic support is done by this driver, each board
+	  must advertise a platform_device for the driver to attach.
+
+config MTD_NAND_S3C_DEBUG
+	bool "S3C NAND driver debug"
+	depends on MTD_NAND_S3C
+	help
+	  Enable debugging of the S3C NAND driver
+
+config MTD_NAND_S3C_HWECC
+	bool "S3C NAND Hardware ECC"
+	depends on MTD_NAND_S3C
+	help
+	  Enable the use of the S3C's internal ECC generator when
+	  using NAND. Early versions of the chip have had problems with
+	  incorrect ECC generation, and if using these, the default of
+	  software ECC is preferable.
+
+	  If you lay down a device with the hardware ECC, then you will
+	  currently not be able to switch to software, as there is no
+	  implementation for ECC method used by the S3C
+
 config MTD_NAND_DISKONCHIP
 	tristate "DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)"
 	depends on EXPERIMENTAL
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mtd/nand/Makefile linux-2.6.28.6/drivers/mtd/nand/Makefile
--- linux-2.6.28/drivers/mtd/nand/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mtd/nand/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -14,6 +14,7 @@
 obj-$(CONFIG_MTD_NAND_BF5XX)		+= bf5xx_nand.o
 obj-$(CONFIG_MTD_NAND_PPCHAMELEONEVB)	+= ppchameleonevb.o
 obj-$(CONFIG_MTD_NAND_S3C2410)		+= s3c2410.o
+obj-$(CONFIG_MTD_NAND_S3C)		+= s3c_nand.o
 obj-$(CONFIG_MTD_NAND_DISKONCHIP)	+= diskonchip.o
 obj-$(CONFIG_MTD_NAND_H1900)		+= h1910.o
 obj-$(CONFIG_MTD_NAND_RTC_FROM4)	+= rtc_from4.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mtd/nand/s3c2410.c linux-2.6.28.6/drivers/mtd/nand/s3c2410.c
--- linux-2.6.28/drivers/mtd/nand/s3c2410.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mtd/nand/s3c2410.c	2009-04-30 09:36:38.000000000 +0200
@@ -45,8 +45,8 @@
 
 #include <asm/io.h>
 
-#include <asm/plat-s3c/regs-nand.h>
-#include <asm/plat-s3c/nand.h>
+#include <plat/regs-nand.h>
+#include <plat/nand.h>
 
 #ifdef CONFIG_MTD_NAND_S3C2410_HWECC
 static int hardware_ecc = 1;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mtd/nand/s3c_nand.c linux-2.6.28.6/drivers/mtd/nand/s3c_nand.c
--- linux-2.6.28/drivers/mtd/nand/s3c_nand.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/mtd/nand/s3c_nand.c	2010-04-22 06:13:29.000000000 +0200
@@ -0,0 +1,989 @@
+/* linux/drivers/mtd/nand/s3c_nand.c
+ *
+ * Copyright (c) 2007 Samsung Electronics
+ *
+ * Samsung S3C NAND driver
+ *
+ * $Id: s3c_nand.c,v 1.3 2008/11/19 10:07:24 jsgood Exp $
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ * Based on nand driver from Ben Dooks <ben@simtec.co.uk>
+ * modified by scsuh. based on au1550nd.c
+ *
+ * Many functions for hardware ecc are implemented by jsgood.
+ */
+
+/* Simple H/W Table for Implementation of S3C nand driver
+ * by scsuh
+ * ------------------------------------------------------------------
+ * |    En/Dis CE           |  required  |                          |
+ * |    En/Dis ALE          |      X     | * nand controller does   |
+ * |    En/Dis CLE          |      X     | * nand controller does   |
+ * |    Wait/Ready          |  required  |                          |
+ * |    Write Command       |  required  |                          |
+ * |    Write Address       |  required  |                          |
+ * |    Write Data          |  required  |                          |
+ * |    Read Data           |  required  |                          |
+ * |    WP on/off           |  required  | * board specific         |
+ * |    AP Specific Init    |  required  |                          |
+ * ------------------------------------------------------------------
+ */
+
+#include <linux/module.h>
+#include <linux/delay.h>
+#include <linux/types.h>
+#include <linux/init.h>
+#include <linux/kernel.h>
+#include <linux/string.h>
+#include <linux/ioport.h>
+#include <linux/platform_device.h>
+#include <linux/delay.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/jiffies.h>
+#include <linux/sched.h>
+
+#include <linux/mtd/mtd.h>
+#include <linux/mtd/nand.h>
+#include <linux/mtd/nand_ecc.h>
+#include <linux/mtd/partitions.h>
+
+#include <asm/io.h>
+
+#include <plat/regs-nand.h>
+#include <plat/nand.h>
+
+enum s3c_cpu_type {
+	TYPE_S3C2450,	/* including s3c2416 */
+	TYPE_S3C6400,
+	TYPE_S3C6410,	/* including s3c6430/31 */
+        TYPE_S5PC100,
+};
+
+struct s3c_nand_info {
+	/* mtd info */
+	struct nand_hw_control		controller;
+	struct s3c_nand_mtd_info	*mtds;
+	struct s3c2410_platform_nand	*platform;
+
+	/* device info */
+	struct device			*device;
+	struct resource			*area;
+	struct clk			*clk;
+	void __iomem			*regs;
+	void __iomem			*sel_reg;
+	int				sel_bit;
+	int				mtd_count;
+
+	enum s3c_cpu_type		cpu_type;
+};
+static struct s3c_nand_info s3c_nand;
+
+static struct mtd_info *s3c_mtd = NULL;
+
+/* Nand flash definition values by jsgood */
+#define S3C_NAND_TYPE_UNKNOWN	0x0
+#define S3C_NAND_TYPE_SLC	0x1
+#define S3C_NAND_TYPE_MLC	0x2
+
+/*
+ * Cached progamming disabled for now, Not sure if its worth the
+ * trouble. The speed gain is not very impressive. (2.3->2.6Mib/s)
+ *
+ * if want to use cached program, define next
+ * by jsgood (modified to keep prevent rule)
+ */
+#undef	CONFIG_MTD_NAND_S3C_CACHEDPROG
+
+/* Nand flash global values by jsgood */
+int cur_ecc_mode = 0;
+int nand_type = S3C_NAND_TYPE_UNKNOWN;
+
+#if defined(CONFIG_MTD_NAND_S3C_HWECC)
+/* Nand flash oob definition for SLC 512b page size by jsgood */
+static struct nand_ecclayout s3c_nand_oob_16 = {
+	.eccbytes = 4,
+	.eccpos = {1, 2, 3, 4},
+	.oobfree = {
+		{.offset = 6,
+		 .length = 10}}
+};
+
+/* Nand flash oob definition for SLC 2k page size by jsgood */
+static struct nand_ecclayout s3c_nand_oob_64 = {
+	.eccbytes = 16,
+	.eccpos = {40, 41, 42, 43, 44, 45, 46, 47,
+		   48, 49, 50, 51, 52, 53, 54, 55},
+	.oobfree = {
+		{.offset = 2,
+		 .length = 38}}
+};
+
+/* Nand flash oob definition for MLC 2k page size by jsgood */
+static struct nand_ecclayout s3c_nand_oob_mlc_64 = {
+	.eccbytes = 32,
+	.eccpos = {
+		   32, 33, 34, 35, 36, 37, 38, 39,
+		   40, 41, 42, 43, 44, 45, 46, 47,
+ 		   48, 49, 50, 51, 52, 53, 54, 55,
+   		   56, 57, 58, 59, 60, 61, 62, 63},
+	.oobfree = {
+		{.offset = 2,
+		 .length = 28}}
+};
+#endif
+
+#if defined(CONFIG_MTD_NAND_S3C_DEBUG)
+/*
+ * Function to print out oob buffer for debugging
+ * Written by jsgood
+ */
+void print_oob(const char *header, struct mtd_info *mtd)
+{
+	int i;
+	struct nand_chip *chip = mtd->priv;
+
+	printk("%s:\t", header);
+
+	for(i = 0; i < 64; i++)
+		printk("%02x ", chip->oob_poi[i]);
+
+	printk("\n");
+}
+EXPORT_SYMBOL(print_oob);
+#endif
+
+
+/*
+ * Hardware specific access to control-lines function
+ * Written by jsgood
+ */
+static void s3c_nand_hwcontrol(struct mtd_info *mtd, int dat, unsigned int ctrl)
+{
+	unsigned int cur;
+	void __iomem *regs = s3c_nand.regs;
+
+	if (ctrl & NAND_CTRL_CHANGE) {
+		if (ctrl & NAND_NCE) {
+			if (dat != NAND_CMD_NONE) {
+				cur = readl(regs + S3C_NFCONT);
+				cur &= ~S3C_NFCONT_nFCE0;
+				writel(cur, regs + S3C_NFCONT);
+			}
+		} else {
+			cur = readl(regs + S3C_NFCONT);
+			cur |= S3C_NFCONT_nFCE0;
+			writel(cur, regs + S3C_NFCONT);
+		}
+	}
+
+	if (dat != NAND_CMD_NONE) {
+		if (ctrl & NAND_CLE)
+			writeb(dat, regs + S3C_NFCMMD);
+		else if (ctrl & NAND_ALE)
+			writeb(dat, regs + S3C_NFADDR);
+	}
+}
+
+/*
+ * Function for checking device ready pin
+ * Written by jsgood
+ */
+static int s3c_nand_device_ready(struct mtd_info *mtd)
+{
+	void __iomem *regs = s3c_nand.regs;
+/* it's to check the RnB nand signal bit and return to device ready condition in nand_base.c */
+	return ((readl(regs + S3C_NFSTAT) & S3C_NFSTAT_BUSY));
+}
+
+/*
+ * We don't use a bad block table
+ */
+static int s3c_nand_scan_bbt(struct mtd_info *mtdinfo)
+{
+	return 0;
+}
+
+#if defined(CONFIG_MTD_NAND_S3C_HWECC)
+#if 0
+/*
+ * S3C Nand flash chip enable function
+ * Written by jsgood
+ */
+static void s3c_nand_ce_on(struct mtd_info *mtd)
+{
+	struct nand_chip *chip = mtd->priv;
+
+	chip->cmd_ctrl(mtd, 0x0, NAND_NCE | NAND_CTRL_CHANGE);
+	nand_wait_ready(mtd);
+}
+
+/*
+ * S3C Nand flash chip disable function
+ * Written by jsgood
+ */
+static void s3c_nand_ce_off(struct mtd_info *mtd)
+{
+	struct nand_chip *chip = mtd->priv;
+
+	chip->cmd_ctrl(mtd, NAND_CMD_NONE, NAND_CTRL_CHANGE);
+	nand_wait_ready(mtd);
+}
+#endif
+
+/*
+ * Function for checking ECCEncDone in NFSTAT
+ * Written by jsgood
+ */
+static void s3c_nand_wait_enc(void)
+{
+        void __iomem *regs = s3c_nand.regs;
+        unsigned long timeo = jiffies;
+ 
+        timeo += 16;    /* when Hz=200,  jiffies interval 1/200=5mS, waiting for 80mS  80/5 = 16 */
+ 
+        /* Apply this short delay always to ensure that we do wait tWB in
+         * any case on any machine. */
+
+        while (time_before(jiffies, timeo)) {
+		if (readl(regs + S3C_NFSTAT) & S3C_NFSTAT_ECCENCDONE)
+				break;
+		cond_resched();
+	}
+}
+
+/*
+ * Function for checking ECCDecDone in NFSTAT
+ * Written by jsgood
+ */
+static void s3c_nand_wait_dec(void)
+{
+	void __iomem *regs = s3c_nand.regs;
+        unsigned long timeo = jiffies;
+ 
+        timeo += 16;    /* when Hz=200,  jiffies interval  1/200=5mS, waiting for 80mS  80/5 = 16 */
+ 
+        /* Apply this short delay always to ensure that we do wait tWB in
+         * any case on any machine. */
+
+        while (time_before(jiffies, timeo)) {
+		if (readl(regs + S3C_NFSTAT) & S3C_NFSTAT_ECCDECDONE)
+			break;
+		cond_resched();
+	}
+}
+
+/*
+ * Function for checking ECC Busy
+ * Written by jsgood
+ */
+static void s3c_nand_wait_ecc_busy(void)
+{
+	void __iomem *regs = s3c_nand.regs;
+        unsigned long timeo = jiffies;
+ 
+        timeo += 16;    /* when Hz=200,  jiffies interval  1/200=5mS, waiting for 80mS  80/5 = 16 */
+ 
+        /* Apply this short delay always to ensure that we do wait tWB in
+         * any case on any machine. */
+
+        while (time_before(jiffies, timeo)) {
+		if (!(readl(regs + S3C_NFMECCERR0) & S3C_NFECCERR0_ECCBUSY))
+			break;
+		cond_resched();
+	}
+}
+
+/*
+ * This function is called before encoding ecc codes to ready ecc engine.
+ * Written by jsgood
+ */
+static void s3c_nand_enable_hwecc(struct mtd_info *mtd, int mode)
+{
+	u_long nfcont;
+	u_long nfconf;
+	void __iomem *regs = s3c_nand.regs;
+
+	cur_ecc_mode = mode;
+
+	nfconf = readl(regs + S3C_NFCONF);
+
+	if (s3c_nand.cpu_type == TYPE_S3C6400) {
+		if (nand_type == S3C_NAND_TYPE_SLC)
+			nfconf &= ~S3C_NFCONF_ECC_MLC;	/* SLC */
+		else
+			nfconf |= S3C_NFCONF_ECC_MLC;	/* MLC */
+	} else {
+		nfconf &= ~(0x3 << 23);
+
+		if (nand_type == S3C_NAND_TYPE_SLC)
+			nfconf |= S3C_NFCONF_ECC_1BIT;
+		else
+			nfconf |= S3C_NFCONF_ECC_4BIT;
+	}
+
+	writel(nfconf, regs + S3C_NFCONF);
+
+	/* Init main ECC & unlock */
+	nfcont = readl(regs + S3C_NFCONT);
+	nfcont |= S3C_NFCONT_INITMECC;
+	nfcont &= ~S3C_NFCONT_MECCLOCK;
+
+	if (nand_type == S3C_NAND_TYPE_MLC) {
+		if (mode == NAND_ECC_WRITE)
+			nfcont |= S3C_NFCONT_ECC_ENC;
+		else if (mode == NAND_ECC_READ)
+			nfcont &= ~S3C_NFCONT_ECC_ENC;
+	}
+
+	writel(nfcont, regs + S3C_NFCONT);
+}
+
+/*
+ * This function is called immediately after encoding ecc codes.
+ * This function returns encoded ecc codes.
+ * Written by jsgood
+ */
+static int s3c_nand_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code)
+{
+	u_long nfcont, nfmecc0, nfmecc1;
+	void __iomem *regs = s3c_nand.regs;
+
+	/* Lock */
+	nfcont = readl(regs + S3C_NFCONT);
+	nfcont |= S3C_NFCONT_MECCLOCK;
+	writel(nfcont, regs + S3C_NFCONT);
+
+	if (nand_type == S3C_NAND_TYPE_SLC) {
+		nfmecc0 = readl(regs + S3C_NFMECC0);
+
+		ecc_code[0] = nfmecc0 & 0xff;
+		ecc_code[1] = (nfmecc0 >> 8) & 0xff;
+		ecc_code[2] = (nfmecc0 >> 16) & 0xff;
+		ecc_code[3] = (nfmecc0 >> 24) & 0xff;
+	} else {
+		if (cur_ecc_mode == NAND_ECC_READ)
+			s3c_nand_wait_dec();
+		else {
+			s3c_nand_wait_enc();
+			
+			nfmecc0 = readl(regs + S3C_NFMECC0);
+			nfmecc1 = readl(regs + S3C_NFMECC1);
+
+			ecc_code[0] = nfmecc0 & 0xff;
+			ecc_code[1] = (nfmecc0 >> 8) & 0xff;
+			ecc_code[2] = (nfmecc0 >> 16) & 0xff;
+			ecc_code[3] = (nfmecc0 >> 24) & 0xff;			
+			ecc_code[4] = nfmecc1 & 0xff;
+			ecc_code[5] = (nfmecc1 >> 8) & 0xff;
+			ecc_code[6] = (nfmecc1 >> 16) & 0xff;
+			ecc_code[7] = (nfmecc1 >> 24) & 0xff;
+		}
+	}
+	
+	return 0;
+}
+
+/*
+ * This function determines whether read data is good or not.
+ * If SLC, must write ecc codes to controller before reading status bit.
+ * If MLC, status bit is already set, so only reading is needed.
+ * If status bit is good, return 0.
+ * If correctable errors occured, do that.
+ * If uncorrectable errors occured, return -1.
+ * Written by jsgood
+ */
+static int s3c_nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc)
+{
+	int ret = -1;
+	u_long nfestat0, nfestat1, nfmeccdata0, nfmeccdata1, nfmlcbitpt;
+	u_char err_type;
+	void __iomem *regs = s3c_nand.regs;
+
+	if (!dat) {
+		printk("No page data\n");
+		return ret;
+	}
+
+	if (nand_type == S3C_NAND_TYPE_SLC) {
+		/* SLC: Write ECC data to compare */
+		nfmeccdata0 = (read_ecc[1] << 16) | read_ecc[0];
+		nfmeccdata1 = (read_ecc[3] << 16) | read_ecc[2];
+		writel(nfmeccdata0, regs + S3C_NFMECCDATA0);
+		writel(nfmeccdata1, regs + S3C_NFMECCDATA1);
+
+		/* Read ECC status */
+		nfestat0 = readl(regs + S3C_NFMECCERR0);
+		err_type = nfestat0 & 0x3;
+
+		switch (err_type) {
+		case 0: /* No error */
+			ret = 0;
+			break;
+
+		case 1: /* 1 bit error (Correctable)
+			   (nfestat0 >> 7) & 0x7ff	:error byte number
+			   (nfestat0 >> 4) & 0x7	:error bit number */
+			printk("s3c-nand: 1 bit error detected at byte %ld, correcting from "
+					"0x%02x ", (nfestat0 >> 7) & 0x7ff, dat[(nfestat0 >> 7) & 0x7ff]);
+			dat[(nfestat0 >> 7) & 0x7ff] ^= (1 << ((nfestat0 >> 4) & 0x7));
+			printk("to 0x%02x...OK\n", dat[(nfestat0 >> 7) & 0x7ff]);
+			ret = 1;
+			break;
+
+		case 2: /* Multiple error */
+		case 3: /* ECC area error */
+			//printk("s3c-nand: ECC uncorrectable error detected\n");
+			ret = -1;
+			break;
+		}
+	} else {
+		/* MLC: */
+		s3c_nand_wait_ecc_busy();
+		
+		nfestat0 = readl(regs + S3C_NFMECCERR0);
+		nfestat1 = readl(regs + S3C_NFMECCERR1);
+		nfmlcbitpt = readl(regs + S3C_NFMLCBITPT);
+
+		err_type = (nfestat0 >> 26) & 0x7;
+
+		/* No error, If free page (all 0xff) */
+		if ((nfestat0 >> 29) & 0x1) {
+			err_type = 0;
+		} else {
+			/* No error, If all 0xff from 17th byte in oob (in case of JFFS2 format) */
+			if (dat) {
+				if (dat[17] == 0xff && dat[26] == 0xff && dat[35] == 0xff && dat[44] == 0xff && dat[54] == 0xff)
+					err_type = 0;
+			}
+		}
+
+		switch (err_type) {
+		case 5: /* Uncorrectable */
+			//printk("s3c-nand: ECC uncorrectable error detected\n");
+			ret = -1;
+			break;
+
+		case 4: /* 4 bit error (Correctable) */
+			dat[(nfestat1 >> 16) & 0x3ff] ^= ((nfmlcbitpt >> 24) & 0xff);
+
+		case 3: /* 3 bit error (Correctable) */
+			dat[nfestat1 & 0x3ff] ^= ((nfmlcbitpt >> 16) & 0xff);
+
+		case 2: /* 2 bit error (Correctable) */
+			dat[(nfestat0 >> 16) & 0x3ff] ^= ((nfmlcbitpt >> 8) & 0xff);
+
+		case 1: /* 1 bit error (Correctable) */
+			printk("s3c-nand: %d bit(s) error detected, corrected successfully\n", err_type);
+			dat[nfestat0 & 0x3ff] ^= (nfmlcbitpt & 0xff);
+			ret = err_type;
+			break;
+
+		case 0: /* No error */
+			ret = 0;
+			break;
+		}
+	}
+
+	return ret;
+}
+
+static int s3c_nand_write_oob_1bit(struct mtd_info *mtd, struct nand_chip *chip,
+			      int page)
+{
+	uint8_t *ecc_calc = chip->buffers->ecccalc;
+	int status = 0;
+	int eccbytes = chip->ecc.bytes;
+	int secc_start = mtd->oobsize - eccbytes;
+	int i;
+
+	chip->cmdfunc(mtd, NAND_CMD_SEQIN, mtd->writesize, page);
+
+	/* spare area */
+	chip->ecc.hwctl(mtd, NAND_ECC_WRITE);
+	chip->write_buf(mtd, chip->oob_poi, secc_start);
+	chip->ecc.calculate(mtd, 0, &ecc_calc[chip->ecc.total]);
+
+	for (i = 0; i < eccbytes; i++)
+		chip->oob_poi[secc_start + i] = ecc_calc[chip->ecc.total + i];
+
+	chip->write_buf(mtd, chip->oob_poi + secc_start, eccbytes);
+
+	/* Send command to program the OOB data */
+	chip->cmdfunc(mtd, NAND_CMD_PAGEPROG, -1, -1);
+
+	status = chip->waitfunc(mtd, chip);
+
+	return status & NAND_STATUS_FAIL ? -EIO : 0;
+}
+
+static int s3c_nand_read_oob_1bit(struct mtd_info *mtd, struct nand_chip *chip,
+			     int page, int sndcmd)
+{
+	uint8_t *ecc_calc = chip->buffers->ecccalc;
+	int eccbytes = chip->ecc.bytes;
+	int secc_start = mtd->oobsize - eccbytes;
+	
+	if (sndcmd) {
+		chip->cmdfunc(mtd, NAND_CMD_READOOB, 0, page);
+		sndcmd = 0;
+	}
+
+	chip->ecc.hwctl(mtd, NAND_ECC_READ);
+	chip->read_buf(mtd, chip->oob_poi, secc_start);
+	chip->ecc.calculate(mtd, 0, &ecc_calc[chip->ecc.total]);
+	chip->read_buf(mtd, chip->oob_poi + secc_start, eccbytes);
+
+	/* jffs2 special case */
+	if (!(chip->oob_poi[2] == 0x85 && chip->oob_poi[3] == 0x19))
+		chip->ecc.correct(mtd, chip->oob_poi, chip->oob_poi + secc_start, 0);
+	
+	return sndcmd;
+}
+
+static void s3c_nand_write_page_1bit(struct mtd_info *mtd, struct nand_chip *chip,
+				  const uint8_t *buf)
+{
+	int i, eccsize = chip->ecc.size;
+	int eccbytes = chip->ecc.bytes;
+	int eccsteps = chip->ecc.steps;
+	int secc_start = mtd->oobsize - eccbytes;
+	uint8_t *ecc_calc = chip->buffers->ecccalc;
+	const uint8_t *p = buf;
+	
+	uint32_t *eccpos = chip->ecc.layout->eccpos;
+
+	/* main area */
+	for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
+		chip->ecc.hwctl(mtd, NAND_ECC_WRITE);
+		chip->write_buf(mtd, p, eccsize);
+		chip->ecc.calculate(mtd, p, &ecc_calc[i]);
+	}
+
+	for (i = 0; i < chip->ecc.total; i++)
+		chip->oob_poi[eccpos[i]] = ecc_calc[i];
+
+	/* spare area */
+	chip->ecc.hwctl(mtd, NAND_ECC_WRITE);
+	chip->write_buf(mtd, chip->oob_poi, secc_start);
+	chip->ecc.calculate(mtd, p, &ecc_calc[chip->ecc.total]);
+
+	for (i = 0; i < eccbytes; i++)
+		chip->oob_poi[secc_start + i] = ecc_calc[chip->ecc.total + i];
+
+	chip->write_buf(mtd, chip->oob_poi + secc_start, eccbytes);
+}
+
+static int s3c_nand_read_page_1bit(struct mtd_info *mtd, struct nand_chip *chip,
+				uint8_t *buf)
+{
+	int i, stat, eccsize = chip->ecc.size;
+	int eccbytes = chip->ecc.bytes;
+	int eccsteps = chip->ecc.steps;
+	int secc_start = mtd->oobsize - eccbytes;
+	int col = 0;
+	uint8_t *p = buf;	
+	uint32_t *mecc_pos = chip->ecc.layout->eccpos;
+	uint8_t *ecc_calc = chip->buffers->ecccalc;
+
+	col = mtd->writesize;
+	chip->cmdfunc(mtd, NAND_CMD_RNDOUT, col, -1);
+
+	/* spare area */
+	chip->ecc.hwctl(mtd, NAND_ECC_READ);
+	chip->read_buf(mtd, chip->oob_poi, secc_start);
+	chip->ecc.calculate(mtd, p, &ecc_calc[chip->ecc.total]);
+	chip->read_buf(mtd, chip->oob_poi + secc_start, eccbytes);
+
+	/* jffs2 special case */
+	if (!(chip->oob_poi[2] == 0x85 && chip->oob_poi[3] == 0x19))
+		chip->ecc.correct(mtd, chip->oob_poi, chip->oob_poi + secc_start, 0);
+
+	col = 0;
+
+	/* main area */
+	for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
+		chip->cmdfunc(mtd, NAND_CMD_RNDOUT, col, -1);
+		chip->ecc.hwctl(mtd, NAND_ECC_READ);
+		chip->read_buf(mtd, p, eccsize);
+		chip->ecc.calculate(mtd, p, &ecc_calc[i]);
+
+		stat = chip->ecc.correct(mtd, p, chip->oob_poi + mecc_pos[0] + ((chip->ecc.steps - eccsteps) * eccbytes), 0);
+		if (stat == -1)
+			mtd->ecc_stats.failed++;
+
+		col = eccsize * (chip->ecc.steps + 1 - eccsteps);
+	}
+	
+	return 0;
+}
+
+/* 
+ * Hardware specific page read function for MLC.
+ * Written by jsgood
+ */
+static int s3c_nand_read_page_4bit(struct mtd_info *mtd, struct nand_chip *chip,
+				uint8_t *buf)
+{
+	int i, stat, eccsize = chip->ecc.size;
+	int eccbytes = chip->ecc.bytes;
+	int eccsteps = chip->ecc.steps;
+	int col = 0;
+	uint8_t *p = buf;	
+	uint32_t *mecc_pos = chip->ecc.layout->eccpos;
+
+	/* Step1: read whole oob */
+	col = mtd->writesize;
+	chip->cmdfunc(mtd, NAND_CMD_RNDOUT, col, -1);
+	chip->read_buf(mtd, chip->oob_poi, mtd->oobsize);
+
+	col = 0;
+	for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
+		chip->cmdfunc(mtd, NAND_CMD_RNDOUT, col, -1);
+		chip->ecc.hwctl(mtd, NAND_ECC_READ);
+		chip->read_buf(mtd, p, eccsize);
+		chip->write_buf(mtd, chip->oob_poi + mecc_pos[0] + ((chip->ecc.steps - eccsteps) * eccbytes), eccbytes);
+		chip->ecc.calculate(mtd, 0, 0);
+		stat = chip->ecc.correct(mtd, p, 0, 0);
+
+		if (stat == -1)
+			mtd->ecc_stats.failed++;
+
+		col = eccsize * (chip->ecc.steps + 1 - eccsteps);
+	}
+
+	return 0;
+}
+
+/* 
+ * Hardware specific page write function for MLC.
+ * Written by jsgood
+ */
+static void s3c_nand_write_page_4bit(struct mtd_info *mtd, struct nand_chip *chip,
+				  const uint8_t *buf)
+{
+	int i, eccsize = chip->ecc.size;
+	int eccbytes = chip->ecc.bytes;
+	int eccsteps = chip->ecc.steps;
+	const uint8_t *p = buf;
+	uint8_t *ecc_calc = chip->buffers->ecccalc;
+	uint32_t *mecc_pos = chip->ecc.layout->eccpos;
+
+	/* Step1: write main data and encode mecc */
+	for (i = 0; eccsteps; eccsteps--, i += eccbytes, p += eccsize) {
+		chip->ecc.hwctl(mtd, NAND_ECC_WRITE);
+		chip->write_buf(mtd, p, eccsize);
+		chip->ecc.calculate(mtd, p, &ecc_calc[i]);
+	}
+
+	/* Step2: save encoded mecc */
+	for (i = 0; i < chip->ecc.total; i++)
+		chip->oob_poi[mecc_pos[i]] = ecc_calc[i];
+
+	chip->write_buf(mtd, chip->oob_poi, mtd->oobsize);
+}
+#endif
+
+/* s3c_nand_probe
+ *
+ * called by device layer when it finds a device matching
+ * one our driver can handled. This code checks to see if
+ * it can allocate all necessary resources then calls the
+ * nand layer to look for devices
+ */
+static int s3c_nand_probe(struct platform_device *pdev, enum s3c_cpu_type cpu_type)
+{	
+	struct s3c_nand_mtd_info *plat_info = pdev->dev.platform_data;
+	struct mtd_partition *partition_info = (struct mtd_partition *)plat_info->partition;
+	struct nand_chip *nand;
+	struct resource *res;
+	int err = 0;
+	int ret = 0;
+	int i, j, size;
+
+#if defined(CONFIG_MTD_NAND_S3C_HWECC)
+	struct nand_flash_dev *type = NULL;
+	u_char tmp;
+#endif
+
+	/* get the clock source and enable it */
+
+	s3c_nand.clk = clk_get(&pdev->dev, "nand");
+	if (IS_ERR(s3c_nand.clk)) {
+		dev_err(&pdev->dev, "failed to get clock");
+		err = -ENOENT;
+		goto exit_error;
+	}
+
+	clk_enable(s3c_nand.clk);
+
+	/* allocate and map the resource */
+
+	/* currently we assume we have the one resource */
+	res  = pdev->resource;
+	size = res->end - res->start + 1;
+
+	s3c_nand.area = request_mem_region(res->start, size, pdev->name);
+
+	if (s3c_nand.area == NULL) {
+		dev_err(&pdev->dev, "cannot reserve register region\n");
+		err = -ENOENT;
+		goto exit_error;
+	}
+
+	s3c_nand.cpu_type   = cpu_type;
+	s3c_nand.device     = &pdev->dev;
+	s3c_nand.regs       = ioremap(res->start, size);
+
+	if (s3c_nand.regs == NULL) {
+		dev_err(&pdev->dev, "cannot reserve register region\n");
+		err = -EIO;
+		goto exit_error;
+	}
+
+	/* allocate memory for MTD device structure and private data */
+	s3c_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL);
+
+	if (!s3c_mtd) {
+		printk("Unable to allocate NAND MTD dev structure.\n");
+		return -ENOMEM;
+	}
+
+	/* Get pointer to private data */
+	nand = (struct nand_chip *) (&s3c_mtd[1]);
+
+	/* Initialize structures */
+	memset((char *) s3c_mtd, 0, sizeof(struct mtd_info));
+	memset((char *) nand, 0, sizeof(struct nand_chip));
+
+	/* Link the private data with the MTD structure */
+	s3c_mtd->priv = nand;
+
+	for (i = 0; i < plat_info->chip_nr; i++) {
+		nand->IO_ADDR_R		= (char *)(s3c_nand.regs + S3C_NFDATA);
+		nand->IO_ADDR_W		= (char *)(s3c_nand.regs + S3C_NFDATA);
+		nand->cmd_ctrl		= s3c_nand_hwcontrol;
+		nand->dev_ready		= s3c_nand_device_ready;		
+		nand->scan_bbt		= s3c_nand_scan_bbt;
+		nand->options		= 0;
+
+#if defined(CONFIG_MTD_NAND_S3C_CACHEDPROG)
+		nand->options		|= NAND_CACHEPRG;
+#endif
+
+#if defined(CONFIG_MTD_NAND_S3C_HWECC)
+		nand->ecc.mode		= NAND_ECC_HW;
+		nand->ecc.hwctl		= s3c_nand_enable_hwecc;
+		nand->ecc.calculate	= s3c_nand_calculate_ecc;
+		nand->ecc.correct	= s3c_nand_correct_data;
+		
+		s3c_nand_hwcontrol(0, NAND_CMD_READID, NAND_NCE | NAND_CLE | NAND_CTRL_CHANGE);
+		s3c_nand_hwcontrol(0, 0x00, NAND_CTRL_CHANGE | NAND_NCE | NAND_ALE);
+		s3c_nand_hwcontrol(0, 0x00, NAND_NCE | NAND_ALE);
+		s3c_nand_hwcontrol(0, NAND_CMD_NONE, NAND_NCE | NAND_CTRL_CHANGE);
+		s3c_nand_device_ready(0);
+
+		tmp = readb(nand->IO_ADDR_R); /* Maf. ID */
+		tmp = readb(nand->IO_ADDR_R); /* Device ID */
+
+		for (j = 0; nand_flash_ids[j].name != NULL; j++) {
+			if (tmp == nand_flash_ids[j].id) {
+				type = &nand_flash_ids[j];
+				break;
+			}
+		}
+
+		if (!type) {
+			printk("Unknown NAND Device.\n");
+			goto exit_error;
+		}
+		
+		nand->cellinfo = readb(nand->IO_ADDR_R);	/* the 3rd byte */
+		tmp = readb(nand->IO_ADDR_R);			/* the 4th byte */
+
+		if (!type->pagesize) {
+			if (((nand->cellinfo >> 2) & 0x3) == 0) {
+				nand_type = S3C_NAND_TYPE_SLC;				
+				nand->ecc.size = 512;
+				nand->ecc.bytes	= 4;
+
+				if ((1024 << (tmp & 0x3)) > 512) {
+					nand->ecc.read_page = s3c_nand_read_page_1bit;
+					nand->ecc.write_page = s3c_nand_write_page_1bit;
+					nand->ecc.read_oob = s3c_nand_read_oob_1bit;
+					nand->ecc.write_oob = s3c_nand_write_oob_1bit;
+					nand->ecc.layout = &s3c_nand_oob_64;
+				} else {
+					nand->ecc.layout = &s3c_nand_oob_16;
+				}
+			} else {
+				nand_type = S3C_NAND_TYPE_MLC;
+				nand->options |= NAND_NO_SUBPAGE_WRITE;	/* NOP = 1 if MLC */
+				nand->ecc.read_page = s3c_nand_read_page_4bit;
+				nand->ecc.write_page = s3c_nand_write_page_4bit;
+				nand->ecc.size = 512;
+				nand->ecc.bytes = 8;	/* really 7 bytes */
+				nand->ecc.layout = &s3c_nand_oob_mlc_64;
+			}
+		} else {
+			nand_type = S3C_NAND_TYPE_SLC;
+			nand->ecc.size = 512;
+			nand->cellinfo = 0;
+			nand->ecc.bytes = 4;
+			nand->ecc.layout = &s3c_nand_oob_16;
+		}
+
+		printk("S3C NAND Driver is using hardware ECC.\n");
+#else
+		nand->ecc.mode = NAND_ECC_SOFT;
+		printk("S3C NAND Driver is using software ECC.\n");
+#endif
+		if (nand_scan(s3c_mtd, 1)) {
+			ret = -ENXIO;
+			goto exit_error;
+		}
+
+		/* Register the partitions */
+		add_mtd_partitions(s3c_mtd, partition_info, plat_info->mtd_part_nr);
+	}
+
+	pr_debug("initialized ok\n");
+	return 0;
+
+exit_error:
+	kfree(s3c_mtd);
+
+	return ret;
+}
+
+static int s3c2450_nand_probe(struct platform_device *dev)
+{
+	return s3c_nand_probe(dev, TYPE_S3C2450);
+}
+
+static int s3c6400_nand_probe(struct platform_device *dev)
+{
+	return s3c_nand_probe(dev, TYPE_S3C6400);
+}
+
+static int s3c6410_nand_probe(struct platform_device *dev)
+{
+	return s3c_nand_probe(dev, TYPE_S3C6410);
+}
+
+static int s5pc100_nand_probe(struct platform_device *dev)
+{
+        return s3c_nand_probe(dev, TYPE_S5PC100);
+}
+
+/* PM Support */
+#if defined(CONFIG_PM)
+static int s3c_nand_suspend(struct platform_device *dev, pm_message_t pm)
+{
+        struct s3c_nand *info = platform_get_drvdata(dev);
+        clk_disable(s3c_nand.clk);
+	return 0;
+}
+
+static int s3c_nand_resume(struct platform_device *dev)
+{
+        struct s3c_nand *info = platform_get_drvdata(dev);
+        clk_enable(s3c_nand.clk);
+	return 0;
+}
+
+#else
+#define s3c_nand_suspend NULL
+#define s3c_nand_resume NULL
+#endif
+
+/* device management functions */
+static int s3c_nand_remove(struct platform_device *dev)
+{
+	platform_set_drvdata(dev, NULL);
+
+	return 0;
+}
+
+static struct platform_driver s3c2450_nand_driver = {
+	.probe		= s3c2450_nand_probe,
+	.remove		= s3c_nand_remove,
+	.suspend	= s3c_nand_suspend,
+	.resume		= s3c_nand_resume,
+	.driver		= {
+		.name	= "s3c2450-nand",
+		.owner	= THIS_MODULE,
+	},
+};
+
+static struct platform_driver s3c6400_nand_driver = {
+	.probe		= s3c6400_nand_probe,
+	.remove		= s3c_nand_remove,
+	.suspend	= s3c_nand_suspend,
+	.resume		= s3c_nand_resume,
+	.driver		= {
+		.name	= "s3c6400-nand",
+		.owner	= THIS_MODULE,
+	},
+};
+
+static struct platform_driver s3c6410_nand_driver = {
+	.probe		= s3c6410_nand_probe,
+	.remove		= s3c_nand_remove,
+	.suspend	= s3c_nand_suspend,
+	.resume		= s3c_nand_resume,
+	.driver		= {
+		.name	= "s3c6410-nand",
+		.owner	= THIS_MODULE,
+	},
+};
+
+static struct platform_driver s5pc100_nand_driver = {
+        .probe          = s5pc100_nand_probe,
+        .remove         = s3c_nand_remove,
+        .suspend        = s3c_nand_suspend,
+        .resume         = s3c_nand_resume,
+        .driver         = {
+                .name   = "s5pc100-nand",
+                .owner  = THIS_MODULE,
+        },
+};
+
+static int __init s3c_nand_init(void)
+{
+	printk("S3C NAND Driver, (c) 2008 Samsung Electronics\n");
+
+	platform_driver_register(&s3c2450_nand_driver);
+	platform_driver_register(&s3c6400_nand_driver);
+        platform_driver_register(&s3c6410_nand_driver);
+        return platform_driver_register(&s5pc100_nand_driver);
+}
+
+static void __exit s3c_nand_exit(void)
+{
+	platform_driver_unregister(&s3c2450_nand_driver);
+	platform_driver_unregister(&s3c6400_nand_driver);
+	platform_driver_unregister(&s3c6410_nand_driver);
+	platform_driver_unregister(&s5pc100_nand_driver);
+}
+
+module_init(s3c_nand_init);
+module_exit(s3c_nand_exit);
+
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Jinsung Yang <jsgood.yang@samsung.com>");
+MODULE_DESCRIPTION("S3C MTD NAND driver");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mtd/onenand/Makefile linux-2.6.28.6/drivers/mtd/onenand/Makefile
--- linux-2.6.28/drivers/mtd/onenand/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mtd/onenand/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -3,7 +3,7 @@
 #
 
 # Core functionality.
-obj-$(CONFIG_MTD_ONENAND)		+= onenand.o
+obj-$(CONFIG_MTD_ONENAND)		+= onenand.o onenand_bbt.o
 
 # Board specific.
 obj-$(CONFIG_MTD_ONENAND_GENERIC)	+= generic.o
@@ -12,4 +12,12 @@
 # Simulator
 obj-$(CONFIG_MTD_ONENAND_SIM)		+= onenand_sim.o
 
-onenand-objs = onenand_base.o onenand_bbt.o
+ifeq ($(CONFIG_CPU_S3C6400),y)
+onenand-objs = s3c_onenand.o
+else ifeq ($(CONFIG_CPU_S3C6410),y)
+onenand-objs = s3c_onenand.o
+else ifeq ($(CONFIG_CPU_S5PC100),y)
+onenand-objs = s3c_onenand.o
+else
+onenand-objs = onenand_base.o
+endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mtd/onenand/generic.c linux-2.6.28.6/drivers/mtd/onenand/generic.c
--- linux-2.6.28/drivers/mtd/onenand/generic.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mtd/onenand/generic.c	2009-04-30 09:36:38.000000000 +0200
@@ -36,10 +36,9 @@
 	struct onenand_chip	onenand;
 };
 
-static int __devinit generic_onenand_probe(struct device *dev)
+static int __devinit generic_onenand_probe(struct platform_device *pdev)
 {
 	struct onenand_info *info;
-	struct platform_device *pdev = to_platform_device(dev);
 	struct flash_platform_data *pdata = pdev->dev.platform_data;
 	struct resource *res = pdev->resource;
 	unsigned long size = res->end - res->start + 1;
@@ -49,7 +48,7 @@
 	if (!info)
 		return -ENOMEM;
 
-	if (!request_mem_region(res->start, size, dev->driver->name)) {
+	if (!request_mem_region(res->start, size, pdev->name)) {
 		err = -EBUSY;
 		goto out_free_info;
 	}
@@ -96,9 +95,8 @@
 	return err;
 }
 
-static int __devexit generic_onenand_remove(struct device *dev)
+static int __devexit generic_onenand_remove(struct platform_device *pdev)
 {
-	struct platform_device *pdev = to_platform_device(dev);
 	struct onenand_info *info = dev_get_drvdata(&pdev->dev);
 	struct resource *res = pdev->resource;
 	unsigned long size = res->end - res->start + 1;
@@ -120,23 +118,25 @@
 	return 0;
 }
 
-static struct device_driver generic_onenand_driver = {
-	.name		= DRIVER_NAME,
-	.bus		= &platform_bus_type,
+static struct platform_driver generic_onenand_driver = {
 	.probe		= generic_onenand_probe,
 	.remove		= __devexit_p(generic_onenand_remove),
+	.driver		= {
+		.name	= DRIVER_NAME,
+		.owner	= THIS_MODULE,
+	},
 };
 
 MODULE_ALIAS(DRIVER_NAME);
 
 static int __init generic_onenand_init(void)
 {
-	return driver_register(&generic_onenand_driver);
+	return platform_driver_register(&generic_onenand_driver);
 }
 
 static void __exit generic_onenand_exit(void)
 {
-	driver_unregister(&generic_onenand_driver);
+	platform_driver_unregister(&generic_onenand_driver);
 }
 
 module_init(generic_onenand_init);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mtd/onenand/onenand_bbt.c linux-2.6.28.6/drivers/mtd/onenand/onenand_bbt.c
--- linux-2.6.28/drivers/mtd/onenand/onenand_bbt.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/mtd/onenand/onenand_bbt.c	2009-04-30 09:36:38.000000000 +0200
@@ -14,9 +14,16 @@
 
 #include <linux/slab.h>
 #include <linux/mtd/mtd.h>
+#if defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410) || defined(CONFIG_CPU_S5PC100)
+#include "s3c_onenand.h"
+#else
 #include <linux/mtd/onenand.h>
+#endif
+
 #include <linux/mtd/compatmac.h>
 
+extern int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from,
+				struct mtd_oob_ops *ops);
 /**
  * check_short_pattern - [GENERIC] check if a pattern is in the buffer
  * @param buf		the buffer to search
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mtd/onenand/s3c_onenand.c linux-2.6.28.6/drivers/mtd/onenand/s3c_onenand.c
--- linux-2.6.28/drivers/mtd/onenand/s3c_onenand.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/mtd/onenand/s3c_onenand.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,2657 @@
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/sched.h>
+#include <linux/interrupt.h>
+#include <linux/jiffies.h>
+#include <linux/mtd/mtd.h>
+#include <linux/mtd/partitions.h>
+
+#include <asm/io.h>
+#include <plat/regs-clock.h>
+#include <mach/map.h>
+
+#include <linux/dma-mapping.h>
+#include "s3c_onenand.h"
+
+#undef CONFIG_MTD_ONENAND_CHECK_SPEED
+#undef DEBUG_ONENAND
+
+#ifdef CONFIG_MTD_ONENAND_CHECK_SPEED
+#include <asm/arch/regs-gpio.h>
+#endif
+
+#ifdef DEBUG_ONENAND
+#define dbg(x...)       printk(x)
+#else
+#define dbg(x...)       do { } while (0)
+#endif
+
+#if defined(CONFIG_CPU_S3C6400)
+#define onenand_phys_to_virt(x)		(void __iomem *)(chip->dev_base + (x & 0xffffff))
+#define onenand_virt_to_phys(x)		(void __iomem *)(ONENAND_AHB_ADDR + (x & 0xffffff))
+#elif defined(CONFIG_CPU_S5PC100)
+#define onenand_phys_to_virt(x)		(void __iomem *)(chip->dev_base + (x & 0xfffffff))
+#define onenand_virt_to_phys(x)		(void __iomem *)(ONENAND_AHB_ADDR + (x & 0xfffffff))
+#else
+#define onenand_phys_to_virt(x)		(void __iomem *)(chip->dev_base + (x & 0x3ffffff))
+#define onenand_virt_to_phys(x)		(void __iomem *)(ONENAND_AHB_ADDR + (x & 0x3ffffff))
+#endif
+
+/**
+ * onenand_oob_64 - oob info for large (2KB) page
+ */
+static struct nand_ecclayout onenand_oob_64 = {
+	.eccbytes	= 20,
+	.eccpos		= {
+		8, 9, 10, 11, 12,
+		24, 25, 26, 27, 28,
+		40, 41, 42, 43, 44,
+		56, 57, 58, 59, 60,
+		},
+
+	/* For YAFFS2 tag information */
+	.oobfree	= {
+		{2, 6}, {13, 3}, {18, 6}, {29, 3},
+		{34, 6}, {45, 3}, {50, 6}, {61, 3}}
+#if 0
+	.oobfree	= {
+		{2, 6}, {14, 2}, {18, 6}, {30, 2},
+		{34, 6}, {46, 2}, {50, 6}}
+
+	.oobfree	= {
+		{2, 3}, {14, 2}, {18, 3}, {30, 2},
+		{34, 3}, {46, 2}, {50, 3}, {62, 2}
+	}
+#endif
+};
+
+/**
+ * onenand_oob_32 - oob info for middle (1KB) page
+ */
+static struct nand_ecclayout onenand_oob_32 = {
+	.eccbytes	= 10,
+	.eccpos		= {
+		8, 9, 10, 11, 12,
+		24, 25, 26, 27, 28,
+		},
+	.oobfree	= { {2, 3}, {14, 2}, {18, 3}, {30, 2} }
+};
+
+static const unsigned char ffchars[] = {
+	0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+	0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,	/* 16 */
+	0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+	0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,	/* 32 */
+	0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+	0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,	/* 48 */
+	0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+	0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,	/* 64 */
+};
+
+static int onenand_write_oob_nolock(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops);
+
+
+#ifdef CONFIG_MTD_ONENAND_VERIFY_WRITE
+static int onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to, size_t len);
+static int onenand_verify_ops(struct mtd_info *mtd, struct mtd_oob_ops *ops, loff_t to, size_t len);
+#endif
+
+/**
+ * dma client
+ */
+static struct s3c2410_dma_client s3c6400onenand_dma_client = {
+	.name		= "s3c6400-onenand-dma",
+};
+
+static unsigned int onenand_readl(void __iomem *addr)
+{
+	return readl(addr);
+}
+
+static void onenand_writel(unsigned int value, void __iomem *addr)
+{
+	writel(value, addr);
+}
+
+static void onenand_irq_wait(struct onenand_chip *chip, int stat)
+{
+	while (!chip->read(chip->base + ONENAND_REG_INT_ERR_STAT) & stat);
+}
+
+static void onenand_irq_ack(struct onenand_chip *chip, int stat)
+{
+	chip->write(stat, chip->base + ONENAND_REG_INT_ERR_ACK);
+}
+
+static int onenand_irq_pend(struct onenand_chip *chip, int stat)
+{
+	return (chip->read(chip->base + ONENAND_REG_INT_ERR_STAT) & stat);
+}
+
+static void onenand_irq_wait_ack(struct onenand_chip *chip, int stat)
+{
+	onenand_irq_wait(chip, stat);
+	onenand_irq_ack(chip, stat);
+}
+
+static int onenand_blkrw_complete(struct onenand_chip *chip, int cmd)
+{
+	int cmp_bit = 0, fail_bit = 0, ret = 0;
+
+	if (cmd == ONENAND_CMD_READ) {
+		cmp_bit = ONENAND_INT_ERR_LOAD_CMP;
+		fail_bit = ONENAND_INT_ERR_LD_FAIL_ECC_ERR;
+	} else if (cmd == ONENAND_CMD_PROG) {
+		cmp_bit = ONENAND_INT_ERR_PGM_CMP;
+		fail_bit = ONENAND_INT_ERR_PGM_FAIL;
+	} else {
+		ret = 1;
+	}
+
+	onenand_irq_wait_ack(chip, ONENAND_INT_ERR_INT_ACT);
+	onenand_irq_wait_ack(chip, ONENAND_INT_ERR_BLK_RW_CMP);
+	onenand_irq_wait_ack(chip, cmp_bit);
+
+	if (onenand_irq_pend(chip, fail_bit)) {
+		onenand_irq_ack(chip, fail_bit);
+		ret = 1;
+	}
+
+	return ret;
+}
+
+/**
+ * onenand_read_burst
+ *
+ * 16 Burst read: performance is improved up to 40%.
+ */
+static void onenand_read_burst(void *dest, const void *src, size_t len)
+{
+	int count;
+
+	if (len % 16 != 0)
+		return;
+
+	count = len / 16;
+
+	__asm__ __volatile__(
+		"	stmdb	r13!, {r0-r3,r9-r12}\n"
+		"	mov	r2, %0\n"
+		"read_page:\n"
+		"	ldmia	r1, {r9-r12}\n"
+		"	stmia	r0!, {r9-r12}\n"
+		"	subs	r2, r2, #0x1\n"
+		"	bne	read_page\n"
+		"	ldmia	r13!, {r0-r3,r9-r12}\n"
+		::"r" (count));
+}
+
+/**
+ *
+ * onenand_dma_finish
+ *
+ */
+void onenand_dma_finish(struct s3c2410_dma_chan *dma_ch, void *buf_id,
+        int size, enum s3c2410_dma_buffresult result)
+{
+	struct onenand_chip *chip = (struct onenand_chip *) buf_id;
+	complete(chip->done);
+}
+
+/**
+ *
+ * onenand_read_dma
+ *
+ */
+#if 1
+static void onenand_read_dma(struct onenand_chip *chip, unsigned int *dst, void __iomem *src, size_t len)
+{
+	void __iomem *phys_addr = onenand_virt_to_phys((u_int) src);
+
+	DECLARE_COMPLETION_ONSTACK(complete);
+	chip->done = &complete;
+
+#if 0
+	if (s3c_dma_request(chip->dma, chip->dma_ch, &s3c6400onenand_dma_client, NULL)) {
+		printk(KERN_WARNING "Unable to get DMA channel.\n");
+		return;
+	}
+
+	s3c_dma_set_buffdone_fn(chip->dma, chip->dma_ch, onenand_dma_finish);
+	s3c_dma_devconfig(chip->dma, chip->dma_ch, S3C_DMA_MEM2MEM, 1, 0, (u_long) phys_addr);
+	s3c_dma_config(chip->dma, chip->dma_ch, ONENAND_DMA_TRANSFER_WORD, ONENAND_DMA_TRANSFER_WORD);
+	s3c_dma_setflags(chip->dma, chip->dma_ch, S3C2410_DMAF_AUTOSTART);
+	consistent_sync((void *) dst, len, DMA_FROM_DEVICE);
+	s3c_dma_enqueue(chip->dma, chip->dma_ch, (void *) chip, (dma_addr_t) virt_to_dma(NULL, dst), len);
+
+	wait_for_completion(&complete);
+
+	s3c_dma_free(chip->dma, chip->dma_ch, &s3c6400onenand_dma_client);
+#else
+	if (s3c2410_dma_request(DMACH_ONENAND_IN, &s3c6400onenand_dma_client, NULL)) {
+		printk(KERN_WARNING "Unable to get DMA channel.\n");
+		return;
+	}
+
+	s3c2410_dma_set_buffdone_fn(DMACH_ONENAND_IN, onenand_dma_finish);
+	s3c2410_dma_devconfig(DMACH_ONENAND_IN, S3C_DMA_MEM2MEM_P, 1, (u_long) phys_addr);
+	s3c2410_dma_config(DMACH_ONENAND_IN, ONENAND_DMA_TRANSFER_WORD, ONENAND_DMA_TRANSFER_WORD);
+	s3c2410_dma_setflags(DMACH_ONENAND_IN, S3C2410_DMAF_AUTOSTART);
+	dma_cache_maint((void *) dst, len, DMA_FROM_DEVICE);
+	s3c2410_dma_enqueue(DMACH_ONENAND_IN, (void *) chip, (dma_addr_t) virt_to_dma(NULL, dst), len);
+
+	wait_for_completion(&complete);
+
+	s3c2410_dma_free(DMACH_ONENAND_IN, &s3c6400onenand_dma_client);
+#endif
+}
+#else
+extern s3c_dma_mainchan_t s3c_mainchans[S3C_DMA_CONTROLLERS];
+extern void s3c_enable_dmac(unsigned int channel);
+extern void s3c_disable_dmac(unsigned int channel);
+static void onenand_read_dma(struct onenand_chip *chip, unsigned int *dst, void __iomem *src, size_t len)
+{
+	s3c_dma_mainchan_t *mainchan = &s3c_mainchans[chip->dma];
+	void __iomem *phys_addr = onenand_virt_to_phys((u_int) src);
+
+	s3c_enable_dmac(chip->dma);
+	s3c_dma_set_buffdone_fn(chip->dma, chip->dma_ch, onenand_dma_finish);
+	s3c_dma_devconfig(chip->dma, chip->dma_ch, S3C_DMA_MEM2MEM_P, 1, 0, (u_long) phys_addr);
+	s3c_dma_config(chip->dma, chip->dma_ch, ONENAND_DMA_TRANSFER_WORD, ONENAND_DMA_TRANSFER_WORD);
+	s3c_dma_setflags(chip->dma, chip->dma_ch, S3C_DMAF_AUTOSTART);
+	consistent_sync((void *) dst, len, DMA_FROM_DEVICE);
+	s3c_dma_enqueue(chip->dma, chip->dma_ch, (void *) chip, (dma_addr_t) virt_to_dma(NULL, dst), len);
+
+	while (readl(mainchan->regs + S3C_DMAC_ENBLD_CHANNELS) & (1 << chip->dma_ch));
+
+	s3c_dma_ctrl(chip->dma, chip->dma_ch, S3C_DMAOP_STOP);
+	s3c_disable_dmac(chip->dma);
+}
+#endif
+
+/**
+ * onenand_command_map - [DEFAULT] Get command type
+ * @param cmd		command
+ * @return		command type (00, 01, 10, 11)
+ *
+ */
+static int onenand_command_map(int cmd)
+{
+	int type = ONENAND_CMD_MAP_FF;
+
+	switch (cmd) {
+	case ONENAND_CMD_READ:
+	case ONENAND_CMD_READOOB:
+	case ONENAND_CMD_PROG:
+	case ONENAND_CMD_PROGOOB:
+		type = ONENAND_CMD_MAP_01;
+		break;
+
+	case ONENAND_CMD_UNLOCK:
+	case ONENAND_CMD_LOCK:
+	case ONENAND_CMD_LOCK_TIGHT:
+	case ONENAND_CMD_UNLOCK_ALL:
+	case ONENAND_CMD_ERASE:
+	case ONENAND_CMD_OTP_ACCESS:
+	case ONENAND_CMD_PIPELINE_READ:
+	case ONENAND_CMD_PIPELINE_WRITE:
+		type = ONENAND_CMD_MAP_10;
+		break;
+
+	case ONENAND_CMD_RESET:
+	case ONENAND_CMD_READID:
+		type = ONENAND_CMD_MAP_11;
+		break;
+	default:
+		type = ONENAND_CMD_MAP_FF;
+		break;
+	}
+
+	return type;
+}
+
+/**
+ * onenand_addr_field - [DEFAULT] Generate address field
+ * @param dev_id	device id
+ * @param fba		block number
+ * @param fpa		page number
+ * @param fsa		sector number
+ * @return		address field
+ *
+ * Refer to Table 7-1 MEM_ADDR Fields in S3C6400/10 User's Manual
+ */
+#if defined(CONFIG_CPU_S3C6400)
+static u_int onenand_addr_field(int dev_id, int fba, int fpa, int fsa)
+{
+	u_int mem_addr = 0;
+	int ddp, density;
+
+	ddp = dev_id & ONENAND_DEVICE_IS_DDP;
+	density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT;
+
+	switch (density & 0xf) {
+	case ONENAND_DEVICE_DENSITY_128Mb:
+		mem_addr = (((fba & ONENAND_FBA_MASK_128Mb) << ONENAND_FBA_SHIFT_128Mb) | \
+				((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT_128Mb) | \
+				(fsa << ONENAND_FSA_SHIFT));
+		break;
+
+	case ONENAND_DEVICE_DENSITY_256Mb:
+		mem_addr = (((fba & ONENAND_FBA_MASK_256Mb) << ONENAND_FBA_SHIFT_256Mb) | \
+				((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT_256Mb) | \
+				(fsa << ONENAND_FSA_SHIFT));
+		break;
+
+	case ONENAND_DEVICE_DENSITY_512Mb:
+		mem_addr = (((fba & ONENAND_FBA_MASK_512Mb) << ONENAND_FBA_SHIFT_512Mb) | \
+				((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT_512Mb) | \
+				((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		break;
+
+	case ONENAND_DEVICE_DENSITY_1Gb:
+		if (ddp) {
+			mem_addr = ((ddp << ONENAND_DDP_SHIFT_1Gb) | \
+				((fba & ONENAND_FBA_MASK_1Gb_DDP) << ONENAND_FBA_SHIFT_1Gb_DDP) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT_1Gb_DDP) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		} else {
+			mem_addr = (((fba & ONENAND_FBA_MASK_1Gb) << ONENAND_FBA_SHIFT_1Gb) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT_1Gb) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		}
+
+		break;
+
+	case ONENAND_DEVICE_DENSITY_2Gb:
+		if (ddp) {
+			mem_addr = ((ddp << ONENAND_DDP_SHIFT_2Gb) | \
+					((fba & ONENAND_FBA_MASK_2Gb_DDP) << ONENAND_FBA_SHIFT_2Gb_DDP) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT_2Gb_DDP) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		} else {
+			mem_addr = (((fba & ONENAND_FBA_MASK_2Gb) << ONENAND_FBA_SHIFT_2Gb) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT_2Gb) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		}
+
+		break;
+
+	case ONENAND_DEVICE_DENSITY_4Gb:
+		if (ddp) {
+			mem_addr = ((ddp << ONENAND_DDP_SHIFT_4Gb) | \
+					((fba & ONENAND_FBA_MASK_4Gb_DDP) << ONENAND_FBA_SHIFT_4Gb_DDP) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT_4Gb_DDP) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		} else {
+			mem_addr = (((fba & ONENAND_FBA_MASK_4Gb) << ONENAND_FBA_SHIFT_4Gb) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT_4Gb) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		}
+
+		break;
+	}
+
+	return mem_addr;
+}
+#else
+static u_int onenand_addr_field(int dev_id, int fba, int fpa, int fsa)
+{
+	u_int mem_addr = 0;
+	int ddp, density;
+
+	ddp = dev_id & ONENAND_DEVICE_IS_DDP;
+	density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT;
+
+	switch (density & 0xf) {
+	case ONENAND_DEVICE_DENSITY_128Mb:
+		mem_addr = (((fba & ONENAND_FBA_MASK_128Mb) << ONENAND_FBA_SHIFT) | \
+				((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT) | \
+				(fsa << ONENAND_FSA_SHIFT));
+		break;
+
+	case ONENAND_DEVICE_DENSITY_256Mb:
+		mem_addr = (((fba & ONENAND_FBA_MASK_256Mb) << ONENAND_FBA_SHIFT) | \
+				((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT) | \
+				(fsa << ONENAND_FSA_SHIFT));
+		break;
+
+	case ONENAND_DEVICE_DENSITY_512Mb:
+		mem_addr = (((fba & ONENAND_FBA_MASK_512Mb) << ONENAND_FBA_SHIFT) | \
+				((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT) | \
+				((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		break;
+
+	case ONENAND_DEVICE_DENSITY_1Gb:
+		if (ddp) {
+			mem_addr = ((ddp << ONENAND_DDP_SHIFT_1Gb) | \
+					((fba & ONENAND_FBA_MASK_1Gb_DDP) << ONENAND_FBA_SHIFT) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		} else {
+			mem_addr = (((fba & ONENAND_FBA_MASK_1Gb) << ONENAND_FBA_SHIFT) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		}
+
+		break;
+
+	case ONENAND_DEVICE_DENSITY_2Gb:
+		if (ddp) {
+			mem_addr = ((ddp << ONENAND_DDP_SHIFT_2Gb) | \
+					((fba & ONENAND_FBA_MASK_2Gb_DDP) << ONENAND_FBA_SHIFT) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		} else {
+			mem_addr = (((fba & ONENAND_FBA_MASK_2Gb) << ONENAND_FBA_SHIFT) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		}
+
+		break;
+
+	case ONENAND_DEVICE_DENSITY_4Gb:
+		if (ddp) {
+			mem_addr = ((ddp << ONENAND_DDP_SHIFT_1Gb) | \
+					((fba & ONENAND_FBA_MASK_4Gb_DDP) << ONENAND_FBA_SHIFT) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		} else {
+			mem_addr = (((fba & ONENAND_FBA_MASK_4Gb) << ONENAND_FBA_SHIFT) | \
+					((fpa & ONENAND_FPA_MASK) << ONENAND_FPA_SHIFT) | \
+					((fsa & ONENAND_FSA_MASK) << ONENAND_FSA_SHIFT));
+		}
+
+		break;
+	}
+
+	return mem_addr;
+}
+#endif
+
+/**
+ * onenand_command_address - [DEFAULT] Generate command address
+ * @param mtd		MTD device structure
+ * @param cmd_type	command type
+ * @param fba		block number
+ * @param fpa		page number
+ * @param fsa		sector number
+ * @param onenand_addr	onenand device address to access directly (command 00/11)
+ * @return		command address
+ *
+ * Refer to 'Command Mapping' in S3C6400/10 User's Manual
+ */
+static u_int onenand_command_address(struct mtd_info *mtd, int cmd_type, int fba, int fpa, int fsa, int onenand_addr)
+{
+	struct onenand_chip *chip = mtd->priv;
+	u_int cmd_addr = (ONENAND_AHB_ADDR | (cmd_type << ONENAND_CMD_SHIFT));
+	int dev_id;
+
+	dev_id = chip->read(chip->base + ONENAND_REG_DEVICE_ID);
+
+	switch (cmd_type) {
+	case ONENAND_CMD_MAP_00:
+		cmd_addr |= ((onenand_addr & 0xffff) << 1);
+		break;
+
+	case ONENAND_CMD_MAP_01:
+	case ONENAND_CMD_MAP_10:
+		cmd_addr |= (onenand_addr_field(dev_id, fba, fpa, fsa) & ONENAND_MEM_ADDR_MASK);
+		break;
+
+	case ONENAND_CMD_MAP_11:
+		cmd_addr |= ((onenand_addr & 0xffff) << 2);
+		break;
+
+	default:
+		cmd_addr = 0;
+		break;
+	}
+
+	return cmd_addr;
+}
+
+/**
+ * onenand_command - [DEFAULT] Generate command address
+ * @param mtd		MTD device structure
+ * @param cmd		command
+ * @param addr		onenand device address
+ * @return		command address
+ *
+ */
+static u_int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr)
+{
+	struct onenand_chip *chip = mtd->priv;
+	int sectors = 4, onenand_addr = -1;
+	int cmd_type, fba = 0, fpa = 0, fsa = 0, page;
+	u_int cmd_addr;
+
+	cmd_type = onenand_command_map(cmd);
+
+	switch (cmd) {
+	case ONENAND_CMD_UNLOCK:
+	case ONENAND_CMD_UNLOCK_ALL:
+	case ONENAND_CMD_LOCK:
+	case ONENAND_CMD_LOCK_TIGHT:
+	case ONENAND_CMD_ERASE:
+		fba = (int) (addr >> chip->erase_shift);
+		page = -1;
+		break;
+
+	default:
+		fba = (int) (addr >> chip->erase_shift);
+		page = (int) (addr >> chip->page_shift);
+		page &= chip->page_mask;
+		fpa = page & ONENAND_FPA_MASK;
+		fsa = sectors & ONENAND_FSA_MASK;
+		break;
+	}
+
+	cmd_addr = onenand_command_address(mtd, cmd_type, fba, fpa, fsa, onenand_addr);
+
+	if (!cmd_addr) {
+		printk("Command address mapping failed\n");
+		return -1;
+	}
+
+	return cmd_addr;
+}
+
+static int onenand_get_device(struct mtd_info *mtd, int new_state)
+{
+/* disable now: future work */
+#if 0
+	struct onenand_chip *chip = mtd->priv;
+	DECLARE_WAITQUEUE(wait, current);
+
+	/*
+	 * Grab the lock and see if the device is available
+	 */
+	while (1) {
+		spin_lock(&chip->chip_lock);
+		if (chip->state == FL_READY) {
+			chip->state = new_state;
+			spin_unlock(&chip->chip_lock);
+			break;
+		}
+		if (new_state == FL_PM_SUSPENDED) {
+			spin_unlock(&chip->chip_lock);
+			return (chip->state == FL_PM_SUSPENDED) ? 0 : -EAGAIN;
+		}
+		set_current_state(TASK_UNINTERRUPTIBLE);
+		add_wait_queue(&chip->wq, &wait);
+		spin_unlock(&chip->chip_lock);
+		schedule();
+		remove_wait_queue(&chip->wq, &wait);
+	}
+#endif
+	return 0;
+}
+
+/**
+ * onenand_release_device - [GENERIC] release chip
+ * @param mtd		MTD device structure
+ *
+ * Deselect, release chip lock and wake up anyone waiting on the device
+ */
+static void onenand_release_device(struct mtd_info *mtd)
+{
+/* disable now: future work */
+#if 0
+	struct onenand_chip *chip = mtd->priv;
+
+	/* Release the chip */
+	spin_lock(&chip->chip_lock);
+	chip->state = FL_READY;
+	wake_up(&chip->wq);
+	spin_unlock(&chip->chip_lock);
+#endif
+}
+
+/**
+ * onenand_bbt_read_oob - [MTD Interface] OneNAND read out-of-band for bbt scan
+ * @param mtd		MTD device structure
+ * @param from		offset to read from
+ * @param ops		oob operation description structure
+ *
+ * OneNAND read out-of-band data from the spare area for bbt scan
+ */
+int onenand_bbt_read_oob(struct mtd_info *mtd, loff_t from,
+			    struct mtd_oob_ops *ops)
+{
+	struct onenand_chip *chip = mtd->priv;
+	void __iomem *cmd_addr;
+	int i;
+	size_t len = ops->ooblen;
+	u_char *buf = ops->oobbuf;
+	u_int bbinfo;
+	u_char *bb_poi = (u_char *)&bbinfo;
+
+	DEBUG(MTD_DEBUG_LEVEL3, "onenand_bbt_read_oob: from = 0x%08x, len = %zi\n", (unsigned int) from, len);
+
+	/* Initialize return value */
+	ops->oobretlen = 0;
+
+	/* Do not allow reads past end of device */
+	if (unlikely((from + len) > mtd->size)) {
+		printk(KERN_ERR "onenand_bbt_read_oob: Attempt read beyond end of device\n");
+		return ONENAND_BBT_READ_FATAL_ERROR;
+	}
+
+	/* Grab the lock and see if the device is available */
+	onenand_get_device(mtd, FL_READING);
+
+	/* on the TRANSFER SPARE bit */
+	chip->write(ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+
+	/* get start address to read data */
+	cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_READ, from));
+
+	switch (chip->options & ONENAND_READ_MASK) {
+	case ONENAND_READ_BURST:
+		onenand_read_burst((u_int *)chip->page_buf, cmd_addr, mtd->writesize);
+		onenand_read_burst((u_int *)chip->oob_buf, cmd_addr, mtd->oobsize);
+		buf[0] = chip->oob_buf[0];
+		buf[1] = chip->oob_buf[1];
+		break;
+
+	case ONENAND_READ_DMA:
+		onenand_read_dma(chip, (u_int *)chip->page_buf, cmd_addr, mtd->writesize);
+		onenand_read_dma(chip, (u_int *)chip->oob_buf, cmd_addr, mtd->oobsize);
+		buf[0] = chip->oob_buf[0];
+		buf[1] = chip->oob_buf[1];
+		break;
+
+	case ONENAND_READ_POLLING:
+		/* read main data and throw into garbage box */
+		for (i = 0; i < (mtd->writesize / 4); i++)
+			chip->read(cmd_addr);
+
+		/* read first 4 bytes of spare data */
+		bbinfo = chip->read(cmd_addr);
+		buf[0] = bb_poi[0];
+		buf[1] = bb_poi[1];
+
+		for (i = 0; i < (mtd->oobsize / 4) - 1; i++)
+			chip->read(cmd_addr);
+		break;
+	}
+
+	onenand_blkrw_complete(chip, ONENAND_CMD_READ);
+
+	/* off the TRANSFER SPARE bit */
+	chip->write(~ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+
+	/* Deselect and wake up anyone waiting on the device */
+	onenand_release_device(mtd);
+
+	ops->oobretlen = len;
+	return 0;
+}
+
+/**
+ * onenand_block_isbad_nolock - [GENERIC] Check if a block is marked bad
+ * @param mtd		MTD device structure
+ * @param ofs		offset from device start
+ * @param allowbbt	1, if its allowed to access the bbt area
+ *
+ * Check, if the block is bad. Either by reading the bad block table or
+ * calling of the scan function.
+ */
+static int onenand_block_isbad_nolock(struct mtd_info *mtd, loff_t ofs, int allowbbt)
+{
+	struct onenand_chip *chip = mtd->priv;
+
+	if (chip->options & ONENAND_CHECK_BAD) {
+		struct bbm_info *bbm = chip->bbm;
+
+		/* Return info from the table */
+		return bbm->isbad_bbt(mtd, ofs, allowbbt);
+	} else
+		return 0;
+}
+
+/**
+ * onenand_block_isbad - [MTD Interface] Check whether the block at the given offset is bad
+ * @param mtd		MTD device structure
+ * @param ofs		offset relative to mtd start
+ *
+ * Check whether the block is bad
+ */
+static int onenand_block_isbad(struct mtd_info *mtd, loff_t ofs)
+{
+	/* Check for invalid offset */
+	if (ofs > mtd->size)
+		return -EINVAL;
+
+	return onenand_block_isbad_nolock(mtd, ofs, 0);
+}
+
+/**
+ * onenand_default_block_markbad - [DEFAULT] mark a block bad
+ * @param mtd		MTD device structure
+ * @param ofs		offset from device start
+ *
+ * This is the default implementation, which can be overridden by
+ * a hardware specific driver.
+ */
+static int onenand_default_block_markbad(struct mtd_info *mtd, loff_t ofs)
+{
+	struct onenand_chip *this = mtd->priv;
+	struct bbm_info *bbm = this->bbm;
+	u_char buf[2] = {0, 0};
+	int block;
+	struct mtd_oob_ops ops = {
+		.mode = MTD_OOB_PLACE,
+		.ooblen = 2,
+		.oobbuf = buf,
+		.ooboffs = 0,
+	};
+
+	/* Get block number */
+	block = ((int) ofs) >> bbm->bbt_erase_shift;
+        if (bbm->bbt)
+                bbm->bbt[block >> 2] |= 0x01 << ((block & 0x03) << 1);
+
+        /* We write two bytes, so we dont have to mess with 16 bit access */
+        ofs += mtd->oobsize + (bbm->badblockpos & ~0x01);
+         return onenand_write_oob_nolock(mtd, ofs, &ops);
+}
+
+
+/**
+ * onenand_set_pipeline - [MTD Interface] Set pipeline ahead
+ * @param mtd		MTD device structure
+ * @param from		offset to read from
+ * @param len		number of bytes to read
+ *
+ */
+static int onenand_set_pipeline(struct mtd_info *mtd, loff_t from, size_t len)
+{
+	struct onenand_chip *chip = mtd->priv;
+	int page_cnt = (int) (len >> chip->page_shift);
+	void __iomem *cmd_addr;
+
+	if (len % mtd->writesize > 0)
+		page_cnt++;
+
+	if (page_cnt > 1) {
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_PIPELINE_READ, from));
+		chip->write(ONENAND_DATAIN_PIPELINE_READ | page_cnt, cmd_addr);
+	}
+
+	return 0;
+}
+
+/**
+ * onenand_read - [MTD Interface] Read data from flash
+ * @param mtd		MTD device structure
+ * @param from		offset to read from
+ * @param len		number of bytes to read
+ * @param retlen	pointer to variable to store the number of read bytes
+ * @param buf		the databuffer to put data
+ *
+ */
+static int onenand_read(struct mtd_info *mtd, loff_t from, size_t len,
+	size_t *retlen, u_char *buf)
+{
+	struct onenand_chip *chip = mtd->priv;
+	struct mtd_ecc_stats stats;
+	int i, ret = 0, read = 0, col, thislen;
+	u_int *buf_poi = (u_int *) chip->page_buf;
+	void __iomem *cmd_addr;
+
+	DEBUG(MTD_DEBUG_LEVEL3, "onenand_read: from = 0x%08x, len = %i, col = %i\n", (unsigned int) from, (int) len, (int) col);
+
+	/* Do not allow reads past end of device */
+	if ((from + len) > mtd->size) {
+		DEBUG(MTD_DEBUG_LEVEL3, "onenand_read: Attempt read beyond end of device\n");
+		*retlen = 0;
+		return -EINVAL;
+	}
+
+	/* Grab the lock and see if the device is available */
+	onenand_get_device(mtd, FL_READING);
+
+	/* TODO handling oob */
+	stats = mtd->ecc_stats;
+
+	/* column (start offset to read) */
+	col = (int)(from & (mtd->writesize - 1));
+
+	if (chip->options & ONENAND_PIPELINE_AHEAD)
+		onenand_set_pipeline(mtd, from, len);
+
+#ifdef CONFIG_MTD_ONENAND_CHECK_SPEED
+	if (len > 100000) {
+		writel((readl(S3C_GPNCON) & ~(0x3 << 30)) | (0x1 << 30), S3C_GPNCON);
+		writel(1 << 15, S3C_GPNDAT);
+	}
+#endif
+
+ 	//while (!ret) {
+	while (1) {
+		if (chip->options & ONENAND_CHECK_BAD) {
+			if (onenand_block_isbad(mtd, from)) {
+				printk (KERN_WARNING "\nonenand_read: skipped to read from a bad block at addr 0x%08x.\n", (unsigned int) from);
+				from += (1 << chip->erase_shift);
+
+				if (col != 0)
+					col = (int)(from & (mtd->writesize - 1));
+
+				continue;
+			}
+		}
+
+		/* get start address to read data */
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_READ, from));
+
+		switch (chip->options & ONENAND_READ_MASK) {
+		case ONENAND_READ_BURST:
+			onenand_read_burst(buf_poi, cmd_addr, mtd->writesize);
+			break;
+
+		case ONENAND_READ_DMA:
+			onenand_read_dma(chip, buf_poi, cmd_addr, mtd->writesize);
+			break;
+
+		case ONENAND_READ_POLLING:
+			for (i = 0; i < (mtd->writesize / 4); i++)
+				*buf_poi++ = chip->read(cmd_addr);
+
+			buf_poi -= (mtd->writesize / 4);
+			break;
+
+		default:
+			printk("onenand_read: read mode undefined.\n");
+			return -1;
+		}
+
+		if (onenand_blkrw_complete(chip, ONENAND_CMD_READ)) {
+			printk(KERN_WARNING "onenand_read: Read operation failed:0x%08x.\n", (unsigned int)from);
+#if 0
+			return -1;
+#endif
+		}
+
+		thislen = min_t(int, mtd->writesize - col, len - read);
+		memcpy(buf, chip->page_buf + col, thislen);
+
+		read += thislen;
+
+		if (read == len)
+ 			break;
+
+		buf += thislen;
+		from += mtd->writesize;
+		col = 0;
+ 	}
+
+#ifdef CONFIG_MTD_ONENAND_CHECK_SPEED
+	if (len > 100000) {
+		printk("len: %d\n", len);
+		writel(0 << 15, S3C_GPNDAT);
+	}
+#endif
+
+	/* Deselect and wake up anyone waiting on the device */
+	onenand_release_device(mtd);
+
+	/*
+	 * Return success, if no ECC failures, else -EBADMSG
+	 * fs driver will take care of that, because
+	 * retlen == desired len and result == -EBADMSG
+	 */
+	*retlen = read;
+
+	if (mtd->ecc_stats.failed - stats.failed)
+		return -EBADMSG;
+
+	if (ret)
+		return ret;
+
+	return mtd->ecc_stats.corrected - stats.corrected ? -EUCLEAN : 0;
+}
+
+/**
+ * onenand_transfer_auto_oob - [Internal] oob auto-placement transfer
+ * @param mtd		MTD device structure
+ * @param buf		destination address
+ * @param column	oob offset to read from
+ * @param thislen	oob length to read
+ */
+static int onenand_transfer_auto_oob(struct mtd_info *mtd, uint8_t *buf, int column,
+				int thislen)
+{
+	struct onenand_chip *chip = mtd->priv;
+	struct nand_oobfree *free;
+	int readcol = column;
+	int readend = column + thislen;
+	int lastgap = 0;
+	uint8_t *oob_buf = chip->oob_buf;
+
+	for (free = chip->ecclayout->oobfree; free->length; ++free) {
+		if (readcol >= lastgap)
+			readcol += free->offset - lastgap;
+		if (readend >= lastgap)
+			readend += free->offset - lastgap;
+		lastgap = free->offset + free->length;
+	}
+
+	for (free = chip->ecclayout->oobfree; free->length; ++free) {
+		int free_end = free->offset + free->length;
+		if (free->offset < readend && free_end > readcol) {
+			int st = max_t(int,free->offset,readcol);
+			int ed = min_t(int,free_end,readend);
+			int n = ed - st;
+			memcpy(buf, oob_buf + st, n);
+			buf += n;
+		} else
+			break;
+	}
+	return 0;
+}
+
+
+/**
+ * onenand_read_ops_nolock - [OneNAND Interface] OneNAND read main and/or out-of-band
+ * @param mtd		MTD device structure
+ * @param from		offset to read from
+ * @param ops:		oob operation description structure
+ *
+ * OneNAND read main and/or out-of-band data
+ */
+static int onenand_read_ops_nolock(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops)
+{
+	struct onenand_chip *chip = mtd->priv;
+	int read = 0, thislen, column, oobsize;
+	int i, ret = 0;
+	void __iomem *cmd_addr;
+	u_int *buf_poi, *dbuf_poi;
+
+	int len = ops->ooblen;
+	u_char *buf = ops->datbuf;
+	u_char *sparebuf = ops->oobbuf;
+
+	DEBUG(MTD_DEBUG_LEVEL3, "onenand_read_ops_nolock: from = 0x%08x, len = %i\n", (unsigned int) from, (int) len);
+
+	/* Initialize return length value */
+	ops->retlen = 0;
+	ops->oobretlen = 0;
+
+	if (ops->mode == MTD_OOB_AUTO)
+		oobsize = chip->ecclayout->oobavail;
+	else
+		oobsize = mtd->oobsize;
+
+	column = from & (mtd->oobsize - 1);
+
+	if (unlikely(column >= oobsize)) {
+		printk(KERN_ERR "onenand_read_ops_nolock: Attempted to start read outside oob\n");
+		return -EINVAL;
+	}
+
+	/* Do not allow reads past end of device */
+	if (unlikely(from >= mtd->size ||
+		     column + len > ((mtd->size >> chip->page_shift) -
+				     (from >> chip->page_shift)) * oobsize)) {
+		printk(KERN_ERR "onenand_read_ops_nolock: Attempted to read beyond end of device\n");
+		return -EINVAL;
+	}
+
+	/* Grab the lock and see if the device is available */
+	onenand_get_device(mtd, FL_READING);
+
+	dbuf_poi = (u_int *)buf;
+
+	if (chip->options & ONENAND_PIPELINE_AHEAD)
+		onenand_set_pipeline(mtd, from, len);
+
+	/* on the TRANSFER SPARE bit */
+	chip->write(ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+
+	while (read < len) {
+		if (chip->options & ONENAND_CHECK_BAD) {
+			if (onenand_block_isbad(mtd, from)) {
+				printk (KERN_WARNING "onenand_read_ops_nolock: skipped to read oob from a bad block at addr 0x%08x.\n", (unsigned int) from);
+				from += (1 << chip->erase_shift);
+
+				if (column != 0)
+					column = from & (mtd->oobsize - 1);
+
+				continue;
+			}
+		}
+
+		/* get start address to read data */
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_READ, from));
+
+		thislen = oobsize - column;
+		thislen = min_t(int, thislen, len);
+
+		//if (ops->mode == MTD_OOB_AUTO)
+			buf_poi = (u_int *)chip->oob_buf;
+		//else
+			//buf_poi = (u_int *)buf;
+
+		switch (chip->options & ONENAND_READ_MASK) {
+		case ONENAND_READ_BURST:
+			onenand_read_burst(dbuf_poi, cmd_addr, mtd->writesize);
+			onenand_read_burst(buf_poi, cmd_addr, mtd->oobsize);
+			break;
+
+		case ONENAND_READ_DMA:
+			onenand_read_dma(chip, dbuf_poi, cmd_addr, mtd->writesize);
+			onenand_read_dma(chip, buf_poi, cmd_addr, mtd->oobsize);
+			break;
+
+		case ONENAND_READ_POLLING:
+			/* read main data and throw into garbage box */
+			for (i = 0; i < (mtd->writesize / 4); i++)
+				*dbuf_poi = chip->read(cmd_addr);
+
+			/* read spare data */
+			for (i = 0; i < (mtd->oobsize / 4); i++)
+				*buf_poi++ = chip->read(cmd_addr);
+
+			break;
+		}
+
+		if (onenand_blkrw_complete(chip, ONENAND_CMD_READ)) {
+			printk(KERN_WARNING "onenand_read_ops_nolock: Read operation failed:0x%x\n", (unsigned int)from);
+#if 0
+			chip->write(~ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+			return -1;
+#endif
+		}
+
+		if (ops->mode == MTD_OOB_AUTO)
+			onenand_transfer_auto_oob(mtd, sparebuf, column, thislen);
+
+		read += thislen;
+
+		if (read == len)
+			break;
+
+		buf += thislen;
+
+		/* Read more? */
+		if (read < len) {
+			/* Page size */
+			from += mtd->writesize;
+			column = 0;
+		}
+	}
+
+	/* off the TRANSFER SPARE bit */
+	chip->write(~ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+
+	/* Deselect and wake up anyone waiting on the device */
+	onenand_release_device(mtd);
+
+	ops->retlen = mtd->writesize;
+	ops->oobretlen = read;
+
+	return ret;
+}
+
+
+/**
+ * onenand_read_oob_nolock - [MTD Interface] OneNAND read out-of-band
+ * @param mtd		MTD device structure
+ * @param from		offset to read from
+ * @param ops:		oob operation description structure
+ *
+ * OneNAND read out-of-band data from the spare area
+ */
+static int onenand_read_oob_nolock(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops)
+{
+	struct onenand_chip *chip = mtd->priv;
+	int read = 0, thislen, column, oobsize;
+	int i, ret = 0;
+	void __iomem *cmd_addr;
+	u_int *buf_poi;
+
+	size_t len = ops->ooblen;
+	mtd_oob_mode_t mode = ops->mode;
+	u_char *buf = ops->oobbuf;
+
+	DEBUG(MTD_DEBUG_LEVEL3, "onenand_read_oob_nolock: from = 0x%08x, len = %i\n", (unsigned int) from, (int) len);
+
+	/* Initialize return length value */
+	ops->oobretlen = 0;
+
+	if (mode == MTD_OOB_AUTO)
+		oobsize = chip->ecclayout->oobavail;
+	else
+		oobsize = mtd->oobsize;
+
+	column = from & (mtd->oobsize - 1);
+
+	if (unlikely(column >= oobsize)) {
+		printk(KERN_ERR "onenand_read_oob_nolock: Attempted to start read outside oob\n");
+		return -EINVAL;
+	}
+
+	/* Do not allow reads past end of device */
+	if (unlikely(from >= mtd->size ||
+		     column + len > ((mtd->size >> chip->page_shift) -
+				     (from >> chip->page_shift)) * oobsize)) {
+		printk(KERN_ERR "onenand_read_oob_nolock: Attempted to read beyond end of device\n");
+		return -EINVAL;
+	}
+
+	/* Grab the lock and see if the device is available */
+	onenand_get_device(mtd, FL_READING);
+
+	if (chip->options & ONENAND_PIPELINE_AHEAD)
+		onenand_set_pipeline(mtd, from, len);
+
+	/* on the TRANSFER SPARE bit */
+	chip->write(ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+
+	while (read < len) {
+		if (chip->options & ONENAND_CHECK_BAD) {
+			if (onenand_block_isbad(mtd, from)) {
+				printk (KERN_WARNING "\nonenand_do_read_oob: skipped to read oob from a bad block at addr 0x%08x.\n", (unsigned int) from);
+				from += (1 << chip->erase_shift);
+
+				if (column != 0)
+					column = from & (mtd->oobsize - 1);
+
+				continue;
+			}
+		}
+
+		/* get start address to read data */
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_READ, from));
+
+		thislen = oobsize - column;
+		thislen = min_t(int, thislen, len);
+
+		if (mode == MTD_OOB_AUTO)
+			buf_poi = (u_int *)chip->oob_buf;
+		else
+			buf_poi = (u_int *)buf;
+
+		switch (chip->options & ONENAND_READ_MASK) {
+		case ONENAND_READ_BURST:
+			onenand_read_burst(buf_poi, cmd_addr, mtd->writesize);
+			onenand_read_burst(buf_poi, cmd_addr, mtd->oobsize);
+			break;
+
+		case ONENAND_READ_DMA:
+			onenand_read_dma(chip, buf_poi, cmd_addr, mtd->writesize);
+			onenand_read_dma(chip, buf_poi, cmd_addr, mtd->oobsize);
+			break;
+
+		case ONENAND_READ_POLLING:
+			/* read main data and throw into garbage box */
+			for (i = 0; i < (mtd->writesize / 4); i++)
+				*buf_poi = chip->read(cmd_addr);
+
+			/* read spare data */
+			for (i = 0; i < (mtd->oobsize / 4); i++)
+				*buf_poi++ = chip->read(cmd_addr);
+
+			break;
+		}
+
+		if (onenand_blkrw_complete(chip, ONENAND_CMD_READ)) {
+			printk(KERN_WARNING "onenand_read_oob_nolock: Read operation failed:0x%x\n", (unsigned int)from);
+#if 0
+			chip->write(~ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+			return -1;
+#endif
+		}
+
+		if (mode == MTD_OOB_AUTO)
+			onenand_transfer_auto_oob(mtd, buf, column, thislen);
+
+		read += thislen;
+
+		if (read == len)
+			break;
+
+		buf += thislen;
+
+		/* Read more? */
+		if (read < len) {
+			/* Page size */
+			from += mtd->writesize;
+			column = 0;
+		}
+	}
+
+	/* off the TRANSFER SPARE bit */
+	chip->write(~ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+
+	/* Deselect and wake up anyone waiting on the device */
+	onenand_release_device(mtd);
+
+	ops->oobretlen = read;
+	return ret;
+}
+
+/**
+ * onenand_read_oob - [MTD Interface] NAND write data and/or out-of-band
+ * @mtd:	MTD device structure
+ * @from:	offset to read from
+ * @ops:	oob operation description structure
+ */
+static int onenand_read_oob(struct mtd_info *mtd, loff_t from,
+			    struct mtd_oob_ops *ops)
+{
+	int ret = 0;
+
+	switch (ops->mode) {
+	case MTD_OOB_PLACE:
+	case MTD_OOB_AUTO:
+		break;
+	case MTD_OOB_RAW:
+		/* Not implemented yet */
+	default:
+		return -EINVAL;
+	}
+
+	if (ops->datbuf != NULL)
+		ret = onenand_read_ops_nolock(mtd, from, ops);
+	else
+		ret = onenand_read_oob_nolock(mtd, from, ops);
+
+	return ret;
+}
+
+#ifdef CONFIG_MTD_ONENAND_VERIFY_WRITE
+/**
+ * onenand_verify_page - [GENERIC] verify the chip contents after a write
+ * @param mtd		MTD device structure
+ * @param buf		the databuffer to verify
+ * @param addr		address to read
+ * @return		0, if ok
+ */
+static int onenand_verify_page(struct mtd_info *mtd, const u_int *buf, loff_t addr)
+{
+	struct onenand_chip *chip = mtd->priv;
+	void __iomem *cmd_addr;
+	int i, ret = 0;
+	u_int *written = (u_int *)kmalloc(mtd->writesize, GFP_KERNEL);
+
+	cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_READ, addr));
+
+	/* write all data of 1 page by 4 bytes at a time */
+	for (i = 0; i < (mtd->writesize / 4); i++) {
+		*written = chip->read(cmd_addr);
+		written++;
+	}
+
+	written -= (mtd->writesize / 4);
+
+	/* Check, if data is same */
+	if (memcmp(written, buf, mtd->writesize))
+		ret = -EBADMSG;
+
+	kfree(written);
+
+	return ret;
+}
+
+/**
+ * onenand_verify_oob - [GENERIC] verify the oob contents after a write
+ * @param mtd		MTD device structure
+ * @param buf		the databuffer to verify
+ * @param to		offset to read from
+ *
+ */
+static int onenand_verify_oob(struct mtd_info *mtd, const u_char *buf, loff_t to, size_t len)
+{
+	struct onenand_chip *chip = mtd->priv;
+	char oobbuf[64];
+	u_int *buf_poi, *dbuf_poi;
+	int read = 0, thislen, column, oobsize, i;
+	void __iomem *cmd_addr;
+	mtd_oob_mode_t	mode = MTD_OOB_AUTO;
+
+	if (mode == MTD_OOB_AUTO)
+		oobsize = chip->ecclayout->oobavail;
+	else
+		oobsize = mtd->oobsize;
+
+	column = to & (mtd->oobsize - 1);
+	dbuf_poi = (u_int *)chip->page_buf;
+
+	while (read < len) {
+		/* get start address to read data */
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_READ, to));
+
+		thislen = oobsize - column;
+		thislen = min_t(int, thislen, len);
+
+		if (mode == MTD_OOB_AUTO)
+			buf_poi = (u_int *)chip->oob_buf;
+		else
+			buf_poi = (u_int *)buf;
+
+		onenand_read_burst(dbuf_poi, cmd_addr, mtd->writesize);
+		onenand_read_burst(buf_poi, cmd_addr, mtd->oobsize);
+
+		if (onenand_blkrw_complete(chip, ONENAND_CMD_READ)) {
+			printk(KERN_WARNING "onenand_verify_oob: Read operation failed:0x%x\n", (unsigned int)to);
+#if 0
+			chip->write(~ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+			return -1;
+#endif
+		}
+
+		if (mode == MTD_OOB_AUTO)
+			onenand_transfer_auto_oob(mtd, oobbuf, column, thislen);
+
+		read += thislen;
+
+		if (read == len)
+			break;
+
+	}
+
+
+	for (i = 0; i < len; i++)
+		if (buf[i] != oobbuf[i])
+			return -EBADMSG;
+
+	return 0;
+}
+
+
+/**
+ * onenand_verify_ops - [GENERIC] verify the oob contents after a write
+ * @param mtd		MTD device structure
+ * @param ops		oob operation description structure
+ * @param to		offset to read from
+ * @param len		number of bytes to read
+ *
+ */
+static int onenand_verify_ops(struct mtd_info *mtd, struct mtd_oob_ops *ops, loff_t to, size_t len)
+{
+	struct onenand_chip *chip = mtd->priv;
+	char oobbuf[64];
+	u_int *buf_poi, *dbuf_poi;
+	int read = 0, thislen, column, oobsize, i;
+	void __iomem *cmd_addr;
+	int ret = 0;
+
+	if (ops->mode == MTD_OOB_AUTO)
+		oobsize = chip->ecclayout->oobavail;
+	else
+		oobsize = mtd->oobsize;
+
+	column = to & (mtd->oobsize - 1);
+
+	while (read < len) {
+		/* get start address to read data */
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_READ, to));
+
+		thislen = oobsize - column;
+		thislen = min_t(int, thislen, len);
+
+		dbuf_poi = (u_int *)chip->page_buf;
+
+		if (ops->mode == MTD_OOB_AUTO)
+			buf_poi = (u_int *)chip->oob_buf;
+		else
+			buf_poi = (u_int *)oobbuf;
+
+		onenand_read_burst(dbuf_poi, cmd_addr, mtd->writesize);
+		onenand_read_burst(buf_poi, cmd_addr, mtd->oobsize);
+
+		if (onenand_blkrw_complete(chip, ONENAND_CMD_READ)) {
+			printk(KERN_WARNING "onenand_verify_oob: Read operation failed:0x%x\n", (unsigned int)to);
+			return -EBADMSG;
+		}
+
+		if (ops->mode == MTD_OOB_AUTO)
+			onenand_transfer_auto_oob(mtd, oobbuf, column, thislen);
+
+		read += thislen;
+
+		if (read == len)
+			break;
+
+	}
+
+	/* Check, if data is same */
+	if (memcmp(chip->page_buf, ops->datbuf, mtd->writesize)) {
+		printk("Invalid data buffer : 0x%x\n", (unsigned int)to);
+		ret = -EBADMSG;
+	}
+
+	for (i = 0; i < len; i++)
+		if (ops->oobbuf[i] != oobbuf[i]) {
+			printk("Invalid OOB buffer :0x%x\n", (unsigned int)to);
+			ret = -EBADMSG;
+		}
+
+	return ret;
+}
+
+#endif
+
+#define NOTALIGNED(x)	((x & (chip->subpagesize - 1)) != 0)
+
+/**
+ * onenand_write - [MTD Interface] write buffer to FLASH
+ * @param mtd		MTD device structure
+ * @param to		offset to write to
+ * @param len		number of bytes to write
+ * @param retlen	pointer to variable to store the number of written bytes
+ * @param buf		the data to write
+ *
+ */
+int onenand_write(struct mtd_info *mtd, loff_t to, size_t len,
+	size_t *retlen, const u_char *buf)
+{
+	struct onenand_chip *chip = mtd->priv;
+	int written = 0;
+	int i, ret = 0;
+	void __iomem *cmd_addr;
+	u_int *buf_poi = (u_int *)buf;
+
+	DEBUG(MTD_DEBUG_LEVEL3, "onenand_write: to = 0x%08x, len = %i\n", (unsigned int) to, (int) len);
+
+	/* Initialize retlen, in case of early exit */
+	*retlen = 0;
+
+	/* Do not allow writes past end of device */
+	if (unlikely((to + len) > mtd->size)) {
+		DEBUG(MTD_DEBUG_LEVEL3, "onenand_write: Attempt write to past end of device\n");
+		return -EINVAL;
+	}
+
+	/* Reject writes, which are not page aligned */
+        if (unlikely(NOTALIGNED(to)) || unlikely(NOTALIGNED(len))) {
+                DEBUG(MTD_DEBUG_LEVEL3, "onenand_write: Attempt to write not page aligned data\n");
+                return -EINVAL;
+        }
+
+	/* Grab the lock and see if the device is available */
+	onenand_get_device(mtd, FL_WRITING);
+
+	/* Loop until all data write */
+	while (written < len) {
+		if (chip->options & ONENAND_CHECK_BAD) {
+			if (onenand_block_isbad(mtd, to)) {
+				printk (KERN_WARNING "onenand_write: skipped to write to a bad block at addr 0x%08x.\n", (unsigned int) to);
+				to += (1 << chip->erase_shift);
+				continue;
+			}
+		}
+
+		/* get start address to write data */
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_PROG, to));
+
+		/* write all data of 1 page by 4 bytes at a time */
+		for (i = 0; i < (mtd->writesize / 4); i++) {
+			chip->write(*buf_poi, cmd_addr);
+			buf_poi++;
+		}
+
+		if (onenand_blkrw_complete(chip, ONENAND_CMD_PROG)) {
+			printk(KERN_WARNING "onenand_write: Program operation failed.\n");
+			return -1;
+		}
+
+#ifdef CONFIG_MTD_ONENAND_VERIFY_WRITE
+		/* Only check verify write turn on */
+		ret = onenand_verify_page(mtd, buf_poi - (mtd->writesize / 4), to);
+
+		if (ret) {
+			printk("onenand_write: verify failed:0x%x.\n", (unsigned int)to);
+			break;
+		}
+#endif
+		written += mtd->writesize;
+
+		if (written == len)
+			break;
+
+		to += mtd->writesize;
+	}
+
+	/* Deselect and wake up anyone waiting on the device */
+	onenand_release_device(mtd);
+
+	*retlen = written;
+
+	return ret;
+}
+
+/**
+ * onenand_fill_auto_oob - [Internal] oob auto-placement transfer
+ * @param mtd		MTD device structure
+ * @param oob_buf	oob buffer
+ * @param buf		source address
+ * @param column	oob offset to write to
+ * @param thislen	oob length to write
+ */
+static int onenand_fill_auto_oob(struct mtd_info *mtd, u_char *oob_buf,
+				  const u_char *buf, int column, int thislen)
+{
+	struct onenand_chip *chip = mtd->priv;
+	struct nand_oobfree *free;
+	int writecol = column;
+	int writeend = column + thislen;
+	int lastgap = 0;
+
+	for (free = chip->ecclayout->oobfree; free->length; ++free) {
+		if (writecol >= lastgap)
+			writecol += free->offset - lastgap;
+		if (writeend >= lastgap)
+			writeend += free->offset - lastgap;
+		lastgap = free->offset + free->length;
+	}
+	for (free = chip->ecclayout->oobfree; free->length; ++free) {
+		int free_end = free->offset + free->length;
+		if (free->offset < writeend && free_end > writecol) {
+			int st = max_t(int,free->offset,writecol);
+			int ed = min_t(int,free_end,writeend);
+			int n = ed - st;
+			memcpy(oob_buf + st, buf, n);
+			buf += n;
+		} else
+			break;
+	}
+	return 0;
+}
+
+
+/**
+ * onenand_write_ops_nolock - [OneNAND Interface] write main and/or out-of-band
+ * @param mtd		MTD device structure
+ * @param to		offset to write to
+ * @param ops		oob operation description structure
+ *
+ * Write main and/or oob with ECC
+ */
+static int onenand_write_ops_nolock(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops)
+{
+	struct onenand_chip *chip = mtd->priv;
+	int i, column, ret = 0, oobsize;
+	int written = 0;
+
+	int len = ops->ooblen;
+	u_char *buf = ops->datbuf;
+	u_char *sparebuf = ops->oobbuf;
+	u_char *oobbuf;
+
+	void __iomem *cmd_addr;
+	u_int *buf_poi;
+
+	DEBUG(MTD_DEBUG_LEVEL3, "onenand_write_ops_nolock: to = 0x%08x, len = %i\n", (unsigned int) to, (int) len);
+
+	/* Initialize retlen, in case of early exit */
+	ops->retlen = 0;
+	ops->oobretlen = 0;
+
+	if (ops->mode == MTD_OOB_AUTO)
+		oobsize = chip->ecclayout->oobavail;
+	else
+		oobsize = mtd->oobsize;
+
+	column = to & (mtd->oobsize - 1);
+
+	if (unlikely(column >= oobsize)) {
+		printk(KERN_ERR "onenand_write_ops_nolock: Attempted to start write outside oob\n");
+		return -EINVAL;
+	}
+
+	/* For compatibility with NAND: Do not allow write past end of page */
+	if (unlikely(column + len > oobsize)) {
+		printk(KERN_ERR "onenand_write_ops_nolock: "
+		      "Attempt to write past end of page\n");
+		return -EINVAL;
+	}
+
+	/* Do not allow reads past end of device */
+	if (unlikely(to >= mtd->size ||
+		     column + len > ((mtd->size >> chip->page_shift) -
+				     (to >> chip->page_shift)) * oobsize)) {
+		printk(KERN_ERR "onenand_write_ops_nolock: Attempted to write past end of device\n");
+		return -EINVAL;
+	}
+
+	/* Grab the lock and see if the device is available */
+	onenand_get_device(mtd, FL_WRITING);
+
+	oobbuf = chip->oob_buf;
+	buf_poi = (u_int *)buf;
+
+	/* on the TRANSFER SPARE bit */
+	chip->write(ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+
+	/* Loop until all data write */
+	while (written < len) {
+		int thislen = min_t(int, oobsize, len - written);
+
+		if (chip->options & ONENAND_CHECK_BAD) {
+			if (onenand_block_isbad(mtd, to)) {
+				printk (KERN_WARNING "onenand_write_ops_nolock: skipped to write oob to a bad block at addr 0x%08x.\n", (unsigned int) to);
+				to += (1 << chip->erase_shift);
+
+				if (column != 0)
+					column = to & (mtd->oobsize - 1);
+
+				continue;
+			}
+		}
+
+		/* get start address to write data */
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_PROG, to));
+
+		/* write all data of 1 page by 4 bytes at a time */
+		for (i = 0; i < (mtd->writesize / 4); i++) {
+			chip->write(*buf_poi, cmd_addr);
+			buf_poi++;
+		}
+
+		/* We send data to spare ram with oobsize
+		 * to prevent byte access */
+		memset(oobbuf, 0xff, mtd->oobsize);
+
+		if (ops->mode == MTD_OOB_AUTO)
+			onenand_fill_auto_oob(mtd, oobbuf, sparebuf, column, thislen);
+		else
+			memcpy(oobbuf + column, buf, thislen);
+
+		buf_poi = (u_int *)chip->oob_buf;
+		for (i = 0; i < (mtd->oobsize / 4); i++) {
+			chip->write(*buf_poi, cmd_addr);
+			buf_poi++;
+		}
+
+		if (onenand_blkrw_complete(chip, ONENAND_CMD_PROG)) {
+			printk(KERN_WARNING "onenand_write_ops_nolock: Program operation failed.\n");
+			chip->write(~ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+			return -1;
+		}
+
+
+#ifdef CONFIG_MTD_ONENAND_VERIFY_WRITE
+		ret = onenand_verify_ops(mtd, ops, to, len);
+
+		if (ret) {
+			printk(KERN_ERR "onenand_write_ops_nolock: verify failed :0x%x\n", (unsigned int)to);
+			break;
+		}
+#endif
+		written += thislen;
+
+		if (written == len)
+			break;
+
+		to += mtd->writesize;
+		buf += thislen;
+		column = 0;
+	}
+
+	/* off the TRANSFER SPARE bit */
+	chip->write(~ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+
+	/* Deselect and wake up anyone waiting on the device */
+	onenand_release_device(mtd);
+
+	ops->retlen = mtd->writesize;
+	ops->oobretlen = written;
+
+	return ret;
+}
+
+
+/**
+ * onenand_write_oob_nolock - [Internal] OneNAND write out-of-band
+ * @param mtd		MTD device structure
+ * @param to		offset to write to
+ * @param len		number of bytes to write
+ * @param retlen	pointer to variable to store the number of written bytes
+ * @param buf		the data to write
+ * @param mode		operation mode
+ *
+ * OneNAND write out-of-band
+ */
+static int onenand_write_oob_nolock(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops)
+{
+	struct onenand_chip *chip = mtd->priv;
+	int i, column, ret = 0, oobsize;
+	int written = 0;
+	u_char *oobbuf, *orgbuf;
+	void __iomem *cmd_addr;
+	u_int *buf_poi;
+
+	size_t len = ops->ooblen;
+	const u_char *buf = ops->oobbuf;
+	mtd_oob_mode_t mode = ops->mode;
+
+
+	DEBUG(MTD_DEBUG_LEVEL3, "onenand_write_oob_nolock: to = 0x%08x, len = %i\n", (unsigned int) to, (int) len);
+
+	/* Initialize retlen, in case of early exit */
+	ops->oobretlen = 0;
+
+	if (mode == MTD_OOB_AUTO)
+		oobsize = chip->ecclayout->oobavail;
+	else
+		oobsize = mtd->oobsize;
+
+	column = to & (mtd->oobsize - 1);
+
+	if (unlikely(column >= oobsize)) {
+		printk(KERN_ERR "onenand_write_oob_nolock: Attempted to start write outside oob\n");
+		return -EINVAL;
+	}
+
+	/* For compatibility with NAND: Do not allow write past end of page */
+	if (unlikely(column + len > oobsize)) {
+		printk(KERN_ERR "onenand_write_oob_nolock: "
+		      "Attempt to write past end of page\n");
+		return -EINVAL;
+	}
+
+	/* Do not allow reads past end of device */
+	if (unlikely(to >= mtd->size ||
+		     column + len > ((mtd->size >> chip->page_shift) -
+				     (to >> chip->page_shift)) * oobsize)) {
+		printk(KERN_ERR "onenand_write_oob_nolock: Attempted to write past end of device\n");
+		return -EINVAL;
+	}
+
+	/* Grab the lock and see if the device is available */
+	onenand_get_device(mtd, FL_WRITING);
+
+	orgbuf = buf;
+	oobbuf = chip->oob_buf;
+	buf_poi = (u_int *)chip->oob_buf;
+
+	/* on the TRANSFER SPARE bit */
+	chip->write(ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+
+	/* Loop until all data write */
+	while (written < len) {
+		int thislen = min_t(int, oobsize, len - written);
+
+		if (chip->options & ONENAND_CHECK_BAD) {
+			if (onenand_block_isbad(mtd, to)) {
+				printk (KERN_WARNING "\nonenand_do_write_oob: skipped to write oob to a bad block at addr 0x%08x.\n", (unsigned int) to);
+				to += (1 << chip->erase_shift);
+
+				if (column != 0)
+					column = to & (mtd->oobsize - 1);
+
+				continue;
+			}
+		}
+
+		/* get start address to write data */
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_PROG, to));
+
+		/* We send data to spare ram with oobsize
+		 * to prevent byte access */
+		memset(oobbuf, 0xff, mtd->oobsize);
+
+		if (mode == MTD_OOB_AUTO)
+			onenand_fill_auto_oob(mtd, oobbuf, buf, column, thislen);
+		else
+			memcpy(oobbuf + column, buf, thislen);
+
+		for (i = 0; i < (mtd->writesize / 4); i++)
+			chip->write(0xffffffff, cmd_addr);
+
+		for (i = 0; i < (mtd->oobsize / 4); i++) {
+			chip->write(*buf_poi, cmd_addr);
+			buf_poi++;
+		}
+
+		if (onenand_blkrw_complete(chip, ONENAND_CMD_PROG)) {
+			printk(KERN_WARNING "onenand_write_oob_nolock: Program operation failed.\n");
+			chip->write(~ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+			return -1;
+		}
+
+#ifdef CONFIG_MTD_ONENAND_VERIFY_WRITE
+		ret = onenand_verify_oob(mtd, orgbuf, to, len);
+
+		if (ret) {
+			printk(KERN_ERR "onenand_write_oob_nolock: verify failed :0x%x\n", (unsigned int)to);
+			break;
+		}
+#endif
+		written += thislen;
+
+		if (written == len)
+			break;
+
+		to += mtd->writesize;
+		buf += thislen;
+		column = 0;
+	}
+
+	/* off the TRANSFER SPARE bit */
+	chip->write(~ONENAND_TRANS_SPARE_TSRF_INC, chip->base + ONENAND_REG_TRANS_SPARE);
+
+	/* Deselect and wake up anyone waiting on the device */
+	onenand_release_device(mtd);
+
+	ops->oobretlen = written;
+
+	return ret;
+}
+
+/**
+ * onenand_write_oob - [MTD Interface] NAND write data and/or out-of-band
+ * @param mtd:		MTD device structure
+ * @param to:		offset to write
+ * @param ops:		oob operation description structure
+ */
+static int onenand_write_oob(struct mtd_info *mtd, loff_t to,
+			     struct mtd_oob_ops *ops)
+{
+	int ret;
+
+	switch (ops->mode) {
+	case MTD_OOB_PLACE:
+	case MTD_OOB_AUTO:
+		break;
+	case MTD_OOB_RAW:
+		/* Not implemented yet */
+	default:
+		return -EINVAL;
+	}
+
+	if (ops->datbuf != NULL)
+		ret = onenand_write_ops_nolock(mtd, to, ops);
+	else
+		ret = onenand_write_oob_nolock(mtd, to, ops);
+	return ret;
+
+}
+
+/**
+ * onenand_erase - [MTD Interface] erase block(s)
+ * @param mtd		MTD device structure
+ * @param instr		erase instruction
+ *
+ * Erase one ore more blocks
+ */
+static int onenand_erase(struct mtd_info *mtd, struct erase_info *instr)
+{
+	struct onenand_chip *chip = mtd->priv;
+	unsigned int block_size;
+	loff_t addr;
+	int len, ret = 0;
+	void __iomem *cmd_addr;
+
+	DEBUG(MTD_DEBUG_LEVEL3, "onenand_erase: start = 0x%08x, len = %i\n", (unsigned int) instr->addr, (unsigned int) instr->len);
+
+	block_size = (1 << chip->erase_shift);
+
+	/* Start address must align on block boundary */
+	if (unlikely(instr->addr & (block_size - 1))) {
+		DEBUG(MTD_DEBUG_LEVEL3, "onenand_erase: Unaligned address\n");
+		return -EINVAL;
+	}
+
+	/* Length must align on block boundary */
+	if (unlikely(instr->len & (block_size - 1))) {
+		DEBUG(MTD_DEBUG_LEVEL3, "onenand_erase: Length not block aligned\n");
+		return -EINVAL;
+	}
+
+	/* Do not allow erase past end of device */
+	if (unlikely((instr->len + instr->addr) > mtd->size)) {
+		DEBUG(MTD_DEBUG_LEVEL3, "onenand_erase: Erase past end of device\n");
+		return -EINVAL;
+	}
+
+	instr->fail_addr = 0xffffffff;
+
+	/* Grab the lock and see if the device is available */
+	onenand_get_device(mtd, FL_ERASING);
+
+	/* Loop throught the pages */
+	len = instr->len;
+	addr = instr->addr;
+
+	instr->state = MTD_ERASING;
+
+	while (len) {
+		if (chip->options & ONENAND_CHECK_BAD) {
+
+			/* Check if we have a bad block, we do not erase bad blocks */
+			if (onenand_block_isbad_nolock(mtd, addr, 0)) {
+				printk (KERN_WARNING "onenand_erase: attempt to erase a bad block at addr 0x%08x\n", (unsigned int) addr);
+				instr->state = MTD_ERASE_FAILED;
+				goto erase_exit;
+			}
+		}
+
+		/* get address to erase */
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_ERASE, addr));
+
+		chip->write(ONENAND_DATAIN_ERASE_SINGLE, cmd_addr); /* single block erase */
+
+		/* wait irq */
+		onenand_irq_wait_ack(chip, ONENAND_INT_ERR_INT_ACT);
+		onenand_irq_wait_ack(chip, ONENAND_INT_ERR_ERS_CMP);
+
+		chip->write(ONENAND_DATAIN_ERASE_VERIFY, cmd_addr);
+
+		/* wait irq */
+		onenand_irq_wait_ack(chip, ONENAND_INT_ERR_INT_ACT);
+		onenand_irq_wait_ack(chip, ONENAND_INT_ERR_ERS_CMP);
+
+		/* check fail */
+		if (onenand_irq_pend(chip, ONENAND_INT_ERR_ERS_FAIL)) {
+			DEBUG(MTD_DEBUG_LEVEL3, "onenand_erase: block %d erase verify failed.\n", ((unsigned int)addr >> chip->erase_shift));
+			onenand_irq_ack(chip, ONENAND_INT_ERR_ERS_FAIL);
+
+			/* check lock */
+			if (onenand_irq_pend(chip, ONENAND_INT_ERR_LOCKED_BLK)) {
+				DEBUG(MTD_DEBUG_LEVEL3, "onenand_erase: block %d is locked.\n", ((unsigned int)addr >> chip->erase_shift));
+				onenand_irq_ack(chip, ONENAND_INT_ERR_LOCKED_BLK);
+			}
+		}
+
+		len -= block_size;
+		addr += block_size;
+	}
+
+	instr->state = MTD_ERASE_DONE;
+
+erase_exit:
+	ret = instr->state == MTD_ERASE_DONE ? 0 : -EIO;
+	/* Do call back function */
+	if (!ret)
+		mtd_erase_callback(instr);
+
+	/* Deselect and wake up anyone waiting on the device */
+	onenand_release_device(mtd);
+
+	return ret;
+}
+
+/**
+ * onenand_sync - [MTD Interface] sync
+ * @param mtd		MTD device structure
+ *
+ * Sync is actually a wait for chip ready function
+ */
+static void onenand_sync(struct mtd_info *mtd)
+{
+	DEBUG(MTD_DEBUG_LEVEL3, "onenand_sync: called\n");
+
+	/* Grab the lock and see if the device is available */
+	onenand_get_device(mtd, FL_SYNCING);
+
+	/* Release it and go back */
+	onenand_release_device(mtd);
+}
+
+/**
+ * onenand_do_lock_cmd - [OneNAND Interface] Lock or unlock block(s)
+ * @param mtd		MTD device structure
+ * @param ofs		offset relative to mtd start
+ * @param len		number of bytes to lock or unlock
+ *
+ * Lock or unlock one or more blocks
+ */
+static int onenand_do_lock_cmd(struct mtd_info *mtd, loff_t ofs, size_t len, int cmd)
+{
+	struct onenand_chip *chip = mtd->priv;
+	int start, end, ofs_end, block_size;
+	int datain1, datain2;
+	void __iomem *cmd_addr;
+
+	start = ofs >> chip->erase_shift;
+	end = len >> chip->erase_shift;
+	block_size = 1 << chip->erase_shift;
+	ofs_end = ofs + len - block_size;
+
+	if (cmd == ONENAND_CMD_LOCK) {
+		datain1 = ONENAND_DATAIN_LOCK_START;
+		datain2 = ONENAND_DATAIN_LOCK_END;
+	} else {
+		datain1 = ONENAND_DATAIN_UNLOCK_START;
+		datain2 = ONENAND_DATAIN_UNLOCK_END;
+	}
+
+	if (ofs < ofs_end) {
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, cmd, ofs));
+		chip->write(datain1, cmd_addr);
+	}
+
+	cmd_addr = onenand_phys_to_virt(chip->command(mtd, cmd, ofs));
+	chip->write(datain2, cmd_addr);
+
+	if (cmd == ONENAND_CMD_LOCK) {
+		if (!chip->read(chip->base + ONENAND_REG_INT_ERR_STAT) & ONENAND_INT_ERR_LOCKED_BLK) {
+			DEBUG(MTD_DEBUG_LEVEL3, "onenand_do_lock_cmd: lock failed.\n");
+			return -1;
+		}
+	} else {
+		if (chip->read(chip->base + ONENAND_REG_INT_ERR_STAT) & ONENAND_INT_ERR_LOCKED_BLK) {
+			DEBUG(MTD_DEBUG_LEVEL3, "onenand_do_lock_cmd: unlock failed.\n");
+			return -1;
+		}
+	}
+
+	return 0;
+}
+
+/**
+ * onenand_lock - [MTD Interface] Lock block(s)
+ * @param mtd		MTD device structure
+ * @param ofs		offset relative to mtd start
+ * @param len		number of bytes to lock
+ *
+ * Lock one or more blocks
+ */
+static int onenand_lock(struct mtd_info *mtd, loff_t ofs, size_t len)
+{
+	return onenand_do_lock_cmd(mtd, ofs, len, ONENAND_CMD_LOCK);
+}
+
+/**
+ * onenand_unlock - [MTD Interface] Unlock block(s)
+ * @param mtd		MTD device structure
+ * @param ofs		offset relative to mtd start
+ * @param len		number of bytes to unlock
+ *
+ * Unlock one or more blocks
+ */
+int onenand_unlock(struct mtd_info *mtd, loff_t ofs, size_t len)
+{
+	return onenand_do_lock_cmd(mtd, ofs, len, ONENAND_CMD_UNLOCK);
+}
+
+/**
+ * onenand_check_lock_status - [OneNAND Interface] Check lock status
+ * @param this		onenand chip data structure
+ *
+ * Check lock status
+ */
+static void onenand_check_lock_status(struct mtd_info *mtd)
+{
+	struct onenand_chip *chip = mtd->priv;
+	unsigned int block, end;
+	void __iomem *cmd_addr;
+	int tmp;
+
+	end = chip->chipsize >> chip->erase_shift;
+
+	for (block = 0; block < end; block++) {
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_READ, block << chip->erase_shift));
+		tmp = chip->read(cmd_addr);
+
+		if (chip->read(chip->base + ONENAND_REG_INT_ERR_STAT) & ONENAND_INT_ERR_LOCKED_BLK) {
+			printk(KERN_ERR "block %d is write-protected!\n", block);
+			chip->write(ONENAND_INT_ERR_LOCKED_BLK, chip->base + ONENAND_REG_INT_ERR_ACK);
+		}
+	}
+}
+
+/**
+ * onenand_unlock_all - [OneNAND Interface] unlock all blocks
+ * @param mtd		MTD device structure
+ *
+ * Unlock all blocks
+ */
+static int onenand_unlock_all(struct mtd_info *mtd)
+{
+	struct onenand_chip *chip = mtd->priv;
+	void __iomem *cmd_addr;
+
+	if (chip->options & ONENAND_HAS_UNLOCK_ALL) {
+		/* write unlock command */
+		cmd_addr = onenand_phys_to_virt(chip->command(mtd, ONENAND_CMD_UNLOCK_ALL, 0));
+		chip->write(ONENAND_DATAIN_UNLOCK_ALL, cmd_addr);
+
+		/* Workaround for all block unlock in DDP */
+		if (chip->device_id & ONENAND_DEVICE_IS_DDP) {
+			loff_t ofs;
+			size_t len;
+
+			/* 1st block on another chip */
+			ofs = chip->chipsize >> 1;
+			len = 1 << chip->erase_shift;
+
+			onenand_unlock(mtd, ofs, len);
+		}
+
+		onenand_check_lock_status(mtd);
+
+		return 0;
+	}
+
+	onenand_unlock(mtd, 0x0, chip->chipsize);
+
+	return 0;
+}
+
+/**
+ * onenand_lock_scheme - Check and set OneNAND lock scheme
+ * @param mtd		MTD data structure
+ *
+ * Check and set OneNAND lock scheme
+ */
+static void onenand_lock_scheme(struct mtd_info *mtd)
+{
+	struct onenand_chip *chip = mtd->priv;
+	unsigned int density, process;
+
+	/* Lock scheme depends on density and process */
+	density = chip->device_id >> ONENAND_DEVICE_DENSITY_SHIFT;
+	process = chip->version_id >> ONENAND_VERSION_PROCESS_SHIFT;
+
+	/* Lock scheme */
+	if (density >= ONENAND_DEVICE_DENSITY_1Gb) {
+		/* A-Die has all block unlock */
+		if (process) {
+			printk(KERN_DEBUG "Chip support all block unlock\n");
+			chip->options |= ONENAND_HAS_UNLOCK_ALL;
+		}
+	} else {
+		/* Some OneNAND has continues lock scheme */
+		if (!process) {
+			printk(KERN_DEBUG "Lock scheme is Continues Lock\n");
+			chip->options |= ONENAND_HAS_CONT_LOCK;
+		}
+	}
+}
+
+/**
+ * onenand_print_device_info - Print device ID
+ * @param device        device ID
+ *
+ * Print device ID
+ */
+void onenand_print_device_info(int device, int version)
+{
+        int vcc, demuxed, ddp, density;
+
+        vcc = device & ONENAND_DEVICE_VCC_MASK;
+        demuxed = device & ONENAND_DEVICE_IS_DEMUX;
+        ddp = device & ONENAND_DEVICE_IS_DDP;
+        density = device >> ONENAND_DEVICE_DENSITY_SHIFT;
+        printk(KERN_INFO "%sOneNAND%s %dMB %sV 16-bit (0x%02x)\n",
+                demuxed ? "" : "Muxed ",
+                ddp ? "(DDP)" : "",
+                (16 << density),
+                vcc ? "2.65/3.3" : "1.8",
+                device);
+	printk(KERN_DEBUG "OneNAND version = 0x%04x\n", version);
+}
+
+static const struct onenand_manufacturers onenand_manuf_ids[] = {
+        {ONENAND_MFR_SAMSUNG, "Samsung"},
+};
+
+/**
+ * onenand_check_maf - Check manufacturer ID
+ * @param manuf         manufacturer ID
+ *
+ * Check manufacturer ID
+ */
+static int onenand_check_maf(int manuf)
+{
+	int size = ARRAY_SIZE(onenand_manuf_ids);
+	char *name;
+        int i;
+
+	for (i = 0; i < size; i++)
+                if (manuf == onenand_manuf_ids[i].id)
+                        break;
+
+	if (i < size)
+		name = onenand_manuf_ids[i].name;
+	else
+		name = "Unknown";
+
+	printk(KERN_DEBUG "OneNAND Manufacturer: %s (0x%0x)\n", name, manuf);
+
+	return (i == size);
+}
+
+/**
+ * onenand_suspend - [MTD Interface] Suspend the OneNAND flash
+ * @param mtd		MTD device structure
+ */
+static int onenand_suspend(struct mtd_info *mtd)
+{
+	return onenand_get_device(mtd, FL_PM_SUSPENDED);
+}
+
+/**
+ * onenand_resume - [MTD Interface] Resume the OneNAND flash
+ * @param mtd		MTD device structure
+ */
+static void onenand_resume(struct mtd_info *mtd)
+{
+	struct onenand_chip *chip = mtd->priv;
+
+	if (chip->state == FL_PM_SUSPENDED)
+		onenand_release_device(mtd);
+	else
+		printk(KERN_ERR "resume() called for the chip which is not"
+				"in suspended state\n");
+}
+
+/*
+ * Setting address width registers
+ * (FBA_WIDTH, FPA_WIDTH, FSA_WIDTH, DFS_DBS_WIDTH)
+ */
+static void s3c_onenand_width_regs(struct onenand_chip *chip)
+{
+	int dev_id, ddp, density;
+	int w_dfs_dbs = 0, w_fba = 10, w_fpa = 6, w_fsa = 2;
+
+	dev_id = readl(chip->base + ONENAND_REG_DEVICE_ID);
+
+	ddp = dev_id & ONENAND_DEVICE_IS_DDP;
+	density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT;
+
+	switch (density & 0xf) {
+	case ONENAND_DEVICE_DENSITY_128Mb:
+		w_dfs_dbs = 0;
+		w_fba = 8;
+		w_fpa = 6;
+		w_fsa = 1;
+		break;
+
+	case ONENAND_DEVICE_DENSITY_256Mb:
+		w_dfs_dbs = 0;
+		w_fba = 9;
+		w_fpa = 6;
+		w_fsa = 1;
+		break;
+
+	case ONENAND_DEVICE_DENSITY_512Mb:
+		w_dfs_dbs = 0;
+		w_fba = 9;
+		w_fpa = 6;
+		w_fsa = 2;
+		break;
+
+	case ONENAND_DEVICE_DENSITY_1Gb:
+		if (ddp) {
+			w_dfs_dbs = 1;
+			w_fba = 9;
+		} else {
+			w_dfs_dbs = 0;
+			w_fba = 10;
+		}
+
+		w_fpa = 6;
+		w_fsa = 2;
+		break;
+
+	case ONENAND_DEVICE_DENSITY_2Gb:
+		if (ddp) {
+			w_dfs_dbs = 1;
+			w_fba = 10;
+		} else {
+			w_dfs_dbs = 0;
+			w_fba = 11;
+		}
+
+		w_fpa = 6;
+		w_fsa = 2;
+		break;
+
+	case ONENAND_DEVICE_DENSITY_4Gb:
+		if (ddp) {
+			w_dfs_dbs = 1;
+			w_fba = 11;
+		} else {
+			w_dfs_dbs = 0;
+			w_fba = 12;
+		}
+
+		w_fpa = 6;
+		w_fsa = 2;
+		break;
+	}
+
+	writel(w_fba, chip->base + ONENAND_REG_FBA_WIDTH);
+	writel(w_fpa, chip->base + ONENAND_REG_FPA_WIDTH);
+	writel(w_fsa, chip->base + ONENAND_REG_FSA_WIDTH);
+	writel(w_dfs_dbs, chip->base + ONENAND_REG_DBS_DFS_WIDTH);
+}
+
+/*
+ * Board-specific NAND initialization. The following members of the
+ * argument are board-specific (per include/linux/mtd/nand.h):
+ * - base : address that OneNAND is located at.
+ * - scan_bbt: board specific bad block scan function.
+ * Members with a "?" were not set in the merged testing-NAND branch,
+ * so they are not set here either.
+ */
+static int s3c_onenand_init (struct onenand_chip *chip)
+{
+	int value;
+
+	chip->options |= (ONENAND_READ_BURST | ONENAND_CHECK_BAD | ONENAND_PIPELINE_AHEAD);
+
+	/*** Initialize Controller ***/
+
+#if defined(CONFIG_CPU_S5PC100)
+        /* D0 Domain OneNAND Clock Gating */
+        value = readl(S5P_SCLKGATE0);
+        value = (value & ~(1 << 2)) | (1<< 2);
+        writel(value, S5P_SCLKGATE0);
+
+        /* ONENAND Select */
+        value = readl(S5P_CLK_SRC0);
+        value = value & ~(1 << 24);
+        value = value & ~(1 << 20);
+        writel(value, S5P_CLK_SRC0);
+
+        /* SYSCON */                                                                                                  
+        value = readl(S5P_CLK_DIV1);
+        value = (value & ~(3 << 16)) | (1 << 16);                                                                     
+        writel(value, S5P_CLK_DIV1);
+
+#elif defined(CONFIG_CPU_S3C6410)
+	/* SYSCON */
+	value = readl(S3C_CLK_DIV0);
+	value = (value & ~(3 << 16)) | (1 << 16);
+	writel(value, S3C_CLK_DIV0);
+
+	writel(ONENAND_FLASH_AUX_WD_DISABLE, chip->base + ONENAND_REG_FLASH_AUX_CNTRL);
+#endif
+
+	/* Cold Reset */
+	writel(ONENAND_MEM_RESET_COLD, chip->base + ONENAND_REG_MEM_RESET);
+
+	/* Access Clock Register */
+	writel(ONENAND_ACC_CLOCK_134_67, chip->base + ONENAND_REG_ACC_CLOCK);
+
+	/* FBA, FPA, FSA, DBS_DFS Width Register */
+	s3c_onenand_width_regs(chip);
+
+	/* Enable Interrupts */
+	writel(0x3ff, chip->base + ONENAND_REG_INT_ERR_MASK);
+	writel(ONENAND_INT_PIN_ENABLE, chip->base + ONENAND_REG_INT_PIN_ENABLE);
+	writel(readl(chip->base + ONENAND_REG_INT_ERR_MASK) & ~(ONENAND_INT_ERR_RDY_ACT),
+		chip->base + ONENAND_REG_INT_ERR_MASK);
+
+	/* Memory Device Configuration Register */
+	value = (ONENAND_MEM_CFG_SYNC_READ | ONENAND_MEM_CFG_BRL_4 | \
+			ONENAND_MEM_CFG_BL_16| ONENAND_MEM_CFG_IOBE | \
+			ONENAND_MEM_CFG_INT_HIGH | ONENAND_MEM_CFG_RDY_HIGH);
+	writel(value, chip->base + ONENAND_REG_MEM_CFG);
+
+	/* Burst Length Register */
+	writel(ONENAND_BURST_LEN_16, chip->base + ONENAND_REG_BURST_LEN);
+
+#ifdef CONFIG_MTD_ONENAND_CHECK_SPEED
+	writel((readl(S3C_GPNCON) & ~(0x3 << 30)) | (0x1 << 30), S3C_GPNCON);
+	writel(0 << 15, S3C_GPNDAT);
+#endif
+
+	return 0;
+}
+
+/**
+ * onenand_probe - [OneNAND Interface] Probe the OneNAND device
+ * @param mtd		MTD device structure
+ *
+ * OneNAND detection method:
+ *   Compare the the values from command with ones from register
+ */
+static int onenand_probe(struct mtd_info *mtd)
+{
+	struct onenand_chip *chip = mtd->priv;
+	int maf_id, dev_id, ver_id, density;
+
+	s3c_onenand_init(chip);
+
+	chip->dev_base = (void __iomem *)ioremap_nocache(ONENAND_AHB_ADDR, SZ_256M);
+
+	if (!chip->dev_base) {
+		printk("ioremap failed.\n");
+		return -1;
+	}
+
+	printk("onenand_probe: OneNAND memory device is remapped at 0x%08x.\n", (u_int) chip->dev_base);
+
+	chip->dma = ONENAND_DMA_CON;
+	chip->dma_ch = DMACH_ONENAND_IN;
+
+	/* Read manufacturer and device IDs from Register */
+	maf_id = chip->read(chip->base + ONENAND_REG_MANUFACT_ID);
+	dev_id = chip->read(chip->base + ONENAND_REG_DEVICE_ID);
+	ver_id = chip->read(chip->base + ONENAND_REG_FLASH_VER_ID);
+
+	/* Check manufacturer ID */
+	if (onenand_check_maf(maf_id))
+		return -ENXIO;
+
+	/* Flash device information */
+	onenand_print_device_info(dev_id, ver_id);
+	chip->device_id = dev_id;
+	chip->version_id = ver_id;
+
+	density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT;
+	chip->chipsize = (16 << density) << 20;
+	/* Set density mask. it is used for DDP */
+	chip->density_mask = (1 << (density + 6));
+
+	/* OneNAND page size & block size */
+	/* The data buffer size is equal to page size */
+	mtd->writesize = chip->read(chip->base + ONENAND_REG_DATA_BUF_SIZE);
+	mtd->oobsize = mtd->writesize >> 5;
+	/* Pagers per block is always 64 in OneNAND */
+	mtd->erasesize = mtd->writesize << 6;
+
+	chip->erase_shift = ffs(mtd->erasesize) - 1;
+	chip->page_shift = ffs(mtd->writesize) - 1;
+	chip->page_mask = (mtd->erasesize / mtd->writesize) - 1;
+
+	/* REVIST: Multichip handling */
+
+	mtd->size = chip->chipsize;
+
+	/* Check OneNAND lock scheme */
+	onenand_lock_scheme(mtd);
+
+	return 0;
+}
+
+/**
+ * onenand_block_markbad - [MTD Interface] Mark the block at the given offset as bad
+ * @param mtd		MTD device structure
+ * @param ofs		offset relative to mtd start
+ *
+ * Mark the block as bad
+ */
+static int onenand_block_markbad(struct mtd_info *mtd, loff_t ofs)
+{
+	struct onenand_chip *chip = mtd->priv;
+	int ret;
+
+	if (chip->options & ONENAND_CHECK_BAD) {
+		ret = onenand_block_isbad(mtd, ofs);
+		if (ret) {
+			/* If it was bad already, return success and do nothing */
+			if (ret > 0)
+				return 0;
+			return ret;
+		}
+
+		return chip->block_markbad(mtd, ofs);
+	} else
+		return 0;
+}
+
+int s3c_onenand_scan_bbt(struct mtd_info *mtd)
+{
+	struct onenand_chip *chip = mtd->priv;
+
+	if (chip->options & ONENAND_CHECK_BAD)
+		return onenand_default_bbt(mtd);
+	else
+		return 0;
+}
+
+/**
+ * onenand_scan - [OneNAND Interface] Scan for the OneNAND device
+ * @param mtd		MTD device structure
+ * @param maxchips	Number of chips to scan for
+ *
+ * This fills out all the not initialized function pointers
+ * with the defaults.
+ * The flash ID is read and the mtd/chip structures are
+ * filled with the appropriate values.
+ */
+int onenand_scan(struct mtd_info *mtd, int maxchips)
+{
+	int i;
+	struct onenand_chip *chip = mtd->priv;
+
+	if (!chip->read)
+		chip->read = onenand_readl;
+
+	if (!chip->write)
+		chip->write = onenand_writel;
+
+	if (!chip->command)
+		chip->command = onenand_command;
+
+	if (!chip->block_markbad)
+		chip->block_markbad = onenand_default_block_markbad;
+
+	if (!chip->scan_bbt)
+		chip->scan_bbt = s3c_onenand_scan_bbt;
+
+	if (onenand_probe(mtd))
+		return -ENXIO;
+
+	/* Allocate buffers, if necessary */
+	if (!chip->page_buf) {
+		size_t len;
+		len = mtd->writesize + mtd->oobsize;
+		chip->page_buf = kmalloc(len, GFP_KERNEL);
+		if (!chip->page_buf) {
+			printk(KERN_ERR "onenand_scan(): Can't allocate page_buf\n");
+			return -ENOMEM;
+		}
+		chip->options |= ONENAND_PAGEBUF_ALLOC;
+	}
+
+	if (!chip->oob_buf) {
+		chip->oob_buf = kzalloc(mtd->oobsize, GFP_KERNEL);
+		if (!chip->oob_buf) {
+			printk(KERN_ERR "onenand_scan(): Can't allocate oob_buf\n");
+			if (chip->options & ONENAND_PAGEBUF_ALLOC) {
+				chip->options &= ~ONENAND_PAGEBUF_ALLOC;
+				kfree(chip->page_buf);
+			}
+			return -ENOMEM;
+		}
+		chip->options |= ONENAND_OOBBUF_ALLOC;
+	}
+
+	/*
+	 * Allow subpage writes up to oobsize.
+	 */
+	switch (mtd->oobsize) {
+	case 64:
+		chip->ecclayout = &onenand_oob_64;
+		mtd->subpage_sft = 2;
+		break;
+
+	case 32:
+		chip->ecclayout = &onenand_oob_32;
+		mtd->subpage_sft = 1;
+		break;
+
+	default:
+		printk(KERN_WARNING "No OOB scheme defined for oobsize %d\n",
+			mtd->oobsize);
+		mtd->subpage_sft = 0;
+		/* To prevent kernel oops */
+		chip->ecclayout = &onenand_oob_32;
+		break;
+	}
+
+	chip->subpagesize = mtd->writesize >> mtd->subpage_sft;
+
+	/*
+	 * The number of bytes available for a client to place data into
+	 * the out of band area
+	 */
+	chip->ecclayout->oobavail = 0;
+	for (i = 0; chip->ecclayout->oobfree[i].length; i++)
+		chip->ecclayout->oobavail +=
+			chip->ecclayout->oobfree[i].length;
+	mtd->oobavail = chip->ecclayout->oobavail;
+
+	mtd->ecclayout = chip->ecclayout;
+
+	/* Fill in remaining MTD driver data */
+	mtd->type = MTD_NANDFLASH;
+	mtd->flags = MTD_CAP_NANDFLASH;
+	mtd->erase = onenand_erase;
+	mtd->point = NULL;
+	mtd->unpoint = NULL;
+	mtd->read = onenand_read;
+	mtd->write = onenand_write;
+	mtd->read_oob = onenand_read_oob;
+	mtd->write_oob = onenand_write_oob;
+	mtd->sync = onenand_sync;
+	mtd->lock = onenand_lock;
+	mtd->unlock = onenand_unlock;
+	mtd->block_isbad = onenand_block_isbad;
+	mtd->block_markbad = onenand_block_markbad;
+	mtd->suspend = onenand_suspend;
+	mtd->resume = onenand_resume;
+	mtd->owner = THIS_MODULE;
+
+	/* Unlock whole block */
+	onenand_unlock_all(mtd);
+
+	return chip->scan_bbt(mtd);
+}
+
+/**
+ * onenand_release - [OneNAND Interface] Free resources held by the OneNAND device
+ * @param mtd		MTD device structure
+ */
+void onenand_release(struct mtd_info *mtd)
+{
+	struct onenand_chip *chip = mtd->priv;
+
+#ifdef CONFIG_MTD_PARTITIONS
+	/* Deregister partitions */
+	del_mtd_partitions (mtd);
+#endif
+	/* Deregister the device */
+	del_mtd_device (mtd);
+
+	/* Free bad block table memory, if allocated */
+	if (chip->bbm) {
+		struct bbm_info *bbm = chip->bbm;
+		kfree(bbm->bbt);
+		kfree(chip->bbm);
+	}
+
+	/* Buffer allocated by onenand_scan */
+	if (chip->options & ONENAND_PAGEBUF_ALLOC)
+		kfree(chip->page_buf);
+	if (chip->options & ONENAND_OOBBUF_ALLOC)
+		kfree(chip->oob_buf);
+}
+
+EXPORT_SYMBOL_GPL(onenand_scan);
+EXPORT_SYMBOL_GPL(onenand_release);
+
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Jinsung Yang <jsgood.yang@samsung.com>");
+MODULE_DESCRIPTION("S3C OneNAND Controller Driver");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/mtd/onenand/s3c_onenand.h linux-2.6.28.6/drivers/mtd/onenand/s3c_onenand.h
--- linux-2.6.28/drivers/mtd/onenand/s3c_onenand.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/mtd/onenand/s3c_onenand.h	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,159 @@
+#ifndef __LINUX_MTD_S3C_ONENAND_H
+#define __LINUX_MTD_S3C_ONENAND_H
+
+#include <linux/spinlock.h>
+#include <linux/completion.h>
+#include <plat/regs-onenand.h>
+#include <linux/mtd/bbm.h>
+#include <asm/dma.h>
+#include <mach/dma.h>
+#include <plat/dma.h>
+
+#define MAX_BUFFERRAM		2
+
+/* Scan and identify a OneNAND device */
+extern int onenand_scan(struct mtd_info *mtd, int max_chips);
+/* Free resources held by the OneNAND device */
+extern void onenand_release(struct mtd_info *mtd);
+
+/*
+ * onenand_state_t - chip states
+ * Enumeration for OneNAND flash chip state
+ */
+typedef enum {
+	FL_READY,
+	FL_READING,
+	FL_WRITING,
+	FL_ERASING,
+	FL_SYNCING,
+	FL_LOCKING,
+	FL_RESETING,
+	FL_OTPING,
+	FL_PM_SUSPENDED,
+} onenand_state_t;
+
+/**
+ * struct onenand_bufferram - OneNAND BufferRAM Data
+ * @block:		block address in BufferRAM
+ * @page:		page address in BufferRAM
+ * @valid:		valid flag
+ */
+struct onenand_bufferram {
+	int block;
+	int page;
+	int valid;
+};
+
+/**
+ * struct onenand_chip - OneNAND Private Flash Chip Data
+ * @base:		[BOARDSPECIFIC] address to access OneNAND
+ * @chipsize:		[INTERN] the size of one chip for multichip arrays
+ * @device_id:		[INTERN] device ID
+ * @density_mask:	chip density, used for DDP devices
+ * @verstion_id:	[INTERN] version ID
+ * @options:		[BOARDSPECIFIC] various chip options. They can
+ *			partly be set to inform onenand_scan about
+ * @erase_shift:	[INTERN] number of address bits in a block
+ * @page_shift:		[INTERN] number of address bits in a page
+ * @page_mask:		[INTERN] a page per block mask
+ * @bufferram_index:	[INTERN] BufferRAM index
+ * @bufferram:		[INTERN] BufferRAM info
+ * @readw:		[REPLACEABLE] hardware specific function for read short
+ * @writew:		[REPLACEABLE] hardware specific function for write short
+ * @command:		[REPLACEABLE] hardware specific function for writing
+ *			commands to the chip
+ * @wait:		[REPLACEABLE] hardware specific function for wait on ready
+ * @read_bufferram:	[REPLACEABLE] hardware specific function for BufferRAM Area
+ * @write_bufferram:	[REPLACEABLE] hardware specific function for BufferRAM Area
+ * @read_word:		[REPLACEABLE] hardware specific function for read
+ *			register of OneNAND
+ * @write_word:		[REPLACEABLE] hardware specific function for write
+ *			register of OneNAND
+ * @mmcontrol:		sync burst read function
+ * @block_markbad:	function to mark a block as bad
+ * @scan_bbt:		[REPLACEALBE] hardware specific function for scanning
+ *			Bad block Table
+ * @chip_lock:		[INTERN] spinlock used to protect access to this
+ *			structure and the chip
+ * @wq:			[INTERN] wait queue to sleep on if a OneNAND
+ *			operation is in progress
+ * @state:		[INTERN] the current state of the OneNAND device
+ * @page_buf:		data buffer
+ * @subpagesize:	[INTERN] holds the subpagesize
+ * @ecclayout:		[REPLACEABLE] the default ecc placement scheme
+ * @bbm:		[REPLACEABLE] pointer to Bad Block Management
+ * @priv:		[OPTIONAL] pointer to private chip date
+ */
+struct onenand_chip {
+	void __iomem		*base;		/* SFR base address (0x7010_0000 ~) */
+	void __iomem		*dev_base;	/* virtual address base for AHB Port Address (0x2000_0000 ~ 0x20FF_FFFF) */
+	unsigned int		chipsize;
+	unsigned int		device_id;
+	unsigned int		version_id;
+	unsigned int		density_mask;
+	unsigned int		options;
+
+	unsigned int		erase_shift;
+	unsigned int		page_shift;
+	unsigned int		page_mask;
+
+	unsigned int			bufferram_index;
+	struct onenand_bufferram	bufferram[MAX_BUFFERRAM];
+
+	uint (*command)(struct mtd_info *mtd, int cmd, loff_t address);
+	unsigned int (*read)(void __iomem *addr);
+	void (*write)(unsigned int value, void __iomem *addr);
+	int (*block_markbad)(struct mtd_info *mtd, loff_t ofs);
+	int (*scan_bbt)(struct mtd_info *mtd);
+
+	int			irq;
+
+	spinlock_t		chip_lock;
+	wait_queue_head_t	wq;
+	onenand_state_t		state;
+
+	unsigned char		*page_buf;
+	unsigned char		*oob_buf;
+
+	int			subpagesize;
+	struct nand_ecclayout	*ecclayout;
+
+	void			*bbm;
+	void			*priv;
+
+	int			dma;
+	unsigned int		dma_ch;
+	void			*done;		/* completion */
+};
+
+/*
+ * Options bits
+ */
+#define ONENAND_HAS_CONT_LOCK		(0x0001)
+#define ONENAND_HAS_UNLOCK_ALL		(0x0002)
+#define	ONENAND_CHECK_BAD		(0x0004)
+#define	ONENAND_READ_POLLING		(0x0010)
+#define ONENAND_READ_BURST		(0x0020)
+#define ONENAND_READ_DMA		(0x0040)
+#define ONENAND_PIPELINE_AHEAD		(0x0100)
+#define ONENAND_READ_MASK		(0x00F0)
+#define ONENAND_PAGEBUF_ALLOC		(0x1000)
+#define ONENAND_OOBBUF_ALLOC		(0x2000)
+
+/*
+ * OneNAND Flash Manufacturer ID Codes
+ */
+#define ONENAND_MFR_SAMSUNG	0xec
+
+/**
+ * struct onenand_manufacturers - NAND Flash Manufacturer ID Structure
+ * @name:	Manufacturer name
+ * @id:		manufacturer ID code of device.
+*/
+struct onenand_manufacturers {
+        int id;
+        char *name;
+};
+
+#endif	/* __LINUX_MTD_ONENAND_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/net/Kconfig linux-2.6.28.6/drivers/net/Kconfig
--- linux-2.6.28/drivers/net/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/net/Kconfig	2010-04-07 07:35:34.000000000 +0200
@@ -918,7 +918,7 @@
 	  will be called netx-eth.
 
 config DM9000
-	tristate "DM9000 support"
+	tristate "normal DM9000 support"
 	depends on ARM || BLACKFIN || MIPS
 	select CRC32
 	select MII
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/net/dm9000.c linux-2.6.28.6/drivers/net/dm9000.c
--- linux-2.6.28/drivers/net/dm9000.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/net/dm9000.c	2010-04-07 07:43:22.000000000 +0200
@@ -1,5 +1,7 @@
 /*
- *      Davicom DM9000 Fast Ethernet driver for Linux.
+ *   dm9000.c: Version 1.2 03/18/2003
+ *
+ *         A Davicom DM9000 ISA NIC fast Ethernet driver for Linux.
  * 	Copyright (C) 1997  Sten Wang
  *
  * 	This program is free software; you can redistribute it and/or
@@ -12,11 +14,44 @@
  * 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * 	GNU General Public License for more details.
  *
- * (C) Copyright 1997-1998 DAVICOM Semiconductor,Inc. All Rights Reserved.
+ *   (C)Copyright 1997-1998 DAVICOM Semiconductor,Inc. All Rights Reserved.
+ *
+ * V0.11	06/20/2001	REG_0A bit3=1, default enable BP with DA match
+ * 	06/22/2001 	Support DM9801 progrmming
+ * 	 	 	E3: R25 = ((R24 + NF) & 0x00ff) | 0xf000
+ * 		 	E4: R25 = ((R24 + NF) & 0x00ff) | 0xc200
+ * 		     		R17 = (R17 & 0xfff0) | NF + 3
+ * 		 	E5: R25 = ((R24 + NF - 3) & 0x00ff) | 0xc200
+ * 		     		R17 = (R17 & 0xfff0) | NF
+ *
+ * v1.00               	modify by simon 2001.9.5
+ *                         change for kernel 2.4.x
+ *
+ * v1.1   11/09/2001      	fix force mode bug
+ *
+ * v1.2   03/18/2003       Weilun Huang <weilun_huang@davicom.com.tw>:
+ * 			Fixed phy reset.
+ * 			Added tx/rx 32 bit mode.
+ * 			Cleaned up for kernel merge.
+ *
+ *        03/03/2004    Sascha Hauer <s.hauer@pengutronix.de>
+ *                      Port to 2.6 kernel
+ *
+ *	  24-Sep-2004   Ben Dooks <ben@simtec.co.uk>
+ *			Cleanup of code to remove ifdefs
+ *			Allowed platform device data to influence access width
+ *			Reformatting areas of code
+ *
+ *        17-Mar-2005   Sascha Hauer <s.hauer@pengutronix.de>
+ *                      * removed 2.4 style module parameters
+ *                      * removed removed unused stat counter and fixed
+ *                        net_device_stats
+ *                      * introduced tx_timeout function
+ *                      * reworked locking
  *
- * Additional updates, Copyright:
- *	Ben Dooks <ben@simtec.co.uk>
- *	Sascha Hauer <s.hauer@pengutronix.de>
+ *	  01-Jul-2005   Ben Dooks <ben@simtec.co.uk>
+ *			* fixed spinlock call without pointer
+ *			* ensure spinlock is initialised
  */
 
 #include <linux/module.h>
@@ -28,18 +63,27 @@
 #include <linux/spinlock.h>
 #include <linux/crc32.h>
 #include <linux/mii.h>
-#include <linux/ethtool.h>
 #include <linux/dm9000.h>
 #include <linux/delay.h>
 #include <linux/platform_device.h>
-#include <linux/irq.h>
 
 #include <asm/delay.h>
 #include <asm/irq.h>
 #include <asm/io.h>
 
+#include <plat/map-base.h>
+#include <plat/regs-serial.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+#include <mach/regs-mem.h>
+#include <mach/regs-irq.h>
+#include <asm/gpio.h>
+
+
 #include "dm9000.h"
 
+
 /* Board/System/Debug information/definition ---------------- */
 
 #define DM9000_PHY		0x40	/* PHY address 0x01 */
@@ -43,9 +87,46 @@
 /* Board/System/Debug information/definition ---------------- */
 
 #define DM9000_PHY		0x40	/* PHY address 0x01 */
+#define DM9000_CMD         0X04
 
 #define CARDNAME	"dm9000"
-#define DRV_VERSION	"1.31"
+#define PFX CARDNAME ": "
+
+#define DM9000_TIMER_WUT  jiffies+(HZ*2)	/* timer wakeup time : 2 second */
+
+#define DM9000_DEBUG 0
+
+#if DM9000_DEBUG > 2
+#define PRINTK3(args...)  printk(CARDNAME ": " args)
+#else
+#define PRINTK3(args...)  do { } while(0)
+#endif
+
+#if DM9000_DEBUG > 1
+#define PRINTK2(args...)  printk(CARDNAME ": " args)
+#else
+#define PRINTK2(args...)  do { } while(0)
+#endif
+
+#if DM9000_DEBUG > 0
+#define PRINTK1(args...)  printk(CARDNAME ": " args)
+#define PRINTK(args...)   printk(CARDNAME ": " args)
+#else
+#define PRINTK1(args...)  do { } while(0)
+#define PRINTK(args...)   printk(KERN_DEBUG args)
+#endif
+
+#ifdef CONFIG_BLACKFIN
+#define readsb	insb
+#define readsw	insw
+#define readsl	insl
+#define writesb	outsb
+#define writesw	outsw
+#define writesl	outsl
+#define DM9000_IRQ_FLAGS	(IRQF_SHARED | IRQF_TRIGGER_HIGH)
+#else
+#define DM9000_IRQ_FLAGS	IRQF_SHARED
+#endif
 
 /*
  * Transmit timeout, default 5 seconds.
@@ -54,34 +135,6 @@
 module_param(watchdog, int, 0400);
 MODULE_PARM_DESC(watchdog, "transmit timeout in milliseconds");
 
-/* DM9000 register address locking.
- *
- * The DM9000 uses an address register to control where data written
- * to the data register goes. This means that the address register
- * must be preserved over interrupts or similar calls.
- *
- * During interrupt and other critical calls, a spinlock is used to
- * protect the system, but the calls themselves save the address
- * in the address register in case they are interrupting another
- * access to the device.
- *
- * For general accesses a lock is provided so that calls which are
- * allowed to sleep are serialised so that the address register does
- * not need to be saved. This lock also serves to serialise access
- * to the EEPROM and PHY access registers which are shared between
- * these two devices.
- */
-
-/* The driver supports the original DM9000E, and now the two newer
- * devices, DM9000A and DM9000B.
- */
-
-enum dm9000_type {
-	TYPE_DM9000E,	/* original DM9000 */
-	TYPE_DM9000A,
-	TYPE_DM9000B
-};
-
 /* Structure/enum declaration ------------------------------- */
 typedef struct board_info {
 
@@ -95,58 +148,54 @@
 	u16		dbug_cnt;
 	u8		io_mode;		/* 0:word, 2:byte */
 	u8		phy_addr;
-	u8		imr_all;
-
-	unsigned int	flags;
-	unsigned int	in_suspend :1;
-	int		debug_level;
-
-	enum dm9000_type type;
 
 	void (*inblk)(void __iomem *port, void *data, int length);
 	void (*outblk)(void __iomem *port, void *data, int length);
 	void (*dumpblk)(void __iomem *port, int length);
 
-	struct device	*dev;	     /* parent device */
-
 	struct resource	*addr_res;   /* resources found */
 	struct resource *data_res;
 	struct resource	*addr_req;   /* resources requested */
 	struct resource *data_req;
 	struct resource *irq_res;
 
-	struct mutex	 addr_lock;	/* phy and eeprom access lock */
-
-	struct delayed_work phy_poll;
-	struct net_device  *ndev;
-
+	struct timer_list timer;
+	unsigned char srom[128];
 	spinlock_t	lock;
 
 	struct mii_if_info mii;
 	u32		msg_enable;
 } board_info_t;
 
-/* debug code */
-
-#define dm9000_dbg(db, lev, msg...) do {		\
-	if ((lev) < CONFIG_DM9000_DEBUGLEVEL &&		\
-	    (lev) < db->debug_level) {			\
-		dev_dbg(db->dev, msg);			\
-	}						\
-} while (0)
-
-static inline board_info_t *to_dm9000_board(struct net_device *dev)
-{
-	return dev->priv;
-}
-
+/* function declaration ------------------------------------- */
+static int dm9000_probe(struct platform_device *);
+static int dm9000_open(struct net_device *);
+static int dm9000_start_xmit(struct sk_buff *, struct net_device *);
+static int dm9000_stop(struct net_device *);
+
+
+static void dm9000_timer(unsigned long);
+static void dm9000_init_dm9000(struct net_device *);
+
+static irqreturn_t dm9000_interrupt(int, void *);
+
+static int dm9000_phy_read(struct net_device *dev, int phyaddr_unsused, int reg);
+static void dm9000_phy_write(struct net_device *dev, int phyaddr_unused, int reg,
+			   int value);
+static u16 read_srom_word(board_info_t *, int);
+static void dm9000_rx(struct net_device *);
+static void dm9000_hash_table(struct net_device *);
+
+#undef DM9000_PROGRAM_EEPROM
+#ifdef DM9000_PROGRAM_EEPROM
+static void program_eeprom(board_info_t * db);
+#endif
 /* DM9000 network board routine ---------------------------- */
 
 static void
 dm9000_reset(board_info_t * db)
 {
-	dev_dbg(db->dev, "resetting device\n");
-
+	PRINTK1("****************************dm9000x: resetting,ioaddr=%x,iodata=%x\n",db->io_addr,db->io_data);
 	/* RESET device */
 	writeb(DM9000_NCR, db->io_addr);
 	udelay(200);
@@ -255,6 +304,10 @@
 	 * routines we want to use
 	 */
 
+
+	PRINTK1("****************************dm9000x: dm9000_set_io***************************\n");
+
+
 	switch (byte_width) {
 	case 1:
 		db->dumpblk = dm9000_dumpblk_8bit;
@@ -262,10 +315,14 @@
 		db->inblk   = dm9000_inblk_8bit;
 		break;
 
+	case 2:
+		db->dumpblk = dm9000_dumpblk_16bit;
+		db->outblk  = dm9000_outblk_16bit;
+		db->inblk   = dm9000_inblk_16bit;
+		break;
 
 	case 3:
-		dev_dbg(db->dev, ": 3 byte IO, falling back to 16bit\n");
-	case 2:
+		printk(KERN_ERR PFX ": 3 byte IO, falling back to 16bit\n");
 		db->dumpblk = dm9000_dumpblk_16bit;
 		db->outblk  = dm9000_outblk_16bit;
 		db->inblk   = dm9000_inblk_16bit;
@@ -280,395 +337,360 @@
 	}
 }
 
-static void dm9000_schedule_poll(board_info_t *db)
-{
-	if (db->type == TYPE_DM9000E)
-		schedule_delayed_work(&db->phy_poll, HZ * 2);
-}
 
-static int dm9000_ioctl(struct net_device *dev, struct ifreq *req, int cmd)
+/* Our watchdog timed out. Called by the networking layer */
+static void dm9000_timeout(struct net_device *dev)
 {
-	board_info_t *dm = to_dm9000_board(dev);
+	board_info_t *db = (board_info_t *) dev->priv;
+	u8 reg_save;
+	unsigned long flags;
 
-	if (!netif_running(dev))
-		return -EINVAL;
 
-	return generic_mii_ioctl(&dm->mii, if_mii(req), cmd, NULL);
-}
+	PRINTK1("****************************dm9000x: dm9000_set_timeout  ***************************\n");
 
-static unsigned int
-dm9000_read_locked(board_info_t *db, int reg)
-{
-	unsigned long flags;
-	unsigned int ret;
 
-	spin_lock_irqsave(&db->lock, flags);
-	ret = ior(db, reg);
-	spin_unlock_irqrestore(&db->lock, flags);
+	/* Save previous register address */
+	reg_save = readb(db->io_addr);
+	spin_lock_irqsave(&db->lock,flags);
 
-	return ret;
+	netif_stop_queue(dev);
+	dm9000_reset(db);
+	dm9000_init_dm9000(dev);
+	/* We can accept TX packets again */
+	dev->trans_start = jiffies;
+	netif_wake_queue(dev);
+
+	/* Restore previous register address */
+	writeb(reg_save, db->io_addr);
+	spin_unlock_irqrestore(&db->lock,flags);
 }
 
-static int dm9000_wait_eeprom(board_info_t *db)
+#ifdef CONFIG_NET_POLL_CONTROLLER
+/*
+ *Used by netconsole
+ */
+static void dm9000_poll_controller(struct net_device *dev)
 {
-	unsigned int status;
-	int timeout = 8;	/* wait max 8msec */
+	disable_irq(dev->irq);
+	dm9000_interrupt(dev->irq,dev);
+	enable_irq(dev->irq);
+}
+#endif
 
-	/* The DM9000 data sheets say we should be able to
-	 * poll the ERRE bit in EPCR to wait for the EEPROM
-	 * operation. From testing several chips, this bit
-	 * does not seem to work.
+/* dm9000_release_board
 	 *
-	 * We attempt to use the bit, but fall back to the
-	 * timeout (which is why we do not return an error
-	 * on expiry) to say that the EEPROM operation has
-	 * completed.
+ * release a board, and any mapped resources
 	 */
 
-	while (1) {
-		status = dm9000_read_locked(db, DM9000_EPCR);
-
-		if ((status & EPCR_ERRE) == 0)
-			break;
-
-		msleep(1);
-
-		if (timeout-- < 0) {
-			dev_dbg(db->dev, "timeout waiting EEPROM\n");
-			break;
-		}
-	}
-
-	return 0;
-}
-
-/*
- *  Read a word data from EEPROM
- */
 static void
-dm9000_read_eeprom(board_info_t *db, int offset, u8 *to)
+dm9000_release_board(struct platform_device *pdev, struct board_info *db)
 {
-	unsigned long flags;
 
-	if (db->flags & DM9000_PLATF_NO_EEPROM) {
-		to[0] = 0xff;
-		to[1] = 0xff;
+PRINTK1("****************************dm9000x: dm9000_release board ***************************\n");
+
+	if (db->data_res == NULL) {
+		if (db->addr_res != NULL)
+			release_mem_region((unsigned long)db->io_addr, 4);
 		return;
 	}
 
-	mutex_lock(&db->addr_lock);
-
-	spin_lock_irqsave(&db->lock, flags);
-
-	iow(db, DM9000_EPAR, offset);
-	iow(db, DM9000_EPCR, EPCR_ERPRR);
-
-	spin_unlock_irqrestore(&db->lock, flags);
-
-	dm9000_wait_eeprom(db);
-
-	/* delay for at-least 150uS */
-	msleep(1);
-
-	spin_lock_irqsave(&db->lock, flags);
+	/* unmap our resources */
 
-	iow(db, DM9000_EPCR, 0x0);
+	iounmap(db->io_addr);
+	iounmap(db->io_data);
 
-	to[0] = ior(db, DM9000_EPDRL);
-	to[1] = ior(db, DM9000_EPDRH);
+	/* release the resources */
 
-	spin_unlock_irqrestore(&db->lock, flags);
+	if (db->data_req != NULL) {
+		release_resource(db->data_req);
+		kfree(db->data_req);
+	}
 
-	mutex_unlock(&db->addr_lock);
+	if (db->addr_req != NULL) {
+		release_resource(db->addr_req);
+		kfree(db->addr_req);
+	}
 }
 
+#define res_size(_r) (((_r)->end - (_r)->start) + 1)
+
 /*
- * Write a word data to SROM
+ * Search DM9000 board, allocate space and register it
  */
-static void
-dm9000_write_eeprom(board_info_t *db, int offset, u8 *data)
+static int
+dm9000_probe(struct platform_device *pdev)
 {
-	unsigned long flags;
-
-	if (db->flags & DM9000_PLATF_NO_EEPROM)
-		return;
-
-	mutex_lock(&db->addr_lock);
-
-	spin_lock_irqsave(&db->lock, flags);
-	iow(db, DM9000_EPAR, offset);
-	iow(db, DM9000_EPDRH, data[1]);
-	iow(db, DM9000_EPDRL, data[0]);
-	iow(db, DM9000_EPCR, EPCR_WEP | EPCR_ERPRW);
-	spin_unlock_irqrestore(&db->lock, flags);
+	struct dm9000_plat_data *pdata = pdev->dev.platform_data;
+	struct board_info *db;	/* Point a board information structure */
+	struct net_device *ndev;
+	unsigned long base;
+	int ret = 0;
+	int iosize;
+	int i;
+	u32 id_val;
 
-	dm9000_wait_eeprom(db);
 
-	mdelay(1);	/* wait at least 150uS to clear */
 
-	spin_lock_irqsave(&db->lock, flags);
-	iow(db, DM9000_EPCR, 0);
-	spin_unlock_irqrestore(&db->lock, flags);
 
-	mutex_unlock(&db->addr_lock);
-}
 
-/* ethtool ops */
+#if 1
+	unsigned int tmp;
+	printk("%s: dm9000_probe, init GPIO/EINT.\n", CARDNAME);
 
-static void dm9000_get_drvinfo(struct net_device *dev,
-			       struct ethtool_drvinfo *info)
-{
-	board_info_t *dm = to_dm9000_board(dev);
+	tmp = __raw_readl(S3C64XX_SROM_BW);
+	tmp &=~(0xF<<4);
+	tmp |= (1<<7)|(1<<6)|(1<<4);
+	__raw_writel(tmp, S3C64XX_SROM_BW);
 
-	strcpy(info->driver, CARDNAME);
-	strcpy(info->version, DRV_VERSION);
-	strcpy(info->bus_info, to_platform_device(dm->dev)->name);
-}
+	__raw_writel(~(0xFFFFFFFF<<0), S3C64XX_SROM_BC1);
+	__raw_writel((0x0<<28)|(0x4<<24)|(0xd<<16)|(0x1<<12)|(0x4<<8)|(0x6<<4)|(0x0<<0), S3C64XX_SROM_BC1);
 
-static u32 dm9000_get_msglevel(struct net_device *dev)
-{
-	board_info_t *dm = to_dm9000_board(dev);
+	writel((readl(S3C64XX_GPNCON) & ~(0x3 <<14)) | (0x2 << 14), S3C64XX_GPNCON);	/* GPN7 to EINT */
+	writel((readl(S3C64XX_GPNPUD) &~(0x3<<14)),S3C64XX_GPNPUD);
 
-	return dm->msg_enable;
-}
+	writel((readl(S3C64XX_EINT0CON0) & ~(0x7 <<12)) | (0x1 << 12), S3C64XX_EINT0CON0);		/* EINT7 to high level triggered */
 
-static void dm9000_set_msglevel(struct net_device *dev, u32 value)
-{
-	board_info_t *dm = to_dm9000_board(dev);
+	writel((readl(S3C64XX_EINT0FLTCON0)& ~(0x3 <<6)) | (0x1 << 7), S3C64XX_EINT0FLTCON0);
 
-	dm->msg_enable = value;
-}
+	writel((readl(S3C64XX_EINT0PEND)&~(0x1<<7)),S3C64XX_EINT0PEND);	
+	writel(readl(S3C64XX_EINT0MASK) & ~(0x1 << 7), S3C64XX_EINT0MASK);		/* EINT7 unmask */
+#else
+#endif
+	/* Init network device */
+	ndev = alloc_etherdev(sizeof (struct board_info));
+	if (!ndev) {
+		printk("%s: could not allocate device.\n", CARDNAME);
+		return -ENOMEM;
+	}
 
-static int dm9000_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
-{
-	board_info_t *dm = to_dm9000_board(dev);
+	SET_NETDEV_DEV(ndev, &pdev->dev);
 
-	mii_ethtool_gset(&dm->mii, cmd);
-	return 0;
-}
+	PRINTK2("dm9000_probe()");
 
-static int dm9000_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
-{
-	board_info_t *dm = to_dm9000_board(dev);
+	/* setup board info structure */
+	db = (struct board_info *) ndev->priv;
+	memset(db, 0, sizeof (*db));
 
-	return mii_ethtool_sset(&dm->mii, cmd);
-}
+	spin_lock_init(&db->lock);
 
-static int dm9000_nway_reset(struct net_device *dev)
-{
-	board_info_t *dm = to_dm9000_board(dev);
-	return mii_nway_restart(&dm->mii);
-}
+	if (pdev->num_resources < 2) {
+		ret = -ENODEV;
+		goto out;
+	} else if (pdev->num_resources == 2) {
+		base = pdev->resource[0].start;
 
-static u32 dm9000_get_link(struct net_device *dev)
-{
-	board_info_t *dm = to_dm9000_board(dev);
-	u32 ret;
+		if (!request_mem_region(base, 4, ndev->name)) {
+			ret = -EBUSY;
+			goto out;
+		}
 
-	if (dm->flags & DM9000_PLATF_EXT_PHY)
-		ret = mii_link_ok(&dm->mii);
-	else
-		ret = dm9000_read_locked(dm, DM9000_NSR) & NSR_LINKST ? 1 : 0;
+		ndev->base_addr = base;
+		ndev->irq = pdev->resource[1].start;
+		db->io_addr = (void __iomem *)base;
+		db->io_data = (void __iomem *)(base + DM9000_CMD);
+		/* ensure at least we have a default set of IO routines */
+		dm9000_set_io(db, 2);
 
-	return ret;
-}
+	} else {
+		db->addr_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+		db->data_res = platform_get_resource(pdev, IORESOURCE_MEM, 1);
+		db->irq_res  = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
 
-#define DM_EEPROM_MAGIC		(0x444D394B)
+		if (db->addr_res == NULL || db->data_res == NULL ||
+		    db->irq_res == NULL) {
+			printk(KERN_ERR PFX "insufficient resources\n");
+			ret = -ENOENT;
+			goto out;
+		}
 
-static int dm9000_get_eeprom_len(struct net_device *dev)
-{
-	return 128;
-}
+		i = res_size(db->addr_res);
+		db->addr_req = request_mem_region(db->addr_res->start, i,
+						  pdev->name);
 
-static int dm9000_get_eeprom(struct net_device *dev,
-			     struct ethtool_eeprom *ee, u8 *data)
-{
-	board_info_t *dm = to_dm9000_board(dev);
-	int offset = ee->offset;
-	int len = ee->len;
-	int i;
+		if (db->addr_req == NULL) {
+			printk(KERN_ERR PFX "cannot claim address reg area\n");
+			ret = -EIO;
+			goto out;
+		}
 
-	/* EEPROM access is aligned to two bytes */
+		db->io_addr = ioremap(db->addr_res->start, i);
 
-	if ((len & 1) != 0 || (offset & 1) != 0)
-		return -EINVAL;
+		if (db->io_addr == NULL) {
+			printk(KERN_ERR "failed to ioremap address reg\n");
+			ret = -EINVAL;
+			goto out;
+		}
 
-	if (dm->flags & DM9000_PLATF_NO_EEPROM)
-		return -ENOENT;
+		iosize = res_size(db->data_res);
+		db->data_req = request_mem_region(db->data_res->start, iosize,
+						  pdev->name);
 
-	ee->magic = DM_EEPROM_MAGIC;
+		if (db->data_req == NULL) {
+			printk(KERN_ERR PFX "cannot claim data reg area\n");
+			ret = -EIO;
+			goto out;
+		}
 
-	for (i = 0; i < len; i += 2)
-		dm9000_read_eeprom(dm, (offset + i) / 2, data + i);
+		db->io_data = ioremap(db->data_res->start, iosize);
 
-	return 0;
-}
+		if (db->io_data == NULL) {
+			printk(KERN_ERR "failed to ioremap data reg\n");
+			ret = -EINVAL;
+			goto out;
+		}
 
-static int dm9000_set_eeprom(struct net_device *dev,
-			     struct ethtool_eeprom *ee, u8 *data)
-{
-	board_info_t *dm = to_dm9000_board(dev);
-	int offset = ee->offset;
-	int len = ee->len;
-	int i;
+		/* fill in parameters for net-dev structure */
 
-	/* EEPROM access is aligned to two bytes */
+		ndev->base_addr = (unsigned long)db->io_addr;
+		ndev->irq	= db->irq_res->start;
 
-	if ((len & 1) != 0 || (offset & 1) != 0)
-		return -EINVAL;
+		/* ensure at least we have a default set of IO routines */
+		dm9000_set_io(db, iosize);
+	}
 
-	if (dm->flags & DM9000_PLATF_NO_EEPROM)
-		return -ENOENT;
+	/* check to see if anything is being over-ridden */
+	if (pdata != NULL) {
+		/* check to see if the driver wants to over-ride the
+		 * default IO width */
 
-	if (ee->magic != DM_EEPROM_MAGIC)
-		return -EINVAL;
+		if (pdata->flags & DM9000_PLATF_8BITONLY)
+			dm9000_set_io(db, 1);
 
-	for (i = 0; i < len; i += 2)
-		dm9000_write_eeprom(dm, (offset + i) / 2, data + i);
+		if (pdata->flags & DM9000_PLATF_16BITONLY)
+			dm9000_set_io(db, 2);
 
-	return 0;
-}
+		if (pdata->flags & DM9000_PLATF_32BITONLY)
+			dm9000_set_io(db, 4);
 
-static const struct ethtool_ops dm9000_ethtool_ops = {
-	.get_drvinfo		= dm9000_get_drvinfo,
-	.get_settings		= dm9000_get_settings,
-	.set_settings		= dm9000_set_settings,
-	.get_msglevel		= dm9000_get_msglevel,
-	.set_msglevel		= dm9000_set_msglevel,
-	.nway_reset		= dm9000_nway_reset,
-	.get_link		= dm9000_get_link,
- 	.get_eeprom_len		= dm9000_get_eeprom_len,
- 	.get_eeprom		= dm9000_get_eeprom,
- 	.set_eeprom		= dm9000_set_eeprom,
-};
+		/* check to see if there are any IO routine
+		 * over-rides */
 
-static void dm9000_show_carrier(board_info_t *db,
-				unsigned carrier, unsigned nsr)
-{
-	struct net_device *ndev = db->ndev;
-	unsigned ncr = dm9000_read_locked(db, DM9000_NCR);
+		if (pdata->inblk != NULL)
+			db->inblk = pdata->inblk;
 
-	if (carrier)
-		dev_info(db->dev, "%s: link up, %dMbps, %s-duplex, no LPA\n",
-			 ndev->name, (nsr & NSR_SPEED) ? 10 : 100,
-			 (ncr & NCR_FDX) ? "full" : "half");
-	else
-		dev_info(db->dev, "%s: link down\n", ndev->name);
-}
+		if (pdata->outblk != NULL)
+			db->outblk = pdata->outblk;
 
-static void
-dm9000_poll_work(struct work_struct *w)
-{
-	struct delayed_work *dw = container_of(w, struct delayed_work, work);
-	board_info_t *db = container_of(dw, board_info_t, phy_poll);
-	struct net_device *ndev = db->ndev;
+		if (pdata->dumpblk != NULL)
+			db->dumpblk = pdata->dumpblk;
+	}
 
-	if (db->flags & DM9000_PLATF_SIMPLE_PHY &&
-	    !(db->flags & DM9000_PLATF_EXT_PHY)) {
-		unsigned nsr = dm9000_read_locked(db, DM9000_NSR);
-		unsigned old_carrier = netif_carrier_ok(ndev) ? 1 : 0;
-		unsigned new_carrier;
+	printk("%s: dm9000_probe2\n", CARDNAME);
 
-		new_carrier = (nsr & NSR_LINKST) ? 1 : 0;
+	dm9000_reset(db);
 
-		if (old_carrier != new_carrier) {
-			if (netif_msg_link(db))
-				dm9000_show_carrier(db, new_carrier, nsr);
+	printk("%s: dm9000_probe3\n", CARDNAME);
 
-			if (!new_carrier)
-				netif_carrier_off(ndev);
-			else
-				netif_carrier_on(ndev);
+	/* try two times, DM9000 sometimes gets the first read wrong */
+	for (i = 0; i < 2; i++) {
+		id_val  = ior(db, DM9000_VIDL);
+		id_val |= (u32)ior(db, DM9000_VIDH) << 8;
+		id_val |= (u32)ior(db, DM9000_PIDL) << 16;
+		id_val |= (u32)ior(db, DM9000_PIDH) << 24;
+
+		if (id_val == DM9000_ID)
+			break;
+		printk("%s: read wrong id 0x%08x\n", CARDNAME, id_val);
 		}
-	} else
-		mii_check_media(&db->mii, netif_msg_link(db), 0);
 	
-	if (netif_running(ndev))
-		dm9000_schedule_poll(db);
-}
+	if (id_val != DM9000_ID) {
+		printk("%s: wrong id: 0x%08x\n", CARDNAME, id_val);
+		ret = -ENODEV;
+		goto out;
+	}
 
-/* dm9000_release_board
- *
- * release a board, and any mapped resources
- */
+	/* from this point we assume that we have found a DM9000 */
 
-static void
-dm9000_release_board(struct platform_device *pdev, struct board_info *db)
-{
-	/* unmap our resources */
+	/* driver system function */
+	ether_setup(ndev);
 
-	iounmap(db->io_addr);
-	iounmap(db->io_data);
+	ndev->open		 = &dm9000_open;
+	ndev->hard_start_xmit    = &dm9000_start_xmit;
+	ndev->tx_timeout         = &dm9000_timeout;
+	ndev->watchdog_timeo = msecs_to_jiffies(watchdog);
+	ndev->stop		 = &dm9000_stop;
+	ndev->set_multicast_list = &dm9000_hash_table;
+#ifdef CONFIG_NET_POLL_CONTROLLER
+	ndev->poll_controller	 = &dm9000_poll_controller;
+#endif
 
-	/* release the resources */
+#ifdef DM9000_PROGRAM_EEPROM
+	program_eeprom(db);
+#endif
+	db->msg_enable       = NETIF_MSG_LINK;
+	db->mii.phy_id_mask  = 0x1f;
+	db->mii.reg_num_mask = 0x1f;
+	db->mii.force_media  = 0;
+	db->mii.full_duplex  = 0;
+	db->mii.dev	     = ndev;
+	db->mii.mdio_read    = dm9000_phy_read;
+	db->mii.mdio_write   = dm9000_phy_write;
 
-	release_resource(db->data_req);
-	kfree(db->data_req);
+	memcpy(ndev->dev_addr, "\x08\x90\x90\x90\x90\x90", 6);
 
-	release_resource(db->addr_req);
-	kfree(db->addr_req);
-}
+/***************************************************/
+   if (!is_valid_ether_addr(ndev->dev_addr)){
+		printk("%s: Invalid ethernet MAC address. using default config,  Please "
+		       "set using ifconfig\n", ndev->name);
+		}
+/***************************************************/
 
-static unsigned char dm9000_type_to_char(enum dm9000_type type)
-{
-	switch (type) {
-	case TYPE_DM9000E: return 'e';
-	case TYPE_DM9000A: return 'a';
-	case TYPE_DM9000B: return 'b';
+	if (!is_valid_ether_addr(ndev->dev_addr))
+		printk("%s: Invalid ethernet MAC address.  Please "
+		       "set using ifconfig\n", ndev->name);
+
+	platform_set_drvdata(pdev, ndev);
+	ret = register_netdev(ndev);
+
+	if (ret == 0) {
+		DECLARE_MAC_BUF(mac);
+		printk("%s: dm9000 at %p,%p IRQ %d MAC: %s\n",
+		       ndev->name,  db->io_addr, db->io_data, ndev->irq,
+		       print_mac(mac, ndev->dev_addr));
 	}
+	return 0;
+
+out:
+	printk("%s: not found (%d).\n", CARDNAME, ret);
+
+	dm9000_release_board(pdev, db);
+	free_netdev(ndev);
 
-	return '?';
+	return ret;
 }
 
 /*
- *  Set DM9000 multicast address
+ *  Open the interface.
+ *  The interface is opened whenever "ifconfig" actives it.
  */
-static void
-dm9000_hash_table(struct net_device *dev)
+static int
+dm9000_open(struct net_device *dev)
 {
 	board_info_t *db = (board_info_t *) dev->priv;
-	struct dev_mc_list *mcptr = dev->mc_list;
-	int mc_cnt = dev->mc_count;
-	int i, oft;
-	u32 hash_val;
-	u16 hash_table[4];
-	u8 rcr = RCR_DIS_LONG | RCR_DIS_CRC | RCR_RXEN;
-	unsigned long flags;
 
-	dm9000_dbg(db, 1, "entering %s\n", __func__);
+	PRINTK2("entering dm9000_open\n");
 
-	spin_lock_irqsave(&db->lock, flags);
-
-	for (i = 0, oft = DM9000_PAR; i < 6; i++, oft++)
-		iow(db, oft, dev->dev_addr[i]);
-
-	/* Clear Hash Table */
-	for (i = 0; i < 4; i++)
-		hash_table[i] = 0x0;
-
-	/* broadcast address */
-	hash_table[3] = 0x8000;
+	if (request_irq(dev->irq, &dm9000_interrupt, DM9000_IRQ_FLAGS, dev->name, dev))
+		return -EAGAIN;
 
-	if (dev->flags & IFF_PROMISC)
-		rcr |= RCR_PRMSC;
+	/* Initialize DM9000 board */
+	dm9000_reset(db);
+	dm9000_init_dm9000(dev);
 
-	if (dev->flags & IFF_ALLMULTI)
-		rcr |= RCR_ALL;
+	/* Init driver variable */
+	db->dbug_cnt = 0;
 
-	/* the multicast address in Hash Table : 64 bits */
-	for (i = 0; i < mc_cnt; i++, mcptr = mcptr->next) {
-		hash_val = ether_crc_le(6, mcptr->dmi_addr) & 0x3f;
-		hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16);
-	}
+	/* set and active a timer process */
+	init_timer(&db->timer);
+	db->timer.expires  = DM9000_TIMER_WUT;
+	db->timer.data     = (unsigned long) dev;
+	db->timer.function = &dm9000_timer;
+	add_timer(&db->timer);
 
-	/* Write the hash table to MAC MD table */
-	for (i = 0, oft = DM9000_MAR; i < 4; i++) {
-		iow(db, oft++, hash_table[i]);
-		iow(db, oft++, hash_table[i] >> 8);
-	}
+	mii_check_media(&db->mii, netif_msg_link(db), 1);
+	netif_start_queue(dev);
 
-	iow(db, DM9000_RCR, rcr);
-	spin_unlock_irqrestore(&db->lock, flags);
+	return 0;
 }
 
 /*
@@ -677,10 +699,9 @@
 static void
 dm9000_init_dm9000(struct net_device *dev)
 {
-	board_info_t *db = dev->priv;
-	unsigned int imr;
+	board_info_t *db = (board_info_t *) dev->priv;
 
-	dm9000_dbg(db, 1, "entering %s\n", __func__);
+	PRINTK1("entering %s\n",__FUNCTION__);
 
 	/* I/O mode */
 	db->io_mode = ior(db, DM9000_ISR) >> 6;	/* ISR bit7:6 keeps I/O mode */
@@ -690,9 +711,6 @@
 	iow(db, DM9000_GPCR, GPCR_GEP_CNTL);	/* Let GPIO0 output */
 	iow(db, DM9000_GPR, 0);	/* Enable PHY */
 
-	if (db->flags & DM9000_PLATF_EXT_PHY)
-		iow(db, DM9000_NCR, NCR_EXT_PHY);
-
 	/* Program operating register */
 	iow(db, DM9000_TCR, 0);	        /* TX Polling clear */
 	iow(db, DM9000_BPTR, 0x3f);	/* Less 3Kb, 200us */
@@ -705,14 +723,10 @@
 	/* Set address filter table */
 	dm9000_hash_table(dev);
 
-	imr = IMR_PAR | IMR_PTM | IMR_PRM;
-	if (db->type != TYPE_DM9000E)
-		imr |= IMR_LNKCHNG;
-
-	db->imr_all = imr;
-
+	/* Activate DM9000 */
+	iow(db, DM9000_RCR, RCR_DIS_LONG | RCR_DIS_CRC | RCR_RXEN);
 	/* Enable TX/RX interrupt mask */
-	iow(db, DM9000_IMR, imr);
+	iow(db, DM9000_IMR, IMR_PAR | IMR_PTM | IMR_PRM);
 
 	/* Init Driver variable */
 	db->tx_pkt_cnt = 0;
@@ -720,29 +734,6 @@
 	dev->trans_start = 0;
 }
 
-/* Our watchdog timed out. Called by the networking layer */
-static void dm9000_timeout(struct net_device *dev)
-{
-	board_info_t *db = (board_info_t *) dev->priv;
-	u8 reg_save;
-	unsigned long flags;
-
-	/* Save previous register address */
-	reg_save = readb(db->io_addr);
-	spin_lock_irqsave(&db->lock, flags);
-
-	netif_stop_queue(dev);
-	dm9000_reset(db);
-	dm9000_init_dm9000(dev);
-	/* We can accept TX packets again */
-	dev->trans_start = jiffies;
-	netif_wake_queue(dev);
-
-	/* Restore previous register address */
-	writeb(reg_save, db->io_addr);
-	spin_unlock_irqrestore(&db->lock, flags);
-}
-
 /*
  *  Hardware start transmission.
  *  Send a packet to media from the upper layer.
@@ -751,9 +742,9 @@
 dm9000_start_xmit(struct sk_buff *skb, struct net_device *dev)
 {
 	unsigned long flags;
-	board_info_t *db = dev->priv;
+	board_info_t *db = (board_info_t *) dev->priv;
 
-	dm9000_dbg(db, 3, "%s:\n", __func__);
+	PRINTK3("dm9000_start_xmit\n");
 
 	if (db->tx_pkt_cnt > 1)
 		return 1;
@@ -770,8 +761,8 @@
 	/* TX control: First packet immediately send, second packet queue */
 	if (db->tx_pkt_cnt == 1) {
 		/* Set TX length to DM9000 */
-		iow(db, DM9000_TXPLL, skb->len);
-		iow(db, DM9000_TXPLH, skb->len >> 8);
+		iow(db, DM9000_TXPLL, skb->len & 0xff);
+		iow(db, DM9000_TXPLH, (skb->len >> 8) & 0xff);
 
 		/* Issue TX polling command */
 		iow(db, DM9000_TCR, TCR_TXREQ);	/* Cleared after TX complete */
@@ -791,12 +782,50 @@
 	return 0;
 }
 
+static void
+dm9000_shutdown(struct net_device *dev)
+{
+	board_info_t *db = (board_info_t *) dev->priv;
+
+	/* RESET device */
+	dm9000_phy_write(dev, 0, MII_BMCR, BMCR_RESET);	/* PHY RESET */
+	iow(db, DM9000_GPR, 0x01);	/* Power-Down PHY */
+	iow(db, DM9000_IMR, IMR_PAR);	/* Disable all interrupt */
+	iow(db, DM9000_RCR, 0x00);	/* Disable RX */
+}
+
+/*
+ * Stop the interface.
+ * The interface is stopped when it is brought.
+ */
+static int
+dm9000_stop(struct net_device *ndev)
+{
+	board_info_t *db = (board_info_t *) ndev->priv;
+
+	PRINTK1("entering %s\n",__FUNCTION__);
+
+	/* deleted timer */
+	del_timer(&db->timer);
+
+	netif_stop_queue(ndev);
+	netif_carrier_off(ndev);
+
+	/* free interrupt */
+	free_irq(ndev->irq, ndev);
+
+	dm9000_shutdown(ndev);
+
+	return 0;
+}
+
 /*
  * DM9000 interrupt handler
  * receive the packet to upper layer, free the transmitted packet
  */
 
-static void dm9000_tx_done(struct net_device *dev, board_info_t *db)
+static void
+dm9000_tx_done(struct net_device *dev, board_info_t * db)
 {
 	int tx_status = ior(db, DM9000_NSR);	/* Got TX status */
 
@@ -805,13 +834,10 @@
 		db->tx_pkt_cnt--;
 		dev->stats.tx_packets++;
 
-		if (netif_msg_tx_done(db))
-			dev_dbg(db->dev, "tx done, NSR %02x\n", tx_status);
-
 		/* Queue packet check & send */
 		if (db->tx_pkt_cnt > 0) {
-			iow(db, DM9000_TXPLL, db->queue_pkt_len);
-			iow(db, DM9000_TXPLH, db->queue_pkt_len >> 8);
+			iow(db, DM9000_TXPLL, db->queue_pkt_len & 0xff);
+			iow(db, DM9000_TXPLH, (db->queue_pkt_len >> 8) & 0xff);
 			iow(db, DM9000_TCR, TCR_TXREQ);
 			dev->trans_start = jiffies;
 		}
@@ -819,10 +845,76 @@
 	}
 }
 
+static irqreturn_t
+dm9000_interrupt(int irq, void *dev_id)
+{
+	struct net_device *dev = dev_id;
+	board_info_t *db;
+	int int_status;
+	u8 reg_save;
+
+	PRINTK3("entering %s\n",__FUNCTION__);
+
+	if (!dev) {
+		PRINTK1("dm9000_interrupt() without DEVICE arg\n");
+		return IRQ_HANDLED;
+	}
+
+	/* A real interrupt coming */
+	db = (board_info_t *) dev->priv;
+	spin_lock(&db->lock);
+
+	/* Save previous register address */
+	reg_save = readb(db->io_addr);
+
+	/* Disable all interrupts */
+	iow(db, DM9000_IMR, IMR_PAR);
+
+	/* Got DM9000 interrupt status */
+	int_status = ior(db, DM9000_ISR);	/* Got ISR */
+	iow(db, DM9000_ISR, int_status);	/* Clear ISR status */
+
+	/* Received the coming packet */
+	if (int_status & ISR_PRS)
+		dm9000_rx(dev);
+
+	/* Trnasmit Interrupt check */
+	if (int_status & ISR_PTS)
+		dm9000_tx_done(dev, db);
+
+	/* Re-enable interrupt mask */
+	iow(db, DM9000_IMR, IMR_PAR | IMR_PTM | IMR_PRM);
+
+	/* Restore previous register address */
+	writeb(reg_save, db->io_addr);
+
+	spin_unlock(&db->lock);
+
+	return IRQ_HANDLED;
+}
+
+/*
+ *  A periodic timer routine
+ *  Dynamic media sense, allocated Rx buffer...
+ */
+static void
+dm9000_timer(unsigned long data)
+{
+	struct net_device *dev = (struct net_device *) data;
+	board_info_t *db = (board_info_t *) dev->priv;
+
+	PRINTK3("dm9000_timer()\n");
+
+	mii_check_media(&db->mii, netif_msg_link(db), 0);
+
+	/* Set timer again */
+	db->timer.expires = DM9000_TIMER_WUT;
+	add_timer(&db->timer);
+}
+
 struct dm9000_rxhdr {
-	u8	RxPktReady;
-	u8	RxStatus;
-	__le16	RxLen;
+	u16	RxStatus;
+	u16	RxLen;
 } __attribute__((__packed__));
 
 /*
@@ -847,7 +939,7 @@
 
 		/* Status check: this byte must be 0 or 1 */
 		if (rxbyte > DM9000_PKT_RDY) {
-			dev_warn(db->dev, "status check fail: %d\n", rxbyte);
+			printk("status check failed: %d\n", rxbyte);
 			iow(db, DM9000_RCR, 0x00);	/* Stop Device */
 			iow(db, DM9000_ISR, IMR_PAR);	/* Stop INT request */
 			return;
@@ -862,41 +954,30 @@
 
 		(db->inblk)(db->io_data, &rxhdr, sizeof(rxhdr));
 
-		RxLen = le16_to_cpu(rxhdr.RxLen);
-
-		if (netif_msg_rx_status(db))
-			dev_dbg(db->dev, "RX: status %02x, length %04x\n",
-				rxhdr.RxStatus, RxLen);
+		RxLen = rxhdr.RxLen;
 
 		/* Packet Status check */
 		if (RxLen < 0x40) {
 			GoodPacket = false;
-			if (netif_msg_rx_err(db))
-				dev_dbg(db->dev, "RX: Bad Packet (runt)\n");
+			PRINTK1("Bad Packet received (runt)\n");
 		}
 
 		if (RxLen > DM9000_PKT_MAX) {
-			dev_dbg(db->dev, "RST: RX Len:%x\n", RxLen);
+			PRINTK1("RST: RX Len:%x\n", RxLen);
 		}
 
-		/* rxhdr.RxStatus is identical to RSR register. */
-		if (rxhdr.RxStatus & (RSR_FOE | RSR_CE | RSR_AE |
-				      RSR_PLE | RSR_RWTO |
-				      RSR_LCS | RSR_RF)) {
+		if (rxhdr.RxStatus & 0xbf00) {
 			GoodPacket = false;
-			if (rxhdr.RxStatus & RSR_FOE) {
-				if (netif_msg_rx_err(db))
-					dev_dbg(db->dev, "fifo error\n");
+			if (rxhdr.RxStatus & 0x100) {
+				PRINTK1("fifo error\n");
 				dev->stats.rx_fifo_errors++;
 			}
-			if (rxhdr.RxStatus & RSR_CE) {
-				if (netif_msg_rx_err(db))
-					dev_dbg(db->dev, "crc error\n");
+			if (rxhdr.RxStatus & 0x200) {
+				PRINTK1("crc error\n");
 				dev->stats.rx_crc_errors++;
 			}
-			if (rxhdr.RxStatus & RSR_RF) {
-				if (netif_msg_rx_err(db))
-					dev_dbg(db->dev, "length error\n");
+			if (rxhdr.RxStatus & 0x8000) {
+				PRINTK1("length error\n");
 				dev->stats.rx_length_errors++;
 			}
 		}
@@ -925,120 +1006,116 @@
 	} while (rxbyte == DM9000_PKT_RDY);
 }
 
-static irqreturn_t dm9000_interrupt(int irq, void *dev_id)
+/*
+ *  Read a word data from SROM
+ */
+static u16
+read_srom_word(board_info_t * db, int offset)
 {
-	struct net_device *dev = dev_id;
-	board_info_t *db = dev->priv;
-	int int_status;
-	u8 reg_save;
+	iow(db, DM9000_EPAR, offset);
+	iow(db, DM9000_EPCR, EPCR_ERPRR);
+	mdelay(8);		/* according to the datasheet 200us should be enough,
+				   but it doesn't work */
+	iow(db, DM9000_EPCR, 0x0);
+	return (ior(db, DM9000_EPDRL) + (ior(db, DM9000_EPDRH) << 8));
+}
 
-	dm9000_dbg(db, 3, "entering %s\n", __func__);
+#ifdef DM9000_PROGRAM_EEPROM
+/*
+ * Write a word data to SROM
+ */
+static void
+write_srom_word(board_info_t * db, int offset, u16 val)
+{
+	iow(db, DM9000_EPAR, offset);
+	iow(db, DM9000_EPDRH, ((val >> 8) & 0xff));
+	iow(db, DM9000_EPDRL, (val & 0xff));
+	iow(db, DM9000_EPCR, EPCR_WEP | EPCR_ERPRW);
+	mdelay(8);		/* same shit */
+	iow(db, DM9000_EPCR, 0);
+}
 
-	/* A real interrupt coming */
+/*
+ * Only for development:
+ * Here we write static data to the eeprom in case
+ * we don't have valid content on a new board
+ */
+static void
+program_eeprom(board_info_t * db)
+{
+	u16 eeprom[] = { 0x0c00, 0x007f, 0x1300,	/* MAC Address */
+		0x0000,		/* Autoload: accept nothing */
+		0x0a46, 0x9000,	/* Vendor / Product ID */
+		0x0000,		/* pin control */
+		0x0000,
+	};			/* Wake-up mode control */
+	int i;
+	for (i = 0; i < 8; i++)
+		write_srom_word(db, i, eeprom[i]);
+}
+#endif
 
-	spin_lock(&db->lock);
 
-	/* Save previous register address */
-	reg_save = readb(db->io_addr);
+/*
+ *  Calculate the CRC valude of the Rx packet
+ *  flag = 1 : return the reverse CRC (for the received packet CRC)
+ *         0 : return the normal CRC (for Hash Table index)
+ */
 
-	/* Disable all interrupts */
-	iow(db, DM9000_IMR, IMR_PAR);
-
-	/* Got DM9000 interrupt status */
-	int_status = ior(db, DM9000_ISR);	/* Got ISR */
-	iow(db, DM9000_ISR, int_status);	/* Clear ISR status */
-
-	if (netif_msg_intr(db))
-		dev_dbg(db->dev, "interrupt status %02x\n", int_status);
-
-	/* Received the coming packet */
-	if (int_status & ISR_PRS)
-		dm9000_rx(dev);
-
-	/* Trnasmit Interrupt check */
-	if (int_status & ISR_PTS)
-		dm9000_tx_done(dev, db);
-
-	if (db->type != TYPE_DM9000E) {
-		if (int_status & ISR_LNKCHNG) {
-			/* fire a link-change request */
-			schedule_delayed_work(&db->phy_poll, 1);
-		}
-	}
-
-	/* Re-enable interrupt mask */
-	iow(db, DM9000_IMR, db->imr_all);
-
-	/* Restore previous register address */
-	writeb(reg_save, db->io_addr);
+static unsigned long
+cal_CRC(unsigned char *Data, unsigned int Len, u8 flag)
+{
 
-	spin_unlock(&db->lock);
+       u32 crc = ether_crc_le(Len, Data);
 
-	return IRQ_HANDLED;
-}
+       if (flag)
+               return ~crc;
 
-#ifdef CONFIG_NET_POLL_CONTROLLER
-/*
- *Used by netconsole
- */
-static void dm9000_poll_controller(struct net_device *dev)
-{
-	disable_irq(dev->irq);
-	dm9000_interrupt(dev->irq, dev);
-	enable_irq(dev->irq);
+       return crc;
 }
-#endif
 
 /*
- *  Open the interface.
- *  The interface is opened whenever "ifconfig" actives it.
+ *  Set DM9000 multicast address
  */
-static int
-dm9000_open(struct net_device *dev)
+static void
+dm9000_hash_table(struct net_device *dev)
 {
-	board_info_t *db = dev->priv;
-	unsigned long irqflags = db->irq_res->flags & IRQF_TRIGGER_MASK;
-
-	if (netif_msg_ifup(db))
-		dev_dbg(db->dev, "enabling %s\n", dev->name);
-
-	/* If there is no IRQ type specified, default to something that
-	 * may work, and tell the user that this is a problem */
+	board_info_t *db = (board_info_t *) dev->priv;
+	struct dev_mc_list *mcptr = dev->mc_list;
+	int mc_cnt = dev->mc_count;
+	u32 hash_val;
+	u16 i, oft, hash_table[4];
+	unsigned long flags;
 
-	if (irqflags == IRQF_TRIGGER_NONE)
-		dev_warn(db->dev, "WARNING: no IRQ resource flags set.\n");
+	PRINTK2("dm9000_hash_table()\n");
 
-	irqflags |= IRQF_SHARED;
+	spin_lock_irqsave(&db->lock,flags);
 
-	if (request_irq(dev->irq, &dm9000_interrupt, irqflags, dev->name, dev))
-		return -EAGAIN;
+	for (i = 0, oft = 0x10; i < 6; i++, oft++)
+		iow(db, oft, dev->dev_addr[i]);
 
-	/* Initialize DM9000 board */
-	dm9000_reset(db);
-	dm9000_init_dm9000(dev);
+	/* Clear Hash Table */
+	for (i = 0; i < 4; i++)
+		hash_table[i] = 0x0;
 
-	/* Init driver variable */
-	db->dbug_cnt = 0;
+	/* broadcast address */
+	hash_table[3] = 0x8000;
 
-	mii_check_media(&db->mii, netif_msg_link(db), 1);
-	netif_start_queue(dev);
+	/* the multicast address in Hash Table : 64 bits */
+	for (i = 0; i < mc_cnt; i++, mcptr = mcptr->next) {
+		hash_val = cal_CRC((char *) mcptr->dmi_addr, 6, 0) & 0x3f;
+		hash_table[hash_val / 16] |= (u16) 1 << (hash_val % 16);
+	}
 	
-	dm9000_schedule_poll(db);
+	/* Write the hash table to MAC MD table */
+	for (i = 0, oft = 0x16; i < 4; i++) {
+		iow(db, oft++, hash_table[i] & 0xff);
+		iow(db, oft++, (hash_table[i] >> 8) & 0xff);
+	}
 
-	return 0;
+	spin_unlock_irqrestore(&db->lock,flags);
 }
 
-/*
- * Sleep, either by using msleep() or if we are suspending, then
- * use mdelay() to sleep.
- */
-static void dm9000_msleep(board_info_t *db, unsigned int ms)
-{
-	if (db->in_suspend)
-		mdelay(ms);
-	else
-		msleep(ms);
-}
 
 /*
  *   Read a word from phyxcer
@@ -1051,8 +1128,6 @@
 	unsigned int reg_save;
 	int ret;
 
-	mutex_lock(&db->addr_lock);
-
 	spin_lock_irqsave(&db->lock,flags);
 
 	/* Save previous register address */
@@ -1061,16 +1136,8 @@
 	/* Fill the phyxcer register into REG_0C */
 	iow(db, DM9000_EPAR, DM9000_PHY | reg);
 
-	iow(db, DM9000_EPCR, EPCR_ERPRR | EPCR_EPOS);	/* Issue phyxcer read command */
-
-	writeb(reg_save, db->io_addr);
-	spin_unlock_irqrestore(&db->lock,flags);
-
-	dm9000_msleep(db, 1);		/* Wait read complete */
-
-	spin_lock_irqsave(&db->lock,flags);
-	reg_save = readb(db->io_addr);
-
+	iow(db, DM9000_EPCR, 0xc);	/* Issue phyxcer read command */
+	udelay(100);		/* Wait read complete */
 	iow(db, DM9000_EPCR, 0x0);	/* Clear phyxcer read command */
 
 	/* The read data keeps on REG_0D & REG_0E */
@@ -1078,11 +1145,9 @@
 
 	/* restore the previous address */
 	writeb(reg_save, db->io_addr);
-	spin_unlock_irqrestore(&db->lock,flags);
 
-	mutex_unlock(&db->addr_lock);
+	spin_unlock_irqrestore(&db->lock,flags);
 
-	dm9000_dbg(db, 5, "phy_read[%02x] -> %04x\n", reg, ret);
 	return ret;
 }
 
@@ -1090,16 +1155,12 @@
  *   Write a word to phyxcer
  */
 static void
-dm9000_phy_write(struct net_device *dev,
-		 int phyaddr_unused, int reg, int value)
+dm9000_phy_write(struct net_device *dev, int phyaddr_unused, int reg, int value)
 {
 	board_info_t *db = (board_info_t *) dev->priv;
 	unsigned long flags;
 	unsigned long reg_save;
 
-	dm9000_dbg(db, 5, "phy_write[%02x] = %04x\n", reg, value);
-	mutex_lock(&db->addr_lock);
-
 	spin_lock_irqsave(&db->lock,flags);
 
 	/* Save previous register address */
@@ -1109,310 +1170,25 @@
 	iow(db, DM9000_EPAR, DM9000_PHY | reg);
 
 	/* Fill the written data into REG_0D & REG_0E */
-	iow(db, DM9000_EPDRL, value);
-	iow(db, DM9000_EPDRH, value >> 8);
-
-	iow(db, DM9000_EPCR, EPCR_EPOS | EPCR_ERPRW);	/* Issue phyxcer write command */
-
-	writeb(reg_save, db->io_addr);
-	spin_unlock_irqrestore(&db->lock, flags);
-
-	dm9000_msleep(db, 1);		/* Wait write complete */
-
-	spin_lock_irqsave(&db->lock,flags);
-	reg_save = readb(db->io_addr);
+	iow(db, DM9000_EPDRL, (value & 0xff));
+	iow(db, DM9000_EPDRH, ((value >> 8) & 0xff));
 
+	iow(db, DM9000_EPCR, 0xa);	/* Issue phyxcer write command */
+	udelay(500);		/* Wait write complete */
 	iow(db, DM9000_EPCR, 0x0);	/* Clear phyxcer write command */
 
 	/* restore the previous address */
 	writeb(reg_save, db->io_addr);
 
-	spin_unlock_irqrestore(&db->lock, flags);
-	mutex_unlock(&db->addr_lock);
-}
-
-static void
-dm9000_shutdown(struct net_device *dev)
-{
-	board_info_t *db = dev->priv;
-
-	/* RESET device */
-	dm9000_phy_write(dev, 0, MII_BMCR, BMCR_RESET);	/* PHY RESET */
-	iow(db, DM9000_GPR, 0x01);	/* Power-Down PHY */
-	iow(db, DM9000_IMR, IMR_PAR);	/* Disable all interrupt */
-	iow(db, DM9000_RCR, 0x00);	/* Disable RX */
-}
-
-/*
- * Stop the interface.
- * The interface is stopped when it is brought.
- */
-static int
-dm9000_stop(struct net_device *ndev)
-{
-	board_info_t *db = ndev->priv;
-
-	if (netif_msg_ifdown(db))
-		dev_dbg(db->dev, "shutting down %s\n", ndev->name);
-
-	cancel_delayed_work_sync(&db->phy_poll);
-
-	netif_stop_queue(ndev);
-	netif_carrier_off(ndev);
-
-	/* free interrupt */
-	free_irq(ndev->irq, ndev);
-
-	dm9000_shutdown(ndev);
-
-	return 0;
-}
-
-#define res_size(_r) (((_r)->end - (_r)->start) + 1)
-
-/*
- * Search DM9000 board, allocate space and register it
- */
-static int __devinit
-dm9000_probe(struct platform_device *pdev)
-{
-	struct dm9000_plat_data *pdata = pdev->dev.platform_data;
-	struct board_info *db;	/* Point a board information structure */
-	struct net_device *ndev;
-	const unsigned char *mac_src;
-	int ret = 0;
-	int iosize;
-	int i;
-	u32 id_val;
-
-	/* Init network device */
-	ndev = alloc_etherdev(sizeof(struct board_info));
-	if (!ndev) {
-		dev_err(&pdev->dev, "could not allocate device.\n");
-		return -ENOMEM;
-	}
-
-	SET_NETDEV_DEV(ndev, &pdev->dev);
-
-	dev_dbg(&pdev->dev, "dm9000_probe()\n");
-
-	/* setup board info structure */
-	db = ndev->priv;
-	memset(db, 0, sizeof(*db));
-
-	db->dev = &pdev->dev;
-	db->ndev = ndev;
-
-	spin_lock_init(&db->lock);
-	mutex_init(&db->addr_lock);
-
-	INIT_DELAYED_WORK(&db->phy_poll, dm9000_poll_work);
-
-	db->addr_res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	db->data_res = platform_get_resource(pdev, IORESOURCE_MEM, 1);
-	db->irq_res  = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
-
-	if (db->addr_res == NULL || db->data_res == NULL ||
-	    db->irq_res == NULL) {
-		dev_err(db->dev, "insufficient resources\n");
-		ret = -ENOENT;
-		goto out;
-	}
-
-	iosize = res_size(db->addr_res);
-	db->addr_req = request_mem_region(db->addr_res->start, iosize,
-					  pdev->name);
-
-	if (db->addr_req == NULL) {
-		dev_err(db->dev, "cannot claim address reg area\n");
-		ret = -EIO;
-		goto out;
-	}
-
-	db->io_addr = ioremap(db->addr_res->start, iosize);
-
-	if (db->io_addr == NULL) {
-		dev_err(db->dev, "failed to ioremap address reg\n");
-		ret = -EINVAL;
-		goto out;
-	}
-
-	iosize = res_size(db->data_res);
-	db->data_req = request_mem_region(db->data_res->start, iosize,
-					  pdev->name);
-
-	if (db->data_req == NULL) {
-		dev_err(db->dev, "cannot claim data reg area\n");
-		ret = -EIO;
-		goto out;
-	}
-
-	db->io_data = ioremap(db->data_res->start, iosize);
-
-	if (db->io_data == NULL) {
-		dev_err(db->dev, "failed to ioremap data reg\n");
-		ret = -EINVAL;
-		goto out;
-	}
-
-	/* fill in parameters for net-dev structure */
-	ndev->base_addr = (unsigned long)db->io_addr;
-	ndev->irq	= db->irq_res->start;
-
-	/* ensure at least we have a default set of IO routines */
-	dm9000_set_io(db, iosize);
-
-	/* check to see if anything is being over-ridden */
-	if (pdata != NULL) {
-		/* check to see if the driver wants to over-ride the
-		 * default IO width */
-
-		if (pdata->flags & DM9000_PLATF_8BITONLY)
-			dm9000_set_io(db, 1);
-
-		if (pdata->flags & DM9000_PLATF_16BITONLY)
-			dm9000_set_io(db, 2);
-
-		if (pdata->flags & DM9000_PLATF_32BITONLY)
-			dm9000_set_io(db, 4);
-
-		/* check to see if there are any IO routine
-		 * over-rides */
-
-		if (pdata->inblk != NULL)
-			db->inblk = pdata->inblk;
-
-		if (pdata->outblk != NULL)
-			db->outblk = pdata->outblk;
-
-		if (pdata->dumpblk != NULL)
-			db->dumpblk = pdata->dumpblk;
-
-		db->flags = pdata->flags;
-	}
-
-#ifdef CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL
-	db->flags |= DM9000_PLATF_SIMPLE_PHY;
-#endif
-
-	dm9000_reset(db);
-
-	/* try multiple times, DM9000 sometimes gets the read wrong */
-	for (i = 0; i < 8; i++) {
-		id_val  = ior(db, DM9000_VIDL);
-		id_val |= (u32)ior(db, DM9000_VIDH) << 8;
-		id_val |= (u32)ior(db, DM9000_PIDL) << 16;
-		id_val |= (u32)ior(db, DM9000_PIDH) << 24;
-
-		if (id_val == DM9000_ID)
-			break;
-		dev_err(db->dev, "read wrong id 0x%08x\n", id_val);
-	}
-
-	if (id_val != DM9000_ID) {
-		dev_err(db->dev, "wrong id: 0x%08x\n", id_val);
-		ret = -ENODEV;
-		goto out;
-	}
-
-	/* Identify what type of DM9000 we are working on */
-
-	id_val = ior(db, DM9000_CHIPR);
-	dev_dbg(db->dev, "dm9000 revision 0x%02x\n", id_val);
-
-	switch (id_val) {
-	case CHIPR_DM9000A:
-		db->type = TYPE_DM9000A;
-		break;
-	case CHIPR_DM9000B:
-		db->type = TYPE_DM9000B;
-		break;
-	default:
-		dev_dbg(db->dev, "ID %02x => defaulting to DM9000E\n", id_val);
-		db->type = TYPE_DM9000E;
-	}
-
-	/* from this point we assume that we have found a DM9000 */
-
-	/* driver system function */
-	ether_setup(ndev);
-
-	ndev->open		 = &dm9000_open;
-	ndev->hard_start_xmit    = &dm9000_start_xmit;
-	ndev->tx_timeout         = &dm9000_timeout;
-	ndev->watchdog_timeo = msecs_to_jiffies(watchdog);
-	ndev->stop		 = &dm9000_stop;
-	ndev->set_multicast_list = &dm9000_hash_table;
-	ndev->ethtool_ops	 = &dm9000_ethtool_ops;
-	ndev->do_ioctl		 = &dm9000_ioctl;
-
-#ifdef CONFIG_NET_POLL_CONTROLLER
-	ndev->poll_controller	 = &dm9000_poll_controller;
-#endif
-
-	db->msg_enable       = NETIF_MSG_LINK;
-	db->mii.phy_id_mask  = 0x1f;
-	db->mii.reg_num_mask = 0x1f;
-	db->mii.force_media  = 0;
-	db->mii.full_duplex  = 0;
-	db->mii.dev	     = ndev;
-	db->mii.mdio_read    = dm9000_phy_read;
-	db->mii.mdio_write   = dm9000_phy_write;
-
-	mac_src = "eeprom";
-
-	/* try reading the node address from the attached EEPROM */
-	for (i = 0; i < 6; i += 2)
-		dm9000_read_eeprom(db, i / 2, ndev->dev_addr+i);
-
-	if (!is_valid_ether_addr(ndev->dev_addr) && pdata != NULL) {
-		mac_src = "platform data";
-		memcpy(ndev->dev_addr, pdata->dev_addr, 6);
-	}
-
-	if (!is_valid_ether_addr(ndev->dev_addr)) {
-		/* try reading from mac */
-		
-		mac_src = "chip";
-		for (i = 0; i < 6; i++)
-			ndev->dev_addr[i] = ior(db, i+DM9000_PAR);
-	}
-
-	if (!is_valid_ether_addr(ndev->dev_addr))
-		dev_warn(db->dev, "%s: Invalid ethernet MAC address. Please "
-			 "set using ifconfig\n", ndev->name);
-
-	platform_set_drvdata(pdev, ndev);
-	ret = register_netdev(ndev);
-
-	if (ret == 0) {
-		DECLARE_MAC_BUF(mac);
-		printk(KERN_INFO "%s: dm9000%c at %p,%p IRQ %d MAC: %s (%s)\n",
-		       ndev->name, dm9000_type_to_char(db->type),
-		       db->io_addr, db->io_data, ndev->irq,
-		       print_mac(mac, ndev->dev_addr), mac_src);
-	}
-	return 0;
-
-out:
-	dev_err(db->dev, "not found (%d).\n", ret);
-
-	dm9000_release_board(pdev, db);
-	free_netdev(ndev);
-
-	return ret;
+	spin_unlock_irqrestore(&db->lock,flags);
 }
 
 static int
 dm9000_drv_suspend(struct platform_device *dev, pm_message_t state)
 {
 	struct net_device *ndev = platform_get_drvdata(dev);
-	board_info_t *db;
 
 	if (ndev) {
-		db = (board_info_t *) ndev->priv;
-		db->in_suspend = 1;
-
 		if (netif_running(ndev)) {
 			netif_device_detach(ndev);
 			dm9000_shutdown(ndev);
@@ -1435,13 +1211,11 @@
 
 			netif_device_attach(ndev);
 		}
-
-		db->in_suspend = 0;
 	}
 	return 0;
 }
 
-static int __devexit
+static int
 dm9000_drv_remove(struct platform_device *pdev)
 {
 	struct net_device *ndev = platform_get_drvdata(pdev);
@@ -1452,7 +1226,8 @@
 	dm9000_release_board(pdev, (board_info_t *) ndev->priv);
 	free_netdev(ndev);		/* free device structure */
 
-	dev_dbg(&pdev->dev, "released and freed device\n");
+	PRINTK1("clean_module() exit\n");
+
 	return 0;
 }
 
@@ -1462,7 +1237,7 @@
 		.owner	 = THIS_MODULE,
 	},
 	.probe   = dm9000_probe,
-	.remove  = __devexit_p(dm9000_drv_remove),
+	.remove  = dm9000_drv_remove,
 	.suspend = dm9000_drv_suspend,
 	.resume  = dm9000_drv_resume,
 };
@@ -1470,9 +1245,9 @@
 static int __init
 dm9000_init(void)
 {
-	printk(KERN_INFO "%s Ethernet Driver, V%s\n", CARDNAME, DRV_VERSION);
+	printk(KERN_INFO "%s Ethernet Driver\n", CARDNAME);
 
-	return platform_driver_register(&dm9000_driver);
+	return platform_driver_register(&dm9000_driver);	/* search board and register */
 }
 
 static void __exit
@@ -1487,4 +1262,3 @@
 MODULE_AUTHOR("Sascha Hauer, Ben Dooks");
 MODULE_DESCRIPTION("Davicom DM9000 network driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:dm9000");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/net/irda/Kconfig linux-2.6.28.6/drivers/net/irda/Kconfig
--- linux-2.6.28/drivers/net/irda/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/net/irda/Kconfig	2009-04-30 09:36:38.000000000 +0200
@@ -3,6 +3,12 @@
 
 comment "SIR device drivers"
 
+config S3C_SIR
+        tristate "S3C Irda SIR device"
+        depends on IRDA
+        help
+          Say Y here if you want to have S3C IRDA support.
+
 config IRTTY_SIR
 	tristate "IrTTY (uses Linux serial driver)"
 	depends on IRDA
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/net/irda/Makefile linux-2.6.28.6/drivers/net/irda/Makefile
--- linux-2.6.28/drivers/net/irda/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/net/irda/Makefile	2009-04-30 09:36:38.000000000 +0200
@@ -20,6 +20,7 @@
 obj-$(CONFIG_MCS_FIR)	        += mcs7780.o
 obj-$(CONFIG_AU1000_FIR)	+= au1k_ir.o
 # SIR drivers
+obj-$(CONFIG_S3C_SIR)           += s3c-sir.o
 obj-$(CONFIG_IRTTY_SIR)		+= irtty-sir.o	sir-dev.o
 # dongle drivers for SIR drivers
 obj-$(CONFIG_ESI_DONGLE)	+= esi-sir.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/net/irda/s3c-sir.c linux-2.6.28.6/drivers/net/irda/s3c-sir.c
--- linux-2.6.28/drivers/net/irda/s3c-sir.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/net/irda/s3c-sir.c	2009-04-30 09:36:38.000000000 +0200
@@ -0,0 +1,914 @@
+/*
+ * drivers/net/irda/s3c-sir.c
+ * Samsung Infra-red driver for the S3C embedded microprocessor 
+ * 
+ * Copyright (C) 2009 for Samsung Electronics
+ * 
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * 
+ */
+
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/types.h>
+#include <linux/init.h>
+#include <linux/errno.h>
+#include <linux/netdevice.h>
+#include <linux/slab.h>
+#include <linux/rtnetlink.h>
+#include <linux/interrupt.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/dma-mapping.h>
+#include <linux/delay.h>
+#include <linux/clk.h>
+
+#include <net/irda/irda.h>
+#include <net/irda/wrapper.h>
+#include <net/irda/irda_device.h>
+
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <asm/mach/irda.h>
+
+#include <mach/map.h>
+#include <mach/gpio.h>
+#include <mach/hardware.h>
+#include <plat/regs-serial.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#if defined(CONFIG_PLAT_S5PC1XX)
+#include <plat/gpio-bank-a1.h>
+#elif defined(CONFIG_PLAT_S3C64XX)
+#include <plat/gpio-bank-b.h>
+#endif
+
+#include <asm/dma.h>
+#include <plat/dma.h>
+#include <mach/irqs.h>
+
+/* #define S3C_IRDA_DEBUG */
+
+#ifdef S3C_IRDA_DEBUG
+#define DBG(x...)       printk(PFX x)
+#else
+#define DBG(x...)       do { } while (0)
+#endif
+
+#define DRIVER_NAME "s3c-irda"
+#define PFX DRIVER_NAME ": "
+
+static int max_rate = 115200;
+
+struct s3c_irda {
+        unsigned char           hscr0;
+        unsigned char           utcr4;
+        unsigned char           power;
+        unsigned char           open;
+
+        int                     speed;
+        int                     newspeed;
+
+        struct sk_buff          *txskb;
+        struct sk_buff          *rxskb;
+
+        struct net_device_stats stats;
+        struct device           *dev;
+        struct irda_platform_data *pdata;
+        struct irlap_cb         *irlap;
+        struct qos_info         qos;
+
+        iobuff_t                tx_buff;
+        iobuff_t                rx_buff;
+        unsigned int		sir_irq_rx;
+        unsigned int		sir_irq_tx;
+        
+	struct resource         *sir_mem;
+        struct clk              *sir_clk;
+        void __iomem            *sir_base;
+        int                     dma;
+};
+
+
+#define RESSIZE(ressource)	(((ressource)->end - (ressource)->start)+1)
+#define S3C_SIR_MAX_RXLEN	2047
+
+static const unsigned int nSlotTable[16] = {0x0000,0x0080,0x0808,0x8888,0x2222,0x4924,0x4a52,0x54aa,
+				     0x5555,0xd555,0xd5d5,0xddd5,0xdddd,0xdfdd,0xdfdf,0xffdf};
+
+#if defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410) || defined(CONFIG_CPU_S5PC100)
+/* UART3 port has been reserved for Irda */
+#define sir_writereg(val,reg) writel(val, (S3C24XX_VA_UART3 + reg))
+#define sir_readreg(reg)  readl(S3C24XX_VA_UART3 + reg)
+#else
+/* UART2 port has been reserved for Irda */
+#define sir_writereg(val,reg) writel(val, (S3C24XX_VA_UART2 + reg))
+#define sir_readreg(reg)  readl(S3C24XX_VA_UART2 + reg)
+#endif
+
+
+extern int clk_enable(struct clk *clk);
+extern unsigned long clk_get_rate(struct clk *clk);
+extern struct clk *clk_get(struct device *dev, const char *id);
+extern void clk_put(struct clk *clk);
+extern void clk_disable(struct clk *clk);
+
+
+static void  s3c_irda_gpio_conf(void)
+{
+#if defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410)
+	s3c_gpio_cfgpin(S3C64XX_GPB(2), S3C64XX_GPB2_UART_RXD3);
+	s3c_gpio_cfgpin(S3C64XX_GPB(3), S3C64XX_GPB3_UART_TXD3);
+#elif defined(CONFIG_CPU_S5PC100)
+	s3c_gpio_cfgpin(S5PC1XX_GPA1(2), S5PC1XX_GPA1_2_UART_3_RXD);
+	s3c_gpio_cfgpin(S5PC1XX_GPA1(3), S5PC1XX_GPA1_3_UART_3_TXD);
+#endif
+}
+
+
+static int s3c_irda_sir_init(struct s3c_irda *si)
+{
+        u32 ucon, ulcon, ufcon;
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        /* Enable uart clock */
+        clk_enable(si->sir_clk);
+
+	/* Setup the GPIOs */
+	s3c_irda_gpio_conf();
+
+	ulcon = S3C_LCON_IRM | S3C_LCON_PNONE | S3C_LCON_CS8;
+	ucon =  S3C_UCON_PCLK | S3C_UCON_TXILEVEL | S3C_UCON_RXILEVEL | \
+	        S3C_UCON_RXFIFO_TOI| S3C_UCON_RX_ESIE | \
+	        S3C_UCON_LOOP_OPERATION | S3C_UCON_NO_SBS | \
+		S3C_UCON_RXIRQMODE;
+	ufcon = S3C_UFCON_TXTRIG16 | S3C_UFCON_RXTRIG32 | \
+		S3C_UFCON_RESETBOTH | S3C_UFCON_FIFO_ENABLE;
+
+        sir_writereg(ulcon, S3C_ULCON);
+        sir_writereg(ufcon, S3C_UFCON);
+        sir_writereg(ucon, S3C_UCON);
+
+        return 0;
+}
+
+
+static int s3c_irda_sir_stop(struct s3c_irda *si)
+{
+        DBG("%s\r\n", __FUNCTION__);
+
+	disable_irq(si->sir_irq_rx);
+	disable_irq(si->sir_irq_tx);
+
+        sir_writereg(0, S3C_ULCON);
+        sir_writereg(0, S3C_UFCON);
+        sir_writereg(0, S3C_UCON);
+
+        /* Disable the uart clock */
+        clk_disable(si->sir_clk);
+
+        return 0;
+}
+
+
+static int s3c_irda_sir_setspeed(struct s3c_irda *si, u32 speed)
+{
+        u32 ubrdiv, pclk;
+	int slot = -1;
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        pclk = clk_get_rate(si->sir_clk);
+        ubrdiv = (int) (pclk/16/speed) - 1;
+
+        DBG("sir : pclk %d speed %d ubrdiv %d \r\n", pclk, speed, ubrdiv);
+
+        sir_writereg(ubrdiv, S3C_UBRDIV);
+
+	if(slot >= 0) {
+		sir_writereg(nSlotTable[slot], S3C_UDIVSLOT);
+	}
+        return 0;
+}
+
+
+/*
+ * Set the IrDA communications speed.
+ */
+static int s3c_irda_set_speed(struct s3c_irda *si, int speed)
+{
+        unsigned long flags;
+        int ret = -EINVAL;
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        switch (speed) {
+        case 9600:      case 19200:     case 38400:
+        case 57600:     case 115200:
+
+                local_irq_save(flags);
+                s3c_irda_sir_setspeed(si, speed);
+                si->speed = speed;
+                local_irq_restore(flags);
+                ret = 0;
+                break;
+
+        default:
+		printk(KERN_ERR "Invalid speed requested\n");
+                break;
+        }
+
+        return ret;
+
+}
+
+
+/*
+ * Control the power state of the IrDA transmitter.
+ * State:
+ *  0 - off
+ *  1 - short range, lowest power
+ *  2 - medium range, medium power
+ *  3 - maximum range, high power
+ *
+ * Currently, only assabet is known to support this.
+ */
+static int
+__s3c_irda_set_power(struct s3c_irda *si, unsigned int state)
+{
+        int ret = 0;
+        DBG("%s\r\n", __FUNCTION__);
+
+        if(si->pdata->set_power)
+                ret = si->pdata->set_power(si->dev, state);
+        return ret;
+}
+
+
+static inline int s3c_set_power(struct s3c_irda *si, unsigned int state)
+{
+        int ret;
+        DBG("%s\r\n", __FUNCTION__);
+
+        ret = __s3c_irda_set_power(si, state);
+        if(ret == 0)
+                si->power = state;
+
+        return ret;
+}
+
+static int s3c_irda_startup(struct s3c_irda *si)
+{
+        int ret;
+        
+        DBG("%s\r\n", __FUNCTION__);
+
+        /* Ensure that the ports for this device are setup correctly */
+#if defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410)
+        s3c_gpio_setpull(S3C64XX_GPB(2), S3C_GPIO_PULL_UP);
+        s3c_gpio_setpull(S3C64XX_GPB(3), S3C_GPIO_PULL_UP);
+#elif defined(CONFIG_CPU_S5PC100)
+        s3c_gpio_setpull(S5PC1XX_GPA1(2), S3C_GPIO_PULL_UP);
+        s3c_gpio_setpull(S5PC1XX_GPA1(3), S3C_GPIO_PULL_UP);
+#endif
+
+        ret = s3c_irda_sir_init(si);
+        if(ret) {
+                printk("Irda Startup failed\r\n");
+                return ret;
+        }
+
+        ret = s3c_irda_set_speed(si, si->speed = 9600);
+        if(ret) 
+                s3c_irda_sir_stop(si);
+
+        return ret;
+}
+
+static void s3c_irda_shutdown(struct s3c_irda *si)
+{
+        DBG("%s\r\n", __FUNCTION__);
+        s3c_irda_sir_stop(si);
+}
+
+
+#if defined(CONFIG_PM)
+/*
+ * Suspend the IrDA interface.
+ */
+static int s3c_irda_suspend(struct platform_device *pdev, pm_message_t state)
+{
+        struct net_device *dev = platform_get_drvdata(pdev);
+        struct s3c_irda *si;
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        if(!dev)
+                return 0;
+
+        si = dev->priv;
+        if(si->open) {
+                /* Stop the transmit queue */
+                netif_device_detach(dev);
+                s3c_irda_shutdown(si);
+                __s3c_irda_set_power(si, 0);
+        }
+
+        return 0;
+}
+
+
+/*
+ * Resume the IrDA interface.
+ */
+static int s3c_irda_resume(struct platform_device *pdev)
+{
+        struct net_device *dev = platform_get_drvdata(pdev);
+        struct s3c_irda *si;
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        if(!dev)
+                return 0;
+
+        si = dev->priv;
+        if(si->open) {
+                /*
+                 * If we missed a speed change, initialise at the new speed
+                 * directly.  It is debatable whether this is actually
+                 * required, but in the interests of continuing from where
+                 * we left off it is desireable.  The converse argument is
+                 * that we should re-negotiate at 9600 baud again.
+                 */
+                if(si->newspeed) {
+                        si->speed = si->newspeed;
+                        si->newspeed = 0;
+                }
+
+                s3c_irda_startup(si);
+                __s3c_irda_set_power(si, si->power);
+
+                
+                /* This automatically wakes up the queue */
+                netif_device_attach(dev);
+        }
+
+        return 0;
+}
+#else
+#define s3c_irda_suspend    NULL
+#define s3c_irda_resume     NULL
+#endif
+
+
+/*
+ * SIR format interrupt service routines.
+ */
+static irqreturn_t  s3c_irda_sir_irq(int irq, void *dev_id)
+{
+
+        struct net_device *dev = dev_id;
+        struct s3c_irda *si = dev->priv;
+        int err_status;
+
+        u8 data;
+	u32 ucon, ufcon, ufstat;
+
+
+        err_status = sir_readreg(S3C_UERSTAT);
+
+        if(err_status) {
+                printk("Error : 0x%x\n", sir_readreg(S3C_UERSTAT));
+                data = sir_readreg(S3C_URXH);
+                si->stats.rx_errors++;
+                si->stats.rx_frame_errors++;
+        }
+
+	if(irq == si->sir_irq_rx){
+		DBG("Rx intr : 0x%1x\n", intpnd);
+
+                while ((sir_readreg(S3C_UFSTAT) & 0X3F) > 0) {
+                        data = sir_readreg(S3C_URXH);
+                        async_unwrap_char(dev, &si->stats, &si->rx_buff, data);
+                }
+                dev->last_rx = jiffies;
+
+		/* Clear FIFO */
+		ufcon = sir_readreg(S3C_UFCON);
+		ufcon |= 3;
+		sir_writereg(ufcon, S3C_UFCON);
+        }
+
+	if(irq == si->sir_irq_tx) {
+		DBG("Tx intr : 0x%1x\n", intpnd);
+		
+		if(si->tx_buff.len > 0) {
+               		ufstat = sir_readreg(S3C_UFSTAT);
+                
+		        /* Transmitter FIFO is not full */
+        	       	while (!(ufstat & (1 << 14)) ) {
+				while(!(sir_readreg(S3C_UTRSTAT) & 0x02));
+				sir_writereg(*si->tx_buff.data++, S3C_UTXH);
+	              	 	if(si->tx_buff.len == 0)
+        	                	break;
+         		        si->tx_buff.len -= 1;
+                        	rmb();
+	                        ufstat = sir_readreg(S3C_UFSTAT);
+				}
+
+                	if(si->tx_buff.len == 0) {
+                       		si->stats.tx_packets++;
+	               		si->stats.tx_bytes += si->tx_buff.data -
+        	  			              si->tx_buff.head;
+	
+        	     	 /* We need to ensure that transmit has finished */
+                	 do {
+                 		rmb();
+	                       	ufstat = sir_readreg(S3C_UFSTAT);
+        	       	} while (((ufstat >> 8) & 0x3f) > 0);
+
+               
+              		/* Transmission complete. Now enable the receiver.  
+	 		 * Sometimes we get a receive IRQ immediately 
+	 		 * after a transmit 
+ 		         */
+              
+	               	ufcon = sir_readreg(S3C_UFCON);
+        	       	ufcon |= 7;
+               		sir_writereg(ufcon, S3C_UFCON);
+
+	               	ucon = sir_readreg(S3C_UCON);
+        	      	ucon &= ~( 3 << 2);
+               		sir_writereg(ucon, S3C_UCON);
+
+	               	if(si->newspeed) {
+        	               	s3c_irda_set_speed(si, si->newspeed);
+                	       	si->newspeed = 0;
+               		}
+
+      	 		if(1) {
+                      		ucon |= 1;
+	                      	sir_writereg(ucon, S3C_UCON);
+        	             	}
+
+               		netif_wake_queue(dev);
+			}
+		}
+	}
+        return IRQ_HANDLED;
+}
+
+static int s3c_irda_hard_xmit(struct sk_buff *skb, struct net_device *dev)
+{
+        struct s3c_irda *si = dev->priv;
+        int speed = irda_get_next_speed(skb);
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        /*
+         * Does this packet contain a request to change the interface
+         * speed?  If so, remember it until we complete the transmission
+         * of this frame.
+         */
+        if(speed != si->speed && speed != -1) {
+                DBG("Irda  New Speed %d bps\r\n", speed);
+                si->newspeed = speed;
+        }
+        
+        /* If this is an empty frame, we can bypass a lot */
+        if(skb->len == 0) {
+                if(si->newspeed) {
+                        si->newspeed = 0;
+                        s3c_irda_set_speed(si, speed);
+                }
+                dev_kfree_skb(skb);
+                return 0;
+        }
+
+        {
+                u32 ucon, ufcon, len;
+                u8 *cp;
+
+                netif_stop_queue(dev);
+
+                cp = si->tx_buff.data = si->tx_buff.head;
+                len = si->tx_buff.len  = async_wrap_skb(skb, si->tx_buff.data,
+                                                  si->tx_buff.truesize);
+
+                /*
+                 * Set the transmit interrupt enable.  This will fire
+                 * off an interrupt immediately.  Note that we disable
+                 * the receiver so we won't get spurious characteres
+                 * received.
+                 */
+
+                /* Stop Rx 
+		 * UCON  : Receive Mode Disable 
+		 */
+                ucon = sir_readreg(S3C_UCON);
+                ucon &= ~( 3); 
+                sir_writereg(ucon, S3C_UCON);
+
+                /* Clear FIFO */
+                ufcon = sir_readreg(S3C_UFCON);
+                ufcon |= 7;
+                sir_writereg(ufcon, S3C_UFCON);
+
+		/* UCON : Transmit Mode - 01 - Interrupt request or polling mode */
+                ucon |= (1 << 2 );
+                sir_writereg(ucon, S3C_UCON);
+
+                dev_kfree_skb(skb);
+        }
+
+        dev->trans_start = jiffies;
+        return 0;
+}
+
+
+static int s3c_irda_ioctl(struct net_device *dev, struct ifreq *ifreq, int cmd)
+{
+        struct if_irda_req *rq = (struct if_irda_req *)ifreq;
+        struct s3c_irda *si = dev->priv;
+        int ret = -EOPNOTSUPP;
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        switch (cmd) {
+        case SIOCSBANDWIDTH:
+
+                if(capable(CAP_NET_ADMIN)) {
+                        
+                        /* We are unable to set the speed if the device is not running */
+                        if(si->open) 
+                                ret = s3c_irda_set_speed(si,
+                                                rq->ifr_baudrate);
+                        else {
+                                DBG("s3c_irda_ioctl: SIOCSBANDWIDTH: !netif_running\n");
+				ret = 0;
+                        }
+                }
+                break;
+
+        case SIOCSMEDIABUSY:
+                ret = -EPERM;
+                if(capable(CAP_NET_ADMIN)) {
+                        irda_device_set_media_busy(dev, TRUE);
+                        ret = 0;
+                }
+                break;
+
+        case SIOCGRECEIVING:
+                rq->ifr_receiving =  si->rx_buff.state != OUTSIDE_FRAME;
+                ret = 0;
+                break;
+
+        default:
+                break;
+        }
+
+        return ret;
+}
+
+
+static struct net_device_stats *s3c_irda_stats(struct net_device *dev)
+{
+        struct s3c_irda *si = dev->priv;
+
+        DBG("%s\r\n", __FUNCTION__);
+        return &si->stats;
+}
+
+static int s3c_irda_start(struct net_device *dev)
+{
+        struct s3c_irda *si = dev->priv;
+        int err;
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        si->speed = 9600;
+	
+	err = request_irq(si->sir_irq_rx, s3c_irda_sir_irq, 0, dev->name, dev);
+	if(err)
+                goto err_irq1;
+
+        err = request_irq(si->sir_irq_tx, s3c_irda_sir_irq, 0, dev->name, dev);
+        if(err)                                                     
+                  goto err_irq1; 
+
+        /* The interrupt must remain disabled for now */
+	disable_irq(si->sir_irq_rx);
+        disable_irq(si->sir_irq_tx);
+
+        
+        /* Setup the serial port for the specified speed */
+        err = s3c_irda_startup(si);
+        if(err)
+                goto err_irq2;
+
+        
+        /* Open a new IrLAP layer instance */
+        si->irlap = irlap_open(dev, &si->qos, "s3c");
+
+        err = -ENOMEM;
+        if(!si->irlap)
+                goto err_irlap;
+
+        
+        /* Now enable the interrupt and start the queue */
+	enable_irq(si->sir_irq_rx);
+	enable_irq(si->sir_irq_tx);
+        si->open = 1;
+        netif_start_queue(dev);
+	sir_writereg(0, S3C_UINTMSK); 
+        
+	return 0;
+
+err_irlap:
+        si->open = 0;
+        s3c_irda_shutdown(si);
+err_irq2:
+        free_irq(si->sir_irq_rx, dev);
+        free_irq(si->sir_irq_tx, dev);
+err_irq1:
+        return err;
+}
+
+static int s3c_irda_stop(struct net_device *dev)
+{
+        struct s3c_irda *si = dev->priv;
+
+        DBG("%s\r\n", __FUNCTION__);
+
+	disable_irq(si->sir_irq_rx);
+        disable_irq(si->sir_irq_tx);
+
+        s3c_irda_shutdown(si);
+
+        /* Clean up */
+        if(si->rxskb) {
+                dev_kfree_skb(si->rxskb);
+                si->rxskb = NULL;
+        }
+
+        /* Stop IrLAP */
+        if(si->irlap) {
+                irlap_close(si->irlap);
+                si->irlap = NULL;
+        }
+
+        netif_stop_queue(dev);
+        si->open = 0;
+
+        return 0;
+}
+
+static int s3c_irda_init_iobuf(iobuff_t *io, int size)
+{
+        DBG("%s\r\n", __FUNCTION__);
+
+	io->head = kmalloc(size, GFP_KERNEL | GFP_DMA);
+
+        if(io->head != NULL) {
+                io->truesize = size;
+                io->in_frame = FALSE;
+                io->state    = OUTSIDE_FRAME;
+                io->data     = io->head;
+        }
+
+        return io->head ? 0 : -ENOMEM;
+}
+
+
+static int s3c_irda_init_mem( struct s3c_irda *si,
+                struct platform_device *pdev)
+{
+        int ret = 0;
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        si->sir_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+
+        if(!si->sir_mem) {
+                printk("failed to get io sir_memory region resouce.\n");
+                return -ENOENT;
+        }
+
+        if(NULL == request_mem_region(si->sir_mem->start,
+                RESSIZE(si->sir_mem), pdev->name)) {
+                printk("failed to request io sir memory region.\n");
+                ret =  -ENOENT;
+        }
+
+        return ret;
+}
+
+
+static int s3c_irda_free_mem( struct s3c_irda *si)
+{
+        DBG("%s\r\n", __FUNCTION__);
+
+        release_mem_region(si->sir_mem->start, RESSIZE(si->sir_mem));
+        return 0;
+}
+
+static int s3c_irda_init_clk(struct device *dev,
+				struct s3c_irda *si)
+{
+        int ret;
+        DBG("%s   \r\n", __FUNCTION__);
+
+        si->sir_clk = clk_get(dev, "uart");
+
+        if(IS_ERR(si->sir_clk)) {
+                DBG(KERN_INFO PFX "failed to find sir clock source.\n");
+                ret = PTR_ERR(si->sir_clk);
+                si->sir_clk = NULL;
+                goto sir_free_si;
+        }
+
+        if((ret = clk_enable(si->sir_clk))) {
+                printk("failed to use sir clock source.\n");
+		ret =-ENODEV;
+                goto sir_clk_free;
+        }
+
+        return 0;
+
+sir_clk_free:
+        clk_put(si->sir_clk);
+sir_free_si:
+        return ret;
+}
+
+
+static int s3c_irda_stop_clk( struct s3c_irda *si)
+{
+        DBG("%s\r\n", __FUNCTION__);
+
+        clk_disable(si->sir_clk);
+        clk_put(si->sir_clk);
+        return 0;
+}
+
+
+static int s3c_irda_probe(struct platform_device *pdev)
+{
+        struct net_device *dev;
+        struct s3c_irda *si;
+        unsigned int baudrate_mask;
+        int err;
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        dev = alloc_irdadev(sizeof(struct s3c_irda));
+        if(!dev){
+        	printk("alloc_irdadev Error! \r\n");
+                return -ENOMEM;
+        }
+
+        si = dev->priv;
+        si->dev = &pdev->dev;
+        si->pdata = pdev->dev.platform_data;
+
+        if((err = s3c_irda_init_mem(si, pdev)) != 0)
+                goto err_mem;
+
+
+        err = s3c_irda_init_iobuf(&si->rx_buff, 14384);
+        if(err)
+                goto err_iobuf_rx;
+
+        err = s3c_irda_init_iobuf(&si->tx_buff, 14384);
+        if(err)
+                goto err_iobuf_tx;
+
+        dev->hard_start_xmit    = s3c_irda_hard_xmit;
+        dev->open               = s3c_irda_start;
+        dev->stop               = s3c_irda_stop;
+        dev->do_ioctl           = s3c_irda_ioctl;
+        dev->get_stats          = s3c_irda_stats;
+        
+	si->sir_irq_rx = platform_get_irq(pdev, 0);
+
+        if(si->sir_irq_rx == 0) {
+                printk("failed to get rx interrupt resource.\n");
+                goto err_irq;
+        }
+
+	si->sir_irq_tx = platform_get_irq(pdev, 1);                              
+                                                           
+        if(si->sir_irq_tx == 0) {                        
+                printk("failed to get tx interrupt resource.\n");   
+                goto err_irq;                                 
+        }                      
+
+        if(s3c_irda_init_clk(&pdev->dev, si)!= 0)
+                    goto err_irq;
+
+        irda_init_max_qos_capabilies(&si->qos);
+
+        baudrate_mask = IR_9600 | IR_19200 | IR_38400 | IR_57600 | IR_115200;
+
+        switch (max_rate) {
+                case 115200:            baudrate_mask |= IR_115200;
+                case 57600:             baudrate_mask |= IR_57600;
+                case 38400:             baudrate_mask |= IR_38400;
+                case 19200:             baudrate_mask |= IR_19200;
+        }
+
+        si->qos.baud_rate.bits &= baudrate_mask;
+        si->qos.min_turn_time.bits = 7;
+
+        irda_qos_bits_to_value(&si->qos);
+
+        sir_writereg(0, S3C_UCON);
+        sir_writereg(0, S3C_ULCON);
+
+        err = register_netdev(dev);
+        if(err == 0) {
+                platform_set_drvdata(pdev, dev);
+        	DBG("%s success \r\n", __FUNCTION__);
+	}
+
+        if(err) {
+                s3c_irda_stop_clk(si);
+ err_irq:
+                kfree(si->tx_buff.head);
+ err_iobuf_tx:
+                kfree(si->rx_buff.head);
+ err_iobuf_rx:
+                s3c_irda_free_mem(si);
+ err_mem:
+                free_netdev(dev);
+        }
+        return err;
+}
+
+
+static int s3c_irda_remove(struct platform_device *pdev)
+{
+        struct net_device *dev = platform_get_drvdata(pdev);
+
+        DBG("%s\r\n", __FUNCTION__);
+
+        if(dev) {
+                struct s3c_irda *si = dev->priv;
+                unregister_netdev(dev);
+                kfree(si->tx_buff.head);
+                kfree(si->rx_buff.head);
+                s3c_irda_free_mem(si);
+                s3c_irda_stop_clk(si);
+                free_netdev(dev);
+        }
+
+        return 0;
+}
+
+
+static struct platform_driver s3c_irda_driver = {
+        .probe          = s3c_irda_probe,
+        .remove         = s3c_irda_remove,
+        .suspend        = s3c_irda_suspend,
+        .resume         = s3c_irda_resume,
+	.driver         = {
+		.name   = "s3c-irda",
+	},
+};
+
+static char banner[] = KERN_INFO "S3C IrDA driver, (c) 2009 Samsung Electronics\n";
+
+static int __init s3c_irda_init(void)
+{
+        printk(banner);
+        return platform_driver_register(&s3c_irda_driver);
+
+}
+
+
+static void __exit s3c_irda_exit(void)
+{
+        platform_driver_unregister(&s3c_irda_driver);
+}
+
+
+module_init(s3c_irda_init);
+module_exit(s3c_irda_exit);
+
+MODULE_AUTHOR("SAMSUNG");
+MODULE_DESCRIPTION("S3C IrDA driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/net/smc911x.c linux-2.6.28.6/drivers/net/smc911x.c
--- linux-2.6.28/drivers/net/smc911x.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/net/smc911x.c	2009-04-30 09:36:38.000000000 +0200
@@ -861,14 +861,13 @@
 		SMC_GET_MAC_CR(lp, cr);
 		if (lp->mii.full_duplex) {
 			DBG(SMC_DEBUG_MISC, "%s: Configuring for full-duplex mode\n", dev->name);
-			bmcr |= BMCR_FULLDPLX;
-			cr |= MAC_CR_RCVOWN_;
+			cr &= ~MAC_CR_RCVOWN_;
+			cr |= MAC_CR_FDPX_;
 		} else {
 			DBG(SMC_DEBUG_MISC, "%s: Configuring for half-duplex mode\n", dev->name);
-			bmcr &= ~BMCR_FULLDPLX;
 			cr &= ~MAC_CR_RCVOWN_;
+			cr &= ~MAC_CR_FDPX_;
 		}
-		SMC_SET_PHY_BMCR(lp, phyaddr, bmcr);
 		SMC_SET_MAC_CR(lp, cr);
 	}
 }
@@ -1906,6 +1905,17 @@
 
 	spin_lock_init(&lp->lock);
 
+#if defined(CONFIG_MACH_SMDK6410)||defined(CONFIG_MACH_SMDK2450)||defined(CONFIG_MACH_SMDKC100)
+	dev->dev_addr[0] = 0x00;
+	dev->dev_addr[1] = 0x09;
+	dev->dev_addr[2] = 0xc0;
+	dev->dev_addr[3] = 0xff;
+	dev->dev_addr[4] = 0xec;
+	dev->dev_addr[5] = 0x48;
+
+	SMC_SET_MAC_ADDR(lp, dev->dev_addr);
+#endif
+
 	/* Get the MAC address */
 	SMC_GET_MAC_ADDR(lp, dev->dev_addr);
 
@@ -1969,7 +1979,7 @@
 
 	/* Set default parameters */
 	lp->msg_enable = NETIF_MSG_LINK;
-	lp->ctl_rfduplx = 1;
+	lp->ctl_rfduplx = 0;
 	lp->ctl_rspeed = 100;
 
 #ifdef SMC_DYNAMIC_BUS_CONFIG
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/net/smc911x.h linux-2.6.28.6/drivers/net/smc911x.h
--- linux-2.6.28/drivers/net/smc911x.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/net/smc911x.h	2009-04-30 09:36:38.000000000 +0200
@@ -38,7 +38,8 @@
   #define SMC_USE_16BIT		0
   #define SMC_USE_32BIT		1
   #define SMC_IRQ_SENSE		IRQF_TRIGGER_FALLING
-#elif defined(CONFIG_SH_MAGIC_PANEL_R2)
+#elif defined(CONFIG_SH_MAGIC_PANEL_R2)||defined(CONFIG_MACH_SMDK6410)||defined(CONFIG_MACH_SMDK2450)||defined(CONFIG_MACH_SMDKC100)
+  #undef  SMC_USE_DMA		
   #define SMC_USE_16BIT		0
   #define SMC_USE_32BIT		1
   #define SMC_IRQ_SENSE		IRQF_TRIGGER_LOW
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/rtc/Kconfig linux-2.6.28.6/drivers/rtc/Kconfig
--- linux-2.6.28/drivers/rtc/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/rtc/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -508,7 +508,7 @@
 
 config RTC_DRV_S3C
 	tristate "Samsung S3C series SoC RTC"
-	depends on ARCH_S3C2410
+	depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5PC1XX || ARCH_S5P64XX
 	help
 	  RTC (Realtime Clock) driver for the clock inbuilt into the
 	  Samsung S3C24XX series of SoCs. This can provide periodic
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/rtc/rtc-s3c.c linux-2.6.28.6/drivers/rtc/rtc-s3c.c
--- linux-2.6.28/drivers/rtc/rtc-s3c.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/rtc/rtc-s3c.c	2009-04-30 09:36:39.000000000 +0200
@@ -26,7 +26,8 @@
 #include <asm/uaccess.h>
 #include <asm/io.h>
 #include <asm/irq.h>
-#include <asm/plat-s3c/regs-rtc.h>
+#include <asm/mach/time.h>
+#include <plat/regs-rtc.h>
 
 /* I have yet to find an S3C implementation with more than one
  * of these rtc blocks in */
@@ -36,9 +37,18 @@
 static void __iomem *s3c_rtc_base;
 static int s3c_rtc_alarmno = NO_IRQ;
 static int s3c_rtc_tickno  = NO_IRQ;
+static int s3c_rtc_freq    = 1;
 
 static DEFINE_SPINLOCK(s3c_rtc_pie_lock);
+static unsigned int tick_count;
 
+/* common function function  */
+
+extern void s3c_rtc_set_pie(void __iomem *base, uint to);
+extern void s3c_rtc_set_freq_regs(void __iomem *base, uint freq, uint s3c_freq);
+extern void s3c_rtc_enable_set(struct platform_device *dev,void __iomem *base, int en);
+extern unsigned int s3c_rtc_set_bit_byte(void __iomem *base, uint offset, uint val);
+extern unsigned int s3c_rtc_read_alarm_status(void __iomem *base);
 /* IRQ Handlers */
 
 static irqreturn_t s3c_rtc_alarmirq(int irq, void *id)
@@ -46,6 +56,9 @@
 	struct rtc_device *rdev = id;
 
 	rtc_update_irq(rdev, 1, RTC_AF | RTC_IRQF);
+
+	s3c_rtc_set_bit_byte(s3c_rtc_base,S3C2410_INTP,S3C2410_INTP_ALM);
+
 	return IRQ_HANDLED;
 }
 
@@ -54,6 +67,9 @@
 	struct rtc_device *rdev = id;
 
 	rtc_update_irq(rdev, 1, RTC_PF | RTC_IRQF);
+
+	s3c_rtc_set_bit_byte(s3c_rtc_base,S3C2410_INTP,S3C2410_INTP_TIC);
+
 	return IRQ_HANDLED;
 }
 
@@ -74,17 +91,12 @@
 
 static int s3c_rtc_setpie(struct device *dev, int enabled)
 {
-	unsigned int tmp;
-
 	pr_debug("%s: pie=%d\n", __func__, enabled);
 
 	spin_lock_irq(&s3c_rtc_pie_lock);
-	tmp = readb(s3c_rtc_base + S3C2410_TICNT) & ~S3C2410_TICNT_ENABLE;
 
-	if (enabled)
-		tmp |= S3C2410_TICNT_ENABLE;
+	s3c_rtc_set_pie(s3c_rtc_base,enabled);
 
-	writeb(tmp, s3c_rtc_base + S3C2410_TICNT);
 	spin_unlock_irq(&s3c_rtc_pie_lock);
 
 	return 0;
@@ -92,14 +104,10 @@
 
 static int s3c_rtc_setfreq(struct device *dev, int freq)
 {
-	unsigned int tmp;
-
 	spin_lock_irq(&s3c_rtc_pie_lock);
 
-	tmp = readb(s3c_rtc_base + S3C2410_TICNT) & S3C2410_TICNT_ENABLE;
-	tmp |= (128 / freq)-1;
+	s3c_rtc_set_freq_regs(s3c_rtc_base, freq, s3c_rtc_freq);
 
-	writeb(tmp, s3c_rtc_base + S3C2410_TICNT);
 	spin_unlock_irq(&s3c_rtc_pie_lock);
 
 	return 0;
@@ -269,14 +277,55 @@
 
 	s3c_rtc_setaie(alrm->enabled);
 
-	if (alrm->enabled)
-		enable_irq_wake(s3c_rtc_alarmno);
-	else
-		disable_irq_wake(s3c_rtc_alarmno);
-
 	return 0;
 }
 
+static int s3c_rtc_ioctl(struct device *dev,
+			 unsigned int cmd, unsigned long arg)
+{
+	unsigned int ret = -ENOIOCTLCMD;
+
+	switch (cmd) {
+	case RTC_AIE_OFF:
+	case RTC_AIE_ON:
+		s3c_rtc_setaie((cmd == RTC_AIE_ON) ? 1 : 0);
+		ret = 0;
+		break;
+
+	case RTC_PIE_OFF:
+	case RTC_PIE_ON:
+		tick_count = 0;
+		s3c_rtc_setpie(dev,(cmd == RTC_PIE_ON) ? 1 : 0);
+		ret = 0;
+		break;
+
+	case RTC_IRQP_READ:
+		ret = put_user(s3c_rtc_freq, (unsigned long __user *)arg);
+		break;
+
+	case RTC_IRQP_SET:
+		/* check for power of 2 */
+
+		if ((arg & (arg-1)) != 0 || arg < 1) {
+			ret = -EINVAL;
+			goto exit;
+		}
+
+		pr_debug("s3c2410_rtc: setting frequency %ld\n", arg);
+
+		s3c_rtc_setfreq(dev, arg);
+		ret = 0;
+		break;
+
+	case RTC_UIE_ON:
+	case RTC_UIE_OFF:
+		ret = -EINVAL;
+	}
+
+ exit:
+	return ret;
+}
+
 static int s3c_rtc_proc(struct device *dev, struct seq_file *seq)
 {
 	unsigned int ticnt = readb(s3c_rtc_base + S3C2410_TICNT);
@@ -330,6 +379,7 @@
 static const struct rtc_class_ops s3c_rtcops = {
 	.open		= s3c_rtc_open,
 	.release	= s3c_rtc_release,
+	.ioctl		= s3c_rtc_ioctl,
 	.read_time	= s3c_rtc_gettime,
 	.set_time	= s3c_rtc_settime,
 	.read_alarm	= s3c_rtc_getalarm,
@@ -342,44 +392,14 @@
 static void s3c_rtc_enable(struct platform_device *pdev, int en)
 {
 	void __iomem *base = s3c_rtc_base;
-	unsigned int tmp;
 
 	if (s3c_rtc_base == NULL)
 		return;
 
-	if (!en) {
-		tmp = readb(base + S3C2410_RTCCON);
-		writeb(tmp & ~S3C2410_RTCCON_RTCEN, base + S3C2410_RTCCON);
-
-		tmp = readb(base + S3C2410_TICNT);
-		writeb(tmp & ~S3C2410_TICNT_ENABLE, base + S3C2410_TICNT);
-	} else {
-		/* re-enable the device, and check it is ok */
-
-		if ((readb(base+S3C2410_RTCCON) & S3C2410_RTCCON_RTCEN) == 0){
-			dev_info(&pdev->dev, "rtc disabled, re-enabling\n");
-
-			tmp = readb(base + S3C2410_RTCCON);
-			writeb(tmp|S3C2410_RTCCON_RTCEN, base+S3C2410_RTCCON);
-		}
-
-		if ((readb(base + S3C2410_RTCCON) & S3C2410_RTCCON_CNTSEL)){
-			dev_info(&pdev->dev, "removing RTCCON_CNTSEL\n");
-
-			tmp = readb(base + S3C2410_RTCCON);
-			writeb(tmp& ~S3C2410_RTCCON_CNTSEL, base+S3C2410_RTCCON);
-		}
-
-		if ((readb(base + S3C2410_RTCCON) & S3C2410_RTCCON_CLKRST)){
-			dev_info(&pdev->dev, "removing RTCCON_CLKRST\n");
-
-			tmp = readb(base + S3C2410_RTCCON);
-			writeb(tmp & ~S3C2410_RTCCON_CLKRST, base+S3C2410_RTCCON);
-		}
-	}
+	s3c_rtc_enable_set(pdev,base,en);
 }
 
-static int __devexit s3c_rtc_remove(struct platform_device *dev)
+static int s3c_rtc_remove(struct platform_device *dev)
 {
 	struct rtc_device *rtc = platform_get_drvdata(dev);
 
@@ -396,11 +416,12 @@
 	return 0;
 }
 
-static int __devinit s3c_rtc_probe(struct platform_device *pdev)
+static int s3c_rtc_probe(struct platform_device *pdev)
 {
 	struct rtc_device *rtc;
 	struct resource *res;
 	int ret;
+	unsigned char bcd_tmp,bcd_loop;
 
 	pr_debug("%s: probe=%p\n", __func__, pdev);
 
@@ -418,7 +439,7 @@
 		return -ENOENT;
 	}
 
-	pr_debug("s3c2410_rtc: tick irq %d, alarm irq %d\n",
+	printk("s3c2410_rtc: tick irq %d, alarm irq %d\n",
 		 s3c_rtc_tickno, s3c_rtc_alarmno);
 
 	/* get the memory region */
@@ -468,9 +489,18 @@
 		goto err_nortc;
 	}
 
-	rtc->max_user_freq = 128;
+	rtc->max_user_freq = S3C_MAX_CNT;
+
+	/* check rtc time */
+	for (bcd_loop = S3C2410_RTCSEC ; bcd_loop <= S3C2410_RTCYEAR ; bcd_loop +=0x4)
+	{
+		bcd_tmp = readb(s3c_rtc_base + bcd_loop);
+		if(((bcd_tmp & 0xf) > 0x9) || ((bcd_tmp & 0xf0) > 0x90))
+			writeb(0, s3c_rtc_base + bcd_loop);
+	}
 
 	platform_set_drvdata(pdev, rtc);
+
 	return 0;
 
  err_nortc:
@@ -488,19 +518,37 @@
 
 /* RTC Power management control */
 
+static struct timespec s3c_rtc_delta;
 static int ticnt_save;
 
 static int s3c_rtc_suspend(struct platform_device *pdev, pm_message_t state)
 {
+	struct rtc_time tm;
+	struct timespec time;
+
+	time.tv_nsec = 0;
 	/* save TICNT for anyone using periodic interrupts */
 	ticnt_save = readb(s3c_rtc_base + S3C2410_TICNT);
+
+	s3c_rtc_gettime(&pdev->dev, &tm);
+	rtc_tm_to_time(&tm, &time.tv_sec);
+	save_time_delta(&s3c_rtc_delta, &time);
+
 	s3c_rtc_enable(pdev, 0);
 	return 0;
 }
 
 static int s3c_rtc_resume(struct platform_device *pdev)
 {
+	struct rtc_time tm;
+	struct timespec time;
+
+	time.tv_nsec = 0;
+
 	s3c_rtc_enable(pdev, 1);
+	s3c_rtc_gettime(&pdev->dev, &tm);
+	rtc_tm_to_time(&tm, &time.tv_sec);
+	restore_time_delta(&s3c_rtc_delta, &time);
 	writeb(ticnt_save, s3c_rtc_base + S3C2410_TICNT);
 	return 0;
 }
@@ -511,7 +559,7 @@
 
 static struct platform_driver s3c2410_rtc_driver = {
 	.probe		= s3c_rtc_probe,
-	.remove		= __devexit_p(s3c_rtc_remove),
+	.remove		= s3c_rtc_remove,
 	.suspend	= s3c_rtc_suspend,
 	.resume		= s3c_rtc_resume,
 	.driver		= {
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/serial/Kconfig linux-2.6.28.6/drivers/serial/Kconfig
--- linux-2.6.28/drivers/serial/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/serial/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -447,7 +447,7 @@
 
 config SERIAL_SAMSUNG
 	tristate "Samsung SoC serial support"
-	depends on ARM && PLAT_S3C24XX
+	depends on ARM && PLAT_S3C
 	select SERIAL_CORE
 	help
 	  Support for the on-chip UARTs on the Samsung S3C24XX series CPUs,
@@ -455,6 +455,16 @@
 	  provide all of these ports, depending on how the serial port
 	  pins are configured.
 
+config SERIAL_SAMSUNG_UARTS
+	int
+	depends on SERIAL_SAMSUNG
+	default 2 if ARCH_S3C2400
+	default 4 if ARCH_S3C64XX || ARCH_S5P64XX || CPU_S3C2443 || ARCH_S5PC1XX
+	default 3
+	help
+	  Select the number of available UART ports for the Samsung S3C
+	  serial driver
+	
 config SERIAL_SAMSUNG_DEBUG
 	bool "Samsung SoC serial debug"
 	depends on SERIAL_SAMSUNG && DEBUG_LL
@@ -508,7 +518,34 @@
 	help
 	  Serial port support for the Samsung S3C2440 and S3C2442 SoC
 
+config SERIAL_S3C24A0
+	tristate "Samsung S3C24A0 Serial port support"
+	depends on SERIAL_SAMSUNG && CPU_S3C24A0
+	default y if CPU_S3C24A0
+	help
+	  Serial port support for the Samsung S3C24A0 SoC
+
+config SERIAL_S3C6400
+	tristate "Samsung S3C6400/S3C6410/S5P6440 Serial port support"
+	depends on SERIAL_SAMSUNG && (CPU_S3C6400 || CPU_S3C6410 || CPU_S5P6440)
+	default y
+	help
+	  Serial port support for the Samsung S3C6400, S3C6410 and S5P6440
+	  SoCs
+
+config SERIAL_S5PC100
+	tristate "Samsung S5PC100 Serial port support"
+	depends on SERIAL_SAMSUNG && CPU_S5PC100
+	default y
+	help
+	  Serial port support for the Samsung S5PC100 SoCs
 
+config SERIAL_S5PC1XX_HSUART
+        bool "Support for High speed UART(4Mbps) on S5PC1XX serial port"
+        depends on SERIAL_S5PC100=y
+        select SERIAL_CORE
+          help
+          Allow High speed UART on the S5PC1XX on-board serial ports
 
 config SERIAL_DZ
 	bool "DECstation DZ serial driver"
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/serial/Makefile linux-2.6.28.6/drivers/serial/Makefile
--- linux-2.6.28/drivers/serial/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/serial/Makefile	2009-04-30 09:36:39.000000000 +0200
@@ -41,6 +41,9 @@
 obj-$(CONFIG_SERIAL_S3C2410) += s3c2410.o
 obj-$(CONFIG_SERIAL_S3C2412) += s3c2412.o
 obj-$(CONFIG_SERIAL_S3C2440) += s3c2440.o
+obj-$(CONFIG_SERIAL_S3C24A0) += s3c24a0.o
+obj-$(CONFIG_SERIAL_S3C6400) += s3c6400.o
+obj-$(CONFIG_SERIAL_S5PC100) += s5pc100.o
 obj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o
 obj-$(CONFIG_SERIAL_MUX) += mux.o
 obj-$(CONFIG_SERIAL_68328) += 68328serial.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/serial/s3c24a0.c linux-2.6.28.6/drivers/serial/s3c24a0.c
--- linux-2.6.28/drivers/serial/s3c24a0.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/serial/s3c24a0.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,118 @@
+/* linux/drivers/serial/s3c24a0.c
+ *
+ * Driver for Samsung S3C24A0 SoC onboard UARTs.
+ *
+ * Based on drivers/serial/s3c2410.c
+ *
+ * Author: Sandeep Patil <sandeep.patil@azingo.com>
+ *
+ * Ben Dooks, Copyright (c) 2003-2005,2008 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/ioport.h>
+#include <linux/platform_device.h>
+#include <linux/init.h>
+#include <linux/serial_core.h>
+#include <linux/serial.h>
+#include <linux/io.h>
+#include <linux/irq.h>
+
+#include <mach/hardware.h>
+
+#include <plat/regs-serial.h>
+#include <mach/regs-gpio.h>
+
+#include "samsung.h"
+
+static int s3c24a0_serial_setsource(struct uart_port *port,
+				    struct s3c24xx_uart_clksrc *clk)
+{
+	unsigned long ucon = rd_regl(port, S3C2410_UCON);
+
+	if (strcmp(clk->name, "uclk") == 0)
+		ucon |= S3C2410_UCON_UCLK;
+	else
+		ucon &= ~S3C2410_UCON_UCLK;
+
+	wr_regl(port, S3C2410_UCON, ucon);
+	return 0;
+}
+
+static int s3c24a0_serial_getsource(struct uart_port *port,
+				    struct s3c24xx_uart_clksrc *clk)
+{
+	unsigned long ucon = rd_regl(port, S3C2410_UCON);
+
+	clk->divisor = 1;
+	clk->name = (ucon & S3C2410_UCON_UCLK) ? "uclk" : "pclk";
+
+	return 0;
+}
+
+static int s3c24a0_serial_resetport(struct uart_port *port,
+				    struct s3c2410_uartcfg *cfg)
+{
+	dbg("s3c24a0_serial_resetport: port=%p (%08lx), cfg=%p\n",
+	    port, port->mapbase, cfg);
+
+	wr_regl(port, S3C2410_UCON,  cfg->ucon);
+	wr_regl(port, S3C2410_ULCON, cfg->ulcon);
+
+	/* reset both fifos */
+
+	wr_regl(port, S3C2410_UFCON, cfg->ufcon | S3C2410_UFCON_RESETBOTH);
+	wr_regl(port, S3C2410_UFCON, cfg->ufcon);
+
+	return 0;
+}
+
+static struct s3c24xx_uart_info s3c24a0_uart_inf = {
+	.name		= "Samsung S3C24A0 UART",
+	.type		= PORT_S3C2410,
+	.fifosize	= 16,
+	.rx_fifomask	= S3C24A0_UFSTAT_RXMASK,
+	.rx_fifoshift	= S3C24A0_UFSTAT_RXSHIFT,
+	.rx_fifofull	= S3C24A0_UFSTAT_RXFULL,
+	.tx_fifofull	= S3C24A0_UFSTAT_TXFULL,
+	.tx_fifomask	= S3C24A0_UFSTAT_TXMASK,
+	.tx_fifoshift	= S3C24A0_UFSTAT_TXSHIFT,
+	.get_clksrc	= s3c24a0_serial_getsource,
+	.set_clksrc	= s3c24a0_serial_setsource,
+	.reset_port	= s3c24a0_serial_resetport,
+};
+
+static int s3c24a0_serial_probe(struct platform_device *dev)
+{
+	return s3c24xx_serial_probe(dev, &s3c24a0_uart_inf);
+}
+
+static struct platform_driver s3c24a0_serial_drv = {
+	.probe		= s3c24a0_serial_probe,
+	.remove		= s3c24xx_serial_remove,
+	.driver		= {
+		.name	= "s3c24a0-uart",
+		.owner	= THIS_MODULE,
+	},
+};
+
+s3c24xx_console_init(&s3c24a0_serial_drv, &s3c24a0_uart_inf);
+
+static int __init s3c24a0_serial_init(void)
+{
+	return s3c24xx_serial_init(&s3c24a0_serial_drv, &s3c24a0_uart_inf);
+}
+
+static void __exit s3c24a0_serial_exit(void)
+{
+	platform_driver_unregister(&s3c24a0_serial_drv);
+}
+
+module_init(s3c24a0_serial_init);
+module_exit(s3c24a0_serial_exit);
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/serial/s3c6400.c linux-2.6.28.6/drivers/serial/s3c6400.c
--- linux-2.6.28/drivers/serial/s3c6400.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/serial/s3c6400.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,151 @@
+/* linux/drivers/serial/s3c6400.c
+ *
+ * Driver for Samsung S3C6400 and S3C6410 SoC onboard UARTs.
+ *
+ * Copyright 2008 Openmoko,  Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/ioport.h>
+#include <linux/io.h>
+#include <linux/platform_device.h>
+#include <linux/init.h>
+#include <linux/serial_core.h>
+#include <linux/serial.h>
+
+#include <asm/irq.h>
+#include <mach/hardware.h>
+
+#include <plat/regs-serial.h>
+
+#include "samsung.h"
+
+static int s3c6400_serial_setsource(struct uart_port *port,
+				    struct s3c24xx_uart_clksrc *clk)
+{
+	unsigned long ucon = rd_regl(port, S3C2410_UCON);
+
+	if (strcmp(clk->name, "uclk0") == 0) {
+		ucon &= ~S3C6400_UCON_CLKMASK;
+		ucon |= S3C6400_UCON_UCLK0;
+	} else if (strcmp(clk->name, "uclk1") == 0)
+		ucon |= S3C6400_UCON_UCLK1;
+	else if (strcmp(clk->name, "pclk") == 0) {
+		/* See notes about transitioning from UCLK to PCLK */
+		ucon &= ~S3C6400_UCON_UCLK0;
+	} else {
+		printk(KERN_ERR "unknown clock source %s\n", clk->name);
+		return -EINVAL;
+	}
+
+	wr_regl(port, S3C2410_UCON, ucon);
+	return 0;
+}
+
+
+static int s3c6400_serial_getsource(struct uart_port *port,
+				    struct s3c24xx_uart_clksrc *clk)
+{
+	u32 ucon = rd_regl(port, S3C2410_UCON);
+
+	clk->divisor = 1;
+
+	switch (ucon & S3C6400_UCON_CLKMASK) {
+	case S3C6400_UCON_UCLK0:
+		clk->name = "uclk0";
+		break;
+
+	case S3C6400_UCON_UCLK1:
+		clk->name = "uclk1";
+		break;
+
+	case S3C6400_UCON_PCLK:
+	case S3C6400_UCON_PCLK2:
+		clk->name = "pclk";
+		break;
+	}
+
+	return 0;
+}
+
+static int s3c6400_serial_resetport(struct uart_port *port,
+				    struct s3c2410_uartcfg *cfg)
+{
+	unsigned long ucon = rd_regl(port, S3C2410_UCON);
+
+	dbg("s3c6400_serial_resetport: port=%p (%08lx), cfg=%p\n",
+	    port, port->mapbase, cfg);
+
+	/* ensure we don't change the clock settings... */
+
+	ucon &= S3C6400_UCON_CLKMASK;
+
+	wr_regl(port, S3C2410_UCON,  ucon | cfg->ucon);
+	wr_regl(port, S3C2410_ULCON, cfg->ulcon);
+
+	/* reset both fifos */
+
+	wr_regl(port, S3C2410_UFCON, cfg->ufcon | S3C2410_UFCON_RESETBOTH);
+	wr_regl(port, S3C2410_UFCON, cfg->ufcon);
+
+	return 0;
+}
+
+static struct s3c24xx_uart_info s3c6400_uart_inf = {
+	.name		= "Samsung S3C6400 UART",
+	.type		= PORT_S3C6400,
+	.fifosize	= 64,
+	.rx_fifomask	= S3C2440_UFSTAT_RXMASK,
+	.rx_fifoshift	= S3C2440_UFSTAT_RXSHIFT,
+	.rx_fifofull	= S3C2440_UFSTAT_RXFULL,
+	.tx_fifofull	= S3C2440_UFSTAT_TXFULL,
+	.tx_fifomask	= S3C2440_UFSTAT_TXMASK,
+	.tx_fifoshift	= S3C2440_UFSTAT_TXSHIFT,
+	.get_clksrc	= s3c6400_serial_getsource,
+	.set_clksrc	= s3c6400_serial_setsource,
+	.reset_port	= s3c6400_serial_resetport,
+};
+
+/* device management */
+
+static int s3c6400_serial_probe(struct platform_device *dev)
+{
+	dbg("s3c6400_serial_probe: dev=%p\n", dev);
+	return s3c24xx_serial_probe(dev, &s3c6400_uart_inf);
+}
+
+static struct platform_driver s3c6400_serial_drv = {
+	.probe		= s3c6400_serial_probe,
+	.remove		= s3c24xx_serial_remove,
+	.driver		= {
+		.name	= "s3c6400-uart",
+		.owner	= THIS_MODULE,
+	},
+};
+
+s3c24xx_console_init(&s3c6400_serial_drv, &s3c6400_uart_inf);
+
+static int __init s3c6400_serial_init(void)
+{
+	return s3c24xx_serial_init(&s3c6400_serial_drv, &s3c6400_uart_inf);
+}
+
+static void __exit s3c6400_serial_exit(void)
+{
+	platform_driver_unregister(&s3c6400_serial_drv);
+}
+
+module_init(s3c6400_serial_init);
+module_exit(s3c6400_serial_exit);
+
+MODULE_DESCRIPTION("Samsung S3C6400,S3C6410 SoC Serial port driver");
+MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>");
+MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:s3c6400-uart");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/serial/s5pc100.c linux-2.6.28.6/drivers/serial/s5pc100.c
--- linux-2.6.28/drivers/serial/s5pc100.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/serial/s5pc100.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,148 @@
+/* linux/drivers/serial/s3c6400.c
+ *
+ * Driver for Samsung S3C6400 and S3C6410 SoC onboard UARTs.
+ *
+ * Copyright 2008 Openmoko,  Inc.
+ * Copyright 2008 Simtec Electronics
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	http://armlinux.simtec.co.uk/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/module.h>
+#include <linux/ioport.h>
+#include <linux/io.h>
+#include <linux/platform_device.h>
+#include <linux/init.h>
+#include <linux/serial_core.h>
+#include <linux/serial.h>
+
+#include <asm/irq.h>
+#include <mach/hardware.h>
+
+#include <plat/regs-serial.h>
+
+#include "samsung.h"
+
+static int s3c6400_serial_setsource(struct uart_port *port,
+				    struct s3c24xx_uart_clksrc *clk)
+{
+	unsigned long ucon = rd_regl(port, S3C2410_UCON);
+
+	if (strcmp(clk->name, "uclk0") == 0) {
+		ucon &= ~S3C6400_UCON_CLKMASK;
+		ucon |= S3C6400_UCON_UCLK0;
+	} else if (strcmp(clk->name, "uclk1") == 0)
+		ucon |= S3C6400_UCON_UCLK1;
+	else if (strcmp(clk->name, "pclk") == 0) {
+		/* See notes about transitioning from UCLK to PCLK */
+		ucon &= ~S3C6400_UCON_UCLK0;
+	} else {
+		printk(KERN_ERR "unknown clock source %s\n", clk->name);
+		return -EINVAL;
+	}
+
+	wr_regl(port, S3C2410_UCON, ucon);
+	return 0;
+}
+
+
+static int s3c6400_serial_getsource(struct uart_port *port,
+				    struct s3c24xx_uart_clksrc *clk)
+{
+	u32 ucon = rd_regl(port, S3C2410_UCON);
+
+	clk->divisor = 1;
+
+	switch (ucon & S3C6400_UCON_CLKMASK) {
+	case S3C6400_UCON_UCLK0:
+		clk->name = "uclk0";
+		break;
+
+	case S3C6400_UCON_UCLK1:
+		clk->name = "uclk1";
+		break;
+
+	case S3C6400_UCON_PCLK:
+	case S3C6400_UCON_PCLK2:
+		clk->name = "pclk";
+		break;
+	}
+
+	return 0;
+}
+
+static int s3c6400_serial_resetport(struct uart_port *port,
+				    struct s3c2410_uartcfg *cfg)
+{
+	unsigned long ucon = rd_regl(port, S3C2410_UCON);
+
+	dbg("s3c6400_serial_resetport: port=%p (%08lx), cfg=%p\n",
+	    port, port->mapbase, cfg);
+
+	ucon &= S3C6400_UCON_CLKMASK;
+
+	wr_regl(port, S3C2410_UCON,  ucon | cfg->ucon);
+	wr_regl(port, S3C2410_ULCON, cfg->ulcon);
+
+	/* reset both fifos */
+
+	wr_regl(port, S3C2410_UFCON, cfg->ufcon | S3C2410_UFCON_RESETBOTH);
+	wr_regl(port, S3C2410_UFCON, cfg->ufcon);
+
+	return 0;
+}
+
+static struct s3c24xx_uart_info s5p_uart_inf = {
+	.name		= "Samsung S5PC100 UART",
+	.type		= PORT_S3C6400,
+	.fifosize	= 64,
+	.rx_fifomask	= S3C2440_UFSTAT_RXMASK,
+	.rx_fifoshift	= S3C2440_UFSTAT_RXSHIFT,
+	.rx_fifofull	= S3C2440_UFSTAT_RXFULL,
+	.tx_fifofull	= S3C2440_UFSTAT_TXFULL,
+	.tx_fifomask	= S3C2440_UFSTAT_TXMASK,
+	.tx_fifoshift	= S3C2440_UFSTAT_TXSHIFT,
+	.get_clksrc	= s3c6400_serial_getsource,
+	.set_clksrc	= s3c6400_serial_setsource,
+	.reset_port	= s3c6400_serial_resetport,
+};
+
+/* device management */
+static int s5p_serial_probe(struct platform_device *dev)
+{
+	dbg("s5p_serial_probe: dev=%p\n", dev);
+	return s3c24xx_serial_probe(dev, &s5p_uart_inf);
+}
+
+static struct platform_driver s5p_serial_drv = {
+	.probe		= s5p_serial_probe,
+	.remove		= s3c24xx_serial_remove,
+	.driver		= {
+		.name	= "s5pc100-uart",
+		.owner	= THIS_MODULE,
+	},
+};
+
+s3c24xx_console_init(&s5p_serial_drv, &s5p_uart_inf);
+
+static int __init s5p_serial_init(void)
+{
+	return s3c24xx_serial_init(&s5p_serial_drv, &s5p_uart_inf);
+}
+
+static void __exit s5p_serial_exit(void)
+{
+	platform_driver_unregister(&s5p_serial_drv);
+}
+
+module_init(s5p_serial_init);
+module_exit(s5p_serial_exit);
+
+MODULE_DESCRIPTION("Samsung S5PC100 SoC Serial port driver");
+MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>");
+MODULE_LICENSE("GPL v2");
+MODULE_ALIAS("platform:s5pc100-uart");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/serial/samsung.c linux-2.6.28.6/drivers/serial/samsung.c
--- linux-2.6.28/drivers/serial/samsung.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/serial/samsung.c	2009-10-13 08:59:46.000000000 +0200
@@ -42,13 +42,14 @@
 #include <linux/serial.h>
 #include <linux/delay.h>
 #include <linux/clk.h>
+#include <linux/cpufreq.h>
 
 #include <asm/irq.h>
 
 #include <mach/hardware.h>
+#include <mach/map.h>
 
 #include <plat/regs-serial.h>
-#include <mach/regs-gpio.h>
 
 #include "samsung.h"
 
@@ -58,19 +59,6 @@
 #define S3C24XX_SERIAL_MAJOR	204
 #define S3C24XX_SERIAL_MINOR	64
 
-/* we can support 3 uarts, but not always use them */
-
-#ifdef CONFIG_CPU_S3C2400
-#define NR_PORTS (2)
-#else
-#define NR_PORTS (3)
-#endif
-
-/* port irq numbers */
-
-#define TX_IRQ(port) ((port)->irq + 1)
-#define RX_IRQ(port) ((port)->irq)
-
 /* macros to change one thing to another */
 
 #define tx_enabled(port) ((port)->unused[0])
@@ -79,6 +67,9 @@
 /* flag to ignore all characters comming in */
 #define RXSTAT_DUMMY_READ (0x10000000)
 
+const unsigned int nSlotTable[16] = {0x0000, 0x0080, 0x0808, 0x0888, 0x2222, 0x4924, 0x4a52, 0x54aa,
+                                                0x5555, 0xd555, 0xd5d5, 0xddd5, 0xdddd, 0xdfdd, 0xdfdf, 0xffdf};
+
 static inline struct s3c24xx_uart_port *to_ourport(struct uart_port *port)
 {
 	return container_of(port, struct s3c24xx_uart_port, port);
@@ -136,8 +127,10 @@
 
 static void s3c24xx_serial_stop_tx(struct uart_port *port)
 {
+	struct s3c24xx_uart_port *ourport = to_ourport(port);
+
 	if (tx_enabled(port)) {
-		disable_irq(TX_IRQ(port));
+		disable_irq(ourport->tx_irq);
 		tx_enabled(port) = 0;
 		if (port->flags & UPF_CONS_FLOW)
 			s3c24xx_serial_rx_enable(port);
@@ -146,11 +139,13 @@
 
 static void s3c24xx_serial_start_tx(struct uart_port *port)
 {
+	struct s3c24xx_uart_port *ourport = to_ourport(port);
+
 	if (!tx_enabled(port)) {
 		if (port->flags & UPF_CONS_FLOW)
 			s3c24xx_serial_rx_disable(port);
 
-		enable_irq(TX_IRQ(port));
+		enable_irq(ourport->tx_irq);
 		tx_enabled(port) = 1;
 	}
 }
@@ -158,9 +153,11 @@
 
 static void s3c24xx_serial_stop_rx(struct uart_port *port)
 {
+	struct s3c24xx_uart_port *ourport = to_ourport(port);
+
 	if (rx_enabled(port)) {
 		dbg("s3c24xx_serial_stop_rx: port=%p\n", port);
-		disable_irq(RX_IRQ(port));
+		disable_irq(ourport->rx_irq);
 		rx_enabled(port) = 0;
 	}
 }
@@ -384,13 +381,13 @@
 	struct s3c24xx_uart_port *ourport = to_ourport(port);
 
 	if (ourport->tx_claimed) {
-		free_irq(TX_IRQ(port), ourport);
+		free_irq(ourport->tx_irq, ourport);
 		tx_enabled(port) = 0;
 		ourport->tx_claimed = 0;
 	}
 
 	if (ourport->rx_claimed) {
-		free_irq(RX_IRQ(port), ourport);
+		free_irq(ourport->rx_irq, ourport);
 		ourport->rx_claimed = 0;
 		rx_enabled(port) = 0;
 	}
@@ -407,12 +404,11 @@
 
 	rx_enabled(port) = 1;
 
-	ret = request_irq(RX_IRQ(port),
-			  s3c24xx_serial_rx_chars, 0,
+	ret = request_irq(ourport->rx_irq, s3c24xx_serial_rx_chars, 0,
 			  s3c24xx_serial_portname(port), ourport);
 
 	if (ret != 0) {
-		printk(KERN_ERR "cannot get irq %d\n", RX_IRQ(port));
+		printk(KERN_ERR "cannot get irq %d\n", ourport->rx_irq);
 		return ret;
 	}
 
@@ -422,12 +418,11 @@
 
 	tx_enabled(port) = 1;
 
-	ret = request_irq(TX_IRQ(port),
-			  s3c24xx_serial_tx_chars, 0,
+	ret = request_irq(ourport->tx_irq, s3c24xx_serial_tx_chars, 0,
 			  s3c24xx_serial_portname(port), ourport);
 
 	if (ret) {
-		printk(KERN_ERR "cannot get irq %d\n", TX_IRQ(port));
+		printk(KERN_ERR "cannot get irq %d\n", ourport->tx_irq);
 		goto err;
 	}
 
@@ -452,6 +447,8 @@
 {
 	struct s3c24xx_uart_port *ourport = to_ourport(port);
 
+	ourport->pm_level = level;
+
 	switch (level) {
 	case 3:
 		if (!IS_ERR(ourport->baudclk) && ourport->baudclk != NULL)
@@ -515,6 +512,9 @@
 	struct s3c24xx_uart_clksrc	*clksrc;
 	unsigned int			 calc;
 	unsigned int			 quot;
+#if defined(CONFIG_CPU_S5PC100)
+        unsigned int                     slot;
+#endif
 	struct clk			*src;
 };
 
@@ -524,6 +524,9 @@
 				   unsigned int baud)
 {
 	unsigned long rate;
+#if defined(CONFIG_CPU_S5PC100)
+        unsigned long tempdiv, nslot;
+#endif
 
 	calc->src = clk_get(port->dev, clksrc->name);
 	if (calc->src == NULL || IS_ERR(calc->src))
@@ -532,6 +535,12 @@
 	rate = clk_get_rate(calc->src);
 	rate /= clksrc->divisor;
 
+#if defined(CONFIG_CPU_S5PC100)
+        tempdiv = (rate*10/(baud*16))-100;
+        nslot = (((tempdiv%100)*16)+50)/100;
+        calc->slot = nSlotTable[nslot];
+#endif
+
 	calc->clksrc = clksrc;
 	calc->quot = (rate + (8 * baud)) / (16 * baud);
 	calc->calc = (rate / (calc->quot * 16));
@@ -540,10 +549,17 @@
 	return 1;
 }
 
+#if defined(CONFIG_CPU_S5PC100)
+static unsigned int s3c24xx_serial_getclk(struct uart_port *port,
+                                          struct s3c24xx_uart_clksrc **clksrc,
+                                          struct clk **clk,
+                                          unsigned int baud, unsigned int *slot)
+#else
 static unsigned int s3c24xx_serial_getclk(struct uart_port *port,
 					  struct s3c24xx_uart_clksrc **clksrc,
 					  struct clk **clk,
 					  unsigned int baud)
+#endif
 {
 	struct s3c2410_uartcfg *cfg = s3c24xx_port_to_cfg(port);
 	struct s3c24xx_uart_clksrc *clkp;
@@ -609,12 +625,19 @@
 		}
 	}
 
+	if(best) {
 	/* store results to pass back */
 
 	*clksrc = best->clksrc;
 	*clk    = best->src;
+#if defined(CONFIG_CPU_S5PC100)
+        *slot   = best->slot;
+#endif
 
 	return best->quot;
+	} else {
+		return -EINVAL;
+	}
 }
 
 static void s3c24xx_serial_set_termios(struct uart_port *port,
@@ -629,7 +652,9 @@
 	unsigned int baud, quot;
 	unsigned int ulcon;
 	unsigned int umcon;
-
+#if defined(CONFIG_CPU_S5PC100)
+	unsigned int slot = 0;
+#endif
 	/*
 	 * We don't support modem control lines.
 	 */
@@ -640,12 +665,20 @@
 	 * Ask the core to calculate the divisor for us.
 	 */
 
+#if defined(CONFIG_CPU_S5PC100)
+	baud = uart_get_baud_rate(port, termios, old, 0, 4000000);
+#else
 	baud = uart_get_baud_rate(port, termios, old, 0, 115200*8);
+#endif
 
 	if (baud == 38400 && (port->flags & UPF_SPD_MASK) == UPF_SPD_CUST)
 		quot = port->custom_divisor;
 	else
+#if defined(CONFIG_CPU_S5PC100)
+		quot = s3c24xx_serial_getclk(port, &clksrc, &clk, baud, &slot);
+#else
 		quot = s3c24xx_serial_getclk(port, &clksrc, &clk, baud);
+#endif
 
 	/* check to see if we need  to change clock source */
 
@@ -661,6 +694,7 @@
 
 		ourport->clksrc = clksrc;
 		ourport->baudclk = clk;
+		ourport->baudclk_rate = clk ? clk_get_rate(clk) : 0;
 	}
 
 	switch (termios->c_cflag & CSIZE) {
@@ -706,6 +740,9 @@
 
 	wr_regl(port, S3C2410_ULCON, ulcon);
 	wr_regl(port, S3C2410_UBRDIV, quot);
+#if defined(CONFIG_CPU_S5PC100)
+	wr_regl(port, S3C_UDIVSLOT, slot);
+#endif
 	wr_regl(port, S3C2410_UMCON, umcon);
 
 	dbg("uart: ulcon = 0x%08x, ucon = 0x%08x, ufcon = 0x%08x\n",
@@ -752,6 +789,8 @@
 		return "S3C2440";
 	case PORT_S3C2412:
 		return "S3C2412";
+	case PORT_S3C6400:
+		return "S3C6400/10";
 	default:
 		return NULL;
 	}
@@ -827,14 +866,14 @@
 static struct uart_driver s3c24xx_uart_drv = {
 	.owner		= THIS_MODULE,
 	.dev_name	= "s3c2410_serial",
-	.nr		= 3,
+	.nr		= CONFIG_SERIAL_SAMSUNG_UARTS,
 	.cons		= S3C24XX_SERIAL_CONSOLE,
 	.driver_name	= S3C24XX_SERIAL_NAME,
 	.major		= S3C24XX_SERIAL_MAJOR,
 	.minor		= S3C24XX_SERIAL_MINOR,
 };
 
-static struct s3c24xx_uart_port s3c24xx_serial_ports[NR_PORTS] = {
+static struct s3c24xx_uart_port s3c24xx_serial_ports[CONFIG_SERIAL_SAMSUNG_UARTS] = {
 	[0] = {
 		.port = {
 			.lock		= __SPIN_LOCK_UNLOCKED(s3c24xx_serial_ports[0].port.lock),
@@ -859,7 +898,7 @@
 			.line		= 1,
 		}
 	},
-#if NR_PORTS > 2
+#if CONFIG_SERIAL_SAMSUNG_UARTS > 2
 
 	[2] = {
 		.port = {
@@ -872,6 +911,20 @@
 			.flags		= UPF_BOOT_AUTOCONF,
 			.line		= 2,
 		}
+	},
+#endif
+#if CONFIG_SERIAL_SAMSUNG_UARTS > 3
+	[3] = {
+		.port = {
+			.lock		= __SPIN_LOCK_UNLOCKED(s3c24xx_serial_ports[3].port.lock),
+			.iotype		= UPIO_MEM,
+			.irq		= IRQ_S3CUART_RX3,
+			.uartclk	= 0,
+			.fifosize	= 16,
+			.ops		= &s3c24xx_serial_ops,
+			.flags		= UPF_BOOT_AUTOCONF,
+			.line		= 3,
+		}
 	}
 #endif
 };
@@ -890,6 +943,93 @@
 	return (info->reset_port)(port, cfg);
 }
 
+
+#ifdef CONFIG_CPU_FREQ
+
+static int s3c24xx_serial_cpufreq_transition(struct notifier_block *nb,
+					     unsigned long val, void *data)
+{
+	struct s3c24xx_uart_port *port;
+	struct uart_port *uport;
+
+	port = container_of(nb, struct s3c24xx_uart_port, freq_transition);
+	uport = &port->port;
+
+	/* check to see if port is enabled */
+
+	if (port->pm_level != 0)
+		return 0;
+
+	/* try and work out if the baudrate is changing, we can detect
+	 * a change in rate, but we do not have support for detecting
+	 * a disturbance in the clock-rate over the change.
+	 */
+
+	if (IS_ERR(port->clk))
+		goto exit;
+
+	if (port->baudclk_rate == clk_get_rate(port->clk))
+		goto exit;
+
+	if (val == CPUFREQ_PRECHANGE) {
+		/* we should really shut the port down whilst the
+		 * frequency change is in progress. */
+
+	} else if (val == CPUFREQ_POSTCHANGE) {
+		struct ktermios *termios;
+		struct tty_struct *tty;
+
+		if (uport->info == NULL) {
+			printk(KERN_WARNING "%s: info NULL\n", __func__);
+			goto exit;
+		}
+
+		tty = uport->info->port.tty;
+
+		if (tty == NULL) {
+			printk(KERN_WARNING "%s: tty is NULL\n", __func__);
+			goto exit;
+		}
+
+		termios = tty->termios;
+
+		if (termios == NULL) {
+			printk(KERN_WARNING "%s: no termios?\n", __func__);
+			goto exit;
+		}
+
+		s3c24xx_serial_set_termios(uport, termios, NULL);
+	}
+
+ exit:
+	return 0;
+}
+
+static inline int s3c24xx_serial_cpufreq_register(struct s3c24xx_uart_port *port)
+{
+	port->freq_transition.notifier_call = s3c24xx_serial_cpufreq_transition;
+
+	return cpufreq_register_notifier(&port->freq_transition,
+					 CPUFREQ_TRANSITION_NOTIFIER);
+}
+
+static inline void s3c24xx_serial_cpufreq_deregister(struct s3c24xx_uart_port *port)
+{
+	cpufreq_unregister_notifier(&port->freq_transition,
+				    CPUFREQ_TRANSITION_NOTIFIER);
+}
+
+#else
+static inline int s3c24xx_serial_cpufreq_register(struct s3c24xx_uart_port *port)
+{
+	return 0;
+}
+
+static inline void s3c24xx_serial_cpufreq_deregister(struct s3c24xx_uart_port *port)
+{
+}
+#endif
+
 /* s3c24xx_serial_init_port
  *
  * initialise a single serial port from the platform device given
@@ -914,8 +1054,11 @@
 	if (port->mapbase != 0)
 		return 0;
 
-	if (cfg->hwport > 3)
-		return -EINVAL;
+	if (cfg->hwport > CONFIG_SERIAL_SAMSUNG_UARTS) {
+		printk(KERN_ERR "%s: port %d bigger than %d\n", __func__,
+		       cfg->hwport, CONFIG_SERIAL_SAMSUNG_UARTS);
+		return -ERANGE;
+	}
 
 	/* setup info for port */
 	port->dev	= &platdev->dev;
@@ -944,17 +1087,25 @@
 	dbg("resource %p (%lx..%lx)\n", res, res->start, res->end);
 
 	port->mapbase	= res->start;
-	port->membase	= S3C24XX_VA_UART + (res->start - S3C24XX_PA_UART);
+	port->membase = S3C_VA_UART + res->start - (S3C_PA_UART & 0xfff00000);
 	ret = platform_get_irq(platdev, 0);
 	if (ret < 0)
 		port->irq = 0;
-	else
+	else {
 		port->irq = ret;
+		ourport->rx_irq = ret;
+		ourport->tx_irq = ret + 1;
+	}
+
+	ret = platform_get_irq(platdev, 1);
+	if (ret > 0)
+		ourport->tx_irq = ret;
 
 	ourport->clk	= clk_get(&platdev->dev, "uart");
 
-	dbg("port: map=%08x, mem=%08x, irq=%d, clock=%ld\n",
-	    port->mapbase, port->membase, port->irq, port->uartclk);
+	dbg("port: map=%08x, mem=%08x, irq=%d (%d,%d), clock=%ld\n",
+	    port->mapbase, port->membase, port->irq,
+	    ourport->rx_irq, ourport->tx_irq, port->uartclk);
 
 	/* reset the fifos (and setup the uart) */
 	s3c24xx_serial_resetport(port, cfg);
@@ -1002,6 +1153,10 @@
 	if (ret < 0)
 		printk(KERN_ERR "%s: failed to add clksrc attr.\n", __func__);
 
+	ret = s3c24xx_serial_cpufreq_register(ourport);
+	if (ret < 0)
+		dev_err(&dev->dev, "failed to add cpufreq notifier\n");
+
 	return 0;
 
  probe_err:
@@ -1015,6 +1170,7 @@
 	struct uart_port *port = s3c24xx_dev_to_port(&dev->dev);
 
 	if (port) {
+		s3c24xx_serial_cpufreq_deregister(to_ourport(port));
 		device_remove_file(&dev->dev, &dev_attr_clock_source);
 		uart_remove_one_port(&s3c24xx_uart_drv, port);
 	}
@@ -1216,10 +1369,11 @@
 	int i;
 
 	dbg("s3c24xx_serial_init_ports: initialising ports...\n");
+	printk("s3c24xx_serial_init_ports: initialising ports=%d...\n",CONFIG_SERIAL_SAMSUNG_UARTS);
 
 	platdev_ptr = s3c24xx_uart_devs;
 
-	for (i = 0; i < NR_PORTS; i++, ptr++, platdev_ptr++) {
+	for (i = 0; i < CONFIG_SERIAL_SAMSUNG_UARTS; i++, ptr++, platdev_ptr++) {
 		s3c24xx_serial_init_port(ptr, info, *platdev_ptr);
 	}
 
@@ -1240,7 +1394,7 @@
 
 	/* is this a valid port */
 
-	if (co->index == -1 || co->index >= NR_PORTS)
+	if (co->index == -1 || co->index >= CONFIG_SERIAL_SAMSUNG_UARTS)
 		co->index = 0;
 
 	port = &s3c24xx_serial_ports[co->index].port;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/serial/samsung.h linux-2.6.28.6/drivers/serial/samsung.h
--- linux-2.6.28/drivers/serial/samsung.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/serial/samsung.h	2009-11-01 10:21:35.000000000 +0100
@@ -33,12 +33,21 @@
 struct s3c24xx_uart_port {
 	unsigned char			rx_claimed;
 	unsigned char			tx_claimed;
+	unsigned int			pm_level;
+	unsigned long			baudclk_rate;
+
+	unsigned int			rx_irq;
+	unsigned int			tx_irq;
 
 	struct s3c24xx_uart_info	*info;
 	struct s3c24xx_uart_clksrc	*clksrc;
 	struct clk			*clk;
 	struct clk			*baudclk;
 	struct uart_port		port;
+
+#ifdef CONFIG_CPU_FREQ
+	struct notifier_block		freq_transition;
+#endif
 };
 
 /* conversion functions */
@@ -81,6 +90,8 @@
 #define s3c24xx_console_init(drv, inf) extern void no_console(void)
 #endif
 
+//#define CONFIG_SERIAL_SAMSUNG_DEBUG
+
 #ifdef CONFIG_SERIAL_SAMSUNG_DEBUG
 
 extern void printascii(const char *);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/spi/Kconfig linux-2.6.28.6/drivers/spi/Kconfig
--- linux-2.6.28/drivers/spi/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/spi/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -188,6 +188,69 @@
 	help
 	  SPI driver for SuperH SCI blocks.
 
+config HS_SPI_S3C6410
+	tristate "S3C6410 SPI Driver"
+	depends on SPI && CPU_S3C6410
+	help
+	  Say Y here to include support for SPI controller in the
+	  Samsung S3C6410 based System-on-Chip devices.
+
+config HS_SPI_S5P6440
+	tristate "S5P6440 SPI Driver"
+	depends on SPI && CPU_S5P6440
+	help
+	  Say Y here to include support for SPI controller in the
+	  Samsung S5P6440 based System-on-Chip devices.
+
+config HS_SPI_S5PC100
+	tristate "S5PC100 SPI Driver"
+	depends on SPI && CPU_S5PC100
+	help
+	  Say Y here to include support for SPI controller in the
+	  Samsung S5PC100 based System-on-Chip devices.
+
+choice
+        prompt "SPI Source Clock"
+	depends on (HS_SPI_S3C6410 || HS_SPI_S5P6440 || HS_SPI_S5PC100)
+
+config SPICLK_SRC_PCLK
+	bool "PCLK"
+	depends on (HS_SPI_S3C6410 || HS_SPI_S5P6440 || HS_SPI_S5PC100)
+	help
+	  Say Y here to include support for pclk source.
+
+config SPICLK_SRC_USB
+	bool "USBCLK"
+	depends on HS_SPI_S3C6410
+	help
+	  Say Y here to include support for USB clock source.
+
+config SPICLK_SRC_EPLL
+	bool "EPLL Clock"
+	depends on  HS_SPI_S3C6410
+	help
+	  Say Y here to include support for EPLL source.
+
+config SPICLK_SRC_SPIEXT
+	bool "SPI External Clock"
+	depends on  HS_SPI_S5P6440
+	help
+	  Say Y here to include support for EPLL source.
+
+config SPICLK_SRC_SCLK48M
+	bool "SCLK SPI 48M"
+	depends on  HS_SPI_S5PC100
+	help
+	  Say Y here to include support for EPLL source.
+
+config SPICLK_SRC_SCLKSPI
+	bool "SCLK SPI"
+	depends on HS_SPI_S5PC100
+	help
+	  Say Y here to include support for USB clock source.
+
+endchoice
+
 config SPI_TXX9
 	tristate "Toshiba TXx9 SPI controller"
 	depends on GENERIC_GPIO && CPU_TX49XX
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/spi/Makefile linux-2.6.28.6/drivers/spi/Makefile
--- linux-2.6.28/drivers/spi/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/spi/Makefile	2009-04-30 09:36:39.000000000 +0200
@@ -29,6 +29,9 @@
 obj-$(CONFIG_SPI_TXX9)			+= spi_txx9.o
 obj-$(CONFIG_SPI_XILINX)		+= xilinx_spi.o
 obj-$(CONFIG_SPI_SH_SCI)		+= spi_sh_sci.o
+obj-$(CONFIG_HS_SPI_S3C6410)		+= spi_sam.o
+obj-$(CONFIG_HS_SPI_S5PC100)		+= spi_sam.o
+obj-$(CONFIG_HS_SPI_S5P6440)		+= spi_sam-6440.o
 # 	... add above this line ...
 
 # SPI protocol drivers (device/link on bus)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/spi/spi-dev.c linux-2.6.28.6/drivers/spi/spi-dev.c
--- linux-2.6.28/drivers/spi/spi-dev.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/spi/spi-dev.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,353 @@
+/*
+*    spi-dev.c - spi-bus driver, char device interface
+*
+*	Copyright (C) 2006 Samsung Electronics Co. Ltd.
+*
+*   This program is free software; you can redistribute it and/or modify
+*   it under the terms of the GNU General Public License as published by
+*   the Free Software Foundation; either version 2 of the License, or
+*   (at your option) any later version.
+*
+*   This program is distributed in the hope that it will be useful,
+*   but WITHOUT ANY WARRANTY; without even the implied warranty of
+*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+*   GNU General Public License for more details.
+*
+*   You should have received a copy of the GNU General Public License
+*   along with this program; if not, write to the Free Software
+*   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+*/
+#include <asm/dma.h>
+#include <mach/hardware.h>
+#include <mach/s3c-dma.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/fs.h>
+#include <linux/slab.h>
+#include <linux/smp_lock.h>
+#include <linux/init.h>
+#include <linux/dma-mapping.h>
+#include "spi-dev.h"
+#include <asm/uaccess.h>
+
+#undef debug
+#ifdef debug
+#define CRDEBUG	printk("%s :: %d\n",__FUNCTION__,__LINE__)
+#else
+#define CRDEBUG
+#endif
+
+static struct spi_dev *spi_dev_array[SPI_MINORS];
+static spinlock_t (spi_dev_array_lock) = SPIN_LOCK_UNLOCKED;
+
+static struct spi_dev *attach_to_spi_dev_array(struct spi_dev *spi_dev)
+{
+	CRDEBUG;
+	spin_lock(&spi_dev_array_lock);
+	if (spi_dev_array[spi_dev->minor]) {
+		spin_unlock(&spi_dev_array_lock);
+		dev_err(&spi_dev->dev, "spi-dev already has a device assigned to this adapter\n");
+		goto error;
+	}
+	spi_dev_array[spi_dev->minor] = spi_dev;
+	spin_unlock(&spi_dev_array_lock);
+	return spi_dev;
+error:
+	return ERR_PTR(-ENODEV);
+}
+
+static void return_spi_dev(struct spi_dev *spi_dev)
+{
+	CRDEBUG;
+	spin_lock(&spi_dev_array_lock);
+	spi_dev_array[spi_dev->minor] = NULL;
+	spin_unlock(&spi_dev_array_lock);
+}
+
+int spi_attach_spidev(struct spi_dev *spidev)
+{
+	struct spi_dev *spi_dev;
+
+	CRDEBUG;
+	spi_dev = attach_to_spi_dev_array(spidev);
+	if (IS_ERR(spi_dev))
+		return PTR_ERR(spi_dev);
+
+	dev_dbg(&spi_dev->dev, "Registered as minor %d\n", spi_dev->minor);
+
+	return 0;
+}
+
+int spi_detach_spidev(struct spi_dev *spi_dev)
+{
+	CRDEBUG;
+	return_spi_dev(spi_dev);
+
+	dev_dbg(&spi_dev->dev, "Adapter unregistered\n");
+	return 0;
+}
+
+struct spi_dev *spi_dev_get_by_minor(unsigned index)
+{
+	struct spi_dev *spi_dev;
+
+	CRDEBUG;
+	spin_lock(&spi_dev_array_lock);
+	spi_dev = spi_dev_array[index];
+	spin_unlock(&spi_dev_array_lock);
+	return spi_dev;
+}
+
+int spi_master_recv(struct spi_dev *spi_dev, char *rbuf ,int count)
+{
+	struct spi_msg msg;
+	int ret;
+
+	CRDEBUG;
+	if (spi_dev->algo->master_xfer) {
+		msg.flags = spi_dev->flags;
+		msg.len = count;
+		msg.wbuf = NULL;
+		msg.rbuf = rbuf;
+
+		dev_dbg(&spi_dev->dev, "master_recv: reading %d bytes.\n",
+			count);
+
+		down(&spi_dev->bus_lock);
+		ret = spi_dev->algo->master_xfer(spi_dev, &msg, 1);
+		up(&spi_dev->bus_lock);
+
+		dev_dbg(&spi_dev->dev, "master_recv: return:%d (count:%d)\n",
+			ret, count);
+
+		/* if everything went ok (i.e. 1 msg transmitted), return #bytes
+	 	* transmitted, else error code.
+	 	*/
+		return (ret == 1 )? count : ret;
+	} else {
+		dev_err(&spi_dev->dev, "SPI level transfers not supported\n");
+		return -ENOSYS;
+	}
+}
+
+int spi_master_send(struct spi_dev *spi_dev, const char *wbuf, int count)
+{
+	int ret;
+	struct spi_msg msg;
+
+	CRDEBUG;
+	if (spi_dev->algo->master_xfer) {
+		msg.flags = spi_dev->flags;
+		msg.len = count;
+		msg.wbuf = (char *)wbuf;
+		msg.rbuf = NULL;
+
+		dev_dbg(&spi_dev->dev, "master_send: writing %d bytes.\n",
+			count);
+		down(&spi_dev->bus_lock);
+		ret = spi_dev->algo->master_xfer(spi_dev, &msg, 1);
+		up(&spi_dev->bus_lock);
+
+		/* if everything went ok (i.e. 1 msg transmitted), return #bytes
+		 * transmitted, else error code.
+		 */
+		return (ret == 1 )? count : ret;
+	} else {
+		dev_err(&spi_dev->dev, "SPI level transfers not supported\n");
+		return -ENOSYS;
+	}
+}
+
+static ssize_t spidev_read (struct file *file, char __user *buf, size_t count,
+                            loff_t *offset)
+{
+	char *tmp;
+	int ret;
+	struct spi_dev *spi_dev = (struct spi_dev *)file->private_data;
+#ifdef CONFIG_WORD_TRANSIZE
+	count = count * 4;
+#endif
+	CRDEBUG;
+	if (count > BUFFER_SIZE)
+		count = BUFFER_SIZE;
+
+	if (spi_dev->flags & SPI_M_DMA_MODE){
+		tmp = dma_alloc_coherent(NULL, BUFFER_SIZE,
+			  &spi_dev->dmabuf, GFP_KERNEL | GFP_DMA);
+	} else {
+		tmp = kmalloc(count,GFP_KERNEL);
+	}
+	if (tmp==NULL)
+		return -ENOMEM;
+
+	pr_debug("%s: tmp=0x%x  dmabuf=0x%x\n",
+		__FUNCTION__,*tmp,spi_dev->dmabuf);
+	pr_debug("spi-dev: spi-%d reading %zd bytes.\n",
+		iminor(file->f_dentry->d_inode), count);
+
+	ret = spi_master_recv(spi_dev,tmp,count);
+	if (ret >= 0)
+		ret = copy_to_user(buf,tmp,count)?-EFAULT:ret;
+	if (spi_dev->flags & SPI_M_DMA_MODE){
+		dma_free_coherent(NULL,BUFFER_SIZE,tmp,spi_dev->dmabuf);
+	} else {
+		kfree(tmp);
+	}
+	return ret;
+}
+
+static ssize_t spidev_write (struct file *file, const char __user *buf, size_t count,
+                             loff_t *offset)
+{
+	int ret;
+	char *tmp;
+	struct spi_dev *spi_dev = (struct spi_dev *)file->private_data;
+#ifdef CONFIG_WORD_TRANSIZE
+	count = count * 4;
+#endif
+	CRDEBUG;
+	if (count > BUFFER_SIZE)
+		count = BUFFER_SIZE;
+	if (spi_dev->flags & SPI_M_DMA_MODE){
+		tmp = dma_alloc_coherent(NULL, BUFFER_SIZE,
+			  &spi_dev->dmabuf, GFP_KERNEL | GFP_DMA);
+	} else {
+		tmp = kmalloc(count,GFP_KERNEL);
+	}
+
+	if (tmp==NULL)
+		return -ENOMEM;
+	pr_debug("%s: tmp=0x%x  dmabuf=0x%x\n",
+		__FUNCTION__,*tmp,spi_dev->dmabuf);
+
+	if (copy_from_user(tmp, buf, count)) {
+		if (spi_dev->flags & SPI_M_DMA_MODE){
+			dma_free_coherent(NULL,BUFFER_SIZE,tmp,spi_dev->dmabuf);
+		} else {
+			kfree(tmp);
+		}
+		return -EFAULT;
+	}
+
+	pr_debug("spi-dev: spi-%d writing %zd bytes.\n",
+		iminor(file->f_dentry->d_inode), count);
+
+	ret = spi_master_send(spi_dev, tmp, count);
+	if (spi_dev->flags & SPI_M_DMA_MODE){
+		dma_free_coherent(NULL,BUFFER_SIZE,tmp,spi_dev->dmabuf);
+	} else {
+		kfree(tmp);
+	}
+	return ret;
+}
+
+int spidev_ioctl (struct inode *inode, struct file *file, unsigned int cmd,
+                  unsigned long arg)
+{
+	struct spi_dev *spi_dev = (struct spi_dev *)file->private_data;
+
+	CRDEBUG;
+	dev_dbg(&spi_dev->dev, "spi-%d ioctl, cmd: 0x%x, arg: %lx.\n",
+		iminor(inode),cmd, arg);
+
+	switch (cmd) {
+		case SET_SPI_FLAGS:
+			spi_dev->flags = (unsigned int) arg;
+			break;
+		case SET_SPI_RETRIES:
+			spi_dev->retries = arg;
+			break;
+		case SET_SPI_TIMEOUT:
+			spi_dev->timeout = arg;
+			break;
+		default:
+			printk("Invalid ioctl option\n");
+	}
+	return 0;
+}
+
+static int spidev_open(struct inode *inode, struct file *file)
+{
+	unsigned int minor = iminor(inode);
+	struct spi_dev *spi_dev;
+
+	CRDEBUG;
+
+	spi_dev = spi_dev_get_by_minor(minor);
+	if (!spi_dev)
+		return -ENODEV;
+
+	/* registered with adapter, passed as client to user */
+	file->private_data = spi_dev;
+
+	return 0;
+}
+
+int spi_master_close(struct spi_dev *spi_dev)
+{
+	int ret;
+	CRDEBUG;
+	ret = spi_dev->algo->close(spi_dev);
+	return 0;
+}
+static int spidev_release(struct inode *inode, struct file *file)
+{
+	struct spi_dev *spi_dev = (struct spi_dev *)file->private_data;
+	int ret;
+	CRDEBUG;
+
+	ret = spi_master_close(spi_dev);
+	file->private_data = NULL;
+
+	return 0;
+}
+
+static struct file_operations spidev_fops = {
+	.owner		= THIS_MODULE,
+	.llseek		= no_llseek,
+	.read		= spidev_read,
+	.write		= spidev_write,
+	.ioctl		= spidev_ioctl,
+	.open		= spidev_open,
+	.release	= spidev_release,
+};
+
+static int spi_dev_init(void)
+{
+	int res;
+
+	printk(KERN_INFO "spi /dev entries driver\n");
+
+#if(SPI_CHANNEL==0)
+	res = register_chrdev(SPI_MAJOR, "spi0", &spidev_fops);
+#elif(SPI_CHANNEL==1)
+	res = register_chrdev(SPI_MAJOR, "spi1", &spidev_fops);
+#else
+	res = register_chrdev(SPI_MAJOR, "spi2", &spidev_fops);
+#endif
+
+	if (res)
+		goto out;
+
+	return 0;
+
+out:
+	printk(KERN_ERR "%s: Driver Initialisation failed\n", __FILE__);
+	return res;
+}
+
+static void spi_dev_exit(void)
+{
+	CRDEBUG;
+	unregister_chrdev(SPI_MAJOR,"spi");
+}
+
+MODULE_AUTHOR("Samsung Electronics");
+MODULE_DESCRIPTION("spi /dev entries driver");
+MODULE_LICENSE("GPL");
+
+module_init(spi_dev_init);
+module_exit(spi_dev_exit);
+
+EXPORT_SYMBOL(spi_attach_spidev);
+EXPORT_SYMBOL(spi_detach_spidev);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/spi/spi-dev.h linux-2.6.28.6/drivers/spi/spi-dev.h
--- linux-2.6.28/drivers/spi/spi-dev.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/spi/spi-dev.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,140 @@
+/* ------------------------------------------------------------------------- */
+/* 									     */
+/* spi.h - definitions for the spi-bus interface			     */
+/* 									     */
+/* ------------------------------------------------------------------------- */
+/*   Copyright (C) 2006 Samsung Electronics Co. ltd.
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.		     */
+/* ------------------------------------------------------------------------- */
+
+#ifndef _LINUX_SPI_H
+#define _LINUX_SPI_H
+
+#include <linux/module.h>
+#include <linux/types.h>
+#include <linux/device.h>	/* for struct device */
+#include <linux/semaphore.h>
+
+/* --- General options ------------------------------------------------	*/
+
+struct spi_msg;
+struct spi_dev;
+struct spi_algorithm;
+
+/*
+ * The master routines are the ones normally used to transmit data to devices
+ * on a bus (or/and read from them). Apart from these basic transfer functions
+ * to transmit one message at a time, a more complex version can be used to
+ * transmit an arbitrary number of messages without interruption.
+ */
+extern int spi_master_send(struct spi_dev *,const char* ,int);
+extern int spi_master_recv(struct spi_dev *,char* ,int);
+
+#define SPI_CHANNEL 	0
+#define BUFFER_SIZE     65536
+#define SPI_MINORS      2
+
+/*
+ * A driver is capable of handling one or more physical devices present on
+ * SPI adapters. This information is used to inform the driver of adapter
+ * events.
+ */
+
+struct spi_dev {
+	int 			minor;
+
+	dma_addr_t		dmabuf;		/* handle for DMA transfer		*/
+	unsigned int 		flags;		/* flags for the SPI operation 		*/
+	struct semaphore 	bus_lock;	/* semaphore for bus access 		*/
+
+	struct spi_algorithm 	*algo;		/* the algorithm to access the bus	*/
+	void 			*algo_data;	/* the bus control struct		*/
+
+	int 			timeout;
+	int 			retries;
+	struct device		dev;		/* the adapter device 			*/
+};
+
+/*
+ * The following structs are for those who like to implement new bus drivers:
+ * spi_algorithm is the interface to a class of hardware solutions which can
+ * be addressed using the same bus algorithms - i.e. bit-banging or the PCF8584
+ * to name two of the most common.
+ */
+struct spi_algorithm {
+	char name[32];				/* textual description 	*/
+	unsigned int id;
+
+	/* If an adapter algorithm can't to SPI-level access, set master_xfer
+	   to NULL. If an adapter algorithm can do SMBus access, set
+	   smbus_xfer. If set to NULL, the SMBus protocol is simulated
+	   using common SPI messages */
+	int (*master_xfer)(struct spi_dev *spi_dev,struct spi_msg *msgs,
+	                   int num);
+
+	/* --- ioctl like call to set div. parameters. */
+	int (*algo_control)(struct spi_dev *, unsigned int, unsigned long);
+
+	/* To determine what the adapter supports */
+	u32 (*functionality) (struct spi_dev *);
+	int (*close)(struct spi_dev *spi_dev);
+};
+
+/* ----- functions exported by spi.o */
+
+/* administration...
+ */
+extern int spi_attach_spidev(struct spi_dev *);
+extern int spi_detach_spidev(struct spi_dev *);
+
+/*
+ * SPI Message - used for pure spi transaction, also from /dev interface
+ */
+
+#define SPI_M_MODE_MASTER	0x001
+#define SPI_M_MODE_SLAVE	0x002
+#define SPI_M_USE_FIFO		0x004
+#define SPI_M_CPOL_ACTHIGH	0x010
+#define SPI_M_CPOL_ACTLOW	0x020
+#define SPI_M_CPHA_FORMATA	0x040
+#define SPI_M_CPHA_FORMATB	0x080
+#define SPI_M_DMA_MODE		0x100
+#define SPI_M_INT_MODE		0x200
+#define SPI_M_POLL_MODE		0x400
+#define SPI_M_DEBUG		0x800
+#define SPI_M_FIFO_POLL		0x1000
+
+
+struct spi_msg {
+ 	__u16 flags;
+ 	__u16 len;		/* msg length				*/
+ 	__u8 *wbuf;		/* pointer to msg data to write	*/
+ 	__u8 *rbuf;		/* pointer to msg data for read */
+};
+
+/* ----- commands for the ioctl call:	*/
+				/* -> spi-adapter specific ioctls	*/
+#define SET_SPI_RETRIES	0x0701	/* number of times a device address      */
+				/* should be polled when not            */
+                                /* acknowledging 			*/
+#define SET_SPI_TIMEOUT	0x0702	/* set timeout - call with int 		*/
+#define SET_SPI_FLAGS	0x0704  /* set flags for h/w settings 		*/
+
+#define SPI_MAJOR	153		/* Device major number		*/
+					/* minor 0-15 spi0 - spi15 	*/
+
+#endif /* _LINUX_SPI_H */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/spi/spi_s3c24xx.c linux-2.6.28.6/drivers/spi/spi_s3c24xx.c
--- linux-2.6.28/drivers/spi/spi_s3c24xx.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/spi/spi_s3c24xx.c	2009-04-30 09:36:39.000000000 +0200
@@ -28,7 +28,7 @@
 #include <mach/hardware.h>
 
 #include <mach/regs-gpio.h>
-#include <asm/plat-s3c24xx/regs-spi.h>
+#include <plat/regs-spi.h>
 #include <mach/spi.h>
 
 struct s3c24xx_spi {
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/spi/spi_sam-6440.c linux-2.6.28.6/drivers/spi/spi_sam-6440.c
--- linux-2.6.28/drivers/spi/spi_sam-6440.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/spi/spi_sam-6440.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,1009 @@
+/*
+ * spi_sam.c - Samsung SOC SPI controller driver.
+ * By -- Jaswinder Singh <jassi.brar@samsung.com>
+ *
+ * Copyright (C) 2009 Samsung Electronics Ltd.
+ */
+
+#include <linux/init.h>
+#include <linux/delay.h>
+#include <linux/errno.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/sched.h>
+#include <linux/spinlock.h>
+#include <linux/workqueue.h>
+#include <linux/spi/spi.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+#include <linux/dma-mapping.h>
+#include <asm/gpio.h>
+#include <asm/dma.h>
+#include <mach/s3c-dma.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+
+#include "spi_sam.h"
+
+//#define DEBUGSPI
+
+#ifdef DEBUGSPI
+
+#define dbg_printk(x...)	printk(x)
+
+static void dump_regs(struct samspi_bus *sspi)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	printk("CHN-%x\t", val);
+	val = readl(sspi->regs + SAMSPI_CLK_CFG);
+	printk("CLK-%x\t", val);
+	val = readl(sspi->regs + SAMSPI_MODE_CFG);
+	printk("MOD-%x\t", val);
+	val = readl(sspi->regs + SAMSPI_SLAVE_SEL);
+	printk("SLVSEL-%x\t", val);
+	val = readl(sspi->regs + SAMSPI_SPI_STATUS);
+	if(val & SPI_STUS_TX_DONE)
+	   printk("TX_done\t");
+	if(val & SPI_STUS_TRAILCNT_ZERO)
+	   printk("TrailZ\t");
+	if(val & SPI_STUS_RX_OVERRUN_ERR)
+	   printk("RX_Ovrn\t");
+	if(val & SPI_STUS_RX_UNDERRUN_ERR)
+	   printk("Rx_Unrn\t");
+	if(val & SPI_STUS_TX_OVERRUN_ERR)
+	   printk("Tx_Ovrn\t");
+	if(val & SPI_STUS_TX_UNDERRUN_ERR)
+	   printk("Tx_Unrn\t");
+	if(val & SPI_STUS_RX_FIFORDY)
+	   printk("Rx_Rdy\t");
+	if(val & SPI_STUS_TX_FIFORDY)
+	   printk("Tx_Rdy\t");
+	printk("Rx/TxLvl=%d,%d\n", (val>>13)&0x7f, (val>>6)&0x7f);
+}
+
+#else
+
+#define dump_regs(sspi) 	do{}while(0)
+#define dbg_printk(x...)	do{}while(0)
+
+#endif
+
+static struct s3c2410_dma_client samspi_dma_client = {
+	.name = "samspi-dma",
+};
+
+void samspi_dma_txcb(struct s3c2410_dma_chan *, void *, int, enum s3c2410_dma_buffresult);
+void samspi_dma_rxcb(struct s3c2410_dma_chan *, void *, int, enum s3c2410_dma_buffresult);
+
+static int alloc_dma_chan(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+      int ret = 0;
+
+      if(xfer->tx_buf != NULL){
+	if(s3c2410_dma_request(sspi->tx_dmach, &samspi_dma_client, NULL)){
+		dev_err(&sspi->pdev->dev, "cannot get RxDMA\n");
+		ret = -EBUSY;
+		goto exit;
+	}
+	s3c2410_dma_set_buffdone_fn(sspi->tx_dmach, samspi_dma_txcb);
+	s3c2410_dma_devconfig(sspi->tx_dmach, S3C2410_DMASRC_MEM, 0, sspi->sfr_phyaddr + SAMSPI_SPI_TX_DATA);
+	s3c2410_dma_config(sspi->tx_dmach, sspi->cur_bpw/8, 0);
+	s3c2410_dma_setflags(sspi->tx_dmach, S3C2410_DMAF_AUTOSTART);
+      }
+
+      if(xfer->rx_buf != NULL){
+	if(s3c2410_dma_request(sspi->rx_dmach, &samspi_dma_client, NULL)){
+		dev_err(&sspi->pdev->dev, "cannot get RxDMA\n");
+		ret = -EBUSY;
+		goto exit;
+	}
+	s3c2410_dma_set_buffdone_fn(sspi->rx_dmach, samspi_dma_rxcb);
+	s3c2410_dma_devconfig(sspi->rx_dmach, S3C2410_DMASRC_HW, 0, sspi->sfr_phyaddr + SAMSPI_SPI_RX_DATA);
+	s3c2410_dma_config(sspi->rx_dmach, sspi->cur_bpw/8, 0);
+	s3c2410_dma_setflags(sspi->rx_dmach, S3C2410_DMAF_AUTOSTART);
+      }
+
+exit:
+      return ret;
+}
+
+static void free_dma_chan(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+      if(xfer->tx_buf != NULL)
+	s3c2410_dma_free(sspi->tx_dmach, &samspi_dma_client);
+      if(xfer->rx_buf != NULL)
+	s3c2410_dma_free(sspi->rx_dmach, &samspi_dma_client);
+}
+
+static inline void enable_spidma(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_MODE_CFG);
+	val &= ~(SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+	if(xfer->tx_buf != NULL)
+	   val |= SPI_MODE_TXDMA_ON;
+	if(xfer->rx_buf != NULL)
+	   val |= SPI_MODE_RXDMA_ON;
+	writel(val, sspi->regs + SAMSPI_MODE_CFG);
+}
+
+static inline void flush_dma(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	if(xfer->tx_buf != NULL)
+	   s3c2410_dma_ctrl(sspi->tx_dmach, S3C2410_DMAOP_FLUSH);
+	if(xfer->rx_buf != NULL)
+	   s3c2410_dma_ctrl(sspi->rx_dmach, S3C2410_DMAOP_FLUSH);
+}
+
+static inline void flush_spi(struct samspi_bus *sspi)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	val |= SPI_CH_SW_RST;
+	val &= ~SPI_CH_HS_EN;
+	if((sspi->cur_speed > 30000000UL) && !(sspi->cur_mode & SPI_SLAVE)) /* TODO ??? */
+	   val |= SPI_CH_HS_EN;
+	writel(val, sspi->regs + SAMSPI_CH_CFG);
+
+	/* Flush TxFIFO*/
+	do{
+	   val = readl(sspi->regs + SAMSPI_SPI_STATUS);
+	   val = (val>>6) & 0x7f;
+	}while(val);
+
+	/* Flush RxFIFO*/
+	val = readl(sspi->regs + SAMSPI_SPI_STATUS);
+	val = (val>>13) & 0x7f;
+	while(val){
+	   readl(sspi->regs + SAMSPI_SPI_RX_DATA);
+	   val = readl(sspi->regs + SAMSPI_SPI_STATUS);
+	   val = (val>>13) & 0x7f;
+	}
+
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	val &= ~SPI_CH_SW_RST;
+	writel(val, sspi->regs + SAMSPI_CH_CFG);
+}
+
+static inline void enable_spichan(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	val &= ~(SPI_CH_RXCH_ON | SPI_CH_TXCH_ON);
+	if(xfer->tx_buf != NULL){
+	   val |= SPI_CH_TXCH_ON;
+	}
+	if(xfer->rx_buf != NULL){
+	   if(!(sspi->cur_mode & SPI_SLAVE)){
+	      flush_spi(sspi);
+	      writel((xfer->len & 0xffff) | SPI_PACKET_CNT_EN, 
+			sspi->regs + SAMSPI_PACKET_CNT); /* XXX TODO Bytes or number of SPI-Words? */
+	   }
+	   val |= SPI_CH_RXCH_ON;
+	}
+	writel(val, sspi->regs + SAMSPI_CH_CFG);
+}
+
+static inline void enable_spiintr(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	u32 val = 0;
+
+	if(xfer->tx_buf != NULL){
+	   val |= SPI_INT_TX_OVERRUN_EN;
+	   if(!(sspi->cur_mode & SPI_SLAVE))
+	      val |= SPI_INT_TX_UNDERRUN_EN;
+	}
+	if(xfer->rx_buf != NULL){
+	   val |= (SPI_INT_RX_UNDERRUN_EN | SPI_INT_RX_OVERRUN_EN | SPI_INT_TRAILING_EN);
+	}
+	writel(val, sspi->regs + SAMSPI_SPI_INT_EN);
+}
+
+static inline void enable_spienqueue(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	if(xfer->rx_buf != NULL){
+	   sspi->rx_done = BUSY;
+	   s3c2410_dma_config(sspi->rx_dmach, sspi->cur_bpw/8, 0);
+	   s3c2410_dma_enqueue(sspi->rx_dmach, (void *)sspi, xfer->rx_dma, xfer->len);
+	}
+	if(xfer->tx_buf != NULL){
+	   sspi->tx_done = BUSY;
+	   s3c2410_dma_config(sspi->tx_dmach, sspi->cur_bpw/8, 0);
+	   s3c2410_dma_enqueue(sspi->tx_dmach, (void *)sspi, xfer->tx_dma, xfer->len);
+	}
+}
+
+static inline void enable_spics(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	u32 val = 0;
+
+	val = readl(sspi->regs + SAMSPI_SLAVE_SEL);
+	if(sspi->cur_mode & SPI_SLAVE){
+	   val |= SPI_SLAVE_AUTO; /* Auto Mode */
+	   val |= SPI_SLAVE_SIG_INACT;
+	}else{
+	   val &= ~SPI_SLAVE_AUTO; /* Manual Mode */
+	   val &= ~SPI_SLAVE_SIG_INACT; /* Activate CS */
+	}
+	writel(val, sspi->regs + SAMSPI_SLAVE_SEL);
+}
+
+static inline void set_polarity(struct samspi_bus *sspi)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	val &= ~(SPI_CH_SLAVE | SPI_CPOL_L | SPI_CPHA_B);
+	if(sspi->cur_mode & SPI_SLAVE)
+	   val |= SPI_CH_SLAVE;
+	if(!(sspi->cur_mode & SPI_CPOL))
+	   val |= SPI_CPOL_L;
+	if(sspi->cur_mode & SPI_CPHA)
+	   val |= SPI_CPHA_B;
+	writel(val, sspi->regs + SAMSPI_CH_CFG);
+}
+
+static inline void set_clock(struct samspi_bus *sspi)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_CLK_CFG);
+	val &= ~(SPI_CLKSEL_SRCMSK | SPI_ENCLK_ENABLE | 0xff);
+	val |= 0;//SPI_CLKSEL_SRC; jassi
+	if(!(sspi->cur_mode & SPI_SLAVE)){
+	   val |= ((clk_get_rate(sspi->clk) / sspi->cur_speed / 2 - 1) << 0);	// PCLK and PSR
+	   val |= SPI_ENCLK_ENABLE;
+	}
+	writel(val, sspi->regs + SAMSPI_CLK_CFG);
+}
+
+static inline void set_dmachan(struct samspi_bus *sspi)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_MODE_CFG);
+	val &= ~((0x3<<17) | (0x3<<29));
+	if(sspi->cur_bpw == 8){
+	   val |= SPI_MODE_CH_TSZ_BYTE;
+	   val |= SPI_MODE_BUS_TSZ_BYTE;
+	}else if(sspi->cur_bpw == 16){
+	   val |= SPI_MODE_CH_TSZ_HALFWORD;
+	   val |= SPI_MODE_BUS_TSZ_HALFWORD;
+	}else if(sspi->cur_bpw == 32){
+	   val |= SPI_MODE_CH_TSZ_WORD;
+	   val |= SPI_MODE_BUS_TSZ_WORD;
+	}else{
+	   printk("Invalid Bits/Word!\n");
+	}
+	val &= ~(SPI_MODE_4BURST | SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+	writel(val, sspi->regs + SAMSPI_MODE_CFG);
+}
+
+static void config_sspi(struct samspi_bus *sspi)
+{
+	/* Set Polarity and Phase */
+	set_polarity(sspi);
+
+	/* Configure Clock */
+	set_clock(sspi);
+
+	/* Set Channel & DMA Mode */
+	set_dmachan(sspi);
+}
+
+static void samspi_hwinit(struct samspi_bus *sspi, int channel)
+{
+	unsigned int val;
+
+	writel(SPI_SLAVE_SIG_INACT, sspi->regs + SAMSPI_SLAVE_SEL);
+
+	/* Disable Interrupts */
+	writel(0, sspi->regs + SAMSPI_SPI_INT_EN);
+
+#ifdef CONFIG_CPU_S3C6410
+	writel((readl(S3C64XX_SPC_BASE) & ~(3<<28)) | (2<<28), S3C64XX_SPC_BASE);
+	writel((readl(S3C64XX_SPC_BASE) & ~(3<<18)) | (2<<18), S3C64XX_SPC_BASE);
+#elif defined (CONFIG_CPU_S5P6440)
+	writel((readl(S5P64XX_SPC_BASE) & ~(3<<28)) | (2<<28), S5P64XX_SPC_BASE);
+	writel((readl(S5P64XX_SPC_BASE) & ~(3<<18)) | (2<<18), S5P64XX_SPC_BASE);
+#elif defined (CONFIG_CPU_S5P6440)
+	/* How to control drive strength, if we must? */
+#endif
+
+	writel(0, sspi->regs + SAMSPI_CLK_CFG);
+	writel(0, sspi->regs + SAMSPI_MODE_CFG);
+	writel(SPI_SLAVE_SIG_INACT, sspi->regs + SAMSPI_SLAVE_SEL);
+	writel(0, sspi->regs + SAMSPI_PACKET_CNT);
+	writel(readl(sspi->regs + SAMSPI_PENDING_CLR), sspi->regs + SAMSPI_PENDING_CLR);
+	writel(SPI_FBCLK_0NS, sspi->regs + SAMSPI_FB_CLK);
+
+	flush_spi(sspi);
+
+	writel(0, sspi->regs + SAMSPI_SWAP_CFG);
+	writel(SPI_FBCLK_9NS, sspi->regs + SAMSPI_FB_CLK);
+
+	val = readl(sspi->regs + SAMSPI_MODE_CFG);
+	val &= ~(SPI_MAX_TRAILCNT << SPI_TRAILCNT_OFF);
+	if(channel == 0)
+	   SET_MODECFG(val, 0);
+	else 
+	   SET_MODECFG(val, 1);
+	val |= (SPI_TRAILCNT << SPI_TRAILCNT_OFF);
+	writel(val, sspi->regs + SAMSPI_MODE_CFG);
+
+	config_sspi(sspi);
+}
+
+static irqreturn_t samspi_interrupt(int irq, void *dev_id)
+{
+	u32 val;
+	struct samspi_bus *sspi = (struct samspi_bus *)dev_id;
+
+	dump_regs(sspi);
+	val = readl(sspi->regs + SAMSPI_PENDING_CLR);
+	printk("PENDING=%x\n", val);
+	writel(val, sspi->regs + SAMSPI_PENDING_CLR);
+
+	/* We get interrupted only for bad news */
+	if(sspi->tx_done != PASS){
+	   sspi->tx_done = FAIL;
+	}
+	if(sspi->rx_done != PASS){
+	   sspi->rx_done = FAIL;
+	}
+	sspi->state = STOPPED;
+	complete(&sspi->xfer_completion);
+
+	return IRQ_HANDLED;
+}
+
+void samspi_dma_rxcb(struct s3c2410_dma_chan *chan, void *buf_id, int size, enum s3c2410_dma_buffresult res)
+{
+	struct samspi_bus *sspi = (struct samspi_bus *)buf_id;
+
+	if(res == S3C2410_RES_OK){
+	   sspi->rx_done = PASS;
+	   dbg_printk("DmaRx-%d ", size);
+	}else{
+	   sspi->rx_done = FAIL;
+	   dbg_printk("DmaAbrtRx-%d ", size);
+	}
+
+	if(sspi->tx_done != BUSY && sspi->state != STOPPED) /* If other done and all OK */
+	   complete(&sspi->xfer_completion);
+}
+
+void samspi_dma_txcb(struct s3c2410_dma_chan *chan, void *buf_id, int size, enum s3c2410_dma_buffresult res)
+{
+	struct samspi_bus *sspi = (struct samspi_bus *)buf_id;
+
+	if(res == S3C2410_RES_OK){
+	   sspi->tx_done = PASS;
+	   dbg_printk("DmaTx-%d ", size);
+	}else{
+	   sspi->tx_done = FAIL;
+	   dbg_printk("DmaAbrtTx-%d ", size);
+	}
+
+	if(sspi->rx_done != BUSY && sspi->state != STOPPED) /* If other done and all OK */
+	   complete(&sspi->xfer_completion);
+}
+
+static int wait_for_txshiftout(struct samspi_bus *sspi, unsigned long t)
+{
+	unsigned long timeout;
+
+	timeout = jiffies + t;
+	while((__raw_readl(sspi->regs + SAMSPI_SPI_STATUS) >> 6) & 0x7f){
+	   if(time_after(jiffies, timeout))
+	      return -1;
+	   cpu_relax();
+	}
+	return 0;
+}
+
+static int wait_for_xfer(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	int status;
+	u32 val;
+
+	val = msecs_to_jiffies(xfer->len / (sspi->min_speed / 8 / 1000)); /* time to xfer data at min. speed */
+	if(sspi->cur_mode & SPI_SLAVE)
+	   val += msecs_to_jiffies(5000); /* 5secs to switch on the Master */
+	else
+	   val += msecs_to_jiffies(10); /* just some more */
+	status = wait_for_completion_interruptible_timeout(&sspi->xfer_completion, val);
+
+	if(status == 0)
+	   status = -ETIMEDOUT;
+	else if(status == -ERESTARTSYS)
+	   status = -EINTR;
+	else if((sspi->tx_done != PASS) || (sspi->rx_done != PASS)) /* Some Xfer failed */
+	   status = -EIO;
+	else
+	   status = 0;	/* All OK */
+
+	/* When TxLen <= SPI-FifoLen in Slave mode, DMA returns naively */
+	if(!status && (sspi->cur_mode & SPI_SLAVE) && (xfer->tx_buf != NULL)){
+	   val = msecs_to_jiffies(xfer->len / (sspi->min_speed / 8 / 1000)); /* Be lenient */
+	   val += msecs_to_jiffies(5000); /* 5secs to switch on the Master */
+	   status = wait_for_txshiftout(sspi, val);
+	   if(status == -1)
+	      status = -ETIMEDOUT;
+	   else
+	      status = 0;
+	}
+
+	return status;
+}
+
+#define INVALID_DMA_ADDRESS	0xffffffff
+/*  First, try to map buf onto phys addr as such.
+ *   If xfer->r/tx_buf was not on contiguous memory,
+ *   allocate from our preallocated DMA buffer.
+ */
+static int samspi_map_xfer(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	struct device *dev = &sspi->pdev->dev;
+
+	sspi->rx_tmp = NULL;
+	sspi->tx_tmp = NULL;
+
+	xfer->tx_dma = xfer->rx_dma = INVALID_DMA_ADDRESS;
+	if(xfer->tx_buf != NULL){
+		xfer->tx_dma = dma_map_single(dev,
+				(void *) xfer->tx_buf, xfer->len,
+				DMA_TO_DEVICE);
+		if(dma_mapping_error(dev, xfer->tx_dma))
+			goto alloc_from_buffer;
+	}
+	if(xfer->rx_buf != NULL){
+		xfer->rx_dma = dma_map_single(dev,
+				xfer->rx_buf, xfer->len,
+				DMA_FROM_DEVICE);
+		if(dma_mapping_error(dev, xfer->rx_dma)){
+			if(xfer->tx_buf)
+				dma_unmap_single(dev,
+						xfer->tx_dma, xfer->len,
+						DMA_TO_DEVICE);
+			goto alloc_from_buffer;
+		}
+	}
+	return 0;
+
+alloc_from_buffer: /* If the xfer->[r/t]x_buf was not on contiguous memory */
+
+	if(xfer->len <= SAMSPI_DMABUF_LEN){
+	   if(xfer->rx_buf != NULL){
+	      xfer->rx_dma = sspi->rx_dma_phys;
+	      sspi->rx_tmp = (void *)sspi->rx_dma_cpu;
+	   }
+	   if(xfer->tx_buf != NULL){
+	      xfer->tx_dma = sspi->tx_dma_phys;
+	      sspi->tx_tmp = (void *)sspi->tx_dma_cpu;
+	   }
+	}else{
+	   printk("If you plan to use this Xfer size often, increase SAMSPI_DMABUF_LEN\n");
+	   if(xfer->rx_buf != NULL){
+	      sspi->rx_tmp = dma_alloc_coherent(&sspi->pdev->dev, SAMSPI_DMABUF_LEN, 
+							&xfer->rx_dma, GFP_KERNEL | GFP_DMA);
+		if(sspi->rx_tmp == NULL)
+		   return -ENOMEM;
+	   }
+	   if(xfer->tx_buf != NULL){
+	      sspi->tx_tmp = dma_alloc_coherent(&sspi->pdev->dev, 
+						SAMSPI_DMABUF_LEN, &xfer->tx_dma, GFP_KERNEL | GFP_DMA);
+		if(sspi->tx_tmp == NULL){
+		   if(xfer->rx_buf != NULL)
+		      dma_free_coherent(&sspi->pdev->dev, 
+						SAMSPI_DMABUF_LEN, sspi->rx_tmp, xfer->rx_dma);
+		   return -ENOMEM;
+		}
+	   }
+	}
+
+	if(xfer->tx_buf != NULL)
+	   memcpy(sspi->tx_tmp, xfer->tx_buf, xfer->len);
+
+	return 0;
+}
+
+static void samspi_unmap_xfer(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	if((sspi->rx_tmp == NULL) && (sspi->tx_tmp == NULL)) /* if map_single'd */
+	   return;
+
+	if(xfer->rx_buf != NULL)
+	      memcpy(xfer->rx_buf, sspi->rx_tmp, xfer->len);
+
+	if(xfer->len > SAMSPI_DMABUF_LEN){
+	   if(xfer->rx_buf != NULL)
+	      dma_free_coherent(&sspi->pdev->dev, SAMSPI_DMABUF_LEN, sspi->rx_tmp, xfer->rx_dma);
+	   if(xfer->tx_buf != NULL)
+	      dma_free_coherent(&sspi->pdev->dev, SAMSPI_DMABUF_LEN, sspi->tx_tmp, xfer->tx_dma);
+	}else{
+	   sspi->rx_tmp = NULL;
+	   sspi->tx_tmp = NULL;
+	}
+}
+
+static void handle_msg(struct samspi_bus *sspi, struct spi_message *msg)
+{
+	u8 bpw;
+	u32 speed, val;
+	int status = 0;
+	struct spi_transfer *xfer;
+	struct spi_device *spi = msg->spi;
+
+	config_sspi(sspi);
+
+	dump_regs(sspi);
+	list_for_each_entry (xfer, &msg->transfers, transfer_list) {
+
+		if(!msg->is_dma_mapped && samspi_map_xfer(sspi, xfer)){
+		   dev_err(&spi->dev, "Xfer: Unable to allocate DMA buffer!\n");
+		   status = -ENOMEM;
+		   goto out;
+		}
+
+	   	if(alloc_dma_chan(sspi, xfer)){
+		   dev_err(&spi->dev, "Xfer: DMA Alloc Failed!\n");
+		   status = -EBUSY;
+		   goto out;
+		}
+
+		INIT_COMPLETION(sspi->xfer_completion);
+
+		/* Only BPW and Speed may change across transfers */
+		bpw = xfer->bits_per_word ? : spi->bits_per_word;
+		speed = xfer->speed_hz ? : spi->max_speed_hz;
+
+		if(sspi->cur_bpw != bpw || sspi->cur_speed != speed){
+			sspi->cur_bpw = bpw;
+			sspi->cur_speed = speed;
+			config_sspi(sspi);
+		}
+
+		/* Pending only which is to be done */
+		sspi->rx_done = PASS;
+		sspi->tx_done = PASS;
+		sspi->state = RUNNING;
+
+		/* Enable Interrupts */
+		enable_spiintr(sspi, xfer);
+
+		/* Enqueue data on DMA */
+		enable_spienqueue(sspi, xfer);
+
+		/* Enable DMA */
+		enable_spidma(sspi, xfer);
+
+		/* Enable TX/RX */
+		enable_spichan(sspi, xfer);
+
+		/* Slave Select */
+		enable_spics(sspi, xfer);
+
+		dump_regs(sspi);
+		status = wait_for_xfer(sspi, xfer);
+
+		free_dma_chan(sspi, xfer);
+		/**************
+		 * Block Here *
+		 **************/
+
+		if(status == -ETIMEDOUT){
+		   dev_err(&spi->dev, "Xfer: Timeout!\n");
+		   dump_regs(sspi);
+		   sspi->state = STOPPED;
+		   /* DMA Disable*/
+		   val = readl(sspi->regs + SAMSPI_MODE_CFG);
+		   val &= ~(SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+		   writel(val, sspi->regs + SAMSPI_MODE_CFG);
+		   flush_dma(sspi, xfer);
+		   flush_spi(sspi);
+		   if(!msg->is_dma_mapped)
+		      samspi_unmap_xfer(sspi, xfer);
+		   goto out;
+		}
+		if(status == -EINTR){
+		   dev_err(&spi->dev, "Xfer: Interrupted!\n");
+		   dump_regs(sspi);
+		   sspi->state = STOPPED;
+		   /* DMA Disable*/
+		   val = readl(sspi->regs + SAMSPI_MODE_CFG);
+		   val &= ~(SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+		   writel(val, sspi->regs + SAMSPI_MODE_CFG);
+		   flush_dma(sspi, xfer);
+		   flush_spi(sspi);
+		   if(!msg->is_dma_mapped)
+		      samspi_unmap_xfer(sspi, xfer);
+		   goto out;
+		}
+		if(status == -EIO){ /* Some Xfer failed */
+		   dev_err(&spi->dev, "Xfer: Failed!\n");
+		   dump_regs(sspi);
+		   sspi->state = STOPPED;
+		   /* DMA Disable*/
+		   val = readl(sspi->regs + SAMSPI_MODE_CFG);
+		   val &= ~(SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+		   writel(val, sspi->regs + SAMSPI_MODE_CFG);
+		   flush_dma(sspi, xfer);
+		   flush_spi(sspi);
+		   if(!msg->is_dma_mapped)
+		      samspi_unmap_xfer(sspi, xfer);
+		   goto out;
+		}
+
+		if(xfer->delay_usecs){
+		   udelay(xfer->delay_usecs);
+		   dbg_printk("xfer-delay=%u\n", xfer->delay_usecs);
+		}
+		if(xfer->cs_change && !(sspi->cur_mode & SPI_SLAVE)){
+		   writel(readl(sspi->regs + SAMSPI_SLAVE_SEL) | SPI_SLAVE_SIG_INACT,
+				 sspi->regs + SAMSPI_SLAVE_SEL);
+		   dbg_printk("xfer-cs_chng=%u\n", xfer->cs_change);
+		}
+
+		msg->actual_length += xfer->len;
+
+		if(!msg->is_dma_mapped)
+		   samspi_unmap_xfer(sspi, xfer);
+	}
+
+out:
+	/* Slave Deselect */
+	val = readl(sspi->regs + SAMSPI_SLAVE_SEL);
+	val &= ~SPI_SLAVE_AUTO;
+	val |= SPI_SLAVE_SIG_INACT;
+	writel(val, sspi->regs + SAMSPI_SLAVE_SEL);
+
+	/* Disable Interrupts */
+	writel(0, sspi->regs + SAMSPI_SPI_INT_EN);
+
+	/* Tx/Rx Disable */
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	val &= ~(SPI_CH_RXCH_ON | SPI_CH_TXCH_ON);
+	writel(val, sspi->regs + SAMSPI_CH_CFG);
+
+	/* DMA Disable*/
+	val = readl(sspi->regs + SAMSPI_MODE_CFG);
+	val &= ~(SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+	writel(val, sspi->regs + SAMSPI_MODE_CFG);
+
+	msg->status = status;
+	if(msg->complete)
+	   msg->complete(msg->context);
+}
+
+static void samspi_work(struct work_struct *work)
+{
+	struct samspi_bus *sspi = container_of(work, struct samspi_bus, work);
+	unsigned long flags;
+
+	spin_lock_irqsave(&sspi->lock, flags);
+	while (!list_empty(&sspi->queue)) {
+		struct spi_message *msg;
+
+		msg = container_of(sspi->queue.next, struct spi_message, queue);
+		list_del_init(&msg->queue);
+		spin_unlock_irqrestore(&sspi->lock, flags);
+
+		handle_msg(sspi, msg);
+
+		spin_lock_irqsave(&sspi->lock, flags);
+	}
+	spin_unlock_irqrestore(&sspi->lock, flags);
+}
+
+static void samspi_cleanup(struct spi_device *spi)
+{
+	dbg_printk("%s:%s:%d\n", __FILE__, __func__, __LINE__);
+}
+
+static int samspi_transfer(struct spi_device *spi, struct spi_message *msg)
+{
+	struct spi_master *master = spi->master;
+	struct samspi_bus *sspi = spi_master_get_devdata(master);
+	unsigned long flags;
+
+	spin_lock_irqsave(&sspi->lock, flags);
+	msg->actual_length = 0;
+	list_add_tail(&msg->queue, &sspi->queue);
+	queue_work(sspi->workqueue, &sspi->work);
+	spin_unlock_irqrestore(&sspi->lock, flags);
+
+	return 0;
+}
+
+/* the spi->mode bits understood by this driver: */
+#define MODEBITS	(SPI_CPOL | SPI_CPHA | SPI_SLAVE)
+
+/*
+ * Here we only check the validity of requested configuration and 
+ * save the configuration in a local data-structure.
+ * The controller is actually configured only just before
+ * we get a message to transfer _and_ if no other message is pending(already configured).
+ */
+static int samspi_setup(struct spi_device *spi)
+{
+	unsigned long flags;
+	unsigned int psr;
+	struct samspi_bus *sspi = spi_master_get_devdata(spi->master);
+
+	spin_lock_irqsave(&sspi->lock, flags);
+	if(!list_empty(&sspi->queue)){	/* Any pending message? */
+		spin_unlock_irqrestore(&sspi->lock, flags);
+		dev_dbg(&spi->dev, "setup: attempt while messages in queue!\n");
+		return -EBUSY;
+	}
+	spin_unlock_irqrestore(&sspi->lock, flags);
+
+	if (spi->chip_select > spi->master->num_chipselect) {
+		dev_dbg(&spi->dev, "setup: invalid chipselect %u (%u defined)\n",
+				spi->chip_select, spi->master->num_chipselect);
+		return -EINVAL;
+	}
+
+	spi->bits_per_word = spi->bits_per_word ? : 8;
+
+	if((spi->bits_per_word != 8) && 
+			(spi->bits_per_word != 16) && 
+			(spi->bits_per_word != 32)){
+		dev_err(&spi->dev, "setup: %dbits/wrd not supported!\n", spi->bits_per_word);
+		return -EINVAL;
+	}
+
+	spi->max_speed_hz = spi->max_speed_hz ? : sspi->max_speed;
+
+	/* Round-off max_speed_hz */
+	psr = clk_get_rate(sspi->clk) / spi->max_speed_hz / 2 - 1;
+	psr &= 0xff;
+	if(spi->max_speed_hz < clk_get_rate(sspi->clk) / 2 / (psr + 1))
+	   psr = (psr+1) & 0xff;
+
+	spi->max_speed_hz = clk_get_rate(sspi->clk) / 2 / (psr + 1);
+
+	if (spi->max_speed_hz > sspi->max_speed
+			|| spi->max_speed_hz < sspi->min_speed){
+		dev_err(&spi->dev, "setup: req speed(%u) out of range[%u-%u]\n", 
+				spi->max_speed_hz, sspi->min_speed, sspi->max_speed);
+		return -EINVAL;
+	}
+
+	if (spi->mode & ~MODEBITS) {
+		dev_dbg(&spi->dev, "setup: unsupported mode bits %x\n",	spi->mode & ~MODEBITS);
+		return -EINVAL;
+	}
+
+	dbg_printk("@%s spi-%p sspi-%p\n", __func__, spi, sspi);
+	dbg_printk("Asked to setup mode:-");
+	dbg_printk("max_speed_hz = %d\n", spi->max_speed_hz);
+	dbg_printk("chip_select = %d\n", spi->chip_select);
+	dbg_printk("bits_per_word = %d\n", spi->bits_per_word);
+	dbg_printk("irq = %d\n", spi->irq);
+	dbg_printk("Clk Phs = %d\n", spi->mode & SPI_CPHA);
+	dbg_printk("Clk Pol = %d\n", spi->mode & SPI_CPOL);
+	dbg_printk("ChipSelct = %s\n", (spi->mode & (1<<2)) ? "high" : "low" );
+	dbg_printk("Mode = %s\n", (spi->mode & SPI_SLAVE) ? "Slave" : "Master");
+
+	if((sspi->cur_bpw == spi->bits_per_word) && 
+		(sspi->cur_speed == spi->max_speed_hz) && 
+		(sspi->cur_mode == spi->mode)) /* If no change in configuration, do nothing */
+	    return 0;
+
+	sspi->cur_bpw = spi->bits_per_word;
+	sspi->cur_speed = spi->max_speed_hz;
+	sspi->cur_mode = spi->mode;
+
+	return 0;
+}
+
+static int __init samspi_probe(struct platform_device *pdev)
+{
+	struct spi_master *master;
+	struct samspi_bus *sspi;
+	int ret = -ENODEV;
+
+	dbg_printk("%s:%s:%d ID=%d\n", __FILE__, __func__, __LINE__, pdev->id);
+	master = spi_alloc_master(&pdev->dev, sizeof(struct samspi_bus)); /* Allocate contiguous SPI controller */
+	if (master == NULL)
+		return ret;
+	sspi = spi_master_get_devdata(master);
+	sspi->pdev = pdev;
+	sspi->master = master;
+	platform_set_drvdata(pdev, master);
+
+	INIT_WORK(&sspi->work, samspi_work);
+	spin_lock_init(&sspi->lock);
+	INIT_LIST_HEAD(&sspi->queue);
+	init_completion(&sspi->xfer_completion);
+
+	sspi->clk = clk_get(&pdev->dev, "spi");
+	if (IS_ERR(sspi->clk)) {
+		sspi->clk = NULL;
+		dev_err(&pdev->dev, "cannot acquire clock \n");
+		ret = -EBUSY;
+		goto lb1;
+	}
+	ret = clk_enable(sspi->clk);
+	if (ret) {
+		clk_put(sspi->clk);
+		sspi->clk = NULL;
+		dev_err(&pdev->dev, "cannot enable clock \n");
+		ret = -EBUSY;
+		goto lb2;
+	}
+
+	sspi->cur_mode = SPI_SLAVE; /* Start in Slave mode */
+	sspi->cur_bpw = 8;
+	sspi->max_speed = clk_get_rate(sspi->clk) / 2 / (0x0 + 1);
+	sspi->min_speed = clk_get_rate(sspi->clk) / 2 / (0xff + 1);
+
+	/* Get and Map Resources */
+	sspi->iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (sspi->iores == NULL) {
+		dev_err(&pdev->dev, "cannot find IO resource\n");
+		ret = -ENOENT;
+		goto lb3;
+	}
+
+	sspi->ioarea = request_mem_region(sspi->iores->start, sspi->iores->end - sspi->iores->start + 1, pdev->name);
+	if (sspi->ioarea == NULL) {
+		dev_err(&pdev->dev, "cannot request IO\n");
+		ret = -ENXIO;
+		goto lb4;
+	}
+
+	sspi->regs = ioremap(sspi->iores->start, sspi->iores->end - sspi->iores->start + 1);
+	if (sspi->regs == NULL) {
+		dev_err(&pdev->dev, "cannot map IO\n");
+		ret = -ENXIO;
+		goto lb5;
+	}
+
+	sspi->tx_dma_cpu = dma_alloc_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, &sspi->tx_dma_phys, GFP_KERNEL | GFP_DMA);
+	if(sspi->tx_dma_cpu == NULL){
+		dev_err(&pdev->dev, "Unable to allocate TX DMA buffers\n");
+		ret = -ENOMEM;
+		goto lb6;
+	}
+
+	sspi->rx_dma_cpu = dma_alloc_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, &sspi->rx_dma_phys, GFP_KERNEL | GFP_DMA);
+	if(sspi->rx_dma_cpu == NULL){
+		dev_err(&pdev->dev, "Unable to allocate RX DMA buffers\n");
+		ret = -ENOMEM;
+		goto lb7;
+	}
+
+	sspi->irqres = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
+	if(sspi->irqres == NULL){
+		dev_err(&pdev->dev, "cannot find IRQ\n");
+		ret = -ENOENT;
+		goto lb8;
+	}
+
+	ret = request_irq(sspi->irqres->start, samspi_interrupt, IRQF_DISABLED,
+			pdev->name, sspi);
+	if(ret){
+		dev_err(&pdev->dev, "cannot acquire IRQ\n");
+		ret = -EBUSY;
+		goto lb9;
+	}
+
+	sspi->workqueue = create_singlethread_workqueue(master->dev.parent->bus_id);
+	if(!sspi->workqueue){
+		dev_err(&pdev->dev, "cannot create workqueue\n");
+		ret = -EBUSY;
+		goto lb10;
+	}
+
+	master->bus_num = pdev->id;
+	master->setup = samspi_setup;
+	master->transfer = samspi_transfer;
+	master->cleanup = samspi_cleanup;
+	master->num_chipselect = 1; /* Only 1 Slave connected on SMDK */
+
+	if(spi_register_master(master)){
+		dev_err(&pdev->dev, "cannot register SPI master\n");
+		ret = -EBUSY;
+		goto lb11;
+	}
+
+	/* Configure GPIOs */
+	if(pdev->id == 0)
+		SETUP_SPI(sspi, 0);
+	else if(pdev->id == 1)
+		SETUP_SPI(sspi, 1);
+
+	/* Setup Deufult Mode */
+	samspi_hwinit(sspi, pdev->id);
+
+	printk("Samsung SoC SPI Driver loaded for SPI-%d\n", pdev->id);
+	printk("\tMax,Min-Speed [%d, %d]Hz\n", sspi->max_speed, sspi->min_speed);
+	printk("\tIrq=%d\tIOmem=[0x%x-0x%x]\tDMA=[Rx-%d, Tx-%d]\n",
+			sspi->irqres->start,
+			sspi->iores->end, sspi->iores->start,
+			sspi->rx_dmach, sspi->tx_dmach);
+	return 0;
+
+lb12:
+	spi_unregister_master(master);
+lb11:
+	destroy_workqueue(sspi->workqueue);
+lb10:
+	free_irq(sspi->irqres->start, sspi);
+lb9:
+lb8:
+	dma_free_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, sspi->rx_dma_cpu, sspi->rx_dma_phys);
+lb7:
+	dma_free_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, sspi->tx_dma_cpu, sspi->tx_dma_phys);
+lb6:
+	iounmap((void *) sspi->regs);
+lb5:
+	release_mem_region(sspi->iores->start, sspi->iores->end - sspi->iores->start + 1);
+lb4:
+lb3:
+	clk_disable(sspi->clk);
+lb2:
+	clk_put(sspi->clk);
+lb1:
+	platform_set_drvdata(pdev, NULL);
+	spi_master_put(master);
+
+	return ret;
+}
+
+static int __exit samspi_remove(struct platform_device *pdev)
+{
+	struct spi_master *master = spi_master_get(platform_get_drvdata(pdev));
+	struct samspi_bus *sspi = spi_master_get_devdata(master);
+
+	spi_unregister_master(master);
+	destroy_workqueue(sspi->workqueue);
+	free_irq(sspi->irqres->start, sspi);
+	dma_free_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, sspi->rx_dma_cpu, sspi->rx_dma_phys);
+	dma_free_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, sspi->tx_dma_cpu, sspi->tx_dma_phys);
+	iounmap((void *) sspi->regs);
+	release_mem_region(sspi->iores->start, sspi->iores->end - sspi->iores->start + 1);
+	clk_disable(sspi->clk);
+	clk_put(sspi->clk);
+	platform_set_drvdata(pdev, NULL);
+	spi_master_put(master);
+
+	return 0;
+}
+
+static struct platform_driver sam_spi_driver = {
+	.driver = {
+		.name	= "sam-spi",
+		.owner = THIS_MODULE,
+		.bus    = &platform_bus_type,
+	},
+//	.remove = sam_spi_remove,
+//	.shutdown = sam_spi_shutdown,
+//	.suspend = sam_spi_suspend,
+//	.resume = sam_spi_resume,
+};
+
+static int __init sam_spi_init(void)
+{
+	dbg_printk("%s:%s:%d\n", __FILE__, __func__, __LINE__);
+	return platform_driver_probe(&sam_spi_driver, samspi_probe);
+}
+module_init(sam_spi_init);
+
+static void __exit sam_spi_exit(void)
+{
+	platform_driver_unregister(&sam_spi_driver);
+}
+module_exit(sam_spi_exit);
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Jaswinder Singh Brar <jassi.brar@samsung.com>");
+MODULE_DESCRIPTION("Samsung SOC SPI Controller");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/spi/spi_sam.c linux-2.6.28.6/drivers/spi/spi_sam.c
--- linux-2.6.28/drivers/spi/spi_sam.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/spi/spi_sam.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,983 @@
+/*
+ * spi_sam.c - Samsung SOC SPI controller driver.
+ * By -- Jaswinder Singh <jassi.brar@samsung.com>
+ *
+ * Copyright (C) 2009 Samsung Electronics Ltd.
+ */
+
+#include <linux/init.h>
+#include <linux/delay.h>
+#include <linux/errno.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/sched.h>
+#include <linux/spinlock.h>
+#include <linux/workqueue.h>
+#include <linux/spi/spi.h>
+#include <linux/err.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+#include <linux/dma-mapping.h>
+#include <asm/gpio.h>
+#include <asm/dma.h>
+#include <mach/s3c-dma.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-cfg.h>
+
+#include "spi_sam.h"
+
+//#define DEBUGSPI
+
+#ifdef DEBUGSPI
+
+#define dbg_printk(x...)	printk(x)
+
+static void dump_regs(struct samspi_bus *sspi)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	printk("CHN-%x\t", val);
+	val = readl(sspi->regs + SAMSPI_CLK_CFG);
+	printk("CLK-%x\t", val);
+	val = readl(sspi->regs + SAMSPI_MODE_CFG);
+	printk("MOD-%x\t", val);
+	val = readl(sspi->regs + SAMSPI_SLAVE_SEL);
+	printk("SLVSEL-%x\t", val);
+	val = readl(sspi->regs + SAMSPI_SPI_STATUS);
+	if(val & SPI_STUS_TX_DONE)
+	   printk("TX_done\t");
+	if(val & SPI_STUS_TRAILCNT_ZERO)
+	   printk("TrailZ\t");
+	if(val & SPI_STUS_RX_OVERRUN_ERR)
+	   printk("RX_Ovrn\t");
+	if(val & SPI_STUS_RX_UNDERRUN_ERR)
+	   printk("Rx_Unrn\t");
+	if(val & SPI_STUS_TX_OVERRUN_ERR)
+	   printk("Tx_Ovrn\t");
+	if(val & SPI_STUS_TX_UNDERRUN_ERR)
+	   printk("Tx_Unrn\t");
+	if(val & SPI_STUS_RX_FIFORDY)
+	   printk("Rx_Rdy\t");
+	if(val & SPI_STUS_TX_FIFORDY)
+	   printk("Tx_Rdy\t");
+	printk("Rx/TxLvl=%d,%d\n", (val>>13)&0x7f, (val>>6)&0x7f);
+}
+
+#else
+
+#define dump_regs(sspi) 	do{}while(0)
+#define dbg_printk(x...)	do{}while(0)
+
+#endif
+
+static struct s3c2410_dma_client samspi_dma_client = {
+	.name = "samspi-dma",
+};
+
+static inline void enable_spidma(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_MODE_CFG);
+	val &= ~(SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+	if(xfer->tx_buf != NULL)
+	   val |= SPI_MODE_TXDMA_ON;
+	if(xfer->rx_buf != NULL)
+	   val |= SPI_MODE_RXDMA_ON;
+	writel(val, sspi->regs + SAMSPI_MODE_CFG);
+}
+
+static inline void flush_dma(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	if(xfer->tx_buf != NULL)
+	   s3c2410_dma_ctrl(sspi->tx_dmach, S3C2410_DMAOP_FLUSH);
+	if(xfer->rx_buf != NULL)
+	   s3c2410_dma_ctrl(sspi->rx_dmach, S3C2410_DMAOP_FLUSH);
+}
+
+static inline void flush_spi(struct samspi_bus *sspi)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	val |= SPI_CH_SW_RST;
+	val &= ~SPI_CH_HS_EN;
+	if((sspi->cur_speed > 30000000UL) && !(sspi->cur_mode & SPI_SLAVE)) /* TODO ??? */
+	   val |= SPI_CH_HS_EN;
+	writel(val, sspi->regs + SAMSPI_CH_CFG);
+
+	/* Flush TxFIFO*/
+	do{
+	   val = readl(sspi->regs + SAMSPI_SPI_STATUS);
+	   val = (val>>6) & 0x7f;
+	}while(val);
+
+	/* Flush RxFIFO*/
+	val = readl(sspi->regs + SAMSPI_SPI_STATUS);
+	val = (val>>13) & 0x7f;
+	while(val){
+	   readl(sspi->regs + SAMSPI_SPI_RX_DATA);
+	   val = readl(sspi->regs + SAMSPI_SPI_STATUS);
+	   val = (val>>13) & 0x7f;
+	}
+
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	val &= ~SPI_CH_SW_RST;
+	writel(val, sspi->regs + SAMSPI_CH_CFG);
+}
+
+static inline void enable_spichan(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	val &= ~(SPI_CH_RXCH_ON | SPI_CH_TXCH_ON);
+	if(xfer->tx_buf != NULL){
+	   val |= SPI_CH_TXCH_ON;
+	}
+	if(xfer->rx_buf != NULL){
+	   if(!(sspi->cur_mode & SPI_SLAVE)){
+	      flush_spi(sspi);
+	      writel((xfer->len & 0xffff) | SPI_PACKET_CNT_EN, 
+			sspi->regs + SAMSPI_PACKET_CNT); /* XXX TODO Bytes or number of SPI-Words? */
+	   }
+	   val |= SPI_CH_RXCH_ON;
+	}
+	writel(val, sspi->regs + SAMSPI_CH_CFG);
+}
+
+static inline void enable_spiintr(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	u32 val = 0;
+
+	if(xfer->tx_buf != NULL){
+	   val |= SPI_INT_TX_OVERRUN_EN;
+	   if(!(sspi->cur_mode & SPI_SLAVE))
+	      val |= SPI_INT_TX_UNDERRUN_EN;
+	}
+	if(xfer->rx_buf != NULL){
+	   val |= (SPI_INT_RX_UNDERRUN_EN | SPI_INT_RX_OVERRUN_EN | SPI_INT_TRAILING_EN);
+	}
+	writel(val, sspi->regs + SAMSPI_SPI_INT_EN);
+}
+
+static inline void enable_spienqueue(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	if(xfer->rx_buf != NULL){
+	   sspi->rx_done = BUSY;
+	   s3c2410_dma_config(sspi->rx_dmach, sspi->cur_bpw/8, 0);
+	   s3c2410_dma_enqueue(sspi->rx_dmach, (void *)sspi, xfer->rx_dma, xfer->len);
+	}
+	if(xfer->tx_buf != NULL){
+	   sspi->tx_done = BUSY;
+	   s3c2410_dma_config(sspi->tx_dmach, sspi->cur_bpw/8, 0);
+	   s3c2410_dma_enqueue(sspi->tx_dmach, (void *)sspi, xfer->tx_dma, xfer->len);
+	}
+}
+
+static inline void enable_spics(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	u32 val = 0;
+
+	val = readl(sspi->regs + SAMSPI_SLAVE_SEL);
+	if(sspi->cur_mode & SPI_SLAVE){
+	   val |= SPI_SLAVE_AUTO; /* Auto Mode */
+	   val |= SPI_SLAVE_SIG_INACT;
+	}else{
+	   val &= ~SPI_SLAVE_AUTO; /* Manual Mode */
+	   val &= ~SPI_SLAVE_SIG_INACT; /* Activate CS */
+	}
+	writel(val, sspi->regs + SAMSPI_SLAVE_SEL);
+}
+
+static inline void set_polarity(struct samspi_bus *sspi)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	val &= ~(SPI_CH_SLAVE | SPI_CPOL_L | SPI_CPHA_B);
+	if(sspi->cur_mode & SPI_SLAVE)
+	   val |= SPI_CH_SLAVE;
+	if(!(sspi->cur_mode & SPI_CPOL))
+	   val |= SPI_CPOL_L;
+	if(sspi->cur_mode & SPI_CPHA)
+	   val |= SPI_CPHA_B;
+	writel(val, sspi->regs + SAMSPI_CH_CFG);
+}
+
+static inline void set_clock(struct samspi_bus *sspi)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_CLK_CFG);
+	val &= ~(SPI_CLKSEL_SRCMSK | SPI_ENCLK_ENABLE | 0xff);
+	val |= 0;//SPI_CLKSEL_SRC; jassi
+	if(!(sspi->cur_mode & SPI_SLAVE)){
+	   val |= ((clk_get_rate(sspi->clk) / sspi->cur_speed / 2 - 1) << 0);	// PCLK and PSR
+	   val |= SPI_ENCLK_ENABLE;
+	}
+	writel(val, sspi->regs + SAMSPI_CLK_CFG);
+}
+
+static inline void set_dmachan(struct samspi_bus *sspi)
+{
+	u32 val;
+
+	val = readl(sspi->regs + SAMSPI_MODE_CFG);
+	val &= ~((0x3<<17) | (0x3<<29));
+	if(sspi->cur_bpw == 8){
+	   val |= SPI_MODE_CH_TSZ_BYTE;
+	   val |= SPI_MODE_BUS_TSZ_BYTE;
+	}else if(sspi->cur_bpw == 16){
+	   val |= SPI_MODE_CH_TSZ_HALFWORD;
+	   val |= SPI_MODE_BUS_TSZ_HALFWORD;
+	}else if(sspi->cur_bpw == 32){
+	   val |= SPI_MODE_CH_TSZ_WORD;
+	   val |= SPI_MODE_BUS_TSZ_WORD;
+	}else{
+	   printk("Invalid Bits/Word!\n");
+	}
+	val &= ~(SPI_MODE_4BURST | SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+	writel(val, sspi->regs + SAMSPI_MODE_CFG);
+}
+
+static void config_sspi(struct samspi_bus *sspi)
+{
+	/* Set Polarity and Phase */
+	set_polarity(sspi);
+
+	/* Configure Clock */
+	set_clock(sspi);
+
+	/* Set Channel & DMA Mode */
+	set_dmachan(sspi);
+}
+
+static void samspi_hwinit(struct samspi_bus *sspi, int channel)
+{
+	unsigned int val;
+
+	writel(SPI_SLAVE_SIG_INACT, sspi->regs + SAMSPI_SLAVE_SEL);
+
+	/* Disable Interrupts */
+	writel(0, sspi->regs + SAMSPI_SPI_INT_EN);
+
+#ifdef CONFIG_CPU_S3C6410
+	writel((readl(S3C64XX_SPC_BASE) & ~(3<<28)) | (2<<28), S3C64XX_SPC_BASE);
+	writel((readl(S3C64XX_SPC_BASE) & ~(3<<18)) | (2<<18), S3C64XX_SPC_BASE);
+#elif defined (CONFIG_CPU_S5P6440)
+	writel((readl(S5P64XX_SPC_BASE) & ~(3<<28)) | (2<<28), S5P64XX_SPC_BASE);
+	writel((readl(S5P64XX_SPC_BASE) & ~(3<<18)) | (2<<18), S5P64XX_SPC_BASE);
+#elif defined (CONFIG_CPU_S5P6440)
+	/* How to control drive strength, if we must? */
+#endif
+
+	writel(0, sspi->regs + SAMSPI_CLK_CFG);
+	writel(0, sspi->regs + SAMSPI_MODE_CFG);
+	writel(SPI_SLAVE_SIG_INACT, sspi->regs + SAMSPI_SLAVE_SEL);
+	writel(0, sspi->regs + SAMSPI_PACKET_CNT);
+	writel(readl(sspi->regs + SAMSPI_PENDING_CLR), sspi->regs + SAMSPI_PENDING_CLR);
+	writel(SPI_FBCLK_0NS, sspi->regs + SAMSPI_FB_CLK);
+
+	flush_spi(sspi);
+
+	writel(0, sspi->regs + SAMSPI_SWAP_CFG);
+	writel(SPI_FBCLK_9NS, sspi->regs + SAMSPI_FB_CLK);
+
+	val = readl(sspi->regs + SAMSPI_MODE_CFG);
+	val &= ~(SPI_MAX_TRAILCNT << SPI_TRAILCNT_OFF);
+	if(channel == 0)
+	   SET_MODECFG(val, 0);
+	else 
+	   SET_MODECFG(val, 1);
+	val |= (SPI_TRAILCNT << SPI_TRAILCNT_OFF);
+	writel(val, sspi->regs + SAMSPI_MODE_CFG);
+
+	config_sspi(sspi);
+}
+
+static irqreturn_t samspi_interrupt(int irq, void *dev_id)
+{
+	u32 val;
+	struct samspi_bus *sspi = (struct samspi_bus *)dev_id;
+
+	dump_regs(sspi);
+	val = readl(sspi->regs + SAMSPI_PENDING_CLR);
+	printk("PENDING=%x\n", val);
+	writel(val, sspi->regs + SAMSPI_PENDING_CLR);
+
+	/* We get interrupted only for bad news */
+	if(sspi->tx_done != PASS){
+	   sspi->tx_done = FAIL;
+	}
+	if(sspi->rx_done != PASS){
+	   sspi->rx_done = FAIL;
+	}
+	sspi->state = STOPPED;
+	complete(&sspi->xfer_completion);
+
+	return IRQ_HANDLED;
+}
+
+void samspi_dma_rxcb(struct s3c2410_dma_chan *chan, void *buf_id, int size, enum s3c2410_dma_buffresult res)
+{
+	struct samspi_bus *sspi = (struct samspi_bus *)buf_id;
+
+	if(res == S3C2410_RES_OK){
+	   sspi->rx_done = PASS;
+	   dbg_printk("DmaRx-%d ", size);
+	}else{
+	   sspi->rx_done = FAIL;
+	   dbg_printk("DmaAbrtRx-%d ", size);
+	}
+
+	if(sspi->tx_done != BUSY && sspi->state != STOPPED) /* If other done and all OK */
+	   complete(&sspi->xfer_completion);
+}
+
+void samspi_dma_txcb(struct s3c2410_dma_chan *chan, void *buf_id, int size, enum s3c2410_dma_buffresult res)
+{
+	struct samspi_bus *sspi = (struct samspi_bus *)buf_id;
+
+	if(res == S3C2410_RES_OK){
+	   sspi->tx_done = PASS;
+	   dbg_printk("DmaTx-%d ", size);
+	}else{
+	   sspi->tx_done = FAIL;
+	   dbg_printk("DmaAbrtTx-%d ", size);
+	}
+
+	if(sspi->rx_done != BUSY && sspi->state != STOPPED) /* If other done and all OK */
+	   complete(&sspi->xfer_completion);
+}
+
+static int wait_for_txshiftout(struct samspi_bus *sspi, unsigned long t)
+{
+	unsigned long timeout;
+
+	timeout = jiffies + t;
+	while((__raw_readl(sspi->regs + SAMSPI_SPI_STATUS) >> 6) & 0x7f){
+	   if(time_after(jiffies, timeout))
+	      return -1;
+	   cpu_relax();
+	}
+	return 0;
+}
+
+static int wait_for_xfer(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	int status;
+	u32 val;
+
+	val = msecs_to_jiffies(xfer->len / (sspi->min_speed / 8 / 1000)); /* time to xfer data at min. speed */
+	if(sspi->cur_mode & SPI_SLAVE)
+	   val += msecs_to_jiffies(5000); /* 5secs to switch on the Master */
+	else
+	   val += msecs_to_jiffies(10); /* just some more */
+	status = wait_for_completion_interruptible_timeout(&sspi->xfer_completion, val);
+
+	if(status == 0)
+	   status = -ETIMEDOUT;
+	else if(status == -ERESTARTSYS)
+	   status = -EINTR;
+	else if((sspi->tx_done != PASS) || (sspi->rx_done != PASS)) /* Some Xfer failed */
+	   status = -EIO;
+	else
+	   status = 0;	/* All OK */
+
+	/* When TxLen <= SPI-FifoLen in Slave mode, DMA returns naively */
+	if(!status && (sspi->cur_mode & SPI_SLAVE) && (xfer->tx_buf != NULL)){
+	   val = msecs_to_jiffies(xfer->len / (sspi->min_speed / 8 / 1000)); /* Be lenient */
+	   val += msecs_to_jiffies(5000); /* 5secs to switch on the Master */
+	   status = wait_for_txshiftout(sspi, val);
+	   if(status == -1)
+	      status = -ETIMEDOUT;
+	   else
+	      status = 0;
+	}
+
+	return status;
+}
+
+#define INVALID_DMA_ADDRESS	0xffffffff
+/*  First, try to map buf onto phys addr as such.
+ *   If xfer->r/tx_buf was not on contiguous memory,
+ *   allocate from our preallocated DMA buffer.
+ */
+static int samspi_map_xfer(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	struct device *dev = &sspi->pdev->dev;
+
+	sspi->rx_tmp = NULL;
+	sspi->tx_tmp = NULL;
+
+	xfer->tx_dma = xfer->rx_dma = INVALID_DMA_ADDRESS;
+	if(xfer->tx_buf != NULL){
+		xfer->tx_dma = dma_map_single(dev,
+				(void *) xfer->tx_buf, xfer->len,
+				DMA_TO_DEVICE);
+		if(dma_mapping_error(dev, xfer->tx_dma))
+			goto alloc_from_buffer;
+	}
+	if(xfer->rx_buf != NULL){
+		xfer->rx_dma = dma_map_single(dev,
+				xfer->rx_buf, xfer->len,
+				DMA_FROM_DEVICE);
+		if(dma_mapping_error(dev, xfer->rx_dma)){
+			if(xfer->tx_buf)
+				dma_unmap_single(dev,
+						xfer->tx_dma, xfer->len,
+						DMA_TO_DEVICE);
+			goto alloc_from_buffer;
+		}
+	}
+	return 0;
+
+alloc_from_buffer: /* If the xfer->[r/t]x_buf was not on contiguous memory */
+
+	if(xfer->len <= SAMSPI_DMABUF_LEN){
+	   if(xfer->rx_buf != NULL){
+	      xfer->rx_dma = sspi->rx_dma_phys;
+	      sspi->rx_tmp = (void *)sspi->rx_dma_cpu;
+	   }
+	   if(xfer->tx_buf != NULL){
+	      xfer->tx_dma = sspi->tx_dma_phys;
+	      sspi->tx_tmp = (void *)sspi->tx_dma_cpu;
+	   }
+	}else{
+	   printk("If you plan to use this Xfer size often, increase SAMSPI_DMABUF_LEN\n");
+	   if(xfer->rx_buf != NULL){
+	      sspi->rx_tmp = dma_alloc_coherent(&sspi->pdev->dev, SAMSPI_DMABUF_LEN, 
+							&xfer->rx_dma, GFP_KERNEL | GFP_DMA);
+		if(sspi->rx_tmp == NULL)
+		   return -ENOMEM;
+	   }
+	   if(xfer->tx_buf != NULL){
+	      sspi->tx_tmp = dma_alloc_coherent(&sspi->pdev->dev, 
+						SAMSPI_DMABUF_LEN, &xfer->tx_dma, GFP_KERNEL | GFP_DMA);
+		if(sspi->tx_tmp == NULL){
+		   if(xfer->rx_buf != NULL)
+		      dma_free_coherent(&sspi->pdev->dev, 
+						SAMSPI_DMABUF_LEN, sspi->rx_tmp, xfer->rx_dma);
+		   return -ENOMEM;
+		}
+	   }
+	}
+
+	if(xfer->tx_buf != NULL)
+	   memcpy(sspi->tx_tmp, xfer->tx_buf, xfer->len);
+
+	return 0;
+}
+
+static void samspi_unmap_xfer(struct samspi_bus *sspi, struct spi_transfer *xfer)
+{
+	if((sspi->rx_tmp == NULL) && (sspi->tx_tmp == NULL)) /* if map_single'd */
+	   return;
+
+	if(xfer->rx_buf != NULL)
+	      memcpy(xfer->rx_buf, sspi->rx_tmp, xfer->len);
+
+	if(xfer->len > SAMSPI_DMABUF_LEN){
+	   if(xfer->rx_buf != NULL)
+	      dma_free_coherent(&sspi->pdev->dev, SAMSPI_DMABUF_LEN, sspi->rx_tmp, xfer->rx_dma);
+	   if(xfer->tx_buf != NULL)
+	      dma_free_coherent(&sspi->pdev->dev, SAMSPI_DMABUF_LEN, sspi->tx_tmp, xfer->tx_dma);
+	}else{
+	   sspi->rx_tmp = NULL;
+	   sspi->tx_tmp = NULL;
+	}
+}
+
+static void handle_msg(struct samspi_bus *sspi, struct spi_message *msg)
+{
+	u8 bpw;
+	u32 speed, val;
+	int status = 0;
+	struct spi_transfer *xfer;
+	struct spi_device *spi = msg->spi;
+
+	config_sspi(sspi);
+
+	dump_regs(sspi);
+	list_for_each_entry (xfer, &msg->transfers, transfer_list) {
+
+		if(!msg->is_dma_mapped && samspi_map_xfer(sspi, xfer)){
+		   dev_err(&spi->dev, "Xfer: Unable to allocate DMA buffer!\n");
+		   status = -ENOMEM;
+		   goto out;
+		}
+
+		INIT_COMPLETION(sspi->xfer_completion);
+
+		/* Only BPW and Speed may change across transfers */
+		bpw = xfer->bits_per_word ? : spi->bits_per_word;
+		speed = xfer->speed_hz ? : spi->max_speed_hz;
+
+		if(sspi->cur_bpw != bpw || sspi->cur_speed != speed){
+			sspi->cur_bpw = bpw;
+			sspi->cur_speed = speed;
+			config_sspi(sspi);
+		}
+
+		/* Pending only which is to be done */
+		sspi->rx_done = PASS;
+		sspi->tx_done = PASS;
+		sspi->state = RUNNING;
+
+		/* Enable Interrupts */
+		enable_spiintr(sspi, xfer);
+
+		/* Enqueue data on DMA */
+		enable_spienqueue(sspi, xfer);
+
+		/* Enable DMA */
+		enable_spidma(sspi, xfer);
+
+		/* Enable TX/RX */
+		enable_spichan(sspi, xfer);
+
+		/* Slave Select */
+		enable_spics(sspi, xfer);
+
+		dump_regs(sspi);
+		status = wait_for_xfer(sspi, xfer);
+
+		/**************
+		 * Block Here *
+		 **************/
+
+		if(status == -ETIMEDOUT){
+		   dev_err(&spi->dev, "Xfer: Timeout!\n");
+		   dump_regs(sspi);
+		   sspi->state = STOPPED;
+		   /* DMA Disable*/
+		   val = readl(sspi->regs + SAMSPI_MODE_CFG);
+		   val &= ~(SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+		   writel(val, sspi->regs + SAMSPI_MODE_CFG);
+		   flush_dma(sspi, xfer);
+		   flush_spi(sspi);
+		   if(!msg->is_dma_mapped)
+		      samspi_unmap_xfer(sspi, xfer);
+		   goto out;
+		}
+		if(status == -EINTR){
+		   dev_err(&spi->dev, "Xfer: Interrupted!\n");
+		   dump_regs(sspi);
+		   sspi->state = STOPPED;
+		   /* DMA Disable*/
+		   val = readl(sspi->regs + SAMSPI_MODE_CFG);
+		   val &= ~(SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+		   writel(val, sspi->regs + SAMSPI_MODE_CFG);
+		   flush_dma(sspi, xfer);
+		   flush_spi(sspi);
+		   if(!msg->is_dma_mapped)
+		      samspi_unmap_xfer(sspi, xfer);
+		   goto out;
+		}
+		if(status == -EIO){ /* Some Xfer failed */
+		   dev_err(&spi->dev, "Xfer: Failed!\n");
+		   dump_regs(sspi);
+		   sspi->state = STOPPED;
+		   /* DMA Disable*/
+		   val = readl(sspi->regs + SAMSPI_MODE_CFG);
+		   val &= ~(SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+		   writel(val, sspi->regs + SAMSPI_MODE_CFG);
+		   flush_dma(sspi, xfer);
+		   flush_spi(sspi);
+		   if(!msg->is_dma_mapped)
+		      samspi_unmap_xfer(sspi, xfer);
+		   goto out;
+		}
+
+		if(xfer->delay_usecs){
+		   udelay(xfer->delay_usecs);
+		   dbg_printk("xfer-delay=%u\n", xfer->delay_usecs);
+		}
+		if(xfer->cs_change && !(sspi->cur_mode & SPI_SLAVE)){
+		   writel(readl(sspi->regs + SAMSPI_SLAVE_SEL) | SPI_SLAVE_SIG_INACT,
+				 sspi->regs + SAMSPI_SLAVE_SEL);
+		   dbg_printk("xfer-cs_chng=%u\n", xfer->cs_change);
+		}
+
+		msg->actual_length += xfer->len;
+
+		if(!msg->is_dma_mapped)
+		   samspi_unmap_xfer(sspi, xfer);
+	}
+
+out:
+	/* Slave Deselect */
+	val = readl(sspi->regs + SAMSPI_SLAVE_SEL);
+	val &= ~SPI_SLAVE_AUTO;
+	val |= SPI_SLAVE_SIG_INACT;
+	writel(val, sspi->regs + SAMSPI_SLAVE_SEL);
+
+	/* Disable Interrupts */
+	writel(0, sspi->regs + SAMSPI_SPI_INT_EN);
+
+	/* Tx/Rx Disable */
+	val = readl(sspi->regs + SAMSPI_CH_CFG);
+	val &= ~(SPI_CH_RXCH_ON | SPI_CH_TXCH_ON);
+	writel(val, sspi->regs + SAMSPI_CH_CFG);
+
+	/* DMA Disable*/
+	val = readl(sspi->regs + SAMSPI_MODE_CFG);
+	val &= ~(SPI_MODE_TXDMA_ON | SPI_MODE_RXDMA_ON);
+	writel(val, sspi->regs + SAMSPI_MODE_CFG);
+
+	msg->status = status;
+	if(msg->complete)
+	   msg->complete(msg->context);
+}
+
+static void samspi_work(struct work_struct *work)
+{
+	struct samspi_bus *sspi = container_of(work, struct samspi_bus, work);
+	unsigned long flags;
+
+	spin_lock_irqsave(&sspi->lock, flags);
+	while (!list_empty(&sspi->queue)) {
+		struct spi_message *msg;
+
+		msg = container_of(sspi->queue.next, struct spi_message, queue);
+		list_del_init(&msg->queue);
+		spin_unlock_irqrestore(&sspi->lock, flags);
+
+		handle_msg(sspi, msg);
+
+		spin_lock_irqsave(&sspi->lock, flags);
+	}
+	spin_unlock_irqrestore(&sspi->lock, flags);
+}
+
+static void samspi_cleanup(struct spi_device *spi)
+{
+	dbg_printk("%s:%s:%d\n", __FILE__, __func__, __LINE__);
+}
+
+static int samspi_transfer(struct spi_device *spi, struct spi_message *msg)
+{
+	struct spi_master *master = spi->master;
+	struct samspi_bus *sspi = spi_master_get_devdata(master);
+	unsigned long flags;
+
+	spin_lock_irqsave(&sspi->lock, flags);
+	msg->actual_length = 0;
+	list_add_tail(&msg->queue, &sspi->queue);
+	queue_work(sspi->workqueue, &sspi->work);
+	spin_unlock_irqrestore(&sspi->lock, flags);
+
+	return 0;
+}
+
+/* the spi->mode bits understood by this driver: */
+#define MODEBITS	(SPI_CPOL | SPI_CPHA | SPI_SLAVE)
+
+/*
+ * Here we only check the validity of requested configuration and 
+ * save the configuration in a local data-structure.
+ * The controller is actually configured only just before
+ * we get a message to transfer _and_ if no other message is pending(already configured).
+ */
+static int samspi_setup(struct spi_device *spi)
+{
+	unsigned long flags;
+	unsigned int psr;
+	struct samspi_bus *sspi = spi_master_get_devdata(spi->master);
+
+	spin_lock_irqsave(&sspi->lock, flags);
+	if(!list_empty(&sspi->queue)){	/* Any pending message? */
+		spin_unlock_irqrestore(&sspi->lock, flags);
+		dev_dbg(&spi->dev, "setup: attempt while messages in queue!\n");
+		return -EBUSY;
+	}
+	spin_unlock_irqrestore(&sspi->lock, flags);
+
+	if (spi->chip_select > spi->master->num_chipselect) {
+		dev_dbg(&spi->dev, "setup: invalid chipselect %u (%u defined)\n",
+				spi->chip_select, spi->master->num_chipselect);
+		return -EINVAL;
+	}
+
+	spi->bits_per_word = spi->bits_per_word ? : 8;
+
+	if((spi->bits_per_word != 8) && 
+			(spi->bits_per_word != 16) && 
+			(spi->bits_per_word != 32)){
+		dev_err(&spi->dev, "setup: %dbits/wrd not supported!\n", spi->bits_per_word);
+		return -EINVAL;
+	}
+
+	spi->max_speed_hz = spi->max_speed_hz ? : sspi->max_speed;
+
+	/* Round-off max_speed_hz */
+	psr = clk_get_rate(sspi->clk) / spi->max_speed_hz / 2 - 1;
+	psr &= 0xff;
+	if(spi->max_speed_hz < clk_get_rate(sspi->clk) / 2 / (psr + 1))
+	   psr = (psr+1) & 0xff;
+
+	spi->max_speed_hz = clk_get_rate(sspi->clk) / 2 / (psr + 1);
+
+	if (spi->max_speed_hz > sspi->max_speed
+			|| spi->max_speed_hz < sspi->min_speed){
+		dev_err(&spi->dev, "setup: req speed(%u) out of range[%u-%u]\n", 
+				spi->max_speed_hz, sspi->min_speed, sspi->max_speed);
+		return -EINVAL;
+	}
+
+	if (spi->mode & ~MODEBITS) {
+		dev_dbg(&spi->dev, "setup: unsupported mode bits %x\n",	spi->mode & ~MODEBITS);
+		return -EINVAL;
+	}
+
+	dbg_printk("@%s spi-%p sspi-%p\n", __func__, spi, sspi);
+	dbg_printk("Asked to setup mode:-");
+	dbg_printk("max_speed_hz = %d\n", spi->max_speed_hz);
+	dbg_printk("chip_select = %d\n", spi->chip_select);
+	dbg_printk("bits_per_word = %d\n", spi->bits_per_word);
+	dbg_printk("irq = %d\n", spi->irq);
+	dbg_printk("Clk Phs = %d\n", spi->mode & SPI_CPHA);
+	dbg_printk("Clk Pol = %d\n", spi->mode & SPI_CPOL);
+	dbg_printk("ChipSelct = %s\n", (spi->mode & (1<<2)) ? "high" : "low" );
+	dbg_printk("Mode = %s\n", (spi->mode & SPI_SLAVE) ? "Slave" : "Master");
+
+	if((sspi->cur_bpw == spi->bits_per_word) && 
+		(sspi->cur_speed == spi->max_speed_hz) && 
+		(sspi->cur_mode == spi->mode)) /* If no change in configuration, do nothing */
+	    return 0;
+
+	sspi->cur_bpw = spi->bits_per_word;
+	sspi->cur_speed = spi->max_speed_hz;
+	sspi->cur_mode = spi->mode;
+
+	return 0;
+}
+
+static int __init samspi_probe(struct platform_device *pdev)
+{
+	struct spi_master *master;
+	struct samspi_bus *sspi;
+	int ret = -ENODEV;
+
+	dbg_printk("%s:%s:%d ID=%d\n", __FILE__, __func__, __LINE__, pdev->id);
+	master = spi_alloc_master(&pdev->dev, sizeof(struct samspi_bus)); /* Allocate contiguous SPI controller */
+	if (master == NULL)
+		return ret;
+	sspi = spi_master_get_devdata(master);
+	sspi->pdev = pdev;
+	sspi->master = master;
+	platform_set_drvdata(pdev, master);
+
+	INIT_WORK(&sspi->work, samspi_work);
+	spin_lock_init(&sspi->lock);
+	INIT_LIST_HEAD(&sspi->queue);
+	init_completion(&sspi->xfer_completion);
+
+	sspi->clk = clk_get(&pdev->dev, "spi");
+	if (IS_ERR(sspi->clk)) {
+		sspi->clk = NULL;
+		dev_err(&pdev->dev, "cannot acquire clock \n");
+		ret = -EBUSY;
+		goto lb1;
+	}
+	ret = clk_enable(sspi->clk);
+	if (ret) {
+		clk_put(sspi->clk);
+		sspi->clk = NULL;
+		dev_err(&pdev->dev, "cannot enable clock \n");
+		ret = -EBUSY;
+		goto lb2;
+	}
+
+	sspi->cur_mode = SPI_SLAVE; /* Start in Slave mode */
+	sspi->cur_bpw = 8;
+	sspi->max_speed = clk_get_rate(sspi->clk) / 2 / (0x0 + 1);
+	sspi->min_speed = clk_get_rate(sspi->clk) / 2 / (0xff + 1);
+
+	/* Get and Map Resources */
+	sspi->iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+	if (sspi->iores == NULL) {
+		dev_err(&pdev->dev, "cannot find IO resource\n");
+		ret = -ENOENT;
+		goto lb3;
+	}
+
+	sspi->ioarea = request_mem_region(sspi->iores->start, sspi->iores->end - sspi->iores->start + 1, pdev->name);
+	if (sspi->ioarea == NULL) {
+		dev_err(&pdev->dev, "cannot request IO\n");
+		ret = -ENXIO;
+		goto lb4;
+	}
+
+	sspi->regs = ioremap(sspi->iores->start, sspi->iores->end - sspi->iores->start + 1);
+	if (sspi->regs == NULL) {
+		dev_err(&pdev->dev, "cannot map IO\n");
+		ret = -ENXIO;
+		goto lb5;
+	}
+
+	sspi->tx_dma_cpu = dma_alloc_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, &sspi->tx_dma_phys, GFP_KERNEL | GFP_DMA);
+	if(sspi->tx_dma_cpu == NULL){
+		dev_err(&pdev->dev, "Unable to allocate TX DMA buffers\n");
+		ret = -ENOMEM;
+		goto lb6;
+	}
+
+	sspi->rx_dma_cpu = dma_alloc_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, &sspi->rx_dma_phys, GFP_KERNEL | GFP_DMA);
+	if(sspi->rx_dma_cpu == NULL){
+		dev_err(&pdev->dev, "Unable to allocate RX DMA buffers\n");
+		ret = -ENOMEM;
+		goto lb7;
+	}
+
+	sspi->irqres = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
+	if(sspi->irqres == NULL){
+		dev_err(&pdev->dev, "cannot find IRQ\n");
+		ret = -ENOENT;
+		goto lb8;
+	}
+
+	ret = request_irq(sspi->irqres->start, samspi_interrupt, IRQF_DISABLED,
+			pdev->name, sspi);
+	if(ret){
+		dev_err(&pdev->dev, "cannot acquire IRQ\n");
+		ret = -EBUSY;
+		goto lb9;
+	}
+
+	sspi->workqueue = create_singlethread_workqueue(master->dev.parent->bus_id);
+	if(!sspi->workqueue){
+		dev_err(&pdev->dev, "cannot create workqueue\n");
+		ret = -EBUSY;
+		goto lb10;
+	}
+
+	master->bus_num = pdev->id;
+	master->setup = samspi_setup;
+	master->transfer = samspi_transfer;
+	master->cleanup = samspi_cleanup;
+	master->num_chipselect = 1; /* Only 1 Slave connected on SMDK */
+
+	if(spi_register_master(master)){
+		dev_err(&pdev->dev, "cannot register SPI master\n");
+		ret = -EBUSY;
+		goto lb11;
+	}
+
+	/* Configure GPIOs */
+	if(pdev->id == 0)
+		SETUP_SPI(sspi, 0);
+	else if(pdev->id == 1)
+		SETUP_SPI(sspi, 1);
+
+	if(s3c2410_dma_request(sspi->rx_dmach, &samspi_dma_client, NULL)){
+		dev_err(&pdev->dev, "cannot get RxDMA\n");
+		ret = -EBUSY;
+		goto lb12;
+	}
+	s3c2410_dma_set_buffdone_fn(sspi->rx_dmach, samspi_dma_rxcb);
+	s3c2410_dma_devconfig(sspi->rx_dmach, S3C2410_DMASRC_HW, 0, sspi->sfr_phyaddr + SAMSPI_SPI_RX_DATA);
+	s3c2410_dma_config(sspi->rx_dmach, sspi->cur_bpw/8, 0);
+	s3c2410_dma_setflags(sspi->rx_dmach, S3C2410_DMAF_AUTOSTART);
+
+	if(s3c2410_dma_request(sspi->tx_dmach, &samspi_dma_client, NULL)){
+		dev_err(&pdev->dev, "cannot get TxDMA\n");
+		ret = -EBUSY;
+		goto lb13;
+	}
+	s3c2410_dma_set_buffdone_fn(sspi->tx_dmach, samspi_dma_txcb);
+	s3c2410_dma_devconfig(sspi->tx_dmach, S3C2410_DMASRC_MEM, 0, sspi->sfr_phyaddr + SAMSPI_SPI_TX_DATA);
+	s3c2410_dma_config(sspi->tx_dmach, sspi->cur_bpw/8, 0);
+	s3c2410_dma_setflags(sspi->tx_dmach, S3C2410_DMAF_AUTOSTART);
+
+	/* Setup Deufult Mode */
+	samspi_hwinit(sspi, pdev->id);
+
+	printk("Samsung SoC SPI Driver loaded for SPI-%d\n", pdev->id);
+	printk("\tMax,Min-Speed [%d, %d]Hz\n", sspi->max_speed, sspi->min_speed);
+	printk("\tIrq=%d\tIOmem=[0x%x-0x%x]\tDMA=[Rx-%d, Tx-%d]\n",
+			sspi->irqres->start,
+			sspi->iores->end, sspi->iores->start,
+			sspi->rx_dmach, sspi->tx_dmach);
+	return 0;
+
+lb13:
+	s3c2410_dma_free(sspi->rx_dmach, &samspi_dma_client);
+lb12:
+	spi_unregister_master(master);
+lb11:
+	destroy_workqueue(sspi->workqueue);
+lb10:
+	free_irq(sspi->irqres->start, sspi);
+lb9:
+lb8:
+	dma_free_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, sspi->rx_dma_cpu, sspi->rx_dma_phys);
+lb7:
+	dma_free_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, sspi->tx_dma_cpu, sspi->tx_dma_phys);
+lb6:
+	iounmap((void *) sspi->regs);
+lb5:
+	release_mem_region(sspi->iores->start, sspi->iores->end - sspi->iores->start + 1);
+lb4:
+lb3:
+	clk_disable(sspi->clk);
+lb2:
+	clk_put(sspi->clk);
+lb1:
+	platform_set_drvdata(pdev, NULL);
+	spi_master_put(master);
+
+	return ret;
+}
+
+static int __exit samspi_remove(struct platform_device *pdev)
+{
+	struct spi_master *master = spi_master_get(platform_get_drvdata(pdev));
+	struct samspi_bus *sspi = spi_master_get_devdata(master);
+
+	s3c2410_dma_free(sspi->tx_dmach, &samspi_dma_client);
+	s3c2410_dma_free(sspi->rx_dmach, &samspi_dma_client);
+	spi_unregister_master(master);
+	destroy_workqueue(sspi->workqueue);
+	free_irq(sspi->irqres->start, sspi);
+	dma_free_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, sspi->rx_dma_cpu, sspi->rx_dma_phys);
+	dma_free_coherent(&pdev->dev, SAMSPI_DMABUF_LEN, sspi->tx_dma_cpu, sspi->tx_dma_phys);
+	iounmap((void *) sspi->regs);
+	release_mem_region(sspi->iores->start, sspi->iores->end - sspi->iores->start + 1);
+	clk_disable(sspi->clk);
+	clk_put(sspi->clk);
+	platform_set_drvdata(pdev, NULL);
+	spi_master_put(master);
+
+	return 0;
+}
+
+static struct platform_driver sam_spi_driver = {
+	.driver = {
+		.name	= "sam-spi",
+		.owner = THIS_MODULE,
+		.bus    = &platform_bus_type,
+	},
+//	.remove = sam_spi_remove,
+//	.shutdown = sam_spi_shutdown,
+//	.suspend = sam_spi_suspend,
+//	.resume = sam_spi_resume,
+};
+
+static int __init sam_spi_init(void)
+{
+	dbg_printk("%s:%s:%d\n", __FILE__, __func__, __LINE__);
+	return platform_driver_probe(&sam_spi_driver, samspi_probe);
+}
+module_init(sam_spi_init);
+
+static void __exit sam_spi_exit(void)
+{
+	platform_driver_unregister(&sam_spi_driver);
+}
+module_exit(sam_spi_exit);
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("Jaswinder Singh Brar <jassi.brar@samsung.com>");
+MODULE_DESCRIPTION("Samsung SOC SPI Controller");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/spi/spi_sam.h linux-2.6.28.6/drivers/spi/spi_sam.h
--- linux-2.6.28/drivers/spi/spi_sam.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/spi/spi_sam.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,286 @@
+/*
+ * spi_sam.h - Samsung SOC SPI controller driver.
+ *
+ * Copyright (C) 2009 Samsung Electronics Ltd.
+ */
+
+#ifndef _LINUX_SPI_SAM_H
+#define _LINUX_SPI_SAM_H
+
+#define SAMSPI_CH_CFG		(0x00)      //SPI configuration
+#define SAMSPI_CLK_CFG		(0x04)      //Clock configuration
+#define SAMSPI_MODE_CFG		(0x08)      //SPI FIFO control
+#define SAMSPI_SLAVE_SEL	(0x0C)      //Slave selection
+#define SAMSPI_SPI_INT_EN	(0x10)      //SPI interrupt enable
+#define SAMSPI_SPI_STATUS	(0x14)      //SPI status
+#define SAMSPI_SPI_TX_DATA	(0x18)      //SPI TX data
+#define SAMSPI_SPI_RX_DATA	(0x1C)      //SPI RX data
+#define SAMSPI_PACKET_CNT	(0x20)      //count how many data master gets
+#define SAMSPI_PENDING_CLR	(0x24)      //Pending clear
+#define SAMSPI_SWAP_CFG		(0x28)      //SWAP config register
+#define SAMSPI_FB_CLK		(0x2c)      //SWAP FB config register
+
+#define SPI_CH_HS_EN		(1<<6)	/* High Speed Enable */
+#define SPI_CH_SW_RST		(1<<5)
+#define SPI_CH_SLAVE		(1<<4)
+#define SPI_CPOL_L		(1<<3)
+#define SPI_CPHA_B		(1<<2)
+#define SPI_CH_RXCH_ON		(1<<1)
+#define SPI_CH_TXCH_ON		(1<<0)
+
+#define SPI_CLKSEL_PCLK		(0<<9)
+#define SPI_CLKSEL_USBCLK	(1<<9)
+#define SPI_CLKSEL_ECLK		(2<<9)
+#define SPI_CLKSEL_SRCMSK	(3<<9)
+#define SPI_ENCLK_ENABLE	(1<<8)
+
+#ifdef CONFIG_SPICLK_SRC_PCLK
+#define SPI_CLKSEL_SRC	(0 << 9)
+#elif defined (CONFIG_SPICLK_SRC_SPIEXT)
+#define SPI_CLKSEL_SRC	(1 << 9)
+#elif defined (CONFIG_SPICLK_SRC_USB)
+#define SPI_CLKSEL_SRC	(1 << 9)
+#elif defined (CONFIG_SPICLK_SRC_EPLL)
+#define SPI_CLKSEL_SRC	(2 << 9)
+#elif defined (CONFIG_SPICLK_SRC_SCLK48M)
+#define SPI_CLKSEL_SRC	(1 << 9)
+#elif defined (CONFIG_SPICLK_SRC_SCLKSPI)
+#define SPI_CLKSEL_SRC	(2 << 9)
+#endif
+
+#define SPI_MODE_CH_TSZ_BYTE		(0<<29)
+#define SPI_MODE_CH_TSZ_HALFWORD	(1<<29)
+#define SPI_MODE_CH_TSZ_WORD		(2<<29)
+#define SPI_MODE_BUS_TSZ_BYTE		(0<<17)
+#define SPI_MODE_BUS_TSZ_HALFWORD	(1<<17)
+#define SPI_MODE_BUS_TSZ_WORD		(2<<17)
+#define SPI_MODE_RXDMA_ON		(1<<2)
+#define SPI_MODE_TXDMA_ON		(1<<1)
+#define SPI_MODE_4BURST		(1<<0)
+
+#define SPI_SLAVE_AUTO		(1<<1)
+#define SPI_SLAVE_SIG_INACT	(1<<0)
+
+#define SPI_INT_TRAILING_EN	(1<<6)
+#define SPI_INT_RX_OVERRUN_EN	(1<<5)
+#define SPI_INT_RX_UNDERRUN_EN	(1<<4)
+#define SPI_INT_TX_OVERRUN_EN	(1<<3)
+#define SPI_INT_TX_UNDERRUN_EN	(1<<2)
+#define SPI_INT_RX_FIFORDY_EN	(1<<1)
+#define SPI_INT_TX_FIFORDY_EN	(1<<0)
+
+#define SPI_STUS_TX_DONE		(1<<21)
+#define SPI_STUS_TRAILCNT_ZERO		(1<<20)
+#define SPI_STUS_RX_OVERRUN_ERR		(1<<5)
+#define SPI_STUS_RX_UNDERRUN_ERR	(1<<4)
+#define SPI_STUS_TX_OVERRUN_ERR		(1<<3)
+#define SPI_STUS_TX_UNDERRUN_ERR	(1<<2)
+#define SPI_STUS_RX_FIFORDY		(1<<1)
+#define SPI_STUS_TX_FIFORDY		(1<<0)
+
+#define SPI_PACKET_CNT_EN	(1<<16)
+
+#define SPI_PND_TX_UNDERRUN_CLR	(1<<4)
+#define SPI_PND_TX_OVERRUN_CLR	(1<<3)
+#define SPI_PND_RX_UNDERRUN_CLR	(1<<2)
+#define SPI_PND_RX_OVERRUN_CLR	(1<<1)
+#define SPI_PND_TRAILING_CLR	(1<<0)
+
+#define SPI_SWAP_RX_HALF_WORD	(1<<7)
+#define SPI_SWAP_RX_BYTE	(1<<6)
+#define SPI_SWAP_RX_BIT		(1<<5)
+#define SPI_SWAP_RX_EN		(1<<4)
+#define SPI_SWAP_TX_HALF_WORD	(1<<3)
+#define SPI_SWAP_TX_BYTE	(1<<2)
+#define SPI_SWAP_TX_BIT		(1<<1)
+#define SPI_SWAP_TX_EN		(1<<0)
+
+#define SPI_FBCLK_0NS		(0<<0)
+#define SPI_FBCLK_3NS		(1<<0)
+#define SPI_FBCLK_6NS		(2<<0)
+#define SPI_FBCLK_9NS		(3<<0)
+
+#ifdef CONFIG_CPU_S3C6410
+#define CH0_TX_MAXBYTES		   (64)
+#define CH0_RX_MAXBYTES		   (64)
+#define CH0_PER_UNIT               (1)
+#elif defined (CONFIG_CPU_S5P6440)
+#define CH0_TX_MAXBYTES		   (256)
+#define CH0_RX_MAXBYTES		   (256)
+#define CH0_PER_UNIT               (4)
+#elif defined (CONFIG_CPU_S5PC100)
+#define CH0_TX_MAXBYTES		   (64)
+#define CH0_RX_MAXBYTES		   (64)
+#define CH0_PER_UNIT               (1)
+#endif
+
+#define CH1_TX_MAXBYTES	           (64)
+#define CH1_RX_MAXBYTES		   (64)
+#define CH1_PER_UNIT               (4)
+#define SPI_CH0_TXFIFO_MAXLEN	(CH0_TX_MAXBYTES / CH0_PER_UNIT - 1)
+#define SPI_CH0_RXFIFO_MAXLEN	(CH0_RX_MAXBYTES / CH0_PER_UNIT - 1)
+#define SPI_CH0_TXFLEN_OFF		(5)
+#define SPI_CH0_RXFLEN_OFF		(11)
+#define SPI_CH1_TXFIFO_MAXLEN	(CH1_TX_MAXBYTES / CH1_PER_UNIT - 1)
+#define SPI_CH1_RXFIFO_MAXLEN	(CH1_RX_MAXBYTES / CH1_PER_UNIT - 1)
+#define SPI_CH1_TXFLEN_OFF		(5)
+#define SPI_CH1_RXFLEN_OFF		(11)
+#define SPI_MAX_TRAILCNT		(0x3ff)
+#define SPI_TRAILCNT_OFF		(19)
+
+#define SPI_CH0_TXFIFO_LEN		SPI_CH0_TXFIFO_MAXLEN
+#define SPI_CH0_RXFIFO_LEN		SPI_CH0_RXFIFO_MAXLEN
+#define SPI_CH1_TXFIFO_LEN		SPI_CH1_TXFIFO_MAXLEN
+#define SPI_CH1_RXFIFO_LEN		SPI_CH1_RXFIFO_MAXLEN
+#define SPI_TRAILCNT			SPI_MAX_TRAILCNT
+
+#ifdef CONFIG_CPU_S3C6410
+
+#define SAMSPI_PA_SPI0 S3C64XX_PA_SPI0
+#define SAMSPI_PA_SPI1 S3C64XX_PA_SPI1
+
+#elif defined (CONFIG_CPU_S5P6440)
+
+#define SAMSPI_PA_SPI0 S5P64XX_PA_SPI0
+#define SAMSPI_PA_SPI1 S5P64XX_PA_SPI1
+
+#elif defined (CONFIG_CPU_S5PC100)
+
+#define SAMSPI_PA_SPI0 S5PC1XX_PA_SPI0
+#define SAMSPI_PA_SPI1 S5PC1XX_PA_SPI1
+//#define SAMSPI_PA_SPI2 S5PC1XX_PA_SPI2
+
+#endif
+
+#define DMACH_SPIIN_0        DMACH_SPI0_IN
+#define DMACH_SPIOUT_0       DMACH_SPI0_OUT
+#define DMACH_SPIIN_1        DMACH_SPI1_IN
+#define DMACH_SPIOUT_1       DMACH_SPI1_OUT
+
+#define GPMISO_0             0
+#define GPCLK_0              1
+#define GPMOSI_0             2
+#define GPCS_0               3
+#define GPMISO_1             4
+#define GPCLK_1              5
+#define GPMOSI_1             6
+#define GPCS_1               7
+
+#ifdef CONFIG_CPU_S3C6410
+
+#define GPNAME               S3C64XX_GPC
+#define GPIO_MISO_0          S3C64XX_GPC0_SPI_MISO0
+#define GPIO_CLK_0           S3C64XX_GPC1_SPI_CLK0
+#define GPIO_MOSI_0          S3C64XX_GPC2_SPI_MOSI0
+#define GPIO_CS_0            S3C64XX_GPC3_SPI_nCS0
+#define GPIO_MISO_1          S3C64XX_GPC4_SPI_MISO1
+#define GPIO_CLK_1           S3C64XX_GPC5_SPI_CLK1
+#define GPIO_MOSI_1          S3C64XX_GPC6_SPI_MOSI1
+#define GPIO_CS_1            S3C64XX_GPC7_SPI_nCS1
+
+#elif defined (CONFIG_CPU_S5P6440)
+
+#define GPNAME               S5P64XX_GPC
+#define GPIO_MISO_0          S5P64XX_GPC0_SPI_MISO0
+#define GPIO_CLK_0           S5P64XX_GPC1_SPI_CLK0
+#define GPIO_MOSI_0          S5P64XX_GPC2_SPI_MOSI0
+#define GPIO_CS_0            S5P64XX_GPC3_SPI_nCS0
+#define GPIO_MISO_1          S5P64XX_GPC4_SPI_MISO1
+#define GPIO_CLK_1           S5P64XX_GPC5_SPI_CLK1
+#define GPIO_MOSI_1          S5P64XX_GPC6_SPI_MOSI1
+#define GPIO_CS_1            S5P64XX_GPC7_SPI_nCS1
+
+#elif defined (CONFIG_CPU_S5PC100)
+
+//#define DMACH_SPIIN_2        DMACH_SPI2_IN
+//#define DMACH_SPIOUT_2       DMACH_SPI2_OUT
+#define GPNAME               S5PC1XX_GPB
+#define GPIO_MISO_0          S5PC1XX_GPB0_SPI_MISO0
+#define GPIO_CLK_0           S5PC1XX_GPB1_SPI_CLK0
+#define GPIO_MOSI_0          S5PC1XX_GPB2_SPI_MOSI0
+#define GPIO_CS_0            S5PC1XX_GPB3_SPI_CS0
+#define GPIO_MISO_1          S5PC1XX_GPB4_SPI_MISO1
+#define GPIO_CLK_1           S5PC1XX_GPB5_SPI_CLK1
+#define GPIO_MOSI_1          S5PC1XX_GPB6_SPI_MOSI1
+#define GPIO_CS_1            S5PC1XX_GPB7_SPI_CS1
+//#define GPIO_MISO_2          S5PC1XX_GPG3_2SPI_MISO2
+//#define GPIO_CLK_2           S5PC1XX_GPG3_0SPI_CLK2
+//#define GPIO_MOSI_2          S5PC1XX_GPG3_3SPI_MOSI2
+//#define GPIO_CS_2            S5PC1XX_GPG3_1SPI_CS2
+//#define GPMISO_2             4
+//#define GPCLK_2              5
+//#define GPMOSI_2             6
+//#define GPCS_2               7
+
+#endif
+
+#define SETUP_SPI(sspi, n)	do{                                                             \
+				   sspi->sfr_phyaddr = SAMSPI_PA_SPI##n;                        \
+				   sspi->rx_dmach = DMACH_SPIIN_##n;                            \
+				   sspi->tx_dmach = DMACH_SPIOUT_##n;                           \
+				   s3c_gpio_cfgpin(GPNAME(GPMISO_##n), GPIO_MISO_##n);          \
+				   s3c_gpio_cfgpin(GPNAME(GPCLK_##n), GPIO_CLK_##n);            \
+				   s3c_gpio_cfgpin(GPNAME(GPMOSI_##n), GPIO_MOSI_##n);          \
+				   s3c_gpio_cfgpin(GPNAME(GPCS_##n), GPIO_CS_##n);              \
+				   s3c_gpio_setpull(GPNAME(GPMISO_##n), S3C_GPIO_PULL_UP);      \
+				   s3c_gpio_setpull(GPNAME(GPCLK_##n), S3C_GPIO_PULL_UP);       \
+				   s3c_gpio_setpull(GPNAME(GPMOSI_##n), S3C_GPIO_PULL_UP);      \
+				   s3c_gpio_setpull(GPNAME(GPCS_##n), S3C_GPIO_PULL_UP);        \
+				}while(0)
+
+#define SET_MODECFG(v, n)   do{                                                                      \
+                               v &= ~((SPI_CH##n##_TXFIFO_MAXLEN << SPI_CH##n##_TXFLEN_OFF)          \
+                                         | (SPI_CH##n##_RXFIFO_MAXLEN << SPI_CH##n##_RXFLEN_OFF));   \
+                               v |= (SPI_CH##n##_TXFIFO_LEN << SPI_CH##n##_TXFLEN_OFF)               \
+                                         | (SPI_CH##n##_RXFIFO_LEN << SPI_CH##n##_RXFLEN_OFF);       \
+                            }while(0)
+
+#define SAMSPI_DMABUF_LEN	(16*1024)
+
+enum samspi_state {
+	RUNNING,
+	STOPPED,
+};
+
+enum xfer_state {
+	PASS,
+	FAIL,
+	BUSY,
+};
+
+/* Structure for each SPI controller of Samsung SOC */
+struct samspi_bus {
+	struct spi_master        *master;
+	struct workqueue_struct	 *workqueue;
+	struct platform_device   *pdev;
+	struct work_struct       work;
+	struct list_head         queue;
+	spinlock_t               lock;	/* protect 'queue' */
+	enum samspi_state        state;
+	enum dma_ch              rx_dmach;
+	enum dma_ch              tx_dmach;
+	u32                      sfr_phyaddr;
+	struct resource		 *irqres;
+	struct resource		 *ioarea;
+	struct resource 	 *iores;
+	void __iomem             *regs;
+	void __iomem             *tx_dma_cpu;
+	void __iomem             *rx_dma_cpu;
+	void __iomem             *rx_tmp;
+	void __iomem             *tx_tmp;
+	dma_addr_t               tx_dma_phys;
+	dma_addr_t               rx_dma_phys;
+	struct clk               *parrent_clk; /* PCLK, USBCLK or Epll_CLK */
+	struct clk               *clk;
+	struct completion        xfer_completion;
+	enum xfer_state          tx_done;
+	enum xfer_state          rx_done;
+	u32                      max_speed;
+	u32                      min_speed;
+	//struct list_head         dq;  /* List of all devices attached to this bus/controller */
+	/* Current parameters of the controller due to request from active transfer */
+	u8 	                 cur_mode, cur_bpw, active_chip;
+	u32                      cur_speed;
+};
+
+#endif 	//_LINUX_SPI_SAM_H
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/spi/spidev.c linux-2.6.28.6/drivers/spi/spidev.c
--- linux-2.6.28/drivers/spi/spidev.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/spi/spidev.c	2009-04-30 09:36:39.000000000 +0200
@@ -66,7 +66,7 @@
  * REVISIT should changing those two modes be privileged?
  */
 #define SPI_MODE_MASK		(SPI_CPHA | SPI_CPOL | SPI_CS_HIGH \
-				| SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP)
+				| SPI_LSB_FIRST | SPI_3WIRE | SPI_LOOP | SPI_SLAVE)
 
 struct spidev_data {
 	dev_t			devt;
@@ -83,7 +83,7 @@
 static LIST_HEAD(device_list);
 static DEFINE_MUTEX(device_list_lock);
 
-static unsigned bufsiz = 4096;
+static unsigned bufsiz = SPIDEV_MAX_BUFFSIZE;
 module_param(bufsiz, uint, S_IRUGO);
 MODULE_PARM_DESC(bufsiz, "data bytes in biggest supported SPI message");
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/Kconfig linux-2.6.28.6/drivers/usb/Kconfig
--- linux-2.6.28/drivers/usb/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -32,6 +32,8 @@
 	default y if ARCH_OMAP
 	default y if ARCH_LH7A404
 	default y if ARCH_S3C2410
+	default y if ARCH_S3C64XX
+	default y if ARCH_S5PC1XX
 	default y if PXA27x
 	default y if PXA3xx
 	default y if ARCH_EP93XX
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/Makefile linux-2.6.28.6/drivers/usb/Makefile
--- linux-2.6.28/drivers/usb/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/Makefile	2009-04-30 09:36:39.000000000 +0200
@@ -17,6 +17,7 @@
 obj-$(CONFIG_USB_U132_HCD)	+= host/
 obj-$(CONFIG_USB_R8A66597_HCD)	+= host/
 obj-$(CONFIG_USB_HWA_HCD)	+= host/
+obj-$(CONFIG_USB_S3C_OTG_HOST)	+= host/
 
 obj-$(CONFIG_USB_C67X00_HCD)	+= c67x00/
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/Kconfig linux-2.6.28.6/drivers/usb/gadget/Kconfig
--- linux-2.6.28/drivers/usb/gadget/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -112,6 +112,7 @@
 choice
 	prompt "USB Peripheral Controller"
 	depends on USB_GADGET
+	default USB_GADGET_S3C_OTGD if (PLAT_S3C64XX || PLAT_S5P64XX || PLAT_S5PC1XX)
 	help
 	   A USB device uses a controller to talk to its host.
 	   Systems should have only one such upstream link.
@@ -291,6 +292,19 @@
 	boolean "S3C2410 udc debug messages"
 	depends on USB_GADGET_S3C2410
 
+config USB_GADGET_S3C_OTGD
+	boolean "S3C HS USB OTG Device"
+	depends on (PLAT_S3C64XX || PLAT_S5P64XX || PLAT_S5PC1XX) && !(USB_S3C_OTG_HOST) 
+	help
+	  Samsung's S3C64XX processors include high speed USB OTG2.0
+	  controller. It has 15 configurable endpoints, as well as
+	  endpoint zero (for control transfers).
+
+	  This driver has been tested on the S3C6410, S5P6440, S5PC100 processor.
+
+          Say "y" to link the driver statically, or "m" to build a
+          dynamically linked module called "s3c-udc-otg" and force all
+          gadget drivers to also be dynamically linked.
 #
 # Controllers available in both integrated and discrete versions
 #
@@ -458,6 +472,43 @@
 
 endchoice
 
+comment "NOTE: S3C OTG device role enables the controller driver below"
+	depends on USB_GADGET_S3C_OTGD
+
+config USB_S3C_OTGD
+	tristate "S3C high speed(2.0, dual-speed) USB OTG device"
+        depends on USB_GADGET && USB_GADGET_S3C_OTGD && !(USB_S3C_OTG_HOST) 
+	default y
+	default USB_GADGET
+	select USB_GADGET_SELECTED
+	select USB_GADGET_DUALSPEED
+        help
+           Say "y" to link the driver statically, or "m" to build a
+           dynamically linked module called "s3c-udc-otg-hs" and force all
+           gadget drivers to also be dynamically linked.
+
+choice
+	prompt "S3C OTGD transfer mode"
+	depends on USB_S3C_OTGD
+	default y
+	help
+	   S3C USB OTG conteroller supports DMA mode and Slave mode
+	   for the dat transfer. You must slect one for the core
+	   operation mode.
+
+config USB_GADGET_S3C_OTGD_DMA_MODE
+	bool "enabled DMA MODE"
+	depends on USB_GADGET_S3C_OTGD
+	help
+	   S3C USB OTG core operates in DMA mode.
+
+config USB_GADGET_S3C_OTGD_SLAVE_MODE
+	bool "enabled Slave MODE"
+	depends on USB_GADGET_S3C_OTGD
+	help
+	   S3C USB OTG core operates in Slave mode.
+endchoice
+
 config USB_GADGET_DUALSPEED
 	bool
 	depends on USB_GADGET
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/Makefile linux-2.6.28.6/drivers/usb/gadget/Makefile
--- linux-2.6.28/drivers/usb/gadget/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/Makefile	2009-04-30 09:36:39.000000000 +0200
@@ -14,6 +14,7 @@
 obj-$(CONFIG_USB_OMAP)		+= omap_udc.o
 obj-$(CONFIG_USB_LH7A40X)	+= lh7a40x_udc.o
 obj-$(CONFIG_USB_S3C2410)	+= s3c2410_udc.o
+obj-$(CONFIG_USB_S3C_OTGD)	+= s3c_udc_otg.o
 obj-$(CONFIG_USB_AT91)		+= at91_udc.o
 obj-$(CONFIG_USB_ATMEL_USBA)	+= atmel_usba_udc.o
 obj-$(CONFIG_USB_FSL_USB2)	+= fsl_usb2_udc.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/epautoconf.c linux-2.6.28.6/drivers/usb/gadget/epautoconf.c
--- linux-2.6.28/drivers/usb/gadget/epautoconf.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/epautoconf.c	2009-04-30 09:36:39.000000000 +0200
@@ -275,8 +275,25 @@
 		ep = find_ep (gadget, "ep1-bulk");
 		if (ep && ep_matches (gadget, ep, desc))
 			return ep;
-	}
 
+	} else if (gadget_is_s3c(gadget)) {
+		if (USB_ENDPOINT_XFER_INT == type) {
+			/* single buffering is enough */
+			ep = find_ep (gadget, "ep3-int");
+			if (ep && ep_matches (gadget, ep, desc))
+				return ep;
+		} else if (USB_ENDPOINT_XFER_BULK == type
+				&& (USB_DIR_IN & desc->bEndpointAddress)) {
+			ep = find_ep (gadget, "ep2-bulk");
+			if (ep && ep_matches (gadget, ep, desc))
+				return ep;
+		} else if (USB_ENDPOINT_XFER_BULK == type
+				&& !(USB_DIR_IN & desc->bEndpointAddress)) {
+			ep = find_ep (gadget, "ep1-bulk");
+			if (ep && ep_matches (gadget, ep, desc))
+				return ep;
+		}
+	}
 	/* Second, look at endpoints until an unclaimed one looks usable */
 	list_for_each_entry (ep, &gadget->ep_list, ep_list) {
 		if (ep_matches (gadget, ep, desc))
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/f_rndis.c linux-2.6.28.6/drivers/usb/gadget/f_rndis.c
--- linux-2.6.28/drivers/usb/gadget/f_rndis.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/f_rndis.c	2009-04-30 09:36:39.000000000 +0200
@@ -172,6 +172,7 @@
 	.bDescriptorType =	USB_DT_INTERFACE,
 
 	/* .bInterfaceNumber = DYNAMIC */
+	.bAlternateSetting =    0,
 	.bNumEndpoints =	2,
 	.bInterfaceClass =	USB_CLASS_CDC_DATA,
 	.bInterfaceSubClass =	0,
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/file_storage.c linux-2.6.28.6/drivers/usb/gadget/file_storage.c
--- linux-2.6.28/drivers/usb/gadget/file_storage.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/file_storage.c	2009-04-30 09:36:39.000000000 +0200
@@ -4078,6 +4078,7 @@
 
 	DBG(fsg, "suspend\n");
 	set_bit(SUSPENDED, &fsg->atomic_bitflags);
+	fsg->running = 0;
 }
 
 static void fsg_resume(struct usb_gadget *gadget)
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/gadget_chips.h linux-2.6.28.6/drivers/usb/gadget/gadget_chips.h
--- linux-2.6.28/drivers/usb/gadget/gadget_chips.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/gadget_chips.h	2009-04-30 09:36:39.000000000 +0200
@@ -104,6 +104,12 @@
 #define gadget_is_s3c2410(g)    0
 #endif
 
+#if CONFIG_USB_GADGET_S3C_OTGD
+#define gadget_is_s3c(g)    !strcmp("s3c-udc", (g)->name)
+#else
+#define gadget_is_s3c(g)    0
+#endif
+
 #ifdef CONFIG_USB_GADGET_AT91
 #define gadget_is_at91(g)	!strcmp("at91_udc", (g)->name)
 #else
@@ -225,6 +231,8 @@
 		return 0x21;
 	else if (gadget_is_fsl_qe(gadget))
 		return 0x22;
+	else if (gadget_is_s3c(gadget))
+		return 0x23;
 	return -ENOENT;
 }
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/s3c2410_udc.c linux-2.6.28.6/drivers/usb/gadget/s3c2410_udc.c
--- linux-2.6.28/drivers/usb/gadget/s3c2410_udc.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/s3c2410_udc.c	2009-04-30 09:36:39.000000000 +0200
@@ -53,8 +53,8 @@
 #include <mach/hardware.h>
 #include <mach/regs-gpio.h>
 
-#include <asm/plat-s3c24xx/regs-udc.h>
-#include <asm/plat-s3c24xx/udc.h>
+#include <plat/regs-udc.h>
+#include <plat/udc.h>
 
 
 #include "s3c2410_udc.h"
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/s3c_udc.h linux-2.6.28.6/drivers/usb/gadget/s3c_udc.h
--- linux-2.6.28/drivers/usb/gadget/s3c_udc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/s3c_udc.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,134 @@
+/*
+ * drivers/usb/gadget/s3c_udc.h
+ * Samsung S3C on-chip full/high speed USB device controllers
+ * Copyright (C) 2005 for Samsung Electronics 
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ */
+ 
+#ifndef __S3C_USB_GADGET
+#define __S3C_USB_GADGET
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/ioport.h>
+#include <linux/types.h>
+#include <linux/version.h>
+#include <linux/errno.h>
+#include <linux/delay.h>
+#include <linux/sched.h>
+#include <linux/slab.h>
+#include <linux/init.h>
+#include <linux/timer.h>
+#include <linux/list.h>
+#include <linux/interrupt.h>
+#include <linux/proc_fs.h>
+#include <linux/mm.h>
+#include <linux/device.h>
+#include <linux/dma-mapping.h>
+
+#include <asm/byteorder.h>
+#include <asm/dma.h>
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <asm/system.h>
+#include <asm/unaligned.h>
+//#include <asm/hardware.h>
+
+#include <linux/usb/ch9.h>
+#include <linux/usb/gadget.h>
+
+// Max packet size
+#if defined(CONFIG_USB_GADGET_S3C_FS)
+#define EP0_FIFO_SIZE		8
+#define EP_FIFO_SIZE		64
+#define S3C_MAX_ENDPOINTS	5
+#elif defined(CONFIG_USB_GADGET_S3C_HS) || defined(CONFIG_PLAT_S5P64XX)
+#define EP0_FIFO_SIZE		64
+#define EP_FIFO_SIZE		512
+#define EP_FIFO_SIZE2		1024
+#define S3C_MAX_ENDPOINTS	9
+#define DED_TX_FIFO		1	/* Dedicated NPTx fifo for s5p6440 */
+#else
+#define EP0_FIFO_SIZE		64
+#define EP_FIFO_SIZE		512
+#define EP_FIFO_SIZE2		1024
+#define S3C_MAX_ENDPOINTS	16
+#endif
+
+#define WAIT_FOR_SETUP          0
+#define DATA_STATE_XMIT         1
+#define DATA_STATE_NEED_ZLP     2
+#define WAIT_FOR_OUT_STATUS     3
+#define DATA_STATE_RECV         4
+#define RegReadErr		5
+#define FAIL_TO_SETUP		6
+
+/* ********************************************************************************************* */
+/* IO
+ */
+
+typedef enum ep_type {
+	ep_control, ep_bulk_in, ep_bulk_out, ep_interrupt
+} ep_type_t;
+
+struct s3c_ep {
+	struct usb_ep ep;
+	struct s3c_udc *dev;
+
+	const struct usb_endpoint_descriptor *desc;
+	struct list_head queue;
+	unsigned long pio_irqs;
+
+	u8 stopped;
+	u8 bEndpointAddress;
+	u8 bmAttributes;
+
+	ep_type_t ep_type;
+	u32 fifo;
+#ifdef CONFIG_USB_GADGET_S3C_FS
+	u32 csr1;
+	u32 csr2;
+#endif
+};
+
+struct s3c_request {
+	struct usb_request req;
+	struct list_head queue;
+};
+
+struct s3c_udc {
+	struct usb_gadget gadget;
+	struct usb_gadget_driver *driver;
+	//struct device *dev;
+	struct platform_device *dev;
+	spinlock_t lock;
+
+	int ep0state;
+	struct s3c_ep ep[S3C_MAX_ENDPOINTS];
+
+	unsigned char usb_address;
+
+	unsigned req_pending:1, req_std:1, req_config:1;
+};
+
+extern struct s3c_udc *the_controller;
+
+#define ep_is_in(EP) 		(((EP)->bEndpointAddress&USB_DIR_IN)==USB_DIR_IN)
+#define ep_index(EP) 		((EP)->bEndpointAddress&0xF)
+#define ep_maxpacket(EP) 	((EP)->ep.maxpacket)
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/s3c_udc_otg.c linux-2.6.28.6/drivers/usb/gadget/s3c_udc_otg.c
--- linux-2.6.28/drivers/usb/gadget/s3c_udc_otg.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/s3c_udc_otg.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,1093 @@
+/*
+ * drivers/usb/gadget/s3c_udc_otg.c
+ * Samsung S3C on-chip full/high speed USB OTG 2.0 device controllers
+ *
+ * Copyright (C) 2008 for Samsung Electronics
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ */
+
+#include "s3c_udc.h"
+#include <linux/platform_device.h>
+#include <linux/clk.h>
+#include <mach/map.h>
+#include <plat/regs-otg.h>
+
+#if	defined(CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE) /* DMA mode */
+#define OTG_DMA_MODE		1
+
+#elif	defined(CONFIG_USB_GADGET_S3C_OTGD_SLAVE_MODE) /* Slave mode */
+#define OTG_DMA_MODE		0
+#error " Slave Mode is not implemented to do later"
+#else
+#error " Unknown S3C OTG operation mode, Select a correct operation mode"
+#endif
+
+#undef DEBUG_S3C_UDC_SETUP
+#undef DEBUG_S3C_UDC_EP0
+#undef DEBUG_S3C_UDC_ISR
+#undef DEBUG_S3C_UDC_OUT_EP
+#undef DEBUG_S3C_UDC_IN_EP
+#undef DEBUG_S3C_UDC
+
+//#define DEBUG_S3C_UDC_SETUP
+//#define DEBUG_S3C_UDC_EP0
+//#define DEBUG_S3C_UDC_ISR
+//#define DEBUG_S3C_UDC_OUT_EP
+//#define DEBUG_S3C_UDC_IN_EP
+//#define DEBUG_S3C_UDC
+
+#define EP0_CON		0
+#define EP1_OUT		1
+#define EP2_IN		2
+#define EP3_IN		3
+#define EP_MASK		0xF
+
+#if defined(DEBUG_S3C_UDC_SETUP) || defined(DEBUG_S3C_UDC_ISR)\
+	|| defined(DEBUG_S3C_UDC_OUT_EP)
+
+static char *state_names[] = {
+	"WAIT_FOR_SETUP",
+	"DATA_STATE_XMIT",
+	"DATA_STATE_NEED_ZLP",
+	"WAIT_FOR_OUT_STATUS",
+	"DATA_STATE_RECV",
+	};
+#endif
+
+#ifdef DEBUG_S3C_UDC_SETUP
+#define DEBUG_SETUP(fmt,args...) printk(fmt, ##args)
+#else
+#define DEBUG_SETUP(fmt,args...) do {} while(0)
+#endif
+
+#ifdef DEBUG_S3C_UDC_EP0
+#define DEBUG_EP0(fmt,args...) printk(fmt, ##args)
+#else
+#define DEBUG_EP0(fmt,args...) do {} while(0)
+#endif
+
+#ifdef DEBUG_S3C_UDC
+#define DEBUG(fmt,args...) printk(fmt, ##args)
+#else
+#define DEBUG(fmt,args...) do {} while(0)
+#endif
+
+#ifdef DEBUG_S3C_UDC_ISR
+#define DEBUG_ISR(fmt,args...) printk(fmt, ##args)
+#else
+#define DEBUG_ISR(fmt,args...) do {} while(0)
+#endif
+
+#ifdef DEBUG_S3C_UDC_OUT_EP
+#define DEBUG_OUT_EP(fmt,args...) printk(fmt, ##args)
+#else
+#define DEBUG_OUT_EP(fmt,args...) do {} while(0)
+#endif
+
+#ifdef DEBUG_S3C_UDC_IN_EP
+#define DEBUG_IN_EP(fmt,args...) printk(fmt, ##args)
+#else
+#define DEBUG_IN_EP(fmt,args...) do {} while(0)
+#endif
+
+
+#define	DRIVER_DESC		"S3C HS USB OTG Device Driver, (c) 2008-2009 Samsung Electronics"
+#define	DRIVER_VERSION		"15 March 2009"
+
+struct s3c_udc	*the_controller;
+
+static const char driver_name[] = "s3c-udc";
+static const char driver_desc[] = DRIVER_DESC;
+static const char ep0name[] = "ep0-control";
+
+/* Max packet size*/
+static unsigned int ep0_fifo_size = 64;
+static unsigned int ep_fifo_size =  512;
+static unsigned int ep_fifo_size2 = 1024;
+static int reset_available = 1;
+
+extern void otg_phy_init(void);
+extern void otg_phy_off(void);
+extern struct usb_ctrlrequest usb_ctrl;
+
+/*
+  Local declarations.
+*/
+static int s3c_ep_enable(struct usb_ep *ep, const struct usb_endpoint_descriptor *);
+static int s3c_ep_disable(struct usb_ep *ep);
+static struct usb_request *s3c_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
+static void s3c_free_request(struct usb_ep *ep, struct usb_request *);
+
+static int s3c_queue(struct usb_ep *ep, struct usb_request *, gfp_t gfp_flags);
+static int s3c_dequeue(struct usb_ep *ep, struct usb_request *);
+static int s3c_fifo_status(struct usb_ep *ep);
+static void s3c_fifo_flush(struct usb_ep *ep);
+static void s3c_ep0_read(struct s3c_udc *dev);
+static void s3c_ep0_kick(struct s3c_udc *dev, struct s3c_ep *ep);
+static void s3c_handle_ep0(struct s3c_udc *dev);
+static int s3c_ep0_write(struct s3c_udc *dev);
+static int write_fifo_ep0(struct s3c_ep *ep, struct s3c_request *req);
+static void done(struct s3c_ep *ep, struct s3c_request *req, int status);
+static void stop_activity(struct s3c_udc *dev, struct usb_gadget_driver *driver);
+static int udc_enable(struct s3c_udc *dev);
+static void udc_set_address(struct s3c_udc *dev, unsigned char address);
+static void reconfig_usbd(void);
+static void set_max_pktsize(struct s3c_udc *dev, enum usb_device_speed speed);
+static void nuke(struct s3c_ep *ep, int status);
+static int s3c_udc_set_halt(struct usb_ep *_ep, int value);
+
+static struct usb_ep_ops s3c_ep_ops = {
+	.enable = s3c_ep_enable,
+	.disable = s3c_ep_disable,
+
+	.alloc_request = s3c_alloc_request,
+	.free_request = s3c_free_request,
+
+	.queue = s3c_queue,
+	.dequeue = s3c_dequeue,
+
+	.set_halt = s3c_udc_set_halt,
+	.fifo_status = s3c_fifo_status,
+	.fifo_flush = s3c_fifo_flush,
+};
+
+#ifdef CONFIG_USB_GADGET_DEBUG_FILES
+
+static const char proc_node_name[] = "driver/udc";
+
+static int
+udc_proc_read(char *page, char **start, off_t off, int count,
+	      int *eof, void *_dev)
+{
+	char *buf = page;
+	struct s3c_udc *dev = _dev;
+	char *next = buf;
+	unsigned size = count;
+	unsigned long flags;
+	int t;
+
+	if (off != 0)
+		return 0;
+
+	local_irq_save(flags);
+
+	/* basic device status */
+	t = scnprintf(next, size,
+		      DRIVER_DESC "\n"
+		      "%s version: %s\n"
+		      "Gadget driver: %s\n"
+		      "\n",
+		      driver_name, DRIVER_VERSION,
+		      dev->driver ? dev->driver->driver.name : "(none)");
+	size -= t;
+	next += t;
+
+	local_irq_restore(flags);
+	*eof = 1;
+	return count - size;
+}
+
+#define create_proc_files() \
+	create_proc_read_entry(proc_node_name, 0, NULL, udc_proc_read, dev)
+#define remove_proc_files() \
+	remove_proc_entry(proc_node_name, NULL)
+
+#else	/* !CONFIG_USB_GADGET_DEBUG_FILES */
+
+#define create_proc_files() do {} while (0)
+#define remove_proc_files() do {} while (0)
+
+#endif	/* CONFIG_USB_GADGET_DEBUG_FILES */
+
+#if	OTG_DMA_MODE /* DMA Mode */
+#include "s3c_udc_otg_xfer_dma.c"
+
+#else	/* Slave Mode */
+#include "s3c_udc_otg_xfer_slave.c"
+#endif
+
+/*
+ * 	udc_disable - disable USB device controller
+ */
+static void udc_disable(struct s3c_udc *dev)
+{
+	DEBUG_SETUP("%s: %p\n", __FUNCTION__, dev);
+
+	udc_set_address(dev, 0);
+
+	dev->ep0state = WAIT_FOR_SETUP;
+	dev->gadget.speed = USB_SPEED_UNKNOWN;
+	dev->usb_address = 0;
+
+	otg_phy_off();
+}
+
+/*
+ * 	udc_reinit - initialize software state
+ */
+static void udc_reinit(struct s3c_udc *dev)
+{
+	unsigned int i;
+
+	DEBUG_SETUP("%s: %p\n", __FUNCTION__, dev);
+
+	/* device/ep0 records init */
+	INIT_LIST_HEAD(&dev->gadget.ep_list);
+	INIT_LIST_HEAD(&dev->gadget.ep0->ep_list);
+	dev->ep0state = WAIT_FOR_SETUP;
+
+	/* basic endpoint records init */
+	for (i = 0; i < S3C_MAX_ENDPOINTS; i++) {
+		struct s3c_ep *ep = &dev->ep[i];
+
+		if (i != 0)
+			list_add_tail(&ep->ep.ep_list, &dev->gadget.ep_list);
+
+		ep->desc = 0;
+		ep->stopped = 0;
+		INIT_LIST_HEAD(&ep->queue);
+		ep->pio_irqs = 0;
+	}
+
+	/* the rest was statically initialized, and is read-only */
+}
+
+#define BYTES2MAXP(x)	(x / 8)
+#define MAXP2BYTES(x)	(x * 8)
+
+/* until it's enabled, this UDC should be completely invisible
+ * to any USB host.
+ */
+static int udc_enable(struct s3c_udc *dev)
+{
+	DEBUG_SETUP("%s: %p\n", __FUNCTION__, dev);
+
+	otg_phy_init();
+	reconfig_usbd();
+
+	DEBUG_SETUP("S3C USB 2.0 OTG Controller Core Initialized : 0x%x\n",
+			readl(S3C_UDC_OTG_GINTMSK));
+
+	dev->gadget.speed = USB_SPEED_UNKNOWN;
+
+	return 0;
+}
+
+/*
+  Register entry point for the peripheral controller driver.
+*/
+int usb_gadget_register_driver(struct usb_gadget_driver *driver)
+{
+	struct s3c_udc *dev = the_controller;
+	int retval;
+
+	DEBUG_SETUP("%s: %s\n", __FUNCTION__, driver->driver.name);
+
+	if (!driver
+	    || (driver->speed != USB_SPEED_FULL && driver->speed != USB_SPEED_HIGH)
+	    || !driver->bind
+	    || !driver->unbind || !driver->disconnect || !driver->setup)
+		return -EINVAL;
+	if (!dev)
+		return -ENODEV;
+	if (dev->driver)
+		return -EBUSY;
+
+	/* first hook up the driver ... */
+	dev->driver = driver;
+	dev->gadget.dev.driver = &driver->driver;
+	retval = device_add(&dev->gadget.dev);
+
+	if(retval) { /* TODO */
+		printk("target device_add failed, error %d\n", retval);
+		return retval;
+	}
+
+	retval = driver->bind(&dev->gadget);
+	if (retval) {
+		printk("%s: bind to driver %s --> error %d\n", dev->gadget.name,
+		       driver->driver.name, retval);
+		device_del(&dev->gadget.dev);
+
+		dev->driver = 0;
+		dev->gadget.dev.driver = 0;
+		return retval;
+	}
+
+	enable_irq(IRQ_OTG);
+
+	printk("Registered gadget driver '%s'\n", driver->driver.name);
+	udc_enable(dev);
+
+	return 0;
+}
+
+EXPORT_SYMBOL(usb_gadget_register_driver);
+
+/*
+  Unregister entry point for the peripheral controller driver.
+*/
+int usb_gadget_unregister_driver(struct usb_gadget_driver *driver)
+{
+	struct s3c_udc *dev = the_controller;
+	unsigned long flags;
+
+	if (!dev)
+		return -ENODEV;
+	if (!driver || driver != dev->driver)
+		return -EINVAL;
+
+	spin_lock_irqsave(&dev->lock, flags);
+	dev->driver = 0;
+	stop_activity(dev, driver);
+	spin_unlock_irqrestore(&dev->lock, flags);
+
+	driver->unbind(&dev->gadget);
+	device_del(&dev->gadget.dev);
+
+	disable_irq(IRQ_OTG);
+
+	printk("Unregistered gadget driver '%s'\n", driver->driver.name);
+
+	udc_disable(dev);
+
+	return 0;
+}
+
+EXPORT_SYMBOL(usb_gadget_unregister_driver);
+
+/*
+ *	done - retire a request; caller blocked irqs
+ */
+static void done(struct s3c_ep *ep, struct s3c_request *req, int status)
+{
+	unsigned int stopped = ep->stopped;
+
+	DEBUG("%s: %s %p, req = %p, stopped = %d\n",
+		__FUNCTION__, ep->ep.name, ep, &req->req, stopped);
+
+	list_del_init(&req->queue);
+
+	if (likely(req->req.status == -EINPROGRESS)) {
+		req->req.status = status;
+	} else {
+		status = req->req.status;
+	}
+
+	if (status && status != -ESHUTDOWN) {
+		DEBUG("complete %s req %p stat %d len %u/%u\n",
+			ep->ep.name, &req->req, status,
+			req->req.actual, req->req.length);
+	}
+
+	/* don't modify queue heads during completion callback */
+	ep->stopped = 1;
+
+	spin_unlock(&ep->dev->lock);
+	req->req.complete(&ep->ep, &req->req);
+	spin_lock(&ep->dev->lock);
+
+	ep->stopped = stopped;
+}
+
+/*
+ * 	nuke - dequeue ALL requests
+ */
+static void nuke(struct s3c_ep *ep, int status)
+{
+	struct s3c_request *req;
+
+	DEBUG("%s: %s %p\n", __FUNCTION__, ep->ep.name, ep);
+
+	/* called with irqs blocked */
+	while (!list_empty(&ep->queue)) {
+		req = list_entry(ep->queue.next, struct s3c_request, queue);
+		done(ep, req, status);
+	}
+}
+
+static void stop_activity(struct s3c_udc *dev,
+			  struct usb_gadget_driver *driver)
+{
+	int i;
+
+	/* don't disconnect drivers more than once */
+	if (dev->gadget.speed == USB_SPEED_UNKNOWN)
+		driver = 0;
+	dev->gadget.speed = USB_SPEED_UNKNOWN;
+
+	/* prevent new request submissions, kill any outstanding requests  */
+	for (i = 0; i < S3C_MAX_ENDPOINTS; i++) {
+		struct s3c_ep *ep = &dev->ep[i];
+		ep->stopped = 1;
+		nuke(ep, -ESHUTDOWN);
+	}
+
+	/* report disconnect; the driver is already quiesced */
+	if (driver) {
+		spin_unlock(&dev->lock);
+		driver->disconnect(&dev->gadget);
+		spin_lock(&dev->lock);
+	}
+
+	/* re-init driver-visible data structures */
+	udc_reinit(dev);
+}
+
+static void reconfig_usbd(void)
+{
+	/* 2. Soft-reset OTG Core and then unreset again. */
+#ifdef DED_TX_FIFO
+	int i;
+#endif
+	unsigned int uTemp = writel(CORE_SOFT_RESET, S3C_UDC_OTG_GRSTCTL);
+
+	writel(	0<<15		/* PHY Low Power Clock sel*/
+		|1<<14		/* Non-Periodic TxFIFO Rewind Enable*/
+		|0x5<<10	/* Turnaround time*/
+		|0<<9|0<<8	/* [0:HNP disable, 1:HNP enable][ 0:SRP disable, 1:SRP enable] H1= 1,1*/
+		|0<<7		/* Ulpi DDR sel*/
+		|0<<6		/* 0: high speed utmi+, 1: full speed serial*/
+		|0<<4		/* 0: utmi+, 1:ulpi*/
+		|1<<3		/* phy i/f  0:8bit, 1:16bit*/
+		|0x7<<0,	/* HS/FS Timeout**/
+		S3C_UDC_OTG_GUSBCFG);
+
+	/* 3. Put the OTG device core in the disconnected state.*/
+	uTemp = readl(S3C_UDC_OTG_DCTL);
+	uTemp |= SOFT_DISCONNECT;
+	writel(uTemp, S3C_UDC_OTG_DCTL);
+
+	udelay(20);
+
+	/* 4. Make the OTG device core exit from the disconnected state.*/
+	uTemp = readl(S3C_UDC_OTG_DCTL);
+	uTemp = uTemp & ~SOFT_DISCONNECT;
+	writel(uTemp, S3C_UDC_OTG_DCTL);
+
+	/* 5. Configure OTG Core to initial settings of device mode.*/
+	writel(1<<18|0x0<<0, S3C_UDC_OTG_DCFG);		/* [][1: full speed(30Mhz) 0:high speed]*/
+
+	mdelay(1);
+
+	/* 6. Unmask the core interrupts*/
+	writel(GINTMSK_INIT, S3C_UDC_OTG_GINTMSK);
+
+	/* 7. Set NAK bit of EP0, EP1, EP2*/
+	writel(DEPCTL_EPDIS|DEPCTL_SNAK|(0<<0), S3C_UDC_OTG_DOEPCTL(EP0_CON));
+	writel(DEPCTL_EPDIS|DEPCTL_SNAK|(0<<0), S3C_UDC_OTG_DIEPCTL(EP0_CON));
+
+	/* 8. Unmask EPO interrupts*/
+	writel( ((1<<EP0_CON)<<DAINT_OUT_BIT)|(1<<EP0_CON), S3C_UDC_OTG_DAINTMSK);
+
+	/* 9. Unmask device OUT EP common interrupts*/
+	writel(DOEPMSK_INIT, S3C_UDC_OTG_DOEPMSK);
+
+	/* 10. Unmask device IN EP common interrupts*/
+	writel(DIEPMSK_INIT, S3C_UDC_OTG_DIEPMSK);
+
+	/* 11. Set Rx FIFO Size*/
+	writel(RX_FIFO_SIZE, S3C_UDC_OTG_GRXFSIZ);
+
+	/* 12. Set Non Periodic Tx FIFO Size*/
+	writel(NPTX_FIFO_SIZE<<16| NPTX_FIFO_START_ADDR<<0, S3C_UDC_OTG_GNPTXFSIZ);
+
+#ifdef DED_TX_FIFO
+	for (i = 1; i < S3C_MAX_ENDPOINTS; i++)
+		writel(NPTX_FIFO_SIZE << 16 |
+			(NPTX_FIFO_START_ADDR + NPTX_FIFO_SIZE + PTX_FIFO_SIZE*(i-1)) << 0,
+			S3C_UDC_OTG_DIEPTXF(i));
+#endif
+
+	/* 13. Clear NAK bit of EP0, EP1, EP2*/
+	/* For Slave mode*/
+	writel(DEPCTL_EPDIS|DEPCTL_CNAK|(0<<0), S3C_UDC_OTG_DOEPCTL(EP0_CON)); /* EP0: Control OUT */
+
+	/* 14. Initialize OTG Link Core.*/
+	writel(GAHBCFG_INIT, S3C_UDC_OTG_GAHBCFG);
+
+}
+
+static void set_max_pktsize(struct s3c_udc *dev, enum usb_device_speed speed)
+{
+	unsigned int ep_ctrl;
+
+	if (speed == USB_SPEED_HIGH) {
+		ep0_fifo_size = 64;
+		ep_fifo_size = 512;
+		ep_fifo_size2 = 1024;
+		dev->gadget.speed = USB_SPEED_HIGH;
+	} else {
+		ep0_fifo_size = 64;
+		ep_fifo_size = 64;
+		ep_fifo_size2 = 64;
+		dev->gadget.speed = USB_SPEED_FULL;
+	}
+
+	dev->ep[0].ep.maxpacket = ep0_fifo_size;
+	dev->ep[1].ep.maxpacket = ep_fifo_size;
+	dev->ep[2].ep.maxpacket = ep_fifo_size;
+	dev->ep[3].ep.maxpacket = ep_fifo_size;
+	dev->ep[4].ep.maxpacket = ep_fifo_size;
+	dev->ep[5].ep.maxpacket = ep_fifo_size2;
+	dev->ep[6].ep.maxpacket = ep_fifo_size2;
+	dev->ep[7].ep.maxpacket = ep_fifo_size2;
+	dev->ep[8].ep.maxpacket = ep_fifo_size2;
+
+
+	/* EP0 - Control IN (64 bytes)*/
+	ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL(EP0_CON));
+	writel(ep_ctrl|(0<<0), S3C_UDC_OTG_DIEPCTL(EP0_CON));
+
+	/* EP0 - Control OUT (64 bytes)*/
+	ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL(EP0_CON));
+	writel(ep_ctrl|(0<<0), S3C_UDC_OTG_DOEPCTL(EP0_CON));
+}
+
+static int s3c_ep_enable(struct usb_ep *_ep,
+			     const struct usb_endpoint_descriptor *desc)
+{
+	struct s3c_ep *ep;
+	struct s3c_udc *dev;
+	unsigned long flags;
+
+	DEBUG("%s: %p\n", __FUNCTION__, _ep);
+
+	ep = container_of(_ep, struct s3c_ep, ep);
+	if (!_ep || !desc || ep->desc || _ep->name == ep0name
+	    || desc->bDescriptorType != USB_DT_ENDPOINT
+	    || ep->bEndpointAddress != desc->bEndpointAddress
+	    || ep_maxpacket(ep) < le16_to_cpu(desc->wMaxPacketSize)) {
+
+		DEBUG("%s: bad ep or descriptor\n", __FUNCTION__);
+		return -EINVAL;
+	}
+
+	/* xfer types must match, except that interrupt ~= bulk */
+	if (ep->bmAttributes != desc->bmAttributes
+	    && ep->bmAttributes != USB_ENDPOINT_XFER_BULK
+	    && desc->bmAttributes != USB_ENDPOINT_XFER_INT) {
+
+		DEBUG("%s: %s type mismatch\n", __FUNCTION__, _ep->name);
+		return -EINVAL;
+	}
+
+	/* hardware _could_ do smaller, but driver doesn't */
+	if ((desc->bmAttributes == USB_ENDPOINT_XFER_BULK
+	     && le16_to_cpu(desc->wMaxPacketSize) != ep_maxpacket(ep))
+	    || !desc->wMaxPacketSize) {
+
+		DEBUG("%s: bad %s maxpacket\n", __FUNCTION__, _ep->name);
+		return -ERANGE;
+	}
+
+	dev = ep->dev;
+	if (!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN) {
+
+		DEBUG("%s: bogus device state\n", __FUNCTION__);
+		return -ESHUTDOWN;
+	}
+
+	ep->stopped = 0;
+	ep->desc = desc;
+	ep->pio_irqs = 0;
+	ep->ep.maxpacket = le16_to_cpu(desc->wMaxPacketSize);
+
+	/* Reset halt state */
+	s3c_udc_set_halt(_ep, 0);
+
+	spin_lock_irqsave(&ep->dev->lock, flags);
+	s3c_udc_ep_activate(ep);
+	spin_unlock_irqrestore(&ep->dev->lock, flags);
+
+	DEBUG("%s: enabled %s, stopped = %d, maxpacket = %d\n",
+		__FUNCTION__, _ep->name, ep->stopped, ep->ep.maxpacket);
+	return 0;
+}
+
+/** Disable EP
+ */
+static int s3c_ep_disable(struct usb_ep *_ep)
+{
+	struct s3c_ep *ep;
+	unsigned long flags;
+
+	DEBUG("%s: %p\n", __FUNCTION__, _ep);
+
+	ep = container_of(_ep, struct s3c_ep, ep);
+	if (!_ep || !ep->desc) {
+		DEBUG("%s: %s not enabled\n", __FUNCTION__,
+		      _ep ? ep->ep.name : NULL);
+		return -EINVAL;
+	}
+
+	spin_lock_irqsave(&ep->dev->lock, flags);
+
+	/* Nuke all pending requests */
+	nuke(ep, -ESHUTDOWN);
+
+	ep->desc = 0;
+	ep->stopped = 1;
+
+	spin_unlock_irqrestore(&ep->dev->lock, flags);
+
+	DEBUG("%s: disabled %s\n", __FUNCTION__, _ep->name);
+	return 0;
+}
+
+static struct usb_request *s3c_alloc_request(struct usb_ep *ep,
+						 gfp_t gfp_flags)
+{
+	struct s3c_request *req;
+
+	DEBUG("%s: %s %p\n", __FUNCTION__, ep->name, ep);
+
+	req = kmalloc(sizeof *req, gfp_flags);
+	if (!req)
+		return 0;
+
+	memset(req, 0, sizeof *req);
+	INIT_LIST_HEAD(&req->queue);
+
+	return &req->req;
+}
+
+static void s3c_free_request(struct usb_ep *ep, struct usb_request *_req)
+{
+	struct s3c_request *req;
+
+	DEBUG("%s: %p\n", __FUNCTION__, ep);
+
+	req = container_of(_req, struct s3c_request, req);
+	WARN_ON(!list_empty(&req->queue));
+	kfree(req);
+}
+
+/* dequeue JUST ONE request */
+static int s3c_dequeue(struct usb_ep *_ep, struct usb_request *_req)
+{
+	struct s3c_ep *ep;
+	struct s3c_request *req;
+	unsigned long flags;
+
+	DEBUG("%s: %p\n", __FUNCTION__, _ep);
+
+	ep = container_of(_ep, struct s3c_ep, ep);
+	if (!_ep || ep->ep.name == ep0name)
+		return -EINVAL;
+
+	spin_lock_irqsave(&ep->dev->lock, flags);
+
+	/* make sure it's actually queued on this endpoint */
+	list_for_each_entry(req, &ep->queue, queue) {
+		if (&req->req == _req)
+			break;
+	}
+	if (&req->req != _req) {
+		spin_unlock_irqrestore(&ep->dev->lock, flags);
+		return -EINVAL;
+	}
+
+	done(ep, req, -ECONNRESET);
+
+	spin_unlock_irqrestore(&ep->dev->lock, flags);
+	return 0;
+}
+
+/** Return bytes in EP FIFO
+ */
+static int s3c_fifo_status(struct usb_ep *_ep)
+{
+	int count = 0;
+	struct s3c_ep *ep;
+
+	ep = container_of(_ep, struct s3c_ep, ep);
+	if (!_ep) {
+		DEBUG("%s: bad ep\n", __FUNCTION__);
+		return -ENODEV;
+	}
+
+	DEBUG("%s: %d\n", __FUNCTION__, ep_index(ep));
+
+	/* LPD can't report unclaimed bytes from IN fifos */
+	if (ep_is_in(ep))
+		return -EOPNOTSUPP;
+
+	return count;
+}
+
+/** Flush EP FIFO
+ */
+static void s3c_fifo_flush(struct usb_ep *_ep)
+{
+	struct s3c_ep *ep;
+
+	ep = container_of(_ep, struct s3c_ep, ep);
+	if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {
+		DEBUG("%s: bad ep\n", __FUNCTION__);
+		return;
+	}
+
+	DEBUG("%s: %d\n", __FUNCTION__, ep_index(ep));
+}
+
+/* ---------------------------------------------------------------------------
+ * 	device-scoped parts of the api to the usb controller hardware
+ * ---------------------------------------------------------------------------
+ */
+
+static int s3c_udc_get_frame(struct usb_gadget *_gadget)
+{
+	/*fram count number [21:8]*/
+	unsigned int frame = readl(S3C_UDC_OTG_DSTS);
+
+	DEBUG("%s: %p\n", __FUNCTION__, _gadget);
+	return (frame & 0x3ff00);
+}
+
+static int s3c_udc_wakeup(struct usb_gadget *_gadget)
+{
+	DEBUG("%s: %p\n", __FUNCTION__, _gadget);
+	return -ENOTSUPP;
+}
+
+static const struct usb_gadget_ops s3c_udc_ops = {
+	.get_frame = s3c_udc_get_frame,
+	.wakeup = s3c_udc_wakeup,
+	/* current versions must always be self-powered */
+};
+
+static void nop_release(struct device *dev)
+{
+	DEBUG("%s %s\n", __FUNCTION__, dev->bus_id);
+}
+
+static struct s3c_udc memory = {
+	.usb_address = 0,
+
+	.gadget = {
+		   .ops = &s3c_udc_ops,
+		   .ep0 = &memory.ep[0].ep,
+		   .name = driver_name,
+		   .dev = {
+			   .bus_id = "gadget",
+			   .release = nop_release,
+			   },
+		   },
+
+	/* control endpoint */
+	.ep[0] = {
+		  .ep = {
+			 .name = ep0name,
+			 .ops = &s3c_ep_ops,
+			 .maxpacket = EP0_FIFO_SIZE,
+			 },
+		  .dev = &memory,
+
+		  .bEndpointAddress = 0,
+		  .bmAttributes = 0,
+
+		  .ep_type = ep_control,
+		  .fifo = (unsigned int) S3C_UDC_OTG_EP0_FIFO,
+		  },
+
+	/* first group of endpoints */
+	.ep[1] = {
+		  .ep = {
+			 .name = "ep1-bulk",
+			 .ops = &s3c_ep_ops,
+			 .maxpacket = EP_FIFO_SIZE,
+			 },
+		  .dev = &memory,
+
+		  .bEndpointAddress = 1,
+		  .bmAttributes = USB_ENDPOINT_XFER_BULK,
+
+		  .ep_type = ep_bulk_out,
+		  .fifo = (unsigned int) S3C_UDC_OTG_EP1_FIFO,
+		  },
+
+	.ep[2] = {
+		  .ep = {
+			 .name = "ep2-bulk",
+			 .ops = &s3c_ep_ops,
+			 .maxpacket = EP_FIFO_SIZE,
+			 },
+		  .dev = &memory,
+
+		  .bEndpointAddress = USB_DIR_IN | 2,
+		  .bmAttributes = USB_ENDPOINT_XFER_BULK,
+
+		  .ep_type = ep_bulk_in,
+		  .fifo = (unsigned int) S3C_UDC_OTG_EP2_FIFO,
+		  },
+
+	.ep[3] = {				/* Though NOT USED XXX*/
+		  .ep = {
+			 .name = "ep3-int",
+			 .ops = &s3c_ep_ops,
+			 .maxpacket = EP_FIFO_SIZE,
+			 },
+		  .dev = &memory,
+
+		  .bEndpointAddress = USB_DIR_IN | 3,
+		  .bmAttributes = USB_ENDPOINT_XFER_INT,
+
+		  .ep_type = ep_interrupt,
+		  .fifo = (unsigned int) S3C_UDC_OTG_EP3_FIFO,
+		  },
+	.ep[4] = {				/* Though NOT USED XXX*/
+		  .ep = {
+			 .name = "ep4-int",
+			 .ops = &s3c_ep_ops,
+			 .maxpacket = EP_FIFO_SIZE,
+			 },
+		  .dev = &memory,
+
+		  .bEndpointAddress = USB_DIR_IN | 4,
+		  .bmAttributes = USB_ENDPOINT_XFER_INT,
+
+		  .ep_type = ep_interrupt,
+		  .fifo = (unsigned int) S3C_UDC_OTG_EP4_FIFO,
+		  },
+	.ep[5] = {				/* Though NOT USED XXX*/
+		  .ep = {
+			 .name = "ep5-int",
+			 .ops = &s3c_ep_ops,
+			 .maxpacket = EP_FIFO_SIZE2,
+			 },
+		  .dev = &memory,
+
+		  .bEndpointAddress = USB_DIR_IN | 5,
+		  .bmAttributes = USB_ENDPOINT_XFER_INT,
+
+		  .ep_type = ep_interrupt,
+		  .fifo = (unsigned int) S3C_UDC_OTG_EP5_FIFO,
+		  },
+	.ep[6] = {				/* Though NOT USED XXX*/
+		  .ep = {
+			 .name = "ep6-int",
+			 .ops = &s3c_ep_ops,
+			 .maxpacket = EP_FIFO_SIZE2,
+			 },
+		  .dev = &memory,
+
+		  .bEndpointAddress = USB_DIR_IN | 6,
+		  .bmAttributes = USB_ENDPOINT_XFER_INT,
+
+		  .ep_type = ep_interrupt,
+		  .fifo = (unsigned int) S3C_UDC_OTG_EP6_FIFO,
+		  },
+	.ep[7] = {				/* Though NOT USED XXX*/
+		  .ep = {
+			 .name = "ep7-int",
+			 .ops = &s3c_ep_ops,
+			 .maxpacket = EP_FIFO_SIZE2,
+			 },
+		  .dev = &memory,
+
+		  .bEndpointAddress = USB_DIR_IN | 7,
+		  .bmAttributes = USB_ENDPOINT_XFER_INT,
+
+		  .ep_type = ep_interrupt,
+		  .fifo = (unsigned int) S3C_UDC_OTG_EP7_FIFO,
+		  },
+	.ep[8] = {				/* Though NOT USED XXX*/
+		  .ep = {
+			 .name = "ep8-int",
+			 .ops = &s3c_ep_ops,
+			 .maxpacket = EP_FIFO_SIZE2,
+			 },
+		  .dev = &memory,
+
+		  .bEndpointAddress = USB_DIR_IN | 8,
+		  .bmAttributes = USB_ENDPOINT_XFER_INT,
+
+		  .ep_type = ep_interrupt,
+		  .fifo = (unsigned int) S3C_UDC_OTG_EP8_FIFO,
+		  },
+};
+
+/*
+ * 	probe - binds to the platform device
+ */
+static struct clk	*otg_clock = NULL;
+
+static int s3c_udc_probe(struct platform_device *pdev)
+{
+	struct s3c_udc *dev = &memory;
+	int retval;
+
+	DEBUG("%s: %p\n", __FUNCTION__, pdev);
+
+	spin_lock_init(&dev->lock);
+	dev->dev = pdev;
+
+	device_initialize(&dev->gadget.dev);
+	dev->gadget.dev.parent = &pdev->dev;
+
+	dev->gadget.is_dualspeed = 1;	/* Hack only*/
+	dev->gadget.is_otg = 0;
+	dev->gadget.is_a_peripheral = 0;
+	dev->gadget.b_hnp_enable = 0;
+	dev->gadget.a_hnp_support = 0;
+	dev->gadget.a_alt_hnp_support = 0;
+
+	the_controller = dev;
+	platform_set_drvdata(pdev, dev);
+
+	otg_clock = clk_get(&pdev->dev, "otg");
+	if (otg_clock == NULL) {
+		printk(KERN_INFO "failed to find otg clock source\n");
+		return -ENOENT;
+	}
+	clk_enable(otg_clock);
+
+	udc_reinit(dev);
+
+	local_irq_disable();
+
+	/* irq setup after old hardware state is cleaned up */
+	retval =
+	    request_irq(IRQ_OTG, s3c_udc_irq, 0, driver_name, dev);
+
+	if (retval != 0) {
+		DEBUG(KERN_ERR "%s: can't get irq %i, err %d\n", driver_name,
+		      IRQ_OTG, retval);
+		return -EBUSY;
+	}
+
+	disable_irq(IRQ_OTG);
+	local_irq_enable();
+	create_proc_files();
+
+	return retval;
+}
+
+static int s3c_udc_remove(struct platform_device *pdev)
+{
+	struct s3c_udc *dev = platform_get_drvdata(pdev);
+
+	DEBUG("%s: %p\n", __FUNCTION__, pdev);
+
+	if (otg_clock != NULL) {
+		clk_disable(otg_clock);
+		clk_put(otg_clock);
+		otg_clock = NULL;
+	}
+
+	remove_proc_files();
+	usb_gadget_unregister_driver(dev->driver);
+
+	free_irq(IRQ_OTG, dev);
+
+	platform_set_drvdata(pdev, 0);
+
+	the_controller = 0;
+
+	return 0;
+}
+
+#ifdef CONFIG_PM
+static int s3c_udc_suspend(struct platform_device *pdev, pm_message_t state)
+{
+        struct s3c_udc *dev = the_controller;
+        int i;
+
+        if (dev->driver) {
+                if (dev->driver->suspend)
+                        dev->driver->suspend(&dev->gadget);
+
+                /* Terminate any outstanding requests  */
+                for (i = 0; i < S3C_MAX_ENDPOINTS; i++) {
+                        struct s3c_ep *ep = &dev->ep[i];
+                        if ( ep->dev != NULL )
+                                spin_lock(&ep->dev->lock);
+                        ep->stopped = 1;
+                        nuke(ep, -ESHUTDOWN);
+                        if ( ep->dev != NULL )
+                                spin_unlock(&ep->dev->lock);
+                }
+
+                disable_irq(IRQ_OTG);
+                udc_disable(dev);
+                clk_disable(otg_clock);
+        }
+
+        return 0;
+}
+
+static int s3c_udc_resume(struct platform_device *pdev)
+{
+        struct s3c_udc *dev = the_controller;
+
+        if (dev->driver) {
+                clk_enable(otg_clock);
+                udc_reinit(dev);
+                enable_irq(IRQ_OTG);
+                udc_enable(dev);
+
+                if (dev->driver->resume)
+                        dev->driver->resume(&dev->gadget);
+        }
+
+        return 0;
+}
+#else
+#define s3c_udc_suspend NULL
+#define s3c_udc_resume  NULL
+#endif /* CONFIG_PM */
+
+/*-------------------------------------------------------------------------*/
+static struct platform_driver s3c_udc_driver = {
+	.probe		= s3c_udc_probe,
+	.remove		= s3c_udc_remove,
+	.suspend	= s3c_udc_suspend,
+	.resume		= s3c_udc_resume,
+	.driver		= {
+		.owner	= THIS_MODULE,
+		.name	= "s3c-usbgadget",
+	},
+};
+
+static int __init udc_init(void)
+{
+	int ret;
+
+	ret = platform_driver_register(&s3c_udc_driver);
+	if(!ret)
+	   printk("%s : %s\n"
+	   	  "%s : version %s %s \n",
+	   	  driver_name, DRIVER_DESC,
+	   	  driver_name, DRIVER_VERSION, OTG_DMA_MODE? "(DMA Mode)" : "(Slave Mode)");
+
+	return ret;
+}
+
+static void __exit udc_exit(void)
+{
+	platform_driver_unregister(&s3c_udc_driver);
+	printk("Unloaded %s version %s\n", driver_name, DRIVER_VERSION);
+}
+
+module_init(udc_init);
+module_exit(udc_exit);
+
+MODULE_DESCRIPTION(DRIVER_DESC);
+MODULE_AUTHOR("Samsung");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c linux-2.6.28.6/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
--- linux-2.6.28/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,1269 @@
+/*
+ * drivers/usb/gadget/s3c_udc_otg_xfer_dma.c
+ * Samsung S3C on-chip full/high speed USB OTG 2.0 device controllers
+ *
+ * Copyright (C) 2009 for Samsung Electronics
+ *
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ */
+
+#define GINTMSK_INIT	(INT_OUT_EP|INT_IN_EP|INT_RESUME|INT_ENUMDONE|INT_RESET|INT_SUSPEND)
+#define DOEPMSK_INIT	(CTRL_OUT_EP_SETUP_PHASE_DONE|AHB_ERROR|TRANSFER_DONE)
+#define DIEPMSK_INIT	(NON_ISO_IN_EP_TIMEOUT|AHB_ERROR|TRANSFER_DONE)
+#define GAHBCFG_INIT	(PTXFE_HALF|NPTXFE_HALF|MODE_DMA|BURST_INCR4|GBL_INT_UNMASK)
+
+static u8 clear_feature_num;
+static int clear_feature_flag = 0;
+static int set_conf_done = 0;
+
+/* Bulk-Only Mass Storage Reset (class-specific request) */
+#define GET_MAX_LUN_REQUEST	0xFE
+#define BOT_RESET_REQUEST	0xFF
+
+void s3c_udc_ep_set_stall(struct s3c_ep *ep);
+
+static inline void s3c_udc_ep0_zlp(void)
+{
+	u32 ep_ctrl;
+	
+	writel(virt_to_phys(&usb_ctrl), S3C_UDC_OTG_DIEPDMA(EP0_CON));
+	writel((1<<19| 0<<0), S3C_UDC_OTG_DIEPTSIZ(EP0_CON));
+
+	ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL(EP0_CON));
+	writel(ep_ctrl|DEPCTL_EPENA|DEPCTL_CNAK, S3C_UDC_OTG_DIEPCTL(EP0_CON));
+
+	DEBUG_EP0("%s:EP0 ZLP DIEPCTL0 = 0x%x\n",
+		__func__, readl(S3C_UDC_OTG_DIEPCTL(EP0_CON)));
+}
+
+static inline void s3c_udc_pre_setup(void)
+{
+	u32 ep_ctrl;
+
+	DEBUG_IN_EP("%s : Prepare Setup packets.\n", __func__);
+
+	writel((1 << 19)|sizeof(struct usb_ctrlrequest), S3C_UDC_OTG_DOEPTSIZ(EP0_CON));
+	writel(virt_to_phys(&usb_ctrl), S3C_UDC_OTG_DOEPDMA(EP0_CON));
+
+	ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL(EP0_CON));
+	writel(ep_ctrl|DEPCTL_EPENA|DEPCTL_CNAK, S3C_UDC_OTG_DOEPCTL(EP0_CON));
+}
+
+static int setdma_rx(struct s3c_ep *ep, struct s3c_request *req)
+{
+	u32 *buf, ctrl;
+	u32 length, pktcnt;
+	u32 ep_num = ep_index(ep);
+
+	buf = req->req.buf + req->req.actual;
+	prefetchw(buf);
+
+	length = req->req.length - req->req.actual;
+	dma_cache_maint(buf, length, DMA_FROM_DEVICE);
+
+	if(length == 0)
+		pktcnt = 1;
+	else
+		pktcnt = (length - 1)/(ep->ep.maxpacket) + 1;
+
+	ctrl =  readl(S3C_UDC_OTG_DOEPCTL(ep_num));
+
+	writel(virt_to_phys(buf), S3C_UDC_OTG_DOEPDMA(ep_num));
+	writel((pktcnt<<19)|(length<<0), S3C_UDC_OTG_DOEPTSIZ(ep_num));
+	writel(DEPCTL_EPENA|DEPCTL_CNAK|ctrl, S3C_UDC_OTG_DOEPCTL(ep_num));
+
+	DEBUG_OUT_EP("%s: EP%d RX DMA start : DOEPDMA = 0x%x, DOEPTSIZ = 0x%x, DOEPCTL = 0x%x\n"
+			"\tbuf = 0x%p, pktcnt = %d, xfersize = %d\n",
+			__func__, ep_num,
+			readl(S3C_UDC_OTG_DOEPDMA(ep_num)),
+			readl(S3C_UDC_OTG_DOEPTSIZ(ep_num)),
+			readl(S3C_UDC_OTG_DOEPCTL(ep_num)),
+			buf, pktcnt, length);
+	return 0;
+
+}
+
+static int setdma_tx(struct s3c_ep *ep, struct s3c_request *req)
+{
+	u32 *buf, ctrl = 0;
+	u32 length, pktcnt;
+	u32 ep_num = ep_index(ep);
+
+	buf = req->req.buf + req->req.actual;
+	prefetch(buf);
+	length = req->req.length - req->req.actual;
+
+	if(ep_num == EP0_CON) {
+		length = min(length, (u32)ep_maxpacket(ep));
+	}
+
+	req->req.actual += length;
+	dma_cache_maint(buf, length, DMA_TO_DEVICE);
+
+	if(length == 0) {
+		pktcnt = 1;
+	} else {
+		pktcnt = (length - 1)/(ep->ep.maxpacket) + 1;
+	}
+
+	ctrl = readl(S3C_UDC_OTG_DIEPCTL(ep_num));
+
+	writel(virt_to_phys(buf), S3C_UDC_OTG_DIEPDMA(ep_num));
+	writel((pktcnt<<19)|(length<<0), S3C_UDC_OTG_DIEPTSIZ(ep_num));
+	writel(DEPCTL_EPENA|DEPCTL_CNAK|ctrl, S3C_UDC_OTG_DIEPCTL(ep_num));
+
+	ctrl = readl(S3C_UDC_OTG_DIEPCTL(EP0_CON));
+	ctrl = (ctrl&~(EP_MASK<<DEPCTL_NEXT_EP_BIT))|(ep_num<<DEPCTL_NEXT_EP_BIT);
+	writel(ctrl, S3C_UDC_OTG_DIEPCTL(EP0_CON));
+
+	DEBUG_IN_EP("%s:EP%d TX DMA start : DIEPDMA0 = 0x%x, DIEPTSIZ0 = 0x%x, DIEPCTL0 = 0x%x\n"
+			"\tbuf = 0x%p, pktcnt = %d, xfersize = %d\n",
+			__func__, ep_num,
+			readl(S3C_UDC_OTG_DIEPDMA(ep_num)),
+			readl(S3C_UDC_OTG_DIEPTSIZ(ep_num)),
+			readl(S3C_UDC_OTG_DIEPCTL(ep_num)),
+			buf, pktcnt, length);
+
+	return length;
+}
+
+static void complete_rx(struct s3c_udc *dev, u8 ep_num)
+{
+	struct s3c_ep *ep = &dev->ep[ep_num];
+	struct s3c_request *req = NULL;
+	u32 ep_tsr = 0, xfer_size = 0, xfer_length, is_short = 0;
+
+	if (list_empty(&ep->queue)) {
+		DEBUG_OUT_EP("%s: RX DMA done : NULL REQ on OUT EP-%d\n",
+					__func__, ep_num);
+		return;
+
+	}
+
+	req = list_entry(ep->queue.next, struct s3c_request, queue);
+
+	ep_tsr = readl(S3C_UDC_OTG_DOEPTSIZ(ep_num));
+
+	if(ep_num == EP0_CON) {
+		xfer_size = (ep_tsr & 0x7f);
+
+	} else {
+		xfer_size = (ep_tsr & 0x7fff);
+	}
+
+	dma_cache_maint(req->req.buf, req->req.length, DMA_FROM_DEVICE);
+	xfer_length = req->req.length - xfer_size;
+	req->req.actual += min(xfer_length, req->req.length - req->req.actual);
+	is_short = (xfer_length < ep->ep.maxpacket);
+
+	DEBUG_OUT_EP("%s: RX DMA done : ep = %d, rx bytes = %d/%d, "
+		     "is_short = %d, DOEPTSIZ = 0x%x, remained bytes = %d\n",
+			__func__, ep_num, req->req.actual, req->req.length,
+			is_short, ep_tsr, xfer_size);
+
+	if (is_short || req->req.actual == xfer_length) {
+		if(ep_num == EP0_CON && dev->ep0state == DATA_STATE_RECV) {
+			DEBUG_OUT_EP("	=> Send ZLP\n");
+			dev->ep0state = WAIT_FOR_SETUP;
+			s3c_udc_ep0_zlp();
+
+		} else {
+			done(ep, req, 0);
+
+			if(!list_empty(&ep->queue)) {
+				req = list_entry(ep->queue.next, struct s3c_request, queue);
+				DEBUG_OUT_EP("%s: Next Rx request start...\n", __func__);
+				setdma_rx(ep, req);
+			}
+		}
+	}
+}
+
+static void complete_tx(struct s3c_udc *dev, u8 ep_num)
+{
+	struct s3c_ep *ep = &dev->ep[ep_num];
+	struct s3c_request *req;
+	u32 ep_tsr = 0, xfer_size = 0, xfer_length, is_short = 0;
+	u32 last;
+
+	if (list_empty(&ep->queue)) {
+		DEBUG_IN_EP("%s: TX DMA done : NULL REQ on IN EP-%d\n",
+					__func__, ep_num);
+		return;
+
+	}
+
+	req = list_entry(ep->queue.next, struct s3c_request, queue);
+
+	if(dev->ep0state == DATA_STATE_XMIT) {
+		DEBUG_IN_EP("%s: ep_num = %d, ep0stat == DATA_STATE_XMIT\n",
+					__func__, ep_num);
+
+		last = write_fifo_ep0(ep, req);
+
+		if(last) {
+			dev->ep0state = WAIT_FOR_SETUP;
+		}
+
+		return;
+	}
+
+	ep_tsr = readl(S3C_UDC_OTG_DIEPTSIZ(ep_num));
+
+	if(ep_num == EP0_CON) {
+		xfer_size = (ep_tsr & 0x7f);
+
+	} else {
+		xfer_size = (ep_tsr & 0x7fff);
+	}
+
+	req->req.actual = req->req.length - xfer_size;
+	xfer_length = req->req.length - xfer_size;
+	req->req.actual += min(xfer_length, req->req.length - req->req.actual);
+	is_short = (xfer_length < ep->ep.maxpacket);
+
+	DEBUG_IN_EP("%s: TX DMA done : ep = %d, tx bytes = %d/%d, "
+		     "is_short = %d, DIEPTSIZ = 0x%x, remained bytes = %d\n",
+			__func__, ep_num, req->req.actual, req->req.length,
+			is_short, ep_tsr, xfer_size);
+
+	if (req->req.actual == req->req.length) {
+		done(ep, req, 0);
+
+		if(!list_empty(&ep->queue)) {
+			req = list_entry(ep->queue.next, struct s3c_request, queue);
+			DEBUG_IN_EP("%s: Next Tx request start...\n", __func__);
+			setdma_tx(ep, req);
+		}
+	}
+}
+static inline void s3c_udc_check_tx_queue(struct s3c_udc *dev, u8 ep_num)
+{
+	struct s3c_ep *ep = &dev->ep[ep_num];
+	struct s3c_request *req;
+
+	DEBUG_IN_EP("%s: Check queue, ep_num = %d\n", __func__, ep_num);
+
+	if (!list_empty(&ep->queue)) {
+		req = list_entry(ep->queue.next, struct s3c_request, queue);
+		DEBUG_IN_EP("%s: Next Tx request(0x%p) start...\n", __func__, req);
+
+		if (ep_is_in(ep))
+			setdma_tx(ep, req);
+		else
+			setdma_rx(ep, req);
+	} else {
+		DEBUG_IN_EP("%s: NULL REQ on IN EP-%d\n", __func__, ep_num);
+
+		return;
+	}
+
+}
+
+static void process_ep_in_intr(struct s3c_udc *dev)
+{
+	u32 ep_intr, ep_intr_status;
+	u8 ep_num = 0;
+
+	ep_intr = readl(S3C_UDC_OTG_DAINT);
+	DEBUG_IN_EP("*** %s: EP In interrupt : DAINT = 0x%x\n",
+				__func__, ep_intr);
+
+	ep_intr &= DAINT_MASK;
+
+	while(ep_intr) {
+		if (ep_intr & 0x1) {
+			ep_intr_status = readl(S3C_UDC_OTG_DIEPINT(ep_num));
+			DEBUG_IN_EP("\tEP%d-IN : DIEPINT = 0x%x\n",
+						ep_num, ep_intr_status);
+
+			/* Interrupt Clear */
+			writel(ep_intr_status, S3C_UDC_OTG_DIEPINT(ep_num));
+
+			if (ep_intr_status & TRANSFER_DONE) {
+				complete_tx(dev, ep_num);
+
+				if (ep_num == 0) {
+					if(dev->ep0state == WAIT_FOR_SETUP) {
+						s3c_udc_pre_setup();
+					}
+
+					/* continue transfer after set_clear_halt for DMA mode */
+					if (clear_feature_flag == 1) {
+						s3c_udc_check_tx_queue(dev, clear_feature_num);
+						clear_feature_flag = 0;
+					}
+				}
+			}
+		}
+		ep_num++;
+		ep_intr >>= 1;
+	}
+
+}
+
+static void process_ep_out_intr(struct s3c_udc * dev)
+{
+	u32 ep_intr, ep_intr_status;
+	u8 ep_num = 0;
+
+	ep_intr = readl(S3C_UDC_OTG_DAINT);
+	DEBUG_OUT_EP("*** %s: EP OUT interrupt : DAINT = 0x%x\n",
+				__func__, ep_intr);
+
+	ep_intr = (ep_intr >> DAINT_OUT_BIT) & DAINT_MASK;
+
+	while(ep_intr) {
+		if (ep_intr & 0x1) {
+			ep_intr_status = readl(S3C_UDC_OTG_DOEPINT(ep_num));
+			DEBUG_OUT_EP("\tEP%d-OUT : DOEPINT = 0x%x\n",
+						ep_num, ep_intr_status);
+
+			/* Interrupt Clear */
+			writel(ep_intr_status, S3C_UDC_OTG_DOEPINT(ep_num));
+
+			if (ep_num == 0 ) {
+				if (ep_intr_status & CTRL_OUT_EP_SETUP_PHASE_DONE) {
+					DEBUG_OUT_EP("\tSETUP packet(transaction) arrived\n");
+					s3c_handle_ep0(dev);
+				}
+
+				if (ep_intr_status & TRANSFER_DONE) {
+					complete_rx(dev, ep_num);
+					s3c_udc_pre_setup();
+				}
+
+			} else {
+				if (ep_intr_status & TRANSFER_DONE) {
+					complete_rx(dev, ep_num);
+				}
+			}
+		}
+		ep_num++;
+		ep_intr >>= 1;
+	}
+}
+
+/*
+ *	usb client interrupt handler.
+ */
+static irqreturn_t s3c_udc_irq(int irq, void *_dev)
+{
+	struct s3c_udc *dev = _dev;
+	u32 intr_status;
+	u32 usb_status, gintmsk;
+	unsigned long flags;
+
+	spin_lock_irqsave(&dev->lock, flags);
+
+	intr_status = readl(S3C_UDC_OTG_GINTSTS);
+	gintmsk = readl(S3C_UDC_OTG_GINTMSK);
+
+	DEBUG_ISR("\n*** %s : GINTSTS=0x%x(on state %s), GINTMSK : 0x%x, DAINT : 0x%x, DAINTMSK : 0x%x\n",
+			__func__, intr_status, state_names[dev->ep0state], gintmsk,
+			readl(S3C_UDC_OTG_DAINT), readl(S3C_UDC_OTG_DAINTMSK));
+
+	if (!intr_status) {
+		spin_unlock_irqrestore(&dev->lock, flags);
+		return IRQ_HANDLED;
+	}
+
+	if (intr_status & INT_ENUMDONE) {
+		DEBUG_ISR("\tSpeed Detection interrupt\n");
+
+		writel(INT_ENUMDONE, S3C_UDC_OTG_GINTSTS);
+		usb_status = (readl(S3C_UDC_OTG_DSTS) & 0x6);
+
+		if (usb_status & (USB_FULL_30_60MHZ | USB_FULL_48MHZ)) {
+			DEBUG_ISR("\t\tFull Speed Detection\n");
+			set_max_pktsize(dev, USB_SPEED_FULL);
+
+		} else {
+			DEBUG_ISR("\t\tHigh Speed Detection : 0x%x\n", usb_status);
+			set_max_pktsize(dev, USB_SPEED_HIGH);
+		}
+	}
+
+	if (intr_status & INT_EARLY_SUSPEND) {
+		DEBUG_ISR("\tEarly suspend interrupt\n");
+		writel(INT_EARLY_SUSPEND, S3C_UDC_OTG_GINTSTS);
+	}
+
+	if (intr_status & INT_SUSPEND) {
+		usb_status = readl(S3C_UDC_OTG_DSTS);
+		DEBUG_ISR("\tSuspend interrupt :(DSTS):0x%x\n", usb_status);
+		writel(INT_SUSPEND, S3C_UDC_OTG_GINTSTS);
+
+		if (dev->gadget.speed != USB_SPEED_UNKNOWN
+		    && dev->driver
+		    && dev->driver->suspend) {
+
+			dev->driver->suspend(&dev->gadget);
+		}
+	}
+
+	if (intr_status & INT_RESUME) {
+		DEBUG_ISR("\tResume interrupt\n");
+		writel(INT_RESUME, S3C_UDC_OTG_GINTSTS);
+
+		if (dev->gadget.speed != USB_SPEED_UNKNOWN
+		    && dev->driver
+		    && dev->driver->resume) {
+
+			dev->driver->resume(&dev->gadget);
+		}
+	}
+
+	if (intr_status & INT_RESET) {
+		usb_status = readl(S3C_UDC_OTG_GOTGCTL);
+		DEBUG_ISR("\tReset interrupt - (GOTGCTL):0x%x\n", usb_status);
+		writel(INT_RESET, S3C_UDC_OTG_GINTSTS);
+
+		set_conf_done = 0;
+		
+		if((usb_status & 0xc0000) == (0x3 << 18)) {
+			if(reset_available) {
+				DEBUG_ISR("\t\tOTG core got reset (%d)!! \n", reset_available);
+				reconfig_usbd();
+				dev->ep0state = WAIT_FOR_SETUP;
+				reset_available = 0;
+				s3c_udc_pre_setup();
+			}
+
+		} else {
+			reset_available = 1;
+			DEBUG_ISR("\t\tRESET handling skipped\n");
+		}
+	}
+
+	if (intr_status & INT_IN_EP) {
+		process_ep_in_intr(dev);
+	}
+
+	if(intr_status & INT_OUT_EP) {
+		process_ep_out_intr(dev);
+	}
+
+	spin_unlock_irqrestore(&dev->lock, flags);
+
+	return IRQ_HANDLED;
+}
+
+/** Queue one request
+ *  Kickstart transfer if needed
+ */
+static int s3c_queue(struct usb_ep *_ep, struct usb_request *_req,
+			 gfp_t gfp_flags)
+{
+	struct s3c_request *req;
+	struct s3c_ep *ep;
+	struct s3c_udc *dev;
+	unsigned long flags;
+	u32 ep_num, gintsts;
+
+	req = container_of(_req, struct s3c_request, req);
+	if (unlikely(!_req || !_req->complete || !_req->buf || !list_empty(&req->queue))) {
+
+		DEBUG("%s: bad params\n", __func__);
+		return -EINVAL;
+	}
+
+	ep = container_of(_ep, struct s3c_ep, ep);
+
+	if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {
+
+		DEBUG("%s: bad ep\n", __func__);
+		return -EINVAL;
+	}
+
+	ep_num = ep_index(ep);
+	dev = ep->dev;
+	if (unlikely(!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN)) {
+
+		DEBUG("%s: bogus device state %p\n", __func__, dev->driver);
+		return -ESHUTDOWN;
+	}
+
+	spin_lock_irqsave(&dev->lock, flags);
+
+	_req->status = -EINPROGRESS;
+	_req->actual = 0;
+
+	/* kickstart this i/o queue? */
+	DEBUG("\n*** %s: %s-%s req = %p, len = %d, buf = %p"
+		"Q empty = %d, stopped = %d\n",
+		__func__,_ep->name, ep_is_in(ep)? "in" : "out",
+		_req, _req->length,_req->buf,
+		list_empty(&ep->queue), ep->stopped);
+
+	if (list_empty(&ep->queue) && !ep->stopped) {
+
+		if (ep_num == 0) {
+			/* EP0 */
+			list_add_tail(&req->queue, &ep->queue);
+			s3c_ep0_kick(dev, ep);
+			req = 0;
+
+		} else if (ep_is_in(ep)) {
+			gintsts = readl(S3C_UDC_OTG_GINTSTS);
+			DEBUG_IN_EP("%s: ep_is_in, S3C_UDC_OTG_GINTSTS=0x%x\n",
+						__func__, gintsts);
+
+			if (set_conf_done == 1) {
+				setdma_tx(ep, req);
+			} else {
+				done(ep, req, 0);
+				DEBUG("%s: Not yet Set_configureation, ep_num = %d, req = %p\n",
+						__func__, ep_num, req);
+				req = 0;
+			}
+
+		} else {
+			gintsts = readl(S3C_UDC_OTG_GINTSTS);
+			DEBUG_OUT_EP("%s: ep_is_out, S3C_UDC_OTG_GINTSTS=0x%x\n",
+				__func__, gintsts);
+
+			setdma_rx(ep, req);
+		}
+	}
+
+	/* pio or dma irq handler advances the queue. */
+	if (likely(req != 0)) {
+		list_add_tail(&req->queue, &ep->queue);
+	}
+
+	spin_unlock_irqrestore(&dev->lock, flags);
+
+	return 0;
+}
+
+/****************************************************************/
+/* End Point 0 related functions                                */
+/****************************************************************/
+
+/* return:  0 = still running, 1 = completed, negative = errno */
+static int write_fifo_ep0(struct s3c_ep *ep, struct s3c_request *req)
+{
+	u32 max;
+	unsigned count;
+	int is_last;
+
+	max = ep_maxpacket(ep);
+
+	DEBUG_EP0("%s: max = %d\n", __func__, max);
+
+	count = setdma_tx(ep, req);
+
+	/* last packet is usually short (or a zlp) */
+	if (likely(count != max))
+		is_last = 1;
+	else {
+		if (likely(req->req.length != req->req.actual) || req->req.zero)
+			is_last = 0;
+		else
+			is_last = 1;
+	}
+
+	DEBUG_EP0("%s: wrote %s %d bytes%s %d left %p\n", __func__,
+		  ep->ep.name, count,
+		  is_last ? "/L" : "", req->req.length - req->req.actual, req);
+
+	/* requests complete when all IN data is in the FIFO */
+	if (is_last) {
+		ep->dev->ep0state = WAIT_FOR_SETUP;
+		return 1;
+	}
+
+	return 0;
+}
+
+static __inline__ int s3c_fifo_read(struct s3c_ep *ep, u32 *cp, int max)
+{
+	u32 bytes;
+
+	bytes = sizeof(struct usb_ctrlrequest);
+	dma_cache_maint(&usb_ctrl, bytes, DMA_FROM_DEVICE);
+	DEBUG_EP0("%s: bytes=%d, ep_index=%d \n", __func__, bytes, ep_index(ep));
+
+	return bytes;
+}
+
+/**
+ * udc_set_address - set the USB address for this device
+ * @address:
+ *
+ * Called from control endpoint function
+ * after it decodes a set address setup packet.
+ */
+static void udc_set_address(struct s3c_udc *dev, unsigned char address)
+{
+	u32 ctrl = readl(S3C_UDC_OTG_DCFG);
+	writel(address << 4 | ctrl, S3C_UDC_OTG_DCFG);
+
+	s3c_udc_ep0_zlp();
+
+	DEBUG_EP0("%s: USB OTG 2.0 Device address=%d, DCFG=0x%x\n",
+		__func__, address, readl(S3C_UDC_OTG_DCFG));
+
+	dev->usb_address = address;
+}
+
+static inline void s3c_udc_ep0_set_stall(struct s3c_ep *ep) 
+{
+	struct s3c_udc *dev;
+	u32		ep_ctrl = 0;
+
+	dev = ep->dev;
+	ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL(EP0_CON));
+
+	/* set the disable and stall bits */
+	if (ep_ctrl & DEPCTL_EPENA) {
+		ep_ctrl |= DEPCTL_EPDIS;
+	}
+	ep_ctrl |= DEPCTL_STALL;
+
+	writel(ep_ctrl, S3C_UDC_OTG_DIEPCTL(EP0_CON));
+
+	DEBUG_EP0("%s: set ep%d stall, DIEPCTL0 = 0x%x\n",
+		__func__, ep_index(ep), readl(S3C_UDC_OTG_DIEPCTL(EP0_CON)));
+	/* 
+	 * The application can only set this bit, and the core clears it,
+	 * when a SETUP token is received for this endpoint
+	 */
+	dev->ep0state = WAIT_FOR_SETUP;
+
+	s3c_udc_pre_setup();
+}
+
+static void s3c_ep0_read(struct s3c_udc *dev)
+{
+	struct s3c_request *req;
+	struct s3c_ep *ep = &dev->ep[0];
+	int ret;
+
+	if (!list_empty(&ep->queue)) {
+		req = list_entry(ep->queue.next, struct s3c_request, queue);
+
+	} else {
+		DEBUG("%s: ---> BUG\n", __func__);
+		BUG();
+		return;
+	}
+
+	DEBUG_EP0("%s: req = %p, req.length = 0x%x, req.actual = 0x%x\n",
+		__func__, req, req->req.length, req->req.actual);
+
+	if(req->req.length == 0) {
+		/* zlp for Set_configuration, Set_interface,
+		 * or Bulk-Only mass storge reset */
+
+		dev->ep0state = WAIT_FOR_SETUP;
+		set_conf_done = 1;
+		s3c_udc_ep0_zlp();
+		done(ep, req, 0);
+
+		DEBUG_EP0("%s: req.length = 0, bRequest = %d\n", __func__, usb_ctrl.bRequest);
+		return;
+	}
+
+	ret = setdma_rx(ep, req);
+}
+
+/*
+ * DATA_STATE_XMIT
+ */
+static int s3c_ep0_write(struct s3c_udc *dev)
+{
+	struct s3c_request *req;
+	struct s3c_ep *ep = &dev->ep[0];
+	int ret, need_zlp = 0;
+
+	if (list_empty(&ep->queue)) {
+		req = 0;
+
+	} else {
+		req = list_entry(ep->queue.next, struct s3c_request, queue);
+	}
+
+	if (!req) {
+		DEBUG_EP0("%s: NULL REQ\n", __func__);
+		return 0;
+	}
+
+	DEBUG_EP0("%s: req = %p, req.length = 0x%x, req.actual = 0x%x\n",
+		__func__, req, req->req.length, req->req.actual);
+
+	if (req->req.length - req->req.actual == ep0_fifo_size) {
+		/* Next write will end with the packet size, */
+		/* so we need Zero-length-packet */
+		need_zlp = 1;
+	}
+
+	ret = write_fifo_ep0(ep, req);
+
+	if ((ret == 1) && !need_zlp) {
+		/* Last packet */
+		dev->ep0state = WAIT_FOR_SETUP;
+		DEBUG_EP0("%s: finished, waiting for status\n", __func__);
+
+	} else {
+		dev->ep0state = DATA_STATE_XMIT;
+		DEBUG_EP0("%s: not finished\n", __func__);
+	}
+
+	if (need_zlp) {
+		dev->ep0state = DATA_STATE_NEED_ZLP;
+		DEBUG_EP0("%s: Need ZLP!\n", __func__);
+	}
+
+	return 1;
+}
+
+u16	g_status;
+
+static int s3c_udc_get_status(struct s3c_udc *dev,
+		struct usb_ctrlrequest *crq)
+{
+	u8 ep_num = crq->wIndex & 0x7F;
+	u32 ep_ctrl;
+
+	DEBUG_SETUP("%s: *** USB_REQ_GET_STATUS  \n",__func__);
+
+	switch (crq->bRequestType & USB_RECIP_MASK) {
+	case USB_RECIP_INTERFACE:
+		g_status = 0;
+		DEBUG_SETUP("\tGET_STATUS: USB_RECIP_INTERFACE, g_stauts = %d\n", g_status);
+		break;
+
+	case USB_RECIP_DEVICE:
+		g_status = 0x1; /* Self powered */
+		DEBUG_SETUP("\tGET_STATUS: USB_RECIP_DEVICE, g_stauts = %d\n", g_status);
+		break;
+
+	case USB_RECIP_ENDPOINT:
+		if (ep_num > 4 || crq->wLength > 2) {
+			DEBUG_SETUP("\tGET_STATUS: Not support EP or wLength\n");
+			return 1;
+		}
+
+		g_status = dev->ep[ep_num].stopped;
+		DEBUG_SETUP("\tGET_STATUS: USB_RECIP_ENDPOINT, g_stauts = %d\n", g_status);
+
+		break;
+
+	default:
+		return 1;
+	}
+
+	dma_cache_maint(&g_status, 2, DMA_TO_DEVICE);
+
+	writel(virt_to_phys(&g_status), S3C_UDC_OTG_DIEPDMA(EP0_CON));
+	writel((1<<19)|(2<<0), S3C_UDC_OTG_DIEPTSIZ(EP0_CON));
+
+	ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL(EP0_CON));
+	writel(ep_ctrl|DEPCTL_EPENA|DEPCTL_CNAK, S3C_UDC_OTG_DIEPCTL(EP0_CON));
+	dev->ep0state = WAIT_FOR_SETUP;
+
+	return 0;
+}
+
+void s3c_udc_ep_set_stall(struct s3c_ep *ep)
+{
+	u8		ep_num;
+	u32		ep_ctrl = 0;
+
+	ep_num = ep_index(ep);
+	DEBUG("%s: ep_num = %d, ep_type = %d\n", __func__, ep_num, ep->ep_type);
+		
+	if (ep_is_in(ep)) {
+		ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL(ep_num));
+	
+		/* set the disable and stall bits */
+		if (ep_ctrl & DEPCTL_EPENA) {
+			ep_ctrl |= DEPCTL_EPDIS;
+		}
+		ep_ctrl |= DEPCTL_STALL;
+
+		writel(ep_ctrl, S3C_UDC_OTG_DIEPCTL(ep_num));
+		DEBUG("%s: set stall, DIEPCTL%d = 0x%x\n",
+			__func__, ep_num, readl(S3C_UDC_OTG_DIEPCTL(ep_num)));
+
+	} else {
+		ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL(ep_num));
+
+		/* set the stall bit */
+		ep_ctrl |= DEPCTL_STALL;
+		ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL(ep_num));
+
+		writel(ep_ctrl, S3C_UDC_OTG_DOEPCTL(ep_num));
+		DEBUG("%s: set stall, DOEPCTL%d = 0x%x\n",
+			__func__, ep_num, readl(S3C_UDC_OTG_DOEPCTL(ep_num)));
+	}
+		
+	return;
+}
+
+void s3c_udc_ep_clear_stall(struct s3c_ep *ep)
+{
+	u8		ep_num;
+	u32		ep_ctrl = 0;
+
+	ep_num = ep_index(ep);	
+	DEBUG("%s: ep_num = %d, ep_type = %d\n", __func__, ep_num, ep->ep_type);
+
+	if (ep_is_in(ep)) {
+		ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL(ep_num));
+
+		/* clear stall bit */
+		ep_ctrl &= ~DEPCTL_STALL;
+
+		/* 
+		 * USB Spec 9.4.5: For endpoints using data toggle, regardless
+		 * of whether an endpoint has the Halt feature set, a
+		 * ClearFeature(ENDPOINT_HALT) request always results in the
+		 * data toggle being reinitialized to DATA0.
+		 */
+		if (ep->bmAttributes == USB_ENDPOINT_XFER_INT
+		    || ep->bmAttributes == USB_ENDPOINT_XFER_BULK) {
+			ep_ctrl |= DEPCTL_SETD0PID; /* DATA0 */
+		}
+
+		writel(ep_ctrl, S3C_UDC_OTG_DIEPCTL(ep_num));
+		DEBUG("%s: cleared stall, DIEPCTL%d = 0x%x\n",
+			__func__, ep_num, readl(S3C_UDC_OTG_DIEPCTL(ep_num)));
+
+	} else {
+		ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL(ep_num));
+
+		/* clear stall bit */
+		ep_ctrl &= ~DEPCTL_STALL;
+
+		if (ep->bmAttributes == USB_ENDPOINT_XFER_INT
+		    || ep->bmAttributes == USB_ENDPOINT_XFER_BULK) {
+			ep_ctrl |= DEPCTL_SETD0PID; /* DATA0 */
+		}
+
+		writel(ep_ctrl, S3C_UDC_OTG_DOEPCTL(ep_num));
+		DEBUG("%s: cleared stall, DOEPCTL%d = 0x%x\n",
+			__func__, ep_num, readl(S3C_UDC_OTG_DOEPCTL(ep_num)));
+	}
+
+	return;
+}
+
+static int s3c_udc_set_halt(struct usb_ep *_ep, int value)
+{
+	struct s3c_ep	*ep;
+	struct s3c_udc	*dev;
+	unsigned long	flags;
+	u8		ep_num;
+
+	ep = container_of(_ep, struct s3c_ep, ep);
+
+	if (unlikely (!_ep || (!ep->desc && ep->ep.name != ep0name) ||
+			ep->desc->bmAttributes == USB_ENDPOINT_XFER_ISOC)) {
+		DEBUG("%s: %s bad ep or descriptor\n", __func__, ep->ep.name);
+		return -EINVAL;
+	}
+
+	/* Attempt to halt IN ep will fail if any transfer requests
+	 * are still queue */
+	if (value && ep_is_in(ep) && !list_empty(&ep->queue)) {
+		DEBUG("%s: %s queue not empty, req = %p\n",
+			__func__, ep->ep.name,
+			list_entry(ep->queue.next, struct s3c_request, queue));
+
+		return -EAGAIN;
+	}
+
+	dev = ep->dev;
+	ep_num = ep_index(ep);
+	DEBUG("%s: ep_num = %d, value = %d\n", __func__, ep_num, value);
+
+	spin_lock_irqsave(&dev->lock, flags);
+
+	if (value == 0) {
+		ep->stopped = 0;
+		s3c_udc_ep_clear_stall(ep);
+	} else {
+		if (ep_num == 0) {
+			dev->ep0state = WAIT_FOR_SETUP;
+		}
+		
+		ep->stopped = 1;
+		s3c_udc_ep_set_stall(ep);
+	}
+
+	spin_unlock_irqrestore(&dev->lock, flags);
+
+	return 0;
+}
+
+void s3c_udc_ep_activate(struct s3c_ep *ep)
+{
+	u8 ep_num;
+	u32 ep_ctrl = 0, daintmsk = 0;
+	
+	ep_num = ep_index(ep);
+
+	/* Read DEPCTLn register */
+	if (ep_is_in(ep)) {
+		ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL(ep_num));
+		daintmsk = 1 << ep_num;
+	} else {
+		ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL(ep_num));
+		daintmsk = (1 << ep_num) << DAINT_OUT_BIT;
+	}
+
+	DEBUG("%s: EPCTRL%d = 0x%x, ep_is_in = %d\n",
+		__func__, ep_num, ep_ctrl, ep_is_in(ep));
+		
+	/* If the EP is already active don't change the EP Control
+	 * register. */
+	if (!(ep_ctrl & DEPCTL_USBACTEP)) {
+		ep_ctrl = (ep_ctrl & ~DEPCTL_TYPE_MASK)| (ep->bmAttributes << DEPCTL_TYPE_BIT);
+		ep_ctrl = (ep_ctrl & ~DEPCTL_MPS_MASK) | (ep->ep.maxpacket << DEPCTL_MPS_BIT);
+		ep_ctrl |= (DEPCTL_SETD0PID | DEPCTL_USBACTEP);
+
+		if (ep_is_in(ep)) {
+			writel(ep_ctrl, S3C_UDC_OTG_DIEPCTL(ep_num));
+			DEBUG("%s: USB Ative EP%d, DIEPCTRL%d = 0x%x\n",
+				__func__, ep_num, ep_num, readl(S3C_UDC_OTG_DIEPCTL(ep_num)));
+		} else {
+			writel(ep_ctrl, S3C_UDC_OTG_DOEPCTL(ep_num));
+			DEBUG("%s: USB Ative EP%d, DOEPCTRL%d = 0x%x\n",
+				__func__, ep_num, ep_num, readl(S3C_UDC_OTG_DOEPCTL(ep_num)));
+		}
+	}
+
+	/* Unmask EP Interrtupt */
+	writel(readl(S3C_UDC_OTG_DAINTMSK)|daintmsk, S3C_UDC_OTG_DAINTMSK);
+	DEBUG("%s: DAINTMSK = 0x%x\n", __func__, readl(S3C_UDC_OTG_DAINTMSK));
+
+}
+
+static int s3c_udc_clear_feature(struct usb_ep *_ep)
+{
+	struct s3c_ep	*ep;
+	u8		ep_num;
+
+	ep = container_of(_ep, struct s3c_ep, ep);
+	ep_num = ep_index(ep);
+
+	DEBUG_SETUP("%s: ep_num = %d, is_in = %d, clear_feature_flag = %d\n",
+		__func__, ep_num, ep_is_in(ep), clear_feature_flag);
+
+	if (usb_ctrl.wLength != 0) {
+		DEBUG_SETUP("\tCLEAR_FEATURE: wLength is not zero.....\n");
+		return 1;
+	}
+
+	switch (usb_ctrl.bRequestType & USB_RECIP_MASK) {
+	case USB_RECIP_DEVICE:
+		switch (usb_ctrl.wValue) {
+		case USB_DEVICE_REMOTE_WAKEUP:
+			DEBUG_SETUP("\tCLEAR_FEATURE: USB_DEVICE_REMOTE_WAKEUP\n");
+			break;
+
+		case USB_DEVICE_TEST_MODE:
+			DEBUG_SETUP("\tCLEAR_FEATURE: USB_DEVICE_TEST_MODE\n");
+			/** @todo Add CLEAR_FEATURE for TEST modes. */
+			break;
+		}
+
+		s3c_udc_ep0_zlp();
+		break;
+
+	case USB_RECIP_ENDPOINT:
+		DEBUG_SETUP("\tCLEAR_FEATURE: USB_RECIP_ENDPOINT, wValue = %d\n",
+				usb_ctrl.wValue);
+
+		if (usb_ctrl.wValue == USB_ENDPOINT_HALT) {
+			if (ep == 0) {
+				s3c_udc_ep0_set_stall(ep);
+				return 0;
+			} 
+
+			s3c_udc_ep0_zlp();
+
+			s3c_udc_ep_clear_stall(ep);
+			s3c_udc_ep_activate(ep);
+			ep->stopped = 0;
+
+			clear_feature_num = ep_num;
+			clear_feature_flag = 1;
+		}
+		break;
+	}
+
+	return 0;
+}
+
+static int s3c_udc_set_feature(struct usb_ep *_ep)
+{
+	struct s3c_ep	*ep;
+	u8		ep_num;
+
+	ep = container_of(_ep, struct s3c_ep, ep);
+	ep_num = ep_index(ep);
+
+	DEBUG_SETUP("%s: *** USB_REQ_SET_FEATURE , ep_num = %d\n",__func__, ep_num);
+
+	if (usb_ctrl.wLength != 0) {
+		DEBUG_SETUP("\tSET_FEATURE: wLength is not zero.....\n");
+		return 1;
+	}
+
+	switch (usb_ctrl.bRequestType & USB_RECIP_MASK) {
+	case USB_RECIP_DEVICE:
+		switch (usb_ctrl.wValue) {
+		case USB_DEVICE_REMOTE_WAKEUP:
+			DEBUG_SETUP("\tSET_FEATURE: USB_DEVICE_REMOTE_WAKEUP\n");
+			break;
+
+		case USB_DEVICE_TEST_MODE:
+			DEBUG_SETUP("\tSET_FEATURE: USB_DEVICE_TEST_MODE\n");
+			break;
+
+		case USB_DEVICE_B_HNP_ENABLE:
+			DEBUG_SETUP("\tSET_FEATURE: USB_DEVICE_B_HNP_ENABLE\n");
+			break;
+
+		case USB_DEVICE_A_HNP_SUPPORT:
+			/* RH port supports HNP */
+			DEBUG_SETUP("\tSET_FEATURE: USB_DEVICE_A_HNP_SUPPORT\n");
+			break;
+
+		case USB_DEVICE_A_ALT_HNP_SUPPORT:
+			/* other RH port does */
+			DEBUG_SETUP("\tSET_FEATURE: USB_DEVICE_A_ALT_HNP_SUPPORT\n");
+			break;
+		}
+
+		s3c_udc_ep0_zlp();
+		return 0;
+
+	case USB_RECIP_INTERFACE:
+		DEBUG_SETUP("\tSET_FEATURE: USB_RECIP_INTERFACE\n");
+		break;
+
+	case USB_RECIP_ENDPOINT:
+		DEBUG_SETUP("\tSET_FEATURE: USB_RECIP_ENDPOINT\n");
+		if (usb_ctrl.wValue == USB_ENDPOINT_HALT) {
+			if (ep_num == 0) {
+				s3c_udc_ep0_set_stall(ep);
+				return 0;
+			} 
+			ep->stopped = 1;
+			s3c_udc_ep_set_stall(ep);
+		}
+
+		s3c_udc_ep0_zlp();
+		return 0;
+	}
+
+	return 1;
+}
+
+/*
+ * WAIT_FOR_SETUP (OUT_PKT_RDY)
+ */
+static void s3c_ep0_setup(struct s3c_udc *dev)
+{
+	struct s3c_ep *ep = &dev->ep[0];
+	int i, bytes, is_in;
+	u8 ep_num;
+
+	/* Nuke all previous transfers */
+	nuke(ep, -EPROTO);
+
+	/* read control req from fifo (8 bytes) */
+	bytes = s3c_fifo_read(ep, (u32 *)&usb_ctrl, 8);
+
+	DEBUG_SETUP("%s: bRequestType = 0x%x(%s), bRequest = 0x%x"
+			"\twLength = 0x%x, wValue = 0x%x, wIndex= 0x%x\n",
+			__func__, usb_ctrl.bRequestType,
+			(usb_ctrl.bRequestType & USB_DIR_IN) ? "IN" : "OUT", usb_ctrl.bRequest,
+			usb_ctrl.wLength, usb_ctrl.wValue, usb_ctrl.wIndex);
+
+	if (usb_ctrl.bRequest == GET_MAX_LUN_REQUEST && usb_ctrl.wLength != 1) {
+		DEBUG_SETUP("\t%s:GET_MAX_LUN_REQUEST:invalid wLength = %d, setup returned\n",
+			__func__, usb_ctrl.wLength);
+
+		s3c_udc_ep0_set_stall(ep);
+		dev->ep0state = WAIT_FOR_SETUP;
+
+		return;
+	}
+	else if (usb_ctrl.bRequest == BOT_RESET_REQUEST && usb_ctrl.wLength != 0) {
+		/* Bulk-Only *mass storge reset of class-specific request */ 
+		DEBUG_SETUP("\t%s:BOT Rest:invalid wLength = %d, setup returned\n",
+			__func__, usb_ctrl.wLength);
+
+		s3c_udc_ep0_set_stall(ep);
+		dev->ep0state = WAIT_FOR_SETUP;
+
+		return;
+	}
+
+	/* Set direction of EP0 */
+	if (likely(usb_ctrl.bRequestType & USB_DIR_IN)) {
+		ep->bEndpointAddress |= USB_DIR_IN;
+		is_in = 1;
+
+	} else {
+		ep->bEndpointAddress &= ~USB_DIR_IN;
+		is_in = 0;
+	}
+	/* cope with automagic for some standard requests. */
+	dev->req_std = (usb_ctrl.bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD;
+	dev->req_config = 0;
+	dev->req_pending = 1;
+
+	/* Handle some SETUP packets ourselves */
+	switch (usb_ctrl.bRequest) {
+	case USB_REQ_SET_ADDRESS:
+	DEBUG_SETUP("%s: *** USB_REQ_SET_ADDRESS (%d)\n",
+			__func__, usb_ctrl.wValue);
+
+		if (usb_ctrl.bRequestType
+			!= (USB_TYPE_STANDARD | USB_RECIP_DEVICE))
+			break;
+
+		udc_set_address(dev, usb_ctrl.wValue);
+		return;
+
+	case USB_REQ_SET_CONFIGURATION :
+		DEBUG_SETUP("============================================\n");
+		DEBUG_SETUP("%s: USB_REQ_SET_CONFIGURATION (%d)\n",
+				__func__, usb_ctrl.wValue);
+
+		if (usb_ctrl.bRequestType == USB_RECIP_DEVICE) {
+			reset_available = 1;
+			dev->req_config = 1;
+		}
+		break;
+
+	case USB_REQ_GET_DESCRIPTOR:
+		DEBUG_SETUP("%s: *** USB_REQ_GET_DESCRIPTOR  \n",__func__);
+		break;
+
+	case USB_REQ_SET_INTERFACE:
+		DEBUG_SETUP("%s: *** USB_REQ_SET_INTERFACE (%d)\n",
+				__func__, usb_ctrl.wValue);
+
+		if (usb_ctrl.bRequestType == USB_RECIP_INTERFACE) {
+			reset_available = 1;
+			dev->req_config = 1;
+		}
+		break;
+
+	case USB_REQ_GET_CONFIGURATION:
+		DEBUG_SETUP("%s: *** USB_REQ_GET_CONFIGURATION  \n",__func__);
+		break;
+
+	case USB_REQ_GET_STATUS:
+		if (dev->req_std) {
+			if (!s3c_udc_get_status(dev, &usb_ctrl)) {
+				return;
+			}
+		}
+		break;
+
+	case USB_REQ_CLEAR_FEATURE:
+		ep_num = usb_ctrl.wIndex & 0x7f;
+
+		if (!s3c_udc_clear_feature(&dev->ep[ep_num].ep)) {
+			return;
+		}
+		break;
+
+	case USB_REQ_SET_FEATURE:
+		ep_num = usb_ctrl.wIndex & 0x7f;
+
+		if (!s3c_udc_set_feature(&dev->ep[ep_num].ep)) {
+			return;
+		}
+		break;
+
+	default:
+		DEBUG_SETUP("%s: *** Default of usb_ctrl.bRequest=0x%x happened.\n",
+				__func__, usb_ctrl.bRequest);
+		break;
+	}
+
+	if (likely(dev->driver)) {
+		/* device-2-host (IN) or no data setup command,
+		 * process immediately */
+		DEBUG_SETUP("%s: usb_ctrlrequest will be passed to fsg_setup()\n", __func__);
+
+		spin_unlock(&dev->lock);
+		i = dev->driver->setup(&dev->gadget, &usb_ctrl);
+		spin_lock(&dev->lock);
+
+		if (i < 0) {
+			if (dev->req_config) {
+				DEBUG_SETUP("\tconfig change 0x%02x fail %d?\n",
+					(u32)&usb_ctrl.bRequest, i);
+				return;
+			}
+
+			/* setup processing failed, force stall */
+			s3c_udc_ep0_set_stall(ep);
+			dev->ep0state = WAIT_FOR_SETUP;
+
+			DEBUG_SETUP("\tdev->driver->setup failed (%d), bRequest = %d\n",
+				i, usb_ctrl.bRequest);
+
+
+		} else if (dev->req_pending) {
+			dev->req_pending = 0;
+			DEBUG_SETUP("\tdev->req_pending... \n");
+		}
+
+		DEBUG_SETUP("\tep0state = %s\n", state_names[dev->ep0state]);
+
+	}
+}
+
+/*
+ * handle ep0 interrupt
+ */
+static void s3c_handle_ep0(struct s3c_udc *dev)
+{
+	if (dev->ep0state == WAIT_FOR_SETUP) {
+		DEBUG_OUT_EP("%s: WAIT_FOR_SETUP\n", __func__);
+		s3c_ep0_setup(dev);
+
+	} else {
+		DEBUG_OUT_EP("%s: strange state!!(state = %s)\n",
+			__func__, state_names[dev->ep0state]);
+	}
+}
+
+static void s3c_ep0_kick(struct s3c_udc *dev, struct s3c_ep *ep)
+{
+	DEBUG_EP0("%s: ep_is_in = %d\n", __func__, ep_is_in(ep));
+	if (ep_is_in(ep)) {
+		dev->ep0state = DATA_STATE_XMIT;
+		s3c_ep0_write(dev);
+
+	} else {
+		dev->ep0state = DATA_STATE_RECV;
+		s3c_ep0_read(dev);
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/s3c_udc_otg_xfer_slave.c linux-2.6.28.6/drivers/usb/gadget/s3c_udc_otg_xfer_slave.c
--- linux-2.6.28/drivers/usb/gadget/s3c_udc_otg_xfer_slave.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/s3c_udc_otg_xfer_slave.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,971 @@
+/*
+ * drivers/usb/gadget/s3c_udc_otg_xfer_slave.c
+ * Samsung S3C on-chip full/high speed USB OTG 2.0 device controllers
+ *
+ * Copyright (C) 2009 for Samsung Electronics
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ *
+ */
+
+#define GINTMSK_INIT	(INT_RESUME|INT_ENUMDONE|INT_RESET|INT_SUSPEND|INT_RX_FIFO_NOT_EMPTY)
+#define DOEPMSK_INIT	(AHB_ERROR)
+#define DIEPMSK_INIT	(NON_ISO_IN_EP_TIMEOUT|AHB_ERROR)
+#define GAHBCFG_INIT	(PTXFE_HALF|NPTXFE_HALF|MODE_SLAVE|BURST_SINGLE|GBL_INT_UNMASK)
+
+u32 tx_ep_num = 2;
+
+static int set_interface_first = 0;
+
+/*-------------------------------------------------------------------------*/
+
+/** Read to request from FIFO (max read == bytes in fifo)
+ *  Return:  0 = still running, 1 = completed, negative = errno
+ */
+static int read_fifo(struct s3c_ep *ep, struct s3c_request *req)
+{
+	u32 csr, gintmsk;
+	u32 *buf;
+	u32 bufferspace, count, count_bytes, is_short = 0;
+	u32 fifo = ep->fifo;
+
+	csr = readl(S3C_UDC_OTG_GRXSTSP);
+	count_bytes = (csr & 0x7ff0)>>4;
+
+	gintmsk = readl(S3C_UDC_OTG_GINTMSK);
+
+	if(!count_bytes) {
+		DEBUG_OUT_EP("%s: count_bytes %d bytes\n", __FUNCTION__, count_bytes);
+
+		// Unmask USB OTG 2.0 interrupt source : INT_RX_FIFO_NOT_EMPTY
+		writel(gintmsk | INT_RX_FIFO_NOT_EMPTY, S3C_UDC_OTG_GINTMSK);
+		return 0;
+	}
+
+	buf = req->req.buf + req->req.actual;
+	prefetchw(buf);
+	bufferspace = req->req.length - req->req.actual;
+
+	count = count_bytes / 4;
+	if(count_bytes%4) count = count + 1;
+
+	req->req.actual += min(count_bytes, bufferspace);
+
+	is_short = (count_bytes < ep->ep.maxpacket);
+	DEBUG_OUT_EP("%s: read %s, %d bytes%s req %p %d/%d GRXSTSP:0x%x\n",
+		__FUNCTION__,
+		ep->ep.name, count_bytes,
+		is_short ? "/S" : "", req, req->req.actual, req->req.length, csr);
+
+	while (likely(count-- != 0)) {
+		u32 byte = (u32) readl(fifo);
+
+		if (unlikely(bufferspace == 0)) {
+			/* this happens when the driver's buffer
+		 	* is smaller than what the host sent.
+		 	* discard the extra data.
+		 	*/
+			if (req->req.status != -EOVERFLOW)
+				printk("%s overflow %d\n", ep->ep.name, count);
+			req->req.status = -EOVERFLOW;
+		} else {
+			*buf++ = byte;
+			bufferspace-=4;
+		}
+ 	 }
+
+	// Unmask USB OTG 2.0 interrupt source : INT_RX_FIFO_NOT_EMPTY
+	writel(gintmsk | INT_RX_FIFO_NOT_EMPTY, S3C_UDC_OTG_GINTMSK);
+
+	/* completion */
+	if (is_short || req->req.actual == req->req.length) {
+		done(ep, req, 0);
+		return 1;
+	}
+
+	/* finished that packet.  the next one may be waiting... */
+	return 0;
+}
+
+/* Inline code */
+static __inline__ int write_packet(struct s3c_ep *ep,
+				   struct s3c_request *req, int max)
+{
+	u32 *buf;
+	int length, count;
+	u32 fifo = ep->fifo, in_ctrl;
+
+	buf = req->req.buf + req->req.actual;
+	prefetch(buf);
+
+	length = req->req.length - req->req.actual;
+	length = min(length, max);
+	req->req.actual += length;
+
+	DEBUG("%s: Write %d (max %d), fifo=0x%x\n",
+		__FUNCTION__, length, max, fifo);
+
+	if(ep_index(ep) == EP0_CON) {
+		writel((1<<19)|(length<<0), (u32) S3C_UDC_OTG_DIEPTSIZ0);
+
+		in_ctrl =  readl(S3C_UDC_OTG_DIEPCTL0);
+		writel(DEPCTL_EPENA|DEPCTL_CNAK|(EP2_IN<<11)| in_ctrl, (u32) S3C_UDC_OTG_DIEPCTL0);
+
+		DEBUG_EP0("%s:(DIEPTSIZ0):0x%x, (DIEPCTL0):0x%x, (GNPTXSTS):0x%x\n", __FUNCTION__,
+			readl(S3C_UDC_OTG_DIEPTSIZ0),readl(S3C_UDC_OTG_DIEPCTL0),
+			readl(S3C_UDC_OTG_GNPTXSTS));
+
+		udelay(30);
+
+	} else if ((ep_index(ep) == EP2_IN)) {
+		writel((1<<19)|(length<<0), S3C_UDC_OTG_DIEPTSIZ2);
+
+		in_ctrl =  readl(S3C_UDC_OTG_DIEPCTL2);
+		writel(DEPCTL_EPENA|DEPCTL_CNAK|(EP2_IN<<11)| in_ctrl, (u32) S3C_UDC_OTG_DIEPCTL2);
+
+		DEBUG_IN_EP("%s:(DIEPTSIZ2):0x%x, (DIEPCTL2):0x%x, (GNPTXSTS):0x%x\n", __FUNCTION__,
+			readl(S3C_UDC_OTG_DIEPTSIZ2),readl(S3C_UDC_OTG_DIEPCTL2),
+			readl(S3C_UDC_OTG_GNPTXSTS));
+
+		udelay(30);
+
+	} else if ((ep_index(ep) == EP3_IN)) {
+
+		if (set_interface_first == 1) {
+			DEBUG_IN_EP("%s: first packet write skipped after set_interface\n", __FUNCTION__);
+			set_interface_first = 0;
+			return length;
+		}
+
+		writel((1<<19)|(length<<0), S3C_UDC_OTG_DIEPTSIZ3);
+
+		in_ctrl =  readl(S3C_UDC_OTG_DIEPCTL3);
+		writel(DEPCTL_EPENA|DEPCTL_CNAK|(EP2_IN<<11)| in_ctrl, (u32) S3C_UDC_OTG_DIEPCTL3);
+
+		DEBUG_IN_EP("%s:(DIEPTSIZ3):0x%x, (DIEPCTL3):0x%x, (GNPTXSTS):0x%x\n", __FUNCTION__,
+			readl(S3C_UDC_OTG_DIEPTSIZ3),readl(S3C_UDC_OTG_DIEPCTL3),
+			readl(S3C_UDC_OTG_GNPTXSTS));
+
+		udelay(30);
+
+	} else {
+		printk("%s: --> Error Unused Endpoint!!\n",
+			__FUNCTION__);
+		BUG();
+	}
+
+	for (count=0;count<length;count+=4) {
+	  	writel(*buf++, fifo);
+	}
+	return length;
+}
+
+/** Write request to FIFO (max write == maxp size)
+ *  Return:  0 = still running, 1 = completed, negative = errno
+ */
+static int write_fifo(struct s3c_ep *ep, struct s3c_request *req)
+{
+	u32 max, gintmsk;
+	unsigned count;
+	int is_last = 0, is_short = 0;
+
+	gintmsk = readl(S3C_UDC_OTG_GINTMSK);
+
+	max = le16_to_cpu(ep->desc->wMaxPacketSize);
+	count = write_packet(ep, req, max);
+
+	/* last packet is usually short (or a zlp) */
+	if (unlikely(count != max))
+		is_last = is_short = 1;
+	else {
+		if (likely(req->req.length != req->req.actual)
+		    || req->req.zero)
+			is_last = 0;
+		else
+			is_last = 1;
+		/* interrupt/iso maxpacket may not fill the fifo */
+		is_short = unlikely(max < ep_maxpacket(ep));
+	}
+
+	DEBUG_IN_EP("%s: wrote %s %d bytes%s%s req %p %d/%d\n",
+			__FUNCTION__,
+      			ep->ep.name, count,
+     	 		is_last ? "/L" : "", is_short ? "/S" : "",
+      			req, req->req.actual, req->req.length);
+
+	/* requests complete when all IN data is in the FIFO */
+	if (is_last) {
+		if(!ep_index(ep)){
+			printk("%s: --> Error EP0 must not come here!\n",
+				__FUNCTION__);
+			BUG();
+		}
+		writel(gintmsk&(~INT_NP_TX_FIFO_EMPTY), S3C_UDC_OTG_GINTMSK);
+		done(ep, req, 0);
+		return 1;
+	}
+
+	// Unmask USB OTG 2.0 interrupt source : INT_NP_TX_FIFO_EMPTY
+	writel(gintmsk | INT_NP_TX_FIFO_EMPTY, S3C_UDC_OTG_GINTMSK);
+	return 0;
+}
+
+/* ********************************************************************************************* */
+/* Bulk OUT (recv)
+ */
+
+static void s3c_out_epn(struct s3c_udc *dev, u32 ep_idx)
+{
+	struct s3c_ep *ep = &dev->ep[ep_idx];
+	struct s3c_request *req;
+
+	if (unlikely(!(ep->desc))) {
+		/* Throw packet away.. */
+		printk("%s: No descriptor?!?\n", __FUNCTION__);
+		return;
+	}
+
+	if (list_empty(&ep->queue))
+		req = 0;
+	else
+		req = list_entry(ep->queue.next,
+				struct s3c_request, queue);
+
+	if (unlikely(!req)) {
+		DEBUG_OUT_EP("%s: NULL REQ on OUT EP-%d\n", __FUNCTION__, ep_idx);
+		return;
+
+	} else {
+		read_fifo(ep, req);
+	}
+
+}
+
+/**
+ * s3c_in_epn - handle IN interrupt
+ */
+static void s3c_in_epn(struct s3c_udc *dev, u32 ep_idx)
+{
+	struct s3c_ep *ep = &dev->ep[ep_idx];
+	struct s3c_request *req;
+
+	if (list_empty(&ep->queue))
+		req = 0;
+	else
+		req = list_entry(ep->queue.next, struct s3c_request, queue);
+
+	if (unlikely(!req)) {
+		DEBUG_IN_EP("%s: NULL REQ on IN EP-%d\n", __FUNCTION__, ep_idx);
+		return;
+	}
+	else {
+		write_fifo(ep, req);
+	}
+
+}
+
+/*
+ *	elfin usb client interrupt handler.
+ */
+static irqreturn_t s3c_udc_irq(int irq, void *_dev)
+{
+	struct s3c_udc *dev = _dev;
+	u32 intr_status;
+	u32 usb_status, ep_ctrl, gintmsk;
+
+	spin_lock(&dev->lock);
+
+	intr_status = readl(S3C_UDC_OTG_GINTSTS);
+	gintmsk = readl(S3C_UDC_OTG_GINTMSK);
+
+	DEBUG_ISR("\n**** %s : GINTSTS=0x%x(on state %s), GINTMSK : 0x%x\n",
+			__FUNCTION__, intr_status, state_names[dev->ep0state], gintmsk);
+
+	if (!intr_status) {
+		spin_unlock(&dev->lock);
+		return IRQ_HANDLED;
+	}
+
+	if (intr_status & INT_ENUMDONE) {
+		DEBUG_SETUP("####################################\n");
+		DEBUG_SETUP("    %s: Speed Detection interrupt\n",
+				__FUNCTION__);
+		writel(INT_ENUMDONE, S3C_UDC_OTG_GINTSTS);
+
+		usb_status = (readl(S3C_UDC_OTG_DSTS) & 0x6);
+
+		if (usb_status & (USB_FULL_30_60MHZ | USB_FULL_48MHZ)) {
+			DEBUG_SETUP("    %s: Full Speed Detection\n",__FUNCTION__);
+			set_max_pktsize(dev, USB_SPEED_FULL);
+
+		} else {
+			DEBUG_SETUP("    %s: High Speed Detection : 0x%x\n", __FUNCTION__, usb_status);
+			set_max_pktsize(dev, USB_SPEED_HIGH);
+		}
+	}
+
+	if (intr_status & INT_EARLY_SUSPEND) {
+		DEBUG_SETUP("####################################\n");
+		DEBUG_SETUP("    %s:Early suspend interrupt\n", __FUNCTION__);
+		writel(INT_EARLY_SUSPEND, S3C_UDC_OTG_GINTSTS);
+	}
+
+	if (intr_status & INT_SUSPEND) {
+		usb_status = readl(S3C_UDC_OTG_DSTS);
+		DEBUG_SETUP("####################################\n");
+		DEBUG_SETUP("    %s:Suspend interrupt :(DSTS):0x%x\n", __FUNCTION__, usb_status);
+		writel(INT_SUSPEND, S3C_UDC_OTG_GINTSTS);
+
+		if (dev->gadget.speed != USB_SPEED_UNKNOWN
+		    && dev->driver
+		    && dev->driver->suspend) {
+
+			dev->driver->suspend(&dev->gadget);
+		}
+	}
+
+	if (intr_status & INT_RESUME) {
+		DEBUG_SETUP("####################################\n");
+		DEBUG_SETUP("    %s: Resume interrupt\n", __FUNCTION__);
+		writel(INT_RESUME, S3C_UDC_OTG_GINTSTS);
+
+		if (dev->gadget.speed != USB_SPEED_UNKNOWN
+		    && dev->driver
+		    && dev->driver->resume) {
+
+			dev->driver->resume(&dev->gadget);
+		}
+	}
+
+	if (intr_status & INT_RESET) {
+		usb_status = readl(S3C_UDC_OTG_GOTGCTL);
+		DEBUG_SETUP("####################################\n");
+		DEBUG_SETUP("    %s: Reset interrupt - (GOTGCTL):0x%x\n", __FUNCTION__, usb_status);
+		writel(INT_RESET, S3C_UDC_OTG_GINTSTS);
+
+		if((usb_status & 0xc0000) == (0x3 << 18)) {
+			if(reset_available) {
+				DEBUG_SETUP("     ===> OTG core got reset (%d)!! \n", reset_available);
+				reconfig_usbd();
+				dev->ep0state = WAIT_FOR_SETUP;
+				reset_available = 0;
+			}
+		} else {
+			reset_available = 1;
+			DEBUG_SETUP("      RESET handling skipped : reset_available : %d\n", reset_available);
+		}
+	}
+
+	if (intr_status & INT_RX_FIFO_NOT_EMPTY) {
+		u32 grx_status, packet_status, ep_num, fifoCntByte = 0;
+
+		// Mask USB OTG 2.0 interrupt source : INT_RX_FIFO_NOT_EMPTY
+		gintmsk &= ~INT_RX_FIFO_NOT_EMPTY;
+		writel(gintmsk, S3C_UDC_OTG_GINTMSK);
+
+		grx_status = readl(S3C_UDC_OTG_GRXSTSR);
+		DEBUG_ISR("    INT_RX_FIFO_NOT_EMPTY(GRXSTSR):0x%x, GINTMSK:0x%x\n", grx_status, gintmsk);
+
+		packet_status = grx_status & 0x1E0000;
+		fifoCntByte = (grx_status & 0x7ff0)>>4;
+		ep_num = grx_status & EP_MASK;
+
+		if (fifoCntByte) {
+
+			if (packet_status == SETUP_PKT_RECEIVED)  {
+				DEBUG_EP0("      => A SETUP data packet received : %d bytes\n", fifoCntByte);
+				s3c_handle_ep0(dev);
+
+				// Unmask USB OTG 2.0 interrupt source : INT_RX_FIFO_NOT_EMPTY
+				gintmsk |= INT_RX_FIFO_NOT_EMPTY;
+
+			} else if (packet_status == OUT_PKT_RECEIVED) {
+
+				if(ep_num == EP1_OUT) {
+					ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL1);
+					DEBUG_ISR("      => A Bulk OUT data packet received : %d bytes, (DOEPCTL1):0x%x\n",
+						fifoCntByte, ep_ctrl);
+					s3c_out_epn(dev, 1);
+					gintmsk = readl(S3C_UDC_OTG_GINTMSK);
+					writel(ep_ctrl | DEPCTL_CNAK, S3C_UDC_OTG_DOEPCTL1);
+				} else if (ep_num == EP0_CON) {
+					ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL0);
+					DEBUG_EP0("      => A CONTROL OUT data packet received : %d bytes, (DOEPCTL0):0x%x\n",
+						fifoCntByte, ep_ctrl);
+					dev->ep0state = DATA_STATE_RECV;
+					s3c_ep0_read(dev);
+					gintmsk |= INT_RX_FIFO_NOT_EMPTY;
+				} else {
+					DEBUG_ISR("      => Unused EP: %d bytes, (GRXSTSR):0x%x\n", fifoCntByte, grx_status);
+				}
+			} else {
+				grx_status = readl(S3C_UDC_OTG_GRXSTSP);
+
+				// Unmask USB OTG 2.0 interrupt source : INT_RX_FIFO_NOT_EMPTY
+				gintmsk |= INT_RX_FIFO_NOT_EMPTY;
+
+				DEBUG_ISR("      => A reserved packet received : %d bytes\n", fifoCntByte);
+			}
+		} else {
+			if (dev->ep0state == DATA_STATE_XMIT) {
+				ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL0);
+				DEBUG_EP0("      => Write ep0 continue... (DOEPCTL0):0x%x\n", ep_ctrl);
+				s3c_ep0_write(dev);
+			}
+
+			if (packet_status == SETUP_TRANSACTION_COMPLETED) {
+				ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL0);
+				DEBUG_EP0("      => A SETUP transaction completed (DOEPCTL0):0x%x\n", ep_ctrl);
+				writel(ep_ctrl | DEPCTL_CNAK, S3C_UDC_OTG_DOEPCTL0);
+
+			} else if (packet_status == OUT_TRANSFER_COMPLELTED) {
+				if (ep_num == EP1_OUT) {
+					ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL1);
+					DEBUG_ISR("      => An OUT transaction completed (DOEPCTL1):0x%x\n", ep_ctrl);
+					writel(ep_ctrl | DEPCTL_CNAK, S3C_UDC_OTG_DOEPCTL1);
+				} else if (ep_num == EP0_CON) {
+					ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL0);
+					DEBUG_ISR("      => An OUT transaction completed (DOEPCTL0):0x%x\n", ep_ctrl);
+					writel(ep_ctrl | DEPCTL_CNAK, S3C_UDC_OTG_DOEPCTL0);
+				} else {
+					DEBUG_ISR("      => Unused EP: %d bytes, (GRXSTSR):0x%x\n", fifoCntByte, grx_status);
+				}
+			} else if (packet_status == OUT_PKT_RECEIVED) {
+				DEBUG_ISR("      => A  OUT PACKET RECEIVED (NO FIFO CNT BYTE)...(GRXSTSR):0x%x\n", grx_status);
+			} else {
+				DEBUG_ISR("      => A RESERVED PACKET RECEIVED (NO FIFO CNT BYTE)...(GRXSTSR):0x%x\n", grx_status);
+			}
+
+			grx_status = readl(S3C_UDC_OTG_GRXSTSP);
+
+			// Unmask USB OTG 2.0 interrupt source : INT_RX_FIFO_NOT_EMPTY
+			gintmsk |= INT_RX_FIFO_NOT_EMPTY;
+
+		}
+
+		// Un/Mask USB OTG 2.0 interrupt sources
+		writel(gintmsk, S3C_UDC_OTG_GINTMSK);
+
+		spin_unlock(&dev->lock);
+		return IRQ_HANDLED;
+	}
+
+
+	if (intr_status & INT_NP_TX_FIFO_EMPTY) {
+		DEBUG_ISR("    INT_NP_TX_FIFO_EMPTY (GNPTXSTS):0x%x, (GINTMSK):0x%x, ep_num=%d\n",
+				readl(S3C_UDC_OTG_GNPTXSTS),
+				readl(S3C_UDC_OTG_GINTMSK),
+				tx_ep_num);
+
+		s3c_in_epn(dev, tx_ep_num);
+	}
+
+	spin_unlock(&dev->lock);
+
+	return IRQ_HANDLED;
+}
+
+/** Queue one request
+ *  Kickstart transfer if needed
+ */
+static int s3c_queue(struct usb_ep *_ep, struct usb_request *_req,
+			 gfp_t gfp_flags)
+{
+	struct s3c_request *req;
+	struct s3c_ep *ep;
+	struct s3c_udc *dev;
+	unsigned long flags;
+
+	req = container_of(_req, struct s3c_request, req);
+	if (unlikely(!_req || !_req->complete || !_req->buf
+			|| !list_empty(&req->queue)))
+	{
+		DEBUG("%s: bad params\n", __FUNCTION__);
+		return -EINVAL;
+	}
+
+	ep = container_of(_ep, struct s3c_ep, ep);
+	if (unlikely(!_ep || (!ep->desc && ep->ep.name != ep0name))) {
+		DEBUG("%s: bad ep\n", __FUNCTION__);
+		return -EINVAL;
+	}
+
+	dev = ep->dev;
+	if (unlikely(!dev->driver || dev->gadget.speed == USB_SPEED_UNKNOWN)) {
+		DEBUG("%s: bogus device state %p\n", __FUNCTION__, dev->driver);
+		return -ESHUTDOWN;
+	}
+
+	DEBUG("\n%s: %s queue req %p, len %d buf %p\n",
+		__FUNCTION__, _ep->name, _req, _req->length, _req->buf);
+
+	spin_lock_irqsave(&dev->lock, flags);
+
+	_req->status = -EINPROGRESS;
+	_req->actual = 0;
+
+	/* kickstart this i/o queue? */
+	DEBUG("%s: Add to ep=%d, Q empty=%d, stopped=%d\n",
+		__FUNCTION__, ep_index(ep), list_empty(&ep->queue), ep->stopped);
+
+	if (list_empty(&ep->queue) && likely(!ep->stopped)) {
+		u32 csr;
+
+		if (unlikely(ep_index(ep) == 0)) {
+			/* EP0 */
+			list_add_tail(&req->queue, &ep->queue);
+			s3c_ep0_kick(dev, ep);
+			req = 0;
+
+		} else if (ep_is_in(ep)) {
+			csr = readl((u32) S3C_UDC_OTG_GINTSTS);
+			DEBUG_IN_EP("%s: ep_is_in, S3C_UDC_OTG_GINTSTS=0x%x\n",
+				__FUNCTION__, csr);
+
+			if((csr & INT_NP_TX_FIFO_EMPTY) &&
+			   (write_fifo(ep, req) == 1)) {
+				req = 0;
+			} else {
+				DEBUG("++++ IN-list_add_taill::req=%p, ep=%d\n",
+					req, ep_index(ep));
+				tx_ep_num = ep_index(ep);
+			}
+		} else {
+			csr = readl((u32) S3C_UDC_OTG_GINTSTS);
+			DEBUG_OUT_EP("%s: ep_is_out, S3C_UDC_OTG_GINTSTS=0x%x\n",
+				__FUNCTION__, csr);
+
+			if((csr & INT_RX_FIFO_NOT_EMPTY) &&
+			   (read_fifo(ep, req) == 1))
+				req = 0;
+			else
+				DEBUG("++++ OUT-list_add_taill::req=%p, DOEPCTL1:0x%x\n",
+					req, readl(S3C_UDC_OTG_DOEPCTL1));
+		}
+	}
+
+	/* pio or dma irq handler advances the queue. */
+	if (likely(req != 0))
+		list_add_tail(&req->queue, &ep->queue);
+
+	spin_unlock_irqrestore(&dev->lock, flags);
+
+	return 0;
+}
+
+/****************************************************************/
+/* End Point 0 related functions                                */
+/****************************************************************/
+
+/* return:  0 = still running, 1 = completed, negative = errno */
+static int write_fifo_ep0(struct s3c_ep *ep, struct s3c_request *req)
+{
+	u32 max;
+	unsigned count;
+	int is_last;
+
+	max = ep_maxpacket(ep);
+
+	DEBUG_EP0("%s: max = %d\n", __FUNCTION__, max);
+
+	count = write_packet(ep, req, max);
+
+	/* last packet is usually short (or a zlp) */
+	if (likely(count != max))
+		is_last = 1;
+	else {
+		if (likely(req->req.length != req->req.actual) || req->req.zero)
+			is_last = 0;
+		else
+			is_last = 1;
+	}
+
+	DEBUG_EP0("%s: wrote %s %d bytes%s %d left %p\n", __FUNCTION__,
+		  ep->ep.name, count,
+		  is_last ? "/L" : "", req->req.length - req->req.actual, req);
+
+	/* requests complete when all IN data is in the FIFO */
+	if (is_last) {
+		return 1;
+	}
+
+	return 0;
+}
+
+static __inline__ int s3c_fifo_read(struct s3c_ep *ep, u32 *cp, int max)
+{
+	int bytes;
+	int count;
+	u32 grx_status = readl(S3C_UDC_OTG_GRXSTSP);
+	bytes = (grx_status & 0x7ff0)>>4;
+
+	DEBUG_EP0("%s: GRXSTSP=0x%x, bytes=%d, ep_index=%d, fifo=0x%x\n",
+			__FUNCTION__, grx_status, bytes, ep_index(ep), ep->fifo);
+
+	// 32 bits interface
+	count = bytes / 4;
+
+	while (count--) {
+		*cp++ = (u32) readl(S3C_UDC_OTG_EP0_FIFO);
+	}
+
+	return bytes;
+}
+
+static int read_fifo_ep0(struct s3c_ep *ep, struct s3c_request *req)
+{
+	u32 csr;
+	u32 *buf;
+	unsigned bufferspace, count, is_short, bytes;
+	u32 fifo = ep->fifo;
+
+	DEBUG_EP0("%s\n", __FUNCTION__);
+
+	csr = readl(S3C_UDC_OTG_GRXSTSP);
+	bytes = (csr & 0x7ff0)>>4;
+
+	buf = req->req.buf + req->req.actual;
+	prefetchw(buf);
+	bufferspace = req->req.length - req->req.actual;
+
+	/* read all bytes from this packet */
+	if (likely((csr & EP_MASK) == EP0_CON)) {
+		count = bytes / 4;
+		req->req.actual += min(bytes, bufferspace);
+
+	} else	{		// zlp
+		count = 0;
+		bytes = 0;
+	}
+
+	is_short = (bytes < ep->ep.maxpacket);
+	DEBUG_EP0("%s: read %s %02x, %d bytes%s req %p %d/%d\n",
+		  __FUNCTION__,
+		  ep->ep.name, csr, bytes,
+		  is_short ? "/S" : "", req, req->req.actual, req->req.length);
+
+	while (likely(count-- != 0)) {
+		u32 byte = (u32) readl(fifo);
+
+		if (unlikely(bufferspace == 0)) {
+			/* this happens when the driver's buffer
+			 * is smaller than what the host sent.
+			 * discard the extra data.
+			 */
+			if (req->req.status != -EOVERFLOW)
+				DEBUG_EP0("%s overflow %d\n", ep->ep.name,
+					  count);
+			req->req.status = -EOVERFLOW;
+		} else {
+			*buf++ = byte;
+			bufferspace = bufferspace - 4;
+		}
+	}
+
+	/* completion */
+	if (is_short || req->req.actual == req->req.length) {
+		return 1;
+	}
+
+	return 0;
+}
+
+/**
+ * udc_set_address - set the USB address for this device
+ * @address:
+ *
+ * Called from control endpoint function
+ * after it decodes a set address setup packet.
+ */
+static void udc_set_address(struct s3c_udc *dev, unsigned char address)
+{
+	u32 ctrl = readl(S3C_UDC_OTG_DCFG);
+	writel(address << 4 | ctrl, S3C_UDC_OTG_DCFG);
+
+	ctrl = readl(S3C_UDC_OTG_DIEPCTL0);
+	writel(DEPCTL_EPENA|DEPCTL_CNAK|ctrl, S3C_UDC_OTG_DIEPCTL0); /* EP0: Control IN */
+
+	DEBUG_EP0("%s: USB OTG 2.0 Device address=%d, DCFG=0x%x\n",
+		__FUNCTION__, address, readl(S3C_UDC_OTG_DCFG));
+
+	dev->usb_address = address;
+}
+
+
+
+static int first_time = 1;
+
+static void s3c_ep0_read(struct s3c_udc *dev)
+{
+	struct s3c_request *req;
+	struct s3c_ep *ep = &dev->ep[0];
+	int ret;
+
+	if (!list_empty(&ep->queue))
+		req = list_entry(ep->queue.next, struct s3c_request, queue);
+	else {
+		printk("%s: ---> BUG\n", __FUNCTION__);
+		BUG();	//logic ensures		-jassi
+		return;
+	}
+
+	DEBUG_EP0("%s: req.length = 0x%x, req.actual = 0x%x\n",
+		__FUNCTION__, req->req.length, req->req.actual);
+
+	if(req->req.length == 0) {
+		dev->ep0state = WAIT_FOR_SETUP;
+		first_time = 1;
+		done(ep, req, 0);
+		return;
+	}
+
+	if(!req->req.actual && first_time){	//for SetUp packet
+		first_time = 0;
+		return;
+	}
+
+	ret = read_fifo_ep0(ep, req);
+	if (ret) {
+		dev->ep0state = WAIT_FOR_SETUP;
+		first_time = 1;
+		done(ep, req, 0);
+		return;
+	}
+
+}
+
+/*
+ * DATA_STATE_XMIT
+ */
+static int s3c_ep0_write(struct s3c_udc *dev)
+{
+	struct s3c_request *req;
+	struct s3c_ep *ep = &dev->ep[0];
+	int ret, need_zlp = 0;
+
+	DEBUG_EP0("%s: ep0 write\n", __FUNCTION__);
+
+	if (list_empty(&ep->queue))
+		req = 0;
+	else
+		req = list_entry(ep->queue.next, struct s3c_request, queue);
+
+	if (!req) {
+		DEBUG_EP0("%s: NULL REQ\n", __FUNCTION__);
+		return 0;
+	}
+
+	DEBUG_EP0("%s: req.length = 0x%x, req.actual = 0x%x\n",
+		__FUNCTION__, req->req.length, req->req.actual);
+
+	if (req->req.length == 0) {
+		dev->ep0state = WAIT_FOR_SETUP;
+	   	done(ep, req, 0);
+		return 1;
+	}
+
+	if (req->req.length - req->req.actual == ep0_fifo_size) {
+		/* Next write will end with the packet size, */
+		/* so we need Zero-length-packet */
+		need_zlp = 1;
+	}
+
+	ret = write_fifo_ep0(ep, req);
+
+	if ((ret == 1) && !need_zlp) {
+		/* Last packet */
+		DEBUG_EP0("%s: finished, waiting for status\n", __FUNCTION__);
+		dev->ep0state = WAIT_FOR_SETUP;
+	} else {
+		DEBUG_EP0("%s: not finished\n", __FUNCTION__);
+	}
+
+	if (need_zlp) {
+		DEBUG_EP0("%s: Need ZLP!\n", __FUNCTION__);
+		dev->ep0state = DATA_STATE_NEED_ZLP;
+	}
+
+	if(ret)
+	   done(ep, req, 0);
+
+	return 1;
+}
+
+static int s3c_udc_set_halt(struct usb_ep *_ep, int value)
+{
+	struct s3c_ep	*ep;
+	u32 ep_num;
+	ep = container_of(_ep, struct s3c_ep, ep);
+	ep_num =ep_index(ep);
+	
+	DEBUG("%s: ep_num = %d, value = %d\n", __FUNCTION__, ep_num, value);
+	/* TODO */
+	return 0;
+}
+
+void s3c_udc_ep_activate(struct s3c_ep *ep)
+{
+	/* TODO */
+}
+
+/*
+ * WAIT_FOR_SETUP (OUT_PKT_RDY)
+ */
+static void s3c_ep0_setup(struct s3c_udc *dev)
+{
+	struct s3c_ep *ep = &dev->ep[0];
+	int i, bytes, is_in;
+	u32 ep_ctrl;
+
+	/* Nuke all previous transfers */
+	nuke(ep, -EPROTO);
+
+	/* read control req from fifo (8 bytes) */
+	bytes = s3c_fifo_read(ep, (u32 *)&usb_ctrl, 8);
+
+	DEBUG_SETUP("Read CTRL REQ %d bytes\n", bytes);
+	DEBUG_SETUP("  CTRL.bRequestType = 0x%x (is_in %d)\n", usb_ctrl.bRequestType,
+		    usb_ctrl.bRequestType & USB_DIR_IN);
+	DEBUG_SETUP("  CTRL.bRequest = 0x%x\n", usb_ctrl.bRequest);
+	DEBUG_SETUP("  CTRL.wLength = 0x%x\n", usb_ctrl.wLength);
+	DEBUG_SETUP("  CTRL.wValue = 0x%x (%d)\n", usb_ctrl.wValue, usb_ctrl.wValue >> 8);
+	DEBUG_SETUP("  CTRL.wIndex = 0x%x\n", usb_ctrl.wIndex);
+
+	/* Set direction of EP0 */
+	if (likely(usb_ctrl.bRequestType & USB_DIR_IN)) {
+		ep->bEndpointAddress |= USB_DIR_IN;
+		is_in = 1;
+	} else {
+		ep->bEndpointAddress &= ~USB_DIR_IN;
+		is_in = 0;
+	}
+
+	dev->req_pending = 1;
+
+	/* Handle some SETUP packets ourselves */
+	switch (usb_ctrl.bRequest) {
+		case USB_REQ_SET_ADDRESS:
+			if (usb_ctrl.bRequestType
+				!= (USB_TYPE_STANDARD | USB_RECIP_DEVICE))
+				break;
+
+			DEBUG_SETUP("%s: *** USB_REQ_SET_ADDRESS (%d)\n",
+					__FUNCTION__, usb_ctrl.wValue);
+			udc_set_address(dev, usb_ctrl.wValue);
+			return;
+
+		case USB_REQ_SET_CONFIGURATION :
+			DEBUG_SETUP("============================================\n");
+			DEBUG_SETUP("%s: USB_REQ_SET_CONFIGURATION (%d)\n",
+					__FUNCTION__, usb_ctrl.wValue);
+config_change:
+			// Just to send ZLP(Zero length Packet) to HOST in response to SET CONFIGURATION
+			ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL0);
+			writel(DEPCTL_EPENA|DEPCTL_CNAK|ep_ctrl, S3C_UDC_OTG_DIEPCTL0); /* EP0: Control IN */
+
+			// For Startng EP1 on this new configuration
+			ep_ctrl = readl(S3C_UDC_OTG_DOEPCTL1);
+			writel(DEPCTL_EPDIS|DEPCTL_CNAK|DEPCTL_BULK_TYPE|DEPCTL_USBACTEP|ep_ctrl, S3C_UDC_OTG_DOEPCTL1); /* EP1: Bulk OUT */
+
+			// For starting EP2 on this new configuration
+			ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL2);
+			writel(DEPCTL_BULK_TYPE|DEPCTL_USBACTEP|ep_ctrl, S3C_UDC_OTG_DIEPCTL2); /* EP2: Bulk IN */
+
+			// For starting EP3 on this new configuration
+			ep_ctrl = readl(S3C_UDC_OTG_DIEPCTL3);
+			writel(DEPCTL_BULK_TYPE|DEPCTL_USBACTEP|ep_ctrl, S3C_UDC_OTG_DIEPCTL3); /* EP3: INTR IN */
+
+			DEBUG_SETUP("%s:(DOEPCTL1):0x%x, (DIEPCTL2):0x%x, (DIEPCTL3):0x%x\n",
+				__FUNCTION__,
+				readl(S3C_UDC_OTG_DOEPCTL1),
+				readl(S3C_UDC_OTG_DIEPCTL2),
+				readl(S3C_UDC_OTG_DIEPCTL3));
+
+			DEBUG_SETUP("============================================\n");
+
+			reset_available = 1;
+			dev->req_config = 1;
+			break;
+
+		case USB_REQ_GET_DESCRIPTOR:
+			DEBUG_SETUP("%s: *** USB_REQ_GET_DESCRIPTOR  \n",__FUNCTION__);
+			break;
+
+		case USB_REQ_SET_INTERFACE:
+			DEBUG_SETUP("%s: *** USB_REQ_SET_INTERFACE (%d)\n",
+					__FUNCTION__, usb_ctrl.wValue);
+
+			set_interface_first = 1;
+			goto config_change;
+			break;
+
+		case USB_REQ_GET_CONFIGURATION:
+			DEBUG_SETUP("%s: *** USB_REQ_GET_CONFIGURATION  \n",__FUNCTION__);
+			break;
+
+		case USB_REQ_GET_STATUS:
+			DEBUG_SETUP("%s: *** USB_REQ_GET_STATUS  \n",__FUNCTION__);
+			break;
+
+		default:
+			DEBUG_SETUP("%s: *** Default of usb_ctrl.bRequest=0x%x happened.\n",
+					__FUNCTION__, usb_ctrl.bRequest);
+			break;
+	}
+
+	if (likely(dev->driver)) {
+		/* device-2-host (IN) or no data setup command,
+		 * process immediately */
+		spin_unlock(&dev->lock);
+		DEBUG_SETUP("%s: ctrlrequest will be passed to fsg_setup()\n", __FUNCTION__);
+		i = dev->driver->setup(&dev->gadget, (struct usb_ctrlrequest *)&usb_ctrl);
+		spin_lock(&dev->lock);
+
+		if (i < 0) {
+			/* setup processing failed, force stall */
+			DEBUG_SETUP("%s: gadget setup FAILED (stalling), setup returned %d\n",
+				__FUNCTION__, i);
+			/* ep->stopped = 1; */
+			dev->ep0state = WAIT_FOR_SETUP;
+		}
+	}
+}
+
+/*
+ * handle ep0 interrupt
+ */
+static void s3c_handle_ep0(struct s3c_udc *dev)
+{
+	if (dev->ep0state == WAIT_FOR_SETUP) {
+		DEBUG_EP0("%s: WAIT_FOR_SETUP\n", __FUNCTION__);
+		s3c_ep0_setup(dev);
+
+	} else {
+		DEBUG_EP0("%s: strange state!!(state = %s)\n",
+			__FUNCTION__, state_names[dev->ep0state]);
+	}
+}
+
+static void s3c_ep0_kick(struct s3c_udc *dev, struct s3c_ep *ep)
+{
+	DEBUG_EP0("%s: ep_is_in = %d\n", __FUNCTION__, ep_is_in(ep));
+	if (ep_is_in(ep)) {
+		dev->ep0state = DATA_STATE_XMIT;
+		s3c_ep0_write(dev);
+	} else {
+		dev->ep0state = DATA_STATE_RECV;
+		s3c_ep0_read(dev);
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/gadget/u_ether.c linux-2.6.28.6/drivers/usb/gadget/u_ether.c
--- linux-2.6.28/drivers/usb/gadget/u_ether.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/gadget/u_ether.c	2009-04-30 09:36:39.000000000 +0200
@@ -241,7 +241,12 @@
 	size += out->maxpacket - 1;
 	size -= size % out->maxpacket;
 
+#ifdef CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE
+	/* for double word align */
+	skb = alloc_skb(size + NET_IP_ALIGN + 6, gfp_flags);
+#else
 	skb = alloc_skb(size + NET_IP_ALIGN, gfp_flags);
+#endif
 	if (skb == NULL) {
 		DBG(dev, "no rx skb\n");
 		goto enomem;
@@ -251,7 +256,12 @@
 	 * but on at least one, checksumming fails otherwise.  Note:
 	 * RNDIS headers involve variable numbers of LE32 values.
 	 */
+#ifdef CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE
+	/* for double word align */
+	skb_reserve(skb, NET_IP_ALIGN + 6);
+#else
 	skb_reserve(skb, NET_IP_ALIGN);
+#endif
 
 	req->buf = skb->data;
 	req->length = size;
@@ -461,6 +471,11 @@
 	spin_unlock(&dev->req_lock);
 	dev_kfree_skb_any(skb);
 
+#ifdef CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE
+	if(req->buf != skb->data)
+		kfree(req->buf);
+#endif
+
 	atomic_dec(&dev->tx_qlen);
 	if (netif_carrier_ok(dev->net))
 		netif_wake_queue(dev->net);
@@ -552,7 +567,21 @@
 		skb = skb_new;
 		length = skb->len;
 	}
+
+#ifdef CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE
+	/* for double word align */
+	req->buf = kmalloc(skb->len, GFP_ATOMIC | GFP_DMA);
+
+	if (!req->buf) {
+		req->buf = skb->data;
+		printk("%s: fail to kmalloc [req->buf = skb->data]\n", __FUNCTION__);
+	}
+	else
+		memcpy((void *)req->buf, (void *)skb->data, skb->len);
+#else
 	req->buf = skb->data;
+#endif
+
 	req->context = skb;
 	req->complete = tx_complete;
 
@@ -586,6 +615,11 @@
 drop:
 		dev->net->stats.tx_dropped++;
 		dev_kfree_skb_any(skb);
+
+#ifdef CONFIG_USB_GADGET_S3C_OTGD_DMA_MODE
+		if(req->buf != skb->data)
+			kfree(req->buf);
+#endif
 		spin_lock_irqsave(&dev->req_lock, flags);
 		if (list_empty(&dev->tx_reqs))
 			netif_start_queue(net);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/Kconfig linux-2.6.28.6/drivers/usb/host/Kconfig
--- linux-2.6.28/drivers/usb/host/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -321,3 +321,18 @@
 
 	  To compile this driver a module, choose M here: the module
 	  will be called "hwa-hc".
+
+config USB_S3C_OTG_HOST
+	tristate "S3C USB OTG Host support"
+	depends on USB && (PLAT_S3C64XX || PLAT_S5PC1XX)
+	help
+	  Samsung's S3C64XX processors include high speed USB OTG2.0
+	  controller. It has 15 configurable endpoints, as well as
+	  endpoint zero (for control transfers).
+
+	  This driver support only OTG Host role. If you want to use
+	  OTG Device role, select USB Gadget support and S3C OTG Device.
+
+          Say "y" to link the driver statically, or "m" to build a
+          dynamically linked module called "s3c_otg_hcd" and force all
+          drivers to also be dynamically linked.
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/Makefile linux-2.6.28.6/drivers/usb/host/Makefile
--- linux-2.6.28/drivers/usb/host/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/Makefile	2009-04-30 09:36:39.000000000 +0200
@@ -22,3 +22,4 @@
 obj-$(CONFIG_USB_R8A66597_HCD)	+= r8a66597-hcd.o
 obj-$(CONFIG_USB_ISP1760_HCD)	+= isp1760.o
 obj-$(CONFIG_USB_HWA_HCD)	+= hwa-hc.o
+obj-$(CONFIG_USB_S3C_OTG_HOST)  += s3c-otg/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/ohci-hcd.c linux-2.6.28.6/drivers/usb/host/ohci-hcd.c
--- linux-2.6.28/drivers/usb/host/ohci-hcd.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/ohci-hcd.c	2009-04-30 09:36:39.000000000 +0200
@@ -997,7 +997,7 @@
 #define SA1111_DRIVER		ohci_hcd_sa1111_driver
 #endif
 
-#ifdef CONFIG_ARCH_S3C2410
+#if defined(CONFIG_ARCH_S3C2410) || defined(CONFIG_ARCH_S3C64XX) || defined(CONFIG_ARCH_S5PC1XX)
 #include "ohci-s3c2410.c"
 #define PLATFORM_DRIVER		ohci_hcd_s3c2410_driver
 #endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/ohci-s3c2410.c linux-2.6.28.6/drivers/usb/host/ohci-s3c2410.c
--- linux-2.6.28/drivers/usb/host/ohci-s3c2410.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/ohci-s3c2410.c	2009-04-30 09:36:39.000000000 +0200
@@ -27,10 +27,15 @@
 
 #define valid_port(idx) ((idx) == 1 || (idx) == 2)
 
+extern void usb_host_clk_en(void);
+
 /* clock device associated with the hcd */
 
 static struct clk *clk;
+
+#if defined(CONFIG_ARCH_2410)
 static struct clk *usb_clk;
+#endif
 
 /* forward definitions */
 
@@ -49,8 +54,10 @@
 
 	dev_dbg(&dev->dev, "s3c2410_start_hc:\n");
 
+#if defined(CONFIG_ARCH_2410)
 	clk_enable(usb_clk);
 	mdelay(2);			/* let the bus clock stabilise */
+#endif
 
 	clk_enable(clk);
 
@@ -80,7 +87,9 @@
 	}
 
 	clk_disable(clk);
+#if defined(CONFIG_ARCH_2410)
 	clk_disable(usb_clk);
+#endif
 }
 
 /* ohci_s3c2410_hub_status_data
@@ -347,6 +356,10 @@
 	struct usb_hcd *hcd = NULL;
 	int retval;
 
+#if !defined(CONFIG_ARCH_2410)
+        usb_host_clk_en();
+#endif
+
 	s3c2410_usb_set_power(dev->dev.platform_data, 1, 1);
 	s3c2410_usb_set_power(dev->dev.platform_data, 2, 1);
 
@@ -370,12 +383,14 @@
 		goto err_mem;
 	}
 
+#if defined(CONFIG_ARCH_2410)
 	usb_clk = clk_get(&dev->dev, "usb-bus-host");
 	if (IS_ERR(usb_clk)) {
 		dev_err(&dev->dev, "cannot get usb-host clock\n");
 		retval = -ENOENT;
 		goto err_clk;
 	}
+#endif
 
 	s3c2410_start_hc(dev, hcd);
 
@@ -397,10 +412,13 @@
  err_ioremap:
 	s3c2410_stop_hc(dev);
 	iounmap(hcd->regs);
+
+#if defined(CONFIG_ARCH_2410)
 	clk_put(usb_clk);
 
  err_clk:
 	clk_put(clk);
+#endif
 
  err_mem:
 	release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/Makefile linux-2.6.28.6/drivers/usb/host/s3c-otg/Makefile
--- linux-2.6.28/drivers/usb/host/s3c-otg/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/Makefile	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,18 @@
+#
+# Makefile for USB OTG Host Controller Drivers
+#
+
+obj-$(CONFIG_USB_S3C_OTG_HOST) += s3c_otg_hcd.o
+
+s3c_otg_hcd-objs	+= s3c-otg-hcdi-driver.o s3c-otg-hcdi-hcd.o 
+s3c_otg_hcd-objs	+= s3c-otg-transfer-common.o s3c-otg-transfer-nonperiodic.o \
+				s3c-otg-transfer-periodic.o
+s3c_otg_hcd-objs	+= s3c-otg-scheduler-ischeduler.o s3c-otg-scheduler-scheduler.o \
+				s3c-otg-scheduler-readyq.o
+s3c_otg_hcd-objs	+= s3c-otg-oci.o
+s3c_otg_hcd-objs	+= s3c-otg-transferchecker-common.o \
+				s3c-otg-transferchecker-control.o \
+				s3c-otg-transferchecker-bulk.o \
+				s3c-otg-transferchecker-interrupt.o
+s3c_otg_hcd-objs	+= s3c-otg-isr.o
+s3c_otg_hcd-objs	+= s3c-otg-roothub.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-common-common.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-common-common.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-common-common.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-common-common.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,50 @@
+/****************************************************************************
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ * @file   s3c-otg-common-common.h
+ * @brief  it includes common header files for all modules \n
+ * @version 
+ *  ex)-# Jun 11,2008 v1.0 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *    : Creating the initial version of this code \n
+ * @see None
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+ 
+#ifndef _S3C_OTG_COMMON_COMMON_H_
+#define _S3C_OTG_COMMON_COMMON_H_
+ 
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+ 
+//#include "s3c-otg-common-typedef.h"
+#include "s3c-otg-common-errorcode.h"  
+#include <linux/errno.h>
+#include <linux/usb.h>
+
+//Define OS
+#define LINUX	1
+
+//Kernel Version
+#define KERNEL_2_6_21
+
+
+#ifdef __cplusplus 
+} 
+#endif 
+#endif /* _S3C_OTG_COMMON_COMMON_H_ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-common-const.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-common-const.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-common-const.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-common-const.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,167 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : s3c-otg-common-const.h
+ *  [Description] : The Header file defines constants to be used at sub-modules of S3C6400HCD.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/03
+ *  [Revision History] 	     
+ *      (1) 2008/06/03   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created s3c-otg-common-const.h file and defines some constants.
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef  _CONST_TYPE_DEF_H_   
+#define  _CONST_TYPE_DEF_H_   
+
+/*
+// ----------------------------------------------------------------------------
+// Include files : None.
+// ----------------------------------------------------------------------------
+*/
+
+#include "s3c-otg-common-common.h"
+
+//#include "s3c-otg-common-regdef.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+ * @def OTG_PORT_NUMBER
+ * 
+ * @brief write~ description
+ * 
+ * describe in detail
+ */
+#define	OTG_PORT_NUMBER	0
+
+
+
+//Defines Stages of Control Transfer
+#define		SETUP_STAGE		1
+#define		DATA_STAGE		2
+#define		STATUS_STAGE		3
+#define		COMPLETE_STAGE	4
+
+
+//Defines Direction of Endpoint
+#define		EP_IN					1
+#define		EP_OUT					0
+
+//Define speed of USB Device
+#define  		LOW_SPEED_OTG      			2
+#define  		FULL_SPEED_OTG       			1
+#define  		HIGH_SPEED_OTG      			0
+#define  		SUPER_SPEED_OTG    			3
+
+//Define multiple count of packet in periodic transfer.
+#define   	MULTI_COUNT_ZERO       		0
+#define   	MULTI_COUNT_ONE       		1
+#define   	MULTI_COUNT_TWO       		2
+
+//Define USB Transfer Types.
+#define		CONTROL_TRANSFER		0
+#define		ISOCH_TRANSFER		1
+#define		BULK_TRANSFER			2
+#define		INT_TRANSFER			3
+
+#define		BULK_TIMEOUT			300
+
+//Defines PID
+#define		DATA0					0
+#define		DATA1					2
+#define		DATA2					1
+#define		MDATA					3
+#define		SETUP					3
+
+//Defines USB Transfer Request Size on USB2.0
+#define USB_20_STAND_DEV_REQUEST_SIZE	8
+//Define Max Channel Number
+#define	MAX_CH_NUMBER			16
+//Define Channel Number
+#define	CH_0	0
+#define	CH_1	1
+#define	CH_2	2
+#define	CH_3	3
+#define	CH_4	4
+#define	CH_5	5
+#define	CH_6	6
+#define	CH_7	7
+#define	CH_8	8
+#define	CH_9	9
+#define	CH_10	10
+#define	CH_11	11
+#define	CH_12	12
+#define	CH_13	13
+#define	CH_14	14
+#define	CH_15	15
+#define CH_NONE	20
+
+
+// define the Constant for result of processing the USB Transfer.
+#define	RE_TRANSMIT		1
+#define	RE_SCHEDULE		2
+#define	DE_ALLOCATE		3
+#define	NO_ACTION			4
+
+//define	the threshold value to retransmit USB Transfer
+#define	RETRANSMIT_THRESHOLD		2
+
+//define the maximum size of data to be tranferred through channel.
+#define	MAX_CH_TRANSFER_SIZE		65536//65535
+
+//define Max Frame Number which Synopsys OTG suppports.
+#define	MAX_FRAME_NUMBER			0x3FFF
+// Channel Interrupt Status
+#define	CH_STATUS_DataTglErr		(0x1<<10)
+#define	CH_STATUS_FrmOvrun		(0x1<<9)
+#define	CH_STATUS_BblErr			(0x1<<8)
+#define	CH_STATUS_XactErr			(0x1<<7)
+#define	CH_STATUS_NYET			(0x1<<6)
+#define	CH_STATUS_ACK				(0x1<<5)
+#define	CH_STATUS_NAK				(0x1<<4)
+#define	CH_STATUS_STALL			(0x1<<3)
+#define	CH_STATUS_AHBErr			(0x1<<2)
+#define	CH_STATUS_ChHltd			(0x1<<1)
+#define	CH_STATUS_XferCompl		(0x1<<0)
+#define	CH_STATUS_ALL				0x7FF
+
+
+//Define USB Transfer Flag..
+//typedef	URB_SHORT_NOT_OK	USB_TRANS_FLAG_NOT_SHORT;
+//typedef	URB_ISO_ASAP		USB_TRANS_FLAG_ISO_ASYNCH;
+
+#define 	USB_TRANS_FLAG_NOT_SHORT	URB_SHORT_NOT_OK
+#define 	USB_TRANS_FLAG_ISO_ASYNCH	URB_ISO_ASAP
+
+
+#define HFNUM_MAX_FRNUM	0x3FFF
+#define SCHEDULE_SLOT	10
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-common-datastruct.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-common-datastruct.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-common-datastruct.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-common-datastruct.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,870 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : s3c-otg-common-datastruct.h
+ *  [Description] : The Header file defines Data Structures to be used at sub-modules of S3C6400HCD.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/03
+ *  [Revision History] 	     
+ *      (1) 2008/06/03   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and defines Data Structure to be managed by Transfer.
+ *      (2) 2008/08/18   by SeungSoo Yang ( ss1.yang@samsung.com )
+ *          - modifying ED structure 
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef  _DATA_STRUCT_DEF_H   
+#define  _DATA_STRUCT_DEF_H   
+
+/*
+// ----------------------------------------------------------------------------
+// Include files : None.
+// ----------------------------------------------------------------------------
+*/
+
+//#include "s3c-otg-common-typedef.h"
+#include "s3c-otg-hcdi-list.h"
+
+//#include "s3c-otg-common-regdef.h"
+//#include "s3c-otg-common-errorcode.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct
+{
+	u32 apll_lock;		// 0x00
+	u32 MPLL_LOCK;		// 0x04
+	u32 EPLL_LOCK;		// 0x08
+	u32 APLL_CON;		// 0x0c
+
+	u32 MPLL_CON;		// 0x10
+	u32 EPLL_CON0;		// 0x14
+	u32 EPLL_CON1;		// 0x18
+	u32 CLK_SRC;			// 0x1c
+
+	u32 CLK_DIV0;		// 0x20
+	u32 CLK_DIV1;		// 0x24
+	u32 CLK_DIV2;		// 0x28
+	u32 CLK_OUT;			// 0x2c
+
+	u32 HCLK_GATE;		// 0x30
+	u32 PCLK_GATE;		// 0x34
+	u32 SCLK_GATE;		// 0x38
+	u32 PAD0;			// 0x3c
+
+	u32 PAD1[48];			// 0x40~0xff
+
+	u32 AHB_CON0;		// 0x100
+	u32 AHB_CON1;		// 0x104
+	u32 AHB_CON2;		// 0x108
+	u32 PAD2;			// 0x10c
+
+	u32 SDMA_SEL;		// 0x110
+	u32 SW_RST;			// 0x114
+	u32 SYS_ID;			// 0x118
+	u32 PAD3;			// 0x11c
+
+	u32 MEM_SYS_CFG;	// 0x120
+	u32 QOS_OVERRIDE0;	// 0x124
+	u32 QOS_OVERRIDE1;	// 0x128
+	u32 MEM_CFG_STAT;	// 0x12c
+
+	u32 PAD4[436];		// 0x130~0x7ff
+
+	u32 PAD5;			// 0x800
+	u32 PWR_CFG;		// 0x804
+	u32 EINT_MASK;		// 0x808
+	u32 PAD6;			// 0x80c
+
+	u32 NORMAL_CFG;		// 0x810
+	u32 STOP_CFG;		// 0x814
+	u32 SLEEP_CFG;		// 0x818
+	u32 PAD7;			// 0x81c
+
+	u32 OSC_FREQ;		// 0x820
+	u32 OSC_STABLE;		// 0x824
+	u32 PWR_STABLE;		// 0x828
+	u32 FPC_STABLE;		// 0x82c
+
+	u32 MTC_STABLE;		// 0x830
+	u32 PAD8[3];			// 0x834~0x83f
+
+	u32 PAD9[48];			// 0x840~0x8ff
+
+	u32 OTHERS;			// 0x900
+	u32 RST_STAT;		// 0x904
+	u32 WAKEUP_STAT;	// 0x908
+	u32 BLK_PWR_STAT;	// 0x90c
+
+	u32 PAD10[60];		// 0x910~0x9ff
+
+	u32 INFORM0;			// 0xa00
+	u32 INFORM1;			// 0xa04
+	u32 INFORM2;			// 0xa08
+	u32 INFORM3;			// 0xa0c
+
+	u32 INFORM4;			// 0xa10
+	u32 INFORM5;			// 0xa14
+	u32 INFORM6;			// 0xa18
+	u32 INFORM7;			// 0xa1c
+} S3C6400_SYSCON_REG, *PS3C6400_SYSCON_REG;
+
+typedef union _hcintmsk_t
+{
+	// raw register data 
+	u32 d32;
+
+	// register bits 
+	struct 
+	{
+		unsigned xfercompl		: 1;
+		unsigned chhltd			: 1;
+		unsigned ahberr			: 1;
+		unsigned stall			: 1;
+		unsigned nak			: 1;
+		unsigned ack			: 1;
+		unsigned nyet			: 1;
+		unsigned xacterr			: 1;
+		unsigned bblerr			: 1;
+		unsigned frmovrun		: 1;
+		unsigned datatglerr		: 1;
+		unsigned reserved		: 21;
+	} b;
+} hcintmsk_t;
+
+typedef union _hcintn_t
+{
+	u32	d32;
+	struct
+	{
+		u32	xfercompl			:1;
+		u32	chhltd				:1;
+		u32	abherr				:1;
+		u32	stall				:1;
+		u32	nak				:1;
+		u32	ack				:1;
+		u32	nyet				:1;
+		u32	xacterr				:1;
+		u32	bblerr				:1;
+		u32	frmovrun			:1;
+		u32	datatglerr			:1;
+		u32	reserved			:21;
+	}b;
+}hcintn_t;
+
+
+typedef	union _pcgcctl_t
+{
+	/** raw register data */
+	u32 d32;
+	/** register bits */
+	struct
+	{
+		unsigned	stoppclk			:1;
+		unsigned	gatehclk			:1;
+		unsigned	pwrclmp			:1;
+		unsigned	rstpdwnmodule	:1;
+		unsigned	physuspended		:1;
+		unsigned	Reserved5_31		:27;
+	}b;
+}pcgcctl_t;
+
+
+typedef struct isoch_packet_desc
+{
+	u32				isoch_packiet_start_addr;// start address of buffer is buffer address + uiOffsert.
+	u32				buf_size;
+	u32    				transferred_szie;
+	u32   				isoch_status;
+}isoch_packet_desc_t;//, *isoch_packet_desc_t *,**isoch_packet_desc_t **;
+
+
+typedef struct  standard_dev_req_info
+{
+	bool            		is_data_stage;
+	u8          			conrol_transfer_stage;
+	u32        			vir_standard_dev_req_addr;
+	u32       	 		phy_standard_dev_req_addr;    
+}standard_dev_req_info_t;
+
+
+typedef struct control_data_tgl_t
+{
+	u8			setup_tgl;
+	u8			data_tgl;
+	u8			status_tgl;	
+}control_data_tgl_t;
+
+
+
+typedef struct ed_status
+{
+	u8			data_tgl;
+	control_data_tgl_t		control_data_tgl;
+	bool			is_ping_enable;
+	bool			is_in_transfer_ready_q;
+	bool			is_in_transferring;
+	u32			in_transferring_td;
+	bool			is_alloc_resource_for_ed;
+}ed_status_t;//, *ed_status_t *,**ed_status_t **;
+
+
+typedef struct ed_desc
+{ 
+	u8	device_addr;
+	u8	endpoint_num;
+	bool	is_ep_in;
+	u8	dev_speed;
+	u8	endpoint_type;
+	u16	max_packet_size;
+	u8	mc;
+	u8	interval;
+	u32         sched_frame;
+	u32         used_bus_time;
+	u8	hub_addr;
+	u8	hub_port;
+	bool        is_do_split;
+}ed_dest_t;//, *ed_dest_t *,**ed_dest_t **;
+
+
+//Defines the Data Structures of Transfer.
+typedef struct hc_reg
+{
+
+	hcintmsk_t	hc_int_msk;
+	hcintn_t		hc_int;
+	u32		dma_addr;
+
+}hc_reg_t;//, *hc_reg_t *, **hc_reg_t **;
+
+
+typedef struct stransfer
+{
+	u32		stransfer_id;
+	u32		parent_td;
+	ed_dest_t 	*ed_desc_p;
+	ed_status_t 	*ed_status_p;
+	u32		start_vir_buf_addr;
+	u32		start_phy_buf_addr;
+	u32		buf_size;
+	u32		packet_cnt;
+	u8		alloc_chnum;
+	hc_reg_t		hc_reg;
+}stransfer_t;//, *stransfer_t *,**stransfer_t **;
+
+
+typedef struct ed
+{
+	u32		ed_id;    
+	bool		is_halted;
+	bool		is_need_to_insert_scheduler;
+	ed_dest_t	ed_desc; 
+	ed_status_t	ed_status;
+	otg_list_head	ed_list_entry;
+	otg_list_head	td_list_entry;
+	otg_list_head	trans_ready_q_list_entry;
+	u32		num_td;
+	void		*ed_private;
+}ed_t;//, *ed_t *, **ed_t **;
+
+
+
+typedef struct td
+{
+	u32				td_id; 
+	ed_t				*parent_ed_p;
+	void				*call_back_func_p;
+	void				*call_back_func_param_p;
+	bool				is_transferring; 
+	bool				is_transfer_done;
+	u32				transferred_szie;
+	bool		                   	is_standard_dev_req;
+	standard_dev_req_info_t		standard_dev_req_info;
+	u32				vir_buf_addr;
+	u32				phy_buf_addr;
+	u32				buf_size;
+	u32				transfer_flag;
+	stransfer_t			cur_stransfer;
+	USB_ERROR_CODE		error_code;
+	u32				err_cnt;
+	otg_list_head			td_list_entry;
+	
+	//Isochronous Transfer Specific
+	u32				isoch_packet_num;
+	isoch_packet_desc_t		*isoch_packet_desc_p;
+	u32				isoch_packet_index;
+	u32				isoch_packet_position;
+	u32				sched_frame;
+	u32				interval;
+	u32				used_total_bus_time;
+
+	// the private data can be used by S3C6400Interface.
+	void				*td_private;
+}td_t;//, *td_t *,**td_t **;
+
+
+//Define Data Structures of Scheduler.
+typedef struct trans_ready_q
+{
+bool		is_periodic_transfer;
+otg_list_head	trans_ready_q_list_head;
+u32		trans_ready_entry_num;
+
+//In case of Periodic Transfer
+u32		total_perio_bus_bandwidth;
+u8		total_alloc_chnum;
+}trans_ready_q_t;//, *trans_ready_q_t *,**trans_ready_q_t **;
+
+
+//Define USB OTG Reg Data Structure by Kyuhyeok.
+
+#define MAX_COUNT 10000
+#define INT_ALL	0xffffffff
+
+typedef union _haint_t 
+{
+	u32	d32;
+	struct
+	{
+		u32	reserved1			:16;
+		u32	channel_intr_15		:1;
+		u32	channel_intr_14		:1;
+		u32	channel_intr_13		:1;
+		u32	channel_intr_12		:1;
+		u32	channel_intr_11		:1;
+		u32	channel_intr_10		:1;
+		u32	channel_intr_9		:1;
+		u32	channel_intr_8		:1;
+		u32	channel_intr_7		:1;
+		u32	channel_intr_6		:1;
+		u32	channel_intr_5		:1;
+		u32	channel_intr_4		:1;
+		u32	channel_intr_3		:1;
+		u32	channel_intr_2		:1;
+		u32	channel_intr_1		:1;
+		u32	channel_intr_0		:1;
+	}b;
+}haint_t;
+
+typedef union _gresetctl_t
+{
+	/** raw register data */
+	u32 d32;
+	/** register bits */
+	struct 
+	{
+		unsigned csftrst			: 1;
+		unsigned hsftrst			: 1;
+		unsigned hstfrm				: 1;
+		unsigned intknqflsh		: 1;
+		unsigned rxfflsh			: 1;
+		unsigned txfflsh			: 1;
+		unsigned txfnum				: 5;
+		unsigned reserved11_29		: 19;
+		unsigned dmareq				: 1;
+		unsigned ahbidle			: 1;				 
+	} b;
+} gresetctl_t;
+
+
+typedef union _gahbcfg_t
+{
+	/** raw register data */
+	u32 d32;
+	/** register bits */
+	struct
+	{
+		unsigned glblintrmsk		: 1;
+#define GAHBCFG_GLBINT_ENABLE	1
+		unsigned hburstlen			: 4;
+#define INT_DMA_MODE_SINGLE		00
+#define INT_DMA_MODE_INCR			01
+#define INT_DMA_MODE_INCR4		03
+#define INT_DMA_MODE_INCR8		05
+#define INT_DMA_MODE_INCR16		07
+		unsigned dmaenable			: 1;
+#define GAHBCFG_DMAENABLE	1
+		unsigned reserved			: 1;
+		unsigned nptxfemplvl		: 1;
+		unsigned ptxfemplvl		: 1;
+#define GAHBCFG_TXFEMPTYLVL_EMPTY 		1
+#define GAHBCFG_TXFEMPTYLVL_HALFEMPTY	0
+		unsigned reserved9_31		: 22;
+	} b;
+} gahbcfg_t;
+
+typedef union _gusbcfg_t
+{
+	/** raw register data */
+	u32 d32;
+	/** register bits */
+	struct
+	{
+		unsigned toutcal			: 3;
+		unsigned phyif				: 1;
+		unsigned ulpi_utmi_sel		: 1;
+		unsigned fsintf				: 1;
+		unsigned physel				: 1;
+		unsigned ddrsel				: 1;
+		unsigned srpcap				: 1;
+		unsigned hnpcap				: 1;
+		unsigned usbtrdtim			: 4;
+		unsigned nptxfrwnden		: 1;
+		unsigned phylpwrclksel		: 1;
+		unsigned reserved			: 13;
+		unsigned forcehstmode		: 1;
+		unsigned reserved2			: 2;
+	} b;
+} gusbcfg_t;
+
+
+typedef union _ghwcfg2_t
+{
+	/** raw register data */
+	u32 d32;
+	/** register bits */
+	struct {
+		/* GHWCFG2 */
+		unsigned op_mode					: 3;
+#define MODE_HNP_SRP_CAPABLE 		0
+#define MODE_SRP_ONLY_CAPABLE 		1
+#define MODE_NO_HNP_SRP_CAPABLE		2
+#define MODE_SRP_CAPABLE_DEVICE 		3
+#define MODE_NO_SRP_CAPABLE_DEVICE  4
+#define MODE_SRP_CAPABLE_HOST 		5
+#define MODE_NO_SRP_CAPABLE_HOST  	6
+
+		unsigned architecture				: 2;
+#define HWCFG2_ARCH_SLAVE_ONLY		0x00
+#define HWCFG2_ARCH_EXT_DMA 			0x01
+#define HWCFG2_ARCH_INT_DMA  		0x02
+
+		unsigned point2point				: 1;
+		unsigned hs_phy_type				: 2;
+		unsigned fs_phy_type				: 2;
+		unsigned num_dev_ep				: 4;
+		unsigned num_host_chan				: 4;
+		unsigned perio_ep_supported		: 1;
+		unsigned dynamic_fifo				: 1;
+		unsigned rx_status_q_depth		: 2;
+		unsigned nonperio_tx_q_depth		: 2;
+		unsigned host_perio_tx_q_depth	: 2;
+		unsigned dev_token_q_depth		: 5;
+		unsigned reserved31				: 1;
+	} b;
+} ghwcfg2_t;
+
+typedef union _gintsts_t
+{
+	/** raw register data */
+	u32 d32;
+#define SOF_INTR_MASK 0x0008
+	/** register bits */
+	struct
+	{
+#define HOST_MODE			1
+#define DEVICE_MODE		0
+		unsigned curmode			: 1;
+#define	OTG_HOST_MODE		1
+#define	OTG_DEVICE_MODE	0
+
+		unsigned modemismatch		: 1;
+		unsigned otgintr			: 1;
+		unsigned sofintr			: 1;
+		unsigned rxstsqlvl			: 1;
+		unsigned nptxfempty		: 1;
+		unsigned ginnakeff			: 1;
+		unsigned goutnakeff		: 1;
+		unsigned reserved8			: 1;
+		unsigned i2cintr			: 1;
+		unsigned erlysuspend		: 1;
+		unsigned usbsuspend		: 1;
+		unsigned usbreset			: 1;
+		unsigned enumdone			: 1;
+		unsigned isooutdrop		: 1;
+		unsigned eopframe			: 1;
+		unsigned intokenrx			: 1;
+		unsigned epmismatch		: 1;
+		unsigned inepint			: 1;
+		unsigned outepintr			: 1;
+		unsigned incompisoin		: 1;
+		unsigned incompisoout		: 1;
+		unsigned reserved22_23		: 2;
+		unsigned portintr			: 1;
+		unsigned hcintr				: 1;
+		unsigned ptxfempty			: 1;
+		unsigned reserved27		: 1;
+		unsigned conidstschng		: 1;
+		unsigned disconnect		: 1;
+		unsigned sessreqintr		: 1;
+		unsigned wkupintr			: 1;
+	} b;
+} gintsts_t;
+
+
+typedef union _hcfg_t
+{
+	/** raw register data */
+	u32 d32;
+
+	/** register bits */
+	struct 
+	{
+		/** FS/LS Phy Clock Select */
+		unsigned fslspclksel	: 2;
+#define HCFG_30_60_MHZ	0
+#define HCFG_48_MHZ	    1
+#define HCFG_6_MHZ		2
+
+		/** FS/LS Only Support */
+		unsigned fslssupp		: 1;
+	} b;
+} hcfg_t;
+
+typedef union _hprt_t
+{
+	/** raw register data */
+	u32 d32;
+	/** register bits */
+	struct 
+	{
+		unsigned prtconnsts		: 1;
+		unsigned prtconndet		: 1;
+		unsigned prtena				: 1;
+		unsigned prtenchng			: 1;
+		unsigned prtovrcurract		: 1;
+		unsigned prtovrcurrchng	: 1;
+		unsigned prtres				: 1;
+		unsigned prtsusp			: 1;
+		unsigned prtrst				: 1;
+		unsigned reserved9			: 1;
+		unsigned prtlnsts			: 2;
+		unsigned prtpwr				: 1;
+		unsigned prttstctl			: 4;
+		unsigned prtspd				: 2;
+#define HPRT0_PRTSPD_HIGH_SPEED 0
+#define HPRT0_PRTSPD_FULL_SPEED 1
+#define HPRT0_PRTSPD_LOW_SPEED  2
+		unsigned reserved19_31		: 13;
+	} b;
+} hprt_t;
+
+
+typedef union _gintmsk_t
+{
+	/** raw register data */
+	u32 d32;
+	/** register bits */
+	struct
+	{
+		unsigned reserved0			: 1;
+		unsigned modemismatch		: 1;
+		unsigned otgintr			: 1;
+		unsigned sofintr			: 1;
+		unsigned rxstsqlvl			: 1;
+		unsigned nptxfempty		: 1;
+		unsigned ginnakeff			: 1;
+		unsigned goutnakeff		: 1;
+		unsigned reserved8			: 1;
+		unsigned i2cintr			: 1;
+		unsigned erlysuspend		: 1;
+		unsigned usbsuspend		: 1;
+		unsigned usbreset			: 1;
+		unsigned enumdone			: 1;
+		unsigned isooutdrop		: 1;
+		unsigned eopframe			: 1;
+		unsigned reserved16		: 1;
+		unsigned epmismatch		: 1;
+		unsigned inepintr			: 1;
+		unsigned outepintr			: 1;
+		unsigned incompisoin		: 1;
+		unsigned incompisoout		: 1;
+		unsigned reserved22_23		: 2;
+		unsigned portintr			: 1;
+		unsigned hcintr				: 1;
+		unsigned ptxfempty			: 1;
+		unsigned reserved27		: 1;
+		unsigned conidstschng		: 1;
+		unsigned disconnect		: 1;
+		unsigned sessreqintr		: 1;
+		unsigned wkupintr			: 1;
+	} b;
+} gintmsk_t;
+
+
+typedef struct _hc_t 
+{
+
+	u8  hc_num; 				// Host channel number used for register address lookup
+
+	unsigned dev_addr		: 7; 		// Device to access
+	unsigned ep_is_in		: 1;		// EP direction; 0: OUT, 1: IN
+
+	unsigned ep_num			: 4;		// EP to access
+	unsigned low_speed		: 1;		// 1: Low speed, 0: Not low speed
+	unsigned ep_type		: 2;		// Endpoint type.
+	// One of the following values:
+	//	- OTG_EP_TYPE_CONTROL: 0
+	//	- OTG_EP_TYPE_ISOC: 1
+	//	- OTG_EP_TYPE_BULK: 2
+	//	- OTG_EP_TYPE_INTR: 3
+
+	unsigned rsvdb1			: 1;		// 8 bit padding
+
+	u8 rsvd2;				// 4 byte boundary
+
+	unsigned max_packet	: 12;	// Max packet size in bytes
+
+	unsigned data_pid_start : 2;
+#define OTG_HC_PID_DATA0 0
+#define OTG_HC_PID_DATA2 1
+#define OTG_HC_PID_DATA1 2
+#define OTG_HC_PID_MDATA 3
+#define OTG_HC_PID_SETUP 3
+
+	unsigned multi_count	: 2;	// Number of periodic transactions per (micro)frame
+
+
+	// Flag to indicate whether the transfer has been started. Set to 1 if
+	// it has been started, 0 otherwise.
+	u8 xfer_started;
+
+
+	// Set to 1 to indicate that a PING request should be issued on this
+	// channel. If 0, process normally.
+	u8	do_ping;
+
+	// Set to 1 to indicate that the error count for this transaction is
+	// non-zero. Set to 0 if the error count is 0.
+	u8 error_state;
+	u32 *xfer_buff;		// Pointer to the current transfer buffer position.
+	u16 start_pkt_count;	// Packet count at start of transfer.
+
+	u32 xfer_len;		// Total number of bytes to transfer.
+	u32 xfer_count;		// Number of bytes transferred so far.
+
+
+	// Set to 1 if the host channel has been halted, but the core is not
+	// finished flushing queued requests. Otherwise 0.
+	u8 halt_pending;
+	u8 halt_status;	// Reason for halting the host channel
+	u8 short_read;		// Set when the host channel does a short read.
+	u8 rsvd3;			// 4 byte boundary
+
+} hc_t;
+
+
+// Port status for the HC
+#define	HCD_DRIVE_RESET		0x0001
+#define	HCD_SEND_SETUP		0x0002
+
+#define	HC_MAX_PKT_COUNT 		511
+#define	HC_MAX_TRANSFER_SIZE	65535
+#define	MAXP_SIZE_64BYTE 		64
+#define	MAXP_SIZE_512BYTE 	512
+#define	MAXP_SIZE_1024BYTE	1024
+
+typedef union _hcchar_t
+{
+	// raw register data
+	u32 d32;
+
+	// register bits
+	struct 
+	{
+		// Maximum packet size in bytes
+		unsigned mps		: 11;
+
+		// Endpoint number
+		unsigned epnum		: 4;
+
+		// 0: OUT, 1: IN 
+		unsigned epdir		: 1;
+#define HCDIR_OUT				0	
+#define HCDIR_IN				1
+
+		unsigned reserved	: 1;
+
+		// 0: Full/high speed device, 1: Low speed device
+		unsigned lspddev	: 1;
+
+		// 0: Control, 1: Isoc, 2: Bulk, 3: Intr 
+		unsigned eptype		: 2;
+#define OTG_EP_TYPE_CONTROL	0
+#define OTG_EP_TYPE_ISOC		1
+#define OTG_EP_TYPE_BULK		2
+#define OTG_EP_TYPE_INTR		3
+
+		// Packets per frame for periodic transfers. 0 is reserved. 
+		unsigned multicnt	: 2;
+
+		// Device address 
+		unsigned devaddr	: 7;
+
+		// Frame to transmit periodic transaction.
+		// 0: even, 1: odd
+		unsigned oddfrm		: 1;
+
+		// Channel disable 
+		unsigned chdis		: 1;
+
+		// Channel enable 
+		unsigned chen		: 1;
+	} b;
+} hcchar_t;
+
+typedef union _hctsiz_t
+{
+	// raw register data 
+	u32 d32;
+
+	// register bits 
+	struct 
+	{
+		// Total transfer size in bytes
+		unsigned xfersize	: 19;
+
+		// Data packets to transfer 
+		unsigned pktcnt		: 10;
+
+		// Packet ID for next data packet
+		// 0: DATA0
+		// 1: DATA2
+		// 2: DATA1
+		// 3: MDATA (non-Control), SETUP (Control)
+		unsigned pid		: 2;
+#define HCTSIZ_DATA0		0
+#define HCTSIZ_DATA1		2
+#define HCTSIZ_DATA2		1
+#define HCTSIZ_MDATA		3
+#define HCTSIZ_SETUP		3
+
+		// Do PING protocol when 1
+		unsigned dopng		: 1;
+	} b;
+} hctsiz_t;
+
+
+
+typedef union _grxstsr_t
+{
+	// raw register data 
+	u32 d32;
+
+	// register bits 
+	struct 
+	{
+		unsigned Reserved		: 11;
+		unsigned pktsts			: 4;
+		unsigned dpid				: 2;
+		unsigned bcnt				: 11;
+		unsigned chnum			: 4;
+	} b;
+} grxstsr_t;
+
+typedef union _hfir_t
+{
+	// raw register data 
+	u32 d32;
+
+	// register bits 
+	struct 
+	{
+		unsigned Reserved		: 16;
+		unsigned frint				: 16;
+	} b;
+} hfir_t;
+
+typedef union _hfnum_t
+{
+	// raw register data
+	u32 d32;
+
+	// register bits
+	struct 
+	{
+		unsigned frnum : 16;
+#define HFNUM_MAX_FRNUM 0x3FFF
+		unsigned frrem : 16;
+	} b;
+} hfnum_t;
+
+typedef union grstctl_t
+{
+	/** raw register data */
+	u32 d32;
+	/** register bits */
+	struct 
+	{
+		unsigned csftrst		: 1;
+		unsigned hsftrst		: 1;
+		unsigned hstfrm			: 1;
+		unsigned intknqflsh	: 1;
+		unsigned rxfflsh		: 1;
+		unsigned txfflsh		: 1;
+		unsigned txfnum			: 5;
+		unsigned reserved11_29	: 19;
+		unsigned dmareq			: 1;
+		unsigned ahbidle		: 1;				 
+	} b;
+} grstctl_t;
+
+
+
+
+typedef	struct	hc_info
+{
+	hcintmsk_t			hc_int_msk;
+	hcintn_t				hc_int;
+	u32				dma_addr;
+	hcchar_t				hc_char;
+	hctsiz_t				hc_size;
+}hc_info_t;//, *hc_info_t *, **hc_info_t **;
+
+#ifndef USB_MAXCHILDREN
+	#define USB_MAXCHILDREN (31)
+#endif
+
+typedef struct _usb_hub_descriptor_t 
+{
+	u8  desc_length;
+	u8  desc_type;
+	u8  port_number;
+	u16 hub_characteristics;
+	u8  power_on_to_power_good;
+	u8  hub_control_current;
+	    	/* add 1 bit for hub status change; round to bytes */
+	u8  DeviceRemovable[(USB_MAXCHILDREN + 1 + 7) / 8];
+	u8  port_pwr_ctrl_mask[(USB_MAXCHILDREN + 1 + 7) / 8];
+}usb_hub_descriptor_t;
+
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-common-errorcode.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-common-errorcode.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-common-errorcode.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-common-errorcode.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,114 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : s3c-otg-common-errorcode.h
+ *  [Description] : The Header file defines Error Codes to be used at sub-modules of S3C6400HCD.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/03
+ *  [Revision History] 	     
+ *      (1) 2008/06/03   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file.
+ *      (2) 2008/08/18   by SeungSoo Yang ( ss1.yang@samsung.com )
+ *          - add HCD error code
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef  _ERROR_CODE_DEF_H   
+#define  _ERROR_CODE_DEF_H   
+
+/*
+// ----------------------------------------------------------------------------
+// Include files : None.
+// ----------------------------------------------------------------------------
+*/
+
+//#include "s3c-otg-common-typedef.h"
+#include "s3c-otg-common-common.h"
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
+typedef int	USB_ERROR_CODE;
+
+//General USB Error Code.
+#define	USB_ERR_SUCCESS		 0
+#define USB_ERR_FAIL		-1
+
+#define	USB_ERR_NO		 1
+
+#define USB_ERR_NO_ENTITY	-2
+
+//S3CTransfer Error Code
+#define	USB_ERR_NODEV		-ENODEV
+#define	USB_ERR_NOMEM		-ENOMEM
+#define	USB_ERR_NOSPACE		-ENOSPC
+
+//OTG-HCD error code
+#define	USB_ERR_NOELEMENT		-ENOENT
+#define	USB_ERR_ESHUTDOWN		-ESHUTDOWN	/* unplug */
+#define	USB_ERR_DEQUEUED		-ECONNRESET     /* unlink */
+
+
+//S3CScheduler Error Code
+#define USB_ERR_ALREADY_EXIST		-1
+#define USB_ERR_NO_RESOURCE		-2
+#define USB_ERR_NO_CHANNEL		-3
+#define USB_ERR_NO_BANDWIDTH		-4
+#define USB_ERR_ALL_RESROUCE		-5
+
+
+
+
+/************************************************
+ *Defines the USB Error Status Code of USB Transfer.
+ ************************************************/
+
+//#ifdef	LINUX
+
+#define	USB_ERR_STATUS_COMPLETE		0
+#define 	USB_ERR_STATUS_INPROGRESS		-EINPROGRESS
+#define 	USB_ERR_STATUS_CRC			-EILSEQ
+#define	USB_ERR_STATUS_XACTERR		-EPROTO
+#define	USB_ERR_STATUS_STALL			-EPIPE
+#define	USB_ERR_STATUS_BBLERR			-EOVERFLOW
+#define	USB_ERR_STATUS_AHBERR		-EIO	
+#define	USB_ERR_STATUS_FRMOVRUN_OUT		-ENOSR
+#define	USB_ERR_STATUS_FRMOVRUN_IN		-ECOMM
+#define	USB_ERR_STATUS_SHORTREAD		-EREMOTEIO
+
+//#else
+
+//#endif
+
+
+
+
+
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-common-regdef.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-common-regdef.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-common-regdef.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-common-regdef.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,317 @@
+/**************************************************************************** 
+*  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+*
+*  [File Name]   : S3C6400_OtgDevice.h
+*  [Description] :  
+*                  
+*  [Author]      : Kyu Hyeok Jang { kyuhyeok.jang@samsung.com }
+*  [Department]  : System LSI Division/Embedded Software Center
+*  [Created Date]: 2007/12/15
+*  [Revision History] 	     
+*      (1) 2007/12/15   by Kyu Hyeok Jang { kyuhyeok.jang@samsung.com }
+*          - Created
+*
+****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef _OTG_REG_DEF_H
+#define _OTG_REG_DEF_H
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+//#include "s3c-otg-common-typedef.h"
+
+#define RegOpenKey(hkey, lpsz, phk) \
+        RegOpenKeyEx((hkey), (lpsz), 0, 0, (phk))
+
+#define OTG_LINK_REG_SIZE		0x11000
+
+//   "IoBase"=dword:B1800000
+//   "IoLen"=dword:11000        ; chandolp 1000 --> 10000
+
+////////////////////////////////////////////////////////////
+#define S3C6400_BASE_REG_PA_USBOTG_PHY	0x7C100000
+#define S3C6400_BASE_REG_PA_SYSCON	0x7E00F000
+////////////////////////////////////////////////////////////
+
+typedef struct {
+	u32	OPHYPWR;
+	u32	OPHYCLK;
+	u32 	ORSTCON;
+}OTG_PHY_REG, *PS_OTG_PHY_REG;
+
+#define GOTGCTL				0x000		// OTG Control & Status
+#define GOTGINT				0x004		// OTG Interrupt
+#define GAHBCFG				0x008		// Core AHB Configuration
+#define GUSBCFG				0x00C		// Core USB Configuration
+#define GRSTCTL				0x010		// Core Reset
+#define GINTSTS				0x014		// Core Interrupt
+#define GINTMSK				0x018		// Core Interrupt Mask
+#define GRXSTSR				0x01C		// Receive Status Debug Read/Status Read
+#define GRXSTSP				0x020		// Receive Status Debug Pop/Status Pop
+#define GRXFSIZ				0x024		// Receive FIFO Size
+#define GNPTXFSIZ				0x028		// Non-Periodic Transmit FIFO Size
+#define GNPTXSTS				0x02C		// Non-Periodic Transmit FIFO/Queue Status
+#define GPVNDCTL				0x034		// PHY Vendor Control
+#define GGPIO					0x038		// General Purpose I/O
+#define GUID					0x03C		// User ID
+#define GSNPSID				0x040		// Synopsys ID
+#define GHWCFG1				0x044		// User HW Config1
+#define GHWCFG2				0x048		// User HW Config2
+#define GHWCFG3				0x04C		// User HW Config3
+#define GHWCFG4				0x050		// User HW Config4
+	                                       
+#define HPTXFSIZ				0x100		// Host Periodic Transmit FIFO Size
+#define DPTXFSIZ1				0x104		// Device Periodic Transmit FIFO-1 Size
+#define DPTXFSIZ2				0x108		// Device Periodic Transmit FIFO-2 Size
+#define DPTXFSIZ3				0x10C		// Device Periodic Transmit FIFO-3 Size
+#define DPTXFSIZ4				0x110		// Device Periodic Transmit FIFO-4 Size
+#define DPTXFSIZ5				0x114		// Device Periodic Transmit FIFO-5 Size
+#define DPTXFSIZ6				0x118		// Device Periodic Transmit FIFO-6 Size
+#define DPTXFSIZ7				0x11C		// Device Periodic Transmit FIFO-7 Size
+#define DPTXFSIZ8				0x120		// Device Periodic Transmit FIFO-8 Size
+#define DPTXFSIZ9				0x124		// Device Periodic Transmit FIFO-9 Size
+#define DPTXFSIZ10				0x128		// Device Periodic Transmit FIFO-10 Size
+#define DPTXFSIZ11				0x12C		// Device Periodic Transmit FIFO-11 Size
+#define DPTXFSIZ12				0x130		// Device Periodic Transmit FIFO-12 Size
+#define DPTXFSIZ13				0x134		// Device Periodic Transmit FIFO-13 Size
+#define DPTXFSIZ14				0x138		// Device Periodic Transmit FIFO-14 Size
+#define DPTXFSIZ15				0x13C		// Device Periodic Transmit FIFO-15 Size
+
+//*********************************************************************
+// Host Mode Registers
+//*********************************************************************
+// Host Global Registers
+
+// Channel specific registers
+#define HCCHAR_ADDR	0x500
+#define HCCHAR(n)		0x500 + ((n)*0x20)
+#define HCSPLT(n)		0x504 + ((n)*0x20)
+#define HCINT(n)			0x508 + ((n)*0x20)
+#define HCINTMSK(n)		0x50C + ((n)*0x20)
+#define HCTSIZ(n)		0x510 + ((n)*0x20)
+#define HCDMA(n)			0x514 + ((n)*0x20)
+
+#define HCFG					0x400		// Host Configuration
+#define HFIR					0x404		// Host Frame Interval
+#define HFNUM				0x408		// Host Frame Number/Frame Time Remaining
+#define HPTXSTS				0x410		// Host Periodic Transmit FIFO/Queue Status
+#define HAINT				0x414		// Host All Channels Interrupt
+#define HAINTMSK 			0x418		// Host All Channels Interrupt Mask
+
+// Host Port Control & Status Registers
+
+#define HPRT					0x440		// Host Port Control & Status
+
+// Device Logical Endpoints-Specific Registers
+
+#define DIEPCTL 				0x900					// Device IN Endpoint 0 Control
+#define DOEPCTL(n) 			0xB00 + ((n)*0x20))		// Device OUT Endpoint 0 Control
+#define DIEPINT(n) 			0x908 + ((n)*0x20))		// Device IN Endpoint 0 Interrupt
+#define DOEPINT(n) 			0xB08 + ((n)*0x20))		// Device OUT Endpoint 0 Interrupt
+#define DIEPTSIZ(n) 			0x910 + ((n)*0x20))		// Device IN Endpoint 0 Transfer Size
+#define DOEPTSIZ(n) 			0xB10 + ((n)*0x20))		// Device OUT Endpoint 0 Transfer Size
+#define DIEPDMA(n)			0x914 + ((n)*0x20))		// Device IN Endpoint 0 DMA Address
+#define DOEPDMA(n) 			0xB14 + ((n)*0x20))		// Device OUT Endpoint 0 DMA Address
+
+#define EP_FIFO(n)			0x1000 + ((n)*0x1000))
+
+#define PCGCCTL				0x0E00
+
+//
+#define BASE_REGISTER_OFFSET	0x0
+#define REGISTER_SET_SIZE		0x200
+
+// Power Reg Bits
+#define USB_RESET					0x8
+#define MCU_RESUME					0x4
+#define SUSPEND_MODE				0x2
+#define SUSPEND_MODE_ENABLE_CTRL	0x1
+
+// EP0 CSR
+#define EP0_OUT_PACKET_RDY		0x1
+#define EP0_IN_PACKET_RDY			0x2
+#define EP0_SENT_STALL			0x4
+#define DATA_END					0x8
+#define SETUP_END					0x10
+#define EP0_SEND_STALL			0x20
+#define SERVICED_OUT_PKY_RDY		0x40
+#define SERVICED_SETUP_END		0x80
+
+// IN_CSR1_REG Bit definitions
+#define IN_PACKET_READY			0x1
+#define UNDER_RUN					0x4   // Iso Mode Only
+#define FLUSH_IN_FIFO				0x8
+#define IN_SEND_STALL				0x10
+#define IN_SENT_STALL				0x20
+#define IN_CLR_DATA_TOGGLE		0x40
+
+// OUT_CSR1_REG Bit definitions
+#define OUT_PACKET_READY			0x1
+#define FLUSH_OUT_FIFO			0x10
+#define OUT_SEND_STALL			0x20
+#define OUT_SENT_STALL			0x40
+#define OUT_CLR_DATA_TOGGLE		0x80
+
+// IN_CSR2_REG Bit definitions
+#define IN_DMA_INT_DISABLE		0x10
+#define SET_MODE_IN				0x20 
+
+#define EPTYPE						(0x3<<18)
+#define SET_TYPE_CONTROL			(0x0<<18)
+#define SET_TYPE_ISO				(0x1<<18)
+#define SET_TYPE_BULK				(0x2<<18)
+#define SET_TYPE_INTERRUPT		(0x3<<18)
+
+#define AUTO_MODE					0x80
+
+// OUT_CSR2_REG Bit definitions
+#define AUTO_CLR					0x40
+#define OUT_DMA_INT_DISABLE		0x20
+
+// Can be used for Interrupt and Interrupt Enable Reg - common bit def
+#define EP0_IN_INT                	(0x1<<0)
+#define EP1_IN_INT                	(0x1<<1)
+#define EP2_IN_INT                	(0x1<<2)
+#define EP3_IN_INT                	(0x1<<3)
+#define EP4_IN_INT                	(0x1<<4)
+#define EP5_IN_INT               	(0x1<<5)
+#define EP6_IN_INT                	(0x1<<6)
+#define EP7_IN_INT                	(0x1<<7)
+#define EP8_IN_INT                	(0x1<<8)
+#define EP9_IN_INT                	(0x1<<9)
+#define EP10_IN_INT              	(0x1<<10)
+#define EP11_IN_INT             	(0x1<<11)
+#define EP12_IN_INT              	(0x1<<12)
+#define EP13_IN_INT              	(0x1<<13)
+#define EP14_IN_INT              	(0x1<<14)
+#define EP15_IN_INT				(0x1<<15)
+#define EP0_OUT_INT				(0x1<<16)
+#define EP1_OUT_INT				(0x1<<17)
+#define EP2_OUT_INT				(0x1<<18)
+#define EP3_OUT_INT				(0x1<<19)
+#define EP4_OUT_INT				(0x1<<20)
+#define EP5_OUT_INT				(0x1<<21)
+#define EP6_OUT_INT				(0x1<<22)
+#define EP7_OUT_INT				(0x1<<23)
+#define EP8_OUT_INT				(0x1<<24)
+#define EP9_OUT_INT				(0x1<<25)
+#define EP10_OUT_INT				(0x1<<26)
+#define EP11_OUT_INT				(0x1<<27)
+#define EP12_OUT_INT				(0x1<<28)
+#define EP13_OUT_INT				(0x1<<29)
+#define EP14_OUT_INT				(0x1<<30)
+#define EP15_OUT_INT				(0x1<<31)
+
+// GOTGINT 
+#define SesEndDet				(0x1<<2)
+
+// GRSTCTL
+#define TxFFlsh					(0x1<<5)
+#define RxFFlsh					(0x1<<4)
+#define INTknQFlsh				(0x1<<3)
+#define FrmCntrRst				(0x1<<2)
+#define HSftRst					(0x1<<1)
+#define CSftRst					(0x1<<0)
+
+#define CLEAR_ALL_EP_INTRS        0xffffffff
+									
+#define  EP_INTERRUPT_DISABLE_ALL   	0x0   // Bits to write to EP_INT_EN_REG - Use CLEAR
+
+// DMA control register bit definitions
+#define RUN_OB							0x80
+#define STATE							0x70
+#define DEMAND_MODE					0x8
+#define OUT_DMA_RUN					0x4
+#define IN_DMA_RUN						0x2
+#define DMA_MODE_EN					0x1
+
+
+#define REAL_PHYSICAL_ADDR_EP0_FIFO		(0x520001c0) //Endpoint 0 FIFO
+#define REAL_PHYSICAL_ADDR_EP1_FIFO		(0x520001c4) //Endpoint 1 FIFO
+#define REAL_PHYSICAL_ADDR_EP2_FIFO		(0x520001c8) //Endpoint 2 FIFO
+#define REAL_PHYSICAL_ADDR_EP3_FIFO		(0x520001cc) //Endpoint 3 FIFO
+#define REAL_PHYSICAL_ADDR_EP4_FIFO		(0x520001d0) //Endpoint 4 FIFO
+
+// GAHBCFG
+#define MODE_DMA					(1<<5)
+#define MODE_SLAVE					(0<<5)
+#define BURST_SINGLE				(0<<1)
+#define BURST_INCR					(1<<1)
+#define BURST_INCR4				(3<<1)
+#define BURST_INCR8				(5<<1)
+#define BURST_INCR16				(7<<1)
+#define GBL_INT_MASK				(0<<0)
+#define GBL_INT_UNMASK			(1<<0)
+
+// For USB DMA
+//BOOL InitUsbdDriverGlobals(void);  	//:-)
+//void UsbdDeallocateVm(void);	   	//:-)
+//BOOL UsbdAllocateVm(void);	   		//:-)
+//void UsbdInitDma(int epnum, int bufIndex,int bufOffset);	//:-)
+
+
+//by Kevin
+
+//////////////////////////////////////////////////////////////////////////
+
+/*
+inline	u32	ReadReg(
+						u32 uiOffset
+						)
+{
+	volatile u32 *pbReg = ctrlr_base_reg_addr(uiOffset);
+	u32 uiValue = (u32) *pbReg;
+	return uiValue;
+}
+
+inline	void	WriteReg(
+						u32 uiOffset,
+						u32 bValue
+						)
+{
+	volatile ULONG *pbReg = ctrlr_base_reg_addr(uiOffset);
+	*pbReg = (ULONG) bValue;
+}
+
+inline	void	UpdateReg(
+						  u32 uiOffset,
+						  u32 bValue
+						  )
+{
+	WriteReg(uiOffset, (ReadReg(uiOffset) | bValue));
+};
+
+inline	void	ClearReg(
+						 u32	 uiOffeset,
+						 u32 bValue
+						 )
+{
+	WriteReg(uiOffeset, (ReadReg(uiOffeset) & ~bValue));
+};
+*/
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //_S3C6400OTGDEVICE_H_
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-debug.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-debug.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-debug.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-debug.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,94 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ * @file   s3c-otg-hcdi-debug.c
+ * @brief  It provides debug functions for display message \n
+ * @version 
+ *  -# Jun 9,2008 v1.0 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Creating the initial version of this code \n
+ *  -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Optimizing for performance \n
+ * @see None
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef _S3C_OTG_HCDI_DEBUG_H_
+#define _S3C_OTG_HCDI_DEBUG_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+//#define OTG_DEBUG
+
+#ifdef OTG_DEBUG
+#if 0
+#include <linux/stddef.h>
+#endif
+
+#define OTG_DBG_OTGHCDI_DRIVER	true
+#define OTG_DBG_OTGHCDI_HCD	true
+#define OTG_DBG_OTGHCDI_KAL	false
+#define OTG_DBG_OTGHCDI_LIST	false
+#define OTG_DBG_OTGHCDI_MEM	false
+
+#define OTG_DBG_TRANSFER	false
+#define OTG_DBG_SCHEDULE	false
+#define OTG_DBG_OCI		true
+#define OTG_DBG_DONETRASF	false
+#define OTG_DBG_ISR		true
+#define OTG_DBG_ROOTHUB		false
+
+#if defined(__linux__)
+
+#include <linux/kernel.h>	//for printk
+
+#define otg_err(is_active, msg...) \
+	do{ if ((is_active) == true)\
+		{\
+			printk(KERN_ERR "otg_err: in %s()::%05d ", __func__ , __LINE__); \
+			printk("=> " msg); \
+		}\
+	}while(0)
+
+#define otg_dbg(is_active, msg...) \
+	do{ if ((is_active) == true)\
+		{\
+			printk(KERN_DEBUG "otg_dbg: in %s()::%05d ", __func__, __LINE__); \
+			printk("=> " msg); \
+		}\
+	}while(0)
+#else
+
+#error Not supported OS
+
+#endif
+
+#else //OTG_DEBUG
+
+# define otg_err(is_active, msg...) 	do{}while(0)			
+# define otg_dbg(is_active, msg...)	do{}while(0)
+
+#endif
+
+
+#ifdef __cplusplus 
+} 
+#endif 
+
+#endif /* _S3C_OTG_HCDI_DEBUG_H_ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,264 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ * @file   s3c-otg-hcdi-driver.c
+ * @brief  It provides functions related with module for OTGHCD driver. \n
+ * @version 
+ *  -# Jun 9,2008 v1.0 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Creating the initial version of this code \n
+ *  -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Optimizing for performance \n
+ *  -# Aug 18,2008 v1.3 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Modifying for successful rmmod & disconnecting \n
+ * @see None
+ * 
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-hcdi-driver.h"
+
+/**
+ * static int s3c6410_otg_drv_probe (struct platform_device *pdev)
+ * 
+ * @brief probe function of OTG hcd platform_driver
+ * 
+ * @param [in] pdev : pointer of platform_device of otg hcd platform_driver
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If fail \n
+ * @remark 
+ * it allocates resources of it and call other modules' init function.
+ * then call usb_create_hcd, usb_add_hcd, s3c6410_otghcd_start functions
+ */
+
+static struct clk	*otg_clock = NULL;
+
+static int s3c6410_otg_drv_probe (struct platform_device *pdev)
+{
+
+	int ret_val = 0;
+	u32 reg_val = 0;
+	
+	otg_dbg(OTG_DBG_OTGHCDI_DRIVER, "s3c_otg_drv_probe \n");
+	
+	otg_clock = clk_get(&pdev->dev, "otg");
+	if (otg_clock == NULL) {
+		printk(KERN_INFO "failed to find otg clock source\n");
+		return -ENOENT;
+	}
+	clk_enable(otg_clock);
+
+///init for host mode
+/** 
+	Allocate memory for the base HCD &	Initialize the base HCD.
+*/
+	g_pUsbHcd = usb_create_hcd(&s3c6410_otg_hc_driver, &pdev->dev, pdev->dev.bus_id);
+	if (g_pUsbHcd == NULL) 
+	{
+		ret_val = -ENOMEM;
+		otg_err(OTG_DBG_OTGHCDI_DRIVER, "failed to usb_create_hcd\n");
+		goto err_out_clk;
+	}
+
+
+//	mapping hcd resource & device resource
+	
+	g_pUsbHcd->rsrc_start = pdev->resource[0].start;
+	g_pUsbHcd->rsrc_len   = pdev->resource[0].end - pdev->resource[0].start + 1;
+
+	if (!request_mem_region(g_pUsbHcd->rsrc_start, g_pUsbHcd->rsrc_len, gHcdName)) 
+	{
+		otg_err(OTG_DBG_OTGHCDI_DRIVER, "failed to request_mem_region\n");
+		reg_val = -EBUSY;
+		goto err_out_create_hcd;
+	}
+
+
+//Physical address => Virtual address
+	g_pUsbHcd->regs = S3C_VA_OTG; 
+	g_pUsbHcd->self.otg_port = 1;
+	
+	g_pUDCBase = (u8 *)g_pUsbHcd->regs;
+
+	/// call others' init()
+	reg_val = otg_hcd_init_modules();
+	if( reg_val != USB_ERR_SUCCESS)
+	{		
+		otg_err(OTG_DBG_OTGHCDI_DRIVER, "failed to otg_hcd_init_modules\n");
+		reg_val = USB_ERR_FAIL;
+		goto err_out_create_hcd;
+	}
+
+	/**
+	 * Attempt to ensure this device is really a s3c6410 USB-OTG Controller.
+	 * Read and verify the SNPSID register contents. The value should be
+	 * 0x45F42XXX, which corresponds to "OT2", as in "OTG version 2.XX".
+	 */
+	//reg_val = read_reg_32((unsigned int *)((u8 *)g_pUsbHcd->regs + 0x40)); 
+	
+	reg_val = read_reg_32(0x40); 
+	if ((reg_val & 0xFFFFF000) != 0x4F542000) 
+	{
+		otg_err(OTG_DBG_OTGHCDI_DRIVER, "Bad value for SNPSID: 0x%x\n", reg_val);
+		ret_val = -EINVAL;
+		goto err_out_create_hcd_init;
+	}
+
+	/*
+	 * Finish generic HCD initialization and start the HCD. This function
+	 * allocates the DMA buffer pool, registers the USB bus, requests the
+	 * IRQ line, and calls s3c6410_otghcd_start method.
+	 */
+	ret_val = usb_add_hcd(g_pUsbHcd, pdev->resource[1].start, IRQF_DISABLED);
+	if (ret_val < 0) 
+	{
+		goto err_out_create_hcd_init;
+	}
+
+	otg_dbg(OTG_DBG_OTGHCDI_DRIVER,"OTG HCD Initialized HCD, bus=%s, usbbus=%d\n", 
+		    "EMSP OTG Controller", g_pUsbHcd->self.busnum);
+	return USB_ERR_SUCCESS;
+
+err_out_create_hcd_init:	
+	otg_hcd_deinit_modules();
+	release_mem_region(g_pUsbHcd->rsrc_start, g_pUsbHcd->rsrc_len);
+
+err_out_create_hcd: 
+	usb_put_hcd(g_pUsbHcd);
+	
+err_out_clk:
+	
+	return ret_val;
+}
+//-------------------------------------------------------------------------------
+
+/**
+ * static int s3c6410_otg_drv_remove (struct platform_device *dev)
+ * 
+ * @brief remove function of OTG hcd platform_driver
+ * 
+ * @param [in] pdev : pointer of platform_device of otg hcd platform_driver
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If fail \n
+ * @remark 
+ * This function is called when the otg device unregistered with the
+ * s3c6410_otg_driver. This happens, for example, when the rmmod command is
+ * executed. The device may or may not be electrically present. If it is
+ * present, the driver stops device processing. Any resources used on behalf
+ * of this device are freed.
+ */
+static int s3c6410_otg_drv_remove (struct platform_device *dev) 
+{     
+	otg_dbg(OTG_DBG_OTGHCDI_DRIVER, "s3c6410_otg_drv_remove \n");		
+
+	otg_hcd_deinit_modules();
+
+	usb_remove_hcd(g_pUsbHcd);
+	
+	release_mem_region(g_pUsbHcd->rsrc_start, g_pUsbHcd->rsrc_len);
+
+	usb_put_hcd(g_pUsbHcd);
+
+	if (otg_clock != NULL) {
+		clk_disable(otg_clock);
+		clk_put(otg_clock);
+		otg_clock = NULL;
+	}
+
+	
+	return USB_ERR_SUCCESS;
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * @struct s3c6410_otg_driver
+ * 
+ * @brief 
+ * This structure defines the methods to be called by a bus driver
+ * during the lifecycle of a device on that bus. Both drivers and
+ * devices are registered with a bus driver. The bus driver matches
+ * devices to drivers based on information in the device and driver
+ * structures.
+ *
+ * The probe function is called when the bus driver matches a device
+ * to this driver. The remove function is called when a device is
+ * unregistered with the bus driver. 
+ */
+static struct platform_driver s3c6410_otg_driver = {
+	.probe = s3c6410_otg_drv_probe,
+	.remove = s3c6410_otg_drv_remove,
+	.shutdown = usb_hcd_platform_shutdown,
+	.driver = {
+		.name = "s3c_otghcd",
+		.owner = THIS_MODULE,
+	},
+};
+//-------------------------------------------------------------------------------
+
+/**
+ * static int __init s3c6410_otg_module_init(void)
+ * 
+ * @brief module_init function
+ * 
+ * @return it returns result of platform_driver_register
+ * @remark 
+ * This function is called when the s3c6410_otg_driver is installed with the
+ * insmod command. It registers the s3c6410_otg_driver structure with the
+ * appropriate bus driver. This will cause the s3c6410_otg_driver_probe function
+ * to be called. In addition, the bus driver will automatically expose
+ * attributes defined for the device and driver in the special sysfs file
+ * system.
+ */
+static int __init s3c6410_otg_module_init(void) 
+{ 
+	int	ret_val = 0;
+	
+	otg_dbg(OTG_DBG_OTGHCDI_DRIVER, "s3c_otg_module_init \n");		
+
+	ret_val = platform_driver_register(&s3c6410_otg_driver);
+	if (ret_val < 0) 
+	{		
+		otg_err(OTG_DBG_OTGHCDI_DRIVER, "platform_driver_register \n");		
+	}
+	return ret_val;    
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * static void __exit s3c6410_otg_module_exit(void)
+ * 
+ * @brief module_exit function
+ * 
+ * @remark 
+ * This function is called when the driver is removed from the kernel
+ * with the rmmod command. The driver unregisters itself with its bus
+ * driver. 
+ */
+static void __exit s3c6410_otg_module_exit(void) 
+{     
+	otg_dbg(OTG_DBG_OTGHCDI_DRIVER, "s3c_otg_module_exit \n");	
+	platform_driver_unregister(&s3c6410_otg_driver);
+} 
+//-------------------------------------------------------------------------------
+
+module_init(s3c6410_otg_module_init);
+module_exit(s3c6410_otg_module_exit);
+
+MODULE_DESCRIPTION("OTG USB HOST controller driver");
+MODULE_AUTHOR("SAMSUNG / System LSI / EMSP");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-driver.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,74 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ * @file   s3c-otg-hcdi-driver.h
+ * @brief  header of s3c-otg-hcdi-driver \n
+ * @version 
+ *  -# Jun 9,2008 v1.0 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Creating the initial version of this code \n
+ *  -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Optimizing for performance \n
+ *  -# Aug 18,2008 v1.3 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Modifying for successful rmmod & disconnecting \n
+ * @see None
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef _S3C_OTG_HCDI_DRIVER_H_
+#define _S3C_OTG_HCDI_DRIVER_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#include <linux/module.h>
+#include <linux/init.h>
+//#include <linux/clk.h>	//for clk_get, clk_enable etc.
+
+#include <linux/device.h>
+#include <linux/platform_device.h>
+#include <linux/errno.h>
+#include <linux/interrupt.h> //for SA_SHIRQ
+#include <mach/map.h>	//address for smdk
+#include <linux/dma-mapping.h> //dma_alloc_coherent
+#include <linux/ioport.h>	//request_mem_request ...
+#include <asm/irq.h>	//for IRQ_OTG
+#include <linux/clk.h>
+
+//#include <asm/io.h> //for ioremap
+
+#include "s3c-otg-common-common.h"
+#include "s3c-otg-hcdi-debug.h"
+#include "s3c-otg-hcdi-hcd.h"
+#include "s3c-otg-hcdi-kal.h"
+
+//struct	clk*		g_pOTG_clock = NULL;
+struct	usb_hcd*	g_pUsbHcd = NULL;
+
+volatile u8 *		g_pUDCBase;
+
+static const char	gHcdName[] = "EMSP_OTG_HCD";
+
+extern int otg_hcd_init_modules(void);
+extern void otg_hcd_deinit_modules(void);
+
+#ifdef __cplusplus 
+} 
+#endif 
+
+#endif /* _S3C_OTG_HCDI_DRIVER_H_ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,655 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ * @file   s3c-otg-hcdi-hcd.c
+ * @brief  implementation of structure hc_drive \n
+ * @version 
+ *  -# Jun 11,2008 v1.0 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Creating the initial version of this code \n
+ *  -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Optimizing for performance \n
+ *  -# Aug 18,2008 v1.3 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Modifying for successful rmmod & disconnecting \n
+ * @see None
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-hcdi-hcd.h" 
+static DEFINE_SPINLOCK(otg_hcd_spin_lock);
+
+/**
+ * otg_hcd_init_modules()
+ * 
+ * @brief call other modules' init functions
+ * 
+ * @return PASS : If success \n
+ *         FAIL : If fail \n
+ */
+int otg_hcd_init_modules(void)
+{ 
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(OTG_DBG_OTGHCDI_DRIVER, "OTGHCD_InitModuless \n");	
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+
+	init_transfer();
+	init_scheduler();
+	oci_init();
+	
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	
+    return USB_ERR_SUCCESS;
+};
+
+/**
+ * void otg_hcd_deinit_modules(void)
+ * 
+ * @brief call other modules' de-init functions
+ * 
+ * @return PASS : If success \n
+ *         FAIL : If fail \n
+ */
+void otg_hcd_deinit_modules(void) 
+{ 
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(OTG_DBG_OTGHCDI_DRIVER, "otg_hcd_deinit_modules \n");	
+
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+
+	deinit_transfer();
+	
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+}
+
+/**
+ * irqreturn_t	(*s3c6410_otghcd_irq) (struct usb_hcd *hcd)
+ * 
+ * @brief interrupt handler of otg irq 
+ * 
+ * @param  [in] hcd : pointer of usb_hcd 
+ * 
+ * @return IRQ_HANDLED  \n
+ */
+irqreturn_t	s3c6410_otghcd_irq(struct usb_hcd *hcd) 
+{ 
+	
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(false, "s3c6410_otghcd_irq \n");	
+
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	otg_handle_interrupt();	
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+
+	
+	return	IRQ_HANDLED;
+} 
+//-------------------------------------------------------------------------------
+
+
+/**
+ * int		s3c6410_otghcd_start(struct usb_hcd *hcd)
+ * 
+ * @brief  initialize and start otg hcd
+ * 
+ * @param  [in] usb_hcd_p : pointer of usb_hcd 
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ */
+int	s3c6410_otghcd_start(struct usb_hcd *usb_hcd_p) 
+{ 
+	struct	usb_bus *usb_bus_p;
+
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "s3c6410_otghcd_start \n");	
+	
+	usb_bus_p = hcd_to_bus(usb_hcd_p);
+
+	//* Initialize and connect root hub if one is not already attached */
+	if (usb_bus_p->root_hub) {
+		otg_dbg(OTG_DBG_OTGHCDI_HCD, "OTG HCD Has Root Hub\n");
+
+		//* Inform the HUB driver to resume. */
+		otg_usbcore_resume_roothub();
+	} else {
+		otg_err(OTG_DBG_OTGHCDI_HCD, "OTG HCD Does Not Have Root Hub\n");
+		return USB_ERR_FAIL;
+	}
+
+	usb_hcd_p->poll_rh = 1;
+	usb_hcd_p->uses_new_polling = 1;
+	
+	///init bus state	before enable irq 
+	usb_hcd_p->state = HC_STATE_RUNNING;
+
+	oci_start();//enable irq	
+
+	return USB_ERR_SUCCESS;    
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void	s3c6410_otghcd_stop(struct usb_hcd *hcd)
+ * 
+ * @brief  deinitialize and stop otg hcd
+ * 
+ * @param  [in] hcd : pointer of usb_hcd 
+ * 
+ */
+void	s3c6410_otghcd_stop(struct usb_hcd *hcd) 
+{ 
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "s3c6410_otghcd_stop \n");	
+
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	otg_hcd_deinit_modules();	
+	oci_stop();
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void	s3c6410_otghcd_shutdown(struct usb_hcd *hcd)
+ * 
+ * @brief  shutdown otg hcd
+ * 
+ * @param  [in] usb_hcd_p : pointer of usb_hcd 
+ * 
+ */
+void	s3c6410_otghcd_shutdown(struct usb_hcd *usb_hcd_p) 
+{     
+
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "s3c6410_otghcd_shutdown \n");	
+	otg_hcd_deinit_modules();
+	
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	oci_stop();
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+
+	free_irq(IRQ_OTG, usb_hcd_p);	
+	usb_hcd_p->state = HC_STATE_HALT;
+	otg_usbcore_hc_died();
+} 
+//-------------------------------------------------------------------------------
+
+
+/**
+ * int		s3c6410_otghcd_get_frame_number(struct usb_hcd *hcd)
+ * 
+ * @brief  get currnet frame number
+ * 
+ * @param  [in] hcd : pointer of usb_hcd 
+ * 
+ * @return ret : frame number \n
+ */
+int		s3c6410_otghcd_get_frame_number(struct usb_hcd *hcd) 
+{ 
+	int 	ret = 0;
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "s3c6410_otghcd_get_frame_number \n");	
+
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	ret = oci_get_frame_num();
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	return ret;
+} 
+//-------------------------------------------------------------------------------
+
+
+/**
+ * int		s3c6410_otghcd_urb_enqueue()
+ * 
+ * @brief  enqueue a urb to otg hcd
+ * 
+ * @param  [in] hcd : pointer of usb_hcd
+ *		   [in] ep : pointer of usb_host_endpoint
+ *		   [in] urb : pointer of urb
+ *		   [in] mem_flags : type of gfp_t 
+ *
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ */
+int 	
+s3c6410_otghcd_urb_enqueue
+(
+			struct usb_hcd *hcd,
+			struct urb *urb,
+			gfp_t mem_flags
+)
+{ 
+
+	int	ret_val = 0;
+	u32	trans_flag = 0;
+	u32 	return_td_addr = 0;
+	u8	dev_speed, ed_type = 0, additional_multi_count;
+	u16	max_packet_size;
+	
+	u8 	dev_addr = 0;
+	u8 	ep_num = 0;
+	bool 	f_is_ep_in = true;		
+	u8 	interval = 0;
+	u32 	sched_frame = 0;
+	u8 	hub_addr = 0;
+	u8 	hub_port = 0; 
+	bool	f_is_do_split = false;
+	ed_t	*target_ed = NULL;
+	isoch_packet_desc_t *new_isoch_packet_desc = NULL;
+	
+	otg_dbg(false, "s3c6410_otghcd_urb_enqueue \n");
+	
+	/// check ep has ed_t or not
+	if(!(urb->ep->hcpriv))
+	{
+		///for getting dev_speed		
+		switch (urb->dev->speed)
+		{
+			case USB_SPEED_HIGH :
+				dev_speed = HIGH_SPEED_OTG;		break;
+
+			case USB_SPEED_FULL :
+				dev_speed = FULL_SPEED_OTG; 	break;
+
+			case USB_SPEED_LOW :
+				dev_speed = LOW_SPEED_OTG;		break;
+
+			default:
+				otg_err(OTG_DBG_OTGHCDI_HCD, "unKnown Device Speed \n");
+				return USB_ERR_FAIL;
+		}
+				
+		///for getting ed_type
+		switch (usb_pipetype(urb->pipe))
+		{
+			case PIPE_BULK :
+				ed_type = BULK_TRANSFER;		break;
+
+			case PIPE_INTERRUPT :
+				ed_type = INT_TRANSFER; 		break;
+
+			case PIPE_CONTROL :
+				ed_type = CONTROL_TRANSFER;	break;
+
+			case PIPE_ISOCHRONOUS :
+				ed_type = ISOCH_TRANSFER;	break;
+			default:
+				otg_err(OTG_DBG_OTGHCDI_HCD, "unKnown ep type \n");
+				return USB_ERR_FAIL;
+		}
+
+		max_packet_size = usb_maxpacket(urb->dev, urb->pipe, !(usb_pipein(urb->pipe)));
+		additional_multi_count = ((max_packet_size) >> 11) & 0x03;
+		dev_addr = usb_pipedevice(urb->pipe);
+		ep_num = usb_pipeendpoint(urb->pipe);
+		f_is_ep_in = usb_pipein(urb->pipe) ? true : false;	
+		interval = (u8)(urb->interval);
+		sched_frame = (u8)(urb->start_frame);
+
+		//check 
+		if(urb->dev->tt == NULL)
+		{	
+			otg_dbg(OTG_DBG_OTGHCDI_HCD, "urb->dev->tt == NULL\n");
+			hub_port = 0; //u8 hub_port
+			hub_addr = 0; //u8 hub_addr,
+		}
+		else
+		{
+			hub_port = (u8)(urb->dev->ttport); //u8 hub_port,
+			if (urb->dev->tt->hub) {
+				if ( ((dev_speed == FULL_SPEED_OTG) || (dev_speed == LOW_SPEED_OTG)) &&
+					(urb->dev->tt) && (urb->dev->tt->hub->devnum != 1)) {
+					f_is_do_split = true;
+				}
+
+				hub_addr = (u8)(urb->dev->tt->hub->devnum);//u8 hub_addr,			
+			}
+			if (urb->dev->tt->multi) {
+				hub_addr = 0x80;//u8 hub_addr,			
+			}
+		}
+		otg_dbg(OTG_DBG_OTGHCDI_HCD, "hub_port=%d, hub_addr=%d\n", hub_port, hub_addr);
+
+		ret_val = create_ed(&target_ed);
+		if(ret_val != USB_ERR_SUCCESS)
+		{
+			otg_err(OTG_DBG_OTGHCDI_HCD, "fail to create_ed() \n");
+			return ret_val;
+		}
+
+		ret_val = init_ed( target_ed,	
+				dev_addr,
+				ep_num,
+				f_is_ep_in, 
+				dev_speed,
+				ed_type,
+				max_packet_size, 
+				additional_multi_count,
+				interval,
+				sched_frame, 
+				hub_addr,
+				hub_port,
+				f_is_do_split,
+				(void *)urb->ep);
+		
+		if(ret_val != USB_ERR_SUCCESS)
+		{
+			otg_err(OTG_DBG_OTGHCDI_HCD, "fail to init_ed() :err = %d \n",(int)ret_val);
+			otg_mem_free(target_ed);
+			return USB_ERR_FAIL;
+		}
+
+		urb->ep->hcpriv = (void *)(target_ed);
+	} // if(!(ep->hcpriv))
+	else
+	{
+		dev_addr = usb_pipedevice(urb->pipe);
+		if(((ed_t *)(urb->ep->hcpriv))->ed_desc.device_addr != dev_addr)
+		{
+			((ed_t *)urb->ep->hcpriv)->ed_desc.device_addr = dev_addr;
+		}
+	}
+
+	target_ed = (ed_t *)urb->ep->hcpriv;
+
+	if(urb->transfer_flags & URB_SHORT_NOT_OK)
+		trans_flag += USB_TRANS_FLAG_NOT_SHORT;
+	if  (urb->transfer_flags & URB_ISO_ASAP)
+		trans_flag += USB_TRANS_FLAG_ISO_ASYNCH;
+
+	if(ed_type == ISOCH_TRANSFER)
+	{
+		otg_err(OTG_DBG_OTGHCDI_HCD, "ISO not yet supported \n");
+		return USB_ERR_FAIL;
+	}
+	
+	if (!HC_IS_RUNNING(hcd->state)) {
+		otg_err(OTG_DBG_OTGHCDI_HCD, "!HC_IS_RUNNING(hcd->state) \n");
+		return -USB_ERR_NODEV;
+	}
+
+	/* in case of unlink-during-submit */
+	if (urb->status != -EINPROGRESS) {
+		urb->hcpriv = NULL;
+		usb_hcd_giveback_urb(hcd, urb, urb->status);
+		return USB_ERR_SUCCESS;
+	}
+			
+	ret_val =	issue_transfer( target_ed, (void *)NULL, (void *)NULL,
+					trans_flag, 
+					(usb_pipetype(urb->pipe) == PIPE_CONTROL)?true:false,					
+					(u32)urb->setup_packet, (u32)urb->setup_dma, 
+					(u32)urb->transfer_buffer, (u32)urb->transfer_dma, 
+					(u32)urb->transfer_buffer_length,
+					(u32)urb->start_frame,(u32)urb->number_of_packets, 
+					new_isoch_packet_desc, (void *)urb, &return_td_addr);
+	
+	if(ret_val != USB_ERR_SUCCESS)
+	{
+		otg_err(OTG_DBG_OTGHCDI_HCD, "fail to issue_transfer() \n");
+		return USB_ERR_FAIL;
+	}
+	urb->hcpriv = (void *)return_td_addr;
+
+	return USB_ERR_SUCCESS;
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int		s3c6410_otghcd_urb_dequeue(struct usb_hcd *_hcd, struct urb *_urb )
+ * 
+ * @brief  dequeue a urb to otg
+ * 
+ * @param  [in] _hcd : pointer of usb_hcd
+ *		   [in] _urb : pointer of urb
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ */
+int		s3c6410_otghcd_urb_dequeue(struct usb_hcd *_hcd, struct urb *_urb, int status) 
+{ 
+	int	ret_val = 0;
+	
+	unsigned long	spin_lock_flag = 0;
+	td_t *	cancel_td = (td_t *)_urb->hcpriv;
+		
+	if (cancel_td == NULL)
+	{
+		otg_err(OTG_DBG_OTGHCDI_HCD, "cancel_td == NULL\n"); 
+		return USB_ERR_FAIL;
+	}
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "s3c6410_otghcd_urb_dequeue, status = %d\n", status);	
+
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+
+	ret_val = usb_hcd_check_unlink_urb(_hcd, _urb, status);
+        if (ret_val) {
+		otg_dbg(OTG_DBG_OTGHCDI_HCD, "ret_val = %d\n", ret_val);	
+                goto done;
+        }
+
+	if (!HC_IS_RUNNING(_hcd->state)) {
+		otg_err(OTG_DBG_OTGHCDI_HCD, "!HC_IS_RUNNING(hcd->state) \n");		
+		usb_hcd_giveback_urb(_hcd, _urb, status);
+		spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+		return USB_ERR_SUCCESS;
+	}
+
+	ret_val = cancel_transfer(cancel_td->parent_ed_p, cancel_td);
+	if(ret_val != USB_ERR_DEQUEUED && ret_val != USB_ERR_NOELEMENT)
+	{
+		otg_err(OTG_DBG_OTGHCDI_HCD, "fail to cancel_transfer() \n");		
+		usb_hcd_giveback_urb(_hcd, _urb, status);
+		spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+		return USB_ERR_FAIL;
+	}
+	ret_val = USB_ERR_SUCCESS;
+done:
+	usb_hcd_giveback_urb(_hcd, _urb, status);
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	return ret_val;
+} 
+//-------------------------------------------------------------------------------
+
+
+/**
+ * void	s3c6410_otghcd_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep)
+ * 
+ * @brief  disable a endpoint
+ * 
+ * @param  [in] hcd : pointer of usb_hcd
+ *		   [in] ep : pointer of usb_host_endpoint
+ */
+void	s3c6410_otghcd_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep) 
+{ 	
+	int	ret_val = 0;
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "s3c6410_otghcd_endpoint_disable \n");	
+	
+	if(!((ed_t *)ep->hcpriv))
+		return;
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	ret_val = delete_ed((ed_t *)ep->hcpriv);
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	
+	if(ret_val != USB_ERR_SUCCESS)
+	{
+		otg_err(OTG_DBG_OTGHCDI_HCD, "fail to delete_ed() \n");
+		return ;
+	}
+
+	ep->hcpriv = NULL;
+} 
+//-------------------------------------------------------------------------------
+
+
+/**
+ * int		s3c6410_otghcd_hub_status_data(struct usb_hcd *_hcd, char *_buf)
+ * 
+ * @brief  get status of root hub
+ * 
+ * @param  [in] _hcd : pointer of usb_hcd
+ * 		   [inout] _buf : pointer of buffer for write a status data
+ *
+ * @return ret_val : return port status \n
+ */
+int		s3c6410_otghcd_hub_status_data(struct usb_hcd *_hcd, char *_buf) 
+{ 
+	int	ret_val = 0;
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(false, "s3c6410_otghcd_hub_status_data \n");
+
+	/* if !USB_SUSPEND, root hub timers won't get shut down ... */
+	if (!HC_IS_RUNNING(_hcd->state))
+		return 0;
+
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	ret_val = get_otg_port_status(OTG_PORT_NUMBER, _buf);
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+
+	return (int)ret_val;
+} 
+//-------------------------------------------------------------------------------
+
+
+/**
+ * int		s3c6410_otghcd_hub_control()
+ * 
+ * @brief  control root hub
+ * 
+ * @param  [in] hcd : pointer of usb_hcd
+ *		   [in] typeReq : type of control request
+ *		   [in] value : value
+ *		   [in] index : index
+ *		   [in] buf_p : pointer of urb
+ *		   [in] length : type of gfp_t 
+ * 
+ * @return ret_val : return root_hub_feature \n
+ */
+int
+s3c6410_otghcd_hub_control
+( 
+			struct usb_hcd *hcd, 
+			u16 	typeReq, 
+			u16 	value,
+			u16 	index, 
+			char*	buf_p, 
+			u16 	length 
+)
+{ 
+	int	ret_val = 0;
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(false, "s3c6410_otghcd_hub_control \n");	
+
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+
+	ret_val = root_hub_feature(OTG_PORT_NUMBER, typeReq, value, (void *)buf_p);
+	
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	if(ret_val != USB_ERR_SUCCESS)
+	{
+		otg_err(OTG_DBG_OTGHCDI_HCD, "fail to root_hub_feature() \n");
+		return ret_val;
+	}
+	return (int)ret_val;
+} 			
+//-------------------------------------------------------------------------------
+
+/**
+ * int		s3c6410_otghcd_bus_suspend(struct usb_hcd *hcd)
+ * 
+ * @brief  suspend otg hcd
+ * 
+ * @param  [in] hcd : pointer of usb_hcd
+ * 
+ * @return USB_ERR_SUCCESS \n
+ */
+int		s3c6410_otghcd_bus_suspend(struct usb_hcd *hcd) 
+{ 
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "s3c6410_otghcd_bus_suspend \n");	
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	bus_suspend();
+	
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	return USB_ERR_SUCCESS;
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int		s3c6410_otghcd_bus_resume(struct usb_hcd *hcd)
+ * 
+ * @brief  resume otg hcd
+ * 
+ * @param  [in] hcd : pointer of usb_hcd
+ * 
+ * @return USB_ERR_SUCCESS \n
+ */
+int		s3c6410_otghcd_bus_resume(struct usb_hcd *hcd) 
+{ 
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "s3c6410_otghcd_bus_resume \n");	
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	if(bus_resume() != USB_ERR_SUCCESS)
+	{
+		return USB_ERR_FAIL;
+	}
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	return USB_ERR_SUCCESS;
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int		s3c6410_otghcd_start_port_reset(struct usb_hcd *hcd, unsigned port)
+ * 
+ * @brief reset otg port
+ * 
+ * @param  [in] hcd : pointer of usb_hcd
+ *		   [in] port : number of port 
+ *
+ * @return USB_ERR_SUCCESS : If success \n
+ *         ret_val : If call fail \n
+ */
+int	s3c6410_otghcd_start_port_reset(struct usb_hcd *hcd, unsigned port) 
+{ 
+	int	ret_val = 0;
+	
+	unsigned long	spin_lock_flag = 0;
+
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "s3c6410_otghcd_start_port_reset \n");	
+	spin_lock_irg_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+
+	ret_val = reset_and_enable_port(OTG_PORT_NUMBER);	
+	
+	spin_unlock_irq_save_otg(&otg_hcd_spin_lock, spin_lock_flag);
+	if(ret_val != USB_ERR_SUCCESS)
+	{
+		otg_err(OTG_DBG_OTGHCDI_HCD, "fail to reset_and_enable_port() \n");
+		return ret_val;
+	}
+	return USB_ERR_SUCCESS;
+} 
+//-------------------------------------------------------------------------------
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-hcd.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,144 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ * @file   s3c-otg-hcdi-hcd.h
+ * @brief  header of s3c-otg-hcdi-hcd \n
+ * @version 
+ *  -# Jun 9,2008 v1.0 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Creating the initial version of this code \n
+ *  -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Optimizing for performance \n
+ *  -# Aug 18,2008 v1.3 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Modifying for successful rmmod & disconnecting \n
+ * @see None
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+ 
+#ifndef _S3C_OTG_HCDI_HCD_H_
+#define _S3C_OTG_HCDI_HCD_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+//for IRQ_NONE (0) IRQ_HANDLED (1) IRQ_RETVAL(x)	((x) != 0)
+#include <linux/interrupt.h>	
+
+#include <linux/usb.h>
+//#include <../drivers/usb/core/hcd.h>
+
+#include "s3c-otg-hcdi-debug.h"
+#include "s3c-otg-hcdi-kal.h"
+
+#include "s3c-otg-common-common.h"
+#include "s3c-otg-common-datastruct.h"
+#include "s3c-otg-common-const.h"
+
+#include "s3c-otg-transfer-transfer.h"
+#include "s3c-otg-oci.h"
+#include "s3c-otg-roothub.h"
+
+//placed in ISR
+extern	void 	otg_handle_interrupt(void);
+
+int     otg_hcd_init_modules(void);
+void    otg_hcd_deinit_modules(void);
+
+
+irqreturn_t	s3c6410_otghcd_irq(struct usb_hcd *hcd);
+
+int	s3c6410_otghcd_start(struct usb_hcd *hcd);
+void	s3c6410_otghcd_stop(struct usb_hcd *hcd);
+void	s3c6410_otghcd_shutdown(struct usb_hcd *hcd);
+
+int	s3c6410_otghcd_get_frame_number(struct usb_hcd *hcd);
+
+int	s3c6410_otghcd_urb_enqueue(
+			struct usb_hcd *hcd,
+			struct urb *urb,
+			gfp_t mem_flags);
+
+int	s3c6410_otghcd_urb_dequeue(
+			struct usb_hcd *_hcd, 
+			struct urb *_urb,
+			int status);
+
+void	s3c6410_otghcd_endpoint_disable(
+			struct usb_hcd *hcd, 
+			struct usb_host_endpoint *ep);
+
+int	s3c6410_otghcd_hub_status_data(
+			struct usb_hcd *_hcd, 
+			char *_buf);
+
+int	s3c6410_otghcd_hub_control(
+			struct usb_hcd *hcd, 
+			u16 	type_req, 
+			u16 	value,
+			u16 	index, 
+			char *	buf, 
+			u16 	length);
+
+int	s3c6410_otghcd_bus_suspend(struct usb_hcd *hcd);
+int	s3c6410_otghcd_bus_resume(struct usb_hcd *hcd);
+int	s3c6410_otghcd_start_port_reset(struct usb_hcd *hcd, unsigned port);
+
+/**
+ * @struct hc_driver s3c6410_otg_hc_driver
+ * 
+ * @brief implementation of hc_driver for OTG HCD
+ * 
+ * describe in detail
+ */
+static const struct hc_driver s3c6410_otg_hc_driver = {
+	.description 		=	"EMSP_OTGHCD",
+	.product_desc		=	"S3C OTGHCD",
+
+	.irq 			= 	s3c6410_otghcd_irq,
+	.flags			=	HCD_MEMORY | HCD_USB2,
+
+	/** basic lifecycle operations	 */
+	//.reset = 
+	.start			=	s3c6410_otghcd_start,
+	//.suspend 		= 	, 
+	//.resume			= 	,
+	.stop			=	s3c6410_otghcd_stop,
+	.shutdown		=	s3c6410_otghcd_shutdown,
+
+	/** managing i/o requests and associated device resources	 */
+	.urb_enqueue		=	s3c6410_otghcd_urb_enqueue,
+	.urb_dequeue 		=	s3c6410_otghcd_urb_dequeue,
+	.endpoint_disable		=	s3c6410_otghcd_endpoint_disable,
+
+	/** scheduling support	 */
+	.get_frame_number	=	s3c6410_otghcd_get_frame_number,
+
+	/** root hub support	 */
+	.hub_status_data		=	s3c6410_otghcd_hub_status_data,
+	.hub_control		=	s3c6410_otghcd_hub_control,
+	//.hub_irq_enable = 
+	.bus_suspend		=	s3c6410_otghcd_bus_suspend,
+	.bus_resume 		=	s3c6410_otghcd_bus_resume,
+	.start_port_reset 		=	s3c6410_otghcd_start_port_reset,
+};
+
+#ifdef __cplusplus 
+} 
+#endif 
+#endif /* _S3C_OTG_HCDI_HCD_H_ */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-kal.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-kal.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-kal.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-kal.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,407 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ * @file   s3c-otg-hcdi-kal.h
+ * @brief  header of s3c-otg-hcdi-kal \n
+ * @version 
+ *  -# Jun 9,2008 v1.0 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Creating the initial version of this code \n
+ *  -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Optimizing for performance \n
+ *  -# Aug 18,2008 v1.3 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Modifying for successful rmmod & disconnecting \n
+ * @see None
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+ 
+#ifndef _S3C_OTG_HCDI_KAL_H_
+#define _S3C_OTG_HCDI_KAL_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#include "s3c-otg-hcdi-debug.h"
+#include "s3c-otg-common-common.h"
+#include "s3c-otg-common-datastruct.h"
+#include "s3c-otg-common-const.h"
+
+#include <asm/io.h>			//for readl, writel
+#include <linux/usb/ch9.h>	//for usb_device_driver, enum usb_device_speed
+#include <linux/usb.h>
+#include <../drivers/usb/core/hcd.h>
+
+extern	volatile 	u8 *		g_pUDCBase;
+extern 	struct		usb_hcd*	g_pUsbHcd;
+
+
+#if defined(__linux__)
+
+#include <linux/spinlock.h>
+#define		SPINLOCK_t			spinlock_t
+#define 	SPIN_LOCK_INIT		SPIN_LOCK_UNLOCKED
+
+#else
+
+#error Not supported OS
+
+#endif
+
+#define		spin_lock_otg(lock)			spin_lock(lock)
+#define 	spin_lock_irg_otg(lock)			spin_lock_irq(lock)	
+#define 	spin_lock_irg_save_otg(lock, flags)	spin_lock_irqsave(lock, flags)	
+
+#define 	spin_unlock_otg(lock)				spin_unlock(lock)
+#define 	spin_unlock_irq_otg(lock)			spin_unlock_irq(lock)	
+#define 	spin_unlock_irq_save_otg(lock, flags)		spin_unlock_irqrestore(lock, flags)
+
+#define 	ctrlr_base_reg_addr(offset) \
+			((volatile unsigned int *)((g_pUDCBase) + (offset)))
+/**
+ * otg_kal_make_ep_null
+ * 
+ * @brief make ep->hcpriv NULL
+ * 
+ * @param [in] pdelete_ed : pointer of ed
+ * 
+ * @return void \n
+ */
+static	inline	void	
+otg_kal_make_ep_null
+( 
+	ed_t		*pdelete_ed
+)
+{		
+	((struct usb_host_endpoint *)(pdelete_ed->ed_private))->hcpriv = NULL;
+}
+//---------------------------------------------------------------------------------------
+
+/**
+ * otg_kal_is_ep_null
+ * 
+ * @brief check ep->hcpriv is NULL or not
+ * 
+ * @param [in] pdelete_ed : pointer of ed
+ * 
+ * @return bool \n
+ */
+static	inline	bool	
+otg_kal_is_ep_null
+( 
+	ed_t		*pdelete_ed
+)
+{		
+	if (((struct usb_host_endpoint *)(pdelete_ed->ed_private))->hcpriv == NULL)
+		return true;
+	else
+		return false;
+}
+//---------------------------------------------------------------------------------------
+
+
+/**
+ * int	otg_usbcore_get_calc_bustime()
+ * 
+ * @brief get bus time of usbcore
+ * 
+ * @param [in] speed : usb speed
+ *		  [in] is_input : input or not
+ *		  [in] is_isoch : isochronous or not
+ *		  [in] byte_count : bytes
+ * 
+ * @return bus time of usbcore \n
+ */
+static	inline	int	
+otg_usbcore_get_calc_bustime
+( 
+	u8		speed,
+	bool 		is_input,
+	bool 		is_isoch,
+	unsigned int 	byte_count
+)
+{     
+	unsigned int	convert_speed = 0;
+
+	otg_dbg(OTG_DBG_OTGHCDI_KAL, "otg_usbcore_get_calc_bustime \n");	
+/*	enum usb_device_speed {
+		USB_SPEED_UNKNOWN = 0,			
+		USB_SPEED_LOW, USB_SPEED_FULL,		
+		USB_SPEED_HIGH, 			
+		USB_SPEED_VARIABLE, 	};*/
+	switch(speed)
+	{
+		case	HIGH_SPEED_OTG : 	convert_speed = USB_SPEED_HIGH; break;
+		case	FULL_SPEED_OTG :	convert_speed = USB_SPEED_FULL;	break;
+		case	LOW_SPEED_OTG :	convert_speed = USB_SPEED_LOW;	break;
+		default:			convert_speed = USB_SPEED_UNKNOWN;	break;	
+	}
+	return usb_calc_bus_time(convert_speed, is_input, (unsigned int)is_isoch, byte_count);    
+}
+	
+//-------------------------------------------------------------------------------
+
+/**
+ * void	otg_usbcore_giveback(td_t td_p)
+ * 
+ * @brief give-back a td as urb
+ * 
+ * @param [in] td_p : pointer of td_t to give back
+ * 
+ * @return void \n
+ */
+static	inline	void	
+otg_usbcore_giveback(td_t * td_p) 
+{     
+	struct urb *urb_p = NULL;
+	
+//	otg_dbg(OTG_DBG_OTGHCDI_KAL, "otg_usbcore_giveback \n");	
+	if (td_p->td_private == NULL)
+	{
+		otg_err(OTG_DBG_OTGHCDI_KAL, "td_p->td_private == NULL \n"); 
+		return;
+	}
+
+	urb_p = (struct urb *)td_p->td_private;
+	
+	urb_p->actual_length	= (int)(td_p->transferred_szie);
+	urb_p->status		= (int)(td_p->error_code);
+	urb_p->error_count	= (int)(td_p->err_cnt);
+	urb_p->hcpriv 		= NULL;	
+
+	usb_hcd_giveback_urb(g_pUsbHcd, urb_p, urb_p->status);
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void 	otg_usbcore_hc_died(void)
+ * 
+ * @brief inform usbcore of hc die
+ * 
+ * @return void \n
+ */
+static	inline	void 	
+otg_usbcore_hc_died(void) 
+{ 
+	otg_dbg(OTG_DBG_OTGHCDI_KAL, "otg_usbcore_hc_died \n");	
+    	usb_hc_died(g_pUsbHcd);
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void	otg_usbcore_poll_rh_status(void)
+ * 
+ * @brief invoke usbcore's usb_hcd_poll_rh_status
+ * 
+ * @param void
+ * 
+ * @return void \n
+ */
+static	inline	void	
+otg_usbcore_poll_rh_status(void) 
+{ 
+	usb_hcd_poll_rh_status(g_pUsbHcd);
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void	otg_usbcore_resume_roothub(void)
+ * 
+ * @brief invoke usbcore's usb_hcd_resume_root_hub
+ * 
+ * @param void
+ * 
+ * @return void \n
+ */
+static inline	void	
+otg_usbcore_resume_roothub(void) 
+{ 
+	otg_dbg(OTG_DBG_OTGHCDI_KAL, "otg_usbcore_resume_roothub \n");	
+    usb_hcd_resume_root_hub(g_pUsbHcd);
+};
+//-------------------------------------------------------------------------------
+
+/**
+ * int	otg_usbcore_inc_usb_bandwidth(u32 band_width)
+ * 
+ * @brief	increase bandwidth of usb bus
+ * 
+ * @param  [in] band_width : bandwidth to be increased
+ * 
+ * @return USB_ERR_SUCCESS \n
+ */
+static	inline	int	
+otg_usbcore_inc_usb_bandwidth(u32 band_width) 
+{ 
+	otg_dbg(OTG_DBG_OTGHCDI_KAL, "otg_usbcore_inc_usb_bandwidth \n");	
+	hcd_to_bus(g_pUsbHcd)->bandwidth_allocated += band_width; 
+	return USB_ERR_SUCCESS;    
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int 	otg_usbcore_des_usb_bandwidth(u32 uiBandwidth)
+ * 
+ * @brief	decrease bandwidth of usb bus
+ * 
+ * @param  [in] band_width : bandwidth to be decreased
+ * 
+ * @return USB_ERR_SUCCESS \n
+ */
+static	inline	int 	
+otg_usbcore_des_usb_bandwidth(u32 band_width) 
+{ 
+	otg_dbg(OTG_DBG_OTGHCDI_KAL, "otg_usbcore_des_usb_bandwidth \n");	
+	hcd_to_bus(g_pUsbHcd)->bandwidth_allocated -= band_width; 
+	return USB_ERR_SUCCESS;    
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int  	otg_usbcore_inc_periodic_transfer_cnt(u8 transfer_type)
+ * 
+ * @brief	increase count of periodic transfer
+ * 
+ * @param  [in] transfer_type : type of transfer
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ */
+static	inline	int  	
+otg_usbcore_inc_periodic_transfer_cnt(u8 transfer_type) 
+{ 
+	otg_dbg(OTG_DBG_OTGHCDI_KAL, "otg_usbcore_inc_periodic_transfer_cnt \n");	
+
+	switch(transfer_type)
+	{
+		case INT_TRANSFER :
+			hcd_to_bus(g_pUsbHcd)->bandwidth_int_reqs++;
+			break;
+		case ISOCH_TRANSFER :
+			hcd_to_bus(g_pUsbHcd)->bandwidth_isoc_reqs++;
+			break;
+		default:
+			otg_err(OTG_DBG_OTGHCDI_KAL, "not proper TransferType for otg_usbcore_inc_periodic_transfer_cnt()\n"); 
+			return USB_ERR_FAIL;
+	}	
+	return USB_ERR_SUCCESS;    
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int  	otg_usbcore_des_periodic_transfer_cnt(u8 transfer_type)
+ * 
+ * @brief	decrease count of periodic transfer
+ * 
+ * @param  [in] transfer_type : type of transfer
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ */
+static	inline	int  	
+otg_usbcore_des_periodic_transfer_cnt(u8 transfer_type) 
+{ 
+	otg_dbg(OTG_DBG_OTGHCDI_KAL, "otg_usbcore_des_periodic_transfer_cnt \n");	
+	
+	switch(transfer_type)
+	{
+		case INT_TRANSFER :
+			hcd_to_bus(g_pUsbHcd)->bandwidth_int_reqs--;
+			break;
+		case ISOCH_TRANSFER :
+			hcd_to_bus(g_pUsbHcd)->bandwidth_isoc_reqs--;
+			break;
+		default:
+			otg_err(OTG_DBG_OTGHCDI_KAL, "not proper TransferType for otg_usbcore_des_periodic_transfer_cnt()\n"); 
+			return USB_ERR_FAIL;
+	}	
+	return USB_ERR_SUCCESS;    
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * u32 read_reg_32(u32 offset)
+ * 
+ * @brief Reads the content of a register.
+ * 
+ * @param [in] offset : offset of address of register to read.
+ * 
+ * @return contents of the register. \n
+ * @remark call readl()
+ */
+static	inline	u32 read_reg_32(u32 offset)  
+{
+	volatile unsigned int * reg_addr_p = ctrlr_base_reg_addr(offset);
+	return *reg_addr_p;	
+	//return readl(reg_addr_p);
+};
+//-------------------------------------------------------------------------------
+
+/**
+ * void write_reg_32( u32 offset, const u32 value) 
+ * 
+ * @brief Writes a register with a 32 bit value.
+ * 
+ * @param [in] offset : offset of address of register to write.
+ * @param [in] value : value to write 
+ * 
+ * @remark call writel()
+ */
+static	inline	void write_reg_32( u32 offset, const u32 value)  
+{
+	volatile unsigned int * reg_addr_p = ctrlr_base_reg_addr(offset);
+	*reg_addr_p = value;
+	//writel( value, reg_addr_p );
+};
+//-------------------------------------------------------------------------------
+
+/**
+ * void	update_reg_32(u32 offset, u32 value)
+ * 
+ * @brief logic or operation
+ * 
+ * @param [in] offset : offset of address of register to write.
+ * @param [in] value : value to or 
+ * 
+ */
+static	inline	void update_reg_32(u32 offset, u32 value) 
+{ 
+	write_reg_32(offset, (read_reg_32(offset) | value));
+}
+//---------------------------------------------------------------------------------------
+
+/**
+ * void	clear_reg_32(u32	 offset, u32 value)
+ * 
+ * @brief logic not operation
+ * 
+ * @param [in] offset : offset of address of register to write.
+ * @param [in] value : value to not 
+ * 
+ */
+static	inline	void clear_reg_32(u32	 offset, u32 value) 
+{ 
+	write_reg_32(offset, (read_reg_32(offset) & ~value));
+}
+//---------------------------------------------------------------------------------------
+
+#ifdef __cplusplus 
+} 
+#endif 
+
+#endif /* _S3C_OTG_HCDI_KAL_H_ */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-list.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-list.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-list.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-list.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,225 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ * @file   s3c-otg-hcdi-list.h
+ * @brief  list functions for otg \n
+ * @version 
+ *  -# Jun 9,2008 v1.0 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Creating the initial version of this code \n
+ *  -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Optimizing for performance \n
+ * @see None
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef _S3C_OTG_HCDI_LIST_H_
+#define _S3C_OTG_HCDI_LIST_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#include "s3c-otg-common-common.h"
+#include "s3c-otg-hcdi-debug.h"
+
+#if defined(__linux__)
+
+#include <linux/list.h>
+
+typedef   struct  list_head    otg_list_head;
+
+#else
+
+#error Not supported OS
+
+#endif
+
+#define	otg_list_get_node(ptr, type, member) container_of(ptr, type, member)
+
+
+#define	otg_list_for_each_safe(pos, n, head) \
+				for (pos = (head)->next, n = pos->next; pos != (head); \
+					pos = n, n = pos->next)
+
+
+/**
+ * void	otg_list_push_next(otg_list_head *new_node_p, otg_list_head *list_head_p)
+ * 
+ * @brief push a list node into the next of head
+ * 
+ * @param [in] new_node_p : node to be pushed
+ * @param [in] otg_list_head : target list head
+ * 
+ * @return void \n
+ */
+
+static	inline	
+void	otg_list_push_next(otg_list_head *new_node_p, otg_list_head *list_head_p) 
+{     
+	otg_dbg(OTG_DBG_OTGHCDI_LIST, "otg_list_push_next \n");		
+	list_add(new_node_p, list_head_p);
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void	otg_list_push_prev(otg_list_head *new_node_p, otg_list_head *list_head_p)
+ * 
+ * @brief push a list node into the previous of head
+ * 
+ * @param [in] new_node_p : node to be pushed
+ * @param [in] otg_list_head : target list head
+ * 
+ * @return void \n
+ */
+static	inline	
+void	otg_list_push_prev(otg_list_head *new_node_p, otg_list_head *list_head_p) 
+{     
+	otg_dbg(OTG_DBG_OTGHCDI_LIST, "otg_list_push_prev \n");
+	list_add_tail(new_node_p, list_head_p);
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void	otg_list_pop(otg_list_head *list_entity_p)
+ * 
+ * @brief pop a list node
+ * 
+ * @param [in] new_node_p : node to be poped
+ * @param [in] otg_list_head : target list head
+ * 
+ * @return void \n
+ */
+static	inline	
+void	otg_list_pop(otg_list_head *list_entity_p) 
+{     
+	otg_dbg(OTG_DBG_OTGHCDI_LIST, "otg_list_pop \n");		
+	list_del(list_entity_p);
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void	otg_list_move_next(otg_list_head *node_p, otg_list_head *list_head_p)
+ * 
+ * @brief move a list to next of head
+ * 
+ * @param [in] new_node_p : node to be moved
+ * @param [in] otg_list_head : target list head
+ * 
+ * @return void \n
+ */
+static	inline	
+void	otg_list_move_next(otg_list_head *node_p, otg_list_head *list_head_p) 
+{     
+	otg_dbg(OTG_DBG_OTGHCDI_LIST, "otg_list_move_next \n");		
+	list_move(node_p, list_head_p);
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void	otg_list_move_prev(otg_list_head *node_p, otg_list_head *list_head_p)
+ * 
+ * @brief move a list to previous of head
+ * 
+ * @param [in] new_node_p : node to be moved
+ * @param [in] otg_list_head : target list head
+ * 
+ * @return void \n
+ */
+static	inline	
+void	otg_list_move_prev(otg_list_head *node_p, otg_list_head *list_head_p) 
+{ 
+	otg_dbg(OTG_DBG_OTGHCDI_LIST, "otg_list_move_prev \n");		
+	list_move_tail(node_p, list_head_p);
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * bool	otg_list_empty(otg_list_head *list_head_p)
+ * 
+ * @brief check a list empty or not
+ * 
+ * @param [in] list_head_p : node to check
+ * 
+ * @return true : empty list \n
+ * 		   false : not empty list
+ */
+static	inline	
+bool	otg_list_empty(otg_list_head *list_head_p) 
+{ 
+    
+	otg_dbg(OTG_DBG_OTGHCDI_LIST, "otg_list_empty \n");		
+	if(list_empty(list_head_p))
+		return true;
+	return false;
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void	otg_list_merge(otg_list_head *list_p, otg_list_head *head_p)
+ * 
+ * @brief merge two list
+ * 
+ * @param [in] list_p : a head 
+ * @param [in] head_p : target list head
+ * 
+ * @return void \n
+ */
+static	inline	
+void	otg_list_merge(otg_list_head *list_p, otg_list_head *head_p) 
+{     
+	otg_dbg(OTG_DBG_OTGHCDI_LIST, "otg_list_merge \n");			
+	list_splice(list_p, head_p);
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * void    otg_list_init(otg_list_head *list_p)
+ * 
+ * @brief initialize a list
+ * 
+ * @param [in] list_p : node to be initialized
+ * 
+ * @return void \n
+ */
+static	inline	
+void    otg_list_init(otg_list_head *list_p) 
+{     
+	otg_dbg(OTG_DBG_OTGHCDI_LIST, "otg_list_init \n");		
+	list_p->next = list_p;
+	list_p->prev = list_p;
+} 
+//-------------------------------------------------------------------------------
+
+/*
+void	otg_list_push_next(otg_list_head *new_node_p, otg_list_head *list_head_p );
+void	otg_list_push_prev(otg_list_head *new_node_p, otg_list_head *list_head_p);
+void	otg_list_pop(otg_list_head *list_entity_p);
+
+void	otg_list_move_next(otg_list_head *node_p, otg_list_head *list_head_p);
+void	otg_list_move_prev(otg_list_head *node_p, otg_list_head *list_head_p);
+
+bool	otg_list_empty(otg_list_head *list_head_p);
+void	otg_list_merge(otg_list_head *list_p, otg_list_head *head_p);
+void    otg_list_init(otg_list_head *list_p);
+*/
+
+#ifdef __cplusplus 
+} 
+#endif 
+#endif /* _S3C_OTG_HCDI_LIST_H_ */
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-memory.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-memory.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-hcdi-memory.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-hcdi-memory.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,180 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ * @file   s3c-otg-hcdi-memory.h
+ * @brief  header of s3c-otg-hcdi-memory \n
+ * @version 
+ *  -# Jun 9,2008 v1.0 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Creating the initial version of this code \n
+ *  -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  : Optimizing for performance \n
+ * @see None
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef _S3C_OTG_HCDI_MEMORY_H_
+#define _S3C_OTG_HCDI_MEMORY_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#include "s3c-otg-common-common.h"
+#include "s3c-otg-hcdi-debug.h"
+
+/**
+ * @enum otg_mem_alloc_flag
+ * 
+ * @brief enumeration for flag of memory allocation
+ */ 
+typedef	
+enum otg_mem_alloc_flag
+{
+    USB_MEM_SYNC, USB_MEM_ASYNC, USB_MEM_DMA
+}otg_mem_alloc_flag_t; 
+//---------------------------------------------------------------------------------------
+
+/*
+inline	int	otg_mem_alloc(void ** addr_pp, u16 byte_size, otg_mem_alloc_flag_t type);
+inline	int 	otg_mem_copy(void * to_addr_p, void * from_addr_p, u16 byte_size);
+//inline	int	otg_mem_free(void * addr_p);
+inline	int	otg_mem_set(void * addr_p, char value, u16 byte_size);
+*/
+	
+/**
+ * int	otg_mem_alloc(void ** addr_pp, u16 byte_size, u8 ubType);
+ * 
+ * @brief allocating momory specified
+ * 
+ * @param  [inout] addr_pp : address to be assigned
+ *         [in] byte_size : size of memory
+ *         [in] type : otg_mem_alloc_flag_t type
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *		   USB_ERR_FAIL : If call fail \n
+ */
+static	inline	int	
+otg_mem_alloc
+(
+	void ** addr_pp, 
+	u16 byte_size, 
+	otg_mem_alloc_flag_t type
+) 
+{	  
+	gfp_t flags;
+	otg_dbg(OTG_DBG_OTGHCDI_MEM, "otg_mem_alloc \n");	
+	
+	switch(type)
+	{
+		case USB_MEM_SYNC:	flags = GFP_KERNEL; break;
+		case USB_MEM_ASYNC: flags = GFP_ATOMIC; break;
+		case USB_MEM_DMA:	flags = GFP_DMA;	break;
+		default:
+			otg_err(OTG_DBG_OTGHCDI_MEM, "not proper otg_mem_alloc_flag_t in otg_mem_alloc \n");
+			return USB_ERR_FAIL;
+	}
+
+	*addr_pp = kmalloc((size_t)byte_size, flags);
+	if(*addr_pp == 0)
+	{
+		otg_err(OTG_DBG_OTGHCDI_MEM, "kmalloc failed\n");
+		return USB_ERR_FAIL;
+	}
+	return USB_ERR_SUCCESS;
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int	otg_mem_copy(void * to_addr_p, void * from_addr_p, u16 byte_size);
+ * 
+ * @brief memory copy
+ * 
+ * @param  [in] to_addr_p : target address 
+ *         [in] from_addr_p : source address
+ *         [in] byte_size : size 
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *	       USB_ERR_FAIL : If call fail \n
+ */
+static	inline	int	
+otg_mem_copy
+(
+	void * to_addr_p, 
+	void * from_addr_p, 
+	u16 byte_size
+)
+{ 
+	otg_dbg(OTG_DBG_OTGHCDI_MEM, "otg_mem_copy \n"); 	
+	
+	memcpy(to_addr_p, from_addr_p, (size_t)byte_size);
+	
+	return USB_ERR_SUCCESS;
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int	otg_mem_free(void * addr_p);
+ * 
+ * @brief de-allocating memory
+ * 
+ * @param  [in] addr_p : target address to be de-allocated
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *	       USB_ERR_FAIL : If call fail \n
+ */
+static	inline	int	
+otg_mem_free(void * addr_p)
+{ 
+	//otg_dbg(OTG_DBG_OTGHCDI_MEM, "otg_mem_free \n");		
+	kfree(addr_p);
+	return USB_ERR_SUCCESS;    
+} 
+
+//-------------------------------------------------------------------------------
+
+/**
+ * int	otg_mem_set(void * addr_p, char value, u16 byte_size)
+ * 
+ * @brief writing a value to memory 
+ * 
+ * @param  [in] addr_p : target address 
+ *         [in] value : value to be written
+ *         [in] byte_size : size 
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *		   USB_ERR_FAIL : If call fail \n
+ */
+static	inline	int	
+otg_mem_set
+(
+	void * addr_p, 
+	char value, 
+	u16 byte_size
+) 
+{ 
+	otg_dbg(OTG_DBG_OTGHCDI_MEM, "otg_mem_set \n");
+	memset(addr_p, value, (size_t)byte_size);
+	return USB_ERR_SUCCESS;    
+} 
+//-------------------------------------------------------------------------------
+
+	
+#ifdef __cplusplus 
+} 
+#endif 
+#endif /* _S3C_OTG_HCDI_MEMORY_H_ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-isr.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-isr.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-isr.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-isr.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,295 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : Isr.c
+ *  [Description] : The file implement the external and internal functions of ISR
+ *  [Author]      : Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *  [Department]  : System LSI Division/Embedded S/W Platform
+ *  [Created Date]: 2009/02/10
+ *  [Revision History] 	   
+ *	  (1) 2008/06/13   by Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *          - Created this file and implements functions of ISR
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-isr.h"
+
+/**
+ * void otg_handle_interrupt(void)
+ * 
+ * @brief Main interrupt processing routine
+ * 
+ * @param None
+ * 
+ * @return None
+ *
+ * @remark 
+ * 
+ */
+
+extern port_flags_t 	port_flag;
+extern bool 		ch_halt;
+
+__inline__ void otg_handle_interrupt(void)
+{
+	gintsts_t	clearIntr = {.d32 = 0};
+	gintsts_t	gintsts = {.d32 = 0};
+
+	gintsts.d32 = read_reg_32(GINTSTS) & read_reg_32(GINTMSK);
+	
+	if (gintsts.b.wkupintr)
+	{
+		otg_dbg(OTG_DBG_ISR, "Wakeup Interrupt\n");
+		clearIntr.b.wkupintr = 1;
+	}
+
+	if (gintsts.b.disconnect)
+	{
+		otg_dbg(OTG_DBG_ISR, "Disconnect  Interrupt\n");
+		port_flag.b.port_connect_status_change = 1;
+		port_flag.b.port_connect_status = 0;
+		clearIntr.b.disconnect = 1;
+	}
+
+	if (gintsts.b.conidstschng)
+	{
+		otg_dbg(OTG_DBG_ISR, "Connect ID Status Change Interrupt\n");
+		clearIntr.b.conidstschng = 1;
+		oci_init_mode();
+	}
+
+	if (gintsts.b.hcintr)
+	{
+		//Mask Channel Interrupt to prevent generating interrupt
+		//otg_dbg(OTG_DBG_ISR, "Channel Interrupt\n");
+		if(!ch_halt)
+		{
+			do_transfer_checker();
+		}
+		
+	}
+
+	if (gintsts.b.portintr)
+	{
+		// Read Only
+		otg_dbg(OTG_DBG_ISR, "Port Interrupt\n");
+		process_port_intr();
+	}
+
+
+	if (gintsts.b.otgintr)
+	{
+		// Read Only
+		//otg_dbg(OTG_DBG_ISR, "OTG Interrupt\n");
+	}
+
+	if (gintsts.b.sofintr)
+	{
+		//otg_dbg(OTG_DBG_ISR, "SOF Interrupt\n");
+		do_schedule();
+		clearIntr.b.sofintr = 1;
+	}
+
+	if (gintsts.b.modemismatch)
+	{
+		otg_dbg(OTG_DBG_ISR, "Mode Mismatch Interrupt\n");
+		clearIntr.b.modemismatch = 1;
+	}
+	update_reg_32(GINTSTS, clearIntr.d32);
+	
+}
+
+/**
+ * void mask_channel_interrupt(u32 ch_num, u32 mask_info)
+ * 
+ * @brief Mask specific channel interrupt
+ * 
+ * @param [IN] chnum : channel number for masking
+ *	   [IN] mask_info : mask information to write register
+ * 
+ * @return None
+ *
+ * @remark 
+ * 
+ */
+void mask_channel_interrupt(u32 ch_num, u32 mask_info)
+{
+	clear_reg_32(HCINTMSK(ch_num),mask_info);
+}
+
+/**
+ * void unmask_channel_interrupt(u32 ch_num, u32 mask_info)
+ * 
+ * @brief Unmask specific channel interrupt
+ * 
+ * @param [IN] chnum : channel number for unmasking
+ *	   [IN] mask_info : mask information to write register
+ * 
+ * @return None
+ *
+ * @remark 
+ * 
+ */
+void unmask_channel_interrupt(u32	ch_num, u32 mask_info)
+{
+	update_reg_32(HCINTMSK(ch_num),mask_info);
+}
+
+/**
+ * int get_ch_info(hc_info_t * hc_reg, u8 ch_num)
+ * 
+ * @brief Get current channel information about specific channel 
+ * 
+ * @param [OUT] hc_reg : structure to write channel inforamtion value
+ *	   [IN] ch_num : channel number for unmasking
+ * 
+ * @return None
+ *
+ * @remark 
+ * 
+ */
+int get_ch_info(hc_info_t *hc_reg, u8 ch_num)
+{
+	if(hc_reg !=NULL)
+	{
+		hc_reg->hc_int_msk.d32 	= read_reg_32(HCINTMSK(ch_num));
+		hc_reg->hc_int.d32 	= read_reg_32(HCINT(ch_num));
+		hc_reg->dma_addr 	= read_reg_32(HCDMA(ch_num));
+		hc_reg->hc_char.d32 	= read_reg_32(HCCHAR(ch_num));
+		hc_reg->hc_size.d32 	= read_reg_32(HCTSIZ(ch_num));
+
+		return USB_ERR_SUCCESS;
+	}
+	return USB_ERR_FAIL;
+}
+
+/**
+ * void get_intr_ch(u32* haint, u32* haintmsk)
+ * 
+ * @brief Get Channel Interrupt Information in HAINT, HAINTMSK register
+ * 
+ * @param [OUT] haint : HAINT register value
+ *	   [OUT] haintmsk : HAINTMSK register value
+ * 
+ * @return None
+ *
+ * @remark 
+ * 
+ */
+void get_intr_ch(u32 *haint, u32 *haintmsk)
+{
+	*haint = read_reg_32(HAINT);
+	*haintmsk = read_reg_32(HAINTMSK);
+}
+
+
+/**
+ * void clear_ch_intr(u8 ch_num, u32 clear_bit)
+ * 
+ * @brief Get Channel Interrupt Information in HAINT, HAINTMSK register
+ * 
+ * @param [IN] haint : HAINT register value
+ *	   [IN] haintmsk : HAINTMSK register value
+ * 
+ * @return None
+ *
+ * @remark 
+ * 
+ */
+void clear_ch_intr(u8 ch_num, u32 clear_bit)
+{
+	update_reg_32(HCINT(ch_num),clear_bit);
+}
+
+/**
+ * void enable_sof(void)
+ * 
+ * @brief Generate SOF Interrupt.
+ * 
+ * @param None
+ * 
+ * @return None
+ *
+ * @remark 
+ * 
+ */
+void enable_sof(void)
+{
+	gintmsk_t gintmsk = {.d32 = 0};
+	gintmsk.b.sofintr = 1;
+	update_reg_32(GINTMSK, gintmsk.d32);
+}
+
+/**
+ *  void disable_sof(void)
+ * 
+ * @brief Stop to generage SOF interrupt
+ * 
+ * @param None
+ * 
+ * @return None
+ *
+ * @remark 
+ * 
+ */
+ void disable_sof(void)
+{
+	gintmsk_t gintmsk = {.d32 = 0};
+	gintmsk.b.sofintr = 1;
+	clear_reg_32(GINTMSK, gintmsk.d32);
+}
+
+/*Internal function of isr */
+void process_port_intr(void)
+{
+	hprt_t	hprt;//by ss1, clear_hprt;
+	hprt.d32 = read_reg_32(HPRT);
+
+	otg_dbg(OTG_DBG_ISR,"\nPort Interrupt() : HPRT = 0x%x\n",hprt.d32);
+
+	if(hprt.b.prtconndet)
+	{
+		port_flag.b.port_connect_status_change = 1;
+
+		if(hprt.b.prtconnsts)
+			port_flag.b.port_connect_status = 1;
+	}
+
+		
+	if(hprt.b.prtenchng)
+	{
+		port_flag.b.port_enable_change = 1;
+	}
+
+	if(hprt.b.prtovrcurrchng)
+	{
+		otg_dbg(OTG_DBG_ISR,"over current condition is changed\n");
+		
+		if(hprt.b.prtovrcurract)
+			port_flag.b.port_over_current_change = 1;
+		else
+			port_flag.b.port_over_current_change = 0;
+	}	
+
+	hprt.b.prtena = 0; //prtena�� writeclear��Ű�� �ȵ�.
+	//hprt.b.prtpwr = 0;
+	hprt.b.prtrst = 0;
+	hprt.b.prtconnsts = 0;
+	write_reg_32(HPRT, hprt.d32);
+
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-isr.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-isr.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-isr.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-isr.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,72 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   :s3c-otg-isr.h
+ *  [Description] : The Header file defines the external and internal functions of ISR.
+ *  [Author]      : Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *  [Department]  : System LSI Division/Embedded S/W Platform
+ *  [Created Date]: 2008/06/18
+ *  [Revision History] 	     
+ *      (1) 2008/06/18   by Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *          - Created this file and defines functions of Scheduler
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef _ISR_H_
+#define _ISR_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#include "s3c-otg-common-errorcode.h"
+#include "s3c-otg-common-const.h"
+#include "s3c-otg-common-datastruct.h"
+#include "s3c-otg-common-regdef.h"
+#include "s3c-otg-hcdi-kal.h"
+#include "s3c-otg-scheduler-scheduler.h"
+#include "s3c-otg-transferchecker-common.h"
+#include "s3c-otg-roothub.h"
+#include "s3c-otg-oci.h"
+
+__inline__ void otg_handle_interrupt(void);
+
+void process_port_intr(void);
+
+void mask_channel_interrupt(u32 ch_num, u32 mask_info);
+
+void unmask_channel_interrupt(u32 ch_num, u32 mask_info);
+
+extern int get_ch_info(hc_info_t *hc_reg, u8 ch_num);
+
+extern void get_intr_ch(u32 *haint, u32 *haintmsk);
+
+extern void clear_ch_intr(u8 ch_num, u32 clear_bit);
+
+extern void enable_sof(void);
+
+extern void disable_sof(void);
+
+#ifdef __cplusplus 
+} 
+#endif 
+#endif /* _ISR_H_ */
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-oci.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-oci.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-oci.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-oci.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,798 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : OCI.c
+ *  [Description] : The file implement the external and internal functions of OCI
+ *  [Author]      : Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *  [Department]  : System LSI Division/Embedded S/W Platform
+ *  [Created Date]: 2009/02/10
+ *  [Revision History] 	   
+ *	  (1) 2008/06/12   by Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *          - Created this file and Implement functions of OCI
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-oci.h"
+
+static bool 	ch_enable[16];
+bool 		ch_halt;
+
+/**
+ * int oci_init(void)
+ * 
+ * @brief Initialize oci module.
+ * 
+ * @param None
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ * @remark 
+ * 
+ */
+int oci_init(void) 
+{ 
+	otg_mem_set((void*)ch_enable, true, sizeof(bool)*16);
+	ch_halt = false;
+
+	if(oci_sys_init() == USB_ERR_SUCCESS)
+	{
+		if(oci_core_reset() == USB_ERR_SUCCESS)
+		{
+			oci_set_global_interrupt(false);
+			return USB_ERR_SUCCESS;
+		}
+		else
+		{
+			//otg_dbg(OTG_DBG_OCI, "oci_core_reset() Fail\n");
+			return USB_ERR_FAIL;	
+		}
+	}
+	
+	return USB_ERR_FAIL;
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int oci_core_init(void)
+ * 
+ * @brief process core initialize as s3c6410 otg spec
+ * 
+ * @param None
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ * @remark 
+ * 
+ */
+int oci_core_init(void)
+{ 
+	gahbcfg_t ahbcfg 	= {.d32 = 0};
+	gusbcfg_t usbcfg 	= {.d32 = 0};
+	ghwcfg2_t hwcfg2 	= {.d32 = 0};
+	gintmsk_t gintmsk 	= {.d32 = 0};
+
+	//otg_dbg(OTG_DBG_OCI, "oci_core_init \n");	
+		
+	/* PHY parameters */
+	usbcfg.b.physel		= 0;
+	usbcfg.b.phyif 		= 1; // 16 bit
+	usbcfg.b.ulpi_utmi_sel 	= 0; // UTMI
+	//usbcfg.b.ddrsel 		= 1; // DDR
+	usbcfg.b.usbtrdtim 	= 5; // 16 bit UTMI
+	usbcfg.b.toutcal 		= 7;
+	write_reg_32 (GUSBCFG, usbcfg.d32);
+
+	// Reset after setting the PHY parameters 
+	if(oci_core_reset() == USB_ERR_SUCCESS)
+	{
+		/* Program the GAHBCFG Register.*/
+		hwcfg2.d32 = read_reg_32 (GHWCFG2);
+		
+		switch (hwcfg2.b.architecture)
+		{
+			case HWCFG2_ARCH_SLAVE_ONLY:
+				//otg_dbg(OTG_DBG_OCI, "Slave Only Mode\n");
+				ahbcfg.b.nptxfemplvl = 0;
+				ahbcfg.b.ptxfemplvl = 0;
+				break;
+
+			case HWCFG2_ARCH_EXT_DMA:
+				//otg_dbg(OTG_DBG_OCI, "External DMA Mode - TBD!\n");
+				break;
+
+			case HWCFG2_ARCH_INT_DMA:
+				//otg_dbg(OTG_DBG_OCI, "Internal DMA Setting \n");
+				ahbcfg.b.dmaenable = true;
+				ahbcfg.b.hburstlen = INT_DMA_MODE_INCR;
+				break;
+
+			default:
+				//otg_dbg(OTG_DBG_OCI, "ERR> hwcfg2\n ");
+				break;
+		}
+		write_reg_32 (GAHBCFG, ahbcfg.d32);
+
+		/* Program the GUSBCFG register.*/
+		switch (hwcfg2.b.op_mode) 
+		{
+			case MODE_HNP_SRP_CAPABLE:
+				//otg_dbg(OTG_DBG_OCI, "GHWCFG2 OP Mode : MODE_HNP_SRP_CAPABLE \n");
+				usbcfg.b.hnpcap = 1;
+				usbcfg.b.srpcap = 1;
+				break;
+
+			case MODE_SRP_ONLY_CAPABLE:
+				//otg_dbg(OTG_DBG_OCI, "GHWCFG2 OP Mode : MODE_SRP_ONLY_CAPABLE \n");
+				usbcfg.b.srpcap = 1;
+				break;
+
+			case MODE_NO_HNP_SRP_CAPABLE:
+				//otg_dbg(OTG_DBG_OCI, "GHWCFG2 OP Mode : MODE_NO_HNP_SRP_CAPABLE \n");
+				usbcfg.b.hnpcap = 0;
+				break;
+
+			case MODE_SRP_CAPABLE_DEVICE:
+				//otg_dbg(OTG_DBG_OCI, "GHWCFG2 OP Mode : MODE_SRP_CAPABLE_DEVICE \n");
+				usbcfg.b.srpcap = 1;
+				break;
+
+			case MODE_NO_SRP_CAPABLE_DEVICE:
+				//otg_dbg(OTG_DBG_OCI, "GHWCFG2 OP Mode : MODE_NO_SRP_CAPABLE_DEVICE \n");
+				usbcfg.b.srpcap = 0;
+				break;
+
+			case MODE_SRP_CAPABLE_HOST:
+				//otg_dbg(OTG_DBG_OCI, "GHWCFG2 OP Mode : MODE_SRP_CAPABLE_HOST \n");
+				usbcfg.b.srpcap = 1;
+				break;
+
+			case MODE_NO_SRP_CAPABLE_HOST:
+				//otg_dbg(OTG_DBG_OCI, "GHWCFG2 OP Mode : MODE_NO_SRP_CAPABLE_HOST \n");
+				usbcfg.b.srpcap = 0;
+				break;
+			default : 
+				//otg_dbg(OTG_DBG_OCI, "ERR> hwcfg2\n ");
+				break;
+		}
+		write_reg_32 (GUSBCFG, usbcfg.d32);
+
+		/* Program the GINTMSK register.*/
+		gintmsk.b.modemismatch	= 1;
+		gintmsk.b.sofintr 	= 1;
+		//gintmsk.b.otgintr		= 1;
+		gintmsk.b.conidstschng	= 1;
+		//gintmsk.b.wkupintr	= 1;
+		gintmsk.b.disconnect	= 1;
+		//gintmsk.b.usbsuspend	= 1;
+		//gintmsk.b.sessreqintr	= 1;
+		//gintmsk.b.portintr	= 1;
+		//gintmsk.b.hcintr		= 1;
+		write_reg_32(GINTMSK, gintmsk.d32);
+		
+		return USB_ERR_SUCCESS;
+	}
+	else
+	{
+		//otg_dbg(OTG_DBG_OCI, "Core Reset FAIL\n");
+		return USB_ERR_FAIL;
+	}
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int oci_host_init(void) 
+ * 
+ * @brief Process host initialize as s3c6410 spec
+ * 
+ * @param None
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ * @remark 
+ * 
+ */
+int oci_host_init(void) 
+{ 
+	gintmsk_t gintmsk = {.d32 = 0};
+	hcfg_t hcfg = {.d32 = 0};
+	hprt_t hprt;
+	hprt.d32 = read_reg_32(HPRT);
+	
+	//otg_dbg(OTG_DBG_OCI, "oci_host_init \n");	
+
+	gintmsk.b.portintr = 1;
+	update_reg_32(GINTMSK,gintmsk.d32);
+
+	hcfg.b.fslspclksel = HCFG_30_60_MHZ;
+	update_reg_32(HCFG, hcfg.d32);
+
+	/* turn on vbus */
+	if(!hprt.b.prtpwr)
+	{
+		hprt.b.prtpwr = 1;
+		write_reg_32(HPRT, hprt.d32);
+	}
+
+	oci_config_flush_fifo(OTG_HOST_MODE);
+
+	return USB_ERR_SUCCESS;
+    
+} 
+//-------------------------------------------------------------------------------
+
+
+/**
+ * int oci_start(void) 
+ * 
+ * @brief start to operate oci module by calling oci_core_init function
+ * 
+ * @param None
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ * @remark 
+ * 
+ */
+int oci_start(void) 
+{     
+	//otg_dbg(OTG_DBG_OCI, "oci_start \n");	
+
+	if(oci_core_init() == USB_ERR_SUCCESS)
+	{
+		mdelay(50);
+
+		if(oci_init_mode() == USB_ERR_SUCCESS)
+		{
+			oci_set_global_interrupt(true);
+			return USB_ERR_SUCCESS;
+		}
+		else
+		{
+			//otg_dbg(OTG_DBG_OCI, "oci_init_mode() Fail\n");
+			return USB_ERR_FAIL;
+		}
+	}
+	else
+	{
+		//otg_dbg(OTG_DBG_OCI, "oci_core_init() Fail\n");
+		return USB_ERR_FAIL;
+	}
+	
+
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int oci_stop(void) 
+ * 
+ * @brief stop to opearte otg core
+ * 
+ * @param None
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ * @remark 
+ * 
+ */
+int oci_stop(void) 
+{ 
+	//otg_dbg(OTG_DBG_OCI, "oci_stop \n");	
+
+	oci_set_global_interrupt(false);
+
+	root_hub_feature(0,
+		ClearPortFeature,
+		USB_PORT_FEAT_POWER,
+		NULL
+		);
+
+	return USB_ERR_SUCCESS;
+} 
+//-------------------------------------------------------------------------------
+
+
+/**
+ * oci_start_transfer( stransfer_t *st_t) 
+ * 
+ * @brief start transfer by using transfer information to receive from scheduler
+ * 
+ * @param [IN] *st_t - information about transfer to write register by calling oci_channel_init function
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ * @remark 
+ * 
+ */
+
+u8 oci_start_transfer( stransfer_t *st_t) 
+{ 
+	hcchar_t	hcchar = {.d32 = 0};
+	//otg_dbg(OTG_DBG_OCI, "oci_start_transfer \n");	
+
+	if(st_t->alloc_chnum ==CH_NONE)
+	{
+	
+		if( oci_channel_alloc(&(st_t->alloc_chnum)) == USB_ERR_SUCCESS)
+		{
+			oci_channel_init(st_t->alloc_chnum, st_t);
+
+			hcchar.b.chen = 1;
+			update_reg_32(HCCHAR(st_t->alloc_chnum), hcchar.d32);
+			return st_t->alloc_chnum;
+		}
+		else
+		{
+			otg_dbg(OTG_DBG_OCI, "oci_start_transfer Fail - Channel Allocation Error\n");	
+			return CH_NONE;
+		}
+	}
+	else
+	{
+		oci_channel_init(st_t->alloc_chnum, st_t);
+
+		hcchar.b.chen = 1;
+		update_reg_32(HCCHAR(st_t->alloc_chnum), hcchar.d32);
+
+		return st_t->alloc_chnum;	
+	}
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int oci_stop_transfer(u8 ch_num) 
+ * 
+ * @brief stop to transfer even if transfering
+ * 
+ * @param None
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ * @remark 
+ * 
+ */
+int oci_stop_transfer(u8 ch_num) 
+{ 
+	hcchar_t	hcchar = {.d32 = 0};
+	hcintmsk_t	hcintmsk = {.d32 = 0};
+	int count = 0, max_error_count = 10000;
+		
+	otg_dbg(OTG_DBG_OCI, "step1: oci_stop_transfer ch=%d, hcchar=0x%x\n",
+			ch_num, read_reg_32(HCCHAR(ch_num)));	
+
+	if(ch_num>16)
+	{
+		return USB_ERR_FAIL;
+	}
+	
+	ch_halt = true;
+
+	hcintmsk.b.chhltd = 1;
+	update_reg_32(HCINTMSK(ch_num),hcintmsk.d32);
+
+	hcchar.b.chdis = 1;
+	hcchar.b.chen = 1;
+	update_reg_32(HCCHAR(ch_num),hcchar.d32);
+
+	//wait for  Channel Disabled Interrupt
+	do {
+		hcchar.d32 = read_reg_32(HCCHAR(ch_num));
+		
+		if(count > max_error_count) {
+			otg_dbg(OTG_DBG_OCI, "Warning!! oci_stop_transfer()"
+				"ChDis is not cleared! ch=%d, hcchar=0x%x\n",
+				ch_num, hcchar.d32);	
+			return USB_ERR_FAIL;
+		}
+		count++;
+
+	} while(hcchar.b.chdis);
+	
+	oci_channel_dealloc(ch_num);
+
+	clear_reg_32(HAINTMSK,ch_num);
+	write_reg_32(HCINT(ch_num),INT_ALL);
+	clear_reg_32(HCINTMSK(ch_num), INT_ALL);
+
+	ch_halt =false;
+	otg_dbg(OTG_DBG_OCI, "step2 : oci_stop_transfer ch=%d, hcchar=0x%x\n",
+			ch_num, read_reg_32(HCCHAR(ch_num)));	
+	
+	return USB_ERR_SUCCESS;    
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * int oci_channel_init( u8 ch_num, stransfer_t *st_t) 
+ * 
+ * @brief Process channel initialize to prepare starting transfer
+ * 
+ * @param None
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ * @remark 
+ * 
+ */
+int oci_channel_init( u8 ch_num, stransfer_t *st_t) 
+{ 
+	u32 		intr_enable = 0;
+	gintmsk_t	gintmsk = {.d32 = 0};
+	hcchar_t		hcchar = {.d32 = 0};
+	hctsiz_t		hctsiz = {.d32 = 0};
+
+	//otg_dbg(OTG_DBG_OCI, "oci_channel_init \n");	
+
+	//Clear channel information
+	write_reg_32(HCTSIZ(ch_num), 0);
+	write_reg_32(HCCHAR(ch_num), 0);
+	write_reg_32(HCINTMSK(ch_num), 0);
+	write_reg_32(HCINT(ch_num), INT_ALL);//write clear
+	write_reg_32(HCDMA(ch_num), 0);
+
+	//enable host channel interrupt in GINTSTS
+	gintmsk.b.hcintr =1;
+	update_reg_32(GINTMSK, gintmsk.d32);
+	// Enable the top level host channel interrupt in HAINT
+	intr_enable = (1 << ch_num);
+	update_reg_32(HAINTMSK, intr_enable);
+	// unmask the down level host channel interrupt in HCINT
+	write_reg_32(HCINTMSK(ch_num),st_t->hc_reg.hc_int_msk.d32);
+	
+	// Program the HCSIZn register with the endpoint characteristics for
+	hctsiz.b.xfersize = st_t->buf_size;
+	hctsiz.b.pktcnt = st_t->packet_cnt;
+
+	// Program the HCCHARn register with the endpoint characteristics for
+	hcchar.b.mps = st_t->ed_desc_p->max_packet_size;
+	hcchar.b.epnum = st_t->ed_desc_p->endpoint_num;
+	hcchar.b.epdir = st_t->ed_desc_p->is_ep_in;
+	hcchar.b.lspddev = (st_t->ed_desc_p->dev_speed == LOW_SPEED_OTG);
+	hcchar.b.eptype = st_t->ed_desc_p->endpoint_type;
+	hcchar.b.multicnt = st_t->ed_desc_p->mc;
+	hcchar.b.devaddr = st_t->ed_desc_p->device_addr;
+	
+	if(st_t->ed_desc_p->endpoint_type == INT_TRANSFER ||
+		st_t->ed_desc_p->endpoint_type == ISOCH_TRANSFER)
+	{
+		u32 uiFrameNum = 0;
+		uiFrameNum = oci_get_frame_num();
+
+		hcchar.b.oddfrm = uiFrameNum%2?1:0;
+
+		//if transfer type is periodic transfer, must support sof interrupt
+		/*
+		gintmsk.b.sofintr = 1;
+		update_reg_32(GINTMSK, gintmsk.d32);
+		*/
+	}
+	
+	
+	if(st_t->ed_desc_p->endpoint_type == CONTROL_TRANSFER)
+	{
+		td_t  *td_p;
+		td_p = (td_t *)st_t->parent_td;
+		
+		switch(td_p->standard_dev_req_info.conrol_transfer_stage)
+		{
+			case SETUP_STAGE:
+				hctsiz.b.pid = st_t->ed_status_p->control_data_tgl.setup_tgl;
+				hcchar.b.epdir = EP_OUT;
+				break;
+			case DATA_STAGE:
+				hctsiz.b.pid = st_t->ed_status_p->control_data_tgl.data_tgl;
+				hcchar.b.epdir = st_t->ed_desc_p->is_ep_in;
+				break;
+			case STATUS_STAGE:
+				hctsiz.b.pid = st_t->ed_status_p->control_data_tgl.status_tgl;
+				
+				if(td_p->standard_dev_req_info.is_data_stage)
+				{
+					hcchar.b.epdir = ~(st_t->ed_desc_p->is_ep_in);	
+				}
+				else
+				{
+					hcchar.b.epdir = EP_IN;	
+				}
+				break;
+			default:break;
+		}
+	}
+	else
+	{
+		hctsiz.b.pid = st_t->ed_status_p->data_tgl;
+	}
+	
+	hctsiz.b.dopng = st_t->ed_status_p->is_ping_enable;
+	write_reg_32(HCTSIZ(ch_num),hctsiz.d32);
+	st_t->ed_status_p->is_ping_enable = false;
+
+	// Write DMA Address
+	write_reg_32(HCDMA(ch_num),st_t->start_phy_buf_addr);
+
+	//Wrote HCCHAR Register
+	write_reg_32(HCCHAR(ch_num),hcchar.d32);
+
+	return USB_ERR_SUCCESS;    
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * u32 oci_get_frame_num(void) 
+ * 
+ * @brief Get current frame number by reading register.
+ * 
+ * @param None
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ * @remark 
+ * 
+ */
+u32 oci_get_frame_num(void) 
+{ 
+	hfnum_t hfnum;
+	hfnum.d32 = read_reg_32(HFNUM); 
+	return hfnum.b.frnum;
+} 
+//-------------------------------------------------------------------------------
+
+/**
+ * u16 oci_get_frame_interval(void) 
+ * 
+ * @brief Get current frame interval by reading register.
+ * 
+ * @param None
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ * @remark 
+ * 
+ */
+u16 oci_get_frame_interval(void) 
+{ 
+	hfir_t hfir;
+	hfir.d32 = read_reg_32(HFIR);
+	return hfir.b.frint;    
+} 
+//-------------------------------------------------------------------------------
+
+void oci_set_frame_interval(u16 interval)
+{
+	hfir_t hfir = {.d32 = 0};
+	hfir.b.frint = interval;
+	write_reg_32(HFIR, hfir.d32);
+	
+}
+
+///OCI Internal Functions
+
+int oci_channel_alloc(u8 *ch_num)
+{
+	u8 ch;
+	
+	hcchar_t	hcchar = {.d32 = 0};	
+	
+	for(ch = 0 ; ch<16 ; ch++) {
+		
+		if(ch_enable[ch] == true) {
+			hcchar.d32 = read_reg_32(HCCHAR(ch));
+		
+			if(hcchar.b.chdis == 0) {
+				*ch_num = ch;
+				ch_enable[ch] = false;
+				return USB_ERR_SUCCESS;
+			}
+		}
+		
+	}
+
+	return USB_ERR_FAIL; 
+}
+
+int oci_channel_dealloc(u8 ch_num)
+{
+	if(ch_num < 16 && ch_enable[ch_num] == false)
+	{
+		ch_enable[ch_num] = true;
+
+		write_reg_32(HCTSIZ(ch_num), 0);
+		write_reg_32(HCCHAR(ch_num), 0);
+		write_reg_32(HCINTMSK(ch_num), 0);
+		write_reg_32(HCINT(ch_num), INT_ALL);
+		write_reg_32(HCDMA(ch_num), 0);
+		return USB_ERR_SUCCESS;
+	}
+	return USB_ERR_FAIL;
+}
+
+int oci_sys_init(void)
+{
+	otg_phy_init();
+	return USB_ERR_SUCCESS;
+}
+
+void oci_set_global_interrupt(bool set)
+{
+	gahbcfg_t ahbcfg;
+	
+	ahbcfg.d32 = 0;
+	ahbcfg.b.glblintrmsk = 1;
+	
+	if(set)
+	{
+		update_reg_32(GAHBCFG,ahbcfg.d32);
+	}
+	else
+	{
+		clear_reg_32(GAHBCFG,ahbcfg.d32);
+	}
+}
+
+int oci_init_mode(void)
+{
+	gintsts_t	gintsts;
+	gintsts.d32 = read_reg_32(GINTSTS);
+	//otg_dbg(OTG_DBG_OCI,"GINSTS = 0x%x\n",(unsigned int)gintsts.d32);
+	//otg_dbg(OTG_DBG_OCI,"GINMSK = 0x%x\n",(unsigned int)read_reg_32(GINTMSK));
+
+	if(gintsts.b.curmode == OTG_HOST_MODE)
+	{
+		//otg_dbg(OTG_DBG_OCI,"HOST Mode\n");
+		if(oci_host_init() == USB_ERR_SUCCESS)
+		{
+			return USB_ERR_SUCCESS;
+		}
+		else
+		{
+			//otg_dbg(OTG_DBG_OCI,"oci_host_init() Fail\n");
+			return USB_ERR_FAIL;
+		}
+	}
+
+	else		// Device Mode
+	{
+		//otg_dbg(OTG_DBG_OCI,"DEVICE Mode\n");
+		if(oci_dev_init() == USB_ERR_SUCCESS)
+		{
+			return USB_ERR_SUCCESS;
+		}
+		else
+		{
+			//otg_dbg(OTG_DBG_OCI,"oci_dev_init() Fail\n");
+			return USB_ERR_FAIL;
+		}
+	}
+	
+	return USB_ERR_SUCCESS;
+}
+
+void oci_config_flush_fifo(u32 mode)
+{
+	ghwcfg2_t hwcfg2 = {.d32 = 0};
+	//otg_dbg(OTG_DBG_OCI,"oci_config_flush_fifo\n");
+
+	hwcfg2.d32 = read_reg_32(GHWCFG2);
+
+	// Configure data FIFO sizes
+	if (hwcfg2.b.dynamic_fifo) 
+	{
+		// Rx FIFO
+		write_reg_32(GRXFSIZ, 0x0000010D);
+
+		// Non-periodic Tx FIFO 
+		write_reg_32(GNPTXFSIZ, 0x0080010D);
+
+		if (mode == OTG_HOST_MODE) 
+		{
+			// For Periodic transactions,
+			// program HPTXFSIZ
+		}
+	}
+
+	// Flush the FIFOs
+	oci_flush_tx_fifo(0);
+
+	oci_flush_rx_fifo();
+}
+
+void oci_flush_tx_fifo(u32 num)
+{
+	grstctl_t greset = {.d32 = 0};
+	u32 count = 0;
+	
+	//otg_dbg(OTG_DBG_OCI,"oci_flush_tx_fifo\n");
+	
+	greset.b.txfflsh = 1;
+	greset.b.txfnum = num;
+	write_reg_32(GRSTCTL, greset.d32);
+
+	// wait for flush to end
+	while (greset.b.txfflsh == 1) 
+	{
+		greset.d32 = read_reg_32(GRSTCTL);
+		if (++count > MAX_COUNT)
+		{
+			break;
+		}
+	};
+
+	/* Wait for 3 PHY Clocks*/
+	udelay(30);
+}
+
+void oci_flush_rx_fifo(void)
+{
+	grstctl_t greset = {.d32 = 0};
+	u32 count = 0;
+
+	//otg_dbg(OTG_DBG_OCI,"oci_flush_rx_fifo\n");
+	
+	greset.b.rxfflsh = 1;
+	write_reg_32(GRSTCTL, greset.d32 );
+
+	do 
+	{
+		greset.d32 = read_reg_32(GRSTCTL);
+
+		if (++count > MAX_COUNT)
+		{
+			break;
+		}
+
+	} while (greset.b.rxfflsh == 1);
+
+	/* Wait for 3 PHY Clocks*/
+	udelay(30);
+}
+
+int oci_core_reset(void)
+{
+	u32 count = 0;
+	grstctl_t greset = {.d32 = 0};
+
+	//otg_dbg(OTG_DBG_OCI,"oci_core_reset\n");
+
+	/* Wait for AHB master IDLE state. */
+	do 
+	{
+		greset.d32 = read_reg_32 (GRSTCTL);
+		mdelay (50);
+
+		if(++count>100)
+		{
+			//otg_dbg(OTG_DBG_OCI,"AHB status is not IDLE\n");
+			return USB_ERR_FAIL;
+		}
+	} while (greset.b.ahbidle != 1);
+
+	/* Core Soft Reset */
+	greset.b.csftrst = 1;
+	write_reg_32 (GRSTCTL, greset.d32);
+	
+	/* Wait for 3 PHY Clocks*/
+	mdelay (50);
+	return USB_ERR_SUCCESS;
+}
+
+int oci_dev_init(void)
+{
+	//otg_dbg(OTG_DBG_OCI,"Current Not Support Device Mode! \n");
+	//return USB_ERR_FAIL;
+	return USB_ERR_SUCCESS;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-oci.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-oci.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-oci.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-oci.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,86 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   :s3c-otg-oci.h
+ *  [Description] : The Header file defines the external and internal functions of OCI.
+ *  [Author]      : Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *  [Department]  : System LSI Division/Embedded S/W Platform
+ *  [Created Date]: 2008/06/18
+ *  [Revision History] 	     
+ *      (1) 2008/06/25   by Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *          - Added some functions and data structure of OCI
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+ 
+#ifndef _OCI_H_
+#define _OCI_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+//#include "s3c-otg-common-const.h"
+#include "s3c-otg-common-errorcode.h"
+#include "s3c-otg-common-regdef.h"
+#include "s3c-otg-hcdi-kal.h"
+#include "s3c-otg-hcdi-memory.h"
+#include "s3c-otg-hcdi-debug.h"
+#include "s3c-otg-roothub.h"
+#include "s3c-otg-hcdi-hcd.h"
+
+#include <mach/map.h>	//virtual address for smdk
+
+extern void otg_phy_init(void);
+#include <plat/regs-clock.h>
+
+///OCI interace
+int	oci_init(void);
+	
+int	oci_start(void);
+int	oci_stop(void);
+
+u8	oci_start_transfer(stransfer_t *st_t);
+int	oci_stop_transfer(u8 ch_num);
+
+int	oci_channel_init(u8 ch_num, stransfer_t *st_t);
+u32	oci_get_frame_num(void);
+u16	oci_get_frame_interval(void);
+void	oci_set_frame_interval(u16 intervl);
+
+///OCI Internal Functions
+int	oci_sys_init(void);
+int	oci_core_init(void);
+int	oci_init_mode(void);
+int	oci_host_init(void);
+int	oci_dev_init(void);
+
+int	oci_channel_alloc(u8 *ch_num);
+int	oci_channel_dealloc(u8 ch_num);
+
+void	oci_config_flush_fifo(u32 mode);
+void	oci_flush_tx_fifo(u32 num);
+void	oci_flush_rx_fifo(void);
+
+int	oci_core_reset(void);
+void	oci_set_global_interrupt(bool set);
+
+#ifdef __cplusplus 
+} 
+#endif 
+#endif /* _OCI_H_ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-roothub.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-roothub.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-roothub.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-roothub.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,473 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : RootHub.c
+ *  [Description] : The file implement the external and internal functions of RootHub
+ *  [Author]      : Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *  [Department]  : System LSI Division/Embedded S/W Platform
+ *  [Created Date]: 2009/02/10
+ *  [Revision History] 	   
+ *	  (1) 2008/06/13   by Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *          - Created this file and implements functions of RootHub
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-roothub.h"
+
+port_flags_t port_flag;
+
+/**
+ * int get_otg_port_status(const u8 port, char* status)
+ * 
+ * @brief Get port change bitmap information 
+ * 
+ * @param [IN] port : port number
+ *	   [OUT] status : buffer to store bitmap information
+ * 
+ * @returnUSB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ *
+ * @remark 
+ * 
+ */
+__inline__ int get_otg_port_status(const u8 port, char *status)
+{
+	//return root_hub_feature(port, GetPortStatus, NULL, status);
+
+	status[port] = 0;
+	status[port] |= (port_flag.b.port_connect_status_change ||
+		    	port_flag.b.port_reset_change ||
+		    	port_flag.b.port_enable_change ||
+		    	port_flag.b.port_suspend_change ||
+		    	port_flag.b.port_over_current_change) << 1;
+
+	if (status[port]) {
+		otg_dbg(OTG_DBG_ROOTHUB, " Root port status changed\n");
+		otg_dbg(OTG_DBG_ROOTHUB, "  port_connect_status_change: %d\n",
+			    port_flag.b.port_connect_status_change);
+		otg_dbg(OTG_DBG_ROOTHUB, "  port_reset_change: %d\n",
+			    port_flag.b.port_reset_change);
+		otg_dbg(OTG_DBG_ROOTHUB,  "  port_enable_change: %d\n",
+			    port_flag.b.port_enable_change);
+		otg_dbg(OTG_DBG_ROOTHUB, "  port_suspend_change: %d\n",
+			    port_flag.b.port_suspend_change);
+		otg_dbg(OTG_DBG_ROOTHUB, "  port_over_current_change: %d\n",
+			    port_flag.b.port_over_current_change);
+	}
+
+	return (status[port] !=0);
+}
+
+/**
+ * int reset_and_enable_port(const u8 port)
+ * 
+ * @brief Reset port and make enable status the specific port
+ * 
+ * @param [IN] port : port number
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ *
+ * @remark 
+ * 
+ */
+int reset_and_enable_port(const u8 port)
+{
+	hprt_t hprt;
+	u32 count = 0;
+	u32 max_error_count = 10000;
+	
+	hprt.d32 = read_reg_32(HPRT);
+
+	if(hprt.b.prtconnsts==0)
+	{
+		otg_dbg(OTG_DBG_ROOTHUB,"No Attached Device, HPRT = 0x%x\n", hprt.d32);
+
+		port_flag.b.port_connect_status_change = 1;
+		port_flag.b.port_connect_status = 0;
+
+		return USB_ERR_FAIL;
+	}
+	
+	if(!hprt.b.prtena)
+	{
+		hprt.b.prtrst = 1; 	// drive reset
+		write_reg_32(HPRT, hprt.d32);
+
+		mdelay(60);
+		hprt.b.prtrst = 0;
+		write_reg_32(HPRT, hprt.d32);
+
+		do {
+			hprt.d32 = read_reg_32(HPRT);
+			
+			if(count > max_error_count) {
+				otg_dbg(OTG_DBG_ROOTHUB,"Port Reset Fail : HPRT : 0x%x\n", hprt.d32);			
+				return USB_ERR_FAIL;
+			}
+			count++;
+
+		} while(!hprt.b.prtena);
+
+	}
+	return USB_ERR_SUCCESS;
+}
+
+/**
+ * int root_hub_feature(const u8 port, 
+ *		     const u16 type_req, 
+ *		     const u16 feature,
+ *		     void* buf)
+ * 
+ * @brief Get port change bitmap information 
+ * 
+ * @param [IN] port : port number
+ *	   [IN] type_req : request type of hub feature as usb 2.0 spec
+ *	   [IN] feature : hub feature as usb 2.0 spec
+ *	   [OUT] status : buffer to store results
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ *
+ * @remark 
+ * 
+ */
+__inline__ int root_hub_feature(const u8 port, 
+		     const u16 type_req, 
+		     const u16 feature,
+		     void *buf)
+{
+	int retval = USB_ERR_SUCCESS;
+	usb_hub_descriptor_t *desc = NULL;
+	u32 port_status = 0;
+	hprt_t hprt = {.d32 = 0};
+
+	switch (type_req) 
+	{
+	case ClearHubFeature:
+		otg_dbg(OTG_DBG_ROOTHUB,"case ClearHubFeature\n");
+		switch (feature) 
+		{
+			case C_HUB_LOCAL_POWER:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearHubFeature -C_HUB_LOCAL_POWER \n");
+				break;
+			case C_HUB_OVER_CURRENT:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearHubFeature -C_HUB_OVER_CURRENT \n");
+				/* Nothing required here */
+				break;
+			default:
+				retval = USB_ERR_FAIL;
+		}
+		break;
+		
+	case ClearPortFeature:
+		otg_dbg(OTG_DBG_ROOTHUB,"case ClearPortFeature\n");
+		switch (feature) 
+		{
+			case USB_PORT_FEAT_ENABLE:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearPortFeature -USB_PORT_FEAT_ENABLE \n");
+				hprt.b.prtena = 1;
+				update_reg_32(HPRT, hprt.d32);
+				break;
+				
+			case USB_PORT_FEAT_SUSPEND:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearPortFeature -USB_PORT_FEAT_SUSPEND \n");
+				bus_resume();
+				break;
+				
+			case USB_PORT_FEAT_POWER:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearPortFeature -USB_PORT_FEAT_POWER \n");
+				hprt.b.prtpwr = 1;
+				clear_reg_32(HPRT, hprt.d32);
+				break;
+				
+			case USB_PORT_FEAT_INDICATOR:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearPortFeature -USB_PORT_FEAT_INDICATOR \n");
+				/* Port inidicator not supported */
+				break;
+
+			case USB_PORT_FEAT_C_CONNECTION:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearPortFeature -USB_PORT_FEAT_C_CONNECTION \n");
+				/* Clears drivers internal connect status change
+				 * flag */
+				port_flag.b.port_connect_status_change = 0;
+				break;
+				
+			case USB_PORT_FEAT_C_RESET:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearPortFeature -USB_PORT_FEAT_C_RESET \n");
+				/* Clears the driver's internal Port Reset Change
+				 * flag */
+				port_flag.b.port_reset_change = 0;
+				break;
+				
+			case USB_PORT_FEAT_C_ENABLE:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearPortFeature -USB_PORT_FEAT_C_ENABLE \n");
+				/* Clears the driver's internal Port
+				 * Enable/Disable Change flag */
+				port_flag.b.port_enable_change = 0;
+				break;
+				
+			case USB_PORT_FEAT_C_SUSPEND:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearPortFeature -USB_PORT_FEAT_C_SUSPEND \n");
+				/* Clears the driver's internal Port Suspend
+				 * Change flag, which is set when resume signaling on
+				 * the host port is complete */
+				port_flag.b.port_suspend_change = 0;
+				break;
+				
+			case USB_PORT_FEAT_C_OVER_CURRENT:
+				otg_dbg(OTG_DBG_ROOTHUB,"case ClearPortFeature -USB_PORT_FEAT_C_OVER_CURRENT \n");
+				port_flag.b.port_over_current_change = 0;
+				break;
+				
+			default:
+				retval = USB_ERR_FAIL;
+		}
+		break;
+		
+	case GetHubDescriptor:
+		otg_dbg(OTG_DBG_ROOTHUB,"case GetHubDescriptor\n");
+		desc = (usb_hub_descriptor_t *)buf;
+		desc->desc_length = 9;
+		desc->desc_type = 0x29;
+		desc->port_number = 1;
+		desc->hub_characteristics = 0x08;
+		desc->power_on_to_power_good = 1;
+		desc->hub_control_current = 0;
+		desc->bitmap[0] = 0;
+		desc->bitmap[1] = 0xff;
+		break;
+
+	case GetHubStatus:
+		otg_dbg(OTG_DBG_ROOTHUB,"case GetHubStatus\n");
+		otg_mem_set(buf, 0, 4);
+		break;
+
+	case GetPortStatus:
+		//otg_dbg(OTG_DBG_ROOTHUB_KH,"case GetPortStatus\n");
+		
+
+		if (port_flag.b.port_connect_status_change)
+			port_status |= (1 << USB_PORT_FEAT_C_CONNECTION);
+
+		if (port_flag.b.port_enable_change)
+			port_status |= (1 << USB_PORT_FEAT_C_ENABLE);
+
+		if (port_flag.b.port_suspend_change)
+			port_status |= (1 << USB_PORT_FEAT_C_SUSPEND);
+
+		if (port_flag.b.port_reset_change)
+			port_status|= (1 << USB_PORT_FEAT_C_RESET);
+
+		if (port_flag.b.port_over_current_change) 
+			port_status |= (1 << USB_PORT_FEAT_C_OVER_CURRENT);
+			
+
+		if (!port_flag.b.port_connect_status) 
+		{
+			//
+			// The port is disconnected, which means the core is
+			// either in device mode or it soon will be. Just
+			// return 0's for the remainder of the port status
+			// since the port register can't be read if the core
+			// is in device mode.
+			
+			 *((__le32*)buf) = cpu_to_le32(port_status);
+			break;
+		}
+		
+		
+		hprt.d32 = read_reg_32(HPRT);
+
+		if (hprt.b.prtconnsts) 
+			port_status|= (1 << USB_PORT_FEAT_CONNECTION);
+
+		if (hprt.b.prtena)
+			port_status |= (1 << USB_PORT_FEAT_ENABLE);
+
+		if (hprt.b.prtsusp)
+			port_status |= (1 << USB_PORT_FEAT_SUSPEND);
+
+		if (hprt.b.prtovrcurract)
+			port_status |= (1 << USB_PORT_FEAT_OVER_CURRENT);
+
+		if (hprt.b.prtrst)
+			port_status |= (1 << USB_PORT_FEAT_RESET);
+
+		if (hprt.b.prtpwr)
+			port_status |= (1 << USB_PORT_FEAT_POWER);
+
+		if (hprt.b.prtspd == 0)
+			port_status |= (1 << USB_PORT_FEAT_HIGHSPEED);
+		
+		else if (hprt.b.prtspd == 2)
+			port_status |= (1 << USB_PORT_FEAT_LOWSPEED);
+
+		if (hprt.b.prttstctl)
+			port_status |= (1 << USB_PORT_FEAT_TEST);
+
+		*((__le32*)buf) = cpu_to_le32(port_status);
+		break;
+		
+	case SetHubFeature:
+		otg_dbg(OTG_DBG_ROOTHUB,"case SetHubFeature\n");
+		/* No HUB features supported */
+		break;
+		
+	case SetPortFeature:
+		otg_dbg(OTG_DBG_ROOTHUB,"case SetPortFeature\n");
+		if (!port_flag.b.port_connect_status) {
+			/*
+			 * The port is disconnected, which means the core is
+			 * either in device mode or it soon will be. Just
+			 * return without doing anything since the port
+			 * register can't be written if the core is in device
+			 * mode.
+			 */
+			break;
+		}
+
+		switch (feature) 
+		{
+			case USB_PORT_FEAT_SUSPEND:
+				otg_dbg(OTG_DBG_ROOTHUB,"case SetPortFeature -USB_PORT_FEAT_SUSPEND \n");
+				bus_suspend();
+				break;
+				
+			case USB_PORT_FEAT_POWER:
+				otg_dbg(OTG_DBG_ROOTHUB,"case SetPortFeature -USB_PORT_FEAT_POWER \n");
+				hprt.d32 = read_reg_32(HPRT);		
+				if(!hprt.b.prtpwr)
+				{
+					//hprt.d32 = 0;
+					hprt.b.prtpwr = 1;
+					write_reg_32(HPRT, hprt.d32);
+				}
+				break;
+
+			case USB_PORT_FEAT_RESET:
+				otg_dbg(OTG_DBG_ROOTHUB,"case SetPortFeature -USB_PORT_FEAT_RESET \n");
+				retval = reset_and_enable_port(port);
+				break;
+				
+			case USB_PORT_FEAT_INDICATOR:
+				otg_dbg(OTG_DBG_ROOTHUB,"case USB_PORT_FEAT_INDICATOR\n");
+				break;
+
+			default : 
+				retval = USB_ERR_FAIL;
+				break;
+		}		
+		break;
+	
+	default:
+		retval = USB_ERR_FAIL;
+		otg_dbg(OTG_DBG_ROOTHUB,"root_hub_feature() Function Error\n");
+		break;
+	}
+	if(retval != USB_ERR_SUCCESS)
+		retval = USB_ERR_FAIL;
+	return retval;
+}
+
+/**
+ * void bus_suspend(void)
+ * 
+ * @brief Make suspend status when this platform support PM Mode
+ * 
+ * @param None
+ * 
+ * @return None
+ *
+ * @remark 
+ * 
+ */	
+void bus_suspend(void)
+{
+	hprt_t	hprt;
+	pcgcctl_t	pcgcctl;
+	
+	hprt.d32 = 0;
+	pcgcctl.d32 = 0;
+
+	hprt.b.prtsusp = 1;
+	update_reg_32(HPRT, hprt.d32);
+
+	pcgcctl.b.pwrclmp = 1;
+	update_reg_32(PCGCCTL,pcgcctl.d32);
+	udelay(1);
+
+	pcgcctl.b.rstpdwnmodule = 1;
+	update_reg_32(PCGCCTL,pcgcctl.d32);
+	udelay(1);
+	
+	pcgcctl.b.stoppclk = 1;
+	update_reg_32(PCGCCTL,pcgcctl.d32);
+	udelay(1);
+}
+
+/**
+ * int bus_resume(void)
+ * 
+ * @brief Make resume status when this platform support PM Mode
+ * 
+ * @param None
+ * 
+ * @return USB_ERR_SUCCESS : If success \n
+ *         USB_ERR_FAIL : If call fail \n
+ *
+ * @remark 
+ * 
+ */
+int bus_resume(void)
+{
+	/*
+	hprt_t	hprt;
+	pcgcctl_t	pcgcctl;
+	hprt.d32 = 0;
+	pcgcctl.d32 = 0;
+
+	pcgcctl.b.stoppclk = 1;
+	clear_reg_32(PCGCCTL,pcgcctl.d32);
+	udelay(1);
+
+	pcgcctl.b.pwrclmp = 1;
+	clear_reg_32(PCGCCTL,pcgcctl.d32);
+	udelay(1);
+
+	pcgcctl.b.rstpdwnmodule = 1;
+	clear_reg_32(PCGCCTL,pcgcctl.d32);
+	udelay(1);
+
+	hprt.b.prtres = 1;
+	update_reg_32(HPRT, hprt.d32);
+	mdelay(20);
+
+	clear_reg_32(HPRT, hprt.d32);
+	*/
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "bus_resume()...... \n");
+	if(oci_init() == USB_ERR_SUCCESS)
+	{
+		if(oci_start() == USB_ERR_SUCCESS)
+		{
+			otg_dbg(OTG_DBG_OTGHCDI_HCD, "OTG Init Success...... \n");
+			return USB_ERR_SUCCESS;
+		}
+	}
+	return USB_ERR_FAIL;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-roothub.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-roothub.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-roothub.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-roothub.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,84 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   :s3c-otg-roothub.h
+ *  [Description] : The Header file defines the external and internal functions of RootHub.
+ *  [Author]      : Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *  [Department]  : System LSI Division/Embedded S/W Platform
+ *  [Created Date]: 2008/06/13
+ *  [Revision History] 	     
+ *      (1) 2008/06/13   by Jang Kyu Hyeok { kyuhyeok.jang@samsung.com }
+ *          - Created this file and defines functions of RootHub
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef _ROOTHUB_H_
+#define _ROOTHUB_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+#include "s3c-otg-common-errorcode.h"
+#include "s3c-otg-common-regdef.h"
+#include "s3c-otg-common-datastruct.h"
+#include "s3c-otg-hcdi-kal.h"
+#include "s3c-otg-hcdi-memory.h"
+#include "s3c-otg-oci.h"
+
+typedef union _port_flags_t
+{
+	/** raw register data */
+	u32 d32;
+	/** register bits */
+	struct 
+	{
+		unsigned port_connect_status_change	: 1;
+		unsigned port_connect_status		: 1;
+		unsigned port_reset_change		: 1;
+		unsigned port_enable_change		: 1;
+		unsigned port_suspend_change		: 1;
+		unsigned port_over_current_change	: 1;
+		unsigned reserved			: 27;
+	} b;
+}port_flags_t;
+
+
+
+__inline__ int root_hub_feature(const u8 port,
+				const u16 typeReq,
+				const u16 feature,
+				void	*buf
+				);
+
+__inline__	int get_otg_port_status(const u8 port,	
+					char *status);
+
+int reset_and_enable_port(const u8 port);
+
+void bus_suspend(void);
+
+int bus_resume(void);
+
+#ifdef __cplusplus 
+} 
+#endif 
+#endif /* _ROOTHUB_H_ */
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-scheduler-ischeduler.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-scheduler-ischeduler.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-scheduler-ischeduler.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-scheduler-ischeduler.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,395 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : Scheduler.c
+ *  [Description] : The source file implements the internal functions of Scheduler.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2009/2/10
+ *  [Revision History] 	     
+ *      (1) 2008/06/03   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and implements functions of Scheduler
+ *  	 -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  			: Optimizing for performance \n
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-scheduler-scheduler.h"
+
+void init_scheduler(void)
+{
+	//init_scheduling();
+	init_transfer_ready_q();
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int  	reserve_used_resource_for_periodic(u32	usb_time)
+ *
+ * @brief		this function reserves the necessary resource of USB Transfer for Periodic Transfer.
+ *			So, this function firstly checks there ares some available USB Time 
+ *			and Channel resource for USB Transfer.
+ *			if there exists necessary resources for Periodic Transfer, then reserves the resource.
+ *
+ * @param	[IN]	usb_time	= indicates the USB Time for the USB Transfer.
+ *
+ * @return	USB_ERR_SUCCESS		- 	if success to insert pInsertED to S3CScheduler.
+ *			USB_ERR_NO_BANDWIDTH	-	if fail to reserve the USB Bandwidth.
+ *			USB_ERR_NO_CHANNEL		-	if fail to reserve the Channel.
+ */
+/******************************************************************************/
+
+int  	reserve_used_resource_for_periodic(u32	usb_time, 
+						u8 	dev_speed,
+						u8	 trans_type)
+{		
+	if(inc_perio_bus_time(usb_time,dev_speed)==USB_ERR_SUCCESS)
+	{
+		if(inc_perio_chnum()==USB_ERR_SUCCESS)
+		{
+			otg_usbcore_inc_usb_bandwidth(usb_time);
+			otg_usbcore_inc_periodic_transfer_cnt(trans_type);
+			return USB_ERR_SUCCESS;
+		}
+		else
+		{
+			dec_perio_bus_time(usb_time);
+			return USB_ERR_NO_CHANNEL;
+		}
+	}
+	else
+	{
+		return USB_ERR_NO_BANDWIDTH;
+	}
+
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	int  	free_usb_resource_for_periodic(ed_t *		pFreeED)
+ *
+ * @brief		this function frees the resources to be allocated to pFreeED at S3CScheduler.
+ *			that is, this functions only releases the resources to be allocated by S3C6400Scheduler.
+ *
+ * @param	[IN]	pFreeED	= indicates ed_t to have the information of the resource to be released.
+ *
+ * @return	USB_ERR_SUCCESS	- 	if success to free the USB Resource.
+ *			USB_ERR_FAIL		-	if fail to free the USB Resrouce.
+ */
+/******************************************************************************/
+int  	free_usb_resource_for_periodic(	u32	free_usb_time, 
+						u8	free_chnum, 
+						u8	trans_type)
+{		
+	if(dec_perio_bus_time(free_usb_time)==USB_ERR_SUCCESS)
+	{
+		if(dec_perio_chnum()==USB_ERR_SUCCESS)
+		{			
+			if(free_chnum!=CH_NONE)
+			{
+				oci_channel_dealloc(free_chnum);
+				set_transferring_td_array(free_chnum, 0);
+			}
+			otg_usbcore_des_usb_bandwidth(free_usb_time);
+			otg_usbcore_des_periodic_transfer_cnt(trans_type);			
+			return USB_ERR_SUCCESS;
+		}
+	}		
+	return USB_ERR_FAIL;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int  	remove_ed_from_scheduler(ed_t *	remove_ed)
+ *
+ * @brief		this function just remove the remove_ed from TransferReadyQ. So if you want to
+ *			stop the USB Tranfer of remove_ed or release the releated resources. 
+ *			you should call another functions of S3CScheduler.
+ *
+ * @param	[IN]	remove_ed	= indicates ed_t to be removed from TransferReadyQ.
+ *
+ * @return	USB_ERR_SUCCESS	- 	if success to remove the remove_ed from TransferReadyQ.
+ *			USB_ERR_FAIL		-	if fail to remove the remove_ed from TransferReadyQ.
+ */
+ /******************************************************************************/
+int  	remove_ed_from_scheduler(ed_t 	*remove_ed)
+{
+	if(remove_ed->ed_status.is_in_transfer_ready_q)
+	{
+		remove_ed_from_ready_q(remove_ed);
+		remove_ed->ed_status.is_in_transfer_ready_q = false;
+		
+		return USB_ERR_SUCCESS;
+	}
+	else
+	{
+		return USB_ERR_FAIL;
+	}
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int  	cancel_to_transfer_td(td_t *	cancel_td)
+ *
+ * @brief		this function stop to execute the USB Transfer of cancel_td and 
+ *			release the Channel Resources to be allocated the cancel_td ,if the Transfer Type of 
+ *			cancel_td is NonPeriodic Transfer.
+ *			this function don't release any usb resources(Channel, USB Bandwidth) for Periodic Transfer.
+ *			if you want to release some usb resources for a periodic Transfer, you should call 
+ *			the free_usb_resource_for_periodic()
+ *
+ * @param	[IN]	cancel_td	= 	indicates the td_t to be canceled.
+ *
+ * @return	USB_ERR_SUCCESS	- 	if success to cancel the USB Transfer of cancel_td.
+ *			USB_ERR_FAIL		-	if fail to cancel the USB Transfer of cancel_td.
+ */
+ /******************************************************************************/
+int  	cancel_to_transfer_td(td_t 	*cancel_td)
+{
+	if(cancel_td->is_transfer_done)
+	{
+		return USB_ERR_FAIL;
+	}
+	
+	if(cancel_td->is_transferring)
+	{
+		int err;
+		
+		err = oci_stop_transfer(cancel_td->cur_stransfer.alloc_chnum);
+		
+		if(err == USB_ERR_SUCCESS)
+		{
+			set_transferring_td_array(cancel_td->cur_stransfer.alloc_chnum,0);
+			
+			cancel_td->cur_stransfer.alloc_chnum 		= 	CH_NONE;
+			cancel_td->is_transferring 				= 	false;
+			cancel_td->parent_ed_p->ed_status.is_in_transferring	=	false;
+			cancel_td->parent_ed_p->ed_status.in_transferring_td	= 	0;
+			cancel_td->parent_ed_p->is_need_to_insert_scheduler	=	true;
+
+			if(cancel_td->cur_stransfer.ed_desc_p->endpoint_type == BULK_TRANSFER||
+				cancel_td->cur_stransfer.ed_desc_p->endpoint_type == CONTROL_TRANSFER )
+			{
+				dec_nonperio_chnum();
+			}
+			return err;
+		}
+		else
+		{
+			return err;
+		}
+	}
+	else
+	{
+		return USB_ERR_FAIL;
+	}
+}
+
+
+
+
+/******************************************************************************/
+/*! 
+ * @name	int 	retransmit(td_t 	*retrasmit_td)
+ *
+ * @brief		this function retransmits the retrasmit_td immediately.
+ *			So, the Channel of pRetransmitted is reused for retransmittion.
+ *
+ * @param	[IN]	retrasmit_td	= 	indicates the pointer ot the td_t to be retransmitted.
+ *
+ * @return	USB_ERR_SUCCESS	- 	if success to retransmit the retrasmit_td.
+ *			USB_ERR_FAIL		-	if fail to retransmit the retrasmit_td.
+ */
+ /******************************************************************************/
+int 	retransmit(td_t 	*retrasmit_td)
+{
+	u32		td_addr=0;	 
+
+	if(get_transferring_td_array(retrasmit_td->cur_stransfer.alloc_chnum,&td_addr)==USB_ERR_SUCCESS)
+	{
+		if(td_addr == (u32)retrasmit_td)
+		{			
+			if(oci_start_transfer(&retrasmit_td->cur_stransfer)== retrasmit_td->cur_stransfer.alloc_chnum)
+			{
+				retrasmit_td->is_transferring				= true;
+				retrasmit_td->parent_ed_p->ed_status.in_transferring_td 	= (u32)retrasmit_td;
+				retrasmit_td->parent_ed_p->ed_status.is_in_transfer_ready_q	= false;
+				retrasmit_td->parent_ed_p->ed_status.is_in_transferring	= true;
+			}			 
+		}
+		else
+		{
+			return  USB_ERR_FAIL;
+		}
+	}
+	else
+	{
+		return  USB_ERR_FAIL;
+	}
+
+	return USB_ERR_SUCCESS;
+	
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int   	reschedule(td_t 	*reschedule_td)
+ *
+ * @brief		this function re-schedules the reschedule_td.
+ *			So, the Channel of pRescheuleTD is released and reschedule_td is inserted to TransferReadyQ.
+ *
+ * @param	[IN]	reschedule_td	= 	indicates the pointer ot the td_t to be rescheduled.
+ *
+ * @return	USB_ERR_SUCCESS	- 	if success to re-schedule the reschedule_td.
+ *			USB_ERR_FAIL		-	if fail to re-schedule the reschedule_td.
+ */
+ /******************************************************************************/
+int   	reschedule(td_t 	*reschedule_td)
+{
+	u32	td_addr;
+	
+	if(get_transferring_td_array(reschedule_td->cur_stransfer.alloc_chnum, &td_addr)==USB_ERR_SUCCESS)	
+	{
+		if((u32)reschedule_td == td_addr)
+		{
+			set_transferring_td_array(reschedule_td->cur_stransfer.alloc_chnum, 0);
+			oci_channel_dealloc(reschedule_td->cur_stransfer.alloc_chnum);
+				
+			reschedule_td->cur_stransfer.alloc_chnum 			= CH_NONE;
+			reschedule_td->parent_ed_p->is_need_to_insert_scheduler 	= true;
+			reschedule_td->parent_ed_p->ed_status.in_transferring_td 	= 0;
+
+			if(reschedule_td->parent_ed_p->ed_desc.endpoint_type == BULK_TRANSFER||
+				reschedule_td->parent_ed_p->ed_desc.endpoint_type == CONTROL_TRANSFER )
+			{
+				//Increase the available Channel 
+				dec_nonperio_chnum();
+
+			}
+				
+			insert_ed_to_ready_q(reschedule_td->parent_ed_p, false);
+			reschedule_td->parent_ed_p->ed_status.is_in_transfer_ready_q	=true;
+			
+		}
+		else
+		{
+			//this case is not support....
+		}
+	}
+	return USB_ERR_SUCCESS;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int   	deallocate(td_t 	*deallocate_td)
+ *
+ * @brief		this function frees resources to be allocated deallocate_td by S3CScheduler.
+ *			this function just free the resource by S3CScheduler. that is, Channel Resource.
+ *			if there are another td_t at ed_t, deallocate() insert the ed_t to TransferReadyQ.
+ *
+ * @param	[IN]	deallocate_td	= 	indicates the pointer ot the td_t to be deallocated.
+ *
+ * @return	USB_ERR_SUCCESS	- 	if success to dealloate the resources for the deallocate_td.
+ *			USB_ERR_FAIL		-	if fail to dealloate the resources for the deallocate_td.
+ */
+ /******************************************************************************/
+int   	deallocate(td_t 	*deallocate_td)
+{
+	u32 td_addr;
+	
+	if(get_transferring_td_array(deallocate_td->cur_stransfer.alloc_chnum , &td_addr)==USB_ERR_SUCCESS)
+	{
+		if((u32)deallocate_td == td_addr)
+		{
+			set_transferring_td_array(deallocate_td->cur_stransfer.alloc_chnum, 0);
+			oci_channel_dealloc(deallocate_td->cur_stransfer.alloc_chnum);
+						
+			deallocate_td->cur_stransfer.alloc_chnum = CH_NONE;
+			
+			if(deallocate_td->parent_ed_p->ed_desc.endpoint_type == BULK_TRANSFER||
+				deallocate_td->parent_ed_p->ed_desc.endpoint_type == CONTROL_TRANSFER )
+			{
+				//Increase the available Channel 
+				dec_nonperio_chnum();
+			}	
+			
+			deallocate_td->parent_ed_p->is_need_to_insert_scheduler = true;			
+			
+			if(deallocate_td->parent_ed_p->num_td)
+			{
+				//insert ed_t to TransferReadyQ.
+				insert_ed_to_ready_q(deallocate_td->parent_ed_p , false);
+				deallocate_td->parent_ed_p->ed_status.is_in_transfer_ready_q	= true;
+				deallocate_td->parent_ed_p->is_need_to_insert_scheduler 			= false;
+			}	
+			return USB_ERR_SUCCESS;
+		}
+		else
+		{
+			return USB_ERR_FAIL;
+		}
+	}
+	else
+	{		
+			return USB_ERR_FAIL;
+	}
+
+}
+
+//TBD....
+void   		do_schedule(void)
+{
+	if(get_avail_chnum())
+	{
+		do_periodic_schedule();
+		do_nonperiodic_schedule();
+	}
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int 	get_td_info(u8		chnum,
+ *				unsigned int 	*td_addr_p)
+ *
+ * @brief		this function returns the pointer of td_t at TransferringTDArray[chnum]
+ *
+ * @param	[IN]	chnum	= indicates the index of TransferringTDArray 
+ *					to include the address of td_t which we gets
+ *		[OUT]	td_addr_p= indicate pointer to store the address of td_t.
+ *
+ * @return	USB_ERR_SUCCESS	-if success to get the address of td_t.
+ *		USB_ERR_FAIL		-if fail to get the address of td_t.
+ */
+ /******************************************************************************/
+int 	get_td_info(	u8		chnum,
+			unsigned int 	*td_addr_p)
+{
+	u32	td_addr;
+	
+	if(get_transferring_td_array(chnum, &td_addr)==USB_ERR_SUCCESS)
+	{
+		*td_addr_p = td_addr;
+		return USB_ERR_SUCCESS;
+	}
+	
+	return USB_ERR_FAIL;
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-scheduler-readyq.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-scheduler-readyq.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-scheduler-readyq.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-scheduler-readyq.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,253 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : TransferReadyQ.c
+ *  [Description] : The source file implements the internal functions of TransferReadyQ.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/04
+ *  [Revision History] 	     
+ *      (1) 2008/06/04   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and implements functions of TransferReadyQ.
+ *  	 -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  			: Optimizing for performance \n
+ *
+ ****************************************************************************/
+
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-scheduler-scheduler.h"
+
+static	trans_ready_q_t	periodic_trans_ready_q;
+static	trans_ready_q_t	nonperiodic_trans_ready_q;
+
+/******************************************************************************/
+/*! 
+ * @name	void		init_transfer_ready_q(void)
+ *
+ * @brief		this function initiates PeriodicTransferReadyQ and NonPeriodicTransferReadyQ.
+ *
+ *
+ * @param	void
+ *
+ * @return	void.
+ */
+/******************************************************************************/
+void	init_transfer_ready_q(void)
+{
+
+	otg_dbg(OTG_DBG_SCHEDULE,"start init_transfer_ready_q\n");
+	
+	otg_list_init(&periodic_trans_ready_q.trans_ready_q_list_head);
+	periodic_trans_ready_q.is_periodic_transfer 		= 	true;
+	periodic_trans_ready_q.trans_ready_entry_num 	= 	0;
+	periodic_trans_ready_q.total_alloc_chnum		=	0;
+	periodic_trans_ready_q.total_perio_bus_bandwidth	=	0;
+	
+	otg_list_init(&nonperiodic_trans_ready_q.trans_ready_q_list_head);
+	nonperiodic_trans_ready_q.is_periodic_transfer 		= 	false;
+	nonperiodic_trans_ready_q.trans_ready_entry_num 	=	0;
+	nonperiodic_trans_ready_q.total_alloc_chnum		=	0;
+	nonperiodic_trans_ready_q.total_perio_bus_bandwidth	=	0;
+
+
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	int   	insert_ed_to_ready_q(ed_t	*insert_ed,
+ *					bool	f_isfirst)
+ *
+ * @brief		this function inserts ed_t * to TransferReadyQ.
+ *
+ *
+ * @param	[IN]	insert_ed	= indicates the ed_t to be inserted to TransferReadyQ.
+ *		[IN]	f_isfirst	= indicates whether the insert_ed is inserted as first entry of TransferReadyQ.
+ *
+ * @return	USB_ERR_SUCCESS	-if successes to insert the insert_ed to TransferReadyQ.
+ *		USB_ERR_FAILl		-if fails to insert the insert_ed to TransferReadyQ.
+ */
+/******************************************************************************/
+int   	insert_ed_to_ready_q(ed_t 	*insert_ed, 
+				bool 	f_isfirst)
+{
+
+	if(insert_ed->ed_desc.endpoint_type == BULK_TRANSFER||
+		insert_ed->ed_desc.endpoint_type == CONTROL_TRANSFER)
+	{
+		if(f_isfirst)
+		{
+			otg_list_push_next(&insert_ed->trans_ready_q_list_entry,&nonperiodic_trans_ready_q.trans_ready_q_list_head);
+		}
+		else
+		{			
+			otg_list_push_prev(&insert_ed->trans_ready_q_list_entry,&nonperiodic_trans_ready_q.trans_ready_q_list_head);
+		}
+		nonperiodic_trans_ready_q.trans_ready_entry_num++;
+	}
+	else
+	{
+		if(f_isfirst)
+		{
+			otg_list_push_next(&insert_ed->trans_ready_q_list_entry,&periodic_trans_ready_q.trans_ready_q_list_head);
+		}
+		else
+		{
+			otg_list_push_prev(&insert_ed->trans_ready_q_list_entry,&periodic_trans_ready_q.trans_ready_q_list_head);
+		}
+		periodic_trans_ready_q.trans_ready_entry_num++;
+	}
+	
+	return USB_ERR_SUCCESS;
+	
+}
+
+
+u32	get_periodic_ready_q_entity_num(void)
+{
+	return periodic_trans_ready_q.trans_ready_entry_num;
+}
+/******************************************************************************/
+/*! 
+ * @name	int   	remove_ed_from_ready_q(ed_t	*remove_ed)
+ *
+ * @brief		this function removes ed_t * from TransferReadyQ.
+ *
+ *
+ * @param	[IN]	remove_ed = indicate the ed_t to be removed from TransferReadyQ.
+ *
+ * @return	USB_ERR_SUCCESS	-if successes to remove the remove_ed from TransferReadyQ.
+ *		USB_ERR_FAILl		-if fails to remove the remove_ed from TransferReadyQ.
+ */
+/******************************************************************************/
+int   	remove_ed_from_ready_q(ed_t	*remove_ed)
+{
+//	SPINLOCK_t	SLForRemoveED_t = SPIN_LOCK_INIT;
+//	u32		uiSLFlag=0;
+	
+	otg_list_pop(&remove_ed->trans_ready_q_list_entry);
+
+	if(remove_ed->ed_desc.endpoint_type == BULK_TRANSFER||
+		remove_ed->ed_desc.endpoint_type == CONTROL_TRANSFER)
+	{
+//		spin_lock_irg_save_otg(&SLForRemoveED_t, uiSLFlag);
+//		otg_list_pop(&remove_ed->trans_ready_q_list_entry);
+		nonperiodic_trans_ready_q.trans_ready_entry_num--;
+//		spin_unlock_irq_save_otg(&SLForRemoveED_t, uiSLFlag);
+	}
+	else
+	{
+//		spin_lock_irg_save_otg(&SLForRemoveED_t, uiSLFlag);
+//		otg_list_pop(&remove_ed->trans_ready_q_list_entry);
+		periodic_trans_ready_q.trans_ready_entry_num--;
+//		spin_unlock_irq_save_otg(&SLForRemoveED_t, uiSLFlag);
+	}
+	
+	return USB_ERR_SUCCESS;
+
+}
+
+//by ss1 unused func
+/*
+bool   	check_ed_on_ready_q(ed_t	*check_ed_p)
+{
+
+	if(check_ed_p->ed_status.is_in_transfer_ready_q)
+		return true;
+	else
+		return false;
+}*/
+
+/******************************************************************************/
+/*! 
+ * @name	int   	get_ed_from_ready_q(bool	f_isperiodic, 	
+ *					td_t 	**get_ed)
+ *
+ * @brief		this function returns the first entity of TransferReadyQ.
+ *			if there are some ed_t on TransferReadyQ, this function pops first ed_t from TransferReadyQ.
+ *			So, the TransferReadyQ don's has the poped ed_t.
+ *
+ *
+ * @param	[IN]	f_isperiodic	= indicate whether Periodic or not
+ *		[OUT]	get_ed		= indicate the double pointer to store the address of first entity 
+ *								on TransferReadyQ.
+ *
+ * @return	USB_ERR_SUCCESS	-if successes to get frist ed_t from TransferReadyQ.
+ *		USB_ERR_NO_ENTITY	-if fails to get frist ed_t from TransferReadyQ 
+ *					because there is no entity on TransferReadyQ.
+ */
+/******************************************************************************/
+
+int	get_ed_from_ready_q(bool	f_isperiodic, 
+				ed_t 	**get_ed)
+{
+	if(f_isperiodic)
+	{
+		otg_list_head	*transreadyq_list_entity=NULL;
+		
+		if(periodic_trans_ready_q.trans_ready_entry_num==0)
+		{
+			return USB_ERR_NO_ENTITY;
+		}
+		
+		transreadyq_list_entity = periodic_trans_ready_q.trans_ready_q_list_head.next;
+		
+		//if(transreadyq_list_entity!= &periodic_trans_ready_q.trans_ready_q_list_head)
+		if(!otg_list_empty(&periodic_trans_ready_q.trans_ready_q_list_head))
+		{
+			*get_ed = otg_list_get_node(transreadyq_list_entity,ed_t,trans_ready_q_list_entry);
+			otg_list_pop(transreadyq_list_entity);
+			periodic_trans_ready_q.trans_ready_entry_num--;
+			
+			return USB_ERR_SUCCESS;
+		}
+		else
+		{
+			return USB_ERR_NO_ENTITY;
+		}		
+	}
+	else
+	{
+		otg_list_head	*transreadyq_list_entity=NULL;
+
+		if(nonperiodic_trans_ready_q.trans_ready_entry_num==0)
+		{
+			return USB_ERR_NO_ENTITY;
+		}
+		
+		transreadyq_list_entity = nonperiodic_trans_ready_q.trans_ready_q_list_head.next;
+		
+		//if(transreadyq_list_entity!= &nonperiodic_trans_ready_q.trans_ready_q_list_head)
+		if(!otg_list_empty(&nonperiodic_trans_ready_q.trans_ready_q_list_head))	
+		{
+			*get_ed = otg_list_get_node(transreadyq_list_entity,ed_t, trans_ready_q_list_entry);
+			
+			otg_list_pop(transreadyq_list_entity);
+			
+			nonperiodic_trans_ready_q.trans_ready_entry_num--;
+			
+			return USB_ERR_SUCCESS;
+		}
+		else
+		{
+			return USB_ERR_NO_ENTITY;
+		}	
+	}
+}
+
+ 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-scheduler-scheduler.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-scheduler-scheduler.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-scheduler-scheduler.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-scheduler-scheduler.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,449 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : Scheduler.c
+ *  [Description] : The source file implements the internal functions of Scheduler.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/04
+ *  [Revision History] 	     
+ *      (1) 2008/06/03   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and implements functions of Scheduler
+ *  	 -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  			: Optimizing for performance \n
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-scheduler-scheduler.h"
+
+//Define constant variables
+
+//the max periodic bus time is 80%*125us on High Speed Mode
+static	const	u32	perio_highbustime_threshold 	= 100;
+
+//the max periodic bus time is 90%*1000us(1ms) on Full/Low Speed Mode .
+static	const	u32	perio_fullbustime_threshold 	= 900;
+
+static	const	u8	perio_chnum_threshold 	= 14;
+//static	const	u8	total_chnum_threshold	= 16;
+static	u8		total_chnum_threshold	= 16;
+
+ //Define global variables
+
+static	u32	perio_used_bustime = 0;
+static	u8	perio_used_chnum = 0;
+static	u8	nonperio_used_chnum = 0;
+static	u8	total_used_chnum = 0;
+static	u32	transferring_td_array[16]={0};
+
+
+int	inc_perio_bus_time(u32 bus_time, u8 dev_speed)
+{
+	switch(dev_speed)
+	{
+		case HIGH_SPEED_OTG:
+			if((bus_time+perio_used_bustime)<=perio_highbustime_threshold)
+			{
+				perio_used_bustime=+bus_time;
+				return USB_ERR_SUCCESS;
+			}
+			else
+			{
+				return USB_ERR_FAIL;
+			}
+			
+		case LOW_SPEED_OTG:
+		case FULL_SPEED_OTG:
+			if((bus_time+perio_used_bustime)<=perio_fullbustime_threshold)
+			{
+				perio_used_bustime=+bus_time;
+				return USB_ERR_SUCCESS;
+			}
+			else
+			{
+				return USB_ERR_FAIL;
+			}
+		case SUPER_SPEED_OTG:
+			break;
+		default:
+			break;
+	}
+	return USB_ERR_FAIL;
+}
+
+int	dec_perio_bus_time(u32 bus_time)
+{
+	if(perio_used_bustime >= bus_time )
+	{
+		perio_used_bustime =- bus_time;
+		return USB_ERR_SUCCESS;
+	}
+	else
+	{
+		return USB_ERR_FAIL;
+	}
+}
+
+int	inc_perio_chnum(void)
+{
+	if(perio_used_chnum<perio_chnum_threshold)
+	{
+		if(total_used_chnum<total_chnum_threshold)
+		{
+			perio_used_chnum++;
+			total_used_chnum++;			
+			return USB_ERR_SUCCESS;
+		}
+	}
+	return USB_ERR_FAIL;
+}
+
+u8		get_avail_chnum(void)
+{
+	return total_chnum_threshold - total_used_chnum;
+}
+
+int	dec_perio_chnum(void)
+{
+	if(perio_used_chnum>0)	
+	{
+		if(total_used_chnum>0)
+		{
+			perio_used_chnum--;
+			total_used_chnum--;
+			return USB_ERR_SUCCESS;
+		}
+	}
+	return USB_ERR_FAIL;
+}
+
+int	inc_non_perio_chnum(void)
+{
+	if(nonperio_used_chnum<total_chnum_threshold)
+	{
+		if(total_used_chnum<total_chnum_threshold)
+		{
+			nonperio_used_chnum++;
+			total_used_chnum++;
+			return USB_ERR_SUCCESS;
+		}
+	}
+	return USB_ERR_FAIL;
+}
+
+int	dec_nonperio_chnum(void)
+{
+	if(nonperio_used_chnum>0)
+	{
+		if(total_used_chnum>0)
+		{
+			nonperio_used_chnum--;
+			total_used_chnum--;
+			return USB_ERR_SUCCESS;
+		}
+	}
+	return USB_ERR_FAIL;
+}
+
+int	get_transferring_td_array(u8 chnum, unsigned int *td_addr)
+{
+	if(transferring_td_array[chnum]!=0)
+	{
+		*td_addr = transferring_td_array[chnum];
+		return USB_ERR_SUCCESS;
+	}
+
+	return USB_ERR_FAIL;
+}
+
+int	set_transferring_td_array(u8 chnum, u32 td_addr)
+{
+	if(td_addr ==0)
+	{
+		transferring_td_array[chnum] = td_addr;
+		return USB_ERR_SUCCESS;
+	}
+	
+	if(transferring_td_array[chnum] == 0)
+	{
+		transferring_td_array[chnum] = td_addr;
+		return USB_ERR_SUCCESS;
+	}
+	else
+	{
+		return USB_ERR_FAIL;
+	}	
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int  	insert_ed_to_scheduler(ed_t	*insert_ed)
+ *
+ * @brief		this function transfers the insert_ed to S3C6400Scheduler, and
+ *			after that, the insert_ed is inserted to TransferReadyQ and scheduled by Scheduler.
+ *
+ *
+ * @param	[IN]	insert_ed	= indicates pointer of ed_t to be inserted to TransferReadyQ.
+ *
+ * @return	USB_ERR_ALREADY_EXIST	-	if the insert_ed is already existed.
+ *			USB_ERR_SUCCESS		- 	if success to insert insert_ed to S3CScheduler.
+ */
+/******************************************************************************/
+int  	insert_ed_to_scheduler(ed_t *insert_ed)
+{	
+	if(!insert_ed->is_need_to_insert_scheduler)
+	{
+		return USB_ERR_ALREADY_EXIST;
+	}
+
+	insert_ed_to_ready_q(insert_ed, false);
+	insert_ed->is_need_to_insert_scheduler = false;
+	insert_ed->ed_status.is_in_transfer_ready_q = true;
+	
+	do_periodic_schedule();
+	do_nonperiodic_schedule();
+	
+	return USB_ERR_SUCCESS;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int   	do_periodic_schedule(void)
+ *
+ * @brief		this function schedules PeriodicTransferReadyQ.
+ *			this function checks whether PeriodicTransferReadyQ has some ed_t.
+ *			if there are some ed_t on PeriodicTransferReadyQ
+ *			, this function request to start USB Trasnfer to S3C6400OCI.
+ *
+ *
+ * @param	void
+ *
+ * @return	void
+ */
+/******************************************************************************/
+void 	do_periodic_schedule(void)
+{
+	ed_t 	*scheduling_ed= NULL;
+	int	err_sched = USB_ERR_SUCCESS;
+	u32	sched_cnt = 0;
+
+	otg_dbg(OTG_DBG_SCHEDULE,"*******Start to DoPeriodicSchedul*********\n");
+
+	sched_cnt = get_periodic_ready_q_entity_num();
+	
+	while(sched_cnt)
+	{
+
+		//in periodic transfser, the channel resource was already reserved.
+		//So, we don't need this routine...
+	
+start_sched_perio_transfer:
+		if(!sched_cnt)
+			goto end_sched_perio_transfer;
+
+		err_sched = get_ed_from_ready_q(true,  &scheduling_ed);
+
+		if(err_sched==USB_ERR_SUCCESS)
+		{
+			otg_list_head	*td_list_entry;
+			td_t 		*td;
+			u32		cur_frame_num = 0;
+
+			otg_dbg(OTG_DBG_SCHEDULE,"the ed_t to be scheduled :%d",(int)scheduling_ed);
+			sched_cnt--;
+			td_list_entry = 	scheduling_ed->td_list_entry.next;
+
+			if(td_list_entry == &scheduling_ed->td_list_entry)
+			{
+				//scheduling_ed has no td_t. so we schedules another ed_t on PeriodicTransferReadyQ.
+				goto start_sched_perio_transfer;
+			}
+
+			if(scheduling_ed->ed_status.is_in_transferring)
+			{
+				//scheduling_ed is already Scheduled. so we schedules another ed_t on PeriodicTransferReadyQ.
+				goto start_sched_perio_transfer;
+			}
+
+			cur_frame_num = oci_get_frame_num();
+			
+			if(((cur_frame_num-scheduling_ed->ed_desc.sched_frame)&HFNUM_MAX_FRNUM)>(HFNUM_MAX_FRNUM>>1))
+			{
+				insert_ed_to_ready_q(scheduling_ed, false);
+				goto start_sched_perio_transfer;
+			}
+			
+			td	= otg_list_get_node(td_list_entry, td_t, td_list_entry);
+
+			if((!td->is_transferring) && (!td->is_transfer_done))
+			{
+				u8			alloc_ch;		
+				otg_dbg(OTG_DBG_SCHEDULE,"the td_t to be scheduled :%d",(int)td);
+				alloc_ch 	=	oci_start_transfer(&td->cur_stransfer);				
+				if(alloc_ch<total_chnum_threshold)
+				{
+					td->cur_stransfer.alloc_chnum = alloc_ch;
+					transferring_td_array[alloc_ch] = (u32)td;
+					
+					scheduling_ed->ed_status.is_in_transferring		=	true;
+					scheduling_ed->ed_status.is_in_transfer_ready_q		=	false;
+					scheduling_ed->ed_status.in_transferring_td		=	(u32)td;					
+					
+					td->is_transferring 							= 	true;
+				}
+				else
+				{
+					//we should insert the ed_t to TransferReadyQ, because the USB Transfer of the ed_t is failed.
+					scheduling_ed->ed_status.is_in_transferring	=	false;
+					scheduling_ed->ed_status.is_in_transfer_ready_q	=	true;
+					scheduling_ed->ed_status.in_transferring_td	=	0;
+					
+					insert_ed_to_ready_q(scheduling_ed,true);
+					
+					scheduling_ed->is_need_to_insert_scheduler 	= 	false;
+					goto end_sched_perio_transfer;
+				}
+				
+			}
+			else
+			{	// the selected td_t was already transferring or completed to transfer.	
+				//we should decide how to control this case.
+				goto end_sched_perio_transfer;
+			}
+
+			
+		}
+		else
+		{
+			// there is no ED on PeriodicTransferQ. So we finish scheduling.
+			goto end_sched_perio_transfer;
+		}
+	}
+	
+end_sched_perio_transfer:
+
+	return;	
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	int   	do_nonperiodic_schedule(void)
+ *
+ * @brief		this function start to schedule thie NonPeriodicTransferReadyQ.
+ *			this function checks whether NonPeriodicTransferReadyQ has some ed_t.
+ *			if there are some ed_t on NonPeriodicTransferReadyQ
+ *			, this function request to start USB Trasnfer to S3C6400OCI.
+ *
+ *
+ * @param	void
+ *
+ * @return	void
+ */
+/******************************************************************************/
+void   	do_nonperiodic_schedule(void)
+{
+	if(total_used_chnum<total_chnum_threshold)
+	{
+		ed_t 	*scheduling_ed;
+		int	err_sched;
+		
+		while(1)
+		{
+
+start_sched_nonperio_transfer:
+	
+			//check there is available channel resource for Non-Periodic Transfer.
+			if(total_used_chnum==total_chnum_threshold)
+			{
+				goto end_sched_nonperio_transfer;
+			}
+				
+			err_sched = get_ed_from_ready_q(false, &scheduling_ed);
+			
+			if(err_sched ==USB_ERR_SUCCESS )
+			{
+				otg_list_head	*td_list_entry;
+				td_t 		*td;
+			
+				td_list_entry = 	scheduling_ed->td_list_entry.next;
+
+				//if(td_list_entry == &scheduling_ed->td_list_entry)
+				if(otg_list_empty(&scheduling_ed->td_list_entry))
+				{
+					//scheduling_ed has no td_t. so we schedules another ed_t on PeriodicTransferReadyQ.
+					goto start_sched_nonperio_transfer;
+				}
+
+				if(scheduling_ed->ed_status.is_in_transferring)
+				{
+					//scheduling_ed is already Scheduled. so we schedules another ed_t on PeriodicTransferReadyQ.
+					goto start_sched_nonperio_transfer;
+				}
+
+				td	= otg_list_get_node(td_list_entry, td_t, td_list_entry);
+
+				if((!td->is_transferring) && (!td->is_transfer_done))
+				{					
+					u8	alloc_ch;					
+				
+					alloc_ch =oci_start_transfer(&td->cur_stransfer);
+					
+					if(alloc_ch<total_chnum_threshold)
+					{
+						td->cur_stransfer.alloc_chnum 	= alloc_ch;
+						transferring_td_array[alloc_ch] 	= (u32)td;
+
+						inc_non_perio_chnum();									
+						
+						scheduling_ed->ed_status.is_in_transferring 		= true;
+						scheduling_ed->ed_status.is_in_transfer_ready_q 	= false;
+						scheduling_ed->ed_status.in_transferring_td		=(u32)td;
+						td->is_transferring 				= true;
+					}
+					else
+					{
+						//we should insert the ed_t to TransferReadyQ, because the USB Transfer of the ed_t is failed.
+						scheduling_ed->ed_status.is_in_transferring 		= false;
+						scheduling_ed->ed_status.in_transferring_td		=0;
+						insert_ed_to_ready_q(scheduling_ed,true);
+						scheduling_ed->ed_status.is_in_transfer_ready_q 	= true;
+						
+						goto end_sched_nonperio_transfer;
+					}				
+				}
+				else
+				{
+					goto end_sched_nonperio_transfer;
+				}
+			}
+			else
+			{	//there is no ed_t on NonPeriodicTransferReadyQ.
+				//So, we finish do_nonperiodic_schedule().
+				goto end_sched_nonperio_transfer;
+			}
+		}
+	}
+	
+end_sched_nonperio_transfer:
+	
+	return;	
+}
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-scheduler-scheduler.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-scheduler-scheduler.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-scheduler-scheduler.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-scheduler-scheduler.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,102 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : Scheduler.h
+ *  [Description] : The Header file defines the external and internal functions of Scheduler.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/03
+ *  [Revision History] 	     
+ *      (1) 2008/06/03   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and defines functions of Scheduler
+ *  	 -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  			: Optimizing for performance \n
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef  _SCHEDULER_H   
+#define  _SCHEDULER_H
+
+/*
+// ----------------------------------------------------------------------------
+// Include files : None.
+// ----------------------------------------------------------------------------
+*/
+//#include "s3c-otg-common-typedef.h"
+#include "s3c-otg-common-const.h"
+#include "s3c-otg-common-errorcode.h"
+#include "s3c-otg-common-datastruct.h"
+#include "s3c-otg-hcdi-memory.h"
+#include "s3c-otg-hcdi-kal.h"
+#include "s3c-otg-hcdi-debug.h"
+#include "s3c-otg-oci.h"
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
+//Defines external functions of IScheduler.c
+extern 	void	 init_scheduler(void);
+extern	int  	reserve_used_resource_for_periodic(u32	usb_time,u8 dev_speed, u8	trans_type);
+extern	int  	free_usb_resource_for_periodic(u32	free_usb_time, u8	free_chnum, u8	trans_type);
+extern	int  	remove_ed_from_scheduler(ed_t	*remove_ed);
+extern	int  	cancel_to_transfer_td(td_t *cancel_td);
+extern	int 	retransmit(td_t *retransmit_td);
+extern	int   	reschedule(td_t *resched_td);
+extern	int   	deallocate(td_t *dealloc_td);
+extern	void   	do_schedule(void);
+
+extern	int 	get_td_info(u8	chnum,unsigned int *td_addr);
+
+
+// Defines functiions of TranferReadyQ.
+void	init_transfer_ready_q(void);
+int   	insert_ed_to_ready_q(ed_t *insert_ed, bool f_isfirst);
+int   	remove_ed_from_ready_q(ed_t *remove_ed);
+int	get_ed_from_ready_q(bool	f_isperiodic, ed_t **get_ed);
+
+//Define functions of Scheduler
+void	do_periodic_schedule(void);
+void	 do_nonperiodic_schedule(void);
+int	set_transferring_td_array(u8 chnum, u32 td_addr);
+int	get_transferring_td_array(u8 chnum, unsigned int *td_addr);
+
+
+//Define fuctions to manage some static global variable.
+int	inc_perio_bus_time(u32 uiBusTime, u8 dev_speed);
+int	dec_perio_bus_time(u32 uiBusTime);
+
+u8	get_avail_chnum(void);
+int	inc_perio_chnum(void);
+int	dec_perio_chnum(void);
+int	inc_non_perio_chnum(void);
+int	dec_nonperio_chnum(void);
+u32	get_periodic_ready_q_entity_num(void);
+
+int  	insert_ed_to_scheduler(ed_t *	insert_ed);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transfer-common.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transfer-common.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transfer-common.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transfer-common.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,841 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : Commons3c-otg-transfer-transfer.h
+ *  [Description] : This source file implements the functions to be defined at CommonTransfer Module.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/03
+ *  [Revision History] 	     
+ *      (1) 2008/06/03   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and implements some functions of CommonTransfer.
+ *  	(2) 2008/07/15   by SeungSoo Yang ( ss1.yang@samsung.com )n
+ *	    - Optimizing for performance \n
+ *      (3) 2008/08/18   by SeungSoo Yang ( ss1.yang@samsung.com )
+ *          - Modifying for successful rmmod & disconnecting \n
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-transfer-transfer.h"
+
+// the header pointer to indicate the ED_list to manage the ed_t to be created and initiated.
+otg_list_head		ed_list_head;
+u32			ref_periodic_transfer;
+
+/******************************************************************************/
+/*! 
+ * @name	void		init_transfer(void)
+ *
+ * @brief		this function initiates the S3CTranfer module. that is, this functions initiates 
+ *			the ED_list_head OTG List which manages the all ed_t to be existed.
+ *
+ * @param	void
+ *
+ * @return	void
+ */
+/******************************************************************************/
+
+void		init_transfer(void)
+{
+	otg_dbg(OTG_DBG_TRANSFER,"start to init_transfer\n");
+	otg_list_init(&ed_list_head);
+	ref_periodic_transfer = 0;
+
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	void		DeInitTransfer(void)
+ *
+ * @brief		this function Deinitiates the S3CTranfer module. this functions check which there are
+ *			some ed_t on ED_list_head. if some ed_t exists, deinit_transfer() deletes the ed_t.
+ *
+ *
+ * @param	void
+ *
+ * @return	void
+ */
+/******************************************************************************/
+void		deinit_transfer(void)
+{
+	otg_list_head	*ed_list_member;
+	ed_t 		*delete_ed_p;
+
+	while(otg_list_empty(&ed_list_head) != true)
+	{
+		ed_list_member = ed_list_head.next;
+		
+	//	otg_list_pop(ed_list_member);
+
+		delete_ed_p= otg_list_get_node(ed_list_member,ed_t,ed_list_entry);
+		
+		delete_ed(delete_ed_p);
+	}	
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	int 	delete_ed(ed_t *delete_ed)
+ *
+ * @brief		this function delete the delete_ed.
+ *		if there is some available  TD_ts on delete_ed, then this function also deletes these td_t 
+ *
+ *
+ * @param	[IN]	delete_ed = indicates the address of ed_t to be deleted.
+ *
+ * @return	USB_ERR_SUCCESS	-if successes to delete the ed_t.
+ *		USB_ERR_FAILl		-if fails to delete the ed_t.
+ */
+/******************************************************************************/
+int  	delete_ed(ed_t	*delete_ed)
+{
+	otg_kal_make_ep_null(delete_ed);
+
+	if(delete_ed->num_td)
+	{
+		cancel_all_td(delete_ed);
+/** 
+    need to giveback of td's urb with considering life-cycle of 
+    TD, ED, urb->hcpriv, td->private, ep->hcpriv, td->parentED 
+    (commented by ss1.yang)
+*/
+	}
+
+	otg_list_pop(&delete_ed->ed_list_entry);
+
+	if(delete_ed->ed_desc.endpoint_type == INT_TRANSFER || 
+		delete_ed->ed_desc.endpoint_type == ISOCH_TRANSFER)
+	{
+		ref_periodic_transfer--;
+	}
+
+	if(ref_periodic_transfer==0)
+	{
+		disable_sof();
+	}
+	otg_mem_free(delete_ed);
+	
+	return USB_ERR_SUCCESS;
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	int	delete_td(td_t *delete_td)
+ *
+ * @brief		this function frees memory resource for the delete_td.
+ *		and if delete_td is transferring USB Transfer, then this function request to cancel
+ *		the USB Transfer to S3CScheduler.
+ *
+ *
+ * @param	[OUT]	new_td_p = returns the address of the new td_t .
+ *
+ * @return	USB_ERR_SUCCESS	-if successes to create the new td_t.
+ *		USB_ERR_FAILl		-if fails to create to new td_t.
+ */
+/******************************************************************************/
+int	delete_td(td_t *delete_td)
+{
+
+	if(delete_td->is_transferring)
+	{
+		//at this case, we should cancel the USB Transfer.
+		cancel_to_transfer_td(delete_td);
+	}
+
+	otg_mem_free(delete_td);
+	return USB_ERR_SUCCESS;
+}
+
+
+int 	create_isoch_packet_desc(	isoch_packet_desc_t 	**new_isoch_packet_desc,
+					u32			isoch_packet_num)
+{
+	return otg_mem_alloc((void **)new_isoch_packet_desc, (u16)sizeof(isoch_packet_desc_t)*isoch_packet_num,USB_MEM_SYNC);
+}
+
+int 	delete_isoch_packet_desc(	isoch_packet_desc_t 	*del_isoch_packet_desc,
+					u32			isoch_packet_num)
+{
+	return otg_mem_free(del_isoch_packet_desc);
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	void	init_isoch_packet_desc(  	isoch_packet_desc_t 	*init_isoch_packet_desc,
+ *						u32                  		isoch_packet_start_addr,
+ *						u32                  		isoch_packet_size,
+ *						u32			index)
+ *
+ * @brief		this function initiates the isoch_packet_desc_t[index].
+ *
+ *
+ * @param	[OUT]	init_isoch_packet_desc 	= indicates the pointer of IsochPackDesc_t to be initiated.
+ *		[IN]	isoch_packet_start_addr	= indicates the start address of the buffer to be used 
+ *							at USB Isochronous Transfer.
+ *		[IN]	isoch_packet_size	    	= indicates the size of Isochronous packet.
+ *		[IN]	index			= indicates the index to be mapped with this init_isoch_packet_desc.
+ *
+ * @return	void
+ */
+/******************************************************************************/
+void  		init_isoch_packet_desc(  isoch_packet_desc_t 	*init_isoch_packet_desc,
+					u32                  		isoch_packet_start_addr,
+					u32                  		isoch_packet_size,
+					u32			index)
+{
+
+	init_isoch_packet_desc[index].buf_size 			= isoch_packet_size;
+	init_isoch_packet_desc[index].isoch_packiet_start_addr	= isoch_packet_start_addr;
+	init_isoch_packet_desc[index].isoch_status			= 0;
+	init_isoch_packet_desc[index].transferred_szie 		= 0;
+	
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int 	create_ed(ed_t 	**new_ed)
+ *
+ * @brief		this function creates a new ed_t and returns the ed_t to Caller 
+ *
+ *
+ * @param	[OUT]	new_ed = returns the address of the new ed_t .
+ *
+ * @return	USB_ERR_SUCCESS	-if successes to create the new ed_t.
+ *		USB_ERR_FAILl		-if fails to create to new ed_t.
+ */
+/******************************************************************************/
+int 	create_ed(ed_t	**new_ed)
+{
+	int err_code = USB_ERR_SUCCESS;
+	
+	err_code =  otg_mem_alloc((void **)new_ed,(u16)sizeof(ed_t), USB_MEM_SYNC);
+	otg_mem_set(*new_ed, 0, sizeof(ed_t));
+	return err_code;
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	int 	init_ed(	ed_t 		*init_ed,
+ *				u8 		dev_addr,
+ *				u8 		ep_num,
+ *				bool  		f_is_ep_in,
+ *				u8 		dev_speed,
+ *				u8 		ep_type,
+ *				u32		max_packet_size,
+ *				u8  		multi_count,
+ *				u8  		interval,
+ *				u32    		sched_frame,
+ *				u8     		hub_addr,
+ *				u8     		hub_port,
+ *				bool        	f_is_do_split)
+ *
+ * @brief		this function initiates the init_ed by using the another parameters. 
+ *
+ *
+ * @param	[OUT]	init_ed = returns the ed_t to be initiated.
+ *                  	[IN]	dev_addr = inidcates the address of USB Device.
+ *                  	[IN]	ep_num = inidcates the number of the specific endpoint on USB Device.
+ *                  	[IN]	f_is_ep_in = inidcates whether the endpoint is IN or not
+ *                  	[IN]	dev_speed = inidcates the speed of USB Device.
+ *                  	[IN]	max_packet_size = inidcates the maximum packet size of a specific endpoint on USB Device.
+ *                  	[IN]	multi_count = if the endpoint supports periodic transfer
+ *								, this indicates the multiple packet to be transferred on a uframe
+ *                  	[IN]	interval= if the endpoint support periodic transfer, this indicates the polling rate.
+ *                  	[IN]	sched_frame= if the endpoint supports periodic transfer, this indicates the start frame number.
+ *                  	[IN]	hub_addr= indicate the address of hub which the USB device attachs to.
+ *                  	[IN]	hub_port= inidcates the port number of the hub which the USB device attachs to.
+ *                  	[IN]	f_is_do_split= inidcates whether this tranfer is split transaction or not.
+ *
+ * @return	USB_ERR_SUCCESS	-if successes to initiate the ed_t.
+ *		USB_ERR_FAILl		-if fails to initiate the ed_t.
+ *		USB_ERR_NOSPACE	-if fails to initiate the ed_t 
+ *					because there is no USB Resource for this init_ed.
+ */
+/******************************************************************************/
+int  	init_ed(ed_t	*init_ed,
+		u8      	dev_addr,
+		u8      	ep_num,
+		bool        f_is_ep_in,
+		u8      	dev_speed,
+		u8      	ep_type,
+		u16    	max_packet_size,
+		u8      	multi_count,
+		u8      	interval,
+		u32    	sched_frame,
+		u8     	hub_addr,
+		u8     	hub_port,
+		bool        f_is_do_split,
+		void	*ep)
+{
+	init_ed->is_halted 		= false;
+	init_ed->is_need_to_insert_scheduler= true;
+	init_ed->ed_id 			= (u32)init_ed;
+	init_ed->num_td 			= 0;
+	init_ed->ed_private = ep;
+
+	otg_list_init(&init_ed->td_list_entry);
+
+	//start to initiate struct ed_desc....
+	init_ed->ed_desc.is_do_split	= f_is_do_split;
+	init_ed->ed_desc.is_ep_in		= f_is_ep_in;
+	init_ed->ed_desc.dev_speed	= dev_speed;
+	init_ed->ed_desc.hub_addr		= hub_addr;
+	init_ed->ed_desc.hub_port		= hub_port;
+	init_ed->ed_desc.mc		= multi_count;
+	init_ed->ed_desc.device_addr	= dev_addr;
+	init_ed->ed_desc.endpoint_num	= ep_num;
+	init_ed->ed_desc.endpoint_type	= ep_type;
+	init_ed->ed_desc.max_packet_size	= max_packet_size;	
+	init_ed->ed_desc.sched_frame	= sched_frame;
+
+	if(init_ed->ed_desc.endpoint_type == INT_TRANSFER)
+	{
+		if(init_ed->ed_desc.dev_speed == LOW_SPEED_OTG ||init_ed->ed_desc.dev_speed == FULL_SPEED_OTG)
+		{
+			init_ed->ed_desc.interval	=interval;			
+		}
+		else if(init_ed->ed_desc.dev_speed == HIGH_SPEED_OTG)
+		{
+			u8	count = 0;
+			u8	cal_interval = 1;
+			
+			for(count = 0;count<(init_ed->ed_desc.interval-1);count++)
+			{
+				cal_interval *=2; 
+			}
+			
+			init_ed->ed_desc.interval	=cal_interval;					
+		}
+		else
+		{
+			otg_dbg(OTG_DBG_TRANSFER,"Super-Speed is not supported\n");
+		}
+		init_ed->ed_desc.sched_frame = (SCHEDULE_SLOT+oci_get_frame_num())&HFNUM_MAX_FRNUM;
+		ref_periodic_transfer++;
+	}
+	if(init_ed->ed_desc.endpoint_type==ISOCH_TRANSFER)
+	{
+		u8	count = 0;
+		u8	cal_interval = 1;
+			
+		for(count = 0;count<(init_ed->ed_desc.interval-1);count++)
+		{
+			cal_interval *=2; 
+		}
+		
+		init_ed->ed_desc.interval	= cal_interval;	
+		init_ed->ed_desc.sched_frame = (SCHEDULE_SLOT+oci_get_frame_num())&HFNUM_MAX_FRNUM;
+		ref_periodic_transfer++;
+	}
+
+	//start to initiate struct ed_status....
+	
+	//initiates PID
+	switch(ep_type)
+	{
+		case BULK_TRANSFER:
+		case INT_TRANSFER:
+			init_ed->ed_status.data_tgl	= DATA0;
+			break;
+			
+		case CONTROL_TRANSFER:
+			init_ed->ed_status.control_data_tgl.setup_tgl	= SETUP;
+			init_ed->ed_status.control_data_tgl.data_tgl	= DATA1;
+			init_ed->ed_status.control_data_tgl.status_tgl	= DATA1;
+			break;
+		
+		case ISOCH_TRANSFER:
+			if(f_is_ep_in)
+			{
+				switch(multi_count)
+				{
+					case MULTI_COUNT_ZERO : 
+						init_ed->ed_status.data_tgl	= DATA0;						
+						break;
+					case MULTI_COUNT_ONE : 
+						init_ed->ed_status.data_tgl	= DATA1;						
+						break;
+					case MULTI_COUNT_TWO : 
+						init_ed->ed_status.data_tgl	= DATA2;						
+						break;
+					default:break;
+				}
+			}
+			else
+			{			
+				switch(multi_count)
+				{
+					case MULTI_COUNT_ZERO : 
+						init_ed->ed_status.data_tgl	= DATA0;						
+						break;
+					case MULTI_COUNT_ONE : 
+						init_ed->ed_status.data_tgl	= MDATA;						
+						break;
+					case MULTI_COUNT_TWO : 
+						init_ed->ed_status.data_tgl	= MDATA;						
+						break;
+					default:break;
+				}
+			}
+			break;
+		default:
+			break;
+
+	}
+
+	if(init_ed->ed_desc.endpoint_type == INT_TRANSFER ||
+		init_ed->ed_desc.endpoint_type == ISOCH_TRANSFER)
+	{
+		u32 usb_time = 0, byte_count = 0;
+		
+		//calculates the bytes to be transferred at one (uframe)frame.
+		byte_count = (init_ed->ed_desc.mc+1)*init_ed->ed_desc.max_packet_size;
+	
+		usb_time =	(u32)otg_usbcore_get_calc_bustime(init_ed->ed_desc.dev_speed,
+									init_ed->ed_desc.is_ep_in,
+									(init_ed->ed_desc.endpoint_type==ISOCH_TRANSFER?true:false),
+									byte_count);
+		usb_time /= 1000;	//convert nanosec unit to usec unit
+		
+		if(reserve_used_resource_for_periodic(usb_time, init_ed->ed_desc.dev_speed, init_ed->ed_desc.endpoint_type)!=USB_ERR_SUCCESS)
+		{				
+			return USB_ERR_NOSPACE;
+		}	
+		
+		init_ed->ed_status.is_alloc_resource_for_ed	=true;	
+		init_ed->ed_desc.used_bus_time		=usb_time;
+		init_ed->ed_desc.mc			=multi_count+1;
+	}
+	
+	init_ed->ed_status.is_in_transfer_ready_q 	=false;
+	init_ed->ed_status.is_in_transferring		=false;
+	init_ed->ed_status.is_ping_enable		=false;
+	init_ed->ed_status.in_transferring_td		=0;
+
+	//push the ed_t to ED_list.
+	otg_list_push_prev(&init_ed->ed_list_entry,&ed_list_head);
+
+	if(ref_periodic_transfer)
+	{
+		enable_sof();
+	}
+	return USB_ERR_SUCCESS;
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	int 	create_td(td_t 	**new_td)
+ *
+ * @brief		this function creates a new td_t and returns the td_t to Caller 
+ *
+ *
+ * @param	[OUT]	new_td = returns the address of the new td_t .
+ *
+ * @return	USB_ERR_SUCCESS	-if successes to create the new td_t.
+ *		USB_ERR_FAILl		-if fails to create to new td_t.
+ */
+/******************************************************************************/
+int  	create_td(td_t 	**new_td)
+{
+	int	err_code = USB_ERR_SUCCESS;
+	
+	err_code =  otg_mem_alloc((void **)new_td,(u16)sizeof(td_t), USB_MEM_SYNC);
+	otg_mem_set(*new_td, 0, sizeof(td_t));
+	return err_code;
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	int 	init_td(	td_t			*init_td,
+ *				ed_t 			*parent_ed,
+ *				void 			*call_back_fun,
+ *				void 			*call_back_param,
+ *				u32			transfer_flag,
+ *				bool                          	f_is_standard_dev_req,
+ *				u32                        	phy_setup,
+ *				u32			vir_setup,
+ *				u32                      		vir_buf_addr,
+ *				u32                      		phy_buf_addr,
+ *				u32                      		buf_size,
+ *				u32                      		isoch_start_frame,
+ *				isoch_packet_desc_t 	*isoch_packet_desc,
+ *				u32                       	isoch_packet_num,
+ *				void 			*td_priv)
+ *
+ * @brief		this function initiates the init_td by using another parameter. 
+ *
+ *
+ * @param	[IN]	init_td			- indicate the td_t to be initiated.
+ *		[IN]	parent_ed		- indicate the ed_t to manage this init_td
+ *		[IN]	call_back_func		- indicate the call-back function of application.
+ *		[IN]	call_back_param		- indicate the parameter of the call-back function.
+ * 		[IN]	transfer_flag		- indicate the transfer flag.
+ *		[IN]	f_is_standard_dev_req	- indicates the issue transfer request is USB Standard Request	
+ *		[IN]	phy_setup		- the physical address of buffer to store the USB Standard Request.
+ *		[IN]	vir_setup		- the virtual address of buffer to store the USB Standard Request.		
+ *		[IN]	vir_buf_addr		- the virtual address of buffer to store the data to be transferred or received.	
+ *		[IN]	phy_buf_addr		- the physical address of buffer to store the data to be transferred or received.
+ *		[IN]	buf_size			- indicates the buffer size.
+ *		[IN]	isoch_start_frame		- if this usb transfer is isochronous transfer
+ *						, this indicates the start frame to start the usb transfer.
+ *		[IN]	isoch_packet_desc		- if the usb transfer is isochronous transfer
+ *						, this indicates the structure to describe the isochronous transfer.
+ *		[IN]	isoch_packet_num		- if the usb transfer is isochronous transfer
+ *						, this indicates the number of packet to consist of the usb transfer.
+ *		[IN]	td_priv			- indicate the private data to be delivered from usb core of linux.
+ *							td_priv stores the urb of linux.
+ *
+ * @return	USB_ERR_SUCCESS -if successes to initiate the new td_t.
+ *		USB_ERR_FAILl	  -if fails to create to new td_t.
+ */
+/******************************************************************************/
+int  	init_td(	td_t			*init_td,
+		ed_t 			*parent_ed,
+		void 			*call_back_fun,
+		void 			*call_back_param,
+		u32			transfer_flag,
+		bool                          	f_is_standard_dev_req,
+		u32                        	phy_setup,
+		u32			vir_setup,
+		u32                      		vir_buf_addr,
+		u32                      		phy_buf_addr,
+		u32                      		buf_size,
+		u32                      		isoch_start_frame,
+		isoch_packet_desc_t 	*isoch_packet_desc,
+		u32                       	isoch_packet_num,
+		void 			*td_priv)
+{
+	if(f_is_standard_dev_req)
+	{
+		if((phy_buf_addr>0) && (buf_size>0))
+		{
+			init_td->standard_dev_req_info.is_data_stage = true;
+		}
+		else
+		{
+			init_td->standard_dev_req_info.is_data_stage = false;
+		}
+		init_td->standard_dev_req_info.conrol_transfer_stage 		= SETUP_STAGE;
+		init_td->standard_dev_req_info.phy_standard_dev_req_addr 	= phy_setup;
+		init_td->standard_dev_req_info.vir_standard_dev_req_addr 	= vir_setup;
+	}
+
+	init_td->call_back_func_p		=	call_back_fun;
+	init_td->call_back_func_param_p	=	call_back_param;
+	init_td->error_code 		= 	USB_ERR_SUCCESS;	
+	init_td->is_standard_dev_req	= 	f_is_standard_dev_req;
+	init_td->is_transfer_done		= 	false;
+	init_td->is_transferring		=	false;	
+	init_td->td_private		= 	td_priv;	
+	init_td->err_cnt 			=	0;
+	init_td->parent_ed_p		=	parent_ed;
+	init_td->phy_buf_addr		=	phy_buf_addr;
+	init_td->vir_buf_addr		=	vir_buf_addr;
+	init_td->buf_size 			=	buf_size;
+	init_td->isoch_packet_desc_p	=	isoch_packet_desc;
+	init_td->isoch_packet_num		= 	isoch_packet_num;
+	init_td->isoch_packet_index	= 	0;
+	init_td->isoch_packet_position	=	0;
+	init_td->sched_frame		= 	isoch_start_frame;
+	init_td->used_total_bus_time	=	parent_ed->ed_desc.used_bus_time;	
+	init_td->td_id			= 	(u32)init_td;
+	init_td->transfer_flag		=	transfer_flag;
+	init_td->transferred_szie		=	0;
+
+	switch(parent_ed->ed_desc.endpoint_type)
+	{
+		case CONTROL_TRANSFER:
+			init_nonperio_stransfer(true, init_td);
+			break;
+			
+		case BULK_TRANSFER:
+			init_nonperio_stransfer(false, init_td);
+			break;
+			
+		case INT_TRANSFER:
+			init_perio_stransfer(false, init_td);
+			break;
+			
+		case ISOCH_TRANSFER:
+			init_perio_stransfer(true, init_td);
+			break;
+			
+		default:
+			return USB_ERR_FAIL;
+	}
+
+	//insert the td_t to parent_ed->td_list_entry.
+	otg_list_push_prev(&init_td->td_list_entry,&parent_ed->td_list_entry);
+	parent_ed->num_td++;
+
+	return USB_ERR_SUCCESS;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int  	issue_transfer(ed_t 		*parent_ed,
+ *				void 			*call_back_func,
+ *				void 			*call_back_param,
+ * 				u32			transfer_flag,
+ *				bool                        	f_is_standard_dev_req,
+ *				u32                     		setup_vir_addr,
+ *				u32                     		setup_phy_addr,
+ *				u32                     		vir_buf_addr,
+ *				u32                     		phy_buf_addr,
+ *				u32                     		buf_size,
+ *				u32                     		start_frame,
+ *				u32                     		isoch_packet_num,
+ *				isoch_packet_desc_t 	*isoch_packet_desc,
+ *				void			*td_priv,
+ *				unsigned int 		*return_td_addr)
+ *
+ * @brief		this function start USB Transfer 
+ *
+ *
+ * @param	[IN]	parent_ed		- indicate the ed_t to manage this issue transfer.
+ *		[IN]	call_back_func		- indicate the call-back function of application.
+ *		[IN]	call_back_param		- indicate the parameter of the call-back function.
+ * 		[IN]	transfer_flag		- indicate the transfer flag.
+ *		[IN]	f_is_standard_dev_req	- indicates the issue transfer request is USB Standard Request	
+ *		[IN]	setup_vir_addr		- the virtual address of buffer to store the USB Standard Request.
+ *		[IN]	setup_phy_addr		- the physical address of buffer to store the USB Standard Request.
+ *		[IN]	vir_buf_addr		- the virtual address of buffer to store the data to be transferred or received.	
+ *		[IN]	phy_buf_addr		- the physical address of buffer to store the data to be transferred or received.
+ *		[IN]	buf_size			- indicates the buffer size.
+ *		[IN]	start_frame		- if this usb transfer is isochronous transfer
+ *						, this indicates the start frame to start the usb transfer.
+ *		[IN]	isoch_packet_num		- if the usb transfer is isochronous transfer
+ *						, this indicates the number of packet to consist of the usb transfer.
+ *		[IN]	isoch_packet_desc		- if the usb transfer is isochronous transfer
+ *						, this indicates the structure to describe the isochronous transfer.
+ *		[IN]	td_priv			- indicate the private data to be delivered from usb core of linux.
+ *							td_priv stores the urb of linux.
+ *		[OUT]	return_td_addr		- indicates the variable address to store the new td_t for this transfer
+ *
+ * @return	USB_ERR_SUCCESS -if successes to initiate the new td_t.
+ *		USB_ERR_FAILl	  -if fails to create to new td_t.
+ */
+/******************************************************************************/
+int  	issue_transfer(ed_t 			*parent_ed,
+			void 			*call_back_func,
+			void 			*call_back_param,
+			u32			transfer_flag,
+			bool                        	f_is_standard_dev_req,
+			u32                     		setup_vir_addr,
+			u32                     		setup_phy_addr,
+			u32                     		vir_buf_addr,
+			u32                     		phy_buf_addr,
+			u32                     		buf_size,
+			u32                     		start_frame,
+			u32                     		isoch_packet_num,
+			isoch_packet_desc_t 	*isoch_packet_desc,
+			void 			*td_priv,
+			unsigned int 		*return_td_addr)
+{
+	td_t *new_td_p = NULL;
+	
+	int err = USB_ERR_SUCCESS;
+	if(create_td(&new_td_p)==USB_ERR_SUCCESS)
+	{
+		err = init_td(	new_td_p,	
+				parent_ed,
+				call_back_func,
+				call_back_param,
+				transfer_flag,
+				f_is_standard_dev_req,
+				setup_phy_addr,
+				setup_vir_addr,
+				vir_buf_addr,
+				phy_buf_addr,
+				buf_size,
+				start_frame,
+				isoch_packet_desc,
+				isoch_packet_num,	
+				td_priv);
+			
+		if(err !=USB_ERR_SUCCESS)
+		{
+			return USB_ERR_NOMEM;
+		}
+
+		if(parent_ed->is_need_to_insert_scheduler)
+		{
+			insert_ed_to_scheduler(parent_ed);
+		}
+		
+		*return_td_addr = (u32)new_td_p;
+	
+		return USB_ERR_SUCCESS;
+	}
+	else
+	{
+		return USB_ERR_NOMEM;
+	}
+}
+
+/******************************************************************************/
+/*! 
+ * @name	int  	cancel_transfer(	ed_t 	*parent_ed,
+ *					td_t 	*cancel_td)
+ *
+ * @brief		this function cancels to transfer USB Transfer of cancel_td.
+ *			this function firstly check whether this cancel_td is transferring or not
+ *			if the cancel_td is transferring, the this function requests to cancel the USB Transfer 
+ *			to S3CScheduler. if the parent_ed is for Periodic Transfer, and 
+ *			there is not any td_t at parent_ed, then this function requests to release 
+ *			some usb resources for the ed_t to S3CScheduler. finally this function deletes the cancel_td.
+ *
+ * @param	[IN]	pUpdateTD	= indicates the pointer ot the td_t to have STransfer to be updated.
+ *
+ * @return	USB_ERR_SUCCESS	- if success to update the STranfer of pUpdateTD.
+ *		USB_ERR_FAIL		- if fail to update the STranfer of pUpdateTD.
+ */
+ /******************************************************************************/
+int  	cancel_transfer(ed_t 	*parent_ed,
+			td_t 	*cancel_td)
+{
+	int 		err = USB_ERR_DEQUEUED;
+	otg_list_head	*tmp_list_p, *tmp_list2_p;
+	bool		cond_found = false;
+
+
+	if(parent_ed == NULL || cancel_td == NULL)
+	{	
+		otg_dbg(OTG_DBG_TRANSFER, "parent_ed == NULL || cancel_td == NULL\n"); 
+		cancel_td->error_code = USB_ERR_NOELEMENT;
+	//	otg_usbcore_giveback(cancel_td);
+		return cancel_td->error_code;
+	}	
+
+	otg_list_for_each_safe(tmp_list_p, tmp_list2_p, &parent_ed->td_list_entry) {
+		if(&cancel_td->td_list_entry == tmp_list_p)
+		{
+			cond_found = true;
+			break;
+		}
+	}
+
+	if (cond_found != true)
+	{	
+		otg_dbg(OTG_DBG_TRANSFER, "cond_found != true \n");	
+		cancel_td->error_code = USB_ERR_NOELEMENT;
+	//	otg_usbcore_giveback(cancel_td);
+		return cancel_td->error_code;
+	}	
+	
+	
+	if(cancel_td->is_transferring)
+	{
+		if(!parent_ed->ed_status.is_in_transfer_ready_q)
+		{
+			err = cancel_to_transfer_td(cancel_td);
+			
+			parent_ed->ed_status.in_transferring_td = 0;
+			
+			if(err != USB_ERR_SUCCESS)
+			{
+				otg_dbg(OTG_DBG_TRANSFER, "cancel_to_transfer_td \n"); 
+				cancel_td->error_code = err;
+			//	otg_usbcore_giveback(cancel_td);
+				goto ErrorStatus;
+			}
+
+			otg_list_pop(&cancel_td->td_list_entry);
+			parent_ed->num_td--;
+		}
+	}
+	else
+	{
+		otg_list_pop(&cancel_td->td_list_entry);
+		parent_ed->num_td--;
+		
+		if(parent_ed->num_td==0)
+		{
+			remove_ed_from_scheduler(parent_ed);
+		}		
+	}
+
+	if(parent_ed->num_td)
+	{
+		parent_ed->is_need_to_insert_scheduler = true;
+		insert_ed_to_scheduler(parent_ed);
+	}
+	else
+	{	
+		if(parent_ed->ed_desc.endpoint_type == INT_TRANSFER ||
+			parent_ed->ed_desc.endpoint_type == ISOCH_TRANSFER)
+		{
+			//Release channel and usb bus resource for this ed_t.
+			//but, not release memory for this ed_t.
+			free_usb_resource_for_periodic(parent_ed->ed_desc.used_bus_time,
+							cancel_td->cur_stransfer.alloc_chnum,
+							cancel_td->parent_ed_p->ed_desc.endpoint_type);
+			
+			parent_ed->ed_status.is_alloc_resource_for_ed	=false;			
+		}		
+	}
+	// the caller of this functions should call otg_usbcore_giveback(cancel_td);	
+	cancel_td->error_code = USB_ERR_DEQUEUED;
+	//otg_usbcore_giveback(cancel_td);
+	delete_td(cancel_td);
+
+ErrorStatus:
+
+	return err;
+		
+
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	int cancel_all_td(ed_t *parent_ed)
+ *
+ * @brief		this function cancels all Transfer which parent_ed manages.
+ *
+ * @param	[IN]	parent_ed	= indicates the pointer ot the ed_t to manage TD_ts to be canceled.
+ *
+ * @return	USB_ERR_SUCCESS	- if success to cancel all TD_ts of pParentsED.
+ *		USB_ERR_FAIL		- if fail to cancel all TD_ts of pParentsED.
+ */
+ /******************************************************************************/
+int cancel_all_td(ed_t 	*parent_ed)
+{
+	otg_list_head 	*cancel_td_list_entry;
+	td_t 		*cancel_td;
+	
+	otg_dbg(OTG_DBG_OTGHCDI_HCD, "cancel_all_td \n");	
+	do
+	{
+		cancel_td_list_entry = parent_ed->td_list_entry.next;
+		
+		cancel_td = otg_list_get_node(cancel_td_list_entry,td_t, td_list_entry);
+		
+		cancel_transfer(parent_ed, cancel_td);
+	} while(parent_ed->num_td);
+
+	return USB_ERR_SUCCESS;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transfer-nonperiodic.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transfer-nonperiodic.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transfer-nonperiodic.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transfer-nonperiodic.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,147 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : NonPeriodicTransfer.c
+ *  [Description] : This source file implements the functions to be defined at NonPeriodicTransfer Module.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/07
+ *  [Revision History] 	     
+ *      (1) 2008/06/07   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and implements some functions of NonPeriodicTransfer.
+ *  	 -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  			: Optimizing for performance \n
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+
+#include "s3c-otg-transfer-transfer.h"
+
+/******************************************************************************/
+/*! 
+ * @name	int  	init_nonperio_stransfer(	bool		f_is_standard_dev_req,
+ *						td_t 		*parent_td)
+ *
+ * @brief		this function initiates the parent_td->cur_stransfer for NonPeriodic Transfer and 
+ *			inserts this init_td_p to init_td_p->parent_ed_p.
+ *
+ * @param	[IN]	f_is_standard_dev_req	= indicates whether this transfer is Control or not.
+ *		[IN] parent_td			= indicates the address of td_t to be initiated.
+ *
+ * @return	USB_ERR_SUCCESS	- if success to update the STranfer of pUpdateTD.
+ *		USB_ERR_FAIL		- if fail to update the STranfer of pUpdateTD.
+ */
+ /******************************************************************************/
+int  	init_nonperio_stransfer(bool	f_is_standard_dev_req,
+				td_t       *parent_td)
+{
+
+
+	parent_td->cur_stransfer.ed_desc_p 	= &parent_td->parent_ed_p->ed_desc;
+	parent_td->cur_stransfer.ed_status_p 	= &parent_td->parent_ed_p->ed_status;
+	parent_td->cur_stransfer.alloc_chnum	= CH_NONE;
+	parent_td->cur_stransfer.parent_td		= (u32)parent_td;
+	parent_td->cur_stransfer.stransfer_id 	= (u32)&parent_td->cur_stransfer;
+
+	otg_mem_set(&(parent_td->cur_stransfer.hc_reg), 0, sizeof(hc_reg_t));
+
+	parent_td->cur_stransfer.hc_reg.hc_int_msk.b.chhltd = 1;	
+
+	if(f_is_standard_dev_req)
+	{			
+		parent_td->cur_stransfer.buf_size		=	USB_20_STAND_DEV_REQUEST_SIZE;	
+		parent_td->cur_stransfer.start_phy_buf_addr	= 	parent_td->standard_dev_req_info.phy_standard_dev_req_addr;
+		parent_td->cur_stransfer.start_vir_buf_addr	=	parent_td->standard_dev_req_info.vir_standard_dev_req_addr;
+	}
+	else
+	{
+		parent_td->cur_stransfer.buf_size		=	(parent_td->buf_size>MAX_CH_TRANSFER_SIZE)
+								?MAX_CH_TRANSFER_SIZE
+								:parent_td->buf_size;	
+		
+		parent_td->cur_stransfer.start_phy_buf_addr	= 	parent_td->phy_buf_addr;
+		parent_td->cur_stransfer.start_vir_buf_addr	=	parent_td->vir_buf_addr;
+	}
+	
+	parent_td->cur_stransfer.packet_cnt = calc_packet_cnt(parent_td->cur_stransfer.buf_size
+								, parent_td->parent_ed_p->ed_desc.max_packet_size);
+	
+	return USB_ERR_SUCCESS;
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	void	update_nonperio_stransfer(td_t *parent_td)
+ *
+ * @brief		this function updates the parent_td->cur_stransfer to be used by S3COCI.
+ *
+ * @param	[IN/OUT]parent_td	= indicates the pointer of td_t to store the STranser to be updated.
+ *
+ * @return	USB_ERR_SUCCESS	-if success to update the parent_td->cur_stransfer.
+ *		USB_ERR_FAIL		-if fail to update the parent_td->cur_stransfer.
+ */
+ /******************************************************************************/
+void  	update_nonperio_stransfer(td_t *parent_td)
+{
+	switch(parent_td->parent_ed_p->ed_desc.endpoint_type)
+	{	
+		case BULK_TRANSFER:
+			parent_td->cur_stransfer.start_phy_buf_addr	= parent_td->phy_buf_addr+parent_td->transferred_szie;
+			parent_td->cur_stransfer.start_vir_buf_addr	= parent_td->vir_buf_addr+parent_td->transferred_szie;
+			parent_td->cur_stransfer.buf_size		= ((parent_td->buf_size - parent_td->transferred_szie)>MAX_CH_TRANSFER_SIZE)
+								?MAX_CH_TRANSFER_SIZE
+								:parent_td->buf_size - parent_td->transferred_szie;		
+		break;		
+		
+		case CONTROL_TRANSFER:
+			if(parent_td->standard_dev_req_info.conrol_transfer_stage == SETUP_STAGE)
+			{
+				// but, this case will not be occured......
+				parent_td->cur_stransfer.start_phy_buf_addr	= parent_td->standard_dev_req_info.phy_standard_dev_req_addr;
+				parent_td->cur_stransfer.start_vir_buf_addr 	= parent_td->standard_dev_req_info.vir_standard_dev_req_addr;
+				parent_td->cur_stransfer.buf_size		= 8;		
+			}
+			else if(parent_td->standard_dev_req_info.conrol_transfer_stage == DATA_STAGE)
+			{
+				parent_td->cur_stransfer.start_phy_buf_addr	= parent_td->phy_buf_addr+parent_td->transferred_szie;
+				parent_td->cur_stransfer.start_vir_buf_addr 	= parent_td->vir_buf_addr+parent_td->transferred_szie;
+				parent_td->cur_stransfer.buf_size		= ((parent_td->buf_size - parent_td->transferred_szie)>MAX_CH_TRANSFER_SIZE)
+									?MAX_CH_TRANSFER_SIZE
+									:parent_td->buf_size - parent_td->transferred_szie;				
+			}
+			else
+			{
+				parent_td->cur_stransfer.start_phy_buf_addr	= 0;
+				parent_td->cur_stransfer.start_vir_buf_addr 	= 0;
+				parent_td->cur_stransfer.buf_size		= 0;			
+			}
+			break;
+			
+
+		default:
+			break;
+	}
+	
+	parent_td->cur_stransfer.packet_cnt = calc_packet_cnt(parent_td->cur_stransfer.buf_size, parent_td->parent_ed_p->ed_desc.max_packet_size);	
+
+}
+
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transfer-periodic.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transfer-periodic.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transfer-periodic.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transfer-periodic.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,131 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : NonPeriodicTransfer.c
+ *  [Description] : This source file implements the functions to be defined at NonPeriodicTransfer Module.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/09
+ *  [Revision History] 	     
+ *      (1) 2008/06/09   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and implements some functions of PeriodicTransfer.
+ *  	 -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  			: Optimizing for performance \n
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-transfer-transfer.h"
+
+
+/******************************************************************************/
+/*! 
+ * @name	int  	init_perio_stransfer(	bool	f_is_isoch_transfer,
+ *					  	td_t 	*parent_td)
+ *
+ * @brief		this function initiates the parent_td->cur_stransfer for Periodic Transfer and 
+ *			inserts this init_td_p to init_td_p->parent_ed_p.
+ *
+ * @param	[IN]	f_is_isoch_transfer	= indicates whether this transfer is Isochronous or not.
+ *		[IN] parent_td	= indicates the address of td_t to be initiated.
+ *
+ * @return	USB_ERR_SUCCESS	-if success to update the STranfer of pUpdateTD.
+ *		USB_ERR_FAIL		-if fail to update the STranfer of pUpdateTD.
+ */
+ /******************************************************************************/
+int  	init_perio_stransfer(	bool	f_is_isoch_transfer,
+				td_t 	*parent_td)
+{
+	parent_td->cur_stransfer.ed_desc_p 	= &parent_td->parent_ed_p->ed_desc;
+	parent_td->cur_stransfer.ed_status_p 	= &parent_td->parent_ed_p->ed_status;
+	parent_td->cur_stransfer.alloc_chnum	= CH_NONE;
+	parent_td->cur_stransfer.parent_td		= (u32)parent_td;
+	parent_td->cur_stransfer.stransfer_id  	= (u32)&parent_td->cur_stransfer;
+
+	otg_mem_set(&parent_td->cur_stransfer.hc_reg, 0, sizeof(hc_reg_t));
+
+	parent_td->cur_stransfer.hc_reg.hc_int_msk.b.chhltd = 1;
+	
+	if(f_is_isoch_transfer)
+	{
+		// initiates the STransfer usinb the IsochPacketDesc[0].
+		parent_td->cur_stransfer.buf_size		=parent_td->isoch_packet_desc_p[0].buf_size;
+		parent_td->cur_stransfer.start_phy_buf_addr	=parent_td->phy_buf_addr + parent_td->isoch_packet_desc_p[0].isoch_packiet_start_addr;
+		parent_td->cur_stransfer.start_vir_buf_addr	=parent_td->vir_buf_addr + parent_td->isoch_packet_desc_p[0].isoch_packiet_start_addr;
+	}
+	else
+	{
+		parent_td->cur_stransfer.buf_size		=(parent_td->buf_size>MAX_CH_TRANSFER_SIZE)
+							?MAX_CH_TRANSFER_SIZE
+							:parent_td->buf_size;	
+		
+		parent_td->cur_stransfer.start_phy_buf_addr	=parent_td->phy_buf_addr;
+		parent_td->cur_stransfer.start_vir_buf_addr	=parent_td->vir_buf_addr;
+	}
+	
+	parent_td->cur_stransfer.packet_cnt = calc_packet_cnt(parent_td->cur_stransfer.buf_size, parent_td->parent_ed_p->ed_desc.max_packet_size);
+	
+	return USB_ERR_SUCCESS;
+}
+
+
+/******************************************************************************/
+/*! 
+ * @name	void  	update_perio_stransfer(td_t *parent_td)
+ *
+ * @brief		this function updates the parent_td->cur_stransfer to be used by S3COCI.
+ *			the STransfer of parent_td is for Periodic Transfer.
+ *
+ * @param	[IN/OUT]parent_td	= indicates the pointer of td_t to store the STranser to be updated.
+ *
+ * @return	USB_ERR_SUCCESS	-if success to update the parent_td->cur_stransfer.
+ *		USB_ERR_FAIL		-if fail to update the parent_td->cur_stransfer.
+ */
+ /******************************************************************************/
+void  		update_perio_stransfer(td_t *parent_td)
+{
+	
+	switch(parent_td->parent_ed_p->ed_desc.endpoint_type)
+	{
+		case INT_TRANSFER:
+			parent_td->cur_stransfer.start_phy_buf_addr	=parent_td->phy_buf_addr+parent_td->transferred_szie;
+			parent_td->cur_stransfer.start_vir_buf_addr 	=parent_td->vir_buf_addr+parent_td->transferred_szie;
+			parent_td->cur_stransfer.buf_size		=(parent_td->buf_size>MAX_CH_TRANSFER_SIZE)
+														?MAX_CH_TRANSFER_SIZE
+														:parent_td->buf_size;	
+			break;
+			
+		case ISOCH_TRANSFER:
+			parent_td->cur_stransfer.start_phy_buf_addr	= parent_td->phy_buf_addr
+								+parent_td->isoch_packet_desc_p[parent_td->isoch_packet_index].isoch_packiet_start_addr
+								+parent_td->isoch_packet_position;
+			
+			parent_td->cur_stransfer.start_vir_buf_addr	= parent_td->vir_buf_addr
+								+parent_td->isoch_packet_desc_p[parent_td->isoch_packet_index].isoch_packiet_start_addr
+								+parent_td->isoch_packet_position;
+
+			parent_td->cur_stransfer.buf_size		= (parent_td->isoch_packet_desc_p[parent_td->isoch_packet_index].buf_size - parent_td->isoch_packet_position)>MAX_CH_TRANSFER_SIZE
+								?MAX_CH_TRANSFER_SIZE
+								:parent_td->isoch_packet_desc_p[parent_td->isoch_packet_index].buf_size - parent_td->isoch_packet_position;			
+				
+			break;		
+			
+		default:		
+			break;
+	}
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transfer-transfer.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transfer-transfer.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transfer-transfer.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transfer-transfer.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,147 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : s3c-otg-transfer-transfer.h
+ *  [Description] : The Header file defines the external and internal functions of Transfer.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/03
+ *  [Revision History] 	     
+ *      (1) 2008/06/03   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and defines functions of Transfer
+ *  	 -# Jul 15,2008 v1.2 by SeungSoo Yang (ss1.yang@samsung.com) \n
+ *	  			: Optimizing for performance \n
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef  _TRANSFER_H   
+#define  _TRANSFER_H
+
+/*
+// ----------------------------------------------------------------------------
+// Include files : None.
+// ----------------------------------------------------------------------------
+*/
+//#include "s3c-otg-common-const.h"
+#include "s3c-otg-common-errorcode.h"
+#include "s3c-otg-common-datastruct.h"
+#include "s3c-otg-hcdi-memory.h"
+#include "s3c-otg-hcdi-kal.h"
+#include "s3c-otg-hcdi-debug.h"
+
+#include "s3c-otg-scheduler-scheduler.h"
+#include "s3c-otg-isr.h"
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+// the header pointer to indicate the ED_list to manage the ed_t to be created and initiated.
+extern	otg_list_head		ed_list_head;
+extern	u32			ref_periodic_transfer;
+
+
+void	init_transfer(void);
+void	deinit_transfer(void);
+
+int  	issue_transfer(ed_t 			*parent_ed,
+			void 			*call_back_func,
+			void 			*call_back_param,
+			u32			transfer_flag,
+			bool			f_is_standard_dev_req,
+			u32			setup_vir_addr,
+			u32                      		setup_phy_addr,
+			u32                      		vir_buf_addr,
+			u32                      		phy_buf_addr,
+			u32                      		buf_size,
+			u32                     		start_frame,
+			u32                      		isoch_packet_num,
+			isoch_packet_desc_t 	*isoch_packet_desc,
+			void                         	*td_priv,
+			unsigned int             	*return_td_addr);
+
+int  	cancel_transfer(ed_t 	*parent_ed,
+			td_t 	*cancel_td);
+		
+int  	cancel_all_td(ed_t 	*parent_ed);
+
+int 	create_ed(ed_t **	new_ed);
+
+int  	init_ed(ed_t *	init_ed,
+		u8      	dev_addr,
+		u8      	ep_num,
+		bool        f_is_ep_in,
+		u8      	dev_speed,
+		u8      	ep_type,
+		u16    	max_packet_size,
+		u8      	multi_count,
+		u8      	interval,
+		u32    	sched_frame,
+		u8     	hub_addr,
+		u8     	hub_port,
+		bool		f_is_do_split,
+		void	*ep);
+
+int  	delete_ed(ed_t 		*delete_ed);
+
+int  	delete_td(td_t *		delete_td);
+
+int 	create_isoch_packet_desc(	isoch_packet_desc_t 	**new_isoch_packet_desc,
+					u32   			isoch_packet_num);
+
+int 	delete_isoch_packet_desc(	isoch_packet_desc_t 	*del_isoch_packet_desc,
+					u32			isoch_packet_num);
+
+
+void  	init_isoch_packet_desc(  isoch_packet_desc_t 		*init_isoch_packet_desc,
+				u32	       			offset,
+				u32                  			isoch_packet_size,
+				u32				index);
+
+// NonPeriodicTransfer.c implements.
+
+int  	init_nonperio_stransfer(bool	f_is_standard_dev_req,
+				td_t 	*parent_td);
+
+void  	update_nonperio_stransfer(td_t 	*parent_td);
+
+//PeriodicTransfer.c implements
+
+int  	init_perio_stransfer(	bool	f_is_isoch_transfer,
+				td_t 	*parent_td);
+
+void  	update_perio_stransfer(td_t 	*parent_td);
+
+static 	inline	u32	calc_packet_cnt(u32 data_size, u16 max_packet_size)
+{
+	if(data_size != 0)
+	{
+		return (data_size%max_packet_size==0)?data_size/max_packet_size:data_size/max_packet_size+1;
+	}
+	return 1;
+}
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-bulk.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-bulk.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-bulk.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-bulk.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,673 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : BulkTransferChecker.c
+ *  [Description] : The Source file implements the external and internal functions of BulkTransferChecker.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/13
+ *  [Revision History] 	     
+ *      (1) 2008/06/18   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and implements functions of BulkTransferChecker
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-transferchecker-bulk.h"
+#include "s3c-otg-isr.h"
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_bulk_transfer(td_t 	*result_td, 
+					hc_info_t *hc_reg_data)
+
+ *
+ * @brief		this function processes the result of the Bulk Transfer.
+ *			firstly, this function checks the result of the Bulk Transfer.
+ *			and according to the result, calls the sub-functions to process the result.
+ *
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t whose channel is interruped.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_TRANSMIT	-if need to retransmit the result_td.
+ *		RE_SCHEDULE	-if need to reschedule the result_td.
+ *		DE_ALLOCATE	-if USB Transfer is completed.
+ *		NO_ACTION	-if we don't need any action,
+ */
+/******************************************************************************/
+u8	process_bulk_transfer(td_t 		*result_td, 
+				hc_info_t 	*hc_reg_data)
+{
+	hcintn_t		hc_intr_info;
+	u8		return_val=0;
+
+	//we just deal with the interrupts to be unmasked.
+	hc_intr_info.d32 = hc_reg_data->hc_int.d32 & result_td->cur_stransfer.hc_reg.hc_int_msk.d32;
+
+	if(result_td->parent_ed_p->ed_desc.is_ep_in)
+	{
+		if(hc_intr_info.b.chhltd)
+		{
+			return_val = process_chhltd_on_bulk(result_td, hc_reg_data);
+		}
+		
+		else if (hc_intr_info.b.ack)
+		{
+			return_val =process_ack_on_bulk(result_td, hc_reg_data);
+		}
+		
+		else if (hc_intr_info.b.nak)
+		{
+			return_val =process_nak_on_bulk(result_td, hc_reg_data);
+		}
+		
+		else if (hc_intr_info.b.datatglerr)
+		{
+			return_val = process_datatgl_on_bulk(result_td,hc_reg_data);
+		}	
+	}
+	else
+	{
+		if(hc_intr_info.b.chhltd)
+		{
+			return_val = process_chhltd_on_bulk(result_td,  hc_reg_data);
+		
+		}
+		
+		else if(hc_intr_info.b.ack)
+		{
+			return_val =process_ack_on_bulk( result_td, hc_reg_data);
+		}		
+	}	
+	
+	return return_val;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_chhltd_on_bulk(td_t 	*result_td, 
+ *					hc_info_t 	*hc_reg_data)
+ *
+ *
+ * @brief		this function processes Channel Halt event according to Synopsys OTG Spec.
+ *			firstly, this function checks the reason of the Channel Halt, and according to the reason, 
+ *			calls the sub-functions to process the result.
+ *
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		 [IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_TRANSMIT	-if need to retransmit the result_td.
+ *		RE_SCHEDULE	-if need to reschedule the result_td.
+ *		DE_ALLOCATE	-if USB Transfer is completed.
+ */
+/******************************************************************************/
+u8	process_chhltd_on_bulk(td_t 		*result_td, 
+				hc_info_t 	*hc_reg_data)
+{
+	if(result_td->parent_ed_p->ed_desc.is_ep_in)
+	{
+		if(hc_reg_data->hc_int.b.xfercompl)
+		{
+			return process_xfercompl_on_bulk( result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.stall)
+		{
+			return process_stall_on_bulk(result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.bblerr)
+		{
+			return process_bblerr_on_bulk(result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.xacterr)
+		{
+			return process_xacterr_on_bulk(result_td, hc_reg_data);	
+		}
+		else
+		{
+			//Occure Error State.....
+			clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+			//Mask ack Interrupt..
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+			result_td->err_cnt++;
+			if(result_td->err_cnt == 3)
+			{
+				result_td->error_code = USB_ERR_STATUS_XACTERR;
+				result_td->err_cnt = 0;
+				return DE_ALLOCATE;
+			}
+			
+			return RE_TRANSMIT;
+		}
+	}
+	else
+	{
+		if(hc_reg_data->hc_int.b.xfercompl)
+		{				
+			return process_xfercompl_on_bulk(result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.stall)
+		{
+			return process_stall_on_bulk(result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.xacterr)
+		{
+			return process_xacterr_on_bulk(result_td, hc_reg_data);
+		}
+		
+		else if(hc_reg_data->hc_int.b.nak)
+		{
+			return process_nak_on_bulk(result_td, hc_reg_data);			
+		}
+		else if(hc_reg_data->hc_int.b.nyet)
+		{
+			return process_nyet_on_bulk(result_td, hc_reg_data);
+		}
+		else
+		{
+			//occur error state...
+			clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+			//Mask ack Interrupt..
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+			result_td->err_cnt++;
+			if(result_td->err_cnt == 3)
+			{
+				result_td->error_code = USB_ERR_STATUS_XACTERR;
+				result_td->err_cnt = 0;
+				return DE_ALLOCATE;
+			}
+			
+			return RE_TRANSMIT;
+		}
+		
+
+			
+	}
+	return USB_ERR_SUCCESS;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8		process_xfercompl_on_bulk(	td_t 	*result_td, 
+ *							hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the xfercompl event according to Synopsys OTG Spec.
+ *			the procedure of this function is as following
+ *				1. clears all bits of the channel' HCINT by using clear_ch_intr() of S3CIsr.
+ *				2. masks some bit of HCINTMSK
+ *				3. updates the result_td fields
+ *					err_cnt/u8/standard_dev_req_info.
+ *				4. updates the result_td->parent_ed_p->ed_status.
+ *					BulkDataTgl.
+ *				5. calculates the tranferred size by calling calc_transferred_size() on DATA_STAGE.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	USB_ERR_SUCCESS
+ */
+/******************************************************************************/
+u8	process_xfercompl_on_bulk(td_t 	*result_td, 
+					hc_info_t *hc_reg_data)
+{
+	u8	ret_val=0;
+	
+	result_td->err_cnt 		= 	0;	
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	result_td->parent_ed_p->ed_status.is_ping_enable	=false;
+
+	result_td->transferred_szie += calc_transferred_size(true,result_td, hc_reg_data);
+
+	if(result_td->transferred_szie==result_td->buf_size)
+	{//at IN Transfer, short transfer is accepted.
+		result_td->error_code	=	USB_ERR_STATUS_COMPLETE;
+		ret_val = DE_ALLOCATE;
+	}
+	else
+	{
+		if(result_td->parent_ed_p->ed_desc.is_ep_in&& hc_reg_data->hc_size.b.xfersize)
+		{
+			if(result_td->transfer_flag&USB_TRANS_FLAG_NOT_SHORT)
+			{
+				result_td->error_code	=USB_ERR_STATUS_SHORTREAD;	
+			}
+			else
+			{
+				result_td->error_code	=USB_ERR_STATUS_COMPLETE;		
+			}
+			ret_val = DE_ALLOCATE;
+		}
+		else
+		{	
+			ret_val = RE_SCHEDULE;
+		}
+	}	
+	update_datatgl(hc_reg_data->hc_size.b.pid, result_td);	
+
+	if(hc_reg_data->hc_int.b.nyet)
+	{
+		//at OUT Transfer, we must re-transmit.
+		if(result_td->parent_ed_p->ed_desc.is_ep_in==false)
+		{			
+			
+			if(result_td->parent_ed_p->ed_desc.dev_speed == HIGH_SPEED_OTG)
+			{
+				result_td->parent_ed_p->ed_status.is_ping_enable = true;
+			}
+			else
+			{
+				result_td->parent_ed_p->ed_status.is_ping_enable = false;
+			}			
+		}	
+	}
+	
+	return ret_val;
+	
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_ahb_on_bulk(td_t 	*result_td, 
+ *					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with theAHB Errorl event according to Synopsys OTG Spec.
+ *			this function stop the channel to be executed
+ *			TBD....
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	USB_ERR_SUCCESS
+ */
+/******************************************************************************/						     	
+u8	process_ahb_on_bulk(td_t 	*result_td, 
+				hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt 	=0;
+	result_td->error_code	=USB_ERR_STATUS_AHBERR;
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_AHBErr);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	// we just calculate the size of the transferred data on Data Stage of Bulk Transfer.
+	result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);	
+	result_td->parent_ed_p->ed_status.is_ping_enable	=	false;
+	
+	return DE_ALLOCATE;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_stall_on_bulk(td_t 	*result_td, 
+ *					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with theStall event according to Synopsys OTG Spec.
+ *			when Stall is occured at Bulk Transfer, we should reset the PID as DATA0
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	DE_ALLOCATE
+ */
+/******************************************************************************/
+u8	process_stall_on_bulk(	td_t *		result_td, 
+				hc_info_t *	hc_reg_data)
+{
+	result_td->err_cnt 	=0;
+	result_td->error_code	=USB_ERR_STATUS_STALL;
+
+	//this channel is stalled, So we don't process another interrupts.
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	
+	result_td->parent_ed_p->ed_status.is_ping_enable	=	false;
+	result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+		
+	update_datatgl(DATA0, result_td);	
+
+		
+	return DE_ALLOCATE;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_nak_on_bulk(td_t 	*result_td, 
+ *					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the nak event according to Synopsys OTG Spec.
+ *			nak is occured at OUT/IN Transaction of Data/Status Stage, and is not occured at Setup Stage.
+ *			If nak is occured at IN Transaction, this function processes this interrupt as following.
+ *				1. resets the result_td->err_cnt.
+ *				2. masks ack/nak/DaaTglErr bit of HCINTMSK.
+ *				3. clears the nak bit of HCINT
+ *				4. be careful, nak of IN Transaction don't require re-transmit.
+ *			If nak is occured at OUT Transaction, this function processes this interrupt as following.		
+ *				1. all procedures of IN Transaction are executed.
+ *				2. calculates the size of the transferred data.
+ *				3. if the speed of USB Device is High-Speed, sets the ping protocol.
+ *				4. update the Toggle 
+ *			at OUT Transaction, this function check whether	the speed of USB Device is High-Speed or not. 
+ *			if USB Device is High-Speed, then
+ *			this function sets the ping protocol.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_SCHEDULE	-if the direction of the Transfer is OUT
+ *		NO_ACTION	-if the direction of the Transfer is IN
+ */
+/******************************************************************************/
+u8	process_nak_on_bulk(td_t 	*result_td, 
+				hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt = 0;
+	
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_NAK);
+
+	//at OUT Transfer, we must re-transmit.
+	if(result_td->parent_ed_p->ed_desc.is_ep_in==false)
+	{			
+		result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+
+		if(result_td->parent_ed_p->ed_desc.dev_speed == HIGH_SPEED_OTG)
+		{
+			result_td->parent_ed_p->ed_status.is_ping_enable = true;
+		}
+		else
+		{
+			result_td->parent_ed_p->ed_status.is_ping_enable = false;
+		}
+		
+		update_datatgl(hc_reg_data->hc_size.b.pid, result_td);
+		
+		return RE_TRANSMIT;
+	}	
+	return NO_ACTION;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_ack_on_bulk(td_t 	*result_td, 
+ *					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the ack event according to Synopsys OTG Spec.
+ *			ack of IN/OUT Transaction don't need any retransmit.
+ *			this function just resets result_td->err_cnt and masks ack/nak/DataTgl of HCINTMSK.
+ *			finally, this function clears ack bit of HCINT and ed_status.is_ping_enable.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	USB_ERR_SUCCESS
+ */
+/******************************************************************************/
+u8	process_ack_on_bulk(td_t 	*result_td, 
+				hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt = 0;
+	
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ACK);
+
+	result_td->parent_ed_p->ed_status.is_ping_enable	=	false;
+
+	return NO_ACTION;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_nyet_on_bulk(td_t 	*result_td, 
+ *					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the nyet event according to Synopsys OTG Spec.
+ *			nyet is only occured at OUT Transaction.
+ *			If nyet is occured at OUT Transaction, this function processes this interrupt as following.		
+ *				1. resets the result_td->err_cnt.
+ *				2. masks ack/nak/datatglerr bit of HCINTMSK.
+ *				3. clears the nyet bit of HCINT
+ *				4. calculates the size of the transferred data.
+ *				5. if the speed of USB Device is High-Speed, sets the ping protocol.
+ *				6. update the Data Toggle.
+ *				7. return RE_SCHEDULE	 to retransmit.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_SCHEDULE
+ */
+/******************************************************************************/
+u8	process_nyet_on_bulk(td_t 	*result_td, 
+				hc_info_t *hc_reg_data)
+{
+	if(result_td->parent_ed_p->ed_desc.is_ep_in)
+	{
+		// Error State....
+		return NO_ACTION;
+	}
+	
+	result_td->err_cnt = 0;
+	
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_NYET);
+				
+	result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+
+	if(result_td->parent_ed_p->ed_desc.dev_speed == HIGH_SPEED_OTG)
+	{
+		result_td->parent_ed_p->ed_status.is_ping_enable = true;
+	}
+	else
+	{
+		result_td->parent_ed_p->ed_status.is_ping_enable = false;
+	}
+	
+	update_datatgl(hc_reg_data->hc_size.b.pid, result_td);
+	
+	return RE_TRANSMIT;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_xacterr_on_bulk(	td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the xacterr event according to Synopsys OTG Spec.
+ *			xacterr is occured at OUT/IN Transaction and we should retransmit the USB Transfer
+ *			if the Error Counter is less than the RETRANSMIT_THRESHOLD.
+ *			the reasons of xacterr is Timeout/CRC error/false EOP.
+ *			the procedure to process xacterr is as following.
+ *				1. increses the result_td->err_cnt 
+ *				2. check whether the result_td->err_cnt is equal to 3.
+ *				2. unmasks ack/nak/datatglerr bit of HCINTMSK.
+ *				3. clears the xacterr bit of HCINT
+ *				4. calculates the size of the transferred data.
+ *				5. if the speed of USB Device is High-Speed, sets the ping protocol.
+ *				6. update the Data Toggle.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_TRANSMIT	-if the error count is less than 3
+ *		DE_ALLOCATE	-if the error count is equal to 3
+ */
+/******************************************************************************/
+u8	process_xacterr_on_bulk(	td_t 	*result_td, 									       
+					hc_info_t *hc_reg_data)
+{
+	u8	ret_val = 0;
+
+	if(result_td->err_cnt<RETRANSMIT_THRESHOLD)
+	{
+		result_td->cur_stransfer.hc_reg.hc_int_msk.d32 |= (CH_STATUS_ACK+CH_STATUS_NAK+CH_STATUS_DataTglErr);
+		ret_val = RE_TRANSMIT;
+		result_td->err_cnt++ ;
+	}
+	else
+	{
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+		ret_val = DE_ALLOCATE;
+		result_td->err_cnt = 0 ;
+		result_td->error_code = USB_ERR_STATUS_XACTERR;
+	}
+	
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_DataTglErr);
+				
+	result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+
+	if(result_td->parent_ed_p->ed_desc.is_ep_in==false)
+	{
+		if(result_td->parent_ed_p->ed_desc.dev_speed == HIGH_SPEED_OTG)
+		{
+			result_td->parent_ed_p->ed_status.is_ping_enable = true;
+		}
+		else
+		{
+			result_td->parent_ed_p->ed_status.is_ping_enable = false;
+		}	
+	}
+
+	
+	update_datatgl(hc_reg_data->hc_size.b.pid, result_td);
+	
+	return ret_val;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	void	process_bblerr_on_bulk(td_t *result_td, 
+ *					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the Babble event according to Synopsys OTG Spec.
+ *			babble error is occured when the buffer to receive data to be transmit is overflow.
+ *			So, babble error can be just occured at IN Transaction. 
+ *			when Babble Error is occured, we should stop the USB Transfer, and return the fact
+ *			to Application.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	DE_ALLOCATE
+ */
+/******************************************************************************/
+u8	process_bblerr_on_bulk(td_t	*result_td, 									      
+				hc_info_t *hc_reg_data)
+{
+
+	if(!result_td->parent_ed_p->ed_desc.is_ep_in)
+	{
+		return NO_ACTION;
+	}
+	
+	result_td->err_cnt 	=0;
+	result_td->error_code	=USB_ERR_STATUS_BBLERR;
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	result_td->parent_ed_p->ed_status.is_ping_enable	=false;	
+	result_td->transferred_szie += calc_transferred_size(false, result_td, hc_reg_data);		
+	
+	return DE_ALLOCATE;
+
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_datatgl_on_bulk(	td_t 	*result_td, 
+ *					   	hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the datatglerr event according to Synopsys OTG Spec.
+ *			the datatglerr event is occured at IN Transfer, and the channel is not halted.
+ *			this function just resets result_td->err_cnt and masks ack/nak/DataTgl of HCINTMSK.
+ *			finally, this function clears datatglerr bit of HCINT.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	NO_ACTION
+ */
+/******************************************************************************/
+u8	process_datatgl_on_bulk(td_t	*result_td, 
+				 hc_info_t 	*hc_reg_data)
+{
+	result_td->err_cnt = 0;
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_DataTglErr);
+
+	return NO_ACTION;
+
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-bulk.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-bulk.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-bulk.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-bulk.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,88 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : BulkTransferChecker.h
+ *  [Description] : The Header file defines the external and internal functions of BulkTransferChecker
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/18
+ *  [Revision History] 	     
+ *      (1) 2008/06/18   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and defines functions of BulkTransferChecker
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef  _BULK_TRANSFER_CHECKER_H   
+#define  _BULK_TRANSFER_CHECKER_H   
+
+/*
+// ----------------------------------------------------------------------------
+// Include files : None.
+// ----------------------------------------------------------------------------
+*/
+//#include "s3c-otg-common-typedef.h"
+#include "s3c-otg-common-const.h"
+#include "s3c-otg-common-errorcode.h"
+#include "s3c-otg-common-datastruct.h"
+
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+u8	process_bulk_transfer(td_t 	*raw_td,
+				hc_info_t *hc_reg_data);
+
+u8	process_xfercompl_on_bulk(td_t 	*raw_td, 									     	
+					hc_info_t *hc_reg_data);
+
+u8	process_chhltd_on_bulk(td_t 	*raw_td, 									    
+				hc_info_t *hc_reg_data);
+
+u8	process_ahb_on_bulk(td_t 	*raw_td, 										
+				hc_info_t *hc_reg_data);
+
+u8	process_stall_on_bulk(td_t 	*raw_td, 									
+				hc_info_t *hc_reg_data);
+
+u8	process_nak_on_bulk(td_t 	*raw_td, 								     	
+				hc_info_t *hc_reg_data);
+
+u8	process_ack_on_bulk(td_t 	*raw_td, 									
+				hc_info_t *hc_reg_data);
+
+u8	process_nyet_on_bulk(td_t 	*raw_td, 									
+				hc_info_t *hc_reg_data);
+
+u8	process_xacterr_on_bulk(td_t	*raw_td, 									     
+				hc_info_t 	*hc_reg_data);
+
+u8	process_bblerr_on_bulk(td_t 	*raw_td, 									    
+				hc_info_t *hc_reg_data);
+
+u8	process_datatgl_on_bulk(td_t	*raw_td, 									     		
+				hc_info_t		*hc_reg_data);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-checker.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-checker.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-checker.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-checker.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,66 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : DoneTransferChecker.h
+ *  [Description] : The Header file defines the external and internal functions of S3CDoneTransferChecker.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/12
+ *  [Revision History] 	     
+ *      (1) 2008/06/12   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and defines functions of S3CDoneTransferChecker
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef  _DONE_TRANSFER_CHECKER_H   
+#define  _DONE_TRANSFER_CHECKER_H
+
+/*
+// ----------------------------------------------------------------------------
+// Include files : None.
+// ----------------------------------------------------------------------------
+*/
+
+//#include "s3c-otg-common-typedef.h"
+#include "s3c-otg-common-const.h"
+#include "s3c-otg-common-errorcode.h"
+#include "s3c-otg-common-datastruct.h"
+
+#include "s3c-otg-hcdi-debug.h"
+
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
+
+
+
+
+ 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-common.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-common.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-common.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-common.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,259 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : CommonTransferChecker.c
+ *  [Description] : The Source file implements the external and internal functions of CommonTransferChecker.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2009/01/12
+ *  [Revision History] 	     
+ *      (1) 2008/06/12   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and implements functions of CommonTransferChecker
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-transferchecker-common.h"
+
+
+/******************************************************************************/
+/*! 
+ * @name	int  	init_done_transfer_checker(void)
+ *
+ * @brief		this function initiates S3CDoneTransferChecker Module.
+ *
+ *
+ * @param	void
+ *
+ * @return	void
+ */
+/******************************************************************************/
+//ss1 
+/*void		init_done_transfer_checker(void)
+{
+	return USB_ERR_SUCCESS;
+}*/
+
+/******************************************************************************/
+/*! 
+ * @name	void  	do_transfer_checker(void)
+ *
+ * @brief		this function processes the result of USB Transfer. So, do_transfer_checker fistly
+ *			check which channel occurs OTG Interrupt and gets the status information of the channel.
+ *			do_transfer_checker requests the information of td_t to S3CScheduler.
+ *			To process the interrupt of the channel, do_transfer_checker calls the sub-modules of
+ *			S3CDoneTransferChecker, for example, ControlTransferChecker, BulkTransferChecker.
+ *			according to the process result of the channel interrupt, do_transfer_checker decides
+ *			the USB Transfer will be done or retransmitted.
+ *
+ *
+ * @param	void
+ *
+ * @return	void
+ */
+/*******************************************************************************/
+void	do_transfer_checker (void)
+{
+	u32 	hc_intr = 0;
+	u32	hc_intr_msk = 0;
+	u8	do_try_cnt = 0;
+
+	hc_info_t	ch_info;
+	u32	td_addr = 0;
+	td_t 	*done_td = {0};
+	u8	proc_result = 0;
+
+	//by ss1
+	otg_mem_set((void *)&ch_info, 0, sizeof(hc_info_t));
+	
+	// Get value of HAINT...
+	get_intr_ch(&hc_intr,&hc_intr_msk);	
+	
+start_do_transfer_checker:
+	
+	while(do_try_cnt<MAX_CH_NUMBER)
+	{
+		//checks the channel number to be masked or not.
+		if(!(hc_intr & hc_intr_msk & (1<<do_try_cnt)))
+		{
+			do_try_cnt++;
+			goto start_do_transfer_checker;	
+		}
+
+		//Gets the address of the td_t to have the channel to be interrupted.
+		if(!(get_td_info(do_try_cnt, &td_addr))) {
+
+			done_td = (td_t *)td_addr;
+
+			if(do_try_cnt != done_td->cur_stransfer.alloc_chnum) {
+				do_try_cnt++;
+				goto start_do_transfer_checker;
+			}
+
+		} else {
+			do_try_cnt++;
+			goto start_do_transfer_checker;
+		}
+		//Gets the informationof channel to be interrupted.
+		get_ch_info(&ch_info,do_try_cnt);
+		
+		switch(done_td->parent_ed_p->ed_desc.endpoint_type)
+		{
+			case CONTROL_TRANSFER:
+				proc_result = process_control_transfer(done_td, &ch_info);
+				break;
+			case BULK_TRANSFER:
+				proc_result = process_bulk_transfer(done_td, &ch_info);
+				break;
+			case INT_TRANSFER:
+				proc_result = process_intr_transfer(done_td, &ch_info);
+				break;
+			case ISOCH_TRANSFER:
+			//	proc_result = ProcessIsochTransfer(done_td, &ch_info);
+				break;
+			default:break;		
+		}
+
+		if((proc_result == RE_TRANSMIT) || (proc_result == RE_SCHEDULE))
+		{
+			done_td->parent_ed_p->ed_status.is_in_transferring 	= 	false;
+			done_td->is_transfer_done				= 	false;
+			done_td->is_transferring				=	false;
+			
+			if(done_td->parent_ed_p->ed_desc.endpoint_type == CONTROL_TRANSFER ||
+				done_td->parent_ed_p->ed_desc.endpoint_type==BULK_TRANSFER)
+			{
+				update_nonperio_stransfer(done_td);
+			}
+			else
+			{
+				update_perio_stransfer(done_td);
+			}
+
+			if(proc_result == RE_TRANSMIT)
+			{
+				retransmit(done_td);
+			}
+			else
+			{
+				reschedule(done_td);
+			}		
+		}
+		
+		else if(proc_result==DE_ALLOCATE)
+		{			
+			done_td->parent_ed_p->ed_status.is_in_transferring 	= 	false;
+			done_td->parent_ed_p->ed_status.in_transferring_td	=	0;
+			done_td->is_transfer_done				= 	true;
+			done_td->is_transferring				=	false;			
+			
+			otg_usbcore_giveback( done_td);			
+			release_trans_resource(done_td);				
+		}
+		
+		else
+		{	//NO_ACTION....
+			done_td->parent_ed_p->ed_status.is_in_transferring 	= 	true;
+			done_td->parent_ed_p->ed_status.in_transferring_td	=	(u32)done_td;
+			done_td->is_transfer_done				= 	false;
+			done_td->is_transferring				=	true;				
+		}			
+		do_try_cnt++;
+	}
+	// Complete to process the Channel Interrupt.
+	// So. we now start to scheduler of S3CScheduler.
+	do_schedule();
+
+}
+
+
+int	release_trans_resource(td_t *	done_td)
+{
+	//remove the pDeallocateTD from parent_ed_p.
+	otg_list_pop(&done_td->td_list_entry);
+	done_td->parent_ed_p->num_td--;
+
+	//Call deallocate to release the channel and bandwidth resource of S3CScheduler.
+	deallocate(done_td);			
+	delete_td(done_td);		
+	return USB_ERR_SUCCESS;
+}
+
+u32	calc_transferred_size(bool 	f_is_complete,	
+				td_t 	*td, 
+				hc_info_t *hc_info)
+{
+	if(f_is_complete)
+	{
+		if(td->parent_ed_p->ed_desc.is_ep_in)
+		{
+			return td->cur_stransfer.buf_size - hc_info->hc_size.b.xfersize;			
+		}
+		else
+		{
+			return	td->cur_stransfer.buf_size;			
+		}
+	}
+	else
+	{
+		return	(td->cur_stransfer.packet_cnt - hc_info->hc_size.b.pktcnt)*td->parent_ed_p->ed_desc.max_packet_size;
+	}
+	
+}
+
+void	update_frame_number(td_t *pResultTD)
+{
+	u32	cur_frame_num=0;
+	
+	if(pResultTD->parent_ed_p->ed_desc.endpoint_type == CONTROL_TRANSFER ||
+		pResultTD->parent_ed_p->ed_desc.endpoint_type == BULK_TRANSFER)
+	{
+		return;
+	}
+
+	pResultTD->parent_ed_p->ed_desc.sched_frame+= pResultTD->parent_ed_p->ed_desc.interval;
+	pResultTD->parent_ed_p->ed_desc.sched_frame &= HFNUM_MAX_FRNUM;
+
+	cur_frame_num = oci_get_frame_num();
+	if(((cur_frame_num - pResultTD->parent_ed_p->ed_desc.sched_frame)&HFNUM_MAX_FRNUM) <= (HFNUM_MAX_FRNUM>>1))
+	{
+		pResultTD->parent_ed_p->ed_desc.sched_frame = cur_frame_num;
+	}
+}
+
+void	update_datatgl(u8	ubCurDataTgl,		
+			td_t 	*td)
+{
+	switch(td->parent_ed_p->ed_desc.endpoint_type)
+	{
+		case CONTROL_TRANSFER:
+			if(td->standard_dev_req_info.conrol_transfer_stage == DATA_STAGE)
+			{
+				td->parent_ed_p->ed_status.control_data_tgl.data_tgl = ubCurDataTgl;
+			}
+			break;
+		case BULK_TRANSFER:
+		case INT_TRANSFER:
+			td->parent_ed_p->ed_status.data_tgl	=ubCurDataTgl;
+			break;
+		
+		case ISOCH_TRANSFER:
+			break;
+		default:break;
+	}
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-common.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-common.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-common.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-common.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,79 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : CommonTransferChecker.h
+ *  [Description] : The Header file defines the external and internal functions of CommonTransferChecker.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/12
+ *  [Revision History] 	     
+ *      (1) 2008/06/12   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and defines functions of CommonTransferChecker
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef  _COMMON_TRANSFER_CHECKER_H   
+#define  _COMMON_TRANSFER_CHECKER_H
+
+/*
+// ----------------------------------------------------------------------------
+// Include files : None.
+// ----------------------------------------------------------------------------
+*/
+
+#include "s3c-otg-common-common.h"
+//#include "s3c-otg-common-const.h"
+#include "s3c-otg-common-errorcode.h"
+#include "s3c-otg-common-datastruct.h"
+#include "s3c-otg-common-regdef.h"
+#include "s3c-otg-transfer-transfer.h"
+
+#include "s3c-otg-hcdi-debug.h"
+#include "s3c-otg-hcdi-memory.h"
+#include "s3c-otg-scheduler-scheduler.h"
+#include "s3c-otg-isr.h"
+#include "s3c-otg-transferchecker-control.h"
+#include "s3c-otg-transferchecker-bulk.h"
+#include "s3c-otg-transferchecker-interrupt.h"
+//#include "s3c-otg-transferchecker-iso.h"
+
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+//void	init_done_transfer_checker (void);
+void	do_transfer_checker (void);
+int	release_trans_resource(td_t *done_td);
+u32	calc_transferred_size(bool 	f_is_complete,	
+				td_t 	*td,
+				hc_info_t *hc_info);
+void	update_frame_number(td_t *result_td);
+void	update_datatgl(u8	cur_data_tgl,
+			td_t	*td);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-control.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-control.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-control.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-control.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,717 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : ControlTransferChecker.c
+ *  [Description] : The Source file implements the external and internal functions of ControlTransferChecker.
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2009/02/10
+ *  [Revision History] 	     
+ *      (1) 2008/06/13   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and implements functions of ControlTransferChecker
+ *      (2) 2008/06/18   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Completed to implement ControlTransferChecker.c v1.0
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#include "s3c-otg-transferchecker-control.h"
+#include "s3c-otg-isr.h"
+
+
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_control_transfer(td_t 	*result_td, 
+					     hc_info_t 	*hc_reg_data)
+
+ *
+ * @brief		this function processes the result of the Control Transfer.
+ *			firstly, this function checks the result the Control Transfer.
+ *			and according to the result, calls the sub-functions to process the result.
+ *
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	ubChNum	-indicates the number of the channel to be interrupted.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_TRANSMIT	-if need to retransmit the result_td.
+ *		RE_SCHEDULE	-if need to reschedule the result_td.
+ *		DE_ALLOCATE	-if USB Transfer is completed.
+ */
+/******************************************************************************/
+u8	process_control_transfer(td_t 	*result_td, 
+				hc_info_t 	*hc_reg_data)
+{
+	hcintn_t		hcintr_info;
+	u8		ret_val=0;
+
+	//we just deal with the interrupts to be unmasked.
+	hcintr_info.d32 = hc_reg_data->hc_int.d32&result_td->cur_stransfer.hc_reg.hc_int_msk.d32;
+
+	if(result_td->parent_ed_p->ed_desc.is_ep_in)
+	{
+		if(hcintr_info.b.chhltd)
+		{
+			ret_val = process_chhltd_on_control(result_td, hc_reg_data);
+		}
+		
+		else if (hcintr_info.b.ack)
+		{
+			ret_val =process_ack_on_control(result_td, hc_reg_data);			
+		}
+		
+		else if (hcintr_info.b.nak)
+		{
+			ret_val =process_nak_on_control(result_td, hc_reg_data);			
+		}
+		
+		else if (hcintr_info.b.datatglerr)
+		{
+			ret_val = process_datatgl_on_control(result_td,hc_reg_data);			
+		}	
+	}
+	else
+	{
+		if(hcintr_info.b.chhltd)
+		{
+			ret_val = process_chhltd_on_control(result_td,  hc_reg_data);		
+		}
+		
+		else if(hcintr_info.b.ack)
+		{
+			ret_val =process_ack_on_control( result_td, hc_reg_data);
+	
+		}		
+	}	
+	
+	return ret_val;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_chhltd_on_control(	td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function processes Channel Halt event according to Synopsys OTG Spec.
+ *			firstly, this function checks the reason of the Channel Halt, and according to the reason, 
+ *			calls the sub-functions to process the result.
+ *
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_TRANSMIT	-if need to retransmit the result_td.
+ *		RE_SCHEDULE	-if need to reschedule the result_td.
+ *		DE_ALLOCATE	-if USB Transfer is completed.
+ */
+/******************************************************************************/
+u8	process_chhltd_on_control(	td_t 	*result_td, 
+					hc_info_t *hc_reg_data)
+{
+	if(hc_reg_data->hc_int.b.xfercompl)
+	{
+		return process_xfercompl_on_control( result_td, hc_reg_data);
+	}
+	else if(hc_reg_data->hc_int.b.stall)
+	{
+		return process_stall_on_control(result_td, hc_reg_data);
+	}
+	else if(hc_reg_data->hc_int.b.bblerr)
+	{
+		return process_bblerr_on_control(result_td, hc_reg_data);			
+	}
+	else if(hc_reg_data->hc_int.b.xacterr)
+	{
+		return process_xacterr_on_control(result_td, hc_reg_data);		
+	}
+	else if(hc_reg_data->hc_int.b.nak)
+	{
+		return process_nak_on_control(result_td, hc_reg_data);			
+	}
+	else if(hc_reg_data->hc_int.b.nyet)
+	{
+		return process_nyet_on_control(result_td, hc_reg_data);
+	}
+	else
+	{
+
+		//Occure Error State.....
+		clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+
+		//Mask ack Interrupt..
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+		result_td->err_cnt++;
+		if(result_td->err_cnt == 3)
+		{
+			result_td->error_code = USB_ERR_STATUS_XACTERR;
+			result_td->err_cnt = 0;
+			return DE_ALLOCATE;
+		}
+		return RE_TRANSMIT;
+	}
+	return USB_ERR_SUCCESS;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_xfercompl_on_control(td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the xfercompl event according to Synopsys OTG Spec.
+ *			the procedure of this function is as following
+ *				1. clears all bits of the channel' HCINT by using clear_ch_intr() of S3CIsr.
+ *				2. masks some bit of HCINTMSK
+ *				3. updates the result_td fields
+ *					err_cnt/u8/standard_dev_req_info.
+ *				4. updates the result_td->parent_ed_p->ed_status.
+ *					control_data_tgl.
+ *				5. calculates the tranferred size by calling calc_transferred_size() on DATA_STAGE.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	USB_ERR_SUCCESS
+ */
+/******************************************************************************/
+u8	process_xfercompl_on_control(td_t 		*result_td, 
+					  hc_info_t 	*hc_reg_data)
+{
+	u8	ret_val		= 0;
+	
+	result_td->err_cnt 	= 0;	
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,CH_STATUS_ALL);
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	result_td->parent_ed_p->ed_status.is_ping_enable	=false;
+
+	switch(result_td->standard_dev_req_info.conrol_transfer_stage)
+	{
+		case SETUP_STAGE:
+			if(result_td->standard_dev_req_info.is_data_stage)
+			{
+				result_td->standard_dev_req_info.conrol_transfer_stage = DATA_STAGE;
+			}
+			else
+			{
+				result_td->standard_dev_req_info.conrol_transfer_stage = STATUS_STAGE;
+			}
+			ret_val = RE_TRANSMIT;
+			
+			break;
+			
+		case DATA_STAGE:
+
+			result_td->transferred_szie += calc_transferred_size(true,result_td, hc_reg_data);
+
+			if(result_td->transferred_szie==result_td->buf_size)
+			{//at IN Transfer, short transfer is accepted.
+				result_td->standard_dev_req_info.conrol_transfer_stage 	=STATUS_STAGE;
+				result_td->error_code = USB_ERR_STATUS_COMPLETE;
+			}
+			else
+			{
+				if(result_td->parent_ed_p->ed_desc.is_ep_in&& hc_reg_data->hc_size.b.xfersize)
+				{
+					if(result_td->transfer_flag&USB_TRANS_FLAG_NOT_SHORT)
+					{
+						result_td->error_code				=USB_ERR_STATUS_SHORTREAD;	
+						result_td->standard_dev_req_info.conrol_transfer_stage=STATUS_STAGE;
+					}
+					else
+					{
+						result_td->error_code					=USB_ERR_STATUS_COMPLETE;		
+						result_td->standard_dev_req_info.conrol_transfer_stage 	=STATUS_STAGE;
+					}				
+				}
+				else
+				{	// the Data Stage is not completed. So we need to continue Data Stage.
+					result_td->standard_dev_req_info.conrol_transfer_stage = DATA_STAGE;
+					update_datatgl(hc_reg_data->hc_size.b.pid, result_td);				
+				}
+			}	
+			
+			if(hc_reg_data->hc_int.b.nyet)
+			{
+				//at OUT Transfer, we must re-transmit.
+				if(result_td->parent_ed_p->ed_desc.is_ep_in==false)
+				{			
+					
+					if(result_td->parent_ed_p->ed_desc.dev_speed == HIGH_SPEED_OTG)
+					{
+						result_td->parent_ed_p->ed_status.is_ping_enable = true;
+					}
+					else
+					{
+						result_td->parent_ed_p->ed_status.is_ping_enable = false;
+					}			
+				}	
+			}
+			ret_val = RE_TRANSMIT;
+			break;
+			
+		case STATUS_STAGE:
+			result_td->standard_dev_req_info.conrol_transfer_stage = COMPLETE_STAGE;
+			
+			if(hc_reg_data->hc_int.b.nyet)
+			{
+				//at OUT Transfer, we must re-transmit.
+				if(result_td->parent_ed_p->ed_desc.is_ep_in==false)
+				{			
+					
+					if(result_td->parent_ed_p->ed_desc.dev_speed == HIGH_SPEED_OTG)
+					{
+						result_td->parent_ed_p->ed_status.is_ping_enable = true;
+					}
+					else
+					{
+						result_td->parent_ed_p->ed_status.is_ping_enable = false;
+					}			
+				}	
+			}
+			
+			ret_val = DE_ALLOCATE;
+			break;
+			
+		default:
+			break;
+	}
+
+	return ret_val;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_ahb_on_control(	td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with theAHB Errorl event according to Synopsys OTG Spec.
+ *			this function stop the channel to be executed
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	DE_ALLOCATE
+ */
+/******************************************************************************/						     	
+u8	process_ahb_on_control(	td_t 	*result_td, 
+					hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt 	=0;
+	result_td->error_code	=USB_ERR_STATUS_AHBERR;
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_AHBErr);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	// we just calculate the size of the transferred data on Data Stage of Control Transfer.
+	if(result_td->standard_dev_req_info.conrol_transfer_stage == DATA_STAGE)
+	{
+		result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+	}
+	
+	return DE_ALLOCATE;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_stall_on_control(	td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with theStall event according to Synopsys OTG Spec.
+ *			but USB2.0 Spec don't permit the Stall on Setup Stage of Control Transfer.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	DE_ALLOCATE
+ */
+/******************************************************************************/
+u8	process_stall_on_control(	td_t 	*result_td, 
+					hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt 	=0;
+	result_td->error_code	=USB_ERR_STATUS_STALL;
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	
+	result_td->parent_ed_p->ed_status.is_ping_enable = false;
+
+	// we just calculate the size of the transferred data on Data Stage of Control Transfer.
+	if(result_td->standard_dev_req_info.conrol_transfer_stage == DATA_STAGE)
+	{
+		result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+	}
+	
+	return DE_ALLOCATE;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_nak_on_control(	td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the nak event according to Synopsys OTG Spec.
+ *			nak is occured at OUT/IN Transaction of Data/Status Stage, and is not occured at Setup Stage.
+ *			If nak is occured at IN Transaction, this function processes this interrupt as following.
+ *				1. resets the result_td->err_cnt.
+ *				2. masks ack/nak/DaaTglErr bit of HCINTMSK.
+ *				3. clears the nak bit of HCINT
+ *				4. be careful, nak of IN Transaction don't require re-transmit.
+ *			If nak is occured at OUT Transaction, this function processes this interrupt as following.		
+ *				1. all procedures of IN Transaction are executed.
+ *				2. calculates the size of the transferred data.
+ *				3. if the speed of USB Device is High-Speed, sets the ping protocol.
+ *				4. update the Toggle 
+ *			at OUT Transaction, this function check whether	the speed of USB Device is High-Speed or not. 
+ *			if USB Device is High-Speed, then
+ *			this function sets the ping protocol.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		 [IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_SCHEDULE
+ */
+/******************************************************************************/
+u8	process_nak_on_control(	td_t 	*result_td, 
+					hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt = 0;
+	
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_NAK);
+
+	//at OUT Transfer, we must re-transmit.
+	if(result_td->parent_ed_p->ed_desc.is_ep_in==false)
+	{			
+		result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+		
+		update_datatgl(hc_reg_data->hc_size.b.pid, result_td);
+	}
+
+	if(result_td->parent_ed_p->ed_desc.dev_speed == HIGH_SPEED_OTG)
+	{
+		if(result_td->standard_dev_req_info.conrol_transfer_stage == DATA_STAGE)
+		{
+			if(result_td->parent_ed_p->ed_desc.is_ep_in==false)
+			{
+				result_td->parent_ed_p->ed_status.is_ping_enable = true;
+			}
+		}
+		else if(result_td->standard_dev_req_info.conrol_transfer_stage == STATUS_STAGE)	
+		{
+			if(result_td->parent_ed_p->ed_desc.is_ep_in==true)
+			{
+				result_td->parent_ed_p->ed_status.is_ping_enable = true;
+			}
+		}
+		else
+		{
+			result_td->parent_ed_p->ed_status.is_ping_enable = false;
+		}
+		
+	}	
+
+	return RE_SCHEDULE;
+	
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_ack_on_control(	td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the ack event according to Synopsys OTG Spec.
+ *			ack of IN/OUT Transaction don't need any retransmit.
+ *			this function just resets result_td->err_cnt and masks ack/nak/DataTgl of HCINTMSK.
+ *			finally, this function clears ack bit of HCINT.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	NO_ACTION
+ */
+/******************************************************************************/
+u8	process_ack_on_control(td_t *result_td, 
+				hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt = 0;
+	
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ACK);
+
+	result_td->parent_ed_p->ed_status.is_ping_enable	=false;
+	
+	return NO_ACTION;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_nyet_on_control(td_t 	*result_td, 
+ *					hc_info_t 	*hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the nyet event according to Synopsys OTG Spec.
+ *			nyet is occured at OUT Transaction of Data/Status Stage, and is not occured at Setup Stage.
+ *			If nyet is occured at OUT Transaction, this function processes this interrupt as following.		
+ *				1. resets the result_td->err_cnt.
+ *				2. masks ack/nak/datatglerr bit of HCINTMSK.
+ *				3. clears the nyet bit of HCINT
+ *				4. calculates the size of the transferred data.
+ *				5. if the speed of USB Device is High-Speed, sets the ping protocol.
+ *				6. update the Data Toggle.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_SCHEDULE
+ */
+/******************************************************************************/
+u8	process_nyet_on_control(td_t 	*result_td, 
+				hc_info_t		*hc_reg_data)
+{
+	result_td->err_cnt = 0;
+	
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_NYET);
+				
+	result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+
+	if(result_td->parent_ed_p->ed_desc.dev_speed == HIGH_SPEED_OTG)
+	{
+		if(result_td->standard_dev_req_info.conrol_transfer_stage == DATA_STAGE)
+		{
+			if(result_td->parent_ed_p->ed_desc.is_ep_in==false)
+			{
+				result_td->parent_ed_p->ed_status.is_ping_enable = true;
+			}
+		}
+		else if(result_td->standard_dev_req_info.conrol_transfer_stage == STATUS_STAGE)	
+		{
+			if(result_td->parent_ed_p->ed_desc.is_ep_in==true)
+			{
+				result_td->parent_ed_p->ed_status.is_ping_enable = true;
+			}
+		}
+		else
+		{
+			result_td->parent_ed_p->ed_status.is_ping_enable = false;
+		}
+		
+	}	
+	
+	update_datatgl(hc_reg_data->hc_size.b.pid, result_td);
+	
+	return RE_SCHEDULE;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_xacterr_on_control(	td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the xacterr event according to Synopsys OTG Spec.
+ *			xacterr is occured at OUT/IN Transaction of Data/Status Stage, and is not occured at Setup Stage.
+ *			if Timeout/CRC error/false EOP is occured, then xacterr is occured.
+ *			the procedure to process xacterr is as following.
+ *				1. increses the result_td->err_cnt 
+ *				2. check whether the result_td->err_cnt is equal to 3.
+ *				2. unmasks ack/nak/datatglerr bit of HCINTMSK.
+ *				3. clears the xacterr bit of HCINT
+ *				4. calculates the size of the transferred data.
+ *				5. if the speed of USB Device is High-Speed, sets the ping protocol.
+ *				6. update the Data Toggle.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_TRANSMIT	-if the Error Counter is less than RETRANSMIT_THRESHOLD
+ *		DE_ALLOCATE	-if the Error Counter is equal to RETRANSMIT_THRESHOLD
+ */
+/******************************************************************************/
+u8	process_xacterr_on_control(td_t 	*result_td, 									       
+					hc_info_t *hc_reg_data)
+{
+	u8	ret_val=0;
+
+	if(result_td->err_cnt<RETRANSMIT_THRESHOLD)
+	{
+		result_td->cur_stransfer.hc_reg.hc_int_msk.d32 |= (CH_STATUS_ACK+CH_STATUS_NAK+CH_STATUS_DataTglErr);
+		ret_val = RE_TRANSMIT;
+		unmask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+		unmask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+		unmask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+		result_td->err_cnt++ ;
+	}
+	else
+	{
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+		ret_val = DE_ALLOCATE;
+		result_td->err_cnt = 0 ;
+		result_td->error_code = USB_ERR_STATUS_XACTERR;
+	}
+			
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_DataTglErr);
+
+	if(result_td->standard_dev_req_info.conrol_transfer_stage == DATA_STAGE)
+	{
+		result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+	
+	}
+	
+	if(result_td->parent_ed_p->ed_desc.dev_speed == HIGH_SPEED_OTG)
+	{
+		if(result_td->standard_dev_req_info.conrol_transfer_stage == DATA_STAGE)
+		{
+			if(result_td->parent_ed_p->ed_desc.is_ep_in==false)
+			{
+				result_td->parent_ed_p->ed_status.is_ping_enable = true;
+			}
+		}
+		else if(result_td->standard_dev_req_info.conrol_transfer_stage == STATUS_STAGE)	
+		{
+			if(result_td->parent_ed_p->ed_desc.is_ep_in==true)
+			{
+				result_td->parent_ed_p->ed_status.is_ping_enable = true;
+			}
+		}
+		else
+		{
+			result_td->parent_ed_p->ed_status.is_ping_enable = false;
+		}
+		
+		
+	}
+
+
+	
+	update_datatgl(hc_reg_data->hc_size.b.pid, result_td);
+	
+	return ret_val;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	void	process_bblerr_on_control(	td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the Babble event according to Synopsys OTG Spec.
+ *			babble error can be just occured at IN Transaction. So if the direction of transfer is 
+ *			OUT, this function return Error Code.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	DE_ALLOCATE	
+ *		NO_ACTION	-if the direction is OUT
+ */
+/******************************************************************************/
+u8	process_bblerr_on_control(	td_t 	*result_td, 									      
+					hc_info_t *hc_reg_data)
+{
+
+	if(!result_td->parent_ed_p->ed_desc.is_ep_in)
+	{
+		return NO_ACTION;
+	}
+	
+	result_td->err_cnt 	= 0;
+	result_td->error_code	=USB_ERR_STATUS_BBLERR;
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	result_td->parent_ed_p->ed_status.is_ping_enable	=false;
+	
+	// we just calculate the size of the transferred data on Data Stage of Control Transfer.
+	if(result_td->standard_dev_req_info.conrol_transfer_stage == DATA_STAGE)
+	{
+		result_td->transferred_szie += calc_transferred_size(false, result_td, hc_reg_data);
+	}
+	
+	return DE_ALLOCATE;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_datatgl_on_control(td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the datatglerr event according to Synopsys OTG Spec.
+ *			the datatglerr event is occured at IN Transfer.
+ *			this function just resets result_td->err_cnt and masks ack/nak/DataTgl of HCINTMSK.
+ *			finally, this function clears datatglerr bit of HCINT.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	hc_reg_data	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	NO_ACTION
+ */
+/******************************************************************************/
+u8	process_datatgl_on_control(	td_t *		result_td, 
+						hc_info_t *	hc_reg_data)
+{
+	result_td->err_cnt = 0;
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_DataTglErr);
+
+	return NO_ACTION;
+
+}
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-control.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-control.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-control.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-control.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,100 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : ControlTransferChecker.h
+ *  [Description] : The Header file defines the external and internal functions of ControlTransferChecker
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2009/01/12
+ *  [Revision History] 	     
+ *      (1) 2008/06/13   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and defines functions of ControlTransferChecker
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef  _CONTROL_TRANSFER_CHECKER_H   
+#define  _CONTROL_TRANSFER_CHECKER_H
+
+/*
+// ----------------------------------------------------------------------------
+// Include files : None.
+// ----------------------------------------------------------------------------
+*/
+
+#include "s3c-otg-common-common.h"
+//#include "s3c-otg-common-typedef.h"
+#include "s3c-otg-common-const.h"
+#include "s3c-otg-common-errorcode.h"
+#include "s3c-otg-common-datastruct.h"
+#include "s3c-otg-common-regdef.h"
+
+#include "s3c-otg-hcdi-debug.h"
+#include "s3c-otg-scheduler-scheduler.h"
+
+#include "s3c-otg-transferchecker-checker.h"
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+u8	process_control_transfer(	td_t 	*raw_td, 							
+					hc_info_t *hc_reg_data);
+
+u8	process_xfercompl_on_control(td_t *raw_td, 									     	
+					hc_info_t *hc_reg_data);
+
+u8	process_chhltd_on_control(	td_t 	*raw_td, 									    
+					hc_info_t *hc_reg_data);
+
+u8	process_ahb_on_control(	td_t 	*raw_td, 										
+					hc_info_t *hc_reg_data);
+
+u8	process_stall_on_control(	td_t 	*raw_td, 									
+					hc_info_t *hc_reg_data);
+
+u8	process_nak_on_control	(td_t 	*raw_td, 								     	
+					hc_info_t *hc_reg_data);
+
+u8	process_ack_on_control	(td_t 	*raw_td, 									
+					hc_info_t *hc_reg_data);
+
+u8	process_nyet_on_control(	td_t 	*raw_td, 									
+					hc_info_t *hc_reg_data);
+
+u8	process_xacterr_on_control(td_t 	*raw_td, 									     
+					hc_info_t *hc_reg_data);
+
+u8	process_bblerr_on_control(	td_t 	*raw_td, 									    
+					hc_info_t *hc_reg_data);
+
+u8	process_datatgl_on_control(td_t 	*raw_td, 									     		
+					hc_info_t *hc_reg_data);
+u8	process_indirection_on_control(	td_t 	*result_td, 
+					hc_info_t *hc_reg_data);
+
+u8 process_outdirection_on_control(td_t 	*result_td, 
+					hc_info_t *hc_reg_data);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-interrupt.c linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-interrupt.c
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-interrupt.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-interrupt.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,582 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : IntTransferChecker.c
+ *  [Description] : The Source file implements the external and internal functions of IntTransferChecker
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/19
+ *  [Revision History] 	     
+ *      (1) 2008/06/18   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and implements functions of IntTransferChecker
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+
+#include "s3c-otg-transferchecker-interrupt.h"
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_intr_transfer(td_t 	*result_td, 
+ *					hc_info_t *HCRegData)
+ *
+ *
+ * @brief		this function processes the result of the Interrupt Transfer.
+ *			firstly, this function checks the result of the Interrupt Transfer.
+ *			and according to the result, calls the sub-functions to process the result.
+ *
+ *
+ * @param	[IN]	result_td	-indicates  the pointer of the td_t whose channel is interruped.
+ *		[IN]	HCRegData	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_TRANSMIT	-if need to retransmit the result_td.
+ *		RE_SCHEDULE	-if need to reschedule the result_td.
+ *		DE_ALLOCATE	-if USB Transfer is completed.
+ *		NO_ACTION	-if we don't need any action,
+ */
+/******************************************************************************/
+u8	process_intr_transfer(td_t 	*result_td, 
+				hc_info_t *hc_reg_data)
+{
+	hcintn_t		hc_intr_info;
+	u8		ret_val=0;
+
+	//we just deal with the interrupts to be unmasked.
+	hc_intr_info.d32 = hc_reg_data->hc_int.d32&result_td->cur_stransfer.hc_reg.hc_int_msk.d32;
+
+	if(result_td->parent_ed_p->ed_desc.is_ep_in)
+	{
+		if(hc_intr_info.b.chhltd)
+		{
+			ret_val = process_chhltd_on_intr(result_td, hc_reg_data);
+		}
+		
+		 else if (hc_intr_info.b.ack)
+		{
+			ret_val =process_ack_on_intr(result_td, hc_reg_data);
+		}
+	}
+	else
+	{
+		if(hc_intr_info.b.chhltd)
+		{
+			ret_val = process_chhltd_on_intr(result_td,  hc_reg_data);
+		
+		}
+		
+		else if(hc_intr_info.b.ack)
+		{
+			ret_val =process_ack_on_intr( result_td, hc_reg_data);
+		}		
+	}	
+	
+	return ret_val;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_chhltd_on_intr(td_t 		*result_td, 
+ *					hc_info_t 	*HCRegData)
+ *
+ *
+ * @brief		this function processes Channel Halt event according to Synopsys OTG Spec.
+ *			firstly, this function checks the reason of the Channel Halt, and according to the reason, 
+ *			calls the sub-functions to process the result.
+ *
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	HCRegData	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_TRANSMIT	-if need to retransmit the result_td.
+ *		RE_SCHEDULE	-if need to reschedule the result_td.
+ *		DE_ALLOCATE	-if USB Transfer is completed.
+ */
+/******************************************************************************/
+u8	process_chhltd_on_intr(td_t 	*result_td, 
+				hc_info_t *hc_reg_data)
+{
+	if(result_td->parent_ed_p->ed_desc.is_ep_in)
+	{
+		if(hc_reg_data->hc_int.b.xfercompl)
+		{
+			return process_xfercompl_on_intr( result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.stall)
+		{
+			return process_stall_on_intr(result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.bblerr)
+		{
+			return process_bblerr_on_intr(result_td, hc_reg_data);
+		}
+		else if (hc_reg_data->hc_int.b.nak)
+		{
+			return process_nak_on_intr(result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.datatglerr)
+		{
+			return process_datatgl_on_intr(result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.frmovrun)
+		{
+			return process_frmovrrun_on_intr(result_td,hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.xacterr)
+		{
+			return process_xacterr_on_intr(result_td, hc_reg_data);	
+		}
+		else
+		{
+			clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+			//Mask ack Interrupt..
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+			return RE_TRANSMIT;
+		}
+	}
+	else
+	{
+		if(hc_reg_data->hc_int.b.xfercompl)
+		{
+			return process_xfercompl_on_intr( result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.stall)
+		{
+			return process_stall_on_intr(result_td, hc_reg_data);
+		}
+		else if (hc_reg_data->hc_int.b.nak)
+		{
+			return process_nak_on_intr(result_td, hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.frmovrun)
+		{
+			return process_frmovrrun_on_intr(result_td,hc_reg_data);
+		}
+		else if(hc_reg_data->hc_int.b.xacterr)
+		{
+			return process_xacterr_on_intr(result_td, hc_reg_data);	
+		}
+		else
+		{
+			clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+			//Mask ack Interrupt..
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+			mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+			result_td->err_cnt++;
+			if(result_td->err_cnt == 3)
+			{
+				result_td->error_code = USB_ERR_STATUS_XACTERR;
+				result_td->err_cnt = 0;
+				return DE_ALLOCATE;
+			}
+			
+			return RE_TRANSMIT;
+		}
+			
+	}
+	
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_xfercompl_on_intr(	td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the xfercompl event according to Synopsys OTG Spec.
+ *			the procedure of this function is as following
+ *				1. clears all bits of the channel' HCINT by using clear_ch_intr() of S3CIsr.
+ *				2. masks ack/nak(?)/datatglerr(?) bit of HCINTMSK
+ *				3. Resets the err_cnt of result_td.
+ *				4. updates the result_td->parent_ed_p->ed_status.
+ *					IntDataTgl.
+ *				5. calculates the tranferred size by calling calc_transferred_size() on DATA_STAGE.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	HCRegData	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	DE_ALLOCATE	-if USB Transfer is completed.
+ *		RE_TRANSMIT	-if need to retransmit the result_td.
+ */
+/******************************************************************************/
+u8	process_xfercompl_on_intr(	td_t 	*result_td, 
+					hc_info_t *hc_reg_data)
+{
+	u8	ret_val=0;
+	
+	result_td->err_cnt =0;	
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	result_td->transferred_szie += calc_transferred_size(true,result_td, hc_reg_data);
+
+	if(result_td->transferred_szie==result_td->buf_size)
+	{//at IN Transfer, short transfer is accepted.
+		result_td->error_code	=	USB_ERR_STATUS_COMPLETE;
+		ret_val = DE_ALLOCATE;
+	}
+	else
+	{
+		// 	this routine will not be executed on Interrupt Transfer.
+		//	So, we should decide to remove this routine or not.
+		if(result_td->parent_ed_p->ed_desc.is_ep_in&& hc_reg_data->hc_size.b.xfersize)
+		{
+			if(result_td->transfer_flag&USB_TRANS_FLAG_NOT_SHORT)
+			{
+				result_td->error_code	=	USB_ERR_STATUS_SHORTREAD;	
+			}
+			else
+			{
+				result_td->error_code	=	USB_ERR_STATUS_COMPLETE;		
+			}
+			ret_val = DE_ALLOCATE;
+		}
+		else
+		{	// the Data Stage is not completed. So we need to continue Data Stage.
+			update_datatgl(hc_reg_data->hc_size.b.pid, result_td);				
+			ret_val = RE_TRANSMIT;
+		}
+	}	
+	
+	update_datatgl(hc_reg_data->hc_size.b.pid, result_td);				
+	
+	return ret_val;
+	
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_ahb_on_intr(td_t 	*result_td, 
+ *					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with theAHB Errorl event according to Synopsys OTG Spec.
+ *			this function stop the channel to be executed
+ *			
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	HCRegData	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	DE_ALLOCATE
+ */
+/******************************************************************************/						     	
+u8	process_ahb_on_intr(td_t 	*result_td, 
+				hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt 		= 	0;
+	result_td->error_code	=	USB_ERR_STATUS_AHBERR;
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_AHBErr);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	// we just calculate the size of the transferred data on Data Stage of Int Transfer.
+	result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);	
+	result_td->parent_ed_p->ed_status.is_ping_enable	=false;
+	
+	return DE_ALLOCATE;
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_stall_on_intr(td_t 	*result_td, 
+ *					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the Stall event according to Synopsys OTG Spec.
+ *			when Stall is occured at Int Transfer, we should reset the PID as DATA0
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	HCRegData	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	DE_ALLOCATE
+ */
+/******************************************************************************/
+u8	process_stall_on_intr(td_t 	*result_td, 
+			 	hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt 		= 	0;
+	result_td->error_code	=	USB_ERR_STATUS_STALL;
+
+	//this channel is stalled, So we don't process another interrupts.
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	
+	result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+	
+	update_datatgl(DATA0, result_td);	
+		
+	return DE_ALLOCATE;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_nak_on_intr(td_t 	*result_td, 
+ *					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the nak event according to Synopsys OTG Spec.
+ *			nak is occured at OUT/IN Transaction of Interrupt Transfer. 
+ *			we can't use ping protocol on Interrupt Transfer. and Syonopsys OTG IP occures
+ *			chhltd interrupt on nak of IN/OUT Transaction. So we should retransmit the transfer 
+ *			on IN Transfer.
+ *			If nak is occured at IN Transaction, this function processes this interrupt as following.
+ *				1. resets the result_td->err_cnt.
+ *				2. masks ack/nak/DaaTglErr bit of HCINTMSK.
+ *				3. clears the nak bit of HCINT
+ *				4. calculates frame number to retransmit this Interrupt Transfer.
+ *				
+ *			If nak is occured at OUT Transaction, this function processes this interrupt as following.		
+ *				1. all procedures of IN Transaction are executed.
+ *				2. calculates the size of the transferred data.
+ *				3. if the speed of USB Device is High-Speed, sets the ping protocol.
+ *				4. update the Toggle 
+ *			at OUT Transaction, this function check whether	the speed of USB Device is High-Speed or not. 
+ *			if USB Device is High-Speed, then
+ *			this function sets the ping protocol.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	HCRegData	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_SCHEDULE	-if the direction of the Transfer is OUT
+ *		NO_ACTION	-if the direction of the Transfer is IN
+ */
+/******************************************************************************/
+u8	process_nak_on_intr(td_t 	*result_td, 
+				hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt = 0;
+	
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_NAK);
+
+				
+	result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+	
+	update_datatgl(hc_reg_data->hc_size.b.pid, result_td);
+	
+	update_frame_number(result_td);
+	
+	return RE_SCHEDULE;
+//	return RE_TRANSMIT;
+	
+
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_ack_on_intr(td_t 	*result_td, 
+ * 					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the ack event according to Synopsys OTG Spec.
+ *			ack of IN/OUT Transaction don't need any retransmit.
+ *			this function just resets result_td->err_cnt and masks ack/nak/DataTgl of HCINTMSK.
+ *			finally, this function clears ack bit of HCINT and ed_status.is_ping_enable.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	HCRegData	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	NO_ACTION
+ */
+/******************************************************************************/
+u8	process_ack_on_intr(td_t *result_td, 
+			       hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt = 0;
+	
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ACK);
+
+	return NO_ACTION;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_xacterr_on_intr(td_t 	*result_td, 
+ *					hc_info_t 	*hc_reg_data)
+ *
+ * @brief		this function deals with the xacterr event according to Synopsys OTG Spec.
+ *			xacterr is occured at OUT/IN Transaction and we should retransmit the USB Transfer
+ *			if the Error Counter is less than the RETRANSMIT_THRESHOLD.
+ *			the reasons of xacterr is Timeout/CRC error/false EOP.
+ *			the procedure to process xacterr is as following.
+ *				1. increses the result_td->err_cnt 
+ *				2. check whether the result_td->err_cnt is equal to 3.
+ *				2. unmasks ack/nak/datatglerr bit of HCINTMSK.
+ *				3. clears the xacterr bit of HCINT
+ *				4. calculates the size of the transferred data.
+ *				5. update the Data Toggle.
+ *				6. update the frame number to start retransmitting the Interrupt Transfer.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	HCRegData	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_SCHEDULE		-if the error count is less than 3
+ *		DE_ALLOCATE		-if the error count is equal to 3
+ */
+/******************************************************************************/
+u8	process_xacterr_on_intr(td_t	*result_td, 									       
+				hc_info_t *hc_reg_data)
+{
+	u8	ret_val = 0;
+
+	if(result_td->err_cnt<RETRANSMIT_THRESHOLD)
+	{
+		result_td->cur_stransfer.hc_reg.hc_int_msk.d32 |=(CH_STATUS_ACK+CH_STATUS_NAK+CH_STATUS_DataTglErr);
+		ret_val = RE_SCHEDULE;
+		result_td->err_cnt++ ;
+	}
+	else
+	{
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+		mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+		ret_val = DE_ALLOCATE;
+		result_td->err_cnt = 0 ;
+	}
+	
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_DataTglErr);				
+	
+	result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+	
+	update_datatgl(hc_reg_data->hc_size.b.pid, result_td);
+	
+	if(ret_val == RE_SCHEDULE)
+	{	//Calculates the frame number
+		update_frame_number(result_td);
+	}
+	
+	return ret_val;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	void	process_bblerr_on_intr(td_t 	*result_td, 
+ *					hc_info_t *hc_reg_data)
+ *
+ *
+ * @brief		this function deals with the Babble event according to Synopsys OTG Spec.
+ *			babble error is occured when the USB device continues to send packets 
+ *			althrough EOP is occured. So Babble error is only occured at IN Transfer.
+ *			when Babble Error is occured, we should stop the USB Transfer, and return the fact
+ *			to Application.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	HCRegData	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	DE_ALLOCATE
+ */
+/******************************************************************************/
+u8	process_bblerr_on_intr(td_t 	*result_td, 									      
+				hc_info_t *hc_reg_data)
+{
+
+	if(!result_td->parent_ed_p->ed_desc.is_ep_in)
+	{
+		return NO_ACTION;
+	}
+	
+	result_td->err_cnt 	= 0;
+	result_td->error_code	=USB_ERR_STATUS_BBLERR;
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_ALL);
+	
+	//Mask ack Interrupt..
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+	
+	result_td->transferred_szie += calc_transferred_size(false, result_td, hc_reg_data);		
+	return DE_ALLOCATE;
+}
+
+/******************************************************************************/
+/*! 
+ * @name	u8	process_datatgl_on_intr(	td_t 	*result_td, 
+ *						hc_info_t *hc_reg_data)
+ *
+ * @brief		this function deals with the datatglerr event according to Synopsys OTG Spec.
+ *			the datatglerr event is occured at IN Transfer, and the channel is not halted.
+ *			this function just resets result_td->err_cnt and masks ack/nak/DataTgl of HCINTMSK.
+ *			finally, this function clears datatglerr bit of HCINT.
+ *
+ * @param	[IN]	result_td		-indicates  the pointer of the td_t to be mapped with the uChNum.
+ *		[IN]	HCRegData	-indicates the interrupt information of the Channel to be interrupted
+ *
+ * @return	RE_SCHEDULE
+ */
+/******************************************************************************/
+u8	process_datatgl_on_intr(td_t 	*result_td, 
+				hc_info_t *hc_reg_data)
+{
+	result_td->err_cnt = 0;
+	
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_ACK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_NAK);
+	mask_channel_interrupt(result_td->cur_stransfer.alloc_chnum, CH_STATUS_DataTglErr);
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_NAK);
+				
+	result_td->transferred_szie += calc_transferred_size(false,result_td, hc_reg_data);
+	
+	update_datatgl(hc_reg_data->hc_size.b.pid, result_td);
+	
+	update_frame_number(result_td);
+	
+	return RE_SCHEDULE;
+}
+
+u8	process_frmovrrun_on_intr(td_t	*result_td, 								     	
+				     hc_info_t 	*hc_reg_data)
+{
+
+	clear_ch_intr(result_td->cur_stransfer.alloc_chnum,	CH_STATUS_NAK);
+	
+	update_datatgl(hc_reg_data->hc_size.b.pid, result_td);
+	
+	update_frame_number(result_td);
+
+	return RE_TRANSMIT;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-interrupt.h linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-interrupt.h
--- linux-2.6.28/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-interrupt.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/usb/host/s3c-otg/s3c-otg-transferchecker-interrupt.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,97 @@
+/**************************************************************************** 
+ *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
+ *
+ *  [File Name]   : IntTransferChecker.h
+ *  [Description] : The Header file defines the external and internal functions of IntTransferChecker
+ *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
+ *  [Department]  : System LSI Division/System SW Lab
+ *  [Created Date]: 2008/06/19
+ *  [Revision History] 	     
+ *      (1) 2008/06/18   by Yang Soon Yeal { syatom.yang@samsung.com }
+ *          - Created this file and defines functions of IntTransferChecker
+ *
+ ****************************************************************************/
+/****************************************************************************
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ ****************************************************************************/
+
+#ifndef  _INT_TRANSFER_CHECKER_H     
+#define  _INT_TRANSFER_CHECKER_H    
+
+/*
+// ----------------------------------------------------------------------------
+// Include files : None.
+// ----------------------------------------------------------------------------
+*/
+
+#include "s3c-otg-common-common.h"
+//#include "s3c-otg-common-typedef.h"
+#include "s3c-otg-common-const.h"
+#include "s3c-otg-common-errorcode.h"
+#include "s3c-otg-common-datastruct.h"
+#include "s3c-otg-common-regdef.h"
+
+#include "s3c-otg-hcdi-debug.h"
+#include "s3c-otg-scheduler-scheduler.h"
+#include "s3c-otg-isr.h"
+#include "s3c-otg-transferchecker-checker.h"
+
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+u8	process_intr_transfer(td_t 	*pRawTD,
+				hc_info_t *pHCRegData);
+
+u8	process_xfercompl_on_intr(td_t 	*pRawTD, 									     	
+					hc_info_t *pHCRegData);
+
+u8	process_chhltd_on_intr(td_t 	*pRawTD, 									    
+				hc_info_t *pHCRegData);
+
+u8	process_ahb_on_intr(td_t 	*pRawTD, 										
+				hc_info_t *pHCRegData);
+
+u8	process_stall_on_intr(td_t 		*pRawTD, 									
+				 hc_info_t	*pHCRegData);
+
+u8	process_nak_on_intr(td_t	*pRawTD, 								     	
+			     hc_info_t 	*pHCRegData);
+
+u8	process_frmovrrun_on_intr(td_t	*pRawTD, 								     	
+					hc_info_t *pHCRegData);
+
+u8	process_ack_on_intr(td_t 	*pRawTD, 									
+				hc_info_t *pHCRegData);
+
+u8	process_xacterr_on_intr(td_t 	*pRawTD, 									     
+				   hc_info_t 	*pHCRegData);
+
+u8	process_bblerr_on_intr(td_t 		*pRawTD, 									    
+				  hc_info_t 	*pHCRegData);
+
+u8	process_datatgl_on_intr(td_t	*pRawTD, 									     		
+				hc_info_t	*pHCRegData);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/Kconfig linux-2.6.28.6/drivers/video/Kconfig
--- linux-2.6.28/drivers/video/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/video/Kconfig	2010-07-20 07:49:39.000000000 +0200
@@ -237,6 +237,125 @@
 comment "Frame buffer hardware drivers"
 	depends on FB
 
+config FB_S3C
+	tristate "S3C Framebuffer Support"
+	select FB_CFB_FILLRECT
+	select FB_CFB_COPYAREA
+	select FB_CFB_IMAGEBLIT
+	depends on FB && (ARCH_S3C64XX || ARCH_S5P64XX || ARCH_S5PC1XX)
+
+	default n
+	---help---
+	TBA
+
+choice
+depends on FB_S3C
+prompt "Select LCD Type"
+default FB_S3C_TFT480272
+
+config FB_S3C_TFT480272
+	boolean "4.3 inch 480x272 TFT LCD"
+	---help---
+	4.3 inch 480x272 TFT LCD
+
+config FB_S3C_TFT800480
+	boolean "7 inch 800x480 TFT LCD"
+	---help---
+	7 inch 800x480 TFT LCD
+
+config FB_S3C_T240320
+	boolean "3.5 inch 240X320 Toppoly LCD"
+	help
+	  3.5 inch 240X320 Toppoly LCD
+
+config FB_S3C_TFT640480
+	boolean "8 inch 640X480 L80 LCD"
+	help
+	  8 inch 640X480 LCD
+
+config FB_S3C_VGA1024768
+	boolean "VGA 1024x768"
+	help
+	  VGA 1024x768
+
+config FB_S3C_VGA800600
+	boolean "VGA 800x600"
+	help
+	  VGA 800x600
+
+config FB_S3C_VGA640480
+	boolean "VGA 640x480"
+	help
+	  VGA 640x480
+
+config FB_S3C_EZVGA800600
+	boolean "EZVGA 800x600"
+	help
+	  EZVGA 800x600
+
+endchoice
+
+config FB_S3C_BPP
+	tristate "Advanced options for S3C Framebuffer"
+	depends on FB_S3C
+	default n
+	---help---
+	TBA
+
+choice
+depends on FB_S3C_BPP
+prompt "Select BPP(Bits Per Pixel)"
+default FB_S3C_BPP_16
+config FB_S3C_BPP_8
+	bool "8 BPP"
+	---help---
+	TBA
+
+config FB_S3C_BPP_16
+	bool "16 BPP"
+	---help---
+	TBA
+
+config FB_S3C_BPP_24
+	bool "24 BPP(XRGB888)"
+	---help---
+	TBA
+
+
+config FB_S3C_BPP_28
+	bool "28 BPP(ARGB4888)"
+	---help---
+	TBA
+
+config FB_S3C_BPP_32
+	bool "32 BPP(ARGB8888)"
+	---help---
+	TBA
+endchoice
+
+config FB_S3C_NUM
+	int "Number of Framebuffers"
+	depends on FB_S3C_BPP && (ARCH_S3C64XX || ARCH_S5P64XX || ARCH_S5PC1XX)
+	default "1"
+	---help---
+	TBA
+
+config FB_S3C_VIRTUAL_SCREEN
+	bool "Enable Virtual Screen"
+	depends on FB_S3C_BPP
+
+	default n
+	---help---
+	TBA
+
+config FB_S3C_DOUBLE_BUFFERING
+	bool "Enable Double Buffering"
+	depends on FB_S3C_BPP
+
+	default n
+	---help---
+	TBA
+
 config FB_CIRRUS
 	tristate "Cirrus Logic support"
 	depends on FB && (ZORRO || PCI)
@@ -1941,6 +2060,12 @@
 	  Turn on debugging messages. Note that you can set/unset at run time
 	  through sysfs
 
+config BACKLIGHT_FRIENDLY_ARM
+	tristate "Backlight support for FriendlyARM board"
+	default y
+	help
+	  backlight driver for FriendlyARM board
+
 config FB_SM501
 	tristate "Silicon Motion SM501 framebuffer support"
 	depends on FB && MFD_SM501
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/Makefile linux-2.6.28.6/drivers/video/Makefile
--- linux-2.6.28/drivers/video/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/video/Makefile	2010-03-31 12:31:21.000000000 +0200
@@ -110,6 +110,7 @@
 obj-$(CONFIG_FB_SH7760)		  += sh7760fb.o
 obj-$(CONFIG_FB_IMX)              += imxfb.o
 obj-$(CONFIG_FB_S3C2410)	  += s3c2410fb.o
+obj-$(CONFIG_FB_S3C)              += samsung/
 obj-$(CONFIG_FB_FSL_DIU)	  += fsl-diu-fb.o
 obj-$(CONFIG_FB_COBALT)           += cobalt_lcdfb.o
 obj-$(CONFIG_FB_PNX4008_DUM)	  += pnx4008/
@@ -138,3 +139,5 @@
 
 #video output switch sysfs driver
 obj-$(CONFIG_VIDEO_OUTPUT_CONTROL) += output.o
+
+obj-$(CONFIG_BACKLIGHT_FRIENDLY_ARM) += mini6410_backlight.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/backlight/Kconfig linux-2.6.28.6/drivers/video/backlight/Kconfig
--- linux-2.6.28/drivers/video/backlight/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/video/backlight/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -178,7 +178,7 @@
 
 config BACKLIGHT_PWM
 	tristate "Generic PWM based Backlight Driver"
-	depends on BACKLIGHT_CLASS_DEVICE && HAVE_PWM
+	depends on BACKLIGHT_CLASS_DEVICE && (HAVE_PWM || TIMER_PWM)
 	help
 	  If you have a LCD backlight adjustable by PWM, say Y to enable
 	  this driver.
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/cfbimgblt.c linux-2.6.28.6/drivers/video/cfbimgblt.c
--- linux-2.6.28/drivers/video/cfbimgblt.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/video/cfbimgblt.c	2009-04-30 09:36:39.000000000 +0200
@@ -80,7 +80,13 @@
 	/* Draw the penguin */
 	u32 __iomem *dst, *dst2;
 	u32 color = 0, val, shift;
+
+#ifndef CONFIG_FB_S3C
 	int i, n, bpp = p->var.bits_per_pixel;
+#else
+	int i, n, bpp = p->fix.line_length / p->var.width * 8;
+#endif
+
 	u32 null_bits = 32 - bpp;
 	u32 *palette = (u32 *) p->pseudo_palette;
 	const u8 *src = image->data;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/logo/Kconfig linux-2.6.28.6/drivers/video/logo/Kconfig
--- linux-2.6.28/drivers/video/logo/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/video/logo/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -27,6 +27,11 @@
 	bool "Standard 224-color Linux logo"
 	default y
 
+config LOGO_LINUX_LANDSCAPED_CLUT224
+	bool "Standard landscape 224-color Linux logo"
+	depends on LOGO
+	default y
+
 config LOGO_BLACKFIN_VGA16
 	bool "16-colour Blackfin Processor Linux logo"
 	depends on BLACKFIN
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/logo/Makefile linux-2.6.28.6/drivers/video/logo/Makefile
--- linux-2.6.28/drivers/video/logo/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/video/logo/Makefile	2009-04-30 09:36:39.000000000 +0200
@@ -4,6 +4,7 @@
 obj-$(CONFIG_LOGO_LINUX_MONO)		+= logo_linux_mono.o
 obj-$(CONFIG_LOGO_LINUX_VGA16)		+= logo_linux_vga16.o
 obj-$(CONFIG_LOGO_LINUX_CLUT224)	+= logo_linux_clut224.o
+obj-$(CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224)     += logo_linux_landscaped_clut224.o
 obj-$(CONFIG_LOGO_BLACKFIN_CLUT224)	+= logo_blackfin_clut224.o
 obj-$(CONFIG_LOGO_BLACKFIN_VGA16)	+= logo_blackfin_vga16.o
 obj-$(CONFIG_LOGO_DEC_CLUT224)		+= logo_dec_clut224.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/logo/logo.c linux-2.6.28.6/drivers/video/logo/logo.c
--- linux-2.6.28/drivers/video/logo/logo.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/video/logo/logo.c	2009-04-30 09:36:39.000000000 +0200
@@ -25,6 +25,7 @@
 extern const struct linux_logo logo_linux_vga16;
 extern const struct linux_logo logo_linux_clut224;
 extern const struct linux_logo logo_blackfin_vga16;
+extern const struct linux_logo logo_linux_landscaped_clut224;
 extern const struct linux_logo logo_blackfin_clut224;
 extern const struct linux_logo logo_dec_clut224;
 extern const struct linux_logo logo_mac_clut224;
@@ -82,6 +83,9 @@
 		/* Generic Linux logo */
 		logo = &logo_linux_clut224;
 #endif
+#ifdef CONFIG_LOGO_LINUX_LANDSCAPED_CLUT224
+		logo = &logo_linux_landscaped_clut224;
+#endif
 #ifdef CONFIG_LOGO_BLACKFIN_CLUT224
 		/* Blackfin Linux logo */
 		logo = &logo_blackfin_clut224;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/mini6410_backlight.c linux-2.6.28.6/drivers/video/mini6410_backlight.c
--- linux-2.6.28/drivers/video/mini6410_backlight.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/mini6410_backlight.c	2010-03-31 12:58:00.000000000 +0200
@@ -0,0 +1,129 @@
+#include <linux/errno.h>
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/input.h>
+#include <linux/init.h>
+#include <linux/serio.h>
+#include <linux/delay.h>
+#include <linux/clk.h>
+#include <linux/miscdevice.h>
+
+#include <asm/io.h>
+#include <asm/irq.h>
+#include <asm/uaccess.h>
+#include <plat/regs-timer.h>
+	 
+#include <plat/gpio-cfg.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-gpio.h>
+
+#include <plat/gpio-bank-e.h>
+
+#include <linux/cdev.h>
+
+#undef DEBUG
+//#define DEBUG
+#ifdef DEBUG
+#define DPRINTK(x...) {printk(__FUNCTION__"(%d): ",__LINE__);printk(##x);}
+#else
+#define DPRINTK(x...) (void)(0)
+#endif
+
+#define DEVICE_NAME	"backlight"
+
+
+static unsigned int bl_state;
+
+static inline void set_bl(int state)
+{
+	bl_state = !!state;
+	//printk(DEVICE_NAME ": %s\n", state ? "ON" : "OFF");
+	{
+		unsigned long tmp;
+		tmp = readl(S3C64XX_GPEDAT);
+		tmp = (tmp & ~0x1) | (!!state);
+		writel(tmp, S3C64XX_GPEDAT);
+	}
+}
+
+static inline unsigned int get_bl(void)
+{
+	return bl_state;
+}
+
+static ssize_t dev_write(struct file *file, const char *buffer, size_t count, loff_t * ppos)
+{
+	unsigned char ch;
+	int ret;
+	if (count == 0) {
+		return count;
+	}
+	ret = copy_from_user(&ch, buffer, sizeof ch) ? -EFAULT : 0;
+	if (ret) {
+		return ret;
+	}
+
+	ch &= 0x01;
+	set_bl(ch);
+		
+	return count;
+}
+
+static ssize_t dev_read(struct file *filp, char *buffer, size_t count, loff_t *ppos)
+{
+	int ret;
+	unsigned char str[] = {'0', '1' };
+
+	if (count == 0) {
+		return 0;
+	}
+
+	ret = copy_to_user(buffer, str + get_bl(), sizeof(unsigned char) ) ? -EFAULT : 0;
+	if (ret) {
+		return ret;
+	}
+
+	return sizeof(unsigned char);
+}
+
+static struct file_operations dev_fops = {
+	owner:	THIS_MODULE,
+	read:	dev_read,	
+	write:	dev_write,
+};
+
+static struct miscdevice misc = {
+	.minor = MISC_DYNAMIC_MINOR,
+	.name = DEVICE_NAME,
+	.fops = &dev_fops,
+};
+
+static int __init dev_init(void)
+{
+	int ret;
+
+	ret = misc_register(&misc);
+
+	printk (DEVICE_NAME"\tinitialized\n");
+
+	{
+		unsigned long tmp;
+		tmp = readl(S3C64XX_GPECON);
+		tmp = (tmp & ~0xF) | 0x1;
+		writel(tmp, S3C64XX_GPECON);
+	}
+	set_bl(1);
+	return ret;
+}
+
+
+static void __exit dev_exit(void)
+{
+	misc_deregister(&misc);
+}
+
+module_init(dev_init);
+module_exit(dev_exit);
+MODULE_LICENSE("GPL");
+MODULE_AUTHOR("FriendlyARM Inc.");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/samsung/Makefile linux-2.6.28.6/drivers/video/samsung/Makefile
--- linux-2.6.28/drivers/video/samsung/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/samsung/Makefile	2010-07-20 07:47:51.000000000 +0200
@@ -0,0 +1,17 @@
+#
+# Makefile for the s3c framebuffer driver
+#
+
+obj-$(CONFIG_FB_S3C)		+= s3cfb.o
+obj-$(CONFIG_FB_S3C)		+= s3cfb_spi.o
+obj-$(CONFIG_PLAT_S3C64XX)	+= s3cfb_fimd4x.o
+obj-$(CONFIG_PLAT_S5P64XX)	+= s3cfb_fimd5x.o
+obj-$(CONFIG_PLAT_S5PC1XX)	+= s3cfb_fimd5x.o
+obj-$(CONFIG_FB_S3C_TFT480272)	+= s3c_mini6410.o
+obj-$(CONFIG_FB_S3C_TFT800480)	+= s3c_mini6410.o
+obj-$(CONFIG_FB_S3C_T240320)	+= s3c_mini6410.o
+obj-$(CONFIG_FB_S3C_TFT640480)	+= s3c_mini6410.o
+obj-$(CONFIG_FB_S3C_VGA1024768)	+= s3c_mini6410.o
+obj-$(CONFIG_FB_S3C_VGA800600)	+= s3c_mini6410.o
+obj-$(CONFIG_FB_S3C_VGA640480)	+= s3c_mini6410.o
+obj-$(CONFIG_FB_S3C_EZVGA800600)+= s3c_mini6410.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/samsung/s3c_mini6410.c linux-2.6.28.6/drivers/video/samsung/s3c_mini6410.c
--- linux-2.6.28/drivers/video/samsung/s3c_mini6410.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/samsung/s3c_mini6410.c	2010-07-20 07:51:39.000000000 +0200
@@ -0,0 +1,206 @@
+/*
+ * drivers/video/s3c/s3cfb_mini6410.c
+ *
+ * based on s3cfb_lte480wv.c
+ *
+ * Copyright (C) 2008 Jinsung Yang <jsgood.yang@samsung.com>
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file COPYING in the main directory of this archive for
+ * more details.
+ *
+ *	S3C Frame Buffer Driver
+ *	based on skeletonfb.c, sa1100fb.h, s3c2410fb.c
+ */
+
+#include <linux/wait.h>
+#include <linux/fb.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/regs-lcd.h>
+
+#include "s3cfb.h"
+#include <linux/autoconf.h>
+
+#if defined(CONFIG_FB_S3C_TFT480272)
+
+#define S3CFB_VBP		(1)	/* back porch */
+#define S3CFB_VFP		(1)	/* front porch */
+#define S3CFB_VSW		(1)	/* vsync width */
+#define S3CFB_HBP		(0x02)	/* back porch */
+#define S3CFB_HFP		(0x03)	/* front porch */
+#define S3CFB_HSW		(0x28)	/* hsync width */
+
+#define S3CFB_HRES		480	/* horizon pixel  x resolition */
+#define S3CFB_VRES		272	/* line cnt       y resolution */
+
+#define S3CFB_CLKVAL		9
+
+#elif defined(CONFIG_FB_S3C_TFT800480)
+
+#define S3CFB_VBP		(0x02)	/* back porch */
+#define S3CFB_VFP		(0x02)	/* front porch */
+#define S3CFB_VSW		(0x04)	/* vsync width */
+#define S3CFB_HBP		(0x02)	/* back porch */
+#define S3CFB_HFP		(0x02)	/* front porch */
+#define S3CFB_HSW		(0x29)	/* hsync width */
+
+#define S3CFB_HRES		800	/* horizon pixel  x resolition */
+#define S3CFB_VRES		480	/* line cnt       y resolution */
+
+#define S3CFB_CLKVAL		3
+
+#elif defined(CONFIG_FB_S3C_T240320)
+
+#define S3CFB_VBP		(0x01)	/* back porch */
+#define S3CFB_VFP		(0x01)	/* front porch */
+#define S3CFB_VSW		(0x04)	/* vsync width */
+#define S3CFB_HBP		(0x01)	/* back porch */
+#define S3CFB_HFP		(0x04)	/* front porch */
+#define S3CFB_HSW		(0x1E)	/* hsync width */
+
+#define S3CFB_HRES		240	/* horizon pixel  x resolition */
+#define S3CFB_VRES		320	/* line cnt       y resolution */
+
+#define S3CFB_CLKVAL		11
+
+#elif defined(CONFIG_FB_S3C_TFT640480)
+
+#define S3CFB_VBP		(0x01)	/* back porch */
+#define S3CFB_VFP		(0x01)	/* front porch */
+#define S3CFB_VSW		(0x01)	/* vsync width */
+#define S3CFB_HBP		(0x03)	/* back porch */
+#define S3CFB_HFP		(0x03)	/* front porch */
+#define S3CFB_HSW		(0x28)	/* hsync width */
+
+#define S3CFB_HRES		640	/* horizon pixel  x resolition */
+#define S3CFB_VRES		480	/* line cnt       y resolution */
+
+#define S3CFB_CLKVAL		3
+
+#elif defined(CONFIG_FB_S3C_VGA1024768)
+
+#define S3CFB_VBP		(0x02)	/* back porch */
+#define S3CFB_VFP		(0x02)	/* front porch */
+#define S3CFB_VSW		(0x10)	/* vsync width */
+#define S3CFB_HBP		(0x02)	/* back porch */
+#define S3CFB_HFP		(0x02)	/* front porch */
+#define S3CFB_HSW		(0x2A)	/* hsync width */
+
+#define S3CFB_HRES		1024	/* horizon pixel  x resolition */
+#define S3CFB_VRES		768	/* line cnt       y resolution */
+
+#define S3CFB_CLKVAL		5
+
+#elif defined(CONFIG_FB_S3C_VGA800600)
+
+#define S3CFB_VBP		(0x02)	/* back porch */
+#define S3CFB_VFP		(0x02)	/* front porch */
+#define S3CFB_VSW		(0x10)	/* vsync width */
+#define S3CFB_HBP		(0x02)	/* back porch */
+#define S3CFB_HFP		(0x02)	/* front porch */
+#define S3CFB_HSW		(0x2A)	/* hsync width */
+
+#define S3CFB_HRES		800	/* horizon pixel  x resolition */
+#define S3CFB_VRES		600	/* line cnt       y resolution */
+
+#define S3CFB_CLKVAL		5
+
+#elif defined(CONFIG_FB_S3C_VGA640480)
+
+#define S3CFB_VBP		(0x02)	/* back porch */
+#define S3CFB_VFP		(0x02)	/* front porch */
+#define S3CFB_VSW		(0x10)	/* vsync width */
+#define S3CFB_HBP		(0x02)	/* back porch */
+#define S3CFB_HFP		(0x02)	/* front porch */
+#define S3CFB_HSW		(0x2A)	/* hsync width */
+
+#define S3CFB_HRES		640	/* horizon pixel  x resolition */
+#define S3CFB_VRES		480	/* line cnt       y resolution */
+
+#define S3CFB_CLKVAL		5
+
+#elif defined(CONFIG_FB_S3C_EZVGA800600)
+
+#define S3CFB_VBP		(0x02)	/* back porch */
+#define S3CFB_VFP		(0x02)	/* front porch */
+#define S3CFB_VSW		(0x10)	/* vsync width */
+#define S3CFB_HBP		(0xA8)	/* back porch */
+#define S3CFB_HFP		(0x11)	/* front porch */
+#define S3CFB_HSW		(0x2A)	/* hsync width */
+
+#define S3CFB_HRES		800	/* horizon pixel  x resolition */
+#define S3CFB_VRES		600	/* line cnt       y resolution */
+
+#define S3CFB_CLKVAL		2
+
+#else
+#error mini2440 frame buffer driver not configed
+#endif
+
+#define S3CFB_HRES_VIRTUAL	S3CFB_HRES	/* horizon pixel  x resolition */
+#define S3CFB_VRES_VIRTUAL	S3CFB_VRES	/* line cnt       y resolution */
+
+#define S3CFB_HRES_OSD		S3CFB_HRES	/* horizon pixel  x resolition */
+#define S3CFB_VRES_OSD		S3CFB_VRES	/* line cnt       y resolution */
+
+#define S3CFB_PIXEL_CLOCK	S3CFB_CLKVAL
+
+static void s3cfb_set_fimd_info(void)
+{
+	s3cfb_fimd.vidcon1 = S3C_VIDCON1_IHSYNC_INVERT | S3C_VIDCON1_IVSYNC_INVERT | S3C_VIDCON1_IVDEN_NORMAL;
+
+#if defined(CONFIG_FB_S3C_VGA1024768)
+	s3cfb_fimd.vidcon1 = 0;
+#endif
+	s3cfb_fimd.vidtcon0 = S3C_VIDTCON0_VBPD(S3CFB_VBP - 1) | S3C_VIDTCON0_VFPD(S3CFB_VFP - 1) | S3C_VIDTCON0_VSPW(S3CFB_VSW - 1);
+	s3cfb_fimd.vidtcon1 = S3C_VIDTCON1_HBPD(S3CFB_HBP - 1) | S3C_VIDTCON1_HFPD(S3CFB_HFP - 1) | S3C_VIDTCON1_HSPW(S3CFB_HSW - 1);
+	s3cfb_fimd.vidtcon2 = S3C_VIDTCON2_LINEVAL(S3CFB_VRES - 1) | S3C_VIDTCON2_HOZVAL(S3CFB_HRES - 1);
+
+	s3cfb_fimd.vidosd0a = S3C_VIDOSDxA_OSD_LTX_F(0) | S3C_VIDOSDxA_OSD_LTY_F(0);
+	s3cfb_fimd.vidosd0b = S3C_VIDOSDxB_OSD_RBX_F(S3CFB_HRES - 1) | S3C_VIDOSDxB_OSD_RBY_F(S3CFB_VRES - 1);
+
+	s3cfb_fimd.vidosd1a = S3C_VIDOSDxA_OSD_LTX_F(0) | S3C_VIDOSDxA_OSD_LTY_F(0);
+	s3cfb_fimd.vidosd1b = S3C_VIDOSDxB_OSD_RBX_F(S3CFB_HRES_OSD - 1) | S3C_VIDOSDxB_OSD_RBY_F(S3CFB_VRES_OSD - 1);
+
+	s3cfb_fimd.width = S3CFB_HRES;
+	s3cfb_fimd.height = S3CFB_VRES;
+	s3cfb_fimd.xres = S3CFB_HRES;
+	s3cfb_fimd.yres = S3CFB_VRES;
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+	s3cfb_fimd.xres_virtual = S3CFB_HRES_VIRTUAL;
+	s3cfb_fimd.yres_virtual = S3CFB_VRES_VIRTUAL;
+#else
+	s3cfb_fimd.xres_virtual = S3CFB_HRES;
+	s3cfb_fimd.yres_virtual = S3CFB_VRES;
+#endif
+
+	s3cfb_fimd.osd_width = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_height = S3CFB_VRES_OSD;
+	s3cfb_fimd.osd_xres = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_yres = S3CFB_VRES_OSD;
+
+	s3cfb_fimd.osd_xres_virtual = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_yres_virtual = S3CFB_VRES_OSD;
+
+	s3cfb_fimd.pixclock = S3CFB_PIXEL_CLOCK;
+
+	s3cfb_fimd.hsync_len = S3CFB_HSW;
+	s3cfb_fimd.vsync_len = S3CFB_VSW;
+	s3cfb_fimd.left_margin = S3CFB_HFP;
+	s3cfb_fimd.upper_margin = S3CFB_VFP;
+	s3cfb_fimd.right_margin = S3CFB_HBP;
+	s3cfb_fimd.lower_margin = S3CFB_VBP;
+}
+
+void s3cfb_init_hw(void)
+{
+	printk(KERN_INFO "LCD TYPE :: LTE480WV will be initialized\n");
+
+	s3cfb_set_fimd_info();
+	s3cfb_set_gpio();
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/samsung/s3cfb.c linux-2.6.28.6/drivers/video/samsung/s3cfb.c
--- linux-2.6.28/drivers/video/samsung/s3cfb.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/samsung/s3cfb.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,993 @@
+/*
+ * drivers/video/s3c/s3cfb.c
+ *
+ * $Id: s3cfb.c,v 1.1 2008/11/17 11:12:08 jsgood Exp $
+ *
+ * Copyright (C) 2008 Jinsung Yang <jsgood.yang@samsung.com>
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file COPYING in the main directory of this archive for
+ * more details.
+ *
+ *	S3C Frame Buffer Driver
+ *	based on skeletonfb.c, sa1100fb.h, s3c2410fb.c
+ */
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/string.h>
+#include <linux/mm.h>
+#include <linux/tty.h>
+#include <linux/slab.h>
+#include <linux/delay.h>
+#include <linux/fb.h>
+#include <linux/init.h>
+#include <linux/dma-mapping.h>
+#include <linux/interrupt.h>
+#include <linux/workqueue.h>
+#include <linux/wait.h>
+#include <linux/platform_device.h>
+#include <linux/clk.h>
+
+#include <asm/io.h>
+#include <asm/uaccess.h>
+#include <asm/div64.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/regs-lcd.h>
+
+#include "s3cfb.h"
+
+/*
+ *  Globals
+ */
+s3cfb_info_t s3cfb_info[S3CFB_NUM];
+
+static void s3cfb_set_lcd_power(int to)
+{
+	s3cfb_fimd.lcd_power = to;
+
+	if (s3cfb_fimd.set_lcd_power)
+		(s3cfb_fimd.set_lcd_power)(to);
+}
+
+static void s3cfb_set_backlight_power(int to)
+{
+	s3cfb_fimd.backlight_power = to;
+
+	if (s3cfb_fimd.set_backlight_power)
+		(s3cfb_fimd.set_backlight_power)(to);
+}
+
+static void s3cfb_set_backlight_level(int to)
+{
+	s3cfb_fimd.backlight_level = to;
+
+	if (s3cfb_fimd.set_brightness)
+		(s3cfb_fimd.set_brightness)(to);
+}
+
+static int __init s3cfb_map_video_memory(s3cfb_info_t *fbi)
+{
+	DPRINTK("map_video_memory(fbi=%p)\n", fbi);
+
+	fbi->map_size_f1 = PAGE_ALIGN(fbi->fb.fix.smem_len);
+	fbi->map_cpu_f1 = dma_alloc_writecombine(fbi->dev, fbi->map_size_f1, &fbi->map_dma_f1, GFP_KERNEL);
+	fbi->map_size_f1 = fbi->fb.fix.smem_len;
+
+	if (fbi->map_cpu_f1) {
+		/* prevent initial garbage on screen */
+		printk("Window[%d] - FB1: map_video_memory: clear %p:%08x\n",
+			fbi->win_id, fbi->map_cpu_f1, fbi->map_size_f1);
+		memset(fbi->map_cpu_f1, 0xf0, fbi->map_size_f1);
+
+		fbi->screen_dma_f1 = fbi->map_dma_f1;
+		fbi->fb.screen_base = fbi->map_cpu_f1;
+		fbi->fb.fix.smem_start = fbi->screen_dma_f1;
+
+		printk("            FB1: map_video_memory: dma=%08x cpu=%p size=%08x\n",
+			fbi->map_dma_f1, fbi->map_cpu_f1, fbi->fb.fix.smem_len);
+	}
+
+	if (!fbi->map_cpu_f1)
+		return -ENOMEM;
+
+#if defined(CONFIG_FB_S3C_DOUBLE_BUFFERING)
+	if (fbi->win_id < 2 && fbi->map_cpu_f1) {
+		fbi->map_size_f2 = (fbi->fb.fix.smem_len / 2);
+		fbi->map_cpu_f2 = fbi->map_cpu_f1 + fbi->map_size_f2;
+		fbi->map_dma_f2 = fbi->map_dma_f1 + fbi->map_size_f2;
+
+		/* prevent initial garbage on screen */
+		printk("Window[%d] - FB2: map_video_memory: clear %p:%08x\n",
+			fbi->win_id, fbi->map_cpu_f2, fbi->map_size_f2);
+
+		fbi->screen_dma_f2 = fbi->map_dma_f2;
+
+		printk("            FB2: map_video_memory: dma=%08x cpu=%p size=%08x\n",
+			fbi->map_dma_f2, fbi->map_cpu_f2, fbi->map_size_f2);
+	}
+#endif
+
+	if (s3cfb_fimd.map_video_memory)
+		(s3cfb_fimd.map_video_memory)(fbi);
+
+	return 0;
+}
+
+static void s3cfb_unmap_video_memory(s3cfb_info_t *fbi)
+{
+	dma_free_writecombine(fbi->dev, fbi->map_size_f1, fbi->map_cpu_f1,  fbi->map_dma_f1);
+
+#if defined(CONFIG_FB_S3C_DOUBLE_BUFFERING)
+	dma_free_writecombine(fbi->dev, fbi->map_size_f2, fbi->map_cpu_f2,  fbi->map_dma_f2);
+#endif
+
+	if (s3cfb_fimd.unmap_video_memory)
+		(s3cfb_fimd.unmap_video_memory)(fbi);
+}
+
+/*
+ *	s3cfb_check_var():
+ *	Get the video params out of 'var'. If a value doesn't fit, round it up,
+ *	if it's too big, return -EINVAL.
+ *
+ */
+static int s3cfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
+{
+	s3cfb_info_t *fbi = (s3cfb_info_t *) info;
+
+	DPRINTK("check_var(var=%p, info=%p)\n", var, info);
+
+	switch (var->bits_per_pixel) {
+		case 8:
+			var->red = s3cfb_rgb_8.red;
+			var->green = s3cfb_rgb_8.green;
+			var->blue = s3cfb_rgb_8.blue;
+			var->transp = s3cfb_rgb_8.transp;
+			s3cfb_fimd.bytes_per_pixel = 1;
+			break;
+
+		case 16:
+			var->red = s3cfb_rgb_16.red;
+			var->green = s3cfb_rgb_16.green;
+			var->blue = s3cfb_rgb_16.blue;
+			var->transp = s3cfb_rgb_16.transp;
+			s3cfb_fimd.bytes_per_pixel = 2;
+			break;
+
+		case 24:
+			var->red = s3cfb_rgb_24.red;
+			var->green = s3cfb_rgb_24.green;
+			var->blue = s3cfb_rgb_24.blue;
+			var->transp = s3cfb_rgb_24.transp;
+			s3cfb_fimd.bytes_per_pixel = 4;
+			break;
+
+		case 28:
+			var->red = s3cfb_rgb_28.red;
+			var->green = s3cfb_rgb_28.green;
+			var->blue = s3cfb_rgb_28.blue;
+			var->transp = s3cfb_rgb_28.transp;
+			s3cfb_fimd.bytes_per_pixel = 4;
+			break;
+
+		case 32:
+			var->red = s3cfb_rgb_32.red;
+			var->green = s3cfb_rgb_32.green;
+			var->blue = s3cfb_rgb_32.blue;
+			var->transp = s3cfb_rgb_32.transp;
+			s3cfb_fimd.bytes_per_pixel = 4;
+			break;
+	}
+
+	/* WIN0 cannot support alpha channel. */
+	if( (fbi->win_id == 0) && (var->bits_per_pixel == 28) ){
+		var->transp.length = 0;
+	}
+	
+	return 0;
+}
+
+/*
+ *      s3cfb_set_par - Optional function. Alters the hardware state.
+ *      @info: frame buffer structure that represents a single frame buffer
+ *
+ */
+static int s3cfb_set_par(struct fb_info *info)
+{
+	struct fb_var_screeninfo *var = &info->var;
+	s3cfb_info_t *fbi = (s3cfb_info_t *) info;
+
+        if (var->bits_per_pixel == 16 || var->bits_per_pixel == 24 || var->bits_per_pixel == 28)
+		fbi->fb.fix.visual = FB_VISUAL_TRUECOLOR;
+	else
+		fbi->fb.fix.visual = FB_VISUAL_PSEUDOCOLOR;
+
+	fbi->fb.fix.line_length = var->width * s3cfb_fimd.bytes_per_pixel;
+
+	/* activate this new configuration */
+	s3cfb_activate_var(fbi, var);
+
+	return 0;
+}
+
+/**
+ *	s3cfb_pan_display
+ *	@var: frame buffer variable screen structure
+ *	@info: frame buffer structure that represents a single frame buffer
+ *
+ *	Pan (or wrap, depending on the `vmode' field) the display using the
+ *	`xoffset' and `yoffset' fields of the `var' structure.
+ *	If the values don't fit, return -EINVAL.
+ *
+ *	Returns negative errno on error, or zero on success.
+ */
+static int s3cfb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info)
+{
+	s3cfb_info_t *fbi = (s3cfb_info_t *)info;
+
+	DPRINTK("s3c_fb_pan_display(var=%p, info=%p)\n", var, info);
+
+	if (var->xoffset != 0)
+		return -EINVAL;
+
+	if (var->yoffset + info->var.yres > info->var.yres_virtual)
+		return -EINVAL;
+
+	fbi->fb.var.xoffset = var->xoffset;
+	fbi->fb.var.yoffset = var->yoffset;
+
+	s3cfb_set_fb_addr(fbi);
+
+	return 0;
+}
+
+/**
+ *      s3cfb_blank
+ *	@blank_mode: the blank mode we want.
+ *	@info: frame buffer structure that represents a single frame buffer
+ *
+ *	Blank the screen if blank_mode != 0, else unblank. Return 0 if
+ *	blanking succeeded, != 0 if un-/blanking failed due to e.g. a
+ *	video mode which doesn't support it. Implements VESA suspend
+ *	and powerdown modes on hardware that supports disabling hsync/vsync:
+ *	blank_mode == 2: suspend vsync
+ *	blank_mode == 3: suspend hsync
+ *	blank_mode == 4: powerdown
+ *
+ *	Returns negative errno on error, or zero on success.
+ *
+ */
+static int s3cfb_blank(int blank_mode, struct fb_info *info)
+{
+	DPRINTK("blank(mode=%d, info=%p)\n", blank_mode, info);
+
+	switch (blank_mode) {
+	case VESA_NO_BLANKING:	/* lcd on, backlight on */
+		s3cfb_set_lcd_power(1);
+		s3cfb_set_backlight_power(1);
+		break;
+
+	case VESA_VSYNC_SUSPEND: /* lcd on, backlight off */
+	case VESA_HSYNC_SUSPEND:
+		s3cfb_set_lcd_power(1);
+		s3cfb_set_backlight_power(0);
+		break;
+
+	case VESA_POWERDOWN: /* lcd and backlight off */
+		s3cfb_set_lcd_power(0);
+		s3cfb_set_backlight_power(0);
+		break;
+
+	default:
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+int s3cfb_set_vs_info(s3cfb_vs_info_t vs_info)
+{
+	/* check invalid value */
+	if (vs_info.width != s3cfb_fimd.width || vs_info.height != s3cfb_fimd.height)
+		return 1;
+
+	if (!(vs_info.bpp == 8 || vs_info.bpp == 16 || vs_info.bpp == 24 || vs_info.bpp == 28 || vs_info.bpp == 32))
+		return 1;
+
+	if (vs_info.offset < 0)
+		return 1;
+
+	if (vs_info.v_width != s3cfb_fimd.xres_virtual || vs_info.v_height != s3cfb_fimd.yres_virtual)
+		return 1;
+
+	/* save virtual screen information */
+	s3cfb_fimd.vs_info = vs_info;
+
+	if (s3cfb_fimd.vs_info.offset < 1)
+		s3cfb_fimd.vs_info.offset = 1;
+
+	if (s3cfb_fimd.vs_info.offset > S3CFB_MAX_DISPLAY_OFFSET)
+		s3cfb_fimd.vs_info.offset = S3CFB_MAX_DISPLAY_OFFSET;
+
+	s3cfb_fimd.vs_offset = s3cfb_fimd.vs_info.offset;
+
+	return 0;
+}
+#endif
+
+int s3cfb_onoff_win(s3cfb_info_t *fbi, int onoff)
+{
+	int win_num =  fbi->win_id;
+
+	if (onoff)
+		writel(readl(S3C_WINCON0 + (0x04 * win_num)) | S3C_WINCONx_ENWIN_F_ENABLE, S3C_WINCON0 + (0x04 * win_num));
+	else
+		writel(readl(S3C_WINCON0 + (0x04 * win_num)) &~ (S3C_WINCONx_ENWIN_F_ENABLE), S3C_WINCON0 + (0x04 * win_num));
+
+	return 0;
+}
+
+int s3cfb_onoff_color_key_alpha(s3cfb_info_t *fbi, int onoff)
+{
+	int win_num =  fbi->win_id - 1;
+
+	if (onoff)
+		writel(readl(S3C_W1KEYCON0 + (0x08 * win_num)) | S3C_WxKEYCON0_KEYBLEN_ENABLE, S3C_W1KEYCON0 + (0x08 * win_num));
+	else
+		writel(readl(S3C_W1KEYCON0 + (0x08 * win_num)) &~ (S3C_WxKEYCON0_KEYBLEN_ENABLE), S3C_W1KEYCON0 + (0x08 * win_num));
+
+	return 0;
+}
+
+int s3cfb_onoff_color_key(s3cfb_info_t *fbi, int onoff)
+{
+	int win_num =  fbi->win_id - 1;
+
+	if (onoff)
+		writel(readl(S3C_W1KEYCON0 + (0x08 * win_num)) | S3C_WxKEYCON0_KEYEN_F_ENABLE, S3C_W1KEYCON0 + (0x08 * win_num));
+	else
+		writel(readl(S3C_W1KEYCON0 + (0x08 * win_num)) &~ (S3C_WxKEYCON0_KEYEN_F_ENABLE), S3C_W1KEYCON0 + (0x08 * win_num));
+
+	return 0;
+}
+
+int s3cfb_set_color_key_registers(s3cfb_info_t *fbi, s3cfb_color_key_info_t colkey_info)
+{
+	unsigned int compkey = 0;
+	int win_num =  fbi->win_id;
+
+	if (win_num == 0) {
+		printk("WIN0 do not support color key\n");
+		return -1;
+	}
+
+	win_num--;
+
+	if (fbi->fb.var.bits_per_pixel == S3CFB_PIXEL_BPP_16) {
+		/* RGB 5-6-5 mode */
+		compkey  = (((colkey_info.compkey_red & 0x1f) << 19) | 0x70000);
+		compkey |= (((colkey_info.compkey_green & 0x3f) << 10) | 0x300);
+		compkey |= (((colkey_info.compkey_blue  & 0x1f)  << 3 )| 0x7);
+	} else if (fbi->fb.var.bits_per_pixel == S3CFB_PIXEL_BPP_24 || fbi->fb.var.bits_per_pixel == S3CFB_PIXEL_BPP_28) {
+		/* currently RGB 8-8-8 mode  */
+		compkey  = ((colkey_info.compkey_red & 0xff) << 16);
+		compkey |= ((colkey_info.compkey_green & 0xff) << 8);
+		compkey |= ((colkey_info.compkey_blue & 0xff) << 0);
+	} else
+		printk("Invalid BPP has been given!\n");
+
+	if (colkey_info.direction == S3CFB_COLOR_KEY_DIR_BG)
+		writel(S3C_WxKEYCON0_COMPKEY(compkey) | S3C_WxKEYCON0_DIRCON_MATCH_FG_IMAGE, S3C_W1KEYCON0 + (0x08 * win_num));
+
+	else if (colkey_info.direction == S3CFB_COLOR_KEY_DIR_FG)
+		writel(S3C_WxKEYCON0_COMPKEY(compkey) | S3C_WxKEYCON0_DIRCON_MATCH_BG_IMAGE, S3C_W1KEYCON0 + (0x08 * win_num));
+
+	else
+		printk("Color key direction is not correct :: %d!\n", colkey_info.direction);
+
+	return 0;
+}
+
+int s3cfb_set_color_value(s3cfb_info_t *fbi, s3cfb_color_val_info_t colval_info)
+{
+	unsigned int colval = 0;
+
+	int win_num =  fbi->win_id;
+
+	if (win_num == 0) {
+		printk("WIN0 do not support color key value\n");
+		return -1;
+	}
+
+	win_num--;
+
+	if (fbi->fb.var.bits_per_pixel == S3CFB_PIXEL_BPP_16) {
+		/* RGB 5-6-5 mode */
+		colval  = (((colval_info.colval_red   & 0x1f) << 19) | 0x70000);
+		colval |= (((colval_info.colval_green & 0x3f) << 10) | 0x300);
+		colval |= (((colval_info.colval_blue  & 0x1f)  << 3 )| 0x7);
+	} else if (fbi->fb.var.bits_per_pixel == S3CFB_PIXEL_BPP_24 || fbi->fb.var.bits_per_pixel == S3CFB_PIXEL_BPP_28) {
+		/* currently RGB 8-8-8 mode  */
+		colval  = ((colval_info.colval_red  & 0xff) << 16);
+		colval |= ((colval_info.colval_green & 0xff) << 8);
+		colval |= ((colval_info.colval_blue  & 0xff) << 0);
+	} else
+		printk("Invalid BPP has been given!\n");
+
+	writel(S3C_WxKEYCON1_COLVAL(colval), S3C_W1KEYCON1 + (0x08 * win_num));
+
+	return 0;
+}
+
+static int s3cfb_set_bpp(s3cfb_info_t *fbi, int bpp)
+{
+	struct fb_var_screeninfo *var= &fbi->fb.var;
+	int win_num =  fbi->win_id;
+	unsigned int val;
+
+	val = readl(S3C_WINCON0 + (0x04 * win_num));
+	val &= ~(S3C_WINCONx_BPPMODE_F_MASK | S3C_WINCONx_BLD_PIX_MASK);
+	val |= S3C_WINCONx_ALPHA_SEL_1;
+
+	switch (bpp) {
+	case 1:
+	case 2:
+	case 4:
+	case 8:
+		s3cfb_fimd.bytes_per_pixel = 1;
+		break;
+
+	case 16:
+		writel(val | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE, S3C_WINCON0 + (0x04 * win_num));
+		var->bits_per_pixel = bpp;
+		s3cfb_fimd.bytes_per_pixel = 2;
+		break;
+
+	case 24:
+		writel(val | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE, S3C_WINCON0 + (0x04 * win_num));
+		var->bits_per_pixel = bpp;
+		s3cfb_fimd.bytes_per_pixel = 4;
+		break;
+
+	case 25:
+		writel(val | S3C_WINCONx_BPPMODE_F_25BPP_A888 | S3C_WINCONx_BLD_PIX_PLANE, S3C_WINCON0 + (0x04 * win_num));
+		var->bits_per_pixel = bpp;
+		s3cfb_fimd.bytes_per_pixel = 4;
+		break;
+
+	case 28:
+		writel(val | S3C_WINCONx_BPPMODE_F_28BPP_A888 | S3C_WINCONx_BLD_PIX_PIXEL, S3C_WINCON0 + (0x04 * win_num));
+		var->bits_per_pixel = bpp;
+		s3cfb_fimd.bytes_per_pixel = 4;
+		break;
+
+	case 32:
+		var->bits_per_pixel = bpp;
+		s3cfb_fimd.bytes_per_pixel = 4;
+		break;
+	}
+
+	return 0;
+}
+
+void s3cfb_stop_lcd(void)
+{
+	unsigned long flags;
+	unsigned long tmp;
+
+	local_irq_save(flags);
+
+	tmp = readl(S3C_VIDCON0);
+	writel(tmp & ~(S3C_VIDCON0_ENVID_ENABLE | S3C_VIDCON0_ENVID_F_ENABLE), S3C_VIDCON0);
+
+	local_irq_restore(flags);
+}
+
+EXPORT_SYMBOL(s3cfb_stop_lcd);
+
+void s3cfb_start_lcd(void)
+{
+	unsigned long flags;
+	unsigned long tmp;
+
+	local_irq_save(flags);
+
+	tmp = readl(S3C_VIDCON0);
+	writel(tmp | S3C_VIDCON0_ENVID_ENABLE | S3C_VIDCON0_ENVID_F_ENABLE, S3C_VIDCON0);
+
+	local_irq_restore(flags);
+}
+
+EXPORT_SYMBOL(s3cfb_start_lcd);
+
+void s3cfb_set_clock(unsigned int clkval)
+{
+	unsigned int tmp;
+
+	tmp = readl(S3C_VIDCON0);
+
+	tmp &= ~(0x1 << 4);
+	tmp &= ~(0xff << 6);
+
+	writel(tmp | (clkval << 6) | (1 << 4), S3C_VIDCON0);
+}
+
+EXPORT_SYMBOL(s3cfb_set_clock);
+
+int s3cfb_init_win(s3cfb_info_t *fbi, int bpp, int left_x, int top_y, int width, int height, int onoff)
+{
+	s3cfb_onoff_win(fbi, OFF);
+	s3cfb_set_bpp(fbi, bpp);
+	s3cfb_set_win_position(fbi, left_x, top_y, width, height);
+	s3cfb_set_win_size(fbi, width, height);
+	s3cfb_set_fb_size(fbi);
+	s3cfb_onoff_win(fbi, onoff);
+
+	return 0;
+}
+
+int s3cfb_wait_for_vsync(void)
+{
+	int cnt;
+
+	cnt = s3cfb_fimd.vsync_info.count;
+	wait_event_interruptible_timeout(s3cfb_fimd.vsync_info.wait_queue, cnt != s3cfb_fimd.vsync_info.count, HZ / 10);
+
+  	return cnt;
+}
+
+static void s3cfb_update_palette(s3cfb_info_t *fbi, unsigned int regno, unsigned int val)
+{
+	unsigned long flags;
+
+	local_irq_save(flags);
+
+	fbi->palette_buffer[regno] = val;
+
+	if (!fbi->palette_ready) {
+		fbi->palette_ready = 1;
+		s3cfb_fimd.palette_win = fbi->win_id;
+	}
+
+	local_irq_restore(flags);
+}
+
+static inline unsigned int s3cfb_chan_to_field(unsigned int chan, struct fb_bitfield bf)
+{
+	chan &= 0xffff;
+	chan >>= 16 - bf.length;
+
+	return chan << bf.offset;
+}
+
+static int s3cfb_setcolreg(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue, unsigned int transp, struct fb_info *info)
+{
+	s3cfb_info_t *fbi = (s3cfb_info_t *)info;
+	unsigned int val = 0;
+
+	switch (fbi->fb.fix.visual) {
+	case FB_VISUAL_TRUECOLOR:
+		if (regno < 16) {
+			/* Fake palette of 16 colors */ 
+			unsigned int *pal = fbi->fb.pseudo_palette;
+
+			val = s3cfb_chan_to_field(red, fbi->fb.var.red);
+			val |= s3cfb_chan_to_field(green, fbi->fb.var.green);
+			val |= s3cfb_chan_to_field(blue, fbi->fb.var.blue);
+			val |= s3cfb_chan_to_field(transp, fbi->fb.var.transp);			
+
+			pal[regno] = val;
+		}
+
+		break;
+
+	case FB_VISUAL_PSEUDOCOLOR:	/* This means that the color format isn't 16, 24, 28 bpp. */
+		/* S3C6410 has 256 palette entries */
+		if (regno < 256) {
+			/* When var.bits_per_pixel is 8bp, then WIN0's palette is always set as 16 bit */
+				val = ((red >> 0) & 0xf800);
+				val |= ((green >> 5) & 0x07e0);
+				val |= ((blue >> 11) & 0x001f);
+
+			DPRINTK("index = %d, val = 0x%08x\n", regno, val);
+			s3cfb_update_palette(fbi, regno, val);
+		}
+
+		break;
+
+	default:
+		return 1;	/* unknown type */
+	}
+
+	return 0;
+}
+
+/* sysfs export of baclight control */
+static int s3cfb_sysfs_show_lcd_power(struct device *dev, struct device_attribute *attr, char *buf)
+{
+	return snprintf(buf, PAGE_SIZE, "%d\n", s3cfb_fimd.lcd_power);
+}
+
+static int s3cfb_sysfs_store_lcd_power(struct device *dev, struct device_attribute *attr, const char *buf, size_t len)
+{
+	if (len < 1)
+		return -EINVAL;
+
+	if (strnicmp(buf, "on", 2) == 0 || strnicmp(buf, "1", 1) == 0)
+		s3cfb_set_lcd_power(1);
+	else if (strnicmp(buf, "off", 3) == 0 || strnicmp(buf, "0", 1) == 0)
+		s3cfb_set_lcd_power(0);
+	else
+		return -EINVAL;
+
+	return len;
+}
+
+static int s3cfb_sysfs_show_backlight_power(struct device *dev, struct device_attribute *attr, char *buf)
+{
+	return snprintf(buf, PAGE_SIZE, "%d\n", s3cfb_fimd.backlight_power);
+}
+
+static int s3cfb_sysfs_store_backlight_power(struct device *dev, struct device_attribute *attr, const char *buf, size_t len)
+{
+	if (len < 1)
+		return -EINVAL;
+
+	if (strnicmp(buf, "on", 2) == 0 || strnicmp(buf, "1", 1) == 0)
+		s3cfb_set_backlight_power(1);
+	else if (strnicmp(buf, "off", 3) == 0 || strnicmp(buf, "0", 1) == 0)
+		s3cfb_set_backlight_power(0);
+	else
+		return -EINVAL;
+
+	return len;
+}
+
+static int s3cfb_sysfs_show_backlight_level(struct device *dev, struct device_attribute *attr, char *buf)
+{
+	return snprintf(buf, PAGE_SIZE, "%d\n", s3cfb_fimd.backlight_level);
+}
+
+static int s3cfb_sysfs_store_backlight_level(struct device *dev, struct device_attribute *attr, const char *buf, size_t len)
+{
+	unsigned long value = simple_strtoul(buf, NULL, 10);
+
+	if (value < s3cfb_fimd.backlight_min || value > s3cfb_fimd.backlight_max)
+		return -ERANGE;
+
+	s3cfb_set_backlight_level(value);
+
+	return len;
+}
+
+static DEVICE_ATTR(lcd_power, 0644,
+			s3cfb_sysfs_show_lcd_power,
+			s3cfb_sysfs_store_lcd_power);
+
+static DEVICE_ATTR(backlight_power, 0644,
+			s3cfb_sysfs_show_backlight_power,
+			s3cfb_sysfs_store_backlight_power);
+
+static DEVICE_ATTR(backlight_level, 0644,
+			s3cfb_sysfs_show_backlight_level,
+			s3cfb_sysfs_store_backlight_level);
+
+struct fb_ops s3cfb_ops = {
+	.owner		= THIS_MODULE,
+	.fb_check_var	= s3cfb_check_var,
+	.fb_set_par	= s3cfb_set_par,
+	.fb_blank	= s3cfb_blank,
+	.fb_pan_display	= s3cfb_pan_display,
+	.fb_setcolreg	= s3cfb_setcolreg,
+	.fb_fillrect	= cfb_fillrect,
+	.fb_copyarea	= cfb_copyarea,
+	.fb_imageblit	= cfb_imageblit,
+	.fb_cursor	= soft_cursor,
+	.fb_ioctl	= s3cfb_ioctl,
+};
+
+static void s3cfb_init_fbinfo(s3cfb_info_t *finfo, char *drv_name, int index)
+{
+	int i = 0;
+
+	if (index == 0)
+		s3cfb_init_hw();
+
+	strcpy(finfo->fb.fix.id, drv_name);
+
+	finfo->win_id = index;
+	finfo->fb.fix.type = FB_TYPE_PACKED_PIXELS;
+	finfo->fb.fix.type_aux = 0;
+	finfo->fb.fix.xpanstep = 0;
+	finfo->fb.fix.ypanstep = 1;
+	finfo->fb.fix.ywrapstep = 0;
+	finfo->fb.fix.accel = FB_ACCEL_NONE;
+
+	finfo->fb.fbops = &s3cfb_ops;
+	finfo->fb.flags	= FBINFO_FLAG_DEFAULT;
+
+	finfo->fb.pseudo_palette = &finfo->pseudo_pal;
+
+	finfo->fb.var.nonstd = 0;
+	finfo->fb.var.activate = FB_ACTIVATE_NOW;
+	finfo->fb.var.accel_flags = 0;
+	finfo->fb.var.vmode = FB_VMODE_NONINTERLACED;
+
+	finfo->fb.var.xoffset = s3cfb_fimd.xoffset;
+	finfo->fb.var.yoffset = s3cfb_fimd.yoffset;
+
+	if (index == 0) {
+		finfo->fb.var.height = s3cfb_fimd.height;
+		finfo->fb.var.width = s3cfb_fimd.width;
+
+		finfo->fb.var.xres = s3cfb_fimd.xres;
+		finfo->fb.var.yres = s3cfb_fimd.yres;
+
+		finfo->fb.var.xres_virtual = s3cfb_fimd.xres_virtual;
+		finfo->fb.var.yres_virtual = s3cfb_fimd.yres_virtual;
+	} else {
+		finfo->fb.var.height = s3cfb_fimd.osd_height;
+		finfo->fb.var.width = s3cfb_fimd.osd_width;
+
+		finfo->fb.var.xres = s3cfb_fimd.osd_xres;
+		finfo->fb.var.yres = s3cfb_fimd.osd_yres;
+
+		finfo->fb.var.xres_virtual = s3cfb_fimd.osd_xres_virtual;
+		finfo->fb.var.yres_virtual = s3cfb_fimd.osd_yres_virtual;
+	}
+
+	finfo->fb.var.bits_per_pixel = s3cfb_fimd.bpp;
+        finfo->fb.var.pixclock = s3cfb_fimd.pixclock;
+	finfo->fb.var.hsync_len = s3cfb_fimd.hsync_len;
+	finfo->fb.var.left_margin = s3cfb_fimd.left_margin;
+	finfo->fb.var.right_margin = s3cfb_fimd.right_margin;
+	finfo->fb.var.vsync_len = s3cfb_fimd.vsync_len;
+	finfo->fb.var.upper_margin = s3cfb_fimd.upper_margin;
+	finfo->fb.var.lower_margin = s3cfb_fimd.lower_margin;
+	finfo->fb.var.sync = s3cfb_fimd.sync;
+	finfo->fb.var.grayscale = s3cfb_fimd.cmap_grayscale;
+
+	finfo->fb.fix.smem_len = finfo->fb.var.xres_virtual * finfo->fb.var.yres_virtual * s3cfb_fimd.bytes_per_pixel;
+	finfo->fb.fix.line_length = finfo->fb.var.width * s3cfb_fimd.bytes_per_pixel;
+
+#if !defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+
+#if defined(CONFIG_FB_S3C_DOUBLE_BUFFERING)
+	if (index < 2)
+		finfo->fb.fix.smem_len *= 2;
+#else
+	/*
+	* Some systems(ex. DirectFB) use FB0 memory as a video memory.
+	* You can modify the size of multiple.
+	*/
+	if (index == 0)
+		finfo->fb.fix.smem_len *= 5;
+#endif
+
+#endif
+	
+	for (i = 0; i < 256; i++)
+		finfo->palette_buffer[i] = S3CFB_PALETTE_BUFF_CLEAR;
+}
+
+/*
+ *  Probe
+ */
+static int __init s3cfb_probe(struct platform_device *pdev)
+{
+	struct resource *res;
+	struct fb_info *fbinfo;
+	s3cfb_info_t *info;
+
+	char driver_name[] = "s3cfb";
+	int index = 0, ret, size;
+
+	fbinfo = framebuffer_alloc(sizeof(s3cfb_info_t), &pdev->dev);
+
+	if (!fbinfo)
+		return -ENOMEM;
+
+	platform_set_drvdata(pdev, fbinfo);
+
+	info = fbinfo->par;
+	info->dev = &pdev->dev;
+
+	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
+
+	if (res == NULL) {
+		dev_err(&pdev->dev, "failed to get memory registers\n");
+		ret = -ENXIO;
+		goto dealloc_fb;
+	}
+
+	size = (res->end - res->start) + 1;
+	info->mem = request_mem_region(res->start, size, pdev->name);
+
+	if (info->mem == NULL) {
+		dev_err(&pdev->dev, "failed to get memory region\n");
+		ret = -ENOENT;
+		goto dealloc_fb;
+	}
+
+	info->io = ioremap(res->start, size);
+
+	if (info->io == NULL) {
+		dev_err(&pdev->dev, "ioremap() of registers failed\n");
+		ret = -ENXIO;
+		goto release_mem;
+	}
+
+	s3cfb_pre_init();
+	s3cfb_set_backlight_power(1);
+	s3cfb_set_lcd_power(1);
+	s3cfb_set_backlight_level(S3CFB_DEFAULT_BACKLIGHT_LEVEL);
+
+	info->clk = clk_get(NULL, "lcd");
+
+	if (!info->clk || IS_ERR(info->clk)) {
+		printk(KERN_INFO "failed to get lcd clock source\n");
+		ret =  -ENOENT;
+		goto release_io;
+	}
+
+	clk_enable(info->clk);
+	printk("S3C_LCD clock got enabled :: %ld.%03ld Mhz\n", PRINT_MHZ(clk_get_rate(info->clk)));
+
+	s3cfb_fimd.vsync_info.count = 0;
+	init_waitqueue_head(&s3cfb_fimd.vsync_info.wait_queue);
+
+	res = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
+
+	if (res == NULL) {
+		dev_err(&pdev->dev, "failed to get irq\n");
+		ret = -ENXIO;
+		goto release_clock;
+	}
+
+	ret = request_irq(res->start, s3cfb_irq, 0, "s3c-lcd", pdev);
+
+	if (ret != 0) {
+		printk("Failed to install irq (%d)\n", ret);
+		goto release_clock;
+	}
+
+	msleep(5);
+
+	for (index = 0; index < S3CFB_NUM; index++) {
+		s3cfb_info[index].mem = info->mem;
+		s3cfb_info[index].io = info->io;
+		s3cfb_info[index].clk = info->clk;
+
+		s3cfb_init_fbinfo(&s3cfb_info[index], driver_name, index);
+
+		/* Initialize video memory */
+		ret = s3cfb_map_video_memory(&s3cfb_info[index]);
+
+		if (ret) {
+			printk("Failed to allocate video RAM: %d\n", ret);
+			ret = -ENOMEM;
+			goto release_irq;
+		}
+
+		ret = s3cfb_init_registers(&s3cfb_info[index]);
+		ret = s3cfb_check_var(&s3cfb_info[index].fb.var, &s3cfb_info[index].fb);
+
+		if (index < 2){
+			if (fb_alloc_cmap(&s3cfb_info[index].fb.cmap, 256, 0) < 0)
+				goto dealloc_fb;
+		} else {
+			if (fb_alloc_cmap(&s3cfb_info[index].fb.cmap, 16, 0) < 0)
+				goto dealloc_fb;
+		}
+
+		ret = register_framebuffer(&s3cfb_info[index].fb);
+
+		if (ret < 0) {
+			printk(KERN_ERR "Failed to register framebuffer device: %d\n", ret);
+			goto free_video_memory;
+		}
+
+		printk(KERN_INFO "fb%d: %s frame buffer device\n", s3cfb_info[index].fb.node, s3cfb_info[index].fb.fix.id);
+	}
+
+	/* create device files */
+	ret = device_create_file(&(pdev->dev), &dev_attr_backlight_power);
+
+	if (ret < 0)
+		printk(KERN_WARNING "s3cfb: failed to add entries\n");
+
+	ret = device_create_file(&(pdev->dev), &dev_attr_backlight_level);
+
+	if (ret < 0)
+		printk(KERN_WARNING "s3cfb: failed to add entries\n");
+
+	ret = device_create_file(&(pdev->dev), &dev_attr_lcd_power);
+
+	if (ret < 0)
+		printk(KERN_WARNING "s3cfb: failed to add entries\n");
+
+	return 0;
+
+free_video_memory:
+	s3cfb_unmap_video_memory(&s3cfb_info[index]);
+
+release_irq:
+	free_irq(res->start, &info);
+
+release_clock:
+	clk_disable(info->clk);
+	clk_put(info->clk);
+
+release_io:
+	iounmap(info->io);
+
+release_mem:
+	release_resource(info->mem);
+	kfree(info->mem);
+
+dealloc_fb:
+	framebuffer_release(fbinfo);
+	return ret;
+}
+
+/*
+ *  Remove
+ */
+static int s3cfb_remove(struct platform_device *pdev)
+{
+	struct fb_info *fbinfo = platform_get_drvdata(pdev);
+	s3cfb_info_t *info = fbinfo->par;
+	int index = 0, irq;
+
+	s3cfb_stop_lcd();
+	msleep(1);
+
+	if (info->clk) {
+		clk_disable(info->clk);
+		clk_put(info->clk);
+	 	info->clk = NULL;
+	}
+
+	irq = platform_get_irq(pdev, 0);
+	release_resource(info->mem);
+
+	for (index = 0; index < S3CFB_NUM; index++) {
+		s3cfb_unmap_video_memory((s3cfb_info_t *) &s3cfb_info[index]);
+		free_irq(irq, &s3cfb_info[index]);
+		unregister_framebuffer(&info[index].fb);
+	}
+
+	return 0;
+}
+
+static struct platform_driver s3cfb_driver = {
+	.probe		= s3cfb_probe,
+	.remove		= s3cfb_remove,
+	.suspend	= s3cfb_suspend,
+	.resume		= s3cfb_resume,
+        .driver		= {
+		.name	= "s3c-lcd",
+		.owner	= THIS_MODULE,
+	},
+};
+
+int __devinit s3cfb_init(void)
+{
+	return platform_driver_register(&s3cfb_driver);
+}
+static void __exit s3cfb_cleanup(void)
+{
+	platform_driver_unregister(&s3cfb_driver);
+}
+
+module_init(s3cfb_init);
+module_exit(s3cfb_cleanup);
+
+MODULE_AUTHOR("Jinsung Yang");
+MODULE_DESCRIPTION("S3C Framebuffer Driver");
+MODULE_LICENSE("GPL");
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/samsung/s3cfb.h linux-2.6.28.6/drivers/video/samsung/s3cfb.h
--- linux-2.6.28/drivers/video/samsung/s3cfb.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/samsung/s3cfb.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,519 @@
+/*
+ * drivers/video/s3c/s3cfb.h
+ *
+ * $Id: s3cfb.h,v 1.1 2008/11/17 11:12:08 jsgood Exp $
+ *
+ * Copyright (C) 2008 Jinsung Yang <jsgood.yang@samsung.com>
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file COPYING in the main directory of this archive for
+ * more details.
+ *
+ *	S3C Frame Buffer Driver
+ *	based on skeletonfb.c, sa1100fb.h, s3c2410fb.c
+ */
+
+#ifndef _S3CFB_H_
+#define _S3CFB_H_
+
+#include <linux/interrupt.h>
+
+#if  defined(CONFIG_S3C6410_PWM)
+extern int s3c6410_timer_setup (int channel, int usec, unsigned long g_tcnt, unsigned long g_tcmp);
+#elif defined(CONFIG_S5PC1XX_PWM)
+extern int s5pc100_timer_setup (int channel, int usec, unsigned long g_tcnt, unsigned long g_tcmp);
+#endif
+
+/*
+ *  Debug macros
+ */
+#define DEBUG 0
+
+#if DEBUG
+#define DPRINTK(fmt, args...)	printk("%s: " fmt, __FUNCTION__ , ## args)
+#else
+#define DPRINTK(fmt, args...)
+#endif
+
+/*
+ *  Definitions
+ */
+#ifndef MHZ
+#define MHZ (1000 * 1000)
+#endif
+
+#define ON 	1
+#define OFF	0
+
+#define S3CFB_PIXEL_BPP_8	8
+#define S3CFB_PIXEL_BPP_16	16	/*  RGB 5-6-5 format for SMDK EVAL BOARD */
+#define S3CFB_PIXEL_BPP_24	24	/*  XRGB 8-8-8 format for SMDK EVAL BOARD */
+#define S3CFB_PIXEL_BPP_28	28	/*  ARGB 4-8-8-8 format for SMDK EVAL BOARD */
+
+#define S3CFB_OUTPUT_RGB	0
+#define S3CFB_OUTPUT_TV		1
+#define S3CFB_OUTPUT_I80_LDI0	2
+#define S3CFB_OUTPUT_I80_LDI1	3
+
+#if defined(CONFIG_CPU_S3C2443) || defined(CONFIG_CPU_S3C2450) || defined(CONFIG_CPU_S3C2416)
+#define S3CFB_MAX_NUM	2
+
+#elif defined(CONFIG_CPU_S3C6400) || defined(CONFIG_CPU_S3C6410) || defined(CONFIG_CPU_S5PC100)
+#define S3CFB_MAX_NUM	5
+
+#elif defined(CONFIG_CPU_S5P6440)
+#define S3CFB_MAX_NUM	3
+
+#else
+#define S3CFB_MAX_NUM	1
+
+#endif
+
+#define S3CFB_PALETTE_BUFF_CLEAR	(0x80000000)	/* entry is clear/invalid */
+#define S3CFB_COLOR_KEY_DIR_BG 		0
+#define S3CFB_COLOR_KEY_DIR_FG 		1
+#define S3CFB_DEFAULT_BACKLIGHT_LEVEL	2
+#define S3CFB_MAX_DISPLAY_OFFSET	200
+#define S3CFB_DEFAULT_DISPLAY_OFFSET	100
+#define S3CFB_MAX_ALPHA_LEVEL		0xf
+#define S3CFB_MAX_BRIGHTNESS		90
+#define S3CFB_DEFAULT_BRIGHTNESS	4
+#define S3CFB_VS_SET 			12
+#define S3CFB_VS_MOVE_LEFT		15
+#define S3CFB_VS_MOVE_RIGHT		16
+#define S3CFB_VS_MOVE_UP		17
+#define S3CFB_VS_MOVE_DOWN		18
+#define S3CFB_ALPHA_MODE_PLANE		0
+#define S3CFB_ALPHA_MODE_PIXEL		1
+
+/*
+ *  macros
+ */
+#define PRINT_MHZ(m) 			((m) / MHZ), ((m / 1000) % 1000)
+#define FB_MIN_NUM(x, y)		((x) < (y) ? (x) : (y))
+#define S3CFB_NUM			FB_MIN_NUM(S3CFB_MAX_NUM, CONFIG_FB_S3C_NUM)
+
+/*
+ *  ioctls
+ */
+#define S3CFB_GET_BRIGHTNESS		_IOR ('F', 1,  unsigned int)
+#define S3CFB_SET_BRIGHTNESS		_IOW ('F', 2,  unsigned int)
+#define FBIO_WAITFORVSYNC		_IOW ('F', 32, unsigned int)
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+#define S3CFB_VS_START			_IO  ('F', 103)
+#define S3CFB_VS_STOP			_IO  ('F', 104)
+#define S3CFB_VS_SET_INFO		_IOW ('F', 105, s3cfb_vs_info_t)
+#define S3CFB_VS_MOVE			_IOW ('F', 106, unsigned int)
+#endif
+
+#define S3CFB_OSD_START			_IO  ('F', 201)
+#define S3CFB_OSD_STOP			_IO  ('F', 202)
+#define S3CFB_OSD_ALPHA_UP		_IO  ('F', 203)
+#define S3CFB_OSD_ALPHA_DOWN		_IO  ('F', 204)
+#define S3CFB_OSD_MOVE_LEFT		_IO  ('F', 205)
+#define S3CFB_OSD_MOVE_RIGHT		_IO  ('F', 206)
+#define S3CFB_OSD_MOVE_UP		_IO  ('F', 207)
+#define S3CFB_OSD_MOVE_DOWN		_IO  ('F', 208)
+#define S3CFB_OSD_SET_INFO		_IOW ('F', 209, s3cfb_win_info_t)
+#define S3CFB_OSD_ALPHA0_SET		_IOW ('F', 210, unsigned int)
+#define S3CFB_OSD_ALPHA1_SET		_IOW ('F', 211, unsigned int)
+#define S3CFB_OSD_ALPHA_MODE		_IOW ('F', 212, unsigned int)
+
+#define S3CFB_COLOR_KEY_START		_IO  ('F', 300)
+#define S3CFB_COLOR_KEY_STOP		_IO  ('F', 301)
+#define S3CFB_COLOR_KEY_ALPHA_START	_IO  ('F', 302)
+#define S3CFB_COLOR_KEY_ALPHA_STOP	_IO  ('F', 303)
+#define S3CFB_COLOR_KEY_SET_INFO	_IOW ('F', 304, s3cfb_color_key_info_t)
+#define S3CFB_COLOR_KEY_VALUE		_IOW ('F', 305, s3cfb_color_val_info_t)
+
+#if defined(CONFIG_FB_S3C_DOUBLE_BUFFERING)
+#define S3CFB_GET_NUM			_IOWR('F', 306, unsigned int)
+#endif
+
+#define S3CFB_GET_INFO			_IOR ('F', 307, s3cfb_dma_info_t)
+#define S3CFB_CHANGE_REQ		_IOW ('F', 308, int)
+#define S3CFB_SET_VSYNC_INT		_IOW ('F', 309, int)
+#define S3CFB_SET_NEXT_FB_INFO		_IOW ('F', 320, s3cfb_next_info_t)
+#define S3CFB_GET_CURR_FB_INFO		_IOR ('F', 321, s3cfb_next_info_t)
+
+/*
+ *  structures
+ */
+typedef struct {
+	int bpp;
+	int left_x;
+	int top_y;
+	int width;
+	int height;
+} s3cfb_win_info_t;
+
+typedef struct {
+	int width;
+	int height;
+	int bpp;
+	int offset;
+	int v_width;
+	int v_height;
+} s3cfb_vs_info_t;
+
+typedef struct {
+	int direction;
+	unsigned int compkey_red;
+	unsigned int compkey_green;
+	unsigned int compkey_blue;
+} s3cfb_color_key_info_t;
+
+typedef struct {
+	unsigned int colval_red;
+	unsigned int colval_green;
+	unsigned int colval_blue;
+} s3cfb_color_val_info_t;
+
+typedef struct {
+	wait_queue_head_t wait_queue;
+	int count;
+} s3cfb_vsync_info_t;
+
+typedef struct {
+	dma_addr_t map_dma_f1;
+	dma_addr_t map_dma_f2;
+} s3cfb_dma_info_t;
+
+typedef struct {
+	unsigned int phy_start_addr;
+	unsigned int xres;		/* visible resolution*/
+	unsigned int yres;
+	unsigned int xres_virtual;	/* virtual resolution*/
+	unsigned int yres_virtual;
+	unsigned int xoffset;		/* offset from virtual to visible */
+	unsigned int yoffset;		/* resolution */
+	unsigned int lcd_offset_x;
+	unsigned int lcd_offset_y;
+} s3cfb_next_info_t;
+
+typedef struct {
+	struct fb_bitfield red;
+	struct fb_bitfield green;
+	struct fb_bitfield blue;
+	struct fb_bitfield transp;
+} s3cfb_rgb_t;
+
+const static s3cfb_rgb_t s3cfb_rgb_8 = {
+	.red    = {.offset = 0,  .length = 8,},
+	.green  = {.offset = 0,  .length = 8,},
+	.blue   = {.offset = 0,  .length = 8,},
+	.transp = {.offset = 0,  .length = 0,},
+};
+
+const static s3cfb_rgb_t s3cfb_rgb_16 = {
+	.red    = {.offset = 11, .length = 5,},
+	.green  = {.offset = 5,  .length = 6,},
+	.blue   = {.offset = 0,  .length = 5,},
+	.transp = {.offset = 0,  .length = 0,},
+};
+
+const static s3cfb_rgb_t s3cfb_rgb_24 = {
+	.red    = {.offset = 16, .length = 8,},
+	.green  = {.offset = 8,  .length = 8,},
+	.blue   = {.offset = 0,  .length = 8,},
+	.transp = {.offset = 0,  .length = 0,},
+};
+
+const static s3cfb_rgb_t s3cfb_rgb_28 = {
+	.red    = {.offset = 16, .length = 8,},
+	.green  = {.offset = 8,  .length = 8,},
+	.blue   = {.offset = 0,  .length = 8,},
+	.transp = {.offset = 24,  .length = 4,},
+};
+
+const static s3cfb_rgb_t s3cfb_rgb_32 = {
+	.red    = {.offset = 16, .length = 8,},
+	.green  = {.offset = 8,  .length = 8,},
+	.blue   = {.offset = 0,  .length = 8,},
+	.transp = {.offset = 24, .length = 8,},
+};
+
+typedef struct {
+	struct fb_info		fb;
+	struct device		*dev;
+
+	struct clk		*clk;
+
+	struct resource		*mem;
+	void __iomem		*io;
+
+	unsigned int		win_id;
+
+	unsigned int		max_bpp;
+	unsigned int		max_xres;
+	unsigned int		max_yres;
+
+	/* raw memory addresses */
+	dma_addr_t		map_dma_f1;	/* physical */
+	u_char *		map_cpu_f1;	/* virtual */
+	unsigned int		map_size_f1;
+
+	/* addresses of pieces placed in raw buffer */
+	u_char *		screen_cpu_f1;	/* virtual address of frame buffer */
+	dma_addr_t		screen_dma_f1;	/* physical address of frame buffer */
+
+	/* raw memory addresses */
+	dma_addr_t		map_dma_f2;	/* physical */
+	u_char *		map_cpu_f2;	/* virtual */
+	unsigned int		map_size_f2;
+
+	/* addresses of pieces placed in raw buffer */
+	u_char *		screen_cpu_f2;	/* virtual address of frame buffer */
+	dma_addr_t		screen_dma_f2;	/* physical address of frame buffer */
+
+	unsigned int		palette_ready;
+	unsigned int		fb_change_ready;
+
+	/* keep these registers in case we need to re-write palette */
+	unsigned int		palette_buffer[256];
+	unsigned int		pseudo_pal[16];
+
+	unsigned int		lcd_offset_x;
+	unsigned int		lcd_offset_y;
+	unsigned int		next_fb_info_change_req;
+	s3cfb_next_info_t	next_fb_info;
+} s3cfb_info_t;
+
+typedef struct {
+
+	/* Screen size */
+	int width;
+	int height;
+
+	/* Screen info */
+	int xres;
+	int yres;
+
+	/* Virtual Screen info */
+	int xres_virtual;
+	int yres_virtual;
+	int xoffset;
+	int yoffset;
+
+	/* OSD Screen size */
+	int osd_width;
+	int osd_height;
+
+	/* OSD Screen info */
+	int osd_xres;
+	int osd_yres;
+
+	/* OSD Screen info */
+	int osd_xres_virtual;
+	int osd_yres_virtual;
+
+	int bpp;
+	int bytes_per_pixel;
+	unsigned long pixclock;
+
+	int hsync_len;
+	int left_margin;
+	int right_margin;
+	int vsync_len;
+	int upper_margin;
+	int lower_margin;
+	int sync;
+
+	int cmap_grayscale:1;
+	int cmap_inverse:1;
+	int cmap_static:1;
+	int unused:29;
+
+	/* backlight info */
+	int backlight_min;
+	int backlight_max;
+	int backlight_default;
+
+	int vs_offset;
+	int brightness;
+	int palette_win;
+	int backlight_level;
+	int backlight_power;
+	int lcd_power;
+
+	s3cfb_vsync_info_t vsync_info;
+	s3cfb_vs_info_t vs_info;
+
+	/* lcd configuration registers */
+	unsigned long lcdcon1;
+	unsigned long lcdcon2;
+
+        unsigned long lcdcon3;
+	unsigned long lcdcon4;
+	unsigned long lcdcon5;
+
+	/* GPIOs */
+	unsigned long gpcup;
+	unsigned long gpcup_mask;
+	unsigned long gpccon;
+	unsigned long gpccon_mask;
+	unsigned long gpdup;
+	unsigned long gpdup_mask;
+	unsigned long gpdcon;
+	unsigned long gpdcon_mask;
+
+	/* lpc3600 control register */
+	unsigned long lpcsel;
+	unsigned long lcdtcon1;
+	unsigned long lcdtcon2;
+	unsigned long lcdtcon3;
+	unsigned long lcdosd1;
+	unsigned long lcdosd2;
+	unsigned long lcdosd3;
+	unsigned long lcdsaddrb1;
+	unsigned long lcdsaddrb2;
+	unsigned long lcdsaddrf1;
+	unsigned long lcdsaddrf2;
+	unsigned long lcdeaddrb1;
+	unsigned long lcdeaddrb2;
+	unsigned long lcdeaddrf1;
+	unsigned long lcdeaddrf2;
+	unsigned long lcdvscrb1;
+	unsigned long lcdvscrb2;
+	unsigned long lcdvscrf1;
+	unsigned long lcdvscrf2;
+	unsigned long lcdintcon;
+	unsigned long lcdkeycon;
+	unsigned long lcdkeyval;
+	unsigned long lcdbgcon;
+	unsigned long lcdfgcon;
+	unsigned long lcddithcon;
+
+	unsigned long vidcon0;
+	unsigned long vidcon1;
+	unsigned long vidtcon0;
+	unsigned long vidtcon1;
+	unsigned long vidtcon2;
+	unsigned long vidtcon3;
+	unsigned long wincon0;
+	unsigned long wincon2;
+	unsigned long wincon1;
+	unsigned long wincon3;
+	unsigned long wincon4;
+
+	unsigned long vidosd0a;
+	unsigned long vidosd0b;
+	unsigned long vidosd0c;
+	unsigned long vidosd1a;
+	unsigned long vidosd1b;
+	unsigned long vidosd1c;
+	unsigned long vidosd1d;
+	unsigned long vidosd2a;
+	unsigned long vidosd2b;
+	unsigned long vidosd2c;
+	unsigned long vidosd2d;
+	unsigned long vidosd3a;
+	unsigned long vidosd3b;
+	unsigned long vidosd3c;
+	unsigned long vidosd4a;
+	unsigned long vidosd4b;
+	unsigned long vidosd4c;
+
+	unsigned long vidw00add0b0;
+	unsigned long vidw00add0b1;
+	unsigned long vidw01add0;
+	unsigned long vidw01add0b0;
+	unsigned long vidw01add0b1;
+
+	unsigned long vidw00add1b0;
+	unsigned long vidw00add1b1;
+	unsigned long vidw01add1;
+	unsigned long vidw01add1b0;
+	unsigned long vidw01add1b1;
+
+	unsigned long vidw00add2b0;
+	unsigned long vidw00add2b1;
+
+	unsigned long vidw02add0;
+	unsigned long vidw03add0;
+	unsigned long vidw04add0;
+
+	unsigned long vidw02add1;
+	unsigned long vidw03add1;
+	unsigned long vidw04add1;
+	unsigned long vidw00add2;
+	unsigned long vidw01add2;
+	unsigned long vidw02add2;
+	unsigned long vidw03add2;
+	unsigned long vidw04add2;
+
+	unsigned long vidintcon;
+	unsigned long vidintcon0;
+	unsigned long vidintcon1;
+	unsigned long w1keycon0;
+	unsigned long w1keycon1;
+	unsigned long w2keycon0;
+	unsigned long w2keycon1;
+	unsigned long w3keycon0;
+	unsigned long w3keycon1;
+	unsigned long w4keycon0;
+	unsigned long w4keycon1;
+
+	unsigned long win0map;
+	unsigned long win1map;
+	unsigned long win2map;
+	unsigned long win3map;
+	unsigned long win4map;
+
+	unsigned long wpalcon;
+	unsigned long dithmode;
+	unsigned long intclr0;
+	unsigned long intclr1;
+	unsigned long intclr2;
+
+	unsigned long win0pal;
+	unsigned long win1pal;
+
+	/* utility functions */
+	void (*set_backlight_power)(int);
+	void (*set_lcd_power)(int);
+	void (*set_brightness)(int);
+	int (*map_video_memory)(s3cfb_info_t *);
+	int (*unmap_video_memory)(s3cfb_info_t *);
+}s3cfb_fimd_info_t;
+
+/*
+ *  Externs
+ */
+extern s3cfb_info_t s3cfb_info[];
+extern s3cfb_fimd_info_t s3cfb_fimd;
+
+extern int soft_cursor(struct fb_info *info, struct fb_cursor *cursor);
+extern int s3cfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg);
+extern void s3cfb_activate_var(s3cfb_info_t *fbi, struct fb_var_screeninfo *var);
+extern void s3cfb_set_fb_addr(s3cfb_info_t *fbi);
+extern void s3cfb_init_hw(void);
+extern irqreturn_t s3cfb_irq(int irqno, void *param);
+extern int s3cfb_init_registers(s3cfb_info_t *fbi);
+extern int s3cfb_set_win_position(s3cfb_info_t *fbi, int left_x, int top_y, int width, int height);
+extern int s3cfb_set_win_size(s3cfb_info_t *fbi, int width, int height);
+extern int s3cfb_set_fb_size(s3cfb_info_t *fbi);
+extern int s3cfb_set_vs_info(s3cfb_vs_info_t vs_info);
+extern int s3cfb_wait_for_vsync(void);
+extern int s3cfb_onoff_color_key(s3cfb_info_t *fbi, int onoff);
+extern int s3cfb_onoff_color_key_alpha(s3cfb_info_t *fbi, int onoff);
+extern int s3cfb_set_color_key_registers(s3cfb_info_t *fbi, s3cfb_color_key_info_t colkey_info);
+extern int s3cfb_set_color_value(s3cfb_info_t *fbi, s3cfb_color_val_info_t colval_info);
+extern int s3cfb_init_win(s3cfb_info_t *fbi, int bpp, int left_x, int top_y, int width, int height, int onoff);
+extern int s3cfb_onoff_win(s3cfb_info_t *fbi, int onoff);
+extern int s3cfb_set_gpio(void);
+extern void s3cfb_start_lcd(void);
+extern void s3cfb_stop_lcd(void);
+extern int s3cfb_suspend(struct platform_device *dev, pm_message_t state);
+extern int s3cfb_resume(struct platform_device *dev);
+extern int s3cfb_spi_gpio_request(int ch);
+extern void s3cfb_spi_lcd_den(int ch, int value);
+extern void s3cfb_spi_lcd_dseri(int ch, int value);
+extern void s3cfb_spi_lcd_dclk(int ch, int value);
+extern void s3cfb_spi_set_lcd_data(int ch);
+extern int s3cfb_spi_gpio_free(int ch);
+extern void s3cfb_pre_init(void);
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/samsung/s3cfb_fimd4x.c linux-2.6.28.6/drivers/video/samsung/s3cfb_fimd4x.c
--- linux-2.6.28/drivers/video/samsung/s3cfb_fimd4x.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/samsung/s3cfb_fimd4x.c	2010-05-16 09:03:40.000000000 +0200
@@ -0,0 +1,1479 @@
+/*
+ * drivers/video/samsung//s3cfb_fimd4x.c
+ *
+ * $Id: s3cfb_fimd4x.c,v 1.2 2008/11/17 23:44:28 jsgood Exp $
+ *
+ * Copyright (C) 2008 Jinsung Yang <jsgood.yang@samsung.com>
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file COPYING in the main directory of this archive for
+ * more details.
+ *
+ *	S3C Frame Buffer Driver
+ *	based on skeletonfb.c, sa1100fb.h, s3c2410fb.c
+ */
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/string.h>
+#include <linux/mm.h>
+#include <linux/tty.h>
+#include <linux/slab.h>
+#include <linux/delay.h>
+#include <linux/fb.h>
+#include <linux/init.h>
+#include <linux/dma-mapping.h>
+#include <linux/string.h>
+#include <linux/ioctl.h>
+#include <linux/clk.h>
+#include <linux/platform_device.h>
+#include <linux/gpio.h>
+
+#include <asm/io.h>
+#include <asm/uaccess.h>
+
+#include <plat/gpio-cfg.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-lcd.h>
+#include <plat/regs-gpio.h>
+
+#include <mach/map.h>
+
+#if defined(CONFIG_PM)
+#include <plat/pm.h>
+#endif
+
+#include "s3cfb.h"
+
+s3cfb_fimd_info_t s3cfb_fimd = {
+	.vidcon0 = S3C_VIDCON0_INTERLACE_F_PROGRESSIVE | S3C_VIDCON0_VIDOUT_RGB_IF | S3C_VIDCON0_L1_DATA16_SUB_16_MODE | \
+			S3C_VIDCON0_L0_DATA16_MAIN_16_MODE | S3C_VIDCON0_PNRMODE_RGB_P | \
+			S3C_VIDCON0_CLKVALUP_ALWAYS | S3C_VIDCON0_CLKDIR_DIVIDED | S3C_VIDCON0_CLKSEL_F_HCLK | \
+			S3C_VIDCON0_ENVID_DISABLE | S3C_VIDCON0_ENVID_F_DISABLE,
+
+	.dithmode = (S3C_DITHMODE_RDITHPOS_5BIT | S3C_DITHMODE_GDITHPOS_6BIT | S3C_DITHMODE_BDITHPOS_5BIT ) & S3C_DITHMODE_DITHERING_DISABLE,
+
+#if defined (CONFIG_FB_S3C_BPP_8)
+	.wincon0 =  S3C_WINCONx_BYTSWP_ENABLE | S3C_WINCONx_BURSTLEN_4WORD | S3C_WINCONx_BPPMODE_F_8BPP_PAL,
+	.wincon1 =  S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_4WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1,
+	.bpp = S3CFB_PIXEL_BPP_8,
+	.bytes_per_pixel = 1,
+	.wpalcon = S3C_WPALCON_W0PAL_16BIT,
+
+#elif defined (CONFIG_FB_S3C_BPP_16)
+	.wincon0 =  S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_BUFSEL_1 | S3C_WINCONx_BUFAUTOEN_DISABLE | \
+			S3C_WINCONx_BITSWP_DISABLE | S3C_WINCONx_BYTSWP_DISABLE | S3C_WINCONx_HAWSWP_ENABLE | \
+			S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_ENWIN_F_DISABLE,
+
+	.wincon1 =  S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_BUFSEL_0 | S3C_WINCONx_BUFAUTOEN_DISABLE | \
+			S3C_WINCONx_BITSWP_DISABLE | S3C_WINCONx_BYTSWP_DISABLE | S3C_WINCONx_HAWSWP_ENABLE | \
+			S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_BPPMODE_F_16BPP_565 | \
+			S3C_WINCONx_ALPHA_SEL_1 | S3C_WINCONx_ENWIN_F_DISABLE,
+
+	.wincon2 = S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_BITSWP_DISABLE | S3C_WINCONx_BYTSWP_DISABLE | \
+			S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_4WORD | S3C_WINCONx_BURSTLEN_16WORD | \
+			S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_ALPHA_SEL_1 | S3C_WINCONx_ENWIN_F_DISABLE,
+
+	.wincon3 = S3C_WINCONx_BITSWP_DISABLE | S3C_WINCONx_BYTSWP_DISABLE | S3C_WINCONx_HAWSWP_ENABLE | \
+			S3C_WINCONx_BURSTLEN_4WORD | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BLD_PIX_PLANE | \
+			S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_ALPHA_SEL_1 | S3C_WINCONx_ENWIN_F_DISABLE,
+
+	.wincon4 = S3C_WINCONx_BITSWP_DISABLE | S3C_WINCONx_BYTSWP_DISABLE | S3C_WINCONx_HAWSWP_ENABLE | \
+			S3C_WINCONx_BURSTLEN_4WORD | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BLD_PIX_PLANE |
+			S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_ALPHA_SEL_1 | S3C_WINCONx_ENWIN_F_DISABLE,
+
+	.bpp = S3CFB_PIXEL_BPP_16,
+	.bytes_per_pixel = 2,
+	.wpalcon = S3C_WPALCON_W0PAL_16BIT,
+
+#elif defined (CONFIG_FB_S3C_BPP_24)
+	.wincon0 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888,
+	.wincon1 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1,
+	.wincon2 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1,
+	.wincon3 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1,
+	.wincon4 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1,
+	.bpp = S3CFB_PIXEL_BPP_24,
+	.bytes_per_pixel = 4,
+	.wpalcon = S3C_WPALCON_W0PAL_24BIT,
+#elif defined (CONFIG_FB_S3C_BPP_28)
+	.wincon0 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888,
+	.wincon1 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_28BPP_A888 | S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_1,
+	.wincon2 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_28BPP_A888 | S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_1,
+	.wincon3 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_28BPP_A888 | S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_1,
+	.wincon4 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_28BPP_A888 | S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_1,
+	.bpp = S3CFB_PIXEL_BPP_28,
+	.bytes_per_pixel = 4,
+	.wpalcon = S3C_WPALCON_W0PAL_24BIT,
+#endif
+
+	.vidosd1c = S3C_VIDOSDxC_ALPHA1_B(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_G(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_R(S3CFB_MAX_ALPHA_LEVEL),
+	.vidosd2c = S3C_VIDOSDxC_ALPHA1_B(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_G(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_R(S3CFB_MAX_ALPHA_LEVEL),
+	.vidosd3c = S3C_VIDOSDxC_ALPHA1_B(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_G(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_R(S3CFB_MAX_ALPHA_LEVEL),
+	.vidosd4c = S3C_VIDOSDxC_ALPHA1_B(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_G(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_R(S3CFB_MAX_ALPHA_LEVEL),
+
+	.vidintcon0 = S3C_VIDINTCON0_FRAMESEL0_VSYNC | S3C_VIDINTCON0_FRAMESEL1_NONE | S3C_VIDINTCON0_INTFRMEN_DISABLE | \
+			S3C_VIDINTCON0_FIFOSEL_WIN0 | S3C_VIDINTCON0_FIFOLEVEL_25 | S3C_VIDINTCON0_INTFIFOEN_DISABLE | S3C_VIDINTCON0_INTEN_ENABLE,
+	.vidintcon1 = 0,
+
+	.xoffset = 0,
+	.yoffset = 0,
+
+	.w1keycon0 = S3C_WxKEYCON0_KEYBLEN_DISABLE | S3C_WxKEYCON0_KEYEN_F_DISABLE | S3C_WxKEYCON0_DIRCON_MATCH_FG_IMAGE | S3C_WxKEYCON0_COMPKEY(0x0),
+	.w1keycon1 = S3C_WxKEYCON1_COLVAL(0xffffff),
+	.w2keycon0 = S3C_WxKEYCON0_KEYBLEN_DISABLE | S3C_WxKEYCON0_KEYEN_F_DISABLE | S3C_WxKEYCON0_DIRCON_MATCH_FG_IMAGE | S3C_WxKEYCON0_COMPKEY(0x0),
+	.w2keycon1 = S3C_WxKEYCON1_COLVAL(0xffffff),
+	.w3keycon0 = S3C_WxKEYCON0_KEYBLEN_DISABLE | S3C_WxKEYCON0_KEYEN_F_DISABLE | S3C_WxKEYCON0_DIRCON_MATCH_FG_IMAGE | S3C_WxKEYCON0_COMPKEY(0x0),
+	.w3keycon1 = S3C_WxKEYCON1_COLVAL(0xffffff),
+	.w4keycon0 = S3C_WxKEYCON0_KEYBLEN_DISABLE | S3C_WxKEYCON0_KEYEN_F_DISABLE | S3C_WxKEYCON0_DIRCON_MATCH_FG_IMAGE | S3C_WxKEYCON0_COMPKEY(0x0),
+	.w4keycon1 = S3C_WxKEYCON1_COLVAL(0xffffff),
+
+	.sync = 0,
+	.cmap_static = 1,
+
+	.vs_offset = S3CFB_DEFAULT_DISPLAY_OFFSET,
+	.brightness = S3CFB_DEFAULT_BRIGHTNESS,
+	.backlight_level = S3CFB_DEFAULT_BACKLIGHT_LEVEL,
+	.backlight_power = 1,
+	.lcd_power = 1,
+};
+
+#if  defined(CONFIG_S3C6410_PWM)
+void s3cfb_set_brightness(int val)
+{
+	int channel = 1;	/* must use channel-1 */
+	int usec = 0;		/* don't care value */
+	unsigned long tcnt = 1000;
+	unsigned long tcmp = 0;
+
+	if (val < 0)
+		val = 0;
+
+	if (val > S3CFB_MAX_BRIGHTNESS)
+		val = S3CFB_MAX_BRIGHTNESS;
+
+	s3cfb_fimd.brightness = val;
+	tcmp = val * 5;
+
+	s3c6410_timer_setup (channel, usec, tcnt, tcmp);
+}
+#endif
+
+#if defined(CONFIG_FB_S3C_DOUBLE_BUFFERING)
+
+static void s3cfb_change_buff(int req_win, int req_fb)
+{
+	switch (req_win) {
+	case 0:
+		if (req_fb == 0)
+			s3cfb_fimd.wincon0 &= ~S3C_WINCONx_BUFSEL_MASK;
+		else
+			s3cfb_fimd.wincon0 |= S3C_WINCONx_BUFSEL_1;
+
+		writel(s3cfb_fimd.wincon0 | S3C_WINCONx_ENWIN_F_ENABLE, S3C_WINCON0);
+		break;
+
+	case 1:
+		if (req_fb == 0)
+			s3cfb_fimd.wincon1 &= ~S3C_WINCONx_BUFSEL_MASK;
+		else
+			s3cfb_fimd.wincon1 |= S3C_WINCONx_BUFSEL_1;
+
+		writel(s3cfb_fimd.wincon1 | S3C_WINCONx_ENWIN_F_ENABLE, S3C_WINCON1);
+		break;
+
+	default:
+		break;
+	}
+}
+
+#endif
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+static int s3cfb_set_vs_registers(int vs_cmd)
+{
+	int page_width, offset;
+	int shift_value;
+
+	page_width = s3cfb_fimd.xres * s3cfb_fimd.bytes_per_pixel;
+	offset = (s3cfb_fimd.xres_virtual - s3cfb_fimd.xres) * s3cfb_fimd.bytes_per_pixel;
+
+	switch (vs_cmd){
+	case S3CFB_VS_SET:
+		/* size of buffer */
+		s3cfb_fimd.vidw00add2 = S3C_VIDWxxADD2_OFFSIZE_F(offset) | S3C_VIDWxxADD2_PAGEWIDTH_F(page_width);
+		writel(s3cfb_fimd.vidw00add2, S3C_VIDW00ADD2);
+		break;
+
+	case S3CFB_VS_MOVE_LEFT:
+		if (s3cfb_fimd.xoffset < s3cfb_fimd.vs_offset)
+			shift_value = s3cfb_fimd.xoffset;
+		else
+			shift_value = s3cfb_fimd.vs_offset;
+
+		s3cfb_fimd.xoffset -= shift_value;
+
+		/* For buffer start address */
+		s3cfb_fimd.vidw00add0b0 = s3cfb_fimd.vidw00add0b0 - (s3cfb_fimd.bytes_per_pixel * shift_value);
+		s3cfb_fimd.vidw00add0b1 = s3cfb_fimd.vidw00add0b1 - (s3cfb_fimd.bytes_per_pixel * shift_value);
+		break;
+
+	case S3CFB_VS_MOVE_RIGHT:
+		if ((s3cfb_fimd.vs_info.v_width - (s3cfb_fimd.xoffset + s3cfb_fimd.vs_info.width)) < (s3cfb_fimd.vs_offset))
+			shift_value = s3cfb_fimd.vs_info.v_width - (s3cfb_fimd.xoffset + s3cfb_fimd.vs_info.width);
+		else
+			shift_value = s3cfb_fimd.vs_offset;
+
+		s3cfb_fimd.xoffset += shift_value;
+
+		/* For buffer start address */
+		s3cfb_fimd.vidw00add0b0 = s3cfb_fimd.vidw00add0b0 + (s3cfb_fimd.bytes_per_pixel * shift_value);
+		s3cfb_fimd.vidw00add0b1 = s3cfb_fimd.vidw00add0b1 + (s3cfb_fimd.bytes_per_pixel * shift_value);
+		break;
+
+	case S3CFB_VS_MOVE_UP:
+		if (s3cfb_fimd.yoffset < s3cfb_fimd.vs_offset)
+			shift_value = s3cfb_fimd.yoffset;
+		else
+			shift_value = s3cfb_fimd.vs_offset;
+
+		s3cfb_fimd.yoffset -= shift_value;
+
+		/* For buffer start address */
+		s3cfb_fimd.vidw00add0b0 = s3cfb_fimd.vidw00add0b0 - (s3cfb_fimd.xres_virtual * s3cfb_fimd.bytes_per_pixel * shift_value);
+		s3cfb_fimd.vidw00add0b1 = s3cfb_fimd.vidw00add0b1 - (s3cfb_fimd.xres_virtual * s3cfb_fimd.bytes_per_pixel * shift_value);
+		break;
+
+	case S3CFB_VS_MOVE_DOWN:
+		if ((s3cfb_fimd.vs_info.v_height - (s3cfb_fimd.yoffset + s3cfb_fimd.vs_info.height)) < (s3cfb_fimd.vs_offset))
+			shift_value = s3cfb_fimd.vs_info.v_height - (s3cfb_fimd.yoffset + s3cfb_fimd.vs_info.height);
+		else
+			shift_value = s3cfb_fimd.vs_offset;
+
+		s3cfb_fimd.yoffset += shift_value;
+
+		/* For buffer start address */
+		s3cfb_fimd.vidw00add0b0 = s3cfb_fimd.vidw00add0b0 + (s3cfb_fimd.xres_virtual * s3cfb_fimd.bytes_per_pixel * shift_value);
+		s3cfb_fimd.vidw00add0b1 = s3cfb_fimd.vidw00add0b1 + (s3cfb_fimd.xres_virtual * s3cfb_fimd.bytes_per_pixel * shift_value);
+		break;
+
+	default:
+		return -EINVAL;
+	}
+
+	/* End address */
+	s3cfb_fimd.vidw00add1b0 = S3C_VIDWxxADD1_VBASEL_F(s3cfb_fimd.vidw00add0b0 + (page_width + offset) * (s3cfb_fimd.yres));
+	s3cfb_fimd.vidw00add1b1 = S3C_VIDWxxADD1_VBASEL_F(s3cfb_fimd.vidw00add0b1 + (page_width + offset) * (s3cfb_fimd.yres));
+
+	writel(s3cfb_fimd.vidw00add0b0, S3C_VIDW00ADD0B0);
+	writel(s3cfb_fimd.vidw00add0b1, S3C_VIDW00ADD0B1);
+	writel(s3cfb_fimd.vidw00add1b0, S3C_VIDW00ADD1B0);
+	writel(s3cfb_fimd.vidw00add1b1, S3C_VIDW00ADD1B1);
+
+	return 0;
+}
+#endif
+
+void s3cfb_write_palette(s3cfb_info_t *fbi)
+{
+	unsigned int i;
+	unsigned long ent;
+	unsigned int win_num = fbi->win_id;
+
+	fbi->palette_ready = 0;
+
+	writel((s3cfb_fimd.wpalcon | S3C_WPALCON_PALUPDATEEN), S3C_WPALCON);
+
+	for (i = 0; i < 256; i++) {
+		if ((ent = fbi->palette_buffer[i]) == S3CFB_PALETTE_BUFF_CLEAR)
+			continue;
+
+		writel(ent, S3C_TFTPAL0(i) + 0x400 * win_num);
+
+		/* it seems the only way to know exactly
+		 * if the palette wrote ok, is to check
+		 * to see if the value verifies ok
+		 */
+		if (readl(S3C_TFTPAL0(i) + 0x400 * win_num) == ent) {
+			fbi->palette_buffer[i] = S3CFB_PALETTE_BUFF_CLEAR;
+		} else {
+			fbi->palette_ready = 1;   /* retry */
+			printk("Retry writing into the palette\n");
+		}
+	}
+
+	writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+}
+
+irqreturn_t s3cfb_irq(int irqno, void *param)
+{
+	unsigned long buffer_size = 0;
+	unsigned int i;
+	unsigned int buffer_page_offset, buffer_page_width;
+	unsigned int fb_start_address, fb_end_address;
+
+	if (s3cfb_info[s3cfb_fimd.palette_win].palette_ready)
+		s3cfb_write_palette(&s3cfb_info[s3cfb_fimd.palette_win]);
+
+	for (i = 0; i < CONFIG_FB_S3C_NUM; i++) {
+		if (s3cfb_info[i].next_fb_info_change_req) {
+			/* fb variable setting */
+			s3cfb_info[i].fb.fix.smem_start = s3cfb_info[i].next_fb_info.phy_start_addr;
+
+			s3cfb_info[i].fb.fix.line_length = s3cfb_info[i].next_fb_info.xres_virtual *
+								s3cfb_fimd.bytes_per_pixel;
+
+			s3cfb_info[i].fb.fix.smem_len = s3cfb_info[i].next_fb_info.xres_virtual *
+								s3cfb_info[i].next_fb_info.yres_virtual *
+								s3cfb_fimd.bytes_per_pixel;
+
+			s3cfb_info[i].fb.var.xres = s3cfb_info[i].next_fb_info.xres;
+			s3cfb_info[i].fb.var.yres = s3cfb_info[i].next_fb_info.yres;
+			s3cfb_info[i].fb.var.xres_virtual = s3cfb_info[i].next_fb_info.xres_virtual;
+			s3cfb_info[i].fb.var.yres_virtual= s3cfb_info[i].next_fb_info.yres_virtual;
+			s3cfb_info[i].fb.var.xoffset = s3cfb_info[i].next_fb_info.xoffset;
+			s3cfb_info[i].fb.var.yoffset = s3cfb_info[i].next_fb_info.yoffset;
+
+			s3cfb_info[i].lcd_offset_x= s3cfb_info[i].next_fb_info.lcd_offset_x;
+			s3cfb_info[i].lcd_offset_y= s3cfb_info[i].next_fb_info.lcd_offset_y;
+
+
+			/* fb start / end address setting */
+			fb_start_address = s3cfb_info[i].next_fb_info.phy_start_addr +
+						s3cfb_info[i].fb.fix.line_length * s3cfb_info[i].next_fb_info.yoffset +
+						s3cfb_info[i].next_fb_info.xoffset * s3cfb_fimd.bytes_per_pixel;
+
+			fb_end_address = fb_start_address + s3cfb_info[i].fb.fix.line_length *
+						s3cfb_info[i].next_fb_info.yres;
+
+			writel(fb_start_address, S3C_VIDW00ADD0B0 + 0x8 * i);
+			writel(S3C_VIDWxxADD1_VBASEL_F(fb_end_address), S3C_VIDW00ADD1B0 + 0x8 * i);
+
+
+			/* fb virtual / visible size setting */
+			buffer_page_width = s3cfb_info[i].next_fb_info.xres * s3cfb_fimd.bytes_per_pixel;
+
+			buffer_page_offset = (s3cfb_info[i].next_fb_info.xres_virtual -
+						s3cfb_info[i].next_fb_info.xres) * s3cfb_fimd.bytes_per_pixel;
+
+			buffer_size = S3C_VIDWxxADD2_OFFSIZE_F(buffer_page_offset) |
+					(S3C_VIDWxxADD2_PAGEWIDTH_F(buffer_page_width));
+
+			writel(buffer_size, S3C_VIDW00ADD2 + 0x04 * i);
+
+			/* LCD position setting */
+			writel(S3C_VIDOSDxA_OSD_LTX_F(s3cfb_info[i].next_fb_info.lcd_offset_x) |
+				S3C_VIDOSDxA_OSD_LTY_F(s3cfb_info[i].next_fb_info.lcd_offset_y), S3C_VIDOSD0A+(0x10 * i));
+
+			writel(S3C_VIDOSDxB_OSD_RBX_F(s3cfb_info[i].next_fb_info.lcd_offset_x - 1 + s3cfb_info[i].next_fb_info.xres) |
+				S3C_VIDOSDxB_OSD_RBY_F(s3cfb_info[i].next_fb_info.lcd_offset_y - 1 + s3cfb_info[i].next_fb_info.yres),
+				S3C_VIDOSD0B + (0x10 * i));
+
+
+			/* fb size setting */
+			if (i == 0)
+				writel(S3C_VIDOSD0C_OSDSIZE(s3cfb_info[i].next_fb_info.xres * s3cfb_info[i].next_fb_info.yres), S3C_VIDOSD0C);
+			else if (i == 1)
+				writel(S3C_VIDOSD0C_OSDSIZE(s3cfb_info[i].next_fb_info.xres * s3cfb_info[i].next_fb_info.yres), S3C_VIDOSD1D);
+			else if (i == 2)
+				writel(S3C_VIDOSD0C_OSDSIZE(s3cfb_info[i].next_fb_info.xres * s3cfb_info[i].next_fb_info.yres), S3C_VIDOSD2D);
+
+			s3cfb_info[i].next_fb_info_change_req = 0;
+		}
+	}
+
+	/* for clearing the interrupt source */
+	writel(readl(S3C_VIDINTCON1), S3C_VIDINTCON1);
+
+	s3cfb_fimd.vsync_info.count++;
+	wake_up_interruptible(&s3cfb_fimd.vsync_info.wait_queue);
+
+	return IRQ_HANDLED;
+}
+
+static void s3cfb_check_line_count(void)
+{
+	int timeout = 30 * 5300;
+	unsigned int cfg;
+	int i;
+
+	i = 0;
+	do {
+		if (!(readl(S3C_VIDCON1) & 0x7ff0000))
+			break;
+		i++;
+	} while (i < timeout);
+
+	if (i == timeout) {
+		printk(KERN_WARNING "line count mismatch\n");
+
+		cfg = readl(S3C_VIDCON0);
+		cfg |= (S3C_VIDCON0_ENVID_F_ENABLE | S3C_VIDCON0_ENVID_ENABLE);
+		writel(cfg, S3C_VIDCON0);
+	}	
+}
+
+static void s3cfb_enable_local0(int in_yuv)
+{
+	unsigned int value;
+
+	s3cfb_fimd.wincon0 = readl(S3C_WINCON0);
+	s3cfb_fimd.wincon0 &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+	writel(s3cfb_fimd.wincon0, S3C_WINCON0);	
+
+	s3cfb_fimd.wincon0 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK);
+	value = S3C_WINCONx_ENLOCAL | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	if (in_yuv)
+		value |= S3C_WINCONx_INRGB_YUV;
+
+	writel(s3cfb_fimd.wincon0 | value, S3C_WINCON0);
+}
+
+static void s3cfb_enable_local1(int in_yuv, int sel)
+{
+	unsigned int value;
+
+	s3cfb_fimd.wincon1 = readl(S3C_WINCON1);
+	s3cfb_fimd.wincon1 &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+	writel(s3cfb_fimd.wincon1, S3C_WINCON1);
+
+	s3cfb_fimd.wincon1 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK);
+	s3cfb_fimd.wincon1 &= ~(S3C_WINCON1_LOCALSEL_MASK);
+	value = sel | S3C_WINCONx_ENLOCAL | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	if (in_yuv)
+		value |= S3C_WINCONx_INRGB_YUV;
+
+	writel(s3cfb_fimd.wincon1 | value, S3C_WINCON1);
+}
+
+static void s3cfb_enable_local2(int in_yuv, int sel)
+{
+	unsigned int value;
+
+	s3cfb_fimd.wincon2 = readl(S3C_WINCON2);
+	s3cfb_fimd.wincon2 &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+	s3cfb_fimd.wincon2 &= ~S3C_WINCON2_LOCALSEL_MASK;
+	writel(s3cfb_fimd.wincon2, S3C_WINCON2);
+
+	s3cfb_fimd.wincon2 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK);
+	value = sel | S3C_WINCONx_ENLOCAL | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	if (in_yuv)
+		value |= S3C_WINCONx_INRGB_YUV;
+
+	writel(s3cfb_fimd.wincon2 | value, S3C_WINCON2);
+}
+
+static void s3cfb_enable_dma0(void)
+{
+	u32 value;
+
+	s3cfb_fimd.wincon0 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK);
+	value = S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	writel(s3cfb_fimd.wincon0 | value, S3C_WINCON0);
+}
+
+static void s3cfb_enable_dma1(void)
+{
+	u32 value;
+
+	s3cfb_fimd.wincon1 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK);
+	value = S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	writel(s3cfb_fimd.wincon1 | value, S3C_WINCON1);
+}
+
+static void s3cfb_enable_dma2(void)
+{
+	u32 value;
+
+	s3cfb_fimd.wincon2 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK);
+	value = S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	writel(s3cfb_fimd.wincon2 | value, S3C_WINCON2);
+}
+
+void s3cfb_enable_local(int win, int in_yuv, int sel)
+{
+	s3cfb_check_line_count();
+
+	switch (win) {
+	case 0:
+		s3cfb_enable_local0(in_yuv);
+		break;
+
+	case 1:
+		s3cfb_enable_local1(in_yuv, sel);
+		break;
+
+	case 2:
+		s3cfb_enable_local2(in_yuv, sel);
+		break;
+
+	default:
+		break;
+	}
+}
+
+void s3cfb_enable_dma(int win)
+{
+	s3cfb_stop_lcd();
+	
+	switch (win) {
+	case 0:
+		s3cfb_enable_dma0();
+		break;
+
+	case 1:
+		s3cfb_enable_dma1();
+		break;
+
+	case 2:
+		s3cfb_enable_dma2();
+		break;
+
+	default:
+		break;
+	}
+
+	s3cfb_start_lcd();
+}
+
+EXPORT_SYMBOL(s3cfb_enable_local);
+EXPORT_SYMBOL(s3cfb_enable_dma);
+
+int s3cfb_init_registers(s3cfb_info_t *fbi)
+{
+	struct clk *lcd_clock;
+	struct fb_var_screeninfo *var = &fbi->fb.var;
+	unsigned long flags = 0, page_width = 0, offset = 0;
+	unsigned long video_phy_temp_f1 = fbi->screen_dma_f1;
+	unsigned long video_phy_temp_f2 = fbi->screen_dma_f2;
+	int win_num =  fbi->win_id;
+
+	/* Initialise LCD with values from hare */
+	local_irq_save(flags);
+
+	page_width = var->xres * s3cfb_fimd.bytes_per_pixel;
+	offset = (var->xres_virtual - var->xres) * s3cfb_fimd.bytes_per_pixel;
+
+	if (win_num == 0) {
+		s3cfb_fimd.vidcon0 = s3cfb_fimd.vidcon0 & ~(S3C_VIDCON0_ENVID_ENABLE | S3C_VIDCON0_ENVID_F_ENABLE);
+		writel(s3cfb_fimd.vidcon0, S3C_VIDCON0);
+
+		lcd_clock = clk_get(NULL, "lcd");
+		s3cfb_fimd.vidcon0 |= S3C_VIDCON0_CLKVAL_F((int) (s3cfb_fimd.pixclock));
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+		offset = 0;
+		s3cfb_fimd.vidw00add0b0 = video_phy_temp_f1;
+		s3cfb_fimd.vidw00add0b1 = video_phy_temp_f2;
+		s3cfb_fimd.vidw00add1b0 = S3C_VIDWxxADD1_VBASEL_F((unsigned long) video_phy_temp_f1 + (page_width + offset) * (var->yres));
+		s3cfb_fimd.vidw00add1b1 = S3C_VIDWxxADD1_VBASEL_F((unsigned long) video_phy_temp_f2 + (page_width + offset) * (var->yres));
+#endif
+ 	}
+
+	writel(video_phy_temp_f1, S3C_VIDW00ADD0B0 + (0x08 * win_num));
+	writel(S3C_VIDWxxADD1_VBASEL_F((unsigned long) video_phy_temp_f1 + (page_width + offset) * (var->yres)), S3C_VIDW00ADD1B0 + (0x08 * win_num));
+	writel(S3C_VIDWxxADD2_OFFSIZE_F(offset) | (S3C_VIDWxxADD2_PAGEWIDTH_F(page_width)), S3C_VIDW00ADD2 + (0x04 * win_num));
+
+	if (win_num < 2) {
+		writel(video_phy_temp_f2, S3C_VIDW00ADD0B1 + (0x08 * win_num));
+		writel(S3C_VIDWxxADD1_VBASEL_F((unsigned long) video_phy_temp_f2 + (page_width + offset) * (var->yres)), S3C_VIDW00ADD1B1 + (0x08 * win_num));
+	}
+
+	switch (win_num) {
+	case 0:
+		writel(s3cfb_fimd.wincon0, S3C_WINCON0);
+		writel(s3cfb_fimd.vidcon0, S3C_VIDCON0);
+		writel(s3cfb_fimd.vidcon1, S3C_VIDCON1);
+		writel(s3cfb_fimd.vidtcon0, S3C_VIDTCON0);
+		writel(s3cfb_fimd.vidtcon1, S3C_VIDTCON1);
+		writel(s3cfb_fimd.vidtcon2, S3C_VIDTCON2);
+		writel(s3cfb_fimd.dithmode, S3C_DITHMODE);
+		writel(s3cfb_fimd.vidintcon0, S3C_VIDINTCON0);
+		writel(s3cfb_fimd.vidintcon1, S3C_VIDINTCON1);
+		writel(s3cfb_fimd.vidosd0a, S3C_VIDOSD0A);
+		writel(s3cfb_fimd.vidosd0b, S3C_VIDOSD0B);
+		writel(s3cfb_fimd.vidosd0c, S3C_VIDOSD0C);
+		writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+
+		s3cfb_onoff_win(fbi, ON);
+		break;
+
+	case 1:
+		writel(s3cfb_fimd.wincon1, S3C_WINCON1);
+		writel(s3cfb_fimd.vidosd1a, S3C_VIDOSD1A);
+		writel(s3cfb_fimd.vidosd1b, S3C_VIDOSD1B);
+		writel(s3cfb_fimd.vidosd1c, S3C_VIDOSD1C);
+		writel(s3cfb_fimd.vidosd1d, S3C_VIDOSD1D);
+		writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+
+		s3cfb_onoff_win(fbi, OFF);
+		break;
+
+	case 2:
+		writel(s3cfb_fimd.wincon2, S3C_WINCON2);
+		writel(s3cfb_fimd.vidosd2a, S3C_VIDOSD2A);
+		writel(s3cfb_fimd.vidosd2b, S3C_VIDOSD2B);
+		writel(s3cfb_fimd.vidosd2c, S3C_VIDOSD2C);
+		writel(s3cfb_fimd.vidosd2d, S3C_VIDOSD2D);
+		writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+
+		s3cfb_onoff_win(fbi, OFF);
+		break;
+
+	case 3:
+		writel(s3cfb_fimd.wincon3, S3C_WINCON3);
+		writel(s3cfb_fimd.vidosd3a, S3C_VIDOSD3A);
+		writel(s3cfb_fimd.vidosd3b, S3C_VIDOSD3B);
+		writel(s3cfb_fimd.vidosd3c, S3C_VIDOSD3C);
+		writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+
+		s3cfb_onoff_win(fbi, OFF);
+		break;
+
+	case 4:
+		writel(s3cfb_fimd.wincon4, S3C_WINCON4);
+		writel(s3cfb_fimd.vidosd4a, S3C_VIDOSD4A);
+		writel(s3cfb_fimd.vidosd4b, S3C_VIDOSD4B);
+		writel(s3cfb_fimd.vidosd4c, S3C_VIDOSD4C);
+		writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+
+		s3cfb_onoff_win(fbi, OFF);
+		break;
+	}
+
+	local_irq_restore(flags);
+
+	return 0;
+ }
+
+void s3cfb_activate_var(s3cfb_info_t *fbi, struct fb_var_screeninfo *var)
+{
+	DPRINTK("%s: var->bpp = %d\n", __FUNCTION__, var->bits_per_pixel);
+
+	switch (var->bits_per_pixel) {
+	case 8:
+		s3cfb_fimd.wincon0 = S3C_WINCONx_BYTSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_8BPP_PAL;
+		s3cfb_fimd.wincon1 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon2 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon3 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon4 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.bpp = S3CFB_PIXEL_BPP_8;
+		s3cfb_fimd.bytes_per_pixel = 1;
+		s3cfb_fimd.wpalcon = S3C_WPALCON_W0PAL_16BIT;
+		break;
+
+	case 16:
+		s3cfb_fimd.wincon0 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565;
+		s3cfb_fimd.wincon1 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon2 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon3 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon4 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.bpp = S3CFB_PIXEL_BPP_16;
+		s3cfb_fimd.bytes_per_pixel = 2;
+		break;
+
+	case 24:
+		s3cfb_fimd.wincon0 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888;
+		s3cfb_fimd.wincon1 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon2 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon3 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon4 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+        	s3cfb_fimd.bpp = S3CFB_PIXEL_BPP_24;
+		s3cfb_fimd.bytes_per_pixel = 4;
+		break;
+
+	case 28:
+		s3cfb_fimd.wincon0 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888;
+		s3cfb_fimd.wincon1 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_28BPP_A888 | S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon2 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_28BPP_A888 | S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon3 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_28BPP_A888 | S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon4 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_28BPP_A888 | S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_1;
+        	s3cfb_fimd.bpp = S3CFB_PIXEL_BPP_28;
+		s3cfb_fimd.bytes_per_pixel = 4;
+		if((fbi->win_id == 0) && (fbi->fb.var.bits_per_pixel == 28) )
+			fbi->fb.var.bits_per_pixel = 24;
+		
+		break;
+
+	case 32:
+		s3cfb_fimd.bytes_per_pixel = 4;
+		break;
+	}
+
+	/* write new registers */
+
+/* FIXME: temporary fixing for pm by jsgood */
+#if 1
+	writel(s3cfb_fimd.wincon0, S3C_WINCON0);
+	writel(s3cfb_fimd.wincon1, S3C_WINCON1);
+	writel(s3cfb_fimd.wincon2, S3C_WINCON2);
+	writel(s3cfb_fimd.wincon3, S3C_WINCON3);
+	writel(s3cfb_fimd.wincon4, S3C_WINCON4);
+	writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+	writel(s3cfb_fimd.wincon0 | S3C_WINCONx_ENWIN_F_ENABLE, S3C_WINCON0);
+	writel(s3cfb_fimd.vidcon0 | S3C_VIDCON0_ENVID_ENABLE | S3C_VIDCON0_ENVID_F_ENABLE, S3C_VIDCON0);
+#else
+	writel(readl(S3C_WINCON0) | S3C_WINCONx_ENWIN_F_ENABLE, S3C_WINCON0);
+	writel(readl(S3C_VIDCON0) | S3C_VIDCON0_ENVID_ENABLE | S3C_VIDCON0_ENVID_F_ENABLE, S3C_VIDCON0);
+#endif
+}
+
+/* JJNAHM comment.
+ * We had some problems related to frame buffer address.
+ * We used 2 frame buffers (FB0 and FB1) and GTK used FB1.
+ * When GTK launched, GTK set FB0's address to FB1's address.
+ * (GTK calls s3c_fb_pan_display() and then it calls this s3c_fb_set_lcdaddr())
+ * Even though fbi->win_id is not 0, above original codes set ONLY FB0's address.
+ * So, I modified the codes like below.
+ * It works by fbi->win_id value.
+ * Below codes are not verified yet
+ * and there are nothing about Double buffering features
+ */
+void s3cfb_set_fb_addr(s3cfb_info_t *fbi)
+{
+	unsigned long video_phy_temp_f1 = fbi->screen_dma_f1;
+	unsigned long start_address, end_address;
+	unsigned int start;
+
+	start = fbi->fb.fix.line_length * fbi->fb.var.yoffset;
+
+	/* for buffer start address and end address */
+	start_address = video_phy_temp_f1 + start;
+	end_address = start_address + (fbi->fb.fix.line_length * fbi->fb.var.yres);
+
+	switch (fbi->win_id)
+	{
+	case 0:
+		s3cfb_fimd.vidw00add0b0 = start_address;
+		s3cfb_fimd.vidw00add1b0 = end_address;
+		__raw_writel(s3cfb_fimd.vidw00add0b0, S3C_VIDW00ADD0B0);
+		__raw_writel(s3cfb_fimd.vidw00add1b0, S3C_VIDW00ADD1B0);
+        	break;
+
+	case 1:
+		s3cfb_fimd.vidw01add0b0 = start_address;
+		s3cfb_fimd.vidw01add1b0 = end_address;
+		__raw_writel(s3cfb_fimd.vidw01add0b0, S3C_VIDW01ADD0B0);
+		__raw_writel(s3cfb_fimd.vidw01add1b0, S3C_VIDW01ADD1B0);
+		break;
+
+	case 2:
+		s3cfb_fimd.vidw02add0 = start_address;
+		s3cfb_fimd.vidw02add1 = end_address;
+		__raw_writel(s3cfb_fimd.vidw02add0, S3C_VIDW02ADD0);
+		__raw_writel(s3cfb_fimd.vidw02add1, S3C_VIDW02ADD1);
+	        break;
+
+	case 3:
+		s3cfb_fimd.vidw03add0 = start_address;
+		s3cfb_fimd.vidw03add1 = end_address;
+		__raw_writel(s3cfb_fimd.vidw03add0, S3C_VIDW03ADD0);
+		__raw_writel(s3cfb_fimd.vidw03add1, S3C_VIDW03ADD1);
+		break;
+
+	case 4:
+		s3cfb_fimd.vidw04add0 = start_address;
+		s3cfb_fimd.vidw04add1 = end_address;
+		__raw_writel(s3cfb_fimd.vidw04add0, S3C_VIDW04ADD0);
+		__raw_writel(s3cfb_fimd.vidw04add1, S3C_VIDW04ADD1);
+		break;
+	}
+}
+
+static int s3cfb_set_alpha_level(s3cfb_info_t *fbi, unsigned int level, unsigned int alpha_index)
+{
+	unsigned long alpha_val;
+	int win_num = fbi->win_id;
+
+	if (win_num == 0) {
+		printk("WIN0 do not support alpha blending.\n");
+		return -1;
+	}
+
+	alpha_val = readl(S3C_VIDOSD0C+(0x10 * win_num));
+
+	if (alpha_index == 0) {
+		alpha_val &= ~(S3C_VIDOSDxC_ALPHA0_B(0xf) | S3C_VIDOSDxC_ALPHA0_G(0xf) | S3C_VIDOSDxC_ALPHA0_R(0xf));
+		alpha_val |= S3C_VIDOSDxC_ALPHA0_B(level) | S3C_VIDOSDxC_ALPHA0_G(level) | S3C_VIDOSDxC_ALPHA0_R(level);
+	} else {
+		alpha_val &= ~(S3C_VIDOSDxC_ALPHA1_B(0xf) | S3C_VIDOSDxC_ALPHA1_G(0xf) | S3C_VIDOSDxC_ALPHA1_R(0xf));
+		alpha_val |= S3C_VIDOSDxC_ALPHA1_B(level) | S3C_VIDOSDxC_ALPHA1_G(level) | S3C_VIDOSDxC_ALPHA1_R(level);
+	}
+
+	writel(alpha_val, S3C_VIDOSD0C + (0x10 * win_num));
+
+	return 0;
+}
+
+int s3cfb_set_alpha_mode(s3cfb_info_t *fbi, int mode)
+{
+	unsigned long alpha_mode;
+	int win_num = fbi->win_id;
+
+	if (win_num == 0) {
+		printk("WIN0 do not support alpha blending.\n");
+		return -1;
+	}
+
+	alpha_mode = readl(S3C_WINCON0 + (0x04 * win_num));
+	alpha_mode &= ~(S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_1);
+
+	switch (mode) {
+	case S3CFB_ALPHA_MODE_PLANE: /* Plane Blending */
+		writel(alpha_mode | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1, S3C_WINCON0 + (0x04 * win_num));
+		break;
+
+	case S3CFB_ALPHA_MODE_PIXEL: /* Pixel Blending & chroma(color) key */
+		writel(alpha_mode | S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_0, S3C_WINCON0 + (0x04 * win_num));
+		break;
+	}
+
+	return 0;
+}
+
+int s3cfb_set_win_position(s3cfb_info_t *fbi, int left_x, int top_y, int width, int height)
+{
+	struct fb_var_screeninfo *var= &fbi->fb.var;
+	int win_num = fbi->win_id;
+
+	writel(S3C_VIDOSDxA_OSD_LTX_F(left_x) | S3C_VIDOSDxA_OSD_LTY_F(top_y), S3C_VIDOSD0A + (0x10 * win_num));
+	writel(S3C_VIDOSDxB_OSD_RBX_F(width - 1 + left_x) | S3C_VIDOSDxB_OSD_RBY_F(height - 1 + top_y), S3C_VIDOSD0B + (0x10 * win_num));
+
+	var->xoffset = left_x;
+	var->yoffset = top_y;
+
+	return 0;
+}
+
+int s3cfb_set_win_size(s3cfb_info_t *fbi, int width, int height)
+{
+	struct fb_var_screeninfo *var= &fbi->fb.var;
+	int win_num = fbi->win_id;
+
+	if (win_num == 1)
+		writel(S3C_VIDOSD0C_OSDSIZE(width * height), S3C_VIDOSD1D);
+
+	else if (win_num == 2)
+		writel(S3C_VIDOSD0C_OSDSIZE(width * height), S3C_VIDOSD2D);
+
+	var->xres = width;
+	var->yres = height;
+	var->xres_virtual = width;
+	var->yres_virtual = height;
+
+	return 0;
+}
+
+int s3cfb_set_fb_size(s3cfb_info_t *fbi)
+{
+	struct fb_var_screeninfo *var= &fbi->fb.var;
+	int win_num = fbi->win_id;
+	unsigned long offset = 0;
+	unsigned long page_width = 0;
+	unsigned long fb_size = 0;
+
+	page_width = var->xres * s3cfb_fimd.bytes_per_pixel;
+	offset = (var->xres_virtual - var->xres) * s3cfb_fimd.bytes_per_pixel;
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+	if (win_num == 0)
+		offset=0;
+#endif
+
+	writel(S3C_VIDWxxADD1_VBASEL_F((unsigned long) readl(S3C_VIDW00ADD0B0 + (0x08 * win_num)) + (page_width + offset) * (var->yres)), S3C_VIDW00ADD1B0 + (0x08 * win_num));
+
+	if (win_num == 1)
+		writel(S3C_VIDWxxADD1_VBASEL_F((unsigned long) readl(S3C_VIDW00ADD0B1 + (0x08 * win_num)) + (page_width + offset) * (var->yres)), S3C_VIDW00ADD1B1 + (0x08 * win_num));
+
+	/* size of frame buffer */
+	fb_size = S3C_VIDWxxADD2_OFFSIZE_F(offset) | (S3C_VIDWxxADD2_PAGEWIDTH_F(page_width));
+
+	writel(fb_size, S3C_VIDW00ADD2 + (0x04 * win_num));
+
+	return 0;
+}
+
+void s3cfb_set_output_path(int out)
+{
+	unsigned int tmp;
+
+	tmp = readl(S3C_VIDCON0);
+
+	/* if output mode is LCD mode, Scan mode always should be progressive mode */
+	if (out == S3CFB_OUTPUT_TV)
+		tmp &= ~S3C_VIDCON0_INTERLACE_F_MASK;
+
+	tmp &= ~S3C_VIDCON0_VIDOUT_MASK;
+	tmp |= S3C_VIDCON0_VIDOUT(out);
+
+	writel(tmp, S3C_VIDCON0);
+}
+
+EXPORT_SYMBOL(s3cfb_set_output_path);
+
+void s3cfb_enable_rgbport(int on)
+{
+	if (on)
+		writel(S3C_VIDCON2_ORGYUV_CBCRY | S3C_VIDCON2_YUVORD_CRCB, S3C_VIDCON2);
+	else
+		writel(0, S3C_VIDCON2);
+}
+
+EXPORT_SYMBOL(s3cfb_enable_rgbport);
+
+int s3cfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
+{
+	s3cfb_info_t *fbi = container_of(info, s3cfb_info_t, fb);
+	s3cfb_win_info_t win_info;
+	s3cfb_color_key_info_t colkey_info;
+	s3cfb_color_val_info_t colval_info;
+	s3cfb_dma_info_t dma_info;
+	s3cfb_next_info_t next_fb_info;
+	struct fb_var_screeninfo *var= &fbi->fb.var;
+	unsigned int crt, alpha_level, alpha_mode;
+
+#if defined(CONFIG_S3C6410_PWM)
+	int brightness;
+#endif
+
+#if defined(CONFIG_FB_S3C_DOUBLE_BUFFERING)
+	unsigned int f_num_val;
+#endif
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+	s3cfb_vs_info_t vs_info;
+#endif
+
+	switch(cmd){
+	case S3CFB_GET_INFO:
+		dma_info.map_dma_f1 = fbi->map_dma_f1;
+		dma_info.map_dma_f2 = fbi->map_dma_f2;
+
+		if(copy_to_user((void *) arg, (const void *) &dma_info, sizeof(s3cfb_dma_info_t)))
+			return -EFAULT;
+		break;
+
+	case S3CFB_OSD_SET_INFO:
+		if (copy_from_user(&win_info, (s3cfb_win_info_t *) arg, sizeof(s3cfb_win_info_t)))
+			return -EFAULT;
+
+		s3cfb_init_win(fbi, win_info.bpp, win_info.left_x, win_info.top_y, win_info.width, win_info.height, OFF);
+		break;
+
+	case S3CFB_OSD_START:
+		s3cfb_onoff_win(fbi, ON);
+		break;
+
+	case S3CFB_OSD_STOP:
+		s3cfb_onoff_win(fbi, OFF);
+		break;
+
+	case S3CFB_OSD_ALPHA_UP:
+		alpha_level = readl(S3C_VIDOSD0C + (0x10 * fbi->win_id)) & 0xf;
+
+		if (alpha_level < S3CFB_MAX_ALPHA_LEVEL)
+			alpha_level++;
+
+		s3cfb_set_alpha_level(fbi, alpha_level, 1);
+		break;
+
+	case S3CFB_OSD_ALPHA_DOWN:
+		alpha_level = readl(S3C_VIDOSD0C + (0x10 * fbi->win_id)) & 0xf;
+
+		if (alpha_level > 0)
+			alpha_level--;
+
+		s3cfb_set_alpha_level(fbi, alpha_level, 1);
+		break;
+
+	case S3CFB_OSD_ALPHA0_SET:
+		alpha_level = (unsigned int) arg;
+
+		if (alpha_level > S3CFB_MAX_ALPHA_LEVEL)
+			alpha_level = S3CFB_MAX_ALPHA_LEVEL;
+
+		s3cfb_set_alpha_level(fbi, alpha_level, 0);
+		break;
+
+	case S3CFB_OSD_ALPHA1_SET:
+		alpha_level = (unsigned int) arg;
+
+		if (alpha_level > S3CFB_MAX_ALPHA_LEVEL)
+			alpha_level = S3CFB_MAX_ALPHA_LEVEL;
+
+		s3cfb_set_alpha_level(fbi, alpha_level, 1);
+		break;
+
+	case S3CFB_OSD_ALPHA_MODE:
+		alpha_mode = (unsigned int) arg;
+		s3cfb_set_alpha_mode(fbi, alpha_mode);
+		break;
+
+	case S3CFB_OSD_MOVE_LEFT:
+		if (var->xoffset > 0)
+			var->xoffset--;
+
+		s3cfb_set_win_position(fbi, var->xoffset, var->yoffset, var->xres, var->yres);
+		break;
+
+	case S3CFB_OSD_MOVE_RIGHT:
+		if (var->xoffset < (s3cfb_fimd.width - var->xres))
+			var->xoffset++;
+
+		s3cfb_set_win_position(fbi, var->xoffset, var->yoffset, var->xres, var->yres);
+		break;
+
+	case S3CFB_OSD_MOVE_UP:
+		if (var->yoffset > 0)
+			var->yoffset--;
+
+		s3cfb_set_win_position(fbi, var->xoffset, var->yoffset, var->xres, var->yres);
+		break;
+
+	case S3CFB_OSD_MOVE_DOWN:
+		if (var->yoffset < (s3cfb_fimd.height - var->yres))
+			var->yoffset++;
+
+		s3cfb_set_win_position(fbi, var->xoffset, var->yoffset, var->xres, var->yres);
+		break;
+
+	case FBIO_WAITFORVSYNC:
+		if (get_user(crt, (unsigned int __user *)arg))
+			return -EFAULT;
+
+		return s3cfb_wait_for_vsync();
+
+	case S3CFB_COLOR_KEY_START:
+		s3cfb_onoff_color_key(fbi, ON);
+		break;
+
+	case S3CFB_COLOR_KEY_STOP:
+		s3cfb_onoff_color_key(fbi, OFF);
+		break;
+
+	case S3CFB_COLOR_KEY_ALPHA_START:
+		s3cfb_onoff_color_key_alpha(fbi, ON);
+		break;
+
+	case S3CFB_COLOR_KEY_ALPHA_STOP:
+		s3cfb_onoff_color_key_alpha(fbi, OFF);
+		break;
+
+	case S3CFB_COLOR_KEY_SET_INFO:
+		if (copy_from_user(&colkey_info, (s3cfb_color_key_info_t *) arg, sizeof(s3cfb_color_key_info_t)))
+			return -EFAULT;
+
+		s3cfb_set_color_key_registers(fbi, colkey_info);
+		break;
+
+	case S3CFB_COLOR_KEY_VALUE:
+		if (copy_from_user(&colval_info, (s3cfb_color_val_info_t *) arg, sizeof(s3cfb_color_val_info_t)))
+			return -EFAULT;
+
+		s3cfb_set_color_value(fbi, colval_info);
+		break;
+
+	case S3CFB_SET_VSYNC_INT:
+		s3cfb_fimd.vidintcon0 &= ~S3C_VIDINTCON0_FRAMESEL0_MASK;
+		s3cfb_fimd.vidintcon0 |= S3C_VIDINTCON0_FRAMESEL0_VSYNC;
+
+		if (arg)
+			s3cfb_fimd.vidintcon0 |= S3C_VIDINTCON0_INTFRMEN_ENABLE;
+		else
+			s3cfb_fimd.vidintcon0 &= ~S3C_VIDINTCON0_INTFRMEN_ENABLE;
+
+		writel(s3cfb_fimd.vidintcon0, S3C_VIDINTCON0);
+		break;
+
+	case S3CFB_SET_NEXT_FB_INFO:
+		if (copy_from_user(&next_fb_info, (s3cfb_next_info_t *) arg, sizeof(s3cfb_next_info_t)))
+			return -EFAULT;
+
+		/* check arguments */
+		if ((next_fb_info.xres + next_fb_info.xoffset) > next_fb_info.xres_virtual ||
+			(next_fb_info.yres + next_fb_info.yoffset) > next_fb_info.yres_virtual ||
+			(next_fb_info.xres + next_fb_info.lcd_offset_x ) > s3cfb_fimd.width ||
+			(next_fb_info.yres + next_fb_info.lcd_offset_y ) > s3cfb_fimd.height) {
+			printk("Error : S3CFB_SET_NEXT_FB_INFO\n");
+ 			return -EINVAL;
+		}
+
+
+		fbi->next_fb_info = next_fb_info;
+		fbi->next_fb_info_change_req = 1;
+		break;
+
+	case S3CFB_GET_CURR_FB_INFO:
+		next_fb_info.phy_start_addr = fbi->fb.fix.smem_start;
+		next_fb_info.xres = fbi->fb.var.xres;
+		next_fb_info.yres = fbi->fb.var.yres;
+		next_fb_info.xres_virtual = fbi->fb.var.xres_virtual;
+		next_fb_info.yres_virtual = fbi->fb.var.yres_virtual;
+		next_fb_info.xoffset = fbi->fb.var.xoffset;
+		next_fb_info.yoffset = fbi->fb.var.yoffset;
+		next_fb_info.lcd_offset_x = fbi->lcd_offset_x;
+		next_fb_info.lcd_offset_y = fbi->lcd_offset_y;
+
+		if (copy_to_user((void *)arg, (s3cfb_next_info_t *) &next_fb_info, sizeof(s3cfb_next_info_t)))
+			return -EFAULT;
+		break;
+
+	case S3CFB_GET_BRIGHTNESS:
+		if (copy_to_user((void *)arg, (const void *) &s3cfb_fimd.brightness, sizeof(int)))
+			return -EFAULT;
+		break;
+
+#if defined(CONFIG_S3C6410_PWM)
+	case S3CFB_SET_BRIGHTNESS:
+		if (copy_from_user(&brightness, (int *) arg, sizeof(int)))
+			return -EFAULT;
+
+		s3cfb_set_brightness(brightness);
+		break;
+#endif
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+	case S3CFB_VS_START:
+		s3cfb_fimd.wincon0 &= ~(S3C_WINCONx_ENWIN_F_ENABLE);
+		writel(s3cfb_fimd.wincon0 | S3C_WINCONx_ENWIN_F_ENABLE, S3C_WINCON0);
+
+		fbi->fb.var.xoffset = s3cfb_fimd.xoffset;
+		fbi->fb.var.yoffset = s3cfb_fimd.yoffset;
+		break;
+
+	case S3CFB_VS_STOP:
+		s3cfb_fimd.vidw00add0b0 = fbi->screen_dma_f1;
+		s3cfb_fimd.vidw00add0b1 = fbi->screen_dma_f2;
+		fbi->fb.var.xoffset = 0;
+		fbi->fb.var.yoffset = 0;
+
+		writel(s3cfb_fimd.vidw00add0b0, S3C_VIDW00ADD0B0);
+		writel(s3cfb_fimd.vidw00add0b1, S3C_VIDW00ADD0B1);
+
+		break;
+
+	case S3CFB_VS_SET_INFO:
+		if (copy_from_user(&vs_info, (s3cfb_vs_info_t *) arg, sizeof(s3cfb_vs_info_t)))
+			return -EFAULT;
+
+		if (s3cfb_set_vs_info(vs_info)) {
+			printk("Error S3CFB_VS_SET_INFO\n");
+			return -EINVAL;
+		}
+
+		s3cfb_set_vs_registers(S3CFB_VS_SET);
+
+		fbi->fb.var.xoffset = s3cfb_fimd.xoffset;
+		fbi->fb.var.yoffset = s3cfb_fimd.yoffset;
+		break;
+
+	case S3CFB_VS_MOVE:
+		s3cfb_set_vs_registers(arg);
+
+		fbi->fb.var.xoffset = s3cfb_fimd.xoffset;
+		fbi->fb.var.yoffset = s3cfb_fimd.yoffset;
+		break;
+#endif
+
+#if defined(CONFIG_FB_S3C_DOUBLE_BUFFERING)
+	case S3CFB_GET_NUM:
+		if (copy_from_user((void *)&f_num_val, (const void *)arg, sizeof(u_int)))
+			return -EFAULT;
+
+		if (copy_to_user((void *)arg, (const void *) &f_num_val, sizeof(u_int)))
+			return -EFAULT;
+
+		break;
+
+	case S3CFB_CHANGE_REQ:
+		s3cfb_change_buff(0, (int) arg);
+		break;
+#endif
+
+	default:
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+void s3cfb_pre_init(void)
+{
+	/* initialize the fimd specific */
+	s3cfb_fimd.vidintcon0 &= ~S3C_VIDINTCON0_FRAMESEL0_MASK;
+	s3cfb_fimd.vidintcon0 |= S3C_VIDINTCON0_FRAMESEL0_VSYNC;
+	s3cfb_fimd.vidintcon0 |= S3C_VIDINTCON0_INTFRMEN_ENABLE;
+
+	writel(s3cfb_fimd.vidintcon0, S3C_VIDINTCON0);
+}
+
+int s3cfb_set_gpio(void)
+{
+	unsigned long val;
+	int i, err;
+
+	/* Must be '0' for Normal-path instead of By-pass */
+	writel(0x0, S3C_HOSTIFB_MIFPCON);
+
+	/* enable clock to LCD */
+	val = readl(S3C_HCLK_GATE);
+	val |= S3C_CLKCON_HCLK_LCD;
+	writel(val, S3C_HCLK_GATE);
+
+	/* select TFT LCD type (RGB I/F) */
+	val = readl(S3C64XX_SPC_BASE);
+	val &= ~0x3;
+	val |= (1 << 0);
+	writel(val, S3C64XX_SPC_BASE);
+
+	/* VD */
+	for (i = 0; i < 16; i++)
+		s3c_gpio_cfgpin(S3C64XX_GPI(i), S3C_GPIO_SFN(2));
+
+	for (i = 0; i < 12; i++)
+		s3c_gpio_cfgpin(S3C64XX_GPJ(i), S3C_GPIO_SFN(2));
+
+#if 0
+#ifndef CONFIG_BACKLIGHT_PWM
+	/* backlight ON */
+	//printk("oPEN LCD BACKLIGHT1.\n");
+	if (gpio_is_valid(S3C64XX_GPF(14))) {              //NOTE: orign GPF15 here
+		err = gpio_request(S3C64XX_GPF(14), "GPF");
+
+		if (err) {
+			printk(KERN_ERR "failed to request GPF for "
+				"lcd backlight control\n");
+			return err;
+		}
+
+		gpio_direction_output(S3C64XX_GPF(14), 1);
+		gpio_set_value(S3C64XX_GPF(14), 1);
+	}
+#endif
+#endif
+	 //printk("oPEN LCD BACKLIGHT2.\n");
+         if (gpio_is_valid(S3C64XX_GPE(0))) {
+		err = gpio_request(S3C64XX_GPE(0), "GPE");
+
+		if (err) {
+			printk(KERN_ERR "failed to request GPE for "
+				"lcd reset control\n");
+			return err;
+		}
+
+		gpio_direction_output(S3C64XX_GPE(0), 1);
+	}
+	gpio_set_value(S3C64XX_GPE(0), 1);
+	gpio_free(S3C64XX_GPE(0));
+
+	/* module reset */
+	/*if (gpio_is_valid(S3C64XX_GPN(5))) {
+		err = gpio_request(S3C64XX_GPN(5), "GPN");
+
+		if (err) {
+			printk(KERN_ERR "failed to request GPN for "
+				"lcd reset control\n");
+			return err;
+		}
+
+		gpio_direction_output(S3C64XX_GPN(5), 1);
+	}
+
+	mdelay(100);
+
+	gpio_set_value(S3C64XX_GPN(5), 0);
+	mdelay(10);
+
+	gpio_set_value(S3C64XX_GPN(5), 1);
+	mdelay(10);
+	*/
+#ifndef CONFIG_BACKLIGHT_PWM
+	gpio_free(S3C64XX_GPF(14));
+#endif
+	
+	//gpio_free(S3C64XX_GPN(5));
+
+	return 0;
+}
+
+#if defined(CONFIG_PM)
+
+static struct sleep_save s3c_lcd_save[] = {
+	SAVE_ITEM(S3C_VIDCON0),
+	SAVE_ITEM(S3C_VIDCON1),
+
+	SAVE_ITEM(S3C_VIDTCON0),
+	SAVE_ITEM(S3C_VIDTCON1),
+	SAVE_ITEM(S3C_VIDTCON2),
+	SAVE_ITEM(S3C_VIDTCON3),
+
+	SAVE_ITEM(S3C_WINCON0),
+	SAVE_ITEM(S3C_WINCON1),
+	SAVE_ITEM(S3C_WINCON2),
+	SAVE_ITEM(S3C_WINCON3),
+	SAVE_ITEM(S3C_WINCON4),
+
+	SAVE_ITEM(S3C_VIDOSD0A),
+	SAVE_ITEM(S3C_VIDOSD0B),
+	SAVE_ITEM(S3C_VIDOSD0C),
+
+	SAVE_ITEM(S3C_VIDOSD1A),
+	SAVE_ITEM(S3C_VIDOSD1B),
+	SAVE_ITEM(S3C_VIDOSD1C),
+	SAVE_ITEM(S3C_VIDOSD1D),
+
+	SAVE_ITEM(S3C_VIDOSD2A),
+	SAVE_ITEM(S3C_VIDOSD2B),
+	SAVE_ITEM(S3C_VIDOSD2C),
+	SAVE_ITEM(S3C_VIDOSD2D),
+
+	SAVE_ITEM(S3C_VIDOSD3A),
+	SAVE_ITEM(S3C_VIDOSD3B),
+	SAVE_ITEM(S3C_VIDOSD3C),
+
+	SAVE_ITEM(S3C_VIDOSD4A),
+	SAVE_ITEM(S3C_VIDOSD4B),
+	SAVE_ITEM(S3C_VIDOSD4C),
+
+	SAVE_ITEM(S3C_VIDW00ADD0B0),
+	SAVE_ITEM(S3C_VIDW00ADD0B1),
+	SAVE_ITEM(S3C_VIDW01ADD0B0),
+	SAVE_ITEM(S3C_VIDW01ADD0B1),
+	SAVE_ITEM(S3C_VIDW02ADD0),
+	SAVE_ITEM(S3C_VIDW03ADD0),
+	SAVE_ITEM(S3C_VIDW04ADD0),
+	SAVE_ITEM(S3C_VIDW00ADD1B0),
+	SAVE_ITEM(S3C_VIDW00ADD1B1),
+	SAVE_ITEM(S3C_VIDW01ADD1B0),
+	SAVE_ITEM(S3C_VIDW01ADD1B1),
+	SAVE_ITEM(S3C_VIDW02ADD1),
+	SAVE_ITEM(S3C_VIDW03ADD1),
+	SAVE_ITEM(S3C_VIDW04ADD1),
+	SAVE_ITEM(S3C_VIDW00ADD2),
+	SAVE_ITEM(S3C_VIDW01ADD2),
+	SAVE_ITEM(S3C_VIDW02ADD2),
+	SAVE_ITEM(S3C_VIDW03ADD2),
+	SAVE_ITEM(S3C_VIDW04ADD2),
+
+	SAVE_ITEM(S3C_VIDINTCON0),
+	SAVE_ITEM(S3C_VIDINTCON1),
+	SAVE_ITEM(S3C_W1KEYCON0),
+	SAVE_ITEM(S3C_W1KEYCON1),
+	SAVE_ITEM(S3C_W2KEYCON0),
+	SAVE_ITEM(S3C_W2KEYCON1),
+
+	SAVE_ITEM(S3C_W3KEYCON0),
+	SAVE_ITEM(S3C_W3KEYCON1),
+	SAVE_ITEM(S3C_W4KEYCON0),
+	SAVE_ITEM(S3C_W4KEYCON1),
+	SAVE_ITEM(S3C_DITHMODE),
+
+	SAVE_ITEM(S3C_WIN0MAP),
+	SAVE_ITEM(S3C_WIN1MAP),
+	SAVE_ITEM(S3C_WIN2MAP),
+	SAVE_ITEM(S3C_WIN3MAP),
+	SAVE_ITEM(S3C_WIN4MAP),
+	SAVE_ITEM(S3C_WPALCON),
+
+	SAVE_ITEM(S3C_TRIGCON),
+	SAVE_ITEM(S3C_I80IFCONA0),
+	SAVE_ITEM(S3C_I80IFCONA1),
+	SAVE_ITEM(S3C_I80IFCONB0),
+	SAVE_ITEM(S3C_I80IFCONB1),
+	SAVE_ITEM(S3C_LDI_CMDCON0),
+	SAVE_ITEM(S3C_LDI_CMDCON1),
+	SAVE_ITEM(S3C_SIFCCON0),
+	SAVE_ITEM(S3C_SIFCCON1),
+	SAVE_ITEM(S3C_SIFCCON2),
+
+	SAVE_ITEM(S3C_LDI_CMD0),
+	SAVE_ITEM(S3C_LDI_CMD1),
+	SAVE_ITEM(S3C_LDI_CMD2),
+	SAVE_ITEM(S3C_LDI_CMD3),
+	SAVE_ITEM(S3C_LDI_CMD4),
+	SAVE_ITEM(S3C_LDI_CMD5),
+	SAVE_ITEM(S3C_LDI_CMD6),
+	SAVE_ITEM(S3C_LDI_CMD7),
+	SAVE_ITEM(S3C_LDI_CMD8),
+	SAVE_ITEM(S3C_LDI_CMD9),
+	SAVE_ITEM(S3C_LDI_CMD10),
+	SAVE_ITEM(S3C_LDI_CMD11),
+
+	SAVE_ITEM(S3C_W2PDATA01),
+	SAVE_ITEM(S3C_W2PDATA23),
+	SAVE_ITEM(S3C_W2PDATA45),
+	SAVE_ITEM(S3C_W2PDATA67),
+	SAVE_ITEM(S3C_W2PDATA89),
+	SAVE_ITEM(S3C_W2PDATAAB),
+	SAVE_ITEM(S3C_W2PDATACD),
+	SAVE_ITEM(S3C_W2PDATAEF),
+	SAVE_ITEM(S3C_W3PDATA01),
+	SAVE_ITEM(S3C_W3PDATA23),
+	SAVE_ITEM(S3C_W3PDATA45),
+	SAVE_ITEM(S3C_W3PDATA67),
+	SAVE_ITEM(S3C_W3PDATA89),
+	SAVE_ITEM(S3C_W3PDATAAB),
+	SAVE_ITEM(S3C_W3PDATACD),
+	SAVE_ITEM(S3C_W3PDATAEF),
+	SAVE_ITEM(S3C_W4PDATA01),
+	SAVE_ITEM(S3C_W4PDATA23),
+};
+
+/*
+ *  Suspend
+ */
+int s3cfb_suspend(struct platform_device *dev, pm_message_t state)
+{
+	struct fb_info *fbinfo = platform_get_drvdata(dev);
+	s3cfb_info_t *info = fbinfo->par;
+
+	s3cfb_stop_lcd();
+	s3c6410_pm_do_save(s3c_lcd_save, ARRAY_SIZE(s3c_lcd_save));
+
+	/* sleep before disabling the clock, we need to ensure
+	 * the LCD DMA engine is not going to get back on the bus
+	 * before the clock goes off again (bjd) */
+
+	msleep(1);
+	clk_disable(info->clk);
+
+	return 0;
+}
+
+/*
+ *  Resume
+ */
+int s3cfb_resume(struct platform_device *dev)
+{
+	struct fb_info *fbinfo = platform_get_drvdata(dev);
+	s3cfb_info_t *info = fbinfo->par;
+
+	clk_enable(info->clk);
+	s3c6410_pm_do_restore(s3c_lcd_save, ARRAY_SIZE(s3c_lcd_save));
+
+	s3cfb_set_gpio();
+	s3cfb_start_lcd();
+
+	return 0;
+}
+
+#else
+
+int s3cfb_suspend(struct platform_device *dev, pm_message_t state)
+{
+	return 0;
+}
+
+int s3cfb_resume(struct platform_device *dev)
+{
+	return 0;
+}
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/samsung/s3cfb_fimd5x.c linux-2.6.28.6/drivers/video/samsung/s3cfb_fimd5x.c
--- linux-2.6.28/drivers/video/samsung/s3cfb_fimd5x.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/samsung/s3cfb_fimd5x.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,1521 @@
+/*
+ * drivers/video/samsung/s3cfb_fimd5x.c
+ *
+ * $Id: s3cfb_fimd5x.c,v 1.2 2008/12/09 04:51:38 ihlee215 Exp $
+ *
+ * Copyright (C) 2008 Jinsung Yang <jsgood.yang@samsung.com>
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file COPYING in the main directory of this archive for
+ * more details.
+ *
+ *	S3C Frame Buffer Driver
+ *	based on skeletonfb.c, sa1100fb.h, s3c2410fb.c
+ */
+
+#include <linux/module.h>
+#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/string.h>
+#include <linux/mm.h>
+#include <linux/tty.h>
+#include <linux/slab.h>
+#include <linux/delay.h>
+#include <linux/fb.h>
+#include <linux/init.h>
+#include <linux/dma-mapping.h>
+#include <linux/string.h>
+#include <linux/ioctl.h>
+#include <linux/clk.h>
+#include <linux/platform_device.h>
+#include <linux/gpio.h>
+
+#include <asm/io.h>
+#include <asm/uaccess.h>
+
+#include <plat/gpio-cfg.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-lcd.h>
+#include <plat/regs-gpio.h>
+
+#include <mach/map.h>
+#if defined(CONFIG_PM)
+#include <plat/pm.h>
+#endif
+
+#include "s3cfb.h"
+
+s3cfb_fimd_info_t s3cfb_fimd = {
+	.vidcon0 = S3C_VIDCON0_INTERLACE_F_PROGRESSIVE | S3C_VIDCON0_VIDOUT_RGB_IF | S3C_VIDCON0_L1_DATA16_SUB_16_MODE | \
+			S3C_VIDCON0_L0_DATA16_MAIN_16_MODE | S3C_VIDCON0_PNRMODE_RGB_P | \
+			S3C_VIDCON0_CLKVALUP_ALWAYS | S3C_VIDCON0_CLKDIR_DIVIDED | S3C_VIDCON0_CLKSEL_F_HCLK | \
+			S3C_VIDCON0_ENVID_DISABLE | S3C_VIDCON0_ENVID_F_DISABLE,
+
+	.dithmode = (S3C_DITHMODE_RDITHPOS_5BIT | S3C_DITHMODE_GDITHPOS_6BIT | S3C_DITHMODE_BDITHPOS_5BIT ) & S3C_DITHMODE_DITHERING_DISABLE,
+
+#if defined (CONFIG_FB_S3C_BPP_8)
+	.wincon0 =  S3C_WINCONx_BYTSWP_ENABLE | S3C_WINCONx_BURSTLEN_4WORD | S3C_WINCONx_BPPMODE_F_8BPP_PAL,
+	.wincon1 =  S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_4WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1,
+	.bpp = S3CFB_PIXEL_BPP_8,
+	.bytes_per_pixel = 1,
+	.wpalcon = S3C_WPALCON_W0PAL_16BIT,
+
+#elif defined (CONFIG_FB_S3C_BPP_16)
+	.wincon0 =  S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_BUFSEL_1 | S3C_WINCONx_BUFAUTOEN_DISABLE | \
+			S3C_WINCONx_BITSWP_DISABLE | S3C_WINCONx_BYTSWP_DISABLE | S3C_WINCONx_HAWSWP_ENABLE | \
+			S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_ENWIN_F_DISABLE,
+
+	.wincon1 =  S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_BUFSEL_0 | S3C_WINCONx_BUFAUTOEN_DISABLE | \
+			S3C_WINCONx_BITSWP_DISABLE | S3C_WINCONx_BYTSWP_DISABLE | S3C_WINCONx_HAWSWP_ENABLE | \
+			S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_BPPMODE_F_16BPP_565 | \
+			S3C_WINCONx_ALPHA_SEL_1 | S3C_WINCONx_ENWIN_F_DISABLE,
+
+	.wincon2 = S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_BITSWP_DISABLE | S3C_WINCONx_BYTSWP_DISABLE | \
+			S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_4WORD | S3C_WINCONx_BURSTLEN_16WORD | \
+			S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_ALPHA_SEL_1 | S3C_WINCONx_ENWIN_F_DISABLE,
+
+	.wincon3 = S3C_WINCONx_BITSWP_DISABLE | S3C_WINCONx_BYTSWP_DISABLE | S3C_WINCONx_HAWSWP_ENABLE | \
+			S3C_WINCONx_BURSTLEN_4WORD | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BLD_PIX_PLANE | \
+			S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_ALPHA_SEL_1 | S3C_WINCONx_ENWIN_F_DISABLE,
+
+	.wincon4 = S3C_WINCONx_BITSWP_DISABLE | S3C_WINCONx_BYTSWP_DISABLE | S3C_WINCONx_HAWSWP_ENABLE | \
+			S3C_WINCONx_BURSTLEN_4WORD | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BLD_PIX_PLANE |
+			S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_ALPHA_SEL_1 | S3C_WINCONx_ENWIN_F_DISABLE,
+
+	.bpp = S3CFB_PIXEL_BPP_16,
+	.bytes_per_pixel = 2,
+	.wpalcon = S3C_WPALCON_W0PAL_16BIT,
+
+#elif defined (CONFIG_FB_S3C_BPP_24)
+	.wincon0 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888,
+	.wincon1 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1,
+	.wincon2 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1,
+	.wincon3 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1,
+	.wincon4 = S3C_WINCONx_HAWSWP_DISABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1,
+	.bpp = S3CFB_PIXEL_BPP_24,
+	.bytes_per_pixel = 4,
+	.wpalcon = S3C_WPALCON_W0PAL_24BIT,
+#endif
+
+	.vidosd1c = S3C_VIDOSDxC_ALPHA1_B(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_G(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_R(S3CFB_MAX_ALPHA_LEVEL),
+	.vidosd2c = S3C_VIDOSDxC_ALPHA1_B(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_G(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_R(S3CFB_MAX_ALPHA_LEVEL),
+	.vidosd3c = S3C_VIDOSDxC_ALPHA1_B(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_G(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_R(S3CFB_MAX_ALPHA_LEVEL),
+	.vidosd4c = S3C_VIDOSDxC_ALPHA1_B(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_G(S3CFB_MAX_ALPHA_LEVEL) | S3C_VIDOSDxC_ALPHA1_R(S3CFB_MAX_ALPHA_LEVEL),
+
+	.vidintcon0 = S3C_VIDINTCON0_FRAMESEL0_VSYNC | S3C_VIDINTCON0_FRAMESEL1_NONE | S3C_VIDINTCON0_INTFRMEN_DISABLE | \
+			S3C_VIDINTCON0_FIFOSEL_WIN0 | S3C_VIDINTCON0_FIFOLEVEL_25 | S3C_VIDINTCON0_INTFIFOEN_DISABLE | S3C_VIDINTCON0_INTEN_ENABLE,
+	.vidintcon1 = 0,
+
+	.xoffset = 0,
+	.yoffset = 0,
+
+	.w1keycon0 = S3C_WxKEYCON0_KEYBLEN_DISABLE | S3C_WxKEYCON0_KEYEN_F_DISABLE | S3C_WxKEYCON0_DIRCON_MATCH_FG_IMAGE | S3C_WxKEYCON0_COMPKEY(0x0),
+	.w1keycon1 = S3C_WxKEYCON1_COLVAL(0xffffff),
+	.w2keycon0 = S3C_WxKEYCON0_KEYBLEN_DISABLE | S3C_WxKEYCON0_KEYEN_F_DISABLE | S3C_WxKEYCON0_DIRCON_MATCH_FG_IMAGE | S3C_WxKEYCON0_COMPKEY(0x0),
+	.w2keycon1 = S3C_WxKEYCON1_COLVAL(0xffffff),
+	.w3keycon0 = S3C_WxKEYCON0_KEYBLEN_DISABLE | S3C_WxKEYCON0_KEYEN_F_DISABLE | S3C_WxKEYCON0_DIRCON_MATCH_FG_IMAGE | S3C_WxKEYCON0_COMPKEY(0x0),
+	.w3keycon1 = S3C_WxKEYCON1_COLVAL(0xffffff),
+	.w4keycon0 = S3C_WxKEYCON0_KEYBLEN_DISABLE | S3C_WxKEYCON0_KEYEN_F_DISABLE | S3C_WxKEYCON0_DIRCON_MATCH_FG_IMAGE | S3C_WxKEYCON0_COMPKEY(0x0),
+	.w4keycon1 = S3C_WxKEYCON1_COLVAL(0xffffff),
+
+	.sync = 0,
+	.cmap_static = 1,
+
+	.vs_offset = S3CFB_DEFAULT_DISPLAY_OFFSET,
+	.brightness = S3CFB_DEFAULT_BRIGHTNESS,
+	.backlight_level = S3CFB_DEFAULT_BACKLIGHT_LEVEL,
+	.backlight_power = 1,
+	.lcd_power = 1,
+};
+
+#if defined(CONFIG_S3C6410_PWM) || defined(CONFIG_S5PC1XX_PWM)
+void s3cfb_set_brightness(int val)
+{
+#if defined(CONFIG_S3C6410_PWM)
+	int channel = 1;	/* must use channel-1 */
+#elif defined(CONFIG_S5PC1XX_PWM)
+	int channel = 0;	/* must use channel-0 */
+#endif
+
+	int usec = 0;		/* don't care value */
+	unsigned long tcnt = 1000;
+	unsigned long tcmp = 0;
+
+	if (val < 0)
+		val = 0;
+
+	if (val > S3CFB_MAX_BRIGHTNESS)
+		val = S3CFB_MAX_BRIGHTNESS;
+
+	s3cfb_fimd.brightness = val;
+	tcmp = val * 50;
+
+#if defined(CONFIG_S3C6410_PWM)
+        s3c6410_timer_setup(channel, usec, tcnt, tcmp);
+#elif defined(CONFIG_S5PC1XX_PWM)
+       s5pc100_timer_setup(channel, usec, tcnt, tcmp);
+#endif
+}
+#endif
+
+#if defined(CONFIG_FB_S3C_DOUBLE_BUFFERING)
+
+static void s3cfb_change_buff(int req_win, int req_fb)
+{
+	switch (req_win) {
+	case 0:
+		if (req_fb == 0)
+			s3cfb_fimd.wincon0 &= ~S3C_WINCONx_BUFSEL_MASK;
+		else
+			s3cfb_fimd.wincon0 |= S3C_WINCONx_BUFSEL_1;
+
+		writel(s3cfb_fimd.wincon0 | S3C_WINCONx_ENWIN_F_ENABLE, S3C_WINCON0);
+		break;
+
+	case 1:
+		if (req_fb == 0)
+			s3cfb_fimd.wincon1 &= ~S3C_WINCONx_BUFSEL_MASK;
+		else
+			s3cfb_fimd.wincon1 |= S3C_WINCONx_BUFSEL_1;
+
+		writel(s3cfb_fimd.wincon1 | S3C_WINCONx_ENWIN_F_ENABLE, S3C_WINCON1);
+		break;
+
+	default:
+		break;
+	}
+}
+
+#endif
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+static int s3cfb_set_vs_registers(int vs_cmd)
+{
+	int page_width, offset;
+	int shift_value;
+
+	page_width = s3cfb_fimd.xres * s3cfb_fimd.bytes_per_pixel;
+	offset = (s3cfb_fimd.xres_virtual - s3cfb_fimd.xres) * s3cfb_fimd.bytes_per_pixel;
+
+	switch (vs_cmd){
+	case S3CFB_VS_SET:
+		/* size of buffer */
+		s3cfb_fimd.vidw00add2 = S3C_VIDWxxADD2_OFFSIZE_F(offset) | S3C_VIDWxxADD2_PAGEWIDTH_F(page_width);
+		writel(s3cfb_fimd.vidw00add2, S3C_VIDW00ADD2);
+		break;
+
+	case S3CFB_VS_MOVE_LEFT:
+		if (s3cfb_fimd.xoffset < s3cfb_fimd.vs_offset)
+			shift_value = s3cfb_fimd.xoffset;
+		else
+			shift_value = s3cfb_fimd.vs_offset;
+
+		s3cfb_fimd.xoffset -= shift_value;
+
+		/* For buffer start address */
+		s3cfb_fimd.vidw00add0b0 = s3cfb_fimd.vidw00add0b0 - (s3cfb_fimd.bytes_per_pixel * shift_value);
+		s3cfb_fimd.vidw00add0b1 = s3cfb_fimd.vidw00add0b1 - (s3cfb_fimd.bytes_per_pixel * shift_value);
+		break;
+
+	case S3CFB_VS_MOVE_RIGHT:
+		if ((s3cfb_fimd.vs_info.v_width - (s3cfb_fimd.xoffset + s3cfb_fimd.vs_info.width)) < (s3cfb_fimd.vs_offset))
+			shift_value = s3cfb_fimd.vs_info.v_width - (s3cfb_fimd.xoffset + s3cfb_fimd.vs_info.width);
+		else
+			shift_value = s3cfb_fimd.vs_offset;
+
+		s3cfb_fimd.xoffset += shift_value;
+
+		/* For buffer start address */
+		s3cfb_fimd.vidw00add0b0 = s3cfb_fimd.vidw00add0b0 + (s3cfb_fimd.bytes_per_pixel * shift_value);
+		s3cfb_fimd.vidw00add0b1 = s3cfb_fimd.vidw00add0b1 + (s3cfb_fimd.bytes_per_pixel * shift_value);
+		break;
+
+	case S3CFB_VS_MOVE_UP:
+		if (s3cfb_fimd.yoffset < s3cfb_fimd.vs_offset)
+			shift_value = s3cfb_fimd.yoffset;
+		else
+			shift_value = s3cfb_fimd.vs_offset;
+
+		s3cfb_fimd.yoffset -= shift_value;
+
+		/* For buffer start address */
+		s3cfb_fimd.vidw00add0b0 = s3cfb_fimd.vidw00add0b0 - (s3cfb_fimd.xres_virtual * s3cfb_fimd.bytes_per_pixel * shift_value);
+		s3cfb_fimd.vidw00add0b1 = s3cfb_fimd.vidw00add0b1 - (s3cfb_fimd.xres_virtual * s3cfb_fimd.bytes_per_pixel * shift_value);
+		break;
+
+	case S3CFB_VS_MOVE_DOWN:
+		if ((s3cfb_fimd.vs_info.v_height - (s3cfb_fimd.yoffset + s3cfb_fimd.vs_info.height)) < (s3cfb_fimd.vs_offset))
+			shift_value = s3cfb_fimd.vs_info.v_height - (s3cfb_fimd.yoffset + s3cfb_fimd.vs_info.height);
+		else
+			shift_value = s3cfb_fimd.vs_offset;
+
+		s3cfb_fimd.yoffset += shift_value;
+
+		/* For buffer start address */
+		s3cfb_fimd.vidw00add0b0 = s3cfb_fimd.vidw00add0b0 + (s3cfb_fimd.xres_virtual * s3cfb_fimd.bytes_per_pixel * shift_value);
+		s3cfb_fimd.vidw00add0b1 = s3cfb_fimd.vidw00add0b1 + (s3cfb_fimd.xres_virtual * s3cfb_fimd.bytes_per_pixel * shift_value);
+		break;
+
+	default:
+		return -EINVAL;
+	}
+
+	/* End address */
+	s3cfb_fimd.vidw00add1b0 = S3C_VIDWxxADD1_VBASEL_F(s3cfb_fimd.vidw00add0b0 + (page_width + offset) * (s3cfb_fimd.yres));
+	s3cfb_fimd.vidw00add1b1 = S3C_VIDWxxADD1_VBASEL_F(s3cfb_fimd.vidw00add0b1 + (page_width + offset) * (s3cfb_fimd.yres));
+
+	writel(s3cfb_fimd.vidw00add0b0, S3C_VIDW00ADD0B0);
+	writel(s3cfb_fimd.vidw00add0b1, S3C_VIDW00ADD0B1);
+	writel(s3cfb_fimd.vidw00add1b0, S3C_VIDW00ADD1B0);
+	writel(s3cfb_fimd.vidw00add1b1, S3C_VIDW00ADD1B1);
+
+	return 0;
+}
+#endif
+
+void s3cfb_write_palette(s3cfb_info_t *fbi)
+{
+	unsigned int i;
+	unsigned long ent;
+	unsigned int win_num = fbi->win_id;
+
+	fbi->palette_ready = 0;
+
+	writel((s3cfb_fimd.wpalcon | S3C_WPALCON_PALUPDATEEN), S3C_WPALCON);
+
+	for (i = 0; i < 256; i++) {
+		if ((ent = fbi->palette_buffer[i]) == S3CFB_PALETTE_BUFF_CLEAR)
+			continue;
+
+		writel(ent, S3C_TFTPAL0(i) + 0x400 * win_num);
+
+		/* it seems the only way to know exactly
+		 * if the palette wrote ok, is to check
+		 * to see if the value verifies ok
+		 */
+		if (readl(S3C_TFTPAL0(i) + 0x400 * win_num) == ent) {
+			fbi->palette_buffer[i] = S3CFB_PALETTE_BUFF_CLEAR;
+		} else {
+			fbi->palette_ready = 1;   /* retry */
+			printk("Retry writing into the palette\n");
+		}
+	}
+
+	writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+}
+
+irqreturn_t s3cfb_irq(int irqno, void *param)
+{
+	unsigned long buffer_size = 0;
+	unsigned int i;
+	unsigned int buffer_page_offset, buffer_page_width;
+	unsigned int fb_start_address, fb_end_address;
+
+	if (s3cfb_info[s3cfb_fimd.palette_win].palette_ready)
+		s3cfb_write_palette(&s3cfb_info[s3cfb_fimd.palette_win]);
+
+	for (i = 0; i < CONFIG_FB_S3C_NUM; i++) {
+		if (s3cfb_info[i].next_fb_info_change_req) {
+			/* fb variable setting */
+			s3cfb_info[i].fb.fix.smem_start = s3cfb_info[i].next_fb_info.phy_start_addr;
+
+			s3cfb_info[i].fb.fix.line_length = s3cfb_info[i].next_fb_info.xres_virtual *
+								s3cfb_fimd.bytes_per_pixel;
+
+			s3cfb_info[i].fb.fix.smem_len = s3cfb_info[i].next_fb_info.xres_virtual *
+								s3cfb_info[i].next_fb_info.yres_virtual *
+								s3cfb_fimd.bytes_per_pixel;
+
+			s3cfb_info[i].fb.var.xres = s3cfb_info[i].next_fb_info.xres;
+			s3cfb_info[i].fb.var.yres = s3cfb_info[i].next_fb_info.yres;
+			s3cfb_info[i].fb.var.xres_virtual = s3cfb_info[i].next_fb_info.xres_virtual;
+			s3cfb_info[i].fb.var.yres_virtual= s3cfb_info[i].next_fb_info.yres_virtual;
+			s3cfb_info[i].fb.var.xoffset = s3cfb_info[i].next_fb_info.xoffset;
+			s3cfb_info[i].fb.var.yoffset = s3cfb_info[i].next_fb_info.yoffset;
+
+			s3cfb_info[i].lcd_offset_x= s3cfb_info[i].next_fb_info.lcd_offset_x;
+			s3cfb_info[i].lcd_offset_y= s3cfb_info[i].next_fb_info.lcd_offset_y;
+
+
+			/* fb start / end address setting */
+			fb_start_address = s3cfb_info[i].next_fb_info.phy_start_addr +
+						s3cfb_info[i].fb.fix.line_length * s3cfb_info[i].next_fb_info.yoffset +
+						s3cfb_info[i].next_fb_info.xoffset * s3cfb_fimd.bytes_per_pixel;
+
+			fb_end_address = fb_start_address + s3cfb_info[i].fb.fix.line_length *
+						s3cfb_info[i].next_fb_info.yres;
+
+			writel(fb_start_address, S3C_VIDW00ADD0B0 + 0x8 * i);
+			writel(S3C_VIDWxxADD1_VBASEL_F(fb_end_address), S3C_VIDW00ADD1B0 + 0x8 * i);
+
+
+			/* fb virtual / visible size setting */
+			buffer_page_width = s3cfb_info[i].next_fb_info.xres * s3cfb_fimd.bytes_per_pixel;
+
+			buffer_page_offset = (s3cfb_info[i].next_fb_info.xres_virtual -
+						s3cfb_info[i].next_fb_info.xres) * s3cfb_fimd.bytes_per_pixel;
+
+			buffer_size = S3C_VIDWxxADD2_OFFSIZE_F(buffer_page_offset) |
+					(S3C_VIDWxxADD2_PAGEWIDTH_F(buffer_page_width));
+
+			writel(buffer_size, S3C_VIDW00ADD2 + 0x04 * i);
+
+			/* LCD position setting */
+			writel(S3C_VIDOSDxA_OSD_LTX_F(s3cfb_info[i].next_fb_info.lcd_offset_x) |
+				S3C_VIDOSDxA_OSD_LTY_F(s3cfb_info[i].next_fb_info.lcd_offset_y), S3C_VIDOSD0A+(0x10 * i));
+
+			writel(S3C_VIDOSDxB_OSD_RBX_F(s3cfb_info[i].next_fb_info.lcd_offset_x - 1 + s3cfb_info[i].next_fb_info.xres) |
+				S3C_VIDOSDxB_OSD_RBY_F(s3cfb_info[i].next_fb_info.lcd_offset_y - 1 + s3cfb_info[i].next_fb_info.yres),
+				S3C_VIDOSD0B + (0x10 * i));
+
+
+			/* fb size setting */
+			if (i == 0)
+				writel(S3C_VIDOSD0C_OSDSIZE(s3cfb_info[i].next_fb_info.xres * s3cfb_info[i].next_fb_info.yres), S3C_VIDOSD0C);
+			else if (i == 1)
+				writel(S3C_VIDOSD0C_OSDSIZE(s3cfb_info[i].next_fb_info.xres * s3cfb_info[i].next_fb_info.yres), S3C_VIDOSD1D);
+			else if (i == 2)
+				writel(S3C_VIDOSD0C_OSDSIZE(s3cfb_info[i].next_fb_info.xres * s3cfb_info[i].next_fb_info.yres), S3C_VIDOSD2D);
+
+			s3cfb_info[i].next_fb_info_change_req = 0;
+		}
+	}
+
+	/* for clearing the interrupt source */
+	writel(readl(S3C_VIDINTCON1), S3C_VIDINTCON1);
+
+	s3cfb_fimd.vsync_info.count++;
+	wake_up_interruptible(&s3cfb_fimd.vsync_info.wait_queue);
+
+	return IRQ_HANDLED;
+}
+
+static void s3cfb_check_line_count(void)
+{
+	int timeout = 30 * 5300;
+	unsigned int cfg;
+	int i;
+
+	i = 0;
+	do {
+		if (!(readl(S3C_VIDCON1) & 0x7ff0000))
+			break;
+		i++;
+	} while (i < timeout);
+
+	if (i == timeout) {
+		printk(KERN_WARNING "line count mismatch\n");
+
+		cfg = readl(S3C_VIDCON0);
+		cfg |= (S3C_VIDCON0_ENVID_F_ENABLE | S3C_VIDCON0_ENVID_ENABLE);
+		writel(cfg, S3C_VIDCON0);
+	}	
+}
+
+static void s3cfb_enable_local0(int in_yuv)
+{
+	unsigned int value;
+
+	s3cfb_fimd.wincon0 = readl(S3C_WINCON0);
+	s3cfb_fimd.wincon0 &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+	writel(s3cfb_fimd.wincon0, S3C_WINCON0);	
+
+	s3cfb_fimd.wincon0 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK | S3C_WINCONx_WSWP_ENABLE);
+	value = S3C_WINCONx_ENLOCAL | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	if (in_yuv)
+		value |= S3C_WINCONx_INRGB_YUV;
+
+	writel(s3cfb_fimd.wincon0 | value, S3C_WINCON0);
+}
+
+static void s3cfb_enable_local1(int in_yuv, int sel)
+{
+	unsigned int value;
+
+	s3cfb_fimd.wincon1 = readl(S3C_WINCON1);
+	s3cfb_fimd.wincon1 &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+	writel(s3cfb_fimd.wincon1, S3C_WINCON1);
+
+	s3cfb_fimd.wincon1 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK);
+	s3cfb_fimd.wincon1 &= ~(S3C_WINCON1_LOCALSEL_MASK | S3C_WINCONx_WSWP_ENABLE);
+	value = sel | S3C_WINCONx_ENLOCAL | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	if (in_yuv)
+		value |= S3C_WINCONx_INRGB_YUV;
+
+	writel(s3cfb_fimd.wincon1 | value, S3C_WINCON1);
+}
+
+static void s3cfb_enable_local2(int in_yuv)
+{
+	unsigned int value;
+
+	s3cfb_fimd.wincon2 = readl(S3C_WINCON2);
+	s3cfb_fimd.wincon2 &= ~S3C_WINCONx_ENWIN_F_ENABLE;
+	writel(s3cfb_fimd.wincon2, S3C_WINCON2);
+
+	s3cfb_fimd.wincon2 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK | S3C_WINCONx_WSWP_ENABLE);
+	value = S3C_WINCONx_ENLOCAL | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	if (in_yuv)
+		value |= S3C_WINCONx_INRGB_YUV;
+
+	writel(s3cfb_fimd.wincon2 | value, S3C_WINCON2);
+}
+
+static void s3cfb_enable_dma0(void)
+{
+	u32 value;
+
+	s3cfb_fimd.wincon0 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK);
+	value = S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_WSWP_ENABLE | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	writel(s3cfb_fimd.wincon0 | value, S3C_WINCON0);
+}
+
+static void s3cfb_enable_dma1(void)
+{
+	u32 value;
+
+	s3cfb_fimd.wincon1 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK);
+	value = S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_WSWP_ENABLE | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	writel(s3cfb_fimd.wincon1 | value, S3C_WINCON1);
+}
+
+static void s3cfb_enable_dma2(void)
+{
+	u32 value;
+
+	s3cfb_fimd.wincon2 &= ~(S3C_WINCONx_ENLOCAL_MASK | S3C_WINCONx_INRGB_MASK);
+	value = S3C_WINCONx_ENLOCAL_DMA | S3C_WINCONx_WSWP_ENABLE | S3C_WINCONx_ENWIN_F_ENABLE;
+
+	writel(s3cfb_fimd.wincon2 | value, S3C_WINCON2);
+}
+
+void s3cfb_enable_local(int win, int in_yuv, int sel)
+{
+	s3cfb_check_line_count();
+
+	switch (win) {
+	case 0:
+		s3cfb_enable_local0(in_yuv);
+		break;
+
+	case 1:
+		s3cfb_enable_local1(in_yuv, sel);
+		break;
+
+	case 2:
+		s3cfb_enable_local2(in_yuv);
+		break;
+
+	default:
+		break;
+	}
+}
+
+void s3cfb_enable_dma(int win)
+{
+	s3cfb_stop_lcd();
+	
+	switch (win) {
+	case 0:
+		s3cfb_enable_dma0();
+		break;
+
+	case 1:
+		s3cfb_enable_dma1();
+		break;
+
+	case 2:
+		s3cfb_enable_dma2();
+		break;
+
+	default:
+		break;
+	}
+
+	s3cfb_start_lcd();
+}
+
+EXPORT_SYMBOL(s3cfb_enable_local);
+EXPORT_SYMBOL(s3cfb_enable_dma);
+
+int s3cfb_init_registers(s3cfb_info_t *fbi)
+{
+	struct clk *lcd_clock;
+	struct fb_var_screeninfo *var = &fbi->fb.var;
+	unsigned long flags = 0, page_width = 0, offset = 0;
+	unsigned long video_phy_temp_f1 = fbi->screen_dma_f1;
+	unsigned long video_phy_temp_f2 = fbi->screen_dma_f2;
+	int win_num =  fbi->win_id;
+
+	/* Initialise LCD with values from hare */
+	local_irq_save(flags);
+
+	page_width = var->xres * s3cfb_fimd.bytes_per_pixel;
+	offset = (var->xres_virtual - var->xres) * s3cfb_fimd.bytes_per_pixel;
+
+	if (win_num == 0) {
+		s3cfb_fimd.vidcon0 = s3cfb_fimd.vidcon0 & ~(S3C_VIDCON0_ENVID_ENABLE | S3C_VIDCON0_ENVID_F_ENABLE);
+		writel(s3cfb_fimd.vidcon0, S3C_VIDCON0);
+
+		lcd_clock = clk_get(NULL, "lcd");
+		s3cfb_fimd.vidcon0 |= S3C_VIDCON0_CLKVAL_F((int) ((clk_get_rate(lcd_clock) / s3cfb_fimd.pixclock) - 1));
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+		offset = 0;
+		s3cfb_fimd.vidw00add0b0 = video_phy_temp_f1;
+		s3cfb_fimd.vidw00add0b1 = video_phy_temp_f2;
+		s3cfb_fimd.vidw00add1b0 = S3C_VIDWxxADD1_VBASEL_F((unsigned long) video_phy_temp_f1 + (page_width + offset) * (var->yres));
+		s3cfb_fimd.vidw00add1b1 = S3C_VIDWxxADD1_VBASEL_F((unsigned long) video_phy_temp_f2 + (page_width + offset) * (var->yres));
+#endif
+ 	}
+
+	writel(video_phy_temp_f1, S3C_VIDW00ADD0B0 + (0x08 * win_num));
+	writel(S3C_VIDWxxADD1_VBASEL_F((unsigned long) video_phy_temp_f1 + (page_width + offset) * (var->yres)), S3C_VIDW00ADD1B0 + (0x08 * win_num));
+	writel(S3C_VIDWxxADD2_OFFSIZE_F(offset) | (S3C_VIDWxxADD2_PAGEWIDTH_F(page_width)), S3C_VIDW00ADD2 + (0x04 * win_num));
+
+	if (win_num < 2) {
+		writel(video_phy_temp_f2, S3C_VIDW00ADD0B1 + (0x08 * win_num));
+		writel(S3C_VIDWxxADD1_VBASEL_F((unsigned long) video_phy_temp_f2 + (page_width + offset) * (var->yres)), S3C_VIDW00ADD1B1 + (0x08 * win_num));
+	}
+
+	#if defined(CONFIG_CPU_S5P6440)
+	#if defined(CONFIG_FB_S3C_BPP_24)
+		s3cfb_fimd.wincon0|= 0x8000;
+		s3cfb_fimd.wincon1|= 0x8000;
+		s3cfb_fimd.wincon2|= 0x8000;
+		s3cfb_fimd.wincon3|= 0x8000;
+		s3cfb_fimd.wincon4|= 0x8000;
+	#endif
+		s3cfb_fimd.vidcon0 = 0x153;
+	#endif
+	switch (win_num) {
+	case 0:
+		writel(s3cfb_fimd.wincon0, S3C_WINCON0);
+		writel(s3cfb_fimd.vidcon0, S3C_VIDCON0);
+		writel(s3cfb_fimd.vidcon1, S3C_VIDCON1);
+		writel(s3cfb_fimd.vidtcon0, S3C_VIDTCON0);
+		writel(s3cfb_fimd.vidtcon1, S3C_VIDTCON1);
+		writel(s3cfb_fimd.vidtcon2, S3C_VIDTCON2);
+		writel(s3cfb_fimd.dithmode, S3C_DITHMODE);
+		writel(s3cfb_fimd.vidintcon0, S3C_VIDINTCON0);
+		writel(s3cfb_fimd.vidintcon1, S3C_VIDINTCON1);
+		writel(s3cfb_fimd.vidosd0a, S3C_VIDOSD0A);
+		writel(s3cfb_fimd.vidosd0b, S3C_VIDOSD0B);
+		writel(s3cfb_fimd.vidosd0c, S3C_VIDOSD0C);
+		writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+
+		s3cfb_onoff_win(fbi, ON);
+		break;
+
+	case 1:
+		writel(s3cfb_fimd.wincon1, S3C_WINCON1);
+		writel(s3cfb_fimd.vidosd1a, S3C_VIDOSD1A);
+		writel(s3cfb_fimd.vidosd1b, S3C_VIDOSD1B);
+		writel(s3cfb_fimd.vidosd1c, S3C_VIDOSD1C);
+		writel(s3cfb_fimd.vidosd1d, S3C_VIDOSD1D);
+		writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+
+		s3cfb_onoff_win(fbi, OFF);
+		break;
+
+	case 2:
+		writel(s3cfb_fimd.wincon2, S3C_WINCON2);
+		writel(s3cfb_fimd.vidosd2a, S3C_VIDOSD2A);
+		writel(s3cfb_fimd.vidosd2b, S3C_VIDOSD2B);
+		writel(s3cfb_fimd.vidosd2c, S3C_VIDOSD2C);
+		writel(s3cfb_fimd.vidosd2d, S3C_VIDOSD2D);
+		writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+
+		s3cfb_onoff_win(fbi, OFF);
+		break;
+
+	case 3:
+		writel(s3cfb_fimd.wincon3, S3C_WINCON3);
+		writel(s3cfb_fimd.vidosd3a, S3C_VIDOSD3A);
+		writel(s3cfb_fimd.vidosd3b, S3C_VIDOSD3B);
+		writel(s3cfb_fimd.vidosd3c, S3C_VIDOSD3C);
+		writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+
+		s3cfb_onoff_win(fbi, OFF);
+		break;
+
+	case 4:
+		writel(s3cfb_fimd.wincon4, S3C_WINCON4);
+		writel(s3cfb_fimd.vidosd4a, S3C_VIDOSD4A);
+		writel(s3cfb_fimd.vidosd4b, S3C_VIDOSD4B);
+		writel(s3cfb_fimd.vidosd4c, S3C_VIDOSD4C);
+		writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+
+		s3cfb_onoff_win(fbi, OFF);
+		break;
+	}
+
+	local_irq_restore(flags);
+
+	return 0;
+ }
+
+void s3cfb_activate_var(s3cfb_info_t *fbi, struct fb_var_screeninfo *var)
+{
+	DPRINTK("%s: var->bpp = %d\n", __FUNCTION__, var->bits_per_pixel);
+
+	switch (var->bits_per_pixel) {
+	case 8:
+		s3cfb_fimd.wincon0 = S3C_WINCONx_BYTSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_8BPP_PAL;
+		s3cfb_fimd.wincon1 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon2 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon3 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon4 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.bpp = S3CFB_PIXEL_BPP_8;
+		s3cfb_fimd.bytes_per_pixel = 1;
+		s3cfb_fimd.wpalcon = S3C_WPALCON_W0PAL_16BIT;
+		break;
+
+	case 16:
+		s3cfb_fimd.wincon0 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565;
+		s3cfb_fimd.wincon1 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon2 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon3 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon4 = S3C_WINCONx_HAWSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_16BPP_565 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.bpp = S3CFB_PIXEL_BPP_16;
+		s3cfb_fimd.bytes_per_pixel = 2;
+		break;
+
+	case 24:
+		s3cfb_fimd.wincon0 = S3C_WINCONx_WSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888;
+		s3cfb_fimd.wincon1 = S3C_WINCONx_WSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon2 = S3C_WINCONx_WSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon3 = S3C_WINCONx_WSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+		s3cfb_fimd.wincon4 = S3C_WINCONx_WSWP_ENABLE | S3C_WINCONx_BURSTLEN_16WORD | S3C_WINCONx_BPPMODE_F_24BPP_888 | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1;
+        	s3cfb_fimd.bpp = S3CFB_PIXEL_BPP_24;
+		s3cfb_fimd.bytes_per_pixel = 4;
+		break;
+
+	case 32:
+		s3cfb_fimd.bytes_per_pixel = 4;
+		break;
+	}
+
+	#if defined(CONFIG_CPU_S5P6440)
+	#if defined(CONFIG_FB_S3C_BPP_24)
+		s3cfb_fimd.wincon0|= 0x8000;
+		s3cfb_fimd.wincon1|= 0x8000;
+		s3cfb_fimd.wincon2|= 0x8000;
+		s3cfb_fimd.wincon3|= 0x8000;
+		s3cfb_fimd.wincon4|= 0x8000;
+	#endif
+		s3cfb_fimd.vidcon0 = 0x153;
+	#endif
+
+	/* write new registers */
+	writel(s3cfb_fimd.wincon0, S3C_WINCON0);
+	writel(s3cfb_fimd.wincon1, S3C_WINCON1);
+	writel(s3cfb_fimd.wincon2, S3C_WINCON2);
+	writel(s3cfb_fimd.wincon3, S3C_WINCON3);
+	writel(s3cfb_fimd.wincon4, S3C_WINCON4);
+	writel(s3cfb_fimd.wpalcon, S3C_WPALCON);
+	writel(s3cfb_fimd.wincon0 | S3C_WINCONx_ENWIN_F_ENABLE, S3C_WINCON0);
+	writel(s3cfb_fimd.vidcon0 | S3C_VIDCON0_ENVID_ENABLE | S3C_VIDCON0_ENVID_F_ENABLE, S3C_VIDCON0);
+}
+
+/* JJNAHM comment.
+ * We had some problems related to frame buffer address.
+ * We used 2 frame buffers (FB0 and FB1) and GTK used FB1.
+ * When GTK launched, GTK set FB0's address to FB1's address.
+ * (GTK calls s3c_fb_pan_display() and then it calls this s3c_fb_set_lcdaddr())
+ * Even though fbi->win_id is not 0, above original codes set ONLY FB0's address.
+ * So, I modified the codes like below.
+ * It works by fbi->win_id value.
+ * Below codes are not verified yet
+ * and there are nothing about Double buffering features
+ */
+void s3cfb_set_fb_addr(s3cfb_info_t *fbi)
+{
+	unsigned long video_phy_temp_f1 = fbi->screen_dma_f1;
+	unsigned long start_address, end_address;
+	unsigned int start;
+
+	start = fbi->fb.fix.line_length * fbi->fb.var.yoffset;
+
+	/* for buffer start address and end address */
+	start_address = video_phy_temp_f1 + start;
+	end_address = start_address + (fbi->fb.fix.line_length * fbi->fb.var.yres);
+
+	switch (fbi->win_id)
+	{
+	case 0:
+		s3cfb_fimd.vidw00add0b0 = start_address;
+		s3cfb_fimd.vidw00add1b0 = end_address;
+		__raw_writel(s3cfb_fimd.vidw00add0b0, S3C_VIDW00ADD0B0);
+		__raw_writel(s3cfb_fimd.vidw00add1b0, S3C_VIDW00ADD1B0);
+        	break;
+
+	case 1:
+		s3cfb_fimd.vidw01add0b0 = start_address;
+		s3cfb_fimd.vidw01add1b0 = end_address;
+		__raw_writel(s3cfb_fimd.vidw01add0b0, S3C_VIDW01ADD0B0);
+		__raw_writel(s3cfb_fimd.vidw01add1b0, S3C_VIDW01ADD1B0);
+		break;
+
+	case 2:
+		s3cfb_fimd.vidw02add0 = start_address;
+		s3cfb_fimd.vidw02add1 = end_address;
+		__raw_writel(s3cfb_fimd.vidw02add0, S3C_VIDW02ADD0);
+		__raw_writel(s3cfb_fimd.vidw02add1, S3C_VIDW02ADD1);
+	        break;
+
+	case 3:
+		s3cfb_fimd.vidw03add0 = start_address;
+		s3cfb_fimd.vidw03add1 = end_address;
+		__raw_writel(s3cfb_fimd.vidw03add0, S3C_VIDW03ADD0);
+		__raw_writel(s3cfb_fimd.vidw03add1, S3C_VIDW03ADD1);
+		break;
+
+	case 4:
+		s3cfb_fimd.vidw04add0 = start_address;
+		s3cfb_fimd.vidw04add1 = end_address;
+		__raw_writel(s3cfb_fimd.vidw04add0, S3C_VIDW04ADD0);
+		__raw_writel(s3cfb_fimd.vidw04add1, S3C_VIDW04ADD1);
+		break;
+	}
+}
+
+static int s3cfb_set_alpha_level(s3cfb_info_t *fbi, unsigned int level, unsigned int alpha_index)
+{
+	unsigned long alpha_val;
+	int win_num = fbi->win_id;
+
+	if (win_num == 0) {
+		printk("WIN0 do not support alpha blending.\n");
+		return -1;
+	}
+
+	alpha_val = readl(S3C_VIDOSD0C+(0x10 * win_num));
+
+	if (alpha_index == 0) {
+		alpha_val &= ~(S3C_VIDOSDxC_ALPHA0_B(0xf) | S3C_VIDOSDxC_ALPHA0_G(0xf) | S3C_VIDOSDxC_ALPHA0_R(0xf));
+		alpha_val |= S3C_VIDOSDxC_ALPHA0_B(level) | S3C_VIDOSDxC_ALPHA0_G(level) | S3C_VIDOSDxC_ALPHA0_R(level);
+	} else {
+		alpha_val &= ~(S3C_VIDOSDxC_ALPHA1_B(0xf) | S3C_VIDOSDxC_ALPHA1_G(0xf) | S3C_VIDOSDxC_ALPHA1_R(0xf));
+		alpha_val |= S3C_VIDOSDxC_ALPHA1_B(level) | S3C_VIDOSDxC_ALPHA1_G(level) | S3C_VIDOSDxC_ALPHA1_R(level);
+	}
+
+	writel(alpha_val, S3C_VIDOSD0C + (0x10 * win_num));
+
+	return 0;
+}
+
+int s3cfb_set_alpha_mode(s3cfb_info_t *fbi, int mode)
+{
+	unsigned long alpha_mode;
+	int win_num = fbi->win_id;
+
+	if (win_num == 0) {
+		printk("WIN0 do not support alpha blending.\n");
+		return -1;
+	}
+
+	alpha_mode = readl(S3C_WINCON0 + (0x04 * win_num));
+	alpha_mode &= ~(S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_1);
+
+	switch (mode) {
+	case S3CFB_ALPHA_MODE_PLANE: /* Plane Blending */
+		writel(alpha_mode | S3C_WINCONx_BLD_PIX_PLANE | S3C_WINCONx_ALPHA_SEL_1, S3C_WINCON0 + (0x04 * win_num));
+		break;
+
+	case S3CFB_ALPHA_MODE_PIXEL: /* Pixel Blending & chroma(color) key */
+		writel(alpha_mode | S3C_WINCONx_BLD_PIX_PIXEL | S3C_WINCONx_ALPHA_SEL_0, S3C_WINCON0 + (0x04 * win_num));
+		break;
+	}
+
+	return 0;
+}
+
+int s3cfb_set_win_position(s3cfb_info_t *fbi, int left_x, int top_y, int width, int height)
+{
+	struct fb_var_screeninfo *var= &fbi->fb.var;
+	int win_num = fbi->win_id;
+
+	writel(S3C_VIDOSDxA_OSD_LTX_F(left_x) | S3C_VIDOSDxA_OSD_LTY_F(top_y), S3C_VIDOSD0A + (0x10 * win_num));
+	writel(S3C_VIDOSDxB_OSD_RBX_F(width - 1 + left_x) | S3C_VIDOSDxB_OSD_RBY_F(height - 1 + top_y), S3C_VIDOSD0B + (0x10 * win_num));
+
+	var->xoffset = left_x;
+	var->yoffset = top_y;
+
+	return 0;
+}
+
+int s3cfb_set_win_size(s3cfb_info_t *fbi, int width, int height)
+{
+	struct fb_var_screeninfo *var= &fbi->fb.var;
+	int win_num = fbi->win_id;
+
+	if (win_num == 0)
+		writel(S3C_VIDOSD0C_OSDSIZE(width * height), S3C_VIDOSD0C);
+
+	else if (win_num == 1)
+		writel(S3C_VIDOSD0C_OSDSIZE(width * height), S3C_VIDOSD1D);
+
+	else if (win_num == 2)
+		writel(S3C_VIDOSD0C_OSDSIZE(width * height), S3C_VIDOSD2D);
+
+	var->xres = width;
+	var->yres = height;
+	var->xres_virtual = width;
+	var->yres_virtual = height;
+
+	return 0;
+}
+
+int s3cfb_set_fb_size(s3cfb_info_t *fbi)
+{
+	struct fb_var_screeninfo *var= &fbi->fb.var;
+	int win_num = fbi->win_id;
+	unsigned long offset = 0;
+	unsigned long page_width = 0;
+	unsigned long fb_size = 0;
+
+	page_width = var->xres * s3cfb_fimd.bytes_per_pixel;
+	offset = (var->xres_virtual - var->xres) * s3cfb_fimd.bytes_per_pixel;
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+	if (win_num == 0)
+		offset=0;
+#endif
+
+	writel(S3C_VIDWxxADD1_VBASEL_F((unsigned long) readl(S3C_VIDW00ADD0B0 + (0x08 * win_num)) + (page_width + offset) * (var->yres)), S3C_VIDW00ADD1B0 + (0x08 * win_num));
+
+	if (win_num == 1)
+		writel(S3C_VIDWxxADD1_VBASEL_F((unsigned long) readl(S3C_VIDW00ADD0B1 + (0x08 * win_num)) + (page_width + offset) * (var->yres)), S3C_VIDW00ADD1B1 + (0x08 * win_num));
+
+	/* size of frame buffer */
+	fb_size = S3C_VIDWxxADD2_OFFSIZE_F(offset) | (S3C_VIDWxxADD2_PAGEWIDTH_F(page_width));
+
+	writel(fb_size, S3C_VIDW00ADD2 + (0x04 * win_num));
+
+	return 0;
+}
+
+void s3cfb_set_output_path(int out)
+{
+	unsigned int tmp;
+
+	tmp = readl(S3C_VIDCON0);
+
+	/* if output mode is LCD mode, Scan mode always should be progressive mode */
+	if (out == S3CFB_OUTPUT_TV)
+		tmp &= ~S3C_VIDCON0_INTERLACE_F_MASK;
+
+	tmp &= ~S3C_VIDCON0_VIDOUT_MASK;
+	tmp |= S3C_VIDCON0_VIDOUT(out);
+
+	writel(tmp, S3C_VIDCON0);
+}
+
+EXPORT_SYMBOL(s3cfb_set_output_path);
+
+void s3cfb_enable_rgbport(int on)
+{
+	if (on)
+		writel(S3C_VIDCON2_ORGYUV_CBCRY | S3C_VIDCON2_YUVORD_CRCB, S3C_VIDCON2);
+	else
+		writel(0, S3C_VIDCON2);
+}
+
+EXPORT_SYMBOL(s3cfb_enable_rgbport);
+
+int s3cfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg)
+{
+	s3cfb_info_t *fbi = container_of(info, s3cfb_info_t, fb);
+	s3cfb_win_info_t win_info;
+	s3cfb_color_key_info_t colkey_info;
+	s3cfb_color_val_info_t colval_info;
+	s3cfb_dma_info_t dma_info;
+	s3cfb_next_info_t next_fb_info;
+	struct fb_var_screeninfo *var= &fbi->fb.var;
+	unsigned int crt, alpha_level, alpha_mode;
+
+/* should be fixed for c100 */
+#if defined(CONFIG_S3C6410_PWM) || defined(CONFIG_S5PC1XX_PWM)
+	int brightness;
+#endif
+
+#if defined(CONFIG_FB_S3C_DOUBLE_BUFFERING)
+	unsigned int f_num_val;
+#endif
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+	s3cfb_vs_info_t vs_info;
+#endif
+
+	switch(cmd){
+	case S3CFB_GET_INFO:
+		dma_info.map_dma_f1 = fbi->map_dma_f1;
+		dma_info.map_dma_f2 = fbi->map_dma_f2;
+
+		if(copy_to_user((void *) arg, (const void *) &dma_info, sizeof(s3cfb_dma_info_t)))
+			return -EFAULT;
+		break;
+
+	case S3CFB_OSD_SET_INFO:
+		if (copy_from_user(&win_info, (s3cfb_win_info_t *) arg, sizeof(s3cfb_win_info_t)))
+			return -EFAULT;
+
+		s3cfb_init_win(fbi, win_info.bpp, win_info.left_x, win_info.top_y, win_info.width, win_info.height, OFF);
+		break;
+
+	case S3CFB_OSD_START:
+		s3cfb_onoff_win(fbi, ON);
+		break;
+
+	case S3CFB_OSD_STOP:
+		s3cfb_onoff_win(fbi, OFF);
+		break;
+
+	case S3CFB_OSD_ALPHA_UP:
+		alpha_level = readl(S3C_VIDOSD0C + (0x10 * fbi->win_id)) & 0xf;
+
+		if (alpha_level < S3CFB_MAX_ALPHA_LEVEL)
+			alpha_level++;
+
+		s3cfb_set_alpha_level(fbi, alpha_level, 1);
+		break;
+
+	case S3CFB_OSD_ALPHA_DOWN:
+		alpha_level = readl(S3C_VIDOSD0C + (0x10 * fbi->win_id)) & 0xf;
+
+		if (alpha_level > 0)
+			alpha_level--;
+
+		s3cfb_set_alpha_level(fbi, alpha_level, 1);
+		break;
+
+	case S3CFB_OSD_ALPHA0_SET:
+		alpha_level = (unsigned int) arg;
+
+		if (alpha_level > S3CFB_MAX_ALPHA_LEVEL)
+			alpha_level = S3CFB_MAX_ALPHA_LEVEL;
+
+		s3cfb_set_alpha_level(fbi, alpha_level, 0);
+		break;
+
+	case S3CFB_OSD_ALPHA1_SET:
+		alpha_level = (unsigned int) arg;
+
+		if (alpha_level > S3CFB_MAX_ALPHA_LEVEL)
+			alpha_level = S3CFB_MAX_ALPHA_LEVEL;
+
+		s3cfb_set_alpha_level(fbi, alpha_level, 1);
+		break;
+
+	case S3CFB_OSD_ALPHA_MODE:
+		alpha_mode = (unsigned int) arg;
+		s3cfb_set_alpha_mode(fbi, alpha_mode);
+		break;
+
+	case S3CFB_OSD_MOVE_LEFT:
+		if (var->xoffset > 0)
+			var->xoffset--;
+
+		s3cfb_set_win_position(fbi, var->xoffset, var->yoffset, var->xres, var->yres);
+		break;
+
+	case S3CFB_OSD_MOVE_RIGHT:
+		if (var->xoffset < (s3cfb_fimd.width - var->xres))
+			var->xoffset++;
+
+		s3cfb_set_win_position(fbi, var->xoffset, var->yoffset, var->xres, var->yres);
+		break;
+
+	case S3CFB_OSD_MOVE_UP:
+		if (var->yoffset > 0)
+			var->yoffset--;
+
+		s3cfb_set_win_position(fbi, var->xoffset, var->yoffset, var->xres, var->yres);
+		break;
+
+	case S3CFB_OSD_MOVE_DOWN:
+		if (var->yoffset < (s3cfb_fimd.height - var->yres))
+			var->yoffset++;
+
+		s3cfb_set_win_position(fbi, var->xoffset, var->yoffset, var->xres, var->yres);
+		break;
+
+	case FBIO_WAITFORVSYNC:
+		if (get_user(crt, (unsigned int __user *)arg))
+			return -EFAULT;
+
+		return s3cfb_wait_for_vsync();
+
+	case S3CFB_COLOR_KEY_START:
+		s3cfb_onoff_color_key(fbi, ON);
+		break;
+
+	case S3CFB_COLOR_KEY_STOP:
+		s3cfb_onoff_color_key(fbi, OFF);
+		break;
+
+	case S3CFB_COLOR_KEY_ALPHA_START:
+		s3cfb_onoff_color_key_alpha(fbi, ON);
+		break;
+
+	case S3CFB_COLOR_KEY_ALPHA_STOP:
+		s3cfb_onoff_color_key_alpha(fbi, OFF);
+		break;
+
+	case S3CFB_COLOR_KEY_SET_INFO:
+		if (copy_from_user(&colkey_info, (s3cfb_color_val_info_t *) arg, sizeof(s3cfb_color_val_info_t)))
+			return -EFAULT;
+
+		s3cfb_set_color_key_registers(fbi, colkey_info);
+		break;
+
+	case S3CFB_COLOR_KEY_VALUE:
+		if (copy_from_user(&colval_info, (s3cfb_color_val_info_t *) arg, sizeof(s3cfb_color_val_info_t)))
+			return -EFAULT;
+
+		s3cfb_set_color_value(fbi, colval_info);
+		break;
+
+	case S3CFB_SET_VSYNC_INT:
+		s3cfb_fimd.vidintcon0 &= ~S3C_VIDINTCON0_FRAMESEL0_MASK;
+		s3cfb_fimd.vidintcon0 |= S3C_VIDINTCON0_FRAMESEL0_VSYNC;
+
+		if (arg)
+			s3cfb_fimd.vidintcon0 |= S3C_VIDINTCON0_INTFRMEN_ENABLE;
+		else
+			s3cfb_fimd.vidintcon0 &= ~S3C_VIDINTCON0_INTFRMEN_ENABLE;
+
+		writel(s3cfb_fimd.vidintcon0, S3C_VIDINTCON0);
+		break;
+
+	case S3CFB_SET_NEXT_FB_INFO:
+		if (copy_from_user(&next_fb_info, (s3cfb_next_info_t *) arg, sizeof(s3cfb_next_info_t)))
+			return -EFAULT;
+
+		/* check arguments */
+		if ((next_fb_info.xres + next_fb_info.xoffset) > next_fb_info.xres_virtual ||
+			(next_fb_info.yres + next_fb_info.yoffset) > next_fb_info.yres_virtual ||
+			(next_fb_info.xres + next_fb_info.lcd_offset_x ) > s3cfb_fimd.width ||
+			(next_fb_info.yres + next_fb_info.lcd_offset_y ) > s3cfb_fimd.height)
+			return -EINVAL;
+
+		fbi->next_fb_info = next_fb_info;
+		fbi->next_fb_info_change_req = 1;
+		break;
+
+	case S3CFB_GET_CURR_FB_INFO:
+		next_fb_info.phy_start_addr = fbi->fb.fix.smem_start;
+		next_fb_info.xres = fbi->fb.var.xres;
+		next_fb_info.yres = fbi->fb.var.yres;
+		next_fb_info.xres_virtual = fbi->fb.var.xres_virtual;
+		next_fb_info.yres_virtual = fbi->fb.var.yres_virtual;
+		next_fb_info.xoffset = fbi->fb.var.xoffset;
+		next_fb_info.yoffset = fbi->fb.var.yoffset;
+		next_fb_info.lcd_offset_x = fbi->lcd_offset_x;
+		next_fb_info.lcd_offset_y = fbi->lcd_offset_y;
+
+		if (copy_to_user((void *)arg, (s3cfb_next_info_t *) &next_fb_info, sizeof(s3cfb_next_info_t)))
+			return -EFAULT;
+		break;
+
+	case S3CFB_GET_BRIGHTNESS:
+		if (copy_to_user((void *)arg, (const void *) &s3cfb_fimd.brightness, sizeof(int)))
+			return -EFAULT;
+		break;
+
+/* should be fixed for c100 */
+#if defined(CONFIG_S3C6410_PWM) || defined(CONFIG_S5PC1XX_PWM)
+	case S3CFB_SET_BRIGHTNESS:
+		if (copy_from_user(&brightness, (int *) arg, sizeof(int)))
+			return -EFAULT;
+
+		s3cfb_set_brightness(brightness);
+		break;
+#endif
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+	case S3CFB_VS_START:
+		s3cfb_fimd.wincon0 &= ~(S3C_WINCONx_ENWIN_F_ENABLE);
+		writel(s3cfb_fimd.wincon0 | S3C_WINCONx_ENWIN_F_ENABLE, S3C_WINCON0);
+
+		fbi->fb.var.xoffset = s3cfb_fimd.xoffset;
+		fbi->fb.var.yoffset = s3cfb_fimd.yoffset;
+		break;
+
+	case S3CFB_VS_STOP:
+		s3cfb_fimd.vidw00add0b0 = fbi->screen_dma_f1;
+		s3cfb_fimd.vidw00add0b1 = fbi->screen_dma_f2;
+		fbi->fb.var.xoffset = 0;
+		fbi->fb.var.yoffset = 0;
+
+		writel(s3cfb_fimd.vidw00add0b0, S3C_VIDW00ADD0B0);
+		writel(s3cfb_fimd.vidw00add0b1, S3C_VIDW00ADD0B1);
+
+		break;
+
+	case S3CFB_VS_SET_INFO:
+		if (copy_from_user(&vs_info, (s3cfb_vs_info_t *) arg, sizeof(s3cfb_vs_info_t)))
+			return -EFAULT;
+
+		if (s3cfb_set_vs_info(vs_info)) {
+			printk("Error S3CFB_VS_SET_INFO\n");
+			return -EINVAL;
+		}
+
+		s3cfb_set_vs_registers(S3CFB_VS_SET);
+
+		fbi->fb.var.xoffset = s3cfb_fimd.xoffset;
+		fbi->fb.var.yoffset = s3cfb_fimd.yoffset;
+		break;
+
+	case S3CFB_VS_MOVE:
+		s3cfb_set_vs_registers(arg);
+
+		fbi->fb.var.xoffset = s3cfb_fimd.xoffset;
+		fbi->fb.var.yoffset = s3cfb_fimd.yoffset;
+		break;
+#endif
+
+#if defined(CONFIG_FB_S3C_DOUBLE_BUFFERING)
+	case S3CFB_GET_NUM:
+		if (copy_from_user((void *)&f_num_val, (const void *)arg, sizeof(u_int)))
+			return -EFAULT;
+
+		if (copy_to_user((void *)arg, (const void *) &f_num_val, sizeof(u_int)))
+			return -EFAULT;
+
+		break;
+
+	case S3CFB_CHANGE_REQ:
+		s3cfb_change_buff(0, (int) arg);
+		break;
+#endif
+
+	default:
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+void s3cfb_pre_init(void)
+{
+	/* initialize the fimd specific */
+	s3cfb_fimd.vidintcon0 &= ~S3C_VIDINTCON0_FRAMESEL0_MASK;
+	s3cfb_fimd.vidintcon0 |= S3C_VIDINTCON0_FRAMESEL0_VSYNC;
+	s3cfb_fimd.vidintcon0 |= S3C_VIDINTCON0_INTFRMEN_ENABLE;
+
+	writel(s3cfb_fimd.vidintcon0, S3C_VIDINTCON0);
+}
+
+#if defined(CONFIG_CPU_S5PC100)
+int s3cfb_set_gpio(void)
+{
+	int i, err;
+
+	/* LCD_HSYNC, LCD_VSYNC, LCD_VDEN, LCD_VCLK, VD[23:0] */
+	for (i = 0; i < 8; i++)
+		s3c_gpio_cfgpin(S5PC1XX_GPF0(i), S3C_GPIO_SFN(2));
+
+	for (i = 0; i < 8; i++)
+		s3c_gpio_cfgpin(S5PC1XX_GPF1(i), S3C_GPIO_SFN(2));
+
+	for (i = 0; i < 8; i++)
+		s3c_gpio_cfgpin(S5PC1XX_GPF2(i), S3C_GPIO_SFN(2));
+
+	for (i = 0; i < 4; i++)
+		s3c_gpio_cfgpin(S5PC1XX_GPF3(i), S3C_GPIO_SFN(2));
+
+#ifndef CONFIG_BACKLIGHT_PWM
+	/* backlight ON */
+	if (gpio_is_valid(S5PC1XX_GPD(0))) {
+		err = gpio_request(S5PC1XX_GPD(0), "GPD");
+
+		if (err) {
+			printk(KERN_ERR "failed to request GPD for "
+				"lcd backlight control\n");
+			return err;
+		}
+
+		gpio_direction_output(S5PC1XX_GPD(0), 1);
+	}
+#endif
+
+	/* module reset */
+	if (gpio_is_valid(S5PC1XX_GPH0(6))) {
+		err = gpio_request(S5PC1XX_GPH0(6), "GPH0");
+
+		if (err) {
+			printk(KERN_ERR "failed to request GPH0 for "
+				"lcd reset control\n");
+			return err;
+		}
+
+		gpio_direction_output(S5PC1XX_GPH0(6), 1);
+	}
+
+	mdelay(100);
+
+	gpio_set_value(S5PC1XX_GPH0(6), 0);
+	mdelay(10);
+
+	gpio_set_value(S5PC1XX_GPH0(6), 1);
+	mdelay(10);
+
+	gpio_free(S5PC1XX_GPH0(6));
+#ifndef CONFIG_BACKLIGHT_PWM
+	gpio_free(S5PC1XX_GPD(0));
+#endif
+
+	return 0;
+}
+#elif defined(CONFIG_CPU_S5P6440)
+int s3cfb_set_gpio(void)
+{
+	int i, err;
+
+	int val;
+	val = readl(S5P64XX_SPC_BASE);
+	val &= ~0x3;
+	val |= (1 << 0);
+	writel(val, S5P64XX_SPC_BASE);
+
+	/* LCD_HSYNC, LCD_VSYNC, LCD_VDEN, LCD_VCLK, VD[23:0] */
+	for (i = 0; i < 16; i++)
+		s3c_gpio_cfgpin(S5P64XX_GPI(i), S3C_GPIO_SFN(2));
+
+	for (i = 0; i < 12; i++)
+		s3c_gpio_cfgpin(S5P64XX_GPJ(i), S3C_GPIO_SFN(2));
+
+#ifndef CONFIG_BACKLIGHT_PWM
+	/* backlight ON */
+	if (gpio_is_valid(S5P64XX_GPF(15))) {
+		err = gpio_request(S5P64XX_GPF(15), "GPF");
+
+		if (err) {
+			printk(KERN_ERR "failed to request GPD for "
+				"lcd backlight control\n");
+			return err;
+		}
+
+		gpio_direction_output(S5P64XX_GPF(15), 1);
+	}
+#endif
+	/* module reset */
+	if (gpio_is_valid(S5P64XX_GPN(5))) {
+		err = gpio_request(S5P64XX_GPN(5), "GPN");
+
+		if (err) {
+			printk(KERN_ERR "failed to request GPH0 for "
+				"lcd reset control\n");
+			return err;
+		}
+
+		gpio_direction_output(S5P64XX_GPN(5), 1);
+	}
+
+	mdelay(100);
+
+	gpio_set_value(S5P64XX_GPN(5), 0);
+	mdelay(10);
+
+	gpio_set_value(S5P64XX_GPN(5), 1);
+	mdelay(10);
+
+	gpio_free(S5P64XX_GPN(5));
+	gpio_free(S5P64XX_GPF(15));
+
+	return 0;
+}
+#endif
+
+#if defined(CONFIG_PM)
+
+static struct sleep_save s3c_lcd_save[] = {
+	SAVE_ITEM(S3C_VIDCON0),
+	SAVE_ITEM(S3C_VIDCON1),
+
+	SAVE_ITEM(S3C_VIDTCON0),
+	SAVE_ITEM(S3C_VIDTCON1),
+	SAVE_ITEM(S3C_VIDTCON2),
+	SAVE_ITEM(S3C_VIDTCON3),
+
+	SAVE_ITEM(S3C_WINCON0),
+	SAVE_ITEM(S3C_WINCON1),
+	SAVE_ITEM(S3C_WINCON2),
+	SAVE_ITEM(S3C_WINCON3),
+	SAVE_ITEM(S3C_WINCON4),
+
+	SAVE_ITEM(S3C_VIDOSD0A),
+	SAVE_ITEM(S3C_VIDOSD0B),
+	SAVE_ITEM(S3C_VIDOSD0C),
+
+	SAVE_ITEM(S3C_VIDOSD1A),
+	SAVE_ITEM(S3C_VIDOSD1B),
+	SAVE_ITEM(S3C_VIDOSD1C),
+	SAVE_ITEM(S3C_VIDOSD1D),
+
+	SAVE_ITEM(S3C_VIDOSD2A),
+	SAVE_ITEM(S3C_VIDOSD2B),
+	SAVE_ITEM(S3C_VIDOSD2C),
+	SAVE_ITEM(S3C_VIDOSD2D),
+
+	SAVE_ITEM(S3C_VIDOSD3A),
+	SAVE_ITEM(S3C_VIDOSD3B),
+	SAVE_ITEM(S3C_VIDOSD3C),
+
+	SAVE_ITEM(S3C_VIDOSD4A),
+	SAVE_ITEM(S3C_VIDOSD4B),
+	SAVE_ITEM(S3C_VIDOSD4C),
+
+	SAVE_ITEM(S3C_VIDW00ADD0B0),
+	SAVE_ITEM(S3C_VIDW00ADD0B1),
+	SAVE_ITEM(S3C_VIDW01ADD0B0),
+	SAVE_ITEM(S3C_VIDW01ADD0B1),
+	SAVE_ITEM(S3C_VIDW02ADD0),
+	SAVE_ITEM(S3C_VIDW03ADD0),
+	SAVE_ITEM(S3C_VIDW04ADD0),
+	SAVE_ITEM(S3C_VIDW00ADD1B0),
+	SAVE_ITEM(S3C_VIDW00ADD1B1),
+	SAVE_ITEM(S3C_VIDW01ADD1B0),
+	SAVE_ITEM(S3C_VIDW01ADD1B1),
+	SAVE_ITEM(S3C_VIDW02ADD1),
+	SAVE_ITEM(S3C_VIDW03ADD1),
+	SAVE_ITEM(S3C_VIDW04ADD1),
+	SAVE_ITEM(S3C_VIDW00ADD2),
+	SAVE_ITEM(S3C_VIDW01ADD2),
+	SAVE_ITEM(S3C_VIDW02ADD2),
+	SAVE_ITEM(S3C_VIDW03ADD2),
+	SAVE_ITEM(S3C_VIDW04ADD2),
+
+	SAVE_ITEM(S3C_VIDINTCON0),
+	SAVE_ITEM(S3C_VIDINTCON1),
+	SAVE_ITEM(S3C_W1KEYCON0),
+	SAVE_ITEM(S3C_W1KEYCON1),
+	SAVE_ITEM(S3C_W2KEYCON0),
+	SAVE_ITEM(S3C_W2KEYCON1),
+
+	SAVE_ITEM(S3C_W3KEYCON0),
+	SAVE_ITEM(S3C_W3KEYCON1),
+	SAVE_ITEM(S3C_W4KEYCON0),
+	SAVE_ITEM(S3C_W4KEYCON1),
+	SAVE_ITEM(S3C_DITHMODE),
+
+	SAVE_ITEM(S3C_WIN0MAP),
+	SAVE_ITEM(S3C_WIN1MAP),
+	SAVE_ITEM(S3C_WIN2MAP),
+	SAVE_ITEM(S3C_WIN3MAP),
+	SAVE_ITEM(S3C_WIN4MAP),
+	SAVE_ITEM(S3C_WPALCON),
+
+	SAVE_ITEM(S3C_TRIGCON),
+	SAVE_ITEM(S3C_I80IFCONA0),
+	SAVE_ITEM(S3C_I80IFCONA1),
+	SAVE_ITEM(S3C_I80IFCONB0),
+	SAVE_ITEM(S3C_I80IFCONB1),
+	SAVE_ITEM(S3C_LDI_CMDCON0),
+	SAVE_ITEM(S3C_LDI_CMDCON1),
+	SAVE_ITEM(S3C_SIFCCON0),
+	SAVE_ITEM(S3C_SIFCCON1),
+	SAVE_ITEM(S3C_SIFCCON2),
+
+	SAVE_ITEM(S3C_LDI_CMD0),
+	SAVE_ITEM(S3C_LDI_CMD1),
+	SAVE_ITEM(S3C_LDI_CMD2),
+	SAVE_ITEM(S3C_LDI_CMD3),
+	SAVE_ITEM(S3C_LDI_CMD4),
+	SAVE_ITEM(S3C_LDI_CMD5),
+	SAVE_ITEM(S3C_LDI_CMD6),
+	SAVE_ITEM(S3C_LDI_CMD7),
+	SAVE_ITEM(S3C_LDI_CMD8),
+	SAVE_ITEM(S3C_LDI_CMD9),
+	SAVE_ITEM(S3C_LDI_CMD10),
+	SAVE_ITEM(S3C_LDI_CMD11),
+
+	SAVE_ITEM(S3C_W2PDATA01),
+	SAVE_ITEM(S3C_W2PDATA23),
+	SAVE_ITEM(S3C_W2PDATA45),
+	SAVE_ITEM(S3C_W2PDATA67),
+	SAVE_ITEM(S3C_W2PDATA89),
+	SAVE_ITEM(S3C_W2PDATAAB),
+	SAVE_ITEM(S3C_W2PDATACD),
+	SAVE_ITEM(S3C_W2PDATAEF),
+	SAVE_ITEM(S3C_W3PDATA01),
+	SAVE_ITEM(S3C_W3PDATA23),
+	SAVE_ITEM(S3C_W3PDATA45),
+	SAVE_ITEM(S3C_W3PDATA67),
+	SAVE_ITEM(S3C_W3PDATA89),
+	SAVE_ITEM(S3C_W3PDATAAB),
+	SAVE_ITEM(S3C_W3PDATACD),
+	SAVE_ITEM(S3C_W3PDATAEF),
+	SAVE_ITEM(S3C_W4PDATA01),
+	SAVE_ITEM(S3C_W4PDATA23),
+};
+
+/*
+ *  Suspend
+ */
+int s3cfb_suspend(struct platform_device *dev, pm_message_t state)
+{
+	struct fb_info *fbinfo = platform_get_drvdata(dev);
+	s3cfb_info_t *info = fbinfo->par;
+
+	s3cfb_stop_lcd();
+#if defined(CONFIG_CPU_S5P6440)
+	s5p6440_pm_do_save(s3c_lcd_save, ARRAY_SIZE(s3c_lcd_save));
+#else
+	s5pc1xx_pm_do_save(s3c_lcd_save, ARRAY_SIZE(s3c_lcd_save));
+#endif
+
+	/* sleep before disabling the clock, we need to ensure
+	 * the LCD DMA engine is not going to get back on the bus
+	 * before the clock goes off again (bjd) */
+
+	msleep(1);
+	clk_disable(info->clk);
+
+	return 0;
+}
+
+/*
+ *  Resume
+ */
+int s3cfb_resume(struct platform_device *dev)
+{
+	struct fb_info *fbinfo = platform_get_drvdata(dev);
+	s3cfb_info_t *info = fbinfo->par;
+
+	clk_enable(info->clk);
+	msleep(1);
+#if defined(CONFIG_CPU_S5P6440)
+	s5p6440_pm_do_restore(s3c_lcd_save, ARRAY_SIZE(s3c_lcd_save));
+#else
+	s5pc1xx_pm_do_restore(s3c_lcd_save, ARRAY_SIZE(s3c_lcd_save));
+#endif
+
+	s3cfb_init_hw();
+	s3cfb_start_lcd();
+
+	return 0;
+}
+
+#else
+
+int s3cfb_suspend(struct platform_device *dev, pm_message_t state)
+{
+	return 0;
+}
+
+int s3cfb_resume(struct platform_device *dev)
+{
+	return 0;
+}
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/samsung/s3cfb_lte480wv.c linux-2.6.28.6/drivers/video/samsung/s3cfb_lte480wv.c
--- linux-2.6.28/drivers/video/samsung/s3cfb_lte480wv.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/samsung/s3cfb_lte480wv.c	2009-10-12 12:00:56.000000000 +0200
@@ -0,0 +1,98 @@
+/*
+ * drivers/video/s3c/s3cfb_lte480wv.c
+ *
+ * $Id: s3cfb_lte480wv.c,v 1.12 2008/06/05 02:13:24 jsgood Exp $
+ *
+ * Copyright (C) 2008 Jinsung Yang <jsgood.yang@samsung.com>
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file COPYING in the main directory of this archive for
+ * more details.
+ *
+ *	S3C Frame Buffer Driver
+ *	based on skeletonfb.c, sa1100fb.h, s3c2410fb.c
+ */
+
+#include <linux/wait.h>
+#include <linux/fb.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+
+#include <plat/regs-gpio.h>
+#include <plat/regs-lcd.h>
+
+#include "s3cfb.h"
+
+#define S3CFB_HFP		40	/* front porch */
+#define S3CFB_HSW		48	/* hsync width */
+#define S3CFB_HBP		40	/* back porch */
+
+#define S3CFB_VFP		13	/* front porch */
+#define S3CFB_VSW		3	/* vsync width */
+#define S3CFB_VBP		29	/* back porch */
+
+#define S3CFB_HRES		800	/* horizon pixel  x resolition */
+#define S3CFB_VRES		480	/* line cnt       y resolution */
+
+#define S3CFB_HRES_VIRTUAL	800	/* horizon pixel  x resolition */
+#define S3CFB_VRES_VIRTUAL	960	/* line cnt       y resolution */
+
+#define S3CFB_HRES_OSD		800	/* horizon pixel  x resolition */
+#define S3CFB_VRES_OSD		480	/* line cnt       y resolution */
+
+#define S3CFB_VFRAME_FREQ     	60	/* frame rate freq */
+
+#define S3CFB_PIXEL_CLOCK	(S3CFB_VFRAME_FREQ * (S3CFB_HFP + S3CFB_HSW + S3CFB_HBP + S3CFB_HRES) * (S3CFB_VFP + S3CFB_VSW + S3CFB_VBP + S3CFB_VRES))
+
+static void s3cfb_set_fimd_info(void)
+{
+	s3cfb_fimd.vidcon1 = S3C_VIDCON1_IHSYNC_INVERT | S3C_VIDCON1_IVSYNC_INVERT | S3C_VIDCON1_IVDEN_NORMAL;
+	s3cfb_fimd.vidtcon0 = S3C_VIDTCON0_VBPD(S3CFB_VBP - 1) | S3C_VIDTCON0_VFPD(S3CFB_VFP - 1) | S3C_VIDTCON0_VSPW(S3CFB_VSW - 1);
+	s3cfb_fimd.vidtcon1 = S3C_VIDTCON1_HBPD(S3CFB_HBP - 1) | S3C_VIDTCON1_HFPD(S3CFB_HFP - 1) | S3C_VIDTCON1_HSPW(S3CFB_HSW - 1);
+	s3cfb_fimd.vidtcon2 = S3C_VIDTCON2_LINEVAL(S3CFB_VRES - 1) | S3C_VIDTCON2_HOZVAL(S3CFB_HRES - 1);
+
+	s3cfb_fimd.vidosd0a = S3C_VIDOSDxA_OSD_LTX_F(0) | S3C_VIDOSDxA_OSD_LTY_F(0);
+	s3cfb_fimd.vidosd0b = S3C_VIDOSDxB_OSD_RBX_F(S3CFB_HRES - 1) | S3C_VIDOSDxB_OSD_RBY_F(S3CFB_VRES - 1);
+
+	s3cfb_fimd.vidosd1a = S3C_VIDOSDxA_OSD_LTX_F(0) | S3C_VIDOSDxA_OSD_LTY_F(0);
+	s3cfb_fimd.vidosd1b = S3C_VIDOSDxB_OSD_RBX_F(S3CFB_HRES_OSD - 1) | S3C_VIDOSDxB_OSD_RBY_F(S3CFB_VRES_OSD - 1);
+
+	s3cfb_fimd.width = S3CFB_HRES;
+	s3cfb_fimd.height = S3CFB_VRES;
+	s3cfb_fimd.xres = S3CFB_HRES;
+	s3cfb_fimd.yres = S3CFB_VRES;
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+	s3cfb_fimd.xres_virtual = S3CFB_HRES_VIRTUAL;
+	s3cfb_fimd.yres_virtual = S3CFB_VRES_VIRTUAL;
+#else
+	s3cfb_fimd.xres_virtual = S3CFB_HRES;
+	s3cfb_fimd.yres_virtual = S3CFB_VRES;
+#endif
+
+	s3cfb_fimd.osd_width = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_height = S3CFB_VRES_OSD;
+	s3cfb_fimd.osd_xres = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_yres = S3CFB_VRES_OSD;
+
+	s3cfb_fimd.osd_xres_virtual = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_yres_virtual = S3CFB_VRES_OSD;
+
+	s3cfb_fimd.pixclock = S3CFB_PIXEL_CLOCK;
+
+	s3cfb_fimd.hsync_len = S3CFB_HSW;
+	s3cfb_fimd.vsync_len = S3CFB_VSW;
+	s3cfb_fimd.left_margin = S3CFB_HFP;
+	s3cfb_fimd.upper_margin = S3CFB_VFP;
+	s3cfb_fimd.right_margin = S3CFB_HBP;
+	s3cfb_fimd.lower_margin = S3CFB_VBP;
+}
+
+void s3cfb_init_hw(void)
+{
+	printk(KERN_INFO "LCD TYPE :: LTE480WV will be initialized\n");
+
+	s3cfb_set_fimd_info();
+	s3cfb_set_gpio();
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/samsung/s3cfb_lts222qv.c linux-2.6.28.6/drivers/video/samsung/s3cfb_lts222qv.c
--- linux-2.6.28/drivers/video/samsung/s3cfb_lts222qv.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/samsung/s3cfb_lts222qv.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,365 @@
+/*
+ * drivers/video/s3c/s3cfb_lte480wv.c
+ *
+ * $Id: s3cfb_lts222qv.c,v 1.2 2008/11/18 01:50:23 jsgood Exp $
+ *
+ * Copyright (C) 2008 Jinsung Yang <jsgood.yang@samsung.com>
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file COPYING in the main directory of this archive for
+ * more details.
+ *
+ *	S3C Frame Buffer Driver
+ *	based on skeletonfb.c, sa1100fb.h, s3c2410fb.c
+ */
+
+#include <linux/wait.h>
+#include <linux/fb.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+#include <linux/gpio.h>
+
+#include <plat/gpio-cfg.h>
+#include <plat/regs-lcd.h>
+
+#include "s3cfb.h"
+
+#define S3CFB_SPI_CH		0	/* spi channel for module init */
+
+#if defined(CONFIG_CPU_S5P6440)
+#define S3CFB_HFP		6	/* front porch */
+#define S3CFB_HSW		3	/* hsync width */
+#define S3CFB_HBP		1	/* back porch */
+
+#define S3CFB_VFP		10	/* front porch */
+#define S3CFB_VSW		3	/* vsync width */
+#define S3CFB_VBP		9	/* back porch */
+
+#else
+#define S3CFB_HFP		7	/* front porch */
+#define S3CFB_HSW		4	/* hsync width */
+#define S3CFB_HBP		2	/* back porch */
+
+#define S3CFB_VFP		11	/* front porch */
+#define S3CFB_VSW		4	/* vsync width */
+#define S3CFB_VBP		10	/* back porch */
+#endif
+
+#define S3CFB_HRES		240	/* horizon pixel  x resolition */
+#define S3CFB_VRES		320	/* line cnt       y resolution */
+
+#define S3CFB_HRES_VIRTUAL	240	/* horizon pixel  x resolition */
+#define S3CFB_VRES_VIRTUAL	640	/* line cnt       y resolution */
+
+#define S3CFB_HRES_OSD		240	/* horizon pixel  x resolition */
+#define S3CFB_VRES_OSD		320	/* line cnt       y resolution */
+
+#if defined(CONFIG_PLAT_S3C24XX)
+#define S3CFB_VFRAME_FREQ     	75	/* frame rate freq */
+#else
+#define S3CFB_VFRAME_FREQ     	60	/* frame rate freq */
+#endif
+
+#define S3CFB_PIXEL_CLOCK	(S3CFB_VFRAME_FREQ * (S3CFB_HFP + S3CFB_HSW + S3CFB_HBP + S3CFB_HRES) * (S3CFB_VFP + S3CFB_VSW + S3CFB_VBP + S3CFB_VRES))
+
+static void s3cfb_set_fimd_info(void)
+{
+	s3cfb_fimd.vidcon1 = S3C_VIDCON1_IHSYNC_INVERT | S3C_VIDCON1_IVSYNC_INVERT | S3C_VIDCON1_IVDEN_NORMAL;
+	s3cfb_fimd.vidtcon0 = S3C_VIDTCON0_VBPD(S3CFB_VBP - 1) | S3C_VIDTCON0_VFPD(S3CFB_VFP - 1) | S3C_VIDTCON0_VSPW(S3CFB_VSW - 1);
+	s3cfb_fimd.vidtcon1 = S3C_VIDTCON1_HBPD(S3CFB_HBP - 1) | S3C_VIDTCON1_HFPD(S3CFB_HFP - 1) | S3C_VIDTCON1_HSPW(S3CFB_HSW - 1);
+	s3cfb_fimd.vidtcon2 = S3C_VIDTCON2_LINEVAL(S3CFB_VRES - 1) | S3C_VIDTCON2_HOZVAL(S3CFB_HRES - 1);
+
+	s3cfb_fimd.vidosd0a = S3C_VIDOSDxA_OSD_LTX_F(0) | S3C_VIDOSDxA_OSD_LTY_F(0);
+	s3cfb_fimd.vidosd0b = S3C_VIDOSDxB_OSD_RBX_F(S3CFB_HRES - 1) | S3C_VIDOSDxB_OSD_RBY_F(S3CFB_VRES - 1);
+
+	s3cfb_fimd.vidosd1a = S3C_VIDOSDxA_OSD_LTX_F(0) | S3C_VIDOSDxA_OSD_LTY_F(0);
+	s3cfb_fimd.vidosd1b = S3C_VIDOSDxB_OSD_RBX_F(S3CFB_HRES_OSD - 1) | S3C_VIDOSDxB_OSD_RBY_F(S3CFB_VRES_OSD - 1);
+
+	s3cfb_fimd.width = S3CFB_HRES;
+	s3cfb_fimd.height = S3CFB_VRES;
+	s3cfb_fimd.xres = S3CFB_HRES;
+	s3cfb_fimd.yres = S3CFB_VRES;
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+	s3cfb_fimd.xres_virtual = S3CFB_HRES_VIRTUAL;
+	s3cfb_fimd.yres_virtual = S3CFB_VRES_VIRTUAL;
+#else
+	s3cfb_fimd.xres_virtual = S3CFB_HRES;
+	s3cfb_fimd.yres_virtual = S3CFB_VRES;
+#endif
+
+	s3cfb_fimd.osd_width = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_height = S3CFB_VRES_OSD;
+	s3cfb_fimd.osd_xres = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_yres = S3CFB_VRES_OSD;
+
+	s3cfb_fimd.osd_xres_virtual = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_yres_virtual = S3CFB_VRES_OSD;
+
+     	s3cfb_fimd.pixclock = S3CFB_PIXEL_CLOCK;
+
+	s3cfb_fimd.hsync_len = S3CFB_HSW;
+	s3cfb_fimd.vsync_len = S3CFB_VSW;
+	s3cfb_fimd.left_margin = S3CFB_HFP;
+	s3cfb_fimd.upper_margin = S3CFB_VFP;
+	s3cfb_fimd.right_margin = S3CFB_HBP;
+	s3cfb_fimd.lower_margin = S3CFB_VBP;
+}
+
+static void s3cfb_spi_write_byte(int data)
+{
+	unsigned int delay = 50;
+	int i;
+
+	s3cfb_spi_lcd_den(S3CFB_SPI_CH, 1);
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+	s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 1);
+	udelay(delay);
+
+	s3cfb_spi_lcd_den(S3CFB_SPI_CH, 0);
+	udelay(delay);
+
+	for (i = 7; i >= 0; i--) {
+		s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 0);
+
+		if ((data >> i) & 0x1)
+			s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 1);
+		else
+			s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 0);
+
+		udelay(delay);
+
+		s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+		udelay(delay);
+	}
+
+	s3cfb_spi_lcd_den(S3CFB_SPI_CH, 1);
+	udelay(delay);
+}
+
+static void s3cfb_spi_write(int address, int data)
+{
+	unsigned int mode = 0x8;
+
+	writel(mode | 0x01, S3C_SIFCCON0);
+	writel(mode | 0x03, S3C_SIFCCON0);
+
+	s3cfb_spi_write_byte(address);
+
+	writel(mode | 0x01, S3C_SIFCCON0);
+	writel(mode | 0x00, S3C_SIFCCON0);
+
+	udelay(100);
+
+	writel(mode | 0x01, S3C_SIFCCON0);
+	writel(mode | 0x03, S3C_SIFCCON0);
+
+	s3cfb_spi_write_byte(data);
+
+	writel(mode | 0x01, S3C_SIFCCON0);
+	writel(mode | 0x00, S3C_SIFCCON0);
+}
+
+static void s3cfb_init_ldi(void)
+{
+	unsigned long long endtime;
+
+	s3cfb_spi_write(0x22, 0x01);
+	s3cfb_spi_write(0x03, 0x01);
+
+	s3cfb_spi_write(0x00, 0xa0); udelay(5);
+	s3cfb_spi_write(0x01, 0x10); udelay(5);
+	s3cfb_spi_write(0x02, 0x00); udelay(5);
+	s3cfb_spi_write(0x05, 0x00); udelay(5);
+
+	s3cfb_spi_write(0x0d, 0x00);
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x0e, 0x00); udelay(5);
+	s3cfb_spi_write(0x0f, 0x00); udelay(5);
+	s3cfb_spi_write(0x10, 0x00); udelay(5);
+	s3cfb_spi_write(0x11, 0x00); udelay(5);
+	s3cfb_spi_write(0x12, 0x00); udelay(5);
+	s3cfb_spi_write(0x13, 0x00); udelay(5);
+	s3cfb_spi_write(0x14, 0x00); udelay(5);
+	s3cfb_spi_write(0x15, 0x00); udelay(5);
+	s3cfb_spi_write(0x16, 0x00); udelay(5);
+	s3cfb_spi_write(0x17, 0x00); udelay(5);
+	s3cfb_spi_write(0x34, 0x01); udelay(5);
+
+	s3cfb_spi_write(0x35, 0x00);
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x8d, 0x01); udelay(5);
+	s3cfb_spi_write(0x8b, 0x28); udelay(5);
+	s3cfb_spi_write(0x4b, 0x00); udelay(5);
+	s3cfb_spi_write(0x4e, 0x00); udelay(5);
+	s3cfb_spi_write(0x4d, 0x00); udelay(5);
+	s3cfb_spi_write(0x4e, 0x00); udelay(5);
+	s3cfb_spi_write(0x4f, 0x00); udelay(5);
+
+	s3cfb_spi_write(0x50, 0x00);
+	endtime = get_jiffies_64() + 5; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x86, 0x00); udelay(5);
+	s3cfb_spi_write(0x87, 0x26); udelay(5);
+	s3cfb_spi_write(0x88, 0x02); udelay(5);
+	s3cfb_spi_write(0x89, 0x05); udelay(5);
+	s3cfb_spi_write(0x33, 0x01); udelay(5);
+
+	s3cfb_spi_write(0x37, 0x06);
+	endtime = get_jiffies_64() + 5; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x76, 0x00);
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x42, 0x00); udelay(5);
+	s3cfb_spi_write(0x43, 0x00); udelay(5);
+	s3cfb_spi_write(0x44, 0x00); udelay(5);
+	s3cfb_spi_write(0x45, 0x00); udelay(5);
+	s3cfb_spi_write(0x46, 0xef); udelay(5);
+	s3cfb_spi_write(0x47, 0x00); udelay(5);
+	s3cfb_spi_write(0x48, 0x00); udelay(5);
+
+	s3cfb_spi_write(0x49, 0x01);
+	endtime = get_jiffies_64() + 5; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x4a, 0x3f); udelay(5);
+	s3cfb_spi_write(0x3c, 0x00); udelay(5);
+	s3cfb_spi_write(0x3d, 0x00); udelay(5);
+	s3cfb_spi_write(0x3e, 0x01); udelay(5);
+	s3cfb_spi_write(0x3f, 0x3f); udelay(5);
+	s3cfb_spi_write(0x40, 0x01); udelay(5);
+	s3cfb_spi_write(0x41, 0x0a); udelay(5);
+
+	s3cfb_spi_write(0x8f, 0x3f);
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x90, 0x3f); udelay(5);
+	s3cfb_spi_write(0x91, 0x33); udelay(5);
+	s3cfb_spi_write(0x92, 0x77); udelay(5);
+	s3cfb_spi_write(0x93, 0x77); udelay(5);
+	s3cfb_spi_write(0x94, 0x17); udelay(5);
+	s3cfb_spi_write(0x95, 0x3f); udelay(5);
+	s3cfb_spi_write(0x96, 0x00); udelay(5);
+	s3cfb_spi_write(0x97, 0x33); udelay(5);
+	s3cfb_spi_write(0x98, 0x77); udelay(5);
+	s3cfb_spi_write(0x99, 0x77); udelay(5);
+	s3cfb_spi_write(0x9a, 0x17); udelay(5);
+	s3cfb_spi_write(0x9b, 0x07); udelay(5);
+	s3cfb_spi_write(0x9c, 0x07); udelay(5);
+
+	s3cfb_spi_write(0x9d, 0x80);
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x1d, 0x08);
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x23, 0x00);
+	endtime = get_jiffies_64() + 5; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x24, 0x94);
+	endtime = get_jiffies_64() + 5; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x25, 0x6f);
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x28, 0x1e);
+	s3cfb_spi_write(0x1a, 0x00);
+	s3cfb_spi_write(0x21, 0x10);
+	s3cfb_spi_write(0x18, 0x25);
+
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x19, 0x48);
+	s3cfb_spi_write(0x18, 0xe5);
+
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x18, 0xF7);
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x1b, 0x07);
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x1f, 0x68);
+	s3cfb_spi_write(0x20, 0x45);
+	s3cfb_spi_write(0x1e, 0xc1);
+
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x21, 0x00);
+	s3cfb_spi_write(0x3b, 0x01);
+
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+
+	s3cfb_spi_write(0x00, 0x20);
+	s3cfb_spi_write(0x02, 0x01);
+
+	endtime = get_jiffies_64() + 4; while(jiffies < endtime);
+}
+
+#if defined(CONFIG_CPU_S5P6440)
+static void InitStartPosOnLcd(void)
+{
+	// start addr setting
+	s3cfb_spi_write(0x44, 0x00);            // y addr 2
+	s3cfb_spi_write(0x42, 0x00);            // x addr
+	s3cfb_spi_write(0x43, 0x00);            // y addr 1
+}
+#endif
+
+static void s3cfb_set_gpio_lts222qv(void)
+{
+#if defined(CONFIG_CPU_S5P6440) 
+	gpio_request(S5P64XX_GPN(1), "GPN");
+	gpio_direction_output(S5P64XX_GPN(1), 1);
+	gpio_request(S5P64XX_GPN(2), "GPN");
+	gpio_direction_output(S5P64XX_GPN(2), 1);
+	gpio_request(S5P64XX_GPN(3), "GPN");
+	gpio_direction_output(S5P64XX_GPN(3), 1);
+
+	s3c_gpio_setpull(S5P64XX_GPN(1), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P64XX_GPN(2), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P64XX_GPN(3), S3C_GPIO_PULL_NONE);
+#elif defined(CONFIG_PLAT_S3C64XX)
+	gpio_direction_output(S3C64XX_GPC(1), 1);
+	gpio_direction_output(S3C64XX_GPC(2), 1);
+	gpio_direction_output(S3C64XX_GPC(3), 1);
+
+	s3c_gpio_setpull(S3C64XX_GPC(1), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3C64XX_GPC(2), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3C64XX_GPC(3), S3C_GPIO_PULL_NONE);
+#elif defined(CONFIG_CPU_S5PC100)
+	gpio_request(S5PC1XX_GPB(1), "GPB");
+	gpio_direction_output(S5PC1XX_GPB(1), 1);
+	gpio_request(S5PC1XX_GPB(2), "GPB");
+	gpio_direction_output(S5PC1XX_GPB(2), 1);
+	gpio_request(S5PC1XX_GPB(3), "GPB");
+	gpio_direction_output(S5PC1XX_GPB(3), 1);
+
+	s3c_gpio_setpull(S5PC1XX_GPB(1), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5PC1XX_GPB(2), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5PC1XX_GPB(3), S3C_GPIO_PULL_NONE);
+#endif
+}
+
+void s3cfb_init_hw(void)
+{
+	printk(KERN_INFO "LCD TYPE :: LTV222QV will be initialized\n");
+
+	s3cfb_set_fimd_info();
+	s3cfb_set_gpio();
+
+	if (s3cfb_spi_gpio_request(S3CFB_SPI_CH))
+		printk(KERN_ERR "failed to request GPIO for spi-lcd\n");
+	else {
+		s3cfb_set_gpio_lts222qv();
+		s3cfb_init_ldi();
+		s3cfb_spi_gpio_free(S3CFB_SPI_CH);
+	}
+	#if defined(CONFIG_CPU_S5P6440)
+	InitStartPosOnLcd();
+	#endif
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/samsung/s3cfb_ltv350qv.c linux-2.6.28.6/drivers/video/samsung/s3cfb_ltv350qv.c
--- linux-2.6.28/drivers/video/samsung/s3cfb_ltv350qv.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/samsung/s3cfb_ltv350qv.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,293 @@
+/*
+ * drivers/video/s3c/s3cfb_lte480wv.c
+ *
+ * $Id: s3cfb_ltv350qv.c,v 1.1 2008/11/17 11:12:08 jsgood Exp $
+ *
+ * Copyright (C) 2008 Jinsung Yang <jsgood.yang@samsung.com>
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file COPYING in the main directory of this archive for
+ * more details.
+ *
+ *	S3C Frame Buffer Driver
+ *	based on skeletonfb.c, sa1100fb.h, s3c2410fb.c
+ */
+
+#include <linux/wait.h>
+#include <linux/fb.h>
+#include <linux/delay.h>
+#include <linux/platform_device.h>
+
+#include <plat/regs-lcd.h>
+
+#include "s3cfb.h"
+
+#if defined(CONFIG_PLAT_S5PC1XX)
+#define S3CFB_SPI_CH		0	/* spi channel for module init */
+#else
+#define S3CFB_SPI_CH		1	/* spi channel for module init */
+#endif
+
+#define S3CFB_HFP		3	/* front porch */
+#define S3CFB_HSW		10	/* hsync width */
+#define S3CFB_HBP		5	/* back porch */
+
+#define S3CFB_VFP		3	/* front porch */
+#define S3CFB_VSW		4	/* vsync width */
+#define S3CFB_VBP		5	/* back porch */
+
+#define S3CFB_HRES		320	/* horizon pixel  x resolition */
+#define S3CFB_VRES		240	/* line cnt       y resolution */
+
+#define S3CFB_HRES_VIRTUAL	320	/* horizon pixel  x resolition */
+#define S3CFB_VRES_VIRTUAL	480	/* line cnt       y resolution */
+
+#define S3CFB_HRES_OSD		320	/* horizon pixel  x resolition */
+#define S3CFB_VRES_OSD		240	/* line cnt       y resolution */
+
+#if defined(CONFIG_PLAT_S3C24XX)
+#define S3CFB_VFRAME_FREQ     	75	/* frame rate freq */
+#else
+#define S3CFB_VFRAME_FREQ     	60	/* frame rate freq */
+#endif
+
+#define S3CFB_PIXEL_CLOCK	(S3CFB_VFRAME_FREQ * (S3CFB_HFP + S3CFB_HSW + S3CFB_HBP + S3CFB_HRES) * (S3CFB_VFP + S3CFB_VSW + S3CFB_VBP + S3CFB_VRES))
+
+static void s3cfb_set_fimd_info(void)
+{
+	s3cfb_fimd.vidcon1 = S3C_VIDCON1_IHSYNC_INVERT | S3C_VIDCON1_IVSYNC_INVERT | S3C_VIDCON1_IVDEN_NORMAL;
+	s3cfb_fimd.vidtcon0 = S3C_VIDTCON0_VBPD(S3CFB_VBP - 1) | S3C_VIDTCON0_VFPD(S3CFB_VFP - 1) | S3C_VIDTCON0_VSPW(S3CFB_VSW - 1);
+	s3cfb_fimd.vidtcon1 = S3C_VIDTCON1_HBPD(S3CFB_HBP - 1) | S3C_VIDTCON1_HFPD(S3CFB_HFP - 1) | S3C_VIDTCON1_HSPW(S3CFB_HSW - 1);
+	s3cfb_fimd.vidtcon2 = S3C_VIDTCON2_LINEVAL(S3CFB_VRES - 1) | S3C_VIDTCON2_HOZVAL(S3CFB_HRES - 1);
+
+	s3cfb_fimd.vidosd0a = S3C_VIDOSDxA_OSD_LTX_F(0) | S3C_VIDOSDxA_OSD_LTY_F(0);
+	s3cfb_fimd.vidosd0b = S3C_VIDOSDxB_OSD_RBX_F(S3CFB_HRES - 1) | S3C_VIDOSDxB_OSD_RBY_F(S3CFB_VRES - 1);
+
+	s3cfb_fimd.vidosd1a = S3C_VIDOSDxA_OSD_LTX_F(0) | S3C_VIDOSDxA_OSD_LTY_F(0);
+	s3cfb_fimd.vidosd1b = S3C_VIDOSDxB_OSD_RBX_F(S3CFB_HRES_OSD - 1) | S3C_VIDOSDxB_OSD_RBY_F(S3CFB_VRES_OSD - 1);
+
+	s3cfb_fimd.width = S3CFB_HRES;
+	s3cfb_fimd.height = S3CFB_VRES;
+	s3cfb_fimd.xres = S3CFB_HRES;
+	s3cfb_fimd.yres = S3CFB_VRES;
+
+#if defined(CONFIG_FB_S3C_VIRTUAL_SCREEN)
+	s3cfb_fimd.xres_virtual = S3CFB_HRES_VIRTUAL;
+	s3cfb_fimd.yres_virtual = S3CFB_VRES_VIRTUAL;
+#else
+	s3cfb_fimd.xres_virtual = S3CFB_HRES;
+	s3cfb_fimd.yres_virtual = S3CFB_VRES;
+#endif
+
+	s3cfb_fimd.osd_width = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_height = S3CFB_VRES_OSD;
+	s3cfb_fimd.osd_xres = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_yres = S3CFB_VRES_OSD;
+
+	s3cfb_fimd.osd_xres_virtual = S3CFB_HRES_OSD;
+	s3cfb_fimd.osd_yres_virtual = S3CFB_VRES_OSD;
+
+     	s3cfb_fimd.pixclock = S3CFB_PIXEL_CLOCK;
+
+	s3cfb_fimd.hsync_len = S3CFB_HSW;
+	s3cfb_fimd.vsync_len = S3CFB_VSW;
+	s3cfb_fimd.left_margin = S3CFB_HFP;
+	s3cfb_fimd.upper_margin = S3CFB_VFP;
+	s3cfb_fimd.right_margin = S3CFB_HBP;
+	s3cfb_fimd.lower_margin = S3CFB_VBP;
+}
+
+void s3cfb_spi_write(int address, int data)
+{
+	unsigned int delay = 50;
+	unsigned char dev_id = 0x1d;
+	int i;
+
+	s3cfb_spi_lcd_den(S3CFB_SPI_CH, 1);
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+	s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 1);
+	udelay(delay);
+
+	s3cfb_spi_lcd_den(S3CFB_SPI_CH, 0);
+	udelay(delay);
+
+	for (i = 5; i >= 0; i--) {
+		s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 0);
+
+		if ((dev_id >> i) & 0x1)
+			s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 1);
+		else
+			s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 0);
+
+		udelay(delay);
+
+		s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+		udelay(delay);
+	}
+
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 0);
+	s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 0);
+	udelay(delay);
+
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+	udelay(delay);
+
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 0);
+	s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 0);
+	udelay(delay);
+
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+	udelay(delay);
+
+	for (i = 15; i >= 0; i--) {
+		s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 0);
+
+		if ((address >> i) & 0x1)
+			s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 1);
+		else
+			s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 0);
+
+		udelay(delay);
+
+		s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+		udelay(delay);
+	}
+
+	s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 1);
+	udelay(delay);
+
+	s3cfb_spi_lcd_den(S3CFB_SPI_CH, 1);
+	udelay(delay * 10);
+
+	s3cfb_spi_lcd_den(S3CFB_SPI_CH, 0);
+	udelay(delay);
+
+	for (i = 5; i >= 0; i--) {
+		s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 0);
+
+		if ((dev_id >> i) & 0x1)
+			s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 1);
+		else
+			s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 0);
+
+		udelay(delay);
+
+		s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+		udelay(delay);
+
+	}
+
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 0);
+	s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 1);
+	udelay(delay);
+
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+	udelay(delay);
+
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 0);
+	s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 0);
+	udelay(delay);
+
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+	udelay(delay);
+
+	for (i = 15; i >= 0; i--) {
+		s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 0);
+
+		if ((data >> i) & 0x1)
+			s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 1);
+		else
+			s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 0);
+
+		udelay(delay);
+
+		s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+		udelay(delay);
+
+	}
+
+	s3cfb_spi_lcd_den(S3CFB_SPI_CH, 1);
+	udelay(delay);
+}
+
+static void s3cfb_init_ldi(void)
+{
+	s3cfb_spi_set_lcd_data(S3CFB_SPI_CH);
+	mdelay(5);
+
+	s3cfb_spi_lcd_den(S3CFB_SPI_CH, 1);
+	s3cfb_spi_lcd_dclk(S3CFB_SPI_CH, 1);
+	s3cfb_spi_lcd_dseri(S3CFB_SPI_CH, 1);
+
+	s3cfb_spi_write(0x01, 0x001d);
+	s3cfb_spi_write(0x02, 0x0000);
+    	s3cfb_spi_write(0x03, 0x0000);
+    	s3cfb_spi_write(0x04, 0x0000);
+    	s3cfb_spi_write(0x05, 0x50a3);
+    	s3cfb_spi_write(0x06, 0x0000);
+    	s3cfb_spi_write(0x07, 0x0000);
+    	s3cfb_spi_write(0x08, 0x0000);
+   	s3cfb_spi_write(0x09, 0x0000);
+   	s3cfb_spi_write(0x0a, 0x0000);
+   	s3cfb_spi_write(0x10, 0x0000);
+   	s3cfb_spi_write(0x11, 0x0000);
+   	s3cfb_spi_write(0x12, 0x0000);
+   	s3cfb_spi_write(0x13, 0x0000);
+   	s3cfb_spi_write(0x14, 0x0000);
+   	s3cfb_spi_write(0x15, 0x0000);
+   	s3cfb_spi_write(0x16, 0x0000);
+   	s3cfb_spi_write(0x17, 0x0000);
+   	s3cfb_spi_write(0x18, 0x0000);
+   	s3cfb_spi_write(0x19, 0x0000);
+
+	mdelay(10);
+
+	s3cfb_spi_write(0x09, 0x4055);
+	s3cfb_spi_write(0x0a, 0x0000);
+
+	mdelay(10);
+
+	s3cfb_spi_write(0x0a, 0x2000);
+
+	mdelay(50);
+
+	s3cfb_spi_write(0x01, 0x409d);
+	s3cfb_spi_write(0x02, 0x0204);
+	s3cfb_spi_write(0x03, 0x2100);
+	s3cfb_spi_write(0x04, 0x1000);
+	s3cfb_spi_write(0x05, 0x5003);
+	s3cfb_spi_write(0x06, 0x0009);
+	s3cfb_spi_write(0x07, 0x000f);
+	s3cfb_spi_write(0x08, 0x0800);
+	s3cfb_spi_write(0x10, 0x0000);
+	s3cfb_spi_write(0x11, 0x0000);
+	s3cfb_spi_write(0x12, 0x000f);
+	s3cfb_spi_write(0x13, 0x1f00);
+	s3cfb_spi_write(0x14, 0x0000);
+	s3cfb_spi_write(0x15, 0x0000);
+	s3cfb_spi_write(0x16, 0x0000);
+	s3cfb_spi_write(0x17, 0x0000);
+	s3cfb_spi_write(0x18, 0x0000);
+	s3cfb_spi_write(0x19, 0x0000);
+
+	mdelay(50);
+
+	s3cfb_spi_write(0x09, 0x4a55);
+	s3cfb_spi_write(0x0a, 0x2000);
+}
+
+void s3cfb_init_hw(void)
+{
+	printk(KERN_INFO "LCD TYPE :: LTV350QV will be initialized\n");
+
+	s3cfb_set_fimd_info();
+	s3cfb_set_gpio();
+
+	if (s3cfb_spi_gpio_request(S3CFB_SPI_CH))
+		printk(KERN_ERR "failed to request GPIO for spi-lcd\n");
+	else {
+		s3cfb_init_ldi();
+		s3cfb_spi_gpio_free(S3CFB_SPI_CH);
+	}
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/video/samsung/s3cfb_spi.c linux-2.6.28.6/drivers/video/samsung/s3cfb_spi.c
--- linux-2.6.28/drivers/video/samsung/s3cfb_spi.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/drivers/video/samsung/s3cfb_spi.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,277 @@
+/*
+ * drivers/video/s3c/s3c24xxfb_spi.c
+ *
+ * $Id: s3cfb_spi.c,v 1.1 2008/11/17 11:12:08 jsgood Exp $
+ *
+ * Copyright (C) 2008 Jinsung Yang <jsgood.yang@samsung.com>
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file COPYING in the main directory of this archive for
+ * more details.
+ *
+ *	S3C Frame Buffer Driver
+ *	based on skeletonfb.c, sa1100fb.h, s3c2410fb.c
+ */
+
+#include <linux/delay.h>
+
+#include <asm/mach/map.h>
+#include <asm/gpio.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-clock.h>
+#include <plat/regs-lcd.h>
+
+#if 0 //defined(CONFIG_PLAT_S3C24XX)
+
+#define S3CFB_SPI_CLK(x)	(S3C2443_GPL10 + (ch * 0))
+#define S3CFB_SPI_MOSI(x)	(S3C2443_GPL11 + (ch * 0))
+#define S3CFB_SPI_CS(x)	(S3C2443_GPL14 + (ch * 0))
+
+static inline void s3cfb_spi_lcd_dclk(int ch, int value)
+{
+	s3c2410_gpio_setpin(S3CFB_SPI_CLK(ch), value);
+}
+
+static inline void s3cfb_spi_lcd_dseri(int ch, int value)
+{
+	s3c2410_gpio_setpin(S3CFB_SPI_MOSI(ch), value);
+}
+
+static inline void s3cfb_spi_lcd_den(int ch, int value)
+{
+	s3c2410_gpio_setpin(S3CFB_SPI_CS(ch), value);
+}
+
+static inline void s3cfb_spi_set_lcd_data(int ch)
+{
+	s3c2410_gpio_cfgpin(S3CFB_SPI_CLK(ch), 1);
+	s3c2410_gpio_cfgpin(S3CFB_SPI_MOSI(ch), 1);
+	s3c2410_gpio_cfgpin(S3CFB_SPI_CS(ch), 1);
+
+	s3c2410_gpio_pullup(S3CFB_SPI_CLK(ch), 2);
+	s3c2410_gpio_pullup(S3CFB_SPI_MOSI(ch), 2);
+	s3c2410_gpio_pullup(S3CFB_SPI_CS(ch), 2);
+}
+
+#elif defined(CONFIG_PLAT_S3C64XX) || defined(CONFIG_PLAT_S5P64XX)
+
+#if defined(CONFIG_PLAT_S5P64XX)
+#define S3CFB_SPI_CLK(x)	(S5P64XX_GPN(2 + (x * 4)))
+#define S3CFB_SPI_MOSI(x)	(S5P64XX_GPN(3 + (x * 4)))
+#define S3CFB_SPI_CS(x)		(S5P64XX_GPN(1 + (x * 4)))
+
+int s3cfb_spi_gpio_request(int ch)
+{
+	int err = 0;
+
+	if (gpio_is_valid(S3CFB_SPI_CLK(ch))) {
+		err = gpio_request(S3CFB_SPI_CLK(ch), "GPN");
+
+		if (err)
+			goto err_clk;
+	} else {
+		err = 1;
+		goto err_clk;
+	}
+
+	if (gpio_is_valid(S3CFB_SPI_MOSI(ch))) {
+		err = gpio_request(S3CFB_SPI_MOSI(ch), "GPN");
+
+		if (err)
+			goto err_mosi;
+	} else {
+		err = 1;
+		goto err_mosi;
+	}
+
+	if (gpio_is_valid(S3CFB_SPI_CS(ch))) {
+		err = gpio_request(S3CFB_SPI_CS(ch), "GPN");
+
+		if (err)
+			goto err_cs;
+	} else {
+		err = 1;
+		goto err_cs;
+	}
+
+err_cs:
+	gpio_free(S3CFB_SPI_MOSI(ch));
+
+err_mosi:
+	gpio_free(S3CFB_SPI_CLK(ch));
+
+err_clk:
+	return err;
+
+}
+
+#elif defined(CONFIG_PLAT_S3C64XX)
+#define S3CFB_SPI_CLK(x)	(S3C64XX_GPC(1 + (x * 4)))
+#define S3CFB_SPI_MOSI(x)	(S3C64XX_GPC(2 + (x * 4)))
+#define S3CFB_SPI_CS(x)		(S3C64XX_GPC(3 + (x * 4)))
+
+int s3cfb_spi_gpio_request(int ch)
+{
+	int err = 0;
+
+	if (gpio_is_valid(S3CFB_SPI_CLK(ch))) {
+		err = gpio_request(S3CFB_SPI_CLK(ch), "GPC");
+
+		if (err)
+			goto err_clk;
+	} else {
+		err = 1;
+		goto err_clk;
+	}
+
+	if (gpio_is_valid(S3CFB_SPI_MOSI(ch))) {
+		err = gpio_request(S3CFB_SPI_MOSI(ch), "GPC");
+
+		if (err)
+			goto err_mosi;
+	} else {
+		err = 1;
+		goto err_mosi;
+	}
+
+	if (gpio_is_valid(S3CFB_SPI_CS(ch))) {
+		err = gpio_request(S3CFB_SPI_CS(ch), "GPC");
+
+		if (err)
+			goto err_cs;
+	} else {
+		err = 1;
+		goto err_cs;
+	}
+
+err_cs:
+	gpio_free(S3CFB_SPI_MOSI(ch));
+
+err_mosi:
+	gpio_free(S3CFB_SPI_CLK(ch));
+
+err_clk:
+	return err;
+
+}
+#endif
+
+inline void s3cfb_spi_lcd_dclk(int ch, int value)
+{
+	gpio_set_value(S3CFB_SPI_CLK(ch), value);
+}
+
+inline void s3cfb_spi_lcd_dseri(int ch, int value)
+{
+	gpio_set_value(S3CFB_SPI_MOSI(ch), value);
+}
+
+inline void s3cfb_spi_lcd_den(int ch, int value)
+{
+	gpio_set_value(S3CFB_SPI_CS(ch), value);
+}
+
+inline void s3cfb_spi_set_lcd_data(int ch)
+{
+	gpio_direction_output(S3CFB_SPI_CLK(ch), 1);
+	gpio_direction_output(S3CFB_SPI_MOSI(ch), 1);
+	gpio_direction_output(S3CFB_SPI_CS(ch), 1);
+
+	s3c_gpio_setpull(S3CFB_SPI_CLK(ch), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3CFB_SPI_MOSI(ch), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S3CFB_SPI_CS(ch), S3C_GPIO_PULL_NONE);
+}
+
+void s3cfb_spi_gpio_free(int ch)
+{
+	gpio_free(S3CFB_SPI_CLK(ch));
+	gpio_free(S3CFB_SPI_MOSI(ch));
+	gpio_free(S3CFB_SPI_CS(ch));
+}
+
+#elif defined(CONFIG_PLAT_S5PC1XX)
+
+#define S5P_FB_SPI_CLK(x)	(S5PC1XX_GPB(1 + (x * 4)))
+#define S5P_FB_SPI_MOSI(x)	(S5PC1XX_GPB(2 + (x * 4)))
+#define S5P_FB_SPI_CS(x)	(S5PC1XX_GPB(3 + (x * 4)))
+
+int s3cfb_spi_gpio_request(int ch)
+{
+        int err = 0;
+
+        if (gpio_is_valid(S5P_FB_SPI_CLK(ch))) {
+                err = gpio_request(S5P_FB_SPI_CLK(ch), "GPB");
+
+                if (err)
+                        goto err_clk;
+        } else {
+                err = 1;
+                goto err_clk;
+        }
+
+        if (gpio_is_valid(S5P_FB_SPI_MOSI(ch))) {
+                err = gpio_request(S5P_FB_SPI_MOSI(ch), "GPB");
+
+                if (err)
+                        goto err_mosi;
+        } else {
+                err = 1;
+                goto err_mosi;
+        }
+
+        if (gpio_is_valid(S5P_FB_SPI_CS(ch))) {
+                err = gpio_request(S5P_FB_SPI_CS(ch), "GPB");
+
+                if (err)
+                        goto err_cs;
+        } else {
+                err = 1;
+                goto err_cs;
+        }
+
+err_cs:
+        gpio_free(S5P_FB_SPI_MOSI(ch));
+
+err_mosi:
+        gpio_free(S5P_FB_SPI_CLK(ch));
+
+err_clk:
+        return err;
+
+}
+
+inline void s3cfb_spi_lcd_dclk(int ch, int value)
+{
+	gpio_set_value(S5P_FB_SPI_CLK(ch), value);
+}
+
+inline void s3cfb_spi_lcd_dseri(int ch, int value)
+{
+	gpio_set_value(S5P_FB_SPI_MOSI(ch), value);
+}
+
+inline void s3cfb_spi_lcd_den(int ch, int value)
+{
+	gpio_set_value(S5P_FB_SPI_CS(ch), value);
+}
+
+inline void s3cfb_spi_set_lcd_data(int ch)
+{
+	gpio_direction_output(S5P_FB_SPI_CLK(ch), 1);
+	gpio_direction_output(S5P_FB_SPI_MOSI(ch), 1);
+	gpio_direction_output(S5P_FB_SPI_CS(ch), 1);
+
+	s3c_gpio_setpull(S5P_FB_SPI_CLK(ch), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P_FB_SPI_MOSI(ch), S3C_GPIO_PULL_NONE);
+	s3c_gpio_setpull(S5P_FB_SPI_CS(ch), S3C_GPIO_PULL_NONE);
+}
+
+void s3cfb_spi_gpio_free(int ch)
+{
+        gpio_free(S5P_FB_SPI_CLK(ch));
+        gpio_free(S5P_FB_SPI_MOSI(ch));
+        gpio_free(S5P_FB_SPI_CS(ch));
+}
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/watchdog/Kconfig linux-2.6.28.6/drivers/watchdog/Kconfig
--- linux-2.6.28/drivers/watchdog/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/watchdog/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -132,10 +132,10 @@
 	  system when the timeout is reached.
 
 config S3C2410_WATCHDOG
-	tristate "S3C2410 Watchdog"
-	depends on ARCH_S3C2410
+	tristate "Samsung SoC Watchdog"
+	depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5PC1XX || ARCH_S5P64XX
 	help
-	  Watchdog timer block in the Samsung S3C2410 chips. This will
+	  Watchdog timer block in the Samsung chips. This will
 	  reboot the system when the timer expires with the watchdog
 	  enabled.
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/drivers/watchdog/s3c2410_wdt.c linux-2.6.28.6/drivers/watchdog/s3c2410_wdt.c
--- linux-2.6.28/drivers/watchdog/s3c2410_wdt.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/drivers/watchdog/s3c2410_wdt.c	2009-10-20 07:50:57.000000000 +0200
@@ -42,7 +42,7 @@
 #undef S3C_VA_WATCHDOG
 #define S3C_VA_WATCHDOG (0)
 
-#include <asm/plat-s3c/regs-watchdog.h>
+#include <plat/regs-watchdog.h>
 
 #define PFX "s3c2410-wdt: "
 
@@ -205,6 +205,8 @@
 
 static int s3c2410wdt_open(struct inode *inode, struct file *file)
 {
+	
+	printk("s3c2410wdt_open.\n");
 	if (test_and_set_bit(0, &open_lock))
 		return -EBUSY;
 
@@ -242,6 +244,7 @@
 	/*
 	 *	Refresh the timer.
 	 */
+	printk("s3c2410wdt_write.\n");
 	if (len) {
 		if (!nowayout) {
 			size_t i;
@@ -279,6 +282,8 @@
 	int __user *p = argp;
 	int new_margin;
 
+	printk("s3c2410wdt_ioctl.\n");
+
 	switch (cmd) {
 	case WDIOC_GETSUPPORT:
 		return copy_to_user(argp, &s3c2410_wdt_ident,
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/Kconfig linux-2.6.28.6/fs/Kconfig
--- linux-2.6.28/fs/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/fs/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -907,6 +907,10 @@
 	  To compile the EFS file system support as a module, choose M here: the
 	  module will be called efs.
 
+
+# Patched by YAFFS
+source "fs/yaffs2/Kconfig"
+
 source "fs/jffs2/Kconfig"
 # UBIFS File system configuration
 source "fs/ubifs/Kconfig"
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/Makefile linux-2.6.28.6/fs/Makefile
--- linux-2.6.28/fs/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/fs/Makefile	2009-04-30 09:36:39.000000000 +0200
@@ -122,3 +122,6 @@
 obj-$(CONFIG_DEBUG_FS)		+= debugfs/
 obj-$(CONFIG_OCFS2_FS)		+= ocfs2/
 obj-$(CONFIG_GFS2_FS)           += gfs2/
+
+# Patched by YAFFS
+obj-$(CONFIG_YAFFS_FS)		+= yaffs2/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/jffs2/scan.c linux-2.6.28.6/fs/jffs2/scan.c
--- linux-2.6.28/fs/jffs2/scan.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/fs/jffs2/scan.c	2009-04-30 09:36:39.000000000 +0200
@@ -647,8 +647,8 @@
 			inbuf_ofs = ofs - buf_ofs;
 			while (inbuf_ofs < scan_end) {
 				if (unlikely(*(uint32_t *)(&buf[inbuf_ofs]) != 0xffffffff)) {
-					printk(KERN_WARNING "Empty flash at 0x%08x ends at 0x%08x\n",
-					       empty_start, ofs);
+					/* printk(KERN_WARNING "Empty flash at 0x%08x ends at 0x%08x\n",
+					       empty_start, ofs); */
 					if ((err = jffs2_scan_dirty_space(c, jeb, ofs-empty_start)))
 						return err;
 					goto scan_more;
@@ -835,8 +835,8 @@
 		case JFFS2_NODETYPE_CLEANMARKER:
 			D1(printk(KERN_DEBUG "CLEANMARKER node found at 0x%08x\n", ofs));
 			if (je32_to_cpu(node->totlen) != c->cleanmarker_size) {
-				printk(KERN_NOTICE "CLEANMARKER node found at 0x%08x has totlen 0x%x != normal 0x%x\n",
-				       ofs, je32_to_cpu(node->totlen), c->cleanmarker_size);
+				/* printk(KERN_NOTICE "CLEANMARKER node found at 0x%08x has totlen 0x%x != normal 0x%x\n",
+				       ofs, je32_to_cpu(node->totlen), c->cleanmarker_size); */
 				if ((err = jffs2_scan_dirty_space(c, jeb, PAD(sizeof(struct jffs2_unknown_node)))))
 					return err;
 				ofs += PAD(sizeof(struct jffs2_unknown_node));
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/Kconfig linux-2.6.28.6/fs/yaffs2/Kconfig
--- linux-2.6.28/fs/yaffs2/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/Kconfig	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,156 @@
+#
+# YAFFS file system configurations
+#
+
+config YAFFS_FS
+	tristate "YAFFS2 file system support"
+	default n
+	depends on MTD_BLOCK
+	select YAFFS_YAFFS1
+	select YAFFS_YAFFS2
+	help
+	  YAFFS2, or Yet Another Flash Filing System, is a filing system
+	  optimised for NAND Flash chips.
+
+	  To compile the YAFFS2 file system support as a module, choose M
+	  here: the module will be called yaffs2.
+
+	  If unsure, say N.
+
+	  Further information on YAFFS2 is available at
+	  <http://www.aleph1.co.uk/yaffs/>.
+
+config YAFFS_YAFFS1
+	bool "512 byte / page devices"
+	depends on YAFFS_FS
+	default y
+	help
+	  Enable YAFFS1 support -- yaffs for 512 byte / page devices
+
+	  Not needed for 2K-page devices.
+
+	  If unsure, say Y.
+
+config YAFFS_9BYTE_TAGS
+	bool "Use older-style on-NAND data format with pageStatus byte"
+	depends on YAFFS_YAFFS1
+	default n
+	help
+
+	  Older-style on-NAND data format has a "pageStatus" byte to record
+	  chunk/page state.  This byte is zero when the page is discarded.
+	  Choose this option if you have existing on-NAND data using this
+	  format that you need to continue to support.  New data written
+	  also uses the older-style format.  Note: Use of this option
+	  generally requires that MTD's oob layout be adjusted to use the
+	  older-style format.  See notes on tags formats and MTD versions
+	  in yaffs_mtdif1.c.
+
+	  If unsure, say N.
+
+config YAFFS_DOES_ECC
+	bool "Lets Yaffs do its own ECC"
+	depends on YAFFS_FS && YAFFS_YAFFS1 && !YAFFS_9BYTE_TAGS
+	default n
+	help
+	  This enables Yaffs to use its own ECC functions instead of using
+	  the ones from the generic MTD-NAND driver.
+
+	  If unsure, say N.
+
+config YAFFS_ECC_WRONG_ORDER
+	bool "Use the same ecc byte order as Steven Hill's nand_ecc.c"
+	depends on YAFFS_FS && YAFFS_DOES_ECC && !YAFFS_9BYTE_TAGS
+	default n
+	help
+	  This makes yaffs_ecc.c use the same ecc byte order as Steven
+	  Hill's nand_ecc.c. If not set, then you get the same ecc byte
+	  order as SmartMedia.
+
+	  If unsure, say N.
+
+config YAFFS_YAFFS2
+	bool "2048 byte (or larger) / page devices"
+	depends on YAFFS_FS
+	default y
+	help
+	  Enable YAFFS2 support -- yaffs for >= 2K bytes per page devices
+
+	  If unsure, say Y.
+
+config YAFFS_AUTO_YAFFS2
+	bool "Autoselect yaffs2 format"
+	depends on YAFFS_YAFFS2
+	default y
+	help
+	  Without this, you need to explicitely use yaffs2 as the file
+	  system type. With this, you can say "yaffs" and yaffs or yaffs2
+	  will be used depending on the device page size (yaffs on
+	  512-byte page devices, yaffs2 on 2K page devices).
+
+	  If unsure, say Y.
+
+config YAFFS_DISABLE_LAZY_LOAD
+	bool "Disable lazy loading"
+	depends on YAFFS_YAFFS2
+	default n
+	help
+	  "Lazy loading" defers loading file details until they are
+	  required. This saves mount time, but makes the first look-up
+	  a bit longer.
+
+	  Lazy loading will only happen if enabled by this option being 'n'
+	  and if the appropriate tags are available, else yaffs2 will
+	  automatically fall back to immediate loading and do the right
+	  thing.
+
+	  Lazy laoding will be required by checkpointing.
+
+	  Setting this to 'y' will disable lazy loading.
+
+	  If unsure, say N.
+
+
+config YAFFS_DISABLE_WIDE_TNODES
+	bool "Turn off wide tnodes"
+	depends on YAFFS_FS
+	default n
+	help
+	  Wide tnodes are only used for NAND arrays >=32MB for 512-byte
+	  page devices and >=128MB for 2k page devices. They use slightly
+	  more RAM but are faster since they eliminate chunk group
+	  searching.
+
+	  Setting this to 'y' will force tnode width to 16 bits and save
+	  memory but make large arrays slower.
+
+	  If unsure, say N.
+
+config YAFFS_ALWAYS_CHECK_CHUNK_ERASED
+	bool "Force chunk erase check"
+	depends on YAFFS_FS
+	default n
+	help
+          Normally YAFFS only checks chunks before writing until an erased
+	  chunk is found. This helps to detect any partially written
+	  chunks that might have happened due to power loss.
+
+	  Enabling this forces on the test that chunks are erased in flash
+	  before writing to them. This takes more time but is potentially
+	  a bit more secure.
+
+	  Suggest setting Y during development and ironing out driver
+	  issues etc. Suggest setting to N if you want faster writing.
+
+	  If unsure, say Y.
+
+config YAFFS_SHORT_NAMES_IN_RAM
+	bool "Cache short names in RAM"
+	depends on YAFFS_FS
+	default y
+	help
+	  If this config is set, then short names are stored with the
+	  yaffs_Object.  This costs an extra 16 bytes of RAM per object,
+	  but makes look-ups faster.
+
+	  If unsure, say Y.
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/Makefile linux-2.6.28.6/fs/yaffs2/Makefile
--- linux-2.6.28/fs/yaffs2/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/Makefile	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,10 @@
+#
+# Makefile for the linux YAFFS filesystem routines.
+#
+
+obj-$(CONFIG_YAFFS_FS) += yaffs.o
+
+yaffs-y := yaffs_ecc.o yaffs_fs.o yaffs_guts.o yaffs_checkptrw.o
+yaffs-y += yaffs_packedtags1.o yaffs_packedtags2.o yaffs_nand.o yaffs_qsort.o
+yaffs-y += yaffs_tagscompat.o yaffs_tagsvalidity.o
+yaffs-y += yaffs_mtdif.o yaffs_mtdif1.o yaffs_mtdif2.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/devextras.h linux-2.6.28.6/fs/yaffs2/devextras.h
--- linux-2.6.28/fs/yaffs2/devextras.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/devextras.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,199 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+/*
+ * This file is just holds extra declarations of macros that would normally
+ * be providesd in the Linux kernel. These macros have been written from
+ * scratch but are functionally equivalent to the Linux ones.
+ *
+ */
+
+#ifndef __EXTRAS_H__
+#define __EXTRAS_H__
+
+
+#if !(defined __KERNEL__) 
+
+/* Definition of types */
+typedef unsigned char __u8;
+typedef unsigned short __u16;
+typedef unsigned __u32;
+
+#endif
+
+/*
+ * This is a simple doubly linked list implementation that matches the 
+ * way the Linux kernel doubly linked list implementation works.
+ */
+
+struct ylist_head {
+	struct ylist_head *next; /* next in chain */
+	struct ylist_head *prev; /* previous in chain */
+};
+
+
+/* Initialise a static list */
+#define YLIST_HEAD(name) \
+struct ylist_head name = { &(name),&(name)}
+
+
+
+/* Initialise a list head to an empty list */
+#define YINIT_LIST_HEAD(p) \
+do { \
+ (p)->next = (p);\
+ (p)->prev = (p); \
+} while(0)
+
+
+/* Add an element to a list */
+static __inline__ void ylist_add(struct ylist_head *newEntry, 
+                                 struct ylist_head *list)
+{
+        struct ylist_head *listNext = list->next;
+        
+        list->next = newEntry;
+        newEntry->prev = list;
+	newEntry->next = listNext;
+	listNext->prev = newEntry;
+	
+}
+
+static __inline__ void ylist_add_tail(struct ylist_head *newEntry, 
+				 struct ylist_head *list)
+{
+	struct ylist_head *listPrev = list->prev;
+	
+	list->prev = newEntry;
+	newEntry->next = list;
+	newEntry->prev = listPrev;
+	listPrev->next = newEntry;
+	
+}
+
+
+/* Take an element out of its current list, with or without
+ * reinitialising the links.of the entry*/
+static __inline__ void ylist_del(struct ylist_head *entry)
+{
+        struct ylist_head *listNext = entry->next;
+        struct ylist_head *listPrev = entry->prev;
+        
+        listNext->prev = listPrev;
+        listPrev->next = listNext;
+        
+}
+
+static __inline__ void ylist_del_init(struct ylist_head *entry)
+{
+        ylist_del(entry);
+        entry->next = entry->prev = entry;
+}
+
+
+/* Test if the list is empty */
+static __inline__ int ylist_empty(struct ylist_head *entry)
+{
+        return (entry->next == entry);
+}
+
+
+/* ylist_entry takes a pointer to a list entry and offsets it to that
+ * we can find a pointer to the object it is embedded in.
+ */
+ 
+ 
+#define ylist_entry(entry, type, member) \
+        ((type *)((char *)(entry)-(unsigned long)(&((type *)NULL)->member)))
+
+
+/* ylist_for_each and list_for_each_safe  iterate over lists.
+ * ylist_for_each_safe uses temporary storage to make the list delete safe
+ */
+
+#define ylist_for_each(itervar, list) \
+        for (itervar = (list)->next; itervar != (list); itervar = itervar->next )
+
+#define ylist_for_each_safe(itervar,saveVar, list) \
+        for (itervar = (list)->next, saveVar = (list)->next->next; itervar != (list); \
+         itervar = saveVar, saveVar = saveVar->next)
+
+
+#if !(defined __KERNEL__)
+
+
+#ifndef WIN32
+#include <sys/stat.h>
+#endif
+
+
+#ifdef CONFIG_YAFFS_PROVIDE_DEFS
+/* File types */
+
+
+#define DT_UNKNOWN      0
+#define DT_FIFO         1
+#define DT_CHR          2
+#define DT_DIR		4
+#define DT_BLK		6
+#define DT_REG          8
+#define DT_LNK          10
+#define DT_SOCK         12
+#define DT_WHT          14
+
+
+#ifndef WIN32
+#include <sys/stat.h>
+#endif
+
+/*
+ * Attribute flags.  These should be or-ed together to figure out what
+ * has been changed!
+ */
+#define ATTR_MODE       1
+#define ATTR_UID        2
+#define ATTR_GID	4
+#define ATTR_SIZE	8
+#define ATTR_ATIME	16
+#define ATTR_MTIME	32
+#define ATTR_CTIME	64
+
+struct iattr {
+	unsigned int ia_valid;
+	unsigned ia_mode;
+	unsigned ia_uid;
+	unsigned ia_gid;
+	unsigned ia_size;
+	unsigned ia_atime;
+	unsigned ia_mtime;
+	unsigned ia_ctime;
+        unsigned int ia_attr_flags;
+};
+
+#endif
+
+
+#define KERN_DEBUG
+
+#else
+
+#include <linux/types.h>
+#include <linux/fs.h>
+#include <linux/stat.h>
+
+#endif
+
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/moduleconfig.h linux-2.6.28.6/fs/yaffs2/moduleconfig.h
--- linux-2.6.28/fs/yaffs2/moduleconfig.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/moduleconfig.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,65 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Martin Fouts <Martin.Fouts@palmsource.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifndef __YAFFS_CONFIG_H__
+#define __YAFFS_CONFIG_H__
+
+#ifdef YAFFS_OUT_OF_TREE
+
+/* DO NOT UNSET THESE THREE. YAFFS2 will not compile if you do. */
+#define CONFIG_YAFFS_FS
+#define CONFIG_YAFFS_YAFFS1
+#define CONFIG_YAFFS_YAFFS2
+
+/* These options are independent of each other.  Select those that matter. */
+
+/* Default: Not selected */
+/* Meaning: Yaffs does its own ECC, rather than using MTD ECC */
+//#define CONFIG_YAFFS_DOES_ECC
+
+/* Default: Not selected */
+/* Meaning: ECC byte order is 'wrong'.  Only meaningful if */
+/*          CONFIG_YAFFS_DOES_ECC is set */
+//#define CONFIG_YAFFS_ECC_WRONG_ORDER
+
+/* Default: Selected */
+/* Meaning: Disables testing whether chunks are erased before writing to them*/
+#define CONFIG_YAFFS_DISABLE_CHUNK_ERASED_CHECK
+
+/* Default: Selected */
+/* Meaning: Cache short names, taking more RAM, but faster look-ups */
+#define CONFIG_YAFFS_SHORT_NAMES_IN_RAM
+
+/* Default: 10 */
+/* Meaning: set the count of blocks to reserve for checkpointing */
+#define CONFIG_YAFFS_CHECKPOINT_RESERVED_BLOCKS 10
+
+/*
+Older-style on-NAND data format has a "pageStatus" byte to record
+chunk/page state.  This byte is zeroed when the page is discarded.
+Choose this option if you have existing on-NAND data in this format
+that you need to continue to support.  New data written also uses the
+older-style format.
+Note: Use of this option generally requires that MTD's oob layout be
+adjusted to use the older-style format.  See notes on tags formats and
+MTD versions in yaffs_mtdif1.c.
+*/
+/* Default: Not selected */
+/* Meaning: Use older-style on-NAND data format with pageStatus byte */
+//#define CONFIG_YAFFS_9BYTE_TAGS
+
+#endif /* YAFFS_OUT_OF_TREE */
+
+#endif /* __YAFFS_CONFIG_H__ */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_checkptrw.c linux-2.6.28.6/fs/yaffs2/yaffs_checkptrw.c
--- linux-2.6.28/fs/yaffs2/yaffs_checkptrw.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_checkptrw.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,405 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+const char *yaffs_checkptrw_c_version =
+    "$Id: yaffs_checkptrw.c,v 1.17 2008/08/12 22:51:57 charles Exp $";
+
+
+#include "yaffs_checkptrw.h"
+#include "yaffs_getblockinfo.h"
+
+static int yaffs_CheckpointSpaceOk(yaffs_Device *dev)
+{
+
+	int blocksAvailable = dev->nErasedBlocks - dev->nReservedBlocks;
+
+	T(YAFFS_TRACE_CHECKPOINT,
+		(TSTR("checkpt blocks available = %d" TENDSTR),
+		blocksAvailable));
+
+
+	return (blocksAvailable <= 0) ? 0 : 1;
+}
+
+
+static int yaffs_CheckpointErase(yaffs_Device *dev)
+{
+
+	int i;
+
+
+	if(!dev->eraseBlockInNAND)
+		return 0;
+	T(YAFFS_TRACE_CHECKPOINT,(TSTR("checking blocks %d to %d"TENDSTR),
+		dev->internalStartBlock,dev->internalEndBlock));
+
+	for(i = dev->internalStartBlock; i <= dev->internalEndBlock; i++) {
+		yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev,i);
+		if(bi->blockState == YAFFS_BLOCK_STATE_CHECKPOINT){
+			T(YAFFS_TRACE_CHECKPOINT,(TSTR("erasing checkpt block %d"TENDSTR),i));
+			if(dev->eraseBlockInNAND(dev,i- dev->blockOffset /* realign */)){
+				bi->blockState = YAFFS_BLOCK_STATE_EMPTY;
+				dev->nErasedBlocks++;
+				dev->nFreeChunks += dev->nChunksPerBlock;
+			}
+			else {
+				dev->markNANDBlockBad(dev,i);
+				bi->blockState = YAFFS_BLOCK_STATE_DEAD;
+			}
+		}
+	}
+
+	dev->blocksInCheckpoint = 0;
+
+	return 1;
+}
+
+
+static void yaffs_CheckpointFindNextErasedBlock(yaffs_Device *dev)
+{
+	int  i;
+	int blocksAvailable = dev->nErasedBlocks - dev->nReservedBlocks;
+	T(YAFFS_TRACE_CHECKPOINT,
+		(TSTR("allocating checkpt block: erased %d reserved %d avail %d next %d "TENDSTR),
+		dev->nErasedBlocks,dev->nReservedBlocks,blocksAvailable,dev->checkpointNextBlock));
+
+	if(dev->checkpointNextBlock >= 0 &&
+	   dev->checkpointNextBlock <= dev->internalEndBlock &&
+	   blocksAvailable > 0){
+
+		for(i = dev->checkpointNextBlock; i <= dev->internalEndBlock; i++){
+			yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev,i);
+			if(bi->blockState == YAFFS_BLOCK_STATE_EMPTY){
+				dev->checkpointNextBlock = i + 1;
+				dev->checkpointCurrentBlock = i;
+				T(YAFFS_TRACE_CHECKPOINT,(TSTR("allocating checkpt block %d"TENDSTR),i));
+				return;
+			}
+		}
+	}
+	T(YAFFS_TRACE_CHECKPOINT,(TSTR("out of checkpt blocks"TENDSTR)));
+
+	dev->checkpointNextBlock = -1;
+	dev->checkpointCurrentBlock = -1;
+}
+
+static void yaffs_CheckpointFindNextCheckpointBlock(yaffs_Device *dev)
+{
+	int  i;
+	yaffs_ExtendedTags tags;
+
+	T(YAFFS_TRACE_CHECKPOINT,(TSTR("find next checkpt block: start:  blocks %d next %d" TENDSTR),
+		dev->blocksInCheckpoint, dev->checkpointNextBlock));
+
+	if(dev->blocksInCheckpoint < dev->checkpointMaxBlocks)
+		for(i = dev->checkpointNextBlock; i <= dev->internalEndBlock; i++){
+			int chunk = i * dev->nChunksPerBlock;
+			int realignedChunk = chunk - dev->chunkOffset;
+
+			dev->readChunkWithTagsFromNAND(dev,realignedChunk,NULL,&tags);
+			T(YAFFS_TRACE_CHECKPOINT,(TSTR("find next checkpt block: search: block %d oid %d seq %d eccr %d" TENDSTR),
+				i, tags.objectId,tags.sequenceNumber,tags.eccResult));
+
+			if(tags.sequenceNumber == YAFFS_SEQUENCE_CHECKPOINT_DATA){
+				/* Right kind of block */
+				dev->checkpointNextBlock = tags.objectId;
+				dev->checkpointCurrentBlock = i;
+				dev->checkpointBlockList[dev->blocksInCheckpoint] = i;
+				dev->blocksInCheckpoint++;
+				T(YAFFS_TRACE_CHECKPOINT,(TSTR("found checkpt block %d"TENDSTR),i));
+				return;
+			}
+		}
+
+	T(YAFFS_TRACE_CHECKPOINT,(TSTR("found no more checkpt blocks"TENDSTR)));
+
+	dev->checkpointNextBlock = -1;
+	dev->checkpointCurrentBlock = -1;
+}
+
+
+int yaffs_CheckpointOpen(yaffs_Device *dev, int forWriting)
+{
+
+	/* Got the functions we need? */
+	if (!dev->writeChunkWithTagsToNAND ||
+	    !dev->readChunkWithTagsFromNAND ||
+	    !dev->eraseBlockInNAND ||
+	    !dev->markNANDBlockBad)
+		return 0;
+
+	if(forWriting && !yaffs_CheckpointSpaceOk(dev))
+		return 0;
+
+	if(!dev->checkpointBuffer)
+		dev->checkpointBuffer = YMALLOC_DMA(dev->totalBytesPerChunk);
+	if(!dev->checkpointBuffer)
+		return 0;
+
+
+	dev->checkpointPageSequence = 0;
+
+	dev->checkpointOpenForWrite = forWriting;
+
+	dev->checkpointByteCount = 0;
+	dev->checkpointSum = 0;
+	dev->checkpointXor = 0;
+	dev->checkpointCurrentBlock = -1;
+	dev->checkpointCurrentChunk = -1;
+	dev->checkpointNextBlock = dev->internalStartBlock;
+
+	/* Erase all the blocks in the checkpoint area */
+	if(forWriting){
+		memset(dev->checkpointBuffer,0,dev->nDataBytesPerChunk);
+		dev->checkpointByteOffset = 0;
+		return yaffs_CheckpointErase(dev);
+
+
+	} else {
+		int i;
+		/* Set to a value that will kick off a read */
+		dev->checkpointByteOffset = dev->nDataBytesPerChunk;
+		/* A checkpoint block list of 1 checkpoint block per 16 block is (hopefully)
+		 * going to be way more than we need */
+		dev->blocksInCheckpoint = 0;
+		dev->checkpointMaxBlocks = (dev->internalEndBlock - dev->internalStartBlock)/16 + 2;
+		dev->checkpointBlockList = YMALLOC(sizeof(int) * dev->checkpointMaxBlocks);
+		for(i = 0; i < dev->checkpointMaxBlocks; i++)
+			dev->checkpointBlockList[i] = -1;
+	}
+
+	return 1;
+}
+
+int yaffs_GetCheckpointSum(yaffs_Device *dev, __u32 *sum)
+{
+	__u32 compositeSum;
+	compositeSum =  (dev->checkpointSum << 8) | (dev->checkpointXor & 0xFF);
+	*sum = compositeSum;
+	return 1;
+}
+
+static int yaffs_CheckpointFlushBuffer(yaffs_Device *dev)
+{
+
+	int chunk;
+	int realignedChunk;
+
+	yaffs_ExtendedTags tags;
+
+	if(dev->checkpointCurrentBlock < 0){
+		yaffs_CheckpointFindNextErasedBlock(dev);
+		dev->checkpointCurrentChunk = 0;
+	}
+
+	if(dev->checkpointCurrentBlock < 0)
+		return 0;
+
+	tags.chunkDeleted = 0;
+	tags.objectId = dev->checkpointNextBlock; /* Hint to next place to look */
+	tags.chunkId = dev->checkpointPageSequence + 1;
+	tags.sequenceNumber =  YAFFS_SEQUENCE_CHECKPOINT_DATA;
+	tags.byteCount = dev->nDataBytesPerChunk;
+	if(dev->checkpointCurrentChunk == 0){
+		/* First chunk we write for the block? Set block state to
+		   checkpoint */
+		yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev,dev->checkpointCurrentBlock);
+		bi->blockState = YAFFS_BLOCK_STATE_CHECKPOINT;
+		dev->blocksInCheckpoint++;
+	}
+
+	chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock + dev->checkpointCurrentChunk;
+
+
+	T(YAFFS_TRACE_CHECKPOINT,(TSTR("checkpoint wite buffer nand %d(%d:%d) objid %d chId %d" TENDSTR),
+		chunk, dev->checkpointCurrentBlock, dev->checkpointCurrentChunk,tags.objectId,tags.chunkId));
+
+	realignedChunk = chunk - dev->chunkOffset;
+
+	dev->writeChunkWithTagsToNAND(dev,realignedChunk,dev->checkpointBuffer,&tags);
+	dev->checkpointByteOffset = 0;
+	dev->checkpointPageSequence++;
+	dev->checkpointCurrentChunk++;
+	if(dev->checkpointCurrentChunk >= dev->nChunksPerBlock){
+		dev->checkpointCurrentChunk = 0;
+		dev->checkpointCurrentBlock = -1;
+	}
+	memset(dev->checkpointBuffer,0,dev->nDataBytesPerChunk);
+
+	return 1;
+}
+
+
+int yaffs_CheckpointWrite(yaffs_Device *dev,const void *data, int nBytes)
+{
+	int i=0;
+	int ok = 1;
+
+
+	__u8 * dataBytes = (__u8 *)data;
+
+
+
+	if(!dev->checkpointBuffer)
+		return 0;
+
+	if(!dev->checkpointOpenForWrite)
+		return -1;
+
+	while(i < nBytes && ok) {
+
+
+
+		dev->checkpointBuffer[dev->checkpointByteOffset] = *dataBytes ;
+		dev->checkpointSum += *dataBytes;
+		dev->checkpointXor ^= *dataBytes;
+
+		dev->checkpointByteOffset++;
+		i++;
+		dataBytes++;
+		dev->checkpointByteCount++;
+
+
+		if(dev->checkpointByteOffset < 0 ||
+		   dev->checkpointByteOffset >= dev->nDataBytesPerChunk)
+			ok = yaffs_CheckpointFlushBuffer(dev);
+
+	}
+
+	return 	i;
+}
+
+int yaffs_CheckpointRead(yaffs_Device *dev, void *data, int nBytes)
+{
+	int i=0;
+	int ok = 1;
+	yaffs_ExtendedTags tags;
+
+
+	int chunk;
+	int realignedChunk;
+
+	__u8 *dataBytes = (__u8 *)data;
+
+	if(!dev->checkpointBuffer)
+		return 0;
+
+	if(dev->checkpointOpenForWrite)
+		return -1;
+
+	while(i < nBytes && ok) {
+
+
+		if(dev->checkpointByteOffset < 0 ||
+		   dev->checkpointByteOffset >= dev->nDataBytesPerChunk) {
+
+		   	if(dev->checkpointCurrentBlock < 0){
+				yaffs_CheckpointFindNextCheckpointBlock(dev);
+				dev->checkpointCurrentChunk = 0;
+			}
+
+			if(dev->checkpointCurrentBlock < 0)
+				ok = 0;
+			else {
+
+				chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock +
+				          dev->checkpointCurrentChunk;
+
+				realignedChunk = chunk - dev->chunkOffset;
+
+	   			/* read in the next chunk */
+	   			/* printf("read checkpoint page %d\n",dev->checkpointPage); */
+				dev->readChunkWithTagsFromNAND(dev, realignedChunk,
+							       dev->checkpointBuffer,
+							      &tags);
+
+				if(tags.chunkId != (dev->checkpointPageSequence + 1) ||
+				   tags.eccResult > YAFFS_ECC_RESULT_FIXED ||
+				   tags.sequenceNumber != YAFFS_SEQUENCE_CHECKPOINT_DATA)
+				   ok = 0;
+
+				dev->checkpointByteOffset = 0;
+				dev->checkpointPageSequence++;
+				dev->checkpointCurrentChunk++;
+
+				if(dev->checkpointCurrentChunk >= dev->nChunksPerBlock)
+					dev->checkpointCurrentBlock = -1;
+			}
+		}
+
+		if(ok){
+			*dataBytes = dev->checkpointBuffer[dev->checkpointByteOffset];
+			dev->checkpointSum += *dataBytes;
+			dev->checkpointXor ^= *dataBytes;
+			dev->checkpointByteOffset++;
+			i++;
+			dataBytes++;
+			dev->checkpointByteCount++;
+		}
+	}
+
+	return 	i;
+}
+
+int yaffs_CheckpointClose(yaffs_Device *dev)
+{
+
+	if(dev->checkpointOpenForWrite){
+		if(dev->checkpointByteOffset != 0)
+			yaffs_CheckpointFlushBuffer(dev);
+	} else {
+		int i;
+		for(i = 0; i < dev->blocksInCheckpoint && dev->checkpointBlockList[i] >= 0; i++){
+			yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev,dev->checkpointBlockList[i]);
+			if(bi->blockState == YAFFS_BLOCK_STATE_EMPTY)
+				bi->blockState = YAFFS_BLOCK_STATE_CHECKPOINT;
+			else {
+				// Todo this looks odd...
+			}
+		}
+		YFREE(dev->checkpointBlockList);
+		dev->checkpointBlockList = NULL;
+	}
+
+	dev->nFreeChunks -= dev->blocksInCheckpoint * dev->nChunksPerBlock;
+	dev->nErasedBlocks -= dev->blocksInCheckpoint;
+
+
+	T(YAFFS_TRACE_CHECKPOINT,(TSTR("checkpoint byte count %d" TENDSTR),
+			dev->checkpointByteCount));
+
+	if(dev->checkpointBuffer){
+		/* free the buffer */
+		YFREE(dev->checkpointBuffer);
+		dev->checkpointBuffer = NULL;
+		return 1;
+	}
+	else
+		return 0;
+
+}
+
+int yaffs_CheckpointInvalidateStream(yaffs_Device *dev)
+{
+	/* Erase the first checksum block */
+
+	T(YAFFS_TRACE_CHECKPOINT,(TSTR("checkpoint invalidate"TENDSTR)));
+
+	if(!yaffs_CheckpointSpaceOk(dev))
+		return 0;
+
+	return yaffs_CheckpointErase(dev);
+}
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_checkptrw.h linux-2.6.28.6/fs/yaffs2/yaffs_checkptrw.h
--- linux-2.6.28/fs/yaffs2/yaffs_checkptrw.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_checkptrw.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,35 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifndef __YAFFS_CHECKPTRW_H__
+#define __YAFFS_CHECKPTRW_H__
+
+#include "yaffs_guts.h"
+
+int yaffs_CheckpointOpen(yaffs_Device *dev, int forWriting);
+
+int yaffs_CheckpointWrite(yaffs_Device *dev,const void *data, int nBytes);
+
+int yaffs_CheckpointRead(yaffs_Device *dev,void *data, int nBytes);
+
+int yaffs_GetCheckpointSum(yaffs_Device *dev, __u32 *sum);
+
+int yaffs_CheckpointClose(yaffs_Device *dev);
+
+int yaffs_CheckpointInvalidateStream(yaffs_Device *dev);
+
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_ecc.c linux-2.6.28.6/fs/yaffs2/yaffs_ecc.c
--- linux-2.6.28/fs/yaffs2/yaffs_ecc.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_ecc.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,331 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * This code implements the ECC algorithm used in SmartMedia.
+ *
+ * The ECC comprises 22 bits of parity information and is stuffed into 3 bytes.
+ * The two unused bit are set to 1.
+ * The ECC can correct single bit errors in a 256-byte page of data. Thus, two such ECC
+ * blocks are used on a 512-byte NAND page.
+ *
+ */
+
+/* Table generated by gen-ecc.c
+ * Using a table means we do not have to calculate p1..p4 and p1'..p4'
+ * for each byte of data. These are instead provided in a table in bits7..2.
+ * Bit 0 of each entry indicates whether the entry has an odd or even parity, and therefore
+ * this bytes influence on the line parity.
+ */
+
+const char *yaffs_ecc_c_version =
+    "$Id: yaffs_ecc.c,v 1.10 2007/12/13 15:35:17 wookey Exp $";
+
+#include "yportenv.h"
+
+#include "yaffs_ecc.h"
+
+static const unsigned char column_parity_table[] = {
+	0x00, 0x55, 0x59, 0x0c, 0x65, 0x30, 0x3c, 0x69,
+	0x69, 0x3c, 0x30, 0x65, 0x0c, 0x59, 0x55, 0x00,
+	0x95, 0xc0, 0xcc, 0x99, 0xf0, 0xa5, 0xa9, 0xfc,
+	0xfc, 0xa9, 0xa5, 0xf0, 0x99, 0xcc, 0xc0, 0x95,
+	0x99, 0xcc, 0xc0, 0x95, 0xfc, 0xa9, 0xa5, 0xf0,
+	0xf0, 0xa5, 0xa9, 0xfc, 0x95, 0xc0, 0xcc, 0x99,
+	0x0c, 0x59, 0x55, 0x00, 0x69, 0x3c, 0x30, 0x65,
+	0x65, 0x30, 0x3c, 0x69, 0x00, 0x55, 0x59, 0x0c,
+	0xa5, 0xf0, 0xfc, 0xa9, 0xc0, 0x95, 0x99, 0xcc,
+	0xcc, 0x99, 0x95, 0xc0, 0xa9, 0xfc, 0xf0, 0xa5,
+	0x30, 0x65, 0x69, 0x3c, 0x55, 0x00, 0x0c, 0x59,
+	0x59, 0x0c, 0x00, 0x55, 0x3c, 0x69, 0x65, 0x30,
+	0x3c, 0x69, 0x65, 0x30, 0x59, 0x0c, 0x00, 0x55,
+	0x55, 0x00, 0x0c, 0x59, 0x30, 0x65, 0x69, 0x3c,
+	0xa9, 0xfc, 0xf0, 0xa5, 0xcc, 0x99, 0x95, 0xc0,
+	0xc0, 0x95, 0x99, 0xcc, 0xa5, 0xf0, 0xfc, 0xa9,
+	0xa9, 0xfc, 0xf0, 0xa5, 0xcc, 0x99, 0x95, 0xc0,
+	0xc0, 0x95, 0x99, 0xcc, 0xa5, 0xf0, 0xfc, 0xa9,
+	0x3c, 0x69, 0x65, 0x30, 0x59, 0x0c, 0x00, 0x55,
+	0x55, 0x00, 0x0c, 0x59, 0x30, 0x65, 0x69, 0x3c,
+	0x30, 0x65, 0x69, 0x3c, 0x55, 0x00, 0x0c, 0x59,
+	0x59, 0x0c, 0x00, 0x55, 0x3c, 0x69, 0x65, 0x30,
+	0xa5, 0xf0, 0xfc, 0xa9, 0xc0, 0x95, 0x99, 0xcc,
+	0xcc, 0x99, 0x95, 0xc0, 0xa9, 0xfc, 0xf0, 0xa5,
+	0x0c, 0x59, 0x55, 0x00, 0x69, 0x3c, 0x30, 0x65,
+	0x65, 0x30, 0x3c, 0x69, 0x00, 0x55, 0x59, 0x0c,
+	0x99, 0xcc, 0xc0, 0x95, 0xfc, 0xa9, 0xa5, 0xf0,
+	0xf0, 0xa5, 0xa9, 0xfc, 0x95, 0xc0, 0xcc, 0x99,
+	0x95, 0xc0, 0xcc, 0x99, 0xf0, 0xa5, 0xa9, 0xfc,
+	0xfc, 0xa9, 0xa5, 0xf0, 0x99, 0xcc, 0xc0, 0x95,
+	0x00, 0x55, 0x59, 0x0c, 0x65, 0x30, 0x3c, 0x69,
+	0x69, 0x3c, 0x30, 0x65, 0x0c, 0x59, 0x55, 0x00,
+};
+
+/* Count the bits in an unsigned char or a U32 */
+
+static int yaffs_CountBits(unsigned char x)
+{
+	int r = 0;
+	while (x) {
+		if (x & 1)
+			r++;
+		x >>= 1;
+	}
+	return r;
+}
+
+static int yaffs_CountBits32(unsigned x)
+{
+	int r = 0;
+	while (x) {
+		if (x & 1)
+			r++;
+		x >>= 1;
+	}
+	return r;
+}
+
+/* Calculate the ECC for a 256-byte block of data */
+void yaffs_ECCCalculate(const unsigned char *data, unsigned char *ecc)
+{
+	unsigned int i;
+
+	unsigned char col_parity = 0;
+	unsigned char line_parity = 0;
+	unsigned char line_parity_prime = 0;
+	unsigned char t;
+	unsigned char b;
+
+	for (i = 0; i < 256; i++) {
+		b = column_parity_table[*data++];
+		col_parity ^= b;
+
+		if (b & 0x01)	// odd number of bits in the byte
+		{
+			line_parity ^= i;
+			line_parity_prime ^= ~i;
+		}
+
+	}
+
+	ecc[2] = (~col_parity) | 0x03;
+
+	t = 0;
+	if (line_parity & 0x80)
+		t |= 0x80;
+	if (line_parity_prime & 0x80)
+		t |= 0x40;
+	if (line_parity & 0x40)
+		t |= 0x20;
+	if (line_parity_prime & 0x40)
+		t |= 0x10;
+	if (line_parity & 0x20)
+		t |= 0x08;
+	if (line_parity_prime & 0x20)
+		t |= 0x04;
+	if (line_parity & 0x10)
+		t |= 0x02;
+	if (line_parity_prime & 0x10)
+		t |= 0x01;
+	ecc[1] = ~t;
+
+	t = 0;
+	if (line_parity & 0x08)
+		t |= 0x80;
+	if (line_parity_prime & 0x08)
+		t |= 0x40;
+	if (line_parity & 0x04)
+		t |= 0x20;
+	if (line_parity_prime & 0x04)
+		t |= 0x10;
+	if (line_parity & 0x02)
+		t |= 0x08;
+	if (line_parity_prime & 0x02)
+		t |= 0x04;
+	if (line_parity & 0x01)
+		t |= 0x02;
+	if (line_parity_prime & 0x01)
+		t |= 0x01;
+	ecc[0] = ~t;
+
+#ifdef CONFIG_YAFFS_ECC_WRONG_ORDER
+	// Swap the bytes into the wrong order
+	t = ecc[0];
+	ecc[0] = ecc[1];
+	ecc[1] = t;
+#endif
+}
+
+
+/* Correct the ECC on a 256 byte block of data */
+
+int yaffs_ECCCorrect(unsigned char *data, unsigned char *read_ecc,
+		     const unsigned char *test_ecc)
+{
+	unsigned char d0, d1, d2;	/* deltas */
+
+	d0 = read_ecc[0] ^ test_ecc[0];
+	d1 = read_ecc[1] ^ test_ecc[1];
+	d2 = read_ecc[2] ^ test_ecc[2];
+
+	if ((d0 | d1 | d2) == 0)
+		return 0; /* no error */
+
+	if (((d0 ^ (d0 >> 1)) & 0x55) == 0x55 &&
+	    ((d1 ^ (d1 >> 1)) & 0x55) == 0x55 &&
+	    ((d2 ^ (d2 >> 1)) & 0x54) == 0x54) {
+		/* Single bit (recoverable) error in data */
+
+		unsigned byte;
+		unsigned bit;
+
+#ifdef CONFIG_YAFFS_ECC_WRONG_ORDER
+		// swap the bytes to correct for the wrong order
+		unsigned char t;
+
+		t = d0;
+		d0 = d1;
+		d1 = t;
+#endif
+
+		bit = byte = 0;
+
+		if (d1 & 0x80)
+			byte |= 0x80;
+		if (d1 & 0x20)
+			byte |= 0x40;
+		if (d1 & 0x08)
+			byte |= 0x20;
+		if (d1 & 0x02)
+			byte |= 0x10;
+		if (d0 & 0x80)
+			byte |= 0x08;
+		if (d0 & 0x20)
+			byte |= 0x04;
+		if (d0 & 0x08)
+			byte |= 0x02;
+		if (d0 & 0x02)
+			byte |= 0x01;
+
+		if (d2 & 0x80)
+			bit |= 0x04;
+		if (d2 & 0x20)
+			bit |= 0x02;
+		if (d2 & 0x08)
+			bit |= 0x01;
+
+		data[byte] ^= (1 << bit);
+
+		return 1; /* Corrected the error */
+	}
+
+	if ((yaffs_CountBits(d0) +
+	     yaffs_CountBits(d1) +
+	     yaffs_CountBits(d2)) ==  1) {
+		/* Reccoverable error in ecc */
+
+		read_ecc[0] = test_ecc[0];
+		read_ecc[1] = test_ecc[1];
+		read_ecc[2] = test_ecc[2];
+
+		return 1; /* Corrected the error */
+	}
+
+	/* Unrecoverable error */
+
+	return -1;
+
+}
+
+
+/*
+ * ECCxxxOther does ECC calcs on arbitrary n bytes of data
+ */
+void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes,
+			     yaffs_ECCOther * eccOther)
+{
+	unsigned int i;
+
+	unsigned char col_parity = 0;
+	unsigned line_parity = 0;
+	unsigned line_parity_prime = 0;
+	unsigned char b;
+
+	for (i = 0; i < nBytes; i++) {
+		b = column_parity_table[*data++];
+		col_parity ^= b;
+
+		if (b & 0x01)	 {
+			/* odd number of bits in the byte */
+			line_parity ^= i;
+			line_parity_prime ^= ~i;
+		}
+
+	}
+
+	eccOther->colParity = (col_parity >> 2) & 0x3f;
+	eccOther->lineParity = line_parity;
+	eccOther->lineParityPrime = line_parity_prime;
+}
+
+int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes,
+			  yaffs_ECCOther * read_ecc,
+			  const yaffs_ECCOther * test_ecc)
+{
+	unsigned char cDelta;	/* column parity delta */
+	unsigned lDelta;	/* line parity delta */
+	unsigned lDeltaPrime;	/* line parity delta */
+	unsigned bit;
+
+	cDelta = read_ecc->colParity ^ test_ecc->colParity;
+	lDelta = read_ecc->lineParity ^ test_ecc->lineParity;
+	lDeltaPrime = read_ecc->lineParityPrime ^ test_ecc->lineParityPrime;
+
+	if ((cDelta | lDelta | lDeltaPrime) == 0)
+		return 0; /* no error */
+
+	if (lDelta == ~lDeltaPrime &&
+	    (((cDelta ^ (cDelta >> 1)) & 0x15) == 0x15))
+	{
+		/* Single bit (recoverable) error in data */
+
+		bit = 0;
+
+		if (cDelta & 0x20)
+			bit |= 0x04;
+		if (cDelta & 0x08)
+			bit |= 0x02;
+		if (cDelta & 0x02)
+			bit |= 0x01;
+
+		if(lDelta >= nBytes)
+			return -1;
+
+		data[lDelta] ^= (1 << bit);
+
+		return 1; /* corrected */
+	}
+
+	if ((yaffs_CountBits32(lDelta) + yaffs_CountBits32(lDeltaPrime) +
+	     yaffs_CountBits(cDelta)) == 1) {
+		/* Reccoverable error in ecc */
+
+		*read_ecc = *test_ecc;
+		return 1; /* corrected */
+	}
+
+	/* Unrecoverable error */
+
+	return -1;
+
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_ecc.h linux-2.6.28.6/fs/yaffs2/yaffs_ecc.h
--- linux-2.6.28/fs/yaffs2/yaffs_ecc.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_ecc.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,44 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+ /*
+  * This code implements the ECC algorithm used in SmartMedia.
+  *
+  * The ECC comprises 22 bits of parity information and is stuffed into 3 bytes.
+  * The two unused bit are set to 1.
+  * The ECC can correct single bit errors in a 256-byte page of data. Thus, two such ECC
+  * blocks are used on a 512-byte NAND page.
+  *
+  */
+
+#ifndef __YAFFS_ECC_H__
+#define __YAFFS_ECC_H__
+
+typedef struct {
+	unsigned char colParity;
+	unsigned lineParity;
+	unsigned lineParityPrime;
+} yaffs_ECCOther;
+
+void yaffs_ECCCalculate(const unsigned char *data, unsigned char *ecc);
+int yaffs_ECCCorrect(unsigned char *data, unsigned char *read_ecc,
+		     const unsigned char *test_ecc);
+
+void yaffs_ECCCalculateOther(const unsigned char *data, unsigned nBytes,
+			     yaffs_ECCOther * ecc);
+int yaffs_ECCCorrectOther(unsigned char *data, unsigned nBytes,
+			  yaffs_ECCOther * read_ecc,
+			  const yaffs_ECCOther * test_ecc);
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_fs.c linux-2.6.28.6/fs/yaffs2/yaffs_fs.c
--- linux-2.6.28/fs/yaffs2/yaffs_fs.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_fs.c	2010-04-22 05:44:13.000000000 +0200
@@ -0,0 +1,2572 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ * Acknowledgements:
+ * Luc van OostenRyck for numerous patches.
+ * Nick Bane for numerous patches.
+ * Nick Bane for 2.5/2.6 integration.
+ * Andras Toth for mknod rdev issue.
+ * Michael Fischer for finding the problem with inode inconsistency.
+ * Some code bodily lifted from JFFS
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ *
+ * This is the file system front-end to YAFFS that hooks it up to
+ * the VFS.
+ *
+ * Special notes:
+ * >> 2.4: sb->u.generic_sbp points to the yaffs_Device associated with
+ *         this superblock
+ * >> 2.6: sb->s_fs_info  points to the yaffs_Device associated with this
+ *         superblock
+ * >> inode->u.generic_ip points to the associated yaffs_Object.
+ */
+
+const char *yaffs_fs_c_version =
+    "$Id: yaffs_fs.c,v 1.72 2009/02/04 21:40:27 charles Exp $";
+extern const char *yaffs_guts_c_version;
+
+#include <linux/version.h>
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19))
+#include <linux/config.h>
+#endif
+#include <linux/kernel.h>
+#include <linux/module.h>
+#include <linux/slab.h>
+#include <linux/init.h>
+#include <linux/fs.h>
+#include <linux/proc_fs.h>
+#include <linux/smp_lock.h>
+#include <linux/pagemap.h>
+#include <linux/mtd/mtd.h>
+#include <linux/interrupt.h>
+#include <linux/string.h>
+#include <linux/ctype.h>
+
+#include "asm/div64.h"
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+
+#include <linux/statfs.h>	/* Added NCB 15-8-2003 */
+#include <asm/statfs.h>
+#define UnlockPage(p) unlock_page(p)
+#define Page_Uptodate(page)	test_bit(PG_uptodate, &(page)->flags)
+
+/* FIXME: use sb->s_id instead ? */
+#define yaffs_devname(sb, buf)	bdevname(sb->s_bdev, buf)
+
+#else
+
+#include <linux/locks.h>
+#define	BDEVNAME_SIZE		0
+#define	yaffs_devname(sb, buf)	kdevname(sb->s_dev)
+
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
+/* added NCB 26/5/2006 for 2.4.25-vrs2-tcl1 kernel */
+#define __user
+#endif
+
+#endif
+
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26))
+#define YPROC_ROOT  &proc_root
+#else
+#define YPROC_ROOT  NULL
+#endif
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+#define WRITE_SIZE_STR "writesize"
+#define WRITE_SIZE(mtd) (mtd)->writesize
+#else
+#define WRITE_SIZE_STR "oobblock"
+#define WRITE_SIZE(mtd) (mtd)->oobblock
+#endif
+
+#if(LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27))
+#define YAFFS_USE_WRITE_BEGIN_END 1
+#else
+#define YAFFS_USE_WRITE_BEGIN_END 0
+#endif
+
+
+#include <asm/uaccess.h>
+
+#include "yportenv.h"
+#include "yaffs_guts.h"
+
+#include <linux/mtd/mtd.h>
+#include "yaffs_mtdif.h"
+#include "yaffs_mtdif1.h"
+#include "yaffs_mtdif2.h"
+
+unsigned int yaffs_traceMask = 0; //YAFFS_TRACE_BAD_BLOCKS;
+unsigned int yaffs_wr_attempts = YAFFS_WR_ATTEMPTS;
+unsigned int yaffs_auto_checkpoint = 1;
+
+/* Module Parameters */
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+module_param(yaffs_traceMask,uint,0644);
+module_param(yaffs_wr_attempts,uint,0644);
+module_param(yaffs_auto_checkpoint,uint,0644);
+#else
+MODULE_PARM(yaffs_traceMask,"i");
+MODULE_PARM(yaffs_wr_attempts,"i");
+MODULE_PARM(yaffs_auto_checkpoint,"i");
+#endif
+
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25))
+/* use iget and read_inode */
+#define Y_IGET(sb,inum) iget((sb),(inum))
+static void yaffs_read_inode(struct inode *inode);
+
+#else
+/* Call local equivalent */
+#define YAFFS_USE_OWN_IGET
+#define Y_IGET(sb,inum) yaffs_iget((sb),(inum))
+
+static struct inode * yaffs_iget(struct super_block *sb, unsigned long ino);
+#endif
+
+/*#define T(x) printk x */
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18))
+#define yaffs_InodeToObjectLV(iptr) (iptr)->i_private
+#else
+#define yaffs_InodeToObjectLV(iptr) (iptr)->u.generic_ip
+#endif
+
+#define yaffs_InodeToObject(iptr) ((yaffs_Object *)(yaffs_InodeToObjectLV(iptr)))
+#define yaffs_DentryToObject(dptr) yaffs_InodeToObject((dptr)->d_inode)
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+#define yaffs_SuperToDevice(sb)	((yaffs_Device *)sb->s_fs_info)
+#else
+#define yaffs_SuperToDevice(sb)	((yaffs_Device *)sb->u.generic_sbp)
+#endif
+
+static void yaffs_put_super(struct super_block *sb);
+
+static ssize_t yaffs_file_write(struct file *f, const char *buf, size_t n,
+				loff_t * pos);
+static ssize_t yaffs_hold_space(struct file *f);
+static void yaffs_release_space(struct file *f);
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+static int yaffs_file_flush(struct file *file, fl_owner_t id);
+#else
+static int yaffs_file_flush(struct file *file);
+#endif
+
+static int yaffs_sync_object(struct file *file, struct dentry *dentry,
+			     int datasync);
+
+static int yaffs_readdir(struct file *f, void *dirent, filldir_t filldir);
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+static int yaffs_create(struct inode *dir, struct dentry *dentry, int mode,
+			struct nameidata *n);
+static struct dentry *yaffs_lookup(struct inode *dir, struct dentry *dentry,
+				   struct nameidata *n);
+#else
+static int yaffs_create(struct inode *dir, struct dentry *dentry, int mode);
+static struct dentry *yaffs_lookup(struct inode *dir, struct dentry *dentry);
+#endif
+static int yaffs_link(struct dentry *old_dentry, struct inode *dir,
+		      struct dentry *dentry);
+static int yaffs_unlink(struct inode *dir, struct dentry *dentry);
+static int yaffs_symlink(struct inode *dir, struct dentry *dentry,
+			 const char *symname);
+static int yaffs_mkdir(struct inode *dir, struct dentry *dentry, int mode);
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+static int yaffs_mknod(struct inode *dir, struct dentry *dentry, int mode,
+		       dev_t dev);
+#else
+static int yaffs_mknod(struct inode *dir, struct dentry *dentry, int mode,
+		       int dev);
+#endif
+static int yaffs_rename(struct inode *old_dir, struct dentry *old_dentry,
+			struct inode *new_dir, struct dentry *new_dentry);
+static int yaffs_setattr(struct dentry *dentry, struct iattr *attr);
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+static int yaffs_sync_fs(struct super_block *sb, int wait);
+static void yaffs_write_super(struct super_block *sb);
+#else
+static int yaffs_sync_fs(struct super_block *sb);
+static int yaffs_write_super(struct super_block *sb);
+#endif
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+static int yaffs_statfs(struct dentry *dentry, struct kstatfs *buf);
+#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+static int yaffs_statfs(struct super_block *sb, struct kstatfs *buf);
+#else
+static int yaffs_statfs(struct super_block *sb, struct statfs *buf);
+#endif
+
+#ifdef YAFFS_HAS_PUT_INODE
+static void yaffs_put_inode(struct inode *inode);
+#endif
+
+static void yaffs_delete_inode(struct inode *);
+static void yaffs_clear_inode(struct inode *);
+
+static int yaffs_readpage(struct file *file, struct page *page);
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+static int yaffs_writepage(struct page *page, struct writeback_control *wbc);
+#else
+static int yaffs_writepage(struct page *page);
+#endif
+
+
+#if (YAFFS_USE_WRITE_BEGIN_END != 0)
+static int yaffs_write_begin(struct file *filp, struct address_space *mapping,
+                             loff_t pos, unsigned len, unsigned flags,
+                          struct page **pagep, void **fsdata);
+static int yaffs_write_end(struct file *filp, struct address_space *mapping,
+			   loff_t pos, unsigned len, unsigned copied,
+			   struct page *pg, void *fsdadata);
+#else
+static int yaffs_prepare_write(struct file *f, struct page *pg,
+			       unsigned offset, unsigned to);
+static int yaffs_commit_write(struct file *f, struct page *pg, unsigned offset,
+			      unsigned to);
+                                                                                                
+#endif
+
+static int yaffs_readlink(struct dentry *dentry, char __user * buffer,
+			  int buflen);
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13))
+static void *yaffs_follow_link(struct dentry *dentry, struct nameidata *nd);
+#else
+static int yaffs_follow_link(struct dentry *dentry, struct nameidata *nd);
+#endif
+
+static struct address_space_operations yaffs_file_address_operations = {
+	.readpage = yaffs_readpage,
+	.writepage = yaffs_writepage,
+#if (YAFFS_USE_WRITE_BEGIN_END > 0)
+	.write_begin = yaffs_write_begin,
+	.write_end = yaffs_write_end,
+#else
+	.prepare_write = yaffs_prepare_write,
+	.commit_write = yaffs_commit_write,
+#endif
+};
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,22))
+static struct file_operations yaffs_file_operations = {
+	.read = do_sync_read,
+	.write = do_sync_write,
+	.aio_read = generic_file_aio_read,
+	.aio_write = generic_file_aio_write,
+	.mmap = generic_file_mmap,
+	.flush = yaffs_file_flush,
+	.fsync = yaffs_sync_object,
+	.splice_read = generic_file_splice_read,
+	.splice_write = generic_file_splice_write,
+	.llseek = generic_file_llseek,
+};
+
+#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,18))
+
+static struct file_operations yaffs_file_operations = {
+	.read = do_sync_read,
+	.write = do_sync_write,
+	.aio_read = generic_file_aio_read,
+	.aio_write = generic_file_aio_write,
+	.mmap = generic_file_mmap,
+	.flush = yaffs_file_flush,
+	.fsync = yaffs_sync_object,
+	.sendfile = generic_file_sendfile,
+};
+
+#else
+
+static struct file_operations yaffs_file_operations = {
+	.read = generic_file_read,
+	.write = generic_file_write,
+	.mmap = generic_file_mmap,
+	.flush = yaffs_file_flush,
+	.fsync = yaffs_sync_object,
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+	.sendfile = generic_file_sendfile,
+#endif
+};
+#endif
+
+static struct inode_operations yaffs_file_inode_operations = {
+	.setattr = yaffs_setattr,
+};
+
+static struct inode_operations yaffs_symlink_inode_operations = {
+	.readlink = yaffs_readlink,
+	.follow_link = yaffs_follow_link,
+	.setattr = yaffs_setattr,
+};
+
+static struct inode_operations yaffs_dir_inode_operations = {
+	.create = yaffs_create,
+	.lookup = yaffs_lookup,
+	.link = yaffs_link,
+	.unlink = yaffs_unlink,
+	.symlink = yaffs_symlink,
+	.mkdir = yaffs_mkdir,
+	.rmdir = yaffs_unlink,
+	.mknod = yaffs_mknod,
+	.rename = yaffs_rename,
+	.setattr = yaffs_setattr,
+};
+
+static struct file_operations yaffs_dir_operations = {
+	.read = generic_read_dir,
+	.readdir = yaffs_readdir,
+	.fsync = yaffs_sync_object,
+};
+
+static struct super_operations yaffs_super_ops = {
+	.statfs = yaffs_statfs,
+
+#ifndef YAFFS_USE_OWN_IGET
+	.read_inode = yaffs_read_inode,
+#endif
+#ifdef YAFFS_HAS_PUT_INODE
+	.put_inode = yaffs_put_inode,
+#endif
+	.put_super = yaffs_put_super,
+	.delete_inode = yaffs_delete_inode,
+	.clear_inode = yaffs_clear_inode,
+	.sync_fs = yaffs_sync_fs,
+	.write_super = yaffs_write_super,
+};
+
+static void yaffs_GrossLock(yaffs_Device * dev)
+{
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs locking\n"));
+
+	down(&dev->grossLock);
+}
+
+static void yaffs_GrossUnlock(yaffs_Device * dev)
+{
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs unlocking\n"));
+	up(&dev->grossLock);
+
+}
+
+static int yaffs_readlink(struct dentry *dentry, char __user * buffer,
+			  int buflen)
+{
+	unsigned char *alias;
+	int ret;
+
+	yaffs_Device *dev = yaffs_DentryToObject(dentry)->myDev;
+
+	yaffs_GrossLock(dev);
+
+	alias = yaffs_GetSymlinkAlias(yaffs_DentryToObject(dentry));
+
+	yaffs_GrossUnlock(dev);
+
+	if (!alias)
+		return -ENOMEM;
+
+	ret = vfs_readlink(dentry, buffer, buflen, alias);
+	kfree(alias);
+	return ret;
+}
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13))
+static void *yaffs_follow_link(struct dentry *dentry, struct nameidata *nd)
+#else
+static int yaffs_follow_link(struct dentry *dentry, struct nameidata *nd)
+#endif
+{
+	unsigned char *alias;
+	int ret;
+	yaffs_Device *dev = yaffs_DentryToObject(dentry)->myDev;
+
+	yaffs_GrossLock(dev);
+
+	alias = yaffs_GetSymlinkAlias(yaffs_DentryToObject(dentry));
+
+	yaffs_GrossUnlock(dev);
+
+	if (!alias)
+        {
+		ret = -ENOMEM;
+		goto out;
+        }
+
+	ret = vfs_follow_link(nd, alias);
+	kfree(alias);
+out:
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13))
+	return ERR_PTR (ret);
+#else
+	return ret;
+#endif
+}
+
+struct inode *yaffs_get_inode(struct super_block *sb, int mode, int dev,
+			      yaffs_Object * obj);
+
+/*
+ * Lookup is used to find objects in the fs
+ */
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+
+static struct dentry *yaffs_lookup(struct inode *dir, struct dentry *dentry,
+				   struct nameidata *n)
+#else
+static struct dentry *yaffs_lookup(struct inode *dir, struct dentry *dentry)
+#endif
+{
+	yaffs_Object *obj;
+	struct inode *inode = NULL;	/* NCB 2.5/2.6 needs NULL here */
+
+	yaffs_Device *dev = yaffs_InodeToObject(dir)->myDev;
+
+	yaffs_GrossLock(dev);
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_lookup for %d:%s\n",
+	   yaffs_InodeToObject(dir)->objectId, dentry->d_name.name));
+
+	obj =
+	    yaffs_FindObjectByName(yaffs_InodeToObject(dir),
+				   dentry->d_name.name);
+
+	obj = yaffs_GetEquivalentObject(obj);	/* in case it was a hardlink */
+
+	/* Can't hold gross lock when calling yaffs_get_inode() */
+	yaffs_GrossUnlock(dev);
+
+	if (obj) {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_lookup found %d\n", obj->objectId));
+
+		inode = yaffs_get_inode(dir->i_sb, obj->yst_mode, 0, obj);
+
+		if (inode) {
+			T(YAFFS_TRACE_OS,
+			  (KERN_DEBUG "yaffs_loookup dentry \n"));
+/* #if 0 asserted by NCB for 2.5/6 compatability - falls through to
+ * d_add even if NULL inode */
+#if 0
+			/*dget(dentry); // try to solve directory bug */
+			d_add(dentry, inode);
+
+			/* return dentry; */
+			return NULL;
+#endif
+		}
+
+	} else {
+		T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_lookup not found\n"));
+
+	}
+
+/* added NCB for 2.5/6 compatability - forces add even if inode is
+ * NULL which creates dentry hash */
+	d_add(dentry, inode);
+
+	return NULL;
+	/*      return (ERR_PTR(-EIO)); */
+
+}
+
+
+#ifdef YAFFS_HAS_PUT_INODE
+
+/* For now put inode is just for debugging
+ * Put inode is called when the inode **structure** is put.
+ */
+static void yaffs_put_inode(struct inode *inode)
+{
+	T(YAFFS_TRACE_OS,
+	  ("yaffs_put_inode: ino %d, count %d\n", (int)inode->i_ino,
+	   atomic_read(&inode->i_count)));
+
+}
+#endif
+
+/* clear is called to tell the fs to release any per-inode data it holds */
+static void yaffs_clear_inode(struct inode *inode)
+{
+	yaffs_Object *obj;
+	yaffs_Device *dev;
+
+	obj = yaffs_InodeToObject(inode);
+
+	T(YAFFS_TRACE_OS,
+	  ("yaffs_clear_inode: ino %d, count %d %s\n", (int)inode->i_ino,
+	   atomic_read(&inode->i_count),
+	   obj ? "object exists" : "null object"));
+
+	if (obj) {
+		dev = obj->myDev;
+		yaffs_GrossLock(dev);
+
+		/* Clear the association between the inode and
+		 * the yaffs_Object.
+		 */
+		obj->myInode = NULL;
+		yaffs_InodeToObjectLV(inode) = NULL;
+
+		/* If the object freeing was deferred, then the real
+		 * free happens now.
+		 * This should fix the inode inconsistency problem.
+		 */
+
+		yaffs_HandleDeferedFree(obj);
+
+		yaffs_GrossUnlock(dev);
+	}
+
+}
+
+/* delete is called when the link count is zero and the inode
+ * is put (ie. nobody wants to know about it anymore, time to
+ * delete the file).
+ * NB Must call clear_inode()
+ */
+static void yaffs_delete_inode(struct inode *inode)
+{
+	yaffs_Object *obj = yaffs_InodeToObject(inode);
+	yaffs_Device *dev;
+
+	T(YAFFS_TRACE_OS,
+	  ("yaffs_delete_inode: ino %d, count %d %s\n", (int)inode->i_ino,
+	   atomic_read(&inode->i_count),
+	   obj ? "object exists" : "null object"));
+
+	if (obj) {
+		dev = obj->myDev;
+		yaffs_GrossLock(dev);
+		yaffs_DeleteFile(obj);
+		yaffs_GrossUnlock(dev);
+	}
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,13))
+        truncate_inode_pages (&inode->i_data, 0);
+#endif
+	clear_inode(inode);
+}
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+static int yaffs_file_flush(struct file *file, fl_owner_t id)
+#else
+static int yaffs_file_flush(struct file *file)
+#endif
+{
+	yaffs_Object *obj = yaffs_DentryToObject(file->f_dentry);
+
+	yaffs_Device *dev = obj->myDev;
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_file_flush object %d (%s)\n", obj->objectId,
+	   obj->dirty ? "dirty" : "clean"));
+
+	yaffs_GrossLock(dev);
+
+	yaffs_FlushFile(obj, 1);
+
+	yaffs_GrossUnlock(dev);
+
+	return 0;
+}
+
+static int yaffs_readpage_nolock(struct file *f, struct page *pg)
+{
+	/* Lifted from jffs2 */
+
+	yaffs_Object *obj;
+	unsigned char *pg_buf;
+	int ret;
+
+	yaffs_Device *dev;
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_readpage at %08x, size %08x\n",
+			   (unsigned)(pg->index << PAGE_CACHE_SHIFT),
+			   (unsigned)PAGE_CACHE_SIZE));
+
+	obj = yaffs_DentryToObject(f->f_dentry);
+
+	dev = obj->myDev;
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+	BUG_ON(!PageLocked(pg));
+#else
+	if (!PageLocked(pg))
+		PAGE_BUG(pg);
+#endif
+
+	pg_buf = kmap(pg);
+	/* FIXME: Can kmap fail? */
+
+	yaffs_GrossLock(dev);
+
+	ret =
+	    yaffs_ReadDataFromFile(obj, pg_buf, pg->index << PAGE_CACHE_SHIFT,
+				   PAGE_CACHE_SIZE);
+
+	yaffs_GrossUnlock(dev);
+
+	if (ret >= 0)
+		ret = 0;
+
+	if (ret) {
+		ClearPageUptodate(pg);
+		SetPageError(pg);
+	} else {
+		SetPageUptodate(pg);
+		ClearPageError(pg);
+	}
+
+	flush_dcache_page(pg);
+	kunmap(pg);
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_readpage done\n"));
+	return ret;
+}
+
+static int yaffs_readpage_unlock(struct file *f, struct page *pg)
+{
+	int ret = yaffs_readpage_nolock(f, pg);
+	UnlockPage(pg);
+	return ret;
+}
+
+static int yaffs_readpage(struct file *f, struct page *pg)
+{
+	return yaffs_readpage_unlock(f, pg);
+}
+
+/* writepage inspired by/stolen from smbfs */
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+static int yaffs_writepage(struct page *page, struct writeback_control *wbc)
+#else
+static int yaffs_writepage(struct page *page)
+#endif
+{
+	struct address_space *mapping = page->mapping;
+	loff_t offset = (loff_t) page->index << PAGE_CACHE_SHIFT;
+	struct inode *inode;
+	unsigned long end_index;
+	char *buffer;
+	yaffs_Object *obj;
+	int nWritten = 0;
+	unsigned nBytes;
+
+	if (!mapping)
+		BUG();
+	inode = mapping->host;
+	if (!inode)
+		BUG();
+
+	if (offset > inode->i_size) {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG
+		   "yaffs_writepage at %08x, inode size = %08x!!!\n",
+		   (unsigned)(page->index << PAGE_CACHE_SHIFT),
+		   (unsigned)inode->i_size));
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "                -> don't care!!\n"));
+		unlock_page(page);
+		return 0;
+	}
+
+	end_index = inode->i_size >> PAGE_CACHE_SHIFT;
+
+	/* easy case */
+	if (page->index < end_index) {
+		nBytes = PAGE_CACHE_SIZE;
+	} else {
+		nBytes = inode->i_size & (PAGE_CACHE_SIZE - 1);
+	}
+
+	get_page(page);
+
+	buffer = kmap(page);
+
+	obj = yaffs_InodeToObject(inode);
+	yaffs_GrossLock(obj->myDev);
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_writepage at %08x, size %08x\n",
+	   (unsigned)(page->index << PAGE_CACHE_SHIFT), nBytes));
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "writepag0: obj = %05x, ino = %05x\n",
+	   (int)obj->variant.fileVariant.fileSize, (int)inode->i_size));
+
+	nWritten =
+	    yaffs_WriteDataToFile(obj, buffer, page->index << PAGE_CACHE_SHIFT,
+				  nBytes, 0);
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "writepag1: obj = %05x, ino = %05x\n",
+	   (int)obj->variant.fileVariant.fileSize, (int)inode->i_size));
+
+	yaffs_GrossUnlock(obj->myDev);
+
+	kunmap(page);
+	SetPageUptodate(page);
+	UnlockPage(page);
+	put_page(page);
+
+	return (nWritten == nBytes) ? 0 : -ENOSPC;
+}
+
+
+#if (YAFFS_USE_WRITE_BEGIN_END > 0)
+static int yaffs_write_begin(struct file *filp, struct address_space *mapping,
+                             loff_t pos, unsigned len, unsigned flags,
+                          struct page **pagep, void **fsdata)
+
+{
+	struct page *pg = NULL;
+        pgoff_t index = pos >> PAGE_CACHE_SHIFT;
+        uint32_t offset = pos & (PAGE_CACHE_SIZE - 1);
+        uint32_t to = offset + len;
+        
+        int ret = 0;
+        int space_held = 0;
+        
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "start yaffs_write_begin\n"));
+	/* Get a page */
+	pg = grab_cache_page(mapping,index);
+	*pagep = pg;	
+	if(!pg){
+		ret =  -ENOMEM;
+		goto out;
+	}
+	/* Get fs space */
+	space_held = yaffs_hold_space(filp);
+	
+	if(!space_held){
+		ret = -ENOSPC;
+		goto out;
+	}
+		
+	/* Update page if required */
+	
+	if (!Page_Uptodate(pg) && (offset || to < PAGE_CACHE_SIZE))
+		ret = yaffs_readpage_nolock(filp, pg);
+	
+	if(ret)
+		goto out;
+
+	/* Happy path return */
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "end yaffs_write_begin - ok\n"));
+		
+	return 0;
+		
+out:
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "end yaffs_write_begin fail returning %d\n",ret));
+	if(space_held){
+		yaffs_release_space(filp);
+	}
+	if(pg) {
+		unlock_page(pg);
+		page_cache_release(pg);
+	}
+	return ret;
+}
+
+#else
+
+static int yaffs_prepare_write(struct file *f, struct page *pg,
+			       unsigned offset, unsigned to)
+{
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_prepair_write\n"));
+	if (!Page_Uptodate(pg) && (offset || to < PAGE_CACHE_SIZE))
+		return yaffs_readpage_nolock(f, pg);
+	return 0;
+
+}
+#endif
+
+#if (YAFFS_USE_WRITE_BEGIN_END > 0)
+static int yaffs_write_end(struct file *filp, struct address_space *mapping,
+			   loff_t pos, unsigned len, unsigned copied,
+			   struct page *pg, void *fsdadata)
+{
+	int ret = 0;
+	void *addr, *kva;
+        uint32_t offset_into_page = pos & (PAGE_CACHE_SIZE -1); 
+
+
+	
+	kva=kmap(pg);
+	addr = kva + offset_into_page;
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_write_end addr %x pos %x nBytes %d\n", (unsigned) addr,
+	   (int)pos, copied));
+
+	ret = yaffs_file_write(filp, addr, copied, &pos);
+
+	if (ret != copied) {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG
+		   "yaffs_write_end not same size ret %d  copied %d\n",
+		   ret, copied ));
+		SetPageError(pg);
+		ClearPageUptodate(pg);
+	} else {
+		SetPageUptodate(pg);
+	}
+
+	kunmap(pg);
+
+	yaffs_release_space(filp);
+	unlock_page(pg);
+	page_cache_release(pg);
+	return ret;
+}
+#else
+
+static int yaffs_commit_write(struct file *f, struct page *pg, unsigned offset,
+			      unsigned to)
+{
+
+	void *addr, *kva;
+	
+	loff_t pos = (((loff_t) pg->index) << PAGE_CACHE_SHIFT) + offset;
+	int nBytes = to - offset;
+	int nWritten;
+
+	unsigned spos = pos;
+	unsigned saddr;
+	
+	kva=kmap(pg);
+	addr = kva + offset;
+
+	saddr = (unsigned) addr;
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_commit_write addr %x pos %x nBytes %d\n", saddr,
+	   spos, nBytes));
+
+	nWritten = yaffs_file_write(f, addr, nBytes, &pos);
+
+	if (nWritten != nBytes) {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG
+		   "yaffs_commit_write not same size nWritten %d  nBytes %d\n",
+		   nWritten, nBytes));
+		SetPageError(pg);
+		ClearPageUptodate(pg);
+	} else {
+		SetPageUptodate(pg);
+	}
+
+	kunmap(pg);
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_commit_write returning %d\n",
+	   nWritten == nBytes ? 0 : nWritten));
+
+	return nWritten == nBytes ? 0 : nWritten;
+
+}
+#endif
+
+
+static void yaffs_FillInodeFromObject(struct inode *inode, yaffs_Object * obj)
+{
+	if (inode && obj) {
+
+
+		/* Check mode against the variant type and attempt to repair if broken. */
+ 		__u32 mode = obj->yst_mode;
+ 		switch( obj->variantType ){
+ 		case YAFFS_OBJECT_TYPE_FILE :
+ 		        if( ! S_ISREG(mode) ){
+ 			        obj->yst_mode &= ~S_IFMT;
+ 			        obj->yst_mode |= S_IFREG;
+ 			}
+
+ 			break;
+ 		case YAFFS_OBJECT_TYPE_SYMLINK :
+ 		        if( ! S_ISLNK(mode) ){
+ 			        obj->yst_mode &= ~S_IFMT;
+ 				obj->yst_mode |= S_IFLNK;
+ 			}
+
+ 			break;
+ 		case YAFFS_OBJECT_TYPE_DIRECTORY :
+ 		        if( ! S_ISDIR(mode) ){
+ 			        obj->yst_mode &= ~S_IFMT;
+ 			        obj->yst_mode |= S_IFDIR;
+ 			}
+
+ 			break;
+ 		case YAFFS_OBJECT_TYPE_UNKNOWN :
+ 		case YAFFS_OBJECT_TYPE_HARDLINK :
+ 		case YAFFS_OBJECT_TYPE_SPECIAL :
+ 		default:
+ 		        /* TODO? */
+ 		        break;
+ 		}
+
+ 		inode->i_flags |= S_NOATIME;
+ 		
+		inode->i_ino = obj->objectId;
+		inode->i_mode = obj->yst_mode;
+		inode->i_uid = obj->yst_uid;
+		inode->i_gid = obj->yst_gid;
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19))
+		inode->i_blksize = inode->i_sb->s_blocksize;
+#endif
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+
+		inode->i_rdev = old_decode_dev(obj->yst_rdev);
+		inode->i_atime.tv_sec = (time_t) (obj->yst_atime);
+		inode->i_atime.tv_nsec = 0;
+		inode->i_mtime.tv_sec = (time_t) obj->yst_mtime;
+		inode->i_mtime.tv_nsec = 0;
+		inode->i_ctime.tv_sec = (time_t) obj->yst_ctime;
+		inode->i_ctime.tv_nsec = 0;
+#else
+		inode->i_rdev = obj->yst_rdev;
+		inode->i_atime = obj->yst_atime;
+		inode->i_mtime = obj->yst_mtime;
+		inode->i_ctime = obj->yst_ctime;
+#endif
+		inode->i_size = yaffs_GetObjectFileLength(obj);
+		inode->i_blocks = (inode->i_size + 511) >> 9;
+
+		inode->i_nlink = yaffs_GetObjectLinkCount(obj);
+
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG
+		   "yaffs_FillInode mode %x uid %d gid %d size %d count %d\n",
+		   inode->i_mode, inode->i_uid, inode->i_gid,
+		   (int)inode->i_size, atomic_read(&inode->i_count)));
+
+		switch (obj->yst_mode & S_IFMT) {
+		default:	/* fifo, device or socket */
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+			init_special_inode(inode, obj->yst_mode,
+					   old_decode_dev(obj->yst_rdev));
+#else
+			init_special_inode(inode, obj->yst_mode,
+					   (dev_t) (obj->yst_rdev));
+#endif
+			break;
+		case S_IFREG:	/* file */
+			inode->i_op = &yaffs_file_inode_operations;
+			inode->i_fop = &yaffs_file_operations;
+			inode->i_mapping->a_ops =
+			    &yaffs_file_address_operations;
+			break;
+		case S_IFDIR:	/* directory */
+			inode->i_op = &yaffs_dir_inode_operations;
+			inode->i_fop = &yaffs_dir_operations;
+			break;
+		case S_IFLNK:	/* symlink */
+			inode->i_op = &yaffs_symlink_inode_operations;
+			break;
+		}
+
+		yaffs_InodeToObjectLV(inode) = obj;
+
+		obj->myInode = inode;
+
+	} else {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_FileInode invalid parameters\n"));
+	}
+
+}
+
+struct inode *yaffs_get_inode(struct super_block *sb, int mode, int dev,
+			      yaffs_Object * obj)
+{
+	struct inode *inode;
+
+	if (!sb) {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_get_inode for NULL super_block!!\n"));
+		return NULL;
+
+	}
+
+	if (!obj) {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_get_inode for NULL object!!\n"));
+		return NULL;
+
+	}
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_get_inode for object %d\n", obj->objectId));
+
+	inode = Y_IGET(sb, obj->objectId);
+	if(IS_ERR(inode))
+	  return NULL;
+
+	/* NB Side effect: iget calls back to yaffs_read_inode(). */
+	/* iget also increments the inode's i_count */
+	/* NB You can't be holding grossLock or deadlock will happen! */
+
+	return inode;
+}
+
+static ssize_t yaffs_file_write(struct file *f, const char *buf, size_t n,
+				loff_t * pos)
+{
+	yaffs_Object *obj;
+	int nWritten, ipos;
+	struct inode *inode;
+	yaffs_Device *dev;
+
+	obj = yaffs_DentryToObject(f->f_dentry);
+
+	dev = obj->myDev;
+
+	yaffs_GrossLock(dev);
+
+	inode = f->f_dentry->d_inode;
+
+	if (!S_ISBLK(inode->i_mode) && f->f_flags & O_APPEND) {
+		ipos = inode->i_size;
+	} else {
+		ipos = *pos;
+	}
+
+	if (!obj) {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_file_write: hey obj is null!\n"));
+	} else {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG
+		   "yaffs_file_write about to write writing %zu bytes"
+		   "to object %d at %d\n",
+		   n, obj->objectId, ipos));
+	}
+
+	nWritten = yaffs_WriteDataToFile(obj, buf, ipos, n, 0);
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_file_write writing %zu bytes, %d written at %d\n",
+	   n, nWritten, ipos));
+	if (nWritten > 0) {
+		ipos += nWritten;
+		*pos = ipos;
+		if (ipos > inode->i_size) {
+			inode->i_size = ipos;
+			inode->i_blocks = (ipos + 511) >> 9;
+
+			T(YAFFS_TRACE_OS,
+			  (KERN_DEBUG
+			   "yaffs_file_write size updated to %d bytes, "
+			   "%d blocks\n",
+			   ipos, (int)(inode->i_blocks)));
+		}
+
+	}
+	yaffs_GrossUnlock(dev);
+	return nWritten == 0 ? -ENOSPC : nWritten;
+}
+
+/* Space holding and freeing is done to ensure we have space available for write_begin/end */
+/* For now we just assume few parallel writes and check against a small number. */
+/* Todo: need to do this with a counter to handle parallel reads better */
+
+static ssize_t yaffs_hold_space(struct file *f)
+{
+	yaffs_Object *obj;
+	yaffs_Device *dev;
+	
+	int nFreeChunks;
+
+	
+	obj = yaffs_DentryToObject(f->f_dentry);
+
+	dev = obj->myDev;
+
+	yaffs_GrossLock(dev);
+
+	nFreeChunks = yaffs_GetNumberOfFreeChunks(dev);
+	
+	yaffs_GrossUnlock(dev);
+
+	return (nFreeChunks > 20) ? 1 : 0;
+}
+
+static void yaffs_release_space(struct file *f)
+{
+	yaffs_Object *obj;
+	yaffs_Device *dev;
+	
+	
+	obj = yaffs_DentryToObject(f->f_dentry);
+
+	dev = obj->myDev;
+
+	yaffs_GrossLock(dev);
+
+	
+	yaffs_GrossUnlock(dev);
+
+}
+
+static int yaffs_readdir(struct file *f, void *dirent, filldir_t filldir)
+{
+	yaffs_Object *obj;
+	yaffs_Device *dev;
+	struct inode *inode = f->f_dentry->d_inode;
+	unsigned long offset, curoffs;
+	struct ylist_head *i;
+	yaffs_Object *l;
+
+	char name[YAFFS_MAX_NAME_LENGTH + 1];
+
+	obj = yaffs_DentryToObject(f->f_dentry);
+	dev = obj->myDev;
+
+	yaffs_GrossLock(dev);
+
+	offset = f->f_pos;
+
+	T(YAFFS_TRACE_OS, ("yaffs_readdir: starting at %d\n", (int)offset));
+
+	if (offset == 0) {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_readdir: entry . ino %d \n",
+		   (int)inode->i_ino));
+		if (filldir(dirent, ".", 1, offset, inode->i_ino, DT_DIR)
+		    < 0) {
+			goto out;
+		}
+		offset++;
+		f->f_pos++;
+	}
+	if (offset == 1) {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_readdir: entry .. ino %d \n",
+		   (int)f->f_dentry->d_parent->d_inode->i_ino));
+		if (filldir
+		    (dirent, "..", 2, offset,
+		     f->f_dentry->d_parent->d_inode->i_ino, DT_DIR) < 0) {
+			goto out;
+		}
+		offset++;
+		f->f_pos++;
+	}
+
+	curoffs = 1;
+
+	/* If the directory has changed since the open or last call to
+	   readdir, rewind to after the 2 canned entries. */
+
+	if (f->f_version != inode->i_version) {
+		offset = 2;
+		f->f_pos = offset;
+		f->f_version = inode->i_version;
+	}
+
+	ylist_for_each(i, &obj->variant.directoryVariant.children) {
+		curoffs++;
+		if (curoffs >= offset) {
+			l = ylist_entry(i, yaffs_Object, siblings);
+
+			yaffs_GetObjectName(l, name,
+					    YAFFS_MAX_NAME_LENGTH + 1);
+			T(YAFFS_TRACE_OS,
+			  (KERN_DEBUG "yaffs_readdir: %s inode %d\n", name,
+			   yaffs_GetObjectInode(l)));
+
+			if (filldir(dirent,
+				    name,
+				    strlen(name),
+				    offset,
+				    yaffs_GetObjectInode(l),
+				    yaffs_GetObjectType(l))
+			    < 0) {
+				goto up_and_out;
+			}
+
+			offset++;
+			f->f_pos++;
+		}
+	}
+
+      up_and_out:
+      out:
+
+	yaffs_GrossUnlock(dev);
+
+	return 0;
+}
+
+/*
+ * File creation. Allocate an inode, and we're done..
+ */
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+static int yaffs_mknod(struct inode *dir, struct dentry *dentry, int mode,
+		       dev_t rdev)
+#else
+static int yaffs_mknod(struct inode *dir, struct dentry *dentry, int mode,
+		       int rdev)
+#endif
+{
+	struct inode *inode;
+
+	yaffs_Object *obj = NULL;
+	yaffs_Device *dev;
+
+	yaffs_Object *parent = yaffs_InodeToObject(dir);
+
+	int error = -ENOSPC;
+	uid_t uid = current->fsuid;
+	gid_t gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid;
+
+	if((dir->i_mode & S_ISGID) && S_ISDIR(mode))
+		mode |= S_ISGID;
+
+	if (parent) {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_mknod: parent object %d type %d\n",
+		   parent->objectId, parent->variantType));
+	} else {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_mknod: could not get parent object\n"));
+		return -EPERM;
+	}
+
+	T(YAFFS_TRACE_OS, ("yaffs_mknod: making oject for %s, "
+			   "mode %x dev %x\n",
+			   dentry->d_name.name, mode, rdev));
+
+	dev = parent->myDev;
+
+	yaffs_GrossLock(dev);
+
+	switch (mode & S_IFMT) {
+	default:
+		/* Special (socket, fifo, device...) */
+		T(YAFFS_TRACE_OS, (KERN_DEBUG
+				   "yaffs_mknod: making special\n"));
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+		obj =
+		    yaffs_MknodSpecial(parent, dentry->d_name.name, mode, uid,
+				       gid, old_encode_dev(rdev));
+#else
+		obj =
+		    yaffs_MknodSpecial(parent, dentry->d_name.name, mode, uid,
+				       gid, rdev);
+#endif
+		break;
+	case S_IFREG:		/* file          */
+		T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_mknod: making file\n"));
+		obj =
+		    yaffs_MknodFile(parent, dentry->d_name.name, mode, uid,
+				    gid);
+		break;
+	case S_IFDIR:		/* directory */
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_mknod: making directory\n"));
+		obj =
+		    yaffs_MknodDirectory(parent, dentry->d_name.name, mode,
+					 uid, gid);
+		break;
+	case S_IFLNK:		/* symlink */
+		T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_mknod: making file\n"));
+		obj = NULL;	/* Do we ever get here? */
+		break;
+	}
+
+	/* Can not call yaffs_get_inode() with gross lock held */
+	yaffs_GrossUnlock(dev);
+
+	if (obj) {
+		inode = yaffs_get_inode(dir->i_sb, mode, rdev, obj);
+		d_instantiate(dentry, inode);
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_mknod created object %d count = %d\n",
+		   obj->objectId, atomic_read(&inode->i_count)));
+		error = 0;
+	} else {
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_mknod failed making object\n"));
+		error = -ENOMEM;
+	}
+
+	return error;
+}
+
+static int yaffs_mkdir(struct inode *dir, struct dentry *dentry, int mode)
+{
+	int retVal;
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_mkdir\n"));
+	retVal = yaffs_mknod(dir, dentry, mode | S_IFDIR, 0);
+#if 0
+	/* attempt to fix dir bug - didn't work */
+	if (!retVal) {
+		dget(dentry);
+	}
+#endif
+	return retVal;
+}
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+static int yaffs_create(struct inode *dir, struct dentry *dentry, int mode,
+			struct nameidata *n)
+#else
+static int yaffs_create(struct inode *dir, struct dentry *dentry, int mode)
+#endif
+{
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_create\n"));
+	return yaffs_mknod(dir, dentry, mode | S_IFREG, 0);
+}
+
+static int yaffs_unlink(struct inode *dir, struct dentry *dentry)
+{
+	int retVal;
+
+	yaffs_Device *dev;
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_unlink %d:%s\n", (int)(dir->i_ino),
+	   dentry->d_name.name));
+
+	dev = yaffs_InodeToObject(dir)->myDev;
+
+	yaffs_GrossLock(dev);
+
+	retVal = yaffs_Unlink(yaffs_InodeToObject(dir), dentry->d_name.name);
+
+	if (retVal == YAFFS_OK) {
+		dentry->d_inode->i_nlink--;
+		dir->i_version++;
+		yaffs_GrossUnlock(dev);
+		mark_inode_dirty(dentry->d_inode);
+		return 0;
+	}
+	yaffs_GrossUnlock(dev);
+	return -ENOTEMPTY;
+}
+
+/*
+ * Create a link...
+ */
+static int yaffs_link(struct dentry *old_dentry, struct inode *dir,
+		      struct dentry *dentry)
+{
+	struct inode *inode = old_dentry->d_inode;
+	yaffs_Object *obj = NULL;
+	yaffs_Object *link = NULL;
+	yaffs_Device *dev;
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_link\n"));
+
+	obj = yaffs_InodeToObject(inode);
+	dev = obj->myDev;
+
+	yaffs_GrossLock(dev);
+
+	if (!S_ISDIR(inode->i_mode))	/* Don't link directories */
+	{
+		link =
+		    yaffs_Link(yaffs_InodeToObject(dir), dentry->d_name.name,
+			       obj);
+	}
+
+	if (link) {
+		old_dentry->d_inode->i_nlink = yaffs_GetObjectLinkCount(obj);
+		d_instantiate(dentry, old_dentry->d_inode);
+		atomic_inc(&old_dentry->d_inode->i_count);
+		T(YAFFS_TRACE_OS,
+		  (KERN_DEBUG "yaffs_link link count %d i_count %d\n",
+		   old_dentry->d_inode->i_nlink,
+		   atomic_read(&old_dentry->d_inode->i_count)));
+
+	}
+
+	yaffs_GrossUnlock(dev);
+
+	if (link) {
+
+		return 0;
+	}
+
+	return -EPERM;
+}
+
+static int yaffs_symlink(struct inode *dir, struct dentry *dentry,
+			 const char *symname)
+{
+	yaffs_Object *obj;
+	yaffs_Device *dev;
+	uid_t uid = current->fsuid;
+	gid_t gid = (dir->i_mode & S_ISGID) ? dir->i_gid : current->fsgid;
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_symlink\n"));
+
+	dev = yaffs_InodeToObject(dir)->myDev;
+	yaffs_GrossLock(dev);
+	obj = yaffs_MknodSymLink(yaffs_InodeToObject(dir), dentry->d_name.name,
+				 S_IFLNK | S_IRWXUGO, uid, gid, symname);
+	yaffs_GrossUnlock(dev);
+
+	if (obj) {
+
+		struct inode *inode;
+
+		inode = yaffs_get_inode(dir->i_sb, obj->yst_mode, 0, obj);
+		d_instantiate(dentry, inode);
+		T(YAFFS_TRACE_OS, (KERN_DEBUG "symlink created OK\n"));
+		return 0;
+	} else {
+		T(YAFFS_TRACE_OS, (KERN_DEBUG "symlink not created\n"));
+
+	}
+
+	return -ENOMEM;
+}
+
+static int yaffs_sync_object(struct file *file, struct dentry *dentry,
+			     int datasync)
+{
+
+	yaffs_Object *obj;
+	yaffs_Device *dev;
+
+	obj = yaffs_DentryToObject(dentry);
+
+	dev = obj->myDev;
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_sync_object\n"));
+	yaffs_GrossLock(dev);
+	yaffs_FlushFile(obj, 1);
+	yaffs_GrossUnlock(dev);
+	return 0;
+}
+
+/*
+ * The VFS layer already does all the dentry stuff for rename.
+ *
+ * NB: POSIX says you can rename an object over an old object of the same name
+ */
+static int yaffs_rename(struct inode *old_dir, struct dentry *old_dentry,
+			struct inode *new_dir, struct dentry *new_dentry)
+{
+	yaffs_Device *dev;
+	int retVal = YAFFS_FAIL;
+	yaffs_Object *target;
+
+        T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_rename\n"));
+	dev = yaffs_InodeToObject(old_dir)->myDev;
+
+	yaffs_GrossLock(dev);
+
+	/* Check if the target is an existing directory that is not empty. */
+	target =
+	    yaffs_FindObjectByName(yaffs_InodeToObject(new_dir),
+				   new_dentry->d_name.name);
+
+
+
+	if (target &&
+	    target->variantType == YAFFS_OBJECT_TYPE_DIRECTORY &&
+	    !ylist_empty(&target->variant.directoryVariant.children)) {
+
+	        T(YAFFS_TRACE_OS, (KERN_DEBUG "target is non-empty dir\n"));
+
+		retVal = YAFFS_FAIL;
+	} else {
+
+		/* Now does unlinking internally using shadowing mechanism */
+	        T(YAFFS_TRACE_OS, (KERN_DEBUG "calling yaffs_RenameObject\n"));
+
+		retVal =
+		    yaffs_RenameObject(yaffs_InodeToObject(old_dir),
+				       old_dentry->d_name.name,
+				       yaffs_InodeToObject(new_dir),
+				       new_dentry->d_name.name);
+
+	}
+	yaffs_GrossUnlock(dev);
+
+	if (retVal == YAFFS_OK) {
+		if(target) {
+			new_dentry->d_inode->i_nlink--;
+			mark_inode_dirty(new_dentry->d_inode);
+		}
+
+		return 0;
+	} else {
+		return -ENOTEMPTY;
+	}
+
+}
+
+static int yaffs_setattr(struct dentry *dentry, struct iattr *attr)
+{
+	struct inode *inode = dentry->d_inode;
+	int error;
+	yaffs_Device *dev;
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_setattr of object %d\n",
+	   yaffs_InodeToObject(inode)->objectId));
+
+	if ((error = inode_change_ok(inode, attr)) == 0) {
+
+		dev = yaffs_InodeToObject(inode)->myDev;
+		yaffs_GrossLock(dev);
+		if (yaffs_SetAttributes(yaffs_InodeToObject(inode), attr) ==
+		    YAFFS_OK) {
+			error = 0;
+		} else {
+			error = -EPERM;
+		}
+		yaffs_GrossUnlock(dev);
+		if (!error)
+			error = inode_setattr(inode, attr);
+	}
+	return error;
+}
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+static int yaffs_statfs(struct dentry *dentry, struct kstatfs *buf)
+{
+	yaffs_Device *dev = yaffs_DentryToObject(dentry)->myDev;
+	struct super_block *sb = dentry->d_sb;
+#elif (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+static int yaffs_statfs(struct super_block *sb, struct kstatfs *buf)
+{
+	yaffs_Device *dev = yaffs_SuperToDevice(sb);
+#else
+static int yaffs_statfs(struct super_block *sb, struct statfs *buf)
+{
+	yaffs_Device *dev = yaffs_SuperToDevice(sb);
+#endif
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_statfs\n"));
+
+	yaffs_GrossLock(dev);
+
+	buf->f_type = YAFFS_MAGIC;
+	buf->f_bsize = sb->s_blocksize;
+	buf->f_namelen = 255;
+	
+	if(dev->nDataBytesPerChunk & (dev->nDataBytesPerChunk - 1)){
+		/* Do this if chunk size is not a power of 2 */
+		
+		uint64_t bytesInDev;
+		uint64_t bytesFree;
+
+		bytesInDev = ((uint64_t)((dev->endBlock - dev->startBlock +1))) *
+			     ((uint64_t)(dev->nChunksPerBlock * dev->nDataBytesPerChunk));
+	
+		do_div(bytesInDev,sb->s_blocksize); /* bytesInDev becomes the number of blocks */
+		buf->f_blocks = bytesInDev;
+
+		bytesFree  = ((uint64_t)(yaffs_GetNumberOfFreeChunks(dev))) *
+			     ((uint64_t)(dev->nDataBytesPerChunk));
+	
+		do_div(bytesFree,sb->s_blocksize);
+	
+		buf->f_bfree = bytesFree;
+	
+	} else if (sb->s_blocksize > dev->nDataBytesPerChunk) {
+	
+		buf->f_blocks =
+	                   (dev->endBlock - dev->startBlock + 1) * 
+	                    dev->nChunksPerBlock / 
+	                    (sb->s_blocksize / dev->nDataBytesPerChunk);
+	        buf->f_bfree =
+	                   yaffs_GetNumberOfFreeChunks(dev) / 
+	                   (sb->s_blocksize / dev->nDataBytesPerChunk);
+	} else {
+	       buf->f_blocks =
+	                   (dev->endBlock - dev->startBlock + 1) * 
+	                   dev->nChunksPerBlock * 
+	                   (dev->nDataBytesPerChunk / sb->s_blocksize);
+	                   
+	               buf->f_bfree =
+	                   yaffs_GetNumberOfFreeChunks(dev) * 
+	                   (dev->nDataBytesPerChunk / sb->s_blocksize);
+	}
+	
+	
+	buf->f_files = 0;
+	buf->f_ffree = 0;
+	buf->f_bavail = buf->f_bfree;
+
+	yaffs_GrossUnlock(dev);
+	return 0;
+}
+
+
+static int yaffs_do_sync_fs(struct super_block *sb)
+{
+
+	yaffs_Device *dev = yaffs_SuperToDevice(sb);
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_do_sync_fs\n"));
+
+	if(sb->s_dirt) {
+		yaffs_GrossLock(dev);
+
+		if(dev){
+			yaffs_FlushEntireDeviceCache(dev);
+			yaffs_CheckpointSave(dev);
+		}
+
+		yaffs_GrossUnlock(dev);
+
+		sb->s_dirt = 0;
+	}
+	return 0;
+}
+
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+static void yaffs_write_super(struct super_block *sb)
+#else
+static int yaffs_write_super(struct super_block *sb)
+#endif
+{
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_write_super\n"));
+	if (yaffs_auto_checkpoint >= 2)
+		yaffs_do_sync_fs(sb);
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18))
+	return 0; 
+#endif
+}
+
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+static int yaffs_sync_fs(struct super_block *sb, int wait)
+#else
+static int yaffs_sync_fs(struct super_block *sb)
+#endif
+{
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_sync_fs\n"));
+
+	if (yaffs_auto_checkpoint >= 1)
+		yaffs_do_sync_fs(sb);
+	
+	return 0; 
+
+}
+
+#ifdef YAFFS_USE_OWN_IGET
+
+static struct inode * yaffs_iget(struct super_block *sb, unsigned long ino)
+{
+	struct inode *inode;
+	yaffs_Object *obj;
+	yaffs_Device *dev = yaffs_SuperToDevice(sb);
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_iget for %lu\n", ino));
+
+	inode = iget_locked(sb, ino);
+	if (!inode)
+		return ERR_PTR(-ENOMEM);
+	if (!(inode->i_state & I_NEW))
+		return inode;
+
+       /* NB This is called as a side effect of other functions, but
+	* we had to release the lock to prevent deadlocks, so
+	* need to lock again.
+	*/
+    
+	yaffs_GrossLock(dev);
+
+	obj = yaffs_FindObjectByNumber(dev, inode->i_ino);
+
+	yaffs_FillInodeFromObject(inode, obj);
+
+	yaffs_GrossUnlock(dev);
+	
+	unlock_new_inode(inode);
+	return inode;
+}
+
+#else
+
+static void yaffs_read_inode(struct inode *inode)
+{
+	/* NB This is called as a side effect of other functions, but
+	 * we had to release the lock to prevent deadlocks, so
+	 * need to lock again.
+	 */
+
+	yaffs_Object *obj;
+	yaffs_Device *dev = yaffs_SuperToDevice(inode->i_sb);
+
+	T(YAFFS_TRACE_OS,
+	  (KERN_DEBUG "yaffs_read_inode for %d\n", (int)inode->i_ino));
+
+	yaffs_GrossLock(dev);
+
+	obj = yaffs_FindObjectByNumber(dev, inode->i_ino);
+
+	yaffs_FillInodeFromObject(inode, obj);
+
+	yaffs_GrossUnlock(dev);
+}
+
+#endif
+
+static YLIST_HEAD(yaffs_dev_list);
+
+#if 0 // not used
+static int yaffs_remount_fs(struct super_block *sb, int *flags, char *data)
+{
+	yaffs_Device    *dev = yaffs_SuperToDevice(sb);
+
+	if( *flags & MS_RDONLY ) {
+		struct mtd_info *mtd = yaffs_SuperToDevice(sb)->genericDevice;
+
+		T(YAFFS_TRACE_OS,
+			(KERN_DEBUG "yaffs_remount_fs: %s: RO\n", dev->name ));
+
+		yaffs_GrossLock(dev);
+
+		yaffs_FlushEntireDeviceCache(dev);
+
+		yaffs_CheckpointSave(dev);
+
+		if (mtd->sync)
+			mtd->sync(mtd);
+
+		yaffs_GrossUnlock(dev);
+	}
+	else {
+		T(YAFFS_TRACE_OS,
+			(KERN_DEBUG "yaffs_remount_fs: %s: RW\n", dev->name ));
+	}
+
+	return 0;
+}
+#endif
+
+static void yaffs_put_super(struct super_block *sb)
+{
+	yaffs_Device *dev = yaffs_SuperToDevice(sb);
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_put_super\n"));
+
+	yaffs_GrossLock(dev);
+
+	yaffs_FlushEntireDeviceCache(dev);
+
+	yaffs_CheckpointSave(dev);
+
+	if (dev->putSuperFunc) {
+		dev->putSuperFunc(sb);
+	}
+
+	yaffs_Deinitialise(dev);
+
+	yaffs_GrossUnlock(dev);
+
+	/* we assume this is protected by lock_kernel() in mount/umount */
+	ylist_del(&dev->devList);
+
+	if(dev->spareBuffer){
+		YFREE(dev->spareBuffer);
+		dev->spareBuffer = NULL;
+	}
+
+	kfree(dev);
+}
+
+
+static void yaffs_MTDPutSuper(struct super_block *sb)
+{
+
+	struct mtd_info *mtd = yaffs_SuperToDevice(sb)->genericDevice;
+
+	if (mtd->sync) {
+		mtd->sync(mtd);
+	}
+
+	put_mtd_device(mtd);
+}
+
+
+static void yaffs_MarkSuperBlockDirty(void *vsb)
+{
+	struct super_block *sb = (struct super_block *)vsb;
+
+	T(YAFFS_TRACE_OS, (KERN_DEBUG "yaffs_MarkSuperBlockDirty() sb = %p\n",sb));
+	if(sb)
+		sb->s_dirt = 1;
+}
+
+typedef struct {
+	int inband_tags;
+	int skip_checkpoint_read;
+	int skip_checkpoint_write;
+	int no_cache;
+} yaffs_options;
+
+#define MAX_OPT_LEN 20
+static int yaffs_parse_options(yaffs_options *options, const char *options_str)
+{
+	char cur_opt[MAX_OPT_LEN+1];
+	int p;
+	int error = 0;
+
+	/* Parse through the options which is a comma seperated list */
+
+	while(options_str && *options_str && !error){
+		memset(cur_opt,0,MAX_OPT_LEN+1);
+		p = 0;
+
+		while(*options_str && *options_str != ','){
+			if(p < MAX_OPT_LEN){
+				cur_opt[p] = *options_str;
+				p++;
+			}
+			options_str++;
+		}
+
+		if(!strcmp(cur_opt,"inband-tags"))
+			options->inband_tags = 1;
+		else if(!strcmp(cur_opt,"no-cache"))
+			options->no_cache = 1;
+		else if(!strcmp(cur_opt,"no-checkpoint-read"))
+			options->skip_checkpoint_read = 1;
+		else if(!strcmp(cur_opt,"no-checkpoint-write"))
+			options->skip_checkpoint_write = 1;
+		else if(!strcmp(cur_opt,"no-checkpoint")){
+			options->skip_checkpoint_read = 1;
+			options->skip_checkpoint_write = 1;
+		} else {
+			printk(KERN_INFO "yaffs: Bad mount option \"%s\"\n",cur_opt);
+			error = 1;
+		}
+
+	}
+
+	return error;
+}
+
+static struct super_block *yaffs_internal_read_super(int yaffsVersion,
+						     struct super_block *sb,
+						     void *data, int silent)
+{
+	int nBlocks;
+	struct inode *inode = NULL;
+	struct dentry *root;
+	yaffs_Device *dev = 0;
+	char devname_buf[BDEVNAME_SIZE + 1];
+	struct mtd_info *mtd;
+	int err;
+	char *data_str = (char *)data;
+
+	yaffs_options options;
+
+	sb->s_magic = YAFFS_MAGIC;
+	sb->s_op = &yaffs_super_ops;
+	sb->s_flags |= MS_NOATIME;
+
+	if (!sb)
+		printk(KERN_INFO "yaffs: sb is NULL\n");
+	else if (!sb->s_dev)
+		printk(KERN_INFO "yaffs: sb->s_dev is NULL\n");
+	else if (!yaffs_devname(sb, devname_buf))
+		printk(KERN_INFO "yaffs: devname is NULL\n");
+	else
+		printk(KERN_INFO "yaffs: dev is %d name is \"%s\"\n",
+		       sb->s_dev,
+		       yaffs_devname(sb, devname_buf));
+
+	if(!data_str)
+		data_str = "";
+
+	printk(KERN_INFO "yaffs: passed flags \"%s\"\n",data_str);
+
+	memset(&options,0,sizeof(options));
+
+	if(yaffs_parse_options(&options,data_str)){
+		/* Option parsing failed */
+		return NULL;
+	}
+
+
+	sb->s_blocksize = PAGE_CACHE_SIZE;
+	sb->s_blocksize_bits = PAGE_CACHE_SHIFT;
+	T(YAFFS_TRACE_OS, ("yaffs_read_super: Using yaffs%d\n", yaffsVersion));
+	T(YAFFS_TRACE_OS,
+	  ("yaffs_read_super: block size %d\n", (int)(sb->s_blocksize)));
+
+#ifdef CONFIG_YAFFS_DISABLE_WRITE_VERIFY
+	T(YAFFS_TRACE_OS,
+	  ("yaffs: Write verification disabled. All guarantees "
+	   "null and void\n"));
+#endif
+
+	T(YAFFS_TRACE_ALWAYS, ("yaffs: Attempting MTD mount on %u.%u, "
+			       "\"%s\"\n",
+			       MAJOR(sb->s_dev), MINOR(sb->s_dev),
+			       yaffs_devname(sb, devname_buf)));
+
+	/* Check it's an mtd device..... */
+	if (MAJOR(sb->s_dev) != MTD_BLOCK_MAJOR) {
+		return NULL;	/* This isn't an mtd device */
+	}
+	/* Get the device */
+	mtd = get_mtd_device(NULL, MINOR(sb->s_dev));
+	if (!mtd) {
+		T(YAFFS_TRACE_ALWAYS,
+		  ("yaffs: MTD device #%u doesn't appear to exist\n",
+		   MINOR(sb->s_dev)));
+		return NULL;
+	}
+	/* Check it's NAND */
+	if (mtd->type != MTD_NANDFLASH) {
+		T(YAFFS_TRACE_ALWAYS,
+		  ("yaffs: MTD device is not NAND it's type %d\n", mtd->type));
+		return NULL;
+	}
+
+	T(YAFFS_TRACE_OS, (" erase %p\n", mtd->erase));
+	T(YAFFS_TRACE_OS, (" read %p\n", mtd->read));
+	T(YAFFS_TRACE_OS, (" write %p\n", mtd->write));
+	T(YAFFS_TRACE_OS, (" readoob %p\n", mtd->read_oob));
+	T(YAFFS_TRACE_OS, (" writeoob %p\n", mtd->write_oob));
+	T(YAFFS_TRACE_OS, (" block_isbad %p\n", mtd->block_isbad));
+	T(YAFFS_TRACE_OS, (" block_markbad %p\n", mtd->block_markbad));
+	T(YAFFS_TRACE_OS, (" %s %d\n", WRITE_SIZE_STR, WRITE_SIZE(mtd)));
+	T(YAFFS_TRACE_OS, (" oobsize %d\n", mtd->oobsize));
+	T(YAFFS_TRACE_OS, (" erasesize %d\n", mtd->erasesize));
+	T(YAFFS_TRACE_OS, (" size %d\n", mtd->size));
+
+#ifdef CONFIG_YAFFS_AUTO_YAFFS2
+
+	if (yaffsVersion == 1 &&
+	    WRITE_SIZE(mtd) >= 2048) {
+	    T(YAFFS_TRACE_ALWAYS,("yaffs: auto selecting yaffs2\n"));
+	    yaffsVersion = 2;
+	}
+
+	/* Added NCB 26/5/2006 for completeness */
+	if (yaffsVersion == 2 && 
+	    !options.inband_tags &&
+	    WRITE_SIZE(mtd) == 512){
+	    T(YAFFS_TRACE_ALWAYS,("yaffs: auto selecting yaffs1\n"));
+	    yaffsVersion = 1;
+	}
+
+#endif
+
+	if (yaffsVersion == 2) {
+		/* Check for version 2 style functions */
+		if (!mtd->erase ||
+		    !mtd->block_isbad ||
+		    !mtd->block_markbad ||
+		    !mtd->read ||
+		    !mtd->write ||
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+		    !mtd->read_oob || !mtd->write_oob) {
+#else
+		    !mtd->write_ecc ||
+		    !mtd->read_ecc || !mtd->read_oob || !mtd->write_oob) {
+#endif
+			T(YAFFS_TRACE_ALWAYS,
+			  ("yaffs: MTD device does not support required "
+			   "functions\n"));;
+			return NULL;
+		}
+
+		if ((WRITE_SIZE(mtd) < YAFFS_MIN_YAFFS2_CHUNK_SIZE ||
+		    mtd->oobsize < YAFFS_MIN_YAFFS2_SPARE_SIZE) &&
+		    !options.inband_tags) {
+			T(YAFFS_TRACE_ALWAYS,
+			  ("yaffs: MTD device does not have the "
+			   "right page sizes\n"));
+			return NULL;
+		}
+	} else {
+		/* Check for V1 style functions */
+		if (!mtd->erase ||
+		    !mtd->read ||
+		    !mtd->write ||
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+		    !mtd->read_oob || !mtd->write_oob) {
+#else
+		    !mtd->write_ecc ||
+		    !mtd->read_ecc || !mtd->read_oob || !mtd->write_oob) {
+#endif
+			T(YAFFS_TRACE_ALWAYS,
+			  ("yaffs: MTD device does not support required "
+			   "functions\n"));;
+			return NULL;
+		}
+
+		if (WRITE_SIZE(mtd) < YAFFS_BYTES_PER_CHUNK ||
+		    mtd->oobsize != YAFFS_BYTES_PER_SPARE) {
+			T(YAFFS_TRACE_ALWAYS,
+			  ("yaffs: MTD device does not support have the "
+			   "right page sizes\n"));
+			return NULL;
+		}
+	}
+
+	/* OK, so if we got here, we have an MTD that's NAND and looks
+	 * like it has the right capabilities
+	 * Set the yaffs_Device up for mtd
+	 */
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+	sb->s_fs_info = dev = kmalloc(sizeof(yaffs_Device), GFP_KERNEL);
+#else
+	sb->u.generic_sbp = dev = kmalloc(sizeof(yaffs_Device), GFP_KERNEL);
+#endif
+	if (!dev) {
+		/* Deep shit could not allocate device structure */
+		T(YAFFS_TRACE_ALWAYS,
+		  ("yaffs_read_super: Failed trying to allocate "
+		   "yaffs_Device. \n"));
+		return NULL;
+	}
+
+	memset(dev, 0, sizeof(yaffs_Device));
+	dev->genericDevice = mtd;
+	dev->name = mtd->name;
+
+	/* Set up the memory size parameters.... */
+
+	nBlocks = mtd->size / (YAFFS_CHUNKS_PER_BLOCK * YAFFS_BYTES_PER_CHUNK);
+	dev->startBlock = 0;
+	dev->endBlock = nBlocks - 1;
+	dev->nChunksPerBlock = YAFFS_CHUNKS_PER_BLOCK;
+	dev->totalBytesPerChunk = YAFFS_BYTES_PER_CHUNK;
+	dev->nReservedBlocks = 5;
+	dev->nShortOpCaches = (options.no_cache) ? 0 : 10;
+	dev->inbandTags = options.inband_tags;
+
+	/* ... and the functions. */
+	if (yaffsVersion == 2) {
+		dev->writeChunkWithTagsToNAND =
+		    nandmtd2_WriteChunkWithTagsToNAND;
+		dev->readChunkWithTagsFromNAND =
+		    nandmtd2_ReadChunkWithTagsFromNAND;
+		dev->markNANDBlockBad = nandmtd2_MarkNANDBlockBad;
+		dev->queryNANDBlock = nandmtd2_QueryNANDBlock;
+		dev->spareBuffer = YMALLOC(mtd->oobsize);
+		dev->isYaffs2 = 1;
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+		dev->totalBytesPerChunk = mtd->writesize;
+		dev->nChunksPerBlock = mtd->erasesize / mtd->writesize;
+#else
+		dev->totalBytesPerChunk = mtd->oobblock;
+		dev->nChunksPerBlock = mtd->erasesize / mtd->oobblock;
+#endif
+		nBlocks = mtd->size / mtd->erasesize;
+
+		dev->startBlock = 0;
+		dev->endBlock = nBlocks - 1;
+	} else {
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+		/* use the MTD interface in yaffs_mtdif1.c */
+		dev->writeChunkWithTagsToNAND =
+			nandmtd1_WriteChunkWithTagsToNAND;
+		dev->readChunkWithTagsFromNAND =
+			nandmtd1_ReadChunkWithTagsFromNAND;
+		dev->markNANDBlockBad = nandmtd1_MarkNANDBlockBad;
+		dev->queryNANDBlock = nandmtd1_QueryNANDBlock;
+#else
+		dev->writeChunkToNAND = nandmtd_WriteChunkToNAND;
+		dev->readChunkFromNAND = nandmtd_ReadChunkFromNAND;
+#endif
+		dev->isYaffs2 = 0;
+	}
+	/* ... and common functions */
+	dev->eraseBlockInNAND = nandmtd_EraseBlockInNAND;
+	dev->initialiseNAND = nandmtd_InitialiseNAND;
+
+	dev->putSuperFunc = yaffs_MTDPutSuper;
+
+	dev->superBlock = (void *)sb;
+	dev->markSuperBlockDirty = yaffs_MarkSuperBlockDirty;
+
+
+#ifndef CONFIG_YAFFS_DOES_ECC
+	dev->useNANDECC = 1;
+#endif
+
+#ifdef CONFIG_YAFFS_DISABLE_WIDE_TNODES
+	dev->wideTnodesDisabled = 1;
+#endif
+
+	dev->skipCheckpointRead = options.skip_checkpoint_read;
+	dev->skipCheckpointWrite = options.skip_checkpoint_write;
+
+	/* we assume this is protected by lock_kernel() in mount/umount */
+	ylist_add_tail(&dev->devList, &yaffs_dev_list);
+
+	init_MUTEX(&dev->grossLock);
+
+	yaffs_GrossLock(dev);
+
+	err = yaffs_GutsInitialise(dev);
+
+	T(YAFFS_TRACE_OS,
+	  ("yaffs_read_super: guts initialised %s\n",
+	   (err == YAFFS_OK) ? "OK" : "FAILED"));
+
+	/* Release lock before yaffs_get_inode() */
+	yaffs_GrossUnlock(dev);
+
+	/* Create root inode */
+	if (err == YAFFS_OK)
+		inode = yaffs_get_inode(sb, S_IFDIR | 0755, 0,
+					yaffs_Root(dev));
+
+	if (!inode)
+		return NULL;
+
+	inode->i_op = &yaffs_dir_inode_operations;
+	inode->i_fop = &yaffs_dir_operations;
+
+	T(YAFFS_TRACE_OS, ("yaffs_read_super: got root inode\n"));
+
+	root = d_alloc_root(inode);
+
+	T(YAFFS_TRACE_OS, ("yaffs_read_super: d_alloc_root done\n"));
+
+	if (!root) {
+		iput(inode);
+		return NULL;
+	}
+	sb->s_root = root;
+	sb->s_dirt = !dev->isCheckpointed;
+	T(YAFFS_TRACE_ALWAYS,
+	  ("yaffs_read_super: isCheckpointed %d\n", dev->isCheckpointed));
+
+	T(YAFFS_TRACE_OS, ("yaffs_read_super: done\n"));
+	return sb;
+}
+
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+static int yaffs_internal_read_super_mtd(struct super_block *sb, void *data,
+					 int silent)
+{
+	return yaffs_internal_read_super(1, sb, data, silent) ? 0 : -EINVAL;
+}
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+static int yaffs_read_super(struct file_system_type *fs,
+			    int flags, const char *dev_name,
+			    void *data, struct vfsmount *mnt)
+{
+
+	return get_sb_bdev(fs, flags, dev_name, data,
+			   yaffs_internal_read_super_mtd, mnt);
+}
+#else
+static struct super_block *yaffs_read_super(struct file_system_type *fs,
+					    int flags, const char *dev_name,
+					    void *data)
+{
+
+	return get_sb_bdev(fs, flags, dev_name, data,
+			   yaffs_internal_read_super_mtd);
+}
+#endif
+
+static struct file_system_type yaffs_fs_type = {
+	.owner = THIS_MODULE,
+	.name = "yaffs",
+	.get_sb = yaffs_read_super,
+	.kill_sb = kill_block_super,
+	.fs_flags = FS_REQUIRES_DEV,
+};
+#else
+static struct super_block *yaffs_read_super(struct super_block *sb, void *data,
+					    int silent)
+{
+	return yaffs_internal_read_super(1, sb, data, silent);
+}
+
+static DECLARE_FSTYPE(yaffs_fs_type, "yaffs", yaffs_read_super,
+		      FS_REQUIRES_DEV);
+#endif
+
+
+#ifdef CONFIG_YAFFS_YAFFS2
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+static int yaffs2_internal_read_super_mtd(struct super_block *sb, void *data,
+					  int silent)
+{
+	return yaffs_internal_read_super(2, sb, data, silent) ? 0 : -EINVAL;
+}
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+static int yaffs2_read_super(struct file_system_type *fs,
+			int flags, const char *dev_name, void *data,
+			struct vfsmount *mnt)
+{
+	return get_sb_bdev(fs, flags, dev_name, data,
+			yaffs2_internal_read_super_mtd, mnt);
+}
+#else
+static struct super_block *yaffs2_read_super(struct file_system_type *fs,
+					     int flags, const char *dev_name,
+					     void *data)
+{
+
+	return get_sb_bdev(fs, flags, dev_name, data,
+			   yaffs2_internal_read_super_mtd);
+}
+#endif
+
+static struct file_system_type yaffs2_fs_type = {
+	.owner = THIS_MODULE,
+	.name = "yaffs2",
+	.get_sb = yaffs2_read_super,
+	.kill_sb = kill_block_super,
+	.fs_flags = FS_REQUIRES_DEV,
+};
+#else
+static struct super_block *yaffs2_read_super(struct super_block *sb,
+					     void *data, int silent)
+{
+	return yaffs_internal_read_super(2, sb, data, silent);
+}
+
+static DECLARE_FSTYPE(yaffs2_fs_type, "yaffs2", yaffs2_read_super,
+		      FS_REQUIRES_DEV);
+#endif
+
+#endif				/* CONFIG_YAFFS_YAFFS2 */
+
+static struct proc_dir_entry *my_proc_entry;
+
+static char *yaffs_dump_dev(char *buf, yaffs_Device * dev)
+{
+	buf += sprintf(buf, "startBlock......... %d\n", dev->startBlock);
+	buf += sprintf(buf, "endBlock........... %d\n", dev->endBlock);
+	buf += sprintf(buf, "totalBytesPerChunk. %d\n", dev->totalBytesPerChunk);
+	buf += sprintf(buf, "nDataBytesPerChunk. %d\n", dev->nDataBytesPerChunk);
+	buf += sprintf(buf, "chunkGroupBits..... %d\n", dev->chunkGroupBits);
+	buf += sprintf(buf, "chunkGroupSize..... %d\n", dev->chunkGroupSize);
+	buf += sprintf(buf, "nErasedBlocks...... %d\n", dev->nErasedBlocks);
+	buf += sprintf(buf, "nReservedBlocks.... %d\n", dev->nReservedBlocks);
+	buf += sprintf(buf, "blocksInCheckpoint. %d\n", dev->blocksInCheckpoint);
+	buf += sprintf(buf, "nTnodesCreated..... %d\n", dev->nTnodesCreated);
+	buf += sprintf(buf, "nFreeTnodes........ %d\n", dev->nFreeTnodes);
+	buf += sprintf(buf, "nObjectsCreated.... %d\n", dev->nObjectsCreated);
+	buf += sprintf(buf, "nFreeObjects....... %d\n", dev->nFreeObjects);
+	buf += sprintf(buf, "nFreeChunks........ %d\n", dev->nFreeChunks);
+	buf += sprintf(buf, "nPageWrites........ %d\n", dev->nPageWrites);
+	buf += sprintf(buf, "nPageReads......... %d\n", dev->nPageReads);
+	buf += sprintf(buf, "nBlockErasures..... %d\n", dev->nBlockErasures);
+	buf += sprintf(buf, "nGCCopies.......... %d\n", dev->nGCCopies);
+	buf += sprintf(buf, "garbageCollections. %d\n", dev->garbageCollections);
+	buf += sprintf(buf, "passiveGCs......... %d\n",
+		    dev->passiveGarbageCollections);
+	buf += sprintf(buf, "nRetriedWrites..... %d\n", dev->nRetriedWrites);
+	buf += sprintf(buf, "nShortOpCaches..... %d\n", dev->nShortOpCaches);
+	buf += sprintf(buf, "nRetireBlocks...... %d\n", dev->nRetiredBlocks);
+	buf += sprintf(buf, "eccFixed........... %d\n", dev->eccFixed);
+	buf += sprintf(buf, "eccUnfixed......... %d\n", dev->eccUnfixed);
+	buf += sprintf(buf, "tagsEccFixed....... %d\n", dev->tagsEccFixed);
+	buf += sprintf(buf, "tagsEccUnfixed..... %d\n", dev->tagsEccUnfixed);
+	buf += sprintf(buf, "cacheHits.......... %d\n", dev->cacheHits);
+	buf += sprintf(buf, "nDeletedFiles...... %d\n", dev->nDeletedFiles);
+	buf += sprintf(buf, "nUnlinkedFiles..... %d\n", dev->nUnlinkedFiles);
+	buf +=
+	    sprintf(buf, "nBackgroudDeletions %d\n", dev->nBackgroundDeletions);
+	buf += sprintf(buf, "useNANDECC......... %d\n", dev->useNANDECC);
+	buf += sprintf(buf, "isYaffs2........... %d\n", dev->isYaffs2);
+	buf += sprintf(buf, "inbandTags......... %d\n", dev->inbandTags);
+
+	return buf;
+}
+
+static int yaffs_proc_read(char *page,
+			   char **start,
+			   off_t offset, int count, int *eof, void *data)
+{
+	struct ylist_head *item;
+	char *buf = page;
+	int step = offset;
+	int n = 0;
+
+	/* Get proc_file_read() to step 'offset' by one on each sucessive call.
+	 * We use 'offset' (*ppos) to indicate where we are in devList.
+	 * This also assumes the user has posted a read buffer large
+	 * enough to hold the complete output; but that's life in /proc.
+	 */
+
+	*(int *)start = 1;
+
+	/* Print header first */
+	if (step == 0) {
+		buf += sprintf(buf, "YAFFS built:" __DATE__ " " __TIME__
+			       "\n%s\n%s\n", yaffs_fs_c_version,
+			       yaffs_guts_c_version);
+	}
+
+	/* hold lock_kernel while traversing yaffs_dev_list */
+	lock_kernel();
+
+	/* Locate and print the Nth entry.  Order N-squared but N is small. */
+	ylist_for_each(item, &yaffs_dev_list) {
+		yaffs_Device *dev = ylist_entry(item, yaffs_Device, devList);
+		if (n < step) {
+			n++;
+			continue;
+		}
+		buf += sprintf(buf, "\nDevice %d \"%s\"\n", n, dev->name);
+		buf = yaffs_dump_dev(buf, dev);
+		break;
+	}
+	unlock_kernel();
+
+	return buf - page < count ? buf - page : count;
+}
+
+/**
+ * Set the verbosity of the warnings and error messages.
+ *
+ * Note that the names can only be a..z or _ with the current code.
+ */
+
+static struct {
+	char *mask_name;
+	unsigned mask_bitfield;
+} mask_flags[] = {
+	{"allocate", YAFFS_TRACE_ALLOCATE},
+	{"always", YAFFS_TRACE_ALWAYS},
+	{"bad_blocks", YAFFS_TRACE_BAD_BLOCKS},
+	{"buffers", YAFFS_TRACE_BUFFERS},
+	{"bug", YAFFS_TRACE_BUG},
+	{"checkpt", YAFFS_TRACE_CHECKPOINT},
+	{"deletion", YAFFS_TRACE_DELETION},
+	{"erase", YAFFS_TRACE_ERASE},
+	{"error", YAFFS_TRACE_ERROR},
+	{"gc_detail", YAFFS_TRACE_GC_DETAIL},
+	{"gc", YAFFS_TRACE_GC},
+	{"mtd", YAFFS_TRACE_MTD},
+	{"nandaccess", YAFFS_TRACE_NANDACCESS},
+	{"os", YAFFS_TRACE_OS},
+	{"scan_debug", YAFFS_TRACE_SCAN_DEBUG},
+	{"scan", YAFFS_TRACE_SCAN},
+	{"tracing", YAFFS_TRACE_TRACING},
+
+	{"verify", YAFFS_TRACE_VERIFY},
+	{"verify_nand", YAFFS_TRACE_VERIFY_NAND},
+	{"verify_full", YAFFS_TRACE_VERIFY_FULL},
+	{"verify_all", YAFFS_TRACE_VERIFY_ALL},
+
+	{"write", YAFFS_TRACE_WRITE},
+	{"all", 0xffffffff},
+	{"none", 0},
+	{NULL, 0},
+};
+
+#define MAX_MASK_NAME_LENGTH 40
+static int yaffs_proc_write(struct file *file, const char *buf,
+					 unsigned long count, void *data)
+{
+	unsigned rg = 0, mask_bitfield;
+	char *end;
+	char *mask_name;
+	const char *x;
+	char substring[MAX_MASK_NAME_LENGTH+1];
+	int i;
+	int done = 0;
+	int add, len = 0;
+	int pos = 0;
+
+	rg = yaffs_traceMask;
+
+	while (!done && (pos < count)) {
+		done = 1;
+		while ((pos < count) && isspace(buf[pos])) {
+			pos++;
+		}
+
+		switch (buf[pos]) {
+		case '+':
+		case '-':
+		case '=':
+			add = buf[pos];
+			pos++;
+			break;
+
+		default:
+			add = ' ';
+			break;
+		}
+		mask_name = NULL;
+
+		mask_bitfield = simple_strtoul(buf + pos, &end, 0);
+		if (end > buf + pos) {
+			mask_name = "numeral";
+			len = end - (buf + pos);
+			pos += len;
+			done = 0;
+		} else {
+			for(x = buf + pos, i = 0;
+			    (*x == '_' || (*x >='a' && *x <= 'z')) &&
+			    i <MAX_MASK_NAME_LENGTH; x++, i++, pos++)
+			    substring[i] = *x;
+			substring[i] = '\0';
+
+			for (i = 0; mask_flags[i].mask_name != NULL; i++) {
+				if(strcmp(substring,mask_flags[i].mask_name) == 0){
+					mask_name = mask_flags[i].mask_name;
+					mask_bitfield = mask_flags[i].mask_bitfield;
+					done = 0;
+					break;
+				}
+			}
+		}
+
+		if (mask_name != NULL) {
+			done = 0;
+			switch(add) {
+			case '-':
+				rg &= ~mask_bitfield;
+				break;
+			case '+':
+				rg |= mask_bitfield;
+				break;
+			case '=':
+				rg = mask_bitfield;
+				break;
+			default:
+				rg |= mask_bitfield;
+				break;
+			}
+		}
+	}
+
+	yaffs_traceMask = rg | YAFFS_TRACE_ALWAYS;
+
+	printk("new trace = 0x%08X\n",yaffs_traceMask);
+
+	if (rg & YAFFS_TRACE_ALWAYS) {
+		for (i = 0; mask_flags[i].mask_name != NULL; i++) {
+			char flag;
+			flag = ((rg & mask_flags[i].mask_bitfield) == mask_flags[i].mask_bitfield) ? '+' : '-';
+			printk("%c%s\n", flag, mask_flags[i].mask_name);
+		}
+	}
+
+	return count;
+}
+
+/* Stuff to handle installation of file systems */
+struct file_system_to_install {
+	struct file_system_type *fst;
+	int installed;
+};
+
+static struct file_system_to_install fs_to_install[] = {
+//#ifdef CONFIG_YAFFS_YAFFS1
+	{&yaffs_fs_type, 0},
+//#endif
+//#ifdef CONFIG_YAFFS_YAFFS2
+	{&yaffs2_fs_type, 0},
+//#endif
+	{NULL, 0}
+};
+
+static int __init init_yaffs_fs(void)
+{
+	int error = 0;
+	struct file_system_to_install *fsinst;
+
+	T(YAFFS_TRACE_ALWAYS,
+	  ("yaffs " __DATE__ " " __TIME__ " Installing. \n"));
+
+	/* Install the proc_fs entry */
+	my_proc_entry = create_proc_entry("yaffs",
+					       S_IRUGO | S_IFREG,
+					       YPROC_ROOT);
+
+	if (my_proc_entry) {
+		my_proc_entry->write_proc = yaffs_proc_write;
+		my_proc_entry->read_proc = yaffs_proc_read;
+		my_proc_entry->data = NULL;
+	} else {
+		return -ENOMEM;
+	}
+
+	/* Now add the file system entries */
+
+	fsinst = fs_to_install;
+
+	while (fsinst->fst && !error) {
+		error = register_filesystem(fsinst->fst);
+		if (!error) {
+			fsinst->installed = 1;
+		}
+		fsinst++;
+	}
+
+	/* Any errors? uninstall  */
+	if (error) {
+		fsinst = fs_to_install;
+
+		while (fsinst->fst) {
+			if (fsinst->installed) {
+				unregister_filesystem(fsinst->fst);
+				fsinst->installed = 0;
+			}
+			fsinst++;
+		}
+	}
+
+	return error;
+}
+
+static void __exit exit_yaffs_fs(void)
+{
+
+	struct file_system_to_install *fsinst;
+
+	T(YAFFS_TRACE_ALWAYS, ("yaffs " __DATE__ " " __TIME__
+			       " removing. \n"));
+
+	remove_proc_entry("yaffs", YPROC_ROOT);
+
+	fsinst = fs_to_install;
+
+	while (fsinst->fst) {
+		if (fsinst->installed) {
+			unregister_filesystem(fsinst->fst);
+			fsinst->installed = 0;
+		}
+		fsinst++;
+	}
+
+}
+
+module_init(init_yaffs_fs)
+module_exit(exit_yaffs_fs)
+
+MODULE_DESCRIPTION("YAFFS2 - a NAND specific flash file system");
+MODULE_AUTHOR("Charles Manning, Aleph One Ltd., 2002-2006");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_getblockinfo.h linux-2.6.28.6/fs/yaffs2/yaffs_getblockinfo.h
--- linux-2.6.28/fs/yaffs2/yaffs_getblockinfo.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_getblockinfo.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,34 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifndef __YAFFS_GETBLOCKINFO_H__
+#define __YAFFS_GETBLOCKINFO_H__
+
+#include "yaffs_guts.h"
+
+/* Function to manipulate block info */
+static Y_INLINE yaffs_BlockInfo *yaffs_GetBlockInfo(yaffs_Device * dev, int blk)
+{
+	if (blk < dev->internalStartBlock || blk > dev->internalEndBlock) {
+		T(YAFFS_TRACE_ERROR,
+		  (TSTR
+		   ("**>> yaffs: getBlockInfo block %d is not valid" TENDSTR),
+		   blk));
+		YBUG();
+	}
+	return &dev->blockInfo[blk - dev->internalStartBlock];
+}
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_guts.c linux-2.6.28.6/fs/yaffs2/yaffs_guts.c
--- linux-2.6.28/fs/yaffs2/yaffs_guts.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_guts.c	2010-04-22 05:42:51.000000000 +0200
@@ -0,0 +1,7698 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+const char *yaffs_guts_c_version =
+    "$Id: yaffs_guts.c,v 1.78 2009/01/27 02:52:45 charles Exp $";
+
+#include "yportenv.h"
+
+#include "yaffsinterface.h"
+#include "yaffs_guts.h"
+#include "yaffs_tagsvalidity.h"
+#include "yaffs_getblockinfo.h"
+
+#include "yaffs_tagscompat.h"
+#ifndef  CONFIG_YAFFS_USE_OWN_SORT
+#include "yaffs_qsort.h"
+#endif
+#include "yaffs_nand.h"
+
+#include "yaffs_checkptrw.h"
+
+#include "yaffs_nand.h"
+#include "yaffs_packedtags2.h"
+
+
+#define YAFFS_PASSIVE_GC_CHUNKS 2
+
+#include "yaffs_ecc.h"
+
+
+/* Robustification (if it ever comes about...) */
+static void yaffs_RetireBlock(yaffs_Device * dev, int blockInNAND);
+static void yaffs_HandleWriteChunkError(yaffs_Device * dev, int chunkInNAND, int erasedOk);
+static void yaffs_HandleWriteChunkOk(yaffs_Device * dev, int chunkInNAND,
+				     const __u8 * data,
+				     const yaffs_ExtendedTags * tags);
+static void yaffs_HandleUpdateChunk(yaffs_Device * dev, int chunkInNAND,
+				    const yaffs_ExtendedTags * tags);
+
+/* Other local prototypes */
+static int yaffs_UnlinkObject( yaffs_Object *obj);
+static int yaffs_ObjectHasCachedWriteData(yaffs_Object *obj);
+
+static void yaffs_HardlinkFixup(yaffs_Device *dev, yaffs_Object *hardList);
+
+static int yaffs_WriteNewChunkWithTagsToNAND(yaffs_Device * dev,
+					     const __u8 * buffer,
+					     yaffs_ExtendedTags * tags,
+					     int useReserve);
+static int yaffs_PutChunkIntoFile(yaffs_Object * in, int chunkInInode,
+				  int chunkInNAND, int inScan);
+
+static yaffs_Object *yaffs_CreateNewObject(yaffs_Device * dev, int number,
+					   yaffs_ObjectType type);
+static void yaffs_AddObjectToDirectory(yaffs_Object * directory,
+				       yaffs_Object * obj);
+static int yaffs_UpdateObjectHeader(yaffs_Object * in, const YCHAR * name,
+				    int force, int isShrink, int shadows);
+static void yaffs_RemoveObjectFromDirectory(yaffs_Object * obj);
+static int yaffs_CheckStructures(void);
+static int yaffs_DeleteWorker(yaffs_Object * in, yaffs_Tnode * tn, __u32 level,
+			      int chunkOffset, int *limit);
+static int yaffs_DoGenericObjectDeletion(yaffs_Object * in);
+
+static yaffs_BlockInfo *yaffs_GetBlockInfo(yaffs_Device * dev, int blockNo);
+
+
+static int yaffs_CheckChunkErased(struct yaffs_DeviceStruct *dev,
+				  int chunkInNAND);
+
+static int yaffs_UnlinkWorker(yaffs_Object * obj);
+static void yaffs_DestroyObject(yaffs_Object * obj);
+
+static int yaffs_TagsMatch(const yaffs_ExtendedTags * tags, int objectId,
+			   int chunkInObject);
+
+loff_t yaffs_GetFileSize(yaffs_Object * obj);
+
+static int yaffs_AllocateChunk(yaffs_Device * dev, int useReserve, yaffs_BlockInfo **blockUsedPtr);
+
+static void yaffs_VerifyFreeChunks(yaffs_Device * dev);
+
+static void yaffs_CheckObjectDetailsLoaded(yaffs_Object *in);
+
+static void yaffs_VerifyDirectory(yaffs_Object *directory);
+#ifdef YAFFS_PARANOID
+static int yaffs_CheckFileSanity(yaffs_Object * in);
+#else
+#define yaffs_CheckFileSanity(in)
+#endif
+
+static void yaffs_InvalidateWholeChunkCache(yaffs_Object * in);
+static void yaffs_InvalidateChunkCache(yaffs_Object * object, int chunkId);
+
+static void yaffs_InvalidateCheckpoint(yaffs_Device *dev);
+
+static int yaffs_FindChunkInFile(yaffs_Object * in, int chunkInInode,
+				 yaffs_ExtendedTags * tags);
+
+static __u32 yaffs_GetChunkGroupBase(yaffs_Device *dev, yaffs_Tnode *tn, unsigned pos);
+static yaffs_Tnode *yaffs_FindLevel0Tnode(yaffs_Device * dev,
+					  yaffs_FileStructure * fStruct,
+					  __u32 chunkId);
+
+
+/* Function to calculate chunk and offset */
+
+static void yaffs_AddrToChunk(yaffs_Device *dev, loff_t addr, int *chunkOut, __u32 *offsetOut)
+{
+	int chunk;
+	__u32 offset;
+	
+	chunk  = (__u32)(addr >> dev->chunkShift);
+		
+	if(dev->chunkDiv == 1)
+	{
+		/* easy power of 2 case */
+		offset = (__u32)(addr & dev->chunkMask);
+	}
+	else
+	{
+		/* Non power-of-2 case */
+		
+		loff_t chunkBase;
+		
+		chunk /= dev->chunkDiv;
+		
+		chunkBase = ((loff_t)chunk) * dev->nDataBytesPerChunk;
+		offset = (__u32)(addr - chunkBase);
+	}
+
+	*chunkOut = chunk;
+	*offsetOut = offset;
+}
+
+/* Function to return the number of shifts for a power of 2 greater than or equal 
+ * to the given number
+ * Note we don't try to cater for all possible numbers and this does not have to
+ * be hellishly efficient.
+ */
+ 
+static __u32 ShiftsGE(__u32 x)
+{
+	int extraBits;
+	int nShifts;
+	
+	nShifts = extraBits = 0;
+	
+	while(x>1){
+		if(x & 1) extraBits++;
+		x>>=1;
+		nShifts++;
+	}
+
+	if(extraBits) 
+		nShifts++;
+		
+	return nShifts;
+}
+
+/* Function to return the number of shifts to get a 1 in bit 0
+ */
+ 
+static __u32 Shifts(__u32 x)
+{
+	int nShifts;
+	
+	nShifts =  0;
+	
+	if(!x) return 0;
+	
+	while( !(x&1)){
+		x>>=1;
+		nShifts++;
+	}
+		
+	return nShifts;
+}
+
+
+
+/* 
+ * Temporary buffer manipulations.
+ */
+
+static int yaffs_InitialiseTempBuffers(yaffs_Device *dev)	
+{
+	int i;
+	__u8 *buf = (__u8 *)1;
+		
+	memset(dev->tempBuffer,0,sizeof(dev->tempBuffer));
+		
+	for (i = 0; buf && i < YAFFS_N_TEMP_BUFFERS; i++) {
+		dev->tempBuffer[i].line = 0;	/* not in use */
+		dev->tempBuffer[i].buffer = buf =
+		    YMALLOC_DMA(dev->totalBytesPerChunk);
+	}
+		
+	return buf ? YAFFS_OK : YAFFS_FAIL;
+	
+}
+
+__u8 *yaffs_GetTempBuffer(yaffs_Device * dev, int lineNo)
+{
+	int i, j;
+
+	dev->tempInUse++;
+	if(dev->tempInUse > dev->maxTemp)
+		dev->maxTemp = dev->tempInUse;
+
+	for (i = 0; i < YAFFS_N_TEMP_BUFFERS; i++) {
+		if (dev->tempBuffer[i].line == 0) {
+			dev->tempBuffer[i].line = lineNo;
+			if ((i + 1) > dev->maxTemp) {
+				dev->maxTemp = i + 1;
+				for (j = 0; j <= i; j++)
+					dev->tempBuffer[j].maxLine =
+					    dev->tempBuffer[j].line;
+			}
+
+			return dev->tempBuffer[i].buffer;
+		}
+	}
+
+	T(YAFFS_TRACE_BUFFERS,
+	  (TSTR("Out of temp buffers at line %d, other held by lines:"),
+	   lineNo));
+	for (i = 0; i < YAFFS_N_TEMP_BUFFERS; i++) {
+		T(YAFFS_TRACE_BUFFERS, (TSTR(" %d "), dev->tempBuffer[i].line));
+	}
+	T(YAFFS_TRACE_BUFFERS, (TSTR(" " TENDSTR)));
+
+	/*
+	 * If we got here then we have to allocate an unmanaged one
+	 * This is not good.
+	 */
+
+	dev->unmanagedTempAllocations++;
+	return YMALLOC(dev->nDataBytesPerChunk);
+
+}
+
+void yaffs_ReleaseTempBuffer(yaffs_Device * dev, __u8 * buffer,
+				    int lineNo)
+{
+	int i;
+	
+	dev->tempInUse--;
+	
+	for (i = 0; i < YAFFS_N_TEMP_BUFFERS; i++) {
+		if (dev->tempBuffer[i].buffer == buffer) {
+			dev->tempBuffer[i].line = 0;
+			return;
+		}
+	}
+
+	if (buffer) {
+		/* assume it is an unmanaged one. */
+		T(YAFFS_TRACE_BUFFERS,
+		  (TSTR("Releasing unmanaged temp buffer in line %d" TENDSTR),
+		   lineNo));
+		YFREE(buffer);
+		dev->unmanagedTempDeallocations++;
+	}
+
+}
+
+/*
+ * Determine if we have a managed buffer.
+ */
+int yaffs_IsManagedTempBuffer(yaffs_Device * dev, const __u8 * buffer)
+{
+	int i;
+	for (i = 0; i < YAFFS_N_TEMP_BUFFERS; i++) {
+		if (dev->tempBuffer[i].buffer == buffer)
+			return 1;
+
+	}
+
+    for (i = 0; i < dev->nShortOpCaches; i++) {
+        if( dev->srCache[i].data == buffer )
+            return 1;
+
+    }
+
+    if (buffer == dev->checkpointBuffer)
+      return 1;
+
+    T(YAFFS_TRACE_ALWAYS,
+	  (TSTR("yaffs: unmaged buffer detected.\n" TENDSTR)));
+    return 0;
+}
+
+
+
+/*
+ * Chunk bitmap manipulations
+ */
+
+static Y_INLINE __u8 *yaffs_BlockBits(yaffs_Device * dev, int blk)
+{
+	if (blk < dev->internalStartBlock || blk > dev->internalEndBlock) {
+		T(YAFFS_TRACE_ERROR,
+		  (TSTR("**>> yaffs: BlockBits block %d is not valid" TENDSTR),
+		   blk));
+		YBUG();
+	}
+	return dev->chunkBits +
+	    (dev->chunkBitmapStride * (blk - dev->internalStartBlock));
+}
+
+static Y_INLINE void yaffs_VerifyChunkBitId(yaffs_Device *dev, int blk, int chunk)
+{
+	if(blk < dev->internalStartBlock || blk > dev->internalEndBlock ||
+	   chunk < 0 || chunk >= dev->nChunksPerBlock) {
+	   T(YAFFS_TRACE_ERROR,
+	    (TSTR("**>> yaffs: Chunk Id (%d:%d) invalid"TENDSTR),blk,chunk));
+	    YBUG();
+	}
+}
+
+static Y_INLINE void yaffs_ClearChunkBits(yaffs_Device * dev, int blk)
+{
+	__u8 *blkBits = yaffs_BlockBits(dev, blk);
+
+	memset(blkBits, 0, dev->chunkBitmapStride);
+}
+
+static Y_INLINE void yaffs_ClearChunkBit(yaffs_Device * dev, int blk, int chunk)
+{
+	__u8 *blkBits = yaffs_BlockBits(dev, blk);
+
+	yaffs_VerifyChunkBitId(dev,blk,chunk);
+
+	blkBits[chunk / 8] &= ~(1 << (chunk & 7));
+}
+
+static Y_INLINE void yaffs_SetChunkBit(yaffs_Device * dev, int blk, int chunk)
+{
+	__u8 *blkBits = yaffs_BlockBits(dev, blk);
+	
+	yaffs_VerifyChunkBitId(dev,blk,chunk);
+
+	blkBits[chunk / 8] |= (1 << (chunk & 7));
+}
+
+static Y_INLINE int yaffs_CheckChunkBit(yaffs_Device * dev, int blk, int chunk)
+{
+	__u8 *blkBits = yaffs_BlockBits(dev, blk);
+	yaffs_VerifyChunkBitId(dev,blk,chunk);
+
+	return (blkBits[chunk / 8] & (1 << (chunk & 7))) ? 1 : 0;
+}
+
+static Y_INLINE int yaffs_StillSomeChunkBits(yaffs_Device * dev, int blk)
+{
+	__u8 *blkBits = yaffs_BlockBits(dev, blk);
+	int i;
+	for (i = 0; i < dev->chunkBitmapStride; i++) {
+		if (*blkBits)
+			return 1;
+		blkBits++;
+	}
+	return 0;
+}
+
+static int yaffs_CountChunkBits(yaffs_Device * dev, int blk)
+{
+	__u8 *blkBits = yaffs_BlockBits(dev, blk);
+	int i;
+	int n = 0;
+	for (i = 0; i < dev->chunkBitmapStride; i++) {
+		__u8 x = *blkBits;
+		while(x){
+			if(x & 1)
+				n++;
+			x >>=1;
+		}
+			
+		blkBits++;
+	}
+	return n;
+}
+
+/* 
+ * Verification code
+ */
+ 
+static int yaffs_SkipVerification(yaffs_Device *dev)
+{
+	return !(yaffs_traceMask & (YAFFS_TRACE_VERIFY | YAFFS_TRACE_VERIFY_FULL));
+}
+
+static int yaffs_SkipFullVerification(yaffs_Device *dev)
+{
+	return !(yaffs_traceMask & (YAFFS_TRACE_VERIFY_FULL));
+}
+
+static int yaffs_SkipNANDVerification(yaffs_Device *dev)
+{
+	return !(yaffs_traceMask & (YAFFS_TRACE_VERIFY_NAND));
+}
+
+static const char * blockStateName[] = {
+"Unknown",
+"Needs scanning",
+"Scanning",
+"Empty",
+"Allocating",
+"Full",
+"Dirty",
+"Checkpoint",
+"Collecting",
+"Dead"
+};
+
+static void yaffs_VerifyBlock(yaffs_Device *dev,yaffs_BlockInfo *bi,int n)
+{
+	int actuallyUsed;
+	int inUse;
+	
+	if(yaffs_SkipVerification(dev))
+		return;
+		
+	/* Report illegal runtime states */
+	if(bi->blockState >= YAFFS_NUMBER_OF_BLOCK_STATES)
+		T(YAFFS_TRACE_VERIFY,(TSTR("Block %d has undefined state %d"TENDSTR),n,bi->blockState));
+		
+	switch(bi->blockState){
+	 case YAFFS_BLOCK_STATE_UNKNOWN:
+	 case YAFFS_BLOCK_STATE_SCANNING:
+	 case YAFFS_BLOCK_STATE_NEEDS_SCANNING:
+		T(YAFFS_TRACE_VERIFY,(TSTR("Block %d has bad run-state %s"TENDSTR),
+		n,blockStateName[bi->blockState]));
+	}
+	
+	/* Check pages in use and soft deletions are legal */
+	
+	actuallyUsed = bi->pagesInUse - bi->softDeletions;
+	
+	if(bi->pagesInUse < 0 || bi->pagesInUse > dev->nChunksPerBlock ||
+	   bi->softDeletions < 0 || bi->softDeletions > dev->nChunksPerBlock ||
+	   actuallyUsed < 0 || actuallyUsed > dev->nChunksPerBlock)
+		T(YAFFS_TRACE_VERIFY,(TSTR("Block %d has illegal values pagesInUsed %d softDeletions %d"TENDSTR),
+		n,bi->pagesInUse,bi->softDeletions));
+	
+		
+	/* Check chunk bitmap legal */
+	inUse = yaffs_CountChunkBits(dev,n);
+	if(inUse != bi->pagesInUse)
+		T(YAFFS_TRACE_VERIFY,(TSTR("Block %d has inconsistent values pagesInUse %d counted chunk bits %d"TENDSTR),
+			n,bi->pagesInUse,inUse));
+	
+	/* Check that the sequence number is valid.
+	 * Ten million is legal, but is very unlikely 
+	 */
+	if(dev->isYaffs2 && 
+	   (bi->blockState == YAFFS_BLOCK_STATE_ALLOCATING || bi->blockState == YAFFS_BLOCK_STATE_FULL) &&
+	   (bi->sequenceNumber < YAFFS_LOWEST_SEQUENCE_NUMBER || bi->sequenceNumber > 10000000 ))
+		T(YAFFS_TRACE_VERIFY,(TSTR("Block %d has suspect sequence number of %d"TENDSTR),
+		n,bi->sequenceNumber));
+		
+}
+
+static void yaffs_VerifyCollectedBlock(yaffs_Device *dev,yaffs_BlockInfo *bi,int n)
+{
+	yaffs_VerifyBlock(dev,bi,n);
+	
+	/* After collection the block should be in the erased state */
+	/* This will need to change if we do partial gc */
+	
+	if(bi->blockState != YAFFS_BLOCK_STATE_COLLECTING &&
+	   bi->blockState != YAFFS_BLOCK_STATE_EMPTY){
+		T(YAFFS_TRACE_ERROR,(TSTR("Block %d is in state %d after gc, should be erased"TENDSTR),
+			n,bi->blockState));
+	}
+}
+
+static void yaffs_VerifyBlocks(yaffs_Device *dev)
+{
+	int i;
+	int nBlocksPerState[YAFFS_NUMBER_OF_BLOCK_STATES];
+	int nIllegalBlockStates = 0;
+	
+
+	if(yaffs_SkipVerification(dev))
+		return;
+
+	memset(nBlocksPerState,0,sizeof(nBlocksPerState));
+
+		
+	for(i = dev->internalStartBlock; i <= dev->internalEndBlock; i++){
+		yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev,i);
+		yaffs_VerifyBlock(dev,bi,i);
+
+		if(bi->blockState < YAFFS_NUMBER_OF_BLOCK_STATES)
+			nBlocksPerState[bi->blockState]++;
+		else
+			nIllegalBlockStates++;
+					
+	}
+	
+	T(YAFFS_TRACE_VERIFY,(TSTR(""TENDSTR)));
+	T(YAFFS_TRACE_VERIFY,(TSTR("Block summary"TENDSTR)));
+	
+	T(YAFFS_TRACE_VERIFY,(TSTR("%d blocks have illegal states"TENDSTR),nIllegalBlockStates));
+	if(nBlocksPerState[YAFFS_BLOCK_STATE_ALLOCATING] > 1)
+		T(YAFFS_TRACE_VERIFY,(TSTR("Too many allocating blocks"TENDSTR)));
+
+	for(i = 0; i < YAFFS_NUMBER_OF_BLOCK_STATES; i++)
+		T(YAFFS_TRACE_VERIFY,
+		  (TSTR("%s %d blocks"TENDSTR),
+		  blockStateName[i],nBlocksPerState[i]));
+	
+	if(dev->blocksInCheckpoint != nBlocksPerState[YAFFS_BLOCK_STATE_CHECKPOINT])
+		T(YAFFS_TRACE_VERIFY,
+		 (TSTR("Checkpoint block count wrong dev %d count %d"TENDSTR),
+		 dev->blocksInCheckpoint, nBlocksPerState[YAFFS_BLOCK_STATE_CHECKPOINT]));
+		 
+	if(dev->nErasedBlocks != nBlocksPerState[YAFFS_BLOCK_STATE_EMPTY])
+		T(YAFFS_TRACE_VERIFY,
+		 (TSTR("Erased block count wrong dev %d count %d"TENDSTR),
+		 dev->nErasedBlocks, nBlocksPerState[YAFFS_BLOCK_STATE_EMPTY]));
+		 
+	if(nBlocksPerState[YAFFS_BLOCK_STATE_COLLECTING] > 1)
+		T(YAFFS_TRACE_VERIFY,
+		 (TSTR("Too many collecting blocks %d (max is 1)"TENDSTR),
+		 nBlocksPerState[YAFFS_BLOCK_STATE_COLLECTING]));
+
+	T(YAFFS_TRACE_VERIFY,(TSTR(""TENDSTR)));
+
+}
+
+/*
+ * Verify the object header. oh must be valid, but obj and tags may be NULL in which
+ * case those tests will not be performed.
+ */
+static void yaffs_VerifyObjectHeader(yaffs_Object *obj, yaffs_ObjectHeader *oh, yaffs_ExtendedTags *tags, int parentCheck)
+{
+	if(obj && yaffs_SkipVerification(obj->myDev))
+		return;
+		
+	if(!(tags && obj && oh)){
+	 	T(YAFFS_TRACE_VERIFY,
+		 		(TSTR("Verifying object header tags %x obj %x oh %x"TENDSTR),
+		 		(__u32)tags,(__u32)obj,(__u32)oh));
+		return;
+	}
+	
+	if(oh->type <= YAFFS_OBJECT_TYPE_UNKNOWN ||
+	   oh->type > YAFFS_OBJECT_TYPE_MAX)
+	 	T(YAFFS_TRACE_VERIFY,
+		 (TSTR("Obj %d header type is illegal value 0x%x"TENDSTR),
+		 tags->objectId, oh->type));
+
+	if(tags->objectId != obj->objectId)
+	 	T(YAFFS_TRACE_VERIFY,
+		 (TSTR("Obj %d header mismatch objectId %d"TENDSTR),
+		 tags->objectId, obj->objectId));
+
+
+	/*
+	 * Check that the object's parent ids match if parentCheck requested.
+	 * 
+	 * Tests do not apply to the root object.
+	 */
+	
+	if(parentCheck && tags->objectId > 1 && !obj->parent)
+	 	T(YAFFS_TRACE_VERIFY,
+		 (TSTR("Obj %d header mismatch parentId %d obj->parent is NULL"TENDSTR),
+	 	 tags->objectId, oh->parentObjectId));
+		
+	
+	if(parentCheck && obj->parent &&
+	   oh->parentObjectId != obj->parent->objectId && 
+	   (oh->parentObjectId != YAFFS_OBJECTID_UNLINKED ||
+	    obj->parent->objectId != YAFFS_OBJECTID_DELETED))
+	 	T(YAFFS_TRACE_VERIFY,
+		 (TSTR("Obj %d header mismatch parentId %d parentObjectId %d"TENDSTR),
+	 	 tags->objectId, oh->parentObjectId, obj->parent->objectId));
+		
+	
+	if(tags->objectId > 1 && oh->name[0] == 0) /* Null name */
+		T(YAFFS_TRACE_VERIFY,
+		(TSTR("Obj %d header name is NULL"TENDSTR),
+		 obj->objectId));
+
+	if(tags->objectId > 1 && ((__u8)(oh->name[0])) == 0xff) /* Trashed name */
+		T(YAFFS_TRACE_VERIFY,
+		(TSTR("Obj %d header name is 0xFF"TENDSTR),
+		 obj->objectId));
+}
+
+
+
+static int yaffs_VerifyTnodeWorker(yaffs_Object * obj, yaffs_Tnode * tn,
+				  	__u32 level, int chunkOffset)
+{
+	int i;
+	yaffs_Device *dev = obj->myDev;
+	int ok = 1;
+
+	if (tn) {
+		if (level > 0) {
+
+			for (i = 0; i < YAFFS_NTNODES_INTERNAL && ok; i++){
+				if (tn->internal[i]) {
+					ok = yaffs_VerifyTnodeWorker(obj,
+							tn->internal[i],
+							level - 1,
+							(chunkOffset<<YAFFS_TNODES_INTERNAL_BITS) + i);
+				}
+			}
+		} else if (level == 0) {
+			yaffs_ExtendedTags tags;
+			__u32 objectId = obj->objectId;
+			
+			chunkOffset <<=  YAFFS_TNODES_LEVEL0_BITS;
+			
+			for(i = 0; i < YAFFS_NTNODES_LEVEL0; i++){
+				__u32 theChunk = yaffs_GetChunkGroupBase(dev,tn,i);
+				
+				if(theChunk > 0){
+					/* T(~0,(TSTR("verifying (%d:%d) %d"TENDSTR),tags.objectId,tags.chunkId,theChunk)); */
+					yaffs_ReadChunkWithTagsFromNAND(dev,theChunk,NULL, &tags);
+					if(tags.objectId != objectId || tags.chunkId != chunkOffset){
+						T(~0,(TSTR("Object %d chunkId %d NAND mismatch chunk %d tags (%d:%d)"TENDSTR),
+							objectId, chunkOffset, theChunk,
+							tags.objectId, tags.chunkId));
+					}
+				}
+				chunkOffset++;
+			}
+		}
+	}
+
+	return ok;
+
+}
+
+
+static void yaffs_VerifyFile(yaffs_Object *obj)
+{
+	int requiredTallness;
+	int actualTallness;
+	__u32 lastChunk;
+	__u32 x;
+	__u32 i;
+	yaffs_Device *dev;
+	yaffs_ExtendedTags tags;
+	yaffs_Tnode *tn;
+	__u32 objectId;
+	
+	if(!obj)
+		return;
+
+	if(yaffs_SkipVerification(obj->myDev))
+		return;
+	
+	dev = obj->myDev;
+	objectId = obj->objectId;
+	
+	/* Check file size is consistent with tnode depth */
+	lastChunk =  obj->variant.fileVariant.fileSize / dev->nDataBytesPerChunk + 1;
+	x = lastChunk >> YAFFS_TNODES_LEVEL0_BITS;
+	requiredTallness = 0;
+	while (x> 0) {
+		x >>= YAFFS_TNODES_INTERNAL_BITS;
+		requiredTallness++;
+	}
+	
+	actualTallness = obj->variant.fileVariant.topLevel;
+	
+	if(requiredTallness > actualTallness )
+		T(YAFFS_TRACE_VERIFY,
+		(TSTR("Obj %d had tnode tallness %d, needs to be %d"TENDSTR),
+		 obj->objectId,actualTallness, requiredTallness));
+	
+	
+	/* Check that the chunks in the tnode tree are all correct. 
+	 * We do this by scanning through the tnode tree and
+	 * checking the tags for every chunk match.
+	 */
+
+	if(yaffs_SkipNANDVerification(dev))
+		return;
+		
+	for(i = 1; i <= lastChunk; i++){
+		tn = yaffs_FindLevel0Tnode(dev, &obj->variant.fileVariant,i);
+
+		if (tn) {
+			__u32 theChunk = yaffs_GetChunkGroupBase(dev,tn,i);
+			if(theChunk > 0){
+				/* T(~0,(TSTR("verifying (%d:%d) %d"TENDSTR),objectId,i,theChunk)); */
+				yaffs_ReadChunkWithTagsFromNAND(dev,theChunk,NULL, &tags);
+				if(tags.objectId != objectId || tags.chunkId != i){
+					T(~0,(TSTR("Object %d chunkId %d NAND mismatch chunk %d tags (%d:%d)"TENDSTR),
+						objectId, i, theChunk,
+						tags.objectId, tags.chunkId));
+				}
+			}
+		}
+
+	}
+
+}
+
+
+static void yaffs_VerifyHardLink(yaffs_Object *obj)
+{
+	if(obj && yaffs_SkipVerification(obj->myDev))
+		return;
+		
+	/* Verify sane equivalent object */
+}
+
+static void yaffs_VerifySymlink(yaffs_Object *obj)
+{
+	if(obj && yaffs_SkipVerification(obj->myDev))
+		return;
+		
+	/* Verify symlink string */
+}
+
+static void yaffs_VerifySpecial(yaffs_Object *obj)
+{
+	if(obj && yaffs_SkipVerification(obj->myDev))
+		return;
+}
+
+static void yaffs_VerifyObject(yaffs_Object *obj)
+{
+	yaffs_Device *dev;
+	
+	__u32 chunkMin;
+	__u32 chunkMax;
+	
+	__u32 chunkIdOk;
+	__u32 chunkInRange;
+	__u32 chunkShouldNotBeDeleted;
+	__u32 chunkValid; 
+	
+	if(!obj)
+		return;
+		
+	if(obj->beingCreated)
+		return;
+	
+	dev = obj->myDev;
+	
+	if(yaffs_SkipVerification(dev))
+		return;
+		
+	/* Check sane object header chunk */
+
+	chunkMin = dev->internalStartBlock * dev->nChunksPerBlock;
+	chunkMax = (dev->internalEndBlock+1) * dev->nChunksPerBlock - 1;
+
+	chunkInRange = (((unsigned)(obj->hdrChunk)) >= chunkMin && ((unsigned)(obj->hdrChunk)) <= chunkMax);
+	chunkIdOk = chunkInRange || obj->hdrChunk == 0;
+	chunkValid  =  chunkInRange &&
+			yaffs_CheckChunkBit(dev,
+					    obj->hdrChunk / dev->nChunksPerBlock,
+					    obj->hdrChunk % dev->nChunksPerBlock);
+	chunkShouldNotBeDeleted = chunkInRange && !chunkValid;
+
+	if(!obj->fake &&
+	    (!chunkIdOk || chunkShouldNotBeDeleted)) {
+	   T(YAFFS_TRACE_VERIFY,
+	   (TSTR("Obj %d has chunkId %d %s %s"TENDSTR),
+	   obj->objectId,obj->hdrChunk,
+	   chunkIdOk ? "" : ",out of range",
+	   chunkShouldNotBeDeleted ? ",marked as deleted" : ""));
+	}
+	
+	if(chunkValid &&!yaffs_SkipNANDVerification(dev)) {
+		yaffs_ExtendedTags tags;
+		yaffs_ObjectHeader *oh;
+		__u8 *buffer = yaffs_GetTempBuffer(dev,__LINE__);
+		
+		oh = (yaffs_ObjectHeader *)buffer;
+
+		yaffs_ReadChunkWithTagsFromNAND(dev, obj->hdrChunk,buffer, &tags);
+
+		yaffs_VerifyObjectHeader(obj,oh,&tags,1);
+		
+		yaffs_ReleaseTempBuffer(dev,buffer,__LINE__);
+	}
+	
+	/* Verify it has a parent */
+	if(obj && !obj->fake &&
+	   (!obj->parent || obj->parent->myDev != dev)){
+	   T(YAFFS_TRACE_VERIFY,
+	   (TSTR("Obj %d has parent pointer %p which does not look like an object"TENDSTR),
+	   obj->objectId,obj->parent));	   
+	}
+	
+	/* Verify parent is a directory */
+	if(obj->parent && obj->parent->variantType != YAFFS_OBJECT_TYPE_DIRECTORY){
+	   T(YAFFS_TRACE_VERIFY,
+	   (TSTR("Obj %d's parent is not a directory (type %d)"TENDSTR),
+	   obj->objectId,obj->parent->variantType));	   
+	}
+	
+	switch(obj->variantType){
+	case YAFFS_OBJECT_TYPE_FILE:
+		yaffs_VerifyFile(obj);
+		break;
+	case YAFFS_OBJECT_TYPE_SYMLINK:
+		yaffs_VerifySymlink(obj);
+		break;
+	case YAFFS_OBJECT_TYPE_DIRECTORY:
+		yaffs_VerifyDirectory(obj);
+		break;
+	case YAFFS_OBJECT_TYPE_HARDLINK:
+		yaffs_VerifyHardLink(obj);
+		break;
+	case YAFFS_OBJECT_TYPE_SPECIAL:
+		yaffs_VerifySpecial(obj);
+		break;
+	case YAFFS_OBJECT_TYPE_UNKNOWN:
+	default:
+		T(YAFFS_TRACE_VERIFY,
+		(TSTR("Obj %d has illegaltype %d"TENDSTR),
+		obj->objectId,obj->variantType));	   
+		break;
+	}
+	
+	
+}
+
+static void yaffs_VerifyObjects(yaffs_Device *dev)
+{
+        yaffs_Object *obj;
+        int i;
+        struct ylist_head *lh;
+
+        if(yaffs_SkipVerification(dev))
+                return;
+	
+        /* Iterate through the objects in each hash entry */
+         
+         for(i = 0; i <  YAFFS_NOBJECT_BUCKETS; i++){
+                ylist_for_each(lh, &dev->objectBucket[i].list) {
+                        if (lh) {
+                                obj = ylist_entry(lh, yaffs_Object, hashLink);
+                                yaffs_VerifyObject(obj);
+                        }
+                }
+	 }
+
+}
+
+
+/*
+ *  Simple hash function. Needs to have a reasonable spread
+ */
+ 
+static Y_INLINE int yaffs_HashFunction(int n)
+{
+	n = abs(n);
+	return (n % YAFFS_NOBJECT_BUCKETS);
+}
+
+/*
+ * Access functions to useful fake objects.
+ * Note that root might have a presence in NAND if permissions are set.
+ */
+ 
+yaffs_Object *yaffs_Root(yaffs_Device * dev)
+{
+	return dev->rootDir;
+}
+
+yaffs_Object *yaffs_LostNFound(yaffs_Device * dev)
+{
+	return dev->lostNFoundDir;
+}
+
+
+/*
+ *  Erased NAND checking functions
+ */
+ 
+int yaffs_CheckFF(__u8 * buffer, int nBytes)
+{
+	/* Horrible, slow implementation */
+	while (nBytes--) {
+		if (*buffer != 0xFF)
+			return 0;
+		buffer++;
+	}
+	return 1;
+}
+
+static int yaffs_CheckChunkErased(struct yaffs_DeviceStruct *dev,
+				  int chunkInNAND)
+{
+
+	int retval = YAFFS_OK;
+	__u8 *data = yaffs_GetTempBuffer(dev, __LINE__);
+	yaffs_ExtendedTags tags;
+	int result;
+
+	result = yaffs_ReadChunkWithTagsFromNAND(dev, chunkInNAND, data, &tags);
+	
+	if(tags.eccResult > YAFFS_ECC_RESULT_NO_ERROR)
+		retval = YAFFS_FAIL;
+		
+
+	if (!yaffs_CheckFF(data, dev->nDataBytesPerChunk) || tags.chunkUsed) {
+		T(YAFFS_TRACE_NANDACCESS,
+		  (TSTR("Chunk %d not erased" TENDSTR), chunkInNAND));
+		retval = YAFFS_FAIL;
+	}
+
+	yaffs_ReleaseTempBuffer(dev, data, __LINE__);
+
+	return retval;
+
+}
+
+static int yaffs_WriteNewChunkWithTagsToNAND(struct yaffs_DeviceStruct *dev,
+					     const __u8 * data,
+					     yaffs_ExtendedTags * tags,
+					     int useReserve)
+{
+	int attempts = 0;
+	int writeOk = 0;
+	int chunk;
+
+	yaffs_InvalidateCheckpoint(dev);
+
+	do {
+		yaffs_BlockInfo *bi = 0;
+		int erasedOk = 0;
+
+		chunk = yaffs_AllocateChunk(dev, useReserve, &bi);
+		if (chunk < 0) {
+			/* no space */
+			break;
+		}
+
+		/* First check this chunk is erased, if it needs
+		 * checking.  The checking policy (unless forced
+		 * always on) is as follows:
+		 *
+		 * Check the first page we try to write in a block.
+		 * If the check passes then we don't need to check any
+		 * more.	If the check fails, we check again...
+		 * If the block has been erased, we don't need to check.
+		 *
+		 * However, if the block has been prioritised for gc,
+		 * then we think there might be something odd about
+		 * this block and stop using it.
+		 *
+		 * Rationale: We should only ever see chunks that have
+		 * not been erased if there was a partially written
+		 * chunk due to power loss.  This checking policy should
+		 * catch that case with very few checks and thus save a
+		 * lot of checks that are most likely not needed.
+		 */
+		if (bi->gcPrioritise) {
+			yaffs_DeleteChunk(dev, chunk, 1, __LINE__);
+			/* try another chunk */
+			continue;
+		}
+
+		/* let's give it a try */
+		attempts++;
+
+#ifdef CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED
+		bi->skipErasedCheck = 0;
+#endif
+		if (!bi->skipErasedCheck) {
+			erasedOk = yaffs_CheckChunkErased(dev, chunk);
+			if (erasedOk != YAFFS_OK) {
+				T(YAFFS_TRACE_ERROR,
+				(TSTR ("**>> yaffs chunk %d was not erased"
+				TENDSTR), chunk));
+
+				/* try another chunk */
+				continue;
+			}
+			bi->skipErasedCheck = 1;
+		}
+
+		writeOk = yaffs_WriteChunkWithTagsToNAND(dev, chunk,
+				data, tags);
+		if (writeOk != YAFFS_OK) {
+			yaffs_HandleWriteChunkError(dev, chunk, erasedOk);
+			/* try another chunk */
+			continue;
+		}
+
+		/* Copy the data into the robustification buffer */
+		yaffs_HandleWriteChunkOk(dev, chunk, data, tags);
+
+	} while (writeOk != YAFFS_OK && 
+	        (yaffs_wr_attempts <= 0 || attempts <= yaffs_wr_attempts));
+	
+	if(!writeOk)
+		chunk = -1;
+
+	if (attempts > 1) {
+		T(YAFFS_TRACE_ERROR,
+			(TSTR("**>> yaffs write required %d attempts" TENDSTR),
+			attempts));
+
+		dev->nRetriedWrites += (attempts - 1);
+	}
+
+	return chunk;
+}
+
+/*
+ * Block retiring for handling a broken block.
+ */
+ 
+static void yaffs_RetireBlock(yaffs_Device * dev, int blockInNAND)
+{
+	yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev, blockInNAND);
+
+	yaffs_InvalidateCheckpoint(dev);
+	
+	if (yaffs_MarkBlockBad(dev, blockInNAND) != YAFFS_OK) {
+		if (yaffs_EraseBlockInNAND(dev, blockInNAND) != YAFFS_OK) {
+			T(YAFFS_TRACE_ALWAYS, (TSTR(
+				"yaffs: Failed to mark bad and erase block %d"
+				TENDSTR), blockInNAND));
+		}
+		else {
+			yaffs_ExtendedTags tags;
+			int chunkId = blockInNAND * dev->nChunksPerBlock;
+
+			__u8 *buffer = yaffs_GetTempBuffer(dev, __LINE__);
+
+			memset(buffer, 0xff, dev->nDataBytesPerChunk);
+			yaffs_InitialiseTags(&tags);
+			tags.sequenceNumber = YAFFS_SEQUENCE_BAD_BLOCK;
+			if (dev->writeChunkWithTagsToNAND(dev, chunkId -
+			    dev->chunkOffset, buffer, &tags) != YAFFS_OK)
+				T(YAFFS_TRACE_ALWAYS, (TSTR("yaffs: Failed to "
+					TCONT("write bad block marker to block %d")
+					TENDSTR), blockInNAND));
+
+			yaffs_ReleaseTempBuffer(dev, buffer, __LINE__);
+		}
+	}
+
+	bi->blockState = YAFFS_BLOCK_STATE_DEAD;
+	bi->gcPrioritise = 0;
+	bi->needsRetiring = 0;
+
+	dev->nRetiredBlocks++;
+}
+
+/*
+ * Functions for robustisizing TODO
+ *
+ */
+ 
+static void yaffs_HandleWriteChunkOk(yaffs_Device * dev, int chunkInNAND,
+				     const __u8 * data,
+				     const yaffs_ExtendedTags * tags)
+{
+}
+
+static void yaffs_HandleUpdateChunk(yaffs_Device * dev, int chunkInNAND,
+				    const yaffs_ExtendedTags * tags)
+{
+}
+
+void yaffs_HandleChunkError(yaffs_Device *dev, yaffs_BlockInfo *bi)
+{
+	if(!bi->gcPrioritise){
+		bi->gcPrioritise = 1;
+		dev->hasPendingPrioritisedGCs = 1;
+		bi->chunkErrorStrikes ++;
+		
+		if(bi->chunkErrorStrikes > 3){
+			bi->needsRetiring = 1; /* Too many stikes, so retire this */
+			T(YAFFS_TRACE_ALWAYS, (TSTR("yaffs: Block struck out" TENDSTR)));
+
+		}
+		
+	}
+}
+
+static void yaffs_HandleWriteChunkError(yaffs_Device * dev, int chunkInNAND, int erasedOk)
+{
+
+	int blockInNAND = chunkInNAND / dev->nChunksPerBlock;
+	yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev, blockInNAND);
+
+	yaffs_HandleChunkError(dev,bi);
+		
+	
+	if(erasedOk ) {
+		/* Was an actual write failure, so mark the block for retirement  */
+		bi->needsRetiring = 1;
+		T(YAFFS_TRACE_ERROR | YAFFS_TRACE_BAD_BLOCKS,
+		  (TSTR("**>> Block %d needs retiring" TENDSTR), blockInNAND));
+
+		
+	}
+	
+	/* Delete the chunk */
+	yaffs_DeleteChunk(dev, chunkInNAND, 1, __LINE__);
+}
+
+
+/*---------------- Name handling functions ------------*/ 
+
+static __u16 yaffs_CalcNameSum(const YCHAR * name)
+{
+	__u16 sum = 0;
+	__u16 i = 1;
+
+	const YUCHAR *bname = (const YUCHAR *) name;
+	if (bname) {
+		while ((*bname) && (i < (YAFFS_MAX_NAME_LENGTH/2))) {
+
+#ifdef CONFIG_YAFFS_CASE_INSENSITIVE
+			sum += yaffs_toupper(*bname) * i;
+#else
+			sum += (*bname) * i;
+#endif
+			i++;
+			bname++;
+		}
+	}
+	return sum;
+}
+
+static void yaffs_SetObjectName(yaffs_Object * obj, const YCHAR * name)
+{
+#ifdef CONFIG_YAFFS_SHORT_NAMES_IN_RAM
+	memset(obj->shortName,0,sizeof (YCHAR) * (YAFFS_SHORT_NAME_LENGTH+1)); 
+	if (name && yaffs_strlen(name) <= YAFFS_SHORT_NAME_LENGTH) {
+		yaffs_strcpy(obj->shortName, name);
+	} else {
+		obj->shortName[0] = _Y('\0');
+	}
+#endif
+	obj->sum = yaffs_CalcNameSum(name);
+}
+
+/*-------------------- TNODES -------------------
+
+ * List of spare tnodes
+ * The list is hooked together using the first pointer
+ * in the tnode.
+ */
+ 
+/* yaffs_CreateTnodes creates a bunch more tnodes and
+ * adds them to the tnode free list.
+ * Don't use this function directly
+ */
+
+static int yaffs_CreateTnodes(yaffs_Device * dev, int nTnodes)
+{
+	int i;
+	int tnodeSize;
+	yaffs_Tnode *newTnodes;
+	__u8 *mem;
+	yaffs_Tnode *curr;
+	yaffs_Tnode *next;
+	yaffs_TnodeList *tnl;
+
+	if (nTnodes < 1)
+		return YAFFS_OK;
+		
+	/* Calculate the tnode size in bytes for variable width tnode support.
+	 * Must be a multiple of 32-bits  */
+	tnodeSize = (dev->tnodeWidth * YAFFS_NTNODES_LEVEL0)/8;
+
+	if(tnodeSize < sizeof(yaffs_Tnode))
+		tnodeSize = sizeof(yaffs_Tnode);
+		
+
+	/* make these things */
+
+	newTnodes = YMALLOC(nTnodes * tnodeSize);
+	mem = (__u8 *)newTnodes;
+
+	if (!newTnodes) {
+		T(YAFFS_TRACE_ERROR,
+		  (TSTR("yaffs: Could not allocate Tnodes" TENDSTR)));
+		return YAFFS_FAIL;
+	}
+
+	/* Hook them into the free list */
+#if 0
+	for (i = 0; i < nTnodes - 1; i++) {
+		newTnodes[i].internal[0] = &newTnodes[i + 1];
+#ifdef CONFIG_YAFFS_TNODE_LIST_DEBUG
+		newTnodes[i].internal[YAFFS_NTNODES_INTERNAL] = (void *)1;
+#endif
+	}
+
+	newTnodes[nTnodes - 1].internal[0] = dev->freeTnodes;
+#ifdef CONFIG_YAFFS_TNODE_LIST_DEBUG
+	newTnodes[nTnodes - 1].internal[YAFFS_NTNODES_INTERNAL] = (void *)1;
+#endif
+	dev->freeTnodes = newTnodes;
+#else
+	/* New hookup for wide tnodes */
+	for(i = 0; i < nTnodes -1; i++) {
+		curr = (yaffs_Tnode *) &mem[i * tnodeSize];
+		next = (yaffs_Tnode *) &mem[(i+1) * tnodeSize];
+		curr->internal[0] = next;
+	}
+	
+	curr = (yaffs_Tnode *) &mem[(nTnodes - 1) * tnodeSize];
+	curr->internal[0] = dev->freeTnodes;
+	dev->freeTnodes = (yaffs_Tnode *)mem;
+
+#endif
+
+
+	dev->nFreeTnodes += nTnodes;
+	dev->nTnodesCreated += nTnodes;
+
+	/* Now add this bunch of tnodes to a list for freeing up.
+	 * NB If we can't add this to the management list it isn't fatal
+	 * but it just means we can't free this bunch of tnodes later.
+	 */
+	 
+	tnl = YMALLOC(sizeof(yaffs_TnodeList));
+	if (!tnl) {
+		T(YAFFS_TRACE_ERROR,
+		  (TSTR
+		   ("yaffs: Could not add tnodes to management list" TENDSTR)));
+		   return YAFFS_FAIL;
+
+	} else {
+		tnl->tnodes = newTnodes;
+		tnl->next = dev->allocatedTnodeList;
+		dev->allocatedTnodeList = tnl;
+	}
+
+	T(YAFFS_TRACE_ALLOCATE, (TSTR("yaffs: Tnodes added" TENDSTR)));
+
+	return YAFFS_OK;
+}
+
+/* GetTnode gets us a clean tnode. Tries to make allocate more if we run out */
+
+static yaffs_Tnode *yaffs_GetTnodeRaw(yaffs_Device * dev)
+{
+	yaffs_Tnode *tn = NULL;
+
+	/* If there are none left make more */
+	if (!dev->freeTnodes) {
+		yaffs_CreateTnodes(dev, YAFFS_ALLOCATION_NTNODES);
+	}
+
+	if (dev->freeTnodes) {
+		tn = dev->freeTnodes;
+#ifdef CONFIG_YAFFS_TNODE_LIST_DEBUG
+		if (tn->internal[YAFFS_NTNODES_INTERNAL] != (void *)1) {
+			/* Hoosterman, this thing looks like it isn't in the list */
+			T(YAFFS_TRACE_ALWAYS,
+			  (TSTR("yaffs: Tnode list bug 1" TENDSTR)));
+		}
+#endif
+		dev->freeTnodes = dev->freeTnodes->internal[0];
+		dev->nFreeTnodes--;
+	}
+
+	dev->nCheckpointBlocksRequired = 0; /* force recalculation*/
+
+	return tn;
+}
+
+static yaffs_Tnode *yaffs_GetTnode(yaffs_Device * dev)
+{
+	yaffs_Tnode *tn = yaffs_GetTnodeRaw(dev);
+	int tnodeSize = (dev->tnodeWidth * YAFFS_NTNODES_LEVEL0)/8;
+
+	if(tnodeSize < sizeof(yaffs_Tnode))
+		tnodeSize = sizeof(yaffs_Tnode);
+	
+	if(tn)
+		memset(tn, 0, tnodeSize);
+
+	return tn;	
+}
+
+/* FreeTnode frees up a tnode and puts it back on the free list */
+static void yaffs_FreeTnode(yaffs_Device * dev, yaffs_Tnode * tn)
+{
+	if (tn) {
+#ifdef CONFIG_YAFFS_TNODE_LIST_DEBUG
+		if (tn->internal[YAFFS_NTNODES_INTERNAL] != 0) {
+			/* Hoosterman, this thing looks like it is already in the list */
+			T(YAFFS_TRACE_ALWAYS,
+			  (TSTR("yaffs: Tnode list bug 2" TENDSTR)));
+		}
+		tn->internal[YAFFS_NTNODES_INTERNAL] = (void *)1;
+#endif
+		tn->internal[0] = dev->freeTnodes;
+		dev->freeTnodes = tn;
+		dev->nFreeTnodes++;
+	}
+	dev->nCheckpointBlocksRequired = 0; /* force recalculation*/
+	
+}
+
+static void yaffs_DeinitialiseTnodes(yaffs_Device * dev)
+{
+	/* Free the list of allocated tnodes */
+	yaffs_TnodeList *tmp;
+
+	while (dev->allocatedTnodeList) {
+		tmp = dev->allocatedTnodeList->next;
+
+		YFREE(dev->allocatedTnodeList->tnodes);
+		YFREE(dev->allocatedTnodeList);
+		dev->allocatedTnodeList = tmp;
+
+	}
+
+	dev->freeTnodes = NULL;
+	dev->nFreeTnodes = 0;
+}
+
+static void yaffs_InitialiseTnodes(yaffs_Device * dev)
+{
+	dev->allocatedTnodeList = NULL;
+	dev->freeTnodes = NULL;
+	dev->nFreeTnodes = 0;
+	dev->nTnodesCreated = 0;
+
+}
+
+
+void yaffs_PutLevel0Tnode(yaffs_Device *dev, yaffs_Tnode *tn, unsigned pos, unsigned val)
+{
+  __u32 *map = (__u32 *)tn;
+  __u32 bitInMap;
+  __u32 bitInWord;
+  __u32 wordInMap;
+  __u32 mask;
+  
+  pos &= YAFFS_TNODES_LEVEL0_MASK;
+  val >>= dev->chunkGroupBits;
+  
+  bitInMap = pos * dev->tnodeWidth;
+  wordInMap = bitInMap /32;
+  bitInWord = bitInMap & (32 -1);
+  
+  mask = dev->tnodeMask << bitInWord;
+  
+  map[wordInMap] &= ~mask;
+  map[wordInMap] |= (mask & (val << bitInWord));
+  
+  if(dev->tnodeWidth > (32-bitInWord)) {
+    bitInWord = (32 - bitInWord);
+    wordInMap++;;
+    mask = dev->tnodeMask >> (/*dev->tnodeWidth -*/ bitInWord);
+    map[wordInMap] &= ~mask;
+    map[wordInMap] |= (mask & (val >> bitInWord));
+  }
+}
+
+static __u32 yaffs_GetChunkGroupBase(yaffs_Device *dev, yaffs_Tnode *tn, unsigned pos)
+{
+  __u32 *map = (__u32 *)tn;
+  __u32 bitInMap;
+  __u32 bitInWord;
+  __u32 wordInMap;
+  __u32 val;
+  
+  pos &= YAFFS_TNODES_LEVEL0_MASK;
+  
+  bitInMap = pos * dev->tnodeWidth;
+  wordInMap = bitInMap /32;
+  bitInWord = bitInMap & (32 -1);
+  
+  val = map[wordInMap] >> bitInWord;
+  
+  if(dev->tnodeWidth > (32-bitInWord)) {
+    bitInWord = (32 - bitInWord);
+    wordInMap++;;
+    val |= (map[wordInMap] << bitInWord);
+  }
+  
+  val &= dev->tnodeMask;
+  val <<= dev->chunkGroupBits;
+  
+  return val;
+}
+
+/* ------------------- End of individual tnode manipulation -----------------*/
+
+/* ---------Functions to manipulate the look-up tree (made up of tnodes) ------
+ * The look up tree is represented by the top tnode and the number of topLevel
+ * in the tree. 0 means only the level 0 tnode is in the tree.
+ */
+
+/* FindLevel0Tnode finds the level 0 tnode, if one exists. */
+static yaffs_Tnode *yaffs_FindLevel0Tnode(yaffs_Device * dev,
+					  yaffs_FileStructure * fStruct,
+					  __u32 chunkId)
+{
+
+	yaffs_Tnode *tn = fStruct->top;
+	__u32 i;
+	int requiredTallness;
+	int level = fStruct->topLevel;
+
+	/* Check sane level and chunk Id */
+	if (level < 0 || level > YAFFS_TNODES_MAX_LEVEL) {
+		return NULL;
+	}
+
+	if (chunkId > YAFFS_MAX_CHUNK_ID) {
+		return NULL;
+	}
+
+	/* First check we're tall enough (ie enough topLevel) */
+
+	i = chunkId >> YAFFS_TNODES_LEVEL0_BITS;
+	requiredTallness = 0;
+	while (i) {
+		i >>= YAFFS_TNODES_INTERNAL_BITS;
+		requiredTallness++;
+	}
+
+	if (requiredTallness > fStruct->topLevel) {
+		/* Not tall enough, so we can't find it, return NULL. */
+		return NULL;
+	}
+
+	/* Traverse down to level 0 */
+	while (level > 0 && tn) {
+		tn = tn->
+		    internal[(chunkId >>
+			       ( YAFFS_TNODES_LEVEL0_BITS + 
+			         (level - 1) *
+			         YAFFS_TNODES_INTERNAL_BITS)
+			      ) &
+			     YAFFS_TNODES_INTERNAL_MASK];
+		level--;
+
+	}
+
+	return tn;
+}
+
+/* AddOrFindLevel0Tnode finds the level 0 tnode if it exists, otherwise first expands the tree.
+ * This happens in two steps:
+ *  1. If the tree isn't tall enough, then make it taller.
+ *  2. Scan down the tree towards the level 0 tnode adding tnodes if required.
+ *
+ * Used when modifying the tree.
+ *
+ *  If the tn argument is NULL, then a fresh tnode will be added otherwise the specified tn will
+ *  be plugged into the ttree.
+ */
+ 
+static yaffs_Tnode *yaffs_AddOrFindLevel0Tnode(yaffs_Device * dev,
+					       yaffs_FileStructure * fStruct,
+					       __u32 chunkId,
+					       yaffs_Tnode *passedTn)
+{
+
+	int requiredTallness;
+	int i;
+	int l;
+	yaffs_Tnode *tn;
+
+	__u32 x;
+
+
+	/* Check sane level and page Id */
+	if (fStruct->topLevel < 0 || fStruct->topLevel > YAFFS_TNODES_MAX_LEVEL) {
+		return NULL;
+	}
+
+	if (chunkId > YAFFS_MAX_CHUNK_ID) {
+		return NULL;
+	}
+
+	/* First check we're tall enough (ie enough topLevel) */
+
+	x = chunkId >> YAFFS_TNODES_LEVEL0_BITS;
+	requiredTallness = 0;
+	while (x) {
+		x >>= YAFFS_TNODES_INTERNAL_BITS;
+		requiredTallness++;
+	}
+
+
+	if (requiredTallness > fStruct->topLevel) {
+		/* Not tall enough,gotta make the tree taller */
+		for (i = fStruct->topLevel; i < requiredTallness; i++) {
+		
+			tn = yaffs_GetTnode(dev);
+
+			if (tn) {
+				tn->internal[0] = fStruct->top;
+				fStruct->top = tn;
+			} else {
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR("yaffs: no more tnodes" TENDSTR)));
+			}
+		}
+
+		fStruct->topLevel = requiredTallness;
+	}
+
+	/* Traverse down to level 0, adding anything we need */
+
+	l = fStruct->topLevel;
+	tn = fStruct->top;
+	
+	if(l > 0) {
+		while (l > 0 && tn) {
+			x = (chunkId >>
+			     ( YAFFS_TNODES_LEVEL0_BITS +
+			      (l - 1) * YAFFS_TNODES_INTERNAL_BITS)) &
+			    YAFFS_TNODES_INTERNAL_MASK;
+
+
+			if((l>1) && !tn->internal[x]){
+				/* Add missing non-level-zero tnode */
+				tn->internal[x] = yaffs_GetTnode(dev);
+
+			} else if(l == 1) {
+				/* Looking from level 1 at level 0 */
+			 	if (passedTn) {
+					/* If we already have one, then release it.*/
+					if(tn->internal[x])
+						yaffs_FreeTnode(dev,tn->internal[x]);
+					tn->internal[x] = passedTn;
+			
+				} else if(!tn->internal[x]) {
+					/* Don't have one, none passed in */
+					tn->internal[x] = yaffs_GetTnode(dev);
+				}
+			}
+		
+			tn = tn->internal[x];
+			l--;
+		}
+	} else {
+		/* top is level 0 */
+		if(passedTn) {
+			memcpy(tn,passedTn,(dev->tnodeWidth * YAFFS_NTNODES_LEVEL0)/8);
+			yaffs_FreeTnode(dev,passedTn);
+		}
+	}
+
+	return tn;
+}
+
+static int yaffs_FindChunkInGroup(yaffs_Device * dev, int theChunk,
+				  yaffs_ExtendedTags * tags, int objectId,
+				  int chunkInInode)
+{
+	int j;
+
+	for (j = 0; theChunk && j < dev->chunkGroupSize; j++) {
+		if (yaffs_CheckChunkBit
+		    (dev, theChunk / dev->nChunksPerBlock,
+		     theChunk % dev->nChunksPerBlock)) {
+			yaffs_ReadChunkWithTagsFromNAND(dev, theChunk, NULL,
+							tags);
+			if (yaffs_TagsMatch(tags, objectId, chunkInInode)) {
+				/* found it; */
+				return theChunk;
+
+			}
+		}
+		theChunk++;
+	}
+	return -1;
+}
+
+
+/* DeleteWorker scans backwards through the tnode tree and deletes all the
+ * chunks and tnodes in the file
+ * Returns 1 if the tree was deleted. 
+ * Returns 0 if it stopped early due to hitting the limit and the delete is incomplete.
+ */
+
+static int yaffs_DeleteWorker(yaffs_Object * in, yaffs_Tnode * tn, __u32 level,
+			      int chunkOffset, int *limit)
+{
+	int i;
+	int chunkInInode;
+	int theChunk;
+	yaffs_ExtendedTags tags;
+	int foundChunk;
+	yaffs_Device *dev = in->myDev;
+
+	int allDone = 1;
+
+	if (tn) {
+		if (level > 0) {
+
+			for (i = YAFFS_NTNODES_INTERNAL - 1; allDone && i >= 0;
+			     i--) {
+				if (tn->internal[i]) {
+					if (limit && (*limit) < 0) {
+						allDone = 0;
+					} else {
+						allDone =
+						    yaffs_DeleteWorker(in,
+								       tn->
+								       internal
+								       [i],
+								       level -
+								       1,
+								       (chunkOffset
+									<<
+									YAFFS_TNODES_INTERNAL_BITS)
+								       + i,
+								       limit);
+					}
+					if (allDone) {
+						yaffs_FreeTnode(dev,
+								tn->
+								internal[i]);
+						tn->internal[i] = NULL;
+					}
+				}
+
+			}
+			return (allDone) ? 1 : 0;
+		} else if (level == 0) {
+			int hitLimit = 0;
+
+			for (i = YAFFS_NTNODES_LEVEL0 - 1; i >= 0 && !hitLimit;
+			     i--) {
+			        theChunk = yaffs_GetChunkGroupBase(dev,tn,i);
+				if (theChunk) {
+
+					chunkInInode =
+					    (chunkOffset <<
+					     YAFFS_TNODES_LEVEL0_BITS) + i;
+
+					foundChunk =
+					    yaffs_FindChunkInGroup(dev,
+								   theChunk,
+								   &tags,
+								   in->objectId,
+								   chunkInInode);
+
+					if (foundChunk > 0) {
+						yaffs_DeleteChunk(dev,
+								  foundChunk, 1,
+								  __LINE__);
+						in->nDataChunks--;
+						if (limit) {
+							*limit = *limit - 1;
+							if (*limit <= 0) {
+								hitLimit = 1;
+							}
+						}
+
+					}
+
+					yaffs_PutLevel0Tnode(dev,tn,i,0);
+				}
+
+			}
+			return (i < 0) ? 1 : 0;
+
+		}
+
+	}
+
+	return 1;
+
+}
+
+static void yaffs_SoftDeleteChunk(yaffs_Device * dev, int chunk)
+{
+
+	yaffs_BlockInfo *theBlock;
+
+	T(YAFFS_TRACE_DELETION, (TSTR("soft delete chunk %d" TENDSTR), chunk));
+
+	theBlock = yaffs_GetBlockInfo(dev, chunk / dev->nChunksPerBlock);
+	if (theBlock) {
+		theBlock->softDeletions++;
+		dev->nFreeChunks++;
+	}
+}
+
+/* SoftDeleteWorker scans backwards through the tnode tree and soft deletes all the chunks in the file.
+ * All soft deleting does is increment the block's softdelete count and pulls the chunk out
+ * of the tnode.
+ * Thus, essentially this is the same as DeleteWorker except that the chunks are soft deleted.
+ */
+ 
+static int yaffs_SoftDeleteWorker(yaffs_Object * in, yaffs_Tnode * tn,
+				  __u32 level, int chunkOffset)
+{
+	int i;
+	int theChunk;
+	int allDone = 1;
+	yaffs_Device *dev = in->myDev;
+
+	if (tn) {
+		if (level > 0) {
+
+			for (i = YAFFS_NTNODES_INTERNAL - 1; allDone && i >= 0;
+			     i--) {
+				if (tn->internal[i]) {
+					allDone =
+					    yaffs_SoftDeleteWorker(in,
+								   tn->
+								   internal[i],
+								   level - 1,
+								   (chunkOffset
+								    <<
+								    YAFFS_TNODES_INTERNAL_BITS)
+								   + i);
+					if (allDone) {
+						yaffs_FreeTnode(dev,
+								tn->
+								internal[i]);
+						tn->internal[i] = NULL;
+					} else {
+						/* Hoosterman... how could this happen? */
+					}
+				}
+			}
+			return (allDone) ? 1 : 0;
+		} else if (level == 0) {
+
+			for (i = YAFFS_NTNODES_LEVEL0 - 1; i >= 0; i--) {
+				theChunk = yaffs_GetChunkGroupBase(dev,tn,i);
+				if (theChunk) {
+					/* Note this does not find the real chunk, only the chunk group.
+					 * We make an assumption that a chunk group is not larger than 
+					 * a block.
+					 */
+					yaffs_SoftDeleteChunk(dev, theChunk);
+					yaffs_PutLevel0Tnode(dev,tn,i,0);
+				}
+
+			}
+			return 1;
+
+		}
+
+	}
+
+	return 1;
+
+}
+
+static void yaffs_SoftDeleteFile(yaffs_Object * obj)
+{
+	if (obj->deleted &&
+	    obj->variantType == YAFFS_OBJECT_TYPE_FILE && !obj->softDeleted) {
+		if (obj->nDataChunks <= 0) {
+			/* Empty file with no duplicate object headers, just delete it immediately */
+			yaffs_FreeTnode(obj->myDev,
+					obj->variant.fileVariant.top);
+			obj->variant.fileVariant.top = NULL;
+			T(YAFFS_TRACE_TRACING,
+			  (TSTR("yaffs: Deleting empty file %d" TENDSTR),
+			   obj->objectId));
+			yaffs_DoGenericObjectDeletion(obj);
+		} else {
+			yaffs_SoftDeleteWorker(obj,
+					       obj->variant.fileVariant.top,
+					       obj->variant.fileVariant.
+					       topLevel, 0);
+			obj->softDeleted = 1;
+		}
+	}
+}
+
+/* Pruning removes any part of the file structure tree that is beyond the
+ * bounds of the file (ie that does not point to chunks).
+ *
+ * A file should only get pruned when its size is reduced.
+ *
+ * Before pruning, the chunks must be pulled from the tree and the
+ * level 0 tnode entries must be zeroed out.
+ * Could also use this for file deletion, but that's probably better handled
+ * by a special case.
+ */
+
+static yaffs_Tnode *yaffs_PruneWorker(yaffs_Device * dev, yaffs_Tnode * tn,
+				      __u32 level, int del0)
+{
+	int i;
+	int hasData;
+
+	if (tn) {
+		hasData = 0;
+
+		for (i = 0; i < YAFFS_NTNODES_INTERNAL; i++) {
+			if (tn->internal[i] && level > 0) {
+				tn->internal[i] =
+				    yaffs_PruneWorker(dev, tn->internal[i],
+						      level - 1,
+						      (i == 0) ? del0 : 1);
+			}
+
+			if (tn->internal[i]) {
+				hasData++;
+			}
+		}
+
+		if (hasData == 0 && del0) {
+			/* Free and return NULL */
+
+			yaffs_FreeTnode(dev, tn);
+			tn = NULL;
+		}
+
+	}
+
+	return tn;
+
+}
+
+static int yaffs_PruneFileStructure(yaffs_Device * dev,
+				    yaffs_FileStructure * fStruct)
+{
+	int i;
+	int hasData;
+	int done = 0;
+	yaffs_Tnode *tn;
+
+	if (fStruct->topLevel > 0) {
+		fStruct->top =
+		    yaffs_PruneWorker(dev, fStruct->top, fStruct->topLevel, 0);
+
+		/* Now we have a tree with all the non-zero branches NULL but the height
+		 * is the same as it was.
+		 * Let's see if we can trim internal tnodes to shorten the tree.
+		 * We can do this if only the 0th element in the tnode is in use 
+		 * (ie all the non-zero are NULL)
+		 */
+
+		while (fStruct->topLevel && !done) {
+			tn = fStruct->top;
+
+			hasData = 0;
+			for (i = 1; i < YAFFS_NTNODES_INTERNAL; i++) {
+				if (tn->internal[i]) {
+					hasData++;
+				}
+			}
+
+			if (!hasData) {
+				fStruct->top = tn->internal[0];
+				fStruct->topLevel--;
+				yaffs_FreeTnode(dev, tn);
+			} else {
+				done = 1;
+			}
+		}
+	}
+
+	return YAFFS_OK;
+}
+
+/*-------------------- End of File Structure functions.-------------------*/
+
+/* yaffs_CreateFreeObjects creates a bunch more objects and
+ * adds them to the object free list.
+ */
+static int yaffs_CreateFreeObjects(yaffs_Device * dev, int nObjects)
+{
+	int i;
+	yaffs_Object *newObjects;
+	yaffs_ObjectList *list;
+
+	if (nObjects < 1)
+		return YAFFS_OK;
+
+	/* make these things */
+	newObjects = YMALLOC(nObjects * sizeof(yaffs_Object));
+	list = YMALLOC(sizeof(yaffs_ObjectList));
+
+	if (!newObjects || !list) {
+		if(newObjects)
+			YFREE(newObjects);
+		if(list)
+			YFREE(list);
+		T(YAFFS_TRACE_ALLOCATE,
+		  (TSTR("yaffs: Could not allocate more objects" TENDSTR)));
+		return YAFFS_FAIL;
+	}
+	
+        /* Hook them into the free list */
+        for (i = 0; i < nObjects - 1; i++) {
+                newObjects[i].siblings.next =
+                    (struct ylist_head *)(&newObjects[i + 1]);
+        }
+
+        newObjects[nObjects - 1].siblings.next = (void *)dev->freeObjects;
+	dev->freeObjects = newObjects;
+	dev->nFreeObjects += nObjects;
+	dev->nObjectsCreated += nObjects;
+
+	/* Now add this bunch of Objects to a list for freeing up. */
+
+	list->objects = newObjects;
+	list->next = dev->allocatedObjectList;
+	dev->allocatedObjectList = list;
+
+	return YAFFS_OK;
+}
+
+
+/* AllocateEmptyObject gets us a clean Object. Tries to make allocate more if we run out */
+static yaffs_Object *yaffs_AllocateEmptyObject(yaffs_Device * dev)
+{
+	yaffs_Object *tn = NULL;
+
+#ifdef VALGRIND_TEST
+	tn = YMALLOC(sizeof(yaffs_Object));
+#else
+	/* If there are none left make more */
+	if (!dev->freeObjects) {
+		yaffs_CreateFreeObjects(dev, YAFFS_ALLOCATION_NOBJECTS);
+	}
+
+	if (dev->freeObjects) {
+		tn = dev->freeObjects;
+		dev->freeObjects =
+		    (yaffs_Object *) (dev->freeObjects->siblings.next);
+		dev->nFreeObjects--;
+	}
+#endif
+	if(tn){
+		/* Now sweeten it up... */
+
+		memset(tn, 0, sizeof(yaffs_Object));
+		tn->beingCreated = 1;
+		
+		tn->myDev = dev;
+		tn->hdrChunk = 0;
+		tn->variantType = YAFFS_OBJECT_TYPE_UNKNOWN;
+		YINIT_LIST_HEAD(&(tn->hardLinks));
+		YINIT_LIST_HEAD(&(tn->hashLink));
+		YINIT_LIST_HEAD(&tn->siblings);
+		
+
+		/* Now make the directory sane */
+		if(dev->rootDir){
+			tn->parent = dev->rootDir;
+			ylist_add(&(tn->siblings),&dev->rootDir->variant.directoryVariant.children);
+		}
+
+                /* Add it to the lost and found directory.
+                 * NB Can't put root or lostNFound in lostNFound so
+		 * check if lostNFound exists first
+		 */
+		if (dev->lostNFoundDir) {
+			yaffs_AddObjectToDirectory(dev->lostNFoundDir, tn);
+		}
+		
+		tn->beingCreated = 0;
+	}
+	
+	dev->nCheckpointBlocksRequired = 0; /* force recalculation*/
+
+	return tn;
+}
+
+static yaffs_Object *yaffs_CreateFakeDirectory(yaffs_Device * dev, int number,
+					       __u32 mode)
+{
+
+	yaffs_Object *obj =
+	    yaffs_CreateNewObject(dev, number, YAFFS_OBJECT_TYPE_DIRECTORY);
+	if (obj) {
+		obj->fake = 1;		/* it is fake so it might have no NAND presence... */
+		obj->renameAllowed = 0;	/* ... and we're not allowed to rename it... */
+		obj->unlinkAllowed = 0;	/* ... or unlink it */
+		obj->deleted = 0;
+		obj->unlinked = 0;
+		obj->yst_mode = mode;
+		obj->myDev = dev;
+		obj->hdrChunk = 0;	/* Not a valid chunk. */
+	}
+
+	return obj;
+
+}
+
+static void yaffs_UnhashObject(yaffs_Object * tn)
+{
+	int bucket;
+        yaffs_Device *dev = tn->myDev;
+
+        /* If it is still linked into the bucket list, free from the list */
+        if (!ylist_empty(&tn->hashLink)) {
+                ylist_del_init(&tn->hashLink);
+                bucket = yaffs_HashFunction(tn->objectId);
+                dev->objectBucket[bucket].count--;
+        }
+
+}
+
+/*  FreeObject frees up a Object and puts it back on the free list */
+static void yaffs_FreeObject(yaffs_Object * tn)
+{
+
+	yaffs_Device *dev = tn->myDev;
+
+	
+	if(tn->parent)
+		YBUG();
+	if(!ylist_empty(&tn->siblings))
+		YBUG();
+
+
+#ifdef  __KERNEL__
+	if (tn->myInode) {
+		/* We're still hooked up to a cached inode.
+		 * Don't delete now, but mark for later deletion
+		 */
+		tn->deferedFree = 1;
+		return;
+	}
+#endif
+
+        yaffs_UnhashObject(tn);
+
+#ifdef VALGRIND_TEST
+	YFREE(tn);
+#else
+        /* Link into the free list. */
+        tn->siblings.next = (struct ylist_head *)(dev->freeObjects);
+        dev->freeObjects = tn;
+        dev->nFreeObjects++;
+#endif
+	dev->nCheckpointBlocksRequired = 0; /* force recalculation*/
+
+}
+
+#ifdef __KERNEL__
+
+void yaffs_HandleDeferedFree(yaffs_Object * obj)
+{
+	if (obj->deferedFree) {
+		yaffs_FreeObject(obj);
+	}
+}
+
+#endif
+
+static void yaffs_DeinitialiseObjects(yaffs_Device * dev)
+{
+	/* Free the list of allocated Objects */
+
+	yaffs_ObjectList *tmp;
+
+	while (dev->allocatedObjectList) {
+		tmp = dev->allocatedObjectList->next;
+		YFREE(dev->allocatedObjectList->objects);
+		YFREE(dev->allocatedObjectList);
+
+		dev->allocatedObjectList = tmp;
+	}
+
+	dev->freeObjects = NULL;
+	dev->nFreeObjects = 0;
+}
+
+static void yaffs_InitialiseObjects(yaffs_Device * dev)
+{
+	int i;
+
+	dev->allocatedObjectList = NULL;
+	dev->freeObjects = NULL;
+        dev->nFreeObjects = 0;
+
+        for (i = 0; i < YAFFS_NOBJECT_BUCKETS; i++) {
+                YINIT_LIST_HEAD(&dev->objectBucket[i].list);
+                dev->objectBucket[i].count = 0;
+        }
+
+}
+
+static int yaffs_FindNiceObjectBucket(yaffs_Device * dev)
+{
+	static int x = 0;
+	int i;
+	int l = 999;
+	int lowest = 999999;
+
+	/* First let's see if we can find one that's empty. */
+
+	for (i = 0; i < 10 && lowest > 0; i++) {
+		x++;
+		x %= YAFFS_NOBJECT_BUCKETS;
+		if (dev->objectBucket[x].count < lowest) {
+			lowest = dev->objectBucket[x].count;
+			l = x;
+		}
+
+	}
+
+	/* If we didn't find an empty list, then try
+	 * looking a bit further for a short one
+	 */
+
+	for (i = 0; i < 10 && lowest > 3; i++) {
+		x++;
+		x %= YAFFS_NOBJECT_BUCKETS;
+		if (dev->objectBucket[x].count < lowest) {
+			lowest = dev->objectBucket[x].count;
+			l = x;
+		}
+
+	}
+
+	return l;
+}
+
+static int yaffs_CreateNewObjectNumber(yaffs_Device * dev)
+{
+	int bucket = yaffs_FindNiceObjectBucket(dev);
+
+	/* Now find an object value that has not already been taken
+	 * by scanning the list.
+         */
+
+        int found = 0;
+        struct ylist_head *i;
+
+        __u32 n = (__u32) bucket;
+
+	/* yaffs_CheckObjectHashSanity();  */
+
+	while (!found) {
+                found = 1;
+                n += YAFFS_NOBJECT_BUCKETS;
+                if (1 || dev->objectBucket[bucket].count > 0) {
+                        ylist_for_each(i, &dev->objectBucket[bucket].list) {
+                                /* If there is already one in the list */
+                                if (i
+                                    && ylist_entry(i, yaffs_Object,
+                                                  hashLink)->objectId == n) {
+                                        found = 0;
+                                }
+			}
+		}
+	}
+
+
+	return n;
+}
+
+static void yaffs_HashObject(yaffs_Object * in)
+{
+        int bucket = yaffs_HashFunction(in->objectId);
+        yaffs_Device *dev = in->myDev;
+
+        ylist_add(&in->hashLink, &dev->objectBucket[bucket].list);
+        dev->objectBucket[bucket].count++;
+
+}
+
+yaffs_Object *yaffs_FindObjectByNumber(yaffs_Device * dev, __u32 number)
+{
+        int bucket = yaffs_HashFunction(number);
+        struct ylist_head *i;
+        yaffs_Object *in;
+
+        ylist_for_each(i, &dev->objectBucket[bucket].list) {
+                /* Look if it is in the list */
+                if (i) {
+                        in = ylist_entry(i, yaffs_Object, hashLink);
+                        if (in->objectId == number) {
+#ifdef __KERNEL__
+                                /* Don't tell the VFS about this one if it is defered free */
+				if (in->deferedFree)
+					return NULL;
+#endif
+
+				return in;
+			}
+		}
+	}
+
+	return NULL;
+}
+
+yaffs_Object *yaffs_CreateNewObject(yaffs_Device * dev, int number,
+				    yaffs_ObjectType type)
+{
+
+	yaffs_Object *theObject;
+	yaffs_Tnode *tn = NULL;
+
+	if (number < 0) {
+		number = yaffs_CreateNewObjectNumber(dev);
+	}
+
+	theObject = yaffs_AllocateEmptyObject(dev);
+	if(!theObject)
+		return NULL;
+		
+	if(type == YAFFS_OBJECT_TYPE_FILE){
+		tn = yaffs_GetTnode(dev);
+		if(!tn){
+			yaffs_FreeObject(theObject);
+			return NULL;
+		}
+	}
+		
+	
+
+	if (theObject) {
+		theObject->fake = 0;
+		theObject->renameAllowed = 1;
+		theObject->unlinkAllowed = 1;
+		theObject->objectId = number;
+		yaffs_HashObject(theObject);
+		theObject->variantType = type;
+#ifdef CONFIG_YAFFS_WINCE
+		yfsd_WinFileTimeNow(theObject->win_atime);
+		theObject->win_ctime[0] = theObject->win_mtime[0] =
+		    theObject->win_atime[0];
+		theObject->win_ctime[1] = theObject->win_mtime[1] =
+		    theObject->win_atime[1];
+
+#else
+
+		theObject->yst_atime = theObject->yst_mtime =
+		    theObject->yst_ctime = Y_CURRENT_TIME;
+#endif
+		switch (type) {
+		case YAFFS_OBJECT_TYPE_FILE:
+			theObject->variant.fileVariant.fileSize = 0;
+			theObject->variant.fileVariant.scannedFileSize = 0;
+			theObject->variant.fileVariant.shrinkSize = 0xFFFFFFFF;	/* max __u32 */
+			theObject->variant.fileVariant.topLevel = 0;
+                        theObject->variant.fileVariant.top = tn;
+                        break;
+                case YAFFS_OBJECT_TYPE_DIRECTORY:
+                        YINIT_LIST_HEAD(&theObject->variant.directoryVariant.
+                                       children);
+                        break;
+                case YAFFS_OBJECT_TYPE_SYMLINK:
+		case YAFFS_OBJECT_TYPE_HARDLINK:
+		case YAFFS_OBJECT_TYPE_SPECIAL:
+			/* No action required */
+			break;
+		case YAFFS_OBJECT_TYPE_UNKNOWN:
+			/* todo this should not happen */
+			break;
+		}
+	}
+
+	return theObject;
+}
+
+static yaffs_Object *yaffs_FindOrCreateObjectByNumber(yaffs_Device * dev,
+						      int number,
+						      yaffs_ObjectType type)
+{
+	yaffs_Object *theObject = NULL;
+
+	if (number > 0) {
+		theObject = yaffs_FindObjectByNumber(dev, number);
+	}
+
+	if (!theObject) {
+		theObject = yaffs_CreateNewObject(dev, number, type);
+	}
+
+	return theObject;
+
+}
+			
+
+static YCHAR *yaffs_CloneString(const YCHAR * str)
+{
+	YCHAR *newStr = NULL;
+
+	if (str && *str) {
+		newStr = YMALLOC((yaffs_strlen(str) + 1) * sizeof(YCHAR));
+		if(newStr)
+			yaffs_strcpy(newStr, str);
+	}
+
+	return newStr;
+
+}
+
+/*
+ * Mknod (create) a new object.
+ * equivalentObject only has meaning for a hard link;
+ * aliasString only has meaning for a sumlink.
+ * rdev only has meaning for devices (a subset of special objects)
+ */
+ 
+static yaffs_Object *yaffs_MknodObject(yaffs_ObjectType type,
+				       yaffs_Object * parent,
+				       const YCHAR * name,
+				       __u32 mode,
+				       __u32 uid,
+				       __u32 gid,
+				       yaffs_Object * equivalentObject,
+				       const YCHAR * aliasString, __u32 rdev)
+{
+	yaffs_Object *in;
+	YCHAR *str = NULL;
+
+	yaffs_Device *dev = parent->myDev;
+
+	/* Check if the entry exists. If it does then fail the call since we don't want a dup.*/
+	if (yaffs_FindObjectByName(parent, name)) {
+		return NULL;
+	}
+
+	in = yaffs_CreateNewObject(dev, -1, type);
+
+	if(!in)
+		return YAFFS_FAIL;
+	
+	if(type == YAFFS_OBJECT_TYPE_SYMLINK){
+		str = yaffs_CloneString(aliasString);
+		if(!str){
+			yaffs_FreeObject(in);
+			return NULL;
+		}
+	}
+	
+	
+
+	if (in) {
+		in->hdrChunk = 0;
+		in->valid = 1;
+		in->variantType = type;
+
+		in->yst_mode = mode;
+
+#ifdef CONFIG_YAFFS_WINCE
+		yfsd_WinFileTimeNow(in->win_atime);
+		in->win_ctime[0] = in->win_mtime[0] = in->win_atime[0];
+		in->win_ctime[1] = in->win_mtime[1] = in->win_atime[1];
+
+#else
+		in->yst_atime = in->yst_mtime = in->yst_ctime = Y_CURRENT_TIME;
+
+		in->yst_rdev = rdev;
+		in->yst_uid = uid;
+		in->yst_gid = gid;
+#endif
+		in->nDataChunks = 0;
+
+		yaffs_SetObjectName(in, name);
+		in->dirty = 1;
+
+		yaffs_AddObjectToDirectory(parent, in);
+
+		in->myDev = parent->myDev;
+
+		switch (type) {
+		case YAFFS_OBJECT_TYPE_SYMLINK:
+			in->variant.symLinkVariant.alias = str;
+			break;
+		case YAFFS_OBJECT_TYPE_HARDLINK:
+			in->variant.hardLinkVariant.equivalentObject =
+                            equivalentObject;
+                        in->variant.hardLinkVariant.equivalentObjectId =
+                            equivalentObject->objectId;
+                        ylist_add(&in->hardLinks, &equivalentObject->hardLinks);
+                        break;
+                case YAFFS_OBJECT_TYPE_FILE:    
+                case YAFFS_OBJECT_TYPE_DIRECTORY:
+		case YAFFS_OBJECT_TYPE_SPECIAL:
+		case YAFFS_OBJECT_TYPE_UNKNOWN:
+			/* do nothing */
+			break;
+		}
+
+		if (yaffs_UpdateObjectHeader(in, name, 0, 0, 0) < 0) {
+			/* Could not create the object header, fail the creation */
+			yaffs_DestroyObject(in);
+			in = NULL;
+		}
+
+	}
+
+	return in;
+}
+
+yaffs_Object *yaffs_MknodFile(yaffs_Object * parent, const YCHAR * name,
+			      __u32 mode, __u32 uid, __u32 gid)
+{
+	return yaffs_MknodObject(YAFFS_OBJECT_TYPE_FILE, parent, name, mode,
+				 uid, gid, NULL, NULL, 0);
+}
+
+yaffs_Object *yaffs_MknodDirectory(yaffs_Object * parent, const YCHAR * name,
+				   __u32 mode, __u32 uid, __u32 gid)
+{
+	return yaffs_MknodObject(YAFFS_OBJECT_TYPE_DIRECTORY, parent, name,
+				 mode, uid, gid, NULL, NULL, 0);
+}
+
+yaffs_Object *yaffs_MknodSpecial(yaffs_Object * parent, const YCHAR * name,
+				 __u32 mode, __u32 uid, __u32 gid, __u32 rdev)
+{
+	return yaffs_MknodObject(YAFFS_OBJECT_TYPE_SPECIAL, parent, name, mode,
+				 uid, gid, NULL, NULL, rdev);
+}
+
+yaffs_Object *yaffs_MknodSymLink(yaffs_Object * parent, const YCHAR * name,
+				 __u32 mode, __u32 uid, __u32 gid,
+				 const YCHAR * alias)
+{
+	return yaffs_MknodObject(YAFFS_OBJECT_TYPE_SYMLINK, parent, name, mode,
+				 uid, gid, NULL, alias, 0);
+}
+
+/* yaffs_Link returns the object id of the equivalent object.*/
+yaffs_Object *yaffs_Link(yaffs_Object * parent, const YCHAR * name,
+			 yaffs_Object * equivalentObject)
+{
+	/* Get the real object in case we were fed a hard link as an equivalent object */
+	equivalentObject = yaffs_GetEquivalentObject(equivalentObject);
+
+	if (yaffs_MknodObject
+	    (YAFFS_OBJECT_TYPE_HARDLINK, parent, name, 0, 0, 0,
+	     equivalentObject, NULL, 0)) {
+		return equivalentObject;
+	} else {
+		return NULL;
+	}
+
+}
+
+static int yaffs_ChangeObjectName(yaffs_Object * obj, yaffs_Object * newDir,
+				  const YCHAR * newName, int force, int shadows)
+{
+	int unlinkOp;
+	int deleteOp;
+
+	yaffs_Object *existingTarget;
+
+	if (newDir == NULL) {
+		newDir = obj->parent;	/* use the old directory */
+	}
+
+	if (newDir->variantType != YAFFS_OBJECT_TYPE_DIRECTORY) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR
+		   ("tragedy: yaffs_ChangeObjectName: newDir is not a directory"
+		    TENDSTR)));
+		YBUG();
+	}
+	
+	/* TODO: Do we need this different handling for YAFFS2 and YAFFS1?? */
+	if (obj->myDev->isYaffs2) {
+		unlinkOp = (newDir == obj->myDev->unlinkedDir);
+	} else {
+		unlinkOp = (newDir == obj->myDev->unlinkedDir
+			    && obj->variantType == YAFFS_OBJECT_TYPE_FILE);
+	}
+
+	deleteOp = (newDir == obj->myDev->deletedDir);
+
+	existingTarget = yaffs_FindObjectByName(newDir, newName);
+
+	/* If the object is a file going into the unlinked directory, 
+	 *   then it is OK to just stuff it in since duplicate names are allowed.
+	 *   else only proceed if the new name does not exist and if we're putting 
+	 *   it into a directory.
+	 */
+	if ((unlinkOp ||
+	     deleteOp ||
+	     force ||
+	     (shadows > 0) ||
+	     !existingTarget) &&
+	    newDir->variantType == YAFFS_OBJECT_TYPE_DIRECTORY) {
+		yaffs_SetObjectName(obj, newName);
+		obj->dirty = 1;
+
+		yaffs_AddObjectToDirectory(newDir, obj);
+
+		if (unlinkOp)
+			obj->unlinked = 1;
+
+		/* If it is a deletion then we mark it as a shrink for gc purposes. */
+		if (yaffs_UpdateObjectHeader(obj, newName, 0, deleteOp, shadows)>= 0)
+			return YAFFS_OK;
+	}
+
+	return YAFFS_FAIL;
+}
+
+int yaffs_RenameObject(yaffs_Object * oldDir, const YCHAR * oldName,
+		       yaffs_Object * newDir, const YCHAR * newName)
+{
+	yaffs_Object *obj=NULL;
+	yaffs_Object *existingTarget=NULL;
+	int force = 0;
+	
+	
+	if(!oldDir || oldDir->variantType != YAFFS_OBJECT_TYPE_DIRECTORY)
+		YBUG();
+	if(!newDir || newDir->variantType != YAFFS_OBJECT_TYPE_DIRECTORY)
+		YBUG();
+
+#ifdef CONFIG_YAFFS_CASE_INSENSITIVE
+	/* Special case for case insemsitive systems (eg. WinCE).
+	 * While look-up is case insensitive, the name isn't.
+	 * Therefore we might want to change x.txt to X.txt
+	*/
+	if (oldDir == newDir && yaffs_strcmp(oldName, newName) == 0) {
+		force = 1;
+	}
+#endif
+
+	else if (yaffs_strlen(newName) > YAFFS_MAX_NAME_LENGTH)
+	  /* ENAMETOOLONG */
+	  return YAFFS_FAIL;
+
+	obj = yaffs_FindObjectByName(oldDir, oldName);
+
+	if (obj && obj->renameAllowed) {
+
+		/* Now do the handling for an existing target, if there is one */
+
+                existingTarget = yaffs_FindObjectByName(newDir, newName);
+                if (existingTarget &&
+                    existingTarget->variantType == YAFFS_OBJECT_TYPE_DIRECTORY &&
+                    !ylist_empty(&existingTarget->variant.directoryVariant.children)) {
+                        /* There is a target that is a non-empty directory, so we fail */
+                        return YAFFS_FAIL;      /* EEXIST or ENOTEMPTY */
+                } else if (existingTarget && existingTarget != obj) {
+			/* Nuke the target first, using shadowing, 
+			 * but only if it isn't the same object
+			 */
+			yaffs_ChangeObjectName(obj, newDir, newName, force,
+					       existingTarget->objectId);
+			yaffs_UnlinkObject(existingTarget);
+		}
+
+		return yaffs_ChangeObjectName(obj, newDir, newName, 1, 0);
+	}
+	return YAFFS_FAIL;
+}
+
+/*------------------------- Block Management and Page Allocation ----------------*/
+
+static int yaffs_InitialiseBlocks(yaffs_Device * dev)
+{
+	int nBlocks = dev->internalEndBlock - dev->internalStartBlock + 1;
+	
+	dev->blockInfo = NULL;
+	dev->chunkBits = NULL;
+	
+	dev->allocationBlock = -1;	/* force it to get a new one */
+
+	/* If the first allocation strategy fails, thry the alternate one */
+	dev->blockInfo = YMALLOC(nBlocks * sizeof(yaffs_BlockInfo));
+	if(!dev->blockInfo){
+		dev->blockInfo = YMALLOC_ALT(nBlocks * sizeof(yaffs_BlockInfo));
+		dev->blockInfoAlt = 1;
+	}
+	else
+		dev->blockInfoAlt = 0;
+		
+	if(dev->blockInfo){
+	
+		/* Set up dynamic blockinfo stuff. */
+		dev->chunkBitmapStride = (dev->nChunksPerBlock + 7) / 8; /* round up bytes */
+		dev->chunkBits = YMALLOC(dev->chunkBitmapStride * nBlocks);
+		if(!dev->chunkBits){
+			dev->chunkBits = YMALLOC_ALT(dev->chunkBitmapStride * nBlocks);
+			dev->chunkBitsAlt = 1;
+		}
+		else
+			dev->chunkBitsAlt = 0;
+	}
+	
+	if (dev->blockInfo && dev->chunkBits) {
+		memset(dev->blockInfo, 0, nBlocks * sizeof(yaffs_BlockInfo));
+		memset(dev->chunkBits, 0, dev->chunkBitmapStride * nBlocks);
+		return YAFFS_OK;
+	}
+
+	return YAFFS_FAIL;
+
+}
+
+static void yaffs_DeinitialiseBlocks(yaffs_Device * dev)
+{
+	if(dev->blockInfoAlt && dev->blockInfo)
+		YFREE_ALT(dev->blockInfo);
+	else if(dev->blockInfo)
+		YFREE(dev->blockInfo);
+
+	dev->blockInfoAlt = 0;
+
+	dev->blockInfo = NULL;
+	
+	if(dev->chunkBitsAlt && dev->chunkBits)
+		YFREE_ALT(dev->chunkBits);
+	else if(dev->chunkBits)
+		YFREE(dev->chunkBits);
+	dev->chunkBitsAlt = 0;
+	dev->chunkBits = NULL;
+}
+
+static int yaffs_BlockNotDisqualifiedFromGC(yaffs_Device * dev,
+					    yaffs_BlockInfo * bi)
+{
+	int i;
+	__u32 seq;
+	yaffs_BlockInfo *b;
+
+	if (!dev->isYaffs2)
+		return 1;	/* disqualification only applies to yaffs2. */
+
+	if (!bi->hasShrinkHeader)
+		return 1;	/* can gc */
+
+	/* Find the oldest dirty sequence number if we don't know it and save it
+	 * so we don't have to keep recomputing it.
+	 */
+	if (!dev->oldestDirtySequence) {
+		seq = dev->sequenceNumber;
+
+		for (i = dev->internalStartBlock; i <= dev->internalEndBlock;
+		     i++) {
+			b = yaffs_GetBlockInfo(dev, i);
+			if (b->blockState == YAFFS_BLOCK_STATE_FULL &&
+			    (b->pagesInUse - b->softDeletions) <
+			    dev->nChunksPerBlock && b->sequenceNumber < seq) {
+				seq = b->sequenceNumber;
+			}
+		}
+		dev->oldestDirtySequence = seq;
+	}
+
+	/* Can't do gc of this block if there are any blocks older than this one that have
+	 * discarded pages.
+	 */
+	return (bi->sequenceNumber <= dev->oldestDirtySequence);
+
+}
+
+/* FindDiretiestBlock is used to select the dirtiest block (or close enough)
+ * for garbage collection.
+ */
+
+static int yaffs_FindBlockForGarbageCollection(yaffs_Device * dev,
+					       int aggressive)
+{
+
+	int b = dev->currentDirtyChecker;
+
+	int i;
+	int iterations;
+	int dirtiest = -1;
+	int pagesInUse = 0;
+	int prioritised=0;
+	yaffs_BlockInfo *bi;
+	int pendingPrioritisedExist = 0;
+	
+	/* First let's see if we need to grab a prioritised block */
+	if(dev->hasPendingPrioritisedGCs){
+		for(i = dev->internalStartBlock; i < dev->internalEndBlock && !prioritised; i++){
+
+			bi = yaffs_GetBlockInfo(dev, i);
+			//yaffs_VerifyBlock(dev,bi,i);
+			
+			if(bi->gcPrioritise) {
+				pendingPrioritisedExist = 1;
+				if(bi->blockState == YAFFS_BLOCK_STATE_FULL &&
+				   yaffs_BlockNotDisqualifiedFromGC(dev, bi)){
+					pagesInUse = (bi->pagesInUse - bi->softDeletions);
+					dirtiest = i;
+					prioritised = 1;
+					aggressive = 1; /* Fool the non-aggressive skip logiv below */
+				}
+			}
+		}
+		
+		if(!pendingPrioritisedExist) /* None found, so we can clear this */
+			dev->hasPendingPrioritisedGCs = 0;
+	}
+
+	/* If we're doing aggressive GC then we are happy to take a less-dirty block, and
+	 * search harder.
+	 * else (we're doing a leasurely gc), then we only bother to do this if the
+	 * block has only a few pages in use.
+	 */
+
+	dev->nonAggressiveSkip--;
+
+	if (!aggressive && (dev->nonAggressiveSkip > 0)) {
+		return -1;
+	}
+
+	if(!prioritised)
+		pagesInUse =
+	    		(aggressive) ? dev->nChunksPerBlock : YAFFS_PASSIVE_GC_CHUNKS + 1;
+
+	if (aggressive) {
+		iterations =
+		    dev->internalEndBlock - dev->internalStartBlock + 1;
+	} else {
+		iterations =
+		    dev->internalEndBlock - dev->internalStartBlock + 1;
+		iterations = iterations / 16;
+		if (iterations > 200) {
+			iterations = 200;
+		}
+	}
+
+	for (i = 0; i <= iterations && pagesInUse > 0 && !prioritised; i++) {
+		b++;
+		if (b < dev->internalStartBlock || b > dev->internalEndBlock) {
+			b = dev->internalStartBlock;
+		}
+
+		if (b < dev->internalStartBlock || b > dev->internalEndBlock) {
+			T(YAFFS_TRACE_ERROR,
+			  (TSTR("**>> Block %d is not valid" TENDSTR), b));
+			YBUG();
+		}
+
+		bi = yaffs_GetBlockInfo(dev, b);
+
+#if 0
+		if (bi->blockState == YAFFS_BLOCK_STATE_CHECKPOINT) {
+			dirtiest = b;
+			pagesInUse = 0;
+		}
+		else 
+#endif
+
+		if (bi->blockState == YAFFS_BLOCK_STATE_FULL &&
+		       (bi->pagesInUse - bi->softDeletions) < pagesInUse &&
+		        yaffs_BlockNotDisqualifiedFromGC(dev, bi)) {
+			dirtiest = b;
+			pagesInUse = (bi->pagesInUse - bi->softDeletions);
+		}
+	}
+
+	dev->currentDirtyChecker = b;
+
+	if (dirtiest > 0) {
+		T(YAFFS_TRACE_GC,
+		  (TSTR("GC Selected block %d with %d free, prioritised:%d" TENDSTR), dirtiest,
+		   dev->nChunksPerBlock - pagesInUse,prioritised));
+	}
+
+	dev->oldestDirtySequence = 0;
+
+	if (dirtiest > 0) {
+		dev->nonAggressiveSkip = 4;
+	}
+
+	return dirtiest;
+}
+
+static void yaffs_BlockBecameDirty(yaffs_Device * dev, int blockNo)
+{
+	yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev, blockNo);
+
+	int erasedOk = 0;
+
+	/* If the block is still healthy erase it and mark as clean.
+	 * If the block has had a data failure, then retire it.
+	 */
+	 
+	T(YAFFS_TRACE_GC | YAFFS_TRACE_ERASE,
+		(TSTR("yaffs_BlockBecameDirty block %d state %d %s"TENDSTR),
+		blockNo, bi->blockState, (bi->needsRetiring) ? "needs retiring" : ""));
+		
+	bi->blockState = YAFFS_BLOCK_STATE_DIRTY;
+
+	if (!bi->needsRetiring) {
+		yaffs_InvalidateCheckpoint(dev);
+		erasedOk = yaffs_EraseBlockInNAND(dev, blockNo);
+		if (!erasedOk) {
+			dev->nErasureFailures++;
+			T(YAFFS_TRACE_ERROR | YAFFS_TRACE_BAD_BLOCKS,
+			  (TSTR("**>> Erasure failed %d" TENDSTR), blockNo));
+		}
+	}
+
+	if (erasedOk && 
+	    ((yaffs_traceMask & YAFFS_TRACE_ERASE) || !yaffs_SkipVerification(dev))) {
+		int i;
+		for (i = 0; i < dev->nChunksPerBlock; i++) {
+			if (!yaffs_CheckChunkErased
+			    (dev, blockNo * dev->nChunksPerBlock + i)) {
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR
+				   (">>Block %d erasure supposedly OK, but chunk %d not erased"
+				    TENDSTR), blockNo, i));
+			}
+		}
+	}
+
+	if (erasedOk) {
+		/* Clean it up... */
+		bi->blockState = YAFFS_BLOCK_STATE_EMPTY;
+		dev->nErasedBlocks++;
+		bi->pagesInUse = 0;
+		bi->softDeletions = 0;
+		bi->hasShrinkHeader = 0;
+		bi->skipErasedCheck = 1;  /* This is clean, so no need to check */
+		bi->gcPrioritise = 0;
+		yaffs_ClearChunkBits(dev, blockNo);
+
+		T(YAFFS_TRACE_ERASE,
+		  (TSTR("Erased block %d" TENDSTR), blockNo));
+	} else {
+		dev->nFreeChunks -= dev->nChunksPerBlock;	/* We lost a block of free space */
+
+		yaffs_RetireBlock(dev, blockNo);
+		T(YAFFS_TRACE_ERROR | YAFFS_TRACE_BAD_BLOCKS,
+		  (TSTR("**>> Block %d retired" TENDSTR), blockNo));
+	}
+}
+
+static int yaffs_FindBlockForAllocation(yaffs_Device * dev)
+{
+	int i;
+
+	yaffs_BlockInfo *bi;
+
+	if (dev->nErasedBlocks < 1) {
+		/* Hoosterman we've got a problem.
+		 * Can't get space to gc
+		 */
+		T(YAFFS_TRACE_ERROR,
+		  (TSTR("yaffs tragedy: no more erased blocks" TENDSTR)));
+
+		return -1;
+	}
+	
+	/* Find an empty block. */
+
+	for (i = dev->internalStartBlock; i <= dev->internalEndBlock; i++) {
+		dev->allocationBlockFinder++;
+		if (dev->allocationBlockFinder < dev->internalStartBlock
+		    || dev->allocationBlockFinder > dev->internalEndBlock) {
+			dev->allocationBlockFinder = dev->internalStartBlock;
+		}
+
+		bi = yaffs_GetBlockInfo(dev, dev->allocationBlockFinder);
+
+		if (bi->blockState == YAFFS_BLOCK_STATE_EMPTY) {
+			bi->blockState = YAFFS_BLOCK_STATE_ALLOCATING;
+			dev->sequenceNumber++;
+			bi->sequenceNumber = dev->sequenceNumber;
+			dev->nErasedBlocks--;
+			T(YAFFS_TRACE_ALLOCATE,
+			  (TSTR("Allocated block %d, seq  %d, %d left" TENDSTR),
+			   dev->allocationBlockFinder, dev->sequenceNumber,
+			   dev->nErasedBlocks));
+			return dev->allocationBlockFinder;
+		}
+	}
+
+	T(YAFFS_TRACE_ALWAYS,
+	  (TSTR
+	   ("yaffs tragedy: no more erased blocks, but there should have been %d"
+	    TENDSTR), dev->nErasedBlocks));
+
+	return -1;
+}
+
+
+
+static int yaffs_CalcCheckpointBlocksRequired(yaffs_Device *dev)
+{
+	if(!dev->nCheckpointBlocksRequired &&
+	   dev->isYaffs2){
+		/* Not a valid value so recalculate */
+		int nBytes = 0;
+		int nBlocks;
+		int devBlocks = (dev->endBlock - dev->startBlock + 1);
+		int tnodeSize;
+
+		tnodeSize = (dev->tnodeWidth * YAFFS_NTNODES_LEVEL0)/8;
+
+		if(tnodeSize < sizeof(yaffs_Tnode))
+			tnodeSize = sizeof(yaffs_Tnode);
+		
+		nBytes += sizeof(yaffs_CheckpointValidity);
+		nBytes += sizeof(yaffs_CheckpointDevice);
+		nBytes += devBlocks * sizeof(yaffs_BlockInfo);
+		nBytes += devBlocks * dev->chunkBitmapStride;
+		nBytes += (sizeof(yaffs_CheckpointObject) + sizeof(__u32)) * (dev->nObjectsCreated - dev->nFreeObjects);
+		nBytes += (tnodeSize + sizeof(__u32)) * (dev->nTnodesCreated - dev->nFreeTnodes);
+		nBytes += sizeof(yaffs_CheckpointValidity);
+		nBytes += sizeof(__u32); /* checksum*/
+	
+		/* Round up and add 2 blocks to allow for some bad blocks, so add 3 */
+	
+		nBlocks = (nBytes/(dev->nDataBytesPerChunk * dev->nChunksPerBlock)) + 3;
+	
+		dev->nCheckpointBlocksRequired = nBlocks;
+	}
+
+	return dev->nCheckpointBlocksRequired;
+}
+
+// Check if there's space to allocate...
+// Thinks.... do we need top make this ths same as yaffs_GetFreeChunks()?
+static int yaffs_CheckSpaceForAllocation(yaffs_Device * dev)
+{
+	int reservedChunks;
+	int reservedBlocks = dev->nReservedBlocks;
+	int checkpointBlocks;
+	
+	if(dev->isYaffs2){
+		checkpointBlocks =  yaffs_CalcCheckpointBlocksRequired(dev) - 
+				    dev->blocksInCheckpoint;
+		if(checkpointBlocks < 0)
+			checkpointBlocks = 0;
+	} else {
+		checkpointBlocks =0;
+	}
+	
+	reservedChunks = ((reservedBlocks + checkpointBlocks) * dev->nChunksPerBlock);
+	
+	return (dev->nFreeChunks > reservedChunks);
+}
+
+static int yaffs_AllocateChunk(yaffs_Device * dev, int useReserve, yaffs_BlockInfo **blockUsedPtr)
+{
+	int retVal;
+	yaffs_BlockInfo *bi;
+
+	if (dev->allocationBlock < 0) {
+		/* Get next block to allocate off */
+		dev->allocationBlock = yaffs_FindBlockForAllocation(dev);
+		dev->allocationPage = 0;
+	}
+
+	if (!useReserve && !yaffs_CheckSpaceForAllocation(dev)) {
+		/* Not enough space to allocate unless we're allowed to use the reserve. */
+		return -1;
+	}
+
+	if (dev->nErasedBlocks < dev->nReservedBlocks
+	    && dev->allocationPage == 0) {
+		T(YAFFS_TRACE_ALLOCATE, (TSTR("Allocating reserve" TENDSTR)));
+	}
+
+	/* Next page please.... */
+	if (dev->allocationBlock >= 0) {
+		bi = yaffs_GetBlockInfo(dev, dev->allocationBlock);
+
+		retVal = (dev->allocationBlock * dev->nChunksPerBlock) +
+		    dev->allocationPage;
+		bi->pagesInUse++;
+		yaffs_SetChunkBit(dev, dev->allocationBlock,
+				  dev->allocationPage);
+
+		dev->allocationPage++;
+
+		dev->nFreeChunks--;
+
+		/* If the block is full set the state to full */
+		if (dev->allocationPage >= dev->nChunksPerBlock) {
+			bi->blockState = YAFFS_BLOCK_STATE_FULL;
+			dev->allocationBlock = -1;
+		}
+
+		if(blockUsedPtr)
+			*blockUsedPtr = bi;
+			
+		return retVal;
+	}
+	
+	T(YAFFS_TRACE_ERROR,
+	  (TSTR("!!!!!!!!! Allocator out !!!!!!!!!!!!!!!!!" TENDSTR)));
+
+	return -1;
+}
+
+static int yaffs_GetErasedChunks(yaffs_Device * dev)
+{
+	int n;
+
+	n = dev->nErasedBlocks * dev->nChunksPerBlock;
+
+	if (dev->allocationBlock > 0) {
+		n += (dev->nChunksPerBlock - dev->allocationPage);
+	}
+
+	return n;
+
+}
+
+static int yaffs_GarbageCollectBlock(yaffs_Device * dev, int block, int wholeBlock)
+{
+	int oldChunk;
+	int newChunk;
+	int markNAND;
+	int retVal = YAFFS_OK;
+	int cleanups = 0;
+	int i;
+	int isCheckpointBlock;
+	int matchingChunk;
+	int maxCopies;
+
+	int chunksBefore = yaffs_GetErasedChunks(dev);
+	int chunksAfter;
+
+	yaffs_ExtendedTags tags;
+
+	yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev, block);
+
+	yaffs_Object *object;
+
+	isCheckpointBlock = (bi->blockState == YAFFS_BLOCK_STATE_CHECKPOINT);
+	
+	bi->blockState = YAFFS_BLOCK_STATE_COLLECTING;
+
+	T(YAFFS_TRACE_TRACING,
+	  (TSTR("Collecting block %d, in use %d, shrink %d, wholeBlock %d" TENDSTR), 
+	  block,
+	  bi->pagesInUse,
+	  bi->hasShrinkHeader,
+	  wholeBlock));
+
+	/*yaffs_VerifyFreeChunks(dev); */
+
+	bi->hasShrinkHeader = 0;	/* clear the flag so that the block can erase */
+
+	/* Take off the number of soft deleted entries because
+	 * they're going to get really deleted during GC.
+	 */
+	dev->nFreeChunks -= bi->softDeletions;
+
+	dev->isDoingGC = 1;
+
+	if (isCheckpointBlock ||
+	    !yaffs_StillSomeChunkBits(dev, block)) {
+		T(YAFFS_TRACE_TRACING,
+		  (TSTR
+		   ("Collecting block %d that has no chunks in use" TENDSTR),
+		   block));
+		yaffs_BlockBecameDirty(dev, block);
+	} else {
+
+		__u8 *buffer = yaffs_GetTempBuffer(dev, __LINE__);
+		
+		yaffs_VerifyBlock(dev,bi,block);
+
+		maxCopies = (wholeBlock) ? dev->nChunksPerBlock : 10;
+		oldChunk = block * dev->nChunksPerBlock + dev->gcChunk;
+		
+		for ( /* init already done */;
+		     retVal == YAFFS_OK &&
+		     dev->gcChunk < dev->nChunksPerBlock &&
+		     (bi->blockState == YAFFS_BLOCK_STATE_COLLECTING)&&
+		     maxCopies > 0;
+		     dev->gcChunk++, oldChunk++) {
+			if (yaffs_CheckChunkBit(dev, block, dev->gcChunk)) {
+
+				/* This page is in use and might need to be copied off */
+				
+				maxCopies--;
+
+				markNAND = 1;
+
+				yaffs_InitialiseTags(&tags);
+
+				yaffs_ReadChunkWithTagsFromNAND(dev, oldChunk,
+								buffer, &tags);
+
+				object =
+				    yaffs_FindObjectByNumber(dev,
+							     tags.objectId);
+
+				T(YAFFS_TRACE_GC_DETAIL,
+				  (TSTR
+				   ("Collecting chunk in block %d, %d %d %d " TENDSTR),
+				   dev->gcChunk, tags.objectId, tags.chunkId,
+				   tags.byteCount));
+				   
+				if(object && !yaffs_SkipVerification(dev)){
+					if(tags.chunkId == 0)
+						matchingChunk = object->hdrChunk;
+					else if(object->softDeleted)
+						matchingChunk = oldChunk; /* Defeat the test */
+					else
+						matchingChunk = yaffs_FindChunkInFile(object,tags.chunkId,NULL);
+					
+					if(oldChunk != matchingChunk)
+						T(YAFFS_TRACE_ERROR,
+						  (TSTR("gc: page in gc mismatch: %d %d %d %d"TENDSTR),
+						  oldChunk,matchingChunk,tags.objectId, tags.chunkId));
+						
+				}
+
+				if (!object) {
+					T(YAFFS_TRACE_ERROR,
+					  (TSTR
+					   ("page %d in gc has no object: %d %d %d "
+					    TENDSTR), oldChunk,
+					    tags.objectId, tags.chunkId, tags.byteCount));
+				}
+
+				if (object && 
+				    object->deleted &&
+				    object->softDeleted &&
+				    tags.chunkId != 0) {
+					/* Data chunk in a soft deleted file, throw it away
+					 * It's a soft deleted data chunk,
+					 * No need to copy this, just forget about it and 
+					 * fix up the object.
+					 */
+
+					object->nDataChunks--;
+
+					if (object->nDataChunks <= 0) {
+						/* remeber to clean up the object */
+						dev->gcCleanupList[cleanups] =
+						    tags.objectId;
+						cleanups++;
+					}
+					markNAND = 0;
+				} else if (0
+					   /* Todo object && object->deleted && object->nDataChunks == 0 */
+					   ) {
+					/* Deleted object header with no data chunks.
+					 * Can be discarded and the file deleted.
+					 */
+					object->hdrChunk = 0;
+					yaffs_FreeTnode(object->myDev,
+							object->variant.
+							fileVariant.top);
+					object->variant.fileVariant.top = NULL;
+					yaffs_DoGenericObjectDeletion(object);
+
+				} else if (object) {
+					/* It's either a data chunk in a live file or
+					 * an ObjectHeader, so we're interested in it.
+					 * NB Need to keep the ObjectHeaders of deleted files
+					 * until the whole file has been deleted off
+					 */
+					tags.serialNumber++;
+
+					dev->nGCCopies++;
+
+					if (tags.chunkId == 0) {
+						/* It is an object Id,
+						 * We need to nuke the shrinkheader flags first
+						 * We no longer want the shrinkHeader flag since its work is done
+						 * and if it is left in place it will mess up scanning.
+						 */
+
+						yaffs_ObjectHeader *oh;
+						oh = (yaffs_ObjectHeader *)buffer;
+						oh->isShrink = 0;
+						tags.extraIsShrinkHeader = 0;
+						
+						yaffs_VerifyObjectHeader(object,oh,&tags,1);
+					}
+
+					newChunk =
+					    yaffs_WriteNewChunkWithTagsToNAND(dev, buffer, &tags, 1);
+
+					if (newChunk < 0) {
+						retVal = YAFFS_FAIL;
+					} else {
+
+						/* Ok, now fix up the Tnodes etc. */
+
+						if (tags.chunkId == 0) {
+							/* It's a header */
+							object->hdrChunk =  newChunk;
+							object->serial =   tags.serialNumber;
+						} else {
+							/* It's a data chunk */
+							yaffs_PutChunkIntoFile
+							    (object,
+							     tags.chunkId,
+							     newChunk, 0);
+						}
+					}
+				}
+
+				if(retVal == YAFFS_OK)
+					yaffs_DeleteChunk(dev, oldChunk, markNAND, __LINE__);
+
+			}
+		}
+
+		yaffs_ReleaseTempBuffer(dev, buffer, __LINE__);
+
+
+		/* Do any required cleanups */
+		for (i = 0; i < cleanups; i++) {
+			/* Time to delete the file too */
+			object =
+			    yaffs_FindObjectByNumber(dev,
+						     dev->gcCleanupList[i]);
+			if (object) {
+				yaffs_FreeTnode(dev,
+						object->variant.fileVariant.
+						top);
+				object->variant.fileVariant.top = NULL;
+				T(YAFFS_TRACE_GC,
+				  (TSTR
+				   ("yaffs: About to finally delete object %d"
+				    TENDSTR), object->objectId));
+				yaffs_DoGenericObjectDeletion(object);
+				object->myDev->nDeletedFiles--;
+			}
+
+		}
+
+	}
+
+	yaffs_VerifyCollectedBlock(dev,bi,block);
+	  
+	if (chunksBefore >= (chunksAfter = yaffs_GetErasedChunks(dev))) {
+		T(YAFFS_TRACE_GC,
+		  (TSTR
+		   ("gc did not increase free chunks before %d after %d"
+		    TENDSTR), chunksBefore, chunksAfter));
+	}
+
+	/* If the gc completed then clear the current gcBlock so that we find another. */
+	if(bi->blockState != YAFFS_BLOCK_STATE_COLLECTING){
+		dev->gcBlock = -1;
+		dev->gcChunk = 0;
+	}
+	
+	dev->isDoingGC = 0;
+
+	return retVal;
+}
+
+/* New garbage collector
+ * If we're very low on erased blocks then we do aggressive garbage collection
+ * otherwise we do "leasurely" garbage collection.
+ * Aggressive gc looks further (whole array) and will accept less dirty blocks.
+ * Passive gc only inspects smaller areas and will only accept more dirty blocks.
+ *
+ * The idea is to help clear out space in a more spread-out manner.
+ * Dunno if it really does anything useful.
+ */
+static int yaffs_CheckGarbageCollection(yaffs_Device * dev)
+{
+	int block;
+	int aggressive;
+	int gcOk = YAFFS_OK;
+	int maxTries = 0;
+	
+	int checkpointBlockAdjust;
+
+	if (dev->isDoingGC) {
+		/* Bail out so we don't get recursive gc */
+		return YAFFS_OK;
+	}
+	
+	/* This loop should pass the first time.
+	 * We'll only see looping here if the erase of the collected block fails.
+	 */
+
+	do {
+		maxTries++;
+		
+		checkpointBlockAdjust = yaffs_CalcCheckpointBlocksRequired(dev) - dev->blocksInCheckpoint;
+		if(checkpointBlockAdjust < 0)
+			checkpointBlockAdjust = 0;
+
+		if (dev->nErasedBlocks < (dev->nReservedBlocks + checkpointBlockAdjust + 2)) {
+			/* We need a block soon...*/
+			aggressive = 1;
+		} else {
+			/* We're in no hurry */
+			aggressive = 0;
+		}
+
+		if(dev->gcBlock <= 0){
+			dev->gcBlock = yaffs_FindBlockForGarbageCollection(dev, aggressive);
+			dev->gcChunk = 0;
+		}
+		
+		block = dev->gcBlock;
+
+		if (block > 0) {
+			dev->garbageCollections++;
+			if (!aggressive) {
+				dev->passiveGarbageCollections++;
+			}
+
+			T(YAFFS_TRACE_GC,
+			  (TSTR
+			   ("yaffs: GC erasedBlocks %d aggressive %d" TENDSTR),
+			   dev->nErasedBlocks, aggressive));
+
+			gcOk = yaffs_GarbageCollectBlock(dev,block,aggressive);
+		}
+
+		if (dev->nErasedBlocks < (dev->nReservedBlocks) && block > 0) {
+			T(YAFFS_TRACE_GC,
+			  (TSTR
+			   ("yaffs: GC !!!no reclaim!!! erasedBlocks %d after try %d block %d"
+			    TENDSTR), dev->nErasedBlocks, maxTries, block));
+		}
+	} while ((dev->nErasedBlocks < dev->nReservedBlocks) && 
+		 (block > 0) &&
+		 (maxTries < 2));
+
+	return aggressive ? gcOk : YAFFS_OK;
+}
+
+/*-------------------------  TAGS --------------------------------*/
+
+static int yaffs_TagsMatch(const yaffs_ExtendedTags * tags, int objectId,
+			   int chunkInObject)
+{
+	return (tags->chunkId == chunkInObject &&
+		tags->objectId == objectId && !tags->chunkDeleted) ? 1 : 0;
+
+}
+
+
+/*-------------------- Data file manipulation -----------------*/
+
+static int yaffs_FindChunkInFile(yaffs_Object * in, int chunkInInode,
+				 yaffs_ExtendedTags * tags)
+{
+	/*Get the Tnode, then get the level 0 offset chunk offset */
+	yaffs_Tnode *tn;
+	int theChunk = -1;
+	yaffs_ExtendedTags localTags;
+	int retVal = -1;
+
+	yaffs_Device *dev = in->myDev;
+
+	if (!tags) {
+		/* Passed a NULL, so use our own tags space */
+		tags = &localTags;
+	}
+
+	tn = yaffs_FindLevel0Tnode(dev, &in->variant.fileVariant, chunkInInode);
+
+	if (tn) {
+		theChunk = yaffs_GetChunkGroupBase(dev,tn,chunkInInode);
+
+		retVal =
+		    yaffs_FindChunkInGroup(dev, theChunk, tags, in->objectId,
+					   chunkInInode);
+	}
+	return retVal;
+}
+
+static int yaffs_FindAndDeleteChunkInFile(yaffs_Object * in, int chunkInInode,
+					  yaffs_ExtendedTags * tags)
+{
+	/* Get the Tnode, then get the level 0 offset chunk offset */
+	yaffs_Tnode *tn;
+	int theChunk = -1;
+	yaffs_ExtendedTags localTags;
+
+	yaffs_Device *dev = in->myDev;
+	int retVal = -1;
+
+	if (!tags) {
+		/* Passed a NULL, so use our own tags space */
+		tags = &localTags;
+	}
+
+	tn = yaffs_FindLevel0Tnode(dev, &in->variant.fileVariant, chunkInInode);
+
+	if (tn) {
+
+		theChunk = yaffs_GetChunkGroupBase(dev,tn,chunkInInode);
+
+		retVal =
+		    yaffs_FindChunkInGroup(dev, theChunk, tags, in->objectId,
+					   chunkInInode);
+
+		/* Delete the entry in the filestructure (if found) */
+		if (retVal != -1) {
+			yaffs_PutLevel0Tnode(dev,tn,chunkInInode,0);
+		}
+	} else {
+		/*T(("No level 0 found for %d\n", chunkInInode)); */
+	}
+
+	if (retVal == -1) {
+		/* T(("Could not find %d to delete\n",chunkInInode)); */
+	}
+	return retVal;
+}
+
+#ifdef YAFFS_PARANOID
+
+static int yaffs_CheckFileSanity(yaffs_Object * in)
+{
+	int chunk;
+	int nChunks;
+	int fSize;
+	int failed = 0;
+	int objId;
+	yaffs_Tnode *tn;
+	yaffs_Tags localTags;
+	yaffs_Tags *tags = &localTags;
+	int theChunk;
+	int chunkDeleted;
+
+	if (in->variantType != YAFFS_OBJECT_TYPE_FILE) {
+		/* T(("Object not a file\n")); */
+		return YAFFS_FAIL;
+	}
+
+	objId = in->objectId;
+	fSize = in->variant.fileVariant.fileSize;
+	nChunks =
+	    (fSize + in->myDev->nDataBytesPerChunk - 1) / in->myDev->nDataBytesPerChunk;
+
+	for (chunk = 1; chunk <= nChunks; chunk++) {
+		tn = yaffs_FindLevel0Tnode(in->myDev, &in->variant.fileVariant,
+					   chunk);
+
+		if (tn) {
+
+			theChunk = yaffs_GetChunkGroupBase(dev,tn,chunk);
+
+			if (yaffs_CheckChunkBits
+			    (dev, theChunk / dev->nChunksPerBlock,
+			     theChunk % dev->nChunksPerBlock)) {
+
+				yaffs_ReadChunkTagsFromNAND(in->myDev, theChunk,
+							    tags,
+							    &chunkDeleted);
+				if (yaffs_TagsMatch
+				    (tags, in->objectId, chunk, chunkDeleted)) {
+					/* found it; */
+
+				}
+			} else {
+
+				failed = 1;
+			}
+
+		} else {
+			/* T(("No level 0 found for %d\n", chunk)); */
+		}
+	}
+
+	return failed ? YAFFS_FAIL : YAFFS_OK;
+}
+
+#endif
+
+static int yaffs_PutChunkIntoFile(yaffs_Object * in, int chunkInInode,
+				  int chunkInNAND, int inScan)
+{
+	/* NB inScan is zero unless scanning. 
+	 * For forward scanning, inScan is > 0; 
+	 * for backward scanning inScan is < 0
+	 */
+	 
+	yaffs_Tnode *tn;
+	yaffs_Device *dev = in->myDev;
+	int existingChunk;
+	yaffs_ExtendedTags existingTags;
+	yaffs_ExtendedTags newTags;
+	unsigned existingSerial, newSerial;
+
+	if (in->variantType != YAFFS_OBJECT_TYPE_FILE) {
+		/* Just ignore an attempt at putting a chunk into a non-file during scanning
+		 * If it is not during Scanning then something went wrong!
+		 */
+		if (!inScan) {
+			T(YAFFS_TRACE_ERROR,
+			  (TSTR
+			   ("yaffs tragedy:attempt to put data chunk into a non-file"
+			    TENDSTR)));
+			YBUG();
+		}
+
+		yaffs_DeleteChunk(dev, chunkInNAND, 1, __LINE__);
+		return YAFFS_OK;
+	}
+
+	tn = yaffs_AddOrFindLevel0Tnode(dev, 
+					&in->variant.fileVariant,
+					chunkInInode,
+					NULL);
+	if (!tn) {
+		return YAFFS_FAIL;
+	}
+
+	existingChunk = yaffs_GetChunkGroupBase(dev,tn,chunkInInode);
+
+	if (inScan != 0) {
+		/* If we're scanning then we need to test for duplicates
+		 * NB This does not need to be efficient since it should only ever 
+		 * happen when the power fails during a write, then only one
+		 * chunk should ever be affected.
+		 *
+		 * Correction for YAFFS2: This could happen quite a lot and we need to think about efficiency! TODO
+		 * Update: For backward scanning we don't need to re-read tags so this is quite cheap.
+		 */
+
+		if (existingChunk > 0) {
+			/* NB Right now existing chunk will not be real chunkId if the device >= 32MB
+			 *    thus we have to do a FindChunkInFile to get the real chunk id.
+			 *
+			 * We have a duplicate now we need to decide which one to use:
+			 *
+			 * Backwards scanning YAFFS2: The old one is what we use, dump the new one.
+			 * Forward scanning YAFFS2: The new one is what we use, dump the old one.
+			 * YAFFS1: Get both sets of tags and compare serial numbers.
+			 */
+
+			if (inScan > 0) {
+				/* Only do this for forward scanning */
+				yaffs_ReadChunkWithTagsFromNAND(dev,
+								chunkInNAND,
+								NULL, &newTags);
+
+				/* Do a proper find */
+				existingChunk =
+				    yaffs_FindChunkInFile(in, chunkInInode,
+							  &existingTags);
+			}
+
+			if (existingChunk <= 0) {
+				/*Hoosterman - how did this happen? */
+
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR
+				   ("yaffs tragedy: existing chunk < 0 in scan"
+				    TENDSTR)));
+
+			}
+
+			/* NB The deleted flags should be false, otherwise the chunks will 
+			 * not be loaded during a scan
+			 */
+
+			if(inScan > 0) {
+				newSerial = newTags.serialNumber;
+				existingSerial = existingTags.serialNumber;
+			}
+
+			if ((inScan > 0) &&
+			    (in->myDev->isYaffs2 ||
+			     existingChunk <= 0 ||
+			     ((existingSerial + 1) & 3) == newSerial)) {
+				/* Forward scanning.                            
+				 * Use new
+				 * Delete the old one and drop through to update the tnode
+				 */
+				yaffs_DeleteChunk(dev, existingChunk, 1,
+						  __LINE__);
+			} else {
+				/* Backward scanning or we want to use the existing one
+				 * Use existing.
+				 * Delete the new one and return early so that the tnode isn't changed
+				 */
+				yaffs_DeleteChunk(dev, chunkInNAND, 1,
+						  __LINE__);
+				return YAFFS_OK;
+			}
+		}
+
+	}
+
+	if (existingChunk == 0) {
+		in->nDataChunks++;
+	}
+
+	yaffs_PutLevel0Tnode(dev,tn,chunkInInode,chunkInNAND);
+
+	return YAFFS_OK;
+}
+
+static int yaffs_ReadChunkDataFromObject(yaffs_Object * in, int chunkInInode,
+					 __u8 * buffer)
+{
+	int chunkInNAND = yaffs_FindChunkInFile(in, chunkInInode, NULL);
+
+	if (chunkInNAND >= 0) {
+		return yaffs_ReadChunkWithTagsFromNAND(in->myDev, chunkInNAND,
+						       buffer,NULL);
+	} else {
+		T(YAFFS_TRACE_NANDACCESS,
+		  (TSTR("Chunk %d not found zero instead" TENDSTR),
+		   chunkInNAND));
+		/* get sane (zero) data if you read a hole */
+		memset(buffer, 0, in->myDev->nDataBytesPerChunk);	
+		return 0;
+	}
+
+}
+
+void yaffs_DeleteChunk(yaffs_Device * dev, int chunkId, int markNAND, int lyn)
+{
+	int block;
+	int page;
+	yaffs_ExtendedTags tags;
+	yaffs_BlockInfo *bi;
+
+	if (chunkId <= 0)
+		return;
+		
+
+	dev->nDeletions++;
+	block = chunkId / dev->nChunksPerBlock;
+	page = chunkId % dev->nChunksPerBlock;
+
+
+	if(!yaffs_CheckChunkBit(dev,block,page))
+		T(YAFFS_TRACE_VERIFY,
+		 	(TSTR("Deleting invalid chunk %d"TENDSTR),
+		 	 chunkId));
+
+	bi = yaffs_GetBlockInfo(dev, block);
+
+	T(YAFFS_TRACE_DELETION,
+	  (TSTR("line %d delete of chunk %d" TENDSTR), lyn, chunkId));
+
+	if (markNAND &&
+	    bi->blockState != YAFFS_BLOCK_STATE_COLLECTING && !dev->isYaffs2) {
+
+		yaffs_InitialiseTags(&tags);
+
+		tags.chunkDeleted = 1;
+
+		yaffs_WriteChunkWithTagsToNAND(dev, chunkId, NULL, &tags);
+		yaffs_HandleUpdateChunk(dev, chunkId, &tags);
+	} else {
+		dev->nUnmarkedDeletions++;
+	}
+
+	/* Pull out of the management area.
+	 * If the whole block became dirty, this will kick off an erasure.
+	 */
+	if (bi->blockState == YAFFS_BLOCK_STATE_ALLOCATING ||
+	    bi->blockState == YAFFS_BLOCK_STATE_FULL ||
+	    bi->blockState == YAFFS_BLOCK_STATE_NEEDS_SCANNING ||
+	    bi->blockState == YAFFS_BLOCK_STATE_COLLECTING) {
+		dev->nFreeChunks++;
+
+		yaffs_ClearChunkBit(dev, block, page);
+
+		bi->pagesInUse--;
+
+		if (bi->pagesInUse == 0 &&
+		    !bi->hasShrinkHeader &&
+		    bi->blockState != YAFFS_BLOCK_STATE_ALLOCATING &&
+		    bi->blockState != YAFFS_BLOCK_STATE_NEEDS_SCANNING) {
+			yaffs_BlockBecameDirty(dev, block);
+		}
+
+	} else {
+		/* T(("Bad news deleting chunk %d\n",chunkId)); */
+	}
+
+}
+
+static int yaffs_WriteChunkDataToObject(yaffs_Object * in, int chunkInInode,
+					const __u8 * buffer, int nBytes,
+					int useReserve)
+{
+	/* Find old chunk Need to do this to get serial number
+	 * Write new one and patch into tree.
+	 * Invalidate old tags.
+	 */
+
+	int prevChunkId;
+	yaffs_ExtendedTags prevTags;
+
+	int newChunkId;
+	yaffs_ExtendedTags newTags;
+
+	yaffs_Device *dev = in->myDev;
+
+	yaffs_CheckGarbageCollection(dev);
+
+	/* Get the previous chunk at this location in the file if it exists */
+	prevChunkId = yaffs_FindChunkInFile(in, chunkInInode, &prevTags);
+
+	/* Set up new tags */
+	yaffs_InitialiseTags(&newTags);
+
+	newTags.chunkId = chunkInInode;
+	newTags.objectId = in->objectId;
+	newTags.serialNumber =
+	    (prevChunkId >= 0) ? prevTags.serialNumber + 1 : 1;
+	newTags.byteCount = nBytes;
+	
+	if(nBytes < 1 || nBytes > dev->totalBytesPerChunk){
+	  T(YAFFS_TRACE_ERROR,
+	  (TSTR("Writing %d bytes to chunk!!!!!!!!!" TENDSTR), nBytes));
+	  YBUG();
+     }
+	
+	
+
+	newChunkId =
+	    yaffs_WriteNewChunkWithTagsToNAND(dev, buffer, &newTags,
+					      useReserve);
+
+	if (newChunkId >= 0) {
+		yaffs_PutChunkIntoFile(in, chunkInInode, newChunkId, 0);
+
+		if (prevChunkId >= 0) {
+			yaffs_DeleteChunk(dev, prevChunkId, 1, __LINE__);
+
+		}
+
+		yaffs_CheckFileSanity(in);
+	}
+	return newChunkId;
+
+}
+
+/* UpdateObjectHeader updates the header on NAND for an object.
+ * If name is not NULL, then that new name is used.
+ */
+int yaffs_UpdateObjectHeader(yaffs_Object * in, const YCHAR * name, int force,
+			     int isShrink, int shadows)
+{
+
+	yaffs_BlockInfo *bi;
+
+	yaffs_Device *dev = in->myDev;
+
+	int prevChunkId;
+	int retVal = 0;
+	int result = 0;
+
+	int newChunkId;
+	yaffs_ExtendedTags newTags;
+	yaffs_ExtendedTags oldTags;
+
+	__u8 *buffer = NULL;
+	YCHAR oldName[YAFFS_MAX_NAME_LENGTH + 1];
+
+        yaffs_ObjectHeader *oh = NULL;
+        
+        yaffs_strcpy(oldName,_Y("silly old name"));
+
+
+	if (!in->fake || 
+	    in == dev->rootDir || /* The rootDir should also be saved */
+	    force) {
+
+		yaffs_CheckGarbageCollection(dev);
+		yaffs_CheckObjectDetailsLoaded(in);
+
+		buffer = yaffs_GetTempBuffer(in->myDev, __LINE__);
+		oh = (yaffs_ObjectHeader *) buffer;
+
+		prevChunkId = in->hdrChunk;
+
+		if (prevChunkId > 0) {
+			result = yaffs_ReadChunkWithTagsFromNAND(dev, prevChunkId,
+							buffer, &oldTags);
+			
+			yaffs_VerifyObjectHeader(in,oh,&oldTags,0);
+										
+			memcpy(oldName, oh->name, sizeof(oh->name));
+		}
+
+		memset(buffer, 0xFF, dev->nDataBytesPerChunk);
+
+		oh->type = in->variantType;
+		oh->yst_mode = in->yst_mode;
+		oh->shadowsObject = oh->inbandShadowsObject = shadows;
+
+#ifdef CONFIG_YAFFS_WINCE
+		oh->win_atime[0] = in->win_atime[0];
+		oh->win_ctime[0] = in->win_ctime[0];
+		oh->win_mtime[0] = in->win_mtime[0];
+		oh->win_atime[1] = in->win_atime[1];
+		oh->win_ctime[1] = in->win_ctime[1];
+		oh->win_mtime[1] = in->win_mtime[1];
+#else
+		oh->yst_uid = in->yst_uid;
+		oh->yst_gid = in->yst_gid;
+		oh->yst_atime = in->yst_atime;
+		oh->yst_mtime = in->yst_mtime;
+		oh->yst_ctime = in->yst_ctime;
+		oh->yst_rdev = in->yst_rdev;
+#endif
+		if (in->parent) {
+			oh->parentObjectId = in->parent->objectId;
+		} else {
+			oh->parentObjectId = 0;
+		}
+
+		if (name && *name) {
+			memset(oh->name, 0, sizeof(oh->name));
+			yaffs_strncpy(oh->name, name, YAFFS_MAX_NAME_LENGTH);
+		} else if (prevChunkId>=0) {
+			memcpy(oh->name, oldName, sizeof(oh->name));
+		} else {
+			memset(oh->name, 0, sizeof(oh->name));
+		}
+
+		oh->isShrink = isShrink;
+
+		switch (in->variantType) {
+		case YAFFS_OBJECT_TYPE_UNKNOWN:
+			/* Should not happen */
+			break;
+		case YAFFS_OBJECT_TYPE_FILE:
+			oh->fileSize =
+			    (oh->parentObjectId == YAFFS_OBJECTID_DELETED
+			     || oh->parentObjectId ==
+			     YAFFS_OBJECTID_UNLINKED) ? 0 : in->variant.
+			    fileVariant.fileSize;
+			break;
+		case YAFFS_OBJECT_TYPE_HARDLINK:
+			oh->equivalentObjectId =
+			    in->variant.hardLinkVariant.equivalentObjectId;
+			break;
+		case YAFFS_OBJECT_TYPE_SPECIAL:
+			/* Do nothing */
+			break;
+		case YAFFS_OBJECT_TYPE_DIRECTORY:
+			/* Do nothing */
+			break;
+		case YAFFS_OBJECT_TYPE_SYMLINK:
+			yaffs_strncpy(oh->alias,
+				      in->variant.symLinkVariant.alias,
+				      YAFFS_MAX_ALIAS_LENGTH);
+			oh->alias[YAFFS_MAX_ALIAS_LENGTH] = 0;
+			break;
+		}
+
+		/* Tags */
+		yaffs_InitialiseTags(&newTags);
+		in->serial++;
+		newTags.chunkId = 0;
+		newTags.objectId = in->objectId;
+		newTags.serialNumber = in->serial;
+
+		/* Add extra info for file header */
+
+		newTags.extraHeaderInfoAvailable = 1;
+		newTags.extraParentObjectId = oh->parentObjectId;
+		newTags.extraFileLength = oh->fileSize;
+		newTags.extraIsShrinkHeader = oh->isShrink;
+		newTags.extraEquivalentObjectId = oh->equivalentObjectId;
+		newTags.extraShadows = (oh->shadowsObject > 0) ? 1 : 0;
+		newTags.extraObjectType = in->variantType;
+
+		yaffs_VerifyObjectHeader(in,oh,&newTags,1);
+
+		/* Create new chunk in NAND */
+		newChunkId =
+		    yaffs_WriteNewChunkWithTagsToNAND(dev, buffer, &newTags,
+						      (prevChunkId >= 0) ? 1 : 0);
+
+		if (newChunkId >= 0) {
+
+			in->hdrChunk = newChunkId;
+
+			if (prevChunkId >= 0) {
+				yaffs_DeleteChunk(dev, prevChunkId, 1,
+						  __LINE__);
+			}
+
+			if(!yaffs_ObjectHasCachedWriteData(in))
+				in->dirty = 0;
+
+			/* If this was a shrink, then mark the block that the chunk lives on */
+			if (isShrink) {
+				bi = yaffs_GetBlockInfo(in->myDev,
+							newChunkId /in->myDev->	nChunksPerBlock);
+				bi->hasShrinkHeader = 1;
+			}
+
+		}
+
+		retVal = newChunkId;
+
+	}
+
+	if (buffer)
+		yaffs_ReleaseTempBuffer(dev, buffer, __LINE__);
+
+	return retVal;
+}
+
+/*------------------------ Short Operations Cache ----------------------------------------
+ *   In many situations where there is no high level buffering (eg WinCE) a lot of
+ *   reads might be short sequential reads, and a lot of writes may be short 
+ *   sequential writes. eg. scanning/writing a jpeg file.
+ *   In these cases, a short read/write cache can provide a huge perfomance benefit 
+ *   with dumb-as-a-rock code.
+ *   In Linux, the page cache provides read buffering aand the short op cache provides write 
+ *   buffering.
+ *
+ *   There are a limited number (~10) of cache chunks per device so that we don't
+ *   need a very intelligent search.
+ */
+
+static int yaffs_ObjectHasCachedWriteData(yaffs_Object *obj)
+{
+	yaffs_Device *dev = obj->myDev;
+	int i;
+	yaffs_ChunkCache *cache;
+	int nCaches = obj->myDev->nShortOpCaches;
+	
+	for(i = 0; i < nCaches; i++){
+		cache = &dev->srCache[i];
+		if (cache->object == obj &&
+		    cache->dirty)
+			return 1;
+	}
+	
+	return 0;
+}
+
+
+static void yaffs_FlushFilesChunkCache(yaffs_Object * obj)
+{
+	yaffs_Device *dev = obj->myDev;
+	int lowest = -99;	/* Stop compiler whining. */
+	int i;
+	yaffs_ChunkCache *cache;
+	int chunkWritten = 0;
+	int nCaches = obj->myDev->nShortOpCaches;
+
+	if (nCaches > 0) {
+		do {
+			cache = NULL;
+
+			/* Find the dirty cache for this object with the lowest chunk id. */
+			for (i = 0; i < nCaches; i++) {
+				if (dev->srCache[i].object == obj &&
+				    dev->srCache[i].dirty) {
+					if (!cache
+					    || dev->srCache[i].chunkId <
+					    lowest) {
+						cache = &dev->srCache[i];
+						lowest = cache->chunkId;
+					}
+				}
+			}
+
+			if (cache && !cache->locked) {
+				/* Write it out and free it up */
+
+				chunkWritten =
+				    yaffs_WriteChunkDataToObject(cache->object,
+								 cache->chunkId,
+								 cache->data,
+								 cache->nBytes,
+								 1);
+				cache->dirty = 0;
+				cache->object = NULL;
+			}
+
+		} while (cache && chunkWritten > 0);
+
+		if (cache) {
+			/* Hoosterman, disk full while writing cache out. */
+			T(YAFFS_TRACE_ERROR,
+			  (TSTR("yaffs tragedy: no space during cache write" TENDSTR)));
+
+		}
+	}
+
+}
+
+/*yaffs_FlushEntireDeviceCache(dev)
+ *
+ *
+ */
+
+void yaffs_FlushEntireDeviceCache(yaffs_Device *dev)
+{
+	yaffs_Object *obj;
+	int nCaches = dev->nShortOpCaches;
+	int i;
+	
+	/* Find a dirty object in the cache and flush it...
+	 * until there are no further dirty objects.
+	 */
+	do {
+		obj = NULL;
+		for( i = 0; i < nCaches && !obj; i++) {
+			if (dev->srCache[i].object &&
+			    dev->srCache[i].dirty)
+				obj = dev->srCache[i].object;
+			    
+		}
+		if(obj)
+			yaffs_FlushFilesChunkCache(obj);
+			
+	} while(obj);
+	
+}
+
+
+/* Grab us a cache chunk for use.
+ * First look for an empty one. 
+ * Then look for the least recently used non-dirty one.
+ * Then look for the least recently used dirty one...., flush and look again.
+ */
+static yaffs_ChunkCache *yaffs_GrabChunkCacheWorker(yaffs_Device * dev)
+{
+	int i;
+
+	if (dev->nShortOpCaches > 0) {
+		for (i = 0; i < dev->nShortOpCaches; i++) {
+			if (!dev->srCache[i].object) 
+				return &dev->srCache[i];
+		}
+	}
+
+	return NULL;
+}
+
+static yaffs_ChunkCache *yaffs_GrabChunkCache(yaffs_Device * dev)
+{
+	yaffs_ChunkCache *cache;
+	yaffs_Object *theObj;
+	int usage;
+	int i;
+	int pushout;
+
+	if (dev->nShortOpCaches > 0) {
+		/* Try find a non-dirty one... */
+
+		cache = yaffs_GrabChunkCacheWorker(dev);
+
+		if (!cache) {
+			/* They were all dirty, find the last recently used object and flush
+			 * its cache, then  find again.
+			 * NB what's here is not very accurate, we actually flush the object
+			 * the last recently used page.
+			 */
+
+			/* With locking we can't assume we can use entry zero */
+
+			theObj = NULL;
+			usage = -1;
+			cache = NULL;
+			pushout = -1;
+
+			for (i = 0; i < dev->nShortOpCaches; i++) {
+				if (dev->srCache[i].object &&
+				    !dev->srCache[i].locked &&
+				    (dev->srCache[i].lastUse < usage || !cache))
+				{
+					usage = dev->srCache[i].lastUse;
+					theObj = dev->srCache[i].object;
+					cache = &dev->srCache[i];
+					pushout = i;
+				}
+			}
+
+			if (!cache || cache->dirty) {
+				/* Flush and try again */
+				yaffs_FlushFilesChunkCache(theObj);
+				cache = yaffs_GrabChunkCacheWorker(dev);
+			}
+
+		}
+		return cache;
+	} else
+		return NULL;
+
+}
+
+/* Find a cached chunk */
+static yaffs_ChunkCache *yaffs_FindChunkCache(const yaffs_Object * obj,
+					      int chunkId)
+{
+	yaffs_Device *dev = obj->myDev;
+	int i;
+	if (dev->nShortOpCaches > 0) {
+		for (i = 0; i < dev->nShortOpCaches; i++) {
+			if (dev->srCache[i].object == obj &&
+			    dev->srCache[i].chunkId == chunkId) {
+				dev->cacheHits++;
+
+				return &dev->srCache[i];
+			}
+		}
+	}
+	return NULL;
+}
+
+/* Mark the chunk for the least recently used algorithym */
+static void yaffs_UseChunkCache(yaffs_Device * dev, yaffs_ChunkCache * cache,
+				int isAWrite)
+{
+
+	if (dev->nShortOpCaches > 0) {
+		if (dev->srLastUse < 0 || dev->srLastUse > 100000000) {
+			/* Reset the cache usages */
+			int i;
+			for (i = 1; i < dev->nShortOpCaches; i++) {
+				dev->srCache[i].lastUse = 0;
+			}
+			dev->srLastUse = 0;
+		}
+
+		dev->srLastUse++;
+
+		cache->lastUse = dev->srLastUse;
+
+		if (isAWrite) {
+			cache->dirty = 1;
+		}
+	}
+}
+
+/* Invalidate a single cache page.
+ * Do this when a whole page gets written,
+ * ie the short cache for this page is no longer valid.
+ */
+static void yaffs_InvalidateChunkCache(yaffs_Object * object, int chunkId)
+{
+	if (object->myDev->nShortOpCaches > 0) {
+		yaffs_ChunkCache *cache = yaffs_FindChunkCache(object, chunkId);
+
+		if (cache) {
+			cache->object = NULL;
+		}
+	}
+}
+
+/* Invalidate all the cache pages associated with this object
+ * Do this whenever ther file is deleted or resized.
+ */
+static void yaffs_InvalidateWholeChunkCache(yaffs_Object * in)
+{
+	int i;
+	yaffs_Device *dev = in->myDev;
+
+	if (dev->nShortOpCaches > 0) {
+		/* Invalidate it. */
+		for (i = 0; i < dev->nShortOpCaches; i++) {
+			if (dev->srCache[i].object == in) {
+				dev->srCache[i].object = NULL;
+			}
+		}
+	}
+}
+
+/*--------------------- Checkpointing --------------------*/
+
+
+static int yaffs_WriteCheckpointValidityMarker(yaffs_Device *dev,int head)
+{
+	yaffs_CheckpointValidity cp;
+	
+	memset(&cp,0,sizeof(cp));
+	
+	cp.structType = sizeof(cp);
+	cp.magic = YAFFS_MAGIC;
+	cp.version = YAFFS_CHECKPOINT_VERSION;
+	cp.head = (head) ? 1 : 0;
+	
+	return (yaffs_CheckpointWrite(dev,&cp,sizeof(cp)) == sizeof(cp))?
+		1 : 0;
+}
+
+static int yaffs_ReadCheckpointValidityMarker(yaffs_Device *dev, int head)
+{
+	yaffs_CheckpointValidity cp;
+	int ok;
+	
+	ok = (yaffs_CheckpointRead(dev,&cp,sizeof(cp)) == sizeof(cp));
+	
+	if(ok)
+		ok = (cp.structType == sizeof(cp)) &&
+		     (cp.magic == YAFFS_MAGIC) &&
+		     (cp.version == YAFFS_CHECKPOINT_VERSION) &&
+		     (cp.head == ((head) ? 1 : 0));
+	return ok ? 1 : 0;
+}
+
+static void yaffs_DeviceToCheckpointDevice(yaffs_CheckpointDevice *cp, 
+					   yaffs_Device *dev)
+{
+	cp->nErasedBlocks = dev->nErasedBlocks;
+	cp->allocationBlock = dev->allocationBlock;
+	cp->allocationPage = dev->allocationPage;
+	cp->nFreeChunks = dev->nFreeChunks;
+	
+	cp->nDeletedFiles = dev->nDeletedFiles;
+	cp->nUnlinkedFiles = dev->nUnlinkedFiles;
+	cp->nBackgroundDeletions = dev->nBackgroundDeletions;
+	cp->sequenceNumber = dev->sequenceNumber;
+	cp->oldestDirtySequence = dev->oldestDirtySequence;
+	
+}
+
+static void yaffs_CheckpointDeviceToDevice(yaffs_Device *dev,
+					   yaffs_CheckpointDevice *cp)
+{
+	dev->nErasedBlocks = cp->nErasedBlocks;
+	dev->allocationBlock = cp->allocationBlock;
+	dev->allocationPage = cp->allocationPage;
+	dev->nFreeChunks = cp->nFreeChunks;
+	
+	dev->nDeletedFiles = cp->nDeletedFiles;
+	dev->nUnlinkedFiles = cp->nUnlinkedFiles;
+	dev->nBackgroundDeletions = cp->nBackgroundDeletions;
+	dev->sequenceNumber = cp->sequenceNumber;
+	dev->oldestDirtySequence = cp->oldestDirtySequence;
+}
+
+
+static int yaffs_WriteCheckpointDevice(yaffs_Device *dev)
+{
+	yaffs_CheckpointDevice cp;
+	__u32 nBytes;
+	__u32 nBlocks = (dev->internalEndBlock - dev->internalStartBlock + 1);
+
+	int ok;
+		
+	/* Write device runtime values*/
+	yaffs_DeviceToCheckpointDevice(&cp,dev);
+	cp.structType = sizeof(cp);
+	
+	ok = (yaffs_CheckpointWrite(dev,&cp,sizeof(cp)) == sizeof(cp));
+	
+	/* Write block info */
+	if(ok) {
+		nBytes = nBlocks * sizeof(yaffs_BlockInfo);
+		ok = (yaffs_CheckpointWrite(dev,dev->blockInfo,nBytes) == nBytes);
+	}
+		
+	/* Write chunk bits */		
+	if(ok) {
+		nBytes = nBlocks * dev->chunkBitmapStride;
+		ok = (yaffs_CheckpointWrite(dev,dev->chunkBits,nBytes) == nBytes);
+	}
+	return	 ok ? 1 : 0;
+
+}
+
+static int yaffs_ReadCheckpointDevice(yaffs_Device *dev)
+{
+	yaffs_CheckpointDevice cp;
+	__u32 nBytes;
+	__u32 nBlocks = (dev->internalEndBlock - dev->internalStartBlock + 1);
+
+	int ok;	
+	
+	ok = (yaffs_CheckpointRead(dev,&cp,sizeof(cp)) == sizeof(cp));
+	if(!ok)
+		return 0;
+		
+	if(cp.structType != sizeof(cp))
+		return 0;
+		
+	
+	yaffs_CheckpointDeviceToDevice(dev,&cp);
+	
+	nBytes = nBlocks * sizeof(yaffs_BlockInfo);
+	
+	ok = (yaffs_CheckpointRead(dev,dev->blockInfo,nBytes) == nBytes);
+	
+	if(!ok)
+		return 0;
+	nBytes = nBlocks * dev->chunkBitmapStride;
+	
+	ok = (yaffs_CheckpointRead(dev,dev->chunkBits,nBytes) == nBytes);
+	
+	return ok ? 1 : 0;
+}
+
+static void yaffs_ObjectToCheckpointObject(yaffs_CheckpointObject *cp,
+					   yaffs_Object *obj)
+{
+
+	cp->objectId = obj->objectId;
+	cp->parentId = (obj->parent) ? obj->parent->objectId : 0;
+	cp->hdrChunk = obj->hdrChunk;
+	cp->variantType = obj->variantType;
+	cp->deleted = obj->deleted;
+	cp->softDeleted = obj->softDeleted;
+	cp->unlinked = obj->unlinked;
+	cp->fake = obj->fake;
+	cp->renameAllowed = obj->renameAllowed;
+	cp->unlinkAllowed = obj->unlinkAllowed;
+	cp->serial = obj->serial;
+	cp->nDataChunks = obj->nDataChunks;
+	
+	if(obj->variantType == YAFFS_OBJECT_TYPE_FILE)
+		cp->fileSizeOrEquivalentObjectId = obj->variant.fileVariant.fileSize;
+	else if(obj->variantType == YAFFS_OBJECT_TYPE_HARDLINK)
+		cp->fileSizeOrEquivalentObjectId = obj->variant.hardLinkVariant.equivalentObjectId;
+}
+
+static int yaffs_CheckpointObjectToObject( yaffs_Object *obj,yaffs_CheckpointObject *cp)
+{
+
+	yaffs_Object *parent;
+
+	if (obj->variantType != cp->variantType) {
+		T(YAFFS_TRACE_ERROR,(TSTR("Checkpoint read object %d type %d "
+			TCONT("chunk %d does not match existing object type %d")
+			TENDSTR), cp->objectId, cp->variantType, cp->hdrChunk,
+			obj->variantType));
+		return 0;
+	}
+	
+	obj->objectId = cp->objectId;
+	
+	if(cp->parentId)
+		parent = yaffs_FindOrCreateObjectByNumber(
+					obj->myDev,
+					cp->parentId,
+					YAFFS_OBJECT_TYPE_DIRECTORY);
+	else
+		parent = NULL;
+		
+	if(parent) {
+		if (parent->variantType != YAFFS_OBJECT_TYPE_DIRECTORY) {
+			T(YAFFS_TRACE_ALWAYS,(TSTR("Checkpoint read object %d parent %d type %d"
+				TCONT(" chunk %d Parent type, %d, not directory")
+				TENDSTR),
+				cp->objectId,cp->parentId,cp->variantType,cp->hdrChunk,parent->variantType));
+			return 0;
+		}
+		yaffs_AddObjectToDirectory(parent, obj);
+	}
+
+	obj->hdrChunk = cp->hdrChunk;
+	obj->variantType = cp->variantType;
+	obj->deleted = cp->deleted;
+	obj->softDeleted = cp->softDeleted;
+	obj->unlinked = cp->unlinked;
+	obj->fake = cp->fake;
+	obj->renameAllowed = cp->renameAllowed;
+	obj->unlinkAllowed = cp->unlinkAllowed;
+	obj->serial = cp->serial;
+	obj->nDataChunks = cp->nDataChunks;
+	
+	if(obj->variantType == YAFFS_OBJECT_TYPE_FILE)
+		obj->variant.fileVariant.fileSize = cp->fileSizeOrEquivalentObjectId;
+	else if(obj->variantType == YAFFS_OBJECT_TYPE_HARDLINK)
+		obj->variant.hardLinkVariant.equivalentObjectId = cp->fileSizeOrEquivalentObjectId;
+
+	if(obj->hdrChunk > 0)
+		obj->lazyLoaded = 1;
+	return 1;
+}
+
+
+
+static int yaffs_CheckpointTnodeWorker(yaffs_Object * in, yaffs_Tnode * tn,
+				  	__u32 level, int chunkOffset)
+{
+	int i;
+	yaffs_Device *dev = in->myDev;
+	int ok = 1;
+	int tnodeSize = (dev->tnodeWidth * YAFFS_NTNODES_LEVEL0)/8;
+
+	if(tnodeSize < sizeof(yaffs_Tnode))
+		tnodeSize = sizeof(yaffs_Tnode);
+	
+
+	if (tn) {
+		if (level > 0) {
+
+			for (i = 0; i < YAFFS_NTNODES_INTERNAL && ok; i++){
+				if (tn->internal[i]) {
+					ok = yaffs_CheckpointTnodeWorker(in,
+							tn->internal[i],
+							level - 1,
+							(chunkOffset<<YAFFS_TNODES_INTERNAL_BITS) + i);
+				}
+			}
+		} else if (level == 0) {
+			__u32 baseOffset = chunkOffset <<  YAFFS_TNODES_LEVEL0_BITS;
+			ok = (yaffs_CheckpointWrite(dev,&baseOffset,sizeof(baseOffset)) == sizeof(baseOffset));
+			if(ok)
+				ok = (yaffs_CheckpointWrite(dev,tn,tnodeSize) == tnodeSize);
+		}
+	}
+
+	return ok;
+
+}
+
+static int yaffs_WriteCheckpointTnodes(yaffs_Object *obj)
+{
+	__u32 endMarker = ~0;
+	int ok = 1;
+	
+	if(obj->variantType == YAFFS_OBJECT_TYPE_FILE){
+		ok = yaffs_CheckpointTnodeWorker(obj,
+					    obj->variant.fileVariant.top,
+					    obj->variant.fileVariant.topLevel,
+					    0);
+		if(ok)
+			ok = (yaffs_CheckpointWrite(obj->myDev,&endMarker,sizeof(endMarker)) == 
+				sizeof(endMarker));
+	}
+	
+	return ok ? 1 : 0;
+}
+
+static int yaffs_ReadCheckpointTnodes(yaffs_Object *obj)
+{
+	__u32 baseChunk;
+	int ok = 1;
+	yaffs_Device *dev = obj->myDev;
+	yaffs_FileStructure *fileStructPtr = &obj->variant.fileVariant;
+	yaffs_Tnode *tn;
+	int nread = 0;
+	int tnodeSize = (dev->tnodeWidth * YAFFS_NTNODES_LEVEL0)/8;
+
+	if(tnodeSize < sizeof(yaffs_Tnode))
+		tnodeSize = sizeof(yaffs_Tnode);
+
+	ok = (yaffs_CheckpointRead(dev,&baseChunk,sizeof(baseChunk)) == sizeof(baseChunk));
+	
+	while(ok && (~baseChunk)){
+		nread++;
+		/* Read level 0 tnode */
+		
+		
+		tn = yaffs_GetTnodeRaw(dev);
+		if(tn)
+			ok = (yaffs_CheckpointRead(dev,tn,tnodeSize) == tnodeSize);
+		else
+			ok = 0;
+			
+		if(tn && ok){
+			ok = yaffs_AddOrFindLevel0Tnode(dev,
+					       		fileStructPtr,
+					       		baseChunk,
+					       		tn) ? 1 : 0;
+					       		
+		}
+			
+		if(ok)
+			ok = (yaffs_CheckpointRead(dev,&baseChunk,sizeof(baseChunk)) == sizeof(baseChunk));
+		
+	}
+
+	T(YAFFS_TRACE_CHECKPOINT,(
+		TSTR("Checkpoint read tnodes %d records, last %d. ok %d" TENDSTR),
+		nread,baseChunk,ok));
+
+	return ok ? 1 : 0;	
+}
+ 
+
+static int yaffs_WriteCheckpointObjects(yaffs_Device *dev)
+{
+	yaffs_Object *obj;
+        yaffs_CheckpointObject cp;
+        int i;
+        int ok = 1;
+        struct ylist_head *lh;
+
+        
+        /* Iterate through the objects in each hash entry,
+	 * dumping them to the checkpointing stream.
+         */
+         
+         for(i = 0; ok &&  i <  YAFFS_NOBJECT_BUCKETS; i++){
+                ylist_for_each(lh, &dev->objectBucket[i].list) {
+                        if (lh) {
+                                obj = ylist_entry(lh, yaffs_Object, hashLink);
+                                if (!obj->deferedFree) {
+                                        yaffs_ObjectToCheckpointObject(&cp,obj);
+                                        cp.structType = sizeof(cp);
+
+					T(YAFFS_TRACE_CHECKPOINT,(
+						TSTR("Checkpoint write object %d parent %d type %d chunk %d obj addr %x" TENDSTR),
+						cp.objectId,cp.parentId,cp.variantType,cp.hdrChunk,(unsigned) obj));
+
+					ok = (yaffs_CheckpointWrite(dev,&cp,sizeof(cp)) == sizeof(cp));
+					
+					if(ok && obj->variantType == YAFFS_OBJECT_TYPE_FILE){
+						ok = yaffs_WriteCheckpointTnodes(obj);
+					}
+				}
+			}
+		}
+	 }
+	 
+	 /* Dump end of list */
+	memset(&cp,0xFF,sizeof(yaffs_CheckpointObject));
+	cp.structType = sizeof(cp);
+	
+	if(ok)
+		ok = (yaffs_CheckpointWrite(dev,&cp,sizeof(cp)) == sizeof(cp));
+		
+	return ok ? 1 : 0;
+}
+
+static int yaffs_ReadCheckpointObjects(yaffs_Device *dev)
+{
+	yaffs_Object *obj;
+	yaffs_CheckpointObject cp;
+	int ok = 1;
+	int done = 0;
+	yaffs_Object *hardList = NULL;
+	
+	while(ok && !done) {
+		ok = (yaffs_CheckpointRead(dev,&cp,sizeof(cp)) == sizeof(cp));
+		if(cp.structType != sizeof(cp)) {
+			T(YAFFS_TRACE_CHECKPOINT,(TSTR("struct size %d instead of %d ok %d"TENDSTR),
+				cp.structType,sizeof(cp),ok));
+			ok = 0;
+		}
+			
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("Checkpoint read object %d parent %d type %d chunk %d " TENDSTR),
+			cp.objectId,cp.parentId,cp.variantType,cp.hdrChunk));
+
+		if(ok && cp.objectId == ~0)
+			done = 1;
+		else if(ok){
+			obj = yaffs_FindOrCreateObjectByNumber(dev,cp.objectId, cp.variantType);
+			if(obj) {
+				ok = yaffs_CheckpointObjectToObject(obj,&cp);
+				if (!ok)
+					break;
+				if(obj->variantType == YAFFS_OBJECT_TYPE_FILE) {
+                                        ok = yaffs_ReadCheckpointTnodes(obj);
+                                } else if(obj->variantType == YAFFS_OBJECT_TYPE_HARDLINK) {
+                                        obj->hardLinks.next =
+                                                    (struct ylist_head *)
+                                                    hardList;
+                                        hardList = obj;
+                                }
+			   
+			}
+			else
+				ok = 0;
+		}
+	}
+	
+	if(ok)
+		yaffs_HardlinkFixup(dev,hardList);
+	
+	return ok ? 1 : 0;
+}
+
+static int yaffs_WriteCheckpointSum(yaffs_Device *dev)
+{
+	__u32 checkpointSum;
+	int ok;
+	
+	yaffs_GetCheckpointSum(dev,&checkpointSum);
+	
+	ok = (yaffs_CheckpointWrite(dev,&checkpointSum,sizeof(checkpointSum)) == sizeof(checkpointSum));
+	
+	if(!ok)
+		return 0;
+	
+	return 1;
+}
+
+static int yaffs_ReadCheckpointSum(yaffs_Device *dev)
+{
+	__u32 checkpointSum0;
+	__u32 checkpointSum1;
+	int ok;
+	
+	yaffs_GetCheckpointSum(dev,&checkpointSum0);
+	
+	ok = (yaffs_CheckpointRead(dev,&checkpointSum1,sizeof(checkpointSum1)) == sizeof(checkpointSum1));
+	
+	if(!ok)
+		return 0;
+		
+	if(checkpointSum0 != checkpointSum1)
+		return 0;
+	
+	return 1;
+}
+
+
+static int yaffs_WriteCheckpointData(yaffs_Device *dev)
+{
+
+	int ok = 1;
+	
+	if(dev->skipCheckpointWrite || !dev->isYaffs2){
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("skipping checkpoint write" TENDSTR)));
+		ok = 0;
+	}
+		
+	if(ok)
+		ok = yaffs_CheckpointOpen(dev,1);
+	
+	if(ok){
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("write checkpoint validity" TENDSTR)));
+		ok = yaffs_WriteCheckpointValidityMarker(dev,1);
+	}
+	if(ok){
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("write checkpoint device" TENDSTR)));
+		ok = yaffs_WriteCheckpointDevice(dev);
+	}
+	if(ok){
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("write checkpoint objects" TENDSTR)));
+		ok = yaffs_WriteCheckpointObjects(dev);
+	}
+	if(ok){
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("write checkpoint validity" TENDSTR)));
+		ok = yaffs_WriteCheckpointValidityMarker(dev,0);
+	}
+	
+	if(ok){
+		ok = yaffs_WriteCheckpointSum(dev);
+	}
+	
+	
+	if(!yaffs_CheckpointClose(dev))
+		 ok = 0;
+		 
+	if(ok)
+	    	dev->isCheckpointed = 1;
+	 else 
+	 	dev->isCheckpointed = 0;
+
+	return dev->isCheckpointed;
+}
+
+static int yaffs_ReadCheckpointData(yaffs_Device *dev)
+{
+	int ok = 1;
+	
+	if(dev->skipCheckpointRead || !dev->isYaffs2){
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("skipping checkpoint read" TENDSTR)));
+		ok = 0;
+	}
+	
+	if(ok)
+		ok = yaffs_CheckpointOpen(dev,0); /* open for read */
+	
+	if(ok){
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("read checkpoint validity" TENDSTR)));	
+		ok = yaffs_ReadCheckpointValidityMarker(dev,1);
+	}
+	if(ok){
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("read checkpoint device" TENDSTR)));
+		ok = yaffs_ReadCheckpointDevice(dev);
+	}
+	if(ok){
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("read checkpoint objects" TENDSTR)));	
+		ok = yaffs_ReadCheckpointObjects(dev);
+	}
+	if(ok){
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("read checkpoint validity" TENDSTR)));
+		ok = yaffs_ReadCheckpointValidityMarker(dev,0);
+	}
+	
+	if(ok){
+		ok = yaffs_ReadCheckpointSum(dev);
+		T(YAFFS_TRACE_CHECKPOINT,(TSTR("read checkpoint checksum %d" TENDSTR),ok));
+	}
+
+	if(!yaffs_CheckpointClose(dev))
+		ok = 0;
+
+	if(ok)
+	    	dev->isCheckpointed = 1;
+	 else 
+	 	dev->isCheckpointed = 0;
+
+	return ok ? 1 : 0;
+
+}
+
+static void yaffs_InvalidateCheckpoint(yaffs_Device *dev)
+{
+	if(dev->isCheckpointed || 
+	   dev->blocksInCheckpoint > 0){
+		dev->isCheckpointed = 0;
+		yaffs_CheckpointInvalidateStream(dev);
+		if(dev->superBlock && dev->markSuperBlockDirty)
+			dev->markSuperBlockDirty(dev->superBlock);
+	}
+}
+
+
+int yaffs_CheckpointSave(yaffs_Device *dev)
+{
+
+	T(YAFFS_TRACE_CHECKPOINT,(TSTR("save entry: isCheckpointed %d"TENDSTR),dev->isCheckpointed));
+
+	yaffs_VerifyObjects(dev);
+	yaffs_VerifyBlocks(dev);
+	yaffs_VerifyFreeChunks(dev);
+
+	if(!dev->isCheckpointed) {
+		yaffs_InvalidateCheckpoint(dev);
+		yaffs_WriteCheckpointData(dev);
+	}
+	
+	T(YAFFS_TRACE_ALWAYS,(TSTR("save exit: isCheckpointed %d"TENDSTR),dev->isCheckpointed));
+
+	return dev->isCheckpointed;
+}
+
+int yaffs_CheckpointRestore(yaffs_Device *dev)
+{
+	int retval;
+	T(YAFFS_TRACE_CHECKPOINT,(TSTR("restore entry: isCheckpointed %d"TENDSTR),dev->isCheckpointed));
+		
+	retval = yaffs_ReadCheckpointData(dev);
+
+	if(dev->isCheckpointed){
+		yaffs_VerifyObjects(dev);
+		yaffs_VerifyBlocks(dev);
+		yaffs_VerifyFreeChunks(dev);
+	}
+
+	T(YAFFS_TRACE_CHECKPOINT,(TSTR("restore exit: isCheckpointed %d"TENDSTR),dev->isCheckpointed));
+	
+	return retval;
+}
+
+/*--------------------- File read/write ------------------------
+ * Read and write have very similar structures.
+ * In general the read/write has three parts to it
+ * An incomplete chunk to start with (if the read/write is not chunk-aligned)
+ * Some complete chunks
+ * An incomplete chunk to end off with
+ *
+ * Curve-balls: the first chunk might also be the last chunk.
+ */
+
+int yaffs_ReadDataFromFile(yaffs_Object * in, __u8 * buffer, loff_t offset,
+			   int nBytes)
+{
+
+	int chunk;
+	__u32 start;
+	int nToCopy;
+	int n = nBytes;
+	int nDone = 0;
+	yaffs_ChunkCache *cache;
+
+	yaffs_Device *dev;
+
+	dev = in->myDev;
+
+	while (n > 0) {
+		//chunk = offset / dev->nDataBytesPerChunk + 1;
+		//start = offset % dev->nDataBytesPerChunk;
+		yaffs_AddrToChunk(dev,offset,&chunk,&start);
+		chunk++;
+
+		/* OK now check for the curveball where the start and end are in
+		 * the same chunk.      
+		 */
+		if ((start + n) < dev->nDataBytesPerChunk) {
+			nToCopy = n;
+		} else {
+			nToCopy = dev->nDataBytesPerChunk - start;
+		}
+
+		cache = yaffs_FindChunkCache(in, chunk);
+
+		/* If the chunk is already in the cache or it is less than a whole chunk
+		 * or we're using inband tags then use the cache (if there is caching)
+		 * else bypass the cache.
+		 */
+		if (cache || nToCopy != dev->nDataBytesPerChunk || dev->inbandTags) {
+			if (dev->nShortOpCaches > 0) {
+
+				/* If we can't find the data in the cache, then load it up. */
+
+				if (!cache) {
+					cache = yaffs_GrabChunkCache(in->myDev);
+					cache->object = in;
+					cache->chunkId = chunk;
+					cache->dirty = 0;
+					cache->locked = 0;
+					yaffs_ReadChunkDataFromObject(in, chunk,
+								      cache->
+								      data);
+					cache->nBytes = 0;
+				}
+
+				yaffs_UseChunkCache(dev, cache, 0);
+
+				cache->locked = 1;
+
+
+				memcpy(buffer, &cache->data[start], nToCopy);
+
+				cache->locked = 0;
+			} else {
+				/* Read into the local buffer then copy..*/
+
+				__u8 *localBuffer =
+				    yaffs_GetTempBuffer(dev, __LINE__);
+				yaffs_ReadChunkDataFromObject(in, chunk,
+							      localBuffer);
+
+				memcpy(buffer, &localBuffer[start], nToCopy);
+
+
+				yaffs_ReleaseTempBuffer(dev, localBuffer,
+							__LINE__);
+			}
+
+		} else {
+
+			/* A full chunk. Read directly into the supplied buffer. */
+			yaffs_ReadChunkDataFromObject(in, chunk, buffer);
+
+		}
+
+		n -= nToCopy;
+		offset += nToCopy;
+		buffer += nToCopy;
+		nDone += nToCopy;
+
+	}
+
+	return nDone;
+}
+
+int yaffs_WriteDataToFile(yaffs_Object * in, const __u8 * buffer, loff_t offset,
+			  int nBytes, int writeThrough)
+{
+
+	int chunk;
+	__u32 start;
+	int nToCopy;
+        int n = nBytes;
+        int nDone = 0;
+        int nToWriteBack;
+        int startOfWrite = offset;
+        int chunkWritten = 0;
+        __u32 nBytesRead;
+        __u32 chunkStart;
+
+	yaffs_Device *dev;
+
+	dev = in->myDev;
+
+	while (n > 0 && chunkWritten >= 0) {
+		//chunk = offset / dev->nDataBytesPerChunk + 1;
+		//start = offset % dev->nDataBytesPerChunk;
+		yaffs_AddrToChunk(dev,offset,&chunk,&start);
+		
+		if(chunk * dev->nDataBytesPerChunk + start != offset ||
+		   start >= dev->nDataBytesPerChunk){
+		   T(YAFFS_TRACE_ERROR,(
+			   TSTR("AddrToChunk of offset %d gives chunk %d start %d"
+			   TENDSTR),
+		   	   (int)offset, chunk,start));
+		}
+		chunk++;
+
+		/* OK now check for the curveball where the start and end are in
+		 * the same chunk.
+		 */
+
+		if ((start + n) < dev->nDataBytesPerChunk) {
+			nToCopy = n;
+
+			/* Now folks, to calculate how many bytes to write back....
+			 * If we're overwriting and not writing to then end of file then
+			 * we need to write back as much as was there before.
+			 */
+
+			chunkStart = ((chunk - 1) * dev->nDataBytesPerChunk);
+
+			if(chunkStart > in->variant.fileVariant.fileSize)
+				nBytesRead = 0; /* Past end of file */
+			else
+				nBytesRead = in->variant.fileVariant.fileSize - chunkStart;
+
+			if (nBytesRead > dev->nDataBytesPerChunk) {
+				nBytesRead = dev->nDataBytesPerChunk;
+			}
+
+			nToWriteBack =
+			    (nBytesRead >
+			     (start + n)) ? nBytesRead : (start + n);
+			
+			if(nToWriteBack < 0 || nToWriteBack > dev->nDataBytesPerChunk)
+				YBUG();
+
+		} else {
+			nToCopy = dev->nDataBytesPerChunk - start;
+			nToWriteBack = dev->nDataBytesPerChunk;
+		}
+
+		if (nToCopy != dev->nDataBytesPerChunk || dev->inbandTags) {
+			/* An incomplete start or end chunk (or maybe both start and end chunk), 
+			 * or we're using inband tags, so we want to use the cache buffers.
+			 */
+			if (dev->nShortOpCaches > 0) {
+				yaffs_ChunkCache *cache;
+				/* If we can't find the data in the cache, then load the cache */
+				cache = yaffs_FindChunkCache(in, chunk);
+				
+				if (!cache
+				    && yaffs_CheckSpaceForAllocation(in->
+								     myDev)) {
+					cache = yaffs_GrabChunkCache(in->myDev);
+					cache->object = in;
+					cache->chunkId = chunk;
+					cache->dirty = 0;
+					cache->locked = 0;
+					yaffs_ReadChunkDataFromObject(in, chunk,
+								      cache->
+								      data);
+				}
+				else if(cache && 
+				        !cache->dirty &&
+					!yaffs_CheckSpaceForAllocation(in->myDev)){
+					/* Drop the cache if it was a read cache item and
+					 * no space check has been made for it.
+					 */ 
+					 cache = NULL;
+				}
+
+				if (cache) {
+					yaffs_UseChunkCache(dev, cache, 1);
+					cache->locked = 1;
+
+
+					memcpy(&cache->data[start], buffer,
+					       nToCopy);
+
+
+					cache->locked = 0;
+					cache->nBytes = nToWriteBack;
+
+					if (writeThrough) {
+						chunkWritten =
+						    yaffs_WriteChunkDataToObject
+						    (cache->object,
+						     cache->chunkId,
+						     cache->data, cache->nBytes,
+						     1);
+						cache->dirty = 0;
+					}
+
+				} else {
+					chunkWritten = -1;	/* fail the write */
+				}
+			} else {
+				/* An incomplete start or end chunk (or maybe both start and end chunk)
+				 * Read into the local buffer then copy, then copy over and write back.
+				 */
+
+				__u8 *localBuffer =
+				    yaffs_GetTempBuffer(dev, __LINE__);
+
+				yaffs_ReadChunkDataFromObject(in, chunk,
+							      localBuffer);
+
+
+
+				memcpy(&localBuffer[start], buffer, nToCopy);
+
+				chunkWritten =
+				    yaffs_WriteChunkDataToObject(in, chunk,
+								 localBuffer,
+								 nToWriteBack,
+								 0);
+
+				yaffs_ReleaseTempBuffer(dev, localBuffer,
+							__LINE__);
+
+			}
+
+		} else {
+			/* A full chunk. Write directly from the supplied buffer. */
+			
+
+
+			chunkWritten =
+			    yaffs_WriteChunkDataToObject(in, chunk, buffer,
+							 dev->nDataBytesPerChunk,
+							 0);
+
+			/* Since we've overwritten the cached data, we better invalidate it. */
+			yaffs_InvalidateChunkCache(in, chunk);
+		}
+
+		if (chunkWritten >= 0) {
+			n -= nToCopy;
+			offset += nToCopy;
+			buffer += nToCopy;
+			nDone += nToCopy;
+		}
+
+	}
+
+	/* Update file object */
+
+	if ((startOfWrite + nDone) > in->variant.fileVariant.fileSize) {
+		in->variant.fileVariant.fileSize = (startOfWrite + nDone);
+	}
+
+	in->dirty = 1;
+
+	return nDone;
+}
+
+
+/* ---------------------- File resizing stuff ------------------ */
+
+static void yaffs_PruneResizedChunks(yaffs_Object * in, int newSize)
+{
+
+	yaffs_Device *dev = in->myDev;
+	int oldFileSize = in->variant.fileVariant.fileSize;
+
+	int lastDel = 1 + (oldFileSize - 1) / dev->nDataBytesPerChunk;
+
+	int startDel = 1 + (newSize + dev->nDataBytesPerChunk - 1) /
+	    dev->nDataBytesPerChunk;
+	int i;
+	int chunkId;
+
+	/* Delete backwards so that we don't end up with holes if
+	 * power is lost part-way through the operation.
+	 */
+	for (i = lastDel; i >= startDel; i--) {
+		/* NB this could be optimised somewhat,
+		 * eg. could retrieve the tags and write them without
+		 * using yaffs_DeleteChunk
+		 */
+
+		chunkId = yaffs_FindAndDeleteChunkInFile(in, i, NULL);
+		if (chunkId > 0) {
+			if (chunkId <
+			    (dev->internalStartBlock * dev->nChunksPerBlock)
+			    || chunkId >=
+			    ((dev->internalEndBlock +
+			      1) * dev->nChunksPerBlock)) {
+				T(YAFFS_TRACE_ALWAYS,
+				  (TSTR("Found daft chunkId %d for %d" TENDSTR),
+				   chunkId, i));
+			} else {
+				in->nDataChunks--;
+				yaffs_DeleteChunk(dev, chunkId, 1, __LINE__);
+			}
+		}
+	}
+
+}
+
+int yaffs_ResizeFile(yaffs_Object * in, loff_t newSize)
+{
+
+	int oldFileSize = in->variant.fileVariant.fileSize;
+	__u32 newSizeOfPartialChunk;
+	int newFullChunks;
+	
+	yaffs_Device *dev = in->myDev;
+
+	yaffs_AddrToChunk(dev, newSize, &newFullChunks, &newSizeOfPartialChunk);
+
+	yaffs_FlushFilesChunkCache(in);
+	yaffs_InvalidateWholeChunkCache(in);
+
+        yaffs_CheckGarbageCollection(dev);
+
+        if (in->variantType != YAFFS_OBJECT_TYPE_FILE) {
+                return YAFFS_FAIL;
+        }
+
+        if (newSize == oldFileSize) {
+                return YAFFS_OK;
+        }
+
+        if (newSize < oldFileSize) {
+
+		yaffs_PruneResizedChunks(in, newSize);
+
+		if (newSizeOfPartialChunk != 0) {
+			int lastChunk = 1 + newFullChunks;
+			
+			__u8 *localBuffer = yaffs_GetTempBuffer(dev, __LINE__);
+
+			/* Got to read and rewrite the last chunk with its new size and zero pad */
+			yaffs_ReadChunkDataFromObject(in, lastChunk,
+						      localBuffer);
+
+			memset(localBuffer + newSizeOfPartialChunk, 0,
+			       dev->nDataBytesPerChunk - newSizeOfPartialChunk);
+
+			yaffs_WriteChunkDataToObject(in, lastChunk, localBuffer,
+						     newSizeOfPartialChunk, 1);
+
+			yaffs_ReleaseTempBuffer(dev, localBuffer, __LINE__);
+		}
+
+		in->variant.fileVariant.fileSize = newSize;
+
+		yaffs_PruneFileStructure(dev, &in->variant.fileVariant);
+	} else {
+		/* newsSize > oldFileSize */
+		in->variant.fileVariant.fileSize = newSize;
+	}
+
+		
+	
+	/* Write a new object header.
+	 * show we've shrunk the file, if need be
+	 * Do this only if the file is not in the deleted directories.
+	 */
+	if (in->parent &&
+	    in->parent->objectId != YAFFS_OBJECTID_UNLINKED &&
+	    in->parent->objectId != YAFFS_OBJECTID_DELETED) {
+		yaffs_UpdateObjectHeader(in, NULL, 0,
+					 (newSize < oldFileSize) ? 1 : 0, 0);
+	}
+
+	return YAFFS_OK;
+}
+
+loff_t yaffs_GetFileSize(yaffs_Object * obj)
+{
+	obj = yaffs_GetEquivalentObject(obj);
+
+	switch (obj->variantType) {
+	case YAFFS_OBJECT_TYPE_FILE:
+		return obj->variant.fileVariant.fileSize;
+	case YAFFS_OBJECT_TYPE_SYMLINK:
+		return yaffs_strlen(obj->variant.symLinkVariant.alias);
+	default:
+		return 0;
+	}
+}
+
+
+
+int yaffs_FlushFile(yaffs_Object * in, int updateTime)
+{
+	int retVal;
+	if (in->dirty) {
+		yaffs_FlushFilesChunkCache(in);
+		if (updateTime) {
+#ifdef CONFIG_YAFFS_WINCE
+			yfsd_WinFileTimeNow(in->win_mtime);
+#else
+
+			in->yst_mtime = Y_CURRENT_TIME;
+
+#endif
+		}
+
+		retVal =
+		    (yaffs_UpdateObjectHeader(in, NULL, 0, 0, 0) >=
+		     0) ? YAFFS_OK : YAFFS_FAIL;
+	} else {
+		retVal = YAFFS_OK;
+	}
+
+	return retVal;
+
+}
+
+static int yaffs_DoGenericObjectDeletion(yaffs_Object * in)
+{
+
+	/* First off, invalidate the file's data in the cache, without flushing. */
+	yaffs_InvalidateWholeChunkCache(in);
+
+	if (in->myDev->isYaffs2 && (in->parent != in->myDev->deletedDir)) {
+		/* Move to the unlinked directory so we have a record that it was deleted. */
+		yaffs_ChangeObjectName(in, in->myDev->deletedDir,_Y("deleted"), 0, 0);
+
+	}
+
+	yaffs_RemoveObjectFromDirectory(in);
+	yaffs_DeleteChunk(in->myDev, in->hdrChunk, 1, __LINE__);
+	in->hdrChunk = 0;
+
+	yaffs_FreeObject(in);
+	return YAFFS_OK;
+
+}
+
+/* yaffs_DeleteFile deletes the whole file data
+ * and the inode associated with the file.
+ * It does not delete the links associated with the file.
+ */
+static int yaffs_UnlinkFile(yaffs_Object * in)
+{
+
+	int retVal;
+	int immediateDeletion = 0;
+
+#ifdef __KERNEL__
+	if (!in->myInode) {
+		immediateDeletion = 1;
+	}
+#else
+	if (in->inUse <= 0) {
+		immediateDeletion = 1;
+	}
+#endif
+
+	if (immediateDeletion) {
+		retVal =
+		    yaffs_ChangeObjectName(in, in->myDev->deletedDir,
+					   _Y("deleted"), 0, 0);
+		T(YAFFS_TRACE_TRACING,
+		  (TSTR("yaffs: immediate deletion of file %d" TENDSTR),
+		   in->objectId));
+		in->deleted = 1;
+		in->myDev->nDeletedFiles++;
+		if (1 || in->myDev->isYaffs2) {
+			yaffs_ResizeFile(in, 0);
+		}
+		yaffs_SoftDeleteFile(in);
+	} else {
+		retVal =
+		    yaffs_ChangeObjectName(in, in->myDev->unlinkedDir,
+					   _Y("unlinked"), 0, 0);
+	}
+
+
+	return retVal;
+}
+
+int yaffs_DeleteFile(yaffs_Object * in)
+{
+	int retVal = YAFFS_OK;
+	int deleted = in->deleted;
+	
+	yaffs_ResizeFile(in,0);
+
+	if (in->nDataChunks > 0) {
+		/* Use soft deletion if there is data in the file.
+		 * That won't be the case if it has been resized to zero.
+		 */
+		if (!in->unlinked) {
+			retVal = yaffs_UnlinkFile(in);
+		}
+		if (retVal == YAFFS_OK && in->unlinked && !in->deleted) {
+			in->deleted = deleted = 1;
+			in->myDev->nDeletedFiles++;
+			yaffs_SoftDeleteFile(in);
+		}
+		return deleted ? YAFFS_OK : YAFFS_FAIL;
+	} else {
+		/* The file has no data chunks so we toss it immediately */
+		yaffs_FreeTnode(in->myDev, in->variant.fileVariant.top);
+		in->variant.fileVariant.top = NULL;
+		yaffs_DoGenericObjectDeletion(in);
+
+		return YAFFS_OK;
+	}
+}
+
+static int yaffs_DeleteDirectory(yaffs_Object * in)
+{
+        /* First check that the directory is empty. */
+        if (ylist_empty(&in->variant.directoryVariant.children)) {
+                return yaffs_DoGenericObjectDeletion(in);
+        }
+
+	return YAFFS_FAIL;
+
+}
+
+static int yaffs_DeleteSymLink(yaffs_Object * in)
+{
+	YFREE(in->variant.symLinkVariant.alias);
+
+	return yaffs_DoGenericObjectDeletion(in);
+}
+
+static int yaffs_DeleteHardLink(yaffs_Object * in)
+{
+        /* remove this hardlink from the list assocaited with the equivalent
+         * object
+         */
+        ylist_del_init(&in->hardLinks);
+        return yaffs_DoGenericObjectDeletion(in);
+}
+
+static void yaffs_DestroyObject(yaffs_Object * obj)
+{
+	switch (obj->variantType) {
+	case YAFFS_OBJECT_TYPE_FILE:
+		yaffs_DeleteFile(obj);
+		break;
+	case YAFFS_OBJECT_TYPE_DIRECTORY:
+		yaffs_DeleteDirectory(obj);
+		break;
+	case YAFFS_OBJECT_TYPE_SYMLINK:
+		yaffs_DeleteSymLink(obj);
+		break;
+	case YAFFS_OBJECT_TYPE_HARDLINK:
+		yaffs_DeleteHardLink(obj);
+		break;
+	case YAFFS_OBJECT_TYPE_SPECIAL:
+		yaffs_DoGenericObjectDeletion(obj);
+		break;
+	case YAFFS_OBJECT_TYPE_UNKNOWN:
+		break;		/* should not happen. */
+	}
+}
+
+static int yaffs_UnlinkWorker(yaffs_Object * obj)
+{
+
+        if (obj->variantType == YAFFS_OBJECT_TYPE_HARDLINK) {
+                return yaffs_DeleteHardLink(obj);
+        } else if (!ylist_empty(&obj->hardLinks)) {
+                /* Curve ball: We're unlinking an object that has a hardlink.
+                 *
+                 * This problem arises because we are not strictly following
+		 * The Linux link/inode model.
+		 *
+		 * We can't really delete the object.
+		 * Instead, we do the following:
+		 * - Select a hardlink.
+		 * - Unhook it from the hard links
+		 * - Unhook it from its parent directory (so that the rename can work)
+		 * - Rename the object to the hardlink's name.
+		 * - Delete the hardlink
+		 */
+
+		yaffs_Object *hl;
+                int retVal;
+                YCHAR name[YAFFS_MAX_NAME_LENGTH + 1];
+
+                hl = ylist_entry(obj->hardLinks.next, yaffs_Object, hardLinks);
+
+                ylist_del_init(&hl->hardLinks);
+                ylist_del_init(&hl->siblings);
+
+                yaffs_GetObjectName(hl, name, YAFFS_MAX_NAME_LENGTH + 1);
+
+		retVal = yaffs_ChangeObjectName(obj, hl->parent, name, 0, 0);
+
+		if (retVal == YAFFS_OK) {
+			retVal = yaffs_DoGenericObjectDeletion(hl);
+		}
+		return retVal;
+
+	} else {
+		switch (obj->variantType) {
+		case YAFFS_OBJECT_TYPE_FILE:
+			return yaffs_UnlinkFile(obj);
+			break;
+		case YAFFS_OBJECT_TYPE_DIRECTORY:
+			return yaffs_DeleteDirectory(obj);
+			break;
+		case YAFFS_OBJECT_TYPE_SYMLINK:
+			return yaffs_DeleteSymLink(obj);
+			break;
+		case YAFFS_OBJECT_TYPE_SPECIAL:
+			return yaffs_DoGenericObjectDeletion(obj);
+			break;
+		case YAFFS_OBJECT_TYPE_HARDLINK:
+		case YAFFS_OBJECT_TYPE_UNKNOWN:
+		default:
+			return YAFFS_FAIL;
+		}
+	}
+}
+
+
+static int yaffs_UnlinkObject( yaffs_Object *obj)
+{
+
+	if (obj && obj->unlinkAllowed) {
+		return yaffs_UnlinkWorker(obj);
+	}
+
+	return YAFFS_FAIL;
+
+}
+int yaffs_Unlink(yaffs_Object * dir, const YCHAR * name)
+{
+	yaffs_Object *obj;
+
+	obj = yaffs_FindObjectByName(dir, name);
+	return yaffs_UnlinkObject(obj);
+}
+
+/*----------------------- Initialisation Scanning ---------------------- */
+
+static void yaffs_HandleShadowedObject(yaffs_Device * dev, int objId,
+				       int backwardScanning)
+{
+	yaffs_Object *obj;
+
+	if (!backwardScanning) {
+		/* Handle YAFFS1 forward scanning case
+		 * For YAFFS1 we always do the deletion
+		 */
+
+	} else {
+		/* Handle YAFFS2 case (backward scanning)
+		 * If the shadowed object exists then ignore.
+		 */
+		if (yaffs_FindObjectByNumber(dev, objId)) {
+			return;
+		}
+	}
+
+	/* Let's create it (if it does not exist) assuming it is a file so that it can do shrinking etc.
+	 * We put it in unlinked dir to be cleaned up after the scanning
+	 */
+	obj =
+	    yaffs_FindOrCreateObjectByNumber(dev, objId,
+					     YAFFS_OBJECT_TYPE_FILE);
+	if (!obj)
+		return;
+	yaffs_AddObjectToDirectory(dev->unlinkedDir, obj);
+	obj->variant.fileVariant.shrinkSize = 0;
+	obj->valid = 1;		/* So that we don't read any other info for this file */
+
+}
+
+typedef struct {
+	int seq;
+	int block;
+} yaffs_BlockIndex;
+
+
+static void yaffs_HardlinkFixup(yaffs_Device *dev, yaffs_Object *hardList)
+{
+	yaffs_Object *hl;
+	yaffs_Object *in;
+	
+	while (hardList) {
+		hl = hardList;
+		hardList = (yaffs_Object *) (hardList->hardLinks.next);
+
+		in = yaffs_FindObjectByNumber(dev,
+					      hl->variant.hardLinkVariant.
+					      equivalentObjectId);
+
+                if (in) {
+                        /* Add the hardlink pointers */
+                        hl->variant.hardLinkVariant.equivalentObject = in;
+                        ylist_add(&hl->hardLinks, &in->hardLinks);
+                } else {
+                        /* Todo Need to report/handle this better.
+                         * Got a problem... hardlink to a non-existant object
+                         */
+                        hl->variant.hardLinkVariant.equivalentObject = NULL;
+                        YINIT_LIST_HEAD(&hl->hardLinks);
+
+                }
+
+	}
+
+}
+
+
+
+
+
+static int ybicmp(const void *a, const void *b){
+    register int aseq = ((yaffs_BlockIndex *)a)->seq;
+    register int bseq = ((yaffs_BlockIndex *)b)->seq;
+    register int ablock = ((yaffs_BlockIndex *)a)->block;
+    register int bblock = ((yaffs_BlockIndex *)b)->block;
+    if( aseq == bseq )
+        return ablock - bblock;
+    else
+        return aseq - bseq;
+
+}
+
+
+struct yaffs_ShadowFixerStruct {
+	int objectId;
+	int shadowedId;
+	struct yaffs_ShadowFixerStruct *next;
+};
+
+
+static void yaffs_StripDeletedObjects(yaffs_Device *dev)
+{
+	/*
+	*  Sort out state of unlinked and deleted objects after scanning.
+	*/
+	struct ylist_head *i;
+	struct ylist_head *n;
+	yaffs_Object *l;
+
+	/* Soft delete all the unlinked files */
+	ylist_for_each_safe(i, n,
+		&dev->unlinkedDir->variant.directoryVariant.children) {
+		if (i) {
+			l = ylist_entry(i, yaffs_Object, siblings);
+			yaffs_DestroyObject(l);
+		}
+	}
+	
+	ylist_for_each_safe(i, n,
+		&dev->deletedDir->variant.directoryVariant.children) {
+		if (i) {
+			l = ylist_entry(i, yaffs_Object, siblings);
+			yaffs_DestroyObject(l);
+		}
+	}
+
+}
+
+static int yaffs_Scan(yaffs_Device * dev)
+{
+	yaffs_ExtendedTags tags;
+	int blk;
+	int blockIterator;
+	int startIterator;
+	int endIterator;
+	int result;
+
+	int chunk;
+	int c;
+	int deleted;
+	yaffs_BlockState state;
+	yaffs_Object *hardList = NULL;
+	yaffs_BlockInfo *bi;
+	__u32 sequenceNumber;
+	yaffs_ObjectHeader *oh;
+	yaffs_Object *in;
+	yaffs_Object *parent;
+	
+	int alloc_failed = 0;
+	
+	struct yaffs_ShadowFixerStruct *shadowFixerList = NULL;
+	
+
+	__u8 *chunkData;
+
+	
+	
+	T(YAFFS_TRACE_SCAN,
+	  (TSTR("yaffs_Scan starts  intstartblk %d intendblk %d..." TENDSTR),
+	   dev->internalStartBlock, dev->internalEndBlock));
+
+	chunkData = yaffs_GetTempBuffer(dev, __LINE__);
+
+	dev->sequenceNumber = YAFFS_LOWEST_SEQUENCE_NUMBER;
+
+	/* Scan all the blocks to determine their state */
+	for (blk = dev->internalStartBlock; blk <= dev->internalEndBlock; blk++) {
+		bi = yaffs_GetBlockInfo(dev, blk);
+		yaffs_ClearChunkBits(dev, blk);
+		bi->pagesInUse = 0;
+		bi->softDeletions = 0;
+
+		yaffs_QueryInitialBlockState(dev, blk, &state, &sequenceNumber);
+
+		bi->blockState = state;
+		bi->sequenceNumber = sequenceNumber;
+
+		if(bi->sequenceNumber == YAFFS_SEQUENCE_BAD_BLOCK)
+			bi->blockState = state = YAFFS_BLOCK_STATE_DEAD;
+
+		T(YAFFS_TRACE_SCAN_DEBUG,
+		  (TSTR("Block scanning block %d state %d seq %d" TENDSTR), blk,
+		   state, sequenceNumber));
+
+		if (state == YAFFS_BLOCK_STATE_DEAD) {
+			T(YAFFS_TRACE_BAD_BLOCKS,
+			  (TSTR("block %d is bad" TENDSTR), blk));
+		} else if (state == YAFFS_BLOCK_STATE_EMPTY) {
+			T(YAFFS_TRACE_SCAN_DEBUG,
+			  (TSTR("Block empty " TENDSTR)));
+			dev->nErasedBlocks++;
+			dev->nFreeChunks += dev->nChunksPerBlock;
+		} 
+	}
+
+	startIterator = dev->internalStartBlock;
+	endIterator = dev->internalEndBlock;
+
+	/* For each block.... */
+	for (blockIterator = startIterator; !alloc_failed && blockIterator <= endIterator;
+	     blockIterator++) {
+		
+		YYIELD();
+
+	     	YYIELD();
+	     	
+		blk = blockIterator;
+
+		bi = yaffs_GetBlockInfo(dev, blk);
+		state = bi->blockState;
+
+		deleted = 0;
+
+		/* For each chunk in each block that needs scanning....*/
+		for (c = 0; !alloc_failed && c < dev->nChunksPerBlock &&
+		     state == YAFFS_BLOCK_STATE_NEEDS_SCANNING; c++) {
+			/* Read the tags and decide what to do */
+			chunk = blk * dev->nChunksPerBlock + c;
+
+			result = yaffs_ReadChunkWithTagsFromNAND(dev, chunk, NULL,
+							&tags);
+
+			/* Let's have a good look at this chunk... */
+
+			if (tags.eccResult == YAFFS_ECC_RESULT_UNFIXED || tags.chunkDeleted) {
+				/* YAFFS1 only...
+				 * A deleted chunk
+				 */
+				deleted++;
+				dev->nFreeChunks++;
+				/*T((" %d %d deleted\n",blk,c)); */
+			} else if (!tags.chunkUsed) {
+				/* An unassigned chunk in the block
+				 * This means that either the block is empty or 
+				 * this is the one being allocated from
+				 */
+
+				if (c == 0) {
+					/* We're looking at the first chunk in the block so the block is unused */
+					state = YAFFS_BLOCK_STATE_EMPTY;
+					dev->nErasedBlocks++;
+				} else {
+					/* this is the block being allocated from */
+					T(YAFFS_TRACE_SCAN,
+					  (TSTR
+					   (" Allocating from %d %d" TENDSTR),
+					   blk, c));
+					state = YAFFS_BLOCK_STATE_ALLOCATING;
+					dev->allocationBlock = blk;
+					dev->allocationPage = c;
+					dev->allocationBlockFinder = blk;	
+					/* Set it to here to encourage the allocator to go forth from here. */
+					
+				}
+
+				dev->nFreeChunks += (dev->nChunksPerBlock - c);
+			} else if (tags.chunkId > 0) {
+				/* chunkId > 0 so it is a data chunk... */
+				unsigned int endpos;
+
+				yaffs_SetChunkBit(dev, blk, c);
+				bi->pagesInUse++;
+
+				in = yaffs_FindOrCreateObjectByNumber(dev,
+								      tags.
+								      objectId,
+								      YAFFS_OBJECT_TYPE_FILE);
+				/* PutChunkIntoFile checks for a clash (two data chunks with
+				 * the same chunkId).
+				 */
+				 
+				if(!in)
+					alloc_failed = 1;
+
+				if(in){
+					if(!yaffs_PutChunkIntoFile(in, tags.chunkId, chunk,1))
+						alloc_failed = 1;
+				}
+				
+				endpos =
+				    (tags.chunkId - 1) * dev->nDataBytesPerChunk +
+				    tags.byteCount;
+				if (in && 
+				    in->variantType == YAFFS_OBJECT_TYPE_FILE
+				    && in->variant.fileVariant.scannedFileSize <
+				    endpos) {
+					in->variant.fileVariant.
+					    scannedFileSize = endpos;
+					if (!dev->useHeaderFileSize) {
+						in->variant.fileVariant.
+						    fileSize =
+						    in->variant.fileVariant.
+						    scannedFileSize;
+					}
+
+				}
+				/* T((" %d %d data %d %d\n",blk,c,tags.objectId,tags.chunkId));   */
+			} else {
+				/* chunkId == 0, so it is an ObjectHeader.
+				 * Thus, we read in the object header and make the object
+				 */
+				yaffs_SetChunkBit(dev, blk, c);
+				bi->pagesInUse++;
+
+				result = yaffs_ReadChunkWithTagsFromNAND(dev, chunk,
+								chunkData,
+								NULL);
+
+				oh = (yaffs_ObjectHeader *) chunkData;
+
+				in = yaffs_FindObjectByNumber(dev,
+							      tags.objectId);
+				if (in && in->variantType != oh->type) {
+					/* This should not happen, but somehow
+					 * Wev'e ended up with an objectId that has been reused but not yet 
+					 * deleted, and worse still it has changed type. Delete the old object.
+					 */
+
+					yaffs_DestroyObject(in);
+
+					in = 0;
+				}
+
+				in = yaffs_FindOrCreateObjectByNumber(dev,
+								      tags.
+								      objectId,
+								      oh->type);
+
+				if(!in)
+					alloc_failed = 1;
+					
+				if (in && oh->shadowsObject > 0) {
+				
+					struct yaffs_ShadowFixerStruct *fixer;
+					fixer = YMALLOC(sizeof(struct yaffs_ShadowFixerStruct));
+					if(fixer){
+						fixer-> next = shadowFixerList;
+						shadowFixerList = fixer;
+						fixer->objectId = tags.objectId;
+						fixer->shadowedId = oh->shadowsObject;
+					}
+					
+				}
+
+				if (in && in->valid) {
+					/* We have already filled this one. We have a duplicate and need to resolve it. */
+
+					unsigned existingSerial = in->serial;
+					unsigned newSerial = tags.serialNumber;
+
+					if (((existingSerial + 1) & 3) == newSerial) {
+						/* Use new one - destroy the exisiting one */
+						yaffs_DeleteChunk(dev,
+								  in->hdrChunk,
+								  1, __LINE__);
+						in->valid = 0;
+					} else {
+						/* Use existing - destroy this one. */
+						yaffs_DeleteChunk(dev, chunk, 1,
+								  __LINE__);
+					}
+				}
+
+				if (in && !in->valid &&
+				    (tags.objectId == YAFFS_OBJECTID_ROOT ||
+				     tags.objectId == YAFFS_OBJECTID_LOSTNFOUND)) {
+					/* We only load some info, don't fiddle with directory structure */
+					in->valid = 1;
+					in->variantType = oh->type;
+
+					in->yst_mode = oh->yst_mode;
+#ifdef CONFIG_YAFFS_WINCE
+					in->win_atime[0] = oh->win_atime[0];
+					in->win_ctime[0] = oh->win_ctime[0];
+					in->win_mtime[0] = oh->win_mtime[0];
+					in->win_atime[1] = oh->win_atime[1];
+					in->win_ctime[1] = oh->win_ctime[1];
+					in->win_mtime[1] = oh->win_mtime[1];
+#else
+					in->yst_uid = oh->yst_uid;
+					in->yst_gid = oh->yst_gid;
+					in->yst_atime = oh->yst_atime;
+					in->yst_mtime = oh->yst_mtime;
+					in->yst_ctime = oh->yst_ctime;
+					in->yst_rdev = oh->yst_rdev;
+#endif
+					in->hdrChunk = chunk;
+					in->serial = tags.serialNumber;
+
+				} else if (in && !in->valid) {
+					/* we need to load this info */
+
+					in->valid = 1;
+					in->variantType = oh->type;
+
+					in->yst_mode = oh->yst_mode;
+#ifdef CONFIG_YAFFS_WINCE
+					in->win_atime[0] = oh->win_atime[0];
+					in->win_ctime[0] = oh->win_ctime[0];
+					in->win_mtime[0] = oh->win_mtime[0];
+					in->win_atime[1] = oh->win_atime[1];
+					in->win_ctime[1] = oh->win_ctime[1];
+					in->win_mtime[1] = oh->win_mtime[1];
+#else
+					in->yst_uid = oh->yst_uid;
+					in->yst_gid = oh->yst_gid;
+					in->yst_atime = oh->yst_atime;
+					in->yst_mtime = oh->yst_mtime;
+					in->yst_ctime = oh->yst_ctime;
+					in->yst_rdev = oh->yst_rdev;
+#endif
+					in->hdrChunk = chunk;
+					in->serial = tags.serialNumber;
+
+					yaffs_SetObjectName(in, oh->name);
+					in->dirty = 0;
+
+					/* directory stuff...
+					 * hook up to parent
+					 */
+
+					parent =
+					    yaffs_FindOrCreateObjectByNumber
+					    (dev, oh->parentObjectId,
+					     YAFFS_OBJECT_TYPE_DIRECTORY);
+					if(!parent)
+						alloc_failed = 1;
+					if (parent && parent->variantType ==
+					    YAFFS_OBJECT_TYPE_UNKNOWN) {
+                                                /* Set up as a directory */
+                                                parent->variantType =
+                                                    YAFFS_OBJECT_TYPE_DIRECTORY;
+                                                YINIT_LIST_HEAD(&parent->variant.
+                                                               directoryVariant.
+                                                               children);
+                                        } else if (!parent || parent->variantType !=
+						   YAFFS_OBJECT_TYPE_DIRECTORY)
+					{
+						/* Hoosterman, another problem....
+						 * We're trying to use a non-directory as a directory
+						 */
+
+						T(YAFFS_TRACE_ERROR,
+						  (TSTR
+						   ("yaffs tragedy: attempting to use non-directory as a directory in scan. Put in lost+found."
+						    TENDSTR)));
+						parent = dev->lostNFoundDir;
+					}
+
+					yaffs_AddObjectToDirectory(parent, in);
+
+					if (0 && (parent == dev->deletedDir ||
+						  parent == dev->unlinkedDir)) {
+						in->deleted = 1;	/* If it is unlinked at start up then it wants deleting */
+						dev->nDeletedFiles++;
+					}
+					/* Note re hardlinks.
+					 * Since we might scan a hardlink before its equivalent object is scanned
+					 * we put them all in a list.
+					 * After scanning is complete, we should have all the objects, so we run through this
+					 * list and fix up all the chains.              
+					 */
+
+					switch (in->variantType) {
+					case YAFFS_OBJECT_TYPE_UNKNOWN:	
+						/* Todo got a problem */
+						break;
+					case YAFFS_OBJECT_TYPE_FILE:
+						if (dev->useHeaderFileSize)
+
+							in->variant.fileVariant.
+							    fileSize =
+							    oh->fileSize;
+
+						break;
+					case YAFFS_OBJECT_TYPE_HARDLINK:
+						in->variant.hardLinkVariant.
+                                                    equivalentObjectId =
+                                                    oh->equivalentObjectId;
+                                                in->hardLinks.next =
+                                                    (struct ylist_head *)
+                                                    hardList;
+                                                hardList = in;
+                                                break;
+					case YAFFS_OBJECT_TYPE_DIRECTORY:
+						/* Do nothing */
+						break;
+					case YAFFS_OBJECT_TYPE_SPECIAL:
+						/* Do nothing */
+						break;
+					case YAFFS_OBJECT_TYPE_SYMLINK:	
+						in->variant.symLinkVariant.alias =
+						    yaffs_CloneString(oh->alias);
+						if(!in->variant.symLinkVariant.alias)
+							alloc_failed = 1;
+						break;
+					}
+
+/*
+ 					if (parent == dev->deletedDir) {
+						yaffs_DestroyObject(in);
+						bi->hasShrinkHeader = 1;
+					}
+*/
+				}
+			}
+		}
+
+		if (state == YAFFS_BLOCK_STATE_NEEDS_SCANNING) {
+			/* If we got this far while scanning, then the block is fully allocated.*/
+			state = YAFFS_BLOCK_STATE_FULL;
+		}
+
+		bi->blockState = state;
+
+		/* Now let's see if it was dirty */
+		if (bi->pagesInUse == 0 &&
+		    !bi->hasShrinkHeader &&
+		    bi->blockState == YAFFS_BLOCK_STATE_FULL) {
+			yaffs_BlockBecameDirty(dev, blk);
+		}
+
+	}
+
+	
+	/* Ok, we've done all the scanning.
+	 * Fix up the hard link chains.
+	 * We should now have scanned all the objects, now it's time to add these 
+	 * hardlinks.
+	 */
+
+	yaffs_HardlinkFixup(dev,hardList);
+	
+	/* Fix up any shadowed objects */
+	{
+		struct yaffs_ShadowFixerStruct *fixer;
+		yaffs_Object *obj;
+		
+		while(shadowFixerList){
+			fixer = shadowFixerList;
+			shadowFixerList = fixer->next;
+			/* Complete the rename transaction by deleting the shadowed object
+			 * then setting the object header to unshadowed.
+			 */
+			obj = yaffs_FindObjectByNumber(dev,fixer->shadowedId);
+			if(obj)
+				yaffs_DestroyObject(obj);
+	
+			obj = yaffs_FindObjectByNumber(dev,fixer->objectId);
+			if(obj){
+				yaffs_UpdateObjectHeader(obj,NULL,1,0,0);
+			}
+			
+			YFREE(fixer);
+		}
+	}
+
+	yaffs_ReleaseTempBuffer(dev, chunkData, __LINE__);
+
+	if(alloc_failed){
+		return YAFFS_FAIL;
+	}
+	
+	T(YAFFS_TRACE_SCAN, (TSTR("yaffs_Scan ends" TENDSTR)));
+	
+
+	return YAFFS_OK;
+}
+
+static void yaffs_CheckObjectDetailsLoaded(yaffs_Object *in)
+{
+	__u8 *chunkData;
+	yaffs_ObjectHeader *oh;
+	yaffs_Device *dev;
+	yaffs_ExtendedTags tags;
+	int result;
+	int alloc_failed = 0;
+
+	if(!in)
+		return;
+		
+	dev = in->myDev;
+		
+#if 0
+	T(YAFFS_TRACE_SCAN,(TSTR("details for object %d %s loaded" TENDSTR),
+		in->objectId,
+		in->lazyLoaded ? "not yet" : "already"));
+#endif
+
+	if(in->lazyLoaded && in->hdrChunk > 0){
+		in->lazyLoaded = 0;
+		chunkData = yaffs_GetTempBuffer(dev, __LINE__);
+
+		result = yaffs_ReadChunkWithTagsFromNAND(dev,in->hdrChunk,chunkData,&tags);
+		oh = (yaffs_ObjectHeader *) chunkData;
+
+		in->yst_mode = oh->yst_mode;
+#ifdef CONFIG_YAFFS_WINCE
+		in->win_atime[0] = oh->win_atime[0];
+		in->win_ctime[0] = oh->win_ctime[0];
+		in->win_mtime[0] = oh->win_mtime[0];
+		in->win_atime[1] = oh->win_atime[1];
+		in->win_ctime[1] = oh->win_ctime[1];
+		in->win_mtime[1] = oh->win_mtime[1];
+#else
+		in->yst_uid = oh->yst_uid;
+		in->yst_gid = oh->yst_gid;
+		in->yst_atime = oh->yst_atime;
+		in->yst_mtime = oh->yst_mtime;
+		in->yst_ctime = oh->yst_ctime;
+		in->yst_rdev = oh->yst_rdev;
+		
+#endif
+		yaffs_SetObjectName(in, oh->name);
+		
+		if(in->variantType == YAFFS_OBJECT_TYPE_SYMLINK){
+			 in->variant.symLinkVariant.alias =
+						    yaffs_CloneString(oh->alias);
+			if(!in->variant.symLinkVariant.alias)
+				alloc_failed = 1; /* Not returned to caller */
+		}
+						    
+		yaffs_ReleaseTempBuffer(dev,chunkData, __LINE__);
+	}
+}
+
+static int yaffs_ScanBackwards(yaffs_Device * dev)
+{
+	yaffs_ExtendedTags tags;
+	int blk;
+	int blockIterator;
+	int startIterator;
+	int endIterator;
+	int nBlocksToScan = 0;
+
+	int chunk;
+	int result;
+	int c;
+	int deleted;
+	yaffs_BlockState state;
+	yaffs_Object *hardList = NULL;
+	yaffs_BlockInfo *bi;
+	__u32 sequenceNumber;
+	yaffs_ObjectHeader *oh;
+	yaffs_Object *in;
+	yaffs_Object *parent;
+	int nBlocks = dev->internalEndBlock - dev->internalStartBlock + 1;
+	int itsUnlinked;
+	__u8 *chunkData;
+	
+	int fileSize;
+	int isShrink;
+	int foundChunksInBlock;
+	int equivalentObjectId;
+	int alloc_failed = 0;
+	
+
+	yaffs_BlockIndex *blockIndex = NULL;
+	int altBlockIndex = 0;
+
+	if (!dev->isYaffs2) {
+		T(YAFFS_TRACE_SCAN,
+		  (TSTR("yaffs_ScanBackwards is only for YAFFS2!" TENDSTR)));
+		return YAFFS_FAIL;
+	}
+
+	T(YAFFS_TRACE_SCAN,
+	  (TSTR
+	   ("yaffs_ScanBackwards starts  intstartblk %d intendblk %d..."
+	    TENDSTR), dev->internalStartBlock, dev->internalEndBlock));
+
+
+	dev->sequenceNumber = YAFFS_LOWEST_SEQUENCE_NUMBER;
+
+	blockIndex = YMALLOC(nBlocks * sizeof(yaffs_BlockIndex));
+	
+	if(!blockIndex) {
+		blockIndex = YMALLOC_ALT(nBlocks * sizeof(yaffs_BlockIndex));
+		altBlockIndex = 1;
+	}
+	
+	if(!blockIndex) {
+		T(YAFFS_TRACE_SCAN,
+		  (TSTR("yaffs_Scan() could not allocate block index!" TENDSTR)));
+		return YAFFS_FAIL;
+	}
+	
+	dev->blocksInCheckpoint = 0;
+	
+	chunkData = yaffs_GetTempBuffer(dev, __LINE__);
+
+	/* Scan all the blocks to determine their state */
+	for (blk = dev->internalStartBlock; blk <= dev->internalEndBlock; blk++) {
+		bi = yaffs_GetBlockInfo(dev, blk);
+		yaffs_ClearChunkBits(dev, blk);
+		bi->pagesInUse = 0;
+		bi->softDeletions = 0;
+
+		yaffs_QueryInitialBlockState(dev, blk, &state, &sequenceNumber);
+
+		bi->blockState = state;
+		bi->sequenceNumber = sequenceNumber;
+
+		if(bi->sequenceNumber == YAFFS_SEQUENCE_CHECKPOINT_DATA)
+			bi->blockState = state = YAFFS_BLOCK_STATE_CHECKPOINT;
+		if(bi->sequenceNumber == YAFFS_SEQUENCE_BAD_BLOCK)
+			bi->blockState = state = YAFFS_BLOCK_STATE_DEAD;
+			
+		T(YAFFS_TRACE_SCAN_DEBUG,
+		  (TSTR("Block scanning block %d state %d seq %d" TENDSTR), blk,
+		   state, sequenceNumber));
+
+		
+		if(state == YAFFS_BLOCK_STATE_CHECKPOINT){
+			dev->blocksInCheckpoint++;
+			
+		} else if (state == YAFFS_BLOCK_STATE_DEAD) {
+			T(YAFFS_TRACE_BAD_BLOCKS,
+			  (TSTR("block %d is bad" TENDSTR), blk));
+		} else if (state == YAFFS_BLOCK_STATE_EMPTY) {
+			T(YAFFS_TRACE_SCAN_DEBUG,
+			  (TSTR("Block empty " TENDSTR)));
+			dev->nErasedBlocks++;
+			dev->nFreeChunks += dev->nChunksPerBlock;
+		} else if (state == YAFFS_BLOCK_STATE_NEEDS_SCANNING) {
+
+			/* Determine the highest sequence number */
+			if (sequenceNumber >= YAFFS_LOWEST_SEQUENCE_NUMBER &&
+			    sequenceNumber < YAFFS_HIGHEST_SEQUENCE_NUMBER) {
+
+				blockIndex[nBlocksToScan].seq = sequenceNumber;
+				blockIndex[nBlocksToScan].block = blk;
+
+				nBlocksToScan++;
+
+				if (sequenceNumber >= dev->sequenceNumber) {
+					dev->sequenceNumber = sequenceNumber;
+				}
+			} else {
+				/* TODO: Nasty sequence number! */
+				T(YAFFS_TRACE_SCAN,
+				  (TSTR
+				   ("Block scanning block %d has bad sequence number %d"
+				    TENDSTR), blk, sequenceNumber));
+
+			}
+		}
+	}
+
+	T(YAFFS_TRACE_SCAN,
+	(TSTR("%d blocks to be sorted..." TENDSTR), nBlocksToScan));
+
+
+
+	YYIELD();
+
+	/* Sort the blocks */
+#ifndef CONFIG_YAFFS_USE_OWN_SORT
+	{
+		/* Use qsort now. */
+		yaffs_qsort(blockIndex, nBlocksToScan, sizeof(yaffs_BlockIndex), ybicmp);
+	}
+#else
+	{
+	 	/* Dungy old bubble sort... */
+	 	
+		yaffs_BlockIndex temp;
+		int i;
+		int j;
+
+		for (i = 0; i < nBlocksToScan; i++)
+			for (j = i + 1; j < nBlocksToScan; j++)
+				if (blockIndex[i].seq > blockIndex[j].seq) {
+					temp = blockIndex[j];
+					blockIndex[j] = blockIndex[i];
+					blockIndex[i] = temp;
+				}
+	}
+#endif
+
+	YYIELD();
+
+    	T(YAFFS_TRACE_SCAN, (TSTR("...done" TENDSTR)));
+
+	/* Now scan the blocks looking at the data. */
+	startIterator = 0;
+	endIterator = nBlocksToScan - 1;
+	T(YAFFS_TRACE_SCAN_DEBUG,
+	  (TSTR("%d blocks to be scanned" TENDSTR), nBlocksToScan));
+
+	/* For each block.... backwards */
+	for (blockIterator = endIterator; !alloc_failed && blockIterator >= startIterator;
+	     blockIterator--) {
+	        /* Cooperative multitasking! This loop can run for so
+		   long that watchdog timers expire. */
+	        YYIELD();
+
+		/* get the block to scan in the correct order */
+		blk = blockIndex[blockIterator].block;
+
+		bi = yaffs_GetBlockInfo(dev, blk);
+		
+		
+		state = bi->blockState;
+
+		deleted = 0;
+
+		/* For each chunk in each block that needs scanning.... */
+		foundChunksInBlock = 0;
+		for (c = dev->nChunksPerBlock - 1; 
+		     !alloc_failed && c >= 0 &&
+		     (state == YAFFS_BLOCK_STATE_NEEDS_SCANNING ||
+		      state == YAFFS_BLOCK_STATE_ALLOCATING); c--) {
+			/* Scan backwards... 
+			 * Read the tags and decide what to do
+			 */
+			
+			chunk = blk * dev->nChunksPerBlock + c;
+
+			result = yaffs_ReadChunkWithTagsFromNAND(dev, chunk, NULL,
+							&tags);
+
+			/* Let's have a good look at this chunk... */
+
+			if (!tags.chunkUsed) {
+				/* An unassigned chunk in the block.
+				 * If there are used chunks after this one, then
+				 * it is a chunk that was skipped due to failing the erased
+				 * check. Just skip it so that it can be deleted.
+				 * But, more typically, We get here when this is an unallocated
+				 * chunk and his means that either the block is empty or 
+				 * this is the one being allocated from
+				 */
+
+				if(foundChunksInBlock)
+				{
+					/* This is a chunk that was skipped due to failing the erased check */
+					
+				} else if (c == 0) {
+					/* We're looking at the first chunk in the block so the block is unused */
+					state = YAFFS_BLOCK_STATE_EMPTY;
+					dev->nErasedBlocks++;
+				} else {
+					if (state == YAFFS_BLOCK_STATE_NEEDS_SCANNING ||
+					    state == YAFFS_BLOCK_STATE_ALLOCATING) {
+					    	if(dev->sequenceNumber == bi->sequenceNumber) {
+							/* this is the block being allocated from */
+					    	
+							T(YAFFS_TRACE_SCAN,
+							  (TSTR
+							   (" Allocating from %d %d"
+							    TENDSTR), blk, c));
+
+							state = YAFFS_BLOCK_STATE_ALLOCATING;
+							dev->allocationBlock = blk;
+							dev->allocationPage = c;
+							dev->allocationBlockFinder = blk;	
+						}
+						else {
+							/* This is a partially written block that is not
+							 * the current allocation block. This block must have
+							 * had a write failure, so set up for retirement.
+							 */
+						  
+							 /* bi->needsRetiring = 1; ??? TODO */
+							 bi->gcPrioritise = 1;
+							 						 
+							 T(YAFFS_TRACE_ALWAYS,
+							 (TSTR("Partially written block %d detected" TENDSTR),
+							 blk));
+						}
+
+					}
+					 
+				}
+
+				dev->nFreeChunks++;
+				
+			} else if (tags.eccResult == YAFFS_ECC_RESULT_UNFIXED){
+				T(YAFFS_TRACE_SCAN,
+				  (TSTR(" Unfixed ECC in chunk(%d:%d), chunk ignored"TENDSTR),
+				  blk, c));
+
+				  dev->nFreeChunks++;
+
+			}else if (tags.chunkId > 0) {
+				/* chunkId > 0 so it is a data chunk... */
+				unsigned int endpos;
+				__u32 chunkBase =
+				    (tags.chunkId - 1) * dev->nDataBytesPerChunk;
+								
+				foundChunksInBlock = 1;
+
+
+				yaffs_SetChunkBit(dev, blk, c);
+				bi->pagesInUse++;
+
+				in = yaffs_FindOrCreateObjectByNumber(dev,
+								      tags.
+								      objectId,
+								      YAFFS_OBJECT_TYPE_FILE);
+				if(!in){
+					/* Out of memory */
+					alloc_failed = 1;
+				}
+				
+				if (in &&
+				    in->variantType == YAFFS_OBJECT_TYPE_FILE
+				    && chunkBase <
+				    in->variant.fileVariant.shrinkSize) {
+					/* This has not been invalidated by a resize */
+					if(!yaffs_PutChunkIntoFile(in, tags.chunkId,
+							       chunk, -1)){
+						alloc_failed = 1;
+					}
+
+					/* File size is calculated by looking at the data chunks if we have not 
+					 * seen an object header yet. Stop this practice once we find an object header.
+					 */
+					endpos =
+					    (tags.chunkId -
+					     1) * dev->nDataBytesPerChunk +
+					    tags.byteCount;
+					    
+					if (!in->valid &&	/* have not got an object header yet */
+					    in->variant.fileVariant.
+					    scannedFileSize < endpos) {
+						in->variant.fileVariant.
+						    scannedFileSize = endpos;
+						in->variant.fileVariant.
+						    fileSize =
+						    in->variant.fileVariant.
+						    scannedFileSize;
+					}
+
+				} else if(in) {
+					/* This chunk has been invalidated by a resize, so delete */
+					yaffs_DeleteChunk(dev, chunk, 1, __LINE__);
+
+				}
+			} else {
+				/* chunkId == 0, so it is an ObjectHeader.
+				 * Thus, we read in the object header and make the object
+				 */
+				foundChunksInBlock = 1;
+
+				yaffs_SetChunkBit(dev, blk, c);
+				bi->pagesInUse++;
+
+				oh = NULL;
+				in = NULL;
+
+				if (tags.extraHeaderInfoAvailable) {
+					in = yaffs_FindOrCreateObjectByNumber
+					    (dev, tags.objectId,
+					     tags.extraObjectType);
+					if (!in)
+						alloc_failed = 1;
+				}
+
+				if (!in ||
+#ifdef CONFIG_YAFFS_DISABLE_LAZY_LOAD
+				    !in->valid ||
+#endif
+				    tags.extraShadows ||
+				    (!in->valid &&
+				    (tags.objectId == YAFFS_OBJECTID_ROOT ||
+				     tags.objectId == YAFFS_OBJECTID_LOSTNFOUND))
+				    ) {
+
+					/* If we don't have  valid info then we need to read the chunk
+					 * TODO In future we can probably defer reading the chunk and 
+					 * living with invalid data until needed.
+					 */
+
+					result = yaffs_ReadChunkWithTagsFromNAND(dev,
+									chunk,
+									chunkData,
+									NULL);
+
+					oh = (yaffs_ObjectHeader *) chunkData;
+					
+					if(dev->inbandTags){
+						/* Fix up the header if they got corrupted by inband tags */
+						oh->shadowsObject = oh->inbandShadowsObject;
+						oh->isShrink = oh->inbandIsShrink;
+					}
+
+					if (!in) {
+						in = yaffs_FindOrCreateObjectByNumber(dev, tags.objectId, oh->type);
+						if (!in)
+							alloc_failed = 1;
+					}
+
+				}
+
+				if (!in) {
+					/* TODO Hoosterman we have a problem! */
+					T(YAFFS_TRACE_ERROR,
+					  (TSTR
+					   ("yaffs tragedy: Could not make object for object  %d at chunk %d during scan"
+					    TENDSTR), tags.objectId, chunk));
+					continue;
+				}
+
+				if (in->valid) {
+					/* We have already filled this one.
+					 * We have a duplicate that will be discarded, but 
+					 * we first have to suck out resize info if it is a file.
+					 */
+
+					if ((in->variantType == YAFFS_OBJECT_TYPE_FILE) && 
+					     ((oh && 
+					       oh-> type == YAFFS_OBJECT_TYPE_FILE)||
+					      (tags.extraHeaderInfoAvailable  &&
+					       tags.extraObjectType == YAFFS_OBJECT_TYPE_FILE))
+					    ) {
+						__u32 thisSize =
+						    (oh) ? oh->fileSize : tags.
+						    extraFileLength;
+						__u32 parentObjectId =
+						    (oh) ? oh->
+						    parentObjectId : tags.
+						    extraParentObjectId;
+						
+						
+						isShrink =
+						    (oh) ? oh->isShrink : tags.
+						    extraIsShrinkHeader;
+
+						/* If it is deleted (unlinked at start also means deleted)
+						 * we treat the file size as being zeroed at this point.
+						 */
+						if (parentObjectId ==
+						    YAFFS_OBJECTID_DELETED
+						    || parentObjectId ==
+						    YAFFS_OBJECTID_UNLINKED) {
+							thisSize = 0;
+							isShrink = 1;
+						}
+
+						if (isShrink &&
+						    in->variant.fileVariant.
+						    shrinkSize > thisSize) {
+							in->variant.fileVariant.
+							    shrinkSize =
+							    thisSize;
+						}
+
+						if (isShrink) {
+							bi->hasShrinkHeader = 1;
+						}
+
+					}
+					/* Use existing - destroy this one. */
+					yaffs_DeleteChunk(dev, chunk, 1, __LINE__);
+
+				}
+
+				if (!in->valid && in->variantType !=
+				    (oh ? oh->type : tags.extraObjectType))
+					T(YAFFS_TRACE_ERROR, (
+						TSTR("yaffs tragedy: Bad object type, "
+					    TCONT("%d != %d, for object %d at chunk ")
+					    TCONT("%d during scan")
+						TENDSTR), oh ?
+					    oh->type : tags.extraObjectType,
+					    in->variantType, tags.objectId,
+					    chunk));
+
+				if (!in->valid &&
+				    (tags.objectId == YAFFS_OBJECTID_ROOT ||
+				     tags.objectId ==
+				     YAFFS_OBJECTID_LOSTNFOUND)) {
+					/* We only load some info, don't fiddle with directory structure */
+					in->valid = 1;
+					
+					if(oh) {
+						in->variantType = oh->type;
+
+						in->yst_mode = oh->yst_mode;
+#ifdef CONFIG_YAFFS_WINCE
+						in->win_atime[0] = oh->win_atime[0];
+						in->win_ctime[0] = oh->win_ctime[0];
+						in->win_mtime[0] = oh->win_mtime[0];
+						in->win_atime[1] = oh->win_atime[1];
+						in->win_ctime[1] = oh->win_ctime[1];
+						in->win_mtime[1] = oh->win_mtime[1];
+#else
+						in->yst_uid = oh->yst_uid;
+						in->yst_gid = oh->yst_gid;
+						in->yst_atime = oh->yst_atime;
+						in->yst_mtime = oh->yst_mtime;
+						in->yst_ctime = oh->yst_ctime;
+						in->yst_rdev = oh->yst_rdev;
+		
+#endif
+					} else {
+						in->variantType = tags.extraObjectType;
+						in->lazyLoaded = 1;
+					}
+
+					in->hdrChunk = chunk;
+
+				} else if (!in->valid) {
+					/* we need to load this info */
+
+					in->valid = 1;
+					in->hdrChunk = chunk;
+
+					if(oh) {
+						in->variantType = oh->type;
+
+						in->yst_mode = oh->yst_mode;
+#ifdef CONFIG_YAFFS_WINCE
+						in->win_atime[0] = oh->win_atime[0];
+						in->win_ctime[0] = oh->win_ctime[0];
+						in->win_mtime[0] = oh->win_mtime[0];
+						in->win_atime[1] = oh->win_atime[1];
+						in->win_ctime[1] = oh->win_ctime[1];
+						in->win_mtime[1] = oh->win_mtime[1];
+#else
+						in->yst_uid = oh->yst_uid;
+						in->yst_gid = oh->yst_gid;
+						in->yst_atime = oh->yst_atime;
+						in->yst_mtime = oh->yst_mtime;
+						in->yst_ctime = oh->yst_ctime;
+						in->yst_rdev = oh->yst_rdev;
+#endif
+
+						if (oh->shadowsObject > 0) 
+							yaffs_HandleShadowedObject(dev,
+									   oh->
+									   shadowsObject,
+									   1);
+					
+
+						yaffs_SetObjectName(in, oh->name);
+						parent =
+						    yaffs_FindOrCreateObjectByNumber
+					    		(dev, oh->parentObjectId,
+					     		 YAFFS_OBJECT_TYPE_DIRECTORY);
+
+						 fileSize = oh->fileSize;
+ 						 isShrink = oh->isShrink;
+						 equivalentObjectId = oh->equivalentObjectId;
+
+					}
+					else {
+						in->variantType = tags.extraObjectType;
+						parent =
+						    yaffs_FindOrCreateObjectByNumber
+					    		(dev, tags.extraParentObjectId,
+					     		 YAFFS_OBJECT_TYPE_DIRECTORY);
+						 fileSize = tags.extraFileLength;
+						 isShrink = tags.extraIsShrinkHeader;
+						 equivalentObjectId = tags.extraEquivalentObjectId;
+						in->lazyLoaded = 1;
+
+					}
+					in->dirty = 0;
+
+					if (!parent)
+						alloc_failed = 1;
+
+					/* directory stuff...
+					 * hook up to parent
+					 */
+
+					if (parent && parent->variantType ==
+					    YAFFS_OBJECT_TYPE_UNKNOWN) {
+                                                /* Set up as a directory */
+                                                parent->variantType =
+                                                    YAFFS_OBJECT_TYPE_DIRECTORY;
+                                                YINIT_LIST_HEAD(&parent->variant.
+                                                               directoryVariant.
+                                                               children);
+                                        } else if (!parent || parent->variantType !=
+						   YAFFS_OBJECT_TYPE_DIRECTORY)
+					{
+						/* Hoosterman, another problem....
+						 * We're trying to use a non-directory as a directory
+						 */
+
+						T(YAFFS_TRACE_ERROR,
+						  (TSTR
+						   ("yaffs tragedy: attempting to use non-directory as a directory in scan. Put in lost+found."
+						    TENDSTR)));
+						parent = dev->lostNFoundDir;
+					}
+
+					yaffs_AddObjectToDirectory(parent, in);
+
+					itsUnlinked = (parent == dev->deletedDir) ||
+						      (parent == dev->unlinkedDir);
+
+					if (isShrink) {
+						/* Mark the block as having a shrinkHeader */
+						bi->hasShrinkHeader = 1;
+					}
+
+					/* Note re hardlinks.
+					 * Since we might scan a hardlink before its equivalent object is scanned
+					 * we put them all in a list.
+					 * After scanning is complete, we should have all the objects, so we run
+					 * through this list and fix up all the chains.              
+					 */
+
+					switch (in->variantType) {
+					case YAFFS_OBJECT_TYPE_UNKNOWN:	
+						/* Todo got a problem */
+						break;
+					case YAFFS_OBJECT_TYPE_FILE:
+
+						if (in->variant.fileVariant.
+						    scannedFileSize < fileSize) {
+							/* This covers the case where the file size is greater
+							 * than where the data is
+							 * This will happen if the file is resized to be larger 
+							 * than its current data extents.
+							 */
+							in->variant.fileVariant.fileSize = fileSize;
+							in->variant.fileVariant.scannedFileSize =
+							    in->variant.fileVariant.fileSize;
+						}
+
+						if (isShrink &&
+						    in->variant.fileVariant.shrinkSize > fileSize) {
+							in->variant.fileVariant.shrinkSize = fileSize;
+						}
+
+						break;
+					case YAFFS_OBJECT_TYPE_HARDLINK:
+						if(!itsUnlinked) {
+                                                  in->variant.hardLinkVariant.equivalentObjectId =
+                                                    equivalentObjectId;
+                                                  in->hardLinks.next =
+                                                    (struct ylist_head *) hardList;
+                                                  hardList = in;
+                                                }
+                                                break;
+					case YAFFS_OBJECT_TYPE_DIRECTORY:
+						/* Do nothing */
+						break;
+					case YAFFS_OBJECT_TYPE_SPECIAL:
+						/* Do nothing */
+						break;
+					case YAFFS_OBJECT_TYPE_SYMLINK:
+						if(oh){
+						   in->variant.symLinkVariant.alias =
+						    yaffs_CloneString(oh->
+								      alias);
+						   if(!in->variant.symLinkVariant.alias)
+						   	alloc_failed = 1;
+						}
+						break;
+					}
+
+				}
+				
+			}
+
+		} /* End of scanning for each chunk */
+
+		if (state == YAFFS_BLOCK_STATE_NEEDS_SCANNING) {
+			/* If we got this far while scanning, then the block is fully allocated. */
+			state = YAFFS_BLOCK_STATE_FULL;
+		}
+
+		bi->blockState = state;
+
+		/* Now let's see if it was dirty */
+		if (bi->pagesInUse == 0 &&
+		    !bi->hasShrinkHeader &&
+		    bi->blockState == YAFFS_BLOCK_STATE_FULL) {
+			yaffs_BlockBecameDirty(dev, blk);
+		}
+
+	}
+
+	if (altBlockIndex) 
+		YFREE_ALT(blockIndex);
+	else
+		YFREE(blockIndex);
+	
+	/* Ok, we've done all the scanning.
+	 * Fix up the hard link chains.
+	 * We should now have scanned all the objects, now it's time to add these 
+	 * hardlinks.
+	 */
+	yaffs_HardlinkFixup(dev,hardList);
+	
+
+	yaffs_ReleaseTempBuffer(dev, chunkData, __LINE__);
+	
+	if(alloc_failed){
+		return YAFFS_FAIL;
+	}
+
+	T(YAFFS_TRACE_SCAN, (TSTR("yaffs_ScanBackwards ends" TENDSTR)));
+
+	return YAFFS_OK;
+}
+
+/*------------------------------  Directory Functions ----------------------------- */
+
+static void yaffs_VerifyObjectInDirectory(yaffs_Object *obj)
+{
+        struct ylist_head *lh;
+        yaffs_Object *listObj;
+        
+        int count = 0;
+
+	if(!obj){
+		T(YAFFS_TRACE_ALWAYS, (TSTR("No object to verify" TENDSTR)));
+		YBUG();
+	}
+
+        if(yaffs_SkipVerification(obj->myDev))
+                return;
+
+	if(!obj->parent){
+		T(YAFFS_TRACE_ALWAYS, (TSTR("Object does not have parent" TENDSTR)));
+		YBUG();
+	}
+		
+	if(obj->parent->variantType != YAFFS_OBJECT_TYPE_DIRECTORY){
+		T(YAFFS_TRACE_ALWAYS, (TSTR("Parent is not directory" TENDSTR)));
+		YBUG();
+	}
+	
+        /* Iterate through the objects in each hash entry */
+         
+        ylist_for_each(lh, &obj->parent->variant.directoryVariant.children) {
+		if (lh) {
+                        listObj = ylist_entry(lh, yaffs_Object, siblings);
+			yaffs_VerifyObject(listObj);
+			if(obj == listObj)
+				count ++;
+                }
+	 }
+	 
+	 if(count != 1){
+		T(YAFFS_TRACE_ALWAYS, (TSTR("Object in directory %d times" TENDSTR),count));
+		YBUG();
+	}
+
+}
+
+static void yaffs_VerifyDirectory(yaffs_Object *directory)
+{
+
+        struct ylist_head *lh;
+        yaffs_Object *listObj;
+        
+	if(!directory)
+		;//YBUG();
+
+        if(yaffs_SkipFullVerification(directory->myDev))
+                return;
+
+		
+	if(directory->variantType != YAFFS_OBJECT_TYPE_DIRECTORY){
+		T(YAFFS_TRACE_ALWAYS, (TSTR("Directory has wrong type: %d" TENDSTR),directory->variantType));
+		YBUG();
+	}
+	
+        /* Iterate through the objects in each hash entry */
+         
+        ylist_for_each(lh, &directory->variant.directoryVariant.children) {
+		if (lh) {
+                        listObj = ylist_entry(lh, yaffs_Object, siblings);
+			if(listObj->parent != directory){
+				T(YAFFS_TRACE_ALWAYS, (TSTR("Object in directory list has wrong parent %p" TENDSTR),listObj->parent));
+				YBUG();
+			}
+			yaffs_VerifyObjectInDirectory(listObj);
+                }
+	 }
+	 
+}
+
+
+static void yaffs_RemoveObjectFromDirectory(yaffs_Object * obj)
+{
+	yaffs_Device *dev = obj->myDev;
+	yaffs_Object *parent;
+	
+        yaffs_VerifyObjectInDirectory(obj);
+	parent = obj->parent;
+	
+	yaffs_VerifyDirectory(parent);
+
+        if(dev && dev->removeObjectCallback)
+                dev->removeObjectCallback(obj);
+
+           
+        ylist_del_init(&obj->siblings);
+        obj->parent = NULL;
+
+	yaffs_VerifyDirectory(parent);
+
+}
+
+
+static void yaffs_AddObjectToDirectory(yaffs_Object * directory,
+				       yaffs_Object * obj)
+{
+
+	if (!directory) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR
+		   ("tragedy: Trying to add an object to a null pointer directory"
+		    TENDSTR)));
+		YBUG();
+	}
+	if (directory->variantType != YAFFS_OBJECT_TYPE_DIRECTORY) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR
+		   ("tragedy: Trying to add an object to a non-directory"
+		    TENDSTR)));
+		YBUG();
+	}
+
+        if (obj->siblings.prev == NULL) {
+                /* Not initialised */
+                YBUG();
+
+        } else if (ylist_empty(&obj->siblings)) {
+        	// YBUG();
+        } 
+
+
+	yaffs_VerifyDirectory(directory);
+
+	yaffs_RemoveObjectFromDirectory(obj);
+        
+        
+        /* Now add it */
+        ylist_add(&obj->siblings, &directory->variant.directoryVariant.children);
+        obj->parent = directory;
+
+        if (directory == obj->myDev->unlinkedDir
+	    || directory == obj->myDev->deletedDir) {
+		obj->unlinked = 1;
+		obj->myDev->nUnlinkedFiles++;
+		obj->renameAllowed = 0;
+	}
+
+	yaffs_VerifyDirectory(directory);
+        yaffs_VerifyObjectInDirectory(obj);
+
+
+}
+
+yaffs_Object *yaffs_FindObjectByName(yaffs_Object * directory,
+				     const YCHAR * name)
+{
+        int sum;
+
+        struct ylist_head *i;
+        YCHAR buffer[YAFFS_MAX_NAME_LENGTH + 1];
+
+        yaffs_Object *l;
+
+	if (!name) {
+		return NULL;
+	}
+
+	if (!directory) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR
+		   ("tragedy: yaffs_FindObjectByName: null pointer directory"
+		    TENDSTR)));
+		YBUG();
+	}
+	if (directory->variantType != YAFFS_OBJECT_TYPE_DIRECTORY) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR
+		   ("tragedy: yaffs_FindObjectByName: non-directory" TENDSTR)));
+		YBUG();
+	}
+
+        sum = yaffs_CalcNameSum(name);
+
+        ylist_for_each(i, &directory->variant.directoryVariant.children) {
+                if (i) {
+                        l = ylist_entry(i, yaffs_Object, siblings);
+                        
+                        if(l->parent != directory)
+                        	YBUG();
+                        
+                        yaffs_CheckObjectDetailsLoaded(l);
+
+			/* Special case for lost-n-found */
+			if (l->objectId == YAFFS_OBJECTID_LOSTNFOUND) {
+				if (yaffs_strcmp(name, YAFFS_LOSTNFOUND_NAME) == 0) {
+					return l;
+				}
+			} else if (yaffs_SumCompare(l->sum, sum) || l->hdrChunk <= 0){
+				/* LostnFound chunk called Objxxx
+				 * Do a real check
+				 */
+				yaffs_GetObjectName(l, buffer,
+						    YAFFS_MAX_NAME_LENGTH);
+				if (yaffs_strncmp(name, buffer,YAFFS_MAX_NAME_LENGTH) == 0) {
+					return l;
+				}
+
+			}
+		}
+	}
+
+	return NULL;
+}
+
+
+#if 0
+int yaffs_ApplyToDirectoryChildren(yaffs_Object * theDir,
+                                   int (*fn) (yaffs_Object *))
+{
+        struct ylist_head *i;
+        yaffs_Object *l;
+
+        if (!theDir) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR
+		   ("tragedy: yaffs_FindObjectByName: null pointer directory"
+		    TENDSTR)));
+		YBUG();
+	}
+	if (theDir->variantType != YAFFS_OBJECT_TYPE_DIRECTORY) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR
+		   ("tragedy: yaffs_FindObjectByName: non-directory" TENDSTR)));
+                YBUG();
+        }
+
+        ylist_for_each(i, &theDir->variant.directoryVariant.children) {
+                if (i) {
+                        l = ylist_entry(i, yaffs_Object, siblings);
+                        if (l && !fn(l)) {
+                                return YAFFS_FAIL;
+                        }
+		}
+	}
+
+	return YAFFS_OK;
+
+}
+#endif
+
+/* GetEquivalentObject dereferences any hard links to get to the
+ * actual object.
+ */
+
+yaffs_Object *yaffs_GetEquivalentObject(yaffs_Object * obj)
+{
+	if (obj && obj->variantType == YAFFS_OBJECT_TYPE_HARDLINK) {
+		/* We want the object id of the equivalent object, not this one */
+		obj = obj->variant.hardLinkVariant.equivalentObject;
+		yaffs_CheckObjectDetailsLoaded(obj);
+	}
+	return obj;
+
+}
+
+int yaffs_GetObjectName(yaffs_Object * obj, YCHAR * name, int buffSize)
+{
+	memset(name, 0, buffSize * sizeof(YCHAR));
+	
+	yaffs_CheckObjectDetailsLoaded(obj);
+
+	if (obj->objectId == YAFFS_OBJECTID_LOSTNFOUND) {
+		yaffs_strncpy(name, YAFFS_LOSTNFOUND_NAME, buffSize - 1);
+	} else if (obj->hdrChunk <= 0) {
+		YCHAR locName[20];
+		YCHAR numString[20];
+		YCHAR *x = &numString[19];
+		unsigned v = obj->objectId;
+		numString[19] = 0;
+		while(v>0){
+			x--;
+			*x = '0' + (v % 10);
+			v /= 10;
+		}
+		/* make up a name */
+		yaffs_strcpy(locName, YAFFS_LOSTNFOUND_PREFIX);
+		yaffs_strcat(locName,x);
+		yaffs_strncpy(name, locName, buffSize - 1);
+
+	}
+#ifdef CONFIG_YAFFS_SHORT_NAMES_IN_RAM
+	else if (obj->shortName[0]) {
+		yaffs_strcpy(name, obj->shortName);
+	}
+#endif
+	else {
+		int result;
+		__u8 *buffer = yaffs_GetTempBuffer(obj->myDev, __LINE__);
+
+		yaffs_ObjectHeader *oh = (yaffs_ObjectHeader *) buffer;
+
+		memset(buffer, 0, obj->myDev->nDataBytesPerChunk);
+
+		if (obj->hdrChunk > 0) {
+			result = yaffs_ReadChunkWithTagsFromNAND(obj->myDev,
+							obj->hdrChunk, buffer,
+							NULL);
+		}
+		yaffs_strncpy(name, oh->name, buffSize - 1);
+
+		yaffs_ReleaseTempBuffer(obj->myDev, buffer, __LINE__);
+	}
+
+	return yaffs_strlen(name);
+}
+
+int yaffs_GetObjectFileLength(yaffs_Object * obj)
+{
+
+	/* Dereference any hard linking */
+	obj = yaffs_GetEquivalentObject(obj);
+
+	if (obj->variantType == YAFFS_OBJECT_TYPE_FILE) {
+		return obj->variant.fileVariant.fileSize;
+	}
+	if (obj->variantType == YAFFS_OBJECT_TYPE_SYMLINK) {
+		return yaffs_strlen(obj->variant.symLinkVariant.alias);
+	} else {
+		/* Only a directory should drop through to here */
+		return obj->myDev->nDataBytesPerChunk;
+	}
+}
+
+int yaffs_GetObjectLinkCount(yaffs_Object * obj)
+{
+        int count = 0;
+        struct ylist_head *i;
+
+        if (!obj->unlinked) {
+                count++;        /* the object itself */
+        }
+        ylist_for_each(i, &obj->hardLinks) {
+                count++;        /* add the hard links; */
+        }
+        return count;
+
+}
+
+int yaffs_GetObjectInode(yaffs_Object * obj)
+{
+	obj = yaffs_GetEquivalentObject(obj);
+
+	return obj->objectId;
+}
+
+unsigned yaffs_GetObjectType(yaffs_Object * obj)
+{
+	obj = yaffs_GetEquivalentObject(obj);
+
+	switch (obj->variantType) {
+	case YAFFS_OBJECT_TYPE_FILE:
+		return DT_REG;
+		break;
+	case YAFFS_OBJECT_TYPE_DIRECTORY:
+		return DT_DIR;
+		break;
+	case YAFFS_OBJECT_TYPE_SYMLINK:
+		return DT_LNK;
+		break;
+	case YAFFS_OBJECT_TYPE_HARDLINK:
+		return DT_REG;
+		break;
+	case YAFFS_OBJECT_TYPE_SPECIAL:
+		if (S_ISFIFO(obj->yst_mode))
+			return DT_FIFO;
+		if (S_ISCHR(obj->yst_mode))
+			return DT_CHR;
+		if (S_ISBLK(obj->yst_mode))
+			return DT_BLK;
+		if (S_ISSOCK(obj->yst_mode))
+			return DT_SOCK;
+	default:
+		return DT_REG;
+		break;
+	}
+}
+
+YCHAR *yaffs_GetSymlinkAlias(yaffs_Object * obj)
+{
+	obj = yaffs_GetEquivalentObject(obj);
+	if (obj->variantType == YAFFS_OBJECT_TYPE_SYMLINK) {
+		return yaffs_CloneString(obj->variant.symLinkVariant.alias);
+	} else {
+		return yaffs_CloneString(_Y(""));
+	}
+}
+
+#ifndef CONFIG_YAFFS_WINCE
+
+int yaffs_SetAttributes(yaffs_Object * obj, struct iattr *attr)
+{
+	unsigned int valid = attr->ia_valid;
+
+	if (valid & ATTR_MODE)
+		obj->yst_mode = attr->ia_mode;
+	if (valid & ATTR_UID)
+		obj->yst_uid = attr->ia_uid;
+	if (valid & ATTR_GID)
+		obj->yst_gid = attr->ia_gid;
+
+	if (valid & ATTR_ATIME)
+		obj->yst_atime = Y_TIME_CONVERT(attr->ia_atime);
+	if (valid & ATTR_CTIME)
+		obj->yst_ctime = Y_TIME_CONVERT(attr->ia_ctime);
+	if (valid & ATTR_MTIME)
+		obj->yst_mtime = Y_TIME_CONVERT(attr->ia_mtime);
+
+	if (valid & ATTR_SIZE)
+		yaffs_ResizeFile(obj, attr->ia_size);
+
+	yaffs_UpdateObjectHeader(obj, NULL, 1, 0, 0);
+
+	return YAFFS_OK;
+
+}
+int yaffs_GetAttributes(yaffs_Object * obj, struct iattr *attr)
+{
+	unsigned int valid = 0;
+
+	attr->ia_mode = obj->yst_mode;
+	valid |= ATTR_MODE;
+	attr->ia_uid = obj->yst_uid;
+	valid |= ATTR_UID;
+	attr->ia_gid = obj->yst_gid;
+	valid |= ATTR_GID;
+
+	Y_TIME_CONVERT(attr->ia_atime) = obj->yst_atime;
+	valid |= ATTR_ATIME;
+	Y_TIME_CONVERT(attr->ia_ctime) = obj->yst_ctime;
+	valid |= ATTR_CTIME;
+	Y_TIME_CONVERT(attr->ia_mtime) = obj->yst_mtime;
+	valid |= ATTR_MTIME;
+
+	attr->ia_size = yaffs_GetFileSize(obj);
+	valid |= ATTR_SIZE;
+
+	attr->ia_valid = valid;
+
+	return YAFFS_OK;
+
+}
+
+#endif
+
+#if 0
+int yaffs_DumpObject(yaffs_Object * obj)
+{
+	YCHAR name[257];
+
+	yaffs_GetObjectName(obj, name, 256);
+
+	T(YAFFS_TRACE_ALWAYS,
+	  (TSTR
+	   ("Object %d, inode %d \"%s\"\n dirty %d valid %d serial %d sum %d"
+	    " chunk %d type %d size %d\n"
+	    TENDSTR), obj->objectId, yaffs_GetObjectInode(obj), name,
+	   obj->dirty, obj->valid, obj->serial, obj->sum, obj->hdrChunk,
+	   yaffs_GetObjectType(obj), yaffs_GetObjectFileLength(obj)));
+
+	return YAFFS_OK;
+}
+#endif
+
+/*---------------------------- Initialisation code -------------------------------------- */
+
+static int yaffs_CheckDevFunctions(const yaffs_Device * dev)
+{
+
+	/* Common functions, gotta have */
+	if (!dev->eraseBlockInNAND || !dev->initialiseNAND)
+		return 0;
+
+#ifdef CONFIG_YAFFS_YAFFS2
+
+	/* Can use the "with tags" style interface for yaffs1 or yaffs2 */
+	if (dev->writeChunkWithTagsToNAND &&
+	    dev->readChunkWithTagsFromNAND &&
+	    !dev->writeChunkToNAND &&
+	    !dev->readChunkFromNAND &&
+	    dev->markNANDBlockBad && dev->queryNANDBlock)
+		return 1;
+#endif
+
+	/* Can use the "spare" style interface for yaffs1 */
+	if (!dev->isYaffs2 &&
+	    !dev->writeChunkWithTagsToNAND &&
+	    !dev->readChunkWithTagsFromNAND &&
+	    dev->writeChunkToNAND &&
+	    dev->readChunkFromNAND &&
+	    !dev->markNANDBlockBad && !dev->queryNANDBlock)
+		return 1;
+
+	return 0;		/* bad */
+}
+
+
+static int yaffs_CreateInitialDirectories(yaffs_Device *dev)
+{
+	/* Initialise the unlinked, deleted, root and lost and found directories */
+	
+	dev->lostNFoundDir = dev->rootDir =  NULL;
+	dev->unlinkedDir = dev->deletedDir = NULL;
+
+	dev->unlinkedDir =
+	    yaffs_CreateFakeDirectory(dev, YAFFS_OBJECTID_UNLINKED, S_IFDIR);
+	
+	dev->deletedDir =
+	    yaffs_CreateFakeDirectory(dev, YAFFS_OBJECTID_DELETED, S_IFDIR);
+
+	dev->rootDir =
+	    yaffs_CreateFakeDirectory(dev, YAFFS_OBJECTID_ROOT,
+				      YAFFS_ROOT_MODE | S_IFDIR);
+	dev->lostNFoundDir =
+	    yaffs_CreateFakeDirectory(dev, YAFFS_OBJECTID_LOSTNFOUND,
+				      YAFFS_LOSTNFOUND_MODE | S_IFDIR);
+	
+	if(dev->lostNFoundDir && dev->rootDir && dev->unlinkedDir && dev->deletedDir){
+		yaffs_AddObjectToDirectory(dev->rootDir, dev->lostNFoundDir);
+		return YAFFS_OK;
+	}
+	
+	return YAFFS_FAIL;
+}
+
+int yaffs_GutsInitialise(yaffs_Device * dev)
+{
+	int init_failed = 0;
+	unsigned x;
+	int bits;
+
+	T(YAFFS_TRACE_TRACING, (TSTR("yaffs: yaffs_GutsInitialise()" TENDSTR)));
+
+	/* Check stuff that must be set */
+
+	if (!dev) {
+		T(YAFFS_TRACE_ALWAYS, (TSTR("yaffs: Need a device" TENDSTR)));
+		return YAFFS_FAIL;
+	}
+
+	dev->internalStartBlock = dev->startBlock;
+	dev->internalEndBlock = dev->endBlock;
+	dev->blockOffset = 0;
+	dev->chunkOffset = 0;
+	dev->nFreeChunks = 0;
+	
+	dev->gcBlock = -1;
+
+	if (dev->startBlock == 0) {
+		dev->internalStartBlock = dev->startBlock + 1;
+		dev->internalEndBlock = dev->endBlock + 1;
+		dev->blockOffset = 1;
+		dev->chunkOffset = dev->nChunksPerBlock;
+	}
+
+	/* Check geometry parameters. */
+
+	if ((!dev->inbandTags && dev->isYaffs2 && dev->totalBytesPerChunk < 1024) || 
+	    (!dev->isYaffs2 && dev->totalBytesPerChunk < 512) || 
+	    (dev->inbandTags && !dev->isYaffs2 ) ||
+	     dev->nChunksPerBlock < 2 || 
+	     dev->nReservedBlocks < 2 || 
+	     dev->internalStartBlock <= 0 || 
+	     dev->internalEndBlock <= 0 || 
+	     dev->internalEndBlock <= (dev->internalStartBlock + dev->nReservedBlocks + 2)	// otherwise it is too small
+	    ) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR
+		   ("yaffs: NAND geometry problems: chunk size %d, type is yaffs%s, inbandTags %d "
+		    TENDSTR), dev->totalBytesPerChunk, dev->isYaffs2 ? "2" : "", dev->inbandTags));
+		return YAFFS_FAIL;
+	}
+
+	if (yaffs_InitialiseNAND(dev) != YAFFS_OK) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR("yaffs: InitialiseNAND failed" TENDSTR)));
+		return YAFFS_FAIL;
+	}
+	
+	/* Sort out space for inband tags, if required */
+	if(dev->inbandTags)
+		dev->nDataBytesPerChunk = dev->totalBytesPerChunk - sizeof(yaffs_PackedTags2TagsPart);
+	else 
+		dev->nDataBytesPerChunk = dev->totalBytesPerChunk;
+
+	/* Got the right mix of functions? */
+	if (!yaffs_CheckDevFunctions(dev)) {
+		/* Function missing */
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR
+		   ("yaffs: device function(s) missing or wrong\n" TENDSTR)));
+
+		return YAFFS_FAIL;
+	}
+
+	/* This is really a compilation check. */
+	if (!yaffs_CheckStructures()) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR("yaffs_CheckStructures failed\n" TENDSTR)));
+		return YAFFS_FAIL;
+	}
+
+	if (dev->isMounted) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR("yaffs: device already mounted\n" TENDSTR)));
+		return YAFFS_FAIL;
+	}
+
+	/* Finished with most checks. One or two more checks happen later on too. */
+
+	dev->isMounted = 1;
+
+	/* OK now calculate a few things for the device */
+	
+	/*
+	 *  Calculate all the chunk size manipulation numbers: 	 
+	 */
+	x = dev->nDataBytesPerChunk;
+	/* We always use dev->chunkShift and dev->chunkDiv */
+	dev->chunkShift = Shifts(x);
+	x >>= dev->chunkShift;
+	dev->chunkDiv = x;
+	/* We only use chunk mask if chunkDiv is 1 */
+	dev->chunkMask = (1<<dev->chunkShift) - 1;
+	 	
+	/*
+	 * Calculate chunkGroupBits.
+	 * We need to find the next power of 2 > than internalEndBlock
+	 */
+
+	x = dev->nChunksPerBlock * (dev->internalEndBlock + 1);
+	
+	bits = ShiftsGE(x);
+	
+	/* Set up tnode width if wide tnodes are enabled. */
+	if(!dev->wideTnodesDisabled){
+		/* bits must be even so that we end up with 32-bit words */
+		if(bits & 1)
+			bits++;
+		if(bits < 16)
+			dev->tnodeWidth = 16;
+		else
+			dev->tnodeWidth = bits;
+	}
+	else
+		dev->tnodeWidth = 16;
+ 
+	dev->tnodeMask = (1<<dev->tnodeWidth)-1;
+		
+	/* Level0 Tnodes are 16 bits or wider (if wide tnodes are enabled),
+	 * so if the bitwidth of the
+	 * chunk range we're using is greater than 16 we need
+	 * to figure out chunk shift and chunkGroupSize
+	 */
+		 
+	if (bits <= dev->tnodeWidth)
+		dev->chunkGroupBits = 0;
+	else
+		dev->chunkGroupBits = bits - dev->tnodeWidth;
+		
+
+	dev->chunkGroupSize = 1 << dev->chunkGroupBits;
+
+	if (dev->nChunksPerBlock < dev->chunkGroupSize) {
+		/* We have a problem because the soft delete won't work if
+		 * the chunk group size > chunks per block.
+		 * This can be remedied by using larger "virtual blocks".
+		 */
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR("yaffs: chunk group too large\n" TENDSTR)));
+
+		return YAFFS_FAIL;
+	}
+
+	/* OK, we've finished verifying the device, lets continue with initialisation */
+
+	/* More device initialisation */
+	dev->garbageCollections = 0;
+	dev->passiveGarbageCollections = 0;
+	dev->currentDirtyChecker = 0;
+	dev->bufferedBlock = -1;
+	dev->doingBufferedBlockRewrite = 0;
+	dev->nDeletedFiles = 0;
+	dev->nBackgroundDeletions = 0;
+	dev->nUnlinkedFiles = 0;
+	dev->eccFixed = 0;
+	dev->eccUnfixed = 0;
+	dev->tagsEccFixed = 0;
+	dev->tagsEccUnfixed = 0;
+	dev->nErasureFailures = 0;
+	dev->nErasedBlocks = 0;
+	dev->isDoingGC = 0;
+	dev->hasPendingPrioritisedGCs = 1; /* Assume the worst for now, will get fixed on first GC */
+
+	/* Initialise temporary buffers and caches. */
+	if(!yaffs_InitialiseTempBuffers(dev))
+		init_failed = 1;
+	
+	dev->srCache = NULL;
+	dev->gcCleanupList = NULL;
+	
+	
+	if (!init_failed &&
+	    dev->nShortOpCaches > 0) {
+		int i;
+		void *buf;
+		int srCacheBytes = dev->nShortOpCaches * sizeof(yaffs_ChunkCache);
+
+		if (dev->nShortOpCaches > YAFFS_MAX_SHORT_OP_CACHES) {
+			dev->nShortOpCaches = YAFFS_MAX_SHORT_OP_CACHES;
+		}
+
+		dev->srCache =  YMALLOC(srCacheBytes);
+		
+		buf = (__u8 *) dev->srCache;
+		    
+		if(dev->srCache)
+			memset(dev->srCache,0,srCacheBytes);
+		   
+		for (i = 0; i < dev->nShortOpCaches && buf; i++) {
+			dev->srCache[i].object = NULL;
+			dev->srCache[i].lastUse = 0;
+			dev->srCache[i].dirty = 0;
+			dev->srCache[i].data = buf = YMALLOC_DMA(dev->totalBytesPerChunk);
+		}
+		if(!buf)
+			init_failed = 1;
+			
+		dev->srLastUse = 0;
+	}
+
+	dev->cacheHits = 0;
+	
+	if(!init_failed){
+		dev->gcCleanupList = YMALLOC(dev->nChunksPerBlock * sizeof(__u32));
+		if(!dev->gcCleanupList)
+			init_failed = 1;
+	}
+
+	if (dev->isYaffs2) {
+		dev->useHeaderFileSize = 1;
+	}
+	if(!init_failed && !yaffs_InitialiseBlocks(dev))
+		init_failed = 1;
+		
+	yaffs_InitialiseTnodes(dev);
+	yaffs_InitialiseObjects(dev);
+
+	if(!init_failed && !yaffs_CreateInitialDirectories(dev))
+		init_failed = 1;
+
+
+	if(!init_failed){
+		/* Now scan the flash. */
+		if (dev->isYaffs2) {
+			if(yaffs_CheckpointRestore(dev)) {
+				yaffs_CheckObjectDetailsLoaded(dev->rootDir);
+				T(YAFFS_TRACE_ALWAYS,
+				  (TSTR("yaffs: restored from checkpoint" TENDSTR)));
+			} else {
+
+				/* Clean up the mess caused by an aborted checkpoint load 
+				 * and scan backwards. 
+				 */
+				yaffs_DeinitialiseBlocks(dev);
+				yaffs_DeinitialiseTnodes(dev);
+				yaffs_DeinitialiseObjects(dev);
+				
+			
+				dev->nErasedBlocks = 0;
+				dev->nFreeChunks = 0;
+				dev->allocationBlock = -1;
+				dev->allocationPage = -1;
+				dev->nDeletedFiles = 0;
+				dev->nUnlinkedFiles = 0;
+				dev->nBackgroundDeletions = 0;
+				dev->oldestDirtySequence = 0;
+
+				if(!init_failed && !yaffs_InitialiseBlocks(dev))
+					init_failed = 1;
+					
+				yaffs_InitialiseTnodes(dev);
+				yaffs_InitialiseObjects(dev);
+
+				if(!init_failed && !yaffs_CreateInitialDirectories(dev))
+					init_failed = 1;
+
+				if(!init_failed && !yaffs_ScanBackwards(dev))
+					init_failed = 1;
+			}
+		}else
+			if(!yaffs_Scan(dev))
+				init_failed = 1;
+
+		yaffs_StripDeletedObjects(dev);
+	}
+		
+	if(init_failed){
+		/* Clean up the mess */
+		T(YAFFS_TRACE_TRACING,
+		  (TSTR("yaffs: yaffs_GutsInitialise() aborted.\n" TENDSTR)));
+
+		yaffs_Deinitialise(dev);
+		return YAFFS_FAIL;
+	}
+
+	/* Zero out stats */
+	dev->nPageReads = 0;
+	dev->nPageWrites = 0;
+	dev->nBlockErasures = 0;
+	dev->nGCCopies = 0;
+	dev->nRetriedWrites = 0;
+
+	dev->nRetiredBlocks = 0;
+
+	yaffs_VerifyFreeChunks(dev);
+	yaffs_VerifyBlocks(dev);
+	
+
+	T(YAFFS_TRACE_TRACING,
+	  (TSTR("yaffs: yaffs_GutsInitialise() done.\n" TENDSTR)));
+	return YAFFS_OK;
+
+}
+
+void yaffs_Deinitialise(yaffs_Device * dev)
+{
+	if (dev->isMounted) {
+		int i;
+
+		yaffs_DeinitialiseBlocks(dev);
+		yaffs_DeinitialiseTnodes(dev);
+		yaffs_DeinitialiseObjects(dev);
+		if (dev->nShortOpCaches > 0 &&
+		    dev->srCache) {
+
+			for (i = 0; i < dev->nShortOpCaches; i++) {
+				if(dev->srCache[i].data)
+					YFREE(dev->srCache[i].data);
+				dev->srCache[i].data = NULL;
+			}
+
+			YFREE(dev->srCache);
+			dev->srCache = NULL;
+		}
+
+		YFREE(dev->gcCleanupList);
+
+		for (i = 0; i < YAFFS_N_TEMP_BUFFERS; i++) {
+			YFREE(dev->tempBuffer[i].buffer);
+		}
+
+
+		dev->isMounted = 0;
+		
+		if(dev->deinitialiseNAND)
+			dev->deinitialiseNAND(dev);
+	}
+
+}
+
+static int yaffs_CountFreeChunks(yaffs_Device * dev)
+{
+	int nFree;
+	int b;
+
+	yaffs_BlockInfo *blk;
+
+	for (nFree = 0, b = dev->internalStartBlock; b <= dev->internalEndBlock;
+	     b++) {
+		blk = yaffs_GetBlockInfo(dev, b);
+
+		switch (blk->blockState) {
+		case YAFFS_BLOCK_STATE_EMPTY:
+		case YAFFS_BLOCK_STATE_ALLOCATING:
+		case YAFFS_BLOCK_STATE_COLLECTING:
+		case YAFFS_BLOCK_STATE_FULL:
+			nFree +=
+			    (dev->nChunksPerBlock - blk->pagesInUse +
+			     blk->softDeletions);
+			break;
+		default:
+			break;
+		}
+
+	}
+
+	return nFree;
+}
+
+int yaffs_GetNumberOfFreeChunks(yaffs_Device * dev)
+{
+	/* This is what we report to the outside world */
+
+	int nFree;
+	int nDirtyCacheChunks;
+	int blocksForCheckpoint;
+
+#if 1
+	nFree = dev->nFreeChunks;
+#else
+	nFree = yaffs_CountFreeChunks(dev);
+#endif
+
+	nFree += dev->nDeletedFiles;
+	
+	/* Now count the number of dirty chunks in the cache and subtract those */
+
+	{
+		int i;
+		for (nDirtyCacheChunks = 0, i = 0; i < dev->nShortOpCaches; i++) {
+			if (dev->srCache[i].dirty)
+				nDirtyCacheChunks++;
+		}
+	}
+
+	nFree -= nDirtyCacheChunks;
+
+	nFree -= ((dev->nReservedBlocks + 1) * dev->nChunksPerBlock);
+	
+	/* Now we figure out how much to reserve for the checkpoint and report that... */
+	blocksForCheckpoint = yaffs_CalcCheckpointBlocksRequired(dev) - dev->blocksInCheckpoint;
+	if(blocksForCheckpoint < 0)
+		blocksForCheckpoint = 0;
+		
+	nFree -= (blocksForCheckpoint * dev->nChunksPerBlock);
+
+	if (nFree < 0)
+		nFree = 0;
+
+	return nFree;
+
+}
+
+static int yaffs_freeVerificationFailures;
+
+static void yaffs_VerifyFreeChunks(yaffs_Device * dev)
+{
+	int counted;
+	int difference;
+	
+	if(yaffs_SkipVerification(dev))
+		return;
+	
+	counted = yaffs_CountFreeChunks(dev);
+
+	difference = dev->nFreeChunks - counted;
+
+	if (difference) {
+		T(YAFFS_TRACE_ALWAYS,
+		  (TSTR("Freechunks verification failure %d %d %d" TENDSTR),
+		   dev->nFreeChunks, counted, difference));
+		yaffs_freeVerificationFailures++;
+	}
+}
+
+/*---------------------------------------- YAFFS test code ----------------------*/
+
+#define yaffs_CheckStruct(structure,syze, name) \
+	do { \
+           if(sizeof(structure) != syze) \
+	       { \
+	         T(YAFFS_TRACE_ALWAYS,(TSTR("%s should be %d but is %d\n" TENDSTR),\
+		 name,syze,sizeof(structure))); \
+	         return YAFFS_FAIL; \
+		} \
+	} while(0)
+
+static int yaffs_CheckStructures(void)
+{
+/*      yaffs_CheckStruct(yaffs_Tags,8,"yaffs_Tags"); */
+/*      yaffs_CheckStruct(yaffs_TagsUnion,8,"yaffs_TagsUnion"); */
+/*      yaffs_CheckStruct(yaffs_Spare,16,"yaffs_Spare"); */
+#ifndef CONFIG_YAFFS_TNODE_LIST_DEBUG
+        yaffs_CheckStruct(yaffs_Tnode, 2 * YAFFS_NTNODES_LEVEL0, "yaffs_Tnode");
+#endif
+#ifndef CONFIG_YAFFS_WINCE
+		yaffs_CheckStruct(yaffs_ObjectHeader, 512, "yaffs_ObjectHeader");
+#endif
+	    return YAFFS_OK;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_guts.h linux-2.6.28.6/fs/yaffs2/yaffs_guts.h
--- linux-2.6.28/fs/yaffs2/yaffs_guts.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_guts.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,908 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system. 
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifndef __YAFFS_GUTS_H__
+#define __YAFFS_GUTS_H__
+
+#include "devextras.h"
+#include "yportenv.h"
+
+#define YAFFS_OK	1
+#define YAFFS_FAIL  0
+
+/* Give us a  Y=0x59, 
+ * Give us an A=0x41, 
+ * Give us an FF=0xFF 
+ * Give us an S=0x53
+ * And what have we got... 
+ */
+#define YAFFS_MAGIC			0x5941FF53
+
+#define YAFFS_NTNODES_LEVEL0	  	16
+#define YAFFS_TNODES_LEVEL0_BITS	4
+#define YAFFS_TNODES_LEVEL0_MASK	0xf
+
+#define YAFFS_NTNODES_INTERNAL 		(YAFFS_NTNODES_LEVEL0 / 2)
+#define YAFFS_TNODES_INTERNAL_BITS 	(YAFFS_TNODES_LEVEL0_BITS - 1)
+#define YAFFS_TNODES_INTERNAL_MASK	0x7
+#define YAFFS_TNODES_MAX_LEVEL		6
+
+#ifndef CONFIG_YAFFS_NO_YAFFS1
+#define YAFFS_BYTES_PER_SPARE		16
+#define YAFFS_BYTES_PER_CHUNK		512
+#define YAFFS_CHUNK_SIZE_SHIFT		9
+#define YAFFS_CHUNKS_PER_BLOCK		32
+#define YAFFS_BYTES_PER_BLOCK		(YAFFS_CHUNKS_PER_BLOCK*YAFFS_BYTES_PER_CHUNK)
+#endif
+
+#define YAFFS_MIN_YAFFS2_CHUNK_SIZE 	1024
+#define YAFFS_MIN_YAFFS2_SPARE_SIZE	32
+
+#define YAFFS_MAX_CHUNK_ID		0x000FFFFF
+
+#define YAFFS_UNUSED_OBJECT_ID		0x0003FFFF
+
+#define YAFFS_ALLOCATION_NOBJECTS	100
+#define YAFFS_ALLOCATION_NTNODES	100
+#define YAFFS_ALLOCATION_NLINKS		100
+
+#define YAFFS_NOBJECT_BUCKETS		256
+
+
+#define YAFFS_OBJECT_SPACE		0x40000
+
+#define YAFFS_CHECKPOINT_VERSION 	3
+
+#ifdef CONFIG_YAFFS_UNICODE
+#define YAFFS_MAX_NAME_LENGTH		127
+#define YAFFS_MAX_ALIAS_LENGTH		79
+#else
+#define YAFFS_MAX_NAME_LENGTH		255
+#define YAFFS_MAX_ALIAS_LENGTH		159
+#endif
+
+#define YAFFS_SHORT_NAME_LENGTH		15
+
+/* Some special object ids for pseudo objects */
+#define YAFFS_OBJECTID_ROOT		1
+#define YAFFS_OBJECTID_LOSTNFOUND	2
+#define YAFFS_OBJECTID_UNLINKED		3
+#define YAFFS_OBJECTID_DELETED		4
+
+/* Sseudo object ids for checkpointing */
+#define YAFFS_OBJECTID_SB_HEADER	0x10
+#define YAFFS_OBJECTID_CHECKPOINT_DATA	0x20
+#define YAFFS_SEQUENCE_CHECKPOINT_DATA  0x21
+
+/* */
+
+#define YAFFS_MAX_SHORT_OP_CACHES	20
+
+#define YAFFS_N_TEMP_BUFFERS		6
+
+/* We limit the number attempts at sucessfully saving a chunk of data.
+ * Small-page devices have 32 pages per block; large-page devices have 64.
+ * Default to something in the order of 5 to 10 blocks worth of chunks.
+ */
+#define YAFFS_WR_ATTEMPTS		(5*64)
+
+/* Sequence numbers are used in YAFFS2 to determine block allocation order.
+ * The range is limited slightly to help distinguish bad numbers from good.
+ * This also allows us to perhaps in the future use special numbers for
+ * special purposes.
+ * EFFFFF00 allows the allocation of 8 blocks per second (~1Mbytes) for 15 years, 
+ * and is a larger number than the lifetime of a 2GB device.
+ */
+#define YAFFS_LOWEST_SEQUENCE_NUMBER	0x00001000
+#define YAFFS_HIGHEST_SEQUENCE_NUMBER	0xEFFFFF00
+
+/* Special sequence number for bad block that failed to be marked bad */
+#define YAFFS_SEQUENCE_BAD_BLOCK	0xFFFF0000
+
+/* ChunkCache is used for short read/write operations.*/
+typedef struct {
+	struct yaffs_ObjectStruct *object;
+	int chunkId;
+	int lastUse;
+	int dirty;
+	int nBytes;		/* Only valid if the cache is dirty */
+	int locked;		/* Can't push out or flush while locked. */
+#ifdef CONFIG_YAFFS_YAFFS2
+	__u8 *data;
+#else
+	__u8 data[YAFFS_BYTES_PER_CHUNK];
+#endif
+} yaffs_ChunkCache;
+
+
+
+/* Tags structures in RAM
+ * NB This uses bitfield. Bitfields should not straddle a u32 boundary otherwise
+ * the structure size will get blown out.
+ */
+
+#ifndef CONFIG_YAFFS_NO_YAFFS1
+typedef struct {
+        unsigned chunkId:20;
+        unsigned serialNumber:2;
+        unsigned byteCountLSB:10;
+        unsigned objectId:18;
+        unsigned ecc:12;
+        unsigned byteCountMSB:2;
+
+} yaffs_Tags;
+
+typedef union {
+	yaffs_Tags asTags;
+	__u8 asBytes[8];
+} yaffs_TagsUnion;
+
+#endif
+
+/* Stuff used for extended tags in YAFFS2 */
+
+typedef enum {
+	YAFFS_ECC_RESULT_UNKNOWN,
+	YAFFS_ECC_RESULT_NO_ERROR,
+	YAFFS_ECC_RESULT_FIXED,
+	YAFFS_ECC_RESULT_UNFIXED
+} yaffs_ECCResult;
+
+typedef enum {
+	YAFFS_OBJECT_TYPE_UNKNOWN,
+	YAFFS_OBJECT_TYPE_FILE,
+	YAFFS_OBJECT_TYPE_SYMLINK,
+	YAFFS_OBJECT_TYPE_DIRECTORY,
+	YAFFS_OBJECT_TYPE_HARDLINK,
+	YAFFS_OBJECT_TYPE_SPECIAL
+} yaffs_ObjectType;
+
+#define YAFFS_OBJECT_TYPE_MAX YAFFS_OBJECT_TYPE_SPECIAL
+
+typedef struct {
+
+	unsigned validMarker0;
+	unsigned chunkUsed;	/*  Status of the chunk: used or unused */
+	unsigned objectId;	/* If 0 then this is not part of an object (unused) */
+	unsigned chunkId;	/* If 0 then this is a header, else a data chunk */
+	unsigned byteCount;	/* Only valid for data chunks */
+
+	/* The following stuff only has meaning when we read */
+	yaffs_ECCResult eccResult;
+	unsigned blockBad;	
+
+	/* YAFFS 1 stuff */
+	unsigned chunkDeleted;	/* The chunk is marked deleted */
+	unsigned serialNumber;	/* Yaffs1 2-bit serial number */
+
+	/* YAFFS2 stuff */
+	unsigned sequenceNumber;	/* The sequence number of this block */
+
+	/* Extra info if this is an object header (YAFFS2 only) */
+
+	unsigned extraHeaderInfoAvailable;	/* There is extra info available if this is not zero */
+	unsigned extraParentObjectId;	/* The parent object */
+	unsigned extraIsShrinkHeader;	/* Is it a shrink header? */
+	unsigned extraShadows;		/* Does this shadow another object? */
+
+	yaffs_ObjectType extraObjectType;	/* What object type? */
+
+	unsigned extraFileLength;		/* Length if it is a file */
+	unsigned extraEquivalentObjectId;	/* Equivalent object Id if it is a hard link */
+
+	unsigned validMarker1;
+
+} yaffs_ExtendedTags;
+
+/* Spare structure for YAFFS1 */
+typedef struct {
+	__u8 tagByte0;
+	__u8 tagByte1;
+	__u8 tagByte2;
+	__u8 tagByte3;
+	__u8 pageStatus;	/* set to 0 to delete the chunk */
+	__u8 blockStatus;
+	__u8 tagByte4;
+	__u8 tagByte5;
+	__u8 ecc1[3];
+	__u8 tagByte6;
+	__u8 tagByte7;
+	__u8 ecc2[3];
+} yaffs_Spare;
+
+/*Special structure for passing through to mtd */
+struct yaffs_NANDSpare {
+	yaffs_Spare spare;
+	int eccres1;
+	int eccres2;
+};
+
+/* Block data in RAM */
+
+typedef enum {
+	YAFFS_BLOCK_STATE_UNKNOWN = 0,
+
+	YAFFS_BLOCK_STATE_SCANNING,
+	YAFFS_BLOCK_STATE_NEEDS_SCANNING,
+	/* The block might have something on it (ie it is allocating or full, perhaps empty)
+	 * but it needs to be scanned to determine its true state.
+	 * This state is only valid during yaffs_Scan.
+	 * NB We tolerate empty because the pre-scanner might be incapable of deciding
+	 * However, if this state is returned on a YAFFS2 device, then we expect a sequence number
+	 */
+
+	YAFFS_BLOCK_STATE_EMPTY,
+	/* This block is empty */
+
+	YAFFS_BLOCK_STATE_ALLOCATING,
+	/* This block is partially allocated. 
+	 * At least one page holds valid data.
+	 * This is the one currently being used for page
+	 * allocation. Should never be more than one of these
+	 */
+
+	YAFFS_BLOCK_STATE_FULL,	
+	/* All the pages in this block have been allocated.
+	 */
+
+	YAFFS_BLOCK_STATE_DIRTY,
+	/* All pages have been allocated and deleted. 
+	 * Erase me, reuse me.
+	 */
+
+	YAFFS_BLOCK_STATE_CHECKPOINT,	
+	/* This block is assigned to holding checkpoint data.
+	 */
+
+	YAFFS_BLOCK_STATE_COLLECTING,	
+	/* This block is being garbage collected */
+
+	YAFFS_BLOCK_STATE_DEAD	
+	/* This block has failed and is not in use */
+} yaffs_BlockState;
+
+#define	YAFFS_NUMBER_OF_BLOCK_STATES (YAFFS_BLOCK_STATE_DEAD + 1)
+
+
+typedef struct {
+
+	int softDeletions:10;	/* number of soft deleted pages */
+	int pagesInUse:10;	/* number of pages in use */
+	unsigned blockState:4;	/* One of the above block states. NB use unsigned because enum is sometimes an int */
+	__u32 needsRetiring:1;	/* Data has failed on this block, need to get valid data off */
+                        	/* and retire the block. */
+	__u32 skipErasedCheck: 1; /* If this is set we can skip the erased check on this block */
+	__u32 gcPrioritise: 1; 	/* An ECC check or blank check has failed on this block. 
+				   It should be prioritised for GC */
+        __u32 chunkErrorStrikes:3; /* How many times we've had ecc etc failures on this block and tried to reuse it */
+
+#ifdef CONFIG_YAFFS_YAFFS2
+	__u32 hasShrinkHeader:1; /* This block has at least one shrink object header */
+	__u32 sequenceNumber;	 /* block sequence number for yaffs2 */
+#endif
+
+} yaffs_BlockInfo;
+
+/* -------------------------- Object structure -------------------------------*/
+/* This is the object structure as stored on NAND */
+
+typedef struct {
+	yaffs_ObjectType type;
+
+	/* Apply to everything  */
+	int parentObjectId;
+        __u16 sum__NoLongerUsed;        /* checksum of name. No longer used */
+        YCHAR name[YAFFS_MAX_NAME_LENGTH + 1];
+
+        /* The following apply to directories, files, symlinks - not hard links */
+        __u32 yst_mode;         /* protection */
+
+#ifdef CONFIG_YAFFS_WINCE
+	__u32 notForWinCE[5];
+#else
+	__u32 yst_uid;
+	__u32 yst_gid;
+	__u32 yst_atime;
+	__u32 yst_mtime;
+	__u32 yst_ctime;
+#endif
+
+	/* File size  applies to files only */
+	int fileSize;
+
+	/* Equivalent object id applies to hard links only. */
+	int equivalentObjectId;
+
+	/* Alias is for symlinks only. */
+	YCHAR alias[YAFFS_MAX_ALIAS_LENGTH + 1];
+
+	__u32 yst_rdev;		/* device stuff for block and char devices (major/min) */
+
+#ifdef CONFIG_YAFFS_WINCE
+	__u32 win_ctime[2];
+	__u32 win_atime[2];
+	__u32 win_mtime[2];
+#else
+	__u32 roomToGrow[6];
+
+#endif
+	__u32 inbandShadowsObject;
+	__u32 inbandIsShrink;
+
+	__u32 reservedSpace[2];
+	int shadowsObject;	/* This object header shadows the specified object if > 0 */
+
+	/* isShrink applies to object headers written when we shrink the file (ie resize) */
+	__u32 isShrink;
+
+} yaffs_ObjectHeader;
+
+/*--------------------------- Tnode -------------------------- */
+
+union yaffs_Tnode_union {
+#ifdef CONFIG_YAFFS_TNODE_LIST_DEBUG
+	union yaffs_Tnode_union *internal[YAFFS_NTNODES_INTERNAL + 1];
+#else
+	union yaffs_Tnode_union *internal[YAFFS_NTNODES_INTERNAL];
+#endif
+/*	__u16 level0[YAFFS_NTNODES_LEVEL0]; */
+
+};
+
+typedef union yaffs_Tnode_union yaffs_Tnode;
+
+struct yaffs_TnodeList_struct {
+	struct yaffs_TnodeList_struct *next;
+	yaffs_Tnode *tnodes;
+};
+
+typedef struct yaffs_TnodeList_struct yaffs_TnodeList;
+
+/*------------------------  Object -----------------------------*/
+/* An object can be one of:
+ * - a directory (no data, has children links
+ * - a regular file (data.... not prunes :->).
+ * - a symlink [symbolic link] (the alias).
+ * - a hard link
+ */
+
+typedef struct {
+	__u32 fileSize;
+	__u32 scannedFileSize;
+	__u32 shrinkSize;
+	int topLevel;
+	yaffs_Tnode *top;
+} yaffs_FileStructure;
+
+typedef struct {
+        struct ylist_head children;     /* list of child links */
+} yaffs_DirectoryStructure;
+
+typedef struct {
+	YCHAR *alias;
+} yaffs_SymLinkStructure;
+
+typedef struct {
+	struct yaffs_ObjectStruct *equivalentObject;
+	__u32 equivalentObjectId;
+} yaffs_HardLinkStructure;
+
+typedef union {
+	yaffs_FileStructure fileVariant;
+	yaffs_DirectoryStructure directoryVariant;
+	yaffs_SymLinkStructure symLinkVariant;
+	yaffs_HardLinkStructure hardLinkVariant;
+} yaffs_ObjectVariant;
+
+struct yaffs_ObjectStruct {
+	__u8 deleted:1;		/* This should only apply to unlinked files. */
+	__u8 softDeleted:1;	/* it has also been soft deleted */
+	__u8 unlinked:1;	/* An unlinked file. The file should be in the unlinked directory.*/
+	__u8 fake:1;		/* A fake object has no presence on NAND. */
+	__u8 renameAllowed:1;	/* Some objects are not allowed to be renamed. */
+	__u8 unlinkAllowed:1;
+	__u8 dirty:1;		/* the object needs to be written to flash */
+	__u8 valid:1;		/* When the file system is being loaded up, this 
+				 * object might be created before the data
+				 * is available (ie. file data records appear before the header).
+				 */
+	__u8 lazyLoaded:1;	/* This object has been lazy loaded and is missing some detail */
+
+	__u8 deferedFree:1;	/* For Linux kernel. Object is removed from NAND, but is
+				 * still in the inode cache. Free of object is defered.
+				 * until the inode is released.
+                                 */
+        __u8 beingCreated:1;	/* This object is still being created so skip some checks. */
+
+	__u8 serial;		/* serial number of chunk in NAND. Cached here */
+	__u16 sum;		/* sum of the name to speed searching */
+
+        struct yaffs_DeviceStruct *myDev;       /* The device I'm on */
+
+        struct ylist_head hashLink;     /* list of objects in this hash bucket */
+
+        struct ylist_head hardLinks;    /* all the equivalent hard linked objects */
+
+        /* directory structure stuff */
+        /* also used for linking up the free list */
+        struct yaffs_ObjectStruct *parent; 
+        struct ylist_head siblings;
+
+	/* Where's my object header in NAND? */
+	int hdrChunk;
+
+	int nDataChunks;	/* Number of data chunks attached to the file. */
+
+	__u32 objectId;		/* the object id value */
+
+	__u32 yst_mode;
+
+#ifdef CONFIG_YAFFS_SHORT_NAMES_IN_RAM
+	YCHAR shortName[YAFFS_SHORT_NAME_LENGTH + 1];
+#endif
+
+#ifndef __KERNEL__
+	__u32 inUse;
+#endif
+
+#ifdef CONFIG_YAFFS_WINCE
+	__u32 win_ctime[2];
+	__u32 win_mtime[2];
+	__u32 win_atime[2];
+#else
+	__u32 yst_uid;
+	__u32 yst_gid;
+	__u32 yst_atime;
+	__u32 yst_mtime;
+	__u32 yst_ctime;
+#endif
+
+	__u32 yst_rdev;
+
+#ifdef __KERNEL__
+	struct inode *myInode;
+
+#endif
+
+	yaffs_ObjectType variantType;
+
+	yaffs_ObjectVariant variant;
+
+};
+
+typedef struct yaffs_ObjectStruct yaffs_Object;
+
+struct yaffs_ObjectList_struct {
+	yaffs_Object *objects;
+	struct yaffs_ObjectList_struct *next;
+};
+
+typedef struct yaffs_ObjectList_struct yaffs_ObjectList;
+
+typedef struct {
+        struct ylist_head list;
+        int count;
+} yaffs_ObjectBucket;
+
+
+/* yaffs_CheckpointObject holds the definition of an object as dumped 
+ * by checkpointing.
+ */
+
+typedef struct {
+        int structType;
+	__u32 objectId;		
+	__u32 parentId;
+	int hdrChunk;
+	yaffs_ObjectType variantType:3;
+	__u8 deleted:1;		
+	__u8 softDeleted:1;	
+	__u8 unlinked:1;	
+	__u8 fake:1;		
+	__u8 renameAllowed:1;
+	__u8 unlinkAllowed:1;
+	__u8 serial;		
+	
+	int nDataChunks;	
+	__u32 fileSizeOrEquivalentObjectId;
+
+}yaffs_CheckpointObject;
+
+/*--------------------- Temporary buffers ----------------
+ *
+ * These are chunk-sized working buffers. Each device has a few
+ */
+
+typedef struct {
+	__u8 *buffer;
+	int line;	/* track from whence this buffer was allocated */
+	int maxLine;
+} yaffs_TempBuffer;
+
+/*----------------- Device ---------------------------------*/
+
+struct yaffs_DeviceStruct {
+        struct ylist_head devList;
+        const char *name;
+
+        /* Entry parameters set up way early. Yaffs sets up the rest.*/
+        int nDataBytesPerChunk; /* Should be a power of 2 >= 512 */
+        int nChunksPerBlock;    /* does not need to be a power of 2 */
+        int spareBytesPerChunk;/* spare area size */
+        int startBlock;         /* Start block we're allowed to use */
+        int endBlock;           /* End block we're allowed to use */
+        int nReservedBlocks;    /* We want this tuneable so that we can reduce */
+				/* reserved blocks on NOR and RAM. */
+	
+	
+	/* Stuff used by the shared space checkpointing mechanism */
+	/* If this value is zero, then this mechanism is disabled */
+	
+//	int nCheckpointReservedBlocks; /* Blocks to reserve for checkpoint data */
+
+	
+
+
+	int nShortOpCaches;	/* If <= 0, then short op caching is disabled, else
+				 * the number of short op caches (don't use too many)
+				 */
+
+	int useHeaderFileSize;	/* Flag to determine if we should use file sizes from the header */
+
+	int useNANDECC;		/* Flag to decide whether or not to use NANDECC */
+
+	void *genericDevice;	/* Pointer to device context
+				 * On an mtd this holds the mtd pointer.
+				 */
+        void *superBlock;
+        
+	/* NAND access functions (Must be set before calling YAFFS)*/
+
+	int (*writeChunkToNAND) (struct yaffs_DeviceStruct * dev,
+				 int chunkInNAND, const __u8 * data,
+				 const yaffs_Spare * spare);
+	int (*readChunkFromNAND) (struct yaffs_DeviceStruct * dev,
+				  int chunkInNAND, __u8 * data,
+				  yaffs_Spare * spare);
+        int (*eraseBlockInNAND) (struct yaffs_DeviceStruct * dev,
+                                 int blockInNAND);
+        int (*initialiseNAND) (struct yaffs_DeviceStruct * dev);
+        int (*deinitialiseNAND) (struct yaffs_DeviceStruct * dev);
+
+#ifdef CONFIG_YAFFS_YAFFS2
+	int (*writeChunkWithTagsToNAND) (struct yaffs_DeviceStruct * dev,
+					 int chunkInNAND, const __u8 * data,
+					 const yaffs_ExtendedTags * tags);
+	int (*readChunkWithTagsFromNAND) (struct yaffs_DeviceStruct * dev,
+					  int chunkInNAND, __u8 * data,
+					  yaffs_ExtendedTags * tags);
+	int (*markNANDBlockBad) (struct yaffs_DeviceStruct * dev, int blockNo);
+	int (*queryNANDBlock) (struct yaffs_DeviceStruct * dev, int blockNo,
+			       yaffs_BlockState * state, __u32 *sequenceNumber);
+#endif
+
+	int isYaffs2;
+	
+	/* The removeObjectCallback function must be supplied by OS flavours that 
+	 * need it. The Linux kernel does not use this, but yaffs direct does use
+	 * it to implement the faster readdir
+	 */
+	void (*removeObjectCallback)(struct yaffs_ObjectStruct *obj);
+	
+	/* Callback to mark the superblock dirsty */
+	void (*markSuperBlockDirty)(void * superblock);
+	
+	int wideTnodesDisabled; /* Set to disable wide tnodes */
+	
+	YCHAR *pathDividers;	/* String of legal path dividers */
+	
+
+	/* End of stuff that must be set before initialisation. */
+	
+	/* Checkpoint control. Can be set before or after initialisation */
+	__u8 skipCheckpointRead;
+	__u8 skipCheckpointWrite;
+
+	/* Runtime parameters. Set up by YAFFS. */
+
+	__u16 chunkGroupBits;	/* 0 for devices <= 32MB. else log2(nchunks) - 16 */
+	__u16 chunkGroupSize;	/* == 2^^chunkGroupBits */
+	
+	/* Stuff to support wide tnodes */
+	__u32 tnodeWidth;
+	__u32 tnodeMask;
+	
+	/* Stuff for figuring out file offset to chunk conversions */
+	__u32 chunkShift; /* Shift value */
+	__u32 chunkDiv;   /* Divisor after shifting: 1 for power-of-2 sizes */
+	__u32 chunkMask;  /* Mask to use for power-of-2 case */
+
+	/* Stuff to handle inband tags */
+	int inbandTags;
+	__u32 totalBytesPerChunk;
+
+#ifdef __KERNEL__
+
+	struct semaphore sem;	/* Semaphore for waiting on erasure.*/
+	struct semaphore grossLock;	/* Gross locking semaphore */
+	__u8 *spareBuffer;	/* For mtdif2 use. Don't know the size of the buffer 
+				 * at compile time so we have to allocate it.
+				 */
+	void (*putSuperFunc) (struct super_block * sb);
+#endif
+
+	int isMounted;
+	
+	int isCheckpointed;
+
+
+	/* Stuff to support block offsetting to support start block zero */
+	int internalStartBlock;
+	int internalEndBlock;
+	int blockOffset;
+	int chunkOffset;
+	
+
+	/* Runtime checkpointing stuff */
+	int checkpointPageSequence;   /* running sequence number of checkpoint pages */
+	int checkpointByteCount;
+	int checkpointByteOffset;
+	__u8 *checkpointBuffer;
+	int checkpointOpenForWrite;
+	int blocksInCheckpoint;
+	int checkpointCurrentChunk;
+	int checkpointCurrentBlock;
+	int checkpointNextBlock;
+	int *checkpointBlockList;
+	int checkpointMaxBlocks;
+	__u32 checkpointSum;
+	__u32 checkpointXor;
+	
+	int nCheckpointBlocksRequired; /* Number of blocks needed to store current checkpoint set */
+	
+	/* Block Info */
+	yaffs_BlockInfo *blockInfo;
+	__u8 *chunkBits;	/* bitmap of chunks in use */
+	unsigned blockInfoAlt:1;	/* was allocated using alternative strategy */
+	unsigned chunkBitsAlt:1;	/* was allocated using alternative strategy */
+	int chunkBitmapStride;	/* Number of bytes of chunkBits per block. 
+				 * Must be consistent with nChunksPerBlock.
+				 */
+
+	int nErasedBlocks;
+	int allocationBlock;	/* Current block being allocated off */
+	__u32 allocationPage;
+	int allocationBlockFinder;	/* Used to search for next allocation block */
+
+	/* Runtime state */
+	int nTnodesCreated;
+	yaffs_Tnode *freeTnodes;
+	int nFreeTnodes;
+	yaffs_TnodeList *allocatedTnodeList;
+
+	int isDoingGC;
+	int gcBlock;
+	int gcChunk;
+
+	int nObjectsCreated;
+	yaffs_Object *freeObjects;
+	int nFreeObjects;
+	
+	int nHardLinks;
+
+	yaffs_ObjectList *allocatedObjectList;
+
+	yaffs_ObjectBucket objectBucket[YAFFS_NOBJECT_BUCKETS];
+
+	int nFreeChunks;
+
+	int currentDirtyChecker;	/* Used to find current dirtiest block */
+
+	__u32 *gcCleanupList;	/* objects to delete at the end of a GC. */
+	int nonAggressiveSkip;	/* GC state/mode */
+
+	/* Statistcs */
+	int nPageWrites;
+	int nPageReads;
+	int nBlockErasures;
+	int nErasureFailures;
+	int nGCCopies;
+	int garbageCollections;
+	int passiveGarbageCollections;
+	int nRetriedWrites;
+	int nRetiredBlocks;
+	int eccFixed;
+	int eccUnfixed;
+	int tagsEccFixed;
+	int tagsEccUnfixed;
+	int nDeletions;
+	int nUnmarkedDeletions;
+	
+	int hasPendingPrioritisedGCs; /* We think this device might have pending prioritised gcs */
+
+	/* Special directories */
+	yaffs_Object *rootDir;
+	yaffs_Object *lostNFoundDir;
+
+	/* Buffer areas for storing data to recover from write failures TODO
+	 *      __u8            bufferedData[YAFFS_CHUNKS_PER_BLOCK][YAFFS_BYTES_PER_CHUNK];
+	 *      yaffs_Spare bufferedSpare[YAFFS_CHUNKS_PER_BLOCK];
+	 */
+	
+	int bufferedBlock;	/* Which block is buffered here? */
+	int doingBufferedBlockRewrite;
+
+	yaffs_ChunkCache *srCache;
+	int srLastUse;
+
+	int cacheHits;
+
+	/* Stuff for background deletion and unlinked files.*/
+	yaffs_Object *unlinkedDir;	/* Directory where unlinked and deleted files live. */
+	yaffs_Object *deletedDir;	/* Directory where deleted objects are sent to disappear. */
+	yaffs_Object *unlinkedDeletion;	/* Current file being background deleted.*/
+	int nDeletedFiles;		/* Count of files awaiting deletion;*/
+	int nUnlinkedFiles;		/* Count of unlinked files. */
+	int nBackgroundDeletions;	/* Count of background deletions. */
+
+	
+	/* Temporary buffer management */
+	yaffs_TempBuffer tempBuffer[YAFFS_N_TEMP_BUFFERS];
+	int maxTemp;
+	int tempInUse;
+	int unmanagedTempAllocations;
+	int unmanagedTempDeallocations;
+
+	/* yaffs2 runtime stuff */
+	unsigned sequenceNumber;	/* Sequence number of currently allocating block */
+	unsigned oldestDirtySequence;
+
+};
+
+typedef struct yaffs_DeviceStruct yaffs_Device;
+
+/* The static layout of block usage etc is stored in the super block header */
+typedef struct {
+        int StructType;
+        int version;
+	int checkpointStartBlock;
+	int checkpointEndBlock;
+	int startBlock;
+	int endBlock;
+	int rfu[100];
+} yaffs_SuperBlockHeader;
+	
+/* The CheckpointDevice structure holds the device information that changes at runtime and
+ * must be preserved over unmount/mount cycles.
+ */
+typedef struct {
+        int structType;
+	int nErasedBlocks;
+	int allocationBlock;	/* Current block being allocated off */
+	__u32 allocationPage;
+	int nFreeChunks;
+
+	int nDeletedFiles;		/* Count of files awaiting deletion;*/
+	int nUnlinkedFiles;		/* Count of unlinked files. */
+	int nBackgroundDeletions;	/* Count of background deletions. */
+
+	/* yaffs2 runtime stuff */
+	unsigned sequenceNumber;	/* Sequence number of currently allocating block */
+	unsigned oldestDirtySequence;
+
+} yaffs_CheckpointDevice;
+
+
+typedef struct {
+    int structType;
+    __u32 magic;
+    __u32 version;
+    __u32 head;
+} yaffs_CheckpointValidity;
+
+
+/*----------------------- YAFFS Functions -----------------------*/
+
+int yaffs_GutsInitialise(yaffs_Device * dev);
+void yaffs_Deinitialise(yaffs_Device * dev);
+
+int yaffs_GetNumberOfFreeChunks(yaffs_Device * dev);
+
+int yaffs_RenameObject(yaffs_Object * oldDir, const YCHAR * oldName,
+		       yaffs_Object * newDir, const YCHAR * newName);
+
+int yaffs_Unlink(yaffs_Object * dir, const YCHAR * name);
+int yaffs_DeleteFile(yaffs_Object * obj);
+
+int yaffs_GetObjectName(yaffs_Object * obj, YCHAR * name, int buffSize);
+int yaffs_GetObjectFileLength(yaffs_Object * obj);
+int yaffs_GetObjectInode(yaffs_Object * obj);
+unsigned yaffs_GetObjectType(yaffs_Object * obj);
+int yaffs_GetObjectLinkCount(yaffs_Object * obj);
+
+int yaffs_SetAttributes(yaffs_Object * obj, struct iattr *attr);
+int yaffs_GetAttributes(yaffs_Object * obj, struct iattr *attr);
+
+/* File operations */
+int yaffs_ReadDataFromFile(yaffs_Object * obj, __u8 * buffer, loff_t offset,
+                           int nBytes);
+int yaffs_WriteDataToFile(yaffs_Object * obj, const __u8 * buffer, loff_t offset,
+                          int nBytes, int writeThrough);
+int yaffs_ResizeFile(yaffs_Object * obj, loff_t newSize);
+
+yaffs_Object *yaffs_MknodFile(yaffs_Object * parent, const YCHAR * name,
+                              __u32 mode, __u32 uid, __u32 gid);
+int yaffs_FlushFile(yaffs_Object * obj, int updateTime);
+
+/* Flushing and checkpointing */
+void yaffs_FlushEntireDeviceCache(yaffs_Device *dev);
+
+int yaffs_CheckpointSave(yaffs_Device *dev);
+int yaffs_CheckpointRestore(yaffs_Device *dev);
+
+/* Directory operations */
+yaffs_Object *yaffs_MknodDirectory(yaffs_Object * parent, const YCHAR * name,
+				   __u32 mode, __u32 uid, __u32 gid);
+yaffs_Object *yaffs_FindObjectByName(yaffs_Object * theDir, const YCHAR * name);
+int yaffs_ApplyToDirectoryChildren(yaffs_Object * theDir,
+				   int (*fn) (yaffs_Object *));
+
+yaffs_Object *yaffs_FindObjectByNumber(yaffs_Device * dev, __u32 number);
+
+/* Link operations */
+yaffs_Object *yaffs_Link(yaffs_Object * parent, const YCHAR * name,
+			 yaffs_Object * equivalentObject);
+
+yaffs_Object *yaffs_GetEquivalentObject(yaffs_Object * obj);
+
+/* Symlink operations */
+yaffs_Object *yaffs_MknodSymLink(yaffs_Object * parent, const YCHAR * name,
+				 __u32 mode, __u32 uid, __u32 gid,
+				 const YCHAR * alias);
+YCHAR *yaffs_GetSymlinkAlias(yaffs_Object * obj);
+
+/* Special inodes (fifos, sockets and devices) */
+yaffs_Object *yaffs_MknodSpecial(yaffs_Object * parent, const YCHAR * name,
+				 __u32 mode, __u32 uid, __u32 gid, __u32 rdev);
+
+/* Special directories */
+yaffs_Object *yaffs_Root(yaffs_Device * dev);
+yaffs_Object *yaffs_LostNFound(yaffs_Device * dev);
+
+#ifdef CONFIG_YAFFS_WINCE
+/* CONFIG_YAFFS_WINCE special stuff */
+void yfsd_WinFileTimeNow(__u32 target[2]);
+#endif
+
+#ifdef __KERNEL__
+
+void yaffs_HandleDeferedFree(yaffs_Object * obj);
+#endif
+
+/* Debug dump  */
+int yaffs_DumpObject(yaffs_Object * obj);
+
+void yaffs_GutsTest(yaffs_Device * dev);
+
+/* A few useful functions */
+void yaffs_InitialiseTags(yaffs_ExtendedTags * tags);
+void yaffs_DeleteChunk(yaffs_Device * dev, int chunkId, int markNAND, int lyn);
+int yaffs_CheckFF(__u8 * buffer, int nBytes);
+void yaffs_HandleChunkError(yaffs_Device *dev, yaffs_BlockInfo *bi);
+
+__u8 *yaffs_GetTempBuffer(yaffs_Device * dev, int lineNo);
+void yaffs_ReleaseTempBuffer(yaffs_Device * dev, __u8 * buffer, int lineNo);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_mtdif.c linux-2.6.28.6/fs/yaffs2/yaffs_mtdif.c
--- linux-2.6.28/fs/yaffs2/yaffs_mtdif.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_mtdif.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,241 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+const char *yaffs_mtdif_c_version =
+    "$Id: yaffs_mtdif.c,v 1.21 2007/12/13 15:35:18 wookey Exp $";
+
+#include "yportenv.h"
+
+
+#include "yaffs_mtdif.h"
+
+#include "linux/mtd/mtd.h"
+#include "linux/types.h"
+#include "linux/time.h"
+#include "linux/mtd/nand.h"
+
+#if (MTD_VERSION_CODE < MTD_VERSION(2,6,18))
+static struct nand_oobinfo yaffs_oobinfo = {
+	.useecc = 1,
+	.eccbytes = 6,
+	.eccpos = {8, 9, 10, 13, 14, 15}
+};
+
+static struct nand_oobinfo yaffs_noeccinfo = {
+	.useecc = 0,
+};
+#endif
+
+#if (MTD_VERSION_CODE > MTD_VERSION(2,6,17))
+static inline void translate_spare2oob(const yaffs_Spare *spare, __u8 *oob)
+{
+	oob[0] = spare->tagByte0;
+	oob[1] = spare->tagByte1;
+	oob[2] = spare->tagByte2;
+	oob[3] = spare->tagByte3;
+	oob[4] = spare->tagByte4;
+	oob[5] = spare->tagByte5 & 0x3f;
+	oob[5] |= spare->blockStatus == 'Y' ? 0: 0x80;
+	oob[5] |= spare->pageStatus == 0 ? 0: 0x40;
+	oob[6] = spare->tagByte6;
+	oob[7] = spare->tagByte7;
+}
+
+static inline void translate_oob2spare(yaffs_Spare *spare, __u8 *oob)
+{
+	struct yaffs_NANDSpare *nspare = (struct yaffs_NANDSpare *)spare;
+	spare->tagByte0 = oob[0];
+	spare->tagByte1 = oob[1];
+	spare->tagByte2 = oob[2];
+	spare->tagByte3 = oob[3];
+	spare->tagByte4 = oob[4];
+	spare->tagByte5 = oob[5] == 0xff ? 0xff : oob[5] & 0x3f;
+	spare->blockStatus = oob[5] & 0x80 ? 0xff : 'Y';
+	spare->pageStatus = oob[5] & 0x40 ? 0xff : 0;
+	spare->ecc1[0] = spare->ecc1[1] = spare->ecc1[2] = 0xff;
+	spare->tagByte6 = oob[6];
+	spare->tagByte7 = oob[7];
+	spare->ecc2[0] = spare->ecc2[1] = spare->ecc2[2] = 0xff;
+
+	nspare->eccres1 = nspare->eccres2 = 0; /* FIXME */
+}
+#endif
+
+int nandmtd_WriteChunkToNAND(yaffs_Device * dev, int chunkInNAND,
+			     const __u8 * data, const yaffs_Spare * spare)
+{
+	struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice);
+#if (MTD_VERSION_CODE > MTD_VERSION(2,6,17))
+	struct mtd_oob_ops ops;
+#endif
+	size_t dummy;
+	int retval = 0;
+
+	loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk;
+#if (MTD_VERSION_CODE > MTD_VERSION(2,6,17))
+	__u8 spareAsBytes[8]; /* OOB */
+
+	if (data && !spare)
+		retval = mtd->write(mtd, addr, dev->nDataBytesPerChunk,
+				&dummy, data);
+	else if (spare) {
+		if (dev->useNANDECC) {
+			translate_spare2oob(spare, spareAsBytes);
+			ops.mode = MTD_OOB_AUTO;
+			ops.ooblen = 8; /* temp hack */
+		} else {
+			ops.mode = MTD_OOB_RAW;
+			ops.ooblen = YAFFS_BYTES_PER_SPARE;
+		}
+		ops.len = data ? dev->nDataBytesPerChunk : ops.ooblen;
+		ops.datbuf = (u8 *)data;
+		ops.ooboffs = 0;
+		ops.oobbuf = spareAsBytes;
+		retval = mtd->write_oob(mtd, addr, &ops);
+	}
+#else
+	__u8 *spareAsBytes = (__u8 *) spare;
+
+	if (data && spare) {
+		if (dev->useNANDECC)
+			retval =
+			    mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk,
+					   &dummy, data, spareAsBytes,
+					   &yaffs_oobinfo);
+		else
+			retval =
+			    mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk,
+					   &dummy, data, spareAsBytes,
+					   &yaffs_noeccinfo);
+	} else {
+		if (data)
+			retval =
+			    mtd->write(mtd, addr, dev->nDataBytesPerChunk, &dummy,
+				       data);
+		if (spare)
+			retval =
+			    mtd->write_oob(mtd, addr, YAFFS_BYTES_PER_SPARE,
+					   &dummy, spareAsBytes);
+	}
+#endif
+
+	if (retval == 0)
+		return YAFFS_OK;
+	else
+		return YAFFS_FAIL;
+}
+
+int nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data,
+			      yaffs_Spare * spare)
+{
+	struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice);
+#if (MTD_VERSION_CODE > MTD_VERSION(2,6,17))
+	struct mtd_oob_ops ops;
+#endif
+	size_t dummy;
+	int retval = 0;
+
+	loff_t addr = ((loff_t) chunkInNAND) * dev->nDataBytesPerChunk;
+#if (MTD_VERSION_CODE > MTD_VERSION(2,6,17))
+	__u8 spareAsBytes[8]; /* OOB */
+
+	if (data && !spare)
+		retval = mtd->read(mtd, addr, dev->nDataBytesPerChunk,
+				&dummy, data);
+	else if (spare) {
+		if (dev->useNANDECC) {
+			ops.mode = MTD_OOB_AUTO;
+			ops.ooblen = 8; /* temp hack */
+		} else {
+			ops.mode = MTD_OOB_RAW;
+			ops.ooblen = YAFFS_BYTES_PER_SPARE;
+		}
+		ops.len = data ? dev->nDataBytesPerChunk : ops.ooblen;
+		ops.datbuf = data;
+		ops.ooboffs = 0;
+		ops.oobbuf = spareAsBytes;
+		retval = mtd->read_oob(mtd, addr, &ops);
+		if (dev->useNANDECC)
+			translate_oob2spare(spare, spareAsBytes);
+	}
+#else
+	__u8 *spareAsBytes = (__u8 *) spare;
+
+	if (data && spare) {
+		if (dev->useNANDECC) {
+			/* Careful, this call adds 2 ints */
+			/* to the end of the spare data.  Calling function */
+			/* should allocate enough memory for spare, */
+			/* i.e. [YAFFS_BYTES_PER_SPARE+2*sizeof(int)]. */
+			retval =
+			    mtd->read_ecc(mtd, addr, dev->nDataBytesPerChunk,
+					  &dummy, data, spareAsBytes,
+					  &yaffs_oobinfo);
+		} else {
+			retval =
+			    mtd->read_ecc(mtd, addr, dev->nDataBytesPerChunk,
+					  &dummy, data, spareAsBytes,
+					  &yaffs_noeccinfo);
+		}
+	} else {
+		if (data)
+			retval =
+			    mtd->read(mtd, addr, dev->nDataBytesPerChunk, &dummy,
+				      data);
+		if (spare)
+			retval =
+			    mtd->read_oob(mtd, addr, YAFFS_BYTES_PER_SPARE,
+					  &dummy, spareAsBytes);
+	}
+#endif
+
+	if (retval == 0)
+		return YAFFS_OK;
+	else
+		return YAFFS_FAIL;
+}
+
+int nandmtd_EraseBlockInNAND(yaffs_Device * dev, int blockNumber)
+{
+	struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice);
+	__u32 addr =
+	    ((loff_t) blockNumber) * dev->nDataBytesPerChunk
+		* dev->nChunksPerBlock;
+	struct erase_info ei;
+	int retval = 0;
+
+	ei.mtd = mtd;
+	ei.addr = addr;
+	ei.len = dev->nDataBytesPerChunk * dev->nChunksPerBlock;
+	ei.time = 1000;
+	ei.retries = 2;
+	ei.callback = NULL;
+	ei.priv = (u_long) dev;
+
+	/* Todo finish off the ei if required */
+
+	sema_init(&dev->sem, 0);
+
+	retval = mtd->erase(mtd, &ei);
+
+	if (retval == 0)
+		return YAFFS_OK;
+	else
+		return YAFFS_FAIL;
+}
+
+int nandmtd_InitialiseNAND(yaffs_Device * dev)
+{
+	return YAFFS_OK;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_mtdif.h linux-2.6.28.6/fs/yaffs2/yaffs_mtdif.h
--- linux-2.6.28/fs/yaffs2/yaffs_mtdif.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_mtdif.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,32 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifndef __YAFFS_MTDIF_H__
+#define __YAFFS_MTDIF_H__
+
+#include "yaffs_guts.h"
+
+#if (MTD_VERSION_CODE < MTD_VERSION(2,6,18))
+extern struct nand_oobinfo yaffs_oobinfo;
+extern struct nand_oobinfo yaffs_noeccinfo;
+#endif
+
+int nandmtd_WriteChunkToNAND(yaffs_Device * dev, int chunkInNAND,
+			     const __u8 * data, const yaffs_Spare * spare);
+int nandmtd_ReadChunkFromNAND(yaffs_Device * dev, int chunkInNAND, __u8 * data,
+			      yaffs_Spare * spare);
+int nandmtd_EraseBlockInNAND(yaffs_Device * dev, int blockNumber);
+int nandmtd_InitialiseNAND(yaffs_Device * dev);
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_mtdif1.c linux-2.6.28.6/fs/yaffs2/yaffs_mtdif1.c
--- linux-2.6.28/fs/yaffs2/yaffs_mtdif1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_mtdif1.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,369 @@
+/*
+ * YAFFS: Yet another FFS. A NAND-flash specific file system.
+ * yaffs_mtdif1.c  NAND mtd interface functions for small-page NAND.
+ *
+ * Copyright (C) 2002 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/*
+ * This module provides the interface between yaffs_nand.c and the
+ * MTD API.  This version is used when the MTD interface supports the
+ * 'mtd_oob_ops' style calls to read_oob and write_oob, circa 2.6.17,
+ * and we have small-page NAND device.
+ *
+ * These functions are invoked via function pointers in yaffs_nand.c.
+ * This replaces functionality provided by functions in yaffs_mtdif.c
+ * and the yaffs_TagsCompatability functions in yaffs_tagscompat.c that are
+ * called in yaffs_mtdif.c when the function pointers are NULL.
+ * We assume the MTD layer is performing ECC (useNANDECC is true).
+ */
+
+#include "yportenv.h"
+#include "yaffs_guts.h"
+#include "yaffs_packedtags1.h"
+#include "yaffs_tagscompat.h"	// for yaffs_CalcTagsECC
+
+#include "linux/kernel.h"
+#include "linux/version.h"
+#include "linux/types.h"
+#include "linux/mtd/mtd.h"
+
+/* Don't compile this module if we don't have MTD's mtd_oob_ops interface */
+#if (MTD_VERSION_CODE > MTD_VERSION(2,6,17))
+
+const char *yaffs_mtdif1_c_version = "$Id: yaffs_mtdif1.c,v 1.8 2008/07/23 03:35:12 charles Exp $";
+
+#ifndef CONFIG_YAFFS_9BYTE_TAGS
+# define YTAG1_SIZE 8
+#else
+# define YTAG1_SIZE 9
+#endif
+
+#if 0
+/* Use the following nand_ecclayout with MTD when using
+ * CONFIG_YAFFS_9BYTE_TAGS and the older on-NAND tags layout.
+ * If you have existing Yaffs images and the byte order differs from this,
+ * adjust 'oobfree' to match your existing Yaffs data.
+ *
+ * This nand_ecclayout scatters/gathers to/from the old-yaffs layout with the
+ * pageStatus byte (at NAND spare offset 4) scattered/gathered from/to
+ * the 9th byte.
+ *
+ * Old-style on-NAND format: T0,T1,T2,T3,P,B,T4,T5,E0,E1,E2,T6,T7,E3,E4,E5
+ * We have/need PackedTags1 plus pageStatus: T0,T1,T2,T3,T4,T5,T6,T7,P
+ * where Tn are the tag bytes, En are MTD's ECC bytes, P is the pageStatus
+ * byte and B is the small-page bad-block indicator byte.
+ */
+static struct nand_ecclayout nand_oob_16 = {
+	.eccbytes = 6,
+	.eccpos = { 8, 9, 10, 13, 14, 15 },
+	.oobavail = 9,
+	.oobfree = { { 0, 4 }, { 6, 2 }, { 11, 2 }, { 4, 1 } }
+};
+#endif
+
+/* Write a chunk (page) of data to NAND.
+ *
+ * Caller always provides ExtendedTags data which are converted to a more
+ * compact (packed) form for storage in NAND.  A mini-ECC runs over the
+ * contents of the tags meta-data; used to valid the tags when read.
+ *
+ *  - Pack ExtendedTags to PackedTags1 form
+ *  - Compute mini-ECC for PackedTags1
+ *  - Write data and packed tags to NAND.
+ *
+ * Note: Due to the use of the PackedTags1 meta-data which does not include
+ * a full sequence number (as found in the larger PackedTags2 form) it is
+ * necessary for Yaffs to re-write a chunk/page (just once) to mark it as
+ * discarded and dirty.  This is not ideal: newer NAND parts are supposed
+ * to be written just once.  When Yaffs performs this operation, this
+ * function is called with a NULL data pointer -- calling MTD write_oob
+ * without data is valid usage (2.6.17).
+ *
+ * Any underlying MTD error results in YAFFS_FAIL.
+ * Returns YAFFS_OK or YAFFS_FAIL.
+ */
+int nandmtd1_WriteChunkWithTagsToNAND(yaffs_Device *dev,
+	int chunkInNAND, const __u8 * data, const yaffs_ExtendedTags * etags)
+{
+	struct mtd_info * mtd = dev->genericDevice;
+	int chunkBytes = dev->nDataBytesPerChunk;
+	loff_t addr = ((loff_t)chunkInNAND) * chunkBytes;
+	struct mtd_oob_ops ops;
+	yaffs_PackedTags1 pt1;
+	int retval;
+
+	/* we assume that PackedTags1 and yaffs_Tags are compatible */
+	compile_time_assertion(sizeof(yaffs_PackedTags1) == 12);
+	compile_time_assertion(sizeof(yaffs_Tags) == 8);
+
+	dev->nPageWrites++;
+
+	yaffs_PackTags1(&pt1, etags);
+	yaffs_CalcTagsECC((yaffs_Tags *)&pt1);
+
+	/* When deleting a chunk, the upper layer provides only skeletal
+	 * etags, one with chunkDeleted set.  However, we need to update the
+	 * tags, not erase them completely.  So we use the NAND write property
+	 * that only zeroed-bits stick and set tag bytes to all-ones and
+	 * zero just the (not) deleted bit.
+	 */
+#ifndef CONFIG_YAFFS_9BYTE_TAGS
+	if (etags->chunkDeleted) {
+		memset(&pt1, 0xff, 8);
+		/* clear delete status bit to indicate deleted */
+		pt1.deleted = 0;
+	}
+#else
+	((__u8 *)&pt1)[8] = 0xff;
+	if (etags->chunkDeleted) {
+		memset(&pt1, 0xff, 8);
+		/* zero pageStatus byte to indicate deleted */
+		((__u8 *)&pt1)[8] = 0;
+	}
+#endif
+
+	memset(&ops, 0, sizeof(ops));
+	ops.mode = MTD_OOB_AUTO;
+	ops.len = (data) ? chunkBytes : 0;
+	ops.ooblen = YTAG1_SIZE;
+	ops.datbuf = (__u8 *)data;
+	ops.oobbuf = (__u8 *)&pt1;
+
+	retval = mtd->write_oob(mtd, addr, &ops);
+	if (retval) {
+		yaffs_trace(YAFFS_TRACE_MTD,
+			"write_oob failed, chunk %d, mtd error %d\n",
+			chunkInNAND, retval);
+	}
+	return retval ? YAFFS_FAIL : YAFFS_OK;
+}
+
+/* Return with empty ExtendedTags but add eccResult.
+ */
+static int rettags(yaffs_ExtendedTags * etags, int eccResult, int retval)
+{
+	if (etags) {
+		memset(etags, 0, sizeof(*etags));
+		etags->eccResult = eccResult;
+	}
+	return retval;
+}
+
+/* Read a chunk (page) from NAND.
+ *
+ * Caller expects ExtendedTags data to be usable even on error; that is,
+ * all members except eccResult and blockBad are zeroed.
+ *
+ *  - Check ECC results for data (if applicable)
+ *  - Check for blank/erased block (return empty ExtendedTags if blank)
+ *  - Check the PackedTags1 mini-ECC (correct if necessary/possible)
+ *  - Convert PackedTags1 to ExtendedTags
+ *  - Update eccResult and blockBad members to refect state.
+ *
+ * Returns YAFFS_OK or YAFFS_FAIL.
+ */
+int nandmtd1_ReadChunkWithTagsFromNAND(yaffs_Device *dev,
+	int chunkInNAND, __u8 * data, yaffs_ExtendedTags * etags)
+{
+	struct mtd_info * mtd = dev->genericDevice;
+	int chunkBytes = dev->nDataBytesPerChunk;
+	loff_t addr = ((loff_t)chunkInNAND) * chunkBytes;
+	int eccres = YAFFS_ECC_RESULT_NO_ERROR;
+	struct mtd_oob_ops ops;
+	yaffs_PackedTags1 pt1;
+	int retval;
+	int deleted;
+
+	dev->nPageReads++;
+
+	memset(&ops, 0, sizeof(ops));
+	ops.mode = MTD_OOB_AUTO;
+	ops.len = (data) ? chunkBytes : 0;
+	ops.ooblen = YTAG1_SIZE;
+	ops.datbuf = data;
+	ops.oobbuf = (__u8 *)&pt1;
+
+#if (MTD_VERSION_CODE < MTD_VERSION(2,6,20))
+	/* In MTD 2.6.18 to 2.6.19 nand_base.c:nand_do_read_oob() has a bug;
+	 * help it out with ops.len = ops.ooblen when ops.datbuf == NULL.
+	 */
+	ops.len = (ops.datbuf) ? ops.len : ops.ooblen;
+#endif
+	/* Read page and oob using MTD.
+	 * Check status and determine ECC result.
+	 */
+	retval = mtd->read_oob(mtd, addr, &ops);
+	if (retval) {
+		yaffs_trace(YAFFS_TRACE_MTD,
+			"read_oob failed, chunk %d, mtd error %d\n",
+			chunkInNAND, retval);
+	}
+
+	switch (retval) {
+	case 0:
+		/* no error */
+		break;
+
+	case -EUCLEAN:
+		/* MTD's ECC fixed the data */
+		eccres = YAFFS_ECC_RESULT_FIXED;
+		dev->eccFixed++;
+		break;
+
+	case -EBADMSG:
+		/* MTD's ECC could not fix the data */
+		dev->eccUnfixed++;
+		/* fall into... */
+	default:
+		rettags(etags, YAFFS_ECC_RESULT_UNFIXED, 0);
+		etags->blockBad = (mtd->block_isbad)(mtd, addr);
+		return YAFFS_FAIL;
+	}
+
+	/* Check for a blank/erased chunk.
+	 */
+	if (yaffs_CheckFF((__u8 *)&pt1, 8)) {
+		/* when blank, upper layers want eccResult to be <= NO_ERROR */
+		return rettags(etags, YAFFS_ECC_RESULT_NO_ERROR, YAFFS_OK);
+	}
+
+#ifndef CONFIG_YAFFS_9BYTE_TAGS
+	/* Read deleted status (bit) then return it to it's non-deleted
+	 * state before performing tags mini-ECC check. pt1.deleted is
+	 * inverted.
+	 */
+	deleted = !pt1.deleted;
+	pt1.deleted = 1;
+#else
+	deleted = (yaffs_CountBits(((__u8 *)&pt1)[8]) < 7);
+#endif
+
+	/* Check the packed tags mini-ECC and correct if necessary/possible.
+	 */
+	retval = yaffs_CheckECCOnTags((yaffs_Tags *)&pt1);
+	switch (retval) {
+	case 0:
+		/* no tags error, use MTD result */
+		break;
+	case 1:
+		/* recovered tags-ECC error */
+		dev->tagsEccFixed++;
+		if (eccres == YAFFS_ECC_RESULT_NO_ERROR)
+			eccres = YAFFS_ECC_RESULT_FIXED;
+		break;
+	default:
+		/* unrecovered tags-ECC error */
+		dev->tagsEccUnfixed++;
+		return rettags(etags, YAFFS_ECC_RESULT_UNFIXED, YAFFS_FAIL);
+	}
+
+	/* Unpack the tags to extended form and set ECC result.
+	 * [set shouldBeFF just to keep yaffs_UnpackTags1 happy]
+	 */
+	pt1.shouldBeFF = 0xFFFFFFFF;
+	yaffs_UnpackTags1(etags, &pt1);
+	etags->eccResult = eccres;
+
+	/* Set deleted state */
+	etags->chunkDeleted = deleted;
+	return YAFFS_OK;
+}
+
+/* Mark a block bad.
+ *
+ * This is a persistant state.
+ * Use of this function should be rare.
+ *
+ * Returns YAFFS_OK or YAFFS_FAIL.
+ */
+int nandmtd1_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo)
+{
+	struct mtd_info * mtd = dev->genericDevice;
+	int blocksize = dev->nChunksPerBlock * dev->nDataBytesPerChunk;
+	int retval;
+
+	yaffs_trace(YAFFS_TRACE_BAD_BLOCKS, "marking block %d bad\n", blockNo);
+
+	retval = mtd->block_markbad(mtd, (loff_t)blocksize * blockNo);
+	return (retval) ? YAFFS_FAIL : YAFFS_OK;
+}
+
+/* Check any MTD prerequists.
+ *
+ * Returns YAFFS_OK or YAFFS_FAIL.
+ */
+static int nandmtd1_TestPrerequists(struct mtd_info * mtd)
+{
+	/* 2.6.18 has mtd->ecclayout->oobavail */
+	/* 2.6.21 has mtd->ecclayout->oobavail and mtd->oobavail */
+	int oobavail = mtd->ecclayout->oobavail;
+
+	if (oobavail < YTAG1_SIZE) {
+		yaffs_trace(YAFFS_TRACE_ERROR,
+			"mtd device has only %d bytes for tags, need %d\n",
+			oobavail, YTAG1_SIZE);
+		return YAFFS_FAIL;
+	}
+	return YAFFS_OK;
+}
+
+/* Query for the current state of a specific block.
+ *
+ * Examine the tags of the first chunk of the block and return the state:
+ *  - YAFFS_BLOCK_STATE_DEAD, the block is marked bad
+ *  - YAFFS_BLOCK_STATE_NEEDS_SCANNING, the block is in use
+ *  - YAFFS_BLOCK_STATE_EMPTY, the block is clean
+ *
+ * Always returns YAFFS_OK.
+ */
+int nandmtd1_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
+	yaffs_BlockState * pState, __u32 *pSequenceNumber)
+{
+	struct mtd_info * mtd = dev->genericDevice;
+	int chunkNo = blockNo * dev->nChunksPerBlock;
+	loff_t addr = (loff_t)chunkNo * dev->nDataBytesPerChunk;
+	yaffs_ExtendedTags etags;
+	int state = YAFFS_BLOCK_STATE_DEAD;
+	int seqnum = 0;
+	int retval;
+
+	/* We don't yet have a good place to test for MTD config prerequists.
+	 * Do it here as we are called during the initial scan.
+	 */
+	if (nandmtd1_TestPrerequists(mtd) != YAFFS_OK) {
+		return YAFFS_FAIL;
+	}
+
+	retval = nandmtd1_ReadChunkWithTagsFromNAND(dev, chunkNo, NULL, &etags);
+	etags.blockBad = (mtd->block_isbad)(mtd, addr);
+	if (etags.blockBad) {
+		yaffs_trace(YAFFS_TRACE_BAD_BLOCKS,
+			"block %d is marked bad\n", blockNo);
+		state = YAFFS_BLOCK_STATE_DEAD;
+	}
+	else if (etags.eccResult != YAFFS_ECC_RESULT_NO_ERROR) {
+		/* bad tags, need to look more closely */
+		state = YAFFS_BLOCK_STATE_NEEDS_SCANNING;
+	}
+	else if (etags.chunkUsed) {
+		state = YAFFS_BLOCK_STATE_NEEDS_SCANNING;
+		seqnum = etags.sequenceNumber;
+	}
+	else {
+		state = YAFFS_BLOCK_STATE_EMPTY;
+	}
+
+	*pState = state;
+	*pSequenceNumber = seqnum;
+
+	/* query always succeeds */
+	return YAFFS_OK;
+}
+
+#endif /*MTD_VERSION*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_mtdif1.h linux-2.6.28.6/fs/yaffs2/yaffs_mtdif1.h
--- linux-2.6.28/fs/yaffs2/yaffs_mtdif1.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_mtdif1.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,28 @@
+/*
+ * YAFFS: Yet another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifndef __YAFFS_MTDIF1_H__
+#define __YAFFS_MTDIF1_H__
+
+int nandmtd1_WriteChunkWithTagsToNAND(yaffs_Device * dev, int chunkInNAND,
+	const __u8 * data, const yaffs_ExtendedTags * tags);
+
+int nandmtd1_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND,
+	__u8 * data, yaffs_ExtendedTags * tags);
+
+int nandmtd1_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
+
+int nandmtd1_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
+	yaffs_BlockState * state, __u32 *sequenceNumber);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_mtdif2.c linux-2.6.28.6/fs/yaffs2/yaffs_mtdif2.c
--- linux-2.6.28/fs/yaffs2/yaffs_mtdif2.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_mtdif2.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,248 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/* mtd interface for YAFFS2 */
+
+const char *yaffs_mtdif2_c_version =
+    "$Id: yaffs_mtdif2.c,v 1.22 2008/11/02 22:47:13 charles Exp $";
+
+#include "yportenv.h"
+
+
+#include "yaffs_mtdif2.h"
+
+#include "linux/mtd/mtd.h"
+#include "linux/types.h"
+#include "linux/time.h"
+
+#include "yaffs_packedtags2.h"
+
+/* NB For use with inband tags....
+ * We assume that the data buffer is of size totalBytersPerChunk so that we can also
+ * use it to load the tags.
+ */
+int nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device * dev, int chunkInNAND,
+				      const __u8 * data,
+				      const yaffs_ExtendedTags * tags)
+{
+	struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice);
+#if (MTD_VERSION_CODE > MTD_VERSION(2,6,17))
+	struct mtd_oob_ops ops;
+#else
+	size_t dummy;
+#endif
+	int retval = 0;
+
+	loff_t addr;
+
+	yaffs_PackedTags2 pt;
+
+	T(YAFFS_TRACE_MTD,
+	  (TSTR
+	   ("nandmtd2_WriteChunkWithTagsToNAND chunk %d data %p tags %p"
+	    TENDSTR), chunkInNAND, data, tags));
+	    
+
+	addr  = ((loff_t) chunkInNAND) * dev->totalBytesPerChunk;
+	
+	/* For yaffs2 writing there must be both data and tags.
+	 * If we're using inband tags, then the tags are stuffed into
+	 * the end of the data buffer.
+	 */
+	if(!data || !tags)
+		BUG();	
+	else if(dev->inbandTags){
+		yaffs_PackedTags2TagsPart *pt2tp;
+		pt2tp = (yaffs_PackedTags2TagsPart *)(data + dev->nDataBytesPerChunk);
+		yaffs_PackTags2TagsPart(pt2tp,tags);
+	}
+	else
+		yaffs_PackTags2(&pt, tags);
+	
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+	ops.mode = MTD_OOB_AUTO;
+	ops.ooblen = (dev->inbandTags) ? 0 : sizeof(pt);
+	ops.len = dev->totalBytesPerChunk;
+	ops.ooboffs = 0;
+	ops.datbuf = (__u8 *)data;
+	ops.oobbuf = (dev->inbandTags) ? NULL : (void *)&pt;
+	retval = mtd->write_oob(mtd, addr, &ops);
+
+#else
+	if (!dev->inbandTags) {
+		retval =
+		    mtd->write_ecc(mtd, addr, dev->nDataBytesPerChunk,
+				   &dummy, data, (__u8 *) & pt, NULL);
+	} else {
+		retval =
+		    mtd->write(mtd, addr, dev->totalBytesPerChunk, &dummy,
+			       data);
+	}
+#endif
+
+	if (retval == 0)
+		return YAFFS_OK;
+	else
+		return YAFFS_FAIL;
+}
+
+int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND,
+				       __u8 * data, yaffs_ExtendedTags * tags)
+{
+	struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice);
+#if (MTD_VERSION_CODE > MTD_VERSION(2,6,17))
+	struct mtd_oob_ops ops;
+#endif
+	size_t dummy;
+	int retval = 0;
+	int localData = 0;
+
+	loff_t addr = ((loff_t) chunkInNAND) * dev->totalBytesPerChunk;
+
+	yaffs_PackedTags2 pt;
+
+	T(YAFFS_TRACE_MTD,
+	  (TSTR
+	   ("nandmtd2_ReadChunkWithTagsFromNAND chunk %d data %p tags %p"
+	    TENDSTR), chunkInNAND, data, tags));
+	    
+	if(dev->inbandTags){
+		
+		if(!data) {
+			localData = 1;
+			data = yaffs_GetTempBuffer(dev,__LINE__);
+		}
+		
+
+	}
+
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+	if (dev->inbandTags || (data && !tags))
+		retval = mtd->read(mtd, addr, dev->totalBytesPerChunk,
+				&dummy, data);
+	else if (tags) {
+		ops.mode = MTD_OOB_AUTO;
+		ops.ooblen = sizeof(pt);
+		ops.len = data ? dev->nDataBytesPerChunk : sizeof(pt);
+		ops.ooboffs = 0;
+		ops.datbuf = data;
+		ops.oobbuf = dev->spareBuffer;
+		retval = mtd->read_oob(mtd, addr, &ops);
+	}
+#else
+	if (!dev->inbandTags && data && tags) {
+
+		retval = mtd->read_ecc(mtd, addr, dev->nDataBytesPerChunk,
+					  &dummy, data, dev->spareBuffer,
+					  NULL);
+	} else {
+		if (data)
+			retval =
+			    mtd->read(mtd, addr, dev->nDataBytesPerChunk, &dummy,
+				      data);
+		if (!dev->inbandTags && tags)
+			retval =
+			    mtd->read_oob(mtd, addr, mtd->oobsize, &dummy,
+					  dev->spareBuffer);
+	}
+#endif
+
+
+	if(dev->inbandTags){
+		if(tags){
+			yaffs_PackedTags2TagsPart * pt2tp;
+			pt2tp = (yaffs_PackedTags2TagsPart *)&data[dev->nDataBytesPerChunk];	
+			yaffs_UnpackTags2TagsPart(tags,pt2tp);
+		}
+	}
+	else {
+		if (tags){
+			memcpy(&pt, dev->spareBuffer, sizeof(pt));
+			yaffs_UnpackTags2(tags, &pt);
+		}
+	}
+
+	if(localData)
+		yaffs_ReleaseTempBuffer(dev,data,__LINE__);
+	
+	if(tags && retval == -EBADMSG && tags->eccResult == YAFFS_ECC_RESULT_NO_ERROR)
+		tags->eccResult = YAFFS_ECC_RESULT_UNFIXED;		
+	if (retval == 0)
+		return YAFFS_OK;
+	else
+		return YAFFS_FAIL;
+}
+
+int nandmtd2_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo)
+{
+	struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice);
+	int retval;
+	T(YAFFS_TRACE_MTD,
+	  (TSTR("nandmtd2_MarkNANDBlockBad %d" TENDSTR), blockNo));
+
+	retval =
+	    mtd->block_markbad(mtd,
+			       blockNo * dev->nChunksPerBlock *
+			       dev->totalBytesPerChunk);
+
+	if (retval == 0)
+		return YAFFS_OK;
+	else
+		return YAFFS_FAIL;
+
+}
+
+int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
+			    yaffs_BlockState * state, __u32 *sequenceNumber)
+{
+	struct mtd_info *mtd = (struct mtd_info *)(dev->genericDevice);
+	int retval;
+
+	T(YAFFS_TRACE_MTD,
+	  (TSTR("nandmtd2_QueryNANDBlock %d" TENDSTR), blockNo));
+	retval =
+	    mtd->block_isbad(mtd,
+			     blockNo * dev->nChunksPerBlock *
+			     dev->totalBytesPerChunk);
+
+	if (retval) {
+		T(YAFFS_TRACE_MTD, (TSTR("block is bad" TENDSTR)));
+
+		*state = YAFFS_BLOCK_STATE_DEAD;
+		*sequenceNumber = 0;
+	} else {
+		yaffs_ExtendedTags t;
+		nandmtd2_ReadChunkWithTagsFromNAND(dev,
+						   blockNo *
+						   dev->nChunksPerBlock, NULL,
+						   &t);
+
+		if (t.chunkUsed) {
+			*sequenceNumber = t.sequenceNumber;
+			*state = YAFFS_BLOCK_STATE_NEEDS_SCANNING;
+		} else {
+			*sequenceNumber = 0;
+			*state = YAFFS_BLOCK_STATE_EMPTY;
+		}
+	}
+	T(YAFFS_TRACE_MTD,
+	  (TSTR("block is bad seq %d state %d" TENDSTR), *sequenceNumber,
+	   *state));
+
+	if (retval == 0)
+		return YAFFS_OK;
+	else
+		return YAFFS_FAIL;
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_mtdif2.h linux-2.6.28.6/fs/yaffs2/yaffs_mtdif2.h
--- linux-2.6.28/fs/yaffs2/yaffs_mtdif2.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_mtdif2.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,29 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifndef __YAFFS_MTDIF2_H__
+#define __YAFFS_MTDIF2_H__
+
+#include "yaffs_guts.h"
+int nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device * dev, int chunkInNAND,
+				      const __u8 * data,
+				      const yaffs_ExtendedTags * tags);
+int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND,
+				       __u8 * data, yaffs_ExtendedTags * tags);
+int nandmtd2_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
+int nandmtd2_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
+			    yaffs_BlockState * state, __u32 *sequenceNumber);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_nand.c linux-2.6.28.6/fs/yaffs2/yaffs_nand.c
--- linux-2.6.28/fs/yaffs2/yaffs_nand.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_nand.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,135 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+const char *yaffs_nand_c_version =
+    "$Id: yaffs_nand.c,v 1.9 2008/05/05 07:58:58 charles Exp $";
+
+#include "yaffs_nand.h"
+#include "yaffs_tagscompat.h"
+#include "yaffs_tagsvalidity.h"
+
+#include "yaffs_getblockinfo.h"
+
+int yaffs_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND,
+					   __u8 * buffer,
+					   yaffs_ExtendedTags * tags)
+{
+	int result;
+	yaffs_ExtendedTags localTags;
+
+	int realignedChunkInNAND = chunkInNAND - dev->chunkOffset;
+
+	/* If there are no tags provided, use local tags to get prioritised gc working */
+	if(!tags)
+		tags = &localTags;
+
+	if (dev->readChunkWithTagsFromNAND)
+		result = dev->readChunkWithTagsFromNAND(dev, realignedChunkInNAND, buffer,
+						      tags);
+	else
+		result = yaffs_TagsCompatabilityReadChunkWithTagsFromNAND(dev,
+									realignedChunkInNAND,
+									buffer,
+									tags);
+	if(tags &&
+	   tags->eccResult > YAFFS_ECC_RESULT_NO_ERROR){
+
+		yaffs_BlockInfo *bi = yaffs_GetBlockInfo(dev, chunkInNAND/dev->nChunksPerBlock);
+                yaffs_HandleChunkError(dev,bi);
+	}
+
+	return result;
+}
+
+int yaffs_WriteChunkWithTagsToNAND(yaffs_Device * dev,
+						   int chunkInNAND,
+						   const __u8 * buffer,
+						   yaffs_ExtendedTags * tags)
+{
+	chunkInNAND -= dev->chunkOffset;
+
+
+	if (tags) {
+		tags->sequenceNumber = dev->sequenceNumber;
+		tags->chunkUsed = 1;
+		if (!yaffs_ValidateTags(tags)) {
+			T(YAFFS_TRACE_ERROR,
+			  (TSTR("Writing uninitialised tags" TENDSTR)));
+			YBUG();
+		}
+		T(YAFFS_TRACE_WRITE,
+		  (TSTR("Writing chunk %d tags %d %d" TENDSTR), chunkInNAND,
+		   tags->objectId, tags->chunkId));
+	} else {
+		T(YAFFS_TRACE_ERROR, (TSTR("Writing with no tags" TENDSTR)));
+		YBUG();
+	}
+
+	if (dev->writeChunkWithTagsToNAND)
+		return dev->writeChunkWithTagsToNAND(dev, chunkInNAND, buffer,
+						     tags);
+	else
+		return yaffs_TagsCompatabilityWriteChunkWithTagsToNAND(dev,
+								       chunkInNAND,
+								       buffer,
+								       tags);
+}
+
+int yaffs_MarkBlockBad(yaffs_Device * dev, int blockNo)
+{
+	blockNo -= dev->blockOffset;
+
+;
+	if (dev->markNANDBlockBad)
+		return dev->markNANDBlockBad(dev, blockNo);
+	else
+		return yaffs_TagsCompatabilityMarkNANDBlockBad(dev, blockNo);
+}
+
+int yaffs_QueryInitialBlockState(yaffs_Device * dev,
+						 int blockNo,
+						 yaffs_BlockState * state,
+						 __u32 *sequenceNumber)
+{
+	blockNo -= dev->blockOffset;
+
+	if (dev->queryNANDBlock)
+		return dev->queryNANDBlock(dev, blockNo, state, sequenceNumber);
+	else
+		return yaffs_TagsCompatabilityQueryNANDBlock(dev, blockNo,
+							     state,
+							     sequenceNumber);
+}
+
+
+int yaffs_EraseBlockInNAND(struct yaffs_DeviceStruct *dev,
+				  int blockInNAND)
+{
+	int result;
+
+	blockInNAND -= dev->blockOffset;
+
+
+	dev->nBlockErasures++;
+	result = dev->eraseBlockInNAND(dev, blockInNAND);
+
+	return result;
+}
+
+int yaffs_InitialiseNAND(struct yaffs_DeviceStruct *dev)
+{
+	return dev->initialiseNAND(dev);
+}
+
+
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_nand.h linux-2.6.28.6/fs/yaffs2/yaffs_nand.h
--- linux-2.6.28/fs/yaffs2/yaffs_nand.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_nand.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,44 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifndef __YAFFS_NAND_H__
+#define __YAFFS_NAND_H__
+#include "yaffs_guts.h"
+
+
+
+int yaffs_ReadChunkWithTagsFromNAND(yaffs_Device * dev, int chunkInNAND,
+					   __u8 * buffer,
+					   yaffs_ExtendedTags * tags);
+
+int yaffs_WriteChunkWithTagsToNAND(yaffs_Device * dev,
+						   int chunkInNAND,
+						   const __u8 * buffer,
+						   yaffs_ExtendedTags * tags);
+
+int yaffs_MarkBlockBad(yaffs_Device * dev, int blockNo);
+
+int yaffs_QueryInitialBlockState(yaffs_Device * dev,
+						 int blockNo,
+						 yaffs_BlockState * state,
+						 unsigned *sequenceNumber);
+
+int yaffs_EraseBlockInNAND(struct yaffs_DeviceStruct *dev,
+				  int blockInNAND);
+
+int yaffs_InitialiseNAND(struct yaffs_DeviceStruct *dev);
+
+#endif
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_nandemul2k.h linux-2.6.28.6/fs/yaffs2/yaffs_nandemul2k.h
--- linux-2.6.28/fs/yaffs2/yaffs_nandemul2k.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_nandemul2k.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,39 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+/* Interface to emulated NAND functions (2k page size) */
+
+#ifndef __YAFFS_NANDEMUL2K_H__
+#define __YAFFS_NANDEMUL2K_H__
+
+#include "yaffs_guts.h"
+
+int nandemul2k_WriteChunkWithTagsToNAND(struct yaffs_DeviceStruct *dev,
+					int chunkInNAND, const __u8 * data,
+					const yaffs_ExtendedTags * tags);
+int nandemul2k_ReadChunkWithTagsFromNAND(struct yaffs_DeviceStruct *dev,
+					 int chunkInNAND, __u8 * data,
+					 yaffs_ExtendedTags * tags);
+int nandemul2k_MarkNANDBlockBad(struct yaffs_DeviceStruct *dev, int blockNo);
+int nandemul2k_QueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo,
+			      yaffs_BlockState * state, __u32 *sequenceNumber);
+int nandemul2k_EraseBlockInNAND(struct yaffs_DeviceStruct *dev,
+				int blockInNAND);
+int nandemul2k_InitialiseNAND(struct yaffs_DeviceStruct *dev);
+int nandemul2k_GetBytesPerChunk(void);
+int nandemul2k_GetChunksPerBlock(void);
+int nandemul2k_GetNumberOfBlocks(void);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_packedtags1.c linux-2.6.28.6/fs/yaffs2/yaffs_packedtags1.c
--- linux-2.6.28/fs/yaffs2/yaffs_packedtags1.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_packedtags1.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,52 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "yaffs_packedtags1.h"
+#include "yportenv.h"
+
+void yaffs_PackTags1(yaffs_PackedTags1 * pt, const yaffs_ExtendedTags * t)
+{
+	pt->chunkId = t->chunkId;
+	pt->serialNumber = t->serialNumber;
+	pt->byteCount = t->byteCount;
+	pt->objectId = t->objectId;
+	pt->ecc = 0;
+	pt->deleted = (t->chunkDeleted) ? 0 : 1;
+	pt->unusedStuff = 0;
+	pt->shouldBeFF = 0xFFFFFFFF;
+
+}
+
+void yaffs_UnpackTags1(yaffs_ExtendedTags * t, const yaffs_PackedTags1 * pt)
+{
+	static const __u8 allFF[] =
+	    { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
+0xff };
+
+	if (memcmp(allFF, pt, sizeof(yaffs_PackedTags1))) {
+		t->blockBad = 0;
+		if (pt->shouldBeFF != 0xFFFFFFFF) {
+			t->blockBad = 1;
+		}
+		t->chunkUsed = 1;
+		t->objectId = pt->objectId;
+		t->chunkId = pt->chunkId;
+		t->byteCount = pt->byteCount;
+		t->eccResult = YAFFS_ECC_RESULT_NO_ERROR;
+		t->chunkDeleted = (pt->deleted) ? 0 : 1;
+		t->serialNumber = pt->serialNumber;
+	} else {
+		memset(t, 0, sizeof(yaffs_ExtendedTags));
+
+	}
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_packedtags1.h linux-2.6.28.6/fs/yaffs2/yaffs_packedtags1.h
--- linux-2.6.28/fs/yaffs2/yaffs_packedtags1.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_packedtags1.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,37 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+/* This is used to pack YAFFS1 tags, not YAFFS2 tags. */
+
+#ifndef __YAFFS_PACKEDTAGS1_H__
+#define __YAFFS_PACKEDTAGS1_H__
+
+#include "yaffs_guts.h"
+
+typedef struct {
+	unsigned chunkId:20;
+	unsigned serialNumber:2;
+	unsigned byteCount:10;
+	unsigned objectId:18;
+	unsigned ecc:12;
+	unsigned deleted:1;
+	unsigned unusedStuff:1;
+	unsigned shouldBeFF;
+
+} yaffs_PackedTags1;
+
+void yaffs_PackTags1(yaffs_PackedTags1 * pt, const yaffs_ExtendedTags * t);
+void yaffs_UnpackTags1(yaffs_ExtendedTags * t, const yaffs_PackedTags1 * pt);
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_packedtags2.c linux-2.6.28.6/fs/yaffs2/yaffs_packedtags2.c
--- linux-2.6.28/fs/yaffs2/yaffs_packedtags2.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_packedtags2.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,208 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "yaffs_packedtags2.h"
+#include "yportenv.h"
+#include "yaffs_tagsvalidity.h"
+
+/* This code packs a set of extended tags into a binary structure for
+ * NAND storage
+ */
+
+/* Some of the information is "extra" struff which can be packed in to
+ * speed scanning
+ * This is defined by having the EXTRA_HEADER_INFO_FLAG set.
+ */
+
+/* Extra flags applied to chunkId */
+
+#define EXTRA_HEADER_INFO_FLAG	0x80000000
+#define EXTRA_SHRINK_FLAG	0x40000000
+#define EXTRA_SHADOWS_FLAG	0x20000000
+#define EXTRA_SPARE_FLAGS	0x10000000
+
+#define ALL_EXTRA_FLAGS		0xF0000000
+
+/* Also, the top 4 bits of the object Id are set to the object type. */
+#define EXTRA_OBJECT_TYPE_SHIFT (28)
+#define EXTRA_OBJECT_TYPE_MASK  ((0x0F) << EXTRA_OBJECT_TYPE_SHIFT)
+
+
+static void yaffs_DumpPackedTags2TagsPart(const yaffs_PackedTags2TagsPart * ptt)
+{
+	T(YAFFS_TRACE_MTD,
+	  (TSTR("packed tags obj %d chunk %d byte %d seq %d" TENDSTR),
+	   ptt->objectId, ptt->chunkId, ptt->byteCount,
+	   ptt->sequenceNumber));
+}
+static void yaffs_DumpPackedTags2(const yaffs_PackedTags2 * pt)
+{
+	yaffs_DumpPackedTags2TagsPart(&pt->t);
+}
+
+static void yaffs_DumpTags2(const yaffs_ExtendedTags * t)
+{
+	T(YAFFS_TRACE_MTD,
+	  (TSTR
+	   ("ext.tags eccres %d blkbad %d chused %d obj %d chunk%d byte %d del %d ser %d seq %d"
+	    TENDSTR), t->eccResult, t->blockBad, t->chunkUsed, t->objectId,
+	   t->chunkId, t->byteCount, t->chunkDeleted, t->serialNumber,
+	   t->sequenceNumber));
+
+}
+
+void yaffs_PackTags2TagsPart(yaffs_PackedTags2TagsPart * ptt, const yaffs_ExtendedTags * t)
+{
+	ptt->chunkId = t->chunkId;
+	ptt->sequenceNumber = t->sequenceNumber;
+	ptt->byteCount = t->byteCount;
+	ptt->objectId = t->objectId;
+
+	if (t->chunkId == 0 && t->extraHeaderInfoAvailable) {
+		/* Store the extra header info instead */
+		/* We save the parent object in the chunkId */
+		ptt->chunkId = EXTRA_HEADER_INFO_FLAG
+			| t->extraParentObjectId;
+		if (t->extraIsShrinkHeader) {
+			ptt->chunkId |= EXTRA_SHRINK_FLAG;
+		}
+		if (t->extraShadows) {
+			ptt->chunkId |= EXTRA_SHADOWS_FLAG;
+		}
+
+		ptt->objectId &= ~EXTRA_OBJECT_TYPE_MASK;
+		ptt->objectId |=
+		    (t->extraObjectType << EXTRA_OBJECT_TYPE_SHIFT);
+
+		if (t->extraObjectType == YAFFS_OBJECT_TYPE_HARDLINK) {
+			ptt->byteCount = t->extraEquivalentObjectId;
+		} else if (t->extraObjectType == YAFFS_OBJECT_TYPE_FILE) {
+			ptt->byteCount = t->extraFileLength;
+		} else {
+			ptt->byteCount = 0;
+		}
+	}
+
+	yaffs_DumpPackedTags2TagsPart(ptt);
+	yaffs_DumpTags2(t);
+}
+
+
+void yaffs_PackTags2(yaffs_PackedTags2 * pt, const yaffs_ExtendedTags * t)
+{
+	yaffs_PackTags2TagsPart(&pt->t,t);
+
+#ifndef YAFFS_IGNORE_TAGS_ECC
+	{
+		yaffs_ECCCalculateOther((unsigned char *)&pt->t,
+					sizeof(yaffs_PackedTags2TagsPart),
+					&pt->ecc);
+	}
+#endif
+}
+
+
+void yaffs_UnpackTags2TagsPart(yaffs_ExtendedTags * t, yaffs_PackedTags2TagsPart * ptt)
+{
+
+	memset(t, 0, sizeof(yaffs_ExtendedTags));
+
+	yaffs_InitialiseTags(t);
+
+	if (ptt->sequenceNumber != 0xFFFFFFFF) {
+		t->blockBad = 0;
+		t->chunkUsed = 1;
+		t->objectId = ptt->objectId;
+		t->chunkId = ptt->chunkId;
+		t->byteCount = ptt->byteCount;
+		t->chunkDeleted = 0;
+		t->serialNumber = 0;
+		t->sequenceNumber = ptt->sequenceNumber;
+
+		/* Do extra header info stuff */
+
+		if (ptt->chunkId & EXTRA_HEADER_INFO_FLAG) {
+			t->chunkId = 0;
+			t->byteCount = 0;
+
+			t->extraHeaderInfoAvailable = 1;
+			t->extraParentObjectId =
+			    ptt->chunkId & (~(ALL_EXTRA_FLAGS));
+			t->extraIsShrinkHeader =
+			    (ptt->chunkId & EXTRA_SHRINK_FLAG) ? 1 : 0;
+			t->extraShadows =
+			    (ptt->chunkId & EXTRA_SHADOWS_FLAG) ? 1 : 0;
+			t->extraObjectType =
+			    ptt->objectId >> EXTRA_OBJECT_TYPE_SHIFT;
+			t->objectId &= ~EXTRA_OBJECT_TYPE_MASK;
+
+			if (t->extraObjectType == YAFFS_OBJECT_TYPE_HARDLINK) {
+				t->extraEquivalentObjectId = ptt->byteCount;
+			} else {
+				t->extraFileLength = ptt->byteCount;
+			}
+		}
+	}
+
+	yaffs_DumpPackedTags2TagsPart(ptt);
+	yaffs_DumpTags2(t);
+
+}
+
+
+void yaffs_UnpackTags2(yaffs_ExtendedTags * t, yaffs_PackedTags2 * pt)
+{
+
+	yaffs_ECCResult eccResult = YAFFS_ECC_RESULT_NO_ERROR;
+	
+	if (pt->t.sequenceNumber != 0xFFFFFFFF) {
+		/* Page is in use */
+#ifndef YAFFS_IGNORE_TAGS_ECC
+		{
+			yaffs_ECCOther ecc;
+			int result;
+			yaffs_ECCCalculateOther((unsigned char *)&pt->t,
+						sizeof
+						(yaffs_PackedTags2TagsPart),
+						&ecc);
+			result =
+			    yaffs_ECCCorrectOther((unsigned char *)&pt->t,
+						  sizeof
+						  (yaffs_PackedTags2TagsPart),
+						  &pt->ecc, &ecc);
+			switch(result){
+				case 0:
+					eccResult = YAFFS_ECC_RESULT_NO_ERROR;
+					break;
+				case 1:
+					eccResult = YAFFS_ECC_RESULT_FIXED;
+					break;
+				case -1:
+					eccResult = YAFFS_ECC_RESULT_UNFIXED;
+					break;
+				default:
+					eccResult = YAFFS_ECC_RESULT_UNKNOWN;
+			}
+		}
+#endif
+	}
+
+	yaffs_UnpackTags2TagsPart(t,&pt->t);
+	
+	t->eccResult = eccResult;
+
+	yaffs_DumpPackedTags2(pt);
+	yaffs_DumpTags2(t);
+
+}
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_packedtags2.h linux-2.6.28.6/fs/yaffs2/yaffs_packedtags2.h
--- linux-2.6.28/fs/yaffs2/yaffs_packedtags2.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_packedtags2.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,43 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+/* This is used to pack YAFFS2 tags, not YAFFS1tags. */
+
+#ifndef __YAFFS_PACKEDTAGS2_H__
+#define __YAFFS_PACKEDTAGS2_H__
+
+#include "yaffs_guts.h"
+#include "yaffs_ecc.h"
+
+typedef struct {
+	unsigned sequenceNumber;
+	unsigned objectId;
+	unsigned chunkId;
+	unsigned byteCount;
+} yaffs_PackedTags2TagsPart;
+
+typedef struct {
+	yaffs_PackedTags2TagsPart t;
+	yaffs_ECCOther ecc;
+} yaffs_PackedTags2;
+
+/* Full packed tags with ECC, used for oob tags */
+void yaffs_PackTags2(yaffs_PackedTags2 * pt, const yaffs_ExtendedTags * t);
+void yaffs_UnpackTags2(yaffs_ExtendedTags * t, yaffs_PackedTags2 * pt);
+
+/* Only the tags part (no ECC for use with inband tags */
+void yaffs_PackTags2TagsPart(yaffs_PackedTags2TagsPart * pt, const yaffs_ExtendedTags * t);
+void yaffs_UnpackTags2TagsPart(yaffs_ExtendedTags * t, yaffs_PackedTags2TagsPart * pt);
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_qsort.c linux-2.6.28.6/fs/yaffs2/yaffs_qsort.c
--- linux-2.6.28/fs/yaffs2/yaffs_qsort.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_qsort.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,160 @@
+/*
+ * Copyright (c) 1992, 1993
+ *	The Regents of the University of California.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#include "yportenv.h"
+//#include <linux/string.h>
+
+/*
+ * Qsort routine from Bentley & McIlroy's "Engineering a Sort Function".
+ */
+#define swapcode(TYPE, parmi, parmj, n) { 		\
+	long i = (n) / sizeof (TYPE); 			\
+	register TYPE *pi = (TYPE *) (parmi); 		\
+	register TYPE *pj = (TYPE *) (parmj); 		\
+	do { 						\
+		register TYPE	t = *pi;		\
+		*pi++ = *pj;				\
+		*pj++ = t;				\
+        } while (--i > 0);				\
+}
+
+#define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \
+	es % sizeof(long) ? 2 : es == sizeof(long)? 0 : 1;
+
+static __inline void
+swapfunc(char *a, char *b, int n, int swaptype)
+{
+	if (swaptype <= 1)
+		swapcode(long, a, b, n)
+	else
+		swapcode(char, a, b, n)
+}
+
+#define swap(a, b)					\
+	if (swaptype == 0) {				\
+		long t = *(long *)(a);			\
+		*(long *)(a) = *(long *)(b);		\
+		*(long *)(b) = t;			\
+	} else						\
+		swapfunc(a, b, es, swaptype)
+
+#define vecswap(a, b, n) 	if ((n) > 0) swapfunc(a, b, n, swaptype)
+
+static __inline char *
+med3(char *a, char *b, char *c, int (*cmp)(const void *, const void *))
+{
+	return cmp(a, b) < 0 ?
+	       (cmp(b, c) < 0 ? b : (cmp(a, c) < 0 ? c : a ))
+              :(cmp(b, c) > 0 ? b : (cmp(a, c) < 0 ? a : c ));
+}
+
+#ifndef min
+#define min(a,b) (((a) < (b)) ? (a) : (b))
+#endif
+
+void
+yaffs_qsort(void *aa, size_t n, size_t es,
+	int (*cmp)(const void *, const void *))
+{
+	char *pa, *pb, *pc, *pd, *pl, *pm, *pn;
+	int d, r, swaptype, swap_cnt;
+	register char *a = aa;
+
+loop:	SWAPINIT(a, es);
+	swap_cnt = 0;
+	if (n < 7) {
+		for (pm = (char *)a + es; pm < (char *) a + n * es; pm += es)
+			for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0;
+			     pl -= es)
+				swap(pl, pl - es);
+		return;
+	}
+	pm = (char *)a + (n / 2) * es;
+	if (n > 7) {
+		pl = (char *)a;
+		pn = (char *)a + (n - 1) * es;
+		if (n > 40) {
+			d = (n / 8) * es;
+			pl = med3(pl, pl + d, pl + 2 * d, cmp);
+			pm = med3(pm - d, pm, pm + d, cmp);
+			pn = med3(pn - 2 * d, pn - d, pn, cmp);
+		}
+		pm = med3(pl, pm, pn, cmp);
+	}
+	swap(a, pm);
+	pa = pb = (char *)a + es;
+
+	pc = pd = (char *)a + (n - 1) * es;
+	for (;;) {
+		while (pb <= pc && (r = cmp(pb, a)) <= 0) {
+			if (r == 0) {
+				swap_cnt = 1;
+				swap(pa, pb);
+				pa += es;
+			}
+			pb += es;
+		}
+		while (pb <= pc && (r = cmp(pc, a)) >= 0) {
+			if (r == 0) {
+				swap_cnt = 1;
+				swap(pc, pd);
+				pd -= es;
+			}
+			pc -= es;
+		}
+		if (pb > pc)
+			break;
+		swap(pb, pc);
+		swap_cnt = 1;
+		pb += es;
+		pc -= es;
+	}
+	if (swap_cnt == 0) {  /* Switch to insertion sort */
+		for (pm = (char *) a + es; pm < (char *) a + n * es; pm += es)
+			for (pl = pm; pl > (char *) a && cmp(pl - es, pl) > 0;
+			     pl -= es)
+				swap(pl, pl - es);
+		return;
+	}
+
+	pn = (char *)a + n * es;
+	r = min(pa - (char *)a, pb - pa);
+	vecswap(a, pb - r, r);
+	r = min((long)(pd - pc), (long)(pn - pd - es));
+	vecswap(pb, pn - r, r);
+	if ((r = pb - pa) > es)
+		yaffs_qsort(a, r / es, es, cmp);
+	if ((r = pd - pc) > es) {
+		/* Iterate rather than recurse to save stack space */
+		a = pn - r;
+		n = r / es;
+		goto loop;
+	}
+/*		yaffs_qsort(pn - r, r / es, es, cmp);*/
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_qsort.h linux-2.6.28.6/fs/yaffs2/yaffs_qsort.h
--- linux-2.6.28/fs/yaffs2/yaffs_qsort.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_qsort.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,23 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+
+#ifndef __YAFFS_QSORT_H__
+#define __YAFFS_QSORT_H__
+
+extern void yaffs_qsort (void *const base, size_t total_elems, size_t size,
+                   int (*cmp)(const void *, const void *));
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_tagscompat.c linux-2.6.28.6/fs/yaffs2/yaffs_tagscompat.c
--- linux-2.6.28/fs/yaffs2/yaffs_tagscompat.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_tagscompat.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,547 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "yaffs_guts.h"
+#include "yaffs_tagscompat.h"
+#include "yaffs_ecc.h"
+#include "yaffs_getblockinfo.h"
+
+static void yaffs_HandleReadDataError(yaffs_Device * dev, int chunkInNAND);
+#ifdef NOTYET
+static void yaffs_CheckWrittenBlock(yaffs_Device * dev, int chunkInNAND);
+static void yaffs_HandleWriteChunkOk(yaffs_Device * dev, int chunkInNAND,
+				     const __u8 * data,
+				     const yaffs_Spare * spare);
+static void yaffs_HandleUpdateChunk(yaffs_Device * dev, int chunkInNAND,
+				    const yaffs_Spare * spare);
+static void yaffs_HandleWriteChunkError(yaffs_Device * dev, int chunkInNAND);
+#endif
+
+static const char yaffs_countBitsTable[256] = {
+	0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4,
+	1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
+	1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
+	2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
+	1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
+	2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
+	2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
+	3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
+	1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5,
+	2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
+	2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
+	3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
+	2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6,
+	3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
+	3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7,
+	4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8
+};
+
+int yaffs_CountBits(__u8 x)
+{
+	int retVal;
+	retVal = yaffs_countBitsTable[x];
+	return retVal;
+}
+
+/********** Tags ECC calculations  *********/
+
+void yaffs_CalcECC(const __u8 * data, yaffs_Spare * spare)
+{
+	yaffs_ECCCalculate(data, spare->ecc1);
+	yaffs_ECCCalculate(&data[256], spare->ecc2);
+}
+
+void yaffs_CalcTagsECC(yaffs_Tags * tags)
+{
+	/* Calculate an ecc */
+
+	unsigned char *b = ((yaffs_TagsUnion *) tags)->asBytes;
+	unsigned i, j;
+	unsigned ecc = 0;
+	unsigned bit = 0;
+
+	tags->ecc = 0;
+
+	for (i = 0; i < 8; i++) {
+		for (j = 1; j & 0xff; j <<= 1) {
+			bit++;
+			if (b[i] & j) {
+				ecc ^= bit;
+			}
+		}
+	}
+
+	tags->ecc = ecc;
+
+}
+
+int yaffs_CheckECCOnTags(yaffs_Tags * tags)
+{
+	unsigned ecc = tags->ecc;
+
+	yaffs_CalcTagsECC(tags);
+
+	ecc ^= tags->ecc;
+
+	if (ecc && ecc <= 64) {
+		/* TODO: Handle the failure better. Retire? */
+		unsigned char *b = ((yaffs_TagsUnion *) tags)->asBytes;
+
+		ecc--;
+
+		b[ecc / 8] ^= (1 << (ecc & 7));
+
+		/* Now recvalc the ecc */
+		yaffs_CalcTagsECC(tags);
+
+		return 1;	/* recovered error */
+	} else if (ecc) {
+		/* Wierd ecc failure value */
+		/* TODO Need to do somethiong here */
+		return -1;	/* unrecovered error */
+	}
+
+	return 0;
+}
+
+/********** Tags **********/
+
+static void yaffs_LoadTagsIntoSpare(yaffs_Spare * sparePtr,
+				    yaffs_Tags * tagsPtr)
+{
+	yaffs_TagsUnion *tu = (yaffs_TagsUnion *) tagsPtr;
+
+	yaffs_CalcTagsECC(tagsPtr);
+
+	sparePtr->tagByte0 = tu->asBytes[0];
+	sparePtr->tagByte1 = tu->asBytes[1];
+	sparePtr->tagByte2 = tu->asBytes[2];
+	sparePtr->tagByte3 = tu->asBytes[3];
+	sparePtr->tagByte4 = tu->asBytes[4];
+	sparePtr->tagByte5 = tu->asBytes[5];
+	sparePtr->tagByte6 = tu->asBytes[6];
+	sparePtr->tagByte7 = tu->asBytes[7];
+}
+
+static void yaffs_GetTagsFromSpare(yaffs_Device * dev, yaffs_Spare * sparePtr,
+				   yaffs_Tags * tagsPtr)
+{
+	yaffs_TagsUnion *tu = (yaffs_TagsUnion *) tagsPtr;
+	int result;
+
+	tu->asBytes[0] = sparePtr->tagByte0;
+	tu->asBytes[1] = sparePtr->tagByte1;
+	tu->asBytes[2] = sparePtr->tagByte2;
+	tu->asBytes[3] = sparePtr->tagByte3;
+	tu->asBytes[4] = sparePtr->tagByte4;
+	tu->asBytes[5] = sparePtr->tagByte5;
+	tu->asBytes[6] = sparePtr->tagByte6;
+	tu->asBytes[7] = sparePtr->tagByte7;
+
+	result = yaffs_CheckECCOnTags(tagsPtr);
+	if (result > 0) {
+		dev->tagsEccFixed++;
+	} else if (result < 0) {
+		dev->tagsEccUnfixed++;
+	}
+}
+
+static void yaffs_SpareInitialise(yaffs_Spare * spare)
+{
+	memset(spare, 0xFF, sizeof(yaffs_Spare));
+}
+
+static int yaffs_WriteChunkToNAND(struct yaffs_DeviceStruct *dev,
+				  int chunkInNAND, const __u8 * data,
+				  yaffs_Spare * spare)
+{
+	if (chunkInNAND < dev->startBlock * dev->nChunksPerBlock) {
+		T(YAFFS_TRACE_ERROR,
+		  (TSTR("**>> yaffs chunk %d is not valid" TENDSTR),
+		   chunkInNAND));
+		return YAFFS_FAIL;
+	}
+
+	dev->nPageWrites++;
+	return dev->writeChunkToNAND(dev, chunkInNAND, data, spare);
+}
+
+static int yaffs_ReadChunkFromNAND(struct yaffs_DeviceStruct *dev,
+				   int chunkInNAND,
+				   __u8 * data,
+				   yaffs_Spare * spare,
+				   yaffs_ECCResult * eccResult,
+				   int doErrorCorrection)
+{
+	int retVal;
+	yaffs_Spare localSpare;
+
+	dev->nPageReads++;
+
+	if (!spare && data) {
+		/* If we don't have a real spare, then we use a local one. */
+		/* Need this for the calculation of the ecc */
+		spare = &localSpare;
+	}
+
+	if (!dev->useNANDECC) {
+		retVal = dev->readChunkFromNAND(dev, chunkInNAND, data, spare);
+		if (data && doErrorCorrection) {
+			/* Do ECC correction */
+			/* Todo handle any errors */
+			int eccResult1, eccResult2;
+			__u8 calcEcc[3];
+
+			yaffs_ECCCalculate(data, calcEcc);
+			eccResult1 =
+			    yaffs_ECCCorrect(data, spare->ecc1, calcEcc);
+			yaffs_ECCCalculate(&data[256], calcEcc);
+			eccResult2 =
+			    yaffs_ECCCorrect(&data[256], spare->ecc2, calcEcc);
+
+			if (eccResult1 > 0) {
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR
+				   ("**>>yaffs ecc error fix performed on chunk %d:0"
+				    TENDSTR), chunkInNAND));
+				dev->eccFixed++;
+			} else if (eccResult1 < 0) {
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR
+				   ("**>>yaffs ecc error unfixed on chunk %d:0"
+				    TENDSTR), chunkInNAND));
+				dev->eccUnfixed++;
+			}
+
+			if (eccResult2 > 0) {
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR
+				   ("**>>yaffs ecc error fix performed on chunk %d:1"
+				    TENDSTR), chunkInNAND));
+				dev->eccFixed++;
+			} else if (eccResult2 < 0) {
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR
+				   ("**>>yaffs ecc error unfixed on chunk %d:1"
+				    TENDSTR), chunkInNAND));
+				dev->eccUnfixed++;
+			}
+
+			if (eccResult1 || eccResult2) {
+				/* We had a data problem on this page */
+				yaffs_HandleReadDataError(dev, chunkInNAND);
+			}
+
+			if (eccResult1 < 0 || eccResult2 < 0)
+				*eccResult = YAFFS_ECC_RESULT_UNFIXED;
+			else if (eccResult1 > 0 || eccResult2 > 0)
+				*eccResult = YAFFS_ECC_RESULT_FIXED;
+			else
+				*eccResult = YAFFS_ECC_RESULT_NO_ERROR;
+		}
+	} else {
+		/* Must allocate enough memory for spare+2*sizeof(int) */
+		/* for ecc results from device. */
+		struct yaffs_NANDSpare nspare;
+		
+		memset(&nspare,0,sizeof(nspare));
+		
+		retVal =
+		    dev->readChunkFromNAND(dev, chunkInNAND, data,
+					   (yaffs_Spare *) & nspare);
+		memcpy(spare, &nspare, sizeof(yaffs_Spare));
+		if (data && doErrorCorrection) {
+			if (nspare.eccres1 > 0) {
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR
+				   ("**>>mtd ecc error fix performed on chunk %d:0"
+				    TENDSTR), chunkInNAND));
+			} else if (nspare.eccres1 < 0) {
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR
+				   ("**>>mtd ecc error unfixed on chunk %d:0"
+				    TENDSTR), chunkInNAND));
+			}
+
+			if (nspare.eccres2 > 0) {
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR
+				   ("**>>mtd ecc error fix performed on chunk %d:1"
+				    TENDSTR), chunkInNAND));
+			} else if (nspare.eccres2 < 0) {
+				T(YAFFS_TRACE_ERROR,
+				  (TSTR
+				   ("**>>mtd ecc error unfixed on chunk %d:1"
+				    TENDSTR), chunkInNAND));
+			}
+
+			if (nspare.eccres1 || nspare.eccres2) {
+				/* We had a data problem on this page */
+				yaffs_HandleReadDataError(dev, chunkInNAND);
+			}
+
+			if (nspare.eccres1 < 0 || nspare.eccres2 < 0)
+				*eccResult = YAFFS_ECC_RESULT_UNFIXED;
+			else if (nspare.eccres1 > 0 || nspare.eccres2 > 0)
+				*eccResult = YAFFS_ECC_RESULT_FIXED;
+			else
+				*eccResult = YAFFS_ECC_RESULT_NO_ERROR;
+
+		}
+	}
+	return retVal;
+}
+
+#ifdef NOTYET
+static int yaffs_CheckChunkErased(struct yaffs_DeviceStruct *dev,
+				  int chunkInNAND)
+{
+
+	static int init = 0;
+	static __u8 cmpbuf[YAFFS_BYTES_PER_CHUNK];
+	static __u8 data[YAFFS_BYTES_PER_CHUNK];
+	/* Might as well always allocate the larger size for */
+	/* dev->useNANDECC == true; */
+	static __u8 spare[sizeof(struct yaffs_NANDSpare)];
+
+	dev->readChunkFromNAND(dev, chunkInNAND, data, (yaffs_Spare *) spare);
+
+	if (!init) {
+		memset(cmpbuf, 0xff, YAFFS_BYTES_PER_CHUNK);
+		init = 1;
+	}
+
+	if (memcmp(cmpbuf, data, YAFFS_BYTES_PER_CHUNK))
+		return YAFFS_FAIL;
+	if (memcmp(cmpbuf, spare, 16))
+		return YAFFS_FAIL;
+
+	return YAFFS_OK;
+
+}
+#endif
+
+/*
+ * Functions for robustisizing
+ */
+
+static void yaffs_HandleReadDataError(yaffs_Device * dev, int chunkInNAND)
+{
+	int blockInNAND = chunkInNAND / dev->nChunksPerBlock;
+
+	/* Mark the block for retirement */
+	yaffs_GetBlockInfo(dev, blockInNAND + dev->blockOffset)->needsRetiring = 1;
+	T(YAFFS_TRACE_ERROR | YAFFS_TRACE_BAD_BLOCKS,
+	  (TSTR("**>>Block %d marked for retirement" TENDSTR), blockInNAND));
+
+	/* TODO:
+	 * Just do a garbage collection on the affected block
+	 * then retire the block
+	 * NB recursion
+	 */
+}
+
+#ifdef NOTYET
+static void yaffs_CheckWrittenBlock(yaffs_Device * dev, int chunkInNAND)
+{
+}
+
+static void yaffs_HandleWriteChunkOk(yaffs_Device * dev, int chunkInNAND,
+				     const __u8 * data,
+				     const yaffs_Spare * spare)
+{
+}
+
+static void yaffs_HandleUpdateChunk(yaffs_Device * dev, int chunkInNAND,
+				    const yaffs_Spare * spare)
+{
+}
+
+static void yaffs_HandleWriteChunkError(yaffs_Device * dev, int chunkInNAND)
+{
+	int blockInNAND = chunkInNAND / dev->nChunksPerBlock;
+
+	/* Mark the block for retirement */
+	yaffs_GetBlockInfo(dev, blockInNAND)->needsRetiring = 1;
+	/* Delete the chunk */
+	yaffs_DeleteChunk(dev, chunkInNAND, 1, __LINE__);
+}
+
+static int yaffs_VerifyCompare(const __u8 * d0, const __u8 * d1,
+			       const yaffs_Spare * s0, const yaffs_Spare * s1)
+{
+
+	if (memcmp(d0, d1, YAFFS_BYTES_PER_CHUNK) != 0 ||
+	    s0->tagByte0 != s1->tagByte0 ||
+	    s0->tagByte1 != s1->tagByte1 ||
+	    s0->tagByte2 != s1->tagByte2 ||
+	    s0->tagByte3 != s1->tagByte3 ||
+	    s0->tagByte4 != s1->tagByte4 ||
+	    s0->tagByte5 != s1->tagByte5 ||
+	    s0->tagByte6 != s1->tagByte6 ||
+	    s0->tagByte7 != s1->tagByte7 ||
+	    s0->ecc1[0] != s1->ecc1[0] ||
+	    s0->ecc1[1] != s1->ecc1[1] ||
+	    s0->ecc1[2] != s1->ecc1[2] ||
+	    s0->ecc2[0] != s1->ecc2[0] ||
+	    s0->ecc2[1] != s1->ecc2[1] || s0->ecc2[2] != s1->ecc2[2]) {
+		return 0;
+	}
+
+	return 1;
+}
+#endif				/* NOTYET */
+
+int yaffs_TagsCompatabilityWriteChunkWithTagsToNAND(yaffs_Device * dev,
+						    int chunkInNAND,
+						    const __u8 * data,
+						    const yaffs_ExtendedTags *
+						    eTags)
+{
+	yaffs_Spare spare;
+	yaffs_Tags tags;
+
+	yaffs_SpareInitialise(&spare);
+
+	if (eTags->chunkDeleted) {
+		spare.pageStatus = 0;
+	} else {
+		tags.objectId = eTags->objectId;
+		tags.chunkId = eTags->chunkId;
+
+		tags.byteCountLSB = eTags->byteCount & 0x3ff;
+		
+		if(dev->nDataBytesPerChunk >= 1024){
+			tags.byteCountMSB = (eTags->byteCount >> 10) & 3;
+		} else {
+			tags.byteCountMSB = 3;
+		}
+		
+
+		tags.serialNumber = eTags->serialNumber;
+
+		if (!dev->useNANDECC && data) {
+			yaffs_CalcECC(data, &spare);
+		}
+		yaffs_LoadTagsIntoSpare(&spare, &tags);
+
+	}
+
+	return yaffs_WriteChunkToNAND(dev, chunkInNAND, data, &spare);
+}
+
+int yaffs_TagsCompatabilityReadChunkWithTagsFromNAND(yaffs_Device * dev,
+						     int chunkInNAND,
+						     __u8 * data,
+						     yaffs_ExtendedTags * eTags)
+{
+
+	yaffs_Spare spare;
+	yaffs_Tags tags;
+	yaffs_ECCResult eccResult = YAFFS_ECC_RESULT_UNKNOWN;
+
+	static yaffs_Spare spareFF;
+	static int init = 0;
+
+	if (!init) {
+		memset(&spareFF, 0xFF, sizeof(spareFF));
+		init = 1;
+	}
+
+	if (yaffs_ReadChunkFromNAND
+	    (dev, chunkInNAND, data, &spare, &eccResult, 1)) {
+		/* eTags may be NULL */
+		if (eTags) {
+
+			int deleted =
+			    (yaffs_CountBits(spare.pageStatus) < 7) ? 1 : 0;
+
+			eTags->chunkDeleted = deleted;
+			eTags->eccResult = eccResult;
+			eTags->blockBad = 0;	/* We're reading it */
+			/* therefore it is not a bad block */
+			eTags->chunkUsed =
+			    (memcmp(&spareFF, &spare, sizeof(spareFF)) !=
+			     0) ? 1 : 0;
+
+			if (eTags->chunkUsed) {
+				yaffs_GetTagsFromSpare(dev, &spare, &tags);
+
+				eTags->objectId = tags.objectId;
+				eTags->chunkId = tags.chunkId;
+				eTags->byteCount = tags.byteCountLSB;
+
+				if(dev->nDataBytesPerChunk >= 1024)
+					eTags->byteCount |= (((unsigned) tags.byteCountMSB) << 10);
+
+				eTags->serialNumber = tags.serialNumber;
+			}
+		}
+
+		return YAFFS_OK;
+	} else {
+		return YAFFS_FAIL;
+	}
+}
+
+int yaffs_TagsCompatabilityMarkNANDBlockBad(struct yaffs_DeviceStruct *dev,
+					    int blockInNAND)
+{
+
+	yaffs_Spare spare;
+
+	memset(&spare, 0xff, sizeof(yaffs_Spare));
+
+	spare.blockStatus = 'Y';
+
+	yaffs_WriteChunkToNAND(dev, blockInNAND * dev->nChunksPerBlock, NULL,
+			       &spare);
+	yaffs_WriteChunkToNAND(dev, blockInNAND * dev->nChunksPerBlock + 1,
+			       NULL, &spare);
+
+	return YAFFS_OK;
+
+}
+
+int yaffs_TagsCompatabilityQueryNANDBlock(struct yaffs_DeviceStruct *dev,
+					  int blockNo,
+					  yaffs_BlockState *state,
+					  __u32 *sequenceNumber)
+{
+
+	yaffs_Spare spare0, spare1;
+	static yaffs_Spare spareFF;
+	static int init;
+	yaffs_ECCResult dummy;
+
+	if (!init) {
+		memset(&spareFF, 0xFF, sizeof(spareFF));
+		init = 1;
+	}
+
+	*sequenceNumber = 0;
+
+	yaffs_ReadChunkFromNAND(dev, blockNo * dev->nChunksPerBlock, NULL,
+				&spare0, &dummy, 1);
+	yaffs_ReadChunkFromNAND(dev, blockNo * dev->nChunksPerBlock + 1, NULL,
+				&spare1, &dummy, 1);
+
+	if (yaffs_CountBits(spare0.blockStatus & spare1.blockStatus) < 7)
+		*state = YAFFS_BLOCK_STATE_DEAD;
+	else if (memcmp(&spareFF, &spare0, sizeof(spareFF)) == 0)
+		*state = YAFFS_BLOCK_STATE_EMPTY;
+	else
+		*state = YAFFS_BLOCK_STATE_NEEDS_SCANNING;
+
+	return YAFFS_OK;
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_tagscompat.h linux-2.6.28.6/fs/yaffs2/yaffs_tagscompat.h
--- linux-2.6.28/fs/yaffs2/yaffs_tagscompat.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_tagscompat.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,41 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifndef __YAFFS_TAGSCOMPAT_H__
+#define __YAFFS_TAGSCOMPAT_H__
+
+#include "yaffs_guts.h"
+int yaffs_TagsCompatabilityWriteChunkWithTagsToNAND(yaffs_Device * dev,
+						    int chunkInNAND,
+						    const __u8 * data,
+						    const yaffs_ExtendedTags *
+						    tags);
+int yaffs_TagsCompatabilityReadChunkWithTagsFromNAND(yaffs_Device * dev,
+						     int chunkInNAND,
+						     __u8 * data,
+						     yaffs_ExtendedTags *
+						     tags);
+int yaffs_TagsCompatabilityMarkNANDBlockBad(struct yaffs_DeviceStruct *dev,
+					    int blockNo);
+int yaffs_TagsCompatabilityQueryNANDBlock(struct yaffs_DeviceStruct *dev,
+					  int blockNo, 
+					  yaffs_BlockState *state,
+					  __u32 *sequenceNumber);
+
+void yaffs_CalcTagsECC(yaffs_Tags * tags);
+int yaffs_CheckECCOnTags(yaffs_Tags * tags);
+int yaffs_CountBits(__u8 byte);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_tagsvalidity.c linux-2.6.28.6/fs/yaffs2/yaffs_tagsvalidity.c
--- linux-2.6.28/fs/yaffs2/yaffs_tagsvalidity.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_tagsvalidity.c	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,28 @@
+/*
+ * YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "yaffs_tagsvalidity.h"
+
+void yaffs_InitialiseTags(yaffs_ExtendedTags * tags)
+{
+	memset(tags, 0, sizeof(yaffs_ExtendedTags));
+	tags->validMarker0 = 0xAAAAAAAA;
+	tags->validMarker1 = 0x55555555;
+}
+
+int yaffs_ValidateTags(yaffs_ExtendedTags * tags)
+{
+	return (tags->validMarker0 == 0xAAAAAAAA &&
+		tags->validMarker1 == 0x55555555);
+
+}
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffs_tagsvalidity.h linux-2.6.28.6/fs/yaffs2/yaffs_tagsvalidity.h
--- linux-2.6.28/fs/yaffs2/yaffs_tagsvalidity.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffs_tagsvalidity.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,24 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+
+#ifndef __YAFFS_TAGS_VALIDITY_H__
+#define __YAFFS_TAGS_VALIDITY_H__
+
+#include "yaffs_guts.h"
+
+void yaffs_InitialiseTags(yaffs_ExtendedTags * tags);
+int yaffs_ValidateTags(yaffs_ExtendedTags * tags);
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yaffsinterface.h linux-2.6.28.6/fs/yaffs2/yaffsinterface.h
--- linux-2.6.28/fs/yaffs2/yaffsinterface.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yaffsinterface.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,21 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+#ifndef __YAFFSINTERFACE_H__
+#define __YAFFSINTERFACE_H__
+
+int yaffs_Initialise(unsigned nBlocks);
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/fs/yaffs2/yportenv.h linux-2.6.28.6/fs/yaffs2/yportenv.h
--- linux-2.6.28/fs/yaffs2/yportenv.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/fs/yaffs2/yportenv.h	2009-04-30 09:36:39.000000000 +0200
@@ -0,0 +1,203 @@
+/*
+ * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
+ *
+ * Copyright (C) 2002-2007 Aleph One Ltd.
+ *   for Toby Churchill Ltd and Brightstar Engineering
+ *
+ * Created by Charles Manning <charles@aleph1.co.uk>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 2.1 as
+ * published by the Free Software Foundation.
+ *
+ * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
+ */
+
+
+#ifndef __YPORTENV_H__
+#define __YPORTENV_H__
+
+/*
+ * Define the MTD version in terms of Linux Kernel versions
+ * This allows yaffs to be used independantly of the kernel
+ * as well as with it.
+ */
+
+#define MTD_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
+
+#if defined CONFIG_YAFFS_WINCE
+
+#include "ywinceenv.h"
+
+#elif  defined __KERNEL__
+
+#include "moduleconfig.h"
+
+/* Linux kernel */
+
+#include <linux/version.h>
+#define MTD_VERSION_CODE LINUX_VERSION_CODE
+
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19))
+#include <linux/config.h>
+#endif
+#include <linux/kernel.h>
+#include <linux/mm.h>
+#include <linux/sched.h>
+#include <linux/string.h>
+#include <linux/slab.h>
+#include <linux/vmalloc.h>
+
+#define YCHAR char
+#define YUCHAR unsigned char
+#define _Y(x)     x
+#define yaffs_strcat(a,b)    strcat(a,b)
+#define yaffs_strcpy(a,b)    strcpy(a,b)
+#define yaffs_strncpy(a,b,c) strncpy(a,b,c)
+#define yaffs_strncmp(a,b,c) strncmp(a,b,c)
+#define yaffs_strlen(s)	     strlen(s)
+#define yaffs_sprintf	     sprintf
+#define yaffs_toupper(a)     toupper(a)
+
+#define Y_INLINE inline
+
+#define YAFFS_LOSTNFOUND_NAME		"lost+found"
+#define YAFFS_LOSTNFOUND_PREFIX		"obj"
+
+/* #define YPRINTF(x) printk x */
+#define YMALLOC(x) kmalloc(x,GFP_NOFS)
+#define YFREE(x)   kfree(x)
+#define YMALLOC_ALT(x) vmalloc(x)
+#define YFREE_ALT(x)   vfree(x)
+#define YMALLOC_DMA(x) YMALLOC(x)
+
+// KR - added for use in scan so processes aren't blocked indefinitely.
+#define YYIELD() schedule()
+
+#define YAFFS_ROOT_MODE			0666
+#define YAFFS_LOSTNFOUND_MODE		0666
+
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+#define Y_CURRENT_TIME CURRENT_TIME.tv_sec
+#define Y_TIME_CONVERT(x) (x).tv_sec
+#else
+#define Y_CURRENT_TIME CURRENT_TIME
+#define Y_TIME_CONVERT(x) (x)
+#endif
+
+#define yaffs_SumCompare(x,y) ((x) == (y))
+#define yaffs_strcmp(a,b) strcmp(a,b)
+
+#define TENDSTR "\n"
+#define TSTR(x) KERN_WARNING x
+#define TCONT(x) x
+#define TOUT(p) printk p
+
+#define yaffs_trace(mask, fmt, args...) \
+	do { if ((mask) & (yaffs_traceMask|YAFFS_TRACE_ERROR)) \
+		printk(KERN_WARNING "yaffs: " fmt, ## args); \
+	} while (0)
+
+#define compile_time_assertion(assertion) \
+	({ int x = __builtin_choose_expr(assertion, 0, (void)0); (void) x; })
+
+#elif defined CONFIG_YAFFS_DIRECT
+
+#define MTD_VERSION_CODE MTD_VERSION(2,6,22)
+
+/* Direct interface */
+#include "ydirectenv.h"
+
+#elif defined CONFIG_YAFFS_UTIL
+
+/* Stuff for YAFFS utilities */
+
+#include "stdlib.h"
+#include "stdio.h"
+#include "string.h"
+
+#include "devextras.h"
+
+#define YMALLOC(x) malloc(x)
+#define YFREE(x)   free(x)
+#define YMALLOC_ALT(x) malloc(x)
+#define YFREE_ALT(x) free(x)
+
+#define YCHAR char
+#define YUCHAR unsigned char
+#define _Y(x)     x
+#define yaffs_strcat(a,b)    strcat(a,b)
+#define yaffs_strcpy(a,b)    strcpy(a,b)
+#define yaffs_strncpy(a,b,c) strncpy(a,b,c)
+#define yaffs_strlen(s)	     strlen(s)
+#define yaffs_sprintf	     sprintf
+#define yaffs_toupper(a)     toupper(a)
+
+#define Y_INLINE inline
+
+/* #define YINFO(s) YPRINTF(( __FILE__ " %d %s\n",__LINE__,s)) */
+/* #define YALERT(s) YINFO(s) */
+
+#define TENDSTR "\n"
+#define TSTR(x) x
+#define TOUT(p) printf p
+
+#define YAFFS_LOSTNFOUND_NAME		"lost+found"
+#define YAFFS_LOSTNFOUND_PREFIX		"obj"
+/* #define YPRINTF(x) printf x */
+
+#define YAFFS_ROOT_MODE				0666
+#define YAFFS_LOSTNFOUND_MODE		0666
+
+#define yaffs_SumCompare(x,y) ((x) == (y))
+#define yaffs_strcmp(a,b) strcmp(a,b)
+
+#else
+/* Should have specified a configuration type */
+#error Unknown configuration
+
+#endif
+
+/* see yaffs_fs.c */
+extern unsigned int yaffs_traceMask;
+extern unsigned int yaffs_wr_attempts;
+
+/*
+ * Tracing flags.
+ * The flags masked in YAFFS_TRACE_ALWAYS are always traced.
+ */
+
+#define YAFFS_TRACE_OS			0x00000002
+#define YAFFS_TRACE_ALLOCATE		0x00000004
+#define YAFFS_TRACE_SCAN		0x00000008
+#define YAFFS_TRACE_BAD_BLOCKS		0x00000010
+#define YAFFS_TRACE_ERASE		0x00000020
+#define YAFFS_TRACE_GC			0x00000040
+#define YAFFS_TRACE_WRITE		0x00000080
+#define YAFFS_TRACE_TRACING		0x00000100
+#define YAFFS_TRACE_DELETION		0x00000200
+#define YAFFS_TRACE_BUFFERS		0x00000400
+#define YAFFS_TRACE_NANDACCESS		0x00000800
+#define YAFFS_TRACE_GC_DETAIL		0x00001000
+#define YAFFS_TRACE_SCAN_DEBUG		0x00002000
+#define YAFFS_TRACE_MTD			0x00004000
+#define YAFFS_TRACE_CHECKPOINT		0x00008000
+
+#define YAFFS_TRACE_VERIFY		0x00010000
+#define YAFFS_TRACE_VERIFY_NAND		0x00020000
+#define YAFFS_TRACE_VERIFY_FULL		0x00040000
+#define YAFFS_TRACE_VERIFY_ALL		0x000F0000
+
+
+#define YAFFS_TRACE_ERROR		0x40000000
+#define YAFFS_TRACE_BUG			0x80000000
+#define YAFFS_TRACE_ALWAYS		0xF0000000
+
+
+#define T(mask,p) do{ if((mask) & (yaffs_traceMask | YAFFS_TRACE_ALWAYS)) TOUT(p);} while(0)
+
+#ifndef YBUG
+#define YBUG() do {T(YAFFS_TRACE_BUG,(TSTR("==>> yaffs bug: " __FILE__ " %d" TENDSTR),__LINE__));} while(0)
+#endif
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/include/linux/i2c-id.h linux-2.6.28.6/include/linux/i2c-id.h
--- linux-2.6.28/include/linux/i2c-id.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/include/linux/i2c-id.h	2009-10-21 21:23:33.000000000 +0200
@@ -81,6 +81,9 @@
 #define I2C_DRIVERID_CS4270	94	/* Cirrus Logic 4270 audio codec */
 #define I2C_DRIVERID_M52790 	95      /* Mitsubishi M52790SP/FP AV switch */
 #define I2C_DRIVERID_CS5345	96	/* cs5345 audio processor	*/
+#define I2C_DRIVERID_S5K3BA	501	/* Samsung S5K3BA CMOS Image Sensor */
+#define I2C_DRIVERID_S5K4BA	502	/* Samsung S5K4BA CMOS Image Sensor */
+#define I2C_DRIVERID_OV965X	503	/* OVT OV965X CMOS Image Sensor */
 
 #define I2C_DRIVERID_OV7670 1048	/* Omnivision 7670 camera */
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/include/linux/mmc/host.h linux-2.6.28.6/include/linux/mmc/host.h
--- linux-2.6.28/include/linux/mmc/host.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/include/linux/mmc/host.h	2009-04-30 09:36:39.000000000 +0200
@@ -41,6 +41,7 @@
 
 #define MMC_BUS_WIDTH_1		0
 #define MMC_BUS_WIDTH_4		2
+#define MMC_BUS_WIDTH_8		3
 
 	unsigned char	timing;			/* timing specification used */
 
@@ -116,6 +117,9 @@
 #define MMC_CAP_SDIO_IRQ	(1 << 3)	/* Can signal pending SDIO IRQs */
 #define MMC_CAP_SPI		(1 << 4)	/* Talks only SPI protocols */
 #define MMC_CAP_NEEDS_POLL	(1 << 5)	/* Needs polling for card-detection */
+#define MMC_CAP_8_BIT_DATA	(1 << 6)	/* Can the host do 8 bit transfers */
+#define MMC_CAP_ON_BOARD	(1 << 7)	/* Do not need to rescan after bootup */
+#define MMC_CAP_BOOT_ONTHEFLY	(1 << 8)	/* Can detect device at boot time */
 
 	/* host specific block data */
 	unsigned int		max_seg_size;	/* see blk_queue_max_segment_size */
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/include/linux/mmzone.h linux-2.6.28.6/include/linux/mmzone.h
--- linux-2.6.28/include/linux/mmzone.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/include/linux/mmzone.h	2009-04-30 09:36:39.000000000 +0200
@@ -21,7 +21,7 @@
 
 /* Free memory management - zoned buddy allocator.  */
 #ifndef CONFIG_FORCE_MAX_ZONEORDER
-#define MAX_ORDER 11
+#define MAX_ORDER 12
 #else
 #define MAX_ORDER CONFIG_FORCE_MAX_ZONEORDER
 #endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/include/linux/serial_core.h linux-2.6.28.6/include/linux/serial_core.h
--- linux-2.6.28/include/linux/serial_core.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/include/linux/serial_core.h	2009-04-30 09:36:39.000000000 +0200
@@ -158,6 +159,8 @@
 /* SH-SCI */
 #define PORT_SCIFA	83
 
+#define PORT_S3C6400	255
+
 #ifdef __KERNEL__
 
 #include <linux/compiler.h>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/include/linux/spi/spi.h linux-2.6.28.6/include/linux/spi/spi.h
--- linux-2.6.28/include/linux/spi/spi.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/include/linux/spi/spi.h	2009-04-30 09:36:40.000000000 +0200
@@ -78,6 +78,10 @@
 #define	SPI_LSB_FIRST	0x08			/* per-word bits-on-wire */
 #define	SPI_3WIRE	0x10			/* SI/SO signals shared */
 #define	SPI_LOOP	0x20			/* loopback mode */
+#define	SPI_SLAVE	0x40			/* SLAVE mode if this bit is set */
+
+#define SPIDEV_MAX_BUFFSIZE	16384
+
 	u8			bits_per_word;
 	int			irq;
 	void			*controller_state;
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/include/linux/spi/spidev.h linux-2.6.28.6/include/linux/spi/spidev.h
--- linux-2.6.28/include/linux/spi/spidev.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/include/linux/spi/spidev.h	2009-04-30 09:36:40.000000000 +0200
@@ -39,6 +39,9 @@
 #define SPI_LSB_FIRST		0x08
 #define SPI_3WIRE		0x10
 #define SPI_LOOP		0x20
+#define	SPI_SLAVE	0x40			/* SLAVE mode if this bit is set */
+
+#define SPIDEV_MAX_BUFFSIZE	16384
 
 /*---------------------------------------------------------------------------*/
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/include/media/v4l2-dev.h linux-2.6.28.6/include/media/v4l2-dev.h
--- linux-2.6.28/include/media/v4l2-dev.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/include/media/v4l2-dev.h	2009-04-30 09:36:40.000000000 +0200
@@ -48,6 +48,11 @@
 	int vfl_type;
 	int minor;
 	u16 num;
+
+	/* added for TV */
+	int type2;
+	int users;
+
 	/* attribute to differentiate multiple indices on one physical device */
 	int index;
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/include/sound/soc-dapm.h linux-2.6.28.6/include/sound/soc-dapm.h
--- linux-2.6.28/include/sound/soc-dapm.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/include/sound/soc-dapm.h	2009-04-30 09:36:40.000000000 +0200
@@ -237,6 +237,11 @@
 /* dapm sys fs - used by the core */
 int snd_soc_dapm_sys_add(struct device *dev);
 
+/* dapm audio endpoint control */
+int snd_soc_dapm_set_endpoint(struct snd_soc_codec *codec,
+	char *pin, int status);
+int snd_soc_dapm_sync_endpoints(struct snd_soc_codec *codec);
+
 /* dapm audio pin control and status */
 int snd_soc_dapm_enable_pin(struct snd_soc_codec *codec, char *pin);
 int snd_soc_dapm_disable_pin(struct snd_soc_codec *codec, char *pin);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/include/sound/soc.h linux-2.6.28.6/include/sound/soc.h
--- linux-2.6.28/include/sound/soc.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/include/sound/soc.h	2009-04-30 09:36:40.000000000 +0200
@@ -430,6 +430,8 @@
 	struct list_head dapm_paths;
 	enum snd_soc_bias_level bias_level;
 	enum snd_soc_bias_level suspend_bias_level;
+        unsigned int dapm_state;
+	unsigned int suspend_dapm_state;
 	struct delayed_work delayed_work;
 
 	/* codec DAI's */
Binary files linux-2.6.28/scripts/FriendlyARM.cpio and linux-2.6.28.6/scripts/FriendlyARM.cpio differ
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/Kconfig linux-2.6.28.6/sound/soc/Kconfig
--- linux-2.6.28/sound/soc/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/Kconfig	2009-04-30 09:36:40.000000000 +0200
@@ -28,6 +28,8 @@
 source "sound/soc/au1x/Kconfig"
 source "sound/soc/pxa/Kconfig"
 source "sound/soc/s3c24xx/Kconfig"
+source "sound/soc/s3c64xx/Kconfig"
+source "sound/soc/s5pc1xx/Kconfig"
 source "sound/soc/sh/Kconfig"
 source "sound/soc/fsl/Kconfig"
 source "sound/soc/davinci/Kconfig"
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/Makefile linux-2.6.28.6/sound/soc/Makefile
--- linux-2.6.28/sound/soc/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/Makefile	2009-04-30 09:36:40.000000000 +0200
@@ -1,5 +1,5 @@
 snd-soc-core-objs := soc-core.o soc-dapm.o
 
 obj-$(CONFIG_SND_SOC)	+= snd-soc-core.o
-obj-$(CONFIG_SND_SOC)	+= codecs/ at32/ at91/ pxa/ s3c24xx/ sh/ fsl/ davinci/
+obj-$(CONFIG_SND_SOC)	+= codecs/ at32/ at91/ pxa/ s3c24xx/ s3c64xx/ s5pc1xx/ sh/ fsl/ davinci/
 obj-$(CONFIG_SND_SOC)	+= omap/ au1x/ blackfin/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/codecs/Kconfig linux-2.6.28.6/sound/soc/codecs/Kconfig
--- linux-2.6.28/sound/soc/codecs/Kconfig	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/codecs/Kconfig	2009-04-30 09:36:40.000000000 +0200
@@ -20,6 +20,7 @@
 	select SND_SOC_WM8903
 	select SND_SOC_WM8971
 	select SND_SOC_WM8990
+	select SND_SOC_S5M8751
         help
           Normally ASoC codec drivers are only built if a machine driver which
           uses them is also built since they are only usable with a machine
@@ -110,3 +111,7 @@
 
 config SND_SOC_WM9713
 	tristate
+
+config SND_SOC_S5M8751
+	tristate
+
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/codecs/Makefile linux-2.6.28.6/sound/soc/codecs/Makefile
--- linux-2.6.28/sound/soc/codecs/Makefile	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/codecs/Makefile	2009-04-30 09:36:40.000000000 +0200
@@ -19,6 +19,7 @@
 snd-soc-wm8990-objs := wm8990.o
 snd-soc-wm9712-objs := wm9712.o
 snd-soc-wm9713-objs := wm9713.o
+snd-soc-s5m8751-objs := s5m8751.o
 
 obj-$(CONFIG_SND_SOC_AC97_CODEC)	+= snd-soc-ac97.o
 obj-$(CONFIG_SND_SOC_AD1980)	+= snd-soc-ad1980.o
@@ -41,3 +42,5 @@
 obj-$(CONFIG_SND_SOC_WM8990)	+= snd-soc-wm8990.o
 obj-$(CONFIG_SND_SOC_WM9712)	+= snd-soc-wm9712.o
 obj-$(CONFIG_SND_SOC_WM9713)	+= snd-soc-wm9713.o
+
+obj-$(CONFIG_SND_SOC_S5M8751)	+= snd-soc-s5m8751.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/codecs/s5m8751.c linux-2.6.28.6/sound/soc/codecs/s5m8751.c
--- linux-2.6.28/sound/soc/codecs/s5m8751.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/codecs/s5m8751.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,666 @@
+/*
+ * s5m8751.c  --  S5M8751 Power-Audio IC ALSA Soc Audio driver
+ *
+ * Copyright 2009 Samsung Electronics.
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ */
+
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/kernel.h>
+#include <linux/init.h>
+#include <linux/delay.h>
+#include <linux/pm.h>
+#include <linux/i2c.h>
+#include <linux/platform_device.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
+#include <sound/tlv.h>
+#include <sound/initval.h>
+#include <asm/div64.h>
+
+#include "s5m8751.h"
+
+#define S5M8751_VERSION "0.2"
+
+/* S5M8751 is activated only in XXX SLAVE MODE XXX
+ * 8kHz ~ 96kHz sample rate. Auto/Manual ???
+ * I2S, Lj, Rj, PCM short frame sync or PCM long frame sync formats.
+ * Slave addr:- 0xD1-Read, 0xD0-Write
+ * XXX This driver supports only SPEAKER-OUT mode, others are easy to implement XXX
+ * */
+
+static const u16 s5m8751_reg[S5M8751_NUMREGS];
+
+/*
+ * read s5m8751 register cache
+ */
+static inline unsigned int s5m8751_read_reg_cache(struct snd_soc_codec *codec,
+	unsigned int reg)
+{
+	u16 *cache = codec->reg_cache;
+	BUG_ON(reg < S5M8751_DA_PDB1);
+	BUG_ON(reg > S5M8751_LINE_CTRL);
+	return cache[reg];
+}
+
+/* Fills the data in cache and returns only operation status.
+ * 1 for success, -EIO for failure.
+ */
+static int s5m8751_read(struct snd_soc_codec *codec,
+				       unsigned int reg)
+{
+	u8 data;
+	u16 *cache = codec->reg_cache;
+
+	data = reg;
+
+	if (codec->hw_write(codec->control_data, &data, 1) != 1){
+		return -EIO;
+	}
+
+	if (codec->hw_read(codec->control_data, &data, 1) != 1){
+		return -EIO;
+	}
+
+	cache[reg] = data;	/* Update the cache */
+
+	return 1;
+}
+
+/*
+ * write s5m8751 register cache
+ */
+static inline void s5m8751_write_reg_cache(struct snd_soc_codec *codec,
+	unsigned int reg, unsigned int value)
+{
+	u16 *cache = codec->reg_cache;
+
+	if(reg == S5M8751_IN1_CTRL1)
+		value &= ~(1<<6);	/* Reset is cleared automatically by the codec */
+
+	cache[reg] = value;
+}
+
+/*
+ * write to the S5M8751 register space
+ */
+/* Fills the data in cache and returns only operation status.
+ * 1 for success, 0 for failure.
+ */
+static int s5m8751_write(struct snd_soc_codec *codec, unsigned int reg,
+	unsigned int value)
+{
+	u8 data[2];
+
+	BUG_ON(reg < S5M8751_DA_PDB1);
+	BUG_ON(reg > S5M8751_LINE_CTRL);
+
+	data[0] = reg & 0xff;
+	data[1] = value & 0xff;
+
+	if (codec->hw_write(codec->control_data, data, 2) == 2){
+		s5m8751_write_reg_cache(codec, reg, value);
+		return 0;
+	}else{
+		return -EIO;
+	}
+}
+
+static const struct snd_kcontrol_new s5m8751_snd_controls[] = {
+	SOC_DOUBLE_R("HeadPhone Volume", S5M8751_HP_VOL1, S5M8751_HP_VOL1, 0, 0x7f, 1),
+	SOC_DOUBLE_R("Line-In Gain", S5M8751_DA_LGAIN, S5M8751_DA_RGAIN, 0, 0x7f, 1),
+	SOC_DOUBLE_R("DAC Volume", S5M8751_DA_VOLL, S5M8751_DA_VOLR, 0, 0xff, 1),
+	SOC_SINGLE("Speaker Slope", S5M8751_SPK_SLOPE, 0, 0xf, 1),
+	SOC_SINGLE("DAC Mute", S5M8751_DA_DIG2, 7, 1, 0),
+	SOC_SINGLE("Mute Dither", S5M8751_DA_DIG2, 6, 1, 0),
+	SOC_SINGLE("Dither Level", S5M8751_DA_DIG2, 3, 7, 0),
+	SOC_SINGLE("Soft Limit", S5M8751_DA_LIM1, 7, 1, 0),
+	SOC_SINGLE("Limit Thrsh", S5M8751_DA_LIM1, 0, 0x7f, 1),
+	SOC_SINGLE("Attack", S5M8751_DA_LIM2, 4, 0xf, 0),
+	SOC_SINGLE("Release", S5M8751_DA_LIM2, 0, 0xf, 0),
+};
+
+/* Add non-DAPM controls */
+static int s5m8751_add_controls(struct snd_soc_codec *codec)
+{
+	int err, i;
+
+	for (i = 0; i < ARRAY_SIZE(s5m8751_snd_controls); i++) {
+		err = snd_ctl_add(codec->card,
+				  snd_soc_cnew(&s5m8751_snd_controls[i],
+					       codec, NULL));
+		if (err < 0)
+			return err;
+	}
+	return 0;
+}
+
+static const struct snd_soc_dapm_widget s5m8751_dapm_widgets[] = {
+	SND_SOC_DAPM_DAC("RL-Mute", "Playback", S5M8751_AMP_MUTE, 0, 1),
+	SND_SOC_DAPM_DAC("LL-Mute", "Playback", S5M8751_AMP_MUTE, 1, 1),
+	SND_SOC_DAPM_DAC("RH-Mute", "Playback", S5M8751_AMP_MUTE, 2, 1),
+	SND_SOC_DAPM_DAC("LH-Mute", "Playback", S5M8751_AMP_MUTE, 3, 1),
+	SND_SOC_DAPM_DAC("SPK-Mute", "Playback", S5M8751_AMP_MUTE, 4, 1),
+	SND_SOC_DAPM_OUTPUT("RL"),
+	SND_SOC_DAPM_OUTPUT("LL"),
+	SND_SOC_DAPM_OUTPUT("RH"),
+	SND_SOC_DAPM_OUTPUT("LH"),
+	SND_SOC_DAPM_OUTPUT("SPK"),
+};
+
+static const struct snd_soc_dapm_route audio_map[] = {
+	{ "RL", NULL, "RL-Mute" },
+	{ "LL", NULL, "LL-Mute" },
+	{ "RH", NULL, "RH-Mute" },
+	{ "LH", NULL, "LH-Mute" },
+	{ "SPK", NULL, "SPK-Mute" },
+};
+
+static int s5m8751_add_widgets(struct snd_soc_codec *codec)
+{
+	snd_soc_dapm_new_controls(codec, s5m8751_dapm_widgets,
+				  ARRAY_SIZE(s5m8751_dapm_widgets));
+	snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
+	snd_soc_dapm_new_widgets(codec);
+
+	return 0;
+}
+
+/*
+ * Set PCM DAI bit size and sample rate.
+ */
+static int s5m8751_hw_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_device *socdev = rtd->socdev;
+	struct snd_soc_codec *codec = socdev->codec;
+	unsigned int in1_ctrl2, in1_ctrl1;
+
+	in1_ctrl1 = s5m8751_read_reg_cache(codec, S5M8751_IN1_CTRL1);
+	in1_ctrl1 &= ~(0xf<<2);	/* Sampling Rate field */
+
+	in1_ctrl2 = s5m8751_read_reg_cache(codec, S5M8751_IN1_CTRL2);
+	in1_ctrl2 &= ~(0x3<<0);	/* I2S data length field */
+
+	/* bit size */
+	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S16_LE:
+		in1_ctrl2 |= (0x0<<0); break;
+	case SNDRV_PCM_FORMAT_S18_3LE:
+		in1_ctrl2 |= (0x1<<0); break;
+	case SNDRV_PCM_FORMAT_S20_3LE:
+		in1_ctrl2 |= (0x2<<0); break;
+	case SNDRV_PCM_FORMAT_S24_LE:
+		in1_ctrl2 |= (0x3<<0); break;
+	default: /* Doesn't it support SNDRV_PCM_FORMAT_S8 ?! */
+		return -EINVAL;
+	}
+
+	/* XXX What about bits in DA_DIG1 ? XXX */
+	switch (params_rate(params)) {
+	case 8000:
+		in1_ctrl1 |= (0x0<<2); break;
+	case 11025:
+		in1_ctrl1 |= (0x1<<2); break;
+	case 16000:
+		in1_ctrl1 |= (0x2<<2); break;
+	case 22050:
+		in1_ctrl1 |= (0x3<<2); break;
+	case 32000:
+		in1_ctrl1 |= (0x4<<2); break;
+	case 44100: 
+		in1_ctrl1 |= (0x5<<2); break;
+	case 48000:
+		in1_ctrl1 |= (0x6<<2); break;
+	case 64000:
+		in1_ctrl1 |= (0x7<<2); break;
+	case 88200:
+		in1_ctrl1 |= (0x8<<2); break;
+	case 96000:
+		in1_ctrl1 |= (0x9<<2); break;
+	default:
+		return -EINVAL;
+	}
+
+//	in1_ctrl1 &= ~(1<<7);	/* Power down */
+	s5m8751_write(codec, S5M8751_IN1_CTRL1, in1_ctrl1);
+
+	s5m8751_write(codec, S5M8751_IN1_CTRL2, in1_ctrl2);
+
+//	in1_ctrl1 |= (1<<7);	/* Power up */
+//	s5m8751_write(codec, S5M8751_IN1_CTRL1, in1_ctrl1);
+
+	return 0;
+}
+
+static int s5m8751_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt)
+{
+	struct snd_soc_codec *codec = codec_dai->codec;
+	unsigned int in1_ctrl2, in1_ctrl1;
+
+	switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
+	/* S5M8751 works only in SLAVE mode */
+	case SND_SOC_DAIFMT_CBS_CFS: break;	/* Nothing to do, already setup */
+	default:
+		printk("Mst-Slv combo(%d) not supported!\n", fmt & SND_SOC_DAIFMT_MASTER_MASK);
+		return -EINVAL;
+	}
+
+	in1_ctrl2 = s5m8751_read_reg_cache(codec, S5M8751_IN1_CTRL2);
+	in1_ctrl2 &= ~(0x3<<2);
+	switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
+	case SND_SOC_DAIFMT_I2S:
+		in1_ctrl2 |= (0x0<<2); break;
+	case SND_SOC_DAIFMT_LEFT_J:
+		in1_ctrl2 |= (0x1<<2); break;
+	case SND_SOC_DAIFMT_RIGHT_J:
+		in1_ctrl2 |= (0x2<<2); break;
+	default:
+		printk("DAIFmt(%d) not supported!\n", fmt & SND_SOC_DAIFMT_FORMAT_MASK);
+		return -EINVAL;
+	}
+
+	in1_ctrl2 &= ~(0x1<<4); /* LRCLK Polarity */
+	in1_ctrl1 = s5m8751_read_reg_cache(codec, S5M8751_IN1_CTRL1);
+	in1_ctrl1 &= ~(0x1<<1); /* BCLK Polarity */
+	switch (fmt & SND_SOC_DAIFMT_INV_MASK) {
+	case SND_SOC_DAIFMT_NB_NF:
+		in1_ctrl1 |= (0x0<<1);
+		in1_ctrl2 |= (0x0<<4);
+		break;
+
+	case SND_SOC_DAIFMT_IB_IF:
+		in1_ctrl1 |= (0x1<<1);
+		in1_ctrl2 |= (0x1<<4);
+		break;
+
+	case SND_SOC_DAIFMT_IB_NF:
+		in1_ctrl1 |= (0x1<<1);
+		in1_ctrl2 |= (0x0<<4);
+		break;
+
+	case SND_SOC_DAIFMT_NB_IF:
+		in1_ctrl1 |= (0x0<<1);
+		in1_ctrl2 |= (0x1<<4);
+		break;
+
+	default:
+		printk("Inv-combo(%d) not supported!\n", fmt & SND_SOC_DAIFMT_FORMAT_MASK);
+		return -EINVAL;
+	}
+
+	s5m8751_write(codec, S5M8751_IN1_CTRL1, in1_ctrl1);
+	s5m8751_write(codec, S5M8751_IN1_CTRL2, in1_ctrl2);
+	return 0;
+}
+
+static int s5m8751_set_clkdiv(struct snd_soc_dai *codec_dai,
+				 int div_id, int val)
+{
+	struct snd_soc_codec *codec = codec_dai->codec;
+	unsigned int in1_ctrl1, in1_ctrl2;
+
+	in1_ctrl2 = s5m8751_read_reg_cache(codec, S5M8751_IN1_CTRL2);
+	in1_ctrl2 &= ~(0x3<<5);	/* XFS field */
+	switch (div_id) {
+	case S5M8751_BCLK:
+		switch(val){
+		case 32: in1_ctrl2 |= (0x0<<5); break;
+		case 48: in1_ctrl2 |= (0x1<<5); break;
+		case 64: in1_ctrl2 |= (0x2<<5); break;
+		default: return -EINVAL;
+		}
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	in1_ctrl1 = s5m8751_read_reg_cache(codec, S5M8751_IN1_CTRL1);
+	s5m8751_write(codec, S5M8751_IN1_CTRL1, in1_ctrl1);
+
+	s5m8751_write(codec, S5M8751_IN1_CTRL2, in1_ctrl2);
+
+	return 0;
+}
+
+static int s5m8751_set_bias_level(struct snd_soc_codec *codec,
+	enum snd_soc_bias_level level)
+{
+	u16 amp_en, amp_mute_off, in1_ctrl1;
+
+	in1_ctrl1 = s5m8751_read_reg_cache(codec, S5M8751_IN1_CTRL1);
+	amp_en = s5m8751_read_reg_cache(codec, S5M8751_AMP_EN);
+	amp_mute_off = s5m8751_read_reg_cache(codec, S5M8751_AMP_MUTE);
+	
+	amp_en &= ~((0x7<<2)|(0x1<<6));
+	amp_mute_off &= ~((0x3<<2)|(0x1<<4));
+	
+	s5m8751_write(codec, S5M8751_AMP_MUTE, amp_mute_off);
+	mdelay(30);	
+	s5m8751_write(codec, S5M8751_AMP_EN, amp_en);
+
+	switch (level) {
+	case SND_SOC_BIAS_ON:
+		in1_ctrl1 &= ~(0x1<<7);
+		s5m8751_write(codec, S5M8751_IN1_CTRL1, in1_ctrl1);
+		in1_ctrl1 |= (0x1<<7);
+		s5m8751_write(codec, S5M8751_IN1_CTRL1, in1_ctrl1);
+#if defined(CONFIG_SOUND_S5M8751_OUTPUT_STREAM_HP_OUT)
+		amp_mute_off |= (0x3<<2);
+		amp_en |= (0x7<<2);
+#endif
+
+#if defined(CONFIG_SOUND_S5M8751_OUTPUT_STREAM_SPK_OUT)
+		amp_mute_off |= (0x1<<4);
+		amp_en |= (0x1<<6);
+#endif
+		s5m8751_write(codec, S5M8751_AMP_EN, amp_en);
+		s5m8751_write(codec, S5M8751_AMP_MUTE, amp_mute_off);
+		break;
+	case SND_SOC_BIAS_PREPARE:
+	case SND_SOC_BIAS_STANDBY:
+		amp_en &= ~((0x7<<2)|(0x1<<6));
+		amp_mute_off &= ~((0x3<<2)|(0x1<<4));
+		s5m8751_write(codec, S5M8751_AMP_MUTE, amp_mute_off);
+		s5m8751_write(codec, S5M8751_AMP_EN, amp_en);
+		in1_ctrl1 &= ~(1<<7);
+		in1_ctrl1 &= ~(1<<7);
+		s5m8751_write(codec, S5M8751_IN1_CTRL1, in1_ctrl1);
+		break;
+	case SND_SOC_BIAS_OFF:
+		amp_en &= ~((0x7<<2)|(0x1<<6));
+		amp_mute_off &= ~((0x3<<2)|(0x1<<4));
+		s5m8751_write(codec, S5M8751_AMP_MUTE, amp_mute_off);
+		s5m8751_write(codec, S5M8751_AMP_EN, amp_en);
+		in1_ctrl1 &= ~(1<<7);
+		s5m8751_write(codec, S5M8751_IN1_CTRL1, in1_ctrl1);
+		break;
+	}
+
+	codec->bias_level = level;
+	return 0;
+}
+
+/* 
+ * S5M8751 can work only in Slave mode.
+ * S5M8751 supports only Playback, not Capture!
+ * S5M8751 supports two i/f's: I2S and PCM. Only I2S is implemented in this driver.
+ */
+#define S5M8751_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S18_3LE | \
+				SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE) 
+struct snd_soc_dai s5m8751_dai = {
+		.name = "S5M8751-I2S",
+		.id = 0,
+		.playback = {
+			.stream_name = "Playback",
+			.channels_min = 1,
+			.channels_max = 2,
+			.rates = SNDRV_PCM_RATE_8000_96000,
+			.formats = S5M8751_FORMATS,
+		},
+		.ops = {
+			 .hw_params = s5m8751_hw_params,
+		},
+		.dai_ops = {
+			 .set_fmt = s5m8751_set_dai_fmt,
+			 .set_clkdiv = s5m8751_set_clkdiv,
+		},
+};
+EXPORT_SYMBOL_GPL(s5m8751_dai);
+
+/*
+ * initialise the S5M8751 driver
+ * register the mixer and dsp interfaces with the kernel
+ */
+static int s5m8751_init(struct snd_soc_device *socdev)
+{
+	int ret = 0, val;
+	u16 *cache;
+	struct snd_soc_codec *codec = socdev->codec;
+
+	codec->name = "S5M8751";
+	codec->owner = THIS_MODULE;
+	codec->read = s5m8751_read_reg_cache;
+	codec->write = s5m8751_write;
+	codec->set_bias_level = s5m8751_set_bias_level;
+	codec->dai = &s5m8751_dai;
+	codec->num_dai = 1;
+	codec->reg_cache_size = ARRAY_SIZE(s5m8751_reg);
+	codec->reg_cache = kmemdup(s5m8751_reg, sizeof(s5m8751_reg), GFP_KERNEL);
+
+	if (codec->reg_cache == NULL)
+		return -ENOMEM;
+
+	/* Fill the reg cache */
+	cache = codec->reg_cache;
+	for(val=S5M8751_DA_PDB1; val<=S5M8751_LINE_CTRL; val++){ /* Don't use Power Mngmnt regs here */
+		while(s5m8751_read(codec, val) == -EIO)
+			printk(KERN_WARNING "Read failed! ");
+	}
+
+#if defined(CONFIG_SOUND_S5M8751_OUTPUT_STREAM_HP_OUT)
+	val = (0x3d<<0); /* PowerOn */
+	s5m8751_write(codec, S5M8751_DA_PDB1, val);
+	
+	val = (0x21<<0); /* Enable */
+	s5m8751_write(codec, S5M8751_DA_AMIX1, val);
+	
+	val = 0; /* XXX TODO Disable all for the time being TODO XXX */
+	s5m8751_write(codec, S5M8751_DA_AMIX2, val);
+
+	val = 0x30;
+	s5m8751_write(codec, S5M8751_DA_VOLL, val);
+	s5m8751_write(codec, S5M8751_DA_VOLR, val);
+	
+	val = 0x28;
+	s5m8751_write(codec, S5M8751_AMP_CTRL, val);
+#endif
+
+#if defined(CONFIG_SOUND_S5M8751_OUTPUT_STREAM_SPK_OUT)
+	val = (0x3a<<0); /* PowerOn */
+	s5m8751_write(codec, S5M8751_DA_PDB1, val);
+
+	val = (0x12<<0); /* Enable  */
+	s5m8751_write(codec, S5M8751_DA_AMIX1, val);
+
+	val = 0; /* XXX TODO Disable all for the time being TODO XXX */
+	s5m8751_write(codec, S5M8751_DA_AMIX2, val);
+
+	val = 0x18;
+	s5m8751_write(codec, S5M8751_DA_VOLL, val);
+	s5m8751_write(codec, S5M8751_DA_VOLR, val);
+
+	val = 0x01;	/* Gradual Slope */
+	s5m8751_write(codec, S5M8751_SPK_SLOPE, val);
+	val = 0x05;
+	s5m8751_write(codec, S5M8751_SPK_DT, val);
+	val = 0x00;
+	s5m8751_write(codec, S5M8751_SPK_S2D, val);
+#endif
+	
+	/* TODO XXX What about DA_ANA, DA_DWA? TODO XXX */
+	codec->bias_level = SND_SOC_BIAS_OFF;
+
+	/* register pcms */
+	ret = snd_soc_new_pcms(socdev, SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1);
+	if (ret < 0) {
+		printk(KERN_ERR "s5m8751: failed to create pcms\n");
+		goto pcm_err;
+	}
+
+	s5m8751_add_controls(codec);
+	s5m8751_add_widgets(codec);
+
+	ret = snd_soc_register_card(socdev);
+	if (ret < 0) {
+		printk(KERN_ERR "s5m8751: failed to register card\n");
+		goto card_err;
+	}
+	return ret;
+
+card_err:
+	snd_soc_free_pcms(socdev);
+	snd_soc_dapm_free(socdev);
+pcm_err:
+	kfree(codec->reg_cache);
+	return ret;
+}
+
+/* If the i2c layer weren't so broken, we could pass this kind of data
+   around */
+static struct snd_soc_device *s5m8751_socdev;
+
+#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+
+static unsigned short normal_i2c[] = { 0, I2C_CLIENT_END };
+
+/* Magic definition of all other variables and things */
+I2C_CLIENT_INSMOD;
+
+static struct i2c_driver s5m8751_i2c_driver;
+static struct i2c_client client_template;
+
+static int s5m8751_codec_probe(struct i2c_adapter *adap, int addr, int kind)
+{
+	struct snd_soc_device *socdev = s5m8751_socdev;
+	struct s5m8751_setup_data *setup = socdev->codec_data;
+	struct snd_soc_codec *codec = socdev->codec;
+	struct i2c_client *i2c;
+	int ret;
+
+	if (addr != setup->i2c_address){
+		return -ENODEV;
+	}
+
+	client_template.adapter = adap;
+	client_template.addr = addr;
+
+	i2c =  kmemdup(&client_template, sizeof(client_template), GFP_KERNEL);
+	if (i2c == NULL) {
+		kfree(codec);
+		return -ENOMEM;
+	}
+	i2c_set_clientdata(i2c, codec);
+	codec->control_data = i2c;
+
+	ret = i2c_attach_client(i2c);
+	if (ret < 0) {
+		dev_err(&i2c->dev, "failed to attach codec at addr %x\n", addr);
+		goto err;
+	}
+
+	ret = s5m8751_init(socdev);
+	if (ret < 0) {
+		dev_err(&i2c->dev, "failed to initialise S5M8751\n");
+		goto err;
+	}
+
+	return ret;
+
+err:
+	kfree(codec);
+	kfree(i2c);
+	return ret;
+}
+
+static int s5m8751_i2c_detach(struct i2c_client *client)
+{
+	struct snd_soc_codec *codec = i2c_get_clientdata(client);
+	i2c_detach_client(client);
+	kfree(codec->reg_cache);
+	kfree(client);
+	return 0;
+}
+
+static int s5m8751_i2c_attach(struct i2c_adapter *adap)
+{
+	return i2c_probe(adap, &addr_data, s5m8751_codec_probe);
+}
+
+static struct i2c_driver s5m8751_i2c_driver = {
+	.driver = {
+		.name = "S5M8751 I2C Codec",
+		.owner = THIS_MODULE,
+	},
+	.attach_adapter = s5m8751_i2c_attach,
+	.detach_client =  s5m8751_i2c_detach,
+	.command =        NULL,
+};
+
+static struct i2c_client client_template = {
+	.name =   "S5M8751",
+	.driver = &s5m8751_i2c_driver,
+};
+#endif
+
+static int s5m8751_probe(struct platform_device *pdev)
+{
+	struct snd_soc_device *socdev = platform_get_drvdata(pdev);
+	struct s5m8751_setup_data *setup;
+	struct snd_soc_codec *codec;
+	int ret = 0;
+
+	pr_info("S5M8751 Audio Codec %s\n", S5M8751_VERSION);
+
+	setup = socdev->codec_data;
+	codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
+	if (codec == NULL)
+		return -ENOMEM;
+
+	socdev->codec = codec;
+	mutex_init(&codec->mutex);
+	INIT_LIST_HEAD(&codec->dapm_widgets);
+	INIT_LIST_HEAD(&codec->dapm_paths);
+	s5m8751_socdev = socdev;
+
+#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+	if (setup->i2c_address) {
+		normal_i2c[0] = setup->i2c_address;
+		codec->hw_write = (hw_write_t)i2c_master_send;
+		codec->hw_read = (hw_read_t)i2c_master_recv;
+		ret = i2c_add_driver(&s5m8751_i2c_driver);
+		if (ret != 0)
+			printk(KERN_ERR "can't add i2c driver");
+	}
+#else
+		/* Add other interfaces here */
+#endif
+
+	return ret;
+}
+
+/* power down chip */
+static int s5m8751_remove(struct platform_device *pdev)
+{
+	struct snd_soc_device *socdev = platform_get_drvdata(pdev);
+	struct snd_soc_codec *codec = socdev->codec;
+
+	if (codec->control_data)
+		s5m8751_set_bias_level(codec, SND_SOC_BIAS_OFF);
+	snd_soc_free_pcms(socdev);
+	snd_soc_dapm_free(socdev);
+#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+	i2c_del_driver(&s5m8751_i2c_driver);
+#endif
+	kfree(codec);
+
+	return 0;
+}
+
+struct snd_soc_codec_device soc_codec_dev_s5m8751 = {
+	.probe = 	s5m8751_probe,
+	.remove = 	s5m8751_remove,
+};
+EXPORT_SYMBOL_GPL(soc_codec_dev_s5m8751);
+
+MODULE_DESCRIPTION("ASoC S5M8751 driver");
+MODULE_AUTHOR("Jaswinder Singh <jassi.brar@samsung.com>");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/codecs/s5m8751.h linux-2.6.28.6/sound/soc/codecs/s5m8751.h
--- linux-2.6.28/sound/soc/codecs/s5m8751.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/codecs/s5m8751.h	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,92 @@
+/*
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ */
+
+#ifndef _S5M8751_H
+#define _S5M8751_H
+
+/* S5M8751 register space */
+#define S5M8751_IRQB_EVENT1		0x0
+#define S5M8751_IRQB_EVENT2		0x1
+#define S5M8751_IRQB_MASK1		0x2
+#define S5M8751_IRQB_MASK2		0x3
+#define S5M8751_ONOFF1			0x4
+#define S5M8751_ONOFF2			0x5
+#define S5M8751_ONOFF3			0x6
+#define S5M8751_SLEEPCNTL1		0x7
+#define S5M8751_SLEEPCNTL2		0x8
+#define S5M8751_UVLO			0x9
+#define S5M8751_LDO_AUDIO_VSET		0x0A
+#define S5M8751_LDO1_VSET		0x0B
+#define S5M8751_LDO2_VSET		0x0C
+#define S5M8751_LDO3_VSET		0x0D
+#define S5M8751_LDO4_VSET		0x0E
+#define S5M8751_LDO_MEMORY_VSET		0x0F
+#define S5M8751_BUCK1_V1_SET		0x10
+#define S5M8751_BUCK1_V2_SET		0x11
+#define S5M8751_BUCK2_V1_SET		0x12
+#define S5M8751_BUCK2_V2_SET		0x13
+#define S5M8751_WLED_CNTRL		0x14
+#define S5M8751_CHG_IV_SET		0x15
+#define S5M8751_CHG_CNTRL		0x16
+#define S5M8751_DA_PDB1			0x17
+#define S5M8751_DA_AMIX1		0x18
+#define S5M8751_DA_AMIX2		0x19
+#define S5M8751_DA_ANA			0x1A
+#define S5M8751_DA_DWA			0x1B
+#define S5M8751_DA_VOLL			0x1C
+#define S5M8751_DA_VOLR			0x1D
+#define S5M8751_DA_DIG1			0x1E
+#define S5M8751_DA_DIG2			0x1F
+#define S5M8751_DA_LIM1			0x20
+#define S5M8751_DA_LIM2			0x21
+#define S5M8751_DA_LOF			0x22
+#define S5M8751_DA_ROF			0x23
+#define S5M8751_DA_MUX			0x24
+#define S5M8751_DA_LGAIN		0x25
+#define S5M8751_DA_RGAIN		0x26
+#define S5M8751_IN1_CTRL1		0x27
+#define S5M8751_IN1_CTRL2		0x28
+#define S5M8751_IN1_CTRL3		0x29
+#define S5M8751_SLOT_L2			0x2A
+#define S5M8751_SLOT_L1			0x2B
+#define S5M8751_SLOT_R2			0x2C
+#define S5M8751_SLOT_R1			0x2D
+#define S5M8751_TSLOT			0x2E
+#define S5M8751_TEST			0x2F
+#define S5M8751_SPK_SLOPE		0x30
+#define S5M8751_SPK_DT			0x31
+#define S5M8751_SPK_S2D			0x32
+#define S5M8751_SPK_CM			0x33
+#define S5M8751_SPK_DUM			0x34
+#define S5M8751_HP_VOL1			0x35
+#define S5M8751_HP_VOL2			0x36
+#define S5M8751_AMP_EN			0x37
+#define S5M8751_AMP_MUTE		0x38
+#define S5M8751_AMP_CTRL		0x39
+#define S5M8751_AMP_VMID		0x3A
+#define S5M8751_LINE_CTRL		0x3B
+#define S5M8751_NUMREGS			(S5M8751_LINE_CTRL + 1)
+	/* Careful, 7regs skipped */
+#define S5M8751_CHIP_ID			0x43
+#define S5M8751_STATUS			0x44
+
+#define S5M8751_SYSCLK 0
+#define S5M8751_MCLK   1
+#define S5M8751_BCLK   2
+
+#define MUTE_OFF  0
+#define MUTE_ON	  1
+
+struct s5m8751_setup_data {
+	unsigned short i2c_address;
+};
+
+extern struct snd_soc_dai s5m8751_dai;
+extern struct snd_soc_codec_device soc_codec_dev_s5m8751;
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/codecs/wm8580.c linux-2.6.28.6/sound/soc/codecs/wm8580.c
--- linux-2.6.28/sound/soc/codecs/wm8580.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/codecs/wm8580.c	2009-04-30 09:36:40.000000000 +0200
@@ -262,6 +262,7 @@
 
 static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1);
 
+#if 0
 static int wm8580_out_vu(struct snd_kcontrol *kcontrol,
 			 struct snd_ctl_elem_value *ucontrol)
 {
@@ -288,6 +289,7 @@
 
 	return 0;
 }
+#endif
 
 #define SOC_WM8580_OUT_DOUBLE_R_TLV(xname, reg_left, reg_right, shift, max, invert, tlv_array) \
 {	.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname), \
@@ -300,6 +302,7 @@
 		((max) << 12) | ((invert) << 20) | ((reg_right) << 24) }
 
 static const struct snd_kcontrol_new wm8580_snd_controls[] = {
+/*
 SOC_WM8580_OUT_DOUBLE_R_TLV("DAC1 Playback Volume",
 			    WM8580_DIGITAL_ATTENUATION_DACL1,
 			    WM8580_DIGITAL_ATTENUATION_DACR1,
@@ -312,6 +315,20 @@
 			    WM8580_DIGITAL_ATTENUATION_DACL3,
 			    WM8580_DIGITAL_ATTENUATION_DACR3,
 			    0, 0xff, 0, dac_tlv),
+*/
+
+SOC_DOUBLE_R_TLV("DAC1 Playback Volume",
+			    WM8580_DIGITAL_ATTENUATION_DACL1,
+			    WM8580_DIGITAL_ATTENUATION_DACR1,
+			    0, 0xff, 0, dac_tlv),
+SOC_DOUBLE_R_TLV("DAC2 Playback Volume",
+			    WM8580_DIGITAL_ATTENUATION_DACL2,
+			    WM8580_DIGITAL_ATTENUATION_DACR2,
+			    0, 0xff, 0, dac_tlv),
+SOC_DOUBLE_R_TLV("DAC3 Playback Volume",
+			    WM8580_DIGITAL_ATTENUATION_DACL3,
+			    WM8580_DIGITAL_ATTENUATION_DACR3,
+			    0, 0xff, 0, dac_tlv),
 
 SOC_SINGLE("DAC1 Deemphasis Switch", WM8580_DAC_CONTROL3, 0, 1, 0),
 SOC_SINGLE("DAC2 Deemphasis Switch", WM8580_DAC_CONTROL3, 1, 1, 0),
@@ -796,19 +813,6 @@
 			.rates = SNDRV_PCM_RATE_8000_192000,
 			.formats = WM8580_FORMATS,
 		},
-		.ops = {
-			 .hw_params = wm8580_paif_hw_params,
-		 },
-		.dai_ops = {
-			 .set_fmt = wm8580_set_paif_dai_fmt,
-			 .set_clkdiv = wm8580_set_dai_clkdiv,
-			 .set_pll = wm8580_set_dai_pll,
-			 .digital_mute = wm8580_digital_mute,
-		 },
-	},
-	{
-		.name = "WM8580 PAIFTX",
-		.id = 1,
 		.capture = {
 			.stream_name = "Capture",
 			.channels_min = 2,
@@ -823,6 +827,7 @@
 			 .set_fmt = wm8580_set_paif_dai_fmt,
 			 .set_clkdiv = wm8580_set_dai_clkdiv,
 			 .set_pll = wm8580_set_dai_pll,
+			 .digital_mute = wm8580_digital_mute,
 		 },
 	},
 };
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/codecs/wm8990.c linux-2.6.28.6/sound/soc/codecs/wm8990.c
--- linux-2.6.28/sound/soc/codecs/wm8990.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/codecs/wm8990.c	2009-04-30 09:36:40.000000000 +0200
@@ -9,16 +9,21 @@
  *  under  the terms of  the GNU General  Public License as published by the
  *  Free Software Foundation;  either version 2 of the  License, or (at your
  *  option) any later version.
+ *
+ *  Revision history
+ *    6th Mar 2008   Initial version.
  */
 
 #include <linux/module.h>
 #include <linux/moduleparam.h>
+#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/delay.h>
 #include <linux/pm.h>
 #include <linux/i2c.h>
 #include <linux/platform_device.h>
+//#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
@@ -30,7 +35,27 @@
 
 #include "wm8990.h"
 
-#define WM8990_VERSION "0.2"
+#define AUDIO_NAME "wm8990"
+#define WM8990_VERSION "0.1"
+
+/*
+ * Debug
+ */
+
+#define WM8753_DEBUG 0
+
+#ifdef WM8753_DEBUG
+#define dbg(format, arg...) \
+	printk(KERN_DEBUG AUDIO_NAME ": " format "\n" , ## arg)
+#else
+#define dbg(format, arg...) do {} while (0)
+#endif
+#define err(format, arg...) \
+	printk(KERN_ERR AUDIO_NAME ": " format "\n" , ## arg)
+#define info(format, arg...) \
+	printk(KERN_INFO AUDIO_NAME ": " format "\n" , ## arg)
+#define warn(format, arg...) \
+	printk(KERN_WARNING AUDIO_NAME ": " format "\n" , ## arg)
 
 /* codec private data */
 struct wm8990_priv {
@@ -39,74 +64,11 @@
 };
 
 /*
- * wm8990 register cache.  Note that register 0 is not included in the
- * cache.
+ * wm8990 register cache
+ * We can't read the WM8990 register space when we
+ * are using 2 wire for device control, so we cache them instead.
  */
-static const u16 wm8990_reg[] = {
-	0x8990,     /* R0  - Reset */
-	0x0000,     /* R1  - Power Management (1) */
-	0x6000,     /* R2  - Power Management (2) */
-	0x0000,     /* R3  - Power Management (3) */
-	0x4050,     /* R4  - Audio Interface (1) */
-	0x4000,     /* R5  - Audio Interface (2) */
-	0x01C8,     /* R6  - Clocking (1) */
-	0x0000,     /* R7  - Clocking (2) */
-	0x0040,     /* R8  - Audio Interface (3) */
-	0x0040,     /* R9  - Audio Interface (4) */
-	0x0004,     /* R10 - DAC CTRL */
-	0x00C0,     /* R11 - Left DAC Digital Volume */
-	0x00C0,     /* R12 - Right DAC Digital Volume */
-	0x0000,     /* R13 - Digital Side Tone */
-	0x0100,     /* R14 - ADC CTRL */
-	0x00C0,     /* R15 - Left ADC Digital Volume */
-	0x00C0,     /* R16 - Right ADC Digital Volume */
-	0x0000,     /* R17 */
-	0x0000,     /* R18 - GPIO CTRL 1 */
-	0x1000,     /* R19 - GPIO1 & GPIO2 */
-	0x1010,     /* R20 - GPIO3 & GPIO4 */
-	0x1010,     /* R21 - GPIO5 & GPIO6 */
-	0x8000,     /* R22 - GPIOCTRL 2 */
-	0x0800,     /* R23 - GPIO_POL */
-	0x008B,     /* R24 - Left Line Input 1&2 Volume */
-	0x008B,     /* R25 - Left Line Input 3&4 Volume */
-	0x008B,     /* R26 - Right Line Input 1&2 Volume */
-	0x008B,     /* R27 - Right Line Input 3&4 Volume */
-	0x0000,     /* R28 - Left Output Volume */
-	0x0000,     /* R29 - Right Output Volume */
-	0x0066,     /* R30 - Line Outputs Volume */
-	0x0022,     /* R31 - Out3/4 Volume */
-	0x0079,     /* R32 - Left OPGA Volume */
-	0x0079,     /* R33 - Right OPGA Volume */
-	0x0003,     /* R34 - Speaker Volume */
-	0x0003,     /* R35 - ClassD1 */
-	0x0000,     /* R36 */
-	0x0100,     /* R37 - ClassD3 */
-	0x0079,     /* R38 - ClassD4 */
-	0x0000,     /* R39 - Input Mixer1 */
-	0x0000,     /* R40 - Input Mixer2 */
-	0x0000,     /* R41 - Input Mixer3 */
-	0x0000,     /* R42 - Input Mixer4 */
-	0x0000,     /* R43 - Input Mixer5 */
-	0x0000,     /* R44 - Input Mixer6 */
-	0x0000,     /* R45 - Output Mixer1 */
-	0x0000,     /* R46 - Output Mixer2 */
-	0x0000,     /* R47 - Output Mixer3 */
-	0x0000,     /* R48 - Output Mixer4 */
-	0x0000,     /* R49 - Output Mixer5 */
-	0x0000,     /* R50 - Output Mixer6 */
-	0x0180,     /* R51 - Out3/4 Mixer */
-	0x0000,     /* R52 - Line Mixer1 */
-	0x0000,     /* R53 - Line Mixer2 */
-	0x0000,     /* R54 - Speaker Mixer */
-	0x0000,     /* R55 - Additional Control */
-	0x0000,     /* R56 - AntiPOP1 */
-	0x0000,     /* R57 - AntiPOP2 */
-	0x0000,     /* R58 - MICBIAS */
-	0x0000,     /* R59 */
-	0x0008,     /* R60 - PLL1 */
-	0x0031,     /* R61 - PLL2 */
-	0x0026,     /* R62 - PLL3 */
-};
+static const u16 wm8990_reg[] = WM8990_REGISTER_DEFAULTS;
 
 /*
  * read wm8990 register cache
@@ -115,8 +77,9 @@
 	unsigned int reg)
 {
 	u16 *cache = codec->reg_cache;
-	BUG_ON(reg > (ARRAY_SIZE(wm8990_reg)) - 1);
-	return cache[reg];
+	if (reg < 1 || reg > (ARRAY_SIZE(wm8990_reg) + 1))
+		return -1;
+	return cache[reg - 1];
 }
 
 /*
@@ -126,13 +89,9 @@
 	unsigned int reg, unsigned int value)
 {
 	u16 *cache = codec->reg_cache;
-	BUG_ON(reg > (ARRAY_SIZE(wm8990_reg)) - 1);
-
-	/* Reset register is uncached */
-	if (reg == 0)
+	if (reg < 1 || reg > 0x3f)
 		return;
-
-	cache[reg] = value;
+	cache[reg - 1] = value;
 }
 
 /*
@@ -147,8 +106,7 @@
 	data[1] = (value >> 8) & 0xFF;
 	data[2] = value & 0xFF;
 
-	wm8990_write_reg_cache(codec, reg, value);
-
+	wm8990_write_reg_cache (codec, reg, value);
 	if (codec->hw_write(codec->control_data, data, 3) == 2)
 		return 0;
 	else
@@ -157,21 +115,45 @@
 
 #define wm8990_reset(c) wm8990_write(c, WM8990_RESET, 0)
 
-static const DECLARE_TLV_DB_LINEAR(rec_mix_tlv, -1500, 600);
+static const unsigned int rec_mix_tlv[] = {
+	TLV_DB_RANGE_HEAD(1),
+	0, 7, TLV_DB_LINEAR_ITEM(-1500, 600),
+};
 
-static const DECLARE_TLV_DB_LINEAR(in_pga_tlv, -1650, 3000);
+static const unsigned int in_pga_tlv[] = {
+	TLV_DB_RANGE_HEAD(1),
+	0, 0x1F, TLV_DB_LINEAR_ITEM(-1650, 3000),
+};
 
-static const DECLARE_TLV_DB_LINEAR(out_mix_tlv, 0, -2100);
+static const unsigned int out_mix_tlv[] = {
+	TLV_DB_RANGE_HEAD(1),
+	0, 7, TLV_DB_LINEAR_ITEM(0, -2100),
+};
 
-static const DECLARE_TLV_DB_LINEAR(out_pga_tlv, -7300, 600);
+static const unsigned int out_pga_tlv[] = {
+	TLV_DB_RANGE_HEAD(1),
+	0, 127, TLV_DB_LINEAR_ITEM(-7300, 600),
+};
 
-static const DECLARE_TLV_DB_LINEAR(out_omix_tlv, -600, 0);
+static const unsigned int out_omix_tlv[] = {
+	TLV_DB_RANGE_HEAD(1),
+	0, 7, TLV_DB_LINEAR_ITEM(-600, 0),
+};
 
-static const DECLARE_TLV_DB_LINEAR(out_dac_tlv, -7163, 0);
+static const unsigned int out_dac_tlv[] = {
+	TLV_DB_RANGE_HEAD(1),
+	0, 255, TLV_DB_LINEAR_ITEM(-7163, 0),
+};
 
-static const DECLARE_TLV_DB_LINEAR(in_adc_tlv, -7163, 1763);
+static const unsigned int in_adc_tlv[] = {
+	TLV_DB_RANGE_HEAD(1),
+	0, 255, TLV_DB_LINEAR_ITEM(-7163, 1763),
+};
 
-static const DECLARE_TLV_DB_LINEAR(out_sidetone_tlv, -3600, 0);
+static const unsigned int out_sidetone_tlv[] = {
+	TLV_DB_RANGE_HEAD(1),
+	0, 31, TLV_DB_LINEAR_ITEM(-3600, 0),
+};
 
 static int wm899x_outpga_put_volsw_vu(struct snd_kcontrol *kcontrol,
 	struct snd_ctl_elem_value *ucontrol)
@@ -190,11 +172,9 @@
 	return wm8990_write(codec, reg, val | 0x0100);
 }
 
-#define SOC_WM899X_OUTPGA_SINGLE_R_TLV(xname, reg, shift, max, invert,\
-	 tlv_array) {\
-	.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname), \
-	.access = SNDRV_CTL_ELEM_ACCESS_TLV_READ |\
-		  SNDRV_CTL_ELEM_ACCESS_READWRITE,\
+#define SOC_WM899X_OUTPGA_SINGLE_R_TLV(xname, reg, shift, max, invert, tlv_array) \
+{	.iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = (xname), \
+	.access = SNDRV_CTL_ELEM_ACCESS_TLV_READ | SNDRV_CTL_ELEM_ACCESS_READWRITE,\
 	.tlv.p = (tlv_array), \
 	.info = snd_soc_info_volsw, \
 	.get = snd_soc_get_volsw, .put = wm899x_outpga_put_volsw_vu, \
@@ -310,15 +290,11 @@
 	WM8990_CDMODE_BIT, 1, 0),
 
 SOC_SINGLE("Speaker Output Attenuation Volume", WM8990_SPEAKER_VOLUME,
-	WM8990_SPKATTN_SHIFT, WM8990_SPKATTN_MASK, 0),
+	WM8990_SPKVOL_SHIFT, WM8990_SPKVOL_MASK, 0),
 SOC_SINGLE("Speaker DC Boost Volume", WM8990_CLASSD3,
 	WM8990_DCGAIN_SHIFT, WM8990_DCGAIN_MASK, 0),
 SOC_SINGLE("Speaker AC Boost Volume", WM8990_CLASSD3,
 	WM8990_ACGAIN_SHIFT, WM8990_ACGAIN_MASK, 0),
-SOC_SINGLE_TLV("Speaker Volume", WM8990_CLASSD4,
-	WM8990_SPKVOL_SHIFT, WM8990_SPKVOL_MASK, 0, out_pga_tlv),
-SOC_SINGLE("Speaker ZC Switch", WM8990_CLASSD4,
-	WM8990_SPKZC_SHIFT, WM8990_SPKZC_MASK, 0),
 
 SOC_WM899X_OUTPGA_SINGLE_R_TLV("Left DAC Digital Volume",
 	WM8990_LEFT_DAC_DIGITAL_VOLUME,
@@ -424,7 +400,7 @@
 
 	for (i = 0; i < ARRAY_SIZE(wm8990_snd_controls); i++) {
 		err = snd_ctl_add(codec->card,
-				snd_soc_cnew(&wm8990_snd_controls[i], codec,
+				snd_soc_cnew(&wm8990_snd_controls[i],codec,
 					NULL));
 		if (err < 0)
 			return err;
@@ -436,13 +412,13 @@
  * _DAPM_ Controls
  */
 
-static int inmixer_event(struct snd_soc_dapm_widget *w,
+static int inmixer_event (struct snd_soc_dapm_widget *w,
 	struct snd_kcontrol *kcontrol, int event)
 {
 	u16 reg, fakepower;
 
-	reg = wm8990_read_reg_cache(w->codec, WM8990_POWER_MANAGEMENT_2);
-	fakepower = wm8990_read_reg_cache(w->codec, WM8990_INTDRIVBITS);
+	reg=wm8990_read_reg_cache(w->codec, WM8990_POWER_MANAGEMENT_2);
+	fakepower=wm8990_read_reg_cache(w->codec, WM8990_INTDRIVBITS);
 
 	if (fakepower & ((1 << WM8990_INMIXL_PWR_BIT) |
 		(1 << WM8990_AINLMUX_PWR_BIT))) {
@@ -462,16 +438,19 @@
 	return 0;
 }
 
-static int outmixer_event(struct snd_soc_dapm_widget *w,
-	struct snd_kcontrol *kcontrol, int event)
+static int outmixer_event (struct snd_soc_dapm_widget *w,
+	struct snd_kcontrol * kcontrol, int event)
 {
 	u32 reg_shift = kcontrol->private_value & 0xfff;
 	int ret = 0;
 	u16 reg;
 
+//	printk("reg_shift %4.4x\n", reg_shift);
+
 	switch (reg_shift) {
 	case WM8990_SPEAKER_MIXER | (WM8990_LDSPK_BIT << 8) :
 		reg = wm8990_read_reg_cache(w->codec, WM8990_OUTPUT_MIXER1);
+		printk("reg %4.4x\n", reg);
 		if (reg & WM8990_LDLO) {
 			printk(KERN_WARNING
 			"Cannot set as Output Mixer 1 LDLO Set\n");
@@ -510,7 +489,7 @@
 /* INMIX dB values */
 static const unsigned int in_mix_tlv[] = {
 	TLV_DB_RANGE_HEAD(1),
-	0, 7, TLV_DB_LINEAR_ITEM(-1200, 600),
+	0,7, TLV_DB_LINEAR_ITEM(-1200, 600),
 };
 
 /* Left In PGA Connections */
@@ -541,10 +520,8 @@
 	WM8990_LDBVOL_SHIFT, WM8990_LDBVOL_MASK, 0, in_mix_tlv),
 SOC_DAPM_SINGLE_TLV("LIN2 Volume", WM8990_INPUT_MIXER5, WM8990_LI2BVOL_SHIFT,
 	7, 0, in_mix_tlv),
-SOC_DAPM_SINGLE("LINPGA12 Switch", WM8990_INPUT_MIXER3, WM8990_L12MNB_BIT,
-	1, 0),
-SOC_DAPM_SINGLE("LINPGA34 Switch", WM8990_INPUT_MIXER3, WM8990_L34MNB_BIT,
-	1, 0),
+SOC_DAPM_SINGLE("LINPGA12 Switch", WM8990_INPUT_MIXER3, WM8990_L12MNB_BIT, 1, 0),
+SOC_DAPM_SINGLE("LINPGA34 Switch", WM8990_INPUT_MIXER3, WM8990_L34MNB_BIT, 1, 0),
 };
 
 /* INMIXR */
@@ -564,7 +541,7 @@
 	{"INMIXL Mix", "RXVOICE Mix", "DIFFINL Mix"};
 
 static const struct soc_enum wm8990_ainlmux_enum =
-SOC_ENUM_SINGLE(WM8990_INPUT_MIXER1, WM8990_AINLMODE_SHIFT,
+SOC_ENUM_SINGLE( WM8990_INPUT_MIXER1, WM8990_AINLMODE_SHIFT,
 	ARRAY_SIZE(wm8990_ainlmux), wm8990_ainlmux);
 
 static const struct snd_kcontrol_new wm8990_dapm_ainlmux_controls =
@@ -577,7 +554,7 @@
 	{"INMIXR Mix", "RXVOICE Mix", "DIFFINR Mix"};
 
 static const struct soc_enum wm8990_ainrmux_enum =
-SOC_ENUM_SINGLE(WM8990_INPUT_MIXER1, WM8990_AINRMODE_SHIFT,
+SOC_ENUM_SINGLE( WM8990_INPUT_MIXER1, WM8990_AINRMODE_SHIFT,
 	ARRAY_SIZE(wm8990_ainrmux), wm8990_ainrmux);
 
 static const struct snd_kcontrol_new wm8990_dapm_ainrmux_controls =
@@ -847,7 +824,8 @@
 SND_SOC_DAPM_OUTPUT("Internal DAC Sink"),
 };
 
-static const struct snd_soc_dapm_route audio_map[] = {
+//static const struct snd_soc_dapm_route audio_map[][3] = {
+static const char *audio_map[][3] = {
 	/* Make DACs turn on when playing even if not mixed into any outputs */
 	{"Internal DAC Sink", NULL, "Left DAC"},
 	{"Internal DAC Sink", NULL, "Right DAC"},
@@ -923,7 +901,7 @@
 	{"SPKMIX", "SPKMIX Left Mixer PGA Switch", "LOPGA"},
 	{"SPKMIX", "SPKMIX Right Mixer PGA Switch", "ROPGA"},
 	{"SPKMIX", "SPKMIX Right DAC Switch", "Right DAC"},
-	{"SPKMIX", "SPKMIX Left DAC Switch", "Left DAC"},
+	{"SPKMIX", "SPKMIX Left DAC Switch", "Right DAC"},
 
 	/* LONMIX */
 	{"LONMIX", "LONMIX Left Mixer PGA Switch", "LOPGA"},
@@ -970,15 +948,25 @@
 	{"OUT4", NULL, "OUT4MIX"},
 	{"ROP", NULL, "ROPMIX"},
 	{"RON", NULL, "RONMIX"},
+
+	/* terminator */
+	{NULL, NULL, NULL},
 };
 
 static int wm8990_add_widgets(struct snd_soc_codec *codec)
 {
-	snd_soc_dapm_new_controls(codec, wm8990_dapm_widgets,
-				  ARRAY_SIZE(wm8990_dapm_widgets));
+	int i;
+
+//	for (i = 0; i < ARRAY_SIZE(wm8990_dapm_widgets); i++)
+	snd_soc_dapm_new_controls(codec, wm8990_dapm_widgets, ARRAY_SIZE(wm8990_dapm_widgets));
 
 	/* set up the WM8990 audio map */
-	snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
+	for (i = 0; audio_map[i][0] != NULL; i++) {
+		snd_soc_dapm_connect_input(codec, audio_map[i][0],
+			audio_map[i][1], audio_map[i][2]);
+	}
+
+	//snd_soc_dapm_add_routes(codec, audio_map,ARRAY_SIZE(audio_map));
 
 	snd_soc_dapm_new_widgets(codec);
 	return 0;
@@ -1012,7 +1000,7 @@
 
 	if ((Ndiv < 6) || (Ndiv > 12))
 		printk(KERN_WARNING
-		"WM8990 N value outwith recommended range! N = %d\n", Ndiv);
+		"WM8990 N value outwith recommended range! N = %d\n",Ndiv);
 
 	pll_div->n = Ndiv;
 	Nmod = target % source;
@@ -1183,6 +1172,7 @@
 	/* bit size */
 	switch (params_format(params)) {
 	case SNDRV_PCM_FORMAT_S16_LE:
+		audio1 |= WM8990_AIF_WL_16BITS;
 		break;
 	case SNDRV_PCM_FORMAT_S20_3LE:
 		audio1 |= WM8990_AIF_WL_20BITS;
@@ -1196,15 +1186,14 @@
 	}
 
 	wm8990_write(codec, WM8990_AUDIO_INTERFACE_1, audio1);
+	//wm8990_write(codec, WM8990_AUDIO_INTERFACE_1, 0x4010);
 	return 0;
 }
 
 static int wm8990_mute(struct snd_soc_dai *dai, int mute)
 {
 	struct snd_soc_codec *codec = dai->codec;
-	u16 val;
-
-	val  = wm8990_read_reg_cache(codec, WM8990_DAC_CTRL) & ~WM8990_DAC_MUTE;
+	u16 val = wm8990_read_reg_cache(codec, WM8990_DAC_CTRL) & ~WM8990_DAC_MUTE;
 
 	if (mute)
 		wm8990_write(codec, WM8990_DAC_CTRL, val | WM8990_DAC_MUTE);
@@ -1320,10 +1309,10 @@
 
 #define WM8990_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
 	SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 | \
-	SNDRV_PCM_RATE_48000)
+	SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000)
 
 #define WM8990_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
-	SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
+	SNDRV_PCM_FMTBIT_S24_LE)
 
 /*
  * The WM8990 supports 2 different and mutually exclusive DAI
@@ -1366,7 +1355,7 @@
 	struct snd_soc_codec *codec = socdev->codec;
 
 	/* we only need to suspend if we are a valid card */
-	if (!codec->card)
+	if(!codec->card)
 		return 0;
 
 	wm8990_set_bias_level(codec, SND_SOC_BIAS_OFF);
@@ -1394,7 +1383,7 @@
 		codec->hw_write(codec->control_data, data, 2);
 	}
 
-	wm8990_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
+	wm8990_set_bias_level(codec, SND_SOC_BIAS_OFF);
 	return 0;
 }
 
@@ -1415,7 +1404,7 @@
 	codec->set_bias_level = wm8990_set_bias_level;
 	codec->dai = &wm8990_dai;
 	codec->num_dai = 2;
-	codec->reg_cache_size = ARRAY_SIZE(wm8990_reg);
+	codec->reg_cache_size = sizeof(wm8990_reg);
 	codec->reg_cache = kmemdup(wm8990_reg, sizeof(wm8990_reg), GFP_KERNEL);
 
 	if (codec->reg_cache == NULL)
@@ -1423,6 +1412,28 @@
 
 	wm8990_reset(codec);
 
+#if (defined CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990) || (defined CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990_MODULE)
+	/* Enable the left and right output mixers by default so a
+	   headphone output path will work */
+	printk("Entered : %s, %d 8990 write..\n",__FUNCTION__,__LINE__);
+	wm8990_write(codec, WM8990_OUTPUT_MIXER1, WM8990_LDLO);
+	wm8990_write(codec, WM8990_OUTPUT_MIXER2, WM8990_RDRO);
+#endif
+
+#if (defined CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990) || (defined CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990_MODULE)
+	/* Enable the left and right output mixers by default so a
+	   headphone output path will work */
+	wm8990_write(codec, WM8990_OUTPUT_MIXER1, WM8990_LDLO);
+	wm8990_write(codec, WM8990_OUTPUT_MIXER2, WM8990_RDRO);
+#endif
+
+#if (defined CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990) || (defined CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990_MODULE)
+	/* Enable the left and right output mixers by default so a
+	   headphone output path will work */
+	wm8990_write(codec, WM8990_OUTPUT_MIXER1, WM8990_LDLO);
+	wm8990_write(codec, WM8990_OUTPUT_MIXER2, WM8990_RDRO);
+#endif
+
 	/* register pcms */
 	ret = snd_soc_new_pcms(socdev, SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1);
 	if (ret < 0) {
@@ -1434,19 +1445,61 @@
 	codec->bias_level = SND_SOC_BIAS_OFF;
 	wm8990_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
 
-	reg = wm8990_read_reg_cache(codec, WM8990_AUDIO_INTERFACE_4);
-	wm8990_write(codec, WM8990_AUDIO_INTERFACE_4, reg | WM8990_ALRCGPIO1);
-
-	reg = wm8990_read_reg_cache(codec, WM8990_GPIO1_GPIO2) &
-		~WM8990_GPIO1_SEL_MASK;
-	wm8990_write(codec, WM8990_GPIO1_GPIO2, reg | 1);
+	/* set up ADCLR clock internally */
+	//reg = wm8990_read_reg_cache(codec, WM8990_AUDIO_INTERFACE_4);
+	//wm8990_write(codec, WM8990_AUDIO_INTERFACE_4, reg | WM8990_ALRCGPIO1);
+
+	/* set GPIO1 as clk output */
+	//reg = wm8990_read_reg_cache(codec, WM8990_GPIO1_GPIO2) &
+//		~WM8990_GPIO1_SEL_MASK;
+//	wm8990_write(codec, WM8990_GPIO1_GPIO2, reg | 1);
 
+// 	set Line-In and Mic-In Path.
+//
 	reg = wm8990_read_reg_cache(codec, WM8990_POWER_MANAGEMENT_2);
 	wm8990_write(codec, WM8990_POWER_MANAGEMENT_2, reg | WM8990_OPCLK_ENA);
 
 	wm8990_write(codec, WM8990_LEFT_OUTPUT_VOLUME, 0x50 | (1<<8));
 	wm8990_write(codec, WM8990_RIGHT_OUTPUT_VOLUME, 0x50 | (1<<8));
 
+	reg = wm8990_read_reg_cache(codec, WM8990_POWER_MANAGEMENT_2);
+	wm8990_write(codec, WM8990_POWER_MANAGEMENT_2, reg | WM8990_AINR_ENA | WM8990_ADCR_ENA | WM8990_ADCL_ENA);
+
+	reg = wm8990_read_reg_cache(codec, WM8990_INPUT_MIXER5);
+	wm8990_write(codec, WM8990_INPUT_MIXER5, (reg & ~WM8990_LI2BVOL_MASK) | (0x50 | (1<<8)));
+	
+	wm8990_write(codec, WM8990_LEFT_ADC_DIGITAL_VOLUME, 0xff | (1<<8));
+
+	reg = wm8990_read_reg_cache(codec, WM8990_INPUT_MIXER6);
+	wm8990_write(codec, WM8990_INPUT_MIXER6, (reg & ~WM8990_RI2BVOL_MASK) | (0x50 | (1<<8)));
+	
+	wm8990_write(codec, WM8990_RIGHT_ADC_DIGITAL_VOLUME, 0xff | (1<<8));
+
+	reg = wm8990_read_reg_cache(codec, WM8990_POWER_MANAGEMENT_2);
+	wm8990_write(codec, WM8990_POWER_MANAGEMENT_2, reg | WM8990_LIN12_ENA | WM8990_AINL_ENA); 
+
+	reg = wm8990_read_reg_cache(codec, WM8990_INPUT_MIXER2);
+	wm8990_write(codec, WM8990_INPUT_MIXER2, reg | WM8990_LMN1); 
+
+	reg = wm8990_read_reg_cache(codec, WM8990_LEFT_LINE_INPUT_1_2_VOLUME);
+	wm8990_write(codec, WM8990_LEFT_LINE_INPUT_1_2_VOLUME, (reg & ~WM8990_LIN12VOL_MASK) | (0x5f | (1<<8)));
+
+	reg = wm8990_read_reg_cache(codec, WM8990_INPUT_MIXER4);
+	wm8990_write(codec, WM8990_INPUT_MIXER4, (reg & ~WM8990_RDBVOL_MASK) | (0x5f | (1<<8)));
+
+	reg = wm8990_read_reg_cache(codec, WM8990_INPUT_MIXER3);
+	wm8990_write(codec, WM8990_INPUT_MIXER3, reg | WM8990_L12MNB);
+
+	reg = wm8990_read_reg_cache(codec, WM8990_INPUT_MIXER3);
+	wm8990_write(codec, WM8990_INPUT_MIXER3, reg | WM8990_L12MNBST);
+
+#if  defined(CONFIG_SOUND_WM8990_INPUT_STREAM_MIC_IN)
+	/* For Mono MIC-In */
+	reg = wm8990_read_reg_cache(codec, WM8990_AUDIO_INTERFACE_1);
+	wm8990_write(codec, WM8990_AUDIO_INTERFACE_1, reg & (0<<14));
+
+#endif
+
 	wm8990_add_controls(codec);
 	wm8990_add_widgets(codec);
 	ret = snd_soc_register_card(socdev);
@@ -1468,94 +1521,93 @@
    around */
 static struct snd_soc_device *wm8990_socdev;
 
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if defined (CONFIG_I2C) || defined (CONFIG_I2C_MODULE)
 
 /*
- * WM891 2 wire address is determined by GPIO5
+ * WM8912 wire address is determined by GPIO5
  * state during powerup.
  *    low  = 0x34
  *    high = 0x36
  */
+static unsigned short normal_i2c[] = { 0, I2C_CLIENT_END };
 
-static int wm8990_i2c_probe(struct i2c_client *i2c,
-			    const struct i2c_device_id *id)
+/* Magic definition of all other variables and things */
+I2C_CLIENT_INSMOD;
+
+static struct i2c_driver wm8990_i2c_driver;
+static struct i2c_client client_template;
+
+static int wm8990_codec_probe(struct i2c_adapter *adap, int addr, int kind)
 {
 	struct snd_soc_device *socdev = wm8990_socdev;
+	struct wm8990_setup_data *setup = socdev->codec_data;
 	struct snd_soc_codec *codec = socdev->codec;
+	struct i2c_client *i2c;
 	int ret;
 
+	if (addr != setup->i2c_address)
+		return -ENODEV;
+
+	client_template.adapter = adap;
+	client_template.addr = addr;
+
+	i2c =  kmemdup(&client_template, sizeof(client_template), GFP_KERNEL);
+	if (i2c == NULL){
+		kfree(codec);
+		return -ENOMEM;
+	}
 	i2c_set_clientdata(i2c, codec);
 	codec->control_data = i2c;
 
+	ret = i2c_attach_client(i2c);
+	if (ret < 0) {
+		err("failed to attach codec at addr %x\n", addr);
+		goto err;
+	}
+
 	ret = wm8990_init(socdev);
-	if (ret < 0)
-		pr_err("failed to initialise WM8990\n");
+	if (ret < 0) {
+		err("failed to initialise WM8990\n");
+		goto err;
+	}
+	return ret;
 
+err:
+	kfree(codec);
+	kfree(i2c);
 	return ret;
 }
 
-static int wm8990_i2c_remove(struct i2c_client *client)
+static int wm8990_i2c_detach(struct i2c_client *client)
 {
 	struct snd_soc_codec *codec = i2c_get_clientdata(client);
+	i2c_detach_client(client);
 	kfree(codec->reg_cache);
+	kfree(client);
 	return 0;
 }
 
-static const struct i2c_device_id wm8990_i2c_id[] = {
-	{ "wm8990", 0 },
-	{ }
-};
-MODULE_DEVICE_TABLE(i2c, wm8990_i2c_id);
+static int wm8990_i2c_attach(struct i2c_adapter *adap)
+{
+	return i2c_probe(adap, &addr_data, wm8990_codec_probe);
+}
 
+/* corgi i2c codec control layer */
 static struct i2c_driver wm8990_i2c_driver = {
 	.driver = {
 		.name = "WM8990 I2C Codec",
 		.owner = THIS_MODULE,
 	},
-	.probe =    wm8990_i2c_probe,
-	.remove =   wm8990_i2c_remove,
-	.id_table = wm8990_i2c_id,
+	.id =             I2C_DRIVERID_WM8753,
+	.attach_adapter = wm8990_i2c_attach,
+	.detach_client =  wm8990_i2c_detach,
+	.command =        NULL,
 };
 
-static int wm8990_add_i2c_device(struct platform_device *pdev,
-				 const struct wm8990_setup_data *setup)
-{
-	struct i2c_board_info info;
-	struct i2c_adapter *adapter;
-	struct i2c_client *client;
-	int ret;
-
-	ret = i2c_add_driver(&wm8990_i2c_driver);
-	if (ret != 0) {
-		dev_err(&pdev->dev, "can't add i2c driver\n");
-		return ret;
-	}
-
-	memset(&info, 0, sizeof(struct i2c_board_info));
-	info.addr = setup->i2c_address;
-	strlcpy(info.type, "wm8990", I2C_NAME_SIZE);
-
-	adapter = i2c_get_adapter(setup->i2c_bus);
-	if (!adapter) {
-		dev_err(&pdev->dev, "can't get i2c adapter %d\n",
-			setup->i2c_bus);
-		goto err_driver;
-	}
-
-	client = i2c_new_device(adapter, &info);
-	i2c_put_adapter(adapter);
-	if (!client) {
-		dev_err(&pdev->dev, "can't add i2c device at 0x%x\n",
-			(unsigned int)info.addr);
-		goto err_driver;
-	}
-
-	return 0;
-
-err_driver:
-	i2c_del_driver(&wm8990_i2c_driver);
-	return -ENODEV;
-}
+static struct i2c_client client_template = {
+	.name =   "WM8990",
+	.driver = &wm8990_i2c_driver,
+};
 #endif
 
 static int wm8990_probe(struct platform_device *pdev)
@@ -1564,9 +1616,9 @@
 	struct wm8990_setup_data *setup;
 	struct snd_soc_codec *codec;
 	struct wm8990_priv *wm8990;
-	int ret;
+	int ret = 0;
 
-	pr_info("WM8990 Audio Codec %s\n", WM8990_VERSION);
+	info("WM8990 Audio Codec %s", WM8990_VERSION);
 
 	setup = socdev->codec_data;
 	codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
@@ -1586,19 +1638,17 @@
 	INIT_LIST_HEAD(&codec->dapm_paths);
 	wm8990_socdev = socdev;
 
-	ret = -ENODEV;
-
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if defined (CONFIG_I2C) || defined (CONFIG_I2C_MODULE)
 	if (setup->i2c_address) {
+		normal_i2c[0] = setup->i2c_address;
 		codec->hw_write = (hw_write_t)i2c_master_send;
-		ret = wm8990_add_i2c_device(pdev, setup);
+		ret = i2c_add_driver(&wm8990_i2c_driver);
+		if (ret != 0)
+			printk(KERN_ERR "can't add i2c driver");
 	}
+#else
+		/* Add other interfaces here */
 #endif
-
-	if (ret != 0) {
-		kfree(codec->private_data);
-		kfree(codec);
-	}
 	return ret;
 }
 
@@ -1612,8 +1662,7 @@
 		wm8990_set_bias_level(codec, SND_SOC_BIAS_OFF);
 	snd_soc_free_pcms(socdev);
 	snd_soc_dapm_free(socdev);
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
-	i2c_unregister_device(codec->control_data);
+#if defined (CONFIG_I2C) || defined (CONFIG_I2C_MODULE)
 	i2c_del_driver(&wm8990_i2c_driver);
 #endif
 	kfree(codec->private_data);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/codecs/wm8990.h linux-2.6.28.6/sound/soc/codecs/wm8990.h
--- linux-2.6.28/sound/soc/codecs/wm8990.h	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/codecs/wm8990.h	2009-04-30 09:36:40.000000000 +0200
@@ -1,5 +1,5 @@
 /*
- * wm8990.h  --  audio driver for WM8990
+ * wm8753.h  --  audio driver for WM8753
  *
  * Copyright 2007 Wolfson Microelectronics PLC.
  * Author: Graeme Gregory
@@ -54,7 +54,6 @@
 #define WM8990_SPEAKER_VOLUME                   0x22
 #define WM8990_CLASSD1                          0x23
 #define WM8990_CLASSD3                          0x25
-#define WM8990_CLASSD4                          0x26
 #define WM8990_INPUT_MIXER1                     0x27
 #define WM8990_INPUT_MIXER2                     0x28
 #define WM8990_INPUT_MIXER3                     0x29
@@ -90,7 +89,7 @@
 /*
  * R0 (0x00) - Reset
  */
-#define WM8990_SW_RESET_CHIP_ID_MASK            0xFFFF  /* SW_RESET_CHIP_ID */
+#define WM8990_SW_RESET_CHIP_ID_MASK            0xFFFF  /* SW_RESET_CHIP_ID - [15:0] */
 
 /*
  * R1 (0x01) - Power Management (1)
@@ -190,7 +189,7 @@
 #define WM8990_DACR_SRC                         0x4000  /* DACR_SRC */
 #define WM8990_AIFDAC_TDM                       0x2000  /* AIFDAC_TDM */
 #define WM8990_AIFDAC_TDM_CHAN                  0x1000  /* AIFDAC_TDM_CHAN */
-#define WM8990_DAC_BOOST_MASK                   0x0C00  /* DAC_BOOST */
+#define WM8990_DAC_BOOST_MASK                   0x0C00  /* DAC_BOOST - [11:10] */
 #define WM8990_DAC_COMP                         0x0010  /* DAC_COMP */
 #define WM8990_DAC_COMPMODE                     0x0008  /* DAC_COMPMODE */
 #define WM8990_ADC_COMP                         0x0004  /* ADC_COMP */
@@ -229,25 +228,25 @@
 #define WM8990_SYSCLK_SRC                       0x4000  /* SYSCLK_SRC */
 #define WM8990_CLK_FORCE                        0x2000  /* CLK_FORCE */
 #define WM8990_MCLK_DIV_MASK                    0x1800  /* MCLK_DIV - [12:11] */
-#define WM8990_MCLK_DIV_1			(0 << 11)
-#define WM8990_MCLK_DIV_2			(2 << 11)
+#define WM8990_MCLK_DIV_1			( 0 << 11)
+#define WM8990_MCLK_DIV_2			( 2 << 11)
 #define WM8990_MCLK_INV                         0x0400  /* MCLK_INV */
-#define WM8990_ADC_CLKDIV_MASK                  0x00E0  /* ADC_CLKDIV */
-#define WM8990_ADC_CLKDIV_1			(0 << 5)
-#define WM8990_ADC_CLKDIV_1_5			(1 << 5)
-#define WM8990_ADC_CLKDIV_2			(2 << 5)
-#define WM8990_ADC_CLKDIV_3			(3 << 5)
-#define WM8990_ADC_CLKDIV_4			(4 << 5)
-#define WM8990_ADC_CLKDIV_5_5			(5 << 5)
-#define WM8990_ADC_CLKDIV_6			(6 << 5)
+#define WM8990_ADC_CLKDIV_MASK                  0x00E0  /* ADC_CLKDIV - [7:5] */
+#define WM8990_ADC_CLKDIV_1			( 0 << 5)
+#define WM8990_ADC_CLKDIV_1_5			( 1 << 5)
+#define WM8990_ADC_CLKDIV_2			( 2 << 5)
+#define WM8990_ADC_CLKDIV_3			( 3 << 5)
+#define WM8990_ADC_CLKDIV_4			( 4 << 5)
+#define WM8990_ADC_CLKDIV_5_5			( 5 << 5)
+#define WM8990_ADC_CLKDIV_6			( 6 << 5)
 #define WM8990_DAC_CLKDIV_MASK                  0x001C  /* DAC_CLKDIV - [4:2] */
-#define WM8990_DAC_CLKDIV_1			(0 << 2)
-#define WM8990_DAC_CLKDIV_1_5			(1 << 2)
-#define WM8990_DAC_CLKDIV_2			(2 << 2)
-#define WM8990_DAC_CLKDIV_3			(3 << 2)
-#define WM8990_DAC_CLKDIV_4			(4 << 2)
-#define WM8990_DAC_CLKDIV_5_5			(5 << 2)
-#define WM8990_DAC_CLKDIV_6			(6 << 2)
+#define WM8990_DAC_CLKDIV_1			( 0 << 2)
+#define WM8990_DAC_CLKDIV_1_5			( 1 << 2)
+#define WM8990_DAC_CLKDIV_2			( 2 << 2)
+#define WM8990_DAC_CLKDIV_3			( 3 << 2)
+#define WM8990_DAC_CLKDIV_4			( 4 << 2)
+#define WM8990_DAC_CLKDIV_5_5			( 5 << 2)
+#define WM8990_DAC_CLKDIV_6			( 6 << 2)
 
 /*
  * R8 (0x08) - Audio Interface (3)
@@ -256,7 +255,7 @@
 #define WM8990_AIF_MSTR2                        0x4000  /* AIF_MSTR2 */
 #define WM8990_AIF_SEL                          0x2000  /* AIF_SEL */
 #define WM8990_ADCLRC_DIR                       0x0800  /* ADCLRC_DIR */
-#define WM8990_ADCLRC_RATE_MASK                 0x07FF  /* ADCLRC_RATE */
+#define WM8990_ADCLRC_RATE_MASK                 0x07FF  /* ADCLRC_RATE - [10:0] */
 
 /*
  * R9 (0x09) - Audio Interface (4)
@@ -265,7 +264,7 @@
 #define WM8990_ALRCBGPIO6                       0x4000  /* ALRCBGPIO6 */
 #define WM8990_AIF_TRIS                         0x2000  /* AIF_TRIS */
 #define WM8990_DACLRC_DIR                       0x0800  /* DACLRC_DIR */
-#define WM8990_DACLRC_RATE_MASK                 0x07FF  /* DACLRC_RATE */
+#define WM8990_DACLRC_RATE_MASK                 0x07FF  /* DACLRC_RATE - [10:0] */
 
 /*
  * R10 (0x0A) - DAC CTRL
@@ -295,9 +294,9 @@
 /*
  * R13 (0x0D) - Digital Side Tone
  */
-#define WM8990_ADCL_DAC_SVOL_MASK               0x0F  /* ADCL_DAC_SVOL */
+#define WM8990_ADCL_DAC_SVOL_MASK               0x0F  /* ADCL_DAC_SVOL - [12:9] */
 #define WM8990_ADCL_DAC_SVOL_SHIFT		9
-#define WM8990_ADCR_DAC_SVOL_MASK               0x0F  /* ADCR_DAC_SVOL */
+#define WM8990_ADCR_DAC_SVOL_MASK               0x0F  /* ADCR_DAC_SVOL - [8:5] */
 #define WM8990_ADCR_DAC_SVOL_SHIFT		5
 #define WM8990_ADC_TO_DACL_MASK                 0x03  /* ADC_TO_DACL - [3:2] */
 #define WM8990_ADC_TO_DACL_SHIFT		2
@@ -529,8 +528,8 @@
 /*
  * R34 (0x22) - Speaker Volume
  */
-#define WM8990_SPKATTN_MASK                      0x0003  /* SPKATTN - [1:0] */
-#define WM8990_SPKATTN_SHIFT			 0
+#define WM8990_SPKVOL_MASK                      0x0003  /* SPKVOL - [1:0] */
+#define WM8990_SPKVOL_SHIFT			0
 
 /*
  * R35 (0x23) - ClassD1
@@ -545,15 +544,6 @@
 #define WM8990_DCGAIN_SHIFT			3
 #define WM8990_ACGAIN_MASK                      0x0007  /* ACGAIN - [2:0] */
 #define WM8990_ACGAIN_SHIFT			0
-
-/*
- * R38 (0x26) - ClassD4
- */
-#define WM8990_SPKZC_MASK                       0x0001  /* SPKZC */
-#define WM8990_SPKZC_SHIFT                           7  /* SPKZC */
-#define WM8990_SPKVOL_MASK                      0x007F  /* SPKVOL - [6:0] */
-#define WM8990_SPKVOL_SHIFT                          0  /* SPKVOL - [6:0] */
-
 /*
  * R39 (0x27) - Input Mixer1
  */
@@ -820,14 +810,83 @@
 
 /*
  * R63 (0x3F) - Internal Driver Bits
- */
+*/
 #define WM8990_INMIXL_PWR_BIT			0
 #define WM8990_AINLMUX_PWR_BIT			1
 #define WM8990_INMIXR_PWR_BIT			2
 #define WM8990_AINRMUX_PWR_BIT			3
 
+/*
+ * Default values.
+ */
+#define WM8990_REGISTER_DEFAULTS \
+{ \
+    /*0x8990,*/     /* R0  - Reset */ \
+    0x0000,     /* R1  - Power Management (1) */ \
+    0x6000,     /* R2  - Power Management (2) */ \
+    0x0000,     /* R3  - Power Management (3) */ \
+    0x4050,     /* R4  - Audio Interface (1) */ \
+    0x4000,     /* R5  - Audio Interface (2) */ \
+    0x01C8,     /* R6  - Clocking (1) */ \
+    0x0000,     /* R7  - Clocking (2) */ \
+    0x0040,     /* R8  - Audio Interface (3) */ \
+    0x0040,     /* R9  - Audio Interface (4) */ \
+    0x0004,     /* R10 - DAC CTRL */ \
+    0x00C0,     /* R11 - Left DAC Digital Volume */ \
+    0x00C0,     /* R12 - Right DAC Digital Volume */ \
+    0x0000,     /* R13 - Digital Side Tone */ \
+    0x0100,     /* R14 - ADC CTRL */ \
+    0x00C0,     /* R15 - Left ADC Digital Volume */ \
+    0x00C0,     /* R16 - Right ADC Digital Volume */ \
+    0x0000,     /* R17 */ \
+    0x0000,     /* R18 - GPIO CTRL 1 */ \
+    0x1000,     /* R19 - GPIO1 & GPIO2 */ \
+    0x1010,     /* R20 - GPIO3 & GPIO4 */ \
+    0x1010,     /* R21 - GPIO5 & GPIO6 */ \
+    0x8000,     /* R22 - GPIOCTRL 2 */ \
+    0x0800,     /* R23 - GPIO_POL */ \
+    0x008B,     /* R24 - Left Line Input 1&2 Volume */ \
+    0x008B,     /* R25 - Left Line Input 3&4 Volume */ \
+    0x008B,     /* R26 - Right Line Input 1&2 Volume */ \
+    0x008B,     /* R27 - Right Line Input 3&4 Volume */ \
+    0x0000,     /* R28 - Left Output Volume */ \
+    0x0000,     /* R29 - Right Output Volume */ \
+    0x0066,     /* R30 - Line Outputs Volume */ \
+    0x0022,     /* R31 - Out3/4 Volume */ \
+    0x0079,     /* R32 - Left OPGA Volume */ \
+    0x0079,     /* R33 - Right OPGA Volume */ \
+    0x0003,     /* R34 - Speaker Volume */ \
+    0x0003,     /* R35 - ClassD1 */ \
+    0x0000,     /* R36 */ \
+    0x0100,     /* R37 - ClassD3 */ \
+    0x0000,     /* R38 */ \
+    0x0000,     /* R39 - Input Mixer1 */ \
+    0x0000,     /* R40 - Input Mixer2 */ \
+    0x0000,     /* R41 - Input Mixer3 */ \
+    0x0000,     /* R42 - Input Mixer4 */ \
+    0x0000,     /* R43 - Input Mixer5 */ \
+    0x0000,     /* R44 - Input Mixer6 */ \
+    0x0000,     /* R45 - Output Mixer1 */ \
+    0x0000,     /* R46 - Output Mixer2 */ \
+    0x0000,     /* R47 - Output Mixer3 */ \
+    0x0000,     /* R48 - Output Mixer4 */ \
+    0x0000,     /* R49 - Output Mixer5 */ \
+    0x0000,     /* R50 - Output Mixer6 */ \
+    0x0180,     /* R51 - Out3/4 Mixer */ \
+    0x0000,     /* R52 - Line Mixer1 */ \
+    0x0000,     /* R53 - Line Mixer2 */ \
+    0x0000,     /* R54 - Speaker Mixer */ \
+    0x0000,     /* R55 - Additional Control */ \
+    0x0000,     /* R56 - AntiPOP1 */ \
+    0x0000,     /* R57 - AntiPOP2 */ \
+    0x0000,     /* R58 - MICBIAS */ \
+    0x0000,     /* R59 */ \
+    0x0008,     /* R60 - PLL1 */ \
+    0x0031,     /* R61 - PLL2 */ \
+    0x0026,     /* R62 - PLL3 */ \
+}
+
 struct wm8990_setup_data {
-	unsigned i2c_bus;
 	unsigned short i2c_address;
 };
 
@@ -836,6 +895,8 @@
 #define WM8990_ADCCLK_DIV 2
 #define WM8990_BCLK_DIV 3
 
+#define WM8990_MCLK	0
+
 extern struct snd_soc_dai wm8990_dai;
 extern struct snd_soc_codec_device soc_codec_dev_wm8990;
 
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/codecs/wm9713.c linux-2.6.28.6/sound/soc/codecs/wm9713.c
--- linux-2.6.28/sound/soc/codecs/wm9713.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/codecs/wm9713.c	2010-04-21 06:38:39.000000000 +0200
@@ -742,6 +743,7 @@
 		/* disable PLL power and select ext source */
 		reg = ac97_read(codec, AC97_HANDSET_RATE);
 		ac97_write(codec, AC97_HANDSET_RATE, reg | 0x0080);
+	//printk("-------1\n");
 		reg = ac97_read(codec, AC97_EXTENDED_MID);
 		ac97_write(codec, AC97_EXTENDED_MID, reg | 0x0200);
 		wm9713->pll_out = 0;
@@ -784,6 +786,7 @@
 	}
 
 	/* turn PLL on and select as source */
+//printk("-------2\n");
 	reg = ac97_read(codec, AC97_EXTENDED_MID);
 	ac97_write(codec, AC97_EXTENDED_MID, reg & 0xfdff);
 	reg = ac97_read(codec, AC97_HANDSET_RATE);
@@ -962,6 +965,7 @@
 	u16 status;
 
 	/* Gracefully shut down the voice interface. */
+	//printk("-------3\n");
 	status = ac97_read(codec, AC97_EXTENDED_STATUS) | 0x1000;
 	ac97_write(codec, AC97_HANDSET_RATE, 0x0280);
 	schedule_timeout_interruptible(msecs_to_jiffies(1));
@@ -1106,24 +1110,34 @@
 static int wm9713_set_bias_level(struct snd_soc_codec *codec,
 				 enum snd_soc_bias_level level)
 {
+#if !defined (CONFIG_CPU_S5PC100)
 	u16 reg;
+#endif
 
 	switch (level) {
 	case SND_SOC_BIAS_ON:
+#if !defined (CONFIG_CPU_S5PC100)
 		/* enable thermal shutdown */
-		reg = ac97_read(codec, AC97_EXTENDED_MID) & 0x1bff;
+	//printk("-------4\n");
+	/*	reg = ac97_read(codec, AC97_EXTENDED_MID) & 0x1bff;
 		ac97_write(codec, AC97_EXTENDED_MID, reg);
+	*/
+#endif
 		break;
 	case SND_SOC_BIAS_PREPARE:
 		break;
 	case SND_SOC_BIAS_STANDBY:
+#if !defined (CONFIG_CPU_S5PC100)
 		/* enable master bias and vmid */
+	//printk("-------5\n");
 		reg = ac97_read(codec, AC97_EXTENDED_MID) & 0x3bff;
 		ac97_write(codec, AC97_EXTENDED_MID, reg);
+#endif
 		ac97_write(codec, AC97_POWERDOWN, 0x0000);
 		break;
 	case SND_SOC_BIAS_OFF:
 		/* disable everything including AC link */
+//printk("-------6\n");
 		ac97_write(codec, AC97_EXTENDED_MID, 0xffff);
 		ac97_write(codec, AC97_EXTENDED_MSTATUS, 0xffff);
 		ac97_write(codec, AC97_POWERDOWN, 0xffff);
@@ -1143,6 +1157,7 @@
 	/* Disable everything except touchpanel - that will be handled
 	 * by the touch driver and left disabled if touch is not in
 	 * use. */
+//printk("-------7\n");
 	reg = ac97_read(codec, AC97_EXTENDED_MID);
 	ac97_write(codec, AC97_EXTENDED_MID, reg | 0x7fff);
 	ac97_write(codec, AC97_EXTENDED_MSTATUS, 0xffff);
@@ -1160,6 +1175,7 @@
 	int i, ret;
 	u16 *cache = codec->reg_cache;
 
+        wm9713_reset(codec, 0);
 	ret = wm9713_reset(codec, 1);
 	if (ret < 0) {
 		printk(KERN_ERR "could not reset AC97 codec\n");
@@ -1249,6 +1265,8 @@
 	/* unmute the adc - move to kcontrol */
 	reg = ac97_read(codec, AC97_CD) & 0x7fff;
 	ac97_write(codec, AC97_CD, reg);
+	ac97_write(codec, AC97_MASTER, 0x8080);
+	//------------end of add----------------//
 
 	wm9713_add_controls(codec);
 	wm9713_add_widgets(codec);
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c24xx/s3c2443-ac97.c linux-2.6.28.6/sound/soc/s3c24xx/s3c2443-ac97.c
--- linux-2.6.28/sound/soc/s3c24xx/s3c2443-ac97.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c24xx/s3c2443-ac97.c	2009-04-30 09:36:40.000000000 +0200
@@ -28,7 +28,7 @@
 #include <sound/soc.h>
 
 #include <mach/hardware.h>
-#include <asm/plat-s3c/regs-ac97.h>
+#include <plat/regs-ac97.h>
 #include <mach/regs-gpio.h>
 #include <mach/regs-clock.h>
 #include <mach/audio.h>
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/Kconfig linux-2.6.28.6/sound/soc/s3c64xx/Kconfig
--- linux-2.6.28/sound/soc/s3c64xx/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/Kconfig	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,154 @@
+menu "SoC Audio for the Samsung S3C"
+	depends on ARCH_S3C64XX || ARCH_S5P64XX
+
+config SND_S3C64XX_SOC
+	tristate "SoC Audio for the Samsung S3C chips"
+	depends on ARCH_S3C64XX
+	select SND_PCM
+	help
+	  Say Y or M if you want to add support for codecs attached to
+	  the S3C AC97, I2S or SSP interface. You will also need
+	  to select the audio interfaces to support below.
+
+config SND_S5P64XX_SOC
+	tristate "SoC Audio for the Samsung S3C chips"
+	depends on ARCH_S5P64XX
+	select SND_PCM
+	help
+	  Say Y or M if you want to add support for codecs attached to
+	  the S3C AC97, I2S or SSP interface. You will also need
+	  to select the audio interfaces to support below.
+
+
+config SND_S3C6410_SOC_I2S_V32
+	tristate
+
+config SND_S3C6410_SOC_I2S
+	tristate
+
+config SND_S5P6440_SOC_I2S
+	tristate
+
+config SND_SOC_I2S_V40
+	tristate
+
+config SND_S3C64XX_SOC_SMDK6410_WM9713
+	tristate "SoC AC97 Audio support for SMDK6410 - WM9713"
+	depends on SND_S3C64XX_SOC && (MACH_SMDK6410)
+	select SND_S3C6410_SOC_AC97
+	select SND_SOC_WM9713
+	help
+	  Say Y if you want to add support for SoC audio on smdk6410
+	  with the WM9713.
+	
+choice
+        prompt "SMDK Record Path Select"
+	depends on SND_S3C64XX_SOC_SMDK6400_WM9713 || SND_S3C64XX_SOC_SMDK6410_WM9713
+
+config SOUND_WM9713_INPUT_STREAM_LINE
+	bool "Input Stream is LINE-IN"
+	depends on SND_S3C64XX_SOC_SMDK6400_WM9713 || SND_S3C64XX_SOC_SMDK6410_WM9713
+	help
+	  Say Y here to make input stream as LINE-IN.
+
+config SOUND_WM9713_INPUT_STREAM_MIC
+	bool "Input Stream is MIC"
+	depends on SND_S3C64XX_SOC_SMDK6400_WM9713 || SND_S3C64XX_SOC_SMDK6410_WM9713
+	help
+	  Say Y here to make input stream as MIC.
+endchoice
+
+config SND_S3C6410_SOC_AC97
+	tristate
+	select AC97_BUS
+	select SND_AC97_CODEC
+	select SND_SOC_AC97_BUS
+
+config SND_S3C64XX_SOC_SMDK6410_WM8580
+	tristate "SoC I2S Audio support for SMDK6410 - WM8580"
+	depends on SND_S3C64XX_SOC && (MACH_SMDK6410 || MACH_SMDK6430)
+	select SND_S3C6410_SOC_I2S
+	select SND_SOC_WM8580
+	help
+	  Say Y if you want to add support for SoC audio on smdk6410
+	  with the WM8580.
+	
+choice
+        prompt "SMDK Record Path Select"
+	depends on SND_S3C64XX_SOC_SMDK6410_WM8580 || SND_S3C24XX_SOC_SMDK2450_WM8580
+
+config SOUND_WM8580_INPUT_STREAM_LINE
+	bool "Input Stream is LINE-IN"
+	depends on SND_S3C64XX_SOC_SMDK6410_WM8580 || SND_S3C24XX_SOC_SMDK2450_WM8580
+	help
+	  Say Y here to make input stream as LINE-IN.
+
+config SOUND_WM8580_INPUT_STREAM_MIC
+	bool "Input Stream is MIC"
+	depends on SND_S3C64XX_SOC_SMDK6410_WM8580 || SND_S3C24XX_SOC_SMDK2450_WM8580
+	help
+	  Say Y here to make input stream as MIC.
+endchoice
+
+config SND_S5P64XX_SOC_SMDK6440_WM8580
+	tristate "SoC I2S Audio support for SMDK6440 - WM8580"
+	depends on SND_S5P64XX_SOC && MACH_SMDK6440
+	select SND_S5P6440_SOC_I2S
+	select SND_SOC_WM8580
+	help
+	  Say Y if you want to add support for SoC audio on smdk6440
+	  with the WM8580.
+	
+choice
+        prompt "SMDK Record Path Select"
+	depends on SND_S5P64XX_SOC_SMDK6440_WM8580 
+
+config SOUND_SMDK6440_WM8580_INPUT_STREAM_LINE
+	bool "Input Stream is LINE-IN"
+	depends on SND_S5P64XX_SOC_SMDK6440_WM8580
+	help
+	  Say Y here to make input stream as LINE-IN.
+
+config SOUND_SMDK6440_WM8580_INPUT_STREAM_MIC
+	bool "Input Stream is MIC"
+	depends on SND_S5P64XX_SOC_SMDK6440_WM8580 
+	help
+	  Say Y here to make input stream as MIC.
+endchoice
+
+config SND_S3C64XX_SOC_SMDK6410_WM8990
+	tristate "SoC I2S Audio support for SMDK6410 - WM8990"
+	depends on SND_S3C64XX_SOC && (MACH_SMDK6410)
+	select SND_S3C6410_SOC_I2S_V32
+	select SND_SOC_WM8990
+	help
+	  Say Y if you want to add support for SoC audio on smdk6410
+	  with the WM8990.
+
+choice
+        prompt "SMDK Record Path Select"
+	depends on SND_S3C64XX_SOC_SMDK6410_WM8990 || SND_S3C64XX_SOC_SMDK6400_WM8990
+
+config SOUND_WM8990_INPUT_STREAM_LINE_IN
+	bool "Input Stream is LINE-IN"
+	depends on SND_S3C64XX_SOC_SMDK6410_WM8990 || SND_S3C64XX_SOC_SMDK6400_WM8990
+	help
+	  Say Y here to make input stream as LINE-IN.
+
+config SOUND_WM8990_INPUT_STREAM_MIC_IN
+	bool "Input Stream is MIC"
+	depends on SND_S3C64XX_SOC_SMDK6410_WM8990 || SND_S3C64XX_SOC_SMDK6400_WM8990
+	help
+	  Say Y here to make input stream as MIC.
+endchoice
+
+config SND_S3C64XX_SOC_SMDK6410_S5M8751
+	tristate "SoC I2S Audio support for SMDK6410 - S5M8751"
+	depends on SND_S3C64XX_SOC && (MACH_SMDK6410)
+	select SND_S3C6410_SOC_I2S_V32
+	select SND_SOC_S5M8751
+	help
+	  Say Y if you want to add support for SoC audio on smdk6410
+	  with the S5M8751.
+
+endmenu
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/Makefile linux-2.6.28.6/sound/soc/s3c64xx/Makefile
--- linux-2.6.28/sound/soc/s3c64xx/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/Makefile	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,29 @@
+# Samsung Platform Support
+snd-soc-s3c-objs := s3c-pcm.o
+snd-soc-s3c64xx-ac97-objs := s3c64xx-ac97.o
+snd-soc-s3c6410-i2s-objs := s3c6410-i2s.o
+snd-soc-s5p6440-i2s-objs := s5p6440-i2s.o
+
+obj-$(CONFIG_SND_S3C64XX_SOC) += snd-soc-s3c.o
+obj-$(CONFIG_SND_S5P64XX_SOC) += snd-soc-s3c.o
+obj-$(CONFIG_SND_S3C6410_SOC_AC97) += snd-soc-s3c64xx-ac97.o
+obj-$(CONFIG_SND_S3C6410_SOC_I2S) += snd-soc-s3c6410-i2s.o
+obj-$(CONFIG_SND_S3C6410_SOC_I2S_V32) += snd-soc-s3c6410-i2s.o
+obj-$(CONFIG_SND_S5P6440_SOC_I2S) += snd-soc-s5p6440-i2s.o
+obj-$(CONFIG_SND_S5P6440_SOC_I2S_V32) += snd-soc-s5p6440-i2s.o
+
+# Machine Support
+snd-soc-neo1973-wm8753-objs := neo1973_wm8753.o
+snd-soc-smdk64xx-wm9713-objs := smdk64xx_wm9713.o
+snd-soc-smdk6410-wm8580-objs := smdk6410_wm8580.o
+snd-soc-smdk6440-wm8580-objs := smdk6440_wm8580.o
+snd-soc-smdk6410-wm8990-objs := smdk6410_wm8990.o
+snd-soc-smdk6410-s5m8751-objs := smdk6410_s5m8751.o
+snd-soc-smdk6440-s5m8751-objs := smdk6440_s5m8751.o
+
+obj-$(CONFIG_SND_S3C64XX_SOC_SMDK6410_WM9713) += snd-soc-smdk64xx-wm9713.o
+obj-$(CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8580) += snd-soc-smdk6410-wm8580.o
+obj-$(CONFIG_SND_S5P64XX_SOC_SMDK6440_WM8580) += snd-soc-smdk6440-wm8580.o
+obj-$(CONFIG_SND_S3C64XX_SOC_SMDK6410_WM8990) += snd-soc-smdk6410-wm8990.o
+obj-$(CONFIG_SND_S3C64XX_SOC_SMDK6410_S5M8751) += snd-soc-smdk6410-s5m8751.o
+obj-$(CONFIG_SND_S5P64XX_SOC_SMDK6440_S5M8751) += snd-soc-smdk6440-s5m8751.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/s3c-i2s.c linux-2.6.28.6/sound/soc/s3c64xx/s3c-i2s.c
--- linux-2.6.28/sound/soc/s3c64xx/s3c-i2s.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/s3c-i2s.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,619 @@
+/*
+ * s3c-i2s.c  --  ALSA Soc Audio Layer
+ *
+ * (c) 2006 Wolfson Microelectronics PLC.
+ * Graeme Gregory graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ * (c) 2004-2005 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	Ryu Euiyoul <ryu.real@gmail.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *
+ *  Revision history
+ *    11th Dec 2006   Merged with Simtec driver
+ *    10th Nov 2006   Initial version.
+ */
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/device.h>
+#include <linux/delay.h>
+#include <linux/clk.h>
+#include <sound/driver.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/initval.h>
+#include <sound/soc.h>
+
+#include <asm/hardware.h>
+#include <asm/io.h>
+#include <asm/dma.h>
+
+#include <asm-arm/plat-s3c64xx/regs-iis.h>
+//#include <asm/arch/regs-iis.h>
+#include <asm/arch/regs-gpio.h>
+#include <asm/arch/audio.h>
+#include <asm/arch/dma.h>
+#include <asm/arch/regs-s3c-clock.h>
+
+#include "s3c-pcm.h"
+#include "s3c-i2s.h"
+
+#ifdef CONFIG_SND_DEBUG
+#define s3cdbg(x...) printk(x)
+#else
+#define s3cdbg(x...)
+#endif
+
+/* used to disable sysclk if external crystal is used */
+static int extclk = 0;
+module_param(extclk, int, 0);
+MODULE_PARM_DESC(extclk, "set to 1 to disable s3c24XX i2s sysclk");
+
+static struct s3c2410_dma_client s3c24xx_dma_client_out = {
+	.name = "I2S PCM Stereo out"
+};
+
+static struct s3c2410_dma_client s3c24xx_dma_client_in = {
+	.name = "I2S PCM Stereo in"
+};
+
+static struct s3c24xx_pcm_dma_params s3c24xx_i2s_pcm_stereo_out = {
+	.client		= &s3c24xx_dma_client_out,
+	.channel	= DMACH_I2S_OUT,
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+	.dma_addr	= S3C2410_PA_IIS + S3C2410_IISFIFO,
+	.dma_size	= 2,
+#else
+	.dma_addr	= S3C6400_PA_IIS + S3C2410_IISFIFO,
+	.dma_size	= 4,
+#endif
+};
+
+static struct s3c24xx_pcm_dma_params s3c24xx_i2s_pcm_stereo_in = {
+	.client		= &s3c24xx_dma_client_in,
+	.channel	= DMACH_I2S_IN,
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+	.dma_addr	= S3C2410_PA_IIS + S3C2410_IISFIFORX,
+	.dma_size	= 2,
+#else
+	.dma_addr	= S3C6400_PA_IIS + S3C2410_IISFIFORX,
+	.dma_size	= 4,
+#endif
+};
+
+struct s3c24xx_i2s_info {
+	void __iomem	*regs;
+	struct clk	*iis_clk;
+	int master;
+};
+static struct s3c24xx_i2s_info s3c24xx_i2s;
+
+static void s3c24xx_snd_txctrl(int on)
+{
+	u32 iisfcon;
+	u32 iiscon;
+	u32 iismod;
+
+	s3cdbg("Entered %s : on = %d \n", __FUNCTION__, on);
+
+	iiscon  = readl(s3c24xx_i2s.regs + S3C2410_IISCON);
+	iismod  = readl(s3c24xx_i2s.regs + S3C2410_IISMOD);
+	iisfcon = readl(s3c24xx_i2s.regs + S3C2410_IISFCON);
+
+	s3cdbg("r: IISCON: %x IISMOD: %x IISFCON: %x\n", iiscon, iismod, iisfcon);
+
+	if (on) {
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+		iisfcon |= S3C2410_IISFCON_TXDMA | S3C2410_IISFCON_TXENABLE;
+		iiscon  |= S3C2410_IISCON_TXDMAEN | S3C2410_IISCON_IISEN;
+		iiscon  &= ~S3C2410_IISCON_TXIDLE;
+		iismod  |= S3C2410_IISMOD_TXMODE;
+#else
+		iiscon |= S3C_IIS0CON_I2SACTIVE;
+#endif
+		writel(iismod,  s3c24xx_i2s.regs + S3C2410_IISMOD);
+		writel(iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON);
+		writel(iiscon,  s3c24xx_i2s.regs + S3C2410_IISCON);
+	} else {
+		/* note, we have to disable the FIFOs otherwise bad things
+		 * seem to happen when the DMA stops. According to the
+		 * Samsung supplied kernel, this should allow the DMA
+		 * engine and FIFOs to reset. If this isn't allowed, the
+		 * DMA engine will simply freeze randomly.
+		 */
+
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+		iisfcon &= ~S3C2410_IISFCON_TXENABLE;
+		iisfcon &= ~S3C2410_IISFCON_TXDMA;
+		iiscon  |=  S3C2410_IISCON_TXIDLE;
+		iiscon  &= ~S3C2410_IISCON_TXDMAEN;
+		iismod  &= ~S3C2410_IISMOD_TXMODE;
+#else
+		iiscon &=~(S3C_IIS0CON_I2SACTIVE);
+		iismod &= ~S3C_IIS0MOD_TXMODE;
+#endif
+
+		writel(iiscon,  s3c24xx_i2s.regs + S3C2410_IISCON);
+		writel(iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON);
+		writel(iismod,  s3c24xx_i2s.regs + S3C2410_IISMOD);
+	}
+
+	s3cdbg("w: IISCON: %x IISMOD: %x IISFCON: %x\n", iiscon, iismod, iisfcon);
+}
+
+static void s3c24xx_snd_rxctrl(int on)
+{
+	u32 iisfcon;
+	u32 iiscon;
+	u32 iismod;
+
+	s3cdbg("Entered %s: on = %d\n", __FUNCTION__, on);
+
+	iisfcon = readl(s3c24xx_i2s.regs + S3C2410_IISFCON);
+	iiscon  = readl(s3c24xx_i2s.regs + S3C2410_IISCON);
+	iismod  = readl(s3c24xx_i2s.regs + S3C2410_IISMOD);
+
+	s3cdbg("r: IISCON: %x IISMOD: %x IISFCON: %x\n", iiscon, iismod, iisfcon);
+
+	if (on) {
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+		iisfcon |= S3C2410_IISFCON_RXDMA | S3C2410_IISFCON_RXENABLE;
+		iiscon  |= S3C2410_IISCON_RXDMAEN | S3C2410_IISCON_IISEN;
+		iiscon  &= ~S3C2410_IISCON_RXIDLE;
+		iismod  |= S3C2410_IISMOD_RXMODE;
+#else
+		iiscon |= S3C_IIS0CON_I2SACTIVE;
+#endif
+		writel(iismod,  s3c24xx_i2s.regs + S3C2410_IISMOD);
+		writel(iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON);
+		writel(iiscon,  s3c24xx_i2s.regs + S3C2410_IISCON);
+	} else {
+		/* note, we have to disable the FIFOs otherwise bad things
+		 * seem to happen when the DMA stops. According to the
+		 * Samsung supplied kernel, this should allow the DMA
+		 * engine and FIFOs to reset. If this isn't allowed, the
+		 * DMA engine will simply freeze randomly.
+		 */
+
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+		iisfcon &= ~S3C2410_IISFCON_RXENABLE;
+		iisfcon &= ~S3C2410_IISFCON_RXDMA;
+		iiscon  |= S3C2410_IISCON_RXIDLE;
+		iiscon  &= ~S3C2410_IISCON_RXDMAEN;
+		iismod  &= ~S3C2410_IISMOD_RXMODE;
+#else
+		iiscon &=~ S3C_IIS0CON_I2SACTIVE;
+		iismod &= ~S3C_IIS0MOD_RXMODE;
+#endif
+		writel(iisfcon, s3c24xx_i2s.regs + S3C2410_IISFCON);
+		writel(iiscon,  s3c24xx_i2s.regs + S3C2410_IISCON);
+		writel(iismod,  s3c24xx_i2s.regs + S3C2410_IISMOD);
+
+	}
+	s3cdbg("w: IISCON: %x IISMOD: %x IISFCON: %x\n", iiscon, iismod, iisfcon);
+}
+
+/*
+ * Wait for the LR signal to allow synchronisation to the L/R clock
+ * from the codec. May only be needed for slave mode.
+ */
+static int s3c24xx_snd_lrsync(void)
+{
+	u32 iiscon;
+	unsigned long timeout = jiffies + msecs_to_jiffies(5);
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	while (1) {
+		iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON);
+		if (iiscon & S3C2410_IISCON_LRINDEX)
+			break;
+
+		if (timeout < jiffies)
+			return -ETIMEDOUT;
+	}
+
+	return 0;
+}
+
+/*
+ * Check whether CPU is the master or slave
+ */
+static inline int s3c24xx_snd_is_clkmaster(void)
+{
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	return (readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & S3C2410_IISMOD_SLAVE) ? 0:1;
+}
+
+/*
+ * Set S3C24xx I2S DAI format
+ */
+static int s3c_i2s_set_fmt(struct snd_soc_dai *cpu_dai,
+		unsigned int fmt)
+{
+#if 0
+	u32 iismod;
+
+	s3cdbg("Entered %s: fmt = %d\n", __FUNCTION__, fmt);
+
+	iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD);
+
+	switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
+	case SND_SOC_DAIFMT_CBM_CFM:
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+		iismod |= S3C2410_IISMOD_SLAVE;
+#else
+		iismod |= S3C2410_IISMOD_MASTER;
+#endif
+		break;
+	case SND_SOC_DAIFMT_CBS_CFS:
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
+	case SND_SOC_DAIFMT_LEFT_J:
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+		iismod |= S3C2410_IISMOD_MSB;
+#else
+		iismod |= S3C_IIS0MOD_MSB;
+#endif
+		break;
+	case SND_SOC_DAIFMT_I2S:
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD);
+#endif
+	return 0;
+
+}
+
+static int s3c_i2s_hw_params(struct snd_pcm_substream *substream,
+				struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+
+	unsigned long iiscon;
+	unsigned long iismod;
+	unsigned long iisfcon;
+	
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	/*Set I2C port to controll WM8753 codec*/
+	gpio_pullup(S3C_GPB5, 0);
+	gpio_pullup(S3C_GPB6, 0);
+	gpio_set_pin(S3C_GPB5, S3C_GPB5_I2C_SCL);
+	gpio_set_pin(S3C_GPB6, S3C_GPB6_I2C_SDA);
+
+	s3c24xx_i2s.master = 1;
+	
+	/* Configure the I2S pins in correct mode */
+	gpio_set_pin(S3C_GPD2,S3C_GPD2_I2S_LRCLK0);
+
+	if (s3c24xx_i2s.master && !extclk){
+		s3cdbg("Setting Clock Output as we are Master\n");
+		gpio_set_pin(S3C_GPD0,S3C_GPD0_I2S_CLK0);
+		
+	}
+	gpio_set_pin(S3C_GPD1,S3C_GPD1_I2S_CDCLK0);
+	gpio_set_pin(S3C_GPD3,S3C_GPD3_I2S_DI0);
+	gpio_set_pin(S3C_GPD4,S3C_GPD4_I2S_DO0);
+
+	/* pull-up-enable, pull-down-disable*/
+	gpio_pullup(S3C_GPD0, 0x2);
+	gpio_pullup(S3C_GPD1, 0x2);
+	gpio_pullup(S3C_GPD2, 0x2);
+	gpio_pullup(S3C_GPD3, 0x2);
+	gpio_pullup(S3C_GPD4, 0x2);
+
+	s3cdbg("substream->stream : %d\n", substream->stream);
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+		rtd->dai->cpu_dai->dma_data = &s3c24xx_i2s_pcm_stereo_out;
+	} else {
+		rtd->dai->cpu_dai->dma_data = &s3c24xx_i2s_pcm_stereo_in;
+	}
+
+	/* Working copies of registers */
+	iiscon = readl(Ss3c24xx_i2s.regs + S3C_IIS0CON);
+	iismod = readl(S3C_IIS0MOD);
+	iisfcon = readl(S3C_IIS0FIC);
+	/* is port used by another stream */
+	if (!(iiscon & S3C_IIS0CON_I2SACTIVE)) {
+
+		// Clear BFS field [2:1]
+		iismod &= ~(0x3<<1);
+		iismod |= S3C_IIS0MOD_32FS | S3C_IIS0MOD_INTERNAL_CLK;
+
+		if (!s3c24xx_i2s.master)
+			iismod |= S3C_IIS0MOD_IMS_SLAVE;
+		else
+			iismod |= S3C_IIS0MOD_IMS_EXTERNAL_MASTER;
+	}
+
+	/* enable TX & RX all to support Full-duplex */
+	iismod |= S3C_IIS0MOD_TXRXMODE;
+	iiscon |= S3C_IIS0CON_TXDMACTIVE;
+	iisfcon |= S3C_IIS_TX_FLUSH;
+	iiscon |= S3C_IIS0CON_RXDMACTIVE;
+	iisfcon |= S3C_IIS_RX_FLUSH;
+
+	writel(iiscon, S3C_IIS0CON);
+	writel(iismod, S3C_IIS0MOD);
+	writel(iisfcon, S3C_IIS0FIC);
+
+	// Tx, Rx fifo flush bit clear
+	iisfcon  &= ~(S3C_IIS_TX_FLUSH | S3C_IIS_RX_FLUSH);
+	writel(iisfcon, S3C_IIS0FIC);
+
+	s3cdbg("IISCON: %lx IISMOD: %lx", iiscon, iismod);
+
+	return 0;
+
+}
+
+static int s3c_i2s_trigger(struct snd_pcm_substream *substream, int cmd)
+{
+	int ret = 0;
+
+	s3cdbg("Entered %s: cmd = %d\n", __FUNCTION__, cmd);
+
+	switch (cmd) {
+	case SNDRV_PCM_TRIGGER_START:
+	case SNDRV_PCM_TRIGGER_RESUME:
+	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
+		if (!s3c24xx_snd_is_clkmaster()) {
+			ret = s3c24xx_snd_lrsync();
+			if (ret)
+				goto exit_err;
+		}
+
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			s3c24xx_snd_rxctrl(1);
+		else
+			s3c24xx_snd_txctrl(1);
+		break;
+	case SNDRV_PCM_TRIGGER_STOP:
+	case SNDRV_PCM_TRIGGER_SUSPEND:
+	case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			s3c24xx_snd_rxctrl(0);
+		else
+			s3c24xx_snd_txctrl(0);
+		break;
+	default:
+		ret = -EINVAL;
+		break;
+	}
+
+exit_err:
+	return ret;
+}
+
+static void s3c64xx_i2s_shutdown(struct snd_pcm_substream *substream)
+{
+	unsigned long iismod, iiscon;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+	
+	iismod=readl(S3C_IIS0MOD);
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+		iismod &= ~S3C_IIS0MOD_TXMODE;
+	} else {
+		iismod &= ~S3C_IIS0MOD_RXMODE;
+	}
+
+	writel(iismod,S3C_IIS0MOD);
+
+	iiscon=readl(S3C_IIS0CON);
+	iiscon &= !S3C_IIS0CON_I2SACTIVE;
+	writel(iiscon,S3C_IIS0CON);
+
+	/* Clock disable 
+	 * PCLK & SCLK gating disable 
+	 */
+	__raw_writel(__raw_readl(S3C_PCLK_GATE)&~(S3C_CLKCON_PCLK_IIS0), S3C_PCLK_GATE);
+	__raw_writel(__raw_readl(S3C_SCLK_GATE)&~(S3C_CLKCON_SCLK_AUDIO0), S3C_SCLK_GATE);
+
+	/* EPLL disable */
+	__raw_writel(__raw_readl(S3C_EPLL_CON0)&~(1<<31) ,S3C_EPLL_CON0);	
+	
+}
+
+
+/*
+ * Set S3C24xx Clock source
+ */
+static int s3c_i2s_set_sysclk(struct snd_soc_dai *cpu_dai,
+	int clk_id, unsigned int freq, int dir)
+{
+	u32 iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD);
+
+	s3cdbg("Entered %s : clk_id = %d\n", __FUNCTION__, clk_id);
+
+	iismod &= ~S3C2440_IISMOD_MPLL;
+
+	switch (clk_id) {
+	case S3C24XX_CLKSRC_PCLK:
+		break;
+	case S3C24XX_CLKSRC_MPLL:
+		iismod |= S3C2440_IISMOD_MPLL;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD);
+	return 0;
+}
+
+/*
+ * Set S3C24xx Clock dividers
+ */
+static int s3c_i2s_set_clkdiv(struct snd_soc_dai *cpu_dai,
+	int div_id, int div)
+{
+	u32 reg;
+
+	s3cdbg("Entered %s : div_id = %d, div = %d\n", __FUNCTION__, div_id, div);
+
+	switch (div_id) {
+	case S3C24XX_DIV_MCLK:
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+		reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~S3C2410_IISMOD_FS_MASK;
+		writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD);
+#endif
+		break;
+	case S3C24XX_DIV_BCLK:
+		reg = readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & ~(S3C2410_IISMOD_384FS);
+		writel(reg | div, s3c24xx_i2s.regs + S3C2410_IISMOD);
+		break;
+	case S3C24XX_DIV_PRESCALER:
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+		writel(div, s3c24xx_i2s.regs + S3C2410_IISPSR);
+		reg = readl(s3c24xx_i2s.regs + S3C2410_IISCON);
+		writel(reg | S3C2410_IISCON_PSCEN, s3c24xx_i2s.regs + S3C2410_IISCON);
+#else
+		writel(div|(1<<15),S3C_IIS0PSR);
+#endif
+		break;
+	default:
+		return -EINVAL;
+	}
+	
+	return 0;
+}
+
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+/*
+ * To avoid duplicating clock code, allow machine driver to
+ * get the clockrate from here.
+ */
+u32 s3c24xx_i2s_get_clockrate(void)
+{
+	return clk_get_rate(s3c24xx_i2s.iis_clk);
+}
+EXPORT_SYMBOL_GPL(s3c24xx_i2s_get_clockrate);
+#endif
+
+static int s3c_i2s_probe(struct platform_device *pdev)
+{
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	s3c24xx_i2s.regs = ioremap(S3C24XX_PA_IIS, 0x100);
+	if (s3c24xx_i2s.regs == NULL)
+		return -ENXIO;
+
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)
+	s3c24xx_i2s.iis_clk=clk_get(&pdev->dev, "iis");
+	if (s3c24xx_i2s.iis_clk == NULL) {
+		s3cdbg("failed to get iis_clock\n");
+		return -ENODEV;
+	}
+	clk_enable(s3c24xx_i2s.iis_clk);
+	
+	/* Configure the I2S pins in correct mode */
+	s3c2410_gpio_cfgpin(S3C2410_GPE0, S3C2410_GPE0_I2SLRCK);
+	s3c2410_gpio_cfgpin(S3C2410_GPE1, S3C2410_GPE1_I2SSCLK);
+	s3c2410_gpio_cfgpin(S3C2410_GPE2, S3C2410_GPE2_CDCLK);
+	s3c2410_gpio_cfgpin(S3C2410_GPE3, S3C2410_GPE3_I2SSDI);
+	s3c2410_gpio_cfgpin(S3C2410_GPE4, S3C2410_GPE4_I2SSDO);
+
+	writel(S3C2410_IISCON_IISEN, s3c24xx_i2s.regs + S3C2410_IISCON);
+
+	/* Configure the I2S pins in correct mode */
+	gpio_set_pin(S3C_GPD2,S3C_GPD2_I2S_LRCLK0);
+
+	gpio_set_pin(S3C_GPD0,S3C_GPD0_I2S_CLK0);
+		
+	gpio_set_pin(S3C_GPD1,S3C_GPD1_I2S_CDCLK0);
+	gpio_set_pin(S3C_GPD3,S3C_GPD3_I2S_DI0);
+	gpio_set_pin(S3C_GPD4,S3C_GPD4_I2S_DO0);
+
+	/* pull-up-enable, pull-down-disable*/
+	gpio_pullup(S3C_GPD0, 0x2);
+	gpio_pullup(S3C_GPD1, 0x2);
+	gpio_pullup(S3C_GPD2, 0x2);
+	gpio_pullup(S3C_GPD3, 0x2);
+	gpio_pullup(S3C_GPD4, 0x2);
+
+	writel(S3C2410_IISCON_IISEN, s3c24xx_i2s.regs + S3C2410_IISCON);
+	s3c24xx_snd_txctrl(0);
+	s3c24xx_snd_rxctrl(0);
+#endif
+
+	return 0;
+}
+
+#ifdef CONFIG_PM
+static int s3c_i2s_suspend(struct platform_device *dev,
+	struct snd_soc_dai *dai)
+{
+	s3cdbg("Entered %s\n", __FUNCTION__);
+	return 0;
+}
+
+static int s3c_i2s_resume(struct platform_device *pdev,
+	struct snd_soc_dai *dai)
+{
+	s3cdbg("Entered %s\n", __FUNCTION__);
+	return 0;
+}
+
+#else
+#define s3c_i2s_suspend	NULL
+#define s3c_i2s_resume	NULL
+#endif
+
+
+#define S3C24XX_I2S_RATES \
+	(SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 | SNDRV_PCM_RATE_16000 | \
+	SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \
+	SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000)
+
+struct snd_soc_dai s3c_i2s_dai = {
+	.name = "s3c-i2s",
+	.id = 0,
+	.type = SND_SOC_DAI_I2S,
+	.probe = s3c_i2s_probe,
+	.suspend = s3c_i2s_suspend,
+	.resume = s3c_i2s_resume,
+	.playback = {
+		.channels_min = 2,
+		.channels_max = 2,
+		.rates = S3C24XX_I2S_RATES,
+		.formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE,},
+	.capture = {
+		.channels_min = 2,
+		.channels_max = 2,
+		.rates = S3C24XX_I2S_RATES,
+		.formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE,},
+	.ops = {
+		.shutdown = s3c64xx_i2s_shutdown,
+		.trigger = s3c_i2s_trigger,
+		.hw_params = s3c_i2s_hw_params,},
+	.dai_ops = {
+		.set_fmt = s3c_i2s_set_fmt,
+		.set_clkdiv = s3c_i2s_set_clkdiv,
+		.set_sysclk = s3c_i2s_set_sysclk,
+	},
+};
+EXPORT_SYMBOL_GPL(s3c_i2s_dai);
+
+/* Module information */
+MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>");
+MODULE_DESCRIPTION("s3c24xx I2S SoC Interface");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/s3c-i2s.h linux-2.6.28.6/sound/soc/s3c64xx/s3c-i2s.h
--- linux-2.6.28/sound/soc/s3c64xx/s3c-i2s.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/s3c-i2s.h	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,44 @@
+/*
+ * s3c24xx-i2s.c  --  ALSA Soc Audio Layer
+ *
+ * Copyright 2005 Wolfson Microelectronics PLC.
+ * Author: Graeme Gregory
+ *         graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  Revision history
+ *    10th Nov 2006   Initial version.
+ */
+
+#ifndef S3C24XXI2S_H_
+#define S3C24XXI2S_H_
+
+/* clock sources */
+#define S3C24XX_CLKSRC_PCLK 0
+#define S3C24XX_CLKSRC_MPLL 1
+
+/* Clock dividers */
+#define S3C24XX_DIV_MCLK	0
+#define S3C24XX_DIV_BCLK	1
+#define S3C24XX_DIV_PRESCALER	2
+
+/* prescaler */
+#if !defined(CONFIG_CPU_S3C6400) && !defined(CONFIG_CPU_S3C6410)
+#define S3C24XX_PRESCALE(a,b) \
+	(((a - 1) << S3C2410_IISPSR_INTSHIFT) | ((b - 1) << S3C2410_IISPSR_EXTSHFIT))
+#else
+#define S3C24XX_PRESCALE(a,b) \
+	(((a - 1) << S3C_IISPSR_INTSHIFT) | ((b - 1) << S3C_IISPSR_INTSHIFT))
+#endif
+
+u32 s3c24xx_i2s_get_clockrate(void);
+
+extern struct snd_soc_dai s3c_i2s_dai;
+extern struct snd_soc_dai	s3c_i2s_v40_dai;
+extern struct snd_soc_dai	s5p_i2s_v40_dai;
+
+#endif /*S3C24XXI2S_H_*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/s3c-pcm.c linux-2.6.28.6/sound/soc/s3c64xx/s3c-pcm.c
--- linux-2.6.28/sound/soc/s3c64xx/s3c-pcm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/s3c-pcm.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,546 @@
+/*
+ * s3c-pcm.c  --  ALSA Soc Audio Layer
+ *
+ * (c) 2006 Wolfson Microelectronics PLC.
+ * Graeme Gregory graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ * (c) 2004-2005 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	Ryu Euiyoul <ryu.real@gmail.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  Revision history
+ *    11th Dec 2006   Merged with Simtec driver
+ *    10th Nov 2006   Initial version.
+ */
+
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/platform_device.h>
+#include <linux/slab.h>
+#include <linux/dma-mapping.h>
+
+//#include <sound/driver.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+
+#include <asm/dma.h>
+#include <asm/io.h>
+#include <mach/hardware.h>
+#include <plat/dma.h>
+#include <mach/audio.h>
+
+#include "s3c-pcm.h"
+
+#if defined CONFIG_SND_S3C6400_SOC_AC97
+#define MAIN_DMA_CH 1
+#else /*S3C6400 I2S */ 
+#define MAIN_DMA_CH 0
+#endif
+
+#ifdef CONFIG_SND_DEBUG
+#define s3cdbg(x...) printk(x)
+#else
+#define s3cdbg(x...)
+#endif
+
+static const struct snd_pcm_hardware s3c24xx_pcm_hardware = {
+	.info			= SNDRV_PCM_INFO_INTERLEAVED |
+				    SNDRV_PCM_INFO_BLOCK_TRANSFER |
+				    SNDRV_PCM_INFO_MMAP |
+				    SNDRV_PCM_INFO_MMAP_VALID,
+	.formats		= SNDRV_PCM_FMTBIT_S16_LE |
+				    SNDRV_PCM_FMTBIT_U16_LE |
+				    SNDRV_PCM_FMTBIT_U8 |
+				    SNDRV_PCM_FMTBIT_S24_LE |
+				    SNDRV_PCM_FMTBIT_S8,
+	.channels_min		= 2,
+	.channels_max		= 2,
+	.buffer_bytes_max	= 128*1024,
+	.period_bytes_min	= PAGE_SIZE,
+	.period_bytes_max	= PAGE_SIZE*2,
+	.periods_min		= 2,
+	.periods_max		= 128,
+	.fifo_size		= 32,
+};
+
+struct s3c24xx_runtime_data {
+	spinlock_t lock;
+	int state;
+	unsigned int dma_loaded;
+	unsigned int dma_limit;
+	unsigned int dma_period;
+	dma_addr_t dma_start;
+	dma_addr_t dma_pos;
+	dma_addr_t dma_end;
+	struct s3c24xx_pcm_dma_params *params;
+};
+
+/* s3c24xx_pcm_enqueue
+ *
+ * place a dma buffer onto the queue for the dma system
+ * to handle.
+*/
+static void s3c24xx_pcm_enqueue(struct snd_pcm_substream *substream)
+{
+	struct s3c24xx_runtime_data *prtd = substream->runtime->private_data;
+	dma_addr_t pos = prtd->dma_pos;
+	int ret;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	while (prtd->dma_loaded < prtd->dma_limit) {
+		unsigned long len = prtd->dma_period;
+
+		s3cdbg("dma_loaded: %d\n",prtd->dma_loaded);
+
+		if ((pos + len) > prtd->dma_end) {
+			len  = prtd->dma_end - pos;
+			s3cdbg(KERN_DEBUG "%s: corrected dma len %ld\n",
+			       __FUNCTION__, len);
+		}
+
+		ret = s3c2410_dma_enqueue(prtd->params->channel, 
+			substream, pos, len);
+
+		if (ret == 0) {
+			prtd->dma_loaded++;
+			pos += prtd->dma_period;
+			if (pos >= prtd->dma_end)
+				pos = prtd->dma_start;
+		} else
+			break;
+	}
+
+	prtd->dma_pos = pos;
+}
+
+static void s3c24xx_audio_buffdone(struct s3c2410_dma_chan *channel,
+				void *dev_id, int size,
+				enum s3c2410_dma_buffresult result)
+{
+	struct snd_pcm_substream *substream = dev_id;
+	struct s3c24xx_runtime_data *prtd;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	if (result == S3C2410_RES_ABORT || result == S3C2410_RES_ERR){
+		return;
+	}
+	else {
+		
+		if (!substream)
+			return;
+
+		prtd = substream->runtime->private_data;
+		snd_pcm_period_elapsed(substream);
+
+		spin_lock(&prtd->lock);
+		if (prtd->state & ST_RUNNING) {
+			prtd->dma_loaded--;
+			s3c24xx_pcm_enqueue(substream);
+		}
+
+		prtd->dma_loaded--;
+		spin_unlock(&prtd->lock);
+	}
+#if 0
+	struct snd_pcm_substream *substream = dev_id;
+	struct s3c24xx_runtime_data *prtd = substream->runtime->private_data;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	if (result == S3C2410_RES_ABORT || result == S3C2410_RES_ERR)
+		return;
+
+	snd_pcm_period_elapsed(substream);
+
+	spin_lock(&prtd->lock);
+	if (prtd->state & ST_RUNNING) {
+		prtd->dma_loaded--;
+		s3c24xx_pcm_enqueue(substream);
+	}
+
+	spin_unlock(&prtd->lock);
+#endif
+}
+
+static int s3c24xx_pcm_hw_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_pcm_runtime *runtime = substream->runtime;
+	struct s3c24xx_runtime_data *prtd = runtime->private_data;
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct s3c24xx_pcm_dma_params *dma = rtd->dai->cpu_dai->dma_data;
+	unsigned long totbytes = params_buffer_bytes(params);
+	int ret=0;
+
+	s3cdbg("Entered %s, params = %p \n", __FUNCTION__, prtd->params);
+
+	/* return if this is a bufferless transfer e.g.
+	 * codec <--> BT codec or GSM modem -- lg FIXME */
+	if (!dma)
+		return 0;
+
+	/* this may get called several times by oss emulation
+	 * with different params */
+	if (prtd->params == NULL) {
+		prtd->params = dma;
+		s3cdbg("params %p, client %p, channel %d\n", prtd->params,
+			prtd->params->client, prtd->params->channel);
+
+
+		/* prepare DMA */
+		ret = s3c2410_dma_request(prtd->params->channel,
+					  prtd->params->client, NULL);
+
+		if (ret) {
+			printk(KERN_ERR "failed to get dma channel\n");
+			return ret;
+		}
+	} else if (prtd->params != dma) {
+		s3c2410_dma_free(prtd->params->channel, prtd->params->client);
+		prtd->params = dma;
+		s3cdbg("params %p, client %p, channel %d\n", prtd->params,
+			prtd->params->client, prtd->params->channel);
+
+
+		/* prepare DMA */
+		ret = s3c2410_dma_request(prtd->params->channel,
+					  prtd->params->client, NULL);
+
+		if (ret) {
+			printk(KERN_ERR "failed to get dma channel\n");
+			return ret;
+		}
+	}
+
+	/* channel needs configuring for mem=>device, increment memory addr,
+	 * sync to pclk, half-word transfers to the IIS-FIFO. */
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)  && !defined(CONFIG_CPU_S5PC100) && !defined (CONFIG_CPU_S5P6440)
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+		s3c2410_dma_devconfig(prtd->params->channel,
+				S3C2410_DMASRC_MEM, S3C2410_DISRCC_INC |
+				S3C2410_DISRCC_APB, prtd->params->dma_addr);
+
+		s3c2410_dma_config(prtd->params->channel,
+				prtd->params->dma_size,
+				S3C2410_DCON_SYNC_PCLK | 
+				S3C2410_DCON_HANDSHAKE);
+	} else {
+		s3c2410_dma_config(prtd->params->channel,
+				prtd->params->dma_size,
+				S3C2410_DCON_HANDSHAKE | 
+				S3C2410_DCON_SYNC_PCLK);
+
+		s3c2410_dma_devconfig(prtd->params->channel,
+					S3C2410_DMASRC_HW, 0x3,
+					prtd->params->dma_addr);
+	}
+
+#else
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+		s3c2410_dma_devconfig(prtd->params->channel,
+				S3C2410_DMASRC_MEM, 0,
+				prtd->params->dma_addr);
+
+		s3c2410_dma_config(prtd->params->channel,
+				prtd->params->dma_size, 0);
+	} else {
+		s3c2410_dma_devconfig(prtd->params->channel,
+				S3C2410_DMASRC_HW, 0,
+				prtd->params->dma_addr);		
+
+		s3c2410_dma_config(prtd->params->channel,
+				prtd->params->dma_size, 0);
+	}
+#endif
+
+	s3c2410_dma_set_buffdone_fn(prtd->params->channel,
+				    s3c24xx_audio_buffdone);
+
+	snd_pcm_set_runtime_buffer(substream, &substream->dma_buffer);
+
+	runtime->dma_bytes = totbytes;
+
+	spin_lock_irq(&prtd->lock);
+	prtd->dma_loaded = 0;
+	prtd->dma_limit = runtime->hw.periods_min;
+	prtd->dma_period = params_period_bytes(params);
+	prtd->dma_start = runtime->dma_addr;
+	prtd->dma_pos = prtd->dma_start;
+	prtd->dma_end = prtd->dma_start + totbytes;
+	spin_unlock_irq(&prtd->lock);
+
+	s3cdbg("Entered %s, line %d \n", __FUNCTION__, __LINE__);
+	return 0;
+}
+
+static int s3c24xx_pcm_hw_free(struct snd_pcm_substream *substream)
+{
+	struct s3c24xx_runtime_data *prtd = substream->runtime->private_data;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	/* TODO - do we need to ensure DMA flushed */
+	snd_pcm_set_runtime_buffer(substream, NULL);
+
+	if (prtd->params) {
+		s3c2410_dma_free(prtd->params->channel, prtd->params->client);
+		prtd->params = NULL;
+	}
+
+	return 0;
+}
+
+static int s3c24xx_pcm_prepare(struct snd_pcm_substream *substream)
+{
+	struct s3c24xx_runtime_data *prtd = substream->runtime->private_data;
+	int ret = 0;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410) 
+	/* return if this is a bufferless transfer e.g.
+	 * codec <--> BT codec or GSM modem -- lg FIXME */
+	if (!prtd->params)
+	 	return 0;
+#endif
+
+	/* flush the DMA channel */
+	s3c2410_dma_ctrl(prtd->params->channel, S3C2410_DMAOP_FLUSH);
+
+	prtd->dma_loaded = 0;
+
+	prtd->dma_pos = prtd->dma_start;
+
+	/* enqueue dma buffers */
+	s3c24xx_pcm_enqueue(substream);
+
+	return ret;
+}
+
+static int s3c24xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
+{
+	struct s3c24xx_runtime_data *prtd = substream->runtime->private_data;
+	int ret = 0;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	spin_lock(&prtd->lock);
+
+	switch (cmd) {
+	case SNDRV_PCM_TRIGGER_START:
+	case SNDRV_PCM_TRIGGER_RESUME:
+	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
+		prtd->state |= ST_RUNNING;
+		s3c2410_dma_ctrl(prtd->params->channel, S3C2410_DMAOP_START);
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410) && !defined (CONFIG_CPU_S5P6440)
+		s3c2410_dma_ctrl(prtd->params->channel, S3C2410_DMAOP_STARTED);
+#endif		
+		break;
+
+	case SNDRV_PCM_TRIGGER_STOP:
+	case SNDRV_PCM_TRIGGER_SUSPEND:
+	case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
+		prtd->state &= ~ST_RUNNING;
+		s3c2410_dma_ctrl(prtd->params->channel, S3C2410_DMAOP_STOP);
+		break;
+
+	default:
+		ret = -EINVAL;
+		break;
+	}
+
+	spin_unlock(&prtd->lock);
+
+	return ret;
+}
+
+static snd_pcm_uframes_t 
+	s3c24xx_pcm_pointer(struct snd_pcm_substream *substream)
+{
+	struct snd_pcm_runtime *runtime = substream->runtime;
+	struct s3c24xx_runtime_data *prtd = runtime->private_data;
+	unsigned long res;
+	dma_addr_t src, dst;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	spin_lock(&prtd->lock);
+
+	s3c2410_dma_getposition(prtd->params->channel, &src, &dst);
+
+	if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+		res = dst - prtd->dma_start;
+	else
+		res = src - prtd->dma_start;
+
+	spin_unlock(&prtd->lock);
+
+	s3cdbg("Pointer %x %x\n",src,dst);
+
+	/* we seem to be getting the odd error from the pcm library due
+	 * to out-of-bounds pointers. this is maybe due to the dma engine
+	 * not having loaded the new values for the channel before being
+	 * callled... (todo - fix )
+	 */
+
+	if (res >= snd_pcm_lib_buffer_bytes(substream)) {
+		if (res == snd_pcm_lib_buffer_bytes(substream))
+			res = 0;
+	}
+
+	return bytes_to_frames(substream->runtime, res);
+}
+
+static int s3c24xx_pcm_open(struct snd_pcm_substream *substream)
+{
+	struct snd_pcm_runtime *runtime = substream->runtime;
+	struct s3c24xx_runtime_data *prtd;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	snd_soc_set_runtime_hwparams(substream, &s3c24xx_pcm_hardware);
+
+	prtd = kzalloc(sizeof(struct s3c24xx_runtime_data), GFP_KERNEL);
+	if (prtd == NULL)
+		return -ENOMEM;
+
+	spin_lock_init(&prtd->lock);
+
+	runtime->private_data = prtd;
+	return 0;
+}
+
+static int s3c24xx_pcm_close(struct snd_pcm_substream *substream)
+{
+	struct snd_pcm_runtime *runtime = substream->runtime;
+	struct s3c24xx_runtime_data *prtd = runtime->private_data;
+
+	s3cdbg("Entered %s, prtd = %p\n", __FUNCTION__, prtd);
+
+	if (prtd)
+		kfree(prtd);
+	else
+		printk("s3c24xx_pcm_close called with prtd == NULL\n");
+
+	return 0;
+}
+
+static int s3c24xx_pcm_mmap(struct snd_pcm_substream *substream,
+	struct vm_area_struct *vma)
+{
+	struct snd_pcm_runtime *runtime = substream->runtime;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	return dma_mmap_writecombine(substream->pcm->card->dev, vma,
+                                     runtime->dma_area,
+                                     runtime->dma_addr,
+                                     runtime->dma_bytes);
+}
+
+static struct snd_pcm_ops s3c24xx_pcm_ops = {
+	.open		= s3c24xx_pcm_open,
+	.close		= s3c24xx_pcm_close,
+	.ioctl		= snd_pcm_lib_ioctl,
+	.hw_params	= s3c24xx_pcm_hw_params,
+	.hw_free	= s3c24xx_pcm_hw_free,
+	.prepare	= s3c24xx_pcm_prepare,
+	.trigger	= s3c24xx_pcm_trigger,
+	.pointer	= s3c24xx_pcm_pointer,
+	.mmap		= s3c24xx_pcm_mmap,
+};
+
+static int s3c24xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream)
+{
+	struct snd_pcm_substream *substream = pcm->streams[stream].substream;
+	struct snd_dma_buffer *buf = &substream->dma_buffer;
+	size_t size = s3c24xx_pcm_hardware.buffer_bytes_max;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	buf->dev.type = SNDRV_DMA_TYPE_DEV;
+	buf->dev.dev = pcm->card->dev;
+	buf->private_data = NULL;
+	buf->area = dma_alloc_writecombine(pcm->card->dev, size,
+					   &buf->addr, GFP_KERNEL);
+	if (!buf->area)
+		return -ENOMEM;
+	buf->bytes = size;
+	return 0;
+}
+
+static void s3c24xx_pcm_free_dma_buffers(struct snd_pcm *pcm)
+{
+	struct snd_pcm_substream *substream;
+	struct snd_dma_buffer *buf;
+	int stream;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	for (stream = 0; stream < 2; stream++) {
+		substream = pcm->streams[stream].substream;
+		if (!substream)
+			continue;
+
+		buf = &substream->dma_buffer;
+		if (!buf->area)
+			continue;
+
+		dma_free_writecombine(pcm->card->dev, buf->bytes,
+				      buf->area, buf->addr);
+		buf->area = NULL;
+	}
+}
+
+static u64 s3c24xx_pcm_dmamask = DMA_32BIT_MASK;
+
+static int s3c24xx_pcm_new(struct snd_card *card, 
+	struct snd_soc_dai *dai, struct snd_pcm *pcm)
+{
+	int ret = 0;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	if (!card->dev->dma_mask)
+		card->dev->dma_mask = &s3c24xx_pcm_dmamask;
+	if (!card->dev->coherent_dma_mask)
+		card->dev->coherent_dma_mask = 0xffffffff;
+
+	if (dai->playback.channels_min) {
+		ret = s3c24xx_pcm_preallocate_dma_buffer(pcm,
+			SNDRV_PCM_STREAM_PLAYBACK);
+		if (ret)
+			goto out;
+	}
+
+	if (dai->capture.channels_min) {
+		ret = s3c24xx_pcm_preallocate_dma_buffer(pcm,
+			SNDRV_PCM_STREAM_CAPTURE);
+		if (ret)
+			goto out;
+	}
+ out:
+	return ret;
+}
+
+struct snd_soc_platform s3c24xx_soc_platform = {
+	.name		= "s3c24xx-audio",
+	.pcm_ops 	= &s3c24xx_pcm_ops,
+	.pcm_new	= s3c24xx_pcm_new,
+	.pcm_free	= s3c24xx_pcm_free_dma_buffers,
+};
+
+EXPORT_SYMBOL_GPL(s3c24xx_soc_platform);
+
+MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>");
+MODULE_DESCRIPTION("Samsung S3C24XX PCM DMA module");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/s3c-pcm.h linux-2.6.28.6/sound/soc/s3c64xx/s3c-pcm.h
--- linux-2.6.28/sound/soc/s3c64xx/s3c-pcm.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/s3c-pcm.h	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,40 @@
+/*
+ *  s3c24xx-pcm.h --
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  ALSA PCM interface for the Samsung S3C24xx CPU
+ */
+
+#ifndef _S3C24XX_PCM_H
+#define _S3C24XX_PCM_H
+
+#define ST_RUNNING		(1<<0)
+#define ST_OPENED		(1<<1)
+
+struct s3c24xx_pcm_dma_params {
+	struct s3c2410_dma_client *client;	/* stream identifier */
+	int channel;				/* Channel ID */
+	dma_addr_t dma_addr;
+	int dma_size;			/* Size of the DMA transfer */
+};
+
+#define S3C24XX_DAI_I2S			0
+
+#if defined (CONFIG_CPU_S3C6400) || defined (CONFIG_CPU_S3C6410) 
+#define S3CPCM_DCON 	0
+#define S3CPCM_HWCFG	0
+#else
+//#include <asm/arch/dma.h>
+#define S3CPCM_DCON 	S3C2410_DCON_SYNC_PCLK|S3C2410_DCON_HANDSHAKE
+#define S3CPCM_HWCFG 	S3C2410_DISRCC_INC|S3C2410_DISRCC_APB	
+#endif
+
+/* platform data */
+extern struct snd_soc_platform s3c24xx_soc_platform;
+extern struct snd_ac97_bus_ops s3c24xx_ac97_ops;
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/s3c6410-i2s.c linux-2.6.28.6/sound/soc/s3c64xx/s3c6410-i2s.c
--- linux-2.6.28/sound/soc/s3c64xx/s3c6410-i2s.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/s3c6410-i2s.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,699 @@
+/*
+ * s3c6410-i2s.c  --  ALSA Soc Audio Layer
+ *
+ * (c) 2009 Samsung Electronics   - Jaswinder Singh Brar <jassi.brar@samsung.com>
+ *  Derived from Ben Dooks' driver for s3c24xx
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ */
+
+#include <linux/delay.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+#include <linux/interrupt.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+
+#include <asm/dma.h>
+#include <mach/map.h>
+
+#include "s3c-pcm.h"
+#include "s3c6410-i2s.h"
+
+static struct s3c2410_dma_client s3c6410_dma_client_out = {
+	.name = "I2S PCM Stereo out"
+};
+
+static struct s3c2410_dma_client s3c6410_dma_client_in = {
+	.name = "I2S PCM Stereo in"
+};
+
+static struct s3c24xx_pcm_dma_params s3c6410_i2s_pcm_stereo_out = {
+	.client		= &s3c6410_dma_client_out,
+#ifdef CONFIG_SND_S3C6410_SOC_I2S_V32
+	.channel	= DMACH_I2S_OUT,
+	.dma_addr	= S3C64XX_PA_IIS + S3C64XX_IISTXD,
+#else
+	.channel	= DMACH_I2S_V40_OUT,
+	.dma_addr	= S3C64XX_PA_IIS_V40 + S3C64XX_IISTXD,
+#endif
+	.dma_size	= 4,
+};
+
+static struct s3c24xx_pcm_dma_params s3c6410_i2s_pcm_stereo_in = {
+	.client		= &s3c6410_dma_client_in,
+#ifdef CONFIG_SND_S3C6410_SOC_I2S_V32
+	.channel	= DMACH_I2S_IN,
+	.dma_addr	= S3C64XX_PA_IIS + S3C64XX_IISRXD,
+#else
+	.channel	= DMACH_I2S_V40_IN,
+	.dma_addr	= S3C64XX_PA_IIS_V40 + S3C64XX_IISRXD,
+#endif
+	.dma_size	= 4,
+};
+
+struct s3c6410_i2s_info {
+	void __iomem	*regs;
+	struct clk	*iis_clk;
+	struct clk	*audio_bus;
+	u32		iiscon;
+	u32		iismod;
+	u32		iisfic;
+	u32		iispsr;
+	u32		slave;
+	u32		clk_rate;
+};
+static struct s3c6410_i2s_info s3c6410_i2s;
+
+static void s3c6410_snd_txctrl(int on)
+{
+	u32 iiscon;
+
+	iiscon  = readl(s3c6410_i2s.regs + S3C64XX_IISCON);
+
+	if(on){
+		iiscon |= S3C64XX_IISCON_I2SACTIVE;
+		iiscon  &= ~S3C64XX_IISCON_TXCHPAUSE;
+		iiscon  &= ~S3C64XX_IISCON_TXDMAPAUSE;
+		iiscon  |= S3C64XX_IISCON_TXDMACTIVE;
+		writel(iiscon,  s3c6410_i2s.regs + S3C64XX_IISCON);
+	}else{
+		iiscon &= ~S3C64XX_IISCON_I2SACTIVE;
+		iiscon  |= S3C64XX_IISCON_TXCHPAUSE;
+		iiscon  |= S3C64XX_IISCON_TXDMAPAUSE;
+		iiscon  &= ~S3C64XX_IISCON_TXDMACTIVE;
+		writel(iiscon,  s3c6410_i2s.regs + S3C64XX_IISCON);
+	}
+}
+
+static void s3c6410_snd_rxctrl(int on)
+{
+	u32 iiscon;
+
+	iiscon  = readl(s3c6410_i2s.regs + S3C64XX_IISCON);
+
+	if(on){
+		iiscon |= S3C64XX_IISCON_I2SACTIVE;
+		iiscon  &= ~S3C64XX_IISCON_RXCHPAUSE;
+		iiscon  &= ~S3C64XX_IISCON_RXDMAPAUSE;
+		iiscon  |= S3C64XX_IISCON_RXDMACTIVE;
+		writel(iiscon,  s3c6410_i2s.regs + S3C64XX_IISCON);
+	}else{
+		iiscon &= ~S3C64XX_IISCON_I2SACTIVE;
+		iiscon  |= S3C64XX_IISCON_RXCHPAUSE;
+		iiscon  |= S3C64XX_IISCON_RXDMAPAUSE;
+		iiscon  &= ~S3C64XX_IISCON_RXDMACTIVE;
+		writel(iiscon,  s3c6410_i2s.regs + S3C64XX_IISCON);
+	}
+
+}
+
+/*
+ * Wait for the LR signal to allow synchronisation to the L/R clock
+ * from the codec. May only be needed for slave mode.
+ */
+static int s3c6410_snd_lrsync(void)
+{
+	u32 iiscon;
+	int timeout = 50; /* 5ms */
+
+	while (1) {
+		iiscon = readl(s3c6410_i2s.regs + S3C64XX_IISCON);
+		if (iiscon & S3C64XX_IISCON_LRI)
+			break;
+
+		if (!timeout--)
+			return -ETIMEDOUT;
+		udelay(100);
+	}
+
+	return 0;
+}
+
+/*
+ * Set s3c64xx I2S DAI format
+ */
+static int s3c6410_i2s_set_fmt(struct snd_soc_dai *cpu_dai,
+		unsigned int fmt)
+{
+	u32 iismod;
+
+	iismod = readl(s3c6410_i2s.regs + S3C64XX_IISMOD);
+	iismod &= ~S3C64XX_IISMOD_SDFMASK;
+
+	switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
+	case SND_SOC_DAIFMT_CBM_CFM:
+		s3c6410_i2s.slave = 1;
+		break;
+	case SND_SOC_DAIFMT_CBS_CFS:
+		s3c6410_i2s.slave = 0;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
+	case SND_SOC_DAIFMT_I2S:
+		iismod &= ~S3C64XX_IISMOD_MSB;
+		break;
+	case SND_SOC_DAIFMT_LEFT_J:
+		iismod |= S3C64XX_IISMOD_MSB;
+		break;
+	case SND_SOC_DAIFMT_RIGHT_J:
+		iismod |= S3C64XX_IISMOD_LSB;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	switch (fmt & SND_SOC_DAIFMT_INV_MASK) {
+	case SND_SOC_DAIFMT_NB_NF:
+		iismod &= ~S3C64XX_IISMOD_LRP;
+		break;
+	case SND_SOC_DAIFMT_NB_IF:
+		iismod |= S3C64XX_IISMOD_LRP;
+		break;
+	case SND_SOC_DAIFMT_IB_IF:
+	case SND_SOC_DAIFMT_IB_NF:
+	default:
+		printk("Inv-combo(%d) not supported!\n", fmt & SND_SOC_DAIFMT_FORMAT_MASK);
+		return -EINVAL;
+	}
+
+	writel(iismod, s3c6410_i2s.regs + S3C64XX_IISMOD);
+	return 0;
+}
+
+static int s3c6410_i2s_hw_params(struct snd_pcm_substream *substream,
+				struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	u32 iismod;
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
+		rtd->dai->cpu_dai->dma_data = &s3c6410_i2s_pcm_stereo_out;
+	else
+		rtd->dai->cpu_dai->dma_data = &s3c6410_i2s_pcm_stereo_in;
+
+	/* Working copies of register */
+	iismod = readl(s3c6410_i2s.regs + S3C64XX_IISMOD);
+	iismod &= ~S3C64XX_IISMOD_BLCMASK;
+
+	/* TODO */
+	switch(params_channels(params)) {
+	case 1:
+		break;
+	case 2:
+		break;
+	case 4:
+		break;
+	case 6:
+		break;
+	default:
+		break;
+	}
+
+	/* RFS & BFS are set by dai_link(machine specific) code via set_clkdiv */
+	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S8:
+		iismod |= S3C64XX_IISMOD_8BIT;
+ 		break;
+ 	case SNDRV_PCM_FORMAT_S16_LE:
+ 		iismod |= S3C64XX_IISMOD_16BIT;
+ 		break;
+ 	case SNDRV_PCM_FORMAT_S24_LE:
+ 		iismod |= S3C64XX_IISMOD_24BIT;
+ 		break;
+	default:
+		return -EINVAL;
+ 	}
+ 
+	writel(iismod, s3c6410_i2s.regs + S3C64XX_IISMOD);
+
+	return 0;
+}
+
+static int s3c6410_i2s_startup(struct snd_pcm_substream *substream)
+{
+	u32 iiscon, iisfic;
+
+	iiscon = readl(s3c6410_i2s.regs + S3C64XX_IISCON);
+
+	/* FIFOs must be flushed before enabling PSR and other MOD bits, so we do it here. */
+	if(!(iiscon & S3C64XX_IISCON_I2SACTIVE)){
+		iisfic = readl(s3c6410_i2s.regs + S3C64XX_IISFIC);
+		iisfic |= S3C64XX_IISFIC_TFLUSH | S3C64XX_IISFIC_RFLUSH;
+		writel(iisfic, s3c6410_i2s.regs + S3C64XX_IISFIC);
+	}
+
+	do{
+	   iiscon = readl(s3c6410_i2s.regs + S3C64XX_IISCON);
+	}while((iiscon & 0x780) != (S3C64XX_IISCON_FRXEMPT | S3C64XX_IISCON_FTX0EMPT));
+	iisfic = readl(s3c6410_i2s.regs + S3C64XX_IISFIC);
+	iisfic &= ~(S3C64XX_IISFIC_TFLUSH | S3C64XX_IISFIC_RFLUSH);
+	writel(iisfic, s3c6410_i2s.regs + S3C64XX_IISFIC);
+
+	return 0;
+}
+
+static int s3c6410_i2s_prepare(struct snd_pcm_substream *substream)
+{
+	u32 iismod;
+	
+	iismod = readl(s3c6410_i2s.regs + S3C64XX_IISMOD);
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK){
+		if((iismod & S3C64XX_IISMOD_TXRMASK) == S3C64XX_IISMOD_RX){
+			iismod &= ~S3C64XX_IISMOD_TXRMASK;
+			iismod |= S3C64XX_IISMOD_TXRX;
+		}
+	}else{
+		if((iismod & S3C64XX_IISMOD_TXRMASK) == S3C64XX_IISMOD_TX){
+			iismod &= ~S3C64XX_IISMOD_TXRMASK;
+			iismod |= S3C64XX_IISMOD_TXRX;
+		}
+	}
+
+	writel(iismod, s3c6410_i2s.regs + S3C64XX_IISMOD);
+
+	return 0;
+}
+
+static int s3c6410_i2s_trigger(struct snd_pcm_substream *substream, int cmd)
+{
+	int ret = 0;
+
+	switch (cmd) {
+	case SNDRV_PCM_TRIGGER_START:
+	case SNDRV_PCM_TRIGGER_RESUME:
+	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
+		if (s3c6410_i2s.slave) {
+			ret = s3c6410_snd_lrsync();
+			if (ret)
+				goto exit_err;
+		}
+
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			s3c6410_snd_rxctrl(1);
+		else
+			s3c6410_snd_txctrl(1);
+		break;
+	case SNDRV_PCM_TRIGGER_STOP:
+	case SNDRV_PCM_TRIGGER_SUSPEND:
+	case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			s3c6410_snd_rxctrl(0);
+		else
+			s3c6410_snd_txctrl(0);
+		break;
+	default:
+		ret = -EINVAL;
+		break;
+	}
+
+exit_err:
+	return ret;
+}
+
+/*
+ * Set s3c64xx Clock source
+ * Since, we set frequencies using PreScaler and BFS, RFS, we select input clock source to the IIS here.
+ */
+static int s3c6410_i2s_set_sysclk(struct snd_soc_dai *cpu_dai,
+	int clk_id, unsigned int freq, int dir)
+{
+	struct clk *clk;
+	u32 iismod = readl(s3c6410_i2s.regs + S3C64XX_IISMOD);
+
+	switch (clk_id) {
+	case S3C6410_CLKSRC_PCLK:
+		if(s3c6410_i2s.slave)
+			return -EINVAL;
+		iismod &= ~S3C64XX_IISMOD_IMSMASK;
+		iismod |= clk_id;
+		s3c6410_i2s.clk_rate = clk_get_rate(s3c6410_i2s.iis_clk);
+		break;
+
+#ifdef USE_CLKAUDIO
+	case S3C6410_CLKSRC_CLKAUDIO:
+		if(s3c6410_i2s.slave)
+			return -EINVAL;
+		iismod &= ~S3C64XX_IISMOD_IMSMASK;
+		iismod |= clk_id;
+/*
+8000 x 256 = 2048000
+         49152000 mod 2048000 = 0
+         32768000 mod 2048000 = 0 
+         73728000 mod 2048000 = 0
+
+11025 x 256 = 2822400
+         67738000 mod 2822400 = 400
+
+16000 x 256 = 4096000
+         49152000 mod 4096000 = 0
+         32768000 mod 4096000 = 0 
+         73728000 mod 4096000 = 0
+
+22050 x 256 = 5644800
+         67738000 mod 5644800 = 400
+
+32000 x 256 = 8192000
+         49152000 mod 8192000 = 0
+         32768000 mod 8192000 = 0
+         73728000 mod 8192000 = 0
+
+44100 x 256 = 11289600
+         67738000 mod 11289600 = 400
+
+48000 x 256 = 12288000
+         49152000 mod 12288000 = 0
+         73728000 mod 12288000 = 0
+
+64000 x 256 = 16384000
+         49152000 mod 16384000 = 0
+         32768000 mod 16384000 = 0
+
+88200 x 256 = 22579200
+         67738000 mod 22579200 = 400
+
+96000 x 256 = 24576000
+         49152000 mod 24576000 = 0
+         73728000 mod 24576000 = 0
+
+	From the table above, we find that 49152000 gives least(0) residue 
+	for most sample rates, followed by 67738000.
+*/
+		clk = clk_get(NULL, "fout_epll");
+		if (IS_ERR(clk)) {
+			printk("failed to get FOUTepll\n");
+			return -EBUSY;
+		}
+		clk_disable(clk);
+		switch (freq) {
+		case 8000:
+		case 16000:
+		case 32000:
+		case 48000:
+		case 64000:
+		case 96000:
+			clk_set_rate(clk, 49152000);
+			break;
+		case 11025:
+		case 22050:
+		case 44100:
+		case 88200:
+		default:
+			clk_set_rate(clk, 67738000);
+			break;
+		}
+		clk_enable(clk);
+		s3c6410_i2s.clk_rate = clk_get_rate(s3c6410_i2s.audio_bus);
+		//printk("Setting FOUTepll to %dHz", s3c6410_i2s.clk_rate);
+		clk_put(clk);
+		break;
+#endif
+
+	case S3C6410_CLKSRC_SLVPCLK:
+	case S3C6410_CLKSRC_I2SEXT:
+		if(!s3c6410_i2s.slave)
+			return -EINVAL;
+		iismod &= ~S3C64XX_IISMOD_IMSMASK;
+		iismod |= clk_id;
+		break;
+
+	/* Not sure about these two! */
+	case S3C6410_CDCLKSRC_INT:
+		iismod &= ~S3C64XX_IISMOD_CDCLKCON;
+		break;
+
+	case S3C6410_CDCLKSRC_EXT:
+		iismod |= S3C64XX_IISMOD_CDCLKCON;
+		break;
+
+	default:
+		return -EINVAL;
+	}
+
+	writel(iismod, s3c6410_i2s.regs + S3C64XX_IISMOD);
+	return 0;
+}
+
+/*
+ * Set s3c64xx Clock dividers
+ * NOTE: NOT all combinations of RFS, BFS and BCL are supported! XXX
+ * Machine specific(dai-link) code must consider that while setting MCLK and BCLK in this function. XXX
+ */
+/* XXX BLC(bits-per-channel) --> BFS(bit clock shud be >= FS*(Bit-per-channel)*2) XXX */
+/* XXX BFS --> RFS_VAL(must be a multiple of BFS)                                 XXX */
+/* XXX RFS_VAL & SRC_CLK --> Prescalar Value(SRC_CLK / RFS_VAL / fs - 1)          XXX */
+static int s3c6410_i2s_set_clkdiv(struct snd_soc_dai *cpu_dai,
+	int div_id, int div)
+{
+	u32 reg;
+
+	switch (div_id) {
+	case S3C64XX_DIV_MCLK:
+		reg = readl(s3c6410_i2s.regs + S3C64XX_IISMOD) & ~S3C64XX_IISMOD_RFSMASK;
+		switch(div) {
+		case 256: div = S3C64XX_IISMOD_256FS; break;
+		case 512: div = S3C64XX_IISMOD_512FS; break;
+		case 384: div = S3C64XX_IISMOD_384FS; break;
+		case 768: div = S3C64XX_IISMOD_768FS; break;
+		default: return -EINVAL;
+		}
+		writel(reg | div, s3c6410_i2s.regs + S3C64XX_IISMOD);
+		break;
+	case S3C64XX_DIV_BCLK:
+		reg = readl(s3c6410_i2s.regs + S3C64XX_IISMOD) & ~S3C64XX_IISMOD_BFSMASK;
+		switch(div) {
+		case 16: div = S3C64XX_IISMOD_16FS; break;
+		case 24: div = S3C64XX_IISMOD_24FS; break;
+		case 32: div = S3C64XX_IISMOD_32FS; break;
+		case 48: div = S3C64XX_IISMOD_48FS; break;
+		default: return -EINVAL;
+		}
+		writel(reg | div, s3c6410_i2s.regs + S3C64XX_IISMOD);
+		break;
+	case S3C64XX_DIV_PRESCALER:
+		reg = readl(s3c6410_i2s.regs + S3C64XX_IISPSR) & ~S3C64XX_IISPSR_PSRAEN;
+		writel(reg, s3c6410_i2s.regs + S3C64XX_IISPSR);
+		reg = readl(s3c6410_i2s.regs + S3C64XX_IISPSR) & ~S3C64XX_IISPSR_PSVALA;
+		div &= 0x3f;
+		writel(reg | (div<<8) | S3C64XX_IISPSR_PSRAEN, s3c6410_i2s.regs + S3C64XX_IISPSR);
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+/*
+ * To avoid duplicating clock code, allow machine driver to
+ * get the clockrate from here.
+ */
+u32 s3c6410_i2s_get_clockrate(void)
+{
+	return s3c6410_i2s.clk_rate;
+}
+EXPORT_SYMBOL_GPL(s3c6410_i2s_get_clockrate);
+
+static irqreturn_t s3c_iis_irq(int irqno, void *dev_id)
+{
+	u32 iiscon;
+
+	iiscon  = readl(s3c6410_i2s.regs + S3C64XX_IISCON);
+	if(S3C64XX_IISCON_FTXURSTATUS & iiscon) {
+		iiscon &= ~S3C64XX_IISCON_FTXURINTEN;
+		iiscon |= S3C64XX_IISCON_FTXURSTATUS;
+		writel(iiscon, s3c6410_i2s.regs + S3C64XX_IISCON);
+		printk("underrun interrupt IISCON = 0x%08x\n", readl(s3c6410_i2s.regs + S3C64XX_IISCON));
+	}
+
+	return IRQ_HANDLED;
+}
+
+static int s3c6410_i2s_probe(struct platform_device *pdev,
+			     struct snd_soc_dai *dai)
+{
+	int ret = 0;
+	struct clk *cm, *cf;
+
+#ifdef CONFIG_SND_S3C6410_SOC_I2S_V32
+	s3c6410_i2s.regs = ioremap(S3C64XX_PA_IIS, 0x100);
+#else
+	s3c6410_i2s.regs = ioremap(S3C64XX_PA_IIS_V40, 0x100);
+#endif
+	if (s3c6410_i2s.regs == NULL)
+		return -ENXIO;
+
+#ifdef CONFIG_SND_S3C6410_SOC_I2S_V32
+	ret = request_irq(IRQ_S3C6410_IIS, s3c_iis_irq, 0, "s3c-i2s-v32", pdev);
+#else
+	ret = request_irq(IRQ_S3C6410_IIS, s3c_iis_irq, 0, "s3c-i2s-v40", pdev);
+#endif
+	if (ret < 0) {
+		printk("fail to claim i2s irq , ret = %d\n", ret);
+		iounmap(s3c6410_i2s.regs);
+		return -ENODEV;
+	}
+
+#ifdef CONFIG_SND_S3C6410_SOC_I2S_V32
+	s3c6410_i2s.iis_clk = clk_get(&pdev->dev, "iis");
+#else
+	s3c6410_i2s.iis_clk = clk_get(&pdev->dev, "iis_v40");
+#endif
+	if (IS_ERR(s3c6410_i2s.iis_clk)) {
+		printk("failed to get iis_clock\n");
+		goto lb5;
+	}
+	clk_enable(s3c6410_i2s.iis_clk);
+	s3c6410_i2s.clk_rate = clk_get_rate(s3c6410_i2s.iis_clk);
+
+#ifdef USE_CLKAUDIO
+#ifdef CONFIG_SND_S3C6410_SOC_I2S_V32
+	s3c6410_i2s.audio_bus = clk_get(NULL, "audio-bus0");
+#else
+	s3c6410_i2s.audio_bus = clk_get(NULL, "audio-bus2");
+#endif
+	if (IS_ERR(s3c6410_i2s.audio_bus)) {
+		printk("failed to get audio_bus\n");
+		goto lb4;
+	}
+
+	cm = clk_get(NULL, "mout_epll");
+	if (IS_ERR(cm)) {
+		printk("failed to get MOUTepll\n");
+		goto lb3;
+	}
+	if(clk_set_parent(s3c6410_i2s.audio_bus, cm)){
+		printk("failed to set MOUTepll as parent of CLKAUDIO0\n");
+		goto lb2;
+	}
+
+	cf = clk_get(NULL, "fout_epll");
+	if (IS_ERR(cf)) {
+		printk("failed to get FOUTepll\n");
+		goto lb2;
+	}
+	clk_enable(cf);
+	if(clk_set_parent(cm, cf)){
+		printk("failed to set FOUTepll as parent of MOUTepll\n");
+		goto lb1;
+	}
+	s3c6410_i2s.clk_rate = clk_get_rate(s3c6410_i2s.audio_bus);
+	clk_put(cf);
+	clk_put(cm);
+#endif
+
+	writel(S3C64XX_IISCON_I2SACTIVE, s3c6410_i2s.regs + S3C64XX_IISCON);
+
+	s3c6410_snd_txctrl(0);
+	s3c6410_snd_rxctrl(0);
+
+	return 0;
+
+#ifdef USE_CLKAUDIO
+lb1:
+	clk_put(cf);
+lb2:
+	clk_put(cm);
+lb3:
+	clk_put(s3c6410_i2s.audio_bus);
+lb4:
+	clk_disable(s3c6410_i2s.iis_clk);
+	clk_put(s3c6410_i2s.iis_clk);
+#endif
+lb5:
+	free_irq(IRQ_S3C6410_IIS, pdev);
+	iounmap(s3c6410_i2s.regs);
+	
+	return -ENODEV;
+}
+
+#ifdef CONFIG_PM
+static int s3c6410_i2s_suspend(struct platform_device *pdev,
+		struct snd_soc_dai *cpu_dai)
+{
+	s3c6410_i2s.iiscon = readl(s3c6410_i2s.regs + S3C64XX_IISCON);
+	s3c6410_i2s.iismod = readl(s3c6410_i2s.regs + S3C64XX_IISMOD);
+	s3c6410_i2s.iisfic = readl(s3c6410_i2s.regs + S3C64XX_IISFIC);
+	s3c6410_i2s.iispsr = readl(s3c6410_i2s.regs + S3C64XX_IISPSR);
+
+	clk_disable(s3c6410_i2s.iis_clk);
+
+	return 0;
+}
+
+static int s3c6410_i2s_resume(struct platform_device *pdev,
+		struct snd_soc_dai *cpu_dai)
+{
+	clk_enable(s3c6410_i2s.iis_clk);
+
+	writel(s3c6410_i2s.iiscon, s3c6410_i2s.regs + S3C64XX_IISCON);
+	writel(s3c6410_i2s.iismod, s3c6410_i2s.regs + S3C64XX_IISMOD);
+	writel(s3c6410_i2s.iisfic, s3c6410_i2s.regs + S3C64XX_IISFIC);
+	writel(s3c6410_i2s.iispsr, s3c6410_i2s.regs + S3C64XX_IISPSR);
+
+	return 0;
+}
+#else
+#define s3c6410_i2s_suspend NULL
+#define s3c6410_i2s_resume NULL
+#endif
+
+
+#ifdef CONFIG_SND_S3C6410_SOC_I2S_V32
+struct snd_soc_dai s3c6410_i2s_v32_dai = {
+#else
+struct snd_soc_dai s3c6410_i2s_v40_dai = {
+#endif
+	.name = "s3c6410-i2s",
+	.id = 0,
+	.type = SND_SOC_DAI_I2S,
+	.probe = s3c6410_i2s_probe,
+	.suspend = s3c6410_i2s_suspend,
+	.resume = s3c6410_i2s_resume,
+	.playback = {
+		.channels_min = 2,
+#ifdef CONFIG_SND_S3C6410_SOC_I2S_V32
+		.channels_max = 2,
+#else
+		.channels_max = 6,
+#endif
+		.rates = SNDRV_PCM_RATE_8000_96000,
+		.formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
+	},
+	.capture = {
+		.channels_min = 2,
+		.channels_max = 2,
+		.rates = SNDRV_PCM_RATE_8000_96000,
+		.formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
+	},
+	.ops = {
+		.hw_params = s3c6410_i2s_hw_params,
+		.prepare = s3c6410_i2s_prepare,
+		.startup = s3c6410_i2s_startup,
+		.trigger = s3c6410_i2s_trigger,
+	},
+	.dai_ops = {
+		.set_fmt = s3c6410_i2s_set_fmt,
+		.set_clkdiv = s3c6410_i2s_set_clkdiv,
+		.set_sysclk = s3c6410_i2s_set_sysclk,
+	},
+};
+#ifdef CONFIG_SND_S3C6410_SOC_I2S_V32
+EXPORT_SYMBOL_GPL(s3c6410_i2s_v32_dai);
+#else
+EXPORT_SYMBOL_GPL(s3c6410_i2s_v40_dai);
+#endif
+
+/* Module information */
+MODULE_AUTHOR("Jaswinder Singh <jassi.brar@samsung.com>");
+MODULE_DESCRIPTION("s3c6410 I2S SoC Interface");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/s3c6410-i2s.h linux-2.6.28.6/sound/soc/s3c64xx/s3c6410-i2s.h
--- linux-2.6.28/sound/soc/s3c64xx/s3c6410-i2s.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/s3c6410-i2s.h	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,43 @@
+/*
+ * s3c64xx-i2s.c  --  ALSA Soc Audio Layer
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ */
+
+#ifndef S3C64XXI2S_H_
+#define S3C64XXI2S_H_
+
+#include <plat/regs-iis.h>
+
+#ifndef CONFIG_SND_S3C6410_SOC_I2S_V32
+#define IIS_V40	1
+#endif
+
+/* clock sources */
+#define S3C6410_CLKSRC_PCLK		S3C64XX_IISMOD_MSTPCLK
+#define S3C6410_CLKSRC_CLKAUDIO		S3C64XX_IISMOD_MSTCLKAUDIO
+#define S3C6410_CLKSRC_SLVPCLK		S3C64XX_IISMOD_SLVPCLK
+#define S3C6410_CLKSRC_I2SEXT		S3C64XX_IISMOD_SLVI2SCLK
+#define S3C6410_CDCLKSRC_INT		(4<<10)
+#define S3C6410_CDCLKSRC_EXT		(5<<10)
+
+/* Clock dividers */
+#define S3C64XX_DIV_MCLK	0
+#define S3C64XX_DIV_BCLK	1
+#define S3C64XX_DIV_PRESCALER	2
+
+#define USE_CLKAUDIO	1
+
+u32 s3c6410_i2s_get_clockrate(void);
+
+#ifdef CONFIG_SND_S3C6410_SOC_I2S_V32
+extern struct snd_soc_dai s3c6410_i2s_v32_dai;
+#else
+extern struct snd_soc_dai s3c6410_i2s_v40_dai;
+#endif
+
+#endif /*S3C64XXI2S_H_*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/s3c64xx-ac97.c linux-2.6.28.6/sound/soc/s3c64xx/s3c64xx-ac97.c
--- linux-2.6.28/sound/soc/s3c64xx/s3c64xx-ac97.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/s3c64xx-ac97.c	2010-04-21 06:38:12.000000000 +0200
@@ -0,0 +1,496 @@
+/*
+ * s3c6400-ac97.c  --  ALSA Soc Audio Layer
+ *
+ *  Copyright (C) 2007, Ryu Euiyoul <ryu.real@gmail.com>
+ *
+ * (c) 2007 Wolfson Microelectronics PLC.
+ * Graeme Gregory graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ *  Copyright (C) 2007, Ryu Euiyoul <ryu.real@gmail.com>
+ *  All rights reserved.
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License version 2 as
+ *  published by the Free Software Foundation.
+ *
+ *  Revision history
+ *	21st Mar 2007   Initial Version
+ *	20th Sep 2007   Apply at s3c6400
+ */
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/platform_device.h>
+#include <linux/interrupt.h>
+#include <linux/wait.h>
+#include <linux/delay.h>
+#include <linux/clk.h>
+
+#include <sound/driver.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/ac97_codec.h>
+#include <sound/initval.h>
+#include <sound/soc.h>
+
+#include <mach/hardware.h>
+#include <asm/io.h>
+#include <plat/regs-ac97.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-h.h>
+#include <plat/gpio-bank-d.h>
+#include <plat/regs-clock.h>
+#include <mach/audio.h>
+#include <mach/dma.h>
+#include <asm/dma.h>
+#include <linux/gpio.h>
+//#include <mach/gpio.h>
+
+//#include "../s3c24xx/s3c-pcm.h"
+#include "s3c-pcm.h"
+#include "s3c64xx-ac97.h"
+
+//#define CONFIG_SND_DEBUG 1
+
+#ifdef CONFIG_SND_DEBUG
+#define s3cdbg(x...) printk(x)
+#else
+#define s3cdbg(x...)
+#endif
+
+extern struct clk *clk_get(struct device *dev, const char *id);
+extern int clk_enable(struct clk *clk);
+extern void clk_disable(struct clk *clk);
+
+struct s3c24xx_ac97_info {
+	void __iomem	*regs;
+	struct clk	*ac97_clk;
+};
+static struct s3c24xx_ac97_info s3c24xx_ac97;
+
+static u32 codec_ready;
+static DEFINE_MUTEX(ac97_mutex);
+static DECLARE_WAIT_QUEUE_HEAD(gsr_wq);
+
+static unsigned short s3c6400_ac97_read(struct snd_ac97 *ac97,
+	unsigned short reg)
+{
+	u32 ac_glbctrl;
+	u32 ac_codec_cmd;
+	u32 stat, addr, data;
+
+	s3cdbg("Entered %s: reg=0x%x\n", __FUNCTION__, reg);
+
+	mutex_lock(&ac97_mutex);
+
+	codec_ready = S3C_AC97_GLBSTAT_CODECREADY;
+	ac_codec_cmd = S3C_AC97_CODEC_CMD_READ | AC_CMD_ADDR(reg);
+	writel(ac_codec_cmd, s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD);
+
+	udelay(1000);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	ac_glbctrl |= S3C_AC97_GLBCTRL_CODECREADYIE;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+
+	stat = readl(s3c24xx_ac97.regs + S3C_AC97_STAT);
+	addr = (stat >> 16) & 0x7f;
+	data = (stat & 0xffff);
+
+	wait_event_timeout(gsr_wq,addr==reg,1);
+	if(addr!=reg){
+		printk(KERN_ERR"AC97: read error (ac97_reg=%x addr=%x)\n", reg, addr);
+		printk(KERN_ERR"Check audio codec jumpper settings\n\n");
+		goto out;
+	}
+
+out:	mutex_unlock(&ac97_mutex);
+	return (unsigned short)data;
+}
+
+static void s3c6400_ac97_write(struct snd_ac97 *ac97, unsigned short reg,
+	unsigned short val)
+{
+	u32 ac_glbctrl;
+	u32 ac_codec_cmd;
+	u32 stat, data;
+
+	s3cdbg("Entered %s: reg=0x%x, val=0x%x\n", __FUNCTION__,reg,val);
+
+	mutex_lock(&ac97_mutex);
+
+	codec_ready = S3C_AC97_GLBSTAT_CODECREADY;
+	ac_codec_cmd = AC_CMD_ADDR(reg) | AC_CMD_DATA(val);
+	writel(ac_codec_cmd, s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD);
+
+	udelay(50);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	ac_glbctrl |= S3C_AC97_GLBCTRL_CODECREADYIE;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+
+	ac_codec_cmd |= S3C_AC97_CODEC_CMD_READ;
+	writel(ac_codec_cmd, s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD);
+
+	stat = readl(s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD);
+	data = (stat & 0xffff);
+
+	wait_event_timeout(gsr_wq,data==val,1);
+	if(data!=val){
+		printk("%s: write error (ac97_val=%x data=%x)\n",
+				__FUNCTION__, val, data);
+	}
+
+	mutex_unlock(&ac97_mutex);
+}
+
+static void s3c6400_ac97_warm_reset(struct snd_ac97 *ac97)
+{
+	u32 ac_glbctrl;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	ac_glbctrl |= S3C_AC97_GLBCTRL_WARMRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl &= ~S3C_AC97_GLBCTRL_WARMRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+	
+	ac_glbctrl = S3C_AC97_GLBCTRL_ACLINKON;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl = S3C_AC97_GLBCTRL_TRANSFERDATAENABLE;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl |= S3C_AC97_GLBCTRL_PCMOUTTM_DMA |
+		S3C_AC97_GLBCTRL_PCMINTM_DMA | S3C_AC97_GLBCTRL_MICINTM_DMA;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	ac_glbctrl |= S3C_AC97_GLBCTRL_ACLINKON;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	udelay(1000);
+}
+
+static void s3c6400_ac97_cold_reset(struct snd_ac97 *ac97)
+{
+	u32 ac_glbctrl;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	ac_glbctrl = S3C_AC97_GLBCTRL_COLDRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl &= ~S3C_AC97_GLBCTRL_COLDRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl = S3C_AC97_GLBCTRL_COLDRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl &= ~S3C_AC97_GLBCTRL_COLDRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+}
+
+static irqreturn_t s3c6400_ac97_irq(int irq, void *dev_id)
+{
+	int status;
+	u32 ac_glbctrl, ac_glbstat;
+
+	ac_glbstat = readl(s3c24xx_ac97.regs + S3C_AC97_GLBSTAT);
+
+	s3cdbg("Entered %s: AC_GLBSTAT = 0x%x\n", __FUNCTION__, ac_glbstat);
+
+	status = ac_glbstat & codec_ready;
+
+
+	if (status) {
+		ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+		ac_glbctrl &= ~S3C_AC97_GLBCTRL_CODECREADYIE;
+		writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+		wake_up(&gsr_wq);
+	}
+	return IRQ_HANDLED;
+}
+
+struct snd_ac97_bus_ops soc_ac97_ops = {
+	.read	= s3c6400_ac97_read,
+	.write	= s3c6400_ac97_write,
+	.warm_reset	= s3c6400_ac97_warm_reset,
+	.reset	= s3c6400_ac97_cold_reset,
+};
+
+static struct s3c2410_dma_client s3c6400_dma_client_out = {
+	.name = "AC97 PCM Stereo out"
+};
+
+static struct s3c24xx_pcm_dma_params s3c6400_ac97_pcm_stereo_out = {
+	.client		= &s3c6400_dma_client_out,
+	.channel	= DMACH_AC97_PCM_OUT,
+	.dma_addr	= S3C6400_PA_AC97 + S3C_AC97_PCM_DATA,
+	.dma_size	= 4,
+};
+
+#ifdef CONFIG_SOUND_WM9713_INPUT_STREAM_MIC
+static struct s3c2410_dma_client s3c6400_dma_client_micin = {
+	.name = "AC97 Mic Mono in"
+};
+
+static struct s3c24xx_pcm_dma_params s3c6400_ac97_mic_mono_in = {
+	.client		= &s3c6400_dma_client_micin,
+	.channel	= DMACH_AC97_MIC_IN,
+	.dma_addr	= S3C6400_PA_AC97 + S3C_AC97_MIC_DATA,
+	.dma_size	= 4,
+};
+#else /* Input Stream is LINE-IN */
+static struct s3c2410_dma_client s3c6400_dma_client_in = {
+	.name = "AC97 PCM Stereo Line in"
+};
+
+static struct s3c24xx_pcm_dma_params s3c6400_ac97_pcm_stereo_in = {
+	.client		= &s3c6400_dma_client_in,
+	.channel	= DMACH_AC97_PCM_IN,
+	.dma_addr	= S3C6400_PA_AC97 + S3C_AC97_PCM_DATA,
+	.dma_size	= 4,
+};
+#endif
+
+static int s3c6400_ac97_probe(struct platform_device *pdev)
+{
+	int ret;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	s3c24xx_ac97.regs = ioremap(S3C6400_PA_AC97, 0x100);
+	if (s3c24xx_ac97.regs == NULL)
+		return -ENXIO;
+
+	s3c24xx_ac97.ac97_clk = clk_get(&pdev->dev, "ac97");
+	if (s3c24xx_ac97.ac97_clk == NULL) {
+		printk(KERN_ERR "s3c6400-ac97 failed to get ac97_clock\n");
+		iounmap(s3c24xx_ac97.regs);
+		return -ENODEV;
+	}
+	clk_enable(s3c24xx_ac97.ac97_clk);
+	
+        s3c_gpio_cfgpin(S3C64XX_GPD(0),S3C64XX_GPD0_AC97_BITCLK);
+        s3c_gpio_cfgpin(S3C64XX_GPD(1),S3C64XX_GPD1_AC97_nRESET);
+        s3c_gpio_cfgpin(S3C64XX_GPD(2),S3C64XX_GPD2_AC97_SYNC);
+        s3c_gpio_cfgpin(S3C64XX_GPD(3),S3C64XX_GPD3_AC97_SDI);
+        s3c_gpio_cfgpin(S3C64XX_GPD(4),S3C64XX_GPD4_AC97_SDO);
+
+        s3c_gpio_setpull(S3C64XX_GPD(0),S3C_GPIO_PULL_NONE);
+        s3c_gpio_setpull(S3C64XX_GPD(1),S3C_GPIO_PULL_NONE);
+        s3c_gpio_setpull(S3C64XX_GPD(2),S3C_GPIO_PULL_NONE);
+        s3c_gpio_setpull(S3C64XX_GPD(3),S3C_GPIO_PULL_NONE);
+        s3c_gpio_setpull(S3C64XX_GPD(4),S3C_GPIO_PULL_NONE);
+
+	ret = request_irq(IRQ_AC97, s3c6400_ac97_irq,
+		IRQF_DISABLED, "AC97", NULL);
+	if (ret < 0) {
+		printk(KERN_ERR "s3c24xx-ac97: interrupt request failed.\n");
+		clk_disable(s3c24xx_ac97.ac97_clk);
+		clk_put(s3c24xx_ac97.ac97_clk);
+		iounmap(s3c24xx_ac97.regs);
+	}
+
+	return ret;
+}
+
+static void s3c6400_ac97_remove(struct platform_device *pdev)
+{
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	free_irq(IRQ_AC97, NULL);
+	clk_disable(s3c24xx_ac97.ac97_clk);
+	clk_put(s3c24xx_ac97.ac97_clk);
+	iounmap(s3c24xx_ac97.regs);
+}
+
+static int s3c6400_ac97_hw_params(struct snd_pcm_substream *substream,
+				struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
+	
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
+		cpu_dai->dma_data = &s3c6400_ac97_pcm_stereo_out;
+	else
+#ifdef CONFIG_SOUND_WM9713_INPUT_STREAM_MIC
+		cpu_dai->dma_data = &s3c6400_ac97_mic_mono_in;
+#else /* Input Stream is LINE-IN */
+		cpu_dai->dma_data = &s3c6400_ac97_pcm_stereo_in;
+#endif
+
+	
+	return 0;
+}
+
+static int s3c6400_ac97_hifi_prepare(struct snd_pcm_substream *substream)
+{
+	/*
+	 * To support full duplex  
+	 * Tested by cat /dev/dsp > /dev/dsp
+	 */
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	s3c6400_ac97_write(0,0x26,0x0);
+	s3c6400_ac97_write(0, 0x0c, 0x0808);
+	s3c6400_ac97_write(0,0x3c, 0xf803);
+	s3c6400_ac97_write(0,0x3e,0xb990);
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+		s3c6400_ac97_write(0,0x02, 0x0404);
+		s3c6400_ac97_write(0, 0x04, 0x0606);	
+		s3c6400_ac97_write(0,0x1c, 0x12aa);
+	}
+	else
+	{
+		s3c6400_ac97_write(0, 0x12, 0x0f0f);
+#ifdef CONFIG_SOUND_WM9713_INPUT_STREAM_MIC
+		s3c6400_ac97_write(0,0x5c,0x2);
+		s3c6400_ac97_write(0,0x10,0x68);
+		s3c6400_ac97_write(0,0x14,0xfe00);
+#else /* Input Stream is LINE-IN */
+		s3c6400_ac97_write(0, 0x14, 0xd612);
+#endif
+	}
+
+	return 0;
+}
+
+
+static int s3c6400_ac97_trigger(struct snd_pcm_substream *substream, int cmd)
+{
+	u32 ac_glbctrl;
+
+	s3cdbg("Entered %s: cmd = %d\n", __FUNCTION__, cmd);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	switch(cmd) {
+	case SNDRV_PCM_TRIGGER_START:
+	case SNDRV_PCM_TRIGGER_RESUME:
+	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
+	
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			ac_glbctrl |= S3C_AC97_GLBCTRL_PCMINTM_DMA;
+		else
+			ac_glbctrl |= S3C_AC97_GLBCTRL_PCMOUTTM_DMA;
+		break;
+	case SNDRV_PCM_TRIGGER_STOP:
+	case SNDRV_PCM_TRIGGER_SUSPEND:
+	case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			ac_glbctrl &= ~S3C_AC97_GLBCTRL_PCMINTM_MASK;
+		else
+			ac_glbctrl &= ~S3C_AC97_GLBCTRL_PCMOUTTM_MASK;
+		break;
+	}
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+
+	return 0;
+}
+
+#if 0
+static int s3c6400_ac97_hw_mic_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
+		return -ENODEV;
+	else
+		cpu_dai->dma_data = &s3c6400_ac97_mic_mono_in;
+
+	return 0;
+}
+
+static int s3c6400_ac97_mic_trigger(struct snd_pcm_substream *substream,
+	int cmd)
+{
+	u32 ac_glbctrl;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	switch(cmd) {
+	case SNDRV_PCM_TRIGGER_START:
+	case SNDRV_PCM_TRIGGER_RESUME:
+	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
+		ac_glbctrl |= S3C_AC97_GLBCTRL_PCMINTM_DMA;
+		break;
+	case SNDRV_PCM_TRIGGER_STOP:
+	case SNDRV_PCM_TRIGGER_SUSPEND:
+	case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
+		ac_glbctrl &= ~S3C_AC97_GLBCTRL_PCMINTM_MASK;
+	}
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+
+	return 0;
+}
+#endif
+
+#define s3c6400_AC97_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
+		SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 | \
+		SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
+
+struct snd_soc_dai s3c6400_ac97_dai[] = {
+{
+	.name = "s3c64xx-ac97",
+	.id = 0,
+	.type = SND_SOC_DAI_AC97,
+	.probe = s3c6400_ac97_probe,
+	.remove = s3c6400_ac97_remove,
+	.playback = {
+		.stream_name = "AC97 Playback",
+		.channels_min = 2,
+		.channels_max = 2,
+		.rates = s3c6400_AC97_RATES,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,},
+	.capture = {
+		.stream_name = "AC97 Capture",
+		.channels_min = 2,
+		.channels_max = 2,
+		.rates = s3c6400_AC97_RATES,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,},
+	.ops = {
+		.hw_params = s3c6400_ac97_hw_params,
+		.prepare = s3c6400_ac97_hifi_prepare,
+		.trigger = s3c6400_ac97_trigger},
+},
+#if 0
+{
+	.name = "s3c6400-ac97-mic",
+	.id = 1,
+	.type = SND_SOC_DAI_AC97,
+	.capture = {
+		.stream_name = "AC97 Mic Capture",
+		.channels_min = 1,
+		.channels_max = 1,
+		.rates = s3c6400_AC97_RATES,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,},
+	.ops = {
+		.hw_params = s3c6400_ac97_hw_mic_params,
+		.trigger = s3c6400_ac97_mic_trigger,},
+},
+#endif
+};
+
+EXPORT_SYMBOL_GPL(s3c6400_ac97_dai);
+EXPORT_SYMBOL_GPL(soc_ac97_ops);
+
+MODULE_AUTHOR("Ryu Euiyoul");
+MODULE_DESCRIPTION("AC97 driver for the Samsung s3c6400 chip");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/s3c64xx-ac97.h linux-2.6.28.6/sound/soc/s3c64xx/s3c64xx-ac97.h
--- linux-2.6.28/sound/soc/s3c64xx/s3c64xx-ac97.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/s3c64xx-ac97.h	2009-10-20 06:07:45.000000000 +0200
@@ -0,0 +1,25 @@
+/*
+ * s3c24xx-ac97.c  --  ALSA Soc Audio Layer
+ *
+ * (c) 2007 Wolfson Microelectronics PLC.
+ * Author: Graeme Gregory
+ *         graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  Revision history
+ *    10th Nov 2006   Initial version.
+ */
+
+#ifndef S3C6400AC97_H_
+#define S3C6400AC97_H_
+
+#define AC_CMD_ADDR(x) (x << 16)
+#define AC_CMD_DATA(x) (x & 0xffff)
+
+extern struct /*snd_soc_cpu_dai*/snd_soc_dai s3c6400_ac97_dai[];
+
+#endif /*S3C6400AC97_H_*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/s5p6440-i2s.c linux-2.6.28.6/sound/soc/s3c64xx/s5p6440-i2s.c
--- linux-2.6.28/sound/soc/s3c64xx/s5p6440-i2s.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/s5p6440-i2s.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,662 @@
+/*
+ * s5p6440-i2s.c  --  ALSA Soc Audio Layer
+ *
+ * (c) 2009 Samsung Electronics   - Jaswinder Singh Brar <jassi.brar@samsung.com>
+ *  Derived from Ben Dooks' driver for s3c24xx
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ */
+
+#include <linux/delay.h>
+#include <linux/clk.h>
+#include <linux/io.h>
+#include <linux/interrupt.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+
+#include <asm/dma.h>
+#include <mach/map.h>
+//#include <plat/clock.h>
+
+#include "s3c-pcm.h"
+#include "s5p6440-i2s.h"
+
+static struct s3c2410_dma_client s5p6440_dma_client_out = {
+	.name = "I2S PCM Stereo out"
+};
+
+static struct s3c2410_dma_client s5p6440_dma_client_in = {
+	.name = "I2S PCM Stereo in"
+};
+
+static struct s3c24xx_pcm_dma_params s5p6440_i2s_pcm_stereo_out = {
+	.client		= &s5p6440_dma_client_out,
+	.channel	= DMACH_I2S_V40_OUT,
+	.dma_addr	= S5P64XX_PA_IIS_V40 + S5P64XX_IISTXD,
+	.dma_size	= 4,
+};
+
+static struct s3c24xx_pcm_dma_params s5p6440_i2s_pcm_stereo_in = {
+	.client		= &s5p6440_dma_client_in,
+	.channel	= DMACH_I2S_V40_IN,
+	.dma_addr	= S5P64XX_PA_IIS_V40 + S5P64XX_IISRXD,
+	.dma_size	= 4,
+};
+
+struct s5p6440_i2s_info {
+	void __iomem	*regs;
+	struct clk	*iis_clk;
+	struct clk	*audio_bus;
+	u32		iiscon;
+	u32		iismod;
+	u32		iisfic;
+	u32		iispsr;
+	u32		slave;
+	u32		clk_rate;
+};
+static struct s5p6440_i2s_info s5p6440_i2s;
+
+static void s5p6440_snd_txctrl(int on)
+{
+	u32 iiscon;
+
+	iiscon  = readl(s5p6440_i2s.regs + S5P64XX_IISCON);
+
+	if(on){
+		iiscon |= S5P64XX_IISCON_I2SACTIVE;
+		iiscon  &= ~S5P64XX_IISCON_TXCHPAUSE;
+		iiscon  &= ~S5P64XX_IISCON_TXDMAPAUSE;
+		iiscon  |= S5P64XX_IISCON_TXDMACTIVE;
+		writel(iiscon,  s5p6440_i2s.regs + S5P64XX_IISCON);
+	}else{
+		iiscon &= ~S5P64XX_IISCON_I2SACTIVE;
+		iiscon  |= S5P64XX_IISCON_TXCHPAUSE;
+		iiscon  |= S5P64XX_IISCON_TXDMAPAUSE;
+		iiscon  &= ~S5P64XX_IISCON_TXDMACTIVE;
+		writel(iiscon,  s5p6440_i2s.regs + S5P64XX_IISCON);
+	}
+}
+
+static void s5p6440_snd_rxctrl(int on)
+{
+	u32 iiscon;
+
+	iiscon  = readl(s5p6440_i2s.regs + S5P64XX_IISCON);
+
+	if(on){
+		iiscon |= S5P64XX_IISCON_I2SACTIVE;
+		iiscon  &= ~S5P64XX_IISCON_RXCHPAUSE;
+		iiscon  &= ~S5P64XX_IISCON_RXDMAPAUSE;
+		iiscon  |= S5P64XX_IISCON_RXDMACTIVE;
+		writel(iiscon,  s5p6440_i2s.regs + S5P64XX_IISCON);
+	}else{
+		iiscon &= ~S5P64XX_IISCON_I2SACTIVE;
+		iiscon  |= S5P64XX_IISCON_RXCHPAUSE;
+		iiscon  |= S5P64XX_IISCON_RXDMAPAUSE;
+		iiscon  &= ~S5P64XX_IISCON_RXDMACTIVE;
+		writel(iiscon,  s5p6440_i2s.regs + S5P64XX_IISCON);
+	}
+
+}
+
+/*
+ * Wait for the LR signal to allow synchronisation to the L/R clock
+ * from the codec. May only be needed for slave mode.
+ */
+static int s5p6440_snd_lrsync(void)
+{
+	u32 iiscon;
+	int timeout = 50; /* 5ms */
+
+	while (1) {
+		iiscon = readl(s5p6440_i2s.regs + S5P64XX_IISCON);
+		if (iiscon & S5P64XX_IISCON_LRI)
+			break;
+
+		if (!timeout--)
+			return -ETIMEDOUT;
+		udelay(100);
+	}
+
+	return 0;
+}
+
+/*
+ * Set s5p64xx I2S DAI format
+ */
+static int s5p6440_i2s_set_fmt(struct snd_soc_dai *cpu_dai,
+		unsigned int fmt)
+{
+	u32 iismod;
+
+	iismod = readl(s5p6440_i2s.regs + S5P64XX_IISMOD);
+	iismod &= ~S5P64XX_IISMOD_SDFMASK;
+
+	switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
+	case SND_SOC_DAIFMT_CBM_CFM:
+		s5p6440_i2s.slave = 1;
+		break;
+	case SND_SOC_DAIFMT_CBS_CFS:
+		s5p6440_i2s.slave = 0;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
+	case SND_SOC_DAIFMT_I2S:
+		iismod &= ~S5P64XX_IISMOD_MSB;
+		break;
+	case SND_SOC_DAIFMT_LEFT_J:
+		iismod |= S5P64XX_IISMOD_MSB;
+		break;
+	case SND_SOC_DAIFMT_RIGHT_J:
+		iismod |= S5P64XX_IISMOD_LSB;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	switch (fmt & SND_SOC_DAIFMT_INV_MASK) {
+	case SND_SOC_DAIFMT_NB_NF:
+		iismod &= ~S5P64XX_IISMOD_LRP;
+		break;
+	case SND_SOC_DAIFMT_NB_IF:
+		iismod |= S5P64XX_IISMOD_LRP;
+		break;
+	case SND_SOC_DAIFMT_IB_IF:
+	case SND_SOC_DAIFMT_IB_NF:
+	default:
+		printk("Inv-combo(%d) not supported!\n", fmt & SND_SOC_DAIFMT_FORMAT_MASK);
+		return -EINVAL;
+	}
+
+	writel(iismod, s5p6440_i2s.regs + S5P64XX_IISMOD);
+	return 0;
+}
+
+static int s5p6440_i2s_hw_params(struct snd_pcm_substream *substream,
+				struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	u32 iismod;
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
+		rtd->dai->cpu_dai->dma_data = &s5p6440_i2s_pcm_stereo_out;
+	else
+		rtd->dai->cpu_dai->dma_data = &s5p6440_i2s_pcm_stereo_in;
+
+	/* Working copies of register */
+	iismod = readl(s5p6440_i2s.regs + S5P64XX_IISMOD);
+	iismod &= ~S5P64XX_IISMOD_BLCMASK;
+
+	/* TODO */
+	switch(params_channels(params)) {
+	case 1:
+		break;
+	case 2:
+		break;
+	case 4:
+		break;
+	case 6:
+		break;
+	default:
+		break;
+	}
+
+	/* RFS & BFS are set by dai_link(machine specific) code via set_clkdiv */
+	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S8:
+		iismod |= S5P64XX_IISMOD_8BIT;
+ 		break;
+ 	case SNDRV_PCM_FORMAT_S16_LE:
+ 		iismod |= S5P64XX_IISMOD_16BIT;
+ 		break;
+ 	case SNDRV_PCM_FORMAT_S24_LE:
+ 		iismod |= S5P64XX_IISMOD_24BIT;
+ 		break;
+	default:
+		return -EINVAL;
+ 	}
+ 
+	writel(iismod, s5p6440_i2s.regs + S5P64XX_IISMOD);
+
+	return 0;
+}
+
+static int s5p6440_i2s_startup(struct snd_pcm_substream *substream)
+{
+	u32 iiscon, iisfic;
+
+	iiscon = readl(s5p6440_i2s.regs + S5P64XX_IISCON);
+
+	/* FIFOs must be flushed before enabling PSR and other MOD bits, so we do it here. */
+	if(!(iiscon & S5P64XX_IISCON_I2SACTIVE)){
+		iisfic = readl(s5p6440_i2s.regs + S5P64XX_IISFIC);
+		iisfic |= S5P64XX_IISFIC_TFLUSH | S5P64XX_IISFIC_RFLUSH;
+		writel(iisfic, s5p6440_i2s.regs + S5P64XX_IISFIC);
+	}
+
+	do{
+	   iiscon = readl(s5p6440_i2s.regs + S5P64XX_IISCON);
+	}while((iiscon & 0x780) != (S5P64XX_IISCON_FRXEMPT | S5P64XX_IISCON_FTX0EMPT));
+	iisfic = readl(s5p6440_i2s.regs + S5P64XX_IISFIC);
+	iisfic &= ~(S5P64XX_IISFIC_TFLUSH | S5P64XX_IISFIC_RFLUSH);
+	writel(iisfic, s5p6440_i2s.regs + S5P64XX_IISFIC);
+
+	return 0;
+}
+
+static int s5p6440_i2s_prepare(struct snd_pcm_substream *substream)
+{
+	u32 iismod;
+	
+	iismod = readl(s5p6440_i2s.regs + S5P64XX_IISMOD);
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK){
+		if((iismod & S5P64XX_IISMOD_TXRMASK) == S5P64XX_IISMOD_RX){
+			iismod &= ~S5P64XX_IISMOD_TXRMASK;
+			iismod |= S5P64XX_IISMOD_TXRX;
+		}
+	}else{
+		if((iismod & S5P64XX_IISMOD_TXRMASK) == S5P64XX_IISMOD_TX){
+			iismod &= ~S5P64XX_IISMOD_TXRMASK;
+			iismod |= S5P64XX_IISMOD_TXRX;
+		}
+	}
+
+	writel(iismod, s5p6440_i2s.regs + S5P64XX_IISMOD);
+
+	return 0;
+}
+
+static int s5p6440_i2s_trigger(struct snd_pcm_substream *substream, int cmd)
+{
+	int ret = 0;
+
+	switch (cmd) {
+	case SNDRV_PCM_TRIGGER_START:
+	case SNDRV_PCM_TRIGGER_RESUME:
+	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
+		if (s5p6440_i2s.slave) {
+			ret = s5p6440_snd_lrsync();
+			if (ret)
+				goto exit_err;
+		}
+
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			s5p6440_snd_rxctrl(1);
+		else
+			s5p6440_snd_txctrl(1);
+		break;
+	case SNDRV_PCM_TRIGGER_STOP:
+	case SNDRV_PCM_TRIGGER_SUSPEND:
+	case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			s5p6440_snd_rxctrl(0);
+		else
+			s5p6440_snd_txctrl(0);
+		break;
+	default:
+		ret = -EINVAL;
+		break;
+	}
+
+exit_err:
+	return ret;
+}
+
+/*
+ * Set s5p64xx Clock source
+ * Since, we set frequencies using PreScaler and BFS, RFS, we select input clock source to the IIS here.
+ */
+static int s5p6440_i2s_set_sysclk(struct snd_soc_dai *cpu_dai,
+	int clk_id, unsigned int freq, int dir)
+{
+	struct clk *clk;
+	u32 iismod = readl(s5p6440_i2s.regs + S5P64XX_IISMOD);
+
+	switch (clk_id) {
+	case S5P6440_CLKSRC_PCLK:
+		if(s5p6440_i2s.slave)
+			return -EINVAL;
+		iismod &= ~S5P64XX_IISMOD_IMSMASK;
+		iismod |= clk_id;
+		s5p6440_i2s.clk_rate = clk_get_rate(s5p6440_i2s.iis_clk);
+		break;
+
+#ifdef USE_CLKAUDIO
+	case S5P6440_CLKSRC_CLKAUDIO:
+		if(s5p6440_i2s.slave)
+			return -EINVAL;
+		iismod &= ~S5P64XX_IISMOD_IMSMASK;
+		iismod |= clk_id;
+/*
+8000 x 256 = 2048000
+         49152000 mod 2048000 = 0
+         32768000 mod 2048000 = 0 
+         73728000 mod 2048000 = 0
+
+11025 x 256 = 2822400
+         67738000 mod 2822400 = 400
+
+16000 x 256 = 4096000
+         49152000 mod 4096000 = 0
+         32768000 mod 4096000 = 0 
+         73728000 mod 4096000 = 0
+
+22050 x 256 = 5644800
+         67738000 mod 5644800 = 400
+
+32000 x 256 = 8192000
+         49152000 mod 8192000 = 0
+         32768000 mod 8192000 = 0
+         73728000 mod 8192000 = 0
+
+44100 x 256 = 11289600
+         67738000 mod 11289600 = 400
+
+48000 x 256 = 12288000
+         49152000 mod 12288000 = 0
+         73728000 mod 12288000 = 0
+
+64000 x 256 = 16384000
+         49152000 mod 16384000 = 0
+         32768000 mod 16384000 = 0
+
+88200 x 256 = 22579200
+         67738000 mod 22579200 = 400
+
+96000 x 256 = 24576000
+         49152000 mod 24576000 = 0
+         73728000 mod 24576000 = 0
+
+	From the table above, we find that 49152000 gives least(0) residue 
+	for most sample rates, followed by 67738000.
+*/
+		clk = clk_get(NULL, "fout_epll");
+		if (IS_ERR(clk)) {
+			printk("failed to get FOUTepll\n");
+			return -EBUSY;
+		}
+		clk_disable(clk);
+		switch (freq) {
+		case 8000:
+		case 16000:
+		case 32000:
+		case 48000:
+		case 64000:
+		case 96000:
+			clk_set_rate(clk, 49152000);
+			break;
+		case 11025:
+		case 22050:
+		case 44100:
+		case 88200:
+		default:
+			clk_set_rate(clk, 67738000);
+			break;
+		}
+		clk_enable(clk);
+		clk_put(clk);
+		s5p6440_i2s.clk_rate = clk_get_rate(s5p6440_i2s.audio_bus);
+		//printk("Setting FOUTepll to %dHz", s5p6440_i2s.clk_rate);
+		break;
+#endif
+
+	case S5P6440_CLKSRC_SLVPCLK:
+	case S5P6440_CLKSRC_I2SEXT:
+		if(!s5p6440_i2s.slave)
+			return -EINVAL;
+		iismod &= ~S5P64XX_IISMOD_IMSMASK;
+		iismod |= clk_id;
+		break;
+
+	/* Not sure about these two! */
+	case S5P6440_CDCLKSRC_INT:
+		iismod &= ~S5P64XX_IISMOD_CDCLKCON;
+		break;
+
+	case S5P6440_CDCLKSRC_EXT:
+		iismod |= S5P64XX_IISMOD_CDCLKCON;
+		break;
+
+	default:
+		return -EINVAL;
+	}
+
+	writel(iismod, s5p6440_i2s.regs + S5P64XX_IISMOD);
+	return 0;
+}
+
+/*
+ * Set s5p64xx Clock dividers
+ * NOTE: NOT all combinations of RFS, BFS and BCL are supported! XXX
+ * Machine specific(dai-link) code must consider that while setting MCLK and BCLK in this function. XXX
+ */
+/* XXX BLC(bits-per-channel) --> BFS(bit clock shud be >= FS*(Bit-per-channel)*2) XXX */
+/* XXX BFS --> RFS_VAL(must be a multiple of BFS)                                 XXX */
+/* XXX RFS_VAL & SRC_CLK --> Prescalar Value(SRC_CLK / RFS_VAL / fs - 1)          XXX */
+static int s5p6440_i2s_set_clkdiv(struct snd_soc_dai *cpu_dai,
+	int div_id, int div)
+{
+	u32 reg;
+
+	switch (div_id) {
+	case S5P64XX_DIV_MCLK:
+		reg = readl(s5p6440_i2s.regs + S5P64XX_IISMOD) & ~S5P64XX_IISMOD_RFSMASK;
+		switch(div) {
+		case 256: div = S5P64XX_IISMOD_256FS; break;
+		case 512: div = S5P64XX_IISMOD_512FS; break;
+		case 384: div = S5P64XX_IISMOD_384FS; break;
+		case 768: div = S5P64XX_IISMOD_768FS; break;
+		default: return -EINVAL;
+		}
+		writel(reg | div, s5p6440_i2s.regs + S5P64XX_IISMOD);
+		break;
+	case S5P64XX_DIV_BCLK:
+		reg = readl(s5p6440_i2s.regs + S5P64XX_IISMOD) & ~S5P64XX_IISMOD_BFSMASK;
+		switch(div) {
+		case 16: div = S5P64XX_IISMOD_16FS; break;
+		case 24: div = S5P64XX_IISMOD_24FS; break;
+		case 32: div = S5P64XX_IISMOD_32FS; break;
+		case 48: div = S5P64XX_IISMOD_48FS; break;
+		default: return -EINVAL;
+		}
+		writel(reg | div, s5p6440_i2s.regs + S5P64XX_IISMOD);
+		break;
+	case S5P64XX_DIV_PRESCALER:
+		reg = readl(s5p6440_i2s.regs + S5P64XX_IISPSR) & ~S5P64XX_IISPSR_PSRAEN;
+		writel(reg, s5p6440_i2s.regs + S5P64XX_IISPSR);
+		reg = readl(s5p6440_i2s.regs + S5P64XX_IISPSR) & ~S5P64XX_IISPSR_PSVALA;
+		div &= 0x3f;
+		writel(reg | (div<<8) | S5P64XX_IISPSR_PSRAEN, s5p6440_i2s.regs + S5P64XX_IISPSR);
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	return 0;
+}
+
+/*
+ * To avoid duplicating clock code, allow machine driver to
+ * get the clockrate from here.
+ */
+u32 s5p6440_i2s_get_clockrate(void)
+{
+	return s5p6440_i2s.clk_rate;
+}
+EXPORT_SYMBOL_GPL(s5p6440_i2s_get_clockrate);
+
+static irqreturn_t s5p_iis_irq(int irqno, void *dev_id)
+{
+	u32 iiscon;
+
+	iiscon  = readl(s5p6440_i2s.regs + S5P64XX_IISCON);
+	if(S5P64XX_IISCON_FTXURSTATUS & iiscon) {
+		iiscon &= ~S5P64XX_IISCON_FTXURINTEN;
+		iiscon |= S5P64XX_IISCON_FTXURSTATUS;
+		writel(iiscon, s5p6440_i2s.regs + S5P64XX_IISCON);
+		printk("underrun interrupt IISCON = 0x%08x\n", readl(s5p6440_i2s.regs + S5P64XX_IISCON));
+	}
+
+	return IRQ_HANDLED;
+}
+
+static int s5p6440_i2s_probe(struct platform_device *pdev,
+			     struct snd_soc_dai *dai)
+{
+	int ret = 0;
+	struct clk *cm, *cf;
+
+	s5p6440_i2s.regs = ioremap(S5P64XX_PA_IIS_V40, 0x100);
+	if (s5p6440_i2s.regs == NULL)
+		return -ENXIO;
+
+	ret = request_irq(IRQ_IISV40, s5p_iis_irq, 0, "s5p-i2s-v40", pdev);
+	if (ret < 0) {
+		printk("fail to claim i2s irq , ret = %d\n", ret);
+		iounmap(s5p6440_i2s.regs);
+		return -ENODEV;
+	}
+
+	s5p6440_i2s.iis_clk = clk_get(&pdev->dev, "iis_v40");
+	if (IS_ERR(s5p6440_i2s.iis_clk)) {
+		printk("failed to get iis_clock\n");
+		goto lb5;
+	}
+	clk_enable(s5p6440_i2s.iis_clk);
+	s5p6440_i2s.clk_rate = clk_get_rate(s5p6440_i2s.iis_clk);
+
+#ifdef USE_CLKAUDIO
+	s5p6440_i2s.audio_bus = clk_get(NULL, "audio-bus2");
+	if (IS_ERR(s5p6440_i2s.audio_bus)) {
+		printk("failed to get audio_bus\n");
+		goto lb4;
+	}
+
+	cm = clk_get(NULL, "mout_epll");
+	if (IS_ERR(cm)) {
+		printk("failed to get MOUTepll\n");
+		goto lb3;
+	}
+	if(clk_set_parent(s5p6440_i2s.audio_bus, cm)){
+		printk("failed to set MOUTepll as parent of CLKAUDIO0\n");
+		goto lb2;
+	}
+
+	cf = clk_get(NULL, "fout_epll");
+	if (IS_ERR(cf)) {
+		printk("failed to get FOUTepll\n");
+		goto lb2;
+	}
+	clk_enable(cf);
+	if(clk_set_parent(cm, cf)){
+		printk("failed to set FOUTepll as parent of MOUTepll\n");
+		goto lb1;
+	}
+	s5p6440_i2s.clk_rate = clk_get_rate(s5p6440_i2s.audio_bus);
+	clk_put(cf);
+	clk_put(cm);
+#endif
+
+	writel(S5P64XX_IISCON_I2SACTIVE, s5p6440_i2s.regs + S5P64XX_IISCON);
+
+	s5p6440_snd_txctrl(0);
+	s5p6440_snd_rxctrl(0);
+
+	return 0;
+
+#ifdef USE_CLKAUDIO
+lb1:
+	clk_put(cf);
+lb2:
+	clk_put(cm);
+lb3:
+	clk_put(s5p6440_i2s.audio_bus);
+lb4:
+	clk_disable(s5p6440_i2s.iis_clk);
+	clk_put(s5p6440_i2s.iis_clk);
+#endif
+lb5:
+	free_irq(IRQ_IISV40, pdev);
+	iounmap(s5p6440_i2s.regs);
+	
+	return -ENODEV;
+}
+
+#ifdef CONFIG_PM
+static int s5p6440_i2s_suspend(struct platform_device *pdev,
+		struct snd_soc_dai *cpu_dai)
+{
+	s5p6440_i2s.iiscon = readl(s5p6440_i2s.regs + S5P64XX_IISCON);
+	s5p6440_i2s.iismod = readl(s5p6440_i2s.regs + S5P64XX_IISMOD);
+	s5p6440_i2s.iisfic = readl(s5p6440_i2s.regs + S5P64XX_IISFIC);
+	s5p6440_i2s.iispsr = readl(s5p6440_i2s.regs + S5P64XX_IISPSR);
+
+	clk_disable(s5p6440_i2s.iis_clk);
+
+	return 0;
+}
+
+static int s5p6440_i2s_resume(struct platform_device *pdev,
+		struct snd_soc_dai *cpu_dai)
+{
+	clk_enable(s5p6440_i2s.iis_clk);
+
+	writel(s5p6440_i2s.iiscon, s5p6440_i2s.regs + S5P64XX_IISCON);
+	writel(s5p6440_i2s.iismod, s5p6440_i2s.regs + S5P64XX_IISMOD);
+	writel(s5p6440_i2s.iisfic, s5p6440_i2s.regs + S5P64XX_IISFIC);
+	writel(s5p6440_i2s.iispsr, s5p6440_i2s.regs + S5P64XX_IISPSR);
+
+	return 0;
+}
+#else
+#define s5p6440_i2s_suspend NULL
+#define s5p6440_i2s_resume NULL
+#endif
+
+
+struct snd_soc_dai s5p6440_i2s_v40_dai = {
+	.name = "s5p6440-i2s",
+	.id = 0,
+	.type = SND_SOC_DAI_I2S,
+	.probe = s5p6440_i2s_probe,
+	.suspend = s5p6440_i2s_suspend,
+	.resume = s5p6440_i2s_resume,
+	.playback = {
+		.channels_min = 2,
+		.channels_max = 6,
+		.rates = SNDRV_PCM_RATE_8000_96000,
+		.formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
+	},
+	.capture = {
+		.channels_min = 2,
+		.channels_max = 2,
+		.rates = SNDRV_PCM_RATE_8000_96000,
+		.formats = SNDRV_PCM_FMTBIT_S8 | SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
+	},
+	.ops = {
+		.hw_params = s5p6440_i2s_hw_params,
+		.prepare = s5p6440_i2s_prepare,
+		.startup = s5p6440_i2s_startup,
+		.trigger = s5p6440_i2s_trigger,
+	},
+	.dai_ops = {
+		.set_fmt = s5p6440_i2s_set_fmt,
+		.set_clkdiv = s5p6440_i2s_set_clkdiv,
+		.set_sysclk = s5p6440_i2s_set_sysclk,
+	},
+};
+EXPORT_SYMBOL_GPL(s5p6440_i2s_v40_dai);
+
+/* Module information */
+MODULE_AUTHOR("Jaswinder Singh <jassi.brar@samsung.com>");
+MODULE_DESCRIPTION("s5p6440 I2S SoC Interface");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/s5p6440-i2s.h linux-2.6.28.6/sound/soc/s3c64xx/s5p6440-i2s.h
--- linux-2.6.28/sound/soc/s3c64xx/s5p6440-i2s.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/s5p6440-i2s.h	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,43 @@
+/*
+ * s5p64xx-i2s.c  --  ALSA Soc Audio Layer
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ */
+
+#ifndef S5P64XXI2S_H_
+#define S5P64XXI2S_H_
+
+#include <plat/regs-iis.h>
+
+#ifndef CONFIG_SND_S5P6440_SOC_I2S_V32
+#define IIS_V40	1
+#endif
+
+/* clock sources */
+#define S5P6440_CLKSRC_PCLK		S5P64XX_IISMOD_MSTPCLK
+#define S5P6440_CLKSRC_CLKAUDIO		S5P64XX_IISMOD_MSTCLKAUDIO
+#define S5P6440_CLKSRC_SLVPCLK		S5P64XX_IISMOD_SLVPCLK
+#define S5P6440_CLKSRC_I2SEXT		S5P64XX_IISMOD_SLVI2SCLK
+#define S5P6440_CDCLKSRC_INT		(4<<10)
+#define S5P6440_CDCLKSRC_EXT		(5<<10)
+
+/* Clock dividers */
+#define S5P64XX_DIV_MCLK	0
+#define S5P64XX_DIV_BCLK	1
+#define S5P64XX_DIV_PRESCALER	2
+
+#define USE_CLKAUDIO	1
+
+u32 s5p6440_i2s_get_clockrate(void);
+
+#ifdef CONFIG_SND_S5P6440_SOC_I2S_V32
+extern struct snd_soc_dai s5p6440_i2s_v32_dai;
+#else
+extern struct snd_soc_dai s5p6440_i2s_v40_dai;
+#endif
+
+#endif /*S5P64XXI2S_H_*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/smdk6400_wm8753.c linux-2.6.28.6/sound/soc/s3c64xx/smdk6400_wm8753.c
--- linux-2.6.28/sound/soc/s3c64xx/smdk6400_wm8753.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/smdk6400_wm8753.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,436 @@
+/*
+ * smdk6400_wm8753.c  --  SoC audio for Neo1973
+ *
+ * Copyright 2007 Wolfson Microelectronics PLC.
+ * Author: Graeme Gregory
+ *         graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ *  Copyright (C) 2007, Ryu Euiyoul <ryu.real@gmail.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  Revision history
+ *    20th Jan 2007   Initial version.
+ *    05th Feb 2007   Rename all to Neo1973
+ *
+ */
+
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/timer.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/i2c.h>
+#include <sound/driver.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
+
+#include <asm/mach-types.h>
+#include <asm/hardware/scoop.h>
+#include <asm/arch/regs-iis.h>
+
+#include <asm/arch/regs-gpio.h>
+#include <asm/hardware.h>
+#include <asm/arch/audio.h>
+#include <asm/io.h>
+#include <asm/arch/spi-gpio.h>
+#include <asm/arch/regs-s3c-clock.h>
+
+#include "../codecs/wm8753.h"
+#include "s3c-pcm.h"
+#include "s3c-i2s.h"
+
+/* define the scenarios */
+#define SMDK6400_AUDIO_OFF		0
+#define SMDK6400_CAPTURE_MIC1		3
+#define SMDK6400_STEREO_TO_HEADPHONES	2
+#define SMDK6400_CAPTURE_LINE_IN	1
+
+#ifdef CONFIG_SND_DEBUG
+#define s3cdbg(x...) printk(x)
+#else
+#define s3cdbg(x...)
+#endif
+
+static int smdk6400_hifi_hw_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai;
+	struct snd_soc_cpu_dai *cpu_dai = rtd->dai->cpu_dai;
+	unsigned int pll_out = 0, bclk = 0;
+	int ret = 0;
+	unsigned int iispsr, iismod;
+	unsigned int prescaler = 4;
+
+	s3cdbg("Entered %s, rate = %d\n", __FUNCTION__, params_rate(params));
+
+	/*PCLK & SCLK gating enable*/
+	writel(readl(S3C_PCLK_GATE)|S3C_CLKCON_PCLK_IIS0, S3C_PCLK_GATE);
+	writel(readl(S3C_SCLK_GATE)|S3C_CLKCON_SCLK_AUDIO0, S3C_SCLK_GATE);
+
+	iismod = readl(S3C_IIS0MOD);
+	iismod &=~(0x3<<3);
+
+	/*Clear I2S prescaler value [13:8] and disable prescaler*/
+	iispsr = readl(S3C_IIS0PSR);	
+	iispsr &=~((0x3f<<8)|(1<<15)); 
+	writel(iispsr, S3C_IIS0PSR);
+	
+	s3cdbg("%s: %d , params = %d \n", __FUNCTION__, __LINE__, params_rate(params));
+
+	switch (params_rate(params)) {
+	case 16000:
+	case 32000:
+		writel(0, S3C_EPLL_CON1);
+		writel((1<<31)|(128<<16)|(25<<8)|(0<<0) ,S3C_EPLL_CON0);
+		break;
+	//case 8000:
+	//	prescaler = 0xe; 
+	case 48000:
+		writel(0, S3C_EPLL_CON1);
+		writel((1<<31)|(192<<16)|(25<<8)|(0<<0) ,S3C_EPLL_CON0);
+		break;
+	case 11025:
+		prescaler = 9; 
+	case 8000:
+	case 22050:
+	case 44100:
+		writel(0, S3C_EPLL_CON1);
+		writel((1<<31)|(254<<16)|(9<<8)|(2<<0) ,S3C_EPLL_CON0);
+		break;
+	default:
+		/* somtimes 32000 rate comes to 96000 
+		   default values are same as 32000 */
+		writel(0, S3C_EPLL_CON1);
+		writel((1<<31)|(128<<16)|(25<<8)|(0<<0) ,S3C_EPLL_CON0);
+
+		/* for 96000 rate : error 0.3% 
+		 * prescaler = 1; 
+		 * writel((1<<31)|(154<<16)|(25<<8)|(0<<0) ,S3C_EPLL_CON0);
+		 */
+		break;
+	}
+
+	s3cdbg("%s, IISCON: %x IISMOD: %x,IISFIC: %x,IISPSR: %x",
+			__FUNCTION__ , readl(S3C_IIS0CON), readl(S3C_IIS0MOD), 
+			readl(S3C_IIS0FIC), readl(S3C_IIS0PSR));
+	
+	while(!(__raw_readl(S3C_EPLL_CON0)&(1<<30)));
+
+	/* MUXepll : FOUTepll */
+	writel(readl(S3C_CLK_SRC)|S3C_CLKSRC_EPLL_CLKSEL, S3C_CLK_SRC);
+	/* AUDIO0 sel : FOUTepll */
+	writel((readl(S3C_CLK_SRC)&~(0x7<<7))|(0<<7), S3C_CLK_SRC);
+
+	/* CLK_DIV2 setting */
+	writel(0x0,S3C_CLK_DIV2);
+
+	switch (params_rate(params)) {
+//	case 8000:
+//		iismod |= S3C_IIS0MOD_768FS;	
+//		pll_out = 12288000;
+//		break;
+	case 11025:
+		iismod |= S3C_IIS0MOD_768FS;	
+		bclk = WM8753_BCLK_DIV_16;
+		pll_out = 16934400;
+		break;
+	case 16000:
+		iismod |= S3C_IIS0MOD_768FS;	
+		bclk = WM8753_BCLK_DIV_2;
+		pll_out = 12288000;
+		break;
+	case 22050:
+		iismod |= S3C_IIS0MOD_768FS;	
+		bclk = WM8753_BCLK_DIV_8;
+		pll_out = 16934400;
+		break;
+	case 32000:
+		iismod |= S3C_IIS0MOD_384FS;
+		bclk = WM8753_BCLK_DIV_2;
+		pll_out = 12288000;
+		break;
+	case 44100:
+	case 8000:
+		iismod |= S3C_IIS0MOD_384FS;
+		bclk = WM8753_BCLK_DIV_4;
+		pll_out = 16934400;
+		break;
+	case 48000:
+		iismod |= S3C_IIS0MOD_384FS;
+		bclk = WM8753_BCLK_DIV_4;
+		pll_out = 18432000;
+		break;
+	default:
+		/* somtimes 32000 rate comes to 96000 
+		   default values are same as 32000 */
+		iismod |= S3C_IIS0MOD_384FS;
+		bclk = WM8753_BCLK_DIV_2;
+		pll_out = 12288000;
+		break;
+	}
+
+	writel(iismod , S3C_IIS0MOD);
+
+	/* set codec DAI configuration */
+	ret = codec_dai->dai_ops.set_fmt(codec_dai,
+		SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
+		SND_SOC_DAIFMT_CBS_CFS ); 
+	if (ret < 0)
+		return ret;
+
+	/* set cpu DAI configuration */
+	ret = cpu_dai->dai_ops.set_fmt(cpu_dai,
+		SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
+		SND_SOC_DAIFMT_CBS_CFS ); 
+	if (ret < 0)
+		return ret;
+
+	/* set the codec system clock for DAC and ADC */
+	ret = codec_dai->dai_ops.set_sysclk(codec_dai, WM8753_MCLK, pll_out,
+		SND_SOC_CLOCK_IN);
+	if (ret < 0)
+		return ret;
+
+	/* set MCLK division for sample rate */
+	ret = cpu_dai->dai_ops.set_clkdiv(cpu_dai, S3C24XX_DIV_MCLK,
+		S3C2410_IISMOD_32FS );
+	if (ret < 0)
+		return ret;
+
+	/* set codec BCLK division for sample rate */
+	ret = codec_dai->dai_ops.set_clkdiv(codec_dai, WM8753_BCLKDIV, bclk);
+	if (ret < 0)
+		return ret;
+
+	/* set prescaler division for sample rate */
+	ret = cpu_dai->dai_ops.set_clkdiv(cpu_dai, S3C24XX_DIV_PRESCALER,
+		(prescaler << 0x8));
+	if (ret < 0)
+		return ret;
+
+	return 0;
+}
+
+static int smdk6400_hifi_hw_free(struct snd_pcm_substream *substream)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai;
+
+	/* disable the PLL */
+	return codec_dai->dai_ops.set_pll(codec_dai, WM8753_PLL1, 0, 0);
+}
+
+/*
+ * Neo1973 WM8753 HiFi DAI opserations.
+ */
+static struct snd_soc_ops smdk6400_hifi_ops = {
+	.hw_params = smdk6400_hifi_hw_params,
+	.hw_free = smdk6400_hifi_hw_free,
+};
+
+static int smdk6400_scenario = 0;
+
+static int smdk6400_get_scenario(struct snd_kcontrol *kcontrol,
+	struct snd_ctl_elem_value *ucontrol)
+{
+	ucontrol->value.integer.value[0] = smdk6400_scenario;
+	return 0;
+}
+
+static int set_scenario_endpoints(struct snd_soc_codec *codec, int scenario)
+{
+	switch(smdk6400_scenario) {
+	case SMDK6400_AUDIO_OFF:
+		snd_soc_dapm_set_endpoint(codec, "Headphone Jack",    0);
+		snd_soc_dapm_set_endpoint(codec, "Mic1 Jack",  0);
+		snd_soc_dapm_set_endpoint(codec, "Line In Jack",  0);
+		break;
+	case SMDK6400_STEREO_TO_HEADPHONES:
+		snd_soc_dapm_set_endpoint(codec, "Headphone Jack",    1);
+		snd_soc_dapm_set_endpoint(codec, "Mic1 Jack",  0);
+		snd_soc_dapm_set_endpoint(codec, "Line In Jack",  0);
+		break;
+	case SMDK6400_CAPTURE_MIC1:
+		snd_soc_dapm_set_endpoint(codec, "Headphone Jack",    0);
+		snd_soc_dapm_set_endpoint(codec, "Mic1 Jack",  1);
+		snd_soc_dapm_set_endpoint(codec, "Line In Jack",  0);
+		break;
+	case SMDK6400_CAPTURE_LINE_IN:
+		snd_soc_dapm_set_endpoint(codec, "Headphone Jack",    0);
+		snd_soc_dapm_set_endpoint(codec, "Mic1 Jack",  0);
+		snd_soc_dapm_set_endpoint(codec, "Line In Jack",  1);
+		break;
+	default:
+		snd_soc_dapm_set_endpoint(codec, "Headphone Jack",    1);
+		snd_soc_dapm_set_endpoint(codec, "Mic1 Jack",  1);
+		snd_soc_dapm_set_endpoint(codec, "Line In Jack",  1);
+		break;
+	}
+
+	snd_soc_dapm_sync_endpoints(codec);
+
+	return 0;
+}
+
+static int smdk6400_set_scenario(struct snd_kcontrol *kcontrol,
+	struct snd_ctl_elem_value *ucontrol)
+{
+	struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
+
+	if (smdk6400_scenario == ucontrol->value.integer.value[0])
+		return 0;
+
+	smdk6400_scenario = ucontrol->value.integer.value[0];
+	set_scenario_endpoints(codec, smdk6400_scenario);
+	return 1;
+}
+
+static const struct snd_soc_dapm_widget wm8753_dapm_widgets[] = {
+	SND_SOC_DAPM_HP("Headphone Jack", NULL),
+	SND_SOC_DAPM_MIC("Mic1 Jack", NULL),
+	SND_SOC_DAPM_LINE("Line In Jack", NULL),
+};
+
+
+/* example machine audio_mapnections */
+static const char* audio_map[][3] = {
+
+	{"Headphone Jack", NULL, "LOUT1"},
+	{"Headphone Jack", NULL, "ROUT1"},
+
+	/* mic is connected to mic1 - with bias */
+	/* mic is connected to mic1 - with bias */
+	{"MIC1", NULL, "Mic1 Jack"},
+
+	{"LINE1", NULL, "Line In Jack"},
+	{"LINE2", NULL, "Line In Jack"},
+
+	/* Connect the ALC pins */
+	{"ACIN", NULL, "ACOP"},
+		
+	{NULL, NULL, NULL},
+};
+
+static const char *smdk_scenarios[] = {
+	"Off",
+	"Capture Line In",
+	"Headphones",
+	"Capture Mic1",
+};
+
+static const struct soc_enum smdk_scenario_enum[] = {
+	SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(smdk_scenarios),smdk_scenarios),
+};
+
+static const struct snd_kcontrol_new wm8753_smdk6400_controls[] = {
+	SOC_ENUM_EXT("SMDK Mode", smdk_scenario_enum[0],
+		smdk6400_get_scenario, smdk6400_set_scenario),
+};
+
+/*
+ * This is an example machine initialisation for a wm8753 connected to a
+ * smdk6400. It is missing logic to detect hp/mic insertions and logic
+ * to re-route the audio in such an event.
+ */
+static int smdk6400_wm8753_init(struct snd_soc_codec *codec)
+{
+	int i, err;
+
+	/* set endpoints to default mode */
+	set_scenario_endpoints(codec, SMDK6400_AUDIO_OFF);
+
+	/* Add smdk6400 specific widgets */
+	for (i = 0; i < ARRAY_SIZE(wm8753_dapm_widgets); i++)
+		snd_soc_dapm_new_control(codec, &wm8753_dapm_widgets[i]);
+
+	/* add smdk6400 specific controls */
+	for (i = 0; i < ARRAY_SIZE(wm8753_smdk6400_controls); i++) {
+		err = snd_ctl_add(codec->card,
+				snd_soc_cnew(&wm8753_smdk6400_controls[i],
+				codec, NULL));
+		if (err < 0)
+			return err;
+	}
+
+	/* set up smdk6400 specific audio path audio_mapnects */
+	for (i = 0; audio_map[i][0] != NULL; i++) {
+		snd_soc_dapm_connect_input(codec, audio_map[i][0],
+			audio_map[i][1], audio_map[i][2]);
+	}
+
+	/* always connected */
+	snd_soc_dapm_set_endpoint(codec, "Mic1 Jack", 1);
+	snd_soc_dapm_set_endpoint(codec, "Headphone Jack", 1);
+	snd_soc_dapm_set_endpoint(codec, "Line In Jack", 1);
+
+	snd_soc_dapm_sync_endpoints(codec);
+	return 0;
+}
+
+static struct snd_soc_dai_link smdk6400_dai[] = {
+{ /* Hifi Playback - for similatious use with voice below */
+	.name = "WM8753",
+	.stream_name = "WM8753 HiFi",
+	.cpu_dai = &s3c_i2s_dai,
+	.codec_dai = &wm8753_dai[WM8753_DAI_HIFI],
+	.init = smdk6400_wm8753_init,
+	.ops = &smdk6400_hifi_ops,
+},
+};
+
+static struct snd_soc_machine smdk6400 = {
+	.name = "smdk6400",
+	.dai_link = smdk6400_dai,
+	.num_links = ARRAY_SIZE(smdk6400_dai),
+};
+
+static struct wm8753_setup_data smdk6400_wm8753_setup = {
+	.i2c_address = 0x1a,
+};
+
+static struct snd_soc_device smdk6400_snd_devdata = {
+	.machine = &smdk6400,
+	.platform = &s3c24xx_soc_platform,
+	.codec_dev = &soc_codec_dev_wm8753,
+	.codec_data = &smdk6400_wm8753_setup,
+};
+
+static struct platform_device *smdk6400_snd_device;
+
+static int __init smdk6400_init(void)
+{
+	int ret;
+
+	smdk6400_snd_device = platform_device_alloc("soc-audio", -1);
+	if (!smdk6400_snd_device)
+		return -ENOMEM;
+
+	platform_set_drvdata(smdk6400_snd_device, &smdk6400_snd_devdata);
+	smdk6400_snd_devdata.dev = &smdk6400_snd_device->dev;
+	ret = platform_device_add(smdk6400_snd_device);
+
+	if (ret)
+		platform_device_put(smdk6400_snd_device);
+	
+	return ret;
+}
+
+static void __exit smdk6400_exit(void)
+{
+	platform_device_unregister(smdk6400_snd_device);
+}
+
+module_init(smdk6400_init);
+module_exit(smdk6400_exit);
+
+/* Module information */
+MODULE_AUTHOR("Ryu Euiyoul");
+MODULE_DESCRIPTION("ALSA SoC WM8753 Neo1973");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/smdk6410_s5m8751.c linux-2.6.28.6/sound/soc/s3c64xx/smdk6410_s5m8751.c
--- linux-2.6.28/sound/soc/s3c64xx/smdk6410_s5m8751.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/smdk6410_s5m8751.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,273 @@
+/*
+ * smdk6400_s5m8751.c
+ *
+ * Copyright (C) 2009, Samsung Elect. Ltd. - Jaswinder Singh <jassisinghbrar@gmail.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ */
+
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/timer.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/i2c.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
+
+#include <asm/mach-types.h>
+
+#include <plat/regs-iis.h>
+#include <plat/map-base.h>
+#include <asm/gpio.h> 
+#include <plat/gpio-cfg.h> 
+#include <plat/regs-gpio.h>
+
+#include <mach/hardware.h>
+#include <mach/audio.h>
+#include <asm/io.h>
+#include <plat/regs-clock.h>
+
+#include "../codecs/s5m8751.h"
+#include "s3c-pcm.h"
+
+#include "s3c6410-i2s.h"
+
+#define SRC_CLK	s3c6410_i2s_get_clockrate()
+
+/* XXX BLC(bits-per-channel) --> BFS(bit clock shud be >= FS*(Bit-per-channel)*2) XXX */
+/* XXX BFS --> RFS(must be a multiple of BFS)                                 XXX */
+/* XXX RFS & SRC_CLK --> Prescalar Value(SRC_CLK / RFS_VAL / fs - 1)          XXX */
+static int smdk6410_hw_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
+	struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
+	int bfs, rfs, psr, ret;
+
+	/* Choose BFS and RFS values combination that is supported by
+	 * both the S5M8751 codec as well as the S5P6410 AP
+	 *
+	 * S5M8751 codec supports only S16_LE, S18_3LE, S20_3LE & S24_LE.
+	 * S5P6410 AP supports only S8, S16_LE & S24_LE.
+	 * We implement all for completeness but only S16_LE & S24_LE bit-lengths 
+	 * are possible for this AP-Codec combination.
+	 */
+	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S8:
+		bfs = 16;
+		rfs = 256;		/* Can take any RFS value for AP */
+ 		break;
+ 	case SNDRV_PCM_FORMAT_S16_LE:
+		bfs = 32;
+		rfs = 256;		/* Can take any RFS value for AP */
+ 		break;
+	case SNDRV_PCM_FORMAT_S18_3LE:
+	case SNDRV_PCM_FORMAT_S20_3LE:
+ 	case SNDRV_PCM_FORMAT_S24_LE:
+		bfs = 48;
+		rfs = 512;		/* B'coz 48-BFS needs atleast 512-RFS acc to *S5P6440* UserManual */
+					/* And S5P6440 uses the same I2S IP as S3C6410 */
+ 		break;
+	default:
+		return -EINVAL;
+ 	}
+ 
+	/* Select the AP Sysclk */
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S3C6410_CDCLKSRC_INT, params_rate(params), SND_SOC_CLOCK_OUT);
+	if (ret < 0)
+		return ret;
+
+#ifdef USE_CLKAUDIO
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S3C6410_CLKSRC_CLKAUDIO, params_rate(params), SND_SOC_CLOCK_OUT);
+#else
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S3C6410_CLKSRC_PCLK, 0, SND_SOC_CLOCK_OUT);
+#endif
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP DAI configuration */
+	ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP RFS */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C64XX_DIV_MCLK, rfs);
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP BFS */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C64XX_DIV_BCLK, bfs);
+	if (ret < 0)
+		return ret;
+
+	switch (params_rate(params)) {
+	case 8000:
+	case 11025:
+	case 16000:
+	case 22050:
+	case 32000:
+	case 44100: 
+	case 48000:
+	case 64000:
+	case 88200:
+	case 96000:
+		psr = SRC_CLK / rfs / params_rate(params);
+		ret = SRC_CLK / rfs - psr * params_rate(params);
+		if(ret >= params_rate(params)/2)	// round off
+		   psr += 1;
+		psr -= 1;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	//printk("SRC_CLK=%d PSR=%d RFS=%d BFS=%d\n", SRC_CLK, psr, rfs, bfs);
+
+	/* Set the AP Prescalar */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C64XX_DIV_PRESCALER, psr);
+	if (ret < 0)
+		return ret;
+
+	/* Set the Codec DAI configuration */
+	ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
+	if (ret < 0)
+		return ret;
+
+	/* Set the Codec BCLK(no option to set the MCLK) */
+	ret = snd_soc_dai_set_clkdiv(codec_dai, S5M8751_BCLK, bfs);
+	if (ret < 0)
+		return ret;
+
+	return 0;
+}
+
+/*
+ * S5M8751 DAI operations.
+ */
+static struct snd_soc_ops smdk6410_ops = {
+	.hw_params = smdk6410_hw_params,
+};
+
+static const struct snd_soc_dapm_widget s5m8751_dapm_widgets[] = {
+	SND_SOC_DAPM_LINE("I2S Front Jack", NULL),
+	SND_SOC_DAPM_LINE("I2S Center Jack", NULL),
+	SND_SOC_DAPM_LINE("I2S Rear Jack", NULL),
+	SND_SOC_DAPM_LINE("Line In Jack", NULL),
+};
+
+/* example machine audio_mapnections */
+static const struct snd_soc_dapm_route audio_map[] = {
+
+	{ "I2S Front Jack", NULL, "VOUT1L" },
+	{ "I2S Front Jack", NULL, "VOUT1R" },
+
+	{ "I2S Center Jack", NULL, "VOUT2L" },
+	{ "I2S Center Jack", NULL, "VOUT2R" },
+
+	{ "I2S Rear Jack", NULL, "VOUT3L" },
+	{ "I2S Rear Jack", NULL, "VOUT3R" },
+
+	{ "AINL", NULL, "Line In Jack" },
+	{ "AINR", NULL, "Line In Jack" },
+		
+};
+
+static int smdk6410_s5m8751_init(struct snd_soc_codec *codec)
+{
+	int i;
+
+	/* Add smdk6410 specific widgets */
+	snd_soc_dapm_new_controls(codec, s5m8751_dapm_widgets,ARRAY_SIZE(s5m8751_dapm_widgets));
+
+	/* set up smdk6410 specific audio paths */
+	snd_soc_dapm_add_routes(codec, audio_map,ARRAY_SIZE(audio_map));
+
+	/* No jack detect - mark all jacks as enabled */
+	for (i = 0; i < ARRAY_SIZE(s5m8751_dapm_widgets); i++)
+		snd_soc_dapm_set_endpoint(codec,
+					  s5m8751_dapm_widgets[i].name, 1);
+
+	snd_soc_dapm_sync_endpoints(codec);
+
+	return 0;
+}
+
+static struct snd_soc_dai_link smdk6410_dai[] = {
+{
+	.name = "S5M8751",
+	.stream_name = "S5M8751 Playback",
+	.cpu_dai = &s3c6410_i2s_v32_dai,
+	.codec_dai = &s5m8751_dai,
+	.init = smdk6410_s5m8751_init,
+	.ops = &smdk6410_ops,
+},
+};
+
+static struct snd_soc_machine smdk6410 = {
+	.name = "smdk6410",
+	.dai_link = smdk6410_dai,
+	.num_links = ARRAY_SIZE(smdk6410_dai),
+};
+
+static struct s5m8751_setup_data smdk6410_s5m8751_setup = {
+	.i2c_address = 0x68,
+};
+
+static struct snd_soc_device smdk6410_snd_devdata = {
+	.machine = &smdk6410,
+	.platform = &s3c24xx_soc_platform,
+	.codec_dev = &soc_codec_dev_s5m8751,
+	.codec_data = &smdk6410_s5m8751_setup,
+};
+
+static struct platform_device *smdk6410_snd_device;
+
+static int __init smdk6410_audio_init(void)
+{
+	int ret;
+	u32 val;
+
+	/* Configure the GPD pins in I2S and Pull-Up mode */
+	val = __raw_readl(S3C64XX_GPDPUD);
+	val &= ~((3<<0) | (3<<2) | (3<<4) | (3<<6) | (3<<8));
+	val |= (2<<0) | (2<<2) | (2<<4) | (2<<6) | (2<<8);
+	__raw_writel(val, S3C64XX_GPDPUD);
+
+	val = __raw_readl(S3C64XX_GPDCON);
+	val &= ~((0xf<<0) | (0xf<<4) | (0xf<<8) | (0xf<<12) | (0xf<<16));
+	val |= (3<<0) | (3<<4) | (3<<8) | (3<<12) | (3<<16);
+	__raw_writel(val, S3C64XX_GPDCON);
+
+	smdk6410_snd_device = platform_device_alloc("soc-audio", 0);
+	if (!smdk6410_snd_device)
+		return -ENOMEM;
+
+	platform_set_drvdata(smdk6410_snd_device, &smdk6410_snd_devdata);
+	smdk6410_snd_devdata.dev = &smdk6410_snd_device->dev;
+	ret = platform_device_add(smdk6410_snd_device);
+
+	if (ret)
+		platform_device_put(smdk6410_snd_device);
+	
+	return ret;
+}
+
+static void __exit smdk6410_audio_exit(void)
+{
+	platform_device_unregister(smdk6410_snd_device);
+}
+
+module_init(smdk6410_audio_init);
+module_exit(smdk6410_audio_exit);
+
+/* Module information */
+MODULE_DESCRIPTION("ALSA SoC SMDK6410 S5M8751");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/smdk6410_wm8580.c linux-2.6.28.6/sound/soc/s3c64xx/smdk6410_wm8580.c
--- linux-2.6.28/sound/soc/s3c64xx/smdk6410_wm8580.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/smdk6410_wm8580.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,310 @@
+/*
+ * smdk6400_wm8580.c
+ *
+ * Copyright (C) 2009, Samsung Elect. Ltd. - Jaswinder Singh <jassisinghbrar@gmail.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ */
+
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
+
+#include <asm/io.h>
+#include <asm/gpio.h> 
+#include <plat/gpio-cfg.h> 
+#include <plat/map-base.h>
+
+//#define USE_GPR
+
+#include <plat/regs-gpio.h>
+#ifdef USE_GPR
+#include <plat/gpio-bank-r.h>
+#else
+#include <plat/gpio-bank-h.h>
+#include <plat/gpio-bank-c.h>
+#endif
+
+#include "../codecs/wm8580.h"
+#include "s3c-pcm.h"
+
+#include "s3c6410-i2s.h"
+
+#define SRC_CLK	s3c6410_i2s_get_clockrate()
+
+/* XXX BLC(bits-per-channel) --> BFS(bit clock shud be >= FS*(Bit-per-channel)*2) XXX */
+/* XXX BFS --> RFS(must be a multiple of BFS)                                 XXX */
+/* XXX RFS & SRC_CLK --> Prescalar Value(SRC_CLK / RFS_VAL / fs - 1)          XXX */
+static int smdk6410_hw_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
+	struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
+	int bfs, rfs, psr, ret;
+
+	/* Choose BFS and RFS values combination that is supported by
+	 * both the WM8580 codec as well as the S3C6410 AP
+	 *
+	 * WM8580 codec supports only S16_LE, S20_3LE, S24_LE & S32_LE.
+	 * S3C6410 AP supports only S8, S16_LE & S24_LE.
+	 * We implement all for completeness but only S16_LE & S24_LE bit-lengths 
+	 * are possible for this AP-Codec combination.
+	 */
+	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S8:
+		bfs = 16;
+		rfs = 256;		/* Can take any RFS value for AP */
+ 		break;
+ 	case SNDRV_PCM_FORMAT_S16_LE:
+		bfs = 32;
+		rfs = 256;		/* Can take any RFS value for AP */
+ 		break;
+	case SNDRV_PCM_FORMAT_S20_3LE:
+ 	case SNDRV_PCM_FORMAT_S24_LE:
+		bfs = 48;
+		rfs = 512;		/* B'coz 48-BFS needs atleast 512-RFS acc to *S5P6440* UserManual */
+					/* And S5P6440 uses the same I2S IP as S3C6410 */
+ 		break;
+ 	case SNDRV_PCM_FORMAT_S32_LE:	/* Impossible, as the AP doesn't support 64fs or more BFS */
+	default:
+		return -EINVAL;
+ 	}
+ 
+	/* Select the AP Sysclk */
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S3C6410_CDCLKSRC_INT, params_rate(params), SND_SOC_CLOCK_OUT);
+	if (ret < 0)
+		return ret;
+
+#ifdef USE_CLKAUDIO
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S3C6410_CLKSRC_CLKAUDIO, params_rate(params), SND_SOC_CLOCK_OUT);
+#else
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S3C6410_CLKSRC_PCLK, 0, SND_SOC_CLOCK_OUT);
+#endif
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP DAI configuration */
+	ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP RFS */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C64XX_DIV_MCLK, rfs);
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP BFS */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C64XX_DIV_BCLK, bfs);
+	if (ret < 0)
+		return ret;
+
+	switch (params_rate(params)) {
+	case 8000:
+	case 11025:
+	case 16000:
+	case 22050:
+	case 32000:
+	case 44100: 
+	case 48000:
+	case 64000:
+	case 88200:
+	case 96000:
+		psr = SRC_CLK / rfs / params_rate(params);
+		ret = SRC_CLK / rfs - psr * params_rate(params);
+		if(ret >= params_rate(params)/2)	// round off
+		   psr += 1;
+		psr -= 1;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	//printk("SRC_CLK=%d PSR=%d RFS=%d BFS=%d\n", SRC_CLK, psr, rfs, bfs);
+
+	/* Set the AP Prescalar */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S3C64XX_DIV_PRESCALER, psr);
+	if (ret < 0)
+		return ret;
+
+	/* Set the Codec DAI configuration */
+	ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
+	if (ret < 0)
+		return ret;
+
+	/* Set the Codec BCLK(no option to set the MCLK) */
+	/* See page 2 and 53 of Wm8580 Manual */
+	ret = snd_soc_dai_set_clkdiv(codec_dai, WM8580_MCLK, WM8580_CLKSRC_MCLK); /* Use MCLK provided by CPU i/f */
+	if (ret < 0)
+		return ret;
+	ret = snd_soc_dai_set_clkdiv(codec_dai, WM8580_DAC_CLKSEL, WM8580_CLKSRC_MCLK); /* Fig-26 Pg-43 */
+	if (ret < 0)
+		return ret;
+	ret = snd_soc_dai_set_clkdiv(codec_dai, WM8580_CLKOUTSRC, WM8580_CLKSRC_NONE); /* Pg-58 */
+	if (ret < 0)
+		return ret;
+
+	return 0;
+}
+
+/*
+ * WM8580 DAI operations.
+ */
+static struct snd_soc_ops smdk6410_ops = {
+	.hw_params = smdk6410_hw_params,
+};
+
+static const struct snd_soc_dapm_widget wm8580_dapm_widgets[] = {
+	SND_SOC_DAPM_LINE("I2S Front Jack", NULL),
+	SND_SOC_DAPM_LINE("I2S Center Jack", NULL),
+	SND_SOC_DAPM_LINE("I2S Rear Jack", NULL),
+	SND_SOC_DAPM_LINE("Line In Jack", NULL),
+};
+
+/* example machine audio_mapnections */
+static const struct snd_soc_dapm_route audio_map[] = {
+
+	{ "I2S Front Jack", NULL, "VOUT1L" },
+	{ "I2S Front Jack", NULL, "VOUT1R" },
+
+	{ "I2S Center Jack", NULL, "VOUT2L" },
+	{ "I2S Center Jack", NULL, "VOUT2R" },
+
+	{ "I2S Rear Jack", NULL, "VOUT3L" },
+	{ "I2S Rear Jack", NULL, "VOUT3R" },
+
+	{ "AINL", NULL, "Line In Jack" },
+	{ "AINR", NULL, "Line In Jack" },
+		
+};
+
+static int smdk6410_wm8580_init(struct snd_soc_codec *codec)
+{
+	int i;
+
+	/* Add smdk6410 specific widgets */
+	snd_soc_dapm_new_controls(codec, wm8580_dapm_widgets,ARRAY_SIZE(wm8580_dapm_widgets));
+
+	/* set up smdk6410 specific audio paths */
+	snd_soc_dapm_add_routes(codec, audio_map,ARRAY_SIZE(audio_map));
+
+	/* No jack detect - mark all jacks as enabled */
+	for (i = 0; i < ARRAY_SIZE(wm8580_dapm_widgets); i++)
+		snd_soc_dapm_set_endpoint(codec,
+					  wm8580_dapm_widgets[i].name, 1);
+
+	snd_soc_dapm_sync_endpoints(codec);
+
+	return 0;
+}
+
+static struct snd_soc_dai_link smdk6410_dai[] = {
+{
+	.name = "WM8580",
+	.stream_name = "WM8580 HiFi Playback",
+	.cpu_dai = &s3c6410_i2s_v40_dai,
+	.codec_dai = &wm8580_dai[WM8580_DAI_PAIFRX],
+	.init = smdk6410_wm8580_init,
+	.ops = &smdk6410_ops,
+},
+};
+
+static struct snd_soc_machine smdk6410 = {
+	.name = "smdk6410",
+	.dai_link = smdk6410_dai,
+	.num_links = ARRAY_SIZE(smdk6410_dai),
+};
+
+static struct wm8580_setup_data smdk6410_wm8580_setup = {
+	.i2c_address = 0x1b,
+};
+
+static struct snd_soc_device smdk6410_snd_devdata = {
+	.machine = &smdk6410,
+	.platform = &s3c24xx_soc_platform,
+	.codec_dev = &soc_codec_dev_wm8580,
+	.codec_data = &smdk6410_wm8580_setup,
+};
+
+static struct platform_device *smdk6410_snd_device;
+
+static int __init smdk6410_audio_init(void)
+{
+	int ret;
+	u32 val;
+
+#ifdef USE_GPR
+	val = __raw_readl(S3C64XX_GPRPUD);
+	val &= ~((3<<8) | (3<<10) | (3<<14) | (3<<16) | (3<<18) | (3<<28) | (3<<30));
+	val |= ((0<<8) | (0<<10) | (0<<14) | (0<<16) | (0<<18) | (0<<28) | (1<<30));
+	__raw_writel(val, S3C64XX_GPRPUD);
+
+	val = __raw_readl(S3C64XX_GPRCON0);
+	val &= ~((0xf<<16) | (0xf<<20) | (0xf<<28));
+	val |= (5<<16) | (5<<20) | (5<<28);
+	__raw_writel(val, S3C64XX_GPRCON0);
+
+	val = __raw_readl(S3C64XX_GPRCON1);
+	val &= ~((0xf<<0) | (0xf<<4) | (0xf<<24) | (0xf<<28));
+	val |= (5<<0) | (5<<4) | (5<<24) | (5<<28);
+	__raw_writel(val, S3C64XX_GPRCON1);
+
+#else
+	val = __raw_readl(S3C64XX_GPCPUD);
+	val &= ~((3<<8) | (3<<10) | (3<<14));
+	val |= ((0<<8) | (0<<10) | (0<<14));
+	__raw_writel(val, S3C64XX_GPCPUD);
+
+	val = __raw_readl(S3C64XX_GPCCON);
+	val &= ~((0xf<<16) | (0xf<<20) | (0xf<<28));
+	val |= (5<<16) | (5<<20) | (5<<28);
+	__raw_writel(val, S3C64XX_GPCCON);
+
+	val = __raw_readl(S3C64XX_GPHPUD);
+	val &= ~((3<<12) | (3<<14) | (3<<16) | (3<<18));
+	val |= ((0<<12) | (1<<14) | (0<<16) | (0<18));
+	__raw_writel(val, S3C64XX_GPHPUD);
+
+	val = __raw_readl(S3C64XX_GPHCON0);
+	val &= ~((0xf<<24) | (0xf<<28));
+	val |= (5<<24) | (5<<28);
+	__raw_writel(val, S3C64XX_GPHCON0);
+
+	val = __raw_readl(S3C64XX_GPHCON1);
+	val &= ~((0xf<<0) | (0xf<<4));
+	val |= (5<<0) | (5<<4);
+	__raw_writel(val, S3C64XX_GPHCON1);
+#endif
+
+	smdk6410_snd_device = platform_device_alloc("soc-audio", 0);
+	if (!smdk6410_snd_device)
+		return -ENOMEM;
+
+	platform_set_drvdata(smdk6410_snd_device, &smdk6410_snd_devdata);
+	smdk6410_snd_devdata.dev = &smdk6410_snd_device->dev;
+	ret = platform_device_add(smdk6410_snd_device);
+
+	if (ret)
+		platform_device_put(smdk6410_snd_device);
+	
+	return ret;
+}
+
+static void __exit smdk6410_audio_exit(void)
+{
+	platform_device_unregister(smdk6410_snd_device);
+}
+
+module_init(smdk6410_audio_init);
+module_exit(smdk6410_audio_exit);
+
+/* Module information */
+MODULE_DESCRIPTION("ALSA SoC SMDK6410 WM8580");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/smdk6410_wm8990.c linux-2.6.28.6/sound/soc/s3c64xx/smdk6410_wm8990.c
--- linux-2.6.28/sound/soc/s3c64xx/smdk6410_wm8990.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/smdk6410_wm8990.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,432 @@
+/*
+* smdk6410_wm8990.c  --  SoC audio for SMDK6410 with WM8990
+ *
+ * Copyright 2007, 2008 Wolfson Microelectronics PLC.
+ * Author: Liam Girdwood
+ *         lg@opensource.wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ *  Copyright (C) 2007, Ryu Euiyoul <ryu.real@gmail.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  Revision history
+ *    28th Feb 2008   Initial version.
+ *
+ */
+
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/timer.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/i2c.h>
+//#include <sound/driver.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
+
+#include <asm/mach-types.h>
+#include <plat/regs-iis.h>
+#include <mach/map.h>
+
+#include <plat/regs-gpio.h>
+#include <mach/hardware.h>
+#include <mach/audio.h>
+#include <asm/io.h>
+#include <plat/regs-clock.h>
+
+#include "../codecs/wm8990.h"
+#include "s3c-pcm.h"
+#include "s3c-i2s.h"
+
+/* define the scenarios */
+#define SMDK6410_AUDIO_OFF		0
+#define SMDK6410_CAPTURE_MIC1		3
+#define SMDK6410_STEREO_TO_HEADPHONES	2
+#define SMDK6410_CAPTURE_LINE_IN	1
+
+#ifdef CONFIG_SND_DEBUG
+#define s3cdbg(x...) printk(x)
+#else
+#define s3cdbg(x...)
+#endif
+
+/*
+ * TODO: - We need to work out PLL values for 256FS for every rate.
+ */
+static int smdk6410_hifi_hw_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
+	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
+	unsigned int pll_out = 0;//, bclk = 0;
+	int ret = 0;
+	unsigned int iispsr, iismod;
+	unsigned int prescaler = 4;
+
+	u32*	regs;
+	regs = ioremap(S3C64XX_PA_IIS, 0x100);
+
+	s3cdbg("Entered %s, rate = %d\n", __FUNCTION__, params_rate(params));
+
+	/*PCLK & SCLK gating enable*/
+	writel(readl(S3C_PCLK_GATE)|S3C_CLKCON_PCLK_IIS0, S3C_PCLK_GATE);
+	writel(readl(S3C_SCLK_GATE)|S3C_CLKCON_SCLK_AUDIO0, S3C_SCLK_GATE);
+
+	iismod = readl(regs + S3C64XX_IIS0MOD);
+	iismod &= ~S3C64XX_IIS0MOD_FS_MASK;
+	iismod &= ~S3C64XX_IIS0MOD_BFS_MASK;
+
+	/*Clear I2S prescaler value [13:8] and disable prescaler*/
+	iispsr = readl(regs + S3C64XX_IIS0PSR);	
+	iispsr &=~((0x3f<<8)|(1<<15)); 
+	writel(iispsr, regs + S3C64XX_IIS0PSR);
+	
+	s3cdbg("%s: %d , params = %d\n", __FUNCTION__, __LINE__, params_rate(params));
+
+	switch (params_rate(params)) {
+	case 8000:
+	case 16000:
+	case 32000:
+	case 64100:
+		writel(50332, S3C_EPLL_CON1);
+		writel((1<<31)|(32<<16)|(1<<8)|(3<<0) ,S3C_EPLL_CON0);
+		break;
+	case 11025:
+	case 22050:
+	case 44100:
+	case 88200:
+		writel(10398, S3C_EPLL_CON1);
+		writel((1<<31)|(45<<16)|(1<<8)|(3<<0) ,S3C_EPLL_CON0);
+		break;
+	case 48000:
+	case 96000:
+		writel(9961, S3C_EPLL_CON1);
+		writel((1<<31)|(49<<16)|(1<<8)|(3<<0) ,S3C_EPLL_CON0);
+		break;
+	default:
+		writel(0, S3C_EPLL_CON1);
+		writel((1<<31)|(128<<16)|(25<<8)|(0<<0) ,S3C_EPLL_CON0);
+		break;
+	}
+
+	s3cdbg("%s, IISCON: %x IISMOD: %x,IISFIC: %x,IISPSR: %x\n",
+			__FUNCTION__ , readl(S3C_IIS0CON), readl(S3C_IIS0MOD), 
+			readl(S3C_IIS0FIC), readl(S3C_IIS0PSR));
+	
+	while(!(__raw_readl(S3C_EPLL_CON0)&(1<<30)));
+
+	/* MUXepll : FOUTepll */
+	writel(readl(S3C_CLK_SRC)|S3C_CLKSRC_EPLL_CLKSEL, S3C_CLK_SRC);
+	/* AUDIO0 sel : FOUTepll */
+	writel((readl(S3C_CLK_SRC)&~(0x7<<7))|(0<<7), S3C_CLK_SRC);
+
+	/* CLK_DIV2 setting */
+	writel(0x0,S3C_CLK_DIV2);
+
+	switch (params_rate(params)) {
+	case 8000:
+		pll_out = 2048000;
+		prescaler = 8;
+		break;
+	case 11025:
+		pll_out = 2822400;
+		prescaler = 8; 
+		break;
+	case 16000:
+		pll_out = 4096000;
+		prescaler = 4; 
+		break;
+	case 22050:
+		pll_out = 5644800;
+		prescaler = 4; 
+		break;
+	case 32000:
+		pll_out = 8192000;
+		prescaler = 2; 
+		break;
+	case 44100:
+		pll_out = 11289600;
+		//prescaler = 6; 
+		prescaler = 2; 
+		break;
+	case 48000:
+		pll_out = 12288000;
+		prescaler = 2; 
+		break;
+	case 88200:
+		pll_out = 22579200;
+		prescaler = 1; 
+		break;
+	case 96000:
+		pll_out = 24576000;
+		prescaler = 1;
+		break;
+	default:
+		/* somtimes 32000 rate comes to 96000 
+		   default values are same as 32000 */
+		iismod |= S3C64XX_IIS0MOD_384FS;
+		pll_out = 12288000;
+		break;
+	}
+
+	/* set MCLK division for sample rate */
+	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S8:
+	case SNDRV_PCM_FORMAT_S16_LE:
+		iismod |= S3C64XX_IIS0MOD_256FS | S3C64XX_IIS0MOD_32FS;
+		prescaler *= 3;
+		break;
+	case SNDRV_PCM_FORMAT_S24_LE:
+		iismod |= S3C64XX_IIS0MOD_384FS | S3C64XX_IIS0MOD_48FS;
+		prescaler *= 2;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	prescaler = prescaler - 1; 
+	writel(iismod , regs + S3C64XX_IIS0MOD);
+
+	/* set codec DAI configuration */
+	ret = codec_dai->dai_ops.set_fmt(codec_dai,
+		SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
+		SND_SOC_DAIFMT_CBS_CFS ); 
+	if (ret < 0)
+		return ret;
+
+	/* set cpu DAI configuration */
+	ret = cpu_dai->dai_ops.set_fmt(cpu_dai,
+		SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
+		SND_SOC_DAIFMT_CBS_CFS ); 
+	if (ret < 0)
+		return ret;
+
+	/* set the codec system clock for DAC and ADC */
+	ret = codec_dai->dai_ops.set_sysclk(codec_dai, WM8990_MCLK, pll_out,
+		SND_SOC_CLOCK_IN);
+	if (ret < 0)
+		return ret;
+
+	/* set prescaler division for sample rate */
+	ret = cpu_dai->dai_ops.set_clkdiv(cpu_dai, S3C24XX_DIV_PRESCALER,
+		(prescaler << 0x8));
+	if (ret < 0)
+		return ret;
+
+	return 0;
+}
+
+/*
+ * Neo1973 WM8990 HiFi DAI opserations.
+ */
+static struct snd_soc_ops smdk6410_hifi_ops = {
+	.hw_params = smdk6410_hifi_hw_params,
+};
+
+static int smdk6410_scenario = 0;
+
+static int smdk6410_get_scenario(struct snd_kcontrol *kcontrol,
+	struct snd_ctl_elem_value *ucontrol)
+{
+	ucontrol->value.integer.value[0] = smdk6410_scenario;
+	return 0;
+}
+
+static int set_scenario_endpoints(struct snd_soc_codec *codec, int scenario)
+{
+	smdk6410_scenario = scenario;
+	switch (smdk6410_scenario) {
+	case SMDK6410_AUDIO_OFF:
+		snd_soc_dapm_set_endpoint(codec, "Headphone Jack",    0);
+		snd_soc_dapm_set_endpoint(codec, "Mic1 Jack",  0);
+		snd_soc_dapm_set_endpoint(codec, "Line In Jack",  0);
+		break;
+	case SMDK6410_STEREO_TO_HEADPHONES:
+		snd_soc_dapm_set_endpoint(codec, "Headphone Jack",    1);
+		snd_soc_dapm_set_endpoint(codec, "Mic1 Jack",  0);
+		snd_soc_dapm_set_endpoint(codec, "Line In Jack",  0);
+		break;
+	case SMDK6410_CAPTURE_MIC1:
+		snd_soc_dapm_set_endpoint(codec, "Headphone Jack",    0);
+		snd_soc_dapm_set_endpoint(codec, "Mic1 Jack",  1);
+		snd_soc_dapm_set_endpoint(codec, "Line In Jack",  0);
+		break;
+	case SMDK6410_CAPTURE_LINE_IN:
+		snd_soc_dapm_set_endpoint(codec, "Headphone Jack",    0);
+		snd_soc_dapm_set_endpoint(codec, "Mic1 Jack",  0);
+		snd_soc_dapm_set_endpoint(codec, "Line In Jack",  1);
+		break;
+	default:
+		snd_soc_dapm_set_endpoint(codec, "Headphone Jack",    1);
+		snd_soc_dapm_set_endpoint(codec, "Mic1 Jack",  1);
+		snd_soc_dapm_set_endpoint(codec, "Line In Jack",  1);
+		break;
+	}
+
+	snd_soc_dapm_sync_endpoints(codec);
+	return 0;
+}
+
+static int smdk6410_set_scenario(struct snd_kcontrol *kcontrol,
+	struct snd_ctl_elem_value *ucontrol)
+{
+	struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
+
+	if (smdk6410_scenario == ucontrol->value.integer.value[0])
+		return 0;
+
+	set_scenario_endpoints(codec, ucontrol->value.integer.value[0]);
+	return 1;
+}
+
+static const struct snd_soc_dapm_widget wm8990_dapm_widgets[] = {
+	SND_SOC_DAPM_HP("Headphone Jack", NULL),
+	SND_SOC_DAPM_MIC("Mic1 Jack", NULL),
+	SND_SOC_DAPM_LINE("Line In Jack", NULL),
+};
+
+/* example machine audio_mapnections */
+static const struct snd_soc_dapm_route audio_map[] = {
+
+	/* no irq jack detect */
+	{"Headphone Jack", NULL, "LOUT"},
+	{"Headphone Jack", NULL, "ROUT"},
+
+	/* mic is connected to LIN1 and LIN2 - with bias */
+	{"LIN1", NULL, "Mic1 Jack"},
+	//{"LIN2", NULL, "Mic1 Jack"},
+
+	{"LIN2", NULL, "Line In Jack"},
+	{"RIN2", NULL, "Line In Jack"},
+		
+};
+
+static const char *smdk_scenarios[] = {
+	"Off",
+	"Capture Line In",
+	"Headphones",
+	"Capture Mic1",
+};
+
+static const struct soc_enum smdk_scenario_enum[] = {
+	SOC_ENUM_SINGLE_EXT(ARRAY_SIZE(smdk_scenarios),smdk_scenarios),
+};
+
+static const struct snd_kcontrol_new wm8990_smdk6410_controls[] = {
+	SOC_ENUM_EXT("SMDK Mode", smdk_scenario_enum[0],
+		smdk6410_get_scenario, smdk6410_set_scenario),
+};
+
+/*
+ * This is an example machine initialisation for a wm8990 connected to a
+ * smdk6410. It is missing logic to detect hp/mic insertions and logic
+ * to re-route the audio in such an event.
+ */
+static int smdk6410_wm8990_init(struct snd_soc_codec *codec)
+{
+	int i, err;
+
+	/* Add smdk6410 specific widgets */
+	for (i = 0; i < ARRAY_SIZE(wm8990_dapm_widgets); i++)
+		snd_soc_dapm_new_control(codec, &wm8990_dapm_widgets[i]);
+
+	/* add smdk6410 specific controls */
+	for (i = 0; i < ARRAY_SIZE(wm8990_smdk6410_controls); i++) {
+		err = snd_ctl_add(codec->card,
+				snd_soc_cnew(&wm8990_smdk6410_controls[i],
+				codec, NULL));
+		if (err < 0)
+			return err;
+	}
+
+	/* set up smdk6410 specific audio paths */
+	snd_soc_dapm_add_routes(codec, audio_map,ARRAY_SIZE(audio_map));
+
+	/* not connected */
+	snd_soc_dapm_set_endpoint(codec, "RIN1", 0);
+	snd_soc_dapm_set_endpoint(codec, "LIN3", 0);
+	snd_soc_dapm_set_endpoint(codec, "LIN4", 0);
+	snd_soc_dapm_set_endpoint(codec, "RIN3", 0);
+	snd_soc_dapm_set_endpoint(codec, "RIN4", 0);
+	snd_soc_dapm_set_endpoint(codec, "OUT3", 0);
+	snd_soc_dapm_set_endpoint(codec, "OUT4", 0);
+	snd_soc_dapm_set_endpoint(codec, "SPKP", 0);
+	snd_soc_dapm_set_endpoint(codec, "SPKN", 0);
+	snd_soc_dapm_set_endpoint(codec, "ROP", 0);
+	snd_soc_dapm_set_endpoint(codec, "RON", 0);
+	snd_soc_dapm_set_endpoint(codec, "LOP", 0);
+	snd_soc_dapm_set_endpoint(codec, "LON", 0);
+
+	/* set endpoints to default mode & sync with DAPM */
+	set_scenario_endpoints(codec, SMDK6410_STEREO_TO_HEADPHONES);
+		
+	return 0;
+}
+
+static struct snd_soc_dai_link smdk6410_dai[] = {
+{ /* Hifi Playback - for similatious use with voice below */
+	.name = "WM8990",
+	.stream_name = "WM8990 HiFi",
+	.cpu_dai = &s3c_i2s_dai,
+	.codec_dai = &wm8990_dai,
+	.init = smdk6410_wm8990_init,
+	.ops = &smdk6410_hifi_ops,
+},
+};
+
+static struct snd_soc_machine smdk6410 = {
+	.name = "smdk6410",
+	.dai_link = smdk6410_dai,
+	.num_links = ARRAY_SIZE(smdk6410_dai),
+};
+
+static struct wm8990_setup_data smdk6410_wm8990_setup = {
+	.i2c_address = 0x1b,
+};
+
+static struct snd_soc_device smdk6410_snd_devdata = {
+	.machine = &smdk6410,
+	.platform = &s3c24xx_soc_platform,
+	.codec_dev = &soc_codec_dev_wm8990,
+	.codec_data = &smdk6410_wm8990_setup,
+};
+
+static struct platform_device *smdk6410_snd_device;
+
+static int __init smdk6410_init(void)
+{
+	int ret;
+
+	smdk6410_snd_device = platform_device_alloc("soc-audio", -1);
+	if (!smdk6410_snd_device)
+		return -ENOMEM;
+
+	platform_set_drvdata(smdk6410_snd_device, &smdk6410_snd_devdata);
+	smdk6410_snd_devdata.dev = &smdk6410_snd_device->dev;
+	ret = platform_device_add(smdk6410_snd_device);
+
+	if (ret)
+		platform_device_put(smdk6410_snd_device);
+	
+	return ret;
+}
+
+static void __exit smdk6410_exit(void)
+{
+	platform_device_unregister(smdk6410_snd_device);
+}
+
+module_init(smdk6410_init);
+module_exit(smdk6410_exit);
+
+/* Module information */
+MODULE_AUTHOR("Liam Girdwood");
+MODULE_DESCRIPTION("ALSA SoC WM8990 SMDK6410");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/smdk6440_s5m8751.c linux-2.6.28.6/sound/soc/s3c64xx/smdk6440_s5m8751.c
--- linux-2.6.28/sound/soc/s3c64xx/smdk6440_s5m8751.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/smdk6440_s5m8751.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,269 @@
+/*
+ * smdk6440_s5m8751.c
+ *
+ * Copyright (C) 2009, Samsung Elect. Ltd. - Jaswinder Singh <jassisinghbrar@gmail.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ */
+
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
+
+#include <asm/io.h>
+#include <asm/gpio.h> 
+#include <mach/map.h>
+#include <plat/regs-gpio.h> 
+#include <plat/gpio-cfg.h> 
+#include <plat/gpio-bank-r.h>
+#include <plat/map-base.h>
+#include <plat/regs-clock.h>
+
+#include "../codecs/s5m8751.h"
+#include "s3c-pcm.h"
+
+#include "s5p6440-i2s.h"
+
+#define SRC_CLK	s5p6440_i2s_get_clockrate()
+
+/* XXX BLC(bits-per-channel) --> BFS(bit clock shud be >= FS*(Bit-per-channel)*2) XXX */
+/* XXX BFS --> RFS(must be a multiple of BFS)                                 XXX */
+/* XXX RFS & SRC_CLK --> Prescalar Value(SRC_CLK / RFS_VAL / fs - 1)          XXX */
+static int smdk6440_hw_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
+	struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
+	int bfs, rfs, psr, ret;
+
+	/* Choose BFS and RFS values combination that is supported by
+	 * both the S5M8751 codec as well as the S5P6440 AP
+	 *
+	 * S5M8751 codec supports only S16_LE, S18_3LE, S20_3LE & S24_LE.
+	 * S5P6440 AP supports only S8, S16_LE & S24_LE.
+	 * We implement all for completeness but only S16_LE & S24_LE bit-lengths 
+	 * are possible for this AP-Codec combination.
+	 */
+	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S8:
+		bfs = 16;
+		rfs = 256;		/* Can take any RFS value for AP */
+ 		break;
+ 	case SNDRV_PCM_FORMAT_S16_LE:
+		bfs = 32;
+		rfs = 256;		/* Can take any RFS value for AP */
+ 		break;
+	case SNDRV_PCM_FORMAT_S18_3LE:
+	case SNDRV_PCM_FORMAT_S20_3LE:
+ 	case SNDRV_PCM_FORMAT_S24_LE:
+		bfs = 48;
+		rfs = 512;		/* See Table 41-1,2 of S5P6440 UserManual */
+ 		break;
+	default:
+		return -EINVAL;
+ 	}
+ 
+	/* Select the AP Sysclk */
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S5P6440_CDCLKSRC_INT, params_rate(params), SND_SOC_CLOCK_OUT);
+	if (ret < 0)
+		return ret;
+
+#ifdef USE_CLKAUDIO
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S5P6440_CLKSRC_CLKAUDIO, params_rate(params), SND_SOC_CLOCK_OUT);
+#else
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S5P6440_CLKSRC_PCLK, 0, SND_SOC_CLOCK_OUT);
+#endif
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP DAI configuration */
+	ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP RFS */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S5P64XX_DIV_MCLK, rfs);
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP BFS */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S5P64XX_DIV_BCLK, bfs);
+	if (ret < 0)
+		return ret;
+
+	switch (params_rate(params)) {
+	case 8000:
+	case 11025:
+	case 16000:
+	case 22050:
+	case 32000:
+	case 44100: 
+	case 48000:
+	case 64000:
+	case 88200:
+	case 96000:
+		psr = SRC_CLK / rfs / params_rate(params);
+		ret = SRC_CLK / rfs - psr * params_rate(params);
+		if(ret >= params_rate(params)/2)	// round off
+		   psr += 1;
+		psr -= 1;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	//printk("SRC_CLK=%d PSR=%d RFS=%d BFS=%d\n", SRC_CLK, psr, rfs, bfs);
+
+	/* Set the AP Prescalar */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S5P64XX_DIV_PRESCALER, psr);
+	if (ret < 0)
+		return ret;
+
+	/* Set the Codec DAI configuration */
+	ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
+	if (ret < 0)
+		return ret;
+
+	/* Set the Codec BCLK(no option to set the MCLK) */
+	ret = snd_soc_dai_set_clkdiv(codec_dai, S5M8751_BCLK, bfs);
+	if (ret < 0)
+		return ret;
+
+	return 0;
+}
+
+/*
+ * S5M8751 DAI operations.
+ */
+static struct snd_soc_ops smdk6440_ops = {
+	.hw_params = smdk6440_hw_params,
+};
+
+static const struct snd_soc_dapm_widget s5m8751_dapm_widgets[] = {
+	SND_SOC_DAPM_LINE("I2S Front Jack", NULL),
+	SND_SOC_DAPM_LINE("I2S Center Jack", NULL),
+	SND_SOC_DAPM_LINE("I2S Rear Jack", NULL),
+	SND_SOC_DAPM_LINE("Line In Jack", NULL),
+};
+
+/* example machine audio_mapnections */
+static const struct snd_soc_dapm_route audio_map[] = {
+
+	{ "I2S Front Jack", NULL, "VOUT1L" },
+	{ "I2S Front Jack", NULL, "VOUT1R" },
+
+	{ "I2S Center Jack", NULL, "VOUT2L" },
+	{ "I2S Center Jack", NULL, "VOUT2R" },
+
+	{ "I2S Rear Jack", NULL, "VOUT3L" },
+	{ "I2S Rear Jack", NULL, "VOUT3R" },
+
+	{ "AINL", NULL, "Line In Jack" },
+	{ "AINR", NULL, "Line In Jack" },
+		
+};
+
+static int smdk6440_s5m8751_init(struct snd_soc_codec *codec)
+{
+	int i;
+
+	/* Add smdk6440 specific widgets */
+	snd_soc_dapm_new_controls(codec, s5m8751_dapm_widgets,ARRAY_SIZE(s5m8751_dapm_widgets));
+
+	/* set up smdk6440 specific audio paths */
+	snd_soc_dapm_add_routes(codec, audio_map,ARRAY_SIZE(audio_map));
+
+	/* No jack detect - mark all jacks as enabled */
+	for (i = 0; i < ARRAY_SIZE(s5m8751_dapm_widgets); i++)
+		snd_soc_dapm_set_endpoint(codec,
+					  s5m8751_dapm_widgets[i].name, 1);
+
+	snd_soc_dapm_sync_endpoints(codec);
+
+	return 0;
+}
+
+static struct snd_soc_dai_link smdk6440_dai[] = {
+{
+	.name = "S5M8751",
+	.stream_name = "S5M8751 Playback",
+	.cpu_dai = &s5p6440_i2s_v40_dai,
+	.codec_dai = &s5m8751_dai,
+	.init = smdk6440_s5m8751_init,
+	.ops = &smdk6440_ops,
+},
+};
+
+static struct snd_soc_machine smdk6440 = {
+	.name = "smdk6440",
+	.dai_link = smdk6440_dai,
+	.num_links = ARRAY_SIZE(smdk6440_dai),
+};
+
+static struct s5m8751_setup_data smdk6440_s5m8751_setup = {
+	.i2c_address = 0x68,
+};
+
+static struct snd_soc_device smdk6440_snd_devdata = {
+	.machine = &smdk6440,
+	.platform = &s3c24xx_soc_platform,
+	.codec_dev = &soc_codec_dev_s5m8751,
+	.codec_data = &smdk6440_s5m8751_setup,
+};
+
+static struct platform_device *smdk6440_snd_device;
+
+static int __init vega_audio_init(void)
+{
+	int ret;
+	u32 val;
+	/* configure the GPR pins is I2C mode */
+	/* Configure the GPR pins in I2S mode */
+	val = __raw_readl(S5P64XX_GPRPUD);
+	val &= ~((3<<8) | (3<<10) | (3<<14) | (3<<16) | (3<<18) | (3<<20) | (3<<28) | (3<<30));
+	val |= ((0<<8) | (0<<10) | (0<<14) | (0<<16) | (0<<18) | (1<<19) | (1<<21) | (0<<28) | (1<<30));
+	__raw_writel(val, S5P64XX_GPRPUD);
+
+	val = __raw_readl(S5P64XX_GPRCON0);
+	val &= ~((0xf<<16) | (0xf<<20) | (0xf<<28));
+	val |= (5<<16) | (5<<20) | (5<<28);
+	__raw_writel(val, S5P64XX_GPRCON0);
+
+	val = __raw_readl(S5P64XX_GPRCON1);
+	val &= ~((0xf<<0) | (0xf<<4) | (0xf<<8) | (0xf<<12) | (0xf<<24) | (0xf<<28));
+	val |= (5<<0) | (5<<4) | (3<<9) | (3<<13) | (5<<24) | (5<<28);
+	__raw_writel(val, S5P64XX_GPRCON1);
+
+	smdk6440_snd_device = platform_device_alloc("soc-audio", 0);
+	if (!smdk6440_snd_device)
+		return -ENOMEM;
+
+	platform_set_drvdata(smdk6440_snd_device, &smdk6440_snd_devdata);
+	smdk6440_snd_devdata.dev = &smdk6440_snd_device->dev;
+	ret = platform_device_add(smdk6440_snd_device);
+
+	if (ret)
+		platform_device_put(smdk6440_snd_device);
+	
+	return ret;
+}
+
+static void __exit vega_audio_exit(void)
+{
+	platform_device_unregister(smdk6440_snd_device);
+}
+
+module_init(vega_audio_init);
+module_exit(vega_audio_exit);
+
+/* Module information */
+MODULE_DESCRIPTION("ALSA SoC SMDK6440 S5M8751");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/smdk6440_wm8580.c linux-2.6.28.6/sound/soc/s3c64xx/smdk6440_wm8580.c
--- linux-2.6.28/sound/soc/s3c64xx/smdk6440_wm8580.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/smdk6440_wm8580.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,317 @@
+/*
+ * smdk6440_wm8580.c
+ *
+ * Copyright (C) 2009, Samsung Elect. Ltd. - Jaswinder Singh <jassisinghbrar@gmail.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ */
+
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
+
+#include <asm/io.h>
+#include <asm/gpio.h> 
+#include <mach/map.h>
+#include <plat/regs-gpio.h> 
+#include <plat/gpio-cfg.h> 
+
+//#define USE_GPR
+
+#ifdef USE_GPR
+#include <plat/gpio-bank-r.h>
+#else
+#include <plat/gpio-bank-h.h>
+#include <plat/gpio-bank-c.h>
+#endif
+
+#include <plat/map-base.h>
+#include <plat/regs-clock.h>
+
+#include "../codecs/wm8580.h"
+#include "s3c-pcm.h"
+
+#include "s5p6440-i2s.h"
+
+#define SRC_CLK	s5p6440_i2s_get_clockrate()
+
+/* XXX BLC(bits-per-channel) --> BFS(bit clock shud be >= FS*(Bit-per-channel)*2) XXX */
+/* XXX BFS --> RFS(must be a multiple of BFS)                                 XXX */
+/* XXX RFS & SRC_CLK --> Prescalar Value(SRC_CLK / RFS_VAL / fs - 1)          XXX */
+static int smdk6440_hw_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
+	struct snd_soc_dai *codec_dai = rtd->dai->codec_dai;
+	int bfs, rfs, psr, ret;
+
+	/* Choose BFS and RFS values combination that is supported by
+	 * both the WM8580 codec as well as the S5P6440 AP
+	 *
+	 * WM8580 codec supports only S16_LE, S20_3LE, S24_LE & S32_LE.
+	 * S5P6440 AP supports only S8, S16_LE & S24_LE.
+	 * We implement all for completeness but only S16_LE & S24_LE bit-lengths 
+	 * are possible for this AP-Codec combination.
+	 */
+	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S8:
+		bfs = 16;
+		rfs = 256;		/* Can take any RFS value for AP */
+ 		break;
+ 	case SNDRV_PCM_FORMAT_S16_LE:
+		bfs = 32;
+		rfs = 256;		/* Can take any RFS value for AP */
+ 		break;
+	case SNDRV_PCM_FORMAT_S20_3LE:
+ 	case SNDRV_PCM_FORMAT_S24_LE:
+		bfs = 48;
+		rfs = 512;		/* See Table 41-1,2 of S5P6440 UserManual */
+ 		break;
+ 	case SNDRV_PCM_FORMAT_S32_LE:	/* Impossible, as the AP doesn't support 64fs or more BFS */
+	default:
+		return -EINVAL;
+ 	}
+ 
+	/* Select the AP Sysclk */
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S5P6440_CDCLKSRC_INT, params_rate(params), SND_SOC_CLOCK_OUT);
+	if (ret < 0)
+		return ret;
+
+#ifdef USE_CLKAUDIO
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S5P6440_CLKSRC_CLKAUDIO, params_rate(params), SND_SOC_CLOCK_OUT);
+#else
+	ret = snd_soc_dai_set_sysclk(cpu_dai, S5P6440_CLKSRC_PCLK, 0, SND_SOC_CLOCK_OUT);
+#endif
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP DAI configuration */
+	ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP RFS */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S5P64XX_DIV_MCLK, rfs);
+	if (ret < 0)
+		return ret;
+
+	/* Set the AP BFS */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S5P64XX_DIV_BCLK, bfs);
+	if (ret < 0)
+		return ret;
+
+	switch (params_rate(params)) {
+	case 8000:
+	case 11025:
+	case 16000:
+	case 22050:
+	case 32000:
+	case 44100: 
+	case 48000:
+	case 64000:
+	case 88200:
+	case 96000:
+		psr = SRC_CLK / rfs / params_rate(params);
+		ret = SRC_CLK / rfs - psr * params_rate(params);
+		if(ret >= params_rate(params)/2)	// round off
+		   psr += 1;
+		psr -= 1;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	//printk("SRC_CLK=%d PSR=%d RFS=%d BFS=%d\n", SRC_CLK, psr, rfs, bfs);
+
+	/* Set the AP Prescalar */
+	ret = snd_soc_dai_set_clkdiv(cpu_dai, S5P64XX_DIV_PRESCALER, psr);
+	if (ret < 0)
+		return ret;
+
+	/* Set the Codec DAI configuration */
+	ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS);
+	if (ret < 0)
+		return ret;
+
+	/* Set the Codec BCLK(no option to set the MCLK) */
+	/* See page 2 and 53 of Wm8580 Manual */
+	ret = snd_soc_dai_set_clkdiv(codec_dai, WM8580_MCLK, WM8580_CLKSRC_MCLK); /* Use MCLK provided by CPU i/f */
+	if (ret < 0)
+		return ret;
+	ret = snd_soc_dai_set_clkdiv(codec_dai, WM8580_DAC_CLKSEL, WM8580_CLKSRC_MCLK); /* Fig-26 Pg-43 */
+	if (ret < 0)
+		return ret;
+	ret = snd_soc_dai_set_clkdiv(codec_dai, WM8580_CLKOUTSRC, WM8580_CLKSRC_NONE); /* Pg-58 */
+	if (ret < 0)
+		return ret;
+
+	return 0;
+}
+
+/*
+ * WM8580 DAI operations.
+ */
+static struct snd_soc_ops smdk6440_ops = {
+	.hw_params = smdk6440_hw_params,
+};
+
+static const struct snd_soc_dapm_widget wm8580_dapm_widgets[] = {
+	SND_SOC_DAPM_LINE("I2S Front Jack", NULL),
+	SND_SOC_DAPM_LINE("I2S Center Jack", NULL),
+	SND_SOC_DAPM_LINE("I2S Rear Jack", NULL),
+	SND_SOC_DAPM_LINE("Line In Jack", NULL),
+};
+
+/* example machine audio_mapnections */
+static const struct snd_soc_dapm_route audio_map[] = {
+
+	{ "I2S Front Jack", NULL, "VOUT1L" },
+	{ "I2S Front Jack", NULL, "VOUT1R" },
+
+	{ "I2S Center Jack", NULL, "VOUT2L" },
+	{ "I2S Center Jack", NULL, "VOUT2R" },
+
+	{ "I2S Rear Jack", NULL, "VOUT3L" },
+	{ "I2S Rear Jack", NULL, "VOUT3R" },
+
+	{ "AINL", NULL, "Line In Jack" },
+	{ "AINR", NULL, "Line In Jack" },
+		
+};
+
+static int smdk6440_wm8580_init(struct snd_soc_codec *codec)
+{
+	int i;
+
+	/* Add smdk6440 specific widgets */
+	snd_soc_dapm_new_controls(codec, wm8580_dapm_widgets,ARRAY_SIZE(wm8580_dapm_widgets));
+
+	/* set up smdk6440 specific audio paths */
+	snd_soc_dapm_add_routes(codec, audio_map,ARRAY_SIZE(audio_map));
+
+	/* No jack detect - mark all jacks as enabled */
+	for (i = 0; i < ARRAY_SIZE(wm8580_dapm_widgets); i++)
+		snd_soc_dapm_set_endpoint(codec,
+					  wm8580_dapm_widgets[i].name, 1);
+
+	snd_soc_dapm_sync_endpoints(codec);
+
+	return 0;
+}
+
+static struct snd_soc_dai_link smdk6440_dai[] = {
+{
+	.name = "WM8580",
+	.stream_name = "WM8580 HiFi Playback",
+	.cpu_dai = &s5p6440_i2s_v40_dai,
+	.codec_dai = &wm8580_dai[WM8580_DAI_PAIFRX],
+	.init = smdk6440_wm8580_init,
+	.ops = &smdk6440_ops,
+},
+};
+
+static struct snd_soc_machine smdk6440 = {
+	.name = "smdk6440",
+	.dai_link = smdk6440_dai,
+	.num_links = ARRAY_SIZE(smdk6440_dai),
+};
+
+static struct wm8580_setup_data smdk6440_wm8580_setup = {
+	.i2c_address = 0x1b,
+};
+
+static struct snd_soc_device smdk6440_snd_devdata = {
+	.machine = &smdk6440,
+	.platform = &s3c24xx_soc_platform,
+	.codec_dev = &soc_codec_dev_wm8580,
+	.codec_data = &smdk6440_wm8580_setup,
+};
+
+static struct platform_device *smdk6440_snd_device;
+
+static int __init vega_audio_init(void)
+{
+	int ret;
+	u32 val;
+
+#ifdef USE_GPR
+	val = __raw_readl(S5P64XX_GPRPUD);
+	val &= ~((3<<8) | (3<<10) | (3<<14) | (3<<16) | (3<<18) | (3<<28) | (3<<30));
+	val |= ((0<<8) | (0<<10) | (0<<14) | (0<<16) | (0<<18) | (0<<28) | (1<<30));
+	__raw_writel(val, S5P64XX_GPRPUD);
+
+	val = __raw_readl(S5P64XX_GPRCON0);
+	val &= ~((0xf<<16) | (0xf<<20) | (0xf<<28));
+	val |= (5<<16) | (5<<20) | (5<<28);
+	__raw_writel(val, S5P64XX_GPRCON0);
+
+	val = __raw_readl(S5P64XX_GPRCON1);
+	val &= ~((0xf<<0) | (0xf<<4) | (0xf<<24) | (0xf<<28));
+	val |= (5<<0) | (5<<4) | (5<<24) | (5<<28);
+	__raw_writel(val, S5P64XX_GPRCON1);
+
+#else
+	val = __raw_readl(S5P64XX_GPCPUD);
+	val &= ~((3<<8) | (3<<10) | (3<<14));
+	val |= ((0<<8) | (0<<10) | (0<<14));
+	__raw_writel(val, S5P64XX_GPCPUD);
+
+	val = __raw_readl(S5P64XX_GPCCON);
+	val &= ~((0xf<<16) | (0xf<<20) | (0xf<<28));
+	val |= (5<<16) | (5<<20) | (5<<28);
+	__raw_writel(val, S5P64XX_GPCCON);
+
+	val = __raw_readl(S5P64XX_GPHPUD);
+	val &= ~((3<<12) | (3<<14) | (3<<16) | (3<<18));
+	val |= ((0<<12) | (1<<14) | (0<<16) | (0<18));
+	__raw_writel(val, S5P64XX_GPHPUD);
+
+	val = __raw_readl(S5P64XX_GPHCON0);
+	val &= ~((0xf<<24) | (0xf<<28));
+	val |= (5<<24) | (5<<28);
+	__raw_writel(val, S5P64XX_GPHCON0);
+
+	val = __raw_readl(S5P64XX_GPHCON1);
+	val &= ~((0xf<<0) | (0xf<<4));
+	val |= (5<<0) | (5<<4);
+	__raw_writel(val, S5P64XX_GPHCON1);
+
+	val = __raw_readl(S3C_CLK_OUT);
+	val &= ~(0xff << 12);
+	val |= (0x1<<12) | (0<<16);
+	__raw_writel(val, S3C_CLK_OUT);
+#endif
+
+	smdk6440_snd_device = platform_device_alloc("soc-audio", 0);
+	if (!smdk6440_snd_device)
+		return -ENOMEM;
+
+	platform_set_drvdata(smdk6440_snd_device, &smdk6440_snd_devdata);
+	smdk6440_snd_devdata.dev = &smdk6440_snd_device->dev;
+	ret = platform_device_add(smdk6440_snd_device);
+
+	if (ret)
+		platform_device_put(smdk6440_snd_device);
+	
+	return ret;
+}
+
+static void __exit vega_audio_exit(void)
+{
+	platform_device_unregister(smdk6440_snd_device);
+}
+
+module_init(vega_audio_init);
+module_exit(vega_audio_exit);
+
+/* Module information */
+MODULE_DESCRIPTION("ALSA SoC SMDK6440 WM8580");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s3c64xx/smdk64xx_wm9713.c linux-2.6.28.6/sound/soc/s3c64xx/smdk64xx_wm9713.c
--- linux-2.6.28/sound/soc/s3c64xx/smdk64xx_wm9713.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s3c64xx/smdk64xx_wm9713.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,88 @@
+/*
+ * smdk6400_wm9713.c  --  SoC audio for smdk6400
+ *
+ * Copyright (C) 2007, Ryu Euiyoul <ryu.real@gmail.com>
+ *
+ * Copyright 2007 Wolfson Microelectronics PLC.
+ * Author: Graeme Gregory
+ *         graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  Revision history
+ *    8th  Mar 2007   Initial version.
+ *    20th Sep 2007   Apply at smdk6400
+ *
+ */
+
+#include <linux/module.h>
+#include <linux/device.h>
+#include <sound/driver.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
+
+#include "../codecs/wm9713.h"
+#include "s3c-pcm.h"
+#include "s3c64xx-ac97.h"
+
+static struct snd_soc_machine smdk6400;
+
+static struct snd_soc_dai_link smdk6400_dai[] = {
+{
+	.name = "AC97",
+	.stream_name = "AC97 HiFi",
+	.cpu_dai = &s3c6400_ac97_dai[0],
+	.codec_dai = &wm9713_dai[WM9713_DAI_AC97_HIFI],
+},
+};
+
+static struct snd_soc_machine smdk6400 = {
+	.name = "SMDK6400",
+	.dai_link = smdk6400_dai,
+	.num_links = ARRAY_SIZE(smdk6400_dai),
+};
+
+static struct snd_soc_device smdk6400_snd_ac97_devdata = {
+	.machine = &smdk6400,
+	.platform = &s3c24xx_soc_platform,
+	.codec_dev = &soc_codec_dev_wm9713,
+};
+
+static struct platform_device *smdk6400_snd_ac97_device;
+
+static int __init smdk6400_init(void)
+{
+	int ret;
+
+	smdk6400_snd_ac97_device = platform_device_alloc("soc-audio", -1);
+	if (!smdk6400_snd_ac97_device)
+		return -ENOMEM;
+
+	platform_set_drvdata(smdk6400_snd_ac97_device,
+				&smdk6400_snd_ac97_devdata);
+	smdk6400_snd_ac97_devdata.dev = &smdk6400_snd_ac97_device->dev;
+	ret = platform_device_add(smdk6400_snd_ac97_device);
+
+	if (ret)
+		platform_device_put(smdk6400_snd_ac97_device);
+
+	return ret;
+}
+
+static void __exit smdk6400_exit(void)
+{
+	platform_device_unregister(smdk6400_snd_ac97_device);
+}
+
+module_init(smdk6400_init);
+module_exit(smdk6400_exit);
+
+/* Module information */
+MODULE_AUTHOR("Samsung: Ryu");
+MODULE_DESCRIPTION("ALSA SoC WM9713 SMDK6400");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s5pc1xx/Kconfig linux-2.6.28.6/sound/soc/s5pc1xx/Kconfig
--- linux-2.6.28/sound/soc/s5pc1xx/Kconfig	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s5pc1xx/Kconfig	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,77 @@
+menu "SoC Audio for the Samsung S3C"
+	depends on ARCH_S5PC1XX
+
+config SND_S5PC1XX_SOC
+	tristate "SoC Audio for the Samsung S3C chips"
+	depends on ARCH_S5PC1XX
+	select SND_PCM
+	help
+	  Say Y or M if you want to add support for codecs attached to
+	  the S3C AC97, I2S or SSP interface. You will also need
+	  to select the audio interfaces to support below.
+
+config SND_S3C_SOC_I2S
+	tristate
+
+config SND_SOC_I2S_V50
+	tristate
+
+config SND_SMDKC100_WM8580
+	tristate "SoC I2S Audio support for SMDKC100 - WM8580"
+	depends on SND_S5PC1XX_SOC && MACH_SMDKC100
+	select SND_SOC_I2S_V50
+	select SND_SOC_WM8580
+	help
+	  Say Y if you want to add support for SoC audio on smdk6410
+	  with the WM8580.
+	
+choice
+        prompt "SMDK Record Path Select"
+	depends on SND_SMDKC100_WM8580
+
+config SOUND_S5PC100_WM8580_INPUT_STREAM_LINE
+	bool "Input Stream is LINE-IN"
+	depends on SND_SMDKC100_WM8580
+	help
+	  Say Y here to make input stream as LINE-IN.
+
+config SOUND_S5PC100_WM8580_INPUT_STREAM_MIC
+	bool "Input Stream is MIC"
+	depends on SND_SMDKC100_WM8580
+	help
+	  Say Y here to make input stream as MIC.
+endchoice
+
+config SND_SMDKC100_WM9713
+        tristate "SoC AC97 Audio support for SMDKC100 - WM9713"
+        depends on SND_S5PC1XX_SOC && MACH_SMDKC100
+        select SND_S5PC100_SOC_AC97
+        select SND_SOC_WM9713
+        help
+          Say Y if you want to add support for SoC audio on SMDKC100
+          with the WM9713.
+
+choice
+        prompt "SMDK Record Path Select"
+        depends on SND_SMDKC100_WM9713 
+
+config SOUND_S5PC100_WM9713_INPUT_STREAM_LINE
+        bool "Input Stream is LINE-IN"
+        depends on SND_SMDKC100_WM9713
+        help
+          Say Y here to make input stream as LINE-IN.
+
+config SOUND_S5PC100_WM9713_INPUT_STREAM_MIC
+        bool "Input Stream is MIC"
+        depends on SND_SMDKC100_WM9713
+        help
+          Say Y here to make input stream as MIC.
+endchoice
+
+config SND_S5PC100_SOC_AC97
+        tristate
+        select AC97_BUS
+        select SND_AC97_CODEC
+        select SND_SOC_AC97_BUS
+
+endmenu
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s5pc1xx/Makefile linux-2.6.28.6/sound/soc/s5pc1xx/Makefile
--- linux-2.6.28/sound/soc/s5pc1xx/Makefile	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s5pc1xx/Makefile	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,15 @@
+# S5PC1XX Platform Support
+snd-soc-s5pc1xx-objs := s5pc1xx-pcm.o
+snd-soc-s5pc1xx-i2s-v50-objs := s5pc100-i2s-v50.o
+snd-soc-s5pc1xx-ac97-objs := s5pc1xx-ac97.o
+
+obj-$(CONFIG_SND_S5PC1XX_SOC) += snd-soc-s5pc1xx.o
+obj-$(CONFIG_SND_SOC_I2S_V50) += snd-soc-s5pc1xx-i2s-v50.o
+obj-$(CONFIG_SND_S5PC100_SOC_AC97) += snd-soc-s5pc1xx-ac97.o
+
+# S5PC1XX Machine Support
+snd-soc-smdkc1xx-wm8580-objs := smdkc100_wm8580.o
+snd-soc-smdkc1xx-wm9713-objs := smdkc100_wm9713.o
+
+obj-$(CONFIG_SND_SMDKC100_WM8580) += snd-soc-smdkc1xx-wm8580.o
+obj-$(CONFIG_SND_SMDKC100_WM9713) += snd-soc-smdkc1xx-wm9713.o
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s5pc1xx/s5pc100-i2s-v50.c linux-2.6.28.6/sound/soc/s5pc1xx/s5pc100-i2s-v50.c
--- linux-2.6.28/sound/soc/s5pc1xx/s5pc100-i2s-v50.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s5pc1xx/s5pc100-i2s-v50.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,581 @@
+/*
+ * s3c-i2s.c  --  ALSA Soc Audio Layer
+ *
+ * (c) 2006 Wolfson Microelectronics PLC.
+ * Graeme Gregory graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ * (c) 2004-2005 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	Ryu Euiyoul <ryu.real@gmail.com>
+ *
+ * Copyright (C) 2008, SungJun Bae<june.bae@samsung.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *
+ *  Revision history
+ *    11th Dec 2006   Merged with Simtec driver
+ *    10th Nov 2006   Initial version.
+ *    1st  Dec 2008   Initial version from s3c64xx-i2s.c.
+ */
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/device.h>
+#include <linux/delay.h>
+#include <linux/interrupt.h>
+#include <linux/clk.h>
+#include <linux/timer.h>
+
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/initval.h>
+#include <sound/soc.h>
+
+#include <mach/hardware.h>
+#include <asm/io.h>
+#include <asm/dma.h>
+
+#include <mach/map.h>
+#include <mach/gpio.h>
+#include <plat/regs-iis.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-c.h>
+#include <plat/gpio-bank-g3.h>
+#include <plat/regs-clock.h>
+
+#include <mach/audio.h>
+#include <mach/dma.h>
+
+#include <plat/regs-clock.h>
+
+#include "s5pc1xx-i2s.h"
+#include "s5pc1xx-pcm.h"
+
+#ifdef CONFIG_SND_DEBUG
+#define s3cdbg(x...) printk(x)
+#else
+#define s3cdbg(x...)
+#endif
+
+/* used to disable sysclk if external crystal is used */
+static int extclk = 0;
+module_param(extclk, int, 0);
+MODULE_PARM_DESC(extclk, "set to 1 to disable s3c24XX i2s sysclk");
+
+static struct s3c2410_dma_client s5pc1xx_dma_client_out = {
+	.name = "I2S PCM Stereo out"
+};
+
+static struct s3c2410_dma_client s5pc1xx_dma_client_in = {
+	.name = "I2S PCM Stereo in"
+};
+
+static struct s3c24xx_pcm_dma_params s5pc1xx_i2s_pcm_stereo_out = {
+	.client		= &s5pc1xx_dma_client_out,
+	.channel	= DMACH_I2S_V50_OUT,
+	.dma_addr	= S3C_PA_IIS + S3C64XX_IISFIFO,
+	.dma_size	= 4,
+};
+
+static struct s3c24xx_pcm_dma_params s5pc1xx_i2s_pcm_stereo_in = {
+	.client		= &s5pc1xx_dma_client_in,
+	.channel	= DMACH_I2S_V50_IN,
+	.dma_addr	= S3C_PA_IIS + S3C64XX_IISFIFORX,
+	.dma_size	= 4,
+};
+
+struct s5pc1xx_i2s_info {
+	void __iomem	*regs;
+	struct clk	*iis_clk;
+	int master;
+};
+static struct s5pc1xx_i2s_info s5pc1xx_i2s;
+
+static void s5pc1xx_snd_txctrl(int on)
+{
+	u32 iiscon;
+	u32 iismod;
+
+	s3cdbg("Entered %s : on = %d \n", __FUNCTION__, on);
+
+	iiscon  = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+	iismod  = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+
+	s3cdbg("r: IISCON: %x IISMOD: %x\n", iiscon, iismod);
+
+	if (on) {
+		iiscon |= S3C64XX_IIS0CON_I2SACTIVE;
+
+		writel(iismod,  s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+		writel(iiscon,  s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+
+	} else {
+		/* note, we have to disable the FIFOs otherwise bad things
+		 * seem to happen when the DMA stops. According to the
+		 * Samsung supplied kernel, this should allow the DMA
+		 * engine and FIFOs to reset. If this isn't allowed, the
+		 * DMA engine will simply freeze randomly.
+		 */
+		iiscon &= ~(S3C64XX_IIS0CON_I2SACTIVE);
+		iismod &= ~S3C64XX_IIS0MOD_TXMODE;
+
+		writel(iiscon,  s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+		writel(iismod,  s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+	}
+
+	s3cdbg("w: IISCON: %x IISMOD: %x\n", iiscon, iismod);
+}
+
+static void s5pc1xx_snd_rxctrl(int on)
+{
+	u32 iisfcon;
+	u32 iiscon;
+	u32 iismod;
+
+	s3cdbg("Entered %s: on = %d\n", __FUNCTION__, on);
+
+	iisfcon = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0FIC);
+	iiscon  = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+	iismod  = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+
+	s3cdbg("r: IISCON: %x IISMOD: %x IISFCON: %x\n", iiscon, iismod, iisfcon);
+
+	if (on) {
+		iiscon |= S3C64XX_IIS0CON_I2SACTIVE;
+
+		writel(iismod,  s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+		writel(iisfcon, s5pc1xx_i2s.regs + S3C64XX_IIS0FIC);
+		writel(iiscon,  s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+	} else {
+		/* note, we have to disable the FIFOs otherwise bad things
+		 * seem to happen when the DMA stops. According to the
+		 * Samsung supplied kernel, this should allow the DMA
+		 * engine and FIFOs to reset. If this isn't allowed, the
+		 * DMA engine will simply freeze randomly.
+		 */
+
+		iiscon &= ~S3C64XX_IIS0CON_I2SACTIVE;
+		iismod &= ~S3C64XX_IIS0MOD_RXMODE;
+
+		writel(iisfcon, s5pc1xx_i2s.regs + S3C64XX_IIS0FIC);
+		writel(iiscon,  s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+		writel(iismod,  s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+
+	}
+	s3cdbg("w: IISCON: %x IISMOD: %x IISFCON: %x\n", iiscon, iismod, iisfcon);
+}
+
+/*
+ * Wait for the LR signal to allow synchronisation to the L/R clock
+ * from the codec. May only be needed for slave mode.
+ */
+static int s3c24xx_snd_lrsync(void)
+{
+	u32 iiscon;
+	unsigned long timeout = jiffies + msecs_to_jiffies(5);
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	while (1) {
+		iiscon = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+
+		if (iiscon & S3C64XX_IISCON_LRINDEX)
+			break;
+
+		if (timeout < jiffies) 
+			return -ETIMEDOUT;
+		
+	}
+
+	return 0;
+}
+
+/*
+ * Check whether CPU is the master or slave
+ */
+static inline int s3c24xx_snd_is_clkmaster(void)
+{
+	s3cdbg("Entered %s\n", __FUNCTION__);
+	
+//	writel(readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD)|~(S3C64XX_IISMOD_SLAVE),s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+
+//	return (readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD) & S3C64XX_IISMOD_SLAVE) ? 0:1;
+	return (readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD) & S3C64XX_IIS0MOD_IMS_SLAVE) ? 0:1;
+}
+
+/*
+ * Set S3C24xx I2S DAI format
+ */
+static int s3c_i2s_v50_set_fmt(struct snd_soc_dai *cpu_dai,
+		unsigned int fmt)
+{
+	u32 iismod;
+
+	s3cdbg("Entered %s: fmt = %d\n", __FUNCTION__, fmt);
+
+	iismod = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+
+	return 0;
+
+}
+
+static int s3c_i2s_v50_hw_params(struct snd_pcm_substream *substream,
+				struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+
+	unsigned long iiscon;
+	unsigned long iismod;
+	unsigned long iisfcon;
+	
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	s5pc1xx_i2s.master = 1;
+	
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+		rtd->dai->cpu_dai->dma_data = &s5pc1xx_i2s_pcm_stereo_out;
+	} else {
+		rtd->dai->cpu_dai->dma_data = &s5pc1xx_i2s_pcm_stereo_in;
+	}
+
+	/* Working copies of registers */
+	iiscon = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+	iismod = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+	iisfcon = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0FIC);
+
+	/* is port used by another stream */
+	if (!(iiscon & S3C64XX_IIS0CON_I2SACTIVE)) {
+
+		/* Clear BFS field [2:1] */
+		iismod &= ~(0x3<<1);
+		iismod |= S3C64XX_IIS0MOD_32FS | S3C64XX_IIS0MOD_INTERNAL_CLK;
+
+		if (!s5pc1xx_i2s.master)
+			iismod |= S3C64XX_IISMOD_SLAVE;
+		else
+			iismod |= S3C64XX_IIS0MOD_IMS_EXTERNAL_MASTER;
+	}
+
+	iiscon |= S3C64XX_IISCON_FTXURINTEN;
+	iiscon |= S3C64XX_IIS0CON_TXDMACTIVE;
+	iiscon |= S3C64XX_IIS0CON_RXDMACTIVE;
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+		iismod |= S3C64XX_IIS0MOD_TXMODE;
+		iisfcon |= S3C64XX_IIS_TX_FLUSH;
+	} else {
+		iismod |= S3C64XX_IIS0MOD_RXMODE;
+		iisfcon |= S3C64XX_IIS_RX_FLUSH;
+	}
+
+	/* Multi channel enable */
+	iismod &= ~S3C64XX_IIS0MOD_DCE_MASK;
+	switch (params_channels(params)) {
+	case 6:
+		printk("s3c i2s: 5.1channel\n");
+		iismod |= S3C64XX_IIS0MOD_DCE_SD2;
+		iismod |= S3C64XX_IIS0MOD_DCE_SD2;
+		break;
+	case 4:
+		printk("s3c i2s: 4 channel\n");
+		iismod |= S3C64XX_IIS0MOD_DCE_SD2;
+		break;
+	case 2:
+		printk("s3c i2s: 2 channel\n");
+		break;
+	default:
+		printk(KERN_ERR "s3c-i2s-v50: %d channels unsupported\n",
+		       params_channels(params));
+		return -EINVAL;
+	}
+
+	/* Set the bit rate */
+	iismod &= ~0x6000;
+	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S16_LE:
+		iismod &= ~S3C64XX_IIS0MOD_FS_MASK;
+		iismod |= S3C64XX_IIS0MOD_256FS | S3C64XX_IIS0MOD_32FS;
+		iismod &= ~(0x3<<13);
+		iismod |= S3C64XX_IIS0MOD_16BIT;
+		break;
+	case SNDRV_PCM_FORMAT_S8:
+		iismod |= S3C64XX_IIS0MOD_8BIT;
+		break;
+	case SNDRV_PCM_FORMAT_S24_LE:
+		iismod &= ~S3C64XX_IIS0MOD_FS_MASK;
+		iismod |= S3C64XX_IIS0MOD_384FS | S3C64XX_IIS0MOD_48FS;
+		iismod &= ~(0x3<<13);
+		iismod |= S3C64XX_IIS0MOD_24BIT;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	writel(iisfcon, s5pc1xx_i2s.regs + S3C64XX_IIS0FIC);
+	writel(iiscon, s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+	writel(iismod, s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+
+	// Tx, Rx fifo flush bit clear
+	iisfcon  &= ~(S3C64XX_IIS_TX_FLUSH | S3C64XX_IIS_RX_FLUSH);
+	writel(iisfcon, s5pc1xx_i2s.regs + S3C64XX_IIS0FIC);
+
+	s3cdbg("s3c iis mode: 0x%08x\n", readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD));
+	s3cdbg("s3c: params_channels %d\n", params_channels(params));
+	s3cdbg("s3c: params_format %d\n", params_format(params));
+	s3cdbg("s3c: params_subformat %d\n", params_subformat(params));
+	s3cdbg("s3c: params_period_size %d\n", params_period_size(params));
+	s3cdbg("s3c: params_period_bytes %d\n", params_period_bytes(params));
+	s3cdbg("s3c: params_periods %d\n", params_periods(params));
+	s3cdbg("s3c: params_buffer_size %d\n", params_buffer_size(params));
+	s3cdbg("s3c: params_buffer_bytes %d\n", params_buffer_bytes(params));
+//	s3cdbg("s3c: params_tick_time %d\n", params_tick_time(params));
+	s3cdbg("hw_params: IISCON: %lx IISMOD: %lx\n", iiscon, iismod);
+
+	return 0;
+
+}
+
+static int s3c_i2s_v50_trigger(struct snd_pcm_substream *substream, int cmd)
+{
+	int ret = 0;
+
+	s3cdbg("Entered %s: cmd = %d\n", __FUNCTION__, cmd);
+
+	switch (cmd) {
+	case SNDRV_PCM_TRIGGER_START:
+	case SNDRV_PCM_TRIGGER_RESUME:
+	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
+		if (!s3c24xx_snd_is_clkmaster()) {
+			ret = s3c24xx_snd_lrsync();
+			if (ret)
+				goto exit_err;
+		}
+
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			s5pc1xx_snd_rxctrl(1);
+		else
+			s5pc1xx_snd_txctrl(1);
+		break;
+	case SNDRV_PCM_TRIGGER_STOP:
+	case SNDRV_PCM_TRIGGER_SUSPEND:
+	case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			s5pc1xx_snd_rxctrl(0);
+		else
+			s5pc1xx_snd_txctrl(0);
+		break;
+	default:
+		ret = -EINVAL;
+		break;
+	}
+
+exit_err:
+	return ret;
+}
+
+static void s5pc1xx_i2s_shutdown(struct snd_pcm_substream *substream)
+{
+	unsigned long iismod, iiscon;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+	
+	iismod=readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+		iismod &= ~S3C64XX_IIS0MOD_TXMODE;
+	} else {
+		iismod &= ~S3C64XX_IIS0MOD_RXMODE;
+	}
+
+	writel(iismod, s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+
+	iiscon=readl(s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+	iiscon &= !S3C64XX_IIS0CON_I2SACTIVE;
+	writel(iiscon, s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+
+	/* Clock disable */
+	/* EPLL disable */
+	writel(readl(S5P_EPLL_CON)&~(0x1<<31),S5P_EPLL_CON);
+}
+
+
+/*
+ * Set S3C24xx Clock source
+ */
+static int s3c_i2s_v50_set_sysclk(struct snd_soc_dai *cpu_dai,
+	int clk_id, unsigned int freq, int dir)
+{
+	u32 iismod = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+
+	s3cdbg("Entered %s : clk_id = %d\n", __FUNCTION__, clk_id);
+
+	iismod &= ~S3C64XX_IISMOD_MPLL;
+
+	switch (clk_id) {
+	case S5PC1XX_CLKSRC_PCLK:
+		break;
+	case S5PC1XX_CLKSRC_MPLL:
+		iismod |= S3C64XX_IISMOD_MPLL;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	writel(iismod, s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+	return 0;
+}
+
+/*
+ * Set S3C24xx Clock dividers
+ */
+static int s3c_i2s_v50_set_clkdiv(struct snd_soc_dai *cpu_dai,
+	int div_id, int div)
+{
+	u32 reg;
+
+	s3cdbg("Entered %s : div_id = %d, div = %x\n", __FUNCTION__, div_id, div);
+
+	switch (div_id) {
+	case S5PC1XX_DIV_MCLK:
+		break;
+	case S5PC1XX_DIV_BCLK:
+		reg = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0MOD) & ~(S3C64XX_IIS0MOD_FS_MASK);
+		writel(reg | div, s5pc1xx_i2s.regs + S3C64XX_IIS0MOD);
+		break;
+	case S5PC1XX_DIV_PRESCALER:
+		if (div)
+			div |= 1 << 15;
+		writel(div, s5pc1xx_i2s.regs + S3C64XX_IIS0PSR);
+		break;
+	default:
+		return -EINVAL;
+	}
+	
+	return 0;
+}
+
+/*
+ * To avoid duplicating clock code, allow machine driver to
+ * get the clockrate from here.
+ */
+u32 s3c_i2s_v50_get_clockrate(void)
+{
+	return clk_get_rate(s5pc1xx_i2s.iis_clk);
+}
+EXPORT_SYMBOL_GPL(s3c_i2s_v50_get_clockrate);
+
+static irqreturn_t s3c_iis_irq(int irqno, void *dev_id)
+{
+	u32 iiscon;
+	
+	iiscon  = readl(s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+	if((1<<17) & iiscon) {
+		iiscon &= ~(1<<16);
+		iiscon |= (1<<17);
+		writel(iiscon, s5pc1xx_i2s.regs + S3C64XX_IIS0CON);
+		printk("underrun interrupt IISCON = 0x%08x\n", readl(s5pc1xx_i2s.regs + S3C64XX_IIS0CON));
+	}
+
+	return IRQ_HANDLED;
+}
+
+static int s3c_i2s_v50_probe(struct platform_device *pdev,
+	struct snd_soc_dai *dai)
+{
+	int ret;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	s5pc1xx_i2s.regs = ioremap(S3C_PA_IIS, 0x100);
+	if (s5pc1xx_i2s.regs == NULL)
+		return -ENXIO;
+
+	s5pc1xx_i2s.iis_clk=clk_get(&pdev->dev, "iis");
+	if (s5pc1xx_i2s.iis_clk == NULL) {
+		printk("failed to get iis_clock\n");
+		iounmap(s5pc1xx_i2s.regs);
+		return -ENODEV;
+	}
+	clk_enable(s5pc1xx_i2s.iis_clk);
+
+	ret = request_irq(IRQ_I2S0, s3c_iis_irq, 0,
+			 "s3c-i2s-v50", pdev);
+	if (ret < 0) {
+		printk("fail to claim i2s irq , ret = %d\n", ret);
+		return -ENODEV;
+	}
+
+	s3cdbg("IIS Reset!\n");
+//	writel(readl(s5pc1xx_i2s.regs + S3C64XX_IIS0CON)&~(0x1<<31),(s5pc1xx_i2s.regs + S3C64XX_IIS0CON));
+//	msleep(100);
+	writel(readl(s5pc1xx_i2s.regs + S3C64XX_IIS0CON)|(0x1<<31),(s5pc1xx_i2s.regs + S3C64XX_IIS0CON));
+
+	return 0;
+}
+
+#ifdef CONFIG_PM
+static int s3c_i2s_v50_suspend(struct platform_device *dev,
+	struct snd_soc_dai *dai)
+{
+	s3cdbg("Entered %s\n", __FUNCTION__);
+	return 0;
+}
+
+static int s3c_i2s_v50_resume(struct platform_device *pdev,
+	struct snd_soc_dai *dai)
+{
+	s3cdbg("Entered %s\n", __FUNCTION__);
+	return 0;
+}
+
+#else
+#define s3c_i2s_v50_suspend	NULL
+#define s3c_i2s_v50_resume	NULL
+#endif
+
+
+#define S5PC1XX_I2S_RATES \
+	(SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 | SNDRV_PCM_RATE_16000 | \
+	SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \
+	SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000)
+
+struct snd_soc_dai s3c_i2s_v50_dai = {
+	.name = "s3c-i2s-v50",
+	.id = 0,
+	.type = SND_SOC_DAI_I2S,
+	.probe = s3c_i2s_v50_probe,
+	.suspend = s3c_i2s_v50_suspend,
+	.resume = s3c_i2s_v50_resume,
+	.playback = {
+		.channels_min = 2,
+		.channels_max = 6,
+		.rates = S5PC1XX_I2S_RATES,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE,},
+	.capture = {
+		.channels_min = 2,
+		.channels_max = 2,
+		.rates = S5PC1XX_I2S_RATES,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE | SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE,},
+	.ops = {
+		.shutdown = s5pc1xx_i2s_shutdown,
+		.trigger = s3c_i2s_v50_trigger,
+		.hw_params = s3c_i2s_v50_hw_params,},
+	.dai_ops = {
+		.set_fmt = s3c_i2s_v50_set_fmt,
+		.set_clkdiv = s3c_i2s_v50_set_clkdiv,
+		.set_sysclk = s3c_i2s_v50_set_sysclk,
+	},
+};
+EXPORT_SYMBOL_GPL(s3c_i2s_v50_dai);
+
+/* Module information */
+MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>");
+MODULE_DESCRIPTION("s3c24xx I2S SoC Interface");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s5pc1xx/s5pc1xx-ac97.c linux-2.6.28.6/sound/soc/s5pc1xx/s5pc1xx-ac97.c
--- linux-2.6.28/sound/soc/s5pc1xx/s5pc1xx-ac97.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s5pc1xx/s5pc1xx-ac97.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,426 @@
+/*
+ * s5pc1xx-ac97.c  --  ALSA Soc Audio Layer
+ *
+ *  Copyright (C) 2007, Ryu Euiyoul <ryu.real@gmail.com>
+ *  Copyright (C) 2008 Samsung Electronics Co. Ltd.
+ *
+ *
+ * (c) 2007 Wolfson Microelectronics PLC.
+ * Graeme Gregory graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ *  Copyright (C) 2007, Ryu Euiyoul <ryu.real@gmail.com>
+ *  All rights reserved.
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License version 2 as
+ *  published by the Free Software Foundation.
+ *
+ *  Revision history
+ *	21st Mar 2007   Initial Version
+ *	20th Sep 2007   Apply at s3c6400
+ *	16th Mar 2009   Ported for s5pc100
+ */
+
+#include <linux/init.h>
+#include <linux/module.h>
+#include <linux/platform_device.h>
+#include <linux/interrupt.h>
+#include <linux/wait.h>
+#include <linux/delay.h>
+#include <linux/clk.h>
+
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/ac97_codec.h>
+#include <sound/initval.h>
+#include <sound/soc.h>
+
+#include <mach/hardware.h>
+#include <asm/io.h>
+#include <asm/dma.h>
+#include <mach/map.h>
+#include <mach/gpio.h>
+#include <plat/regs-ac97.h>
+#include <plat/gpio-cfg.h>
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-c.h>
+#include <plat/regs-clock.h>
+
+#include <mach/audio.h>
+#include <mach/dma.h>
+
+#include "s5pc1xx-pcm.h"
+#include "s5pc1xx-ac97.h"
+
+#ifdef CONFIG_SND_DEBUG
+#define s3cdbg(x...) printk(x)
+#else
+#define s3cdbg(x...)
+#endif
+
+extern struct clk *clk_get(struct device *dev, const char *id);
+extern int clk_enable(struct clk *clk);
+extern void clk_disable(struct clk *clk);
+
+struct s3c24xx_ac97_info {
+	void __iomem	*regs;
+	struct clk	*ac97_clk;
+};
+static struct s3c24xx_ac97_info s3c24xx_ac97;
+
+static unsigned int codec_ready;
+static DEFINE_MUTEX(ac97_mutex);
+static DECLARE_WAIT_QUEUE_HEAD(gsr_wq);
+
+static unsigned short s3c6400_ac97_read(struct snd_ac97 *ac97,
+	unsigned short reg)
+{
+	unsigned int ac_glbctrl;
+	unsigned int ac_codec_cmd;
+	unsigned int stat, addr, data;
+
+	s3cdbg("Entered %s: reg=0x%x\n", __FUNCTION__, reg);
+
+	mutex_lock(&ac97_mutex);
+
+	codec_ready = S3C_AC97_GLBSTAT_CODECREADY;
+	ac_codec_cmd = S3C_AC97_CODEC_CMD_READ | AC_CMD_ADDR(reg);
+	writel(ac_codec_cmd, s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD);
+
+	udelay(1000);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	ac_glbctrl |= S3C_AC97_GLBCTRL_CODECREADYIE;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+
+	stat = readl(s3c24xx_ac97.regs + S3C_AC97_STAT);
+	addr = (stat >> 16) & 0x7f;
+	data = (stat & 0xffff);
+
+	wait_event_timeout(gsr_wq,addr==reg,1);
+	if(addr!=reg){
+		printk(KERN_ERR"AC97: read error (ac97_reg=%x addr=%x)\n", reg, addr);
+		printk(KERN_ERR"Check audio codec jumpper settings\n\n");
+		goto out;
+	}
+
+out:	mutex_unlock(&ac97_mutex);
+	return (unsigned short)data;
+}
+
+static void s3c6400_ac97_write(struct snd_ac97 *ac97, unsigned short reg,
+	unsigned short val)
+{
+	unsigned int ac_glbctrl;
+	unsigned int ac_codec_cmd;
+	unsigned int stat, data;
+
+	s3cdbg("Entered %s: reg=0x%x, val=0x%x\n", __FUNCTION__,reg,val);
+
+	mutex_lock(&ac97_mutex);
+
+	codec_ready = S3C_AC97_GLBSTAT_CODECREADY;
+	ac_codec_cmd = AC_CMD_ADDR(reg) | AC_CMD_DATA(val);
+	writel(ac_codec_cmd, s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD);
+
+	udelay(50);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	ac_glbctrl |= S3C_AC97_GLBCTRL_CODECREADYIE;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+
+	ac_codec_cmd |= S3C_AC97_CODEC_CMD_READ;
+	writel(ac_codec_cmd, s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD);
+
+	stat = readl(s3c24xx_ac97.regs + S3C_AC97_CODEC_CMD);
+	data = (stat & 0xffff);
+
+	wait_event_timeout(gsr_wq,data==val,1);
+	if(data!=val){
+		printk("%s: write error (ac97_val=%x data=%x)\n",
+				__FUNCTION__, val, data);
+	}
+
+	mutex_unlock(&ac97_mutex);
+}
+
+static void s3c6400_ac97_warm_reset(struct snd_ac97 *ac97)
+{
+	unsigned int ac_glbctrl;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	ac_glbctrl |= S3C_AC97_GLBCTRL_WARMRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl &= ~S3C_AC97_GLBCTRL_WARMRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+	
+	ac_glbctrl = S3C_AC97_GLBCTRL_ACLINKON;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl = S3C_AC97_GLBCTRL_TRANSFERDATAENABLE;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl |= S3C_AC97_GLBCTRL_PCMOUTTM_DMA |
+		S3C_AC97_GLBCTRL_PCMINTM_DMA | S3C_AC97_GLBCTRL_MICINTM_DMA;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	ac_glbctrl |= S3C_AC97_GLBCTRL_ACLINKON;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	udelay(1000);
+}
+
+static void s3c6400_ac97_cold_reset(struct snd_ac97 *ac97)
+{
+	unsigned int ac_glbctrl;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	ac_glbctrl = S3C_AC97_GLBCTRL_COLDRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl &= ~S3C_AC97_GLBCTRL_COLDRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl = S3C_AC97_GLBCTRL_COLDRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+
+	ac_glbctrl &= ~S3C_AC97_GLBCTRL_COLDRESET;
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	msleep(1);
+}
+
+static irqreturn_t s3c6400_ac97_irq(int irq, void *dev_id)
+{
+	int status;
+	unsigned int ac_glbctrl, ac_glbstat;
+
+	ac_glbstat = readl(s3c24xx_ac97.regs + S3C_AC97_GLBSTAT);
+
+	s3cdbg("Entered %s: AC_GLBSTAT = 0x%x\n", __FUNCTION__, ac_glbstat);
+
+	status = ac_glbstat & codec_ready;
+
+
+	if (status) {
+		ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+		ac_glbctrl &= ~S3C_AC97_GLBCTRL_CODECREADYIE;
+		writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+		wake_up(&gsr_wq);
+	}
+	return IRQ_HANDLED;
+}
+
+struct snd_ac97_bus_ops soc_ac97_ops = {
+	.read	= s3c6400_ac97_read,
+	.write	= s3c6400_ac97_write,
+	.warm_reset	= s3c6400_ac97_warm_reset,
+	.reset	= s3c6400_ac97_cold_reset,
+};
+
+static struct s3c2410_dma_client s3c6400_dma_client_out = {
+	.name = "AC97 PCM Stereo out"
+};
+
+static struct s3c24xx_pcm_dma_params s3c6400_ac97_pcm_stereo_out = {
+	.client		= &s3c6400_dma_client_out,
+	.channel	= DMACH_AC97_PCM_OUT,
+	.dma_addr	= S5PC1XX_PA_AC97 + S3C_AC97_PCM_DATA,
+	.dma_size	= 4,
+};
+
+#ifdef CONFIG_SOUND_S5PC100_WM9713_INPUT_STREAM_MIC
+static struct s3c2410_dma_client s3c6400_dma_client_micin = {
+	.name = "AC97 Mic Mono in"
+};
+
+static struct s3c24xx_pcm_dma_params s3c6400_ac97_mic_mono_in = {
+	.client		= &s3c6400_dma_client_micin,
+	.channel	= DMACH_AC97_MIC_IN,
+	.dma_addr	= S5PC1XX_PA_AC97 + S3C_AC97_MIC_DATA,
+	.dma_size	= 4,
+};
+#else /* Input Stream is Line-In */
+static struct s3c2410_dma_client s3c6400_dma_client_in = {
+	.name = "AC97 PCM Stereo Line in"
+};
+
+static struct s3c24xx_pcm_dma_params s3c6400_ac97_pcm_stereo_in = {
+	.client		= &s3c6400_dma_client_in,
+	.channel	= DMACH_AC97_PCM_IN,
+	.dma_addr	= S5PC1XX_PA_AC97 + S3C_AC97_PCM_DATA,
+	.dma_size	= 4,
+};
+#endif
+
+static int s3c6400_ac97_probe(struct platform_device *pdev)
+{
+	int ret;
+        unsigned int gpio;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	s3c24xx_ac97.regs = ioremap(S5PC1XX_PA_AC97, 0x100);
+	if (s3c24xx_ac97.regs == NULL)
+		return -ENXIO;
+
+	s3c24xx_ac97.ac97_clk = clk_get(&pdev->dev, "ac97");
+	if (s3c24xx_ac97.ac97_clk == NULL) {
+		printk(KERN_ERR "s3c6400-ac97 failed to get ac97_clock\n");
+		iounmap(s3c24xx_ac97.regs);
+		return -ENODEV;
+	}
+	clk_enable(s3c24xx_ac97.ac97_clk);
+
+        for (gpio = S5PC1XX_GPC(0); gpio <= S5PC1XX_GPC(4); gpio++) {
+	        s3c_gpio_cfgpin(gpio, S3C_GPIO_SFN(4));
+                s3c_gpio_setpull(gpio, S3C_GPIO_PULL_UP);
+        }
+	
+	ret = request_irq(IRQ_AC97, s3c6400_ac97_irq,
+		IRQF_DISABLED, "AC97", NULL);
+	if (ret < 0) {
+		printk(KERN_ERR "s3c24xx-ac97: interrupt request failed.\n");
+		clk_disable(s3c24xx_ac97.ac97_clk);
+		clk_put(s3c24xx_ac97.ac97_clk);
+		iounmap(s3c24xx_ac97.regs);
+	}
+
+	return ret;
+}
+
+static void s3c6400_ac97_remove(struct platform_device *pdev)
+{
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	free_irq(IRQ_AC97, NULL);
+	clk_disable(s3c24xx_ac97.ac97_clk);
+	clk_put(s3c24xx_ac97.ac97_clk);
+	iounmap(s3c24xx_ac97.regs);
+}
+
+static int s3c6400_ac97_hw_params(struct snd_pcm_substream *substream,
+				struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
+	
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
+		cpu_dai->dma_data = &s3c6400_ac97_pcm_stereo_out;
+	else
+#ifdef CONFIG_SOUND_S5PC100_WM9713_INPUT_STREAM_MIC
+		cpu_dai->dma_data = &s3c6400_ac97_mic_mono_in;
+#else /* Input Stream is LINE-IN */
+		cpu_dai->dma_data = &s3c6400_ac97_pcm_stereo_in;
+#endif
+
+	
+	return 0;
+}
+
+static int s3c6400_ac97_hifi_prepare(struct snd_pcm_substream *substream)
+{
+        s3c6400_ac97_write(0, 0x26, 0x0);
+        s3c6400_ac97_write(0, 0x0c, 0x0808);
+        s3c6400_ac97_write(0, 0x3c, 0xf803);
+        s3c6400_ac97_write(0, 0x3e, 0xb990);
+
+        if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+                s3c6400_ac97_write(0, 0x02, 0x8080);
+                s3c6400_ac97_write(0, 0x04, 0x0606);
+                s3c6400_ac97_write(0, 0x1c, 0x00aa);
+        }
+        else
+        {
+                s3c6400_ac97_write(0, 0x12, 0x0f0f);
+#ifdef CONFIG_SOUND_S5PC100_WM9713_INPUT_STREAM_MIC
+                s3c6400_ac97_write(0, 0x5c, 0x2);
+                s3c6400_ac97_write(0, 0x10, 0x68);
+                s3c6400_ac97_write(0, 0x14, 0xfe00);
+#else /* Input Stream is LINE-IN */
+                s3c6400_ac97_write(0, 0x14, 0xd612);
+#endif
+        }
+
+	return 0;
+}
+
+
+static int s3c6400_ac97_trigger(struct snd_pcm_substream *substream, int cmd)
+{
+	unsigned int ac_glbctrl;
+
+	s3cdbg("Entered %s: cmd = %d\n", __FUNCTION__, cmd);
+
+	ac_glbctrl = readl(s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+	switch(cmd) {
+	case SNDRV_PCM_TRIGGER_START:
+	case SNDRV_PCM_TRIGGER_RESUME:
+	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			ac_glbctrl |= S3C_AC97_GLBCTRL_PCMINTM_DMA;
+		else
+			ac_glbctrl |= S3C_AC97_GLBCTRL_PCMOUTTM_DMA;
+		break;
+	case SNDRV_PCM_TRIGGER_STOP:
+	case SNDRV_PCM_TRIGGER_SUSPEND:
+	case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
+		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+			ac_glbctrl &= ~S3C_AC97_GLBCTRL_PCMINTM_MASK;
+		else
+			ac_glbctrl &= ~S3C_AC97_GLBCTRL_PCMOUTTM_MASK;
+		break;
+	}
+	writel(ac_glbctrl, s3c24xx_ac97.regs + S3C_AC97_GLBCTRL);
+
+	return 0;
+}
+
+#define s3c6400_AC97_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
+		SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 | \
+		SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000)
+
+struct snd_soc_dai s3c6400_ac97_dai[] = {
+{
+	.name = "s3c64xx-ac97",
+	.id = 0,
+	.type = SND_SOC_DAI_AC97,
+	.probe = s3c6400_ac97_probe,
+	.remove = s3c6400_ac97_remove,
+	.playback = {
+		.stream_name = "AC97 Playback",
+		.channels_min = 2,
+		.channels_max = 2,
+		.rates = s3c6400_AC97_RATES,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,},
+	.capture = {
+		.stream_name = "AC97 Capture",
+		.channels_min = 2,
+		.channels_max = 2,
+		.rates = s3c6400_AC97_RATES,
+		.formats = SNDRV_PCM_FMTBIT_S16_LE,},
+	.ops = {
+		.hw_params = s3c6400_ac97_hw_params,
+		.prepare = s3c6400_ac97_hifi_prepare,
+		.trigger = s3c6400_ac97_trigger},
+},
+};
+
+EXPORT_SYMBOL_GPL(s3c6400_ac97_dai);
+EXPORT_SYMBOL_GPL(soc_ac97_ops);
+
+MODULE_AUTHOR("Samsung");
+MODULE_DESCRIPTION("AC97 driver for the Samsung S5PC100 chip");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s5pc1xx/s5pc1xx-ac97.h linux-2.6.28.6/sound/soc/s5pc1xx/s5pc1xx-ac97.h
--- linux-2.6.28/sound/soc/s5pc1xx/s5pc1xx-ac97.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s5pc1xx/s5pc1xx-ac97.h	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,25 @@
+/*
+ * s3c24xx-ac97.c  --  ALSA Soc Audio Layer
+ *
+ * (c) 2007 Wolfson Microelectronics PLC.
+ * Author: Graeme Gregory
+ *         graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  Revision history
+ *    10th Nov 2006   Initial version.
+ */
+
+#ifndef S3C6400AC97_H_
+#define S3C6400AC97_H_
+
+#define AC_CMD_ADDR(x) (x << 16)
+#define AC_CMD_DATA(x) (x & 0xffff)
+
+extern struct snd_soc_dai s3c6400_ac97_dai[];
+
+#endif /*S3C6400AC97_H_*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s5pc1xx/s5pc1xx-i2s.h linux-2.6.28.6/sound/soc/s5pc1xx/s5pc1xx-i2s.h
--- linux-2.6.28/sound/soc/s5pc1xx/s5pc1xx-i2s.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s5pc1xx/s5pc1xx-i2s.h	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,37 @@
+/*
+ * s3c24xx-i2s.c  --  ALSA Soc Audio Layer
+ *
+ * Copyright 2005 Wolfson Microelectronics PLC.
+ * Author: Graeme Gregory
+ *         graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  Revision history
+ *    10th Nov 2006   Initial version.
+ */
+
+#ifndef S5PC1XXI2S_H_
+#define S5PC1XXI2S_H_
+
+/* clock sources */
+#define S5PC1XX_CLKSRC_PCLK 0
+#define S5PC1XX_CLKSRC_MPLL 1
+
+/* Clock dividers */
+#define S5PC1XX_DIV_MCLK	0
+#define S5PC1XX_DIV_BCLK	1
+#define S5PC1XX_DIV_PRESCALER	2
+
+/* prescaler */
+#define S5PC1XX_PRESCALE(a,b) \
+	(((a - 1) << S3C_IISPSR_INTSHIFT) | ((b - 1) << S3C_IISPSR_INTSHIFT))
+
+u32 s5pc1xx_i2s_get_clockrate(void);
+
+extern struct snd_soc_dai	s3c_i2s_v50_dai;
+
+#endif /*S5PC1XXI2S_H_*/
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s5pc1xx/s5pc1xx-pcm.c linux-2.6.28.6/sound/soc/s5pc1xx/s5pc1xx-pcm.c
--- linux-2.6.28/sound/soc/s5pc1xx/s5pc1xx-pcm.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s5pc1xx/s5pc1xx-pcm.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,541 @@
+/*
+ * s3c-pcm.c  --  ALSA Soc Audio Layer
+ *
+ * (c) 2006 Wolfson Microelectronics PLC.
+ * Graeme Gregory graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ * (c) 2004-2005 Simtec Electronics
+ *	http://armlinux.simtec.co.uk/
+ *	Ben Dooks <ben@simtec.co.uk>
+ *	Ryu Euiyoul <ryu.real@gmail.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  Revision history
+ *    11th Dec 2006   Merged with Simtec driver
+ *    10th Nov 2006   Initial version.
+ */
+
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/platform_device.h>
+#include <linux/slab.h>
+#include <linux/dma-mapping.h>
+
+//#include <sound/driver.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+
+#include <asm/dma.h>
+#include <asm/io.h>
+#include <mach/hardware.h>
+#include <plat/dma.h>
+#include <mach/audio.h>
+
+#include "s5pc1xx-pcm.h"
+
+#if defined CONFIG_SND_S3C6400_SOC_AC97
+#define MAIN_DMA_CH 1
+#else /*S3C6400 I2S */ 
+#define MAIN_DMA_CH 0
+#endif
+
+#ifdef CONFIG_SND_DEBUG
+#define s3cdbg(x...) printk(x)
+#else
+#define s3cdbg(x...)
+#endif
+
+static const struct snd_pcm_hardware s3c24xx_pcm_hardware = {
+	.info			= SNDRV_PCM_INFO_INTERLEAVED |
+				    SNDRV_PCM_INFO_BLOCK_TRANSFER |
+				    SNDRV_PCM_INFO_MMAP |
+				    SNDRV_PCM_INFO_MMAP_VALID,
+	.formats		= SNDRV_PCM_FMTBIT_S16_LE |
+				    SNDRV_PCM_FMTBIT_U16_LE |
+				    SNDRV_PCM_FMTBIT_U8 |
+				    SNDRV_PCM_FMTBIT_S24_LE |
+				    SNDRV_PCM_FMTBIT_S8,
+	.channels_min		= 2,
+	.channels_max		= 2,
+	.buffer_bytes_max	= 128*1024,
+	.period_bytes_min	= PAGE_SIZE,
+	.period_bytes_max	= PAGE_SIZE*2,
+	.periods_min		= 2,
+	.periods_max		= 128,
+	.fifo_size		= 32,
+};
+
+struct s3c24xx_runtime_data {
+	spinlock_t lock;
+	int state;
+	unsigned int dma_loaded;
+	unsigned int dma_limit;
+	unsigned int dma_period;
+	dma_addr_t dma_start;
+	dma_addr_t dma_pos;
+	dma_addr_t dma_end;
+	struct s3c24xx_pcm_dma_params *params;
+};
+
+/* s3c24xx_pcm_enqueue
+ *
+ * place a dma buffer onto the queue for the dma system
+ * to handle.
+*/
+static void s3c24xx_pcm_enqueue(struct snd_pcm_substream *substream)
+{
+	struct s3c24xx_runtime_data *prtd = substream->runtime->private_data;
+	dma_addr_t pos = prtd->dma_pos;
+	int ret;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	while (prtd->dma_loaded < prtd->dma_limit) {
+		unsigned long len = prtd->dma_period;
+
+		s3cdbg("dma_loaded: %d\n",prtd->dma_loaded);
+
+		if ((pos + len) > prtd->dma_end) {
+			len  = prtd->dma_end - pos;
+			s3cdbg(KERN_DEBUG "%s: corrected dma len %ld\n",
+			       __FUNCTION__, len);
+		}
+
+		ret = s3c2410_dma_enqueue(prtd->params->channel, 
+			substream, pos, len);
+
+		if (ret == 0) {
+			prtd->dma_loaded++;
+			pos += prtd->dma_period;
+			if (pos >= prtd->dma_end)
+				pos = prtd->dma_start;
+		} else
+			break;
+	}
+
+	prtd->dma_pos = pos;
+}
+
+static void s3c24xx_audio_buffdone(struct s3c2410_dma_chan *channel,
+				void *dev_id, int size,
+				enum s3c2410_dma_buffresult result)
+{
+	struct snd_pcm_substream *substream = dev_id;
+	struct s3c24xx_runtime_data *prtd;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	if (result == S3C2410_RES_ABORT || result == S3C2410_RES_ERR)
+		return;
+	else {
+		prtd = substream->runtime->private_data;
+		
+		if (substream)
+			snd_pcm_period_elapsed(substream);
+		else
+			return;
+
+		spin_lock(&prtd->lock);
+		if (prtd->state & ST_RUNNING) {
+			prtd->dma_loaded--;
+			s3c24xx_pcm_enqueue(substream);
+		}
+
+		spin_unlock(&prtd->lock);
+	}
+#if 0
+	struct snd_pcm_substream *substream = dev_id;
+	struct s3c24xx_runtime_data *prtd = substream->runtime->private_data;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	if (result == S3C2410_RES_ABORT || result == S3C2410_RES_ERR)
+		return;
+
+	snd_pcm_period_elapsed(substream);
+
+	spin_lock(&prtd->lock);
+	if (prtd->state & ST_RUNNING) {
+		prtd->dma_loaded--;
+		s3c24xx_pcm_enqueue(substream);
+	}
+
+	spin_unlock(&prtd->lock);
+#endif
+}
+
+static int s3c24xx_pcm_hw_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_pcm_runtime *runtime = substream->runtime;
+	struct s3c24xx_runtime_data *prtd = runtime->private_data;
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	struct s3c24xx_pcm_dma_params *dma = rtd->dai->cpu_dai->dma_data;
+	unsigned long totbytes = params_buffer_bytes(params);
+	int ret=0;
+
+	s3cdbg("Entered %s, params = %p \n", __FUNCTION__, prtd->params);
+
+	/* return if this is a bufferless transfer e.g.
+	 * codec <--> BT codec or GSM modem -- lg FIXME */
+	if (!dma)
+		return 0;
+
+	/* this may get called several times by oss emulation
+	 * with different params */
+	if (prtd->params == NULL) {
+		prtd->params = dma;
+		s3cdbg("params %p, client %p, channel %d\n", prtd->params,
+			prtd->params->client, prtd->params->channel);
+
+
+		/* prepare DMA */
+		ret = s3c2410_dma_request(prtd->params->channel,
+					  prtd->params->client, NULL);
+
+		if (ret) {
+			printk(KERN_ERR "failed to get dma channel\n");
+			return ret;
+		}
+	} else if (prtd->params != dma) {
+		s3c2410_dma_free(prtd->params->channel, prtd->params->client);
+		prtd->params = dma;
+		s3cdbg("params %p, client %p, channel %d\n", prtd->params,
+			prtd->params->client, prtd->params->channel);
+
+
+		/* prepare DMA */
+		ret = s3c2410_dma_request(prtd->params->channel,
+					  prtd->params->client, NULL);
+
+		if (ret) {
+			printk(KERN_ERR "failed to get dma channel\n");
+			return ret;
+		}
+	}
+
+	/* channel needs configuring for mem=>device, increment memory addr,
+	 * sync to pclk, half-word transfers to the IIS-FIFO. */
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410)  && !defined(CONFIG_CPU_S5PC100)
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+		s3c2410_dma_devconfig(prtd->params->channel,
+				S3C2410_DMASRC_MEM, S3C2410_DISRCC_INC |
+				S3C2410_DISRCC_APB, prtd->params->dma_addr);
+
+		s3c2410_dma_config(prtd->params->channel,
+				prtd->params->dma_size,
+				S3C2410_DCON_SYNC_PCLK | 
+				S3C2410_DCON_HANDSHAKE);
+	} else {
+		s3c2410_dma_config(prtd->params->channel,
+				prtd->params->dma_size,
+				S3C2410_DCON_HANDSHAKE | 
+				S3C2410_DCON_SYNC_PCLK);
+
+		s3c2410_dma_devconfig(prtd->params->channel,
+					S3C2410_DMASRC_HW, 0x3,
+					prtd->params->dma_addr);
+	}
+
+#else
+	if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
+		s3c2410_dma_devconfig(prtd->params->channel,
+				S3C2410_DMASRC_MEM, 0,
+				prtd->params->dma_addr);
+
+		s3c2410_dma_config(prtd->params->channel,
+				prtd->params->dma_size, 0);
+	} else {
+		s3c2410_dma_devconfig(prtd->params->channel,
+				S3C2410_DMASRC_HW, 0,
+				prtd->params->dma_addr);		
+
+		s3c2410_dma_config(prtd->params->channel,
+				prtd->params->dma_size, 0);
+	}
+#endif
+
+	s3c2410_dma_set_buffdone_fn(prtd->params->channel,
+				    s3c24xx_audio_buffdone);
+
+	snd_pcm_set_runtime_buffer(substream, &substream->dma_buffer);
+
+	runtime->dma_bytes = totbytes;
+
+	spin_lock_irq(&prtd->lock);
+	prtd->dma_loaded = 0;
+	prtd->dma_limit = runtime->hw.periods_min;
+	prtd->dma_period = params_period_bytes(params);
+	prtd->dma_start = runtime->dma_addr;
+	prtd->dma_pos = prtd->dma_start;
+	prtd->dma_end = prtd->dma_start + totbytes;
+	spin_unlock_irq(&prtd->lock);
+
+	s3cdbg("Entered %s, line %d \n", __FUNCTION__, __LINE__);
+	return 0;
+}
+
+static int s3c24xx_pcm_hw_free(struct snd_pcm_substream *substream)
+{
+	struct s3c24xx_runtime_data *prtd = substream->runtime->private_data;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	/* TODO - do we need to ensure DMA flushed */
+	snd_pcm_set_runtime_buffer(substream, NULL);
+
+	if (prtd->params) {
+		s3c2410_dma_free(prtd->params->channel, prtd->params->client);
+		prtd->params = NULL;
+	}
+
+	return 0;
+}
+
+static int s3c24xx_pcm_prepare(struct snd_pcm_substream *substream)
+{
+	struct s3c24xx_runtime_data *prtd = substream->runtime->private_data;
+	int ret = 0;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+#if !defined (CONFIG_CPU_S3C6400) && !defined (CONFIG_CPU_S3C6410) 
+	/* return if this is a bufferless transfer e.g.
+	 * codec <--> BT codec or GSM modem -- lg FIXME */
+	if (!prtd->params)
+	 	return 0;
+#endif
+
+	/* flush the DMA channel */
+	s3c2410_dma_ctrl(prtd->params->channel, S3C2410_DMAOP_FLUSH);
+
+	prtd->dma_loaded = 0;
+
+	prtd->dma_pos = prtd->dma_start;
+
+	/* enqueue dma buffers */
+	s3c24xx_pcm_enqueue(substream);
+
+	return ret;
+}
+
+static int s3c24xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
+{
+	struct s3c24xx_runtime_data *prtd = substream->runtime->private_data;
+	int ret = 0;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	spin_lock(&prtd->lock);
+
+	switch (cmd) {
+	case SNDRV_PCM_TRIGGER_START:
+	case SNDRV_PCM_TRIGGER_RESUME:
+	case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
+		prtd->state |= ST_RUNNING;
+		s3c2410_dma_ctrl(prtd->params->channel, S3C2410_DMAOP_START);
+		break;
+
+	case SNDRV_PCM_TRIGGER_STOP:
+	case SNDRV_PCM_TRIGGER_SUSPEND:
+	case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
+		prtd->state &= ~ST_RUNNING;
+		s3c2410_dma_ctrl(prtd->params->channel, S3C2410_DMAOP_STOP);
+		break;
+
+	default:
+		ret = -EINVAL;
+		break;
+	}
+
+	spin_unlock(&prtd->lock);
+
+	return ret;
+}
+
+static snd_pcm_uframes_t 
+	s3c24xx_pcm_pointer(struct snd_pcm_substream *substream)
+{
+	struct snd_pcm_runtime *runtime = substream->runtime;
+	struct s3c24xx_runtime_data *prtd = runtime->private_data;
+	unsigned long res;
+	dma_addr_t src, dst;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	spin_lock(&prtd->lock);
+
+	s3c2410_dma_getposition(prtd->params->channel, &src, &dst);
+
+	if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
+		res = dst - prtd->dma_start;
+	else
+		res = src - prtd->dma_start;
+
+	spin_unlock(&prtd->lock);
+
+	s3cdbg("Pointer %x %x\n",src,dst);
+
+	/* we seem to be getting the odd error from the pcm library due
+	 * to out-of-bounds pointers. this is maybe due to the dma engine
+	 * not having loaded the new values for the channel before being
+	 * callled... (todo - fix )
+	 */
+
+	if (res >= snd_pcm_lib_buffer_bytes(substream)) {
+		if (res == snd_pcm_lib_buffer_bytes(substream))
+			res = 0;
+	}
+
+	return bytes_to_frames(substream->runtime, res);
+}
+
+static int s3c24xx_pcm_open(struct snd_pcm_substream *substream)
+{
+	struct snd_pcm_runtime *runtime = substream->runtime;
+	struct s3c24xx_runtime_data *prtd;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	snd_soc_set_runtime_hwparams(substream, &s3c24xx_pcm_hardware);
+
+	prtd = kzalloc(sizeof(struct s3c24xx_runtime_data), GFP_KERNEL);
+	if (prtd == NULL)
+		return -ENOMEM;
+
+	spin_lock_init(&prtd->lock);
+
+	runtime->private_data = prtd;
+	return 0;
+}
+
+static int s3c24xx_pcm_close(struct snd_pcm_substream *substream)
+{
+	struct snd_pcm_runtime *runtime = substream->runtime;
+	struct s3c24xx_runtime_data *prtd = runtime->private_data;
+
+	s3cdbg("Entered %s, prtd = %p\n", __FUNCTION__, prtd);
+
+	if (prtd)
+		kfree(prtd);
+	else
+		printk("s3c24xx_pcm_close called with prtd == NULL\n");
+
+	return 0;
+}
+
+static int s3c24xx_pcm_mmap(struct snd_pcm_substream *substream,
+	struct vm_area_struct *vma)
+{
+	struct snd_pcm_runtime *runtime = substream->runtime;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	return dma_mmap_writecombine(substream->pcm->card->dev, vma,
+                                     runtime->dma_area,
+                                     runtime->dma_addr,
+                                     runtime->dma_bytes);
+}
+
+static struct snd_pcm_ops s3c24xx_pcm_ops = {
+	.open		= s3c24xx_pcm_open,
+	.close		= s3c24xx_pcm_close,
+	.ioctl		= snd_pcm_lib_ioctl,
+	.hw_params	= s3c24xx_pcm_hw_params,
+	.hw_free	= s3c24xx_pcm_hw_free,
+	.prepare	= s3c24xx_pcm_prepare,
+	.trigger	= s3c24xx_pcm_trigger,
+	.pointer	= s3c24xx_pcm_pointer,
+	.mmap		= s3c24xx_pcm_mmap,
+};
+
+static int s3c24xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream)
+{
+	struct snd_pcm_substream *substream = pcm->streams[stream].substream;
+	struct snd_dma_buffer *buf = &substream->dma_buffer;
+	size_t size = s3c24xx_pcm_hardware.buffer_bytes_max;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	buf->dev.type = SNDRV_DMA_TYPE_DEV;
+	buf->dev.dev = pcm->card->dev;
+	buf->private_data = NULL;
+	buf->area = dma_alloc_writecombine(pcm->card->dev, size,
+					   &buf->addr, GFP_KERNEL);
+	if (!buf->area)
+		return -ENOMEM;
+	buf->bytes = size;
+	return 0;
+}
+
+static void s3c24xx_pcm_free_dma_buffers(struct snd_pcm *pcm)
+{
+	struct snd_pcm_substream *substream;
+	struct snd_dma_buffer *buf;
+	int stream;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	for (stream = 0; stream < 2; stream++) {
+		substream = pcm->streams[stream].substream;
+		if (!substream)
+			continue;
+
+		buf = &substream->dma_buffer;
+		if (!buf->area)
+			continue;
+
+		dma_free_writecombine(pcm->card->dev, buf->bytes,
+				      buf->area, buf->addr);
+		buf->area = NULL;
+	}
+}
+
+static u64 s3c24xx_pcm_dmamask = DMA_32BIT_MASK;
+
+static int s3c24xx_pcm_new(struct snd_card *card, 
+	struct snd_soc_dai *dai, struct snd_pcm *pcm)
+{
+	int ret = 0;
+
+	s3cdbg("Entered %s\n", __FUNCTION__);
+
+	if (!card->dev->dma_mask)
+		card->dev->dma_mask = &s3c24xx_pcm_dmamask;
+	if (!card->dev->coherent_dma_mask)
+		card->dev->coherent_dma_mask = 0xffffffff;
+
+	if (dai->playback.channels_min) {
+		ret = s3c24xx_pcm_preallocate_dma_buffer(pcm,
+			SNDRV_PCM_STREAM_PLAYBACK);
+		if (ret)
+			goto out;
+	}
+
+	if (dai->capture.channels_min) {
+		ret = s3c24xx_pcm_preallocate_dma_buffer(pcm,
+			SNDRV_PCM_STREAM_CAPTURE);
+		if (ret)
+			goto out;
+	}
+ out:
+	return ret;
+}
+
+struct snd_soc_platform s3c24xx_soc_platform = {
+	.name		= "s3c24xx-audio",
+	.pcm_ops 	= &s3c24xx_pcm_ops,
+	.pcm_new	= s3c24xx_pcm_new,
+	.pcm_free	= s3c24xx_pcm_free_dma_buffers,
+};
+
+EXPORT_SYMBOL_GPL(s3c24xx_soc_platform);
+
+MODULE_AUTHOR("Ben Dooks, <ben@simtec.co.uk>");
+MODULE_DESCRIPTION("Samsung S3C24XX PCM DMA module");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s5pc1xx/s5pc1xx-pcm.h linux-2.6.28.6/sound/soc/s5pc1xx/s5pc1xx-pcm.h
--- linux-2.6.28/sound/soc/s5pc1xx/s5pc1xx-pcm.h	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s5pc1xx/s5pc1xx-pcm.h	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,40 @@
+/*
+ *  s3c24xx-pcm.h --
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  ALSA PCM interface for the Samsung S3C24xx CPU
+ */
+
+#ifndef _S3C24XX_PCM_H
+#define _S3C24XX_PCM_H
+
+#define ST_RUNNING		(1<<0)
+#define ST_OPENED		(1<<1)
+
+struct s3c24xx_pcm_dma_params {
+	struct s3c2410_dma_client *client;	/* stream identifier */
+	int channel;				/* Channel ID */
+	dma_addr_t dma_addr;
+	int dma_size;			/* Size of the DMA transfer */
+};
+
+#define S3C24XX_DAI_I2S			0
+
+#if defined (CONFIG_CPU_S3C6400) || defined (CONFIG_CPU_S3C6410) 
+#define S3CPCM_DCON 	0
+#define S3CPCM_HWCFG	0
+#else
+//#include <asm/arch/dma.h>
+#define S3CPCM_DCON 	S3C2410_DCON_SYNC_PCLK|S3C2410_DCON_HANDSHAKE
+#define S3CPCM_HWCFG 	S3C2410_DISRCC_INC|S3C2410_DISRCC_APB	
+#endif
+
+/* platform data */
+extern struct snd_soc_platform s3c24xx_soc_platform;
+extern struct snd_ac97_bus_ops s3c24xx_ac97_ops;
+
+#endif
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s5pc1xx/smdkc100_wm8580.c linux-2.6.28.6/sound/soc/s5pc1xx/smdkc100_wm8580.c
--- linux-2.6.28/sound/soc/s5pc1xx/smdkc100_wm8580.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s5pc1xx/smdkc100_wm8580.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,339 @@
+/*
+ * smdk6400_wm8580.c
+ *
+ * Copyright 2007, 2008 Wolfson Microelectronics PLC.
+ *
+ * Copyright (C) 2007, Ryu Euiyoul <ryu.real@gmail.com>
+ * 
+ * Copyright (C) 2008, SungJun Bae <june.bae@samsung.com>
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ */
+
+#include <linux/module.h>
+#include <linux/moduleparam.h>
+#include <linux/timer.h>
+#include <linux/interrupt.h>
+#include <linux/platform_device.h>
+#include <linux/i2c.h>
+
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
+
+#include <asm/mach-types.h>
+
+#include <plat/regs-iis.h>
+#include <plat/map-base.h>
+#include <asm/gpio.h> 
+#include <plat/gpio-cfg.h> 
+#include <plat/regs-gpio.h>
+#include <plat/gpio-bank-c.h>
+#include <plat/gpio-bank-g3.h>
+
+#include <mach/hardware.h>
+#include <mach/audio.h>
+#include <mach/map.h>
+#include <asm/io.h>
+#include <plat/regs-clock.h>
+
+#include "s5pc1xx-i2s.h"
+#include "s5pc1xx-pcm.h"
+
+#include "../codecs/wm8580.h"
+
+#ifdef CONFIG_SND_DEBUG
+#define s3cdbg(x...) printk(x)
+#else
+#define s3cdbg(x...)
+#endif
+
+extern void msleep(unsigned int msecs);
+
+static int smdkc100_hifi_hw_params(struct snd_pcm_substream *substream,
+	struct snd_pcm_hw_params *params)
+{
+	struct snd_soc_pcm_runtime *rtd = substream->private_data;
+	//struct snd_soc_codec_dai *codec_dai = rtd->dai->codec_dai;
+	struct snd_soc_dai *cpu_dai = rtd->dai->cpu_dai;
+	unsigned int pll_out = 0; /*bclk = 0; */
+	int ret = 0;
+	unsigned int prescaler;
+	u32 *iiscon;
+
+	s3cdbg("Entered %s, rate = %d\n", __FUNCTION__, params_rate(params));
+
+	iiscon = ioremap(S3C_PA_IIS, 0x100) + S3C64XX_IIS0CON;	
+
+	writel(readl(iiscon)&~(0x1<<31),iiscon);
+	msleep(100);
+	writel(readl(iiscon)|(0x1<<31),iiscon);
+	
+	//writel(readl(S5P_CLK_SRC0)|S5P_CLKSRC0_EPLL_MASK,S5P_CLK_SRC0);
+	s3cdbg("CLK_SRC0 : %x\n",readl(S5P_CLK_SRC0));
+
+	//writel(readl(S5P_CLK_SRC3)|(0x0<<12)|(0x0<<24)|(0x0<<4),S5P_CLK_SRC3);
+	//writel(readl(S5P_CLK_SRC3)|(0x2<<8),S5P_CLK_SRC3);
+	s3cdbg("MUX Audio 0: %x\n",readl(S5P_CLK_SRC3));
+
+	writel(readl(S5P_CLK_OUT)|(0x2<<12),S5P_CLK_OUT);
+	s3cdbg("CLK OUT : %x\n",readl(S5P_CLK_OUT));
+
+	writel(readl(S5P_CLKGATE_D20)|S5P_CLKGATE_D20_HCLKD2|S5P_CLKGATE_D20_I2SD2,S5P_CLKGATE_D20);
+	s3cdbg("HCLKD2 Gate : %x\n",readl(S5P_CLKGATE_D20));
+
+	writel(readl(S5P_SCLKGATE1)|S5P_CLKGATE_SCLK1_AUDIO0,S5P_SCLKGATE1);
+	s3cdbg("S5P_SCLKGATE1 : %x\n",readl(S5P_SCLKGATE1));
+
+	writel(readl(S5P_CLKGATE_D15)|(1<<0),S5P_CLKGATE_D15);
+	s3cdbg("GATE D1_5 : %x\n",readl(S5P_CLKGATE_D15));
+
+	writel(readl(S5P_EPLL_CON)|(0x1<<31),S5P_EPLL_CON);
+	s3cdbg("EPLL CON : %x\n",readl(S5P_EPLL_CON));
+
+//	writel((readl(S5P_CLK_DIV4)&~(0x07<<12))|(0x0<<12),S5P_CLK_DIV4);
+	////writel((readl(S5P_CLK_DIV4)&~(0x07<<8))|(0x1<<8),S5P_CLK_DIV4);
+	s3cdbg("DIV4: %x\n",readl(S5P_CLK_DIV4));
+
+	/*PCLK & SCLK gating enable*/
+
+//	writel(readl(S3C_PCLK_GATE)|S3C6410_CLKCON_PCLK_IIS2, S3C_PCLK_GATE);
+//	writel(readl(S3C_SCLK_GATE)|S3C_CLKCON_SCLK_AUDIO0, S3C_SCLK_GATE);
+
+	/*Clear I2S prescaler value [13:8] and disable prescaler*/
+	/* set prescaler division for sample rate */
+	ret = cpu_dai->dai_ops.set_clkdiv(cpu_dai, S5PC1XX_DIV_PRESCALER, 0);
+
+	if (ret < 0)
+		return ret;
+//
+//
+	s3cdbg("%s: %d , params = %d\n", __FUNCTION__, __LINE__, params_rate(params));
+
+	switch (params_rate(params)) {
+	case 8000:
+	case 16000:
+	case 32000:
+	case 64100:
+		/* M=99, P=3, S=3 -- Fout=49.152*/
+		writel((1<<31)|(99<<16)|(3<<8)|(3<<0) ,S5P_EPLL_CON);
+		break;
+	case 11025:
+	case 22050:
+	case 44100:
+	case 88200:
+		/* M=135, P=3, S=3 -- Fout=67.738 */
+		writel((1<<31)|(135<<16)|(3<<8)|(3<<0) ,S5P_EPLL_CON);
+		break;
+	case 48000:
+	case 96000:
+		/* M=147, P=3, S=3 -- Fin=12, Fout=73.728; */
+		writel((1<<31)|(147<<16)|(3<<8)|(3<<0) ,S5P_EPLL_CON);
+		break;
+	default:
+		writel((1<<31)|(128<<16)|(25<<8)|(0<<0) ,S5P_EPLL_CON);
+		break;
+	}
+
+	switch (params_rate(params)) {
+	case 8000:
+		pll_out = 2048000;
+		prescaler = 8;
+		break;
+	case 11025:
+		pll_out = 2822400;
+		prescaler = 8; 
+		break;
+	case 16000:
+		pll_out = 4096000;
+		prescaler = 4; 
+		break;
+	case 22050:
+		pll_out = 5644800;
+		prescaler = 4; 
+		break;
+	case 32000:
+		pll_out = 8192000;
+		prescaler = 2; 
+		break;
+	case 44100:
+		pll_out = 11289600;
+		prescaler = 2;
+		break;
+	case 48000:
+		pll_out = 12288000;
+		prescaler = 2; 
+		break;
+	case 88200:
+		pll_out = 22579200;
+		prescaler = 1; 
+		break;
+	case 96000:
+		pll_out = 24576000;
+		prescaler = 1;
+		break;
+	default:
+		/* somtimes 32000 rate comes to 96000 
+		   default values are same as 32000 */
+		prescaler = 4;
+		pll_out = 12288000;
+		break;
+	}
+
+	/* set MCLK division for sample rate */
+	switch (params_format(params)) {
+	case SNDRV_PCM_FORMAT_S8:
+	case SNDRV_PCM_FORMAT_S16_LE:
+		prescaler *= 3;
+		break;
+	case SNDRV_PCM_FORMAT_S24_3LE:
+		prescaler *= 2;
+		break;
+	case SNDRV_PCM_FORMAT_S24_LE:
+		prescaler *= 2;
+		break;
+	default:
+		return -EINVAL;
+	}
+
+	prescaler = prescaler - 1; 
+
+	/* set cpu DAI configuration */
+	/*
+	ret = cpu_dai->dai_ops.set_fmt(cpu_dai,
+		SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
+		SND_SOC_DAIFMT_CBS_CFS); 
+	if (ret < 0)
+		return ret;
+		*/
+
+	ret = cpu_dai->dai_ops.set_clkdiv(cpu_dai, S5PC1XX_DIV_BCLK,
+		S3C64XX_IIS0MOD_256FS);
+	if (ret < 0)
+		return ret;
+
+	/* set prescaler division for sample rate */
+	ret = cpu_dai->dai_ops.set_clkdiv(cpu_dai, S5PC1XX_DIV_PRESCALER,
+		(prescaler << 0x8));
+	if (ret < 0)
+		return ret;
+
+	return 0;
+}
+
+/*
+ * WM8580 HiFi DAI opserations.
+ */
+static struct snd_soc_ops smdkc100_hifi_ops = {
+	.hw_params = smdkc100_hifi_hw_params,
+};
+
+static const struct snd_soc_dapm_widget wm8580_dapm_widgets[] = {
+	SND_SOC_DAPM_LINE("I2S Front Jack", NULL),
+	SND_SOC_DAPM_LINE("I2S Center Jack", NULL),
+	SND_SOC_DAPM_LINE("I2S Rear Jack", NULL),
+	SND_SOC_DAPM_LINE("Line In Jack", NULL),
+};
+
+/* example machine audio_mapnections */
+static const struct snd_soc_dapm_route audio_map[] = {
+
+	{ "I2S Front Jack", NULL, "VOUT1L" },
+	{ "I2S Front Jack", NULL, "VOUT1R" },
+
+	{ "I2S Center Jack", NULL, "VOUT2L" },
+	{ "I2S Center Jack", NULL, "VOUT2R" },
+
+	{ "I2S Rear Jack", NULL, "VOUT3L" },
+	{ "I2S Rear Jack", NULL, "VOUT3R" },
+
+	{ "AINL", NULL, "Line In Jack" },
+	{ "AINR", NULL, "Line In Jack" },
+		
+};
+
+static int smdkc100_wm8580_init(struct snd_soc_codec *codec)
+{
+	int i;
+
+	/* Add smdkc100 specific widgets */
+		snd_soc_dapm_new_controls(codec, wm8580_dapm_widgets,ARRAY_SIZE(wm8580_dapm_widgets));
+
+	/* set up smdkc100 specific audio paths */
+		snd_soc_dapm_add_routes(codec, audio_map,ARRAY_SIZE(audio_map));
+
+	/* No jack detect - mark all jacks as enabled */
+	for (i = 0; i < ARRAY_SIZE(wm8580_dapm_widgets); i++)
+		snd_soc_dapm_set_endpoint(codec,
+					  wm8580_dapm_widgets[i].name, 1);
+
+	snd_soc_dapm_sync_endpoints(codec);
+
+	return 0;
+}
+
+static struct snd_soc_dai_link smdkc100_dai[] = {
+{
+	.name = "WM8580",
+	.stream_name = "WM8580 HiFi Playback",
+	.cpu_dai = &s3c_i2s_v50_dai,
+	.codec_dai = &wm8580_dai[WM8580_DAI_PAIFRX],
+	.init = smdkc100_wm8580_init,
+	.ops = &smdkc100_hifi_ops,
+},
+};
+
+static struct snd_soc_machine smdkc100 = {
+	.name = "smdkc100",
+	.dai_link = smdkc100_dai,
+	.num_links = ARRAY_SIZE(smdkc100_dai),
+};
+
+static struct wm8580_setup_data smdkc100_wm8580_setup = {
+	.i2c_address = 0x1b,
+};
+
+static struct snd_soc_device smdkc100_snd_devdata = {
+	.machine = &smdkc100,
+	.platform = &s3c24xx_soc_platform,
+	.codec_dev = &soc_codec_dev_wm8580,
+	.codec_data = &smdkc100_wm8580_setup,
+};
+
+static struct platform_device *smdkc100_snd_device;
+
+static int __init smdkc100_init(void)
+{
+	int ret;
+
+	smdkc100_snd_device = platform_device_alloc("soc-audio", -1);
+	if (!smdkc100_snd_device)
+		return -ENOMEM;
+
+	platform_set_drvdata(smdkc100_snd_device, &smdkc100_snd_devdata);
+	smdkc100_snd_devdata.dev = &smdkc100_snd_device->dev;
+	ret = platform_device_add(smdkc100_snd_device);
+
+	if (ret)
+		platform_device_put(smdkc100_snd_device);
+	
+	return ret;
+}
+
+static void __exit smdkc100_exit(void)
+{
+	platform_device_unregister(smdkc100_snd_device);
+}
+
+module_init(smdkc100_init);
+module_exit(smdkc100_exit);
+
+/* Module information */
+MODULE_AUTHOR("Mark Brown");
+MODULE_DESCRIPTION("ALSA SoC SMDK6410 WM8580");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/s5pc1xx/smdkc100_wm9713.c linux-2.6.28.6/sound/soc/s5pc1xx/smdkc100_wm9713.c
--- linux-2.6.28/sound/soc/s5pc1xx/smdkc100_wm9713.c	1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.28.6/sound/soc/s5pc1xx/smdkc100_wm9713.c	2009-04-30 09:36:40.000000000 +0200
@@ -0,0 +1,87 @@
+/*
+ * smdk6400_wm9713.c  --  SoC audio for smdk6400
+ *
+ * Copyright (C) 2007, Ryu Euiyoul <ryu.real@gmail.com>
+ *
+ * Copyright 2007 Wolfson Microelectronics PLC.
+ * Author: Graeme Gregory
+ *         graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
+ *
+ *  This program is free software; you can redistribute  it and/or modify it
+ *  under  the terms of  the GNU General  Public License as published by the
+ *  Free Software Foundation;  either version 2 of the  License, or (at your
+ *  option) any later version.
+ *
+ *  Revision history
+ *    8th  Mar 2007   Initial version.
+ *    20th Sep 2007   Apply at smdk6400
+ *
+ */
+
+#include <linux/module.h>
+#include <linux/device.h>
+#include <sound/core.h>
+#include <sound/pcm.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
+
+#include "../codecs/wm9713.h"
+#include "s5pc1xx-pcm.h"
+#include "s5pc1xx-ac97.h"
+
+static struct snd_soc_machine smdk6400;
+
+static struct snd_soc_dai_link smdk6400_dai[] = {
+{
+	.name = "AC97",
+	.stream_name = "AC97 HiFi",
+	.cpu_dai = &s3c6400_ac97_dai[0],
+	.codec_dai = &wm9713_dai[WM9713_DAI_AC97_HIFI],
+},
+};
+
+static struct snd_soc_machine smdk6400 = {
+	.name = "SMDKC100",
+	.dai_link = smdk6400_dai,
+	.num_links = ARRAY_SIZE(smdk6400_dai),
+};
+
+static struct snd_soc_device smdk6400_snd_ac97_devdata = {
+	.machine = &smdk6400,
+	.platform = &s3c24xx_soc_platform,
+	.codec_dev = &soc_codec_dev_wm9713,
+};
+
+static struct platform_device *smdk6400_snd_ac97_device;
+
+static int __init smdk6400_init(void)
+{
+	int ret;
+
+	smdk6400_snd_ac97_device = platform_device_alloc("soc-audio", -1);
+	if (!smdk6400_snd_ac97_device)
+		return -ENOMEM;
+
+	platform_set_drvdata(smdk6400_snd_ac97_device,
+				&smdk6400_snd_ac97_devdata);
+	smdk6400_snd_ac97_devdata.dev = &smdk6400_snd_ac97_device->dev;
+	ret = platform_device_add(smdk6400_snd_ac97_device);
+
+	if (ret)
+		platform_device_put(smdk6400_snd_ac97_device);
+
+	return ret;
+}
+
+static void __exit smdk6400_exit(void)
+{
+	platform_device_unregister(smdk6400_snd_ac97_device);
+}
+
+module_init(smdk6400_init);
+module_exit(smdk6400_exit);
+
+/* Module information */
+MODULE_AUTHOR("Samsung");
+MODULE_DESCRIPTION("ALSA SoC WM9713 SMDKC100");
+MODULE_LICENSE("GPL");
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/soc-core.c linux-2.6.28.6/sound/soc/soc-core.c
--- linux-2.6.28/sound/soc/soc-core.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/soc-core.c	2009-04-30 09:36:40.000000000 +0200
@@ -430,6 +430,7 @@
 
 	/* we only want to start a DAPM playback stream if we are not waiting
 	 * on an existing one stopping */
+#if !defined(CONFIG_SND_SMDKC100_WM9713)
 	if (codec_dai->pop_wait) {
 		/* we are waiting for the delayed work to start */
 		if (substream->stream == SNDRV_PCM_STREAM_CAPTURE)
@@ -474,6 +475,7 @@
 			snd_soc_dai_digital_mute(codec_dai, 0);
 		}
 	}
+#endif
 
 out:
 	mutex_unlock(&pcm_mutex);
@@ -922,6 +924,7 @@
 	if (codec_dai->capture.channels_min)
 		capture = 1;
 
+printk("playback: %d, capture : %d\n",playback,capture);
 	ret = snd_pcm_new(codec->card, new_name, codec->pcm_devs++, playback,
 		capture, &pcm);
 	if (ret < 0) {
diff -NurbB --exclude linux-2.6.28.6/Documentation/dontdiff linux-2.6.28/sound/soc/soc-dapm.c linux-2.6.28.6/sound/soc/soc-dapm.c
--- linux-2.6.28/sound/soc/soc-dapm.c	2008-12-25 00:26:37.000000000 +0100
+++ linux-2.6.28.6/sound/soc/soc-dapm.c	2009-04-30 09:36:40.000000000 +0200
@@ -1021,12 +1021,14 @@
  *
  * Returns 0 for success else error.
  */
+#if 1
 int snd_soc_dapm_connect_input(struct snd_soc_codec *codec, const char *sink,
 	const char *control, const char *source)
 {
 	return snd_soc_dapm_add_route(codec, sink, control, source);
 }
 EXPORT_SYMBOL_GPL(snd_soc_dapm_connect_input);
+#endif
 
 /**
  * snd_soc_dapm_add_routes - Add routes between DAPM widgets
@@ -1539,6 +1541,45 @@
 }
 EXPORT_SYMBOL_GPL(snd_soc_dapm_free);
 
+/* snd_soc_dapm_set_endpoint - set audio endpoint status
+  * @codec: audio codec
+  * @endpoint: audio signal endpoint (or start point)
+  * @status: point status
+  *
+  * Set audio endpoint status - connected or disconnected.
+  *
+  * Returns 0 for success else error.
+  */
+int snd_soc_dapm_set_endpoint(struct snd_soc_codec *codec,
+      char *endpoint, int status)
+{
+      struct snd_soc_dapm_widget *w;
+
+      list_for_each_entry(w, &codec->dapm_widgets, list) {
+              if (!strcmp(w->name, endpoint)) {
+                      w->connected = status;
+              }
+      }
+
+      return 0;
+}
+EXPORT_SYMBOL_GPL(snd_soc_dapm_set_endpoint);
+
+/**
+ * snd_soc_dapm_sync_endpoints - scan and power dapm paths
+ * @codec: audio codec
+ *
+ * Walks all dapm audio paths and powers widgets according to their
+ * stream or path usage.
+ *
+ * Returns 0 for success.
+ */
+int snd_soc_dapm_sync_endpoints(struct snd_soc_codec *codec)
+{
+	return dapm_power_widgets(codec, SND_SOC_DAPM_STREAM_NOP);
+}
+EXPORT_SYMBOL_GPL(snd_soc_dapm_sync_endpoints);
+
 /* Module information */
 MODULE_AUTHOR("Liam Girdwood, lrg@slimlogic.co.uk");
 MODULE_DESCRIPTION("Dynamic Audio Power Management core for ALSA SoC");